@everymatrix/casino-page-nd 1.56.0 → 1.56.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/{CasinoCalendar-DwKH1vl3.js → CasinoCalendar-Beb-D9v5.js} +1182 -1157
- package/components/{CasinoCalendar-tMtCN0uW.js → CasinoCalendar-qVpbXj-D.js} +931 -906
- package/components/CasinoCalendar-zkVoyaEl.cjs +19 -0
- package/components/{CasinoCalendarDailyDetails-B1yNq5WP.cjs → CasinoCalendarDailyDetails-C6Lmn7pW.cjs} +1 -1
- package/components/{CasinoCalendarDailyDetails-BP_ANGdX.js → CasinoCalendarDailyDetails-C6Shuvfx.js} +48 -48
- package/components/{CasinoCalendarDailyDetails-CehhK4Vt.js → CasinoCalendarDailyDetails-CmmQq8VR.js} +48 -48
- package/components/{CasinoCalendarDailyItem-DE7Q_O2x.js → CasinoCalendarDailyItem-BLMalLZx.js} +41 -41
- package/components/{CasinoCalendarDailyItem-C08Z_td-.cjs → CasinoCalendarDailyItem-D7q0pxAo.cjs} +1 -1
- package/components/{CasinoCalendarDailyItem-Cf-elj80.js → CasinoCalendarDailyItem-DlHg6exr.js} +41 -41
- package/components/{CasinoCollectionsProviders-Yt2ApEP5.js → CasinoCollectionsProviders-BU9Vdk7f.js} +257 -267
- package/components/CasinoCollectionsProviders-CKeIv7Lm.cjs +1 -0
- package/components/{CasinoCollectionsProviders-DoRepmON.js → CasinoCollectionsProviders-KxO7bWw9.js} +260 -270
- package/components/{CasinoFavoritesSectionNd-B02g5uyD.js → CasinoFavoritesSectionNd-B6eGVKwL.js} +89 -89
- package/components/{CasinoFavoritesSectionNd-CnSYWIJi.cjs → CasinoFavoritesSectionNd-BP1OHrZH.cjs} +1 -1
- package/components/{CasinoFavoritesSectionNd-Bza8UQ0r.js → CasinoFavoritesSectionNd-KuBsOlJI.js} +89 -89
- package/components/{CasinoFilter-Cb7FySTm.js → CasinoFilter-5P8W2ayY.js} +236 -233
- package/components/CasinoFilter-BLgXtVi-.cjs +1 -0
- package/components/{CasinoFilter-BbKgy4VX.js → CasinoFilter-EmKNpmwo.js} +247 -242
- package/components/CasinoGameThumbnailNd-B0au4q34.cjs +39 -0
- package/components/{CasinoGameThumbnailNd-Dtq6Pf7M.js → CasinoGameThumbnailNd-CBP0Dwi-.js} +1437 -1501
- package/components/{CasinoGameThumbnailNd-6P122Pbb.js → CasinoGameThumbnailNd-CDbQyDrE.js} +1148 -1180
- package/components/{CasinoGamesCategorySectionNd-C1iO2_SR.cjs → CasinoGamesCategorySectionNd-Bdvqc877.cjs} +1 -1
- package/components/{CasinoGamesCategorySectionNd-C1OvVakY.js → CasinoGamesCategorySectionNd-CiaLHNwg.js} +142 -135
- package/components/{CasinoGamesCategorySectionNd-vmZnCjR8.js → CasinoGamesCategorySectionNd-DrkQNzat.js} +145 -138
- package/components/{CasinoJackpotBanner-BaqwOwIt.js → CasinoJackpotBanner-CJWjyexm.js} +81 -81
- package/components/{CasinoJackpotBanner-Dnu1YGvy.js → CasinoJackpotBanner-DquJdUya.js} +88 -88
- package/components/{CasinoJackpotBanner-DZZsX8IW.cjs → CasinoJackpotBanner-o_Mbn9dc.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-D-71OOLA.cjs → CasinoLastPlayedSectionNd-BPmkjL98.cjs} +1 -1
- package/components/{CasinoLastPlayedSectionNd-CYoHFQEu.js → CasinoLastPlayedSectionNd-Ck4zj6YG.js} +37 -37
- package/components/{CasinoLastPlayedSectionNd-DVAEB9Kf.js → CasinoLastPlayedSectionNd-DMIObHTX.js} +37 -37
- package/components/{CasinoMostPlayedSectionNd-Ce4mFMX2.js → CasinoMostPlayedSectionNd--5Pa-sA9.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-Comi_0uw.js → CasinoMostPlayedSectionNd-5XKFLNY-.js} +46 -46
- package/components/{CasinoMostPlayedSectionNd-DOFhn6t3.cjs → CasinoMostPlayedSectionNd-C22bkiGI.cjs} +1 -1
- package/components/{CasinoMyGamesNd-C2159D_C.js → CasinoMyGamesNd-56Zbf9NJ.js} +52 -48
- package/components/{CasinoMyGamesNd-CI-YgB5L.js → CasinoMyGamesNd-DC9u9wLU.js} +54 -50
- package/components/{CasinoMyGamesNd-Do0Jd4Yy.cjs → CasinoMyGamesNd-X6TN-N1_.cjs} +1 -1
- package/components/{CasinoPageNd-CHw9KY4G.js → CasinoPageNd-BWLAQwMS.js} +117 -113
- package/components/{CasinoPageNd-q_CaW-NM.cjs → CasinoPageNd-DBYFCIwV.cjs} +1 -1
- package/components/{CasinoPageNd-Cl9m0NgT.js → CasinoPageNd-DSKUaPmH.js} +115 -111
- package/components/{CasinoRandomGame-D9BEuIS2.js → CasinoRandomGame-B9Eg9Cv4.js} +77 -75
- package/components/{CasinoRandomGame-B2FGgsW1.cjs → CasinoRandomGame-CUHxVoyq.cjs} +1 -1
- package/components/{CasinoRandomGame-T1GVZYOt.js → CasinoRandomGame-DR6TctHg.js} +78 -76
- package/components/{CasinoSearchNd-r3Xsk168.cjs → CasinoSearchNd-BDsM4W1x.cjs} +1 -1
- package/components/{CasinoSearchNd-8l70r1-j.js → CasinoSearchNd-C0LJM6ba.js} +59 -56
- package/components/{CasinoSearchNd-DI3QD6gc.js → CasinoSearchNd-e8PZoPu9.js} +59 -56
- package/components/{CasinoSort-BmkqSaqQ.cjs → CasinoSort-5x4S3mG_.cjs} +1 -1
- package/components/{CasinoSort-DykEVPy1.js → CasinoSort-BygFei5r.js} +103 -103
- package/components/{CasinoSort-BwNRVsYT.js → CasinoSort-DvLkFtIz.js} +111 -109
- package/components/{CasinoWinners-Dn6mLcJT.js → CasinoWinners-BZEiqOuZ.js} +162 -160
- package/components/{CasinoWinners-4fX-Jkcx.cjs → CasinoWinners-DbQvZp-o.cjs} +1 -1
- package/components/{CasinoWinners-DbNw8Ecj.js → CasinoWinners-tsFI0Qkd.js} +160 -158
- package/components/{GeneralAnimationLoading-D4L1aOk8.cjs → GeneralAnimationLoading-BFfW6U-2.cjs} +1 -1
- package/components/{GeneralAnimationLoading-C3AulHDZ.js → GeneralAnimationLoading-Bfdh1dfh.js} +16 -16
- package/components/{GeneralAnimationLoading-CKfD84TR.js → GeneralAnimationLoading-g0jjajHE.js} +16 -16
- package/es2015/casino-page-nd.cjs +1 -1
- package/es2015/casino-page-nd.js +1 -1
- package/esnext/casino-page-nd.js +1 -1
- package/package.json +1 -1
- package/stencil/{casino-play-random-game-CBXhEsCq.js → casino-play-random-game-B9yaAMOE.js} +6 -6
- package/stencil/{casino-play-random-game-PZXnDzfs.js → casino-play-random-game-BTXyM5es.js} +7 -7
- package/stencil/{casino-play-random-game-y8flXwPv.cjs → casino-play-random-game-a53bUW_d.cjs} +2 -2
- package/stencil/index-510a6ba4-B9_VY7vu.cjs +1 -0
- package/stencil/index-510a6ba4-CYFuKFRQ.js +564 -0
- package/stencil/index-510a6ba4-CzpWs0jf.js +548 -0
- package/components/CasinoCalendar-BUWW4Xzj.cjs +0 -6
- package/components/CasinoCollectionsProviders-C0mIOrt5.cjs +0 -1
- package/components/CasinoFilter-BYz1zKUs.cjs +0 -1
- package/components/CasinoGameThumbnailNd-DlUJ8jo8.cjs +0 -39
- package/stencil/index-29915e18-B3XYTzEC.cjs +0 -1
- package/stencil/index-29915e18-CQ_kWzEh.js +0 -630
- package/stencil/index-29915e18-MPiqo7vY.js +0 -646
|
@@ -1,35 +1,36 @@
|
|
|
1
1
|
function P() {
|
|
2
2
|
}
|
|
3
|
-
function
|
|
4
|
-
for (const r in t)
|
|
3
|
+
function _r(e, t) {
|
|
4
|
+
for (const r in t)
|
|
5
|
+
e[r] = t[r];
|
|
5
6
|
return (
|
|
6
7
|
/** @type {T & S} */
|
|
7
8
|
e
|
|
8
9
|
);
|
|
9
10
|
}
|
|
10
|
-
function
|
|
11
|
+
function Ct(e) {
|
|
11
12
|
return e();
|
|
12
13
|
}
|
|
13
|
-
function
|
|
14
|
+
function it() {
|
|
14
15
|
return /* @__PURE__ */ Object.create(null);
|
|
15
16
|
}
|
|
16
17
|
function X(e) {
|
|
17
|
-
e.forEach(
|
|
18
|
+
e.forEach(Ct);
|
|
18
19
|
}
|
|
19
|
-
function
|
|
20
|
+
function xe(e) {
|
|
20
21
|
return typeof e == "function";
|
|
21
22
|
}
|
|
22
|
-
function
|
|
23
|
+
function Lt(e, t) {
|
|
23
24
|
return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
|
|
24
25
|
}
|
|
25
26
|
let fe;
|
|
26
|
-
function
|
|
27
|
+
function to(e, t) {
|
|
27
28
|
return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
|
|
28
29
|
}
|
|
29
|
-
function
|
|
30
|
+
function Er(e) {
|
|
30
31
|
return Object.keys(e).length === 0;
|
|
31
32
|
}
|
|
32
|
-
function
|
|
33
|
+
function Mt(e, ...t) {
|
|
33
34
|
if (e == null) {
|
|
34
35
|
for (const n of t)
|
|
35
36
|
n(void 0);
|
|
@@ -38,19 +39,19 @@ function Ct(e, ...t) {
|
|
|
38
39
|
const r = e.subscribe(...t);
|
|
39
40
|
return r.unsubscribe ? () => r.unsubscribe() : r;
|
|
40
41
|
}
|
|
41
|
-
function
|
|
42
|
-
e.$$.on_destroy.push(
|
|
42
|
+
function xr(e, t, r) {
|
|
43
|
+
e.$$.on_destroy.push(Mt(t, r));
|
|
43
44
|
}
|
|
44
|
-
function
|
|
45
|
+
function ro(e, t, r, n) {
|
|
45
46
|
if (e) {
|
|
46
|
-
const i =
|
|
47
|
+
const i = Nt(e, t, r, n);
|
|
47
48
|
return e[0](i);
|
|
48
49
|
}
|
|
49
50
|
}
|
|
50
|
-
function
|
|
51
|
-
return e[1] && n ?
|
|
51
|
+
function Nt(e, t, r, n) {
|
|
52
|
+
return e[1] && n ? _r(r.ctx.slice(), e[1](n(t))) : r.ctx;
|
|
52
53
|
}
|
|
53
|
-
function
|
|
54
|
+
function no(e, t, r, n) {
|
|
54
55
|
if (e[2] && n) {
|
|
55
56
|
const i = e[2](n(r));
|
|
56
57
|
if (t.dirty === void 0)
|
|
@@ -65,13 +66,13 @@ function ro(e, t, r, n) {
|
|
|
65
66
|
}
|
|
66
67
|
return t.dirty;
|
|
67
68
|
}
|
|
68
|
-
function
|
|
69
|
+
function io(e, t, r, n, i, o) {
|
|
69
70
|
if (i) {
|
|
70
|
-
const a =
|
|
71
|
+
const a = Nt(t, r, n, o);
|
|
71
72
|
e.p(a, i);
|
|
72
73
|
}
|
|
73
74
|
}
|
|
74
|
-
function
|
|
75
|
+
function oo(e) {
|
|
75
76
|
if (e.ctx.length > 32) {
|
|
76
77
|
const t = [], r = e.ctx.length / 32;
|
|
77
78
|
for (let n = 0; n < r; n++)
|
|
@@ -80,21 +81,22 @@ function io(e) {
|
|
|
80
81
|
}
|
|
81
82
|
return -1;
|
|
82
83
|
}
|
|
83
|
-
function
|
|
84
|
-
return e &&
|
|
84
|
+
function so(e) {
|
|
85
|
+
return e && xe(e.destroy) ? e.destroy : P;
|
|
85
86
|
}
|
|
86
|
-
function
|
|
87
|
+
function Se(e, t) {
|
|
87
88
|
e.appendChild(t);
|
|
88
89
|
}
|
|
89
|
-
function
|
|
90
|
-
const n =
|
|
90
|
+
function Sr(e, t, r) {
|
|
91
|
+
const n = wr(e);
|
|
91
92
|
if (!n.getElementById(t)) {
|
|
92
|
-
const i =
|
|
93
|
-
i.id = t, i.textContent = r,
|
|
93
|
+
const i = R("style");
|
|
94
|
+
i.id = t, i.textContent = r, Tr(n, i);
|
|
94
95
|
}
|
|
95
96
|
}
|
|
96
|
-
function
|
|
97
|
-
if (!e)
|
|
97
|
+
function wr(e) {
|
|
98
|
+
if (!e)
|
|
99
|
+
return document;
|
|
98
100
|
const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
|
|
99
101
|
return t && /** @type {ShadowRoot} */
|
|
100
102
|
t.host ? (
|
|
@@ -102,8 +104,8 @@ function Er(e) {
|
|
|
102
104
|
t
|
|
103
105
|
) : e.ownerDocument;
|
|
104
106
|
}
|
|
105
|
-
function
|
|
106
|
-
return
|
|
107
|
+
function Tr(e, t) {
|
|
108
|
+
return Se(
|
|
107
109
|
/** @type {Document} */
|
|
108
110
|
e.head || e,
|
|
109
111
|
t
|
|
@@ -112,32 +114,32 @@ function xr(e, t) {
|
|
|
112
114
|
function k(e, t, r) {
|
|
113
115
|
e.insertBefore(t, r || null);
|
|
114
116
|
}
|
|
115
|
-
function
|
|
117
|
+
function D(e) {
|
|
116
118
|
e.parentNode && e.parentNode.removeChild(e);
|
|
117
119
|
}
|
|
118
|
-
function
|
|
120
|
+
function Hr(e, t) {
|
|
119
121
|
for (let r = 0; r < e.length; r += 1)
|
|
120
122
|
e[r] && e[r].d(t);
|
|
121
123
|
}
|
|
122
|
-
function
|
|
124
|
+
function R(e) {
|
|
123
125
|
return document.createElement(e);
|
|
124
126
|
}
|
|
125
|
-
function
|
|
127
|
+
function Br(e) {
|
|
126
128
|
return document.createElementNS("http://www.w3.org/2000/svg", e);
|
|
127
129
|
}
|
|
128
|
-
function
|
|
130
|
+
function Ke(e) {
|
|
129
131
|
return document.createTextNode(e);
|
|
130
132
|
}
|
|
131
|
-
function
|
|
132
|
-
return
|
|
133
|
+
function Pr() {
|
|
134
|
+
return Ke(" ");
|
|
133
135
|
}
|
|
134
|
-
function
|
|
135
|
-
return
|
|
136
|
+
function ao() {
|
|
137
|
+
return Ke("");
|
|
136
138
|
}
|
|
137
|
-
function
|
|
139
|
+
function uo(e, t, r, n) {
|
|
138
140
|
return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
|
|
139
141
|
}
|
|
140
|
-
function
|
|
142
|
+
function lo(e) {
|
|
141
143
|
return function(t) {
|
|
142
144
|
return t.stopPropagation(), e.call(this, t);
|
|
143
145
|
};
|
|
@@ -145,61 +147,27 @@ function ao(e) {
|
|
|
145
147
|
function j(e, t, r) {
|
|
146
148
|
r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
|
|
147
149
|
}
|
|
148
|
-
function
|
|
150
|
+
function d(e, t, r) {
|
|
149
151
|
const n = t.toLowerCase();
|
|
150
152
|
n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : j(e, t, r);
|
|
151
153
|
}
|
|
152
|
-
function
|
|
154
|
+
function Ar(e) {
|
|
153
155
|
return Array.from(e.childNodes);
|
|
154
156
|
}
|
|
155
|
-
function
|
|
157
|
+
function Or(e, t) {
|
|
156
158
|
t = "" + t, e.data !== t && (e.data = /** @type {string} */
|
|
157
159
|
t);
|
|
158
160
|
}
|
|
159
|
-
function
|
|
161
|
+
function ho(e, t) {
|
|
160
162
|
e.value = t ?? "";
|
|
161
163
|
}
|
|
162
|
-
function
|
|
164
|
+
function co(e, t, r, n) {
|
|
163
165
|
r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
|
|
164
166
|
}
|
|
165
|
-
|
|
166
|
-
function Pr() {
|
|
167
|
-
if (de === void 0) {
|
|
168
|
-
de = !1;
|
|
169
|
-
try {
|
|
170
|
-
typeof window < "u" && window.parent && window.parent.document;
|
|
171
|
-
} catch {
|
|
172
|
-
de = !0;
|
|
173
|
-
}
|
|
174
|
-
}
|
|
175
|
-
return de;
|
|
176
|
-
}
|
|
177
|
-
function ho(e, t) {
|
|
178
|
-
getComputedStyle(e).position === "static" && (e.style.position = "relative");
|
|
179
|
-
const n = L("iframe");
|
|
180
|
-
n.setAttribute(
|
|
181
|
-
"style",
|
|
182
|
-
"display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
|
|
183
|
-
), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
|
|
184
|
-
const i = Pr();
|
|
185
|
-
let o;
|
|
186
|
-
return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = rt(
|
|
187
|
-
window,
|
|
188
|
-
"message",
|
|
189
|
-
/** @param {MessageEvent} event */
|
|
190
|
-
(a) => {
|
|
191
|
-
a.source === n.contentWindow && t();
|
|
192
|
-
}
|
|
193
|
-
)) : (n.src = "about:blank", n.onload = () => {
|
|
194
|
-
o = rt(n.contentWindow, "resize", t), t();
|
|
195
|
-
}), he(e, n), () => {
|
|
196
|
-
(i || o && n.contentWindow) && o(), $(n);
|
|
197
|
-
};
|
|
198
|
-
}
|
|
199
|
-
function co(e, t, r) {
|
|
167
|
+
function fo(e, t, r) {
|
|
200
168
|
e.classList.toggle(t, !!r);
|
|
201
169
|
}
|
|
202
|
-
class
|
|
170
|
+
class po {
|
|
203
171
|
/**
|
|
204
172
|
* @private
|
|
205
173
|
* @default false
|
|
@@ -230,10 +198,10 @@ class fo {
|
|
|
230
198
|
* @returns {void}
|
|
231
199
|
*/
|
|
232
200
|
m(t, r, n = null) {
|
|
233
|
-
this.e || (this.is_svg ? this.e =
|
|
201
|
+
this.e || (this.is_svg ? this.e = Br(
|
|
234
202
|
/** @type {keyof SVGElementTagNameMap} */
|
|
235
203
|
r.nodeName
|
|
236
|
-
) : this.e =
|
|
204
|
+
) : this.e = R(
|
|
237
205
|
/** @type {keyof HTMLElementTagNameMap} */
|
|
238
206
|
r.nodeType === 11 ? "TEMPLATE" : r.nodeName
|
|
239
207
|
), this.t = r.tagName !== "TEMPLATE" ? r : (
|
|
@@ -266,10 +234,10 @@ class fo {
|
|
|
266
234
|
/**
|
|
267
235
|
* @returns {void} */
|
|
268
236
|
d() {
|
|
269
|
-
this.n.forEach(
|
|
237
|
+
this.n.forEach(D);
|
|
270
238
|
}
|
|
271
239
|
}
|
|
272
|
-
function
|
|
240
|
+
function Ir(e) {
|
|
273
241
|
const t = {};
|
|
274
242
|
return e.childNodes.forEach(
|
|
275
243
|
/** @param {Element} node */
|
|
@@ -278,73 +246,75 @@ function Ar(e) {
|
|
|
278
246
|
}
|
|
279
247
|
), t;
|
|
280
248
|
}
|
|
281
|
-
let
|
|
282
|
-
function
|
|
283
|
-
|
|
249
|
+
let ue;
|
|
250
|
+
function ae(e) {
|
|
251
|
+
ue = e;
|
|
284
252
|
}
|
|
285
|
-
function
|
|
286
|
-
if (!
|
|
287
|
-
|
|
253
|
+
function Rt() {
|
|
254
|
+
if (!ue)
|
|
255
|
+
throw new Error("Function called outside component initialization");
|
|
256
|
+
return ue;
|
|
288
257
|
}
|
|
289
|
-
function
|
|
290
|
-
|
|
258
|
+
function Cr(e) {
|
|
259
|
+
Rt().$$.on_mount.push(e);
|
|
291
260
|
}
|
|
292
|
-
function
|
|
293
|
-
|
|
261
|
+
function mo(e) {
|
|
262
|
+
Rt().$$.on_destroy.push(e);
|
|
294
263
|
}
|
|
295
|
-
const
|
|
296
|
-
let
|
|
297
|
-
const
|
|
298
|
-
let
|
|
299
|
-
function
|
|
300
|
-
|
|
264
|
+
const J = [], $e = [];
|
|
265
|
+
let q = [];
|
|
266
|
+
const ot = [], $t = /* @__PURE__ */ Promise.resolve();
|
|
267
|
+
let De = !1;
|
|
268
|
+
function Dt() {
|
|
269
|
+
De || (De = !0, $t.then(N));
|
|
301
270
|
}
|
|
302
|
-
function
|
|
303
|
-
return
|
|
271
|
+
function bo() {
|
|
272
|
+
return Dt(), $t;
|
|
304
273
|
}
|
|
305
|
-
function
|
|
306
|
-
|
|
274
|
+
function Ue(e) {
|
|
275
|
+
q.push(e);
|
|
307
276
|
}
|
|
308
277
|
const Ae = /* @__PURE__ */ new Set();
|
|
309
|
-
let
|
|
310
|
-
function
|
|
311
|
-
if (
|
|
278
|
+
let Z = 0;
|
|
279
|
+
function N() {
|
|
280
|
+
if (Z !== 0)
|
|
312
281
|
return;
|
|
313
|
-
const e =
|
|
282
|
+
const e = ue;
|
|
314
283
|
do {
|
|
315
284
|
try {
|
|
316
|
-
for (;
|
|
317
|
-
const t =
|
|
318
|
-
|
|
285
|
+
for (; Z < J.length; ) {
|
|
286
|
+
const t = J[Z];
|
|
287
|
+
Z++, ae(t), Lr(t.$$);
|
|
319
288
|
}
|
|
320
289
|
} catch (t) {
|
|
321
|
-
throw
|
|
290
|
+
throw J.length = 0, Z = 0, t;
|
|
322
291
|
}
|
|
323
|
-
for (
|
|
324
|
-
|
|
325
|
-
|
|
292
|
+
for (ae(null), J.length = 0, Z = 0; $e.length; )
|
|
293
|
+
$e.pop()();
|
|
294
|
+
for (let t = 0; t < q.length; t += 1) {
|
|
295
|
+
const r = q[t];
|
|
326
296
|
Ae.has(r) || (Ae.add(r), r());
|
|
327
297
|
}
|
|
328
|
-
|
|
329
|
-
} while (
|
|
330
|
-
for (;
|
|
331
|
-
|
|
332
|
-
|
|
298
|
+
q.length = 0;
|
|
299
|
+
} while (J.length);
|
|
300
|
+
for (; ot.length; )
|
|
301
|
+
ot.pop()();
|
|
302
|
+
De = !1, Ae.clear(), ae(e);
|
|
333
303
|
}
|
|
334
|
-
function
|
|
304
|
+
function Lr(e) {
|
|
335
305
|
if (e.fragment !== null) {
|
|
336
306
|
e.update(), X(e.before_update);
|
|
337
307
|
const t = e.dirty;
|
|
338
|
-
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(
|
|
308
|
+
e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
|
|
339
309
|
}
|
|
340
310
|
}
|
|
341
|
-
function
|
|
311
|
+
function Mr(e) {
|
|
342
312
|
const t = [], r = [];
|
|
343
|
-
|
|
313
|
+
q.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), q = t;
|
|
344
314
|
}
|
|
345
|
-
const
|
|
315
|
+
const me = /* @__PURE__ */ new Set();
|
|
346
316
|
let V;
|
|
347
|
-
function
|
|
317
|
+
function yo() {
|
|
348
318
|
V = {
|
|
349
319
|
r: 0,
|
|
350
320
|
c: [],
|
|
@@ -352,68 +322,72 @@ function bo() {
|
|
|
352
322
|
// parent group
|
|
353
323
|
};
|
|
354
324
|
}
|
|
355
|
-
function
|
|
325
|
+
function go() {
|
|
356
326
|
V.r || X(V.c), V = V.p;
|
|
357
327
|
}
|
|
358
|
-
function
|
|
359
|
-
e && e.i && (
|
|
328
|
+
function Ut(e, t) {
|
|
329
|
+
e && e.i && (me.delete(e), e.i(t));
|
|
360
330
|
}
|
|
361
|
-
function
|
|
331
|
+
function vo(e, t, r, n) {
|
|
362
332
|
if (e && e.o) {
|
|
363
|
-
if (
|
|
364
|
-
|
|
365
|
-
|
|
333
|
+
if (me.has(e))
|
|
334
|
+
return;
|
|
335
|
+
me.add(e), V.c.push(() => {
|
|
336
|
+
me.delete(e), n && (r && e.d(1), n());
|
|
366
337
|
}), e.o(t);
|
|
367
|
-
} else
|
|
338
|
+
} else
|
|
339
|
+
n && n();
|
|
368
340
|
}
|
|
369
|
-
function
|
|
341
|
+
function st(e) {
|
|
370
342
|
return e?.length !== void 0 ? e : Array.from(e);
|
|
371
343
|
}
|
|
372
|
-
function
|
|
344
|
+
function _o(e, t) {
|
|
373
345
|
e.d(1), t.delete(e.key);
|
|
374
346
|
}
|
|
375
|
-
function
|
|
376
|
-
let c = e.length,
|
|
347
|
+
function Eo(e, t, r, n, i, o, a, s, l, u, h, f) {
|
|
348
|
+
let c = e.length, p = o.length, b = c;
|
|
377
349
|
const g = {};
|
|
378
|
-
for (; b--; )
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
350
|
+
for (; b--; )
|
|
351
|
+
g[e[b].key] = b;
|
|
352
|
+
const S = [], A = /* @__PURE__ */ new Map(), H = /* @__PURE__ */ new Map(), w = [];
|
|
353
|
+
for (b = p; b--; ) {
|
|
354
|
+
const x = f(i, o, b), I = r(x);
|
|
355
|
+
let B = a.get(I);
|
|
356
|
+
B ? w.push(() => B.p(x, t)) : (B = u(I, x), B.c()), A.set(I, S[b] = B), I in g && H.set(I, Math.abs(b - g[I]));
|
|
384
357
|
}
|
|
385
|
-
const
|
|
358
|
+
const L = /* @__PURE__ */ new Set(), O = /* @__PURE__ */ new Set();
|
|
386
359
|
function M(x) {
|
|
387
|
-
|
|
360
|
+
Ut(x, 1), x.m(s, h), a.set(x.key, x), h = x.first, p--;
|
|
388
361
|
}
|
|
389
|
-
for (; c &&
|
|
390
|
-
const x =
|
|
391
|
-
x ===
|
|
362
|
+
for (; c && p; ) {
|
|
363
|
+
const x = S[p - 1], I = e[c - 1], B = x.key, z = I.key;
|
|
364
|
+
x === I ? (h = x.first, c--, p--) : A.has(z) ? !a.has(B) || L.has(B) ? M(x) : O.has(z) ? c-- : H.get(B) > H.get(z) ? (O.add(B), M(x)) : (L.add(z), c--) : (l(I, a), c--);
|
|
392
365
|
}
|
|
393
366
|
for (; c--; ) {
|
|
394
367
|
const x = e[c];
|
|
395
368
|
A.has(x.key) || l(x, a);
|
|
396
369
|
}
|
|
397
|
-
for (;
|
|
398
|
-
|
|
370
|
+
for (; p; )
|
|
371
|
+
M(S[p - 1]);
|
|
372
|
+
return X(w), S;
|
|
399
373
|
}
|
|
400
|
-
function
|
|
374
|
+
function Nr(e, t, r) {
|
|
401
375
|
const { fragment: n, after_update: i } = e.$$;
|
|
402
|
-
n && n.m(t, r),
|
|
403
|
-
const o = e.$$.on_mount.map(
|
|
376
|
+
n && n.m(t, r), Ue(() => {
|
|
377
|
+
const o = e.$$.on_mount.map(Ct).filter(xe);
|
|
404
378
|
e.$$.on_destroy ? e.$$.on_destroy.push(...o) : X(o), e.$$.on_mount = [];
|
|
405
|
-
}), i.forEach(
|
|
379
|
+
}), i.forEach(Ue);
|
|
406
380
|
}
|
|
407
|
-
function
|
|
381
|
+
function Rr(e, t) {
|
|
408
382
|
const r = e.$$;
|
|
409
|
-
r.fragment !== null && (
|
|
383
|
+
r.fragment !== null && (Mr(r.after_update), X(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
|
|
410
384
|
}
|
|
411
|
-
function
|
|
412
|
-
e.$$.dirty[0] === -1 && (
|
|
385
|
+
function $r(e, t) {
|
|
386
|
+
e.$$.dirty[0] === -1 && (J.push(e), Dt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
|
|
413
387
|
}
|
|
414
|
-
function
|
|
415
|
-
const l =
|
|
416
|
-
|
|
388
|
+
function Dr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
389
|
+
const l = ue;
|
|
390
|
+
ae(e);
|
|
417
391
|
const u = e.$$ = {
|
|
418
392
|
fragment: null,
|
|
419
393
|
ctx: [],
|
|
@@ -421,7 +395,7 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
421
395
|
props: o,
|
|
422
396
|
update: P,
|
|
423
397
|
not_equal: i,
|
|
424
|
-
bound:
|
|
398
|
+
bound: it(),
|
|
425
399
|
// lifecycle
|
|
426
400
|
on_mount: [],
|
|
427
401
|
on_destroy: [],
|
|
@@ -430,28 +404,28 @@ function Rr(e, t, r, n, i, o, a = null, s = [-1]) {
|
|
|
430
404
|
after_update: [],
|
|
431
405
|
context: new Map(t.context || (l ? l.$$.context : [])),
|
|
432
406
|
// everything else
|
|
433
|
-
callbacks:
|
|
407
|
+
callbacks: it(),
|
|
434
408
|
dirty: s,
|
|
435
409
|
skip_bound: !1,
|
|
436
410
|
root: t.target || l.$$.root
|
|
437
411
|
};
|
|
438
412
|
a && a(u.root);
|
|
439
413
|
let h = !1;
|
|
440
|
-
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...
|
|
441
|
-
const b =
|
|
442
|
-
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h &&
|
|
414
|
+
if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
|
|
415
|
+
const b = p.length ? p[0] : c;
|
|
416
|
+
return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), h && $r(e, f)), c;
|
|
443
417
|
}) : [], u.update(), h = !0, X(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
|
|
444
418
|
if (t.hydrate) {
|
|
445
|
-
const f =
|
|
446
|
-
u.fragment && u.fragment.l(f), f.forEach(
|
|
419
|
+
const f = Ar(t.target);
|
|
420
|
+
u.fragment && u.fragment.l(f), f.forEach(D);
|
|
447
421
|
} else
|
|
448
422
|
u.fragment && u.fragment.c();
|
|
449
|
-
t.intro &&
|
|
423
|
+
t.intro && Ut(e.$$.fragment), Nr(e, t.target, t.anchor), N();
|
|
450
424
|
}
|
|
451
|
-
|
|
425
|
+
ae(l);
|
|
452
426
|
}
|
|
453
|
-
let
|
|
454
|
-
typeof HTMLElement == "function" && (
|
|
427
|
+
let Gt;
|
|
428
|
+
typeof HTMLElement == "function" && (Gt = class extends HTMLElement {
|
|
455
429
|
/** The Svelte component constructor */
|
|
456
430
|
$$ctor;
|
|
457
431
|
/** Slots */
|
|
@@ -493,7 +467,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
493
467
|
let o;
|
|
494
468
|
return {
|
|
495
469
|
c: function() {
|
|
496
|
-
o =
|
|
470
|
+
o = R("slot"), i !== "default" && j(o, "name", i);
|
|
497
471
|
},
|
|
498
472
|
/**
|
|
499
473
|
* @param {HTMLElement} target
|
|
@@ -503,19 +477,19 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
503
477
|
k(l, o, u);
|
|
504
478
|
},
|
|
505
479
|
d: function(l) {
|
|
506
|
-
l &&
|
|
480
|
+
l && D(o);
|
|
507
481
|
}
|
|
508
482
|
};
|
|
509
483
|
};
|
|
510
484
|
};
|
|
511
485
|
if (await Promise.resolve(), !this.$$cn || this.$$c)
|
|
512
486
|
return;
|
|
513
|
-
const t = {}, r =
|
|
487
|
+
const t = {}, r = Ir(this);
|
|
514
488
|
for (const i of this.$$s)
|
|
515
489
|
i in r && (t[i] = [e(i)]);
|
|
516
490
|
for (const i of this.attributes) {
|
|
517
491
|
const o = this.$$g_p(i.name);
|
|
518
|
-
o in this.$$d || (this.$$d[o] =
|
|
492
|
+
o in this.$$d || (this.$$d[o] = be(o, i.value, this.$$p_d, "toProp"));
|
|
519
493
|
}
|
|
520
494
|
for (const i in this.$$p_d)
|
|
521
495
|
!(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
|
|
@@ -533,7 +507,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
533
507
|
this.$$r = !0;
|
|
534
508
|
for (const i in this.$$p_d)
|
|
535
509
|
if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
|
|
536
|
-
const o =
|
|
510
|
+
const o = be(
|
|
537
511
|
i,
|
|
538
512
|
this.$$d[i],
|
|
539
513
|
this.$$p_d,
|
|
@@ -555,7 +529,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
555
529
|
// We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
|
|
556
530
|
// and setting attributes through setAttribute etc, this is helpful
|
|
557
531
|
attributeChangedCallback(e, t, r) {
|
|
558
|
-
this.$$r || (e = this.$$g_p(e), this.$$d[e] =
|
|
532
|
+
this.$$r || (e = this.$$g_p(e), this.$$d[e] = be(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
|
|
559
533
|
}
|
|
560
534
|
disconnectedCallback() {
|
|
561
535
|
this.$$cn = !1, Promise.resolve().then(() => {
|
|
@@ -568,7 +542,7 @@ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
|
|
|
568
542
|
) || e;
|
|
569
543
|
}
|
|
570
544
|
});
|
|
571
|
-
function
|
|
545
|
+
function be(e, t, r, n) {
|
|
572
546
|
const i = r[e]?.type;
|
|
573
547
|
if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
|
|
574
548
|
return t;
|
|
@@ -597,8 +571,8 @@ function ye(e, t, r, n) {
|
|
|
597
571
|
return t;
|
|
598
572
|
}
|
|
599
573
|
}
|
|
600
|
-
function
|
|
601
|
-
let a = class extends
|
|
574
|
+
function Ur(e, t, r, n, i, o) {
|
|
575
|
+
let a = class extends Gt {
|
|
602
576
|
constructor() {
|
|
603
577
|
super(e, r, i), this.$$p_d = t;
|
|
604
578
|
}
|
|
@@ -614,7 +588,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
614
588
|
return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
|
|
615
589
|
},
|
|
616
590
|
set(l) {
|
|
617
|
-
l =
|
|
591
|
+
l = be(s, l, t), this.$$d[s] = l, this.$$c?.$set({ [s]: l });
|
|
618
592
|
}
|
|
619
593
|
});
|
|
620
594
|
}), n.forEach((s) => {
|
|
@@ -626,7 +600,7 @@ function $r(e, t, r, n, i, o) {
|
|
|
626
600
|
}), e.element = /** @type {any} */
|
|
627
601
|
a, a;
|
|
628
602
|
}
|
|
629
|
-
class
|
|
603
|
+
class Gr {
|
|
630
604
|
/**
|
|
631
605
|
* ### PRIVATE API
|
|
632
606
|
*
|
|
@@ -645,7 +619,7 @@ class Dr {
|
|
|
645
619
|
$$set = void 0;
|
|
646
620
|
/** @returns {void} */
|
|
647
621
|
$destroy() {
|
|
648
|
-
|
|
622
|
+
Rr(this, 1), this.$destroy = P;
|
|
649
623
|
}
|
|
650
624
|
/**
|
|
651
625
|
* @template {Extract<keyof Events, string>} K
|
|
@@ -654,7 +628,7 @@ class Dr {
|
|
|
654
628
|
* @returns {() => void}
|
|
655
629
|
*/
|
|
656
630
|
$on(t, r) {
|
|
657
|
-
if (!
|
|
631
|
+
if (!xe(r))
|
|
658
632
|
return P;
|
|
659
633
|
const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
|
|
660
634
|
return n.push(r), () => {
|
|
@@ -667,22 +641,37 @@ class Dr {
|
|
|
667
641
|
* @returns {void}
|
|
668
642
|
*/
|
|
669
643
|
$set(t) {
|
|
670
|
-
this.$$set && !
|
|
644
|
+
this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
|
|
671
645
|
}
|
|
672
646
|
}
|
|
673
|
-
const
|
|
674
|
-
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(
|
|
675
|
-
|
|
676
|
-
|
|
647
|
+
const Fr = "4";
|
|
648
|
+
typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Fr);
|
|
649
|
+
/*! *****************************************************************************
|
|
650
|
+
Copyright (c) Microsoft Corporation.
|
|
651
|
+
|
|
652
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
653
|
+
purpose with or without fee is hereby granted.
|
|
654
|
+
|
|
655
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
656
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
657
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
658
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
659
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
660
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
661
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
662
|
+
***************************************************************************** */
|
|
663
|
+
var Ge = function(e, t) {
|
|
664
|
+
return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
|
|
677
665
|
r.__proto__ = n;
|
|
678
666
|
} || function(r, n) {
|
|
679
|
-
for (var i in n)
|
|
680
|
-
|
|
667
|
+
for (var i in n)
|
|
668
|
+
Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
|
|
669
|
+
}, Ge(e, t);
|
|
681
670
|
};
|
|
682
671
|
function U(e, t) {
|
|
683
672
|
if (typeof t != "function" && t !== null)
|
|
684
673
|
throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
|
|
685
|
-
|
|
674
|
+
Ge(e, t);
|
|
686
675
|
function r() {
|
|
687
676
|
this.constructor = e;
|
|
688
677
|
}
|
|
@@ -692,61 +681,69 @@ var _ = function() {
|
|
|
692
681
|
return _ = Object.assign || function(t) {
|
|
693
682
|
for (var r, n = 1, i = arguments.length; n < i; n++) {
|
|
694
683
|
r = arguments[n];
|
|
695
|
-
for (var o in r)
|
|
684
|
+
for (var o in r)
|
|
685
|
+
Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
|
|
696
686
|
}
|
|
697
687
|
return t;
|
|
698
688
|
}, _.apply(this, arguments);
|
|
699
689
|
};
|
|
700
|
-
function
|
|
690
|
+
function jr(e, t) {
|
|
701
691
|
var r = {};
|
|
702
|
-
for (var n in e)
|
|
692
|
+
for (var n in e)
|
|
693
|
+
Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
703
694
|
if (e != null && typeof Object.getOwnPropertySymbols == "function")
|
|
704
695
|
for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
|
|
705
696
|
t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
|
|
706
697
|
return r;
|
|
707
698
|
}
|
|
708
|
-
function
|
|
699
|
+
function Fe(e) {
|
|
709
700
|
var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
|
|
710
|
-
if (r)
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
701
|
+
if (r)
|
|
702
|
+
return r.call(e);
|
|
703
|
+
if (e && typeof e.length == "number")
|
|
704
|
+
return {
|
|
705
|
+
next: function() {
|
|
706
|
+
return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
|
|
707
|
+
}
|
|
708
|
+
};
|
|
716
709
|
throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
|
|
717
710
|
}
|
|
718
|
-
function
|
|
711
|
+
function je(e, t) {
|
|
719
712
|
var r = typeof Symbol == "function" && e[Symbol.iterator];
|
|
720
|
-
if (!r)
|
|
713
|
+
if (!r)
|
|
714
|
+
return e;
|
|
721
715
|
var n = r.call(e), i, o = [], a;
|
|
722
716
|
try {
|
|
723
|
-
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
717
|
+
for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
|
|
718
|
+
o.push(i.value);
|
|
724
719
|
} catch (s) {
|
|
725
720
|
a = { error: s };
|
|
726
721
|
} finally {
|
|
727
722
|
try {
|
|
728
723
|
i && !i.done && (r = n.return) && r.call(n);
|
|
729
724
|
} finally {
|
|
730
|
-
if (a)
|
|
725
|
+
if (a)
|
|
726
|
+
throw a.error;
|
|
731
727
|
}
|
|
732
728
|
}
|
|
733
729
|
return o;
|
|
734
730
|
}
|
|
735
|
-
function
|
|
736
|
-
if (r || arguments.length === 2)
|
|
737
|
-
(
|
|
738
|
-
|
|
731
|
+
function Y(e, t, r) {
|
|
732
|
+
if (r || arguments.length === 2)
|
|
733
|
+
for (var n = 0, i = t.length, o; n < i; n++)
|
|
734
|
+
(o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
|
|
735
|
+
return e.concat(o || t);
|
|
739
736
|
}
|
|
740
|
-
function
|
|
737
|
+
function $(e) {
|
|
741
738
|
return typeof e == "function";
|
|
742
739
|
}
|
|
743
|
-
function
|
|
740
|
+
function Ft(e) {
|
|
744
741
|
var t = function(n) {
|
|
745
742
|
Error.call(n), n.stack = new Error().stack;
|
|
746
743
|
}, r = e(t);
|
|
747
744
|
return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
|
|
748
745
|
}
|
|
749
|
-
var Oe =
|
|
746
|
+
var Oe = Ft(function(e) {
|
|
750
747
|
return function(r) {
|
|
751
748
|
e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
|
|
752
749
|
` + r.map(function(n, i) {
|
|
@@ -755,13 +752,13 @@ var Oe = Ut(function(e) {
|
|
|
755
752
|
`) : "", this.name = "UnsubscriptionError", this.errors = r;
|
|
756
753
|
};
|
|
757
754
|
});
|
|
758
|
-
function
|
|
755
|
+
function ke(e, t) {
|
|
759
756
|
if (e) {
|
|
760
757
|
var r = e.indexOf(t);
|
|
761
758
|
0 <= r && e.splice(r, 1);
|
|
762
759
|
}
|
|
763
760
|
}
|
|
764
|
-
var
|
|
761
|
+
var we = function() {
|
|
765
762
|
function e(t) {
|
|
766
763
|
this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
|
|
767
764
|
}
|
|
@@ -773,7 +770,7 @@ var Se = function() {
|
|
|
773
770
|
if (a)
|
|
774
771
|
if (this._parentage = null, Array.isArray(a))
|
|
775
772
|
try {
|
|
776
|
-
for (var s =
|
|
773
|
+
for (var s = Fe(a), l = s.next(); !l.done; l = s.next()) {
|
|
777
774
|
var u = l.value;
|
|
778
775
|
u.remove(this);
|
|
779
776
|
}
|
|
@@ -783,13 +780,14 @@ var Se = function() {
|
|
|
783
780
|
try {
|
|
784
781
|
l && !l.done && (r = s.return) && r.call(s);
|
|
785
782
|
} finally {
|
|
786
|
-
if (t)
|
|
783
|
+
if (t)
|
|
784
|
+
throw t.error;
|
|
787
785
|
}
|
|
788
786
|
}
|
|
789
787
|
else
|
|
790
788
|
a.remove(this);
|
|
791
789
|
var h = this.initialTeardown;
|
|
792
|
-
if (
|
|
790
|
+
if ($(h))
|
|
793
791
|
try {
|
|
794
792
|
h();
|
|
795
793
|
} catch (g) {
|
|
@@ -799,21 +797,22 @@ var Se = function() {
|
|
|
799
797
|
if (f) {
|
|
800
798
|
this._finalizers = null;
|
|
801
799
|
try {
|
|
802
|
-
for (var c =
|
|
803
|
-
var b =
|
|
800
|
+
for (var c = Fe(f), p = c.next(); !p.done; p = c.next()) {
|
|
801
|
+
var b = p.value;
|
|
804
802
|
try {
|
|
805
|
-
|
|
803
|
+
at(b);
|
|
806
804
|
} catch (g) {
|
|
807
|
-
o = o ?? [], g instanceof Oe ? o =
|
|
805
|
+
o = o ?? [], g instanceof Oe ? o = Y(Y([], je(o)), je(g.errors)) : o.push(g);
|
|
808
806
|
}
|
|
809
807
|
}
|
|
810
808
|
} catch (g) {
|
|
811
809
|
n = { error: g };
|
|
812
810
|
} finally {
|
|
813
811
|
try {
|
|
814
|
-
|
|
812
|
+
p && !p.done && (i = c.return) && i.call(c);
|
|
815
813
|
} finally {
|
|
816
|
-
if (n)
|
|
814
|
+
if (n)
|
|
815
|
+
throw n.error;
|
|
817
816
|
}
|
|
818
817
|
}
|
|
819
818
|
}
|
|
@@ -824,7 +823,7 @@ var Se = function() {
|
|
|
824
823
|
var r;
|
|
825
824
|
if (t && t !== this)
|
|
826
825
|
if (this.closed)
|
|
827
|
-
|
|
826
|
+
at(t);
|
|
828
827
|
else {
|
|
829
828
|
if (t instanceof e) {
|
|
830
829
|
if (t.closed || t._hasParent(this))
|
|
@@ -841,52 +840,56 @@ var Se = function() {
|
|
|
841
840
|
this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
|
|
842
841
|
}, e.prototype._removeParent = function(t) {
|
|
843
842
|
var r = this._parentage;
|
|
844
|
-
r === t ? this._parentage = null : Array.isArray(r) &&
|
|
843
|
+
r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
|
|
845
844
|
}, e.prototype.remove = function(t) {
|
|
846
845
|
var r = this._finalizers;
|
|
847
|
-
r &&
|
|
846
|
+
r && ke(r, t), t instanceof e && t._removeParent(this);
|
|
848
847
|
}, e.EMPTY = function() {
|
|
849
848
|
var t = new e();
|
|
850
849
|
return t.closed = !0, t;
|
|
851
850
|
}(), e;
|
|
852
|
-
}(),
|
|
853
|
-
function
|
|
854
|
-
return e instanceof
|
|
855
|
-
}
|
|
856
|
-
function
|
|
857
|
-
|
|
858
|
-
}
|
|
859
|
-
var
|
|
860
|
-
|
|
861
|
-
|
|
851
|
+
}(), jt = we.EMPTY;
|
|
852
|
+
function kt(e) {
|
|
853
|
+
return e instanceof we || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
|
|
854
|
+
}
|
|
855
|
+
function at(e) {
|
|
856
|
+
$(e) ? e() : e.unsubscribe();
|
|
857
|
+
}
|
|
858
|
+
var Vt = {
|
|
859
|
+
onUnhandledError: null,
|
|
860
|
+
onStoppedNotification: null,
|
|
861
|
+
Promise: void 0,
|
|
862
|
+
useDeprecatedSynchronousErrorHandling: !1,
|
|
863
|
+
useDeprecatedNextContext: !1
|
|
864
|
+
}, kr = {
|
|
862
865
|
setTimeout: function(e, t) {
|
|
863
866
|
for (var r = [], n = 2; n < arguments.length; n++)
|
|
864
867
|
r[n - 2] = arguments[n];
|
|
865
|
-
return setTimeout.apply(void 0,
|
|
868
|
+
return setTimeout.apply(void 0, Y([e, t], je(r)));
|
|
866
869
|
},
|
|
867
870
|
clearTimeout: function(e) {
|
|
868
871
|
return clearTimeout(e);
|
|
869
872
|
},
|
|
870
873
|
delegate: void 0
|
|
871
874
|
};
|
|
872
|
-
function
|
|
873
|
-
|
|
875
|
+
function Vr(e) {
|
|
876
|
+
kr.setTimeout(function() {
|
|
874
877
|
throw e;
|
|
875
878
|
});
|
|
876
879
|
}
|
|
877
|
-
function
|
|
880
|
+
function ut() {
|
|
878
881
|
}
|
|
879
|
-
function
|
|
882
|
+
function ye(e) {
|
|
880
883
|
e();
|
|
881
884
|
}
|
|
882
|
-
var
|
|
885
|
+
var Xt = function(e) {
|
|
883
886
|
U(t, e);
|
|
884
887
|
function t(r) {
|
|
885
888
|
var n = e.call(this) || this;
|
|
886
|
-
return n.isStopped = !1, r ? (n.destination = r,
|
|
889
|
+
return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = Zr, n;
|
|
887
890
|
}
|
|
888
891
|
return t.create = function(r, n, i) {
|
|
889
|
-
return new
|
|
892
|
+
return new Ve(r, n, i);
|
|
890
893
|
}, t.prototype.next = function(r) {
|
|
891
894
|
this.isStopped || this._next(r);
|
|
892
895
|
}, t.prototype.error = function(r) {
|
|
@@ -910,7 +913,11 @@ var jt = function(e) {
|
|
|
910
913
|
this.unsubscribe();
|
|
911
914
|
}
|
|
912
915
|
}, t;
|
|
913
|
-
}(
|
|
916
|
+
}(we), Xr = Function.prototype.bind;
|
|
917
|
+
function Ie(e, t) {
|
|
918
|
+
return Xr.call(e, t);
|
|
919
|
+
}
|
|
920
|
+
var Wr = function() {
|
|
914
921
|
function e(t) {
|
|
915
922
|
this.partialObserver = t;
|
|
916
923
|
}
|
|
@@ -920,7 +927,7 @@ var jt = function(e) {
|
|
|
920
927
|
try {
|
|
921
928
|
r.next(t);
|
|
922
929
|
} catch (n) {
|
|
923
|
-
|
|
930
|
+
de(n);
|
|
924
931
|
}
|
|
925
932
|
}, e.prototype.error = function(t) {
|
|
926
933
|
var r = this.partialObserver;
|
|
@@ -928,56 +935,68 @@ var jt = function(e) {
|
|
|
928
935
|
try {
|
|
929
936
|
r.error(t);
|
|
930
937
|
} catch (n) {
|
|
931
|
-
|
|
938
|
+
de(n);
|
|
932
939
|
}
|
|
933
940
|
else
|
|
934
|
-
|
|
941
|
+
de(t);
|
|
935
942
|
}, e.prototype.complete = function() {
|
|
936
943
|
var t = this.partialObserver;
|
|
937
944
|
if (t.complete)
|
|
938
945
|
try {
|
|
939
946
|
t.complete();
|
|
940
947
|
} catch (r) {
|
|
941
|
-
|
|
948
|
+
de(r);
|
|
942
949
|
}
|
|
943
950
|
}, e;
|
|
944
|
-
}(),
|
|
951
|
+
}(), Ve = function(e) {
|
|
945
952
|
U(t, e);
|
|
946
953
|
function t(r, n, i) {
|
|
947
954
|
var o = e.call(this) || this, a;
|
|
948
|
-
|
|
949
|
-
|
|
950
|
-
|
|
951
|
-
|
|
952
|
-
|
|
955
|
+
if ($(r) || !r)
|
|
956
|
+
a = {
|
|
957
|
+
next: r ?? void 0,
|
|
958
|
+
error: n ?? void 0,
|
|
959
|
+
complete: i ?? void 0
|
|
960
|
+
};
|
|
961
|
+
else {
|
|
962
|
+
var s;
|
|
963
|
+
o && Vt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
|
|
964
|
+
return o.unsubscribe();
|
|
965
|
+
}, a = {
|
|
966
|
+
next: r.next && Ie(r.next, s),
|
|
967
|
+
error: r.error && Ie(r.error, s),
|
|
968
|
+
complete: r.complete && Ie(r.complete, s)
|
|
969
|
+
}) : a = r;
|
|
970
|
+
}
|
|
971
|
+
return o.destination = new Wr(a), o;
|
|
953
972
|
}
|
|
954
973
|
return t;
|
|
955
|
-
}(
|
|
956
|
-
function
|
|
957
|
-
|
|
974
|
+
}(Xt);
|
|
975
|
+
function de(e) {
|
|
976
|
+
Vr(e);
|
|
958
977
|
}
|
|
959
|
-
function
|
|
978
|
+
function zr(e) {
|
|
960
979
|
throw e;
|
|
961
980
|
}
|
|
962
|
-
var
|
|
981
|
+
var Zr = {
|
|
963
982
|
closed: !0,
|
|
964
|
-
next:
|
|
965
|
-
error:
|
|
966
|
-
complete:
|
|
967
|
-
},
|
|
983
|
+
next: ut,
|
|
984
|
+
error: zr,
|
|
985
|
+
complete: ut
|
|
986
|
+
}, Qr = function() {
|
|
968
987
|
return typeof Symbol == "function" && Symbol.observable || "@@observable";
|
|
969
988
|
}();
|
|
970
|
-
function
|
|
989
|
+
function Jr(e) {
|
|
971
990
|
return e;
|
|
972
991
|
}
|
|
973
|
-
function
|
|
974
|
-
return e.length === 0 ?
|
|
992
|
+
function qr(e) {
|
|
993
|
+
return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
|
|
975
994
|
return e.reduce(function(n, i) {
|
|
976
995
|
return i(n);
|
|
977
996
|
}, r);
|
|
978
997
|
};
|
|
979
998
|
}
|
|
980
|
-
var
|
|
999
|
+
var lt = function() {
|
|
981
1000
|
function e(t) {
|
|
982
1001
|
t && (this._subscribe = t);
|
|
983
1002
|
}
|
|
@@ -985,8 +1004,8 @@ var at = function() {
|
|
|
985
1004
|
var r = new e();
|
|
986
1005
|
return r.source = this, r.operator = t, r;
|
|
987
1006
|
}, e.prototype.subscribe = function(t, r, n) {
|
|
988
|
-
var i = this, o =
|
|
989
|
-
return
|
|
1007
|
+
var i = this, o = Kr(t) ? t : new Ve(t, r, n);
|
|
1008
|
+
return ye(function() {
|
|
990
1009
|
var a = i, s = a.operator, l = a.source;
|
|
991
1010
|
o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
|
|
992
1011
|
}), o;
|
|
@@ -998,8 +1017,8 @@ var at = function() {
|
|
|
998
1017
|
}
|
|
999
1018
|
}, e.prototype.forEach = function(t, r) {
|
|
1000
1019
|
var n = this;
|
|
1001
|
-
return r =
|
|
1002
|
-
var a = new
|
|
1020
|
+
return r = ht(r), new r(function(i, o) {
|
|
1021
|
+
var a = new Ve({
|
|
1003
1022
|
next: function(s) {
|
|
1004
1023
|
try {
|
|
1005
1024
|
t(s);
|
|
@@ -1015,15 +1034,15 @@ var at = function() {
|
|
|
1015
1034
|
}, e.prototype._subscribe = function(t) {
|
|
1016
1035
|
var r;
|
|
1017
1036
|
return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
|
|
1018
|
-
}, e.prototype[
|
|
1037
|
+
}, e.prototype[Qr] = function() {
|
|
1019
1038
|
return this;
|
|
1020
1039
|
}, e.prototype.pipe = function() {
|
|
1021
1040
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
1022
1041
|
t[r] = arguments[r];
|
|
1023
|
-
return
|
|
1042
|
+
return qr(t)(this);
|
|
1024
1043
|
}, e.prototype.toPromise = function(t) {
|
|
1025
1044
|
var r = this;
|
|
1026
|
-
return t =
|
|
1045
|
+
return t = ht(t), new t(function(n, i) {
|
|
1027
1046
|
var o;
|
|
1028
1047
|
r.subscribe(function(a) {
|
|
1029
1048
|
return o = a;
|
|
@@ -1037,40 +1056,40 @@ var at = function() {
|
|
|
1037
1056
|
return new e(t);
|
|
1038
1057
|
}, e;
|
|
1039
1058
|
}();
|
|
1040
|
-
function
|
|
1059
|
+
function ht(e) {
|
|
1041
1060
|
var t;
|
|
1042
|
-
return (t = e ??
|
|
1061
|
+
return (t = e ?? Vt.Promise) !== null && t !== void 0 ? t : Promise;
|
|
1043
1062
|
}
|
|
1044
|
-
function
|
|
1045
|
-
return e &&
|
|
1063
|
+
function Yr(e) {
|
|
1064
|
+
return e && $(e.next) && $(e.error) && $(e.complete);
|
|
1046
1065
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return e && e instanceof
|
|
1066
|
+
function Kr(e) {
|
|
1067
|
+
return e && e instanceof Xt || Yr(e) && kt(e);
|
|
1049
1068
|
}
|
|
1050
|
-
var
|
|
1069
|
+
var en = Ft(function(e) {
|
|
1051
1070
|
return function() {
|
|
1052
1071
|
e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
|
|
1053
1072
|
};
|
|
1054
|
-
}),
|
|
1073
|
+
}), Wt = function(e) {
|
|
1055
1074
|
U(t, e);
|
|
1056
1075
|
function t() {
|
|
1057
1076
|
var r = e.call(this) || this;
|
|
1058
1077
|
return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
|
|
1059
1078
|
}
|
|
1060
1079
|
return t.prototype.lift = function(r) {
|
|
1061
|
-
var n = new
|
|
1080
|
+
var n = new ct(this, this);
|
|
1062
1081
|
return n.operator = r, n;
|
|
1063
1082
|
}, t.prototype._throwIfClosed = function() {
|
|
1064
1083
|
if (this.closed)
|
|
1065
|
-
throw new
|
|
1084
|
+
throw new en();
|
|
1066
1085
|
}, t.prototype.next = function(r) {
|
|
1067
1086
|
var n = this;
|
|
1068
|
-
|
|
1087
|
+
ye(function() {
|
|
1069
1088
|
var i, o;
|
|
1070
1089
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1071
1090
|
n.currentObservers || (n.currentObservers = Array.from(n.observers));
|
|
1072
1091
|
try {
|
|
1073
|
-
for (var a =
|
|
1092
|
+
for (var a = Fe(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
|
|
1074
1093
|
var l = s.value;
|
|
1075
1094
|
l.next(r);
|
|
1076
1095
|
}
|
|
@@ -1080,14 +1099,15 @@ var Yr = Ut(function(e) {
|
|
|
1080
1099
|
try {
|
|
1081
1100
|
s && !s.done && (o = a.return) && o.call(a);
|
|
1082
1101
|
} finally {
|
|
1083
|
-
if (i)
|
|
1102
|
+
if (i)
|
|
1103
|
+
throw i.error;
|
|
1084
1104
|
}
|
|
1085
1105
|
}
|
|
1086
1106
|
}
|
|
1087
1107
|
});
|
|
1088
1108
|
}, t.prototype.error = function(r) {
|
|
1089
1109
|
var n = this;
|
|
1090
|
-
|
|
1110
|
+
ye(function() {
|
|
1091
1111
|
if (n._throwIfClosed(), !n.isStopped) {
|
|
1092
1112
|
n.hasError = n.isStopped = !0, n.thrownError = r;
|
|
1093
1113
|
for (var i = n.observers; i.length; )
|
|
@@ -1096,7 +1116,7 @@ var Yr = Ut(function(e) {
|
|
|
1096
1116
|
});
|
|
1097
1117
|
}, t.prototype.complete = function() {
|
|
1098
1118
|
var r = this;
|
|
1099
|
-
|
|
1119
|
+
ye(function() {
|
|
1100
1120
|
if (r._throwIfClosed(), !r.isStopped) {
|
|
1101
1121
|
r.isStopped = !0;
|
|
1102
1122
|
for (var n = r.observers; n.length; )
|
|
@@ -1118,19 +1138,19 @@ var Yr = Ut(function(e) {
|
|
|
1118
1138
|
return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
|
|
1119
1139
|
}, t.prototype._innerSubscribe = function(r) {
|
|
1120
1140
|
var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
|
|
1121
|
-
return o || a ?
|
|
1122
|
-
n.currentObservers = null,
|
|
1141
|
+
return o || a ? jt : (this.currentObservers = null, s.push(r), new we(function() {
|
|
1142
|
+
n.currentObservers = null, ke(s, r);
|
|
1123
1143
|
}));
|
|
1124
1144
|
}, t.prototype._checkFinalizedStatuses = function(r) {
|
|
1125
1145
|
var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
|
|
1126
1146
|
i ? r.error(o) : a && r.complete();
|
|
1127
1147
|
}, t.prototype.asObservable = function() {
|
|
1128
|
-
var r = new
|
|
1148
|
+
var r = new lt();
|
|
1129
1149
|
return r.source = this, r;
|
|
1130
1150
|
}, t.create = function(r, n) {
|
|
1131
|
-
return new
|
|
1151
|
+
return new ct(r, n);
|
|
1132
1152
|
}, t;
|
|
1133
|
-
}(
|
|
1153
|
+
}(lt), ct = function(e) {
|
|
1134
1154
|
U(t, e);
|
|
1135
1155
|
function t(r, n) {
|
|
1136
1156
|
var i = e.call(this) || this;
|
|
@@ -1147,17 +1167,17 @@ var Yr = Ut(function(e) {
|
|
|
1147
1167
|
(n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
|
|
1148
1168
|
}, t.prototype._subscribe = function(r) {
|
|
1149
1169
|
var n, i;
|
|
1150
|
-
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i :
|
|
1170
|
+
return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
|
|
1151
1171
|
}, t;
|
|
1152
|
-
}(
|
|
1172
|
+
}(Wt), zt = {
|
|
1153
1173
|
now: function() {
|
|
1154
|
-
return (
|
|
1174
|
+
return (zt.delegate || Date).now();
|
|
1155
1175
|
},
|
|
1156
1176
|
delegate: void 0
|
|
1157
|
-
},
|
|
1177
|
+
}, tn = function(e) {
|
|
1158
1178
|
U(t, e);
|
|
1159
1179
|
function t(r, n, i) {
|
|
1160
|
-
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i =
|
|
1180
|
+
r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = zt);
|
|
1161
1181
|
var o = e.call(this) || this;
|
|
1162
1182
|
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;
|
|
1163
1183
|
}
|
|
@@ -1177,15 +1197,15 @@ var Yr = Ut(function(e) {
|
|
|
1177
1197
|
u && o.splice(0, u + 1);
|
|
1178
1198
|
}
|
|
1179
1199
|
}, t;
|
|
1180
|
-
}(
|
|
1181
|
-
const
|
|
1182
|
-
if (
|
|
1183
|
-
const r = new
|
|
1184
|
-
|
|
1200
|
+
}(Wt);
|
|
1201
|
+
const ft = [], dt = {}, rn = (e, t = 0) => {
|
|
1202
|
+
if (ft.indexOf(e) == -1) {
|
|
1203
|
+
const r = new tn(t);
|
|
1204
|
+
dt[e] = r, ft.push(e);
|
|
1185
1205
|
}
|
|
1186
|
-
return
|
|
1187
|
-
},
|
|
1188
|
-
function
|
|
1206
|
+
return dt[e];
|
|
1207
|
+
}, Q = [];
|
|
1208
|
+
function nn(e, t) {
|
|
1189
1209
|
return {
|
|
1190
1210
|
subscribe: Te(e, t).subscribe
|
|
1191
1211
|
};
|
|
@@ -1194,14 +1214,14 @@ function Te(e, t = P) {
|
|
|
1194
1214
|
let r;
|
|
1195
1215
|
const n = /* @__PURE__ */ new Set();
|
|
1196
1216
|
function i(s) {
|
|
1197
|
-
if (
|
|
1198
|
-
const l = !
|
|
1217
|
+
if (Lt(e, s) && (e = s, r)) {
|
|
1218
|
+
const l = !Q.length;
|
|
1199
1219
|
for (const u of n)
|
|
1200
|
-
u[1](),
|
|
1220
|
+
u[1](), Q.push(u, e);
|
|
1201
1221
|
if (l) {
|
|
1202
|
-
for (let u = 0; u <
|
|
1203
|
-
|
|
1204
|
-
|
|
1222
|
+
for (let u = 0; u < Q.length; u += 2)
|
|
1223
|
+
Q[u][0](Q[u + 1]);
|
|
1224
|
+
Q.length = 0;
|
|
1205
1225
|
}
|
|
1206
1226
|
}
|
|
1207
1227
|
}
|
|
@@ -1216,12 +1236,12 @@ function Te(e, t = P) {
|
|
|
1216
1236
|
}
|
|
1217
1237
|
return { set: i, update: o, subscribe: a };
|
|
1218
1238
|
}
|
|
1219
|
-
function
|
|
1239
|
+
function ne(e, t, r) {
|
|
1220
1240
|
const n = !Array.isArray(e), i = n ? [e] : e;
|
|
1221
1241
|
if (!i.every(Boolean))
|
|
1222
1242
|
throw new Error("derived() expects stores as input, got a falsy value");
|
|
1223
1243
|
const o = t.length < 2;
|
|
1224
|
-
return
|
|
1244
|
+
return nn(r, (a, s) => {
|
|
1225
1245
|
let l = !1;
|
|
1226
1246
|
const u = [];
|
|
1227
1247
|
let h = 0, f = P;
|
|
@@ -1230,12 +1250,12 @@ function re(e, t, r) {
|
|
|
1230
1250
|
return;
|
|
1231
1251
|
f();
|
|
1232
1252
|
const b = t(n ? u[0] : u, a, s);
|
|
1233
|
-
o ? a(b) : f =
|
|
1234
|
-
},
|
|
1235
|
-
(b, g) =>
|
|
1253
|
+
o ? a(b) : f = xe(b) ? b : P;
|
|
1254
|
+
}, p = i.map(
|
|
1255
|
+
(b, g) => Mt(
|
|
1236
1256
|
b,
|
|
1237
|
-
(
|
|
1238
|
-
u[g] =
|
|
1257
|
+
(S) => {
|
|
1258
|
+
u[g] = S, h &= ~(1 << g), l && c();
|
|
1239
1259
|
},
|
|
1240
1260
|
() => {
|
|
1241
1261
|
h |= 1 << g;
|
|
@@ -1243,132 +1263,134 @@ function re(e, t, r) {
|
|
|
1243
1263
|
)
|
|
1244
1264
|
);
|
|
1245
1265
|
return l = !0, c(), function() {
|
|
1246
|
-
X(
|
|
1266
|
+
X(p), f(), l = !1;
|
|
1247
1267
|
};
|
|
1248
1268
|
});
|
|
1249
1269
|
}
|
|
1250
|
-
function
|
|
1270
|
+
function on(e) {
|
|
1251
1271
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
1252
1272
|
}
|
|
1253
|
-
var
|
|
1254
|
-
return
|
|
1273
|
+
var sn = function(t) {
|
|
1274
|
+
return an(t) && !un(t);
|
|
1255
1275
|
};
|
|
1256
|
-
function
|
|
1276
|
+
function an(e) {
|
|
1257
1277
|
return !!e && typeof e == "object";
|
|
1258
1278
|
}
|
|
1259
|
-
function
|
|
1279
|
+
function un(e) {
|
|
1260
1280
|
var t = Object.prototype.toString.call(e);
|
|
1261
|
-
return t === "[object RegExp]" || t === "[object Date]" ||
|
|
1281
|
+
return t === "[object RegExp]" || t === "[object Date]" || cn(e);
|
|
1262
1282
|
}
|
|
1263
|
-
var
|
|
1264
|
-
function
|
|
1265
|
-
return e.$$typeof ===
|
|
1283
|
+
var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
|
|
1284
|
+
function cn(e) {
|
|
1285
|
+
return e.$$typeof === hn;
|
|
1266
1286
|
}
|
|
1267
|
-
function
|
|
1287
|
+
function fn(e) {
|
|
1268
1288
|
return Array.isArray(e) ? [] : {};
|
|
1269
1289
|
}
|
|
1270
|
-
function
|
|
1271
|
-
return t.clone !== !1 && t.isMergeableObject(e) ?
|
|
1290
|
+
function le(e, t) {
|
|
1291
|
+
return t.clone !== !1 && t.isMergeableObject(e) ? K(fn(e), e, t) : e;
|
|
1272
1292
|
}
|
|
1273
|
-
function
|
|
1293
|
+
function dn(e, t, r) {
|
|
1274
1294
|
return e.concat(t).map(function(n) {
|
|
1275
|
-
return
|
|
1295
|
+
return le(n, r);
|
|
1276
1296
|
});
|
|
1277
1297
|
}
|
|
1278
|
-
function
|
|
1298
|
+
function pn(e, t) {
|
|
1279
1299
|
if (!t.customMerge)
|
|
1280
|
-
return
|
|
1300
|
+
return K;
|
|
1281
1301
|
var r = t.customMerge(e);
|
|
1282
|
-
return typeof r == "function" ? r :
|
|
1302
|
+
return typeof r == "function" ? r : K;
|
|
1283
1303
|
}
|
|
1284
|
-
function
|
|
1304
|
+
function mn(e) {
|
|
1285
1305
|
return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
|
|
1286
1306
|
return Object.propertyIsEnumerable.call(e, t);
|
|
1287
1307
|
}) : [];
|
|
1288
1308
|
}
|
|
1289
|
-
function
|
|
1290
|
-
return Object.keys(e).concat(
|
|
1309
|
+
function pt(e) {
|
|
1310
|
+
return Object.keys(e).concat(mn(e));
|
|
1291
1311
|
}
|
|
1292
|
-
function
|
|
1312
|
+
function Zt(e, t) {
|
|
1293
1313
|
try {
|
|
1294
1314
|
return t in e;
|
|
1295
1315
|
} catch {
|
|
1296
1316
|
return !1;
|
|
1297
1317
|
}
|
|
1298
1318
|
}
|
|
1299
|
-
function
|
|
1300
|
-
return
|
|
1319
|
+
function bn(e, t) {
|
|
1320
|
+
return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
|
|
1301
1321
|
}
|
|
1302
|
-
function
|
|
1322
|
+
function yn(e, t, r) {
|
|
1303
1323
|
var n = {};
|
|
1304
|
-
return r.isMergeableObject(e) &&
|
|
1305
|
-
n[i] =
|
|
1306
|
-
}),
|
|
1307
|
-
|
|
1324
|
+
return r.isMergeableObject(e) && pt(e).forEach(function(i) {
|
|
1325
|
+
n[i] = le(e[i], r);
|
|
1326
|
+
}), pt(t).forEach(function(i) {
|
|
1327
|
+
bn(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = le(t[i], r));
|
|
1308
1328
|
}), n;
|
|
1309
1329
|
}
|
|
1310
|
-
function
|
|
1311
|
-
r = r || {}, r.arrayMerge = r.arrayMerge ||
|
|
1330
|
+
function K(e, t, r) {
|
|
1331
|
+
r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = le;
|
|
1312
1332
|
var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
|
|
1313
|
-
return o ? n ? r.arrayMerge(e, t, r) :
|
|
1333
|
+
return o ? n ? r.arrayMerge(e, t, r) : yn(e, t, r) : le(t, r);
|
|
1314
1334
|
}
|
|
1315
|
-
|
|
1335
|
+
K.all = function(t, r) {
|
|
1316
1336
|
if (!Array.isArray(t))
|
|
1317
1337
|
throw new Error("first argument should be an array");
|
|
1318
1338
|
return t.reduce(function(n, i) {
|
|
1319
|
-
return
|
|
1339
|
+
return K(n, i, r);
|
|
1320
1340
|
}, {});
|
|
1321
1341
|
};
|
|
1322
|
-
var
|
|
1323
|
-
const
|
|
1324
|
-
function
|
|
1325
|
-
var r = t && t.cache ? t.cache :
|
|
1342
|
+
var gn = K, vn = gn;
|
|
1343
|
+
const _n = /* @__PURE__ */ on(vn);
|
|
1344
|
+
function Ce(e, t) {
|
|
1345
|
+
var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
|
|
1326
1346
|
return i(e, {
|
|
1327
1347
|
cache: r,
|
|
1328
1348
|
serializer: n
|
|
1329
1349
|
});
|
|
1330
1350
|
}
|
|
1331
|
-
function
|
|
1351
|
+
function En(e) {
|
|
1332
1352
|
return e == null || typeof e == "number" || typeof e == "boolean";
|
|
1333
1353
|
}
|
|
1334
|
-
function
|
|
1335
|
-
var i =
|
|
1354
|
+
function Qt(e, t, r, n) {
|
|
1355
|
+
var i = En(n) ? n : r(n), o = t.get(i);
|
|
1336
1356
|
return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
|
|
1337
1357
|
}
|
|
1338
|
-
function
|
|
1358
|
+
function Jt(e, t, r) {
|
|
1339
1359
|
var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
|
|
1340
1360
|
return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
|
|
1341
1361
|
}
|
|
1342
|
-
function
|
|
1362
|
+
function et(e, t, r, n, i) {
|
|
1343
1363
|
return r.bind(t, e, n, i);
|
|
1344
1364
|
}
|
|
1345
|
-
function En(e, t) {
|
|
1346
|
-
var r = e.length === 1 ? _n : Wt;
|
|
1347
|
-
return zt(e, this, r, t.cache.create(), t.serializer);
|
|
1348
|
-
}
|
|
1349
1365
|
function xn(e, t) {
|
|
1350
|
-
|
|
1366
|
+
var r = e.length === 1 ? Qt : Jt;
|
|
1367
|
+
return et(e, this, r, t.cache.create(), t.serializer);
|
|
1351
1368
|
}
|
|
1352
|
-
|
|
1369
|
+
function Sn(e, t) {
|
|
1370
|
+
return et(e, this, Jt, t.cache.create(), t.serializer);
|
|
1371
|
+
}
|
|
1372
|
+
function wn(e, t) {
|
|
1373
|
+
return et(e, this, Qt, t.cache.create(), t.serializer);
|
|
1374
|
+
}
|
|
1375
|
+
var Tn = function() {
|
|
1353
1376
|
return JSON.stringify(arguments);
|
|
1354
|
-
}
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
}()
|
|
1366
|
-
), Tn = {
|
|
1377
|
+
};
|
|
1378
|
+
function tt() {
|
|
1379
|
+
this.cache = /* @__PURE__ */ Object.create(null);
|
|
1380
|
+
}
|
|
1381
|
+
tt.prototype.get = function(e) {
|
|
1382
|
+
return this.cache[e];
|
|
1383
|
+
};
|
|
1384
|
+
tt.prototype.set = function(e, t) {
|
|
1385
|
+
this.cache[e] = t;
|
|
1386
|
+
};
|
|
1387
|
+
var Hn = {
|
|
1367
1388
|
create: function() {
|
|
1368
|
-
return new
|
|
1389
|
+
return new tt();
|
|
1369
1390
|
}
|
|
1370
|
-
},
|
|
1371
|
-
variadic:
|
|
1391
|
+
}, Le = {
|
|
1392
|
+
variadic: Sn,
|
|
1393
|
+
monadic: wn
|
|
1372
1394
|
}, y;
|
|
1373
1395
|
(function(e) {
|
|
1374
1396
|
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";
|
|
@@ -1377,47 +1399,47 @@ var E;
|
|
|
1377
1399
|
(function(e) {
|
|
1378
1400
|
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";
|
|
1379
1401
|
})(E || (E = {}));
|
|
1380
|
-
var
|
|
1402
|
+
var ee;
|
|
1381
1403
|
(function(e) {
|
|
1382
1404
|
e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
|
|
1383
|
-
})(
|
|
1384
|
-
function
|
|
1405
|
+
})(ee || (ee = {}));
|
|
1406
|
+
function mt(e) {
|
|
1385
1407
|
return e.type === E.literal;
|
|
1386
1408
|
}
|
|
1387
|
-
function
|
|
1409
|
+
function Bn(e) {
|
|
1388
1410
|
return e.type === E.argument;
|
|
1389
1411
|
}
|
|
1390
|
-
function
|
|
1412
|
+
function qt(e) {
|
|
1391
1413
|
return e.type === E.number;
|
|
1392
1414
|
}
|
|
1393
|
-
function
|
|
1415
|
+
function Yt(e) {
|
|
1394
1416
|
return e.type === E.date;
|
|
1395
1417
|
}
|
|
1396
|
-
function
|
|
1418
|
+
function Kt(e) {
|
|
1397
1419
|
return e.type === E.time;
|
|
1398
1420
|
}
|
|
1399
|
-
function
|
|
1421
|
+
function er(e) {
|
|
1400
1422
|
return e.type === E.select;
|
|
1401
1423
|
}
|
|
1402
|
-
function
|
|
1424
|
+
function tr(e) {
|
|
1403
1425
|
return e.type === E.plural;
|
|
1404
1426
|
}
|
|
1405
|
-
function
|
|
1427
|
+
function Pn(e) {
|
|
1406
1428
|
return e.type === E.pound;
|
|
1407
1429
|
}
|
|
1408
|
-
function
|
|
1430
|
+
function rr(e) {
|
|
1409
1431
|
return e.type === E.tag;
|
|
1410
1432
|
}
|
|
1411
|
-
function
|
|
1412
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1433
|
+
function nr(e) {
|
|
1434
|
+
return !!(e && typeof e == "object" && e.type === ee.number);
|
|
1413
1435
|
}
|
|
1414
|
-
function
|
|
1415
|
-
return !!(e && typeof e == "object" && e.type ===
|
|
1436
|
+
function Xe(e) {
|
|
1437
|
+
return !!(e && typeof e == "object" && e.type === ee.dateTime);
|
|
1416
1438
|
}
|
|
1417
|
-
var
|
|
1418
|
-
function
|
|
1439
|
+
var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, An = /(?:[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;
|
|
1440
|
+
function On(e) {
|
|
1419
1441
|
var t = {};
|
|
1420
|
-
return e.replace(
|
|
1442
|
+
return e.replace(An, function(r) {
|
|
1421
1443
|
var n = r.length;
|
|
1422
1444
|
switch (r[0]) {
|
|
1423
1445
|
case "G":
|
|
@@ -1506,11 +1528,11 @@ function An(e) {
|
|
|
1506
1528
|
return "";
|
|
1507
1529
|
}), t;
|
|
1508
1530
|
}
|
|
1509
|
-
var
|
|
1510
|
-
function
|
|
1531
|
+
var In = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
|
|
1532
|
+
function Cn(e) {
|
|
1511
1533
|
if (e.length === 0)
|
|
1512
1534
|
throw new Error("Number skeleton cannot be empty");
|
|
1513
|
-
for (var t = e.split(
|
|
1535
|
+
for (var t = e.split(In).filter(function(c) {
|
|
1514
1536
|
return c.length > 0;
|
|
1515
1537
|
}), r = [], n = 0, i = t; n < i.length; n++) {
|
|
1516
1538
|
var o = i[n], a = o.split("/");
|
|
@@ -1525,17 +1547,17 @@ function In(e) {
|
|
|
1525
1547
|
}
|
|
1526
1548
|
return r;
|
|
1527
1549
|
}
|
|
1528
|
-
function
|
|
1550
|
+
function Ln(e) {
|
|
1529
1551
|
return e.replace(/^(.*?)-/, "");
|
|
1530
1552
|
}
|
|
1531
|
-
var
|
|
1532
|
-
function
|
|
1553
|
+
var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
|
|
1554
|
+
function yt(e) {
|
|
1533
1555
|
var t = {};
|
|
1534
|
-
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(
|
|
1556
|
+
return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
|
|
1535
1557
|
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)), "";
|
|
1536
1558
|
}), t;
|
|
1537
1559
|
}
|
|
1538
|
-
function
|
|
1560
|
+
function ar(e) {
|
|
1539
1561
|
switch (e) {
|
|
1540
1562
|
case "sign-auto":
|
|
1541
1563
|
return {
|
|
@@ -1583,17 +1605,17 @@ function Nn(e) {
|
|
|
1583
1605
|
notation: "scientific"
|
|
1584
1606
|
}, e = e.slice(1)), t) {
|
|
1585
1607
|
var r = e.slice(0, 2);
|
|
1586
|
-
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !
|
|
1608
|
+
if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
|
|
1587
1609
|
throw new Error("Malformed concise eng/scientific notation");
|
|
1588
1610
|
t.minimumIntegerDigits = e.length;
|
|
1589
1611
|
}
|
|
1590
1612
|
return t;
|
|
1591
1613
|
}
|
|
1592
|
-
function
|
|
1593
|
-
var t = {}, r =
|
|
1614
|
+
function gt(e) {
|
|
1615
|
+
var t = {}, r = ar(e);
|
|
1594
1616
|
return r || t;
|
|
1595
1617
|
}
|
|
1596
|
-
function
|
|
1618
|
+
function Rn(e) {
|
|
1597
1619
|
for (var t = {}, r = 0, n = e; r < n.length; r++) {
|
|
1598
1620
|
var i = n[r];
|
|
1599
1621
|
switch (i.stem) {
|
|
@@ -1617,7 +1639,7 @@ function Mn(e) {
|
|
|
1617
1639
|
continue;
|
|
1618
1640
|
case "measure-unit":
|
|
1619
1641
|
case "unit":
|
|
1620
|
-
t.style = "unit", t.unit =
|
|
1642
|
+
t.style = "unit", t.unit = Ln(i.options[0]);
|
|
1621
1643
|
continue;
|
|
1622
1644
|
case "compact-short":
|
|
1623
1645
|
case "K":
|
|
@@ -1629,12 +1651,12 @@ function Mn(e) {
|
|
|
1629
1651
|
continue;
|
|
1630
1652
|
case "scientific":
|
|
1631
1653
|
t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
|
|
1632
|
-
return _(_({}, l),
|
|
1654
|
+
return _(_({}, l), gt(u));
|
|
1633
1655
|
}, {}));
|
|
1634
1656
|
continue;
|
|
1635
1657
|
case "engineering":
|
|
1636
1658
|
t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
|
|
1637
|
-
return _(_({}, l),
|
|
1659
|
+
return _(_({}, l), gt(u));
|
|
1638
1660
|
}, {}));
|
|
1639
1661
|
continue;
|
|
1640
1662
|
case "notation-simple":
|
|
@@ -1679,45 +1701,45 @@ function Mn(e) {
|
|
|
1679
1701
|
case "integer-width":
|
|
1680
1702
|
if (i.options.length > 1)
|
|
1681
1703
|
throw new RangeError("integer-width stems only accept a single optional option");
|
|
1682
|
-
i.options[0].replace(
|
|
1704
|
+
i.options[0].replace(Mn, function(l, u, h, f, c, p) {
|
|
1683
1705
|
if (u)
|
|
1684
1706
|
t.minimumIntegerDigits = h.length;
|
|
1685
1707
|
else {
|
|
1686
1708
|
if (f && c)
|
|
1687
1709
|
throw new Error("We currently do not support maximum integer digits");
|
|
1688
|
-
if (
|
|
1710
|
+
if (p)
|
|
1689
1711
|
throw new Error("We currently do not support exact integer digits");
|
|
1690
1712
|
}
|
|
1691
1713
|
return "";
|
|
1692
1714
|
});
|
|
1693
1715
|
continue;
|
|
1694
1716
|
}
|
|
1695
|
-
if (
|
|
1717
|
+
if (sr.test(i.stem)) {
|
|
1696
1718
|
t.minimumIntegerDigits = i.stem.length;
|
|
1697
1719
|
continue;
|
|
1698
1720
|
}
|
|
1699
|
-
if (
|
|
1721
|
+
if (bt.test(i.stem)) {
|
|
1700
1722
|
if (i.options.length > 1)
|
|
1701
1723
|
throw new RangeError("Fraction-precision stems only accept a single optional option");
|
|
1702
|
-
i.stem.replace(
|
|
1703
|
-
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c &&
|
|
1724
|
+
i.stem.replace(bt, function(l, u, h, f, c, p) {
|
|
1725
|
+
return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
|
|
1704
1726
|
});
|
|
1705
1727
|
var o = i.options[0];
|
|
1706
|
-
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t),
|
|
1728
|
+
o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), yt(o)));
|
|
1707
1729
|
continue;
|
|
1708
1730
|
}
|
|
1709
|
-
if (
|
|
1710
|
-
t = _(_({}, t),
|
|
1731
|
+
if (or.test(i.stem)) {
|
|
1732
|
+
t = _(_({}, t), yt(i.stem));
|
|
1711
1733
|
continue;
|
|
1712
1734
|
}
|
|
1713
|
-
var a =
|
|
1735
|
+
var a = ar(i.stem);
|
|
1714
1736
|
a && (t = _(_({}, t), a));
|
|
1715
1737
|
var s = Nn(i.stem);
|
|
1716
1738
|
s && (t = _(_({}, t), s));
|
|
1717
1739
|
}
|
|
1718
1740
|
return t;
|
|
1719
1741
|
}
|
|
1720
|
-
var
|
|
1742
|
+
var pe = {
|
|
1721
1743
|
"001": [
|
|
1722
1744
|
"H",
|
|
1723
1745
|
"h"
|
|
@@ -3132,22 +3154,23 @@ var me = {
|
|
|
3132
3154
|
"h"
|
|
3133
3155
|
]
|
|
3134
3156
|
};
|
|
3135
|
-
function
|
|
3157
|
+
function $n(e, t) {
|
|
3136
3158
|
for (var r = "", n = 0; n < e.length; n++) {
|
|
3137
3159
|
var i = e.charAt(n);
|
|
3138
3160
|
if (i === "j") {
|
|
3139
3161
|
for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
|
|
3140
3162
|
o++, n++;
|
|
3141
|
-
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u =
|
|
3163
|
+
var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
|
|
3142
3164
|
for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
|
|
3143
3165
|
r += l;
|
|
3144
3166
|
for (; a-- > 0; )
|
|
3145
3167
|
r = u + r;
|
|
3146
|
-
} else
|
|
3168
|
+
} else
|
|
3169
|
+
i === "J" ? r += "H" : r += i;
|
|
3147
3170
|
}
|
|
3148
3171
|
return r;
|
|
3149
3172
|
}
|
|
3150
|
-
function
|
|
3173
|
+
function Dn(e) {
|
|
3151
3174
|
var t = e.hourCycle;
|
|
3152
3175
|
if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
|
|
3153
3176
|
e.hourCycles && // @ts-ignore
|
|
@@ -3166,23 +3189,23 @@ function $n(e) {
|
|
|
3166
3189
|
}
|
|
3167
3190
|
var r = e.language, n;
|
|
3168
3191
|
r !== "root" && (n = e.maximize().region);
|
|
3169
|
-
var i =
|
|
3192
|
+
var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
|
|
3170
3193
|
return i[0];
|
|
3171
3194
|
}
|
|
3172
|
-
var
|
|
3195
|
+
var Me, Un = new RegExp("^".concat(ir.source, "*")), Gn = new RegExp("".concat(ir.source, "*$"));
|
|
3173
3196
|
function v(e, t) {
|
|
3174
3197
|
return { start: e, end: t };
|
|
3175
3198
|
}
|
|
3176
|
-
var
|
|
3199
|
+
var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), jn = !!String.fromCodePoint, kn = !!Object.fromEntries, Vn = !!String.prototype.codePointAt, Xn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Zn = zn ? Number.isSafeInteger : function(e) {
|
|
3177
3200
|
return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
|
|
3178
|
-
},
|
|
3201
|
+
}, We = !0;
|
|
3179
3202
|
try {
|
|
3180
|
-
var
|
|
3181
|
-
|
|
3203
|
+
var Qn = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3204
|
+
We = ((Me = Qn.exec("a")) === null || Me === void 0 ? void 0 : Me[0]) === "a";
|
|
3182
3205
|
} catch {
|
|
3183
|
-
|
|
3206
|
+
We = !1;
|
|
3184
3207
|
}
|
|
3185
|
-
var
|
|
3208
|
+
var vt = Fn ? (
|
|
3186
3209
|
// Native
|
|
3187
3210
|
function(t, r, n) {
|
|
3188
3211
|
return t.startsWith(r, n);
|
|
@@ -3192,7 +3215,7 @@ var yt = Gn ? (
|
|
|
3192
3215
|
function(t, r, n) {
|
|
3193
3216
|
return t.slice(n, n + r.length) === r;
|
|
3194
3217
|
}
|
|
3195
|
-
),
|
|
3218
|
+
), ze = jn ? String.fromCodePoint : (
|
|
3196
3219
|
// IE11
|
|
3197
3220
|
function() {
|
|
3198
3221
|
for (var t = [], r = 0; r < arguments.length; r++)
|
|
@@ -3204,9 +3227,9 @@ var yt = Gn ? (
|
|
|
3204
3227
|
}
|
|
3205
3228
|
return n;
|
|
3206
3229
|
}
|
|
3207
|
-
),
|
|
3230
|
+
), _t = (
|
|
3208
3231
|
// native
|
|
3209
|
-
|
|
3232
|
+
kn ? Object.fromEntries : (
|
|
3210
3233
|
// Ponyfill
|
|
3211
3234
|
function(t) {
|
|
3212
3235
|
for (var r = {}, n = 0, i = t; n < i.length; n++) {
|
|
@@ -3216,7 +3239,7 @@ var yt = Gn ? (
|
|
|
3216
3239
|
return r;
|
|
3217
3240
|
}
|
|
3218
3241
|
)
|
|
3219
|
-
),
|
|
3242
|
+
), ur = Vn ? (
|
|
3220
3243
|
// Native
|
|
3221
3244
|
function(t, r) {
|
|
3222
3245
|
return t.codePointAt(r);
|
|
@@ -3230,7 +3253,7 @@ var yt = Gn ? (
|
|
|
3230
3253
|
return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
|
|
3231
3254
|
}
|
|
3232
3255
|
}
|
|
3233
|
-
),
|
|
3256
|
+
), Jn = Xn ? (
|
|
3234
3257
|
// Native
|
|
3235
3258
|
function(t) {
|
|
3236
3259
|
return t.trimStart();
|
|
@@ -3238,9 +3261,9 @@ var yt = Gn ? (
|
|
|
3238
3261
|
) : (
|
|
3239
3262
|
// Ponyfill
|
|
3240
3263
|
function(t) {
|
|
3241
|
-
return t.replace(
|
|
3264
|
+
return t.replace(Un, "");
|
|
3242
3265
|
}
|
|
3243
|
-
),
|
|
3266
|
+
), qn = Wn ? (
|
|
3244
3267
|
// Native
|
|
3245
3268
|
function(t) {
|
|
3246
3269
|
return t.trimEnd();
|
|
@@ -3248,32 +3271,32 @@ var yt = Gn ? (
|
|
|
3248
3271
|
) : (
|
|
3249
3272
|
// Ponyfill
|
|
3250
3273
|
function(t) {
|
|
3251
|
-
return t.replace(
|
|
3274
|
+
return t.replace(Gn, "");
|
|
3252
3275
|
}
|
|
3253
3276
|
);
|
|
3254
|
-
function
|
|
3277
|
+
function lr(e, t) {
|
|
3255
3278
|
return new RegExp(e, t);
|
|
3256
3279
|
}
|
|
3257
|
-
var
|
|
3258
|
-
if (
|
|
3259
|
-
var
|
|
3260
|
-
|
|
3280
|
+
var Ze;
|
|
3281
|
+
if (We) {
|
|
3282
|
+
var Et = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
|
|
3283
|
+
Ze = function(t, r) {
|
|
3261
3284
|
var n;
|
|
3262
|
-
|
|
3263
|
-
var i =
|
|
3285
|
+
Et.lastIndex = r;
|
|
3286
|
+
var i = Et.exec(t);
|
|
3264
3287
|
return (n = i[1]) !== null && n !== void 0 ? n : "";
|
|
3265
3288
|
};
|
|
3266
3289
|
} else
|
|
3267
|
-
|
|
3290
|
+
Ze = function(t, r) {
|
|
3268
3291
|
for (var n = []; ; ) {
|
|
3269
|
-
var i =
|
|
3270
|
-
if (i === void 0 ||
|
|
3292
|
+
var i = ur(t, r);
|
|
3293
|
+
if (i === void 0 || hr(i) || ti(i))
|
|
3271
3294
|
break;
|
|
3272
3295
|
n.push(i), r += i >= 65536 ? 2 : 1;
|
|
3273
3296
|
}
|
|
3274
|
-
return
|
|
3297
|
+
return ze.apply(void 0, n);
|
|
3275
3298
|
};
|
|
3276
|
-
var
|
|
3299
|
+
var Yn = (
|
|
3277
3300
|
/** @class */
|
|
3278
3301
|
function() {
|
|
3279
3302
|
function e(t, r) {
|
|
@@ -3304,7 +3327,7 @@ var qn = (
|
|
|
3304
3327
|
if (n)
|
|
3305
3328
|
break;
|
|
3306
3329
|
return this.error(y.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
|
|
3307
|
-
} else if (o === 60 && !this.ignoreTag &&
|
|
3330
|
+
} else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
|
|
3308
3331
|
var a = this.parseTag(t, r);
|
|
3309
3332
|
if (a.err)
|
|
3310
3333
|
return a;
|
|
@@ -3337,7 +3360,7 @@ var qn = (
|
|
|
3337
3360
|
return o;
|
|
3338
3361
|
var a = o.val, s = this.clonePosition();
|
|
3339
3362
|
if (this.bumpIf("</")) {
|
|
3340
|
-
if (this.isEOF() || !
|
|
3363
|
+
if (this.isEOF() || !Qe(this.char()))
|
|
3341
3364
|
return this.error(y.INVALID_TAG, v(s, this.clonePosition()));
|
|
3342
3365
|
var l = this.clonePosition(), u = this.parseTagName();
|
|
3343
3366
|
return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
|
|
@@ -3355,7 +3378,7 @@ var qn = (
|
|
|
3355
3378
|
return this.error(y.INVALID_TAG, v(n, this.clonePosition()));
|
|
3356
3379
|
}, e.prototype.parseTagName = function() {
|
|
3357
3380
|
var t = this.offset();
|
|
3358
|
-
for (this.bump(); !this.isEOF() &&
|
|
3381
|
+
for (this.bump(); !this.isEOF() && ei(this.char()); )
|
|
3359
3382
|
this.bump();
|
|
3360
3383
|
return this.message.slice(t, this.offset());
|
|
3361
3384
|
}, e.prototype.parseLiteral = function(t, r) {
|
|
@@ -3384,7 +3407,7 @@ var qn = (
|
|
|
3384
3407
|
};
|
|
3385
3408
|
}, e.prototype.tryParseLeftAngleBracket = function() {
|
|
3386
3409
|
return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
|
|
3387
|
-
!
|
|
3410
|
+
!Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
|
|
3388
3411
|
}, e.prototype.tryParseQuote = function(t) {
|
|
3389
3412
|
if (this.isEOF() || this.char() !== 39)
|
|
3390
3413
|
return null;
|
|
@@ -3418,12 +3441,12 @@ var qn = (
|
|
|
3418
3441
|
r.push(n);
|
|
3419
3442
|
this.bump();
|
|
3420
3443
|
}
|
|
3421
|
-
return
|
|
3444
|
+
return ze.apply(void 0, r);
|
|
3422
3445
|
}, e.prototype.tryParseUnquoted = function(t, r) {
|
|
3423
3446
|
if (this.isEOF())
|
|
3424
3447
|
return null;
|
|
3425
3448
|
var n = this.char();
|
|
3426
|
-
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(),
|
|
3449
|
+
return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ze(n));
|
|
3427
3450
|
}, e.prototype.parseArgument = function(t, r) {
|
|
3428
3451
|
var n = this.clonePosition();
|
|
3429
3452
|
if (this.bump(), this.bumpSpace(), this.isEOF())
|
|
@@ -3452,7 +3475,7 @@ var qn = (
|
|
|
3452
3475
|
return this.error(y.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
|
|
3453
3476
|
}
|
|
3454
3477
|
}, e.prototype.parseIdentifierIfPossible = function() {
|
|
3455
|
-
var t = this.clonePosition(), r = this.offset(), n =
|
|
3478
|
+
var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
|
|
3456
3479
|
this.bumpTo(i);
|
|
3457
3480
|
var o = this.clonePosition(), a = v(t, o);
|
|
3458
3481
|
return { value: n, location: a };
|
|
@@ -3471,34 +3494,34 @@ var qn = (
|
|
|
3471
3494
|
var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
|
|
3472
3495
|
if (f.err)
|
|
3473
3496
|
return f;
|
|
3474
|
-
var c =
|
|
3497
|
+
var c = qn(f.val);
|
|
3475
3498
|
if (c.length === 0)
|
|
3476
3499
|
return this.error(y.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
|
|
3477
|
-
var
|
|
3478
|
-
u = { style: c, styleLocation:
|
|
3500
|
+
var p = v(h, this.clonePosition());
|
|
3501
|
+
u = { style: c, styleLocation: p };
|
|
3479
3502
|
}
|
|
3480
3503
|
var b = this.tryParseArgumentClose(i);
|
|
3481
3504
|
if (b.err)
|
|
3482
3505
|
return b;
|
|
3483
3506
|
var g = v(i, this.clonePosition());
|
|
3484
|
-
if (u &&
|
|
3485
|
-
var
|
|
3507
|
+
if (u && vt(u?.style, "::", 0)) {
|
|
3508
|
+
var S = Jn(u.style.slice(2));
|
|
3486
3509
|
if (s === "number") {
|
|
3487
|
-
var f = this.parseNumberSkeletonFromString(
|
|
3510
|
+
var f = this.parseNumberSkeletonFromString(S, u.styleLocation);
|
|
3488
3511
|
return f.err ? f : {
|
|
3489
3512
|
val: { type: E.number, value: n, location: g, style: f.val },
|
|
3490
3513
|
err: null
|
|
3491
3514
|
};
|
|
3492
3515
|
} else {
|
|
3493
|
-
if (
|
|
3516
|
+
if (S.length === 0)
|
|
3494
3517
|
return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
|
|
3495
|
-
var A =
|
|
3496
|
-
this.locale && (A =
|
|
3518
|
+
var A = S;
|
|
3519
|
+
this.locale && (A = $n(S, this.locale));
|
|
3497
3520
|
var c = {
|
|
3498
|
-
type:
|
|
3521
|
+
type: ee.dateTime,
|
|
3499
3522
|
pattern: A,
|
|
3500
3523
|
location: u.styleLocation,
|
|
3501
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3524
|
+
parsedOptions: this.shouldParseSkeletons ? On(A) : {}
|
|
3502
3525
|
}, H = s === "date" ? E.date : E.time;
|
|
3503
3526
|
return {
|
|
3504
3527
|
val: { type: H, value: n, location: g, style: c },
|
|
@@ -3519,21 +3542,21 @@ var qn = (
|
|
|
3519
3542
|
case "plural":
|
|
3520
3543
|
case "selectordinal":
|
|
3521
3544
|
case "select": {
|
|
3522
|
-
var
|
|
3545
|
+
var w = this.clonePosition();
|
|
3523
3546
|
if (this.bumpSpace(), !this.bumpIf(","))
|
|
3524
|
-
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(
|
|
3547
|
+
return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, v(w, _({}, w)));
|
|
3525
3548
|
this.bumpSpace();
|
|
3526
|
-
var
|
|
3527
|
-
if (s !== "select" &&
|
|
3549
|
+
var L = this.parseIdentifierIfPossible(), O = 0;
|
|
3550
|
+
if (s !== "select" && L.value === "offset") {
|
|
3528
3551
|
if (!this.bumpIf(":"))
|
|
3529
3552
|
return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
|
|
3530
3553
|
this.bumpSpace();
|
|
3531
3554
|
var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
|
|
3532
3555
|
if (f.err)
|
|
3533
3556
|
return f;
|
|
3534
|
-
this.bumpSpace(),
|
|
3557
|
+
this.bumpSpace(), L = this.parseIdentifierIfPossible(), O = f.val;
|
|
3535
3558
|
}
|
|
3536
|
-
var M = this.tryParsePluralOrSelectOptions(t, s, r,
|
|
3559
|
+
var M = this.tryParsePluralOrSelectOptions(t, s, r, L);
|
|
3537
3560
|
if (M.err)
|
|
3538
3561
|
return M;
|
|
3539
3562
|
var b = this.tryParseArgumentClose(i);
|
|
@@ -3544,7 +3567,7 @@ var qn = (
|
|
|
3544
3567
|
val: {
|
|
3545
3568
|
type: E.select,
|
|
3546
3569
|
value: n,
|
|
3547
|
-
options:
|
|
3570
|
+
options: _t(M.val),
|
|
3548
3571
|
location: x
|
|
3549
3572
|
},
|
|
3550
3573
|
err: null
|
|
@@ -3552,7 +3575,7 @@ var qn = (
|
|
|
3552
3575
|
val: {
|
|
3553
3576
|
type: E.plural,
|
|
3554
3577
|
value: n,
|
|
3555
|
-
options:
|
|
3578
|
+
options: _t(M.val),
|
|
3556
3579
|
offset: O,
|
|
3557
3580
|
pluralType: s === "plural" ? "cardinal" : "ordinal",
|
|
3558
3581
|
location: x
|
|
@@ -3603,16 +3626,16 @@ var qn = (
|
|
|
3603
3626
|
}, e.prototype.parseNumberSkeletonFromString = function(t, r) {
|
|
3604
3627
|
var n = [];
|
|
3605
3628
|
try {
|
|
3606
|
-
n =
|
|
3629
|
+
n = Cn(t);
|
|
3607
3630
|
} catch {
|
|
3608
3631
|
return this.error(y.INVALID_NUMBER_SKELETON, r);
|
|
3609
3632
|
}
|
|
3610
3633
|
return {
|
|
3611
3634
|
val: {
|
|
3612
|
-
type:
|
|
3635
|
+
type: ee.number,
|
|
3613
3636
|
tokens: n,
|
|
3614
3637
|
location: r,
|
|
3615
|
-
parsedOptions: this.shouldParseSkeletons ?
|
|
3638
|
+
parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
|
|
3616
3639
|
},
|
|
3617
3640
|
err: null
|
|
3618
3641
|
};
|
|
@@ -3631,20 +3654,20 @@ var qn = (
|
|
|
3631
3654
|
if (l.has(u))
|
|
3632
3655
|
return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
|
|
3633
3656
|
u === "other" && (a = !0), this.bumpSpace();
|
|
3634
|
-
var
|
|
3657
|
+
var p = this.clonePosition();
|
|
3635
3658
|
if (!this.bumpIf("{"))
|
|
3636
3659
|
return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
|
|
3637
3660
|
var b = this.parseMessage(t + 1, r, n);
|
|
3638
3661
|
if (b.err)
|
|
3639
3662
|
return b;
|
|
3640
|
-
var g = this.tryParseArgumentClose(
|
|
3663
|
+
var g = this.tryParseArgumentClose(p);
|
|
3641
3664
|
if (g.err)
|
|
3642
3665
|
return g;
|
|
3643
3666
|
s.push([
|
|
3644
3667
|
u,
|
|
3645
3668
|
{
|
|
3646
3669
|
value: b.val,
|
|
3647
|
-
location: v(
|
|
3670
|
+
location: v(p, this.clonePosition())
|
|
3648
3671
|
}
|
|
3649
3672
|
]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
|
|
3650
3673
|
}
|
|
@@ -3660,7 +3683,7 @@ var qn = (
|
|
|
3660
3683
|
break;
|
|
3661
3684
|
}
|
|
3662
3685
|
var l = v(i, this.clonePosition());
|
|
3663
|
-
return o ? (a *= n,
|
|
3686
|
+
return o ? (a *= n, Zn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
|
|
3664
3687
|
}, e.prototype.offset = function() {
|
|
3665
3688
|
return this.position.offset;
|
|
3666
3689
|
}, e.prototype.isEOF = function() {
|
|
@@ -3675,7 +3698,7 @@ var qn = (
|
|
|
3675
3698
|
var t = this.position.offset;
|
|
3676
3699
|
if (t >= this.message.length)
|
|
3677
3700
|
throw Error("out of bound");
|
|
3678
|
-
var r =
|
|
3701
|
+
var r = ur(this.message, t);
|
|
3679
3702
|
if (r === void 0)
|
|
3680
3703
|
throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
|
|
3681
3704
|
return r;
|
|
@@ -3694,7 +3717,7 @@ var qn = (
|
|
|
3694
3717
|
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);
|
|
3695
3718
|
}
|
|
3696
3719
|
}, e.prototype.bumpIf = function(t) {
|
|
3697
|
-
if (
|
|
3720
|
+
if (vt(this.message, t, this.offset())) {
|
|
3698
3721
|
for (var r = 0; r < t.length; r++)
|
|
3699
3722
|
this.bump();
|
|
3700
3723
|
return !0;
|
|
@@ -3716,7 +3739,7 @@ var qn = (
|
|
|
3716
3739
|
break;
|
|
3717
3740
|
}
|
|
3718
3741
|
}, e.prototype.bumpSpace = function() {
|
|
3719
|
-
for (; !this.isEOF() &&
|
|
3742
|
+
for (; !this.isEOF() && hr(this.char()); )
|
|
3720
3743
|
this.bump();
|
|
3721
3744
|
}, e.prototype.peek = function() {
|
|
3722
3745
|
if (this.isEOF())
|
|
@@ -3726,42 +3749,43 @@ var qn = (
|
|
|
3726
3749
|
}, e;
|
|
3727
3750
|
}()
|
|
3728
3751
|
);
|
|
3729
|
-
function
|
|
3752
|
+
function Qe(e) {
|
|
3730
3753
|
return e >= 97 && e <= 122 || e >= 65 && e <= 90;
|
|
3731
3754
|
}
|
|
3732
|
-
function Yn(e) {
|
|
3733
|
-
return Ze(e) || e === 47;
|
|
3734
|
-
}
|
|
3735
3755
|
function Kn(e) {
|
|
3756
|
+
return Qe(e) || e === 47;
|
|
3757
|
+
}
|
|
3758
|
+
function ei(e) {
|
|
3736
3759
|
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;
|
|
3737
3760
|
}
|
|
3738
|
-
function
|
|
3761
|
+
function hr(e) {
|
|
3739
3762
|
return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
|
|
3740
3763
|
}
|
|
3741
|
-
function
|
|
3764
|
+
function ti(e) {
|
|
3742
3765
|
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;
|
|
3743
3766
|
}
|
|
3744
|
-
function
|
|
3767
|
+
function Je(e) {
|
|
3745
3768
|
e.forEach(function(t) {
|
|
3746
|
-
if (delete t.location,
|
|
3769
|
+
if (delete t.location, er(t) || tr(t))
|
|
3747
3770
|
for (var r in t.options)
|
|
3748
|
-
delete t.options[r].location,
|
|
3749
|
-
else
|
|
3771
|
+
delete t.options[r].location, Je(t.options[r].value);
|
|
3772
|
+
else
|
|
3773
|
+
qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && Xe(t.style) ? delete t.style.location : rr(t) && Je(t.children);
|
|
3750
3774
|
});
|
|
3751
3775
|
}
|
|
3752
|
-
function
|
|
3776
|
+
function ri(e, t) {
|
|
3753
3777
|
t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
|
|
3754
|
-
var r = new
|
|
3778
|
+
var r = new Yn(e, t).parse();
|
|
3755
3779
|
if (r.err) {
|
|
3756
3780
|
var n = SyntaxError(y[r.err.kind]);
|
|
3757
3781
|
throw n.location = r.err.location, n.originalMessage = r.err.message, n;
|
|
3758
3782
|
}
|
|
3759
|
-
return t?.captureLocation ||
|
|
3783
|
+
return t?.captureLocation || Je(r.val), r.val;
|
|
3760
3784
|
}
|
|
3761
|
-
var
|
|
3785
|
+
var te;
|
|
3762
3786
|
(function(e) {
|
|
3763
3787
|
e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
|
|
3764
|
-
})(
|
|
3788
|
+
})(te || (te = {}));
|
|
3765
3789
|
var He = (
|
|
3766
3790
|
/** @class */
|
|
3767
3791
|
function(e) {
|
|
@@ -3774,30 +3798,30 @@ var He = (
|
|
|
3774
3798
|
return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
|
|
3775
3799
|
}, t;
|
|
3776
3800
|
}(Error)
|
|
3777
|
-
),
|
|
3801
|
+
), xt = (
|
|
3778
3802
|
/** @class */
|
|
3779
3803
|
function(e) {
|
|
3780
3804
|
U(t, e);
|
|
3781
3805
|
function t(r, n, i, o) {
|
|
3782
|
-
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'),
|
|
3806
|
+
return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), te.INVALID_VALUE, o) || this;
|
|
3783
3807
|
}
|
|
3784
3808
|
return t;
|
|
3785
3809
|
}(He)
|
|
3786
|
-
),
|
|
3810
|
+
), ni = (
|
|
3787
3811
|
/** @class */
|
|
3788
3812
|
function(e) {
|
|
3789
3813
|
U(t, e);
|
|
3790
3814
|
function t(r, n, i) {
|
|
3791
|
-
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n),
|
|
3815
|
+
return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), te.INVALID_VALUE, i) || this;
|
|
3792
3816
|
}
|
|
3793
3817
|
return t;
|
|
3794
3818
|
}(He)
|
|
3795
|
-
),
|
|
3819
|
+
), ii = (
|
|
3796
3820
|
/** @class */
|
|
3797
3821
|
function(e) {
|
|
3798
3822
|
U(t, e);
|
|
3799
3823
|
function t(r, n) {
|
|
3800
|
-
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'),
|
|
3824
|
+
return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), te.MISSING_VALUE, n) || this;
|
|
3801
3825
|
}
|
|
3802
3826
|
return t;
|
|
3803
3827
|
}(He)
|
|
@@ -3805,17 +3829,17 @@ var He = (
|
|
|
3805
3829
|
(function(e) {
|
|
3806
3830
|
e[e.literal = 0] = "literal", e[e.object = 1] = "object";
|
|
3807
3831
|
})(T || (T = {}));
|
|
3808
|
-
function
|
|
3832
|
+
function oi(e) {
|
|
3809
3833
|
return e.length < 2 ? e : e.reduce(function(t, r) {
|
|
3810
3834
|
var n = t[t.length - 1];
|
|
3811
3835
|
return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
|
|
3812
3836
|
}, []);
|
|
3813
3837
|
}
|
|
3814
|
-
function
|
|
3838
|
+
function si(e) {
|
|
3815
3839
|
return typeof e == "function";
|
|
3816
3840
|
}
|
|
3817
|
-
function
|
|
3818
|
-
if (e.length === 1 &&
|
|
3841
|
+
function ge(e, t, r, n, i, o, a) {
|
|
3842
|
+
if (e.length === 1 && mt(e[0]))
|
|
3819
3843
|
return [
|
|
3820
3844
|
{
|
|
3821
3845
|
type: T.literal,
|
|
@@ -3824,14 +3848,14 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3824
3848
|
];
|
|
3825
3849
|
for (var s = [], l = 0, u = e; l < u.length; l++) {
|
|
3826
3850
|
var h = u[l];
|
|
3827
|
-
if (
|
|
3851
|
+
if (mt(h)) {
|
|
3828
3852
|
s.push({
|
|
3829
3853
|
type: T.literal,
|
|
3830
3854
|
value: h.value
|
|
3831
3855
|
});
|
|
3832
3856
|
continue;
|
|
3833
3857
|
}
|
|
3834
|
-
if (
|
|
3858
|
+
if (Pn(h)) {
|
|
3835
3859
|
typeof o == "number" && s.push({
|
|
3836
3860
|
type: T.literal,
|
|
3837
3861
|
value: r.getNumberFormat(t).format(o)
|
|
@@ -3840,44 +3864,44 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3840
3864
|
}
|
|
3841
3865
|
var f = h.value;
|
|
3842
3866
|
if (!(i && f in i))
|
|
3843
|
-
throw new
|
|
3867
|
+
throw new ii(f, a);
|
|
3844
3868
|
var c = i[f];
|
|
3845
|
-
if (
|
|
3869
|
+
if (Bn(h)) {
|
|
3846
3870
|
(!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), s.push({
|
|
3847
3871
|
type: typeof c == "string" ? T.literal : T.object,
|
|
3848
3872
|
value: c
|
|
3849
3873
|
});
|
|
3850
3874
|
continue;
|
|
3851
3875
|
}
|
|
3852
|
-
if (
|
|
3853
|
-
var
|
|
3876
|
+
if (Yt(h)) {
|
|
3877
|
+
var p = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
|
|
3854
3878
|
s.push({
|
|
3855
3879
|
type: T.literal,
|
|
3856
|
-
value: r.getDateTimeFormat(t,
|
|
3880
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3857
3881
|
});
|
|
3858
3882
|
continue;
|
|
3859
3883
|
}
|
|
3860
|
-
if (
|
|
3861
|
-
var
|
|
3884
|
+
if (Kt(h)) {
|
|
3885
|
+
var p = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
|
|
3862
3886
|
s.push({
|
|
3863
3887
|
type: T.literal,
|
|
3864
|
-
value: r.getDateTimeFormat(t,
|
|
3888
|
+
value: r.getDateTimeFormat(t, p).format(c)
|
|
3865
3889
|
});
|
|
3866
3890
|
continue;
|
|
3867
3891
|
}
|
|
3868
|
-
if (
|
|
3869
|
-
var
|
|
3870
|
-
|
|
3892
|
+
if (qt(h)) {
|
|
3893
|
+
var p = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
|
|
3894
|
+
p && p.scale && (c = c * (p.scale || 1)), s.push({
|
|
3871
3895
|
type: T.literal,
|
|
3872
|
-
value: r.getNumberFormat(t,
|
|
3896
|
+
value: r.getNumberFormat(t, p).format(c)
|
|
3873
3897
|
});
|
|
3874
3898
|
continue;
|
|
3875
3899
|
}
|
|
3876
|
-
if (
|
|
3877
|
-
var b = h.children, g = h.value,
|
|
3878
|
-
if (!
|
|
3879
|
-
throw new
|
|
3880
|
-
var A =
|
|
3900
|
+
if (rr(h)) {
|
|
3901
|
+
var b = h.children, g = h.value, S = i[g];
|
|
3902
|
+
if (!si(S))
|
|
3903
|
+
throw new ni(g, "function", a);
|
|
3904
|
+
var A = ge(b, t, r, n, i, o), H = S(A.map(function(O) {
|
|
3881
3905
|
return O.value;
|
|
3882
3906
|
}));
|
|
3883
3907
|
Array.isArray(H) || (H = [H]), s.push.apply(s, H.map(function(O) {
|
|
@@ -3887,39 +3911,39 @@ function ve(e, t, r, n, i, o, a) {
|
|
|
3887
3911
|
};
|
|
3888
3912
|
}));
|
|
3889
3913
|
}
|
|
3890
|
-
if (
|
|
3891
|
-
var
|
|
3892
|
-
if (!
|
|
3893
|
-
throw new
|
|
3894
|
-
s.push.apply(s,
|
|
3914
|
+
if (er(h)) {
|
|
3915
|
+
var w = h.options[c] || h.options.other;
|
|
3916
|
+
if (!w)
|
|
3917
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3918
|
+
s.push.apply(s, ge(w.value, t, r, n, i));
|
|
3895
3919
|
continue;
|
|
3896
3920
|
}
|
|
3897
|
-
if (
|
|
3898
|
-
var
|
|
3899
|
-
if (!
|
|
3921
|
+
if (tr(h)) {
|
|
3922
|
+
var w = h.options["=".concat(c)];
|
|
3923
|
+
if (!w) {
|
|
3900
3924
|
if (!Intl.PluralRules)
|
|
3901
3925
|
throw new He(`Intl.PluralRules is not available in this environment.
|
|
3902
3926
|
Try polyfilling it using "@formatjs/intl-pluralrules"
|
|
3903
|
-
`,
|
|
3904
|
-
var
|
|
3905
|
-
|
|
3927
|
+
`, te.MISSING_INTL_API, a);
|
|
3928
|
+
var L = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
|
|
3929
|
+
w = h.options[L] || h.options.other;
|
|
3906
3930
|
}
|
|
3907
|
-
if (!
|
|
3908
|
-
throw new
|
|
3909
|
-
s.push.apply(s,
|
|
3931
|
+
if (!w)
|
|
3932
|
+
throw new xt(h.value, c, Object.keys(h.options), a);
|
|
3933
|
+
s.push.apply(s, ge(w.value, t, r, n, i, c - (h.offset || 0)));
|
|
3910
3934
|
continue;
|
|
3911
3935
|
}
|
|
3912
3936
|
}
|
|
3913
|
-
return
|
|
3937
|
+
return oi(s);
|
|
3914
3938
|
}
|
|
3915
|
-
function
|
|
3939
|
+
function ai(e, t) {
|
|
3916
3940
|
return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
|
|
3917
3941
|
return r[n] = _(_({}, e[n]), t[n] || {}), r;
|
|
3918
3942
|
}, {})) : e;
|
|
3919
3943
|
}
|
|
3920
|
-
function
|
|
3944
|
+
function ui(e, t) {
|
|
3921
3945
|
return t ? Object.keys(e).reduce(function(r, n) {
|
|
3922
|
-
return r[n] =
|
|
3946
|
+
return r[n] = ai(e[n], t[n]), r;
|
|
3923
3947
|
}, _({}, e)) : e;
|
|
3924
3948
|
}
|
|
3925
3949
|
function Ne(e) {
|
|
@@ -3936,39 +3960,39 @@ function Ne(e) {
|
|
|
3936
3960
|
}
|
|
3937
3961
|
};
|
|
3938
3962
|
}
|
|
3939
|
-
function
|
|
3963
|
+
function li(e) {
|
|
3940
3964
|
return e === void 0 && (e = {
|
|
3941
3965
|
number: {},
|
|
3942
3966
|
dateTime: {},
|
|
3943
3967
|
pluralRules: {}
|
|
3944
3968
|
}), {
|
|
3945
|
-
getNumberFormat:
|
|
3969
|
+
getNumberFormat: Ce(function() {
|
|
3946
3970
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3947
3971
|
r[n] = arguments[n];
|
|
3948
|
-
return new ((t = Intl.NumberFormat).bind.apply(t,
|
|
3972
|
+
return new ((t = Intl.NumberFormat).bind.apply(t, Y([void 0], r, !1)))();
|
|
3949
3973
|
}, {
|
|
3950
3974
|
cache: Ne(e.number),
|
|
3951
|
-
strategy:
|
|
3975
|
+
strategy: Le.variadic
|
|
3952
3976
|
}),
|
|
3953
|
-
getDateTimeFormat:
|
|
3977
|
+
getDateTimeFormat: Ce(function() {
|
|
3954
3978
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3955
3979
|
r[n] = arguments[n];
|
|
3956
|
-
return new ((t = Intl.DateTimeFormat).bind.apply(t,
|
|
3980
|
+
return new ((t = Intl.DateTimeFormat).bind.apply(t, Y([void 0], r, !1)))();
|
|
3957
3981
|
}, {
|
|
3958
3982
|
cache: Ne(e.dateTime),
|
|
3959
|
-
strategy:
|
|
3983
|
+
strategy: Le.variadic
|
|
3960
3984
|
}),
|
|
3961
|
-
getPluralRules:
|
|
3985
|
+
getPluralRules: Ce(function() {
|
|
3962
3986
|
for (var t, r = [], n = 0; n < arguments.length; n++)
|
|
3963
3987
|
r[n] = arguments[n];
|
|
3964
|
-
return new ((t = Intl.PluralRules).bind.apply(t,
|
|
3988
|
+
return new ((t = Intl.PluralRules).bind.apply(t, Y([void 0], r, !1)))();
|
|
3965
3989
|
}, {
|
|
3966
3990
|
cache: Ne(e.pluralRules),
|
|
3967
|
-
strategy:
|
|
3991
|
+
strategy: Le.variadic
|
|
3968
3992
|
})
|
|
3969
3993
|
};
|
|
3970
3994
|
}
|
|
3971
|
-
var
|
|
3995
|
+
var hi = (
|
|
3972
3996
|
/** @class */
|
|
3973
3997
|
function() {
|
|
3974
3998
|
function e(t, r, n, i) {
|
|
@@ -3987,7 +4011,7 @@ var li = (
|
|
|
3987
4011
|
}, []);
|
|
3988
4012
|
return h.length <= 1 ? h[0] || "" : h;
|
|
3989
4013
|
}, this.formatToParts = function(l) {
|
|
3990
|
-
return
|
|
4014
|
+
return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
|
|
3991
4015
|
}, this.resolvedOptions = function() {
|
|
3992
4016
|
var l;
|
|
3993
4017
|
return {
|
|
@@ -4000,13 +4024,13 @@ var li = (
|
|
|
4000
4024
|
throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
|
|
4001
4025
|
var a = i || {};
|
|
4002
4026
|
a.formatters;
|
|
4003
|
-
var s =
|
|
4027
|
+
var s = jr(a, ["formatters"]);
|
|
4004
4028
|
this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
|
|
4005
4029
|
} else
|
|
4006
4030
|
this.ast = t;
|
|
4007
4031
|
if (!Array.isArray(this.ast))
|
|
4008
4032
|
throw new TypeError("A message must be provided as a String or AST.");
|
|
4009
|
-
this.formats =
|
|
4033
|
+
this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
|
|
4010
4034
|
}
|
|
4011
4035
|
return Object.defineProperty(e, "defaultLocale", {
|
|
4012
4036
|
get: function() {
|
|
@@ -4019,7 +4043,7 @@ var li = (
|
|
|
4019
4043
|
var r = Intl.NumberFormat.supportedLocalesOf(t);
|
|
4020
4044
|
return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
|
|
4021
4045
|
}
|
|
4022
|
-
}, e.__parse =
|
|
4046
|
+
}, e.__parse = ri, e.formats = {
|
|
4023
4047
|
number: {
|
|
4024
4048
|
integer: {
|
|
4025
4049
|
maximumFractionDigits: 0
|
|
@@ -4080,7 +4104,7 @@ var li = (
|
|
|
4080
4104
|
}, e;
|
|
4081
4105
|
}()
|
|
4082
4106
|
);
|
|
4083
|
-
function
|
|
4107
|
+
function ci(e, t) {
|
|
4084
4108
|
if (t == null)
|
|
4085
4109
|
return;
|
|
4086
4110
|
if (t in e)
|
|
@@ -4101,92 +4125,92 @@ function hi(e, t) {
|
|
|
4101
4125
|
n = void 0;
|
|
4102
4126
|
return n;
|
|
4103
4127
|
}
|
|
4104
|
-
const F = {},
|
|
4128
|
+
const F = {}, fi = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), cr = (e, t) => {
|
|
4105
4129
|
if (t == null)
|
|
4106
4130
|
return;
|
|
4107
4131
|
if (t in F && e in F[t])
|
|
4108
4132
|
return F[t][e];
|
|
4109
4133
|
const r = Be(t);
|
|
4110
4134
|
for (let n = 0; n < r.length; n++) {
|
|
4111
|
-
const i = r[n], o =
|
|
4135
|
+
const i = r[n], o = pi(i, e);
|
|
4112
4136
|
if (o)
|
|
4113
|
-
return
|
|
4137
|
+
return fi(e, t, o);
|
|
4114
4138
|
}
|
|
4115
4139
|
};
|
|
4116
|
-
let
|
|
4140
|
+
let rt;
|
|
4117
4141
|
const ce = Te({});
|
|
4118
|
-
function
|
|
4119
|
-
return
|
|
4142
|
+
function di(e) {
|
|
4143
|
+
return rt[e] || null;
|
|
4120
4144
|
}
|
|
4121
|
-
function
|
|
4122
|
-
return e in
|
|
4145
|
+
function fr(e) {
|
|
4146
|
+
return e in rt;
|
|
4123
4147
|
}
|
|
4124
|
-
function
|
|
4125
|
-
if (!
|
|
4148
|
+
function pi(e, t) {
|
|
4149
|
+
if (!fr(e))
|
|
4126
4150
|
return null;
|
|
4127
|
-
const r =
|
|
4128
|
-
return
|
|
4151
|
+
const r = di(e);
|
|
4152
|
+
return ci(r, t);
|
|
4129
4153
|
}
|
|
4130
|
-
function
|
|
4154
|
+
function mi(e) {
|
|
4131
4155
|
if (e == null)
|
|
4132
4156
|
return;
|
|
4133
4157
|
const t = Be(e);
|
|
4134
4158
|
for (let r = 0; r < t.length; r++) {
|
|
4135
4159
|
const n = t[r];
|
|
4136
|
-
if (
|
|
4160
|
+
if (fr(n))
|
|
4137
4161
|
return n;
|
|
4138
4162
|
}
|
|
4139
4163
|
}
|
|
4140
|
-
function
|
|
4141
|
-
delete F[e], ce.update((r) => (r[e] =
|
|
4164
|
+
function dr(e, ...t) {
|
|
4165
|
+
delete F[e], ce.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
|
|
4142
4166
|
}
|
|
4143
|
-
|
|
4167
|
+
ne(
|
|
4144
4168
|
[ce],
|
|
4145
4169
|
([e]) => Object.keys(e)
|
|
4146
4170
|
);
|
|
4147
|
-
ce.subscribe((e) =>
|
|
4148
|
-
const
|
|
4149
|
-
function
|
|
4150
|
-
|
|
4171
|
+
ce.subscribe((e) => rt = e);
|
|
4172
|
+
const ve = {};
|
|
4173
|
+
function bi(e, t) {
|
|
4174
|
+
ve[e].delete(t), ve[e].size === 0 && delete ve[e];
|
|
4151
4175
|
}
|
|
4152
|
-
function
|
|
4153
|
-
return
|
|
4176
|
+
function pr(e) {
|
|
4177
|
+
return ve[e];
|
|
4154
4178
|
}
|
|
4155
|
-
function
|
|
4179
|
+
function yi(e) {
|
|
4156
4180
|
return Be(e).map((t) => {
|
|
4157
|
-
const r =
|
|
4181
|
+
const r = pr(t);
|
|
4158
4182
|
return [t, r ? [...r] : []];
|
|
4159
4183
|
}).filter(([, t]) => t.length > 0);
|
|
4160
4184
|
}
|
|
4161
|
-
function
|
|
4185
|
+
function qe(e) {
|
|
4162
4186
|
return e == null ? !1 : Be(e).some(
|
|
4163
4187
|
(t) => {
|
|
4164
4188
|
var r;
|
|
4165
|
-
return (r =
|
|
4189
|
+
return (r = pr(t)) == null ? void 0 : r.size;
|
|
4166
4190
|
}
|
|
4167
4191
|
);
|
|
4168
4192
|
}
|
|
4169
|
-
function
|
|
4193
|
+
function gi(e, t) {
|
|
4170
4194
|
return Promise.all(
|
|
4171
|
-
t.map((n) => (
|
|
4172
|
-
).then((n) =>
|
|
4173
|
-
}
|
|
4174
|
-
const
|
|
4175
|
-
function
|
|
4176
|
-
if (!
|
|
4177
|
-
return e in
|
|
4178
|
-
const t =
|
|
4179
|
-
return
|
|
4195
|
+
t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
|
|
4196
|
+
).then((n) => dr(e, ...n));
|
|
4197
|
+
}
|
|
4198
|
+
const se = {};
|
|
4199
|
+
function mr(e) {
|
|
4200
|
+
if (!qe(e))
|
|
4201
|
+
return e in se ? se[e] : Promise.resolve();
|
|
4202
|
+
const t = yi(e);
|
|
4203
|
+
return se[e] = Promise.all(
|
|
4180
4204
|
t.map(
|
|
4181
|
-
([r, n]) =>
|
|
4205
|
+
([r, n]) => gi(r, n)
|
|
4182
4206
|
)
|
|
4183
4207
|
).then(() => {
|
|
4184
|
-
if (
|
|
4185
|
-
return
|
|
4186
|
-
delete
|
|
4187
|
-
}),
|
|
4208
|
+
if (qe(e))
|
|
4209
|
+
return mr(e);
|
|
4210
|
+
delete se[e];
|
|
4211
|
+
}), se[e];
|
|
4188
4212
|
}
|
|
4189
|
-
const
|
|
4213
|
+
const vi = {
|
|
4190
4214
|
number: {
|
|
4191
4215
|
scientific: { notation: "scientific" },
|
|
4192
4216
|
engineering: { notation: "engineering" },
|
|
@@ -4215,57 +4239,57 @@ const gi = {
|
|
|
4215
4239
|
timeZoneName: "short"
|
|
4216
4240
|
}
|
|
4217
4241
|
}
|
|
4218
|
-
},
|
|
4242
|
+
}, _i = {
|
|
4219
4243
|
fallbackLocale: null,
|
|
4220
4244
|
loadingDelay: 200,
|
|
4221
|
-
formats:
|
|
4245
|
+
formats: vi,
|
|
4222
4246
|
warnOnMissingMessages: !0,
|
|
4223
4247
|
handleMissingMessage: void 0,
|
|
4224
4248
|
ignoreTag: !0
|
|
4225
|
-
},
|
|
4226
|
-
function
|
|
4227
|
-
return
|
|
4249
|
+
}, Ei = _i;
|
|
4250
|
+
function re() {
|
|
4251
|
+
return Ei;
|
|
4228
4252
|
}
|
|
4229
|
-
const
|
|
4230
|
-
var
|
|
4253
|
+
const Re = Te(!1);
|
|
4254
|
+
var xi = Object.defineProperty, Si = Object.defineProperties, wi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
|
|
4231
4255
|
for (var r in t || (t = {}))
|
|
4232
|
-
|
|
4233
|
-
if (
|
|
4234
|
-
for (var r of
|
|
4235
|
-
|
|
4256
|
+
Ti.call(t, r) && wt(e, r, t[r]);
|
|
4257
|
+
if (St)
|
|
4258
|
+
for (var r of St(t))
|
|
4259
|
+
Hi.call(t, r) && wt(e, r, t[r]);
|
|
4236
4260
|
return e;
|
|
4237
|
-
},
|
|
4238
|
-
let
|
|
4239
|
-
const
|
|
4240
|
-
function
|
|
4261
|
+
}, Pi = (e, t) => Si(e, wi(t));
|
|
4262
|
+
let Ye;
|
|
4263
|
+
const _e = Te(null);
|
|
4264
|
+
function Tt(e) {
|
|
4241
4265
|
return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
|
|
4242
4266
|
}
|
|
4243
|
-
function Be(e, t =
|
|
4244
|
-
const r =
|
|
4245
|
-
return t ? [.../* @__PURE__ */ new Set([...r, ...
|
|
4267
|
+
function Be(e, t = re().fallbackLocale) {
|
|
4268
|
+
const r = Tt(e);
|
|
4269
|
+
return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
|
|
4246
4270
|
}
|
|
4247
4271
|
function W() {
|
|
4248
|
-
return
|
|
4272
|
+
return Ye ?? void 0;
|
|
4249
4273
|
}
|
|
4250
|
-
|
|
4251
|
-
|
|
4274
|
+
_e.subscribe((e) => {
|
|
4275
|
+
Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
|
|
4252
4276
|
});
|
|
4253
|
-
const
|
|
4254
|
-
if (e &&
|
|
4255
|
-
const { loadingDelay: t } =
|
|
4277
|
+
const Ai = (e) => {
|
|
4278
|
+
if (e && mi(e) && qe(e)) {
|
|
4279
|
+
const { loadingDelay: t } = re();
|
|
4256
4280
|
let r;
|
|
4257
4281
|
return typeof window < "u" && W() != null && t ? r = window.setTimeout(
|
|
4258
|
-
() =>
|
|
4282
|
+
() => Re.set(!0),
|
|
4259
4283
|
t
|
|
4260
|
-
) :
|
|
4261
|
-
|
|
4284
|
+
) : Re.set(!0), mr(e).then(() => {
|
|
4285
|
+
_e.set(e);
|
|
4262
4286
|
}).finally(() => {
|
|
4263
|
-
clearTimeout(r),
|
|
4287
|
+
clearTimeout(r), Re.set(!1);
|
|
4264
4288
|
});
|
|
4265
4289
|
}
|
|
4266
|
-
return
|
|
4267
|
-
},
|
|
4268
|
-
set:
|
|
4290
|
+
return _e.set(e);
|
|
4291
|
+
}, ie = Pi(Bi({}, _e), {
|
|
4292
|
+
set: Ai
|
|
4269
4293
|
}), Pe = (e) => {
|
|
4270
4294
|
const t = /* @__PURE__ */ Object.create(null);
|
|
4271
4295
|
return (n) => {
|
|
@@ -4273,77 +4297,77 @@ const Pi = (e) => {
|
|
|
4273
4297
|
return i in t ? t[i] : t[i] = e(n);
|
|
4274
4298
|
};
|
|
4275
4299
|
};
|
|
4276
|
-
var
|
|
4300
|
+
var Oi = Object.defineProperty, Ee = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
|
|
4277
4301
|
for (var r in t || (t = {}))
|
|
4278
|
-
|
|
4279
|
-
if (
|
|
4280
|
-
for (var r of
|
|
4281
|
-
|
|
4302
|
+
br.call(t, r) && Ht(e, r, t[r]);
|
|
4303
|
+
if (Ee)
|
|
4304
|
+
for (var r of Ee(t))
|
|
4305
|
+
yr.call(t, r) && Ht(e, r, t[r]);
|
|
4282
4306
|
return e;
|
|
4283
|
-
},
|
|
4307
|
+
}, oe = (e, t) => {
|
|
4284
4308
|
var r = {};
|
|
4285
4309
|
for (var n in e)
|
|
4286
|
-
|
|
4287
|
-
if (e != null &&
|
|
4288
|
-
for (var n of
|
|
4289
|
-
t.indexOf(n) < 0 &&
|
|
4310
|
+
br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
|
|
4311
|
+
if (e != null && Ee)
|
|
4312
|
+
for (var n of Ee(e))
|
|
4313
|
+
t.indexOf(n) < 0 && yr.call(e, n) && (r[n] = e[n]);
|
|
4290
4314
|
return r;
|
|
4291
4315
|
};
|
|
4292
|
-
const
|
|
4293
|
-
const { formats: r } =
|
|
4316
|
+
const he = (e, t) => {
|
|
4317
|
+
const { formats: r } = re();
|
|
4294
4318
|
if (e in r && t in r[e])
|
|
4295
4319
|
return r[e][t];
|
|
4296
4320
|
throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
|
|
4297
|
-
},
|
|
4321
|
+
}, Ii = Pe(
|
|
4298
4322
|
(e) => {
|
|
4299
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4323
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4300
4324
|
if (r == null)
|
|
4301
4325
|
throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
|
|
4302
|
-
return n && (i =
|
|
4326
|
+
return n && (i = he("number", n)), new Intl.NumberFormat(r, i);
|
|
4303
4327
|
}
|
|
4304
|
-
),
|
|
4328
|
+
), Ci = Pe(
|
|
4305
4329
|
(e) => {
|
|
4306
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4330
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4307
4331
|
if (r == null)
|
|
4308
4332
|
throw new Error('[svelte-i18n] A "locale" must be set to format dates');
|
|
4309
|
-
return n ? i =
|
|
4333
|
+
return n ? i = he("date", n) : Object.keys(i).length === 0 && (i = he("date", "short")), new Intl.DateTimeFormat(r, i);
|
|
4310
4334
|
}
|
|
4311
|
-
),
|
|
4335
|
+
), Li = Pe(
|
|
4312
4336
|
(e) => {
|
|
4313
|
-
var t = e, { locale: r, format: n } = t, i =
|
|
4337
|
+
var t = e, { locale: r, format: n } = t, i = oe(t, ["locale", "format"]);
|
|
4314
4338
|
if (r == null)
|
|
4315
4339
|
throw new Error(
|
|
4316
4340
|
'[svelte-i18n] A "locale" must be set to format time values'
|
|
4317
4341
|
);
|
|
4318
|
-
return n ? i =
|
|
4342
|
+
return n ? i = he("time", n) : Object.keys(i).length === 0 && (i = he("time", "short")), new Intl.DateTimeFormat(r, i);
|
|
4319
4343
|
}
|
|
4320
|
-
),
|
|
4344
|
+
), Mi = (e = {}) => {
|
|
4321
4345
|
var t = e, {
|
|
4322
4346
|
locale: r = W()
|
|
4323
|
-
} = t, n =
|
|
4347
|
+
} = t, n = oe(t, [
|
|
4324
4348
|
"locale"
|
|
4325
4349
|
]);
|
|
4326
|
-
return
|
|
4350
|
+
return Ii(nt({ locale: r }, n));
|
|
4327
4351
|
}, Ni = (e = {}) => {
|
|
4328
4352
|
var t = e, {
|
|
4329
4353
|
locale: r = W()
|
|
4330
|
-
} = t, n =
|
|
4354
|
+
} = t, n = oe(t, [
|
|
4331
4355
|
"locale"
|
|
4332
4356
|
]);
|
|
4333
|
-
return
|
|
4334
|
-
},
|
|
4357
|
+
return Ci(nt({ locale: r }, n));
|
|
4358
|
+
}, Ri = (e = {}) => {
|
|
4335
4359
|
var t = e, {
|
|
4336
4360
|
locale: r = W()
|
|
4337
|
-
} = t, n =
|
|
4361
|
+
} = t, n = oe(t, [
|
|
4338
4362
|
"locale"
|
|
4339
4363
|
]);
|
|
4340
|
-
return
|
|
4341
|
-
},
|
|
4364
|
+
return Li(nt({ locale: r }, n));
|
|
4365
|
+
}, $i = Pe(
|
|
4342
4366
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion
|
|
4343
|
-
(e, t = W()) => new
|
|
4344
|
-
ignoreTag:
|
|
4367
|
+
(e, t = W()) => new hi(e, t, re().formats, {
|
|
4368
|
+
ignoreTag: re().ignoreTag
|
|
4345
4369
|
})
|
|
4346
|
-
),
|
|
4370
|
+
), Di = (e, t = {}) => {
|
|
4347
4371
|
var r, n, i, o;
|
|
4348
4372
|
let a = t;
|
|
4349
4373
|
typeof e == "object" && (a = e, e = a.id);
|
|
@@ -4356,9 +4380,9 @@ const le = (e, t) => {
|
|
|
4356
4380
|
throw new Error(
|
|
4357
4381
|
"[svelte-i18n] Cannot format a message without first setting the initial locale."
|
|
4358
4382
|
);
|
|
4359
|
-
let h =
|
|
4383
|
+
let h = cr(e, l);
|
|
4360
4384
|
if (!h)
|
|
4361
|
-
h = (o = (i = (n = (r =
|
|
4385
|
+
h = (o = (i = (n = (r = re()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
|
|
4362
4386
|
else if (typeof h != "string")
|
|
4363
4387
|
return console.warn(
|
|
4364
4388
|
`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
|
|
@@ -4367,7 +4391,7 @@ const le = (e, t) => {
|
|
|
4367
4391
|
return h;
|
|
4368
4392
|
let f = h;
|
|
4369
4393
|
try {
|
|
4370
|
-
f =
|
|
4394
|
+
f = $i(h, l).format(s);
|
|
4371
4395
|
} catch (c) {
|
|
4372
4396
|
c instanceof Error && console.warn(
|
|
4373
4397
|
`[svelte-i18n] Message "${e}" has syntax error:`,
|
|
@@ -4375,16 +4399,16 @@ const le = (e, t) => {
|
|
|
4375
4399
|
);
|
|
4376
4400
|
}
|
|
4377
4401
|
return f;
|
|
4378
|
-
},
|
|
4379
|
-
|
|
4380
|
-
|
|
4381
|
-
|
|
4382
|
-
|
|
4383
|
-
window.emWidgets = { topic:
|
|
4384
|
-
const
|
|
4385
|
-
function
|
|
4402
|
+
}, Ui = (e, t) => Ri(t).format(e), Gi = (e, t) => Ni(t).format(e), Fi = (e, t) => Mi(t).format(e), ji = (e, t = W()) => cr(e, t), ki = ne([ie, ce], () => Di);
|
|
4403
|
+
ne([ie], () => Ui);
|
|
4404
|
+
ne([ie], () => Gi);
|
|
4405
|
+
ne([ie], () => Fi);
|
|
4406
|
+
ne([ie, ce], () => ji);
|
|
4407
|
+
window.emWidgets = { topic: rn };
|
|
4408
|
+
const gr = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Vi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
|
|
4409
|
+
function xo(e, t) {
|
|
4386
4410
|
const r = window.navigator.userAgent;
|
|
4387
|
-
return
|
|
4411
|
+
return gr(r) ? t = e.filter((n) => {
|
|
4388
4412
|
if (n.gameModel && (n.gameModel.platform.includes("iPad") || n.gameModel.platform.includes("iPhone") || n.gameModel.platform.includes("Android")))
|
|
4389
4413
|
return n;
|
|
4390
4414
|
}) : t = e.filter((n) => {
|
|
@@ -4392,13 +4416,13 @@ function Eo(e, t) {
|
|
|
4392
4416
|
return n;
|
|
4393
4417
|
}), t;
|
|
4394
4418
|
}
|
|
4395
|
-
function
|
|
4419
|
+
function Xi(e, t) {
|
|
4396
4420
|
if (e) {
|
|
4397
4421
|
const r = document.createElement("style");
|
|
4398
4422
|
r.innerHTML = t, e.appendChild(r);
|
|
4399
4423
|
}
|
|
4400
4424
|
}
|
|
4401
|
-
function
|
|
4425
|
+
function Wi(e, t) {
|
|
4402
4426
|
const r = new URL(t);
|
|
4403
4427
|
fetch(r.href).then((n) => n.text()).then((n) => {
|
|
4404
4428
|
const i = document.createElement("style");
|
|
@@ -4407,7 +4431,7 @@ function Xi(e, t) {
|
|
|
4407
4431
|
console.error("There was an error while trying to load client styling from URL", n);
|
|
4408
4432
|
});
|
|
4409
4433
|
}
|
|
4410
|
-
function
|
|
4434
|
+
function zi(e, t, r) {
|
|
4411
4435
|
if (window.emMessageBus) {
|
|
4412
4436
|
const n = document.createElement("style");
|
|
4413
4437
|
window.emMessageBus.subscribe(t, (i) => {
|
|
@@ -4415,13 +4439,13 @@ function Wi(e, t, r) {
|
|
|
4415
4439
|
});
|
|
4416
4440
|
}
|
|
4417
4441
|
}
|
|
4418
|
-
function
|
|
4419
|
-
|
|
4442
|
+
function Bt(e, t) {
|
|
4443
|
+
dr(e, t);
|
|
4420
4444
|
}
|
|
4421
|
-
function
|
|
4422
|
-
|
|
4445
|
+
function Zi(e) {
|
|
4446
|
+
ie.set(e);
|
|
4423
4447
|
}
|
|
4424
|
-
const
|
|
4448
|
+
const Pt = {
|
|
4425
4449
|
en: {
|
|
4426
4450
|
error: "500 Error - Internal Server Error"
|
|
4427
4451
|
},
|
|
@@ -4453,7 +4477,7 @@ if (typeof window < "u") {
|
|
|
4453
4477
|
}
|
|
4454
4478
|
};
|
|
4455
4479
|
};
|
|
4456
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-
|
|
4480
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyDetails-CmmQq8VR.js").then(({ default: t }) => {
|
|
4457
4481
|
!customElements.get("casino-calendar-daily-details") && customElements.define("casino-calendar-daily-details", t.element);
|
|
4458
4482
|
});
|
|
4459
4483
|
}
|
|
@@ -4469,146 +4493,146 @@ if (typeof window < "u") {
|
|
|
4469
4493
|
}
|
|
4470
4494
|
};
|
|
4471
4495
|
};
|
|
4472
|
-
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-
|
|
4496
|
+
customElements.define = e(customElements.define), import("./CasinoCalendarDailyItem-DlHg6exr.js").then(({ default: t }) => {
|
|
4473
4497
|
!customElements.get("casino-calendar-daily-item") && customElements.define("casino-calendar-daily-item", t.element);
|
|
4474
4498
|
});
|
|
4475
4499
|
}
|
|
4476
|
-
function
|
|
4477
|
-
|
|
4500
|
+
function Qi(e) {
|
|
4501
|
+
Sr(e, "svelte-61avp5", `.svelte-61avp5{font-family:inherit}.CasinoCalendarItem.svelte-61avp5{display:flex;flex-direction:row;flex-wrap:nowrap;text-align:left;gap:10px;overflow-x:auto;overflow-y:hidden;justify-content:space-evenly}.Mobile.svelte-61avp5{padding:0 10px;height:286px;overflow-y:visible;overflow-x:scroll;scroll-snap-type:x mandatory;-ms-overflow-style:none;scrollbar-width:none}.CalendarDetailsWrapper.svelte-61avp5{display:flex;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:300;top:0;left:0;background-color:var(--emw--color-dark-gray, rgba(0, 0, 0, 0.9))}.LoadingSpinner.svelte-61avp5{display:block;width:80px;height:80px;margin:0 auto
|
|
4478
4502
|
}.LoadingSpinner.svelte-61avp5:after{content:" ";display:block;width:64px;height:64px;margin:8px;border-radius:50%;border:6px solid var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C));border-color:var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent var(--emw--casino-color-primary, var(--emw--color-primary, #D0046C)) transparent;animation:svelte-61avp5-LoadingSpinner 1.2s linear infinite}@keyframes svelte-61avp5-LoadingSpinner{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}`);
|
|
4479
4503
|
}
|
|
4480
|
-
function
|
|
4504
|
+
function At(e, t, r) {
|
|
4481
4505
|
const n = e.slice();
|
|
4482
4506
|
return n[25] = t[r], n[27] = r, n;
|
|
4483
4507
|
}
|
|
4484
|
-
function
|
|
4485
|
-
let t, r, n, i =
|
|
4508
|
+
function Ji(e) {
|
|
4509
|
+
let t, r, n, i = st(
|
|
4486
4510
|
/*calendarCollections*/
|
|
4487
4511
|
e[6]
|
|
4488
4512
|
), o = [];
|
|
4489
4513
|
for (let s = 0; s < i.length; s += 1)
|
|
4490
|
-
o[s] =
|
|
4514
|
+
o[s] = Ot(At(e, i, s));
|
|
4491
4515
|
let a = (
|
|
4492
4516
|
/*calendarModalOpened*/
|
|
4493
|
-
e[11] == !0 &&
|
|
4517
|
+
e[11] == !0 && It(e)
|
|
4494
4518
|
);
|
|
4495
4519
|
return {
|
|
4496
4520
|
c() {
|
|
4497
|
-
t =
|
|
4521
|
+
t = R("div");
|
|
4498
4522
|
for (let s = 0; s < o.length; s += 1)
|
|
4499
4523
|
o[s].c();
|
|
4500
|
-
r =
|
|
4524
|
+
r = Pr(), a && a.c(), j(t, "class", n = "CasinoCalendarItem " + /*mobileView*/
|
|
4501
4525
|
(e[10] ? "Mobile" : "") + " svelte-61avp5");
|
|
4502
4526
|
},
|
|
4503
4527
|
m(s, l) {
|
|
4504
4528
|
k(s, t, l);
|
|
4505
4529
|
for (let u = 0; u < o.length; u += 1)
|
|
4506
4530
|
o[u] && o[u].m(t, null);
|
|
4507
|
-
|
|
4531
|
+
Se(t, r), a && a.m(t, null);
|
|
4508
4532
|
},
|
|
4509
4533
|
p(s, l) {
|
|
4510
4534
|
if (l & /*calendarCollections, lang, clientstyling, clientstylingurl, mbsource, translationurl*/
|
|
4511
4535
|
95) {
|
|
4512
|
-
i =
|
|
4536
|
+
i = st(
|
|
4513
4537
|
/*calendarCollections*/
|
|
4514
4538
|
s[6]
|
|
4515
4539
|
);
|
|
4516
4540
|
let u;
|
|
4517
4541
|
for (u = 0; u < i.length; u += 1) {
|
|
4518
|
-
const h =
|
|
4519
|
-
o[u] ? o[u].p(h, l) : (o[u] =
|
|
4542
|
+
const h = At(s, i, u);
|
|
4543
|
+
o[u] ? o[u].p(h, l) : (o[u] = Ot(h), o[u].c(), o[u].m(t, r));
|
|
4520
4544
|
}
|
|
4521
4545
|
for (; u < o.length; u += 1)
|
|
4522
4546
|
o[u].d(1);
|
|
4523
4547
|
o.length = i.length;
|
|
4524
4548
|
}
|
|
4525
4549
|
/*calendarModalOpened*/
|
|
4526
|
-
s[11] == !0 ? a ? a.p(s, l) : (a =
|
|
4550
|
+
s[11] == !0 ? a ? a.p(s, l) : (a = It(s), a.c(), a.m(t, null)) : a && (a.d(1), a = null), l & /*mobileView*/
|
|
4527
4551
|
1024 && n !== (n = "CasinoCalendarItem " + /*mobileView*/
|
|
4528
4552
|
(s[10] ? "Mobile" : "") + " svelte-61avp5") && j(t, "class", n);
|
|
4529
4553
|
},
|
|
4530
4554
|
d(s) {
|
|
4531
|
-
s &&
|
|
4555
|
+
s && D(t), Hr(o, s), a && a.d();
|
|
4532
4556
|
}
|
|
4533
4557
|
};
|
|
4534
4558
|
}
|
|
4535
|
-
function
|
|
4559
|
+
function qi(e) {
|
|
4536
4560
|
let t;
|
|
4537
4561
|
return {
|
|
4538
4562
|
c() {
|
|
4539
|
-
t =
|
|
4563
|
+
t = R("div"), j(t, "class", "LoadingSpinner svelte-61avp5");
|
|
4540
4564
|
},
|
|
4541
4565
|
m(r, n) {
|
|
4542
4566
|
k(r, t, n);
|
|
4543
4567
|
},
|
|
4544
4568
|
p: P,
|
|
4545
4569
|
d(r) {
|
|
4546
|
-
r &&
|
|
4570
|
+
r && D(t);
|
|
4547
4571
|
}
|
|
4548
4572
|
};
|
|
4549
4573
|
}
|
|
4550
|
-
function
|
|
4574
|
+
function Yi(e) {
|
|
4551
4575
|
let t, r = (
|
|
4552
4576
|
/*$_*/
|
|
4553
4577
|
e[12]("error") + ""
|
|
4554
4578
|
), n;
|
|
4555
4579
|
return {
|
|
4556
4580
|
c() {
|
|
4557
|
-
t =
|
|
4581
|
+
t = R("p"), n = Ke(r), j(t, "class", "SearchLoading svelte-61avp5");
|
|
4558
4582
|
},
|
|
4559
4583
|
m(i, o) {
|
|
4560
|
-
k(i, t, o),
|
|
4584
|
+
k(i, t, o), Se(t, n);
|
|
4561
4585
|
},
|
|
4562
4586
|
p(i, o) {
|
|
4563
4587
|
o & /*$_*/
|
|
4564
4588
|
4096 && r !== (r = /*$_*/
|
|
4565
|
-
i[12]("error") + "") &&
|
|
4589
|
+
i[12]("error") + "") && Or(n, r);
|
|
4566
4590
|
},
|
|
4567
4591
|
d(i) {
|
|
4568
|
-
i &&
|
|
4592
|
+
i && D(t);
|
|
4569
4593
|
}
|
|
4570
4594
|
};
|
|
4571
4595
|
}
|
|
4572
|
-
function
|
|
4596
|
+
function Ot(e) {
|
|
4573
4597
|
let t, r, n, i, o, a;
|
|
4574
4598
|
return {
|
|
4575
4599
|
c() {
|
|
4576
|
-
t =
|
|
4577
|
-
e[25].dailyBackground),
|
|
4578
|
-
e[25].dailyIcon),
|
|
4579
|
-
e[25].dailyDay),
|
|
4580
|
-
e[25].dailyDescription),
|
|
4581
|
-
e[25].dailyButtonTitle),
|
|
4600
|
+
t = R("casino-calendar-daily-item"), d(t, "dailybackground", r = /*dailyCalendarData*/
|
|
4601
|
+
e[25].dailyBackground), d(t, "dailyicon", n = /*dailyCalendarData*/
|
|
4602
|
+
e[25].dailyIcon), d(t, "dailyday", i = /*dailyCalendarData*/
|
|
4603
|
+
e[25].dailyDay), d(t, "dailydescription", o = /*dailyCalendarData*/
|
|
4604
|
+
e[25].dailyDescription), d(t, "dailybuttontitle", a = /*dailyCalendarData*/
|
|
4605
|
+
e[25].dailyButtonTitle), d(
|
|
4582
4606
|
t,
|
|
4583
4607
|
"index",
|
|
4584
4608
|
/*index*/
|
|
4585
4609
|
e[27]
|
|
4586
|
-
),
|
|
4610
|
+
), d(
|
|
4587
4611
|
t,
|
|
4588
4612
|
"lang",
|
|
4589
4613
|
/*lang*/
|
|
4590
4614
|
e[0]
|
|
4591
|
-
),
|
|
4615
|
+
), d(
|
|
4592
4616
|
t,
|
|
4593
4617
|
"clientstyling",
|
|
4594
4618
|
/*clientstyling*/
|
|
4595
4619
|
e[1]
|
|
4596
|
-
),
|
|
4620
|
+
), d(
|
|
4597
4621
|
t,
|
|
4598
4622
|
"clientstylingurl",
|
|
4599
4623
|
/*clientstylingurl*/
|
|
4600
4624
|
e[2]
|
|
4601
|
-
),
|
|
4625
|
+
), d(
|
|
4602
4626
|
t,
|
|
4603
4627
|
"mbsource",
|
|
4604
4628
|
/*mbsource*/
|
|
4605
4629
|
e[4]
|
|
4606
|
-
),
|
|
4630
|
+
), d(
|
|
4607
4631
|
t,
|
|
4608
4632
|
"translationurl",
|
|
4609
4633
|
/*translationurl*/
|
|
4610
4634
|
e[3]
|
|
4611
|
-
),
|
|
4635
|
+
), d(t, "class", "svelte-61avp5");
|
|
4612
4636
|
},
|
|
4613
4637
|
m(s, l) {
|
|
4614
4638
|
k(s, t, l);
|
|
@@ -4616,40 +4640,40 @@ function Pt(e) {
|
|
|
4616
4640
|
p(s, l) {
|
|
4617
4641
|
l & /*calendarCollections*/
|
|
4618
4642
|
64 && r !== (r = /*dailyCalendarData*/
|
|
4619
|
-
s[25].dailyBackground) &&
|
|
4643
|
+
s[25].dailyBackground) && d(t, "dailybackground", r), l & /*calendarCollections*/
|
|
4620
4644
|
64 && n !== (n = /*dailyCalendarData*/
|
|
4621
|
-
s[25].dailyIcon) &&
|
|
4645
|
+
s[25].dailyIcon) && d(t, "dailyicon", n), l & /*calendarCollections*/
|
|
4622
4646
|
64 && i !== (i = /*dailyCalendarData*/
|
|
4623
|
-
s[25].dailyDay) &&
|
|
4647
|
+
s[25].dailyDay) && d(t, "dailyday", i), l & /*calendarCollections*/
|
|
4624
4648
|
64 && o !== (o = /*dailyCalendarData*/
|
|
4625
|
-
s[25].dailyDescription) &&
|
|
4649
|
+
s[25].dailyDescription) && d(t, "dailydescription", o), l & /*calendarCollections*/
|
|
4626
4650
|
64 && a !== (a = /*dailyCalendarData*/
|
|
4627
|
-
s[25].dailyButtonTitle) &&
|
|
4628
|
-
1 &&
|
|
4651
|
+
s[25].dailyButtonTitle) && d(t, "dailybuttontitle", a), l & /*lang*/
|
|
4652
|
+
1 && d(
|
|
4629
4653
|
t,
|
|
4630
4654
|
"lang",
|
|
4631
4655
|
/*lang*/
|
|
4632
4656
|
s[0]
|
|
4633
4657
|
), l & /*clientstyling*/
|
|
4634
|
-
2 &&
|
|
4658
|
+
2 && d(
|
|
4635
4659
|
t,
|
|
4636
4660
|
"clientstyling",
|
|
4637
4661
|
/*clientstyling*/
|
|
4638
4662
|
s[1]
|
|
4639
4663
|
), l & /*clientstylingurl*/
|
|
4640
|
-
4 &&
|
|
4664
|
+
4 && d(
|
|
4641
4665
|
t,
|
|
4642
4666
|
"clientstylingurl",
|
|
4643
4667
|
/*clientstylingurl*/
|
|
4644
4668
|
s[2]
|
|
4645
4669
|
), l & /*mbsource*/
|
|
4646
|
-
16 &&
|
|
4670
|
+
16 && d(
|
|
4647
4671
|
t,
|
|
4648
4672
|
"mbsource",
|
|
4649
4673
|
/*mbsource*/
|
|
4650
4674
|
s[4]
|
|
4651
4675
|
), l & /*translationurl*/
|
|
4652
|
-
8 &&
|
|
4676
|
+
8 && d(
|
|
4653
4677
|
t,
|
|
4654
4678
|
"translationurl",
|
|
4655
4679
|
/*translationurl*/
|
|
@@ -4657,67 +4681,67 @@ function Pt(e) {
|
|
|
4657
4681
|
);
|
|
4658
4682
|
},
|
|
4659
4683
|
d(s) {
|
|
4660
|
-
s &&
|
|
4684
|
+
s && D(t);
|
|
4661
4685
|
}
|
|
4662
4686
|
};
|
|
4663
4687
|
}
|
|
4664
|
-
function
|
|
4688
|
+
function It(e) {
|
|
4665
4689
|
let t, r, n, i, o, a, s, l;
|
|
4666
4690
|
return {
|
|
4667
4691
|
c() {
|
|
4668
|
-
t =
|
|
4692
|
+
t = R("div"), r = R("casino-calendar-daily-details"), d(r, "dailybackground", n = /*calendarCollections*/
|
|
4669
4693
|
e[6][
|
|
4670
4694
|
/*selectedIndex*/
|
|
4671
4695
|
e[7]
|
|
4672
|
-
].dailyBackground),
|
|
4696
|
+
].dailyBackground), d(r, "dailybuttontitle", i = /*calendarCollections*/
|
|
4673
4697
|
e[6][
|
|
4674
4698
|
/*selectedIndex*/
|
|
4675
4699
|
e[7]
|
|
4676
|
-
].dailyButtonTitle),
|
|
4700
|
+
].dailyButtonTitle), d(r, "dailyday", o = /*calendarCollections*/
|
|
4677
4701
|
e[6][
|
|
4678
4702
|
/*selectedIndex*/
|
|
4679
4703
|
e[7]
|
|
4680
|
-
].dailyDay),
|
|
4704
|
+
].dailyDay), d(r, "dailydescription", a = /*calendarCollections*/
|
|
4681
4705
|
e[6][
|
|
4682
4706
|
/*selectedIndex*/
|
|
4683
4707
|
e[7]
|
|
4684
|
-
].dailyDescription),
|
|
4708
|
+
].dailyDescription), d(r, "dailyicon", s = /*calendarCollections*/
|
|
4685
4709
|
e[6][
|
|
4686
4710
|
/*selectedIndex*/
|
|
4687
4711
|
e[7]
|
|
4688
|
-
].dailyIcon),
|
|
4712
|
+
].dailyIcon), d(r, "dailytitle", l = /*calendarCollections*/
|
|
4689
4713
|
e[6][
|
|
4690
4714
|
/*selectedIndex*/
|
|
4691
4715
|
e[7]
|
|
4692
|
-
].dailyTitle),
|
|
4716
|
+
].dailyTitle), d(
|
|
4693
4717
|
r,
|
|
4694
4718
|
"lang",
|
|
4695
4719
|
/*lang*/
|
|
4696
4720
|
e[0]
|
|
4697
|
-
),
|
|
4721
|
+
), d(
|
|
4698
4722
|
r,
|
|
4699
4723
|
"clientstyling",
|
|
4700
4724
|
/*clientstyling*/
|
|
4701
4725
|
e[1]
|
|
4702
|
-
),
|
|
4726
|
+
), d(
|
|
4703
4727
|
r,
|
|
4704
4728
|
"clientstylingurl",
|
|
4705
4729
|
/*clientstylingurl*/
|
|
4706
4730
|
e[2]
|
|
4707
|
-
),
|
|
4731
|
+
), d(
|
|
4708
4732
|
r,
|
|
4709
4733
|
"mbsource",
|
|
4710
4734
|
/*mbsource*/
|
|
4711
4735
|
e[4]
|
|
4712
|
-
),
|
|
4736
|
+
), d(
|
|
4713
4737
|
r,
|
|
4714
4738
|
"translationurl",
|
|
4715
4739
|
/*translationurl*/
|
|
4716
4740
|
e[3]
|
|
4717
|
-
),
|
|
4741
|
+
), d(r, "class", "svelte-61avp5"), j(t, "class", "CalendarDetailsWrapper svelte-61avp5");
|
|
4718
4742
|
},
|
|
4719
4743
|
m(u, h) {
|
|
4720
|
-
k(u, t, h),
|
|
4744
|
+
k(u, t, h), Se(t, r);
|
|
4721
4745
|
},
|
|
4722
4746
|
p(u, h) {
|
|
4723
4747
|
h & /*calendarCollections, selectedIndex*/
|
|
@@ -4725,57 +4749,57 @@ function At(e) {
|
|
|
4725
4749
|
u[6][
|
|
4726
4750
|
/*selectedIndex*/
|
|
4727
4751
|
u[7]
|
|
4728
|
-
].dailyBackground) &&
|
|
4752
|
+
].dailyBackground) && d(r, "dailybackground", n), h & /*calendarCollections, selectedIndex*/
|
|
4729
4753
|
192 && i !== (i = /*calendarCollections*/
|
|
4730
4754
|
u[6][
|
|
4731
4755
|
/*selectedIndex*/
|
|
4732
4756
|
u[7]
|
|
4733
|
-
].dailyButtonTitle) &&
|
|
4757
|
+
].dailyButtonTitle) && d(r, "dailybuttontitle", i), h & /*calendarCollections, selectedIndex*/
|
|
4734
4758
|
192 && o !== (o = /*calendarCollections*/
|
|
4735
4759
|
u[6][
|
|
4736
4760
|
/*selectedIndex*/
|
|
4737
4761
|
u[7]
|
|
4738
|
-
].dailyDay) &&
|
|
4762
|
+
].dailyDay) && d(r, "dailyday", o), h & /*calendarCollections, selectedIndex*/
|
|
4739
4763
|
192 && a !== (a = /*calendarCollections*/
|
|
4740
4764
|
u[6][
|
|
4741
4765
|
/*selectedIndex*/
|
|
4742
4766
|
u[7]
|
|
4743
|
-
].dailyDescription) &&
|
|
4767
|
+
].dailyDescription) && d(r, "dailydescription", a), h & /*calendarCollections, selectedIndex*/
|
|
4744
4768
|
192 && s !== (s = /*calendarCollections*/
|
|
4745
4769
|
u[6][
|
|
4746
4770
|
/*selectedIndex*/
|
|
4747
4771
|
u[7]
|
|
4748
|
-
].dailyIcon) &&
|
|
4772
|
+
].dailyIcon) && d(r, "dailyicon", s), h & /*calendarCollections, selectedIndex*/
|
|
4749
4773
|
192 && l !== (l = /*calendarCollections*/
|
|
4750
4774
|
u[6][
|
|
4751
4775
|
/*selectedIndex*/
|
|
4752
4776
|
u[7]
|
|
4753
|
-
].dailyTitle) &&
|
|
4754
|
-
1 &&
|
|
4777
|
+
].dailyTitle) && d(r, "dailytitle", l), h & /*lang*/
|
|
4778
|
+
1 && d(
|
|
4755
4779
|
r,
|
|
4756
4780
|
"lang",
|
|
4757
4781
|
/*lang*/
|
|
4758
4782
|
u[0]
|
|
4759
4783
|
), h & /*clientstyling*/
|
|
4760
|
-
2 &&
|
|
4784
|
+
2 && d(
|
|
4761
4785
|
r,
|
|
4762
4786
|
"clientstyling",
|
|
4763
4787
|
/*clientstyling*/
|
|
4764
4788
|
u[1]
|
|
4765
4789
|
), h & /*clientstylingurl*/
|
|
4766
|
-
4 &&
|
|
4790
|
+
4 && d(
|
|
4767
4791
|
r,
|
|
4768
4792
|
"clientstylingurl",
|
|
4769
4793
|
/*clientstylingurl*/
|
|
4770
4794
|
u[2]
|
|
4771
4795
|
), h & /*mbsource*/
|
|
4772
|
-
16 &&
|
|
4796
|
+
16 && d(
|
|
4773
4797
|
r,
|
|
4774
4798
|
"mbsource",
|
|
4775
4799
|
/*mbsource*/
|
|
4776
4800
|
u[4]
|
|
4777
4801
|
), h & /*translationurl*/
|
|
4778
|
-
8 &&
|
|
4802
|
+
8 && d(
|
|
4779
4803
|
r,
|
|
4780
4804
|
"translationurl",
|
|
4781
4805
|
/*translationurl*/
|
|
@@ -4783,30 +4807,33 @@ function At(e) {
|
|
|
4783
4807
|
);
|
|
4784
4808
|
},
|
|
4785
4809
|
d(u) {
|
|
4786
|
-
u &&
|
|
4810
|
+
u && D(t);
|
|
4787
4811
|
}
|
|
4788
4812
|
};
|
|
4789
4813
|
}
|
|
4790
|
-
function
|
|
4814
|
+
function Ki(e) {
|
|
4791
4815
|
let t;
|
|
4792
4816
|
function r(o, a) {
|
|
4793
4817
|
if (
|
|
4794
4818
|
/*hasErrors*/
|
|
4795
4819
|
o[9]
|
|
4796
|
-
)
|
|
4820
|
+
)
|
|
4821
|
+
return Yi;
|
|
4797
4822
|
if (
|
|
4798
4823
|
/*isLoading*/
|
|
4799
4824
|
o[8]
|
|
4800
|
-
)
|
|
4825
|
+
)
|
|
4826
|
+
return qi;
|
|
4801
4827
|
if (
|
|
4802
4828
|
/*calendarCollections*/
|
|
4803
4829
|
o[6]?.length
|
|
4804
|
-
)
|
|
4830
|
+
)
|
|
4831
|
+
return Ji;
|
|
4805
4832
|
}
|
|
4806
4833
|
let n = r(e), i = n && n(e);
|
|
4807
4834
|
return {
|
|
4808
4835
|
c() {
|
|
4809
|
-
t =
|
|
4836
|
+
t = R("div"), i && i.c(), j(t, "class", "svelte-61avp5");
|
|
4810
4837
|
},
|
|
4811
4838
|
m(o, a) {
|
|
4812
4839
|
k(o, t, a), i && i.m(t, null), e[16](t);
|
|
@@ -4817,46 +4844,46 @@ function Yi(e) {
|
|
|
4817
4844
|
i: P,
|
|
4818
4845
|
o: P,
|
|
4819
4846
|
d(o) {
|
|
4820
|
-
o &&
|
|
4847
|
+
o && D(t), i && i.d(), e[16](null);
|
|
4821
4848
|
}
|
|
4822
4849
|
};
|
|
4823
4850
|
}
|
|
4824
|
-
function
|
|
4851
|
+
function eo(e, t, r) {
|
|
4825
4852
|
let n;
|
|
4826
|
-
|
|
4827
|
-
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c,
|
|
4828
|
-
const
|
|
4829
|
-
|
|
4853
|
+
xr(e, ki, (m) => r(12, n = m));
|
|
4854
|
+
let { cmsendpoint: i = "" } = t, { env: o = "" } = t, { userroles: a = "" } = t, { lang: s = "en" } = t, { clientstyling: l = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: h } = t, { mbsource: f } = t, c, p, b = 0, g = !0, S = !1, A = !1, H = window.navigator.userAgent, w = !1, L;
|
|
4855
|
+
const O = () => {
|
|
4856
|
+
Zi(s);
|
|
4830
4857
|
};
|
|
4831
|
-
Object.keys(
|
|
4832
|
-
|
|
4858
|
+
Object.keys(Pt).forEach((m) => {
|
|
4859
|
+
Bt(m, Pt[m]);
|
|
4833
4860
|
});
|
|
4834
|
-
const
|
|
4835
|
-
let
|
|
4836
|
-
if (
|
|
4837
|
-
return fetch(
|
|
4861
|
+
const M = () => {
|
|
4862
|
+
let m = h;
|
|
4863
|
+
if (m)
|
|
4864
|
+
return fetch(m).then((C) => C.json()).then((C) => {
|
|
4838
4865
|
Object.keys(C).forEach((G) => {
|
|
4839
|
-
|
|
4866
|
+
Bt(G, C[G]);
|
|
4840
4867
|
});
|
|
4841
4868
|
}).catch((C) => {
|
|
4842
4869
|
console.log(C);
|
|
4843
4870
|
});
|
|
4844
|
-
},
|
|
4871
|
+
}, x = () => {
|
|
4845
4872
|
r(8, g = !0);
|
|
4846
|
-
let
|
|
4847
|
-
|
|
4848
|
-
let C =
|
|
4849
|
-
C && (C === "PC" ?
|
|
4850
|
-
r(6,
|
|
4873
|
+
let m = new URL(`${i}/${s}/daily-calendar`);
|
|
4874
|
+
m.searchParams.append("userRoles", a), m.searchParams.append("env", o);
|
|
4875
|
+
let C = Vi(H);
|
|
4876
|
+
C && (C === "PC" ? m.searchParams.append("device", "dk") : C === "iPad" || C === "iPhone" ? m.searchParams.append("device", "ios") : m.searchParams.append("device", "mtWeb")), fetch(m.href).then((G) => G.json()).then((G) => {
|
|
4877
|
+
r(6, p = G);
|
|
4851
4878
|
}).catch((G) => {
|
|
4852
|
-
console.log(G), r(9,
|
|
4879
|
+
console.log(G), r(9, S = !0);
|
|
4853
4880
|
}).finally(() => {
|
|
4854
4881
|
r(8, g = !1);
|
|
4855
4882
|
});
|
|
4856
|
-
},
|
|
4857
|
-
|
|
4858
|
-
}, B = (
|
|
4859
|
-
|
|
4883
|
+
}, I = () => {
|
|
4884
|
+
x();
|
|
4885
|
+
}, B = (m) => {
|
|
4886
|
+
m.data && m.data.type == "OpenCalendar" && (r(7, b = m.data.index), r(11, w = !0), window.postMessage(
|
|
4860
4887
|
{
|
|
4861
4888
|
type: "ShowModal",
|
|
4862
4889
|
selectedIndex: b,
|
|
@@ -4865,27 +4892,27 @@ function Ki(e, t, r) {
|
|
|
4865
4892
|
window.location.href
|
|
4866
4893
|
), window.postMessage({
|
|
4867
4894
|
type: "DailyEventsData",
|
|
4868
|
-
data:
|
|
4869
|
-
})),
|
|
4895
|
+
data: p[b]?.dailyEvents
|
|
4896
|
+
})), m.data && m.data.type == "ModalClosed" && r(11, w = !1);
|
|
4870
4897
|
};
|
|
4871
|
-
|
|
4872
|
-
window.removeEventListener("message", B);
|
|
4898
|
+
Cr(() => (window.addEventListener("message", B, !1), gr(H) && r(10, A = !0), () => {
|
|
4899
|
+
window.emMessageBus && L && window.emMessageBus.unsubscribe("Casino.Style"), window.removeEventListener("message", B);
|
|
4873
4900
|
}));
|
|
4874
|
-
function
|
|
4875
|
-
|
|
4876
|
-
c =
|
|
4901
|
+
function z(m) {
|
|
4902
|
+
$e[m ? "unshift" : "push"](() => {
|
|
4903
|
+
c = m, r(5, c);
|
|
4877
4904
|
});
|
|
4878
4905
|
}
|
|
4879
|
-
return e.$$set = (
|
|
4880
|
-
"cmsendpoint" in
|
|
4906
|
+
return e.$$set = (m) => {
|
|
4907
|
+
"cmsendpoint" in m && r(13, i = m.cmsendpoint), "env" in m && r(14, o = m.env), "userroles" in m && r(15, a = m.userroles), "lang" in m && r(0, s = m.lang), "clientstyling" in m && r(1, l = m.clientstyling), "clientstylingurl" in m && r(2, u = m.clientstylingurl), "translationurl" in m && r(3, h = m.translationurl), "mbsource" in m && r(4, f = m.mbsource);
|
|
4881
4908
|
}, e.$$.update = () => {
|
|
4882
4909
|
e.$$.dirty & /*cmsendpoint, lang, env, userroles*/
|
|
4883
|
-
57345 && i && s && o && a &&
|
|
4884
|
-
34 && l && c &&
|
|
4885
|
-
36 && u && c &&
|
|
4886
|
-
48 && c &&
|
|
4887
|
-
1 && s &&
|
|
4888
|
-
9 && s && h &&
|
|
4910
|
+
57345 && i && s && o && a && I(), e.$$.dirty & /*clientstyling, customStylingContainer*/
|
|
4911
|
+
34 && l && c && Xi(c, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
|
|
4912
|
+
36 && u && c && Wi(c, u), e.$$.dirty & /*customStylingContainer, mbsource*/
|
|
4913
|
+
48 && c && zi(c, `${f}.Style`), e.$$.dirty & /*lang*/
|
|
4914
|
+
1 && s && O(), e.$$.dirty & /*lang, translationurl*/
|
|
4915
|
+
9 && s && h && M();
|
|
4889
4916
|
}, [
|
|
4890
4917
|
s,
|
|
4891
4918
|
l,
|
|
@@ -4893,27 +4920,27 @@ function Ki(e, t, r) {
|
|
|
4893
4920
|
h,
|
|
4894
4921
|
f,
|
|
4895
4922
|
c,
|
|
4896
|
-
|
|
4923
|
+
p,
|
|
4897
4924
|
b,
|
|
4898
4925
|
g,
|
|
4899
|
-
w,
|
|
4900
|
-
A,
|
|
4901
4926
|
S,
|
|
4927
|
+
A,
|
|
4928
|
+
w,
|
|
4902
4929
|
n,
|
|
4903
4930
|
i,
|
|
4904
4931
|
o,
|
|
4905
4932
|
a,
|
|
4906
|
-
|
|
4933
|
+
z
|
|
4907
4934
|
];
|
|
4908
4935
|
}
|
|
4909
|
-
class
|
|
4936
|
+
class vr extends Gr {
|
|
4910
4937
|
constructor(t) {
|
|
4911
|
-
super(),
|
|
4938
|
+
super(), Dr(
|
|
4912
4939
|
this,
|
|
4913
4940
|
t,
|
|
4941
|
+
eo,
|
|
4914
4942
|
Ki,
|
|
4915
|
-
|
|
4916
|
-
It,
|
|
4943
|
+
Lt,
|
|
4917
4944
|
{
|
|
4918
4945
|
cmsendpoint: 13,
|
|
4919
4946
|
env: 14,
|
|
@@ -4924,120 +4951,118 @@ class br extends Dr {
|
|
|
4924
4951
|
translationurl: 3,
|
|
4925
4952
|
mbsource: 4
|
|
4926
4953
|
},
|
|
4927
|
-
|
|
4954
|
+
Qi
|
|
4928
4955
|
);
|
|
4929
4956
|
}
|
|
4930
4957
|
get cmsendpoint() {
|
|
4931
4958
|
return this.$$.ctx[13];
|
|
4932
4959
|
}
|
|
4933
4960
|
set cmsendpoint(t) {
|
|
4934
|
-
this.$$set({ cmsendpoint: t }),
|
|
4961
|
+
this.$$set({ cmsendpoint: t }), N();
|
|
4935
4962
|
}
|
|
4936
4963
|
get env() {
|
|
4937
4964
|
return this.$$.ctx[14];
|
|
4938
4965
|
}
|
|
4939
4966
|
set env(t) {
|
|
4940
|
-
this.$$set({ env: t }),
|
|
4967
|
+
this.$$set({ env: t }), N();
|
|
4941
4968
|
}
|
|
4942
4969
|
get userroles() {
|
|
4943
4970
|
return this.$$.ctx[15];
|
|
4944
4971
|
}
|
|
4945
4972
|
set userroles(t) {
|
|
4946
|
-
this.$$set({ userroles: t }),
|
|
4973
|
+
this.$$set({ userroles: t }), N();
|
|
4947
4974
|
}
|
|
4948
4975
|
get lang() {
|
|
4949
4976
|
return this.$$.ctx[0];
|
|
4950
4977
|
}
|
|
4951
4978
|
set lang(t) {
|
|
4952
|
-
this.$$set({ lang: t }),
|
|
4979
|
+
this.$$set({ lang: t }), N();
|
|
4953
4980
|
}
|
|
4954
4981
|
get clientstyling() {
|
|
4955
4982
|
return this.$$.ctx[1];
|
|
4956
4983
|
}
|
|
4957
4984
|
set clientstyling(t) {
|
|
4958
|
-
this.$$set({ clientstyling: t }),
|
|
4985
|
+
this.$$set({ clientstyling: t }), N();
|
|
4959
4986
|
}
|
|
4960
4987
|
get clientstylingurl() {
|
|
4961
4988
|
return this.$$.ctx[2];
|
|
4962
4989
|
}
|
|
4963
4990
|
set clientstylingurl(t) {
|
|
4964
|
-
this.$$set({ clientstylingurl: t }),
|
|
4991
|
+
this.$$set({ clientstylingurl: t }), N();
|
|
4965
4992
|
}
|
|
4966
4993
|
get translationurl() {
|
|
4967
4994
|
return this.$$.ctx[3];
|
|
4968
4995
|
}
|
|
4969
4996
|
set translationurl(t) {
|
|
4970
|
-
this.$$set({ translationurl: t }),
|
|
4997
|
+
this.$$set({ translationurl: t }), N();
|
|
4971
4998
|
}
|
|
4972
4999
|
get mbsource() {
|
|
4973
5000
|
return this.$$.ctx[4];
|
|
4974
5001
|
}
|
|
4975
5002
|
set mbsource(t) {
|
|
4976
|
-
this.$$set({ mbsource: t }),
|
|
5003
|
+
this.$$set({ mbsource: t }), N();
|
|
4977
5004
|
}
|
|
4978
5005
|
}
|
|
4979
|
-
|
|
4980
|
-
const
|
|
5006
|
+
Ur(vr, { cmsendpoint: {}, env: {}, userroles: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
|
|
5007
|
+
const So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4981
5008
|
__proto__: null,
|
|
4982
|
-
default:
|
|
5009
|
+
default: vr
|
|
4983
5010
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
4984
5011
|
export {
|
|
4985
|
-
|
|
4986
|
-
|
|
4987
|
-
|
|
4988
|
-
|
|
4989
|
-
|
|
4990
|
-
|
|
4991
|
-
|
|
4992
|
-
|
|
4993
|
-
|
|
4994
|
-
|
|
4995
|
-
|
|
4996
|
-
|
|
4997
|
-
|
|
4998
|
-
|
|
4999
|
-
|
|
5000
|
-
|
|
5001
|
-
|
|
5002
|
-
|
|
5003
|
-
|
|
5004
|
-
|
|
5005
|
-
|
|
5006
|
-
|
|
5007
|
-
|
|
5008
|
-
|
|
5009
|
-
|
|
5010
|
-
|
|
5011
|
-
|
|
5012
|
-
|
|
5013
|
-
|
|
5014
|
-
|
|
5015
|
-
|
|
5016
|
-
|
|
5017
|
-
|
|
5018
|
-
|
|
5019
|
-
|
|
5020
|
-
|
|
5021
|
-
|
|
5022
|
-
|
|
5023
|
-
|
|
5024
|
-
|
|
5025
|
-
|
|
5026
|
-
|
|
5027
|
-
|
|
5028
|
-
|
|
5029
|
-
|
|
5030
|
-
|
|
5031
|
-
|
|
5032
|
-
|
|
5033
|
-
|
|
5034
|
-
|
|
5035
|
-
|
|
5036
|
-
|
|
5037
|
-
|
|
5038
|
-
|
|
5039
|
-
|
|
5040
|
-
|
|
5041
|
-
io as y,
|
|
5042
|
-
ro as z
|
|
5012
|
+
ie as $,
|
|
5013
|
+
uo as A,
|
|
5014
|
+
io as B,
|
|
5015
|
+
oo as C,
|
|
5016
|
+
no as D,
|
|
5017
|
+
Or as E,
|
|
5018
|
+
Hr as F,
|
|
5019
|
+
P as G,
|
|
5020
|
+
to as H,
|
|
5021
|
+
ki as I,
|
|
5022
|
+
Br as J,
|
|
5023
|
+
ao as K,
|
|
5024
|
+
co as L,
|
|
5025
|
+
po as M,
|
|
5026
|
+
X as N,
|
|
5027
|
+
lo as O,
|
|
5028
|
+
ce as P,
|
|
5029
|
+
d as Q,
|
|
5030
|
+
Vi as R,
|
|
5031
|
+
Gr as S,
|
|
5032
|
+
ho as T,
|
|
5033
|
+
fo as U,
|
|
5034
|
+
bo as V,
|
|
5035
|
+
xo as W,
|
|
5036
|
+
Eo as X,
|
|
5037
|
+
_o as Y,
|
|
5038
|
+
mo as Z,
|
|
5039
|
+
so as _,
|
|
5040
|
+
dr as a,
|
|
5041
|
+
xe as a0,
|
|
5042
|
+
So as a1,
|
|
5043
|
+
Sr as b,
|
|
5044
|
+
Ur as c,
|
|
5045
|
+
k as d,
|
|
5046
|
+
R as e,
|
|
5047
|
+
N as f,
|
|
5048
|
+
go as g,
|
|
5049
|
+
Ut as h,
|
|
5050
|
+
Dr as i,
|
|
5051
|
+
D as j,
|
|
5052
|
+
xr as k,
|
|
5053
|
+
Wi as l,
|
|
5054
|
+
zi as m,
|
|
5055
|
+
yo as n,
|
|
5056
|
+
Cr as o,
|
|
5057
|
+
gr as p,
|
|
5058
|
+
$e as q,
|
|
5059
|
+
Xi as r,
|
|
5060
|
+
Lt as s,
|
|
5061
|
+
vo as t,
|
|
5062
|
+
ro as u,
|
|
5063
|
+
st as v,
|
|
5064
|
+
Pr as w,
|
|
5065
|
+
Ke as x,
|
|
5066
|
+
j as y,
|
|
5067
|
+
Se as z
|
|
5043
5068
|
};
|