@everymatrix/casino-betslip-indicator 1.53.0 → 1.53.11
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/{CasinoBetslipIndicator-Df3ZgxwD.js → CasinoBetslipIndicator-CrhuupG5.js} +872 -923
- package/esnext/casino-betslip-indicator.js +14 -0
- package/package.json +12 -8
- package/components/CasinoBetslipIndicator-emfmxups.cjs +0 -8
- package/es2015/casino-betslip-indicator.cjs +0 -1
- package/es2015/casino-betslip-indicator.js +0 -16
package/components/{CasinoBetslipIndicator-Df3ZgxwD.js → CasinoBetslipIndicator-CrhuupG5.js}
RENAMED
|
@@ -1,72 +1,43 @@
|
|
|
1
|
-
|
|
2
|
-
var or = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var Je = Object.getOwnPropertySymbols;
|
|
4
|
-
var sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var ge = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
|
|
6
|
-
for (var r in t || (t = {}))
|
|
7
|
-
sr.call(t, r) && ge(e, r, t[r]);
|
|
8
|
-
if (Je)
|
|
9
|
-
for (var r of Je(t))
|
|
10
|
-
ar.call(t, r) && ge(e, r, t[r]);
|
|
11
|
-
return e;
|
|
12
|
-
}, qe = (e, t) => ir(e, or(t));
|
|
13
|
-
var T = (e, t, r) => ge(e, typeof t != "symbol" ? t + "" : t, r);
|
|
14
|
-
var Ke = (e, t, r) => new Promise((n, i) => {
|
|
15
|
-
var o = (h) => {
|
|
16
|
-
try {
|
|
17
|
-
a(r.next(h));
|
|
18
|
-
} catch (u) {
|
|
19
|
-
i(u);
|
|
20
|
-
}
|
|
21
|
-
}, s = (h) => {
|
|
22
|
-
try {
|
|
23
|
-
a(r.throw(h));
|
|
24
|
-
} catch (u) {
|
|
25
|
-
i(u);
|
|
26
|
-
}
|
|
27
|
-
}, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
|
|
28
|
-
a((r = r.apply(e, t)).next());
|
|
29
|
-
});
|
|
30
|
-
function B() {
|
|
1
|
+
function T() {
|
|
31
2
|
}
|
|
32
|
-
function
|
|
3
|
+
function dt(e) {
|
|
33
4
|
return e();
|
|
34
5
|
}
|
|
35
|
-
function
|
|
6
|
+
function We() {
|
|
36
7
|
return /* @__PURE__ */ Object.create(null);
|
|
37
8
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
9
|
+
function K(e) {
|
|
10
|
+
e.forEach(dt);
|
|
40
11
|
}
|
|
41
|
-
function
|
|
12
|
+
function Ge(e) {
|
|
42
13
|
return typeof e == "function";
|
|
43
14
|
}
|
|
44
|
-
function
|
|
15
|
+
function bt(e, t) {
|
|
45
16
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
17
|
}
|
|
47
|
-
function
|
|
18
|
+
function Zt(e) {
|
|
48
19
|
return Object.keys(e).length === 0;
|
|
49
20
|
}
|
|
50
|
-
function
|
|
21
|
+
function Qt(e, ...t) {
|
|
51
22
|
if (e == null) {
|
|
52
23
|
for (const n of t)
|
|
53
24
|
n(void 0);
|
|
54
|
-
return
|
|
25
|
+
return T;
|
|
55
26
|
}
|
|
56
27
|
const r = e.subscribe(...t);
|
|
57
28
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
29
|
}
|
|
59
|
-
function
|
|
30
|
+
function B(e, t) {
|
|
60
31
|
e.appendChild(t);
|
|
61
32
|
}
|
|
62
|
-
function
|
|
63
|
-
const n =
|
|
33
|
+
function Jt(e, t, r) {
|
|
34
|
+
const n = Yt(e);
|
|
64
35
|
if (!n.getElementById(t)) {
|
|
65
|
-
const i =
|
|
66
|
-
i.id = t, i.textContent = r,
|
|
36
|
+
const i = D("style");
|
|
37
|
+
i.id = t, i.textContent = r, qt(n, i);
|
|
67
38
|
}
|
|
68
39
|
}
|
|
69
|
-
function
|
|
40
|
+
function Yt(e) {
|
|
70
41
|
if (!e) return document;
|
|
71
42
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
72
43
|
return t && /** @type {ShadowRoot} */
|
|
@@ -75,48 +46,48 @@ function cr(e) {
|
|
|
75
46
|
t
|
|
76
47
|
) : e.ownerDocument;
|
|
77
48
|
}
|
|
78
|
-
function
|
|
79
|
-
return
|
|
49
|
+
function qt(e, t) {
|
|
50
|
+
return B(
|
|
80
51
|
/** @type {Document} */
|
|
81
52
|
e.head || e,
|
|
82
53
|
t
|
|
83
54
|
), t.sheet;
|
|
84
55
|
}
|
|
85
|
-
function
|
|
56
|
+
function ee(e, t, r) {
|
|
86
57
|
e.insertBefore(t, r || null);
|
|
87
58
|
}
|
|
88
|
-
function
|
|
59
|
+
function V(e) {
|
|
89
60
|
e.parentNode && e.parentNode.removeChild(e);
|
|
90
61
|
}
|
|
91
|
-
function
|
|
62
|
+
function D(e) {
|
|
92
63
|
return document.createElement(e);
|
|
93
64
|
}
|
|
94
65
|
function N(e) {
|
|
95
66
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
96
67
|
}
|
|
97
|
-
function
|
|
68
|
+
function yt(e) {
|
|
98
69
|
return document.createTextNode(e);
|
|
99
70
|
}
|
|
100
|
-
function
|
|
101
|
-
return
|
|
71
|
+
function Kt() {
|
|
72
|
+
return yt(" ");
|
|
102
73
|
}
|
|
103
|
-
function
|
|
74
|
+
function er(e, t, r, n) {
|
|
104
75
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
105
76
|
}
|
|
106
77
|
function E(e, t, r) {
|
|
107
78
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
108
79
|
}
|
|
109
|
-
function
|
|
80
|
+
function tr(e) {
|
|
110
81
|
return Array.from(e.childNodes);
|
|
111
82
|
}
|
|
112
|
-
function
|
|
83
|
+
function rr(e, t) {
|
|
113
84
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
114
85
|
t);
|
|
115
86
|
}
|
|
116
|
-
function
|
|
87
|
+
function nr(e, t, r, n) {
|
|
117
88
|
e.style.setProperty(t, r, "");
|
|
118
89
|
}
|
|
119
|
-
function
|
|
90
|
+
function ir(e) {
|
|
120
91
|
const t = {};
|
|
121
92
|
return e.childNodes.forEach(
|
|
122
93
|
/** @param {Element} node */
|
|
@@ -125,93 +96,93 @@ function vr(e) {
|
|
|
125
96
|
}
|
|
126
97
|
), t;
|
|
127
98
|
}
|
|
128
|
-
let
|
|
129
|
-
function
|
|
130
|
-
|
|
99
|
+
let J;
|
|
100
|
+
function Q(e) {
|
|
101
|
+
J = e;
|
|
131
102
|
}
|
|
132
|
-
function
|
|
133
|
-
if (!
|
|
134
|
-
return
|
|
103
|
+
function or() {
|
|
104
|
+
if (!J) throw new Error("Function called outside component initialization");
|
|
105
|
+
return J;
|
|
135
106
|
}
|
|
136
|
-
function
|
|
137
|
-
|
|
107
|
+
function sr(e) {
|
|
108
|
+
or().$$.on_mount.push(e);
|
|
138
109
|
}
|
|
139
|
-
const
|
|
140
|
-
let
|
|
141
|
-
const
|
|
142
|
-
let
|
|
143
|
-
function
|
|
144
|
-
|
|
110
|
+
const M = [], He = [];
|
|
111
|
+
let R = [];
|
|
112
|
+
const ze = [], ar = /* @__PURE__ */ Promise.resolve();
|
|
113
|
+
let Te = !1;
|
|
114
|
+
function ur() {
|
|
115
|
+
Te || (Te = !0, ar.then(le));
|
|
145
116
|
}
|
|
146
|
-
function
|
|
147
|
-
|
|
117
|
+
function Be(e) {
|
|
118
|
+
R.push(e);
|
|
148
119
|
}
|
|
149
|
-
const
|
|
150
|
-
let
|
|
151
|
-
function
|
|
152
|
-
if (
|
|
120
|
+
const ge = /* @__PURE__ */ new Set();
|
|
121
|
+
let L = 0;
|
|
122
|
+
function le() {
|
|
123
|
+
if (L !== 0)
|
|
153
124
|
return;
|
|
154
|
-
const e =
|
|
125
|
+
const e = J;
|
|
155
126
|
do {
|
|
156
127
|
try {
|
|
157
|
-
for (;
|
|
158
|
-
const t =
|
|
159
|
-
|
|
128
|
+
for (; L < M.length; ) {
|
|
129
|
+
const t = M[L];
|
|
130
|
+
L++, Q(t), hr(t.$$);
|
|
160
131
|
}
|
|
161
132
|
} catch (t) {
|
|
162
|
-
throw
|
|
133
|
+
throw M.length = 0, L = 0, t;
|
|
163
134
|
}
|
|
164
|
-
for (
|
|
165
|
-
for (let t = 0; t <
|
|
166
|
-
const r =
|
|
167
|
-
|
|
135
|
+
for (Q(null), M.length = 0, L = 0; He.length; ) He.pop()();
|
|
136
|
+
for (let t = 0; t < R.length; t += 1) {
|
|
137
|
+
const r = R[t];
|
|
138
|
+
ge.has(r) || (ge.add(r), r());
|
|
168
139
|
}
|
|
169
|
-
|
|
170
|
-
} while (
|
|
171
|
-
for (;
|
|
172
|
-
|
|
173
|
-
|
|
140
|
+
R.length = 0;
|
|
141
|
+
} while (M.length);
|
|
142
|
+
for (; ze.length; )
|
|
143
|
+
ze.pop()();
|
|
144
|
+
Te = !1, ge.clear(), Q(e);
|
|
174
145
|
}
|
|
175
|
-
function
|
|
146
|
+
function hr(e) {
|
|
176
147
|
if (e.fragment !== null) {
|
|
177
|
-
e.update(),
|
|
148
|
+
e.update(), K(e.before_update);
|
|
178
149
|
const t = e.dirty;
|
|
179
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
150
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
|
|
180
151
|
}
|
|
181
152
|
}
|
|
182
|
-
function
|
|
153
|
+
function lr(e) {
|
|
183
154
|
const t = [], r = [];
|
|
184
|
-
|
|
155
|
+
R.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), R = t;
|
|
185
156
|
}
|
|
186
|
-
const
|
|
187
|
-
function
|
|
188
|
-
e && e.i && (
|
|
157
|
+
const fr = /* @__PURE__ */ new Set();
|
|
158
|
+
function cr(e, t) {
|
|
159
|
+
e && e.i && (fr.delete(e), e.i(t));
|
|
189
160
|
}
|
|
190
|
-
function
|
|
161
|
+
function mr(e, t, r) {
|
|
191
162
|
const { fragment: n, after_update: i } = e.$$;
|
|
192
|
-
n && n.m(t, r),
|
|
193
|
-
const o = e.$$.on_mount.map(
|
|
194
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...o) :
|
|
195
|
-
}), i.forEach(
|
|
163
|
+
n && n.m(t, r), Be(() => {
|
|
164
|
+
const o = e.$$.on_mount.map(dt).filter(Ge);
|
|
165
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
|
|
166
|
+
}), i.forEach(Be);
|
|
196
167
|
}
|
|
197
|
-
function
|
|
168
|
+
function pr(e, t) {
|
|
198
169
|
const r = e.$$;
|
|
199
|
-
r.fragment !== null && (
|
|
170
|
+
r.fragment !== null && (lr(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
200
171
|
}
|
|
201
|
-
function
|
|
202
|
-
e.$$.dirty[0] === -1 && (
|
|
172
|
+
function dr(e, t) {
|
|
173
|
+
e.$$.dirty[0] === -1 && (M.push(e), ur(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
203
174
|
}
|
|
204
|
-
function
|
|
205
|
-
const h =
|
|
206
|
-
|
|
175
|
+
function br(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
176
|
+
const h = J;
|
|
177
|
+
Q(e);
|
|
207
178
|
const u = e.$$ = {
|
|
208
179
|
fragment: null,
|
|
209
180
|
ctx: [],
|
|
210
181
|
// state
|
|
211
182
|
props: o,
|
|
212
|
-
update:
|
|
183
|
+
update: T,
|
|
213
184
|
not_equal: i,
|
|
214
|
-
bound:
|
|
185
|
+
bound: We(),
|
|
215
186
|
// lifecycle
|
|
216
187
|
on_mount: [],
|
|
217
188
|
on_destroy: [],
|
|
@@ -220,150 +191,146 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
|
|
|
220
191
|
after_update: [],
|
|
221
192
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
222
193
|
// everything else
|
|
223
|
-
callbacks:
|
|
194
|
+
callbacks: We(),
|
|
224
195
|
dirty: a,
|
|
225
196
|
skip_bound: !1,
|
|
226
197
|
root: t.target || h.$$.root
|
|
227
198
|
};
|
|
228
199
|
s && s(u.root);
|
|
229
200
|
let l = !1;
|
|
230
|
-
if (u.ctx = r
|
|
231
|
-
const
|
|
232
|
-
return u.ctx && i(u.ctx[
|
|
233
|
-
})
|
|
201
|
+
if (u.ctx = r(e, t.props || {}, (f, c, ...d) => {
|
|
202
|
+
const g = d.length ? d[0] : c;
|
|
203
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = g) && (!u.skip_bound && u.bound[f] && u.bound[f](g), l && dr(e, f)), c;
|
|
204
|
+
}), u.update(), l = !0, K(u.before_update), u.fragment = n(u.ctx), t.target) {
|
|
234
205
|
if (t.hydrate) {
|
|
235
|
-
const
|
|
236
|
-
u.fragment && u.fragment.l(
|
|
206
|
+
const f = tr(t.target);
|
|
207
|
+
u.fragment && u.fragment.l(f), f.forEach(V);
|
|
237
208
|
} else
|
|
238
209
|
u.fragment && u.fragment.c();
|
|
239
|
-
t.intro &&
|
|
210
|
+
t.intro && cr(e.$$.fragment), mr(e, t.target, t.anchor), le();
|
|
240
211
|
}
|
|
241
|
-
|
|
242
|
-
}
|
|
243
|
-
let
|
|
244
|
-
typeof HTMLElement == "function" && (
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
212
|
+
Q(h);
|
|
213
|
+
}
|
|
214
|
+
let gt;
|
|
215
|
+
typeof HTMLElement == "function" && (gt = class extends HTMLElement {
|
|
216
|
+
/** The Svelte component constructor */
|
|
217
|
+
$$ctor;
|
|
218
|
+
/** Slots */
|
|
219
|
+
$$s;
|
|
220
|
+
/** The Svelte component instance */
|
|
221
|
+
$$c;
|
|
222
|
+
/** Whether or not the custom element is connected */
|
|
223
|
+
$$cn = !1;
|
|
224
|
+
/** Component props data */
|
|
225
|
+
$$d = {};
|
|
226
|
+
/** `true` if currently in the process of reflecting component props back to attributes */
|
|
227
|
+
$$r = !1;
|
|
228
|
+
/** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
|
|
229
|
+
$$p_d = {};
|
|
230
|
+
/** @type {Record<string, Function[]>} Event listeners */
|
|
231
|
+
$$l = {};
|
|
232
|
+
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
233
|
+
$$l_u = /* @__PURE__ */ new Map();
|
|
234
|
+
constructor(e, t, r) {
|
|
235
|
+
super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
|
|
266
236
|
}
|
|
267
|
-
addEventListener(t, r
|
|
268
|
-
if (this.$$l[
|
|
269
|
-
const
|
|
270
|
-
this.$$l_u.set(
|
|
237
|
+
addEventListener(e, t, r) {
|
|
238
|
+
if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
|
|
239
|
+
const n = this.$$c.$on(e, t);
|
|
240
|
+
this.$$l_u.set(t, n);
|
|
271
241
|
}
|
|
272
|
-
super.addEventListener(t, r
|
|
242
|
+
super.addEventListener(e, t, r);
|
|
273
243
|
}
|
|
274
|
-
removeEventListener(t, r
|
|
275
|
-
if (super.removeEventListener(t, r
|
|
276
|
-
const
|
|
277
|
-
|
|
244
|
+
removeEventListener(e, t, r) {
|
|
245
|
+
if (super.removeEventListener(e, t, r), this.$$c) {
|
|
246
|
+
const n = this.$$l_u.get(t);
|
|
247
|
+
n && (n(), this.$$l_u.delete(t));
|
|
278
248
|
}
|
|
279
249
|
}
|
|
280
|
-
connectedCallback() {
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
}
|
|
300
|
-
};
|
|
250
|
+
async connectedCallback() {
|
|
251
|
+
if (this.$$cn = !0, !this.$$c) {
|
|
252
|
+
let e = function(i) {
|
|
253
|
+
return () => {
|
|
254
|
+
let o;
|
|
255
|
+
return {
|
|
256
|
+
c: function() {
|
|
257
|
+
o = D("slot"), i !== "default" && E(o, "name", i);
|
|
258
|
+
},
|
|
259
|
+
/**
|
|
260
|
+
* @param {HTMLElement} target
|
|
261
|
+
* @param {HTMLElement} [anchor]
|
|
262
|
+
*/
|
|
263
|
+
m: function(h, u) {
|
|
264
|
+
ee(h, o, u);
|
|
265
|
+
},
|
|
266
|
+
d: function(h) {
|
|
267
|
+
h && V(o);
|
|
268
|
+
}
|
|
301
269
|
};
|
|
302
270
|
};
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
271
|
+
};
|
|
272
|
+
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
273
|
+
return;
|
|
274
|
+
const t = {}, r = ir(this);
|
|
275
|
+
for (const i of this.$$s)
|
|
276
|
+
i in r && (t[i] = [e(i)]);
|
|
277
|
+
for (const i of this.attributes) {
|
|
278
|
+
const o = this.$$g_p(i.name);
|
|
279
|
+
o in this.$$d || (this.$$d[o] = se(o, i.value, this.$$p_d, "toProp"));
|
|
280
|
+
}
|
|
281
|
+
for (const i in this.$$p_d)
|
|
282
|
+
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
283
|
+
this.$$c = new this.$$ctor({
|
|
284
|
+
target: this.shadowRoot || this,
|
|
285
|
+
props: {
|
|
286
|
+
...this.$$d,
|
|
287
|
+
$$slots: t,
|
|
288
|
+
$$scope: {
|
|
289
|
+
ctx: []
|
|
290
|
+
}
|
|
311
291
|
}
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
this.$$
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
this.$$r = !0;
|
|
325
|
-
for (const o in this.$$p_d)
|
|
326
|
-
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
327
|
-
const s = ae(
|
|
328
|
-
o,
|
|
329
|
-
this.$$d[o],
|
|
330
|
-
this.$$p_d,
|
|
331
|
-
"toAttribute"
|
|
332
|
-
);
|
|
333
|
-
s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
|
|
334
|
-
}
|
|
335
|
-
this.$$r = !1;
|
|
336
|
-
};
|
|
337
|
-
this.$$c.$$.after_update.push(i), i();
|
|
338
|
-
for (const o in this.$$l)
|
|
339
|
-
for (const s of this.$$l[o]) {
|
|
340
|
-
const a = this.$$c.$on(o, s);
|
|
341
|
-
this.$$l_u.set(s, a);
|
|
292
|
+
});
|
|
293
|
+
const n = () => {
|
|
294
|
+
this.$$r = !0;
|
|
295
|
+
for (const i in this.$$p_d)
|
|
296
|
+
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
297
|
+
const o = se(
|
|
298
|
+
i,
|
|
299
|
+
this.$$d[i],
|
|
300
|
+
this.$$p_d,
|
|
301
|
+
"toAttribute"
|
|
302
|
+
);
|
|
303
|
+
o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
|
|
342
304
|
}
|
|
343
|
-
this.$$
|
|
344
|
-
}
|
|
345
|
-
|
|
305
|
+
this.$$r = !1;
|
|
306
|
+
};
|
|
307
|
+
this.$$c.$$.after_update.push(n), n();
|
|
308
|
+
for (const i in this.$$l)
|
|
309
|
+
for (const o of this.$$l[i]) {
|
|
310
|
+
const s = this.$$c.$on(i, o);
|
|
311
|
+
this.$$l_u.set(o, s);
|
|
312
|
+
}
|
|
313
|
+
this.$$l = {};
|
|
314
|
+
}
|
|
346
315
|
}
|
|
347
316
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
348
317
|
// and setting attributes through setAttribute etc, this is helpful
|
|
349
|
-
attributeChangedCallback(t, r
|
|
350
|
-
|
|
351
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
318
|
+
attributeChangedCallback(e, t, r) {
|
|
319
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = se(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
352
320
|
}
|
|
353
321
|
disconnectedCallback() {
|
|
354
322
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
355
323
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
356
324
|
});
|
|
357
325
|
}
|
|
358
|
-
$$g_p(
|
|
326
|
+
$$g_p(e) {
|
|
359
327
|
return Object.keys(this.$$p_d).find(
|
|
360
|
-
(
|
|
361
|
-
) ||
|
|
328
|
+
(t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
|
|
329
|
+
) || e;
|
|
362
330
|
}
|
|
363
331
|
});
|
|
364
|
-
function
|
|
365
|
-
|
|
366
|
-
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
332
|
+
function se(e, t, r, n) {
|
|
333
|
+
const i = r[e]?.type;
|
|
367
334
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
368
335
|
return t;
|
|
369
336
|
if (n === "toAttribute")
|
|
@@ -374,7 +341,7 @@ function ae(e, t, r, n) {
|
|
|
374
341
|
case "Boolean":
|
|
375
342
|
return t ? "" : null;
|
|
376
343
|
case "Number":
|
|
377
|
-
return t
|
|
344
|
+
return t ?? null;
|
|
378
345
|
default:
|
|
379
346
|
return t;
|
|
380
347
|
}
|
|
@@ -391,8 +358,8 @@ function ae(e, t, r, n) {
|
|
|
391
358
|
return t;
|
|
392
359
|
}
|
|
393
360
|
}
|
|
394
|
-
function
|
|
395
|
-
let s = class extends
|
|
361
|
+
function yr(e, t, r, n, i, o) {
|
|
362
|
+
let s = class extends gt {
|
|
396
363
|
constructor() {
|
|
397
364
|
super(e, r, i), this.$$p_d = t;
|
|
398
365
|
}
|
|
@@ -408,42 +375,38 @@ function Ir(e, t, r, n, i, o) {
|
|
|
408
375
|
return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
|
|
409
376
|
},
|
|
410
377
|
set(h) {
|
|
411
|
-
|
|
412
|
-
h = ae(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
|
|
378
|
+
h = se(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
|
|
413
379
|
}
|
|
414
380
|
});
|
|
415
381
|
}), n.forEach((a) => {
|
|
416
382
|
Object.defineProperty(s.prototype, a, {
|
|
417
383
|
get() {
|
|
418
|
-
|
|
419
|
-
return (h = this.$$c) == null ? void 0 : h[a];
|
|
384
|
+
return this.$$c?.[a];
|
|
420
385
|
}
|
|
421
386
|
});
|
|
422
387
|
}), e.element = /** @type {any} */
|
|
423
388
|
s, s;
|
|
424
389
|
}
|
|
425
|
-
class
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
T(this, "$$set");
|
|
443
|
-
}
|
|
390
|
+
class gr {
|
|
391
|
+
/**
|
|
392
|
+
* ### PRIVATE API
|
|
393
|
+
*
|
|
394
|
+
* Do not use, may change at any time
|
|
395
|
+
*
|
|
396
|
+
* @type {any}
|
|
397
|
+
*/
|
|
398
|
+
$$ = void 0;
|
|
399
|
+
/**
|
|
400
|
+
* ### PRIVATE API
|
|
401
|
+
*
|
|
402
|
+
* Do not use, may change at any time
|
|
403
|
+
*
|
|
404
|
+
* @type {any}
|
|
405
|
+
*/
|
|
406
|
+
$$set = void 0;
|
|
444
407
|
/** @returns {void} */
|
|
445
408
|
$destroy() {
|
|
446
|
-
|
|
409
|
+
pr(this, 1), this.$destroy = T;
|
|
447
410
|
}
|
|
448
411
|
/**
|
|
449
412
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -452,8 +415,8 @@ class Cr {
|
|
|
452
415
|
* @returns {() => void}
|
|
453
416
|
*/
|
|
454
417
|
$on(t, r) {
|
|
455
|
-
if (!
|
|
456
|
-
return
|
|
418
|
+
if (!Ge(r))
|
|
419
|
+
return T;
|
|
457
420
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
458
421
|
return n.push(r), () => {
|
|
459
422
|
const i = n.indexOf(r);
|
|
@@ -465,22 +428,22 @@ class Cr {
|
|
|
465
428
|
* @returns {void}
|
|
466
429
|
*/
|
|
467
430
|
$set(t) {
|
|
468
|
-
this.$$set && !
|
|
431
|
+
this.$$set && !Zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
469
432
|
}
|
|
470
433
|
}
|
|
471
|
-
const
|
|
472
|
-
typeof window
|
|
473
|
-
var
|
|
474
|
-
return
|
|
434
|
+
const vr = "4";
|
|
435
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
|
|
436
|
+
var Ae = function(e, t) {
|
|
437
|
+
return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
475
438
|
r.__proto__ = n;
|
|
476
439
|
} || function(r, n) {
|
|
477
440
|
for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
478
|
-
},
|
|
441
|
+
}, Ae(e, t);
|
|
479
442
|
};
|
|
480
|
-
function
|
|
443
|
+
function P(e, t) {
|
|
481
444
|
if (typeof t != "function" && t !== null)
|
|
482
445
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
483
|
-
|
|
446
|
+
Ae(e, t);
|
|
484
447
|
function r() {
|
|
485
448
|
this.constructor = e;
|
|
486
449
|
}
|
|
@@ -495,7 +458,7 @@ var y = function() {
|
|
|
495
458
|
return t;
|
|
496
459
|
}, y.apply(this, arguments);
|
|
497
460
|
};
|
|
498
|
-
function
|
|
461
|
+
function xr(e, t) {
|
|
499
462
|
var r = {};
|
|
500
463
|
for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
501
464
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
@@ -503,7 +466,7 @@ function Lr(e, t) {
|
|
|
503
466
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
504
467
|
return r;
|
|
505
468
|
}
|
|
506
|
-
function
|
|
469
|
+
function Pe(e) {
|
|
507
470
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
508
471
|
if (r) return r.call(e);
|
|
509
472
|
if (e && typeof e.length == "number") return {
|
|
@@ -513,7 +476,7 @@ function Ce(e) {
|
|
|
513
476
|
};
|
|
514
477
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
515
478
|
}
|
|
516
|
-
function
|
|
479
|
+
function Oe(e, t) {
|
|
517
480
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
518
481
|
if (!r) return e;
|
|
519
482
|
var n = r.call(e), i, o = [], s;
|
|
@@ -530,21 +493,21 @@ function Ne(e, t) {
|
|
|
530
493
|
}
|
|
531
494
|
return o;
|
|
532
495
|
}
|
|
533
|
-
function
|
|
496
|
+
function U(e, t, r) {
|
|
534
497
|
if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
|
|
535
498
|
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
536
499
|
return e.concat(o || Array.prototype.slice.call(t));
|
|
537
500
|
}
|
|
538
|
-
function
|
|
501
|
+
function A(e) {
|
|
539
502
|
return typeof e == "function";
|
|
540
503
|
}
|
|
541
|
-
function
|
|
504
|
+
function vt(e) {
|
|
542
505
|
var t = function(n) {
|
|
543
506
|
Error.call(n), n.stack = new Error().stack;
|
|
544
507
|
}, r = e(t);
|
|
545
508
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
546
509
|
}
|
|
547
|
-
var
|
|
510
|
+
var ve = vt(function(e) {
|
|
548
511
|
return function(r) {
|
|
549
512
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
550
513
|
` + r.map(function(n, i) {
|
|
@@ -553,13 +516,13 @@ var _e = Bt(function(e) {
|
|
|
553
516
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
554
517
|
};
|
|
555
518
|
});
|
|
556
|
-
function
|
|
519
|
+
function Ie(e, t) {
|
|
557
520
|
if (e) {
|
|
558
521
|
var r = e.indexOf(t);
|
|
559
522
|
0 <= r && e.splice(r, 1);
|
|
560
523
|
}
|
|
561
524
|
}
|
|
562
|
-
var
|
|
525
|
+
var me = function() {
|
|
563
526
|
function e(t) {
|
|
564
527
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
565
528
|
}
|
|
@@ -571,7 +534,7 @@ var pe = function() {
|
|
|
571
534
|
if (s)
|
|
572
535
|
if (this._parentage = null, Array.isArray(s))
|
|
573
536
|
try {
|
|
574
|
-
for (var a =
|
|
537
|
+
for (var a = Pe(s), h = a.next(); !h.done; h = a.next()) {
|
|
575
538
|
var u = h.value;
|
|
576
539
|
u.remove(this);
|
|
577
540
|
}
|
|
@@ -587,42 +550,42 @@ var pe = function() {
|
|
|
587
550
|
else
|
|
588
551
|
s.remove(this);
|
|
589
552
|
var l = this.initialTeardown;
|
|
590
|
-
if (
|
|
553
|
+
if (A(l))
|
|
591
554
|
try {
|
|
592
555
|
l();
|
|
593
556
|
} catch (m) {
|
|
594
|
-
o = m instanceof
|
|
557
|
+
o = m instanceof ve ? m.errors : [m];
|
|
595
558
|
}
|
|
596
|
-
var
|
|
597
|
-
if (
|
|
559
|
+
var f = this._finalizers;
|
|
560
|
+
if (f) {
|
|
598
561
|
this._finalizers = null;
|
|
599
562
|
try {
|
|
600
|
-
for (var
|
|
601
|
-
var
|
|
563
|
+
for (var c = Pe(f), d = c.next(); !d.done; d = c.next()) {
|
|
564
|
+
var g = d.value;
|
|
602
565
|
try {
|
|
603
|
-
|
|
566
|
+
Ze(g);
|
|
604
567
|
} catch (m) {
|
|
605
|
-
o = o
|
|
568
|
+
o = o ?? [], m instanceof ve ? o = U(U([], Oe(o)), Oe(m.errors)) : o.push(m);
|
|
606
569
|
}
|
|
607
570
|
}
|
|
608
571
|
} catch (m) {
|
|
609
572
|
n = { error: m };
|
|
610
573
|
} finally {
|
|
611
574
|
try {
|
|
612
|
-
d && !d.done && (i =
|
|
575
|
+
d && !d.done && (i = c.return) && i.call(c);
|
|
613
576
|
} finally {
|
|
614
577
|
if (n) throw n.error;
|
|
615
578
|
}
|
|
616
579
|
}
|
|
617
580
|
}
|
|
618
581
|
if (o)
|
|
619
|
-
throw new
|
|
582
|
+
throw new ve(o);
|
|
620
583
|
}
|
|
621
584
|
}, e.prototype.add = function(t) {
|
|
622
585
|
var r;
|
|
623
586
|
if (t && t !== this)
|
|
624
587
|
if (this.closed)
|
|
625
|
-
|
|
588
|
+
Ze(t);
|
|
626
589
|
else {
|
|
627
590
|
if (t instanceof e) {
|
|
628
591
|
if (t.closed || t._hasParent(this))
|
|
@@ -639,56 +602,56 @@ var pe = function() {
|
|
|
639
602
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
640
603
|
}, e.prototype._removeParent = function(t) {
|
|
641
604
|
var r = this._parentage;
|
|
642
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
605
|
+
r === t ? this._parentage = null : Array.isArray(r) && Ie(r, t);
|
|
643
606
|
}, e.prototype.remove = function(t) {
|
|
644
607
|
var r = this._finalizers;
|
|
645
|
-
r &&
|
|
608
|
+
r && Ie(r, t), t instanceof e && t._removeParent(this);
|
|
646
609
|
}, e.EMPTY = function() {
|
|
647
610
|
var t = new e();
|
|
648
611
|
return t.closed = !0, t;
|
|
649
612
|
}(), e;
|
|
650
|
-
}(),
|
|
651
|
-
function
|
|
652
|
-
return e instanceof
|
|
613
|
+
}(), xt = me.EMPTY;
|
|
614
|
+
function _t(e) {
|
|
615
|
+
return e instanceof me || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
|
|
653
616
|
}
|
|
654
|
-
function
|
|
655
|
-
|
|
617
|
+
function Ze(e) {
|
|
618
|
+
A(e) ? e() : e.unsubscribe();
|
|
656
619
|
}
|
|
657
|
-
var
|
|
620
|
+
var _r = {
|
|
658
621
|
onUnhandledError: null,
|
|
659
622
|
onStoppedNotification: null,
|
|
660
623
|
Promise: void 0,
|
|
661
624
|
useDeprecatedSynchronousErrorHandling: !1,
|
|
662
625
|
useDeprecatedNextContext: !1
|
|
663
|
-
},
|
|
626
|
+
}, Er = {
|
|
664
627
|
setTimeout: function(e, t) {
|
|
665
628
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
666
629
|
r[n - 2] = arguments[n];
|
|
667
|
-
return setTimeout.apply(void 0,
|
|
630
|
+
return setTimeout.apply(void 0, U([e, t], Oe(r)));
|
|
668
631
|
},
|
|
669
632
|
clearTimeout: function(e) {
|
|
670
633
|
return clearTimeout(e);
|
|
671
634
|
},
|
|
672
635
|
delegate: void 0
|
|
673
636
|
};
|
|
674
|
-
function
|
|
675
|
-
|
|
637
|
+
function Sr(e) {
|
|
638
|
+
Er.setTimeout(function() {
|
|
676
639
|
throw e;
|
|
677
640
|
});
|
|
678
641
|
}
|
|
679
|
-
function
|
|
642
|
+
function Qe() {
|
|
680
643
|
}
|
|
681
|
-
function
|
|
644
|
+
function ae(e) {
|
|
682
645
|
e();
|
|
683
646
|
}
|
|
684
|
-
var
|
|
685
|
-
|
|
647
|
+
var Et = function(e) {
|
|
648
|
+
P(t, e);
|
|
686
649
|
function t(r) {
|
|
687
650
|
var n = e.call(this) || this;
|
|
688
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
651
|
+
return n.isStopped = !1, r ? (n.destination = r, _t(r) && r.add(n)) : n.destination = Tr, n;
|
|
689
652
|
}
|
|
690
653
|
return t.create = function(r, n, i) {
|
|
691
|
-
return new
|
|
654
|
+
return new Ne(r, n, i);
|
|
692
655
|
}, t.prototype.next = function(r) {
|
|
693
656
|
this.isStopped || this._next(r);
|
|
694
657
|
}, t.prototype.error = function(r) {
|
|
@@ -712,11 +675,7 @@ var It = function(e) {
|
|
|
712
675
|
this.unsubscribe();
|
|
713
676
|
}
|
|
714
677
|
}, t;
|
|
715
|
-
}(
|
|
716
|
-
function Ee(e, t) {
|
|
717
|
-
return Rr.call(e, t);
|
|
718
|
-
}
|
|
719
|
-
var Ur = function() {
|
|
678
|
+
}(me), wr = function() {
|
|
720
679
|
function e(t) {
|
|
721
680
|
this.partialObserver = t;
|
|
722
681
|
}
|
|
@@ -726,7 +685,7 @@ var Ur = function() {
|
|
|
726
685
|
try {
|
|
727
686
|
r.next(t);
|
|
728
687
|
} catch (n) {
|
|
729
|
-
|
|
688
|
+
ie(n);
|
|
730
689
|
}
|
|
731
690
|
}, e.prototype.error = function(t) {
|
|
732
691
|
var r = this.partialObserver;
|
|
@@ -734,68 +693,56 @@ var Ur = function() {
|
|
|
734
693
|
try {
|
|
735
694
|
r.error(t);
|
|
736
695
|
} catch (n) {
|
|
737
|
-
|
|
696
|
+
ie(n);
|
|
738
697
|
}
|
|
739
698
|
else
|
|
740
|
-
|
|
699
|
+
ie(t);
|
|
741
700
|
}, e.prototype.complete = function() {
|
|
742
701
|
var t = this.partialObserver;
|
|
743
702
|
if (t.complete)
|
|
744
703
|
try {
|
|
745
704
|
t.complete();
|
|
746
705
|
} catch (r) {
|
|
747
|
-
|
|
706
|
+
ie(r);
|
|
748
707
|
}
|
|
749
708
|
}, e;
|
|
750
|
-
}(),
|
|
751
|
-
|
|
709
|
+
}(), Ne = function(e) {
|
|
710
|
+
P(t, e);
|
|
752
711
|
function t(r, n, i) {
|
|
753
712
|
var o = e.call(this) || this, s;
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
};
|
|
760
|
-
else {
|
|
761
|
-
var a;
|
|
762
|
-
o && Ot.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
|
|
763
|
-
return o.unsubscribe();
|
|
764
|
-
}, s = {
|
|
765
|
-
next: r.next && Ee(r.next, a),
|
|
766
|
-
error: r.error && Ee(r.error, a),
|
|
767
|
-
complete: r.complete && Ee(r.complete, a)
|
|
768
|
-
}) : s = r;
|
|
769
|
-
}
|
|
770
|
-
return o.destination = new Ur(s), o;
|
|
713
|
+
return A(r) || !r ? s = {
|
|
714
|
+
next: r ?? void 0,
|
|
715
|
+
error: n ?? void 0,
|
|
716
|
+
complete: i ?? void 0
|
|
717
|
+
} : s = r, o.destination = new wr(s), o;
|
|
771
718
|
}
|
|
772
719
|
return t;
|
|
773
|
-
}(
|
|
774
|
-
function
|
|
775
|
-
|
|
720
|
+
}(Et);
|
|
721
|
+
function ie(e) {
|
|
722
|
+
Sr(e);
|
|
776
723
|
}
|
|
777
|
-
function
|
|
724
|
+
function Hr(e) {
|
|
778
725
|
throw e;
|
|
779
726
|
}
|
|
780
|
-
var
|
|
727
|
+
var Tr = {
|
|
781
728
|
closed: !0,
|
|
782
|
-
next:
|
|
783
|
-
error:
|
|
784
|
-
complete:
|
|
785
|
-
},
|
|
729
|
+
next: Qe,
|
|
730
|
+
error: Hr,
|
|
731
|
+
complete: Qe
|
|
732
|
+
}, Br = function() {
|
|
786
733
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
787
734
|
}();
|
|
788
|
-
function
|
|
735
|
+
function Ar(e) {
|
|
789
736
|
return e;
|
|
790
737
|
}
|
|
791
|
-
function
|
|
792
|
-
return e.length === 0 ?
|
|
738
|
+
function Pr(e) {
|
|
739
|
+
return e.length === 0 ? Ar : e.length === 1 ? e[0] : function(r) {
|
|
793
740
|
return e.reduce(function(n, i) {
|
|
794
741
|
return i(n);
|
|
795
742
|
}, r);
|
|
796
743
|
};
|
|
797
744
|
}
|
|
798
|
-
var
|
|
745
|
+
var Je = function() {
|
|
799
746
|
function e(t) {
|
|
800
747
|
t && (this._subscribe = t);
|
|
801
748
|
}
|
|
@@ -803,8 +750,8 @@ var it = function() {
|
|
|
803
750
|
var r = new e();
|
|
804
751
|
return r.source = this, r.operator = t, r;
|
|
805
752
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
806
|
-
var i = this, o =
|
|
807
|
-
return
|
|
753
|
+
var i = this, o = Ir(t) ? t : new Ne(t, r, n);
|
|
754
|
+
return ae(function() {
|
|
808
755
|
var s = i, a = s.operator, h = s.source;
|
|
809
756
|
o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
|
|
810
757
|
}), o;
|
|
@@ -816,8 +763,8 @@ var it = function() {
|
|
|
816
763
|
}
|
|
817
764
|
}, e.prototype.forEach = function(t, r) {
|
|
818
765
|
var n = this;
|
|
819
|
-
return r =
|
|
820
|
-
var s = new
|
|
766
|
+
return r = Ye(r), new r(function(i, o) {
|
|
767
|
+
var s = new Ne({
|
|
821
768
|
next: function(a) {
|
|
822
769
|
try {
|
|
823
770
|
t(a);
|
|
@@ -833,15 +780,15 @@ var it = function() {
|
|
|
833
780
|
}, e.prototype._subscribe = function(t) {
|
|
834
781
|
var r;
|
|
835
782
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
836
|
-
}, e.prototype[
|
|
783
|
+
}, e.prototype[Br] = function() {
|
|
837
784
|
return this;
|
|
838
785
|
}, e.prototype.pipe = function() {
|
|
839
786
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
840
787
|
t[r] = arguments[r];
|
|
841
|
-
return
|
|
788
|
+
return Pr(t)(this);
|
|
842
789
|
}, e.prototype.toPromise = function(t) {
|
|
843
790
|
var r = this;
|
|
844
|
-
return t =
|
|
791
|
+
return t = Ye(t), new t(function(n, i) {
|
|
845
792
|
var o;
|
|
846
793
|
r.subscribe(function(s) {
|
|
847
794
|
return o = s;
|
|
@@ -855,40 +802,40 @@ var it = function() {
|
|
|
855
802
|
return new e(t);
|
|
856
803
|
}, e;
|
|
857
804
|
}();
|
|
858
|
-
function
|
|
805
|
+
function Ye(e) {
|
|
859
806
|
var t;
|
|
860
|
-
return (t = e
|
|
807
|
+
return (t = e ?? _r.Promise) !== null && t !== void 0 ? t : Promise;
|
|
861
808
|
}
|
|
862
|
-
function
|
|
863
|
-
return e &&
|
|
809
|
+
function Or(e) {
|
|
810
|
+
return e && A(e.next) && A(e.error) && A(e.complete);
|
|
864
811
|
}
|
|
865
|
-
function
|
|
866
|
-
return e && e instanceof
|
|
812
|
+
function Ir(e) {
|
|
813
|
+
return e && e instanceof Et || Or(e) && _t(e);
|
|
867
814
|
}
|
|
868
|
-
var
|
|
815
|
+
var Nr = vt(function(e) {
|
|
869
816
|
return function() {
|
|
870
817
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
871
818
|
};
|
|
872
|
-
}),
|
|
873
|
-
|
|
819
|
+
}), St = function(e) {
|
|
820
|
+
P(t, e);
|
|
874
821
|
function t() {
|
|
875
822
|
var r = e.call(this) || this;
|
|
876
823
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
877
824
|
}
|
|
878
825
|
return t.prototype.lift = function(r) {
|
|
879
|
-
var n = new
|
|
826
|
+
var n = new qe(this, this);
|
|
880
827
|
return n.operator = r, n;
|
|
881
828
|
}, t.prototype._throwIfClosed = function() {
|
|
882
829
|
if (this.closed)
|
|
883
|
-
throw new
|
|
830
|
+
throw new Nr();
|
|
884
831
|
}, t.prototype.next = function(r) {
|
|
885
832
|
var n = this;
|
|
886
|
-
|
|
833
|
+
ae(function() {
|
|
887
834
|
var i, o;
|
|
888
835
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
889
836
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
890
837
|
try {
|
|
891
|
-
for (var s =
|
|
838
|
+
for (var s = Pe(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
|
|
892
839
|
var h = a.value;
|
|
893
840
|
h.next(r);
|
|
894
841
|
}
|
|
@@ -905,7 +852,7 @@ var Wr = Bt(function(e) {
|
|
|
905
852
|
});
|
|
906
853
|
}, t.prototype.error = function(r) {
|
|
907
854
|
var n = this;
|
|
908
|
-
|
|
855
|
+
ae(function() {
|
|
909
856
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
910
857
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
911
858
|
for (var i = n.observers; i.length; )
|
|
@@ -914,7 +861,7 @@ var Wr = Bt(function(e) {
|
|
|
914
861
|
});
|
|
915
862
|
}, t.prototype.complete = function() {
|
|
916
863
|
var r = this;
|
|
917
|
-
|
|
864
|
+
ae(function() {
|
|
918
865
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
919
866
|
r.isStopped = !0;
|
|
920
867
|
for (var n = r.observers; n.length; )
|
|
@@ -936,20 +883,20 @@ var Wr = Bt(function(e) {
|
|
|
936
883
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
937
884
|
}, t.prototype._innerSubscribe = function(r) {
|
|
938
885
|
var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
|
|
939
|
-
return o || s ?
|
|
940
|
-
n.currentObservers = null,
|
|
886
|
+
return o || s ? xt : (this.currentObservers = null, a.push(r), new me(function() {
|
|
887
|
+
n.currentObservers = null, Ie(a, r);
|
|
941
888
|
}));
|
|
942
889
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
943
890
|
var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
|
|
944
891
|
i ? r.error(o) : s && r.complete();
|
|
945
892
|
}, t.prototype.asObservable = function() {
|
|
946
|
-
var r = new
|
|
893
|
+
var r = new Je();
|
|
947
894
|
return r.source = this, r;
|
|
948
895
|
}, t.create = function(r, n) {
|
|
949
|
-
return new
|
|
896
|
+
return new qe(r, n);
|
|
950
897
|
}, t;
|
|
951
|
-
}(
|
|
952
|
-
|
|
898
|
+
}(Je), qe = function(e) {
|
|
899
|
+
P(t, e);
|
|
953
900
|
function t(r, n) {
|
|
954
901
|
var i = e.call(this) || this;
|
|
955
902
|
return i.destination = r, i.source = n, i;
|
|
@@ -965,17 +912,17 @@ var Wr = Bt(function(e) {
|
|
|
965
912
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
966
913
|
}, t.prototype._subscribe = function(r) {
|
|
967
914
|
var n, i;
|
|
968
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
915
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : xt;
|
|
969
916
|
}, t;
|
|
970
|
-
}(
|
|
917
|
+
}(St), wt = {
|
|
971
918
|
now: function() {
|
|
972
|
-
return (
|
|
919
|
+
return (wt.delegate || Date).now();
|
|
973
920
|
},
|
|
974
921
|
delegate: void 0
|
|
975
|
-
},
|
|
976
|
-
|
|
922
|
+
}, Cr = function(e) {
|
|
923
|
+
P(t, e);
|
|
977
924
|
function t(r, n, i) {
|
|
978
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
925
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = wt);
|
|
979
926
|
var o = e.call(this) || this;
|
|
980
927
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
981
928
|
}
|
|
@@ -995,200 +942,202 @@ var Wr = Bt(function(e) {
|
|
|
995
942
|
u && o.splice(0, u + 1);
|
|
996
943
|
}
|
|
997
944
|
}, t;
|
|
998
|
-
}(
|
|
999
|
-
const
|
|
1000
|
-
if (
|
|
1001
|
-
const r = new
|
|
1002
|
-
|
|
945
|
+
}(St);
|
|
946
|
+
const Ke = [], et = {}, Lr = (e, t = 0) => {
|
|
947
|
+
if (Ke.indexOf(e) == -1) {
|
|
948
|
+
const r = new Cr(t);
|
|
949
|
+
et[e] = r, Ke.push(e);
|
|
1003
950
|
}
|
|
1004
|
-
return
|
|
1005
|
-
},
|
|
1006
|
-
function
|
|
951
|
+
return et[e];
|
|
952
|
+
}, $ = [];
|
|
953
|
+
function $r(e, t) {
|
|
1007
954
|
return {
|
|
1008
|
-
subscribe:
|
|
955
|
+
subscribe: pe(e, t).subscribe
|
|
1009
956
|
};
|
|
1010
957
|
}
|
|
1011
|
-
function
|
|
958
|
+
function pe(e, t = T) {
|
|
1012
959
|
let r;
|
|
1013
960
|
const n = /* @__PURE__ */ new Set();
|
|
1014
961
|
function i(a) {
|
|
1015
|
-
if (
|
|
1016
|
-
const h =
|
|
962
|
+
if (bt(e, a) && (e = a, r)) {
|
|
963
|
+
const h = !$.length;
|
|
1017
964
|
for (const u of n)
|
|
1018
|
-
u[1](),
|
|
965
|
+
u[1](), $.push(u, e);
|
|
1019
966
|
if (h) {
|
|
1020
|
-
for (let u = 0; u <
|
|
1021
|
-
|
|
1022
|
-
|
|
967
|
+
for (let u = 0; u < $.length; u += 2)
|
|
968
|
+
$[u][0]($[u + 1]);
|
|
969
|
+
$.length = 0;
|
|
1023
970
|
}
|
|
1024
971
|
}
|
|
1025
972
|
}
|
|
1026
973
|
function o(a) {
|
|
1027
974
|
i(a(e));
|
|
1028
975
|
}
|
|
1029
|
-
function s(a, h =
|
|
976
|
+
function s(a, h = T) {
|
|
1030
977
|
const u = [a, h];
|
|
1031
|
-
return n.add(u), n.size === 1 && (r = t(i, o) ||
|
|
978
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || T), a(e), () => {
|
|
1032
979
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1033
980
|
};
|
|
1034
981
|
}
|
|
1035
982
|
return { set: i, update: o, subscribe: s };
|
|
1036
983
|
}
|
|
1037
|
-
function
|
|
984
|
+
function X(e, t, r) {
|
|
1038
985
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1039
986
|
if (!i.every(Boolean))
|
|
1040
987
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1041
988
|
const o = t.length < 2;
|
|
1042
|
-
return
|
|
989
|
+
return $r(r, (s, a) => {
|
|
1043
990
|
let h = !1;
|
|
1044
991
|
const u = [];
|
|
1045
|
-
let l = 0,
|
|
1046
|
-
const
|
|
992
|
+
let l = 0, f = T;
|
|
993
|
+
const c = () => {
|
|
1047
994
|
if (l)
|
|
1048
995
|
return;
|
|
1049
|
-
|
|
1050
|
-
const
|
|
1051
|
-
o ? s(
|
|
996
|
+
f();
|
|
997
|
+
const g = t(n ? u[0] : u, s, a);
|
|
998
|
+
o ? s(g) : f = Ge(g) ? g : T;
|
|
1052
999
|
}, d = i.map(
|
|
1053
|
-
(
|
|
1054
|
-
|
|
1000
|
+
(g, m) => Qt(
|
|
1001
|
+
g,
|
|
1055
1002
|
(_) => {
|
|
1056
|
-
u[m] = _, l &= ~(1 << m), h &&
|
|
1003
|
+
u[m] = _, l &= ~(1 << m), h && c();
|
|
1057
1004
|
},
|
|
1058
1005
|
() => {
|
|
1059
1006
|
l |= 1 << m;
|
|
1060
1007
|
}
|
|
1061
1008
|
)
|
|
1062
1009
|
);
|
|
1063
|
-
return h = !0,
|
|
1064
|
-
|
|
1010
|
+
return h = !0, c(), function() {
|
|
1011
|
+
K(d), f(), h = !1;
|
|
1065
1012
|
};
|
|
1066
1013
|
});
|
|
1067
1014
|
}
|
|
1068
|
-
function
|
|
1069
|
-
return e
|
|
1015
|
+
function Mr(e) {
|
|
1016
|
+
return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1070
1017
|
}
|
|
1071
|
-
var
|
|
1072
|
-
return
|
|
1018
|
+
var Rr = function(t) {
|
|
1019
|
+
return Ur(t) && !Dr(t);
|
|
1073
1020
|
};
|
|
1074
|
-
function
|
|
1021
|
+
function Ur(e) {
|
|
1075
1022
|
return !!e && typeof e == "object";
|
|
1076
1023
|
}
|
|
1077
|
-
function
|
|
1024
|
+
function Dr(e) {
|
|
1078
1025
|
var t = Object.prototype.toString.call(e);
|
|
1079
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1026
|
+
return t === "[object RegExp]" || t === "[object Date]" || jr(e);
|
|
1080
1027
|
}
|
|
1081
|
-
var
|
|
1082
|
-
function
|
|
1083
|
-
return e.$$typeof ===
|
|
1028
|
+
var Fr = typeof Symbol == "function" && Symbol.for, Gr = Fr ? Symbol.for("react.element") : 60103;
|
|
1029
|
+
function jr(e) {
|
|
1030
|
+
return e.$$typeof === Gr;
|
|
1084
1031
|
}
|
|
1085
|
-
function
|
|
1032
|
+
function kr(e) {
|
|
1086
1033
|
return Array.isArray(e) ? [] : {};
|
|
1087
1034
|
}
|
|
1088
|
-
function
|
|
1089
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1035
|
+
function Y(e, t) {
|
|
1036
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? F(kr(e), e, t) : e;
|
|
1090
1037
|
}
|
|
1091
|
-
function
|
|
1038
|
+
function Vr(e, t, r) {
|
|
1092
1039
|
return e.concat(t).map(function(n) {
|
|
1093
|
-
return
|
|
1040
|
+
return Y(n, r);
|
|
1094
1041
|
});
|
|
1095
1042
|
}
|
|
1096
|
-
function
|
|
1043
|
+
function Xr(e, t) {
|
|
1097
1044
|
if (!t.customMerge)
|
|
1098
|
-
return
|
|
1045
|
+
return F;
|
|
1099
1046
|
var r = t.customMerge(e);
|
|
1100
|
-
return typeof r == "function" ? r :
|
|
1047
|
+
return typeof r == "function" ? r : F;
|
|
1101
1048
|
}
|
|
1102
|
-
function
|
|
1049
|
+
function Wr(e) {
|
|
1103
1050
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1104
1051
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1105
1052
|
}) : [];
|
|
1106
1053
|
}
|
|
1107
|
-
function
|
|
1108
|
-
return Object.keys(e).concat(
|
|
1054
|
+
function tt(e) {
|
|
1055
|
+
return Object.keys(e).concat(Wr(e));
|
|
1109
1056
|
}
|
|
1110
|
-
function
|
|
1057
|
+
function Ht(e, t) {
|
|
1111
1058
|
try {
|
|
1112
1059
|
return t in e;
|
|
1113
|
-
} catch
|
|
1060
|
+
} catch {
|
|
1114
1061
|
return !1;
|
|
1115
1062
|
}
|
|
1116
1063
|
}
|
|
1117
|
-
function
|
|
1118
|
-
return
|
|
1064
|
+
function zr(e, t) {
|
|
1065
|
+
return Ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1119
1066
|
}
|
|
1120
|
-
function
|
|
1067
|
+
function Zr(e, t, r) {
|
|
1121
1068
|
var n = {};
|
|
1122
|
-
return r.isMergeableObject(e) &&
|
|
1123
|
-
n[i] =
|
|
1124
|
-
}),
|
|
1125
|
-
|
|
1069
|
+
return r.isMergeableObject(e) && tt(e).forEach(function(i) {
|
|
1070
|
+
n[i] = Y(e[i], r);
|
|
1071
|
+
}), tt(t).forEach(function(i) {
|
|
1072
|
+
zr(e, i) || (Ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
|
|
1126
1073
|
}), n;
|
|
1127
1074
|
}
|
|
1128
|
-
function
|
|
1129
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1075
|
+
function F(e, t, r) {
|
|
1076
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = Y;
|
|
1130
1077
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1131
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1078
|
+
return o ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : Y(t, r);
|
|
1132
1079
|
}
|
|
1133
|
-
|
|
1080
|
+
F.all = function(t, r) {
|
|
1134
1081
|
if (!Array.isArray(t))
|
|
1135
1082
|
throw new Error("first argument should be an array");
|
|
1136
1083
|
return t.reduce(function(n, i) {
|
|
1137
|
-
return
|
|
1084
|
+
return F(n, i, r);
|
|
1138
1085
|
}, {});
|
|
1139
1086
|
};
|
|
1140
|
-
var
|
|
1141
|
-
const
|
|
1142
|
-
function
|
|
1143
|
-
var r = t && t.cache ? t.cache :
|
|
1087
|
+
var Qr = F, Jr = Qr;
|
|
1088
|
+
const Yr = /* @__PURE__ */ Mr(Jr);
|
|
1089
|
+
function xe(e, t) {
|
|
1090
|
+
var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
|
|
1144
1091
|
return i(e, {
|
|
1145
1092
|
cache: r,
|
|
1146
1093
|
serializer: n
|
|
1147
1094
|
});
|
|
1148
1095
|
}
|
|
1149
|
-
function
|
|
1096
|
+
function qr(e) {
|
|
1150
1097
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1151
1098
|
}
|
|
1152
|
-
function
|
|
1153
|
-
var i =
|
|
1154
|
-
return typeof o
|
|
1099
|
+
function Tt(e, t, r, n) {
|
|
1100
|
+
var i = qr(n) ? n : r(n), o = t.get(i);
|
|
1101
|
+
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1155
1102
|
}
|
|
1156
|
-
function
|
|
1103
|
+
function Bt(e, t, r) {
|
|
1157
1104
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1158
|
-
return typeof o
|
|
1105
|
+
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1159
1106
|
}
|
|
1160
|
-
function
|
|
1107
|
+
function je(e, t, r, n, i) {
|
|
1161
1108
|
return r.bind(t, e, n, i);
|
|
1162
1109
|
}
|
|
1163
|
-
function
|
|
1164
|
-
var r = e.length === 1 ?
|
|
1165
|
-
return
|
|
1110
|
+
function Kr(e, t) {
|
|
1111
|
+
var r = e.length === 1 ? Tt : Bt;
|
|
1112
|
+
return je(e, this, r, t.cache.create(), t.serializer);
|
|
1166
1113
|
}
|
|
1167
|
-
function
|
|
1168
|
-
return
|
|
1114
|
+
function en(e, t) {
|
|
1115
|
+
return je(e, this, Bt, t.cache.create(), t.serializer);
|
|
1169
1116
|
}
|
|
1170
|
-
function
|
|
1171
|
-
return
|
|
1117
|
+
function tn(e, t) {
|
|
1118
|
+
return je(e, this, Tt, t.cache.create(), t.serializer);
|
|
1172
1119
|
}
|
|
1173
|
-
var
|
|
1120
|
+
var rn = function() {
|
|
1174
1121
|
return JSON.stringify(arguments);
|
|
1175
|
-
}
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
|
|
1122
|
+
}, nn = (
|
|
1123
|
+
/** @class */
|
|
1124
|
+
function() {
|
|
1125
|
+
function e() {
|
|
1126
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1127
|
+
}
|
|
1128
|
+
return e.prototype.get = function(t) {
|
|
1129
|
+
return this.cache[t];
|
|
1130
|
+
}, e.prototype.set = function(t, r) {
|
|
1131
|
+
this.cache[t] = r;
|
|
1132
|
+
}, e;
|
|
1133
|
+
}()
|
|
1134
|
+
), on = {
|
|
1186
1135
|
create: function() {
|
|
1187
|
-
return new
|
|
1136
|
+
return new nn();
|
|
1188
1137
|
}
|
|
1189
|
-
},
|
|
1190
|
-
variadic:
|
|
1191
|
-
monadic:
|
|
1138
|
+
}, _e = {
|
|
1139
|
+
variadic: en,
|
|
1140
|
+
monadic: tn
|
|
1192
1141
|
}, p;
|
|
1193
1142
|
(function(e) {
|
|
1194
1143
|
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";
|
|
@@ -1197,47 +1146,47 @@ var x;
|
|
|
1197
1146
|
(function(e) {
|
|
1198
1147
|
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";
|
|
1199
1148
|
})(x || (x = {}));
|
|
1200
|
-
var
|
|
1149
|
+
var G;
|
|
1201
1150
|
(function(e) {
|
|
1202
1151
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1203
|
-
})(
|
|
1204
|
-
function
|
|
1152
|
+
})(G || (G = {}));
|
|
1153
|
+
function rt(e) {
|
|
1205
1154
|
return e.type === x.literal;
|
|
1206
1155
|
}
|
|
1207
|
-
function
|
|
1156
|
+
function sn(e) {
|
|
1208
1157
|
return e.type === x.argument;
|
|
1209
1158
|
}
|
|
1210
|
-
function
|
|
1159
|
+
function At(e) {
|
|
1211
1160
|
return e.type === x.number;
|
|
1212
1161
|
}
|
|
1213
|
-
function
|
|
1162
|
+
function Pt(e) {
|
|
1214
1163
|
return e.type === x.date;
|
|
1215
1164
|
}
|
|
1216
|
-
function
|
|
1165
|
+
function Ot(e) {
|
|
1217
1166
|
return e.type === x.time;
|
|
1218
1167
|
}
|
|
1219
|
-
function
|
|
1168
|
+
function It(e) {
|
|
1220
1169
|
return e.type === x.select;
|
|
1221
1170
|
}
|
|
1222
|
-
function
|
|
1171
|
+
function Nt(e) {
|
|
1223
1172
|
return e.type === x.plural;
|
|
1224
1173
|
}
|
|
1225
|
-
function
|
|
1174
|
+
function an(e) {
|
|
1226
1175
|
return e.type === x.pound;
|
|
1227
1176
|
}
|
|
1228
|
-
function
|
|
1177
|
+
function Ct(e) {
|
|
1229
1178
|
return e.type === x.tag;
|
|
1230
1179
|
}
|
|
1231
|
-
function
|
|
1232
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1180
|
+
function Lt(e) {
|
|
1181
|
+
return !!(e && typeof e == "object" && e.type === G.number);
|
|
1233
1182
|
}
|
|
1234
|
-
function
|
|
1235
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1183
|
+
function Ce(e) {
|
|
1184
|
+
return !!(e && typeof e == "object" && e.type === G.dateTime);
|
|
1236
1185
|
}
|
|
1237
|
-
var
|
|
1238
|
-
function
|
|
1186
|
+
var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
|
|
1187
|
+
function hn(e) {
|
|
1239
1188
|
var t = {};
|
|
1240
|
-
return e.replace(
|
|
1189
|
+
return e.replace(un, function(r) {
|
|
1241
1190
|
var n = r.length;
|
|
1242
1191
|
switch (r[0]) {
|
|
1243
1192
|
case "G":
|
|
@@ -1326,36 +1275,36 @@ function En(e) {
|
|
|
1326
1275
|
return "";
|
|
1327
1276
|
}), t;
|
|
1328
1277
|
}
|
|
1329
|
-
var
|
|
1330
|
-
function
|
|
1278
|
+
var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1279
|
+
function fn(e) {
|
|
1331
1280
|
if (e.length === 0)
|
|
1332
1281
|
throw new Error("Number skeleton cannot be empty");
|
|
1333
|
-
for (var t = e.split(
|
|
1334
|
-
return
|
|
1282
|
+
for (var t = e.split(ln).filter(function(c) {
|
|
1283
|
+
return c.length > 0;
|
|
1335
1284
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1336
1285
|
var o = i[n], s = o.split("/");
|
|
1337
1286
|
if (s.length === 0)
|
|
1338
1287
|
throw new Error("Invalid number skeleton");
|
|
1339
1288
|
for (var a = s[0], h = s.slice(1), u = 0, l = h; u < l.length; u++) {
|
|
1340
|
-
var
|
|
1341
|
-
if (
|
|
1289
|
+
var f = l[u];
|
|
1290
|
+
if (f.length === 0)
|
|
1342
1291
|
throw new Error("Invalid number skeleton");
|
|
1343
1292
|
}
|
|
1344
1293
|
r.push({ stem: a, options: h });
|
|
1345
1294
|
}
|
|
1346
1295
|
return r;
|
|
1347
1296
|
}
|
|
1348
|
-
function
|
|
1297
|
+
function cn(e) {
|
|
1349
1298
|
return e.replace(/^(.*?)-/, "");
|
|
1350
1299
|
}
|
|
1351
|
-
var
|
|
1352
|
-
function
|
|
1300
|
+
var nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
|
|
1301
|
+
function it(e) {
|
|
1353
1302
|
var t = {};
|
|
1354
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1303
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
|
|
1355
1304
|
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)), "";
|
|
1356
1305
|
}), t;
|
|
1357
1306
|
}
|
|
1358
|
-
function
|
|
1307
|
+
function Ut(e) {
|
|
1359
1308
|
switch (e) {
|
|
1360
1309
|
case "sign-auto":
|
|
1361
1310
|
return {
|
|
@@ -1395,7 +1344,7 @@ function zt(e) {
|
|
|
1395
1344
|
};
|
|
1396
1345
|
}
|
|
1397
1346
|
}
|
|
1398
|
-
function
|
|
1347
|
+
function pn(e) {
|
|
1399
1348
|
var t;
|
|
1400
1349
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1401
1350
|
notation: "engineering"
|
|
@@ -1403,17 +1352,17 @@ function Bn(e) {
|
|
|
1403
1352
|
notation: "scientific"
|
|
1404
1353
|
}, e = e.slice(1)), t) {
|
|
1405
1354
|
var r = e.slice(0, 2);
|
|
1406
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1355
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
|
|
1407
1356
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1408
1357
|
t.minimumIntegerDigits = e.length;
|
|
1409
1358
|
}
|
|
1410
1359
|
return t;
|
|
1411
1360
|
}
|
|
1412
|
-
function
|
|
1413
|
-
var t = {}, r =
|
|
1361
|
+
function ot(e) {
|
|
1362
|
+
var t = {}, r = Ut(e);
|
|
1414
1363
|
return r || t;
|
|
1415
1364
|
}
|
|
1416
|
-
function
|
|
1365
|
+
function dn(e) {
|
|
1417
1366
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1418
1367
|
var i = n[r];
|
|
1419
1368
|
switch (i.stem) {
|
|
@@ -1437,7 +1386,7 @@ function An(e) {
|
|
|
1437
1386
|
continue;
|
|
1438
1387
|
case "measure-unit":
|
|
1439
1388
|
case "unit":
|
|
1440
|
-
t.style = "unit", t.unit =
|
|
1389
|
+
t.style = "unit", t.unit = cn(i.options[0]);
|
|
1441
1390
|
continue;
|
|
1442
1391
|
case "compact-short":
|
|
1443
1392
|
case "K":
|
|
@@ -1449,12 +1398,12 @@ function An(e) {
|
|
|
1449
1398
|
continue;
|
|
1450
1399
|
case "scientific":
|
|
1451
1400
|
t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
|
|
1452
|
-
return y(y({}, h),
|
|
1401
|
+
return y(y({}, h), ot(u));
|
|
1453
1402
|
}, {}));
|
|
1454
1403
|
continue;
|
|
1455
1404
|
case "engineering":
|
|
1456
1405
|
t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
|
|
1457
|
-
return y(y({}, h),
|
|
1406
|
+
return y(y({}, h), ot(u));
|
|
1458
1407
|
}, {}));
|
|
1459
1408
|
continue;
|
|
1460
1409
|
case "notation-simple":
|
|
@@ -1499,11 +1448,11 @@ function An(e) {
|
|
|
1499
1448
|
case "integer-width":
|
|
1500
1449
|
if (i.options.length > 1)
|
|
1501
1450
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1502
|
-
i.options[0].replace(
|
|
1451
|
+
i.options[0].replace(mn, function(h, u, l, f, c, d) {
|
|
1503
1452
|
if (u)
|
|
1504
1453
|
t.minimumIntegerDigits = l.length;
|
|
1505
1454
|
else {
|
|
1506
|
-
if (
|
|
1455
|
+
if (f && c)
|
|
1507
1456
|
throw new Error("We currently do not support maximum integer digits");
|
|
1508
1457
|
if (d)
|
|
1509
1458
|
throw new Error("We currently do not support exact integer digits");
|
|
@@ -1512,32 +1461,32 @@ function An(e) {
|
|
|
1512
1461
|
});
|
|
1513
1462
|
continue;
|
|
1514
1463
|
}
|
|
1515
|
-
if (
|
|
1464
|
+
if (Rt.test(i.stem)) {
|
|
1516
1465
|
t.minimumIntegerDigits = i.stem.length;
|
|
1517
1466
|
continue;
|
|
1518
1467
|
}
|
|
1519
|
-
if (
|
|
1468
|
+
if (nt.test(i.stem)) {
|
|
1520
1469
|
if (i.options.length > 1)
|
|
1521
1470
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1522
|
-
i.stem.replace(
|
|
1523
|
-
return l === "*" ? t.minimumFractionDigits = u.length :
|
|
1471
|
+
i.stem.replace(nt, function(h, u, l, f, c, d) {
|
|
1472
|
+
return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1524
1473
|
});
|
|
1525
1474
|
var o = i.options[0];
|
|
1526
|
-
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t),
|
|
1475
|
+
o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), it(o)));
|
|
1527
1476
|
continue;
|
|
1528
1477
|
}
|
|
1529
|
-
if (
|
|
1530
|
-
t = y(y({}, t),
|
|
1478
|
+
if (Mt.test(i.stem)) {
|
|
1479
|
+
t = y(y({}, t), it(i.stem));
|
|
1531
1480
|
continue;
|
|
1532
1481
|
}
|
|
1533
|
-
var s =
|
|
1482
|
+
var s = Ut(i.stem);
|
|
1534
1483
|
s && (t = y(y({}, t), s));
|
|
1535
|
-
var a =
|
|
1484
|
+
var a = pn(i.stem);
|
|
1536
1485
|
a && (t = y(y({}, t), a));
|
|
1537
1486
|
}
|
|
1538
1487
|
return t;
|
|
1539
1488
|
}
|
|
1540
|
-
var
|
|
1489
|
+
var oe = {
|
|
1541
1490
|
"001": [
|
|
1542
1491
|
"H",
|
|
1543
1492
|
"h"
|
|
@@ -2952,13 +2901,13 @@ var se = {
|
|
|
2952
2901
|
"h"
|
|
2953
2902
|
]
|
|
2954
2903
|
};
|
|
2955
|
-
function
|
|
2904
|
+
function bn(e, t) {
|
|
2956
2905
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2957
2906
|
var i = e.charAt(n);
|
|
2958
2907
|
if (i === "j") {
|
|
2959
2908
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2960
2909
|
o++, n++;
|
|
2961
|
-
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u =
|
|
2910
|
+
var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = yn(t);
|
|
2962
2911
|
for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
|
|
2963
2912
|
r += h;
|
|
2964
2913
|
for (; s-- > 0; )
|
|
@@ -2967,7 +2916,7 @@ function Pn(e, t) {
|
|
|
2967
2916
|
}
|
|
2968
2917
|
return r;
|
|
2969
2918
|
}
|
|
2970
|
-
function
|
|
2919
|
+
function yn(e) {
|
|
2971
2920
|
var t = e.hourCycle;
|
|
2972
2921
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2973
2922
|
e.hourCycles && // @ts-ignore
|
|
@@ -2986,23 +2935,23 @@ function On(e) {
|
|
|
2986
2935
|
}
|
|
2987
2936
|
var r = e.language, n;
|
|
2988
2937
|
r !== "root" && (n = e.maximize().region);
|
|
2989
|
-
var i =
|
|
2938
|
+
var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
|
|
2990
2939
|
return i[0];
|
|
2991
2940
|
}
|
|
2992
|
-
var
|
|
2941
|
+
var Ee, gn = new RegExp("^".concat($t.source, "*")), vn = new RegExp("".concat($t.source, "*$"));
|
|
2993
2942
|
function b(e, t) {
|
|
2994
2943
|
return { start: e, end: t };
|
|
2995
2944
|
}
|
|
2996
|
-
var
|
|
2945
|
+
var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, En = !!Object.fromEntries, Sn = !!String.prototype.codePointAt, wn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, Bn = Tn ? Number.isSafeInteger : function(e) {
|
|
2997
2946
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2998
|
-
},
|
|
2947
|
+
}, Le = !0;
|
|
2999
2948
|
try {
|
|
3000
|
-
var
|
|
3001
|
-
|
|
3002
|
-
} catch
|
|
3003
|
-
|
|
2949
|
+
var An = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2950
|
+
Le = ((Ee = An.exec("a")) === null || Ee === void 0 ? void 0 : Ee[0]) === "a";
|
|
2951
|
+
} catch {
|
|
2952
|
+
Le = !1;
|
|
3004
2953
|
}
|
|
3005
|
-
var
|
|
2954
|
+
var st = xn ? (
|
|
3006
2955
|
// Native
|
|
3007
2956
|
function(t, r, n) {
|
|
3008
2957
|
return t.startsWith(r, n);
|
|
@@ -3012,7 +2961,7 @@ var pt = Nn ? (
|
|
|
3012
2961
|
function(t, r, n) {
|
|
3013
2962
|
return t.slice(n, n + r.length) === r;
|
|
3014
2963
|
}
|
|
3015
|
-
),
|
|
2964
|
+
), $e = _n ? String.fromCodePoint : (
|
|
3016
2965
|
// IE11
|
|
3017
2966
|
function() {
|
|
3018
2967
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3024,9 +2973,9 @@ var pt = Nn ? (
|
|
|
3024
2973
|
}
|
|
3025
2974
|
return n;
|
|
3026
2975
|
}
|
|
3027
|
-
),
|
|
2976
|
+
), at = (
|
|
3028
2977
|
// native
|
|
3029
|
-
|
|
2978
|
+
En ? Object.fromEntries : (
|
|
3030
2979
|
// Ponyfill
|
|
3031
2980
|
function(t) {
|
|
3032
2981
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3036,7 +2985,7 @@ var pt = Nn ? (
|
|
|
3036
2985
|
return r;
|
|
3037
2986
|
}
|
|
3038
2987
|
)
|
|
3039
|
-
),
|
|
2988
|
+
), Dt = Sn ? (
|
|
3040
2989
|
// Native
|
|
3041
2990
|
function(t, r) {
|
|
3042
2991
|
return t.codePointAt(r);
|
|
@@ -3050,7 +2999,7 @@ var pt = Nn ? (
|
|
|
3050
2999
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3051
3000
|
}
|
|
3052
3001
|
}
|
|
3053
|
-
),
|
|
3002
|
+
), Pn = wn ? (
|
|
3054
3003
|
// Native
|
|
3055
3004
|
function(t) {
|
|
3056
3005
|
return t.trimStart();
|
|
@@ -3058,9 +3007,9 @@ var pt = Nn ? (
|
|
|
3058
3007
|
) : (
|
|
3059
3008
|
// Ponyfill
|
|
3060
3009
|
function(t) {
|
|
3061
|
-
return t.replace(
|
|
3010
|
+
return t.replace(gn, "");
|
|
3062
3011
|
}
|
|
3063
|
-
),
|
|
3012
|
+
), On = Hn ? (
|
|
3064
3013
|
// Native
|
|
3065
3014
|
function(t) {
|
|
3066
3015
|
return t.trimEnd();
|
|
@@ -3068,32 +3017,32 @@ var pt = Nn ? (
|
|
|
3068
3017
|
) : (
|
|
3069
3018
|
// Ponyfill
|
|
3070
3019
|
function(t) {
|
|
3071
|
-
return t.replace(
|
|
3020
|
+
return t.replace(vn, "");
|
|
3072
3021
|
}
|
|
3073
3022
|
);
|
|
3074
|
-
function
|
|
3023
|
+
function Ft(e, t) {
|
|
3075
3024
|
return new RegExp(e, t);
|
|
3076
3025
|
}
|
|
3077
|
-
var
|
|
3078
|
-
if (
|
|
3079
|
-
var
|
|
3080
|
-
|
|
3026
|
+
var Me;
|
|
3027
|
+
if (Le) {
|
|
3028
|
+
var ut = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3029
|
+
Me = function(t, r) {
|
|
3081
3030
|
var n;
|
|
3082
|
-
|
|
3083
|
-
var i =
|
|
3031
|
+
ut.lastIndex = r;
|
|
3032
|
+
var i = ut.exec(t);
|
|
3084
3033
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3085
3034
|
};
|
|
3086
3035
|
} else
|
|
3087
|
-
|
|
3036
|
+
Me = function(t, r) {
|
|
3088
3037
|
for (var n = []; ; ) {
|
|
3089
|
-
var i =
|
|
3090
|
-
if (i === void 0 ||
|
|
3038
|
+
var i = Dt(t, r);
|
|
3039
|
+
if (i === void 0 || Gt(i) || Ln(i))
|
|
3091
3040
|
break;
|
|
3092
3041
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3093
3042
|
}
|
|
3094
|
-
return
|
|
3043
|
+
return $e.apply(void 0, n);
|
|
3095
3044
|
};
|
|
3096
|
-
var
|
|
3045
|
+
var In = (
|
|
3097
3046
|
/** @class */
|
|
3098
3047
|
function() {
|
|
3099
3048
|
function e(t, r) {
|
|
@@ -3124,7 +3073,7 @@ var Vn = (
|
|
|
3124
3073
|
if (n)
|
|
3125
3074
|
break;
|
|
3126
3075
|
return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
3127
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3076
|
+
} else if (o === 60 && !this.ignoreTag && Re(this.peek() || 0)) {
|
|
3128
3077
|
var s = this.parseTag(t, r);
|
|
3129
3078
|
if (s.err)
|
|
3130
3079
|
return s;
|
|
@@ -3157,7 +3106,7 @@ var Vn = (
|
|
|
3157
3106
|
return o;
|
|
3158
3107
|
var s = o.val, a = this.clonePosition();
|
|
3159
3108
|
if (this.bumpIf("</")) {
|
|
3160
|
-
if (this.isEOF() || !
|
|
3109
|
+
if (this.isEOF() || !Re(this.char()))
|
|
3161
3110
|
return this.error(p.INVALID_TAG, b(a, this.clonePosition()));
|
|
3162
3111
|
var h = this.clonePosition(), u = this.parseTagName();
|
|
3163
3112
|
return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3175,7 +3124,7 @@ var Vn = (
|
|
|
3175
3124
|
return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
|
|
3176
3125
|
}, e.prototype.parseTagName = function() {
|
|
3177
3126
|
var t = this.offset();
|
|
3178
|
-
for (this.bump(); !this.isEOF() &&
|
|
3127
|
+
for (this.bump(); !this.isEOF() && Cn(this.char()); )
|
|
3179
3128
|
this.bump();
|
|
3180
3129
|
return this.message.slice(t, this.offset());
|
|
3181
3130
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3204,7 +3153,7 @@ var Vn = (
|
|
|
3204
3153
|
};
|
|
3205
3154
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3206
3155
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3207
|
-
!
|
|
3156
|
+
!Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3208
3157
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3209
3158
|
if (this.isEOF() || this.char() !== 39)
|
|
3210
3159
|
return null;
|
|
@@ -3238,12 +3187,12 @@ var Vn = (
|
|
|
3238
3187
|
r.push(n);
|
|
3239
3188
|
this.bump();
|
|
3240
3189
|
}
|
|
3241
|
-
return
|
|
3190
|
+
return $e.apply(void 0, r);
|
|
3242
3191
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3243
3192
|
if (this.isEOF())
|
|
3244
3193
|
return null;
|
|
3245
3194
|
var n = this.char();
|
|
3246
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3195
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), $e(n));
|
|
3247
3196
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3248
3197
|
var n = this.clonePosition();
|
|
3249
3198
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3272,7 +3221,7 @@ var Vn = (
|
|
|
3272
3221
|
return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
3273
3222
|
}
|
|
3274
3223
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3275
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3224
|
+
var t = this.clonePosition(), r = this.offset(), n = Me(this.message, r), i = r + n.length;
|
|
3276
3225
|
this.bumpTo(i);
|
|
3277
3226
|
var o = this.clonePosition(), s = b(t, o);
|
|
3278
3227
|
return { value: n, location: s };
|
|
@@ -3288,40 +3237,40 @@ var Vn = (
|
|
|
3288
3237
|
var u = null;
|
|
3289
3238
|
if (this.bumpIf(",")) {
|
|
3290
3239
|
this.bumpSpace();
|
|
3291
|
-
var l = this.clonePosition(),
|
|
3292
|
-
if (
|
|
3293
|
-
return
|
|
3294
|
-
var
|
|
3295
|
-
if (
|
|
3240
|
+
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3241
|
+
if (f.err)
|
|
3242
|
+
return f;
|
|
3243
|
+
var c = On(f.val);
|
|
3244
|
+
if (c.length === 0)
|
|
3296
3245
|
return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
3297
3246
|
var d = b(l, this.clonePosition());
|
|
3298
|
-
u = { style:
|
|
3247
|
+
u = { style: c, styleLocation: d };
|
|
3299
3248
|
}
|
|
3300
|
-
var
|
|
3301
|
-
if (
|
|
3302
|
-
return
|
|
3249
|
+
var g = this.tryParseArgumentClose(i);
|
|
3250
|
+
if (g.err)
|
|
3251
|
+
return g;
|
|
3303
3252
|
var m = b(i, this.clonePosition());
|
|
3304
|
-
if (u &&
|
|
3305
|
-
var _ =
|
|
3253
|
+
if (u && st(u?.style, "::", 0)) {
|
|
3254
|
+
var _ = Pn(u.style.slice(2));
|
|
3306
3255
|
if (a === "number") {
|
|
3307
|
-
var
|
|
3308
|
-
return
|
|
3309
|
-
val: { type: x.number, value: n, location: m, style:
|
|
3256
|
+
var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
|
|
3257
|
+
return f.err ? f : {
|
|
3258
|
+
val: { type: x.number, value: n, location: m, style: f.val },
|
|
3310
3259
|
err: null
|
|
3311
3260
|
};
|
|
3312
3261
|
} else {
|
|
3313
3262
|
if (_.length === 0)
|
|
3314
3263
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
|
|
3315
|
-
var
|
|
3316
|
-
this.locale && (
|
|
3317
|
-
var
|
|
3318
|
-
type:
|
|
3319
|
-
pattern:
|
|
3264
|
+
var v = _;
|
|
3265
|
+
this.locale && (v = bn(_, this.locale));
|
|
3266
|
+
var c = {
|
|
3267
|
+
type: G.dateTime,
|
|
3268
|
+
pattern: v,
|
|
3320
3269
|
location: u.styleLocation,
|
|
3321
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3270
|
+
parsedOptions: this.shouldParseSkeletons ? hn(v) : {}
|
|
3322
3271
|
}, H = a === "date" ? x.date : x.time;
|
|
3323
3272
|
return {
|
|
3324
|
-
val: { type: H, value: n, location: m, style:
|
|
3273
|
+
val: { type: H, value: n, location: m, style: c },
|
|
3325
3274
|
err: null
|
|
3326
3275
|
};
|
|
3327
3276
|
}
|
|
@@ -3331,7 +3280,7 @@ var Vn = (
|
|
|
3331
3280
|
type: a === "number" ? x.number : a === "date" ? x.date : x.time,
|
|
3332
3281
|
value: n,
|
|
3333
3282
|
location: m,
|
|
3334
|
-
style: (o = u
|
|
3283
|
+
style: (o = u?.style) !== null && o !== void 0 ? o : null
|
|
3335
3284
|
},
|
|
3336
3285
|
err: null
|
|
3337
3286
|
};
|
|
@@ -3343,39 +3292,39 @@ var Vn = (
|
|
|
3343
3292
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3344
3293
|
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(S, y({}, S)));
|
|
3345
3294
|
this.bumpSpace();
|
|
3346
|
-
var
|
|
3347
|
-
if (a !== "select" &&
|
|
3295
|
+
var z = this.parseIdentifierIfPossible(), I = 0;
|
|
3296
|
+
if (a !== "select" && z.value === "offset") {
|
|
3348
3297
|
if (!this.bumpIf(":"))
|
|
3349
3298
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
3350
3299
|
this.bumpSpace();
|
|
3351
|
-
var
|
|
3352
|
-
if (
|
|
3353
|
-
return
|
|
3354
|
-
this.bumpSpace(),
|
|
3300
|
+
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3301
|
+
if (f.err)
|
|
3302
|
+
return f;
|
|
3303
|
+
this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = f.val;
|
|
3355
3304
|
}
|
|
3356
|
-
var
|
|
3357
|
-
if (
|
|
3358
|
-
return
|
|
3359
|
-
var
|
|
3360
|
-
if (
|
|
3361
|
-
return
|
|
3362
|
-
var
|
|
3305
|
+
var ne = this.tryParsePluralOrSelectOptions(t, a, r, z);
|
|
3306
|
+
if (ne.err)
|
|
3307
|
+
return ne;
|
|
3308
|
+
var g = this.tryParseArgumentClose(i);
|
|
3309
|
+
if (g.err)
|
|
3310
|
+
return g;
|
|
3311
|
+
var Xe = b(i, this.clonePosition());
|
|
3363
3312
|
return a === "select" ? {
|
|
3364
3313
|
val: {
|
|
3365
3314
|
type: x.select,
|
|
3366
3315
|
value: n,
|
|
3367
|
-
options:
|
|
3368
|
-
location:
|
|
3316
|
+
options: at(ne.val),
|
|
3317
|
+
location: Xe
|
|
3369
3318
|
},
|
|
3370
3319
|
err: null
|
|
3371
3320
|
} : {
|
|
3372
3321
|
val: {
|
|
3373
3322
|
type: x.plural,
|
|
3374
3323
|
value: n,
|
|
3375
|
-
options:
|
|
3376
|
-
offset:
|
|
3324
|
+
options: at(ne.val),
|
|
3325
|
+
offset: I,
|
|
3377
3326
|
pluralType: a === "plural" ? "cardinal" : "ordinal",
|
|
3378
|
-
location:
|
|
3327
|
+
location: Xe
|
|
3379
3328
|
},
|
|
3380
3329
|
err: null
|
|
3381
3330
|
};
|
|
@@ -3423,28 +3372,28 @@ var Vn = (
|
|
|
3423
3372
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3424
3373
|
var n = [];
|
|
3425
3374
|
try {
|
|
3426
|
-
n =
|
|
3427
|
-
} catch
|
|
3375
|
+
n = fn(t);
|
|
3376
|
+
} catch {
|
|
3428
3377
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
3429
3378
|
}
|
|
3430
3379
|
return {
|
|
3431
3380
|
val: {
|
|
3432
|
-
type:
|
|
3381
|
+
type: G.number,
|
|
3433
3382
|
tokens: n,
|
|
3434
3383
|
location: r,
|
|
3435
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3384
|
+
parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
|
|
3436
3385
|
},
|
|
3437
3386
|
err: null
|
|
3438
3387
|
};
|
|
3439
3388
|
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3440
3389
|
for (var o, s = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
|
|
3441
3390
|
if (u.length === 0) {
|
|
3442
|
-
var
|
|
3391
|
+
var f = this.clonePosition();
|
|
3443
3392
|
if (r !== "select" && this.bumpIf("=")) {
|
|
3444
|
-
var
|
|
3445
|
-
if (
|
|
3446
|
-
return
|
|
3447
|
-
l = b(
|
|
3393
|
+
var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
|
|
3394
|
+
if (c.err)
|
|
3395
|
+
return c;
|
|
3396
|
+
l = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
|
|
3448
3397
|
} else
|
|
3449
3398
|
break;
|
|
3450
3399
|
}
|
|
@@ -3454,16 +3403,16 @@ var Vn = (
|
|
|
3454
3403
|
var d = this.clonePosition();
|
|
3455
3404
|
if (!this.bumpIf("{"))
|
|
3456
3405
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3457
|
-
var
|
|
3458
|
-
if (
|
|
3459
|
-
return
|
|
3406
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3407
|
+
if (g.err)
|
|
3408
|
+
return g;
|
|
3460
3409
|
var m = this.tryParseArgumentClose(d);
|
|
3461
3410
|
if (m.err)
|
|
3462
3411
|
return m;
|
|
3463
3412
|
a.push([
|
|
3464
3413
|
u,
|
|
3465
3414
|
{
|
|
3466
|
-
value:
|
|
3415
|
+
value: g.val,
|
|
3467
3416
|
location: b(d, this.clonePosition())
|
|
3468
3417
|
}
|
|
3469
3418
|
]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
|
|
@@ -3480,7 +3429,7 @@ var Vn = (
|
|
|
3480
3429
|
break;
|
|
3481
3430
|
}
|
|
3482
3431
|
var h = b(i, this.clonePosition());
|
|
3483
|
-
return o ? (s *= n,
|
|
3432
|
+
return o ? (s *= n, Bn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3484
3433
|
}, e.prototype.offset = function() {
|
|
3485
3434
|
return this.position.offset;
|
|
3486
3435
|
}, e.prototype.isEOF = function() {
|
|
@@ -3495,7 +3444,7 @@ var Vn = (
|
|
|
3495
3444
|
var t = this.position.offset;
|
|
3496
3445
|
if (t >= this.message.length)
|
|
3497
3446
|
throw Error("out of bound");
|
|
3498
|
-
var r =
|
|
3447
|
+
var r = Dt(this.message, t);
|
|
3499
3448
|
if (r === void 0)
|
|
3500
3449
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3501
3450
|
return r;
|
|
@@ -3514,7 +3463,7 @@ var Vn = (
|
|
|
3514
3463
|
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);
|
|
3515
3464
|
}
|
|
3516
3465
|
}, e.prototype.bumpIf = function(t) {
|
|
3517
|
-
if (
|
|
3466
|
+
if (st(this.message, t, this.offset())) {
|
|
3518
3467
|
for (var r = 0; r < t.length; r++)
|
|
3519
3468
|
this.bump();
|
|
3520
3469
|
return !0;
|
|
@@ -3536,56 +3485,56 @@ var Vn = (
|
|
|
3536
3485
|
break;
|
|
3537
3486
|
}
|
|
3538
3487
|
}, e.prototype.bumpSpace = function() {
|
|
3539
|
-
for (; !this.isEOF() &&
|
|
3488
|
+
for (; !this.isEOF() && Gt(this.char()); )
|
|
3540
3489
|
this.bump();
|
|
3541
3490
|
}, e.prototype.peek = function() {
|
|
3542
3491
|
if (this.isEOF())
|
|
3543
3492
|
return null;
|
|
3544
3493
|
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3545
|
-
return n
|
|
3494
|
+
return n ?? null;
|
|
3546
3495
|
}, e;
|
|
3547
3496
|
}()
|
|
3548
3497
|
);
|
|
3549
|
-
function
|
|
3498
|
+
function Re(e) {
|
|
3550
3499
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3551
3500
|
}
|
|
3552
|
-
function
|
|
3553
|
-
return
|
|
3501
|
+
function Nn(e) {
|
|
3502
|
+
return Re(e) || e === 47;
|
|
3554
3503
|
}
|
|
3555
|
-
function
|
|
3504
|
+
function Cn(e) {
|
|
3556
3505
|
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;
|
|
3557
3506
|
}
|
|
3558
|
-
function
|
|
3507
|
+
function Gt(e) {
|
|
3559
3508
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3560
3509
|
}
|
|
3561
|
-
function
|
|
3510
|
+
function Ln(e) {
|
|
3562
3511
|
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;
|
|
3563
3512
|
}
|
|
3564
|
-
function
|
|
3513
|
+
function Ue(e) {
|
|
3565
3514
|
e.forEach(function(t) {
|
|
3566
|
-
if (delete t.location,
|
|
3515
|
+
if (delete t.location, It(t) || Nt(t))
|
|
3567
3516
|
for (var r in t.options)
|
|
3568
|
-
delete t.options[r].location,
|
|
3569
|
-
else
|
|
3517
|
+
delete t.options[r].location, Ue(t.options[r].value);
|
|
3518
|
+
else At(t) && Lt(t.style) || (Pt(t) || Ot(t)) && Ce(t.style) ? delete t.style.location : Ct(t) && Ue(t.children);
|
|
3570
3519
|
});
|
|
3571
3520
|
}
|
|
3572
|
-
function
|
|
3521
|
+
function $n(e, t) {
|
|
3573
3522
|
t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3574
|
-
var r = new
|
|
3523
|
+
var r = new In(e, t).parse();
|
|
3575
3524
|
if (r.err) {
|
|
3576
3525
|
var n = SyntaxError(p[r.err.kind]);
|
|
3577
3526
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3578
3527
|
}
|
|
3579
|
-
return t
|
|
3528
|
+
return t?.captureLocation || Ue(r.val), r.val;
|
|
3580
3529
|
}
|
|
3581
|
-
var
|
|
3530
|
+
var j;
|
|
3582
3531
|
(function(e) {
|
|
3583
3532
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3584
|
-
})(
|
|
3585
|
-
var
|
|
3533
|
+
})(j || (j = {}));
|
|
3534
|
+
var de = (
|
|
3586
3535
|
/** @class */
|
|
3587
3536
|
function(e) {
|
|
3588
|
-
|
|
3537
|
+
P(t, e);
|
|
3589
3538
|
function t(r, n, i) {
|
|
3590
3539
|
var o = e.call(this, r) || this;
|
|
3591
3540
|
return o.code = n, o.originalMessage = i, o;
|
|
@@ -3594,48 +3543,48 @@ var be = (
|
|
|
3594
3543
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3595
3544
|
}, t;
|
|
3596
3545
|
}(Error)
|
|
3597
|
-
),
|
|
3546
|
+
), ht = (
|
|
3598
3547
|
/** @class */
|
|
3599
3548
|
function(e) {
|
|
3600
|
-
|
|
3549
|
+
P(t, e);
|
|
3601
3550
|
function t(r, n, i, o) {
|
|
3602
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3551
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), j.INVALID_VALUE, o) || this;
|
|
3603
3552
|
}
|
|
3604
3553
|
return t;
|
|
3605
|
-
}(
|
|
3606
|
-
),
|
|
3554
|
+
}(de)
|
|
3555
|
+
), Mn = (
|
|
3607
3556
|
/** @class */
|
|
3608
3557
|
function(e) {
|
|
3609
|
-
|
|
3558
|
+
P(t, e);
|
|
3610
3559
|
function t(r, n, i) {
|
|
3611
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3560
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), j.INVALID_VALUE, i) || this;
|
|
3612
3561
|
}
|
|
3613
3562
|
return t;
|
|
3614
|
-
}(
|
|
3615
|
-
),
|
|
3563
|
+
}(de)
|
|
3564
|
+
), Rn = (
|
|
3616
3565
|
/** @class */
|
|
3617
3566
|
function(e) {
|
|
3618
|
-
|
|
3567
|
+
P(t, e);
|
|
3619
3568
|
function t(r, n) {
|
|
3620
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3569
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), j.MISSING_VALUE, n) || this;
|
|
3621
3570
|
}
|
|
3622
3571
|
return t;
|
|
3623
|
-
}(
|
|
3572
|
+
}(de)
|
|
3624
3573
|
), w;
|
|
3625
3574
|
(function(e) {
|
|
3626
3575
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3627
3576
|
})(w || (w = {}));
|
|
3628
|
-
function
|
|
3577
|
+
function Un(e) {
|
|
3629
3578
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3630
3579
|
var n = t[t.length - 1];
|
|
3631
3580
|
return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
|
|
3632
3581
|
}, []);
|
|
3633
3582
|
}
|
|
3634
|
-
function
|
|
3583
|
+
function Dn(e) {
|
|
3635
3584
|
return typeof e == "function";
|
|
3636
3585
|
}
|
|
3637
|
-
function
|
|
3638
|
-
if (e.length === 1 &&
|
|
3586
|
+
function ue(e, t, r, n, i, o, s) {
|
|
3587
|
+
if (e.length === 1 && rt(e[0]))
|
|
3639
3588
|
return [
|
|
3640
3589
|
{
|
|
3641
3590
|
type: w.literal,
|
|
@@ -3644,105 +3593,105 @@ function he(e, t, r, n, i, o, s) {
|
|
|
3644
3593
|
];
|
|
3645
3594
|
for (var a = [], h = 0, u = e; h < u.length; h++) {
|
|
3646
3595
|
var l = u[h];
|
|
3647
|
-
if (
|
|
3596
|
+
if (rt(l)) {
|
|
3648
3597
|
a.push({
|
|
3649
3598
|
type: w.literal,
|
|
3650
3599
|
value: l.value
|
|
3651
3600
|
});
|
|
3652
3601
|
continue;
|
|
3653
3602
|
}
|
|
3654
|
-
if (
|
|
3603
|
+
if (an(l)) {
|
|
3655
3604
|
typeof o == "number" && a.push({
|
|
3656
3605
|
type: w.literal,
|
|
3657
3606
|
value: r.getNumberFormat(t).format(o)
|
|
3658
3607
|
});
|
|
3659
3608
|
continue;
|
|
3660
3609
|
}
|
|
3661
|
-
var
|
|
3662
|
-
if (!(i &&
|
|
3663
|
-
throw new
|
|
3664
|
-
var
|
|
3665
|
-
if (
|
|
3666
|
-
(!
|
|
3667
|
-
type: typeof
|
|
3668
|
-
value:
|
|
3610
|
+
var f = l.value;
|
|
3611
|
+
if (!(i && f in i))
|
|
3612
|
+
throw new Rn(f, s);
|
|
3613
|
+
var c = i[f];
|
|
3614
|
+
if (sn(l)) {
|
|
3615
|
+
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
|
|
3616
|
+
type: typeof c == "string" ? w.literal : w.object,
|
|
3617
|
+
value: c
|
|
3669
3618
|
});
|
|
3670
3619
|
continue;
|
|
3671
3620
|
}
|
|
3672
|
-
if (
|
|
3673
|
-
var d = typeof l.style == "string" ? n.date[l.style] :
|
|
3621
|
+
if (Pt(l)) {
|
|
3622
|
+
var d = typeof l.style == "string" ? n.date[l.style] : Ce(l.style) ? l.style.parsedOptions : void 0;
|
|
3674
3623
|
a.push({
|
|
3675
3624
|
type: w.literal,
|
|
3676
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3625
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3677
3626
|
});
|
|
3678
3627
|
continue;
|
|
3679
3628
|
}
|
|
3680
|
-
if (
|
|
3681
|
-
var d = typeof l.style == "string" ? n.time[l.style] :
|
|
3629
|
+
if (Ot(l)) {
|
|
3630
|
+
var d = typeof l.style == "string" ? n.time[l.style] : Ce(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3682
3631
|
a.push({
|
|
3683
3632
|
type: w.literal,
|
|
3684
|
-
value: r.getDateTimeFormat(t, d).format(
|
|
3633
|
+
value: r.getDateTimeFormat(t, d).format(c)
|
|
3685
3634
|
});
|
|
3686
3635
|
continue;
|
|
3687
3636
|
}
|
|
3688
|
-
if (
|
|
3689
|
-
var d = typeof l.style == "string" ? n.number[l.style] :
|
|
3690
|
-
d && d.scale && (
|
|
3637
|
+
if (At(l)) {
|
|
3638
|
+
var d = typeof l.style == "string" ? n.number[l.style] : Lt(l.style) ? l.style.parsedOptions : void 0;
|
|
3639
|
+
d && d.scale && (c = c * (d.scale || 1)), a.push({
|
|
3691
3640
|
type: w.literal,
|
|
3692
|
-
value: r.getNumberFormat(t, d).format(
|
|
3641
|
+
value: r.getNumberFormat(t, d).format(c)
|
|
3693
3642
|
});
|
|
3694
3643
|
continue;
|
|
3695
3644
|
}
|
|
3696
|
-
if (
|
|
3697
|
-
var
|
|
3698
|
-
if (!
|
|
3699
|
-
throw new
|
|
3700
|
-
var
|
|
3701
|
-
return
|
|
3645
|
+
if (Ct(l)) {
|
|
3646
|
+
var g = l.children, m = l.value, _ = i[m];
|
|
3647
|
+
if (!Dn(_))
|
|
3648
|
+
throw new Mn(m, "function", s);
|
|
3649
|
+
var v = ue(g, t, r, n, i, o), H = _(v.map(function(I) {
|
|
3650
|
+
return I.value;
|
|
3702
3651
|
}));
|
|
3703
|
-
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(
|
|
3652
|
+
Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(I) {
|
|
3704
3653
|
return {
|
|
3705
|
-
type: typeof
|
|
3706
|
-
value:
|
|
3654
|
+
type: typeof I == "string" ? w.literal : w.object,
|
|
3655
|
+
value: I
|
|
3707
3656
|
};
|
|
3708
3657
|
}));
|
|
3709
3658
|
}
|
|
3710
|
-
if (
|
|
3711
|
-
var S = l.options[
|
|
3659
|
+
if (It(l)) {
|
|
3660
|
+
var S = l.options[c] || l.options.other;
|
|
3712
3661
|
if (!S)
|
|
3713
|
-
throw new
|
|
3714
|
-
a.push.apply(a,
|
|
3662
|
+
throw new ht(l.value, c, Object.keys(l.options), s);
|
|
3663
|
+
a.push.apply(a, ue(S.value, t, r, n, i));
|
|
3715
3664
|
continue;
|
|
3716
3665
|
}
|
|
3717
|
-
if (
|
|
3718
|
-
var S = l.options["=".concat(
|
|
3666
|
+
if (Nt(l)) {
|
|
3667
|
+
var S = l.options["=".concat(c)];
|
|
3719
3668
|
if (!S) {
|
|
3720
3669
|
if (!Intl.PluralRules)
|
|
3721
|
-
throw new
|
|
3670
|
+
throw new de(`Intl.PluralRules is not available in this environment.
|
|
3722
3671
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3723
|
-
`,
|
|
3724
|
-
var
|
|
3725
|
-
S = l.options[
|
|
3672
|
+
`, j.MISSING_INTL_API, s);
|
|
3673
|
+
var z = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3674
|
+
S = l.options[z] || l.options.other;
|
|
3726
3675
|
}
|
|
3727
3676
|
if (!S)
|
|
3728
|
-
throw new
|
|
3729
|
-
a.push.apply(a,
|
|
3677
|
+
throw new ht(l.value, c, Object.keys(l.options), s);
|
|
3678
|
+
a.push.apply(a, ue(S.value, t, r, n, i, c - (l.offset || 0)));
|
|
3730
3679
|
continue;
|
|
3731
3680
|
}
|
|
3732
3681
|
}
|
|
3733
|
-
return
|
|
3682
|
+
return Un(a);
|
|
3734
3683
|
}
|
|
3735
|
-
function
|
|
3684
|
+
function Fn(e, t) {
|
|
3736
3685
|
return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3737
3686
|
return r[n] = y(y({}, e[n]), t[n] || {}), r;
|
|
3738
3687
|
}, {})) : e;
|
|
3739
3688
|
}
|
|
3740
|
-
function
|
|
3689
|
+
function Gn(e, t) {
|
|
3741
3690
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3742
|
-
return r[n] =
|
|
3691
|
+
return r[n] = Fn(e[n], t[n]), r;
|
|
3743
3692
|
}, y({}, e)) : e;
|
|
3744
3693
|
}
|
|
3745
|
-
function
|
|
3694
|
+
function Se(e) {
|
|
3746
3695
|
return {
|
|
3747
3696
|
create: function() {
|
|
3748
3697
|
return {
|
|
@@ -3756,39 +3705,39 @@ function Te(e) {
|
|
|
3756
3705
|
}
|
|
3757
3706
|
};
|
|
3758
3707
|
}
|
|
3759
|
-
function
|
|
3708
|
+
function jn(e) {
|
|
3760
3709
|
return e === void 0 && (e = {
|
|
3761
3710
|
number: {},
|
|
3762
3711
|
dateTime: {},
|
|
3763
3712
|
pluralRules: {}
|
|
3764
3713
|
}), {
|
|
3765
|
-
getNumberFormat:
|
|
3714
|
+
getNumberFormat: xe(function() {
|
|
3766
3715
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3767
3716
|
r[n] = arguments[n];
|
|
3768
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3717
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, U([void 0], r, !1)))();
|
|
3769
3718
|
}, {
|
|
3770
|
-
cache:
|
|
3771
|
-
strategy:
|
|
3719
|
+
cache: Se(e.number),
|
|
3720
|
+
strategy: _e.variadic
|
|
3772
3721
|
}),
|
|
3773
|
-
getDateTimeFormat:
|
|
3722
|
+
getDateTimeFormat: xe(function() {
|
|
3774
3723
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3775
3724
|
r[n] = arguments[n];
|
|
3776
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3725
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, U([void 0], r, !1)))();
|
|
3777
3726
|
}, {
|
|
3778
|
-
cache:
|
|
3779
|
-
strategy:
|
|
3727
|
+
cache: Se(e.dateTime),
|
|
3728
|
+
strategy: _e.variadic
|
|
3780
3729
|
}),
|
|
3781
|
-
getPluralRules:
|
|
3730
|
+
getPluralRules: xe(function() {
|
|
3782
3731
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3783
3732
|
r[n] = arguments[n];
|
|
3784
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3733
|
+
return new ((t = Intl.PluralRules).bind.apply(t, U([void 0], r, !1)))();
|
|
3785
3734
|
}, {
|
|
3786
|
-
cache:
|
|
3787
|
-
strategy:
|
|
3735
|
+
cache: Se(e.pluralRules),
|
|
3736
|
+
strategy: _e.variadic
|
|
3788
3737
|
})
|
|
3789
3738
|
};
|
|
3790
3739
|
}
|
|
3791
|
-
var
|
|
3740
|
+
var kn = (
|
|
3792
3741
|
/** @class */
|
|
3793
3742
|
function() {
|
|
3794
3743
|
function e(t, r, n, i) {
|
|
@@ -3802,12 +3751,12 @@ var ri = (
|
|
|
3802
3751
|
var u = o.formatToParts(h);
|
|
3803
3752
|
if (u.length === 1)
|
|
3804
3753
|
return u[0].value;
|
|
3805
|
-
var l = u.reduce(function(
|
|
3806
|
-
return !
|
|
3754
|
+
var l = u.reduce(function(f, c) {
|
|
3755
|
+
return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
|
|
3807
3756
|
}, []);
|
|
3808
3757
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3809
3758
|
}, this.formatToParts = function(h) {
|
|
3810
|
-
return
|
|
3759
|
+
return ue(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
|
|
3811
3760
|
}, this.resolvedOptions = function() {
|
|
3812
3761
|
var h;
|
|
3813
3762
|
return {
|
|
@@ -3820,13 +3769,13 @@ var ri = (
|
|
|
3820
3769
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3821
3770
|
var s = i || {};
|
|
3822
3771
|
s.formatters;
|
|
3823
|
-
var a =
|
|
3772
|
+
var a = xr(s, ["formatters"]);
|
|
3824
3773
|
this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
|
|
3825
3774
|
} else
|
|
3826
3775
|
this.ast = t;
|
|
3827
3776
|
if (!Array.isArray(this.ast))
|
|
3828
3777
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3829
|
-
this.formats =
|
|
3778
|
+
this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
|
|
3830
3779
|
}
|
|
3831
3780
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3832
3781
|
get: function() {
|
|
@@ -3835,11 +3784,11 @@ var ri = (
|
|
|
3835
3784
|
enumerable: !1,
|
|
3836
3785
|
configurable: !0
|
|
3837
3786
|
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
3838
|
-
if (typeof Intl.Locale
|
|
3787
|
+
if (!(typeof Intl.Locale > "u")) {
|
|
3839
3788
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3840
3789
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3841
3790
|
}
|
|
3842
|
-
}, e.__parse =
|
|
3791
|
+
}, e.__parse = $n, e.formats = {
|
|
3843
3792
|
number: {
|
|
3844
3793
|
integer: {
|
|
3845
3794
|
maximumFractionDigits: 0
|
|
@@ -3900,7 +3849,7 @@ var ri = (
|
|
|
3900
3849
|
}, e;
|
|
3901
3850
|
}()
|
|
3902
3851
|
);
|
|
3903
|
-
function
|
|
3852
|
+
function Vn(e, t) {
|
|
3904
3853
|
if (t == null)
|
|
3905
3854
|
return;
|
|
3906
3855
|
if (t in e)
|
|
@@ -3921,92 +3870,92 @@ function ni(e, t) {
|
|
|
3921
3870
|
n = void 0;
|
|
3922
3871
|
return n;
|
|
3923
3872
|
}
|
|
3924
|
-
const
|
|
3873
|
+
const O = {}, Xn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), jt = (e, t) => {
|
|
3925
3874
|
if (t == null)
|
|
3926
3875
|
return;
|
|
3927
|
-
if (t in
|
|
3928
|
-
return
|
|
3929
|
-
const r =
|
|
3876
|
+
if (t in O && e in O[t])
|
|
3877
|
+
return O[t][e];
|
|
3878
|
+
const r = be(t);
|
|
3930
3879
|
for (let n = 0; n < r.length; n++) {
|
|
3931
|
-
const i = r[n], o =
|
|
3880
|
+
const i = r[n], o = zn(i, e);
|
|
3932
3881
|
if (o)
|
|
3933
|
-
return
|
|
3882
|
+
return Xn(e, t, o);
|
|
3934
3883
|
}
|
|
3935
3884
|
};
|
|
3936
|
-
let
|
|
3937
|
-
const
|
|
3938
|
-
function
|
|
3939
|
-
return
|
|
3885
|
+
let ke;
|
|
3886
|
+
const te = pe({});
|
|
3887
|
+
function Wn(e) {
|
|
3888
|
+
return ke[e] || null;
|
|
3940
3889
|
}
|
|
3941
|
-
function
|
|
3942
|
-
return e in
|
|
3890
|
+
function kt(e) {
|
|
3891
|
+
return e in ke;
|
|
3943
3892
|
}
|
|
3944
|
-
function
|
|
3945
|
-
if (!
|
|
3893
|
+
function zn(e, t) {
|
|
3894
|
+
if (!kt(e))
|
|
3946
3895
|
return null;
|
|
3947
|
-
const r =
|
|
3948
|
-
return
|
|
3896
|
+
const r = Wn(e);
|
|
3897
|
+
return Vn(r, t);
|
|
3949
3898
|
}
|
|
3950
|
-
function
|
|
3899
|
+
function Zn(e) {
|
|
3951
3900
|
if (e == null)
|
|
3952
3901
|
return;
|
|
3953
|
-
const t =
|
|
3902
|
+
const t = be(e);
|
|
3954
3903
|
for (let r = 0; r < t.length; r++) {
|
|
3955
3904
|
const n = t[r];
|
|
3956
|
-
if (
|
|
3905
|
+
if (kt(n))
|
|
3957
3906
|
return n;
|
|
3958
3907
|
}
|
|
3959
3908
|
}
|
|
3960
|
-
function
|
|
3961
|
-
delete
|
|
3909
|
+
function Qn(e, ...t) {
|
|
3910
|
+
delete O[e], te.update((r) => (r[e] = Yr.all([r[e] || {}, ...t]), r));
|
|
3962
3911
|
}
|
|
3963
|
-
|
|
3964
|
-
[
|
|
3912
|
+
X(
|
|
3913
|
+
[te],
|
|
3965
3914
|
([e]) => Object.keys(e)
|
|
3966
3915
|
);
|
|
3967
|
-
|
|
3968
|
-
const
|
|
3969
|
-
function
|
|
3970
|
-
|
|
3916
|
+
te.subscribe((e) => ke = e);
|
|
3917
|
+
const he = {};
|
|
3918
|
+
function Jn(e, t) {
|
|
3919
|
+
he[e].delete(t), he[e].size === 0 && delete he[e];
|
|
3971
3920
|
}
|
|
3972
|
-
function
|
|
3973
|
-
return
|
|
3921
|
+
function Vt(e) {
|
|
3922
|
+
return he[e];
|
|
3974
3923
|
}
|
|
3975
|
-
function
|
|
3976
|
-
return
|
|
3977
|
-
const r =
|
|
3924
|
+
function Yn(e) {
|
|
3925
|
+
return be(e).map((t) => {
|
|
3926
|
+
const r = Vt(t);
|
|
3978
3927
|
return [t, r ? [...r] : []];
|
|
3979
3928
|
}).filter(([, t]) => t.length > 0);
|
|
3980
3929
|
}
|
|
3981
|
-
function
|
|
3982
|
-
return e == null ? !1 :
|
|
3930
|
+
function De(e) {
|
|
3931
|
+
return e == null ? !1 : be(e).some(
|
|
3983
3932
|
(t) => {
|
|
3984
3933
|
var r;
|
|
3985
|
-
return (r =
|
|
3934
|
+
return (r = Vt(t)) == null ? void 0 : r.size;
|
|
3986
3935
|
}
|
|
3987
3936
|
);
|
|
3988
3937
|
}
|
|
3989
|
-
function
|
|
3938
|
+
function qn(e, t) {
|
|
3990
3939
|
return Promise.all(
|
|
3991
|
-
t.map((n) => (
|
|
3992
|
-
).then((n) =>
|
|
3993
|
-
}
|
|
3994
|
-
const
|
|
3995
|
-
function
|
|
3996
|
-
if (!
|
|
3997
|
-
return e in
|
|
3998
|
-
const t =
|
|
3999
|
-
return
|
|
3940
|
+
t.map((n) => (Jn(e, n), n().then((i) => i.default || i)))
|
|
3941
|
+
).then((n) => Qn(e, ...n));
|
|
3942
|
+
}
|
|
3943
|
+
const Z = {};
|
|
3944
|
+
function Xt(e) {
|
|
3945
|
+
if (!De(e))
|
|
3946
|
+
return e in Z ? Z[e] : Promise.resolve();
|
|
3947
|
+
const t = Yn(e);
|
|
3948
|
+
return Z[e] = Promise.all(
|
|
4000
3949
|
t.map(
|
|
4001
|
-
([r, n]) =>
|
|
3950
|
+
([r, n]) => qn(r, n)
|
|
4002
3951
|
)
|
|
4003
3952
|
).then(() => {
|
|
4004
|
-
if (
|
|
4005
|
-
return
|
|
4006
|
-
delete
|
|
4007
|
-
}),
|
|
3953
|
+
if (De(e))
|
|
3954
|
+
return Xt(e);
|
|
3955
|
+
delete Z[e];
|
|
3956
|
+
}), Z[e];
|
|
4008
3957
|
}
|
|
4009
|
-
const
|
|
3958
|
+
const Kn = {
|
|
4010
3959
|
number: {
|
|
4011
3960
|
scientific: { notation: "scientific" },
|
|
4012
3961
|
engineering: { notation: "engineering" },
|
|
@@ -4035,281 +3984,281 @@ const fi = {
|
|
|
4035
3984
|
timeZoneName: "short"
|
|
4036
3985
|
}
|
|
4037
3986
|
}
|
|
4038
|
-
},
|
|
3987
|
+
}, ei = {
|
|
4039
3988
|
fallbackLocale: null,
|
|
4040
3989
|
loadingDelay: 200,
|
|
4041
|
-
formats:
|
|
3990
|
+
formats: Kn,
|
|
4042
3991
|
warnOnMissingMessages: !0,
|
|
4043
3992
|
handleMissingMessage: void 0,
|
|
4044
3993
|
ignoreTag: !0
|
|
4045
|
-
},
|
|
4046
|
-
function
|
|
4047
|
-
return
|
|
4048
|
-
}
|
|
4049
|
-
const
|
|
4050
|
-
var
|
|
4051
|
-
for (var r in t
|
|
4052
|
-
|
|
4053
|
-
if (
|
|
4054
|
-
for (var r of
|
|
4055
|
-
|
|
3994
|
+
}, ti = ei;
|
|
3995
|
+
function k() {
|
|
3996
|
+
return ti;
|
|
3997
|
+
}
|
|
3998
|
+
const we = pe(!1);
|
|
3999
|
+
var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, lt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
|
|
4000
|
+
for (var r in t)
|
|
4001
|
+
oi.call(t, r) && ft(e, r, t[r]);
|
|
4002
|
+
if (lt)
|
|
4003
|
+
for (var r of lt(t))
|
|
4004
|
+
si.call(t, r) && ft(e, r, t[r]);
|
|
4056
4005
|
return e;
|
|
4057
|
-
},
|
|
4058
|
-
let
|
|
4059
|
-
const fe =
|
|
4060
|
-
function
|
|
4006
|
+
}, ui = (e, t) => ni(e, ii(t));
|
|
4007
|
+
let Fe;
|
|
4008
|
+
const fe = pe(null);
|
|
4009
|
+
function ct(e) {
|
|
4061
4010
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4062
4011
|
}
|
|
4063
|
-
function
|
|
4064
|
-
const r =
|
|
4065
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4012
|
+
function be(e, t = k().fallbackLocale) {
|
|
4013
|
+
const r = ct(e);
|
|
4014
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...ct(t)])] : r;
|
|
4066
4015
|
}
|
|
4067
|
-
function
|
|
4068
|
-
return
|
|
4016
|
+
function C() {
|
|
4017
|
+
return Fe ?? void 0;
|
|
4069
4018
|
}
|
|
4070
4019
|
fe.subscribe((e) => {
|
|
4071
|
-
|
|
4020
|
+
Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4072
4021
|
});
|
|
4073
|
-
const
|
|
4074
|
-
if (e &&
|
|
4075
|
-
const { loadingDelay: t } =
|
|
4022
|
+
const hi = (e) => {
|
|
4023
|
+
if (e && Zn(e) && De(e)) {
|
|
4024
|
+
const { loadingDelay: t } = k();
|
|
4076
4025
|
let r;
|
|
4077
|
-
return typeof window
|
|
4078
|
-
() =>
|
|
4026
|
+
return typeof window < "u" && C() != null && t ? r = window.setTimeout(
|
|
4027
|
+
() => we.set(!0),
|
|
4079
4028
|
t
|
|
4080
|
-
) :
|
|
4029
|
+
) : we.set(!0), Xt(e).then(() => {
|
|
4081
4030
|
fe.set(e);
|
|
4082
4031
|
}).finally(() => {
|
|
4083
|
-
clearTimeout(r),
|
|
4032
|
+
clearTimeout(r), we.set(!1);
|
|
4084
4033
|
});
|
|
4085
4034
|
}
|
|
4086
4035
|
return fe.set(e);
|
|
4087
|
-
},
|
|
4088
|
-
set:
|
|
4089
|
-
}),
|
|
4036
|
+
}, re = ui(ai({}, fe), {
|
|
4037
|
+
set: hi
|
|
4038
|
+
}), ye = (e) => {
|
|
4090
4039
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4091
4040
|
return (n) => {
|
|
4092
4041
|
const i = JSON.stringify(n);
|
|
4093
4042
|
return i in t ? t[i] : t[i] = e(n);
|
|
4094
4043
|
};
|
|
4095
4044
|
};
|
|
4096
|
-
var
|
|
4045
|
+
var li = Object.defineProperty, ce = Object.getOwnPropertySymbols, Wt = Object.prototype.hasOwnProperty, zt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ve = (e, t) => {
|
|
4097
4046
|
for (var r in t || (t = {}))
|
|
4098
|
-
|
|
4099
|
-
if (
|
|
4100
|
-
for (var r of
|
|
4101
|
-
|
|
4047
|
+
Wt.call(t, r) && mt(e, r, t[r]);
|
|
4048
|
+
if (ce)
|
|
4049
|
+
for (var r of ce(t))
|
|
4050
|
+
zt.call(t, r) && mt(e, r, t[r]);
|
|
4102
4051
|
return e;
|
|
4103
|
-
},
|
|
4052
|
+
}, W = (e, t) => {
|
|
4104
4053
|
var r = {};
|
|
4105
4054
|
for (var n in e)
|
|
4106
|
-
|
|
4107
|
-
if (e != null &&
|
|
4108
|
-
for (var n of
|
|
4109
|
-
t.indexOf(n) < 0 &&
|
|
4055
|
+
Wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4056
|
+
if (e != null && ce)
|
|
4057
|
+
for (var n of ce(e))
|
|
4058
|
+
t.indexOf(n) < 0 && zt.call(e, n) && (r[n] = e[n]);
|
|
4110
4059
|
return r;
|
|
4111
4060
|
};
|
|
4112
|
-
const
|
|
4113
|
-
const { formats: r } =
|
|
4061
|
+
const q = (e, t) => {
|
|
4062
|
+
const { formats: r } = k();
|
|
4114
4063
|
if (e in r && t in r[e])
|
|
4115
4064
|
return r[e][t];
|
|
4116
4065
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4117
|
-
},
|
|
4066
|
+
}, fi = ye(
|
|
4118
4067
|
(e) => {
|
|
4119
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4068
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4120
4069
|
if (r == null)
|
|
4121
4070
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4122
|
-
return n && (i =
|
|
4071
|
+
return n && (i = q("number", n)), new Intl.NumberFormat(r, i);
|
|
4123
4072
|
}
|
|
4124
|
-
),
|
|
4073
|
+
), ci = ye(
|
|
4125
4074
|
(e) => {
|
|
4126
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4075
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4127
4076
|
if (r == null)
|
|
4128
4077
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4129
|
-
return n ? i =
|
|
4078
|
+
return n ? i = q("date", n) : Object.keys(i).length === 0 && (i = q("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4130
4079
|
}
|
|
4131
|
-
),
|
|
4080
|
+
), mi = ye(
|
|
4132
4081
|
(e) => {
|
|
4133
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4082
|
+
var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
|
|
4134
4083
|
if (r == null)
|
|
4135
4084
|
throw new Error(
|
|
4136
4085
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4137
4086
|
);
|
|
4138
|
-
return n ? i =
|
|
4087
|
+
return n ? i = q("time", n) : Object.keys(i).length === 0 && (i = q("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4139
4088
|
}
|
|
4140
|
-
),
|
|
4089
|
+
), pi = (e = {}) => {
|
|
4141
4090
|
var t = e, {
|
|
4142
|
-
locale: r =
|
|
4143
|
-
} = t, n =
|
|
4091
|
+
locale: r = C()
|
|
4092
|
+
} = t, n = W(t, [
|
|
4144
4093
|
"locale"
|
|
4145
4094
|
]);
|
|
4146
|
-
return
|
|
4147
|
-
},
|
|
4095
|
+
return fi(Ve({ locale: r }, n));
|
|
4096
|
+
}, di = (e = {}) => {
|
|
4148
4097
|
var t = e, {
|
|
4149
|
-
locale: r =
|
|
4150
|
-
} = t, n =
|
|
4098
|
+
locale: r = C()
|
|
4099
|
+
} = t, n = W(t, [
|
|
4151
4100
|
"locale"
|
|
4152
4101
|
]);
|
|
4153
|
-
return
|
|
4154
|
-
},
|
|
4102
|
+
return ci(Ve({ locale: r }, n));
|
|
4103
|
+
}, bi = (e = {}) => {
|
|
4155
4104
|
var t = e, {
|
|
4156
|
-
locale: r =
|
|
4157
|
-
} = t, n =
|
|
4105
|
+
locale: r = C()
|
|
4106
|
+
} = t, n = W(t, [
|
|
4158
4107
|
"locale"
|
|
4159
4108
|
]);
|
|
4160
|
-
return
|
|
4161
|
-
},
|
|
4109
|
+
return mi(Ve({ locale: r }, n));
|
|
4110
|
+
}, yi = ye(
|
|
4162
4111
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4163
|
-
(e, t =
|
|
4164
|
-
ignoreTag:
|
|
4112
|
+
(e, t = C()) => new kn(e, t, k().formats, {
|
|
4113
|
+
ignoreTag: k().ignoreTag
|
|
4165
4114
|
})
|
|
4166
|
-
),
|
|
4115
|
+
), gi = (e, t = {}) => {
|
|
4167
4116
|
var r, n, i, o;
|
|
4168
4117
|
let s = t;
|
|
4169
4118
|
typeof e == "object" && (s = e, e = s.id);
|
|
4170
4119
|
const {
|
|
4171
4120
|
values: a,
|
|
4172
|
-
locale: h =
|
|
4121
|
+
locale: h = C(),
|
|
4173
4122
|
default: u
|
|
4174
4123
|
} = s;
|
|
4175
4124
|
if (h == null)
|
|
4176
4125
|
throw new Error(
|
|
4177
4126
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4178
4127
|
);
|
|
4179
|
-
let l =
|
|
4128
|
+
let l = jt(e, h);
|
|
4180
4129
|
if (!l)
|
|
4181
|
-
l = (o = (i = (n = (r =
|
|
4130
|
+
l = (o = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4182
4131
|
else if (typeof l != "string")
|
|
4183
4132
|
return console.warn(
|
|
4184
4133
|
`[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.`
|
|
4185
4134
|
), l;
|
|
4186
4135
|
if (!a)
|
|
4187
4136
|
return l;
|
|
4188
|
-
let
|
|
4137
|
+
let f = l;
|
|
4189
4138
|
try {
|
|
4190
|
-
|
|
4191
|
-
} catch (
|
|
4192
|
-
|
|
4139
|
+
f = yi(l, h).format(a);
|
|
4140
|
+
} catch (c) {
|
|
4141
|
+
c instanceof Error && console.warn(
|
|
4193
4142
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4194
|
-
|
|
4143
|
+
c.message
|
|
4195
4144
|
);
|
|
4196
4145
|
}
|
|
4197
|
-
return
|
|
4198
|
-
},
|
|
4199
|
-
|
|
4200
|
-
|
|
4201
|
-
|
|
4202
|
-
|
|
4203
|
-
|
|
4204
|
-
window.emWidgets = { topic:
|
|
4205
|
-
const
|
|
4206
|
-
function
|
|
4207
|
-
|
|
4208
|
-
}
|
|
4209
|
-
function
|
|
4210
|
-
let t, r, n, i, o, s, a, h, u, l,
|
|
4211
|
-
function d(_,
|
|
4146
|
+
return f;
|
|
4147
|
+
}, vi = (e, t) => bi(t).format(e), xi = (e, t) => di(t).format(e), _i = (e, t) => pi(t).format(e), Ei = (e, t = C()) => jt(e, t);
|
|
4148
|
+
X([re, te], () => gi);
|
|
4149
|
+
X([re], () => vi);
|
|
4150
|
+
X([re], () => xi);
|
|
4151
|
+
X([re], () => _i);
|
|
4152
|
+
X([re, te], () => Ei);
|
|
4153
|
+
window.emWidgets = { topic: Lr };
|
|
4154
|
+
const Si = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
|
|
4155
|
+
function wi(e) {
|
|
4156
|
+
Jt(e, "svelte-1mvysvb", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.betslipIndicator{display:flex;align-items:center;justify-content:center;padding:15px 20px;position:fixed;bottom:20%;right:20px;color:#fff;background:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));box-shadow:0px 5px 30px var(--emw--color-gray-100, #E6E6E6);border-radius:50%;border:none}.betslipIndicator__icon{display:flex;width:20px;fill:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF))}.betslipIndicator__number{display:flex;align-items:center;justify-content:center;position:absolute;right:0px;top:-10px;width:25px;height:25px;background:var(--emw--casino-color-bg, var(--emw--color-background, #07072A));color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));border-radius:50%}.loader{color:var(--emw--casino-typography, var(--emw--color-white, #FFFFFF));font-size:2px;margin:100px auto;width:1em;height:1em;border-radius:50%;position:relative;text-indent:-9999em;-webkit-animation:load4 1.3s infinite linear;animation:load4 1.3s infinite linear;-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0)}@-webkit-keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}@keyframes load4{0%,100%{box-shadow:0 -3em 0 0.2em, 2em -2em 0 0em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0, 2em -2em 0 0.2em, 3em 0 0 0, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -0.5em, 2em -2em 0 0, 3em 0 0 0.2em, 2em 2em 0 0, 0 3em 0 -1em, -2em 2em 0 -1em, -3em 0 0 -1em, -2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 0, 2em 2em 0 0.2em, 0 3em 0 0em, -2em 2em 0 -1em, -3em 0em 0 -1em, -2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 0em, 0 3em 0 0.2em, -2em 2em 0 0, -3em 0em 0 -1em, -2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 0, -2em 2em 0 0.2em, -3em 0 0 0, -2em -2em 0 -1em}75%{box-shadow:0em -3em 0 -1em, 2em -2em 0 -1em, 3em 0em 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0.2em, -2em -2em 0 0}87.5%{box-shadow:0em -3em 0 0, 2em -2em 0 -1em, 3em 0 0 -1em, 2em 2em 0 -1em, 0 3em 0 -1em, -2em 2em 0 0, -3em 0em 0 0, -2em -2em 0 0.2em}}");
|
|
4157
|
+
}
|
|
4158
|
+
function pt(e) {
|
|
4159
|
+
let t, r, n, i, o, s, a, h, u, l, f, c;
|
|
4160
|
+
function d(_, v) {
|
|
4212
4161
|
return (
|
|
4213
4162
|
/*isLoading*/
|
|
4214
|
-
_[3] ?
|
|
4163
|
+
_[3] ? Ti : Hi
|
|
4215
4164
|
);
|
|
4216
4165
|
}
|
|
4217
|
-
let
|
|
4166
|
+
let g = d(e), m = g(e);
|
|
4218
4167
|
return {
|
|
4219
4168
|
c() {
|
|
4220
|
-
t =
|
|
4169
|
+
t = D("button"), r = D("small"), m.c(), n = Kt(), i = N("svg"), o = N("g"), s = N("path"), a = N("path"), h = N("path"), u = N("path"), l = N("path"), E(r, "class", "betslipIndicator__number"), E(s, "d", `M45,95c0,1.1,0.9,2,2,2h11c3.3,0,6-2.7,6-6V9c0-3.3-2.7-6-6-6H47c-1.1,0-2,0.9-2,2c0,7.2-5.8,13-13,13S19,12.2,19,5
|
|
4221
4170
|
c0-1.1-0.9-2-2-2H6C2.7,3,0,5.7,0,9v82c0,3.3,2.7,6,6,6h11c1.1,0,2-0.9,2-2c0-7.2,5.8-13,13-13S45,87.8,45,95z M32,78
|
|
4222
4171
|
c-8.6,0-15.9,6.4-16.9,15H6c-1.1,0-2-0.9-2-2V9c0-1.1,0.9-2,2-2h9.1c1.2,9.3,9.7,15.9,19,14.8c7.7-1,13.8-7,14.8-14.8H58
|
|
4223
|
-
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"),
|
|
4172
|
+
c1.1,0,2,0.9,2,2v82c0,1.1-0.9,2-2,2h-9.1C47.9,84.4,40.6,78,32,78z`), E(a, "d", "M50.9,29.5H13.1c-0.8,0-1.5,0.9-1.5,2c0,1.1,0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2C52.4,30.4,51.7,29.5,50.9,29.5z"), E(h, "d", "M50.9,41.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,41.5,50.9,41.5z"), E(u, "d", "M50.9,53.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,53.5,50.9,53.5z"), E(l, "d", "M50.9,66.5H13.1c-0.8,0-1.5,0.9-1.5,2s0.7,2,1.5,2h37.8c0.8,0,1.5-0.9,1.5-2S51.7,66.5,50.9,66.5z"), E(i, "version", "1.1"), E(i, "id", "Layer_1"), E(i, "class", "betslipIndicator__icon"), E(i, "xmlns", "http://www.w3.org/2000/svg"), E(i, "xmlns:xlink", "http://www.w3.org/1999/xlink"), E(i, "x", "0px"), E(i, "y", "0px"), E(i, "viewBox", "0 0 64 100"), nr(i, "enable-background", "new 0 0 64 100"), E(i, "xml:space", "preserve"), E(t, "class", "betslipIndicator");
|
|
4224
4173
|
},
|
|
4225
|
-
m(_,
|
|
4226
|
-
|
|
4174
|
+
m(_, v) {
|
|
4175
|
+
ee(_, t, v), B(t, r), m.m(r, null), B(t, n), B(t, i), B(i, o), B(o, s), B(o, a), B(o, h), B(o, u), B(o, l), f || (c = er(
|
|
4227
4176
|
t,
|
|
4228
4177
|
"click",
|
|
4229
4178
|
/*click_handler*/
|
|
4230
4179
|
e[7]
|
|
4231
|
-
),
|
|
4180
|
+
), f = !0);
|
|
4232
4181
|
},
|
|
4233
|
-
p(_,
|
|
4234
|
-
|
|
4182
|
+
p(_, v) {
|
|
4183
|
+
g === (g = d(_)) && m ? m.p(_, v) : (m.d(1), m = g(_), m && (m.c(), m.m(r, null)));
|
|
4235
4184
|
},
|
|
4236
4185
|
d(_) {
|
|
4237
|
-
_ &&
|
|
4186
|
+
_ && V(t), m.d(), f = !1, c();
|
|
4238
4187
|
}
|
|
4239
4188
|
};
|
|
4240
4189
|
}
|
|
4241
|
-
function
|
|
4190
|
+
function Hi(e) {
|
|
4242
4191
|
let t;
|
|
4243
4192
|
return {
|
|
4244
4193
|
c() {
|
|
4245
|
-
t =
|
|
4194
|
+
t = yt(
|
|
4246
4195
|
/*betNumber*/
|
|
4247
4196
|
e[1]
|
|
4248
4197
|
);
|
|
4249
4198
|
},
|
|
4250
4199
|
m(r, n) {
|
|
4251
|
-
|
|
4200
|
+
ee(r, t, n);
|
|
4252
4201
|
},
|
|
4253
4202
|
p(r, n) {
|
|
4254
4203
|
n & /*betNumber*/
|
|
4255
|
-
2 &&
|
|
4204
|
+
2 && rr(
|
|
4256
4205
|
t,
|
|
4257
4206
|
/*betNumber*/
|
|
4258
4207
|
r[1]
|
|
4259
4208
|
);
|
|
4260
4209
|
},
|
|
4261
4210
|
d(r) {
|
|
4262
|
-
r &&
|
|
4211
|
+
r && V(t);
|
|
4263
4212
|
}
|
|
4264
4213
|
};
|
|
4265
4214
|
}
|
|
4266
|
-
function
|
|
4215
|
+
function Ti(e) {
|
|
4267
4216
|
let t;
|
|
4268
4217
|
return {
|
|
4269
4218
|
c() {
|
|
4270
|
-
t =
|
|
4219
|
+
t = D("div"), t.textContent = "Loading...", E(t, "class", "loader");
|
|
4271
4220
|
},
|
|
4272
4221
|
m(r, n) {
|
|
4273
|
-
|
|
4222
|
+
ee(r, t, n);
|
|
4274
4223
|
},
|
|
4275
|
-
p:
|
|
4224
|
+
p: T,
|
|
4276
4225
|
d(r) {
|
|
4277
|
-
r &&
|
|
4226
|
+
r && V(t);
|
|
4278
4227
|
}
|
|
4279
4228
|
};
|
|
4280
4229
|
}
|
|
4281
|
-
function
|
|
4230
|
+
function Bi(e) {
|
|
4282
4231
|
let t, r = (
|
|
4283
4232
|
/*mobileView*/
|
|
4284
4233
|
e[2] && /*betNumber*/
|
|
4285
|
-
e[1] > 0 &&
|
|
4234
|
+
e[1] > 0 && pt(e)
|
|
4286
4235
|
);
|
|
4287
4236
|
return {
|
|
4288
4237
|
c() {
|
|
4289
|
-
t =
|
|
4238
|
+
t = D("div"), r && r.c();
|
|
4290
4239
|
},
|
|
4291
4240
|
m(n, i) {
|
|
4292
|
-
|
|
4241
|
+
ee(n, t, i), r && r.m(t, null), e[8](t);
|
|
4293
4242
|
},
|
|
4294
4243
|
p(n, [i]) {
|
|
4295
4244
|
/*mobileView*/
|
|
4296
4245
|
n[2] && /*betNumber*/
|
|
4297
|
-
n[1] > 0 ? r ? r.p(n, i) : (r =
|
|
4246
|
+
n[1] > 0 ? r ? r.p(n, i) : (r = pt(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
|
|
4298
4247
|
},
|
|
4299
|
-
i:
|
|
4300
|
-
o:
|
|
4248
|
+
i: T,
|
|
4249
|
+
o: T,
|
|
4301
4250
|
d(n) {
|
|
4302
|
-
n &&
|
|
4251
|
+
n && V(t), r && r.d(), e[8](null);
|
|
4303
4252
|
}
|
|
4304
4253
|
};
|
|
4305
4254
|
}
|
|
4306
|
-
function
|
|
4255
|
+
function Ai(e, t, r) {
|
|
4307
4256
|
let { clientstyling: n = "" } = t, { clientstylingurl: i = "" } = t, o, s = window.navigator.userAgent, a = null, h = !1, u = !0;
|
|
4308
4257
|
const l = () => {
|
|
4309
4258
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
4310
|
-
},
|
|
4259
|
+
}, f = (v, H) => {
|
|
4311
4260
|
o.dispatchEvent(new CustomEvent(
|
|
4312
|
-
|
|
4261
|
+
v,
|
|
4313
4262
|
{
|
|
4314
4263
|
detail: H,
|
|
4315
4264
|
composed: !0,
|
|
@@ -4317,20 +4266,20 @@ function Gi(e, t, r) {
|
|
|
4317
4266
|
// propagate across the shadow DOM
|
|
4318
4267
|
}
|
|
4319
4268
|
));
|
|
4320
|
-
},
|
|
4321
|
-
const { type: H, payload: S } =
|
|
4322
|
-
if (
|
|
4269
|
+
}, c = (v) => {
|
|
4270
|
+
const { type: H, payload: S } = v.data;
|
|
4271
|
+
if (v.data)
|
|
4323
4272
|
switch (H) {
|
|
4324
4273
|
case "OMFE:updateBetslipSelectionsCount":
|
|
4325
4274
|
r(1, a = S.count), r(3, u = !1);
|
|
4326
4275
|
break;
|
|
4327
4276
|
}
|
|
4328
4277
|
}, d = () => {
|
|
4329
|
-
let
|
|
4330
|
-
|
|
4331
|
-
},
|
|
4332
|
-
let
|
|
4333
|
-
fetch(
|
|
4278
|
+
let v = document.createElement("style");
|
|
4279
|
+
v.innerHTML = n, o.appendChild(v);
|
|
4280
|
+
}, g = () => {
|
|
4281
|
+
let v = new URL(i), H = document.createElement("style");
|
|
4282
|
+
fetch(v.href).then((S) => S.text()).then((S) => {
|
|
4334
4283
|
H.innerHTML = S, setTimeout(
|
|
4335
4284
|
() => {
|
|
4336
4285
|
o.appendChild(H);
|
|
@@ -4339,51 +4288,51 @@ function Gi(e, t, r) {
|
|
|
4339
4288
|
);
|
|
4340
4289
|
});
|
|
4341
4290
|
};
|
|
4342
|
-
|
|
4343
|
-
window.removeEventListener("message",
|
|
4291
|
+
sr(() => (l(), window.addEventListener("message", c, !1), Si(s) && r(2, h = !0), () => {
|
|
4292
|
+
window.removeEventListener("message", c);
|
|
4344
4293
|
}));
|
|
4345
|
-
const m = (
|
|
4346
|
-
function _(
|
|
4347
|
-
|
|
4348
|
-
o =
|
|
4294
|
+
const m = (v) => f("betslipClick", {});
|
|
4295
|
+
function _(v) {
|
|
4296
|
+
He[v ? "unshift" : "push"](() => {
|
|
4297
|
+
o = v, r(0, o);
|
|
4349
4298
|
});
|
|
4350
4299
|
}
|
|
4351
|
-
return e.$$set = (
|
|
4352
|
-
"clientstyling" in
|
|
4300
|
+
return e.$$set = (v) => {
|
|
4301
|
+
"clientstyling" in v && r(5, n = v.clientstyling), "clientstylingurl" in v && r(6, i = v.clientstylingurl);
|
|
4353
4302
|
}, e.$$.update = () => {
|
|
4354
4303
|
e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4355
|
-
65 && i && o &&
|
|
4304
|
+
65 && i && o && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4356
4305
|
33 && n && o && d();
|
|
4357
4306
|
}, [
|
|
4358
4307
|
o,
|
|
4359
4308
|
a,
|
|
4360
4309
|
h,
|
|
4361
4310
|
u,
|
|
4362
|
-
|
|
4311
|
+
f,
|
|
4363
4312
|
n,
|
|
4364
4313
|
i,
|
|
4365
4314
|
m,
|
|
4366
4315
|
_
|
|
4367
4316
|
];
|
|
4368
4317
|
}
|
|
4369
|
-
class
|
|
4318
|
+
class Pi extends gr {
|
|
4370
4319
|
constructor(t) {
|
|
4371
|
-
super(),
|
|
4320
|
+
super(), br(this, t, Ai, Bi, bt, { clientstyling: 5, clientstylingurl: 6 }, wi);
|
|
4372
4321
|
}
|
|
4373
4322
|
get clientstyling() {
|
|
4374
4323
|
return this.$$.ctx[5];
|
|
4375
4324
|
}
|
|
4376
4325
|
set clientstyling(t) {
|
|
4377
|
-
this.$$set({ clientstyling: t }),
|
|
4326
|
+
this.$$set({ clientstyling: t }), le();
|
|
4378
4327
|
}
|
|
4379
4328
|
get clientstylingurl() {
|
|
4380
4329
|
return this.$$.ctx[6];
|
|
4381
4330
|
}
|
|
4382
4331
|
set clientstylingurl(t) {
|
|
4383
|
-
this.$$set({ clientstylingurl: t }),
|
|
4332
|
+
this.$$set({ clientstylingurl: t }), le();
|
|
4384
4333
|
}
|
|
4385
4334
|
}
|
|
4386
|
-
|
|
4335
|
+
yr(Pi, { clientstyling: {}, clientstylingurl: {} }, [], [], !0);
|
|
4387
4336
|
export {
|
|
4388
|
-
|
|
4337
|
+
Pi as C
|
|
4389
4338
|
};
|