@everymatrix/casino-categories-slider 1.87.26 → 1.87.27
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/{CasinoCategoriesSlider-DiF6XY0O.cjs → CasinoCategoriesSlider-C3GXfvQk.cjs} +4 -4
- package/components/{CasinoCategoriesSlider-DqpJe-jw.js → CasinoCategoriesSlider-CgwK8TAY.js} +757 -729
- package/components/{CasinoCategoriesSlider-DfbyuFRY.js → CasinoCategoriesSlider-JQF3NTmw.js} +814 -785
- package/components/{CasinoSlider-D59RP9ni.js → CasinoSlider-BqyKHyRH.js} +67 -67
- package/components/{CasinoSlider-Cg-yFFzs.js → CasinoSlider-C9khAWUF.js} +69 -69
- package/components/{CasinoSlider-B3GIXAJo.cjs → CasinoSlider-COFmZ0Fn.cjs} +1 -1
- package/es2015/casino-categories-slider.cjs +1 -1
- package/es2015/casino-categories-slider.js +1 -1
- package/esnext/casino-categories-slider.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCategoriesSlider-DfbyuFRY.js → CasinoCategoriesSlider-JQF3NTmw.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var jr = Object.defineProperty, kr = Object.defineProperties;
|
|
2
|
+
var Vr = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var vt = Object.getOwnPropertySymbols;
|
|
4
|
+
var Xr = Object.prototype.hasOwnProperty, Wr = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var Re = (e, t, r) => t in e ? jr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Xr.call(t, r) && Re(e, r, t[r]);
|
|
8
|
+
if (vt)
|
|
9
|
+
for (var r of vt(t))
|
|
10
|
+
Wr.call(t, r) && Re(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var M = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, Et = (e, t) => kr(e, Vr(t));
|
|
13
|
+
var M = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var xt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
a(r.next(h));
|
|
@@ -27,53 +27,53 @@ var _t = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, o);
|
|
28
28
|
a((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function L() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function zt(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function St() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function ne(e) {
|
|
39
|
+
e.forEach(zt);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function lt(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function Zt(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
47
|
let ge;
|
|
48
|
-
function
|
|
48
|
+
function Ns(e, t) {
|
|
49
49
|
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function zr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Qt(e, ...t) {
|
|
55
55
|
if (e == null) {
|
|
56
56
|
for (const n of t)
|
|
57
57
|
n(void 0);
|
|
58
|
-
return
|
|
58
|
+
return L;
|
|
59
59
|
}
|
|
60
60
|
const r = e.subscribe(...t);
|
|
61
61
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
62
62
|
}
|
|
63
|
-
function
|
|
64
|
-
e.$$.on_destroy.push(
|
|
63
|
+
function Zr(e, t, r) {
|
|
64
|
+
e.$$.on_destroy.push(Qt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Yt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function Qr(e, t, r) {
|
|
70
|
+
const n = Yr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
72
|
const i = V("style");
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
73
|
+
i.id = t, i.textContent = r, qr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Yr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,58 +83,58 @@ function Zr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function qr(e, t) {
|
|
87
|
+
return Yt(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function fe(e, t, r) {
|
|
94
94
|
e.insertBefore(t, r || null);
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function ie(e) {
|
|
97
97
|
e.parentNode && e.parentNode.removeChild(e);
|
|
98
98
|
}
|
|
99
|
-
function
|
|
99
|
+
function Ls(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
103
|
function V(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function qt(e) {
|
|
107
107
|
return document.createTextNode(e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
110
|
-
return
|
|
109
|
+
function Cs() {
|
|
110
|
+
return qt(" ");
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Is() {
|
|
113
|
+
return qt("");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
115
|
+
function Ms(e, t, r, n) {
|
|
116
116
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Rs(e) {
|
|
119
119
|
return function(t) {
|
|
120
120
|
return t.preventDefault(), e.call(this, t);
|
|
121
121
|
};
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function me(e, t, r) {
|
|
124
124
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
125
125
|
}
|
|
126
126
|
function v(e, t, r) {
|
|
127
127
|
const n = t.toLowerCase();
|
|
128
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
128
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : me(e, t, r);
|
|
129
129
|
}
|
|
130
|
-
function
|
|
130
|
+
function Jr(e) {
|
|
131
131
|
return Array.from(e.childNodes);
|
|
132
132
|
}
|
|
133
|
-
function
|
|
133
|
+
function Gs(e, t) {
|
|
134
134
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
135
135
|
t);
|
|
136
136
|
}
|
|
137
|
-
function
|
|
137
|
+
function Kr(e) {
|
|
138
138
|
const t = {};
|
|
139
139
|
return e.childNodes.forEach(
|
|
140
140
|
/** @param {Element} node */
|
|
@@ -143,101 +143,101 @@ function qr(e) {
|
|
|
143
143
|
}
|
|
144
144
|
), t;
|
|
145
145
|
}
|
|
146
|
-
let
|
|
147
|
-
function
|
|
148
|
-
|
|
146
|
+
let he;
|
|
147
|
+
function ue(e) {
|
|
148
|
+
he = e;
|
|
149
149
|
}
|
|
150
|
-
function
|
|
151
|
-
if (!
|
|
150
|
+
function en() {
|
|
151
|
+
if (!he)
|
|
152
152
|
throw new Error("Function called outside component initialization");
|
|
153
|
-
return
|
|
153
|
+
return he;
|
|
154
154
|
}
|
|
155
|
-
function
|
|
156
|
-
|
|
155
|
+
function tn(e) {
|
|
156
|
+
en().$$.on_mount.push(e);
|
|
157
157
|
}
|
|
158
|
-
function
|
|
158
|
+
function Us(e, t) {
|
|
159
159
|
const r = e.$$.callbacks[t.type];
|
|
160
160
|
r && r.slice().forEach((n) => n.call(this, t));
|
|
161
161
|
}
|
|
162
|
-
const Y = [],
|
|
163
|
-
let
|
|
164
|
-
const
|
|
165
|
-
let
|
|
166
|
-
function
|
|
167
|
-
|
|
162
|
+
const Y = [], Xe = [];
|
|
163
|
+
let J = [];
|
|
164
|
+
const wt = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
165
|
+
let We = !1;
|
|
166
|
+
function Kt() {
|
|
167
|
+
We || (We = !0, Jt.then(x));
|
|
168
168
|
}
|
|
169
|
-
function
|
|
170
|
-
return
|
|
169
|
+
function rn() {
|
|
170
|
+
return Kt(), Jt;
|
|
171
171
|
}
|
|
172
|
-
function
|
|
173
|
-
|
|
172
|
+
function ze(e) {
|
|
173
|
+
J.push(e);
|
|
174
174
|
}
|
|
175
|
-
const
|
|
175
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
176
176
|
let Z = 0;
|
|
177
177
|
function x() {
|
|
178
178
|
if (Z !== 0)
|
|
179
179
|
return;
|
|
180
|
-
const e =
|
|
180
|
+
const e = he;
|
|
181
181
|
do {
|
|
182
182
|
try {
|
|
183
183
|
for (; Z < Y.length; ) {
|
|
184
184
|
const t = Y[Z];
|
|
185
|
-
Z++,
|
|
185
|
+
Z++, ue(t), nn(t.$$);
|
|
186
186
|
}
|
|
187
187
|
} catch (t) {
|
|
188
188
|
throw Y.length = 0, Z = 0, t;
|
|
189
189
|
}
|
|
190
|
-
for (
|
|
191
|
-
|
|
192
|
-
for (let t = 0; t <
|
|
193
|
-
const r =
|
|
194
|
-
|
|
190
|
+
for (ue(null), Y.length = 0, Z = 0; Xe.length; )
|
|
191
|
+
Xe.pop()();
|
|
192
|
+
for (let t = 0; t < J.length; t += 1) {
|
|
193
|
+
const r = J[t];
|
|
194
|
+
Ge.has(r) || (Ge.add(r), r());
|
|
195
195
|
}
|
|
196
|
-
|
|
196
|
+
J.length = 0;
|
|
197
197
|
} while (Y.length);
|
|
198
|
-
for (;
|
|
199
|
-
|
|
200
|
-
|
|
198
|
+
for (; wt.length; )
|
|
199
|
+
wt.pop()();
|
|
200
|
+
We = !1, Ge.clear(), ue(e);
|
|
201
201
|
}
|
|
202
|
-
function
|
|
202
|
+
function nn(e) {
|
|
203
203
|
if (e.fragment !== null) {
|
|
204
|
-
e.update(),
|
|
204
|
+
e.update(), ne(e.before_update);
|
|
205
205
|
const t = e.dirty;
|
|
206
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
206
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ze);
|
|
207
207
|
}
|
|
208
208
|
}
|
|
209
|
-
function
|
|
209
|
+
function sn(e) {
|
|
210
210
|
const t = [], r = [];
|
|
211
|
-
|
|
211
|
+
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
|
212
212
|
}
|
|
213
|
-
const
|
|
214
|
-
function
|
|
215
|
-
e && e.i && (
|
|
213
|
+
const on = /* @__PURE__ */ new Set();
|
|
214
|
+
function er(e, t) {
|
|
215
|
+
e && e.i && (on.delete(e), e.i(t));
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function Ds(e) {
|
|
218
218
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
219
219
|
}
|
|
220
|
-
function
|
|
220
|
+
function $s(e, t) {
|
|
221
221
|
e.d(1), t.delete(e.key);
|
|
222
222
|
}
|
|
223
|
-
function
|
|
223
|
+
function Fs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
224
224
|
let c = e.length, d = s.length, b = c;
|
|
225
|
-
const
|
|
225
|
+
const g = {};
|
|
226
226
|
for (; b--; )
|
|
227
|
-
|
|
227
|
+
g[e[b].key] = b;
|
|
228
228
|
const T = [], C = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), w = [];
|
|
229
229
|
for (b = d; b--; ) {
|
|
230
230
|
const _ = m(i, s, b), A = r(_);
|
|
231
|
-
let
|
|
232
|
-
|
|
231
|
+
let I = o.get(A);
|
|
232
|
+
I ? w.push(() => I.p(_, t)) : (I = u(A, _), I.c()), C.set(A, T[b] = I), A in g && P.set(A, Math.abs(b - g[A]));
|
|
233
233
|
}
|
|
234
234
|
const O = /* @__PURE__ */ new Set(), N = /* @__PURE__ */ new Set();
|
|
235
235
|
function R(_) {
|
|
236
|
-
|
|
236
|
+
er(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
237
237
|
}
|
|
238
238
|
for (; c && d; ) {
|
|
239
|
-
const _ = T[d - 1], A = e[c - 1],
|
|
240
|
-
_ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(
|
|
239
|
+
const _ = T[d - 1], A = e[c - 1], I = _.key, F = A.key;
|
|
240
|
+
_ === A ? (l = _.first, c--, d--) : C.has(F) ? !o.has(I) || O.has(I) ? R(_) : N.has(F) ? c-- : P.get(I) > P.get(F) ? (N.add(I), R(_)) : (O.add(F), c--) : (h(A, o), c--);
|
|
241
241
|
}
|
|
242
242
|
for (; c--; ) {
|
|
243
243
|
const _ = e[c];
|
|
@@ -245,33 +245,33 @@ function Gs(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
|
245
245
|
}
|
|
246
246
|
for (; d; )
|
|
247
247
|
R(T[d - 1]);
|
|
248
|
-
return
|
|
248
|
+
return ne(w), T;
|
|
249
249
|
}
|
|
250
|
-
function
|
|
250
|
+
function an(e, t, r) {
|
|
251
251
|
const { fragment: n, after_update: i } = e.$$;
|
|
252
|
-
n && n.m(t, r),
|
|
253
|
-
const s = e.$$.on_mount.map(
|
|
254
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
255
|
-
}), i.forEach(
|
|
252
|
+
n && n.m(t, r), ze(() => {
|
|
253
|
+
const s = e.$$.on_mount.map(zt).filter(lt);
|
|
254
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
|
255
|
+
}), i.forEach(ze);
|
|
256
256
|
}
|
|
257
|
-
function
|
|
257
|
+
function un(e, t) {
|
|
258
258
|
const r = e.$$;
|
|
259
|
-
r.fragment !== null && (
|
|
259
|
+
r.fragment !== null && (sn(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
260
260
|
}
|
|
261
|
-
function
|
|
262
|
-
e.$$.dirty[0] === -1 && (Y.push(e),
|
|
261
|
+
function hn(e, t) {
|
|
262
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
263
263
|
}
|
|
264
|
-
function
|
|
265
|
-
const h =
|
|
266
|
-
|
|
264
|
+
function ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
265
|
+
const h = he;
|
|
266
|
+
ue(e);
|
|
267
267
|
const u = e.$$ = {
|
|
268
268
|
fragment: null,
|
|
269
269
|
ctx: [],
|
|
270
270
|
// state
|
|
271
271
|
props: s,
|
|
272
|
-
update:
|
|
272
|
+
update: L,
|
|
273
273
|
not_equal: i,
|
|
274
|
-
bound:
|
|
274
|
+
bound: St(),
|
|
275
275
|
// lifecycle
|
|
276
276
|
on_mount: [],
|
|
277
277
|
on_destroy: [],
|
|
@@ -280,7 +280,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
280
280
|
after_update: [],
|
|
281
281
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
282
282
|
// everything else
|
|
283
|
-
callbacks:
|
|
283
|
+
callbacks: St(),
|
|
284
284
|
dirty: a,
|
|
285
285
|
skip_bound: !1,
|
|
286
286
|
root: t.target || h.$$.root
|
|
@@ -289,19 +289,19 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
289
289
|
let l = !1;
|
|
290
290
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
|
291
291
|
const b = d.length ? d[0] : c;
|
|
292
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l &&
|
|
293
|
-
}) : [], u.update(), l = !0,
|
|
292
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = b) && (!u.skip_bound && u.bound[m] && u.bound[m](b), l && hn(e, m)), c;
|
|
293
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
294
294
|
if (t.hydrate) {
|
|
295
|
-
const m =
|
|
296
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
295
|
+
const m = Jr(t.target);
|
|
296
|
+
u.fragment && u.fragment.l(m), m.forEach(ie);
|
|
297
297
|
} else
|
|
298
298
|
u.fragment && u.fragment.c();
|
|
299
|
-
t.intro &&
|
|
299
|
+
t.intro && er(e.$$.fragment), an(e, t.target, t.anchor), x();
|
|
300
300
|
}
|
|
301
|
-
|
|
301
|
+
ue(h);
|
|
302
302
|
}
|
|
303
|
-
let
|
|
304
|
-
typeof HTMLElement == "function" && (
|
|
303
|
+
let tr;
|
|
304
|
+
typeof HTMLElement == "function" && (tr = class extends HTMLElement {
|
|
305
305
|
constructor(t, r, n) {
|
|
306
306
|
super();
|
|
307
307
|
/** The Svelte component constructor */
|
|
@@ -338,42 +338,42 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
338
338
|
}
|
|
339
339
|
}
|
|
340
340
|
connectedCallback() {
|
|
341
|
-
return
|
|
341
|
+
return xt(this, null, function* () {
|
|
342
342
|
if (this.$$cn = !0, !this.$$c) {
|
|
343
343
|
let t = function(s) {
|
|
344
344
|
return () => {
|
|
345
345
|
let o;
|
|
346
346
|
return {
|
|
347
347
|
c: function() {
|
|
348
|
-
o = V("slot"), s !== "default" &&
|
|
348
|
+
o = V("slot"), s !== "default" && me(o, "name", s);
|
|
349
349
|
},
|
|
350
350
|
/**
|
|
351
351
|
* @param {HTMLElement} target
|
|
352
352
|
* @param {HTMLElement} [anchor]
|
|
353
353
|
*/
|
|
354
354
|
m: function(u, l) {
|
|
355
|
-
|
|
355
|
+
fe(u, o, l);
|
|
356
356
|
},
|
|
357
357
|
d: function(u) {
|
|
358
|
-
u &&
|
|
358
|
+
u && ie(o);
|
|
359
359
|
}
|
|
360
360
|
};
|
|
361
361
|
};
|
|
362
362
|
};
|
|
363
363
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
364
364
|
return;
|
|
365
|
-
const r = {}, n =
|
|
365
|
+
const r = {}, n = Kr(this);
|
|
366
366
|
for (const s of this.$$s)
|
|
367
367
|
s in n && (r[s] = [t(s)]);
|
|
368
368
|
for (const s of this.attributes) {
|
|
369
369
|
const o = this.$$g_p(s.name);
|
|
370
|
-
o in this.$$d || (this.$$d[o] =
|
|
370
|
+
o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
|
|
371
371
|
}
|
|
372
372
|
for (const s in this.$$p_d)
|
|
373
373
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
374
374
|
this.$$c = new this.$$ctor({
|
|
375
375
|
target: this.shadowRoot || this,
|
|
376
|
-
props:
|
|
376
|
+
props: Et(_t({}, this.$$d), {
|
|
377
377
|
$$slots: r,
|
|
378
378
|
$$scope: {
|
|
379
379
|
ctx: []
|
|
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
384
384
|
this.$$r = !0;
|
|
385
385
|
for (const s in this.$$p_d)
|
|
386
386
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
387
|
-
const o =
|
|
387
|
+
const o = Ee(
|
|
388
388
|
s,
|
|
389
389
|
this.$$d[s],
|
|
390
390
|
this.$$p_d,
|
|
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
408
408
|
// and setting attributes through setAttribute etc, this is helpful
|
|
409
409
|
attributeChangedCallback(t, r, n) {
|
|
410
410
|
var i;
|
|
411
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
411
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
412
412
|
}
|
|
413
413
|
disconnectedCallback() {
|
|
414
414
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
|
421
421
|
) || t;
|
|
422
422
|
}
|
|
423
423
|
});
|
|
424
|
-
function
|
|
424
|
+
function Ee(e, t, r, n) {
|
|
425
425
|
var s;
|
|
426
426
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
427
427
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -451,8 +451,8 @@ function _e(e, t, r, n) {
|
|
|
451
451
|
return t;
|
|
452
452
|
}
|
|
453
453
|
}
|
|
454
|
-
function
|
|
455
|
-
let o = class extends
|
|
454
|
+
function cn(e, t, r, n, i, s) {
|
|
455
|
+
let o = class extends tr {
|
|
456
456
|
constructor() {
|
|
457
457
|
super(e, r, i), this.$$p_d = t;
|
|
458
458
|
}
|
|
@@ -469,7 +469,7 @@ function hn(e, t, r, n, i, s) {
|
|
|
469
469
|
},
|
|
470
470
|
set(h) {
|
|
471
471
|
var u;
|
|
472
|
-
h =
|
|
472
|
+
h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
473
473
|
}
|
|
474
474
|
});
|
|
475
475
|
}), n.forEach((a) => {
|
|
@@ -482,7 +482,7 @@ function hn(e, t, r, n, i, s) {
|
|
|
482
482
|
}), e.element = /** @type {any} */
|
|
483
483
|
o, o;
|
|
484
484
|
}
|
|
485
|
-
class
|
|
485
|
+
class fn {
|
|
486
486
|
constructor() {
|
|
487
487
|
/**
|
|
488
488
|
* ### PRIVATE API
|
|
@@ -503,7 +503,7 @@ class ln {
|
|
|
503
503
|
}
|
|
504
504
|
/** @returns {void} */
|
|
505
505
|
$destroy() {
|
|
506
|
-
|
|
506
|
+
un(this, 1), this.$destroy = L;
|
|
507
507
|
}
|
|
508
508
|
/**
|
|
509
509
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -512,8 +512,8 @@ class ln {
|
|
|
512
512
|
* @returns {() => void}
|
|
513
513
|
*/
|
|
514
514
|
$on(t, r) {
|
|
515
|
-
if (!
|
|
516
|
-
return
|
|
515
|
+
if (!lt(r))
|
|
516
|
+
return L;
|
|
517
517
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
518
518
|
return n.push(r), () => {
|
|
519
519
|
const i = n.indexOf(r);
|
|
@@ -525,11 +525,11 @@ class ln {
|
|
|
525
525
|
* @returns {void}
|
|
526
526
|
*/
|
|
527
527
|
$set(t) {
|
|
528
|
-
this.$$set && !
|
|
528
|
+
this.$$set && !zr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
529
529
|
}
|
|
530
530
|
}
|
|
531
|
-
const
|
|
532
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
531
|
+
const mn = "4";
|
|
532
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
|
533
533
|
/*! *****************************************************************************
|
|
534
534
|
Copyright (c) Microsoft Corporation.
|
|
535
535
|
|
|
@@ -544,24 +544,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
544
544
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
545
545
|
PERFORMANCE OF THIS SOFTWARE.
|
|
546
546
|
***************************************************************************** */
|
|
547
|
-
var
|
|
548
|
-
return
|
|
547
|
+
var Ze = function(e, t) {
|
|
548
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
549
549
|
r.__proto__ = n;
|
|
550
550
|
} || function(r, n) {
|
|
551
551
|
for (var i in n)
|
|
552
552
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
553
|
-
},
|
|
553
|
+
}, Ze(e, t);
|
|
554
554
|
};
|
|
555
|
-
function
|
|
555
|
+
function de(e, t) {
|
|
556
556
|
if (typeof t != "function" && t !== null)
|
|
557
557
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
558
|
-
|
|
558
|
+
Ze(e, t);
|
|
559
559
|
function r() {
|
|
560
560
|
this.constructor = e;
|
|
561
561
|
}
|
|
562
562
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
563
563
|
}
|
|
564
|
-
function
|
|
564
|
+
function Qe(e) {
|
|
565
565
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
566
566
|
if (r)
|
|
567
567
|
return r.call(e);
|
|
@@ -573,7 +573,7 @@ function Ze(e) {
|
|
|
573
573
|
};
|
|
574
574
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Ye(e, t) {
|
|
577
577
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
578
578
|
if (!r)
|
|
579
579
|
return e;
|
|
@@ -593,7 +593,7 @@ function Qe(e, t) {
|
|
|
593
593
|
}
|
|
594
594
|
return s;
|
|
595
595
|
}
|
|
596
|
-
function
|
|
596
|
+
function qe(e, t, r) {
|
|
597
597
|
if (arguments.length === 2)
|
|
598
598
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
599
599
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
@@ -602,13 +602,13 @@ function Ye(e, t, r) {
|
|
|
602
602
|
function D(e) {
|
|
603
603
|
return typeof e == "function";
|
|
604
604
|
}
|
|
605
|
-
function
|
|
605
|
+
function rr(e) {
|
|
606
606
|
var t = function(n) {
|
|
607
607
|
Error.call(n), n.stack = new Error().stack;
|
|
608
608
|
}, r = e(t);
|
|
609
609
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
610
610
|
}
|
|
611
|
-
var
|
|
611
|
+
var Ue = rr(function(e) {
|
|
612
612
|
return function(r) {
|
|
613
613
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
614
614
|
` + r.map(function(n, i) {
|
|
@@ -617,13 +617,13 @@ var Ge = er(function(e) {
|
|
|
617
617
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
618
618
|
};
|
|
619
619
|
});
|
|
620
|
-
function
|
|
620
|
+
function Je(e, t) {
|
|
621
621
|
if (e) {
|
|
622
622
|
var r = e.indexOf(t);
|
|
623
623
|
0 <= r && e.splice(r, 1);
|
|
624
624
|
}
|
|
625
625
|
}
|
|
626
|
-
var
|
|
626
|
+
var Be = function() {
|
|
627
627
|
function e(t) {
|
|
628
628
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
629
629
|
}
|
|
@@ -635,12 +635,12 @@ var Ae = function() {
|
|
|
635
635
|
if (o)
|
|
636
636
|
if (this._parentage = null, Array.isArray(o))
|
|
637
637
|
try {
|
|
638
|
-
for (var a =
|
|
638
|
+
for (var a = Qe(o), h = a.next(); !h.done; h = a.next()) {
|
|
639
639
|
var u = h.value;
|
|
640
640
|
u.remove(this);
|
|
641
641
|
}
|
|
642
|
-
} catch (
|
|
643
|
-
t = { error:
|
|
642
|
+
} catch (g) {
|
|
643
|
+
t = { error: g };
|
|
644
644
|
} finally {
|
|
645
645
|
try {
|
|
646
646
|
h && !h.done && (r = a.return) && r.call(a);
|
|
@@ -655,23 +655,23 @@ var Ae = function() {
|
|
|
655
655
|
if (D(l))
|
|
656
656
|
try {
|
|
657
657
|
l();
|
|
658
|
-
} catch (
|
|
659
|
-
s =
|
|
658
|
+
} catch (g) {
|
|
659
|
+
s = g instanceof Ue ? g.errors : [g];
|
|
660
660
|
}
|
|
661
661
|
var m = this._finalizers;
|
|
662
662
|
if (m) {
|
|
663
663
|
this._finalizers = null;
|
|
664
664
|
try {
|
|
665
|
-
for (var c =
|
|
665
|
+
for (var c = Qe(m), d = c.next(); !d.done; d = c.next()) {
|
|
666
666
|
var b = d.value;
|
|
667
667
|
try {
|
|
668
|
-
|
|
669
|
-
} catch (
|
|
670
|
-
s = s != null ? s : [],
|
|
668
|
+
Tt(b);
|
|
669
|
+
} catch (g) {
|
|
670
|
+
s = s != null ? s : [], g instanceof Ue ? s = qe(qe([], Ye(s)), Ye(g.errors)) : s.push(g);
|
|
671
671
|
}
|
|
672
672
|
}
|
|
673
|
-
} catch (
|
|
674
|
-
n = { error:
|
|
673
|
+
} catch (g) {
|
|
674
|
+
n = { error: g };
|
|
675
675
|
} finally {
|
|
676
676
|
try {
|
|
677
677
|
d && !d.done && (i = c.return) && i.call(c);
|
|
@@ -682,13 +682,13 @@ var Ae = function() {
|
|
|
682
682
|
}
|
|
683
683
|
}
|
|
684
684
|
if (s)
|
|
685
|
-
throw new
|
|
685
|
+
throw new Ue(s);
|
|
686
686
|
}
|
|
687
687
|
}, e.prototype.add = function(t) {
|
|
688
688
|
var r;
|
|
689
689
|
if (t && t !== this)
|
|
690
690
|
if (this.closed)
|
|
691
|
-
|
|
691
|
+
Tt(t);
|
|
692
692
|
else {
|
|
693
693
|
if (t instanceof e) {
|
|
694
694
|
if (t.closed || t._hasParent(this))
|
|
@@ -705,52 +705,52 @@ var Ae = function() {
|
|
|
705
705
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
706
706
|
}, e.prototype._removeParent = function(t) {
|
|
707
707
|
var r = this._parentage;
|
|
708
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
708
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
709
709
|
}, e.prototype.remove = function(t) {
|
|
710
710
|
var r = this._finalizers;
|
|
711
|
-
r &&
|
|
711
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
712
712
|
}, e.EMPTY = function() {
|
|
713
713
|
var t = new e();
|
|
714
714
|
return t.closed = !0, t;
|
|
715
715
|
}(), e;
|
|
716
|
-
}(),
|
|
717
|
-
function
|
|
718
|
-
return e instanceof
|
|
716
|
+
}(), nr = Be.EMPTY;
|
|
717
|
+
function ir(e) {
|
|
718
|
+
return e instanceof Be || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
719
719
|
}
|
|
720
|
-
function
|
|
720
|
+
function Tt(e) {
|
|
721
721
|
D(e) ? e() : e.unsubscribe();
|
|
722
722
|
}
|
|
723
|
-
var
|
|
723
|
+
var dn = {
|
|
724
724
|
Promise: void 0
|
|
725
|
-
},
|
|
725
|
+
}, bn = {
|
|
726
726
|
setTimeout: function(e, t) {
|
|
727
727
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
728
728
|
r[n - 2] = arguments[n];
|
|
729
|
-
return setTimeout.apply(void 0,
|
|
729
|
+
return setTimeout.apply(void 0, qe([e, t], Ye(r)));
|
|
730
730
|
},
|
|
731
731
|
clearTimeout: function(e) {
|
|
732
732
|
return clearTimeout(e);
|
|
733
733
|
},
|
|
734
734
|
delegate: void 0
|
|
735
735
|
};
|
|
736
|
-
function
|
|
737
|
-
|
|
736
|
+
function pn(e) {
|
|
737
|
+
bn.setTimeout(function() {
|
|
738
738
|
throw e;
|
|
739
739
|
});
|
|
740
740
|
}
|
|
741
|
-
function
|
|
741
|
+
function Ht() {
|
|
742
742
|
}
|
|
743
|
-
function
|
|
743
|
+
function xe(e) {
|
|
744
744
|
e();
|
|
745
745
|
}
|
|
746
|
-
var
|
|
747
|
-
|
|
746
|
+
var sr = function(e) {
|
|
747
|
+
de(t, e);
|
|
748
748
|
function t(r) {
|
|
749
749
|
var n = e.call(this) || this;
|
|
750
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
750
|
+
return n.isStopped = !1, r ? (n.destination = r, ir(r) && r.add(n)) : n.destination = vn, n;
|
|
751
751
|
}
|
|
752
752
|
return t.create = function(r, n, i) {
|
|
753
|
-
return new
|
|
753
|
+
return new Ke(r, n, i);
|
|
754
754
|
}, t.prototype.next = function(r) {
|
|
755
755
|
this.isStopped || this._next(r);
|
|
756
756
|
}, t.prototype.error = function(r) {
|
|
@@ -774,7 +774,7 @@ var nr = function(e) {
|
|
|
774
774
|
this.unsubscribe();
|
|
775
775
|
}
|
|
776
776
|
}, t;
|
|
777
|
-
}(
|
|
777
|
+
}(Be), yn = function() {
|
|
778
778
|
function e(t) {
|
|
779
779
|
this.partialObserver = t;
|
|
780
780
|
}
|
|
@@ -784,7 +784,7 @@ var nr = function(e) {
|
|
|
784
784
|
try {
|
|
785
785
|
r.next(t);
|
|
786
786
|
} catch (n) {
|
|
787
|
-
|
|
787
|
+
ve(n);
|
|
788
788
|
}
|
|
789
789
|
}, e.prototype.error = function(t) {
|
|
790
790
|
var r = this.partialObserver;
|
|
@@ -792,56 +792,56 @@ var nr = function(e) {
|
|
|
792
792
|
try {
|
|
793
793
|
r.error(t);
|
|
794
794
|
} catch (n) {
|
|
795
|
-
|
|
795
|
+
ve(n);
|
|
796
796
|
}
|
|
797
797
|
else
|
|
798
|
-
|
|
798
|
+
ve(t);
|
|
799
799
|
}, e.prototype.complete = function() {
|
|
800
800
|
var t = this.partialObserver;
|
|
801
801
|
if (t.complete)
|
|
802
802
|
try {
|
|
803
803
|
t.complete();
|
|
804
804
|
} catch (r) {
|
|
805
|
-
|
|
805
|
+
ve(r);
|
|
806
806
|
}
|
|
807
807
|
}, e;
|
|
808
|
-
}(),
|
|
809
|
-
|
|
808
|
+
}(), Ke = function(e) {
|
|
809
|
+
de(t, e);
|
|
810
810
|
function t(r, n, i) {
|
|
811
811
|
var s = e.call(this) || this, o;
|
|
812
812
|
return D(r) || !r ? o = {
|
|
813
813
|
next: r != null ? r : void 0,
|
|
814
814
|
error: n != null ? n : void 0,
|
|
815
815
|
complete: i != null ? i : void 0
|
|
816
|
-
} : o = r, s.destination = new
|
|
816
|
+
} : o = r, s.destination = new yn(o), s;
|
|
817
817
|
}
|
|
818
818
|
return t;
|
|
819
|
-
}(
|
|
820
|
-
function
|
|
821
|
-
|
|
819
|
+
}(sr);
|
|
820
|
+
function ve(e) {
|
|
821
|
+
pn(e);
|
|
822
822
|
}
|
|
823
|
-
function
|
|
823
|
+
function gn(e) {
|
|
824
824
|
throw e;
|
|
825
825
|
}
|
|
826
|
-
var
|
|
826
|
+
var vn = {
|
|
827
827
|
closed: !0,
|
|
828
|
-
next:
|
|
829
|
-
error:
|
|
830
|
-
complete:
|
|
831
|
-
},
|
|
828
|
+
next: Ht,
|
|
829
|
+
error: gn,
|
|
830
|
+
complete: Ht
|
|
831
|
+
}, _n = function() {
|
|
832
832
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
833
833
|
}();
|
|
834
|
-
function
|
|
834
|
+
function En(e) {
|
|
835
835
|
return e;
|
|
836
836
|
}
|
|
837
|
-
function
|
|
838
|
-
return e.length === 0 ?
|
|
837
|
+
function xn(e) {
|
|
838
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
|
839
839
|
return e.reduce(function(n, i) {
|
|
840
840
|
return i(n);
|
|
841
841
|
}, r);
|
|
842
842
|
};
|
|
843
843
|
}
|
|
844
|
-
var
|
|
844
|
+
var At = function() {
|
|
845
845
|
function e(t) {
|
|
846
846
|
t && (this._subscribe = t);
|
|
847
847
|
}
|
|
@@ -849,8 +849,8 @@ var Tt = function() {
|
|
|
849
849
|
var r = new e();
|
|
850
850
|
return r.source = this, r.operator = t, r;
|
|
851
851
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
852
|
-
var i = this, s =
|
|
853
|
-
return
|
|
852
|
+
var i = this, s = wn(t) ? t : new Ke(t, r, n);
|
|
853
|
+
return xe(function() {
|
|
854
854
|
var o = i, a = o.operator, h = o.source;
|
|
855
855
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
856
856
|
}), s;
|
|
@@ -862,8 +862,8 @@ var Tt = function() {
|
|
|
862
862
|
}
|
|
863
863
|
}, e.prototype.forEach = function(t, r) {
|
|
864
864
|
var n = this;
|
|
865
|
-
return r =
|
|
866
|
-
var o = new
|
|
865
|
+
return r = Bt(r), new r(function(i, s) {
|
|
866
|
+
var o = new Ke({
|
|
867
867
|
next: function(a) {
|
|
868
868
|
try {
|
|
869
869
|
t(a);
|
|
@@ -879,15 +879,15 @@ var Tt = function() {
|
|
|
879
879
|
}, e.prototype._subscribe = function(t) {
|
|
880
880
|
var r;
|
|
881
881
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
882
|
-
}, e.prototype[
|
|
882
|
+
}, e.prototype[_n] = function() {
|
|
883
883
|
return this;
|
|
884
884
|
}, e.prototype.pipe = function() {
|
|
885
885
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
886
886
|
t[r] = arguments[r];
|
|
887
|
-
return
|
|
887
|
+
return xn(t)(this);
|
|
888
888
|
}, e.prototype.toPromise = function(t) {
|
|
889
889
|
var r = this;
|
|
890
|
-
return t =
|
|
890
|
+
return t = Bt(t), new t(function(n, i) {
|
|
891
891
|
var s;
|
|
892
892
|
r.subscribe(function(o) {
|
|
893
893
|
return s = o;
|
|
@@ -901,40 +901,40 @@ var Tt = function() {
|
|
|
901
901
|
return new e(t);
|
|
902
902
|
}, e;
|
|
903
903
|
}();
|
|
904
|
-
function
|
|
904
|
+
function Bt(e) {
|
|
905
905
|
var t;
|
|
906
|
-
return (t = e != null ? e :
|
|
906
|
+
return (t = e != null ? e : dn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
907
907
|
}
|
|
908
|
-
function
|
|
908
|
+
function Sn(e) {
|
|
909
909
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
910
910
|
}
|
|
911
|
-
function
|
|
912
|
-
return e && e instanceof
|
|
911
|
+
function wn(e) {
|
|
912
|
+
return e && e instanceof sr || Sn(e) && ir(e);
|
|
913
913
|
}
|
|
914
|
-
var
|
|
914
|
+
var Tn = rr(function(e) {
|
|
915
915
|
return function() {
|
|
916
916
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
917
917
|
};
|
|
918
|
-
}),
|
|
919
|
-
|
|
918
|
+
}), or = function(e) {
|
|
919
|
+
de(t, e);
|
|
920
920
|
function t() {
|
|
921
921
|
var r = e.call(this) || this;
|
|
922
922
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
923
923
|
}
|
|
924
924
|
return t.prototype.lift = function(r) {
|
|
925
|
-
var n = new
|
|
925
|
+
var n = new Pt(this, this);
|
|
926
926
|
return n.operator = r, n;
|
|
927
927
|
}, t.prototype._throwIfClosed = function() {
|
|
928
928
|
if (this.closed)
|
|
929
|
-
throw new
|
|
929
|
+
throw new Tn();
|
|
930
930
|
}, t.prototype.next = function(r) {
|
|
931
931
|
var n = this;
|
|
932
|
-
|
|
932
|
+
xe(function() {
|
|
933
933
|
var i, s;
|
|
934
934
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
935
935
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
936
936
|
try {
|
|
937
|
-
for (var o =
|
|
937
|
+
for (var o = Qe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
938
938
|
var h = a.value;
|
|
939
939
|
h.next(r);
|
|
940
940
|
}
|
|
@@ -952,7 +952,7 @@ var Sn = er(function(e) {
|
|
|
952
952
|
});
|
|
953
953
|
}, t.prototype.error = function(r) {
|
|
954
954
|
var n = this;
|
|
955
|
-
|
|
955
|
+
xe(function() {
|
|
956
956
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
957
957
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
958
958
|
for (var i = n.observers; i.length; )
|
|
@@ -961,7 +961,7 @@ var Sn = er(function(e) {
|
|
|
961
961
|
});
|
|
962
962
|
}, t.prototype.complete = function() {
|
|
963
963
|
var r = this;
|
|
964
|
-
|
|
964
|
+
xe(function() {
|
|
965
965
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
966
966
|
r.isStopped = !0;
|
|
967
967
|
for (var n = r.observers; n.length; )
|
|
@@ -983,20 +983,20 @@ var Sn = er(function(e) {
|
|
|
983
983
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
984
984
|
}, t.prototype._innerSubscribe = function(r) {
|
|
985
985
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
986
|
-
return s || o ?
|
|
987
|
-
n.currentObservers = null,
|
|
986
|
+
return s || o ? nr : (this.currentObservers = null, a.push(r), new Be(function() {
|
|
987
|
+
n.currentObservers = null, Je(a, r);
|
|
988
988
|
}));
|
|
989
989
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
990
990
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
991
991
|
i ? r.error(s) : o && r.complete();
|
|
992
992
|
}, t.prototype.asObservable = function() {
|
|
993
|
-
var r = new
|
|
993
|
+
var r = new At();
|
|
994
994
|
return r.source = this, r;
|
|
995
995
|
}, t.create = function(r, n) {
|
|
996
|
-
return new
|
|
996
|
+
return new Pt(r, n);
|
|
997
997
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
|
|
998
|
+
}(At), Pt = function(e) {
|
|
999
|
+
de(t, e);
|
|
1000
1000
|
function t(r, n) {
|
|
1001
1001
|
var i = e.call(this) || this;
|
|
1002
1002
|
return i.destination = r, i.source = n, i;
|
|
@@ -1012,17 +1012,17 @@ var Sn = er(function(e) {
|
|
|
1012
1012
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1013
1013
|
}, t.prototype._subscribe = function(r) {
|
|
1014
1014
|
var n, i;
|
|
1015
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1015
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : nr;
|
|
1016
1016
|
}, t;
|
|
1017
|
-
}(
|
|
1017
|
+
}(or), ar = {
|
|
1018
1018
|
now: function() {
|
|
1019
|
-
return (
|
|
1019
|
+
return (ar.delegate || Date).now();
|
|
1020
1020
|
},
|
|
1021
1021
|
delegate: void 0
|
|
1022
|
-
},
|
|
1023
|
-
|
|
1022
|
+
}, Hn = function(e) {
|
|
1023
|
+
de(t, e);
|
|
1024
1024
|
function t(r, n, i) {
|
|
1025
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1025
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ar);
|
|
1026
1026
|
var s = e.call(this) || this;
|
|
1027
1027
|
return s._bufferSize = r, s._windowTime = n, s._timestampProvider = i, s._buffer = [], s._infiniteTimeWindow = !0, s._infiniteTimeWindow = n === 1 / 0, s._bufferSize = Math.max(1, r), s._windowTime = Math.max(1, n), s;
|
|
1028
1028
|
}
|
|
@@ -1042,24 +1042,24 @@ var Sn = er(function(e) {
|
|
|
1042
1042
|
u && s.splice(0, u + 1);
|
|
1043
1043
|
}
|
|
1044
1044
|
}, t;
|
|
1045
|
-
}(
|
|
1046
|
-
const
|
|
1047
|
-
if (
|
|
1048
|
-
const r = new
|
|
1049
|
-
|
|
1045
|
+
}(or);
|
|
1046
|
+
const Ot = [], Nt = {}, An = (e, t = 0) => {
|
|
1047
|
+
if (Ot.indexOf(e) == -1) {
|
|
1048
|
+
const r = new Hn(t);
|
|
1049
|
+
Nt[e] = r, Ot.push(e);
|
|
1050
1050
|
}
|
|
1051
|
-
return
|
|
1051
|
+
return Nt[e];
|
|
1052
1052
|
}, Q = [];
|
|
1053
|
-
function
|
|
1053
|
+
function Bn(e, t) {
|
|
1054
1054
|
return {
|
|
1055
|
-
subscribe:
|
|
1055
|
+
subscribe: Pe(e, t).subscribe
|
|
1056
1056
|
};
|
|
1057
1057
|
}
|
|
1058
|
-
function
|
|
1058
|
+
function Pe(e, t = L) {
|
|
1059
1059
|
let r;
|
|
1060
1060
|
const n = /* @__PURE__ */ new Set();
|
|
1061
1061
|
function i(a) {
|
|
1062
|
-
if (
|
|
1062
|
+
if (Zt(e, a) && (e = a, r)) {
|
|
1063
1063
|
const h = !Q.length;
|
|
1064
1064
|
for (const u of n)
|
|
1065
1065
|
u[1](), Q.push(u, e);
|
|
@@ -1073,131 +1073,131 @@ function Be(e, t = I) {
|
|
|
1073
1073
|
function s(a) {
|
|
1074
1074
|
i(a(e));
|
|
1075
1075
|
}
|
|
1076
|
-
function o(a, h =
|
|
1076
|
+
function o(a, h = L) {
|
|
1077
1077
|
const u = [a, h];
|
|
1078
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
1078
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
|
|
1079
1079
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1080
1080
|
};
|
|
1081
1081
|
}
|
|
1082
1082
|
return { set: i, update: s, subscribe: o };
|
|
1083
1083
|
}
|
|
1084
|
-
function
|
|
1084
|
+
function se(e, t, r) {
|
|
1085
1085
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1086
1086
|
if (!i.every(Boolean))
|
|
1087
1087
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1088
1088
|
const s = t.length < 2;
|
|
1089
|
-
return
|
|
1089
|
+
return Bn(r, (o, a) => {
|
|
1090
1090
|
let h = !1;
|
|
1091
1091
|
const u = [];
|
|
1092
|
-
let l = 0, m =
|
|
1092
|
+
let l = 0, m = L;
|
|
1093
1093
|
const c = () => {
|
|
1094
1094
|
if (l)
|
|
1095
1095
|
return;
|
|
1096
1096
|
m();
|
|
1097
1097
|
const b = t(n ? u[0] : u, o, a);
|
|
1098
|
-
s ? o(b) : m =
|
|
1098
|
+
s ? o(b) : m = lt(b) ? b : L;
|
|
1099
1099
|
}, d = i.map(
|
|
1100
|
-
(b,
|
|
1100
|
+
(b, g) => Qt(
|
|
1101
1101
|
b,
|
|
1102
1102
|
(T) => {
|
|
1103
|
-
u[
|
|
1103
|
+
u[g] = T, l &= ~(1 << g), h && c();
|
|
1104
1104
|
},
|
|
1105
1105
|
() => {
|
|
1106
|
-
l |= 1 <<
|
|
1106
|
+
l |= 1 << g;
|
|
1107
1107
|
}
|
|
1108
1108
|
)
|
|
1109
1109
|
);
|
|
1110
1110
|
return h = !0, c(), function() {
|
|
1111
|
-
|
|
1111
|
+
ne(d), m(), h = !1;
|
|
1112
1112
|
};
|
|
1113
1113
|
});
|
|
1114
1114
|
}
|
|
1115
|
-
function
|
|
1115
|
+
function Pn(e) {
|
|
1116
1116
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1117
1117
|
}
|
|
1118
|
-
var
|
|
1119
|
-
return
|
|
1118
|
+
var On = function(t) {
|
|
1119
|
+
return Nn(t) && !Ln(t);
|
|
1120
1120
|
};
|
|
1121
|
-
function
|
|
1121
|
+
function Nn(e) {
|
|
1122
1122
|
return !!e && typeof e == "object";
|
|
1123
1123
|
}
|
|
1124
|
-
function
|
|
1124
|
+
function Ln(e) {
|
|
1125
1125
|
var t = Object.prototype.toString.call(e);
|
|
1126
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1126
|
+
return t === "[object RegExp]" || t === "[object Date]" || Mn(e);
|
|
1127
1127
|
}
|
|
1128
|
-
var
|
|
1129
|
-
function
|
|
1130
|
-
return e.$$typeof ===
|
|
1128
|
+
var Cn = typeof Symbol == "function" && Symbol.for, In = Cn ? Symbol.for("react.element") : 60103;
|
|
1129
|
+
function Mn(e) {
|
|
1130
|
+
return e.$$typeof === In;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function Rn(e) {
|
|
1133
1133
|
return Array.isArray(e) ? [] : {};
|
|
1134
1134
|
}
|
|
1135
|
-
function
|
|
1136
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1135
|
+
function le(e, t) {
|
|
1136
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Rn(e), e, t) : e;
|
|
1137
1137
|
}
|
|
1138
|
-
function
|
|
1138
|
+
function Gn(e, t, r) {
|
|
1139
1139
|
return e.concat(t).map(function(n) {
|
|
1140
|
-
return
|
|
1140
|
+
return le(n, r);
|
|
1141
1141
|
});
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function Un(e, t) {
|
|
1144
1144
|
if (!t.customMerge)
|
|
1145
|
-
return
|
|
1145
|
+
return K;
|
|
1146
1146
|
var r = t.customMerge(e);
|
|
1147
|
-
return typeof r == "function" ? r :
|
|
1147
|
+
return typeof r == "function" ? r : K;
|
|
1148
1148
|
}
|
|
1149
|
-
function
|
|
1149
|
+
function Dn(e) {
|
|
1150
1150
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1151
1151
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1152
1152
|
}) : [];
|
|
1153
1153
|
}
|
|
1154
|
-
function
|
|
1155
|
-
return Object.keys(e).concat(
|
|
1154
|
+
function Lt(e) {
|
|
1155
|
+
return Object.keys(e).concat(Dn(e));
|
|
1156
1156
|
}
|
|
1157
|
-
function
|
|
1157
|
+
function ur(e, t) {
|
|
1158
1158
|
try {
|
|
1159
1159
|
return t in e;
|
|
1160
1160
|
} catch (r) {
|
|
1161
1161
|
return !1;
|
|
1162
1162
|
}
|
|
1163
1163
|
}
|
|
1164
|
-
function
|
|
1165
|
-
return
|
|
1164
|
+
function $n(e, t) {
|
|
1165
|
+
return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1166
1166
|
}
|
|
1167
|
-
function
|
|
1167
|
+
function Fn(e, t, r) {
|
|
1168
1168
|
var n = {};
|
|
1169
|
-
return r.isMergeableObject(e) &&
|
|
1170
|
-
n[i] =
|
|
1171
|
-
}),
|
|
1172
|
-
|
|
1169
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
|
|
1170
|
+
n[i] = le(e[i], r);
|
|
1171
|
+
}), Lt(t).forEach(function(i) {
|
|
1172
|
+
$n(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1173
1173
|
}), n;
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1176
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1175
|
+
function K(e, t, r) {
|
|
1176
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = le;
|
|
1177
1177
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1178
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1178
|
+
return s ? n ? r.arrayMerge(e, t, r) : Fn(e, t, r) : le(t, r);
|
|
1179
1179
|
}
|
|
1180
|
-
|
|
1180
|
+
K.all = function(t, r) {
|
|
1181
1181
|
if (!Array.isArray(t))
|
|
1182
1182
|
throw new Error("first argument should be an array");
|
|
1183
1183
|
return t.reduce(function(n, i) {
|
|
1184
|
-
return
|
|
1184
|
+
return K(n, i, r);
|
|
1185
1185
|
}, {});
|
|
1186
1186
|
};
|
|
1187
|
-
var
|
|
1188
|
-
const
|
|
1189
|
-
var
|
|
1190
|
-
return
|
|
1187
|
+
var jn = K, kn = jn;
|
|
1188
|
+
const Vn = /* @__PURE__ */ Pn(kn);
|
|
1189
|
+
var et = function(e, t) {
|
|
1190
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1191
1191
|
r.__proto__ = n;
|
|
1192
1192
|
} || function(r, n) {
|
|
1193
1193
|
for (var i in n)
|
|
1194
1194
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1195
|
-
},
|
|
1195
|
+
}, et(e, t);
|
|
1196
1196
|
};
|
|
1197
|
-
function
|
|
1197
|
+
function Oe(e, t) {
|
|
1198
1198
|
if (typeof t != "function" && t !== null)
|
|
1199
1199
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1200
|
-
|
|
1200
|
+
et(e, t);
|
|
1201
1201
|
function r() {
|
|
1202
1202
|
this.constructor = e;
|
|
1203
1203
|
}
|
|
@@ -1213,7 +1213,7 @@ var G = function() {
|
|
|
1213
1213
|
return t;
|
|
1214
1214
|
}, G.apply(this, arguments);
|
|
1215
1215
|
};
|
|
1216
|
-
function
|
|
1216
|
+
function Xn(e, t) {
|
|
1217
1217
|
var r = {};
|
|
1218
1218
|
for (var n in e)
|
|
1219
1219
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1222,43 +1222,43 @@ function kn(e, t) {
|
|
|
1222
1222
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1223
1223
|
return r;
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1225
|
+
function De(e, t, r) {
|
|
1226
1226
|
if (r || arguments.length === 2)
|
|
1227
1227
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1228
1228
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1229
1229
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
1230
1230
|
}
|
|
1231
|
-
function
|
|
1232
|
-
var r = t && t.cache ? t.cache :
|
|
1231
|
+
function $e(e, t) {
|
|
1232
|
+
var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Yn, i = t && t.strategy ? t.strategy : Zn;
|
|
1233
1233
|
return i(e, {
|
|
1234
1234
|
cache: r,
|
|
1235
1235
|
serializer: n
|
|
1236
1236
|
});
|
|
1237
1237
|
}
|
|
1238
|
-
function
|
|
1238
|
+
function Wn(e) {
|
|
1239
1239
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1240
1240
|
}
|
|
1241
|
-
function
|
|
1242
|
-
var i =
|
|
1241
|
+
function zn(e, t, r, n) {
|
|
1242
|
+
var i = Wn(n) ? n : r(n), s = t.get(i);
|
|
1243
1243
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1244
1244
|
}
|
|
1245
|
-
function
|
|
1245
|
+
function hr(e, t, r) {
|
|
1246
1246
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1247
1247
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1248
1248
|
}
|
|
1249
|
-
function
|
|
1249
|
+
function lr(e, t, r, n, i) {
|
|
1250
1250
|
return r.bind(t, e, n, i);
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1253
|
-
var r = e.length === 1 ?
|
|
1254
|
-
return
|
|
1252
|
+
function Zn(e, t) {
|
|
1253
|
+
var r = e.length === 1 ? zn : hr;
|
|
1254
|
+
return lr(e, this, r, t.cache.create(), t.serializer);
|
|
1255
1255
|
}
|
|
1256
|
-
function
|
|
1257
|
-
return
|
|
1256
|
+
function Qn(e, t) {
|
|
1257
|
+
return lr(e, this, hr, t.cache.create(), t.serializer);
|
|
1258
1258
|
}
|
|
1259
|
-
var
|
|
1259
|
+
var Yn = function() {
|
|
1260
1260
|
return JSON.stringify(arguments);
|
|
1261
|
-
},
|
|
1261
|
+
}, qn = (
|
|
1262
1262
|
/** @class */
|
|
1263
1263
|
function() {
|
|
1264
1264
|
function e() {
|
|
@@ -1270,21 +1270,21 @@ var Zn = function() {
|
|
|
1270
1270
|
this.cache[t] = r;
|
|
1271
1271
|
}, e;
|
|
1272
1272
|
}()
|
|
1273
|
-
),
|
|
1273
|
+
), Jn = {
|
|
1274
1274
|
create: function() {
|
|
1275
|
-
return new
|
|
1275
|
+
return new qn();
|
|
1276
1276
|
}
|
|
1277
|
-
},
|
|
1278
|
-
variadic:
|
|
1279
|
-
},
|
|
1280
|
-
return
|
|
1277
|
+
}, Fe = {
|
|
1278
|
+
variadic: Qn
|
|
1279
|
+
}, Te = function() {
|
|
1280
|
+
return Te = Object.assign || function(t) {
|
|
1281
1281
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1282
1282
|
r = arguments[n];
|
|
1283
1283
|
for (var s in r)
|
|
1284
1284
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1285
1285
|
}
|
|
1286
1286
|
return t;
|
|
1287
|
-
},
|
|
1287
|
+
}, Te.apply(this, arguments);
|
|
1288
1288
|
};
|
|
1289
1289
|
var p;
|
|
1290
1290
|
(function(e) {
|
|
@@ -1294,47 +1294,47 @@ var E;
|
|
|
1294
1294
|
(function(e) {
|
|
1295
1295
|
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";
|
|
1296
1296
|
})(E || (E = {}));
|
|
1297
|
-
var
|
|
1297
|
+
var ee;
|
|
1298
1298
|
(function(e) {
|
|
1299
1299
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1300
|
-
})(
|
|
1301
|
-
function
|
|
1300
|
+
})(ee || (ee = {}));
|
|
1301
|
+
function Ct(e) {
|
|
1302
1302
|
return e.type === E.literal;
|
|
1303
1303
|
}
|
|
1304
|
-
function
|
|
1304
|
+
function Kn(e) {
|
|
1305
1305
|
return e.type === E.argument;
|
|
1306
1306
|
}
|
|
1307
|
-
function
|
|
1307
|
+
function cr(e) {
|
|
1308
1308
|
return e.type === E.number;
|
|
1309
1309
|
}
|
|
1310
|
-
function
|
|
1310
|
+
function fr(e) {
|
|
1311
1311
|
return e.type === E.date;
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function mr(e) {
|
|
1314
1314
|
return e.type === E.time;
|
|
1315
1315
|
}
|
|
1316
|
-
function
|
|
1316
|
+
function dr(e) {
|
|
1317
1317
|
return e.type === E.select;
|
|
1318
1318
|
}
|
|
1319
|
-
function
|
|
1319
|
+
function br(e) {
|
|
1320
1320
|
return e.type === E.plural;
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function ei(e) {
|
|
1323
1323
|
return e.type === E.pound;
|
|
1324
1324
|
}
|
|
1325
|
-
function
|
|
1325
|
+
function pr(e) {
|
|
1326
1326
|
return e.type === E.tag;
|
|
1327
1327
|
}
|
|
1328
|
-
function
|
|
1329
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1328
|
+
function yr(e) {
|
|
1329
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1330
1330
|
}
|
|
1331
|
-
function
|
|
1332
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1331
|
+
function tt(e) {
|
|
1332
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1333
1333
|
}
|
|
1334
|
-
var
|
|
1335
|
-
function
|
|
1334
|
+
var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ti = /(?:[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;
|
|
1335
|
+
function ri(e) {
|
|
1336
1336
|
var t = {};
|
|
1337
|
-
return e.replace(
|
|
1337
|
+
return e.replace(ti, function(r) {
|
|
1338
1338
|
var n = r.length;
|
|
1339
1339
|
switch (r[0]) {
|
|
1340
1340
|
case "G":
|
|
@@ -1433,11 +1433,11 @@ var S = function() {
|
|
|
1433
1433
|
return t;
|
|
1434
1434
|
}, S.apply(this, arguments);
|
|
1435
1435
|
};
|
|
1436
|
-
var
|
|
1437
|
-
function
|
|
1436
|
+
var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1437
|
+
function ii(e) {
|
|
1438
1438
|
if (e.length === 0)
|
|
1439
1439
|
throw new Error("Number skeleton cannot be empty");
|
|
1440
|
-
for (var t = e.split(
|
|
1440
|
+
for (var t = e.split(ni).filter(function(c) {
|
|
1441
1441
|
return c.length > 0;
|
|
1442
1442
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1443
1443
|
var s = i[n], o = s.split("/");
|
|
@@ -1452,17 +1452,17 @@ function ri(e) {
|
|
|
1452
1452
|
}
|
|
1453
1453
|
return r;
|
|
1454
1454
|
}
|
|
1455
|
-
function
|
|
1455
|
+
function si(e) {
|
|
1456
1456
|
return e.replace(/^(.*?)-/, "");
|
|
1457
1457
|
}
|
|
1458
|
-
var
|
|
1459
|
-
function
|
|
1458
|
+
var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
|
|
1459
|
+
function Mt(e) {
|
|
1460
1460
|
var t = {};
|
|
1461
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1461
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
|
|
1462
1462
|
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)), "";
|
|
1463
1463
|
}), t;
|
|
1464
1464
|
}
|
|
1465
|
-
function
|
|
1465
|
+
function Er(e) {
|
|
1466
1466
|
switch (e) {
|
|
1467
1467
|
case "sign-auto":
|
|
1468
1468
|
return {
|
|
@@ -1502,7 +1502,7 @@ function vr(e) {
|
|
|
1502
1502
|
};
|
|
1503
1503
|
}
|
|
1504
1504
|
}
|
|
1505
|
-
function
|
|
1505
|
+
function ai(e) {
|
|
1506
1506
|
var t;
|
|
1507
1507
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1508
1508
|
notation: "engineering"
|
|
@@ -1510,17 +1510,17 @@ function si(e) {
|
|
|
1510
1510
|
notation: "scientific"
|
|
1511
1511
|
}, e = e.slice(1)), t) {
|
|
1512
1512
|
var r = e.slice(0, 2);
|
|
1513
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1513
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
|
|
1514
1514
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1515
1515
|
t.minimumIntegerDigits = e.length;
|
|
1516
1516
|
}
|
|
1517
1517
|
return t;
|
|
1518
1518
|
}
|
|
1519
|
-
function
|
|
1520
|
-
var t = {}, r =
|
|
1519
|
+
function Rt(e) {
|
|
1520
|
+
var t = {}, r = Er(e);
|
|
1521
1521
|
return r || t;
|
|
1522
1522
|
}
|
|
1523
|
-
function
|
|
1523
|
+
function ui(e) {
|
|
1524
1524
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1525
1525
|
var i = n[r];
|
|
1526
1526
|
switch (i.stem) {
|
|
@@ -1544,7 +1544,7 @@ function oi(e) {
|
|
|
1544
1544
|
continue;
|
|
1545
1545
|
case "measure-unit":
|
|
1546
1546
|
case "unit":
|
|
1547
|
-
t.style = "unit", t.unit =
|
|
1547
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
|
1548
1548
|
continue;
|
|
1549
1549
|
case "compact-short":
|
|
1550
1550
|
case "K":
|
|
@@ -1556,12 +1556,12 @@ function oi(e) {
|
|
|
1556
1556
|
continue;
|
|
1557
1557
|
case "scientific":
|
|
1558
1558
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1559
|
-
return S(S({}, h),
|
|
1559
|
+
return S(S({}, h), Rt(u));
|
|
1560
1560
|
}, {}));
|
|
1561
1561
|
continue;
|
|
1562
1562
|
case "engineering":
|
|
1563
1563
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1564
|
-
return S(S({}, h),
|
|
1564
|
+
return S(S({}, h), Rt(u));
|
|
1565
1565
|
}, {}));
|
|
1566
1566
|
continue;
|
|
1567
1567
|
case "notation-simple":
|
|
@@ -1606,7 +1606,7 @@ function oi(e) {
|
|
|
1606
1606
|
case "integer-width":
|
|
1607
1607
|
if (i.options.length > 1)
|
|
1608
1608
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1609
|
-
i.options[0].replace(
|
|
1609
|
+
i.options[0].replace(oi, function(h, u, l, m, c, d) {
|
|
1610
1610
|
if (u)
|
|
1611
1611
|
t.minimumIntegerDigits = l.length;
|
|
1612
1612
|
else {
|
|
@@ -1619,32 +1619,32 @@ function oi(e) {
|
|
|
1619
1619
|
});
|
|
1620
1620
|
continue;
|
|
1621
1621
|
}
|
|
1622
|
-
if (
|
|
1622
|
+
if (_r.test(i.stem)) {
|
|
1623
1623
|
t.minimumIntegerDigits = i.stem.length;
|
|
1624
1624
|
continue;
|
|
1625
1625
|
}
|
|
1626
|
-
if (
|
|
1626
|
+
if (It.test(i.stem)) {
|
|
1627
1627
|
if (i.options.length > 1)
|
|
1628
1628
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1629
|
-
i.stem.replace(
|
|
1629
|
+
i.stem.replace(It, function(h, u, l, m, c, d) {
|
|
1630
1630
|
return l === "*" ? t.minimumFractionDigits = u.length : m && m[0] === "#" ? t.maximumFractionDigits = m.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1631
1631
|
});
|
|
1632
1632
|
var s = i.options[0];
|
|
1633
|
-
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t),
|
|
1633
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Mt(s)));
|
|
1634
1634
|
continue;
|
|
1635
1635
|
}
|
|
1636
|
-
if (
|
|
1637
|
-
t = S(S({}, t),
|
|
1636
|
+
if (vr.test(i.stem)) {
|
|
1637
|
+
t = S(S({}, t), Mt(i.stem));
|
|
1638
1638
|
continue;
|
|
1639
1639
|
}
|
|
1640
|
-
var o =
|
|
1640
|
+
var o = Er(i.stem);
|
|
1641
1641
|
o && (t = S(S({}, t), o));
|
|
1642
|
-
var a =
|
|
1642
|
+
var a = ai(i.stem);
|
|
1643
1643
|
a && (t = S(S({}, t), a));
|
|
1644
1644
|
}
|
|
1645
1645
|
return t;
|
|
1646
1646
|
}
|
|
1647
|
-
var
|
|
1647
|
+
var _e = {
|
|
1648
1648
|
"001": [
|
|
1649
1649
|
"H",
|
|
1650
1650
|
"h"
|
|
@@ -3059,13 +3059,13 @@ var ve = {
|
|
|
3059
3059
|
"h"
|
|
3060
3060
|
]
|
|
3061
3061
|
};
|
|
3062
|
-
function
|
|
3062
|
+
function hi(e, t) {
|
|
3063
3063
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3064
3064
|
var i = e.charAt(n);
|
|
3065
3065
|
if (i === "j") {
|
|
3066
3066
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3067
3067
|
s++, n++;
|
|
3068
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
3068
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = li(t);
|
|
3069
3069
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3070
3070
|
r += h;
|
|
3071
3071
|
for (; o-- > 0; )
|
|
@@ -3075,7 +3075,7 @@ function ai(e, t) {
|
|
|
3075
3075
|
}
|
|
3076
3076
|
return r;
|
|
3077
3077
|
}
|
|
3078
|
-
function
|
|
3078
|
+
function li(e) {
|
|
3079
3079
|
var t = e.hourCycle;
|
|
3080
3080
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3081
3081
|
e.hourCycles && // @ts-ignore
|
|
@@ -3094,23 +3094,23 @@ function ui(e) {
|
|
|
3094
3094
|
}
|
|
3095
3095
|
var r = e.language, n;
|
|
3096
3096
|
r !== "root" && (n = e.maximize().region);
|
|
3097
|
-
var i =
|
|
3097
|
+
var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
|
|
3098
3098
|
return i[0];
|
|
3099
3099
|
}
|
|
3100
|
-
var
|
|
3101
|
-
function
|
|
3100
|
+
var je, ci = new RegExp("^".concat(gr.source, "*")), fi = new RegExp("".concat(gr.source, "*$"));
|
|
3101
|
+
function y(e, t) {
|
|
3102
3102
|
return { start: e, end: t };
|
|
3103
3103
|
}
|
|
3104
|
-
var
|
|
3104
|
+
var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, bi = !!Object.fromEntries, pi = !!String.prototype.codePointAt, yi = !!String.prototype.trimStart, gi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, _i = vi ? Number.isSafeInteger : function(e) {
|
|
3105
3105
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3106
|
-
},
|
|
3106
|
+
}, rt = !0;
|
|
3107
3107
|
try {
|
|
3108
|
-
var
|
|
3109
|
-
|
|
3108
|
+
var Ei = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3109
|
+
rt = ((je = Ei.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3110
3110
|
} catch (e) {
|
|
3111
|
-
|
|
3111
|
+
rt = !1;
|
|
3112
3112
|
}
|
|
3113
|
-
var
|
|
3113
|
+
var Gt = mi ? (
|
|
3114
3114
|
// Native
|
|
3115
3115
|
function(t, r, n) {
|
|
3116
3116
|
return t.startsWith(r, n);
|
|
@@ -3120,7 +3120,7 @@ var Mt = ci ? (
|
|
|
3120
3120
|
function(t, r, n) {
|
|
3121
3121
|
return t.slice(n, n + r.length) === r;
|
|
3122
3122
|
}
|
|
3123
|
-
),
|
|
3123
|
+
), nt = di ? String.fromCodePoint : (
|
|
3124
3124
|
// IE11
|
|
3125
3125
|
function() {
|
|
3126
3126
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3132,9 +3132,9 @@ var Mt = ci ? (
|
|
|
3132
3132
|
}
|
|
3133
3133
|
return n;
|
|
3134
3134
|
}
|
|
3135
|
-
),
|
|
3135
|
+
), Ut = (
|
|
3136
3136
|
// native
|
|
3137
|
-
|
|
3137
|
+
bi ? Object.fromEntries : (
|
|
3138
3138
|
// Ponyfill
|
|
3139
3139
|
function(t) {
|
|
3140
3140
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3144,7 +3144,7 @@ var Mt = ci ? (
|
|
|
3144
3144
|
return r;
|
|
3145
3145
|
}
|
|
3146
3146
|
)
|
|
3147
|
-
),
|
|
3147
|
+
), xr = pi ? (
|
|
3148
3148
|
// Native
|
|
3149
3149
|
function(t, r) {
|
|
3150
3150
|
return t.codePointAt(r);
|
|
@@ -3158,7 +3158,7 @@ var Mt = ci ? (
|
|
|
3158
3158
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3159
3159
|
}
|
|
3160
3160
|
}
|
|
3161
|
-
),
|
|
3161
|
+
), xi = yi ? (
|
|
3162
3162
|
// Native
|
|
3163
3163
|
function(t) {
|
|
3164
3164
|
return t.trimStart();
|
|
@@ -3166,9 +3166,9 @@ var Mt = ci ? (
|
|
|
3166
3166
|
) : (
|
|
3167
3167
|
// Ponyfill
|
|
3168
3168
|
function(t) {
|
|
3169
|
-
return t.replace(
|
|
3169
|
+
return t.replace(ci, "");
|
|
3170
3170
|
}
|
|
3171
|
-
),
|
|
3171
|
+
), Si = gi ? (
|
|
3172
3172
|
// Native
|
|
3173
3173
|
function(t) {
|
|
3174
3174
|
return t.trimEnd();
|
|
@@ -3176,32 +3176,32 @@ var Mt = ci ? (
|
|
|
3176
3176
|
) : (
|
|
3177
3177
|
// Ponyfill
|
|
3178
3178
|
function(t) {
|
|
3179
|
-
return t.replace(
|
|
3179
|
+
return t.replace(fi, "");
|
|
3180
3180
|
}
|
|
3181
3181
|
);
|
|
3182
|
-
function
|
|
3182
|
+
function Sr(e, t) {
|
|
3183
3183
|
return new RegExp(e, t);
|
|
3184
3184
|
}
|
|
3185
|
-
var
|
|
3186
|
-
if (
|
|
3187
|
-
var
|
|
3188
|
-
|
|
3185
|
+
var it;
|
|
3186
|
+
if (rt) {
|
|
3187
|
+
var Dt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3188
|
+
it = function(t, r) {
|
|
3189
3189
|
var n;
|
|
3190
|
-
|
|
3191
|
-
var i =
|
|
3190
|
+
Dt.lastIndex = r;
|
|
3191
|
+
var i = Dt.exec(t);
|
|
3192
3192
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3193
3193
|
};
|
|
3194
3194
|
} else
|
|
3195
|
-
|
|
3195
|
+
it = function(t, r) {
|
|
3196
3196
|
for (var n = []; ; ) {
|
|
3197
|
-
var i =
|
|
3198
|
-
if (i === void 0 ||
|
|
3197
|
+
var i = xr(t, r);
|
|
3198
|
+
if (i === void 0 || wr(i) || Ai(i))
|
|
3199
3199
|
break;
|
|
3200
3200
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3201
3201
|
}
|
|
3202
|
-
return
|
|
3202
|
+
return nt.apply(void 0, n);
|
|
3203
3203
|
};
|
|
3204
|
-
var
|
|
3204
|
+
var wi = (
|
|
3205
3205
|
/** @class */
|
|
3206
3206
|
function() {
|
|
3207
3207
|
function e(t, r) {
|
|
@@ -3226,13 +3226,13 @@ var xi = (
|
|
|
3226
3226
|
var a = this.clonePosition();
|
|
3227
3227
|
this.bump(), i.push({
|
|
3228
3228
|
type: E.pound,
|
|
3229
|
-
location:
|
|
3229
|
+
location: y(a, this.clonePosition())
|
|
3230
3230
|
});
|
|
3231
3231
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3232
3232
|
if (n)
|
|
3233
3233
|
break;
|
|
3234
|
-
return this.error(p.UNMATCHED_CLOSING_TAG,
|
|
3235
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3234
|
+
return this.error(p.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3235
|
+
} else if (s === 60 && !this.ignoreTag && st(this.peek() || 0)) {
|
|
3236
3236
|
var o = this.parseTag(t, r);
|
|
3237
3237
|
if (o.err)
|
|
3238
3238
|
return o;
|
|
@@ -3255,7 +3255,7 @@ var xi = (
|
|
|
3255
3255
|
val: {
|
|
3256
3256
|
type: E.literal,
|
|
3257
3257
|
value: "<".concat(i, "/>"),
|
|
3258
|
-
location:
|
|
3258
|
+
location: y(n, this.clonePosition())
|
|
3259
3259
|
},
|
|
3260
3260
|
err: null
|
|
3261
3261
|
};
|
|
@@ -3265,25 +3265,25 @@ var xi = (
|
|
|
3265
3265
|
return s;
|
|
3266
3266
|
var o = s.val, a = this.clonePosition();
|
|
3267
3267
|
if (this.bumpIf("</")) {
|
|
3268
|
-
if (this.isEOF() || !
|
|
3269
|
-
return this.error(p.INVALID_TAG,
|
|
3268
|
+
if (this.isEOF() || !st(this.char()))
|
|
3269
|
+
return this.error(p.INVALID_TAG, y(a, this.clonePosition()));
|
|
3270
3270
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3271
|
-
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG,
|
|
3271
|
+
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3272
3272
|
val: {
|
|
3273
3273
|
type: E.tag,
|
|
3274
3274
|
value: i,
|
|
3275
3275
|
children: o,
|
|
3276
|
-
location:
|
|
3276
|
+
location: y(n, this.clonePosition())
|
|
3277
3277
|
},
|
|
3278
3278
|
err: null
|
|
3279
|
-
} : this.error(p.INVALID_TAG,
|
|
3279
|
+
} : this.error(p.INVALID_TAG, y(a, this.clonePosition())));
|
|
3280
3280
|
} else
|
|
3281
|
-
return this.error(p.UNCLOSED_TAG,
|
|
3281
|
+
return this.error(p.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3282
3282
|
} else
|
|
3283
|
-
return this.error(p.INVALID_TAG,
|
|
3283
|
+
return this.error(p.INVALID_TAG, y(n, this.clonePosition()));
|
|
3284
3284
|
}, e.prototype.parseTagName = function() {
|
|
3285
3285
|
var t = this.offset();
|
|
3286
|
-
for (this.bump(); !this.isEOF() &&
|
|
3286
|
+
for (this.bump(); !this.isEOF() && Hi(this.char()); )
|
|
3287
3287
|
this.bump();
|
|
3288
3288
|
return this.message.slice(t, this.offset());
|
|
3289
3289
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3305,14 +3305,14 @@ var xi = (
|
|
|
3305
3305
|
}
|
|
3306
3306
|
break;
|
|
3307
3307
|
}
|
|
3308
|
-
var h =
|
|
3308
|
+
var h = y(n, this.clonePosition());
|
|
3309
3309
|
return {
|
|
3310
3310
|
val: { type: E.literal, value: i, location: h },
|
|
3311
3311
|
err: null
|
|
3312
3312
|
};
|
|
3313
3313
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3314
3314
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3315
|
-
!
|
|
3315
|
+
!Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3316
3316
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3317
3317
|
if (this.isEOF() || this.char() !== 39)
|
|
3318
3318
|
return null;
|
|
@@ -3346,23 +3346,23 @@ var xi = (
|
|
|
3346
3346
|
r.push(n);
|
|
3347
3347
|
this.bump();
|
|
3348
3348
|
}
|
|
3349
|
-
return
|
|
3349
|
+
return nt.apply(void 0, r);
|
|
3350
3350
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3351
3351
|
if (this.isEOF())
|
|
3352
3352
|
return null;
|
|
3353
3353
|
var n = this.char();
|
|
3354
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3354
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
|
|
3355
3355
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3356
3356
|
var n = this.clonePosition();
|
|
3357
3357
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3358
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3358
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3359
3359
|
if (this.char() === 125)
|
|
3360
|
-
return this.bump(), this.error(p.EMPTY_ARGUMENT,
|
|
3360
|
+
return this.bump(), this.error(p.EMPTY_ARGUMENT, y(n, this.clonePosition()));
|
|
3361
3361
|
var i = this.parseIdentifierIfPossible().value;
|
|
3362
3362
|
if (!i)
|
|
3363
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
|
3363
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3364
3364
|
if (this.bumpSpace(), this.isEOF())
|
|
3365
|
-
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3365
|
+
return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
3366
3366
|
switch (this.char()) {
|
|
3367
3367
|
case 125:
|
|
3368
3368
|
return this.bump(), {
|
|
@@ -3370,25 +3370,25 @@ var xi = (
|
|
|
3370
3370
|
type: E.argument,
|
|
3371
3371
|
// value does not include the opening and closing braces.
|
|
3372
3372
|
value: i,
|
|
3373
|
-
location:
|
|
3373
|
+
location: y(n, this.clonePosition())
|
|
3374
3374
|
},
|
|
3375
3375
|
err: null
|
|
3376
3376
|
};
|
|
3377
3377
|
case 44:
|
|
3378
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3378
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3379
3379
|
default:
|
|
3380
|
-
return this.error(p.MALFORMED_ARGUMENT,
|
|
3380
|
+
return this.error(p.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3381
3381
|
}
|
|
3382
3382
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3383
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3383
|
+
var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
|
|
3384
3384
|
this.bumpTo(i);
|
|
3385
|
-
var s = this.clonePosition(), o =
|
|
3385
|
+
var s = this.clonePosition(), o = y(t, s);
|
|
3386
3386
|
return { value: n, location: o };
|
|
3387
3387
|
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3388
3388
|
var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
|
|
3389
3389
|
switch (a) {
|
|
3390
3390
|
case "":
|
|
3391
|
-
return this.error(p.EXPECT_ARGUMENT_TYPE,
|
|
3391
|
+
return this.error(p.EXPECT_ARGUMENT_TYPE, y(o, h));
|
|
3392
3392
|
case "number":
|
|
3393
3393
|
case "date":
|
|
3394
3394
|
case "time": {
|
|
@@ -3399,37 +3399,37 @@ var xi = (
|
|
|
3399
3399
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3400
3400
|
if (m.err)
|
|
3401
3401
|
return m;
|
|
3402
|
-
var c =
|
|
3402
|
+
var c = Si(m.val);
|
|
3403
3403
|
if (c.length === 0)
|
|
3404
|
-
return this.error(p.EXPECT_ARGUMENT_STYLE,
|
|
3405
|
-
var d =
|
|
3404
|
+
return this.error(p.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3405
|
+
var d = y(l, this.clonePosition());
|
|
3406
3406
|
u = { style: c, styleLocation: d };
|
|
3407
3407
|
}
|
|
3408
3408
|
var b = this.tryParseArgumentClose(i);
|
|
3409
3409
|
if (b.err)
|
|
3410
3410
|
return b;
|
|
3411
|
-
var
|
|
3412
|
-
if (u &&
|
|
3413
|
-
var T =
|
|
3411
|
+
var g = y(i, this.clonePosition());
|
|
3412
|
+
if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3413
|
+
var T = xi(u.style.slice(2));
|
|
3414
3414
|
if (a === "number") {
|
|
3415
3415
|
var m = this.parseNumberSkeletonFromString(T, u.styleLocation);
|
|
3416
3416
|
return m.err ? m : {
|
|
3417
|
-
val: { type: E.number, value: n, location:
|
|
3417
|
+
val: { type: E.number, value: n, location: g, style: m.val },
|
|
3418
3418
|
err: null
|
|
3419
3419
|
};
|
|
3420
3420
|
} else {
|
|
3421
3421
|
if (T.length === 0)
|
|
3422
|
-
return this.error(p.EXPECT_DATE_TIME_SKELETON,
|
|
3422
|
+
return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
|
|
3423
3423
|
var C = T;
|
|
3424
|
-
this.locale && (C =
|
|
3424
|
+
this.locale && (C = hi(T, this.locale));
|
|
3425
3425
|
var c = {
|
|
3426
|
-
type:
|
|
3426
|
+
type: ee.dateTime,
|
|
3427
3427
|
pattern: C,
|
|
3428
3428
|
location: u.styleLocation,
|
|
3429
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3429
|
+
parsedOptions: this.shouldParseSkeletons ? ri(C) : {}
|
|
3430
3430
|
}, P = a === "date" ? E.date : E.time;
|
|
3431
3431
|
return {
|
|
3432
|
-
val: { type: P, value: n, location:
|
|
3432
|
+
val: { type: P, value: n, location: g, style: c },
|
|
3433
3433
|
err: null
|
|
3434
3434
|
};
|
|
3435
3435
|
}
|
|
@@ -3438,7 +3438,7 @@ var xi = (
|
|
|
3438
3438
|
val: {
|
|
3439
3439
|
type: a === "number" ? E.number : a === "date" ? E.date : E.time,
|
|
3440
3440
|
value: n,
|
|
3441
|
-
location:
|
|
3441
|
+
location: g,
|
|
3442
3442
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
3443
3443
|
},
|
|
3444
3444
|
err: null
|
|
@@ -3449,12 +3449,12 @@ var xi = (
|
|
|
3449
3449
|
case "select": {
|
|
3450
3450
|
var w = this.clonePosition();
|
|
3451
3451
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3452
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS,
|
|
3452
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, Te({}, w)));
|
|
3453
3453
|
this.bumpSpace();
|
|
3454
3454
|
var O = this.parseIdentifierIfPossible(), N = 0;
|
|
3455
3455
|
if (a !== "select" && O.value === "offset") {
|
|
3456
3456
|
if (!this.bumpIf(":"))
|
|
3457
|
-
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,
|
|
3457
|
+
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3458
3458
|
this.bumpSpace();
|
|
3459
3459
|
var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3460
3460
|
if (m.err)
|
|
@@ -3467,12 +3467,12 @@ var xi = (
|
|
|
3467
3467
|
var b = this.tryParseArgumentClose(i);
|
|
3468
3468
|
if (b.err)
|
|
3469
3469
|
return b;
|
|
3470
|
-
var _ =
|
|
3470
|
+
var _ = y(i, this.clonePosition());
|
|
3471
3471
|
return a === "select" ? {
|
|
3472
3472
|
val: {
|
|
3473
3473
|
type: E.select,
|
|
3474
3474
|
value: n,
|
|
3475
|
-
options:
|
|
3475
|
+
options: Ut(R.val),
|
|
3476
3476
|
location: _
|
|
3477
3477
|
},
|
|
3478
3478
|
err: null
|
|
@@ -3480,7 +3480,7 @@ var xi = (
|
|
|
3480
3480
|
val: {
|
|
3481
3481
|
type: E.plural,
|
|
3482
3482
|
value: n,
|
|
3483
|
-
options:
|
|
3483
|
+
options: Ut(R.val),
|
|
3484
3484
|
offset: N,
|
|
3485
3485
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3486
3486
|
location: _
|
|
@@ -3489,10 +3489,10 @@ var xi = (
|
|
|
3489
3489
|
};
|
|
3490
3490
|
}
|
|
3491
3491
|
default:
|
|
3492
|
-
return this.error(p.INVALID_ARGUMENT_TYPE,
|
|
3492
|
+
return this.error(p.INVALID_ARGUMENT_TYPE, y(o, h));
|
|
3493
3493
|
}
|
|
3494
3494
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3495
|
-
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE,
|
|
3495
|
+
return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3496
3496
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3497
3497
|
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3498
3498
|
var n = this.char();
|
|
@@ -3501,7 +3501,7 @@ var xi = (
|
|
|
3501
3501
|
this.bump();
|
|
3502
3502
|
var i = this.clonePosition();
|
|
3503
3503
|
if (!this.bumpUntil("'"))
|
|
3504
|
-
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,
|
|
3504
|
+
return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
|
|
3505
3505
|
this.bump();
|
|
3506
3506
|
break;
|
|
3507
3507
|
}
|
|
@@ -3531,16 +3531,16 @@ var xi = (
|
|
|
3531
3531
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3532
3532
|
var n = [];
|
|
3533
3533
|
try {
|
|
3534
|
-
n =
|
|
3534
|
+
n = ii(t);
|
|
3535
3535
|
} catch (i) {
|
|
3536
3536
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3537
3537
|
}
|
|
3538
3538
|
return {
|
|
3539
3539
|
val: {
|
|
3540
|
-
type:
|
|
3540
|
+
type: ee.number,
|
|
3541
3541
|
tokens: n,
|
|
3542
3542
|
location: r,
|
|
3543
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3543
|
+
parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
|
|
3544
3544
|
},
|
|
3545
3545
|
err: null
|
|
3546
3546
|
};
|
|
@@ -3552,7 +3552,7 @@ var xi = (
|
|
|
3552
3552
|
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3553
3553
|
if (c.err)
|
|
3554
3554
|
return c;
|
|
3555
|
-
l =
|
|
3555
|
+
l = y(m, this.clonePosition()), u = this.message.slice(m.offset, this.offset());
|
|
3556
3556
|
} else
|
|
3557
3557
|
break;
|
|
3558
3558
|
}
|
|
@@ -3561,22 +3561,22 @@ var xi = (
|
|
|
3561
3561
|
u === "other" && (o = !0), this.bumpSpace();
|
|
3562
3562
|
var d = this.clonePosition();
|
|
3563
3563
|
if (!this.bumpIf("{"))
|
|
3564
|
-
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,
|
|
3564
|
+
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3565
3565
|
var b = this.parseMessage(t + 1, r, n);
|
|
3566
3566
|
if (b.err)
|
|
3567
3567
|
return b;
|
|
3568
|
-
var
|
|
3569
|
-
if (
|
|
3570
|
-
return
|
|
3568
|
+
var g = this.tryParseArgumentClose(d);
|
|
3569
|
+
if (g.err)
|
|
3570
|
+
return g;
|
|
3571
3571
|
a.push([
|
|
3572
3572
|
u,
|
|
3573
3573
|
{
|
|
3574
3574
|
value: b.val,
|
|
3575
|
-
location:
|
|
3575
|
+
location: y(d, this.clonePosition())
|
|
3576
3576
|
}
|
|
3577
3577
|
]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
|
|
3578
3578
|
}
|
|
3579
|
-
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR,
|
|
3579
|
+
return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(p.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
|
|
3580
3580
|
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3581
3581
|
var n = 1, i = this.clonePosition();
|
|
3582
3582
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
@@ -3587,8 +3587,8 @@ var xi = (
|
|
|
3587
3587
|
else
|
|
3588
3588
|
break;
|
|
3589
3589
|
}
|
|
3590
|
-
var h =
|
|
3591
|
-
return s ? (o *= n,
|
|
3590
|
+
var h = y(i, this.clonePosition());
|
|
3591
|
+
return s ? (o *= n, _i(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3592
3592
|
}, e.prototype.offset = function() {
|
|
3593
3593
|
return this.position.offset;
|
|
3594
3594
|
}, e.prototype.isEOF = function() {
|
|
@@ -3603,7 +3603,7 @@ var xi = (
|
|
|
3603
3603
|
var t = this.position.offset;
|
|
3604
3604
|
if (t >= this.message.length)
|
|
3605
3605
|
throw Error("out of bound");
|
|
3606
|
-
var r =
|
|
3606
|
+
var r = xr(this.message, t);
|
|
3607
3607
|
if (r === void 0)
|
|
3608
3608
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3609
3609
|
return r;
|
|
@@ -3622,7 +3622,7 @@ var xi = (
|
|
|
3622
3622
|
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);
|
|
3623
3623
|
}
|
|
3624
3624
|
}, e.prototype.bumpIf = function(t) {
|
|
3625
|
-
if (
|
|
3625
|
+
if (Gt(this.message, t, this.offset())) {
|
|
3626
3626
|
for (var r = 0; r < t.length; r++)
|
|
3627
3627
|
this.bump();
|
|
3628
3628
|
return !0;
|
|
@@ -3644,7 +3644,7 @@ var xi = (
|
|
|
3644
3644
|
break;
|
|
3645
3645
|
}
|
|
3646
3646
|
}, e.prototype.bumpSpace = function() {
|
|
3647
|
-
for (; !this.isEOF() &&
|
|
3647
|
+
for (; !this.isEOF() && wr(this.char()); )
|
|
3648
3648
|
this.bump();
|
|
3649
3649
|
}, e.prototype.peek = function() {
|
|
3650
3650
|
if (this.isEOF())
|
|
@@ -3654,47 +3654,47 @@ var xi = (
|
|
|
3654
3654
|
}, e;
|
|
3655
3655
|
}()
|
|
3656
3656
|
);
|
|
3657
|
-
function
|
|
3657
|
+
function st(e) {
|
|
3658
3658
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3659
3659
|
}
|
|
3660
|
-
function
|
|
3661
|
-
return
|
|
3660
|
+
function Ti(e) {
|
|
3661
|
+
return st(e) || e === 47;
|
|
3662
3662
|
}
|
|
3663
|
-
function
|
|
3663
|
+
function Hi(e) {
|
|
3664
3664
|
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;
|
|
3665
3665
|
}
|
|
3666
|
-
function
|
|
3666
|
+
function wr(e) {
|
|
3667
3667
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3668
3668
|
}
|
|
3669
|
-
function
|
|
3669
|
+
function Ai(e) {
|
|
3670
3670
|
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;
|
|
3671
3671
|
}
|
|
3672
|
-
function
|
|
3672
|
+
function ot(e) {
|
|
3673
3673
|
e.forEach(function(t) {
|
|
3674
|
-
if (delete t.location,
|
|
3674
|
+
if (delete t.location, dr(t) || br(t))
|
|
3675
3675
|
for (var r in t.options)
|
|
3676
|
-
delete t.options[r].location,
|
|
3676
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3677
3677
|
else
|
|
3678
|
-
|
|
3678
|
+
cr(t) && yr(t.style) || (fr(t) || mr(t)) && tt(t.style) ? delete t.style.location : pr(t) && ot(t.children);
|
|
3679
3679
|
});
|
|
3680
3680
|
}
|
|
3681
|
-
function
|
|
3682
|
-
t === void 0 && (t = {}), t =
|
|
3683
|
-
var r = new
|
|
3681
|
+
function Bi(e, t) {
|
|
3682
|
+
t === void 0 && (t = {}), t = Te({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3683
|
+
var r = new wi(e, t).parse();
|
|
3684
3684
|
if (r.err) {
|
|
3685
3685
|
var n = SyntaxError(p[r.err.kind]);
|
|
3686
3686
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3687
3687
|
}
|
|
3688
|
-
return t != null && t.captureLocation ||
|
|
3688
|
+
return t != null && t.captureLocation || ot(r.val), r.val;
|
|
3689
3689
|
}
|
|
3690
|
-
var
|
|
3690
|
+
var te;
|
|
3691
3691
|
(function(e) {
|
|
3692
3692
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3693
|
-
})(
|
|
3694
|
-
var
|
|
3693
|
+
})(te || (te = {}));
|
|
3694
|
+
var Ne = (
|
|
3695
3695
|
/** @class */
|
|
3696
3696
|
function(e) {
|
|
3697
|
-
|
|
3697
|
+
Oe(t, e);
|
|
3698
3698
|
function t(r, n, i) {
|
|
3699
3699
|
var s = e.call(this, r) || this;
|
|
3700
3700
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3703,48 +3703,48 @@ var Oe = (
|
|
|
3703
3703
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3704
3704
|
}, t;
|
|
3705
3705
|
}(Error)
|
|
3706
|
-
),
|
|
3706
|
+
), $t = (
|
|
3707
3707
|
/** @class */
|
|
3708
3708
|
function(e) {
|
|
3709
|
-
|
|
3709
|
+
Oe(t, e);
|
|
3710
3710
|
function t(r, n, i, s) {
|
|
3711
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3711
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
|
3712
3712
|
}
|
|
3713
3713
|
return t;
|
|
3714
|
-
}(
|
|
3715
|
-
),
|
|
3714
|
+
}(Ne)
|
|
3715
|
+
), Pi = (
|
|
3716
3716
|
/** @class */
|
|
3717
3717
|
function(e) {
|
|
3718
|
-
|
|
3718
|
+
Oe(t, e);
|
|
3719
3719
|
function t(r, n, i) {
|
|
3720
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3720
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
3721
3721
|
}
|
|
3722
3722
|
return t;
|
|
3723
|
-
}(
|
|
3724
|
-
),
|
|
3723
|
+
}(Ne)
|
|
3724
|
+
), Oi = (
|
|
3725
3725
|
/** @class */
|
|
3726
3726
|
function(e) {
|
|
3727
|
-
|
|
3727
|
+
Oe(t, e);
|
|
3728
3728
|
function t(r, n) {
|
|
3729
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3729
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
3730
3730
|
}
|
|
3731
3731
|
return t;
|
|
3732
|
-
}(
|
|
3732
|
+
}(Ne)
|
|
3733
3733
|
), H;
|
|
3734
3734
|
(function(e) {
|
|
3735
3735
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3736
3736
|
})(H || (H = {}));
|
|
3737
|
-
function
|
|
3737
|
+
function Ni(e) {
|
|
3738
3738
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3739
3739
|
var n = t[t.length - 1];
|
|
3740
3740
|
return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
|
|
3741
3741
|
}, []);
|
|
3742
3742
|
}
|
|
3743
|
-
function
|
|
3743
|
+
function Li(e) {
|
|
3744
3744
|
return typeof e == "function";
|
|
3745
3745
|
}
|
|
3746
|
-
function
|
|
3747
|
-
if (e.length === 1 &&
|
|
3746
|
+
function Se(e, t, r, n, i, s, o) {
|
|
3747
|
+
if (e.length === 1 && Ct(e[0]))
|
|
3748
3748
|
return [
|
|
3749
3749
|
{
|
|
3750
3750
|
type: H.literal,
|
|
@@ -3753,14 +3753,14 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3753
3753
|
];
|
|
3754
3754
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3755
3755
|
var l = u[h];
|
|
3756
|
-
if (
|
|
3756
|
+
if (Ct(l)) {
|
|
3757
3757
|
a.push({
|
|
3758
3758
|
type: H.literal,
|
|
3759
3759
|
value: l.value
|
|
3760
3760
|
});
|
|
3761
3761
|
continue;
|
|
3762
3762
|
}
|
|
3763
|
-
if (
|
|
3763
|
+
if (ei(l)) {
|
|
3764
3764
|
typeof s == "number" && a.push({
|
|
3765
3765
|
type: H.literal,
|
|
3766
3766
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3769,44 +3769,44 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3769
3769
|
}
|
|
3770
3770
|
var m = l.value;
|
|
3771
3771
|
if (!(i && m in i))
|
|
3772
|
-
throw new
|
|
3772
|
+
throw new Oi(m, o);
|
|
3773
3773
|
var c = i[m];
|
|
3774
|
-
if (
|
|
3774
|
+
if (Kn(l)) {
|
|
3775
3775
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3776
3776
|
type: typeof c == "string" ? H.literal : H.object,
|
|
3777
3777
|
value: c
|
|
3778
3778
|
});
|
|
3779
3779
|
continue;
|
|
3780
3780
|
}
|
|
3781
|
-
if (
|
|
3782
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3781
|
+
if (fr(l)) {
|
|
3782
|
+
var d = typeof l.style == "string" ? n.date[l.style] : tt(l.style) ? l.style.parsedOptions : void 0;
|
|
3783
3783
|
a.push({
|
|
3784
3784
|
type: H.literal,
|
|
3785
3785
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3786
3786
|
});
|
|
3787
3787
|
continue;
|
|
3788
3788
|
}
|
|
3789
|
-
if (
|
|
3790
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3789
|
+
if (mr(l)) {
|
|
3790
|
+
var d = typeof l.style == "string" ? n.time[l.style] : tt(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3791
3791
|
a.push({
|
|
3792
3792
|
type: H.literal,
|
|
3793
3793
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3794
3794
|
});
|
|
3795
3795
|
continue;
|
|
3796
3796
|
}
|
|
3797
|
-
if (
|
|
3798
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3797
|
+
if (cr(l)) {
|
|
3798
|
+
var d = typeof l.style == "string" ? n.number[l.style] : yr(l.style) ? l.style.parsedOptions : void 0;
|
|
3799
3799
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3800
3800
|
type: H.literal,
|
|
3801
3801
|
value: r.getNumberFormat(t, d).format(c)
|
|
3802
3802
|
});
|
|
3803
3803
|
continue;
|
|
3804
3804
|
}
|
|
3805
|
-
if (
|
|
3806
|
-
var b = l.children,
|
|
3807
|
-
if (!
|
|
3808
|
-
throw new
|
|
3809
|
-
var C =
|
|
3805
|
+
if (pr(l)) {
|
|
3806
|
+
var b = l.children, g = l.value, T = i[g];
|
|
3807
|
+
if (!Li(T))
|
|
3808
|
+
throw new Pi(g, "function", o);
|
|
3809
|
+
var C = Se(b, t, r, n, i, s), P = T(C.map(function(N) {
|
|
3810
3810
|
return N.value;
|
|
3811
3811
|
}));
|
|
3812
3812
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(N) {
|
|
@@ -3816,42 +3816,42 @@ function xe(e, t, r, n, i, s, o) {
|
|
|
3816
3816
|
};
|
|
3817
3817
|
}));
|
|
3818
3818
|
}
|
|
3819
|
-
if (
|
|
3819
|
+
if (dr(l)) {
|
|
3820
3820
|
var w = l.options[c] || l.options.other;
|
|
3821
3821
|
if (!w)
|
|
3822
|
-
throw new
|
|
3823
|
-
a.push.apply(a,
|
|
3822
|
+
throw new $t(l.value, c, Object.keys(l.options), o);
|
|
3823
|
+
a.push.apply(a, Se(w.value, t, r, n, i));
|
|
3824
3824
|
continue;
|
|
3825
3825
|
}
|
|
3826
|
-
if (
|
|
3826
|
+
if (br(l)) {
|
|
3827
3827
|
var w = l.options["=".concat(c)];
|
|
3828
3828
|
if (!w) {
|
|
3829
3829
|
if (!Intl.PluralRules)
|
|
3830
|
-
throw new
|
|
3830
|
+
throw new Ne(`Intl.PluralRules is not available in this environment.
|
|
3831
3831
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3832
|
-
`,
|
|
3832
|
+
`, te.MISSING_INTL_API, o);
|
|
3833
3833
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3834
3834
|
w = l.options[O] || l.options.other;
|
|
3835
3835
|
}
|
|
3836
3836
|
if (!w)
|
|
3837
|
-
throw new
|
|
3838
|
-
a.push.apply(a,
|
|
3837
|
+
throw new $t(l.value, c, Object.keys(l.options), o);
|
|
3838
|
+
a.push.apply(a, Se(w.value, t, r, n, i, c - (l.offset || 0)));
|
|
3839
3839
|
continue;
|
|
3840
3840
|
}
|
|
3841
3841
|
}
|
|
3842
|
-
return
|
|
3842
|
+
return Ni(a);
|
|
3843
3843
|
}
|
|
3844
|
-
function
|
|
3844
|
+
function Ci(e, t) {
|
|
3845
3845
|
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3846
3846
|
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3847
3847
|
}, {})) : e;
|
|
3848
3848
|
}
|
|
3849
|
-
function
|
|
3849
|
+
function Ii(e, t) {
|
|
3850
3850
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3851
|
-
return r[n] =
|
|
3851
|
+
return r[n] = Ci(e[n], t[n]), r;
|
|
3852
3852
|
}, G({}, e)) : e;
|
|
3853
3853
|
}
|
|
3854
|
-
function
|
|
3854
|
+
function ke(e) {
|
|
3855
3855
|
return {
|
|
3856
3856
|
create: function() {
|
|
3857
3857
|
return {
|
|
@@ -3865,39 +3865,39 @@ function je(e) {
|
|
|
3865
3865
|
}
|
|
3866
3866
|
};
|
|
3867
3867
|
}
|
|
3868
|
-
function
|
|
3868
|
+
function Mi(e) {
|
|
3869
3869
|
return e === void 0 && (e = {
|
|
3870
3870
|
number: {},
|
|
3871
3871
|
dateTime: {},
|
|
3872
3872
|
pluralRules: {}
|
|
3873
3873
|
}), {
|
|
3874
|
-
getNumberFormat:
|
|
3874
|
+
getNumberFormat: $e(function() {
|
|
3875
3875
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3876
3876
|
r[n] = arguments[n];
|
|
3877
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3877
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3878
3878
|
}, {
|
|
3879
|
-
cache:
|
|
3880
|
-
strategy:
|
|
3879
|
+
cache: ke(e.number),
|
|
3880
|
+
strategy: Fe.variadic
|
|
3881
3881
|
}),
|
|
3882
|
-
getDateTimeFormat:
|
|
3882
|
+
getDateTimeFormat: $e(function() {
|
|
3883
3883
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3884
3884
|
r[n] = arguments[n];
|
|
3885
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3885
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3886
3886
|
}, {
|
|
3887
|
-
cache:
|
|
3888
|
-
strategy:
|
|
3887
|
+
cache: ke(e.dateTime),
|
|
3888
|
+
strategy: Fe.variadic
|
|
3889
3889
|
}),
|
|
3890
|
-
getPluralRules:
|
|
3890
|
+
getPluralRules: $e(function() {
|
|
3891
3891
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3892
3892
|
r[n] = arguments[n];
|
|
3893
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3893
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
|
3894
3894
|
}, {
|
|
3895
|
-
cache:
|
|
3896
|
-
strategy:
|
|
3895
|
+
cache: ke(e.pluralRules),
|
|
3896
|
+
strategy: Fe.variadic
|
|
3897
3897
|
})
|
|
3898
3898
|
};
|
|
3899
3899
|
}
|
|
3900
|
-
var
|
|
3900
|
+
var Ri = (
|
|
3901
3901
|
/** @class */
|
|
3902
3902
|
function() {
|
|
3903
3903
|
function e(t, r, n, i) {
|
|
@@ -3916,7 +3916,7 @@ var Ci = (
|
|
|
3916
3916
|
}, []);
|
|
3917
3917
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3918
3918
|
}, this.formatToParts = function(h) {
|
|
3919
|
-
return
|
|
3919
|
+
return Se(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3920
3920
|
}, this.resolvedOptions = function() {
|
|
3921
3921
|
var h;
|
|
3922
3922
|
return {
|
|
@@ -3929,13 +3929,13 @@ var Ci = (
|
|
|
3929
3929
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3930
3930
|
var o = i || {};
|
|
3931
3931
|
o.formatters;
|
|
3932
|
-
var a =
|
|
3932
|
+
var a = Xn(o, ["formatters"]);
|
|
3933
3933
|
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3934
3934
|
} else
|
|
3935
3935
|
this.ast = t;
|
|
3936
3936
|
if (!Array.isArray(this.ast))
|
|
3937
3937
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3938
|
-
this.formats =
|
|
3938
|
+
this.formats = Ii(e.formats, n), this.formatters = i && i.formatters || Mi(this.formatterCache);
|
|
3939
3939
|
}
|
|
3940
3940
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3941
3941
|
get: function() {
|
|
@@ -3948,7 +3948,7 @@ var Ci = (
|
|
|
3948
3948
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3949
3949
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3950
3950
|
}
|
|
3951
|
-
}, e.__parse =
|
|
3951
|
+
}, e.__parse = Bi, e.formats = {
|
|
3952
3952
|
number: {
|
|
3953
3953
|
integer: {
|
|
3954
3954
|
maximumFractionDigits: 0
|
|
@@ -4009,7 +4009,7 @@ var Ci = (
|
|
|
4009
4009
|
}, e;
|
|
4010
4010
|
}()
|
|
4011
4011
|
);
|
|
4012
|
-
function
|
|
4012
|
+
function Gi(e, t) {
|
|
4013
4013
|
if (t == null)
|
|
4014
4014
|
return;
|
|
4015
4015
|
if (t in e)
|
|
@@ -4030,92 +4030,92 @@ function Mi(e, t) {
|
|
|
4030
4030
|
n = void 0;
|
|
4031
4031
|
return n;
|
|
4032
4032
|
}
|
|
4033
|
-
const $ = {},
|
|
4033
|
+
const $ = {}, Ui = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), Tr = (e, t) => {
|
|
4034
4034
|
if (t == null)
|
|
4035
4035
|
return;
|
|
4036
4036
|
if (t in $ && e in $[t])
|
|
4037
4037
|
return $[t][e];
|
|
4038
|
-
const r =
|
|
4038
|
+
const r = Le(t);
|
|
4039
4039
|
for (let n = 0; n < r.length; n++) {
|
|
4040
|
-
const i = r[n], s =
|
|
4040
|
+
const i = r[n], s = $i(i, e);
|
|
4041
4041
|
if (s)
|
|
4042
|
-
return
|
|
4042
|
+
return Ui(e, t, s);
|
|
4043
4043
|
}
|
|
4044
4044
|
};
|
|
4045
|
-
let
|
|
4046
|
-
const
|
|
4047
|
-
function
|
|
4048
|
-
return
|
|
4045
|
+
let ct;
|
|
4046
|
+
const be = Pe({});
|
|
4047
|
+
function Di(e) {
|
|
4048
|
+
return ct[e] || null;
|
|
4049
4049
|
}
|
|
4050
|
-
function
|
|
4051
|
-
return e in
|
|
4050
|
+
function Hr(e) {
|
|
4051
|
+
return e in ct;
|
|
4052
4052
|
}
|
|
4053
|
-
function
|
|
4054
|
-
if (!
|
|
4053
|
+
function $i(e, t) {
|
|
4054
|
+
if (!Hr(e))
|
|
4055
4055
|
return null;
|
|
4056
|
-
const r =
|
|
4057
|
-
return
|
|
4056
|
+
const r = Di(e);
|
|
4057
|
+
return Gi(r, t);
|
|
4058
4058
|
}
|
|
4059
|
-
function
|
|
4059
|
+
function Fi(e) {
|
|
4060
4060
|
if (e == null)
|
|
4061
4061
|
return;
|
|
4062
|
-
const t =
|
|
4062
|
+
const t = Le(e);
|
|
4063
4063
|
for (let r = 0; r < t.length; r++) {
|
|
4064
4064
|
const n = t[r];
|
|
4065
|
-
if (
|
|
4065
|
+
if (Hr(n))
|
|
4066
4066
|
return n;
|
|
4067
4067
|
}
|
|
4068
4068
|
}
|
|
4069
|
-
function
|
|
4070
|
-
delete $[e],
|
|
4069
|
+
function Ar(e, ...t) {
|
|
4070
|
+
delete $[e], be.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
|
|
4071
4071
|
}
|
|
4072
|
-
|
|
4073
|
-
[
|
|
4072
|
+
se(
|
|
4073
|
+
[be],
|
|
4074
4074
|
([e]) => Object.keys(e)
|
|
4075
4075
|
);
|
|
4076
|
-
|
|
4077
|
-
const
|
|
4078
|
-
function
|
|
4079
|
-
|
|
4076
|
+
be.subscribe((e) => ct = e);
|
|
4077
|
+
const we = {};
|
|
4078
|
+
function ji(e, t) {
|
|
4079
|
+
we[e].delete(t), we[e].size === 0 && delete we[e];
|
|
4080
4080
|
}
|
|
4081
|
-
function
|
|
4082
|
-
return
|
|
4081
|
+
function Br(e) {
|
|
4082
|
+
return we[e];
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4085
|
-
return
|
|
4086
|
-
const r =
|
|
4084
|
+
function ki(e) {
|
|
4085
|
+
return Le(e).map((t) => {
|
|
4086
|
+
const r = Br(t);
|
|
4087
4087
|
return [t, r ? [...r] : []];
|
|
4088
4088
|
}).filter(([, t]) => t.length > 0);
|
|
4089
4089
|
}
|
|
4090
|
-
function
|
|
4091
|
-
return e == null ? !1 :
|
|
4090
|
+
function at(e) {
|
|
4091
|
+
return e == null ? !1 : Le(e).some(
|
|
4092
4092
|
(t) => {
|
|
4093
4093
|
var r;
|
|
4094
|
-
return (r =
|
|
4094
|
+
return (r = Br(t)) == null ? void 0 : r.size;
|
|
4095
4095
|
}
|
|
4096
4096
|
);
|
|
4097
4097
|
}
|
|
4098
|
-
function
|
|
4098
|
+
function Vi(e, t) {
|
|
4099
4099
|
return Promise.all(
|
|
4100
|
-
t.map((n) => (
|
|
4101
|
-
).then((n) =>
|
|
4102
|
-
}
|
|
4103
|
-
const
|
|
4104
|
-
function
|
|
4105
|
-
if (!
|
|
4106
|
-
return e in
|
|
4107
|
-
const t =
|
|
4108
|
-
return
|
|
4100
|
+
t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
|
|
4101
|
+
).then((n) => Ar(e, ...n));
|
|
4102
|
+
}
|
|
4103
|
+
const ae = {};
|
|
4104
|
+
function Pr(e) {
|
|
4105
|
+
if (!at(e))
|
|
4106
|
+
return e in ae ? ae[e] : Promise.resolve();
|
|
4107
|
+
const t = ki(e);
|
|
4108
|
+
return ae[e] = Promise.all(
|
|
4109
4109
|
t.map(
|
|
4110
|
-
([r, n]) =>
|
|
4110
|
+
([r, n]) => Vi(r, n)
|
|
4111
4111
|
)
|
|
4112
4112
|
).then(() => {
|
|
4113
|
-
if (
|
|
4114
|
-
return
|
|
4115
|
-
delete
|
|
4116
|
-
}),
|
|
4113
|
+
if (at(e))
|
|
4114
|
+
return Pr(e);
|
|
4115
|
+
delete ae[e];
|
|
4116
|
+
}), ae[e];
|
|
4117
4117
|
}
|
|
4118
|
-
const
|
|
4118
|
+
const Xi = {
|
|
4119
4119
|
number: {
|
|
4120
4120
|
scientific: { notation: "scientific" },
|
|
4121
4121
|
engineering: { notation: "engineering" },
|
|
@@ -4144,135 +4144,135 @@ const ki = {
|
|
|
4144
4144
|
timeZoneName: "short"
|
|
4145
4145
|
}
|
|
4146
4146
|
}
|
|
4147
|
-
},
|
|
4147
|
+
}, Wi = {
|
|
4148
4148
|
fallbackLocale: null,
|
|
4149
4149
|
loadingDelay: 200,
|
|
4150
|
-
formats:
|
|
4150
|
+
formats: Xi,
|
|
4151
4151
|
warnOnMissingMessages: !0,
|
|
4152
4152
|
handleMissingMessage: void 0,
|
|
4153
4153
|
ignoreTag: !0
|
|
4154
|
-
},
|
|
4155
|
-
function
|
|
4156
|
-
return
|
|
4154
|
+
}, zi = Wi;
|
|
4155
|
+
function re() {
|
|
4156
|
+
return zi;
|
|
4157
4157
|
}
|
|
4158
|
-
const
|
|
4159
|
-
var
|
|
4158
|
+
const Ve = Pe(!1);
|
|
4159
|
+
var Zi = Object.defineProperty, Qi = Object.defineProperties, Yi = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, qi = Object.prototype.hasOwnProperty, Ji = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Zi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ki = (e, t) => {
|
|
4160
4160
|
for (var r in t || (t = {}))
|
|
4161
|
-
|
|
4162
|
-
if (
|
|
4163
|
-
for (var r of
|
|
4164
|
-
|
|
4161
|
+
qi.call(t, r) && jt(e, r, t[r]);
|
|
4162
|
+
if (Ft)
|
|
4163
|
+
for (var r of Ft(t))
|
|
4164
|
+
Ji.call(t, r) && jt(e, r, t[r]);
|
|
4165
4165
|
return e;
|
|
4166
|
-
},
|
|
4167
|
-
let
|
|
4168
|
-
const
|
|
4169
|
-
function
|
|
4166
|
+
}, es = (e, t) => Qi(e, Yi(t));
|
|
4167
|
+
let ut;
|
|
4168
|
+
const He = Pe(null);
|
|
4169
|
+
function kt(e) {
|
|
4170
4170
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4171
4171
|
}
|
|
4172
|
-
function
|
|
4173
|
-
const r =
|
|
4174
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4172
|
+
function Le(e, t = re().fallbackLocale) {
|
|
4173
|
+
const r = kt(e);
|
|
4174
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
|
|
4175
4175
|
}
|
|
4176
4176
|
function X() {
|
|
4177
|
-
return
|
|
4177
|
+
return ut != null ? ut : void 0;
|
|
4178
4178
|
}
|
|
4179
|
-
|
|
4180
|
-
|
|
4179
|
+
He.subscribe((e) => {
|
|
4180
|
+
ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4181
4181
|
});
|
|
4182
|
-
const
|
|
4183
|
-
if (e &&
|
|
4184
|
-
const { loadingDelay: t } =
|
|
4182
|
+
const ts = (e) => {
|
|
4183
|
+
if (e && Fi(e) && at(e)) {
|
|
4184
|
+
const { loadingDelay: t } = re();
|
|
4185
4185
|
let r;
|
|
4186
4186
|
return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
|
|
4187
|
-
() =>
|
|
4187
|
+
() => Ve.set(!0),
|
|
4188
4188
|
t
|
|
4189
|
-
) :
|
|
4190
|
-
|
|
4189
|
+
) : Ve.set(!0), Pr(e).then(() => {
|
|
4190
|
+
He.set(e);
|
|
4191
4191
|
}).finally(() => {
|
|
4192
|
-
clearTimeout(r),
|
|
4192
|
+
clearTimeout(r), Ve.set(!1);
|
|
4193
4193
|
});
|
|
4194
4194
|
}
|
|
4195
|
-
return
|
|
4196
|
-
},
|
|
4197
|
-
set:
|
|
4198
|
-
}),
|
|
4195
|
+
return He.set(e);
|
|
4196
|
+
}, pe = es(Ki({}, He), {
|
|
4197
|
+
set: ts
|
|
4198
|
+
}), Ce = (e) => {
|
|
4199
4199
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4200
4200
|
return (n) => {
|
|
4201
4201
|
const i = JSON.stringify(n);
|
|
4202
4202
|
return i in t ? t[i] : t[i] = e(n);
|
|
4203
4203
|
};
|
|
4204
4204
|
};
|
|
4205
|
-
var
|
|
4205
|
+
var rs = Object.defineProperty, Ae = Object.getOwnPropertySymbols, Or = Object.prototype.hasOwnProperty, Nr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? rs(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
|
|
4206
4206
|
for (var r in t || (t = {}))
|
|
4207
|
-
|
|
4208
|
-
if (
|
|
4209
|
-
for (var r of
|
|
4210
|
-
|
|
4207
|
+
Or.call(t, r) && Vt(e, r, t[r]);
|
|
4208
|
+
if (Ae)
|
|
4209
|
+
for (var r of Ae(t))
|
|
4210
|
+
Nr.call(t, r) && Vt(e, r, t[r]);
|
|
4211
4211
|
return e;
|
|
4212
|
-
},
|
|
4212
|
+
}, oe = (e, t) => {
|
|
4213
4213
|
var r = {};
|
|
4214
4214
|
for (var n in e)
|
|
4215
|
-
|
|
4216
|
-
if (e != null &&
|
|
4217
|
-
for (var n of
|
|
4218
|
-
t.indexOf(n) < 0 &&
|
|
4215
|
+
Or.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4216
|
+
if (e != null && Ae)
|
|
4217
|
+
for (var n of Ae(e))
|
|
4218
|
+
t.indexOf(n) < 0 && Nr.call(e, n) && (r[n] = e[n]);
|
|
4219
4219
|
return r;
|
|
4220
4220
|
};
|
|
4221
|
-
const
|
|
4222
|
-
const { formats: r } =
|
|
4221
|
+
const ce = (e, t) => {
|
|
4222
|
+
const { formats: r } = re();
|
|
4223
4223
|
if (e in r && t in r[e])
|
|
4224
4224
|
return r[e][t];
|
|
4225
4225
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4226
|
-
},
|
|
4226
|
+
}, ns = Ce(
|
|
4227
4227
|
(e) => {
|
|
4228
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4228
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4229
4229
|
if (r == null)
|
|
4230
4230
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4231
|
-
return n && (i =
|
|
4231
|
+
return n && (i = ce("number", n)), new Intl.NumberFormat(r, i);
|
|
4232
4232
|
}
|
|
4233
|
-
),
|
|
4233
|
+
), is = Ce(
|
|
4234
4234
|
(e) => {
|
|
4235
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4235
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4236
4236
|
if (r == null)
|
|
4237
4237
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4238
|
-
return n ? i =
|
|
4238
|
+
return n ? i = ce("date", n) : Object.keys(i).length === 0 && (i = ce("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4239
4239
|
}
|
|
4240
|
-
),
|
|
4240
|
+
), ss = Ce(
|
|
4241
4241
|
(e) => {
|
|
4242
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4242
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4243
4243
|
if (r == null)
|
|
4244
4244
|
throw new Error(
|
|
4245
4245
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4246
4246
|
);
|
|
4247
|
-
return n ? i =
|
|
4247
|
+
return n ? i = ce("time", n) : Object.keys(i).length === 0 && (i = ce("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4248
4248
|
}
|
|
4249
|
-
),
|
|
4249
|
+
), os = (e = {}) => {
|
|
4250
4250
|
var t = e, {
|
|
4251
4251
|
locale: r = X()
|
|
4252
|
-
} = t, n =
|
|
4252
|
+
} = t, n = oe(t, [
|
|
4253
4253
|
"locale"
|
|
4254
4254
|
]);
|
|
4255
|
-
return
|
|
4256
|
-
},
|
|
4255
|
+
return ns(ft({ locale: r }, n));
|
|
4256
|
+
}, as = (e = {}) => {
|
|
4257
4257
|
var t = e, {
|
|
4258
4258
|
locale: r = X()
|
|
4259
|
-
} = t, n =
|
|
4259
|
+
} = t, n = oe(t, [
|
|
4260
4260
|
"locale"
|
|
4261
4261
|
]);
|
|
4262
|
-
return
|
|
4263
|
-
},
|
|
4262
|
+
return is(ft({ locale: r }, n));
|
|
4263
|
+
}, us = (e = {}) => {
|
|
4264
4264
|
var t = e, {
|
|
4265
4265
|
locale: r = X()
|
|
4266
|
-
} = t, n =
|
|
4266
|
+
} = t, n = oe(t, [
|
|
4267
4267
|
"locale"
|
|
4268
4268
|
]);
|
|
4269
|
-
return
|
|
4270
|
-
},
|
|
4269
|
+
return ss(ft({ locale: r }, n));
|
|
4270
|
+
}, hs = Ce(
|
|
4271
4271
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4272
|
-
(e, t = X()) => new
|
|
4273
|
-
ignoreTag:
|
|
4272
|
+
(e, t = X()) => new Ri(e, t, re().formats, {
|
|
4273
|
+
ignoreTag: re().ignoreTag
|
|
4274
4274
|
})
|
|
4275
|
-
),
|
|
4275
|
+
), ls = (e, t = {}) => {
|
|
4276
4276
|
var r, n, i, s;
|
|
4277
4277
|
let o = t;
|
|
4278
4278
|
typeof e == "object" && (o = e, e = o.id);
|
|
@@ -4285,9 +4285,9 @@ const le = (e, t) => {
|
|
|
4285
4285
|
throw new Error(
|
|
4286
4286
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4287
4287
|
);
|
|
4288
|
-
let l =
|
|
4288
|
+
let l = Tr(e, h);
|
|
4289
4289
|
if (!l)
|
|
4290
|
-
l = (s = (i = (n = (r =
|
|
4290
|
+
l = (s = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
|
|
4291
4291
|
else if (typeof l != "string")
|
|
4292
4292
|
return console.warn(
|
|
4293
4293
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4296,7 +4296,7 @@ const le = (e, t) => {
|
|
|
4296
4296
|
return l;
|
|
4297
4297
|
let m = l;
|
|
4298
4298
|
try {
|
|
4299
|
-
m =
|
|
4299
|
+
m = hs(l, h).format(a);
|
|
4300
4300
|
} catch (c) {
|
|
4301
4301
|
c instanceof Error && console.warn(
|
|
4302
4302
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4304,21 +4304,22 @@ const le = (e, t) => {
|
|
|
4304
4304
|
);
|
|
4305
4305
|
}
|
|
4306
4306
|
return m;
|
|
4307
|
-
},
|
|
4308
|
-
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
-
|
|
4312
|
-
window.emWidgets = { topic:
|
|
4313
|
-
const
|
|
4307
|
+
}, cs = (e, t) => us(t).format(e), fs = (e, t) => as(t).format(e), ms = (e, t) => os(t).format(e), ds = (e, t = X()) => Tr(e, t), bs = se([pe, be], () => ls);
|
|
4308
|
+
se([pe], () => cs);
|
|
4309
|
+
se([pe], () => fs);
|
|
4310
|
+
se([pe], () => ms);
|
|
4311
|
+
se([pe, be], () => ds);
|
|
4312
|
+
window.emWidgets = { topic: An };
|
|
4313
|
+
const ps = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4314
4314
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4315
|
-
|
|
4315
|
+
const q = "__WIDGET_GLOBAL_STYLE_CACHE__";
|
|
4316
|
+
function ys(e, t) {
|
|
4316
4317
|
if (e) {
|
|
4317
4318
|
const r = document.createElement("style");
|
|
4318
4319
|
r.innerHTML = t, e.appendChild(r);
|
|
4319
4320
|
}
|
|
4320
4321
|
}
|
|
4321
|
-
function
|
|
4322
|
+
function gs(e, t) {
|
|
4322
4323
|
if (!e || !t)
|
|
4323
4324
|
return;
|
|
4324
4325
|
const r = new URL(t);
|
|
@@ -4329,18 +4330,46 @@ function ps(e, t) {
|
|
|
4329
4330
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4330
4331
|
});
|
|
4331
4332
|
}
|
|
4332
|
-
function
|
|
4333
|
-
if (window.emMessageBus)
|
|
4334
|
-
|
|
4335
|
-
|
|
4336
|
-
|
|
4333
|
+
function vs(e, t, r, n = !1) {
|
|
4334
|
+
if (!window.emMessageBus)
|
|
4335
|
+
return;
|
|
4336
|
+
if (!("adoptedStyleSheets" in Document.prototype) || !n)
|
|
4337
|
+
return r = _s(e, t), r;
|
|
4338
|
+
window[q] || (window[q] = {}), r = Es(e, t);
|
|
4339
|
+
const s = r.unsubscribe.bind(r), o = () => {
|
|
4340
|
+
if (window[q][t]) {
|
|
4341
|
+
const a = window[q][t];
|
|
4342
|
+
a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[q][t];
|
|
4343
|
+
}
|
|
4344
|
+
s();
|
|
4345
|
+
};
|
|
4346
|
+
return r.unsubscribe = o, r;
|
|
4347
|
+
}
|
|
4348
|
+
function _s(e, t) {
|
|
4349
|
+
const r = document.createElement("style");
|
|
4350
|
+
return window.emMessageBus.subscribe(t, (n) => {
|
|
4351
|
+
e && (r.innerHTML = n, e.appendChild(r));
|
|
4352
|
+
});
|
|
4353
|
+
}
|
|
4354
|
+
function Es(e, t) {
|
|
4355
|
+
return window.emMessageBus.subscribe(t, (r) => {
|
|
4356
|
+
var a;
|
|
4357
|
+
if (!e)
|
|
4358
|
+
return;
|
|
4359
|
+
const n = e.getRootNode(), i = window[q];
|
|
4360
|
+
let s = (a = i[t]) == null ? void 0 : a.sheet;
|
|
4361
|
+
s ? i[t].refCount = i[t].refCount + 1 : (s = new CSSStyleSheet(), s.replaceSync(r), i[t] = {
|
|
4362
|
+
sheet: s,
|
|
4363
|
+
refCount: 1
|
|
4337
4364
|
});
|
|
4338
|
-
|
|
4365
|
+
const o = n.adoptedStyleSheets || [];
|
|
4366
|
+
o.includes(s) || (n.adoptedStyleSheets = [...o, s]);
|
|
4367
|
+
});
|
|
4339
4368
|
}
|
|
4340
|
-
function
|
|
4341
|
-
|
|
4369
|
+
function Xt(e, t) {
|
|
4370
|
+
Ar(e, t);
|
|
4342
4371
|
}
|
|
4343
|
-
const
|
|
4372
|
+
const Wt = {
|
|
4344
4373
|
en: {
|
|
4345
4374
|
lobbyName: "Lobby",
|
|
4346
4375
|
myGamesName: "My games"
|
|
@@ -4426,14 +4455,14 @@ if (typeof window != "undefined") {
|
|
|
4426
4455
|
}
|
|
4427
4456
|
};
|
|
4428
4457
|
};
|
|
4429
|
-
customElements.define = e(customElements.define), import("./CasinoSlider-
|
|
4458
|
+
customElements.define = e(customElements.define), import("./CasinoSlider-BqyKHyRH.js").then(({ default: t }) => {
|
|
4430
4459
|
!customElements.get("casino-slider") && customElements.define("casino-slider", t.element);
|
|
4431
4460
|
});
|
|
4432
4461
|
}
|
|
4433
|
-
function
|
|
4434
|
-
|
|
4462
|
+
function xs(e) {
|
|
4463
|
+
Qr(e, "svelte-1my2wow", ".CasinoCategoriesLoading.svelte-1my2wow{height:52px}p.svelte-1my2wow{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-1my2wow{padding-top:20px;background:var( --emw--categories-color-primary, var(--emw--color-primary, #22B04E))}");
|
|
4435
4464
|
}
|
|
4436
|
-
function
|
|
4465
|
+
function Ss(e) {
|
|
4437
4466
|
let t, r;
|
|
4438
4467
|
return {
|
|
4439
4468
|
c() {
|
|
@@ -4452,7 +4481,7 @@ function vs(e) {
|
|
|
4452
4481
|
"endpoint",
|
|
4453
4482
|
/*endpoint*/
|
|
4454
4483
|
e[1]
|
|
4455
|
-
), v(r, "identity",
|
|
4484
|
+
), v(r, "identity", ht), v(
|
|
4456
4485
|
r,
|
|
4457
4486
|
"favoritesnumber",
|
|
4458
4487
|
/*numberOfFavoredGames*/
|
|
@@ -4507,10 +4536,10 @@ function vs(e) {
|
|
|
4507
4536
|
"mygamesiconimage",
|
|
4508
4537
|
/*mygamesiconimage*/
|
|
4509
4538
|
e[11]
|
|
4510
|
-
),
|
|
4539
|
+
), me(t, "class", "CasinoCategoriesContainer svelte-1my2wow");
|
|
4511
4540
|
},
|
|
4512
4541
|
m(n, i) {
|
|
4513
|
-
|
|
4542
|
+
fe(n, t, i), Yt(t, r);
|
|
4514
4543
|
},
|
|
4515
4544
|
p(n, i) {
|
|
4516
4545
|
i[0] & /*lang*/
|
|
@@ -4600,48 +4629,48 @@ function vs(e) {
|
|
|
4600
4629
|
);
|
|
4601
4630
|
},
|
|
4602
4631
|
d(n) {
|
|
4603
|
-
n &&
|
|
4632
|
+
n && ie(t);
|
|
4604
4633
|
}
|
|
4605
4634
|
};
|
|
4606
4635
|
}
|
|
4607
|
-
function
|
|
4636
|
+
function ws(e) {
|
|
4608
4637
|
let t;
|
|
4609
4638
|
return {
|
|
4610
4639
|
c() {
|
|
4611
|
-
t = V("p"), t.textContent = "500 Error - Internal Server Error.",
|
|
4640
|
+
t = V("p"), t.textContent = "500 Error - Internal Server Error.", me(t, "class", "SearchLoading svelte-1my2wow");
|
|
4612
4641
|
},
|
|
4613
4642
|
m(r, n) {
|
|
4614
|
-
|
|
4643
|
+
fe(r, t, n);
|
|
4615
4644
|
},
|
|
4616
|
-
p:
|
|
4645
|
+
p: L,
|
|
4617
4646
|
d(r) {
|
|
4618
|
-
r &&
|
|
4647
|
+
r && ie(t);
|
|
4619
4648
|
}
|
|
4620
4649
|
};
|
|
4621
4650
|
}
|
|
4622
|
-
function
|
|
4651
|
+
function Ts(e) {
|
|
4623
4652
|
let t;
|
|
4624
4653
|
return {
|
|
4625
4654
|
c() {
|
|
4626
|
-
t = V("div"),
|
|
4655
|
+
t = V("div"), me(t, "class", "CasinoCategoriesLoading svelte-1my2wow");
|
|
4627
4656
|
},
|
|
4628
4657
|
m(r, n) {
|
|
4629
|
-
|
|
4658
|
+
fe(r, t, n);
|
|
4630
4659
|
},
|
|
4631
|
-
p:
|
|
4660
|
+
p: L,
|
|
4632
4661
|
d(r) {
|
|
4633
|
-
r &&
|
|
4662
|
+
r && ie(t);
|
|
4634
4663
|
}
|
|
4635
4664
|
};
|
|
4636
4665
|
}
|
|
4637
|
-
function
|
|
4666
|
+
function Hs(e) {
|
|
4638
4667
|
let t;
|
|
4639
4668
|
function r(s, o) {
|
|
4640
4669
|
return (
|
|
4641
4670
|
/*isLoading*/
|
|
4642
|
-
s[13] ||
|
|
4671
|
+
s[13] || As || Bs ? Ts : (
|
|
4643
4672
|
/*hasErrors*/
|
|
4644
|
-
s[15] ?
|
|
4673
|
+
s[15] ? ws : Ss
|
|
4645
4674
|
)
|
|
4646
4675
|
);
|
|
4647
4676
|
}
|
|
@@ -4651,59 +4680,59 @@ function xs(e) {
|
|
|
4651
4680
|
t = V("div"), i.c();
|
|
4652
4681
|
},
|
|
4653
4682
|
m(s, o) {
|
|
4654
|
-
|
|
4683
|
+
fe(s, t, o), i.m(t, null), e[26](t);
|
|
4655
4684
|
},
|
|
4656
4685
|
p(s, o) {
|
|
4657
4686
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4658
4687
|
},
|
|
4659
|
-
i:
|
|
4660
|
-
o:
|
|
4688
|
+
i: L,
|
|
4689
|
+
o: L,
|
|
4661
4690
|
d(s) {
|
|
4662
|
-
s &&
|
|
4691
|
+
s && ie(t), i.d(), e[26](null);
|
|
4663
4692
|
}
|
|
4664
4693
|
};
|
|
4665
4694
|
}
|
|
4666
|
-
let
|
|
4667
|
-
function
|
|
4695
|
+
let ht = "CasinoSliderData", As = !1, Bs = !1;
|
|
4696
|
+
function Ps(e, t, r) {
|
|
4668
4697
|
let n;
|
|
4669
|
-
|
|
4670
|
-
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent:
|
|
4671
|
-
const
|
|
4698
|
+
Zr(e, bs, (f) => r(32, n = f));
|
|
4699
|
+
let { endpoint: i = "" } = t, { datasource: s = "" } = t, { lang: o = "" } = t, { userid: a = "" } = t, { session: h = "" } = t, { mostplayed: u = "" } = t, { lastplayed: l = "false" } = t, { favorites: m = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { activecategory: b = "" } = t, { actionevent: g = "" } = t, { sessioncheck: T = "" } = t, { location: C = "secondaryMenu" } = t, { showsubgroups: P = "false" } = t, { filteredcategories: w = "" } = t, { translationurl: O = "" } = t, { categoriesicon: N = "" } = t, { lobbyiconimage: R = "" } = t, { mygamesiconimage: _ = "" } = t, { mbsource: A } = t, I, F, mt, j = !0, W, z = [], k = !1, Cr = window.navigator.userAgent, U, dt, bt = !1, Ie = !1;
|
|
4700
|
+
const Ir = () => {
|
|
4672
4701
|
fetch(O).then((B) => B.json()).then((B) => {
|
|
4673
|
-
Object.keys(B).forEach((
|
|
4674
|
-
|
|
4702
|
+
Object.keys(B).forEach((ye) => {
|
|
4703
|
+
Xt(ye, B[ye]);
|
|
4675
4704
|
});
|
|
4676
4705
|
}).catch((B) => {
|
|
4677
4706
|
console.log(B);
|
|
4678
4707
|
});
|
|
4679
4708
|
};
|
|
4680
|
-
Object.keys(
|
|
4681
|
-
|
|
4709
|
+
Object.keys(Wt).forEach((f) => {
|
|
4710
|
+
Xt(f, Wt[f]);
|
|
4682
4711
|
});
|
|
4683
|
-
const
|
|
4684
|
-
|
|
4712
|
+
const Mr = () => {
|
|
4713
|
+
bt == !1 && (m == "true" || u == "true" || l == "true") && z.splice(1, 0, {
|
|
4685
4714
|
// @ts-ignore
|
|
4686
4715
|
id: "MYGAMES",
|
|
4687
|
-
name:
|
|
4716
|
+
name: F,
|
|
4688
4717
|
href: "",
|
|
4689
4718
|
games: []
|
|
4690
|
-
}),
|
|
4691
|
-
},
|
|
4692
|
-
if (
|
|
4719
|
+
}), rn(), bt = !0, r(25, Ie = !0), pt();
|
|
4720
|
+
}, Rr = () => (i || (W = "Endpoint is missing! Please provide a valid endpointURL.", r(15, k = !0), r(13, j = !1), console.error(W)), s || (W = "Datasource is missing! Please provide a valid datasource.", r(15, k = !0), r(13, j = !1), console.error(W)), (!o || o.length < 2) && (W = "Language is missing! Please provide a valid language (alpha2code)", r(15, k = !0), r(13, j = !1), console.error(W)), k), Gr = () => {
|
|
4721
|
+
if (F = n("myGamesName"), mt = n("lobbyName"), !Rr()) {
|
|
4693
4722
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4694
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
|
4723
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ps(Cr)), f.searchParams.append("fields", "id,name,games(href)"), fetch(f).then((B) => B.json()).then(
|
|
4695
4724
|
(B) => {
|
|
4696
|
-
let
|
|
4697
|
-
let
|
|
4698
|
-
if (
|
|
4699
|
-
for (let
|
|
4700
|
-
|
|
4701
|
-
return
|
|
4725
|
+
let ye = w.split(","), $r = B.items.filter((gt) => {
|
|
4726
|
+
let Me = !1;
|
|
4727
|
+
if (gt.games.total > 0 && (Me = !0, w))
|
|
4728
|
+
for (let Fr of ye)
|
|
4729
|
+
gt.flags == Fr && (Me = !1);
|
|
4730
|
+
return Me;
|
|
4702
4731
|
});
|
|
4703
|
-
z = [], z = z.concat(
|
|
4732
|
+
z = [], z = z.concat($r), z.unshift({
|
|
4704
4733
|
// @ts-ignore
|
|
4705
4734
|
id: "LOBBY",
|
|
4706
|
-
name:
|
|
4735
|
+
name: mt,
|
|
4707
4736
|
href: "",
|
|
4708
4737
|
games: []
|
|
4709
4738
|
}), r(13, j = !1);
|
|
@@ -4715,48 +4744,48 @@ function Ts(e, t, r) {
|
|
|
4715
4744
|
r(15, k = !0), console.error("There was an error while fetching the categories", B);
|
|
4716
4745
|
});
|
|
4717
4746
|
}
|
|
4718
|
-
},
|
|
4747
|
+
}, Ur = () => {
|
|
4719
4748
|
let f = b.split("$");
|
|
4720
4749
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4721
|
-
},
|
|
4750
|
+
}, pt = () => {
|
|
4722
4751
|
window.postMessage(
|
|
4723
4752
|
{
|
|
4724
4753
|
type: "SliderData",
|
|
4725
|
-
identity:
|
|
4754
|
+
identity: ht,
|
|
4726
4755
|
data: z
|
|
4727
4756
|
},
|
|
4728
4757
|
window.location.href
|
|
4729
4758
|
);
|
|
4730
|
-
},
|
|
4731
|
-
f.data && f.data.type == "SliderLoaded" &&
|
|
4759
|
+
}, yt = (f) => {
|
|
4760
|
+
f.data && f.data.type == "SliderLoaded" && ht == f.data.identity && pt();
|
|
4732
4761
|
};
|
|
4733
|
-
|
|
4734
|
-
window.removeEventListener("message",
|
|
4762
|
+
tn(() => (window.addEventListener("message", yt, !1), () => {
|
|
4763
|
+
window.removeEventListener("message", yt);
|
|
4735
4764
|
}));
|
|
4736
|
-
function
|
|
4737
|
-
|
|
4765
|
+
function Dr(f) {
|
|
4766
|
+
Xe[f ? "unshift" : "push"](() => {
|
|
4738
4767
|
U = f, r(14, U);
|
|
4739
4768
|
});
|
|
4740
4769
|
}
|
|
4741
4770
|
return e.$$set = (f) => {
|
|
4742
|
-
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6,
|
|
4771
|
+
"endpoint" in f && r(1, i = f.endpoint), "datasource" in f && r(2, s = f.datasource), "lang" in f && r(3, o = f.lang), "userid" in f && r(17, a = f.userid), "session" in f && r(18, h = f.session), "mostplayed" in f && r(19, u = f.mostplayed), "lastplayed" in f && r(20, l = f.lastplayed), "favorites" in f && r(21, m = f.favorites), "clientstyling" in f && r(4, c = f.clientstyling), "clientstylingurl" in f && r(5, d = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(6, g = f.actionevent), "sessioncheck" in f && r(22, T = f.sessioncheck), "location" in f && r(7, C = f.location), "showsubgroups" in f && r(8, P = f.showsubgroups), "filteredcategories" in f && r(23, w = f.filteredcategories), "translationurl" in f && r(24, O = f.translationurl), "categoriesicon" in f && r(9, N = f.categoriesicon), "lobbyiconimage" in f && r(10, R = f.lobbyiconimage), "mygamesiconimage" in f && r(11, _ = f.mygamesiconimage), "mbsource" in f && r(12, A = f.mbsource);
|
|
4743
4772
|
}, e.$$.update = () => {
|
|
4744
4773
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4745
|
-
14 && i && s && o &&
|
|
4746
|
-
3940354 && i && h && (u || l || m) && !j &&
|
|
4747
|
-
33824769 && !j && b && (!h || Ie) &&
|
|
4748
|
-
16777216 && O &&
|
|
4749
|
-
16400 && c && U &&
|
|
4750
|
-
16416 && d && U &&
|
|
4751
|
-
20480 && U &&
|
|
4752
|
-
}, r(16,
|
|
4774
|
+
14 && i && s && o && Gr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4775
|
+
3940354 && i && h && (u || l || m) && !j && Mr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4776
|
+
33824769 && !j && b && (!h || Ie) && Ur(), e.$$.dirty[0] & /*translationurl*/
|
|
4777
|
+
16777216 && O && Ir(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4778
|
+
16400 && c && U && ys(U, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4779
|
+
16416 && d && U && gs(U, d), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
|
|
4780
|
+
20480 && U && vs(U, `${A}.Style`, I);
|
|
4781
|
+
}, r(16, dt = 0), [
|
|
4753
4782
|
b,
|
|
4754
4783
|
i,
|
|
4755
4784
|
s,
|
|
4756
4785
|
o,
|
|
4757
4786
|
c,
|
|
4758
4787
|
d,
|
|
4759
|
-
|
|
4788
|
+
g,
|
|
4760
4789
|
C,
|
|
4761
4790
|
P,
|
|
4762
4791
|
N,
|
|
@@ -4766,7 +4795,7 @@ function Ts(e, t, r) {
|
|
|
4766
4795
|
j,
|
|
4767
4796
|
U,
|
|
4768
4797
|
k,
|
|
4769
|
-
|
|
4798
|
+
dt,
|
|
4770
4799
|
a,
|
|
4771
4800
|
h,
|
|
4772
4801
|
u,
|
|
@@ -4776,17 +4805,17 @@ function Ts(e, t, r) {
|
|
|
4776
4805
|
w,
|
|
4777
4806
|
O,
|
|
4778
4807
|
Ie,
|
|
4779
|
-
|
|
4808
|
+
Dr
|
|
4780
4809
|
];
|
|
4781
4810
|
}
|
|
4782
|
-
class
|
|
4811
|
+
class Lr extends fn {
|
|
4783
4812
|
constructor(t) {
|
|
4784
|
-
super(),
|
|
4813
|
+
super(), ln(
|
|
4785
4814
|
this,
|
|
4786
4815
|
t,
|
|
4787
|
-
|
|
4788
|
-
|
|
4789
|
-
|
|
4816
|
+
Ps,
|
|
4817
|
+
Hs,
|
|
4818
|
+
Zt,
|
|
4790
4819
|
{
|
|
4791
4820
|
endpoint: 1,
|
|
4792
4821
|
datasource: 2,
|
|
@@ -4810,7 +4839,7 @@ class Or extends ln {
|
|
|
4810
4839
|
mygamesiconimage: 11,
|
|
4811
4840
|
mbsource: 12
|
|
4812
4841
|
},
|
|
4813
|
-
|
|
4842
|
+
xs,
|
|
4814
4843
|
[-1, -1]
|
|
4815
4844
|
);
|
|
4816
4845
|
}
|
|
@@ -4941,44 +4970,44 @@ class Or extends ln {
|
|
|
4941
4970
|
this.$$set({ mbsource: t }), x();
|
|
4942
4971
|
}
|
|
4943
4972
|
}
|
|
4944
|
-
|
|
4945
|
-
const
|
|
4973
|
+
cn(Lr, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, mbsource: {} }, [], [], !0);
|
|
4974
|
+
const js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4946
4975
|
__proto__: null,
|
|
4947
|
-
default:
|
|
4976
|
+
default: Lr
|
|
4948
4977
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4949
4978
|
export {
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4979
|
+
pe as $,
|
|
4980
|
+
$s as A,
|
|
4981
|
+
ys as B,
|
|
4982
|
+
gs as C,
|
|
4983
|
+
vs as D,
|
|
4984
|
+
cn as E,
|
|
4985
|
+
js as F,
|
|
4986
|
+
fn as S,
|
|
4987
|
+
be as a,
|
|
4988
|
+
Ar as b,
|
|
4989
|
+
Qr as c,
|
|
4990
|
+
ie as d,
|
|
4991
|
+
me as e,
|
|
4963
4992
|
x as f,
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4993
|
+
fe as g,
|
|
4994
|
+
Yt as h,
|
|
4995
|
+
ln as i,
|
|
4967
4996
|
V as j,
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4982
|
-
|
|
4983
|
-
|
|
4997
|
+
Cs as k,
|
|
4998
|
+
Ms as l,
|
|
4999
|
+
Ds as m,
|
|
5000
|
+
L as n,
|
|
5001
|
+
tn as o,
|
|
5002
|
+
Rs as p,
|
|
5003
|
+
Is as q,
|
|
5004
|
+
ne as r,
|
|
5005
|
+
Zt as s,
|
|
5006
|
+
Us as t,
|
|
5007
|
+
Fs as u,
|
|
5008
|
+
Xe as v,
|
|
5009
|
+
Ns as w,
|
|
5010
|
+
Gs as x,
|
|
5011
|
+
qt as y,
|
|
5012
|
+
Ls as z
|
|
4984
5013
|
};
|