@everymatrix/casino-tournaments-slider-controller 1.65.3 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoTournamentsRank-Uh63yR74.js → CasinoTournamentsRank-BKNOZaMM.js} +17 -17
- package/components/{CasinoTournamentsRank-CHfNbZ5M.js → CasinoTournamentsRank-C29SdtOD.js} +17 -17
- package/components/{CasinoTournamentsSliderController-Ds57JuTE.js → CasinoTournamentsSliderController-BjkkwNir.js} +1148 -1146
- package/components/{CasinoTournamentsSliderController-CqdenQb8.js → CasinoTournamentsSliderController-CUz1Gx1G.js} +1146 -1144
- package/components/CasinoTournamentsSliderController-Ccg1wunw.cjs +11 -0
- package/es2015/casino-tournaments-slider-controller.cjs +1 -1
- package/es2015/casino-tournaments-slider-controller.js +1 -1
- package/esnext/casino-tournaments-slider-controller.js +1 -1
- package/package.json +1 -1
- package/components/CasinoTournamentsSliderController-DsjuXKqp.cjs +0 -24
|
@@ -1,62 +1,62 @@
|
|
|
1
|
-
import { i as
|
|
2
|
-
function
|
|
1
|
+
import { i as zr, n as ze, s as mr, a as Vr, r as gr, b as Zr, S as qr, c as Yr, f as ge, d as Wr, e as Kr, g as qe, t as zt, h as It, j as h, k as $r, x as xt, l as Ye, m as H, o as st, p as K, q as he, u as ve, v as en, w as tn, y as vr, z as J, A as Er, B as rn, C as Vt, D as nn, E as Zt, F as on, G as ot, H as an } from "./CasinoTournamentsRank-C29SdtOD.js";
|
|
2
|
+
function qt(e, { delay: t = 0, duration: r = 400, easing: n = zr } = {}) {
|
|
3
3
|
const i = +getComputedStyle(e).opacity;
|
|
4
4
|
return {
|
|
5
5
|
delay: t,
|
|
6
|
-
duration:
|
|
7
|
-
easing:
|
|
8
|
-
css: (
|
|
6
|
+
duration: r,
|
|
7
|
+
easing: n,
|
|
8
|
+
css: (o) => `opacity: ${o * i}`
|
|
9
9
|
};
|
|
10
10
|
}
|
|
11
|
-
const
|
|
12
|
-
function
|
|
11
|
+
const Pe = [];
|
|
12
|
+
function sn(e, t) {
|
|
13
13
|
return {
|
|
14
|
-
subscribe:
|
|
14
|
+
subscribe: dt(e, t).subscribe
|
|
15
15
|
};
|
|
16
16
|
}
|
|
17
|
-
function
|
|
18
|
-
let
|
|
19
|
-
const
|
|
17
|
+
function dt(e, t = ze) {
|
|
18
|
+
let r;
|
|
19
|
+
const n = /* @__PURE__ */ new Set();
|
|
20
20
|
function i(c) {
|
|
21
|
-
if (
|
|
22
|
-
const d = !
|
|
23
|
-
for (const u of
|
|
24
|
-
u[1](),
|
|
21
|
+
if (mr(e, c) && (e = c, r)) {
|
|
22
|
+
const d = !Pe.length;
|
|
23
|
+
for (const u of n)
|
|
24
|
+
u[1](), Pe.push(u, e);
|
|
25
25
|
if (d) {
|
|
26
|
-
for (let u = 0; u <
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
for (let u = 0; u < Pe.length; u += 2)
|
|
27
|
+
Pe[u][0](Pe[u + 1]);
|
|
28
|
+
Pe.length = 0;
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function o(c) {
|
|
33
33
|
i(c(e));
|
|
34
34
|
}
|
|
35
|
-
function f(c, d =
|
|
35
|
+
function f(c, d = ze) {
|
|
36
36
|
const u = [c, d];
|
|
37
|
-
return
|
|
38
|
-
|
|
37
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || ze), c(e), () => {
|
|
38
|
+
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
return { set: i, update:
|
|
41
|
+
return { set: i, update: o, subscribe: f };
|
|
42
42
|
}
|
|
43
|
-
function
|
|
44
|
-
const
|
|
43
|
+
function Fe(e, t, r) {
|
|
44
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
45
45
|
if (!i.every(Boolean))
|
|
46
46
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
47
|
-
const
|
|
48
|
-
return
|
|
47
|
+
const o = t.length < 2;
|
|
48
|
+
return sn(r, (f, c) => {
|
|
49
49
|
let d = !1;
|
|
50
50
|
const u = [];
|
|
51
|
-
let l = 0, g =
|
|
51
|
+
let l = 0, g = ze;
|
|
52
52
|
const v = () => {
|
|
53
53
|
if (l)
|
|
54
54
|
return;
|
|
55
55
|
g();
|
|
56
|
-
const M = t(
|
|
57
|
-
|
|
56
|
+
const M = t(n ? u[0] : u, f, c);
|
|
57
|
+
o ? f(M) : g = Zr(M) ? M : ze;
|
|
58
58
|
}, S = i.map(
|
|
59
|
-
(M, x) =>
|
|
59
|
+
(M, x) => Vr(
|
|
60
60
|
M,
|
|
61
61
|
(C) => {
|
|
62
62
|
u[x] = C, l &= ~(1 << x), d && v();
|
|
@@ -67,175 +67,158 @@ function Ge(e, t, n) {
|
|
|
67
67
|
)
|
|
68
68
|
);
|
|
69
69
|
return d = !0, v(), function() {
|
|
70
|
-
|
|
70
|
+
gr(S), g(), d = !1;
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
}
|
|
74
|
-
var
|
|
75
|
-
function
|
|
74
|
+
var un = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
|
|
75
|
+
function ln(e) {
|
|
76
76
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
77
77
|
}
|
|
78
|
-
var
|
|
79
|
-
return
|
|
78
|
+
var hn = function(t) {
|
|
79
|
+
return fn(t) && !cn(t);
|
|
80
80
|
};
|
|
81
|
-
function
|
|
81
|
+
function fn(e) {
|
|
82
82
|
return !!e && typeof e == "object";
|
|
83
83
|
}
|
|
84
|
-
function
|
|
84
|
+
function cn(e) {
|
|
85
85
|
var t = Object.prototype.toString.call(e);
|
|
86
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
86
|
+
return t === "[object RegExp]" || t === "[object Date]" || An(e);
|
|
87
87
|
}
|
|
88
|
-
var
|
|
89
|
-
function
|
|
90
|
-
return e.$$typeof ===
|
|
88
|
+
var dn = typeof Symbol == "function" && Symbol.for, pn = dn ? Symbol.for("react.element") : 60103;
|
|
89
|
+
function An(e) {
|
|
90
|
+
return e.$$typeof === pn;
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function mn(e) {
|
|
93
93
|
return Array.isArray(e) ? [] : {};
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
95
|
+
function Ve(e, t) {
|
|
96
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Me(mn(e), e, t) : e;
|
|
97
97
|
}
|
|
98
|
-
function
|
|
99
|
-
return e.concat(t).map(function(
|
|
100
|
-
return
|
|
98
|
+
function gn(e, t, r) {
|
|
99
|
+
return e.concat(t).map(function(n) {
|
|
100
|
+
return Ve(n, r);
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function vn(e, t) {
|
|
104
104
|
if (!t.customMerge)
|
|
105
|
-
return
|
|
106
|
-
var
|
|
107
|
-
return typeof
|
|
105
|
+
return Me;
|
|
106
|
+
var r = t.customMerge(e);
|
|
107
|
+
return typeof r == "function" ? r : Me;
|
|
108
108
|
}
|
|
109
|
-
function
|
|
109
|
+
function En(e) {
|
|
110
110
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
111
111
|
return Object.propertyIsEnumerable.call(e, t);
|
|
112
112
|
}) : [];
|
|
113
113
|
}
|
|
114
|
-
function
|
|
115
|
-
return Object.keys(e).concat(
|
|
114
|
+
function Yt(e) {
|
|
115
|
+
return Object.keys(e).concat(En(e));
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function br(e, t) {
|
|
118
118
|
try {
|
|
119
119
|
return t in e;
|
|
120
|
-
} catch (
|
|
120
|
+
} catch (r) {
|
|
121
121
|
return !1;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
|
-
function
|
|
125
|
-
return
|
|
124
|
+
function bn(e, t) {
|
|
125
|
+
return br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
126
126
|
}
|
|
127
|
-
function
|
|
128
|
-
var
|
|
129
|
-
return
|
|
130
|
-
|
|
131
|
-
}),
|
|
132
|
-
|
|
133
|
-
}),
|
|
127
|
+
function yn(e, t, r) {
|
|
128
|
+
var n = {};
|
|
129
|
+
return r.isMergeableObject(e) && Yt(e).forEach(function(i) {
|
|
130
|
+
n[i] = Ve(e[i], r);
|
|
131
|
+
}), Yt(t).forEach(function(i) {
|
|
132
|
+
bn(e, i) || (br(e, i) && r.isMergeableObject(t[i]) ? n[i] = vn(i, r)(e[i], t[i], r) : n[i] = Ve(t[i], r));
|
|
133
|
+
}), n;
|
|
134
134
|
}
|
|
135
|
-
function
|
|
136
|
-
|
|
137
|
-
var
|
|
138
|
-
return
|
|
135
|
+
function Me(e, t, r) {
|
|
136
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || gn, r.isMergeableObject = r.isMergeableObject || hn, r.cloneUnlessOtherwiseSpecified = Ve;
|
|
137
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
138
|
+
return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : Ve(t, r);
|
|
139
139
|
}
|
|
140
|
-
|
|
140
|
+
Me.all = function(t, r) {
|
|
141
141
|
if (!Array.isArray(t))
|
|
142
142
|
throw new Error("first argument should be an array");
|
|
143
|
-
return t.reduce(function(
|
|
144
|
-
return
|
|
143
|
+
return t.reduce(function(n, i) {
|
|
144
|
+
return Me(n, i, r);
|
|
145
145
|
}, {});
|
|
146
146
|
};
|
|
147
|
-
var
|
|
148
|
-
const
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
157
|
-
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
158
|
-
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
159
|
-
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
160
|
-
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
161
|
-
PERFORMANCE OF THIS SOFTWARE.
|
|
162
|
-
***************************************************************************** */
|
|
163
|
-
var Ot = function(e, t) {
|
|
164
|
-
return Ot = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
|
|
165
|
-
n.__proto__ = r;
|
|
166
|
-
} || function(n, r) {
|
|
167
|
-
for (var i in r)
|
|
168
|
-
Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
|
|
169
|
-
}, Ot(e, t);
|
|
147
|
+
var wn = Me, In = wn;
|
|
148
|
+
const xn = /* @__PURE__ */ ln(In);
|
|
149
|
+
var Nt = function(e, t) {
|
|
150
|
+
return Nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
151
|
+
r.__proto__ = n;
|
|
152
|
+
} || function(r, n) {
|
|
153
|
+
for (var i in n)
|
|
154
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
155
|
+
}, Nt(e, t);
|
|
170
156
|
};
|
|
171
|
-
function
|
|
157
|
+
function pt(e, t) {
|
|
172
158
|
if (typeof t != "function" && t !== null)
|
|
173
159
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
174
|
-
|
|
175
|
-
function
|
|
160
|
+
Nt(e, t);
|
|
161
|
+
function r() {
|
|
176
162
|
this.constructor = e;
|
|
177
163
|
}
|
|
178
|
-
e.prototype = t === null ? Object.create(t) : (
|
|
164
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
179
165
|
}
|
|
180
|
-
var
|
|
181
|
-
return
|
|
182
|
-
for (var
|
|
183
|
-
|
|
184
|
-
for (var
|
|
185
|
-
Object.prototype.hasOwnProperty.call(
|
|
166
|
+
var Ee = function() {
|
|
167
|
+
return Ee = Object.assign || function(t) {
|
|
168
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
169
|
+
r = arguments[n];
|
|
170
|
+
for (var o in r)
|
|
171
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
186
172
|
}
|
|
187
173
|
return t;
|
|
188
|
-
},
|
|
174
|
+
}, Ee.apply(this, arguments);
|
|
189
175
|
};
|
|
190
|
-
function
|
|
191
|
-
var
|
|
192
|
-
for (var
|
|
193
|
-
Object.prototype.hasOwnProperty.call(e,
|
|
176
|
+
function Bn(e, t) {
|
|
177
|
+
var r = {};
|
|
178
|
+
for (var n in e)
|
|
179
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
194
180
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
195
|
-
for (var i = 0,
|
|
196
|
-
t.indexOf(
|
|
197
|
-
return
|
|
181
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
182
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
183
|
+
return r;
|
|
198
184
|
}
|
|
199
|
-
function
|
|
200
|
-
if (arguments.length === 2)
|
|
201
|
-
for (var
|
|
202
|
-
(
|
|
203
|
-
return e.concat(
|
|
185
|
+
function Bt(e, t, r) {
|
|
186
|
+
if (r || arguments.length === 2)
|
|
187
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
188
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
189
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
204
190
|
}
|
|
205
|
-
function
|
|
206
|
-
var
|
|
191
|
+
function Tt(e, t) {
|
|
192
|
+
var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : Cn;
|
|
207
193
|
return i(e, {
|
|
208
|
-
cache:
|
|
209
|
-
serializer:
|
|
194
|
+
cache: r,
|
|
195
|
+
serializer: n
|
|
210
196
|
});
|
|
211
197
|
}
|
|
212
|
-
function
|
|
198
|
+
function Tn(e) {
|
|
213
199
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
214
200
|
}
|
|
215
|
-
function
|
|
216
|
-
var i =
|
|
217
|
-
return typeof
|
|
218
|
-
}
|
|
219
|
-
function wn(e, t, n) {
|
|
220
|
-
var r = Array.prototype.slice.call(arguments, 3), i = n(r), a = t.get(i);
|
|
221
|
-
return typeof a == "undefined" && (a = e.apply(this, r), t.set(i, a)), a;
|
|
201
|
+
function Hn(e, t, r, n) {
|
|
202
|
+
var i = Tn(n) ? n : r(n), o = t.get(i);
|
|
203
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
222
204
|
}
|
|
223
|
-
function
|
|
224
|
-
|
|
205
|
+
function yr(e, t, r) {
|
|
206
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
207
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
225
208
|
}
|
|
226
|
-
function
|
|
227
|
-
|
|
228
|
-
return _t(e, this, n, t.cache.create(), t.serializer);
|
|
209
|
+
function wr(e, t, r, n, i) {
|
|
210
|
+
return r.bind(t, e, n, i);
|
|
229
211
|
}
|
|
230
|
-
function
|
|
231
|
-
|
|
212
|
+
function Cn(e, t) {
|
|
213
|
+
var r = e.length === 1 ? Hn : yr;
|
|
214
|
+
return wr(e, this, r, t.cache.create(), t.serializer);
|
|
232
215
|
}
|
|
233
|
-
function
|
|
234
|
-
return
|
|
216
|
+
function Rn(e, t) {
|
|
217
|
+
return wr(e, this, yr, t.cache.create(), t.serializer);
|
|
235
218
|
}
|
|
236
|
-
var
|
|
219
|
+
var Sn = function() {
|
|
237
220
|
return JSON.stringify(arguments);
|
|
238
|
-
},
|
|
221
|
+
}, On = (
|
|
239
222
|
/** @class */
|
|
240
223
|
function() {
|
|
241
224
|
function e() {
|
|
@@ -243,73 +226,82 @@ var Rr = function() {
|
|
|
243
226
|
}
|
|
244
227
|
return e.prototype.get = function(t) {
|
|
245
228
|
return this.cache[t];
|
|
246
|
-
}, e.prototype.set = function(t,
|
|
247
|
-
this.cache[t] =
|
|
229
|
+
}, e.prototype.set = function(t, r) {
|
|
230
|
+
this.cache[t] = r;
|
|
248
231
|
}, e;
|
|
249
232
|
}()
|
|
250
|
-
),
|
|
233
|
+
), Ln = {
|
|
251
234
|
create: function() {
|
|
252
|
-
return new
|
|
235
|
+
return new On();
|
|
253
236
|
}
|
|
254
|
-
},
|
|
255
|
-
variadic:
|
|
256
|
-
|
|
257
|
-
|
|
237
|
+
}, Ht = {
|
|
238
|
+
variadic: Rn
|
|
239
|
+
}, ht = function() {
|
|
240
|
+
return ht = Object.assign || function(t) {
|
|
241
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
242
|
+
r = arguments[n];
|
|
243
|
+
for (var o in r)
|
|
244
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
245
|
+
}
|
|
246
|
+
return t;
|
|
247
|
+
}, ht.apply(this, arguments);
|
|
248
|
+
};
|
|
249
|
+
var L;
|
|
258
250
|
(function(e) {
|
|
259
251
|
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";
|
|
260
252
|
})(L || (L = {}));
|
|
261
|
-
var
|
|
253
|
+
var X;
|
|
262
254
|
(function(e) {
|
|
263
255
|
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";
|
|
264
|
-
})(
|
|
265
|
-
var
|
|
256
|
+
})(X || (X = {}));
|
|
257
|
+
var ke;
|
|
266
258
|
(function(e) {
|
|
267
259
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
268
|
-
})(
|
|
269
|
-
function
|
|
270
|
-
return e.type ===
|
|
260
|
+
})(ke || (ke = {}));
|
|
261
|
+
function Wt(e) {
|
|
262
|
+
return e.type === X.literal;
|
|
271
263
|
}
|
|
272
|
-
function
|
|
273
|
-
return e.type ===
|
|
264
|
+
function Nn(e) {
|
|
265
|
+
return e.type === X.argument;
|
|
274
266
|
}
|
|
275
|
-
function
|
|
276
|
-
return e.type ===
|
|
267
|
+
function Ir(e) {
|
|
268
|
+
return e.type === X.number;
|
|
277
269
|
}
|
|
278
|
-
function
|
|
279
|
-
return e.type ===
|
|
270
|
+
function xr(e) {
|
|
271
|
+
return e.type === X.date;
|
|
280
272
|
}
|
|
281
|
-
function
|
|
282
|
-
return e.type ===
|
|
273
|
+
function Br(e) {
|
|
274
|
+
return e.type === X.time;
|
|
283
275
|
}
|
|
284
|
-
function
|
|
285
|
-
return e.type ===
|
|
276
|
+
function Tr(e) {
|
|
277
|
+
return e.type === X.select;
|
|
286
278
|
}
|
|
287
|
-
function
|
|
288
|
-
return e.type ===
|
|
279
|
+
function Hr(e) {
|
|
280
|
+
return e.type === X.plural;
|
|
289
281
|
}
|
|
290
|
-
function
|
|
291
|
-
return e.type ===
|
|
282
|
+
function Dn(e) {
|
|
283
|
+
return e.type === X.pound;
|
|
292
284
|
}
|
|
293
|
-
function
|
|
294
|
-
return e.type ===
|
|
285
|
+
function Cr(e) {
|
|
286
|
+
return e.type === X.tag;
|
|
295
287
|
}
|
|
296
|
-
function
|
|
297
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
288
|
+
function Rr(e) {
|
|
289
|
+
return !!(e && typeof e == "object" && e.type === ke.number);
|
|
298
290
|
}
|
|
299
|
-
function
|
|
300
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
291
|
+
function Dt(e) {
|
|
292
|
+
return !!(e && typeof e == "object" && e.type === ke.dateTime);
|
|
301
293
|
}
|
|
302
|
-
var
|
|
303
|
-
function
|
|
294
|
+
var Sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
|
|
295
|
+
function Mn(e) {
|
|
304
296
|
var t = {};
|
|
305
|
-
return e.replace(
|
|
306
|
-
var
|
|
307
|
-
switch (
|
|
297
|
+
return e.replace(Pn, function(r) {
|
|
298
|
+
var n = r.length;
|
|
299
|
+
switch (r[0]) {
|
|
308
300
|
case "G":
|
|
309
|
-
t.era =
|
|
301
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
310
302
|
break;
|
|
311
303
|
case "y":
|
|
312
|
-
t.year =
|
|
304
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
313
305
|
break;
|
|
314
306
|
case "Y":
|
|
315
307
|
case "u":
|
|
@@ -321,30 +313,30 @@ function Pr(e) {
|
|
|
321
313
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
322
314
|
case "M":
|
|
323
315
|
case "L":
|
|
324
|
-
t.month = ["numeric", "2-digit", "short", "long", "narrow"][
|
|
316
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
325
317
|
break;
|
|
326
318
|
case "w":
|
|
327
319
|
case "W":
|
|
328
320
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
329
321
|
case "d":
|
|
330
|
-
t.day = ["numeric", "2-digit"][
|
|
322
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
331
323
|
break;
|
|
332
324
|
case "D":
|
|
333
325
|
case "F":
|
|
334
326
|
case "g":
|
|
335
327
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
336
328
|
case "E":
|
|
337
|
-
t.weekday =
|
|
329
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
338
330
|
break;
|
|
339
331
|
case "e":
|
|
340
|
-
if (
|
|
332
|
+
if (n < 4)
|
|
341
333
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
342
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
334
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
343
335
|
break;
|
|
344
336
|
case "c":
|
|
345
|
-
if (
|
|
337
|
+
if (n < 4)
|
|
346
338
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
347
|
-
t.weekday = ["short", "long", "narrow", "short"][
|
|
339
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
348
340
|
break;
|
|
349
341
|
case "a":
|
|
350
342
|
t.hour12 = !0;
|
|
@@ -353,32 +345,32 @@ function Pr(e) {
|
|
|
353
345
|
case "B":
|
|
354
346
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
355
347
|
case "h":
|
|
356
|
-
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][
|
|
348
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
357
349
|
break;
|
|
358
350
|
case "H":
|
|
359
|
-
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][
|
|
351
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
360
352
|
break;
|
|
361
353
|
case "K":
|
|
362
|
-
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][
|
|
354
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
363
355
|
break;
|
|
364
356
|
case "k":
|
|
365
|
-
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][
|
|
357
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
366
358
|
break;
|
|
367
359
|
case "j":
|
|
368
360
|
case "J":
|
|
369
361
|
case "C":
|
|
370
362
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
371
363
|
case "m":
|
|
372
|
-
t.minute = ["numeric", "2-digit"][
|
|
364
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
373
365
|
break;
|
|
374
366
|
case "s":
|
|
375
|
-
t.second = ["numeric", "2-digit"][
|
|
367
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
376
368
|
break;
|
|
377
369
|
case "S":
|
|
378
370
|
case "A":
|
|
379
371
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
380
372
|
case "z":
|
|
381
|
-
t.timeZoneName =
|
|
373
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
382
374
|
break;
|
|
383
375
|
case "Z":
|
|
384
376
|
case "O":
|
|
@@ -391,14 +383,24 @@ function Pr(e) {
|
|
|
391
383
|
return "";
|
|
392
384
|
}), t;
|
|
393
385
|
}
|
|
394
|
-
var
|
|
395
|
-
function
|
|
386
|
+
var V = function() {
|
|
387
|
+
return V = Object.assign || function(t) {
|
|
388
|
+
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
389
|
+
r = arguments[n];
|
|
390
|
+
for (var o in r)
|
|
391
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
392
|
+
}
|
|
393
|
+
return t;
|
|
394
|
+
}, V.apply(this, arguments);
|
|
395
|
+
};
|
|
396
|
+
var kn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
397
|
+
function Un(e) {
|
|
396
398
|
if (e.length === 0)
|
|
397
399
|
throw new Error("Number skeleton cannot be empty");
|
|
398
|
-
for (var t = e.split(
|
|
400
|
+
for (var t = e.split(kn).filter(function(v) {
|
|
399
401
|
return v.length > 0;
|
|
400
|
-
}),
|
|
401
|
-
var
|
|
402
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
403
|
+
var o = i[n], f = o.split("/");
|
|
402
404
|
if (f.length === 0)
|
|
403
405
|
throw new Error("Invalid number skeleton");
|
|
404
406
|
for (var c = f[0], d = f.slice(1), u = 0, l = d; u < l.length; u++) {
|
|
@@ -406,21 +408,21 @@ function kr(e) {
|
|
|
406
408
|
if (g.length === 0)
|
|
407
409
|
throw new Error("Invalid number skeleton");
|
|
408
410
|
}
|
|
409
|
-
|
|
411
|
+
r.push({ stem: c, options: d });
|
|
410
412
|
}
|
|
411
|
-
return
|
|
413
|
+
return r;
|
|
412
414
|
}
|
|
413
|
-
function
|
|
415
|
+
function Gn(e) {
|
|
414
416
|
return e.replace(/^(.*?)-/, "");
|
|
415
417
|
}
|
|
416
|
-
var
|
|
417
|
-
function
|
|
418
|
+
var Kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Or = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, Lr = /^(0+)$/;
|
|
419
|
+
function $t(e) {
|
|
418
420
|
var t = {};
|
|
419
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
420
|
-
return typeof i != "string" ? (t.minimumSignificantDigits =
|
|
421
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Or, function(r, n, i) {
|
|
422
|
+
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)), "";
|
|
421
423
|
}), t;
|
|
422
424
|
}
|
|
423
|
-
function
|
|
425
|
+
function Nr(e) {
|
|
424
426
|
switch (e) {
|
|
425
427
|
case "sign-auto":
|
|
426
428
|
return {
|
|
@@ -460,27 +462,27 @@ function Nn(e) {
|
|
|
460
462
|
};
|
|
461
463
|
}
|
|
462
464
|
}
|
|
463
|
-
function
|
|
465
|
+
function _n(e) {
|
|
464
466
|
var t;
|
|
465
467
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
466
468
|
notation: "engineering"
|
|
467
469
|
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
468
470
|
notation: "scientific"
|
|
469
471
|
}, e = e.slice(1)), t) {
|
|
470
|
-
var
|
|
471
|
-
if (
|
|
472
|
+
var r = e.slice(0, 2);
|
|
473
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Lr.test(e))
|
|
472
474
|
throw new Error("Malformed concise eng/scientific notation");
|
|
473
475
|
t.minimumIntegerDigits = e.length;
|
|
474
476
|
}
|
|
475
477
|
return t;
|
|
476
478
|
}
|
|
477
|
-
function
|
|
478
|
-
var t = {},
|
|
479
|
-
return
|
|
479
|
+
function er(e) {
|
|
480
|
+
var t = {}, r = Nr(e);
|
|
481
|
+
return r || t;
|
|
480
482
|
}
|
|
481
|
-
function
|
|
482
|
-
for (var t = {},
|
|
483
|
-
var i = r
|
|
483
|
+
function Qn(e) {
|
|
484
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
485
|
+
var i = n[r];
|
|
484
486
|
switch (i.stem) {
|
|
485
487
|
case "percent":
|
|
486
488
|
case "%":
|
|
@@ -502,7 +504,7 @@ function _r(e) {
|
|
|
502
504
|
continue;
|
|
503
505
|
case "measure-unit":
|
|
504
506
|
case "unit":
|
|
505
|
-
t.style = "unit", t.unit =
|
|
507
|
+
t.style = "unit", t.unit = Gn(i.options[0]);
|
|
506
508
|
continue;
|
|
507
509
|
case "compact-short":
|
|
508
510
|
case "K":
|
|
@@ -513,13 +515,13 @@ function _r(e) {
|
|
|
513
515
|
t.notation = "compact", t.compactDisplay = "long";
|
|
514
516
|
continue;
|
|
515
517
|
case "scientific":
|
|
516
|
-
t =
|
|
517
|
-
return
|
|
518
|
+
t = V(V(V({}, t), { notation: "scientific" }), i.options.reduce(function(d, u) {
|
|
519
|
+
return V(V({}, d), er(u));
|
|
518
520
|
}, {}));
|
|
519
521
|
continue;
|
|
520
522
|
case "engineering":
|
|
521
|
-
t =
|
|
522
|
-
return
|
|
523
|
+
t = V(V(V({}, t), { notation: "engineering" }), i.options.reduce(function(d, u) {
|
|
524
|
+
return V(V({}, d), er(u));
|
|
523
525
|
}, {}));
|
|
524
526
|
continue;
|
|
525
527
|
case "notation-simple":
|
|
@@ -564,7 +566,7 @@ function _r(e) {
|
|
|
564
566
|
case "integer-width":
|
|
565
567
|
if (i.options.length > 1)
|
|
566
568
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
567
|
-
i.options[0].replace(
|
|
569
|
+
i.options[0].replace(Fn, function(d, u, l, g, v, S) {
|
|
568
570
|
if (u)
|
|
569
571
|
t.minimumIntegerDigits = l.length;
|
|
570
572
|
else {
|
|
@@ -577,28 +579,28 @@ function _r(e) {
|
|
|
577
579
|
});
|
|
578
580
|
continue;
|
|
579
581
|
}
|
|
580
|
-
if (
|
|
582
|
+
if (Lr.test(i.stem)) {
|
|
581
583
|
t.minimumIntegerDigits = i.stem.length;
|
|
582
584
|
continue;
|
|
583
585
|
}
|
|
584
|
-
if (
|
|
586
|
+
if (Kt.test(i.stem)) {
|
|
585
587
|
if (i.options.length > 1)
|
|
586
588
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
587
|
-
i.stem.replace(
|
|
589
|
+
i.stem.replace(Kt, function(d, u, l, g, v, S) {
|
|
588
590
|
return l === "*" ? t.minimumFractionDigits = u.length : g && g[0] === "#" ? t.maximumFractionDigits = g.length : v && S ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + S.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
589
591
|
});
|
|
590
|
-
var
|
|
591
|
-
|
|
592
|
+
var o = i.options[0];
|
|
593
|
+
o === "w" ? t = V(V({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = V(V({}, t), $t(o)));
|
|
592
594
|
continue;
|
|
593
595
|
}
|
|
594
|
-
if (
|
|
595
|
-
t =
|
|
596
|
+
if (Or.test(i.stem)) {
|
|
597
|
+
t = V(V({}, t), $t(i.stem));
|
|
596
598
|
continue;
|
|
597
599
|
}
|
|
598
|
-
var f =
|
|
599
|
-
f && (t =
|
|
600
|
-
var c =
|
|
601
|
-
c && (t =
|
|
600
|
+
var f = Nr(i.stem);
|
|
601
|
+
f && (t = V(V({}, t), f));
|
|
602
|
+
var c = _n(i.stem);
|
|
603
|
+
c && (t = V(V({}, t), c));
|
|
602
604
|
}
|
|
603
605
|
return t;
|
|
604
606
|
}
|
|
@@ -2017,23 +2019,23 @@ var at = {
|
|
|
2017
2019
|
"h"
|
|
2018
2020
|
]
|
|
2019
2021
|
};
|
|
2020
|
-
function
|
|
2021
|
-
for (var
|
|
2022
|
-
var i = e.charAt(
|
|
2022
|
+
function jn(e, t) {
|
|
2023
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
2024
|
+
var i = e.charAt(n);
|
|
2023
2025
|
if (i === "j") {
|
|
2024
|
-
for (var
|
|
2025
|
-
|
|
2026
|
-
var f = 1 + (
|
|
2026
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2027
|
+
o++, n++;
|
|
2028
|
+
var f = 1 + (o & 1), c = o < 2 ? 1 : 3 + (o >> 1), d = "a", u = Jn(t);
|
|
2027
2029
|
for ((u == "H" || u == "k") && (c = 0); c-- > 0; )
|
|
2028
|
-
|
|
2030
|
+
r += d;
|
|
2029
2031
|
for (; f-- > 0; )
|
|
2030
|
-
|
|
2032
|
+
r = u + r;
|
|
2031
2033
|
} else
|
|
2032
|
-
i === "J" ?
|
|
2034
|
+
i === "J" ? r += "H" : r += i;
|
|
2033
2035
|
}
|
|
2034
|
-
return
|
|
2036
|
+
return r;
|
|
2035
2037
|
}
|
|
2036
|
-
function
|
|
2038
|
+
function Jn(e) {
|
|
2037
2039
|
var t = e.hourCycle;
|
|
2038
2040
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2039
2041
|
e.hourCycles && // @ts-ignore
|
|
@@ -2050,73 +2052,73 @@ function jr(e) {
|
|
|
2050
2052
|
default:
|
|
2051
2053
|
throw new Error("Invalid hourCycle");
|
|
2052
2054
|
}
|
|
2053
|
-
var
|
|
2054
|
-
|
|
2055
|
-
var i = at[
|
|
2055
|
+
var r = e.language, n;
|
|
2056
|
+
r !== "root" && (n = e.maximize().region);
|
|
2057
|
+
var i = at[n || ""] || at[r || ""] || at["".concat(r, "-001")] || at["001"];
|
|
2056
2058
|
return i[0];
|
|
2057
2059
|
}
|
|
2058
|
-
var
|
|
2060
|
+
var Ct, Xn = new RegExp("^".concat(Sr.source, "*")), zn = new RegExp("".concat(Sr.source, "*$"));
|
|
2059
2061
|
function D(e, t) {
|
|
2060
2062
|
return { start: e, end: t };
|
|
2061
2063
|
}
|
|
2062
|
-
var
|
|
2064
|
+
var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Zn = !!String.fromCodePoint, qn = !!Object.fromEntries, Yn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, $n = !!Number.isSafeInteger, ei = $n ? Number.isSafeInteger : function(e) {
|
|
2063
2065
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2064
|
-
},
|
|
2066
|
+
}, Pt = !0;
|
|
2065
2067
|
try {
|
|
2066
|
-
var
|
|
2067
|
-
|
|
2068
|
+
var ti = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2069
|
+
Pt = ((Ct = ti.exec("a")) === null || Ct === void 0 ? void 0 : Ct[0]) === "a";
|
|
2068
2070
|
} catch (e) {
|
|
2069
|
-
|
|
2071
|
+
Pt = !1;
|
|
2070
2072
|
}
|
|
2071
|
-
var
|
|
2073
|
+
var tr = Vn ? (
|
|
2072
2074
|
// Native
|
|
2073
|
-
function(t,
|
|
2074
|
-
return t.startsWith(
|
|
2075
|
+
function(t, r, n) {
|
|
2076
|
+
return t.startsWith(r, n);
|
|
2075
2077
|
}
|
|
2076
2078
|
) : (
|
|
2077
2079
|
// For IE11
|
|
2078
|
-
function(t,
|
|
2079
|
-
return t.slice(
|
|
2080
|
+
function(t, r, n) {
|
|
2081
|
+
return t.slice(n, n + r.length) === r;
|
|
2080
2082
|
}
|
|
2081
|
-
),
|
|
2083
|
+
), Mt = Zn ? String.fromCodePoint : (
|
|
2082
2084
|
// IE11
|
|
2083
2085
|
function() {
|
|
2084
|
-
for (var t = [],
|
|
2085
|
-
t[
|
|
2086
|
-
for (var
|
|
2087
|
-
if (f = t[
|
|
2086
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
2087
|
+
t[r] = arguments[r];
|
|
2088
|
+
for (var n = "", i = t.length, o = 0, f; i > o; ) {
|
|
2089
|
+
if (f = t[o++], f > 1114111)
|
|
2088
2090
|
throw RangeError(f + " is not a valid code point");
|
|
2089
|
-
|
|
2091
|
+
n += f < 65536 ? String.fromCharCode(f) : String.fromCharCode(((f -= 65536) >> 10) + 55296, f % 1024 + 56320);
|
|
2090
2092
|
}
|
|
2091
|
-
return
|
|
2093
|
+
return n;
|
|
2092
2094
|
}
|
|
2093
|
-
),
|
|
2095
|
+
), rr = (
|
|
2094
2096
|
// native
|
|
2095
|
-
|
|
2097
|
+
qn ? Object.fromEntries : (
|
|
2096
2098
|
// Ponyfill
|
|
2097
2099
|
function(t) {
|
|
2098
|
-
for (var
|
|
2099
|
-
var
|
|
2100
|
-
|
|
2100
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
2101
|
+
var o = i[n], f = o[0], c = o[1];
|
|
2102
|
+
r[f] = c;
|
|
2101
2103
|
}
|
|
2102
|
-
return
|
|
2104
|
+
return r;
|
|
2103
2105
|
}
|
|
2104
2106
|
)
|
|
2105
|
-
),
|
|
2107
|
+
), Dr = Yn ? (
|
|
2106
2108
|
// Native
|
|
2107
|
-
function(t,
|
|
2108
|
-
return t.codePointAt(
|
|
2109
|
+
function(t, r) {
|
|
2110
|
+
return t.codePointAt(r);
|
|
2109
2111
|
}
|
|
2110
2112
|
) : (
|
|
2111
2113
|
// IE 11
|
|
2112
|
-
function(t,
|
|
2113
|
-
var
|
|
2114
|
-
if (!(
|
|
2115
|
-
var i = t.charCodeAt(
|
|
2116
|
-
return i < 55296 || i > 56319 ||
|
|
2114
|
+
function(t, r) {
|
|
2115
|
+
var n = t.length;
|
|
2116
|
+
if (!(r < 0 || r >= n)) {
|
|
2117
|
+
var i = t.charCodeAt(r), o;
|
|
2118
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
2117
2119
|
}
|
|
2118
2120
|
}
|
|
2119
|
-
),
|
|
2121
|
+
), ri = Wn ? (
|
|
2120
2122
|
// Native
|
|
2121
2123
|
function(t) {
|
|
2122
2124
|
return t.trimStart();
|
|
@@ -2124,9 +2126,9 @@ var en = zr ? (
|
|
|
2124
2126
|
) : (
|
|
2125
2127
|
// Ponyfill
|
|
2126
2128
|
function(t) {
|
|
2127
|
-
return t.replace(
|
|
2129
|
+
return t.replace(Xn, "");
|
|
2128
2130
|
}
|
|
2129
|
-
), ni =
|
|
2131
|
+
), ni = Kn ? (
|
|
2130
2132
|
// Native
|
|
2131
2133
|
function(t) {
|
|
2132
2134
|
return t.trimEnd();
|
|
@@ -2134,69 +2136,69 @@ var en = zr ? (
|
|
|
2134
2136
|
) : (
|
|
2135
2137
|
// Ponyfill
|
|
2136
2138
|
function(t) {
|
|
2137
|
-
return t.replace(
|
|
2139
|
+
return t.replace(zn, "");
|
|
2138
2140
|
}
|
|
2139
2141
|
);
|
|
2140
|
-
function
|
|
2142
|
+
function Pr(e, t) {
|
|
2141
2143
|
return new RegExp(e, t);
|
|
2142
2144
|
}
|
|
2143
|
-
var
|
|
2144
|
-
if (
|
|
2145
|
-
var
|
|
2146
|
-
|
|
2147
|
-
var
|
|
2148
|
-
|
|
2149
|
-
var i =
|
|
2150
|
-
return (
|
|
2145
|
+
var kt;
|
|
2146
|
+
if (Pt) {
|
|
2147
|
+
var nr = Pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2148
|
+
kt = function(t, r) {
|
|
2149
|
+
var n;
|
|
2150
|
+
nr.lastIndex = r;
|
|
2151
|
+
var i = nr.exec(t);
|
|
2152
|
+
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2151
2153
|
};
|
|
2152
2154
|
} else
|
|
2153
|
-
|
|
2154
|
-
for (var
|
|
2155
|
-
var i =
|
|
2156
|
-
if (i === void 0 ||
|
|
2155
|
+
kt = function(t, r) {
|
|
2156
|
+
for (var n = []; ; ) {
|
|
2157
|
+
var i = Dr(t, r);
|
|
2158
|
+
if (i === void 0 || Mr(i) || si(i))
|
|
2157
2159
|
break;
|
|
2158
|
-
|
|
2160
|
+
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2159
2161
|
}
|
|
2160
|
-
return
|
|
2162
|
+
return Mt.apply(void 0, n);
|
|
2161
2163
|
};
|
|
2162
|
-
var
|
|
2164
|
+
var ii = (
|
|
2163
2165
|
/** @class */
|
|
2164
2166
|
function() {
|
|
2165
|
-
function e(t,
|
|
2166
|
-
|
|
2167
|
+
function e(t, r) {
|
|
2168
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
2167
2169
|
}
|
|
2168
2170
|
return e.prototype.parse = function() {
|
|
2169
2171
|
if (this.offset() !== 0)
|
|
2170
2172
|
throw Error("parser can only be used once");
|
|
2171
2173
|
return this.parseMessage(0, "", !1);
|
|
2172
|
-
}, e.prototype.parseMessage = function(t,
|
|
2174
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
2173
2175
|
for (var i = []; !this.isEOF(); ) {
|
|
2174
|
-
var
|
|
2175
|
-
if (
|
|
2176
|
-
var f = this.parseArgument(t,
|
|
2176
|
+
var o = this.char();
|
|
2177
|
+
if (o === 123) {
|
|
2178
|
+
var f = this.parseArgument(t, n);
|
|
2177
2179
|
if (f.err)
|
|
2178
2180
|
return f;
|
|
2179
2181
|
i.push(f.val);
|
|
2180
2182
|
} else {
|
|
2181
|
-
if (
|
|
2183
|
+
if (o === 125 && t > 0)
|
|
2182
2184
|
break;
|
|
2183
|
-
if (
|
|
2185
|
+
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2184
2186
|
var c = this.clonePosition();
|
|
2185
2187
|
this.bump(), i.push({
|
|
2186
|
-
type:
|
|
2188
|
+
type: X.pound,
|
|
2187
2189
|
location: D(c, this.clonePosition())
|
|
2188
2190
|
});
|
|
2189
|
-
} else if (
|
|
2190
|
-
if (
|
|
2191
|
+
} else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2192
|
+
if (n)
|
|
2191
2193
|
break;
|
|
2192
2194
|
return this.error(L.UNMATCHED_CLOSING_TAG, D(this.clonePosition(), this.clonePosition()));
|
|
2193
|
-
} else if (
|
|
2194
|
-
var f = this.parseTag(t,
|
|
2195
|
+
} else if (o === 60 && !this.ignoreTag && Ut(this.peek() || 0)) {
|
|
2196
|
+
var f = this.parseTag(t, r);
|
|
2195
2197
|
if (f.err)
|
|
2196
2198
|
return f;
|
|
2197
2199
|
i.push(f.val);
|
|
2198
2200
|
} else {
|
|
2199
|
-
var f = this.parseLiteral(t,
|
|
2201
|
+
var f = this.parseLiteral(t, r);
|
|
2200
2202
|
if (f.err)
|
|
2201
2203
|
return f;
|
|
2202
2204
|
i.push(f.val);
|
|
@@ -2204,54 +2206,54 @@ var ri = (
|
|
|
2204
2206
|
}
|
|
2205
2207
|
}
|
|
2206
2208
|
return { val: i, err: null };
|
|
2207
|
-
}, e.prototype.parseTag = function(t,
|
|
2208
|
-
var
|
|
2209
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
2210
|
+
var n = this.clonePosition();
|
|
2209
2211
|
this.bump();
|
|
2210
2212
|
var i = this.parseTagName();
|
|
2211
2213
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2212
2214
|
return {
|
|
2213
2215
|
val: {
|
|
2214
|
-
type:
|
|
2216
|
+
type: X.literal,
|
|
2215
2217
|
value: "<".concat(i, "/>"),
|
|
2216
|
-
location: D(
|
|
2218
|
+
location: D(n, this.clonePosition())
|
|
2217
2219
|
},
|
|
2218
2220
|
err: null
|
|
2219
2221
|
};
|
|
2220
2222
|
if (this.bumpIf(">")) {
|
|
2221
|
-
var
|
|
2222
|
-
if (
|
|
2223
|
-
return
|
|
2224
|
-
var f =
|
|
2223
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
2224
|
+
if (o.err)
|
|
2225
|
+
return o;
|
|
2226
|
+
var f = o.val, c = this.clonePosition();
|
|
2225
2227
|
if (this.bumpIf("</")) {
|
|
2226
|
-
if (this.isEOF() || !
|
|
2228
|
+
if (this.isEOF() || !Ut(this.char()))
|
|
2227
2229
|
return this.error(L.INVALID_TAG, D(c, this.clonePosition()));
|
|
2228
2230
|
var d = this.clonePosition(), u = this.parseTagName();
|
|
2229
2231
|
return i !== u ? this.error(L.UNMATCHED_CLOSING_TAG, D(d, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2230
2232
|
val: {
|
|
2231
|
-
type:
|
|
2233
|
+
type: X.tag,
|
|
2232
2234
|
value: i,
|
|
2233
2235
|
children: f,
|
|
2234
|
-
location: D(
|
|
2236
|
+
location: D(n, this.clonePosition())
|
|
2235
2237
|
},
|
|
2236
2238
|
err: null
|
|
2237
2239
|
} : this.error(L.INVALID_TAG, D(c, this.clonePosition())));
|
|
2238
2240
|
} else
|
|
2239
|
-
return this.error(L.UNCLOSED_TAG, D(
|
|
2241
|
+
return this.error(L.UNCLOSED_TAG, D(n, this.clonePosition()));
|
|
2240
2242
|
} else
|
|
2241
|
-
return this.error(L.INVALID_TAG, D(
|
|
2243
|
+
return this.error(L.INVALID_TAG, D(n, this.clonePosition()));
|
|
2242
2244
|
}, e.prototype.parseTagName = function() {
|
|
2243
2245
|
var t = this.offset();
|
|
2244
2246
|
for (this.bump(); !this.isEOF() && ai(this.char()); )
|
|
2245
2247
|
this.bump();
|
|
2246
2248
|
return this.message.slice(t, this.offset());
|
|
2247
|
-
}, e.prototype.parseLiteral = function(t,
|
|
2248
|
-
for (var
|
|
2249
|
-
var
|
|
2250
|
-
if (
|
|
2251
|
-
i +=
|
|
2249
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
2250
|
+
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
2251
|
+
var o = this.tryParseQuote(r);
|
|
2252
|
+
if (o) {
|
|
2253
|
+
i += o;
|
|
2252
2254
|
continue;
|
|
2253
2255
|
}
|
|
2254
|
-
var f = this.tryParseUnquoted(t,
|
|
2256
|
+
var f = this.tryParseUnquoted(t, r);
|
|
2255
2257
|
if (f) {
|
|
2256
2258
|
i += f;
|
|
2257
2259
|
continue;
|
|
@@ -2263,14 +2265,14 @@ var ri = (
|
|
|
2263
2265
|
}
|
|
2264
2266
|
break;
|
|
2265
2267
|
}
|
|
2266
|
-
var d = D(
|
|
2268
|
+
var d = D(n, this.clonePosition());
|
|
2267
2269
|
return {
|
|
2268
|
-
val: { type:
|
|
2270
|
+
val: { type: X.literal, value: i, location: d },
|
|
2269
2271
|
err: null
|
|
2270
2272
|
};
|
|
2271
2273
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2272
2274
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2273
|
-
!
|
|
2275
|
+
!oi(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2274
2276
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2275
2277
|
if (this.isEOF() || this.char() !== 39)
|
|
2276
2278
|
return null;
|
|
@@ -2290,60 +2292,60 @@ var ri = (
|
|
|
2290
2292
|
return null;
|
|
2291
2293
|
}
|
|
2292
2294
|
this.bump();
|
|
2293
|
-
var
|
|
2295
|
+
var r = [this.char()];
|
|
2294
2296
|
for (this.bump(); !this.isEOF(); ) {
|
|
2295
|
-
var
|
|
2296
|
-
if (
|
|
2297
|
+
var n = this.char();
|
|
2298
|
+
if (n === 39)
|
|
2297
2299
|
if (this.peek() === 39)
|
|
2298
|
-
|
|
2300
|
+
r.push(39), this.bump();
|
|
2299
2301
|
else {
|
|
2300
2302
|
this.bump();
|
|
2301
2303
|
break;
|
|
2302
2304
|
}
|
|
2303
2305
|
else
|
|
2304
|
-
|
|
2306
|
+
r.push(n);
|
|
2305
2307
|
this.bump();
|
|
2306
2308
|
}
|
|
2307
|
-
return
|
|
2308
|
-
}, e.prototype.tryParseUnquoted = function(t,
|
|
2309
|
+
return Mt.apply(void 0, r);
|
|
2310
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2309
2311
|
if (this.isEOF())
|
|
2310
2312
|
return null;
|
|
2311
|
-
var
|
|
2312
|
-
return
|
|
2313
|
-
}, e.prototype.parseArgument = function(t,
|
|
2314
|
-
var
|
|
2313
|
+
var n = this.char();
|
|
2314
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Mt(n));
|
|
2315
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
2316
|
+
var n = this.clonePosition();
|
|
2315
2317
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
2316
|
-
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(
|
|
2318
|
+
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
|
|
2317
2319
|
if (this.char() === 125)
|
|
2318
|
-
return this.bump(), this.error(L.EMPTY_ARGUMENT, D(
|
|
2320
|
+
return this.bump(), this.error(L.EMPTY_ARGUMENT, D(n, this.clonePosition()));
|
|
2319
2321
|
var i = this.parseIdentifierIfPossible().value;
|
|
2320
2322
|
if (!i)
|
|
2321
|
-
return this.error(L.MALFORMED_ARGUMENT, D(
|
|
2323
|
+
return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
|
|
2322
2324
|
if (this.bumpSpace(), this.isEOF())
|
|
2323
|
-
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(
|
|
2325
|
+
return this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition()));
|
|
2324
2326
|
switch (this.char()) {
|
|
2325
2327
|
case 125:
|
|
2326
2328
|
return this.bump(), {
|
|
2327
2329
|
val: {
|
|
2328
|
-
type:
|
|
2330
|
+
type: X.argument,
|
|
2329
2331
|
// value does not include the opening and closing braces.
|
|
2330
2332
|
value: i,
|
|
2331
|
-
location: D(
|
|
2333
|
+
location: D(n, this.clonePosition())
|
|
2332
2334
|
},
|
|
2333
2335
|
err: null
|
|
2334
2336
|
};
|
|
2335
2337
|
case 44:
|
|
2336
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(
|
|
2338
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
2337
2339
|
default:
|
|
2338
|
-
return this.error(L.MALFORMED_ARGUMENT, D(
|
|
2340
|
+
return this.error(L.MALFORMED_ARGUMENT, D(n, this.clonePosition()));
|
|
2339
2341
|
}
|
|
2340
2342
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2341
|
-
var t = this.clonePosition(),
|
|
2343
|
+
var t = this.clonePosition(), r = this.offset(), n = kt(this.message, r), i = r + n.length;
|
|
2342
2344
|
this.bumpTo(i);
|
|
2343
|
-
var
|
|
2344
|
-
return { value:
|
|
2345
|
-
}, e.prototype.parseArgumentOptions = function(t,
|
|
2346
|
-
var
|
|
2345
|
+
var o = this.clonePosition(), f = D(t, o);
|
|
2346
|
+
return { value: n, location: f };
|
|
2347
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
2348
|
+
var o, f = this.clonePosition(), c = this.parseIdentifierIfPossible().value, d = this.clonePosition();
|
|
2347
2349
|
switch (c) {
|
|
2348
2350
|
case "":
|
|
2349
2351
|
return this.error(L.EXPECT_ARGUMENT_TYPE, D(f, d));
|
|
@@ -2367,37 +2369,37 @@ var ri = (
|
|
|
2367
2369
|
if (M.err)
|
|
2368
2370
|
return M;
|
|
2369
2371
|
var x = D(i, this.clonePosition());
|
|
2370
|
-
if (u &&
|
|
2371
|
-
var C =
|
|
2372
|
+
if (u && tr(u == null ? void 0 : u.style, "::", 0)) {
|
|
2373
|
+
var C = ri(u.style.slice(2));
|
|
2372
2374
|
if (c === "number") {
|
|
2373
2375
|
var g = this.parseNumberSkeletonFromString(C, u.styleLocation);
|
|
2374
2376
|
return g.err ? g : {
|
|
2375
|
-
val: { type:
|
|
2377
|
+
val: { type: X.number, value: n, location: x, style: g.val },
|
|
2376
2378
|
err: null
|
|
2377
2379
|
};
|
|
2378
2380
|
} else {
|
|
2379
2381
|
if (C.length === 0)
|
|
2380
2382
|
return this.error(L.EXPECT_DATE_TIME_SKELETON, x);
|
|
2381
2383
|
var B = C;
|
|
2382
|
-
this.locale && (B =
|
|
2384
|
+
this.locale && (B = jn(C, this.locale));
|
|
2383
2385
|
var v = {
|
|
2384
|
-
type:
|
|
2386
|
+
type: ke.dateTime,
|
|
2385
2387
|
pattern: B,
|
|
2386
2388
|
location: u.styleLocation,
|
|
2387
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2388
|
-
},
|
|
2389
|
+
parsedOptions: this.shouldParseSkeletons ? Mn(B) : {}
|
|
2390
|
+
}, k = c === "date" ? X.date : X.time;
|
|
2389
2391
|
return {
|
|
2390
|
-
val: { type:
|
|
2392
|
+
val: { type: k, value: n, location: x, style: v },
|
|
2391
2393
|
err: null
|
|
2392
2394
|
};
|
|
2393
2395
|
}
|
|
2394
2396
|
}
|
|
2395
2397
|
return {
|
|
2396
2398
|
val: {
|
|
2397
|
-
type: c === "number" ?
|
|
2398
|
-
value:
|
|
2399
|
+
type: c === "number" ? X.number : c === "date" ? X.date : X.time,
|
|
2400
|
+
value: n,
|
|
2399
2401
|
location: x,
|
|
2400
|
-
style: (
|
|
2402
|
+
style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
|
|
2401
2403
|
},
|
|
2402
2404
|
err: null
|
|
2403
2405
|
};
|
|
@@ -2407,7 +2409,7 @@ var ri = (
|
|
|
2407
2409
|
case "select": {
|
|
2408
2410
|
var N = this.clonePosition();
|
|
2409
2411
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2410
|
-
return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, D(N,
|
|
2412
|
+
return this.error(L.EXPECT_SELECT_ARGUMENT_OPTIONS, D(N, ht({}, N)));
|
|
2411
2413
|
this.bumpSpace();
|
|
2412
2414
|
var P = this.parseIdentifierIfPossible(), T = 0;
|
|
2413
2415
|
if (c !== "select" && P.value === "offset") {
|
|
@@ -2419,29 +2421,29 @@ var ri = (
|
|
|
2419
2421
|
return g;
|
|
2420
2422
|
this.bumpSpace(), P = this.parseIdentifierIfPossible(), T = g.val;
|
|
2421
2423
|
}
|
|
2422
|
-
var E = this.tryParsePluralOrSelectOptions(t, c,
|
|
2424
|
+
var E = this.tryParsePluralOrSelectOptions(t, c, r, P);
|
|
2423
2425
|
if (E.err)
|
|
2424
2426
|
return E;
|
|
2425
2427
|
var M = this.tryParseArgumentClose(i);
|
|
2426
2428
|
if (M.err)
|
|
2427
2429
|
return M;
|
|
2428
|
-
var
|
|
2430
|
+
var F = D(i, this.clonePosition());
|
|
2429
2431
|
return c === "select" ? {
|
|
2430
2432
|
val: {
|
|
2431
|
-
type:
|
|
2432
|
-
value:
|
|
2433
|
-
options:
|
|
2434
|
-
location:
|
|
2433
|
+
type: X.select,
|
|
2434
|
+
value: n,
|
|
2435
|
+
options: rr(E.val),
|
|
2436
|
+
location: F
|
|
2435
2437
|
},
|
|
2436
2438
|
err: null
|
|
2437
2439
|
} : {
|
|
2438
2440
|
val: {
|
|
2439
|
-
type:
|
|
2440
|
-
value:
|
|
2441
|
-
options:
|
|
2441
|
+
type: X.plural,
|
|
2442
|
+
value: n,
|
|
2443
|
+
options: rr(E.val),
|
|
2442
2444
|
offset: T,
|
|
2443
2445
|
pluralType: c === "plural" ? "cardinal" : "ordinal",
|
|
2444
|
-
location:
|
|
2446
|
+
location: F
|
|
2445
2447
|
},
|
|
2446
2448
|
err: null
|
|
2447
2449
|
};
|
|
@@ -2452,9 +2454,9 @@ var ri = (
|
|
|
2452
2454
|
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
2453
2455
|
return this.isEOF() || this.char() !== 125 ? this.error(L.EXPECT_ARGUMENT_CLOSING_BRACE, D(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
2454
2456
|
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
2455
|
-
for (var t = 0,
|
|
2456
|
-
var
|
|
2457
|
-
switch (
|
|
2457
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
2458
|
+
var n = this.char();
|
|
2459
|
+
switch (n) {
|
|
2458
2460
|
case 39: {
|
|
2459
2461
|
this.bump();
|
|
2460
2462
|
var i = this.clonePosition();
|
|
@@ -2472,7 +2474,7 @@ var ri = (
|
|
|
2472
2474
|
t -= 1;
|
|
2473
2475
|
else
|
|
2474
2476
|
return {
|
|
2475
|
-
val: this.message.slice(
|
|
2477
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
2476
2478
|
err: null
|
|
2477
2479
|
};
|
|
2478
2480
|
break;
|
|
@@ -2483,30 +2485,30 @@ var ri = (
|
|
|
2483
2485
|
}
|
|
2484
2486
|
}
|
|
2485
2487
|
return {
|
|
2486
|
-
val: this.message.slice(
|
|
2488
|
+
val: this.message.slice(r.offset, this.offset()),
|
|
2487
2489
|
err: null
|
|
2488
2490
|
};
|
|
2489
|
-
}, e.prototype.parseNumberSkeletonFromString = function(t,
|
|
2490
|
-
var
|
|
2491
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2492
|
+
var n = [];
|
|
2491
2493
|
try {
|
|
2492
|
-
|
|
2494
|
+
n = Un(t);
|
|
2493
2495
|
} catch (i) {
|
|
2494
|
-
return this.error(L.INVALID_NUMBER_SKELETON,
|
|
2496
|
+
return this.error(L.INVALID_NUMBER_SKELETON, r);
|
|
2495
2497
|
}
|
|
2496
2498
|
return {
|
|
2497
2499
|
val: {
|
|
2498
|
-
type:
|
|
2499
|
-
tokens:
|
|
2500
|
-
location:
|
|
2501
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2500
|
+
type: ke.number,
|
|
2501
|
+
tokens: n,
|
|
2502
|
+
location: r,
|
|
2503
|
+
parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
|
|
2502
2504
|
},
|
|
2503
2505
|
err: null
|
|
2504
2506
|
};
|
|
2505
|
-
}, e.prototype.tryParsePluralOrSelectOptions = function(t,
|
|
2506
|
-
for (var
|
|
2507
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
2508
|
+
for (var o, f = !1, c = [], d = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
2507
2509
|
if (u.length === 0) {
|
|
2508
2510
|
var g = this.clonePosition();
|
|
2509
|
-
if (
|
|
2511
|
+
if (r !== "select" && this.bumpIf("=")) {
|
|
2510
2512
|
var v = this.tryParseDecimalInteger(L.EXPECT_PLURAL_ARGUMENT_SELECTOR, L.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
2511
2513
|
if (v.err)
|
|
2512
2514
|
return v;
|
|
@@ -2515,12 +2517,12 @@ var ri = (
|
|
|
2515
2517
|
break;
|
|
2516
2518
|
}
|
|
2517
2519
|
if (d.has(u))
|
|
2518
|
-
return this.error(
|
|
2520
|
+
return this.error(r === "select" ? L.DUPLICATE_SELECT_ARGUMENT_SELECTOR : L.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
2519
2521
|
u === "other" && (f = !0), this.bumpSpace();
|
|
2520
2522
|
var S = this.clonePosition();
|
|
2521
2523
|
if (!this.bumpIf("{"))
|
|
2522
|
-
return this.error(
|
|
2523
|
-
var M = this.parseMessage(t + 1,
|
|
2524
|
+
return this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : L.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, D(this.clonePosition(), this.clonePosition()));
|
|
2525
|
+
var M = this.parseMessage(t + 1, r, n);
|
|
2524
2526
|
if (M.err)
|
|
2525
2527
|
return M;
|
|
2526
2528
|
var x = this.tryParseArgumentClose(S);
|
|
@@ -2532,21 +2534,21 @@ var ri = (
|
|
|
2532
2534
|
value: M.val,
|
|
2533
2535
|
location: D(S, this.clonePosition())
|
|
2534
2536
|
}
|
|
2535
|
-
]), d.add(u), this.bumpSpace(),
|
|
2537
|
+
]), d.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
2536
2538
|
}
|
|
2537
|
-
return c.length === 0 ? this.error(
|
|
2538
|
-
}, e.prototype.tryParseDecimalInteger = function(t,
|
|
2539
|
-
var
|
|
2540
|
-
this.bumpIf("+") || this.bumpIf("-") && (
|
|
2541
|
-
for (var
|
|
2539
|
+
return c.length === 0 ? this.error(r === "select" ? L.EXPECT_SELECT_ARGUMENT_SELECTOR : L.EXPECT_PLURAL_ARGUMENT_SELECTOR, D(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !f ? this.error(L.MISSING_OTHER_CLAUSE, D(this.clonePosition(), this.clonePosition())) : { val: c, err: null };
|
|
2540
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
2541
|
+
var n = 1, i = this.clonePosition();
|
|
2542
|
+
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
2543
|
+
for (var o = !1, f = 0; !this.isEOF(); ) {
|
|
2542
2544
|
var c = this.char();
|
|
2543
2545
|
if (c >= 48 && c <= 57)
|
|
2544
|
-
|
|
2546
|
+
o = !0, f = f * 10 + (c - 48), this.bump();
|
|
2545
2547
|
else
|
|
2546
2548
|
break;
|
|
2547
2549
|
}
|
|
2548
2550
|
var d = D(i, this.clonePosition());
|
|
2549
|
-
return
|
|
2551
|
+
return o ? (f *= n, ei(f) ? { val: f, err: null } : this.error(r, d)) : this.error(t, d);
|
|
2550
2552
|
}, e.prototype.offset = function() {
|
|
2551
2553
|
return this.position.offset;
|
|
2552
2554
|
}, e.prototype.isEOF = function() {
|
|
@@ -2561,17 +2563,17 @@ var ri = (
|
|
|
2561
2563
|
var t = this.position.offset;
|
|
2562
2564
|
if (t >= this.message.length)
|
|
2563
2565
|
throw Error("out of bound");
|
|
2564
|
-
var
|
|
2565
|
-
if (
|
|
2566
|
+
var r = Dr(this.message, t);
|
|
2567
|
+
if (r === void 0)
|
|
2566
2568
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2567
|
-
return
|
|
2568
|
-
}, e.prototype.error = function(t,
|
|
2569
|
+
return r;
|
|
2570
|
+
}, e.prototype.error = function(t, r) {
|
|
2569
2571
|
return {
|
|
2570
2572
|
val: null,
|
|
2571
2573
|
err: {
|
|
2572
2574
|
kind: t,
|
|
2573
2575
|
message: this.message,
|
|
2574
|
-
location:
|
|
2576
|
+
location: r
|
|
2575
2577
|
}
|
|
2576
2578
|
};
|
|
2577
2579
|
}, e.prototype.bump = function() {
|
|
@@ -2580,129 +2582,129 @@ var ri = (
|
|
|
2580
2582
|
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);
|
|
2581
2583
|
}
|
|
2582
2584
|
}, e.prototype.bumpIf = function(t) {
|
|
2583
|
-
if (
|
|
2584
|
-
for (var
|
|
2585
|
+
if (tr(this.message, t, this.offset())) {
|
|
2586
|
+
for (var r = 0; r < t.length; r++)
|
|
2585
2587
|
this.bump();
|
|
2586
2588
|
return !0;
|
|
2587
2589
|
}
|
|
2588
2590
|
return !1;
|
|
2589
2591
|
}, e.prototype.bumpUntil = function(t) {
|
|
2590
|
-
var
|
|
2591
|
-
return
|
|
2592
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
2593
|
+
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
2592
2594
|
}, e.prototype.bumpTo = function(t) {
|
|
2593
2595
|
if (this.offset() > t)
|
|
2594
2596
|
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
2595
2597
|
for (t = Math.min(t, this.message.length); ; ) {
|
|
2596
|
-
var
|
|
2597
|
-
if (
|
|
2598
|
+
var r = this.offset();
|
|
2599
|
+
if (r === t)
|
|
2598
2600
|
break;
|
|
2599
|
-
if (
|
|
2601
|
+
if (r > t)
|
|
2600
2602
|
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
2601
2603
|
if (this.bump(), this.isEOF())
|
|
2602
2604
|
break;
|
|
2603
2605
|
}
|
|
2604
2606
|
}, e.prototype.bumpSpace = function() {
|
|
2605
|
-
for (; !this.isEOF() &&
|
|
2607
|
+
for (; !this.isEOF() && Mr(this.char()); )
|
|
2606
2608
|
this.bump();
|
|
2607
2609
|
}, e.prototype.peek = function() {
|
|
2608
2610
|
if (this.isEOF())
|
|
2609
2611
|
return null;
|
|
2610
|
-
var t = this.char(),
|
|
2611
|
-
return
|
|
2612
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
2613
|
+
return n != null ? n : null;
|
|
2612
2614
|
}, e;
|
|
2613
2615
|
}()
|
|
2614
2616
|
);
|
|
2615
|
-
function
|
|
2617
|
+
function Ut(e) {
|
|
2616
2618
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
2617
2619
|
}
|
|
2618
|
-
function
|
|
2619
|
-
return
|
|
2620
|
+
function oi(e) {
|
|
2621
|
+
return Ut(e) || e === 47;
|
|
2620
2622
|
}
|
|
2621
2623
|
function ai(e) {
|
|
2622
2624
|
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;
|
|
2623
2625
|
}
|
|
2624
|
-
function
|
|
2626
|
+
function Mr(e) {
|
|
2625
2627
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
2626
2628
|
}
|
|
2627
|
-
function
|
|
2629
|
+
function si(e) {
|
|
2628
2630
|
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;
|
|
2629
2631
|
}
|
|
2630
|
-
function
|
|
2632
|
+
function Gt(e) {
|
|
2631
2633
|
e.forEach(function(t) {
|
|
2632
|
-
if (delete t.location,
|
|
2633
|
-
for (var
|
|
2634
|
-
delete t.options[
|
|
2634
|
+
if (delete t.location, Tr(t) || Hr(t))
|
|
2635
|
+
for (var r in t.options)
|
|
2636
|
+
delete t.options[r].location, Gt(t.options[r].value);
|
|
2635
2637
|
else
|
|
2636
|
-
|
|
2638
|
+
Ir(t) && Rr(t.style) || (xr(t) || Br(t)) && Dt(t.style) ? delete t.style.location : Cr(t) && Gt(t.children);
|
|
2637
2639
|
});
|
|
2638
2640
|
}
|
|
2639
|
-
function
|
|
2640
|
-
t === void 0 && (t = {}), t =
|
|
2641
|
-
var
|
|
2642
|
-
if (
|
|
2643
|
-
var
|
|
2644
|
-
throw
|
|
2641
|
+
function ui(e, t) {
|
|
2642
|
+
t === void 0 && (t = {}), t = ht({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
2643
|
+
var r = new ii(e, t).parse();
|
|
2644
|
+
if (r.err) {
|
|
2645
|
+
var n = SyntaxError(L[r.err.kind]);
|
|
2646
|
+
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
2645
2647
|
}
|
|
2646
|
-
return t != null && t.captureLocation ||
|
|
2648
|
+
return t != null && t.captureLocation || Gt(r.val), r.val;
|
|
2647
2649
|
}
|
|
2648
|
-
var
|
|
2650
|
+
var Ue;
|
|
2649
2651
|
(function(e) {
|
|
2650
2652
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
2651
|
-
})(
|
|
2652
|
-
var
|
|
2653
|
+
})(Ue || (Ue = {}));
|
|
2654
|
+
var At = (
|
|
2653
2655
|
/** @class */
|
|
2654
2656
|
function(e) {
|
|
2655
|
-
|
|
2656
|
-
function t(
|
|
2657
|
-
var
|
|
2658
|
-
return
|
|
2657
|
+
pt(t, e);
|
|
2658
|
+
function t(r, n, i) {
|
|
2659
|
+
var o = e.call(this, r) || this;
|
|
2660
|
+
return o.code = n, o.originalMessage = i, o;
|
|
2659
2661
|
}
|
|
2660
2662
|
return t.prototype.toString = function() {
|
|
2661
2663
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
2662
2664
|
}, t;
|
|
2663
2665
|
}(Error)
|
|
2664
|
-
),
|
|
2666
|
+
), ir = (
|
|
2665
2667
|
/** @class */
|
|
2666
2668
|
function(e) {
|
|
2667
|
-
|
|
2668
|
-
function t(
|
|
2669
|
-
return e.call(this, 'Invalid values for "'.concat(
|
|
2669
|
+
pt(t, e);
|
|
2670
|
+
function t(r, n, i, o) {
|
|
2671
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Ue.INVALID_VALUE, o) || this;
|
|
2670
2672
|
}
|
|
2671
2673
|
return t;
|
|
2672
|
-
}(
|
|
2673
|
-
),
|
|
2674
|
+
}(At)
|
|
2675
|
+
), li = (
|
|
2674
2676
|
/** @class */
|
|
2675
2677
|
function(e) {
|
|
2676
|
-
|
|
2677
|
-
function t(
|
|
2678
|
-
return e.call(this, 'Value for "'.concat(
|
|
2678
|
+
pt(t, e);
|
|
2679
|
+
function t(r, n, i) {
|
|
2680
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Ue.INVALID_VALUE, i) || this;
|
|
2679
2681
|
}
|
|
2680
2682
|
return t;
|
|
2681
|
-
}(
|
|
2682
|
-
),
|
|
2683
|
+
}(At)
|
|
2684
|
+
), hi = (
|
|
2683
2685
|
/** @class */
|
|
2684
2686
|
function(e) {
|
|
2685
|
-
|
|
2686
|
-
function t(
|
|
2687
|
-
return e.call(this, 'The intl string context variable "'.concat(
|
|
2687
|
+
pt(t, e);
|
|
2688
|
+
function t(r, n) {
|
|
2689
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Ue.MISSING_VALUE, n) || this;
|
|
2688
2690
|
}
|
|
2689
2691
|
return t;
|
|
2690
|
-
}(
|
|
2692
|
+
}(At)
|
|
2691
2693
|
), ue;
|
|
2692
2694
|
(function(e) {
|
|
2693
2695
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
2694
2696
|
})(ue || (ue = {}));
|
|
2695
|
-
function
|
|
2696
|
-
return e.length < 2 ? e : e.reduce(function(t,
|
|
2697
|
-
var
|
|
2698
|
-
return !
|
|
2697
|
+
function fi(e) {
|
|
2698
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
2699
|
+
var n = t[t.length - 1];
|
|
2700
|
+
return !n || n.type !== ue.literal || r.type !== ue.literal ? t.push(r) : n.value += r.value, t;
|
|
2699
2701
|
}, []);
|
|
2700
2702
|
}
|
|
2701
|
-
function
|
|
2703
|
+
function ci(e) {
|
|
2702
2704
|
return typeof e == "function";
|
|
2703
2705
|
}
|
|
2704
|
-
function
|
|
2705
|
-
if (e.length === 1 &&
|
|
2706
|
+
function ut(e, t, r, n, i, o, f) {
|
|
2707
|
+
if (e.length === 1 && Wt(e[0]))
|
|
2706
2708
|
return [
|
|
2707
2709
|
{
|
|
2708
2710
|
type: ue.literal,
|
|
@@ -2711,162 +2713,162 @@ function st(e, t, n, r, i, a, f) {
|
|
|
2711
2713
|
];
|
|
2712
2714
|
for (var c = [], d = 0, u = e; d < u.length; d++) {
|
|
2713
2715
|
var l = u[d];
|
|
2714
|
-
if (
|
|
2716
|
+
if (Wt(l)) {
|
|
2715
2717
|
c.push({
|
|
2716
2718
|
type: ue.literal,
|
|
2717
2719
|
value: l.value
|
|
2718
2720
|
});
|
|
2719
2721
|
continue;
|
|
2720
2722
|
}
|
|
2721
|
-
if (
|
|
2722
|
-
typeof
|
|
2723
|
+
if (Dn(l)) {
|
|
2724
|
+
typeof o == "number" && c.push({
|
|
2723
2725
|
type: ue.literal,
|
|
2724
|
-
value:
|
|
2726
|
+
value: r.getNumberFormat(t).format(o)
|
|
2725
2727
|
});
|
|
2726
2728
|
continue;
|
|
2727
2729
|
}
|
|
2728
2730
|
var g = l.value;
|
|
2729
2731
|
if (!(i && g in i))
|
|
2730
|
-
throw new
|
|
2732
|
+
throw new hi(g, f);
|
|
2731
2733
|
var v = i[g];
|
|
2732
|
-
if (
|
|
2734
|
+
if (Nn(l)) {
|
|
2733
2735
|
(!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), c.push({
|
|
2734
2736
|
type: typeof v == "string" ? ue.literal : ue.object,
|
|
2735
2737
|
value: v
|
|
2736
2738
|
});
|
|
2737
2739
|
continue;
|
|
2738
2740
|
}
|
|
2739
|
-
if (
|
|
2740
|
-
var S = typeof l.style == "string" ?
|
|
2741
|
+
if (xr(l)) {
|
|
2742
|
+
var S = typeof l.style == "string" ? n.date[l.style] : Dt(l.style) ? l.style.parsedOptions : void 0;
|
|
2741
2743
|
c.push({
|
|
2742
2744
|
type: ue.literal,
|
|
2743
|
-
value:
|
|
2745
|
+
value: r.getDateTimeFormat(t, S).format(v)
|
|
2744
2746
|
});
|
|
2745
2747
|
continue;
|
|
2746
2748
|
}
|
|
2747
|
-
if (
|
|
2748
|
-
var S = typeof l.style == "string" ?
|
|
2749
|
+
if (Br(l)) {
|
|
2750
|
+
var S = typeof l.style == "string" ? n.time[l.style] : Dt(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
2749
2751
|
c.push({
|
|
2750
2752
|
type: ue.literal,
|
|
2751
|
-
value:
|
|
2753
|
+
value: r.getDateTimeFormat(t, S).format(v)
|
|
2752
2754
|
});
|
|
2753
2755
|
continue;
|
|
2754
2756
|
}
|
|
2755
|
-
if (
|
|
2756
|
-
var S = typeof l.style == "string" ?
|
|
2757
|
+
if (Ir(l)) {
|
|
2758
|
+
var S = typeof l.style == "string" ? n.number[l.style] : Rr(l.style) ? l.style.parsedOptions : void 0;
|
|
2757
2759
|
S && S.scale && (v = v * (S.scale || 1)), c.push({
|
|
2758
2760
|
type: ue.literal,
|
|
2759
|
-
value:
|
|
2761
|
+
value: r.getNumberFormat(t, S).format(v)
|
|
2760
2762
|
});
|
|
2761
2763
|
continue;
|
|
2762
2764
|
}
|
|
2763
|
-
if (
|
|
2765
|
+
if (Cr(l)) {
|
|
2764
2766
|
var M = l.children, x = l.value, C = i[x];
|
|
2765
|
-
if (!
|
|
2766
|
-
throw new
|
|
2767
|
-
var B =
|
|
2767
|
+
if (!ci(C))
|
|
2768
|
+
throw new li(x, "function", f);
|
|
2769
|
+
var B = ut(M, t, r, n, i, o), k = C(B.map(function(T) {
|
|
2768
2770
|
return T.value;
|
|
2769
2771
|
}));
|
|
2770
|
-
Array.isArray(
|
|
2772
|
+
Array.isArray(k) || (k = [k]), c.push.apply(c, k.map(function(T) {
|
|
2771
2773
|
return {
|
|
2772
2774
|
type: typeof T == "string" ? ue.literal : ue.object,
|
|
2773
2775
|
value: T
|
|
2774
2776
|
};
|
|
2775
2777
|
}));
|
|
2776
2778
|
}
|
|
2777
|
-
if (
|
|
2779
|
+
if (Tr(l)) {
|
|
2778
2780
|
var N = l.options[v] || l.options.other;
|
|
2779
2781
|
if (!N)
|
|
2780
|
-
throw new
|
|
2781
|
-
c.push.apply(c,
|
|
2782
|
+
throw new ir(l.value, v, Object.keys(l.options), f);
|
|
2783
|
+
c.push.apply(c, ut(N.value, t, r, n, i));
|
|
2782
2784
|
continue;
|
|
2783
2785
|
}
|
|
2784
|
-
if (
|
|
2786
|
+
if (Hr(l)) {
|
|
2785
2787
|
var N = l.options["=".concat(v)];
|
|
2786
2788
|
if (!N) {
|
|
2787
2789
|
if (!Intl.PluralRules)
|
|
2788
|
-
throw new
|
|
2790
|
+
throw new At(`Intl.PluralRules is not available in this environment.
|
|
2789
2791
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
2790
|
-
`,
|
|
2791
|
-
var P =
|
|
2792
|
+
`, Ue.MISSING_INTL_API, f);
|
|
2793
|
+
var P = r.getPluralRules(t, { type: l.pluralType }).select(v - (l.offset || 0));
|
|
2792
2794
|
N = l.options[P] || l.options.other;
|
|
2793
2795
|
}
|
|
2794
2796
|
if (!N)
|
|
2795
|
-
throw new
|
|
2796
|
-
c.push.apply(c,
|
|
2797
|
+
throw new ir(l.value, v, Object.keys(l.options), f);
|
|
2798
|
+
c.push.apply(c, ut(N.value, t, r, n, i, v - (l.offset || 0)));
|
|
2797
2799
|
continue;
|
|
2798
2800
|
}
|
|
2799
2801
|
}
|
|
2800
|
-
return
|
|
2802
|
+
return fi(c);
|
|
2801
2803
|
}
|
|
2802
|
-
function
|
|
2803
|
-
return t ?
|
|
2804
|
-
return n
|
|
2804
|
+
function di(e, t) {
|
|
2805
|
+
return t ? Ee(Ee(Ee({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
2806
|
+
return r[n] = Ee(Ee({}, e[n]), t[n] || {}), r;
|
|
2805
2807
|
}, {})) : e;
|
|
2806
2808
|
}
|
|
2807
|
-
function
|
|
2808
|
-
return t ? Object.keys(e).reduce(function(
|
|
2809
|
-
return n
|
|
2810
|
-
},
|
|
2809
|
+
function pi(e, t) {
|
|
2810
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
2811
|
+
return r[n] = di(e[n], t[n]), r;
|
|
2812
|
+
}, Ee({}, e)) : e;
|
|
2811
2813
|
}
|
|
2812
|
-
function
|
|
2814
|
+
function Rt(e) {
|
|
2813
2815
|
return {
|
|
2814
2816
|
create: function() {
|
|
2815
2817
|
return {
|
|
2816
2818
|
get: function(t) {
|
|
2817
2819
|
return e[t];
|
|
2818
2820
|
},
|
|
2819
|
-
set: function(t,
|
|
2820
|
-
e[t] =
|
|
2821
|
+
set: function(t, r) {
|
|
2822
|
+
e[t] = r;
|
|
2821
2823
|
}
|
|
2822
2824
|
};
|
|
2823
2825
|
}
|
|
2824
2826
|
};
|
|
2825
2827
|
}
|
|
2826
|
-
function
|
|
2828
|
+
function Ai(e) {
|
|
2827
2829
|
return e === void 0 && (e = {
|
|
2828
2830
|
number: {},
|
|
2829
2831
|
dateTime: {},
|
|
2830
2832
|
pluralRules: {}
|
|
2831
2833
|
}), {
|
|
2832
|
-
getNumberFormat:
|
|
2833
|
-
for (var t,
|
|
2834
|
-
n
|
|
2835
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
2834
|
+
getNumberFormat: Tt(function() {
|
|
2835
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2836
|
+
r[n] = arguments[n];
|
|
2837
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Bt([void 0], r, !1)))();
|
|
2836
2838
|
}, {
|
|
2837
|
-
cache:
|
|
2838
|
-
strategy:
|
|
2839
|
+
cache: Rt(e.number),
|
|
2840
|
+
strategy: Ht.variadic
|
|
2839
2841
|
}),
|
|
2840
|
-
getDateTimeFormat:
|
|
2841
|
-
for (var t,
|
|
2842
|
-
n
|
|
2843
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
2842
|
+
getDateTimeFormat: Tt(function() {
|
|
2843
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2844
|
+
r[n] = arguments[n];
|
|
2845
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Bt([void 0], r, !1)))();
|
|
2844
2846
|
}, {
|
|
2845
|
-
cache:
|
|
2846
|
-
strategy:
|
|
2847
|
+
cache: Rt(e.dateTime),
|
|
2848
|
+
strategy: Ht.variadic
|
|
2847
2849
|
}),
|
|
2848
|
-
getPluralRules:
|
|
2849
|
-
for (var t,
|
|
2850
|
-
n
|
|
2851
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
2850
|
+
getPluralRules: Tt(function() {
|
|
2851
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
2852
|
+
r[n] = arguments[n];
|
|
2853
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Bt([void 0], r, !1)))();
|
|
2852
2854
|
}, {
|
|
2853
|
-
cache:
|
|
2854
|
-
strategy:
|
|
2855
|
+
cache: Rt(e.pluralRules),
|
|
2856
|
+
strategy: Ht.variadic
|
|
2855
2857
|
})
|
|
2856
2858
|
};
|
|
2857
2859
|
}
|
|
2858
|
-
var
|
|
2860
|
+
var mi = (
|
|
2859
2861
|
/** @class */
|
|
2860
2862
|
function() {
|
|
2861
|
-
function e(t,
|
|
2862
|
-
|
|
2863
|
-
var
|
|
2863
|
+
function e(t, r, n, i) {
|
|
2864
|
+
r === void 0 && (r = e.defaultLocale);
|
|
2865
|
+
var o = this;
|
|
2864
2866
|
if (this.formatterCache = {
|
|
2865
2867
|
number: {},
|
|
2866
2868
|
dateTime: {},
|
|
2867
2869
|
pluralRules: {}
|
|
2868
2870
|
}, this.format = function(d) {
|
|
2869
|
-
var u =
|
|
2871
|
+
var u = o.formatToParts(d);
|
|
2870
2872
|
if (u.length === 1)
|
|
2871
2873
|
return u[0].value;
|
|
2872
2874
|
var l = u.reduce(function(g, v) {
|
|
@@ -2874,26 +2876,26 @@ var Ai = (
|
|
|
2874
2876
|
}, []);
|
|
2875
2877
|
return l.length <= 1 ? l[0] || "" : l;
|
|
2876
2878
|
}, this.formatToParts = function(d) {
|
|
2877
|
-
return
|
|
2879
|
+
return ut(o.ast, o.locales, o.formatters, o.formats, d, void 0, o.message);
|
|
2878
2880
|
}, this.resolvedOptions = function() {
|
|
2879
2881
|
var d;
|
|
2880
2882
|
return {
|
|
2881
|
-
locale: ((d =
|
|
2883
|
+
locale: ((d = o.resolvedLocale) === null || d === void 0 ? void 0 : d.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
|
|
2882
2884
|
};
|
|
2883
2885
|
}, this.getAst = function() {
|
|
2884
|
-
return
|
|
2885
|
-
}, this.locales =
|
|
2886
|
+
return o.ast;
|
|
2887
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
2886
2888
|
if (this.message = t, !e.__parse)
|
|
2887
2889
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
2888
2890
|
var f = i || {};
|
|
2889
2891
|
f.formatters;
|
|
2890
|
-
var c =
|
|
2891
|
-
this.ast = e.__parse(t,
|
|
2892
|
+
var c = Bn(f, ["formatters"]);
|
|
2893
|
+
this.ast = e.__parse(t, Ee(Ee({}, c), { locale: this.resolvedLocale }));
|
|
2892
2894
|
} else
|
|
2893
2895
|
this.ast = t;
|
|
2894
2896
|
if (!Array.isArray(this.ast))
|
|
2895
2897
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
2896
|
-
this.formats =
|
|
2898
|
+
this.formats = pi(e.formats, n), this.formatters = i && i.formatters || Ai(this.formatterCache);
|
|
2897
2899
|
}
|
|
2898
2900
|
return Object.defineProperty(e, "defaultLocale", {
|
|
2899
2901
|
get: function() {
|
|
@@ -2903,10 +2905,10 @@ var Ai = (
|
|
|
2903
2905
|
configurable: !0
|
|
2904
2906
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
2905
2907
|
if (typeof Intl.Locale != "undefined") {
|
|
2906
|
-
var
|
|
2907
|
-
return
|
|
2908
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
2909
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
2908
2910
|
}
|
|
2909
|
-
}, e.__parse =
|
|
2911
|
+
}, e.__parse = ui, e.formats = {
|
|
2910
2912
|
number: {
|
|
2911
2913
|
integer: {
|
|
2912
2914
|
maximumFractionDigits: 0
|
|
@@ -2967,113 +2969,113 @@ var Ai = (
|
|
|
2967
2969
|
}, e;
|
|
2968
2970
|
}()
|
|
2969
2971
|
);
|
|
2970
|
-
function
|
|
2972
|
+
function gi(e, t) {
|
|
2971
2973
|
if (t == null)
|
|
2972
2974
|
return;
|
|
2973
2975
|
if (t in e)
|
|
2974
2976
|
return e[t];
|
|
2975
|
-
const
|
|
2976
|
-
let
|
|
2977
|
-
for (let i = 0; i <
|
|
2978
|
-
if (typeof
|
|
2977
|
+
const r = t.split(".");
|
|
2978
|
+
let n = e;
|
|
2979
|
+
for (let i = 0; i < r.length; i++)
|
|
2980
|
+
if (typeof n == "object") {
|
|
2979
2981
|
if (i > 0) {
|
|
2980
|
-
const
|
|
2981
|
-
if (
|
|
2982
|
-
|
|
2982
|
+
const o = r.slice(i, r.length).join(".");
|
|
2983
|
+
if (o in n) {
|
|
2984
|
+
n = n[o];
|
|
2983
2985
|
break;
|
|
2984
2986
|
}
|
|
2985
2987
|
}
|
|
2986
|
-
|
|
2988
|
+
n = n[r[i]];
|
|
2987
2989
|
} else
|
|
2988
|
-
|
|
2989
|
-
return
|
|
2990
|
+
n = void 0;
|
|
2991
|
+
return n;
|
|
2990
2992
|
}
|
|
2991
|
-
const
|
|
2993
|
+
const Te = {}, vi = (e, t, r) => r && (t in Te || (Te[t] = {}), e in Te[t] || (Te[t][e] = r), r), kr = (e, t) => {
|
|
2992
2994
|
if (t == null)
|
|
2993
2995
|
return;
|
|
2994
|
-
if (t in
|
|
2995
|
-
return
|
|
2996
|
-
const
|
|
2997
|
-
for (let
|
|
2998
|
-
const i = n
|
|
2999
|
-
if (
|
|
3000
|
-
return
|
|
2996
|
+
if (t in Te && e in Te[t])
|
|
2997
|
+
return Te[t][e];
|
|
2998
|
+
const r = mt(t);
|
|
2999
|
+
for (let n = 0; n < r.length; n++) {
|
|
3000
|
+
const i = r[n], o = bi(i, e);
|
|
3001
|
+
if (o)
|
|
3002
|
+
return vi(e, t, o);
|
|
3001
3003
|
}
|
|
3002
3004
|
};
|
|
3003
|
-
let
|
|
3004
|
-
const
|
|
3005
|
-
function
|
|
3006
|
-
return
|
|
3005
|
+
let jt;
|
|
3006
|
+
const _e = dt({});
|
|
3007
|
+
function Ei(e) {
|
|
3008
|
+
return jt[e] || null;
|
|
3007
3009
|
}
|
|
3008
|
-
function
|
|
3009
|
-
return e in
|
|
3010
|
+
function Ur(e) {
|
|
3011
|
+
return e in jt;
|
|
3010
3012
|
}
|
|
3011
|
-
function
|
|
3012
|
-
if (!
|
|
3013
|
+
function bi(e, t) {
|
|
3014
|
+
if (!Ur(e))
|
|
3013
3015
|
return null;
|
|
3014
|
-
const
|
|
3015
|
-
return
|
|
3016
|
+
const r = Ei(e);
|
|
3017
|
+
return gi(r, t);
|
|
3016
3018
|
}
|
|
3017
|
-
function
|
|
3019
|
+
function yi(e) {
|
|
3018
3020
|
if (e == null)
|
|
3019
3021
|
return;
|
|
3020
|
-
const t =
|
|
3021
|
-
for (let
|
|
3022
|
-
const
|
|
3023
|
-
if (
|
|
3024
|
-
return
|
|
3022
|
+
const t = mt(e);
|
|
3023
|
+
for (let r = 0; r < t.length; r++) {
|
|
3024
|
+
const n = t[r];
|
|
3025
|
+
if (Ur(n))
|
|
3026
|
+
return n;
|
|
3025
3027
|
}
|
|
3026
3028
|
}
|
|
3027
|
-
function
|
|
3028
|
-
delete
|
|
3029
|
+
function Gr(e, ...t) {
|
|
3030
|
+
delete Te[e], _e.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
|
|
3029
3031
|
}
|
|
3030
|
-
|
|
3031
|
-
[
|
|
3032
|
+
Fe(
|
|
3033
|
+
[_e],
|
|
3032
3034
|
([e]) => Object.keys(e)
|
|
3033
3035
|
);
|
|
3034
|
-
|
|
3035
|
-
const
|
|
3036
|
-
function
|
|
3037
|
-
|
|
3036
|
+
_e.subscribe((e) => jt = e);
|
|
3037
|
+
const lt = {};
|
|
3038
|
+
function wi(e, t) {
|
|
3039
|
+
lt[e].delete(t), lt[e].size === 0 && delete lt[e];
|
|
3038
3040
|
}
|
|
3039
|
-
function
|
|
3040
|
-
return
|
|
3041
|
+
function Fr(e) {
|
|
3042
|
+
return lt[e];
|
|
3041
3043
|
}
|
|
3042
|
-
function
|
|
3043
|
-
return
|
|
3044
|
-
const
|
|
3045
|
-
return [t,
|
|
3044
|
+
function Ii(e) {
|
|
3045
|
+
return mt(e).map((t) => {
|
|
3046
|
+
const r = Fr(t);
|
|
3047
|
+
return [t, r ? [...r] : []];
|
|
3046
3048
|
}).filter(([, t]) => t.length > 0);
|
|
3047
3049
|
}
|
|
3048
|
-
function
|
|
3049
|
-
return e == null ? !1 :
|
|
3050
|
+
function Ft(e) {
|
|
3051
|
+
return e == null ? !1 : mt(e).some(
|
|
3050
3052
|
(t) => {
|
|
3051
|
-
var
|
|
3052
|
-
return (
|
|
3053
|
+
var r;
|
|
3054
|
+
return (r = Fr(t)) == null ? void 0 : r.size;
|
|
3053
3055
|
}
|
|
3054
3056
|
);
|
|
3055
3057
|
}
|
|
3056
|
-
function
|
|
3058
|
+
function xi(e, t) {
|
|
3057
3059
|
return Promise.all(
|
|
3058
|
-
t.map((
|
|
3059
|
-
).then((
|
|
3060
|
+
t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
|
|
3061
|
+
).then((n) => Gr(e, ...n));
|
|
3060
3062
|
}
|
|
3061
|
-
const
|
|
3062
|
-
function
|
|
3063
|
-
if (!
|
|
3064
|
-
return e in
|
|
3065
|
-
const t =
|
|
3066
|
-
return
|
|
3063
|
+
const Xe = {};
|
|
3064
|
+
function _r(e) {
|
|
3065
|
+
if (!Ft(e))
|
|
3066
|
+
return e in Xe ? Xe[e] : Promise.resolve();
|
|
3067
|
+
const t = Ii(e);
|
|
3068
|
+
return Xe[e] = Promise.all(
|
|
3067
3069
|
t.map(
|
|
3068
|
-
([
|
|
3070
|
+
([r, n]) => xi(r, n)
|
|
3069
3071
|
)
|
|
3070
3072
|
).then(() => {
|
|
3071
|
-
if (
|
|
3072
|
-
return
|
|
3073
|
-
delete
|
|
3074
|
-
}),
|
|
3073
|
+
if (Ft(e))
|
|
3074
|
+
return _r(e);
|
|
3075
|
+
delete Xe[e];
|
|
3076
|
+
}), Xe[e];
|
|
3075
3077
|
}
|
|
3076
|
-
const
|
|
3078
|
+
const Bi = {
|
|
3077
3079
|
number: {
|
|
3078
3080
|
scientific: { notation: "scientific" },
|
|
3079
3081
|
engineering: { notation: "engineering" },
|
|
@@ -3102,150 +3104,150 @@ const xi = {
|
|
|
3102
3104
|
timeZoneName: "short"
|
|
3103
3105
|
}
|
|
3104
3106
|
}
|
|
3105
|
-
},
|
|
3107
|
+
}, Ti = {
|
|
3106
3108
|
fallbackLocale: null,
|
|
3107
3109
|
loadingDelay: 200,
|
|
3108
|
-
formats:
|
|
3110
|
+
formats: Bi,
|
|
3109
3111
|
warnOnMissingMessages: !0,
|
|
3110
3112
|
handleMissingMessage: void 0,
|
|
3111
3113
|
ignoreTag: !0
|
|
3112
|
-
},
|
|
3113
|
-
function
|
|
3114
|
-
return
|
|
3114
|
+
}, Hi = Ti;
|
|
3115
|
+
function Ge() {
|
|
3116
|
+
return Hi;
|
|
3115
3117
|
}
|
|
3116
|
-
const
|
|
3117
|
-
var
|
|
3118
|
-
for (var
|
|
3119
|
-
|
|
3120
|
-
if (
|
|
3121
|
-
for (var
|
|
3122
|
-
|
|
3118
|
+
const St = dt(!1);
|
|
3119
|
+
var Ci = Object.defineProperty, Ri = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Li = Object.prototype.propertyIsEnumerable, ar = (e, t, r) => t in e ? Ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ni = (e, t) => {
|
|
3120
|
+
for (var r in t || (t = {}))
|
|
3121
|
+
Oi.call(t, r) && ar(e, r, t[r]);
|
|
3122
|
+
if (or)
|
|
3123
|
+
for (var r of or(t))
|
|
3124
|
+
Li.call(t, r) && ar(e, r, t[r]);
|
|
3123
3125
|
return e;
|
|
3124
|
-
},
|
|
3125
|
-
let
|
|
3126
|
-
const
|
|
3127
|
-
function
|
|
3128
|
-
return e.split("-").map((t,
|
|
3126
|
+
}, Di = (e, t) => Ri(e, Si(t));
|
|
3127
|
+
let _t;
|
|
3128
|
+
const ft = dt(null);
|
|
3129
|
+
function sr(e) {
|
|
3130
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3129
3131
|
}
|
|
3130
|
-
function
|
|
3131
|
-
const
|
|
3132
|
-
return t ? [.../* @__PURE__ */ new Set([...
|
|
3132
|
+
function mt(e, t = Ge().fallbackLocale) {
|
|
3133
|
+
const r = sr(e);
|
|
3134
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...sr(t)])] : r;
|
|
3133
3135
|
}
|
|
3134
|
-
function
|
|
3135
|
-
return
|
|
3136
|
+
function Se() {
|
|
3137
|
+
return _t != null ? _t : void 0;
|
|
3136
3138
|
}
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
+
ft.subscribe((e) => {
|
|
3140
|
+
_t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3139
3141
|
});
|
|
3140
|
-
const
|
|
3141
|
-
if (e &&
|
|
3142
|
-
const { loadingDelay: t } =
|
|
3143
|
-
let
|
|
3144
|
-
return typeof window != "undefined" &&
|
|
3145
|
-
() =>
|
|
3142
|
+
const Pi = (e) => {
|
|
3143
|
+
if (e && yi(e) && Ft(e)) {
|
|
3144
|
+
const { loadingDelay: t } = Ge();
|
|
3145
|
+
let r;
|
|
3146
|
+
return typeof window != "undefined" && Se() != null && t ? r = window.setTimeout(
|
|
3147
|
+
() => St.set(!0),
|
|
3146
3148
|
t
|
|
3147
|
-
) :
|
|
3148
|
-
|
|
3149
|
+
) : St.set(!0), _r(e).then(() => {
|
|
3150
|
+
ft.set(e);
|
|
3149
3151
|
}).finally(() => {
|
|
3150
|
-
clearTimeout(
|
|
3152
|
+
clearTimeout(r), St.set(!1);
|
|
3151
3153
|
});
|
|
3152
3154
|
}
|
|
3153
|
-
return
|
|
3154
|
-
},
|
|
3155
|
-
set:
|
|
3156
|
-
}),
|
|
3155
|
+
return ft.set(e);
|
|
3156
|
+
}, He = Di(Ni({}, ft), {
|
|
3157
|
+
set: Pi
|
|
3158
|
+
}), gt = (e) => {
|
|
3157
3159
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3158
|
-
return (
|
|
3159
|
-
const i = JSON.stringify(
|
|
3160
|
-
return i in t ? t[i] : t[i] = e(
|
|
3160
|
+
return (n) => {
|
|
3161
|
+
const i = JSON.stringify(n);
|
|
3162
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
3161
3163
|
};
|
|
3162
3164
|
};
|
|
3163
|
-
var
|
|
3164
|
-
for (var
|
|
3165
|
-
|
|
3166
|
-
if (
|
|
3167
|
-
for (var
|
|
3168
|
-
|
|
3165
|
+
var Mi = Object.defineProperty, ct = Object.getOwnPropertySymbols, Qr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jt = (e, t) => {
|
|
3166
|
+
for (var r in t || (t = {}))
|
|
3167
|
+
Qr.call(t, r) && ur(e, r, t[r]);
|
|
3168
|
+
if (ct)
|
|
3169
|
+
for (var r of ct(t))
|
|
3170
|
+
jr.call(t, r) && ur(e, r, t[r]);
|
|
3169
3171
|
return e;
|
|
3170
|
-
},
|
|
3171
|
-
var
|
|
3172
|
-
for (var
|
|
3173
|
-
|
|
3174
|
-
if (e != null &&
|
|
3175
|
-
for (var
|
|
3176
|
-
t.indexOf(
|
|
3177
|
-
return
|
|
3172
|
+
}, Qe = (e, t) => {
|
|
3173
|
+
var r = {};
|
|
3174
|
+
for (var n in e)
|
|
3175
|
+
Qr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3176
|
+
if (e != null && ct)
|
|
3177
|
+
for (var n of ct(e))
|
|
3178
|
+
t.indexOf(n) < 0 && jr.call(e, n) && (r[n] = e[n]);
|
|
3179
|
+
return r;
|
|
3178
3180
|
};
|
|
3179
|
-
const
|
|
3180
|
-
const { formats:
|
|
3181
|
-
if (e in
|
|
3182
|
-
return
|
|
3181
|
+
const Ze = (e, t) => {
|
|
3182
|
+
const { formats: r } = Ge();
|
|
3183
|
+
if (e in r && t in r[e])
|
|
3184
|
+
return r[e][t];
|
|
3183
3185
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3184
|
-
},
|
|
3186
|
+
}, ki = gt(
|
|
3185
3187
|
(e) => {
|
|
3186
|
-
var t = e, { locale:
|
|
3187
|
-
if (
|
|
3188
|
+
var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
|
|
3189
|
+
if (r == null)
|
|
3188
3190
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3189
|
-
return
|
|
3191
|
+
return n && (i = Ze("number", n)), new Intl.NumberFormat(r, i);
|
|
3190
3192
|
}
|
|
3191
|
-
),
|
|
3193
|
+
), Ui = gt(
|
|
3192
3194
|
(e) => {
|
|
3193
|
-
var t = e, { locale:
|
|
3194
|
-
if (
|
|
3195
|
+
var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
|
|
3196
|
+
if (r == null)
|
|
3195
3197
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3196
|
-
return
|
|
3198
|
+
return n ? i = Ze("date", n) : Object.keys(i).length === 0 && (i = Ze("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3197
3199
|
}
|
|
3198
|
-
),
|
|
3200
|
+
), Gi = gt(
|
|
3199
3201
|
(e) => {
|
|
3200
|
-
var t = e, { locale:
|
|
3201
|
-
if (
|
|
3202
|
+
var t = e, { locale: r, format: n } = t, i = Qe(t, ["locale", "format"]);
|
|
3203
|
+
if (r == null)
|
|
3202
3204
|
throw new Error(
|
|
3203
3205
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3204
3206
|
);
|
|
3205
|
-
return
|
|
3207
|
+
return n ? i = Ze("time", n) : Object.keys(i).length === 0 && (i = Ze("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3206
3208
|
}
|
|
3207
|
-
),
|
|
3209
|
+
), Fi = (e = {}) => {
|
|
3208
3210
|
var t = e, {
|
|
3209
|
-
locale:
|
|
3210
|
-
} = t,
|
|
3211
|
+
locale: r = Se()
|
|
3212
|
+
} = t, n = Qe(t, [
|
|
3211
3213
|
"locale"
|
|
3212
3214
|
]);
|
|
3213
|
-
return
|
|
3214
|
-
},
|
|
3215
|
+
return ki(Jt({ locale: r }, n));
|
|
3216
|
+
}, _i = (e = {}) => {
|
|
3215
3217
|
var t = e, {
|
|
3216
|
-
locale:
|
|
3217
|
-
} = t,
|
|
3218
|
+
locale: r = Se()
|
|
3219
|
+
} = t, n = Qe(t, [
|
|
3218
3220
|
"locale"
|
|
3219
3221
|
]);
|
|
3220
|
-
return
|
|
3221
|
-
},
|
|
3222
|
+
return Ui(Jt({ locale: r }, n));
|
|
3223
|
+
}, Qi = (e = {}) => {
|
|
3222
3224
|
var t = e, {
|
|
3223
|
-
locale:
|
|
3224
|
-
} = t,
|
|
3225
|
+
locale: r = Se()
|
|
3226
|
+
} = t, n = Qe(t, [
|
|
3225
3227
|
"locale"
|
|
3226
3228
|
]);
|
|
3227
|
-
return
|
|
3228
|
-
},
|
|
3229
|
+
return Gi(Jt({ locale: r }, n));
|
|
3230
|
+
}, ji = gt(
|
|
3229
3231
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3230
|
-
(e, t =
|
|
3231
|
-
ignoreTag:
|
|
3232
|
+
(e, t = Se()) => new mi(e, t, Ge().formats, {
|
|
3233
|
+
ignoreTag: Ge().ignoreTag
|
|
3232
3234
|
})
|
|
3233
|
-
),
|
|
3234
|
-
var
|
|
3235
|
+
), Ji = (e, t = {}) => {
|
|
3236
|
+
var r, n, i, o;
|
|
3235
3237
|
let f = t;
|
|
3236
3238
|
typeof e == "object" && (f = e, e = f.id);
|
|
3237
3239
|
const {
|
|
3238
3240
|
values: c,
|
|
3239
|
-
locale: d =
|
|
3241
|
+
locale: d = Se(),
|
|
3240
3242
|
default: u
|
|
3241
3243
|
} = f;
|
|
3242
3244
|
if (d == null)
|
|
3243
3245
|
throw new Error(
|
|
3244
3246
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3245
3247
|
);
|
|
3246
|
-
let l =
|
|
3248
|
+
let l = kr(e, d);
|
|
3247
3249
|
if (!l)
|
|
3248
|
-
l = (
|
|
3250
|
+
l = (o = (i = (n = (r = Ge()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: d, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
3249
3251
|
else if (typeof l != "string")
|
|
3250
3252
|
return console.warn(
|
|
3251
3253
|
`[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.`
|
|
@@ -3254,7 +3256,7 @@ const Ve = (e, t) => {
|
|
|
3254
3256
|
return l;
|
|
3255
3257
|
let g = l;
|
|
3256
3258
|
try {
|
|
3257
|
-
g =
|
|
3259
|
+
g = ji(l, d).format(c);
|
|
3258
3260
|
} catch (v) {
|
|
3259
3261
|
v instanceof Error && console.warn(
|
|
3260
3262
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3262,23 +3264,23 @@ const Ve = (e, t) => {
|
|
|
3262
3264
|
);
|
|
3263
3265
|
}
|
|
3264
3266
|
return g;
|
|
3265
|
-
},
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3269
|
-
|
|
3270
|
-
function
|
|
3271
|
-
|
|
3272
|
-
|
|
3267
|
+
}, Xi = (e, t) => Qi(t).format(e), zi = (e, t) => _i(t).format(e), Vi = (e, t) => Fi(t).format(e), Zi = (e, t = Se()) => kr(e, t), qi = Fe([He, _e], () => Ji);
|
|
3268
|
+
Fe([He], () => Xi);
|
|
3269
|
+
Fe([He], () => zi);
|
|
3270
|
+
Fe([He], () => Vi);
|
|
3271
|
+
Fe([He, _e], () => Zi);
|
|
3272
|
+
function Yi({ withLocale: e, translations: t }) {
|
|
3273
|
+
He.subscribe((r) => {
|
|
3274
|
+
r == null && (_e.set(t), He.set(e));
|
|
3273
3275
|
});
|
|
3274
3276
|
}
|
|
3275
|
-
function
|
|
3276
|
-
|
|
3277
|
+
function lr(e, t) {
|
|
3278
|
+
Gr(e, t);
|
|
3277
3279
|
}
|
|
3278
|
-
function
|
|
3279
|
-
|
|
3280
|
+
function Wi(e) {
|
|
3281
|
+
He.set(e);
|
|
3280
3282
|
}
|
|
3281
|
-
const
|
|
3283
|
+
const hr = {
|
|
3282
3284
|
en: {
|
|
3283
3285
|
loading: "Loading"
|
|
3284
3286
|
},
|
|
@@ -3304,30 +3306,30 @@ const hn = {
|
|
|
3304
3306
|
loading: "Loading"
|
|
3305
3307
|
}
|
|
3306
3308
|
};
|
|
3307
|
-
var
|
|
3309
|
+
var Qt = { exports: {} };
|
|
3308
3310
|
/** @license
|
|
3309
3311
|
* eventsource.js
|
|
3310
3312
|
* Available under MIT License (MIT)
|
|
3311
3313
|
* https://github.com/Yaffle/EventSource/
|
|
3312
3314
|
*/
|
|
3313
3315
|
(function(e, t) {
|
|
3314
|
-
(function(
|
|
3315
|
-
var
|
|
3316
|
-
if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(
|
|
3316
|
+
(function(r) {
|
|
3317
|
+
var n = r.setTimeout, i = r.clearTimeout, o = r.XMLHttpRequest, f = r.XDomainRequest, c = r.ActiveXObject, d = r.EventSource, u = r.document, l = r.Promise, g = r.fetch, v = r.Response, S = r.TextDecoder, M = r.TextEncoder, x = r.AbortController;
|
|
3318
|
+
if (typeof window != "undefined" && typeof u != "undefined" && !("readyState" in u) && u.body == null && (u.readyState = "loading", window.addEventListener("load", function(a) {
|
|
3317
3319
|
u.readyState = "complete";
|
|
3318
|
-
}, !1)),
|
|
3320
|
+
}, !1)), o == null && c != null && (o = function() {
|
|
3319
3321
|
return new c("Microsoft.XMLHTTP");
|
|
3320
|
-
}), Object.create == null && (Object.create = function(
|
|
3322
|
+
}), Object.create == null && (Object.create = function(a) {
|
|
3321
3323
|
function p() {
|
|
3322
3324
|
}
|
|
3323
|
-
return p.prototype =
|
|
3325
|
+
return p.prototype = a, new p();
|
|
3324
3326
|
}), Date.now || (Date.now = function() {
|
|
3325
3327
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
3326
3328
|
}), x == null) {
|
|
3327
3329
|
var C = g;
|
|
3328
|
-
g = function(
|
|
3330
|
+
g = function(a, p) {
|
|
3329
3331
|
var b = p.signal;
|
|
3330
|
-
return C(
|
|
3332
|
+
return C(a, { headers: p.headers, credentials: p.credentials, cache: p.cache }).then(function(A) {
|
|
3331
3333
|
var w = A.body.getReader();
|
|
3332
3334
|
return b._reader = w, b._aborted && b._reader.cancel(), {
|
|
3333
3335
|
status: A.status,
|
|
@@ -3352,46 +3354,46 @@ var Ft = { exports: {} };
|
|
|
3352
3354
|
function B() {
|
|
3353
3355
|
this.bitsNeeded = 0, this.codePoint = 0;
|
|
3354
3356
|
}
|
|
3355
|
-
B.prototype.decode = function(
|
|
3356
|
-
function p(
|
|
3357
|
+
B.prototype.decode = function(a) {
|
|
3358
|
+
function p(G, s, m) {
|
|
3357
3359
|
if (m === 1)
|
|
3358
|
-
return
|
|
3360
|
+
return G >= 128 >> s && G << s <= 2047;
|
|
3359
3361
|
if (m === 2)
|
|
3360
|
-
return
|
|
3362
|
+
return G >= 2048 >> s && G << s <= 55295 || G >= 57344 >> s && G << s <= 65535;
|
|
3361
3363
|
if (m === 3)
|
|
3362
|
-
return
|
|
3364
|
+
return G >= 65536 >> s && G << s <= 1114111;
|
|
3363
3365
|
throw new Error();
|
|
3364
3366
|
}
|
|
3365
|
-
function b(
|
|
3366
|
-
if (
|
|
3367
|
+
function b(G, s) {
|
|
3368
|
+
if (G === 6 * 1)
|
|
3367
3369
|
return s >> 6 > 15 ? 3 : s > 31 ? 2 : 1;
|
|
3368
|
-
if (
|
|
3370
|
+
if (G === 6 * 2)
|
|
3369
3371
|
return s > 15 ? 3 : 2;
|
|
3370
|
-
if (
|
|
3372
|
+
if (G === 6 * 3)
|
|
3371
3373
|
return 3;
|
|
3372
3374
|
throw new Error();
|
|
3373
3375
|
}
|
|
3374
|
-
for (var A = 65533, w = "", y = this.bitsNeeded, R = this.codePoint,
|
|
3375
|
-
var O =
|
|
3376
|
+
for (var A = 65533, w = "", y = this.bitsNeeded, R = this.codePoint, j = 0; j < a.length; j += 1) {
|
|
3377
|
+
var O = a[j];
|
|
3376
3378
|
y !== 0 && (O < 128 || O > 191 || !p(R << 6 | O & 63, y - 6, b(y, R))) && (y = 0, R = A, w += String.fromCharCode(R)), y === 0 ? (O >= 0 && O <= 127 ? (y = 0, R = O) : O >= 192 && O <= 223 ? (y = 6 * 1, R = O & 31) : O >= 224 && O <= 239 ? (y = 6 * 2, R = O & 15) : O >= 240 && O <= 247 ? (y = 6 * 3, R = O & 7) : (y = 0, R = A), y !== 0 && !p(R, y, b(y, R)) && (y = 0, R = A)) : (y -= 6, R = R << 6 | O & 63), y === 0 && (R <= 65535 ? w += String.fromCharCode(R) : (w += String.fromCharCode(55296 + (R - 65535 - 1 >> 10)), w += String.fromCharCode(56320 + (R - 65535 - 1 & 1023))));
|
|
3377
3379
|
}
|
|
3378
3380
|
return this.bitsNeeded = y, this.codePoint = R, w;
|
|
3379
3381
|
};
|
|
3380
|
-
var
|
|
3382
|
+
var k = function() {
|
|
3381
3383
|
try {
|
|
3382
3384
|
return new S().decode(new M().encode("test"), { stream: !0 }) === "test";
|
|
3383
|
-
} catch (
|
|
3384
|
-
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " +
|
|
3385
|
+
} catch (a) {
|
|
3386
|
+
console.debug("TextDecoder does not support streaming option. Using polyfill instead: " + a);
|
|
3385
3387
|
}
|
|
3386
3388
|
return !1;
|
|
3387
3389
|
};
|
|
3388
|
-
(S == null || M == null || !
|
|
3390
|
+
(S == null || M == null || !k()) && (S = B);
|
|
3389
3391
|
var N = function() {
|
|
3390
3392
|
};
|
|
3391
|
-
function P(
|
|
3392
|
-
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr =
|
|
3393
|
+
function P(a) {
|
|
3394
|
+
this.withCredentials = !1, this.readyState = 0, this.status = 0, this.statusText = "", this.responseText = "", this.onprogress = N, this.onload = N, this.onerror = N, this.onreadystatechange = N, this._contentType = "", this._xhr = a, this._sendTimeout = 0, this._abort = N;
|
|
3393
3395
|
}
|
|
3394
|
-
P.prototype.open = function(
|
|
3396
|
+
P.prototype.open = function(a, p) {
|
|
3395
3397
|
this._abort(!0);
|
|
3396
3398
|
var b = this, A = this._xhr, w = 1, y = 0;
|
|
3397
3399
|
this._abort = function(m) {
|
|
@@ -3405,12 +3407,12 @@ var Ft = { exports: {} };
|
|
|
3405
3407
|
else
|
|
3406
3408
|
try {
|
|
3407
3409
|
m = A.status, I = A.statusText, Z = A.getResponseHeader("Content-Type");
|
|
3408
|
-
} catch (
|
|
3410
|
+
} catch (we) {
|
|
3409
3411
|
m = 0, I = "", Z = void 0;
|
|
3410
3412
|
}
|
|
3411
3413
|
m !== 0 && (w = 2, b.readyState = 2, b.status = m, b.statusText = I, b._contentType = Z, b.onreadystatechange());
|
|
3412
3414
|
}
|
|
3413
|
-
},
|
|
3415
|
+
}, j = function() {
|
|
3414
3416
|
if (R(), w === 2 || w === 3) {
|
|
3415
3417
|
w = 3;
|
|
3416
3418
|
var m = "";
|
|
@@ -3423,7 +3425,7 @@ var Ft = { exports: {} };
|
|
|
3423
3425
|
}, O = function(m, I) {
|
|
3424
3426
|
if ((I == null || I.preventDefault == null) && (I = {
|
|
3425
3427
|
preventDefault: N
|
|
3426
|
-
}),
|
|
3428
|
+
}), j(), w === 1 || w === 2 || w === 3) {
|
|
3427
3429
|
if (w = 4, y !== 0 && (i(y), y = 0), b.readyState = 4, m === "load")
|
|
3428
3430
|
b.onload(I);
|
|
3429
3431
|
else if (m === "error")
|
|
@@ -3434,12 +3436,12 @@ var Ft = { exports: {} };
|
|
|
3434
3436
|
throw new TypeError();
|
|
3435
3437
|
b.onreadystatechange();
|
|
3436
3438
|
}
|
|
3437
|
-
},
|
|
3438
|
-
A != null && (A.readyState === 4 ? (!("onload" in A) || !("onerror" in A) || !("onabort" in A)) && O(A.responseText === "" ? "error" : "load", m) : A.readyState === 3 ? "onprogress" in A ||
|
|
3439
|
+
}, G = function(m) {
|
|
3440
|
+
A != null && (A.readyState === 4 ? (!("onload" in A) || !("onerror" in A) || !("onabort" in A)) && O(A.responseText === "" ? "error" : "load", m) : A.readyState === 3 ? "onprogress" in A || j() : A.readyState === 2 && R());
|
|
3439
3441
|
}, s = function() {
|
|
3440
|
-
y =
|
|
3442
|
+
y = n(function() {
|
|
3441
3443
|
s();
|
|
3442
|
-
}, 500), A.readyState === 3 &&
|
|
3444
|
+
}, 500), A.readyState === 3 && j();
|
|
3443
3445
|
};
|
|
3444
3446
|
"onload" in A && (A.onload = function(m) {
|
|
3445
3447
|
O("load", m);
|
|
@@ -3447,25 +3449,25 @@ var Ft = { exports: {} };
|
|
|
3447
3449
|
O("error", m);
|
|
3448
3450
|
}), "onabort" in A && (A.onabort = function(m) {
|
|
3449
3451
|
O("abort", m);
|
|
3450
|
-
}), "onprogress" in A && (A.onprogress =
|
|
3451
|
-
|
|
3452
|
-
}), ("contentType" in A || !("ontimeout" in
|
|
3452
|
+
}), "onprogress" in A && (A.onprogress = j), "onreadystatechange" in A && (A.onreadystatechange = function(m) {
|
|
3453
|
+
G(m);
|
|
3454
|
+
}), ("contentType" in A || !("ontimeout" in o.prototype)) && (p += (p.indexOf("?") === -1 ? "?" : "&") + "padding=true"), A.open(a, p, !0), "readyState" in A && (y = n(function() {
|
|
3453
3455
|
s();
|
|
3454
3456
|
}, 0));
|
|
3455
3457
|
}, P.prototype.abort = function() {
|
|
3456
3458
|
this._abort(!1);
|
|
3457
|
-
}, P.prototype.getResponseHeader = function(
|
|
3459
|
+
}, P.prototype.getResponseHeader = function(a) {
|
|
3458
3460
|
return this._contentType;
|
|
3459
|
-
}, P.prototype.setRequestHeader = function(
|
|
3461
|
+
}, P.prototype.setRequestHeader = function(a, p) {
|
|
3460
3462
|
var b = this._xhr;
|
|
3461
|
-
"setRequestHeader" in b && b.setRequestHeader(
|
|
3463
|
+
"setRequestHeader" in b && b.setRequestHeader(a, p);
|
|
3462
3464
|
}, P.prototype.getAllResponseHeaders = function() {
|
|
3463
3465
|
return this._xhr.getAllResponseHeaders != null && this._xhr.getAllResponseHeaders() || "";
|
|
3464
3466
|
}, P.prototype.send = function() {
|
|
3465
|
-
if ((!("ontimeout" in
|
|
3466
|
-
var
|
|
3467
|
-
|
|
3468
|
-
|
|
3467
|
+
if ((!("ontimeout" in o.prototype) || !("sendAsBinary" in o.prototype) && !("mozAnon" in o.prototype)) && u != null && u.readyState != null && u.readyState !== "complete") {
|
|
3468
|
+
var a = this;
|
|
3469
|
+
a._sendTimeout = n(function() {
|
|
3470
|
+
a._sendTimeout = 0, a.send();
|
|
3469
3471
|
}, 4);
|
|
3470
3472
|
return;
|
|
3471
3473
|
}
|
|
@@ -3477,76 +3479,76 @@ var Ft = { exports: {} };
|
|
|
3477
3479
|
throw b;
|
|
3478
3480
|
}
|
|
3479
3481
|
};
|
|
3480
|
-
function T(
|
|
3481
|
-
return
|
|
3482
|
+
function T(a) {
|
|
3483
|
+
return a.replace(/[A-Z]/g, function(p) {
|
|
3482
3484
|
return String.fromCharCode(p.charCodeAt(0) + 32);
|
|
3483
3485
|
});
|
|
3484
3486
|
}
|
|
3485
|
-
function E(
|
|
3486
|
-
for (var p = /* @__PURE__ */ Object.create(null), b =
|
|
3487
|
+
function E(a) {
|
|
3488
|
+
for (var p = /* @__PURE__ */ Object.create(null), b = a.split(`\r
|
|
3487
3489
|
`), A = 0; A < b.length; A += 1) {
|
|
3488
|
-
var w = b[A], y = w.split(": "), R = y.shift(),
|
|
3489
|
-
p[T(R)] =
|
|
3490
|
+
var w = b[A], y = w.split(": "), R = y.shift(), j = y.join(": ");
|
|
3491
|
+
p[T(R)] = j;
|
|
3490
3492
|
}
|
|
3491
3493
|
this._map = p;
|
|
3492
3494
|
}
|
|
3493
|
-
E.prototype.get = function(
|
|
3494
|
-
return this._map[T(
|
|
3495
|
-
},
|
|
3496
|
-
function
|
|
3495
|
+
E.prototype.get = function(a) {
|
|
3496
|
+
return this._map[T(a)];
|
|
3497
|
+
}, o != null && o.HEADERS_RECEIVED == null && (o.HEADERS_RECEIVED = 2);
|
|
3498
|
+
function F() {
|
|
3497
3499
|
}
|
|
3498
|
-
|
|
3499
|
-
|
|
3500
|
-
var
|
|
3501
|
-
|
|
3502
|
-
var
|
|
3503
|
-
|
|
3504
|
-
},
|
|
3505
|
-
|
|
3506
|
-
},
|
|
3500
|
+
F.prototype.open = function(a, p, b, A, w, y, R) {
|
|
3501
|
+
a.open("GET", w);
|
|
3502
|
+
var j = 0;
|
|
3503
|
+
a.onprogress = function() {
|
|
3504
|
+
var G = a.responseText, s = G.slice(j);
|
|
3505
|
+
j += s.length, b(s);
|
|
3506
|
+
}, a.onerror = function(G) {
|
|
3507
|
+
G.preventDefault(), A(new Error("NetworkError"));
|
|
3508
|
+
}, a.onload = function() {
|
|
3507
3509
|
A(null);
|
|
3508
|
-
},
|
|
3510
|
+
}, a.onabort = function() {
|
|
3509
3511
|
A(null);
|
|
3510
|
-
},
|
|
3511
|
-
if (
|
|
3512
|
-
var
|
|
3513
|
-
p(
|
|
3512
|
+
}, a.onreadystatechange = function() {
|
|
3513
|
+
if (a.readyState === o.HEADERS_RECEIVED) {
|
|
3514
|
+
var G = a.status, s = a.statusText, m = a.getResponseHeader("Content-Type"), I = a.getAllResponseHeaders();
|
|
3515
|
+
p(G, s, m, new E(I));
|
|
3514
3516
|
}
|
|
3515
|
-
},
|
|
3517
|
+
}, a.withCredentials = y;
|
|
3516
3518
|
for (var O in R)
|
|
3517
|
-
Object.prototype.hasOwnProperty.call(R, O) &&
|
|
3518
|
-
return
|
|
3519
|
+
Object.prototype.hasOwnProperty.call(R, O) && a.setRequestHeader(O, R[O]);
|
|
3520
|
+
return a.send(), a;
|
|
3519
3521
|
};
|
|
3520
|
-
function
|
|
3521
|
-
this._headers =
|
|
3522
|
+
function _(a) {
|
|
3523
|
+
this._headers = a;
|
|
3522
3524
|
}
|
|
3523
|
-
|
|
3524
|
-
return this._headers.get(
|
|
3525
|
+
_.prototype.get = function(a) {
|
|
3526
|
+
return this._headers.get(a);
|
|
3525
3527
|
};
|
|
3526
3528
|
function ie() {
|
|
3527
3529
|
}
|
|
3528
|
-
ie.prototype.open = function(
|
|
3529
|
-
var
|
|
3530
|
+
ie.prototype.open = function(a, p, b, A, w, y, R) {
|
|
3531
|
+
var j = null, O = new x(), G = O.signal, s = new S();
|
|
3530
3532
|
return g(w, {
|
|
3531
3533
|
headers: R,
|
|
3532
3534
|
credentials: y ? "include" : "same-origin",
|
|
3533
|
-
signal:
|
|
3535
|
+
signal: G,
|
|
3534
3536
|
cache: "no-store"
|
|
3535
3537
|
}).then(function(m) {
|
|
3536
|
-
return
|
|
3537
|
-
var
|
|
3538
|
-
|
|
3539
|
-
if (
|
|
3538
|
+
return j = m.body.getReader(), p(m.status, m.statusText, m.headers.get("Content-Type"), new _(m.headers)), new l(function(I, Z) {
|
|
3539
|
+
var we = function() {
|
|
3540
|
+
j.read().then(function(oe) {
|
|
3541
|
+
if (oe.done)
|
|
3540
3542
|
I(void 0);
|
|
3541
3543
|
else {
|
|
3542
|
-
var
|
|
3543
|
-
b(
|
|
3544
|
+
var ne = s.decode(oe.value, { stream: !0 });
|
|
3545
|
+
b(ne), we();
|
|
3544
3546
|
}
|
|
3545
|
-
}).catch(function(
|
|
3546
|
-
Z(
|
|
3547
|
+
}).catch(function(oe) {
|
|
3548
|
+
Z(oe);
|
|
3547
3549
|
});
|
|
3548
3550
|
};
|
|
3549
|
-
|
|
3551
|
+
we();
|
|
3550
3552
|
});
|
|
3551
3553
|
}).catch(function(m) {
|
|
3552
3554
|
if (m.name !== "AbortError")
|
|
@@ -3555,260 +3557,260 @@ var Ft = { exports: {} };
|
|
|
3555
3557
|
A(m);
|
|
3556
3558
|
}), {
|
|
3557
3559
|
abort: function() {
|
|
3558
|
-
|
|
3560
|
+
j != null && j.cancel(), O.abort();
|
|
3559
3561
|
}
|
|
3560
3562
|
};
|
|
3561
3563
|
};
|
|
3562
3564
|
function fe() {
|
|
3563
3565
|
this._listeners = /* @__PURE__ */ Object.create(null);
|
|
3564
3566
|
}
|
|
3565
|
-
function Y(
|
|
3566
|
-
|
|
3567
|
-
throw
|
|
3567
|
+
function Y(a) {
|
|
3568
|
+
n(function() {
|
|
3569
|
+
throw a;
|
|
3568
3570
|
}, 0);
|
|
3569
3571
|
}
|
|
3570
|
-
fe.prototype.dispatchEvent = function(
|
|
3571
|
-
|
|
3572
|
-
var p = this._listeners[
|
|
3572
|
+
fe.prototype.dispatchEvent = function(a) {
|
|
3573
|
+
a.target = this;
|
|
3574
|
+
var p = this._listeners[a.type];
|
|
3573
3575
|
if (p != null)
|
|
3574
3576
|
for (var b = p.length, A = 0; A < b; A += 1) {
|
|
3575
3577
|
var w = p[A];
|
|
3576
3578
|
try {
|
|
3577
|
-
typeof w.handleEvent == "function" ? w.handleEvent(
|
|
3579
|
+
typeof w.handleEvent == "function" ? w.handleEvent(a) : w.call(this, a);
|
|
3578
3580
|
} catch (y) {
|
|
3579
3581
|
Y(y);
|
|
3580
3582
|
}
|
|
3581
3583
|
}
|
|
3582
|
-
}, fe.prototype.addEventListener = function(
|
|
3583
|
-
|
|
3584
|
-
var b = this._listeners, A = b[
|
|
3585
|
-
A == null && (A = [], b[
|
|
3584
|
+
}, fe.prototype.addEventListener = function(a, p) {
|
|
3585
|
+
a = String(a);
|
|
3586
|
+
var b = this._listeners, A = b[a];
|
|
3587
|
+
A == null && (A = [], b[a] = A);
|
|
3586
3588
|
for (var w = !1, y = 0; y < A.length; y += 1)
|
|
3587
3589
|
A[y] === p && (w = !0);
|
|
3588
3590
|
w || A.push(p);
|
|
3589
|
-
}, fe.prototype.removeEventListener = function(
|
|
3590
|
-
|
|
3591
|
-
var b = this._listeners, A = b[
|
|
3591
|
+
}, fe.prototype.removeEventListener = function(a, p) {
|
|
3592
|
+
a = String(a);
|
|
3593
|
+
var b = this._listeners, A = b[a];
|
|
3592
3594
|
if (A != null) {
|
|
3593
3595
|
for (var w = [], y = 0; y < A.length; y += 1)
|
|
3594
3596
|
A[y] !== p && w.push(A[y]);
|
|
3595
|
-
w.length === 0 ? delete b[
|
|
3597
|
+
w.length === 0 ? delete b[a] : b[a] = w;
|
|
3596
3598
|
}
|
|
3597
3599
|
};
|
|
3598
|
-
function
|
|
3599
|
-
this.type =
|
|
3600
|
+
function U(a) {
|
|
3601
|
+
this.type = a, this.target = void 0;
|
|
3600
3602
|
}
|
|
3601
|
-
function
|
|
3602
|
-
|
|
3603
|
+
function z(a, p) {
|
|
3604
|
+
U.call(this, a), this.data = p.data, this.lastEventId = p.lastEventId;
|
|
3603
3605
|
}
|
|
3604
|
-
|
|
3605
|
-
function q(
|
|
3606
|
-
|
|
3606
|
+
z.prototype = Object.create(U.prototype);
|
|
3607
|
+
function q(a, p) {
|
|
3608
|
+
U.call(this, a), this.status = p.status, this.statusText = p.statusText, this.headers = p.headers;
|
|
3607
3609
|
}
|
|
3608
|
-
q.prototype = Object.create(
|
|
3609
|
-
function
|
|
3610
|
-
|
|
3610
|
+
q.prototype = Object.create(U.prototype);
|
|
3611
|
+
function Q(a, p) {
|
|
3612
|
+
U.call(this, a), this.error = p.error;
|
|
3611
3613
|
}
|
|
3612
|
-
|
|
3613
|
-
var $ = -1, me = 0,
|
|
3614
|
-
var b =
|
|
3615
|
-
return b !== b && (b = p),
|
|
3616
|
-
},
|
|
3617
|
-
return Math.min(Math.max(
|
|
3618
|
-
},
|
|
3614
|
+
Q.prototype = Object.create(U.prototype);
|
|
3615
|
+
var $ = -1, me = 0, be = 1, pe = 2, Oe = -1, te = 0, Le = 1, We = 2, Ke = 3, $e = /^text\/event\-stream(;.*)?$/i, et = 1e3, tt = 18e6, Ce = function(a, p) {
|
|
3616
|
+
var b = a == null ? p : parseInt(a, 10);
|
|
3617
|
+
return b !== b && (b = p), je(b);
|
|
3618
|
+
}, je = function(a) {
|
|
3619
|
+
return Math.min(Math.max(a, et), tt);
|
|
3620
|
+
}, ye = function(a, p, b) {
|
|
3619
3621
|
try {
|
|
3620
|
-
typeof p == "function" && p.call(
|
|
3622
|
+
typeof p == "function" && p.call(a, b);
|
|
3621
3623
|
} catch (A) {
|
|
3622
3624
|
Y(A);
|
|
3623
3625
|
}
|
|
3624
3626
|
};
|
|
3625
|
-
function le(
|
|
3626
|
-
fe.call(this), p = p || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0,
|
|
3627
|
+
function le(a, p) {
|
|
3628
|
+
fe.call(this), p = p || {}, this.onopen = void 0, this.onmessage = void 0, this.onerror = void 0, this.url = void 0, this.readyState = void 0, this.withCredentials = void 0, this.headers = void 0, this._close = void 0, bt(this, a, p);
|
|
3627
3629
|
}
|
|
3628
|
-
function
|
|
3629
|
-
return
|
|
3630
|
+
function vt() {
|
|
3631
|
+
return o != null && "withCredentials" in o.prototype || f == null ? new o() : new f();
|
|
3630
3632
|
}
|
|
3631
|
-
var
|
|
3632
|
-
function
|
|
3633
|
+
var Et = g != null && v != null && "body" in v.prototype;
|
|
3634
|
+
function bt(a, p, b) {
|
|
3633
3635
|
p = String(p);
|
|
3634
|
-
var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y =
|
|
3636
|
+
var A = !!b.withCredentials, w = b.lastEventIdQueryParameterName || "lastEventId", y = je(1e3), R = Ce(b.heartbeatTimeout, 45e3), j = "", O = y, G = !1, s = 0, m = b.headers || {}, I = b.Transport, Z = Et && I == null ? void 0 : new P(I != null ? new I() : vt()), we = I != null && typeof I != "string" ? new I() : Z == null ? new ie() : new F(), oe = void 0, ne = 0, Ae = $, Ne = "", nt = "", Ie = "", it = "", ae = te, yt = 0, Re = 0, Jr = function(ee, W, ce, de) {
|
|
3635
3637
|
if (Ae === me)
|
|
3636
|
-
if (ee === 200 && ce != null &&
|
|
3637
|
-
Ae =
|
|
3638
|
+
if (ee === 200 && ce != null && $e.test(ce)) {
|
|
3639
|
+
Ae = be, G = Date.now(), O = y, a.readyState = be;
|
|
3638
3640
|
var se = new q("open", {
|
|
3639
3641
|
status: ee,
|
|
3640
3642
|
statusText: W,
|
|
3641
3643
|
headers: de
|
|
3642
3644
|
});
|
|
3643
|
-
|
|
3645
|
+
a.dispatchEvent(se), ye(a, a.onopen, se);
|
|
3644
3646
|
} else {
|
|
3645
|
-
var
|
|
3646
|
-
ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")),
|
|
3647
|
+
var re = "";
|
|
3648
|
+
ee !== 200 ? (W && (W = W.replace(/\s+/g, " ")), re = "EventSource's response has a status " + ee + " " + W + " that is not 200. Aborting the connection.") : re = "EventSource's response has a Content-Type specifying an unsupported type: " + (ce == null ? "-" : ce.replace(/\s+/g, " ")) + ". Aborting the connection.", wt();
|
|
3647
3649
|
var se = new q("error", {
|
|
3648
3650
|
status: ee,
|
|
3649
3651
|
statusText: W,
|
|
3650
3652
|
headers: de
|
|
3651
3653
|
});
|
|
3652
|
-
|
|
3654
|
+
a.dispatchEvent(se), ye(a, a.onerror, se), console.error(re);
|
|
3653
3655
|
}
|
|
3654
|
-
},
|
|
3655
|
-
if (Ae ===
|
|
3656
|
+
}, Xr = function(ee) {
|
|
3657
|
+
if (Ae === be) {
|
|
3656
3658
|
for (var W = -1, ce = 0; ce < ee.length; ce += 1) {
|
|
3657
3659
|
var de = ee.charCodeAt(ce);
|
|
3658
3660
|
(de === 10 || de === 13) && (W = ce);
|
|
3659
3661
|
}
|
|
3660
|
-
var se = (W !== -1 ?
|
|
3661
|
-
|
|
3662
|
-
for (var
|
|
3663
|
-
var de = se.charCodeAt(
|
|
3664
|
-
if (
|
|
3665
|
-
|
|
3666
|
-
else if (
|
|
3667
|
-
if (
|
|
3668
|
-
|
|
3669
|
-
var
|
|
3670
|
-
|
|
3671
|
-
`,
|
|
3672
|
-
|
|
3662
|
+
var se = (W !== -1 ? it : "") + ee.slice(0, W + 1);
|
|
3663
|
+
it = (W === -1 ? it : "") + ee.slice(W + 1), ee !== "" && (G = Date.now(), s += ee.length);
|
|
3664
|
+
for (var re = 0; re < se.length; re += 1) {
|
|
3665
|
+
var de = se.charCodeAt(re);
|
|
3666
|
+
if (ae === Oe && de === 10)
|
|
3667
|
+
ae = te;
|
|
3668
|
+
else if (ae === Oe && (ae = te), de === 13 || de === 10) {
|
|
3669
|
+
if (ae !== te) {
|
|
3670
|
+
ae === Le && (Re = re + 1);
|
|
3671
|
+
var xe = se.slice(yt, Re - 1), Be = se.slice(Re + (Re < re && se.charCodeAt(Re) === 32 ? 1 : 0), re);
|
|
3672
|
+
xe === "data" ? (Ne += `
|
|
3673
|
+
`, Ne += Be) : xe === "id" ? nt = Be : xe === "event" ? Ie = Be : xe === "retry" ? (y = Ce(Be, y), O = y) : xe === "heartbeatTimeout" && (R = Ce(Be, R), ne !== 0 && (i(ne), ne = n(function() {
|
|
3674
|
+
Je();
|
|
3673
3675
|
}, R)));
|
|
3674
3676
|
}
|
|
3675
|
-
if (
|
|
3676
|
-
if (
|
|
3677
|
-
|
|
3678
|
-
var
|
|
3679
|
-
data:
|
|
3677
|
+
if (ae === te) {
|
|
3678
|
+
if (Ne !== "") {
|
|
3679
|
+
j = nt, Ie === "" && (Ie = "message");
|
|
3680
|
+
var De = new z(Ie, {
|
|
3681
|
+
data: Ne.slice(1),
|
|
3680
3682
|
lastEventId: nt
|
|
3681
3683
|
});
|
|
3682
|
-
if (
|
|
3684
|
+
if (a.dispatchEvent(De), Ie === "open" ? ye(a, a.onopen, De) : Ie === "message" ? ye(a, a.onmessage, De) : Ie === "error" && ye(a, a.onerror, De), Ae === pe)
|
|
3683
3685
|
return;
|
|
3684
3686
|
}
|
|
3685
|
-
|
|
3687
|
+
Ne = "", Ie = "";
|
|
3686
3688
|
}
|
|
3687
|
-
|
|
3689
|
+
ae = de === 13 ? Oe : te;
|
|
3688
3690
|
} else
|
|
3689
|
-
|
|
3691
|
+
ae === te && (yt = re, ae = Le), ae === Le ? de === 58 && (Re = re + 1, ae = We) : ae === We && (ae = Ke);
|
|
3690
3692
|
}
|
|
3691
3693
|
}
|
|
3692
|
-
},
|
|
3693
|
-
if (Ae ===
|
|
3694
|
-
Ae = $,
|
|
3695
|
-
|
|
3696
|
-
}, O), O =
|
|
3697
|
-
var W = new
|
|
3698
|
-
|
|
3694
|
+
}, Xt = function(ee) {
|
|
3695
|
+
if (Ae === be || Ae === me) {
|
|
3696
|
+
Ae = $, ne !== 0 && (i(ne), ne = 0), ne = n(function() {
|
|
3697
|
+
Je();
|
|
3698
|
+
}, O), O = je(Math.min(y * 16, O * 2)), a.readyState = me;
|
|
3699
|
+
var W = new Q("error", { error: ee });
|
|
3700
|
+
a.dispatchEvent(W), ye(a, a.onerror, W), ee != null && console.error(ee);
|
|
3699
3701
|
}
|
|
3700
|
-
},
|
|
3701
|
-
Ae = pe,
|
|
3702
|
-
},
|
|
3703
|
-
if (
|
|
3704
|
-
if (!
|
|
3705
|
-
|
|
3702
|
+
}, wt = function() {
|
|
3703
|
+
Ae = pe, oe != null && (oe.abort(), oe = void 0), ne !== 0 && (i(ne), ne = 0), a.readyState = pe;
|
|
3704
|
+
}, Je = function() {
|
|
3705
|
+
if (ne = 0, Ae !== $) {
|
|
3706
|
+
if (!G && oe != null)
|
|
3707
|
+
Xt(new Error("No activity within " + R + " milliseconds. " + (Ae === me ? "No response received." : s + " chars received.") + " Reconnecting.")), oe != null && (oe.abort(), oe = void 0);
|
|
3706
3708
|
else {
|
|
3707
|
-
var ee = Math.max((
|
|
3708
|
-
|
|
3709
|
-
|
|
3709
|
+
var ee = Math.max((G || Date.now()) + R - Date.now(), 1);
|
|
3710
|
+
G = !1, ne = n(function() {
|
|
3711
|
+
Je();
|
|
3710
3712
|
}, ee);
|
|
3711
3713
|
}
|
|
3712
3714
|
return;
|
|
3713
3715
|
}
|
|
3714
|
-
|
|
3715
|
-
|
|
3716
|
-
}, R), Ae = me,
|
|
3716
|
+
G = !1, s = 0, ne = n(function() {
|
|
3717
|
+
Je();
|
|
3718
|
+
}, R), Ae = me, Ne = "", Ie = "", nt = j, it = "", yt = 0, Re = 0, ae = te;
|
|
3717
3719
|
var W = p;
|
|
3718
|
-
if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" &&
|
|
3720
|
+
if (p.slice(0, 5) !== "data:" && p.slice(0, 5) !== "blob:" && j !== "") {
|
|
3719
3721
|
var ce = p.indexOf("?");
|
|
3720
|
-
W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(
|
|
3721
|
-
return
|
|
3722
|
-
}), W += (p.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(
|
|
3722
|
+
W = ce === -1 ? p : p.slice(0, ce + 1) + p.slice(ce + 1).replace(/(?:^|&)([^=&]*)(?:=[^&]*)?/g, function(Be, De) {
|
|
3723
|
+
return De === w ? "" : Be;
|
|
3724
|
+
}), W += (p.indexOf("?") === -1 ? "?" : "&") + w + "=" + encodeURIComponent(j);
|
|
3723
3725
|
}
|
|
3724
|
-
var de =
|
|
3726
|
+
var de = a.withCredentials, se = {};
|
|
3725
3727
|
se.Accept = "text/event-stream";
|
|
3726
|
-
var
|
|
3727
|
-
if (
|
|
3728
|
-
for (var
|
|
3729
|
-
Object.prototype.hasOwnProperty.call(
|
|
3728
|
+
var re = a.headers;
|
|
3729
|
+
if (re != null)
|
|
3730
|
+
for (var xe in re)
|
|
3731
|
+
Object.prototype.hasOwnProperty.call(re, xe) && (se[xe] = re[xe]);
|
|
3730
3732
|
try {
|
|
3731
|
-
|
|
3732
|
-
} catch (
|
|
3733
|
-
throw
|
|
3733
|
+
oe = we.open(Z, Jr, Xr, Xt, W, de, se);
|
|
3734
|
+
} catch (Be) {
|
|
3735
|
+
throw wt(), Be;
|
|
3734
3736
|
}
|
|
3735
3737
|
};
|
|
3736
|
-
|
|
3738
|
+
a.url = p, a.readyState = me, a.withCredentials = A, a.headers = m, a._close = wt, Je();
|
|
3737
3739
|
}
|
|
3738
|
-
le.prototype = Object.create(fe.prototype), le.prototype.CONNECTING = me, le.prototype.OPEN =
|
|
3740
|
+
le.prototype = Object.create(fe.prototype), le.prototype.CONNECTING = me, le.prototype.OPEN = be, le.prototype.CLOSED = pe, le.prototype.close = function() {
|
|
3739
3741
|
this._close();
|
|
3740
|
-
}, le.CONNECTING = me, le.OPEN =
|
|
3741
|
-
var
|
|
3742
|
-
|
|
3742
|
+
}, le.CONNECTING = me, le.OPEN = be, le.CLOSED = pe, le.prototype.withCredentials = void 0;
|
|
3743
|
+
var rt = d;
|
|
3744
|
+
o != null && (d == null || !("withCredentials" in d.prototype)) && (rt = le), function(a) {
|
|
3743
3745
|
{
|
|
3744
|
-
var p =
|
|
3746
|
+
var p = a(t);
|
|
3745
3747
|
p !== void 0 && (e.exports = p);
|
|
3746
3748
|
}
|
|
3747
|
-
}(function(
|
|
3748
|
-
|
|
3749
|
+
}(function(a) {
|
|
3750
|
+
a.EventSourcePolyfill = le, a.NativeEventSource = d, a.EventSource = rt;
|
|
3749
3751
|
});
|
|
3750
|
-
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self :
|
|
3751
|
-
})(
|
|
3752
|
-
var
|
|
3753
|
-
const
|
|
3752
|
+
})(typeof globalThis == "undefined" ? typeof window != "undefined" ? window : typeof self != "undefined" ? self : un : globalThis);
|
|
3753
|
+
})(Qt, Qt.exports);
|
|
3754
|
+
var Ki = Qt.exports;
|
|
3755
|
+
const $i = `
|
|
3754
3756
|
data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAAOxAAADsQBlSsOGwAAABl0RVh0U29mdHdhcmUAd3d3Lmlua3NjYXBlLm9yZ5vuPBoAACAASURBVHic7d13uF1Vnf/x93fvc25PIYAQmorYCCTBUBVSqJbBNlZ0sI3+1BkLguKMo8Yyo0IAxdFnnLGPZewgKlLTIIQSQxK6SE8hJJB+29l7/f64QQMkN7fsc7577/N5PQ+PSu7d6wMmd3/OWmuvbUimwtxJXcTxywmcDkwFDgTGA+abTGQnbr8Dkpp3CpFniuNApdJDS8sqqtXfkFTPtzMfXesdq0x0U8pImDv5AKLwObAzgDbvPCJDogIgRWEGXV330NF6hr1p3RLvOGWgAjBKYe7MCvHjnyNwFtDunUdkWFQApGiiCMZ0LSSZcKq964Ee7zhFFnkHKLKwaNIEosf/SOBf0c1fRKT+0hQ2bjqB2to14Zf7vcg7TpGpAIxQuPqwfeiPFwMneWcREWk6PdvGsX7dsvDDfQ7zjlJUKgAjEG6f1EI1+jnwfO8sIiJNq6+vhb6Ni8KPJoz1jlJEKgAj8Vj8DWC6dwwRkabX3TOGWv8N3jGKSAVgmMK8qUdhvMc7h4iIbLd586HhJ3u+3T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RJDsqAGUSpS3eEUSkvIKFdu8Mkh0VABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCoCIiEgTUgEQERFpQioAIiIiTUgFQEREpAmpAIiIiDQhFQAREZEmpAIgIiLShFQAREREmpAKgIiISBNSARAREWlCKgAiIiJNSAVARESkCakAiIiINCEVABERkSakAiAiItKEVABERESakAqAiIhIE1IBEBERaUIqACIiIk1IBUBERKQJqQCIiIg0IRUAERGRJqQCICIi0oRUAERERJqQCkCZpFGfdwQRKS8L1u2dQbKjAlAmcdjgHUFEysviaI13BsmOCkCZJPYX7wgiUl5WCYu8M0h2VADK5Lrf3w884h1DRMqn2lJJDn5oiQpAiagAlIhBAH7nnUNEyqerq/1Og9Q7h2RHBaBsApd6RxCR8mlrrf7UO4NkSwWgbK47+koIf/KOISLl0d7e0n3I6rHneeeQbKkAlIwxO4XoX71ziEh5jN9jzOeMeTXvHJItFYASsoW/vwILv/HOISLFN25c58rnr1ryFe8ckj1hLOs1AAAA8klEQVQVgLKKus8EVnjHEJHiam9r6Z0wZuwx3jmkPlQASsrmzduCxa9BjwWKyAi0tMTJnnuPO/XAR25Y6Z1F6kMFoMRswWX3Q3I0cKN3FhEpjs6uti377D3myIMfvnmBdxapHxWAkrOFV6wm3jYTwlcBvStARHbJzNhzzzFLxu47bv/nrrz1Vu88Ul/mHUAaJxz/qoMhfAHjDUCLdx7xt3jx3fT3J94xxJmZMW5cxwNjujre+dxHbp7vnUcaQwWgCYWTTx5HX/XlpPZqjMOBA4A9vHNJ46kANKdKJQ7Vatzb2lpd09ZevbQ9bj9fa/3N5/8DLDrhXaS1FJcAAAAASUVORK5CYII=
|
|
3755
3757
|
`;
|
|
3756
3758
|
if (typeof window != "undefined") {
|
|
3757
3759
|
let e = function(t) {
|
|
3758
|
-
return function(...
|
|
3760
|
+
return function(...r) {
|
|
3759
3761
|
try {
|
|
3760
|
-
return t.apply(this,
|
|
3761
|
-
} catch (
|
|
3762
|
-
if (
|
|
3762
|
+
return t.apply(this, r);
|
|
3763
|
+
} catch (n) {
|
|
3764
|
+
if (n instanceof DOMException && n.message.includes("has already been used with this registry") || n.message.includes("Cannot define multiple custom elements with the same tag name"))
|
|
3763
3765
|
return !1;
|
|
3764
|
-
throw
|
|
3766
|
+
throw n;
|
|
3765
3767
|
}
|
|
3766
3768
|
};
|
|
3767
3769
|
};
|
|
3768
|
-
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-
|
|
3770
|
+
customElements.define = e(customElements.define), import("./CasinoTournamentsRank-C29SdtOD.js").then((t) => t.I).then(({ default: t }) => {
|
|
3769
3771
|
!customElements.get("casino-tournaments-rank") && customElements.define("casino-tournaments-rank", t.element);
|
|
3770
3772
|
});
|
|
3771
3773
|
}
|
|
3772
|
-
function
|
|
3773
|
-
|
|
3774
|
+
function eo(e) {
|
|
3775
|
+
Kr(e, "svelte-8x54mj", ".casino-tournaments-slider-controller{position:relative;width:100%;background:#212223;color:#fff;display:inline-flex;padding:10px 5px;border:1px solid #ff8364;border-radius:5px;min-height:70px;-webkit-box-shadow:0 1px 3px rgba(0, 0, 0, 0.5)}.TournamentInfo{width:calc(100% - 4px);padding:2px;display:flex;flex-direction:column;justify-content:center}.TournamentInfo .name{white-space:nowrap;width:99%;text-align:center;text-transform:capitalize;font-size:11px;margin-bottom:5px;cursor:pointer;overflow:hidden;text-overflow:ellipsis}.TournamentInfo .TournamentNameLink{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.TournamentInfo .circle{text-align:center;height:7px;height:5px;margin-top:3px}.TournamentInfo .circle svg{color:#C4C4C4;margin:0 2px;vertical-align:top;margin-top:3px}.TournamentInfo .circle svg.active{color:white}.ArrowLeft{left:1px}.ArrowRight{right:1px}.ArrowLeft,.ArrowRight{position:absolute;cursor:pointer;top:calc(50% - 7px);margin:0px;display:flex;width:7px}.ArrowLeft.Disabled svg,.ArrowRight.Disabled svg{color:darkgrey}.ArrowLeft svg,.ArrowRight svg{vertical-align:middle;width:11px;height:11px;color:#FF8364}section#animator{position:absolute;right:0;top:0;opacity:0;display:none;cursor:pointer;text-align:center;align-items:center;flex-direction:column}section#animator .restoreButton{color:#000;display:inline-flex}casino-tournaments-rank::part(Rank),casino-tournaments-rank::part(Prize){background-color:transparent;padding:0px;margin:0px;line-height:14px}casino-tournaments-rank::part(RankText),casino-tournaments-rank::part(PrizeText){line-height:16px;margin:auto}casino-tournaments-rank::part(Rank_Arror_UP),casino-tournaments-rank::part(Rank_Arror_Down){padding:0px 3px}casino-tournaments-rank::part(PrizeText){font-weight:normal}casino-tournaments-rank::part(Rank){color:#ff8364;font-size:10px}casino-tournaments-rank::part(Prize){color:#fdd500;font-size:10px}");
|
|
3774
3776
|
}
|
|
3775
|
-
function
|
|
3776
|
-
const
|
|
3777
|
-
return
|
|
3777
|
+
function fr(e, t, r) {
|
|
3778
|
+
const n = e.slice();
|
|
3779
|
+
return n[64] = t[r], n[66] = r, n;
|
|
3778
3780
|
}
|
|
3779
|
-
function
|
|
3780
|
-
let t,
|
|
3781
|
+
function cr(e) {
|
|
3782
|
+
let t, r, n, i = (
|
|
3781
3783
|
/*$_*/
|
|
3782
3784
|
e[13]("loading") + ""
|
|
3783
|
-
),
|
|
3785
|
+
), o, f, c, d, u, l;
|
|
3784
3786
|
return {
|
|
3785
3787
|
c() {
|
|
3786
|
-
t = K("div"),
|
|
3788
|
+
t = K("div"), r = K("div"), n = K("span"), o = Er(i), f = ve(), c = K("div"), d = K("casino-tournaments-rank"), u = ve(), l = K("div"), l.innerHTML = "", h(n, "part", "TournamentInfo_Name_link"), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), J(d, "displayin", "col"), J(d, "showicon", "false"), J(d, "userrank", "-"), J(d, "prize", "-"), J(d, "overallrank", "-"), J(d, "tournamentid", ""), J(
|
|
3787
3789
|
d,
|
|
3788
3790
|
"clientstyling",
|
|
3789
3791
|
/*clientstyling*/
|
|
3790
3792
|
e[1]
|
|
3791
|
-
),
|
|
3793
|
+
), J(
|
|
3792
3794
|
d,
|
|
3793
3795
|
"clientstylingurl",
|
|
3794
3796
|
/*clientstylingurl*/
|
|
3795
3797
|
e[2]
|
|
3796
|
-
), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"),
|
|
3798
|
+
), h(c, "part", "TournamentInfo_Rank"), h(c, "class", "rank"), h(l, "part", "TournamentInfo_Points"), h(l, "class", "circle"), h(t, "part", "TournamentLoading"), h(t, "class", "TournamentInfo SearchLoading"), rn(t, "height", "200px");
|
|
3797
3799
|
},
|
|
3798
3800
|
m(g, v) {
|
|
3799
|
-
|
|
3801
|
+
Ye(g, t, v), H(t, r), H(r, n), H(n, o), H(t, f), H(t, c), H(c, d), H(t, u), H(t, l);
|
|
3800
3802
|
},
|
|
3801
3803
|
p(g, v) {
|
|
3802
3804
|
v[0] & /*$_*/
|
|
3803
3805
|
8192 && i !== (i = /*$_*/
|
|
3804
|
-
g[13]("loading") + "") &&
|
|
3805
|
-
2 &&
|
|
3806
|
+
g[13]("loading") + "") && vr(o, i), v[0] & /*clientstyling*/
|
|
3807
|
+
2 && J(
|
|
3806
3808
|
d,
|
|
3807
3809
|
"clientstyling",
|
|
3808
3810
|
/*clientstyling*/
|
|
3809
3811
|
g[1]
|
|
3810
3812
|
), v[0] & /*clientstylingurl*/
|
|
3811
|
-
4 &&
|
|
3813
|
+
4 && J(
|
|
3812
3814
|
d,
|
|
3813
3815
|
"clientstylingurl",
|
|
3814
3816
|
/*clientstylingurl*/
|
|
@@ -3820,163 +3822,163 @@ function cn(e) {
|
|
|
3820
3822
|
}
|
|
3821
3823
|
};
|
|
3822
3824
|
}
|
|
3823
|
-
function
|
|
3824
|
-
let t,
|
|
3825
|
+
function dr(e) {
|
|
3826
|
+
let t, r, n, i = (
|
|
3825
3827
|
/*currentTournament*/
|
|
3826
3828
|
e[7].name + ""
|
|
3827
|
-
),
|
|
3829
|
+
), o, f, c, d, u, l, g, v, S, M, x, C, B, k, N, P = Vt(
|
|
3828
3830
|
/*tournamentList*/
|
|
3829
3831
|
e[4]
|
|
3830
3832
|
), T = [];
|
|
3831
3833
|
for (let E = 0; E < P.length; E += 1)
|
|
3832
|
-
T[E] =
|
|
3834
|
+
T[E] = pr(fr(e, P, E));
|
|
3833
3835
|
return {
|
|
3834
3836
|
c() {
|
|
3835
|
-
t = K("div"),
|
|
3837
|
+
t = K("div"), r = K("div"), n = K("span"), o = Er(i), c = ve(), d = K("div"), u = K("casino-tournaments-rank"), M = ve(), x = K("div");
|
|
3836
3838
|
for (let E = 0; E < T.length; E += 1)
|
|
3837
3839
|
T[E].c();
|
|
3838
|
-
h(
|
|
3839
|
-
e[7].name), h(
|
|
3840
|
-
e[7].rank),
|
|
3841
|
-
e[7].prize),
|
|
3842
|
-
e[7].overallRank),
|
|
3843
|
-
e[7].id),
|
|
3840
|
+
h(n, "part", "TournamentInfo_Name_link"), h(n, "class", "TournamentNameLink"), h(n, "title", f = /*currentTournament*/
|
|
3841
|
+
e[7].name), h(r, "part", "TournamentInfo_Name"), h(r, "class", "name"), J(u, "displayin", "col"), J(u, "showicon", "false"), J(u, "userrank", l = /*currentTournament*/
|
|
3842
|
+
e[7].rank), J(u, "prize", g = /*currentTournament*/
|
|
3843
|
+
e[7].prize), J(u, "overallrank", v = /*currentTournament*/
|
|
3844
|
+
e[7].overallRank), J(u, "tournamentid", S = /*currentTournament*/
|
|
3845
|
+
e[7].id), J(
|
|
3844
3846
|
u,
|
|
3845
3847
|
"clientstyling",
|
|
3846
3848
|
/*clientstyling*/
|
|
3847
3849
|
e[1]
|
|
3848
|
-
),
|
|
3850
|
+
), J(
|
|
3849
3851
|
u,
|
|
3850
3852
|
"clientstylingurl",
|
|
3851
3853
|
/*clientstylingurl*/
|
|
3852
3854
|
e[2]
|
|
3853
3855
|
), h(d, "part", "TournamentInfo_Rank"), h(d, "class", "rank"), h(x, "part", "TournamentInfo_Points"), h(x, "class", "circle"), h(t, "part", "TournamentInfo"), h(t, "class", "TournamentInfo");
|
|
3854
3856
|
},
|
|
3855
|
-
m(E,
|
|
3856
|
-
|
|
3857
|
-
for (let
|
|
3858
|
-
T[
|
|
3859
|
-
e[27](t), B = !0,
|
|
3860
|
-
|
|
3857
|
+
m(E, F) {
|
|
3858
|
+
Ye(E, t, F), H(t, r), H(r, n), H(n, o), H(t, c), H(t, d), H(d, u), H(t, M), H(t, x);
|
|
3859
|
+
for (let _ = 0; _ < T.length; _ += 1)
|
|
3860
|
+
T[_] && T[_].m(x, null);
|
|
3861
|
+
e[27](t), B = !0, k || (N = st(
|
|
3862
|
+
n,
|
|
3861
3863
|
"click",
|
|
3862
3864
|
/*click_handler_1*/
|
|
3863
3865
|
e[26]
|
|
3864
|
-
),
|
|
3866
|
+
), k = !0);
|
|
3865
3867
|
},
|
|
3866
|
-
p(E,
|
|
3867
|
-
if ((!B ||
|
|
3868
|
+
p(E, F) {
|
|
3869
|
+
if ((!B || F[0] & /*currentTournament*/
|
|
3868
3870
|
128) && i !== (i = /*currentTournament*/
|
|
3869
|
-
E[7].name + "") &&
|
|
3871
|
+
E[7].name + "") && vr(o, i), (!B || F[0] & /*currentTournament*/
|
|
3870
3872
|
128 && f !== (f = /*currentTournament*/
|
|
3871
|
-
E[7].name)) && h(
|
|
3873
|
+
E[7].name)) && h(n, "title", f), (!B || F[0] & /*currentTournament*/
|
|
3872
3874
|
128 && l !== (l = /*currentTournament*/
|
|
3873
|
-
E[7].rank)) &&
|
|
3875
|
+
E[7].rank)) && J(u, "userrank", l), (!B || F[0] & /*currentTournament*/
|
|
3874
3876
|
128 && g !== (g = /*currentTournament*/
|
|
3875
|
-
E[7].prize)) &&
|
|
3877
|
+
E[7].prize)) && J(u, "prize", g), (!B || F[0] & /*currentTournament*/
|
|
3876
3878
|
128 && v !== (v = /*currentTournament*/
|
|
3877
|
-
E[7].overallRank)) &&
|
|
3879
|
+
E[7].overallRank)) && J(u, "overallrank", v), (!B || F[0] & /*currentTournament*/
|
|
3878
3880
|
128 && S !== (S = /*currentTournament*/
|
|
3879
|
-
E[7].id)) &&
|
|
3880
|
-
2) &&
|
|
3881
|
+
E[7].id)) && J(u, "tournamentid", S), (!B || F[0] & /*clientstyling*/
|
|
3882
|
+
2) && J(
|
|
3881
3883
|
u,
|
|
3882
3884
|
"clientstyling",
|
|
3883
3885
|
/*clientstyling*/
|
|
3884
3886
|
E[1]
|
|
3885
|
-
), (!B ||
|
|
3886
|
-
4) &&
|
|
3887
|
+
), (!B || F[0] & /*clientstylingurl*/
|
|
3888
|
+
4) && J(
|
|
3887
3889
|
u,
|
|
3888
3890
|
"clientstylingurl",
|
|
3889
3891
|
/*clientstylingurl*/
|
|
3890
3892
|
E[2]
|
|
3891
|
-
),
|
|
3893
|
+
), F[0] & /*currentTournamentIdx, tournamentList*/
|
|
3892
3894
|
48) {
|
|
3893
|
-
P =
|
|
3895
|
+
P = Vt(
|
|
3894
3896
|
/*tournamentList*/
|
|
3895
3897
|
E[4]
|
|
3896
3898
|
);
|
|
3897
|
-
let
|
|
3898
|
-
for (
|
|
3899
|
-
const ie =
|
|
3900
|
-
T[
|
|
3899
|
+
let _;
|
|
3900
|
+
for (_ = 0; _ < P.length; _ += 1) {
|
|
3901
|
+
const ie = fr(E, P, _);
|
|
3902
|
+
T[_] ? T[_].p(ie, F) : (T[_] = pr(ie), T[_].c(), T[_].m(x, null));
|
|
3901
3903
|
}
|
|
3902
|
-
for (;
|
|
3903
|
-
T[
|
|
3904
|
+
for (; _ < T.length; _ += 1)
|
|
3905
|
+
T[_].d(1);
|
|
3904
3906
|
T.length = P.length;
|
|
3905
3907
|
}
|
|
3906
3908
|
},
|
|
3907
3909
|
i(E) {
|
|
3908
|
-
B || (E &&
|
|
3909
|
-
B && (C || (C =
|
|
3910
|
+
B || (E && on(() => {
|
|
3911
|
+
B && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !0)), C.run(1));
|
|
3910
3912
|
}), B = !0);
|
|
3911
3913
|
},
|
|
3912
3914
|
o(E) {
|
|
3913
|
-
E && (C || (C =
|
|
3915
|
+
E && (C || (C = Zt(t, qt, { delay: 250, duration: 300 }, !1)), C.run(0)), B = !1;
|
|
3914
3916
|
},
|
|
3915
3917
|
d(E) {
|
|
3916
|
-
E && qe(t),
|
|
3918
|
+
E && qe(t), nn(T, E), e[27](null), E && C && C.end(), k = !1, N();
|
|
3917
3919
|
}
|
|
3918
3920
|
};
|
|
3919
3921
|
}
|
|
3920
|
-
function
|
|
3921
|
-
let t,
|
|
3922
|
+
function pr(e) {
|
|
3923
|
+
let t, r, n;
|
|
3922
3924
|
return {
|
|
3923
3925
|
c() {
|
|
3924
|
-
t = he("svg"),
|
|
3926
|
+
t = he("svg"), r = he("circle"), h(r, "cx", "2.77888"), h(r, "cy", "2.50837"), h(r, "r", "2.28571"), h(r, "fill", "currentColor"), h(r, "stroke", "currentColor"), h(t, "class", n = /*currentTournamentIdx*/
|
|
3925
3927
|
e[5] == /*idx*/
|
|
3926
3928
|
e[66] ? "active" : ""), h(t, "width", "6"), h(t, "height", "5"), h(t, "viewBox", "0 0 6 5"), h(t, "fill", "none"), h(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
3927
3929
|
},
|
|
3928
|
-
m(i,
|
|
3929
|
-
|
|
3930
|
+
m(i, o) {
|
|
3931
|
+
Ye(i, t, o), H(t, r);
|
|
3930
3932
|
},
|
|
3931
|
-
p(i,
|
|
3932
|
-
|
|
3933
|
-
32 &&
|
|
3933
|
+
p(i, o) {
|
|
3934
|
+
o[0] & /*currentTournamentIdx*/
|
|
3935
|
+
32 && n !== (n = /*currentTournamentIdx*/
|
|
3934
3936
|
i[5] == /*idx*/
|
|
3935
|
-
i[66] ? "active" : "") && h(t, "class",
|
|
3937
|
+
i[66] ? "active" : "") && h(t, "class", n);
|
|
3936
3938
|
},
|
|
3937
3939
|
d(i) {
|
|
3938
3940
|
i && qe(t);
|
|
3939
3941
|
}
|
|
3940
3942
|
};
|
|
3941
3943
|
}
|
|
3942
|
-
function
|
|
3943
|
-
let t,
|
|
3944
|
+
function Ar(e) {
|
|
3945
|
+
let t, r;
|
|
3944
3946
|
return {
|
|
3945
3947
|
c() {
|
|
3946
|
-
t = he("svg"),
|
|
3948
|
+
t = he("svg"), r = he("path"), h(r, "fill-rule", "evenodd"), h(r, "clip-rule", "evenodd"), h(r, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(t, "width", "6"), h(t, "height", "10"), h(t, "fill", "currentColor"), h(t, "viewBox", "0 0 6 10"), h(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
3947
3949
|
},
|
|
3948
|
-
m(
|
|
3949
|
-
|
|
3950
|
+
m(n, i) {
|
|
3951
|
+
Ye(n, t, i), H(t, r);
|
|
3950
3952
|
},
|
|
3951
|
-
d(
|
|
3952
|
-
|
|
3953
|
+
d(n) {
|
|
3954
|
+
n && qe(t);
|
|
3953
3955
|
}
|
|
3954
3956
|
};
|
|
3955
3957
|
}
|
|
3956
|
-
function
|
|
3957
|
-
let t,
|
|
3958
|
-
e[4] &&
|
|
3958
|
+
function to(e) {
|
|
3959
|
+
let t, r, n, i, o, f, c, d, u, l, g, v, S, M, x, C, B, k, N, P, T, E, F, _, ie, fe, Y, U = !/*tournamentList*/
|
|
3960
|
+
e[4] && cr(e), z = (
|
|
3959
3961
|
/*tournamentList*/
|
|
3960
3962
|
e[4] && /*tournamentList*/
|
|
3961
|
-
e[4].length > 0 &&
|
|
3963
|
+
e[4].length > 0 && dr(e)
|
|
3962
3964
|
), q = (
|
|
3963
3965
|
/*isLast*/
|
|
3964
|
-
e[9] &&
|
|
3966
|
+
e[9] && Ar()
|
|
3965
3967
|
);
|
|
3966
3968
|
return {
|
|
3967
3969
|
c() {
|
|
3968
|
-
t = K("div"),
|
|
3969
|
-
(e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(
|
|
3970
|
-
|
|
3970
|
+
t = K("div"), r = K("div"), n = K("div"), i = he("svg"), o = he("path"), c = ve(), U && U.c(), d = ve(), z && z.c(), u = ve(), l = K("div"), g = he("svg"), v = he("path"), S = ve(), q && q.c(), M = ve(), x = K("section"), C = K("div"), B = he("svg"), k = he("rect"), N = he("defs"), P = he("pattern"), T = he("use"), E = he("image"), _ = ve(), ie = K("div"), ie.innerHTML = '<svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg> <svg width="6" height="10" viewBox="0 0 6 10" fill="currentColor" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"></path></svg>', h(o, "fill-rule", "evenodd"), h(o, "clip-rule", "evenodd"), h(o, "d", "M0.861997 5.75848L0 4.89648L4.30998 0.586501L5.17198 1.4485L1.7241 4.89638L5.17255 8.34484L4.31055 9.20683L0.862099 5.75838L0.861997 5.75848Z"), h(i, "width", "6"), h(i, "height", "10"), h(i, "viewBox", "0 0 6 10"), h(i, "fill", "currentColor"), h(i, "xmlns", "http://www.w3.org/2000/svg"), h(n, "part", "Tournaments_ArrowLeft"), h(n, "class", f = "ArrowLeft " + /*isFirst*/
|
|
3971
|
+
(e[8] ? "Disabled" : "")), h(v, "fill-rule", "evenodd"), h(v, "clip-rule", "evenodd"), h(v, "d", "M4.93488 5.75848L5.79688 4.89648L1.48689 0.586501L0.624894 1.4485L4.07278 4.89638L0.624326 8.34484L1.48632 9.20683L4.93478 5.75838L4.93488 5.75848Z"), h(g, "width", "6"), h(g, "height", "10"), h(g, "fill", "currentColor"), h(g, "viewBox", "0 0 6 10"), h(g, "xmlns", "http://www.w3.org/2000/svg"), h(l, "part", "Tournaments_ArrowRight"), h(l, "class", "ArrowRight"), h(r, "part", "Tournaments"), h(r, "class", "casino-tournaments-slider-controller"), h(
|
|
3972
|
+
k,
|
|
3971
3973
|
"width",
|
|
3972
3974
|
/*iconsize*/
|
|
3973
3975
|
e[0]
|
|
3974
3976
|
), h(
|
|
3975
|
-
|
|
3977
|
+
k,
|
|
3976
3978
|
"height",
|
|
3977
3979
|
/*iconsize*/
|
|
3978
3980
|
e[0]
|
|
3979
|
-
), h(
|
|
3981
|
+
), h(k, "fill", "url(#pattern0)"), xt(T, "xlink:href", "#image0_2606_356"), h(T, "transform", "scale(0.00195312)"), h(P, "id", "pattern0"), h(P, "patternContentUnits", "objectBoundingBox"), h(P, "width", "1"), h(P, "height", "1"), h(E, "id", "image0_2606_356"), h(E, "width", "512"), h(E, "height", "512"), xt(
|
|
3980
3982
|
E,
|
|
3981
3983
|
"xlink:href",
|
|
3982
3984
|
/*iconHref*/
|
|
@@ -3991,25 +3993,25 @@ function ea(e) {
|
|
|
3991
3993
|
"height",
|
|
3992
3994
|
/*iconsize*/
|
|
3993
3995
|
e[0]
|
|
3994
|
-
), h(B, "viewBox",
|
|
3996
|
+
), h(B, "viewBox", F = `0 0 ${/*iconsize*/
|
|
3995
3997
|
e[0]} ${/*iconsize*/
|
|
3996
3998
|
e[0]}`), h(B, "fill", "none"), h(B, "xmlns", "http://www.w3.org/2000/svg"), h(B, "xmlns:xlink", "http://www.w3.org/1999/xlink"), h(C, "class", "svg"), h(C, "part", "Icon"), h(ie, "class", "restoreButton"), h(ie, "part", "RestoreButton"), h(x, "id", "animator"), h(x, "part", "Animator");
|
|
3997
3999
|
},
|
|
3998
|
-
m(
|
|
3999
|
-
|
|
4000
|
-
|
|
4001
|
-
|
|
4000
|
+
m(Q, $) {
|
|
4001
|
+
Ye(Q, t, $), H(t, r), H(r, n), H(n, i), H(i, o), H(r, c), U && U.m(r, null), H(r, d), z && z.m(r, null), H(r, u), H(r, l), H(l, g), H(g, v), H(l, S), q && q.m(l, null), e[29](r), H(t, M), H(t, x), H(x, C), H(C, B), H(B, k), H(B, N), H(N, P), H(P, T), H(N, E), H(x, _), H(x, ie), e[30](x), e[32](t), fe || (Y = [
|
|
4002
|
+
st(
|
|
4003
|
+
n,
|
|
4002
4004
|
"click",
|
|
4003
4005
|
/*click_handler*/
|
|
4004
4006
|
e[25]
|
|
4005
4007
|
),
|
|
4006
|
-
|
|
4008
|
+
st(
|
|
4007
4009
|
l,
|
|
4008
4010
|
"click",
|
|
4009
4011
|
/*click_handler_2*/
|
|
4010
4012
|
e[28]
|
|
4011
4013
|
),
|
|
4012
|
-
|
|
4014
|
+
st(
|
|
4013
4015
|
x,
|
|
4014
4016
|
"click",
|
|
4015
4017
|
/*click_handler_3*/
|
|
@@ -4017,94 +4019,94 @@ function ea(e) {
|
|
|
4017
4019
|
)
|
|
4018
4020
|
], fe = !0);
|
|
4019
4021
|
},
|
|
4020
|
-
p(
|
|
4022
|
+
p(Q, $) {
|
|
4021
4023
|
$[0] & /*isFirst*/
|
|
4022
4024
|
256 && f !== (f = "ArrowLeft " + /*isFirst*/
|
|
4023
|
-
(
|
|
4024
|
-
|
|
4025
|
-
|
|
4026
|
-
|
|
4027
|
-
16 &&
|
|
4028
|
-
|
|
4029
|
-
}), $
|
|
4030
|
-
|
|
4025
|
+
(Q[8] ? "Disabled" : "")) && h(n, "class", f), /*tournamentList*/
|
|
4026
|
+
Q[4] ? U && (U.d(1), U = null) : U ? U.p(Q, $) : (U = cr(Q), U.c(), U.m(r, d)), /*tournamentList*/
|
|
4027
|
+
Q[4] && /*tournamentList*/
|
|
4028
|
+
Q[4].length > 0 ? z ? (z.p(Q, $), $[0] & /*tournamentList*/
|
|
4029
|
+
16 && It(z, 1)) : (z = dr(Q), z.c(), It(z, 1), z.m(r, u)) : z && (an(), zt(z, 1, 1, () => {
|
|
4030
|
+
z = null;
|
|
4031
|
+
}), $r()), /*isLast*/
|
|
4032
|
+
Q[9] ? q || (q = Ar(), q.c(), q.m(l, null)) : q && (q.d(1), q = null), $[0] & /*iconsize*/
|
|
4031
4033
|
1 && h(
|
|
4032
|
-
|
|
4034
|
+
k,
|
|
4033
4035
|
"width",
|
|
4034
4036
|
/*iconsize*/
|
|
4035
|
-
|
|
4037
|
+
Q[0]
|
|
4036
4038
|
), $[0] & /*iconsize*/
|
|
4037
4039
|
1 && h(
|
|
4038
|
-
|
|
4040
|
+
k,
|
|
4039
4041
|
"height",
|
|
4040
4042
|
/*iconsize*/
|
|
4041
|
-
|
|
4043
|
+
Q[0]
|
|
4042
4044
|
), $[0] & /*iconHref*/
|
|
4043
|
-
4096 &&
|
|
4045
|
+
4096 && xt(
|
|
4044
4046
|
E,
|
|
4045
4047
|
"xlink:href",
|
|
4046
4048
|
/*iconHref*/
|
|
4047
|
-
|
|
4049
|
+
Q[12]
|
|
4048
4050
|
), $[0] & /*iconsize*/
|
|
4049
4051
|
1 && h(
|
|
4050
4052
|
B,
|
|
4051
4053
|
"width",
|
|
4052
4054
|
/*iconsize*/
|
|
4053
|
-
|
|
4055
|
+
Q[0]
|
|
4054
4056
|
), $[0] & /*iconsize*/
|
|
4055
4057
|
1 && h(
|
|
4056
4058
|
B,
|
|
4057
4059
|
"height",
|
|
4058
4060
|
/*iconsize*/
|
|
4059
|
-
|
|
4061
|
+
Q[0]
|
|
4060
4062
|
), $[0] & /*iconsize*/
|
|
4061
|
-
1 &&
|
|
4062
|
-
|
|
4063
|
-
|
|
4063
|
+
1 && F !== (F = `0 0 ${/*iconsize*/
|
|
4064
|
+
Q[0]} ${/*iconsize*/
|
|
4065
|
+
Q[0]}`) && h(B, "viewBox", F);
|
|
4064
4066
|
},
|
|
4065
|
-
i(
|
|
4066
|
-
|
|
4067
|
+
i(Q) {
|
|
4068
|
+
It(z);
|
|
4067
4069
|
},
|
|
4068
|
-
o(
|
|
4069
|
-
|
|
4070
|
+
o(Q) {
|
|
4071
|
+
zt(z);
|
|
4070
4072
|
},
|
|
4071
|
-
d(
|
|
4072
|
-
|
|
4073
|
+
d(Q) {
|
|
4074
|
+
Q && qe(t), U && U.d(), z && z.d(), q && q.d(), e[29](null), e[30](null), e[32](null), fe = !1, gr(Y);
|
|
4073
4075
|
}
|
|
4074
4076
|
};
|
|
4075
4077
|
}
|
|
4076
|
-
let
|
|
4077
|
-
function
|
|
4078
|
-
let
|
|
4079
|
-
|
|
4080
|
-
let { session:
|
|
4081
|
-
|
|
4082
|
-
const
|
|
4078
|
+
let Ot = 1, Lt = 300;
|
|
4079
|
+
function ro(e, t, r) {
|
|
4080
|
+
let n, i;
|
|
4081
|
+
en(e, qi, (s) => r(13, i = s));
|
|
4082
|
+
let { session: o = "" } = t, { endpoint: f = "" } = t, { lang: c = "en" } = t, { tournamentsshownnumber: d = 5 } = t, { looptime: u = "5" } = t, { iconsize: l = "9" } = t, { icon: g = "" } = t, { clientstyling: v = "" } = t, { clientstylingurl: S = "" } = t, { translationurl: M = "" } = t, x, C = [], B, k = 0, N = !0, P = !1, T, E, F = null, _ = null, ie, fe = !1, Y, U;
|
|
4083
|
+
Yi({ withLocale: "en", translations: {} });
|
|
4084
|
+
const z = () => {
|
|
4083
4085
|
fetch(M).then((m) => m.json()).then((m) => {
|
|
4084
4086
|
Object.keys(m).forEach((I) => {
|
|
4085
|
-
|
|
4087
|
+
lr(I, m[I]);
|
|
4086
4088
|
});
|
|
4087
4089
|
}).catch((m) => {
|
|
4088
4090
|
console.log(m);
|
|
4089
4091
|
});
|
|
4090
4092
|
};
|
|
4091
|
-
Object.keys(
|
|
4092
|
-
|
|
4093
|
+
Object.keys(hr).forEach((s) => {
|
|
4094
|
+
lr(s, hr[s]);
|
|
4093
4095
|
});
|
|
4094
4096
|
const q = (s) => {
|
|
4095
|
-
s.data && s.data.type == "TournamentList" &&
|
|
4096
|
-
},
|
|
4097
|
-
|
|
4097
|
+
s.data && s.data.type == "TournamentList" && r(4, C = s.data.tournamentList);
|
|
4098
|
+
}, Q = () => {
|
|
4099
|
+
o.length > 0 && o != "false";
|
|
4098
4100
|
}, $ = () => {
|
|
4099
|
-
|
|
4101
|
+
Wi(c);
|
|
4100
4102
|
}, me = () => {
|
|
4101
4103
|
C.length !== 0 && (te.curTournament.hide(), setTimeout(
|
|
4102
4104
|
() => {
|
|
4103
|
-
|
|
4105
|
+
r(5, k = (k + 1) % C.length), te.curTournament.show();
|
|
4104
4106
|
},
|
|
4105
|
-
|
|
4107
|
+
Lt * 1.5
|
|
4106
4108
|
));
|
|
4107
|
-
},
|
|
4109
|
+
}, be = () => {
|
|
4108
4110
|
clearInterval(ie), ie = setInterval(
|
|
4109
4111
|
() => {
|
|
4110
4112
|
fe || me();
|
|
@@ -4112,57 +4114,57 @@ function ta(e, t, n) {
|
|
|
4112
4114
|
Number(u) * 1e3
|
|
4113
4115
|
);
|
|
4114
4116
|
}, pe = (s) => {
|
|
4115
|
-
te.curTournament.hide(),
|
|
4117
|
+
te.curTournament.hide(), be(), s > 0 && P && We(), !(s > 0 && P || s < 0 && N) && setTimeout(
|
|
4116
4118
|
() => {
|
|
4117
|
-
|
|
4119
|
+
r(5, k = k + s), te.curTournament.show();
|
|
4118
4120
|
},
|
|
4119
|
-
|
|
4121
|
+
Lt * 1.5
|
|
4120
4122
|
);
|
|
4121
|
-
},
|
|
4123
|
+
}, Oe = (s) => setTimeout(() => s(), Ot * 1e3), te = {
|
|
4122
4124
|
icon: {
|
|
4123
4125
|
init() {
|
|
4124
|
-
|
|
4126
|
+
r(10, Y.style.transition = `all ${Ot}s ease-in-out`, Y);
|
|
4125
4127
|
},
|
|
4126
4128
|
show() {
|
|
4127
|
-
|
|
4129
|
+
r(10, Y.style.display = "flex", Y), Oe(() => r(10, Y.style.opacity = "1", Y));
|
|
4128
4130
|
},
|
|
4129
4131
|
hide() {
|
|
4130
|
-
|
|
4132
|
+
r(10, Y.style.display = "none", Y), r(10, Y.style.opacity = "0", Y);
|
|
4131
4133
|
}
|
|
4132
4134
|
},
|
|
4133
4135
|
slider: {
|
|
4134
4136
|
init() {
|
|
4135
|
-
|
|
4137
|
+
r(6, E.style.transition = `all ${Ot}s ease-in-out`, E);
|
|
4136
4138
|
},
|
|
4137
4139
|
show() {
|
|
4138
|
-
|
|
4140
|
+
r(6, E.style.opacity = "1", E), r(6, E.style.transform = null, E), document.querySelector("body").style["overflow-x"] = "hidden";
|
|
4139
4141
|
},
|
|
4140
4142
|
hide() {
|
|
4141
|
-
this.init(),
|
|
4143
|
+
this.init(), r(6, E.style.opacity = "0", E), r(6, E.style.transform = `translateX(${E.clientWidth + 20}px)`, E), Oe(() => document.querySelector("body").setAttribute("style", null));
|
|
4142
4144
|
}
|
|
4143
4145
|
},
|
|
4144
4146
|
curTournament: {
|
|
4145
4147
|
init() {
|
|
4146
|
-
|
|
4148
|
+
r(11, U.style.transition = `all ${Lt}ms linear`, U);
|
|
4147
4149
|
},
|
|
4148
4150
|
show() {
|
|
4149
|
-
|
|
4151
|
+
r(11, U.style.opacity = "1", U);
|
|
4150
4152
|
},
|
|
4151
4153
|
hide() {
|
|
4152
|
-
this.init(),
|
|
4154
|
+
this.init(), r(11, U.style.opacity = "0", U);
|
|
4153
4155
|
}
|
|
4154
4156
|
}
|
|
4155
|
-
},
|
|
4157
|
+
}, Le = () => {
|
|
4156
4158
|
te.slider.show(), te.icon.hide(), fe = !1;
|
|
4157
|
-
},
|
|
4159
|
+
}, We = () => {
|
|
4158
4160
|
te.slider.hide(), te.icon.show(), fe = !0;
|
|
4159
|
-
},
|
|
4161
|
+
}, Ke = (s) => ({
|
|
4160
4162
|
id: s.tournament.id,
|
|
4161
4163
|
name: s.tournament.nameOrTitle,
|
|
4162
4164
|
rank: s.leaderBoard ? s.leaderBoard.rank : "-",
|
|
4163
4165
|
overallRank: s.endRank,
|
|
4164
4166
|
prize: s.leaderBoard && s.leaderBoard.prizeName ? s.leaderBoard.prizeName : "-"
|
|
4165
|
-
}),
|
|
4167
|
+
}), $e = (s) => {
|
|
4166
4168
|
window.postMessage(
|
|
4167
4169
|
{
|
|
4168
4170
|
type: "MyTournamentFromNavClicked",
|
|
@@ -4171,9 +4173,9 @@ function ta(e, t, n) {
|
|
|
4171
4173
|
},
|
|
4172
4174
|
window.location.href
|
|
4173
4175
|
);
|
|
4174
|
-
},
|
|
4175
|
-
let m =
|
|
4176
|
-
|
|
4176
|
+
}, et = (s, m, I) => (s.append("pagination", `offset=${m},limit=${I}`), s.append("sortField", "StartTime"), s.append("sortOrder", "desc"), s.append("fields", "id,nameOrTitle,state"), s.append("language", c), s.append("filter", "state=Running"), s), tt = (s) => {
|
|
4177
|
+
let m = Ke(s), I = C.findIndex((Z) => Z.id == m.id);
|
|
4178
|
+
k == I && window.postMessage(
|
|
4177
4179
|
{
|
|
4178
4180
|
type: `TournamentRankInfo_${m.id}}`,
|
|
4179
4181
|
rankInfo: {
|
|
@@ -4183,45 +4185,45 @@ function ta(e, t, n) {
|
|
|
4183
4185
|
}
|
|
4184
4186
|
},
|
|
4185
4187
|
window.location.href
|
|
4186
|
-
),
|
|
4187
|
-
},
|
|
4188
|
+
), r(4, C[I] = m, C);
|
|
4189
|
+
}, Ce = (s) => {
|
|
4188
4190
|
if (s.data)
|
|
4189
4191
|
try {
|
|
4190
4192
|
let m = s.data, I = JSON.parse(m);
|
|
4191
|
-
I.messageType == "PlayerLeaderBoardsUpdate" && I.items ? I.items.forEach((Z,
|
|
4192
|
-
|
|
4193
|
-
}) : I.messageType == "PlayerLeaderBoardUpdate" && I.item &&
|
|
4193
|
+
I.messageType == "PlayerLeaderBoardsUpdate" && I.items ? I.items.forEach((Z, we) => {
|
|
4194
|
+
tt(Z);
|
|
4195
|
+
}) : I.messageType == "PlayerLeaderBoardUpdate" && I.item && tt(I.item);
|
|
4194
4196
|
} catch (m) {
|
|
4195
4197
|
console.log(m);
|
|
4196
4198
|
}
|
|
4197
|
-
},
|
|
4198
|
-
const m =
|
|
4199
|
-
|
|
4199
|
+
}, je = (s) => s.touches || s.originalEvent.touches, ye = (s) => {
|
|
4200
|
+
const m = je(s)[0];
|
|
4201
|
+
F = m.clientX, _ = m.clientY;
|
|
4200
4202
|
}, le = (s) => {
|
|
4201
|
-
if (!
|
|
4203
|
+
if (!F || !_)
|
|
4202
4204
|
return;
|
|
4203
|
-
let m = s.touches[0].clientX, I = s.touches[0].clientY, Z =
|
|
4204
|
-
Math.abs(Z) > Math.abs(
|
|
4205
|
-
},
|
|
4206
|
-
E.addEventListener("touchstart",
|
|
4207
|
-
},
|
|
4205
|
+
let m = s.touches[0].clientX, I = s.touches[0].clientY, Z = F - m, we = _ - I;
|
|
4206
|
+
Math.abs(Z) > Math.abs(we) && (Z > 0 ? pe(1) : pe(-1)), F = null, _ = null;
|
|
4207
|
+
}, vt = () => {
|
|
4208
|
+
E.addEventListener("touchstart", ye, { passive: !0 }), E.addEventListener("touchmove", le, { passive: !0 });
|
|
4209
|
+
}, Et = () => {
|
|
4208
4210
|
if (!f)
|
|
4209
4211
|
return;
|
|
4210
|
-
T && (T.removeEventListener("message",
|
|
4212
|
+
T && (T.removeEventListener("message", Ce), T.close());
|
|
4211
4213
|
let s = new URL(`${f}/v1/tournaments/leaderboard/player/updates`);
|
|
4212
|
-
|
|
4214
|
+
et(s.searchParams, 0, d), T = new Ki.EventSourcePolyfill(
|
|
4213
4215
|
s.href,
|
|
4214
4216
|
{
|
|
4215
4217
|
headers: {
|
|
4216
4218
|
accept: "text/event-stream",
|
|
4217
|
-
"X-SessionId":
|
|
4219
|
+
"X-SessionId": o
|
|
4218
4220
|
}
|
|
4219
4221
|
}
|
|
4220
|
-
), typeof T != "undefined" && T.addEventListener("message",
|
|
4221
|
-
},
|
|
4222
|
+
), typeof T != "undefined" && T.addEventListener("message", Ce);
|
|
4223
|
+
}, bt = () => {
|
|
4222
4224
|
let s = document.createElement("style");
|
|
4223
4225
|
s.innerHTML = v, x.appendChild(s);
|
|
4224
|
-
},
|
|
4226
|
+
}, rt = () => {
|
|
4225
4227
|
let s = new URL(S), m = document.createElement("style");
|
|
4226
4228
|
fetch(s.href).then((I) => I.text()).then((I) => {
|
|
4227
4229
|
m.innerHTML = I, setTimeout(
|
|
@@ -4235,85 +4237,85 @@ function ta(e, t, n) {
|
|
|
4235
4237
|
500
|
|
4236
4238
|
);
|
|
4237
4239
|
});
|
|
4238
|
-
},
|
|
4239
|
-
if (!f || !
|
|
4240
|
+
}, a = () => {
|
|
4241
|
+
if (!f || !o)
|
|
4240
4242
|
return;
|
|
4241
4243
|
let s = new URL(`${f}/v1/tournaments/leaderboard/player`), m = new Headers();
|
|
4242
|
-
|
|
4244
|
+
et(s.searchParams, 0, d), o && m.append("X-SessionID", o), fetch(s, { method: "GET", headers: m }).then((Z) => Z.json()).then((Z) => {
|
|
4243
4245
|
if (!Z.items)
|
|
4244
4246
|
return;
|
|
4245
|
-
|
|
4246
|
-
C.push(
|
|
4247
|
-
}),
|
|
4247
|
+
r(4, C = []), Z.items.forEach((oe, ne) => {
|
|
4248
|
+
C.push(Ke(oe));
|
|
4249
|
+
}), r(7, B = C[k]), Et(), be();
|
|
4248
4250
|
});
|
|
4249
4251
|
};
|
|
4250
4252
|
let p = !1;
|
|
4251
|
-
|
|
4253
|
+
tn(() => (r(24, p = !0), window.addEventListener("message", q, !1), setTimeout(
|
|
4252
4254
|
() => {
|
|
4253
|
-
|
|
4255
|
+
r(17, c = "tr");
|
|
4254
4256
|
},
|
|
4255
4257
|
5e3
|
|
4256
4258
|
), () => {
|
|
4257
|
-
clearInterval(ie), window.removeEventListener("message", q), T && T.removeEventListener("message",
|
|
4259
|
+
clearInterval(ie), window.removeEventListener("message", q), T && T.removeEventListener("message", Ce), E.removeEventListener("touchstart", ye), E.removeEventListener("touchmove", le);
|
|
4258
4260
|
}));
|
|
4259
|
-
const b = () => pe(-1), A = () =>
|
|
4261
|
+
const b = () => pe(-1), A = () => $e(B.id);
|
|
4260
4262
|
function w(s) {
|
|
4261
|
-
|
|
4262
|
-
|
|
4263
|
+
ot[s ? "unshift" : "push"](() => {
|
|
4264
|
+
U = s, r(11, U);
|
|
4263
4265
|
});
|
|
4264
4266
|
}
|
|
4265
4267
|
const y = () => pe(1);
|
|
4266
4268
|
function R(s) {
|
|
4267
|
-
|
|
4268
|
-
E = s,
|
|
4269
|
+
ot[s ? "unshift" : "push"](() => {
|
|
4270
|
+
E = s, r(6, E);
|
|
4269
4271
|
});
|
|
4270
4272
|
}
|
|
4271
|
-
function
|
|
4272
|
-
|
|
4273
|
-
Y = s,
|
|
4273
|
+
function j(s) {
|
|
4274
|
+
ot[s ? "unshift" : "push"](() => {
|
|
4275
|
+
Y = s, r(10, Y);
|
|
4274
4276
|
});
|
|
4275
4277
|
}
|
|
4276
|
-
const O = () =>
|
|
4277
|
-
function
|
|
4278
|
-
|
|
4279
|
-
x = s,
|
|
4278
|
+
const O = () => Le();
|
|
4279
|
+
function G(s) {
|
|
4280
|
+
ot[s ? "unshift" : "push"](() => {
|
|
4281
|
+
x = s, r(3, x);
|
|
4280
4282
|
});
|
|
4281
4283
|
}
|
|
4282
4284
|
return e.$$set = (s) => {
|
|
4283
|
-
"session" in s &&
|
|
4285
|
+
"session" in s && r(18, o = s.session), "endpoint" in s && r(19, f = s.endpoint), "lang" in s && r(17, c = s.lang), "tournamentsshownnumber" in s && r(20, d = s.tournamentsshownnumber), "looptime" in s && r(21, u = s.looptime), "iconsize" in s && r(0, l = s.iconsize), "icon" in s && r(22, g = s.icon), "clientstyling" in s && r(1, v = s.clientstyling), "clientstylingurl" in s && r(2, S = s.clientstylingurl), "translationurl" in s && r(23, M = s.translationurl);
|
|
4284
4286
|
}, e.$$.update = () => {
|
|
4285
4287
|
e.$$.dirty[0] & /*customStylingContainer, clientstyling*/
|
|
4286
|
-
10 && x && v &&
|
|
4287
|
-
12 && x && S &&
|
|
4288
|
-
4194304 &&
|
|
4289
|
-
18481152 && p && f && d && c &&
|
|
4290
|
-
64 && E &&
|
|
4291
|
-
262144 &&
|
|
4288
|
+
10 && x && v && bt(), e.$$.dirty[0] & /*customStylingContainer, clientstylingurl*/
|
|
4289
|
+
12 && x && S && rt(), e.$$.dirty[0] & /*icon*/
|
|
4290
|
+
4194304 && r(12, n = g || $i), e.$$.dirty[0] & /*isMounted, endpoint, tournamentsshownnumber, lang*/
|
|
4291
|
+
18481152 && p && f && d && c && a(), e.$$.dirty[0] & /*tourSlider*/
|
|
4292
|
+
64 && E && vt(), e.$$.dirty[0] & /*session*/
|
|
4293
|
+
262144 && o && Q(), e.$$.dirty[0] & /*lang*/
|
|
4292
4294
|
131072 && c && $(), e.$$.dirty[0] & /*translationurl*/
|
|
4293
|
-
8388608 && M &&
|
|
4294
|
-
48 &&
|
|
4295
|
-
48 &&
|
|
4296
|
-
32 &&
|
|
4295
|
+
8388608 && M && z(), e.$$.dirty[0] & /*tournamentList, currentTournamentIdx*/
|
|
4296
|
+
48 && r(7, B = C[k]), e.$$.dirty[0] & /*currentTournamentIdx, tournamentList*/
|
|
4297
|
+
48 && r(9, P = k == C.length - 1), e.$$.dirty[0] & /*currentTournamentIdx*/
|
|
4298
|
+
32 && r(8, N = k == 0);
|
|
4297
4299
|
}, [
|
|
4298
4300
|
l,
|
|
4299
4301
|
v,
|
|
4300
4302
|
S,
|
|
4301
4303
|
x,
|
|
4302
4304
|
C,
|
|
4303
|
-
|
|
4305
|
+
k,
|
|
4304
4306
|
E,
|
|
4305
4307
|
B,
|
|
4306
4308
|
N,
|
|
4307
4309
|
P,
|
|
4308
4310
|
Y,
|
|
4309
|
-
|
|
4310
|
-
|
|
4311
|
+
U,
|
|
4312
|
+
n,
|
|
4311
4313
|
i,
|
|
4312
4314
|
pe,
|
|
4313
|
-
|
|
4314
|
-
|
|
4315
|
+
Le,
|
|
4316
|
+
$e,
|
|
4315
4317
|
c,
|
|
4316
|
-
|
|
4318
|
+
o,
|
|
4317
4319
|
f,
|
|
4318
4320
|
d,
|
|
4319
4321
|
u,
|
|
@@ -4325,19 +4327,19 @@ function ta(e, t, n) {
|
|
|
4325
4327
|
w,
|
|
4326
4328
|
y,
|
|
4327
4329
|
R,
|
|
4328
|
-
|
|
4330
|
+
j,
|
|
4329
4331
|
O,
|
|
4330
|
-
|
|
4332
|
+
G
|
|
4331
4333
|
];
|
|
4332
4334
|
}
|
|
4333
|
-
class
|
|
4335
|
+
class no extends qr {
|
|
4334
4336
|
constructor(t) {
|
|
4335
|
-
super(),
|
|
4337
|
+
super(), Yr(
|
|
4336
4338
|
this,
|
|
4337
4339
|
t,
|
|
4338
|
-
|
|
4339
|
-
|
|
4340
|
-
|
|
4340
|
+
ro,
|
|
4341
|
+
to,
|
|
4342
|
+
mr,
|
|
4341
4343
|
{
|
|
4342
4344
|
session: 18,
|
|
4343
4345
|
endpoint: 19,
|
|
@@ -4350,7 +4352,7 @@ class na extends qn {
|
|
|
4350
4352
|
clientstylingurl: 2,
|
|
4351
4353
|
translationurl: 23
|
|
4352
4354
|
},
|
|
4353
|
-
|
|
4355
|
+
eo,
|
|
4354
4356
|
[-1, -1, -1]
|
|
4355
4357
|
);
|
|
4356
4358
|
}
|
|
@@ -4415,7 +4417,7 @@ class na extends qn {
|
|
|
4415
4417
|
this.$$set({ translationurl: t }), ge();
|
|
4416
4418
|
}
|
|
4417
4419
|
}
|
|
4418
|
-
|
|
4420
|
+
Wr(no, { session: {}, endpoint: {}, lang: {}, tournamentsshownnumber: {}, looptime: {}, iconsize: {}, icon: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
|
|
4419
4421
|
export {
|
|
4420
|
-
|
|
4422
|
+
no as default
|
|
4421
4423
|
};
|