@everymatrix/casino-my-games 1.61.0 → 1.62.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/{CasinoFavoritesSection-1GpnmotB.js → CasinoFavoritesSection-CVO0nFg6.js} +603 -522
- package/components/{CasinoFavoritesSection-_m76LmoO.js → CasinoFavoritesSection-DenJmd_u.js} +1053 -972
- package/components/CasinoFavoritesSection-XFsFvf3Q.cjs +16 -0
- package/components/CasinoFilter-BZWWEtZ5.js +1135 -0
- package/components/CasinoFilter-Bh14cS_r.js +1136 -0
- package/components/CasinoFilter-caKOfgQX.cjs +3 -0
- package/components/CasinoGameThumbnail-BvfDLcCj.js +4391 -0
- package/components/CasinoGameThumbnail-CcHfYMav.js +4407 -0
- package/components/CasinoGameThumbnail-RaFeiBWU.cjs +47 -0
- package/components/CasinoGamesCategorySection-B0vh5yby.cjs +1 -0
- package/components/{CasinoGamesCategorySection-BZU_My5k.js → CasinoGamesCategorySection-CXH0zWBq.js} +1124 -1042
- package/components/CasinoGamesCategorySection-DCZ52p3K.js +3155 -0
- package/components/{CasinoLastPlayedSection-oivH5wof.cjs → CasinoLastPlayedSection-Ct2q8ZNt.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-Tjnea-PC.js → CasinoLastPlayedSection-DmhFbRkC.js} +26 -26
- package/components/{CasinoLastPlayedSection-ooWqyIR1.js → CasinoLastPlayedSection-x7Od0COc.js} +26 -26
- package/components/{CasinoMostPlayedSection-C1ny0vyU.cjs → CasinoMostPlayedSection-By1XriMc.cjs} +1 -1
- package/components/{CasinoMostPlayedSection-Dq5tuTy_.js → CasinoMostPlayedSection-DxPZdAeh.js} +50 -50
- package/components/{CasinoMostPlayedSection-CD5cJgtV.js → CasinoMostPlayedSection-Re5EJDo_.js} +50 -50
- package/components/{CasinoMyGames-BGmdCeGW.cjs → CasinoMyGames-BU16Ozm5.cjs} +1 -1
- package/components/{CasinoMyGames-bwAA3L1u.js → CasinoMyGames-DCasVrr2.js} +54 -54
- package/components/{CasinoMyGames-pxwLaL2p.js → CasinoMyGames-ik0qktOk.js} +51 -51
- package/components/{CasinoSort-DSy2Mj1y.js → CasinoSort-BH4k9w3F.js} +108 -107
- package/components/{CasinoSort-Cx2oj0Sg.cjs → CasinoSort-CfSRZTbJ.cjs} +1 -1
- package/components/{CasinoSort-DGoKlhAF.js → CasinoSort-uFrYAkN7.js} +98 -99
- package/es2015/casino-my-games.cjs +1 -1
- package/es2015/casino-my-games.js +1 -1
- package/esnext/casino-my-games.js +1 -1
- package/package.json +1 -1
- package/stencil/index-b2193545-CbGN-1Xz.cjs +1 -0
- package/stencil/index-b2193545-CbUHNmek.js +503 -0
- package/stencil/index-b2193545-DFFkPUVU.js +519 -0
- package/stencil/index-b7bbd57e-5H13jtcn.cjs +1 -0
- package/stencil/index-b7bbd57e-D2mZ7-kv.js +534 -0
- package/stencil/index-b7bbd57e-VSGyGiy1.js +550 -0
- package/stencil/{ui-image-38c3c15f-DHu3p_Um.cjs → ui-image-38c3c15f-3U8WBsCg.cjs} +1 -1
- package/stencil/{ui-image-38c3c15f-D8q8WO62.js → ui-image-38c3c15f-Cix0ZMEZ.js} +1 -1
- package/stencil/{ui-image-38c3c15f-DNKzX83k.js → ui-image-38c3c15f-jaErZeBj.js} +1 -1
- package/stencil/{ui-image-BWdEHrqs.js → ui-image-6OX7DHzp.js} +2 -2
- package/stencil/{ui-image-Cq69wjLL.js → ui-image-DvmqpXjR.js} +2 -2
- package/stencil/{ui-image-hWt-DWaG.cjs → ui-image-sdP0Y0JV.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-skeleton-6d1c12ae-BpEpsLuu.js} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-DXSQpIKe.cjs → ui-skeleton-6d1c12ae-CZrIANSq.cjs} +1 -1
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-skeleton-6d1c12ae-koE69yYD.js} +1 -1
- package/stencil/{ui-skeleton-BMWABShx.js → ui-skeleton-BOseIl79.js} +2 -2
- package/stencil/{ui-skeleton-CkUGY95J.js → ui-skeleton-BVyEf4P7.js} +2 -2
- package/stencil/{ui-skeleton-DXc0L06e.cjs → ui-skeleton-C2O4H76Q.cjs} +1 -1
- package/components/CasinoFavoritesSection-BNKQARcU.cjs +0 -16
- package/components/CasinoFilter-BtAq_-q_.js +0 -1103
- package/components/CasinoFilter-CijHvecC.js +0 -1102
- package/components/CasinoFilter-DNKxmXfI.cjs +0 -3
- package/components/CasinoGameThumbnail-CCmF9Lqz.cjs +0 -39
- package/components/CasinoGameThumbnail-Da09gJAl.js +0 -3592
- package/components/CasinoGameThumbnail-DndQjQbj.js +0 -3608
- package/components/CasinoGamesCategorySection-CV2p2XiR.js +0 -3071
- package/components/CasinoGamesCategorySection-ROBNFIR0.cjs +0 -1
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
package/components/{CasinoFavoritesSection-1GpnmotB.js → CasinoFavoritesSection-CVO0nFg6.js}
RENAMED
|
@@ -1,50 +1,53 @@
|
|
|
1
|
-
function
|
|
1
|
+
function N() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
3
|
+
function nt(e) {
|
|
4
4
|
return e();
|
|
5
5
|
}
|
|
6
|
-
function
|
|
6
|
+
function Fe() {
|
|
7
7
|
return /* @__PURE__ */ Object.create(null);
|
|
8
8
|
}
|
|
9
9
|
function X(e) {
|
|
10
|
-
e.forEach(
|
|
10
|
+
e.forEach(nt);
|
|
11
11
|
}
|
|
12
|
-
function
|
|
12
|
+
function le(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
|
-
let
|
|
19
|
-
function
|
|
20
|
-
return e === t ? !0 : (
|
|
18
|
+
let ne;
|
|
19
|
+
function qn(e, t) {
|
|
20
|
+
return e === t ? !0 : (ne || (ne = document.createElement("a")), ne.href = t, e === ne.href);
|
|
21
21
|
}
|
|
22
|
-
function
|
|
22
|
+
function Rt(e) {
|
|
23
23
|
return Object.keys(e).length === 0;
|
|
24
24
|
}
|
|
25
|
-
function
|
|
25
|
+
function st(e, ...t) {
|
|
26
26
|
if (e == null) {
|
|
27
27
|
for (const n of t)
|
|
28
28
|
n(void 0);
|
|
29
|
-
return
|
|
29
|
+
return N;
|
|
30
30
|
}
|
|
31
31
|
const r = e.subscribe(...t);
|
|
32
32
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
33
33
|
}
|
|
34
|
-
function
|
|
35
|
-
e.$$.on_destroy.push(
|
|
34
|
+
function Jn(e, t, r) {
|
|
35
|
+
e.$$.on_destroy.push(st(t, r));
|
|
36
36
|
}
|
|
37
|
-
function
|
|
37
|
+
function Yn(e) {
|
|
38
|
+
return e && le(e.destroy) ? e.destroy : N;
|
|
39
|
+
}
|
|
40
|
+
function $t(e, t) {
|
|
38
41
|
e.appendChild(t);
|
|
39
42
|
}
|
|
40
|
-
function
|
|
41
|
-
const n =
|
|
43
|
+
function Ut(e, t, r) {
|
|
44
|
+
const n = Dt(e);
|
|
42
45
|
if (!n.getElementById(t)) {
|
|
43
|
-
const i =
|
|
44
|
-
i.id = t, i.textContent = r,
|
|
46
|
+
const i = te("style");
|
|
47
|
+
i.id = t, i.textContent = r, Gt(n, i);
|
|
45
48
|
}
|
|
46
49
|
}
|
|
47
|
-
function
|
|
50
|
+
function Dt(e) {
|
|
48
51
|
if (!e)
|
|
49
52
|
return document;
|
|
50
53
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -54,39 +57,39 @@ function Rt(e) {
|
|
|
54
57
|
t
|
|
55
58
|
) : e.ownerDocument;
|
|
56
59
|
}
|
|
57
|
-
function
|
|
58
|
-
return
|
|
60
|
+
function Gt(e, t) {
|
|
61
|
+
return $t(
|
|
59
62
|
/** @type {Document} */
|
|
60
63
|
e.head || e,
|
|
61
64
|
t
|
|
62
65
|
), t.sheet;
|
|
63
66
|
}
|
|
64
|
-
function
|
|
67
|
+
function fe(e, t, r) {
|
|
65
68
|
e.insertBefore(t, r || null);
|
|
66
69
|
}
|
|
67
|
-
function
|
|
70
|
+
function ee(e) {
|
|
68
71
|
e.parentNode && e.parentNode.removeChild(e);
|
|
69
72
|
}
|
|
70
|
-
function
|
|
73
|
+
function Kn(e, t) {
|
|
71
74
|
for (let r = 0; r < e.length; r += 1)
|
|
72
75
|
e[r] && e[r].d(t);
|
|
73
76
|
}
|
|
74
|
-
function
|
|
77
|
+
function te(e) {
|
|
75
78
|
return document.createElement(e);
|
|
76
79
|
}
|
|
77
|
-
function
|
|
80
|
+
function Ft(e) {
|
|
78
81
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
79
82
|
}
|
|
80
|
-
function
|
|
83
|
+
function at(e) {
|
|
81
84
|
return document.createTextNode(e);
|
|
82
85
|
}
|
|
83
|
-
function
|
|
84
|
-
return
|
|
86
|
+
function ei() {
|
|
87
|
+
return at(" ");
|
|
85
88
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
89
|
+
function ti() {
|
|
90
|
+
return at("");
|
|
88
91
|
}
|
|
89
|
-
function
|
|
92
|
+
function ri(e, t, r, n) {
|
|
90
93
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
91
94
|
}
|
|
92
95
|
function Re(e, t, r) {
|
|
@@ -96,20 +99,90 @@ function g(e, t, r) {
|
|
|
96
99
|
const n = t.toLowerCase();
|
|
97
100
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Re(e, t, r);
|
|
98
101
|
}
|
|
99
|
-
function
|
|
102
|
+
function jt(e) {
|
|
100
103
|
return Array.from(e.childNodes);
|
|
101
104
|
}
|
|
102
|
-
function
|
|
105
|
+
function ni(e, t) {
|
|
103
106
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
104
107
|
t);
|
|
105
108
|
}
|
|
106
|
-
function
|
|
109
|
+
function ii(e, t) {
|
|
107
110
|
e.value = t ?? "";
|
|
108
111
|
}
|
|
109
|
-
function
|
|
112
|
+
function si(e, t, r) {
|
|
110
113
|
e.classList.toggle(t, !!r);
|
|
111
114
|
}
|
|
112
|
-
|
|
115
|
+
class ai {
|
|
116
|
+
/**
|
|
117
|
+
* @private
|
|
118
|
+
* @default false
|
|
119
|
+
*/
|
|
120
|
+
is_svg = !1;
|
|
121
|
+
/** parent for creating node */
|
|
122
|
+
e = void 0;
|
|
123
|
+
/** html tag nodes */
|
|
124
|
+
n = void 0;
|
|
125
|
+
/** target */
|
|
126
|
+
t = void 0;
|
|
127
|
+
/** anchor */
|
|
128
|
+
a = void 0;
|
|
129
|
+
constructor(t = !1) {
|
|
130
|
+
this.is_svg = t, this.e = this.n = null;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* @param {string} html
|
|
134
|
+
* @returns {void}
|
|
135
|
+
*/
|
|
136
|
+
c(t) {
|
|
137
|
+
this.h(t);
|
|
138
|
+
}
|
|
139
|
+
/**
|
|
140
|
+
* @param {string} html
|
|
141
|
+
* @param {HTMLElement | SVGElement} target
|
|
142
|
+
* @param {HTMLElement | SVGElement} anchor
|
|
143
|
+
* @returns {void}
|
|
144
|
+
*/
|
|
145
|
+
m(t, r, n = null) {
|
|
146
|
+
this.e || (this.is_svg ? this.e = Ft(
|
|
147
|
+
/** @type {keyof SVGElementTagNameMap} */
|
|
148
|
+
r.nodeName
|
|
149
|
+
) : this.e = te(
|
|
150
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
|
151
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
152
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
153
|
+
/** @type {HTMLTemplateElement} */
|
|
154
|
+
r.content
|
|
155
|
+
), this.c(t)), this.i(n);
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* @param {string} html
|
|
159
|
+
* @returns {void}
|
|
160
|
+
*/
|
|
161
|
+
h(t) {
|
|
162
|
+
this.e.innerHTML = t, this.n = Array.from(
|
|
163
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
164
|
+
);
|
|
165
|
+
}
|
|
166
|
+
/**
|
|
167
|
+
* @returns {void} */
|
|
168
|
+
i(t) {
|
|
169
|
+
for (let r = 0; r < this.n.length; r += 1)
|
|
170
|
+
fe(this.t, this.n[r], t);
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* @param {string} html
|
|
174
|
+
* @returns {void}
|
|
175
|
+
*/
|
|
176
|
+
p(t) {
|
|
177
|
+
this.d(), this.h(t), this.i(this.a);
|
|
178
|
+
}
|
|
179
|
+
/**
|
|
180
|
+
* @returns {void} */
|
|
181
|
+
d() {
|
|
182
|
+
this.n.forEach(ee);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
function kt(e) {
|
|
113
186
|
const t = {};
|
|
114
187
|
return e.childNodes.forEach(
|
|
115
188
|
/** @param {Element} node */
|
|
@@ -122,28 +195,31 @@ let J;
|
|
|
122
195
|
function q(e) {
|
|
123
196
|
J = e;
|
|
124
197
|
}
|
|
125
|
-
function
|
|
198
|
+
function ot() {
|
|
126
199
|
if (!J)
|
|
127
200
|
throw new Error("Function called outside component initialization");
|
|
128
201
|
return J;
|
|
129
202
|
}
|
|
130
|
-
function
|
|
131
|
-
|
|
203
|
+
function Vt(e) {
|
|
204
|
+
ot().$$.on_mount.push(e);
|
|
205
|
+
}
|
|
206
|
+
function oi(e) {
|
|
207
|
+
ot().$$.on_destroy.push(e);
|
|
132
208
|
}
|
|
133
|
-
const D = [],
|
|
209
|
+
const D = [], Te = [];
|
|
134
210
|
let G = [];
|
|
135
|
-
const
|
|
136
|
-
let
|
|
137
|
-
function
|
|
138
|
-
|
|
211
|
+
const je = [], ut = /* @__PURE__ */ Promise.resolve();
|
|
212
|
+
let Se = !1;
|
|
213
|
+
function ht() {
|
|
214
|
+
Se || (Se = !0, ut.then(H));
|
|
139
215
|
}
|
|
140
|
-
function
|
|
141
|
-
return
|
|
216
|
+
function ui() {
|
|
217
|
+
return ht(), ut;
|
|
142
218
|
}
|
|
143
|
-
function
|
|
219
|
+
function Be(e) {
|
|
144
220
|
G.push(e);
|
|
145
221
|
}
|
|
146
|
-
const
|
|
222
|
+
const pe = /* @__PURE__ */ new Set();
|
|
147
223
|
let $ = 0;
|
|
148
224
|
function H() {
|
|
149
225
|
if ($ !== 0)
|
|
@@ -153,45 +229,45 @@ function H() {
|
|
|
153
229
|
try {
|
|
154
230
|
for (; $ < D.length; ) {
|
|
155
231
|
const t = D[$];
|
|
156
|
-
$++, q(t),
|
|
232
|
+
$++, q(t), Xt(t.$$);
|
|
157
233
|
}
|
|
158
234
|
} catch (t) {
|
|
159
235
|
throw D.length = 0, $ = 0, t;
|
|
160
236
|
}
|
|
161
|
-
for (q(null), D.length = 0, $ = 0;
|
|
162
|
-
|
|
237
|
+
for (q(null), D.length = 0, $ = 0; Te.length; )
|
|
238
|
+
Te.pop()();
|
|
163
239
|
for (let t = 0; t < G.length; t += 1) {
|
|
164
240
|
const r = G[t];
|
|
165
|
-
|
|
241
|
+
pe.has(r) || (pe.add(r), r());
|
|
166
242
|
}
|
|
167
243
|
G.length = 0;
|
|
168
244
|
} while (D.length);
|
|
169
|
-
for (;
|
|
170
|
-
|
|
171
|
-
|
|
245
|
+
for (; je.length; )
|
|
246
|
+
je.pop()();
|
|
247
|
+
Se = !1, pe.clear(), q(e);
|
|
172
248
|
}
|
|
173
|
-
function
|
|
249
|
+
function Xt(e) {
|
|
174
250
|
if (e.fragment !== null) {
|
|
175
251
|
e.update(), X(e.before_update);
|
|
176
252
|
const t = e.dirty;
|
|
177
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
253
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
178
254
|
}
|
|
179
255
|
}
|
|
180
|
-
function
|
|
256
|
+
function zt(e) {
|
|
181
257
|
const t = [], r = [];
|
|
182
258
|
G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
|
|
183
259
|
}
|
|
184
|
-
const
|
|
185
|
-
function
|
|
186
|
-
e && e.i && (
|
|
260
|
+
const Wt = /* @__PURE__ */ new Set();
|
|
261
|
+
function lt(e, t) {
|
|
262
|
+
e && e.i && (Wt.delete(e), e.i(t));
|
|
187
263
|
}
|
|
188
|
-
function
|
|
264
|
+
function hi(e) {
|
|
189
265
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
190
266
|
}
|
|
191
|
-
function
|
|
267
|
+
function li(e, t) {
|
|
192
268
|
e.d(1), t.delete(e.key);
|
|
193
269
|
}
|
|
194
|
-
function
|
|
270
|
+
function fi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
195
271
|
let f = e.length, b = s.length, y = f;
|
|
196
272
|
const _ = {};
|
|
197
273
|
for (; y--; )
|
|
@@ -203,36 +279,36 @@ function oi(e, t, r, n, i, s, a, o, l, u, h, m) {
|
|
|
203
279
|
L ? S.push(() => L.p(c, t)) : (L = u(I, c), L.c()), w.set(I, T[y] = L), I in _ && A.set(I, Math.abs(y - _[I]));
|
|
204
280
|
}
|
|
205
281
|
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
206
|
-
function
|
|
207
|
-
|
|
282
|
+
function O(c) {
|
|
283
|
+
lt(c, 1), c.m(o, h), a.set(c.key, c), h = c.first, b--;
|
|
208
284
|
}
|
|
209
285
|
for (; f && b; ) {
|
|
210
|
-
const c = T[b - 1], I = e[f - 1], L = c.key,
|
|
211
|
-
c === I ? (h = c.first, f--, b--) : w.has(
|
|
286
|
+
const c = T[b - 1], I = e[f - 1], L = c.key, re = I.key;
|
|
287
|
+
c === I ? (h = c.first, f--, b--) : w.has(re) ? !a.has(L) || P.has(L) ? O(c) : x.has(re) ? f-- : A.get(L) > A.get(re) ? (x.add(L), O(c)) : (P.add(re), f--) : (l(I, a), f--);
|
|
212
288
|
}
|
|
213
289
|
for (; f--; ) {
|
|
214
290
|
const c = e[f];
|
|
215
291
|
w.has(c.key) || l(c, a);
|
|
216
292
|
}
|
|
217
293
|
for (; b; )
|
|
218
|
-
|
|
294
|
+
O(T[b - 1]);
|
|
219
295
|
return X(S), T;
|
|
220
296
|
}
|
|
221
|
-
function
|
|
297
|
+
function Zt(e, t, r) {
|
|
222
298
|
const { fragment: n, after_update: i } = e.$$;
|
|
223
|
-
n && n.m(t, r),
|
|
224
|
-
const s = e.$$.on_mount.map(
|
|
299
|
+
n && n.m(t, r), Be(() => {
|
|
300
|
+
const s = e.$$.on_mount.map(nt).filter(le);
|
|
225
301
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : X(s), e.$$.on_mount = [];
|
|
226
|
-
}), i.forEach(
|
|
302
|
+
}), i.forEach(Be);
|
|
227
303
|
}
|
|
228
|
-
function
|
|
304
|
+
function Qt(e, t) {
|
|
229
305
|
const r = e.$$;
|
|
230
|
-
r.fragment !== null && (
|
|
306
|
+
r.fragment !== null && (zt(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
231
307
|
}
|
|
232
|
-
function
|
|
233
|
-
e.$$.dirty[0] === -1 && (D.push(e),
|
|
308
|
+
function qt(e, t) {
|
|
309
|
+
e.$$.dirty[0] === -1 && (D.push(e), ht(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
234
310
|
}
|
|
235
|
-
function
|
|
311
|
+
function Jt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
236
312
|
const l = J;
|
|
237
313
|
q(e);
|
|
238
314
|
const u = e.$$ = {
|
|
@@ -240,9 +316,9 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
240
316
|
ctx: [],
|
|
241
317
|
// state
|
|
242
318
|
props: s,
|
|
243
|
-
update:
|
|
319
|
+
update: N,
|
|
244
320
|
not_equal: i,
|
|
245
|
-
bound:
|
|
321
|
+
bound: Fe(),
|
|
246
322
|
// lifecycle
|
|
247
323
|
on_mount: [],
|
|
248
324
|
on_destroy: [],
|
|
@@ -251,7 +327,7 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
251
327
|
after_update: [],
|
|
252
328
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
253
329
|
// everything else
|
|
254
|
-
callbacks:
|
|
330
|
+
callbacks: Fe(),
|
|
255
331
|
dirty: o,
|
|
256
332
|
skip_bound: !1,
|
|
257
333
|
root: t.target || l.$$.root
|
|
@@ -260,19 +336,19 @@ function Zt(e, t, r, n, i, s, a = null, o = [-1]) {
|
|
|
260
336
|
let h = !1;
|
|
261
337
|
if (u.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
262
338
|
const y = b.length ? b[0] : f;
|
|
263
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h &&
|
|
339
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = y) && (!u.skip_bound && u.bound[m] && u.bound[m](y), h && qt(e, m)), f;
|
|
264
340
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
265
341
|
if (t.hydrate) {
|
|
266
|
-
const m =
|
|
267
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
342
|
+
const m = jt(t.target);
|
|
343
|
+
u.fragment && u.fragment.l(m), m.forEach(ee);
|
|
268
344
|
} else
|
|
269
345
|
u.fragment && u.fragment.c();
|
|
270
|
-
t.intro &&
|
|
346
|
+
t.intro && lt(e.$$.fragment), Zt(e, t.target, t.anchor), H();
|
|
271
347
|
}
|
|
272
348
|
q(l);
|
|
273
349
|
}
|
|
274
|
-
let
|
|
275
|
-
typeof HTMLElement == "function" && (
|
|
350
|
+
let ft;
|
|
351
|
+
typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
276
352
|
/** The Svelte component constructor */
|
|
277
353
|
$$ctor;
|
|
278
354
|
/** Slots */
|
|
@@ -314,29 +390,29 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
314
390
|
let s;
|
|
315
391
|
return {
|
|
316
392
|
c: function() {
|
|
317
|
-
s =
|
|
393
|
+
s = te("slot"), i !== "default" && Re(s, "name", i);
|
|
318
394
|
},
|
|
319
395
|
/**
|
|
320
396
|
* @param {HTMLElement} target
|
|
321
397
|
* @param {HTMLElement} [anchor]
|
|
322
398
|
*/
|
|
323
399
|
m: function(l, u) {
|
|
324
|
-
|
|
400
|
+
fe(l, s, u);
|
|
325
401
|
},
|
|
326
402
|
d: function(l) {
|
|
327
|
-
l &&
|
|
403
|
+
l && ee(s);
|
|
328
404
|
}
|
|
329
405
|
};
|
|
330
406
|
};
|
|
331
407
|
};
|
|
332
408
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
333
409
|
return;
|
|
334
|
-
const t = {}, r =
|
|
410
|
+
const t = {}, r = kt(this);
|
|
335
411
|
for (const i of this.$$s)
|
|
336
412
|
i in r && (t[i] = [e(i)]);
|
|
337
413
|
for (const i of this.attributes) {
|
|
338
414
|
const s = this.$$g_p(i.name);
|
|
339
|
-
s in this.$$d || (this.$$d[s] =
|
|
415
|
+
s in this.$$d || (this.$$d[s] = se(s, i.value, this.$$p_d, "toProp"));
|
|
340
416
|
}
|
|
341
417
|
for (const i in this.$$p_d)
|
|
342
418
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -354,7 +430,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
354
430
|
this.$$r = !0;
|
|
355
431
|
for (const i in this.$$p_d)
|
|
356
432
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
357
|
-
const s =
|
|
433
|
+
const s = se(
|
|
358
434
|
i,
|
|
359
435
|
this.$$d[i],
|
|
360
436
|
this.$$p_d,
|
|
@@ -376,7 +452,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
376
452
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
377
453
|
// and setting attributes through setAttribute etc, this is helpful
|
|
378
454
|
attributeChangedCallback(e, t, r) {
|
|
379
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
455
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
380
456
|
}
|
|
381
457
|
disconnectedCallback() {
|
|
382
458
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -389,7 +465,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
|
|
|
389
465
|
) || e;
|
|
390
466
|
}
|
|
391
467
|
});
|
|
392
|
-
function
|
|
468
|
+
function se(e, t, r, n) {
|
|
393
469
|
const i = r[e]?.type;
|
|
394
470
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
395
471
|
return t;
|
|
@@ -418,8 +494,8 @@ function ne(e, t, r, n) {
|
|
|
418
494
|
return t;
|
|
419
495
|
}
|
|
420
496
|
}
|
|
421
|
-
function
|
|
422
|
-
let a = class extends
|
|
497
|
+
function Yt(e, t, r, n, i, s) {
|
|
498
|
+
let a = class extends ft {
|
|
423
499
|
constructor() {
|
|
424
500
|
super(e, r, i), this.$$p_d = t;
|
|
425
501
|
}
|
|
@@ -435,7 +511,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
435
511
|
return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
|
|
436
512
|
},
|
|
437
513
|
set(l) {
|
|
438
|
-
l =
|
|
514
|
+
l = se(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
|
|
439
515
|
}
|
|
440
516
|
});
|
|
441
517
|
}), n.forEach((o) => {
|
|
@@ -447,7 +523,7 @@ function Qt(e, t, r, n, i, s) {
|
|
|
447
523
|
}), e.element = /** @type {any} */
|
|
448
524
|
a, a;
|
|
449
525
|
}
|
|
450
|
-
class
|
|
526
|
+
class Kt {
|
|
451
527
|
/**
|
|
452
528
|
* ### PRIVATE API
|
|
453
529
|
*
|
|
@@ -466,7 +542,7 @@ class qt {
|
|
|
466
542
|
$$set = void 0;
|
|
467
543
|
/** @returns {void} */
|
|
468
544
|
$destroy() {
|
|
469
|
-
|
|
545
|
+
Qt(this, 1), this.$destroy = N;
|
|
470
546
|
}
|
|
471
547
|
/**
|
|
472
548
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -475,8 +551,8 @@ class qt {
|
|
|
475
551
|
* @returns {() => void}
|
|
476
552
|
*/
|
|
477
553
|
$on(t, r) {
|
|
478
|
-
if (!
|
|
479
|
-
return
|
|
554
|
+
if (!le(r))
|
|
555
|
+
return N;
|
|
480
556
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
481
557
|
return n.push(r), () => {
|
|
482
558
|
const i = n.indexOf(r);
|
|
@@ -488,11 +564,11 @@ class qt {
|
|
|
488
564
|
* @returns {void}
|
|
489
565
|
*/
|
|
490
566
|
$set(t) {
|
|
491
|
-
this.$$set && !
|
|
567
|
+
this.$$set && !Rt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
492
568
|
}
|
|
493
569
|
}
|
|
494
|
-
const
|
|
495
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
570
|
+
const er = "4";
|
|
571
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(er);
|
|
496
572
|
/*! *****************************************************************************
|
|
497
573
|
Copyright (c) Microsoft Corporation.
|
|
498
574
|
|
|
@@ -507,18 +583,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
507
583
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
508
584
|
PERFORMANCE OF THIS SOFTWARE.
|
|
509
585
|
***************************************************************************** */
|
|
510
|
-
var
|
|
511
|
-
return
|
|
586
|
+
var Ae = function(e, t) {
|
|
587
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
512
588
|
r.__proto__ = n;
|
|
513
589
|
} || function(r, n) {
|
|
514
590
|
for (var i in n)
|
|
515
591
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
516
|
-
},
|
|
592
|
+
}, Ae(e, t);
|
|
517
593
|
};
|
|
518
|
-
function
|
|
594
|
+
function ce(e, t) {
|
|
519
595
|
if (typeof t != "function" && t !== null)
|
|
520
596
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
521
|
-
|
|
597
|
+
Ae(e, t);
|
|
522
598
|
function r() {
|
|
523
599
|
this.constructor = e;
|
|
524
600
|
}
|
|
@@ -534,7 +610,7 @@ var E = function() {
|
|
|
534
610
|
return t;
|
|
535
611
|
}, E.apply(this, arguments);
|
|
536
612
|
};
|
|
537
|
-
function
|
|
613
|
+
function tr(e, t) {
|
|
538
614
|
var r = {};
|
|
539
615
|
for (var n in e)
|
|
540
616
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -543,7 +619,7 @@ function Yt(e, t) {
|
|
|
543
619
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
544
620
|
return r;
|
|
545
621
|
}
|
|
546
|
-
function
|
|
622
|
+
function ci(e) {
|
|
547
623
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
548
624
|
if (r)
|
|
549
625
|
return r.call(e);
|
|
@@ -555,7 +631,7 @@ function ui(e) {
|
|
|
555
631
|
};
|
|
556
632
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
557
633
|
}
|
|
558
|
-
function
|
|
634
|
+
function mi(e, t) {
|
|
559
635
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
560
636
|
if (!r)
|
|
561
637
|
return e;
|
|
@@ -575,23 +651,23 @@ function hi(e, t) {
|
|
|
575
651
|
}
|
|
576
652
|
return s;
|
|
577
653
|
}
|
|
578
|
-
function
|
|
654
|
+
function ye(e, t, r) {
|
|
579
655
|
if (r || arguments.length === 2)
|
|
580
656
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
581
657
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
582
658
|
return e.concat(s || t);
|
|
583
659
|
}
|
|
584
660
|
const U = [];
|
|
585
|
-
function
|
|
661
|
+
function rr(e, t) {
|
|
586
662
|
return {
|
|
587
|
-
subscribe:
|
|
663
|
+
subscribe: me(e, t).subscribe
|
|
588
664
|
};
|
|
589
665
|
}
|
|
590
|
-
function
|
|
666
|
+
function me(e, t = N) {
|
|
591
667
|
let r;
|
|
592
668
|
const n = /* @__PURE__ */ new Set();
|
|
593
669
|
function i(o) {
|
|
594
|
-
if (
|
|
670
|
+
if (it(e, o) && (e = o, r)) {
|
|
595
671
|
const l = !U.length;
|
|
596
672
|
for (const u of n)
|
|
597
673
|
u[1](), U.push(u, e);
|
|
@@ -605,9 +681,9 @@ function fe(e, t = O) {
|
|
|
605
681
|
function s(o) {
|
|
606
682
|
i(o(e));
|
|
607
683
|
}
|
|
608
|
-
function a(o, l =
|
|
684
|
+
function a(o, l = N) {
|
|
609
685
|
const u = [o, l];
|
|
610
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
686
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || N), o(e), () => {
|
|
611
687
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
612
688
|
};
|
|
613
689
|
}
|
|
@@ -618,18 +694,18 @@ function z(e, t, r) {
|
|
|
618
694
|
if (!i.every(Boolean))
|
|
619
695
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
620
696
|
const s = t.length < 2;
|
|
621
|
-
return
|
|
697
|
+
return rr(r, (a, o) => {
|
|
622
698
|
let l = !1;
|
|
623
699
|
const u = [];
|
|
624
|
-
let h = 0, m =
|
|
700
|
+
let h = 0, m = N;
|
|
625
701
|
const f = () => {
|
|
626
702
|
if (h)
|
|
627
703
|
return;
|
|
628
704
|
m();
|
|
629
705
|
const y = t(n ? u[0] : u, a, o);
|
|
630
|
-
s ? a(y) : m =
|
|
706
|
+
s ? a(y) : m = le(y) ? y : N;
|
|
631
707
|
}, b = i.map(
|
|
632
|
-
(y, _) =>
|
|
708
|
+
(y, _) => st(
|
|
633
709
|
y,
|
|
634
710
|
(T) => {
|
|
635
711
|
u[_] = T, h &= ~(1 << _), l && f();
|
|
@@ -644,70 +720,70 @@ function z(e, t, r) {
|
|
|
644
720
|
};
|
|
645
721
|
});
|
|
646
722
|
}
|
|
647
|
-
function
|
|
723
|
+
function nr(e) {
|
|
648
724
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
649
725
|
}
|
|
650
|
-
var
|
|
651
|
-
return
|
|
726
|
+
var ir = function(t) {
|
|
727
|
+
return sr(t) && !ar(t);
|
|
652
728
|
};
|
|
653
|
-
function
|
|
729
|
+
function sr(e) {
|
|
654
730
|
return !!e && typeof e == "object";
|
|
655
731
|
}
|
|
656
|
-
function
|
|
732
|
+
function ar(e) {
|
|
657
733
|
var t = Object.prototype.toString.call(e);
|
|
658
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
734
|
+
return t === "[object RegExp]" || t === "[object Date]" || hr(e);
|
|
659
735
|
}
|
|
660
|
-
var
|
|
661
|
-
function
|
|
662
|
-
return e.$$typeof ===
|
|
736
|
+
var or = typeof Symbol == "function" && Symbol.for, ur = or ? Symbol.for("react.element") : 60103;
|
|
737
|
+
function hr(e) {
|
|
738
|
+
return e.$$typeof === ur;
|
|
663
739
|
}
|
|
664
|
-
function
|
|
740
|
+
function lr(e) {
|
|
665
741
|
return Array.isArray(e) ? [] : {};
|
|
666
742
|
}
|
|
667
743
|
function Y(e, t) {
|
|
668
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? F(
|
|
744
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(lr(e), e, t) : e;
|
|
669
745
|
}
|
|
670
|
-
function
|
|
746
|
+
function fr(e, t, r) {
|
|
671
747
|
return e.concat(t).map(function(n) {
|
|
672
748
|
return Y(n, r);
|
|
673
749
|
});
|
|
674
750
|
}
|
|
675
|
-
function
|
|
751
|
+
function cr(e, t) {
|
|
676
752
|
if (!t.customMerge)
|
|
677
753
|
return F;
|
|
678
754
|
var r = t.customMerge(e);
|
|
679
755
|
return typeof r == "function" ? r : F;
|
|
680
756
|
}
|
|
681
|
-
function
|
|
757
|
+
function mr(e) {
|
|
682
758
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
683
759
|
return Object.propertyIsEnumerable.call(e, t);
|
|
684
760
|
}) : [];
|
|
685
761
|
}
|
|
686
|
-
function
|
|
687
|
-
return Object.keys(e).concat(
|
|
762
|
+
function ke(e) {
|
|
763
|
+
return Object.keys(e).concat(mr(e));
|
|
688
764
|
}
|
|
689
|
-
function
|
|
765
|
+
function ct(e, t) {
|
|
690
766
|
try {
|
|
691
767
|
return t in e;
|
|
692
768
|
} catch {
|
|
693
769
|
return !1;
|
|
694
770
|
}
|
|
695
771
|
}
|
|
696
|
-
function
|
|
697
|
-
return
|
|
772
|
+
function gr(e, t) {
|
|
773
|
+
return ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
698
774
|
}
|
|
699
|
-
function
|
|
775
|
+
function dr(e, t, r) {
|
|
700
776
|
var n = {};
|
|
701
|
-
return r.isMergeableObject(e) &&
|
|
777
|
+
return r.isMergeableObject(e) && ke(e).forEach(function(i) {
|
|
702
778
|
n[i] = Y(e[i], r);
|
|
703
|
-
}),
|
|
704
|
-
|
|
779
|
+
}), ke(t).forEach(function(i) {
|
|
780
|
+
gr(e, i) || (ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
705
781
|
}), n;
|
|
706
782
|
}
|
|
707
783
|
function F(e, t, r) {
|
|
708
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
784
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || fr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = Y;
|
|
709
785
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
710
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
786
|
+
return s ? n ? r.arrayMerge(e, t, r) : dr(e, t, r) : Y(t, r);
|
|
711
787
|
}
|
|
712
788
|
F.all = function(t, r) {
|
|
713
789
|
if (!Array.isArray(t))
|
|
@@ -716,56 +792,58 @@ F.all = function(t, r) {
|
|
|
716
792
|
return F(n, i, r);
|
|
717
793
|
}, {});
|
|
718
794
|
};
|
|
719
|
-
var
|
|
720
|
-
const
|
|
721
|
-
function
|
|
722
|
-
var r = t && t.cache ? t.cache :
|
|
795
|
+
var br = F, pr = br;
|
|
796
|
+
const yr = /* @__PURE__ */ nr(pr);
|
|
797
|
+
function Ee(e, t) {
|
|
798
|
+
var r = t && t.cache ? t.cache : Tr, n = t && t.serializer ? t.serializer : Hr, i = t && t.strategy ? t.strategy : vr;
|
|
723
799
|
return i(e, {
|
|
724
800
|
cache: r,
|
|
725
801
|
serializer: n
|
|
726
802
|
});
|
|
727
803
|
}
|
|
728
|
-
function
|
|
804
|
+
function Er(e) {
|
|
729
805
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
730
806
|
}
|
|
731
|
-
function
|
|
732
|
-
var i =
|
|
807
|
+
function mt(e, t, r, n) {
|
|
808
|
+
var i = Er(n) ? n : r(n), s = t.get(i);
|
|
733
809
|
return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
|
|
734
810
|
}
|
|
735
|
-
function
|
|
811
|
+
function gt(e, t, r) {
|
|
736
812
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
737
813
|
return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
738
814
|
}
|
|
739
|
-
function
|
|
815
|
+
function $e(e, t, r, n, i) {
|
|
740
816
|
return r.bind(t, e, n, i);
|
|
741
817
|
}
|
|
742
|
-
function
|
|
743
|
-
var r = e.length === 1 ?
|
|
744
|
-
return
|
|
818
|
+
function vr(e, t) {
|
|
819
|
+
var r = e.length === 1 ? mt : gt;
|
|
820
|
+
return $e(e, this, r, t.cache.create(), t.serializer);
|
|
821
|
+
}
|
|
822
|
+
function _r(e, t) {
|
|
823
|
+
return $e(e, this, gt, t.cache.create(), t.serializer);
|
|
745
824
|
}
|
|
746
|
-
function
|
|
747
|
-
return
|
|
825
|
+
function xr(e, t) {
|
|
826
|
+
return $e(e, this, mt, t.cache.create(), t.serializer);
|
|
748
827
|
}
|
|
749
|
-
var
|
|
828
|
+
var Hr = function() {
|
|
750
829
|
return JSON.stringify(arguments);
|
|
751
|
-
}
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
}()
|
|
763
|
-
), xr = {
|
|
830
|
+
};
|
|
831
|
+
function Ue() {
|
|
832
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
833
|
+
}
|
|
834
|
+
Ue.prototype.get = function(e) {
|
|
835
|
+
return this.cache[e];
|
|
836
|
+
};
|
|
837
|
+
Ue.prototype.set = function(e, t) {
|
|
838
|
+
this.cache[e] = t;
|
|
839
|
+
};
|
|
840
|
+
var Tr = {
|
|
764
841
|
create: function() {
|
|
765
|
-
return new
|
|
842
|
+
return new Ue();
|
|
766
843
|
}
|
|
767
|
-
},
|
|
768
|
-
variadic:
|
|
844
|
+
}, ve = {
|
|
845
|
+
variadic: _r,
|
|
846
|
+
monadic: xr
|
|
769
847
|
}, d;
|
|
770
848
|
(function(e) {
|
|
771
849
|
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";
|
|
@@ -778,43 +856,43 @@ var j;
|
|
|
778
856
|
(function(e) {
|
|
779
857
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
780
858
|
})(j || (j = {}));
|
|
781
|
-
function
|
|
859
|
+
function Ve(e) {
|
|
782
860
|
return e.type === v.literal;
|
|
783
861
|
}
|
|
784
|
-
function
|
|
862
|
+
function Sr(e) {
|
|
785
863
|
return e.type === v.argument;
|
|
786
864
|
}
|
|
787
|
-
function
|
|
865
|
+
function dt(e) {
|
|
788
866
|
return e.type === v.number;
|
|
789
867
|
}
|
|
790
|
-
function
|
|
868
|
+
function bt(e) {
|
|
791
869
|
return e.type === v.date;
|
|
792
870
|
}
|
|
793
|
-
function
|
|
871
|
+
function pt(e) {
|
|
794
872
|
return e.type === v.time;
|
|
795
873
|
}
|
|
796
|
-
function
|
|
874
|
+
function yt(e) {
|
|
797
875
|
return e.type === v.select;
|
|
798
876
|
}
|
|
799
|
-
function
|
|
877
|
+
function Et(e) {
|
|
800
878
|
return e.type === v.plural;
|
|
801
879
|
}
|
|
802
|
-
function
|
|
880
|
+
function Br(e) {
|
|
803
881
|
return e.type === v.pound;
|
|
804
882
|
}
|
|
805
|
-
function
|
|
883
|
+
function vt(e) {
|
|
806
884
|
return e.type === v.tag;
|
|
807
885
|
}
|
|
808
|
-
function
|
|
886
|
+
function _t(e) {
|
|
809
887
|
return !!(e && typeof e == "object" && e.type === j.number);
|
|
810
888
|
}
|
|
811
|
-
function
|
|
889
|
+
function we(e) {
|
|
812
890
|
return !!(e && typeof e == "object" && e.type === j.dateTime);
|
|
813
891
|
}
|
|
814
|
-
var
|
|
815
|
-
function
|
|
892
|
+
var xt = /[ \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;
|
|
893
|
+
function wr(e) {
|
|
816
894
|
var t = {};
|
|
817
|
-
return e.replace(
|
|
895
|
+
return e.replace(Ar, function(r) {
|
|
818
896
|
var n = r.length;
|
|
819
897
|
switch (r[0]) {
|
|
820
898
|
case "G":
|
|
@@ -903,11 +981,11 @@ function Br(e) {
|
|
|
903
981
|
return "";
|
|
904
982
|
}), t;
|
|
905
983
|
}
|
|
906
|
-
var
|
|
907
|
-
function
|
|
984
|
+
var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
985
|
+
function Nr(e) {
|
|
908
986
|
if (e.length === 0)
|
|
909
987
|
throw new Error("Number skeleton cannot be empty");
|
|
910
|
-
for (var t = e.split(
|
|
988
|
+
for (var t = e.split(Pr).filter(function(f) {
|
|
911
989
|
return f.length > 0;
|
|
912
990
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
913
991
|
var s = i[n], a = s.split("/");
|
|
@@ -922,17 +1000,17 @@ function wr(e) {
|
|
|
922
1000
|
}
|
|
923
1001
|
return r;
|
|
924
1002
|
}
|
|
925
|
-
function
|
|
1003
|
+
function Or(e) {
|
|
926
1004
|
return e.replace(/^(.*?)-/, "");
|
|
927
1005
|
}
|
|
928
|
-
var
|
|
929
|
-
function
|
|
1006
|
+
var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ht = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Tt = /^(0+)$/;
|
|
1007
|
+
function ze(e) {
|
|
930
1008
|
var t = {};
|
|
931
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1009
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ht, function(r, n, i) {
|
|
932
1010
|
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)), "";
|
|
933
1011
|
}), t;
|
|
934
1012
|
}
|
|
935
|
-
function
|
|
1013
|
+
function St(e) {
|
|
936
1014
|
switch (e) {
|
|
937
1015
|
case "sign-auto":
|
|
938
1016
|
return {
|
|
@@ -972,7 +1050,7 @@ function xt(e) {
|
|
|
972
1050
|
};
|
|
973
1051
|
}
|
|
974
1052
|
}
|
|
975
|
-
function
|
|
1053
|
+
function Lr(e) {
|
|
976
1054
|
var t;
|
|
977
1055
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
978
1056
|
notation: "engineering"
|
|
@@ -980,17 +1058,17 @@ function Nr(e) {
|
|
|
980
1058
|
notation: "scientific"
|
|
981
1059
|
}, e = e.slice(1)), t) {
|
|
982
1060
|
var r = e.slice(0, 2);
|
|
983
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1061
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Tt.test(e))
|
|
984
1062
|
throw new Error("Malformed concise eng/scientific notation");
|
|
985
1063
|
t.minimumIntegerDigits = e.length;
|
|
986
1064
|
}
|
|
987
1065
|
return t;
|
|
988
1066
|
}
|
|
989
|
-
function
|
|
990
|
-
var t = {}, r =
|
|
1067
|
+
function We(e) {
|
|
1068
|
+
var t = {}, r = St(e);
|
|
991
1069
|
return r || t;
|
|
992
1070
|
}
|
|
993
|
-
function
|
|
1071
|
+
function Cr(e) {
|
|
994
1072
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
995
1073
|
var i = n[r];
|
|
996
1074
|
switch (i.stem) {
|
|
@@ -1014,7 +1092,7 @@ function Ir(e) {
|
|
|
1014
1092
|
continue;
|
|
1015
1093
|
case "measure-unit":
|
|
1016
1094
|
case "unit":
|
|
1017
|
-
t.style = "unit", t.unit =
|
|
1095
|
+
t.style = "unit", t.unit = Or(i.options[0]);
|
|
1018
1096
|
continue;
|
|
1019
1097
|
case "compact-short":
|
|
1020
1098
|
case "K":
|
|
@@ -1026,12 +1104,12 @@ function Ir(e) {
|
|
|
1026
1104
|
continue;
|
|
1027
1105
|
case "scientific":
|
|
1028
1106
|
t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1029
|
-
return E(E({}, l),
|
|
1107
|
+
return E(E({}, l), We(u));
|
|
1030
1108
|
}, {}));
|
|
1031
1109
|
continue;
|
|
1032
1110
|
case "engineering":
|
|
1033
1111
|
t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1034
|
-
return E(E({}, l),
|
|
1112
|
+
return E(E({}, l), We(u));
|
|
1035
1113
|
}, {}));
|
|
1036
1114
|
continue;
|
|
1037
1115
|
case "notation-simple":
|
|
@@ -1076,7 +1154,7 @@ function Ir(e) {
|
|
|
1076
1154
|
case "integer-width":
|
|
1077
1155
|
if (i.options.length > 1)
|
|
1078
1156
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1079
|
-
i.options[0].replace(
|
|
1157
|
+
i.options[0].replace(Ir, function(l, u, h, m, f, b) {
|
|
1080
1158
|
if (u)
|
|
1081
1159
|
t.minimumIntegerDigits = h.length;
|
|
1082
1160
|
else {
|
|
@@ -1089,32 +1167,32 @@ function Ir(e) {
|
|
|
1089
1167
|
});
|
|
1090
1168
|
continue;
|
|
1091
1169
|
}
|
|
1092
|
-
if (
|
|
1170
|
+
if (Tt.test(i.stem)) {
|
|
1093
1171
|
t.minimumIntegerDigits = i.stem.length;
|
|
1094
1172
|
continue;
|
|
1095
1173
|
}
|
|
1096
|
-
if (
|
|
1174
|
+
if (Xe.test(i.stem)) {
|
|
1097
1175
|
if (i.options.length > 1)
|
|
1098
1176
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1099
|
-
i.stem.replace(
|
|
1177
|
+
i.stem.replace(Xe, function(l, u, h, m, f, b) {
|
|
1100
1178
|
return h === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1101
1179
|
});
|
|
1102
1180
|
var s = i.options[0];
|
|
1103
|
-
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t),
|
|
1181
|
+
s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ze(s)));
|
|
1104
1182
|
continue;
|
|
1105
1183
|
}
|
|
1106
|
-
if (
|
|
1107
|
-
t = E(E({}, t),
|
|
1184
|
+
if (Ht.test(i.stem)) {
|
|
1185
|
+
t = E(E({}, t), ze(i.stem));
|
|
1108
1186
|
continue;
|
|
1109
1187
|
}
|
|
1110
|
-
var a =
|
|
1188
|
+
var a = St(i.stem);
|
|
1111
1189
|
a && (t = E(E({}, t), a));
|
|
1112
|
-
var o =
|
|
1190
|
+
var o = Lr(i.stem);
|
|
1113
1191
|
o && (t = E(E({}, t), o));
|
|
1114
1192
|
}
|
|
1115
1193
|
return t;
|
|
1116
1194
|
}
|
|
1117
|
-
var
|
|
1195
|
+
var ie = {
|
|
1118
1196
|
"001": [
|
|
1119
1197
|
"H",
|
|
1120
1198
|
"h"
|
|
@@ -2529,13 +2607,13 @@ var re = {
|
|
|
2529
2607
|
"h"
|
|
2530
2608
|
]
|
|
2531
2609
|
};
|
|
2532
|
-
function
|
|
2610
|
+
function Mr(e, t) {
|
|
2533
2611
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2534
2612
|
var i = e.charAt(n);
|
|
2535
2613
|
if (i === "j") {
|
|
2536
2614
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2537
2615
|
s++, n++;
|
|
2538
|
-
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u =
|
|
2616
|
+
var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Rr(t);
|
|
2539
2617
|
for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
|
|
2540
2618
|
r += l;
|
|
2541
2619
|
for (; a-- > 0; )
|
|
@@ -2545,7 +2623,7 @@ function Lr(e, t) {
|
|
|
2545
2623
|
}
|
|
2546
2624
|
return r;
|
|
2547
2625
|
}
|
|
2548
|
-
function
|
|
2626
|
+
function Rr(e) {
|
|
2549
2627
|
var t = e.hourCycle;
|
|
2550
2628
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2551
2629
|
e.hourCycles && // @ts-ignore
|
|
@@ -2564,23 +2642,23 @@ function Cr(e) {
|
|
|
2564
2642
|
}
|
|
2565
2643
|
var r = e.language, n;
|
|
2566
2644
|
r !== "root" && (n = e.maximize().region);
|
|
2567
|
-
var i =
|
|
2645
|
+
var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
|
|
2568
2646
|
return i[0];
|
|
2569
2647
|
}
|
|
2570
|
-
var
|
|
2648
|
+
var _e, $r = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
|
|
2571
2649
|
function p(e, t) {
|
|
2572
2650
|
return { start: e, end: t };
|
|
2573
2651
|
}
|
|
2574
|
-
var
|
|
2652
|
+
var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gr = !!String.fromCodePoint, Fr = !!Object.fromEntries, jr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, Xr = !!Number.isSafeInteger, zr = Xr ? Number.isSafeInteger : function(e) {
|
|
2575
2653
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2576
|
-
},
|
|
2654
|
+
}, Pe = !0;
|
|
2577
2655
|
try {
|
|
2578
|
-
var
|
|
2579
|
-
|
|
2656
|
+
var Wr = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2657
|
+
Pe = ((_e = Wr.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2580
2658
|
} catch {
|
|
2581
|
-
|
|
2659
|
+
Pe = !1;
|
|
2582
2660
|
}
|
|
2583
|
-
var
|
|
2661
|
+
var Ze = Dr ? (
|
|
2584
2662
|
// Native
|
|
2585
2663
|
function(t, r, n) {
|
|
2586
2664
|
return t.startsWith(r, n);
|
|
@@ -2590,7 +2668,7 @@ var ze = $r ? (
|
|
|
2590
2668
|
function(t, r, n) {
|
|
2591
2669
|
return t.slice(n, n + r.length) === r;
|
|
2592
2670
|
}
|
|
2593
|
-
),
|
|
2671
|
+
), Ne = Gr ? String.fromCodePoint : (
|
|
2594
2672
|
// IE11
|
|
2595
2673
|
function() {
|
|
2596
2674
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2602,9 +2680,9 @@ var ze = $r ? (
|
|
|
2602
2680
|
}
|
|
2603
2681
|
return n;
|
|
2604
2682
|
}
|
|
2605
|
-
),
|
|
2683
|
+
), Qe = (
|
|
2606
2684
|
// native
|
|
2607
|
-
|
|
2685
|
+
Fr ? Object.fromEntries : (
|
|
2608
2686
|
// Ponyfill
|
|
2609
2687
|
function(t) {
|
|
2610
2688
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2614,7 +2692,7 @@ var ze = $r ? (
|
|
|
2614
2692
|
return r;
|
|
2615
2693
|
}
|
|
2616
2694
|
)
|
|
2617
|
-
),
|
|
2695
|
+
), Bt = jr ? (
|
|
2618
2696
|
// Native
|
|
2619
2697
|
function(t, r) {
|
|
2620
2698
|
return t.codePointAt(r);
|
|
@@ -2628,7 +2706,7 @@ var ze = $r ? (
|
|
|
2628
2706
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2629
2707
|
}
|
|
2630
2708
|
}
|
|
2631
|
-
),
|
|
2709
|
+
), Zr = kr ? (
|
|
2632
2710
|
// Native
|
|
2633
2711
|
function(t) {
|
|
2634
2712
|
return t.trimStart();
|
|
@@ -2636,9 +2714,9 @@ var ze = $r ? (
|
|
|
2636
2714
|
) : (
|
|
2637
2715
|
// Ponyfill
|
|
2638
2716
|
function(t) {
|
|
2639
|
-
return t.replace(
|
|
2717
|
+
return t.replace($r, "");
|
|
2640
2718
|
}
|
|
2641
|
-
),
|
|
2719
|
+
), Qr = Vr ? (
|
|
2642
2720
|
// Native
|
|
2643
2721
|
function(t) {
|
|
2644
2722
|
return t.trimEnd();
|
|
@@ -2646,32 +2724,32 @@ var ze = $r ? (
|
|
|
2646
2724
|
) : (
|
|
2647
2725
|
// Ponyfill
|
|
2648
2726
|
function(t) {
|
|
2649
|
-
return t.replace(
|
|
2727
|
+
return t.replace(Ur, "");
|
|
2650
2728
|
}
|
|
2651
2729
|
);
|
|
2652
|
-
function
|
|
2730
|
+
function At(e, t) {
|
|
2653
2731
|
return new RegExp(e, t);
|
|
2654
2732
|
}
|
|
2655
|
-
var
|
|
2656
|
-
if (
|
|
2657
|
-
var
|
|
2658
|
-
|
|
2733
|
+
var Oe;
|
|
2734
|
+
if (Pe) {
|
|
2735
|
+
var qe = At("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2736
|
+
Oe = function(t, r) {
|
|
2659
2737
|
var n;
|
|
2660
|
-
|
|
2661
|
-
var i =
|
|
2738
|
+
qe.lastIndex = r;
|
|
2739
|
+
var i = qe.exec(t);
|
|
2662
2740
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2663
2741
|
};
|
|
2664
2742
|
} else
|
|
2665
|
-
|
|
2743
|
+
Oe = function(t, r) {
|
|
2666
2744
|
for (var n = []; ; ) {
|
|
2667
|
-
var i =
|
|
2668
|
-
if (i === void 0 ||
|
|
2745
|
+
var i = Bt(t, r);
|
|
2746
|
+
if (i === void 0 || wt(i) || Kr(i))
|
|
2669
2747
|
break;
|
|
2670
2748
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2671
2749
|
}
|
|
2672
|
-
return
|
|
2750
|
+
return Ne.apply(void 0, n);
|
|
2673
2751
|
};
|
|
2674
|
-
var
|
|
2752
|
+
var qr = (
|
|
2675
2753
|
/** @class */
|
|
2676
2754
|
function() {
|
|
2677
2755
|
function e(t, r) {
|
|
@@ -2702,7 +2780,7 @@ var Zr = (
|
|
|
2702
2780
|
if (n)
|
|
2703
2781
|
break;
|
|
2704
2782
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2705
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2783
|
+
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
2706
2784
|
var a = this.parseTag(t, r);
|
|
2707
2785
|
if (a.err)
|
|
2708
2786
|
return a;
|
|
@@ -2735,7 +2813,7 @@ var Zr = (
|
|
|
2735
2813
|
return s;
|
|
2736
2814
|
var a = s.val, o = this.clonePosition();
|
|
2737
2815
|
if (this.bumpIf("</")) {
|
|
2738
|
-
if (this.isEOF() || !
|
|
2816
|
+
if (this.isEOF() || !Ie(this.char()))
|
|
2739
2817
|
return this.error(d.INVALID_TAG, p(o, this.clonePosition()));
|
|
2740
2818
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
2741
2819
|
return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2753,7 +2831,7 @@ var Zr = (
|
|
|
2753
2831
|
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2754
2832
|
}, e.prototype.parseTagName = function() {
|
|
2755
2833
|
var t = this.offset();
|
|
2756
|
-
for (this.bump(); !this.isEOF() &&
|
|
2834
|
+
for (this.bump(); !this.isEOF() && Yr(this.char()); )
|
|
2757
2835
|
this.bump();
|
|
2758
2836
|
return this.message.slice(t, this.offset());
|
|
2759
2837
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2782,7 +2860,7 @@ var Zr = (
|
|
|
2782
2860
|
};
|
|
2783
2861
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2784
2862
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2785
|
-
!
|
|
2863
|
+
!Jr(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2786
2864
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2787
2865
|
if (this.isEOF() || this.char() !== 39)
|
|
2788
2866
|
return null;
|
|
@@ -2816,12 +2894,12 @@ var Zr = (
|
|
|
2816
2894
|
r.push(n);
|
|
2817
2895
|
this.bump();
|
|
2818
2896
|
}
|
|
2819
|
-
return
|
|
2897
|
+
return Ne.apply(void 0, r);
|
|
2820
2898
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2821
2899
|
if (this.isEOF())
|
|
2822
2900
|
return null;
|
|
2823
2901
|
var n = this.char();
|
|
2824
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2902
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ne(n));
|
|
2825
2903
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2826
2904
|
var n = this.clonePosition();
|
|
2827
2905
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2850,7 +2928,7 @@ var Zr = (
|
|
|
2850
2928
|
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2851
2929
|
}
|
|
2852
2930
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2853
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2931
|
+
var t = this.clonePosition(), r = this.offset(), n = Oe(this.message, r), i = r + n.length;
|
|
2854
2932
|
this.bumpTo(i);
|
|
2855
2933
|
var s = this.clonePosition(), a = p(t, s);
|
|
2856
2934
|
return { value: n, location: a };
|
|
@@ -2869,7 +2947,7 @@ var Zr = (
|
|
|
2869
2947
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2870
2948
|
if (m.err)
|
|
2871
2949
|
return m;
|
|
2872
|
-
var f =
|
|
2950
|
+
var f = Qr(m.val);
|
|
2873
2951
|
if (f.length === 0)
|
|
2874
2952
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2875
2953
|
var b = p(h, this.clonePosition());
|
|
@@ -2879,8 +2957,8 @@ var Zr = (
|
|
|
2879
2957
|
if (y.err)
|
|
2880
2958
|
return y;
|
|
2881
2959
|
var _ = p(i, this.clonePosition());
|
|
2882
|
-
if (u &&
|
|
2883
|
-
var T =
|
|
2960
|
+
if (u && Ze(u?.style, "::", 0)) {
|
|
2961
|
+
var T = Zr(u.style.slice(2));
|
|
2884
2962
|
if (o === "number") {
|
|
2885
2963
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
2886
2964
|
return m.err ? m : {
|
|
@@ -2891,12 +2969,12 @@ var Zr = (
|
|
|
2891
2969
|
if (T.length === 0)
|
|
2892
2970
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
2893
2971
|
var w = T;
|
|
2894
|
-
this.locale && (w =
|
|
2972
|
+
this.locale && (w = Mr(T, this.locale));
|
|
2895
2973
|
var f = {
|
|
2896
2974
|
type: j.dateTime,
|
|
2897
2975
|
pattern: w,
|
|
2898
2976
|
location: u.styleLocation,
|
|
2899
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2977
|
+
parsedOptions: this.shouldParseSkeletons ? wr(w) : {}
|
|
2900
2978
|
}, A = o === "date" ? v.date : v.time;
|
|
2901
2979
|
return {
|
|
2902
2980
|
val: { type: A, value: n, location: _, style: f },
|
|
@@ -2931,9 +3009,9 @@ var Zr = (
|
|
|
2931
3009
|
return m;
|
|
2932
3010
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
2933
3011
|
}
|
|
2934
|
-
var
|
|
2935
|
-
if (
|
|
2936
|
-
return
|
|
3012
|
+
var O = this.tryParsePluralOrSelectOptions(t, o, r, P);
|
|
3013
|
+
if (O.err)
|
|
3014
|
+
return O;
|
|
2937
3015
|
var y = this.tryParseArgumentClose(i);
|
|
2938
3016
|
if (y.err)
|
|
2939
3017
|
return y;
|
|
@@ -2942,7 +3020,7 @@ var Zr = (
|
|
|
2942
3020
|
val: {
|
|
2943
3021
|
type: v.select,
|
|
2944
3022
|
value: n,
|
|
2945
|
-
options:
|
|
3023
|
+
options: Qe(O.val),
|
|
2946
3024
|
location: c
|
|
2947
3025
|
},
|
|
2948
3026
|
err: null
|
|
@@ -2950,7 +3028,7 @@ var Zr = (
|
|
|
2950
3028
|
val: {
|
|
2951
3029
|
type: v.plural,
|
|
2952
3030
|
value: n,
|
|
2953
|
-
options:
|
|
3031
|
+
options: Qe(O.val),
|
|
2954
3032
|
offset: x,
|
|
2955
3033
|
pluralType: o === "plural" ? "cardinal" : "ordinal",
|
|
2956
3034
|
location: c
|
|
@@ -3001,7 +3079,7 @@ var Zr = (
|
|
|
3001
3079
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3002
3080
|
var n = [];
|
|
3003
3081
|
try {
|
|
3004
|
-
n =
|
|
3082
|
+
n = Nr(t);
|
|
3005
3083
|
} catch {
|
|
3006
3084
|
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3007
3085
|
}
|
|
@@ -3010,7 +3088,7 @@ var Zr = (
|
|
|
3010
3088
|
type: j.number,
|
|
3011
3089
|
tokens: n,
|
|
3012
3090
|
location: r,
|
|
3013
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3091
|
+
parsedOptions: this.shouldParseSkeletons ? Cr(n) : {}
|
|
3014
3092
|
},
|
|
3015
3093
|
err: null
|
|
3016
3094
|
};
|
|
@@ -3058,7 +3136,7 @@ var Zr = (
|
|
|
3058
3136
|
break;
|
|
3059
3137
|
}
|
|
3060
3138
|
var l = p(i, this.clonePosition());
|
|
3061
|
-
return s ? (a *= n,
|
|
3139
|
+
return s ? (a *= n, zr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3062
3140
|
}, e.prototype.offset = function() {
|
|
3063
3141
|
return this.position.offset;
|
|
3064
3142
|
}, e.prototype.isEOF = function() {
|
|
@@ -3073,7 +3151,7 @@ var Zr = (
|
|
|
3073
3151
|
var t = this.position.offset;
|
|
3074
3152
|
if (t >= this.message.length)
|
|
3075
3153
|
throw Error("out of bound");
|
|
3076
|
-
var r =
|
|
3154
|
+
var r = Bt(this.message, t);
|
|
3077
3155
|
if (r === void 0)
|
|
3078
3156
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3079
3157
|
return r;
|
|
@@ -3092,7 +3170,7 @@ var Zr = (
|
|
|
3092
3170
|
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);
|
|
3093
3171
|
}
|
|
3094
3172
|
}, e.prototype.bumpIf = function(t) {
|
|
3095
|
-
if (
|
|
3173
|
+
if (Ze(this.message, t, this.offset())) {
|
|
3096
3174
|
for (var r = 0; r < t.length; r++)
|
|
3097
3175
|
this.bump();
|
|
3098
3176
|
return !0;
|
|
@@ -3114,7 +3192,7 @@ var Zr = (
|
|
|
3114
3192
|
break;
|
|
3115
3193
|
}
|
|
3116
3194
|
}, e.prototype.bumpSpace = function() {
|
|
3117
|
-
for (; !this.isEOF() &&
|
|
3195
|
+
for (; !this.isEOF() && wt(this.char()); )
|
|
3118
3196
|
this.bump();
|
|
3119
3197
|
}, e.prototype.peek = function() {
|
|
3120
3198
|
if (this.isEOF())
|
|
@@ -3124,47 +3202,47 @@ var Zr = (
|
|
|
3124
3202
|
}, e;
|
|
3125
3203
|
}()
|
|
3126
3204
|
);
|
|
3127
|
-
function
|
|
3205
|
+
function Ie(e) {
|
|
3128
3206
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3129
3207
|
}
|
|
3130
|
-
function
|
|
3131
|
-
return
|
|
3208
|
+
function Jr(e) {
|
|
3209
|
+
return Ie(e) || e === 47;
|
|
3132
3210
|
}
|
|
3133
|
-
function
|
|
3211
|
+
function Yr(e) {
|
|
3134
3212
|
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;
|
|
3135
3213
|
}
|
|
3136
|
-
function
|
|
3214
|
+
function wt(e) {
|
|
3137
3215
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3138
3216
|
}
|
|
3139
|
-
function
|
|
3217
|
+
function Kr(e) {
|
|
3140
3218
|
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;
|
|
3141
3219
|
}
|
|
3142
|
-
function
|
|
3220
|
+
function Le(e) {
|
|
3143
3221
|
e.forEach(function(t) {
|
|
3144
|
-
if (delete t.location,
|
|
3222
|
+
if (delete t.location, yt(t) || Et(t))
|
|
3145
3223
|
for (var r in t.options)
|
|
3146
|
-
delete t.options[r].location,
|
|
3224
|
+
delete t.options[r].location, Le(t.options[r].value);
|
|
3147
3225
|
else
|
|
3148
|
-
|
|
3226
|
+
dt(t) && _t(t.style) || (bt(t) || pt(t)) && we(t.style) ? delete t.style.location : vt(t) && Le(t.children);
|
|
3149
3227
|
});
|
|
3150
3228
|
}
|
|
3151
|
-
function
|
|
3229
|
+
function en(e, t) {
|
|
3152
3230
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3153
|
-
var r = new
|
|
3231
|
+
var r = new qr(e, t).parse();
|
|
3154
3232
|
if (r.err) {
|
|
3155
3233
|
var n = SyntaxError(d[r.err.kind]);
|
|
3156
3234
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3157
3235
|
}
|
|
3158
|
-
return t?.captureLocation ||
|
|
3236
|
+
return t?.captureLocation || Le(r.val), r.val;
|
|
3159
3237
|
}
|
|
3160
3238
|
var k;
|
|
3161
3239
|
(function(e) {
|
|
3162
3240
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3163
3241
|
})(k || (k = {}));
|
|
3164
|
-
var
|
|
3242
|
+
var ge = (
|
|
3165
3243
|
/** @class */
|
|
3166
3244
|
function(e) {
|
|
3167
|
-
|
|
3245
|
+
ce(t, e);
|
|
3168
3246
|
function t(r, n, i) {
|
|
3169
3247
|
var s = e.call(this, r) || this;
|
|
3170
3248
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3173,48 +3251,48 @@ var ce = (
|
|
|
3173
3251
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3174
3252
|
}, t;
|
|
3175
3253
|
}(Error)
|
|
3176
|
-
),
|
|
3254
|
+
), Je = (
|
|
3177
3255
|
/** @class */
|
|
3178
3256
|
function(e) {
|
|
3179
|
-
|
|
3257
|
+
ce(t, e);
|
|
3180
3258
|
function t(r, n, i, s) {
|
|
3181
3259
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
|
|
3182
3260
|
}
|
|
3183
3261
|
return t;
|
|
3184
|
-
}(
|
|
3185
|
-
),
|
|
3262
|
+
}(ge)
|
|
3263
|
+
), tn = (
|
|
3186
3264
|
/** @class */
|
|
3187
3265
|
function(e) {
|
|
3188
|
-
|
|
3266
|
+
ce(t, e);
|
|
3189
3267
|
function t(r, n, i) {
|
|
3190
3268
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
|
|
3191
3269
|
}
|
|
3192
3270
|
return t;
|
|
3193
|
-
}(
|
|
3194
|
-
),
|
|
3271
|
+
}(ge)
|
|
3272
|
+
), rn = (
|
|
3195
3273
|
/** @class */
|
|
3196
3274
|
function(e) {
|
|
3197
|
-
|
|
3275
|
+
ce(t, e);
|
|
3198
3276
|
function t(r, n) {
|
|
3199
3277
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
|
|
3200
3278
|
}
|
|
3201
3279
|
return t;
|
|
3202
|
-
}(
|
|
3280
|
+
}(ge)
|
|
3203
3281
|
), B;
|
|
3204
3282
|
(function(e) {
|
|
3205
3283
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3206
3284
|
})(B || (B = {}));
|
|
3207
|
-
function
|
|
3285
|
+
function nn(e) {
|
|
3208
3286
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3209
3287
|
var n = t[t.length - 1];
|
|
3210
3288
|
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3211
3289
|
}, []);
|
|
3212
3290
|
}
|
|
3213
|
-
function
|
|
3291
|
+
function sn(e) {
|
|
3214
3292
|
return typeof e == "function";
|
|
3215
3293
|
}
|
|
3216
|
-
function
|
|
3217
|
-
if (e.length === 1 &&
|
|
3294
|
+
function ae(e, t, r, n, i, s, a) {
|
|
3295
|
+
if (e.length === 1 && Ve(e[0]))
|
|
3218
3296
|
return [
|
|
3219
3297
|
{
|
|
3220
3298
|
type: B.literal,
|
|
@@ -3223,14 +3301,14 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3223
3301
|
];
|
|
3224
3302
|
for (var o = [], l = 0, u = e; l < u.length; l++) {
|
|
3225
3303
|
var h = u[l];
|
|
3226
|
-
if (
|
|
3304
|
+
if (Ve(h)) {
|
|
3227
3305
|
o.push({
|
|
3228
3306
|
type: B.literal,
|
|
3229
3307
|
value: h.value
|
|
3230
3308
|
});
|
|
3231
3309
|
continue;
|
|
3232
3310
|
}
|
|
3233
|
-
if (
|
|
3311
|
+
if (Br(h)) {
|
|
3234
3312
|
typeof s == "number" && o.push({
|
|
3235
3313
|
type: B.literal,
|
|
3236
3314
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3239,44 +3317,44 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3239
3317
|
}
|
|
3240
3318
|
var m = h.value;
|
|
3241
3319
|
if (!(i && m in i))
|
|
3242
|
-
throw new
|
|
3320
|
+
throw new rn(m, a);
|
|
3243
3321
|
var f = i[m];
|
|
3244
|
-
if (
|
|
3322
|
+
if (Sr(h)) {
|
|
3245
3323
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
|
|
3246
3324
|
type: typeof f == "string" ? B.literal : B.object,
|
|
3247
3325
|
value: f
|
|
3248
3326
|
});
|
|
3249
3327
|
continue;
|
|
3250
3328
|
}
|
|
3251
|
-
if (
|
|
3252
|
-
var b = typeof h.style == "string" ? n.date[h.style] :
|
|
3329
|
+
if (bt(h)) {
|
|
3330
|
+
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3253
3331
|
o.push({
|
|
3254
3332
|
type: B.literal,
|
|
3255
3333
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3256
3334
|
});
|
|
3257
3335
|
continue;
|
|
3258
3336
|
}
|
|
3259
|
-
if (
|
|
3260
|
-
var b = typeof h.style == "string" ? n.time[h.style] :
|
|
3337
|
+
if (pt(h)) {
|
|
3338
|
+
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3261
3339
|
o.push({
|
|
3262
3340
|
type: B.literal,
|
|
3263
3341
|
value: r.getDateTimeFormat(t, b).format(f)
|
|
3264
3342
|
});
|
|
3265
3343
|
continue;
|
|
3266
3344
|
}
|
|
3267
|
-
if (
|
|
3268
|
-
var b = typeof h.style == "string" ? n.number[h.style] :
|
|
3345
|
+
if (dt(h)) {
|
|
3346
|
+
var b = typeof h.style == "string" ? n.number[h.style] : _t(h.style) ? h.style.parsedOptions : void 0;
|
|
3269
3347
|
b && b.scale && (f = f * (b.scale || 1)), o.push({
|
|
3270
3348
|
type: B.literal,
|
|
3271
3349
|
value: r.getNumberFormat(t, b).format(f)
|
|
3272
3350
|
});
|
|
3273
3351
|
continue;
|
|
3274
3352
|
}
|
|
3275
|
-
if (
|
|
3353
|
+
if (vt(h)) {
|
|
3276
3354
|
var y = h.children, _ = h.value, T = i[_];
|
|
3277
|
-
if (!
|
|
3278
|
-
throw new
|
|
3279
|
-
var w =
|
|
3355
|
+
if (!sn(T))
|
|
3356
|
+
throw new tn(_, "function", a);
|
|
3357
|
+
var w = ae(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3280
3358
|
return x.value;
|
|
3281
3359
|
}));
|
|
3282
3360
|
Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(x) {
|
|
@@ -3286,42 +3364,42 @@ function ie(e, t, r, n, i, s, a) {
|
|
|
3286
3364
|
};
|
|
3287
3365
|
}));
|
|
3288
3366
|
}
|
|
3289
|
-
if (
|
|
3367
|
+
if (yt(h)) {
|
|
3290
3368
|
var S = h.options[f] || h.options.other;
|
|
3291
3369
|
if (!S)
|
|
3292
|
-
throw new
|
|
3293
|
-
o.push.apply(o,
|
|
3370
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3371
|
+
o.push.apply(o, ae(S.value, t, r, n, i));
|
|
3294
3372
|
continue;
|
|
3295
3373
|
}
|
|
3296
|
-
if (
|
|
3374
|
+
if (Et(h)) {
|
|
3297
3375
|
var S = h.options["=".concat(f)];
|
|
3298
3376
|
if (!S) {
|
|
3299
3377
|
if (!Intl.PluralRules)
|
|
3300
|
-
throw new
|
|
3378
|
+
throw new ge(`Intl.PluralRules is not available in this environment.
|
|
3301
3379
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3302
3380
|
`, k.MISSING_INTL_API, a);
|
|
3303
3381
|
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3304
3382
|
S = h.options[P] || h.options.other;
|
|
3305
3383
|
}
|
|
3306
3384
|
if (!S)
|
|
3307
|
-
throw new
|
|
3308
|
-
o.push.apply(o,
|
|
3385
|
+
throw new Je(h.value, f, Object.keys(h.options), a);
|
|
3386
|
+
o.push.apply(o, ae(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3309
3387
|
continue;
|
|
3310
3388
|
}
|
|
3311
3389
|
}
|
|
3312
|
-
return
|
|
3390
|
+
return nn(o);
|
|
3313
3391
|
}
|
|
3314
|
-
function
|
|
3392
|
+
function an(e, t) {
|
|
3315
3393
|
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3316
3394
|
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3317
3395
|
}, {})) : e;
|
|
3318
3396
|
}
|
|
3319
|
-
function
|
|
3397
|
+
function on(e, t) {
|
|
3320
3398
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3321
|
-
return r[n] =
|
|
3399
|
+
return r[n] = an(e[n], t[n]), r;
|
|
3322
3400
|
}, E({}, e)) : e;
|
|
3323
3401
|
}
|
|
3324
|
-
function
|
|
3402
|
+
function xe(e) {
|
|
3325
3403
|
return {
|
|
3326
3404
|
create: function() {
|
|
3327
3405
|
return {
|
|
@@ -3335,39 +3413,39 @@ function ve(e) {
|
|
|
3335
3413
|
}
|
|
3336
3414
|
};
|
|
3337
3415
|
}
|
|
3338
|
-
function
|
|
3416
|
+
function un(e) {
|
|
3339
3417
|
return e === void 0 && (e = {
|
|
3340
3418
|
number: {},
|
|
3341
3419
|
dateTime: {},
|
|
3342
3420
|
pluralRules: {}
|
|
3343
3421
|
}), {
|
|
3344
|
-
getNumberFormat:
|
|
3422
|
+
getNumberFormat: Ee(function() {
|
|
3345
3423
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3346
3424
|
r[n] = arguments[n];
|
|
3347
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3425
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3348
3426
|
}, {
|
|
3349
|
-
cache:
|
|
3350
|
-
strategy:
|
|
3427
|
+
cache: xe(e.number),
|
|
3428
|
+
strategy: ve.variadic
|
|
3351
3429
|
}),
|
|
3352
|
-
getDateTimeFormat:
|
|
3430
|
+
getDateTimeFormat: Ee(function() {
|
|
3353
3431
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3354
3432
|
r[n] = arguments[n];
|
|
3355
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3433
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3356
3434
|
}, {
|
|
3357
|
-
cache:
|
|
3358
|
-
strategy:
|
|
3435
|
+
cache: xe(e.dateTime),
|
|
3436
|
+
strategy: ve.variadic
|
|
3359
3437
|
}),
|
|
3360
|
-
getPluralRules:
|
|
3438
|
+
getPluralRules: Ee(function() {
|
|
3361
3439
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3362
3440
|
r[n] = arguments[n];
|
|
3363
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3441
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3364
3442
|
}, {
|
|
3365
|
-
cache:
|
|
3366
|
-
strategy:
|
|
3443
|
+
cache: xe(e.pluralRules),
|
|
3444
|
+
strategy: ve.variadic
|
|
3367
3445
|
})
|
|
3368
3446
|
};
|
|
3369
3447
|
}
|
|
3370
|
-
var
|
|
3448
|
+
var hn = (
|
|
3371
3449
|
/** @class */
|
|
3372
3450
|
function() {
|
|
3373
3451
|
function e(t, r, n, i) {
|
|
@@ -3386,7 +3464,7 @@ var on = (
|
|
|
3386
3464
|
}, []);
|
|
3387
3465
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3388
3466
|
}, this.formatToParts = function(l) {
|
|
3389
|
-
return
|
|
3467
|
+
return ae(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3390
3468
|
}, this.resolvedOptions = function() {
|
|
3391
3469
|
var l;
|
|
3392
3470
|
return {
|
|
@@ -3399,13 +3477,13 @@ var on = (
|
|
|
3399
3477
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3400
3478
|
var a = i || {};
|
|
3401
3479
|
a.formatters;
|
|
3402
|
-
var o =
|
|
3480
|
+
var o = tr(a, ["formatters"]);
|
|
3403
3481
|
this.ast = e.__parse(t, E(E({}, o), { locale: this.resolvedLocale }));
|
|
3404
3482
|
} else
|
|
3405
3483
|
this.ast = t;
|
|
3406
3484
|
if (!Array.isArray(this.ast))
|
|
3407
3485
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3408
|
-
this.formats =
|
|
3486
|
+
this.formats = on(e.formats, n), this.formatters = i && i.formatters || un(this.formatterCache);
|
|
3409
3487
|
}
|
|
3410
3488
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3411
3489
|
get: function() {
|
|
@@ -3418,7 +3496,7 @@ var on = (
|
|
|
3418
3496
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3419
3497
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3420
3498
|
}
|
|
3421
|
-
}, e.__parse =
|
|
3499
|
+
}, e.__parse = en, e.formats = {
|
|
3422
3500
|
number: {
|
|
3423
3501
|
integer: {
|
|
3424
3502
|
maximumFractionDigits: 0
|
|
@@ -3479,7 +3557,7 @@ var on = (
|
|
|
3479
3557
|
}, e;
|
|
3480
3558
|
}()
|
|
3481
3559
|
);
|
|
3482
|
-
function
|
|
3560
|
+
function ln(e, t) {
|
|
3483
3561
|
if (t == null)
|
|
3484
3562
|
return;
|
|
3485
3563
|
if (t in e)
|
|
@@ -3500,92 +3578,92 @@ function un(e, t) {
|
|
|
3500
3578
|
n = void 0;
|
|
3501
3579
|
return n;
|
|
3502
3580
|
}
|
|
3503
|
-
const C = {},
|
|
3581
|
+
const C = {}, fn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Pt = (e, t) => {
|
|
3504
3582
|
if (t == null)
|
|
3505
3583
|
return;
|
|
3506
3584
|
if (t in C && e in C[t])
|
|
3507
3585
|
return C[t][e];
|
|
3508
|
-
const r =
|
|
3586
|
+
const r = de(t);
|
|
3509
3587
|
for (let n = 0; n < r.length; n++) {
|
|
3510
|
-
const i = r[n], s =
|
|
3588
|
+
const i = r[n], s = mn(i, e);
|
|
3511
3589
|
if (s)
|
|
3512
|
-
return
|
|
3590
|
+
return fn(e, t, s);
|
|
3513
3591
|
}
|
|
3514
3592
|
};
|
|
3515
|
-
let
|
|
3516
|
-
const W =
|
|
3517
|
-
function
|
|
3518
|
-
return
|
|
3593
|
+
let De;
|
|
3594
|
+
const W = me({});
|
|
3595
|
+
function cn(e) {
|
|
3596
|
+
return De[e] || null;
|
|
3519
3597
|
}
|
|
3520
|
-
function
|
|
3521
|
-
return e in
|
|
3598
|
+
function Nt(e) {
|
|
3599
|
+
return e in De;
|
|
3522
3600
|
}
|
|
3523
|
-
function
|
|
3524
|
-
if (!
|
|
3601
|
+
function mn(e, t) {
|
|
3602
|
+
if (!Nt(e))
|
|
3525
3603
|
return null;
|
|
3526
|
-
const r =
|
|
3527
|
-
return
|
|
3604
|
+
const r = cn(e);
|
|
3605
|
+
return ln(r, t);
|
|
3528
3606
|
}
|
|
3529
|
-
function
|
|
3607
|
+
function gn(e) {
|
|
3530
3608
|
if (e == null)
|
|
3531
3609
|
return;
|
|
3532
|
-
const t =
|
|
3610
|
+
const t = de(e);
|
|
3533
3611
|
for (let r = 0; r < t.length; r++) {
|
|
3534
3612
|
const n = t[r];
|
|
3535
|
-
if (
|
|
3613
|
+
if (Nt(n))
|
|
3536
3614
|
return n;
|
|
3537
3615
|
}
|
|
3538
3616
|
}
|
|
3539
|
-
function
|
|
3540
|
-
delete C[e], W.update((r) => (r[e] =
|
|
3617
|
+
function dn(e, ...t) {
|
|
3618
|
+
delete C[e], W.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
|
|
3541
3619
|
}
|
|
3542
3620
|
z(
|
|
3543
3621
|
[W],
|
|
3544
3622
|
([e]) => Object.keys(e)
|
|
3545
3623
|
);
|
|
3546
|
-
W.subscribe((e) =>
|
|
3547
|
-
const
|
|
3548
|
-
function
|
|
3549
|
-
|
|
3624
|
+
W.subscribe((e) => De = e);
|
|
3625
|
+
const oe = {};
|
|
3626
|
+
function bn(e, t) {
|
|
3627
|
+
oe[e].delete(t), oe[e].size === 0 && delete oe[e];
|
|
3550
3628
|
}
|
|
3551
|
-
function
|
|
3552
|
-
return
|
|
3629
|
+
function Ot(e) {
|
|
3630
|
+
return oe[e];
|
|
3553
3631
|
}
|
|
3554
|
-
function
|
|
3555
|
-
return
|
|
3556
|
-
const r =
|
|
3632
|
+
function pn(e) {
|
|
3633
|
+
return de(e).map((t) => {
|
|
3634
|
+
const r = Ot(t);
|
|
3557
3635
|
return [t, r ? [...r] : []];
|
|
3558
3636
|
}).filter(([, t]) => t.length > 0);
|
|
3559
3637
|
}
|
|
3560
|
-
function
|
|
3561
|
-
return e == null ? !1 :
|
|
3638
|
+
function Ce(e) {
|
|
3639
|
+
return e == null ? !1 : de(e).some(
|
|
3562
3640
|
(t) => {
|
|
3563
3641
|
var r;
|
|
3564
|
-
return (r =
|
|
3642
|
+
return (r = Ot(t)) == null ? void 0 : r.size;
|
|
3565
3643
|
}
|
|
3566
3644
|
);
|
|
3567
3645
|
}
|
|
3568
|
-
function
|
|
3646
|
+
function yn(e, t) {
|
|
3569
3647
|
return Promise.all(
|
|
3570
|
-
t.map((n) => (
|
|
3571
|
-
).then((n) =>
|
|
3648
|
+
t.map((n) => (bn(e, n), n().then((i) => i.default || i)))
|
|
3649
|
+
).then((n) => dn(e, ...n));
|
|
3572
3650
|
}
|
|
3573
3651
|
const Q = {};
|
|
3574
|
-
function
|
|
3575
|
-
if (!
|
|
3652
|
+
function It(e) {
|
|
3653
|
+
if (!Ce(e))
|
|
3576
3654
|
return e in Q ? Q[e] : Promise.resolve();
|
|
3577
|
-
const t =
|
|
3655
|
+
const t = pn(e);
|
|
3578
3656
|
return Q[e] = Promise.all(
|
|
3579
3657
|
t.map(
|
|
3580
|
-
([r, n]) =>
|
|
3658
|
+
([r, n]) => yn(r, n)
|
|
3581
3659
|
)
|
|
3582
3660
|
).then(() => {
|
|
3583
|
-
if (
|
|
3584
|
-
return
|
|
3661
|
+
if (Ce(e))
|
|
3662
|
+
return It(e);
|
|
3585
3663
|
delete Q[e];
|
|
3586
3664
|
}), Q[e];
|
|
3587
3665
|
}
|
|
3588
|
-
const
|
|
3666
|
+
const En = {
|
|
3589
3667
|
number: {
|
|
3590
3668
|
scientific: { notation: "scientific" },
|
|
3591
3669
|
engineering: { notation: "engineering" },
|
|
@@ -3614,78 +3692,78 @@ const pn = {
|
|
|
3614
3692
|
timeZoneName: "short"
|
|
3615
3693
|
}
|
|
3616
3694
|
}
|
|
3617
|
-
},
|
|
3695
|
+
}, vn = {
|
|
3618
3696
|
fallbackLocale: null,
|
|
3619
3697
|
loadingDelay: 200,
|
|
3620
|
-
formats:
|
|
3698
|
+
formats: En,
|
|
3621
3699
|
warnOnMissingMessages: !0,
|
|
3622
3700
|
handleMissingMessage: void 0,
|
|
3623
3701
|
ignoreTag: !0
|
|
3624
|
-
},
|
|
3702
|
+
}, _n = vn;
|
|
3625
3703
|
function V() {
|
|
3626
|
-
return
|
|
3704
|
+
return _n;
|
|
3627
3705
|
}
|
|
3628
|
-
const
|
|
3629
|
-
var
|
|
3706
|
+
const He = me(!1);
|
|
3707
|
+
var xn = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Sn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
|
|
3630
3708
|
for (var r in t || (t = {}))
|
|
3631
|
-
|
|
3632
|
-
if (
|
|
3633
|
-
for (var r of
|
|
3634
|
-
|
|
3709
|
+
Sn.call(t, r) && Ke(e, r, t[r]);
|
|
3710
|
+
if (Ye)
|
|
3711
|
+
for (var r of Ye(t))
|
|
3712
|
+
Bn.call(t, r) && Ke(e, r, t[r]);
|
|
3635
3713
|
return e;
|
|
3636
|
-
},
|
|
3637
|
-
let
|
|
3638
|
-
const
|
|
3639
|
-
function
|
|
3714
|
+
}, wn = (e, t) => Hn(e, Tn(t));
|
|
3715
|
+
let Me;
|
|
3716
|
+
const ue = me(null);
|
|
3717
|
+
function et(e) {
|
|
3640
3718
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3641
3719
|
}
|
|
3642
|
-
function
|
|
3643
|
-
const r =
|
|
3644
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3720
|
+
function de(e, t = V().fallbackLocale) {
|
|
3721
|
+
const r = et(e);
|
|
3722
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
|
|
3645
3723
|
}
|
|
3646
3724
|
function R() {
|
|
3647
|
-
return
|
|
3725
|
+
return Me ?? void 0;
|
|
3648
3726
|
}
|
|
3649
|
-
|
|
3650
|
-
|
|
3727
|
+
ue.subscribe((e) => {
|
|
3728
|
+
Me = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3651
3729
|
});
|
|
3652
|
-
const
|
|
3653
|
-
if (e &&
|
|
3730
|
+
const Pn = (e) => {
|
|
3731
|
+
if (e && gn(e) && Ce(e)) {
|
|
3654
3732
|
const { loadingDelay: t } = V();
|
|
3655
3733
|
let r;
|
|
3656
3734
|
return typeof window < "u" && R() != null && t ? r = window.setTimeout(
|
|
3657
|
-
() =>
|
|
3735
|
+
() => He.set(!0),
|
|
3658
3736
|
t
|
|
3659
|
-
) :
|
|
3660
|
-
|
|
3737
|
+
) : He.set(!0), It(e).then(() => {
|
|
3738
|
+
ue.set(e);
|
|
3661
3739
|
}).finally(() => {
|
|
3662
|
-
clearTimeout(r),
|
|
3740
|
+
clearTimeout(r), He.set(!1);
|
|
3663
3741
|
});
|
|
3664
3742
|
}
|
|
3665
|
-
return
|
|
3666
|
-
}, M =
|
|
3667
|
-
set:
|
|
3668
|
-
}),
|
|
3743
|
+
return ue.set(e);
|
|
3744
|
+
}, M = wn(An({}, ue), {
|
|
3745
|
+
set: Pn
|
|
3746
|
+
}), be = (e) => {
|
|
3669
3747
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3670
3748
|
return (n) => {
|
|
3671
3749
|
const i = JSON.stringify(n);
|
|
3672
3750
|
return i in t ? t[i] : t[i] = e(n);
|
|
3673
3751
|
};
|
|
3674
3752
|
};
|
|
3675
|
-
var
|
|
3753
|
+
var Nn = Object.defineProperty, he = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ct = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3676
3754
|
for (var r in t || (t = {}))
|
|
3677
|
-
|
|
3678
|
-
if (
|
|
3679
|
-
for (var r of
|
|
3680
|
-
|
|
3755
|
+
Lt.call(t, r) && tt(e, r, t[r]);
|
|
3756
|
+
if (he)
|
|
3757
|
+
for (var r of he(t))
|
|
3758
|
+
Ct.call(t, r) && tt(e, r, t[r]);
|
|
3681
3759
|
return e;
|
|
3682
3760
|
}, Z = (e, t) => {
|
|
3683
3761
|
var r = {};
|
|
3684
3762
|
for (var n in e)
|
|
3685
|
-
|
|
3686
|
-
if (e != null &&
|
|
3687
|
-
for (var n of
|
|
3688
|
-
t.indexOf(n) < 0 &&
|
|
3763
|
+
Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3764
|
+
if (e != null && he)
|
|
3765
|
+
for (var n of he(e))
|
|
3766
|
+
t.indexOf(n) < 0 && Ct.call(e, n) && (r[n] = e[n]);
|
|
3689
3767
|
return r;
|
|
3690
3768
|
};
|
|
3691
3769
|
const K = (e, t) => {
|
|
@@ -3693,21 +3771,21 @@ const K = (e, t) => {
|
|
|
3693
3771
|
if (e in r && t in r[e])
|
|
3694
3772
|
return r[e][t];
|
|
3695
3773
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3696
|
-
},
|
|
3774
|
+
}, On = be(
|
|
3697
3775
|
(e) => {
|
|
3698
3776
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3699
3777
|
if (r == null)
|
|
3700
3778
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3701
3779
|
return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
|
|
3702
3780
|
}
|
|
3703
|
-
),
|
|
3781
|
+
), In = be(
|
|
3704
3782
|
(e) => {
|
|
3705
3783
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3706
3784
|
if (r == null)
|
|
3707
3785
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3708
3786
|
return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3709
3787
|
}
|
|
3710
|
-
),
|
|
3788
|
+
), Ln = be(
|
|
3711
3789
|
(e) => {
|
|
3712
3790
|
var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
|
|
3713
3791
|
if (r == null)
|
|
@@ -3716,33 +3794,33 @@ const K = (e, t) => {
|
|
|
3716
3794
|
);
|
|
3717
3795
|
return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3718
3796
|
}
|
|
3719
|
-
),
|
|
3797
|
+
), Cn = (e = {}) => {
|
|
3720
3798
|
var t = e, {
|
|
3721
3799
|
locale: r = R()
|
|
3722
3800
|
} = t, n = Z(t, [
|
|
3723
3801
|
"locale"
|
|
3724
3802
|
]);
|
|
3725
|
-
return
|
|
3726
|
-
},
|
|
3803
|
+
return On(Ge({ locale: r }, n));
|
|
3804
|
+
}, Mn = (e = {}) => {
|
|
3727
3805
|
var t = e, {
|
|
3728
3806
|
locale: r = R()
|
|
3729
3807
|
} = t, n = Z(t, [
|
|
3730
3808
|
"locale"
|
|
3731
3809
|
]);
|
|
3732
|
-
return
|
|
3733
|
-
},
|
|
3810
|
+
return In(Ge({ locale: r }, n));
|
|
3811
|
+
}, Rn = (e = {}) => {
|
|
3734
3812
|
var t = e, {
|
|
3735
3813
|
locale: r = R()
|
|
3736
3814
|
} = t, n = Z(t, [
|
|
3737
3815
|
"locale"
|
|
3738
3816
|
]);
|
|
3739
|
-
return
|
|
3740
|
-
},
|
|
3817
|
+
return Ln(Ge({ locale: r }, n));
|
|
3818
|
+
}, $n = be(
|
|
3741
3819
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3742
|
-
(e, t = R()) => new
|
|
3820
|
+
(e, t = R()) => new hn(e, t, V().formats, {
|
|
3743
3821
|
ignoreTag: V().ignoreTag
|
|
3744
3822
|
})
|
|
3745
|
-
),
|
|
3823
|
+
), Un = (e, t = {}) => {
|
|
3746
3824
|
var r, n, i, s;
|
|
3747
3825
|
let a = t;
|
|
3748
3826
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -3755,7 +3833,7 @@ const K = (e, t) => {
|
|
|
3755
3833
|
throw new Error(
|
|
3756
3834
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3757
3835
|
);
|
|
3758
|
-
let h =
|
|
3836
|
+
let h = Pt(e, l);
|
|
3759
3837
|
if (!h)
|
|
3760
3838
|
h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
3761
3839
|
else if (typeof h != "string")
|
|
@@ -3766,7 +3844,7 @@ const K = (e, t) => {
|
|
|
3766
3844
|
return h;
|
|
3767
3845
|
let m = h;
|
|
3768
3846
|
try {
|
|
3769
|
-
m =
|
|
3847
|
+
m = $n(h, l).format(o);
|
|
3770
3848
|
} catch (f) {
|
|
3771
3849
|
f instanceof Error && console.warn(
|
|
3772
3850
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3774,18 +3852,18 @@ const K = (e, t) => {
|
|
|
3774
3852
|
);
|
|
3775
3853
|
}
|
|
3776
3854
|
return m;
|
|
3777
|
-
},
|
|
3778
|
-
z([M], () => $n);
|
|
3779
|
-
z([M], () => Un);
|
|
3855
|
+
}, Dn = (e, t) => Rn(t).format(e), Gn = (e, t) => Mn(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = R()) => Pt(e, t), gi = z([M, W], () => Un);
|
|
3780
3856
|
z([M], () => Dn);
|
|
3781
|
-
z([M
|
|
3782
|
-
|
|
3857
|
+
z([M], () => Gn);
|
|
3858
|
+
z([M], () => Fn);
|
|
3859
|
+
z([M, W], () => jn);
|
|
3860
|
+
function kn(e, t) {
|
|
3783
3861
|
if (e) {
|
|
3784
3862
|
const r = document.createElement("style");
|
|
3785
3863
|
r.innerHTML = t, e.appendChild(r);
|
|
3786
3864
|
}
|
|
3787
3865
|
}
|
|
3788
|
-
function
|
|
3866
|
+
function Vn(e, t) {
|
|
3789
3867
|
const r = new URL(t);
|
|
3790
3868
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3791
3869
|
const i = document.createElement("style");
|
|
@@ -3794,7 +3872,7 @@ function jn(e, t) {
|
|
|
3794
3872
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
3795
3873
|
});
|
|
3796
3874
|
}
|
|
3797
|
-
function
|
|
3875
|
+
function Xn(e, t, r) {
|
|
3798
3876
|
if (window.emMessageBus) {
|
|
3799
3877
|
const n = document.createElement("style");
|
|
3800
3878
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -3802,7 +3880,7 @@ function kn(e, t, r) {
|
|
|
3802
3880
|
});
|
|
3803
3881
|
}
|
|
3804
3882
|
}
|
|
3805
|
-
function
|
|
3883
|
+
function zn({ withLocale: e, translations: t }) {
|
|
3806
3884
|
M.subscribe((r) => {
|
|
3807
3885
|
r == null && (W.set(t), M.set(e));
|
|
3808
3886
|
});
|
|
@@ -3819,18 +3897,18 @@ if (typeof window < "u") {
|
|
|
3819
3897
|
}
|
|
3820
3898
|
};
|
|
3821
3899
|
};
|
|
3822
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3900
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-CXH0zWBq.js").then(({ default: t }) => {
|
|
3823
3901
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3824
3902
|
});
|
|
3825
3903
|
}
|
|
3826
|
-
function
|
|
3827
|
-
|
|
3904
|
+
function Wn(e) {
|
|
3905
|
+
Ut(e, "svelte-nazqps", ".CasinoFavoritesSectionContainer{font-family:inherit;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}");
|
|
3828
3906
|
}
|
|
3829
|
-
function
|
|
3907
|
+
function rt(e) {
|
|
3830
3908
|
let t;
|
|
3831
3909
|
return {
|
|
3832
3910
|
c() {
|
|
3833
|
-
t =
|
|
3911
|
+
t = te("casino-games-category-section"), g(
|
|
3834
3912
|
t,
|
|
3835
3913
|
"session",
|
|
3836
3914
|
/*session*/
|
|
@@ -3923,7 +4001,7 @@ function et(e) {
|
|
|
3923
4001
|
);
|
|
3924
4002
|
},
|
|
3925
4003
|
m(r, n) {
|
|
3926
|
-
|
|
4004
|
+
fe(r, t, n);
|
|
3927
4005
|
},
|
|
3928
4006
|
p(r, n) {
|
|
3929
4007
|
n & /*session*/
|
|
@@ -4037,39 +4115,39 @@ function et(e) {
|
|
|
4037
4115
|
);
|
|
4038
4116
|
},
|
|
4039
4117
|
d(r) {
|
|
4040
|
-
r &&
|
|
4118
|
+
r && ee(t);
|
|
4041
4119
|
}
|
|
4042
4120
|
};
|
|
4043
4121
|
}
|
|
4044
|
-
function
|
|
4122
|
+
function Zn(e) {
|
|
4045
4123
|
let t, r = (
|
|
4046
4124
|
/*session*/
|
|
4047
|
-
e[4] &&
|
|
4125
|
+
e[4] && rt(e)
|
|
4048
4126
|
);
|
|
4049
4127
|
return {
|
|
4050
4128
|
c() {
|
|
4051
|
-
t =
|
|
4129
|
+
t = te("div"), r && r.c(), Re(t, "class", "CasinoFavoritesSectionContainer");
|
|
4052
4130
|
},
|
|
4053
4131
|
m(n, i) {
|
|
4054
|
-
|
|
4132
|
+
fe(n, t, i), r && r.m(t, null), e[19](t);
|
|
4055
4133
|
},
|
|
4056
4134
|
p(n, [i]) {
|
|
4057
4135
|
/*session*/
|
|
4058
|
-
n[4] ? r ? r.p(n, i) : (r =
|
|
4136
|
+
n[4] ? r ? r.p(n, i) : (r = rt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4059
4137
|
},
|
|
4060
|
-
i:
|
|
4061
|
-
o:
|
|
4138
|
+
i: N,
|
|
4139
|
+
o: N,
|
|
4062
4140
|
d(n) {
|
|
4063
|
-
n &&
|
|
4141
|
+
n && ee(t), r && r.d(), e[19](null);
|
|
4064
4142
|
}
|
|
4065
4143
|
};
|
|
4066
4144
|
}
|
|
4067
|
-
function
|
|
4145
|
+
function Qn(e, t, r) {
|
|
4068
4146
|
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: o = "" } = t, { userid: l = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { livecasino: m = "false" } = t, { integratedgameframemobile: f = "false" } = t, { integratedgameframedesktop: b = "false" } = t, { showgamename: y = "" } = t, { gamepagemodalurl: _ = "false" } = t, { visiblegames: T = "" } = t, { favorites: w = "" } = t, { casinomygames: A = "false" } = t, { fetchviaevent: S = "true" } = t, { mbsource: P } = t, x;
|
|
4069
|
-
|
|
4147
|
+
zn({ withLocale: "en", translations: {} }), Vt(() => () => {
|
|
4070
4148
|
});
|
|
4071
|
-
function
|
|
4072
|
-
|
|
4149
|
+
function O(c) {
|
|
4150
|
+
Te[c ? "unshift" : "push"](() => {
|
|
4073
4151
|
x = c, r(18, x);
|
|
4074
4152
|
});
|
|
4075
4153
|
}
|
|
@@ -4077,9 +4155,9 @@ function Wn(e, t, r) {
|
|
|
4077
4155
|
"endpoint" in c && r(0, n = c.endpoint), "datasource" in c && r(1, i = c.datasource), "currency" in c && r(2, s = c.currency), "lang" in c && r(3, a = c.lang), "session" in c && r(4, o = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, u = c.clientstyling), "clientstylingurl" in c && r(7, h = c.clientstylingurl), "livecasino" in c && r(8, m = c.livecasino), "integratedgameframemobile" in c && r(9, f = c.integratedgameframemobile), "integratedgameframedesktop" in c && r(10, b = c.integratedgameframedesktop), "showgamename" in c && r(11, y = c.showgamename), "gamepagemodalurl" in c && r(12, _ = c.gamepagemodalurl), "visiblegames" in c && r(13, T = c.visiblegames), "favorites" in c && r(14, w = c.favorites), "casinomygames" in c && r(15, A = c.casinomygames), "fetchviaevent" in c && r(16, S = c.fetchviaevent), "mbsource" in c && r(17, P = c.mbsource);
|
|
4078
4156
|
}, e.$$.update = () => {
|
|
4079
4157
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4080
|
-
262208 && u && x &&
|
|
4081
|
-
262272 && h && x &&
|
|
4082
|
-
393216 && x &&
|
|
4158
|
+
262208 && u && x && kn(x, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4159
|
+
262272 && h && x && Vn(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4160
|
+
393216 && x && Xn(x, `${P}.Style`);
|
|
4083
4161
|
}, [
|
|
4084
4162
|
n,
|
|
4085
4163
|
i,
|
|
@@ -4100,17 +4178,17 @@ function Wn(e, t, r) {
|
|
|
4100
4178
|
S,
|
|
4101
4179
|
P,
|
|
4102
4180
|
x,
|
|
4103
|
-
|
|
4181
|
+
O
|
|
4104
4182
|
];
|
|
4105
4183
|
}
|
|
4106
|
-
class
|
|
4184
|
+
class Mt extends Kt {
|
|
4107
4185
|
constructor(t) {
|
|
4108
|
-
super(),
|
|
4186
|
+
super(), Jt(
|
|
4109
4187
|
this,
|
|
4110
4188
|
t,
|
|
4111
|
-
|
|
4112
|
-
|
|
4113
|
-
|
|
4189
|
+
Qn,
|
|
4190
|
+
Zn,
|
|
4191
|
+
it,
|
|
4114
4192
|
{
|
|
4115
4193
|
endpoint: 0,
|
|
4116
4194
|
datasource: 1,
|
|
@@ -4131,7 +4209,7 @@ class It extends qt {
|
|
|
4131
4209
|
fetchviaevent: 16,
|
|
4132
4210
|
mbsource: 17
|
|
4133
4211
|
},
|
|
4134
|
-
|
|
4212
|
+
Wn
|
|
4135
4213
|
);
|
|
4136
4214
|
}
|
|
4137
4215
|
get endpoint() {
|
|
@@ -4243,53 +4321,56 @@ class It extends qt {
|
|
|
4243
4321
|
this.$$set({ mbsource: t }), H();
|
|
4244
4322
|
}
|
|
4245
4323
|
}
|
|
4246
|
-
|
|
4247
|
-
const
|
|
4324
|
+
Yt(Mt, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4325
|
+
const di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4248
4326
|
__proto__: null,
|
|
4249
|
-
default:
|
|
4327
|
+
default: Mt
|
|
4250
4328
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4251
4329
|
export {
|
|
4252
4330
|
M as $,
|
|
4253
4331
|
ri as A,
|
|
4254
|
-
|
|
4255
|
-
|
|
4256
|
-
|
|
4257
|
-
|
|
4258
|
-
|
|
4259
|
-
|
|
4260
|
-
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
-
|
|
4264
|
-
|
|
4265
|
-
|
|
4266
|
-
|
|
4267
|
-
|
|
4268
|
-
|
|
4269
|
-
|
|
4270
|
-
|
|
4271
|
-
|
|
4332
|
+
ni as B,
|
|
4333
|
+
Kn as C,
|
|
4334
|
+
X as D,
|
|
4335
|
+
ii as E,
|
|
4336
|
+
gi as F,
|
|
4337
|
+
qn as G,
|
|
4338
|
+
g as H,
|
|
4339
|
+
si as I,
|
|
4340
|
+
Yn as J,
|
|
4341
|
+
ti as K,
|
|
4342
|
+
ai as L,
|
|
4343
|
+
ui as M,
|
|
4344
|
+
oi as N,
|
|
4345
|
+
fi as O,
|
|
4346
|
+
li as P,
|
|
4347
|
+
di as Q,
|
|
4348
|
+
Kt as S,
|
|
4349
|
+
ci as _,
|
|
4350
|
+
ye as a,
|
|
4351
|
+
mi as b,
|
|
4352
|
+
ce as c,
|
|
4272
4353
|
W as d,
|
|
4273
|
-
|
|
4354
|
+
dn as e,
|
|
4274
4355
|
H as f,
|
|
4275
|
-
|
|
4276
|
-
|
|
4277
|
-
|
|
4278
|
-
|
|
4279
|
-
|
|
4280
|
-
|
|
4281
|
-
|
|
4282
|
-
|
|
4283
|
-
|
|
4284
|
-
|
|
4285
|
-
|
|
4286
|
-
|
|
4287
|
-
|
|
4288
|
-
|
|
4289
|
-
|
|
4290
|
-
|
|
4291
|
-
|
|
4292
|
-
|
|
4293
|
-
|
|
4294
|
-
|
|
4356
|
+
Yt as g,
|
|
4357
|
+
Ut as h,
|
|
4358
|
+
Jt as i,
|
|
4359
|
+
te as j,
|
|
4360
|
+
fe as k,
|
|
4361
|
+
ee as l,
|
|
4362
|
+
Jn as m,
|
|
4363
|
+
N as n,
|
|
4364
|
+
Vt as o,
|
|
4365
|
+
Vn as p,
|
|
4366
|
+
Te as q,
|
|
4367
|
+
kn as r,
|
|
4368
|
+
it as s,
|
|
4369
|
+
Xn as t,
|
|
4370
|
+
hi as u,
|
|
4371
|
+
Ft as v,
|
|
4372
|
+
ei as w,
|
|
4373
|
+
at as x,
|
|
4374
|
+
Re as y,
|
|
4375
|
+
$t as z
|
|
4295
4376
|
};
|