@everymatrix/casino-header-bets-button 1.77.18 → 1.77.20
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/CasinoHeaderBetsButton-Bgu9UiB0.cjs +16 -0
- package/components/{CasinoHeaderBetsButton-nu6zgb7y.js → CasinoHeaderBetsButton-Tis7iePY.js} +663 -669
- package/components/{CasinoHeaderBetsButton-B5dXcpQV.js → CasinoHeaderBetsButton-i6TUSqvw.js} +638 -644
- package/es2015/casino-header-bets-button.cjs +1 -1
- package/es2015/casino-header-bets-button.js +1 -1
- package/esnext/casino-header-bets-button.js +1 -1
- package/package.json +1 -1
- package/components/CasinoHeaderBetsButton-BZnUcTeA.cjs +0 -3
package/components/{CasinoHeaderBetsButton-nu6zgb7y.js → CasinoHeaderBetsButton-Tis7iePY.js}
RENAMED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var
|
|
1
|
+
var Lt = Object.defineProperty, Ct = Object.defineProperties;
|
|
2
|
+
var $t = Object.getOwnPropertyDescriptors;
|
|
3
|
+
var Re = Object.getOwnPropertySymbols;
|
|
4
|
+
var Rt = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var fe = (e, t, r) => t in e ? Lt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ue = (e, t) => {
|
|
6
6
|
for (var r in t || (t = {}))
|
|
7
|
-
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
|
|
7
|
+
Rt.call(t, r) && fe(e, r, t[r]);
|
|
8
|
+
if (Re)
|
|
9
|
+
for (var r of Re(t))
|
|
10
|
+
Ut.call(t, r) && fe(e, r, t[r]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
13
|
-
var B = (e, t, r) => (
|
|
14
|
-
var
|
|
12
|
+
}, De = (e, t) => Ct(e, $t(t));
|
|
13
|
+
var B = (e, t, r) => (fe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var Ge = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var s = (h) => {
|
|
16
16
|
try {
|
|
17
17
|
u(r.next(h));
|
|
@@ -27,49 +27,49 @@ var je = (e, t, r) => new Promise((n, i) => {
|
|
|
27
27
|
}, u = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(s, a);
|
|
28
28
|
u((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
|
-
function
|
|
30
|
+
function T() {
|
|
31
31
|
}
|
|
32
|
-
function
|
|
32
|
+
function st(e) {
|
|
33
33
|
return e();
|
|
34
34
|
}
|
|
35
|
-
function
|
|
35
|
+
function Fe() {
|
|
36
36
|
return /* @__PURE__ */ Object.create(null);
|
|
37
37
|
}
|
|
38
|
-
function
|
|
39
|
-
e.forEach(
|
|
38
|
+
function q(e) {
|
|
39
|
+
e.forEach(st);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
41
|
+
function we(e) {
|
|
42
42
|
return typeof e == "function";
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function ot(e, t) {
|
|
45
45
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
46
46
|
}
|
|
47
|
-
function
|
|
47
|
+
function Dt(e) {
|
|
48
48
|
return Object.keys(e).length === 0;
|
|
49
49
|
}
|
|
50
|
-
function
|
|
50
|
+
function at(e, ...t) {
|
|
51
51
|
if (e == null) {
|
|
52
52
|
for (const n of t)
|
|
53
53
|
n(void 0);
|
|
54
|
-
return
|
|
54
|
+
return T;
|
|
55
55
|
}
|
|
56
56
|
const r = e.subscribe(...t);
|
|
57
57
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
e.$$.on_destroy.push(
|
|
59
|
+
function Gt(e, t, r) {
|
|
60
|
+
e.$$.on_destroy.push(at(t, r));
|
|
61
61
|
}
|
|
62
62
|
function A(e, t) {
|
|
63
63
|
e.appendChild(t);
|
|
64
64
|
}
|
|
65
|
-
function
|
|
66
|
-
const n =
|
|
65
|
+
function Ft(e, t, r) {
|
|
66
|
+
const n = jt(e);
|
|
67
67
|
if (!n.getElementById(t)) {
|
|
68
68
|
const i = M("style");
|
|
69
|
-
i.id = t, i.textContent = r,
|
|
69
|
+
i.id = t, i.textContent = r, kt(n, i);
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
|
-
function
|
|
72
|
+
function jt(e) {
|
|
73
73
|
if (!e)
|
|
74
74
|
return document;
|
|
75
75
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
@@ -79,42 +79,42 @@ function Vt(e) {
|
|
|
79
79
|
t
|
|
80
80
|
) : e.ownerDocument;
|
|
81
81
|
}
|
|
82
|
-
function
|
|
82
|
+
function kt(e, t) {
|
|
83
83
|
return A(
|
|
84
84
|
/** @type {Document} */
|
|
85
85
|
e.head || e,
|
|
86
86
|
t
|
|
87
87
|
), t.sheet;
|
|
88
88
|
}
|
|
89
|
-
function
|
|
89
|
+
function ut(e, t, r) {
|
|
90
90
|
e.insertBefore(t, r || null);
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function Ie(e) {
|
|
93
93
|
e.parentNode && e.parentNode.removeChild(e);
|
|
94
94
|
}
|
|
95
95
|
function M(e) {
|
|
96
96
|
return document.createElement(e);
|
|
97
97
|
}
|
|
98
|
-
function
|
|
98
|
+
function xe(e) {
|
|
99
99
|
return document.createTextNode(e);
|
|
100
100
|
}
|
|
101
|
-
function
|
|
102
|
-
return
|
|
101
|
+
function Vt() {
|
|
102
|
+
return xe(" ");
|
|
103
103
|
}
|
|
104
|
-
function
|
|
104
|
+
function Xt(e, t, r, n) {
|
|
105
105
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
106
106
|
}
|
|
107
|
-
function
|
|
107
|
+
function $(e, t, r) {
|
|
108
108
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function Wt(e) {
|
|
111
111
|
return Array.from(e.childNodes);
|
|
112
112
|
}
|
|
113
|
-
function
|
|
113
|
+
function je(e, t) {
|
|
114
114
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
115
115
|
t);
|
|
116
116
|
}
|
|
117
|
-
function
|
|
117
|
+
function zt(e) {
|
|
118
118
|
const t = {};
|
|
119
119
|
return e.childNodes.forEach(
|
|
120
120
|
/** @param {Element} node */
|
|
@@ -123,95 +123,95 @@ function Qt(e) {
|
|
|
123
123
|
}
|
|
124
124
|
), t;
|
|
125
125
|
}
|
|
126
|
-
let
|
|
127
|
-
function
|
|
128
|
-
|
|
126
|
+
let Z;
|
|
127
|
+
function z(e) {
|
|
128
|
+
Z = e;
|
|
129
129
|
}
|
|
130
|
-
function
|
|
131
|
-
if (!
|
|
130
|
+
function Zt() {
|
|
131
|
+
if (!Z)
|
|
132
132
|
throw new Error("Function called outside component initialization");
|
|
133
|
-
return
|
|
134
|
-
}
|
|
135
|
-
function qt(e) {
|
|
136
|
-
Jt().$$.on_mount.push(e);
|
|
137
|
-
}
|
|
138
|
-
const U = [], _e = [];
|
|
139
|
-
let D = [];
|
|
140
|
-
const Xe = [], Yt = /* @__PURE__ */ Promise.resolve();
|
|
141
|
-
let Be = !1;
|
|
142
|
-
function Kt() {
|
|
143
|
-
Be || (Be = !0, Yt.then(I));
|
|
144
|
-
}
|
|
145
|
-
function He(e) {
|
|
146
|
-
D.push(e);
|
|
133
|
+
return Z;
|
|
147
134
|
}
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
135
|
+
function Qt(e) {
|
|
136
|
+
Zt().$$.on_mount.push(e);
|
|
137
|
+
}
|
|
138
|
+
const R = [], Ee = [];
|
|
139
|
+
let U = [];
|
|
140
|
+
const ke = [], Jt = /* @__PURE__ */ Promise.resolve();
|
|
141
|
+
let ve = !1;
|
|
142
|
+
function qt() {
|
|
143
|
+
ve || (ve = !0, Jt.then(w));
|
|
144
|
+
}
|
|
145
|
+
function _e(e) {
|
|
146
|
+
U.push(e);
|
|
147
|
+
}
|
|
148
|
+
const ce = /* @__PURE__ */ new Set();
|
|
149
|
+
let L = 0;
|
|
150
|
+
function w() {
|
|
151
|
+
if (L !== 0)
|
|
152
152
|
return;
|
|
153
|
-
const e =
|
|
153
|
+
const e = Z;
|
|
154
154
|
do {
|
|
155
155
|
try {
|
|
156
|
-
for (;
|
|
157
|
-
const t =
|
|
158
|
-
|
|
156
|
+
for (; L < R.length; ) {
|
|
157
|
+
const t = R[L];
|
|
158
|
+
L++, z(t), Yt(t.$$);
|
|
159
159
|
}
|
|
160
160
|
} catch (t) {
|
|
161
|
-
throw
|
|
161
|
+
throw R.length = 0, L = 0, t;
|
|
162
162
|
}
|
|
163
|
-
for (
|
|
164
|
-
|
|
165
|
-
for (let t = 0; t <
|
|
166
|
-
const r =
|
|
167
|
-
|
|
163
|
+
for (z(null), R.length = 0, L = 0; Ee.length; )
|
|
164
|
+
Ee.pop()();
|
|
165
|
+
for (let t = 0; t < U.length; t += 1) {
|
|
166
|
+
const r = U[t];
|
|
167
|
+
ce.has(r) || (ce.add(r), r());
|
|
168
168
|
}
|
|
169
|
-
|
|
170
|
-
} while (
|
|
171
|
-
for (;
|
|
172
|
-
|
|
173
|
-
|
|
169
|
+
U.length = 0;
|
|
170
|
+
} while (R.length);
|
|
171
|
+
for (; ke.length; )
|
|
172
|
+
ke.pop()();
|
|
173
|
+
ve = !1, ce.clear(), z(e);
|
|
174
174
|
}
|
|
175
|
-
function
|
|
175
|
+
function Yt(e) {
|
|
176
176
|
if (e.fragment !== null) {
|
|
177
|
-
e.update(),
|
|
177
|
+
e.update(), q(e.before_update);
|
|
178
178
|
const t = e.dirty;
|
|
179
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
179
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
|
|
180
180
|
}
|
|
181
181
|
}
|
|
182
|
-
function
|
|
182
|
+
function Kt(e) {
|
|
183
183
|
const t = [], r = [];
|
|
184
|
-
|
|
184
|
+
U.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), U = t;
|
|
185
185
|
}
|
|
186
|
-
const
|
|
187
|
-
function
|
|
188
|
-
e && e.i && (
|
|
186
|
+
const er = /* @__PURE__ */ new Set();
|
|
187
|
+
function tr(e, t) {
|
|
188
|
+
e && e.i && (er.delete(e), e.i(t));
|
|
189
189
|
}
|
|
190
|
-
function
|
|
190
|
+
function rr(e, t, r) {
|
|
191
191
|
const { fragment: n, after_update: i } = e.$$;
|
|
192
|
-
n && n.m(t, r),
|
|
193
|
-
const s = e.$$.on_mount.map(
|
|
194
|
-
e.$$.on_destroy ? e.$$.on_destroy.push(...s) :
|
|
195
|
-
}), i.forEach(
|
|
192
|
+
n && n.m(t, r), _e(() => {
|
|
193
|
+
const s = e.$$.on_mount.map(st).filter(we);
|
|
194
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...s) : q(s), e.$$.on_mount = [];
|
|
195
|
+
}), i.forEach(_e);
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function nr(e, t) {
|
|
198
198
|
const r = e.$$;
|
|
199
|
-
r.fragment !== null && (
|
|
199
|
+
r.fragment !== null && (Kt(r.after_update), q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
200
200
|
}
|
|
201
|
-
function
|
|
202
|
-
e.$$.dirty[0] === -1 && (
|
|
201
|
+
function ir(e, t) {
|
|
202
|
+
e.$$.dirty[0] === -1 && (R.push(e), qt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
203
203
|
}
|
|
204
|
-
function
|
|
205
|
-
const h =
|
|
206
|
-
|
|
204
|
+
function sr(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
205
|
+
const h = Z;
|
|
206
|
+
z(e);
|
|
207
207
|
const o = e.$$ = {
|
|
208
208
|
fragment: null,
|
|
209
209
|
ctx: [],
|
|
210
210
|
// state
|
|
211
211
|
props: s,
|
|
212
|
-
update:
|
|
212
|
+
update: T,
|
|
213
213
|
not_equal: i,
|
|
214
|
-
bound:
|
|
214
|
+
bound: Fe(),
|
|
215
215
|
// lifecycle
|
|
216
216
|
on_mount: [],
|
|
217
217
|
on_destroy: [],
|
|
@@ -220,28 +220,28 @@ function ar(e, t, r, n, i, s, a = null, u = [-1]) {
|
|
|
220
220
|
after_update: [],
|
|
221
221
|
context: new Map(t.context || (h ? h.$$.context : [])),
|
|
222
222
|
// everything else
|
|
223
|
-
callbacks:
|
|
223
|
+
callbacks: Fe(),
|
|
224
224
|
dirty: u,
|
|
225
225
|
skip_bound: !1,
|
|
226
226
|
root: t.target || h.$$.root
|
|
227
227
|
};
|
|
228
228
|
a && a(o.root);
|
|
229
229
|
let l = !1;
|
|
230
|
-
if (o.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
231
|
-
const
|
|
232
|
-
return o.ctx && i(o.ctx[f], o.ctx[f] =
|
|
233
|
-
}) : [], o.update(), l = !0,
|
|
230
|
+
if (o.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
|
|
231
|
+
const g = y.length ? y[0] : c;
|
|
232
|
+
return o.ctx && i(o.ctx[f], o.ctx[f] = g) && (!o.skip_bound && o.bound[f] && o.bound[f](g), l && ir(e, f)), c;
|
|
233
|
+
}) : [], o.update(), l = !0, q(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
|
|
234
234
|
if (t.hydrate) {
|
|
235
|
-
const f =
|
|
236
|
-
o.fragment && o.fragment.l(f), f.forEach(
|
|
235
|
+
const f = Wt(t.target);
|
|
236
|
+
o.fragment && o.fragment.l(f), f.forEach(Ie);
|
|
237
237
|
} else
|
|
238
238
|
o.fragment && o.fragment.c();
|
|
239
|
-
t.intro &&
|
|
239
|
+
t.intro && tr(e.$$.fragment), rr(e, t.target, t.anchor), w();
|
|
240
240
|
}
|
|
241
|
-
|
|
241
|
+
z(h);
|
|
242
242
|
}
|
|
243
|
-
let
|
|
244
|
-
typeof HTMLElement == "function" && (
|
|
243
|
+
let ht;
|
|
244
|
+
typeof HTMLElement == "function" && (ht = class extends HTMLElement {
|
|
245
245
|
constructor(t, r, n) {
|
|
246
246
|
super();
|
|
247
247
|
/** The Svelte component constructor */
|
|
@@ -278,42 +278,42 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
278
278
|
}
|
|
279
279
|
}
|
|
280
280
|
connectedCallback() {
|
|
281
|
-
return
|
|
281
|
+
return Ge(this, null, function* () {
|
|
282
282
|
if (this.$$cn = !0, !this.$$c) {
|
|
283
283
|
let t = function(s) {
|
|
284
284
|
return () => {
|
|
285
285
|
let a;
|
|
286
286
|
return {
|
|
287
287
|
c: function() {
|
|
288
|
-
a = M("slot"), s !== "default" &&
|
|
288
|
+
a = M("slot"), s !== "default" && $(a, "name", s);
|
|
289
289
|
},
|
|
290
290
|
/**
|
|
291
291
|
* @param {HTMLElement} target
|
|
292
292
|
* @param {HTMLElement} [anchor]
|
|
293
293
|
*/
|
|
294
294
|
m: function(o, l) {
|
|
295
|
-
|
|
295
|
+
ut(o, a, l);
|
|
296
296
|
},
|
|
297
297
|
d: function(o) {
|
|
298
|
-
o &&
|
|
298
|
+
o && Ie(a);
|
|
299
299
|
}
|
|
300
300
|
};
|
|
301
301
|
};
|
|
302
302
|
};
|
|
303
303
|
if (yield Promise.resolve(), !this.$$cn || this.$$c)
|
|
304
304
|
return;
|
|
305
|
-
const r = {}, n =
|
|
305
|
+
const r = {}, n = zt(this);
|
|
306
306
|
for (const s of this.$$s)
|
|
307
307
|
s in n && (r[s] = [t(s)]);
|
|
308
308
|
for (const s of this.attributes) {
|
|
309
309
|
const a = this.$$g_p(s.name);
|
|
310
|
-
a in this.$$d || (this.$$d[a] =
|
|
310
|
+
a in this.$$d || (this.$$d[a] = te(a, s.value, this.$$p_d, "toProp"));
|
|
311
311
|
}
|
|
312
312
|
for (const s in this.$$p_d)
|
|
313
313
|
!(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
|
|
314
314
|
this.$$c = new this.$$ctor({
|
|
315
315
|
target: this.shadowRoot || this,
|
|
316
|
-
props:
|
|
316
|
+
props: De(Ue({}, this.$$d), {
|
|
317
317
|
$$slots: r,
|
|
318
318
|
$$scope: {
|
|
319
319
|
ctx: []
|
|
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
324
324
|
this.$$r = !0;
|
|
325
325
|
for (const s in this.$$p_d)
|
|
326
326
|
if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
|
|
327
|
-
const a =
|
|
327
|
+
const a = te(
|
|
328
328
|
s,
|
|
329
329
|
this.$$d[s],
|
|
330
330
|
this.$$p_d,
|
|
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
348
348
|
// and setting attributes through setAttribute etc, this is helpful
|
|
349
349
|
attributeChangedCallback(t, r, n) {
|
|
350
350
|
var i;
|
|
351
|
-
this.$$r || (t = this.$$g_p(t), this.$$d[t] =
|
|
351
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = te(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
352
352
|
}
|
|
353
353
|
disconnectedCallback() {
|
|
354
354
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -361,7 +361,7 @@ typeof HTMLElement == "function" && (ft = class extends HTMLElement {
|
|
|
361
361
|
) || t;
|
|
362
362
|
}
|
|
363
363
|
});
|
|
364
|
-
function
|
|
364
|
+
function te(e, t, r, n) {
|
|
365
365
|
var s;
|
|
366
366
|
const i = (s = r[e]) == null ? void 0 : s.type;
|
|
367
367
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
@@ -391,8 +391,8 @@ function re(e, t, r, n) {
|
|
|
391
391
|
return t;
|
|
392
392
|
}
|
|
393
393
|
}
|
|
394
|
-
function
|
|
395
|
-
let a = class extends
|
|
394
|
+
function or(e, t, r, n, i, s) {
|
|
395
|
+
let a = class extends ht {
|
|
396
396
|
constructor() {
|
|
397
397
|
super(e, r, i), this.$$p_d = t;
|
|
398
398
|
}
|
|
@@ -409,7 +409,7 @@ function ur(e, t, r, n, i, s) {
|
|
|
409
409
|
},
|
|
410
410
|
set(h) {
|
|
411
411
|
var o;
|
|
412
|
-
h =
|
|
412
|
+
h = te(u, h, t), this.$$d[u] = h, (o = this.$$c) == null || o.$set({ [u]: h });
|
|
413
413
|
}
|
|
414
414
|
});
|
|
415
415
|
}), n.forEach((u) => {
|
|
@@ -422,7 +422,7 @@ function ur(e, t, r, n, i, s) {
|
|
|
422
422
|
}), e.element = /** @type {any} */
|
|
423
423
|
a, a;
|
|
424
424
|
}
|
|
425
|
-
class
|
|
425
|
+
class ar {
|
|
426
426
|
constructor() {
|
|
427
427
|
/**
|
|
428
428
|
* ### PRIVATE API
|
|
@@ -443,7 +443,7 @@ class hr {
|
|
|
443
443
|
}
|
|
444
444
|
/** @returns {void} */
|
|
445
445
|
$destroy() {
|
|
446
|
-
|
|
446
|
+
nr(this, 1), this.$destroy = T;
|
|
447
447
|
}
|
|
448
448
|
/**
|
|
449
449
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -452,8 +452,8 @@ class hr {
|
|
|
452
452
|
* @returns {() => void}
|
|
453
453
|
*/
|
|
454
454
|
$on(t, r) {
|
|
455
|
-
if (!
|
|
456
|
-
return
|
|
455
|
+
if (!we(r))
|
|
456
|
+
return T;
|
|
457
457
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
458
458
|
return n.push(r), () => {
|
|
459
459
|
const i = n.indexOf(r);
|
|
@@ -465,18 +465,18 @@ class hr {
|
|
|
465
465
|
* @returns {void}
|
|
466
466
|
*/
|
|
467
467
|
$set(t) {
|
|
468
|
-
this.$$set && !
|
|
468
|
+
this.$$set && !Dt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
469
469
|
}
|
|
470
470
|
}
|
|
471
|
-
const
|
|
472
|
-
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
473
|
-
function
|
|
471
|
+
const ur = "4";
|
|
472
|
+
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ur);
|
|
473
|
+
function hr(e, t) {
|
|
474
474
|
if (e) {
|
|
475
475
|
const r = document.createElement("style");
|
|
476
476
|
r.innerHTML = t, e.appendChild(r);
|
|
477
477
|
}
|
|
478
478
|
}
|
|
479
|
-
function
|
|
479
|
+
function lr(e, t) {
|
|
480
480
|
const r = new URL(t);
|
|
481
481
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
482
482
|
const i = document.createElement("style");
|
|
@@ -485,7 +485,7 @@ function cr(e, t) {
|
|
|
485
485
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
486
486
|
});
|
|
487
487
|
}
|
|
488
|
-
function
|
|
488
|
+
function fr(e, t, r) {
|
|
489
489
|
if (window.emMessageBus) {
|
|
490
490
|
const n = document.createElement("style");
|
|
491
491
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -493,56 +493,56 @@ function mr(e, t, r) {
|
|
|
493
493
|
});
|
|
494
494
|
}
|
|
495
495
|
}
|
|
496
|
-
const
|
|
497
|
-
function
|
|
496
|
+
const C = [];
|
|
497
|
+
function cr(e, t) {
|
|
498
498
|
return {
|
|
499
|
-
subscribe:
|
|
499
|
+
subscribe: oe(e, t).subscribe
|
|
500
500
|
};
|
|
501
501
|
}
|
|
502
|
-
function
|
|
502
|
+
function oe(e, t = T) {
|
|
503
503
|
let r;
|
|
504
504
|
const n = /* @__PURE__ */ new Set();
|
|
505
505
|
function i(u) {
|
|
506
|
-
if (
|
|
507
|
-
const h =
|
|
506
|
+
if (ot(e, u) && (e = u, r)) {
|
|
507
|
+
const h = !C.length;
|
|
508
508
|
for (const o of n)
|
|
509
|
-
o[1](),
|
|
509
|
+
o[1](), C.push(o, e);
|
|
510
510
|
if (h) {
|
|
511
|
-
for (let o = 0; o <
|
|
512
|
-
|
|
513
|
-
|
|
511
|
+
for (let o = 0; o < C.length; o += 2)
|
|
512
|
+
C[o][0](C[o + 1]);
|
|
513
|
+
C.length = 0;
|
|
514
514
|
}
|
|
515
515
|
}
|
|
516
516
|
}
|
|
517
517
|
function s(u) {
|
|
518
518
|
i(u(e));
|
|
519
519
|
}
|
|
520
|
-
function a(u, h =
|
|
520
|
+
function a(u, h = T) {
|
|
521
521
|
const o = [u, h];
|
|
522
|
-
return n.add(o), n.size === 1 && (r = t(i, s) ||
|
|
522
|
+
return n.add(o), n.size === 1 && (r = t(i, s) || T), u(e), () => {
|
|
523
523
|
n.delete(o), n.size === 0 && r && (r(), r = null);
|
|
524
524
|
};
|
|
525
525
|
}
|
|
526
526
|
return { set: i, update: s, subscribe: a };
|
|
527
527
|
}
|
|
528
|
-
function
|
|
528
|
+
function k(e, t, r) {
|
|
529
529
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
530
530
|
if (!i.every(Boolean))
|
|
531
531
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
532
532
|
const s = t.length < 2;
|
|
533
|
-
return
|
|
533
|
+
return cr(r, (a, u) => {
|
|
534
534
|
let h = !1;
|
|
535
535
|
const o = [];
|
|
536
|
-
let l = 0, f =
|
|
536
|
+
let l = 0, f = T;
|
|
537
537
|
const c = () => {
|
|
538
538
|
if (l)
|
|
539
539
|
return;
|
|
540
540
|
f();
|
|
541
|
-
const
|
|
542
|
-
s ? a(
|
|
543
|
-
},
|
|
544
|
-
(
|
|
545
|
-
|
|
541
|
+
const g = t(n ? o[0] : o, a, u);
|
|
542
|
+
s ? a(g) : f = we(g) ? g : T;
|
|
543
|
+
}, y = i.map(
|
|
544
|
+
(g, E) => at(
|
|
545
|
+
g,
|
|
546
546
|
(H) => {
|
|
547
547
|
o[E] = H, l &= ~(1 << E), h && c();
|
|
548
548
|
},
|
|
@@ -552,112 +552,126 @@ function V(e, t, r) {
|
|
|
552
552
|
)
|
|
553
553
|
);
|
|
554
554
|
return h = !0, c(), function() {
|
|
555
|
-
|
|
555
|
+
q(y), f(), h = !1;
|
|
556
556
|
};
|
|
557
557
|
});
|
|
558
558
|
}
|
|
559
|
-
function
|
|
559
|
+
function mr(e) {
|
|
560
560
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
561
561
|
}
|
|
562
|
-
var
|
|
563
|
-
return
|
|
562
|
+
var pr = function(t) {
|
|
563
|
+
return br(t) && !dr(t);
|
|
564
564
|
};
|
|
565
|
-
function
|
|
565
|
+
function br(e) {
|
|
566
566
|
return !!e && typeof e == "object";
|
|
567
567
|
}
|
|
568
|
-
function
|
|
568
|
+
function dr(e) {
|
|
569
569
|
var t = Object.prototype.toString.call(e);
|
|
570
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
570
|
+
return t === "[object RegExp]" || t === "[object Date]" || xr(e);
|
|
571
571
|
}
|
|
572
|
-
var
|
|
573
|
-
function
|
|
574
|
-
return e.$$typeof ===
|
|
572
|
+
var gr = typeof Symbol == "function" && Symbol.for, yr = gr ? Symbol.for("react.element") : 60103;
|
|
573
|
+
function xr(e) {
|
|
574
|
+
return e.$$typeof === yr;
|
|
575
575
|
}
|
|
576
|
-
function
|
|
576
|
+
function Er(e) {
|
|
577
577
|
return Array.isArray(e) ? [] : {};
|
|
578
578
|
}
|
|
579
|
-
function
|
|
580
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
579
|
+
function Q(e, t) {
|
|
580
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? D(Er(e), e, t) : e;
|
|
581
581
|
}
|
|
582
|
-
function
|
|
582
|
+
function vr(e, t, r) {
|
|
583
583
|
return e.concat(t).map(function(n) {
|
|
584
|
-
return
|
|
584
|
+
return Q(n, r);
|
|
585
585
|
});
|
|
586
586
|
}
|
|
587
|
-
function
|
|
587
|
+
function _r(e, t) {
|
|
588
588
|
if (!t.customMerge)
|
|
589
|
-
return
|
|
589
|
+
return D;
|
|
590
590
|
var r = t.customMerge(e);
|
|
591
|
-
return typeof r == "function" ? r :
|
|
591
|
+
return typeof r == "function" ? r : D;
|
|
592
592
|
}
|
|
593
|
-
function
|
|
593
|
+
function Br(e) {
|
|
594
594
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
595
595
|
return Object.propertyIsEnumerable.call(e, t);
|
|
596
596
|
}) : [];
|
|
597
597
|
}
|
|
598
|
-
function
|
|
599
|
-
return Object.keys(e).concat(
|
|
598
|
+
function Ve(e) {
|
|
599
|
+
return Object.keys(e).concat(Br(e));
|
|
600
600
|
}
|
|
601
|
-
function
|
|
601
|
+
function lt(e, t) {
|
|
602
602
|
try {
|
|
603
603
|
return t in e;
|
|
604
604
|
} catch (r) {
|
|
605
605
|
return !1;
|
|
606
606
|
}
|
|
607
607
|
}
|
|
608
|
-
function
|
|
609
|
-
return
|
|
608
|
+
function Hr(e, t) {
|
|
609
|
+
return lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
610
610
|
}
|
|
611
|
-
function
|
|
611
|
+
function Tr(e, t, r) {
|
|
612
612
|
var n = {};
|
|
613
|
-
return r.isMergeableObject(e) &&
|
|
614
|
-
n[i] =
|
|
615
|
-
}),
|
|
616
|
-
|
|
613
|
+
return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
|
|
614
|
+
n[i] = Q(e[i], r);
|
|
615
|
+
}), Ve(t).forEach(function(i) {
|
|
616
|
+
Hr(e, i) || (lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = _r(i, r)(e[i], t[i], r) : n[i] = Q(t[i], r));
|
|
617
617
|
}), n;
|
|
618
618
|
}
|
|
619
|
-
function
|
|
620
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
619
|
+
function D(e, t, r) {
|
|
620
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || vr, r.isMergeableObject = r.isMergeableObject || pr, r.cloneUnlessOtherwiseSpecified = Q;
|
|
621
621
|
var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
|
|
622
|
-
return s ? n ? r.arrayMerge(e, t, r) :
|
|
622
|
+
return s ? n ? r.arrayMerge(e, t, r) : Tr(e, t, r) : Q(t, r);
|
|
623
623
|
}
|
|
624
|
-
|
|
624
|
+
D.all = function(t, r) {
|
|
625
625
|
if (!Array.isArray(t))
|
|
626
626
|
throw new Error("first argument should be an array");
|
|
627
627
|
return t.reduce(function(n, i) {
|
|
628
|
-
return
|
|
628
|
+
return D(n, i, r);
|
|
629
629
|
}, {});
|
|
630
630
|
};
|
|
631
|
-
var
|
|
632
|
-
const
|
|
633
|
-
|
|
634
|
-
|
|
631
|
+
var Sr = D, Ar = Sr;
|
|
632
|
+
const Mr = /* @__PURE__ */ mr(Ar);
|
|
633
|
+
/*! *****************************************************************************
|
|
634
|
+
Copyright (c) Microsoft Corporation.
|
|
635
|
+
|
|
636
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
637
|
+
purpose with or without fee is hereby granted.
|
|
638
|
+
|
|
639
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
640
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
641
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
642
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
643
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
644
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
645
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
646
|
+
***************************************************************************** */
|
|
647
|
+
var Be = function(e, t) {
|
|
648
|
+
return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
635
649
|
r.__proto__ = n;
|
|
636
650
|
} || function(r, n) {
|
|
637
651
|
for (var i in n)
|
|
638
652
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
639
|
-
},
|
|
653
|
+
}, Be(e, t);
|
|
640
654
|
};
|
|
641
|
-
function
|
|
655
|
+
function ae(e, t) {
|
|
642
656
|
if (typeof t != "function" && t !== null)
|
|
643
657
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
644
|
-
|
|
658
|
+
Be(e, t);
|
|
645
659
|
function r() {
|
|
646
660
|
this.constructor = e;
|
|
647
661
|
}
|
|
648
662
|
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
649
663
|
}
|
|
650
|
-
var
|
|
651
|
-
return
|
|
664
|
+
var d = function() {
|
|
665
|
+
return d = Object.assign || function(t) {
|
|
652
666
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
653
667
|
r = arguments[n];
|
|
654
668
|
for (var s in r)
|
|
655
669
|
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
656
670
|
}
|
|
657
671
|
return t;
|
|
658
|
-
},
|
|
672
|
+
}, d.apply(this, arguments);
|
|
659
673
|
};
|
|
660
|
-
function
|
|
674
|
+
function Pr(e, t) {
|
|
661
675
|
var r = {};
|
|
662
676
|
for (var n in e)
|
|
663
677
|
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
@@ -666,43 +680,43 @@ function Nr(e, t) {
|
|
|
666
680
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
667
681
|
return r;
|
|
668
682
|
}
|
|
669
|
-
function
|
|
670
|
-
if (
|
|
683
|
+
function me(e, t, r) {
|
|
684
|
+
if (arguments.length === 2)
|
|
671
685
|
for (var n = 0, i = t.length, s; n < i; n++)
|
|
672
686
|
(s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
|
|
673
|
-
return e.concat(s ||
|
|
687
|
+
return e.concat(s || t);
|
|
674
688
|
}
|
|
675
|
-
function
|
|
676
|
-
var r = t && t.cache ? t.cache :
|
|
689
|
+
function pe(e, t) {
|
|
690
|
+
var r = t && t.cache ? t.cache : $r, n = t && t.serializer ? t.serializer : Lr, i = t && t.strategy ? t.strategy : wr;
|
|
677
691
|
return i(e, {
|
|
678
692
|
cache: r,
|
|
679
693
|
serializer: n
|
|
680
694
|
});
|
|
681
695
|
}
|
|
682
|
-
function
|
|
696
|
+
function Nr(e) {
|
|
683
697
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
684
698
|
}
|
|
685
|
-
function
|
|
686
|
-
var i =
|
|
699
|
+
function Or(e, t, r, n) {
|
|
700
|
+
var i = Nr(n) ? n : r(n), s = t.get(i);
|
|
687
701
|
return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
|
|
688
702
|
}
|
|
689
|
-
function
|
|
703
|
+
function ft(e, t, r) {
|
|
690
704
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
|
|
691
705
|
return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
|
|
692
706
|
}
|
|
693
|
-
function
|
|
707
|
+
function ct(e, t, r, n, i) {
|
|
694
708
|
return r.bind(t, e, n, i);
|
|
695
709
|
}
|
|
696
|
-
function
|
|
697
|
-
var r = e.length === 1 ?
|
|
698
|
-
return
|
|
710
|
+
function wr(e, t) {
|
|
711
|
+
var r = e.length === 1 ? Or : ft;
|
|
712
|
+
return ct(e, this, r, t.cache.create(), t.serializer);
|
|
699
713
|
}
|
|
700
|
-
function
|
|
701
|
-
return
|
|
714
|
+
function Ir(e, t) {
|
|
715
|
+
return ct(e, this, ft, t.cache.create(), t.serializer);
|
|
702
716
|
}
|
|
703
|
-
var
|
|
717
|
+
var Lr = function() {
|
|
704
718
|
return JSON.stringify(arguments);
|
|
705
|
-
},
|
|
719
|
+
}, Cr = (
|
|
706
720
|
/** @class */
|
|
707
721
|
function() {
|
|
708
722
|
function e() {
|
|
@@ -714,71 +728,61 @@ var $r = function() {
|
|
|
714
728
|
this.cache[t] = r;
|
|
715
729
|
}, e;
|
|
716
730
|
}()
|
|
717
|
-
),
|
|
731
|
+
), $r = {
|
|
718
732
|
create: function() {
|
|
719
|
-
return new
|
|
733
|
+
return new Cr();
|
|
720
734
|
}
|
|
721
|
-
},
|
|
722
|
-
variadic:
|
|
723
|
-
},
|
|
724
|
-
return se = Object.assign || function(t) {
|
|
725
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
726
|
-
r = arguments[n];
|
|
727
|
-
for (var s in r)
|
|
728
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
729
|
-
}
|
|
730
|
-
return t;
|
|
731
|
-
}, se.apply(this, arguments);
|
|
732
|
-
};
|
|
733
|
-
var p;
|
|
735
|
+
}, be = {
|
|
736
|
+
variadic: Ir
|
|
737
|
+
}, p;
|
|
734
738
|
(function(e) {
|
|
735
739
|
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";
|
|
736
740
|
})(p || (p = {}));
|
|
737
|
-
var
|
|
741
|
+
var x;
|
|
738
742
|
(function(e) {
|
|
739
743
|
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";
|
|
740
|
-
})(
|
|
741
|
-
var
|
|
744
|
+
})(x || (x = {}));
|
|
745
|
+
var G;
|
|
742
746
|
(function(e) {
|
|
743
747
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
744
|
-
})(
|
|
745
|
-
function
|
|
746
|
-
return e.type ===
|
|
748
|
+
})(G || (G = {}));
|
|
749
|
+
function Xe(e) {
|
|
750
|
+
return e.type === x.literal;
|
|
747
751
|
}
|
|
748
|
-
function
|
|
749
|
-
return e.type ===
|
|
752
|
+
function Rr(e) {
|
|
753
|
+
return e.type === x.argument;
|
|
754
|
+
}
|
|
755
|
+
function mt(e) {
|
|
756
|
+
return e.type === x.number;
|
|
757
|
+
}
|
|
758
|
+
function pt(e) {
|
|
759
|
+
return e.type === x.date;
|
|
750
760
|
}
|
|
751
761
|
function bt(e) {
|
|
752
|
-
return e.type ===
|
|
762
|
+
return e.type === x.time;
|
|
753
763
|
}
|
|
754
764
|
function dt(e) {
|
|
755
|
-
return e.type ===
|
|
765
|
+
return e.type === x.select;
|
|
756
766
|
}
|
|
757
767
|
function gt(e) {
|
|
758
|
-
return e.type ===
|
|
768
|
+
return e.type === x.plural;
|
|
759
769
|
}
|
|
760
|
-
function
|
|
761
|
-
return e.type ===
|
|
770
|
+
function Ur(e) {
|
|
771
|
+
return e.type === x.pound;
|
|
762
772
|
}
|
|
763
|
-
function
|
|
764
|
-
return e.type ===
|
|
765
|
-
}
|
|
766
|
-
function Gr(e) {
|
|
767
|
-
return e.type === y.pound;
|
|
773
|
+
function yt(e) {
|
|
774
|
+
return e.type === x.tag;
|
|
768
775
|
}
|
|
769
776
|
function xt(e) {
|
|
770
|
-
return e.type ===
|
|
771
|
-
}
|
|
772
|
-
function vt(e) {
|
|
773
|
-
return !!(e && typeof e == "object" && e.type === F.number);
|
|
777
|
+
return !!(e && typeof e == "object" && e.type === G.number);
|
|
774
778
|
}
|
|
775
|
-
function
|
|
776
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
779
|
+
function He(e) {
|
|
780
|
+
return !!(e && typeof e == "object" && e.type === G.dateTime);
|
|
777
781
|
}
|
|
778
|
-
var
|
|
779
|
-
function
|
|
782
|
+
var Et = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
|
|
783
|
+
function Gr(e) {
|
|
780
784
|
var t = {};
|
|
781
|
-
return e.replace(
|
|
785
|
+
return e.replace(Dr, function(r) {
|
|
782
786
|
var n = r.length;
|
|
783
787
|
switch (r[0]) {
|
|
784
788
|
case "G":
|
|
@@ -867,21 +871,11 @@ function jr(e) {
|
|
|
867
871
|
return "";
|
|
868
872
|
}), t;
|
|
869
873
|
}
|
|
870
|
-
var
|
|
871
|
-
|
|
872
|
-
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
873
|
-
r = arguments[n];
|
|
874
|
-
for (var s in r)
|
|
875
|
-
Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
|
|
876
|
-
}
|
|
877
|
-
return t;
|
|
878
|
-
}, x.apply(this, arguments);
|
|
879
|
-
};
|
|
880
|
-
var kr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
881
|
-
function Vr(e) {
|
|
874
|
+
var Fr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
875
|
+
function jr(e) {
|
|
882
876
|
if (e.length === 0)
|
|
883
877
|
throw new Error("Number skeleton cannot be empty");
|
|
884
|
-
for (var t = e.split(
|
|
878
|
+
for (var t = e.split(Fr).filter(function(c) {
|
|
885
879
|
return c.length > 0;
|
|
886
880
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
887
881
|
var s = i[n], a = s.split("/");
|
|
@@ -896,17 +890,17 @@ function Vr(e) {
|
|
|
896
890
|
}
|
|
897
891
|
return r;
|
|
898
892
|
}
|
|
899
|
-
function
|
|
893
|
+
function kr(e) {
|
|
900
894
|
return e.replace(/^(.*?)-/, "");
|
|
901
895
|
}
|
|
902
|
-
var
|
|
903
|
-
function
|
|
896
|
+
var We = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Vr = /(\*)(0+)|(#+)(0+)|(0+)/g, _t = /^(0+)$/;
|
|
897
|
+
function ze(e) {
|
|
904
898
|
var t = {};
|
|
905
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
899
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
|
|
906
900
|
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)), "";
|
|
907
901
|
}), t;
|
|
908
902
|
}
|
|
909
|
-
function
|
|
903
|
+
function Bt(e) {
|
|
910
904
|
switch (e) {
|
|
911
905
|
case "sign-auto":
|
|
912
906
|
return {
|
|
@@ -946,7 +940,7 @@ function St(e) {
|
|
|
946
940
|
};
|
|
947
941
|
}
|
|
948
942
|
}
|
|
949
|
-
function
|
|
943
|
+
function Xr(e) {
|
|
950
944
|
var t;
|
|
951
945
|
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
952
946
|
notation: "engineering"
|
|
@@ -954,17 +948,17 @@ function zr(e) {
|
|
|
954
948
|
notation: "scientific"
|
|
955
949
|
}, e = e.slice(1)), t) {
|
|
956
950
|
var r = e.slice(0, 2);
|
|
957
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
951
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_t.test(e))
|
|
958
952
|
throw new Error("Malformed concise eng/scientific notation");
|
|
959
953
|
t.minimumIntegerDigits = e.length;
|
|
960
954
|
}
|
|
961
955
|
return t;
|
|
962
956
|
}
|
|
963
|
-
function
|
|
964
|
-
var t = {}, r =
|
|
957
|
+
function Ze(e) {
|
|
958
|
+
var t = {}, r = Bt(e);
|
|
965
959
|
return r || t;
|
|
966
960
|
}
|
|
967
|
-
function
|
|
961
|
+
function Wr(e) {
|
|
968
962
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
969
963
|
var i = n[r];
|
|
970
964
|
switch (i.stem) {
|
|
@@ -988,7 +982,7 @@ function Zr(e) {
|
|
|
988
982
|
continue;
|
|
989
983
|
case "measure-unit":
|
|
990
984
|
case "unit":
|
|
991
|
-
t.style = "unit", t.unit =
|
|
985
|
+
t.style = "unit", t.unit = kr(i.options[0]);
|
|
992
986
|
continue;
|
|
993
987
|
case "compact-short":
|
|
994
988
|
case "K":
|
|
@@ -999,13 +993,13 @@ function Zr(e) {
|
|
|
999
993
|
t.notation = "compact", t.compactDisplay = "long";
|
|
1000
994
|
continue;
|
|
1001
995
|
case "scientific":
|
|
1002
|
-
t =
|
|
1003
|
-
return
|
|
996
|
+
t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, o) {
|
|
997
|
+
return d(d({}, h), Ze(o));
|
|
1004
998
|
}, {}));
|
|
1005
999
|
continue;
|
|
1006
1000
|
case "engineering":
|
|
1007
|
-
t =
|
|
1008
|
-
return
|
|
1001
|
+
t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, o) {
|
|
1002
|
+
return d(d({}, h), Ze(o));
|
|
1009
1003
|
}, {}));
|
|
1010
1004
|
continue;
|
|
1011
1005
|
case "notation-simple":
|
|
@@ -1050,45 +1044,45 @@ function Zr(e) {
|
|
|
1050
1044
|
case "integer-width":
|
|
1051
1045
|
if (i.options.length > 1)
|
|
1052
1046
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1053
|
-
i.options[0].replace(
|
|
1047
|
+
i.options[0].replace(Vr, function(h, o, l, f, c, y) {
|
|
1054
1048
|
if (o)
|
|
1055
1049
|
t.minimumIntegerDigits = l.length;
|
|
1056
1050
|
else {
|
|
1057
1051
|
if (f && c)
|
|
1058
1052
|
throw new Error("We currently do not support maximum integer digits");
|
|
1059
|
-
if (
|
|
1053
|
+
if (y)
|
|
1060
1054
|
throw new Error("We currently do not support exact integer digits");
|
|
1061
1055
|
}
|
|
1062
1056
|
return "";
|
|
1063
1057
|
});
|
|
1064
1058
|
continue;
|
|
1065
1059
|
}
|
|
1066
|
-
if (
|
|
1060
|
+
if (_t.test(i.stem)) {
|
|
1067
1061
|
t.minimumIntegerDigits = i.stem.length;
|
|
1068
1062
|
continue;
|
|
1069
1063
|
}
|
|
1070
|
-
if (
|
|
1064
|
+
if (We.test(i.stem)) {
|
|
1071
1065
|
if (i.options.length > 1)
|
|
1072
1066
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1073
|
-
i.stem.replace(
|
|
1074
|
-
return l === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1067
|
+
i.stem.replace(We, function(h, o, l, f, c, y) {
|
|
1068
|
+
return l === "*" ? t.minimumFractionDigits = o.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
|
|
1075
1069
|
});
|
|
1076
1070
|
var s = i.options[0];
|
|
1077
|
-
s === "w" ? t =
|
|
1071
|
+
s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ze(s)));
|
|
1078
1072
|
continue;
|
|
1079
1073
|
}
|
|
1080
|
-
if (
|
|
1081
|
-
t =
|
|
1074
|
+
if (vt.test(i.stem)) {
|
|
1075
|
+
t = d(d({}, t), ze(i.stem));
|
|
1082
1076
|
continue;
|
|
1083
1077
|
}
|
|
1084
|
-
var a =
|
|
1085
|
-
a && (t =
|
|
1086
|
-
var u =
|
|
1087
|
-
u && (t =
|
|
1078
|
+
var a = Bt(i.stem);
|
|
1079
|
+
a && (t = d(d({}, t), a));
|
|
1080
|
+
var u = Xr(i.stem);
|
|
1081
|
+
u && (t = d(d({}, t), u));
|
|
1088
1082
|
}
|
|
1089
1083
|
return t;
|
|
1090
1084
|
}
|
|
1091
|
-
var
|
|
1085
|
+
var ee = {
|
|
1092
1086
|
"001": [
|
|
1093
1087
|
"H",
|
|
1094
1088
|
"h"
|
|
@@ -2503,13 +2497,13 @@ var te = {
|
|
|
2503
2497
|
"h"
|
|
2504
2498
|
]
|
|
2505
2499
|
};
|
|
2506
|
-
function
|
|
2500
|
+
function zr(e, t) {
|
|
2507
2501
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
2508
2502
|
var i = e.charAt(n);
|
|
2509
2503
|
if (i === "j") {
|
|
2510
2504
|
for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
2511
2505
|
s++, n++;
|
|
2512
|
-
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o =
|
|
2506
|
+
var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), h = "a", o = Zr(t);
|
|
2513
2507
|
for ((o == "H" || o == "k") && (u = 0); u-- > 0; )
|
|
2514
2508
|
r += h;
|
|
2515
2509
|
for (; a-- > 0; )
|
|
@@ -2519,7 +2513,7 @@ function Qr(e, t) {
|
|
|
2519
2513
|
}
|
|
2520
2514
|
return r;
|
|
2521
2515
|
}
|
|
2522
|
-
function
|
|
2516
|
+
function Zr(e) {
|
|
2523
2517
|
var t = e.hourCycle;
|
|
2524
2518
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
2525
2519
|
e.hourCycles && // @ts-ignore
|
|
@@ -2538,23 +2532,23 @@ function Jr(e) {
|
|
|
2538
2532
|
}
|
|
2539
2533
|
var r = e.language, n;
|
|
2540
2534
|
r !== "root" && (n = e.maximize().region);
|
|
2541
|
-
var i =
|
|
2535
|
+
var i = ee[n || ""] || ee[r || ""] || ee["".concat(r, "-001")] || ee["001"];
|
|
2542
2536
|
return i[0];
|
|
2543
2537
|
}
|
|
2544
|
-
var
|
|
2538
|
+
var de, Qr = new RegExp("^".concat(Et.source, "*")), Jr = new RegExp("".concat(Et.source, "*$"));
|
|
2545
2539
|
function b(e, t) {
|
|
2546
2540
|
return { start: e, end: t };
|
|
2547
2541
|
}
|
|
2548
|
-
var
|
|
2542
|
+
var qr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yr = !!String.fromCodePoint, Kr = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
|
|
2549
2543
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
2550
|
-
},
|
|
2544
|
+
}, Te = !0;
|
|
2551
2545
|
try {
|
|
2552
|
-
var
|
|
2553
|
-
|
|
2546
|
+
var on = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2547
|
+
Te = ((de = on.exec("a")) === null || de === void 0 ? void 0 : de[0]) === "a";
|
|
2554
2548
|
} catch (e) {
|
|
2555
|
-
|
|
2549
|
+
Te = !1;
|
|
2556
2550
|
}
|
|
2557
|
-
var
|
|
2551
|
+
var Qe = qr ? (
|
|
2558
2552
|
// Native
|
|
2559
2553
|
function(t, r, n) {
|
|
2560
2554
|
return t.startsWith(r, n);
|
|
@@ -2564,7 +2558,7 @@ var qe = Kr ? (
|
|
|
2564
2558
|
function(t, r, n) {
|
|
2565
2559
|
return t.slice(n, n + r.length) === r;
|
|
2566
2560
|
}
|
|
2567
|
-
),
|
|
2561
|
+
), Se = Yr ? String.fromCodePoint : (
|
|
2568
2562
|
// IE11
|
|
2569
2563
|
function() {
|
|
2570
2564
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -2576,9 +2570,9 @@ var qe = Kr ? (
|
|
|
2576
2570
|
}
|
|
2577
2571
|
return n;
|
|
2578
2572
|
}
|
|
2579
|
-
),
|
|
2573
|
+
), Je = (
|
|
2580
2574
|
// native
|
|
2581
|
-
|
|
2575
|
+
Kr ? Object.fromEntries : (
|
|
2582
2576
|
// Ponyfill
|
|
2583
2577
|
function(t) {
|
|
2584
2578
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -2588,7 +2582,7 @@ var qe = Kr ? (
|
|
|
2588
2582
|
return r;
|
|
2589
2583
|
}
|
|
2590
2584
|
)
|
|
2591
|
-
),
|
|
2585
|
+
), Ht = en ? (
|
|
2592
2586
|
// Native
|
|
2593
2587
|
function(t, r) {
|
|
2594
2588
|
return t.codePointAt(r);
|
|
@@ -2602,7 +2596,7 @@ var qe = Kr ? (
|
|
|
2602
2596
|
return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
|
|
2603
2597
|
}
|
|
2604
2598
|
}
|
|
2605
|
-
),
|
|
2599
|
+
), an = tn ? (
|
|
2606
2600
|
// Native
|
|
2607
2601
|
function(t) {
|
|
2608
2602
|
return t.trimStart();
|
|
@@ -2610,9 +2604,9 @@ var qe = Kr ? (
|
|
|
2610
2604
|
) : (
|
|
2611
2605
|
// Ponyfill
|
|
2612
2606
|
function(t) {
|
|
2613
|
-
return t.replace(
|
|
2607
|
+
return t.replace(Qr, "");
|
|
2614
2608
|
}
|
|
2615
|
-
),
|
|
2609
|
+
), un = rn ? (
|
|
2616
2610
|
// Native
|
|
2617
2611
|
function(t) {
|
|
2618
2612
|
return t.trimEnd();
|
|
@@ -2620,32 +2614,32 @@ var qe = Kr ? (
|
|
|
2620
2614
|
) : (
|
|
2621
2615
|
// Ponyfill
|
|
2622
2616
|
function(t) {
|
|
2623
|
-
return t.replace(
|
|
2617
|
+
return t.replace(Jr, "");
|
|
2624
2618
|
}
|
|
2625
2619
|
);
|
|
2626
|
-
function
|
|
2620
|
+
function Tt(e, t) {
|
|
2627
2621
|
return new RegExp(e, t);
|
|
2628
2622
|
}
|
|
2629
|
-
var
|
|
2630
|
-
if (
|
|
2631
|
-
var
|
|
2632
|
-
|
|
2623
|
+
var Ae;
|
|
2624
|
+
if (Te) {
|
|
2625
|
+
var qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
2626
|
+
Ae = function(t, r) {
|
|
2633
2627
|
var n;
|
|
2634
|
-
|
|
2635
|
-
var i =
|
|
2628
|
+
qe.lastIndex = r;
|
|
2629
|
+
var i = qe.exec(t);
|
|
2636
2630
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
2637
2631
|
};
|
|
2638
2632
|
} else
|
|
2639
|
-
|
|
2633
|
+
Ae = function(t, r) {
|
|
2640
2634
|
for (var n = []; ; ) {
|
|
2641
|
-
var i =
|
|
2642
|
-
if (i === void 0 ||
|
|
2635
|
+
var i = Ht(t, r);
|
|
2636
|
+
if (i === void 0 || St(i) || cn(i))
|
|
2643
2637
|
break;
|
|
2644
2638
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
2645
2639
|
}
|
|
2646
|
-
return
|
|
2640
|
+
return Se.apply(void 0, n);
|
|
2647
2641
|
};
|
|
2648
|
-
var
|
|
2642
|
+
var hn = (
|
|
2649
2643
|
/** @class */
|
|
2650
2644
|
function() {
|
|
2651
2645
|
function e(t, r) {
|
|
@@ -2669,14 +2663,14 @@ var fn = (
|
|
|
2669
2663
|
if (s === 35 && (r === "plural" || r === "selectordinal")) {
|
|
2670
2664
|
var u = this.clonePosition();
|
|
2671
2665
|
this.bump(), i.push({
|
|
2672
|
-
type:
|
|
2666
|
+
type: x.pound,
|
|
2673
2667
|
location: b(u, this.clonePosition())
|
|
2674
2668
|
});
|
|
2675
2669
|
} else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
|
|
2676
2670
|
if (n)
|
|
2677
2671
|
break;
|
|
2678
2672
|
return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
|
|
2679
|
-
} else if (s === 60 && !this.ignoreTag &&
|
|
2673
|
+
} else if (s === 60 && !this.ignoreTag && Me(this.peek() || 0)) {
|
|
2680
2674
|
var a = this.parseTag(t, r);
|
|
2681
2675
|
if (a.err)
|
|
2682
2676
|
return a;
|
|
@@ -2697,7 +2691,7 @@ var fn = (
|
|
|
2697
2691
|
if (this.bumpSpace(), this.bumpIf("/>"))
|
|
2698
2692
|
return {
|
|
2699
2693
|
val: {
|
|
2700
|
-
type:
|
|
2694
|
+
type: x.literal,
|
|
2701
2695
|
value: "<".concat(i, "/>"),
|
|
2702
2696
|
location: b(n, this.clonePosition())
|
|
2703
2697
|
},
|
|
@@ -2709,12 +2703,12 @@ var fn = (
|
|
|
2709
2703
|
return s;
|
|
2710
2704
|
var a = s.val, u = this.clonePosition();
|
|
2711
2705
|
if (this.bumpIf("</")) {
|
|
2712
|
-
if (this.isEOF() || !
|
|
2706
|
+
if (this.isEOF() || !Me(this.char()))
|
|
2713
2707
|
return this.error(p.INVALID_TAG, b(u, this.clonePosition()));
|
|
2714
2708
|
var h = this.clonePosition(), o = this.parseTagName();
|
|
2715
2709
|
return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, b(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
2716
2710
|
val: {
|
|
2717
|
-
type:
|
|
2711
|
+
type: x.tag,
|
|
2718
2712
|
value: i,
|
|
2719
2713
|
children: a,
|
|
2720
2714
|
location: b(n, this.clonePosition())
|
|
@@ -2727,7 +2721,7 @@ var fn = (
|
|
|
2727
2721
|
return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
|
|
2728
2722
|
}, e.prototype.parseTagName = function() {
|
|
2729
2723
|
var t = this.offset();
|
|
2730
|
-
for (this.bump(); !this.isEOF() &&
|
|
2724
|
+
for (this.bump(); !this.isEOF() && fn(this.char()); )
|
|
2731
2725
|
this.bump();
|
|
2732
2726
|
return this.message.slice(t, this.offset());
|
|
2733
2727
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -2751,12 +2745,12 @@ var fn = (
|
|
|
2751
2745
|
}
|
|
2752
2746
|
var h = b(n, this.clonePosition());
|
|
2753
2747
|
return {
|
|
2754
|
-
val: { type:
|
|
2748
|
+
val: { type: x.literal, value: i, location: h },
|
|
2755
2749
|
err: null
|
|
2756
2750
|
};
|
|
2757
2751
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
2758
2752
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
2759
|
-
!
|
|
2753
|
+
!ln(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
2760
2754
|
}, e.prototype.tryParseQuote = function(t) {
|
|
2761
2755
|
if (this.isEOF() || this.char() !== 39)
|
|
2762
2756
|
return null;
|
|
@@ -2790,12 +2784,12 @@ var fn = (
|
|
|
2790
2784
|
r.push(n);
|
|
2791
2785
|
this.bump();
|
|
2792
2786
|
}
|
|
2793
|
-
return
|
|
2787
|
+
return Se.apply(void 0, r);
|
|
2794
2788
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
2795
2789
|
if (this.isEOF())
|
|
2796
2790
|
return null;
|
|
2797
2791
|
var n = this.char();
|
|
2798
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
2792
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Se(n));
|
|
2799
2793
|
}, e.prototype.parseArgument = function(t, r) {
|
|
2800
2794
|
var n = this.clonePosition();
|
|
2801
2795
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -2811,7 +2805,7 @@ var fn = (
|
|
|
2811
2805
|
case 125:
|
|
2812
2806
|
return this.bump(), {
|
|
2813
2807
|
val: {
|
|
2814
|
-
type:
|
|
2808
|
+
type: x.argument,
|
|
2815
2809
|
// value does not include the opening and closing braces.
|
|
2816
2810
|
value: i,
|
|
2817
2811
|
location: b(n, this.clonePosition())
|
|
@@ -2824,7 +2818,7 @@ var fn = (
|
|
|
2824
2818
|
return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
|
|
2825
2819
|
}
|
|
2826
2820
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
2827
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
2821
|
+
var t = this.clonePosition(), r = this.offset(), n = Ae(this.message, r), i = r + n.length;
|
|
2828
2822
|
this.bumpTo(i);
|
|
2829
2823
|
var s = this.clonePosition(), a = b(t, s);
|
|
2830
2824
|
return { value: n, location: a };
|
|
@@ -2843,35 +2837,35 @@ var fn = (
|
|
|
2843
2837
|
var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
2844
2838
|
if (f.err)
|
|
2845
2839
|
return f;
|
|
2846
|
-
var c =
|
|
2840
|
+
var c = un(f.val);
|
|
2847
2841
|
if (c.length === 0)
|
|
2848
2842
|
return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
|
|
2849
|
-
var
|
|
2850
|
-
o = { style: c, styleLocation:
|
|
2843
|
+
var y = b(l, this.clonePosition());
|
|
2844
|
+
o = { style: c, styleLocation: y };
|
|
2851
2845
|
}
|
|
2852
|
-
var
|
|
2853
|
-
if (
|
|
2854
|
-
return
|
|
2846
|
+
var g = this.tryParseArgumentClose(i);
|
|
2847
|
+
if (g.err)
|
|
2848
|
+
return g;
|
|
2855
2849
|
var E = b(i, this.clonePosition());
|
|
2856
|
-
if (o &&
|
|
2857
|
-
var H =
|
|
2850
|
+
if (o && Qe(o == null ? void 0 : o.style, "::", 0)) {
|
|
2851
|
+
var H = an(o.style.slice(2));
|
|
2858
2852
|
if (u === "number") {
|
|
2859
2853
|
var f = this.parseNumberSkeletonFromString(H, o.styleLocation);
|
|
2860
2854
|
return f.err ? f : {
|
|
2861
|
-
val: { type:
|
|
2855
|
+
val: { type: x.number, value: n, location: E, style: f.val },
|
|
2862
2856
|
err: null
|
|
2863
2857
|
};
|
|
2864
2858
|
} else {
|
|
2865
2859
|
if (H.length === 0)
|
|
2866
2860
|
return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
|
|
2867
2861
|
var N = H;
|
|
2868
|
-
this.locale && (N =
|
|
2862
|
+
this.locale && (N = zr(H, this.locale));
|
|
2869
2863
|
var c = {
|
|
2870
|
-
type:
|
|
2864
|
+
type: G.dateTime,
|
|
2871
2865
|
pattern: N,
|
|
2872
2866
|
location: o.styleLocation,
|
|
2873
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2874
|
-
}, m = u === "date" ?
|
|
2867
|
+
parsedOptions: this.shouldParseSkeletons ? Gr(N) : {}
|
|
2868
|
+
}, m = u === "date" ? x.date : x.time;
|
|
2875
2869
|
return {
|
|
2876
2870
|
val: { type: m, value: n, location: E, style: c },
|
|
2877
2871
|
err: null
|
|
@@ -2880,7 +2874,7 @@ var fn = (
|
|
|
2880
2874
|
}
|
|
2881
2875
|
return {
|
|
2882
2876
|
val: {
|
|
2883
|
-
type: u === "number" ?
|
|
2877
|
+
type: u === "number" ? x.number : u === "date" ? x.date : x.time,
|
|
2884
2878
|
value: n,
|
|
2885
2879
|
location: E,
|
|
2886
2880
|
style: (s = o == null ? void 0 : o.style) !== null && s !== void 0 ? s : null
|
|
@@ -2893,41 +2887,41 @@ var fn = (
|
|
|
2893
2887
|
case "select": {
|
|
2894
2888
|
var v = this.clonePosition();
|
|
2895
2889
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
2896
|
-
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v,
|
|
2890
|
+
return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, d({}, v)));
|
|
2897
2891
|
this.bumpSpace();
|
|
2898
|
-
var
|
|
2899
|
-
if (u !== "select" &&
|
|
2892
|
+
var S = this.parseIdentifierIfPossible(), O = 0;
|
|
2893
|
+
if (u !== "select" && S.value === "offset") {
|
|
2900
2894
|
if (!this.bumpIf(":"))
|
|
2901
2895
|
return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
|
|
2902
2896
|
this.bumpSpace();
|
|
2903
2897
|
var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
2904
2898
|
if (f.err)
|
|
2905
2899
|
return f;
|
|
2906
|
-
this.bumpSpace(),
|
|
2900
|
+
this.bumpSpace(), S = this.parseIdentifierIfPossible(), O = f.val;
|
|
2907
2901
|
}
|
|
2908
|
-
var
|
|
2909
|
-
if (
|
|
2910
|
-
return
|
|
2911
|
-
var
|
|
2912
|
-
if (
|
|
2913
|
-
return
|
|
2914
|
-
var
|
|
2902
|
+
var K = this.tryParsePluralOrSelectOptions(t, u, r, S);
|
|
2903
|
+
if (K.err)
|
|
2904
|
+
return K;
|
|
2905
|
+
var g = this.tryParseArgumentClose(i);
|
|
2906
|
+
if (g.err)
|
|
2907
|
+
return g;
|
|
2908
|
+
var $e = b(i, this.clonePosition());
|
|
2915
2909
|
return u === "select" ? {
|
|
2916
2910
|
val: {
|
|
2917
|
-
type:
|
|
2911
|
+
type: x.select,
|
|
2918
2912
|
value: n,
|
|
2919
|
-
options:
|
|
2920
|
-
location:
|
|
2913
|
+
options: Je(K.val),
|
|
2914
|
+
location: $e
|
|
2921
2915
|
},
|
|
2922
2916
|
err: null
|
|
2923
2917
|
} : {
|
|
2924
2918
|
val: {
|
|
2925
|
-
type:
|
|
2919
|
+
type: x.plural,
|
|
2926
2920
|
value: n,
|
|
2927
|
-
options:
|
|
2928
|
-
offset:
|
|
2921
|
+
options: Je(K.val),
|
|
2922
|
+
offset: O,
|
|
2929
2923
|
pluralType: u === "plural" ? "cardinal" : "ordinal",
|
|
2930
|
-
location:
|
|
2924
|
+
location: $e
|
|
2931
2925
|
},
|
|
2932
2926
|
err: null
|
|
2933
2927
|
};
|
|
@@ -2975,16 +2969,16 @@ var fn = (
|
|
|
2975
2969
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
2976
2970
|
var n = [];
|
|
2977
2971
|
try {
|
|
2978
|
-
n =
|
|
2972
|
+
n = jr(t);
|
|
2979
2973
|
} catch (i) {
|
|
2980
2974
|
return this.error(p.INVALID_NUMBER_SKELETON, r);
|
|
2981
2975
|
}
|
|
2982
2976
|
return {
|
|
2983
2977
|
val: {
|
|
2984
|
-
type:
|
|
2978
|
+
type: G.number,
|
|
2985
2979
|
tokens: n,
|
|
2986
2980
|
location: r,
|
|
2987
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
2981
|
+
parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
|
|
2988
2982
|
},
|
|
2989
2983
|
err: null
|
|
2990
2984
|
};
|
|
@@ -3003,20 +2997,20 @@ var fn = (
|
|
|
3003
2997
|
if (h.has(o))
|
|
3004
2998
|
return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
|
|
3005
2999
|
o === "other" && (a = !0), this.bumpSpace();
|
|
3006
|
-
var
|
|
3000
|
+
var y = this.clonePosition();
|
|
3007
3001
|
if (!this.bumpIf("{"))
|
|
3008
3002
|
return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
|
|
3009
|
-
var
|
|
3010
|
-
if (
|
|
3011
|
-
return
|
|
3012
|
-
var E = this.tryParseArgumentClose(
|
|
3003
|
+
var g = this.parseMessage(t + 1, r, n);
|
|
3004
|
+
if (g.err)
|
|
3005
|
+
return g;
|
|
3006
|
+
var E = this.tryParseArgumentClose(y);
|
|
3013
3007
|
if (E.err)
|
|
3014
3008
|
return E;
|
|
3015
3009
|
u.push([
|
|
3016
3010
|
o,
|
|
3017
3011
|
{
|
|
3018
|
-
value:
|
|
3019
|
-
location: b(
|
|
3012
|
+
value: g.val,
|
|
3013
|
+
location: b(y, this.clonePosition())
|
|
3020
3014
|
}
|
|
3021
3015
|
]), h.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, l = s.location;
|
|
3022
3016
|
}
|
|
@@ -3032,7 +3026,7 @@ var fn = (
|
|
|
3032
3026
|
break;
|
|
3033
3027
|
}
|
|
3034
3028
|
var h = b(i, this.clonePosition());
|
|
3035
|
-
return s ? (a *= n,
|
|
3029
|
+
return s ? (a *= n, sn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
|
|
3036
3030
|
}, e.prototype.offset = function() {
|
|
3037
3031
|
return this.position.offset;
|
|
3038
3032
|
}, e.prototype.isEOF = function() {
|
|
@@ -3047,7 +3041,7 @@ var fn = (
|
|
|
3047
3041
|
var t = this.position.offset;
|
|
3048
3042
|
if (t >= this.message.length)
|
|
3049
3043
|
throw Error("out of bound");
|
|
3050
|
-
var r =
|
|
3044
|
+
var r = Ht(this.message, t);
|
|
3051
3045
|
if (r === void 0)
|
|
3052
3046
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3053
3047
|
return r;
|
|
@@ -3066,7 +3060,7 @@ var fn = (
|
|
|
3066
3060
|
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);
|
|
3067
3061
|
}
|
|
3068
3062
|
}, e.prototype.bumpIf = function(t) {
|
|
3069
|
-
if (
|
|
3063
|
+
if (Qe(this.message, t, this.offset())) {
|
|
3070
3064
|
for (var r = 0; r < t.length; r++)
|
|
3071
3065
|
this.bump();
|
|
3072
3066
|
return !0;
|
|
@@ -3088,7 +3082,7 @@ var fn = (
|
|
|
3088
3082
|
break;
|
|
3089
3083
|
}
|
|
3090
3084
|
}, e.prototype.bumpSpace = function() {
|
|
3091
|
-
for (; !this.isEOF() &&
|
|
3085
|
+
for (; !this.isEOF() && St(this.char()); )
|
|
3092
3086
|
this.bump();
|
|
3093
3087
|
}, e.prototype.peek = function() {
|
|
3094
3088
|
if (this.isEOF())
|
|
@@ -3098,47 +3092,47 @@ var fn = (
|
|
|
3098
3092
|
}, e;
|
|
3099
3093
|
}()
|
|
3100
3094
|
);
|
|
3101
|
-
function
|
|
3095
|
+
function Me(e) {
|
|
3102
3096
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3103
3097
|
}
|
|
3104
|
-
function
|
|
3105
|
-
return
|
|
3098
|
+
function ln(e) {
|
|
3099
|
+
return Me(e) || e === 47;
|
|
3106
3100
|
}
|
|
3107
|
-
function
|
|
3101
|
+
function fn(e) {
|
|
3108
3102
|
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;
|
|
3109
3103
|
}
|
|
3110
|
-
function
|
|
3104
|
+
function St(e) {
|
|
3111
3105
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3112
3106
|
}
|
|
3113
|
-
function
|
|
3107
|
+
function cn(e) {
|
|
3114
3108
|
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;
|
|
3115
3109
|
}
|
|
3116
|
-
function
|
|
3110
|
+
function Pe(e) {
|
|
3117
3111
|
e.forEach(function(t) {
|
|
3118
|
-
if (delete t.location,
|
|
3112
|
+
if (delete t.location, dt(t) || gt(t))
|
|
3119
3113
|
for (var r in t.options)
|
|
3120
|
-
delete t.options[r].location,
|
|
3114
|
+
delete t.options[r].location, Pe(t.options[r].value);
|
|
3121
3115
|
else
|
|
3122
|
-
|
|
3116
|
+
mt(t) && xt(t.style) || (pt(t) || bt(t)) && He(t.style) ? delete t.style.location : yt(t) && Pe(t.children);
|
|
3123
3117
|
});
|
|
3124
3118
|
}
|
|
3125
|
-
function
|
|
3126
|
-
t === void 0 && (t = {}), t =
|
|
3127
|
-
var r = new
|
|
3119
|
+
function mn(e, t) {
|
|
3120
|
+
t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3121
|
+
var r = new hn(e, t).parse();
|
|
3128
3122
|
if (r.err) {
|
|
3129
3123
|
var n = SyntaxError(p[r.err.kind]);
|
|
3130
3124
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3131
3125
|
}
|
|
3132
|
-
return t != null && t.captureLocation ||
|
|
3126
|
+
return t != null && t.captureLocation || Pe(r.val), r.val;
|
|
3133
3127
|
}
|
|
3134
|
-
var
|
|
3128
|
+
var F;
|
|
3135
3129
|
(function(e) {
|
|
3136
3130
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3137
|
-
})(
|
|
3138
|
-
var
|
|
3131
|
+
})(F || (F = {}));
|
|
3132
|
+
var ue = (
|
|
3139
3133
|
/** @class */
|
|
3140
3134
|
function(e) {
|
|
3141
|
-
|
|
3135
|
+
ae(t, e);
|
|
3142
3136
|
function t(r, n, i) {
|
|
3143
3137
|
var s = e.call(this, r) || this;
|
|
3144
3138
|
return s.code = n, s.originalMessage = i, s;
|
|
@@ -3147,48 +3141,48 @@ var le = (
|
|
|
3147
3141
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3148
3142
|
}, t;
|
|
3149
3143
|
}(Error)
|
|
3150
|
-
),
|
|
3144
|
+
), Ye = (
|
|
3151
3145
|
/** @class */
|
|
3152
3146
|
function(e) {
|
|
3153
|
-
|
|
3147
|
+
ae(t, e);
|
|
3154
3148
|
function t(r, n, i, s) {
|
|
3155
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3149
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), F.INVALID_VALUE, s) || this;
|
|
3156
3150
|
}
|
|
3157
3151
|
return t;
|
|
3158
|
-
}(
|
|
3159
|
-
),
|
|
3152
|
+
}(ue)
|
|
3153
|
+
), pn = (
|
|
3160
3154
|
/** @class */
|
|
3161
3155
|
function(e) {
|
|
3162
|
-
|
|
3156
|
+
ae(t, e);
|
|
3163
3157
|
function t(r, n, i) {
|
|
3164
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3158
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), F.INVALID_VALUE, i) || this;
|
|
3165
3159
|
}
|
|
3166
3160
|
return t;
|
|
3167
|
-
}(
|
|
3168
|
-
),
|
|
3161
|
+
}(ue)
|
|
3162
|
+
), bn = (
|
|
3169
3163
|
/** @class */
|
|
3170
3164
|
function(e) {
|
|
3171
|
-
|
|
3165
|
+
ae(t, e);
|
|
3172
3166
|
function t(r, n) {
|
|
3173
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3167
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), F.MISSING_VALUE, n) || this;
|
|
3174
3168
|
}
|
|
3175
3169
|
return t;
|
|
3176
|
-
}(
|
|
3170
|
+
}(ue)
|
|
3177
3171
|
), _;
|
|
3178
3172
|
(function(e) {
|
|
3179
3173
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3180
3174
|
})(_ || (_ = {}));
|
|
3181
|
-
function
|
|
3175
|
+
function dn(e) {
|
|
3182
3176
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3183
3177
|
var n = t[t.length - 1];
|
|
3184
3178
|
return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
|
|
3185
3179
|
}, []);
|
|
3186
3180
|
}
|
|
3187
|
-
function
|
|
3181
|
+
function gn(e) {
|
|
3188
3182
|
return typeof e == "function";
|
|
3189
3183
|
}
|
|
3190
|
-
function
|
|
3191
|
-
if (e.length === 1 &&
|
|
3184
|
+
function re(e, t, r, n, i, s, a) {
|
|
3185
|
+
if (e.length === 1 && Xe(e[0]))
|
|
3192
3186
|
return [
|
|
3193
3187
|
{
|
|
3194
3188
|
type: _.literal,
|
|
@@ -3197,14 +3191,14 @@ function ne(e, t, r, n, i, s, a) {
|
|
|
3197
3191
|
];
|
|
3198
3192
|
for (var u = [], h = 0, o = e; h < o.length; h++) {
|
|
3199
3193
|
var l = o[h];
|
|
3200
|
-
if (
|
|
3194
|
+
if (Xe(l)) {
|
|
3201
3195
|
u.push({
|
|
3202
3196
|
type: _.literal,
|
|
3203
3197
|
value: l.value
|
|
3204
3198
|
});
|
|
3205
3199
|
continue;
|
|
3206
3200
|
}
|
|
3207
|
-
if (
|
|
3201
|
+
if (Ur(l)) {
|
|
3208
3202
|
typeof s == "number" && u.push({
|
|
3209
3203
|
type: _.literal,
|
|
3210
3204
|
value: r.getNumberFormat(t).format(s)
|
|
@@ -3213,89 +3207,89 @@ function ne(e, t, r, n, i, s, a) {
|
|
|
3213
3207
|
}
|
|
3214
3208
|
var f = l.value;
|
|
3215
3209
|
if (!(i && f in i))
|
|
3216
|
-
throw new
|
|
3210
|
+
throw new bn(f, a);
|
|
3217
3211
|
var c = i[f];
|
|
3218
|
-
if (
|
|
3212
|
+
if (Rr(l)) {
|
|
3219
3213
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
|
|
3220
3214
|
type: typeof c == "string" ? _.literal : _.object,
|
|
3221
3215
|
value: c
|
|
3222
3216
|
});
|
|
3223
3217
|
continue;
|
|
3224
3218
|
}
|
|
3225
|
-
if (
|
|
3226
|
-
var
|
|
3219
|
+
if (pt(l)) {
|
|
3220
|
+
var y = typeof l.style == "string" ? n.date[l.style] : He(l.style) ? l.style.parsedOptions : void 0;
|
|
3227
3221
|
u.push({
|
|
3228
3222
|
type: _.literal,
|
|
3229
|
-
value: r.getDateTimeFormat(t,
|
|
3223
|
+
value: r.getDateTimeFormat(t, y).format(c)
|
|
3230
3224
|
});
|
|
3231
3225
|
continue;
|
|
3232
3226
|
}
|
|
3233
|
-
if (
|
|
3234
|
-
var
|
|
3227
|
+
if (bt(l)) {
|
|
3228
|
+
var y = typeof l.style == "string" ? n.time[l.style] : He(l.style) ? l.style.parsedOptions : n.time.medium;
|
|
3235
3229
|
u.push({
|
|
3236
3230
|
type: _.literal,
|
|
3237
|
-
value: r.getDateTimeFormat(t,
|
|
3231
|
+
value: r.getDateTimeFormat(t, y).format(c)
|
|
3238
3232
|
});
|
|
3239
3233
|
continue;
|
|
3240
3234
|
}
|
|
3241
|
-
if (
|
|
3242
|
-
var
|
|
3243
|
-
|
|
3235
|
+
if (mt(l)) {
|
|
3236
|
+
var y = typeof l.style == "string" ? n.number[l.style] : xt(l.style) ? l.style.parsedOptions : void 0;
|
|
3237
|
+
y && y.scale && (c = c * (y.scale || 1)), u.push({
|
|
3244
3238
|
type: _.literal,
|
|
3245
|
-
value: r.getNumberFormat(t,
|
|
3239
|
+
value: r.getNumberFormat(t, y).format(c)
|
|
3246
3240
|
});
|
|
3247
3241
|
continue;
|
|
3248
3242
|
}
|
|
3249
|
-
if (
|
|
3250
|
-
var
|
|
3251
|
-
if (!
|
|
3252
|
-
throw new
|
|
3253
|
-
var N =
|
|
3254
|
-
return
|
|
3243
|
+
if (yt(l)) {
|
|
3244
|
+
var g = l.children, E = l.value, H = i[E];
|
|
3245
|
+
if (!gn(H))
|
|
3246
|
+
throw new pn(E, "function", a);
|
|
3247
|
+
var N = re(g, t, r, n, i, s), m = H(N.map(function(O) {
|
|
3248
|
+
return O.value;
|
|
3255
3249
|
}));
|
|
3256
|
-
Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(
|
|
3250
|
+
Array.isArray(m) || (m = [m]), u.push.apply(u, m.map(function(O) {
|
|
3257
3251
|
return {
|
|
3258
|
-
type: typeof
|
|
3259
|
-
value:
|
|
3252
|
+
type: typeof O == "string" ? _.literal : _.object,
|
|
3253
|
+
value: O
|
|
3260
3254
|
};
|
|
3261
3255
|
}));
|
|
3262
3256
|
}
|
|
3263
|
-
if (
|
|
3257
|
+
if (dt(l)) {
|
|
3264
3258
|
var v = l.options[c] || l.options.other;
|
|
3265
3259
|
if (!v)
|
|
3266
|
-
throw new
|
|
3267
|
-
u.push.apply(u,
|
|
3260
|
+
throw new Ye(l.value, c, Object.keys(l.options), a);
|
|
3261
|
+
u.push.apply(u, re(v.value, t, r, n, i));
|
|
3268
3262
|
continue;
|
|
3269
3263
|
}
|
|
3270
|
-
if (
|
|
3264
|
+
if (gt(l)) {
|
|
3271
3265
|
var v = l.options["=".concat(c)];
|
|
3272
3266
|
if (!v) {
|
|
3273
3267
|
if (!Intl.PluralRules)
|
|
3274
|
-
throw new
|
|
3268
|
+
throw new ue(`Intl.PluralRules is not available in this environment.
|
|
3275
3269
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3276
|
-
`,
|
|
3277
|
-
var
|
|
3278
|
-
v = l.options[
|
|
3270
|
+
`, F.MISSING_INTL_API, a);
|
|
3271
|
+
var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
|
|
3272
|
+
v = l.options[S] || l.options.other;
|
|
3279
3273
|
}
|
|
3280
3274
|
if (!v)
|
|
3281
|
-
throw new
|
|
3282
|
-
u.push.apply(u,
|
|
3275
|
+
throw new Ye(l.value, c, Object.keys(l.options), a);
|
|
3276
|
+
u.push.apply(u, re(v.value, t, r, n, i, c - (l.offset || 0)));
|
|
3283
3277
|
continue;
|
|
3284
3278
|
}
|
|
3285
3279
|
}
|
|
3286
|
-
return
|
|
3280
|
+
return dn(u);
|
|
3287
3281
|
}
|
|
3288
|
-
function
|
|
3289
|
-
return t ?
|
|
3290
|
-
return r[n] =
|
|
3282
|
+
function yn(e, t) {
|
|
3283
|
+
return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3284
|
+
return r[n] = d(d({}, e[n]), t[n] || {}), r;
|
|
3291
3285
|
}, {})) : e;
|
|
3292
3286
|
}
|
|
3293
|
-
function
|
|
3287
|
+
function xn(e, t) {
|
|
3294
3288
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3295
|
-
return r[n] =
|
|
3296
|
-
},
|
|
3289
|
+
return r[n] = yn(e[n], t[n]), r;
|
|
3290
|
+
}, d({}, e)) : e;
|
|
3297
3291
|
}
|
|
3298
|
-
function
|
|
3292
|
+
function ge(e) {
|
|
3299
3293
|
return {
|
|
3300
3294
|
create: function() {
|
|
3301
3295
|
return {
|
|
@@ -3309,39 +3303,39 @@ function Ee(e) {
|
|
|
3309
3303
|
}
|
|
3310
3304
|
};
|
|
3311
3305
|
}
|
|
3312
|
-
function
|
|
3306
|
+
function En(e) {
|
|
3313
3307
|
return e === void 0 && (e = {
|
|
3314
3308
|
number: {},
|
|
3315
3309
|
dateTime: {},
|
|
3316
3310
|
pluralRules: {}
|
|
3317
3311
|
}), {
|
|
3318
|
-
getNumberFormat:
|
|
3312
|
+
getNumberFormat: pe(function() {
|
|
3319
3313
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3320
3314
|
r[n] = arguments[n];
|
|
3321
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3315
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, me([void 0], r, !1)))();
|
|
3322
3316
|
}, {
|
|
3323
|
-
cache:
|
|
3324
|
-
strategy:
|
|
3317
|
+
cache: ge(e.number),
|
|
3318
|
+
strategy: be.variadic
|
|
3325
3319
|
}),
|
|
3326
|
-
getDateTimeFormat:
|
|
3320
|
+
getDateTimeFormat: pe(function() {
|
|
3327
3321
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3328
3322
|
r[n] = arguments[n];
|
|
3329
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3323
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, me([void 0], r, !1)))();
|
|
3330
3324
|
}, {
|
|
3331
|
-
cache:
|
|
3332
|
-
strategy:
|
|
3325
|
+
cache: ge(e.dateTime),
|
|
3326
|
+
strategy: be.variadic
|
|
3333
3327
|
}),
|
|
3334
|
-
getPluralRules:
|
|
3328
|
+
getPluralRules: pe(function() {
|
|
3335
3329
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3336
3330
|
r[n] = arguments[n];
|
|
3337
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3331
|
+
return new ((t = Intl.PluralRules).bind.apply(t, me([void 0], r, !1)))();
|
|
3338
3332
|
}, {
|
|
3339
|
-
cache:
|
|
3340
|
-
strategy:
|
|
3333
|
+
cache: ge(e.pluralRules),
|
|
3334
|
+
strategy: be.variadic
|
|
3341
3335
|
})
|
|
3342
3336
|
};
|
|
3343
3337
|
}
|
|
3344
|
-
var
|
|
3338
|
+
var vn = (
|
|
3345
3339
|
/** @class */
|
|
3346
3340
|
function() {
|
|
3347
3341
|
function e(t, r, n, i) {
|
|
@@ -3360,7 +3354,7 @@ var Bn = (
|
|
|
3360
3354
|
}, []);
|
|
3361
3355
|
return l.length <= 1 ? l[0] || "" : l;
|
|
3362
3356
|
}, this.formatToParts = function(h) {
|
|
3363
|
-
return
|
|
3357
|
+
return re(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
|
|
3364
3358
|
}, this.resolvedOptions = function() {
|
|
3365
3359
|
var h;
|
|
3366
3360
|
return {
|
|
@@ -3373,13 +3367,13 @@ var Bn = (
|
|
|
3373
3367
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
3374
3368
|
var a = i || {};
|
|
3375
3369
|
a.formatters;
|
|
3376
|
-
var u =
|
|
3377
|
-
this.ast = e.__parse(t,
|
|
3370
|
+
var u = Pr(a, ["formatters"]);
|
|
3371
|
+
this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
|
|
3378
3372
|
} else
|
|
3379
3373
|
this.ast = t;
|
|
3380
3374
|
if (!Array.isArray(this.ast))
|
|
3381
3375
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
3382
|
-
this.formats =
|
|
3376
|
+
this.formats = xn(e.formats, n), this.formatters = i && i.formatters || En(this.formatterCache);
|
|
3383
3377
|
}
|
|
3384
3378
|
return Object.defineProperty(e, "defaultLocale", {
|
|
3385
3379
|
get: function() {
|
|
@@ -3392,7 +3386,7 @@ var Bn = (
|
|
|
3392
3386
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
3393
3387
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
3394
3388
|
}
|
|
3395
|
-
}, e.__parse =
|
|
3389
|
+
}, e.__parse = mn, e.formats = {
|
|
3396
3390
|
number: {
|
|
3397
3391
|
integer: {
|
|
3398
3392
|
maximumFractionDigits: 0
|
|
@@ -3453,7 +3447,7 @@ var Bn = (
|
|
|
3453
3447
|
}, e;
|
|
3454
3448
|
}()
|
|
3455
3449
|
);
|
|
3456
|
-
function
|
|
3450
|
+
function _n(e, t) {
|
|
3457
3451
|
if (t == null)
|
|
3458
3452
|
return;
|
|
3459
3453
|
if (t in e)
|
|
@@ -3474,92 +3468,92 @@ function Hn(e, t) {
|
|
|
3474
3468
|
n = void 0;
|
|
3475
3469
|
return n;
|
|
3476
3470
|
}
|
|
3477
|
-
const
|
|
3471
|
+
const P = {}, Bn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), At = (e, t) => {
|
|
3478
3472
|
if (t == null)
|
|
3479
3473
|
return;
|
|
3480
|
-
if (t in
|
|
3481
|
-
return
|
|
3482
|
-
const r =
|
|
3474
|
+
if (t in P && e in P[t])
|
|
3475
|
+
return P[t][e];
|
|
3476
|
+
const r = he(t);
|
|
3483
3477
|
for (let n = 0; n < r.length; n++) {
|
|
3484
|
-
const i = r[n], s =
|
|
3478
|
+
const i = r[n], s = Tn(i, e);
|
|
3485
3479
|
if (s)
|
|
3486
|
-
return
|
|
3480
|
+
return Bn(e, t, s);
|
|
3487
3481
|
}
|
|
3488
3482
|
};
|
|
3489
|
-
let
|
|
3490
|
-
const
|
|
3491
|
-
function
|
|
3492
|
-
return
|
|
3483
|
+
let Le;
|
|
3484
|
+
const Y = oe({});
|
|
3485
|
+
function Hn(e) {
|
|
3486
|
+
return Le[e] || null;
|
|
3493
3487
|
}
|
|
3494
|
-
function
|
|
3495
|
-
return e in
|
|
3488
|
+
function Mt(e) {
|
|
3489
|
+
return e in Le;
|
|
3496
3490
|
}
|
|
3497
|
-
function
|
|
3498
|
-
if (!
|
|
3491
|
+
function Tn(e, t) {
|
|
3492
|
+
if (!Mt(e))
|
|
3499
3493
|
return null;
|
|
3500
|
-
const r =
|
|
3501
|
-
return
|
|
3494
|
+
const r = Hn(e);
|
|
3495
|
+
return _n(r, t);
|
|
3502
3496
|
}
|
|
3503
|
-
function
|
|
3497
|
+
function Sn(e) {
|
|
3504
3498
|
if (e == null)
|
|
3505
3499
|
return;
|
|
3506
|
-
const t =
|
|
3500
|
+
const t = he(e);
|
|
3507
3501
|
for (let r = 0; r < t.length; r++) {
|
|
3508
3502
|
const n = t[r];
|
|
3509
|
-
if (
|
|
3503
|
+
if (Mt(n))
|
|
3510
3504
|
return n;
|
|
3511
3505
|
}
|
|
3512
3506
|
}
|
|
3513
|
-
function
|
|
3514
|
-
delete
|
|
3507
|
+
function Pt(e, ...t) {
|
|
3508
|
+
delete P[e], Y.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
|
|
3515
3509
|
}
|
|
3516
|
-
|
|
3517
|
-
[
|
|
3510
|
+
k(
|
|
3511
|
+
[Y],
|
|
3518
3512
|
([e]) => Object.keys(e)
|
|
3519
3513
|
);
|
|
3520
|
-
|
|
3521
|
-
const
|
|
3522
|
-
function
|
|
3523
|
-
|
|
3514
|
+
Y.subscribe((e) => Le = e);
|
|
3515
|
+
const ne = {};
|
|
3516
|
+
function An(e, t) {
|
|
3517
|
+
ne[e].delete(t), ne[e].size === 0 && delete ne[e];
|
|
3524
3518
|
}
|
|
3525
|
-
function
|
|
3526
|
-
return
|
|
3519
|
+
function Nt(e) {
|
|
3520
|
+
return ne[e];
|
|
3527
3521
|
}
|
|
3528
|
-
function
|
|
3529
|
-
return
|
|
3530
|
-
const r =
|
|
3522
|
+
function Mn(e) {
|
|
3523
|
+
return he(e).map((t) => {
|
|
3524
|
+
const r = Nt(t);
|
|
3531
3525
|
return [t, r ? [...r] : []];
|
|
3532
3526
|
}).filter(([, t]) => t.length > 0);
|
|
3533
3527
|
}
|
|
3534
|
-
function
|
|
3535
|
-
return e == null ? !1 :
|
|
3528
|
+
function Ne(e) {
|
|
3529
|
+
return e == null ? !1 : he(e).some(
|
|
3536
3530
|
(t) => {
|
|
3537
3531
|
var r;
|
|
3538
|
-
return (r =
|
|
3532
|
+
return (r = Nt(t)) == null ? void 0 : r.size;
|
|
3539
3533
|
}
|
|
3540
3534
|
);
|
|
3541
3535
|
}
|
|
3542
|
-
function
|
|
3536
|
+
function Pn(e, t) {
|
|
3543
3537
|
return Promise.all(
|
|
3544
|
-
t.map((n) => (
|
|
3545
|
-
).then((n) =>
|
|
3546
|
-
}
|
|
3547
|
-
const
|
|
3548
|
-
function
|
|
3549
|
-
if (!
|
|
3550
|
-
return e in
|
|
3551
|
-
const t =
|
|
3552
|
-
return
|
|
3538
|
+
t.map((n) => (An(e, n), n().then((i) => i.default || i)))
|
|
3539
|
+
).then((n) => Pt(e, ...n));
|
|
3540
|
+
}
|
|
3541
|
+
const W = {};
|
|
3542
|
+
function Ot(e) {
|
|
3543
|
+
if (!Ne(e))
|
|
3544
|
+
return e in W ? W[e] : Promise.resolve();
|
|
3545
|
+
const t = Mn(e);
|
|
3546
|
+
return W[e] = Promise.all(
|
|
3553
3547
|
t.map(
|
|
3554
|
-
([r, n]) =>
|
|
3548
|
+
([r, n]) => Pn(r, n)
|
|
3555
3549
|
)
|
|
3556
3550
|
).then(() => {
|
|
3557
|
-
if (
|
|
3558
|
-
return
|
|
3559
|
-
delete
|
|
3560
|
-
}),
|
|
3551
|
+
if (Ne(e))
|
|
3552
|
+
return Ot(e);
|
|
3553
|
+
delete W[e];
|
|
3554
|
+
}), W[e];
|
|
3561
3555
|
}
|
|
3562
|
-
const
|
|
3556
|
+
const Nn = {
|
|
3563
3557
|
number: {
|
|
3564
3558
|
scientific: { notation: "scientific" },
|
|
3565
3559
|
engineering: { notation: "engineering" },
|
|
@@ -3588,150 +3582,150 @@ const wn = {
|
|
|
3588
3582
|
timeZoneName: "short"
|
|
3589
3583
|
}
|
|
3590
3584
|
}
|
|
3591
|
-
},
|
|
3585
|
+
}, On = {
|
|
3592
3586
|
fallbackLocale: null,
|
|
3593
3587
|
loadingDelay: 200,
|
|
3594
|
-
formats:
|
|
3588
|
+
formats: Nn,
|
|
3595
3589
|
warnOnMissingMessages: !0,
|
|
3596
3590
|
handleMissingMessage: void 0,
|
|
3597
3591
|
ignoreTag: !0
|
|
3598
|
-
},
|
|
3599
|
-
function
|
|
3600
|
-
return
|
|
3592
|
+
}, wn = On;
|
|
3593
|
+
function j() {
|
|
3594
|
+
return wn;
|
|
3601
3595
|
}
|
|
3602
|
-
const
|
|
3603
|
-
var
|
|
3596
|
+
const ye = oe(!1);
|
|
3597
|
+
var In = Object.defineProperty, Ln = Object.defineProperties, Cn = Object.getOwnPropertyDescriptors, Ke = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, et = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
|
|
3604
3598
|
for (var r in t || (t = {}))
|
|
3605
|
-
|
|
3606
|
-
if (
|
|
3607
|
-
for (var r of
|
|
3608
|
-
|
|
3599
|
+
$n.call(t, r) && et(e, r, t[r]);
|
|
3600
|
+
if (Ke)
|
|
3601
|
+
for (var r of Ke(t))
|
|
3602
|
+
Rn.call(t, r) && et(e, r, t[r]);
|
|
3609
3603
|
return e;
|
|
3610
|
-
},
|
|
3611
|
-
let
|
|
3612
|
-
const
|
|
3613
|
-
function
|
|
3604
|
+
}, Dn = (e, t) => Ln(e, Cn(t));
|
|
3605
|
+
let Oe;
|
|
3606
|
+
const ie = oe(null);
|
|
3607
|
+
function tt(e) {
|
|
3614
3608
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
3615
3609
|
}
|
|
3616
|
-
function
|
|
3617
|
-
const r =
|
|
3618
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
3610
|
+
function he(e, t = j().fallbackLocale) {
|
|
3611
|
+
const r = tt(e);
|
|
3612
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...tt(t)])] : r;
|
|
3619
3613
|
}
|
|
3620
|
-
function
|
|
3621
|
-
return
|
|
3614
|
+
function I() {
|
|
3615
|
+
return Oe != null ? Oe : void 0;
|
|
3622
3616
|
}
|
|
3623
|
-
|
|
3624
|
-
|
|
3617
|
+
ie.subscribe((e) => {
|
|
3618
|
+
Oe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
3625
3619
|
});
|
|
3626
|
-
const
|
|
3627
|
-
if (e &&
|
|
3628
|
-
const { loadingDelay: t } =
|
|
3620
|
+
const Gn = (e) => {
|
|
3621
|
+
if (e && Sn(e) && Ne(e)) {
|
|
3622
|
+
const { loadingDelay: t } = j();
|
|
3629
3623
|
let r;
|
|
3630
|
-
return typeof window != "undefined" &&
|
|
3631
|
-
() =>
|
|
3624
|
+
return typeof window != "undefined" && I() != null && t ? r = window.setTimeout(
|
|
3625
|
+
() => ye.set(!0),
|
|
3632
3626
|
t
|
|
3633
|
-
) :
|
|
3634
|
-
|
|
3627
|
+
) : ye.set(!0), Ot(e).then(() => {
|
|
3628
|
+
ie.set(e);
|
|
3635
3629
|
}).finally(() => {
|
|
3636
|
-
clearTimeout(r),
|
|
3630
|
+
clearTimeout(r), ye.set(!1);
|
|
3637
3631
|
});
|
|
3638
3632
|
}
|
|
3639
|
-
return
|
|
3640
|
-
},
|
|
3641
|
-
set:
|
|
3642
|
-
}),
|
|
3633
|
+
return ie.set(e);
|
|
3634
|
+
}, V = Dn(Un({}, ie), {
|
|
3635
|
+
set: Gn
|
|
3636
|
+
}), le = (e) => {
|
|
3643
3637
|
const t = /* @__PURE__ */ Object.create(null);
|
|
3644
3638
|
return (n) => {
|
|
3645
3639
|
const i = JSON.stringify(n);
|
|
3646
3640
|
return i in t ? t[i] : t[i] = e(n);
|
|
3647
3641
|
};
|
|
3648
3642
|
};
|
|
3649
|
-
var
|
|
3643
|
+
var Fn = Object.defineProperty, se = Object.getOwnPropertySymbols, wt = Object.prototype.hasOwnProperty, It = Object.prototype.propertyIsEnumerable, rt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ce = (e, t) => {
|
|
3650
3644
|
for (var r in t || (t = {}))
|
|
3651
|
-
|
|
3652
|
-
if (
|
|
3653
|
-
for (var r of
|
|
3654
|
-
|
|
3645
|
+
wt.call(t, r) && rt(e, r, t[r]);
|
|
3646
|
+
if (se)
|
|
3647
|
+
for (var r of se(t))
|
|
3648
|
+
It.call(t, r) && rt(e, r, t[r]);
|
|
3655
3649
|
return e;
|
|
3656
|
-
},
|
|
3650
|
+
}, X = (e, t) => {
|
|
3657
3651
|
var r = {};
|
|
3658
3652
|
for (var n in e)
|
|
3659
|
-
|
|
3660
|
-
if (e != null &&
|
|
3661
|
-
for (var n of
|
|
3662
|
-
t.indexOf(n) < 0 &&
|
|
3653
|
+
wt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
3654
|
+
if (e != null && se)
|
|
3655
|
+
for (var n of se(e))
|
|
3656
|
+
t.indexOf(n) < 0 && It.call(e, n) && (r[n] = e[n]);
|
|
3663
3657
|
return r;
|
|
3664
3658
|
};
|
|
3665
|
-
const
|
|
3666
|
-
const { formats: r } =
|
|
3659
|
+
const J = (e, t) => {
|
|
3660
|
+
const { formats: r } = j();
|
|
3667
3661
|
if (e in r && t in r[e])
|
|
3668
3662
|
return r[e][t];
|
|
3669
3663
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
3670
|
-
},
|
|
3664
|
+
}, jn = le(
|
|
3671
3665
|
(e) => {
|
|
3672
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3666
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3673
3667
|
if (r == null)
|
|
3674
3668
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
3675
|
-
return n && (i =
|
|
3669
|
+
return n && (i = J("number", n)), new Intl.NumberFormat(r, i);
|
|
3676
3670
|
}
|
|
3677
|
-
),
|
|
3671
|
+
), kn = le(
|
|
3678
3672
|
(e) => {
|
|
3679
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3673
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3680
3674
|
if (r == null)
|
|
3681
3675
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
3682
|
-
return n ? i =
|
|
3676
|
+
return n ? i = J("date", n) : Object.keys(i).length === 0 && (i = J("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
3683
3677
|
}
|
|
3684
|
-
),
|
|
3678
|
+
), Vn = le(
|
|
3685
3679
|
(e) => {
|
|
3686
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
3680
|
+
var t = e, { locale: r, format: n } = t, i = X(t, ["locale", "format"]);
|
|
3687
3681
|
if (r == null)
|
|
3688
3682
|
throw new Error(
|
|
3689
3683
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
3690
3684
|
);
|
|
3691
|
-
return n ? i =
|
|
3685
|
+
return n ? i = J("time", n) : Object.keys(i).length === 0 && (i = J("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
3692
3686
|
}
|
|
3693
|
-
),
|
|
3687
|
+
), Xn = (e = {}) => {
|
|
3694
3688
|
var t = e, {
|
|
3695
|
-
locale: r =
|
|
3696
|
-
} = t, n =
|
|
3689
|
+
locale: r = I()
|
|
3690
|
+
} = t, n = X(t, [
|
|
3697
3691
|
"locale"
|
|
3698
3692
|
]);
|
|
3699
|
-
return
|
|
3700
|
-
},
|
|
3693
|
+
return jn(Ce({ locale: r }, n));
|
|
3694
|
+
}, Wn = (e = {}) => {
|
|
3701
3695
|
var t = e, {
|
|
3702
|
-
locale: r =
|
|
3703
|
-
} = t, n =
|
|
3696
|
+
locale: r = I()
|
|
3697
|
+
} = t, n = X(t, [
|
|
3704
3698
|
"locale"
|
|
3705
3699
|
]);
|
|
3706
|
-
return
|
|
3707
|
-
},
|
|
3700
|
+
return kn(Ce({ locale: r }, n));
|
|
3701
|
+
}, zn = (e = {}) => {
|
|
3708
3702
|
var t = e, {
|
|
3709
|
-
locale: r =
|
|
3710
|
-
} = t, n =
|
|
3703
|
+
locale: r = I()
|
|
3704
|
+
} = t, n = X(t, [
|
|
3711
3705
|
"locale"
|
|
3712
3706
|
]);
|
|
3713
|
-
return
|
|
3714
|
-
},
|
|
3707
|
+
return Vn(Ce({ locale: r }, n));
|
|
3708
|
+
}, Zn = le(
|
|
3715
3709
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
3716
|
-
(e, t =
|
|
3717
|
-
ignoreTag:
|
|
3710
|
+
(e, t = I()) => new vn(e, t, j().formats, {
|
|
3711
|
+
ignoreTag: j().ignoreTag
|
|
3718
3712
|
})
|
|
3719
|
-
),
|
|
3713
|
+
), Qn = (e, t = {}) => {
|
|
3720
3714
|
var r, n, i, s;
|
|
3721
3715
|
let a = t;
|
|
3722
3716
|
typeof e == "object" && (a = e, e = a.id);
|
|
3723
3717
|
const {
|
|
3724
3718
|
values: u,
|
|
3725
|
-
locale: h =
|
|
3719
|
+
locale: h = I(),
|
|
3726
3720
|
default: o
|
|
3727
3721
|
} = a;
|
|
3728
3722
|
if (h == null)
|
|
3729
3723
|
throw new Error(
|
|
3730
3724
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
3731
3725
|
);
|
|
3732
|
-
let l =
|
|
3726
|
+
let l = At(e, h);
|
|
3733
3727
|
if (!l)
|
|
3734
|
-
l = (s = (i = (n = (r =
|
|
3728
|
+
l = (s = (i = (n = (r = j()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
|
|
3735
3729
|
else if (typeof l != "string")
|
|
3736
3730
|
return console.warn(
|
|
3737
3731
|
`[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.`
|
|
@@ -3740,7 +3734,7 @@ const q = (e, t) => {
|
|
|
3740
3734
|
return l;
|
|
3741
3735
|
let f = l;
|
|
3742
3736
|
try {
|
|
3743
|
-
f =
|
|
3737
|
+
f = Zn(l, h).format(u);
|
|
3744
3738
|
} catch (c) {
|
|
3745
3739
|
c instanceof Error && console.warn(
|
|
3746
3740
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -3748,18 +3742,18 @@ const q = (e, t) => {
|
|
|
3748
3742
|
);
|
|
3749
3743
|
}
|
|
3750
3744
|
return f;
|
|
3751
|
-
},
|
|
3752
|
-
|
|
3753
|
-
|
|
3754
|
-
|
|
3755
|
-
|
|
3756
|
-
function
|
|
3757
|
-
|
|
3758
|
-
}
|
|
3759
|
-
function
|
|
3760
|
-
|
|
3761
|
-
}
|
|
3762
|
-
const
|
|
3745
|
+
}, Jn = (e, t) => zn(t).format(e), qn = (e, t) => Wn(t).format(e), Yn = (e, t) => Xn(t).format(e), Kn = (e, t = I()) => At(e, t), ei = k([V, Y], () => Qn);
|
|
3746
|
+
k([V], () => Jn);
|
|
3747
|
+
k([V], () => qn);
|
|
3748
|
+
k([V], () => Yn);
|
|
3749
|
+
k([V, Y], () => Kn);
|
|
3750
|
+
function nt(e, t) {
|
|
3751
|
+
Pt(e, t);
|
|
3752
|
+
}
|
|
3753
|
+
function ti(e) {
|
|
3754
|
+
V.set(e);
|
|
3755
|
+
}
|
|
3756
|
+
const it = {
|
|
3763
3757
|
en: {
|
|
3764
3758
|
betsButtonString: "My Bets"
|
|
3765
3759
|
},
|
|
@@ -3800,61 +3794,61 @@ const ot = {
|
|
|
3800
3794
|
betsButtonString: "My Bets"
|
|
3801
3795
|
}
|
|
3802
3796
|
};
|
|
3803
|
-
function
|
|
3804
|
-
|
|
3797
|
+
function ri(e) {
|
|
3798
|
+
Ft(e, "svelte-ikpaqv", '.MyBetsButton{cursor:pointer}@container (min-width:991px){.MyBetsButton{margin:0 5px}}.MyBetsButton .MyBetsButtonWrapper{display:flex;align-content:center;justify-content:center;flex-direction:column;background-color:transparent;border:none;width:100%;min-width:60px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount{margin:auto}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber{background-color:var(--emw--button-contrast-background, #FD2839);height:21px;display:flex;justify-content:center;align-items:center;border-radius:100%;width:22px}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonCount .MyBetsCountNumber p{margin:0;font-size:12px;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle{margin-top:5px;text-align:center}.MyBetsButton .MyBetsButtonWrapper .MyBetsButtonTitle p{margin:0;font-size:12px;text-transform:uppercase;font-weight:500;color:var(--emw--color-white, #FFFFFF);font-family:var(--emw--font-family, "Roboto")}');
|
|
3805
3799
|
}
|
|
3806
|
-
function
|
|
3800
|
+
function ni(e) {
|
|
3807
3801
|
let t, r, n, i, s, a, u, h, o, l = (
|
|
3808
3802
|
/*$_*/
|
|
3809
3803
|
e[2]("betsButtonString") + ""
|
|
3810
|
-
), f, c,
|
|
3804
|
+
), f, c, y;
|
|
3811
3805
|
return {
|
|
3812
3806
|
c() {
|
|
3813
|
-
t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a =
|
|
3807
|
+
t = M("div"), r = M("button"), n = M("div"), i = M("span"), s = M("p"), a = xe(
|
|
3814
3808
|
/*betsData*/
|
|
3815
3809
|
e[1]
|
|
3816
|
-
), u =
|
|
3810
|
+
), u = Vt(), h = M("div"), o = M("p"), f = xe(l), $(i, "class", "MyBetsCountNumber"), $(n, "class", "MyBetsButtonCount"), $(h, "class", "MyBetsButtonTitle"), $(r, "class", "MyBetsButtonWrapper"), $(t, "class", "MyBetsButton");
|
|
3817
3811
|
},
|
|
3818
|
-
m(
|
|
3819
|
-
|
|
3812
|
+
m(g, E) {
|
|
3813
|
+
ut(g, t, E), A(t, r), A(r, n), A(n, i), A(i, s), A(s, a), A(r, u), A(r, h), A(h, o), A(o, f), e[10](t), c || (y = Xt(
|
|
3820
3814
|
r,
|
|
3821
3815
|
"click",
|
|
3822
3816
|
/*click_handler*/
|
|
3823
3817
|
e[9]
|
|
3824
3818
|
), c = !0);
|
|
3825
3819
|
},
|
|
3826
|
-
p(
|
|
3820
|
+
p(g, [E]) {
|
|
3827
3821
|
E & /*betsData*/
|
|
3828
|
-
2 &&
|
|
3822
|
+
2 && je(
|
|
3829
3823
|
a,
|
|
3830
3824
|
/*betsData*/
|
|
3831
|
-
|
|
3825
|
+
g[1]
|
|
3832
3826
|
), E & /*$_*/
|
|
3833
3827
|
4 && l !== (l = /*$_*/
|
|
3834
|
-
|
|
3828
|
+
g[2]("betsButtonString") + "") && je(f, l);
|
|
3835
3829
|
},
|
|
3836
|
-
i:
|
|
3837
|
-
o:
|
|
3838
|
-
d(
|
|
3839
|
-
|
|
3830
|
+
i: T,
|
|
3831
|
+
o: T,
|
|
3832
|
+
d(g) {
|
|
3833
|
+
g && Ie(t), e[10](null), c = !1, y();
|
|
3840
3834
|
}
|
|
3841
3835
|
};
|
|
3842
3836
|
}
|
|
3843
|
-
function
|
|
3837
|
+
function ii(e, t, r) {
|
|
3844
3838
|
let n;
|
|
3845
|
-
|
|
3839
|
+
Gt(e, ei, (m) => r(2, n = m));
|
|
3846
3840
|
let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { translationurl: h = "" } = t, o, l = 0;
|
|
3847
3841
|
const f = () => {
|
|
3848
3842
|
fetch(h).then((v) => v.json()).then((v) => {
|
|
3849
|
-
Object.keys(v).forEach((
|
|
3850
|
-
|
|
3843
|
+
Object.keys(v).forEach((S) => {
|
|
3844
|
+
nt(S, v[S]);
|
|
3851
3845
|
});
|
|
3852
3846
|
}).catch((v) => {
|
|
3853
3847
|
console.log(v);
|
|
3854
3848
|
});
|
|
3855
3849
|
}, c = () => {
|
|
3856
|
-
|
|
3857
|
-
},
|
|
3850
|
+
ti(i);
|
|
3851
|
+
}, y = (m, v) => {
|
|
3858
3852
|
o.dispatchEvent(new CustomEvent(
|
|
3859
3853
|
m,
|
|
3860
3854
|
{
|
|
@@ -3864,28 +3858,28 @@ function oi(e, t, r) {
|
|
|
3864
3858
|
// propagate across the shadow DOM
|
|
3865
3859
|
}
|
|
3866
3860
|
));
|
|
3867
|
-
},
|
|
3861
|
+
}, g = () => {
|
|
3868
3862
|
window.postMessage({ type: "OMFE:getBetslipSelectionsCount" }, "*");
|
|
3869
3863
|
}, E = (m) => {
|
|
3870
|
-
const { type: v, payload:
|
|
3864
|
+
const { type: v, payload: S } = m.data;
|
|
3871
3865
|
if (m.data)
|
|
3872
3866
|
switch (v) {
|
|
3873
3867
|
case "OMFE:betslipSelectionsCount":
|
|
3874
|
-
r(1, l =
|
|
3868
|
+
r(1, l = S.count), localStorage.setItem("OMFE:betSlipCount", l.toString());
|
|
3875
3869
|
break;
|
|
3876
3870
|
}
|
|
3877
3871
|
};
|
|
3878
|
-
|
|
3872
|
+
Qt(() => {
|
|
3879
3873
|
const m = localStorage.getItem("OMFE:betSlipCount");
|
|
3880
|
-
return r(1, l = m !== null ? Number(m) : 0),
|
|
3874
|
+
return r(1, l = m !== null ? Number(m) : 0), g(), window.addEventListener("message", E, !1), () => {
|
|
3881
3875
|
window.removeEventListener("message", E);
|
|
3882
3876
|
};
|
|
3883
|
-
}), Object.keys(
|
|
3884
|
-
|
|
3877
|
+
}), Object.keys(it).forEach((m) => {
|
|
3878
|
+
nt(m, it[m]);
|
|
3885
3879
|
});
|
|
3886
|
-
const H = (m) =>
|
|
3880
|
+
const H = (m) => y("betslipClick", {});
|
|
3887
3881
|
function N(m) {
|
|
3888
|
-
|
|
3882
|
+
Ee[m ? "unshift" : "push"](() => {
|
|
3889
3883
|
o = m, r(0, o);
|
|
3890
3884
|
});
|
|
3891
3885
|
}
|
|
@@ -3894,15 +3888,15 @@ function oi(e, t, r) {
|
|
|
3894
3888
|
}, e.$$.update = () => {
|
|
3895
3889
|
e.$$.dirty & /*lang*/
|
|
3896
3890
|
16 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
3897
|
-
33 && s && o &&
|
|
3898
|
-
65 && a && o &&
|
|
3899
|
-
129 && u && o &&
|
|
3891
|
+
33 && s && o && hr(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
3892
|
+
65 && a && o && lr(o, a), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
3893
|
+
129 && u && o && fr(o, `${u}.Style`), e.$$.dirty & /*translationurl*/
|
|
3900
3894
|
256 && h && f();
|
|
3901
3895
|
}, [
|
|
3902
3896
|
o,
|
|
3903
3897
|
l,
|
|
3904
3898
|
n,
|
|
3905
|
-
|
|
3899
|
+
y,
|
|
3906
3900
|
i,
|
|
3907
3901
|
s,
|
|
3908
3902
|
a,
|
|
@@ -3912,14 +3906,14 @@ function oi(e, t, r) {
|
|
|
3912
3906
|
N
|
|
3913
3907
|
];
|
|
3914
3908
|
}
|
|
3915
|
-
class
|
|
3909
|
+
class si extends ar {
|
|
3916
3910
|
constructor(t) {
|
|
3917
|
-
super(),
|
|
3911
|
+
super(), sr(
|
|
3918
3912
|
this,
|
|
3919
3913
|
t,
|
|
3920
|
-
|
|
3921
|
-
|
|
3922
|
-
|
|
3914
|
+
ii,
|
|
3915
|
+
ni,
|
|
3916
|
+
ot,
|
|
3923
3917
|
{
|
|
3924
3918
|
lang: 4,
|
|
3925
3919
|
clientstyling: 5,
|
|
@@ -3927,41 +3921,41 @@ class ai extends hr {
|
|
|
3927
3921
|
mbsource: 7,
|
|
3928
3922
|
translationurl: 8
|
|
3929
3923
|
},
|
|
3930
|
-
|
|
3924
|
+
ri
|
|
3931
3925
|
);
|
|
3932
3926
|
}
|
|
3933
3927
|
get lang() {
|
|
3934
3928
|
return this.$$.ctx[4];
|
|
3935
3929
|
}
|
|
3936
3930
|
set lang(t) {
|
|
3937
|
-
this.$$set({ lang: t }),
|
|
3931
|
+
this.$$set({ lang: t }), w();
|
|
3938
3932
|
}
|
|
3939
3933
|
get clientstyling() {
|
|
3940
3934
|
return this.$$.ctx[5];
|
|
3941
3935
|
}
|
|
3942
3936
|
set clientstyling(t) {
|
|
3943
|
-
this.$$set({ clientstyling: t }),
|
|
3937
|
+
this.$$set({ clientstyling: t }), w();
|
|
3944
3938
|
}
|
|
3945
3939
|
get clientstylingurl() {
|
|
3946
3940
|
return this.$$.ctx[6];
|
|
3947
3941
|
}
|
|
3948
3942
|
set clientstylingurl(t) {
|
|
3949
|
-
this.$$set({ clientstylingurl: t }),
|
|
3943
|
+
this.$$set({ clientstylingurl: t }), w();
|
|
3950
3944
|
}
|
|
3951
3945
|
get mbsource() {
|
|
3952
3946
|
return this.$$.ctx[7];
|
|
3953
3947
|
}
|
|
3954
3948
|
set mbsource(t) {
|
|
3955
|
-
this.$$set({ mbsource: t }),
|
|
3949
|
+
this.$$set({ mbsource: t }), w();
|
|
3956
3950
|
}
|
|
3957
3951
|
get translationurl() {
|
|
3958
3952
|
return this.$$.ctx[8];
|
|
3959
3953
|
}
|
|
3960
3954
|
set translationurl(t) {
|
|
3961
|
-
this.$$set({ translationurl: t }),
|
|
3955
|
+
this.$$set({ translationurl: t }), w();
|
|
3962
3956
|
}
|
|
3963
3957
|
}
|
|
3964
|
-
|
|
3958
|
+
or(si, { lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
|
|
3965
3959
|
export {
|
|
3966
|
-
|
|
3960
|
+
si as default
|
|
3967
3961
|
};
|