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