@everymatrix/casino-categories-slider-nd 1.86.27 → 1.86.28
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/{CasinoCategoriesSliderNd-DuJnkBEW.cjs → CasinoCategoriesSliderNd-7co-j2C6.cjs} +4 -4
- package/components/{CasinoCategoriesSliderNd-iyxXh0t3.js → CasinoCategoriesSliderNd-B6VKvNBc.js} +846 -836
- package/components/{CasinoCategoriesSliderNd-DP88nZba.js → CasinoCategoriesSliderNd-WCGFkEUT.js} +823 -813
- package/components/{CasinoSliderNd-C_peB6vv.js → CasinoSliderNd-B190YBUU.js} +1 -1
- package/components/{CasinoSliderNd-BWvm077c.js → CasinoSliderNd-CxU4-wQV.js} +1 -1
- package/components/{CasinoSliderNd-C_b1HIyO.cjs → CasinoSliderNd-CzglhGy_.cjs} +1 -1
- package/es2015/casino-categories-slider-nd.cjs +1 -1
- package/es2015/casino-categories-slider-nd.js +1 -1
- package/esnext/casino-categories-slider-nd.js +1 -1
- package/package.json +1 -1
package/components/{CasinoCategoriesSliderNd-iyxXh0t3.js → CasinoCategoriesSliderNd-B6VKvNBc.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, zr = 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
|
+
zr.call(t, r) && Re(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var
|
|
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 Xt(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(Xt);
|
|
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
|
-
let
|
|
48
|
-
function
|
|
49
|
-
return e === t ? !0 : (
|
|
47
|
+
let ge;
|
|
48
|
+
function Ls(e, t) {
|
|
49
|
+
return e === t ? !0 : (ge || (ge = document.createElement("a")), ge.href = t, e === ge.href);
|
|
50
50
|
}
|
|
51
|
-
function
|
|
51
|
+
function Wr(e) {
|
|
52
52
|
return Object.keys(e).length === 0;
|
|
53
53
|
}
|
|
54
|
-
function
|
|
54
|
+
function Wt(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(Wt(t, r));
|
|
65
65
|
}
|
|
66
|
-
function
|
|
66
|
+
function Zt(e, t) {
|
|
67
67
|
e.appendChild(t);
|
|
68
68
|
}
|
|
69
|
-
function
|
|
70
|
-
const n =
|
|
69
|
+
function qr(e, t, r) {
|
|
70
|
+
const n = Qr(e);
|
|
71
71
|
if (!n.getElementById(t)) {
|
|
72
|
-
const i =
|
|
73
|
-
i.id = t, i.textContent = r,
|
|
72
|
+
const i = X("style");
|
|
73
|
+
i.id = t, i.textContent = r, Yr(n, i);
|
|
74
74
|
}
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function Qr(e) {
|
|
77
77
|
if (!e)
|
|
78
78
|
return document;
|
|
79
79
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -83,56 +83,56 @@ function Zr(e) {
|
|
|
83
83
|
t
|
|
84
84
|
) : e.ownerDocument;
|
|
85
85
|
}
|
|
86
|
-
function
|
|
87
|
-
return
|
|
86
|
+
function Yr(e, t) {
|
|
87
|
+
return Zt(
|
|
88
88
|
/** @type {Document} */
|
|
89
89
|
e.head || e,
|
|
90
90
|
t
|
|
91
91
|
), t.sheet;
|
|
92
92
|
}
|
|
93
|
-
function
|
|
93
|
+
function me(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 Is(e, t) {
|
|
100
100
|
for (let r = 0; r < e.length; r += 1)
|
|
101
101
|
e[r] && e[r].d(t);
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function X(e) {
|
|
104
104
|
return document.createElement(e);
|
|
105
105
|
}
|
|
106
|
-
function
|
|
106
|
+
function Ms(e) {
|
|
107
107
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function qt(e) {
|
|
110
110
|
return document.createTextNode(e);
|
|
111
111
|
}
|
|
112
|
-
function
|
|
113
|
-
return
|
|
112
|
+
function Cs() {
|
|
113
|
+
return qt(" ");
|
|
114
114
|
}
|
|
115
|
-
function
|
|
116
|
-
return
|
|
115
|
+
function Rs() {
|
|
116
|
+
return qt("");
|
|
117
117
|
}
|
|
118
|
-
function
|
|
118
|
+
function Gs(e, t, r, n) {
|
|
119
119
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
120
120
|
}
|
|
121
|
-
function
|
|
121
|
+
function se(e, t, r) {
|
|
122
122
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
123
123
|
}
|
|
124
124
|
function v(e, t, r) {
|
|
125
125
|
const n = t.toLowerCase();
|
|
126
|
-
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r :
|
|
126
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : se(e, t, r);
|
|
127
127
|
}
|
|
128
|
-
function
|
|
128
|
+
function Jr(e) {
|
|
129
129
|
return Array.from(e.childNodes);
|
|
130
130
|
}
|
|
131
|
-
function
|
|
131
|
+
function Us(e, t) {
|
|
132
132
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
133
133
|
t);
|
|
134
134
|
}
|
|
135
|
-
function
|
|
135
|
+
function Kr(e) {
|
|
136
136
|
const t = {};
|
|
137
137
|
return e.childNodes.forEach(
|
|
138
138
|
/** @param {Element} node */
|
|
@@ -141,131 +141,131 @@ function Yr(e) {
|
|
|
141
141
|
}
|
|
142
142
|
), t;
|
|
143
143
|
}
|
|
144
|
-
let
|
|
145
|
-
function
|
|
146
|
-
|
|
144
|
+
let le;
|
|
145
|
+
function he(e) {
|
|
146
|
+
le = e;
|
|
147
147
|
}
|
|
148
|
-
function
|
|
149
|
-
if (!
|
|
148
|
+
function en() {
|
|
149
|
+
if (!le)
|
|
150
150
|
throw new Error("Function called outside component initialization");
|
|
151
|
-
return
|
|
151
|
+
return le;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
153
|
+
function tn(e) {
|
|
154
|
+
en().$$.on_mount.push(e);
|
|
155
155
|
}
|
|
156
|
-
const
|
|
157
|
-
let
|
|
158
|
-
const
|
|
159
|
-
let
|
|
160
|
-
function
|
|
161
|
-
|
|
156
|
+
const Y = [], Xe = [];
|
|
157
|
+
let J = [];
|
|
158
|
+
const wt = [], Qt = /* @__PURE__ */ Promise.resolve();
|
|
159
|
+
let ze = !1;
|
|
160
|
+
function Yt() {
|
|
161
|
+
ze || (ze = !0, Qt.then(E));
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
return
|
|
163
|
+
function rn() {
|
|
164
|
+
return Yt(), Qt;
|
|
165
165
|
}
|
|
166
166
|
function We(e) {
|
|
167
|
-
|
|
167
|
+
J.push(e);
|
|
168
168
|
}
|
|
169
|
-
const
|
|
170
|
-
let
|
|
171
|
-
function
|
|
172
|
-
if (
|
|
169
|
+
const Ge = /* @__PURE__ */ new Set();
|
|
170
|
+
let q = 0;
|
|
171
|
+
function E() {
|
|
172
|
+
if (q !== 0)
|
|
173
173
|
return;
|
|
174
|
-
const e =
|
|
174
|
+
const e = le;
|
|
175
175
|
do {
|
|
176
176
|
try {
|
|
177
|
-
for (;
|
|
178
|
-
const t =
|
|
179
|
-
|
|
177
|
+
for (; q < Y.length; ) {
|
|
178
|
+
const t = Y[q];
|
|
179
|
+
q++, he(t), nn(t.$$);
|
|
180
180
|
}
|
|
181
181
|
} catch (t) {
|
|
182
|
-
throw
|
|
182
|
+
throw Y.length = 0, q = 0, t;
|
|
183
183
|
}
|
|
184
|
-
for (
|
|
185
|
-
|
|
186
|
-
for (let t = 0; t <
|
|
187
|
-
const r =
|
|
188
|
-
|
|
184
|
+
for (he(null), Y.length = 0, q = 0; Xe.length; )
|
|
185
|
+
Xe.pop()();
|
|
186
|
+
for (let t = 0; t < J.length; t += 1) {
|
|
187
|
+
const r = J[t];
|
|
188
|
+
Ge.has(r) || (Ge.add(r), r());
|
|
189
189
|
}
|
|
190
|
-
|
|
191
|
-
} while (
|
|
192
|
-
for (;
|
|
193
|
-
|
|
194
|
-
|
|
190
|
+
J.length = 0;
|
|
191
|
+
} while (Y.length);
|
|
192
|
+
for (; wt.length; )
|
|
193
|
+
wt.pop()();
|
|
194
|
+
ze = !1, Ge.clear(), he(e);
|
|
195
195
|
}
|
|
196
|
-
function
|
|
196
|
+
function nn(e) {
|
|
197
197
|
if (e.fragment !== null) {
|
|
198
|
-
e.update(),
|
|
198
|
+
e.update(), ne(e.before_update);
|
|
199
199
|
const t = e.dirty;
|
|
200
200
|
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(We);
|
|
201
201
|
}
|
|
202
202
|
}
|
|
203
|
-
function
|
|
203
|
+
function sn(e) {
|
|
204
204
|
const t = [], r = [];
|
|
205
|
-
|
|
205
|
+
J.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), J = t;
|
|
206
206
|
}
|
|
207
|
-
const
|
|
208
|
-
function
|
|
209
|
-
e && e.i && (
|
|
207
|
+
const on = /* @__PURE__ */ new Set();
|
|
208
|
+
function Jt(e, t) {
|
|
209
|
+
e && e.i && (on.delete(e), e.i(t));
|
|
210
210
|
}
|
|
211
|
-
function
|
|
211
|
+
function Ds(e) {
|
|
212
212
|
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
213
213
|
}
|
|
214
|
-
function
|
|
214
|
+
function Fs(e, t) {
|
|
215
215
|
e.d(1), t.delete(e.key);
|
|
216
216
|
}
|
|
217
|
-
function
|
|
217
|
+
function $s(e, t, r, n, i, s, o, a, h, u, l, m) {
|
|
218
218
|
let c = e.length, d = s.length, p = c;
|
|
219
219
|
const b = {};
|
|
220
220
|
for (; p--; )
|
|
221
221
|
b[e[p].key] = p;
|
|
222
|
-
const w = [],
|
|
222
|
+
const w = [], I = /* @__PURE__ */ new Map(), P = /* @__PURE__ */ new Map(), T = [];
|
|
223
223
|
for (p = d; p--; ) {
|
|
224
224
|
const _ = m(i, s, p), N = r(_);
|
|
225
|
-
let
|
|
226
|
-
|
|
225
|
+
let B = o.get(N);
|
|
226
|
+
B ? T.push(() => B.p(_, t)) : (B = u(N, _), B.c()), I.set(N, w[p] = B), N in b && P.set(N, Math.abs(p - b[N]));
|
|
227
227
|
}
|
|
228
228
|
const O = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set();
|
|
229
|
-
function
|
|
230
|
-
|
|
229
|
+
function C(_) {
|
|
230
|
+
Jt(_, 1), _.m(a, l), o.set(_.key, _), l = _.first, d--;
|
|
231
231
|
}
|
|
232
232
|
for (; c && d; ) {
|
|
233
|
-
const _ = w[d - 1], N = e[c - 1],
|
|
234
|
-
_ === N ? (l = _.first, c--, d--) :
|
|
233
|
+
const _ = w[d - 1], N = e[c - 1], B = _.key, $ = N.key;
|
|
234
|
+
_ === N ? (l = _.first, c--, d--) : I.has($) ? !o.has(B) || O.has(B) ? C(_) : H.has($) ? c-- : P.get(B) > P.get($) ? (H.add(B), C(_)) : (O.add($), c--) : (h(N, o), c--);
|
|
235
235
|
}
|
|
236
236
|
for (; c--; ) {
|
|
237
237
|
const _ = e[c];
|
|
238
|
-
|
|
238
|
+
I.has(_.key) || h(_, o);
|
|
239
239
|
}
|
|
240
240
|
for (; d; )
|
|
241
|
-
|
|
242
|
-
return
|
|
241
|
+
C(w[d - 1]);
|
|
242
|
+
return ne(T), w;
|
|
243
243
|
}
|
|
244
|
-
function
|
|
244
|
+
function an(e, t, r) {
|
|
245
245
|
const { fragment: n, after_update: i } = e.$$;
|
|
246
246
|
n && n.m(t, r), We(() => {
|
|
247
|
-
const s = e.$$.on_mount.map(
|
|
248
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
247
|
+
const s = e.$$.on_mount.map(Xt).filter(lt);
|
|
248
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
|
|
249
249
|
}), i.forEach(We);
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function un(e, t) {
|
|
252
252
|
const r = e.$$;
|
|
253
|
-
r.fragment !== null && (
|
|
253
|
+
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 = []);
|
|
254
254
|
}
|
|
255
|
-
function
|
|
256
|
-
e.$$.dirty[0] === -1 && (
|
|
255
|
+
function hn(e, t) {
|
|
256
|
+
e.$$.dirty[0] === -1 && (Y.push(e), Yt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
257
257
|
}
|
|
258
|
-
function
|
|
259
|
-
const h =
|
|
260
|
-
|
|
258
|
+
function ln(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
259
|
+
const h = le;
|
|
260
|
+
he(e);
|
|
261
261
|
const u = e.$$ = {
|
|
262
262
|
fragment: null,
|
|
263
263
|
ctx: [],
|
|
264
264
|
// state
|
|
265
265
|
props: s,
|
|
266
|
-
update:
|
|
266
|
+
update: L,
|
|
267
267
|
not_equal: i,
|
|
268
|
-
bound:
|
|
268
|
+
bound: St(),
|
|
269
269
|
// lifecycle
|
|
270
270
|
on_mount: [],
|
|
271
271
|
on_destroy: [],
|
|
@@ -274,7 +274,7 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
274
274
|
after_update: [],
|
|
275
275
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
276
276
|
// everything else
|
|
277
|
-
callbacks:
|
|
277
|
+
callbacks: St(),
|
|
278
278
|
dirty: a,
|
|
279
279
|
skip_bound: !1,
|
|
280
280
|
root: t.target || h.$$.root
|
|
@@ -283,39 +283,39 @@ function un(e, t, r, n, i, s, o = null, a = [-1]) {
|
|
|
283
283
|
let l = !1;
|
|
284
284
|
if (u.ctx = r ? r(e, t.props || {}, (m, c, ...d) => {
|
|
285
285
|
const p = d.length ? d[0] : c;
|
|
286
|
-
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l &&
|
|
287
|
-
}) : [], u.update(), l = !0,
|
|
286
|
+
return u.ctx && i(u.ctx[m], u.ctx[m] = p) && (!u.skip_bound && u.bound[m] && u.bound[m](p), l && hn(e, m)), c;
|
|
287
|
+
}) : [], u.update(), l = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
288
288
|
if (t.hydrate) {
|
|
289
|
-
const m =
|
|
290
|
-
u.fragment && u.fragment.l(m), m.forEach(
|
|
289
|
+
const m = Jr(t.target);
|
|
290
|
+
u.fragment && u.fragment.l(m), m.forEach(ie);
|
|
291
291
|
} else
|
|
292
292
|
u.fragment && u.fragment.c();
|
|
293
|
-
t.intro &&
|
|
293
|
+
t.intro && Jt(e.$$.fragment), an(e, t.target, t.anchor), E();
|
|
294
294
|
}
|
|
295
|
-
|
|
295
|
+
he(h);
|
|
296
296
|
}
|
|
297
|
-
let
|
|
298
|
-
typeof HTMLElement == "function" && (
|
|
297
|
+
let Kt;
|
|
298
|
+
typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
|
|
299
299
|
constructor(t, r, n) {
|
|
300
300
|
super();
|
|
301
301
|
/** The Svelte component constructor */
|
|
302
|
-
|
|
302
|
+
M(this, "$$ctor");
|
|
303
303
|
/** Slots */
|
|
304
|
-
|
|
304
|
+
M(this, "$$s");
|
|
305
305
|
/** The Svelte component instance */
|
|
306
|
-
|
|
306
|
+
M(this, "$$c");
|
|
307
307
|
/** Whether or not the custom element is connected */
|
|
308
|
-
|
|
308
|
+
M(this, "$$cn", !1);
|
|
309
309
|
/** Component props data */
|
|
310
|
-
|
|
310
|
+
M(this, "$$d", {});
|
|
311
311
|
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
312
|
-
|
|
312
|
+
M(this, "$$r", !1);
|
|
313
313
|
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
314
|
-
|
|
314
|
+
M(this, "$$p_d", {});
|
|
315
315
|
/** @type {Record<string, Function[]>} Event listeners */
|
|
316
|
-
|
|
316
|
+
M(this, "$$l", {});
|
|
317
317
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
318
|
-
|
|
318
|
+
M(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
319
319
|
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
320
320
|
}
|
|
321
321
|
addEventListener(t, r, n) {
|
|
@@ -332,42 +332,42 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
334
|
connectedCallback() {
|
|
335
|
-
return
|
|
335
|
+
return xt(this, null, function* () {
|
|
336
336
|
if (this.$$cn = !0, !this.$$c) {
|
|
337
337
|
let t = function(s) {
|
|
338
338
|
return () => {
|
|
339
339
|
let o;
|
|
340
340
|
return {
|
|
341
341
|
c: function() {
|
|
342
|
-
o =
|
|
342
|
+
o = X("slot"), s !== "default" && se(o, "name", s);
|
|
343
343
|
},
|
|
344
344
|
/**
|
|
345
345
|
* @param {HTMLElement} target
|
|
346
346
|
* @param {HTMLElement} [anchor]
|
|
347
347
|
*/
|
|
348
348
|
m: function(u, l) {
|
|
349
|
-
|
|
349
|
+
me(u, o, l);
|
|
350
350
|
},
|
|
351
351
|
d: function(u) {
|
|
352
|
-
u &&
|
|
352
|
+
u && ie(o);
|
|
353
353
|
}
|
|
354
354
|
};
|
|
355
355
|
};
|
|
356
356
|
};
|
|
357
357
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
358
358
|
return;
|
|
359
|
-
const r = {}, n =
|
|
359
|
+
const r = {}, n = Kr(this);
|
|
360
360
|
for (const s of this.$$s)
|
|
361
361
|
s in n && (r[s] = [t(s)]);
|
|
362
362
|
for (const s of this.attributes) {
|
|
363
363
|
const o = this.$$g_p(s.name);
|
|
364
|
-
o in this.$$d || (this.$$d[o] =
|
|
364
|
+
o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
|
|
365
365
|
}
|
|
366
366
|
for (const s in this.$$p_d)
|
|
367
367
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
368
368
|
this.$$c = new this.$$ctor({
|
|
369
369
|
target: this.shadowRoot || this,
|
|
370
|
-
props:
|
|
370
|
+
props: Et(_t({}, this.$$d), {
|
|
371
371
|
$$slots: r,
|
|
372
372
|
$$scope: {
|
|
373
373
|
ctx: []
|
|
@@ -378,7 +378,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
378
378
|
this.$$r = !0;
|
|
379
379
|
for (const s in this.$$p_d)
|
|
380
380
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
381
|
-
const o =
|
|
381
|
+
const o = _e(
|
|
382
382
|
s,
|
|
383
383
|
this.$$d[s],
|
|
384
384
|
this.$$p_d,
|
|
@@ -402,7 +402,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
402
402
|
// and setting attributes through setAttribute etc, this is helpful
|
|
403
403
|
attributeChangedCallback(t, r, n) {
|
|
404
404
|
var i;
|
|
405
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
405
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
406
406
|
}
|
|
407
407
|
disconnectedCallback() {
|
|
408
408
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -415,7 +415,7 @@ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
|
415
415
|
) || t;
|
|
416
416
|
}
|
|
417
417
|
});
|
|
418
|
-
function
|
|
418
|
+
function _e(e, t, r, n) {
|
|
419
419
|
var s;
|
|
420
420
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
421
421
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -445,8 +445,8 @@ function ve(e, t, r, n) {
|
|
|
445
445
|
return t;
|
|
446
446
|
}
|
|
447
447
|
}
|
|
448
|
-
function
|
|
449
|
-
let o = class extends
|
|
448
|
+
function cn(e, t, r, n, i, s) {
|
|
449
|
+
let o = class extends Kt {
|
|
450
450
|
constructor() {
|
|
451
451
|
super(e, r, i), this.$$p_d = t;
|
|
452
452
|
}
|
|
@@ -463,7 +463,7 @@ function hn(e, t, r, n, i, s) {
|
|
|
463
463
|
},
|
|
464
464
|
set(h) {
|
|
465
465
|
var u;
|
|
466
|
-
h =
|
|
466
|
+
h = _e(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
467
467
|
}
|
|
468
468
|
});
|
|
469
469
|
}), n.forEach((a) => {
|
|
@@ -476,7 +476,7 @@ function hn(e, t, r, n, i, s) {
|
|
|
476
476
|
}), e.element = /** @type {any} */
|
|
477
477
|
o, o;
|
|
478
478
|
}
|
|
479
|
-
class
|
|
479
|
+
class fn {
|
|
480
480
|
constructor() {
|
|
481
481
|
/**
|
|
482
482
|
* ### PRIVATE API
|
|
@@ -485,7 +485,7 @@ class ln {
|
|
|
485
485
|
*
|
|
486
486
|
* @type {any}
|
|
487
487
|
*/
|
|
488
|
-
|
|
488
|
+
M(this, "$$");
|
|
489
489
|
/**
|
|
490
490
|
* ### PRIVATE API
|
|
491
491
|
*
|
|
@@ -493,11 +493,11 @@ class ln {
|
|
|
493
493
|
*
|
|
494
494
|
* @type {any}
|
|
495
495
|
*/
|
|
496
|
-
|
|
496
|
+
M(this, "$$set");
|
|
497
497
|
}
|
|
498
498
|
/** @returns {void} */
|
|
499
499
|
$destroy() {
|
|
500
|
-
|
|
500
|
+
un(this, 1), this.$destroy = L;
|
|
501
501
|
}
|
|
502
502
|
/**
|
|
503
503
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -506,8 +506,8 @@ class ln {
|
|
|
506
506
|
* @returns {() => void}
|
|
507
507
|
*/
|
|
508
508
|
$on(t, r) {
|
|
509
|
-
if (!
|
|
510
|
-
return
|
|
509
|
+
if (!lt(r))
|
|
510
|
+
return L;
|
|
511
511
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
512
512
|
return n.push(r), () => {
|
|
513
513
|
const i = n.indexOf(r);
|
|
@@ -519,11 +519,11 @@ class ln {
|
|
|
519
519
|
* @returns {void}
|
|
520
520
|
*/
|
|
521
521
|
$set(t) {
|
|
522
|
-
this.$$set && !
|
|
522
|
+
this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
523
523
|
}
|
|
524
524
|
}
|
|
525
|
-
const
|
|
526
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
525
|
+
const mn = "4";
|
|
526
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mn);
|
|
527
527
|
/*! *****************************************************************************
|
|
528
528
|
Copyright (c) Microsoft Corporation.
|
|
529
529
|
|
|
@@ -538,24 +538,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
538
538
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
539
539
|
PERFORMANCE OF THIS SOFTWARE.
|
|
540
540
|
***************************************************************************** */
|
|
541
|
-
var
|
|
542
|
-
return
|
|
541
|
+
var Ze = function(e, t) {
|
|
542
|
+
return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
543
543
|
r.__proto__ = n;
|
|
544
544
|
} || function(r, n) {
|
|
545
545
|
for (var i in n)
|
|
546
546
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
547
|
-
},
|
|
547
|
+
}, Ze(e, t);
|
|
548
548
|
};
|
|
549
|
-
function
|
|
549
|
+
function de(e, t) {
|
|
550
550
|
if (typeof t != "function" && t !== null)
|
|
551
551
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
552
|
-
|
|
552
|
+
Ze(e, t);
|
|
553
553
|
function r() {
|
|
554
554
|
this.constructor = e;
|
|
555
555
|
}
|
|
556
556
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
557
557
|
}
|
|
558
|
-
function
|
|
558
|
+
function qe(e) {
|
|
559
559
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
560
560
|
if (r)
|
|
561
561
|
return r.call(e);
|
|
@@ -567,7 +567,7 @@ function Ze(e) {
|
|
|
567
567
|
};
|
|
568
568
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
569
569
|
}
|
|
570
|
-
function
|
|
570
|
+
function Qe(e, t) {
|
|
571
571
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
572
572
|
if (!r)
|
|
573
573
|
return e;
|
|
@@ -587,7 +587,7 @@ function qe(e, t) {
|
|
|
587
587
|
}
|
|
588
588
|
return s;
|
|
589
589
|
}
|
|
590
|
-
function
|
|
590
|
+
function Ye(e, t, r) {
|
|
591
591
|
if (arguments.length === 2)
|
|
592
592
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
593
593
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
@@ -596,13 +596,13 @@ function Qe(e, t, r) {
|
|
|
596
596
|
function D(e) {
|
|
597
597
|
return typeof e == "function";
|
|
598
598
|
}
|
|
599
|
-
function
|
|
599
|
+
function er(e) {
|
|
600
600
|
var t = function(n) {
|
|
601
601
|
Error.call(n), n.stack = new Error().stack;
|
|
602
602
|
}, r = e(t);
|
|
603
603
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
604
604
|
}
|
|
605
|
-
var
|
|
605
|
+
var Ue = er(function(e) {
|
|
606
606
|
return function(r) {
|
|
607
607
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
608
608
|
` + r.map(function(n, i) {
|
|
@@ -611,13 +611,13 @@ var Ge = Jt(function(e) {
|
|
|
611
611
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
612
612
|
};
|
|
613
613
|
});
|
|
614
|
-
function
|
|
614
|
+
function Je(e, t) {
|
|
615
615
|
if (e) {
|
|
616
616
|
var r = e.indexOf(t);
|
|
617
617
|
0 <= r && e.splice(r, 1);
|
|
618
618
|
}
|
|
619
619
|
}
|
|
620
|
-
var
|
|
620
|
+
var Ae = function() {
|
|
621
621
|
function e(t) {
|
|
622
622
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
623
623
|
}
|
|
@@ -629,7 +629,7 @@ var He = function() {
|
|
|
629
629
|
if (o)
|
|
630
630
|
if (this._parentage = null, Array.isArray(o))
|
|
631
631
|
try {
|
|
632
|
-
for (var a =
|
|
632
|
+
for (var a = qe(o), h = a.next(); !h.done; h = a.next()) {
|
|
633
633
|
var u = h.value;
|
|
634
634
|
u.remove(this);
|
|
635
635
|
}
|
|
@@ -650,18 +650,18 @@ var He = function() {
|
|
|
650
650
|
try {
|
|
651
651
|
l();
|
|
652
652
|
} catch (b) {
|
|
653
|
-
s = b instanceof
|
|
653
|
+
s = b instanceof Ue ? b.errors : [b];
|
|
654
654
|
}
|
|
655
655
|
var m = this._finalizers;
|
|
656
656
|
if (m) {
|
|
657
657
|
this._finalizers = null;
|
|
658
658
|
try {
|
|
659
|
-
for (var c =
|
|
659
|
+
for (var c = qe(m), d = c.next(); !d.done; d = c.next()) {
|
|
660
660
|
var p = d.value;
|
|
661
661
|
try {
|
|
662
|
-
|
|
662
|
+
Tt(p);
|
|
663
663
|
} catch (b) {
|
|
664
|
-
s = s != null ? s : [], b instanceof
|
|
664
|
+
s = s != null ? s : [], b instanceof Ue ? s = Ye(Ye([], Qe(s)), Qe(b.errors)) : s.push(b);
|
|
665
665
|
}
|
|
666
666
|
}
|
|
667
667
|
} catch (b) {
|
|
@@ -676,13 +676,13 @@ var He = function() {
|
|
|
676
676
|
}
|
|
677
677
|
}
|
|
678
678
|
if (s)
|
|
679
|
-
throw new
|
|
679
|
+
throw new Ue(s);
|
|
680
680
|
}
|
|
681
681
|
}, e.prototype.add = function(t) {
|
|
682
682
|
var r;
|
|
683
683
|
if (t && t !== this)
|
|
684
684
|
if (this.closed)
|
|
685
|
-
|
|
685
|
+
Tt(t);
|
|
686
686
|
else {
|
|
687
687
|
if (t instanceof e) {
|
|
688
688
|
if (t.closed || t._hasParent(this))
|
|
@@ -699,52 +699,52 @@ var He = function() {
|
|
|
699
699
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
700
700
|
}, e.prototype._removeParent = function(t) {
|
|
701
701
|
var r = this._parentage;
|
|
702
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
702
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
703
703
|
}, e.prototype.remove = function(t) {
|
|
704
704
|
var r = this._finalizers;
|
|
705
|
-
r &&
|
|
705
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
706
706
|
}, e.EMPTY = function() {
|
|
707
707
|
var t = new e();
|
|
708
708
|
return t.closed = !0, t;
|
|
709
709
|
}(), e;
|
|
710
|
-
}(),
|
|
711
|
-
function
|
|
712
|
-
return e instanceof
|
|
710
|
+
}(), tr = Ae.EMPTY;
|
|
711
|
+
function rr(e) {
|
|
712
|
+
return e instanceof Ae || e && "closed" in e && D(e.remove) && D(e.add) && D(e.unsubscribe);
|
|
713
713
|
}
|
|
714
|
-
function
|
|
714
|
+
function Tt(e) {
|
|
715
715
|
D(e) ? e() : e.unsubscribe();
|
|
716
716
|
}
|
|
717
|
-
var
|
|
717
|
+
var dn = {
|
|
718
718
|
Promise: void 0
|
|
719
|
-
},
|
|
719
|
+
}, bn = {
|
|
720
720
|
setTimeout: function(e, t) {
|
|
721
721
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
722
722
|
r[n - 2] = arguments[n];
|
|
723
|
-
return setTimeout.apply(void 0,
|
|
723
|
+
return setTimeout.apply(void 0, Ye([e, t], Qe(r)));
|
|
724
724
|
},
|
|
725
725
|
clearTimeout: function(e) {
|
|
726
726
|
return clearTimeout(e);
|
|
727
727
|
},
|
|
728
728
|
delegate: void 0
|
|
729
729
|
};
|
|
730
|
-
function
|
|
731
|
-
|
|
730
|
+
function pn(e) {
|
|
731
|
+
bn.setTimeout(function() {
|
|
732
732
|
throw e;
|
|
733
733
|
});
|
|
734
734
|
}
|
|
735
|
-
function
|
|
735
|
+
function Ht() {
|
|
736
736
|
}
|
|
737
|
-
function
|
|
737
|
+
function Ee(e) {
|
|
738
738
|
e();
|
|
739
739
|
}
|
|
740
|
-
var
|
|
741
|
-
|
|
740
|
+
var nr = function(e) {
|
|
741
|
+
de(t, e);
|
|
742
742
|
function t(r) {
|
|
743
743
|
var n = e.call(this) || this;
|
|
744
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
744
|
+
return n.isStopped = !1, r ? (n.destination = r, rr(r) && r.add(n)) : n.destination = vn, n;
|
|
745
745
|
}
|
|
746
746
|
return t.create = function(r, n, i) {
|
|
747
|
-
return new
|
|
747
|
+
return new Ke(r, n, i);
|
|
748
748
|
}, t.prototype.next = function(r) {
|
|
749
749
|
this.isStopped || this._next(r);
|
|
750
750
|
}, t.prototype.error = function(r) {
|
|
@@ -768,7 +768,7 @@ var tr = function(e) {
|
|
|
768
768
|
this.unsubscribe();
|
|
769
769
|
}
|
|
770
770
|
}, t;
|
|
771
|
-
}(
|
|
771
|
+
}(Ae), gn = function() {
|
|
772
772
|
function e(t) {
|
|
773
773
|
this.partialObserver = t;
|
|
774
774
|
}
|
|
@@ -778,7 +778,7 @@ var tr = function(e) {
|
|
|
778
778
|
try {
|
|
779
779
|
r.next(t);
|
|
780
780
|
} catch (n) {
|
|
781
|
-
|
|
781
|
+
ye(n);
|
|
782
782
|
}
|
|
783
783
|
}, e.prototype.error = function(t) {
|
|
784
784
|
var r = this.partialObserver;
|
|
@@ -786,56 +786,56 @@ var tr = function(e) {
|
|
|
786
786
|
try {
|
|
787
787
|
r.error(t);
|
|
788
788
|
} catch (n) {
|
|
789
|
-
|
|
789
|
+
ye(n);
|
|
790
790
|
}
|
|
791
791
|
else
|
|
792
|
-
|
|
792
|
+
ye(t);
|
|
793
793
|
}, e.prototype.complete = function() {
|
|
794
794
|
var t = this.partialObserver;
|
|
795
795
|
if (t.complete)
|
|
796
796
|
try {
|
|
797
797
|
t.complete();
|
|
798
798
|
} catch (r) {
|
|
799
|
-
|
|
799
|
+
ye(r);
|
|
800
800
|
}
|
|
801
801
|
}, e;
|
|
802
|
-
}(),
|
|
803
|
-
|
|
802
|
+
}(), Ke = function(e) {
|
|
803
|
+
de(t, e);
|
|
804
804
|
function t(r, n, i) {
|
|
805
805
|
var s = e.call(this) || this, o;
|
|
806
806
|
return D(r) || !r ? o = {
|
|
807
807
|
next: r != null ? r : void 0,
|
|
808
808
|
error: n != null ? n : void 0,
|
|
809
809
|
complete: i != null ? i : void 0
|
|
810
|
-
} : o = r, s.destination = new
|
|
810
|
+
} : o = r, s.destination = new gn(o), s;
|
|
811
811
|
}
|
|
812
812
|
return t;
|
|
813
|
-
}(
|
|
814
|
-
function
|
|
815
|
-
|
|
813
|
+
}(nr);
|
|
814
|
+
function ye(e) {
|
|
815
|
+
pn(e);
|
|
816
816
|
}
|
|
817
|
-
function
|
|
817
|
+
function yn(e) {
|
|
818
818
|
throw e;
|
|
819
819
|
}
|
|
820
|
-
var
|
|
820
|
+
var vn = {
|
|
821
821
|
closed: !0,
|
|
822
|
-
next:
|
|
823
|
-
error:
|
|
824
|
-
complete:
|
|
825
|
-
},
|
|
822
|
+
next: Ht,
|
|
823
|
+
error: yn,
|
|
824
|
+
complete: Ht
|
|
825
|
+
}, _n = function() {
|
|
826
826
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
827
827
|
}();
|
|
828
|
-
function
|
|
828
|
+
function En(e) {
|
|
829
829
|
return e;
|
|
830
830
|
}
|
|
831
|
-
function
|
|
832
|
-
return e.length === 0 ?
|
|
831
|
+
function xn(e) {
|
|
832
|
+
return e.length === 0 ? En : e.length === 1 ? e[0] : function(r) {
|
|
833
833
|
return e.reduce(function(n, i) {
|
|
834
834
|
return i(n);
|
|
835
835
|
}, r);
|
|
836
836
|
};
|
|
837
837
|
}
|
|
838
|
-
var
|
|
838
|
+
var At = function() {
|
|
839
839
|
function e(t) {
|
|
840
840
|
t && (this._subscribe = t);
|
|
841
841
|
}
|
|
@@ -843,8 +843,8 @@ var Tt = function() {
|
|
|
843
843
|
var r = new e();
|
|
844
844
|
return r.source = this, r.operator = t, r;
|
|
845
845
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
846
|
-
var i = this, s =
|
|
847
|
-
return
|
|
846
|
+
var i = this, s = wn(t) ? t : new Ke(t, r, n);
|
|
847
|
+
return Ee(function() {
|
|
848
848
|
var o = i, a = o.operator, h = o.source;
|
|
849
849
|
s.add(a ? a.call(s, h) : h ? i._subscribe(s) : i._trySubscribe(s));
|
|
850
850
|
}), s;
|
|
@@ -856,8 +856,8 @@ var Tt = function() {
|
|
|
856
856
|
}
|
|
857
857
|
}, e.prototype.forEach = function(t, r) {
|
|
858
858
|
var n = this;
|
|
859
|
-
return r =
|
|
860
|
-
var o = new
|
|
859
|
+
return r = Bt(r), new r(function(i, s) {
|
|
860
|
+
var o = new Ke({
|
|
861
861
|
next: function(a) {
|
|
862
862
|
try {
|
|
863
863
|
t(a);
|
|
@@ -873,15 +873,15 @@ var Tt = function() {
|
|
|
873
873
|
}, e.prototype._subscribe = function(t) {
|
|
874
874
|
var r;
|
|
875
875
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
876
|
-
}, e.prototype[
|
|
876
|
+
}, e.prototype[_n] = function() {
|
|
877
877
|
return this;
|
|
878
878
|
}, e.prototype.pipe = function() {
|
|
879
879
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
880
880
|
t[r] = arguments[r];
|
|
881
|
-
return
|
|
881
|
+
return xn(t)(this);
|
|
882
882
|
}, e.prototype.toPromise = function(t) {
|
|
883
883
|
var r = this;
|
|
884
|
-
return t =
|
|
884
|
+
return t = Bt(t), new t(function(n, i) {
|
|
885
885
|
var s;
|
|
886
886
|
r.subscribe(function(o) {
|
|
887
887
|
return s = o;
|
|
@@ -895,40 +895,40 @@ var Tt = function() {
|
|
|
895
895
|
return new e(t);
|
|
896
896
|
}, e;
|
|
897
897
|
}();
|
|
898
|
-
function
|
|
898
|
+
function Bt(e) {
|
|
899
899
|
var t;
|
|
900
|
-
return (t = e != null ? e :
|
|
900
|
+
return (t = e != null ? e : dn.Promise) !== null && t !== void 0 ? t : Promise;
|
|
901
901
|
}
|
|
902
|
-
function
|
|
902
|
+
function Sn(e) {
|
|
903
903
|
return e && D(e.next) && D(e.error) && D(e.complete);
|
|
904
904
|
}
|
|
905
|
-
function
|
|
906
|
-
return e && e instanceof
|
|
905
|
+
function wn(e) {
|
|
906
|
+
return e && e instanceof nr || Sn(e) && rr(e);
|
|
907
907
|
}
|
|
908
|
-
var
|
|
908
|
+
var Tn = er(function(e) {
|
|
909
909
|
return function() {
|
|
910
910
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
911
911
|
};
|
|
912
|
-
}),
|
|
913
|
-
|
|
912
|
+
}), ir = function(e) {
|
|
913
|
+
de(t, e);
|
|
914
914
|
function t() {
|
|
915
915
|
var r = e.call(this) || this;
|
|
916
916
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
917
917
|
}
|
|
918
918
|
return t.prototype.lift = function(r) {
|
|
919
|
-
var n = new
|
|
919
|
+
var n = new Pt(this, this);
|
|
920
920
|
return n.operator = r, n;
|
|
921
921
|
}, t.prototype._throwIfClosed = function() {
|
|
922
922
|
if (this.closed)
|
|
923
|
-
throw new
|
|
923
|
+
throw new Tn();
|
|
924
924
|
}, t.prototype.next = function(r) {
|
|
925
925
|
var n = this;
|
|
926
|
-
|
|
926
|
+
Ee(function() {
|
|
927
927
|
var i, s;
|
|
928
928
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
929
929
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
930
930
|
try {
|
|
931
|
-
for (var o =
|
|
931
|
+
for (var o = qe(n.currentObservers), a = o.next(); !a.done; a = o.next()) {
|
|
932
932
|
var h = a.value;
|
|
933
933
|
h.next(r);
|
|
934
934
|
}
|
|
@@ -946,7 +946,7 @@ var Sn = Jt(function(e) {
|
|
|
946
946
|
});
|
|
947
947
|
}, t.prototype.error = function(r) {
|
|
948
948
|
var n = this;
|
|
949
|
-
|
|
949
|
+
Ee(function() {
|
|
950
950
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
951
951
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
952
952
|
for (var i = n.observers; i.length; )
|
|
@@ -955,7 +955,7 @@ var Sn = Jt(function(e) {
|
|
|
955
955
|
});
|
|
956
956
|
}, t.prototype.complete = function() {
|
|
957
957
|
var r = this;
|
|
958
|
-
|
|
958
|
+
Ee(function() {
|
|
959
959
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
960
960
|
r.isStopped = !0;
|
|
961
961
|
for (var n = r.observers; n.length; )
|
|
@@ -977,20 +977,20 @@ var Sn = Jt(function(e) {
|
|
|
977
977
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
978
978
|
}, t.prototype._innerSubscribe = function(r) {
|
|
979
979
|
var n = this, i = this, s = i.hasError, o = i.isStopped, a = i.observers;
|
|
980
|
-
return s || o ?
|
|
981
|
-
n.currentObservers = null,
|
|
980
|
+
return s || o ? tr : (this.currentObservers = null, a.push(r), new Ae(function() {
|
|
981
|
+
n.currentObservers = null, Je(a, r);
|
|
982
982
|
}));
|
|
983
983
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
984
984
|
var n = this, i = n.hasError, s = n.thrownError, o = n.isStopped;
|
|
985
985
|
i ? r.error(s) : o && r.complete();
|
|
986
986
|
}, t.prototype.asObservable = function() {
|
|
987
|
-
var r = new
|
|
987
|
+
var r = new At();
|
|
988
988
|
return r.source = this, r;
|
|
989
989
|
}, t.create = function(r, n) {
|
|
990
|
-
return new
|
|
990
|
+
return new Pt(r, n);
|
|
991
991
|
}, t;
|
|
992
|
-
}(
|
|
993
|
-
|
|
992
|
+
}(At), Pt = function(e) {
|
|
993
|
+
de(t, e);
|
|
994
994
|
function t(r, n) {
|
|
995
995
|
var i = e.call(this) || this;
|
|
996
996
|
return i.destination = r, i.source = n, i;
|
|
@@ -1006,17 +1006,17 @@ var Sn = Jt(function(e) {
|
|
|
1006
1006
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1007
1007
|
}, t.prototype._subscribe = function(r) {
|
|
1008
1008
|
var n, i;
|
|
1009
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1009
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : tr;
|
|
1010
1010
|
}, t;
|
|
1011
|
-
}(
|
|
1011
|
+
}(ir), sr = {
|
|
1012
1012
|
now: function() {
|
|
1013
|
-
return (
|
|
1013
|
+
return (sr.delegate || Date).now();
|
|
1014
1014
|
},
|
|
1015
1015
|
delegate: void 0
|
|
1016
|
-
},
|
|
1017
|
-
|
|
1016
|
+
}, Hn = function(e) {
|
|
1017
|
+
de(t, e);
|
|
1018
1018
|
function t(r, n, i) {
|
|
1019
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1019
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
|
|
1020
1020
|
var s = e.call(this) || this;
|
|
1021
1021
|
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;
|
|
1022
1022
|
}
|
|
@@ -1036,62 +1036,62 @@ var Sn = Jt(function(e) {
|
|
|
1036
1036
|
u && s.splice(0, u + 1);
|
|
1037
1037
|
}
|
|
1038
1038
|
}, t;
|
|
1039
|
-
}(
|
|
1040
|
-
const
|
|
1041
|
-
if (
|
|
1042
|
-
const r = new
|
|
1043
|
-
|
|
1039
|
+
}(ir);
|
|
1040
|
+
const Ot = [], Nt = {}, An = (e, t = 0) => {
|
|
1041
|
+
if (Ot.indexOf(e) == -1) {
|
|
1042
|
+
const r = new Hn(t);
|
|
1043
|
+
Nt[e] = r, Ot.push(e);
|
|
1044
1044
|
}
|
|
1045
|
-
return
|
|
1046
|
-
},
|
|
1047
|
-
function
|
|
1045
|
+
return Nt[e];
|
|
1046
|
+
}, Q = [];
|
|
1047
|
+
function Bn(e, t) {
|
|
1048
1048
|
return {
|
|
1049
|
-
subscribe:
|
|
1049
|
+
subscribe: Be(e, t).subscribe
|
|
1050
1050
|
};
|
|
1051
1051
|
}
|
|
1052
|
-
function
|
|
1052
|
+
function Be(e, t = L) {
|
|
1053
1053
|
let r;
|
|
1054
1054
|
const n = /* @__PURE__ */ new Set();
|
|
1055
1055
|
function i(a) {
|
|
1056
|
-
if (
|
|
1057
|
-
const h = !
|
|
1056
|
+
if (zt(e, a) && (e = a, r)) {
|
|
1057
|
+
const h = !Q.length;
|
|
1058
1058
|
for (const u of n)
|
|
1059
|
-
u[1](),
|
|
1059
|
+
u[1](), Q.push(u, e);
|
|
1060
1060
|
if (h) {
|
|
1061
|
-
for (let u = 0; u <
|
|
1062
|
-
|
|
1063
|
-
|
|
1061
|
+
for (let u = 0; u < Q.length; u += 2)
|
|
1062
|
+
Q[u][0](Q[u + 1]);
|
|
1063
|
+
Q.length = 0;
|
|
1064
1064
|
}
|
|
1065
1065
|
}
|
|
1066
1066
|
}
|
|
1067
1067
|
function s(a) {
|
|
1068
1068
|
i(a(e));
|
|
1069
1069
|
}
|
|
1070
|
-
function o(a, h =
|
|
1070
|
+
function o(a, h = L) {
|
|
1071
1071
|
const u = [a, h];
|
|
1072
|
-
return n.add(u), n.size === 1 && (r = t(i, s) ||
|
|
1072
|
+
return n.add(u), n.size === 1 && (r = t(i, s) || L), a(e), () => {
|
|
1073
1073
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1074
1074
|
};
|
|
1075
1075
|
}
|
|
1076
1076
|
return { set: i, update: s, subscribe: o };
|
|
1077
1077
|
}
|
|
1078
|
-
function
|
|
1078
|
+
function oe(e, t, r) {
|
|
1079
1079
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1080
1080
|
if (!i.every(Boolean))
|
|
1081
1081
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1082
1082
|
const s = t.length < 2;
|
|
1083
|
-
return
|
|
1083
|
+
return Bn(r, (o, a) => {
|
|
1084
1084
|
let h = !1;
|
|
1085
1085
|
const u = [];
|
|
1086
|
-
let l = 0, m =
|
|
1086
|
+
let l = 0, m = L;
|
|
1087
1087
|
const c = () => {
|
|
1088
1088
|
if (l)
|
|
1089
1089
|
return;
|
|
1090
1090
|
m();
|
|
1091
1091
|
const p = t(n ? u[0] : u, o, a);
|
|
1092
|
-
s ? o(p) : m =
|
|
1092
|
+
s ? o(p) : m = lt(p) ? p : L;
|
|
1093
1093
|
}, d = i.map(
|
|
1094
|
-
(p, b) =>
|
|
1094
|
+
(p, b) => Wt(
|
|
1095
1095
|
p,
|
|
1096
1096
|
(w) => {
|
|
1097
1097
|
u[b] = w, l &= ~(1 << b), h && c();
|
|
@@ -1102,96 +1102,96 @@ function se(e, t, r) {
|
|
|
1102
1102
|
)
|
|
1103
1103
|
);
|
|
1104
1104
|
return h = !0, c(), function() {
|
|
1105
|
-
|
|
1105
|
+
ne(d), m(), h = !1;
|
|
1106
1106
|
};
|
|
1107
1107
|
});
|
|
1108
1108
|
}
|
|
1109
|
-
function
|
|
1109
|
+
function Pn(e) {
|
|
1110
1110
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1111
1111
|
}
|
|
1112
|
-
var
|
|
1113
|
-
return
|
|
1112
|
+
var On = function(t) {
|
|
1113
|
+
return Nn(t) && !Ln(t);
|
|
1114
1114
|
};
|
|
1115
|
-
function
|
|
1115
|
+
function Nn(e) {
|
|
1116
1116
|
return !!e && typeof e == "object";
|
|
1117
1117
|
}
|
|
1118
|
-
function
|
|
1118
|
+
function Ln(e) {
|
|
1119
1119
|
var t = Object.prototype.toString.call(e);
|
|
1120
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1120
|
+
return t === "[object RegExp]" || t === "[object Date]" || Cn(e);
|
|
1121
1121
|
}
|
|
1122
|
-
var
|
|
1123
|
-
function
|
|
1124
|
-
return e.$$typeof ===
|
|
1122
|
+
var In = typeof Symbol == "function" && Symbol.for, Mn = In ? Symbol.for("react.element") : 60103;
|
|
1123
|
+
function Cn(e) {
|
|
1124
|
+
return e.$$typeof === Mn;
|
|
1125
1125
|
}
|
|
1126
|
-
function
|
|
1126
|
+
function Rn(e) {
|
|
1127
1127
|
return Array.isArray(e) ? [] : {};
|
|
1128
1128
|
}
|
|
1129
|
-
function
|
|
1130
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1129
|
+
function ce(e, t) {
|
|
1130
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(Rn(e), e, t) : e;
|
|
1131
1131
|
}
|
|
1132
|
-
function
|
|
1132
|
+
function Gn(e, t, r) {
|
|
1133
1133
|
return e.concat(t).map(function(n) {
|
|
1134
|
-
return
|
|
1134
|
+
return ce(n, r);
|
|
1135
1135
|
});
|
|
1136
1136
|
}
|
|
1137
|
-
function
|
|
1137
|
+
function Un(e, t) {
|
|
1138
1138
|
if (!t.customMerge)
|
|
1139
|
-
return
|
|
1139
|
+
return K;
|
|
1140
1140
|
var r = t.customMerge(e);
|
|
1141
|
-
return typeof r == "function" ? r :
|
|
1141
|
+
return typeof r == "function" ? r : K;
|
|
1142
1142
|
}
|
|
1143
|
-
function
|
|
1143
|
+
function Dn(e) {
|
|
1144
1144
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1145
1145
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1146
1146
|
}) : [];
|
|
1147
1147
|
}
|
|
1148
|
-
function
|
|
1149
|
-
return Object.keys(e).concat(
|
|
1148
|
+
function Lt(e) {
|
|
1149
|
+
return Object.keys(e).concat(Dn(e));
|
|
1150
1150
|
}
|
|
1151
|
-
function
|
|
1151
|
+
function or(e, t) {
|
|
1152
1152
|
try {
|
|
1153
1153
|
return t in e;
|
|
1154
1154
|
} catch (r) {
|
|
1155
1155
|
return !1;
|
|
1156
1156
|
}
|
|
1157
1157
|
}
|
|
1158
|
-
function
|
|
1159
|
-
return
|
|
1158
|
+
function Fn(e, t) {
|
|
1159
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1160
1160
|
}
|
|
1161
|
-
function
|
|
1161
|
+
function $n(e, t, r) {
|
|
1162
1162
|
var n = {};
|
|
1163
|
-
return r.isMergeableObject(e) &&
|
|
1164
|
-
n[i] =
|
|
1165
|
-
}),
|
|
1166
|
-
|
|
1163
|
+
return r.isMergeableObject(e) && Lt(e).forEach(function(i) {
|
|
1164
|
+
n[i] = ce(e[i], r);
|
|
1165
|
+
}), Lt(t).forEach(function(i) {
|
|
1166
|
+
Fn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Un(i, r)(e[i], t[i], r) : n[i] = ce(t[i], r));
|
|
1167
1167
|
}), n;
|
|
1168
1168
|
}
|
|
1169
|
-
function
|
|
1170
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1169
|
+
function K(e, t, r) {
|
|
1170
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Gn, r.isMergeableObject = r.isMergeableObject || On, r.cloneUnlessOtherwiseSpecified = ce;
|
|
1171
1171
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
1172
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
1172
|
+
return s ? n ? r.arrayMerge(e, t, r) : $n(e, t, r) : ce(t, r);
|
|
1173
1173
|
}
|
|
1174
|
-
|
|
1174
|
+
K.all = function(t, r) {
|
|
1175
1175
|
if (!Array.isArray(t))
|
|
1176
1176
|
throw new Error("first argument should be an array");
|
|
1177
1177
|
return t.reduce(function(n, i) {
|
|
1178
|
-
return
|
|
1178
|
+
return K(n, i, r);
|
|
1179
1179
|
}, {});
|
|
1180
1180
|
};
|
|
1181
|
-
var
|
|
1182
|
-
const
|
|
1183
|
-
var
|
|
1184
|
-
return
|
|
1181
|
+
var jn = K, kn = jn;
|
|
1182
|
+
const Vn = /* @__PURE__ */ Pn(kn);
|
|
1183
|
+
var et = function(e, t) {
|
|
1184
|
+
return et = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1185
1185
|
r.__proto__ = n;
|
|
1186
1186
|
} || function(r, n) {
|
|
1187
1187
|
for (var i in n)
|
|
1188
1188
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1189
|
-
},
|
|
1189
|
+
}, et(e, t);
|
|
1190
1190
|
};
|
|
1191
|
-
function
|
|
1191
|
+
function Pe(e, t) {
|
|
1192
1192
|
if (typeof t != "function" && t !== null)
|
|
1193
1193
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1194
|
-
|
|
1194
|
+
et(e, t);
|
|
1195
1195
|
function r() {
|
|
1196
1196
|
this.constructor = e;
|
|
1197
1197
|
}
|
|
@@ -1207,7 +1207,7 @@ var G = function() {
|
|
|
1207
1207
|
return t;
|
|
1208
1208
|
}, G.apply(this, arguments);
|
|
1209
1209
|
};
|
|
1210
|
-
function
|
|
1210
|
+
function Xn(e, t) {
|
|
1211
1211
|
var r = {};
|
|
1212
1212
|
for (var n in e)
|
|
1213
1213
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -1216,43 +1216,43 @@ function kn(e, t) {
|
|
|
1216
1216
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1217
1217
|
return r;
|
|
1218
1218
|
}
|
|
1219
|
-
function
|
|
1219
|
+
function De(e, t, r) {
|
|
1220
1220
|
if (r || arguments.length === 2)
|
|
1221
1221
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
1222
1222
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
1223
1223
|
return e.concat(s || Array.prototype.slice.call(t));
|
|
1224
1224
|
}
|
|
1225
|
-
function
|
|
1226
|
-
var r = t && t.cache ? t.cache :
|
|
1225
|
+
function Fe(e, t) {
|
|
1226
|
+
var r = t && t.cache ? t.cache : Jn, n = t && t.serializer ? t.serializer : Qn, i = t && t.strategy ? t.strategy : Zn;
|
|
1227
1227
|
return i(e, {
|
|
1228
1228
|
cache: r,
|
|
1229
1229
|
serializer: n
|
|
1230
1230
|
});
|
|
1231
1231
|
}
|
|
1232
|
-
function
|
|
1232
|
+
function zn(e) {
|
|
1233
1233
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1234
1234
|
}
|
|
1235
|
-
function
|
|
1236
|
-
var i =
|
|
1235
|
+
function Wn(e, t, r, n) {
|
|
1236
|
+
var i = zn(n) ? n : r(n), s = t.get(i);
|
|
1237
1237
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function ar(e, t, r) {
|
|
1240
1240
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
1241
1241
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
1242
1242
|
}
|
|
1243
|
-
function
|
|
1243
|
+
function ur(e, t, r, n, i) {
|
|
1244
1244
|
return r.bind(t, e, n, i);
|
|
1245
1245
|
}
|
|
1246
|
-
function
|
|
1247
|
-
var r = e.length === 1 ?
|
|
1248
|
-
return
|
|
1246
|
+
function Zn(e, t) {
|
|
1247
|
+
var r = e.length === 1 ? Wn : ar;
|
|
1248
|
+
return ur(e, this, r, t.cache.create(), t.serializer);
|
|
1249
1249
|
}
|
|
1250
|
-
function
|
|
1251
|
-
return
|
|
1250
|
+
function qn(e, t) {
|
|
1251
|
+
return ur(e, this, ar, t.cache.create(), t.serializer);
|
|
1252
1252
|
}
|
|
1253
|
-
var
|
|
1253
|
+
var Qn = function() {
|
|
1254
1254
|
return JSON.stringify(arguments);
|
|
1255
|
-
},
|
|
1255
|
+
}, Yn = (
|
|
1256
1256
|
/** @class */
|
|
1257
1257
|
function() {
|
|
1258
1258
|
function e() {
|
|
@@ -1264,71 +1264,71 @@ var Zn = function() {
|
|
|
1264
1264
|
this.cache[t] = r;
|
|
1265
1265
|
}, e;
|
|
1266
1266
|
}()
|
|
1267
|
-
),
|
|
1267
|
+
), Jn = {
|
|
1268
1268
|
create: function() {
|
|
1269
|
-
return new
|
|
1269
|
+
return new Yn();
|
|
1270
1270
|
}
|
|
1271
1271
|
}, $e = {
|
|
1272
|
-
variadic:
|
|
1273
|
-
},
|
|
1274
|
-
return
|
|
1272
|
+
variadic: qn
|
|
1273
|
+
}, we = function() {
|
|
1274
|
+
return we = Object.assign || function(t) {
|
|
1275
1275
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1276
1276
|
r = arguments[n];
|
|
1277
1277
|
for (var s in r)
|
|
1278
1278
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
1279
1279
|
}
|
|
1280
1280
|
return t;
|
|
1281
|
-
},
|
|
1281
|
+
}, we.apply(this, arguments);
|
|
1282
1282
|
};
|
|
1283
1283
|
var g;
|
|
1284
1284
|
(function(e) {
|
|
1285
1285
|
e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
|
|
1286
1286
|
})(g || (g = {}));
|
|
1287
|
-
var
|
|
1287
|
+
var x;
|
|
1288
1288
|
(function(e) {
|
|
1289
1289
|
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";
|
|
1290
|
-
})(
|
|
1291
|
-
var
|
|
1290
|
+
})(x || (x = {}));
|
|
1291
|
+
var ee;
|
|
1292
1292
|
(function(e) {
|
|
1293
1293
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1294
|
-
})(
|
|
1295
|
-
function
|
|
1296
|
-
return e.type ===
|
|
1297
|
-
}
|
|
1298
|
-
function Yn(e) {
|
|
1299
|
-
return e.type === E.argument;
|
|
1300
|
-
}
|
|
1301
|
-
function ar(e) {
|
|
1302
|
-
return e.type === E.number;
|
|
1294
|
+
})(ee || (ee = {}));
|
|
1295
|
+
function It(e) {
|
|
1296
|
+
return e.type === x.literal;
|
|
1303
1297
|
}
|
|
1304
|
-
function
|
|
1305
|
-
return e.type ===
|
|
1298
|
+
function Kn(e) {
|
|
1299
|
+
return e.type === x.argument;
|
|
1306
1300
|
}
|
|
1307
1301
|
function hr(e) {
|
|
1308
|
-
return e.type ===
|
|
1302
|
+
return e.type === x.number;
|
|
1309
1303
|
}
|
|
1310
1304
|
function lr(e) {
|
|
1311
|
-
return e.type ===
|
|
1305
|
+
return e.type === x.date;
|
|
1312
1306
|
}
|
|
1313
1307
|
function cr(e) {
|
|
1314
|
-
return e.type ===
|
|
1315
|
-
}
|
|
1316
|
-
function Jn(e) {
|
|
1317
|
-
return e.type === E.pound;
|
|
1308
|
+
return e.type === x.time;
|
|
1318
1309
|
}
|
|
1319
1310
|
function fr(e) {
|
|
1320
|
-
return e.type ===
|
|
1311
|
+
return e.type === x.select;
|
|
1321
1312
|
}
|
|
1322
1313
|
function mr(e) {
|
|
1323
|
-
return
|
|
1324
|
-
}
|
|
1325
|
-
function et(e) {
|
|
1326
|
-
return !!(e && typeof e == "object" && e.type === K.dateTime);
|
|
1314
|
+
return e.type === x.plural;
|
|
1327
1315
|
}
|
|
1328
|
-
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
|
|
1329
1316
|
function ei(e) {
|
|
1317
|
+
return e.type === x.pound;
|
|
1318
|
+
}
|
|
1319
|
+
function dr(e) {
|
|
1320
|
+
return e.type === x.tag;
|
|
1321
|
+
}
|
|
1322
|
+
function br(e) {
|
|
1323
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1324
|
+
}
|
|
1325
|
+
function tt(e) {
|
|
1326
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1327
|
+
}
|
|
1328
|
+
var pr = /[ \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;
|
|
1329
|
+
function ri(e) {
|
|
1330
1330
|
var t = {};
|
|
1331
|
-
return e.replace(
|
|
1331
|
+
return e.replace(ti, function(r) {
|
|
1332
1332
|
var n = r.length;
|
|
1333
1333
|
switch (r[0]) {
|
|
1334
1334
|
case "G":
|
|
@@ -1427,11 +1427,11 @@ var S = function() {
|
|
|
1427
1427
|
return t;
|
|
1428
1428
|
}, S.apply(this, arguments);
|
|
1429
1429
|
};
|
|
1430
|
-
var
|
|
1431
|
-
function
|
|
1430
|
+
var ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1431
|
+
function ii(e) {
|
|
1432
1432
|
if (e.length === 0)
|
|
1433
1433
|
throw new Error("Number skeleton cannot be empty");
|
|
1434
|
-
for (var t = e.split(
|
|
1434
|
+
for (var t = e.split(ni).filter(function(c) {
|
|
1435
1435
|
return c.length > 0;
|
|
1436
1436
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1437
1437
|
var s = i[n], o = s.split("/");
|
|
@@ -1446,17 +1446,17 @@ function ri(e) {
|
|
|
1446
1446
|
}
|
|
1447
1447
|
return r;
|
|
1448
1448
|
}
|
|
1449
|
-
function
|
|
1449
|
+
function si(e) {
|
|
1450
1450
|
return e.replace(/^(.*?)-/, "");
|
|
1451
1451
|
}
|
|
1452
|
-
var
|
|
1453
|
-
function
|
|
1452
|
+
var Mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, oi = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
|
|
1453
|
+
function Ct(e) {
|
|
1454
1454
|
var t = {};
|
|
1455
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1455
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
|
|
1456
1456
|
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)), "";
|
|
1457
1457
|
}), t;
|
|
1458
1458
|
}
|
|
1459
|
-
function
|
|
1459
|
+
function vr(e) {
|
|
1460
1460
|
switch (e) {
|
|
1461
1461
|
case "sign-auto":
|
|
1462
1462
|
return {
|
|
@@ -1496,7 +1496,7 @@ function gr(e) {
|
|
|
1496
1496
|
};
|
|
1497
1497
|
}
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function ai(e) {
|
|
1500
1500
|
var t;
|
|
1501
1501
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1502
1502
|
notation: "engineering"
|
|
@@ -1504,17 +1504,17 @@ function si(e) {
|
|
|
1504
1504
|
notation: "scientific"
|
|
1505
1505
|
}, e = e.slice(1)), t) {
|
|
1506
1506
|
var r = e.slice(0, 2);
|
|
1507
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1507
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
|
|
1508
1508
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1509
1509
|
t.minimumIntegerDigits = e.length;
|
|
1510
1510
|
}
|
|
1511
1511
|
return t;
|
|
1512
1512
|
}
|
|
1513
|
-
function
|
|
1514
|
-
var t = {}, r =
|
|
1513
|
+
function Rt(e) {
|
|
1514
|
+
var t = {}, r = vr(e);
|
|
1515
1515
|
return r || t;
|
|
1516
1516
|
}
|
|
1517
|
-
function
|
|
1517
|
+
function ui(e) {
|
|
1518
1518
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1519
1519
|
var i = n[r];
|
|
1520
1520
|
switch (i.stem) {
|
|
@@ -1538,7 +1538,7 @@ function oi(e) {
|
|
|
1538
1538
|
continue;
|
|
1539
1539
|
case "measure-unit":
|
|
1540
1540
|
case "unit":
|
|
1541
|
-
t.style = "unit", t.unit =
|
|
1541
|
+
t.style = "unit", t.unit = si(i.options[0]);
|
|
1542
1542
|
continue;
|
|
1543
1543
|
case "compact-short":
|
|
1544
1544
|
case "K":
|
|
@@ -1550,12 +1550,12 @@ function oi(e) {
|
|
|
1550
1550
|
continue;
|
|
1551
1551
|
case "scientific":
|
|
1552
1552
|
t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1553
|
-
return S(S({}, h),
|
|
1553
|
+
return S(S({}, h), Rt(u));
|
|
1554
1554
|
}, {}));
|
|
1555
1555
|
continue;
|
|
1556
1556
|
case "engineering":
|
|
1557
1557
|
t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1558
|
-
return S(S({}, h),
|
|
1558
|
+
return S(S({}, h), Rt(u));
|
|
1559
1559
|
}, {}));
|
|
1560
1560
|
continue;
|
|
1561
1561
|
case "notation-simple":
|
|
@@ -1600,7 +1600,7 @@ function oi(e) {
|
|
|
1600
1600
|
case "integer-width":
|
|
1601
1601
|
if (i.options.length > 1)
|
|
1602
1602
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1603
|
-
i.options[0].replace(
|
|
1603
|
+
i.options[0].replace(oi, function(h, u, l, m, c, d) {
|
|
1604
1604
|
if (u)
|
|
1605
1605
|
t.minimumIntegerDigits = l.length;
|
|
1606
1606
|
else {
|
|
@@ -1613,32 +1613,32 @@ function oi(e) {
|
|
|
1613
1613
|
});
|
|
1614
1614
|
continue;
|
|
1615
1615
|
}
|
|
1616
|
-
if (
|
|
1616
|
+
if (yr.test(i.stem)) {
|
|
1617
1617
|
t.minimumIntegerDigits = i.stem.length;
|
|
1618
1618
|
continue;
|
|
1619
1619
|
}
|
|
1620
|
-
if (
|
|
1620
|
+
if (Mt.test(i.stem)) {
|
|
1621
1621
|
if (i.options.length > 1)
|
|
1622
1622
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1623
|
-
i.stem.replace(
|
|
1623
|
+
i.stem.replace(Mt, function(h, u, l, m, c, d) {
|
|
1624
1624
|
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), "";
|
|
1625
1625
|
});
|
|
1626
1626
|
var s = i.options[0];
|
|
1627
|
-
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t),
|
|
1627
|
+
s === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = S(S({}, t), Ct(s)));
|
|
1628
1628
|
continue;
|
|
1629
1629
|
}
|
|
1630
|
-
if (
|
|
1631
|
-
t = S(S({}, t),
|
|
1630
|
+
if (gr.test(i.stem)) {
|
|
1631
|
+
t = S(S({}, t), Ct(i.stem));
|
|
1632
1632
|
continue;
|
|
1633
1633
|
}
|
|
1634
|
-
var o =
|
|
1634
|
+
var o = vr(i.stem);
|
|
1635
1635
|
o && (t = S(S({}, t), o));
|
|
1636
|
-
var a =
|
|
1636
|
+
var a = ai(i.stem);
|
|
1637
1637
|
a && (t = S(S({}, t), a));
|
|
1638
1638
|
}
|
|
1639
1639
|
return t;
|
|
1640
1640
|
}
|
|
1641
|
-
var
|
|
1641
|
+
var ve = {
|
|
1642
1642
|
"001": [
|
|
1643
1643
|
"H",
|
|
1644
1644
|
"h"
|
|
@@ -3053,13 +3053,13 @@ var ye = {
|
|
|
3053
3053
|
"h"
|
|
3054
3054
|
]
|
|
3055
3055
|
};
|
|
3056
|
-
function
|
|
3056
|
+
function hi(e, t) {
|
|
3057
3057
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3058
3058
|
var i = e.charAt(n);
|
|
3059
3059
|
if (i === "j") {
|
|
3060
3060
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3061
3061
|
s++, n++;
|
|
3062
|
-
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u =
|
|
3062
|
+
var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), h = "a", u = li(t);
|
|
3063
3063
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
3064
3064
|
r += h;
|
|
3065
3065
|
for (; o-- > 0; )
|
|
@@ -3069,7 +3069,7 @@ function ai(e, t) {
|
|
|
3069
3069
|
}
|
|
3070
3070
|
return r;
|
|
3071
3071
|
}
|
|
3072
|
-
function
|
|
3072
|
+
function li(e) {
|
|
3073
3073
|
var t = e.hourCycle;
|
|
3074
3074
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3075
3075
|
e.hourCycles && // @ts-ignore
|
|
@@ -3088,23 +3088,23 @@ function ui(e) {
|
|
|
3088
3088
|
}
|
|
3089
3089
|
var r = e.language, n;
|
|
3090
3090
|
r !== "root" && (n = e.maximize().region);
|
|
3091
|
-
var i =
|
|
3091
|
+
var i = ve[n || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
|
|
3092
3092
|
return i[0];
|
|
3093
3093
|
}
|
|
3094
|
-
var
|
|
3094
|
+
var je, ci = new RegExp("^".concat(pr.source, "*")), fi = new RegExp("".concat(pr.source, "*$"));
|
|
3095
3095
|
function y(e, t) {
|
|
3096
3096
|
return { start: e, end: t };
|
|
3097
3097
|
}
|
|
3098
|
-
var
|
|
3098
|
+
var mi = !!String.prototype.startsWith && "_a".startsWith("a", 1), di = !!String.fromCodePoint, bi = !!Object.fromEntries, pi = !!String.prototype.codePointAt, gi = !!String.prototype.trimStart, yi = !!String.prototype.trimEnd, vi = !!Number.isSafeInteger, _i = vi ? Number.isSafeInteger : function(e) {
|
|
3099
3099
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3100
|
-
},
|
|
3100
|
+
}, rt = !0;
|
|
3101
3101
|
try {
|
|
3102
|
-
var
|
|
3103
|
-
|
|
3102
|
+
var Ei = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3103
|
+
rt = ((je = Ei.exec("a")) === null || je === void 0 ? void 0 : je[0]) === "a";
|
|
3104
3104
|
} catch (e) {
|
|
3105
|
-
|
|
3105
|
+
rt = !1;
|
|
3106
3106
|
}
|
|
3107
|
-
var
|
|
3107
|
+
var Gt = mi ? (
|
|
3108
3108
|
// Native
|
|
3109
3109
|
function(t, r, n) {
|
|
3110
3110
|
return t.startsWith(r, n);
|
|
@@ -3114,7 +3114,7 @@ var Ct = ci ? (
|
|
|
3114
3114
|
function(t, r, n) {
|
|
3115
3115
|
return t.slice(n, n + r.length) === r;
|
|
3116
3116
|
}
|
|
3117
|
-
),
|
|
3117
|
+
), nt = di ? String.fromCodePoint : (
|
|
3118
3118
|
// IE11
|
|
3119
3119
|
function() {
|
|
3120
3120
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3126,9 +3126,9 @@ var Ct = ci ? (
|
|
|
3126
3126
|
}
|
|
3127
3127
|
return n;
|
|
3128
3128
|
}
|
|
3129
|
-
),
|
|
3129
|
+
), Ut = (
|
|
3130
3130
|
// native
|
|
3131
|
-
|
|
3131
|
+
bi ? Object.fromEntries : (
|
|
3132
3132
|
// Ponyfill
|
|
3133
3133
|
function(t) {
|
|
3134
3134
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3138,7 +3138,7 @@ var Ct = ci ? (
|
|
|
3138
3138
|
return r;
|
|
3139
3139
|
}
|
|
3140
3140
|
)
|
|
3141
|
-
),
|
|
3141
|
+
), _r = pi ? (
|
|
3142
3142
|
// Native
|
|
3143
3143
|
function(t, r) {
|
|
3144
3144
|
return t.codePointAt(r);
|
|
@@ -3152,7 +3152,7 @@ var Ct = ci ? (
|
|
|
3152
3152
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
3153
3153
|
}
|
|
3154
3154
|
}
|
|
3155
|
-
),
|
|
3155
|
+
), xi = gi ? (
|
|
3156
3156
|
// Native
|
|
3157
3157
|
function(t) {
|
|
3158
3158
|
return t.trimStart();
|
|
@@ -3160,9 +3160,9 @@ var Ct = ci ? (
|
|
|
3160
3160
|
) : (
|
|
3161
3161
|
// Ponyfill
|
|
3162
3162
|
function(t) {
|
|
3163
|
-
return t.replace(
|
|
3163
|
+
return t.replace(ci, "");
|
|
3164
3164
|
}
|
|
3165
|
-
),
|
|
3165
|
+
), Si = yi ? (
|
|
3166
3166
|
// Native
|
|
3167
3167
|
function(t) {
|
|
3168
3168
|
return t.trimEnd();
|
|
@@ -3170,32 +3170,32 @@ var Ct = ci ? (
|
|
|
3170
3170
|
) : (
|
|
3171
3171
|
// Ponyfill
|
|
3172
3172
|
function(t) {
|
|
3173
|
-
return t.replace(
|
|
3173
|
+
return t.replace(fi, "");
|
|
3174
3174
|
}
|
|
3175
3175
|
);
|
|
3176
|
-
function
|
|
3176
|
+
function Er(e, t) {
|
|
3177
3177
|
return new RegExp(e, t);
|
|
3178
3178
|
}
|
|
3179
|
-
var
|
|
3180
|
-
if (
|
|
3181
|
-
var
|
|
3182
|
-
|
|
3179
|
+
var it;
|
|
3180
|
+
if (rt) {
|
|
3181
|
+
var Dt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3182
|
+
it = function(t, r) {
|
|
3183
3183
|
var n;
|
|
3184
|
-
|
|
3185
|
-
var i =
|
|
3184
|
+
Dt.lastIndex = r;
|
|
3185
|
+
var i = Dt.exec(t);
|
|
3186
3186
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3187
3187
|
};
|
|
3188
3188
|
} else
|
|
3189
|
-
|
|
3189
|
+
it = function(t, r) {
|
|
3190
3190
|
for (var n = []; ; ) {
|
|
3191
|
-
var i =
|
|
3192
|
-
if (i === void 0 ||
|
|
3191
|
+
var i = _r(t, r);
|
|
3192
|
+
if (i === void 0 || xr(i) || Ai(i))
|
|
3193
3193
|
break;
|
|
3194
3194
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3195
3195
|
}
|
|
3196
|
-
return
|
|
3196
|
+
return nt.apply(void 0, n);
|
|
3197
3197
|
};
|
|
3198
|
-
var
|
|
3198
|
+
var wi = (
|
|
3199
3199
|
/** @class */
|
|
3200
3200
|
function() {
|
|
3201
3201
|
function e(t, r) {
|
|
@@ -3219,14 +3219,14 @@ var xi = (
|
|
|
3219
3219
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3220
3220
|
var a = this.clonePosition();
|
|
3221
3221
|
this.bump(), i.push({
|
|
3222
|
-
type:
|
|
3222
|
+
type: x.pound,
|
|
3223
3223
|
location: y(a, this.clonePosition())
|
|
3224
3224
|
});
|
|
3225
3225
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
3226
3226
|
if (n)
|
|
3227
3227
|
break;
|
|
3228
3228
|
return this.error(g.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3229
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
3229
|
+
} else if (s === 60 && !this.ignoreTag && st(this.peek() || 0)) {
|
|
3230
3230
|
var o = this.parseTag(t, r);
|
|
3231
3231
|
if (o.err)
|
|
3232
3232
|
return o;
|
|
@@ -3247,7 +3247,7 @@ var xi = (
|
|
|
3247
3247
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
3248
3248
|
return {
|
|
3249
3249
|
val: {
|
|
3250
|
-
type:
|
|
3250
|
+
type: x.literal,
|
|
3251
3251
|
value: "<".concat(i, "/>"),
|
|
3252
3252
|
location: y(n, this.clonePosition())
|
|
3253
3253
|
},
|
|
@@ -3259,12 +3259,12 @@ var xi = (
|
|
|
3259
3259
|
return s;
|
|
3260
3260
|
var o = s.val, a = this.clonePosition();
|
|
3261
3261
|
if (this.bumpIf("</")) {
|
|
3262
|
-
if (this.isEOF() || !
|
|
3262
|
+
if (this.isEOF() || !st(this.char()))
|
|
3263
3263
|
return this.error(g.INVALID_TAG, y(a, this.clonePosition()));
|
|
3264
3264
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3265
3265
|
return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
3266
3266
|
val: {
|
|
3267
|
-
type:
|
|
3267
|
+
type: x.tag,
|
|
3268
3268
|
value: i,
|
|
3269
3269
|
children: o,
|
|
3270
3270
|
location: y(n, this.clonePosition())
|
|
@@ -3277,7 +3277,7 @@ var xi = (
|
|
|
3277
3277
|
return this.error(g.INVALID_TAG, y(n, this.clonePosition()));
|
|
3278
3278
|
}, e.prototype.parseTagName = function() {
|
|
3279
3279
|
var t = this.offset();
|
|
3280
|
-
for (this.bump(); !this.isEOF() &&
|
|
3280
|
+
for (this.bump(); !this.isEOF() && Hi(this.char()); )
|
|
3281
3281
|
this.bump();
|
|
3282
3282
|
return this.message.slice(t, this.offset());
|
|
3283
3283
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3301,12 +3301,12 @@ var xi = (
|
|
|
3301
3301
|
}
|
|
3302
3302
|
var h = y(n, this.clonePosition());
|
|
3303
3303
|
return {
|
|
3304
|
-
val: { type:
|
|
3304
|
+
val: { type: x.literal, value: i, location: h },
|
|
3305
3305
|
err: null
|
|
3306
3306
|
};
|
|
3307
3307
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3308
3308
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3309
|
-
!
|
|
3309
|
+
!Ti(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3310
3310
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3311
3311
|
if (this.isEOF() || this.char() !== 39)
|
|
3312
3312
|
return null;
|
|
@@ -3340,12 +3340,12 @@ var xi = (
|
|
|
3340
3340
|
r.push(n);
|
|
3341
3341
|
this.bump();
|
|
3342
3342
|
}
|
|
3343
|
-
return
|
|
3343
|
+
return nt.apply(void 0, r);
|
|
3344
3344
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3345
3345
|
if (this.isEOF())
|
|
3346
3346
|
return null;
|
|
3347
3347
|
var n = this.char();
|
|
3348
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3348
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), nt(n));
|
|
3349
3349
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3350
3350
|
var n = this.clonePosition();
|
|
3351
3351
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3361,7 +3361,7 @@ var xi = (
|
|
|
3361
3361
|
case 125:
|
|
3362
3362
|
return this.bump(), {
|
|
3363
3363
|
val: {
|
|
3364
|
-
type:
|
|
3364
|
+
type: x.argument,
|
|
3365
3365
|
// value does not include the opening and closing braces.
|
|
3366
3366
|
value: i,
|
|
3367
3367
|
location: y(n, this.clonePosition())
|
|
@@ -3374,7 +3374,7 @@ var xi = (
|
|
|
3374
3374
|
return this.error(g.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3375
3375
|
}
|
|
3376
3376
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3377
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3377
|
+
var t = this.clonePosition(), r = this.offset(), n = it(this.message, r), i = r + n.length;
|
|
3378
3378
|
this.bumpTo(i);
|
|
3379
3379
|
var s = this.clonePosition(), o = y(t, s);
|
|
3380
3380
|
return { value: n, location: o };
|
|
@@ -3393,7 +3393,7 @@ var xi = (
|
|
|
3393
3393
|
var l = this.clonePosition(), m = this.parseSimpleArgStyleIfPossible();
|
|
3394
3394
|
if (m.err)
|
|
3395
3395
|
return m;
|
|
3396
|
-
var c =
|
|
3396
|
+
var c = Si(m.val);
|
|
3397
3397
|
if (c.length === 0)
|
|
3398
3398
|
return this.error(g.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
|
|
3399
3399
|
var d = y(l, this.clonePosition());
|
|
@@ -3403,25 +3403,25 @@ var xi = (
|
|
|
3403
3403
|
if (p.err)
|
|
3404
3404
|
return p;
|
|
3405
3405
|
var b = y(i, this.clonePosition());
|
|
3406
|
-
if (u &&
|
|
3407
|
-
var w =
|
|
3406
|
+
if (u && Gt(u == null ? void 0 : u.style, "::", 0)) {
|
|
3407
|
+
var w = xi(u.style.slice(2));
|
|
3408
3408
|
if (a === "number") {
|
|
3409
3409
|
var m = this.parseNumberSkeletonFromString(w, u.styleLocation);
|
|
3410
3410
|
return m.err ? m : {
|
|
3411
|
-
val: { type:
|
|
3411
|
+
val: { type: x.number, value: n, location: b, style: m.val },
|
|
3412
3412
|
err: null
|
|
3413
3413
|
};
|
|
3414
3414
|
} else {
|
|
3415
3415
|
if (w.length === 0)
|
|
3416
3416
|
return this.error(g.EXPECT_DATE_TIME_SKELETON, b);
|
|
3417
|
-
var
|
|
3418
|
-
this.locale && (
|
|
3417
|
+
var I = w;
|
|
3418
|
+
this.locale && (I = hi(w, this.locale));
|
|
3419
3419
|
var c = {
|
|
3420
|
-
type:
|
|
3421
|
-
pattern:
|
|
3420
|
+
type: ee.dateTime,
|
|
3421
|
+
pattern: I,
|
|
3422
3422
|
location: u.styleLocation,
|
|
3423
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3424
|
-
}, P = a === "date" ?
|
|
3423
|
+
parsedOptions: this.shouldParseSkeletons ? ri(I) : {}
|
|
3424
|
+
}, P = a === "date" ? x.date : x.time;
|
|
3425
3425
|
return {
|
|
3426
3426
|
val: { type: P, value: n, location: b, style: c },
|
|
3427
3427
|
err: null
|
|
@@ -3430,7 +3430,7 @@ var xi = (
|
|
|
3430
3430
|
}
|
|
3431
3431
|
return {
|
|
3432
3432
|
val: {
|
|
3433
|
-
type: a === "number" ?
|
|
3433
|
+
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3434
3434
|
value: n,
|
|
3435
3435
|
location: b,
|
|
3436
3436
|
style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
|
|
@@ -3443,7 +3443,7 @@ var xi = (
|
|
|
3443
3443
|
case "select": {
|
|
3444
3444
|
var T = this.clonePosition();
|
|
3445
3445
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3446
|
-
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T,
|
|
3446
|
+
return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, y(T, we({}, T)));
|
|
3447
3447
|
this.bumpSpace();
|
|
3448
3448
|
var O = this.parseIdentifierIfPossible(), H = 0;
|
|
3449
3449
|
if (a !== "select" && O.value === "offset") {
|
|
@@ -3455,26 +3455,26 @@ var xi = (
|
|
|
3455
3455
|
return m;
|
|
3456
3456
|
this.bumpSpace(), O = this.parseIdentifierIfPossible(), H = m.val;
|
|
3457
3457
|
}
|
|
3458
|
-
var
|
|
3459
|
-
if (
|
|
3460
|
-
return
|
|
3458
|
+
var C = this.tryParsePluralOrSelectOptions(t, a, r, O);
|
|
3459
|
+
if (C.err)
|
|
3460
|
+
return C;
|
|
3461
3461
|
var p = this.tryParseArgumentClose(i);
|
|
3462
3462
|
if (p.err)
|
|
3463
3463
|
return p;
|
|
3464
3464
|
var _ = y(i, this.clonePosition());
|
|
3465
3465
|
return a === "select" ? {
|
|
3466
3466
|
val: {
|
|
3467
|
-
type:
|
|
3467
|
+
type: x.select,
|
|
3468
3468
|
value: n,
|
|
3469
|
-
options:
|
|
3469
|
+
options: Ut(C.val),
|
|
3470
3470
|
location: _
|
|
3471
3471
|
},
|
|
3472
3472
|
err: null
|
|
3473
3473
|
} : {
|
|
3474
3474
|
val: {
|
|
3475
|
-
type:
|
|
3475
|
+
type: x.plural,
|
|
3476
3476
|
value: n,
|
|
3477
|
-
options:
|
|
3477
|
+
options: Ut(C.val),
|
|
3478
3478
|
offset: H,
|
|
3479
3479
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3480
3480
|
location: _
|
|
@@ -3525,16 +3525,16 @@ var xi = (
|
|
|
3525
3525
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3526
3526
|
var n = [];
|
|
3527
3527
|
try {
|
|
3528
|
-
n =
|
|
3528
|
+
n = ii(t);
|
|
3529
3529
|
} catch (i) {
|
|
3530
3530
|
return this.error(g.INVALID_NUMBER_SKELETON, r);
|
|
3531
3531
|
}
|
|
3532
3532
|
return {
|
|
3533
3533
|
val: {
|
|
3534
|
-
type:
|
|
3534
|
+
type: ee.number,
|
|
3535
3535
|
tokens: n,
|
|
3536
3536
|
location: r,
|
|
3537
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3537
|
+
parsedOptions: this.shouldParseSkeletons ? ui(n) : {}
|
|
3538
3538
|
},
|
|
3539
3539
|
err: null
|
|
3540
3540
|
};
|
|
@@ -3582,7 +3582,7 @@ var xi = (
|
|
|
3582
3582
|
break;
|
|
3583
3583
|
}
|
|
3584
3584
|
var h = y(i, this.clonePosition());
|
|
3585
|
-
return s ? (o *= n,
|
|
3585
|
+
return s ? (o *= n, _i(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3586
3586
|
}, e.prototype.offset = function() {
|
|
3587
3587
|
return this.position.offset;
|
|
3588
3588
|
}, e.prototype.isEOF = function() {
|
|
@@ -3597,7 +3597,7 @@ var xi = (
|
|
|
3597
3597
|
var t = this.position.offset;
|
|
3598
3598
|
if (t >= this.message.length)
|
|
3599
3599
|
throw Error("out of bound");
|
|
3600
|
-
var r =
|
|
3600
|
+
var r = _r(this.message, t);
|
|
3601
3601
|
if (r === void 0)
|
|
3602
3602
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3603
3603
|
return r;
|
|
@@ -3616,7 +3616,7 @@ var xi = (
|
|
|
3616
3616
|
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);
|
|
3617
3617
|
}
|
|
3618
3618
|
}, e.prototype.bumpIf = function(t) {
|
|
3619
|
-
if (
|
|
3619
|
+
if (Gt(this.message, t, this.offset())) {
|
|
3620
3620
|
for (var r = 0; r < t.length; r++)
|
|
3621
3621
|
this.bump();
|
|
3622
3622
|
return !0;
|
|
@@ -3638,7 +3638,7 @@ var xi = (
|
|
|
3638
3638
|
break;
|
|
3639
3639
|
}
|
|
3640
3640
|
}, e.prototype.bumpSpace = function() {
|
|
3641
|
-
for (; !this.isEOF() &&
|
|
3641
|
+
for (; !this.isEOF() && xr(this.char()); )
|
|
3642
3642
|
this.bump();
|
|
3643
3643
|
}, e.prototype.peek = function() {
|
|
3644
3644
|
if (this.isEOF())
|
|
@@ -3648,47 +3648,47 @@ var xi = (
|
|
|
3648
3648
|
}, e;
|
|
3649
3649
|
}()
|
|
3650
3650
|
);
|
|
3651
|
-
function
|
|
3651
|
+
function st(e) {
|
|
3652
3652
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3653
3653
|
}
|
|
3654
|
-
function
|
|
3655
|
-
return
|
|
3654
|
+
function Ti(e) {
|
|
3655
|
+
return st(e) || e === 47;
|
|
3656
3656
|
}
|
|
3657
|
-
function
|
|
3657
|
+
function Hi(e) {
|
|
3658
3658
|
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;
|
|
3659
3659
|
}
|
|
3660
|
-
function
|
|
3660
|
+
function xr(e) {
|
|
3661
3661
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3662
3662
|
}
|
|
3663
|
-
function
|
|
3663
|
+
function Ai(e) {
|
|
3664
3664
|
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;
|
|
3665
3665
|
}
|
|
3666
|
-
function
|
|
3666
|
+
function ot(e) {
|
|
3667
3667
|
e.forEach(function(t) {
|
|
3668
|
-
if (delete t.location,
|
|
3668
|
+
if (delete t.location, fr(t) || mr(t))
|
|
3669
3669
|
for (var r in t.options)
|
|
3670
|
-
delete t.options[r].location,
|
|
3670
|
+
delete t.options[r].location, ot(t.options[r].value);
|
|
3671
3671
|
else
|
|
3672
|
-
|
|
3672
|
+
hr(t) && br(t.style) || (lr(t) || cr(t)) && tt(t.style) ? delete t.style.location : dr(t) && ot(t.children);
|
|
3673
3673
|
});
|
|
3674
3674
|
}
|
|
3675
|
-
function
|
|
3676
|
-
t === void 0 && (t = {}), t =
|
|
3677
|
-
var r = new
|
|
3675
|
+
function Bi(e, t) {
|
|
3676
|
+
t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3677
|
+
var r = new wi(e, t).parse();
|
|
3678
3678
|
if (r.err) {
|
|
3679
3679
|
var n = SyntaxError(g[r.err.kind]);
|
|
3680
3680
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3681
3681
|
}
|
|
3682
|
-
return t != null && t.captureLocation ||
|
|
3682
|
+
return t != null && t.captureLocation || ot(r.val), r.val;
|
|
3683
3683
|
}
|
|
3684
|
-
var
|
|
3684
|
+
var te;
|
|
3685
3685
|
(function(e) {
|
|
3686
3686
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3687
|
-
})(
|
|
3688
|
-
var
|
|
3687
|
+
})(te || (te = {}));
|
|
3688
|
+
var Oe = (
|
|
3689
3689
|
/** @class */
|
|
3690
3690
|
function(e) {
|
|
3691
|
-
|
|
3691
|
+
Pe(t, e);
|
|
3692
3692
|
function t(r, n, i) {
|
|
3693
3693
|
var s = e.call(this, r) || this;
|
|
3694
3694
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3697,155 +3697,155 @@ var Pe = (
|
|
|
3697
3697
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3698
3698
|
}, t;
|
|
3699
3699
|
}(Error)
|
|
3700
|
-
),
|
|
3700
|
+
), Ft = (
|
|
3701
3701
|
/** @class */
|
|
3702
3702
|
function(e) {
|
|
3703
|
-
|
|
3703
|
+
Pe(t, e);
|
|
3704
3704
|
function t(r, n, i, s) {
|
|
3705
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3705
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, s) || this;
|
|
3706
3706
|
}
|
|
3707
3707
|
return t;
|
|
3708
|
-
}(
|
|
3709
|
-
),
|
|
3708
|
+
}(Oe)
|
|
3709
|
+
), Pi = (
|
|
3710
3710
|
/** @class */
|
|
3711
3711
|
function(e) {
|
|
3712
|
-
|
|
3712
|
+
Pe(t, e);
|
|
3713
3713
|
function t(r, n, i) {
|
|
3714
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3714
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
3715
3715
|
}
|
|
3716
3716
|
return t;
|
|
3717
|
-
}(
|
|
3718
|
-
),
|
|
3717
|
+
}(Oe)
|
|
3718
|
+
), Oi = (
|
|
3719
3719
|
/** @class */
|
|
3720
3720
|
function(e) {
|
|
3721
|
-
|
|
3721
|
+
Pe(t, e);
|
|
3722
3722
|
function t(r, n) {
|
|
3723
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3723
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
3724
3724
|
}
|
|
3725
3725
|
return t;
|
|
3726
|
-
}(
|
|
3727
|
-
),
|
|
3726
|
+
}(Oe)
|
|
3727
|
+
), A;
|
|
3728
3728
|
(function(e) {
|
|
3729
3729
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3730
|
-
})(
|
|
3731
|
-
function
|
|
3730
|
+
})(A || (A = {}));
|
|
3731
|
+
function Ni(e) {
|
|
3732
3732
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3733
3733
|
var n = t[t.length - 1];
|
|
3734
|
-
return !n || n.type !==
|
|
3734
|
+
return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
|
|
3735
3735
|
}, []);
|
|
3736
3736
|
}
|
|
3737
|
-
function
|
|
3737
|
+
function Li(e) {
|
|
3738
3738
|
return typeof e == "function";
|
|
3739
3739
|
}
|
|
3740
|
-
function
|
|
3741
|
-
if (e.length === 1 &&
|
|
3740
|
+
function xe(e, t, r, n, i, s, o) {
|
|
3741
|
+
if (e.length === 1 && It(e[0]))
|
|
3742
3742
|
return [
|
|
3743
3743
|
{
|
|
3744
|
-
type:
|
|
3744
|
+
type: A.literal,
|
|
3745
3745
|
value: e[0].value
|
|
3746
3746
|
}
|
|
3747
3747
|
];
|
|
3748
3748
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3749
3749
|
var l = u[h];
|
|
3750
|
-
if (
|
|
3750
|
+
if (It(l)) {
|
|
3751
3751
|
a.push({
|
|
3752
|
-
type:
|
|
3752
|
+
type: A.literal,
|
|
3753
3753
|
value: l.value
|
|
3754
3754
|
});
|
|
3755
3755
|
continue;
|
|
3756
3756
|
}
|
|
3757
|
-
if (
|
|
3757
|
+
if (ei(l)) {
|
|
3758
3758
|
typeof s == "number" && a.push({
|
|
3759
|
-
type:
|
|
3759
|
+
type: A.literal,
|
|
3760
3760
|
value: r.getNumberFormat(t).format(s)
|
|
3761
3761
|
});
|
|
3762
3762
|
continue;
|
|
3763
3763
|
}
|
|
3764
3764
|
var m = l.value;
|
|
3765
3765
|
if (!(i && m in i))
|
|
3766
|
-
throw new
|
|
3766
|
+
throw new Oi(m, o);
|
|
3767
3767
|
var c = i[m];
|
|
3768
|
-
if (
|
|
3768
|
+
if (Kn(l)) {
|
|
3769
3769
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3770
|
-
type: typeof c == "string" ?
|
|
3770
|
+
type: typeof c == "string" ? A.literal : A.object,
|
|
3771
3771
|
value: c
|
|
3772
3772
|
});
|
|
3773
3773
|
continue;
|
|
3774
3774
|
}
|
|
3775
|
-
if (
|
|
3776
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3775
|
+
if (lr(l)) {
|
|
3776
|
+
var d = typeof l.style == "string" ? n.date[l.style] : tt(l.style) ? l.style.parsedOptions : void 0;
|
|
3777
3777
|
a.push({
|
|
3778
|
-
type:
|
|
3778
|
+
type: A.literal,
|
|
3779
3779
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3780
3780
|
});
|
|
3781
3781
|
continue;
|
|
3782
3782
|
}
|
|
3783
|
-
if (
|
|
3784
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3783
|
+
if (cr(l)) {
|
|
3784
|
+
var d = typeof l.style == "string" ? n.time[l.style] : tt(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3785
3785
|
a.push({
|
|
3786
|
-
type:
|
|
3786
|
+
type: A.literal,
|
|
3787
3787
|
value: r.getDateTimeFormat(t, d).format(c)
|
|
3788
3788
|
});
|
|
3789
3789
|
continue;
|
|
3790
3790
|
}
|
|
3791
|
-
if (
|
|
3792
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3791
|
+
if (hr(l)) {
|
|
3792
|
+
var d = typeof l.style == "string" ? n.number[l.style] : br(l.style) ? l.style.parsedOptions : void 0;
|
|
3793
3793
|
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3794
|
-
type:
|
|
3794
|
+
type: A.literal,
|
|
3795
3795
|
value: r.getNumberFormat(t, d).format(c)
|
|
3796
3796
|
});
|
|
3797
3797
|
continue;
|
|
3798
3798
|
}
|
|
3799
|
-
if (
|
|
3799
|
+
if (dr(l)) {
|
|
3800
3800
|
var p = l.children, b = l.value, w = i[b];
|
|
3801
|
-
if (!
|
|
3802
|
-
throw new
|
|
3803
|
-
var
|
|
3801
|
+
if (!Li(w))
|
|
3802
|
+
throw new Pi(b, "function", o);
|
|
3803
|
+
var I = xe(p, t, r, n, i, s), P = w(I.map(function(H) {
|
|
3804
3804
|
return H.value;
|
|
3805
3805
|
}));
|
|
3806
3806
|
Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(H) {
|
|
3807
3807
|
return {
|
|
3808
|
-
type: typeof H == "string" ?
|
|
3808
|
+
type: typeof H == "string" ? A.literal : A.object,
|
|
3809
3809
|
value: H
|
|
3810
3810
|
};
|
|
3811
3811
|
}));
|
|
3812
3812
|
}
|
|
3813
|
-
if (
|
|
3813
|
+
if (fr(l)) {
|
|
3814
3814
|
var T = l.options[c] || l.options.other;
|
|
3815
3815
|
if (!T)
|
|
3816
|
-
throw new
|
|
3817
|
-
a.push.apply(a,
|
|
3816
|
+
throw new Ft(l.value, c, Object.keys(l.options), o);
|
|
3817
|
+
a.push.apply(a, xe(T.value, t, r, n, i));
|
|
3818
3818
|
continue;
|
|
3819
3819
|
}
|
|
3820
|
-
if (
|
|
3820
|
+
if (mr(l)) {
|
|
3821
3821
|
var T = l.options["=".concat(c)];
|
|
3822
3822
|
if (!T) {
|
|
3823
3823
|
if (!Intl.PluralRules)
|
|
3824
|
-
throw new
|
|
3824
|
+
throw new Oe(`Intl.PluralRules is not available in this environment.
|
|
3825
3825
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3826
|
-
`,
|
|
3826
|
+
`, te.MISSING_INTL_API, o);
|
|
3827
3827
|
var O = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3828
3828
|
T = l.options[O] || l.options.other;
|
|
3829
3829
|
}
|
|
3830
3830
|
if (!T)
|
|
3831
|
-
throw new
|
|
3832
|
-
a.push.apply(a,
|
|
3831
|
+
throw new Ft(l.value, c, Object.keys(l.options), o);
|
|
3832
|
+
a.push.apply(a, xe(T.value, t, r, n, i, c - (l.offset || 0)));
|
|
3833
3833
|
continue;
|
|
3834
3834
|
}
|
|
3835
3835
|
}
|
|
3836
|
-
return
|
|
3836
|
+
return Ni(a);
|
|
3837
3837
|
}
|
|
3838
|
-
function
|
|
3838
|
+
function Ii(e, t) {
|
|
3839
3839
|
return t ? G(G(G({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3840
3840
|
return r[n] = G(G({}, e[n]), t[n] || {}), r;
|
|
3841
3841
|
}, {})) : e;
|
|
3842
3842
|
}
|
|
3843
|
-
function
|
|
3843
|
+
function Mi(e, t) {
|
|
3844
3844
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3845
|
-
return r[n] =
|
|
3845
|
+
return r[n] = Ii(e[n], t[n]), r;
|
|
3846
3846
|
}, G({}, e)) : e;
|
|
3847
3847
|
}
|
|
3848
|
-
function
|
|
3848
|
+
function ke(e) {
|
|
3849
3849
|
return {
|
|
3850
3850
|
create: function() {
|
|
3851
3851
|
return {
|
|
@@ -3859,39 +3859,39 @@ function je(e) {
|
|
|
3859
3859
|
}
|
|
3860
3860
|
};
|
|
3861
3861
|
}
|
|
3862
|
-
function
|
|
3862
|
+
function Ci(e) {
|
|
3863
3863
|
return e === void 0 && (e = {
|
|
3864
3864
|
number: {},
|
|
3865
3865
|
dateTime: {},
|
|
3866
3866
|
pluralRules: {}
|
|
3867
3867
|
}), {
|
|
3868
|
-
getNumberFormat:
|
|
3868
|
+
getNumberFormat: Fe(function() {
|
|
3869
3869
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3870
3870
|
r[n] = arguments[n];
|
|
3871
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3871
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3872
3872
|
}, {
|
|
3873
|
-
cache:
|
|
3873
|
+
cache: ke(e.number),
|
|
3874
3874
|
strategy: $e.variadic
|
|
3875
3875
|
}),
|
|
3876
|
-
getDateTimeFormat:
|
|
3876
|
+
getDateTimeFormat: Fe(function() {
|
|
3877
3877
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3878
3878
|
r[n] = arguments[n];
|
|
3879
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3879
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, De([void 0], r, !1)))();
|
|
3880
3880
|
}, {
|
|
3881
|
-
cache:
|
|
3881
|
+
cache: ke(e.dateTime),
|
|
3882
3882
|
strategy: $e.variadic
|
|
3883
3883
|
}),
|
|
3884
|
-
getPluralRules:
|
|
3884
|
+
getPluralRules: Fe(function() {
|
|
3885
3885
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3886
3886
|
r[n] = arguments[n];
|
|
3887
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3887
|
+
return new ((t = Intl.PluralRules).bind.apply(t, De([void 0], r, !1)))();
|
|
3888
3888
|
}, {
|
|
3889
|
-
cache:
|
|
3889
|
+
cache: ke(e.pluralRules),
|
|
3890
3890
|
strategy: $e.variadic
|
|
3891
3891
|
})
|
|
3892
3892
|
};
|
|
3893
3893
|
}
|
|
3894
|
-
var
|
|
3894
|
+
var Ri = (
|
|
3895
3895
|
/** @class */
|
|
3896
3896
|
function() {
|
|
3897
3897
|
function e(t, r, n, i) {
|
|
@@ -3906,11 +3906,11 @@ var Mi = (
|
|
|
3906
3906
|
if (u.length === 1)
|
|
3907
3907
|
return u[0].value;
|
|
3908
3908
|
var l = u.reduce(function(m, c) {
|
|
3909
|
-
return !m.length || c.type !==
|
|
3909
|
+
return !m.length || c.type !== A.literal || typeof m[m.length - 1] != "string" ? m.push(c.value) : m[m.length - 1] += c.value, m;
|
|
3910
3910
|
}, []);
|
|
3911
3911
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3912
3912
|
}, this.formatToParts = function(h) {
|
|
3913
|
-
return
|
|
3913
|
+
return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3914
3914
|
}, this.resolvedOptions = function() {
|
|
3915
3915
|
var h;
|
|
3916
3916
|
return {
|
|
@@ -3923,13 +3923,13 @@ var Mi = (
|
|
|
3923
3923
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3924
3924
|
var o = i || {};
|
|
3925
3925
|
o.formatters;
|
|
3926
|
-
var a =
|
|
3926
|
+
var a = Xn(o, ["formatters"]);
|
|
3927
3927
|
this.ast = e.__parse(t, G(G({}, a), { locale: this.resolvedLocale }));
|
|
3928
3928
|
} else
|
|
3929
3929
|
this.ast = t;
|
|
3930
3930
|
if (!Array.isArray(this.ast))
|
|
3931
3931
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3932
|
-
this.formats =
|
|
3932
|
+
this.formats = Mi(e.formats, n), this.formatters = i && i.formatters || Ci(this.formatterCache);
|
|
3933
3933
|
}
|
|
3934
3934
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3935
3935
|
get: function() {
|
|
@@ -3942,7 +3942,7 @@ var Mi = (
|
|
|
3942
3942
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3943
3943
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3944
3944
|
}
|
|
3945
|
-
}, e.__parse =
|
|
3945
|
+
}, e.__parse = Bi, e.formats = {
|
|
3946
3946
|
number: {
|
|
3947
3947
|
integer: {
|
|
3948
3948
|
maximumFractionDigits: 0
|
|
@@ -4003,7 +4003,7 @@ var Mi = (
|
|
|
4003
4003
|
}, e;
|
|
4004
4004
|
}()
|
|
4005
4005
|
);
|
|
4006
|
-
function
|
|
4006
|
+
function Gi(e, t) {
|
|
4007
4007
|
if (t == null)
|
|
4008
4008
|
return;
|
|
4009
4009
|
if (t in e)
|
|
@@ -4024,92 +4024,92 @@ function Ci(e, t) {
|
|
|
4024
4024
|
n = void 0;
|
|
4025
4025
|
return n;
|
|
4026
4026
|
}
|
|
4027
|
-
const
|
|
4027
|
+
const F = {}, Ui = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), Sr = (e, t) => {
|
|
4028
4028
|
if (t == null)
|
|
4029
4029
|
return;
|
|
4030
|
-
if (t in
|
|
4031
|
-
return
|
|
4032
|
-
const r =
|
|
4030
|
+
if (t in F && e in F[t])
|
|
4031
|
+
return F[t][e];
|
|
4032
|
+
const r = Ne(t);
|
|
4033
4033
|
for (let n = 0; n < r.length; n++) {
|
|
4034
|
-
const i = r[n], s =
|
|
4034
|
+
const i = r[n], s = Fi(i, e);
|
|
4035
4035
|
if (s)
|
|
4036
|
-
return
|
|
4036
|
+
return Ui(e, t, s);
|
|
4037
4037
|
}
|
|
4038
4038
|
};
|
|
4039
|
-
let
|
|
4040
|
-
const
|
|
4041
|
-
function
|
|
4042
|
-
return
|
|
4039
|
+
let ct;
|
|
4040
|
+
const be = Be({});
|
|
4041
|
+
function Di(e) {
|
|
4042
|
+
return ct[e] || null;
|
|
4043
4043
|
}
|
|
4044
|
-
function
|
|
4045
|
-
return e in
|
|
4044
|
+
function wr(e) {
|
|
4045
|
+
return e in ct;
|
|
4046
4046
|
}
|
|
4047
|
-
function
|
|
4048
|
-
if (!
|
|
4047
|
+
function Fi(e, t) {
|
|
4048
|
+
if (!wr(e))
|
|
4049
4049
|
return null;
|
|
4050
|
-
const r =
|
|
4051
|
-
return
|
|
4050
|
+
const r = Di(e);
|
|
4051
|
+
return Gi(r, t);
|
|
4052
4052
|
}
|
|
4053
|
-
function
|
|
4053
|
+
function $i(e) {
|
|
4054
4054
|
if (e == null)
|
|
4055
4055
|
return;
|
|
4056
|
-
const t =
|
|
4056
|
+
const t = Ne(e);
|
|
4057
4057
|
for (let r = 0; r < t.length; r++) {
|
|
4058
4058
|
const n = t[r];
|
|
4059
|
-
if (
|
|
4059
|
+
if (wr(n))
|
|
4060
4060
|
return n;
|
|
4061
4061
|
}
|
|
4062
4062
|
}
|
|
4063
|
-
function
|
|
4064
|
-
delete
|
|
4063
|
+
function Tr(e, ...t) {
|
|
4064
|
+
delete F[e], be.update((r) => (r[e] = Vn.all([r[e] || {}, ...t]), r));
|
|
4065
4065
|
}
|
|
4066
|
-
|
|
4067
|
-
[
|
|
4066
|
+
oe(
|
|
4067
|
+
[be],
|
|
4068
4068
|
([e]) => Object.keys(e)
|
|
4069
4069
|
);
|
|
4070
|
-
|
|
4071
|
-
const
|
|
4072
|
-
function
|
|
4073
|
-
|
|
4070
|
+
be.subscribe((e) => ct = e);
|
|
4071
|
+
const Se = {};
|
|
4072
|
+
function ji(e, t) {
|
|
4073
|
+
Se[e].delete(t), Se[e].size === 0 && delete Se[e];
|
|
4074
4074
|
}
|
|
4075
|
-
function
|
|
4076
|
-
return
|
|
4075
|
+
function Hr(e) {
|
|
4076
|
+
return Se[e];
|
|
4077
4077
|
}
|
|
4078
|
-
function
|
|
4079
|
-
return
|
|
4080
|
-
const r =
|
|
4078
|
+
function ki(e) {
|
|
4079
|
+
return Ne(e).map((t) => {
|
|
4080
|
+
const r = Hr(t);
|
|
4081
4081
|
return [t, r ? [...r] : []];
|
|
4082
4082
|
}).filter(([, t]) => t.length > 0);
|
|
4083
4083
|
}
|
|
4084
|
-
function
|
|
4085
|
-
return e == null ? !1 :
|
|
4084
|
+
function at(e) {
|
|
4085
|
+
return e == null ? !1 : Ne(e).some(
|
|
4086
4086
|
(t) => {
|
|
4087
4087
|
var r;
|
|
4088
|
-
return (r =
|
|
4088
|
+
return (r = Hr(t)) == null ? void 0 : r.size;
|
|
4089
4089
|
}
|
|
4090
4090
|
);
|
|
4091
4091
|
}
|
|
4092
|
-
function
|
|
4092
|
+
function Vi(e, t) {
|
|
4093
4093
|
return Promise.all(
|
|
4094
|
-
t.map((n) => (
|
|
4095
|
-
).then((n) =>
|
|
4096
|
-
}
|
|
4097
|
-
const
|
|
4098
|
-
function
|
|
4099
|
-
if (!
|
|
4100
|
-
return e in
|
|
4101
|
-
const t =
|
|
4102
|
-
return
|
|
4094
|
+
t.map((n) => (ji(e, n), n().then((i) => i.default || i)))
|
|
4095
|
+
).then((n) => Tr(e, ...n));
|
|
4096
|
+
}
|
|
4097
|
+
const ue = {};
|
|
4098
|
+
function Ar(e) {
|
|
4099
|
+
if (!at(e))
|
|
4100
|
+
return e in ue ? ue[e] : Promise.resolve();
|
|
4101
|
+
const t = ki(e);
|
|
4102
|
+
return ue[e] = Promise.all(
|
|
4103
4103
|
t.map(
|
|
4104
|
-
([r, n]) =>
|
|
4104
|
+
([r, n]) => Vi(r, n)
|
|
4105
4105
|
)
|
|
4106
4106
|
).then(() => {
|
|
4107
|
-
if (
|
|
4108
|
-
return
|
|
4109
|
-
delete
|
|
4110
|
-
}),
|
|
4107
|
+
if (at(e))
|
|
4108
|
+
return Ar(e);
|
|
4109
|
+
delete ue[e];
|
|
4110
|
+
}), ue[e];
|
|
4111
4111
|
}
|
|
4112
|
-
const
|
|
4112
|
+
const Xi = {
|
|
4113
4113
|
number: {
|
|
4114
4114
|
scientific: { notation: "scientific" },
|
|
4115
4115
|
engineering: { notation: "engineering" },
|
|
@@ -4138,150 +4138,150 @@ const ki = {
|
|
|
4138
4138
|
timeZoneName: "short"
|
|
4139
4139
|
}
|
|
4140
4140
|
}
|
|
4141
|
-
},
|
|
4141
|
+
}, zi = {
|
|
4142
4142
|
fallbackLocale: null,
|
|
4143
4143
|
loadingDelay: 200,
|
|
4144
|
-
formats:
|
|
4144
|
+
formats: Xi,
|
|
4145
4145
|
warnOnMissingMessages: !0,
|
|
4146
4146
|
handleMissingMessage: void 0,
|
|
4147
4147
|
ignoreTag: !0
|
|
4148
|
-
},
|
|
4149
|
-
function
|
|
4150
|
-
return
|
|
4148
|
+
}, Wi = zi;
|
|
4149
|
+
function re() {
|
|
4150
|
+
return Wi;
|
|
4151
4151
|
}
|
|
4152
|
-
const
|
|
4153
|
-
var
|
|
4152
|
+
const Ve = Be(!1);
|
|
4153
|
+
var Zi = Object.defineProperty, qi = Object.defineProperties, Qi = Object.getOwnPropertyDescriptors, $t = Object.getOwnPropertySymbols, Yi = 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) => {
|
|
4154
4154
|
for (var r in t || (t = {}))
|
|
4155
|
-
|
|
4156
|
-
if (
|
|
4157
|
-
for (var r of
|
|
4158
|
-
|
|
4155
|
+
Yi.call(t, r) && jt(e, r, t[r]);
|
|
4156
|
+
if ($t)
|
|
4157
|
+
for (var r of $t(t))
|
|
4158
|
+
Ji.call(t, r) && jt(e, r, t[r]);
|
|
4159
4159
|
return e;
|
|
4160
|
-
},
|
|
4161
|
-
let
|
|
4162
|
-
const
|
|
4163
|
-
function
|
|
4160
|
+
}, es = (e, t) => qi(e, Qi(t));
|
|
4161
|
+
let ut;
|
|
4162
|
+
const Te = Be(null);
|
|
4163
|
+
function kt(e) {
|
|
4164
4164
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4165
4165
|
}
|
|
4166
|
-
function
|
|
4167
|
-
const r =
|
|
4168
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4166
|
+
function Ne(e, t = re().fallbackLocale) {
|
|
4167
|
+
const r = kt(e);
|
|
4168
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
|
|
4169
4169
|
}
|
|
4170
|
-
function
|
|
4171
|
-
return
|
|
4170
|
+
function z() {
|
|
4171
|
+
return ut != null ? ut : void 0;
|
|
4172
4172
|
}
|
|
4173
|
-
|
|
4174
|
-
|
|
4173
|
+
Te.subscribe((e) => {
|
|
4174
|
+
ut = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4175
4175
|
});
|
|
4176
|
-
const
|
|
4177
|
-
if (e &&
|
|
4178
|
-
const { loadingDelay: t } =
|
|
4176
|
+
const ts = (e) => {
|
|
4177
|
+
if (e && $i(e) && at(e)) {
|
|
4178
|
+
const { loadingDelay: t } = re();
|
|
4179
4179
|
let r;
|
|
4180
|
-
return typeof window != "undefined" &&
|
|
4181
|
-
() =>
|
|
4180
|
+
return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
|
|
4181
|
+
() => Ve.set(!0),
|
|
4182
4182
|
t
|
|
4183
|
-
) :
|
|
4184
|
-
|
|
4183
|
+
) : Ve.set(!0), Ar(e).then(() => {
|
|
4184
|
+
Te.set(e);
|
|
4185
4185
|
}).finally(() => {
|
|
4186
|
-
clearTimeout(r),
|
|
4186
|
+
clearTimeout(r), Ve.set(!1);
|
|
4187
4187
|
});
|
|
4188
4188
|
}
|
|
4189
|
-
return
|
|
4190
|
-
},
|
|
4191
|
-
set:
|
|
4192
|
-
}),
|
|
4189
|
+
return Te.set(e);
|
|
4190
|
+
}, pe = es(Ki({}, Te), {
|
|
4191
|
+
set: ts
|
|
4192
|
+
}), Le = (e) => {
|
|
4193
4193
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4194
4194
|
return (n) => {
|
|
4195
4195
|
const i = JSON.stringify(n);
|
|
4196
4196
|
return i in t ? t[i] : t[i] = e(n);
|
|
4197
4197
|
};
|
|
4198
4198
|
};
|
|
4199
|
-
var
|
|
4199
|
+
var rs = Object.defineProperty, He = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Pr = 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) => {
|
|
4200
4200
|
for (var r in t || (t = {}))
|
|
4201
|
-
|
|
4202
|
-
if (
|
|
4203
|
-
for (var r of
|
|
4204
|
-
|
|
4201
|
+
Br.call(t, r) && Vt(e, r, t[r]);
|
|
4202
|
+
if (He)
|
|
4203
|
+
for (var r of He(t))
|
|
4204
|
+
Pr.call(t, r) && Vt(e, r, t[r]);
|
|
4205
4205
|
return e;
|
|
4206
|
-
},
|
|
4206
|
+
}, ae = (e, t) => {
|
|
4207
4207
|
var r = {};
|
|
4208
4208
|
for (var n in e)
|
|
4209
|
-
|
|
4210
|
-
if (e != null &&
|
|
4211
|
-
for (var n of
|
|
4212
|
-
t.indexOf(n) < 0 &&
|
|
4209
|
+
Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4210
|
+
if (e != null && He)
|
|
4211
|
+
for (var n of He(e))
|
|
4212
|
+
t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
|
|
4213
4213
|
return r;
|
|
4214
4214
|
};
|
|
4215
|
-
const
|
|
4216
|
-
const { formats: r } =
|
|
4215
|
+
const fe = (e, t) => {
|
|
4216
|
+
const { formats: r } = re();
|
|
4217
4217
|
if (e in r && t in r[e])
|
|
4218
4218
|
return r[e][t];
|
|
4219
4219
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4220
|
-
},
|
|
4220
|
+
}, ns = Le(
|
|
4221
4221
|
(e) => {
|
|
4222
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4222
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4223
4223
|
if (r == null)
|
|
4224
4224
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4225
|
-
return n && (i =
|
|
4225
|
+
return n && (i = fe("number", n)), new Intl.NumberFormat(r, i);
|
|
4226
4226
|
}
|
|
4227
|
-
),
|
|
4227
|
+
), is = Le(
|
|
4228
4228
|
(e) => {
|
|
4229
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4229
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4230
4230
|
if (r == null)
|
|
4231
4231
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4232
|
-
return n ? i =
|
|
4232
|
+
return n ? i = fe("date", n) : Object.keys(i).length === 0 && (i = fe("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4233
4233
|
}
|
|
4234
|
-
),
|
|
4234
|
+
), ss = Le(
|
|
4235
4235
|
(e) => {
|
|
4236
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4236
|
+
var t = e, { locale: r, format: n } = t, i = ae(t, ["locale", "format"]);
|
|
4237
4237
|
if (r == null)
|
|
4238
4238
|
throw new Error(
|
|
4239
4239
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4240
4240
|
);
|
|
4241
|
-
return n ? i =
|
|
4241
|
+
return n ? i = fe("time", n) : Object.keys(i).length === 0 && (i = fe("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4242
4242
|
}
|
|
4243
|
-
),
|
|
4243
|
+
), os = (e = {}) => {
|
|
4244
4244
|
var t = e, {
|
|
4245
|
-
locale: r =
|
|
4246
|
-
} = t, n =
|
|
4245
|
+
locale: r = z()
|
|
4246
|
+
} = t, n = ae(t, [
|
|
4247
4247
|
"locale"
|
|
4248
4248
|
]);
|
|
4249
|
-
return
|
|
4250
|
-
},
|
|
4249
|
+
return ns(ft({ locale: r }, n));
|
|
4250
|
+
}, as = (e = {}) => {
|
|
4251
4251
|
var t = e, {
|
|
4252
|
-
locale: r =
|
|
4253
|
-
} = t, n =
|
|
4252
|
+
locale: r = z()
|
|
4253
|
+
} = t, n = ae(t, [
|
|
4254
4254
|
"locale"
|
|
4255
4255
|
]);
|
|
4256
|
-
return
|
|
4257
|
-
},
|
|
4256
|
+
return is(ft({ locale: r }, n));
|
|
4257
|
+
}, us = (e = {}) => {
|
|
4258
4258
|
var t = e, {
|
|
4259
|
-
locale: r =
|
|
4260
|
-
} = t, n =
|
|
4259
|
+
locale: r = z()
|
|
4260
|
+
} = t, n = ae(t, [
|
|
4261
4261
|
"locale"
|
|
4262
4262
|
]);
|
|
4263
|
-
return
|
|
4264
|
-
},
|
|
4263
|
+
return ss(ft({ locale: r }, n));
|
|
4264
|
+
}, hs = Le(
|
|
4265
4265
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4266
|
-
(e, t =
|
|
4267
|
-
ignoreTag:
|
|
4266
|
+
(e, t = z()) => new Ri(e, t, re().formats, {
|
|
4267
|
+
ignoreTag: re().ignoreTag
|
|
4268
4268
|
})
|
|
4269
|
-
),
|
|
4269
|
+
), ls = (e, t = {}) => {
|
|
4270
4270
|
var r, n, i, s;
|
|
4271
4271
|
let o = t;
|
|
4272
4272
|
typeof e == "object" && (o = e, e = o.id);
|
|
4273
4273
|
const {
|
|
4274
4274
|
values: a,
|
|
4275
|
-
locale: h =
|
|
4275
|
+
locale: h = z(),
|
|
4276
4276
|
default: u
|
|
4277
4277
|
} = o;
|
|
4278
4278
|
if (h == null)
|
|
4279
4279
|
throw new Error(
|
|
4280
4280
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4281
4281
|
);
|
|
4282
|
-
let l =
|
|
4282
|
+
let l = Sr(e, h);
|
|
4283
4283
|
if (!l)
|
|
4284
|
-
l = (s = (i = (n = (r =
|
|
4284
|
+
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;
|
|
4285
4285
|
else if (typeof l != "string")
|
|
4286
4286
|
return console.warn(
|
|
4287
4287
|
`[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.`
|
|
@@ -4290,7 +4290,7 @@ const ce = (e, t) => {
|
|
|
4290
4290
|
return l;
|
|
4291
4291
|
let m = l;
|
|
4292
4292
|
try {
|
|
4293
|
-
m =
|
|
4293
|
+
m = hs(l, h).format(a);
|
|
4294
4294
|
} catch (c) {
|
|
4295
4295
|
c instanceof Error && console.warn(
|
|
4296
4296
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4298,18 +4298,18 @@ const ce = (e, t) => {
|
|
|
4298
4298
|
);
|
|
4299
4299
|
}
|
|
4300
4300
|
return m;
|
|
4301
|
-
},
|
|
4302
|
-
|
|
4303
|
-
|
|
4304
|
-
|
|
4305
|
-
|
|
4306
|
-
window.emWidgets = { topic:
|
|
4307
|
-
const
|
|
4301
|
+
}, cs = (e, t) => us(t).format(e), fs = (e, t) => as(t).format(e), ms = (e, t) => os(t).format(e), ds = (e, t = z()) => Sr(e, t), bs = oe([pe, be], () => ls);
|
|
4302
|
+
oe([pe], () => cs);
|
|
4303
|
+
oe([pe], () => fs);
|
|
4304
|
+
oe([pe], () => ms);
|
|
4305
|
+
oe([pe, be], () => ds);
|
|
4306
|
+
window.emWidgets = { topic: An };
|
|
4307
|
+
const ps = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4308
4308
|
String(Number.MAX_SAFE_INTEGER).length;
|
|
4309
|
-
function
|
|
4310
|
-
|
|
4309
|
+
function gs(e, t) {
|
|
4310
|
+
Tr(e, t);
|
|
4311
4311
|
}
|
|
4312
|
-
const
|
|
4312
|
+
const ys = {
|
|
4313
4313
|
en: {
|
|
4314
4314
|
lobbyName: "Lobby",
|
|
4315
4315
|
myGamesName: "My games"
|
|
@@ -4383,13 +4383,13 @@ const ps = {
|
|
|
4383
4383
|
myGamesName: "My games"
|
|
4384
4384
|
}
|
|
4385
4385
|
};
|
|
4386
|
-
function
|
|
4386
|
+
function vs(e, t) {
|
|
4387
4387
|
if (e) {
|
|
4388
4388
|
const r = document.createElement("style");
|
|
4389
4389
|
r.innerHTML = t, e.appendChild(r);
|
|
4390
4390
|
}
|
|
4391
4391
|
}
|
|
4392
|
-
function
|
|
4392
|
+
function _s(e, t) {
|
|
4393
4393
|
if (!e || !t)
|
|
4394
4394
|
return;
|
|
4395
4395
|
const r = new URL(t);
|
|
@@ -4400,7 +4400,7 @@ function ys(e, t) {
|
|
|
4400
4400
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4401
4401
|
});
|
|
4402
4402
|
}
|
|
4403
|
-
function
|
|
4403
|
+
function Es(e, t, r) {
|
|
4404
4404
|
if (window.emMessageBus) {
|
|
4405
4405
|
const n = document.createElement("style");
|
|
4406
4406
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4420,21 +4420,21 @@ if (typeof window != "undefined") {
|
|
|
4420
4420
|
}
|
|
4421
4421
|
};
|
|
4422
4422
|
};
|
|
4423
|
-
customElements.define = e(customElements.define), import("./CasinoSliderNd-
|
|
4423
|
+
customElements.define = e(customElements.define), import("./CasinoSliderNd-B190YBUU.js").then(({ default: t }) => {
|
|
4424
4424
|
!customElements.get("casino-slider-nd") && customElements.define("casino-slider-nd", t.element);
|
|
4425
4425
|
});
|
|
4426
4426
|
}
|
|
4427
|
-
function
|
|
4427
|
+
function xs(e, t, r) {
|
|
4428
4428
|
window.emMessageBus && window.emMessageBus.subscribe(e, r);
|
|
4429
4429
|
}
|
|
4430
|
-
function
|
|
4431
|
-
|
|
4430
|
+
function Ss(e) {
|
|
4431
|
+
qr(e, "svelte-ciaihq", ".svelte-ciaihq{font-family:inherit}.CasinoCategoriesLoading.svelte-ciaihq{height:52px}p.svelte-ciaihq{color:var( --emw--categories-typography, var(--emw--color-white) #FFFFFF);text-align:center}.CasinoCategoriesContainer.svelte-ciaihq{background:transparent;border-radius:var(--emw--border-radius-medium, 10px);padding-top:20px}");
|
|
4432
4432
|
}
|
|
4433
|
-
function
|
|
4433
|
+
function ws(e) {
|
|
4434
4434
|
let t, r;
|
|
4435
4435
|
return {
|
|
4436
4436
|
c() {
|
|
4437
|
-
t =
|
|
4437
|
+
t = X("div"), r = X("casino-slider-nd"), v(
|
|
4438
4438
|
r,
|
|
4439
4439
|
"lang",
|
|
4440
4440
|
/*lang*/
|
|
@@ -4449,7 +4449,7 @@ function xs(e) {
|
|
|
4449
4449
|
"endpoint",
|
|
4450
4450
|
/*endpoint*/
|
|
4451
4451
|
e[1]
|
|
4452
|
-
), v(r, "identity",
|
|
4452
|
+
), v(r, "identity", ht), v(
|
|
4453
4453
|
r,
|
|
4454
4454
|
"favoritesnumber",
|
|
4455
4455
|
/*numberOfFavoredGames*/
|
|
@@ -4504,10 +4504,10 @@ function xs(e) {
|
|
|
4504
4504
|
"mbsource",
|
|
4505
4505
|
/*mbsource*/
|
|
4506
4506
|
e[4]
|
|
4507
|
-
), v(r, "class", "svelte-ciaihq"),
|
|
4507
|
+
), v(r, "class", "svelte-ciaihq"), se(t, "class", "CasinoCategoriesContainer svelte-ciaihq");
|
|
4508
4508
|
},
|
|
4509
4509
|
m(n, i) {
|
|
4510
|
-
|
|
4510
|
+
me(n, t, i), Zt(t, r);
|
|
4511
4511
|
},
|
|
4512
4512
|
p(n, i) {
|
|
4513
4513
|
i[0] & /*lang*/
|
|
@@ -4597,157 +4597,159 @@ function xs(e) {
|
|
|
4597
4597
|
);
|
|
4598
4598
|
},
|
|
4599
4599
|
d(n) {
|
|
4600
|
-
n &&
|
|
4600
|
+
n && ie(t);
|
|
4601
4601
|
}
|
|
4602
4602
|
};
|
|
4603
4603
|
}
|
|
4604
|
-
function
|
|
4604
|
+
function Ts(e) {
|
|
4605
4605
|
let t;
|
|
4606
4606
|
return {
|
|
4607
4607
|
c() {
|
|
4608
|
-
t =
|
|
4608
|
+
t = X("p"), t.textContent = "500 Error - Internal Server Error.", se(t, "class", "SearchLoading svelte-ciaihq");
|
|
4609
4609
|
},
|
|
4610
4610
|
m(r, n) {
|
|
4611
|
-
|
|
4611
|
+
me(r, t, n);
|
|
4612
4612
|
},
|
|
4613
|
-
p:
|
|
4613
|
+
p: L,
|
|
4614
4614
|
d(r) {
|
|
4615
|
-
r &&
|
|
4615
|
+
r && ie(t);
|
|
4616
4616
|
}
|
|
4617
4617
|
};
|
|
4618
4618
|
}
|
|
4619
|
-
function
|
|
4619
|
+
function Hs(e) {
|
|
4620
4620
|
let t;
|
|
4621
4621
|
return {
|
|
4622
4622
|
c() {
|
|
4623
|
-
t =
|
|
4623
|
+
t = X("div"), se(t, "class", "CasinoCategoriesLoading svelte-ciaihq");
|
|
4624
4624
|
},
|
|
4625
4625
|
m(r, n) {
|
|
4626
|
-
|
|
4626
|
+
me(r, t, n);
|
|
4627
4627
|
},
|
|
4628
|
-
p:
|
|
4628
|
+
p: L,
|
|
4629
4629
|
d(r) {
|
|
4630
|
-
r &&
|
|
4630
|
+
r && ie(t);
|
|
4631
4631
|
}
|
|
4632
4632
|
};
|
|
4633
4633
|
}
|
|
4634
|
-
function
|
|
4634
|
+
function As(e) {
|
|
4635
4635
|
let t;
|
|
4636
4636
|
function r(s, o) {
|
|
4637
4637
|
return (
|
|
4638
4638
|
/*isLoading*/
|
|
4639
|
-
s[13] ||
|
|
4639
|
+
s[13] || Bs || Ps ? Hs : (
|
|
4640
4640
|
/*hasErrors*/
|
|
4641
|
-
s[15] ?
|
|
4641
|
+
s[15] ? Ts : ws
|
|
4642
4642
|
)
|
|
4643
4643
|
);
|
|
4644
4644
|
}
|
|
4645
4645
|
let n = r(e), i = n(e);
|
|
4646
4646
|
return {
|
|
4647
4647
|
c() {
|
|
4648
|
-
t =
|
|
4648
|
+
t = X("div"), i.c(), se(t, "class", "svelte-ciaihq");
|
|
4649
4649
|
},
|
|
4650
4650
|
m(s, o) {
|
|
4651
|
-
|
|
4651
|
+
me(s, t, o), i.m(t, null), e[27](t);
|
|
4652
4652
|
},
|
|
4653
4653
|
p(s, o) {
|
|
4654
4654
|
n === (n = r(s)) && i ? i.p(s, o) : (i.d(1), i = n(s), i && (i.c(), i.m(t, null)));
|
|
4655
4655
|
},
|
|
4656
|
-
i:
|
|
4657
|
-
o:
|
|
4656
|
+
i: L,
|
|
4657
|
+
o: L,
|
|
4658
4658
|
d(s) {
|
|
4659
|
-
s &&
|
|
4659
|
+
s && ie(t), i.d(), e[27](null);
|
|
4660
4660
|
}
|
|
4661
4661
|
};
|
|
4662
4662
|
}
|
|
4663
|
-
let
|
|
4664
|
-
function
|
|
4663
|
+
let ht = "CasinoSliderData", Bs = !1, Ps = !1;
|
|
4664
|
+
function Os(e, t, r) {
|
|
4665
4665
|
let n;
|
|
4666
|
-
|
|
4667
|
-
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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck:
|
|
4668
|
-
const
|
|
4669
|
-
Object.keys(f).forEach((
|
|
4670
|
-
|
|
4666
|
+
Zr(e, bs, (f) => r(33, n = f));
|
|
4667
|
+
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, { mbsource: c } = t, { clientstyling: d = "" } = t, { clientstylingurl: p = "" } = t, { activecategory: b = "" } = t, { actionevent: w = "" } = t, { sessioncheck: I = "" } = t, { location: P = "secondaryMenu" } = t, { showsubgroups: T = "false" } = t, { filteredcategories: O = "" } = t, { translationurl: H = "" } = t, { categoriesicon: C = "" } = t, { lobbyiconimage: _ = "" } = t, { mygamesiconimage: N = "" } = t, { customizecategoryicon: B = "false" } = t, $, mt, j = !0, W, Z = [], k = !1, Nr = window.navigator.userAgent, U, Lr, dt, bt = !1, Ie = !1;
|
|
4668
|
+
const Me = (f) => {
|
|
4669
|
+
Object.keys(f).forEach((R) => {
|
|
4670
|
+
gs(R, f[R]);
|
|
4671
4671
|
});
|
|
4672
|
-
},
|
|
4673
|
-
fetch(H).then((
|
|
4674
|
-
|
|
4675
|
-
}).catch((
|
|
4676
|
-
console.log(
|
|
4672
|
+
}, Ir = () => {
|
|
4673
|
+
fetch(H).then((R) => R.json()).then((R) => {
|
|
4674
|
+
Me(R);
|
|
4675
|
+
}).catch((R) => {
|
|
4676
|
+
console.log(R);
|
|
4677
4677
|
});
|
|
4678
4678
|
};
|
|
4679
|
-
|
|
4680
|
-
const
|
|
4681
|
-
|
|
4679
|
+
Me(ys);
|
|
4680
|
+
const Mr = () => {
|
|
4681
|
+
bt == !1 && (m == "true" || u == "true" || l == "true") && Z.splice(1, 0, {
|
|
4682
4682
|
// @ts-ignore
|
|
4683
4683
|
id: "MYGAMES",
|
|
4684
|
-
name:
|
|
4684
|
+
name: $,
|
|
4685
4685
|
href: "",
|
|
4686
4686
|
games: []
|
|
4687
|
-
}),
|
|
4688
|
-
},
|
|
4689
|
-
if (
|
|
4687
|
+
}), rn(), bt = !0, r(26, Ie = !0), pt();
|
|
4688
|
+
}, Cr = () => (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), Rr = () => {
|
|
4689
|
+
if ($ = n("myGamesName"), mt = n("lobbyName"), !Cr()) {
|
|
4690
4690
|
let f = new URL(`${i}/v2/casino/groups/${s}`);
|
|
4691
|
-
f.searchParams.append("language", o), f.searchParams.append("platform",
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4691
|
+
f.searchParams.append("language", o), f.searchParams.append("platform", ps(Nr));
|
|
4692
|
+
let R = "id,name,games(href),flags";
|
|
4693
|
+
B === "true" && (R += ",icon"), f.searchParams.append("fields", R), fetch(f).then((V) => V.json()).then(
|
|
4694
|
+
(V) => {
|
|
4695
|
+
let Dr = O.split(","), Fr = V.items.filter((yt) => {
|
|
4696
|
+
let Ce = !1;
|
|
4697
|
+
if (yt.games.total > 0 && (Ce = !0, O))
|
|
4698
|
+
for (let $r of Dr)
|
|
4699
|
+
yt.flags == $r && (Ce = !1);
|
|
4700
|
+
return Ce;
|
|
4699
4701
|
});
|
|
4700
|
-
|
|
4702
|
+
Z = [], Z = Z.concat(Fr), Z.unshift({
|
|
4701
4703
|
// @ts-ignore
|
|
4702
4704
|
id: "LOBBY",
|
|
4703
|
-
name:
|
|
4705
|
+
name: mt,
|
|
4704
4706
|
href: "",
|
|
4705
4707
|
games: []
|
|
4706
4708
|
}), r(13, j = !1);
|
|
4707
4709
|
},
|
|
4708
|
-
(
|
|
4709
|
-
r(15, k = !0), console.error("There was an error while fetching the categories",
|
|
4710
|
+
(V) => {
|
|
4711
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", V);
|
|
4710
4712
|
}
|
|
4711
|
-
).catch((
|
|
4712
|
-
r(15, k = !0), console.error("There was an error while fetching the categories",
|
|
4713
|
+
).catch((V) => {
|
|
4714
|
+
r(15, k = !0), console.error("There was an error while fetching the categories", V);
|
|
4713
4715
|
});
|
|
4714
4716
|
}
|
|
4715
|
-
},
|
|
4717
|
+
}, Gr = () => {
|
|
4716
4718
|
let f = b.split("$");
|
|
4717
4719
|
r(0, b = f.length > 2 ? b.split("$").slice(0, 2).join("$") : b);
|
|
4718
|
-
},
|
|
4720
|
+
}, pt = () => {
|
|
4719
4721
|
window.postMessage(
|
|
4720
4722
|
{
|
|
4721
4723
|
type: "SliderData",
|
|
4722
|
-
identity:
|
|
4723
|
-
data:
|
|
4724
|
+
identity: ht,
|
|
4725
|
+
data: Z
|
|
4724
4726
|
},
|
|
4725
4727
|
window.location.href
|
|
4726
4728
|
);
|
|
4727
|
-
},
|
|
4728
|
-
f.data && f.data.type == "SliderMounted" && f.data.identity ==
|
|
4729
|
+
}, gt = (f) => {
|
|
4730
|
+
f.data && f.data.type == "SliderMounted" && f.data.identity == ht && pt();
|
|
4729
4731
|
};
|
|
4730
|
-
|
|
4731
|
-
window.removeEventListener("message",
|
|
4732
|
+
tn(() => (window.addEventListener("message", gt), () => {
|
|
4733
|
+
window.removeEventListener("message", gt);
|
|
4732
4734
|
}));
|
|
4733
|
-
function
|
|
4734
|
-
|
|
4735
|
+
function Ur(f) {
|
|
4736
|
+
Xe[f ? "unshift" : "push"](() => {
|
|
4735
4737
|
U = f, r(14, U);
|
|
4736
4738
|
});
|
|
4737
4739
|
}
|
|
4738
4740
|
return e.$$set = (f) => {
|
|
4739
|
-
"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), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22,
|
|
4741
|
+
"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), "mbsource" in f && r(4, c = f.mbsource), "clientstyling" in f && r(5, d = f.clientstyling), "clientstylingurl" in f && r(6, p = f.clientstylingurl), "activecategory" in f && r(0, b = f.activecategory), "actionevent" in f && r(7, w = f.actionevent), "sessioncheck" in f && r(22, I = f.sessioncheck), "location" in f && r(8, P = f.location), "showsubgroups" in f && r(9, T = f.showsubgroups), "filteredcategories" in f && r(23, O = f.filteredcategories), "translationurl" in f && r(24, H = f.translationurl), "categoriesicon" in f && r(10, C = f.categoriesicon), "lobbyiconimage" in f && r(11, _ = f.lobbyiconimage), "mygamesiconimage" in f && r(12, N = f.mygamesiconimage), "customizecategoryicon" in f && r(25, B = f.customizecategoryicon);
|
|
4740
4742
|
}, e.$$.update = () => {
|
|
4741
4743
|
e.$$.dirty[0] & /*endpoint, datasource, lang*/
|
|
4742
|
-
14 && i && s && o &&
|
|
4743
|
-
3940354 && i && h && (u || l || m) && !j &&
|
|
4744
|
-
|
|
4745
|
-
16777216 && H &&
|
|
4746
|
-
16416 && d && U &&
|
|
4747
|
-
16448 && p && U &&
|
|
4748
|
-
16400 && c && U &&
|
|
4749
|
-
16777232 && c && !H &&
|
|
4750
|
-
}, r(16,
|
|
4744
|
+
14 && i && s && o && Rr(), e.$$.dirty[0] & /*endpoint, session, mostplayed, lastplayed, favorites, isLoading*/
|
|
4745
|
+
3940354 && i && h && (u || l || m) && !j && Mr(), e.$$.dirty[0] & /*isLoading, activecategory, session, confirmCategoryParse*/
|
|
4746
|
+
67379201 && !j && b && (!h || Ie) && Gr(), e.$$.dirty[0] & /*translationurl*/
|
|
4747
|
+
16777216 && H && Ir(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
|
|
4748
|
+
16416 && d && U && vs(U, d), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
|
|
4749
|
+
16448 && p && U && _s(U, p), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
|
|
4750
|
+
16400 && c && U && Es(U, `${c}.Style`), e.$$.dirty[0] & /*mbsource, translationurl*/
|
|
4751
|
+
16777232 && c && !H && xs(`${c}.Translation`, Lr, Me);
|
|
4752
|
+
}, r(16, dt = 0), [
|
|
4751
4753
|
b,
|
|
4752
4754
|
i,
|
|
4753
4755
|
s,
|
|
@@ -4758,33 +4760,34 @@ function Bs(e, t, r) {
|
|
|
4758
4760
|
w,
|
|
4759
4761
|
P,
|
|
4760
4762
|
T,
|
|
4761
|
-
|
|
4763
|
+
C,
|
|
4762
4764
|
_,
|
|
4763
4765
|
N,
|
|
4764
4766
|
j,
|
|
4765
4767
|
U,
|
|
4766
4768
|
k,
|
|
4767
|
-
|
|
4769
|
+
dt,
|
|
4768
4770
|
a,
|
|
4769
4771
|
h,
|
|
4770
4772
|
u,
|
|
4771
4773
|
l,
|
|
4772
4774
|
m,
|
|
4773
|
-
|
|
4775
|
+
I,
|
|
4774
4776
|
O,
|
|
4775
4777
|
H,
|
|
4776
|
-
|
|
4777
|
-
|
|
4778
|
+
B,
|
|
4779
|
+
Ie,
|
|
4780
|
+
Ur
|
|
4778
4781
|
];
|
|
4779
4782
|
}
|
|
4780
|
-
class
|
|
4783
|
+
class Or extends fn {
|
|
4781
4784
|
constructor(t) {
|
|
4782
|
-
super(),
|
|
4785
|
+
super(), ln(
|
|
4783
4786
|
this,
|
|
4784
4787
|
t,
|
|
4785
|
-
|
|
4786
|
-
|
|
4787
|
-
|
|
4788
|
+
Os,
|
|
4789
|
+
As,
|
|
4790
|
+
zt,
|
|
4788
4791
|
{
|
|
4789
4792
|
endpoint: 1,
|
|
4790
4793
|
datasource: 2,
|
|
@@ -4806,9 +4809,10 @@ class Br extends ln {
|
|
|
4806
4809
|
translationurl: 24,
|
|
4807
4810
|
categoriesicon: 10,
|
|
4808
4811
|
lobbyiconimage: 11,
|
|
4809
|
-
mygamesiconimage: 12
|
|
4812
|
+
mygamesiconimage: 12,
|
|
4813
|
+
customizecategoryicon: 25
|
|
4810
4814
|
},
|
|
4811
|
-
|
|
4815
|
+
Ss,
|
|
4812
4816
|
[-1, -1]
|
|
4813
4817
|
);
|
|
4814
4818
|
}
|
|
@@ -4816,167 +4820,173 @@ class Br extends ln {
|
|
|
4816
4820
|
return this.$$.ctx[1];
|
|
4817
4821
|
}
|
|
4818
4822
|
set endpoint(t) {
|
|
4819
|
-
this.$$set({ endpoint: t }),
|
|
4823
|
+
this.$$set({ endpoint: t }), E();
|
|
4820
4824
|
}
|
|
4821
4825
|
get datasource() {
|
|
4822
4826
|
return this.$$.ctx[2];
|
|
4823
4827
|
}
|
|
4824
4828
|
set datasource(t) {
|
|
4825
|
-
this.$$set({ datasource: t }),
|
|
4829
|
+
this.$$set({ datasource: t }), E();
|
|
4826
4830
|
}
|
|
4827
4831
|
get lang() {
|
|
4828
4832
|
return this.$$.ctx[3];
|
|
4829
4833
|
}
|
|
4830
4834
|
set lang(t) {
|
|
4831
|
-
this.$$set({ lang: t }),
|
|
4835
|
+
this.$$set({ lang: t }), E();
|
|
4832
4836
|
}
|
|
4833
4837
|
get userid() {
|
|
4834
4838
|
return this.$$.ctx[17];
|
|
4835
4839
|
}
|
|
4836
4840
|
set userid(t) {
|
|
4837
|
-
this.$$set({ userid: t }),
|
|
4841
|
+
this.$$set({ userid: t }), E();
|
|
4838
4842
|
}
|
|
4839
4843
|
get session() {
|
|
4840
4844
|
return this.$$.ctx[18];
|
|
4841
4845
|
}
|
|
4842
4846
|
set session(t) {
|
|
4843
|
-
this.$$set({ session: t }),
|
|
4847
|
+
this.$$set({ session: t }), E();
|
|
4844
4848
|
}
|
|
4845
4849
|
get mostplayed() {
|
|
4846
4850
|
return this.$$.ctx[19];
|
|
4847
4851
|
}
|
|
4848
4852
|
set mostplayed(t) {
|
|
4849
|
-
this.$$set({ mostplayed: t }),
|
|
4853
|
+
this.$$set({ mostplayed: t }), E();
|
|
4850
4854
|
}
|
|
4851
4855
|
get lastplayed() {
|
|
4852
4856
|
return this.$$.ctx[20];
|
|
4853
4857
|
}
|
|
4854
4858
|
set lastplayed(t) {
|
|
4855
|
-
this.$$set({ lastplayed: t }),
|
|
4859
|
+
this.$$set({ lastplayed: t }), E();
|
|
4856
4860
|
}
|
|
4857
4861
|
get favorites() {
|
|
4858
4862
|
return this.$$.ctx[21];
|
|
4859
4863
|
}
|
|
4860
4864
|
set favorites(t) {
|
|
4861
|
-
this.$$set({ favorites: t }),
|
|
4865
|
+
this.$$set({ favorites: t }), E();
|
|
4862
4866
|
}
|
|
4863
4867
|
get mbsource() {
|
|
4864
4868
|
return this.$$.ctx[4];
|
|
4865
4869
|
}
|
|
4866
4870
|
set mbsource(t) {
|
|
4867
|
-
this.$$set({ mbsource: t }),
|
|
4871
|
+
this.$$set({ mbsource: t }), E();
|
|
4868
4872
|
}
|
|
4869
4873
|
get clientstyling() {
|
|
4870
4874
|
return this.$$.ctx[5];
|
|
4871
4875
|
}
|
|
4872
4876
|
set clientstyling(t) {
|
|
4873
|
-
this.$$set({ clientstyling: t }),
|
|
4877
|
+
this.$$set({ clientstyling: t }), E();
|
|
4874
4878
|
}
|
|
4875
4879
|
get clientstylingurl() {
|
|
4876
4880
|
return this.$$.ctx[6];
|
|
4877
4881
|
}
|
|
4878
4882
|
set clientstylingurl(t) {
|
|
4879
|
-
this.$$set({ clientstylingurl: t }),
|
|
4883
|
+
this.$$set({ clientstylingurl: t }), E();
|
|
4880
4884
|
}
|
|
4881
4885
|
get activecategory() {
|
|
4882
4886
|
return this.$$.ctx[0];
|
|
4883
4887
|
}
|
|
4884
4888
|
set activecategory(t) {
|
|
4885
|
-
this.$$set({ activecategory: t }),
|
|
4889
|
+
this.$$set({ activecategory: t }), E();
|
|
4886
4890
|
}
|
|
4887
4891
|
get actionevent() {
|
|
4888
4892
|
return this.$$.ctx[7];
|
|
4889
4893
|
}
|
|
4890
4894
|
set actionevent(t) {
|
|
4891
|
-
this.$$set({ actionevent: t }),
|
|
4895
|
+
this.$$set({ actionevent: t }), E();
|
|
4892
4896
|
}
|
|
4893
4897
|
get sessioncheck() {
|
|
4894
4898
|
return this.$$.ctx[22];
|
|
4895
4899
|
}
|
|
4896
4900
|
set sessioncheck(t) {
|
|
4897
|
-
this.$$set({ sessioncheck: t }),
|
|
4901
|
+
this.$$set({ sessioncheck: t }), E();
|
|
4898
4902
|
}
|
|
4899
4903
|
get location() {
|
|
4900
4904
|
return this.$$.ctx[8];
|
|
4901
4905
|
}
|
|
4902
4906
|
set location(t) {
|
|
4903
|
-
this.$$set({ location: t }),
|
|
4907
|
+
this.$$set({ location: t }), E();
|
|
4904
4908
|
}
|
|
4905
4909
|
get showsubgroups() {
|
|
4906
4910
|
return this.$$.ctx[9];
|
|
4907
4911
|
}
|
|
4908
4912
|
set showsubgroups(t) {
|
|
4909
|
-
this.$$set({ showsubgroups: t }),
|
|
4913
|
+
this.$$set({ showsubgroups: t }), E();
|
|
4910
4914
|
}
|
|
4911
4915
|
get filteredcategories() {
|
|
4912
4916
|
return this.$$.ctx[23];
|
|
4913
4917
|
}
|
|
4914
4918
|
set filteredcategories(t) {
|
|
4915
|
-
this.$$set({ filteredcategories: t }),
|
|
4919
|
+
this.$$set({ filteredcategories: t }), E();
|
|
4916
4920
|
}
|
|
4917
4921
|
get translationurl() {
|
|
4918
4922
|
return this.$$.ctx[24];
|
|
4919
4923
|
}
|
|
4920
4924
|
set translationurl(t) {
|
|
4921
|
-
this.$$set({ translationurl: t }),
|
|
4925
|
+
this.$$set({ translationurl: t }), E();
|
|
4922
4926
|
}
|
|
4923
4927
|
get categoriesicon() {
|
|
4924
4928
|
return this.$$.ctx[10];
|
|
4925
4929
|
}
|
|
4926
4930
|
set categoriesicon(t) {
|
|
4927
|
-
this.$$set({ categoriesicon: t }),
|
|
4931
|
+
this.$$set({ categoriesicon: t }), E();
|
|
4928
4932
|
}
|
|
4929
4933
|
get lobbyiconimage() {
|
|
4930
4934
|
return this.$$.ctx[11];
|
|
4931
4935
|
}
|
|
4932
4936
|
set lobbyiconimage(t) {
|
|
4933
|
-
this.$$set({ lobbyiconimage: t }),
|
|
4937
|
+
this.$$set({ lobbyiconimage: t }), E();
|
|
4934
4938
|
}
|
|
4935
4939
|
get mygamesiconimage() {
|
|
4936
4940
|
return this.$$.ctx[12];
|
|
4937
4941
|
}
|
|
4938
4942
|
set mygamesiconimage(t) {
|
|
4939
|
-
this.$$set({ mygamesiconimage: t }),
|
|
4943
|
+
this.$$set({ mygamesiconimage: t }), E();
|
|
4944
|
+
}
|
|
4945
|
+
get customizecategoryicon() {
|
|
4946
|
+
return this.$$.ctx[25];
|
|
4947
|
+
}
|
|
4948
|
+
set customizecategoryicon(t) {
|
|
4949
|
+
this.$$set({ customizecategoryicon: t }), E();
|
|
4940
4950
|
}
|
|
4941
4951
|
}
|
|
4942
|
-
|
|
4943
|
-
const
|
|
4952
|
+
cn(Or, { endpoint: {}, datasource: {}, lang: {}, userid: {}, session: {}, mostplayed: {}, lastplayed: {}, favorites: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, activecategory: {}, actionevent: {}, sessioncheck: {}, location: {}, showsubgroups: {}, filteredcategories: {}, translationurl: {}, categoriesicon: {}, lobbyiconimage: {}, mygamesiconimage: {}, customizecategoryicon: {} }, [], [], !0);
|
|
4953
|
+
const js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4944
4954
|
__proto__: null,
|
|
4945
|
-
default:
|
|
4955
|
+
default: Or
|
|
4946
4956
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4947
4957
|
export {
|
|
4948
|
-
|
|
4949
|
-
|
|
4950
|
-
|
|
4951
|
-
|
|
4952
|
-
|
|
4953
|
-
|
|
4954
|
-
|
|
4955
|
-
|
|
4956
|
-
|
|
4957
|
-
|
|
4958
|
-
|
|
4959
|
-
|
|
4960
|
-
|
|
4961
|
-
|
|
4962
|
-
|
|
4963
|
-
|
|
4964
|
-
|
|
4965
|
-
|
|
4966
|
-
|
|
4967
|
-
|
|
4968
|
-
|
|
4969
|
-
|
|
4970
|
-
|
|
4971
|
-
|
|
4972
|
-
|
|
4973
|
-
|
|
4974
|
-
|
|
4975
|
-
|
|
4976
|
-
|
|
4977
|
-
|
|
4978
|
-
|
|
4979
|
-
|
|
4980
|
-
|
|
4981
|
-
|
|
4958
|
+
pe as $,
|
|
4959
|
+
Ls as A,
|
|
4960
|
+
vs as B,
|
|
4961
|
+
_s as C,
|
|
4962
|
+
Es as D,
|
|
4963
|
+
cn as E,
|
|
4964
|
+
js as F,
|
|
4965
|
+
fn as S,
|
|
4966
|
+
be as a,
|
|
4967
|
+
Tr as b,
|
|
4968
|
+
qr as c,
|
|
4969
|
+
ie as d,
|
|
4970
|
+
se as e,
|
|
4971
|
+
E as f,
|
|
4972
|
+
me as g,
|
|
4973
|
+
Zt as h,
|
|
4974
|
+
ln as i,
|
|
4975
|
+
X as j,
|
|
4976
|
+
Cs as k,
|
|
4977
|
+
Gs as l,
|
|
4978
|
+
ps as m,
|
|
4979
|
+
L as n,
|
|
4980
|
+
tn as o,
|
|
4981
|
+
Ds as p,
|
|
4982
|
+
Rs as q,
|
|
4983
|
+
ne as r,
|
|
4984
|
+
zt as s,
|
|
4985
|
+
Xe as t,
|
|
4986
|
+
$s as u,
|
|
4987
|
+
Us as v,
|
|
4988
|
+
qt as w,
|
|
4989
|
+
Is as x,
|
|
4990
|
+
Fs as y,
|
|
4991
|
+
Ms as z
|
|
4982
4992
|
};
|