@asgard-js/react 0.0.18 → 0.0.19
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/dist/index.js
CHANGED
|
@@ -7,7 +7,7 @@ var G = (e, t, n) => L8(e, typeof t != "symbol" ? t + "" : t, n), I1 = (e, t, n)
|
|
|
7
7
|
var x1 = (e, t, n) => (I1(e, t, "read from private field"), n ? n.call(e) : t.get(e)), D1 = (e, t, n) => t.has(e) ? A1("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), vS = (e, t, n, r) => (I1(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n);
|
|
8
8
|
import { jsx as Z, jsxs as dt, Fragment as k8 } from "react/jsx-runtime";
|
|
9
9
|
import * as xt from "react";
|
|
10
|
-
import Qs, { createContext as DO, useMemo as
|
|
10
|
+
import Qs, { createContext as DO, useMemo as zt, useContext as wO, useRef as is, useEffect as Wt, useState as Gn, useCallback as Dt, useLayoutEffect as F$, memo as P8 } from "react";
|
|
11
11
|
import { AsgardServiceClient as F8, EventType as ju, Conversation as U8, Channel as B8, MessageTemplateType as ks } from "@asgard-js/core";
|
|
12
12
|
function w1(e) {
|
|
13
13
|
return e !== null && typeof e == "object" && !Array.isArray(e);
|
|
@@ -45,7 +45,7 @@ const B$ = {
|
|
|
45
45
|
B$
|
|
46
46
|
);
|
|
47
47
|
function $8(e) {
|
|
48
|
-
const { children: t, theme: n = {} } = e, r =
|
|
48
|
+
const { children: t, theme: n = {} } = e, r = zt(
|
|
49
49
|
() => U$(B$, n),
|
|
50
50
|
[n]
|
|
51
51
|
);
|
|
@@ -56,17 +56,17 @@ function Dl() {
|
|
|
56
56
|
}
|
|
57
57
|
function G8(e) {
|
|
58
58
|
const { config: t } = e, { onRunInit: n, onProcess: r, onMessage: i, onRunDone: a, onRunError: o } = t, s = is(null);
|
|
59
|
-
return s.current || (s.current = new F8(t)),
|
|
59
|
+
return s.current || (s.current = new F8(t)), Wt(() => () => {
|
|
60
60
|
s.current && (s.current.close(), s.current = null);
|
|
61
|
-
}, []),
|
|
61
|
+
}, []), Wt(() => {
|
|
62
62
|
!s.current || !n || s.current.on(ju.INIT, n);
|
|
63
|
-
}, [n]),
|
|
63
|
+
}, [n]), Wt(() => {
|
|
64
64
|
!s.current || !r || s.current.on(ju.PROCESS, r);
|
|
65
|
-
}, [r]),
|
|
65
|
+
}, [r]), Wt(() => {
|
|
66
66
|
!s.current || !i || s.current.on(ju.MESSAGE, i);
|
|
67
|
-
}, [i]),
|
|
67
|
+
}, [i]), Wt(() => {
|
|
68
68
|
!s.current || !a || s.current.on(ju.DONE, a);
|
|
69
|
-
}, [a]),
|
|
69
|
+
}, [a]), Wt(() => {
|
|
70
70
|
!s.current || !o || s.current.on(ju.ERROR, o);
|
|
71
71
|
}, [o]), s.current;
|
|
72
72
|
}
|
|
@@ -120,9 +120,9 @@ function Y8(e) {
|
|
|
120
120
|
(T) => s == null ? void 0 : s.sendMessage(T),
|
|
121
121
|
[s]
|
|
122
122
|
);
|
|
123
|
-
return
|
|
123
|
+
return Wt(() => {
|
|
124
124
|
!s && c && h(r);
|
|
125
|
-
}, [s, c, h, r]),
|
|
125
|
+
}, [s, c, h, r]), Wt(() => () => E(), [E]), zt(
|
|
126
126
|
() => ({
|
|
127
127
|
isOpen: c,
|
|
128
128
|
isResetting: d,
|
|
@@ -145,7 +145,7 @@ function Y8(e) {
|
|
|
145
145
|
}
|
|
146
146
|
function z8(e, t) {
|
|
147
147
|
const [n, r] = Gn(e);
|
|
148
|
-
return
|
|
148
|
+
return Wt(() => {
|
|
149
149
|
const i = window.setTimeout(() => {
|
|
150
150
|
r(e);
|
|
151
151
|
}, t ?? 300);
|
|
@@ -163,7 +163,7 @@ function H8() {
|
|
|
163
163
|
(i) => i && i[0] === r[0] && i[1] === r[1] ? i : r
|
|
164
164
|
);
|
|
165
165
|
}, []);
|
|
166
|
-
return RS == null || RS(n, [n]),
|
|
166
|
+
return RS == null || RS(n, [n]), Wt(() => {
|
|
167
167
|
var i;
|
|
168
168
|
function r() {
|
|
169
169
|
n(), setTimeout(n, 1e3);
|
|
@@ -181,7 +181,7 @@ function M1(e) {
|
|
|
181
181
|
}
|
|
182
182
|
function V8() {
|
|
183
183
|
const [e, t] = Gn(!1);
|
|
184
|
-
return
|
|
184
|
+
return Wt(() => {
|
|
185
185
|
function n(i) {
|
|
186
186
|
if (!i.target) return;
|
|
187
187
|
const a = i.target;
|
|
@@ -198,7 +198,7 @@ function V8() {
|
|
|
198
198
|
}, []), e;
|
|
199
199
|
}
|
|
200
200
|
function W8() {
|
|
201
|
-
|
|
201
|
+
Wt(() => {
|
|
202
202
|
function e() {
|
|
203
203
|
window.scrollTo(0, 0);
|
|
204
204
|
}
|
|
@@ -215,7 +215,7 @@ function G$(e) {
|
|
|
215
215
|
return G$(t);
|
|
216
216
|
}
|
|
217
217
|
function K8(e) {
|
|
218
|
-
|
|
218
|
+
Wt(() => {
|
|
219
219
|
const t = e.current;
|
|
220
220
|
if (!t) return;
|
|
221
221
|
let n;
|
|
@@ -253,7 +253,7 @@ function Q8(e) {
|
|
|
253
253
|
const n = window.innerHeight * 0.01;
|
|
254
254
|
e.current && e.current.style.setProperty("--vh", `${n}px`);
|
|
255
255
|
}, [e]);
|
|
256
|
-
CS == null || CS(t, [t]),
|
|
256
|
+
CS == null || CS(t, [t]), Wt(() => {
|
|
257
257
|
function n() {
|
|
258
258
|
t(), setTimeout(t, 1e3);
|
|
259
259
|
}
|
|
@@ -264,7 +264,7 @@ function Q8(e) {
|
|
|
264
264
|
}
|
|
265
265
|
function X8(e) {
|
|
266
266
|
const { ref: t, onResize: n } = e;
|
|
267
|
-
|
|
267
|
+
Wt(() => {
|
|
268
268
|
const r = new ResizeObserver((i) => {
|
|
269
269
|
for (const a of i) {
|
|
270
270
|
const { width: o, height: s } = a.contentRect;
|
|
@@ -51553,8 +51553,8 @@ function EG() {
|
|
|
51553
51553
|
if (lt)
|
|
51554
51554
|
L = "<remove></remove>" + L;
|
|
51555
51555
|
else {
|
|
51556
|
-
const
|
|
51557
|
-
Ee =
|
|
51556
|
+
const Vt = Ik(L, /^[\r\n\t ]+/);
|
|
51557
|
+
Ee = Vt && Vt[0];
|
|
51558
51558
|
}
|
|
51559
51559
|
Lr === "application/xhtml+xml" && Da === Mr && (L = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + L + "</body></html>");
|
|
51560
51560
|
const pt = T ? T.createHTML(L) : L;
|
|
@@ -51606,8 +51606,8 @@ function EG() {
|
|
|
51606
51606
|
if (tr && !ae[Ee]) {
|
|
51607
51607
|
const pt = S(L) || L.parentNode, an = E(L) || L.childNodes;
|
|
51608
51608
|
if (an && pt) {
|
|
51609
|
-
const
|
|
51610
|
-
for (let wn =
|
|
51609
|
+
const Vt = an.length;
|
|
51610
|
+
for (let wn = Vt - 1; wn >= 0; --wn) {
|
|
51611
51611
|
const oi = m(an[wn], !0);
|
|
51612
51612
|
oi.__removalCount = (L.__removalCount || 0) + 1, pt.insertBefore(oi, h(L));
|
|
51613
51613
|
}
|
|
@@ -51666,19 +51666,19 @@ function EG() {
|
|
|
51666
51666
|
let pt = ie.length;
|
|
51667
51667
|
for (; pt--; ) {
|
|
51668
51668
|
const an = ie[pt], {
|
|
51669
|
-
name:
|
|
51669
|
+
name: Vt,
|
|
51670
51670
|
namespaceURI: wn,
|
|
51671
51671
|
value: oi
|
|
51672
|
-
} = an, ec = Ft(
|
|
51673
|
-
let gn =
|
|
51674
|
-
if (Ee.attrName = ec, Ee.attrValue = gn, Ee.keepAttr = !0, Ee.forceKeepAttr = void 0, Gi(O.uponSanitizeAttribute, L, Ee), gn = Ee.attrValue, ze && (ec === "id" || ec === "name") && (Xu(
|
|
51675
|
-
Xu(
|
|
51672
|
+
} = an, ec = Ft(Vt);
|
|
51673
|
+
let gn = Vt === "value" ? oi : fZ(oi);
|
|
51674
|
+
if (Ee.attrName = ec, Ee.attrValue = gn, Ee.keepAttr = !0, Ee.forceKeepAttr = void 0, Gi(O.uponSanitizeAttribute, L, Ee), gn = Ee.attrValue, ze && (ec === "id" || ec === "name") && (Xu(Vt, L), gn = Ia + gn), Ae && Mn(/((--!?|])>)|<\/(style|title)/i, gn)) {
|
|
51675
|
+
Xu(Vt, L);
|
|
51676
51676
|
continue;
|
|
51677
51677
|
}
|
|
51678
|
-
if (Ee.forceKeepAttr || (Xu(
|
|
51678
|
+
if (Ee.forceKeepAttr || (Xu(Vt, L), !Ee.keepAttr))
|
|
51679
51679
|
continue;
|
|
51680
51680
|
if (!ue && Mn(/\/>/i, gn)) {
|
|
51681
|
-
Xu(
|
|
51681
|
+
Xu(Vt, L);
|
|
51682
51682
|
continue;
|
|
51683
51683
|
}
|
|
51684
51684
|
P && Z_([F, k, x], (TS) => {
|
|
@@ -51698,7 +51698,7 @@ function EG() {
|
|
|
51698
51698
|
}
|
|
51699
51699
|
}
|
|
51700
51700
|
try {
|
|
51701
|
-
wn ? L.setAttributeNS(wn,
|
|
51701
|
+
wn ? L.setAttributeNS(wn, Vt, gn) : L.setAttribute(Vt, gn), K_(L) ? ai(L) : Ak(t.removed);
|
|
51702
51702
|
} catch {
|
|
51703
51703
|
}
|
|
51704
51704
|
}
|
|
@@ -51737,8 +51737,8 @@ function EG() {
|
|
|
51737
51737
|
return ht ? null : Bi ? b : "";
|
|
51738
51738
|
}
|
|
51739
51739
|
ie && lt && ai(ie.firstChild);
|
|
51740
|
-
const
|
|
51741
|
-
for (; pt =
|
|
51740
|
+
const Vt = pS(wr ? be : ie);
|
|
51741
|
+
for (; pt = Vt.nextNode(); )
|
|
51742
51742
|
gS(pt), SS(pt), pt.content instanceof a && b1(pt.content);
|
|
51743
51743
|
if (wr)
|
|
51744
51744
|
return be;
|
|
@@ -51807,7 +51807,7 @@ function kZ(e) {
|
|
|
51807
51807
|
}
|
|
51808
51808
|
function SG(e, t = 100) {
|
|
51809
51809
|
const [n, r] = Gn([]), [i, a] = Gn(""), o = is(/* @__PURE__ */ new Map()), s = Dt((c) => (c == null ? void 0 : c.raw) || c.text || "", []);
|
|
51810
|
-
return
|
|
51810
|
+
return Wt(() => {
|
|
51811
51811
|
if (!e) {
|
|
51812
51812
|
r([]), a(""), o.current.clear();
|
|
51813
51813
|
return;
|
|
@@ -51845,7 +51845,7 @@ function SG(e, t = 100) {
|
|
|
51845
51845
|
}, t);
|
|
51846
51846
|
return () => clearTimeout(c);
|
|
51847
51847
|
}, [e, t, s]), {
|
|
51848
|
-
htmlBlocks:
|
|
51848
|
+
htmlBlocks: zt(() => /* @__PURE__ */ Z(
|
|
51849
51849
|
"div",
|
|
51850
51850
|
{
|
|
51851
51851
|
className: Fr.md_container,
|
|
@@ -51886,7 +51886,7 @@ function PZ(e) {
|
|
|
51886
51886
|
client: l,
|
|
51887
51887
|
customChannelId: a,
|
|
51888
51888
|
initMessages: o
|
|
51889
|
-
}), g =
|
|
51889
|
+
}), g = zt(
|
|
51890
51890
|
() => ({
|
|
51891
51891
|
avatar: t,
|
|
51892
51892
|
client: l,
|
|
@@ -51923,7 +51923,7 @@ const TG = DO({
|
|
|
51923
51923
|
errorMessageRenderer: void 0
|
|
51924
51924
|
});
|
|
51925
51925
|
function FZ(e) {
|
|
51926
|
-
const { children: t, onErrorClick: n, errorMessageRenderer: r } = e, i =
|
|
51926
|
+
const { children: t, onErrorClick: n, errorMessageRenderer: r } = e, i = zt(
|
|
51927
51927
|
() => ({ onErrorClick: n, errorMessageRenderer: r }),
|
|
51928
51928
|
[r, n]
|
|
51929
51929
|
);
|
|
@@ -51955,7 +51955,7 @@ function qZ(e) {
|
|
|
51955
51955
|
}
|
|
51956
51956
|
const HZ = (e) => /* @__PURE__ */ xt.createElement("svg", { width: 16, height: 16, viewBox: "0 0 16 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xt.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M3.49453 2.3352C6.44049 -0.226723 10.9105 -0.106316 13.7142 2.69633C16.6428 5.62613 16.6428 10.3739 13.7144 13.3035C10.7846 16.2322 6.03581 16.2322 3.1073 13.3036C2.30873 12.505 1.71132 11.5536 1.34188 10.5109L1.78892 10.3525L1.34171 10.5106L1.22791 10.162C1.01752 9.46018 0.910643 8.73159 0.910643 7.9997H2.4542L2.46382 8.33865C2.49584 8.9024 2.60763 9.46037 2.79674 9.99539L2.7968 9.99536L2.90116 10.2683C3.19714 10.9887 3.63414 11.6475 4.19876 12.2121C6.52451 14.5379 10.2961 14.5379 12.6229 12.212C14.9486 9.88539 14.9486 6.11464 12.6227 3.78781C10.3306 1.49653 6.63579 1.46263 4.30292 3.68622L6.68087 3.68698V5.22954H3.49394H1.95141V3.68698V0.5H3.49394L3.49453 2.3352Z", fill: "#8C8C8C" })), yG = (e) => /* @__PURE__ */ xt.createElement("svg", { width: 15, height: 14, viewBox: "0 0 15 14", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xt.createElement("path", { fillRule: "evenodd", clipRule: "evenodd", d: "M13.3496 0L7.41062 5.938L1.47162 0L0.411621 1.06L6.34962 6.999L0.411621 12.938L1.47162 13.999L7.41062 8.059L13.3496 13.999L14.4096 12.938L8.47162 6.999L14.4096 1.06L13.3496 0Z", fill: "#8C8C8C" }));
|
|
51957
51957
|
function VZ(e) {
|
|
51958
|
-
const { title: t, onReset: n, onClose: r, customActions: i } = e, { chatbot: a } = Dl(), { avatar: o, isResetting: s, resetChannel: l, closeChannel: c } = ti(), u =
|
|
51958
|
+
const { title: t, onReset: n, onClose: r, customActions: i } = e, { chatbot: a } = Dl(), { avatar: o, isResetting: s, resetChannel: l, closeChannel: c } = ti(), u = zt(
|
|
51959
51959
|
() => ({
|
|
51960
51960
|
maxWidth: (a == null ? void 0 : a.contentMaxWidth) ?? "1200px",
|
|
51961
51961
|
borderBottomColor: a == null ? void 0 : a.borderColor
|
|
@@ -52008,7 +52008,7 @@ function oa() {
|
|
|
52008
52008
|
return r;
|
|
52009
52009
|
}
|
|
52010
52010
|
function ll(e) {
|
|
52011
|
-
const { type: t, direction: n = "horizontal", children: r } = e, i =
|
|
52011
|
+
const { type: t, direction: n = "horizontal", children: r } = e, i = zt(() => {
|
|
52012
52012
|
switch (t) {
|
|
52013
52013
|
case "user":
|
|
52014
52014
|
return oa(nc.template_box, nc["template_box--user"]);
|
|
@@ -52085,7 +52085,7 @@ const rJ = "_bot_avatar_xrs9x_1", Bk = {
|
|
|
52085
52085
|
};
|
|
52086
52086
|
function RG(e) {
|
|
52087
52087
|
var o;
|
|
52088
|
-
const { template: t } = e, { sendMessage: n } = ti(), r =
|
|
52088
|
+
const { template: t } = e, { sendMessage: n } = ti(), r = zt(() => (t == null ? void 0 : t.thumbnailImageUrl.replace(/^http:/, "").replace(/^https:/, "")) || "https://via.assets.so/img.jpg?w=200&h=270&tc=white&bg=#eeeeee", [t]), i = zt(() => {
|
|
52089
52089
|
switch (t == null ? void 0 : t.imageAspectRatio) {
|
|
52090
52090
|
case "square":
|
|
52091
52091
|
return "1 / 1";
|
|
@@ -52147,7 +52147,7 @@ function $k(e) {
|
|
|
52147
52147
|
const { message: t } = e, { avatar: n } = ti(), r = Dl(), { htmlBlocks: i, lastTypingText: a } = SG(
|
|
52148
52148
|
((s = t == null ? void 0 : t.message) == null ? void 0 : s.text) || "",
|
|
52149
52149
|
20
|
|
52150
|
-
), o =
|
|
52150
|
+
), o = zt(() => {
|
|
52151
52151
|
var c, u, d, f;
|
|
52152
52152
|
switch (t.type) {
|
|
52153
52153
|
case "user":
|
|
@@ -52205,7 +52205,7 @@ function CG(e) {
|
|
|
52205
52205
|
const l = z8(t, 500), { htmlBlocks: c, lastTypingText: u } = SG(
|
|
52206
52206
|
n || "",
|
|
52207
52207
|
20
|
|
52208
|
-
), d =
|
|
52208
|
+
), d = zt(
|
|
52209
52209
|
() => {
|
|
52210
52210
|
var _, p;
|
|
52211
52211
|
return {
|
|
@@ -52214,7 +52214,7 @@ function CG(e) {
|
|
|
52214
52214
|
};
|
|
52215
52215
|
},
|
|
52216
52216
|
[a]
|
|
52217
|
-
), f =
|
|
52217
|
+
), f = zt(
|
|
52218
52218
|
() => {
|
|
52219
52219
|
var _;
|
|
52220
52220
|
return {
|
|
@@ -52245,7 +52245,7 @@ function CG(e) {
|
|
|
52245
52245
|
] }) : null;
|
|
52246
52246
|
}
|
|
52247
52247
|
function dJ(e) {
|
|
52248
|
-
const { placeholder: t } = e, { isConnecting: n, messages: r } = ti(), i =
|
|
52248
|
+
const { placeholder: t } = e, { isConnecting: n, messages: r } = ti(), i = zt(
|
|
52249
52249
|
() => Array.from((r == null ? void 0 : r.values()) ?? []).some(
|
|
52250
52250
|
(a) => a.type === "bot" && a.isTyping
|
|
52251
52251
|
),
|
|
@@ -54193,7 +54193,7 @@ function pY(e, t) {
|
|
|
54193
54193
|
return e = Math.abs(e), t = Math.abs(t) - e, Math.max(0, Bc(t) - Bc(e)) + 1;
|
|
54194
54194
|
}
|
|
54195
54195
|
const Ev = /* @__PURE__ */ new Date(), Sv = /* @__PURE__ */ new Date();
|
|
54196
|
-
function
|
|
54196
|
+
function qt(e, t, n, r) {
|
|
54197
54197
|
function i(a) {
|
|
54198
54198
|
return e(a = arguments.length === 0 ? /* @__PURE__ */ new Date() : /* @__PURE__ */ new Date(+a)), a;
|
|
54199
54199
|
}
|
|
@@ -54208,7 +54208,7 @@ function zt(e, t, n, r) {
|
|
|
54208
54208
|
l.push(c = /* @__PURE__ */ new Date(+a)), t(a, s), e(a);
|
|
54209
54209
|
while (c < a && a < o);
|
|
54210
54210
|
return l;
|
|
54211
|
-
}, i.filter = (a) =>
|
|
54211
|
+
}, i.filter = (a) => qt((o) => {
|
|
54212
54212
|
if (o >= o) for (; e(o), !a(o); ) o.setTime(o - 1);
|
|
54213
54213
|
}, (o, s) => {
|
|
54214
54214
|
if (o >= o)
|
|
@@ -54220,67 +54220,67 @@ function zt(e, t, n, r) {
|
|
|
54220
54220
|
;
|
|
54221
54221
|
}), n && (i.count = (a, o) => (Ev.setTime(+a), Sv.setTime(+o), e(Ev), e(Sv), Math.floor(n(Ev, Sv))), i.every = (a) => (a = Math.floor(a), !isFinite(a) || !(a > 0) ? null : a > 1 ? i.filter(r ? (o) => r(o) % a === 0 : (o) => i.count(0, o) % a === 0) : i)), i;
|
|
54222
54222
|
}
|
|
54223
|
-
const $c =
|
|
54223
|
+
const $c = qt(() => {
|
|
54224
54224
|
}, (e, t) => {
|
|
54225
54225
|
e.setTime(+e + t);
|
|
54226
54226
|
}, (e, t) => t - e);
|
|
54227
|
-
$c.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ?
|
|
54227
|
+
$c.every = (e) => (e = Math.floor(e), !isFinite(e) || !(e > 0) ? null : e > 1 ? qt((t) => {
|
|
54228
54228
|
t.setTime(Math.floor(t / e) * e);
|
|
54229
54229
|
}, (t, n) => {
|
|
54230
54230
|
t.setTime(+t + n * e);
|
|
54231
54231
|
}, (t, n) => (n - t) / e) : $c);
|
|
54232
54232
|
$c.range;
|
|
54233
|
-
const Ga = 1e3, Gr = Ga * 60, Ya = Gr * 60, to = Ya * 24, cA = to * 7, uP = to * 30, bv = to * 365, za =
|
|
54233
|
+
const Ga = 1e3, Gr = Ga * 60, Ya = Gr * 60, to = Ya * 24, cA = to * 7, uP = to * 30, bv = to * 365, za = qt((e) => {
|
|
54234
54234
|
e.setTime(e - e.getMilliseconds());
|
|
54235
54235
|
}, (e, t) => {
|
|
54236
54236
|
e.setTime(+e + t * Ga);
|
|
54237
54237
|
}, (e, t) => (t - e) / Ga, (e) => e.getUTCSeconds());
|
|
54238
54238
|
za.range;
|
|
54239
|
-
const sh =
|
|
54239
|
+
const sh = qt((e) => {
|
|
54240
54240
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ga);
|
|
54241
54241
|
}, (e, t) => {
|
|
54242
54242
|
e.setTime(+e + t * Gr);
|
|
54243
54243
|
}, (e, t) => (t - e) / Gr, (e) => e.getMinutes());
|
|
54244
54244
|
sh.range;
|
|
54245
|
-
const lh =
|
|
54245
|
+
const lh = qt((e) => {
|
|
54246
54246
|
e.setUTCSeconds(0, 0);
|
|
54247
54247
|
}, (e, t) => {
|
|
54248
54248
|
e.setTime(+e + t * Gr);
|
|
54249
54249
|
}, (e, t) => (t - e) / Gr, (e) => e.getUTCMinutes());
|
|
54250
54250
|
lh.range;
|
|
54251
|
-
const ch =
|
|
54251
|
+
const ch = qt((e) => {
|
|
54252
54252
|
e.setTime(e - e.getMilliseconds() - e.getSeconds() * Ga - e.getMinutes() * Gr);
|
|
54253
54253
|
}, (e, t) => {
|
|
54254
54254
|
e.setTime(+e + t * Ya);
|
|
54255
54255
|
}, (e, t) => (t - e) / Ya, (e) => e.getHours());
|
|
54256
54256
|
ch.range;
|
|
54257
|
-
const uh =
|
|
54257
|
+
const uh = qt((e) => {
|
|
54258
54258
|
e.setUTCMinutes(0, 0, 0);
|
|
54259
54259
|
}, (e, t) => {
|
|
54260
54260
|
e.setTime(+e + t * Ya);
|
|
54261
54261
|
}, (e, t) => (t - e) / Ya, (e) => e.getUTCHours());
|
|
54262
54262
|
uh.range;
|
|
54263
|
-
const Ka =
|
|
54263
|
+
const Ka = qt(
|
|
54264
54264
|
(e) => e.setHours(0, 0, 0, 0),
|
|
54265
54265
|
(e, t) => e.setDate(e.getDate() + t),
|
|
54266
54266
|
(e, t) => (t - e - (t.getTimezoneOffset() - e.getTimezoneOffset()) * Gr) / to,
|
|
54267
54267
|
(e) => e.getDate() - 1
|
|
54268
54268
|
);
|
|
54269
54269
|
Ka.range;
|
|
54270
|
-
const Uo =
|
|
54270
|
+
const Uo = qt((e) => {
|
|
54271
54271
|
e.setUTCHours(0, 0, 0, 0);
|
|
54272
54272
|
}, (e, t) => {
|
|
54273
54273
|
e.setUTCDate(e.getUTCDate() + t);
|
|
54274
54274
|
}, (e, t) => (t - e) / to, (e) => e.getUTCDate() - 1);
|
|
54275
54275
|
Uo.range;
|
|
54276
|
-
const mY =
|
|
54276
|
+
const mY = qt((e) => {
|
|
54277
54277
|
e.setUTCHours(0, 0, 0, 0);
|
|
54278
54278
|
}, (e, t) => {
|
|
54279
54279
|
e.setUTCDate(e.getUTCDate() + t);
|
|
54280
54280
|
}, (e, t) => (t - e) / to, (e) => Math.floor(e / to));
|
|
54281
54281
|
mY.range;
|
|
54282
54282
|
function Ll(e) {
|
|
54283
|
-
return
|
|
54283
|
+
return qt((t) => {
|
|
54284
54284
|
t.setDate(t.getDate() - (t.getDay() + 7 - e) % 7), t.setHours(0, 0, 0, 0);
|
|
54285
54285
|
}, (t, n) => {
|
|
54286
54286
|
t.setDate(t.getDate() + n * 7);
|
|
@@ -54295,7 +54295,7 @@ Gc.range;
|
|
|
54295
54295
|
Aee.range;
|
|
54296
54296
|
Iee.range;
|
|
54297
54297
|
function kl(e) {
|
|
54298
|
-
return
|
|
54298
|
+
return qt((t) => {
|
|
54299
54299
|
t.setUTCDate(t.getUTCDate() - (t.getUTCDay() + 7 - e) % 7), t.setUTCHours(0, 0, 0, 0);
|
|
54300
54300
|
}, (t, n) => {
|
|
54301
54301
|
t.setUTCDate(t.getUTCDate() + n * 7);
|
|
@@ -54309,35 +54309,35 @@ Dee.range;
|
|
|
54309
54309
|
Yc.range;
|
|
54310
54310
|
wee.range;
|
|
54311
54311
|
Mee.range;
|
|
54312
|
-
const bf =
|
|
54312
|
+
const bf = qt((e) => {
|
|
54313
54313
|
e.setDate(1), e.setHours(0, 0, 0, 0);
|
|
54314
54314
|
}, (e, t) => {
|
|
54315
54315
|
e.setMonth(e.getMonth() + t);
|
|
54316
54316
|
}, (e, t) => t.getMonth() - e.getMonth() + (t.getFullYear() - e.getFullYear()) * 12, (e) => e.getMonth());
|
|
54317
54317
|
bf.range;
|
|
54318
|
-
const Tf =
|
|
54318
|
+
const Tf = qt((e) => {
|
|
54319
54319
|
e.setUTCDate(1), e.setUTCHours(0, 0, 0, 0);
|
|
54320
54320
|
}, (e, t) => {
|
|
54321
54321
|
e.setUTCMonth(e.getUTCMonth() + t);
|
|
54322
54322
|
}, (e, t) => t.getUTCMonth() - e.getUTCMonth() + (t.getUTCFullYear() - e.getUTCFullYear()) * 12, (e) => e.getUTCMonth());
|
|
54323
54323
|
Tf.range;
|
|
54324
|
-
const la =
|
|
54324
|
+
const la = qt((e) => {
|
|
54325
54325
|
e.setMonth(0, 1), e.setHours(0, 0, 0, 0);
|
|
54326
54326
|
}, (e, t) => {
|
|
54327
54327
|
e.setFullYear(e.getFullYear() + t);
|
|
54328
54328
|
}, (e, t) => t.getFullYear() - e.getFullYear(), (e) => e.getFullYear());
|
|
54329
|
-
la.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
54329
|
+
la.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : qt((t) => {
|
|
54330
54330
|
t.setFullYear(Math.floor(t.getFullYear() / e) * e), t.setMonth(0, 1), t.setHours(0, 0, 0, 0);
|
|
54331
54331
|
}, (t, n) => {
|
|
54332
54332
|
t.setFullYear(t.getFullYear() + n * e);
|
|
54333
54333
|
});
|
|
54334
54334
|
la.range;
|
|
54335
|
-
const ca =
|
|
54335
|
+
const ca = qt((e) => {
|
|
54336
54336
|
e.setUTCMonth(0, 1), e.setUTCHours(0, 0, 0, 0);
|
|
54337
54337
|
}, (e, t) => {
|
|
54338
54338
|
e.setUTCFullYear(e.getUTCFullYear() + t);
|
|
54339
54339
|
}, (e, t) => t.getUTCFullYear() - e.getUTCFullYear(), (e) => e.getUTCFullYear());
|
|
54340
|
-
ca.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null :
|
|
54340
|
+
ca.every = (e) => !isFinite(e = Math.floor(e)) || !(e > 0) ? null : qt((t) => {
|
|
54341
54341
|
t.setUTCFullYear(Math.floor(t.getUTCFullYear() / e) * e), t.setUTCMonth(0, 1), t.setUTCHours(0, 0, 0, 0);
|
|
54342
54342
|
}, (t, n) => {
|
|
54343
54343
|
t.setUTCFullYear(t.getUTCFullYear() + n * e);
|
|
@@ -60380,35 +60380,35 @@ function qP() {
|
|
|
60380
60380
|
}
|
|
60381
60381
|
function Nf(e) {
|
|
60382
60382
|
var t, n;
|
|
60383
|
-
return e = (e + "").trim().toLowerCase(), (t = Die.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? HP(t) : n === 3 ? new
|
|
60383
|
+
return e = (e + "").trim().toLowerCase(), (t = Die.exec(e)) ? (n = t[1].length, t = parseInt(t[1], 16), n === 6 ? HP(t) : n === 3 ? new Qt(t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, (t & 15) << 4 | t & 15, 1) : n === 8 ? lp(t >> 24 & 255, t >> 16 & 255, t >> 8 & 255, (t & 255) / 255) : n === 4 ? lp(t >> 12 & 15 | t >> 8 & 240, t >> 8 & 15 | t >> 4 & 240, t >> 4 & 15 | t & 240, ((t & 15) << 4 | t & 15) / 255) : null) : (t = wie.exec(e)) ? new Qt(t[1], t[2], t[3], 1) : (t = Mie.exec(e)) ? new Qt(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, 1) : (t = Lie.exec(e)) ? lp(t[1], t[2], t[3], t[4]) : (t = kie.exec(e)) ? lp(t[1] * 255 / 100, t[2] * 255 / 100, t[3] * 255 / 100, t[4]) : (t = Pie.exec(e)) ? KP(t[1], t[2] / 100, t[3] / 100, 1) : (t = Fie.exec(e)) ? KP(t[1], t[2] / 100, t[3] / 100, t[4]) : YP.hasOwnProperty(e) ? HP(YP[e]) : e === "transparent" ? new Qt(NaN, NaN, NaN, 0) : null;
|
|
60384
60384
|
}
|
|
60385
60385
|
function HP(e) {
|
|
60386
|
-
return new
|
|
60386
|
+
return new Qt(e >> 16 & 255, e >> 8 & 255, e & 255, 1);
|
|
60387
60387
|
}
|
|
60388
60388
|
function lp(e, t, n, r) {
|
|
60389
|
-
return r <= 0 && (e = t = n = NaN), new
|
|
60389
|
+
return r <= 0 && (e = t = n = NaN), new Qt(e, t, n, r);
|
|
60390
60390
|
}
|
|
60391
60391
|
function h0(e) {
|
|
60392
|
-
return e instanceof ss || (e = Nf(e)), e ? (e = e.rgb(), new
|
|
60392
|
+
return e instanceof ss || (e = Nf(e)), e ? (e = e.rgb(), new Qt(e.r, e.g, e.b, e.opacity)) : new Qt();
|
|
60393
60393
|
}
|
|
60394
60394
|
function Wo(e, t, n, r) {
|
|
60395
|
-
return arguments.length === 1 ? h0(e) : new
|
|
60395
|
+
return arguments.length === 1 ? h0(e) : new Qt(e, t, n, r ?? 1);
|
|
60396
60396
|
}
|
|
60397
|
-
function
|
|
60397
|
+
function Qt(e, t, n, r) {
|
|
60398
60398
|
this.r = +e, this.g = +t, this.b = +n, this.opacity = +r;
|
|
60399
60399
|
}
|
|
60400
|
-
wu(
|
|
60400
|
+
wu(Qt, Wo, i_(ss, {
|
|
60401
60401
|
brighter(e) {
|
|
60402
|
-
return e = e == null ? Vc : Math.pow(Vc, e), new
|
|
60402
|
+
return e = e == null ? Vc : Math.pow(Vc, e), new Qt(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
60403
60403
|
},
|
|
60404
60404
|
darker(e) {
|
|
60405
|
-
return e = e == null ? ul : Math.pow(ul, e), new
|
|
60405
|
+
return e = e == null ? ul : Math.pow(ul, e), new Qt(this.r * e, this.g * e, this.b * e, this.opacity);
|
|
60406
60406
|
},
|
|
60407
60407
|
rgb() {
|
|
60408
60408
|
return this;
|
|
60409
60409
|
},
|
|
60410
60410
|
clamp() {
|
|
60411
|
-
return new
|
|
60411
|
+
return new Qt(Zs(this.r), Zs(this.g), Zs(this.b), km(this.opacity));
|
|
60412
60412
|
},
|
|
60413
60413
|
displayable() {
|
|
60414
60414
|
return -0.5 <= this.r && this.r < 255.5 && -0.5 <= this.g && this.g < 255.5 && -0.5 <= this.b && this.b < 255.5 && 0 <= this.opacity && this.opacity <= 1;
|
|
@@ -60465,7 +60465,7 @@ wu(gi, Pm, i_(ss, {
|
|
|
60465
60465
|
},
|
|
60466
60466
|
rgb() {
|
|
60467
60467
|
var e = this.h % 360 + (this.h < 0) * 360, t = isNaN(e) || isNaN(this.s) ? 0 : this.s, n = this.l, r = n + (n < 0.5 ? n : 1 - n) * t, i = 2 * n - r;
|
|
60468
|
-
return new
|
|
60468
|
+
return new Qt(
|
|
60469
60469
|
Iv(e >= 240 ? e - 240 : e + 120, i, r),
|
|
60470
60470
|
Iv(e, i, r),
|
|
60471
60471
|
Iv(e < 120 ? e + 240 : e - 120, i, r),
|
|
@@ -60496,7 +60496,7 @@ const m3 = Math.PI / 180, g3 = 180 / Math.PI, Fm = 18, h3 = 0.96422, E3 = 1, S3
|
|
|
60496
60496
|
function y3(e) {
|
|
60497
60497
|
if (e instanceof ta) return new ta(e.l, e.a, e.b, e.opacity);
|
|
60498
60498
|
if (e instanceof qa) return v3(e);
|
|
60499
|
-
e instanceof
|
|
60499
|
+
e instanceof Qt || (e = h0(e));
|
|
60500
60500
|
var t = Mv(e.r), n = Mv(e.g), r = Mv(e.b), i = xv((0.2225045 * t + 0.7168786 * n + 0.0606169 * r) / E3), a, o;
|
|
60501
60501
|
return t === n && n === r ? a = o = i : (a = xv((0.4360747 * t + 0.3850649 * n + 0.1430804 * r) / h3), o = xv((0.0139322 * t + 0.0971045 * n + 0.7141733 * r) / S3)), new ta(116 * i - 16, 500 * (a - i), 200 * (i - o), e.opacity);
|
|
60502
60502
|
}
|
|
@@ -60515,7 +60515,7 @@ wu(ta, Um, i_(ss, {
|
|
|
60515
60515
|
},
|
|
60516
60516
|
rgb() {
|
|
60517
60517
|
var e = (this.l + 16) / 116, t = isNaN(this.a) ? e : e + this.a / 500, n = isNaN(this.b) ? e : e - this.b / 200;
|
|
60518
|
-
return t = h3 * Dv(t), e = E3 * Dv(e), n = S3 * Dv(n), new
|
|
60518
|
+
return t = h3 * Dv(t), e = E3 * Dv(e), n = S3 * Dv(n), new Qt(
|
|
60519
60519
|
wv(3.1338561 * t - 1.6168667 * e - 0.4906146 * n),
|
|
60520
60520
|
wv(-0.9787684 * t + 1.9161415 * e + 0.033454 * n),
|
|
60521
60521
|
wv(0.0719453 * t - 0.2289914 * e + 1.4052427 * n),
|
|
@@ -60566,7 +60566,7 @@ wu(qa, Bm, i_(ss, {
|
|
|
60566
60566
|
var R3 = -0.14861, E0 = 1.78277, S0 = -0.29227, Ah = -0.90649, Of = 1.97294, XP = Of * Ah, jP = Of * E0, ZP = E0 * S0 - Ah * R3;
|
|
60567
60567
|
function zie(e) {
|
|
60568
60568
|
if (e instanceof Js) return new Js(e.h, e.s, e.l, e.opacity);
|
|
60569
|
-
e instanceof
|
|
60569
|
+
e instanceof Qt || (e = h0(e));
|
|
60570
60570
|
var t = e.r / 255, n = e.g / 255, r = e.b / 255, i = (ZP * r + XP * t - jP * n) / (ZP + XP - jP), a = r - i, o = (Of * (n - i) - S0 * a) / Ah, s = Math.sqrt(o * o + a * a) / (Of * i * (1 - i)), l = s ? Math.atan2(o, a) * g3 - 120 : NaN;
|
|
60571
60571
|
return new Js(l < 0 ? l + 360 : l, s, i, e.opacity);
|
|
60572
60572
|
}
|
|
@@ -60585,7 +60585,7 @@ wu(Js, DC, i_(ss, {
|
|
|
60585
60585
|
},
|
|
60586
60586
|
rgb() {
|
|
60587
60587
|
var e = isNaN(this.h) ? 0 : (this.h + 120) * m3, t = +this.l, n = isNaN(this.s) ? 0 : this.s * t * (1 - t), r = Math.cos(e), i = Math.sin(e);
|
|
60588
|
-
return new
|
|
60588
|
+
return new Qt(
|
|
60589
60589
|
255 * (t + n * (R3 * r + E0 * i)),
|
|
60590
60590
|
255 * (t + n * (S0 * r + Ah * i)),
|
|
60591
60591
|
255 * (t + n * (Of * r)),
|
|
@@ -60627,18 +60627,18 @@ function xh(e, t) {
|
|
|
60627
60627
|
return n ? A3(e, n > 180 || n < -180 ? n - 360 * Math.round(n / 360) : n) : Ih(isNaN(e) ? t : e);
|
|
60628
60628
|
}
|
|
60629
60629
|
function Hie(e) {
|
|
60630
|
-
return (e = +e) == 1 ?
|
|
60630
|
+
return (e = +e) == 1 ? Xt : function(t, n) {
|
|
60631
60631
|
return n - t ? qie(t, n, e) : Ih(isNaN(t) ? n : t);
|
|
60632
60632
|
};
|
|
60633
60633
|
}
|
|
60634
|
-
function
|
|
60634
|
+
function Xt(e, t) {
|
|
60635
60635
|
var n = t - e;
|
|
60636
60636
|
return n ? A3(e, n) : Ih(isNaN(e) ? t : e);
|
|
60637
60637
|
}
|
|
60638
60638
|
const wC = function e(t) {
|
|
60639
60639
|
var n = Hie(t);
|
|
60640
60640
|
function r(i, a) {
|
|
60641
|
-
var o = n((i = Wo(i)).r, (a = Wo(a)).r), s = n(i.g, a.g), l = n(i.b, a.b), c =
|
|
60641
|
+
var o = n((i = Wo(i)).r, (a = Wo(a)).r), s = n(i.g, a.g), l = n(i.b, a.b), c = Xt(i.opacity, a.opacity);
|
|
60642
60642
|
return function(u) {
|
|
60643
60643
|
return i.r = o(u), i.g = s(u), i.b = l(u), i.opacity = c(u), i + "";
|
|
60644
60644
|
};
|
|
@@ -60840,35 +60840,35 @@ const oae = function e(t, n, r) {
|
|
|
60840
60840
|
}(Math.SQRT2, 2, 4);
|
|
60841
60841
|
function F3(e) {
|
|
60842
60842
|
return function(t, n) {
|
|
60843
|
-
var r = e((t = Pm(t)).h, (n = Pm(n)).h), i =
|
|
60843
|
+
var r = e((t = Pm(t)).h, (n = Pm(n)).h), i = Xt(t.s, n.s), a = Xt(t.l, n.l), o = Xt(t.opacity, n.opacity);
|
|
60844
60844
|
return function(s) {
|
|
60845
60845
|
return t.h = r(s), t.s = i(s), t.l = a(s), t.opacity = o(s), t + "";
|
|
60846
60846
|
};
|
|
60847
60847
|
};
|
|
60848
60848
|
}
|
|
60849
60849
|
const sae = F3(xh);
|
|
60850
|
-
var lae = F3(
|
|
60850
|
+
var lae = F3(Xt);
|
|
60851
60851
|
function cae(e, t) {
|
|
60852
|
-
var n =
|
|
60852
|
+
var n = Xt((e = Um(e)).l, (t = Um(t)).l), r = Xt(e.a, t.a), i = Xt(e.b, t.b), a = Xt(e.opacity, t.opacity);
|
|
60853
60853
|
return function(o) {
|
|
60854
60854
|
return e.l = n(o), e.a = r(o), e.b = i(o), e.opacity = a(o), e + "";
|
|
60855
60855
|
};
|
|
60856
60856
|
}
|
|
60857
60857
|
function U3(e) {
|
|
60858
60858
|
return function(t, n) {
|
|
60859
|
-
var r = e((t = Bm(t)).h, (n = Bm(n)).h), i =
|
|
60859
|
+
var r = e((t = Bm(t)).h, (n = Bm(n)).h), i = Xt(t.c, n.c), a = Xt(t.l, n.l), o = Xt(t.opacity, n.opacity);
|
|
60860
60860
|
return function(s) {
|
|
60861
60861
|
return t.h = r(s), t.c = i(s), t.l = a(s), t.opacity = o(s), t + "";
|
|
60862
60862
|
};
|
|
60863
60863
|
};
|
|
60864
60864
|
}
|
|
60865
60865
|
const uae = U3(xh);
|
|
60866
|
-
var dae = U3(
|
|
60866
|
+
var dae = U3(Xt);
|
|
60867
60867
|
function B3(e) {
|
|
60868
60868
|
return function t(n) {
|
|
60869
60869
|
n = +n;
|
|
60870
60870
|
function r(i, a) {
|
|
60871
|
-
var o = e((i = DC(i)).h, (a = DC(a)).h), s =
|
|
60871
|
+
var o = e((i = DC(i)).h, (a = DC(a)).h), s = Xt(i.s, a.s), l = Xt(i.l, a.l), c = Xt(i.opacity, a.opacity);
|
|
60872
60872
|
return function(u) {
|
|
60873
60873
|
return i.h = o(u), i.s = s(u), i.l = l(Math.pow(u, n)), i.opacity = c(u), i + "";
|
|
60874
60874
|
};
|
|
@@ -60877,7 +60877,7 @@ function B3(e) {
|
|
|
60877
60877
|
}(1);
|
|
60878
60878
|
}
|
|
60879
60879
|
const fae = B3(xh);
|
|
60880
|
-
var _ae = B3(
|
|
60880
|
+
var _ae = B3(Xt);
|
|
60881
60881
|
function T0(e, t) {
|
|
60882
60882
|
t === void 0 && (t = e, e = ls);
|
|
60883
60883
|
for (var n = 0, r = t.length - 1, i = t[0], a = new Array(r < 0 ? 0 : r); n < r; ) a[n] = e(i, i = t[++n]);
|
|
@@ -61411,7 +61411,7 @@ function x0(e, t, n) {
|
|
|
61411
61411
|
const r = e - t + n * 2;
|
|
61412
61412
|
return e ? r > 0 ? r : 1 : 0;
|
|
61413
61413
|
}
|
|
61414
|
-
const qae = "identity", Wc = "linear", no = "log", s_ = "pow", l_ = "sqrt", Lh = "symlog", dl = "time", fl = "utc", na = "sequential", Mu = "diverging", Kc = "quantile", kh = "quantize", Ph = "threshold", D0 = "ordinal", FC = "point", tq = "band", w0 = "bin-ordinal",
|
|
61414
|
+
const qae = "identity", Wc = "linear", no = "log", s_ = "pow", l_ = "sqrt", Lh = "symlog", dl = "time", fl = "utc", na = "sequential", Mu = "diverging", Kc = "quantile", kh = "quantize", Ph = "threshold", D0 = "ordinal", FC = "point", tq = "band", w0 = "bin-ordinal", Ht = "continuous", c_ = "discrete", u_ = "discretizing", ni = "interpolating", M0 = "temporal";
|
|
61415
61415
|
function Hae(e) {
|
|
61416
61416
|
return function(t) {
|
|
61417
61417
|
let n = t[0], r = t[1], i;
|
|
@@ -61519,24 +61519,24 @@ function Qe(e, t, n) {
|
|
|
61519
61519
|
return arguments.length > 1 ? ($m.set(e, jae(e, t, n)), this) : oq(e) ? $m.get(e) : void 0;
|
|
61520
61520
|
}
|
|
61521
61521
|
Qe(qae, z3);
|
|
61522
|
-
Qe(Wc, Y3,
|
|
61523
|
-
Qe(no, H3, [
|
|
61524
|
-
Qe(s_, C0,
|
|
61525
|
-
Qe(l_, Oae,
|
|
61526
|
-
Qe(Lh, V3,
|
|
61527
|
-
Qe(dl, xae, [
|
|
61528
|
-
Qe(fl, Dae, [
|
|
61529
|
-
Qe(na, O0, [
|
|
61530
|
-
Qe(`${na}-${Wc}`, O0, [
|
|
61531
|
-
Qe(`${na}-${no}`, X3, [
|
|
61532
|
-
Qe(`${na}-${s_}`, A0, [
|
|
61533
|
-
Qe(`${na}-${l_}`, wae, [
|
|
61534
|
-
Qe(`${na}-${Lh}`, j3, [
|
|
61535
|
-
Qe(`${Mu}-${Wc}`, Z3, [
|
|
61536
|
-
Qe(`${Mu}-${no}`, J3, [
|
|
61537
|
-
Qe(`${Mu}-${s_}`, I0, [
|
|
61538
|
-
Qe(`${Mu}-${l_}`, Mae, [
|
|
61539
|
-
Qe(`${Mu}-${Lh}`, eq, [
|
|
61522
|
+
Qe(Wc, Y3, Ht);
|
|
61523
|
+
Qe(no, H3, [Ht, no]);
|
|
61524
|
+
Qe(s_, C0, Ht);
|
|
61525
|
+
Qe(l_, Oae, Ht);
|
|
61526
|
+
Qe(Lh, V3, Ht);
|
|
61527
|
+
Qe(dl, xae, [Ht, M0]);
|
|
61528
|
+
Qe(fl, Dae, [Ht, M0]);
|
|
61529
|
+
Qe(na, O0, [Ht, ni]);
|
|
61530
|
+
Qe(`${na}-${Wc}`, O0, [Ht, ni]);
|
|
61531
|
+
Qe(`${na}-${no}`, X3, [Ht, ni, no]);
|
|
61532
|
+
Qe(`${na}-${s_}`, A0, [Ht, ni]);
|
|
61533
|
+
Qe(`${na}-${l_}`, wae, [Ht, ni]);
|
|
61534
|
+
Qe(`${na}-${Lh}`, j3, [Ht, ni]);
|
|
61535
|
+
Qe(`${Mu}-${Wc}`, Z3, [Ht, ni]);
|
|
61536
|
+
Qe(`${Mu}-${no}`, J3, [Ht, ni, no]);
|
|
61537
|
+
Qe(`${Mu}-${s_}`, I0, [Ht, ni]);
|
|
61538
|
+
Qe(`${Mu}-${l_}`, Mae, [Ht, ni]);
|
|
61539
|
+
Qe(`${Mu}-${Lh}`, eq, [Ht, ni]);
|
|
61540
61540
|
Qe(Kc, W3, [u_, Kc]);
|
|
61541
61541
|
Qe(kh, K3, u_);
|
|
61542
61542
|
Qe(Ph, Q3, u_);
|
|
@@ -61552,7 +61552,7 @@ function Bl(e, t) {
|
|
|
61552
61552
|
return n && n.metadata[t];
|
|
61553
61553
|
}
|
|
61554
61554
|
function k0(e) {
|
|
61555
|
-
return Bl(e,
|
|
61555
|
+
return Bl(e, Ht);
|
|
61556
61556
|
}
|
|
61557
61557
|
function Qc(e) {
|
|
61558
61558
|
return Bl(e, c_);
|
|
@@ -71549,7 +71549,7 @@ Ta[$l] = "Numeric";
|
|
|
71549
71549
|
Ta[rr] = "Punctuator";
|
|
71550
71550
|
Ta[C_] = "String";
|
|
71551
71551
|
Ta[mme] = "RegularExpression";
|
|
71552
|
-
var gme = "ArrayExpression", hme = "BinaryExpression", Eme = "CallExpression", Sme = "ConditionalExpression", E6 = "Identifier", bme = "Literal", Tme = "LogicalExpression", yme = "MemberExpression", vme = "ObjectExpression", Rme = "Property", Cme = "UnaryExpression", Xt = "Unexpected token %0", Nme = "Unexpected number", Ome = "Unexpected string", Ame = "Unexpected identifier", Ime = "Unexpected reserved word", xme = "Unexpected end of input", kN = "Invalid regular expression", uR = "Invalid regular expression: missing /", S6 = "Octal literals are not allowed in strict mode.", Dme = "Duplicate data property in object literal not allowed in strict mode", dn = "ILLEGAL", Pf = "Disabled.", wme = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), Mme = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
|
71552
|
+
var gme = "ArrayExpression", hme = "BinaryExpression", Eme = "CallExpression", Sme = "ConditionalExpression", E6 = "Identifier", bme = "Literal", Tme = "LogicalExpression", yme = "MemberExpression", vme = "ObjectExpression", Rme = "Property", Cme = "UnaryExpression", jt = "Unexpected token %0", Nme = "Unexpected number", Ome = "Unexpected string", Ame = "Unexpected identifier", Ime = "Unexpected reserved word", xme = "Unexpected end of input", kN = "Invalid regular expression", uR = "Invalid regular expression: missing /", S6 = "Octal literals are not allowed in strict mode.", Dme = "Duplicate data property in object literal not allowed in strict mode", dn = "ILLEGAL", Pf = "Disabled.", wme = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0370-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0620-\\u064A\\u066E\\u066F\\u0671-\\u06D3\\u06D5\\u06E5\\u06E6\\u06EE\\u06EF\\u06FA-\\u06FC\\u06FF\\u0710\\u0712-\\u072F\\u074D-\\u07A5\\u07B1\\u07CA-\\u07EA\\u07F4\\u07F5\\u07FA\\u0800-\\u0815\\u081A\\u0824\\u0828\\u0840-\\u0858\\u08A0-\\u08B2\\u0904-\\u0939\\u093D\\u0950\\u0958-\\u0961\\u0971-\\u0980\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BD\\u09CE\\u09DC\\u09DD\\u09DF-\\u09E1\\u09F0\\u09F1\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A59-\\u0A5C\\u0A5E\\u0A72-\\u0A74\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABD\\u0AD0\\u0AE0\\u0AE1\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3D\\u0B5C\\u0B5D\\u0B5F-\\u0B61\\u0B71\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BD0\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D\\u0C58\\u0C59\\u0C60\\u0C61\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBD\\u0CDE\\u0CE0\\u0CE1\\u0CF1\\u0CF2\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D\\u0D4E\\u0D60\\u0D61\\u0D7A-\\u0D7F\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0E01-\\u0E30\\u0E32\\u0E33\\u0E40-\\u0E46\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB0\\u0EB2\\u0EB3\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EDC-\\u0EDF\\u0F00\\u0F40-\\u0F47\\u0F49-\\u0F6C\\u0F88-\\u0F8C\\u1000-\\u102A\\u103F\\u1050-\\u1055\\u105A-\\u105D\\u1061\\u1065\\u1066\\u106E-\\u1070\\u1075-\\u1081\\u108E\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176C\\u176E-\\u1770\\u1780-\\u17B3\\u17D7\\u17DC\\u1820-\\u1877\\u1880-\\u18A8\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1950-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19C1-\\u19C7\\u1A00-\\u1A16\\u1A20-\\u1A54\\u1AA7\\u1B05-\\u1B33\\u1B45-\\u1B4B\\u1B83-\\u1BA0\\u1BAE\\u1BAF\\u1BBA-\\u1BE5\\u1C00-\\u1C23\\u1C4D-\\u1C4F\\u1C5A-\\u1C7D\\u1CE9-\\u1CEC\\u1CEE-\\u1CF1\\u1CF5\\u1CF6\\u1D00-\\u1DBF\\u1E00-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u2071\\u207F\\u2090-\\u209C\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CEE\\u2CF2\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D80-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2E2F\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA61F\\uA62A\\uA62B\\uA640-\\uA66E\\uA67F-\\uA69D\\uA6A0-\\uA6EF\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA801\\uA803-\\uA805\\uA807-\\uA80A\\uA80C-\\uA822\\uA840-\\uA873\\uA882-\\uA8B3\\uA8F2-\\uA8F7\\uA8FB\\uA90A-\\uA925\\uA930-\\uA946\\uA960-\\uA97C\\uA984-\\uA9B2\\uA9CF\\uA9E0-\\uA9E4\\uA9E6-\\uA9EF\\uA9FA-\\uA9FE\\uAA00-\\uAA28\\uAA40-\\uAA42\\uAA44-\\uAA4B\\uAA60-\\uAA76\\uAA7A\\uAA7E-\\uAAAF\\uAAB1\\uAAB5\\uAAB6\\uAAB9-\\uAABD\\uAAC0\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEA\\uAAF2-\\uAAF4\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABE2\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D\\uFB1F-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF21-\\uFF3A\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]"), Mme = new RegExp("[\\xAA\\xB5\\xBA\\xC0-\\xD6\\xD8-\\xF6\\xF8-\\u02C1\\u02C6-\\u02D1\\u02E0-\\u02E4\\u02EC\\u02EE\\u0300-\\u0374\\u0376\\u0377\\u037A-\\u037D\\u037F\\u0386\\u0388-\\u038A\\u038C\\u038E-\\u03A1\\u03A3-\\u03F5\\u03F7-\\u0481\\u0483-\\u0487\\u048A-\\u052F\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u0591-\\u05BD\\u05BF\\u05C1\\u05C2\\u05C4\\u05C5\\u05C7\\u05D0-\\u05EA\\u05F0-\\u05F2\\u0610-\\u061A\\u0620-\\u0669\\u066E-\\u06D3\\u06D5-\\u06DC\\u06DF-\\u06E8\\u06EA-\\u06FC\\u06FF\\u0710-\\u074A\\u074D-\\u07B1\\u07C0-\\u07F5\\u07FA\\u0800-\\u082D\\u0840-\\u085B\\u08A0-\\u08B2\\u08E4-\\u0963\\u0966-\\u096F\\u0971-\\u0983\\u0985-\\u098C\\u098F\\u0990\\u0993-\\u09A8\\u09AA-\\u09B0\\u09B2\\u09B6-\\u09B9\\u09BC-\\u09C4\\u09C7\\u09C8\\u09CB-\\u09CE\\u09D7\\u09DC\\u09DD\\u09DF-\\u09E3\\u09E6-\\u09F1\\u0A01-\\u0A03\\u0A05-\\u0A0A\\u0A0F\\u0A10\\u0A13-\\u0A28\\u0A2A-\\u0A30\\u0A32\\u0A33\\u0A35\\u0A36\\u0A38\\u0A39\\u0A3C\\u0A3E-\\u0A42\\u0A47\\u0A48\\u0A4B-\\u0A4D\\u0A51\\u0A59-\\u0A5C\\u0A5E\\u0A66-\\u0A75\\u0A81-\\u0A83\\u0A85-\\u0A8D\\u0A8F-\\u0A91\\u0A93-\\u0AA8\\u0AAA-\\u0AB0\\u0AB2\\u0AB3\\u0AB5-\\u0AB9\\u0ABC-\\u0AC5\\u0AC7-\\u0AC9\\u0ACB-\\u0ACD\\u0AD0\\u0AE0-\\u0AE3\\u0AE6-\\u0AEF\\u0B01-\\u0B03\\u0B05-\\u0B0C\\u0B0F\\u0B10\\u0B13-\\u0B28\\u0B2A-\\u0B30\\u0B32\\u0B33\\u0B35-\\u0B39\\u0B3C-\\u0B44\\u0B47\\u0B48\\u0B4B-\\u0B4D\\u0B56\\u0B57\\u0B5C\\u0B5D\\u0B5F-\\u0B63\\u0B66-\\u0B6F\\u0B71\\u0B82\\u0B83\\u0B85-\\u0B8A\\u0B8E-\\u0B90\\u0B92-\\u0B95\\u0B99\\u0B9A\\u0B9C\\u0B9E\\u0B9F\\u0BA3\\u0BA4\\u0BA8-\\u0BAA\\u0BAE-\\u0BB9\\u0BBE-\\u0BC2\\u0BC6-\\u0BC8\\u0BCA-\\u0BCD\\u0BD0\\u0BD7\\u0BE6-\\u0BEF\\u0C00-\\u0C03\\u0C05-\\u0C0C\\u0C0E-\\u0C10\\u0C12-\\u0C28\\u0C2A-\\u0C39\\u0C3D-\\u0C44\\u0C46-\\u0C48\\u0C4A-\\u0C4D\\u0C55\\u0C56\\u0C58\\u0C59\\u0C60-\\u0C63\\u0C66-\\u0C6F\\u0C81-\\u0C83\\u0C85-\\u0C8C\\u0C8E-\\u0C90\\u0C92-\\u0CA8\\u0CAA-\\u0CB3\\u0CB5-\\u0CB9\\u0CBC-\\u0CC4\\u0CC6-\\u0CC8\\u0CCA-\\u0CCD\\u0CD5\\u0CD6\\u0CDE\\u0CE0-\\u0CE3\\u0CE6-\\u0CEF\\u0CF1\\u0CF2\\u0D01-\\u0D03\\u0D05-\\u0D0C\\u0D0E-\\u0D10\\u0D12-\\u0D3A\\u0D3D-\\u0D44\\u0D46-\\u0D48\\u0D4A-\\u0D4E\\u0D57\\u0D60-\\u0D63\\u0D66-\\u0D6F\\u0D7A-\\u0D7F\\u0D82\\u0D83\\u0D85-\\u0D96\\u0D9A-\\u0DB1\\u0DB3-\\u0DBB\\u0DBD\\u0DC0-\\u0DC6\\u0DCA\\u0DCF-\\u0DD4\\u0DD6\\u0DD8-\\u0DDF\\u0DE6-\\u0DEF\\u0DF2\\u0DF3\\u0E01-\\u0E3A\\u0E40-\\u0E4E\\u0E50-\\u0E59\\u0E81\\u0E82\\u0E84\\u0E87\\u0E88\\u0E8A\\u0E8D\\u0E94-\\u0E97\\u0E99-\\u0E9F\\u0EA1-\\u0EA3\\u0EA5\\u0EA7\\u0EAA\\u0EAB\\u0EAD-\\u0EB9\\u0EBB-\\u0EBD\\u0EC0-\\u0EC4\\u0EC6\\u0EC8-\\u0ECD\\u0ED0-\\u0ED9\\u0EDC-\\u0EDF\\u0F00\\u0F18\\u0F19\\u0F20-\\u0F29\\u0F35\\u0F37\\u0F39\\u0F3E-\\u0F47\\u0F49-\\u0F6C\\u0F71-\\u0F84\\u0F86-\\u0F97\\u0F99-\\u0FBC\\u0FC6\\u1000-\\u1049\\u1050-\\u109D\\u10A0-\\u10C5\\u10C7\\u10CD\\u10D0-\\u10FA\\u10FC-\\u1248\\u124A-\\u124D\\u1250-\\u1256\\u1258\\u125A-\\u125D\\u1260-\\u1288\\u128A-\\u128D\\u1290-\\u12B0\\u12B2-\\u12B5\\u12B8-\\u12BE\\u12C0\\u12C2-\\u12C5\\u12C8-\\u12D6\\u12D8-\\u1310\\u1312-\\u1315\\u1318-\\u135A\\u135D-\\u135F\\u1380-\\u138F\\u13A0-\\u13F4\\u1401-\\u166C\\u166F-\\u167F\\u1681-\\u169A\\u16A0-\\u16EA\\u16EE-\\u16F8\\u1700-\\u170C\\u170E-\\u1714\\u1720-\\u1734\\u1740-\\u1753\\u1760-\\u176C\\u176E-\\u1770\\u1772\\u1773\\u1780-\\u17D3\\u17D7\\u17DC\\u17DD\\u17E0-\\u17E9\\u180B-\\u180D\\u1810-\\u1819\\u1820-\\u1877\\u1880-\\u18AA\\u18B0-\\u18F5\\u1900-\\u191E\\u1920-\\u192B\\u1930-\\u193B\\u1946-\\u196D\\u1970-\\u1974\\u1980-\\u19AB\\u19B0-\\u19C9\\u19D0-\\u19D9\\u1A00-\\u1A1B\\u1A20-\\u1A5E\\u1A60-\\u1A7C\\u1A7F-\\u1A89\\u1A90-\\u1A99\\u1AA7\\u1AB0-\\u1ABD\\u1B00-\\u1B4B\\u1B50-\\u1B59\\u1B6B-\\u1B73\\u1B80-\\u1BF3\\u1C00-\\u1C37\\u1C40-\\u1C49\\u1C4D-\\u1C7D\\u1CD0-\\u1CD2\\u1CD4-\\u1CF6\\u1CF8\\u1CF9\\u1D00-\\u1DF5\\u1DFC-\\u1F15\\u1F18-\\u1F1D\\u1F20-\\u1F45\\u1F48-\\u1F4D\\u1F50-\\u1F57\\u1F59\\u1F5B\\u1F5D\\u1F5F-\\u1F7D\\u1F80-\\u1FB4\\u1FB6-\\u1FBC\\u1FBE\\u1FC2-\\u1FC4\\u1FC6-\\u1FCC\\u1FD0-\\u1FD3\\u1FD6-\\u1FDB\\u1FE0-\\u1FEC\\u1FF2-\\u1FF4\\u1FF6-\\u1FFC\\u200C\\u200D\\u203F\\u2040\\u2054\\u2071\\u207F\\u2090-\\u209C\\u20D0-\\u20DC\\u20E1\\u20E5-\\u20F0\\u2102\\u2107\\u210A-\\u2113\\u2115\\u2119-\\u211D\\u2124\\u2126\\u2128\\u212A-\\u212D\\u212F-\\u2139\\u213C-\\u213F\\u2145-\\u2149\\u214E\\u2160-\\u2188\\u2C00-\\u2C2E\\u2C30-\\u2C5E\\u2C60-\\u2CE4\\u2CEB-\\u2CF3\\u2D00-\\u2D25\\u2D27\\u2D2D\\u2D30-\\u2D67\\u2D6F\\u2D7F-\\u2D96\\u2DA0-\\u2DA6\\u2DA8-\\u2DAE\\u2DB0-\\u2DB6\\u2DB8-\\u2DBE\\u2DC0-\\u2DC6\\u2DC8-\\u2DCE\\u2DD0-\\u2DD6\\u2DD8-\\u2DDE\\u2DE0-\\u2DFF\\u2E2F\\u3005-\\u3007\\u3021-\\u302F\\u3031-\\u3035\\u3038-\\u303C\\u3041-\\u3096\\u3099\\u309A\\u309D-\\u309F\\u30A1-\\u30FA\\u30FC-\\u30FF\\u3105-\\u312D\\u3131-\\u318E\\u31A0-\\u31BA\\u31F0-\\u31FF\\u3400-\\u4DB5\\u4E00-\\u9FCC\\uA000-\\uA48C\\uA4D0-\\uA4FD\\uA500-\\uA60C\\uA610-\\uA62B\\uA640-\\uA66F\\uA674-\\uA67D\\uA67F-\\uA69D\\uA69F-\\uA6F1\\uA717-\\uA71F\\uA722-\\uA788\\uA78B-\\uA78E\\uA790-\\uA7AD\\uA7B0\\uA7B1\\uA7F7-\\uA827\\uA840-\\uA873\\uA880-\\uA8C4\\uA8D0-\\uA8D9\\uA8E0-\\uA8F7\\uA8FB\\uA900-\\uA92D\\uA930-\\uA953\\uA960-\\uA97C\\uA980-\\uA9C0\\uA9CF-\\uA9D9\\uA9E0-\\uA9FE\\uAA00-\\uAA36\\uAA40-\\uAA4D\\uAA50-\\uAA59\\uAA60-\\uAA76\\uAA7A-\\uAAC2\\uAADB-\\uAADD\\uAAE0-\\uAAEF\\uAAF2-\\uAAF6\\uAB01-\\uAB06\\uAB09-\\uAB0E\\uAB11-\\uAB16\\uAB20-\\uAB26\\uAB28-\\uAB2E\\uAB30-\\uAB5A\\uAB5C-\\uAB5F\\uAB64\\uAB65\\uABC0-\\uABEA\\uABEC\\uABED\\uABF0-\\uABF9\\uAC00-\\uD7A3\\uD7B0-\\uD7C6\\uD7CB-\\uD7FB\\uF900-\\uFA6D\\uFA70-\\uFAD9\\uFB00-\\uFB06\\uFB13-\\uFB17\\uFB1D-\\uFB28\\uFB2A-\\uFB36\\uFB38-\\uFB3C\\uFB3E\\uFB40\\uFB41\\uFB43\\uFB44\\uFB46-\\uFBB1\\uFBD3-\\uFD3D\\uFD50-\\uFD8F\\uFD92-\\uFDC7\\uFDF0-\\uFDFB\\uFE00-\\uFE0F\\uFE20-\\uFE2D\\uFE33\\uFE34\\uFE4D-\\uFE4F\\uFE70-\\uFE74\\uFE76-\\uFEFC\\uFF10-\\uFF19\\uFF21-\\uFF3A\\uFF3F\\uFF41-\\uFF5A\\uFF66-\\uFFBE\\uFFC2-\\uFFC7\\uFFCA-\\uFFCF\\uFFD2-\\uFFD7\\uFFDA-\\uFFDC]");
|
|
71553
71553
|
function rE(e, t) {
|
|
71554
71554
|
if (!e)
|
|
71555
71555
|
throw new Error("ASSERT: " + t);
|
|
@@ -71640,19 +71640,19 @@ function b6() {
|
|
|
71640
71640
|
function PN(e) {
|
|
71641
71641
|
var t, n, r, i = 0;
|
|
71642
71642
|
for (n = e === "u" ? 4 : 2, t = 0; t < n; ++t)
|
|
71643
|
-
H < On && lx(he[H]) ? (r = he[H++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : Ve({},
|
|
71643
|
+
H < On && lx(he[H]) ? (r = he[H++], i = i * 16 + "0123456789abcdef".indexOf(r.toLowerCase())) : Ve({}, jt, dn);
|
|
71644
71644
|
return String.fromCharCode(i);
|
|
71645
71645
|
}
|
|
71646
71646
|
function Pme() {
|
|
71647
71647
|
var e, t, n, r;
|
|
71648
|
-
for (e = he[H], t = 0, e === "}" && Ve({},
|
|
71648
|
+
for (e = he[H], t = 0, e === "}" && Ve({}, jt, dn); H < On && (e = he[H++], !!lx(e)); )
|
|
71649
71649
|
t = t * 16 + "0123456789abcdef".indexOf(e.toLowerCase());
|
|
71650
|
-
return (t > 1114111 || e !== "}") && Ve({},
|
|
71650
|
+
return (t > 1114111 || e !== "}") && Ve({}, jt, dn), t <= 65535 ? String.fromCharCode(t) : (n = (t - 65536 >> 10) + 55296, r = (t - 65536 & 1023) + 56320, String.fromCharCode(n, r));
|
|
71651
71651
|
}
|
|
71652
71652
|
function T6() {
|
|
71653
71653
|
var e, t;
|
|
71654
|
-
for (e = he.charCodeAt(H++), t = String.fromCharCode(e), e === 92 && (he.charCodeAt(H) !== 117 && Ve({},
|
|
71655
|
-
++H, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), he.charCodeAt(H) !== 117 && Ve({},
|
|
71654
|
+
for (e = he.charCodeAt(H++), t = String.fromCharCode(e), e === 92 && (he.charCodeAt(H) !== 117 && Ve({}, jt, dn), ++H, e = PN("u"), (!e || e === "\\" || !N_(e.charCodeAt(0))) && Ve({}, jt, dn), t = e); H < On && (e = he.charCodeAt(H), !!xg(e)); )
|
|
71655
|
+
++H, t += String.fromCharCode(e), e === 92 && (t = t.substr(0, t.length - 1), he.charCodeAt(H) !== 117 && Ve({}, jt, dn), ++H, e = PN("u"), (!e || e === "\\" || !xg(e.charCodeAt(0))) && Ve({}, jt, dn), t += e);
|
|
71656
71656
|
return t;
|
|
71657
71657
|
}
|
|
71658
71658
|
function Fme() {
|
|
@@ -71747,20 +71747,20 @@ function dR() {
|
|
|
71747
71747
|
start: e,
|
|
71748
71748
|
end: H
|
|
71749
71749
|
};
|
|
71750
|
-
if (i === "//" && Ve({},
|
|
71750
|
+
if (i === "//" && Ve({}, jt, dn), "<>=!+-*%&|^/".includes(r))
|
|
71751
71751
|
return ++H, {
|
|
71752
71752
|
type: rr,
|
|
71753
71753
|
value: r,
|
|
71754
71754
|
start: e,
|
|
71755
71755
|
end: H
|
|
71756
71756
|
};
|
|
71757
|
-
Ve({},
|
|
71757
|
+
Ve({}, jt, dn);
|
|
71758
71758
|
}
|
|
71759
71759
|
function Bme(e) {
|
|
71760
71760
|
let t = "";
|
|
71761
71761
|
for (; H < On && lx(he[H]); )
|
|
71762
71762
|
t += he[H++];
|
|
71763
|
-
return t.length === 0 && Ve({},
|
|
71763
|
+
return t.length === 0 && Ve({}, jt, dn), N_(he.charCodeAt(H)) && Ve({}, jt, dn), {
|
|
71764
71764
|
type: $l,
|
|
71765
71765
|
value: parseInt("0x" + t, 16),
|
|
71766
71766
|
start: e,
|
|
@@ -71771,7 +71771,7 @@ function $me(e) {
|
|
|
71771
71771
|
let t = "0" + he[H++];
|
|
71772
71772
|
for (; H < On && ff(he[H]); )
|
|
71773
71773
|
t += he[H++];
|
|
71774
|
-
return (N_(he.charCodeAt(H)) || Ua(he.charCodeAt(H))) && Ve({},
|
|
71774
|
+
return (N_(he.charCodeAt(H)) || Ua(he.charCodeAt(H))) && Ve({}, jt, dn), {
|
|
71775
71775
|
type: $l,
|
|
71776
71776
|
value: parseInt(t, 8),
|
|
71777
71777
|
octal: !0,
|
|
@@ -71787,7 +71787,7 @@ function K2() {
|
|
|
71787
71787
|
return ++H, Bme(t);
|
|
71788
71788
|
if (ff(n))
|
|
71789
71789
|
return $me(t);
|
|
71790
|
-
n && Ua(n.charCodeAt(0)) && Ve({},
|
|
71790
|
+
n && Ua(n.charCodeAt(0)) && Ve({}, jt, dn);
|
|
71791
71791
|
}
|
|
71792
71792
|
for (; Ua(he.charCodeAt(H)); )
|
|
71793
71793
|
e += he[H++];
|
|
@@ -71803,8 +71803,8 @@ function K2() {
|
|
|
71803
71803
|
for (; Ua(he.charCodeAt(H)); )
|
|
71804
71804
|
e += he[H++];
|
|
71805
71805
|
else
|
|
71806
|
-
Ve({},
|
|
71807
|
-
return N_(he.charCodeAt(H)) && Ve({},
|
|
71806
|
+
Ve({}, jt, dn);
|
|
71807
|
+
return N_(he.charCodeAt(H)) && Ve({}, jt, dn), {
|
|
71808
71808
|
type: $l,
|
|
71809
71809
|
value: parseFloat(e),
|
|
71810
71810
|
start: t,
|
|
@@ -71855,7 +71855,7 @@ function Gme() {
|
|
|
71855
71855
|
break;
|
|
71856
71856
|
e += r;
|
|
71857
71857
|
}
|
|
71858
|
-
return t !== "" && Ve({},
|
|
71858
|
+
return t !== "" && Ve({}, jt, dn), {
|
|
71859
71859
|
type: C_,
|
|
71860
71860
|
value: e,
|
|
71861
71861
|
octal: a,
|
|
@@ -71902,7 +71902,7 @@ function zme() {
|
|
|
71902
71902
|
function qme() {
|
|
71903
71903
|
var e, t, n;
|
|
71904
71904
|
for (t = "", n = ""; H < On && (e = he[H], !!xg(e.charCodeAt(0))); )
|
|
71905
|
-
++H, e === "\\" && H < On ? Ve({},
|
|
71905
|
+
++H, e === "\\" && H < On ? Ve({}, jt, dn) : (n += e, t += e);
|
|
71906
71906
|
return n.search(/[^gimuy]/g) >= 0 && Ve({}, kN, n), {
|
|
71907
71907
|
value: n,
|
|
71908
71908
|
literal: t
|
|
@@ -71987,7 +71987,7 @@ function Ve(e, t) {
|
|
|
71987
71987
|
throw n = new Error(i), n.index = H, n.description = i, n;
|
|
71988
71988
|
}
|
|
71989
71989
|
function iE(e) {
|
|
71990
|
-
e.type === R_ && Ve(e, xme), e.type === $l && Ve(e, Nme), e.type === C_ && Ve(e, Ome), e.type === El && Ve(e, Ame), e.type === us && Ve(e, Ime), Ve(e,
|
|
71990
|
+
e.type === R_ && Ve(e, xme), e.type === $l && Ve(e, Nme), e.type === C_ && Ve(e, Ome), e.type === El && Ve(e, Ame), e.type === us && Ve(e, Ime), Ve(e, jt, e.value);
|
|
71991
71991
|
}
|
|
71992
71992
|
function An(e) {
|
|
71993
71993
|
const t = ar();
|
|
@@ -74043,7 +74043,7 @@ function gSe(e) {
|
|
|
74043
74043
|
right: yd(e.right)
|
|
74044
74044
|
} : mSe(yd(e));
|
|
74045
74045
|
}
|
|
74046
|
-
const
|
|
74046
|
+
const Zt = (e) => pe(e) && !W(e) ? we({}, e) : {
|
|
74047
74047
|
value: e
|
|
74048
74048
|
};
|
|
74049
74049
|
function bU(e, t, n, r) {
|
|
@@ -74543,8 +74543,8 @@ function Jbe(e, t, n, r) {
|
|
|
74543
74543
|
opacity: qe,
|
|
74544
74544
|
x: qe,
|
|
74545
74545
|
y: qe,
|
|
74546
|
-
width:
|
|
74547
|
-
height:
|
|
74546
|
+
width: Zt(d),
|
|
74547
|
+
height: Zt(f)
|
|
74548
74548
|
},
|
|
74549
74549
|
update: we({}, l, {
|
|
74550
74550
|
opacity: Vr,
|
|
@@ -74587,7 +74587,7 @@ function eTe(e, t, n, r, i) {
|
|
|
74587
74587
|
}, p[u] = qe, p[d] = {
|
|
74588
74588
|
signal: _ + "datum." + Gbe,
|
|
74589
74589
|
mult: l
|
|
74590
|
-
}, p[f] =
|
|
74590
|
+
}, p[f] = Zt(s);
|
|
74591
74591
|
const m = {
|
|
74592
74592
|
enter: p,
|
|
74593
74593
|
update: we({}, p, {
|
|
@@ -74613,7 +74613,7 @@ function eTe(e, t, n, r, i) {
|
|
|
74613
74613
|
}
|
|
74614
74614
|
const tTe = `datum.${iu}<=0?"${Fu}":datum.${iu}>=1?"${Uu}":"${R5}"`, nTe = `datum.${iu}<=0?"${Zo}":datum.${iu}>=1?"${Mi}":"${Ube}"`;
|
|
74615
74615
|
function NU(e, t, n, r) {
|
|
74616
|
-
const i = mr(e, t), a = i.isVertical(), o =
|
|
74616
|
+
const i = mr(e, t), a = i.isVertical(), o = Zt(i.gradientThickness()), s = i.gradientLength();
|
|
74617
74617
|
let l = i("labelOverlap"), c, u, d, f, _ = "";
|
|
74618
74618
|
const p = {
|
|
74619
74619
|
enter: c = {
|
|
@@ -74665,7 +74665,7 @@ function NU(e, t, n, r) {
|
|
|
74665
74665
|
function rTe(e, t, n, r, i) {
|
|
74666
74666
|
const a = mr(e, t), o = n.entries, s = !!(o && o.interactive), l = o ? o.name : void 0, c = a("clipHeight"), u = a("symbolOffset"), d = {
|
|
74667
74667
|
data: "value"
|
|
74668
|
-
}, f = `(${i}) ? datum.${$be} : datum.${WN}`, _ = c ?
|
|
74668
|
+
}, f = `(${i}) ? datum.${$be} : datum.${WN}`, _ = c ? Zt(c) : {
|
|
74669
74669
|
field: WN
|
|
74670
74670
|
}, p = `datum.${HN}`, m = `max(1, ${i})`;
|
|
74671
74671
|
let g, h, E, S, T;
|
|
@@ -74713,7 +74713,7 @@ function rTe(e, t, n, r, i) {
|
|
|
74713
74713
|
from: d,
|
|
74714
74714
|
clip: c ? !0 : void 0,
|
|
74715
74715
|
encode: g
|
|
74716
|
-
}, n.symbols), R =
|
|
74716
|
+
}, n.symbols), R = Zt(u);
|
|
74717
74717
|
R.offset = a("labelOffset"), g = {
|
|
74718
74718
|
enter: h = {
|
|
74719
74719
|
opacity: qe,
|
|
@@ -74760,7 +74760,7 @@ function rTe(e, t, n, r, i) {
|
|
|
74760
74760
|
},
|
|
74761
74761
|
// ignore width/height in bounds calc
|
|
74762
74762
|
width: qe,
|
|
74763
|
-
height: c ?
|
|
74763
|
+
height: c ? Zt(c) : qe,
|
|
74764
74764
|
opacity: qe
|
|
74765
74765
|
},
|
|
74766
74766
|
exit: {
|
|
@@ -75410,7 +75410,7 @@ function LU(e, t) {
|
|
|
75410
75410
|
format: e.objectProperty(t.format)
|
|
75411
75411
|
});
|
|
75412
75412
|
}
|
|
75413
|
-
const w5 = (e) => e === Zo || e === Mi, hE = (e, t, n) => Yt(e) ? zTe(e.signal, t, n) : e === Fu || e === Mi ? t : n,
|
|
75413
|
+
const w5 = (e) => e === Zo || e === Mi, hE = (e, t, n) => Yt(e) ? zTe(e.signal, t, n) : e === Fu || e === Mi ? t : n, Jt = (e, t, n) => Yt(e) ? GTe(e.signal, t, n) : w5(e) ? t : n, yi = (e, t, n) => Yt(e) ? YTe(e.signal, t, n) : w5(e) ? n : t, M5 = (e, t, n) => Yt(e) ? qTe(e.signal, t, n) : e === Mi ? {
|
|
75414
75414
|
value: t
|
|
75415
75415
|
} : {
|
|
75416
75416
|
value: n
|
|
@@ -75418,7 +75418,7 @@ const w5 = (e) => e === Zo || e === Mi, hE = (e, t, n) => Yt(e) ? zTe(e.signal,
|
|
|
75418
75418
|
value: t
|
|
75419
75419
|
} : {
|
|
75420
75420
|
value: n
|
|
75421
|
-
}, GTe = (e, t, n) => L5(`${e} === '${Mi}' || ${e} === '${Zo}'`, t, n), YTe = (e, t, n) => L5(`${e} !== '${Mi}' && ${e} !== '${Zo}'`, t, n), zTe = (e, t, n) => Px(`${e} === '${Fu}' || ${e} === '${Mi}'`, t, n), qTe = (e, t, n) => Px(`${e} === '${Mi}'`, t, n), HTe = (e, t, n) => Px(`${e} === '${Uu}'`, t, n), L5 = (e, t, n) => (t = t != null ?
|
|
75421
|
+
}, GTe = (e, t, n) => L5(`${e} === '${Mi}' || ${e} === '${Zo}'`, t, n), YTe = (e, t, n) => L5(`${e} !== '${Mi}' && ${e} !== '${Zo}'`, t, n), zTe = (e, t, n) => Px(`${e} === '${Fu}' || ${e} === '${Mi}'`, t, n), qTe = (e, t, n) => Px(`${e} === '${Mi}'`, t, n), HTe = (e, t, n) => Px(`${e} === '${Uu}'`, t, n), L5 = (e, t, n) => (t = t != null ? Zt(t) : t, n = n != null ? Zt(n) : n, kU(t) && kU(n) ? (t = t ? t.signal || re(t.value) : null, n = n ? n.signal || re(n.value) : null, {
|
|
75422
75422
|
signal: `${e} ? (${t}) : (${n})`
|
|
75423
75423
|
}) : [we({
|
|
75424
75424
|
test: e
|
|
@@ -75479,7 +75479,7 @@ function KTe(e, t) {
|
|
|
75479
75479
|
const d = PU([n.axisX, n.axisY]), f = PU([n.axisTop, n.axisBottom, n.axisLeft, n.axisRight]);
|
|
75480
75480
|
s = {};
|
|
75481
75481
|
for (c of d)
|
|
75482
|
-
s[c] =
|
|
75482
|
+
s[c] = Jt(o, _c(c, n.axisX, i, r), _c(c, n.axisY, i, r));
|
|
75483
75483
|
l = {};
|
|
75484
75484
|
for (c of f)
|
|
75485
75485
|
l[c] = VTe(o.signal, _c(c, n.axisTop, i, r), _c(c, n.axisBottom, i, r), _c(c, n.axisLeft, i, r), _c(c, n.axisRight, i, r));
|
|
@@ -75510,7 +75510,7 @@ function QTe(e, t, n, r) {
|
|
|
75510
75510
|
strokeOpacity: i("domainOpacity")
|
|
75511
75511
|
});
|
|
75512
75512
|
const c = FU(e, 0), u = FU(e, 1);
|
|
75513
|
-
return o.x = s.x =
|
|
75513
|
+
return o.x = s.x = Jt(a, c, qe), o.x2 = s.x2 = Jt(a, u), o.y = s.y = yi(a, c, qe), o.y2 = s.y2 = yi(a, u), Dr({
|
|
75514
75514
|
type: Dx,
|
|
75515
75515
|
role: ESe,
|
|
75516
75516
|
from: r,
|
|
@@ -75552,7 +75552,7 @@ function XTe(e, t, n, r, i) {
|
|
|
75552
75552
|
extra: i.extra,
|
|
75553
75553
|
offset: i.offset,
|
|
75554
75554
|
round: a("tickRound")
|
|
75555
|
-
}, m =
|
|
75555
|
+
}, m = Jt(o, {
|
|
75556
75556
|
signal: "height"
|
|
75557
75557
|
}, {
|
|
75558
75558
|
signal: "width"
|
|
@@ -75573,7 +75573,7 @@ function XTe(e, t, n, r, i) {
|
|
|
75573
75573
|
mult: l,
|
|
75574
75574
|
offset: c
|
|
75575
75575
|
});
|
|
75576
|
-
return u.x = f.x =
|
|
75576
|
+
return u.x = f.x = Jt(o, p, g), u.y = f.y = yi(o, p, g), u.x2 = f.x2 = yi(o, h), u.y2 = f.y2 = Jt(o, h), d.x = Jt(o, p), d.y = yi(o, p), Dr({
|
|
75577
75577
|
type: Dx,
|
|
75578
75578
|
role: SSe,
|
|
75579
75579
|
key: Hr,
|
|
@@ -75621,7 +75621,7 @@ function ZTe(e, t, n, r, i, a) {
|
|
|
75621
75621
|
strokeOpacity: o("tickOpacity"),
|
|
75622
75622
|
strokeWidth: o("tickWidth")
|
|
75623
75623
|
});
|
|
75624
|
-
const _ =
|
|
75624
|
+
const _ = Zt(i);
|
|
75625
75625
|
_.mult = l;
|
|
75626
75626
|
const p = {
|
|
75627
75627
|
scale: e.scale,
|
|
@@ -75631,7 +75631,7 @@ function ZTe(e, t, n, r, i, a) {
|
|
|
75631
75631
|
offset: a.offset,
|
|
75632
75632
|
round: o("tickRound")
|
|
75633
75633
|
};
|
|
75634
|
-
return d.y = c.y =
|
|
75634
|
+
return d.y = c.y = Jt(s, qe, p), d.y2 = c.y2 = Jt(s, _), u.x = Jt(s, p), d.x = c.x = yi(s, qe, p), d.x2 = c.x2 = yi(s, _), u.y = yi(s, p), Dr({
|
|
75635
75635
|
type: Dx,
|
|
75636
75636
|
role: TSe,
|
|
75637
75637
|
key: Hr,
|
|
@@ -75647,22 +75647,22 @@ function SR(e, t, n, r, i) {
|
|
|
75647
75647
|
function JTe(e, t, n, r, i, a) {
|
|
75648
75648
|
const o = mr(e, t), s = e.orient, l = e.scale, c = hE(s, -1, 1), u = tl(o("labelFlush")), d = tl(o("labelFlushOffset")), f = o("labelAlign"), _ = o("labelBaseline");
|
|
75649
75649
|
let p = u === 0 || !!u, m;
|
|
75650
|
-
const g =
|
|
75651
|
-
g.mult = c, g.offset =
|
|
75650
|
+
const g = Zt(i);
|
|
75651
|
+
g.mult = c, g.offset = Zt(o("labelPadding") || 0), g.offset.mult = c;
|
|
75652
75652
|
const h = {
|
|
75653
75653
|
scale: l,
|
|
75654
75654
|
field: Hr,
|
|
75655
75655
|
band: 0.5,
|
|
75656
75656
|
offset: O5(a.offset, o("labelOffset"))
|
|
75657
|
-
}, E =
|
|
75657
|
+
}, E = Jt(s, p ? SR(l, u, '"left"', '"right"', '"center"') : {
|
|
75658
75658
|
value: "center"
|
|
75659
|
-
}, $Te(s, "left", "right")), S =
|
|
75659
|
+
}, $Te(s, "left", "right")), S = Jt(s, M5(s, "bottom", "top"), p ? SR(l, u, '"top"', '"bottom"', '"middle"') : {
|
|
75660
75660
|
value: "middle"
|
|
75661
75661
|
}), T = SR(l, u, `-(${d})`, d, 0);
|
|
75662
75662
|
p = p && d;
|
|
75663
75663
|
const b = {
|
|
75664
75664
|
opacity: qe,
|
|
75665
|
-
x:
|
|
75665
|
+
x: Jt(s, h, g),
|
|
75666
75666
|
y: yi(s, h, g)
|
|
75667
75667
|
}, v = {
|
|
75668
75668
|
enter: b,
|
|
@@ -75683,7 +75683,7 @@ function JTe(e, t, n, r, i, a) {
|
|
|
75683
75683
|
}
|
|
75684
75684
|
};
|
|
75685
75685
|
_n(v, {
|
|
75686
|
-
dx: !f && p ?
|
|
75686
|
+
dx: !f && p ? Jt(s, T) : null,
|
|
75687
75687
|
dy: !_ && p ? yi(s, T) : null
|
|
75688
75688
|
}), _n(v, {
|
|
75689
75689
|
angle: o("labelAngle"),
|
|
@@ -75726,14 +75726,14 @@ function eye(e, t, n, r) {
|
|
|
75726
75726
|
const c = {
|
|
75727
75727
|
enter: s = {
|
|
75728
75728
|
opacity: qe,
|
|
75729
|
-
anchor:
|
|
75729
|
+
anchor: Zt(i("titleAnchor", null)),
|
|
75730
75730
|
align: {
|
|
75731
75731
|
signal: wx
|
|
75732
75732
|
}
|
|
75733
75733
|
},
|
|
75734
75734
|
update: l = we({}, s, {
|
|
75735
75735
|
opacity: Vr,
|
|
75736
|
-
text:
|
|
75736
|
+
text: Zt(e.title)
|
|
75737
75737
|
}),
|
|
75738
75738
|
exit: {
|
|
75739
75739
|
opacity: qe
|
|
@@ -75741,7 +75741,7 @@ function eye(e, t, n, r) {
|
|
|
75741
75741
|
}, u = {
|
|
75742
75742
|
signal: `lerp(range("${e.scale}"), ${pE(0, 1, 0.5)})`
|
|
75743
75743
|
};
|
|
75744
|
-
return l.x =
|
|
75744
|
+
return l.x = Jt(a, u), l.y = yi(a, u), s.angle = Jt(a, qe, WTe(o, 90)), s.baseline = Jt(a, M5(a, Zo, Mi), {
|
|
75745
75745
|
value: Zo
|
|
75746
75746
|
}), l.angle = s.angle, l.baseline = s.baseline, _n(c, {
|
|
75747
75747
|
fill: i("titleColor"),
|
|
@@ -75766,8 +75766,8 @@ function eye(e, t, n, r) {
|
|
|
75766
75766
|
}, n);
|
|
75767
75767
|
}
|
|
75768
75768
|
function tye(e, t, n, r) {
|
|
75769
|
-
const i = (s, l) => s != null ? (n.update[l] = Dc(
|
|
75770
|
-
n.enter.auto = o === a ?
|
|
75769
|
+
const i = (s, l) => s != null ? (n.update[l] = Dc(Zt(s), n.update[l]), !1) : !Ec(l, r), a = i(e("titleX"), "x"), o = i(e("titleY"), "y");
|
|
75770
|
+
n.enter.auto = o === a ? Zt(o) : Jt(t, Zt(o), Zt(a));
|
|
75771
75771
|
}
|
|
75772
75772
|
function nye(e, t) {
|
|
75773
75773
|
const n = KTe(e, t), r = e.encode || {}, i = r.axis || {}, a = i.name || void 0, o = i.interactive, s = i.style, l = mr(e, n), c = Zbe(l), u = {
|
|
@@ -78313,7 +78313,7 @@ function wRe(e, t, n) {
|
|
|
78313
78313
|
const r = CW(e);
|
|
78314
78314
|
return `${n || oD(e) ? "utc" : "time"}Format(${t}, ${r})`;
|
|
78315
78315
|
}
|
|
78316
|
-
function
|
|
78316
|
+
function en(e) {
|
|
78317
78317
|
if (!e)
|
|
78318
78318
|
return;
|
|
78319
78319
|
let t;
|
|
@@ -78328,11 +78328,11 @@ function Jt(e) {
|
|
|
78328
78328
|
}), oD(t.unit) && (t.utc = !0, t.unit = IRe(t.unit)), t;
|
|
78329
78329
|
}
|
|
78330
78330
|
function MRe(e) {
|
|
78331
|
-
const { utc: t, ...n } =
|
|
78331
|
+
const { utc: t, ...n } = en(e);
|
|
78332
78332
|
return n.unit ? (t ? "utc" : "") + j(n).map((r) => St(`${r === "unit" ? "" : `_${r}_`}${n[r]}`)).join("") : `${t ? "utc" : ""}timeunit${j(n).map((r) => St(`_${r}_${n[r]}`)).join("")}`;
|
|
78333
78333
|
}
|
|
78334
78334
|
function NW(e, t = (n) => n) {
|
|
78335
|
-
const n =
|
|
78335
|
+
const n = en(e), r = vW(n.unit);
|
|
78336
78336
|
if (r && r !== "day") {
|
|
78337
78337
|
const i = {
|
|
78338
78338
|
year: 2001,
|
|
@@ -78418,7 +78418,7 @@ function URe(e, t) {
|
|
|
78418
78418
|
return e.map((n) => Hi(n, t));
|
|
78419
78419
|
}
|
|
78420
78420
|
function IW(e, t = !0) {
|
|
78421
|
-
const { field: n } = e, r =
|
|
78421
|
+
const { field: n } = e, r = en(e.timeUnit), { unit: i, binned: a } = r || {}, o = se(e, { expr: "datum" }), s = i ? (
|
|
78422
78422
|
// For timeUnit, cast into integer with time() so we can use ===, inrange, indexOf to compare values directly.
|
|
78423
78423
|
// TODO: We calculate timeUnit on the fly here. Consider if we would like to consolidate this with timeUnit pipeline
|
|
78424
78424
|
// TODO: support utc
|
|
@@ -78459,7 +78459,7 @@ function IE(e, t = !0) {
|
|
|
78459
78459
|
function BRe(e) {
|
|
78460
78460
|
return AW(e) && e.timeUnit ? {
|
|
78461
78461
|
...e,
|
|
78462
|
-
timeUnit:
|
|
78462
|
+
timeUnit: en(e.timeUnit)
|
|
78463
78463
|
} : e;
|
|
78464
78464
|
}
|
|
78465
78465
|
const k_ = {
|
|
@@ -79080,7 +79080,7 @@ function vD({ fieldOrDatumDef: e, format: t, formatType: n, expr: r, normalizeSt
|
|
|
79080
79080
|
if (_u(e)) {
|
|
79081
79081
|
const u = RCe({
|
|
79082
79082
|
field: o,
|
|
79083
|
-
timeUnit: ne(e) ? (l =
|
|
79083
|
+
timeUnit: ne(e) ? (l = en(e.timeUnit)) == null ? void 0 : l.unit : void 0,
|
|
79084
79084
|
format: t,
|
|
79085
79085
|
formatType: a.timeFormatType,
|
|
79086
79086
|
rawTimeFormat: a.timeFormat,
|
|
@@ -79123,7 +79123,7 @@ function VW(e, t, n, r, i, a) {
|
|
|
79123
79123
|
normalizeStack: !0
|
|
79124
79124
|
});
|
|
79125
79125
|
if (_u(e)) {
|
|
79126
|
-
const s = ne(e) ? (o =
|
|
79126
|
+
const s = ne(e) ? (o = en(e.timeUnit)) == null ? void 0 : o.unit : void 0;
|
|
79127
79127
|
return s === void 0 && i.customFormatTypes && i.timeFormatType ? void 0 : vCe({ specifiedFormat: n, timeUnit: s, config: i, omitTimeFormatConfig: a });
|
|
79128
79128
|
}
|
|
79129
79129
|
return nO({ type: t, specifiedFormat: n, config: i });
|
|
@@ -79134,7 +79134,7 @@ function WW(e, t, n) {
|
|
|
79134
79134
|
if (e && (Se(e) || e === "number" || e === "time"))
|
|
79135
79135
|
return e;
|
|
79136
79136
|
if (_u(t) && n !== "time" && n !== "utc")
|
|
79137
|
-
return ne(t) && ((r =
|
|
79137
|
+
return ne(t) && ((r = en(t == null ? void 0 : t.timeUnit)) != null && r.utc) ? "utc" : "time";
|
|
79138
79138
|
}
|
|
79139
79139
|
function nO({ type: e, specifiedFormat: t, config: n, normalizeStack: r }) {
|
|
79140
79140
|
if (_e(t))
|
|
@@ -79356,7 +79356,7 @@ function LCe(e, t) {
|
|
|
79356
79356
|
if (ft(r))
|
|
79357
79357
|
return `${n} (binned)`;
|
|
79358
79358
|
if (i && !Kl(i)) {
|
|
79359
|
-
const s = (o =
|
|
79359
|
+
const s = (o = en(i)) == null ? void 0 : o.unit;
|
|
79360
79360
|
if (s)
|
|
79361
79361
|
return `${n} (${AE(s).join("-")})`;
|
|
79362
79362
|
} else if (a)
|
|
@@ -79369,7 +79369,7 @@ function kCe(e) {
|
|
|
79369
79369
|
return `${i} for argmax(${t.argmax})`;
|
|
79370
79370
|
if (io(t))
|
|
79371
79371
|
return `${i} for argmin(${t.argmin})`;
|
|
79372
|
-
const a = r && !Kl(r) ?
|
|
79372
|
+
const a = r && !Kl(r) ? en(r) : void 0, o = t || (a == null ? void 0 : a.unit) || (a == null ? void 0 : a.maxbins) && "timeunit" || ft(n) && "bin";
|
|
79373
79373
|
return o ? `${o.toUpperCase()}(${i})` : i;
|
|
79374
79374
|
}
|
|
79375
79375
|
const t4 = (e, t) => {
|
|
@@ -79496,7 +79496,7 @@ function UCe(e) {
|
|
|
79496
79496
|
}
|
|
79497
79497
|
function AD(e, t, { compositeMark: n = !1 } = {}) {
|
|
79498
79498
|
const { aggregate: r, timeUnit: i, bin: a, field: o } = e, s = { ...e };
|
|
79499
|
-
if (!n && r && !Jx(r) && !Es(r) && !io(r) && (te(Uve(r)), delete s.aggregate), i && (s.timeUnit =
|
|
79499
|
+
if (!n && r && !Jx(r) && !Es(r) && !io(r) && (te(Uve(r)), delete s.aggregate), i && (s.timeUnit = en(i)), o && (s.field = `${o}`), ft(a) && (s.bin = FE(a, t)), on(a) && !Mt(t) && te(gRe(t)), Zn(s)) {
|
|
79500
79500
|
const { type: l } = s, c = GRe(l);
|
|
79501
79501
|
l !== c && (s.type = c), l !== "quantitative" && CE(r) && (te(Fve(l, r)), s.type = "quantitative");
|
|
79502
79502
|
} else if (!j5(t)) {
|
|
@@ -79621,7 +79621,7 @@ function $Ce(e) {
|
|
|
79621
79621
|
}
|
|
79622
79622
|
function UE(e, { timeUnit: t, type: n, wrapTime: r, undefinedIfExprNotRequired: i }) {
|
|
79623
79623
|
var l;
|
|
79624
|
-
const a = t && ((l =
|
|
79624
|
+
const a = t && ((l = en(t)) == null ? void 0 : l.unit);
|
|
79625
79625
|
let o = a || n === "temporal", s;
|
|
79626
79626
|
return L_(e) ? s = e.expr : Se(e) ? s = e.signal : Wl(e) ? (o = !0, s = Rl(e)) : (_e(e) || We(e)) && o && (s = `datetime(${et(e)})`, ARe(a) && (We(e) && e < 1e4 || _e(e) && isNaN(Date.parse(e))) && (s = Rl({ [a]: e }))), s ? r && o ? `time(${s})` : s : i ? void 0 : et(e);
|
|
79627
79627
|
}
|
|
@@ -82480,7 +82480,7 @@ class ra extends it {
|
|
|
82480
82480
|
if (vt(r)) {
|
|
82481
82481
|
const { mark: d, markDef: f, config: _ } = r, p = ts({ fieldDef: o, markDef: f, config: _ });
|
|
82482
82482
|
(Hf(d) || p) && (u = {
|
|
82483
|
-
timeUnit:
|
|
82483
|
+
timeUnit: en(c),
|
|
82484
82484
|
field: l
|
|
82485
82485
|
});
|
|
82486
82486
|
}
|
|
@@ -82501,7 +82501,7 @@ class ra extends it {
|
|
|
82501
82501
|
return ut(i) ? null : new ra(n, i);
|
|
82502
82502
|
}
|
|
82503
82503
|
static makeFromTransform(n, r) {
|
|
82504
|
-
const { timeUnit: i, ...a } = { ...r }, o =
|
|
82504
|
+
const { timeUnit: i, ...a } = { ...r }, o = en(i), s = {
|
|
82505
82505
|
...a,
|
|
82506
82506
|
timeUnit: o
|
|
82507
82507
|
};
|
|
@@ -82544,7 +82544,7 @@ class ra extends it {
|
|
|
82544
82544
|
assemble() {
|
|
82545
82545
|
const n = [];
|
|
82546
82546
|
for (const r of kt(this.timeUnits)) {
|
|
82547
|
-
const { rectBandPosition: i } = r, a =
|
|
82547
|
+
const { rectBandPosition: i } = r, a = en(r.timeUnit);
|
|
82548
82548
|
if (AR(r)) {
|
|
82549
82549
|
const { field: o, as: s } = r, { unit: l, utc: c, ...u } = a, d = [s, `${s}_end`];
|
|
82550
82550
|
n.push({
|
|
@@ -84401,7 +84401,7 @@ function SAe({ fieldOrDatumDef: e, scaleType: t, size: n, values: r }) {
|
|
|
84401
84401
|
if (ne(e)) {
|
|
84402
84402
|
if (ft(e.bin))
|
|
84403
84403
|
return { signal: `ceil(${n.signal}/10)` };
|
|
84404
|
-
if (e.timeUnit && Fe(["month", "hours", "day", "quarter"], (i =
|
|
84404
|
+
if (e.timeUnit && Fe(["month", "hours", "day", "quarter"], (i = en(e.timeUnit)) == null ? void 0 : i.unit))
|
|
84405
84405
|
return;
|
|
84406
84406
|
}
|
|
84407
84407
|
return { signal: `ceil(${n.signal}/40)` };
|
|
@@ -84995,7 +84995,7 @@ function WAe(e, t) {
|
|
|
84995
84995
|
if (s.set("disable", l, n !== void 0), l)
|
|
84996
84996
|
return s;
|
|
84997
84997
|
n = n || {};
|
|
84998
|
-
const c = e.getScaleComponent(t).get("type"), u = Gt(i[t]), d = ne(u) ? (T =
|
|
84998
|
+
const c = e.getScaleComponent(t).get("type"), u = Gt(i[t]), d = ne(u) ? (T = en(u.timeUnit)) == null ? void 0 : T.unit : void 0, f = n.orient || a.legend.orient || "right", _ = UAe({ legend: n, channel: t, timeUnit: d, scaleType: c }), p = $Ae({ legend: n, legendType: _, orient: f, legendConfig: o }), m = {
|
|
84999
84999
|
legend: n,
|
|
85000
85000
|
channel: t,
|
|
85001
85001
|
model: e,
|
|
@@ -86467,7 +86467,7 @@ function A0e(e, t) {
|
|
|
86467
86467
|
r++;
|
|
86468
86468
|
bO(e.sources), Math.max(n, r) === kp && te(`Maximum optimization runs(${kp}) reached.`);
|
|
86469
86469
|
}
|
|
86470
|
-
class
|
|
86470
|
+
class Kt {
|
|
86471
86471
|
constructor(t) {
|
|
86472
86472
|
G(this, "signal");
|
|
86473
86473
|
Object.defineProperty(this, "signal", {
|
|
@@ -86477,7 +86477,7 @@ class Wt {
|
|
|
86477
86477
|
}
|
|
86478
86478
|
// for ts
|
|
86479
86479
|
static fromName(t, n) {
|
|
86480
|
-
return new
|
|
86480
|
+
return new Kt(() => t(n));
|
|
86481
86481
|
}
|
|
86482
86482
|
}
|
|
86483
86483
|
function z9(e) {
|
|
@@ -86540,7 +86540,7 @@ function M0e(e, t, n) {
|
|
|
86540
86540
|
}
|
|
86541
86541
|
function MR(e, t, n) {
|
|
86542
86542
|
var i;
|
|
86543
|
-
const r = (i =
|
|
86543
|
+
const r = (i = en(n)) == null ? void 0 : i.unit;
|
|
86544
86544
|
return t === "temporal" || r ? M0e(e, t, r) : [e];
|
|
86545
86545
|
}
|
|
86546
86546
|
function bo(e, t, n, r) {
|
|
@@ -86612,7 +86612,7 @@ function bo(e, t, n, r) {
|
|
|
86612
86612
|
if (ft(m)) {
|
|
86613
86613
|
const g = jD(n, p.field, m);
|
|
86614
86614
|
return gr([
|
|
86615
|
-
new
|
|
86615
|
+
new Kt(() => {
|
|
86616
86616
|
const h = n.getSignalName(g);
|
|
86617
86617
|
return `[${h}.start, ${h}.stop]`;
|
|
86618
86618
|
})
|
|
@@ -86892,13 +86892,13 @@ function YB(e, t) {
|
|
|
86892
86892
|
if (n != null && n.bin) {
|
|
86893
86893
|
const { bin: r, field: i } = n, a = _r(t), o = e.getName(a);
|
|
86894
86894
|
if (pe(r) && r.binned && r.step !== void 0)
|
|
86895
|
-
return new
|
|
86895
|
+
return new Kt(() => {
|
|
86896
86896
|
const s = e.scaleName(t), l = `(domain("${s}")[1] - domain("${s}")[0]) / ${r.step}`;
|
|
86897
86897
|
return `${e.getSignalName(o)} / (${l})`;
|
|
86898
86898
|
});
|
|
86899
86899
|
if (ft(r)) {
|
|
86900
86900
|
const s = jD(e, i, r);
|
|
86901
|
-
return new
|
|
86901
|
+
return new Kt(() => {
|
|
86902
86902
|
const l = e.getSignalName(s), c = `(${l}.stop - ${l}.start) / ${l}.step`;
|
|
86903
86903
|
return `${e.getSignalName(o)} / (${c})`;
|
|
86904
86904
|
});
|
|
@@ -86923,7 +86923,7 @@ function $0e(e, t) {
|
|
|
86923
86923
|
return Wi(p.map((m) => {
|
|
86924
86924
|
if (m === "width" || m === "height") {
|
|
86925
86925
|
const g = t.getName(m), h = t.getSignalName.bind(t);
|
|
86926
|
-
return
|
|
86926
|
+
return Kt.fromName(h, g);
|
|
86927
86927
|
}
|
|
86928
86928
|
return m;
|
|
86929
86929
|
}));
|
|
@@ -86970,12 +86970,12 @@ function G0e(e) {
|
|
|
86970
86970
|
function V9(e, t, n, { center: r } = {}) {
|
|
86971
86971
|
const i = _r(e), a = t.getName(i), o = t.getSignalName.bind(t);
|
|
86972
86972
|
return e === rn && Oi(n) ? r ? [
|
|
86973
|
-
|
|
86974
|
-
|
|
86975
|
-
] : [
|
|
86976
|
-
|
|
86977
|
-
|
|
86978
|
-
] : [0,
|
|
86973
|
+
Kt.fromName((s) => `${o(s)}/2`, a),
|
|
86974
|
+
Kt.fromName((s) => `-${o(s)}/2`, a)
|
|
86975
|
+
] : [Kt.fromName(o, a), 0] : r ? [
|
|
86976
|
+
Kt.fromName((s) => `-${o(s)}/2`, a),
|
|
86977
|
+
Kt.fromName((s) => `${o(s)}/2`, a)
|
|
86978
|
+
] : [0, Kt.fromName(o, a)];
|
|
86979
86979
|
}
|
|
86980
86980
|
function Y0e(e, t) {
|
|
86981
86981
|
const { size: n, config: r, mark: i, encoding: a } = t, { type: o } = Gt(a[e]), l = t.getScaleComponent(e).get("type"), { domain: c, domainMid: u } = t.specifiedScales[e];
|
|
@@ -87003,7 +87003,7 @@ function Y0e(e, t) {
|
|
|
87003
87003
|
case ki:
|
|
87004
87004
|
return [
|
|
87005
87005
|
0,
|
|
87006
|
-
new
|
|
87006
|
+
new Kt(() => {
|
|
87007
87007
|
const d = t.getSignalName(Or(t.parent) ? "child_width" : "width"), f = t.getSignalName(Or(t.parent) ? "child_height" : "height");
|
|
87008
87008
|
return `min(${d},${f})/2`;
|
|
87009
87009
|
})
|
|
@@ -87102,7 +87102,7 @@ function H0e(e, t, n) {
|
|
|
87102
87102
|
const i = bi(t), a = bi(e), o = `(${i} - ${a}) / (${n} - 1)`;
|
|
87103
87103
|
return `sequence(${a}, ${i} + ${o}, ${o})`;
|
|
87104
87104
|
};
|
|
87105
|
-
return Se(t) ? new
|
|
87105
|
+
return Se(t) ? new Kt(r) : { signal: r() };
|
|
87106
87106
|
}
|
|
87107
87107
|
function V0e(e, t) {
|
|
87108
87108
|
switch (e) {
|
|
@@ -87134,7 +87134,7 @@ function W0e(e, t, n, r) {
|
|
|
87134
87134
|
if (r.scale.maxBandSize !== void 0)
|
|
87135
87135
|
return r.scale.maxBandSize;
|
|
87136
87136
|
const a = qB(t, i, r.view);
|
|
87137
|
-
return We(a) ? a - 1 : new
|
|
87137
|
+
return We(a) ? a - 1 : new Kt(() => `${a.signal} - 1`);
|
|
87138
87138
|
}
|
|
87139
87139
|
case "line":
|
|
87140
87140
|
case "trail":
|
|
@@ -87148,14 +87148,14 @@ function W0e(e, t, n, r) {
|
|
|
87148
87148
|
if (r.scale.maxSize)
|
|
87149
87149
|
return r.scale.maxSize;
|
|
87150
87150
|
const a = qB(t, i, r.view);
|
|
87151
|
-
return We(a) ? Math.pow(zB * a, 2) : new
|
|
87151
|
+
return We(a) ? Math.pow(zB * a, 2) : new Kt(() => `pow(${zB} * ${a.signal}, 2)`);
|
|
87152
87152
|
}
|
|
87153
87153
|
}
|
|
87154
87154
|
throw new Error(OE("size", e));
|
|
87155
87155
|
}
|
|
87156
87156
|
function qB(e, t, n) {
|
|
87157
87157
|
const r = ma(e.width) ? e.width.step : aO(n, "width"), i = ma(e.height) ? e.height.step : aO(n, "height");
|
|
87158
|
-
return t.x || t.y ? new
|
|
87158
|
+
return t.x || t.y ? new Kt(() => `min(${[
|
|
87159
87159
|
t.x ? t.x.signal : r,
|
|
87160
87160
|
t.y ? t.y.signal : i
|
|
87161
87161
|
].join(", ")})`) : Math.min(r, i);
|
|
@@ -87240,7 +87240,7 @@ function Q0e(e, t) {
|
|
|
87240
87240
|
const n = t.bin;
|
|
87241
87241
|
if (ft(n)) {
|
|
87242
87242
|
const r = jD(e, t.field, n);
|
|
87243
|
-
return new
|
|
87243
|
+
return new Kt(() => e.getSignalName(r));
|
|
87244
87244
|
} else if (on(n) && Hl(n) && n.step !== void 0)
|
|
87245
87245
|
return {
|
|
87246
87246
|
step: n.step
|
|
@@ -87345,7 +87345,7 @@ function iIe(e, t, n, r) {
|
|
|
87345
87345
|
return Nl(a) || fu(t) && ((i = t.axis) != null && i.tickBand) ? "band" : "point";
|
|
87346
87346
|
}
|
|
87347
87347
|
case "temporal":
|
|
87348
|
-
return Mc(e) ? "time" : yR(e) === "discrete" ? (te(vR(e, "temporal")), "ordinal") : ne(t) && t.timeUnit &&
|
|
87348
|
+
return Mc(e) ? "time" : yR(e) === "discrete" ? (te(vR(e, "temporal")), "ordinal") : ne(t) && t.timeUnit && en(t.timeUnit).utc ? "utc" : TR(e) ? "band" : "time";
|
|
87349
87349
|
case "quantitative":
|
|
87350
87350
|
return Mc(e) ? ne(t) && ft(t.bin) ? "bin-ordinal" : "linear" : yR(e) === "discrete" ? (te(vR(e, "quantitative")), "ordinal") : TR(e) ? "band" : "linear";
|
|
87351
87351
|
case "geojson":
|
|
@@ -92531,20 +92531,20 @@ function R1e(e) {
|
|
|
92531
92531
|
var l, c;
|
|
92532
92532
|
const { message: t } = e, n = t.message.template, { avatar: r } = ti(), [i, a] = Gn(
|
|
92533
92533
|
(n == null ? void 0 : n.defaultChart) ?? ((c = (l = n == null ? void 0 : n.chartOptions) == null ? void 0 : l[0]) == null ? void 0 : c.type)
|
|
92534
|
-
), o =
|
|
92534
|
+
), o = zt(() => n.chartOptions, [n]), s = zt(
|
|
92535
92535
|
() => {
|
|
92536
92536
|
var u, d;
|
|
92537
|
-
return (d = (u = n == null ? void 0 : n.chartOptions) == null ? void 0 : u.find((f) => f.type === i)) == null ? void 0 : d.spec;
|
|
92537
|
+
return ((d = (u = n == null ? void 0 : n.chartOptions) == null ? void 0 : u.find((f) => f.type === i)) == null ? void 0 : d.spec) ?? o[0].spec;
|
|
92538
92538
|
},
|
|
92539
92539
|
[i, n.chartOptions]
|
|
92540
|
-
)
|
|
92540
|
+
);
|
|
92541
92541
|
return /* @__PURE__ */ dt(ll, { type: "bot", direction: "vertical", children: [
|
|
92542
92542
|
/* @__PURE__ */ Z(Tu, { avatar: r }),
|
|
92543
92543
|
/* @__PURE__ */ dt("div", { className: oa(ic.text, ic["text--bot"]), style: ic, children: [
|
|
92544
92544
|
/* @__PURE__ */ Z("div", { children: n.title }),
|
|
92545
|
-
/* @__PURE__ */ Z("div", { children: n.
|
|
92545
|
+
/* @__PURE__ */ Z("div", { children: n.text })
|
|
92546
92546
|
] }),
|
|
92547
|
-
/* @__PURE__ */ Z("div", { className: ic.quick_replies_box, children:
|
|
92547
|
+
o.length > 1 && /* @__PURE__ */ Z("div", { className: ic.quick_replies_box, children: o.map((u) => /* @__PURE__ */ Z(
|
|
92548
92548
|
"button",
|
|
92549
92549
|
{
|
|
92550
92550
|
className: ic.quick_reply,
|
|
@@ -92553,7 +92553,7 @@ function R1e(e) {
|
|
|
92553
92553
|
},
|
|
92554
92554
|
u.type
|
|
92555
92555
|
)) }),
|
|
92556
|
-
/* @__PURE__ */ Z(bu, { quickReplies: n == null ? void 0 : n.quickReplies, children: /* @__PURE__ */ Z(v1e, {
|
|
92556
|
+
/* @__PURE__ */ Z(bu, { quickReplies: n == null ? void 0 : n.quickReplies, children: /* @__PURE__ */ Z(v1e, { spec: s }) }),
|
|
92557
92557
|
/* @__PURE__ */ Z(rh, { className: ic.chart_time, time: t.time })
|
|
92558
92558
|
] });
|
|
92559
92559
|
}
|
|
@@ -92630,11 +92630,11 @@ function M1e(e) {
|
|
|
92630
92630
|
}
|
|
92631
92631
|
function L1e() {
|
|
92632
92632
|
const { chatbot: e } = Dl(), { messages: t, messageBoxBottomRef: n, botTypingPlaceholder: r } = ti();
|
|
92633
|
-
|
|
92633
|
+
Wt(() => {
|
|
92634
92634
|
var a;
|
|
92635
92635
|
(a = n.current) == null || a.scrollIntoView({ behavior: "smooth" });
|
|
92636
92636
|
}, [t, n]);
|
|
92637
|
-
const i =
|
|
92637
|
+
const i = zt(
|
|
92638
92638
|
() => ({
|
|
92639
92639
|
maxWidth: (e == null ? void 0 : e.contentMaxWidth) ?? "1200px"
|
|
92640
92640
|
}),
|
|
@@ -92666,7 +92666,7 @@ const k1e = "_chatbot_footer_1slg7_1", P1e = "_chatbot_footer__content_1slg7_4",
|
|
|
92666
92666
|
}, $1e = (e) => /* @__PURE__ */ xt.createElement("svg", { width: 15, height: 12, viewBox: "0 0 15 12", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xt.createElement("path", { d: "M0.823242 11.6953V0.945312L14.3328 6.32031L0.823242 11.6953ZM1.90658 10.0911L11.3649 6.32031L1.90658 2.54948V4.98052L5.92574 6.32031L1.90658 7.6601V10.0911Z", fill: "white" })), G1e = (e) => /* @__PURE__ */ xt.createElement("svg", { width: 11, height: 16, viewBox: "0 0 11 16", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xt.createElement("path", { d: "M5.40658 9.90397C4.82435 9.90397 4.33158 9.7023 3.92824 9.29897C3.52491 8.89564 3.32324 8.40286 3.32324 7.82064V2.82064C3.32324 2.23842 3.52491 1.74564 3.92824 1.3423C4.33158 0.938971 4.82435 0.737305 5.40658 0.737305C5.9888 0.737305 6.48158 0.938971 6.88491 1.3423C7.28824 1.74564 7.48991 2.23842 7.48991 2.82064V7.82064C7.48991 8.40286 7.28824 8.89564 6.88491 9.29897C6.48158 9.7023 5.9888 9.90397 5.40658 9.90397ZM4.86491 15.1123V12.8654C3.56213 12.7208 2.47949 12.1724 1.61699 11.2202C0.754492 10.2679 0.323242 9.13467 0.323242 7.82064H1.40658C1.40658 8.92731 1.79706 9.87064 2.57803 10.6506C3.35887 11.4306 4.30331 11.8206 5.41137 11.8206C6.51928 11.8206 7.46213 11.4306 8.23991 10.6506C9.01769 9.87064 9.40658 8.92731 9.40658 7.82064H10.4899C10.4899 9.13467 10.0587 10.2679 9.19616 11.2202C8.33366 12.1724 7.25102 12.7208 5.94824 12.8654V15.1123H4.86491ZM5.40658 8.82064C5.68991 8.82064 5.92741 8.7248 6.11908 8.53314C6.31074 8.34147 6.40658 8.10397 6.40658 7.82064V2.82064C6.40658 2.5373 6.31074 2.2998 6.11908 2.10814C5.92741 1.91647 5.68991 1.82064 5.40658 1.82064C5.12324 1.82064 4.88574 1.91647 4.69408 2.10814C4.50241 2.2998 4.40658 2.5373 4.40658 2.82064V7.82064C4.40658 8.10397 4.50241 8.34147 4.69408 8.53314C4.88574 8.7248 5.12324 8.82064 5.40658 8.82064Z", fill: "white" })), Y1e = (e) => /* @__PURE__ */ xt.createElement("svg", { width: 40, height: 40, viewBox: "0 0 40 40", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ xt.createElement("circle", { cx: 20, cy: 20, r: 18, fill: "#D04444" }), /* @__PURE__ */ xt.createElement("rect", { x: 12, y: 12, width: 16, height: 16, fill: "#FFFFFF", rx: 2, ry: 2 }));
|
|
92667
92667
|
function z1e(e) {
|
|
92668
92668
|
const { setValue: t, className: n } = e, [r, i] = Gn(!1), a = is(null);
|
|
92669
|
-
|
|
92669
|
+
Wt(() => {
|
|
92670
92670
|
const f = window.SpeechRecognition || window.webkitSpeechRecognition;
|
|
92671
92671
|
if (!f) return;
|
|
92672
92672
|
const _ = new f();
|
|
@@ -92725,10 +92725,10 @@ function z1e(e) {
|
|
|
92725
92725
|
);
|
|
92726
92726
|
}
|
|
92727
92727
|
function q1e() {
|
|
92728
|
-
const { sendMessage: e, isConnecting: t } = ti(), { chatbot: n } = Dl(), [r, i] = Gn(""), [a, o] = Gn(!1), s = is(null), l =
|
|
92728
|
+
const { sendMessage: e, isConnecting: t } = ti(), { chatbot: n } = Dl(), [r, i] = Gn(""), [a, o] = Gn(!1), s = is(null), l = zt(
|
|
92729
92729
|
() => t || !r.trim(),
|
|
92730
92730
|
[t, r]
|
|
92731
|
-
), c =
|
|
92731
|
+
), c = zt(
|
|
92732
92732
|
() => ({
|
|
92733
92733
|
maxWidth: (n == null ? void 0 : n.contentMaxWidth) ?? "1200px",
|
|
92734
92734
|
borderTopColor: n == null ? void 0 : n.borderColor
|
|
@@ -92800,7 +92800,7 @@ const H1e = "_chatbot_root_9cuo3_2", V1e = "_full_screen_9cuo3_124", W1e = "_cha
|
|
|
92800
92800
|
function Q1e(e) {
|
|
92801
92801
|
const { children: t } = e, n = is(null), r = Dl();
|
|
92802
92802
|
K8(n), W8();
|
|
92803
|
-
const [, i] = H8() ?? [], a = V8(), o =
|
|
92803
|
+
const [, i] = H8() ?? [], a = V8(), o = zt(() => {
|
|
92804
92804
|
var s, l;
|
|
92805
92805
|
return Object.assign(
|
|
92806
92806
|
(s = r == null ? void 0 : r.chatbot) != null && s.backgroundColor ? {
|