@everymatrix/player-account-gaming-limits-info-card 1.85.17 → 1.85.18
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/{PlayerAccountGamingLimitsConfirmationModal-yAobuwbi.js → PlayerAccountGamingLimitsConfirmationModal-CPjx_DH_.js} +1276 -1273
- package/components/{PlayerAccountGamingLimitsConfirmationModal-DVh9dEEt.js → PlayerAccountGamingLimitsConfirmationModal-Csrimoqp.js} +1267 -1264
- package/components/{PlayerAccountGamingLimitsConfirmationModal-CBEkVDyZ.cjs → PlayerAccountGamingLimitsConfirmationModal-RcOa0NNg.cjs} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-C4vWgM8-.js → PlayerAccountGamingLimitsGroupEdit-Ca1m5XU8.js} +4 -4
- package/components/{PlayerAccountGamingLimitsGroupEdit-Dn-vt_Kw.cjs → PlayerAccountGamingLimitsGroupEdit-Cqs__n7J.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsGroupEdit-Cqf4zXpD.js → PlayerAccountGamingLimitsGroupEdit-DSun0_Zz.js} +4 -4
- package/components/{PlayerAccountGamingLimitsInfoCard-BTwq0YK4.cjs → PlayerAccountGamingLimitsInfoCard-BQDa_Mg_.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsInfoCard-B9CLblli.js → PlayerAccountGamingLimitsInfoCard-C88f1sX4.js} +3 -3
- package/components/{PlayerAccountGamingLimitsInfoCard-CPNgWL3E.js → PlayerAccountGamingLimitsInfoCard-DzK7V5Rg.js} +3 -3
- package/components/{PlayerAccountGamingLimitsPopup-CYEhaPwh.cjs → PlayerAccountGamingLimitsPopup-4zxoW8_v.cjs} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-BAnH62vJ.js → PlayerAccountGamingLimitsPopup-Ce55cV9R.js} +1 -1
- package/components/{PlayerAccountGamingLimitsPopup-CS3xSlME.js → PlayerAccountGamingLimitsPopup-DHSJ1hpq.js} +1 -1
- package/components/{PlayerAccountModal-BXjlt-1C.js → PlayerAccountModal-0pqyx-hh.js} +1 -1
- package/components/{PlayerAccountModal-BodsU70_.js → PlayerAccountModal-AxHHIdPq.js} +1 -1
- package/components/{PlayerAccountModal-BU95Xtx5.cjs → PlayerAccountModal-DJEDpoZF.cjs} +1 -1
- package/es2015/player-account-gaming-limits-info-card.cjs +1 -1
- package/es2015/player-account-gaming-limits-info-card.js +1 -1
- package/esnext/player-account-gaming-limits-info-card.js +1 -1
- package/package.json +1 -1
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
var Lr = Object.defineProperty, Ir = Object.defineProperties;
|
|
2
2
|
var Mr = Object.getOwnPropertyDescriptors;
|
|
3
|
-
var
|
|
3
|
+
var mt = Object.getOwnPropertySymbols;
|
|
4
4
|
var Nr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var
|
|
6
|
-
for (var r in
|
|
7
|
-
Nr.call(
|
|
8
|
-
if (
|
|
9
|
-
for (var r of
|
|
10
|
-
$r.call(
|
|
11
|
-
return
|
|
12
|
-
},
|
|
13
|
-
var L = (
|
|
14
|
-
var
|
|
5
|
+
var Oe = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
|
|
6
|
+
for (var r in t || (t = {}))
|
|
7
|
+
Nr.call(t, r) && Oe(e, r, t[r]);
|
|
8
|
+
if (mt)
|
|
9
|
+
for (var r of mt(t))
|
|
10
|
+
$r.call(t, r) && Oe(e, r, t[r]);
|
|
11
|
+
return e;
|
|
12
|
+
}, dt = (e, t) => Ir(e, Mr(t));
|
|
13
|
+
var L = (e, t, r) => (Oe(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
14
|
+
var bt = (e, t, r) => new Promise((n, i) => {
|
|
15
15
|
var o = (l) => {
|
|
16
16
|
try {
|
|
17
17
|
s(r.next(l));
|
|
@@ -25,329 +25,329 @@ var be = (t, e, r) => new Promise((n, i) => {
|
|
|
25
25
|
i(u);
|
|
26
26
|
}
|
|
27
27
|
}, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
|
|
28
|
-
s((r = r.apply(
|
|
28
|
+
s((r = r.apply(e, t)).next());
|
|
29
29
|
});
|
|
30
30
|
function I() {
|
|
31
31
|
}
|
|
32
|
-
const Rr = (
|
|
33
|
-
function Gr(
|
|
34
|
-
for (const r in
|
|
35
|
-
|
|
32
|
+
const Rr = (e) => e;
|
|
33
|
+
function Gr(e, t) {
|
|
34
|
+
for (const r in t)
|
|
35
|
+
e[r] = t[r];
|
|
36
36
|
return (
|
|
37
37
|
/** @type {T & S} */
|
|
38
|
-
|
|
38
|
+
e
|
|
39
39
|
);
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function Vt(e) {
|
|
42
|
+
return e();
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function gt() {
|
|
45
45
|
return /* @__PURE__ */ Object.create(null);
|
|
46
46
|
}
|
|
47
|
-
function D(
|
|
48
|
-
|
|
47
|
+
function D(e) {
|
|
48
|
+
e.forEach(Vt);
|
|
49
49
|
}
|
|
50
|
-
function
|
|
51
|
-
return typeof
|
|
50
|
+
function Se(e) {
|
|
51
|
+
return typeof e == "function";
|
|
52
52
|
}
|
|
53
|
-
function
|
|
54
|
-
return
|
|
53
|
+
function Xt(e, t) {
|
|
54
|
+
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
55
55
|
}
|
|
56
|
-
function Ur(
|
|
57
|
-
return Object.keys(
|
|
56
|
+
function Ur(e) {
|
|
57
|
+
return Object.keys(e).length === 0;
|
|
58
58
|
}
|
|
59
|
-
function
|
|
60
|
-
if (
|
|
61
|
-
for (const n of
|
|
59
|
+
function zt(e, ...t) {
|
|
60
|
+
if (e == null) {
|
|
61
|
+
for (const n of t)
|
|
62
62
|
n(void 0);
|
|
63
63
|
return I;
|
|
64
64
|
}
|
|
65
|
-
const r =
|
|
65
|
+
const r = e.subscribe(...t);
|
|
66
66
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
67
67
|
}
|
|
68
|
-
function Dr(
|
|
69
|
-
|
|
68
|
+
function Dr(e, t, r) {
|
|
69
|
+
e.$$.on_destroy.push(zt(t, r));
|
|
70
70
|
}
|
|
71
|
-
function Fr(
|
|
72
|
-
if (
|
|
73
|
-
const i =
|
|
74
|
-
return
|
|
71
|
+
function Fr(e, t, r, n) {
|
|
72
|
+
if (e) {
|
|
73
|
+
const i = Wt(e, t, r, n);
|
|
74
|
+
return e[0](i);
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
|
-
function
|
|
78
|
-
return
|
|
77
|
+
function Wt(e, t, r, n) {
|
|
78
|
+
return e[1] && n ? Gr(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
79
79
|
}
|
|
80
|
-
function jr(
|
|
81
|
-
if (
|
|
82
|
-
const i =
|
|
83
|
-
if (
|
|
80
|
+
function jr(e, t, r, n) {
|
|
81
|
+
if (e[2] && n) {
|
|
82
|
+
const i = e[2](n(r));
|
|
83
|
+
if (t.dirty === void 0)
|
|
84
84
|
return i;
|
|
85
85
|
if (typeof i == "object") {
|
|
86
|
-
const o = [], a = Math.max(
|
|
86
|
+
const o = [], a = Math.max(t.dirty.length, i.length);
|
|
87
87
|
for (let s = 0; s < a; s += 1)
|
|
88
|
-
o[s] =
|
|
88
|
+
o[s] = t.dirty[s] | i[s];
|
|
89
89
|
return o;
|
|
90
90
|
}
|
|
91
|
-
return
|
|
91
|
+
return t.dirty | i;
|
|
92
92
|
}
|
|
93
|
-
return
|
|
93
|
+
return t.dirty;
|
|
94
94
|
}
|
|
95
|
-
function kr(
|
|
95
|
+
function kr(e, t, r, n, i, o) {
|
|
96
96
|
if (i) {
|
|
97
|
-
const a =
|
|
98
|
-
|
|
97
|
+
const a = Wt(t, r, n, o);
|
|
98
|
+
e.p(a, i);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
|
-
function Vr(
|
|
102
|
-
if (
|
|
103
|
-
const
|
|
101
|
+
function Vr(e) {
|
|
102
|
+
if (e.ctx.length > 32) {
|
|
103
|
+
const t = [], r = e.ctx.length / 32;
|
|
104
104
|
for (let n = 0; n < r; n++)
|
|
105
|
-
|
|
106
|
-
return
|
|
105
|
+
t[n] = -1;
|
|
106
|
+
return t;
|
|
107
107
|
}
|
|
108
108
|
return -1;
|
|
109
109
|
}
|
|
110
|
-
const
|
|
111
|
-
let Xr =
|
|
110
|
+
const Zt = typeof window != "undefined";
|
|
111
|
+
let Xr = Zt ? () => window.performance.now() : () => Date.now(), at = Zt ? (e) => requestAnimationFrame(e) : I;
|
|
112
112
|
const z = /* @__PURE__ */ new Set();
|
|
113
|
-
function
|
|
114
|
-
z.forEach((
|
|
115
|
-
|
|
116
|
-
}), z.size !== 0 &&
|
|
117
|
-
}
|
|
118
|
-
function zr(
|
|
119
|
-
let
|
|
120
|
-
return z.size === 0 &&
|
|
113
|
+
function Qt(e) {
|
|
114
|
+
z.forEach((t) => {
|
|
115
|
+
t.c(e) || (z.delete(t), t.f());
|
|
116
|
+
}), z.size !== 0 && at(Qt);
|
|
117
|
+
}
|
|
118
|
+
function zr(e) {
|
|
119
|
+
let t;
|
|
120
|
+
return z.size === 0 && at(Qt), {
|
|
121
121
|
promise: new Promise((r) => {
|
|
122
|
-
z.add(
|
|
122
|
+
z.add(t = { c: e, f: r });
|
|
123
123
|
}),
|
|
124
124
|
abort() {
|
|
125
|
-
z.delete(
|
|
125
|
+
z.delete(t);
|
|
126
126
|
}
|
|
127
127
|
};
|
|
128
128
|
}
|
|
129
|
-
function P(
|
|
130
|
-
|
|
129
|
+
function P(e, t) {
|
|
130
|
+
e.appendChild(t);
|
|
131
131
|
}
|
|
132
|
-
function Wr(
|
|
133
|
-
const n =
|
|
134
|
-
if (!n.getElementById(
|
|
132
|
+
function Wr(e, t, r) {
|
|
133
|
+
const n = ut(e);
|
|
134
|
+
if (!n.getElementById(t)) {
|
|
135
135
|
const i = M("style");
|
|
136
|
-
i.id =
|
|
136
|
+
i.id = t, i.textContent = r, Jt(n, i);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
-
function
|
|
140
|
-
if (!
|
|
139
|
+
function ut(e) {
|
|
140
|
+
if (!e)
|
|
141
141
|
return document;
|
|
142
|
-
const
|
|
143
|
-
return
|
|
144
|
-
|
|
142
|
+
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
143
|
+
return t && /** @type {ShadowRoot} */
|
|
144
|
+
t.host ? (
|
|
145
145
|
/** @type {ShadowRoot} */
|
|
146
|
-
|
|
147
|
-
) :
|
|
146
|
+
t
|
|
147
|
+
) : e.ownerDocument;
|
|
148
148
|
}
|
|
149
|
-
function Zr(
|
|
150
|
-
const
|
|
151
|
-
return
|
|
149
|
+
function Zr(e) {
|
|
150
|
+
const t = M("style");
|
|
151
|
+
return t.textContent = "/* empty */", Jt(ut(e), t), t.sheet;
|
|
152
152
|
}
|
|
153
|
-
function
|
|
153
|
+
function Jt(e, t) {
|
|
154
154
|
return P(
|
|
155
155
|
/** @type {Document} */
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
),
|
|
156
|
+
e.head || e,
|
|
157
|
+
t
|
|
158
|
+
), t.sheet;
|
|
159
159
|
}
|
|
160
|
-
function
|
|
161
|
-
|
|
160
|
+
function lt(e, t, r) {
|
|
161
|
+
e.insertBefore(t, r || null);
|
|
162
162
|
}
|
|
163
|
-
function
|
|
164
|
-
|
|
163
|
+
function ue(e) {
|
|
164
|
+
e.parentNode && e.parentNode.removeChild(e);
|
|
165
165
|
}
|
|
166
|
-
function Io(
|
|
167
|
-
for (let r = 0; r <
|
|
168
|
-
|
|
166
|
+
function Io(e, t) {
|
|
167
|
+
for (let r = 0; r < e.length; r += 1)
|
|
168
|
+
e[r] && e[r].d(t);
|
|
169
169
|
}
|
|
170
|
-
function M(
|
|
171
|
-
return document.createElement(
|
|
170
|
+
function M(e) {
|
|
171
|
+
return document.createElement(e);
|
|
172
172
|
}
|
|
173
|
-
function
|
|
174
|
-
return document.createElementNS("http://www.w3.org/2000/svg",
|
|
173
|
+
function yt(e) {
|
|
174
|
+
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
175
175
|
}
|
|
176
|
-
function
|
|
177
|
-
return document.createTextNode(
|
|
176
|
+
function ne(e) {
|
|
177
|
+
return document.createTextNode(e);
|
|
178
178
|
}
|
|
179
|
-
function
|
|
180
|
-
return
|
|
179
|
+
function Le() {
|
|
180
|
+
return ne(" ");
|
|
181
181
|
}
|
|
182
182
|
function Mo() {
|
|
183
|
-
return
|
|
183
|
+
return ne("");
|
|
184
184
|
}
|
|
185
|
-
function
|
|
186
|
-
return
|
|
185
|
+
function Ie(e, t, r, n) {
|
|
186
|
+
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
187
187
|
}
|
|
188
|
-
function No(
|
|
189
|
-
return function(
|
|
190
|
-
return
|
|
188
|
+
function No(e) {
|
|
189
|
+
return function(t) {
|
|
190
|
+
return t.preventDefault(), e.call(this, t);
|
|
191
191
|
};
|
|
192
192
|
}
|
|
193
|
-
function H(
|
|
194
|
-
r == null ?
|
|
193
|
+
function H(e, t, r) {
|
|
194
|
+
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
195
195
|
}
|
|
196
|
-
function $o(
|
|
197
|
-
const n =
|
|
198
|
-
n in
|
|
196
|
+
function $o(e, t, r) {
|
|
197
|
+
const n = t.toLowerCase();
|
|
198
|
+
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
|
|
199
199
|
}
|
|
200
|
-
function Ro(
|
|
201
|
-
return
|
|
200
|
+
function Ro(e) {
|
|
201
|
+
return e === "" ? null : +e;
|
|
202
202
|
}
|
|
203
|
-
function Qr(
|
|
204
|
-
return Array.from(
|
|
203
|
+
function Qr(e) {
|
|
204
|
+
return Array.from(e.childNodes);
|
|
205
205
|
}
|
|
206
|
-
function
|
|
207
|
-
|
|
208
|
-
|
|
206
|
+
function Me(e, t) {
|
|
207
|
+
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
208
|
+
t);
|
|
209
209
|
}
|
|
210
|
-
function Go(
|
|
211
|
-
|
|
210
|
+
function Go(e, t) {
|
|
211
|
+
e.value = t == null ? "" : t;
|
|
212
212
|
}
|
|
213
|
-
function Uo(
|
|
214
|
-
for (let n = 0; n <
|
|
215
|
-
const i =
|
|
216
|
-
if (i.__value ===
|
|
213
|
+
function Uo(e, t, r) {
|
|
214
|
+
for (let n = 0; n < e.options.length; n += 1) {
|
|
215
|
+
const i = e.options[n];
|
|
216
|
+
if (i.__value === t) {
|
|
217
217
|
i.selected = !0;
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
-
(!r ||
|
|
221
|
+
(!r || t !== void 0) && (e.selectedIndex = -1);
|
|
222
222
|
}
|
|
223
|
-
function Do(
|
|
224
|
-
const
|
|
225
|
-
return
|
|
223
|
+
function Do(e) {
|
|
224
|
+
const t = e.querySelector(":checked");
|
|
225
|
+
return t && t.__value;
|
|
226
226
|
}
|
|
227
|
-
function Jr(
|
|
228
|
-
return new CustomEvent(
|
|
227
|
+
function Jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
|
|
228
|
+
return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
|
|
229
229
|
}
|
|
230
|
-
function qr(
|
|
231
|
-
const
|
|
232
|
-
return
|
|
230
|
+
function qr(e) {
|
|
231
|
+
const t = {};
|
|
232
|
+
return e.childNodes.forEach(
|
|
233
233
|
/** @param {Element} node */
|
|
234
234
|
(r) => {
|
|
235
|
-
|
|
235
|
+
t[r.slot || "default"] = !0;
|
|
236
236
|
}
|
|
237
|
-
),
|
|
237
|
+
), t;
|
|
238
238
|
}
|
|
239
|
-
const
|
|
240
|
-
let
|
|
241
|
-
function Yr(
|
|
242
|
-
let
|
|
239
|
+
const ye = /* @__PURE__ */ new Map();
|
|
240
|
+
let ve = 0;
|
|
241
|
+
function Yr(e) {
|
|
242
|
+
let t = 5381, r = e.length;
|
|
243
243
|
for (; r--; )
|
|
244
|
-
|
|
245
|
-
return
|
|
244
|
+
t = (t << 5) - t ^ e.charCodeAt(r);
|
|
245
|
+
return t >>> 0;
|
|
246
246
|
}
|
|
247
|
-
function Kr(
|
|
248
|
-
const r = { stylesheet: Zr(
|
|
249
|
-
return
|
|
247
|
+
function Kr(e, t) {
|
|
248
|
+
const r = { stylesheet: Zr(t), rules: {} };
|
|
249
|
+
return ye.set(e, r), r;
|
|
250
250
|
}
|
|
251
|
-
function
|
|
251
|
+
function vt(e, t, r, n, i, o, a, s = 0) {
|
|
252
252
|
const l = 16.666 / n;
|
|
253
253
|
let u = `{
|
|
254
254
|
`;
|
|
255
255
|
for (let v = 0; v <= 1; v += l) {
|
|
256
|
-
const T =
|
|
256
|
+
const T = t + (r - t) * o(v);
|
|
257
257
|
u += v * 100 + `%{${a(T, 1 - T)}}
|
|
258
258
|
`;
|
|
259
259
|
}
|
|
260
260
|
const h = u + `100% {${a(r, 1 - r)}}
|
|
261
|
-
}`, c = `__svelte_${Yr(h)}_${s}`, f =
|
|
261
|
+
}`, c = `__svelte_${Yr(h)}_${s}`, f = ut(e), { stylesheet: p, rules: m } = ye.get(f) || Kr(f, e);
|
|
262
262
|
m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
|
|
263
|
-
const d =
|
|
264
|
-
return
|
|
263
|
+
const d = e.style.animation || "";
|
|
264
|
+
return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, ve += 1, c;
|
|
265
265
|
}
|
|
266
|
-
function
|
|
267
|
-
const r = (
|
|
268
|
-
|
|
266
|
+
function en(e, t) {
|
|
267
|
+
const r = (e.style.animation || "").split(", "), n = r.filter(
|
|
268
|
+
t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
|
|
269
269
|
// remove all Svelte animations
|
|
270
270
|
), i = r.length - n.length;
|
|
271
|
-
i && (
|
|
272
|
-
}
|
|
273
|
-
function
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
const { ownerNode:
|
|
277
|
-
|
|
278
|
-
}),
|
|
271
|
+
i && (e.style.animation = n.join(", "), ve -= i, ve || tn());
|
|
272
|
+
}
|
|
273
|
+
function tn() {
|
|
274
|
+
at(() => {
|
|
275
|
+
ve || (ye.forEach((e) => {
|
|
276
|
+
const { ownerNode: t } = e.stylesheet;
|
|
277
|
+
t && ue(t);
|
|
278
|
+
}), ye.clear());
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
281
|
+
let oe;
|
|
282
|
+
function ie(e) {
|
|
283
|
+
oe = e;
|
|
284
284
|
}
|
|
285
285
|
function rn() {
|
|
286
|
-
if (!
|
|
286
|
+
if (!oe)
|
|
287
287
|
throw new Error("Function called outside component initialization");
|
|
288
|
-
return
|
|
288
|
+
return oe;
|
|
289
289
|
}
|
|
290
|
-
function nn(
|
|
291
|
-
rn().$$.on_mount.push(
|
|
290
|
+
function nn(e) {
|
|
291
|
+
rn().$$.on_mount.push(e);
|
|
292
292
|
}
|
|
293
|
-
const X = [],
|
|
293
|
+
const X = [], Ve = [];
|
|
294
294
|
let W = [];
|
|
295
|
-
const
|
|
296
|
-
let
|
|
295
|
+
const _t = [], on = /* @__PURE__ */ Promise.resolve();
|
|
296
|
+
let Xe = !1;
|
|
297
297
|
function sn() {
|
|
298
|
-
|
|
298
|
+
Xe || (Xe = !0, on.then($));
|
|
299
299
|
}
|
|
300
|
-
function
|
|
301
|
-
W.push(
|
|
300
|
+
function _e(e) {
|
|
301
|
+
W.push(e);
|
|
302
302
|
}
|
|
303
|
-
const
|
|
303
|
+
const Ne = /* @__PURE__ */ new Set();
|
|
304
304
|
let k = 0;
|
|
305
305
|
function $() {
|
|
306
306
|
if (k !== 0)
|
|
307
307
|
return;
|
|
308
|
-
const
|
|
308
|
+
const e = oe;
|
|
309
309
|
do {
|
|
310
310
|
try {
|
|
311
311
|
for (; k < X.length; ) {
|
|
312
|
-
const
|
|
313
|
-
k++,
|
|
312
|
+
const t = X[k];
|
|
313
|
+
k++, ie(t), an(t.$$);
|
|
314
314
|
}
|
|
315
|
-
} catch (
|
|
316
|
-
throw X.length = 0, k = 0,
|
|
315
|
+
} catch (t) {
|
|
316
|
+
throw X.length = 0, k = 0, t;
|
|
317
317
|
}
|
|
318
|
-
for (
|
|
319
|
-
|
|
320
|
-
for (let
|
|
321
|
-
const r = W[
|
|
322
|
-
|
|
318
|
+
for (ie(null), X.length = 0, k = 0; Ve.length; )
|
|
319
|
+
Ve.pop()();
|
|
320
|
+
for (let t = 0; t < W.length; t += 1) {
|
|
321
|
+
const r = W[t];
|
|
322
|
+
Ne.has(r) || (Ne.add(r), r());
|
|
323
323
|
}
|
|
324
324
|
W.length = 0;
|
|
325
325
|
} while (X.length);
|
|
326
|
-
for (;
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
}
|
|
330
|
-
function an(
|
|
331
|
-
if (
|
|
332
|
-
|
|
333
|
-
const
|
|
334
|
-
|
|
326
|
+
for (; _t.length; )
|
|
327
|
+
_t.pop()();
|
|
328
|
+
Xe = !1, Ne.clear(), ie(e);
|
|
329
|
+
}
|
|
330
|
+
function an(e) {
|
|
331
|
+
if (e.fragment !== null) {
|
|
332
|
+
e.update(), D(e.before_update);
|
|
333
|
+
const t = e.dirty;
|
|
334
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
|
|
335
335
|
}
|
|
336
336
|
}
|
|
337
|
-
function un(
|
|
338
|
-
const
|
|
339
|
-
W.forEach((n) =>
|
|
337
|
+
function un(e) {
|
|
338
|
+
const t = [], r = [];
|
|
339
|
+
W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
|
|
340
340
|
}
|
|
341
|
-
let
|
|
341
|
+
let te;
|
|
342
342
|
function ln() {
|
|
343
|
-
return
|
|
344
|
-
|
|
345
|
-
})),
|
|
343
|
+
return te || (te = Promise.resolve(), te.then(() => {
|
|
344
|
+
te = null;
|
|
345
|
+
})), te;
|
|
346
346
|
}
|
|
347
|
-
function $
|
|
348
|
-
|
|
347
|
+
function $e(e, t, r) {
|
|
348
|
+
e.dispatchEvent(Jr(`${t ? "intro" : "outro"}${r}`));
|
|
349
349
|
}
|
|
350
|
-
const
|
|
350
|
+
const me = /* @__PURE__ */ new Set();
|
|
351
351
|
let R;
|
|
352
352
|
function Fo() {
|
|
353
353
|
R = {
|
|
@@ -360,24 +360,24 @@ function Fo() {
|
|
|
360
360
|
function jo() {
|
|
361
361
|
R.r || D(R.c), R = R.p;
|
|
362
362
|
}
|
|
363
|
-
function
|
|
364
|
-
|
|
363
|
+
function qt(e, t) {
|
|
364
|
+
e && e.i && (me.delete(e), e.i(t));
|
|
365
365
|
}
|
|
366
|
-
function hn(
|
|
367
|
-
if (
|
|
368
|
-
if (
|
|
366
|
+
function hn(e, t, r, n) {
|
|
367
|
+
if (e && e.o) {
|
|
368
|
+
if (me.has(e))
|
|
369
369
|
return;
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
}),
|
|
370
|
+
me.add(e), R.c.push(() => {
|
|
371
|
+
me.delete(e), n && (r && e.d(1), n());
|
|
372
|
+
}), e.o(t);
|
|
373
373
|
} else
|
|
374
374
|
n && n();
|
|
375
375
|
}
|
|
376
376
|
const cn = { duration: 0 };
|
|
377
|
-
function ko(
|
|
378
|
-
let o = e
|
|
377
|
+
function ko(e, t, r, n) {
|
|
378
|
+
let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
|
|
379
379
|
function c() {
|
|
380
|
-
u &&
|
|
380
|
+
u && en(e, u);
|
|
381
381
|
}
|
|
382
382
|
function f(m, d) {
|
|
383
383
|
const v = (
|
|
@@ -401,14 +401,14 @@ function ko(t, e, r, n) {
|
|
|
401
401
|
easing: T = Rr,
|
|
402
402
|
tick: C = I,
|
|
403
403
|
css: S
|
|
404
|
-
} = o || cn,
|
|
404
|
+
} = o || cn, A = {
|
|
405
405
|
start: Xr() + d,
|
|
406
406
|
b: m
|
|
407
407
|
};
|
|
408
|
-
m || (
|
|
409
|
-
|
|
410
|
-
if (l && E > l.start && (s = f(l, v), l = null, $
|
|
411
|
-
|
|
408
|
+
m || (A.group = R, R.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
|
|
409
|
+
e.inert, e.inert = !0)), s || l ? l = A : (S && (c(), u = vt(e, a, m, v, d, T, S)), m && C(0, 1), s = f(A, v), _e(() => $e(e, m, "start")), zr((E) => {
|
|
410
|
+
if (l && E > l.start && (s = f(l, v), l = null, $e(e, s.b, "start"), S && (c(), u = vt(
|
|
411
|
+
e,
|
|
412
412
|
a,
|
|
413
413
|
s.b,
|
|
414
414
|
s.duration,
|
|
@@ -417,7 +417,7 @@ function ko(t, e, r, n) {
|
|
|
417
417
|
o.css
|
|
418
418
|
))), s) {
|
|
419
419
|
if (E >= s.end)
|
|
420
|
-
C(a = s.b, 1 - a), $
|
|
420
|
+
C(a = s.b, 1 - a), $e(e, s.b, "end"), l || (s.b ? c() : --s.group.r || D(s.group.c)), s = null;
|
|
421
421
|
else if (E >= s.start) {
|
|
422
422
|
const _ = E - s.start;
|
|
423
423
|
a = s.a + s.d * T(_ / s.duration), C(a, 1 - a);
|
|
@@ -428,7 +428,7 @@ function ko(t, e, r, n) {
|
|
|
428
428
|
}
|
|
429
429
|
return {
|
|
430
430
|
run(m) {
|
|
431
|
-
|
|
431
|
+
Se(o) ? ln().then(() => {
|
|
432
432
|
o = o({ direction: m ? "in" : "out" }), p(m);
|
|
433
433
|
}) : p(m);
|
|
434
434
|
},
|
|
@@ -437,65 +437,65 @@ function ko(t, e, r, n) {
|
|
|
437
437
|
}
|
|
438
438
|
};
|
|
439
439
|
}
|
|
440
|
-
function Vo(
|
|
441
|
-
return (
|
|
440
|
+
function Vo(e) {
|
|
441
|
+
return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
|
|
442
442
|
}
|
|
443
|
-
function fn(
|
|
444
|
-
const { fragment: n, after_update: i } =
|
|
445
|
-
n && n.m(
|
|
446
|
-
const o =
|
|
447
|
-
|
|
448
|
-
}), i.forEach(
|
|
443
|
+
function fn(e, t, r) {
|
|
444
|
+
const { fragment: n, after_update: i } = e.$$;
|
|
445
|
+
n && n.m(t, r), _e(() => {
|
|
446
|
+
const o = e.$$.on_mount.map(Vt).filter(Se);
|
|
447
|
+
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
|
|
448
|
+
}), i.forEach(_e);
|
|
449
449
|
}
|
|
450
|
-
function mn(
|
|
451
|
-
const r =
|
|
452
|
-
r.fragment !== null && (un(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(
|
|
450
|
+
function mn(e, t) {
|
|
451
|
+
const r = e.$$;
|
|
452
|
+
r.fragment !== null && (un(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
453
453
|
}
|
|
454
|
-
function pn(
|
|
455
|
-
|
|
454
|
+
function pn(e, t) {
|
|
455
|
+
e.$$.dirty[0] === -1 && (X.push(e), sn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
456
456
|
}
|
|
457
|
-
function dn(
|
|
458
|
-
const l =
|
|
459
|
-
|
|
460
|
-
const u =
|
|
457
|
+
function dn(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
458
|
+
const l = oe;
|
|
459
|
+
ie(e);
|
|
460
|
+
const u = e.$$ = {
|
|
461
461
|
fragment: null,
|
|
462
462
|
ctx: [],
|
|
463
463
|
// state
|
|
464
464
|
props: o,
|
|
465
465
|
update: I,
|
|
466
466
|
not_equal: i,
|
|
467
|
-
bound:
|
|
467
|
+
bound: gt(),
|
|
468
468
|
// lifecycle
|
|
469
469
|
on_mount: [],
|
|
470
470
|
on_destroy: [],
|
|
471
471
|
on_disconnect: [],
|
|
472
472
|
before_update: [],
|
|
473
473
|
after_update: [],
|
|
474
|
-
context: new Map(
|
|
474
|
+
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
475
475
|
// everything else
|
|
476
|
-
callbacks:
|
|
476
|
+
callbacks: gt(),
|
|
477
477
|
dirty: s,
|
|
478
478
|
skip_bound: !1,
|
|
479
|
-
root:
|
|
479
|
+
root: t.target || l.$$.root
|
|
480
480
|
};
|
|
481
481
|
a && a(u.root);
|
|
482
482
|
let h = !1;
|
|
483
|
-
if (u.ctx = r ? r(
|
|
483
|
+
if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
|
|
484
484
|
const m = p.length ? p[0] : f;
|
|
485
|
-
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(
|
|
486
|
-
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1,
|
|
487
|
-
if (
|
|
488
|
-
const c = Qr(
|
|
489
|
-
u.fragment && u.fragment.l(c), c.forEach(
|
|
485
|
+
return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(e, c)), f;
|
|
486
|
+
}) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
487
|
+
if (t.hydrate) {
|
|
488
|
+
const c = Qr(t.target);
|
|
489
|
+
u.fragment && u.fragment.l(c), c.forEach(ue);
|
|
490
490
|
} else
|
|
491
491
|
u.fragment && u.fragment.c();
|
|
492
|
-
|
|
492
|
+
t.intro && qt(e.$$.fragment), fn(e, t.target, t.anchor), $();
|
|
493
493
|
}
|
|
494
|
-
|
|
494
|
+
ie(l);
|
|
495
495
|
}
|
|
496
|
-
let
|
|
497
|
-
typeof HTMLElement == "function" && (
|
|
498
|
-
constructor(
|
|
496
|
+
let Yt;
|
|
497
|
+
typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
|
|
498
|
+
constructor(t, r, n) {
|
|
499
499
|
super();
|
|
500
500
|
/** The Svelte component constructor */
|
|
501
501
|
L(this, "$$ctor");
|
|
@@ -515,25 +515,25 @@ typeof HTMLElement == "function" && (Ye = class extends HTMLElement {
|
|
|
515
515
|
L(this, "$$l", {});
|
|
516
516
|
/** @type {Map<Function, Function>} Event listener unsubscribe functions */
|
|
517
517
|
L(this, "$$l_u", /* @__PURE__ */ new Map());
|
|
518
|
-
this.$$ctor =
|
|
518
|
+
this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
|
|
519
519
|
}
|
|
520
|
-
addEventListener(
|
|
521
|
-
if (this.$$l[
|
|
522
|
-
const i = this.$$c.$on(
|
|
520
|
+
addEventListener(t, r, n) {
|
|
521
|
+
if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
|
|
522
|
+
const i = this.$$c.$on(t, r);
|
|
523
523
|
this.$$l_u.set(r, i);
|
|
524
524
|
}
|
|
525
|
-
super.addEventListener(
|
|
525
|
+
super.addEventListener(t, r, n);
|
|
526
526
|
}
|
|
527
|
-
removeEventListener(
|
|
528
|
-
if (super.removeEventListener(
|
|
527
|
+
removeEventListener(t, r, n) {
|
|
528
|
+
if (super.removeEventListener(t, r, n), this.$$c) {
|
|
529
529
|
const i = this.$$l_u.get(r);
|
|
530
530
|
i && (i(), this.$$l_u.delete(r));
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
connectedCallback() {
|
|
534
|
-
return
|
|
534
|
+
return bt(this, null, function* () {
|
|
535
535
|
if (this.$$cn = !0, !this.$$c) {
|
|
536
|
-
let
|
|
536
|
+
let t = function(o) {
|
|
537
537
|
return () => {
|
|
538
538
|
let a;
|
|
539
539
|
return {
|
|
@@ -545,10 +545,10 @@ typeof HTMLElement == "function" && (Ye = class extends HTMLElement {
|
|
|
545
545
|
* @param {HTMLElement} [anchor]
|
|
546
546
|
*/
|
|
547
547
|
m: function(u, h) {
|
|
548
|
-
|
|
548
|
+
lt(u, a, h);
|
|
549
549
|
},
|
|
550
550
|
d: function(u) {
|
|
551
|
-
u &&
|
|
551
|
+
u && ue(a);
|
|
552
552
|
}
|
|
553
553
|
};
|
|
554
554
|
};
|
|
@@ -557,16 +557,16 @@ typeof HTMLElement == "function" && (Ye = class extends HTMLElement {
|
|
|
557
557
|
return;
|
|
558
558
|
const r = {}, n = qr(this);
|
|
559
559
|
for (const o of this.$$s)
|
|
560
|
-
o in n && (r[o] = [
|
|
560
|
+
o in n && (r[o] = [t(o)]);
|
|
561
561
|
for (const o of this.attributes) {
|
|
562
562
|
const a = this.$$g_p(o.name);
|
|
563
|
-
a in this.$$d || (this.$$d[a] =
|
|
563
|
+
a in this.$$d || (this.$$d[a] = pe(a, o.value, this.$$p_d, "toProp"));
|
|
564
564
|
}
|
|
565
565
|
for (const o in this.$$p_d)
|
|
566
566
|
!(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
|
|
567
567
|
this.$$c = new this.$$ctor({
|
|
568
568
|
target: this.shadowRoot || this,
|
|
569
|
-
props:
|
|
569
|
+
props: dt(pt({}, this.$$d), {
|
|
570
570
|
$$slots: r,
|
|
571
571
|
$$scope: {
|
|
572
572
|
ctx: []
|
|
@@ -577,7 +577,7 @@ typeof HTMLElement == "function" && (Ye = class extends HTMLElement {
|
|
|
577
577
|
this.$$r = !0;
|
|
578
578
|
for (const o in this.$$p_d)
|
|
579
579
|
if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
|
|
580
|
-
const a =
|
|
580
|
+
const a = pe(
|
|
581
581
|
o,
|
|
582
582
|
this.$$d[o],
|
|
583
583
|
this.$$p_d,
|
|
@@ -599,70 +599,70 @@ typeof HTMLElement == "function" && (Ye = class extends HTMLElement {
|
|
|
599
599
|
}
|
|
600
600
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
601
601
|
// and setting attributes through setAttribute etc, this is helpful
|
|
602
|
-
attributeChangedCallback(
|
|
602
|
+
attributeChangedCallback(t, r, n) {
|
|
603
603
|
var i;
|
|
604
|
-
this.$$r || (
|
|
604
|
+
this.$$r || (t = this.$$g_p(t), this.$$d[t] = pe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
|
|
605
605
|
}
|
|
606
606
|
disconnectedCallback() {
|
|
607
607
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
608
608
|
!this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
|
|
609
609
|
});
|
|
610
610
|
}
|
|
611
|
-
$$g_p(
|
|
611
|
+
$$g_p(t) {
|
|
612
612
|
return Object.keys(this.$$p_d).find(
|
|
613
|
-
(r) => this.$$p_d[r].attribute ===
|
|
614
|
-
) ||
|
|
613
|
+
(r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
|
|
614
|
+
) || t;
|
|
615
615
|
}
|
|
616
616
|
});
|
|
617
|
-
function
|
|
617
|
+
function pe(e, t, r, n) {
|
|
618
618
|
var o;
|
|
619
|
-
const i = (o = r[
|
|
620
|
-
if (
|
|
621
|
-
return
|
|
619
|
+
const i = (o = r[e]) == null ? void 0 : o.type;
|
|
620
|
+
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
621
|
+
return t;
|
|
622
622
|
if (n === "toAttribute")
|
|
623
623
|
switch (i) {
|
|
624
624
|
case "Object":
|
|
625
625
|
case "Array":
|
|
626
|
-
return
|
|
626
|
+
return t == null ? null : JSON.stringify(t);
|
|
627
627
|
case "Boolean":
|
|
628
|
-
return
|
|
628
|
+
return t ? "" : null;
|
|
629
629
|
case "Number":
|
|
630
|
-
return
|
|
630
|
+
return t == null ? null : t;
|
|
631
631
|
default:
|
|
632
|
-
return
|
|
632
|
+
return t;
|
|
633
633
|
}
|
|
634
634
|
else
|
|
635
635
|
switch (i) {
|
|
636
636
|
case "Object":
|
|
637
637
|
case "Array":
|
|
638
|
-
return
|
|
638
|
+
return t && JSON.parse(t);
|
|
639
639
|
case "Boolean":
|
|
640
|
-
return
|
|
640
|
+
return t;
|
|
641
641
|
case "Number":
|
|
642
|
-
return
|
|
642
|
+
return t != null ? +t : t;
|
|
643
643
|
default:
|
|
644
|
-
return
|
|
644
|
+
return t;
|
|
645
645
|
}
|
|
646
646
|
}
|
|
647
|
-
function bn(
|
|
648
|
-
let a = class extends
|
|
647
|
+
function bn(e, t, r, n, i, o) {
|
|
648
|
+
let a = class extends Yt {
|
|
649
649
|
constructor() {
|
|
650
|
-
super(
|
|
650
|
+
super(e, r, i), this.$$p_d = t;
|
|
651
651
|
}
|
|
652
652
|
static get observedAttributes() {
|
|
653
|
-
return Object.keys(
|
|
654
|
-
(s) => (
|
|
653
|
+
return Object.keys(t).map(
|
|
654
|
+
(s) => (t[s].attribute || s).toLowerCase()
|
|
655
655
|
);
|
|
656
656
|
}
|
|
657
657
|
};
|
|
658
|
-
return Object.keys(
|
|
658
|
+
return Object.keys(t).forEach((s) => {
|
|
659
659
|
Object.defineProperty(a.prototype, s, {
|
|
660
660
|
get() {
|
|
661
661
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
662
662
|
},
|
|
663
663
|
set(l) {
|
|
664
664
|
var u;
|
|
665
|
-
l =
|
|
665
|
+
l = pe(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
|
|
666
666
|
}
|
|
667
667
|
});
|
|
668
668
|
}), n.forEach((s) => {
|
|
@@ -672,7 +672,7 @@ function bn(t, e, r, n, i, o) {
|
|
|
672
672
|
return (l = this.$$c) == null ? void 0 : l[s];
|
|
673
673
|
}
|
|
674
674
|
});
|
|
675
|
-
}),
|
|
675
|
+
}), e.element = /** @type {any} */
|
|
676
676
|
a, a;
|
|
677
677
|
}
|
|
678
678
|
class gn {
|
|
@@ -704,10 +704,10 @@ class gn {
|
|
|
704
704
|
* @param {((e: Events[K]) => void) | null | undefined} callback
|
|
705
705
|
* @returns {() => void}
|
|
706
706
|
*/
|
|
707
|
-
$on(
|
|
708
|
-
if (!
|
|
707
|
+
$on(t, r) {
|
|
708
|
+
if (!Se(r))
|
|
709
709
|
return I;
|
|
710
|
-
const n = this.$$.callbacks[
|
|
710
|
+
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
711
711
|
return n.push(r), () => {
|
|
712
712
|
const i = n.indexOf(r);
|
|
713
713
|
i !== -1 && n.splice(i, 1);
|
|
@@ -717,32 +717,34 @@ class gn {
|
|
|
717
717
|
* @param {Partial<Props>} props
|
|
718
718
|
* @returns {void}
|
|
719
719
|
*/
|
|
720
|
-
$set(
|
|
721
|
-
this.$$set && !Ur(
|
|
720
|
+
$set(t) {
|
|
721
|
+
this.$$set && !Ur(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
722
722
|
}
|
|
723
723
|
}
|
|
724
724
|
const yn = "4";
|
|
725
725
|
typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
|
|
726
|
-
function vn(
|
|
727
|
-
if (
|
|
726
|
+
function vn(e, t) {
|
|
727
|
+
if (e) {
|
|
728
728
|
const r = document.createElement("style");
|
|
729
|
-
r.innerHTML =
|
|
729
|
+
r.innerHTML = t, e.appendChild(r);
|
|
730
730
|
}
|
|
731
731
|
}
|
|
732
|
-
function _n(
|
|
733
|
-
|
|
732
|
+
function _n(e, t) {
|
|
733
|
+
if (!e || !t)
|
|
734
|
+
return;
|
|
735
|
+
const r = new URL(t);
|
|
734
736
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
735
737
|
const i = document.createElement("style");
|
|
736
|
-
i.innerHTML = n,
|
|
738
|
+
i.innerHTML = n, e && e.appendChild(i);
|
|
737
739
|
}).catch((n) => {
|
|
738
740
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
739
741
|
});
|
|
740
742
|
}
|
|
741
|
-
function xn(
|
|
743
|
+
function xn(e, t, r) {
|
|
742
744
|
if (window.emMessageBus) {
|
|
743
745
|
const n = document.createElement("style");
|
|
744
|
-
window.emMessageBus.subscribe(
|
|
745
|
-
n.innerHTML = i,
|
|
746
|
+
window.emMessageBus.subscribe(t, (i) => {
|
|
747
|
+
n.innerHTML = i, e && e.appendChild(n);
|
|
746
748
|
});
|
|
747
749
|
}
|
|
748
750
|
}
|
|
@@ -760,42 +762,42 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
|
760
762
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
761
763
|
PERFORMANCE OF THIS SOFTWARE.
|
|
762
764
|
***************************************************************************** */
|
|
763
|
-
var
|
|
764
|
-
return
|
|
765
|
+
var ze = function(e, t) {
|
|
766
|
+
return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
765
767
|
r.__proto__ = n;
|
|
766
768
|
} || function(r, n) {
|
|
767
769
|
for (var i in n)
|
|
768
770
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
769
|
-
},
|
|
771
|
+
}, ze(e, t);
|
|
770
772
|
};
|
|
771
|
-
function
|
|
772
|
-
if (typeof
|
|
773
|
-
throw new TypeError("Class extends value " + String(
|
|
774
|
-
|
|
773
|
+
function le(e, t) {
|
|
774
|
+
if (typeof t != "function" && t !== null)
|
|
775
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
776
|
+
ze(e, t);
|
|
775
777
|
function r() {
|
|
776
|
-
this.constructor =
|
|
778
|
+
this.constructor = e;
|
|
777
779
|
}
|
|
778
|
-
|
|
780
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
779
781
|
}
|
|
780
|
-
function
|
|
781
|
-
var
|
|
782
|
+
function We(e) {
|
|
783
|
+
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
782
784
|
if (r)
|
|
783
|
-
return r.call(
|
|
784
|
-
if (
|
|
785
|
+
return r.call(e);
|
|
786
|
+
if (e && typeof e.length == "number")
|
|
785
787
|
return {
|
|
786
788
|
next: function() {
|
|
787
|
-
return
|
|
789
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
788
790
|
}
|
|
789
791
|
};
|
|
790
|
-
throw new TypeError(
|
|
792
|
+
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
791
793
|
}
|
|
792
|
-
function
|
|
793
|
-
var r = typeof Symbol == "function" &&
|
|
794
|
+
function Ze(e, t) {
|
|
795
|
+
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
794
796
|
if (!r)
|
|
795
|
-
return
|
|
796
|
-
var n = r.call(
|
|
797
|
+
return e;
|
|
798
|
+
var n = r.call(e), i, o = [], a;
|
|
797
799
|
try {
|
|
798
|
-
for (; (
|
|
800
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
799
801
|
o.push(i.value);
|
|
800
802
|
} catch (s) {
|
|
801
803
|
a = { error: s };
|
|
@@ -809,60 +811,60 @@ function Zt(t, e) {
|
|
|
809
811
|
}
|
|
810
812
|
return o;
|
|
811
813
|
}
|
|
812
|
-
function
|
|
814
|
+
function Qe(e, t, r) {
|
|
813
815
|
if (arguments.length === 2)
|
|
814
|
-
for (var n = 0, i =
|
|
815
|
-
(o || !(n in
|
|
816
|
-
return
|
|
816
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
817
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
818
|
+
return e.concat(o || t);
|
|
817
819
|
}
|
|
818
|
-
function G(
|
|
819
|
-
return typeof
|
|
820
|
+
function G(e) {
|
|
821
|
+
return typeof e == "function";
|
|
820
822
|
}
|
|
821
|
-
function
|
|
822
|
-
var
|
|
823
|
+
function Kt(e) {
|
|
824
|
+
var t = function(n) {
|
|
823
825
|
Error.call(n), n.stack = new Error().stack;
|
|
824
|
-
}, r = t
|
|
826
|
+
}, r = e(t);
|
|
825
827
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
826
828
|
}
|
|
827
|
-
var
|
|
829
|
+
var Re = Kt(function(e) {
|
|
828
830
|
return function(r) {
|
|
829
|
-
|
|
831
|
+
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
830
832
|
` + r.map(function(n, i) {
|
|
831
833
|
return i + 1 + ") " + n.toString();
|
|
832
834
|
}).join(`
|
|
833
835
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
834
836
|
};
|
|
835
837
|
});
|
|
836
|
-
function
|
|
837
|
-
if (
|
|
838
|
-
var r =
|
|
839
|
-
0 <= r &&
|
|
838
|
+
function Je(e, t) {
|
|
839
|
+
if (e) {
|
|
840
|
+
var r = e.indexOf(t);
|
|
841
|
+
0 <= r && e.splice(r, 1);
|
|
840
842
|
}
|
|
841
843
|
}
|
|
842
|
-
var
|
|
843
|
-
function t
|
|
844
|
-
this.initialTeardown =
|
|
844
|
+
var Te = function() {
|
|
845
|
+
function e(t) {
|
|
846
|
+
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
845
847
|
}
|
|
846
|
-
return
|
|
847
|
-
var
|
|
848
|
+
return e.prototype.unsubscribe = function() {
|
|
849
|
+
var t, r, n, i, o;
|
|
848
850
|
if (!this.closed) {
|
|
849
851
|
this.closed = !0;
|
|
850
852
|
var a = this._parentage;
|
|
851
853
|
if (a)
|
|
852
854
|
if (this._parentage = null, Array.isArray(a))
|
|
853
855
|
try {
|
|
854
|
-
for (var s =
|
|
856
|
+
for (var s = We(a), l = s.next(); !l.done; l = s.next()) {
|
|
855
857
|
var u = l.value;
|
|
856
858
|
u.remove(this);
|
|
857
859
|
}
|
|
858
860
|
} catch (d) {
|
|
859
|
-
|
|
861
|
+
t = { error: d };
|
|
860
862
|
} finally {
|
|
861
863
|
try {
|
|
862
864
|
l && !l.done && (r = s.return) && r.call(s);
|
|
863
865
|
} finally {
|
|
864
|
-
if (
|
|
865
|
-
throw
|
|
866
|
+
if (t)
|
|
867
|
+
throw t.error;
|
|
866
868
|
}
|
|
867
869
|
}
|
|
868
870
|
else
|
|
@@ -872,18 +874,18 @@ var Tt = function() {
|
|
|
872
874
|
try {
|
|
873
875
|
h();
|
|
874
876
|
} catch (d) {
|
|
875
|
-
o = d instanceof
|
|
877
|
+
o = d instanceof Re ? d.errors : [d];
|
|
876
878
|
}
|
|
877
879
|
var c = this._finalizers;
|
|
878
880
|
if (c) {
|
|
879
881
|
this._finalizers = null;
|
|
880
882
|
try {
|
|
881
|
-
for (var f =
|
|
883
|
+
for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
|
|
882
884
|
var m = p.value;
|
|
883
885
|
try {
|
|
884
|
-
|
|
886
|
+
xt(m);
|
|
885
887
|
} catch (d) {
|
|
886
|
-
o = o != null ? o : [], d instanceof
|
|
888
|
+
o = o != null ? o : [], d instanceof Re ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
|
|
887
889
|
}
|
|
888
890
|
}
|
|
889
891
|
} catch (d) {
|
|
@@ -898,191 +900,191 @@ var Tt = function() {
|
|
|
898
900
|
}
|
|
899
901
|
}
|
|
900
902
|
if (o)
|
|
901
|
-
throw new
|
|
903
|
+
throw new Re(o);
|
|
902
904
|
}
|
|
903
|
-
},
|
|
905
|
+
}, e.prototype.add = function(t) {
|
|
904
906
|
var r;
|
|
905
|
-
if (
|
|
907
|
+
if (t && t !== this)
|
|
906
908
|
if (this.closed)
|
|
907
|
-
|
|
909
|
+
xt(t);
|
|
908
910
|
else {
|
|
909
|
-
if (
|
|
910
|
-
if (
|
|
911
|
+
if (t instanceof e) {
|
|
912
|
+
if (t.closed || t._hasParent(this))
|
|
911
913
|
return;
|
|
912
|
-
|
|
914
|
+
t._addParent(this);
|
|
913
915
|
}
|
|
914
|
-
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(
|
|
916
|
+
(this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
|
|
915
917
|
}
|
|
916
|
-
},
|
|
918
|
+
}, e.prototype._hasParent = function(t) {
|
|
917
919
|
var r = this._parentage;
|
|
918
|
-
return r ===
|
|
919
|
-
},
|
|
920
|
+
return r === t || Array.isArray(r) && r.includes(t);
|
|
921
|
+
}, e.prototype._addParent = function(t) {
|
|
920
922
|
var r = this._parentage;
|
|
921
|
-
this._parentage = Array.isArray(r) ? (r.push(
|
|
922
|
-
},
|
|
923
|
+
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
924
|
+
}, e.prototype._removeParent = function(t) {
|
|
923
925
|
var r = this._parentage;
|
|
924
|
-
r ===
|
|
925
|
-
},
|
|
926
|
+
r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
|
|
927
|
+
}, e.prototype.remove = function(t) {
|
|
926
928
|
var r = this._finalizers;
|
|
927
|
-
r &&
|
|
928
|
-
},
|
|
929
|
-
var
|
|
930
|
-
return
|
|
931
|
-
}(),
|
|
932
|
-
}(),
|
|
933
|
-
function
|
|
934
|
-
return
|
|
935
|
-
}
|
|
936
|
-
function
|
|
937
|
-
G(
|
|
929
|
+
r && Je(r, t), t instanceof e && t._removeParent(this);
|
|
930
|
+
}, e.EMPTY = function() {
|
|
931
|
+
var t = new e();
|
|
932
|
+
return t.closed = !0, t;
|
|
933
|
+
}(), e;
|
|
934
|
+
}(), er = Te.EMPTY;
|
|
935
|
+
function tr(e) {
|
|
936
|
+
return e instanceof Te || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
|
|
937
|
+
}
|
|
938
|
+
function xt(e) {
|
|
939
|
+
G(e) ? e() : e.unsubscribe();
|
|
938
940
|
}
|
|
939
941
|
var En = {
|
|
940
942
|
Promise: void 0
|
|
941
943
|
}, wn = {
|
|
942
|
-
setTimeout: function(
|
|
944
|
+
setTimeout: function(e, t) {
|
|
943
945
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
944
946
|
r[n - 2] = arguments[n];
|
|
945
|
-
return setTimeout.apply(void 0,
|
|
947
|
+
return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
|
|
946
948
|
},
|
|
947
|
-
clearTimeout: function(
|
|
948
|
-
return clearTimeout(
|
|
949
|
+
clearTimeout: function(e) {
|
|
950
|
+
return clearTimeout(e);
|
|
949
951
|
},
|
|
950
952
|
delegate: void 0
|
|
951
953
|
};
|
|
952
|
-
function Sn(
|
|
954
|
+
function Sn(e) {
|
|
953
955
|
wn.setTimeout(function() {
|
|
954
|
-
throw
|
|
956
|
+
throw e;
|
|
955
957
|
});
|
|
956
958
|
}
|
|
957
|
-
function
|
|
959
|
+
function Et() {
|
|
958
960
|
}
|
|
959
|
-
function
|
|
960
|
-
|
|
961
|
+
function de(e) {
|
|
962
|
+
e();
|
|
961
963
|
}
|
|
962
|
-
var rr = function(
|
|
963
|
-
|
|
964
|
-
function
|
|
965
|
-
var n =
|
|
966
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
964
|
+
var rr = function(e) {
|
|
965
|
+
le(t, e);
|
|
966
|
+
function t(r) {
|
|
967
|
+
var n = e.call(this) || this;
|
|
968
|
+
return n.isStopped = !1, r ? (n.destination = r, tr(r) && r.add(n)) : n.destination = Cn, n;
|
|
967
969
|
}
|
|
968
|
-
return
|
|
969
|
-
return new
|
|
970
|
-
},
|
|
970
|
+
return t.create = function(r, n, i) {
|
|
971
|
+
return new qe(r, n, i);
|
|
972
|
+
}, t.prototype.next = function(r) {
|
|
971
973
|
this.isStopped || this._next(r);
|
|
972
|
-
},
|
|
974
|
+
}, t.prototype.error = function(r) {
|
|
973
975
|
this.isStopped || (this.isStopped = !0, this._error(r));
|
|
974
|
-
},
|
|
976
|
+
}, t.prototype.complete = function() {
|
|
975
977
|
this.isStopped || (this.isStopped = !0, this._complete());
|
|
976
|
-
},
|
|
977
|
-
this.closed || (this.isStopped = !0,
|
|
978
|
-
},
|
|
978
|
+
}, t.prototype.unsubscribe = function() {
|
|
979
|
+
this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
|
|
980
|
+
}, t.prototype._next = function(r) {
|
|
979
981
|
this.destination.next(r);
|
|
980
|
-
},
|
|
982
|
+
}, t.prototype._error = function(r) {
|
|
981
983
|
try {
|
|
982
984
|
this.destination.error(r);
|
|
983
985
|
} finally {
|
|
984
986
|
this.unsubscribe();
|
|
985
987
|
}
|
|
986
|
-
},
|
|
988
|
+
}, t.prototype._complete = function() {
|
|
987
989
|
try {
|
|
988
990
|
this.destination.complete();
|
|
989
991
|
} finally {
|
|
990
992
|
this.unsubscribe();
|
|
991
993
|
}
|
|
992
|
-
},
|
|
993
|
-
}(
|
|
994
|
-
function t
|
|
995
|
-
this.partialObserver =
|
|
994
|
+
}, t;
|
|
995
|
+
}(Te), Tn = function() {
|
|
996
|
+
function e(t) {
|
|
997
|
+
this.partialObserver = t;
|
|
996
998
|
}
|
|
997
|
-
return
|
|
999
|
+
return e.prototype.next = function(t) {
|
|
998
1000
|
var r = this.partialObserver;
|
|
999
1001
|
if (r.next)
|
|
1000
1002
|
try {
|
|
1001
|
-
r.next(
|
|
1003
|
+
r.next(t);
|
|
1002
1004
|
} catch (n) {
|
|
1003
|
-
|
|
1005
|
+
ce(n);
|
|
1004
1006
|
}
|
|
1005
|
-
},
|
|
1007
|
+
}, e.prototype.error = function(t) {
|
|
1006
1008
|
var r = this.partialObserver;
|
|
1007
1009
|
if (r.error)
|
|
1008
1010
|
try {
|
|
1009
|
-
r.error(
|
|
1011
|
+
r.error(t);
|
|
1010
1012
|
} catch (n) {
|
|
1011
|
-
|
|
1013
|
+
ce(n);
|
|
1012
1014
|
}
|
|
1013
1015
|
else
|
|
1014
|
-
|
|
1015
|
-
},
|
|
1016
|
-
var
|
|
1017
|
-
if (
|
|
1016
|
+
ce(t);
|
|
1017
|
+
}, e.prototype.complete = function() {
|
|
1018
|
+
var t = this.partialObserver;
|
|
1019
|
+
if (t.complete)
|
|
1018
1020
|
try {
|
|
1019
|
-
|
|
1021
|
+
t.complete();
|
|
1020
1022
|
} catch (r) {
|
|
1021
|
-
|
|
1023
|
+
ce(r);
|
|
1022
1024
|
}
|
|
1023
|
-
},
|
|
1024
|
-
}(),
|
|
1025
|
-
|
|
1026
|
-
function
|
|
1027
|
-
var o =
|
|
1025
|
+
}, e;
|
|
1026
|
+
}(), qe = function(e) {
|
|
1027
|
+
le(t, e);
|
|
1028
|
+
function t(r, n, i) {
|
|
1029
|
+
var o = e.call(this) || this, a;
|
|
1028
1030
|
return G(r) || !r ? a = {
|
|
1029
1031
|
next: r != null ? r : void 0,
|
|
1030
1032
|
error: n != null ? n : void 0,
|
|
1031
1033
|
complete: i != null ? i : void 0
|
|
1032
1034
|
} : a = r, o.destination = new Tn(a), o;
|
|
1033
1035
|
}
|
|
1034
|
-
return
|
|
1036
|
+
return t;
|
|
1035
1037
|
}(rr);
|
|
1036
|
-
function
|
|
1037
|
-
Sn(
|
|
1038
|
+
function ce(e) {
|
|
1039
|
+
Sn(e);
|
|
1038
1040
|
}
|
|
1039
|
-
function Hn(
|
|
1040
|
-
throw
|
|
1041
|
+
function Hn(e) {
|
|
1042
|
+
throw e;
|
|
1041
1043
|
}
|
|
1042
1044
|
var Cn = {
|
|
1043
1045
|
closed: !0,
|
|
1044
|
-
next:
|
|
1046
|
+
next: Et,
|
|
1045
1047
|
error: Hn,
|
|
1046
|
-
complete:
|
|
1047
|
-
},
|
|
1048
|
+
complete: Et
|
|
1049
|
+
}, An = function() {
|
|
1048
1050
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
1049
1051
|
}();
|
|
1050
|
-
function
|
|
1051
|
-
return
|
|
1052
|
+
function Bn(e) {
|
|
1053
|
+
return e;
|
|
1052
1054
|
}
|
|
1053
|
-
function Pn(
|
|
1054
|
-
return
|
|
1055
|
-
return
|
|
1055
|
+
function Pn(e) {
|
|
1056
|
+
return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
|
|
1057
|
+
return e.reduce(function(n, i) {
|
|
1056
1058
|
return i(n);
|
|
1057
1059
|
}, r);
|
|
1058
1060
|
};
|
|
1059
1061
|
}
|
|
1060
|
-
var
|
|
1061
|
-
function t
|
|
1062
|
-
|
|
1062
|
+
var wt = function() {
|
|
1063
|
+
function e(t) {
|
|
1064
|
+
t && (this._subscribe = t);
|
|
1063
1065
|
}
|
|
1064
|
-
return
|
|
1065
|
-
var r = new
|
|
1066
|
-
return r.source = this, r.operator =
|
|
1067
|
-
},
|
|
1068
|
-
var i = this, o = Ln(
|
|
1069
|
-
return
|
|
1066
|
+
return e.prototype.lift = function(t) {
|
|
1067
|
+
var r = new e();
|
|
1068
|
+
return r.source = this, r.operator = t, r;
|
|
1069
|
+
}, e.prototype.subscribe = function(t, r, n) {
|
|
1070
|
+
var i = this, o = Ln(t) ? t : new qe(t, r, n);
|
|
1071
|
+
return de(function() {
|
|
1070
1072
|
var a = i, s = a.operator, l = a.source;
|
|
1071
1073
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
1072
1074
|
}), o;
|
|
1073
|
-
},
|
|
1075
|
+
}, e.prototype._trySubscribe = function(t) {
|
|
1074
1076
|
try {
|
|
1075
|
-
return this._subscribe(
|
|
1077
|
+
return this._subscribe(t);
|
|
1076
1078
|
} catch (r) {
|
|
1077
|
-
|
|
1079
|
+
t.error(r);
|
|
1078
1080
|
}
|
|
1079
|
-
},
|
|
1081
|
+
}, e.prototype.forEach = function(t, r) {
|
|
1080
1082
|
var n = this;
|
|
1081
|
-
return r =
|
|
1082
|
-
var a = new
|
|
1083
|
+
return r = St(r), new r(function(i, o) {
|
|
1084
|
+
var a = new qe({
|
|
1083
1085
|
next: function(s) {
|
|
1084
1086
|
try {
|
|
1085
|
-
|
|
1087
|
+
t(s);
|
|
1086
1088
|
} catch (l) {
|
|
1087
1089
|
o(l), a.unsubscribe();
|
|
1088
1090
|
}
|
|
@@ -1092,18 +1094,18 @@ var we = function() {
|
|
|
1092
1094
|
});
|
|
1093
1095
|
n.subscribe(a);
|
|
1094
1096
|
});
|
|
1095
|
-
},
|
|
1097
|
+
}, e.prototype._subscribe = function(t) {
|
|
1096
1098
|
var r;
|
|
1097
|
-
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(
|
|
1098
|
-
},
|
|
1099
|
+
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1100
|
+
}, e.prototype[An] = function() {
|
|
1099
1101
|
return this;
|
|
1100
|
-
},
|
|
1101
|
-
for (var
|
|
1102
|
-
|
|
1103
|
-
return Pn(
|
|
1104
|
-
},
|
|
1102
|
+
}, e.prototype.pipe = function() {
|
|
1103
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1104
|
+
t[r] = arguments[r];
|
|
1105
|
+
return Pn(t)(this);
|
|
1106
|
+
}, e.prototype.toPromise = function(t) {
|
|
1105
1107
|
var r = this;
|
|
1106
|
-
return
|
|
1108
|
+
return t = St(t), new t(function(n, i) {
|
|
1107
1109
|
var o;
|
|
1108
1110
|
r.subscribe(function(a) {
|
|
1109
1111
|
return o = a;
|
|
@@ -1113,44 +1115,44 @@ var we = function() {
|
|
|
1113
1115
|
return n(o);
|
|
1114
1116
|
});
|
|
1115
1117
|
});
|
|
1116
|
-
},
|
|
1117
|
-
return new t
|
|
1118
|
-
},
|
|
1118
|
+
}, e.create = function(t) {
|
|
1119
|
+
return new e(t);
|
|
1120
|
+
}, e;
|
|
1119
1121
|
}();
|
|
1120
|
-
function
|
|
1121
|
-
var
|
|
1122
|
-
return (
|
|
1122
|
+
function St(e) {
|
|
1123
|
+
var t;
|
|
1124
|
+
return (t = e != null ? e : En.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1123
1125
|
}
|
|
1124
|
-
function On(
|
|
1125
|
-
return
|
|
1126
|
+
function On(e) {
|
|
1127
|
+
return e && G(e.next) && G(e.error) && G(e.complete);
|
|
1126
1128
|
}
|
|
1127
|
-
function Ln(
|
|
1128
|
-
return
|
|
1129
|
+
function Ln(e) {
|
|
1130
|
+
return e && e instanceof rr || On(e) && tr(e);
|
|
1129
1131
|
}
|
|
1130
|
-
var In =
|
|
1132
|
+
var In = Kt(function(e) {
|
|
1131
1133
|
return function() {
|
|
1132
|
-
|
|
1134
|
+
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1133
1135
|
};
|
|
1134
|
-
}), nr = function(
|
|
1135
|
-
|
|
1136
|
-
function
|
|
1137
|
-
var r =
|
|
1136
|
+
}), nr = function(e) {
|
|
1137
|
+
le(t, e);
|
|
1138
|
+
function t() {
|
|
1139
|
+
var r = e.call(this) || this;
|
|
1138
1140
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1139
1141
|
}
|
|
1140
|
-
return
|
|
1141
|
-
var n = new
|
|
1142
|
+
return t.prototype.lift = function(r) {
|
|
1143
|
+
var n = new Tt(this, this);
|
|
1142
1144
|
return n.operator = r, n;
|
|
1143
|
-
},
|
|
1145
|
+
}, t.prototype._throwIfClosed = function() {
|
|
1144
1146
|
if (this.closed)
|
|
1145
1147
|
throw new In();
|
|
1146
|
-
},
|
|
1148
|
+
}, t.prototype.next = function(r) {
|
|
1147
1149
|
var n = this;
|
|
1148
|
-
|
|
1150
|
+
de(function() {
|
|
1149
1151
|
var i, o;
|
|
1150
1152
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1151
1153
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1152
1154
|
try {
|
|
1153
|
-
for (var a =
|
|
1155
|
+
for (var a = We(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1154
1156
|
var l = s.value;
|
|
1155
1157
|
l.next(r);
|
|
1156
1158
|
}
|
|
@@ -1166,119 +1168,119 @@ var In = Ke(function(t) {
|
|
|
1166
1168
|
}
|
|
1167
1169
|
}
|
|
1168
1170
|
});
|
|
1169
|
-
},
|
|
1171
|
+
}, t.prototype.error = function(r) {
|
|
1170
1172
|
var n = this;
|
|
1171
|
-
|
|
1173
|
+
de(function() {
|
|
1172
1174
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1173
1175
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1174
1176
|
for (var i = n.observers; i.length; )
|
|
1175
1177
|
i.shift().error(r);
|
|
1176
1178
|
}
|
|
1177
1179
|
});
|
|
1178
|
-
},
|
|
1180
|
+
}, t.prototype.complete = function() {
|
|
1179
1181
|
var r = this;
|
|
1180
|
-
|
|
1182
|
+
de(function() {
|
|
1181
1183
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1182
1184
|
r.isStopped = !0;
|
|
1183
1185
|
for (var n = r.observers; n.length; )
|
|
1184
1186
|
n.shift().complete();
|
|
1185
1187
|
}
|
|
1186
1188
|
});
|
|
1187
|
-
},
|
|
1189
|
+
}, t.prototype.unsubscribe = function() {
|
|
1188
1190
|
this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
|
|
1189
|
-
}, Object.defineProperty(
|
|
1191
|
+
}, Object.defineProperty(t.prototype, "observed", {
|
|
1190
1192
|
get: function() {
|
|
1191
1193
|
var r;
|
|
1192
1194
|
return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
|
|
1193
1195
|
},
|
|
1194
1196
|
enumerable: !1,
|
|
1195
1197
|
configurable: !0
|
|
1196
|
-
}),
|
|
1197
|
-
return this._throwIfClosed(),
|
|
1198
|
-
},
|
|
1198
|
+
}), t.prototype._trySubscribe = function(r) {
|
|
1199
|
+
return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
|
|
1200
|
+
}, t.prototype._subscribe = function(r) {
|
|
1199
1201
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1200
|
-
},
|
|
1202
|
+
}, t.prototype._innerSubscribe = function(r) {
|
|
1201
1203
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1202
|
-
return o || a ?
|
|
1203
|
-
n.currentObservers = null,
|
|
1204
|
+
return o || a ? er : (this.currentObservers = null, s.push(r), new Te(function() {
|
|
1205
|
+
n.currentObservers = null, Je(s, r);
|
|
1204
1206
|
}));
|
|
1205
|
-
},
|
|
1207
|
+
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1206
1208
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1207
1209
|
i ? r.error(o) : a && r.complete();
|
|
1208
|
-
},
|
|
1209
|
-
var r = new
|
|
1210
|
+
}, t.prototype.asObservable = function() {
|
|
1211
|
+
var r = new wt();
|
|
1210
1212
|
return r.source = this, r;
|
|
1211
|
-
},
|
|
1212
|
-
return new
|
|
1213
|
-
},
|
|
1214
|
-
}(
|
|
1215
|
-
|
|
1216
|
-
function
|
|
1217
|
-
var i =
|
|
1213
|
+
}, t.create = function(r, n) {
|
|
1214
|
+
return new Tt(r, n);
|
|
1215
|
+
}, t;
|
|
1216
|
+
}(wt), Tt = function(e) {
|
|
1217
|
+
le(t, e);
|
|
1218
|
+
function t(r, n) {
|
|
1219
|
+
var i = e.call(this) || this;
|
|
1218
1220
|
return i.destination = r, i.source = n, i;
|
|
1219
1221
|
}
|
|
1220
|
-
return
|
|
1222
|
+
return t.prototype.next = function(r) {
|
|
1221
1223
|
var n, i;
|
|
1222
1224
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
|
|
1223
|
-
},
|
|
1225
|
+
}, t.prototype.error = function(r) {
|
|
1224
1226
|
var n, i;
|
|
1225
1227
|
(i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
|
|
1226
|
-
},
|
|
1228
|
+
}, t.prototype.complete = function() {
|
|
1227
1229
|
var r, n;
|
|
1228
1230
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1229
|
-
},
|
|
1231
|
+
}, t.prototype._subscribe = function(r) {
|
|
1230
1232
|
var n, i;
|
|
1231
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1232
|
-
},
|
|
1233
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : er;
|
|
1234
|
+
}, t;
|
|
1233
1235
|
}(nr), ir = {
|
|
1234
1236
|
now: function() {
|
|
1235
1237
|
return (ir.delegate || Date).now();
|
|
1236
1238
|
},
|
|
1237
1239
|
delegate: void 0
|
|
1238
|
-
}, Mn = function(
|
|
1239
|
-
|
|
1240
|
-
function
|
|
1240
|
+
}, Mn = function(e) {
|
|
1241
|
+
le(t, e);
|
|
1242
|
+
function t(r, n, i) {
|
|
1241
1243
|
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
|
|
1242
|
-
var o =
|
|
1244
|
+
var o = e.call(this) || this;
|
|
1243
1245
|
return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
|
|
1244
1246
|
}
|
|
1245
|
-
return
|
|
1247
|
+
return t.prototype.next = function(r) {
|
|
1246
1248
|
var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
|
|
1247
|
-
i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(),
|
|
1248
|
-
},
|
|
1249
|
+
i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
|
|
1250
|
+
}, t.prototype._subscribe = function(r) {
|
|
1249
1251
|
this._throwIfClosed(), this._trimBuffer();
|
|
1250
1252
|
for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
|
|
1251
1253
|
r.next(s[l]);
|
|
1252
1254
|
return this._checkFinalizedStatuses(r), n;
|
|
1253
|
-
},
|
|
1255
|
+
}, t.prototype._trimBuffer = function() {
|
|
1254
1256
|
var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
|
|
1255
1257
|
if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
|
|
1256
1258
|
for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
|
|
1257
1259
|
u = h;
|
|
1258
1260
|
u && o.splice(0, u + 1);
|
|
1259
1261
|
}
|
|
1260
|
-
},
|
|
1262
|
+
}, t;
|
|
1261
1263
|
}(nr);
|
|
1262
|
-
const
|
|
1263
|
-
if (
|
|
1264
|
-
const r = new Mn(
|
|
1265
|
-
|
|
1264
|
+
const Ht = [], Ct = {}, Nn = (e, t = 0) => {
|
|
1265
|
+
if (Ht.indexOf(e) == -1) {
|
|
1266
|
+
const r = new Mn(t);
|
|
1267
|
+
Ct[e] = r, Ht.push(e);
|
|
1266
1268
|
}
|
|
1267
|
-
return
|
|
1269
|
+
return Ct[e];
|
|
1268
1270
|
}, V = [];
|
|
1269
|
-
function $n(
|
|
1271
|
+
function $n(e, t) {
|
|
1270
1272
|
return {
|
|
1271
|
-
subscribe:
|
|
1273
|
+
subscribe: He(e, t).subscribe
|
|
1272
1274
|
};
|
|
1273
1275
|
}
|
|
1274
|
-
function
|
|
1276
|
+
function He(e, t = I) {
|
|
1275
1277
|
let r;
|
|
1276
1278
|
const n = /* @__PURE__ */ new Set();
|
|
1277
1279
|
function i(s) {
|
|
1278
|
-
if (
|
|
1280
|
+
if (Xt(e, s) && (e = s, r)) {
|
|
1279
1281
|
const l = !V.length;
|
|
1280
1282
|
for (const u of n)
|
|
1281
|
-
u[1](), V.push(u,
|
|
1283
|
+
u[1](), V.push(u, e);
|
|
1282
1284
|
if (l) {
|
|
1283
1285
|
for (let u = 0; u < V.length; u += 2)
|
|
1284
1286
|
V[u][0](V[u + 1]);
|
|
@@ -1287,21 +1289,21 @@ function Ht(t, e = I) {
|
|
|
1287
1289
|
}
|
|
1288
1290
|
}
|
|
1289
1291
|
function o(s) {
|
|
1290
|
-
i(s(
|
|
1292
|
+
i(s(e));
|
|
1291
1293
|
}
|
|
1292
1294
|
function a(s, l = I) {
|
|
1293
1295
|
const u = [s, l];
|
|
1294
|
-
return n.add(u), n.size === 1 && (r =
|
|
1296
|
+
return n.add(u), n.size === 1 && (r = t(i, o) || I), s(e), () => {
|
|
1295
1297
|
n.delete(u), n.size === 0 && r && (r(), r = null);
|
|
1296
1298
|
};
|
|
1297
1299
|
}
|
|
1298
1300
|
return { set: i, update: o, subscribe: a };
|
|
1299
1301
|
}
|
|
1300
|
-
function Y(
|
|
1301
|
-
const n = !Array.isArray(
|
|
1302
|
+
function Y(e, t, r) {
|
|
1303
|
+
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1302
1304
|
if (!i.every(Boolean))
|
|
1303
1305
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1304
|
-
const o =
|
|
1306
|
+
const o = t.length < 2;
|
|
1305
1307
|
return $n(r, (a, s) => {
|
|
1306
1308
|
let l = !1;
|
|
1307
1309
|
const u = [];
|
|
@@ -1310,10 +1312,10 @@ function Y(t, e, r) {
|
|
|
1310
1312
|
if (h)
|
|
1311
1313
|
return;
|
|
1312
1314
|
c();
|
|
1313
|
-
const m =
|
|
1314
|
-
o ? a(m) : c =
|
|
1315
|
+
const m = t(n ? u[0] : u, a, s);
|
|
1316
|
+
o ? a(m) : c = Se(m) ? m : I;
|
|
1315
1317
|
}, p = i.map(
|
|
1316
|
-
(m, d) =>
|
|
1318
|
+
(m, d) => zt(
|
|
1317
1319
|
m,
|
|
1318
1320
|
(v) => {
|
|
1319
1321
|
u[d] = v, h &= ~(1 << d), l && f();
|
|
@@ -1328,236 +1330,236 @@ function Y(t, e, r) {
|
|
|
1328
1330
|
};
|
|
1329
1331
|
});
|
|
1330
1332
|
}
|
|
1331
|
-
function Rn(
|
|
1332
|
-
return
|
|
1333
|
+
function Rn(e) {
|
|
1334
|
+
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1333
1335
|
}
|
|
1334
|
-
var Gn = function(
|
|
1335
|
-
return Un(
|
|
1336
|
+
var Gn = function(t) {
|
|
1337
|
+
return Un(t) && !Dn(t);
|
|
1336
1338
|
};
|
|
1337
|
-
function Un(
|
|
1338
|
-
return !!
|
|
1339
|
+
function Un(e) {
|
|
1340
|
+
return !!e && typeof e == "object";
|
|
1339
1341
|
}
|
|
1340
|
-
function Dn(
|
|
1341
|
-
var
|
|
1342
|
-
return
|
|
1342
|
+
function Dn(e) {
|
|
1343
|
+
var t = Object.prototype.toString.call(e);
|
|
1344
|
+
return t === "[object RegExp]" || t === "[object Date]" || kn(e);
|
|
1343
1345
|
}
|
|
1344
1346
|
var Fn = typeof Symbol == "function" && Symbol.for, jn = Fn ? Symbol.for("react.element") : 60103;
|
|
1345
|
-
function kn(
|
|
1346
|
-
return
|
|
1347
|
+
function kn(e) {
|
|
1348
|
+
return e.$$typeof === jn;
|
|
1347
1349
|
}
|
|
1348
|
-
function Vn(
|
|
1349
|
-
return Array.isArray(
|
|
1350
|
+
function Vn(e) {
|
|
1351
|
+
return Array.isArray(e) ? [] : {};
|
|
1350
1352
|
}
|
|
1351
|
-
function
|
|
1352
|
-
return
|
|
1353
|
+
function se(e, t) {
|
|
1354
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? Z(Vn(e), e, t) : e;
|
|
1353
1355
|
}
|
|
1354
|
-
function Xn(
|
|
1355
|
-
return
|
|
1356
|
-
return
|
|
1356
|
+
function Xn(e, t, r) {
|
|
1357
|
+
return e.concat(t).map(function(n) {
|
|
1358
|
+
return se(n, r);
|
|
1357
1359
|
});
|
|
1358
1360
|
}
|
|
1359
|
-
function zn(
|
|
1360
|
-
if (!
|
|
1361
|
+
function zn(e, t) {
|
|
1362
|
+
if (!t.customMerge)
|
|
1361
1363
|
return Z;
|
|
1362
|
-
var r =
|
|
1364
|
+
var r = t.customMerge(e);
|
|
1363
1365
|
return typeof r == "function" ? r : Z;
|
|
1364
1366
|
}
|
|
1365
|
-
function Wn(
|
|
1366
|
-
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(
|
|
1367
|
-
return Object.propertyIsEnumerable.call(
|
|
1367
|
+
function Wn(e) {
|
|
1368
|
+
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1369
|
+
return Object.propertyIsEnumerable.call(e, t);
|
|
1368
1370
|
}) : [];
|
|
1369
1371
|
}
|
|
1370
|
-
function
|
|
1371
|
-
return Object.keys(
|
|
1372
|
+
function At(e) {
|
|
1373
|
+
return Object.keys(e).concat(Wn(e));
|
|
1372
1374
|
}
|
|
1373
|
-
function or(
|
|
1375
|
+
function or(e, t) {
|
|
1374
1376
|
try {
|
|
1375
|
-
return
|
|
1377
|
+
return t in e;
|
|
1376
1378
|
} catch (r) {
|
|
1377
1379
|
return !1;
|
|
1378
1380
|
}
|
|
1379
1381
|
}
|
|
1380
|
-
function Zn(
|
|
1381
|
-
return or(
|
|
1382
|
+
function Zn(e, t) {
|
|
1383
|
+
return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1382
1384
|
}
|
|
1383
|
-
function Qn(
|
|
1385
|
+
function Qn(e, t, r) {
|
|
1384
1386
|
var n = {};
|
|
1385
|
-
return r.isMergeableObject(
|
|
1386
|
-
n[i] =
|
|
1387
|
-
}),
|
|
1388
|
-
Zn(
|
|
1387
|
+
return r.isMergeableObject(e) && At(e).forEach(function(i) {
|
|
1388
|
+
n[i] = se(e[i], r);
|
|
1389
|
+
}), At(t).forEach(function(i) {
|
|
1390
|
+
Zn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = zn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
|
|
1389
1391
|
}), n;
|
|
1390
1392
|
}
|
|
1391
|
-
function Z(
|
|
1392
|
-
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified =
|
|
1393
|
-
var n = Array.isArray(
|
|
1394
|
-
return o ? n ? r.arrayMerge(
|
|
1393
|
+
function Z(e, t, r) {
|
|
1394
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || Xn, r.isMergeableObject = r.isMergeableObject || Gn, r.cloneUnlessOtherwiseSpecified = se;
|
|
1395
|
+
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1396
|
+
return o ? n ? r.arrayMerge(e, t, r) : Qn(e, t, r) : se(t, r);
|
|
1395
1397
|
}
|
|
1396
|
-
Z.all = function(
|
|
1397
|
-
if (!Array.isArray(
|
|
1398
|
+
Z.all = function(t, r) {
|
|
1399
|
+
if (!Array.isArray(t))
|
|
1398
1400
|
throw new Error("first argument should be an array");
|
|
1399
|
-
return
|
|
1401
|
+
return t.reduce(function(n, i) {
|
|
1400
1402
|
return Z(n, i, r);
|
|
1401
1403
|
}, {});
|
|
1402
1404
|
};
|
|
1403
1405
|
var Jn = Z, qn = Jn;
|
|
1404
1406
|
const Yn = /* @__PURE__ */ Rn(qn);
|
|
1405
|
-
var
|
|
1406
|
-
return
|
|
1407
|
+
var Ye = function(e, t) {
|
|
1408
|
+
return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
1407
1409
|
r.__proto__ = n;
|
|
1408
1410
|
} || function(r, n) {
|
|
1409
1411
|
for (var i in n)
|
|
1410
1412
|
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
1411
|
-
},
|
|
1413
|
+
}, Ye(e, t);
|
|
1412
1414
|
};
|
|
1413
|
-
function
|
|
1414
|
-
if (typeof
|
|
1415
|
-
throw new TypeError("Class extends value " + String(
|
|
1416
|
-
|
|
1415
|
+
function Ce(e, t) {
|
|
1416
|
+
if (typeof t != "function" && t !== null)
|
|
1417
|
+
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
1418
|
+
Ye(e, t);
|
|
1417
1419
|
function r() {
|
|
1418
|
-
this.constructor =
|
|
1420
|
+
this.constructor = e;
|
|
1419
1421
|
}
|
|
1420
|
-
|
|
1422
|
+
e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
|
|
1421
1423
|
}
|
|
1422
1424
|
var N = function() {
|
|
1423
|
-
return N = Object.assign || function(
|
|
1425
|
+
return N = Object.assign || function(t) {
|
|
1424
1426
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1425
1427
|
r = arguments[n];
|
|
1426
1428
|
for (var o in r)
|
|
1427
|
-
Object.prototype.hasOwnProperty.call(r, o) && (
|
|
1429
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1428
1430
|
}
|
|
1429
|
-
return
|
|
1431
|
+
return t;
|
|
1430
1432
|
}, N.apply(this, arguments);
|
|
1431
1433
|
};
|
|
1432
|
-
function Kn(
|
|
1434
|
+
function Kn(e, t) {
|
|
1433
1435
|
var r = {};
|
|
1434
|
-
for (var n in
|
|
1435
|
-
Object.prototype.hasOwnProperty.call(
|
|
1436
|
-
if (
|
|
1437
|
-
for (var i = 0, n = Object.getOwnPropertySymbols(
|
|
1438
|
-
|
|
1436
|
+
for (var n in e)
|
|
1437
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
1438
|
+
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
1439
|
+
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
1440
|
+
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
1439
1441
|
return r;
|
|
1440
1442
|
}
|
|
1441
|
-
function
|
|
1443
|
+
function Ge(e, t, r) {
|
|
1442
1444
|
if (r || arguments.length === 2)
|
|
1443
|
-
for (var n = 0, i =
|
|
1444
|
-
(o || !(n in
|
|
1445
|
-
return
|
|
1445
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
1446
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
1447
|
+
return e.concat(o || Array.prototype.slice.call(t));
|
|
1446
1448
|
}
|
|
1447
|
-
function
|
|
1448
|
-
var r =
|
|
1449
|
-
return i(
|
|
1449
|
+
function Ue(e, t) {
|
|
1450
|
+
var r = t && t.cache ? t.cache : si, n = t && t.serializer ? t.serializer : ii, i = t && t.strategy ? t.strategy : ri;
|
|
1451
|
+
return i(e, {
|
|
1450
1452
|
cache: r,
|
|
1451
1453
|
serializer: n
|
|
1452
1454
|
});
|
|
1453
1455
|
}
|
|
1454
|
-
function
|
|
1455
|
-
return
|
|
1456
|
+
function ei(e) {
|
|
1457
|
+
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1456
1458
|
}
|
|
1457
|
-
function
|
|
1458
|
-
var i =
|
|
1459
|
-
return typeof o == "undefined" && (o =
|
|
1459
|
+
function ti(e, t, r, n) {
|
|
1460
|
+
var i = ei(n) ? n : r(n), o = t.get(i);
|
|
1461
|
+
return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1460
1462
|
}
|
|
1461
|
-
function sr(
|
|
1462
|
-
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o =
|
|
1463
|
-
return typeof o == "undefined" && (o =
|
|
1463
|
+
function sr(e, t, r) {
|
|
1464
|
+
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1465
|
+
return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1464
1466
|
}
|
|
1465
|
-
function ar(
|
|
1466
|
-
return r.bind(
|
|
1467
|
+
function ar(e, t, r, n, i) {
|
|
1468
|
+
return r.bind(t, e, n, i);
|
|
1467
1469
|
}
|
|
1468
|
-
function ri(
|
|
1469
|
-
var r =
|
|
1470
|
-
return ar(
|
|
1470
|
+
function ri(e, t) {
|
|
1471
|
+
var r = e.length === 1 ? ti : sr;
|
|
1472
|
+
return ar(e, this, r, t.cache.create(), t.serializer);
|
|
1471
1473
|
}
|
|
1472
|
-
function ni(
|
|
1473
|
-
return ar(
|
|
1474
|
+
function ni(e, t) {
|
|
1475
|
+
return ar(e, this, sr, t.cache.create(), t.serializer);
|
|
1474
1476
|
}
|
|
1475
1477
|
var ii = function() {
|
|
1476
1478
|
return JSON.stringify(arguments);
|
|
1477
1479
|
}, oi = (
|
|
1478
1480
|
/** @class */
|
|
1479
1481
|
function() {
|
|
1480
|
-
function
|
|
1482
|
+
function e() {
|
|
1481
1483
|
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1482
1484
|
}
|
|
1483
|
-
return
|
|
1484
|
-
return this.cache[
|
|
1485
|
-
},
|
|
1486
|
-
this.cache[
|
|
1487
|
-
},
|
|
1485
|
+
return e.prototype.get = function(t) {
|
|
1486
|
+
return this.cache[t];
|
|
1487
|
+
}, e.prototype.set = function(t, r) {
|
|
1488
|
+
this.cache[t] = r;
|
|
1489
|
+
}, e;
|
|
1488
1490
|
}()
|
|
1489
1491
|
), si = {
|
|
1490
1492
|
create: function() {
|
|
1491
1493
|
return new oi();
|
|
1492
1494
|
}
|
|
1493
|
-
},
|
|
1495
|
+
}, De = {
|
|
1494
1496
|
variadic: ni
|
|
1495
|
-
},
|
|
1496
|
-
return
|
|
1497
|
+
}, xe = function() {
|
|
1498
|
+
return xe = Object.assign || function(t) {
|
|
1497
1499
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1498
1500
|
r = arguments[n];
|
|
1499
1501
|
for (var o in r)
|
|
1500
|
-
Object.prototype.hasOwnProperty.call(r, o) && (
|
|
1502
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1501
1503
|
}
|
|
1502
|
-
return
|
|
1503
|
-
},
|
|
1504
|
+
return t;
|
|
1505
|
+
}, xe.apply(this, arguments);
|
|
1504
1506
|
};
|
|
1505
1507
|
var b;
|
|
1506
|
-
(function(
|
|
1507
|
-
|
|
1508
|
+
(function(e) {
|
|
1509
|
+
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";
|
|
1508
1510
|
})(b || (b = {}));
|
|
1509
1511
|
var x;
|
|
1510
|
-
(function(
|
|
1511
|
-
|
|
1512
|
+
(function(e) {
|
|
1513
|
+
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";
|
|
1512
1514
|
})(x || (x = {}));
|
|
1513
1515
|
var Q;
|
|
1514
|
-
(function(
|
|
1515
|
-
|
|
1516
|
+
(function(e) {
|
|
1517
|
+
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1516
1518
|
})(Q || (Q = {}));
|
|
1517
|
-
function
|
|
1518
|
-
return
|
|
1519
|
+
function Bt(e) {
|
|
1520
|
+
return e.type === x.literal;
|
|
1519
1521
|
}
|
|
1520
|
-
function ai(
|
|
1521
|
-
return
|
|
1522
|
+
function ai(e) {
|
|
1523
|
+
return e.type === x.argument;
|
|
1522
1524
|
}
|
|
1523
|
-
function ur(
|
|
1524
|
-
return
|
|
1525
|
+
function ur(e) {
|
|
1526
|
+
return e.type === x.number;
|
|
1525
1527
|
}
|
|
1526
|
-
function lr(
|
|
1527
|
-
return
|
|
1528
|
+
function lr(e) {
|
|
1529
|
+
return e.type === x.date;
|
|
1528
1530
|
}
|
|
1529
|
-
function hr(
|
|
1530
|
-
return
|
|
1531
|
+
function hr(e) {
|
|
1532
|
+
return e.type === x.time;
|
|
1531
1533
|
}
|
|
1532
|
-
function cr(
|
|
1533
|
-
return
|
|
1534
|
+
function cr(e) {
|
|
1535
|
+
return e.type === x.select;
|
|
1534
1536
|
}
|
|
1535
|
-
function fr(
|
|
1536
|
-
return
|
|
1537
|
+
function fr(e) {
|
|
1538
|
+
return e.type === x.plural;
|
|
1537
1539
|
}
|
|
1538
|
-
function ui(
|
|
1539
|
-
return
|
|
1540
|
+
function ui(e) {
|
|
1541
|
+
return e.type === x.pound;
|
|
1540
1542
|
}
|
|
1541
|
-
function mr(
|
|
1542
|
-
return
|
|
1543
|
+
function mr(e) {
|
|
1544
|
+
return e.type === x.tag;
|
|
1543
1545
|
}
|
|
1544
|
-
function pr(
|
|
1545
|
-
return !!(
|
|
1546
|
+
function pr(e) {
|
|
1547
|
+
return !!(e && typeof e == "object" && e.type === Q.number);
|
|
1546
1548
|
}
|
|
1547
|
-
function
|
|
1548
|
-
return !!(
|
|
1549
|
+
function Ke(e) {
|
|
1550
|
+
return !!(e && typeof e == "object" && e.type === Q.dateTime);
|
|
1549
1551
|
}
|
|
1550
1552
|
var dr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, li = /(?:[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;
|
|
1551
|
-
function hi(
|
|
1552
|
-
var
|
|
1553
|
-
return
|
|
1553
|
+
function hi(e) {
|
|
1554
|
+
var t = {};
|
|
1555
|
+
return e.replace(li, function(r) {
|
|
1554
1556
|
var n = r.length;
|
|
1555
1557
|
switch (r[0]) {
|
|
1556
1558
|
case "G":
|
|
1557
|
-
|
|
1559
|
+
t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1558
1560
|
break;
|
|
1559
1561
|
case "y":
|
|
1560
|
-
|
|
1562
|
+
t.year = n === 2 ? "2-digit" : "numeric";
|
|
1561
1563
|
break;
|
|
1562
1564
|
case "Y":
|
|
1563
1565
|
case "u":
|
|
@@ -1569,64 +1571,64 @@ function hi(t) {
|
|
|
1569
1571
|
throw new RangeError("`q/Q` (quarter) patterns are not supported");
|
|
1570
1572
|
case "M":
|
|
1571
1573
|
case "L":
|
|
1572
|
-
|
|
1574
|
+
t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
|
|
1573
1575
|
break;
|
|
1574
1576
|
case "w":
|
|
1575
1577
|
case "W":
|
|
1576
1578
|
throw new RangeError("`w/W` (week) patterns are not supported");
|
|
1577
1579
|
case "d":
|
|
1578
|
-
|
|
1580
|
+
t.day = ["numeric", "2-digit"][n - 1];
|
|
1579
1581
|
break;
|
|
1580
1582
|
case "D":
|
|
1581
1583
|
case "F":
|
|
1582
1584
|
case "g":
|
|
1583
1585
|
throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
|
|
1584
1586
|
case "E":
|
|
1585
|
-
|
|
1587
|
+
t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
|
|
1586
1588
|
break;
|
|
1587
1589
|
case "e":
|
|
1588
1590
|
if (n < 4)
|
|
1589
1591
|
throw new RangeError("`e..eee` (weekday) patterns are not supported");
|
|
1590
|
-
|
|
1592
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1591
1593
|
break;
|
|
1592
1594
|
case "c":
|
|
1593
1595
|
if (n < 4)
|
|
1594
1596
|
throw new RangeError("`c..ccc` (weekday) patterns are not supported");
|
|
1595
|
-
|
|
1597
|
+
t.weekday = ["short", "long", "narrow", "short"][n - 4];
|
|
1596
1598
|
break;
|
|
1597
1599
|
case "a":
|
|
1598
|
-
|
|
1600
|
+
t.hour12 = !0;
|
|
1599
1601
|
break;
|
|
1600
1602
|
case "b":
|
|
1601
1603
|
case "B":
|
|
1602
1604
|
throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
|
|
1603
1605
|
case "h":
|
|
1604
|
-
|
|
1606
|
+
t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1605
1607
|
break;
|
|
1606
1608
|
case "H":
|
|
1607
|
-
|
|
1609
|
+
t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1608
1610
|
break;
|
|
1609
1611
|
case "K":
|
|
1610
|
-
|
|
1612
|
+
t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1611
1613
|
break;
|
|
1612
1614
|
case "k":
|
|
1613
|
-
|
|
1615
|
+
t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
|
|
1614
1616
|
break;
|
|
1615
1617
|
case "j":
|
|
1616
1618
|
case "J":
|
|
1617
1619
|
case "C":
|
|
1618
1620
|
throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
|
|
1619
1621
|
case "m":
|
|
1620
|
-
|
|
1622
|
+
t.minute = ["numeric", "2-digit"][n - 1];
|
|
1621
1623
|
break;
|
|
1622
1624
|
case "s":
|
|
1623
|
-
|
|
1625
|
+
t.second = ["numeric", "2-digit"][n - 1];
|
|
1624
1626
|
break;
|
|
1625
1627
|
case "S":
|
|
1626
1628
|
case "A":
|
|
1627
1629
|
throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
|
|
1628
1630
|
case "z":
|
|
1629
|
-
|
|
1631
|
+
t.timeZoneName = n < 4 ? "short" : "long";
|
|
1630
1632
|
break;
|
|
1631
1633
|
case "Z":
|
|
1632
1634
|
case "O":
|
|
@@ -1637,25 +1639,25 @@ function hi(t) {
|
|
|
1637
1639
|
throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
|
|
1638
1640
|
}
|
|
1639
1641
|
return "";
|
|
1640
|
-
}),
|
|
1642
|
+
}), t;
|
|
1641
1643
|
}
|
|
1642
1644
|
var w = function() {
|
|
1643
|
-
return w = Object.assign || function(
|
|
1645
|
+
return w = Object.assign || function(t) {
|
|
1644
1646
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
1645
1647
|
r = arguments[n];
|
|
1646
1648
|
for (var o in r)
|
|
1647
|
-
Object.prototype.hasOwnProperty.call(r, o) && (
|
|
1649
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
1648
1650
|
}
|
|
1649
|
-
return
|
|
1651
|
+
return t;
|
|
1650
1652
|
}, w.apply(this, arguments);
|
|
1651
1653
|
};
|
|
1652
1654
|
var ci = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1653
|
-
function fi(
|
|
1654
|
-
if (
|
|
1655
|
+
function fi(e) {
|
|
1656
|
+
if (e.length === 0)
|
|
1655
1657
|
throw new Error("Number skeleton cannot be empty");
|
|
1656
|
-
for (var
|
|
1658
|
+
for (var t = e.split(ci).filter(function(f) {
|
|
1657
1659
|
return f.length > 0;
|
|
1658
|
-
}), r = [], n = 0, i =
|
|
1660
|
+
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1659
1661
|
var o = i[n], a = o.split("/");
|
|
1660
1662
|
if (a.length === 0)
|
|
1661
1663
|
throw new Error("Invalid number skeleton");
|
|
@@ -1668,18 +1670,18 @@ function fi(t) {
|
|
|
1668
1670
|
}
|
|
1669
1671
|
return r;
|
|
1670
1672
|
}
|
|
1671
|
-
function mi(
|
|
1672
|
-
return
|
|
1673
|
+
function mi(e) {
|
|
1674
|
+
return e.replace(/^(.*?)-/, "");
|
|
1673
1675
|
}
|
|
1674
|
-
var
|
|
1675
|
-
function
|
|
1676
|
-
var
|
|
1677
|
-
return
|
|
1678
|
-
return typeof i != "string" ? (
|
|
1679
|
-
}),
|
|
1676
|
+
var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, pi = /(\*)(0+)|(#+)(0+)|(0+)/g, gr = /^(0+)$/;
|
|
1677
|
+
function Ot(e) {
|
|
1678
|
+
var t = {};
|
|
1679
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, n, i) {
|
|
1680
|
+
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)), "";
|
|
1681
|
+
}), t;
|
|
1680
1682
|
}
|
|
1681
|
-
function yr(
|
|
1682
|
-
switch (
|
|
1683
|
+
function yr(e) {
|
|
1684
|
+
switch (e) {
|
|
1683
1685
|
case "sign-auto":
|
|
1684
1686
|
return {
|
|
1685
1687
|
signDisplay: "auto"
|
|
@@ -1718,113 +1720,113 @@ function yr(t) {
|
|
|
1718
1720
|
};
|
|
1719
1721
|
}
|
|
1720
1722
|
}
|
|
1721
|
-
function di(
|
|
1722
|
-
var
|
|
1723
|
-
if (
|
|
1723
|
+
function di(e) {
|
|
1724
|
+
var t;
|
|
1725
|
+
if (e[0] === "E" && e[1] === "E" ? (t = {
|
|
1724
1726
|
notation: "engineering"
|
|
1725
|
-
},
|
|
1727
|
+
}, e = e.slice(2)) : e[0] === "E" && (t = {
|
|
1726
1728
|
notation: "scientific"
|
|
1727
|
-
},
|
|
1728
|
-
var r =
|
|
1729
|
-
if (r === "+!" ? (
|
|
1729
|
+
}, e = e.slice(1)), t) {
|
|
1730
|
+
var r = e.slice(0, 2);
|
|
1731
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !gr.test(e))
|
|
1730
1732
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1731
|
-
|
|
1733
|
+
t.minimumIntegerDigits = e.length;
|
|
1732
1734
|
}
|
|
1733
|
-
return
|
|
1735
|
+
return t;
|
|
1734
1736
|
}
|
|
1735
|
-
function
|
|
1736
|
-
var
|
|
1737
|
-
return r ||
|
|
1737
|
+
function Lt(e) {
|
|
1738
|
+
var t = {}, r = yr(e);
|
|
1739
|
+
return r || t;
|
|
1738
1740
|
}
|
|
1739
|
-
function bi(
|
|
1740
|
-
for (var
|
|
1741
|
+
function bi(e) {
|
|
1742
|
+
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1741
1743
|
var i = n[r];
|
|
1742
1744
|
switch (i.stem) {
|
|
1743
1745
|
case "percent":
|
|
1744
1746
|
case "%":
|
|
1745
|
-
|
|
1747
|
+
t.style = "percent";
|
|
1746
1748
|
continue;
|
|
1747
1749
|
case "%x100":
|
|
1748
|
-
|
|
1750
|
+
t.style = "percent", t.scale = 100;
|
|
1749
1751
|
continue;
|
|
1750
1752
|
case "currency":
|
|
1751
|
-
|
|
1753
|
+
t.style = "currency", t.currency = i.options[0];
|
|
1752
1754
|
continue;
|
|
1753
1755
|
case "group-off":
|
|
1754
1756
|
case ",_":
|
|
1755
|
-
|
|
1757
|
+
t.useGrouping = !1;
|
|
1756
1758
|
continue;
|
|
1757
1759
|
case "precision-integer":
|
|
1758
1760
|
case ".":
|
|
1759
|
-
|
|
1761
|
+
t.maximumFractionDigits = 0;
|
|
1760
1762
|
continue;
|
|
1761
1763
|
case "measure-unit":
|
|
1762
1764
|
case "unit":
|
|
1763
|
-
|
|
1765
|
+
t.style = "unit", t.unit = mi(i.options[0]);
|
|
1764
1766
|
continue;
|
|
1765
1767
|
case "compact-short":
|
|
1766
1768
|
case "K":
|
|
1767
|
-
|
|
1769
|
+
t.notation = "compact", t.compactDisplay = "short";
|
|
1768
1770
|
continue;
|
|
1769
1771
|
case "compact-long":
|
|
1770
1772
|
case "KK":
|
|
1771
|
-
|
|
1773
|
+
t.notation = "compact", t.compactDisplay = "long";
|
|
1772
1774
|
continue;
|
|
1773
1775
|
case "scientific":
|
|
1774
|
-
|
|
1775
|
-
return w(w({}, l),
|
|
1776
|
+
t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1777
|
+
return w(w({}, l), Lt(u));
|
|
1776
1778
|
}, {}));
|
|
1777
1779
|
continue;
|
|
1778
1780
|
case "engineering":
|
|
1779
|
-
|
|
1780
|
-
return w(w({}, l),
|
|
1781
|
+
t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1782
|
+
return w(w({}, l), Lt(u));
|
|
1781
1783
|
}, {}));
|
|
1782
1784
|
continue;
|
|
1783
1785
|
case "notation-simple":
|
|
1784
|
-
|
|
1786
|
+
t.notation = "standard";
|
|
1785
1787
|
continue;
|
|
1786
1788
|
case "unit-width-narrow":
|
|
1787
|
-
|
|
1789
|
+
t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
|
|
1788
1790
|
continue;
|
|
1789
1791
|
case "unit-width-short":
|
|
1790
|
-
|
|
1792
|
+
t.currencyDisplay = "code", t.unitDisplay = "short";
|
|
1791
1793
|
continue;
|
|
1792
1794
|
case "unit-width-full-name":
|
|
1793
|
-
|
|
1795
|
+
t.currencyDisplay = "name", t.unitDisplay = "long";
|
|
1794
1796
|
continue;
|
|
1795
1797
|
case "unit-width-iso-code":
|
|
1796
|
-
|
|
1798
|
+
t.currencyDisplay = "symbol";
|
|
1797
1799
|
continue;
|
|
1798
1800
|
case "scale":
|
|
1799
|
-
|
|
1801
|
+
t.scale = parseFloat(i.options[0]);
|
|
1800
1802
|
continue;
|
|
1801
1803
|
case "rounding-mode-floor":
|
|
1802
|
-
|
|
1804
|
+
t.roundingMode = "floor";
|
|
1803
1805
|
continue;
|
|
1804
1806
|
case "rounding-mode-ceiling":
|
|
1805
|
-
|
|
1807
|
+
t.roundingMode = "ceil";
|
|
1806
1808
|
continue;
|
|
1807
1809
|
case "rounding-mode-down":
|
|
1808
|
-
|
|
1810
|
+
t.roundingMode = "trunc";
|
|
1809
1811
|
continue;
|
|
1810
1812
|
case "rounding-mode-up":
|
|
1811
|
-
|
|
1813
|
+
t.roundingMode = "expand";
|
|
1812
1814
|
continue;
|
|
1813
1815
|
case "rounding-mode-half-even":
|
|
1814
|
-
|
|
1816
|
+
t.roundingMode = "halfEven";
|
|
1815
1817
|
continue;
|
|
1816
1818
|
case "rounding-mode-half-down":
|
|
1817
|
-
|
|
1819
|
+
t.roundingMode = "halfTrunc";
|
|
1818
1820
|
continue;
|
|
1819
1821
|
case "rounding-mode-half-up":
|
|
1820
|
-
|
|
1822
|
+
t.roundingMode = "halfExpand";
|
|
1821
1823
|
continue;
|
|
1822
1824
|
case "integer-width":
|
|
1823
1825
|
if (i.options.length > 1)
|
|
1824
1826
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1825
1827
|
i.options[0].replace(pi, function(l, u, h, c, f, p) {
|
|
1826
1828
|
if (u)
|
|
1827
|
-
|
|
1829
|
+
t.minimumIntegerDigits = h.length;
|
|
1828
1830
|
else {
|
|
1829
1831
|
if (c && f)
|
|
1830
1832
|
throw new Error("We currently do not support maximum integer digits");
|
|
@@ -1836,31 +1838,31 @@ function bi(t) {
|
|
|
1836
1838
|
continue;
|
|
1837
1839
|
}
|
|
1838
1840
|
if (gr.test(i.stem)) {
|
|
1839
|
-
|
|
1841
|
+
t.minimumIntegerDigits = i.stem.length;
|
|
1840
1842
|
continue;
|
|
1841
1843
|
}
|
|
1842
|
-
if (
|
|
1844
|
+
if (Pt.test(i.stem)) {
|
|
1843
1845
|
if (i.options.length > 1)
|
|
1844
1846
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1845
|
-
i.stem.replace(
|
|
1846
|
-
return h === "*" ?
|
|
1847
|
+
i.stem.replace(Pt, function(l, u, h, c, f, p) {
|
|
1848
|
+
return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1847
1849
|
});
|
|
1848
1850
|
var o = i.options[0];
|
|
1849
|
-
o === "w" ?
|
|
1851
|
+
o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Ot(o)));
|
|
1850
1852
|
continue;
|
|
1851
1853
|
}
|
|
1852
1854
|
if (br.test(i.stem)) {
|
|
1853
|
-
|
|
1855
|
+
t = w(w({}, t), Ot(i.stem));
|
|
1854
1856
|
continue;
|
|
1855
1857
|
}
|
|
1856
1858
|
var a = yr(i.stem);
|
|
1857
|
-
a && (
|
|
1859
|
+
a && (t = w(w({}, t), a));
|
|
1858
1860
|
var s = di(i.stem);
|
|
1859
|
-
s && (
|
|
1861
|
+
s && (t = w(w({}, t), s));
|
|
1860
1862
|
}
|
|
1861
|
-
return
|
|
1863
|
+
return t;
|
|
1862
1864
|
}
|
|
1863
|
-
var
|
|
1865
|
+
var fe = {
|
|
1864
1866
|
"001": [
|
|
1865
1867
|
"H",
|
|
1866
1868
|
"h"
|
|
@@ -3275,13 +3277,13 @@ var ft = {
|
|
|
3275
3277
|
"h"
|
|
3276
3278
|
]
|
|
3277
3279
|
};
|
|
3278
|
-
function gi(
|
|
3279
|
-
for (var r = "", n = 0; n <
|
|
3280
|
-
var i =
|
|
3280
|
+
function gi(e, t) {
|
|
3281
|
+
for (var r = "", n = 0; n < e.length; n++) {
|
|
3282
|
+
var i = e.charAt(n);
|
|
3281
3283
|
if (i === "j") {
|
|
3282
|
-
for (var o = 0; n + 1 <
|
|
3284
|
+
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3283
3285
|
o++, n++;
|
|
3284
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(
|
|
3286
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = yi(t);
|
|
3285
3287
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3286
3288
|
r += l;
|
|
3287
3289
|
for (; a-- > 0; )
|
|
@@ -3291,12 +3293,12 @@ function gi(t, e) {
|
|
|
3291
3293
|
}
|
|
3292
3294
|
return r;
|
|
3293
3295
|
}
|
|
3294
|
-
function yi(
|
|
3295
|
-
var
|
|
3296
|
-
if (
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
switch (
|
|
3296
|
+
function yi(e) {
|
|
3297
|
+
var t = e.hourCycle;
|
|
3298
|
+
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3299
|
+
e.hourCycles && // @ts-ignore
|
|
3300
|
+
e.hourCycles.length && (t = e.hourCycles[0]), t)
|
|
3301
|
+
switch (t) {
|
|
3300
3302
|
case "h24":
|
|
3301
3303
|
return "k";
|
|
3302
3304
|
case "h23":
|
|
@@ -3308,52 +3310,52 @@ function yi(t) {
|
|
|
3308
3310
|
default:
|
|
3309
3311
|
throw new Error("Invalid hourCycle");
|
|
3310
3312
|
}
|
|
3311
|
-
var r =
|
|
3312
|
-
r !== "root" && (n =
|
|
3313
|
-
var i =
|
|
3313
|
+
var r = e.language, n;
|
|
3314
|
+
r !== "root" && (n = e.maximize().region);
|
|
3315
|
+
var i = fe[n || ""] || fe[r || ""] || fe["".concat(r, "-001")] || fe["001"];
|
|
3314
3316
|
return i[0];
|
|
3315
3317
|
}
|
|
3316
|
-
var
|
|
3317
|
-
function y(
|
|
3318
|
-
return { start:
|
|
3318
|
+
var Fe, vi = new RegExp("^".concat(dr.source, "*")), _i = new RegExp("".concat(dr.source, "*$"));
|
|
3319
|
+
function y(e, t) {
|
|
3320
|
+
return { start: e, end: t };
|
|
3319
3321
|
}
|
|
3320
|
-
var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger,
|
|
3321
|
-
return typeof
|
|
3322
|
-
},
|
|
3322
|
+
var xi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ei = !!String.fromCodePoint, wi = !!Object.fromEntries, Si = !!String.prototype.codePointAt, Ti = !!String.prototype.trimStart, Hi = !!String.prototype.trimEnd, Ci = !!Number.isSafeInteger, Ai = Ci ? Number.isSafeInteger : function(e) {
|
|
3323
|
+
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3324
|
+
}, et = !0;
|
|
3323
3325
|
try {
|
|
3324
|
-
var
|
|
3325
|
-
|
|
3326
|
-
} catch (
|
|
3327
|
-
|
|
3326
|
+
var Bi = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3327
|
+
et = ((Fe = Bi.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
|
|
3328
|
+
} catch (e) {
|
|
3329
|
+
et = !1;
|
|
3328
3330
|
}
|
|
3329
|
-
var
|
|
3331
|
+
var It = xi ? (
|
|
3330
3332
|
// Native
|
|
3331
|
-
function(
|
|
3332
|
-
return
|
|
3333
|
+
function(t, r, n) {
|
|
3334
|
+
return t.startsWith(r, n);
|
|
3333
3335
|
}
|
|
3334
3336
|
) : (
|
|
3335
3337
|
// For IE11
|
|
3336
|
-
function(
|
|
3337
|
-
return
|
|
3338
|
+
function(t, r, n) {
|
|
3339
|
+
return t.slice(n, n + r.length) === r;
|
|
3338
3340
|
}
|
|
3339
|
-
),
|
|
3341
|
+
), tt = Ei ? String.fromCodePoint : (
|
|
3340
3342
|
// IE11
|
|
3341
3343
|
function() {
|
|
3342
|
-
for (var
|
|
3343
|
-
|
|
3344
|
-
for (var n = "", i =
|
|
3345
|
-
if (a =
|
|
3344
|
+
for (var t = [], r = 0; r < arguments.length; r++)
|
|
3345
|
+
t[r] = arguments[r];
|
|
3346
|
+
for (var n = "", i = t.length, o = 0, a; i > o; ) {
|
|
3347
|
+
if (a = t[o++], a > 1114111)
|
|
3346
3348
|
throw RangeError(a + " is not a valid code point");
|
|
3347
3349
|
n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
|
|
3348
3350
|
}
|
|
3349
3351
|
return n;
|
|
3350
3352
|
}
|
|
3351
|
-
),
|
|
3353
|
+
), Mt = (
|
|
3352
3354
|
// native
|
|
3353
3355
|
wi ? Object.fromEntries : (
|
|
3354
3356
|
// Ponyfill
|
|
3355
|
-
function(
|
|
3356
|
-
for (var r = {}, n = 0, i =
|
|
3357
|
+
function(t) {
|
|
3358
|
+
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
3357
3359
|
var o = i[n], a = o[0], s = o[1];
|
|
3358
3360
|
r[a] = s;
|
|
3359
3361
|
}
|
|
@@ -3362,81 +3364,81 @@ var Ie = xi ? (
|
|
|
3362
3364
|
)
|
|
3363
3365
|
), vr = Si ? (
|
|
3364
3366
|
// Native
|
|
3365
|
-
function(
|
|
3366
|
-
return
|
|
3367
|
+
function(t, r) {
|
|
3368
|
+
return t.codePointAt(r);
|
|
3367
3369
|
}
|
|
3368
3370
|
) : (
|
|
3369
3371
|
// IE 11
|
|
3370
|
-
function(
|
|
3371
|
-
var n =
|
|
3372
|
+
function(t, r) {
|
|
3373
|
+
var n = t.length;
|
|
3372
3374
|
if (!(r < 0 || r >= n)) {
|
|
3373
|
-
var i =
|
|
3374
|
-
return i < 55296 || i > 56319 || r + 1 === n || (o =
|
|
3375
|
+
var i = t.charCodeAt(r), o;
|
|
3376
|
+
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3375
3377
|
}
|
|
3376
3378
|
}
|
|
3377
3379
|
), Pi = Ti ? (
|
|
3378
3380
|
// Native
|
|
3379
|
-
function(
|
|
3380
|
-
return
|
|
3381
|
+
function(t) {
|
|
3382
|
+
return t.trimStart();
|
|
3381
3383
|
}
|
|
3382
3384
|
) : (
|
|
3383
3385
|
// Ponyfill
|
|
3384
|
-
function(
|
|
3385
|
-
return
|
|
3386
|
+
function(t) {
|
|
3387
|
+
return t.replace(vi, "");
|
|
3386
3388
|
}
|
|
3387
3389
|
), Oi = Hi ? (
|
|
3388
3390
|
// Native
|
|
3389
|
-
function(
|
|
3390
|
-
return
|
|
3391
|
+
function(t) {
|
|
3392
|
+
return t.trimEnd();
|
|
3391
3393
|
}
|
|
3392
3394
|
) : (
|
|
3393
3395
|
// Ponyfill
|
|
3394
|
-
function(
|
|
3395
|
-
return
|
|
3396
|
+
function(t) {
|
|
3397
|
+
return t.replace(_i, "");
|
|
3396
3398
|
}
|
|
3397
3399
|
);
|
|
3398
|
-
function _r(
|
|
3399
|
-
return new RegExp(
|
|
3400
|
+
function _r(e, t) {
|
|
3401
|
+
return new RegExp(e, t);
|
|
3400
3402
|
}
|
|
3401
|
-
var
|
|
3402
|
-
if (
|
|
3403
|
-
var
|
|
3404
|
-
|
|
3403
|
+
var rt;
|
|
3404
|
+
if (et) {
|
|
3405
|
+
var Nt = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3406
|
+
rt = function(t, r) {
|
|
3405
3407
|
var n;
|
|
3406
|
-
|
|
3407
|
-
var i =
|
|
3408
|
+
Nt.lastIndex = r;
|
|
3409
|
+
var i = Nt.exec(t);
|
|
3408
3410
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3409
3411
|
};
|
|
3410
3412
|
} else
|
|
3411
|
-
|
|
3413
|
+
rt = function(t, r) {
|
|
3412
3414
|
for (var n = []; ; ) {
|
|
3413
|
-
var i = vr(
|
|
3415
|
+
var i = vr(t, r);
|
|
3414
3416
|
if (i === void 0 || xr(i) || Ni(i))
|
|
3415
3417
|
break;
|
|
3416
3418
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3417
3419
|
}
|
|
3418
|
-
return
|
|
3420
|
+
return tt.apply(void 0, n);
|
|
3419
3421
|
};
|
|
3420
3422
|
var Li = (
|
|
3421
3423
|
/** @class */
|
|
3422
3424
|
function() {
|
|
3423
|
-
function t
|
|
3424
|
-
r === void 0 && (r = {}), this.message =
|
|
3425
|
+
function e(t, r) {
|
|
3426
|
+
r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
|
|
3425
3427
|
}
|
|
3426
|
-
return
|
|
3428
|
+
return e.prototype.parse = function() {
|
|
3427
3429
|
if (this.offset() !== 0)
|
|
3428
3430
|
throw Error("parser can only be used once");
|
|
3429
3431
|
return this.parseMessage(0, "", !1);
|
|
3430
|
-
},
|
|
3432
|
+
}, e.prototype.parseMessage = function(t, r, n) {
|
|
3431
3433
|
for (var i = []; !this.isEOF(); ) {
|
|
3432
3434
|
var o = this.char();
|
|
3433
3435
|
if (o === 123) {
|
|
3434
|
-
var a = this.parseArgument(
|
|
3436
|
+
var a = this.parseArgument(t, n);
|
|
3435
3437
|
if (a.err)
|
|
3436
3438
|
return a;
|
|
3437
3439
|
i.push(a.val);
|
|
3438
3440
|
} else {
|
|
3439
|
-
if (o === 125 &&
|
|
3441
|
+
if (o === 125 && t > 0)
|
|
3440
3442
|
break;
|
|
3441
3443
|
if (o === 35 && (r === "plural" || r === "selectordinal")) {
|
|
3442
3444
|
var s = this.clonePosition();
|
|
@@ -3448,13 +3450,13 @@ var Li = (
|
|
|
3448
3450
|
if (n)
|
|
3449
3451
|
break;
|
|
3450
3452
|
return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
|
|
3451
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3452
|
-
var a = this.parseTag(
|
|
3453
|
+
} else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
|
|
3454
|
+
var a = this.parseTag(t, r);
|
|
3453
3455
|
if (a.err)
|
|
3454
3456
|
return a;
|
|
3455
3457
|
i.push(a.val);
|
|
3456
3458
|
} else {
|
|
3457
|
-
var a = this.parseLiteral(
|
|
3459
|
+
var a = this.parseLiteral(t, r);
|
|
3458
3460
|
if (a.err)
|
|
3459
3461
|
return a;
|
|
3460
3462
|
i.push(a.val);
|
|
@@ -3462,7 +3464,7 @@ var Li = (
|
|
|
3462
3464
|
}
|
|
3463
3465
|
}
|
|
3464
3466
|
return { val: i, err: null };
|
|
3465
|
-
},
|
|
3467
|
+
}, e.prototype.parseTag = function(t, r) {
|
|
3466
3468
|
var n = this.clonePosition();
|
|
3467
3469
|
this.bump();
|
|
3468
3470
|
var i = this.parseTagName();
|
|
@@ -3476,12 +3478,12 @@ var Li = (
|
|
|
3476
3478
|
err: null
|
|
3477
3479
|
};
|
|
3478
3480
|
if (this.bumpIf(">")) {
|
|
3479
|
-
var o = this.parseMessage(
|
|
3481
|
+
var o = this.parseMessage(t + 1, r, !0);
|
|
3480
3482
|
if (o.err)
|
|
3481
3483
|
return o;
|
|
3482
3484
|
var a = o.val, s = this.clonePosition();
|
|
3483
3485
|
if (this.bumpIf("</")) {
|
|
3484
|
-
if (this.isEOF() || !
|
|
3486
|
+
if (this.isEOF() || !nt(this.char()))
|
|
3485
3487
|
return this.error(b.INVALID_TAG, y(s, this.clonePosition()));
|
|
3486
3488
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3487
3489
|
return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3497,19 +3499,19 @@ var Li = (
|
|
|
3497
3499
|
return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
|
|
3498
3500
|
} else
|
|
3499
3501
|
return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
|
|
3500
|
-
},
|
|
3501
|
-
var
|
|
3502
|
+
}, e.prototype.parseTagName = function() {
|
|
3503
|
+
var t = this.offset();
|
|
3502
3504
|
for (this.bump(); !this.isEOF() && Mi(this.char()); )
|
|
3503
3505
|
this.bump();
|
|
3504
|
-
return this.message.slice(
|
|
3505
|
-
},
|
|
3506
|
+
return this.message.slice(t, this.offset());
|
|
3507
|
+
}, e.prototype.parseLiteral = function(t, r) {
|
|
3506
3508
|
for (var n = this.clonePosition(), i = ""; ; ) {
|
|
3507
3509
|
var o = this.tryParseQuote(r);
|
|
3508
3510
|
if (o) {
|
|
3509
3511
|
i += o;
|
|
3510
3512
|
continue;
|
|
3511
3513
|
}
|
|
3512
|
-
var a = this.tryParseUnquoted(
|
|
3514
|
+
var a = this.tryParseUnquoted(t, r);
|
|
3513
3515
|
if (a) {
|
|
3514
3516
|
i += a;
|
|
3515
3517
|
continue;
|
|
@@ -3526,10 +3528,10 @@ var Li = (
|
|
|
3526
3528
|
val: { type: x.literal, value: i, location: l },
|
|
3527
3529
|
err: null
|
|
3528
3530
|
};
|
|
3529
|
-
},
|
|
3531
|
+
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3530
3532
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3531
3533
|
!Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3532
|
-
},
|
|
3534
|
+
}, e.prototype.tryParseQuote = function(t) {
|
|
3533
3535
|
if (this.isEOF() || this.char() !== 39)
|
|
3534
3536
|
return null;
|
|
3535
3537
|
switch (this.peek()) {
|
|
@@ -3541,7 +3543,7 @@ var Li = (
|
|
|
3541
3543
|
case 125:
|
|
3542
3544
|
break;
|
|
3543
3545
|
case 35:
|
|
3544
|
-
if (
|
|
3546
|
+
if (t === "plural" || t === "selectordinal")
|
|
3545
3547
|
break;
|
|
3546
3548
|
return null;
|
|
3547
3549
|
default:
|
|
@@ -3562,13 +3564,13 @@ var Li = (
|
|
|
3562
3564
|
r.push(n);
|
|
3563
3565
|
this.bump();
|
|
3564
3566
|
}
|
|
3565
|
-
return
|
|
3566
|
-
},
|
|
3567
|
+
return tt.apply(void 0, r);
|
|
3568
|
+
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3567
3569
|
if (this.isEOF())
|
|
3568
3570
|
return null;
|
|
3569
3571
|
var n = this.char();
|
|
3570
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 &&
|
|
3571
|
-
},
|
|
3572
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
|
|
3573
|
+
}, e.prototype.parseArgument = function(t, r) {
|
|
3572
3574
|
var n = this.clonePosition();
|
|
3573
3575
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
3574
3576
|
return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
|
|
@@ -3591,16 +3593,16 @@ var Li = (
|
|
|
3591
3593
|
err: null
|
|
3592
3594
|
};
|
|
3593
3595
|
case 44:
|
|
3594
|
-
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(
|
|
3596
|
+
return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
|
|
3595
3597
|
default:
|
|
3596
3598
|
return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
|
|
3597
3599
|
}
|
|
3598
|
-
},
|
|
3599
|
-
var
|
|
3600
|
+
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3601
|
+
var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
|
|
3600
3602
|
this.bumpTo(i);
|
|
3601
|
-
var o = this.clonePosition(), a = y(
|
|
3603
|
+
var o = this.clonePosition(), a = y(t, o);
|
|
3602
3604
|
return { value: n, location: a };
|
|
3603
|
-
},
|
|
3605
|
+
}, e.prototype.parseArgumentOptions = function(t, r, n, i) {
|
|
3604
3606
|
var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
|
|
3605
3607
|
switch (s) {
|
|
3606
3608
|
case "":
|
|
@@ -3625,7 +3627,7 @@ var Li = (
|
|
|
3625
3627
|
if (m.err)
|
|
3626
3628
|
return m;
|
|
3627
3629
|
var d = y(i, this.clonePosition());
|
|
3628
|
-
if (u &&
|
|
3630
|
+
if (u && It(u == null ? void 0 : u.style, "::", 0)) {
|
|
3629
3631
|
var v = Pi(u.style.slice(2));
|
|
3630
3632
|
if (s === "number") {
|
|
3631
3633
|
var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
|
|
@@ -3665,19 +3667,19 @@ var Li = (
|
|
|
3665
3667
|
case "select": {
|
|
3666
3668
|
var S = this.clonePosition();
|
|
3667
3669
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3668
|
-
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S,
|
|
3670
|
+
return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(S, xe({}, S)));
|
|
3669
3671
|
this.bumpSpace();
|
|
3670
|
-
var
|
|
3671
|
-
if (s !== "select" &&
|
|
3672
|
+
var A = this.parseIdentifierIfPossible(), E = 0;
|
|
3673
|
+
if (s !== "select" && A.value === "offset") {
|
|
3672
3674
|
if (!this.bumpIf(":"))
|
|
3673
3675
|
return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
|
|
3674
3676
|
this.bumpSpace();
|
|
3675
3677
|
var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3676
3678
|
if (c.err)
|
|
3677
3679
|
return c;
|
|
3678
|
-
this.bumpSpace(),
|
|
3680
|
+
this.bumpSpace(), A = this.parseIdentifierIfPossible(), E = c.val;
|
|
3679
3681
|
}
|
|
3680
|
-
var _ = this.tryParsePluralOrSelectOptions(
|
|
3682
|
+
var _ = this.tryParsePluralOrSelectOptions(t, s, r, A);
|
|
3681
3683
|
if (_.err)
|
|
3682
3684
|
return _;
|
|
3683
3685
|
var m = this.tryParseArgumentClose(i);
|
|
@@ -3688,7 +3690,7 @@ var Li = (
|
|
|
3688
3690
|
val: {
|
|
3689
3691
|
type: x.select,
|
|
3690
3692
|
value: n,
|
|
3691
|
-
options:
|
|
3693
|
+
options: Mt(_.val),
|
|
3692
3694
|
location: O
|
|
3693
3695
|
},
|
|
3694
3696
|
err: null
|
|
@@ -3696,7 +3698,7 @@ var Li = (
|
|
|
3696
3698
|
val: {
|
|
3697
3699
|
type: x.plural,
|
|
3698
3700
|
value: n,
|
|
3699
|
-
options:
|
|
3701
|
+
options: Mt(_.val),
|
|
3700
3702
|
offset: E,
|
|
3701
3703
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3702
3704
|
location: O
|
|
@@ -3707,10 +3709,10 @@ var Li = (
|
|
|
3707
3709
|
default:
|
|
3708
3710
|
return this.error(b.INVALID_ARGUMENT_TYPE, y(a, l));
|
|
3709
3711
|
}
|
|
3710
|
-
},
|
|
3711
|
-
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(
|
|
3712
|
-
},
|
|
3713
|
-
for (var
|
|
3712
|
+
}, e.prototype.tryParseArgumentClose = function(t) {
|
|
3713
|
+
return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
|
|
3714
|
+
}, e.prototype.parseSimpleArgStyleIfPossible = function() {
|
|
3715
|
+
for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
|
|
3714
3716
|
var n = this.char();
|
|
3715
3717
|
switch (n) {
|
|
3716
3718
|
case 39: {
|
|
@@ -3722,12 +3724,12 @@ var Li = (
|
|
|
3722
3724
|
break;
|
|
3723
3725
|
}
|
|
3724
3726
|
case 123: {
|
|
3725
|
-
|
|
3727
|
+
t += 1, this.bump();
|
|
3726
3728
|
break;
|
|
3727
3729
|
}
|
|
3728
3730
|
case 125: {
|
|
3729
|
-
if (
|
|
3730
|
-
|
|
3731
|
+
if (t > 0)
|
|
3732
|
+
t -= 1;
|
|
3731
3733
|
else
|
|
3732
3734
|
return {
|
|
3733
3735
|
val: this.message.slice(r.offset, this.offset()),
|
|
@@ -3744,10 +3746,10 @@ var Li = (
|
|
|
3744
3746
|
val: this.message.slice(r.offset, this.offset()),
|
|
3745
3747
|
err: null
|
|
3746
3748
|
};
|
|
3747
|
-
},
|
|
3749
|
+
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3748
3750
|
var n = [];
|
|
3749
3751
|
try {
|
|
3750
|
-
n = fi(
|
|
3752
|
+
n = fi(t);
|
|
3751
3753
|
} catch (i) {
|
|
3752
3754
|
return this.error(b.INVALID_NUMBER_SKELETON, r);
|
|
3753
3755
|
}
|
|
@@ -3760,7 +3762,7 @@ var Li = (
|
|
|
3760
3762
|
},
|
|
3761
3763
|
err: null
|
|
3762
3764
|
};
|
|
3763
|
-
},
|
|
3765
|
+
}, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
|
|
3764
3766
|
for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
|
|
3765
3767
|
if (u.length === 0) {
|
|
3766
3768
|
var c = this.clonePosition();
|
|
@@ -3778,7 +3780,7 @@ var Li = (
|
|
|
3778
3780
|
var p = this.clonePosition();
|
|
3779
3781
|
if (!this.bumpIf("{"))
|
|
3780
3782
|
return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
|
|
3781
|
-
var m = this.parseMessage(
|
|
3783
|
+
var m = this.parseMessage(t + 1, r, n);
|
|
3782
3784
|
if (m.err)
|
|
3783
3785
|
return m;
|
|
3784
3786
|
var d = this.tryParseArgumentClose(p);
|
|
@@ -3793,7 +3795,7 @@ var Li = (
|
|
|
3793
3795
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3794
3796
|
}
|
|
3795
3797
|
return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
|
|
3796
|
-
},
|
|
3798
|
+
}, e.prototype.tryParseDecimalInteger = function(t, r) {
|
|
3797
3799
|
var n = 1, i = this.clonePosition();
|
|
3798
3800
|
this.bumpIf("+") || this.bumpIf("-") && (n = -1);
|
|
3799
3801
|
for (var o = !1, a = 0; !this.isEOF(); ) {
|
|
@@ -3804,182 +3806,182 @@ var Li = (
|
|
|
3804
3806
|
break;
|
|
3805
3807
|
}
|
|
3806
3808
|
var l = y(i, this.clonePosition());
|
|
3807
|
-
return o ? (a *= n,
|
|
3808
|
-
},
|
|
3809
|
+
return o ? (a *= n, Ai(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3810
|
+
}, e.prototype.offset = function() {
|
|
3809
3811
|
return this.position.offset;
|
|
3810
|
-
},
|
|
3812
|
+
}, e.prototype.isEOF = function() {
|
|
3811
3813
|
return this.offset() === this.message.length;
|
|
3812
|
-
},
|
|
3814
|
+
}, e.prototype.clonePosition = function() {
|
|
3813
3815
|
return {
|
|
3814
3816
|
offset: this.position.offset,
|
|
3815
3817
|
line: this.position.line,
|
|
3816
3818
|
column: this.position.column
|
|
3817
3819
|
};
|
|
3818
|
-
},
|
|
3819
|
-
var
|
|
3820
|
-
if (
|
|
3820
|
+
}, e.prototype.char = function() {
|
|
3821
|
+
var t = this.position.offset;
|
|
3822
|
+
if (t >= this.message.length)
|
|
3821
3823
|
throw Error("out of bound");
|
|
3822
|
-
var r = vr(this.message,
|
|
3824
|
+
var r = vr(this.message, t);
|
|
3823
3825
|
if (r === void 0)
|
|
3824
|
-
throw Error("Offset ".concat(
|
|
3826
|
+
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3825
3827
|
return r;
|
|
3826
|
-
},
|
|
3828
|
+
}, e.prototype.error = function(t, r) {
|
|
3827
3829
|
return {
|
|
3828
3830
|
val: null,
|
|
3829
3831
|
err: {
|
|
3830
|
-
kind:
|
|
3832
|
+
kind: t,
|
|
3831
3833
|
message: this.message,
|
|
3832
3834
|
location: r
|
|
3833
3835
|
}
|
|
3834
3836
|
};
|
|
3835
|
-
},
|
|
3837
|
+
}, e.prototype.bump = function() {
|
|
3836
3838
|
if (!this.isEOF()) {
|
|
3837
|
-
var
|
|
3838
|
-
|
|
3839
|
+
var t = this.char();
|
|
3840
|
+
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);
|
|
3839
3841
|
}
|
|
3840
|
-
},
|
|
3841
|
-
if (
|
|
3842
|
-
for (var r = 0; r <
|
|
3842
|
+
}, e.prototype.bumpIf = function(t) {
|
|
3843
|
+
if (It(this.message, t, this.offset())) {
|
|
3844
|
+
for (var r = 0; r < t.length; r++)
|
|
3843
3845
|
this.bump();
|
|
3844
3846
|
return !0;
|
|
3845
3847
|
}
|
|
3846
3848
|
return !1;
|
|
3847
|
-
},
|
|
3848
|
-
var r = this.offset(), n = this.message.indexOf(
|
|
3849
|
+
}, e.prototype.bumpUntil = function(t) {
|
|
3850
|
+
var r = this.offset(), n = this.message.indexOf(t, r);
|
|
3849
3851
|
return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
|
|
3850
|
-
},
|
|
3851
|
-
if (this.offset() >
|
|
3852
|
-
throw Error("targetOffset ".concat(
|
|
3853
|
-
for (
|
|
3852
|
+
}, e.prototype.bumpTo = function(t) {
|
|
3853
|
+
if (this.offset() > t)
|
|
3854
|
+
throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
|
|
3855
|
+
for (t = Math.min(t, this.message.length); ; ) {
|
|
3854
3856
|
var r = this.offset();
|
|
3855
|
-
if (r ===
|
|
3857
|
+
if (r === t)
|
|
3856
3858
|
break;
|
|
3857
|
-
if (r >
|
|
3858
|
-
throw Error("targetOffset ".concat(
|
|
3859
|
+
if (r > t)
|
|
3860
|
+
throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3859
3861
|
if (this.bump(), this.isEOF())
|
|
3860
3862
|
break;
|
|
3861
3863
|
}
|
|
3862
|
-
},
|
|
3864
|
+
}, e.prototype.bumpSpace = function() {
|
|
3863
3865
|
for (; !this.isEOF() && xr(this.char()); )
|
|
3864
3866
|
this.bump();
|
|
3865
|
-
},
|
|
3867
|
+
}, e.prototype.peek = function() {
|
|
3866
3868
|
if (this.isEOF())
|
|
3867
3869
|
return null;
|
|
3868
|
-
var
|
|
3870
|
+
var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
|
|
3869
3871
|
return n != null ? n : null;
|
|
3870
|
-
},
|
|
3872
|
+
}, e;
|
|
3871
3873
|
}()
|
|
3872
3874
|
);
|
|
3873
|
-
function
|
|
3874
|
-
return
|
|
3875
|
+
function nt(e) {
|
|
3876
|
+
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3875
3877
|
}
|
|
3876
|
-
function Ii(
|
|
3877
|
-
return
|
|
3878
|
+
function Ii(e) {
|
|
3879
|
+
return nt(e) || e === 47;
|
|
3878
3880
|
}
|
|
3879
|
-
function Mi(
|
|
3880
|
-
return
|
|
3881
|
+
function Mi(e) {
|
|
3882
|
+
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;
|
|
3881
3883
|
}
|
|
3882
|
-
function xr(
|
|
3883
|
-
return
|
|
3884
|
+
function xr(e) {
|
|
3885
|
+
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3884
3886
|
}
|
|
3885
|
-
function Ni(
|
|
3886
|
-
return
|
|
3887
|
+
function Ni(e) {
|
|
3888
|
+
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;
|
|
3887
3889
|
}
|
|
3888
|
-
function
|
|
3889
|
-
|
|
3890
|
-
if (delete
|
|
3891
|
-
for (var r in
|
|
3892
|
-
delete
|
|
3890
|
+
function it(e) {
|
|
3891
|
+
e.forEach(function(t) {
|
|
3892
|
+
if (delete t.location, cr(t) || fr(t))
|
|
3893
|
+
for (var r in t.options)
|
|
3894
|
+
delete t.options[r].location, it(t.options[r].value);
|
|
3893
3895
|
else
|
|
3894
|
-
ur(
|
|
3896
|
+
ur(t) && pr(t.style) || (lr(t) || hr(t)) && Ke(t.style) ? delete t.style.location : mr(t) && it(t.children);
|
|
3895
3897
|
});
|
|
3896
3898
|
}
|
|
3897
|
-
function $i(
|
|
3898
|
-
|
|
3899
|
-
var r = new Li(
|
|
3899
|
+
function $i(e, t) {
|
|
3900
|
+
t === void 0 && (t = {}), t = xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3901
|
+
var r = new Li(e, t).parse();
|
|
3900
3902
|
if (r.err) {
|
|
3901
3903
|
var n = SyntaxError(b[r.err.kind]);
|
|
3902
3904
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3903
3905
|
}
|
|
3904
|
-
return
|
|
3906
|
+
return t != null && t.captureLocation || it(r.val), r.val;
|
|
3905
3907
|
}
|
|
3906
3908
|
var J;
|
|
3907
|
-
(function(
|
|
3908
|
-
|
|
3909
|
+
(function(e) {
|
|
3910
|
+
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3909
3911
|
})(J || (J = {}));
|
|
3910
|
-
var
|
|
3912
|
+
var Ae = (
|
|
3911
3913
|
/** @class */
|
|
3912
|
-
function(
|
|
3913
|
-
|
|
3914
|
-
function
|
|
3915
|
-
var o =
|
|
3914
|
+
function(e) {
|
|
3915
|
+
Ce(t, e);
|
|
3916
|
+
function t(r, n, i) {
|
|
3917
|
+
var o = e.call(this, r) || this;
|
|
3916
3918
|
return o.code = n, o.originalMessage = i, o;
|
|
3917
3919
|
}
|
|
3918
|
-
return
|
|
3920
|
+
return t.prototype.toString = function() {
|
|
3919
3921
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3920
|
-
},
|
|
3922
|
+
}, t;
|
|
3921
3923
|
}(Error)
|
|
3922
|
-
), $
|
|
3924
|
+
), $t = (
|
|
3923
3925
|
/** @class */
|
|
3924
|
-
function(
|
|
3925
|
-
|
|
3926
|
-
function
|
|
3927
|
-
return
|
|
3926
|
+
function(e) {
|
|
3927
|
+
Ce(t, e);
|
|
3928
|
+
function t(r, n, i, o) {
|
|
3929
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
|
|
3928
3930
|
}
|
|
3929
|
-
return
|
|
3930
|
-
}(
|
|
3931
|
+
return t;
|
|
3932
|
+
}(Ae)
|
|
3931
3933
|
), Ri = (
|
|
3932
3934
|
/** @class */
|
|
3933
|
-
function(
|
|
3934
|
-
|
|
3935
|
-
function
|
|
3936
|
-
return
|
|
3935
|
+
function(e) {
|
|
3936
|
+
Ce(t, e);
|
|
3937
|
+
function t(r, n, i) {
|
|
3938
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
|
|
3937
3939
|
}
|
|
3938
|
-
return
|
|
3939
|
-
}(
|
|
3940
|
+
return t;
|
|
3941
|
+
}(Ae)
|
|
3940
3942
|
), Gi = (
|
|
3941
3943
|
/** @class */
|
|
3942
|
-
function(
|
|
3943
|
-
|
|
3944
|
-
function
|
|
3945
|
-
return
|
|
3944
|
+
function(e) {
|
|
3945
|
+
Ce(t, e);
|
|
3946
|
+
function t(r, n) {
|
|
3947
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
|
|
3946
3948
|
}
|
|
3947
|
-
return
|
|
3948
|
-
}(
|
|
3949
|
-
),
|
|
3950
|
-
(function(
|
|
3951
|
-
|
|
3952
|
-
})(
|
|
3953
|
-
function Ui(
|
|
3954
|
-
return
|
|
3955
|
-
var n =
|
|
3956
|
-
return !n || n.type !==
|
|
3949
|
+
return t;
|
|
3950
|
+
}(Ae)
|
|
3951
|
+
), B;
|
|
3952
|
+
(function(e) {
|
|
3953
|
+
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3954
|
+
})(B || (B = {}));
|
|
3955
|
+
function Ui(e) {
|
|
3956
|
+
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3957
|
+
var n = t[t.length - 1];
|
|
3958
|
+
return !n || n.type !== B.literal || r.type !== B.literal ? t.push(r) : n.value += r.value, t;
|
|
3957
3959
|
}, []);
|
|
3958
3960
|
}
|
|
3959
|
-
function Di(
|
|
3960
|
-
return typeof
|
|
3961
|
+
function Di(e) {
|
|
3962
|
+
return typeof e == "function";
|
|
3961
3963
|
}
|
|
3962
|
-
function
|
|
3963
|
-
if (
|
|
3964
|
+
function be(e, t, r, n, i, o, a) {
|
|
3965
|
+
if (e.length === 1 && Bt(e[0]))
|
|
3964
3966
|
return [
|
|
3965
3967
|
{
|
|
3966
|
-
type:
|
|
3967
|
-
value:
|
|
3968
|
+
type: B.literal,
|
|
3969
|
+
value: e[0].value
|
|
3968
3970
|
}
|
|
3969
3971
|
];
|
|
3970
|
-
for (var s = [], l = 0, u =
|
|
3972
|
+
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3971
3973
|
var h = u[l];
|
|
3972
|
-
if (
|
|
3974
|
+
if (Bt(h)) {
|
|
3973
3975
|
s.push({
|
|
3974
|
-
type:
|
|
3976
|
+
type: B.literal,
|
|
3975
3977
|
value: h.value
|
|
3976
3978
|
});
|
|
3977
3979
|
continue;
|
|
3978
3980
|
}
|
|
3979
3981
|
if (ui(h)) {
|
|
3980
3982
|
typeof o == "number" && s.push({
|
|
3981
|
-
type:
|
|
3982
|
-
value: r.getNumberFormat(
|
|
3983
|
+
type: B.literal,
|
|
3984
|
+
value: r.getNumberFormat(t).format(o)
|
|
3983
3985
|
});
|
|
3984
3986
|
continue;
|
|
3985
3987
|
}
|
|
@@ -3989,32 +3991,32 @@ function bt(t, e, r, n, i, o, a) {
|
|
|
3989
3991
|
var f = i[c];
|
|
3990
3992
|
if (ai(h)) {
|
|
3991
3993
|
(!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
|
|
3992
|
-
type: typeof f == "string" ?
|
|
3994
|
+
type: typeof f == "string" ? B.literal : B.object,
|
|
3993
3995
|
value: f
|
|
3994
3996
|
});
|
|
3995
3997
|
continue;
|
|
3996
3998
|
}
|
|
3997
3999
|
if (lr(h)) {
|
|
3998
|
-
var p = typeof h.style == "string" ? n.date[h.style] :
|
|
4000
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
|
|
3999
4001
|
s.push({
|
|
4000
|
-
type:
|
|
4001
|
-
value: r.getDateTimeFormat(
|
|
4002
|
+
type: B.literal,
|
|
4003
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
4002
4004
|
});
|
|
4003
4005
|
continue;
|
|
4004
4006
|
}
|
|
4005
4007
|
if (hr(h)) {
|
|
4006
|
-
var p = typeof h.style == "string" ? n.time[h.style] :
|
|
4008
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
4007
4009
|
s.push({
|
|
4008
|
-
type:
|
|
4009
|
-
value: r.getDateTimeFormat(
|
|
4010
|
+
type: B.literal,
|
|
4011
|
+
value: r.getDateTimeFormat(t, p).format(f)
|
|
4010
4012
|
});
|
|
4011
4013
|
continue;
|
|
4012
4014
|
}
|
|
4013
4015
|
if (ur(h)) {
|
|
4014
4016
|
var p = typeof h.style == "string" ? n.number[h.style] : pr(h.style) ? h.style.parsedOptions : void 0;
|
|
4015
4017
|
p && p.scale && (f = f * (p.scale || 1)), s.push({
|
|
4016
|
-
type:
|
|
4017
|
-
value: r.getNumberFormat(
|
|
4018
|
+
type: B.literal,
|
|
4019
|
+
value: r.getNumberFormat(t, p).format(f)
|
|
4018
4020
|
});
|
|
4019
4021
|
continue;
|
|
4020
4022
|
}
|
|
@@ -4022,12 +4024,12 @@ function bt(t, e, r, n, i, o, a) {
|
|
|
4022
4024
|
var m = h.children, d = h.value, v = i[d];
|
|
4023
4025
|
if (!Di(v))
|
|
4024
4026
|
throw new Ri(d, "function", a);
|
|
4025
|
-
var T =
|
|
4027
|
+
var T = be(m, t, r, n, i, o), C = v(T.map(function(E) {
|
|
4026
4028
|
return E.value;
|
|
4027
4029
|
}));
|
|
4028
4030
|
Array.isArray(C) || (C = [C]), s.push.apply(s, C.map(function(E) {
|
|
4029
4031
|
return {
|
|
4030
|
-
type: typeof E == "string" ?
|
|
4032
|
+
type: typeof E == "string" ? B.literal : B.object,
|
|
4031
4033
|
value: E
|
|
4032
4034
|
};
|
|
4033
4035
|
}));
|
|
@@ -4035,89 +4037,89 @@ function bt(t, e, r, n, i, o, a) {
|
|
|
4035
4037
|
if (cr(h)) {
|
|
4036
4038
|
var S = h.options[f] || h.options.other;
|
|
4037
4039
|
if (!S)
|
|
4038
|
-
throw new $
|
|
4039
|
-
s.push.apply(s,
|
|
4040
|
+
throw new $t(h.value, f, Object.keys(h.options), a);
|
|
4041
|
+
s.push.apply(s, be(S.value, t, r, n, i));
|
|
4040
4042
|
continue;
|
|
4041
4043
|
}
|
|
4042
4044
|
if (fr(h)) {
|
|
4043
4045
|
var S = h.options["=".concat(f)];
|
|
4044
4046
|
if (!S) {
|
|
4045
4047
|
if (!Intl.PluralRules)
|
|
4046
|
-
throw new
|
|
4048
|
+
throw new Ae(`Intl.PluralRules is not available in this environment.
|
|
4047
4049
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
4048
4050
|
`, J.MISSING_INTL_API, a);
|
|
4049
|
-
var
|
|
4050
|
-
S = h.options[
|
|
4051
|
+
var A = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
|
|
4052
|
+
S = h.options[A] || h.options.other;
|
|
4051
4053
|
}
|
|
4052
4054
|
if (!S)
|
|
4053
|
-
throw new $
|
|
4054
|
-
s.push.apply(s,
|
|
4055
|
+
throw new $t(h.value, f, Object.keys(h.options), a);
|
|
4056
|
+
s.push.apply(s, be(S.value, t, r, n, i, f - (h.offset || 0)));
|
|
4055
4057
|
continue;
|
|
4056
4058
|
}
|
|
4057
4059
|
}
|
|
4058
4060
|
return Ui(s);
|
|
4059
4061
|
}
|
|
4060
|
-
function Fi(
|
|
4061
|
-
return
|
|
4062
|
-
return r[n] = N(N({},
|
|
4063
|
-
}, {})) :
|
|
4062
|
+
function Fi(e, t) {
|
|
4063
|
+
return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
4064
|
+
return r[n] = N(N({}, e[n]), t[n] || {}), r;
|
|
4065
|
+
}, {})) : e;
|
|
4064
4066
|
}
|
|
4065
|
-
function ji(
|
|
4066
|
-
return
|
|
4067
|
-
return r[n] = Fi(
|
|
4068
|
-
}, N({},
|
|
4067
|
+
function ji(e, t) {
|
|
4068
|
+
return t ? Object.keys(e).reduce(function(r, n) {
|
|
4069
|
+
return r[n] = Fi(e[n], t[n]), r;
|
|
4070
|
+
}, N({}, e)) : e;
|
|
4069
4071
|
}
|
|
4070
|
-
function
|
|
4072
|
+
function je(e) {
|
|
4071
4073
|
return {
|
|
4072
4074
|
create: function() {
|
|
4073
4075
|
return {
|
|
4074
|
-
get: function(
|
|
4075
|
-
return t
|
|
4076
|
+
get: function(t) {
|
|
4077
|
+
return e[t];
|
|
4076
4078
|
},
|
|
4077
|
-
set: function(
|
|
4078
|
-
t
|
|
4079
|
+
set: function(t, r) {
|
|
4080
|
+
e[t] = r;
|
|
4079
4081
|
}
|
|
4080
4082
|
};
|
|
4081
4083
|
}
|
|
4082
4084
|
};
|
|
4083
4085
|
}
|
|
4084
|
-
function ki(
|
|
4085
|
-
return
|
|
4086
|
+
function ki(e) {
|
|
4087
|
+
return e === void 0 && (e = {
|
|
4086
4088
|
number: {},
|
|
4087
4089
|
dateTime: {},
|
|
4088
4090
|
pluralRules: {}
|
|
4089
4091
|
}), {
|
|
4090
|
-
getNumberFormat:
|
|
4091
|
-
for (var
|
|
4092
|
+
getNumberFormat: Ue(function() {
|
|
4093
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4092
4094
|
r[n] = arguments[n];
|
|
4093
|
-
return new ((
|
|
4095
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
4094
4096
|
}, {
|
|
4095
|
-
cache:
|
|
4096
|
-
strategy:
|
|
4097
|
+
cache: je(e.number),
|
|
4098
|
+
strategy: De.variadic
|
|
4097
4099
|
}),
|
|
4098
|
-
getDateTimeFormat:
|
|
4099
|
-
for (var
|
|
4100
|
+
getDateTimeFormat: Ue(function() {
|
|
4101
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4100
4102
|
r[n] = arguments[n];
|
|
4101
|
-
return new ((
|
|
4103
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Ge([void 0], r, !1)))();
|
|
4102
4104
|
}, {
|
|
4103
|
-
cache:
|
|
4104
|
-
strategy:
|
|
4105
|
+
cache: je(e.dateTime),
|
|
4106
|
+
strategy: De.variadic
|
|
4105
4107
|
}),
|
|
4106
|
-
getPluralRules:
|
|
4107
|
-
for (var
|
|
4108
|
+
getPluralRules: Ue(function() {
|
|
4109
|
+
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
4108
4110
|
r[n] = arguments[n];
|
|
4109
|
-
return new ((
|
|
4111
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Ge([void 0], r, !1)))();
|
|
4110
4112
|
}, {
|
|
4111
|
-
cache:
|
|
4112
|
-
strategy:
|
|
4113
|
+
cache: je(e.pluralRules),
|
|
4114
|
+
strategy: De.variadic
|
|
4113
4115
|
})
|
|
4114
4116
|
};
|
|
4115
4117
|
}
|
|
4116
4118
|
var Vi = (
|
|
4117
4119
|
/** @class */
|
|
4118
4120
|
function() {
|
|
4119
|
-
function t
|
|
4120
|
-
r === void 0 && (r =
|
|
4121
|
+
function e(t, r, n, i) {
|
|
4122
|
+
r === void 0 && (r = e.defaultLocale);
|
|
4121
4123
|
var o = this;
|
|
4122
4124
|
if (this.formatterCache = {
|
|
4123
4125
|
number: {},
|
|
@@ -4128,11 +4130,11 @@ var Vi = (
|
|
|
4128
4130
|
if (u.length === 1)
|
|
4129
4131
|
return u[0].value;
|
|
4130
4132
|
var h = u.reduce(function(c, f) {
|
|
4131
|
-
return !c.length || f.type !==
|
|
4133
|
+
return !c.length || f.type !== B.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
|
|
4132
4134
|
}, []);
|
|
4133
4135
|
return h.length <= 1 ? h[0] || "" : h;
|
|
4134
4136
|
}, this.formatToParts = function(l) {
|
|
4135
|
-
return
|
|
4137
|
+
return be(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
4136
4138
|
}, this.resolvedOptions = function() {
|
|
4137
4139
|
var l;
|
|
4138
4140
|
return {
|
|
@@ -4140,31 +4142,31 @@ var Vi = (
|
|
|
4140
4142
|
};
|
|
4141
4143
|
}, this.getAst = function() {
|
|
4142
4144
|
return o.ast;
|
|
4143
|
-
}, this.locales = r, this.resolvedLocale =
|
|
4144
|
-
if (this.message =
|
|
4145
|
+
}, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
|
|
4146
|
+
if (this.message = t, !e.__parse)
|
|
4145
4147
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4146
4148
|
var a = i || {};
|
|
4147
4149
|
a.formatters;
|
|
4148
4150
|
var s = Kn(a, ["formatters"]);
|
|
4149
|
-
this.ast =
|
|
4151
|
+
this.ast = e.__parse(t, N(N({}, s), { locale: this.resolvedLocale }));
|
|
4150
4152
|
} else
|
|
4151
|
-
this.ast =
|
|
4153
|
+
this.ast = t;
|
|
4152
4154
|
if (!Array.isArray(this.ast))
|
|
4153
4155
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4154
|
-
this.formats = ji(
|
|
4156
|
+
this.formats = ji(e.formats, n), this.formatters = i && i.formatters || ki(this.formatterCache);
|
|
4155
4157
|
}
|
|
4156
|
-
return Object.defineProperty(
|
|
4158
|
+
return Object.defineProperty(e, "defaultLocale", {
|
|
4157
4159
|
get: function() {
|
|
4158
|
-
return
|
|
4160
|
+
return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
|
|
4159
4161
|
},
|
|
4160
4162
|
enumerable: !1,
|
|
4161
4163
|
configurable: !0
|
|
4162
|
-
}),
|
|
4164
|
+
}), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
|
|
4163
4165
|
if (typeof Intl.Locale != "undefined") {
|
|
4164
|
-
var r = Intl.NumberFormat.supportedLocalesOf(
|
|
4165
|
-
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof
|
|
4166
|
+
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4167
|
+
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4166
4168
|
}
|
|
4167
|
-
},
|
|
4169
|
+
}, e.__parse = $i, e.formats = {
|
|
4168
4170
|
number: {
|
|
4169
4171
|
integer: {
|
|
4170
4172
|
maximumFractionDigits: 0
|
|
@@ -4222,16 +4224,16 @@ var Vi = (
|
|
|
4222
4224
|
timeZoneName: "short"
|
|
4223
4225
|
}
|
|
4224
4226
|
}
|
|
4225
|
-
},
|
|
4227
|
+
}, e;
|
|
4226
4228
|
}()
|
|
4227
4229
|
);
|
|
4228
|
-
function Xi(
|
|
4229
|
-
if (
|
|
4230
|
+
function Xi(e, t) {
|
|
4231
|
+
if (t == null)
|
|
4230
4232
|
return;
|
|
4231
|
-
if (
|
|
4232
|
-
return t
|
|
4233
|
-
const r =
|
|
4234
|
-
let n =
|
|
4233
|
+
if (t in e)
|
|
4234
|
+
return e[t];
|
|
4235
|
+
const r = t.split(".");
|
|
4236
|
+
let n = e;
|
|
4235
4237
|
for (let i = 0; i < r.length; i++)
|
|
4236
4238
|
if (typeof n == "object") {
|
|
4237
4239
|
if (i > 0) {
|
|
@@ -4246,90 +4248,90 @@ function Xi(t, e) {
|
|
|
4246
4248
|
n = void 0;
|
|
4247
4249
|
return n;
|
|
4248
4250
|
}
|
|
4249
|
-
const U = {}, zi = (
|
|
4250
|
-
if (
|
|
4251
|
+
const U = {}, zi = (e, t, r) => r && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = r), r), Er = (e, t) => {
|
|
4252
|
+
if (t == null)
|
|
4251
4253
|
return;
|
|
4252
|
-
if (
|
|
4253
|
-
return U[
|
|
4254
|
-
const r =
|
|
4254
|
+
if (t in U && e in U[t])
|
|
4255
|
+
return U[t][e];
|
|
4256
|
+
const r = Be(t);
|
|
4255
4257
|
for (let n = 0; n < r.length; n++) {
|
|
4256
|
-
const i = r[n], o = Zi(i,
|
|
4258
|
+
const i = r[n], o = Zi(i, e);
|
|
4257
4259
|
if (o)
|
|
4258
|
-
return zi(
|
|
4260
|
+
return zi(e, t, o);
|
|
4259
4261
|
}
|
|
4260
4262
|
};
|
|
4261
|
-
let
|
|
4262
|
-
const
|
|
4263
|
-
function Wi(
|
|
4264
|
-
return
|
|
4263
|
+
let ht;
|
|
4264
|
+
const he = He({});
|
|
4265
|
+
function Wi(e) {
|
|
4266
|
+
return ht[e] || null;
|
|
4265
4267
|
}
|
|
4266
|
-
function wr(
|
|
4267
|
-
return
|
|
4268
|
+
function wr(e) {
|
|
4269
|
+
return e in ht;
|
|
4268
4270
|
}
|
|
4269
|
-
function Zi(
|
|
4270
|
-
if (!wr(
|
|
4271
|
+
function Zi(e, t) {
|
|
4272
|
+
if (!wr(e))
|
|
4271
4273
|
return null;
|
|
4272
|
-
const r = Wi(
|
|
4273
|
-
return Xi(r,
|
|
4274
|
+
const r = Wi(e);
|
|
4275
|
+
return Xi(r, t);
|
|
4274
4276
|
}
|
|
4275
|
-
function Qi(
|
|
4276
|
-
if (
|
|
4277
|
+
function Qi(e) {
|
|
4278
|
+
if (e == null)
|
|
4277
4279
|
return;
|
|
4278
|
-
const
|
|
4279
|
-
for (let r = 0; r <
|
|
4280
|
-
const n =
|
|
4280
|
+
const t = Be(e);
|
|
4281
|
+
for (let r = 0; r < t.length; r++) {
|
|
4282
|
+
const n = t[r];
|
|
4281
4283
|
if (wr(n))
|
|
4282
4284
|
return n;
|
|
4283
4285
|
}
|
|
4284
4286
|
}
|
|
4285
|
-
function Sr(
|
|
4286
|
-
delete U[
|
|
4287
|
+
function Sr(e, ...t) {
|
|
4288
|
+
delete U[e], he.update((r) => (r[e] = Yn.all([r[e] || {}, ...t]), r));
|
|
4287
4289
|
}
|
|
4288
4290
|
Y(
|
|
4289
|
-
[
|
|
4290
|
-
([
|
|
4291
|
+
[he],
|
|
4292
|
+
([e]) => Object.keys(e)
|
|
4291
4293
|
);
|
|
4292
|
-
|
|
4293
|
-
const
|
|
4294
|
-
function Ji(
|
|
4295
|
-
|
|
4296
|
-
}
|
|
4297
|
-
function Tr(
|
|
4298
|
-
return
|
|
4299
|
-
}
|
|
4300
|
-
function qi(
|
|
4301
|
-
return
|
|
4302
|
-
const r = Tr(
|
|
4303
|
-
return [
|
|
4304
|
-
}).filter(([,
|
|
4305
|
-
}
|
|
4306
|
-
function
|
|
4307
|
-
return
|
|
4308
|
-
(
|
|
4294
|
+
he.subscribe((e) => ht = e);
|
|
4295
|
+
const ge = {};
|
|
4296
|
+
function Ji(e, t) {
|
|
4297
|
+
ge[e].delete(t), ge[e].size === 0 && delete ge[e];
|
|
4298
|
+
}
|
|
4299
|
+
function Tr(e) {
|
|
4300
|
+
return ge[e];
|
|
4301
|
+
}
|
|
4302
|
+
function qi(e) {
|
|
4303
|
+
return Be(e).map((t) => {
|
|
4304
|
+
const r = Tr(t);
|
|
4305
|
+
return [t, r ? [...r] : []];
|
|
4306
|
+
}).filter(([, t]) => t.length > 0);
|
|
4307
|
+
}
|
|
4308
|
+
function ot(e) {
|
|
4309
|
+
return e == null ? !1 : Be(e).some(
|
|
4310
|
+
(t) => {
|
|
4309
4311
|
var r;
|
|
4310
|
-
return (r = Tr(
|
|
4312
|
+
return (r = Tr(t)) == null ? void 0 : r.size;
|
|
4311
4313
|
}
|
|
4312
4314
|
);
|
|
4313
4315
|
}
|
|
4314
|
-
function Yi(
|
|
4316
|
+
function Yi(e, t) {
|
|
4315
4317
|
return Promise.all(
|
|
4316
|
-
|
|
4317
|
-
).then((n) => Sr(
|
|
4318
|
-
}
|
|
4319
|
-
const
|
|
4320
|
-
function Hr(
|
|
4321
|
-
if (!
|
|
4322
|
-
return
|
|
4323
|
-
const
|
|
4324
|
-
return
|
|
4325
|
-
|
|
4318
|
+
t.map((n) => (Ji(e, n), n().then((i) => i.default || i)))
|
|
4319
|
+
).then((n) => Sr(e, ...n));
|
|
4320
|
+
}
|
|
4321
|
+
const re = {};
|
|
4322
|
+
function Hr(e) {
|
|
4323
|
+
if (!ot(e))
|
|
4324
|
+
return e in re ? re[e] : Promise.resolve();
|
|
4325
|
+
const t = qi(e);
|
|
4326
|
+
return re[e] = Promise.all(
|
|
4327
|
+
t.map(
|
|
4326
4328
|
([r, n]) => Yi(r, n)
|
|
4327
4329
|
)
|
|
4328
4330
|
).then(() => {
|
|
4329
|
-
if (
|
|
4330
|
-
return Hr(
|
|
4331
|
-
delete
|
|
4332
|
-
}),
|
|
4331
|
+
if (ot(e))
|
|
4332
|
+
return Hr(e);
|
|
4333
|
+
delete re[e];
|
|
4334
|
+
}), re[e];
|
|
4333
4335
|
}
|
|
4334
4336
|
const Ki = {
|
|
4335
4337
|
number: {
|
|
@@ -4360,138 +4362,138 @@ const Ki = {
|
|
|
4360
4362
|
timeZoneName: "short"
|
|
4361
4363
|
}
|
|
4362
4364
|
}
|
|
4363
|
-
},
|
|
4365
|
+
}, eo = {
|
|
4364
4366
|
fallbackLocale: null,
|
|
4365
4367
|
loadingDelay: 200,
|
|
4366
4368
|
formats: Ki,
|
|
4367
4369
|
warnOnMissingMessages: !0,
|
|
4368
4370
|
handleMissingMessage: void 0,
|
|
4369
4371
|
ignoreTag: !0
|
|
4370
|
-
},
|
|
4372
|
+
}, to = eo;
|
|
4371
4373
|
function q() {
|
|
4372
|
-
return
|
|
4373
|
-
}
|
|
4374
|
-
const
|
|
4375
|
-
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors,
|
|
4376
|
-
for (var r in
|
|
4377
|
-
oo.call(
|
|
4378
|
-
if (
|
|
4379
|
-
for (var r of
|
|
4380
|
-
so.call(
|
|
4381
|
-
return
|
|
4382
|
-
}, uo = (
|
|
4383
|
-
let
|
|
4384
|
-
const
|
|
4385
|
-
function
|
|
4386
|
-
return
|
|
4374
|
+
return to;
|
|
4375
|
+
}
|
|
4376
|
+
const ke = He(!1);
|
|
4377
|
+
var ro = Object.defineProperty, no = Object.defineProperties, io = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ao = (e, t) => {
|
|
4378
|
+
for (var r in t || (t = {}))
|
|
4379
|
+
oo.call(t, r) && Gt(e, r, t[r]);
|
|
4380
|
+
if (Rt)
|
|
4381
|
+
for (var r of Rt(t))
|
|
4382
|
+
so.call(t, r) && Gt(e, r, t[r]);
|
|
4383
|
+
return e;
|
|
4384
|
+
}, uo = (e, t) => no(e, io(t));
|
|
4385
|
+
let st;
|
|
4386
|
+
const Ee = He(null);
|
|
4387
|
+
function Ut(e) {
|
|
4388
|
+
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4387
4389
|
}
|
|
4388
|
-
function
|
|
4389
|
-
const r =
|
|
4390
|
-
return
|
|
4390
|
+
function Be(e, t = q().fallbackLocale) {
|
|
4391
|
+
const r = Ut(e);
|
|
4392
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
|
|
4391
4393
|
}
|
|
4392
4394
|
function F() {
|
|
4393
|
-
return
|
|
4395
|
+
return st != null ? st : void 0;
|
|
4394
4396
|
}
|
|
4395
|
-
|
|
4396
|
-
|
|
4397
|
+
Ee.subscribe((e) => {
|
|
4398
|
+
st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4397
4399
|
});
|
|
4398
|
-
const lo = (
|
|
4399
|
-
if (
|
|
4400
|
-
const { loadingDelay:
|
|
4400
|
+
const lo = (e) => {
|
|
4401
|
+
if (e && Qi(e) && ot(e)) {
|
|
4402
|
+
const { loadingDelay: t } = q();
|
|
4401
4403
|
let r;
|
|
4402
|
-
return typeof window != "undefined" && F() != null &&
|
|
4403
|
-
() =>
|
|
4404
|
-
|
|
4405
|
-
) :
|
|
4406
|
-
|
|
4404
|
+
return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
|
|
4405
|
+
() => ke.set(!0),
|
|
4406
|
+
t
|
|
4407
|
+
) : ke.set(!0), Hr(e).then(() => {
|
|
4408
|
+
Ee.set(e);
|
|
4407
4409
|
}).finally(() => {
|
|
4408
|
-
clearTimeout(r),
|
|
4410
|
+
clearTimeout(r), ke.set(!1);
|
|
4409
4411
|
});
|
|
4410
4412
|
}
|
|
4411
|
-
return
|
|
4412
|
-
}, K = uo(ao({},
|
|
4413
|
+
return Ee.set(e);
|
|
4414
|
+
}, K = uo(ao({}, Ee), {
|
|
4413
4415
|
set: lo
|
|
4414
|
-
}),
|
|
4415
|
-
const
|
|
4416
|
+
}), Pe = (e) => {
|
|
4417
|
+
const t = /* @__PURE__ */ Object.create(null);
|
|
4416
4418
|
return (n) => {
|
|
4417
4419
|
const i = JSON.stringify(n);
|
|
4418
|
-
return i in
|
|
4420
|
+
return i in t ? t[i] : t[i] = e(n);
|
|
4419
4421
|
};
|
|
4420
4422
|
};
|
|
4421
|
-
var ho = Object.defineProperty,
|
|
4422
|
-
for (var r in
|
|
4423
|
-
Cr.call(
|
|
4424
|
-
if (
|
|
4425
|
-
for (var r of
|
|
4426
|
-
|
|
4427
|
-
return
|
|
4428
|
-
},
|
|
4423
|
+
var ho = Object.defineProperty, we = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
|
|
4424
|
+
for (var r in t || (t = {}))
|
|
4425
|
+
Cr.call(t, r) && Dt(e, r, t[r]);
|
|
4426
|
+
if (we)
|
|
4427
|
+
for (var r of we(t))
|
|
4428
|
+
Ar.call(t, r) && Dt(e, r, t[r]);
|
|
4429
|
+
return e;
|
|
4430
|
+
}, ee = (e, t) => {
|
|
4429
4431
|
var r = {};
|
|
4430
|
-
for (var n in
|
|
4431
|
-
Cr.call(
|
|
4432
|
-
if (
|
|
4433
|
-
for (var n of
|
|
4434
|
-
|
|
4432
|
+
for (var n in e)
|
|
4433
|
+
Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4434
|
+
if (e != null && we)
|
|
4435
|
+
for (var n of we(e))
|
|
4436
|
+
t.indexOf(n) < 0 && Ar.call(e, n) && (r[n] = e[n]);
|
|
4435
4437
|
return r;
|
|
4436
4438
|
};
|
|
4437
|
-
const
|
|
4439
|
+
const ae = (e, t) => {
|
|
4438
4440
|
const { formats: r } = q();
|
|
4439
|
-
if (
|
|
4440
|
-
return r[
|
|
4441
|
-
throw new Error(`[svelte-i18n] Unknown "${
|
|
4442
|
-
}, co =
|
|
4443
|
-
(
|
|
4444
|
-
var
|
|
4441
|
+
if (e in r && t in r[e])
|
|
4442
|
+
return r[e][t];
|
|
4443
|
+
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4444
|
+
}, co = Pe(
|
|
4445
|
+
(e) => {
|
|
4446
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4445
4447
|
if (r == null)
|
|
4446
4448
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4447
|
-
return n && (i =
|
|
4449
|
+
return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
|
|
4448
4450
|
}
|
|
4449
|
-
), fo =
|
|
4450
|
-
(
|
|
4451
|
-
var
|
|
4451
|
+
), fo = Pe(
|
|
4452
|
+
(e) => {
|
|
4453
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4452
4454
|
if (r == null)
|
|
4453
4455
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4454
|
-
return n ? i =
|
|
4456
|
+
return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4455
4457
|
}
|
|
4456
|
-
), mo =
|
|
4457
|
-
(
|
|
4458
|
-
var
|
|
4458
|
+
), mo = Pe(
|
|
4459
|
+
(e) => {
|
|
4460
|
+
var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
|
|
4459
4461
|
if (r == null)
|
|
4460
4462
|
throw new Error(
|
|
4461
4463
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4462
4464
|
);
|
|
4463
|
-
return n ? i =
|
|
4465
|
+
return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4464
4466
|
}
|
|
4465
|
-
), po = (
|
|
4466
|
-
var
|
|
4467
|
+
), po = (e = {}) => {
|
|
4468
|
+
var t = e, {
|
|
4467
4469
|
locale: r = F()
|
|
4468
|
-
} =
|
|
4470
|
+
} = t, n = ee(t, [
|
|
4469
4471
|
"locale"
|
|
4470
4472
|
]);
|
|
4471
|
-
return co(
|
|
4472
|
-
}, bo = (
|
|
4473
|
-
var
|
|
4473
|
+
return co(ct({ locale: r }, n));
|
|
4474
|
+
}, bo = (e = {}) => {
|
|
4475
|
+
var t = e, {
|
|
4474
4476
|
locale: r = F()
|
|
4475
|
-
} =
|
|
4477
|
+
} = t, n = ee(t, [
|
|
4476
4478
|
"locale"
|
|
4477
4479
|
]);
|
|
4478
|
-
return fo(
|
|
4479
|
-
}, go = (
|
|
4480
|
-
var
|
|
4480
|
+
return fo(ct({ locale: r }, n));
|
|
4481
|
+
}, go = (e = {}) => {
|
|
4482
|
+
var t = e, {
|
|
4481
4483
|
locale: r = F()
|
|
4482
|
-
} =
|
|
4484
|
+
} = t, n = ee(t, [
|
|
4483
4485
|
"locale"
|
|
4484
4486
|
]);
|
|
4485
|
-
return mo(
|
|
4486
|
-
}, yo =
|
|
4487
|
+
return mo(ct({ locale: r }, n));
|
|
4488
|
+
}, yo = Pe(
|
|
4487
4489
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4488
|
-
(
|
|
4490
|
+
(e, t = F()) => new Vi(e, t, q().formats, {
|
|
4489
4491
|
ignoreTag: q().ignoreTag
|
|
4490
4492
|
})
|
|
4491
|
-
), vo = (
|
|
4493
|
+
), vo = (e, t = {}) => {
|
|
4492
4494
|
var r, n, i, o;
|
|
4493
|
-
let a =
|
|
4494
|
-
typeof
|
|
4495
|
+
let a = t;
|
|
4496
|
+
typeof e == "object" && (a = e, e = a.id);
|
|
4495
4497
|
const {
|
|
4496
4498
|
values: s,
|
|
4497
4499
|
locale: l = F(),
|
|
@@ -4501,12 +4503,12 @@ const at = (t, e) => {
|
|
|
4501
4503
|
throw new Error(
|
|
4502
4504
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4503
4505
|
);
|
|
4504
|
-
let h = Er(
|
|
4506
|
+
let h = Er(e, l);
|
|
4505
4507
|
if (!h)
|
|
4506
|
-
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id:
|
|
4508
|
+
h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4507
4509
|
else if (typeof h != "string")
|
|
4508
4510
|
return console.warn(
|
|
4509
|
-
`[svelte-i18n] Message with id "${
|
|
4511
|
+
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
4510
4512
|
), h;
|
|
4511
4513
|
if (!s)
|
|
4512
4514
|
return h;
|
|
@@ -4515,25 +4517,26 @@ const at = (t, e) => {
|
|
|
4515
4517
|
c = yo(h, l).format(s);
|
|
4516
4518
|
} catch (f) {
|
|
4517
4519
|
f instanceof Error && console.warn(
|
|
4518
|
-
`[svelte-i18n] Message "${
|
|
4520
|
+
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
4519
4521
|
f.message
|
|
4520
4522
|
);
|
|
4521
4523
|
}
|
|
4522
4524
|
return c;
|
|
4523
|
-
}, _o = (
|
|
4525
|
+
}, _o = (e, t) => go(t).format(e), xo = (e, t) => bo(t).format(e), Eo = (e, t) => po(t).format(e), wo = (e, t = F()) => Er(e, t), So = Y([K, he], () => vo);
|
|
4524
4526
|
Y([K], () => _o);
|
|
4525
4527
|
Y([K], () => xo);
|
|
4526
4528
|
Y([K], () => Eo);
|
|
4527
|
-
Y([K,
|
|
4529
|
+
Y([K, he], () => wo);
|
|
4528
4530
|
window.emWidgets = { topic: Nn };
|
|
4529
|
-
const To = (
|
|
4530
|
-
|
|
4531
|
-
|
|
4531
|
+
const To = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4532
|
+
String(Number.MAX_SAFE_INTEGER).length;
|
|
4533
|
+
function Ft(e, t) {
|
|
4534
|
+
Sr(e, t);
|
|
4532
4535
|
}
|
|
4533
|
-
function Ho(
|
|
4534
|
-
K.set(
|
|
4536
|
+
function Ho(e) {
|
|
4537
|
+
K.set(e);
|
|
4535
4538
|
}
|
|
4536
|
-
const
|
|
4539
|
+
const jt = {
|
|
4537
4540
|
en: {
|
|
4538
4541
|
cancel: "Cancel",
|
|
4539
4542
|
confirm: "Confirm"
|
|
@@ -4579,79 +4582,79 @@ const je = {
|
|
|
4579
4582
|
confirm: "Confirm"
|
|
4580
4583
|
}
|
|
4581
4584
|
};
|
|
4582
|
-
function Co(
|
|
4583
|
-
Wr(
|
|
4585
|
+
function Co(e) {
|
|
4586
|
+
Wr(e, "svelte-n224ff", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 10px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 10px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
|
|
4584
4587
|
}
|
|
4585
|
-
const
|
|
4586
|
-
function
|
|
4587
|
-
let
|
|
4588
|
+
const Ao = (e) => ({}), kt = (e) => ({});
|
|
4589
|
+
function Bo(e) {
|
|
4590
|
+
let t, r;
|
|
4588
4591
|
return {
|
|
4589
4592
|
c() {
|
|
4590
|
-
|
|
4593
|
+
t = yt("svg"), r = yt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
|
|
4591
4594
|
},
|
|
4592
4595
|
m(n, i) {
|
|
4593
|
-
|
|
4596
|
+
lt(n, t, i), P(t, r);
|
|
4594
4597
|
},
|
|
4595
4598
|
p: I,
|
|
4596
4599
|
d(n) {
|
|
4597
|
-
n &&
|
|
4600
|
+
n && ue(t);
|
|
4598
4601
|
}
|
|
4599
4602
|
};
|
|
4600
4603
|
}
|
|
4601
|
-
function Po(
|
|
4602
|
-
let
|
|
4604
|
+
function Po(e) {
|
|
4605
|
+
let t, r, n, i, o, a, s, l, u, h = (
|
|
4603
4606
|
/*$_*/
|
|
4604
|
-
|
|
4607
|
+
e[2]("cancel") + ""
|
|
4605
4608
|
), c, f, p, m = (
|
|
4606
4609
|
/*$_*/
|
|
4607
|
-
|
|
4610
|
+
e[2]("confirm") + ""
|
|
4608
4611
|
), d, v, T, C;
|
|
4609
4612
|
const S = (
|
|
4610
4613
|
/*#slots*/
|
|
4611
|
-
|
|
4612
|
-
),
|
|
4614
|
+
e[14].close
|
|
4615
|
+
), A = Fr(
|
|
4613
4616
|
S,
|
|
4614
|
-
|
|
4617
|
+
e,
|
|
4615
4618
|
/*$$scope*/
|
|
4616
|
-
|
|
4617
|
-
|
|
4618
|
-
), E =
|
|
4619
|
+
e[13],
|
|
4620
|
+
kt
|
|
4621
|
+
), E = A || Bo();
|
|
4619
4622
|
return {
|
|
4620
4623
|
c() {
|
|
4621
|
-
|
|
4624
|
+
t = M("div"), r = M("div"), n = M("span"), E && E.c(), i = Le(), o = M("div"), a = ne(
|
|
4622
4625
|
/*modaltext*/
|
|
4623
|
-
|
|
4624
|
-
), s =
|
|
4625
|
-
(
|
|
4626
|
-
(
|
|
4627
|
-
(
|
|
4626
|
+
e[0]
|
|
4627
|
+
), s = Le(), l = M("div"), u = M("button"), c = ne(h), f = Le(), p = M("button"), d = ne(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
|
|
4628
|
+
(e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
|
|
4629
|
+
(e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
|
|
4630
|
+
(e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
|
|
4628
4631
|
},
|
|
4629
4632
|
m(_, O) {
|
|
4630
|
-
|
|
4631
|
-
|
|
4633
|
+
lt(_, t, O), P(t, r), P(r, n), E && E.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[15](t), v = !0, T || (C = [
|
|
4634
|
+
Ie(
|
|
4632
4635
|
n,
|
|
4633
4636
|
"click",
|
|
4634
4637
|
/*close*/
|
|
4635
|
-
|
|
4638
|
+
e[4]
|
|
4636
4639
|
),
|
|
4637
|
-
|
|
4640
|
+
Ie(
|
|
4638
4641
|
u,
|
|
4639
4642
|
"click",
|
|
4640
4643
|
/*cancelChanges*/
|
|
4641
|
-
|
|
4644
|
+
e[6]
|
|
4642
4645
|
),
|
|
4643
|
-
|
|
4646
|
+
Ie(
|
|
4644
4647
|
p,
|
|
4645
4648
|
"click",
|
|
4646
4649
|
/*confirmChanges*/
|
|
4647
|
-
|
|
4650
|
+
e[5]
|
|
4648
4651
|
)
|
|
4649
4652
|
], T = !0);
|
|
4650
4653
|
},
|
|
4651
4654
|
p(_, [O]) {
|
|
4652
|
-
|
|
4655
|
+
A && A.p && (!v || O & /*$$scope*/
|
|
4653
4656
|
8192) && kr(
|
|
4654
|
-
|
|
4657
|
+
A,
|
|
4655
4658
|
S,
|
|
4656
4659
|
_,
|
|
4657
4660
|
/*$$scope*/
|
|
@@ -4661,54 +4664,54 @@ function Po(t) {
|
|
|
4661
4664
|
/*$$scope*/
|
|
4662
4665
|
_[13],
|
|
4663
4666
|
O,
|
|
4664
|
-
|
|
4667
|
+
Ao
|
|
4665
4668
|
) : Vr(
|
|
4666
4669
|
/*$$scope*/
|
|
4667
4670
|
_[13]
|
|
4668
4671
|
),
|
|
4669
|
-
|
|
4672
|
+
kt
|
|
4670
4673
|
), (!v || O & /*modaltext*/
|
|
4671
|
-
1) &&
|
|
4674
|
+
1) && Me(
|
|
4672
4675
|
a,
|
|
4673
4676
|
/*modaltext*/
|
|
4674
4677
|
_[0]
|
|
4675
4678
|
), (!v || O & /*$_*/
|
|
4676
4679
|
4) && h !== (h = /*$_*/
|
|
4677
|
-
_[2]("cancel") + "") &&
|
|
4680
|
+
_[2]("cancel") + "") && Me(c, h), (!v || O & /*$_*/
|
|
4678
4681
|
4) && m !== (m = /*$_*/
|
|
4679
|
-
_[2]("confirm") + "") &&
|
|
4682
|
+
_[2]("confirm") + "") && Me(d, m);
|
|
4680
4683
|
},
|
|
4681
4684
|
i(_) {
|
|
4682
|
-
v || (
|
|
4685
|
+
v || (qt(E, _), v = !0);
|
|
4683
4686
|
},
|
|
4684
4687
|
o(_) {
|
|
4685
4688
|
hn(E, _), v = !1;
|
|
4686
4689
|
},
|
|
4687
4690
|
d(_) {
|
|
4688
|
-
_ &&
|
|
4691
|
+
_ && ue(t), E && E.d(_), e[15](null), T = !1, D(C);
|
|
4689
4692
|
}
|
|
4690
4693
|
};
|
|
4691
4694
|
}
|
|
4692
|
-
function Oo(
|
|
4695
|
+
function Oo(e, t, r) {
|
|
4693
4696
|
let n;
|
|
4694
|
-
Dr(
|
|
4695
|
-
let { $$slots: i = {}, $$scope: o } =
|
|
4697
|
+
Dr(e, So, (g) => r(2, n = g));
|
|
4698
|
+
let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: c } = t, { translationurl: f = "" } = t;
|
|
4696
4699
|
const p = () => {
|
|
4697
4700
|
fetch(f).then((j) => j.json()).then((j) => {
|
|
4698
|
-
Object.keys(j).forEach((
|
|
4699
|
-
|
|
4701
|
+
Object.keys(j).forEach((ft) => {
|
|
4702
|
+
Ft(ft, j[ft]);
|
|
4700
4703
|
});
|
|
4701
4704
|
}).catch((j) => {
|
|
4702
4705
|
console.log(j);
|
|
4703
4706
|
});
|
|
4704
4707
|
};
|
|
4705
|
-
Object.keys(
|
|
4706
|
-
|
|
4708
|
+
Object.keys(jt).forEach((g) => {
|
|
4709
|
+
Ft(g, jt[g]);
|
|
4707
4710
|
});
|
|
4708
4711
|
let m, d = window.navigator.userAgent, v = To(d) !== "PC", T = {}, C = "";
|
|
4709
4712
|
const S = () => {
|
|
4710
4713
|
window.postMessage({ type: "ModalClosed" }, window.location.href);
|
|
4711
|
-
},
|
|
4714
|
+
}, A = () => {
|
|
4712
4715
|
s === "groupEdit" ? window.postMessage({ type: "GamingLimitsConfirmChanges" }, window.location.href) : s === "infoCard" && window.postMessage(
|
|
4713
4716
|
{
|
|
4714
4717
|
type: "PlayerAccountGamingLimitDelete",
|
|
@@ -4733,18 +4736,18 @@ function Oo(t, e, r) {
|
|
|
4733
4736
|
window.removeEventListener("message", O);
|
|
4734
4737
|
}));
|
|
4735
4738
|
function Or(g) {
|
|
4736
|
-
|
|
4739
|
+
Ve[g ? "unshift" : "push"](() => {
|
|
4737
4740
|
m = g, r(1, m);
|
|
4738
4741
|
});
|
|
4739
4742
|
}
|
|
4740
|
-
return
|
|
4743
|
+
return e.$$set = (g) => {
|
|
4741
4744
|
"modaltext" in g && r(0, a = g.modaltext), "modalsource" in g && r(7, s = g.modalsource), "lang" in g && r(8, l = g.lang), "clientstyling" in g && r(9, u = g.clientstyling), "clientstylingurl" in g && r(10, h = g.clientstylingurl), "mbsource" in g && r(11, c = g.mbsource), "translationurl" in g && r(12, f = g.translationurl), "$$scope" in g && r(13, o = g.$$scope);
|
|
4742
|
-
},
|
|
4743
|
-
|
|
4744
|
-
385 && a && s && l && Pr(),
|
|
4745
|
-
514 && u && m && vn(m, u),
|
|
4746
|
-
1026 && h && m && _n(m, h),
|
|
4747
|
-
2050 && c && m && xn(m, `${c}.Style`),
|
|
4745
|
+
}, e.$$.update = () => {
|
|
4746
|
+
e.$$.dirty & /*modaltext, modalsource, lang*/
|
|
4747
|
+
385 && a && s && l && Pr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4748
|
+
514 && u && m && vn(m, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4749
|
+
1026 && h && m && _n(m, h), e.$$.dirty & /*mbsource, customStylingContainer*/
|
|
4750
|
+
2050 && c && m && xn(m, `${c}.Style`), e.$$.dirty & /*translationurl*/
|
|
4748
4751
|
4096 && f && p();
|
|
4749
4752
|
}, [
|
|
4750
4753
|
a,
|
|
@@ -4752,7 +4755,7 @@ function Oo(t, e, r) {
|
|
|
4752
4755
|
n,
|
|
4753
4756
|
v,
|
|
4754
4757
|
S,
|
|
4755
|
-
|
|
4758
|
+
A,
|
|
4756
4759
|
E,
|
|
4757
4760
|
s,
|
|
4758
4761
|
l,
|
|
@@ -4765,14 +4768,14 @@ function Oo(t, e, r) {
|
|
|
4765
4768
|
Or
|
|
4766
4769
|
];
|
|
4767
4770
|
}
|
|
4768
|
-
class
|
|
4769
|
-
constructor(
|
|
4771
|
+
class Br extends gn {
|
|
4772
|
+
constructor(t) {
|
|
4770
4773
|
super(), dn(
|
|
4771
4774
|
this,
|
|
4772
|
-
|
|
4775
|
+
t,
|
|
4773
4776
|
Oo,
|
|
4774
4777
|
Po,
|
|
4775
|
-
|
|
4778
|
+
Xt,
|
|
4776
4779
|
{
|
|
4777
4780
|
modaltext: 0,
|
|
4778
4781
|
modalsource: 7,
|
|
@@ -4788,59 +4791,59 @@ class Ar extends gn {
|
|
|
4788
4791
|
get modaltext() {
|
|
4789
4792
|
return this.$$.ctx[0];
|
|
4790
4793
|
}
|
|
4791
|
-
set modaltext(
|
|
4792
|
-
this.$$set({ modaltext:
|
|
4794
|
+
set modaltext(t) {
|
|
4795
|
+
this.$$set({ modaltext: t }), $();
|
|
4793
4796
|
}
|
|
4794
4797
|
get modalsource() {
|
|
4795
4798
|
return this.$$.ctx[7];
|
|
4796
4799
|
}
|
|
4797
|
-
set modalsource(
|
|
4798
|
-
this.$$set({ modalsource:
|
|
4800
|
+
set modalsource(t) {
|
|
4801
|
+
this.$$set({ modalsource: t }), $();
|
|
4799
4802
|
}
|
|
4800
4803
|
get lang() {
|
|
4801
4804
|
return this.$$.ctx[8];
|
|
4802
4805
|
}
|
|
4803
|
-
set lang(
|
|
4804
|
-
this.$$set({ lang:
|
|
4806
|
+
set lang(t) {
|
|
4807
|
+
this.$$set({ lang: t }), $();
|
|
4805
4808
|
}
|
|
4806
4809
|
get clientstyling() {
|
|
4807
4810
|
return this.$$.ctx[9];
|
|
4808
4811
|
}
|
|
4809
|
-
set clientstyling(
|
|
4810
|
-
this.$$set({ clientstyling:
|
|
4812
|
+
set clientstyling(t) {
|
|
4813
|
+
this.$$set({ clientstyling: t }), $();
|
|
4811
4814
|
}
|
|
4812
4815
|
get clientstylingurl() {
|
|
4813
4816
|
return this.$$.ctx[10];
|
|
4814
4817
|
}
|
|
4815
|
-
set clientstylingurl(
|
|
4816
|
-
this.$$set({ clientstylingurl:
|
|
4818
|
+
set clientstylingurl(t) {
|
|
4819
|
+
this.$$set({ clientstylingurl: t }), $();
|
|
4817
4820
|
}
|
|
4818
4821
|
get mbsource() {
|
|
4819
4822
|
return this.$$.ctx[11];
|
|
4820
4823
|
}
|
|
4821
|
-
set mbsource(
|
|
4822
|
-
this.$$set({ mbsource:
|
|
4824
|
+
set mbsource(t) {
|
|
4825
|
+
this.$$set({ mbsource: t }), $();
|
|
4823
4826
|
}
|
|
4824
4827
|
get translationurl() {
|
|
4825
4828
|
return this.$$.ctx[12];
|
|
4826
4829
|
}
|
|
4827
|
-
set translationurl(
|
|
4828
|
-
this.$$set({ translationurl:
|
|
4830
|
+
set translationurl(t) {
|
|
4831
|
+
this.$$set({ translationurl: t }), $();
|
|
4829
4832
|
}
|
|
4830
4833
|
}
|
|
4831
|
-
bn(
|
|
4834
|
+
bn(Br, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, ["close"], [], !0);
|
|
4832
4835
|
const Xo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4833
4836
|
__proto__: null,
|
|
4834
|
-
default:
|
|
4837
|
+
default: Br
|
|
4835
4838
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4836
4839
|
export {
|
|
4837
4840
|
K as $,
|
|
4838
|
-
|
|
4841
|
+
Ve as A,
|
|
4839
4842
|
Mo as B,
|
|
4840
4843
|
Uo as C,
|
|
4841
|
-
|
|
4844
|
+
Se as D,
|
|
4842
4845
|
Go as E,
|
|
4843
|
-
|
|
4846
|
+
_e as F,
|
|
4844
4847
|
vn as G,
|
|
4845
4848
|
_n as H,
|
|
4846
4849
|
xn as I,
|
|
@@ -4848,7 +4851,7 @@ export {
|
|
|
4848
4851
|
So as K,
|
|
4849
4852
|
Rr as L,
|
|
4850
4853
|
hn as M,
|
|
4851
|
-
|
|
4854
|
+
qt as N,
|
|
4852
4855
|
jo as O,
|
|
4853
4856
|
Fr as P,
|
|
4854
4857
|
ko as Q,
|
|
@@ -4860,24 +4863,24 @@ export {
|
|
|
4860
4863
|
Xo as W,
|
|
4861
4864
|
Sr as a,
|
|
4862
4865
|
Wr as b,
|
|
4863
|
-
|
|
4864
|
-
|
|
4866
|
+
Me as c,
|
|
4867
|
+
ue as d,
|
|
4865
4868
|
$o as e,
|
|
4866
4869
|
$ as f,
|
|
4867
4870
|
H as g,
|
|
4868
|
-
|
|
4871
|
+
lt as h,
|
|
4869
4872
|
dn as i,
|
|
4870
4873
|
P as j,
|
|
4871
4874
|
M as k,
|
|
4872
|
-
|
|
4873
|
-
|
|
4875
|
+
Ie as l,
|
|
4876
|
+
Le as m,
|
|
4874
4877
|
I as n,
|
|
4875
|
-
|
|
4878
|
+
yt as o,
|
|
4876
4879
|
No as p,
|
|
4877
4880
|
Dr as q,
|
|
4878
4881
|
D as r,
|
|
4879
|
-
|
|
4880
|
-
|
|
4882
|
+
Xt as s,
|
|
4883
|
+
ne as t,
|
|
4881
4884
|
To as u,
|
|
4882
4885
|
nn as v,
|
|
4883
4886
|
Vo as w,
|