@everymatrix/casino-favorites-section 1.60.2 → 1.61.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-x5z0a5S3.js → CasinoFavoritesSection-BCfy2gpY.js} +855 -930
- package/components/{CasinoFavoritesSection-WLXTwGbs.js → CasinoFavoritesSection-BKj7jI6l.js} +366 -441
- package/components/CasinoFavoritesSection-GW7DtjBm.cjs +16 -0
- package/components/{CasinoFilter-DlCR7_69.js → CasinoFilter-BX_p-bH6.js} +31 -31
- package/components/CasinoFilter-diz36LYu.cjs +3 -0
- package/components/{CasinoFilter-BybP47cV.js → CasinoFilter-qpnFtzbQ.js} +144 -142
- package/components/CasinoGameThumbnail-B-aiVj2F.js +3608 -0
- package/components/CasinoGameThumbnail-BAoMgjkN.js +3592 -0
- package/components/CasinoGameThumbnail-lOP2KeUx.cjs +39 -0
- package/components/{CasinoGamesCategorySection-BGuQWDQP.js → CasinoGamesCategorySection-Brt4FtjL.js} +33 -33
- package/components/{CasinoGamesCategorySection-CtnBkx3y.js → CasinoGamesCategorySection-CFVdhthQ.js} +30 -30
- package/components/{CasinoGamesCategorySection-DIM8ZSxi.cjs → CasinoGamesCategorySection-CFhUjbp0.cjs} +1 -1
- package/components/{CasinoSort-x3_9U5TW.cjs → CasinoSort-BicrqpZA.cjs} +1 -1
- package/components/{CasinoSort-fJrcGKry.js → CasinoSort-CnUlQwyV.js} +13 -13
- package/components/{CasinoSort-DxNMcVP-.js → CasinoSort-Dd1rnGIp.js} +13 -13
- package/es2015/casino-favorites-section.cjs +1 -1
- package/es2015/casino-favorites-section.js +1 -1
- package/esnext/casino-favorites-section.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +1 -0
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +7 -0
- package/stencil/{index-b2193545-BcwULm-K.cjs → index-b2193545-B5BzVbnP.cjs} +1 -1
- package/stencil/{index-b2193545-BJzf08Qh.js → index-b2193545-BranxwW4.js} +1 -1
- package/stencil/{index-b2193545-BlEoeZZL.js → index-b2193545-D-GB6w--.js} +1 -1
- package/stencil/index-b7bbd57e-CQ75dRCG.js +550 -0
- package/stencil/index-b7bbd57e-Cacu08c5.js +534 -0
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +1 -0
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +39 -0
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +1 -0
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +39 -0
- package/stencil/ui-image-BWdEHrqs.js +11 -0
- package/stencil/ui-image-Cq69wjLL.js +29 -0
- package/stencil/ui-image-hWt-DWaG.cjs +1 -0
- package/stencil/{ui-skeleton-ea659b95-CGzZMsW7.js → ui-skeleton-6d1c12ae-CKWpp1By.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-BbvMCw6x.js → ui-skeleton-6d1c12ae-Cy_R_9Cz.js} +2 -2
- package/stencil/{ui-skeleton-ea659b95-8xls9UKV.cjs → ui-skeleton-6d1c12ae-DXSQpIKe.cjs} +2 -2
- package/stencil/{ui-skeleton-C8koemPS.js → ui-skeleton-BMWABShx.js} +8 -8
- package/stencil/{ui-skeleton-Cb-Iz3dC.js → ui-skeleton-CkUGY95J.js} +5 -5
- package/stencil/ui-skeleton-DXc0L06e.cjs +1 -0
- package/components/CasinoFavoritesSection-D38_766A.cjs +0 -16
- package/components/CasinoFilter-dKY-bHh9.cjs +0 -3
- package/components/CasinoGameThumbnail-BSSIiTom.js +0 -4406
- package/components/CasinoGameThumbnail-CsbeEJiG.js +0 -4390
- package/components/CasinoGameThumbnail-DqHKU3jO.cjs +0 -47
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +0 -5
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +0 -1
- package/stencil/ui-skeleton-B_ESS51i.cjs +0 -1
package/components/{CasinoFavoritesSection-x5z0a5S3.js → CasinoFavoritesSection-BCfy2gpY.js}
RENAMED
|
@@ -2,32 +2,32 @@ var Dt = Object.defineProperty, Gt = Object.defineProperties;
|
|
|
2
2
|
var Ft = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var Fe = Object.getOwnPropertySymbols;
|
|
4
4
|
var jt = Object.prototype.hasOwnProperty, kt = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var
|
|
7
|
-
jt.call(t,
|
|
5
|
+
var be = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, je = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
jt.call(t, r) && be(e, r, t[r]);
|
|
8
8
|
if (Fe)
|
|
9
|
-
for (var
|
|
10
|
-
kt.call(t,
|
|
9
|
+
for (var r of Fe(t))
|
|
10
|
+
kt.call(t, r) && be(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
12
|
}, ke = (e, t) => Gt(e, Ft(t));
|
|
13
|
-
var
|
|
14
|
-
var Ve = (e, t,
|
|
13
|
+
var O = (e, t, r) => (be(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ve = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (l) => {
|
|
16
16
|
try {
|
|
17
|
-
u(
|
|
17
|
+
u(r.next(l));
|
|
18
18
|
} catch (o) {
|
|
19
19
|
i(o);
|
|
20
20
|
}
|
|
21
21
|
}, a = (l) => {
|
|
22
22
|
try {
|
|
23
|
-
u(
|
|
23
|
+
u(r.throw(l));
|
|
24
24
|
} catch (o) {
|
|
25
25
|
i(o);
|
|
26
26
|
}
|
|
27
|
-
}, u = (l) => l.done ?
|
|
28
|
-
u((
|
|
27
|
+
}, u = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
|
|
28
|
+
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function N() {
|
|
31
31
|
}
|
|
32
32
|
function ot(e) {
|
|
33
33
|
return e();
|
|
@@ -38,42 +38,39 @@ function Xe() {
|
|
|
38
38
|
function z(e) {
|
|
39
39
|
e.forEach(ot);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function Re(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
44
|
function ut(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let re;
|
|
48
|
+
function ai(e, t) {
|
|
49
|
+
return e === t ? !0 : (re || (re = document.createElement("a")), re.href = t, e === re.href);
|
|
50
50
|
}
|
|
51
51
|
function Vt(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
54
|
function ht(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
|
-
for (const
|
|
57
|
-
|
|
58
|
-
return
|
|
56
|
+
for (const n of t)
|
|
57
|
+
n(void 0);
|
|
58
|
+
return N;
|
|
59
59
|
}
|
|
60
|
-
const
|
|
61
|
-
return
|
|
62
|
-
}
|
|
63
|
-
function ui(e, t, n) {
|
|
64
|
-
e.$$.on_destroy.push(ht(t, n));
|
|
60
|
+
const r = e.subscribe(...t);
|
|
61
|
+
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
65
62
|
}
|
|
66
|
-
function
|
|
67
|
-
|
|
63
|
+
function oi(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(ht(t, r));
|
|
68
65
|
}
|
|
69
66
|
function Xt(e, t) {
|
|
70
67
|
e.appendChild(t);
|
|
71
68
|
}
|
|
72
|
-
function zt(e, t,
|
|
73
|
-
const
|
|
74
|
-
if (!
|
|
75
|
-
const i =
|
|
76
|
-
i.id = t, i.textContent =
|
|
69
|
+
function zt(e, t, r) {
|
|
70
|
+
const n = Wt(e);
|
|
71
|
+
if (!n.getElementById(t)) {
|
|
72
|
+
const i = le("style");
|
|
73
|
+
i.id = t, i.textContent = r, Zt(n, i);
|
|
77
74
|
}
|
|
78
75
|
}
|
|
79
76
|
function Wt(e) {
|
|
@@ -93,130 +90,60 @@ function Zt(e, t) {
|
|
|
93
90
|
t
|
|
94
91
|
), t.sheet;
|
|
95
92
|
}
|
|
96
|
-
function
|
|
97
|
-
e.insertBefore(t,
|
|
93
|
+
function $e(e, t, r) {
|
|
94
|
+
e.insertBefore(t, r || null);
|
|
98
95
|
}
|
|
99
|
-
function
|
|
96
|
+
function he(e) {
|
|
100
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
101
98
|
}
|
|
102
|
-
function
|
|
103
|
-
for (let
|
|
104
|
-
e[
|
|
99
|
+
function ui(e, t) {
|
|
100
|
+
for (let r = 0; r < e.length; r += 1)
|
|
101
|
+
e[r] && e[r].d(t);
|
|
105
102
|
}
|
|
106
|
-
function
|
|
103
|
+
function le(e) {
|
|
107
104
|
return document.createElement(e);
|
|
108
105
|
}
|
|
109
|
-
function
|
|
106
|
+
function hi(e) {
|
|
110
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
111
108
|
}
|
|
112
109
|
function lt(e) {
|
|
113
110
|
return document.createTextNode(e);
|
|
114
111
|
}
|
|
115
|
-
function
|
|
112
|
+
function li() {
|
|
116
113
|
return lt(" ");
|
|
117
114
|
}
|
|
118
|
-
function
|
|
115
|
+
function fi() {
|
|
119
116
|
return lt("");
|
|
120
117
|
}
|
|
121
|
-
function
|
|
122
|
-
return e.addEventListener(t,
|
|
118
|
+
function ci(e, t, r, n) {
|
|
119
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
123
120
|
}
|
|
124
|
-
function Ue(e, t,
|
|
125
|
-
|
|
121
|
+
function Ue(e, t, r) {
|
|
122
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
126
123
|
}
|
|
127
|
-
function g(e, t,
|
|
128
|
-
const
|
|
129
|
-
|
|
124
|
+
function g(e, t, r) {
|
|
125
|
+
const n = t.toLowerCase();
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Ue(e, t, r);
|
|
130
127
|
}
|
|
131
|
-
function
|
|
128
|
+
function Qt(e) {
|
|
132
129
|
return Array.from(e.childNodes);
|
|
133
130
|
}
|
|
134
|
-
function
|
|
131
|
+
function mi(e, t) {
|
|
135
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
136
133
|
t);
|
|
137
134
|
}
|
|
138
|
-
function
|
|
135
|
+
function gi(e, t) {
|
|
139
136
|
e.value = t == null ? "" : t;
|
|
140
137
|
}
|
|
141
|
-
function
|
|
142
|
-
e.classList.toggle(t, !!
|
|
138
|
+
function di(e, t, r) {
|
|
139
|
+
e.classList.toggle(t, !!r);
|
|
143
140
|
}
|
|
144
|
-
|
|
145
|
-
constructor(t = !1) {
|
|
146
|
-
/**
|
|
147
|
-
* @private
|
|
148
|
-
* @default false
|
|
149
|
-
*/
|
|
150
|
-
S(this, "is_svg", !1);
|
|
151
|
-
/** parent for creating node */
|
|
152
|
-
S(this, "e");
|
|
153
|
-
/** html tag nodes */
|
|
154
|
-
S(this, "n");
|
|
155
|
-
/** target */
|
|
156
|
-
S(this, "t");
|
|
157
|
-
/** anchor */
|
|
158
|
-
S(this, "a");
|
|
159
|
-
this.is_svg = t, this.e = this.n = null;
|
|
160
|
-
}
|
|
161
|
-
/**
|
|
162
|
-
* @param {string} html
|
|
163
|
-
* @returns {void}
|
|
164
|
-
*/
|
|
165
|
-
c(t) {
|
|
166
|
-
this.h(t);
|
|
167
|
-
}
|
|
168
|
-
/**
|
|
169
|
-
* @param {string} html
|
|
170
|
-
* @param {HTMLElement | SVGElement} target
|
|
171
|
-
* @param {HTMLElement | SVGElement} anchor
|
|
172
|
-
* @returns {void}
|
|
173
|
-
*/
|
|
174
|
-
m(t, n, r = null) {
|
|
175
|
-
this.e || (this.is_svg ? this.e = Qt(
|
|
176
|
-
/** @type {keyof SVGElementTagNameMap} */
|
|
177
|
-
n.nodeName
|
|
178
|
-
) : this.e = ne(
|
|
179
|
-
/** @type {keyof HTMLElementTagNameMap} */
|
|
180
|
-
n.nodeType === 11 ? "TEMPLATE" : n.nodeName
|
|
181
|
-
), this.t = n.tagName !== "TEMPLATE" ? n : (
|
|
182
|
-
/** @type {HTMLTemplateElement} */
|
|
183
|
-
n.content
|
|
184
|
-
), this.c(t)), this.i(r);
|
|
185
|
-
}
|
|
186
|
-
/**
|
|
187
|
-
* @param {string} html
|
|
188
|
-
* @returns {void}
|
|
189
|
-
*/
|
|
190
|
-
h(t) {
|
|
191
|
-
this.e.innerHTML = t, this.n = Array.from(
|
|
192
|
-
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
|
193
|
-
);
|
|
194
|
-
}
|
|
195
|
-
/**
|
|
196
|
-
* @returns {void} */
|
|
197
|
-
i(t) {
|
|
198
|
-
for (let n = 0; n < this.n.length; n += 1)
|
|
199
|
-
ce(this.t, this.n[n], t);
|
|
200
|
-
}
|
|
201
|
-
/**
|
|
202
|
-
* @param {string} html
|
|
203
|
-
* @returns {void}
|
|
204
|
-
*/
|
|
205
|
-
p(t) {
|
|
206
|
-
this.d(), this.h(t), this.i(this.a);
|
|
207
|
-
}
|
|
208
|
-
/**
|
|
209
|
-
* @returns {void} */
|
|
210
|
-
d() {
|
|
211
|
-
this.n.forEach(te);
|
|
212
|
-
}
|
|
213
|
-
}
|
|
214
|
-
function Jt(e) {
|
|
141
|
+
function qt(e) {
|
|
215
142
|
const t = {};
|
|
216
143
|
return e.childNodes.forEach(
|
|
217
144
|
/** @param {Element} node */
|
|
218
|
-
(
|
|
219
|
-
t[
|
|
145
|
+
(r) => {
|
|
146
|
+
t[r.slot || "default"] = !0;
|
|
220
147
|
}
|
|
221
148
|
), t;
|
|
222
149
|
}
|
|
@@ -224,28 +151,28 @@ let Y;
|
|
|
224
151
|
function J(e) {
|
|
225
152
|
Y = e;
|
|
226
153
|
}
|
|
227
|
-
function
|
|
154
|
+
function Jt() {
|
|
228
155
|
if (!Y)
|
|
229
156
|
throw new Error("Function called outside component initialization");
|
|
230
157
|
return Y;
|
|
231
158
|
}
|
|
232
|
-
function
|
|
233
|
-
|
|
159
|
+
function Yt(e) {
|
|
160
|
+
Jt().$$.on_mount.push(e);
|
|
234
161
|
}
|
|
235
|
-
const G = [],
|
|
162
|
+
const G = [], Te = [];
|
|
236
163
|
let F = [];
|
|
237
164
|
const ze = [], ft = /* @__PURE__ */ Promise.resolve();
|
|
238
|
-
let
|
|
165
|
+
let Se = !1;
|
|
239
166
|
function ct() {
|
|
240
|
-
|
|
167
|
+
Se || (Se = !0, ft.then(H));
|
|
241
168
|
}
|
|
242
|
-
function
|
|
169
|
+
function bi() {
|
|
243
170
|
return ct(), ft;
|
|
244
171
|
}
|
|
245
|
-
function
|
|
172
|
+
function Be(e) {
|
|
246
173
|
F.push(e);
|
|
247
174
|
}
|
|
248
|
-
const
|
|
175
|
+
const pe = /* @__PURE__ */ new Set();
|
|
249
176
|
let U = 0;
|
|
250
177
|
function H() {
|
|
251
178
|
if (U !== 0)
|
|
@@ -255,86 +182,86 @@ function H() {
|
|
|
255
182
|
try {
|
|
256
183
|
for (; U < G.length; ) {
|
|
257
184
|
const t = G[U];
|
|
258
|
-
U++, J(t),
|
|
185
|
+
U++, J(t), Kt(t.$$);
|
|
259
186
|
}
|
|
260
187
|
} catch (t) {
|
|
261
188
|
throw G.length = 0, U = 0, t;
|
|
262
189
|
}
|
|
263
|
-
for (J(null), G.length = 0, U = 0;
|
|
264
|
-
|
|
190
|
+
for (J(null), G.length = 0, U = 0; Te.length; )
|
|
191
|
+
Te.pop()();
|
|
265
192
|
for (let t = 0; t < F.length; t += 1) {
|
|
266
|
-
const
|
|
267
|
-
|
|
193
|
+
const r = F[t];
|
|
194
|
+
pe.has(r) || (pe.add(r), r());
|
|
268
195
|
}
|
|
269
196
|
F.length = 0;
|
|
270
197
|
} while (G.length);
|
|
271
198
|
for (; ze.length; )
|
|
272
199
|
ze.pop()();
|
|
273
|
-
|
|
200
|
+
Se = !1, pe.clear(), J(e);
|
|
274
201
|
}
|
|
275
|
-
function
|
|
202
|
+
function Kt(e) {
|
|
276
203
|
if (e.fragment !== null) {
|
|
277
204
|
e.update(), z(e.before_update);
|
|
278
205
|
const t = e.dirty;
|
|
279
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
206
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
280
207
|
}
|
|
281
208
|
}
|
|
282
|
-
function
|
|
283
|
-
const t = [],
|
|
284
|
-
F.forEach((
|
|
209
|
+
function er(e) {
|
|
210
|
+
const t = [], r = [];
|
|
211
|
+
F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
|
|
285
212
|
}
|
|
286
|
-
const
|
|
213
|
+
const tr = /* @__PURE__ */ new Set();
|
|
287
214
|
function mt(e, t) {
|
|
288
|
-
e && e.i && (
|
|
215
|
+
e && e.i && (tr.delete(e), e.i(t));
|
|
289
216
|
}
|
|
290
|
-
function
|
|
217
|
+
function pi(e) {
|
|
291
218
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
292
219
|
}
|
|
293
|
-
function
|
|
220
|
+
function yi(e, t) {
|
|
294
221
|
e.d(1), t.delete(e.key);
|
|
295
222
|
}
|
|
296
|
-
function
|
|
223
|
+
function Ei(e, t, r, n, i, s, a, u, l, o, h, m) {
|
|
297
224
|
let f = e.length, b = s.length, y = f;
|
|
298
225
|
const _ = {};
|
|
299
226
|
for (; y--; )
|
|
300
227
|
_[e[y].key] = y;
|
|
301
|
-
const T = [],
|
|
228
|
+
const T = [], w = /* @__PURE__ */ new Map(), A = /* @__PURE__ */ new Map(), S = [];
|
|
302
229
|
for (y = b; y--; ) {
|
|
303
|
-
const c = m(i, s, y), L =
|
|
230
|
+
const c = m(i, s, y), L = r(c);
|
|
304
231
|
let C = a.get(L);
|
|
305
|
-
C ?
|
|
232
|
+
C ? S.push(() => C.p(c, t)) : (C = o(L, c), C.c()), w.set(L, T[y] = C), L in _ && A.set(L, Math.abs(y - _[L]));
|
|
306
233
|
}
|
|
307
|
-
const
|
|
234
|
+
const P = /* @__PURE__ */ new Set(), x = /* @__PURE__ */ new Set();
|
|
308
235
|
function I(c) {
|
|
309
236
|
mt(c, 1), c.m(u, h), a.set(c.key, c), h = c.first, b--;
|
|
310
237
|
}
|
|
311
238
|
for (; f && b; ) {
|
|
312
|
-
const c = T[b - 1], L = e[f - 1], C = c.key,
|
|
313
|
-
c === L ? (h = c.first, f--, b--) :
|
|
239
|
+
const c = T[b - 1], L = e[f - 1], C = c.key, te = L.key;
|
|
240
|
+
c === L ? (h = c.first, f--, b--) : w.has(te) ? !a.has(C) || P.has(C) ? I(c) : x.has(te) ? f-- : A.get(C) > A.get(te) ? (x.add(C), I(c)) : (P.add(te), f--) : (l(L, a), f--);
|
|
314
241
|
}
|
|
315
242
|
for (; f--; ) {
|
|
316
243
|
const c = e[f];
|
|
317
|
-
|
|
244
|
+
w.has(c.key) || l(c, a);
|
|
318
245
|
}
|
|
319
246
|
for (; b; )
|
|
320
247
|
I(T[b - 1]);
|
|
321
|
-
return z(
|
|
248
|
+
return z(S), T;
|
|
322
249
|
}
|
|
323
|
-
function
|
|
324
|
-
const { fragment:
|
|
325
|
-
|
|
326
|
-
const s = e.$$.on_mount.map(ot).filter(
|
|
250
|
+
function rr(e, t, r) {
|
|
251
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
+
n && n.m(t, r), Be(() => {
|
|
253
|
+
const s = e.$$.on_mount.map(ot).filter(Re);
|
|
327
254
|
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : z(s), e.$$.on_mount = [];
|
|
328
|
-
}), i.forEach(
|
|
255
|
+
}), i.forEach(Be);
|
|
329
256
|
}
|
|
330
|
-
function
|
|
331
|
-
const
|
|
332
|
-
|
|
257
|
+
function nr(e, t) {
|
|
258
|
+
const r = e.$$;
|
|
259
|
+
r.fragment !== null && (er(r.after_update), z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
333
260
|
}
|
|
334
|
-
function
|
|
261
|
+
function ir(e, t) {
|
|
335
262
|
e.$$.dirty[0] === -1 && (G.push(e), ct(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
336
263
|
}
|
|
337
|
-
function
|
|
264
|
+
function sr(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
338
265
|
const l = Y;
|
|
339
266
|
J(e);
|
|
340
267
|
const o = e.$$ = {
|
|
@@ -342,7 +269,7 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
342
269
|
ctx: [],
|
|
343
270
|
// state
|
|
344
271
|
props: s,
|
|
345
|
-
update:
|
|
272
|
+
update: N,
|
|
346
273
|
not_equal: i,
|
|
347
274
|
bound: Xe(),
|
|
348
275
|
// lifecycle
|
|
@@ -360,54 +287,54 @@ function on(e, t, n, r, i, s, a = null, u = [-1]) {
|
|
|
360
287
|
};
|
|
361
288
|
a && a(o.root);
|
|
362
289
|
let h = !1;
|
|
363
|
-
if (o.ctx =
|
|
290
|
+
if (o.ctx = r ? r(e, t.props || {}, (m, f, ...b) => {
|
|
364
291
|
const y = b.length ? b[0] : f;
|
|
365
|
-
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h &&
|
|
366
|
-
}) : [], o.update(), h = !0, z(o.before_update), o.fragment =
|
|
292
|
+
return o.ctx && i(o.ctx[m], o.ctx[m] = y) && (!o.skip_bound && o.bound[m] && o.bound[m](y), h && ir(e, m)), f;
|
|
293
|
+
}) : [], o.update(), h = !0, z(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
|
|
367
294
|
if (t.hydrate) {
|
|
368
|
-
const m =
|
|
369
|
-
o.fragment && o.fragment.l(m), m.forEach(
|
|
295
|
+
const m = Qt(t.target);
|
|
296
|
+
o.fragment && o.fragment.l(m), m.forEach(he);
|
|
370
297
|
} else
|
|
371
298
|
o.fragment && o.fragment.c();
|
|
372
|
-
t.intro && mt(e.$$.fragment),
|
|
299
|
+
t.intro && mt(e.$$.fragment), rr(e, t.target, t.anchor), H();
|
|
373
300
|
}
|
|
374
301
|
J(l);
|
|
375
302
|
}
|
|
376
303
|
let gt;
|
|
377
304
|
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
378
|
-
constructor(t,
|
|
305
|
+
constructor(t, r, n) {
|
|
379
306
|
super();
|
|
380
307
|
/** The Svelte component constructor */
|
|
381
|
-
|
|
308
|
+
O(this, "$$ctor");
|
|
382
309
|
/** Slots */
|
|
383
|
-
|
|
310
|
+
O(this, "$$s");
|
|
384
311
|
/** The Svelte component instance */
|
|
385
|
-
|
|
312
|
+
O(this, "$$c");
|
|
386
313
|
/** Whether or not the custom element is connected */
|
|
387
|
-
|
|
314
|
+
O(this, "$$cn", !1);
|
|
388
315
|
/** Component props data */
|
|
389
|
-
|
|
316
|
+
O(this, "$$d", {});
|
|
390
317
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
391
|
-
|
|
318
|
+
O(this, "$$r", !1);
|
|
392
319
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
393
|
-
|
|
320
|
+
O(this, "$$p_d", {});
|
|
394
321
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
395
|
-
|
|
322
|
+
O(this, "$$l", {});
|
|
396
323
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
397
|
-
|
|
398
|
-
this.$$ctor = t, this.$$s =
|
|
324
|
+
O(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
325
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
399
326
|
}
|
|
400
|
-
addEventListener(t,
|
|
401
|
-
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(
|
|
402
|
-
const i = this.$$c.$on(t,
|
|
403
|
-
this.$$l_u.set(
|
|
327
|
+
addEventListener(t, r, n) {
|
|
328
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
329
|
+
const i = this.$$c.$on(t, r);
|
|
330
|
+
this.$$l_u.set(r, i);
|
|
404
331
|
}
|
|
405
|
-
super.addEventListener(t,
|
|
332
|
+
super.addEventListener(t, r, n);
|
|
406
333
|
}
|
|
407
|
-
removeEventListener(t,
|
|
408
|
-
if (super.removeEventListener(t,
|
|
409
|
-
const i = this.$$l_u.get(
|
|
410
|
-
i && (i(), this.$$l_u.delete(
|
|
334
|
+
removeEventListener(t, r, n) {
|
|
335
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
336
|
+
const i = this.$$l_u.get(r);
|
|
337
|
+
i && (i(), this.$$l_u.delete(r));
|
|
411
338
|
}
|
|
412
339
|
}
|
|
413
340
|
connectedCallback() {
|
|
@@ -418,36 +345,36 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
418
345
|
let a;
|
|
419
346
|
return {
|
|
420
347
|
c: function() {
|
|
421
|
-
a =
|
|
348
|
+
a = le("slot"), s !== "default" && Ue(a, "name", s);
|
|
422
349
|
},
|
|
423
350
|
/**
|
|
424
351
|
* @param {HTMLElement} target
|
|
425
352
|
* @param {HTMLElement} [anchor]
|
|
426
353
|
*/
|
|
427
354
|
m: function(o, h) {
|
|
428
|
-
|
|
355
|
+
$e(o, a, h);
|
|
429
356
|
},
|
|
430
357
|
d: function(o) {
|
|
431
|
-
o &&
|
|
358
|
+
o && he(a);
|
|
432
359
|
}
|
|
433
360
|
};
|
|
434
361
|
};
|
|
435
362
|
};
|
|
436
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
437
364
|
return;
|
|
438
|
-
const
|
|
365
|
+
const r = {}, n = qt(this);
|
|
439
366
|
for (const s of this.$$s)
|
|
440
|
-
s in
|
|
367
|
+
s in n && (r[s] = [t(s)]);
|
|
441
368
|
for (const s of this.attributes) {
|
|
442
369
|
const a = this.$$g_p(s.name);
|
|
443
|
-
a in this.$$d || (this.$$d[a] =
|
|
370
|
+
a in this.$$d || (this.$$d[a] = ie(a, s.value, this.$$p_d, "toProp"));
|
|
444
371
|
}
|
|
445
372
|
for (const s in this.$$p_d)
|
|
446
373
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
447
374
|
this.$$c = new this.$$ctor({
|
|
448
375
|
target: this.shadowRoot || this,
|
|
449
376
|
props: ke(je({}, this.$$d), {
|
|
450
|
-
$$slots:
|
|
377
|
+
$$slots: r,
|
|
451
378
|
$$scope: {
|
|
452
379
|
ctx: []
|
|
453
380
|
}
|
|
@@ -457,7 +384,7 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
457
384
|
this.$$r = !0;
|
|
458
385
|
for (const s in this.$$p_d)
|
|
459
386
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
460
|
-
const a =
|
|
387
|
+
const a = ie(
|
|
461
388
|
s,
|
|
462
389
|
this.$$d[s],
|
|
463
390
|
this.$$p_d,
|
|
@@ -479,9 +406,9 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
479
406
|
}
|
|
480
407
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
481
408
|
// and setting attributes through setAttribute etc, this is helpful
|
|
482
|
-
attributeChangedCallback(t,
|
|
409
|
+
attributeChangedCallback(t, r, n) {
|
|
483
410
|
var i;
|
|
484
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ie(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
485
412
|
}
|
|
486
413
|
disconnectedCallback() {
|
|
487
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -490,16 +417,16 @@ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
|
490
417
|
}
|
|
491
418
|
$$g_p(t) {
|
|
492
419
|
return Object.keys(this.$$p_d).find(
|
|
493
|
-
(
|
|
420
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
494
421
|
) || t;
|
|
495
422
|
}
|
|
496
423
|
});
|
|
497
|
-
function
|
|
424
|
+
function ie(e, t, r, n) {
|
|
498
425
|
var s;
|
|
499
|
-
const i = (s =
|
|
500
|
-
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !
|
|
426
|
+
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
427
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
501
428
|
return t;
|
|
502
|
-
if (
|
|
429
|
+
if (n === "toAttribute")
|
|
503
430
|
switch (i) {
|
|
504
431
|
case "Object":
|
|
505
432
|
case "Array":
|
|
@@ -524,10 +451,10 @@ function ae(e, t, n, r) {
|
|
|
524
451
|
return t;
|
|
525
452
|
}
|
|
526
453
|
}
|
|
527
|
-
function
|
|
454
|
+
function ar(e, t, r, n, i, s) {
|
|
528
455
|
let a = class extends gt {
|
|
529
456
|
constructor() {
|
|
530
|
-
super(e,
|
|
457
|
+
super(e, r, i), this.$$p_d = t;
|
|
531
458
|
}
|
|
532
459
|
static get observedAttributes() {
|
|
533
460
|
return Object.keys(t).map(
|
|
@@ -542,10 +469,10 @@ function un(e, t, n, r, i, s) {
|
|
|
542
469
|
},
|
|
543
470
|
set(l) {
|
|
544
471
|
var o;
|
|
545
|
-
l =
|
|
472
|
+
l = ie(u, l, t), this.$$d[u] = l, (o = this.$$c) == null || o.$set({ [u]: l });
|
|
546
473
|
}
|
|
547
474
|
});
|
|
548
|
-
}),
|
|
475
|
+
}), n.forEach((u) => {
|
|
549
476
|
Object.defineProperty(a.prototype, u, {
|
|
550
477
|
get() {
|
|
551
478
|
var l;
|
|
@@ -555,7 +482,7 @@ function un(e, t, n, r, i, s) {
|
|
|
555
482
|
}), e.element = /** @type {any} */
|
|
556
483
|
a, a;
|
|
557
484
|
}
|
|
558
|
-
class
|
|
485
|
+
class or {
|
|
559
486
|
constructor() {
|
|
560
487
|
/**
|
|
561
488
|
* ### PRIVATE API
|
|
@@ -564,7 +491,7 @@ class hn {
|
|
|
564
491
|
*
|
|
565
492
|
* @type {any}
|
|
566
493
|
*/
|
|
567
|
-
|
|
494
|
+
O(this, "$$");
|
|
568
495
|
/**
|
|
569
496
|
* ### PRIVATE API
|
|
570
497
|
*
|
|
@@ -572,11 +499,11 @@ class hn {
|
|
|
572
499
|
*
|
|
573
500
|
* @type {any}
|
|
574
501
|
*/
|
|
575
|
-
|
|
502
|
+
O(this, "$$set");
|
|
576
503
|
}
|
|
577
504
|
/** @returns {void} */
|
|
578
505
|
$destroy() {
|
|
579
|
-
|
|
506
|
+
nr(this, 1), this.$destroy = N;
|
|
580
507
|
}
|
|
581
508
|
/**
|
|
582
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -584,13 +511,13 @@ class hn {
|
|
|
584
511
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
585
512
|
* @returns {() => void}
|
|
586
513
|
*/
|
|
587
|
-
$on(t,
|
|
588
|
-
if (!
|
|
589
|
-
return
|
|
590
|
-
const
|
|
591
|
-
return
|
|
592
|
-
const i =
|
|
593
|
-
i !== -1 &&
|
|
514
|
+
$on(t, r) {
|
|
515
|
+
if (!Re(r))
|
|
516
|
+
return N;
|
|
517
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
|
+
return n.push(r), () => {
|
|
519
|
+
const i = n.indexOf(r);
|
|
520
|
+
i !== -1 && n.splice(i, 1);
|
|
594
521
|
};
|
|
595
522
|
}
|
|
596
523
|
/**
|
|
@@ -601,21 +528,21 @@ class hn {
|
|
|
601
528
|
this.$$set && !Vt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
602
529
|
}
|
|
603
530
|
}
|
|
604
|
-
const
|
|
605
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
531
|
+
const ur = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
|
|
606
533
|
const D = [];
|
|
607
|
-
function
|
|
534
|
+
function hr(e, t) {
|
|
608
535
|
return {
|
|
609
|
-
subscribe:
|
|
536
|
+
subscribe: fe(e, t).subscribe
|
|
610
537
|
};
|
|
611
538
|
}
|
|
612
|
-
function
|
|
613
|
-
let
|
|
614
|
-
const
|
|
539
|
+
function fe(e, t = N) {
|
|
540
|
+
let r;
|
|
541
|
+
const n = /* @__PURE__ */ new Set();
|
|
615
542
|
function i(u) {
|
|
616
|
-
if (ut(e, u) && (e = u,
|
|
543
|
+
if (ut(e, u) && (e = u, r)) {
|
|
617
544
|
const l = !D.length;
|
|
618
|
-
for (const o of
|
|
545
|
+
for (const o of n)
|
|
619
546
|
o[1](), D.push(o, e);
|
|
620
547
|
if (l) {
|
|
621
548
|
for (let o = 0; o < D.length; o += 2)
|
|
@@ -627,29 +554,29 @@ function me(e, t = O) {
|
|
|
627
554
|
function s(u) {
|
|
628
555
|
i(u(e));
|
|
629
556
|
}
|
|
630
|
-
function a(u, l =
|
|
557
|
+
function a(u, l = N) {
|
|
631
558
|
const o = [u, l];
|
|
632
|
-
return
|
|
633
|
-
|
|
559
|
+
return n.add(o), n.size === 1 && (r = t(i, s) || N), u(e), () => {
|
|
560
|
+
n.delete(o), n.size === 0 && r && (r(), r = null);
|
|
634
561
|
};
|
|
635
562
|
}
|
|
636
563
|
return { set: i, update: s, subscribe: a };
|
|
637
564
|
}
|
|
638
|
-
function W(e, t,
|
|
639
|
-
const
|
|
565
|
+
function W(e, t, r) {
|
|
566
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
640
567
|
if (!i.every(Boolean))
|
|
641
568
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
642
569
|
const s = t.length < 2;
|
|
643
|
-
return
|
|
570
|
+
return hr(r, (a, u) => {
|
|
644
571
|
let l = !1;
|
|
645
572
|
const o = [];
|
|
646
|
-
let h = 0, m =
|
|
573
|
+
let h = 0, m = N;
|
|
647
574
|
const f = () => {
|
|
648
575
|
if (h)
|
|
649
576
|
return;
|
|
650
577
|
m();
|
|
651
|
-
const y = t(
|
|
652
|
-
s ? a(y) : m =
|
|
578
|
+
const y = t(n ? o[0] : o, a, u);
|
|
579
|
+
s ? a(y) : m = Re(y) ? y : N;
|
|
653
580
|
}, b = i.map(
|
|
654
581
|
(y, _) => ht(
|
|
655
582
|
y,
|
|
@@ -666,80 +593,80 @@ function W(e, t, n) {
|
|
|
666
593
|
};
|
|
667
594
|
});
|
|
668
595
|
}
|
|
669
|
-
function
|
|
596
|
+
function lr(e) {
|
|
670
597
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
671
598
|
}
|
|
672
|
-
var
|
|
673
|
-
return
|
|
599
|
+
var fr = function(t) {
|
|
600
|
+
return cr(t) && !mr(t);
|
|
674
601
|
};
|
|
675
|
-
function
|
|
602
|
+
function cr(e) {
|
|
676
603
|
return !!e && typeof e == "object";
|
|
677
604
|
}
|
|
678
|
-
function
|
|
605
|
+
function mr(e) {
|
|
679
606
|
var t = Object.prototype.toString.call(e);
|
|
680
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
607
|
+
return t === "[object RegExp]" || t === "[object Date]" || br(e);
|
|
681
608
|
}
|
|
682
|
-
var
|
|
683
|
-
function
|
|
684
|
-
return e.$$typeof ===
|
|
609
|
+
var gr = typeof Symbol == "function" && Symbol.for, dr = gr ? Symbol.for("react.element") : 60103;
|
|
610
|
+
function br(e) {
|
|
611
|
+
return e.$$typeof === dr;
|
|
685
612
|
}
|
|
686
|
-
function
|
|
613
|
+
function pr(e) {
|
|
687
614
|
return Array.isArray(e) ? [] : {};
|
|
688
615
|
}
|
|
689
616
|
function K(e, t) {
|
|
690
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? j(
|
|
617
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? j(pr(e), e, t) : e;
|
|
691
618
|
}
|
|
692
|
-
function
|
|
693
|
-
return e.concat(t).map(function(
|
|
694
|
-
return K(
|
|
619
|
+
function yr(e, t, r) {
|
|
620
|
+
return e.concat(t).map(function(n) {
|
|
621
|
+
return K(n, r);
|
|
695
622
|
});
|
|
696
623
|
}
|
|
697
|
-
function
|
|
624
|
+
function Er(e, t) {
|
|
698
625
|
if (!t.customMerge)
|
|
699
626
|
return j;
|
|
700
|
-
var
|
|
701
|
-
return typeof
|
|
627
|
+
var r = t.customMerge(e);
|
|
628
|
+
return typeof r == "function" ? r : j;
|
|
702
629
|
}
|
|
703
|
-
function
|
|
630
|
+
function vr(e) {
|
|
704
631
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
705
632
|
return Object.propertyIsEnumerable.call(e, t);
|
|
706
633
|
}) : [];
|
|
707
634
|
}
|
|
708
635
|
function We(e) {
|
|
709
|
-
return Object.keys(e).concat(
|
|
636
|
+
return Object.keys(e).concat(vr(e));
|
|
710
637
|
}
|
|
711
638
|
function dt(e, t) {
|
|
712
639
|
try {
|
|
713
640
|
return t in e;
|
|
714
|
-
} catch (
|
|
641
|
+
} catch (r) {
|
|
715
642
|
return !1;
|
|
716
643
|
}
|
|
717
644
|
}
|
|
718
|
-
function
|
|
645
|
+
function _r(e, t) {
|
|
719
646
|
return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
720
647
|
}
|
|
721
|
-
function
|
|
722
|
-
var
|
|
723
|
-
return
|
|
724
|
-
|
|
648
|
+
function xr(e, t, r) {
|
|
649
|
+
var n = {};
|
|
650
|
+
return r.isMergeableObject(e) && We(e).forEach(function(i) {
|
|
651
|
+
n[i] = K(e[i], r);
|
|
725
652
|
}), We(t).forEach(function(i) {
|
|
726
|
-
|
|
727
|
-
}),
|
|
653
|
+
_r(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Er(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
|
|
654
|
+
}), n;
|
|
728
655
|
}
|
|
729
|
-
function j(e, t,
|
|
730
|
-
|
|
731
|
-
var
|
|
732
|
-
return s ?
|
|
656
|
+
function j(e, t, r) {
|
|
657
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || yr, r.isMergeableObject = r.isMergeableObject || fr, r.cloneUnlessOtherwiseSpecified = K;
|
|
658
|
+
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
659
|
+
return s ? n ? r.arrayMerge(e, t, r) : xr(e, t, r) : K(t, r);
|
|
733
660
|
}
|
|
734
|
-
j.all = function(t,
|
|
661
|
+
j.all = function(t, r) {
|
|
735
662
|
if (!Array.isArray(t))
|
|
736
663
|
throw new Error("first argument should be an array");
|
|
737
|
-
return t.reduce(function(
|
|
738
|
-
return j(
|
|
664
|
+
return t.reduce(function(n, i) {
|
|
665
|
+
return j(n, i, r);
|
|
739
666
|
}, {});
|
|
740
667
|
};
|
|
741
|
-
var
|
|
742
|
-
const
|
|
668
|
+
var Hr = j, Tr = Hr;
|
|
669
|
+
const Sr = /* @__PURE__ */ lr(Tr);
|
|
743
670
|
/*! *****************************************************************************
|
|
744
671
|
Copyright (c) Microsoft Corporation.
|
|
745
672
|
|
|
@@ -754,67 +681,67 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
754
681
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
755
682
|
PERFORMANCE OF THIS SOFTWARE.
|
|
756
683
|
***************************************************************************** */
|
|
757
|
-
var
|
|
758
|
-
return
|
|
759
|
-
|
|
760
|
-
} || function(
|
|
761
|
-
for (var i in
|
|
762
|
-
Object.prototype.hasOwnProperty.call(
|
|
763
|
-
},
|
|
684
|
+
var Ae = function(e, t) {
|
|
685
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
686
|
+
r.__proto__ = n;
|
|
687
|
+
} || function(r, n) {
|
|
688
|
+
for (var i in n)
|
|
689
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
690
|
+
}, Ae(e, t);
|
|
764
691
|
};
|
|
765
|
-
function
|
|
692
|
+
function ce(e, t) {
|
|
766
693
|
if (typeof t != "function" && t !== null)
|
|
767
694
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
768
|
-
|
|
769
|
-
function
|
|
695
|
+
Ae(e, t);
|
|
696
|
+
function r() {
|
|
770
697
|
this.constructor = e;
|
|
771
698
|
}
|
|
772
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
699
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
773
700
|
}
|
|
774
701
|
var E = function() {
|
|
775
702
|
return E = Object.assign || function(t) {
|
|
776
|
-
for (var
|
|
777
|
-
|
|
778
|
-
for (var s in
|
|
779
|
-
Object.prototype.hasOwnProperty.call(
|
|
703
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
704
|
+
r = arguments[n];
|
|
705
|
+
for (var s in r)
|
|
706
|
+
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
780
707
|
}
|
|
781
708
|
return t;
|
|
782
709
|
}, E.apply(this, arguments);
|
|
783
710
|
};
|
|
784
|
-
function
|
|
785
|
-
var
|
|
786
|
-
for (var
|
|
787
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
711
|
+
function Br(e, t) {
|
|
712
|
+
var r = {};
|
|
713
|
+
for (var n in e)
|
|
714
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
788
715
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
789
|
-
for (var i = 0,
|
|
790
|
-
t.indexOf(
|
|
791
|
-
return
|
|
716
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
717
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
718
|
+
return r;
|
|
792
719
|
}
|
|
793
|
-
function
|
|
794
|
-
var t = typeof Symbol == "function" && Symbol.iterator,
|
|
795
|
-
if (
|
|
796
|
-
return
|
|
720
|
+
function vi(e) {
|
|
721
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
722
|
+
if (r)
|
|
723
|
+
return r.call(e);
|
|
797
724
|
if (e && typeof e.length == "number")
|
|
798
725
|
return {
|
|
799
726
|
next: function() {
|
|
800
|
-
return e &&
|
|
727
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
801
728
|
}
|
|
802
729
|
};
|
|
803
730
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
804
731
|
}
|
|
805
|
-
function
|
|
806
|
-
var
|
|
807
|
-
if (!
|
|
732
|
+
function _i(e, t) {
|
|
733
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
734
|
+
if (!r)
|
|
808
735
|
return e;
|
|
809
|
-
var
|
|
736
|
+
var n = r.call(e), i, s = [], a;
|
|
810
737
|
try {
|
|
811
|
-
for (; (t === void 0 || t-- > 0) && !(i =
|
|
738
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
812
739
|
s.push(i.value);
|
|
813
740
|
} catch (u) {
|
|
814
741
|
a = { error: u };
|
|
815
742
|
} finally {
|
|
816
743
|
try {
|
|
817
|
-
i && !i.done && (
|
|
744
|
+
i && !i.done && (r = n.return) && r.call(n);
|
|
818
745
|
} finally {
|
|
819
746
|
if (a)
|
|
820
747
|
throw a.error;
|
|
@@ -822,43 +749,43 @@ function Hi(e, t) {
|
|
|
822
749
|
}
|
|
823
750
|
return s;
|
|
824
751
|
}
|
|
825
|
-
function
|
|
826
|
-
if (
|
|
827
|
-
for (var
|
|
828
|
-
(s || !(
|
|
752
|
+
function ye(e, t, r) {
|
|
753
|
+
if (r || arguments.length === 2)
|
|
754
|
+
for (var n = 0, i = t.length, s; n < i; n++)
|
|
755
|
+
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
829
756
|
return e.concat(s || t);
|
|
830
757
|
}
|
|
831
|
-
function
|
|
832
|
-
var
|
|
758
|
+
function Ee(e, t) {
|
|
759
|
+
var r = t && t.cache ? t.cache : Lr, n = t && t.serializer ? t.serializer : Nr, i = t && t.strategy ? t.strategy : Pr;
|
|
833
760
|
return i(e, {
|
|
834
|
-
cache:
|
|
835
|
-
serializer:
|
|
761
|
+
cache: r,
|
|
762
|
+
serializer: n
|
|
836
763
|
});
|
|
837
764
|
}
|
|
838
|
-
function
|
|
765
|
+
function Ar(e) {
|
|
839
766
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
840
767
|
}
|
|
841
|
-
function
|
|
842
|
-
var i =
|
|
843
|
-
return typeof s == "undefined" && (s = e.call(this,
|
|
768
|
+
function wr(e, t, r, n) {
|
|
769
|
+
var i = Ar(n) ? n : r(n), s = t.get(i);
|
|
770
|
+
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
844
771
|
}
|
|
845
|
-
function bt(e, t,
|
|
846
|
-
var
|
|
847
|
-
return typeof s == "undefined" && (s = e.apply(this,
|
|
772
|
+
function bt(e, t, r) {
|
|
773
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
774
|
+
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
848
775
|
}
|
|
849
|
-
function pt(e, t,
|
|
850
|
-
return
|
|
776
|
+
function pt(e, t, r, n, i) {
|
|
777
|
+
return r.bind(t, e, n, i);
|
|
851
778
|
}
|
|
852
|
-
function
|
|
853
|
-
var
|
|
854
|
-
return pt(e, this,
|
|
779
|
+
function Pr(e, t) {
|
|
780
|
+
var r = e.length === 1 ? wr : bt;
|
|
781
|
+
return pt(e, this, r, t.cache.create(), t.serializer);
|
|
855
782
|
}
|
|
856
|
-
function
|
|
783
|
+
function Or(e, t) {
|
|
857
784
|
return pt(e, this, bt, t.cache.create(), t.serializer);
|
|
858
785
|
}
|
|
859
|
-
var
|
|
786
|
+
var Nr = function() {
|
|
860
787
|
return JSON.stringify(arguments);
|
|
861
|
-
},
|
|
788
|
+
}, Ir = (
|
|
862
789
|
/** @class */
|
|
863
790
|
function() {
|
|
864
791
|
function e() {
|
|
@@ -866,16 +793,16 @@ var Ln = function() {
|
|
|
866
793
|
}
|
|
867
794
|
return e.prototype.get = function(t) {
|
|
868
795
|
return this.cache[t];
|
|
869
|
-
}, e.prototype.set = function(t,
|
|
870
|
-
this.cache[t] =
|
|
796
|
+
}, e.prototype.set = function(t, r) {
|
|
797
|
+
this.cache[t] = r;
|
|
871
798
|
}, e;
|
|
872
799
|
}()
|
|
873
|
-
),
|
|
800
|
+
), Lr = {
|
|
874
801
|
create: function() {
|
|
875
|
-
return new
|
|
802
|
+
return new Ir();
|
|
876
803
|
}
|
|
877
|
-
},
|
|
878
|
-
variadic:
|
|
804
|
+
}, ve = {
|
|
805
|
+
variadic: Or
|
|
879
806
|
}, d;
|
|
880
807
|
(function(e) {
|
|
881
808
|
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";
|
|
@@ -891,7 +818,7 @@ var k;
|
|
|
891
818
|
function Ze(e) {
|
|
892
819
|
return e.type === v.literal;
|
|
893
820
|
}
|
|
894
|
-
function
|
|
821
|
+
function Cr(e) {
|
|
895
822
|
return e.type === v.argument;
|
|
896
823
|
}
|
|
897
824
|
function yt(e) {
|
|
@@ -909,7 +836,7 @@ function _t(e) {
|
|
|
909
836
|
function xt(e) {
|
|
910
837
|
return e.type === v.plural;
|
|
911
838
|
}
|
|
912
|
-
function
|
|
839
|
+
function Mr(e) {
|
|
913
840
|
return e.type === v.pound;
|
|
914
841
|
}
|
|
915
842
|
function Ht(e) {
|
|
@@ -918,20 +845,20 @@ function Ht(e) {
|
|
|
918
845
|
function Tt(e) {
|
|
919
846
|
return !!(e && typeof e == "object" && e.type === k.number);
|
|
920
847
|
}
|
|
921
|
-
function
|
|
848
|
+
function we(e) {
|
|
922
849
|
return !!(e && typeof e == "object" && e.type === k.dateTime);
|
|
923
850
|
}
|
|
924
|
-
var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,
|
|
925
|
-
function
|
|
851
|
+
var St = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rr = /(?:[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;
|
|
852
|
+
function $r(e) {
|
|
926
853
|
var t = {};
|
|
927
|
-
return e.replace(
|
|
928
|
-
var
|
|
929
|
-
switch (
|
|
854
|
+
return e.replace(Rr, function(r) {
|
|
855
|
+
var n = r.length;
|
|
856
|
+
switch (r[0]) {
|
|
930
857
|
case "G":
|
|
931
|
-
t.era =
|
|
858
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
932
859
|
break;
|
|
933
860
|
case "y":
|
|
934
|
-
t.year =
|
|
861
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
935
862
|
break;
|
|
936
863
|
case "Y":
|
|
937
864
|
case "u":
|
|
@@ -943,30 +870,30 @@ function Dn(e) {
|
|
|
943
870
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
944
871
|
case "M":
|
|
945
872
|
case "L":
|
|
946
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
873
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
947
874
|
break;
|
|
948
875
|
case "w":
|
|
949
876
|
case "W":
|
|
950
877
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
951
878
|
case "d":
|
|
952
|
-
t.day = ["numeric", "2-digit"][
|
|
879
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
953
880
|
break;
|
|
954
881
|
case "D":
|
|
955
882
|
case "F":
|
|
956
883
|
case "g":
|
|
957
884
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
958
885
|
case "E":
|
|
959
|
-
t.weekday =
|
|
886
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
960
887
|
break;
|
|
961
888
|
case "e":
|
|
962
|
-
if (
|
|
889
|
+
if (n < 4)
|
|
963
890
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
964
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
891
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
965
892
|
break;
|
|
966
893
|
case "c":
|
|
967
|
-
if (
|
|
894
|
+
if (n < 4)
|
|
968
895
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
969
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
896
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
970
897
|
break;
|
|
971
898
|
case "a":
|
|
972
899
|
t.hour12 = !0;
|
|
@@ -975,32 +902,32 @@ function Dn(e) {
|
|
|
975
902
|
case "B":
|
|
976
903
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
977
904
|
case "h":
|
|
978
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
905
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
979
906
|
break;
|
|
980
907
|
case "H":
|
|
981
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
908
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
982
909
|
break;
|
|
983
910
|
case "K":
|
|
984
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
911
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
985
912
|
break;
|
|
986
913
|
case "k":
|
|
987
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
914
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
988
915
|
break;
|
|
989
916
|
case "j":
|
|
990
917
|
case "J":
|
|
991
918
|
case "C":
|
|
992
919
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
993
920
|
case "m":
|
|
994
|
-
t.minute = ["numeric", "2-digit"][
|
|
921
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
995
922
|
break;
|
|
996
923
|
case "s":
|
|
997
|
-
t.second = ["numeric", "2-digit"][
|
|
924
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
998
925
|
break;
|
|
999
926
|
case "S":
|
|
1000
927
|
case "A":
|
|
1001
928
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1002
929
|
case "z":
|
|
1003
|
-
t.timeZoneName =
|
|
930
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1004
931
|
break;
|
|
1005
932
|
case "Z":
|
|
1006
933
|
case "O":
|
|
@@ -1013,14 +940,14 @@ function Dn(e) {
|
|
|
1013
940
|
return "";
|
|
1014
941
|
}), t;
|
|
1015
942
|
}
|
|
1016
|
-
var
|
|
1017
|
-
function
|
|
943
|
+
var Ur = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
944
|
+
function Dr(e) {
|
|
1018
945
|
if (e.length === 0)
|
|
1019
946
|
throw new Error("Number skeleton cannot be empty");
|
|
1020
|
-
for (var t = e.split(
|
|
947
|
+
for (var t = e.split(Ur).filter(function(f) {
|
|
1021
948
|
return f.length > 0;
|
|
1022
|
-
}),
|
|
1023
|
-
var s = i[
|
|
949
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
950
|
+
var s = i[n], a = s.split("/");
|
|
1024
951
|
if (a.length === 0)
|
|
1025
952
|
throw new Error("Invalid number skeleton");
|
|
1026
953
|
for (var u = a[0], l = a.slice(1), o = 0, h = l; o < h.length; o++) {
|
|
@@ -1028,18 +955,18 @@ function Fn(e) {
|
|
|
1028
955
|
if (m.length === 0)
|
|
1029
956
|
throw new Error("Invalid number skeleton");
|
|
1030
957
|
}
|
|
1031
|
-
|
|
958
|
+
r.push({ stem: u, options: l });
|
|
1032
959
|
}
|
|
1033
|
-
return
|
|
960
|
+
return r;
|
|
1034
961
|
}
|
|
1035
|
-
function
|
|
962
|
+
function Gr(e) {
|
|
1036
963
|
return e.replace(/^(.*?)-/, "");
|
|
1037
964
|
}
|
|
1038
|
-
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g,
|
|
965
|
+
var Qe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bt = /^(@+)?(\+|#+)?[rs]?$/g, Fr = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
|
|
1039
966
|
function qe(e) {
|
|
1040
967
|
var t = {};
|
|
1041
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(
|
|
1042
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
968
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bt, function(r, n, i) {
|
|
969
|
+
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)), "";
|
|
1043
970
|
}), t;
|
|
1044
971
|
}
|
|
1045
972
|
function wt(e) {
|
|
@@ -1082,27 +1009,27 @@ function wt(e) {
|
|
|
1082
1009
|
};
|
|
1083
1010
|
}
|
|
1084
1011
|
}
|
|
1085
|
-
function
|
|
1012
|
+
function jr(e) {
|
|
1086
1013
|
var t;
|
|
1087
1014
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1088
1015
|
notation: "engineering"
|
|
1089
1016
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1090
1017
|
notation: "scientific"
|
|
1091
1018
|
}, e = e.slice(1)), t) {
|
|
1092
|
-
var
|
|
1093
|
-
if (
|
|
1019
|
+
var r = e.slice(0, 2);
|
|
1020
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
|
|
1094
1021
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1095
1022
|
t.minimumIntegerDigits = e.length;
|
|
1096
1023
|
}
|
|
1097
1024
|
return t;
|
|
1098
1025
|
}
|
|
1099
1026
|
function Je(e) {
|
|
1100
|
-
var t = {},
|
|
1101
|
-
return
|
|
1027
|
+
var t = {}, r = wt(e);
|
|
1028
|
+
return r || t;
|
|
1102
1029
|
}
|
|
1103
|
-
function
|
|
1104
|
-
for (var t = {},
|
|
1105
|
-
var i = r
|
|
1030
|
+
function kr(e) {
|
|
1031
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1032
|
+
var i = n[r];
|
|
1106
1033
|
switch (i.stem) {
|
|
1107
1034
|
case "percent":
|
|
1108
1035
|
case "%":
|
|
@@ -1124,7 +1051,7 @@ function Xn(e) {
|
|
|
1124
1051
|
continue;
|
|
1125
1052
|
case "measure-unit":
|
|
1126
1053
|
case "unit":
|
|
1127
|
-
t.style = "unit", t.unit =
|
|
1054
|
+
t.style = "unit", t.unit = Gr(i.options[0]);
|
|
1128
1055
|
continue;
|
|
1129
1056
|
case "compact-short":
|
|
1130
1057
|
case "K":
|
|
@@ -1186,7 +1113,7 @@ function Xn(e) {
|
|
|
1186
1113
|
case "integer-width":
|
|
1187
1114
|
if (i.options.length > 1)
|
|
1188
1115
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1189
|
-
i.options[0].replace(
|
|
1116
|
+
i.options[0].replace(Fr, function(l, o, h, m, f, b) {
|
|
1190
1117
|
if (o)
|
|
1191
1118
|
t.minimumIntegerDigits = h.length;
|
|
1192
1119
|
else {
|
|
@@ -1219,12 +1146,12 @@ function Xn(e) {
|
|
|
1219
1146
|
}
|
|
1220
1147
|
var a = wt(i.stem);
|
|
1221
1148
|
a && (t = E(E({}, t), a));
|
|
1222
|
-
var u =
|
|
1149
|
+
var u = jr(i.stem);
|
|
1223
1150
|
u && (t = E(E({}, t), u));
|
|
1224
1151
|
}
|
|
1225
1152
|
return t;
|
|
1226
1153
|
}
|
|
1227
|
-
var
|
|
1154
|
+
var ne = {
|
|
1228
1155
|
"001": [
|
|
1229
1156
|
"H",
|
|
1230
1157
|
"h"
|
|
@@ -2639,23 +2566,23 @@ var se = {
|
|
|
2639
2566
|
"h"
|
|
2640
2567
|
]
|
|
2641
2568
|
};
|
|
2642
|
-
function
|
|
2643
|
-
for (var
|
|
2644
|
-
var i = e.charAt(
|
|
2569
|
+
function Vr(e, t) {
|
|
2570
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
2571
|
+
var i = e.charAt(n);
|
|
2645
2572
|
if (i === "j") {
|
|
2646
|
-
for (var s = 0;
|
|
2647
|
-
s++,
|
|
2648
|
-
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o =
|
|
2573
|
+
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2574
|
+
s++, n++;
|
|
2575
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Xr(t);
|
|
2649
2576
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2650
|
-
|
|
2577
|
+
r += l;
|
|
2651
2578
|
for (; a-- > 0; )
|
|
2652
|
-
|
|
2579
|
+
r = o + r;
|
|
2653
2580
|
} else
|
|
2654
|
-
i === "J" ?
|
|
2581
|
+
i === "J" ? r += "H" : r += i;
|
|
2655
2582
|
}
|
|
2656
|
-
return
|
|
2583
|
+
return r;
|
|
2657
2584
|
}
|
|
2658
|
-
function
|
|
2585
|
+
function Xr(e) {
|
|
2659
2586
|
var t = e.hourCycle;
|
|
2660
2587
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2661
2588
|
e.hourCycles && // @ts-ignore
|
|
@@ -2672,73 +2599,73 @@ function Wn(e) {
|
|
|
2672
2599
|
default:
|
|
2673
2600
|
throw new Error("Invalid hourCycle");
|
|
2674
2601
|
}
|
|
2675
|
-
var
|
|
2676
|
-
|
|
2677
|
-
var i =
|
|
2602
|
+
var r = e.language, n;
|
|
2603
|
+
r !== "root" && (n = e.maximize().region);
|
|
2604
|
+
var i = ne[n || ""] || ne[r || ""] || ne["".concat(r, "-001")] || ne["001"];
|
|
2678
2605
|
return i[0];
|
|
2679
2606
|
}
|
|
2680
|
-
var
|
|
2607
|
+
var _e, zr = new RegExp("^".concat(St.source, "*")), Wr = new RegExp("".concat(St.source, "*$"));
|
|
2681
2608
|
function p(e, t) {
|
|
2682
2609
|
return { start: e, end: t };
|
|
2683
2610
|
}
|
|
2684
|
-
var
|
|
2611
|
+
var Zr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qr = !!String.fromCodePoint, qr = !!Object.fromEntries, Jr = !!String.prototype.codePointAt, Yr = !!String.prototype.trimStart, Kr = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
|
|
2685
2612
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2686
|
-
},
|
|
2613
|
+
}, Pe = !0;
|
|
2687
2614
|
try {
|
|
2688
|
-
var
|
|
2689
|
-
|
|
2615
|
+
var rn = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2616
|
+
Pe = ((_e = rn.exec("a")) === null || _e === void 0 ? void 0 : _e[0]) === "a";
|
|
2690
2617
|
} catch (e) {
|
|
2691
|
-
|
|
2618
|
+
Pe = !1;
|
|
2692
2619
|
}
|
|
2693
|
-
var Ye =
|
|
2620
|
+
var Ye = Zr ? (
|
|
2694
2621
|
// Native
|
|
2695
|
-
function(t,
|
|
2696
|
-
return t.startsWith(
|
|
2622
|
+
function(t, r, n) {
|
|
2623
|
+
return t.startsWith(r, n);
|
|
2697
2624
|
}
|
|
2698
2625
|
) : (
|
|
2699
2626
|
// For IE11
|
|
2700
|
-
function(t,
|
|
2701
|
-
return t.slice(
|
|
2627
|
+
function(t, r, n) {
|
|
2628
|
+
return t.slice(n, n + r.length) === r;
|
|
2702
2629
|
}
|
|
2703
|
-
),
|
|
2630
|
+
), Oe = Qr ? String.fromCodePoint : (
|
|
2704
2631
|
// IE11
|
|
2705
2632
|
function() {
|
|
2706
|
-
for (var t = [],
|
|
2707
|
-
t[
|
|
2708
|
-
for (var
|
|
2633
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2634
|
+
t[r] = arguments[r];
|
|
2635
|
+
for (var n = "", i = t.length, s = 0, a; i > s; ) {
|
|
2709
2636
|
if (a = t[s++], a > 1114111)
|
|
2710
2637
|
throw RangeError(a + " is not a valid code point");
|
|
2711
|
-
|
|
2638
|
+
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
2712
2639
|
}
|
|
2713
|
-
return
|
|
2640
|
+
return n;
|
|
2714
2641
|
}
|
|
2715
2642
|
), Ke = (
|
|
2716
2643
|
// native
|
|
2717
|
-
|
|
2644
|
+
qr ? Object.fromEntries : (
|
|
2718
2645
|
// Ponyfill
|
|
2719
2646
|
function(t) {
|
|
2720
|
-
for (var
|
|
2721
|
-
var s = i[
|
|
2722
|
-
|
|
2647
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2648
|
+
var s = i[n], a = s[0], u = s[1];
|
|
2649
|
+
r[a] = u;
|
|
2723
2650
|
}
|
|
2724
|
-
return
|
|
2651
|
+
return r;
|
|
2725
2652
|
}
|
|
2726
2653
|
)
|
|
2727
|
-
), Pt =
|
|
2654
|
+
), Pt = Jr ? (
|
|
2728
2655
|
// Native
|
|
2729
|
-
function(t,
|
|
2730
|
-
return t.codePointAt(
|
|
2656
|
+
function(t, r) {
|
|
2657
|
+
return t.codePointAt(r);
|
|
2731
2658
|
}
|
|
2732
2659
|
) : (
|
|
2733
2660
|
// IE 11
|
|
2734
|
-
function(t,
|
|
2735
|
-
var
|
|
2736
|
-
if (!(
|
|
2737
|
-
var i = t.charCodeAt(
|
|
2738
|
-
return i < 55296 || i > 56319 ||
|
|
2661
|
+
function(t, r) {
|
|
2662
|
+
var n = t.length;
|
|
2663
|
+
if (!(r < 0 || r >= n)) {
|
|
2664
|
+
var i = t.charCodeAt(r), s;
|
|
2665
|
+
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2739
2666
|
}
|
|
2740
2667
|
}
|
|
2741
|
-
),
|
|
2668
|
+
), nn = Yr ? (
|
|
2742
2669
|
// Native
|
|
2743
2670
|
function(t) {
|
|
2744
2671
|
return t.trimStart();
|
|
@@ -2746,9 +2673,9 @@ var Ye = qn ? (
|
|
|
2746
2673
|
) : (
|
|
2747
2674
|
// Ponyfill
|
|
2748
2675
|
function(t) {
|
|
2749
|
-
return t.replace(
|
|
2676
|
+
return t.replace(zr, "");
|
|
2750
2677
|
}
|
|
2751
|
-
),
|
|
2678
|
+
), sn = Kr ? (
|
|
2752
2679
|
// Native
|
|
2753
2680
|
function(t) {
|
|
2754
2681
|
return t.trimEnd();
|
|
@@ -2756,69 +2683,69 @@ var Ye = qn ? (
|
|
|
2756
2683
|
) : (
|
|
2757
2684
|
// Ponyfill
|
|
2758
2685
|
function(t) {
|
|
2759
|
-
return t.replace(
|
|
2686
|
+
return t.replace(Wr, "");
|
|
2760
2687
|
}
|
|
2761
2688
|
);
|
|
2762
|
-
function
|
|
2689
|
+
function Ot(e, t) {
|
|
2763
2690
|
return new RegExp(e, t);
|
|
2764
2691
|
}
|
|
2765
|
-
var
|
|
2766
|
-
if (
|
|
2767
|
-
var et =
|
|
2768
|
-
|
|
2769
|
-
var
|
|
2770
|
-
et.lastIndex =
|
|
2692
|
+
var Ne;
|
|
2693
|
+
if (Pe) {
|
|
2694
|
+
var et = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2695
|
+
Ne = function(t, r) {
|
|
2696
|
+
var n;
|
|
2697
|
+
et.lastIndex = r;
|
|
2771
2698
|
var i = et.exec(t);
|
|
2772
|
-
return (
|
|
2699
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2773
2700
|
};
|
|
2774
2701
|
} else
|
|
2775
|
-
|
|
2776
|
-
for (var
|
|
2777
|
-
var i = Pt(t,
|
|
2778
|
-
if (i === void 0 ||
|
|
2702
|
+
Ne = function(t, r) {
|
|
2703
|
+
for (var n = []; ; ) {
|
|
2704
|
+
var i = Pt(t, r);
|
|
2705
|
+
if (i === void 0 || Nt(i) || hn(i))
|
|
2779
2706
|
break;
|
|
2780
|
-
|
|
2707
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2781
2708
|
}
|
|
2782
|
-
return
|
|
2709
|
+
return Oe.apply(void 0, n);
|
|
2783
2710
|
};
|
|
2784
|
-
var
|
|
2711
|
+
var an = (
|
|
2785
2712
|
/** @class */
|
|
2786
2713
|
function() {
|
|
2787
|
-
function e(t,
|
|
2788
|
-
|
|
2714
|
+
function e(t, r) {
|
|
2715
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
2789
2716
|
}
|
|
2790
2717
|
return e.prototype.parse = function() {
|
|
2791
2718
|
if (this.offset() !== 0)
|
|
2792
2719
|
throw Error("parser can only be used once");
|
|
2793
2720
|
return this.parseMessage(0, "", !1);
|
|
2794
|
-
}, e.prototype.parseMessage = function(t,
|
|
2721
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2795
2722
|
for (var i = []; !this.isEOF(); ) {
|
|
2796
2723
|
var s = this.char();
|
|
2797
2724
|
if (s === 123) {
|
|
2798
|
-
var a = this.parseArgument(t,
|
|
2725
|
+
var a = this.parseArgument(t, n);
|
|
2799
2726
|
if (a.err)
|
|
2800
2727
|
return a;
|
|
2801
2728
|
i.push(a.val);
|
|
2802
2729
|
} else {
|
|
2803
2730
|
if (s === 125 && t > 0)
|
|
2804
2731
|
break;
|
|
2805
|
-
if (s === 35 && (
|
|
2732
|
+
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2806
2733
|
var u = this.clonePosition();
|
|
2807
2734
|
this.bump(), i.push({
|
|
2808
2735
|
type: v.pound,
|
|
2809
2736
|
location: p(u, this.clonePosition())
|
|
2810
2737
|
});
|
|
2811
2738
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2812
|
-
if (
|
|
2739
|
+
if (n)
|
|
2813
2740
|
break;
|
|
2814
2741
|
return this.error(d.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
|
|
2815
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2816
|
-
var a = this.parseTag(t,
|
|
2742
|
+
} else if (s === 60 && !this.ignoreTag && Ie(this.peek() || 0)) {
|
|
2743
|
+
var a = this.parseTag(t, r);
|
|
2817
2744
|
if (a.err)
|
|
2818
2745
|
return a;
|
|
2819
2746
|
i.push(a.val);
|
|
2820
2747
|
} else {
|
|
2821
|
-
var a = this.parseLiteral(t,
|
|
2748
|
+
var a = this.parseLiteral(t, r);
|
|
2822
2749
|
if (a.err)
|
|
2823
2750
|
return a;
|
|
2824
2751
|
i.push(a.val);
|
|
@@ -2826,8 +2753,8 @@ var or = (
|
|
|
2826
2753
|
}
|
|
2827
2754
|
}
|
|
2828
2755
|
return { val: i, err: null };
|
|
2829
|
-
}, e.prototype.parseTag = function(t,
|
|
2830
|
-
var
|
|
2756
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
2757
|
+
var n = this.clonePosition();
|
|
2831
2758
|
this.bump();
|
|
2832
2759
|
var i = this.parseTagName();
|
|
2833
2760
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
@@ -2835,17 +2762,17 @@ var or = (
|
|
|
2835
2762
|
val: {
|
|
2836
2763
|
type: v.literal,
|
|
2837
2764
|
value: "<".concat(i, "/>"),
|
|
2838
|
-
location: p(
|
|
2765
|
+
location: p(n, this.clonePosition())
|
|
2839
2766
|
},
|
|
2840
2767
|
err: null
|
|
2841
2768
|
};
|
|
2842
2769
|
if (this.bumpIf(">")) {
|
|
2843
|
-
var s = this.parseMessage(t + 1,
|
|
2770
|
+
var s = this.parseMessage(t + 1, r, !0);
|
|
2844
2771
|
if (s.err)
|
|
2845
2772
|
return s;
|
|
2846
2773
|
var a = s.val, u = this.clonePosition();
|
|
2847
2774
|
if (this.bumpIf("</")) {
|
|
2848
|
-
if (this.isEOF() || !
|
|
2775
|
+
if (this.isEOF() || !Ie(this.char()))
|
|
2849
2776
|
return this.error(d.INVALID_TAG, p(u, this.clonePosition()));
|
|
2850
2777
|
var l = this.clonePosition(), o = this.parseTagName();
|
|
2851
2778
|
return i !== o ? this.error(d.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -2853,27 +2780,27 @@ var or = (
|
|
|
2853
2780
|
type: v.tag,
|
|
2854
2781
|
value: i,
|
|
2855
2782
|
children: a,
|
|
2856
|
-
location: p(
|
|
2783
|
+
location: p(n, this.clonePosition())
|
|
2857
2784
|
},
|
|
2858
2785
|
err: null
|
|
2859
2786
|
} : this.error(d.INVALID_TAG, p(u, this.clonePosition())));
|
|
2860
2787
|
} else
|
|
2861
|
-
return this.error(d.UNCLOSED_TAG, p(
|
|
2788
|
+
return this.error(d.UNCLOSED_TAG, p(n, this.clonePosition()));
|
|
2862
2789
|
} else
|
|
2863
|
-
return this.error(d.INVALID_TAG, p(
|
|
2790
|
+
return this.error(d.INVALID_TAG, p(n, this.clonePosition()));
|
|
2864
2791
|
}, e.prototype.parseTagName = function() {
|
|
2865
2792
|
var t = this.offset();
|
|
2866
|
-
for (this.bump(); !this.isEOF() &&
|
|
2793
|
+
for (this.bump(); !this.isEOF() && un(this.char()); )
|
|
2867
2794
|
this.bump();
|
|
2868
2795
|
return this.message.slice(t, this.offset());
|
|
2869
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2870
|
-
for (var
|
|
2871
|
-
var s = this.tryParseQuote(
|
|
2796
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
2797
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2798
|
+
var s = this.tryParseQuote(r);
|
|
2872
2799
|
if (s) {
|
|
2873
2800
|
i += s;
|
|
2874
2801
|
continue;
|
|
2875
2802
|
}
|
|
2876
|
-
var a = this.tryParseUnquoted(t,
|
|
2803
|
+
var a = this.tryParseUnquoted(t, r);
|
|
2877
2804
|
if (a) {
|
|
2878
2805
|
i += a;
|
|
2879
2806
|
continue;
|
|
@@ -2885,14 +2812,14 @@ var or = (
|
|
|
2885
2812
|
}
|
|
2886
2813
|
break;
|
|
2887
2814
|
}
|
|
2888
|
-
var l = p(
|
|
2815
|
+
var l = p(n, this.clonePosition());
|
|
2889
2816
|
return {
|
|
2890
2817
|
val: { type: v.literal, value: i, location: l },
|
|
2891
2818
|
err: null
|
|
2892
2819
|
};
|
|
2893
2820
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2894
2821
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2895
|
-
!
|
|
2822
|
+
!on(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2896
2823
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2897
2824
|
if (this.isEOF() || this.char() !== 39)
|
|
2898
2825
|
return null;
|
|
@@ -2912,37 +2839,37 @@ var or = (
|
|
|
2912
2839
|
return null;
|
|
2913
2840
|
}
|
|
2914
2841
|
this.bump();
|
|
2915
|
-
var
|
|
2842
|
+
var r = [this.char()];
|
|
2916
2843
|
for (this.bump(); !this.isEOF(); ) {
|
|
2917
|
-
var
|
|
2918
|
-
if (
|
|
2844
|
+
var n = this.char();
|
|
2845
|
+
if (n === 39)
|
|
2919
2846
|
if (this.peek() === 39)
|
|
2920
|
-
|
|
2847
|
+
r.push(39), this.bump();
|
|
2921
2848
|
else {
|
|
2922
2849
|
this.bump();
|
|
2923
2850
|
break;
|
|
2924
2851
|
}
|
|
2925
2852
|
else
|
|
2926
|
-
|
|
2853
|
+
r.push(n);
|
|
2927
2854
|
this.bump();
|
|
2928
2855
|
}
|
|
2929
|
-
return
|
|
2930
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2856
|
+
return Oe.apply(void 0, r);
|
|
2857
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2931
2858
|
if (this.isEOF())
|
|
2932
2859
|
return null;
|
|
2933
|
-
var
|
|
2934
|
-
return
|
|
2935
|
-
}, e.prototype.parseArgument = function(t,
|
|
2936
|
-
var
|
|
2860
|
+
var n = this.char();
|
|
2861
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Oe(n));
|
|
2862
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
2863
|
+
var n = this.clonePosition();
|
|
2937
2864
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2938
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2865
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2939
2866
|
if (this.char() === 125)
|
|
2940
|
-
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(
|
|
2867
|
+
return this.bump(), this.error(d.EMPTY_ARGUMENT, p(n, this.clonePosition()));
|
|
2941
2868
|
var i = this.parseIdentifierIfPossible().value;
|
|
2942
2869
|
if (!i)
|
|
2943
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2870
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2944
2871
|
if (this.bumpSpace(), this.isEOF())
|
|
2945
|
-
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2872
|
+
return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition()));
|
|
2946
2873
|
switch (this.char()) {
|
|
2947
2874
|
case 125:
|
|
2948
2875
|
return this.bump(), {
|
|
@@ -2950,21 +2877,21 @@ var or = (
|
|
|
2950
2877
|
type: v.argument,
|
|
2951
2878
|
// value does not include the opening and closing braces.
|
|
2952
2879
|
value: i,
|
|
2953
|
-
location: p(
|
|
2880
|
+
location: p(n, this.clonePosition())
|
|
2954
2881
|
},
|
|
2955
2882
|
err: null
|
|
2956
2883
|
};
|
|
2957
2884
|
case 44:
|
|
2958
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(
|
|
2885
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2959
2886
|
default:
|
|
2960
|
-
return this.error(d.MALFORMED_ARGUMENT, p(
|
|
2887
|
+
return this.error(d.MALFORMED_ARGUMENT, p(n, this.clonePosition()));
|
|
2961
2888
|
}
|
|
2962
2889
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2963
|
-
var t = this.clonePosition(),
|
|
2890
|
+
var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
|
|
2964
2891
|
this.bumpTo(i);
|
|
2965
2892
|
var s = this.clonePosition(), a = p(t, s);
|
|
2966
|
-
return { value:
|
|
2967
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2893
|
+
return { value: n, location: a };
|
|
2894
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2968
2895
|
var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
2969
2896
|
switch (u) {
|
|
2970
2897
|
case "":
|
|
@@ -2979,7 +2906,7 @@ var or = (
|
|
|
2979
2906
|
var h = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
2980
2907
|
if (m.err)
|
|
2981
2908
|
return m;
|
|
2982
|
-
var f =
|
|
2909
|
+
var f = sn(m.val);
|
|
2983
2910
|
if (f.length === 0)
|
|
2984
2911
|
return this.error(d.EXPECT_ARGUMENT_STYLE, p(this.clonePosition(), this.clonePosition()));
|
|
2985
2912
|
var b = p(h, this.clonePosition());
|
|
@@ -2990,26 +2917,26 @@ var or = (
|
|
|
2990
2917
|
return y;
|
|
2991
2918
|
var _ = p(i, this.clonePosition());
|
|
2992
2919
|
if (o && Ye(o == null ? void 0 : o.style, "::", 0)) {
|
|
2993
|
-
var T =
|
|
2920
|
+
var T = nn(o.style.slice(2));
|
|
2994
2921
|
if (u === "number") {
|
|
2995
2922
|
var m = this.parseNumberSkeletonFromString(T, o.styleLocation);
|
|
2996
2923
|
return m.err ? m : {
|
|
2997
|
-
val: { type: v.number, value:
|
|
2924
|
+
val: { type: v.number, value: n, location: _, style: m.val },
|
|
2998
2925
|
err: null
|
|
2999
2926
|
};
|
|
3000
2927
|
} else {
|
|
3001
2928
|
if (T.length === 0)
|
|
3002
2929
|
return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
|
|
3003
|
-
var
|
|
3004
|
-
this.locale && (
|
|
2930
|
+
var w = T;
|
|
2931
|
+
this.locale && (w = Vr(T, this.locale));
|
|
3005
2932
|
var f = {
|
|
3006
2933
|
type: k.dateTime,
|
|
3007
|
-
pattern:
|
|
2934
|
+
pattern: w,
|
|
3008
2935
|
location: o.styleLocation,
|
|
3009
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3010
|
-
},
|
|
2936
|
+
parsedOptions: this.shouldParseSkeletons ? $r(w) : {}
|
|
2937
|
+
}, A = u === "date" ? v.date : v.time;
|
|
3011
2938
|
return {
|
|
3012
|
-
val: { type:
|
|
2939
|
+
val: { type: A, value: n, location: _, style: f },
|
|
3013
2940
|
err: null
|
|
3014
2941
|
};
|
|
3015
2942
|
}
|
|
@@ -3017,7 +2944,7 @@ var or = (
|
|
|
3017
2944
|
return {
|
|
3018
2945
|
val: {
|
|
3019
2946
|
type: u === "number" ? v.number : u === "date" ? v.date : v.time,
|
|
3020
|
-
value:
|
|
2947
|
+
value: n,
|
|
3021
2948
|
location: _,
|
|
3022
2949
|
style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
|
|
3023
2950
|
},
|
|
@@ -3027,21 +2954,21 @@ var or = (
|
|
|
3027
2954
|
case "plural":
|
|
3028
2955
|
case "selectordinal":
|
|
3029
2956
|
case "select": {
|
|
3030
|
-
var
|
|
2957
|
+
var S = this.clonePosition();
|
|
3031
2958
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3032
|
-
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(
|
|
2959
|
+
return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, p(S, E({}, S)));
|
|
3033
2960
|
this.bumpSpace();
|
|
3034
|
-
var
|
|
3035
|
-
if (u !== "select" &&
|
|
2961
|
+
var P = this.parseIdentifierIfPossible(), x = 0;
|
|
2962
|
+
if (u !== "select" && P.value === "offset") {
|
|
3036
2963
|
if (!this.bumpIf(":"))
|
|
3037
2964
|
return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
|
|
3038
2965
|
this.bumpSpace();
|
|
3039
2966
|
var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3040
2967
|
if (m.err)
|
|
3041
2968
|
return m;
|
|
3042
|
-
this.bumpSpace(),
|
|
2969
|
+
this.bumpSpace(), P = this.parseIdentifierIfPossible(), x = m.val;
|
|
3043
2970
|
}
|
|
3044
|
-
var I = this.tryParsePluralOrSelectOptions(t, u,
|
|
2971
|
+
var I = this.tryParsePluralOrSelectOptions(t, u, r, P);
|
|
3045
2972
|
if (I.err)
|
|
3046
2973
|
return I;
|
|
3047
2974
|
var y = this.tryParseArgumentClose(i);
|
|
@@ -3051,7 +2978,7 @@ var or = (
|
|
|
3051
2978
|
return u === "select" ? {
|
|
3052
2979
|
val: {
|
|
3053
2980
|
type: v.select,
|
|
3054
|
-
value:
|
|
2981
|
+
value: n,
|
|
3055
2982
|
options: Ke(I.val),
|
|
3056
2983
|
location: c
|
|
3057
2984
|
},
|
|
@@ -3059,7 +2986,7 @@ var or = (
|
|
|
3059
2986
|
} : {
|
|
3060
2987
|
val: {
|
|
3061
2988
|
type: v.plural,
|
|
3062
|
-
value:
|
|
2989
|
+
value: n,
|
|
3063
2990
|
options: Ke(I.val),
|
|
3064
2991
|
offset: x,
|
|
3065
2992
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
@@ -3074,9 +3001,9 @@ var or = (
|
|
|
3074
3001
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3075
3002
|
return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3076
3003
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3077
|
-
for (var t = 0,
|
|
3078
|
-
var
|
|
3079
|
-
switch (
|
|
3004
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3005
|
+
var n = this.char();
|
|
3006
|
+
switch (n) {
|
|
3080
3007
|
case 39: {
|
|
3081
3008
|
this.bump();
|
|
3082
3009
|
var i = this.clonePosition();
|
|
@@ -3094,7 +3021,7 @@ var or = (
|
|
|
3094
3021
|
t -= 1;
|
|
3095
3022
|
else
|
|
3096
3023
|
return {
|
|
3097
|
-
val: this.message.slice(
|
|
3024
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3098
3025
|
err: null
|
|
3099
3026
|
};
|
|
3100
3027
|
break;
|
|
@@ -3105,30 +3032,30 @@ var or = (
|
|
|
3105
3032
|
}
|
|
3106
3033
|
}
|
|
3107
3034
|
return {
|
|
3108
|
-
val: this.message.slice(
|
|
3035
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
3109
3036
|
err: null
|
|
3110
3037
|
};
|
|
3111
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
3112
|
-
var
|
|
3038
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3039
|
+
var n = [];
|
|
3113
3040
|
try {
|
|
3114
|
-
|
|
3041
|
+
n = Dr(t);
|
|
3115
3042
|
} catch (i) {
|
|
3116
|
-
return this.error(d.INVALID_NUMBER_SKELETON,
|
|
3043
|
+
return this.error(d.INVALID_NUMBER_SKELETON, r);
|
|
3117
3044
|
}
|
|
3118
3045
|
return {
|
|
3119
3046
|
val: {
|
|
3120
3047
|
type: k.number,
|
|
3121
|
-
tokens:
|
|
3122
|
-
location:
|
|
3123
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3048
|
+
tokens: n,
|
|
3049
|
+
location: r,
|
|
3050
|
+
parsedOptions: this.shouldParseSkeletons ? kr(n) : {}
|
|
3124
3051
|
},
|
|
3125
3052
|
err: null
|
|
3126
3053
|
};
|
|
3127
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
3054
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3128
3055
|
for (var s, a = !1, u = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
|
|
3129
3056
|
if (o.length === 0) {
|
|
3130
3057
|
var m = this.clonePosition();
|
|
3131
|
-
if (
|
|
3058
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
3132
3059
|
var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3133
3060
|
if (f.err)
|
|
3134
3061
|
return f;
|
|
@@ -3137,12 +3064,12 @@ var or = (
|
|
|
3137
3064
|
break;
|
|
3138
3065
|
}
|
|
3139
3066
|
if (l.has(o))
|
|
3140
|
-
return this.error(
|
|
3067
|
+
return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3141
3068
|
o === "other" && (a = !0), this.bumpSpace();
|
|
3142
3069
|
var b = this.clonePosition();
|
|
3143
3070
|
if (!this.bumpIf("{"))
|
|
3144
|
-
return this.error(
|
|
3145
|
-
var y = this.parseMessage(t + 1,
|
|
3071
|
+
return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
|
|
3072
|
+
var y = this.parseMessage(t + 1, r, n);
|
|
3146
3073
|
if (y.err)
|
|
3147
3074
|
return y;
|
|
3148
3075
|
var _ = this.tryParseArgumentClose(b);
|
|
@@ -3156,10 +3083,10 @@ var or = (
|
|
|
3156
3083
|
}
|
|
3157
3084
|
]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
|
|
3158
3085
|
}
|
|
3159
|
-
return u.length === 0 ? this.error(
|
|
3160
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
3161
|
-
var
|
|
3162
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
3086
|
+
return u.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
|
|
3087
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3088
|
+
var n = 1, i = this.clonePosition();
|
|
3089
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3163
3090
|
for (var s = !1, a = 0; !this.isEOF(); ) {
|
|
3164
3091
|
var u = this.char();
|
|
3165
3092
|
if (u >= 48 && u <= 57)
|
|
@@ -3168,7 +3095,7 @@ var or = (
|
|
|
3168
3095
|
break;
|
|
3169
3096
|
}
|
|
3170
3097
|
var l = p(i, this.clonePosition());
|
|
3171
|
-
return s ? (a *=
|
|
3098
|
+
return s ? (a *= n, tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3172
3099
|
}, e.prototype.offset = function() {
|
|
3173
3100
|
return this.position.offset;
|
|
3174
3101
|
}, e.prototype.isEOF = function() {
|
|
@@ -3183,17 +3110,17 @@ var or = (
|
|
|
3183
3110
|
var t = this.position.offset;
|
|
3184
3111
|
if (t >= this.message.length)
|
|
3185
3112
|
throw Error("out of bound");
|
|
3186
|
-
var
|
|
3187
|
-
if (
|
|
3113
|
+
var r = Pt(this.message, t);
|
|
3114
|
+
if (r === void 0)
|
|
3188
3115
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3189
|
-
return
|
|
3190
|
-
}, e.prototype.error = function(t,
|
|
3116
|
+
return r;
|
|
3117
|
+
}, e.prototype.error = function(t, r) {
|
|
3191
3118
|
return {
|
|
3192
3119
|
val: null,
|
|
3193
3120
|
err: {
|
|
3194
3121
|
kind: t,
|
|
3195
3122
|
message: this.message,
|
|
3196
|
-
location:
|
|
3123
|
+
location: r
|
|
3197
3124
|
}
|
|
3198
3125
|
};
|
|
3199
3126
|
}, e.prototype.bump = function() {
|
|
@@ -3203,81 +3130,81 @@ var or = (
|
|
|
3203
3130
|
}
|
|
3204
3131
|
}, e.prototype.bumpIf = function(t) {
|
|
3205
3132
|
if (Ye(this.message, t, this.offset())) {
|
|
3206
|
-
for (var
|
|
3133
|
+
for (var r = 0; r < t.length; r++)
|
|
3207
3134
|
this.bump();
|
|
3208
3135
|
return !0;
|
|
3209
3136
|
}
|
|
3210
3137
|
return !1;
|
|
3211
3138
|
}, e.prototype.bumpUntil = function(t) {
|
|
3212
|
-
var
|
|
3213
|
-
return
|
|
3139
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3140
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3214
3141
|
}, e.prototype.bumpTo = function(t) {
|
|
3215
3142
|
if (this.offset() > t)
|
|
3216
3143
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3217
3144
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
3218
|
-
var
|
|
3219
|
-
if (
|
|
3145
|
+
var r = this.offset();
|
|
3146
|
+
if (r === t)
|
|
3220
3147
|
break;
|
|
3221
|
-
if (
|
|
3148
|
+
if (r > t)
|
|
3222
3149
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3223
3150
|
if (this.bump(), this.isEOF())
|
|
3224
3151
|
break;
|
|
3225
3152
|
}
|
|
3226
3153
|
}, e.prototype.bumpSpace = function() {
|
|
3227
|
-
for (; !this.isEOF() &&
|
|
3154
|
+
for (; !this.isEOF() && Nt(this.char()); )
|
|
3228
3155
|
this.bump();
|
|
3229
3156
|
}, e.prototype.peek = function() {
|
|
3230
3157
|
if (this.isEOF())
|
|
3231
3158
|
return null;
|
|
3232
|
-
var t = this.char(),
|
|
3233
|
-
return
|
|
3159
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3160
|
+
return n != null ? n : null;
|
|
3234
3161
|
}, e;
|
|
3235
3162
|
}()
|
|
3236
3163
|
);
|
|
3237
|
-
function
|
|
3164
|
+
function Ie(e) {
|
|
3238
3165
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3239
3166
|
}
|
|
3240
|
-
function
|
|
3241
|
-
return
|
|
3167
|
+
function on(e) {
|
|
3168
|
+
return Ie(e) || e === 47;
|
|
3242
3169
|
}
|
|
3243
|
-
function
|
|
3170
|
+
function un(e) {
|
|
3244
3171
|
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;
|
|
3245
3172
|
}
|
|
3246
|
-
function
|
|
3173
|
+
function Nt(e) {
|
|
3247
3174
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3248
3175
|
}
|
|
3249
|
-
function
|
|
3176
|
+
function hn(e) {
|
|
3250
3177
|
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;
|
|
3251
3178
|
}
|
|
3252
|
-
function
|
|
3179
|
+
function Le(e) {
|
|
3253
3180
|
e.forEach(function(t) {
|
|
3254
3181
|
if (delete t.location, _t(t) || xt(t))
|
|
3255
|
-
for (var
|
|
3256
|
-
delete t.options[
|
|
3182
|
+
for (var r in t.options)
|
|
3183
|
+
delete t.options[r].location, Le(t.options[r].value);
|
|
3257
3184
|
else
|
|
3258
|
-
yt(t) && Tt(t.style) || (Et(t) || vt(t)) &&
|
|
3185
|
+
yt(t) && Tt(t.style) || (Et(t) || vt(t)) && we(t.style) ? delete t.style.location : Ht(t) && Le(t.children);
|
|
3259
3186
|
});
|
|
3260
3187
|
}
|
|
3261
|
-
function
|
|
3188
|
+
function ln(e, t) {
|
|
3262
3189
|
t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3263
|
-
var
|
|
3264
|
-
if (
|
|
3265
|
-
var
|
|
3266
|
-
throw
|
|
3190
|
+
var r = new an(e, t).parse();
|
|
3191
|
+
if (r.err) {
|
|
3192
|
+
var n = SyntaxError(d[r.err.kind]);
|
|
3193
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3267
3194
|
}
|
|
3268
|
-
return t != null && t.captureLocation ||
|
|
3195
|
+
return t != null && t.captureLocation || Le(r.val), r.val;
|
|
3269
3196
|
}
|
|
3270
3197
|
var V;
|
|
3271
3198
|
(function(e) {
|
|
3272
3199
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3273
3200
|
})(V || (V = {}));
|
|
3274
|
-
var
|
|
3201
|
+
var me = (
|
|
3275
3202
|
/** @class */
|
|
3276
3203
|
function(e) {
|
|
3277
|
-
|
|
3278
|
-
function t(
|
|
3279
|
-
var s = e.call(this,
|
|
3280
|
-
return s.code =
|
|
3204
|
+
ce(t, e);
|
|
3205
|
+
function t(r, n, i) {
|
|
3206
|
+
var s = e.call(this, r) || this;
|
|
3207
|
+
return s.code = n, s.originalMessage = i, s;
|
|
3281
3208
|
}
|
|
3282
3209
|
return t.prototype.toString = function() {
|
|
3283
3210
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
@@ -3286,48 +3213,48 @@ var de = (
|
|
|
3286
3213
|
), tt = (
|
|
3287
3214
|
/** @class */
|
|
3288
3215
|
function(e) {
|
|
3289
|
-
|
|
3290
|
-
function t(
|
|
3291
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
3216
|
+
ce(t, e);
|
|
3217
|
+
function t(r, n, i, s) {
|
|
3218
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
|
|
3292
3219
|
}
|
|
3293
3220
|
return t;
|
|
3294
|
-
}(
|
|
3295
|
-
),
|
|
3221
|
+
}(me)
|
|
3222
|
+
), fn = (
|
|
3296
3223
|
/** @class */
|
|
3297
3224
|
function(e) {
|
|
3298
|
-
|
|
3299
|
-
function t(
|
|
3300
|
-
return e.call(this, 'Value for "'.concat(
|
|
3225
|
+
ce(t, e);
|
|
3226
|
+
function t(r, n, i) {
|
|
3227
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
|
|
3301
3228
|
}
|
|
3302
3229
|
return t;
|
|
3303
|
-
}(
|
|
3304
|
-
),
|
|
3230
|
+
}(me)
|
|
3231
|
+
), cn = (
|
|
3305
3232
|
/** @class */
|
|
3306
3233
|
function(e) {
|
|
3307
|
-
|
|
3308
|
-
function t(
|
|
3309
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
3234
|
+
ce(t, e);
|
|
3235
|
+
function t(r, n) {
|
|
3236
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
|
|
3310
3237
|
}
|
|
3311
3238
|
return t;
|
|
3312
|
-
}(
|
|
3313
|
-
),
|
|
3239
|
+
}(me)
|
|
3240
|
+
), B;
|
|
3314
3241
|
(function(e) {
|
|
3315
3242
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3316
|
-
})(
|
|
3317
|
-
function
|
|
3318
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
3319
|
-
var
|
|
3320
|
-
return !
|
|
3243
|
+
})(B || (B = {}));
|
|
3244
|
+
function mn(e) {
|
|
3245
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3246
|
+
var n = t[t.length - 1];
|
|
3247
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3321
3248
|
}, []);
|
|
3322
3249
|
}
|
|
3323
|
-
function
|
|
3250
|
+
function gn(e) {
|
|
3324
3251
|
return typeof e == "function";
|
|
3325
3252
|
}
|
|
3326
|
-
function
|
|
3253
|
+
function se(e, t, r, n, i, s, a) {
|
|
3327
3254
|
if (e.length === 1 && Ze(e[0]))
|
|
3328
3255
|
return [
|
|
3329
3256
|
{
|
|
3330
|
-
type:
|
|
3257
|
+
type: B.literal,
|
|
3331
3258
|
value: e[0].value
|
|
3332
3259
|
}
|
|
3333
3260
|
];
|
|
@@ -3335,153 +3262,153 @@ function oe(e, t, n, r, i, s, a) {
|
|
|
3335
3262
|
var h = o[l];
|
|
3336
3263
|
if (Ze(h)) {
|
|
3337
3264
|
u.push({
|
|
3338
|
-
type:
|
|
3265
|
+
type: B.literal,
|
|
3339
3266
|
value: h.value
|
|
3340
3267
|
});
|
|
3341
3268
|
continue;
|
|
3342
3269
|
}
|
|
3343
|
-
if (
|
|
3270
|
+
if (Mr(h)) {
|
|
3344
3271
|
typeof s == "number" && u.push({
|
|
3345
|
-
type:
|
|
3346
|
-
value:
|
|
3272
|
+
type: B.literal,
|
|
3273
|
+
value: r.getNumberFormat(t).format(s)
|
|
3347
3274
|
});
|
|
3348
3275
|
continue;
|
|
3349
3276
|
}
|
|
3350
3277
|
var m = h.value;
|
|
3351
3278
|
if (!(i && m in i))
|
|
3352
|
-
throw new
|
|
3279
|
+
throw new cn(m, a);
|
|
3353
3280
|
var f = i[m];
|
|
3354
|
-
if (
|
|
3281
|
+
if (Cr(h)) {
|
|
3355
3282
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), u.push({
|
|
3356
|
-
type: typeof f == "string" ?
|
|
3283
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3357
3284
|
value: f
|
|
3358
3285
|
});
|
|
3359
3286
|
continue;
|
|
3360
3287
|
}
|
|
3361
3288
|
if (Et(h)) {
|
|
3362
|
-
var b = typeof h.style == "string" ?
|
|
3289
|
+
var b = typeof h.style == "string" ? n.date[h.style] : we(h.style) ? h.style.parsedOptions : void 0;
|
|
3363
3290
|
u.push({
|
|
3364
|
-
type:
|
|
3365
|
-
value:
|
|
3291
|
+
type: B.literal,
|
|
3292
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3366
3293
|
});
|
|
3367
3294
|
continue;
|
|
3368
3295
|
}
|
|
3369
3296
|
if (vt(h)) {
|
|
3370
|
-
var b = typeof h.style == "string" ?
|
|
3297
|
+
var b = typeof h.style == "string" ? n.time[h.style] : we(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3371
3298
|
u.push({
|
|
3372
|
-
type:
|
|
3373
|
-
value:
|
|
3299
|
+
type: B.literal,
|
|
3300
|
+
value: r.getDateTimeFormat(t, b).format(f)
|
|
3374
3301
|
});
|
|
3375
3302
|
continue;
|
|
3376
3303
|
}
|
|
3377
3304
|
if (yt(h)) {
|
|
3378
|
-
var b = typeof h.style == "string" ?
|
|
3305
|
+
var b = typeof h.style == "string" ? n.number[h.style] : Tt(h.style) ? h.style.parsedOptions : void 0;
|
|
3379
3306
|
b && b.scale && (f = f * (b.scale || 1)), u.push({
|
|
3380
|
-
type:
|
|
3381
|
-
value:
|
|
3307
|
+
type: B.literal,
|
|
3308
|
+
value: r.getNumberFormat(t, b).format(f)
|
|
3382
3309
|
});
|
|
3383
3310
|
continue;
|
|
3384
3311
|
}
|
|
3385
3312
|
if (Ht(h)) {
|
|
3386
3313
|
var y = h.children, _ = h.value, T = i[_];
|
|
3387
|
-
if (!
|
|
3388
|
-
throw new
|
|
3389
|
-
var
|
|
3314
|
+
if (!gn(T))
|
|
3315
|
+
throw new fn(_, "function", a);
|
|
3316
|
+
var w = se(y, t, r, n, i, s), A = T(w.map(function(x) {
|
|
3390
3317
|
return x.value;
|
|
3391
3318
|
}));
|
|
3392
|
-
Array.isArray(
|
|
3319
|
+
Array.isArray(A) || (A = [A]), u.push.apply(u, A.map(function(x) {
|
|
3393
3320
|
return {
|
|
3394
|
-
type: typeof x == "string" ?
|
|
3321
|
+
type: typeof x == "string" ? B.literal : B.object,
|
|
3395
3322
|
value: x
|
|
3396
3323
|
};
|
|
3397
3324
|
}));
|
|
3398
3325
|
}
|
|
3399
3326
|
if (_t(h)) {
|
|
3400
|
-
var
|
|
3401
|
-
if (!
|
|
3327
|
+
var S = h.options[f] || h.options.other;
|
|
3328
|
+
if (!S)
|
|
3402
3329
|
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3403
|
-
u.push.apply(u,
|
|
3330
|
+
u.push.apply(u, se(S.value, t, r, n, i));
|
|
3404
3331
|
continue;
|
|
3405
3332
|
}
|
|
3406
3333
|
if (xt(h)) {
|
|
3407
|
-
var
|
|
3408
|
-
if (!
|
|
3334
|
+
var S = h.options["=".concat(f)];
|
|
3335
|
+
if (!S) {
|
|
3409
3336
|
if (!Intl.PluralRules)
|
|
3410
|
-
throw new
|
|
3337
|
+
throw new me(`Intl.PluralRules is not available in this environment.
|
|
3411
3338
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3412
3339
|
`, V.MISSING_INTL_API, a);
|
|
3413
|
-
var
|
|
3414
|
-
|
|
3340
|
+
var P = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
3341
|
+
S = h.options[P] || h.options.other;
|
|
3415
3342
|
}
|
|
3416
|
-
if (!
|
|
3343
|
+
if (!S)
|
|
3417
3344
|
throw new tt(h.value, f, Object.keys(h.options), a);
|
|
3418
|
-
u.push.apply(u,
|
|
3345
|
+
u.push.apply(u, se(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
3419
3346
|
continue;
|
|
3420
3347
|
}
|
|
3421
3348
|
}
|
|
3422
|
-
return
|
|
3349
|
+
return mn(u);
|
|
3423
3350
|
}
|
|
3424
|
-
function
|
|
3425
|
-
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(
|
|
3426
|
-
return n
|
|
3351
|
+
function dn(e, t) {
|
|
3352
|
+
return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3353
|
+
return r[n] = E(E({}, e[n]), t[n] || {}), r;
|
|
3427
3354
|
}, {})) : e;
|
|
3428
3355
|
}
|
|
3429
|
-
function
|
|
3430
|
-
return t ? Object.keys(e).reduce(function(
|
|
3431
|
-
return n
|
|
3356
|
+
function bn(e, t) {
|
|
3357
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3358
|
+
return r[n] = dn(e[n], t[n]), r;
|
|
3432
3359
|
}, E({}, e)) : e;
|
|
3433
3360
|
}
|
|
3434
|
-
function
|
|
3361
|
+
function xe(e) {
|
|
3435
3362
|
return {
|
|
3436
3363
|
create: function() {
|
|
3437
3364
|
return {
|
|
3438
3365
|
get: function(t) {
|
|
3439
3366
|
return e[t];
|
|
3440
3367
|
},
|
|
3441
|
-
set: function(t,
|
|
3442
|
-
e[t] =
|
|
3368
|
+
set: function(t, r) {
|
|
3369
|
+
e[t] = r;
|
|
3443
3370
|
}
|
|
3444
3371
|
};
|
|
3445
3372
|
}
|
|
3446
3373
|
};
|
|
3447
3374
|
}
|
|
3448
|
-
function
|
|
3375
|
+
function pn(e) {
|
|
3449
3376
|
return e === void 0 && (e = {
|
|
3450
3377
|
number: {},
|
|
3451
3378
|
dateTime: {},
|
|
3452
3379
|
pluralRules: {}
|
|
3453
3380
|
}), {
|
|
3454
|
-
getNumberFormat:
|
|
3455
|
-
for (var t,
|
|
3456
|
-
n
|
|
3457
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3381
|
+
getNumberFormat: Ee(function() {
|
|
3382
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3383
|
+
r[n] = arguments[n];
|
|
3384
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3458
3385
|
}, {
|
|
3459
|
-
cache:
|
|
3460
|
-
strategy:
|
|
3386
|
+
cache: xe(e.number),
|
|
3387
|
+
strategy: ve.variadic
|
|
3461
3388
|
}),
|
|
3462
|
-
getDateTimeFormat:
|
|
3463
|
-
for (var t,
|
|
3464
|
-
n
|
|
3465
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3389
|
+
getDateTimeFormat: Ee(function() {
|
|
3390
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3391
|
+
r[n] = arguments[n];
|
|
3392
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, ye([void 0], r, !1)))();
|
|
3466
3393
|
}, {
|
|
3467
|
-
cache:
|
|
3468
|
-
strategy:
|
|
3394
|
+
cache: xe(e.dateTime),
|
|
3395
|
+
strategy: ve.variadic
|
|
3469
3396
|
}),
|
|
3470
|
-
getPluralRules:
|
|
3471
|
-
for (var t,
|
|
3472
|
-
n
|
|
3473
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3397
|
+
getPluralRules: Ee(function() {
|
|
3398
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3399
|
+
r[n] = arguments[n];
|
|
3400
|
+
return new ((t = Intl.PluralRules).bind.apply(t, ye([void 0], r, !1)))();
|
|
3474
3401
|
}, {
|
|
3475
|
-
cache:
|
|
3476
|
-
strategy:
|
|
3402
|
+
cache: xe(e.pluralRules),
|
|
3403
|
+
strategy: ve.variadic
|
|
3477
3404
|
})
|
|
3478
3405
|
};
|
|
3479
3406
|
}
|
|
3480
|
-
var
|
|
3407
|
+
var yn = (
|
|
3481
3408
|
/** @class */
|
|
3482
3409
|
function() {
|
|
3483
|
-
function e(t,
|
|
3484
|
-
|
|
3410
|
+
function e(t, r, n, i) {
|
|
3411
|
+
r === void 0 && (r = e.defaultLocale);
|
|
3485
3412
|
var s = this;
|
|
3486
3413
|
if (this.formatterCache = {
|
|
3487
3414
|
number: {},
|
|
@@ -3492,11 +3419,11 @@ var Er = (
|
|
|
3492
3419
|
if (o.length === 1)
|
|
3493
3420
|
return o[0].value;
|
|
3494
3421
|
var h = o.reduce(function(m, f) {
|
|
3495
|
-
return !m.length || f.type !==
|
|
3422
|
+
return !m.length || f.type !== B.literal || typeof m[m.length - 1] != "string" ? m.push(f.value) : m[m.length - 1] += f.value, m;
|
|
3496
3423
|
}, []);
|
|
3497
3424
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3498
3425
|
}, this.formatToParts = function(l) {
|
|
3499
|
-
return
|
|
3426
|
+
return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
|
|
3500
3427
|
}, this.resolvedOptions = function() {
|
|
3501
3428
|
var l;
|
|
3502
3429
|
return {
|
|
@@ -3504,18 +3431,18 @@ var Er = (
|
|
|
3504
3431
|
};
|
|
3505
3432
|
}, this.getAst = function() {
|
|
3506
3433
|
return s.ast;
|
|
3507
|
-
}, this.locales =
|
|
3434
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
3508
3435
|
if (this.message = t, !e.__parse)
|
|
3509
3436
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3510
3437
|
var a = i || {};
|
|
3511
3438
|
a.formatters;
|
|
3512
|
-
var u =
|
|
3439
|
+
var u = Br(a, ["formatters"]);
|
|
3513
3440
|
this.ast = e.__parse(t, E(E({}, u), { locale: this.resolvedLocale }));
|
|
3514
3441
|
} else
|
|
3515
3442
|
this.ast = t;
|
|
3516
3443
|
if (!Array.isArray(this.ast))
|
|
3517
3444
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3518
|
-
this.formats =
|
|
3445
|
+
this.formats = bn(e.formats, n), this.formatters = i && i.formatters || pn(this.formatterCache);
|
|
3519
3446
|
}
|
|
3520
3447
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3521
3448
|
get: function() {
|
|
@@ -3525,10 +3452,10 @@ var Er = (
|
|
|
3525
3452
|
configurable: !0
|
|
3526
3453
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3527
3454
|
if (typeof Intl.Locale != "undefined") {
|
|
3528
|
-
var
|
|
3529
|
-
return
|
|
3455
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3456
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3530
3457
|
}
|
|
3531
|
-
}, e.__parse =
|
|
3458
|
+
}, e.__parse = ln, e.formats = {
|
|
3532
3459
|
number: {
|
|
3533
3460
|
integer: {
|
|
3534
3461
|
maximumFractionDigits: 0
|
|
@@ -3589,113 +3516,113 @@ var Er = (
|
|
|
3589
3516
|
}, e;
|
|
3590
3517
|
}()
|
|
3591
3518
|
);
|
|
3592
|
-
function
|
|
3519
|
+
function En(e, t) {
|
|
3593
3520
|
if (t == null)
|
|
3594
3521
|
return;
|
|
3595
3522
|
if (t in e)
|
|
3596
3523
|
return e[t];
|
|
3597
|
-
const
|
|
3598
|
-
let
|
|
3599
|
-
for (let i = 0; i <
|
|
3600
|
-
if (typeof
|
|
3524
|
+
const r = t.split(".");
|
|
3525
|
+
let n = e;
|
|
3526
|
+
for (let i = 0; i < r.length; i++)
|
|
3527
|
+
if (typeof n == "object") {
|
|
3601
3528
|
if (i > 0) {
|
|
3602
|
-
const s =
|
|
3603
|
-
if (s in
|
|
3604
|
-
|
|
3529
|
+
const s = r.slice(i, r.length).join(".");
|
|
3530
|
+
if (s in n) {
|
|
3531
|
+
n = n[s];
|
|
3605
3532
|
break;
|
|
3606
3533
|
}
|
|
3607
3534
|
}
|
|
3608
|
-
|
|
3535
|
+
n = n[r[i]];
|
|
3609
3536
|
} else
|
|
3610
|
-
|
|
3611
|
-
return
|
|
3537
|
+
n = void 0;
|
|
3538
|
+
return n;
|
|
3612
3539
|
}
|
|
3613
|
-
const M = {},
|
|
3540
|
+
const M = {}, vn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), It = (e, t) => {
|
|
3614
3541
|
if (t == null)
|
|
3615
3542
|
return;
|
|
3616
3543
|
if (t in M && e in M[t])
|
|
3617
3544
|
return M[t][e];
|
|
3618
|
-
const
|
|
3619
|
-
for (let
|
|
3620
|
-
const i = n
|
|
3545
|
+
const r = ge(t);
|
|
3546
|
+
for (let n = 0; n < r.length; n++) {
|
|
3547
|
+
const i = r[n], s = xn(i, e);
|
|
3621
3548
|
if (s)
|
|
3622
|
-
return
|
|
3549
|
+
return vn(e, t, s);
|
|
3623
3550
|
}
|
|
3624
3551
|
};
|
|
3625
3552
|
let De;
|
|
3626
|
-
const Z =
|
|
3627
|
-
function
|
|
3553
|
+
const Z = fe({});
|
|
3554
|
+
function _n(e) {
|
|
3628
3555
|
return De[e] || null;
|
|
3629
3556
|
}
|
|
3630
3557
|
function Lt(e) {
|
|
3631
3558
|
return e in De;
|
|
3632
3559
|
}
|
|
3633
|
-
function
|
|
3560
|
+
function xn(e, t) {
|
|
3634
3561
|
if (!Lt(e))
|
|
3635
3562
|
return null;
|
|
3636
|
-
const
|
|
3637
|
-
return
|
|
3563
|
+
const r = _n(e);
|
|
3564
|
+
return En(r, t);
|
|
3638
3565
|
}
|
|
3639
|
-
function
|
|
3566
|
+
function Hn(e) {
|
|
3640
3567
|
if (e == null)
|
|
3641
3568
|
return;
|
|
3642
|
-
const t =
|
|
3643
|
-
for (let
|
|
3644
|
-
const
|
|
3645
|
-
if (Lt(
|
|
3646
|
-
return
|
|
3569
|
+
const t = ge(e);
|
|
3570
|
+
for (let r = 0; r < t.length; r++) {
|
|
3571
|
+
const n = t[r];
|
|
3572
|
+
if (Lt(n))
|
|
3573
|
+
return n;
|
|
3647
3574
|
}
|
|
3648
3575
|
}
|
|
3649
|
-
function
|
|
3650
|
-
delete M[e], Z.update((
|
|
3576
|
+
function Tn(e, ...t) {
|
|
3577
|
+
delete M[e], Z.update((r) => (r[e] = Sr.all([r[e] || {}, ...t]), r));
|
|
3651
3578
|
}
|
|
3652
3579
|
W(
|
|
3653
3580
|
[Z],
|
|
3654
3581
|
([e]) => Object.keys(e)
|
|
3655
3582
|
);
|
|
3656
3583
|
Z.subscribe((e) => De = e);
|
|
3657
|
-
const
|
|
3658
|
-
function
|
|
3659
|
-
|
|
3584
|
+
const ae = {};
|
|
3585
|
+
function Sn(e, t) {
|
|
3586
|
+
ae[e].delete(t), ae[e].size === 0 && delete ae[e];
|
|
3660
3587
|
}
|
|
3661
3588
|
function Ct(e) {
|
|
3662
|
-
return
|
|
3589
|
+
return ae[e];
|
|
3663
3590
|
}
|
|
3664
|
-
function
|
|
3665
|
-
return
|
|
3666
|
-
const
|
|
3667
|
-
return [t,
|
|
3591
|
+
function Bn(e) {
|
|
3592
|
+
return ge(e).map((t) => {
|
|
3593
|
+
const r = Ct(t);
|
|
3594
|
+
return [t, r ? [...r] : []];
|
|
3668
3595
|
}).filter(([, t]) => t.length > 0);
|
|
3669
3596
|
}
|
|
3670
|
-
function
|
|
3671
|
-
return e == null ? !1 :
|
|
3597
|
+
function Ce(e) {
|
|
3598
|
+
return e == null ? !1 : ge(e).some(
|
|
3672
3599
|
(t) => {
|
|
3673
|
-
var
|
|
3674
|
-
return (
|
|
3600
|
+
var r;
|
|
3601
|
+
return (r = Ct(t)) == null ? void 0 : r.size;
|
|
3675
3602
|
}
|
|
3676
3603
|
);
|
|
3677
3604
|
}
|
|
3678
|
-
function
|
|
3605
|
+
function An(e, t) {
|
|
3679
3606
|
return Promise.all(
|
|
3680
|
-
t.map((
|
|
3681
|
-
).then((
|
|
3607
|
+
t.map((n) => (Sn(e, n), n().then((i) => i.default || i)))
|
|
3608
|
+
).then((n) => Tn(e, ...n));
|
|
3682
3609
|
}
|
|
3683
3610
|
const q = {};
|
|
3684
3611
|
function Mt(e) {
|
|
3685
|
-
if (!
|
|
3612
|
+
if (!Ce(e))
|
|
3686
3613
|
return e in q ? q[e] : Promise.resolve();
|
|
3687
|
-
const t =
|
|
3614
|
+
const t = Bn(e);
|
|
3688
3615
|
return q[e] = Promise.all(
|
|
3689
3616
|
t.map(
|
|
3690
|
-
([
|
|
3617
|
+
([r, n]) => An(r, n)
|
|
3691
3618
|
)
|
|
3692
3619
|
).then(() => {
|
|
3693
|
-
if (
|
|
3620
|
+
if (Ce(e))
|
|
3694
3621
|
return Mt(e);
|
|
3695
3622
|
delete q[e];
|
|
3696
3623
|
}), q[e];
|
|
3697
3624
|
}
|
|
3698
|
-
const
|
|
3625
|
+
const wn = {
|
|
3699
3626
|
number: {
|
|
3700
3627
|
scientific: { notation: "scientific" },
|
|
3701
3628
|
engineering: { notation: "engineering" },
|
|
@@ -3724,136 +3651,136 @@ const Pr = {
|
|
|
3724
3651
|
timeZoneName: "short"
|
|
3725
3652
|
}
|
|
3726
3653
|
}
|
|
3727
|
-
},
|
|
3654
|
+
}, Pn = {
|
|
3728
3655
|
fallbackLocale: null,
|
|
3729
3656
|
loadingDelay: 200,
|
|
3730
|
-
formats:
|
|
3657
|
+
formats: wn,
|
|
3731
3658
|
warnOnMissingMessages: !0,
|
|
3732
3659
|
handleMissingMessage: void 0,
|
|
3733
3660
|
ignoreTag: !0
|
|
3734
|
-
},
|
|
3661
|
+
}, On = Pn;
|
|
3735
3662
|
function X() {
|
|
3736
|
-
return
|
|
3737
|
-
}
|
|
3738
|
-
const
|
|
3739
|
-
var
|
|
3740
|
-
for (var
|
|
3741
|
-
|
|
3742
|
-
if (
|
|
3743
|
-
for (var
|
|
3744
|
-
|
|
3663
|
+
return On;
|
|
3664
|
+
}
|
|
3665
|
+
const He = fe(!1);
|
|
3666
|
+
var Nn = Object.defineProperty, In = Object.defineProperties, Ln = Object.getOwnPropertyDescriptors, rt = Object.getOwnPropertySymbols, Cn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable, nt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
|
|
3667
|
+
for (var r in t || (t = {}))
|
|
3668
|
+
Cn.call(t, r) && nt(e, r, t[r]);
|
|
3669
|
+
if (rt)
|
|
3670
|
+
for (var r of rt(t))
|
|
3671
|
+
Mn.call(t, r) && nt(e, r, t[r]);
|
|
3745
3672
|
return e;
|
|
3746
|
-
},
|
|
3747
|
-
let
|
|
3748
|
-
const
|
|
3673
|
+
}, $n = (e, t) => In(e, Ln(t));
|
|
3674
|
+
let Me;
|
|
3675
|
+
const oe = fe(null);
|
|
3749
3676
|
function it(e) {
|
|
3750
|
-
return e.split("-").map((t,
|
|
3677
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3751
3678
|
}
|
|
3752
|
-
function
|
|
3753
|
-
const
|
|
3754
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3679
|
+
function ge(e, t = X().fallbackLocale) {
|
|
3680
|
+
const r = it(e);
|
|
3681
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...it(t)])] : r;
|
|
3755
3682
|
}
|
|
3756
3683
|
function $() {
|
|
3757
|
-
return
|
|
3684
|
+
return Me != null ? Me : void 0;
|
|
3758
3685
|
}
|
|
3759
|
-
|
|
3760
|
-
|
|
3686
|
+
oe.subscribe((e) => {
|
|
3687
|
+
Me = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3761
3688
|
});
|
|
3762
|
-
const
|
|
3763
|
-
if (e &&
|
|
3689
|
+
const Un = (e) => {
|
|
3690
|
+
if (e && Hn(e) && Ce(e)) {
|
|
3764
3691
|
const { loadingDelay: t } = X();
|
|
3765
|
-
let
|
|
3766
|
-
return typeof window != "undefined" && $() != null && t ?
|
|
3767
|
-
() =>
|
|
3692
|
+
let r;
|
|
3693
|
+
return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
|
|
3694
|
+
() => He.set(!0),
|
|
3768
3695
|
t
|
|
3769
|
-
) :
|
|
3770
|
-
|
|
3696
|
+
) : He.set(!0), Mt(e).then(() => {
|
|
3697
|
+
oe.set(e);
|
|
3771
3698
|
}).finally(() => {
|
|
3772
|
-
clearTimeout(
|
|
3699
|
+
clearTimeout(r), He.set(!1);
|
|
3773
3700
|
});
|
|
3774
3701
|
}
|
|
3775
|
-
return
|
|
3776
|
-
}, R =
|
|
3777
|
-
set:
|
|
3778
|
-
}),
|
|
3702
|
+
return oe.set(e);
|
|
3703
|
+
}, R = $n(Rn({}, oe), {
|
|
3704
|
+
set: Un
|
|
3705
|
+
}), de = (e) => {
|
|
3779
3706
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3780
|
-
return (
|
|
3781
|
-
const i = JSON.stringify(
|
|
3782
|
-
return i in t ? t[i] : t[i] = e(
|
|
3707
|
+
return (n) => {
|
|
3708
|
+
const i = JSON.stringify(n);
|
|
3709
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
3783
3710
|
};
|
|
3784
3711
|
};
|
|
3785
|
-
var
|
|
3786
|
-
for (var
|
|
3787
|
-
Rt.call(t,
|
|
3788
|
-
if (
|
|
3789
|
-
for (var
|
|
3790
|
-
$t.call(t,
|
|
3712
|
+
var Dn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Rt = Object.prototype.hasOwnProperty, $t = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
|
|
3713
|
+
for (var r in t || (t = {}))
|
|
3714
|
+
Rt.call(t, r) && st(e, r, t[r]);
|
|
3715
|
+
if (ue)
|
|
3716
|
+
for (var r of ue(t))
|
|
3717
|
+
$t.call(t, r) && st(e, r, t[r]);
|
|
3791
3718
|
return e;
|
|
3792
3719
|
}, Q = (e, t) => {
|
|
3793
|
-
var
|
|
3794
|
-
for (var
|
|
3795
|
-
Rt.call(e,
|
|
3796
|
-
if (e != null &&
|
|
3797
|
-
for (var
|
|
3798
|
-
t.indexOf(
|
|
3799
|
-
return
|
|
3720
|
+
var r = {};
|
|
3721
|
+
for (var n in e)
|
|
3722
|
+
Rt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3723
|
+
if (e != null && ue)
|
|
3724
|
+
for (var n of ue(e))
|
|
3725
|
+
t.indexOf(n) < 0 && $t.call(e, n) && (r[n] = e[n]);
|
|
3726
|
+
return r;
|
|
3800
3727
|
};
|
|
3801
3728
|
const ee = (e, t) => {
|
|
3802
|
-
const { formats:
|
|
3803
|
-
if (e in
|
|
3804
|
-
return
|
|
3729
|
+
const { formats: r } = X();
|
|
3730
|
+
if (e in r && t in r[e])
|
|
3731
|
+
return r[e][t];
|
|
3805
3732
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3806
|
-
},
|
|
3733
|
+
}, Gn = de(
|
|
3807
3734
|
(e) => {
|
|
3808
|
-
var t = e, { locale:
|
|
3809
|
-
if (
|
|
3735
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3736
|
+
if (r == null)
|
|
3810
3737
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3811
|
-
return
|
|
3738
|
+
return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
|
|
3812
3739
|
}
|
|
3813
|
-
),
|
|
3740
|
+
), Fn = de(
|
|
3814
3741
|
(e) => {
|
|
3815
|
-
var t = e, { locale:
|
|
3816
|
-
if (
|
|
3742
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3743
|
+
if (r == null)
|
|
3817
3744
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3818
|
-
return
|
|
3745
|
+
return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3819
3746
|
}
|
|
3820
|
-
),
|
|
3747
|
+
), jn = de(
|
|
3821
3748
|
(e) => {
|
|
3822
|
-
var t = e, { locale:
|
|
3823
|
-
if (
|
|
3749
|
+
var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
|
|
3750
|
+
if (r == null)
|
|
3824
3751
|
throw new Error(
|
|
3825
3752
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3826
3753
|
);
|
|
3827
|
-
return
|
|
3754
|
+
return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3828
3755
|
}
|
|
3829
|
-
),
|
|
3756
|
+
), kn = (e = {}) => {
|
|
3830
3757
|
var t = e, {
|
|
3831
|
-
locale:
|
|
3832
|
-
} = t,
|
|
3758
|
+
locale: r = $()
|
|
3759
|
+
} = t, n = Q(t, [
|
|
3833
3760
|
"locale"
|
|
3834
3761
|
]);
|
|
3835
|
-
return
|
|
3836
|
-
},
|
|
3762
|
+
return Gn(Ge({ locale: r }, n));
|
|
3763
|
+
}, Vn = (e = {}) => {
|
|
3837
3764
|
var t = e, {
|
|
3838
|
-
locale:
|
|
3839
|
-
} = t,
|
|
3765
|
+
locale: r = $()
|
|
3766
|
+
} = t, n = Q(t, [
|
|
3840
3767
|
"locale"
|
|
3841
3768
|
]);
|
|
3842
|
-
return
|
|
3843
|
-
},
|
|
3769
|
+
return Fn(Ge({ locale: r }, n));
|
|
3770
|
+
}, Xn = (e = {}) => {
|
|
3844
3771
|
var t = e, {
|
|
3845
|
-
locale:
|
|
3846
|
-
} = t,
|
|
3772
|
+
locale: r = $()
|
|
3773
|
+
} = t, n = Q(t, [
|
|
3847
3774
|
"locale"
|
|
3848
3775
|
]);
|
|
3849
|
-
return
|
|
3850
|
-
},
|
|
3776
|
+
return jn(Ge({ locale: r }, n));
|
|
3777
|
+
}, zn = de(
|
|
3851
3778
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3852
|
-
(e, t = $()) => new
|
|
3779
|
+
(e, t = $()) => new yn(e, t, X().formats, {
|
|
3853
3780
|
ignoreTag: X().ignoreTag
|
|
3854
3781
|
})
|
|
3855
|
-
),
|
|
3856
|
-
var
|
|
3782
|
+
), Wn = (e, t = {}) => {
|
|
3783
|
+
var r, n, i, s;
|
|
3857
3784
|
let a = t;
|
|
3858
3785
|
typeof e == "object" && (a = e, e = a.id);
|
|
3859
3786
|
const {
|
|
@@ -3867,7 +3794,7 @@ const ee = (e, t) => {
|
|
|
3867
3794
|
);
|
|
3868
3795
|
let h = It(e, l);
|
|
3869
3796
|
if (!h)
|
|
3870
|
-
h = (s = (i = (
|
|
3797
|
+
h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3871
3798
|
else if (typeof h != "string")
|
|
3872
3799
|
return console.warn(
|
|
3873
3800
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -3876,7 +3803,7 @@ const ee = (e, t) => {
|
|
|
3876
3803
|
return h;
|
|
3877
3804
|
let m = h;
|
|
3878
3805
|
try {
|
|
3879
|
-
m =
|
|
3806
|
+
m = zn(h, l).format(u);
|
|
3880
3807
|
} catch (f) {
|
|
3881
3808
|
f instanceof Error && console.warn(
|
|
3882
3809
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3884,52 +3811,52 @@ const ee = (e, t) => {
|
|
|
3884
3811
|
);
|
|
3885
3812
|
}
|
|
3886
3813
|
return m;
|
|
3887
|
-
},
|
|
3888
|
-
W([R], () =>
|
|
3889
|
-
W([R], () =>
|
|
3890
|
-
W([R], () =>
|
|
3891
|
-
W([R, Z], () =>
|
|
3892
|
-
function
|
|
3893
|
-
R.subscribe((
|
|
3894
|
-
|
|
3814
|
+
}, Zn = (e, t) => Xn(t).format(e), Qn = (e, t) => Vn(t).format(e), qn = (e, t) => kn(t).format(e), Jn = (e, t = $()) => It(e, t), xi = W([R, Z], () => Wn);
|
|
3815
|
+
W([R], () => Zn);
|
|
3816
|
+
W([R], () => Qn);
|
|
3817
|
+
W([R], () => qn);
|
|
3818
|
+
W([R, Z], () => Jn);
|
|
3819
|
+
function Yn({ withLocale: e, translations: t }) {
|
|
3820
|
+
R.subscribe((r) => {
|
|
3821
|
+
r == null && (Z.set(t), R.set(e));
|
|
3895
3822
|
});
|
|
3896
3823
|
}
|
|
3897
|
-
function
|
|
3824
|
+
function Kn(e, t) {
|
|
3898
3825
|
if (e) {
|
|
3899
|
-
const
|
|
3900
|
-
|
|
3826
|
+
const r = document.createElement("style");
|
|
3827
|
+
r.innerHTML = t, e.appendChild(r);
|
|
3901
3828
|
}
|
|
3902
3829
|
}
|
|
3903
|
-
function
|
|
3904
|
-
const
|
|
3905
|
-
fetch(
|
|
3830
|
+
function ei(e, t) {
|
|
3831
|
+
const r = new URL(t);
|
|
3832
|
+
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
3906
3833
|
const i = document.createElement("style");
|
|
3907
|
-
i.innerHTML =
|
|
3908
|
-
}).catch((
|
|
3909
|
-
console.error("There was an error while trying to load client styling from URL",
|
|
3834
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
3835
|
+
}).catch((n) => {
|
|
3836
|
+
console.error("There was an error while trying to load client styling from URL", n);
|
|
3910
3837
|
});
|
|
3911
3838
|
}
|
|
3912
|
-
function
|
|
3839
|
+
function ti(e, t, r) {
|
|
3913
3840
|
if (window.emMessageBus) {
|
|
3914
|
-
const
|
|
3841
|
+
const n = document.createElement("style");
|
|
3915
3842
|
window.emMessageBus.subscribe(t, (i) => {
|
|
3916
|
-
|
|
3843
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
3917
3844
|
});
|
|
3918
3845
|
}
|
|
3919
3846
|
}
|
|
3920
3847
|
if (typeof window != "undefined") {
|
|
3921
3848
|
let e = function(t) {
|
|
3922
|
-
return function(...
|
|
3849
|
+
return function(...r) {
|
|
3923
3850
|
try {
|
|
3924
|
-
return t.apply(this,
|
|
3925
|
-
} catch (
|
|
3926
|
-
if (
|
|
3851
|
+
return t.apply(this, r);
|
|
3852
|
+
} catch (n) {
|
|
3853
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3927
3854
|
return !1;
|
|
3928
|
-
throw
|
|
3855
|
+
throw n;
|
|
3929
3856
|
}
|
|
3930
3857
|
};
|
|
3931
3858
|
};
|
|
3932
|
-
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-
|
|
3859
|
+
customElements.define = e(customElements.define), import("./CasinoGamesCategorySection-Brt4FtjL.js").then(({ default: t }) => {
|
|
3933
3860
|
!customElements.get("casino-games-category-section") && customElements.define("casino-games-category-section", t.element);
|
|
3934
3861
|
});
|
|
3935
3862
|
}
|
|
@@ -3940,7 +3867,7 @@ function at(e) {
|
|
|
3940
3867
|
let t;
|
|
3941
3868
|
return {
|
|
3942
3869
|
c() {
|
|
3943
|
-
t =
|
|
3870
|
+
t = le("casino-games-category-section"), g(
|
|
3944
3871
|
t,
|
|
3945
3872
|
"session",
|
|
3946
3873
|
/*session*/
|
|
@@ -4032,166 +3959,166 @@ function at(e) {
|
|
|
4032
3959
|
e[15]
|
|
4033
3960
|
);
|
|
4034
3961
|
},
|
|
4035
|
-
m(
|
|
4036
|
-
|
|
3962
|
+
m(r, n) {
|
|
3963
|
+
$e(r, t, n);
|
|
4037
3964
|
},
|
|
4038
|
-
p(
|
|
4039
|
-
|
|
3965
|
+
p(r, n) {
|
|
3966
|
+
n & /*session*/
|
|
4040
3967
|
16 && g(
|
|
4041
3968
|
t,
|
|
4042
3969
|
"session",
|
|
4043
3970
|
/*session*/
|
|
4044
|
-
|
|
4045
|
-
),
|
|
3971
|
+
r[4]
|
|
3972
|
+
), n & /*userid*/
|
|
4046
3973
|
32 && g(
|
|
4047
3974
|
t,
|
|
4048
3975
|
"userid",
|
|
4049
3976
|
/*userid*/
|
|
4050
|
-
|
|
4051
|
-
),
|
|
3977
|
+
r[5]
|
|
3978
|
+
), n & /*endpoint*/
|
|
4052
3979
|
1 && g(
|
|
4053
3980
|
t,
|
|
4054
3981
|
"endpoint",
|
|
4055
3982
|
/*endpoint*/
|
|
4056
|
-
|
|
4057
|
-
),
|
|
3983
|
+
r[0]
|
|
3984
|
+
), n & /*datasource*/
|
|
4058
3985
|
2 && g(
|
|
4059
3986
|
t,
|
|
4060
3987
|
"datasource",
|
|
4061
3988
|
/*datasource*/
|
|
4062
|
-
|
|
4063
|
-
),
|
|
3989
|
+
r[1]
|
|
3990
|
+
), n & /*lang*/
|
|
4064
3991
|
8 && g(
|
|
4065
3992
|
t,
|
|
4066
3993
|
"lang",
|
|
4067
3994
|
/*lang*/
|
|
4068
|
-
|
|
4069
|
-
),
|
|
3995
|
+
r[3]
|
|
3996
|
+
), n & /*currency*/
|
|
4070
3997
|
4 && g(
|
|
4071
3998
|
t,
|
|
4072
3999
|
"currency",
|
|
4073
4000
|
/*currency*/
|
|
4074
|
-
|
|
4075
|
-
),
|
|
4001
|
+
r[2]
|
|
4002
|
+
), n & /*favorites*/
|
|
4076
4003
|
16384 && g(
|
|
4077
4004
|
t,
|
|
4078
4005
|
"favorites",
|
|
4079
4006
|
/*favorites*/
|
|
4080
|
-
|
|
4081
|
-
),
|
|
4007
|
+
r[14]
|
|
4008
|
+
), n & /*fetchviaevent*/
|
|
4082
4009
|
65536 && g(
|
|
4083
4010
|
t,
|
|
4084
4011
|
"fetchviaevent",
|
|
4085
4012
|
/*fetchviaevent*/
|
|
4086
|
-
|
|
4087
|
-
),
|
|
4013
|
+
r[16]
|
|
4014
|
+
), n & /*mbsource*/
|
|
4088
4015
|
131072 && g(
|
|
4089
4016
|
t,
|
|
4090
4017
|
"mbsource",
|
|
4091
4018
|
/*mbsource*/
|
|
4092
|
-
|
|
4093
|
-
),
|
|
4019
|
+
r[17]
|
|
4020
|
+
), n & /*showgamename*/
|
|
4094
4021
|
2048 && g(
|
|
4095
4022
|
t,
|
|
4096
4023
|
"showgamename",
|
|
4097
4024
|
/*showgamename*/
|
|
4098
|
-
|
|
4099
|
-
),
|
|
4025
|
+
r[11]
|
|
4026
|
+
), n & /*clientstyling*/
|
|
4100
4027
|
64 && g(
|
|
4101
4028
|
t,
|
|
4102
4029
|
"clientstyling",
|
|
4103
4030
|
/*clientstyling*/
|
|
4104
|
-
|
|
4105
|
-
),
|
|
4031
|
+
r[6]
|
|
4032
|
+
), n & /*clientstylingurl*/
|
|
4106
4033
|
128 && g(
|
|
4107
4034
|
t,
|
|
4108
4035
|
"clientstylingurl",
|
|
4109
4036
|
/*clientstylingurl*/
|
|
4110
|
-
|
|
4111
|
-
),
|
|
4037
|
+
r[7]
|
|
4038
|
+
), n & /*livecasino*/
|
|
4112
4039
|
256 && g(
|
|
4113
4040
|
t,
|
|
4114
4041
|
"livecasino",
|
|
4115
4042
|
/*livecasino*/
|
|
4116
|
-
|
|
4117
|
-
),
|
|
4043
|
+
r[8]
|
|
4044
|
+
), n & /*visiblegames*/
|
|
4118
4045
|
8192 && g(
|
|
4119
4046
|
t,
|
|
4120
4047
|
"visiblegames",
|
|
4121
4048
|
/*visiblegames*/
|
|
4122
|
-
|
|
4123
|
-
),
|
|
4049
|
+
r[13]
|
|
4050
|
+
), n & /*gamepagemodalurl*/
|
|
4124
4051
|
4096 && g(
|
|
4125
4052
|
t,
|
|
4126
4053
|
"gamepagemodalurl",
|
|
4127
4054
|
/*gamepagemodalurl*/
|
|
4128
|
-
|
|
4129
|
-
),
|
|
4055
|
+
r[12]
|
|
4056
|
+
), n & /*integratedgameframedesktop*/
|
|
4130
4057
|
1024 && g(
|
|
4131
4058
|
t,
|
|
4132
4059
|
"integratedgameframedesktop",
|
|
4133
4060
|
/*integratedgameframedesktop*/
|
|
4134
|
-
|
|
4135
|
-
),
|
|
4061
|
+
r[10]
|
|
4062
|
+
), n & /*integratedgameframemobile*/
|
|
4136
4063
|
512 && g(
|
|
4137
4064
|
t,
|
|
4138
4065
|
"integratedgameframemobile",
|
|
4139
4066
|
/*integratedgameframemobile*/
|
|
4140
|
-
|
|
4141
|
-
),
|
|
4067
|
+
r[9]
|
|
4068
|
+
), n & /*casinomygames*/
|
|
4142
4069
|
32768 && g(
|
|
4143
4070
|
t,
|
|
4144
4071
|
"casinomygames",
|
|
4145
4072
|
/*casinomygames*/
|
|
4146
|
-
|
|
4073
|
+
r[15]
|
|
4147
4074
|
);
|
|
4148
4075
|
},
|
|
4149
|
-
d(
|
|
4150
|
-
|
|
4076
|
+
d(r) {
|
|
4077
|
+
r && he(t);
|
|
4151
4078
|
}
|
|
4152
4079
|
};
|
|
4153
4080
|
}
|
|
4154
|
-
function
|
|
4155
|
-
let t,
|
|
4081
|
+
function ni(e) {
|
|
4082
|
+
let t, r = (
|
|
4156
4083
|
/*session*/
|
|
4157
4084
|
e[4] && at(e)
|
|
4158
4085
|
);
|
|
4159
4086
|
return {
|
|
4160
4087
|
c() {
|
|
4161
|
-
t =
|
|
4088
|
+
t = le("div"), r && r.c(), Ue(t, "class", "CasinoFavoritesSectionContainer");
|
|
4162
4089
|
},
|
|
4163
|
-
m(
|
|
4164
|
-
|
|
4090
|
+
m(n, i) {
|
|
4091
|
+
$e(n, t, i), r && r.m(t, null), e[19](t);
|
|
4165
4092
|
},
|
|
4166
|
-
p(
|
|
4093
|
+
p(n, [i]) {
|
|
4167
4094
|
/*session*/
|
|
4168
|
-
|
|
4095
|
+
n[4] ? r ? r.p(n, i) : (r = at(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4169
4096
|
},
|
|
4170
|
-
i:
|
|
4171
|
-
o:
|
|
4172
|
-
d(
|
|
4173
|
-
|
|
4097
|
+
i: N,
|
|
4098
|
+
o: N,
|
|
4099
|
+
d(n) {
|
|
4100
|
+
n && he(t), r && r.d(), e[19](null);
|
|
4174
4101
|
}
|
|
4175
4102
|
};
|
|
4176
4103
|
}
|
|
4177
|
-
function
|
|
4178
|
-
let { endpoint:
|
|
4179
|
-
|
|
4104
|
+
function ii(e, t, r) {
|
|
4105
|
+
let { endpoint: n = "" } = t, { datasource: i = "" } = t, { currency: s = "" } = t, { lang: a = "" } = t, { session: u = "" } = t, { userid: l = "" } = t, { clientstyling: o = "" } = 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;
|
|
4106
|
+
Yn({ withLocale: "en", translations: {} }), Yt(() => () => {
|
|
4180
4107
|
});
|
|
4181
4108
|
function I(c) {
|
|
4182
|
-
|
|
4183
|
-
x = c,
|
|
4109
|
+
Te[c ? "unshift" : "push"](() => {
|
|
4110
|
+
x = c, r(18, x);
|
|
4184
4111
|
});
|
|
4185
4112
|
}
|
|
4186
4113
|
return e.$$set = (c) => {
|
|
4187
|
-
"endpoint" in c &&
|
|
4114
|
+
"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, u = c.session), "userid" in c && r(5, l = c.userid), "clientstyling" in c && r(6, o = 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);
|
|
4188
4115
|
}, e.$$.update = () => {
|
|
4189
4116
|
e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4190
|
-
262208 && o && x &&
|
|
4191
|
-
262272 && h && x &&
|
|
4192
|
-
393216 && x &&
|
|
4117
|
+
262208 && o && x && Kn(x, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4118
|
+
262272 && h && x && ei(x, h), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4119
|
+
393216 && x && ti(x, `${P}.Style`);
|
|
4193
4120
|
}, [
|
|
4194
|
-
|
|
4121
|
+
n,
|
|
4195
4122
|
i,
|
|
4196
4123
|
s,
|
|
4197
4124
|
a,
|
|
@@ -4205,21 +4132,21 @@ function si(e, t, n) {
|
|
|
4205
4132
|
y,
|
|
4206
4133
|
_,
|
|
4207
4134
|
T,
|
|
4208
|
-
P,
|
|
4209
4135
|
w,
|
|
4210
|
-
|
|
4211
|
-
|
|
4136
|
+
A,
|
|
4137
|
+
S,
|
|
4138
|
+
P,
|
|
4212
4139
|
x,
|
|
4213
4140
|
I
|
|
4214
4141
|
];
|
|
4215
4142
|
}
|
|
4216
|
-
class Ut extends
|
|
4143
|
+
class Ut extends or {
|
|
4217
4144
|
constructor(t) {
|
|
4218
|
-
super(),
|
|
4145
|
+
super(), sr(
|
|
4219
4146
|
this,
|
|
4220
4147
|
t,
|
|
4221
|
-
si,
|
|
4222
4148
|
ii,
|
|
4149
|
+
ni,
|
|
4223
4150
|
ut,
|
|
4224
4151
|
{
|
|
4225
4152
|
endpoint: 0,
|
|
@@ -4353,55 +4280,53 @@ class Ut extends hn {
|
|
|
4353
4280
|
this.$$set({ mbsource: t }), H();
|
|
4354
4281
|
}
|
|
4355
4282
|
}
|
|
4356
|
-
|
|
4357
|
-
const
|
|
4283
|
+
ar(Ut, { endpoint: {}, datasource: {}, currency: {}, lang: {}, session: {}, userid: {}, clientstyling: {}, clientstylingurl: {}, livecasino: {}, integratedgameframemobile: {}, integratedgameframedesktop: {}, showgamename: {}, gamepagemodalurl: {}, visiblegames: {}, favorites: {}, casinomygames: {}, fetchviaevent: {}, mbsource: {} }, [], [], !0);
|
|
4284
|
+
const Hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4358
4285
|
__proto__: null,
|
|
4359
4286
|
default: Ut
|
|
4360
4287
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4361
4288
|
export {
|
|
4362
4289
|
R as $,
|
|
4363
|
-
|
|
4364
|
-
|
|
4365
|
-
|
|
4366
|
-
|
|
4367
|
-
|
|
4368
|
-
|
|
4369
|
-
|
|
4370
|
-
|
|
4371
|
-
|
|
4372
|
-
|
|
4373
|
-
|
|
4374
|
-
|
|
4290
|
+
gi as A,
|
|
4291
|
+
ai as B,
|
|
4292
|
+
g as C,
|
|
4293
|
+
Kn as D,
|
|
4294
|
+
ei as E,
|
|
4295
|
+
ti as F,
|
|
4296
|
+
ar as G,
|
|
4297
|
+
xi as H,
|
|
4298
|
+
di as I,
|
|
4299
|
+
bi as J,
|
|
4300
|
+
fi as K,
|
|
4301
|
+
Ei as L,
|
|
4375
4302
|
yi as M,
|
|
4376
|
-
|
|
4377
|
-
|
|
4378
|
-
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
Hi as b,
|
|
4383
|
-
ge as c,
|
|
4303
|
+
Hi as N,
|
|
4304
|
+
or as S,
|
|
4305
|
+
vi as _,
|
|
4306
|
+
ye as a,
|
|
4307
|
+
_i as b,
|
|
4308
|
+
ce as c,
|
|
4384
4309
|
Z as d,
|
|
4385
|
-
|
|
4310
|
+
Tn as e,
|
|
4386
4311
|
H as f,
|
|
4387
4312
|
zt as g,
|
|
4388
|
-
|
|
4389
|
-
|
|
4390
|
-
|
|
4391
|
-
|
|
4392
|
-
|
|
4393
|
-
|
|
4394
|
-
|
|
4395
|
-
|
|
4396
|
-
|
|
4313
|
+
he as h,
|
|
4314
|
+
sr as i,
|
|
4315
|
+
$e as j,
|
|
4316
|
+
le as k,
|
|
4317
|
+
oi as l,
|
|
4318
|
+
Te as m,
|
|
4319
|
+
N as n,
|
|
4320
|
+
Yt as o,
|
|
4321
|
+
mi as p,
|
|
4397
4322
|
Xt as q,
|
|
4398
4323
|
Ue as r,
|
|
4399
4324
|
ut as s,
|
|
4400
4325
|
lt as t,
|
|
4401
|
-
|
|
4402
|
-
|
|
4326
|
+
pi as u,
|
|
4327
|
+
ui as v,
|
|
4403
4328
|
z as w,
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4329
|
+
ci as x,
|
|
4330
|
+
hi as y,
|
|
4331
|
+
li as z
|
|
4407
4332
|
};
|