@everymatrix/casino-last-played-section 1.61.1 → 1.62.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoFilter-Cly4JoGf.js → CasinoFilter-BaHdkFc-.js} +1159 -1032
- package/components/CasinoFilter-BmGWsU7J.cjs +18 -0
- package/components/{CasinoFilter-Ci7a-f1T.js → CasinoFilter-zzTGuKnt.js} +1156 -1029
- package/components/CasinoGameThumbnail-CQi4CL1F.js +4375 -0
- package/components/CasinoGameThumbnail-CTGFT2dX.cjs +47 -0
- package/components/CasinoGameThumbnail-CryQml11.js +4359 -0
- package/components/{CasinoGamesCategorySection-D1m7vSTg.js → CasinoGamesCategorySection-De5SvQzA.js} +1107 -1094
- package/components/CasinoGamesCategorySection-Dqx27JNf.cjs +1 -0
- package/components/{CasinoGamesCategorySection-W8r3v1IL.js → CasinoGamesCategorySection-Odpp_iey.js} +738 -724
- package/components/{CasinoLastPlayedSection-COofH38d.js → CasinoLastPlayedSection-DxDOXIvL.js} +9 -9
- package/components/{CasinoLastPlayedSection-Ca69J8mm.cjs → CasinoLastPlayedSection-E8RmRItt.cjs} +1 -1
- package/components/{CasinoLastPlayedSection-pKFWKcNL.js → CasinoLastPlayedSection-ceiSU0Eu.js} +19 -19
- package/components/{CasinoSort-CMgXH1Wc.js → CasinoSort-BTwDwT8n.js} +20 -20
- package/components/{CasinoSort-CBlvt30N.js → CasinoSort-BqED6YEv.js} +20 -20
- package/components/{CasinoSort-CIIHBeHM.cjs → CasinoSort-Ci8TaT8M.cjs} +1 -1
- package/es2015/casino-last-played-section.cjs +1 -1
- package/es2015/casino-last-played-section.js +1 -1
- package/esnext/casino-last-played-section.js +1 -1
- package/package.json +1 -1
- package/stencil/app-globals-0f993ce5-D-kw1sls.js +5 -0
- package/stencil/app-globals-0f993ce5-sCt45RkC.cjs +1 -0
- package/stencil/index-97d17652-CCalHFFZ.js +558 -0
- package/stencil/index-97d17652-CeszPuI-.cjs +1 -0
- package/stencil/index-97d17652-De_e2iwD.js +542 -0
- package/stencil/ui-image-3911756b-B-U8CxGn.cjs +1 -0
- package/stencil/ui-image-3911756b-C-PJ3oso.js +39 -0
- package/stencil/ui-image-3911756b-D1cmuQAe.js +39 -0
- package/stencil/ui-image-CxLeLi3r.cjs +1 -0
- package/stencil/ui-image-D12cpp7q.js +25 -0
- package/stencil/ui-image-jU_A8Cc1.js +7 -0
- package/stencil/ui-image_2-8wL-gGdE.cjs +73 -0
- package/stencil/{ui-skeleton-6d1c12ae-CKWpp1By.js → ui-image_2-BcBI-Hq7.js} +7 -5
- package/stencil/{ui-skeleton-6d1c12ae-Cy_R_9Cz.js → ui-image_2-CIsvIZfV.js} +7 -5
- package/components/CasinoFilter-C_SogR0R.cjs +0 -18
- package/components/CasinoGameThumbnail-CIM-1O-X.js +0 -3607
- package/components/CasinoGameThumbnail-D4iTX4um.js +0 -3591
- package/components/CasinoGameThumbnail-WTBmzrpR.cjs +0 -39
- package/components/CasinoGamesCategorySection-CWmY-M2p.cjs +0 -1
- package/stencil/app-globals-0f993ce5-BD-Q0C8R.cjs +0 -1
- package/stencil/app-globals-0f993ce5-Cgk0KVAu.js +0 -7
- package/stencil/index-b2193545-B5BzVbnP.cjs +0 -1
- package/stencil/index-b2193545-BranxwW4.js +0 -519
- package/stencil/index-b2193545-D-GB6w--.js +0 -503
- package/stencil/index-b7bbd57e-CQ75dRCG.js +0 -550
- package/stencil/index-b7bbd57e-Cacu08c5.js +0 -534
- package/stencil/index-b7bbd57e-DF6DA3M_.cjs +0 -1
- package/stencil/ui-image-38c3c15f-D8q8WO62.js +0 -39
- package/stencil/ui-image-38c3c15f-DHu3p_Um.cjs +0 -1
- package/stencil/ui-image-38c3c15f-DNKzX83k.js +0 -39
- package/stencil/ui-image-BWdEHrqs.js +0 -11
- package/stencil/ui-image-Cq69wjLL.js +0 -29
- package/stencil/ui-image-hWt-DWaG.cjs +0 -1
- package/stencil/ui-skeleton-6d1c12ae-DXSQpIKe.cjs +0 -73
- package/stencil/ui-skeleton-BMWABShx.js +0 -29
- package/stencil/ui-skeleton-CkUGY95J.js +0 -11
- package/stencil/ui-skeleton-DXc0L06e.cjs +0 -1
@@ -1,17 +1,17 @@
|
|
1
|
-
var
|
2
|
-
var
|
3
|
-
var
|
4
|
-
var
|
5
|
-
var
|
1
|
+
var Vr = Object.defineProperty, Xr = Object.defineProperties;
|
2
|
+
var Wr = Object.getOwnPropertyDescriptors;
|
3
|
+
var Tt = Object.getOwnPropertySymbols;
|
4
|
+
var zr = Object.prototype.hasOwnProperty, Zr = Object.prototype.propertyIsEnumerable;
|
5
|
+
var Ze = (e, t, r) => t in e ? Vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ht = (e, t) => {
|
6
6
|
for (var r in t || (t = {}))
|
7
|
-
|
8
|
-
if (
|
9
|
-
for (var r of
|
10
|
-
|
7
|
+
zr.call(t, r) && Ze(e, r, t[r]);
|
8
|
+
if (Tt)
|
9
|
+
for (var r of Tt(t))
|
10
|
+
Zr.call(t, r) && Ze(e, r, t[r]);
|
11
11
|
return e;
|
12
|
-
},
|
13
|
-
var
|
14
|
-
var
|
12
|
+
}, At = (e, t) => Xr(e, Wr(t));
|
13
|
+
var M = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
|
14
|
+
var Pt = (e, t, r) => new Promise((n, i) => {
|
15
15
|
var o = (u) => {
|
16
16
|
try {
|
17
17
|
a(r.next(u));
|
@@ -27,54 +27,53 @@ var wt = (e, t, r) => new Promise((n, i) => {
|
|
27
27
|
}, a = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, s);
|
28
28
|
a((r = r.apply(e, t)).next());
|
29
29
|
});
|
30
|
-
|
31
|
-
function j() {
|
30
|
+
function k() {
|
32
31
|
}
|
33
|
-
function
|
32
|
+
function ir(e) {
|
34
33
|
return e();
|
35
34
|
}
|
36
|
-
function
|
35
|
+
function Ct() {
|
37
36
|
return /* @__PURE__ */ Object.create(null);
|
38
37
|
}
|
39
38
|
function K(e) {
|
40
|
-
e.forEach(
|
39
|
+
e.forEach(ir);
|
41
40
|
}
|
42
|
-
function
|
41
|
+
function xt(e) {
|
43
42
|
return typeof e == "function";
|
44
43
|
}
|
45
|
-
function
|
44
|
+
function or(e, t) {
|
46
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
47
46
|
}
|
48
|
-
let
|
49
|
-
function
|
50
|
-
return e === t ? !0 : (
|
47
|
+
let Be;
|
48
|
+
function Ft(e, t) {
|
49
|
+
return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
|
51
50
|
}
|
52
|
-
function
|
51
|
+
function Jr(e) {
|
53
52
|
return Object.keys(e).length === 0;
|
54
53
|
}
|
55
|
-
function
|
54
|
+
function sr(e, ...t) {
|
56
55
|
if (e == null) {
|
57
56
|
for (const n of t)
|
58
57
|
n(void 0);
|
59
|
-
return
|
58
|
+
return k;
|
60
59
|
}
|
61
60
|
const r = e.subscribe(...t);
|
62
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
63
62
|
}
|
64
|
-
function
|
65
|
-
e.$$.on_destroy.push(
|
63
|
+
function Qr(e, t, r) {
|
64
|
+
e.$$.on_destroy.push(sr(t, r));
|
66
65
|
}
|
67
66
|
function _(e, t) {
|
68
67
|
e.appendChild(t);
|
69
68
|
}
|
70
|
-
function
|
71
|
-
const n =
|
69
|
+
function qr(e, t, r) {
|
70
|
+
const n = Yr(e);
|
72
71
|
if (!n.getElementById(t)) {
|
73
72
|
const i = C("style");
|
74
|
-
i.id = t, i.textContent = r,
|
73
|
+
i.id = t, i.textContent = r, Kr(n, i);
|
75
74
|
}
|
76
75
|
}
|
77
|
-
function
|
76
|
+
function Yr(e) {
|
78
77
|
if (!e)
|
79
78
|
return document;
|
80
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
@@ -84,62 +83,132 @@ function Wr(e) {
|
|
84
83
|
t
|
85
84
|
) : e.ownerDocument;
|
86
85
|
}
|
87
|
-
function
|
86
|
+
function Kr(e, t) {
|
88
87
|
return _(
|
89
88
|
/** @type {Document} */
|
90
89
|
e.head || e,
|
91
90
|
t
|
92
91
|
), t.sheet;
|
93
92
|
}
|
94
|
-
function
|
93
|
+
function z(e, t, r) {
|
95
94
|
e.insertBefore(t, r || null);
|
96
95
|
}
|
97
|
-
function
|
96
|
+
function j(e) {
|
98
97
|
e.parentNode && e.parentNode.removeChild(e);
|
99
98
|
}
|
100
|
-
function
|
99
|
+
function en(e, t) {
|
101
100
|
for (let r = 0; r < e.length; r += 1)
|
102
101
|
e[r] && e[r].d(t);
|
103
102
|
}
|
104
103
|
function C(e) {
|
105
104
|
return document.createElement(e);
|
106
105
|
}
|
107
|
-
function
|
106
|
+
function Ee(e) {
|
108
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
109
108
|
}
|
110
|
-
function
|
109
|
+
function G(e) {
|
111
110
|
return document.createTextNode(e);
|
112
111
|
}
|
113
112
|
function X() {
|
114
|
-
return
|
113
|
+
return G(" ");
|
115
114
|
}
|
116
|
-
function
|
117
|
-
return
|
115
|
+
function Lo() {
|
116
|
+
return G("");
|
118
117
|
}
|
119
|
-
function
|
118
|
+
function De(e, t, r, n) {
|
120
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
121
120
|
}
|
122
|
-
function
|
121
|
+
function g(e, t, r) {
|
123
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
124
123
|
}
|
125
|
-
function
|
124
|
+
function No(e, t, r) {
|
126
125
|
const n = t.toLowerCase();
|
127
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
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 : g(e, t, r);
|
128
127
|
}
|
129
|
-
function
|
128
|
+
function tn(e) {
|
130
129
|
return Array.from(e.childNodes);
|
131
130
|
}
|
132
131
|
function Y(e, t) {
|
133
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
134
133
|
t);
|
135
134
|
}
|
136
|
-
function
|
135
|
+
function Bt(e, t) {
|
137
136
|
e.value = t == null ? "" : t;
|
138
137
|
}
|
139
|
-
function
|
138
|
+
function Mo(e, t, r) {
|
140
139
|
e.classList.toggle(t, !!r);
|
141
140
|
}
|
142
|
-
|
141
|
+
class Ro {
|
142
|
+
constructor(t = !1) {
|
143
|
+
/**
|
144
|
+
* @private
|
145
|
+
* @default false
|
146
|
+
*/
|
147
|
+
M(this, "is_svg", !1);
|
148
|
+
/** parent for creating node */
|
149
|
+
M(this, "e");
|
150
|
+
/** html tag nodes */
|
151
|
+
M(this, "n");
|
152
|
+
/** target */
|
153
|
+
M(this, "t");
|
154
|
+
/** anchor */
|
155
|
+
M(this, "a");
|
156
|
+
this.is_svg = t, this.e = this.n = null;
|
157
|
+
}
|
158
|
+
/**
|
159
|
+
* @param {string} html
|
160
|
+
* @returns {void}
|
161
|
+
*/
|
162
|
+
c(t) {
|
163
|
+
this.h(t);
|
164
|
+
}
|
165
|
+
/**
|
166
|
+
* @param {string} html
|
167
|
+
* @param {HTMLElement | SVGElement} target
|
168
|
+
* @param {HTMLElement | SVGElement} anchor
|
169
|
+
* @returns {void}
|
170
|
+
*/
|
171
|
+
m(t, r, n = null) {
|
172
|
+
this.e || (this.is_svg ? this.e = Ee(
|
173
|
+
/** @type {keyof SVGElementTagNameMap} */
|
174
|
+
r.nodeName
|
175
|
+
) : this.e = C(
|
176
|
+
/** @type {keyof HTMLElementTagNameMap} */
|
177
|
+
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
178
|
+
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
179
|
+
/** @type {HTMLTemplateElement} */
|
180
|
+
r.content
|
181
|
+
), this.c(t)), this.i(n);
|
182
|
+
}
|
183
|
+
/**
|
184
|
+
* @param {string} html
|
185
|
+
* @returns {void}
|
186
|
+
*/
|
187
|
+
h(t) {
|
188
|
+
this.e.innerHTML = t, this.n = Array.from(
|
189
|
+
this.e.nodeName === "TEMPLATE" ? this.e.content.childNodes : this.e.childNodes
|
190
|
+
);
|
191
|
+
}
|
192
|
+
/**
|
193
|
+
* @returns {void} */
|
194
|
+
i(t) {
|
195
|
+
for (let r = 0; r < this.n.length; r += 1)
|
196
|
+
z(this.t, this.n[r], t);
|
197
|
+
}
|
198
|
+
/**
|
199
|
+
* @param {string} html
|
200
|
+
* @returns {void}
|
201
|
+
*/
|
202
|
+
p(t) {
|
203
|
+
this.d(), this.h(t), this.i(this.a);
|
204
|
+
}
|
205
|
+
/**
|
206
|
+
* @returns {void} */
|
207
|
+
d() {
|
208
|
+
this.n.forEach(j);
|
209
|
+
}
|
210
|
+
}
|
211
|
+
function rn(e) {
|
143
212
|
const t = {};
|
144
213
|
return e.childNodes.forEach(
|
145
214
|
/** @param {Element} node */
|
@@ -152,120 +221,120 @@ let Se;
|
|
152
221
|
function we(e) {
|
153
222
|
Se = e;
|
154
223
|
}
|
155
|
-
function
|
224
|
+
function ar() {
|
156
225
|
if (!Se)
|
157
226
|
throw new Error("Function called outside component initialization");
|
158
227
|
return Se;
|
159
228
|
}
|
160
|
-
function
|
161
|
-
|
229
|
+
function nn(e) {
|
230
|
+
ar().$$.on_mount.push(e);
|
162
231
|
}
|
163
|
-
function
|
164
|
-
|
232
|
+
function Do(e) {
|
233
|
+
ar().$$.on_destroy.push(e);
|
165
234
|
}
|
166
|
-
const
|
167
|
-
let
|
168
|
-
const
|
169
|
-
let
|
170
|
-
function
|
171
|
-
|
235
|
+
const fe = [], nt = [];
|
236
|
+
let pe = [];
|
237
|
+
const Ot = [], lr = /* @__PURE__ */ Promise.resolve();
|
238
|
+
let it = !1;
|
239
|
+
function ur() {
|
240
|
+
it || (it = !0, lr.then($));
|
172
241
|
}
|
173
|
-
function
|
174
|
-
return
|
242
|
+
function $o() {
|
243
|
+
return ur(), lr;
|
175
244
|
}
|
176
|
-
function
|
177
|
-
|
245
|
+
function ot(e) {
|
246
|
+
pe.push(e);
|
178
247
|
}
|
179
|
-
const
|
180
|
-
let
|
248
|
+
const Je = /* @__PURE__ */ new Set();
|
249
|
+
let he = 0;
|
181
250
|
function $() {
|
182
|
-
if (
|
251
|
+
if (he !== 0)
|
183
252
|
return;
|
184
253
|
const e = Se;
|
185
254
|
do {
|
186
255
|
try {
|
187
|
-
for (;
|
188
|
-
const t =
|
189
|
-
|
256
|
+
for (; he < fe.length; ) {
|
257
|
+
const t = fe[he];
|
258
|
+
he++, we(t), on(t.$$);
|
190
259
|
}
|
191
260
|
} catch (t) {
|
192
|
-
throw
|
261
|
+
throw fe.length = 0, he = 0, t;
|
193
262
|
}
|
194
|
-
for (we(null),
|
195
|
-
|
196
|
-
for (let t = 0; t <
|
197
|
-
const r =
|
198
|
-
|
263
|
+
for (we(null), fe.length = 0, he = 0; nt.length; )
|
264
|
+
nt.pop()();
|
265
|
+
for (let t = 0; t < pe.length; t += 1) {
|
266
|
+
const r = pe[t];
|
267
|
+
Je.has(r) || (Je.add(r), r());
|
199
268
|
}
|
200
|
-
|
201
|
-
} while (
|
202
|
-
for (;
|
203
|
-
|
204
|
-
|
269
|
+
pe.length = 0;
|
270
|
+
} while (fe.length);
|
271
|
+
for (; Ot.length; )
|
272
|
+
Ot.pop()();
|
273
|
+
it = !1, Je.clear(), we(e);
|
205
274
|
}
|
206
|
-
function
|
275
|
+
function on(e) {
|
207
276
|
if (e.fragment !== null) {
|
208
277
|
e.update(), K(e.before_update);
|
209
278
|
const t = e.dirty;
|
210
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
279
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
|
211
280
|
}
|
212
281
|
}
|
213
|
-
function
|
282
|
+
function sn(e) {
|
214
283
|
const t = [], r = [];
|
215
|
-
|
284
|
+
pe.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), pe = t;
|
216
285
|
}
|
217
|
-
const
|
218
|
-
function
|
219
|
-
e && e.i && (
|
286
|
+
const an = /* @__PURE__ */ new Set();
|
287
|
+
function hr(e, t) {
|
288
|
+
e && e.i && (an.delete(e), e.i(t));
|
220
289
|
}
|
221
|
-
function
|
290
|
+
function It(e) {
|
222
291
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
223
292
|
}
|
224
|
-
function
|
293
|
+
function Uo(e, t) {
|
225
294
|
e.d(1), t.delete(e.key);
|
226
295
|
}
|
227
|
-
function
|
228
|
-
let c = e.length,
|
229
|
-
const
|
230
|
-
for (;
|
231
|
-
|
232
|
-
const
|
233
|
-
for (
|
234
|
-
const
|
235
|
-
let
|
236
|
-
|
296
|
+
function Go(e, t, r, n, i, o, s, a, u, l, h, p) {
|
297
|
+
let c = e.length, m = o.length, v = c;
|
298
|
+
const y = {};
|
299
|
+
for (; v--; )
|
300
|
+
y[e[v].key] = v;
|
301
|
+
const T = [], H = /* @__PURE__ */ new Map(), S = /* @__PURE__ */ new Map(), b = [];
|
302
|
+
for (v = m; v--; ) {
|
303
|
+
const A = p(i, o, v), P = r(A);
|
304
|
+
let N = s.get(P);
|
305
|
+
N ? b.push(() => N.p(A, t)) : (N = l(P, A), N.c()), H.set(P, T[v] = N), P in y && S.set(P, Math.abs(v - y[P]));
|
237
306
|
}
|
238
|
-
const
|
239
|
-
function R(
|
240
|
-
|
307
|
+
const I = /* @__PURE__ */ new Set(), L = /* @__PURE__ */ new Set();
|
308
|
+
function R(A) {
|
309
|
+
hr(A, 1), A.m(a, h), s.set(A.key, A), h = A.first, m--;
|
241
310
|
}
|
242
|
-
for (; c &&
|
243
|
-
const
|
244
|
-
|
311
|
+
for (; c && m; ) {
|
312
|
+
const A = T[m - 1], P = e[c - 1], N = A.key, Z = P.key;
|
313
|
+
A === P ? (h = A.first, c--, m--) : H.has(Z) ? !s.has(N) || I.has(N) ? R(A) : L.has(Z) ? c-- : S.get(N) > S.get(Z) ? (L.add(N), R(A)) : (I.add(Z), c--) : (u(P, s), c--);
|
245
314
|
}
|
246
315
|
for (; c--; ) {
|
247
|
-
const
|
248
|
-
|
316
|
+
const A = e[c];
|
317
|
+
H.has(A.key) || u(A, s);
|
249
318
|
}
|
250
|
-
for (;
|
251
|
-
R(
|
252
|
-
return K(
|
319
|
+
for (; m; )
|
320
|
+
R(T[m - 1]);
|
321
|
+
return K(b), T;
|
253
322
|
}
|
254
|
-
function
|
323
|
+
function ln(e, t, r) {
|
255
324
|
const { fragment: n, after_update: i } = e.$$;
|
256
|
-
n && n.m(t, r),
|
257
|
-
const o = e.$$.on_mount.map(
|
325
|
+
n && n.m(t, r), ot(() => {
|
326
|
+
const o = e.$$.on_mount.map(ir).filter(xt);
|
258
327
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
259
|
-
}), i.forEach(
|
328
|
+
}), i.forEach(ot);
|
260
329
|
}
|
261
|
-
function
|
330
|
+
function un(e, t) {
|
262
331
|
const r = e.$$;
|
263
|
-
r.fragment !== null && (
|
332
|
+
r.fragment !== null && (sn(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
264
333
|
}
|
265
|
-
function
|
266
|
-
e.$$.dirty[0] === -1 && (
|
334
|
+
function hn(e, t) {
|
335
|
+
e.$$.dirty[0] === -1 && (fe.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
267
336
|
}
|
268
|
-
function
|
337
|
+
function cn(e, t, r, n, i, o, s = null, a = [-1]) {
|
269
338
|
const u = Se;
|
270
339
|
we(e);
|
271
340
|
const l = e.$$ = {
|
@@ -273,9 +342,9 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
273
342
|
ctx: [],
|
274
343
|
// state
|
275
344
|
props: o,
|
276
|
-
update:
|
345
|
+
update: k,
|
277
346
|
not_equal: i,
|
278
|
-
bound:
|
347
|
+
bound: Ct(),
|
279
348
|
// lifecycle
|
280
349
|
on_mount: [],
|
281
350
|
on_destroy: [],
|
@@ -284,48 +353,48 @@ function on(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
284
353
|
after_update: [],
|
285
354
|
context: new Map(t.context || (u ? u.$$.context : [])),
|
286
355
|
// everything else
|
287
|
-
callbacks:
|
356
|
+
callbacks: Ct(),
|
288
357
|
dirty: a,
|
289
358
|
skip_bound: !1,
|
290
359
|
root: t.target || u.$$.root
|
291
360
|
};
|
292
361
|
s && s(l.root);
|
293
362
|
let h = !1;
|
294
|
-
if (l.ctx = r ? r(e, t.props || {}, (
|
295
|
-
const
|
296
|
-
return l.ctx && i(l.ctx[
|
363
|
+
if (l.ctx = r ? r(e, t.props || {}, (p, c, ...m) => {
|
364
|
+
const v = m.length ? m[0] : c;
|
365
|
+
return l.ctx && i(l.ctx[p], l.ctx[p] = v) && (!l.skip_bound && l.bound[p] && l.bound[p](v), h && hn(e, p)), c;
|
297
366
|
}) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
|
298
367
|
if (t.hydrate) {
|
299
|
-
const
|
300
|
-
l.fragment && l.fragment.l(
|
368
|
+
const p = tn(t.target);
|
369
|
+
l.fragment && l.fragment.l(p), p.forEach(j);
|
301
370
|
} else
|
302
371
|
l.fragment && l.fragment.c();
|
303
|
-
t.intro &&
|
372
|
+
t.intro && hr(e.$$.fragment), ln(e, t.target, t.anchor), $();
|
304
373
|
}
|
305
374
|
we(u);
|
306
375
|
}
|
307
|
-
let
|
308
|
-
typeof HTMLElement == "function" && (
|
376
|
+
let cr;
|
377
|
+
typeof HTMLElement == "function" && (cr = class extends HTMLElement {
|
309
378
|
constructor(t, r, n) {
|
310
379
|
super();
|
311
380
|
/** The Svelte component constructor */
|
312
|
-
|
381
|
+
M(this, "$$ctor");
|
313
382
|
/** Slots */
|
314
|
-
|
383
|
+
M(this, "$$s");
|
315
384
|
/** The Svelte component instance */
|
316
|
-
|
385
|
+
M(this, "$$c");
|
317
386
|
/** Whether or not the custom element is connected */
|
318
|
-
|
387
|
+
M(this, "$$cn", !1);
|
319
388
|
/** Component props data */
|
320
|
-
|
389
|
+
M(this, "$$d", {});
|
321
390
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
322
|
-
|
391
|
+
M(this, "$$r", !1);
|
323
392
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
324
|
-
|
393
|
+
M(this, "$$p_d", {});
|
325
394
|
/** @type {Record<string, Function[]>} Event listeners */
|
326
|
-
|
395
|
+
M(this, "$$l", {});
|
327
396
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
328
|
-
|
397
|
+
M(this, "$$l_u", /* @__PURE__ */ new Map());
|
329
398
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
330
399
|
}
|
331
400
|
addEventListener(t, r, n) {
|
@@ -342,42 +411,42 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
342
411
|
}
|
343
412
|
}
|
344
413
|
connectedCallback() {
|
345
|
-
return
|
414
|
+
return Pt(this, null, function* () {
|
346
415
|
if (this.$$cn = !0, !this.$$c) {
|
347
416
|
let t = function(o) {
|
348
417
|
return () => {
|
349
418
|
let s;
|
350
419
|
return {
|
351
420
|
c: function() {
|
352
|
-
s = C("slot"), o !== "default" &&
|
421
|
+
s = C("slot"), o !== "default" && g(s, "name", o);
|
353
422
|
},
|
354
423
|
/**
|
355
424
|
* @param {HTMLElement} target
|
356
425
|
* @param {HTMLElement} [anchor]
|
357
426
|
*/
|
358
427
|
m: function(l, h) {
|
359
|
-
|
428
|
+
z(l, s, h);
|
360
429
|
},
|
361
430
|
d: function(l) {
|
362
|
-
l &&
|
431
|
+
l && j(s);
|
363
432
|
}
|
364
433
|
};
|
365
434
|
};
|
366
435
|
};
|
367
436
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
368
437
|
return;
|
369
|
-
const r = {}, n =
|
438
|
+
const r = {}, n = rn(this);
|
370
439
|
for (const o of this.$$s)
|
371
440
|
o in n && (r[o] = [t(o)]);
|
372
441
|
for (const o of this.attributes) {
|
373
442
|
const s = this.$$g_p(o.name);
|
374
|
-
s in this.$$d || (this.$$d[s] =
|
443
|
+
s in this.$$d || (this.$$d[s] = Le(s, o.value, this.$$p_d, "toProp"));
|
375
444
|
}
|
376
445
|
for (const o in this.$$p_d)
|
377
446
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
378
447
|
this.$$c = new this.$$ctor({
|
379
448
|
target: this.shadowRoot || this,
|
380
|
-
props:
|
449
|
+
props: At(Ht({}, this.$$d), {
|
381
450
|
$$slots: r,
|
382
451
|
$$scope: {
|
383
452
|
ctx: []
|
@@ -388,7 +457,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
388
457
|
this.$$r = !0;
|
389
458
|
for (const o in this.$$p_d)
|
390
459
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
391
|
-
const s =
|
460
|
+
const s = Le(
|
392
461
|
o,
|
393
462
|
this.$$d[o],
|
394
463
|
this.$$p_d,
|
@@ -412,7 +481,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
412
481
|
// and setting attributes through setAttribute etc, this is helpful
|
413
482
|
attributeChangedCallback(t, r, n) {
|
414
483
|
var i;
|
415
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
484
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
416
485
|
}
|
417
486
|
disconnectedCallback() {
|
418
487
|
this.$$cn = !1, Promise.resolve().then(() => {
|
@@ -425,7 +494,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
|
|
425
494
|
) || t;
|
426
495
|
}
|
427
496
|
});
|
428
|
-
function
|
497
|
+
function Le(e, t, r, n) {
|
429
498
|
var o;
|
430
499
|
const i = (o = r[e]) == null ? void 0 : o.type;
|
431
500
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
@@ -455,8 +524,8 @@ function Ie(e, t, r, n) {
|
|
455
524
|
return t;
|
456
525
|
}
|
457
526
|
}
|
458
|
-
function
|
459
|
-
let s = class extends
|
527
|
+
function fn(e, t, r, n, i, o) {
|
528
|
+
let s = class extends cr {
|
460
529
|
constructor() {
|
461
530
|
super(e, r, i), this.$$p_d = t;
|
462
531
|
}
|
@@ -473,7 +542,7 @@ function sn(e, t, r, n, i, o) {
|
|
473
542
|
},
|
474
543
|
set(u) {
|
475
544
|
var l;
|
476
|
-
u =
|
545
|
+
u = Le(a, u, t), this.$$d[a] = u, (l = this.$$c) == null || l.$set({ [a]: u });
|
477
546
|
}
|
478
547
|
});
|
479
548
|
}), n.forEach((a) => {
|
@@ -486,7 +555,7 @@ function sn(e, t, r, n, i, o) {
|
|
486
555
|
}), e.element = /** @type {any} */
|
487
556
|
s, s;
|
488
557
|
}
|
489
|
-
class
|
558
|
+
class pn {
|
490
559
|
constructor() {
|
491
560
|
/**
|
492
561
|
* ### PRIVATE API
|
@@ -495,7 +564,7 @@ class an {
|
|
495
564
|
*
|
496
565
|
* @type {any}
|
497
566
|
*/
|
498
|
-
|
567
|
+
M(this, "$$");
|
499
568
|
/**
|
500
569
|
* ### PRIVATE API
|
501
570
|
*
|
@@ -503,11 +572,11 @@ class an {
|
|
503
572
|
*
|
504
573
|
* @type {any}
|
505
574
|
*/
|
506
|
-
|
575
|
+
M(this, "$$set");
|
507
576
|
}
|
508
577
|
/** @returns {void} */
|
509
578
|
$destroy() {
|
510
|
-
|
579
|
+
un(this, 1), this.$destroy = k;
|
511
580
|
}
|
512
581
|
/**
|
513
582
|
* @template {Extract<keyof Events, string>} K
|
@@ -516,8 +585,8 @@ class an {
|
|
516
585
|
* @returns {() => void}
|
517
586
|
*/
|
518
587
|
$on(t, r) {
|
519
|
-
if (!
|
520
|
-
return
|
588
|
+
if (!xt(r))
|
589
|
+
return k;
|
521
590
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
522
591
|
return n.push(r), () => {
|
523
592
|
const i = n.indexOf(r);
|
@@ -529,11 +598,11 @@ class an {
|
|
529
598
|
* @returns {void}
|
530
599
|
*/
|
531
600
|
$set(t) {
|
532
|
-
this.$$set && !
|
601
|
+
this.$$set && !Jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
533
602
|
}
|
534
603
|
}
|
535
|
-
const
|
536
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
604
|
+
const dn = "4";
|
605
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(dn);
|
537
606
|
/*! *****************************************************************************
|
538
607
|
Copyright (c) Microsoft Corporation.
|
539
608
|
|
@@ -548,43 +617,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
548
617
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
549
618
|
PERFORMANCE OF THIS SOFTWARE.
|
550
619
|
***************************************************************************** */
|
551
|
-
var
|
552
|
-
return
|
620
|
+
var st = function(e, t) {
|
621
|
+
return st = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
553
622
|
r.__proto__ = n;
|
554
623
|
} || function(r, n) {
|
555
624
|
for (var i in n)
|
556
625
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
557
|
-
},
|
626
|
+
}, st(e, t);
|
558
627
|
};
|
559
|
-
function
|
628
|
+
function Ae(e, t) {
|
560
629
|
if (typeof t != "function" && t !== null)
|
561
630
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
562
|
-
|
631
|
+
st(e, t);
|
563
632
|
function r() {
|
564
633
|
this.constructor = e;
|
565
634
|
}
|
566
635
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
567
636
|
}
|
568
|
-
|
569
|
-
return P = Object.assign || function(t) {
|
570
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
571
|
-
r = arguments[n];
|
572
|
-
for (var o in r)
|
573
|
-
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
574
|
-
}
|
575
|
-
return t;
|
576
|
-
}, P.apply(this, arguments);
|
577
|
-
};
|
578
|
-
function un(e, t) {
|
579
|
-
var r = {};
|
580
|
-
for (var n in e)
|
581
|
-
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
582
|
-
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
583
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
584
|
-
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
585
|
-
return r;
|
586
|
-
}
|
587
|
-
function it(e) {
|
637
|
+
function at(e) {
|
588
638
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
589
639
|
if (r)
|
590
640
|
return r.call(e);
|
@@ -596,7 +646,7 @@ function it(e) {
|
|
596
646
|
};
|
597
647
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
598
648
|
}
|
599
|
-
function
|
649
|
+
function lt(e, t) {
|
600
650
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
601
651
|
if (!r)
|
602
652
|
return e;
|
@@ -616,22 +666,22 @@ function ot(e, t) {
|
|
616
666
|
}
|
617
667
|
return o;
|
618
668
|
}
|
619
|
-
function
|
620
|
-
if (
|
669
|
+
function ut(e, t, r) {
|
670
|
+
if (arguments.length === 2)
|
621
671
|
for (var n = 0, i = t.length, o; n < i; n++)
|
622
672
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
623
673
|
return e.concat(o || t);
|
624
674
|
}
|
625
|
-
function
|
675
|
+
function J(e) {
|
626
676
|
return typeof e == "function";
|
627
677
|
}
|
628
|
-
function
|
678
|
+
function fr(e) {
|
629
679
|
var t = function(n) {
|
630
680
|
Error.call(n), n.stack = new Error().stack;
|
631
681
|
}, r = e(t);
|
632
682
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
633
683
|
}
|
634
|
-
var
|
684
|
+
var Qe = fr(function(e) {
|
635
685
|
return function(r) {
|
636
686
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
637
687
|
` + r.map(function(n, i) {
|
@@ -640,13 +690,13 @@ var Ze = ar(function(e) {
|
|
640
690
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
641
691
|
};
|
642
692
|
});
|
643
|
-
function
|
693
|
+
function ht(e, t) {
|
644
694
|
if (e) {
|
645
695
|
var r = e.indexOf(t);
|
646
696
|
0 <= r && e.splice(r, 1);
|
647
697
|
}
|
648
698
|
}
|
649
|
-
var
|
699
|
+
var ke = function() {
|
650
700
|
function e(t) {
|
651
701
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
652
702
|
}
|
@@ -658,12 +708,12 @@ var Ue = function() {
|
|
658
708
|
if (s)
|
659
709
|
if (this._parentage = null, Array.isArray(s))
|
660
710
|
try {
|
661
|
-
for (var a =
|
711
|
+
for (var a = at(s), u = a.next(); !u.done; u = a.next()) {
|
662
712
|
var l = u.value;
|
663
713
|
l.remove(this);
|
664
714
|
}
|
665
|
-
} catch (
|
666
|
-
t = { error:
|
715
|
+
} catch (y) {
|
716
|
+
t = { error: y };
|
667
717
|
} finally {
|
668
718
|
try {
|
669
719
|
u && !u.done && (r = a.return) && r.call(a);
|
@@ -675,29 +725,29 @@ var Ue = function() {
|
|
675
725
|
else
|
676
726
|
s.remove(this);
|
677
727
|
var h = this.initialTeardown;
|
678
|
-
if (
|
728
|
+
if (J(h))
|
679
729
|
try {
|
680
730
|
h();
|
681
|
-
} catch (
|
682
|
-
o =
|
731
|
+
} catch (y) {
|
732
|
+
o = y instanceof Qe ? y.errors : [y];
|
683
733
|
}
|
684
|
-
var
|
685
|
-
if (
|
734
|
+
var p = this._finalizers;
|
735
|
+
if (p) {
|
686
736
|
this._finalizers = null;
|
687
737
|
try {
|
688
|
-
for (var c =
|
689
|
-
var
|
738
|
+
for (var c = at(p), m = c.next(); !m.done; m = c.next()) {
|
739
|
+
var v = m.value;
|
690
740
|
try {
|
691
|
-
|
692
|
-
} catch (
|
693
|
-
o = o != null ? o : [],
|
741
|
+
Lt(v);
|
742
|
+
} catch (y) {
|
743
|
+
o = o != null ? o : [], y instanceof Qe ? o = ut(ut([], lt(o)), lt(y.errors)) : o.push(y);
|
694
744
|
}
|
695
745
|
}
|
696
|
-
} catch (
|
697
|
-
n = { error:
|
746
|
+
} catch (y) {
|
747
|
+
n = { error: y };
|
698
748
|
} finally {
|
699
749
|
try {
|
700
|
-
|
750
|
+
m && !m.done && (i = c.return) && i.call(c);
|
701
751
|
} finally {
|
702
752
|
if (n)
|
703
753
|
throw n.error;
|
@@ -705,13 +755,13 @@ var Ue = function() {
|
|
705
755
|
}
|
706
756
|
}
|
707
757
|
if (o)
|
708
|
-
throw new
|
758
|
+
throw new Qe(o);
|
709
759
|
}
|
710
760
|
}, e.prototype.add = function(t) {
|
711
761
|
var r;
|
712
762
|
if (t && t !== this)
|
713
763
|
if (this.closed)
|
714
|
-
|
764
|
+
Lt(t);
|
715
765
|
else {
|
716
766
|
if (t instanceof e) {
|
717
767
|
if (t.closed || t._hasParent(this))
|
@@ -728,52 +778,52 @@ var Ue = function() {
|
|
728
778
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
729
779
|
}, e.prototype._removeParent = function(t) {
|
730
780
|
var r = this._parentage;
|
731
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
781
|
+
r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
|
732
782
|
}, e.prototype.remove = function(t) {
|
733
783
|
var r = this._finalizers;
|
734
|
-
r &&
|
784
|
+
r && ht(r, t), t instanceof e && t._removeParent(this);
|
735
785
|
}, e.EMPTY = function() {
|
736
786
|
var t = new e();
|
737
787
|
return t.closed = !0, t;
|
738
788
|
}(), e;
|
739
|
-
}(),
|
740
|
-
function
|
741
|
-
return e instanceof
|
789
|
+
}(), pr = ke.EMPTY;
|
790
|
+
function dr(e) {
|
791
|
+
return e instanceof ke || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
|
742
792
|
}
|
743
|
-
function
|
744
|
-
|
793
|
+
function Lt(e) {
|
794
|
+
J(e) ? e() : e.unsubscribe();
|
745
795
|
}
|
746
|
-
var
|
796
|
+
var mn = {
|
747
797
|
Promise: void 0
|
748
|
-
},
|
798
|
+
}, bn = {
|
749
799
|
setTimeout: function(e, t) {
|
750
800
|
for (var r = [], n = 2; n < arguments.length; n++)
|
751
801
|
r[n - 2] = arguments[n];
|
752
|
-
return setTimeout.apply(void 0,
|
802
|
+
return setTimeout.apply(void 0, ut([e, t], lt(r)));
|
753
803
|
},
|
754
804
|
clearTimeout: function(e) {
|
755
805
|
return clearTimeout(e);
|
756
806
|
},
|
757
807
|
delegate: void 0
|
758
808
|
};
|
759
|
-
function
|
760
|
-
|
809
|
+
function gn(e) {
|
810
|
+
bn.setTimeout(function() {
|
761
811
|
throw e;
|
762
812
|
});
|
763
813
|
}
|
764
|
-
function
|
814
|
+
function Nt() {
|
765
815
|
}
|
766
|
-
function
|
816
|
+
function Ne(e) {
|
767
817
|
e();
|
768
818
|
}
|
769
|
-
var
|
770
|
-
|
819
|
+
var mr = function(e) {
|
820
|
+
Ae(t, e);
|
771
821
|
function t(r) {
|
772
822
|
var n = e.call(this) || this;
|
773
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
823
|
+
return n.isStopped = !1, r ? (n.destination = r, dr(r) && r.add(n)) : n.destination = _n, n;
|
774
824
|
}
|
775
825
|
return t.create = function(r, n, i) {
|
776
|
-
return new
|
826
|
+
return new ct(r, n, i);
|
777
827
|
}, t.prototype.next = function(r) {
|
778
828
|
this.isStopped || this._next(r);
|
779
829
|
}, t.prototype.error = function(r) {
|
@@ -797,7 +847,7 @@ var hr = function(e) {
|
|
797
847
|
this.unsubscribe();
|
798
848
|
}
|
799
849
|
}, t;
|
800
|
-
}(
|
850
|
+
}(ke), yn = function() {
|
801
851
|
function e(t) {
|
802
852
|
this.partialObserver = t;
|
803
853
|
}
|
@@ -807,7 +857,7 @@ var hr = function(e) {
|
|
807
857
|
try {
|
808
858
|
r.next(t);
|
809
859
|
} catch (n) {
|
810
|
-
|
860
|
+
Oe(n);
|
811
861
|
}
|
812
862
|
}, e.prototype.error = function(t) {
|
813
863
|
var r = this.partialObserver;
|
@@ -815,56 +865,56 @@ var hr = function(e) {
|
|
815
865
|
try {
|
816
866
|
r.error(t);
|
817
867
|
} catch (n) {
|
818
|
-
|
868
|
+
Oe(n);
|
819
869
|
}
|
820
870
|
else
|
821
|
-
|
871
|
+
Oe(t);
|
822
872
|
}, e.prototype.complete = function() {
|
823
873
|
var t = this.partialObserver;
|
824
874
|
if (t.complete)
|
825
875
|
try {
|
826
876
|
t.complete();
|
827
877
|
} catch (r) {
|
828
|
-
|
878
|
+
Oe(r);
|
829
879
|
}
|
830
880
|
}, e;
|
831
|
-
}(),
|
832
|
-
|
881
|
+
}(), ct = function(e) {
|
882
|
+
Ae(t, e);
|
833
883
|
function t(r, n, i) {
|
834
884
|
var o = e.call(this) || this, s;
|
835
|
-
return
|
885
|
+
return J(r) || !r ? s = {
|
836
886
|
next: r != null ? r : void 0,
|
837
887
|
error: n != null ? n : void 0,
|
838
888
|
complete: i != null ? i : void 0
|
839
|
-
} : s = r, o.destination = new
|
889
|
+
} : s = r, o.destination = new yn(s), o;
|
840
890
|
}
|
841
891
|
return t;
|
842
|
-
}(
|
843
|
-
function
|
844
|
-
|
892
|
+
}(mr);
|
893
|
+
function Oe(e) {
|
894
|
+
gn(e);
|
845
895
|
}
|
846
|
-
function
|
896
|
+
function vn(e) {
|
847
897
|
throw e;
|
848
898
|
}
|
849
|
-
var
|
899
|
+
var _n = {
|
850
900
|
closed: !0,
|
851
|
-
next:
|
852
|
-
error:
|
853
|
-
complete:
|
854
|
-
},
|
901
|
+
next: Nt,
|
902
|
+
error: vn,
|
903
|
+
complete: Nt
|
904
|
+
}, xn = function() {
|
855
905
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
856
906
|
}();
|
857
|
-
function
|
907
|
+
function En(e) {
|
858
908
|
return e;
|
859
909
|
}
|
860
|
-
function
|
861
|
-
return e.length === 0 ?
|
910
|
+
function wn(e) {
|
911
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
862
912
|
return e.reduce(function(n, i) {
|
863
913
|
return i(n);
|
864
914
|
}, r);
|
865
915
|
};
|
866
916
|
}
|
867
|
-
var
|
917
|
+
var Mt = function() {
|
868
918
|
function e(t) {
|
869
919
|
t && (this._subscribe = t);
|
870
920
|
}
|
@@ -872,8 +922,8 @@ var Bt = function() {
|
|
872
922
|
var r = new e();
|
873
923
|
return r.source = this, r.operator = t, r;
|
874
924
|
}, e.prototype.subscribe = function(t, r, n) {
|
875
|
-
var i = this, o =
|
876
|
-
return
|
925
|
+
var i = this, o = Tn(t) ? t : new ct(t, r, n);
|
926
|
+
return Ne(function() {
|
877
927
|
var s = i, a = s.operator, u = s.source;
|
878
928
|
o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
|
879
929
|
}), o;
|
@@ -885,8 +935,8 @@ var Bt = function() {
|
|
885
935
|
}
|
886
936
|
}, e.prototype.forEach = function(t, r) {
|
887
937
|
var n = this;
|
888
|
-
return r =
|
889
|
-
var s = new
|
938
|
+
return r = Rt(r), new r(function(i, o) {
|
939
|
+
var s = new ct({
|
890
940
|
next: function(a) {
|
891
941
|
try {
|
892
942
|
t(a);
|
@@ -902,15 +952,15 @@ var Bt = function() {
|
|
902
952
|
}, e.prototype._subscribe = function(t) {
|
903
953
|
var r;
|
904
954
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
905
|
-
}, e.prototype[
|
955
|
+
}, e.prototype[xn] = function() {
|
906
956
|
return this;
|
907
957
|
}, e.prototype.pipe = function() {
|
908
958
|
for (var t = [], r = 0; r < arguments.length; r++)
|
909
959
|
t[r] = arguments[r];
|
910
|
-
return
|
960
|
+
return wn(t)(this);
|
911
961
|
}, e.prototype.toPromise = function(t) {
|
912
962
|
var r = this;
|
913
|
-
return t =
|
963
|
+
return t = Rt(t), new t(function(n, i) {
|
914
964
|
var o;
|
915
965
|
r.subscribe(function(s) {
|
916
966
|
return o = s;
|
@@ -924,40 +974,40 @@ var Bt = function() {
|
|
924
974
|
return new e(t);
|
925
975
|
}, e;
|
926
976
|
}();
|
927
|
-
function
|
977
|
+
function Rt(e) {
|
928
978
|
var t;
|
929
|
-
return (t = e != null ? e :
|
979
|
+
return (t = e != null ? e : mn.Promise) !== null && t !== void 0 ? t : Promise;
|
930
980
|
}
|
931
|
-
function
|
932
|
-
return e &&
|
981
|
+
function Sn(e) {
|
982
|
+
return e && J(e.next) && J(e.error) && J(e.complete);
|
933
983
|
}
|
934
|
-
function
|
935
|
-
return e && e instanceof
|
984
|
+
function Tn(e) {
|
985
|
+
return e && e instanceof mr || Sn(e) && dr(e);
|
936
986
|
}
|
937
|
-
var
|
987
|
+
var Hn = fr(function(e) {
|
938
988
|
return function() {
|
939
989
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
940
990
|
};
|
941
|
-
}),
|
942
|
-
|
991
|
+
}), br = function(e) {
|
992
|
+
Ae(t, e);
|
943
993
|
function t() {
|
944
994
|
var r = e.call(this) || this;
|
945
995
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
946
996
|
}
|
947
997
|
return t.prototype.lift = function(r) {
|
948
|
-
var n = new
|
998
|
+
var n = new Dt(this, this);
|
949
999
|
return n.operator = r, n;
|
950
1000
|
}, t.prototype._throwIfClosed = function() {
|
951
1001
|
if (this.closed)
|
952
|
-
throw new
|
1002
|
+
throw new Hn();
|
953
1003
|
}, t.prototype.next = function(r) {
|
954
1004
|
var n = this;
|
955
|
-
|
1005
|
+
Ne(function() {
|
956
1006
|
var i, o;
|
957
1007
|
if (n._throwIfClosed(), !n.isStopped) {
|
958
1008
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
959
1009
|
try {
|
960
|
-
for (var s =
|
1010
|
+
for (var s = at(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
961
1011
|
var u = a.value;
|
962
1012
|
u.next(r);
|
963
1013
|
}
|
@@ -975,7 +1025,7 @@ var xn = ar(function(e) {
|
|
975
1025
|
});
|
976
1026
|
}, t.prototype.error = function(r) {
|
977
1027
|
var n = this;
|
978
|
-
|
1028
|
+
Ne(function() {
|
979
1029
|
if (n._throwIfClosed(), !n.isStopped) {
|
980
1030
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
981
1031
|
for (var i = n.observers; i.length; )
|
@@ -984,7 +1034,7 @@ var xn = ar(function(e) {
|
|
984
1034
|
});
|
985
1035
|
}, t.prototype.complete = function() {
|
986
1036
|
var r = this;
|
987
|
-
|
1037
|
+
Ne(function() {
|
988
1038
|
if (r._throwIfClosed(), !r.isStopped) {
|
989
1039
|
r.isStopped = !0;
|
990
1040
|
for (var n = r.observers; n.length; )
|
@@ -1006,20 +1056,20 @@ var xn = ar(function(e) {
|
|
1006
1056
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
1007
1057
|
}, t.prototype._innerSubscribe = function(r) {
|
1008
1058
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
1009
|
-
return o || s ?
|
1010
|
-
n.currentObservers = null,
|
1059
|
+
return o || s ? pr : (this.currentObservers = null, a.push(r), new ke(function() {
|
1060
|
+
n.currentObservers = null, ht(a, r);
|
1011
1061
|
}));
|
1012
1062
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
1013
1063
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
1014
1064
|
i ? r.error(o) : s && r.complete();
|
1015
1065
|
}, t.prototype.asObservable = function() {
|
1016
|
-
var r = new
|
1066
|
+
var r = new Mt();
|
1017
1067
|
return r.source = this, r;
|
1018
1068
|
}, t.create = function(r, n) {
|
1019
|
-
return new
|
1069
|
+
return new Dt(r, n);
|
1020
1070
|
}, t;
|
1021
|
-
}(
|
1022
|
-
|
1071
|
+
}(Mt), Dt = function(e) {
|
1072
|
+
Ae(t, e);
|
1023
1073
|
function t(r, n) {
|
1024
1074
|
var i = e.call(this) || this;
|
1025
1075
|
return i.destination = r, i.source = n, i;
|
@@ -1035,17 +1085,17 @@ var xn = ar(function(e) {
|
|
1035
1085
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
1036
1086
|
}, t.prototype._subscribe = function(r) {
|
1037
1087
|
var n, i;
|
1038
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
1088
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : pr;
|
1039
1089
|
}, t;
|
1040
|
-
}(
|
1090
|
+
}(br), gr = {
|
1041
1091
|
now: function() {
|
1042
|
-
return (
|
1092
|
+
return (gr.delegate || Date).now();
|
1043
1093
|
},
|
1044
1094
|
delegate: void 0
|
1045
|
-
},
|
1046
|
-
|
1095
|
+
}, An = function(e) {
|
1096
|
+
Ae(t, e);
|
1047
1097
|
function t(r, n, i) {
|
1048
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
1098
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = gr);
|
1049
1099
|
var o = e.call(this) || this;
|
1050
1100
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
1051
1101
|
}
|
@@ -1065,140 +1115,140 @@ var xn = ar(function(e) {
|
|
1065
1115
|
l && o.splice(0, l + 1);
|
1066
1116
|
}
|
1067
1117
|
}, t;
|
1068
|
-
}(
|
1069
|
-
const
|
1070
|
-
if (
|
1071
|
-
const r = new
|
1072
|
-
|
1118
|
+
}(br);
|
1119
|
+
const $t = [], Ut = {}, Pn = (e, t = 0) => {
|
1120
|
+
if ($t.indexOf(e) == -1) {
|
1121
|
+
const r = new An(t);
|
1122
|
+
Ut[e] = r, $t.push(e);
|
1073
1123
|
}
|
1074
|
-
return
|
1075
|
-
},
|
1076
|
-
function
|
1124
|
+
return Ut[e];
|
1125
|
+
}, ce = [];
|
1126
|
+
function Cn(e, t) {
|
1077
1127
|
return {
|
1078
|
-
subscribe:
|
1128
|
+
subscribe: je(e, t).subscribe
|
1079
1129
|
};
|
1080
1130
|
}
|
1081
|
-
function
|
1131
|
+
function je(e, t = k) {
|
1082
1132
|
let r;
|
1083
1133
|
const n = /* @__PURE__ */ new Set();
|
1084
1134
|
function i(a) {
|
1085
|
-
if (
|
1086
|
-
const u = !
|
1135
|
+
if (or(e, a) && (e = a, r)) {
|
1136
|
+
const u = !ce.length;
|
1087
1137
|
for (const l of n)
|
1088
|
-
l[1](),
|
1138
|
+
l[1](), ce.push(l, e);
|
1089
1139
|
if (u) {
|
1090
|
-
for (let l = 0; l <
|
1091
|
-
|
1092
|
-
|
1140
|
+
for (let l = 0; l < ce.length; l += 2)
|
1141
|
+
ce[l][0](ce[l + 1]);
|
1142
|
+
ce.length = 0;
|
1093
1143
|
}
|
1094
1144
|
}
|
1095
1145
|
}
|
1096
1146
|
function o(a) {
|
1097
1147
|
i(a(e));
|
1098
1148
|
}
|
1099
|
-
function s(a, u =
|
1149
|
+
function s(a, u = k) {
|
1100
1150
|
const l = [a, u];
|
1101
|
-
return n.add(l), n.size === 1 && (r = t(i, o) ||
|
1151
|
+
return n.add(l), n.size === 1 && (r = t(i, o) || k), a(e), () => {
|
1102
1152
|
n.delete(l), n.size === 0 && r && (r(), r = null);
|
1103
1153
|
};
|
1104
1154
|
}
|
1105
1155
|
return { set: i, update: o, subscribe: s };
|
1106
1156
|
}
|
1107
|
-
function
|
1157
|
+
function ye(e, t, r) {
|
1108
1158
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
1109
1159
|
if (!i.every(Boolean))
|
1110
1160
|
throw new Error("derived() expects stores as input, got a falsy value");
|
1111
1161
|
const o = t.length < 2;
|
1112
|
-
return
|
1162
|
+
return Cn(r, (s, a) => {
|
1113
1163
|
let u = !1;
|
1114
1164
|
const l = [];
|
1115
|
-
let h = 0,
|
1165
|
+
let h = 0, p = k;
|
1116
1166
|
const c = () => {
|
1117
1167
|
if (h)
|
1118
1168
|
return;
|
1119
|
-
|
1120
|
-
const
|
1121
|
-
o ? s(
|
1122
|
-
},
|
1123
|
-
(
|
1124
|
-
|
1125
|
-
(
|
1126
|
-
l[
|
1169
|
+
p();
|
1170
|
+
const v = t(n ? l[0] : l, s, a);
|
1171
|
+
o ? s(v) : p = xt(v) ? v : k;
|
1172
|
+
}, m = i.map(
|
1173
|
+
(v, y) => sr(
|
1174
|
+
v,
|
1175
|
+
(T) => {
|
1176
|
+
l[y] = T, h &= ~(1 << y), u && c();
|
1127
1177
|
},
|
1128
1178
|
() => {
|
1129
|
-
h |= 1 <<
|
1179
|
+
h |= 1 << y;
|
1130
1180
|
}
|
1131
1181
|
)
|
1132
1182
|
);
|
1133
1183
|
return u = !0, c(), function() {
|
1134
|
-
K(
|
1184
|
+
K(m), p(), u = !1;
|
1135
1185
|
};
|
1136
1186
|
});
|
1137
1187
|
}
|
1138
|
-
function
|
1188
|
+
function Fn(e) {
|
1139
1189
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
1140
1190
|
}
|
1141
|
-
var
|
1142
|
-
return
|
1191
|
+
var Bn = function(t) {
|
1192
|
+
return On(t) && !In(t);
|
1143
1193
|
};
|
1144
|
-
function
|
1194
|
+
function On(e) {
|
1145
1195
|
return !!e && typeof e == "object";
|
1146
1196
|
}
|
1147
|
-
function
|
1197
|
+
function In(e) {
|
1148
1198
|
var t = Object.prototype.toString.call(e);
|
1149
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
1199
|
+
return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
|
1150
1200
|
}
|
1151
|
-
var
|
1152
|
-
function
|
1153
|
-
return e.$$typeof ===
|
1201
|
+
var Ln = typeof Symbol == "function" && Symbol.for, Nn = Ln ? Symbol.for("react.element") : 60103;
|
1202
|
+
function Mn(e) {
|
1203
|
+
return e.$$typeof === Nn;
|
1154
1204
|
}
|
1155
|
-
function
|
1205
|
+
function Rn(e) {
|
1156
1206
|
return Array.isArray(e) ? [] : {};
|
1157
1207
|
}
|
1158
1208
|
function Te(e, t) {
|
1159
|
-
return t.clone !== !1 && t.isMergeableObject(e) ? de(
|
1209
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? de(Rn(e), e, t) : e;
|
1160
1210
|
}
|
1161
|
-
function
|
1211
|
+
function Dn(e, t, r) {
|
1162
1212
|
return e.concat(t).map(function(n) {
|
1163
1213
|
return Te(n, r);
|
1164
1214
|
});
|
1165
1215
|
}
|
1166
|
-
function
|
1216
|
+
function $n(e, t) {
|
1167
1217
|
if (!t.customMerge)
|
1168
1218
|
return de;
|
1169
1219
|
var r = t.customMerge(e);
|
1170
1220
|
return typeof r == "function" ? r : de;
|
1171
1221
|
}
|
1172
|
-
function
|
1222
|
+
function Un(e) {
|
1173
1223
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
1174
1224
|
return Object.propertyIsEnumerable.call(e, t);
|
1175
1225
|
}) : [];
|
1176
1226
|
}
|
1177
|
-
function
|
1178
|
-
return Object.keys(e).concat(
|
1227
|
+
function Gt(e) {
|
1228
|
+
return Object.keys(e).concat(Un(e));
|
1179
1229
|
}
|
1180
|
-
function
|
1230
|
+
function yr(e, t) {
|
1181
1231
|
try {
|
1182
1232
|
return t in e;
|
1183
1233
|
} catch (r) {
|
1184
1234
|
return !1;
|
1185
1235
|
}
|
1186
1236
|
}
|
1187
|
-
function
|
1188
|
-
return
|
1237
|
+
function Gn(e, t) {
|
1238
|
+
return yr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
1189
1239
|
}
|
1190
|
-
function
|
1240
|
+
function kn(e, t, r) {
|
1191
1241
|
var n = {};
|
1192
|
-
return r.isMergeableObject(e) &&
|
1242
|
+
return r.isMergeableObject(e) && Gt(e).forEach(function(i) {
|
1193
1243
|
n[i] = Te(e[i], r);
|
1194
|
-
}),
|
1195
|
-
|
1244
|
+
}), Gt(t).forEach(function(i) {
|
1245
|
+
Gn(e, i) || (yr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $n(i, r)(e[i], t[i], r) : n[i] = Te(t[i], r));
|
1196
1246
|
}), n;
|
1197
1247
|
}
|
1198
1248
|
function de(e, t, r) {
|
1199
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
1249
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Dn, r.isMergeableObject = r.isMergeableObject || Bn, r.cloneUnlessOtherwiseSpecified = Te;
|
1200
1250
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
1201
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
1251
|
+
return o ? n ? r.arrayMerge(e, t, r) : kn(e, t, r) : Te(t, r);
|
1202
1252
|
}
|
1203
1253
|
de.all = function(t, r) {
|
1204
1254
|
if (!Array.isArray(t))
|
@@ -1207,39 +1257,81 @@ de.all = function(t, r) {
|
|
1207
1257
|
return de(n, i, r);
|
1208
1258
|
}, {});
|
1209
1259
|
};
|
1210
|
-
var
|
1211
|
-
const
|
1212
|
-
function
|
1213
|
-
|
1260
|
+
var jn = de, Vn = jn;
|
1261
|
+
const Xn = /* @__PURE__ */ Fn(Vn);
|
1262
|
+
var ft = function(e, t) {
|
1263
|
+
return ft = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
1264
|
+
r.__proto__ = n;
|
1265
|
+
} || function(r, n) {
|
1266
|
+
for (var i in n)
|
1267
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
1268
|
+
}, ft(e, t);
|
1269
|
+
};
|
1270
|
+
function Ve(e, t) {
|
1271
|
+
if (typeof t != "function" && t !== null)
|
1272
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
1273
|
+
ft(e, t);
|
1274
|
+
function r() {
|
1275
|
+
this.constructor = e;
|
1276
|
+
}
|
1277
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
1278
|
+
}
|
1279
|
+
var W = function() {
|
1280
|
+
return W = Object.assign || function(t) {
|
1281
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1282
|
+
r = arguments[n];
|
1283
|
+
for (var o in r)
|
1284
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
1285
|
+
}
|
1286
|
+
return t;
|
1287
|
+
}, W.apply(this, arguments);
|
1288
|
+
};
|
1289
|
+
function Wn(e, t) {
|
1290
|
+
var r = {};
|
1291
|
+
for (var n in e)
|
1292
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
1293
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
1294
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
1295
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
1296
|
+
return r;
|
1297
|
+
}
|
1298
|
+
function qe(e, t, r) {
|
1299
|
+
if (r || arguments.length === 2)
|
1300
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
1301
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
1302
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
1303
|
+
}
|
1304
|
+
function Ye(e, t) {
|
1305
|
+
var r = t && t.cache ? t.cache : Kn, n = t && t.serializer ? t.serializer : qn, i = t && t.strategy ? t.strategy : Jn;
|
1214
1306
|
return i(e, {
|
1215
1307
|
cache: r,
|
1216
1308
|
serializer: n
|
1217
1309
|
});
|
1218
1310
|
}
|
1219
|
-
function
|
1311
|
+
function zn(e) {
|
1220
1312
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
1221
1313
|
}
|
1222
|
-
function
|
1223
|
-
var i =
|
1314
|
+
function Zn(e, t, r, n) {
|
1315
|
+
var i = zn(n) ? n : r(n), o = t.get(i);
|
1224
1316
|
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
1225
1317
|
}
|
1226
|
-
function
|
1318
|
+
function vr(e, t, r) {
|
1227
1319
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
1228
1320
|
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
1229
1321
|
}
|
1230
|
-
function
|
1322
|
+
function _r(e, t, r, n, i) {
|
1231
1323
|
return r.bind(t, e, n, i);
|
1232
1324
|
}
|
1233
|
-
function
|
1234
|
-
var r = e.length === 1 ?
|
1235
|
-
return
|
1325
|
+
function Jn(e, t) {
|
1326
|
+
var r = e.length === 1 ? Zn : vr;
|
1327
|
+
return _r(e, this, r, t.cache.create(), t.serializer);
|
1236
1328
|
}
|
1237
|
-
function
|
1238
|
-
return
|
1329
|
+
function Qn(e, t) {
|
1330
|
+
return _r(e, this, vr, t.cache.create(), t.serializer);
|
1239
1331
|
}
|
1240
|
-
var
|
1332
|
+
var qn = function() {
|
1241
1333
|
return JSON.stringify(arguments);
|
1242
|
-
},
|
1334
|
+
}, Yn = (
|
1243
1335
|
/** @class */
|
1244
1336
|
function() {
|
1245
1337
|
function e() {
|
@@ -1251,61 +1343,71 @@ var Xn = function() {
|
|
1251
1343
|
this.cache[t] = r;
|
1252
1344
|
}, e;
|
1253
1345
|
}()
|
1254
|
-
),
|
1346
|
+
), Kn = {
|
1255
1347
|
create: function() {
|
1256
|
-
return new
|
1348
|
+
return new Yn();
|
1257
1349
|
}
|
1258
|
-
},
|
1259
|
-
variadic:
|
1260
|
-
},
|
1350
|
+
}, Ke = {
|
1351
|
+
variadic: Qn
|
1352
|
+
}, $e = function() {
|
1353
|
+
return $e = Object.assign || function(t) {
|
1354
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1355
|
+
r = arguments[n];
|
1356
|
+
for (var o in r)
|
1357
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
1358
|
+
}
|
1359
|
+
return t;
|
1360
|
+
}, $e.apply(this, arguments);
|
1361
|
+
};
|
1362
|
+
var E;
|
1261
1363
|
(function(e) {
|
1262
1364
|
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";
|
1263
1365
|
})(E || (E = {}));
|
1264
|
-
var
|
1366
|
+
var F;
|
1265
1367
|
(function(e) {
|
1266
1368
|
e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
|
1267
|
-
})(
|
1369
|
+
})(F || (F = {}));
|
1268
1370
|
var me;
|
1269
1371
|
(function(e) {
|
1270
1372
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
1271
1373
|
})(me || (me = {}));
|
1272
|
-
function
|
1273
|
-
return e.type ===
|
1374
|
+
function kt(e) {
|
1375
|
+
return e.type === F.literal;
|
1274
1376
|
}
|
1275
|
-
function
|
1276
|
-
return e.type ===
|
1377
|
+
function ei(e) {
|
1378
|
+
return e.type === F.argument;
|
1277
1379
|
}
|
1278
|
-
function
|
1279
|
-
return e.type ===
|
1380
|
+
function xr(e) {
|
1381
|
+
return e.type === F.number;
|
1280
1382
|
}
|
1281
|
-
function
|
1282
|
-
return e.type ===
|
1383
|
+
function Er(e) {
|
1384
|
+
return e.type === F.date;
|
1283
1385
|
}
|
1284
|
-
function
|
1285
|
-
return e.type ===
|
1386
|
+
function wr(e) {
|
1387
|
+
return e.type === F.time;
|
1286
1388
|
}
|
1287
|
-
function
|
1288
|
-
return e.type ===
|
1389
|
+
function Sr(e) {
|
1390
|
+
return e.type === F.select;
|
1289
1391
|
}
|
1290
|
-
function
|
1291
|
-
return e.type ===
|
1392
|
+
function Tr(e) {
|
1393
|
+
return e.type === F.plural;
|
1292
1394
|
}
|
1293
|
-
function
|
1294
|
-
return e.type ===
|
1395
|
+
function ti(e) {
|
1396
|
+
return e.type === F.pound;
|
1295
1397
|
}
|
1296
|
-
function
|
1297
|
-
return e.type ===
|
1398
|
+
function Hr(e) {
|
1399
|
+
return e.type === F.tag;
|
1298
1400
|
}
|
1299
|
-
function
|
1401
|
+
function Ar(e) {
|
1300
1402
|
return !!(e && typeof e == "object" && e.type === me.number);
|
1301
1403
|
}
|
1302
|
-
function
|
1404
|
+
function pt(e) {
|
1303
1405
|
return !!(e && typeof e == "object" && e.type === me.dateTime);
|
1304
1406
|
}
|
1305
|
-
var
|
1306
|
-
function
|
1407
|
+
var Pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ri = /(?:[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;
|
1408
|
+
function ni(e) {
|
1307
1409
|
var t = {};
|
1308
|
-
return e.replace(
|
1410
|
+
return e.replace(ri, function(r) {
|
1309
1411
|
var n = r.length;
|
1310
1412
|
switch (r[0]) {
|
1311
1413
|
case "G":
|
@@ -1394,36 +1496,46 @@ function qn(e) {
|
|
1394
1496
|
return "";
|
1395
1497
|
}), t;
|
1396
1498
|
}
|
1397
|
-
var
|
1398
|
-
function
|
1499
|
+
var O = function() {
|
1500
|
+
return O = Object.assign || function(t) {
|
1501
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
1502
|
+
r = arguments[n];
|
1503
|
+
for (var o in r)
|
1504
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
1505
|
+
}
|
1506
|
+
return t;
|
1507
|
+
}, O.apply(this, arguments);
|
1508
|
+
};
|
1509
|
+
var ii = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
1510
|
+
function oi(e) {
|
1399
1511
|
if (e.length === 0)
|
1400
1512
|
throw new Error("Number skeleton cannot be empty");
|
1401
|
-
for (var t = e.split(
|
1513
|
+
for (var t = e.split(ii).filter(function(c) {
|
1402
1514
|
return c.length > 0;
|
1403
1515
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
1404
1516
|
var o = i[n], s = o.split("/");
|
1405
1517
|
if (s.length === 0)
|
1406
1518
|
throw new Error("Invalid number skeleton");
|
1407
1519
|
for (var a = s[0], u = s.slice(1), l = 0, h = u; l < h.length; l++) {
|
1408
|
-
var
|
1409
|
-
if (
|
1520
|
+
var p = h[l];
|
1521
|
+
if (p.length === 0)
|
1410
1522
|
throw new Error("Invalid number skeleton");
|
1411
1523
|
}
|
1412
1524
|
r.push({ stem: a, options: u });
|
1413
1525
|
}
|
1414
1526
|
return r;
|
1415
1527
|
}
|
1416
|
-
function
|
1528
|
+
function si(e) {
|
1417
1529
|
return e.replace(/^(.*?)-/, "");
|
1418
1530
|
}
|
1419
|
-
var
|
1420
|
-
function
|
1531
|
+
var jt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Cr = /^(@+)?(\+|#+)?[rs]?$/g, ai = /(\*)(0+)|(#+)(0+)|(0+)/g, Fr = /^(0+)$/;
|
1532
|
+
function Vt(e) {
|
1421
1533
|
var t = {};
|
1422
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
1534
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Cr, function(r, n, i) {
|
1423
1535
|
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)), "";
|
1424
1536
|
}), t;
|
1425
1537
|
}
|
1426
|
-
function
|
1538
|
+
function Br(e) {
|
1427
1539
|
switch (e) {
|
1428
1540
|
case "sign-auto":
|
1429
1541
|
return {
|
@@ -1463,7 +1575,7 @@ function Hr(e) {
|
|
1463
1575
|
};
|
1464
1576
|
}
|
1465
1577
|
}
|
1466
|
-
function
|
1578
|
+
function li(e) {
|
1467
1579
|
var t;
|
1468
1580
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
1469
1581
|
notation: "engineering"
|
@@ -1471,17 +1583,17 @@ function ri(e) {
|
|
1471
1583
|
notation: "scientific"
|
1472
1584
|
}, e = e.slice(1)), t) {
|
1473
1585
|
var r = e.slice(0, 2);
|
1474
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
1586
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Fr.test(e))
|
1475
1587
|
throw new Error("Malformed concise eng/scientific notation");
|
1476
1588
|
t.minimumIntegerDigits = e.length;
|
1477
1589
|
}
|
1478
1590
|
return t;
|
1479
1591
|
}
|
1480
|
-
function
|
1481
|
-
var t = {}, r =
|
1592
|
+
function Xt(e) {
|
1593
|
+
var t = {}, r = Br(e);
|
1482
1594
|
return r || t;
|
1483
1595
|
}
|
1484
|
-
function
|
1596
|
+
function ui(e) {
|
1485
1597
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
1486
1598
|
var i = n[r];
|
1487
1599
|
switch (i.stem) {
|
@@ -1505,7 +1617,7 @@ function ni(e) {
|
|
1505
1617
|
continue;
|
1506
1618
|
case "measure-unit":
|
1507
1619
|
case "unit":
|
1508
|
-
t.style = "unit", t.unit =
|
1620
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
1509
1621
|
continue;
|
1510
1622
|
case "compact-short":
|
1511
1623
|
case "K":
|
@@ -1516,13 +1628,13 @@ function ni(e) {
|
|
1516
1628
|
t.notation = "compact", t.compactDisplay = "long";
|
1517
1629
|
continue;
|
1518
1630
|
case "scientific":
|
1519
|
-
t =
|
1520
|
-
return
|
1631
|
+
t = O(O(O({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
|
1632
|
+
return O(O({}, u), Xt(l));
|
1521
1633
|
}, {}));
|
1522
1634
|
continue;
|
1523
1635
|
case "engineering":
|
1524
|
-
t =
|
1525
|
-
return
|
1636
|
+
t = O(O(O({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
|
1637
|
+
return O(O({}, u), Xt(l));
|
1526
1638
|
}, {}));
|
1527
1639
|
continue;
|
1528
1640
|
case "notation-simple":
|
@@ -1567,45 +1679,45 @@ function ni(e) {
|
|
1567
1679
|
case "integer-width":
|
1568
1680
|
if (i.options.length > 1)
|
1569
1681
|
throw new RangeError("integer-width stems only accept a single optional option");
|
1570
|
-
i.options[0].replace(
|
1682
|
+
i.options[0].replace(ai, function(u, l, h, p, c, m) {
|
1571
1683
|
if (l)
|
1572
1684
|
t.minimumIntegerDigits = h.length;
|
1573
1685
|
else {
|
1574
|
-
if (
|
1686
|
+
if (p && c)
|
1575
1687
|
throw new Error("We currently do not support maximum integer digits");
|
1576
|
-
if (
|
1688
|
+
if (m)
|
1577
1689
|
throw new Error("We currently do not support exact integer digits");
|
1578
1690
|
}
|
1579
1691
|
return "";
|
1580
1692
|
});
|
1581
1693
|
continue;
|
1582
1694
|
}
|
1583
|
-
if (
|
1695
|
+
if (Fr.test(i.stem)) {
|
1584
1696
|
t.minimumIntegerDigits = i.stem.length;
|
1585
1697
|
continue;
|
1586
1698
|
}
|
1587
|
-
if (
|
1699
|
+
if (jt.test(i.stem)) {
|
1588
1700
|
if (i.options.length > 1)
|
1589
1701
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
1590
|
-
i.stem.replace(
|
1591
|
-
return h === "*" ? t.minimumFractionDigits = l.length :
|
1702
|
+
i.stem.replace(jt, function(u, l, h, p, c, m) {
|
1703
|
+
return h === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && m ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
|
1592
1704
|
});
|
1593
1705
|
var o = i.options[0];
|
1594
|
-
o === "w" ? t =
|
1706
|
+
o === "w" ? t = O(O({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = O(O({}, t), Vt(o)));
|
1595
1707
|
continue;
|
1596
1708
|
}
|
1597
|
-
if (
|
1598
|
-
t =
|
1709
|
+
if (Cr.test(i.stem)) {
|
1710
|
+
t = O(O({}, t), Vt(i.stem));
|
1599
1711
|
continue;
|
1600
1712
|
}
|
1601
|
-
var s =
|
1602
|
-
s && (t =
|
1603
|
-
var a =
|
1604
|
-
a && (t =
|
1713
|
+
var s = Br(i.stem);
|
1714
|
+
s && (t = O(O({}, t), s));
|
1715
|
+
var a = li(i.stem);
|
1716
|
+
a && (t = O(O({}, t), a));
|
1605
1717
|
}
|
1606
1718
|
return t;
|
1607
1719
|
}
|
1608
|
-
var
|
1720
|
+
var Ie = {
|
1609
1721
|
"001": [
|
1610
1722
|
"H",
|
1611
1723
|
"h"
|
@@ -3020,13 +3132,13 @@ var Oe = {
|
|
3020
3132
|
"h"
|
3021
3133
|
]
|
3022
3134
|
};
|
3023
|
-
function
|
3135
|
+
function hi(e, t) {
|
3024
3136
|
for (var r = "", n = 0; n < e.length; n++) {
|
3025
3137
|
var i = e.charAt(n);
|
3026
3138
|
if (i === "j") {
|
3027
3139
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
3028
3140
|
o++, n++;
|
3029
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l =
|
3141
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ci(t);
|
3030
3142
|
for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
|
3031
3143
|
r += u;
|
3032
3144
|
for (; s-- > 0; )
|
@@ -3036,7 +3148,7 @@ function ii(e, t) {
|
|
3036
3148
|
}
|
3037
3149
|
return r;
|
3038
3150
|
}
|
3039
|
-
function
|
3151
|
+
function ci(e) {
|
3040
3152
|
var t = e.hourCycle;
|
3041
3153
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
3042
3154
|
e.hourCycles && // @ts-ignore
|
@@ -3055,23 +3167,23 @@ function oi(e) {
|
|
3055
3167
|
}
|
3056
3168
|
var r = e.language, n;
|
3057
3169
|
r !== "root" && (n = e.maximize().region);
|
3058
|
-
var i =
|
3170
|
+
var i = Ie[n || ""] || Ie[r || ""] || Ie["".concat(r, "-001")] || Ie["001"];
|
3059
3171
|
return i[0];
|
3060
3172
|
}
|
3061
|
-
var
|
3062
|
-
function
|
3173
|
+
var et, fi = new RegExp("^".concat(Pr.source, "*")), pi = new RegExp("".concat(Pr.source, "*$"));
|
3174
|
+
function w(e, t) {
|
3063
3175
|
return { start: e, end: t };
|
3064
3176
|
}
|
3065
|
-
var
|
3177
|
+
var di = !!String.prototype.startsWith && "_a".startsWith("a", 1), mi = !!String.fromCodePoint, bi = !!Object.fromEntries, gi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, vi = !!String.prototype.trimEnd, _i = !!Number.isSafeInteger, xi = _i ? Number.isSafeInteger : function(e) {
|
3066
3178
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
3067
|
-
},
|
3179
|
+
}, dt = !0;
|
3068
3180
|
try {
|
3069
|
-
var
|
3070
|
-
|
3181
|
+
var Ei = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3182
|
+
dt = ((et = Ei.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
|
3071
3183
|
} catch (e) {
|
3072
|
-
|
3184
|
+
dt = !1;
|
3073
3185
|
}
|
3074
|
-
var
|
3186
|
+
var Wt = di ? (
|
3075
3187
|
// Native
|
3076
3188
|
function(t, r, n) {
|
3077
3189
|
return t.startsWith(r, n);
|
@@ -3081,7 +3193,7 @@ var Gt = li ? (
|
|
3081
3193
|
function(t, r, n) {
|
3082
3194
|
return t.slice(n, n + r.length) === r;
|
3083
3195
|
}
|
3084
|
-
),
|
3196
|
+
), mt = mi ? String.fromCodePoint : (
|
3085
3197
|
// IE11
|
3086
3198
|
function() {
|
3087
3199
|
for (var t = [], r = 0; r < arguments.length; r++)
|
@@ -3093,9 +3205,9 @@ var Gt = li ? (
|
|
3093
3205
|
}
|
3094
3206
|
return n;
|
3095
3207
|
}
|
3096
|
-
),
|
3208
|
+
), zt = (
|
3097
3209
|
// native
|
3098
|
-
|
3210
|
+
bi ? Object.fromEntries : (
|
3099
3211
|
// Ponyfill
|
3100
3212
|
function(t) {
|
3101
3213
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
@@ -3105,7 +3217,7 @@ var Gt = li ? (
|
|
3105
3217
|
return r;
|
3106
3218
|
}
|
3107
3219
|
)
|
3108
|
-
),
|
3220
|
+
), Or = gi ? (
|
3109
3221
|
// Native
|
3110
3222
|
function(t, r) {
|
3111
3223
|
return t.codePointAt(r);
|
@@ -3119,7 +3231,7 @@ var Gt = li ? (
|
|
3119
3231
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
3120
3232
|
}
|
3121
3233
|
}
|
3122
|
-
),
|
3234
|
+
), wi = yi ? (
|
3123
3235
|
// Native
|
3124
3236
|
function(t) {
|
3125
3237
|
return t.trimStart();
|
@@ -3127,9 +3239,9 @@ var Gt = li ? (
|
|
3127
3239
|
) : (
|
3128
3240
|
// Ponyfill
|
3129
3241
|
function(t) {
|
3130
|
-
return t.replace(
|
3242
|
+
return t.replace(fi, "");
|
3131
3243
|
}
|
3132
|
-
),
|
3244
|
+
), Si = vi ? (
|
3133
3245
|
// Native
|
3134
3246
|
function(t) {
|
3135
3247
|
return t.trimEnd();
|
@@ -3137,32 +3249,32 @@ var Gt = li ? (
|
|
3137
3249
|
) : (
|
3138
3250
|
// Ponyfill
|
3139
3251
|
function(t) {
|
3140
|
-
return t.replace(
|
3252
|
+
return t.replace(pi, "");
|
3141
3253
|
}
|
3142
3254
|
);
|
3143
|
-
function
|
3255
|
+
function Ir(e, t) {
|
3144
3256
|
return new RegExp(e, t);
|
3145
3257
|
}
|
3146
|
-
var
|
3147
|
-
if (
|
3148
|
-
var
|
3149
|
-
|
3258
|
+
var bt;
|
3259
|
+
if (dt) {
|
3260
|
+
var Zt = Ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
3261
|
+
bt = function(t, r) {
|
3150
3262
|
var n;
|
3151
|
-
|
3152
|
-
var i =
|
3263
|
+
Zt.lastIndex = r;
|
3264
|
+
var i = Zt.exec(t);
|
3153
3265
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
3154
3266
|
};
|
3155
3267
|
} else
|
3156
|
-
|
3268
|
+
bt = function(t, r) {
|
3157
3269
|
for (var n = []; ; ) {
|
3158
|
-
var i =
|
3159
|
-
if (i === void 0 ||
|
3270
|
+
var i = Or(t, r);
|
3271
|
+
if (i === void 0 || Lr(i) || Pi(i))
|
3160
3272
|
break;
|
3161
3273
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
3162
3274
|
}
|
3163
|
-
return
|
3275
|
+
return mt.apply(void 0, n);
|
3164
3276
|
};
|
3165
|
-
var
|
3277
|
+
var Ti = (
|
3166
3278
|
/** @class */
|
3167
3279
|
function() {
|
3168
3280
|
function e(t, r) {
|
@@ -3186,14 +3298,14 @@ var yi = (
|
|
3186
3298
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
3187
3299
|
var a = this.clonePosition();
|
3188
3300
|
this.bump(), i.push({
|
3189
|
-
type:
|
3190
|
-
location:
|
3301
|
+
type: F.pound,
|
3302
|
+
location: w(a, this.clonePosition())
|
3191
3303
|
});
|
3192
3304
|
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
3193
3305
|
if (n)
|
3194
3306
|
break;
|
3195
|
-
return this.error(E.UNMATCHED_CLOSING_TAG,
|
3196
|
-
} else if (o === 60 && !this.ignoreTag &&
|
3307
|
+
return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
|
3308
|
+
} else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
|
3197
3309
|
var s = this.parseTag(t, r);
|
3198
3310
|
if (s.err)
|
3199
3311
|
return s;
|
@@ -3214,9 +3326,9 @@ var yi = (
|
|
3214
3326
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
3215
3327
|
return {
|
3216
3328
|
val: {
|
3217
|
-
type:
|
3329
|
+
type: F.literal,
|
3218
3330
|
value: "<".concat(i, "/>"),
|
3219
|
-
location:
|
3331
|
+
location: w(n, this.clonePosition())
|
3220
3332
|
},
|
3221
3333
|
err: null
|
3222
3334
|
};
|
@@ -3226,25 +3338,25 @@ var yi = (
|
|
3226
3338
|
return o;
|
3227
3339
|
var s = o.val, a = this.clonePosition();
|
3228
3340
|
if (this.bumpIf("</")) {
|
3229
|
-
if (this.isEOF() || !
|
3230
|
-
return this.error(E.INVALID_TAG,
|
3341
|
+
if (this.isEOF() || !gt(this.char()))
|
3342
|
+
return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
|
3231
3343
|
var u = this.clonePosition(), l = this.parseTagName();
|
3232
|
-
return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG,
|
3344
|
+
return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
3233
3345
|
val: {
|
3234
|
-
type:
|
3346
|
+
type: F.tag,
|
3235
3347
|
value: i,
|
3236
3348
|
children: s,
|
3237
|
-
location:
|
3349
|
+
location: w(n, this.clonePosition())
|
3238
3350
|
},
|
3239
3351
|
err: null
|
3240
|
-
} : this.error(E.INVALID_TAG,
|
3352
|
+
} : this.error(E.INVALID_TAG, w(a, this.clonePosition())));
|
3241
3353
|
} else
|
3242
|
-
return this.error(E.UNCLOSED_TAG,
|
3354
|
+
return this.error(E.UNCLOSED_TAG, w(n, this.clonePosition()));
|
3243
3355
|
} else
|
3244
|
-
return this.error(E.INVALID_TAG,
|
3356
|
+
return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
|
3245
3357
|
}, e.prototype.parseTagName = function() {
|
3246
3358
|
var t = this.offset();
|
3247
|
-
for (this.bump(); !this.isEOF() &&
|
3359
|
+
for (this.bump(); !this.isEOF() && Ai(this.char()); )
|
3248
3360
|
this.bump();
|
3249
3361
|
return this.message.slice(t, this.offset());
|
3250
3362
|
}, e.prototype.parseLiteral = function(t, r) {
|
@@ -3266,14 +3378,14 @@ var yi = (
|
|
3266
3378
|
}
|
3267
3379
|
break;
|
3268
3380
|
}
|
3269
|
-
var u =
|
3381
|
+
var u = w(n, this.clonePosition());
|
3270
3382
|
return {
|
3271
|
-
val: { type:
|
3383
|
+
val: { type: F.literal, value: i, location: u },
|
3272
3384
|
err: null
|
3273
3385
|
};
|
3274
3386
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
3275
3387
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
3276
|
-
!
|
3388
|
+
!Hi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
3277
3389
|
}, e.prototype.tryParseQuote = function(t) {
|
3278
3390
|
if (this.isEOF() || this.char() !== 39)
|
3279
3391
|
return null;
|
@@ -3307,49 +3419,49 @@ var yi = (
|
|
3307
3419
|
r.push(n);
|
3308
3420
|
this.bump();
|
3309
3421
|
}
|
3310
|
-
return
|
3422
|
+
return mt.apply(void 0, r);
|
3311
3423
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
3312
3424
|
if (this.isEOF())
|
3313
3425
|
return null;
|
3314
3426
|
var n = this.char();
|
3315
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
3427
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), mt(n));
|
3316
3428
|
}, e.prototype.parseArgument = function(t, r) {
|
3317
3429
|
var n = this.clonePosition();
|
3318
3430
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
3319
|
-
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3431
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
3320
3432
|
if (this.char() === 125)
|
3321
|
-
return this.bump(), this.error(E.EMPTY_ARGUMENT,
|
3433
|
+
return this.bump(), this.error(E.EMPTY_ARGUMENT, w(n, this.clonePosition()));
|
3322
3434
|
var i = this.parseIdentifierIfPossible().value;
|
3323
3435
|
if (!i)
|
3324
|
-
return this.error(E.MALFORMED_ARGUMENT,
|
3436
|
+
return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
3325
3437
|
if (this.bumpSpace(), this.isEOF())
|
3326
|
-
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3438
|
+
return this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition()));
|
3327
3439
|
switch (this.char()) {
|
3328
3440
|
case 125:
|
3329
3441
|
return this.bump(), {
|
3330
3442
|
val: {
|
3331
|
-
type:
|
3443
|
+
type: F.argument,
|
3332
3444
|
// value does not include the opening and closing braces.
|
3333
3445
|
value: i,
|
3334
|
-
location:
|
3446
|
+
location: w(n, this.clonePosition())
|
3335
3447
|
},
|
3336
3448
|
err: null
|
3337
3449
|
};
|
3338
3450
|
case 44:
|
3339
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3451
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
3340
3452
|
default:
|
3341
|
-
return this.error(E.MALFORMED_ARGUMENT,
|
3453
|
+
return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
|
3342
3454
|
}
|
3343
3455
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
3344
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
3456
|
+
var t = this.clonePosition(), r = this.offset(), n = bt(this.message, r), i = r + n.length;
|
3345
3457
|
this.bumpTo(i);
|
3346
|
-
var o = this.clonePosition(), s =
|
3458
|
+
var o = this.clonePosition(), s = w(t, o);
|
3347
3459
|
return { value: n, location: s };
|
3348
3460
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
3349
3461
|
var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
|
3350
3462
|
switch (a) {
|
3351
3463
|
case "":
|
3352
|
-
return this.error(E.EXPECT_ARGUMENT_TYPE,
|
3464
|
+
return this.error(E.EXPECT_ARGUMENT_TYPE, w(s, u));
|
3353
3465
|
case "number":
|
3354
3466
|
case "date":
|
3355
3467
|
case "time": {
|
@@ -3357,49 +3469,49 @@ var yi = (
|
|
3357
3469
|
var l = null;
|
3358
3470
|
if (this.bumpIf(",")) {
|
3359
3471
|
this.bumpSpace();
|
3360
|
-
var h = this.clonePosition(),
|
3361
|
-
if (
|
3362
|
-
return
|
3363
|
-
var c =
|
3472
|
+
var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
|
3473
|
+
if (p.err)
|
3474
|
+
return p;
|
3475
|
+
var c = Si(p.val);
|
3364
3476
|
if (c.length === 0)
|
3365
|
-
return this.error(E.EXPECT_ARGUMENT_STYLE,
|
3366
|
-
var
|
3367
|
-
l = { style: c, styleLocation:
|
3477
|
+
return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
|
3478
|
+
var m = w(h, this.clonePosition());
|
3479
|
+
l = { style: c, styleLocation: m };
|
3368
3480
|
}
|
3369
|
-
var
|
3370
|
-
if (
|
3371
|
-
return
|
3372
|
-
var
|
3373
|
-
if (l &&
|
3374
|
-
var
|
3481
|
+
var v = this.tryParseArgumentClose(i);
|
3482
|
+
if (v.err)
|
3483
|
+
return v;
|
3484
|
+
var y = w(i, this.clonePosition());
|
3485
|
+
if (l && Wt(l == null ? void 0 : l.style, "::", 0)) {
|
3486
|
+
var T = wi(l.style.slice(2));
|
3375
3487
|
if (a === "number") {
|
3376
|
-
var
|
3377
|
-
return
|
3378
|
-
val: { type:
|
3488
|
+
var p = this.parseNumberSkeletonFromString(T, l.styleLocation);
|
3489
|
+
return p.err ? p : {
|
3490
|
+
val: { type: F.number, value: n, location: y, style: p.val },
|
3379
3491
|
err: null
|
3380
3492
|
};
|
3381
3493
|
} else {
|
3382
|
-
if (
|
3383
|
-
return this.error(E.EXPECT_DATE_TIME_SKELETON,
|
3384
|
-
var
|
3385
|
-
this.locale && (
|
3494
|
+
if (T.length === 0)
|
3495
|
+
return this.error(E.EXPECT_DATE_TIME_SKELETON, y);
|
3496
|
+
var H = T;
|
3497
|
+
this.locale && (H = hi(T, this.locale));
|
3386
3498
|
var c = {
|
3387
3499
|
type: me.dateTime,
|
3388
|
-
pattern:
|
3500
|
+
pattern: H,
|
3389
3501
|
location: l.styleLocation,
|
3390
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3391
|
-
},
|
3502
|
+
parsedOptions: this.shouldParseSkeletons ? ni(H) : {}
|
3503
|
+
}, S = a === "date" ? F.date : F.time;
|
3392
3504
|
return {
|
3393
|
-
val: { type:
|
3505
|
+
val: { type: S, value: n, location: y, style: c },
|
3394
3506
|
err: null
|
3395
3507
|
};
|
3396
3508
|
}
|
3397
3509
|
}
|
3398
3510
|
return {
|
3399
3511
|
val: {
|
3400
|
-
type: a === "number" ?
|
3512
|
+
type: a === "number" ? F.number : a === "date" ? F.date : F.time,
|
3401
3513
|
value: n,
|
3402
|
-
location:
|
3514
|
+
location: y,
|
3403
3515
|
style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
|
3404
3516
|
},
|
3405
3517
|
err: null
|
@@ -3408,52 +3520,52 @@ var yi = (
|
|
3408
3520
|
case "plural":
|
3409
3521
|
case "selectordinal":
|
3410
3522
|
case "select": {
|
3411
|
-
var
|
3523
|
+
var b = this.clonePosition();
|
3412
3524
|
if (this.bumpSpace(), !this.bumpIf(","))
|
3413
|
-
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
3525
|
+
return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(b, $e({}, b)));
|
3414
3526
|
this.bumpSpace();
|
3415
|
-
var
|
3416
|
-
if (a !== "select" &&
|
3527
|
+
var I = this.parseIdentifierIfPossible(), L = 0;
|
3528
|
+
if (a !== "select" && I.value === "offset") {
|
3417
3529
|
if (!this.bumpIf(":"))
|
3418
|
-
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
3530
|
+
return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
|
3419
3531
|
this.bumpSpace();
|
3420
|
-
var
|
3421
|
-
if (
|
3422
|
-
return
|
3423
|
-
this.bumpSpace(),
|
3532
|
+
var p = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
3533
|
+
if (p.err)
|
3534
|
+
return p;
|
3535
|
+
this.bumpSpace(), I = this.parseIdentifierIfPossible(), L = p.val;
|
3424
3536
|
}
|
3425
|
-
var R = this.tryParsePluralOrSelectOptions(t, a, r,
|
3537
|
+
var R = this.tryParsePluralOrSelectOptions(t, a, r, I);
|
3426
3538
|
if (R.err)
|
3427
3539
|
return R;
|
3428
|
-
var
|
3429
|
-
if (
|
3430
|
-
return
|
3431
|
-
var
|
3540
|
+
var v = this.tryParseArgumentClose(i);
|
3541
|
+
if (v.err)
|
3542
|
+
return v;
|
3543
|
+
var A = w(i, this.clonePosition());
|
3432
3544
|
return a === "select" ? {
|
3433
3545
|
val: {
|
3434
|
-
type:
|
3546
|
+
type: F.select,
|
3435
3547
|
value: n,
|
3436
|
-
options:
|
3437
|
-
location:
|
3548
|
+
options: zt(R.val),
|
3549
|
+
location: A
|
3438
3550
|
},
|
3439
3551
|
err: null
|
3440
3552
|
} : {
|
3441
3553
|
val: {
|
3442
|
-
type:
|
3554
|
+
type: F.plural,
|
3443
3555
|
value: n,
|
3444
|
-
options:
|
3445
|
-
offset:
|
3556
|
+
options: zt(R.val),
|
3557
|
+
offset: L,
|
3446
3558
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
3447
|
-
location:
|
3559
|
+
location: A
|
3448
3560
|
},
|
3449
3561
|
err: null
|
3450
3562
|
};
|
3451
3563
|
}
|
3452
3564
|
default:
|
3453
|
-
return this.error(E.INVALID_ARGUMENT_TYPE,
|
3565
|
+
return this.error(E.INVALID_ARGUMENT_TYPE, w(s, u));
|
3454
3566
|
}
|
3455
3567
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
3456
|
-
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE,
|
3568
|
+
return this.isEOF() || this.char() !== 125 ? this.error(E.EXPECT_ARGUMENT_CLOSING_BRACE, w(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
3457
3569
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
3458
3570
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
3459
3571
|
var n = this.char();
|
@@ -3462,7 +3574,7 @@ var yi = (
|
|
3462
3574
|
this.bump();
|
3463
3575
|
var i = this.clonePosition();
|
3464
3576
|
if (!this.bumpUntil("'"))
|
3465
|
-
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
3577
|
+
return this.error(E.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, w(i, this.clonePosition()));
|
3466
3578
|
this.bump();
|
3467
3579
|
break;
|
3468
3580
|
}
|
@@ -3492,7 +3604,7 @@ var yi = (
|
|
3492
3604
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
3493
3605
|
var n = [];
|
3494
3606
|
try {
|
3495
|
-
n =
|
3607
|
+
n = oi(t);
|
3496
3608
|
} catch (i) {
|
3497
3609
|
return this.error(E.INVALID_NUMBER_SKELETON, r);
|
3498
3610
|
}
|
@@ -3501,43 +3613,43 @@ var yi = (
|
|
3501
3613
|
type: me.number,
|
3502
3614
|
tokens: n,
|
3503
3615
|
location: r,
|
3504
|
-
parsedOptions: this.shouldParseSkeletons ?
|
3616
|
+
parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
|
3505
3617
|
},
|
3506
3618
|
err: null
|
3507
3619
|
};
|
3508
3620
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
3509
3621
|
for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
|
3510
3622
|
if (l.length === 0) {
|
3511
|
-
var
|
3623
|
+
var p = this.clonePosition();
|
3512
3624
|
if (r !== "select" && this.bumpIf("=")) {
|
3513
3625
|
var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_SELECTOR, E.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
3514
3626
|
if (c.err)
|
3515
3627
|
return c;
|
3516
|
-
h =
|
3628
|
+
h = w(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
|
3517
3629
|
} else
|
3518
3630
|
break;
|
3519
3631
|
}
|
3520
3632
|
if (u.has(l))
|
3521
3633
|
return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
3522
3634
|
l === "other" && (s = !0), this.bumpSpace();
|
3523
|
-
var
|
3635
|
+
var m = this.clonePosition();
|
3524
3636
|
if (!this.bumpIf("{"))
|
3525
|
-
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
3526
|
-
var
|
3527
|
-
if (
|
3528
|
-
return
|
3529
|
-
var
|
3530
|
-
if (
|
3531
|
-
return
|
3637
|
+
return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
|
3638
|
+
var v = this.parseMessage(t + 1, r, n);
|
3639
|
+
if (v.err)
|
3640
|
+
return v;
|
3641
|
+
var y = this.tryParseArgumentClose(m);
|
3642
|
+
if (y.err)
|
3643
|
+
return y;
|
3532
3644
|
a.push([
|
3533
3645
|
l,
|
3534
3646
|
{
|
3535
|
-
value:
|
3536
|
-
location:
|
3647
|
+
value: v.val,
|
3648
|
+
location: w(m, this.clonePosition())
|
3537
3649
|
}
|
3538
3650
|
]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
|
3539
3651
|
}
|
3540
|
-
return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
3652
|
+
return a.length === 0 ? this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR : E.EXPECT_PLURAL_ARGUMENT_SELECTOR, w(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(E.MISSING_OTHER_CLAUSE, w(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
3541
3653
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
3542
3654
|
var n = 1, i = this.clonePosition();
|
3543
3655
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
@@ -3548,8 +3660,8 @@ var yi = (
|
|
3548
3660
|
else
|
3549
3661
|
break;
|
3550
3662
|
}
|
3551
|
-
var u =
|
3552
|
-
return o ? (s *= n,
|
3663
|
+
var u = w(i, this.clonePosition());
|
3664
|
+
return o ? (s *= n, xi(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
|
3553
3665
|
}, e.prototype.offset = function() {
|
3554
3666
|
return this.position.offset;
|
3555
3667
|
}, e.prototype.isEOF = function() {
|
@@ -3564,7 +3676,7 @@ var yi = (
|
|
3564
3676
|
var t = this.position.offset;
|
3565
3677
|
if (t >= this.message.length)
|
3566
3678
|
throw Error("out of bound");
|
3567
|
-
var r =
|
3679
|
+
var r = Or(this.message, t);
|
3568
3680
|
if (r === void 0)
|
3569
3681
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
3570
3682
|
return r;
|
@@ -3583,7 +3695,7 @@ var yi = (
|
|
3583
3695
|
t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
|
3584
3696
|
}
|
3585
3697
|
}, e.prototype.bumpIf = function(t) {
|
3586
|
-
if (
|
3698
|
+
if (Wt(this.message, t, this.offset())) {
|
3587
3699
|
for (var r = 0; r < t.length; r++)
|
3588
3700
|
this.bump();
|
3589
3701
|
return !0;
|
@@ -3605,7 +3717,7 @@ var yi = (
|
|
3605
3717
|
break;
|
3606
3718
|
}
|
3607
3719
|
}, e.prototype.bumpSpace = function() {
|
3608
|
-
for (; !this.isEOF() &&
|
3720
|
+
for (; !this.isEOF() && Lr(this.char()); )
|
3609
3721
|
this.bump();
|
3610
3722
|
}, e.prototype.peek = function() {
|
3611
3723
|
if (this.isEOF())
|
@@ -3615,47 +3727,47 @@ var yi = (
|
|
3615
3727
|
}, e;
|
3616
3728
|
}()
|
3617
3729
|
);
|
3618
|
-
function
|
3730
|
+
function gt(e) {
|
3619
3731
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
3620
3732
|
}
|
3621
|
-
function
|
3622
|
-
return
|
3733
|
+
function Hi(e) {
|
3734
|
+
return gt(e) || e === 47;
|
3623
3735
|
}
|
3624
|
-
function
|
3736
|
+
function Ai(e) {
|
3625
3737
|
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;
|
3626
3738
|
}
|
3627
|
-
function
|
3739
|
+
function Lr(e) {
|
3628
3740
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
3629
3741
|
}
|
3630
|
-
function
|
3742
|
+
function Pi(e) {
|
3631
3743
|
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;
|
3632
3744
|
}
|
3633
|
-
function
|
3745
|
+
function yt(e) {
|
3634
3746
|
e.forEach(function(t) {
|
3635
|
-
if (delete t.location,
|
3747
|
+
if (delete t.location, Sr(t) || Tr(t))
|
3636
3748
|
for (var r in t.options)
|
3637
|
-
delete t.options[r].location,
|
3749
|
+
delete t.options[r].location, yt(t.options[r].value);
|
3638
3750
|
else
|
3639
|
-
|
3751
|
+
xr(t) && Ar(t.style) || (Er(t) || wr(t)) && pt(t.style) ? delete t.style.location : Hr(t) && yt(t.children);
|
3640
3752
|
});
|
3641
3753
|
}
|
3642
|
-
function
|
3643
|
-
t === void 0 && (t = {}), t =
|
3644
|
-
var r = new
|
3754
|
+
function Ci(e, t) {
|
3755
|
+
t === void 0 && (t = {}), t = $e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
3756
|
+
var r = new Ti(e, t).parse();
|
3645
3757
|
if (r.err) {
|
3646
3758
|
var n = SyntaxError(E[r.err.kind]);
|
3647
3759
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
3648
3760
|
}
|
3649
|
-
return t != null && t.captureLocation ||
|
3761
|
+
return t != null && t.captureLocation || yt(r.val), r.val;
|
3650
3762
|
}
|
3651
3763
|
var be;
|
3652
3764
|
(function(e) {
|
3653
3765
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
3654
3766
|
})(be || (be = {}));
|
3655
|
-
var
|
3767
|
+
var Xe = (
|
3656
3768
|
/** @class */
|
3657
3769
|
function(e) {
|
3658
|
-
|
3770
|
+
Ve(t, e);
|
3659
3771
|
function t(r, n, i) {
|
3660
3772
|
var o = e.call(this, r) || this;
|
3661
3773
|
return o.code = n, o.originalMessage = i, o;
|
@@ -3664,48 +3776,48 @@ var ke = (
|
|
3664
3776
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
3665
3777
|
}, t;
|
3666
3778
|
}(Error)
|
3667
|
-
),
|
3779
|
+
), Jt = (
|
3668
3780
|
/** @class */
|
3669
3781
|
function(e) {
|
3670
|
-
|
3782
|
+
Ve(t, e);
|
3671
3783
|
function t(r, n, i, o) {
|
3672
3784
|
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), be.INVALID_VALUE, o) || this;
|
3673
3785
|
}
|
3674
3786
|
return t;
|
3675
|
-
}(
|
3676
|
-
),
|
3787
|
+
}(Xe)
|
3788
|
+
), Fi = (
|
3677
3789
|
/** @class */
|
3678
3790
|
function(e) {
|
3679
|
-
|
3791
|
+
Ve(t, e);
|
3680
3792
|
function t(r, n, i) {
|
3681
3793
|
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), be.INVALID_VALUE, i) || this;
|
3682
3794
|
}
|
3683
3795
|
return t;
|
3684
|
-
}(
|
3685
|
-
),
|
3796
|
+
}(Xe)
|
3797
|
+
), Bi = (
|
3686
3798
|
/** @class */
|
3687
3799
|
function(e) {
|
3688
|
-
|
3800
|
+
Ve(t, e);
|
3689
3801
|
function t(r, n) {
|
3690
3802
|
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), be.MISSING_VALUE, n) || this;
|
3691
3803
|
}
|
3692
3804
|
return t;
|
3693
|
-
}(
|
3805
|
+
}(Xe)
|
3694
3806
|
), D;
|
3695
3807
|
(function(e) {
|
3696
3808
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
3697
3809
|
})(D || (D = {}));
|
3698
|
-
function
|
3810
|
+
function Oi(e) {
|
3699
3811
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
3700
3812
|
var n = t[t.length - 1];
|
3701
3813
|
return !n || n.type !== D.literal || r.type !== D.literal ? t.push(r) : n.value += r.value, t;
|
3702
3814
|
}, []);
|
3703
3815
|
}
|
3704
|
-
function
|
3816
|
+
function Ii(e) {
|
3705
3817
|
return typeof e == "function";
|
3706
3818
|
}
|
3707
|
-
function
|
3708
|
-
if (e.length === 1 &&
|
3819
|
+
function Me(e, t, r, n, i, o, s) {
|
3820
|
+
if (e.length === 1 && kt(e[0]))
|
3709
3821
|
return [
|
3710
3822
|
{
|
3711
3823
|
type: D.literal,
|
@@ -3714,105 +3826,105 @@ function Ne(e, t, r, n, i, o, s) {
|
|
3714
3826
|
];
|
3715
3827
|
for (var a = [], u = 0, l = e; u < l.length; u++) {
|
3716
3828
|
var h = l[u];
|
3717
|
-
if (
|
3829
|
+
if (kt(h)) {
|
3718
3830
|
a.push({
|
3719
3831
|
type: D.literal,
|
3720
3832
|
value: h.value
|
3721
3833
|
});
|
3722
3834
|
continue;
|
3723
3835
|
}
|
3724
|
-
if (
|
3836
|
+
if (ti(h)) {
|
3725
3837
|
typeof o == "number" && a.push({
|
3726
3838
|
type: D.literal,
|
3727
3839
|
value: r.getNumberFormat(t).format(o)
|
3728
3840
|
});
|
3729
3841
|
continue;
|
3730
3842
|
}
|
3731
|
-
var
|
3732
|
-
if (!(i &&
|
3733
|
-
throw new
|
3734
|
-
var c = i[
|
3735
|
-
if (
|
3843
|
+
var p = h.value;
|
3844
|
+
if (!(i && p in i))
|
3845
|
+
throw new Bi(p, s);
|
3846
|
+
var c = i[p];
|
3847
|
+
if (ei(h)) {
|
3736
3848
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
3737
3849
|
type: typeof c == "string" ? D.literal : D.object,
|
3738
3850
|
value: c
|
3739
3851
|
});
|
3740
3852
|
continue;
|
3741
3853
|
}
|
3742
|
-
if (
|
3743
|
-
var
|
3854
|
+
if (Er(h)) {
|
3855
|
+
var m = typeof h.style == "string" ? n.date[h.style] : pt(h.style) ? h.style.parsedOptions : void 0;
|
3744
3856
|
a.push({
|
3745
3857
|
type: D.literal,
|
3746
|
-
value: r.getDateTimeFormat(t,
|
3858
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
3747
3859
|
});
|
3748
3860
|
continue;
|
3749
3861
|
}
|
3750
|
-
if (
|
3751
|
-
var
|
3862
|
+
if (wr(h)) {
|
3863
|
+
var m = typeof h.style == "string" ? n.time[h.style] : pt(h.style) ? h.style.parsedOptions : n.time.medium;
|
3752
3864
|
a.push({
|
3753
3865
|
type: D.literal,
|
3754
|
-
value: r.getDateTimeFormat(t,
|
3866
|
+
value: r.getDateTimeFormat(t, m).format(c)
|
3755
3867
|
});
|
3756
3868
|
continue;
|
3757
3869
|
}
|
3758
|
-
if (
|
3759
|
-
var
|
3760
|
-
|
3870
|
+
if (xr(h)) {
|
3871
|
+
var m = typeof h.style == "string" ? n.number[h.style] : Ar(h.style) ? h.style.parsedOptions : void 0;
|
3872
|
+
m && m.scale && (c = c * (m.scale || 1)), a.push({
|
3761
3873
|
type: D.literal,
|
3762
|
-
value: r.getNumberFormat(t,
|
3874
|
+
value: r.getNumberFormat(t, m).format(c)
|
3763
3875
|
});
|
3764
3876
|
continue;
|
3765
3877
|
}
|
3766
|
-
if (
|
3767
|
-
var
|
3768
|
-
if (!
|
3769
|
-
throw new
|
3770
|
-
var
|
3771
|
-
return
|
3878
|
+
if (Hr(h)) {
|
3879
|
+
var v = h.children, y = h.value, T = i[y];
|
3880
|
+
if (!Ii(T))
|
3881
|
+
throw new Fi(y, "function", s);
|
3882
|
+
var H = Me(v, t, r, n, i, o), S = T(H.map(function(L) {
|
3883
|
+
return L.value;
|
3772
3884
|
}));
|
3773
|
-
Array.isArray(
|
3885
|
+
Array.isArray(S) || (S = [S]), a.push.apply(a, S.map(function(L) {
|
3774
3886
|
return {
|
3775
|
-
type: typeof
|
3776
|
-
value:
|
3887
|
+
type: typeof L == "string" ? D.literal : D.object,
|
3888
|
+
value: L
|
3777
3889
|
};
|
3778
3890
|
}));
|
3779
3891
|
}
|
3780
|
-
if (
|
3781
|
-
var
|
3782
|
-
if (!
|
3783
|
-
throw new
|
3784
|
-
a.push.apply(a,
|
3892
|
+
if (Sr(h)) {
|
3893
|
+
var b = h.options[c] || h.options.other;
|
3894
|
+
if (!b)
|
3895
|
+
throw new Jt(h.value, c, Object.keys(h.options), s);
|
3896
|
+
a.push.apply(a, Me(b.value, t, r, n, i));
|
3785
3897
|
continue;
|
3786
3898
|
}
|
3787
|
-
if (
|
3788
|
-
var
|
3789
|
-
if (!
|
3899
|
+
if (Tr(h)) {
|
3900
|
+
var b = h.options["=".concat(c)];
|
3901
|
+
if (!b) {
|
3790
3902
|
if (!Intl.PluralRules)
|
3791
|
-
throw new
|
3903
|
+
throw new Xe(`Intl.PluralRules is not available in this environment.
|
3792
3904
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
3793
3905
|
`, be.MISSING_INTL_API, s);
|
3794
|
-
var
|
3795
|
-
|
3906
|
+
var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
3907
|
+
b = h.options[I] || h.options.other;
|
3796
3908
|
}
|
3797
|
-
if (!
|
3798
|
-
throw new
|
3799
|
-
a.push.apply(a,
|
3909
|
+
if (!b)
|
3910
|
+
throw new Jt(h.value, c, Object.keys(h.options), s);
|
3911
|
+
a.push.apply(a, Me(b.value, t, r, n, i, c - (h.offset || 0)));
|
3800
3912
|
continue;
|
3801
3913
|
}
|
3802
3914
|
}
|
3803
|
-
return
|
3915
|
+
return Oi(a);
|
3804
3916
|
}
|
3805
|
-
function
|
3806
|
-
return t ?
|
3807
|
-
return r[n] =
|
3917
|
+
function Li(e, t) {
|
3918
|
+
return t ? W(W(W({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
3919
|
+
return r[n] = W(W({}, e[n]), t[n] || {}), r;
|
3808
3920
|
}, {})) : e;
|
3809
3921
|
}
|
3810
|
-
function
|
3922
|
+
function Ni(e, t) {
|
3811
3923
|
return t ? Object.keys(e).reduce(function(r, n) {
|
3812
|
-
return r[n] =
|
3813
|
-
},
|
3924
|
+
return r[n] = Li(e[n], t[n]), r;
|
3925
|
+
}, W({}, e)) : e;
|
3814
3926
|
}
|
3815
|
-
function
|
3927
|
+
function tt(e) {
|
3816
3928
|
return {
|
3817
3929
|
create: function() {
|
3818
3930
|
return {
|
@@ -3826,39 +3938,39 @@ function Ye(e) {
|
|
3826
3938
|
}
|
3827
3939
|
};
|
3828
3940
|
}
|
3829
|
-
function
|
3941
|
+
function Mi(e) {
|
3830
3942
|
return e === void 0 && (e = {
|
3831
3943
|
number: {},
|
3832
3944
|
dateTime: {},
|
3833
3945
|
pluralRules: {}
|
3834
3946
|
}), {
|
3835
|
-
getNumberFormat:
|
3947
|
+
getNumberFormat: Ye(function() {
|
3836
3948
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3837
3949
|
r[n] = arguments[n];
|
3838
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
3950
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
|
3839
3951
|
}, {
|
3840
|
-
cache:
|
3841
|
-
strategy:
|
3952
|
+
cache: tt(e.number),
|
3953
|
+
strategy: Ke.variadic
|
3842
3954
|
}),
|
3843
|
-
getDateTimeFormat:
|
3955
|
+
getDateTimeFormat: Ye(function() {
|
3844
3956
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3845
3957
|
r[n] = arguments[n];
|
3846
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
3958
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
|
3847
3959
|
}, {
|
3848
|
-
cache:
|
3849
|
-
strategy:
|
3960
|
+
cache: tt(e.dateTime),
|
3961
|
+
strategy: Ke.variadic
|
3850
3962
|
}),
|
3851
|
-
getPluralRules:
|
3963
|
+
getPluralRules: Ye(function() {
|
3852
3964
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
3853
3965
|
r[n] = arguments[n];
|
3854
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
3966
|
+
return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
|
3855
3967
|
}, {
|
3856
|
-
cache:
|
3857
|
-
strategy:
|
3968
|
+
cache: tt(e.pluralRules),
|
3969
|
+
strategy: Ke.variadic
|
3858
3970
|
})
|
3859
3971
|
};
|
3860
3972
|
}
|
3861
|
-
var
|
3973
|
+
var Ri = (
|
3862
3974
|
/** @class */
|
3863
3975
|
function() {
|
3864
3976
|
function e(t, r, n, i) {
|
@@ -3872,12 +3984,12 @@ var Bi = (
|
|
3872
3984
|
var l = o.formatToParts(u);
|
3873
3985
|
if (l.length === 1)
|
3874
3986
|
return l[0].value;
|
3875
|
-
var h = l.reduce(function(
|
3876
|
-
return !
|
3987
|
+
var h = l.reduce(function(p, c) {
|
3988
|
+
return !p.length || c.type !== D.literal || typeof p[p.length - 1] != "string" ? p.push(c.value) : p[p.length - 1] += c.value, p;
|
3877
3989
|
}, []);
|
3878
3990
|
return h.length <= 1 ? h[0] || "" : h;
|
3879
3991
|
}, this.formatToParts = function(u) {
|
3880
|
-
return
|
3992
|
+
return Me(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
|
3881
3993
|
}, this.resolvedOptions = function() {
|
3882
3994
|
var u;
|
3883
3995
|
return {
|
@@ -3890,13 +4002,13 @@ var Bi = (
|
|
3890
4002
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
3891
4003
|
var s = i || {};
|
3892
4004
|
s.formatters;
|
3893
|
-
var a =
|
3894
|
-
this.ast = e.__parse(t,
|
4005
|
+
var a = Wn(s, ["formatters"]);
|
4006
|
+
this.ast = e.__parse(t, W(W({}, a), { locale: this.resolvedLocale }));
|
3895
4007
|
} else
|
3896
4008
|
this.ast = t;
|
3897
4009
|
if (!Array.isArray(this.ast))
|
3898
4010
|
throw new TypeError("A message must be provided as a String or AST.");
|
3899
|
-
this.formats =
|
4011
|
+
this.formats = Ni(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
|
3900
4012
|
}
|
3901
4013
|
return Object.defineProperty(e, "defaultLocale", {
|
3902
4014
|
get: function() {
|
@@ -3909,7 +4021,7 @@ var Bi = (
|
|
3909
4021
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
3910
4022
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
3911
4023
|
}
|
3912
|
-
}, e.__parse =
|
4024
|
+
}, e.__parse = Ci, e.formats = {
|
3913
4025
|
number: {
|
3914
4026
|
integer: {
|
3915
4027
|
maximumFractionDigits: 0
|
@@ -3970,7 +4082,7 @@ var Bi = (
|
|
3970
4082
|
}, e;
|
3971
4083
|
}()
|
3972
4084
|
);
|
3973
|
-
function
|
4085
|
+
function Di(e, t) {
|
3974
4086
|
if (t == null)
|
3975
4087
|
return;
|
3976
4088
|
if (t in e)
|
@@ -3991,92 +4103,92 @@ function Oi(e, t) {
|
|
3991
4103
|
n = void 0;
|
3992
4104
|
return n;
|
3993
4105
|
}
|
3994
|
-
const q = {},
|
4106
|
+
const q = {}, $i = (e, t, r) => r && (t in q || (q[t] = {}), e in q[t] || (q[t][e] = r), r), Nr = (e, t) => {
|
3995
4107
|
if (t == null)
|
3996
4108
|
return;
|
3997
4109
|
if (t in q && e in q[t])
|
3998
4110
|
return q[t][e];
|
3999
|
-
const r =
|
4111
|
+
const r = We(t);
|
4000
4112
|
for (let n = 0; n < r.length; n++) {
|
4001
|
-
const i = r[n], o =
|
4113
|
+
const i = r[n], o = Gi(i, e);
|
4002
4114
|
if (o)
|
4003
|
-
return
|
4115
|
+
return $i(e, t, o);
|
4004
4116
|
}
|
4005
4117
|
};
|
4006
|
-
let
|
4007
|
-
const
|
4008
|
-
function
|
4009
|
-
return
|
4118
|
+
let Et;
|
4119
|
+
const ve = je({});
|
4120
|
+
function Ui(e) {
|
4121
|
+
return Et[e] || null;
|
4010
4122
|
}
|
4011
|
-
function
|
4012
|
-
return e in
|
4123
|
+
function Mr(e) {
|
4124
|
+
return e in Et;
|
4013
4125
|
}
|
4014
|
-
function
|
4015
|
-
if (!
|
4126
|
+
function Gi(e, t) {
|
4127
|
+
if (!Mr(e))
|
4016
4128
|
return null;
|
4017
|
-
const r =
|
4018
|
-
return
|
4129
|
+
const r = Ui(e);
|
4130
|
+
return Di(r, t);
|
4019
4131
|
}
|
4020
|
-
function
|
4132
|
+
function ki(e) {
|
4021
4133
|
if (e == null)
|
4022
4134
|
return;
|
4023
|
-
const t =
|
4135
|
+
const t = We(e);
|
4024
4136
|
for (let r = 0; r < t.length; r++) {
|
4025
4137
|
const n = t[r];
|
4026
|
-
if (
|
4138
|
+
if (Mr(n))
|
4027
4139
|
return n;
|
4028
4140
|
}
|
4029
4141
|
}
|
4030
|
-
function
|
4031
|
-
delete q[e],
|
4142
|
+
function Rr(e, ...t) {
|
4143
|
+
delete q[e], ve.update((r) => (r[e] = Xn.all([r[e] || {}, ...t]), r));
|
4032
4144
|
}
|
4033
|
-
|
4034
|
-
[
|
4145
|
+
ye(
|
4146
|
+
[ve],
|
4035
4147
|
([e]) => Object.keys(e)
|
4036
4148
|
);
|
4037
|
-
|
4038
|
-
const
|
4039
|
-
function
|
4040
|
-
|
4149
|
+
ve.subscribe((e) => Et = e);
|
4150
|
+
const Re = {};
|
4151
|
+
function ji(e, t) {
|
4152
|
+
Re[e].delete(t), Re[e].size === 0 && delete Re[e];
|
4041
4153
|
}
|
4042
|
-
function
|
4043
|
-
return
|
4154
|
+
function Dr(e) {
|
4155
|
+
return Re[e];
|
4044
4156
|
}
|
4045
|
-
function
|
4046
|
-
return
|
4047
|
-
const r =
|
4157
|
+
function Vi(e) {
|
4158
|
+
return We(e).map((t) => {
|
4159
|
+
const r = Dr(t);
|
4048
4160
|
return [t, r ? [...r] : []];
|
4049
4161
|
}).filter(([, t]) => t.length > 0);
|
4050
4162
|
}
|
4051
|
-
function
|
4052
|
-
return e == null ? !1 :
|
4163
|
+
function vt(e) {
|
4164
|
+
return e == null ? !1 : We(e).some(
|
4053
4165
|
(t) => {
|
4054
4166
|
var r;
|
4055
|
-
return (r =
|
4167
|
+
return (r = Dr(t)) == null ? void 0 : r.size;
|
4056
4168
|
}
|
4057
4169
|
);
|
4058
4170
|
}
|
4059
|
-
function
|
4171
|
+
function Xi(e, t) {
|
4060
4172
|
return Promise.all(
|
4061
|
-
t.map((n) => (
|
4062
|
-
).then((n) =>
|
4063
|
-
}
|
4064
|
-
const
|
4065
|
-
function
|
4066
|
-
if (!
|
4067
|
-
return e in
|
4068
|
-
const t =
|
4069
|
-
return
|
4173
|
+
t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
|
4174
|
+
).then((n) => Rr(e, ...n));
|
4175
|
+
}
|
4176
|
+
const xe = {};
|
4177
|
+
function $r(e) {
|
4178
|
+
if (!vt(e))
|
4179
|
+
return e in xe ? xe[e] : Promise.resolve();
|
4180
|
+
const t = Vi(e);
|
4181
|
+
return xe[e] = Promise.all(
|
4070
4182
|
t.map(
|
4071
|
-
([r, n]) =>
|
4183
|
+
([r, n]) => Xi(r, n)
|
4072
4184
|
)
|
4073
4185
|
).then(() => {
|
4074
|
-
if (
|
4075
|
-
return
|
4076
|
-
delete
|
4077
|
-
}),
|
4186
|
+
if (vt(e))
|
4187
|
+
return $r(e);
|
4188
|
+
delete xe[e];
|
4189
|
+
}), xe[e];
|
4078
4190
|
}
|
4079
|
-
const
|
4191
|
+
const Wi = {
|
4080
4192
|
number: {
|
4081
4193
|
scientific: { notation: "scientific" },
|
4082
4194
|
engineering: { notation: "engineering" },
|
@@ -4105,78 +4217,78 @@ const Ui = {
|
|
4105
4217
|
timeZoneName: "short"
|
4106
4218
|
}
|
4107
4219
|
}
|
4108
|
-
},
|
4220
|
+
}, zi = {
|
4109
4221
|
fallbackLocale: null,
|
4110
4222
|
loadingDelay: 200,
|
4111
|
-
formats:
|
4223
|
+
formats: Wi,
|
4112
4224
|
warnOnMissingMessages: !0,
|
4113
4225
|
handleMissingMessage: void 0,
|
4114
4226
|
ignoreTag: !0
|
4115
|
-
},
|
4227
|
+
}, Zi = zi;
|
4116
4228
|
function ge() {
|
4117
|
-
return
|
4229
|
+
return Zi;
|
4118
4230
|
}
|
4119
|
-
const
|
4120
|
-
var
|
4231
|
+
const rt = je(!1);
|
4232
|
+
var Ji = Object.defineProperty, Qi = Object.defineProperties, qi = Object.getOwnPropertyDescriptors, Qt = Object.getOwnPropertySymbols, Yi = Object.prototype.hasOwnProperty, Ki = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? Ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
|
4121
4233
|
for (var r in t || (t = {}))
|
4122
|
-
|
4123
|
-
if (
|
4124
|
-
for (var r of
|
4125
|
-
|
4234
|
+
Yi.call(t, r) && qt(e, r, t[r]);
|
4235
|
+
if (Qt)
|
4236
|
+
for (var r of Qt(t))
|
4237
|
+
Ki.call(t, r) && qt(e, r, t[r]);
|
4126
4238
|
return e;
|
4127
|
-
},
|
4128
|
-
let
|
4129
|
-
const
|
4130
|
-
function
|
4239
|
+
}, to = (e, t) => Qi(e, qi(t));
|
4240
|
+
let _t;
|
4241
|
+
const Ue = je(null);
|
4242
|
+
function Yt(e) {
|
4131
4243
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
4132
4244
|
}
|
4133
|
-
function
|
4134
|
-
const r =
|
4135
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
4245
|
+
function We(e, t = ge().fallbackLocale) {
|
4246
|
+
const r = Yt(e);
|
4247
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Yt(t)])] : r;
|
4136
4248
|
}
|
4137
|
-
function
|
4138
|
-
return
|
4249
|
+
function ie() {
|
4250
|
+
return _t != null ? _t : void 0;
|
4139
4251
|
}
|
4140
|
-
|
4141
|
-
|
4252
|
+
Ue.subscribe((e) => {
|
4253
|
+
_t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
4142
4254
|
});
|
4143
|
-
const
|
4144
|
-
if (e &&
|
4255
|
+
const ro = (e) => {
|
4256
|
+
if (e && ki(e) && vt(e)) {
|
4145
4257
|
const { loadingDelay: t } = ge();
|
4146
4258
|
let r;
|
4147
|
-
return typeof window != "undefined" &&
|
4148
|
-
() =>
|
4259
|
+
return typeof window != "undefined" && ie() != null && t ? r = window.setTimeout(
|
4260
|
+
() => rt.set(!0),
|
4149
4261
|
t
|
4150
|
-
) :
|
4151
|
-
|
4262
|
+
) : rt.set(!0), $r(e).then(() => {
|
4263
|
+
Ue.set(e);
|
4152
4264
|
}).finally(() => {
|
4153
|
-
clearTimeout(r),
|
4265
|
+
clearTimeout(r), rt.set(!1);
|
4154
4266
|
});
|
4155
4267
|
}
|
4156
|
-
return
|
4157
|
-
},
|
4158
|
-
set:
|
4159
|
-
}),
|
4268
|
+
return Ue.set(e);
|
4269
|
+
}, ne = to(eo({}, Ue), {
|
4270
|
+
set: ro
|
4271
|
+
}), ze = (e) => {
|
4160
4272
|
const t = /* @__PURE__ */ Object.create(null);
|
4161
4273
|
return (n) => {
|
4162
4274
|
const i = JSON.stringify(n);
|
4163
4275
|
return i in t ? t[i] : t[i] = e(n);
|
4164
4276
|
};
|
4165
4277
|
};
|
4166
|
-
var
|
4278
|
+
var no = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable, Kt = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
|
4167
4279
|
for (var r in t || (t = {}))
|
4168
|
-
|
4169
|
-
if (
|
4170
|
-
for (var r of
|
4171
|
-
|
4280
|
+
Ur.call(t, r) && Kt(e, r, t[r]);
|
4281
|
+
if (Ge)
|
4282
|
+
for (var r of Ge(t))
|
4283
|
+
Gr.call(t, r) && Kt(e, r, t[r]);
|
4172
4284
|
return e;
|
4173
4285
|
}, _e = (e, t) => {
|
4174
4286
|
var r = {};
|
4175
4287
|
for (var n in e)
|
4176
|
-
|
4177
|
-
if (e != null &&
|
4178
|
-
for (var n of
|
4179
|
-
t.indexOf(n) < 0 &&
|
4288
|
+
Ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
4289
|
+
if (e != null && Ge)
|
4290
|
+
for (var n of Ge(e))
|
4291
|
+
t.indexOf(n) < 0 && Gr.call(e, n) && (r[n] = e[n]);
|
4180
4292
|
return r;
|
4181
4293
|
};
|
4182
4294
|
const He = (e, t) => {
|
@@ -4184,21 +4296,21 @@ const He = (e, t) => {
|
|
4184
4296
|
if (e in r && t in r[e])
|
4185
4297
|
return r[e][t];
|
4186
4298
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
4187
|
-
},
|
4299
|
+
}, io = ze(
|
4188
4300
|
(e) => {
|
4189
4301
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4190
4302
|
if (r == null)
|
4191
4303
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
4192
4304
|
return n && (i = He("number", n)), new Intl.NumberFormat(r, i);
|
4193
4305
|
}
|
4194
|
-
),
|
4306
|
+
), oo = ze(
|
4195
4307
|
(e) => {
|
4196
4308
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4197
4309
|
if (r == null)
|
4198
4310
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
4199
4311
|
return n ? i = He("date", n) : Object.keys(i).length === 0 && (i = He("date", "short")), new Intl.DateTimeFormat(r, i);
|
4200
4312
|
}
|
4201
|
-
),
|
4313
|
+
), so = ze(
|
4202
4314
|
(e) => {
|
4203
4315
|
var t = e, { locale: r, format: n } = t, i = _e(t, ["locale", "format"]);
|
4204
4316
|
if (r == null)
|
@@ -4207,46 +4319,46 @@ const He = (e, t) => {
|
|
4207
4319
|
);
|
4208
4320
|
return n ? i = He("time", n) : Object.keys(i).length === 0 && (i = He("time", "short")), new Intl.DateTimeFormat(r, i);
|
4209
4321
|
}
|
4210
|
-
),
|
4322
|
+
), ao = (e = {}) => {
|
4211
4323
|
var t = e, {
|
4212
|
-
locale: r =
|
4324
|
+
locale: r = ie()
|
4213
4325
|
} = t, n = _e(t, [
|
4214
4326
|
"locale"
|
4215
4327
|
]);
|
4216
|
-
return
|
4217
|
-
},
|
4328
|
+
return io(wt({ locale: r }, n));
|
4329
|
+
}, lo = (e = {}) => {
|
4218
4330
|
var t = e, {
|
4219
|
-
locale: r =
|
4331
|
+
locale: r = ie()
|
4220
4332
|
} = t, n = _e(t, [
|
4221
4333
|
"locale"
|
4222
4334
|
]);
|
4223
|
-
return
|
4224
|
-
},
|
4335
|
+
return oo(wt({ locale: r }, n));
|
4336
|
+
}, uo = (e = {}) => {
|
4225
4337
|
var t = e, {
|
4226
|
-
locale: r =
|
4338
|
+
locale: r = ie()
|
4227
4339
|
} = t, n = _e(t, [
|
4228
4340
|
"locale"
|
4229
4341
|
]);
|
4230
|
-
return
|
4231
|
-
},
|
4342
|
+
return so(wt({ locale: r }, n));
|
4343
|
+
}, ho = ze(
|
4232
4344
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
4233
|
-
(e, t =
|
4345
|
+
(e, t = ie()) => new Ri(e, t, ge().formats, {
|
4234
4346
|
ignoreTag: ge().ignoreTag
|
4235
4347
|
})
|
4236
|
-
),
|
4348
|
+
), co = (e, t = {}) => {
|
4237
4349
|
var r, n, i, o;
|
4238
4350
|
let s = t;
|
4239
4351
|
typeof e == "object" && (s = e, e = s.id);
|
4240
4352
|
const {
|
4241
4353
|
values: a,
|
4242
|
-
locale: u =
|
4354
|
+
locale: u = ie(),
|
4243
4355
|
default: l
|
4244
4356
|
} = s;
|
4245
4357
|
if (u == null)
|
4246
4358
|
throw new Error(
|
4247
4359
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
4248
4360
|
);
|
4249
|
-
let h =
|
4361
|
+
let h = Nr(e, u);
|
4250
4362
|
if (!h)
|
4251
4363
|
h = (o = (i = (n = (r = ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
|
4252
4364
|
else if (typeof h != "string")
|
@@ -4255,26 +4367,26 @@ const He = (e, t) => {
|
|
4255
4367
|
), h;
|
4256
4368
|
if (!a)
|
4257
4369
|
return h;
|
4258
|
-
let
|
4370
|
+
let p = h;
|
4259
4371
|
try {
|
4260
|
-
|
4372
|
+
p = ho(h, u).format(a);
|
4261
4373
|
} catch (c) {
|
4262
4374
|
c instanceof Error && console.warn(
|
4263
4375
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
4264
4376
|
c.message
|
4265
4377
|
);
|
4266
4378
|
}
|
4267
|
-
return
|
4268
|
-
},
|
4269
|
-
|
4270
|
-
|
4271
|
-
|
4272
|
-
|
4273
|
-
window.emWidgets = { topic:
|
4274
|
-
const
|
4275
|
-
function
|
4379
|
+
return p;
|
4380
|
+
}, fo = (e, t) => uo(t).format(e), po = (e, t) => lo(t).format(e), mo = (e, t) => ao(t).format(e), bo = (e, t = ie()) => Nr(e, t), go = ye([ne, ve], () => co);
|
4381
|
+
ye([ne], () => fo);
|
4382
|
+
ye([ne], () => po);
|
4383
|
+
ye([ne], () => mo);
|
4384
|
+
ye([ne, ve], () => bo);
|
4385
|
+
window.emWidgets = { topic: Pn };
|
4386
|
+
const yo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), vo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
4387
|
+
function ko(e, t) {
|
4276
4388
|
const r = window.navigator.userAgent;
|
4277
|
-
return
|
4389
|
+
return yo(r) ? t = e.filter((n) => {
|
4278
4390
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
4279
4391
|
return n;
|
4280
4392
|
}) : t = e.filter((n) => {
|
@@ -4282,13 +4394,13 @@ function No(e, t) {
|
|
4282
4394
|
return n;
|
4283
4395
|
}), t;
|
4284
4396
|
}
|
4285
|
-
function
|
4397
|
+
function _o(e, t) {
|
4286
4398
|
if (e) {
|
4287
4399
|
const r = document.createElement("style");
|
4288
4400
|
r.innerHTML = t, e.appendChild(r);
|
4289
4401
|
}
|
4290
4402
|
}
|
4291
|
-
function
|
4403
|
+
function xo(e, t) {
|
4292
4404
|
const r = new URL(t);
|
4293
4405
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
4294
4406
|
const i = document.createElement("style");
|
@@ -4297,7 +4409,7 @@ function mo(e, t) {
|
|
4297
4409
|
console.error("There was an error while trying to load client styling from URL", n);
|
4298
4410
|
});
|
4299
4411
|
}
|
4300
|
-
function
|
4412
|
+
function Eo(e, t, r) {
|
4301
4413
|
if (window.emMessageBus) {
|
4302
4414
|
const n = document.createElement("style");
|
4303
4415
|
window.emMessageBus.subscribe(t, (i) => {
|
@@ -4305,15 +4417,15 @@ function bo(e, t, r) {
|
|
4305
4417
|
});
|
4306
4418
|
}
|
4307
4419
|
}
|
4308
|
-
function
|
4309
|
-
|
4310
|
-
r == null && (
|
4420
|
+
function wo({ withLocale: e, translations: t }) {
|
4421
|
+
ne.subscribe((r) => {
|
4422
|
+
r == null && (ve.set(t), ne.set(e));
|
4311
4423
|
});
|
4312
4424
|
}
|
4313
|
-
function
|
4314
|
-
|
4425
|
+
function er(e, t) {
|
4426
|
+
Rr(e, t);
|
4315
4427
|
}
|
4316
|
-
const
|
4428
|
+
const tr = {
|
4317
4429
|
en: {
|
4318
4430
|
providers: "Providers:",
|
4319
4431
|
filterby: "Filter by:",
|
@@ -4423,123 +4535,123 @@ const Qt = {
|
|
4423
4535
|
clear: "Clear all"
|
4424
4536
|
}
|
4425
4537
|
};
|
4426
|
-
function
|
4427
|
-
|
4538
|
+
function So(e) {
|
4539
|
+
qr(e, "svelte-15yj9h0", ':root{--min-height:50px}.SearchLoading{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.FilterContainer{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));position:relative;z-index:17}.FilterSelector{background-color:var(--emw--color-gray-300, #58586B);display:flex;position:relative;padding:10px 16px;border-radius:5px;justify-content:space-between;align-items:center;max-width:fit-content;cursor:pointer}.FilterSelector.FilterSelectorOpen{border-radius:5px 5px 0 0}.FilterMainArea{display:flex;align-items:center}.FilterMainArea svg{margin-right:16px}.FilterName{font-size:11px;line-height:12px;color:var(--emw--color-gray-100, #E6E6E6);text-transform:uppercase}.FilterTextContainer{display:flex;flex-direction:column}.FilterValueContainer{font-size:14px;line-height:16px;font-weight:300}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 15px;transition:all 0.5s}.TriangleActive{transform:rotate(180deg);position:relative;top:2px}.FilterDropdownContainer{padding:0;background:rgb(88, 88, 107);background:linear-gradient(180deg, rgba(88, 88, 107, 0.9) 0%, rgba(7, 7, 42, 0.9) 95%);display:flex;flex-direction:column;align-items:center;transition:max-height 0.15s ease-out;max-height:0;border-radius:0 0 5px 5px;position:absolute;top:48px;margin-bottom:40px;overflow:hidden;margin:0}.FilterDropdownContainer.FilterOpen{width:100%;max-height:fit-content;transition:max-height 0.25s ease-in;padding-top:20px}.FilterDropdown{width:100%;max-height:300px;display:flex;flex-direction:column;gap:10px;margin:0;padding-inline-start:0;overflow:scroll;list-style:none;-ms-overflow-style:none;scrollbar-width:none}.FilterDropdown::-webkit-scrollbar{display:none}.FilterItem label{font-size:14px;font-weight:300;cursor:pointer;display:flex;align-items:center;justify-content:flex-start;padding:0 15px;-webkit-user-select:none;-ms-user-select:none;user-select:none}.FilterItem input{cursor:pointer;margin-right:10px}.FilterItem:hover input~.FiltersCheckmark{background-color:transparent;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem input:checked~.FiltersCheckmark{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C))}.FilterItem .FiltersCheckmark{transition:all 0.05s ease-in;margin-right:15px}.FilterItem .FiltersCheckmark:after{content:"";position:absolute;left:9px;display:none}.FilterItem input:checked~.FiltersCheckmark:after{display:block}.FilterItem .FiltersCheckmark:after{left:8px;top:4px;width:5px;height:10px;border:1px solid solid var(--emw--color-white, #FFFFFF);border-width:0 2px 2px 0;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg)}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0}.FilterLabel input{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.FilterLabel .FiltersCheckmark{border-radius:8px;position:relative;height:22px;width:22px;min-width:22px;background-color:transparent;border:1px solid var(--emw--color-white, #FFFFFF)}.FilterLabel .FilterItemLabel{width:100%;display:flex;justify-content:space-between;overflow:hidden}.FilterLabel .FilterItemLabel span.VendorName{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FilterItemWithLogos label{height:70px;display:flex;justify-content:space-evenly;align-items:center}.FilterItemWithLogos label img{width:70px}.FilterLabel input:checked+span{font-weight:600}.FilterCounter{display:inline-flex;margin-left:10px;min-width:17px}.ClearFilters{margin:20px auto;border:0;color:#fff;background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));font-size:18px;padding:10px 50px;border-radius:5px;cursor:pointer;transition:all 0.1s ease-in;-webkit-user-select:none;-ms-user-select:none;user-select:none}.ClearFilters:disabled{background:var(--emw--color-gray-100, #E6E6E6);border:1px solid var(--emw--color-gray-150, #828282);pointer-events:none;cursor:not-allowed}@media only screen and (max-width: 768px){.FilterSelector{max-width:initial}.FilterDropdownContainer{width:100%;margin-bottom:20px}.FilterDropdown{margin-block-start:0;gap:14px}.FilterItemWithLogos label{justify-content:center}.FilerContainerSplit .FilterSelector{padding:7px}.FilerContainerSplit .FilterSelector .FilterCounter{margin-left:0}.FilerContainerSplit .FilterMainArea svg{margin:0 10px}.FilerContainerSplit .FilterDropdown{padding:0 5px;box-sizing:border-box}.FilerContainerSplit .FilterDropdownContainer{top:42px}.FilerContainerSplit .ClearFilters{padding:8px 20px;font-size:15px}.FilterLabel .FiltersCheckmark{margin-right:15px}.FilterItem.FilterItemWithLogos{display:flex;align-items:center;justify-content:center}.FilerContainerSplit .FilterItemWithLogos .FiltersCheckmark{margin:0 20px 0 0}.FilerContainerSplit .FilterItem label{padding:0;width:calc(100% - 10px);font-size:12px}.FilterItem label>*{pointer-events:none}}@media(max-width: 480px){.FilerContainerSplit .FilterSelector{min-height:var(--min-height)}.FilerContainerSplit .FilterDropdownContainer{top:var(--min-height)}.FilterName,.FilterValueContainer{overflow:hidden;max-width:100%;font-size:12px;text-overflow:ellipsis;width:fit-content}.FilterLabel .FiltersCheckmark{margin-right:5px}.FilterItem label{padding:0;font-size:11px;overflow:hidden;text-overflow:ellipsis;width:unset}.FilterItemLabel span:first-child{display:inline-block;overflow:hidden;text-overflow:ellipsis;max-width:60%}}');
|
4428
4540
|
}
|
4429
|
-
function
|
4541
|
+
function rr(e, t, r) {
|
4430
4542
|
const n = e.slice();
|
4431
|
-
return n[
|
4543
|
+
return n[37] = t[r], n[38] = t, n[39] = r, n;
|
4432
4544
|
}
|
4433
|
-
function
|
4545
|
+
function To(e) {
|
4434
4546
|
let t, r, n, i, o, s, a, u, l = (
|
4435
4547
|
/*$_*/
|
4436
4548
|
e[11]("filterby") + ""
|
4437
|
-
), h,
|
4549
|
+
), h, p, c, m, v = (
|
4438
4550
|
/*$_*/
|
4439
4551
|
e[11]("providers") + ""
|
4440
|
-
),
|
4552
|
+
), y, T, H, S, b, I, L, R, A, P, N, Z, V, ee = (
|
4441
4553
|
/*$_*/
|
4442
4554
|
e[11]("clear") + ""
|
4443
|
-
),
|
4444
|
-
function
|
4555
|
+
), oe, te, se, re, ae, Pe;
|
4556
|
+
function Ce(d, B) {
|
4445
4557
|
return (
|
4446
4558
|
/*fullSelection*/
|
4447
|
-
|
4559
|
+
d[7] ? Po : Ao
|
4448
4560
|
);
|
4449
4561
|
}
|
4450
|
-
let le =
|
4562
|
+
let le = Ce(e), U = le(e), Q = It(
|
4451
4563
|
/*vendorArray*/
|
4452
4564
|
e[5]
|
4453
|
-
),
|
4454
|
-
for (let
|
4455
|
-
|
4565
|
+
), f = [];
|
4566
|
+
for (let d = 0; d < Q.length; d += 1)
|
4567
|
+
f[d] = nr(rr(e, Q, d));
|
4456
4568
|
return {
|
4457
4569
|
c() {
|
4458
|
-
t = C("div"), r = C("div"), n = C("div"), i =
|
4459
|
-
for (let
|
4460
|
-
|
4461
|
-
|
4462
|
-
(e[4] ? "TriangleActive" : "")),
|
4463
|
-
(e[4] ? "FilterSelectorOpen" : "")),
|
4570
|
+
t = C("div"), r = C("div"), n = C("div"), i = Ee("svg"), o = Ee("path"), s = X(), a = C("div"), u = C("span"), h = G(l), p = X(), c = C("div"), m = C("span"), y = G(v), T = X(), U.c(), H = X(), S = C("span"), b = Ee("svg"), I = Ee("path"), A = X(), P = C("div"), N = C("ul");
|
4571
|
+
for (let d = 0; d < f.length; d += 1)
|
4572
|
+
f[d].c();
|
4573
|
+
Z = X(), V = C("button"), oe = G(ee), g(o, "id", "noun_filter_736223"), g(o, "d", "M12.2,22.2a1.018,1.018,0,0,1-.391-.091.939.939,0,0,1-.533-.857v-6.2L5.267,8.9A.95.95,0,0,1,5,8.225V7.149A.93.93,0,0,1,5.924,6.2H20.076A.93.93,0,0,1,21,7.149V8.225a.95.95,0,0,1-.267.675l-6.009,6.148V19.81a.981.981,0,0,1-.32.712l-1.6,1.423A.9.9,0,0,1,12.2,22.2ZM6,8.189,12,14.355a.95.95,0,0,1,.267.675v6.039l1.44-1.277v-4.78a.95.95,0,0,1,.267-.675L19.987,8.17V7.2H6Z"), g(o, "transform", "translate(-5 -6.2)"), g(o, "fill", "#fff"), g(i, "xmlns", "http://www.w3.org/2000/svg"), g(i, "width", "16"), g(i, "height", "16"), g(i, "viewBox", "0 0 16 16"), g(u, "class", "FilterName"), g(c, "class", "FilterValueContainer"), g(a, "class", "FilterTextContainer"), g(n, "class", "FilterMainArea"), g(I, "id", "arrow"), g(I, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), g(I, "transform", "translate(-274.511 -441.088)"), g(I, "fill", "#d1d1d1"), g(b, "xmlns", "http://www.w3.org/2000/svg"), g(b, "width", "14"), g(b, "height", "6.835"), g(b, "viewBox", "0 0 14 6.835"), g(S, "class", L = "TriangleInactive " + /*isFilterActive*/
|
4574
|
+
(e[4] ? "TriangleActive" : "")), g(r, "class", R = "FilterSelector " + /*isFilterActive*/
|
4575
|
+
(e[4] ? "FilterSelectorOpen" : "")), g(N, "class", "FilterDropdown"), g(V, "class", "ClearFilters"), V.disabled = te = /*fullSelection*/
|
4464
4576
|
e[7] && /*selectedVendorArray*/
|
4465
4577
|
e[6].length != /*vendorArray*/
|
4466
|
-
e[5].length,
|
4467
|
-
(e[4] ? "FilterOpen" : "")),
|
4578
|
+
e[5].length, g(P, "class", se = "FilterDropdownContainer " + /*isFilterActive*/
|
4579
|
+
(e[4] ? "FilterOpen" : "")), g(t, "class", re = "FilterContainer " + /*addfilterselector*/
|
4468
4580
|
(e[0] == "true" && /*addsortingselector*/
|
4469
4581
|
e[1] == "true" ? "FilerContainerSplit" : ""));
|
4470
4582
|
},
|
4471
|
-
m(
|
4472
|
-
|
4473
|
-
for (let
|
4474
|
-
|
4475
|
-
_(
|
4476
|
-
|
4583
|
+
m(d, B) {
|
4584
|
+
z(d, t, B), _(t, r), _(r, n), _(n, i), _(i, o), _(n, s), _(n, a), _(a, u), _(u, h), _(a, p), _(a, c), _(c, m), _(m, y), _(c, T), U.m(c, null), _(r, H), _(r, S), _(S, b), _(b, I), _(t, A), _(t, P), _(P, N);
|
4585
|
+
for (let x = 0; x < f.length; x += 1)
|
4586
|
+
f[x] && f[x].m(N, null);
|
4587
|
+
_(P, Z), _(P, V), _(V, oe), ae || (Pe = [
|
4588
|
+
De(
|
4477
4589
|
r,
|
4478
4590
|
"click",
|
4479
4591
|
/*click_handler*/
|
4480
|
-
e[
|
4592
|
+
e[24]
|
4481
4593
|
),
|
4482
|
-
|
4483
|
-
|
4594
|
+
De(
|
4595
|
+
V,
|
4484
4596
|
"click",
|
4485
4597
|
/*click_handler_2*/
|
4486
|
-
e[
|
4598
|
+
e[27]
|
4487
4599
|
)
|
4488
|
-
],
|
4600
|
+
], ae = !0);
|
4489
4601
|
},
|
4490
|
-
p(
|
4491
|
-
if (
|
4602
|
+
p(d, B) {
|
4603
|
+
if (B[0] & /*$_*/
|
4492
4604
|
2048 && l !== (l = /*$_*/
|
4493
|
-
|
4494
|
-
2048 &&
|
4495
|
-
|
4496
|
-
16 &&
|
4497
|
-
(
|
4605
|
+
d[11]("filterby") + "") && Y(h, l), B[0] & /*$_*/
|
4606
|
+
2048 && v !== (v = /*$_*/
|
4607
|
+
d[11]("providers") + "") && Y(y, v), le === (le = Ce(d)) && U ? U.p(d, B) : (U.d(1), U = le(d), U && (U.c(), U.m(c, null))), B[0] & /*isFilterActive*/
|
4608
|
+
16 && L !== (L = "TriangleInactive " + /*isFilterActive*/
|
4609
|
+
(d[4] ? "TriangleActive" : "")) && g(S, "class", L), B[0] & /*isFilterActive*/
|
4498
4610
|
16 && R !== (R = "FilterSelector " + /*isFilterActive*/
|
4499
|
-
(
|
4611
|
+
(d[4] ? "FilterSelectorOpen" : "")) && g(r, "class", R), B[0] & /*filterbylogo, vendorArray, filterByVendors*/
|
4500
4612
|
8228) {
|
4501
|
-
|
4613
|
+
Q = It(
|
4502
4614
|
/*vendorArray*/
|
4503
|
-
|
4615
|
+
d[5]
|
4504
4616
|
);
|
4505
|
-
let
|
4506
|
-
for (
|
4507
|
-
const
|
4508
|
-
|
4617
|
+
let x;
|
4618
|
+
for (x = 0; x < Q.length; x += 1) {
|
4619
|
+
const ue = rr(d, Q, x);
|
4620
|
+
f[x] ? f[x].p(ue, B) : (f[x] = nr(ue), f[x].c(), f[x].m(N, null));
|
4509
4621
|
}
|
4510
|
-
for (;
|
4511
|
-
|
4512
|
-
|
4622
|
+
for (; x < f.length; x += 1)
|
4623
|
+
f[x].d(1);
|
4624
|
+
f.length = Q.length;
|
4513
4625
|
}
|
4514
|
-
|
4626
|
+
B[0] & /*$_*/
|
4515
4627
|
2048 && ee !== (ee = /*$_*/
|
4516
|
-
|
4517
|
-
224 &&
|
4518
|
-
|
4519
|
-
|
4520
|
-
|
4521
|
-
16 &&
|
4522
|
-
(
|
4628
|
+
d[11]("clear") + "") && Y(oe, ee), B[0] & /*fullSelection, selectedVendorArray, vendorArray*/
|
4629
|
+
224 && te !== (te = /*fullSelection*/
|
4630
|
+
d[7] && /*selectedVendorArray*/
|
4631
|
+
d[6].length != /*vendorArray*/
|
4632
|
+
d[5].length) && (V.disabled = te), B[0] & /*isFilterActive*/
|
4633
|
+
16 && se !== (se = "FilterDropdownContainer " + /*isFilterActive*/
|
4634
|
+
(d[4] ? "FilterOpen" : "")) && g(P, "class", se), B[0] & /*addfilterselector, addsortingselector*/
|
4523
4635
|
3 && re !== (re = "FilterContainer " + /*addfilterselector*/
|
4524
|
-
(
|
4525
|
-
|
4636
|
+
(d[0] == "true" && /*addsortingselector*/
|
4637
|
+
d[1] == "true" ? "FilerContainerSplit" : "")) && g(t, "class", re);
|
4526
4638
|
},
|
4527
|
-
d(
|
4528
|
-
|
4639
|
+
d(d) {
|
4640
|
+
d && j(t), U.d(), en(f, d), ae = !1, K(Pe);
|
4529
4641
|
}
|
4530
4642
|
};
|
4531
4643
|
}
|
4532
|
-
function
|
4644
|
+
function Ho(e) {
|
4533
4645
|
let t, r = (
|
4534
4646
|
/*$_*/
|
4535
4647
|
e[11]("500") + ""
|
4536
4648
|
), n;
|
4537
4649
|
return {
|
4538
4650
|
c() {
|
4539
|
-
t = C("p"), n =
|
4651
|
+
t = C("p"), n = G(r), g(t, "class", "SearchLoading");
|
4540
4652
|
},
|
4541
4653
|
m(i, o) {
|
4542
|
-
|
4654
|
+
z(i, t, o), _(t, n);
|
4543
4655
|
},
|
4544
4656
|
p(i, o) {
|
4545
4657
|
o[0] & /*$_*/
|
@@ -4547,21 +4659,21 @@ function _o(e) {
|
|
4547
4659
|
i[11]("500") + "") && Y(n, r);
|
4548
4660
|
},
|
4549
4661
|
d(i) {
|
4550
|
-
i &&
|
4662
|
+
i && j(t);
|
4551
4663
|
}
|
4552
4664
|
};
|
4553
4665
|
}
|
4554
|
-
function
|
4666
|
+
function Ao(e) {
|
4555
4667
|
let t, r;
|
4556
4668
|
return {
|
4557
4669
|
c() {
|
4558
|
-
t = C("span"), r =
|
4670
|
+
t = C("span"), r = G(
|
4559
4671
|
/*selectionNumber*/
|
4560
4672
|
e[8]
|
4561
|
-
),
|
4673
|
+
), g(t, "class", "FilterCounter");
|
4562
4674
|
},
|
4563
4675
|
m(n, i) {
|
4564
|
-
|
4676
|
+
z(n, t, i), _(t, r);
|
4565
4677
|
},
|
4566
4678
|
p(n, i) {
|
4567
4679
|
i[0] & /*selectionNumber*/
|
@@ -4572,21 +4684,21 @@ function xo(e) {
|
|
4572
4684
|
);
|
4573
4685
|
},
|
4574
4686
|
d(n) {
|
4575
|
-
n &&
|
4687
|
+
n && j(t);
|
4576
4688
|
}
|
4577
4689
|
};
|
4578
4690
|
}
|
4579
|
-
function
|
4691
|
+
function Po(e) {
|
4580
4692
|
let t, r = (
|
4581
4693
|
/*$_*/
|
4582
4694
|
e[11]("all") + ""
|
4583
4695
|
), n;
|
4584
4696
|
return {
|
4585
4697
|
c() {
|
4586
|
-
t = C("span"), n =
|
4698
|
+
t = C("span"), n = G(r), g(t, "class", "FilterCounter");
|
4587
4699
|
},
|
4588
4700
|
m(i, o) {
|
4589
|
-
|
4701
|
+
z(i, t, o), _(t, n);
|
4590
4702
|
},
|
4591
4703
|
p(i, o) {
|
4592
4704
|
o[0] & /*$_*/
|
@@ -4594,131 +4706,131 @@ function Eo(e) {
|
|
4594
4706
|
i[11]("all") + "") && Y(n, r);
|
4595
4707
|
},
|
4596
4708
|
d(i) {
|
4597
|
-
i &&
|
4709
|
+
i && j(t);
|
4598
4710
|
}
|
4599
4711
|
};
|
4600
4712
|
}
|
4601
|
-
function
|
4713
|
+
function Co(e) {
|
4602
4714
|
let t, r;
|
4603
4715
|
return {
|
4604
4716
|
c() {
|
4605
|
-
t = C("
|
4606
|
-
e[
|
4717
|
+
t = C("img"), Ft(t.src, r = /*vendor*/
|
4718
|
+
e[37].logo) || g(t, "src", r), g(t, "alt", "vendor logo");
|
4607
4719
|
},
|
4608
4720
|
m(n, i) {
|
4609
|
-
|
4721
|
+
z(n, t, i);
|
4610
4722
|
},
|
4611
4723
|
p(n, i) {
|
4612
4724
|
i[0] & /*vendorArray*/
|
4613
|
-
32 && !
|
4614
|
-
n[
|
4725
|
+
32 && !Ft(t.src, r = /*vendor*/
|
4726
|
+
n[37].logo) && g(t, "src", r);
|
4615
4727
|
},
|
4616
4728
|
d(n) {
|
4617
|
-
n &&
|
4729
|
+
n && j(t);
|
4618
4730
|
}
|
4619
4731
|
};
|
4620
4732
|
}
|
4621
|
-
function
|
4733
|
+
function Fo(e) {
|
4622
4734
|
let t, r, n = (
|
4623
4735
|
/*vendor*/
|
4624
|
-
e[
|
4736
|
+
e[37].name + ""
|
4625
4737
|
), i, o, s, a, u = (
|
4626
4738
|
/*vendor*/
|
4627
|
-
e[
|
4739
|
+
e[37].games.total + ""
|
4628
4740
|
), l, h;
|
4629
4741
|
return {
|
4630
4742
|
c() {
|
4631
|
-
t = C("div"), r = C("span"), i =
|
4743
|
+
t = C("div"), r = C("span"), i = G(n), o = X(), s = C("span"), a = G("("), l = G(u), h = G(")"), g(r, "class", "VendorName"), g(t, "class", "FilterItemLabel");
|
4632
4744
|
},
|
4633
|
-
m(
|
4634
|
-
|
4745
|
+
m(p, c) {
|
4746
|
+
z(p, t, c), _(t, r), _(r, i), _(t, o), _(t, s), _(s, a), _(s, l), _(s, h);
|
4635
4747
|
},
|
4636
|
-
p(
|
4748
|
+
p(p, c) {
|
4637
4749
|
c[0] & /*vendorArray*/
|
4638
4750
|
32 && n !== (n = /*vendor*/
|
4639
|
-
|
4751
|
+
p[37].name + "") && Y(i, n), c[0] & /*vendorArray*/
|
4640
4752
|
32 && u !== (u = /*vendor*/
|
4641
|
-
|
4753
|
+
p[37].games.total + "") && Y(l, u);
|
4642
4754
|
},
|
4643
|
-
d(
|
4644
|
-
|
4755
|
+
d(p) {
|
4756
|
+
p && j(t);
|
4645
4757
|
}
|
4646
4758
|
};
|
4647
4759
|
}
|
4648
|
-
function
|
4649
|
-
let t, r, n, i, o, s, a, u, l, h,
|
4650
|
-
function
|
4651
|
-
e[
|
4760
|
+
function nr(e) {
|
4761
|
+
let t, r, n, i, o, s, a, u, l, h, p, c;
|
4762
|
+
function m() {
|
4763
|
+
e[25].call(
|
4652
4764
|
n,
|
4653
4765
|
/*each_value*/
|
4654
|
-
e[
|
4766
|
+
e[38],
|
4655
4767
|
/*vendor_index*/
|
4656
|
-
e[
|
4768
|
+
e[39]
|
4657
4769
|
);
|
4658
4770
|
}
|
4659
|
-
function
|
4771
|
+
function v() {
|
4660
4772
|
return (
|
4661
4773
|
/*click_handler_1*/
|
4662
|
-
e[
|
4774
|
+
e[26](
|
4663
4775
|
/*vendor*/
|
4664
|
-
e[
|
4776
|
+
e[37]
|
4665
4777
|
)
|
4666
4778
|
);
|
4667
4779
|
}
|
4668
|
-
function
|
4780
|
+
function y(S, b) {
|
4669
4781
|
if (
|
4670
4782
|
/*filterbylogo*/
|
4671
|
-
|
4783
|
+
S[2] === "false"
|
4672
4784
|
)
|
4673
|
-
return
|
4785
|
+
return Fo;
|
4674
4786
|
if (
|
4675
4787
|
/*filterbylogo*/
|
4676
|
-
|
4788
|
+
S[2] === "true"
|
4677
4789
|
)
|
4678
|
-
return
|
4790
|
+
return Co;
|
4679
4791
|
}
|
4680
|
-
let
|
4792
|
+
let T = y(e), H = T && T(e);
|
4681
4793
|
return {
|
4682
4794
|
c() {
|
4683
|
-
t = C("li"), r = C("label"), n = C("input"), o = X(), s = C("span"), a = X(),
|
4684
|
-
e[
|
4795
|
+
t = C("li"), r = C("label"), n = C("input"), o = X(), s = C("span"), a = X(), H && H.c(), u = X(), g(n, "type", "checkbox"), g(n, "name", "checkbox"), n.__value = i = /*vendor*/
|
4796
|
+
e[37].name, Bt(n, n.__value), g(s, "class", "FiltersCheckmark"), g(r, "class", "FilterLabel"), g(t, "class", l = "FilterItem " + /*filterbylogo*/
|
4685
4797
|
(e[2] === "true" ? "FilterItemWithLogos" : "")), t.value = h = /*vendor*/
|
4686
|
-
e[
|
4798
|
+
e[37].name;
|
4687
4799
|
},
|
4688
|
-
m(
|
4689
|
-
|
4690
|
-
e[
|
4691
|
-
|
4692
|
-
|
4693
|
-
],
|
4800
|
+
m(S, b) {
|
4801
|
+
z(S, t, b), _(t, r), _(r, n), n.checked = /*vendor*/
|
4802
|
+
e[37].isFilterSelected, _(r, o), _(r, s), _(r, a), H && H.m(r, null), _(t, u), p || (c = [
|
4803
|
+
De(n, "change", m),
|
4804
|
+
De(n, "click", v)
|
4805
|
+
], p = !0);
|
4694
4806
|
},
|
4695
|
-
p(
|
4696
|
-
e =
|
4807
|
+
p(S, b) {
|
4808
|
+
e = S, b[0] & /*vendorArray*/
|
4697
4809
|
32 && i !== (i = /*vendor*/
|
4698
|
-
e[
|
4810
|
+
e[37].name) && (n.__value = i, Bt(n, n.__value)), b[0] & /*vendorArray*/
|
4699
4811
|
32 && (n.checked = /*vendor*/
|
4700
|
-
e[
|
4812
|
+
e[37].isFilterSelected), T === (T = y(e)) && H ? H.p(e, b) : (H && H.d(1), H = T && T(e), H && (H.c(), H.m(r, null))), b[0] & /*filterbylogo*/
|
4701
4813
|
4 && l !== (l = "FilterItem " + /*filterbylogo*/
|
4702
|
-
(e[2] === "true" ? "FilterItemWithLogos" : "")) &&
|
4814
|
+
(e[2] === "true" ? "FilterItemWithLogos" : "")) && g(t, "class", l), b[0] & /*vendorArray*/
|
4703
4815
|
32 && h !== (h = /*vendor*/
|
4704
|
-
e[
|
4816
|
+
e[37].name) && (t.value = h);
|
4705
4817
|
},
|
4706
|
-
d(
|
4707
|
-
|
4818
|
+
d(S) {
|
4819
|
+
S && j(t), H && H.d(), p = !1, K(c);
|
4708
4820
|
}
|
4709
4821
|
};
|
4710
4822
|
}
|
4711
|
-
function
|
4823
|
+
function Bo(e) {
|
4712
4824
|
let t;
|
4713
4825
|
function r(o, s) {
|
4714
4826
|
if (
|
4715
4827
|
/*hasErrors*/
|
4716
4828
|
o[10]
|
4717
4829
|
)
|
4718
|
-
return
|
4830
|
+
return Ho;
|
4719
4831
|
if (!/*isLoading*/
|
4720
4832
|
o[9])
|
4721
|
-
return
|
4833
|
+
return To;
|
4722
4834
|
}
|
4723
4835
|
let n = r(e), i = n && n(e);
|
4724
4836
|
return {
|
@@ -4726,105 +4838,110 @@ function To(e) {
|
|
4726
4838
|
t = C("div"), i && i.c();
|
4727
4839
|
},
|
4728
4840
|
m(o, s) {
|
4729
|
-
|
4841
|
+
z(o, t, s), i && i.m(t, null), e[28](t);
|
4730
4842
|
},
|
4731
4843
|
p(o, s) {
|
4732
4844
|
n === (n = r(o)) && i ? i.p(o, s) : (i && i.d(1), i = n && n(o), i && (i.c(), i.m(t, null)));
|
4733
4845
|
},
|
4734
|
-
i:
|
4735
|
-
o:
|
4846
|
+
i: k,
|
4847
|
+
o: k,
|
4736
4848
|
d(o) {
|
4737
|
-
o &&
|
4849
|
+
o && j(t), i && i.d(), e[28](null);
|
4738
4850
|
}
|
4739
4851
|
};
|
4740
4852
|
}
|
4741
|
-
function
|
4853
|
+
function Oo(e, t, r) {
|
4742
4854
|
let n;
|
4743
|
-
|
4744
|
-
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector:
|
4745
|
-
|
4746
|
-
const
|
4747
|
-
fetch(a).then((
|
4748
|
-
Object.keys(
|
4749
|
-
|
4855
|
+
Qr(e, go, (f) => r(11, n = f));
|
4856
|
+
let { endpoint: i = "" } = t, { datasource: o = "" } = t, { lang: s = "" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { categoryid: h = "" } = t, { addfilterselector: p = "false" } = t, { addsortingselector: c = "false" } = t, { filterbylogo: m = "false" } = t, { mbsource: v } = t, { usesinglevendorfilter: y = "false" } = t, T = !1, H = window.navigator.userAgent, S = [], b = [], I = {}, L = !1, R = 0, A = !0, P, N = !1;
|
4857
|
+
wo({ withLocale: "en", translations: {} });
|
4858
|
+
const Z = () => {
|
4859
|
+
fetch(a).then((d) => d.json()).then((d) => {
|
4860
|
+
Object.keys(d).forEach((B) => {
|
4861
|
+
er(B, d[B]);
|
4750
4862
|
});
|
4751
|
-
}).catch((
|
4752
|
-
console.log(
|
4863
|
+
}).catch((d) => {
|
4864
|
+
console.log(d);
|
4753
4865
|
});
|
4754
4866
|
};
|
4755
|
-
Object.keys(
|
4756
|
-
|
4757
|
-
}),
|
4867
|
+
Object.keys(tr).forEach((f) => {
|
4868
|
+
er(f, tr[f]);
|
4869
|
+
}), I[h] && (I = { [h]: [] });
|
4758
4870
|
const V = () => {
|
4759
|
-
r(4,
|
4760
|
-
},
|
4761
|
-
fetch(
|
4762
|
-
|
4763
|
-
let
|
4764
|
-
|
4765
|
-
|
4766
|
-
|
4767
|
-
|
4768
|
-
|
4769
|
-
|
4871
|
+
r(4, T = !T), window.postMessage({ type: "FilterOpened" }, window.location.href);
|
4872
|
+
}, ee = (f) => (r(9, A = !0), new Promise((d, B) => {
|
4873
|
+
fetch(f).then((x) => x.json()).then((x) => {
|
4874
|
+
x = x.items, d(x.items), r(6, b = []);
|
4875
|
+
let ue = JSON.parse(localStorage.getItem("vendorFiltersByCategory"));
|
4876
|
+
const jr = y === "true" ? "*" : h;
|
4877
|
+
x.forEach((Fe) => {
|
4878
|
+
var St;
|
4879
|
+
ue || (ue = { currentCategoryId: [] }), ((St = ue[jr]) == null ? void 0 : St.indexOf(Fe.id)) >= 0 ? (Fe.isFilterSelected = !0, b.push(Fe)) : Fe.isFilterSelected = !1;
|
4880
|
+
}), r(5, S = x), te();
|
4881
|
+
}).catch((x) => {
|
4882
|
+
console.error(x), r(10, N = !0), B(x);
|
4770
4883
|
}).finally(() => {
|
4771
|
-
r(9,
|
4884
|
+
r(9, A = !1);
|
4772
4885
|
});
|
4773
|
-
})),
|
4774
|
-
let
|
4775
|
-
|
4776
|
-
|
4777
|
-
|
4778
|
-
|
4779
|
-
|
4780
|
-
}, ae = () => {
|
4781
|
-
const p = new URL(`${i}/v1/casino/vendors`);
|
4782
|
-
r(4, b = !1), p.searchParams.append("fields", "id,name,logo,subVendors,games"), p.searchParams.append("language", s), p.searchParams.append("datasource", o), p.searchParams.append("platform", fo(A)), (h.match(/\$/g) || []).length > 1 ? (p.searchParams.append("filter", `games(subGroups=${h})`), p.searchParams.append("subVendors", `games(subGroups=${h})`)) : p.searchParams.append("filter", `games(groups=${h})`), z(p);
|
4886
|
+
})), oe = (f) => {
|
4887
|
+
let d = localStorage.getItem("vendorFiltersByCategory");
|
4888
|
+
f.isFilterSelected = !f.isFilterSelected, !b.length || b.filter((x) => x.name === f.name).length == 0 ? b.push(f) : r(6, b = b.filter((x) => x.name !== f.name));
|
4889
|
+
const B = y === "true" ? "*" : h;
|
4890
|
+
d == null ? localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
|
4891
|
+
[B]: b.map((x) => x.id)
|
4892
|
+
})) : (d = JSON.parse(d), d[B] = b.map((x) => x.id), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(d))), window.postMessage({ type: "ApplyFilters", origin: "filters" }, window.location.href), te();
|
4783
4893
|
}, te = () => {
|
4784
|
-
r(
|
4785
|
-
|
4786
|
-
|
4787
|
-
|
4788
|
-
|
4894
|
+
r(7, L = b.length === S.length || b.length == 0), r(8, R = b.length);
|
4895
|
+
}, se = () => {
|
4896
|
+
if (S.length && y === "true")
|
4897
|
+
return;
|
4898
|
+
const f = new URL(`${i}/v1/casino/vendors`);
|
4899
|
+
r(4, T = !1), f.searchParams.append("fields", "id,name,logo,subVendors,games"), f.searchParams.append("language", s), f.searchParams.append("datasource", o), f.searchParams.append("platform", vo(H)), y === "true" || ((h.match(/\$/g) || []).length > 1 ? (f.searchParams.append("filter", `games(subGroups=${h})`), f.searchParams.append("subVendors", `games(subGroups=${h})`)) : f.searchParams.append("filter", `games(groups=${h})`)), ee(f);
|
4900
|
+
}, re = () => {
|
4901
|
+
r(6, b = []), localStorage.setItem("vendorFiltersByCategory", JSON.stringify(I = {
|
4902
|
+
[y === "true" ? "*" : h]: b.map((f) => f.id)
|
4903
|
+
})), S.forEach((f) => f.isFilterSelected = !1), r(5, S), window.postMessage({ type: "ApplyFilters" }, window.location.href), r(7, L = !0), r(4, T = !1);
|
4904
|
+
}, ae = (f) => {
|
4905
|
+
f.data.type == "SortingOpened" && r(4, T = !1);
|
4789
4906
|
};
|
4790
|
-
|
4791
|
-
window.removeEventListener("message",
|
4907
|
+
nn(() => (window.addEventListener("message", ae, !1), () => {
|
4908
|
+
window.removeEventListener("message", ae);
|
4792
4909
|
}));
|
4793
|
-
const
|
4794
|
-
function
|
4795
|
-
|
4910
|
+
const Pe = () => V();
|
4911
|
+
function Ce(f, d) {
|
4912
|
+
f[d].isFilterSelected = this.checked, r(5, S);
|
4796
4913
|
}
|
4797
|
-
const
|
4798
|
-
function
|
4799
|
-
|
4800
|
-
|
4914
|
+
const le = (f) => oe(f), U = () => re();
|
4915
|
+
function Q(f) {
|
4916
|
+
nt[f ? "unshift" : "push"](() => {
|
4917
|
+
P = f, r(3, P);
|
4801
4918
|
});
|
4802
4919
|
}
|
4803
|
-
return e.$$set = (
|
4804
|
-
"endpoint" in
|
4920
|
+
return e.$$set = (f) => {
|
4921
|
+
"endpoint" in f && r(15, i = f.endpoint), "datasource" in f && r(16, o = f.datasource), "lang" in f && r(17, s = f.lang), "translationurl" in f && r(18, a = f.translationurl), "clientstyling" in f && r(19, u = f.clientstyling), "clientstylingurl" in f && r(20, l = f.clientstylingurl), "categoryid" in f && r(21, h = f.categoryid), "addfilterselector" in f && r(0, p = f.addfilterselector), "addsortingselector" in f && r(1, c = f.addsortingselector), "filterbylogo" in f && r(2, m = f.filterbylogo), "mbsource" in f && r(22, v = f.mbsource), "usesinglevendorfilter" in f && r(23, y = f.usesinglevendorfilter);
|
4805
4922
|
}, e.$$.update = () => {
|
4806
4923
|
e.$$.dirty[0] & /*endpoint, datasource, categoryid, filterbylogo*/
|
4807
|
-
2195460 && i && o && h &&
|
4808
|
-
524296 && u &&
|
4809
|
-
1048584 && l &&
|
4810
|
-
4194312 &&
|
4811
|
-
262144 && a &&
|
4924
|
+
2195460 && i && o && h && m && se(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
4925
|
+
524296 && u && P && _o(P, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
4926
|
+
1048584 && l && P && xo(P, l), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
4927
|
+
4194312 && P && Eo(P, `${v}.Style`), e.$$.dirty[0] & /*translationurl*/
|
4928
|
+
262144 && a && Z();
|
4812
4929
|
}, [
|
4813
|
-
|
4930
|
+
p,
|
4814
4931
|
c,
|
4815
|
-
|
4932
|
+
m,
|
4933
|
+
P,
|
4934
|
+
T,
|
4816
4935
|
S,
|
4817
4936
|
b,
|
4818
|
-
w,
|
4819
|
-
y,
|
4820
4937
|
L,
|
4821
|
-
N,
|
4822
4938
|
R,
|
4823
|
-
|
4939
|
+
A,
|
4940
|
+
N,
|
4824
4941
|
n,
|
4825
4942
|
V,
|
4826
|
-
|
4827
|
-
|
4943
|
+
oe,
|
4944
|
+
re,
|
4828
4945
|
i,
|
4829
4946
|
o,
|
4830
4947
|
s,
|
@@ -4832,22 +4949,23 @@ function Ho(e, t, r) {
|
|
4832
4949
|
u,
|
4833
4950
|
l,
|
4834
4951
|
h,
|
4835
|
-
|
4836
|
-
|
4952
|
+
v,
|
4953
|
+
y,
|
4837
4954
|
Pe,
|
4838
|
-
|
4955
|
+
Ce,
|
4839
4956
|
le,
|
4840
|
-
U
|
4957
|
+
U,
|
4958
|
+
Q
|
4841
4959
|
];
|
4842
4960
|
}
|
4843
|
-
class
|
4961
|
+
class kr extends pn {
|
4844
4962
|
constructor(t) {
|
4845
|
-
super(),
|
4963
|
+
super(), cn(
|
4846
4964
|
this,
|
4847
4965
|
t,
|
4848
|
-
|
4849
|
-
|
4850
|
-
|
4966
|
+
Oo,
|
4967
|
+
Bo,
|
4968
|
+
or,
|
4851
4969
|
{
|
4852
4970
|
endpoint: 15,
|
4853
4971
|
datasource: 16,
|
@@ -4859,9 +4977,10 @@ class Rr extends an {
|
|
4859
4977
|
addfilterselector: 0,
|
4860
4978
|
addsortingselector: 1,
|
4861
4979
|
filterbylogo: 2,
|
4862
|
-
mbsource: 22
|
4980
|
+
mbsource: 22,
|
4981
|
+
usesinglevendorfilter: 23
|
4863
4982
|
},
|
4864
|
-
|
4983
|
+
So,
|
4865
4984
|
[-1, -1]
|
4866
4985
|
);
|
4867
4986
|
}
|
@@ -4931,51 +5050,59 @@ class Rr extends an {
|
|
4931
5050
|
set mbsource(t) {
|
4932
5051
|
this.$$set({ mbsource: t }), $();
|
4933
5052
|
}
|
5053
|
+
get usesinglevendorfilter() {
|
5054
|
+
return this.$$.ctx[23];
|
5055
|
+
}
|
5056
|
+
set usesinglevendorfilter(t) {
|
5057
|
+
this.$$set({ usesinglevendorfilter: t }), $();
|
5058
|
+
}
|
4934
5059
|
}
|
4935
|
-
|
4936
|
-
const
|
5060
|
+
fn(kr, { endpoint: {}, datasource: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, categoryid: {}, addfilterselector: {}, addsortingselector: {}, filterbylogo: {}, mbsource: {}, usesinglevendorfilter: {} }, [], [], !0);
|
5061
|
+
const jo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
4937
5062
|
__proto__: null,
|
4938
|
-
default:
|
5063
|
+
default: kr
|
4939
5064
|
}, Symbol.toStringTag, { value: "Module" }));
|
4940
5065
|
export {
|
4941
|
-
|
4942
|
-
|
4943
|
-
|
4944
|
-
|
4945
|
-
|
4946
|
-
|
4947
|
-
|
4948
|
-
|
4949
|
-
|
4950
|
-
|
4951
|
-
|
4952
|
-
|
4953
|
-
|
4954
|
-
|
4955
|
-
|
4956
|
-
|
4957
|
-
|
4958
|
-
|
4959
|
-
|
5066
|
+
ne as $,
|
5067
|
+
$o as A,
|
5068
|
+
Ee as B,
|
5069
|
+
_o as C,
|
5070
|
+
xo as D,
|
5071
|
+
Eo as E,
|
5072
|
+
fn as F,
|
5073
|
+
go as G,
|
5074
|
+
Ro as H,
|
5075
|
+
Do as I,
|
5076
|
+
ko as J,
|
5077
|
+
Go as K,
|
5078
|
+
Uo as L,
|
5079
|
+
ve as M,
|
5080
|
+
jo as N,
|
5081
|
+
pn as S,
|
5082
|
+
Rr as a,
|
5083
|
+
qr as b,
|
5084
|
+
Ft as c,
|
5085
|
+
j as d,
|
5086
|
+
No as e,
|
4960
5087
|
$ as f,
|
4961
|
-
|
4962
|
-
|
4963
|
-
|
4964
|
-
|
4965
|
-
|
4966
|
-
|
4967
|
-
|
4968
|
-
|
4969
|
-
|
4970
|
-
|
4971
|
-
|
4972
|
-
|
4973
|
-
|
4974
|
-
|
4975
|
-
|
4976
|
-
|
4977
|
-
|
4978
|
-
|
4979
|
-
|
4980
|
-
|
5088
|
+
Y as g,
|
5089
|
+
g as h,
|
5090
|
+
cn as i,
|
5091
|
+
z as j,
|
5092
|
+
_ as k,
|
5093
|
+
C as l,
|
5094
|
+
X as m,
|
5095
|
+
k as n,
|
5096
|
+
G as o,
|
5097
|
+
Qr as p,
|
5098
|
+
nn as q,
|
5099
|
+
De as r,
|
5100
|
+
or as s,
|
5101
|
+
Mo as t,
|
5102
|
+
Lo as u,
|
5103
|
+
yo as v,
|
5104
|
+
vo as w,
|
5105
|
+
nt as x,
|
5106
|
+
It as y,
|
5107
|
+
en as z
|
4981
5108
|
};
|