archgine 1.0.76 → 1.0.77
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/lib/environment.worker.js +1 -1
- package/lib/index.cjs.js +2 -2
- package/lib/index.mjs +626 -633
- package/lib/index.umd.js +2 -2
- package/lib/renderer.worker.js +1 -1
- package/package.json +1 -1
package/lib/index.mjs
CHANGED
|
@@ -456,7 +456,7 @@ function ir(i, e) {
|
|
|
456
456
|
}
|
|
457
457
|
t.constructor != i && (typeof i != "function" && console.error("unknown Class:" + i), t.constructor = i);
|
|
458
458
|
}
|
|
459
|
-
var nr = {}, Yr = nr.ELEMENT_NODE = 1, Ss = nr.ATTRIBUTE_NODE = 2, iu = nr.TEXT_NODE = 3, dd = nr.CDATA_SECTION_NODE = 4, gd = nr.ENTITY_REFERENCE_NODE = 5, zx = nr.ENTITY_NODE = 6, yd = nr.PROCESSING_INSTRUCTION_NODE = 7,
|
|
459
|
+
var nr = {}, Yr = nr.ELEMENT_NODE = 1, Ss = nr.ATTRIBUTE_NODE = 2, iu = nr.TEXT_NODE = 3, dd = nr.CDATA_SECTION_NODE = 4, gd = nr.ENTITY_REFERENCE_NODE = 5, zx = nr.ENTITY_NODE = 6, yd = nr.PROCESSING_INSTRUCTION_NODE = 7, md = nr.COMMENT_NODE = 8, vd = nr.DOCUMENT_NODE = 9, xd = nr.DOCUMENT_TYPE_NODE = 10, Hi = nr.DOCUMENT_FRAGMENT_NODE = 11, $x = nr.NOTATION_NODE = 12, Pe = {}, we = {};
|
|
460
460
|
Pe.INDEX_SIZE_ERR = (we[1] = "Index size error", 1);
|
|
461
461
|
Pe.DOMSTRING_SIZE_ERR = (we[2] = "DOMString size error", 2);
|
|
462
462
|
var tr = Pe.HIERARCHY_REQUEST_ERR = (we[3] = "Hierarchy request error", 3);
|
|
@@ -936,7 +936,7 @@ function Kx(i, e) {
|
|
|
936
936
|
ka.prototype = {
|
|
937
937
|
//implementation : null,
|
|
938
938
|
nodeName: "#document",
|
|
939
|
-
nodeType:
|
|
939
|
+
nodeType: vd,
|
|
940
940
|
/**
|
|
941
941
|
* The DocumentType node of the document.
|
|
942
942
|
*
|
|
@@ -1178,7 +1178,7 @@ function _h() {
|
|
|
1178
1178
|
}
|
|
1179
1179
|
_h.prototype = {
|
|
1180
1180
|
nodeName: "#comment",
|
|
1181
|
-
nodeType:
|
|
1181
|
+
nodeType: md
|
|
1182
1182
|
};
|
|
1183
1183
|
ir(_h, Ha);
|
|
1184
1184
|
function Ch() {
|
|
@@ -1310,7 +1310,7 @@ function _s(i, e, t, r, s) {
|
|
|
1310
1310
|
} else
|
|
1311
1311
|
e.push("/>");
|
|
1312
1312
|
return;
|
|
1313
|
-
case
|
|
1313
|
+
case vd:
|
|
1314
1314
|
case Hi:
|
|
1315
1315
|
for (var P = i.firstChild; P; )
|
|
1316
1316
|
_s(P, e, t, r, s.slice()), P = P.nextSibling;
|
|
@@ -1323,7 +1323,7 @@ function _s(i, e, t, r, s) {
|
|
|
1323
1323
|
);
|
|
1324
1324
|
case dd:
|
|
1325
1325
|
return e.push("<![CDATA[", i.data, "]]>");
|
|
1326
|
-
case
|
|
1326
|
+
case md:
|
|
1327
1327
|
return e.push("<!--", i.data, "-->");
|
|
1328
1328
|
case xd:
|
|
1329
1329
|
var W = i.publicId, q = i.systemId;
|
|
@@ -3570,7 +3570,7 @@ var gu = {}, Bd = {};
|
|
|
3570
3570
|
zwnj: ""
|
|
3571
3571
|
}), i.entityMap = i.HTML_ENTITIES;
|
|
3572
3572
|
})(Bd);
|
|
3573
|
-
var Oh = {}, Oa = Vi.NAMESPACE, uh = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, lp = new RegExp("[\\-\\.0-9" + uh.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), hp = new RegExp("^" + uh.source + lp.source + "*(?::" + uh.source + lp.source + "*)?$"), oa = 0, un = 1,
|
|
3573
|
+
var Oh = {}, Oa = Vi.NAMESPACE, uh = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/, lp = new RegExp("[\\-\\.0-9" + uh.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), hp = new RegExp("^" + uh.source + lp.source + "*(?::" + uh.source + lp.source + "*)?$"), oa = 0, un = 1, ms = 2, ua = 3, vs = 4, xs = 5, la = 6, Ho = 7;
|
|
3574
3574
|
function Ms(i, e) {
|
|
3575
3575
|
this.message = i, this.locator = e, Error.captureStackTrace && Error.captureStackTrace(this, Ms);
|
|
3576
3576
|
}
|
|
@@ -3686,7 +3686,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3686
3686
|
case "=":
|
|
3687
3687
|
if (p === un)
|
|
3688
3688
|
h = i.slice(e, y), p = ua;
|
|
3689
|
-
else if (p ===
|
|
3689
|
+
else if (p === ms)
|
|
3690
3690
|
p = ua;
|
|
3691
3691
|
else
|
|
3692
3692
|
throw new Error("attribute equal must after attrName");
|
|
@@ -3698,7 +3698,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3698
3698
|
c = i.slice(e, y), u(h, c, e - 1), p = xs;
|
|
3699
3699
|
else
|
|
3700
3700
|
throw new Error("attribute value no end '" + A + "' match");
|
|
3701
|
-
else if (p ==
|
|
3701
|
+
else if (p == vs)
|
|
3702
3702
|
c = i.slice(e, y), u(h, c, e), o.warning('attribute "' + h + '" missed start quot(' + A + ")!!"), e = y + 1, p = xs;
|
|
3703
3703
|
else
|
|
3704
3704
|
throw new Error('attribute value must after "="');
|
|
@@ -3711,10 +3711,10 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3711
3711
|
case la:
|
|
3712
3712
|
case Ho:
|
|
3713
3713
|
p = Ho, t.closed = !0;
|
|
3714
|
-
case
|
|
3714
|
+
case vs:
|
|
3715
3715
|
case un:
|
|
3716
3716
|
break;
|
|
3717
|
-
case
|
|
3717
|
+
case ms:
|
|
3718
3718
|
t.closed = !0;
|
|
3719
3719
|
break;
|
|
3720
3720
|
default:
|
|
@@ -3731,11 +3731,11 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3731
3731
|
case la:
|
|
3732
3732
|
case Ho:
|
|
3733
3733
|
break;
|
|
3734
|
-
case
|
|
3734
|
+
case vs:
|
|
3735
3735
|
case un:
|
|
3736
3736
|
c = i.slice(e, y), c.slice(-1) === "/" && (t.closed = !0, c = c.slice(0, -1));
|
|
3737
|
-
case
|
|
3738
|
-
p ===
|
|
3737
|
+
case ms:
|
|
3738
|
+
p === ms && (c = h), p == vs ? (o.warning('attribute "' + c + '" missed quot(")!'), u(h, c, e)) : ((!Oa.isHTML(r[""]) || !c.match(/^(?:disabled|checked|selected)$/i)) && o.warning('attribute "' + c + '" missed value!! "' + c + '" instead!!'), u(c, c, e));
|
|
3739
3739
|
break;
|
|
3740
3740
|
case ua:
|
|
3741
3741
|
throw new Error("attribute value missed!!");
|
|
@@ -3750,9 +3750,9 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3750
3750
|
t.setTagName(i.slice(e, y)), p = la;
|
|
3751
3751
|
break;
|
|
3752
3752
|
case un:
|
|
3753
|
-
h = i.slice(e, y), p =
|
|
3753
|
+
h = i.slice(e, y), p = ms;
|
|
3754
3754
|
break;
|
|
3755
|
-
case
|
|
3755
|
+
case vs:
|
|
3756
3756
|
var c = i.slice(e, y);
|
|
3757
3757
|
o.warning('attribute "' + c + '" missed quot(")!!'), u(h, c, e);
|
|
3758
3758
|
case xs:
|
|
@@ -3761,7 +3761,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3761
3761
|
}
|
|
3762
3762
|
else
|
|
3763
3763
|
switch (p) {
|
|
3764
|
-
case
|
|
3764
|
+
case ms:
|
|
3765
3765
|
t.tagName, (!Oa.isHTML(r[""]) || !h.match(/^(?:disabled|checked|selected)$/i)) && o.warning('attribute "' + h + '" missed value!! "' + h + '" instead2!!'), u(h, h, e), e = y, p = un;
|
|
3766
3766
|
break;
|
|
3767
3767
|
case xs:
|
|
@@ -3770,7 +3770,7 @@ function Jx(i, e, t, r, s, o) {
|
|
|
3770
3770
|
p = un, e = y;
|
|
3771
3771
|
break;
|
|
3772
3772
|
case ua:
|
|
3773
|
-
p =
|
|
3773
|
+
p = vs, e = y;
|
|
3774
3774
|
break;
|
|
3775
3775
|
case Ho:
|
|
3776
3776
|
throw new Error("elements closed character '/' and '>' must be connected to");
|
|
@@ -4039,7 +4039,7 @@ gu.__DOMHandler = Ua;
|
|
|
4039
4039
|
gu.normalizeLineEndings = kd;
|
|
4040
4040
|
gu.DOMParser = Hd;
|
|
4041
4041
|
var cE = gu.DOMParser;
|
|
4042
|
-
const fE = "1.0.
|
|
4042
|
+
const fE = "1.0.77";
|
|
4043
4043
|
function pE() {
|
|
4044
4044
|
return typeof window != "undefined" && ({}.toString.call(window) === "[object Window]" || {}.toString.call(window) === "[object global]");
|
|
4045
4045
|
}
|
|
@@ -4079,7 +4079,7 @@ const zt = {
|
|
|
4079
4079
|
// 403C3A
|
|
4080
4080
|
black: "#182327",
|
|
4081
4081
|
blackAlpha5: "rgba(0, 0, 0, 0.5)"
|
|
4082
|
-
},
|
|
4082
|
+
}, mE = {
|
|
4083
4083
|
aliceblue: 15792383,
|
|
4084
4084
|
antiquewhite: 16444375,
|
|
4085
4085
|
aqua: 65535,
|
|
@@ -4232,7 +4232,7 @@ const zt = {
|
|
|
4232
4232
|
function Hl(i, e, t) {
|
|
4233
4233
|
return t < 0 && (t += 1), t > 1 && (t -= 1), t < 1 / 6 ? i + (e - i) * 6 * t : t < 1 / 2 ? e : t < 2 / 3 ? i + (e - i) * 6 * (2 / 3 - t) : i;
|
|
4234
4234
|
}
|
|
4235
|
-
const
|
|
4235
|
+
const vE = /^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3}|[A-Fa-f0-9]{8})$|rgb\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*\)|rgba\(\s*\d+\s*,\s*\d+\s*,\s*\d+\s*,\s*[\d.]+\s*\)/;
|
|
4236
4236
|
class Zt {
|
|
4237
4237
|
constructor(e, t, r, s) {
|
|
4238
4238
|
d(this, "isColor", !0);
|
|
@@ -4246,7 +4246,7 @@ class Zt {
|
|
|
4246
4246
|
// set(value: Color) {}
|
|
4247
4247
|
// set(value: number) {}
|
|
4248
4248
|
static isColor(e) {
|
|
4249
|
-
return typeof e == "string" ?
|
|
4249
|
+
return typeof e == "string" ? vE.test(e) : typeof e == "number" ? e >= 0 && e <= 16777215 : !1;
|
|
4250
4250
|
}
|
|
4251
4251
|
static getRandomStyle() {
|
|
4252
4252
|
return Li.random().getStyle();
|
|
@@ -4364,7 +4364,7 @@ class Zt {
|
|
|
4364
4364
|
return e && e.length > 0 ? this.setColorName(e) : this;
|
|
4365
4365
|
}
|
|
4366
4366
|
setColorName(e) {
|
|
4367
|
-
const t =
|
|
4367
|
+
const t = mE[e.toLowerCase()];
|
|
4368
4368
|
return t !== void 0 ? this.setHex(t) : console.warn("Color: Unknown color " + e), this;
|
|
4369
4369
|
}
|
|
4370
4370
|
clone() {
|
|
@@ -4935,7 +4935,7 @@ ou.exports;
|
|
|
4935
4935
|
["partial", Y],
|
|
4936
4936
|
["partialRight", z],
|
|
4937
4937
|
["rearg", tt]
|
|
4938
|
-
], le = "[object Arguments]", Se = "[object Array]", Yt = "[object AsyncFunction]", Qt = "[object Boolean]", Lt = "[object Date]", $t = "[object DOMException]", Oe = "[object Error]", He = "[object Function]", We = "[object GeneratorFunction]", ee = "[object Map]", Me = "[object Number]", Ee = "[object Null]", Kt = "[object Object]", jr = "[object Promise]", yi = "[object Proxy]", he = "[object RegExp]", Nt = "[object Set]", ar = "[object String]", ze = "[object Symbol]",
|
|
4938
|
+
], le = "[object Arguments]", Se = "[object Array]", Yt = "[object AsyncFunction]", Qt = "[object Boolean]", Lt = "[object Date]", $t = "[object DOMException]", Oe = "[object Error]", He = "[object Function]", We = "[object GeneratorFunction]", ee = "[object Map]", Me = "[object Number]", Ee = "[object Null]", Kt = "[object Object]", jr = "[object Promise]", yi = "[object Proxy]", he = "[object RegExp]", Nt = "[object Set]", ar = "[object String]", ze = "[object Symbol]", mi = "[object Undefined]", xr = "[object WeakMap]", Wi = "[object WeakSet]", or = "[object ArrayBuffer]", $e = "[object DataView]", zi = "[object Float32Array]", $i = "[object Float64Array]", Jr = "[object Int8Array]", vi = "[object Int16Array]", En = "[object Int32Array]", H = "[object Uint8Array]", nt = "[object Uint8ClampedArray]", ot = "[object Uint16Array]", St = "[object Uint32Array]", Et = /\b__p \+= '';/g, ye = /\b(__p \+=) '' \+/g, Le = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Er = /&(?:amp|lt|gt|quot|#39);/g, Gi = /[&<>"']/g, ur = RegExp(Er.source), An = RegExp(Gi.source), Yi = /<%-([\s\S]+?)%>/g, ti = /<%([\s\S]+?)%>/g, bn = /<%=([\s\S]+?)%>/g, wn = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Xi = /^\w*$/, Au = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Zi = /[\\^$.*+?()[\]{}|]/g, bu = RegExp(Zi.source), Fs = /^\s+/, za = /\s/, ks = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, wu = /\{\n\/\* \[wrapped with (.+)\] \*/, $a = /,? & /, Tu = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Ga = /[()=,{}\[\]\/\s]/, Ya = /\\(\\)?/g, Xa = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Hs = /\w*$/, Us = /^[-+]0x[0-9a-f]+$/i, xi = /^0b[01]+$/i, Tn = /^\[object .+?Constructor\]$/, _n = /^0o[0-7]+$/i, Qn = /^(?:0|[1-9]\d*)$/, qs = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Kn = /($^)/, _u = /['\n\r\u2028\u2029\\]/g, Ei = "\\ud800-\\udfff", Ge = "\\u0300-\\u036f", Qi = "\\ufe20-\\ufe2f", ei = "\\u20d0-\\u20ff", Ar = Ge + Qi + ei, Ki = "\\u2700-\\u27bf", lr = "a-z\\xdf-\\xf6\\xf8-\\xff", Pr = "\\xac\\xb1\\xd7\\xf7", Za = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Qa = "\\u2000-\\u206f", jn = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ye = "A-Z\\xc0-\\xd6\\xd8-\\xde", Cn = "\\ufe0e\\ufe0f", Jn = Pr + Za + Qa + jn, Dn = "['’]", Vs = "[" + Ei + "]", ts = "[" + Jn + "]", Ai = "[" + Ar + "]", Fr = "\\d+", Cu = "[" + Ki + "]", Ws = "[" + lr + "]", es = "[^" + Ei + Jn + Fr + Ki + lr + Ye + "]", rs = "\\ud83c[\\udffb-\\udfff]", Du = "(?:" + Ai + "|" + rs + ")", Ka = "[^" + Ei + "]", m = "(?:\\ud83c[\\udde6-\\uddff]){2}", E = "[\\ud800-\\udbff][\\udc00-\\udfff]", _ = "[" + Ye + "]", I = "\\u200d", Z = "(?:" + Ws + "|" + es + ")", et = "(?:" + _ + "|" + es + ")", At = "(?:" + Dn + "(?:d|ll|m|re|s|t|ve))?", ie = "(?:" + Dn + "(?:D|LL|M|RE|S|T|VE))?", ce = Du + "?", Ae = "[" + Cn + "]?", br = "(?:" + I + "(?:" + [Ka, m, E].join("|") + ")" + Ae + ce + ")*", Lg = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Ng = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", zh = Ae + ce + br, Bg = "(?:" + [Cu, m, E].join("|") + ")" + zh, Ig = "(?:" + [Ka + Ai + "?", Ai, m, E, Vs].join("|") + ")", Rg = RegExp(Dn, "g"), Pg = RegExp(Ai, "g"), Su = RegExp(rs + "(?=" + rs + ")|" + Ig + zh, "g"), Fg = RegExp([
|
|
4939
4939
|
_ + "?" + Ws + "+" + At + "(?=" + [ts, _, "$"].join("|") + ")",
|
|
4940
4940
|
et + "+" + ie + "(?=" + [ts, _ + Z, "$"].join("|") + ")",
|
|
4941
4941
|
_ + "?" + Z + "+" + At,
|
|
@@ -4976,9 +4976,9 @@ ou.exports;
|
|
|
4976
4976
|
"parseInt",
|
|
4977
4977
|
"setTimeout"
|
|
4978
4978
|
], qg = -1, Gt = {};
|
|
4979
|
-
Gt[zi] = Gt[$i] = Gt[Jr] = Gt[
|
|
4979
|
+
Gt[zi] = Gt[$i] = Gt[Jr] = Gt[vi] = Gt[En] = Gt[H] = Gt[nt] = Gt[ot] = Gt[St] = !0, Gt[le] = Gt[Se] = Gt[or] = Gt[Qt] = Gt[$e] = Gt[Lt] = Gt[Oe] = Gt[He] = Gt[ee] = Gt[Me] = Gt[Kt] = Gt[he] = Gt[Nt] = Gt[ar] = Gt[xr] = !1;
|
|
4980
4980
|
var Wt = {};
|
|
4981
|
-
Wt[le] = Wt[Se] = Wt[or] = Wt[$e] = Wt[Qt] = Wt[Lt] = Wt[zi] = Wt[$i] = Wt[Jr] = Wt[
|
|
4981
|
+
Wt[le] = Wt[Se] = Wt[or] = Wt[$e] = Wt[Qt] = Wt[Lt] = Wt[zi] = Wt[$i] = Wt[Jr] = Wt[vi] = Wt[En] = Wt[ee] = Wt[Me] = Wt[Kt] = Wt[he] = Wt[Nt] = Wt[ar] = Wt[ze] = Wt[H] = Wt[nt] = Wt[ot] = Wt[St] = !0, Wt[Oe] = Wt[He] = Wt[xr] = !1;
|
|
4982
4982
|
var Vg = {
|
|
4983
4983
|
// Latin-1 Supplement block.
|
|
4984
4984
|
À: "A",
|
|
@@ -5213,8 +5213,8 @@ ou.exports;
|
|
|
5213
5213
|
}
|
|
5214
5214
|
function Zg(S, U, F, it) {
|
|
5215
5215
|
for (var gt = -1, Rt = S == null ? 0 : S.length; ++gt < Rt; ) {
|
|
5216
|
-
var
|
|
5217
|
-
U(it,
|
|
5216
|
+
var me = S[gt];
|
|
5217
|
+
U(it, me, F(me), S);
|
|
5218
5218
|
}
|
|
5219
5219
|
return it;
|
|
5220
5220
|
}
|
|
@@ -5236,8 +5236,8 @@ ou.exports;
|
|
|
5236
5236
|
}
|
|
5237
5237
|
function ji(S, U) {
|
|
5238
5238
|
for (var F = -1, it = S == null ? 0 : S.length, gt = 0, Rt = []; ++F < it; ) {
|
|
5239
|
-
var
|
|
5240
|
-
U(
|
|
5239
|
+
var me = S[F];
|
|
5240
|
+
U(me, F, S) && (Rt[gt++] = me);
|
|
5241
5241
|
}
|
|
5242
5242
|
return Rt;
|
|
5243
5243
|
}
|
|
@@ -5288,8 +5288,8 @@ ou.exports;
|
|
|
5288
5288
|
}
|
|
5289
5289
|
function tc(S, U, F) {
|
|
5290
5290
|
var it;
|
|
5291
|
-
return F(S, function(gt, Rt,
|
|
5292
|
-
if (U(gt, Rt,
|
|
5291
|
+
return F(S, function(gt, Rt, me) {
|
|
5292
|
+
if (U(gt, Rt, me))
|
|
5293
5293
|
return it = Rt, !1;
|
|
5294
5294
|
}), it;
|
|
5295
5295
|
}
|
|
@@ -5326,8 +5326,8 @@ ou.exports;
|
|
|
5326
5326
|
};
|
|
5327
5327
|
}
|
|
5328
5328
|
function ic(S, U, F, it, gt) {
|
|
5329
|
-
return gt(S, function(Rt,
|
|
5330
|
-
F = it ? (it = !1, Rt) : U(F, Rt,
|
|
5329
|
+
return gt(S, function(Rt, me, qt) {
|
|
5330
|
+
F = it ? (it = !1, Rt) : U(F, Rt, me, qt);
|
|
5331
5331
|
}), F;
|
|
5332
5332
|
}
|
|
5333
5333
|
function r0(S, U) {
|
|
@@ -5415,8 +5415,8 @@ ou.exports;
|
|
|
5415
5415
|
}
|
|
5416
5416
|
function tn(S, U) {
|
|
5417
5417
|
for (var F = -1, it = S.length, gt = 0, Rt = []; ++F < it; ) {
|
|
5418
|
-
var
|
|
5419
|
-
(
|
|
5418
|
+
var me = S[F];
|
|
5419
|
+
(me === U || me === p) && (S[F] = p, Rt[gt++] = F);
|
|
5420
5420
|
}
|
|
5421
5421
|
return Rt;
|
|
5422
5422
|
}
|
|
@@ -5464,12 +5464,12 @@ ou.exports;
|
|
|
5464
5464
|
function y0(S) {
|
|
5465
5465
|
return S.match(Su) || [];
|
|
5466
5466
|
}
|
|
5467
|
-
function
|
|
5467
|
+
function m0(S) {
|
|
5468
5468
|
return S.match(Fg) || [];
|
|
5469
5469
|
}
|
|
5470
|
-
var
|
|
5470
|
+
var v0 = function S(U) {
|
|
5471
5471
|
U = U == null ? _e : as.defaults(_e.Object(), U, as.pick(_e, Ug));
|
|
5472
|
-
var F = U.Array, it = U.Date, gt = U.Error, Rt = U.Function,
|
|
5472
|
+
var F = U.Array, it = U.Date, gt = U.Error, Rt = U.Function, me = U.Math, qt = U.Object, Uu = U.RegExp, x0 = U.String, _r = U.TypeError, eo = F.prototype, E0 = Rt.prototype, os = qt.prototype, ro = U["__core-js_shared__"], io = E0.toString, Ht = os.hasOwnProperty, A0 = 0, lc = function() {
|
|
5473
5473
|
var n = /[^.]+$/.exec(ro && ro.keys && ro.keys.IE_PROTO || "");
|
|
5474
5474
|
return n ? "Symbol(src)_1." + n : "";
|
|
5475
5475
|
}(), no = os.toString, b0 = io.call(qt), w0 = _e._, T0 = Uu(
|
|
@@ -5480,13 +5480,13 @@ ou.exports;
|
|
|
5480
5480
|
return n({}, "", {}), n;
|
|
5481
5481
|
} catch (a) {
|
|
5482
5482
|
}
|
|
5483
|
-
}(), _0 = U.clearTimeout !== _e.clearTimeout && U.clearTimeout, C0 = it && it.now !== _e.Date.now && it.now, D0 = U.setTimeout !== _e.setTimeout && U.setTimeout, ho =
|
|
5484
|
-
function
|
|
5483
|
+
}(), _0 = U.clearTimeout !== _e.clearTimeout && U.clearTimeout, C0 = it && it.now !== _e.Date.now && it.now, D0 = U.setTimeout !== _e.setTimeout && U.setTimeout, ho = me.ceil, co = me.floor, qu = qt.getOwnPropertySymbols, S0 = so ? so.isBuffer : t, dc = U.isFinite, O0 = eo.join, M0 = oc(qt.keys, qt), ve = me.max, Ne = me.min, L0 = it.now, N0 = U.parseInt, gc = me.random, B0 = eo.reverse, Vu = In(U, "DataView"), Gs = In(U, "Map"), Wu = In(U, "Promise"), us = In(U, "Set"), Ys = In(U, "WeakMap"), Xs = In(qt, "create"), fo = Ys && new Ys(), ls = {}, I0 = Rn(Vu), R0 = Rn(Gs), P0 = Rn(Wu), F0 = Rn(us), k0 = Rn(Ys), po = en ? en.prototype : t, Zs = po ? po.valueOf : t, yc = po ? po.toString : t;
|
|
5484
|
+
function v(n) {
|
|
5485
5485
|
if (re(n) && !yt(n) && !(n instanceof Ct)) {
|
|
5486
5486
|
if (n instanceof Cr)
|
|
5487
5487
|
return n;
|
|
5488
5488
|
if (Ht.call(n, "__wrapped__"))
|
|
5489
|
-
return
|
|
5489
|
+
return vf(n);
|
|
5490
5490
|
}
|
|
5491
5491
|
return new Cr(n);
|
|
5492
5492
|
}
|
|
@@ -5508,7 +5508,7 @@ ou.exports;
|
|
|
5508
5508
|
function Cr(n, a) {
|
|
5509
5509
|
this.__wrapped__ = n, this.__actions__ = [], this.__chain__ = !!a, this.__index__ = 0, this.__values__ = t;
|
|
5510
5510
|
}
|
|
5511
|
-
|
|
5511
|
+
v.templateSettings = {
|
|
5512
5512
|
/**
|
|
5513
5513
|
* Used to detect `data` property values to be HTML-escaped.
|
|
5514
5514
|
*
|
|
@@ -5550,9 +5550,9 @@ ou.exports;
|
|
|
5550
5550
|
* @memberOf _.templateSettings.imports
|
|
5551
5551
|
* @type {Function}
|
|
5552
5552
|
*/
|
|
5553
|
-
_:
|
|
5553
|
+
_: v
|
|
5554
5554
|
}
|
|
5555
|
-
},
|
|
5555
|
+
}, v.prototype = go.prototype, v.prototype.constructor = v, Cr.prototype = hs(go.prototype), Cr.prototype.constructor = Cr;
|
|
5556
5556
|
function Ct(n) {
|
|
5557
5557
|
this.__wrapped__ = n, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = ue, this.__views__ = [];
|
|
5558
5558
|
}
|
|
@@ -5720,7 +5720,7 @@ ou.exports;
|
|
|
5720
5720
|
return l.set(n, a), this.size = l.size, this;
|
|
5721
5721
|
}
|
|
5722
5722
|
Hr.prototype.clear = s2, Hr.prototype.delete = a2, Hr.prototype.get = o2, Hr.prototype.has = u2, Hr.prototype.set = l2;
|
|
5723
|
-
function
|
|
5723
|
+
function mc(n, a) {
|
|
5724
5724
|
var l = yt(n), f = !l && Pn(n), g = !l && !f && on(n), x = !l && !f && !g && ds(n), w = l || f || g || x, D = w ? Fu(n.length, x0) : [], M = D.length;
|
|
5725
5725
|
for (var $ in n)
|
|
5726
5726
|
(a || Ht.call(n, $)) && !(w && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
@@ -5730,7 +5730,7 @@ ou.exports;
|
|
|
5730
5730
|
Di($, M))) && D.push($);
|
|
5731
5731
|
return D;
|
|
5732
5732
|
}
|
|
5733
|
-
function
|
|
5733
|
+
function vc(n) {
|
|
5734
5734
|
var a = n.length;
|
|
5735
5735
|
return a ? n[tl(0, a - 1)] : t;
|
|
5736
5736
|
}
|
|
@@ -5865,7 +5865,7 @@ ou.exports;
|
|
|
5865
5865
|
return l = !!a(f, g, x), l;
|
|
5866
5866
|
}), l;
|
|
5867
5867
|
}
|
|
5868
|
-
function
|
|
5868
|
+
function mo(n, a, l) {
|
|
5869
5869
|
for (var f = -1, g = n.length; ++f < g; ) {
|
|
5870
5870
|
var x = n[f], w = a(x);
|
|
5871
5871
|
if (w != null && (D === t ? w === w && !pr(w) : l(w, D)))
|
|
@@ -5875,7 +5875,7 @@ ou.exports;
|
|
|
5875
5875
|
}
|
|
5876
5876
|
function y2(n, a, l, f) {
|
|
5877
5877
|
var g = n.length;
|
|
5878
|
-
for (l =
|
|
5878
|
+
for (l = vt(l), l < 0 && (l = -l > g ? 0 : g + l), f = f === t || f > g ? g : vt(f), f < 0 && (f += g), f = l > f ? 0 : Uf(f); l < f; )
|
|
5879
5879
|
n[l++] = a;
|
|
5880
5880
|
return n;
|
|
5881
5881
|
}
|
|
@@ -5900,7 +5900,7 @@ ou.exports;
|
|
|
5900
5900
|
function Yu(n, a) {
|
|
5901
5901
|
return n && Tc(n, a, be);
|
|
5902
5902
|
}
|
|
5903
|
-
function
|
|
5903
|
+
function vo(n, a) {
|
|
5904
5904
|
return ji(a, function(l) {
|
|
5905
5905
|
return Si(n[l]);
|
|
5906
5906
|
});
|
|
@@ -5916,19 +5916,19 @@ ou.exports;
|
|
|
5916
5916
|
return yt(n) ? f : Ji(f, l(n));
|
|
5917
5917
|
}
|
|
5918
5918
|
function Ue(n) {
|
|
5919
|
-
return n == null ? n === t ?
|
|
5919
|
+
return n == null ? n === t ? mi : Ee : On && On in qt(n) ? j2(n) : cy(n);
|
|
5920
5920
|
}
|
|
5921
5921
|
function Xu(n, a) {
|
|
5922
5922
|
return n > a;
|
|
5923
5923
|
}
|
|
5924
|
-
function
|
|
5924
|
+
function m2(n, a) {
|
|
5925
5925
|
return n != null && Ht.call(n, a);
|
|
5926
5926
|
}
|
|
5927
|
-
function
|
|
5927
|
+
function v2(n, a) {
|
|
5928
5928
|
return n != null && a in qt(n);
|
|
5929
5929
|
}
|
|
5930
5930
|
function x2(n, a, l) {
|
|
5931
|
-
return n >= Ne(a, l) && n <
|
|
5931
|
+
return n >= Ne(a, l) && n < ve(a, l);
|
|
5932
5932
|
}
|
|
5933
5933
|
function Zu(n, a, l) {
|
|
5934
5934
|
for (var f = l ? Lu : ja, g = n[0].length, x = n.length, w = x, D = F(x), M = 1 / 0, $ = []; w--; ) {
|
|
@@ -6081,13 +6081,13 @@ ou.exports;
|
|
|
6081
6081
|
if (g || (g = new Hr()), jt(x))
|
|
6082
6082
|
O2(n, a, w, l, xo, f, g);
|
|
6083
6083
|
else {
|
|
6084
|
-
var D = f ? f(
|
|
6084
|
+
var D = f ? f(ml(n, w), x, w + "", n, a, g) : t;
|
|
6085
6085
|
D === t && (D = x), zu(n, w, D);
|
|
6086
6086
|
}
|
|
6087
6087
|
}, Qe);
|
|
6088
6088
|
}
|
|
6089
6089
|
function O2(n, a, l, f, g, x, w) {
|
|
6090
|
-
var D =
|
|
6090
|
+
var D = ml(n, l), M = ml(a, l), $ = w.get(M);
|
|
6091
6091
|
if ($) {
|
|
6092
6092
|
zu(n, l, $);
|
|
6093
6093
|
return;
|
|
@@ -6160,7 +6160,7 @@ ou.exports;
|
|
|
6160
6160
|
return n + co(gc() * (a - n + 1));
|
|
6161
6161
|
}
|
|
6162
6162
|
function N2(n, a, l, f) {
|
|
6163
|
-
for (var g = -1, x =
|
|
6163
|
+
for (var g = -1, x = ve(ho((a - n) / (l || 1)), 0), w = F(x); x--; )
|
|
6164
6164
|
w[f ? x : ++g] = n, n += l;
|
|
6165
6165
|
return w;
|
|
6166
6166
|
}
|
|
@@ -6174,10 +6174,10 @@ ou.exports;
|
|
|
6174
6174
|
return l;
|
|
6175
6175
|
}
|
|
6176
6176
|
function wt(n, a) {
|
|
6177
|
-
return
|
|
6177
|
+
return vl(ff(n, a, Ke), n + "");
|
|
6178
6178
|
}
|
|
6179
6179
|
function B2(n) {
|
|
6180
|
-
return
|
|
6180
|
+
return vc(gs(n));
|
|
6181
6181
|
}
|
|
6182
6182
|
function I2(n, a) {
|
|
6183
6183
|
var l = gs(n);
|
|
@@ -6336,7 +6336,7 @@ ou.exports;
|
|
|
6336
6336
|
return typeof n == "function" ? n : Ke;
|
|
6337
6337
|
}
|
|
6338
6338
|
function sn(n, a) {
|
|
6339
|
-
return yt(n) ? n : gl(n, a) ? [n] :
|
|
6339
|
+
return yt(n) ? n : gl(n, a) ? [n] : mf(Ft(n));
|
|
6340
6340
|
}
|
|
6341
6341
|
var k2 = wt;
|
|
6342
6342
|
function an(n, a, l) {
|
|
@@ -6394,7 +6394,7 @@ ou.exports;
|
|
|
6394
6394
|
return n.index - a.index;
|
|
6395
6395
|
}
|
|
6396
6396
|
function Gc(n, a, l, f) {
|
|
6397
|
-
for (var g = -1, x = n.length, w = l.length, D = -1, M = a.length, $ =
|
|
6397
|
+
for (var g = -1, x = n.length, w = l.length, D = -1, M = a.length, $ = ve(x - w, 0), G = F(M + $), X = !f; ++D < M; )
|
|
6398
6398
|
G[D] = a[D];
|
|
6399
6399
|
for (; ++g < w; )
|
|
6400
6400
|
(X || g < x) && (G[l[g]] = n[g]);
|
|
@@ -6403,7 +6403,7 @@ ou.exports;
|
|
|
6403
6403
|
return G;
|
|
6404
6404
|
}
|
|
6405
6405
|
function Yc(n, a, l, f) {
|
|
6406
|
-
for (var g = -1, x = n.length, w = -1, D = l.length, M = -1, $ = a.length, G =
|
|
6406
|
+
for (var g = -1, x = n.length, w = -1, D = l.length, M = -1, $ = a.length, G = ve(x - D, 0), X = F(G + $), J = !f; ++g < G; )
|
|
6407
6407
|
X[g] = n[g];
|
|
6408
6408
|
for (var st = g; ++M < $; )
|
|
6409
6409
|
X[st + M] = a[M];
|
|
@@ -6678,9 +6678,9 @@ ou.exports;
|
|
|
6678
6678
|
return yl(n) && df(ht, bt), ht.placeholder = f, gf(ht, n, a);
|
|
6679
6679
|
}
|
|
6680
6680
|
function ll(n) {
|
|
6681
|
-
var a =
|
|
6681
|
+
var a = me[n];
|
|
6682
6682
|
return function(l, f) {
|
|
6683
|
-
if (l = Mr(l), f = f == null ? 0 : Ne(
|
|
6683
|
+
if (l = Mr(l), f = f == null ? 0 : Ne(vt(f), 292), f && dc(l)) {
|
|
6684
6684
|
var g = (Ft(l) + "e").split("e"), x = a(g[0] + "e" + (+g[1] + f));
|
|
6685
6685
|
return g = (Ft(x) + "e").split("e"), +(g[0] + "e" + (+g[1] - f));
|
|
6686
6686
|
}
|
|
@@ -6701,7 +6701,7 @@ ou.exports;
|
|
|
6701
6701
|
if (!M && typeof n != "function")
|
|
6702
6702
|
throw new _r(u);
|
|
6703
6703
|
var $ = f ? f.length : 0;
|
|
6704
|
-
if ($ || (a &= ~(Y | z), f = g = t), w = w === t ? w :
|
|
6704
|
+
if ($ || (a &= ~(Y | z), f = g = t), w = w === t ? w : ve(vt(w), 0), D = D === t ? D : vt(D), $ -= g ? g.length : 0, a & z) {
|
|
6705
6705
|
var G = f, X = g;
|
|
6706
6706
|
f = g = t;
|
|
6707
6707
|
}
|
|
@@ -6717,7 +6717,7 @@ ou.exports;
|
|
|
6717
6717
|
w,
|
|
6718
6718
|
D
|
|
6719
6719
|
];
|
|
6720
|
-
if (J && ly(st, J), n = st[0], a = st[1], l = st[2], f = st[3], g = st[4], D = st[9] = st[9] === t ? M ? 0 : n.length :
|
|
6720
|
+
if (J && ly(st, J), n = st[0], a = st[1], l = st[2], f = st[3], g = st[4], D = st[9] = st[9] === t ? M ? 0 : n.length : ve(st[9] - $, 0), !D && a & (q | b) && (a &= ~(q | b)), !a || a == L)
|
|
6721
6721
|
var lt = $2(n, a, l);
|
|
6722
6722
|
else a == q || a == b ? lt = G2(n, a, D) : (a == Y || a == (L | Y)) && !g.length ? lt = Y2(n, a, l, f) : lt = wo.apply(t, st);
|
|
6723
6723
|
var bt = J ? Pc : df;
|
|
@@ -6832,7 +6832,7 @@ ou.exports;
|
|
|
6832
6832
|
return x.delete(n), x.delete(a), bt;
|
|
6833
6833
|
}
|
|
6834
6834
|
function Ci(n) {
|
|
6835
|
-
return
|
|
6835
|
+
return vl(ff(n, t, Af), n + "");
|
|
6836
6836
|
}
|
|
6837
6837
|
function hl(n) {
|
|
6838
6838
|
return _c(n, be, dl);
|
|
@@ -6852,11 +6852,11 @@ ou.exports;
|
|
|
6852
6852
|
return a;
|
|
6853
6853
|
}
|
|
6854
6854
|
function ps(n) {
|
|
6855
|
-
var a = Ht.call(
|
|
6855
|
+
var a = Ht.call(v, "placeholder") ? v : n;
|
|
6856
6856
|
return a.placeholder;
|
|
6857
6857
|
}
|
|
6858
6858
|
function ut() {
|
|
6859
|
-
var n =
|
|
6859
|
+
var n = v.iteratee || Ol;
|
|
6860
6860
|
return n = n === Ol ? Sc : n, arguments.length ? n(arguments[0], arguments[1]) : n;
|
|
6861
6861
|
}
|
|
6862
6862
|
function So(n, a) {
|
|
@@ -6924,7 +6924,7 @@ ou.exports;
|
|
|
6924
6924
|
a = Ne(a, n + w);
|
|
6925
6925
|
break;
|
|
6926
6926
|
case "takeRight":
|
|
6927
|
-
n =
|
|
6927
|
+
n = ve(n, a - w);
|
|
6928
6928
|
break;
|
|
6929
6929
|
}
|
|
6930
6930
|
}
|
|
@@ -6964,7 +6964,7 @@ ou.exports;
|
|
|
6964
6964
|
case zi:
|
|
6965
6965
|
case $i:
|
|
6966
6966
|
case Jr:
|
|
6967
|
-
case
|
|
6967
|
+
case vi:
|
|
6968
6968
|
case En:
|
|
6969
6969
|
case H:
|
|
6970
6970
|
case nt:
|
|
@@ -7017,7 +7017,7 @@ ou.exports;
|
|
|
7017
7017
|
return a == "string" || a == "number" || a == "symbol" || a == "boolean" ? n !== "__proto__" : n === null;
|
|
7018
7018
|
}
|
|
7019
7019
|
function yl(n) {
|
|
7020
|
-
var a = Do(n), l =
|
|
7020
|
+
var a = Do(n), l = v[a];
|
|
7021
7021
|
if (typeof l != "function" || !(a in Ct.prototype))
|
|
7022
7022
|
return !1;
|
|
7023
7023
|
if (n === l)
|
|
@@ -7070,8 +7070,8 @@ ou.exports;
|
|
|
7070
7070
|
return no.call(n);
|
|
7071
7071
|
}
|
|
7072
7072
|
function ff(n, a, l) {
|
|
7073
|
-
return a =
|
|
7074
|
-
for (var f = arguments, g = -1, x =
|
|
7073
|
+
return a = ve(a === t ? n.length - 1 : a, 0), function() {
|
|
7074
|
+
for (var f = arguments, g = -1, x = ve(f.length - a, 0), w = F(x); ++g < x; )
|
|
7075
7075
|
w[g] = f[a + g];
|
|
7076
7076
|
g = -1;
|
|
7077
7077
|
for (var D = F(a + 1); ++g < a; )
|
|
@@ -7089,16 +7089,16 @@ ou.exports;
|
|
|
7089
7089
|
}
|
|
7090
7090
|
return n;
|
|
7091
7091
|
}
|
|
7092
|
-
function
|
|
7092
|
+
function ml(n, a) {
|
|
7093
7093
|
if (!(a === "constructor" && typeof n[a] == "function") && a != "__proto__")
|
|
7094
7094
|
return n[a];
|
|
7095
7095
|
}
|
|
7096
7096
|
var df = yf(Pc), ia = D0 || function(n, a) {
|
|
7097
7097
|
return _e.setTimeout(n, a);
|
|
7098
|
-
},
|
|
7098
|
+
}, vl = yf(R2);
|
|
7099
7099
|
function gf(n, a, l) {
|
|
7100
7100
|
var f = a + "";
|
|
7101
|
-
return
|
|
7101
|
+
return vl(n, iy(f, py(ty(f), l)));
|
|
7102
7102
|
}
|
|
7103
7103
|
function yf(n) {
|
|
7104
7104
|
var a = 0, l = 0;
|
|
@@ -7120,7 +7120,7 @@ ou.exports;
|
|
|
7120
7120
|
}
|
|
7121
7121
|
return n.length = a, n;
|
|
7122
7122
|
}
|
|
7123
|
-
var
|
|
7123
|
+
var mf = uy(function(n) {
|
|
7124
7124
|
var a = [];
|
|
7125
7125
|
return n.charCodeAt(0) === 46 && a.push(""), n.replace(Au, function(l, f, g, x) {
|
|
7126
7126
|
a.push(g ? x.replace(Ya, "$1") : f || l);
|
|
@@ -7151,14 +7151,14 @@ ou.exports;
|
|
|
7151
7151
|
a & l[1] && !ja(n, f) && n.push(f);
|
|
7152
7152
|
}), n.sort();
|
|
7153
7153
|
}
|
|
7154
|
-
function
|
|
7154
|
+
function vf(n) {
|
|
7155
7155
|
if (n instanceof Ct)
|
|
7156
7156
|
return n.clone();
|
|
7157
7157
|
var a = new Cr(n.__wrapped__, n.__chain__);
|
|
7158
7158
|
return a.__actions__ = Xe(n.__actions__), a.__index__ = n.__index__, a.__values__ = n.__values__, a;
|
|
7159
7159
|
}
|
|
7160
7160
|
function dy(n, a, l) {
|
|
7161
|
-
(l ? qe(n, a, l) : a === t) ? a = 1 : a =
|
|
7161
|
+
(l ? qe(n, a, l) : a === t) ? a = 1 : a = ve(vt(a), 0);
|
|
7162
7162
|
var f = n == null ? 0 : n.length;
|
|
7163
7163
|
if (!f || a < 1)
|
|
7164
7164
|
return [];
|
|
@@ -7181,9 +7181,9 @@ ou.exports;
|
|
|
7181
7181
|
a[f - 1] = arguments[f];
|
|
7182
7182
|
return Ji(yt(l) ? Xe(l) : [l], Ce(a, 1));
|
|
7183
7183
|
}
|
|
7184
|
-
var
|
|
7184
|
+
var my = wt(function(n, a) {
|
|
7185
7185
|
return ne(n) ? Ks(n, Ce(a, 1, ne, !0)) : [];
|
|
7186
|
-
}),
|
|
7186
|
+
}), vy = wt(function(n, a) {
|
|
7187
7187
|
var l = Or(a);
|
|
7188
7188
|
return ne(l) && (l = t), ne(n) ? Ks(n, Ce(a, 1, ne, !0), ut(l, 2)) : [];
|
|
7189
7189
|
}), xy = wt(function(n, a) {
|
|
@@ -7192,11 +7192,11 @@ ou.exports;
|
|
|
7192
7192
|
});
|
|
7193
7193
|
function Ey(n, a, l) {
|
|
7194
7194
|
var f = n == null ? 0 : n.length;
|
|
7195
|
-
return f ? (a = l || a === t ? 1 :
|
|
7195
|
+
return f ? (a = l || a === t ? 1 : vt(a), Sr(n, a < 0 ? 0 : a, f)) : [];
|
|
7196
7196
|
}
|
|
7197
7197
|
function Ay(n, a, l) {
|
|
7198
7198
|
var f = n == null ? 0 : n.length;
|
|
7199
|
-
return f ? (a = l || a === t ? 1 :
|
|
7199
|
+
return f ? (a = l || a === t ? 1 : vt(a), a = f - a, Sr(n, 0, a < 0 ? 0 : a)) : [];
|
|
7200
7200
|
}
|
|
7201
7201
|
function by(n, a) {
|
|
7202
7202
|
return n && n.length ? Ao(n, ut(a, 3), !0, !0) : [];
|
|
@@ -7212,15 +7212,15 @@ ou.exports;
|
|
|
7212
7212
|
var f = n == null ? 0 : n.length;
|
|
7213
7213
|
if (!f)
|
|
7214
7214
|
return -1;
|
|
7215
|
-
var g = l == null ? 0 :
|
|
7216
|
-
return g < 0 && (g =
|
|
7215
|
+
var g = l == null ? 0 : vt(l);
|
|
7216
|
+
return g < 0 && (g = ve(f + g, 0)), Ja(n, ut(a, 3), g);
|
|
7217
7217
|
}
|
|
7218
7218
|
function Ef(n, a, l) {
|
|
7219
7219
|
var f = n == null ? 0 : n.length;
|
|
7220
7220
|
if (!f)
|
|
7221
7221
|
return -1;
|
|
7222
7222
|
var g = f - 1;
|
|
7223
|
-
return l !== t && (g =
|
|
7223
|
+
return l !== t && (g = vt(l), g = l < 0 ? ve(f + g, 0) : Ne(g, f - 1)), Ja(n, ut(a, 3), g, !0);
|
|
7224
7224
|
}
|
|
7225
7225
|
function Af(n) {
|
|
7226
7226
|
var a = n == null ? 0 : n.length;
|
|
@@ -7232,7 +7232,7 @@ ou.exports;
|
|
|
7232
7232
|
}
|
|
7233
7233
|
function Cy(n, a) {
|
|
7234
7234
|
var l = n == null ? 0 : n.length;
|
|
7235
|
-
return l ? (a = a === t ? 1 :
|
|
7235
|
+
return l ? (a = a === t ? 1 : vt(a), Ce(n, a)) : [];
|
|
7236
7236
|
}
|
|
7237
7237
|
function Dy(n) {
|
|
7238
7238
|
for (var a = -1, l = n == null ? 0 : n.length, f = {}; ++a < l; ) {
|
|
@@ -7248,8 +7248,8 @@ ou.exports;
|
|
|
7248
7248
|
var f = n == null ? 0 : n.length;
|
|
7249
7249
|
if (!f)
|
|
7250
7250
|
return -1;
|
|
7251
|
-
var g = l == null ? 0 :
|
|
7252
|
-
return g < 0 && (g =
|
|
7251
|
+
var g = l == null ? 0 : vt(l);
|
|
7252
|
+
return g < 0 && (g = ve(f + g, 0)), is(n, a, g);
|
|
7253
7253
|
}
|
|
7254
7254
|
function Oy(n) {
|
|
7255
7255
|
var a = n == null ? 0 : n.length;
|
|
@@ -7277,10 +7277,10 @@ ou.exports;
|
|
|
7277
7277
|
if (!f)
|
|
7278
7278
|
return -1;
|
|
7279
7279
|
var g = f;
|
|
7280
|
-
return l !== t && (g =
|
|
7280
|
+
return l !== t && (g = vt(l), g = g < 0 ? ve(f + g, 0) : Ne(g, f - 1)), a === a ? p0(n, a, g) : Ja(n, ec, g, !0);
|
|
7281
7281
|
}
|
|
7282
7282
|
function Ry(n, a) {
|
|
7283
|
-
return n && n.length ? Nc(n,
|
|
7283
|
+
return n && n.length ? Nc(n, vt(a)) : t;
|
|
7284
7284
|
}
|
|
7285
7285
|
var Py = wt(wf);
|
|
7286
7286
|
function wf(n, a) {
|
|
@@ -7314,7 +7314,7 @@ ou.exports;
|
|
|
7314
7314
|
}
|
|
7315
7315
|
function qy(n, a, l) {
|
|
7316
7316
|
var f = n == null ? 0 : n.length;
|
|
7317
|
-
return f ? (l && typeof l != "number" && qe(n, a, l) ? (a = 0, l = f) : (a = a == null ? 0 :
|
|
7317
|
+
return f ? (l && typeof l != "number" && qe(n, a, l) ? (a = 0, l = f) : (a = a == null ? 0 : vt(a), l = l === t ? f : vt(l)), Sr(n, a, l)) : [];
|
|
7318
7318
|
}
|
|
7319
7319
|
function Vy(n, a) {
|
|
7320
7320
|
return Eo(n, a);
|
|
@@ -7357,34 +7357,34 @@ ou.exports;
|
|
|
7357
7357
|
return a ? Sr(n, 1, a) : [];
|
|
7358
7358
|
}
|
|
7359
7359
|
function Ky(n, a, l) {
|
|
7360
|
-
return n && n.length ? (a = l || a === t ? 1 :
|
|
7360
|
+
return n && n.length ? (a = l || a === t ? 1 : vt(a), Sr(n, 0, a < 0 ? 0 : a)) : [];
|
|
7361
7361
|
}
|
|
7362
7362
|
function jy(n, a, l) {
|
|
7363
7363
|
var f = n == null ? 0 : n.length;
|
|
7364
|
-
return f ? (a = l || a === t ? 1 :
|
|
7364
|
+
return f ? (a = l || a === t ? 1 : vt(a), a = f - a, Sr(n, a < 0 ? 0 : a, f)) : [];
|
|
7365
7365
|
}
|
|
7366
7366
|
function Jy(n, a) {
|
|
7367
7367
|
return n && n.length ? Ao(n, ut(a, 3), !1, !0) : [];
|
|
7368
7368
|
}
|
|
7369
|
-
function
|
|
7369
|
+
function tm(n, a) {
|
|
7370
7370
|
return n && n.length ? Ao(n, ut(a, 3)) : [];
|
|
7371
7371
|
}
|
|
7372
|
-
var
|
|
7372
|
+
var em = wt(function(n) {
|
|
7373
7373
|
return nn(Ce(n, 1, ne, !0));
|
|
7374
|
-
}),
|
|
7374
|
+
}), rm = wt(function(n) {
|
|
7375
7375
|
var a = Or(n);
|
|
7376
7376
|
return ne(a) && (a = t), nn(Ce(n, 1, ne, !0), ut(a, 2));
|
|
7377
|
-
}),
|
|
7377
|
+
}), im = wt(function(n) {
|
|
7378
7378
|
var a = Or(n);
|
|
7379
7379
|
return a = typeof a == "function" ? a : t, nn(Ce(n, 1, ne, !0), t, a);
|
|
7380
7380
|
});
|
|
7381
|
-
function
|
|
7381
|
+
function nm(n) {
|
|
7382
7382
|
return n && n.length ? nn(n) : [];
|
|
7383
7383
|
}
|
|
7384
|
-
function
|
|
7384
|
+
function sm(n, a) {
|
|
7385
7385
|
return n && n.length ? nn(n, ut(a, 2)) : [];
|
|
7386
7386
|
}
|
|
7387
|
-
function
|
|
7387
|
+
function am(n, a) {
|
|
7388
7388
|
return a = typeof a == "function" ? a : t, n && n.length ? nn(n, t, a) : [];
|
|
7389
7389
|
}
|
|
7390
7390
|
function El(n) {
|
|
@@ -7393,7 +7393,7 @@ ou.exports;
|
|
|
7393
7393
|
var a = 0;
|
|
7394
7394
|
return n = ji(n, function(l) {
|
|
7395
7395
|
if (ne(l))
|
|
7396
|
-
return a =
|
|
7396
|
+
return a = ve(l.length, a), !0;
|
|
7397
7397
|
}), Fu(a, function(l) {
|
|
7398
7398
|
return Xt(n, Iu(l));
|
|
7399
7399
|
});
|
|
@@ -7406,38 +7406,38 @@ ou.exports;
|
|
|
7406
7406
|
return hr(a, t, f);
|
|
7407
7407
|
});
|
|
7408
7408
|
}
|
|
7409
|
-
var
|
|
7409
|
+
var om = wt(function(n, a) {
|
|
7410
7410
|
return ne(n) ? Ks(n, a) : [];
|
|
7411
|
-
}),
|
|
7411
|
+
}), um = wt(function(n) {
|
|
7412
7412
|
return nl(ji(n, ne));
|
|
7413
|
-
}),
|
|
7413
|
+
}), lm = wt(function(n) {
|
|
7414
7414
|
var a = Or(n);
|
|
7415
7415
|
return ne(a) && (a = t), nl(ji(n, ne), ut(a, 2));
|
|
7416
|
-
}),
|
|
7416
|
+
}), hm = wt(function(n) {
|
|
7417
7417
|
var a = Or(n);
|
|
7418
7418
|
return a = typeof a == "function" ? a : t, nl(ji(n, ne), t, a);
|
|
7419
|
-
}),
|
|
7420
|
-
function
|
|
7419
|
+
}), cm = wt(El);
|
|
7420
|
+
function fm(n, a) {
|
|
7421
7421
|
return qc(n || [], a || [], Qs);
|
|
7422
7422
|
}
|
|
7423
|
-
function
|
|
7423
|
+
function pm(n, a) {
|
|
7424
7424
|
return qc(n || [], a || [], ta);
|
|
7425
7425
|
}
|
|
7426
|
-
var
|
|
7426
|
+
var dm = wt(function(n) {
|
|
7427
7427
|
var a = n.length, l = a > 1 ? n[a - 1] : t;
|
|
7428
7428
|
return l = typeof l == "function" ? (n.pop(), l) : t, Tf(n, l);
|
|
7429
7429
|
});
|
|
7430
7430
|
function _f(n) {
|
|
7431
|
-
var a =
|
|
7431
|
+
var a = v(n);
|
|
7432
7432
|
return a.__chain__ = !0, a;
|
|
7433
7433
|
}
|
|
7434
|
-
function
|
|
7434
|
+
function gm(n, a) {
|
|
7435
7435
|
return a(n), n;
|
|
7436
7436
|
}
|
|
7437
7437
|
function Mo(n, a) {
|
|
7438
7438
|
return a(n);
|
|
7439
7439
|
}
|
|
7440
|
-
var
|
|
7440
|
+
var ym = Ci(function(n) {
|
|
7441
7441
|
var a = n.length, l = a ? n[0] : 0, f = this.__wrapped__, g = function(x) {
|
|
7442
7442
|
return $u(x, n);
|
|
7443
7443
|
};
|
|
@@ -7449,30 +7449,30 @@ ou.exports;
|
|
|
7449
7449
|
return a && !x.length && x.push(t), x;
|
|
7450
7450
|
}));
|
|
7451
7451
|
});
|
|
7452
|
-
function
|
|
7452
|
+
function mm() {
|
|
7453
7453
|
return _f(this);
|
|
7454
7454
|
}
|
|
7455
|
-
function
|
|
7455
|
+
function vm() {
|
|
7456
7456
|
return new Cr(this.value(), this.__chain__);
|
|
7457
7457
|
}
|
|
7458
|
-
function
|
|
7458
|
+
function xm() {
|
|
7459
7459
|
this.__values__ === t && (this.__values__ = Hf(this.value()));
|
|
7460
7460
|
var n = this.__index__ >= this.__values__.length, a = n ? t : this.__values__[this.__index__++];
|
|
7461
7461
|
return { done: n, value: a };
|
|
7462
7462
|
}
|
|
7463
|
-
function
|
|
7463
|
+
function Em() {
|
|
7464
7464
|
return this;
|
|
7465
7465
|
}
|
|
7466
|
-
function
|
|
7466
|
+
function Am(n) {
|
|
7467
7467
|
for (var a, l = this; l instanceof go; ) {
|
|
7468
|
-
var f =
|
|
7468
|
+
var f = vf(l);
|
|
7469
7469
|
f.__index__ = 0, f.__values__ = t, a ? g.__wrapped__ = f : a = f;
|
|
7470
7470
|
var g = f;
|
|
7471
7471
|
l = l.__wrapped__;
|
|
7472
7472
|
}
|
|
7473
7473
|
return g.__wrapped__ = n, a;
|
|
7474
7474
|
}
|
|
7475
|
-
function
|
|
7475
|
+
function bm() {
|
|
7476
7476
|
var n = this.__wrapped__;
|
|
7477
7477
|
if (n instanceof Ct) {
|
|
7478
7478
|
var a = n;
|
|
@@ -7484,29 +7484,29 @@ ou.exports;
|
|
|
7484
7484
|
}
|
|
7485
7485
|
return this.thru(xl);
|
|
7486
7486
|
}
|
|
7487
|
-
function
|
|
7487
|
+
function wm() {
|
|
7488
7488
|
return Uc(this.__wrapped__, this.__actions__);
|
|
7489
7489
|
}
|
|
7490
|
-
var
|
|
7490
|
+
var Tm = bo(function(n, a, l) {
|
|
7491
7491
|
Ht.call(n, l) ? ++n[l] : Ti(n, l, 1);
|
|
7492
7492
|
});
|
|
7493
|
-
function
|
|
7493
|
+
function _m(n, a, l) {
|
|
7494
7494
|
var f = yt(n) ? Jh : g2;
|
|
7495
7495
|
return l && qe(n, a, l) && (a = t), f(n, ut(a, 3));
|
|
7496
7496
|
}
|
|
7497
|
-
function
|
|
7497
|
+
function Cm(n, a) {
|
|
7498
7498
|
var l = yt(n) ? ji : wc;
|
|
7499
7499
|
return l(n, ut(a, 3));
|
|
7500
7500
|
}
|
|
7501
|
-
var
|
|
7502
|
-
function
|
|
7501
|
+
var Dm = Kc(xf), Sm = Kc(Ef);
|
|
7502
|
+
function Om(n, a) {
|
|
7503
7503
|
return Ce(Lo(n, a), 1);
|
|
7504
7504
|
}
|
|
7505
|
-
function
|
|
7505
|
+
function Mm(n, a) {
|
|
7506
7506
|
return Ce(Lo(n, a), xt);
|
|
7507
7507
|
}
|
|
7508
|
-
function
|
|
7509
|
-
return l = l === t ? 1 :
|
|
7508
|
+
function Lm(n, a, l) {
|
|
7509
|
+
return l = l === t ? 1 : vt(l), Ce(Lo(n, a), l);
|
|
7510
7510
|
}
|
|
7511
7511
|
function Cf(n, a) {
|
|
7512
7512
|
var l = yt(n) ? Tr : rn;
|
|
@@ -7516,60 +7516,60 @@ ou.exports;
|
|
|
7516
7516
|
var l = yt(n) ? Qg : bc;
|
|
7517
7517
|
return l(n, ut(a, 3));
|
|
7518
7518
|
}
|
|
7519
|
-
var
|
|
7519
|
+
var Nm = bo(function(n, a, l) {
|
|
7520
7520
|
Ht.call(n, l) ? n[l].push(a) : Ti(n, l, [a]);
|
|
7521
7521
|
});
|
|
7522
|
-
function
|
|
7523
|
-
n = Ze(n) ? n : gs(n), l = l && !f ?
|
|
7522
|
+
function Bm(n, a, l, f) {
|
|
7523
|
+
n = Ze(n) ? n : gs(n), l = l && !f ? vt(l) : 0;
|
|
7524
7524
|
var g = n.length;
|
|
7525
|
-
return l < 0 && (l =
|
|
7525
|
+
return l < 0 && (l = ve(g + l, 0)), Po(n) ? l <= g && n.indexOf(a, l) > -1 : !!g && is(n, a, l) > -1;
|
|
7526
7526
|
}
|
|
7527
|
-
var
|
|
7527
|
+
var Im = wt(function(n, a, l) {
|
|
7528
7528
|
var f = -1, g = typeof a == "function", x = Ze(n) ? F(n.length) : [];
|
|
7529
7529
|
return rn(n, function(w) {
|
|
7530
7530
|
x[++f] = g ? hr(a, w, l) : js(w, a, l);
|
|
7531
7531
|
}), x;
|
|
7532
|
-
}),
|
|
7532
|
+
}), Rm = bo(function(n, a, l) {
|
|
7533
7533
|
Ti(n, l, a);
|
|
7534
7534
|
});
|
|
7535
7535
|
function Lo(n, a) {
|
|
7536
7536
|
var l = yt(n) ? Xt : Oc;
|
|
7537
7537
|
return l(n, ut(a, 3));
|
|
7538
7538
|
}
|
|
7539
|
-
function
|
|
7539
|
+
function Pm(n, a, l, f) {
|
|
7540
7540
|
return n == null ? [] : (yt(a) || (a = a == null ? [] : [a]), l = f ? t : l, yt(l) || (l = l == null ? [] : [l]), Bc(n, a, l));
|
|
7541
7541
|
}
|
|
7542
|
-
var
|
|
7542
|
+
var Fm = bo(function(n, a, l) {
|
|
7543
7543
|
n[l ? 0 : 1].push(a);
|
|
7544
7544
|
}, function() {
|
|
7545
7545
|
return [[], []];
|
|
7546
7546
|
});
|
|
7547
|
-
function
|
|
7547
|
+
function km(n, a, l) {
|
|
7548
7548
|
var f = yt(n) ? Nu : ic, g = arguments.length < 3;
|
|
7549
7549
|
return f(n, ut(a, 4), l, g, rn);
|
|
7550
7550
|
}
|
|
7551
|
-
function
|
|
7551
|
+
function Hm(n, a, l) {
|
|
7552
7552
|
var f = yt(n) ? Kg : ic, g = arguments.length < 3;
|
|
7553
7553
|
return f(n, ut(a, 4), l, g, bc);
|
|
7554
7554
|
}
|
|
7555
|
-
function
|
|
7555
|
+
function Um(n, a) {
|
|
7556
7556
|
var l = yt(n) ? ji : wc;
|
|
7557
7557
|
return l(n, Io(ut(a, 3)));
|
|
7558
7558
|
}
|
|
7559
|
-
function
|
|
7560
|
-
var a = yt(n) ?
|
|
7559
|
+
function qm(n) {
|
|
7560
|
+
var a = yt(n) ? vc : B2;
|
|
7561
7561
|
return a(n);
|
|
7562
7562
|
}
|
|
7563
|
-
function
|
|
7564
|
-
(l ? qe(n, a, l) : a === t) ? a = 1 : a =
|
|
7563
|
+
function Vm(n, a, l) {
|
|
7564
|
+
(l ? qe(n, a, l) : a === t) ? a = 1 : a = vt(a);
|
|
7565
7565
|
var f = yt(n) ? h2 : I2;
|
|
7566
7566
|
return f(n, a);
|
|
7567
7567
|
}
|
|
7568
|
-
function
|
|
7568
|
+
function Wm(n) {
|
|
7569
7569
|
var a = yt(n) ? c2 : P2;
|
|
7570
7570
|
return a(n);
|
|
7571
7571
|
}
|
|
7572
|
-
function
|
|
7572
|
+
function zm(n) {
|
|
7573
7573
|
if (n == null)
|
|
7574
7574
|
return 0;
|
|
7575
7575
|
if (Ze(n))
|
|
@@ -7577,11 +7577,11 @@ ou.exports;
|
|
|
7577
7577
|
var a = Be(n);
|
|
7578
7578
|
return a == ee || a == Nt ? n.size : Ku(n).length;
|
|
7579
7579
|
}
|
|
7580
|
-
function $
|
|
7580
|
+
function $m(n, a, l) {
|
|
7581
7581
|
var f = yt(n) ? Bu : F2;
|
|
7582
7582
|
return l && qe(n, a, l) && (a = t), f(n, ut(a, 3));
|
|
7583
7583
|
}
|
|
7584
|
-
var
|
|
7584
|
+
var Gm = wt(function(n, a) {
|
|
7585
7585
|
if (n == null)
|
|
7586
7586
|
return [];
|
|
7587
7587
|
var l = a.length;
|
|
@@ -7589,10 +7589,10 @@ ou.exports;
|
|
|
7589
7589
|
}), No = C0 || function() {
|
|
7590
7590
|
return _e.Date.now();
|
|
7591
7591
|
};
|
|
7592
|
-
function
|
|
7592
|
+
function Ym(n, a) {
|
|
7593
7593
|
if (typeof a != "function")
|
|
7594
7594
|
throw new _r(u);
|
|
7595
|
-
return n =
|
|
7595
|
+
return n = vt(n), function() {
|
|
7596
7596
|
if (--n < 1)
|
|
7597
7597
|
return a.apply(this, arguments);
|
|
7598
7598
|
};
|
|
@@ -7604,7 +7604,7 @@ ou.exports;
|
|
|
7604
7604
|
var l;
|
|
7605
7605
|
if (typeof a != "function")
|
|
7606
7606
|
throw new _r(u);
|
|
7607
|
-
return n =
|
|
7607
|
+
return n = vt(n), function() {
|
|
7608
7608
|
return --n > 0 && (l = a.apply(this, arguments)), n <= 1 && (a = t), l;
|
|
7609
7609
|
};
|
|
7610
7610
|
}
|
|
@@ -7637,7 +7637,7 @@ ou.exports;
|
|
|
7637
7637
|
var f, g, x, w, D, M, $ = 0, G = !1, X = !1, J = !0;
|
|
7638
7638
|
if (typeof n != "function")
|
|
7639
7639
|
throw new _r(u);
|
|
7640
|
-
a = Mr(a) || 0, jt(l) && (G = !!l.leading, X = "maxWait" in l, x = X ?
|
|
7640
|
+
a = Mr(a) || 0, jt(l) && (G = !!l.leading, X = "maxWait" in l, x = X ? ve(Mr(l.maxWait) || 0, a) : x, J = "trailing" in l ? !!l.trailing : J);
|
|
7641
7641
|
function st(se) {
|
|
7642
7642
|
var qr = f, Mi = g;
|
|
7643
7643
|
return f = g = t, $ = se, w = n.apply(Mi, qr), w;
|
|
@@ -7680,12 +7680,12 @@ ou.exports;
|
|
|
7680
7680
|
}
|
|
7681
7681
|
return gr.cancel = dr, gr.flush = Ve, gr;
|
|
7682
7682
|
}
|
|
7683
|
-
var
|
|
7683
|
+
var Xm = wt(function(n, a) {
|
|
7684
7684
|
return Ac(n, 1, a);
|
|
7685
|
-
}),
|
|
7685
|
+
}), Zm = wt(function(n, a, l) {
|
|
7686
7686
|
return Ac(n, Mr(a) || 0, l);
|
|
7687
7687
|
});
|
|
7688
|
-
function
|
|
7688
|
+
function Qm(n) {
|
|
7689
7689
|
return _i(n, Q);
|
|
7690
7690
|
}
|
|
7691
7691
|
function Bo(n, a) {
|
|
@@ -7719,10 +7719,10 @@ ou.exports;
|
|
|
7719
7719
|
return !n.apply(this, a);
|
|
7720
7720
|
};
|
|
7721
7721
|
}
|
|
7722
|
-
function
|
|
7722
|
+
function Km(n) {
|
|
7723
7723
|
return Of(2, n);
|
|
7724
7724
|
}
|
|
7725
|
-
var
|
|
7725
|
+
var jm = k2(function(n, a) {
|
|
7726
7726
|
a = a.length == 1 && yt(a[0]) ? Xt(a[0], cr(ut())) : Xt(Ce(a, 1), cr(ut()));
|
|
7727
7727
|
var l = a.length;
|
|
7728
7728
|
return wt(function(f) {
|
|
@@ -7736,23 +7736,23 @@ ou.exports;
|
|
|
7736
7736
|
}), If = wt(function(n, a) {
|
|
7737
7737
|
var l = tn(a, ps(If));
|
|
7738
7738
|
return _i(n, z, t, a, l);
|
|
7739
|
-
}),
|
|
7739
|
+
}), Jm = Ci(function(n, a) {
|
|
7740
7740
|
return _i(n, tt, t, t, t, a);
|
|
7741
7741
|
});
|
|
7742
|
-
function
|
|
7742
|
+
function tv(n, a) {
|
|
7743
7743
|
if (typeof n != "function")
|
|
7744
7744
|
throw new _r(u);
|
|
7745
|
-
return a = a === t ? a :
|
|
7745
|
+
return a = a === t ? a : vt(a), wt(n, a);
|
|
7746
7746
|
}
|
|
7747
|
-
function
|
|
7747
|
+
function ev(n, a) {
|
|
7748
7748
|
if (typeof n != "function")
|
|
7749
7749
|
throw new _r(u);
|
|
7750
|
-
return a = a == null ? 0 :
|
|
7750
|
+
return a = a == null ? 0 : ve(vt(a), 0), wt(function(l) {
|
|
7751
7751
|
var f = l[a], g = an(l, 0, a);
|
|
7752
7752
|
return f && Ji(g, f), hr(n, this, g);
|
|
7753
7753
|
});
|
|
7754
7754
|
}
|
|
7755
|
-
function
|
|
7755
|
+
function rv(n, a, l) {
|
|
7756
7756
|
var f = !0, g = !0;
|
|
7757
7757
|
if (typeof n != "function")
|
|
7758
7758
|
throw new _r(u);
|
|
@@ -7762,57 +7762,57 @@ ou.exports;
|
|
|
7762
7762
|
trailing: g
|
|
7763
7763
|
});
|
|
7764
7764
|
}
|
|
7765
|
-
function
|
|
7765
|
+
function iv(n) {
|
|
7766
7766
|
return Sf(n, 1);
|
|
7767
7767
|
}
|
|
7768
|
-
function
|
|
7768
|
+
function nv(n, a) {
|
|
7769
7769
|
return bl(al(a), n);
|
|
7770
7770
|
}
|
|
7771
|
-
function
|
|
7771
|
+
function sv() {
|
|
7772
7772
|
if (!arguments.length)
|
|
7773
7773
|
return [];
|
|
7774
7774
|
var n = arguments[0];
|
|
7775
7775
|
return yt(n) ? n : [n];
|
|
7776
7776
|
}
|
|
7777
|
-
function
|
|
7777
|
+
function av(n) {
|
|
7778
7778
|
return Dr(n, C);
|
|
7779
7779
|
}
|
|
7780
|
-
function
|
|
7780
|
+
function ov(n, a) {
|
|
7781
7781
|
return a = typeof a == "function" ? a : t, Dr(n, C, a);
|
|
7782
7782
|
}
|
|
7783
|
-
function
|
|
7783
|
+
function uv(n) {
|
|
7784
7784
|
return Dr(n, A | C);
|
|
7785
7785
|
}
|
|
7786
|
-
function
|
|
7786
|
+
function lv(n, a) {
|
|
7787
7787
|
return a = typeof a == "function" ? a : t, Dr(n, A | C, a);
|
|
7788
7788
|
}
|
|
7789
|
-
function
|
|
7789
|
+
function hv(n, a) {
|
|
7790
7790
|
return a == null || Ec(n, a, be(a));
|
|
7791
7791
|
}
|
|
7792
7792
|
function Ur(n, a) {
|
|
7793
7793
|
return n === a || n !== n && a !== a;
|
|
7794
7794
|
}
|
|
7795
|
-
var
|
|
7795
|
+
var cv = Co(Xu), fv = Co(function(n, a) {
|
|
7796
7796
|
return n >= a;
|
|
7797
7797
|
}), Pn = Cc(/* @__PURE__ */ function() {
|
|
7798
7798
|
return arguments;
|
|
7799
7799
|
}()) ? Cc : function(n) {
|
|
7800
7800
|
return re(n) && Ht.call(n, "callee") && !fc.call(n, "callee");
|
|
7801
|
-
}, yt = F.isArray,
|
|
7801
|
+
}, yt = F.isArray, pv = Yh ? cr(Yh) : A2;
|
|
7802
7802
|
function Ze(n) {
|
|
7803
7803
|
return n != null && Ro(n.length) && !Si(n);
|
|
7804
7804
|
}
|
|
7805
7805
|
function ne(n) {
|
|
7806
7806
|
return re(n) && Ze(n);
|
|
7807
7807
|
}
|
|
7808
|
-
function
|
|
7808
|
+
function dv(n) {
|
|
7809
7809
|
return n === !0 || n === !1 || re(n) && Ue(n) == Qt;
|
|
7810
7810
|
}
|
|
7811
|
-
var on = S0 || Bl,
|
|
7812
|
-
function
|
|
7811
|
+
var on = S0 || Bl, gv = Xh ? cr(Xh) : b2;
|
|
7812
|
+
function yv(n) {
|
|
7813
7813
|
return re(n) && n.nodeType === 1 && !na(n);
|
|
7814
7814
|
}
|
|
7815
|
-
function
|
|
7815
|
+
function mv(n) {
|
|
7816
7816
|
if (n == null)
|
|
7817
7817
|
return !0;
|
|
7818
7818
|
if (Ze(n) && (yt(n) || typeof n == "string" || typeof n.splice == "function" || on(n) || ds(n) || Pn(n)))
|
|
@@ -7827,10 +7827,10 @@ ou.exports;
|
|
|
7827
7827
|
return !1;
|
|
7828
7828
|
return !0;
|
|
7829
7829
|
}
|
|
7830
|
-
function
|
|
7830
|
+
function vv(n, a) {
|
|
7831
7831
|
return Js(n, a);
|
|
7832
7832
|
}
|
|
7833
|
-
function
|
|
7833
|
+
function xv(n, a, l) {
|
|
7834
7834
|
l = typeof l == "function" ? l : t;
|
|
7835
7835
|
var f = l ? l(n, a) : t;
|
|
7836
7836
|
return f === t ? Js(n, a, t, l) : !!f;
|
|
@@ -7841,7 +7841,7 @@ ou.exports;
|
|
|
7841
7841
|
var a = Ue(n);
|
|
7842
7842
|
return a == Oe || a == $t || typeof n.message == "string" && typeof n.name == "string" && !na(n);
|
|
7843
7843
|
}
|
|
7844
|
-
function
|
|
7844
|
+
function Ev(n) {
|
|
7845
7845
|
return typeof n == "number" && dc(n);
|
|
7846
7846
|
}
|
|
7847
7847
|
function Si(n) {
|
|
@@ -7851,7 +7851,7 @@ ou.exports;
|
|
|
7851
7851
|
return a == He || a == We || a == Yt || a == yi;
|
|
7852
7852
|
}
|
|
7853
7853
|
function Rf(n) {
|
|
7854
|
-
return typeof n == "number" && n ==
|
|
7854
|
+
return typeof n == "number" && n == vt(n);
|
|
7855
7855
|
}
|
|
7856
7856
|
function Ro(n) {
|
|
7857
7857
|
return typeof n == "number" && n > -1 && n % 1 == 0 && n <= Pt;
|
|
@@ -7864,24 +7864,24 @@ ou.exports;
|
|
|
7864
7864
|
return n != null && typeof n == "object";
|
|
7865
7865
|
}
|
|
7866
7866
|
var Pf = Zh ? cr(Zh) : T2;
|
|
7867
|
-
function
|
|
7867
|
+
function Av(n, a) {
|
|
7868
7868
|
return n === a || Qu(n, a, pl(a));
|
|
7869
7869
|
}
|
|
7870
|
-
function
|
|
7870
|
+
function bv(n, a, l) {
|
|
7871
7871
|
return l = typeof l == "function" ? l : t, Qu(n, a, pl(a), l);
|
|
7872
7872
|
}
|
|
7873
|
-
function
|
|
7873
|
+
function wv(n) {
|
|
7874
7874
|
return Ff(n) && n != +n;
|
|
7875
7875
|
}
|
|
7876
|
-
function
|
|
7876
|
+
function Tv(n) {
|
|
7877
7877
|
if (oy(n))
|
|
7878
7878
|
throw new gt(o);
|
|
7879
7879
|
return Dc(n);
|
|
7880
7880
|
}
|
|
7881
|
-
function
|
|
7881
|
+
function _v(n) {
|
|
7882
7882
|
return n === null;
|
|
7883
7883
|
}
|
|
7884
|
-
function
|
|
7884
|
+
function Cv(n) {
|
|
7885
7885
|
return n == null;
|
|
7886
7886
|
}
|
|
7887
7887
|
function Ff(n) {
|
|
@@ -7897,7 +7897,7 @@ ou.exports;
|
|
|
7897
7897
|
return typeof l == "function" && l instanceof l && io.call(l) == b0;
|
|
7898
7898
|
}
|
|
7899
7899
|
var Tl = Qh ? cr(Qh) : _2;
|
|
7900
|
-
function
|
|
7900
|
+
function Dv(n) {
|
|
7901
7901
|
return Rf(n) && n >= -Pt && n <= Pt;
|
|
7902
7902
|
}
|
|
7903
7903
|
var kf = Kh ? cr(Kh) : C2;
|
|
@@ -7908,16 +7908,16 @@ ou.exports;
|
|
|
7908
7908
|
return typeof n == "symbol" || re(n) && Ue(n) == ze;
|
|
7909
7909
|
}
|
|
7910
7910
|
var ds = jh ? cr(jh) : D2;
|
|
7911
|
-
function
|
|
7911
|
+
function Sv(n) {
|
|
7912
7912
|
return n === t;
|
|
7913
7913
|
}
|
|
7914
|
-
function
|
|
7914
|
+
function Ov(n) {
|
|
7915
7915
|
return re(n) && Be(n) == xr;
|
|
7916
7916
|
}
|
|
7917
|
-
function
|
|
7917
|
+
function Mv(n) {
|
|
7918
7918
|
return re(n) && Ue(n) == Wi;
|
|
7919
7919
|
}
|
|
7920
|
-
var
|
|
7920
|
+
var Lv = Co(ju), Nv = Co(function(n, a) {
|
|
7921
7921
|
return n <= a;
|
|
7922
7922
|
});
|
|
7923
7923
|
function Hf(n) {
|
|
@@ -7939,12 +7939,12 @@ ou.exports;
|
|
|
7939
7939
|
}
|
|
7940
7940
|
return n === n ? n : 0;
|
|
7941
7941
|
}
|
|
7942
|
-
function
|
|
7942
|
+
function vt(n) {
|
|
7943
7943
|
var a = Oi(n), l = a % 1;
|
|
7944
7944
|
return a === a ? l ? a - l : a : 0;
|
|
7945
7945
|
}
|
|
7946
7946
|
function Uf(n) {
|
|
7947
|
-
return n ? Nn(
|
|
7947
|
+
return n ? Nn(vt(n), 0, ue) : 0;
|
|
7948
7948
|
}
|
|
7949
7949
|
function Mr(n) {
|
|
7950
7950
|
if (typeof n == "number")
|
|
@@ -7964,13 +7964,13 @@ ou.exports;
|
|
|
7964
7964
|
function qf(n) {
|
|
7965
7965
|
return ii(n, Qe(n));
|
|
7966
7966
|
}
|
|
7967
|
-
function
|
|
7968
|
-
return n ? Nn(
|
|
7967
|
+
function Bv(n) {
|
|
7968
|
+
return n ? Nn(vt(n), -Pt, Pt) : n === 0 ? n : 0;
|
|
7969
7969
|
}
|
|
7970
7970
|
function Ft(n) {
|
|
7971
7971
|
return n == null ? "" : fr(n);
|
|
7972
7972
|
}
|
|
7973
|
-
var
|
|
7973
|
+
var Iv = cs(function(n, a) {
|
|
7974
7974
|
if (ra(a) || Ze(a)) {
|
|
7975
7975
|
ii(a, be(a), n);
|
|
7976
7976
|
return;
|
|
@@ -7981,14 +7981,14 @@ ou.exports;
|
|
|
7981
7981
|
ii(a, Qe(a), n);
|
|
7982
7982
|
}), Fo = cs(function(n, a, l, f) {
|
|
7983
7983
|
ii(a, Qe(a), n, f);
|
|
7984
|
-
}),
|
|
7984
|
+
}), Rv = cs(function(n, a, l, f) {
|
|
7985
7985
|
ii(a, be(a), n, f);
|
|
7986
|
-
}),
|
|
7987
|
-
function
|
|
7986
|
+
}), Pv = Ci($u);
|
|
7987
|
+
function Fv(n, a) {
|
|
7988
7988
|
var l = hs(n);
|
|
7989
7989
|
return a == null ? l : xc(l, a);
|
|
7990
7990
|
}
|
|
7991
|
-
var
|
|
7991
|
+
var kv = wt(function(n, a) {
|
|
7992
7992
|
n = qt(n);
|
|
7993
7993
|
var l = -1, f = a.length, g = f > 2 ? a[2] : t;
|
|
7994
7994
|
for (g && qe(a[0], a[1], g) && (f = 1); ++l < f; )
|
|
@@ -7997,61 +7997,61 @@ ou.exports;
|
|
|
7997
7997
|
(G === t || Ur(G, os[$]) && !Ht.call(n, $)) && (n[$] = x[$]);
|
|
7998
7998
|
}
|
|
7999
7999
|
return n;
|
|
8000
|
-
}),
|
|
8000
|
+
}), Hv = wt(function(n) {
|
|
8001
8001
|
return n.push(t, sf), hr(Wf, t, n);
|
|
8002
8002
|
});
|
|
8003
|
-
function
|
|
8003
|
+
function Uv(n, a) {
|
|
8004
8004
|
return tc(n, ut(a, 3), ri);
|
|
8005
8005
|
}
|
|
8006
|
-
function
|
|
8006
|
+
function qv(n, a) {
|
|
8007
8007
|
return tc(n, ut(a, 3), Yu);
|
|
8008
8008
|
}
|
|
8009
|
-
function
|
|
8009
|
+
function Vv(n, a) {
|
|
8010
8010
|
return n == null ? n : Gu(n, ut(a, 3), Qe);
|
|
8011
8011
|
}
|
|
8012
|
-
function
|
|
8012
|
+
function Wv(n, a) {
|
|
8013
8013
|
return n == null ? n : Tc(n, ut(a, 3), Qe);
|
|
8014
8014
|
}
|
|
8015
|
-
function
|
|
8015
|
+
function zv(n, a) {
|
|
8016
8016
|
return n && ri(n, ut(a, 3));
|
|
8017
8017
|
}
|
|
8018
|
-
function $
|
|
8018
|
+
function $v(n, a) {
|
|
8019
8019
|
return n && Yu(n, ut(a, 3));
|
|
8020
8020
|
}
|
|
8021
|
-
function
|
|
8022
|
-
return n == null ? [] :
|
|
8021
|
+
function Gv(n) {
|
|
8022
|
+
return n == null ? [] : vo(n, be(n));
|
|
8023
8023
|
}
|
|
8024
|
-
function
|
|
8025
|
-
return n == null ? [] :
|
|
8024
|
+
function Yv(n) {
|
|
8025
|
+
return n == null ? [] : vo(n, Qe(n));
|
|
8026
8026
|
}
|
|
8027
8027
|
function _l(n, a, l) {
|
|
8028
8028
|
var f = n == null ? t : Bn(n, a);
|
|
8029
8029
|
return f === t ? l : f;
|
|
8030
8030
|
}
|
|
8031
|
-
function
|
|
8032
|
-
return n != null && uf(n, a,
|
|
8031
|
+
function Xv(n, a) {
|
|
8032
|
+
return n != null && uf(n, a, m2);
|
|
8033
8033
|
}
|
|
8034
8034
|
function Cl(n, a) {
|
|
8035
|
-
return n != null && uf(n, a,
|
|
8035
|
+
return n != null && uf(n, a, v2);
|
|
8036
8036
|
}
|
|
8037
|
-
var
|
|
8037
|
+
var Zv = Jc(function(n, a, l) {
|
|
8038
8038
|
a != null && typeof a.toString != "function" && (a = no.call(a)), n[a] = l;
|
|
8039
|
-
}, Sl(Ke)),
|
|
8039
|
+
}, Sl(Ke)), Qv = Jc(function(n, a, l) {
|
|
8040
8040
|
a != null && typeof a.toString != "function" && (a = no.call(a)), Ht.call(n, a) ? n[a].push(l) : n[a] = [l];
|
|
8041
|
-
}, ut),
|
|
8041
|
+
}, ut), Kv = wt(js);
|
|
8042
8042
|
function be(n) {
|
|
8043
|
-
return Ze(n) ?
|
|
8043
|
+
return Ze(n) ? mc(n) : Ku(n);
|
|
8044
8044
|
}
|
|
8045
8045
|
function Qe(n) {
|
|
8046
|
-
return Ze(n) ?
|
|
8046
|
+
return Ze(n) ? mc(n, !0) : S2(n);
|
|
8047
8047
|
}
|
|
8048
|
-
function
|
|
8048
|
+
function jv(n, a) {
|
|
8049
8049
|
var l = {};
|
|
8050
8050
|
return a = ut(a, 3), ri(n, function(f, g, x) {
|
|
8051
8051
|
Ti(l, a(f, g, x), f);
|
|
8052
8052
|
}), l;
|
|
8053
8053
|
}
|
|
8054
|
-
function
|
|
8054
|
+
function Jv(n, a) {
|
|
8055
8055
|
var l = {};
|
|
8056
8056
|
return a = ut(a, 3), ri(n, function(f, g, x) {
|
|
8057
8057
|
Ti(l, g, a(f, g, x));
|
|
@@ -8159,14 +8159,14 @@ ou.exports;
|
|
|
8159
8159
|
function y1(n, a, l) {
|
|
8160
8160
|
n = Ft(n), a = fr(a);
|
|
8161
8161
|
var f = n.length;
|
|
8162
|
-
l = l === t ? f : Nn(
|
|
8162
|
+
l = l === t ? f : Nn(vt(l), 0, f);
|
|
8163
8163
|
var g = l;
|
|
8164
8164
|
return l -= a.length, l >= 0 && n.slice(l, g) == a;
|
|
8165
8165
|
}
|
|
8166
|
-
function
|
|
8166
|
+
function m1(n) {
|
|
8167
8167
|
return n = Ft(n), n && An.test(n) ? n.replace(Gi, a0) : n;
|
|
8168
8168
|
}
|
|
8169
|
-
function
|
|
8169
|
+
function v1(n) {
|
|
8170
8170
|
return n = Ft(n), n && bu.test(n) ? n.replace(Zi, "\\$&") : n;
|
|
8171
8171
|
}
|
|
8172
8172
|
var x1 = fs(function(n, a, l) {
|
|
@@ -8175,7 +8175,7 @@ ou.exports;
|
|
|
8175
8175
|
return n + (l ? " " : "") + a.toLowerCase();
|
|
8176
8176
|
}), A1 = Qc("toLowerCase");
|
|
8177
8177
|
function b1(n, a, l) {
|
|
8178
|
-
n = Ft(n), a =
|
|
8178
|
+
n = Ft(n), a = vt(a);
|
|
8179
8179
|
var f = a ? ss(n) : 0;
|
|
8180
8180
|
if (!a || f >= a)
|
|
8181
8181
|
return n;
|
|
@@ -8183,12 +8183,12 @@ ou.exports;
|
|
|
8183
8183
|
return _o(co(g), l) + n + _o(ho(g), l);
|
|
8184
8184
|
}
|
|
8185
8185
|
function w1(n, a, l) {
|
|
8186
|
-
n = Ft(n), a =
|
|
8186
|
+
n = Ft(n), a = vt(a);
|
|
8187
8187
|
var f = a ? ss(n) : 0;
|
|
8188
8188
|
return a && f < a ? n + _o(a - f, l) : n;
|
|
8189
8189
|
}
|
|
8190
8190
|
function T1(n, a, l) {
|
|
8191
|
-
n = Ft(n), a =
|
|
8191
|
+
n = Ft(n), a = vt(a);
|
|
8192
8192
|
var f = a ? ss(n) : 0;
|
|
8193
8193
|
return a && f < a ? _o(a - f, l) + n : n;
|
|
8194
8194
|
}
|
|
@@ -8196,7 +8196,7 @@ ou.exports;
|
|
|
8196
8196
|
return l || a == null ? a = 0 : a && (a = +a), N0(Ft(n).replace(Fs, ""), a || 0);
|
|
8197
8197
|
}
|
|
8198
8198
|
function C1(n, a, l) {
|
|
8199
|
-
return (l ? qe(n, a, l) : a === t) ? a = 1 : a =
|
|
8199
|
+
return (l ? qe(n, a, l) : a === t) ? a = 1 : a = vt(a), el(Ft(n), a);
|
|
8200
8200
|
}
|
|
8201
8201
|
function D1() {
|
|
8202
8202
|
var n = arguments, a = Ft(n[0]);
|
|
@@ -8212,10 +8212,10 @@ ou.exports;
|
|
|
8212
8212
|
return n + (l ? " " : "") + Dl(a);
|
|
8213
8213
|
});
|
|
8214
8214
|
function L1(n, a, l) {
|
|
8215
|
-
return n = Ft(n), l = l == null ? 0 : Nn(
|
|
8215
|
+
return n = Ft(n), l = l == null ? 0 : Nn(vt(l), 0, n.length), a = fr(a), n.slice(l, l + a.length) == a;
|
|
8216
8216
|
}
|
|
8217
8217
|
function N1(n, a, l) {
|
|
8218
|
-
var f =
|
|
8218
|
+
var f = v.templateSettings;
|
|
8219
8219
|
l && qe(n, a, l) && (a = t), n = Ft(n), a = Fo({}, a, f, nf);
|
|
8220
8220
|
var g = Fo({}, a.imports, f.imports, nf), x = be(g), w = ku(g, x), D, M, $ = 0, G = a.interpolate || Kn, X = "__p += '", J = Uu(
|
|
8221
8221
|
(a.escape || Kn).source + "|" + G.source + "|" + (G === bn ? Xa : Kn).source + "|" + (a.evaluate || Kn).source + "|$",
|
|
@@ -8288,7 +8288,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8288
8288
|
var l = K, f = rt;
|
|
8289
8289
|
if (jt(a)) {
|
|
8290
8290
|
var g = "separator" in a ? a.separator : g;
|
|
8291
|
-
l = "length" in a ?
|
|
8291
|
+
l = "length" in a ? vt(a.length) : l, f = "omission" in a ? fr(a.omission) : f;
|
|
8292
8292
|
}
|
|
8293
8293
|
n = Ft(n);
|
|
8294
8294
|
var x = n.length;
|
|
@@ -8324,7 +8324,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8324
8324
|
return n + (l ? " " : "") + a.toUpperCase();
|
|
8325
8325
|
}), Dl = Qc("toUpperCase");
|
|
8326
8326
|
function Zf(n, a, l) {
|
|
8327
|
-
return n = Ft(n), a = l ? t : a, a === t ? l0(n) ?
|
|
8327
|
+
return n = Ft(n), a = l ? t : a, a === t ? l0(n) ? m0(n) : t0(n) : n.match(a) || [];
|
|
8328
8328
|
}
|
|
8329
8329
|
var Qf = wt(function(n, a) {
|
|
8330
8330
|
try {
|
|
@@ -8385,8 +8385,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8385
8385
|
};
|
|
8386
8386
|
});
|
|
8387
8387
|
function Ml(n, a, l) {
|
|
8388
|
-
var f = be(a), g =
|
|
8389
|
-
l == null && !(jt(a) && (g.length || !f.length)) && (l = a, a = n, n = this, g =
|
|
8388
|
+
var f = be(a), g = vo(a, f);
|
|
8389
|
+
l == null && !(jt(a) && (g.length || !f.length)) && (l = a, a = n, n = this, g = vo(a, be(a)));
|
|
8390
8390
|
var x = !(jt(l) && "chain" in l) || !!l.chain, w = Si(n);
|
|
8391
8391
|
return Tr(g, function(D) {
|
|
8392
8392
|
var M = a[D];
|
|
@@ -8406,7 +8406,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8406
8406
|
function Ll() {
|
|
8407
8407
|
}
|
|
8408
8408
|
function j1(n) {
|
|
8409
|
-
return n =
|
|
8409
|
+
return n = vt(n), wt(function(a) {
|
|
8410
8410
|
return Nc(a, n);
|
|
8411
8411
|
});
|
|
8412
8412
|
}
|
|
@@ -8436,7 +8436,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8436
8436
|
return !0;
|
|
8437
8437
|
}
|
|
8438
8438
|
function ux(n, a) {
|
|
8439
|
-
if (n =
|
|
8439
|
+
if (n = vt(n), n < 1 || n > Pt)
|
|
8440
8440
|
return [];
|
|
8441
8441
|
var l = ue, f = Ne(n, ue);
|
|
8442
8442
|
a = ut(a), n -= ue;
|
|
@@ -8445,7 +8445,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8445
8445
|
return g;
|
|
8446
8446
|
}
|
|
8447
8447
|
function lx(n) {
|
|
8448
|
-
return yt(n) ? Xt(n, ni) : pr(n) ? [n] : Xe(
|
|
8448
|
+
return yt(n) ? Xt(n, ni) : pr(n) ? [n] : Xe(mf(Ft(n)));
|
|
8449
8449
|
}
|
|
8450
8450
|
function hx(n) {
|
|
8451
8451
|
var a = ++A0;
|
|
@@ -8457,22 +8457,22 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8457
8457
|
return n / a;
|
|
8458
8458
|
}, 1), dx = ll("floor");
|
|
8459
8459
|
function gx(n) {
|
|
8460
|
-
return n && n.length ?
|
|
8460
|
+
return n && n.length ? mo(n, Ke, Xu) : t;
|
|
8461
8461
|
}
|
|
8462
8462
|
function yx(n, a) {
|
|
8463
|
-
return n && n.length ?
|
|
8463
|
+
return n && n.length ? mo(n, ut(a, 2), Xu) : t;
|
|
8464
8464
|
}
|
|
8465
|
-
function
|
|
8465
|
+
function mx(n) {
|
|
8466
8466
|
return rc(n, Ke);
|
|
8467
8467
|
}
|
|
8468
|
-
function
|
|
8468
|
+
function vx(n, a) {
|
|
8469
8469
|
return rc(n, ut(a, 2));
|
|
8470
8470
|
}
|
|
8471
8471
|
function xx(n) {
|
|
8472
|
-
return n && n.length ?
|
|
8472
|
+
return n && n.length ? mo(n, Ke, ju) : t;
|
|
8473
8473
|
}
|
|
8474
8474
|
function Ex(n, a) {
|
|
8475
|
-
return n && n.length ?
|
|
8475
|
+
return n && n.length ? mo(n, ut(a, 2), ju) : t;
|
|
8476
8476
|
}
|
|
8477
8477
|
var Ax = To(function(n, a) {
|
|
8478
8478
|
return n * a;
|
|
@@ -8485,16 +8485,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8485
8485
|
function _x(n, a) {
|
|
8486
8486
|
return n && n.length ? Pu(n, ut(a, 2)) : 0;
|
|
8487
8487
|
}
|
|
8488
|
-
return
|
|
8488
|
+
return v.after = Ym, v.ary = Sf, v.assign = Iv, v.assignIn = Vf, v.assignInWith = Fo, v.assignWith = Rv, v.at = Pv, v.before = Of, v.bind = Al, v.bindAll = q1, v.bindKey = Mf, v.castArray = sv, v.chain = _f, v.chunk = dy, v.compact = gy, v.concat = yy, v.cond = V1, v.conforms = W1, v.constant = Sl, v.countBy = Tm, v.create = Fv, v.curry = Lf, v.curryRight = Nf, v.debounce = Bf, v.defaults = kv, v.defaultsDeep = Hv, v.defer = Xm, v.delay = Zm, v.difference = my, v.differenceBy = vy, v.differenceWith = xy, v.drop = Ey, v.dropRight = Ay, v.dropRightWhile = by, v.dropWhile = wy, v.fill = Ty, v.filter = Cm, v.flatMap = Om, v.flatMapDeep = Mm, v.flatMapDepth = Lm, v.flatten = Af, v.flattenDeep = _y, v.flattenDepth = Cy, v.flip = Qm, v.flow = $1, v.flowRight = G1, v.fromPairs = Dy, v.functions = Gv, v.functionsIn = Yv, v.groupBy = Nm, v.initial = Oy, v.intersection = My, v.intersectionBy = Ly, v.intersectionWith = Ny, v.invert = Zv, v.invertBy = Qv, v.invokeMap = Im, v.iteratee = Ol, v.keyBy = Rm, v.keys = be, v.keysIn = Qe, v.map = Lo, v.mapKeys = jv, v.mapValues = Jv, v.matches = Y1, v.matchesProperty = X1, v.memoize = Bo, v.merge = t1, v.mergeWith = Wf, v.method = Z1, v.methodOf = Q1, v.mixin = Ml, v.negate = Io, v.nthArg = j1, v.omit = e1, v.omitBy = r1, v.once = Km, v.orderBy = Pm, v.over = J1, v.overArgs = jm, v.overEvery = tx, v.overSome = ex, v.partial = bl, v.partialRight = If, v.partition = Fm, v.pick = i1, v.pickBy = zf, v.property = Kf, v.propertyOf = rx, v.pull = Py, v.pullAll = wf, v.pullAllBy = Fy, v.pullAllWith = ky, v.pullAt = Hy, v.range = ix, v.rangeRight = nx, v.rearg = Jm, v.reject = Um, v.remove = Uy, v.rest = tv, v.reverse = xl, v.sampleSize = Vm, v.set = s1, v.setWith = a1, v.shuffle = Wm, v.slice = qy, v.sortBy = Gm, v.sortedUniq = Xy, v.sortedUniqBy = Zy, v.split = O1, v.spread = ev, v.tail = Qy, v.take = Ky, v.takeRight = jy, v.takeRightWhile = Jy, v.takeWhile = tm, v.tap = gm, v.throttle = rv, v.thru = Mo, v.toArray = Hf, v.toPairs = $f, v.toPairsIn = Gf, v.toPath = lx, v.toPlainObject = qf, v.transform = o1, v.unary = iv, v.union = em, v.unionBy = rm, v.unionWith = im, v.uniq = nm, v.uniqBy = sm, v.uniqWith = am, v.unset = u1, v.unzip = El, v.unzipWith = Tf, v.update = l1, v.updateWith = h1, v.values = gs, v.valuesIn = c1, v.without = om, v.words = Zf, v.wrap = nv, v.xor = um, v.xorBy = lm, v.xorWith = hm, v.zip = cm, v.zipObject = fm, v.zipObjectDeep = pm, v.zipWith = dm, v.entries = $f, v.entriesIn = Gf, v.extend = Vf, v.extendWith = Fo, Ml(v, v), v.add = cx, v.attempt = Qf, v.camelCase = g1, v.capitalize = Yf, v.ceil = fx, v.clamp = f1, v.clone = av, v.cloneDeep = uv, v.cloneDeepWith = lv, v.cloneWith = ov, v.conformsTo = hv, v.deburr = Xf, v.defaultTo = z1, v.divide = px, v.endsWith = y1, v.eq = Ur, v.escape = m1, v.escapeRegExp = v1, v.every = _m, v.find = Dm, v.findIndex = xf, v.findKey = Uv, v.findLast = Sm, v.findLastIndex = Ef, v.findLastKey = qv, v.floor = dx, v.forEach = Cf, v.forEachRight = Df, v.forIn = Vv, v.forInRight = Wv, v.forOwn = zv, v.forOwnRight = $v, v.get = _l, v.gt = cv, v.gte = fv, v.has = Xv, v.hasIn = Cl, v.head = bf, v.identity = Ke, v.includes = Bm, v.indexOf = Sy, v.inRange = p1, v.invoke = Kv, v.isArguments = Pn, v.isArray = yt, v.isArrayBuffer = pv, v.isArrayLike = Ze, v.isArrayLikeObject = ne, v.isBoolean = dv, v.isBuffer = on, v.isDate = gv, v.isElement = yv, v.isEmpty = mv, v.isEqual = vv, v.isEqualWith = xv, v.isError = wl, v.isFinite = Ev, v.isFunction = Si, v.isInteger = Rf, v.isLength = Ro, v.isMap = Pf, v.isMatch = Av, v.isMatchWith = bv, v.isNaN = wv, v.isNative = Tv, v.isNil = Cv, v.isNull = _v, v.isNumber = Ff, v.isObject = jt, v.isObjectLike = re, v.isPlainObject = na, v.isRegExp = Tl, v.isSafeInteger = Dv, v.isSet = kf, v.isString = Po, v.isSymbol = pr, v.isTypedArray = ds, v.isUndefined = Sv, v.isWeakMap = Ov, v.isWeakSet = Mv, v.join = By, v.kebabCase = x1, v.last = Or, v.lastIndexOf = Iy, v.lowerCase = E1, v.lowerFirst = A1, v.lt = Lv, v.lte = Nv, v.max = gx, v.maxBy = yx, v.mean = mx, v.meanBy = vx, v.min = xx, v.minBy = Ex, v.stubArray = Nl, v.stubFalse = Bl, v.stubObject = sx, v.stubString = ax, v.stubTrue = ox, v.multiply = Ax, v.nth = Ry, v.noConflict = K1, v.noop = Ll, v.now = No, v.pad = b1, v.padEnd = w1, v.padStart = T1, v.parseInt = _1, v.random = d1, v.reduce = km, v.reduceRight = Hm, v.repeat = C1, v.replace = D1, v.result = n1, v.round = bx, v.runInContext = S, v.sample = qm, v.size = zm, v.snakeCase = S1, v.some = $m, v.sortedIndex = Vy, v.sortedIndexBy = Wy, v.sortedIndexOf = zy, v.sortedLastIndex = $y, v.sortedLastIndexBy = Gy, v.sortedLastIndexOf = Yy, v.startCase = M1, v.startsWith = L1, v.subtract = wx, v.sum = Tx, v.sumBy = _x, v.template = N1, v.times = ux, v.toFinite = Oi, v.toInteger = vt, v.toLength = Uf, v.toLower = B1, v.toNumber = Mr, v.toSafeInteger = Bv, v.toString = Ft, v.toUpper = I1, v.trim = R1, v.trimEnd = P1, v.trimStart = F1, v.truncate = k1, v.unescape = H1, v.uniqueId = hx, v.upperCase = U1, v.upperFirst = Dl, v.each = Cf, v.eachRight = Df, v.first = bf, Ml(v, function() {
|
|
8489
8489
|
var n = {};
|
|
8490
|
-
return ri(
|
|
8491
|
-
Ht.call(
|
|
8490
|
+
return ri(v, function(a, l) {
|
|
8491
|
+
Ht.call(v.prototype, l) || (n[l] = a);
|
|
8492
8492
|
}), n;
|
|
8493
|
-
}(), { chain: !1 }),
|
|
8494
|
-
|
|
8493
|
+
}(), { chain: !1 }), v.VERSION = r, Tr(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(n) {
|
|
8494
|
+
v[n].placeholder = v;
|
|
8495
8495
|
}), Tr(["drop", "take"], function(n, a) {
|
|
8496
8496
|
Ct.prototype[n] = function(l) {
|
|
8497
|
-
l = l === t ? 1 :
|
|
8497
|
+
l = l === t ? 1 : ve(vt(l), 0);
|
|
8498
8498
|
var f = this.__filtered__ && !a ? new Ct(this) : this.clone();
|
|
8499
8499
|
return f.__filtered__ ? f.__takeCount__ = Ne(l, f.__takeCount__) : f.__views__.push({
|
|
8500
8500
|
size: Ne(l, ue),
|
|
@@ -8535,18 +8535,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8535
8535
|
}), Ct.prototype.reject = function(n) {
|
|
8536
8536
|
return this.filter(Io(ut(n)));
|
|
8537
8537
|
}, Ct.prototype.slice = function(n, a) {
|
|
8538
|
-
n =
|
|
8538
|
+
n = vt(n);
|
|
8539
8539
|
var l = this;
|
|
8540
|
-
return l.__filtered__ && (n > 0 || a < 0) ? new Ct(l) : (n < 0 ? l = l.takeRight(-n) : n && (l = l.drop(n)), a !== t && (a =
|
|
8540
|
+
return l.__filtered__ && (n > 0 || a < 0) ? new Ct(l) : (n < 0 ? l = l.takeRight(-n) : n && (l = l.drop(n)), a !== t && (a = vt(a), l = a < 0 ? l.dropRight(-a) : l.take(a - n)), l);
|
|
8541
8541
|
}, Ct.prototype.takeRightWhile = function(n) {
|
|
8542
8542
|
return this.reverse().takeWhile(n).reverse();
|
|
8543
8543
|
}, Ct.prototype.toArray = function() {
|
|
8544
8544
|
return this.take(ue);
|
|
8545
8545
|
}, ri(Ct.prototype, function(n, a) {
|
|
8546
|
-
var l = /^(?:filter|find|map|reject)|While$/.test(a), f = /^(?:head|last)$/.test(a), g =
|
|
8547
|
-
g && (
|
|
8546
|
+
var l = /^(?:filter|find|map|reject)|While$/.test(a), f = /^(?:head|last)$/.test(a), g = v[f ? "take" + (a == "last" ? "Right" : "") : a], x = f || /^find/.test(a);
|
|
8547
|
+
g && (v.prototype[a] = function() {
|
|
8548
8548
|
var w = this.__wrapped__, D = f ? [1] : arguments, M = w instanceof Ct, $ = D[0], G = M || yt(w), X = function(_t) {
|
|
8549
|
-
var Ot = g.apply(
|
|
8549
|
+
var Ot = g.apply(v, Ji([_t], D));
|
|
8550
8550
|
return f && J ? Ot[0] : Ot;
|
|
8551
8551
|
};
|
|
8552
8552
|
G && l && typeof $ == "function" && $.length != 1 && (M = G = !1);
|
|
@@ -8560,7 +8560,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8560
8560
|
});
|
|
8561
8561
|
}), Tr(["pop", "push", "shift", "sort", "splice", "unshift"], function(n) {
|
|
8562
8562
|
var a = eo[n], l = /^(?:push|sort|unshift)$/.test(n) ? "tap" : "thru", f = /^(?:pop|shift)$/.test(n);
|
|
8563
|
-
|
|
8563
|
+
v.prototype[n] = function() {
|
|
8564
8564
|
var g = arguments;
|
|
8565
8565
|
if (f && !this.__chain__) {
|
|
8566
8566
|
var x = this.value();
|
|
@@ -8571,7 +8571,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8571
8571
|
});
|
|
8572
8572
|
};
|
|
8573
8573
|
}), ri(Ct.prototype, function(n, a) {
|
|
8574
|
-
var l =
|
|
8574
|
+
var l = v[a];
|
|
8575
8575
|
if (l) {
|
|
8576
8576
|
var f = l.name + "";
|
|
8577
8577
|
Ht.call(ls, f) || (ls[f] = []), ls[f].push({ name: a, func: l });
|
|
@@ -8579,8 +8579,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
8579
8579
|
}), ls[wo(t, P).name] = [{
|
|
8580
8580
|
name: "wrapper",
|
|
8581
8581
|
func: t
|
|
8582
|
-
}], Ct.prototype.clone = H0, Ct.prototype.reverse = U0, Ct.prototype.value = q0,
|
|
8583
|
-
}, as =
|
|
8582
|
+
}], Ct.prototype.clone = H0, Ct.prototype.reverse = U0, Ct.prototype.value = q0, v.prototype.at = ym, v.prototype.chain = mm, v.prototype.commit = vm, v.prototype.next = xm, v.prototype.plant = Am, v.prototype.reverse = bm, v.prototype.toJSON = v.prototype.valueOf = v.prototype.value = wm, v.prototype.first = v.prototype.head, $s && (v.prototype[$s] = Em), v;
|
|
8583
|
+
}, as = v0();
|
|
8584
8584
|
Sn ? ((Sn.exports = as)._ = as, Ou._ = as) : _e._ = as;
|
|
8585
8585
|
}).call(aa);
|
|
8586
8586
|
})(ou, ou.exports);
|
|
@@ -8752,7 +8752,7 @@ class Mt {
|
|
|
8752
8752
|
const As = new Mt(), ca = [new k(), new k(), new k(), new k()], je = new k(), si = new k(), lT = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
8753
8753
|
__proto__: null,
|
|
8754
8754
|
default: Mt
|
|
8755
|
-
}, Symbol.toStringTag, { value: "Module" })), EE = zt.window.requestAnimationFrame, fa = zt.window.performance ? () => zt.window.performance.now() : () => (/* @__PURE__ */ new Date()).getTime(),
|
|
8755
|
+
}, Symbol.toStringTag, { value: "Module" })), EE = zt.window.requestAnimationFrame, fa = zt.window.performance ? () => zt.window.performance.now() : () => (/* @__PURE__ */ new Date()).getTime(), mp = EE, Bt = class Bt {
|
|
8756
8756
|
constructor() {
|
|
8757
8757
|
d(this, "id", Bt.idCounter++);
|
|
8758
8758
|
// timers
|
|
@@ -8776,10 +8776,10 @@ const As = new Mt(), ca = [new k(), new k(), new k(), new k()], je = new k(), si
|
|
|
8776
8776
|
}
|
|
8777
8777
|
}
|
|
8778
8778
|
static handleStart() {
|
|
8779
|
-
this.isRunning || (this.isRunning = !0,
|
|
8779
|
+
this.isRunning || (this.isRunning = !0, mp(this.runLoop));
|
|
8780
8780
|
}
|
|
8781
8781
|
static runLoop() {
|
|
8782
|
-
Bt.children.length ? (Bt.runFrames(),
|
|
8782
|
+
Bt.children.length ? (Bt.runFrames(), mp(Bt.runLoop)) : Bt.isRunning = !1;
|
|
8783
8783
|
}
|
|
8784
8784
|
static runFrames() {
|
|
8785
8785
|
let e, t = fa();
|
|
@@ -8876,7 +8876,7 @@ const As = new Mt(), ca = [new k(), new k(), new k(), new k()], je = new k(), si
|
|
|
8876
8876
|
d(Bt, "idCounter", 0), d(Bt, "children", []), d(Bt, "isRunning", !1), d(Bt, "actived", !1), d(Bt, "duration", 0), d(Bt, "lastTime", fa()), d(Bt, "messages", []), // { avg, min, max, stdDev, count }
|
|
8877
8877
|
d(Bt, "maxLetters", 20);
|
|
8878
8878
|
let Ma = Bt;
|
|
8879
|
-
const yu = 20,
|
|
8879
|
+
const yu = 20, mu = ["avg", "min", "max", "stdDev", "count", "FPS"], li = CE(mu, 1), AE = _E(mu, yu), bE = DE(mu, yu), wE = SE(mu, yu), TE = ME(yu);
|
|
8880
8880
|
function _E(i, e = 20) {
|
|
8881
8881
|
let t = "┌";
|
|
8882
8882
|
t += "─".repeat(e), t += "┬";
|
|
@@ -8929,19 +8929,19 @@ function Ud(i, e = []) {
|
|
|
8929
8929
|
var t, r;
|
|
8930
8930
|
return !i || !i.value || (e.push(i.value), (t = i.children) != null && t.length && ((r = i.children) == null || r.forEach((s) => Ud(s, e)))), e;
|
|
8931
8931
|
}
|
|
8932
|
-
var
|
|
8933
|
-
const Ns = "ae", qd = "-", hh = "rm-assets", LE = "rm-labels",
|
|
8932
|
+
var mr = /* @__PURE__ */ ((i) => (i.GROS = "gros", i.RM = "rm", i.WS = "ws", i.SU = "su", i.EQ = "eq", i.FN = "fn", i.GL = "gl", i.IP = "ip", i))(mr || {}), vu = /* @__PURE__ */ ((i) => (i.BACKGROUND = "background", i.ASSETS = "assets", i.ANNOTATIONS = "annotations", i.TEXT = "text", i.ASSET_LABELS = "asset-labels", i.LABELS = "labels", i))(vu || {});
|
|
8933
|
+
const Ns = "ae", qd = "-", hh = "rm-assets", LE = "rm-labels", vp = "ws-assets", xp = "ws-labels";
|
|
8934
8934
|
function wa(i) {
|
|
8935
|
-
return i + qd +
|
|
8935
|
+
return i + qd + vu.ASSETS;
|
|
8936
8936
|
}
|
|
8937
8937
|
function tu(i) {
|
|
8938
|
-
return i + qd +
|
|
8938
|
+
return i + qd + vu.LABELS;
|
|
8939
8939
|
}
|
|
8940
8940
|
const NE = {
|
|
8941
8941
|
rm: ["su-assets", "su-labels", "eq-assets", "eq-labels", "fn-assets", "fn-labels"],
|
|
8942
8942
|
ws: ["su-assets", "su-labels", "eq-assets", "eq-labels", "fn-assets", "fn-labels"],
|
|
8943
|
-
su: [hh, LE,
|
|
8944
|
-
eq: [
|
|
8943
|
+
su: [hh, LE, vp, xp, "eq-assets", "eq-labels", "fn-assets", "fn-labels"],
|
|
8944
|
+
eq: [vp, xp, "su-assets", "su-labels", "fn-assets", "fn-labels"]
|
|
8945
8945
|
};
|
|
8946
8946
|
class sr {
|
|
8947
8947
|
constructor() {
|
|
@@ -9734,7 +9734,7 @@ class zE extends $d {
|
|
|
9734
9734
|
}));
|
|
9735
9735
|
}
|
|
9736
9736
|
//@ts-ignore
|
|
9737
|
-
getIntersectObjects(t, r =
|
|
9737
|
+
getIntersectObjects(t, r = mr.RM, s = []) {
|
|
9738
9738
|
throw new Error("must be implemented in derived");
|
|
9739
9739
|
}
|
|
9740
9740
|
}
|
|
@@ -10282,7 +10282,7 @@ function nA(i = 0) {
|
|
|
10282
10282
|
return o.type & R.CLOSE_PATH && p(u - c) <= i && p(h - y) <= i && (A = !0), A ? [] : o;
|
|
10283
10283
|
});
|
|
10284
10284
|
}
|
|
10285
|
-
function
|
|
10285
|
+
function mn(i, e, t, r, s, o) {
|
|
10286
10286
|
return Xr(i, e, t, r, s, o), Zr((u, h, c, y) => {
|
|
10287
10287
|
const p = u.x1, A = u.x2, T = u.relative && !isNaN(y), C = typeof u.x != "undefined" ? u.x : T ? 0 : h, N = typeof u.y != "undefined" ? u.y : T ? 0 : c;
|
|
10288
10288
|
u.type & R.HORIZ_LINE_TO && e !== 0 && (u.type = R.LINE_TO, u.y = u.relative ? 0 : c), u.type & R.VERT_LINE_TO && t !== 0 && (u.type = R.LINE_TO, u.x = u.relative ? 0 : h), typeof u.x != "undefined" && (u.x = u.x * i + N * t + (T ? 0 : s)), typeof u.y != "undefined" && (u.y = C * e + u.y * r + (T ? 0 : o)), typeof u.x1 != "undefined" && (u.x1 = u.x1 * i + u.y1 * t + (T ? 0 : s)), typeof u.y1 != "undefined" && (u.y1 = p * e + u.y1 * r + (T ? 0 : o)), typeof u.x2 != "undefined" && (u.x2 = u.x2 * i + u.y2 * t + (T ? 0 : s)), typeof u.y2 != "undefined" && (u.y2 = A * e + u.y2 * r + (T ? 0 : o));
|
|
@@ -10303,25 +10303,25 @@ function vn(i, e, t, r, s, o) {
|
|
|
10303
10303
|
function sA(i, e = 0, t = 0) {
|
|
10304
10304
|
Xr(i, e, t);
|
|
10305
10305
|
const r = Math.sin(i), s = Math.cos(i);
|
|
10306
|
-
return
|
|
10306
|
+
return mn(s, r, -r, s, e - e * s + t * r, t - e * r - t * s);
|
|
10307
10307
|
}
|
|
10308
10308
|
function aA(i, e = 0) {
|
|
10309
|
-
return Xr(i, e),
|
|
10309
|
+
return Xr(i, e), mn(1, 0, 0, 1, i, e);
|
|
10310
10310
|
}
|
|
10311
10311
|
function oA(i, e = i) {
|
|
10312
|
-
return Xr(i, e),
|
|
10312
|
+
return Xr(i, e), mn(i, 0, 0, e, 0, 0);
|
|
10313
10313
|
}
|
|
10314
10314
|
function uA(i) {
|
|
10315
|
-
return Xr(i),
|
|
10315
|
+
return Xr(i), mn(1, 0, Math.tan(i), 1, 0, 0);
|
|
10316
10316
|
}
|
|
10317
10317
|
function lA(i) {
|
|
10318
|
-
return Xr(i),
|
|
10318
|
+
return Xr(i), mn(1, Math.tan(i), 0, 1, 0, 0);
|
|
10319
10319
|
}
|
|
10320
10320
|
function hA(i = 0) {
|
|
10321
|
-
return Xr(i),
|
|
10321
|
+
return Xr(i), mn(-1, 0, 0, 1, i, 0);
|
|
10322
10322
|
}
|
|
10323
10323
|
function cA(i = 0) {
|
|
10324
|
-
return Xr(i),
|
|
10324
|
+
return Xr(i), mn(1, 0, 0, -1, 0, i);
|
|
10325
10325
|
}
|
|
10326
10326
|
function fA() {
|
|
10327
10327
|
return Zr((i, e, t) => R.ARC === i.type ? JE(i, i.relative ? 0 : e, i.relative ? 0 : t) : i);
|
|
@@ -10375,7 +10375,7 @@ const de = {
|
|
|
10375
10375
|
QT_TO_C: Qd,
|
|
10376
10376
|
INFO: Zr,
|
|
10377
10377
|
SANITIZE: nA,
|
|
10378
|
-
MATRIX:
|
|
10378
|
+
MATRIX: mn,
|
|
10379
10379
|
ROTATE: sA,
|
|
10380
10380
|
TRANSLATE: aA,
|
|
10381
10381
|
SCALE: oA,
|
|
@@ -10494,7 +10494,7 @@ let yA = class extends jd {
|
|
|
10494
10494
|
} else if ((this.curArgs.length === 3 || this.curArgs.length === 4) && this.curNumber !== "0" && this.curNumber !== "1")
|
|
10495
10495
|
throw new SyntaxError(`Expected a flag, got "${this.curNumber}" at index "${o}"`);
|
|
10496
10496
|
}
|
|
10497
|
-
this.curArgs.push(y), this.curArgs.length ===
|
|
10497
|
+
this.curArgs.push(y), this.curArgs.length === mA[this.curCommandType] && (R.HORIZ_LINE_TO === this.curCommandType ? s({
|
|
10498
10498
|
type: R.HORIZ_LINE_TO,
|
|
10499
10499
|
relative: this.curCommandRelative,
|
|
10500
10500
|
x: y
|
|
@@ -10644,7 +10644,7 @@ let R = (kt = class extends jd {
|
|
|
10644
10644
|
return r.parse(t, s), r.finish(s), s;
|
|
10645
10645
|
}
|
|
10646
10646
|
}, d(kt, "CLOSE_PATH", 1), d(kt, "MOVE_TO", 2), d(kt, "HORIZ_LINE_TO", 4), d(kt, "VERT_LINE_TO", 8), d(kt, "LINE_TO", 16), d(kt, "CURVE_TO", 32), d(kt, "SMOOTH_CURVE_TO", 64), d(kt, "QUAD_TO", 128), d(kt, "SMOOTH_QUAD_TO", 256), d(kt, "ARC", 512), d(kt, "LINE_COMMANDS", kt.LINE_TO | kt.HORIZ_LINE_TO | kt.VERT_LINE_TO), d(kt, "DRAWING_COMMANDS", kt.HORIZ_LINE_TO | kt.VERT_LINE_TO | kt.LINE_TO | kt.CURVE_TO | kt.SMOOTH_CURVE_TO | kt.QUAD_TO | kt.SMOOTH_QUAD_TO | kt.ARC), kt);
|
|
10647
|
-
const
|
|
10647
|
+
const mA = {
|
|
10648
10648
|
[R.MOVE_TO]: 2,
|
|
10649
10649
|
[R.LINE_TO]: 2,
|
|
10650
10650
|
[R.HORIZ_LINE_TO]: 1,
|
|
@@ -10656,7 +10656,7 @@ const vA = {
|
|
|
10656
10656
|
[R.SMOOTH_CURVE_TO]: 4,
|
|
10657
10657
|
[R.ARC]: 7
|
|
10658
10658
|
}, pe = " ";
|
|
10659
|
-
function
|
|
10659
|
+
function vA(i) {
|
|
10660
10660
|
let e = "";
|
|
10661
10661
|
Array.isArray(i) || (i = [i]);
|
|
10662
10662
|
for (let t = 0; t < i.length; t++) {
|
|
@@ -10937,7 +10937,7 @@ const Vt = class Vt extends Jd {
|
|
|
10937
10937
|
), this;
|
|
10938
10938
|
}
|
|
10939
10939
|
static encode(e) {
|
|
10940
|
-
return
|
|
10940
|
+
return vA(e);
|
|
10941
10941
|
}
|
|
10942
10942
|
static parse(e) {
|
|
10943
10943
|
const t = new EA(), r = [];
|
|
@@ -11229,7 +11229,7 @@ function SA(i = 0) {
|
|
|
11229
11229
|
return o.type & V.CLOSE_PATH && p(u - c) <= i && p(h - y) <= i && (A = !0), A ? [] : o;
|
|
11230
11230
|
});
|
|
11231
11231
|
}
|
|
11232
|
-
function
|
|
11232
|
+
function vn(i, e, t, r, s, o) {
|
|
11233
11233
|
return Qr(i, e, t, r, s, o), Kr((u, h, c, y) => {
|
|
11234
11234
|
const p = u.x1, A = u.x2, T = u.relative && !isNaN(y), C = typeof u.x != "undefined" ? u.x : T ? 0 : h, N = typeof u.y != "undefined" ? u.y : T ? 0 : c;
|
|
11235
11235
|
u.type & V.HORIZ_LINE_TO && e !== 0 && (u.type = V.LINE_TO, u.y = u.relative ? 0 : c), u.type & V.VERT_LINE_TO && t !== 0 && (u.type = V.LINE_TO, u.x = u.relative ? 0 : h), typeof u.x != "undefined" && (u.x = u.x * i + N * t + (T ? 0 : s)), typeof u.y != "undefined" && (u.y = C * e + u.y * r + (T ? 0 : o)), typeof u.x1 != "undefined" && (u.x1 = u.x1 * i + u.y1 * t + (T ? 0 : s)), typeof u.y1 != "undefined" && (u.y1 = p * e + u.y1 * r + (T ? 0 : o)), typeof u.x2 != "undefined" && (u.x2 = u.x2 * i + u.y2 * t + (T ? 0 : s)), typeof u.y2 != "undefined" && (u.y2 = A * e + u.y2 * r + (T ? 0 : o));
|
|
@@ -11254,7 +11254,7 @@ function mn(i, e, t, r, s, o) {
|
|
|
11254
11254
|
function OA(i, e = 0, t = 0) {
|
|
11255
11255
|
Qr(i, e, t);
|
|
11256
11256
|
const r = Math.sin(i), s = Math.cos(i);
|
|
11257
|
-
return
|
|
11257
|
+
return vn(
|
|
11258
11258
|
s,
|
|
11259
11259
|
r,
|
|
11260
11260
|
-r,
|
|
@@ -11264,22 +11264,22 @@ function OA(i, e = 0, t = 0) {
|
|
|
11264
11264
|
);
|
|
11265
11265
|
}
|
|
11266
11266
|
function MA(i, e = 0) {
|
|
11267
|
-
return Qr(i, e),
|
|
11267
|
+
return Qr(i, e), vn(1, 0, 0, 1, i, e);
|
|
11268
11268
|
}
|
|
11269
11269
|
function LA(i, e = i) {
|
|
11270
|
-
return Qr(i, e),
|
|
11270
|
+
return Qr(i, e), vn(i, 0, 0, e, 0, 0);
|
|
11271
11271
|
}
|
|
11272
11272
|
function NA(i) {
|
|
11273
|
-
return Qr(i),
|
|
11273
|
+
return Qr(i), vn(1, 0, Math.tan(i), 1, 0, 0);
|
|
11274
11274
|
}
|
|
11275
11275
|
function BA(i) {
|
|
11276
|
-
return Qr(i),
|
|
11276
|
+
return Qr(i), vn(1, Math.tan(i), 0, 1, 0, 0);
|
|
11277
11277
|
}
|
|
11278
11278
|
function IA(i = 0) {
|
|
11279
|
-
return Qr(i),
|
|
11279
|
+
return Qr(i), vn(-1, 0, 0, 1, i, 0);
|
|
11280
11280
|
}
|
|
11281
11281
|
function RA(i = 0) {
|
|
11282
|
-
return Qr(i),
|
|
11282
|
+
return Qr(i), vn(1, 0, 0, -1, 0, i);
|
|
11283
11283
|
}
|
|
11284
11284
|
function PA() {
|
|
11285
11285
|
return Kr((i, e, t) => V.ARC === i.type ? wA(
|
|
@@ -11341,7 +11341,7 @@ const ae = {
|
|
|
11341
11341
|
QT_TO_C: rg,
|
|
11342
11342
|
INFO: Kr,
|
|
11343
11343
|
SANITIZE: SA,
|
|
11344
|
-
MATRIX:
|
|
11344
|
+
MATRIX: vn,
|
|
11345
11345
|
ROTATE: OA,
|
|
11346
11346
|
TRANSLATE: MA,
|
|
11347
11347
|
SCALE: LA,
|
|
@@ -11489,27 +11489,27 @@ class eu extends R {
|
|
|
11489
11489
|
// TODO: compute curve or circle 's boundingBox
|
|
11490
11490
|
computeBoundingBox() {
|
|
11491
11491
|
var t;
|
|
11492
|
-
this.boundingBox.makeEmpty(),
|
|
11492
|
+
this.boundingBox.makeEmpty(), mt.identity();
|
|
11493
11493
|
for (let r = 0, s = ((t = this.commands) == null ? void 0 : t.length) || 0; r < s; r++) {
|
|
11494
11494
|
const o = this.commands[r];
|
|
11495
11495
|
switch (o.type) {
|
|
11496
11496
|
case R.MOVE_TO:
|
|
11497
|
-
this.boundingBox.expandByXY(o.x, o.y),
|
|
11497
|
+
this.boundingBox.expandByXY(o.x, o.y), mt.set(o.x, o.y);
|
|
11498
11498
|
break;
|
|
11499
11499
|
case R.LINE_TO:
|
|
11500
|
-
this.boundingBox.expandByXY(o.x, o.y),
|
|
11500
|
+
this.boundingBox.expandByXY(o.x, o.y), mt.set(o.x, o.y);
|
|
11501
11501
|
break;
|
|
11502
11502
|
case R.ARC:
|
|
11503
|
-
typeof o.xRot == "undefined" ? (this.boundingBox.expandByXY(o.x, o.y), Bi.set(o.x, o.y).addScalar(-o.rX), this.boundingBox.expandByPoint(Bi), Bi.set(o.x, o.y).addScalar(o.rX), this.boundingBox.expandByPoint(Bi)) : this.boundingBox.expandByXY(o.x, o.y),
|
|
11503
|
+
typeof o.xRot == "undefined" ? (this.boundingBox.expandByXY(o.x, o.y), Bi.set(o.x, o.y).addScalar(-o.rX), this.boundingBox.expandByPoint(Bi), Bi.set(o.x, o.y).addScalar(o.rX), this.boundingBox.expandByPoint(Bi)) : this.boundingBox.expandByXY(o.x, o.y), mt.set(o.x, o.y);
|
|
11504
11504
|
break;
|
|
11505
11505
|
case R.HORIZ_LINE_TO:
|
|
11506
|
-
this.boundingBox.expandByXY(o.x,
|
|
11506
|
+
this.boundingBox.expandByXY(o.x, mt.y), mt.set(o.x, mt.y);
|
|
11507
11507
|
break;
|
|
11508
11508
|
case R.VERT_LINE_TO:
|
|
11509
|
-
this.boundingBox.expandByXY(
|
|
11509
|
+
this.boundingBox.expandByXY(mt.x, o.y), mt.set(mt.x, o.y);
|
|
11510
11510
|
break;
|
|
11511
11511
|
case R.QUAD_TO:
|
|
11512
|
-
this.boundingBox.expandByXY(o.x, o.y),
|
|
11512
|
+
this.boundingBox.expandByXY(o.x, o.y), mt.set(o.x, o.y);
|
|
11513
11513
|
break;
|
|
11514
11514
|
}
|
|
11515
11515
|
}
|
|
@@ -11517,36 +11517,36 @@ class eu extends R {
|
|
|
11517
11517
|
}
|
|
11518
11518
|
render(t, r) {
|
|
11519
11519
|
if (this.renderPath = new Path2D(), !(!t || !(r != null && r.length))) {
|
|
11520
|
-
|
|
11520
|
+
mt.identity();
|
|
11521
11521
|
for (let s = 0, o = (r == null ? void 0 : r.length) || 0; s < o; s++) {
|
|
11522
11522
|
const u = r[s];
|
|
11523
11523
|
switch (u.type) {
|
|
11524
11524
|
case R.MOVE_TO:
|
|
11525
|
-
this.renderPath.moveTo(u.x, u.y),
|
|
11525
|
+
this.renderPath.moveTo(u.x, u.y), mt.set(u.x, u.y);
|
|
11526
11526
|
break;
|
|
11527
11527
|
case R.LINE_TO:
|
|
11528
|
-
this.renderPath.lineTo(u.x, u.y),
|
|
11528
|
+
this.renderPath.lineTo(u.x, u.y), mt.set(u.x, u.y);
|
|
11529
11529
|
break;
|
|
11530
11530
|
case R.ARC:
|
|
11531
|
-
this.renderPath.arc(u.x, u.y, u.rX, u.phi1 || 0, u.phi2 || Math.PI * 2, u.sweepFlag !== 1),
|
|
11531
|
+
this.renderPath.arc(u.x, u.y, u.rX, u.phi1 || 0, u.phi2 || Math.PI * 2, u.sweepFlag !== 1), mt.set(u.x, u.y);
|
|
11532
11532
|
break;
|
|
11533
11533
|
case R.HORIZ_LINE_TO:
|
|
11534
|
-
this.renderPath.lineTo(u.x,
|
|
11534
|
+
this.renderPath.lineTo(u.x, mt.y), mt.set(u.x, mt.y);
|
|
11535
11535
|
break;
|
|
11536
11536
|
case R.VERT_LINE_TO:
|
|
11537
|
-
this.renderPath.lineTo(
|
|
11537
|
+
this.renderPath.lineTo(mt.x, u.y), mt.set(mt.x, u.y);
|
|
11538
11538
|
break;
|
|
11539
11539
|
case R.CURVE_TO:
|
|
11540
|
-
this.renderPath.bezierCurveTo(u.x1, u.y1, u.x2, u.y2, u.x, u.y),
|
|
11540
|
+
this.renderPath.bezierCurveTo(u.x1, u.y1, u.x2, u.y2, u.x, u.y), mt.set(u.x, u.y);
|
|
11541
11541
|
break;
|
|
11542
11542
|
case R.SMOOTH_CURVE_TO:
|
|
11543
|
-
|
|
11543
|
+
mt.set(u.x, u.y);
|
|
11544
11544
|
break;
|
|
11545
11545
|
case R.QUAD_TO:
|
|
11546
|
-
|
|
11546
|
+
mt.set(u.x, u.y);
|
|
11547
11547
|
break;
|
|
11548
11548
|
case R.SMOOTH_QUAD_TO:
|
|
11549
|
-
|
|
11549
|
+
mt.set(u.x, u.y);
|
|
11550
11550
|
break;
|
|
11551
11551
|
}
|
|
11552
11552
|
}
|
|
@@ -11561,13 +11561,13 @@ class eu extends R {
|
|
|
11561
11561
|
for (let h = 0, c = ((u = this.commands) == null ? void 0 : u.length) || 0; h < c; h++)
|
|
11562
11562
|
r.push(Object.assign({}, this.commands[h]));
|
|
11563
11563
|
if (!t) return r;
|
|
11564
|
-
|
|
11564
|
+
mt.identity();
|
|
11565
11565
|
const s = ae.MATRIX(t.elements[0], t.elements[1], t.elements[3], t.elements[4], t.elements[6], t.elements[7]), o = [];
|
|
11566
11566
|
for (let h = 0, c = r.length; h < c; h++) {
|
|
11567
11567
|
const y = r[h], p = s(y);
|
|
11568
11568
|
if (p.type === R.ARC) {
|
|
11569
|
-
let [A, T, C, N, O, L, P, W] = ZE(
|
|
11570
|
-
if (
|
|
11569
|
+
let [A, T, C, N, O, L, P, W] = ZE(mt.x, mt.y, p.x, p.y, p.lArcFlag, p.sweepFlag, p.rX, p.rY, 0);
|
|
11570
|
+
if (mt.set(p.x, p.y), p.rX === p.rY && typeof p.xRot != "undefined")
|
|
11571
11571
|
p.x = A, p.y = T, p.rx = C > N ? C : N, p.phi1 = O, p.phi2 = O + L;
|
|
11572
11572
|
else if (p.rX === p.rY)
|
|
11573
11573
|
t.getScale(Bi), p.rX = p.rY * Math.abs(Bi.x), (p.phi1 !== 0 || p.phi2 !== Math.PI * 2) && (t.getRotation(Bi), p.phi1 += Bi.x, p.phi2 += Bi.x);
|
|
@@ -11586,7 +11586,7 @@ class eu extends R {
|
|
|
11586
11586
|
y: q[b][3][1]
|
|
11587
11587
|
});
|
|
11588
11588
|
}
|
|
11589
|
-
} else
|
|
11589
|
+
} else mt.set(p.x || mt.x, p.y || mt.y);
|
|
11590
11590
|
Array.isArray(p) ? o.push(...p) : o.push(p);
|
|
11591
11591
|
}
|
|
11592
11592
|
return o;
|
|
@@ -11608,27 +11608,27 @@ class eu extends R {
|
|
|
11608
11608
|
const h = this.commands[o];
|
|
11609
11609
|
switch (h.type) {
|
|
11610
11610
|
case R.MOVE_TO:
|
|
11611
|
-
t.push({ x: h.x, y: h.y }),
|
|
11611
|
+
t.push({ x: h.x, y: h.y }), mt.set(h.x, h.y);
|
|
11612
11612
|
break;
|
|
11613
11613
|
case R.LINE_TO:
|
|
11614
|
-
t.push({ x: h.x, y: h.y }),
|
|
11614
|
+
t.push({ x: h.x, y: h.y }), mt.set(h.x, h.y);
|
|
11615
11615
|
break;
|
|
11616
11616
|
case R.ARC:
|
|
11617
|
-
t.push({ x: h.x, y: h.y }),
|
|
11617
|
+
t.push({ x: h.x, y: h.y }), mt.set(h.x, h.y);
|
|
11618
11618
|
break;
|
|
11619
11619
|
case R.HORIZ_LINE_TO:
|
|
11620
|
-
t.push({ x: h.x, y:
|
|
11620
|
+
t.push({ x: h.x, y: mt.y }), mt.set(h.x, mt.y);
|
|
11621
11621
|
break;
|
|
11622
11622
|
case R.VERT_LINE_TO:
|
|
11623
|
-
t.push({ x:
|
|
11623
|
+
t.push({ x: mt.x, y: h.y }), mt.set(mt.x, h.y);
|
|
11624
11624
|
break;
|
|
11625
11625
|
case R.CURVE_TO:
|
|
11626
11626
|
case R.SMOOTH_CURVE_TO:
|
|
11627
|
-
t.push({ x: h.x, y: h.y }),
|
|
11627
|
+
t.push({ x: h.x, y: h.y }), mt.set(h.x, h.y);
|
|
11628
11628
|
break;
|
|
11629
11629
|
case R.QUAD_TO:
|
|
11630
11630
|
case R.SMOOTH_QUAD_TO:
|
|
11631
|
-
t.push({ x: h.x, y: h.y }),
|
|
11631
|
+
t.push({ x: h.x, y: h.y }), mt.set(h.x, h.y);
|
|
11632
11632
|
break;
|
|
11633
11633
|
}
|
|
11634
11634
|
}
|
|
@@ -11647,7 +11647,7 @@ class eu extends R {
|
|
|
11647
11647
|
return !1;
|
|
11648
11648
|
}
|
|
11649
11649
|
}
|
|
11650
|
-
const
|
|
11650
|
+
const mt = new k(), Bi = new k(), UA = Gr.get("RAY_CASTER", 10, 10), ln = UA.getContext("2d");
|
|
11651
11651
|
class qA extends eu {
|
|
11652
11652
|
// end: number = 360;
|
|
11653
11653
|
constructor(t = {}) {
|
|
@@ -12093,27 +12093,20 @@ class VA {
|
|
|
12093
12093
|
r.setAttribute("font-size", h + u);
|
|
12094
12094
|
}
|
|
12095
12095
|
strokeWidthChanged(e = 1) {
|
|
12096
|
-
var
|
|
12097
|
-
const t = (
|
|
12096
|
+
var y, p;
|
|
12097
|
+
const t = (y = this.svg) == null ? void 0 : y.querySelector("#mirror");
|
|
12098
12098
|
if (!t) {
|
|
12099
12099
|
console.error("Cannot find g SVGElement with ID mirror");
|
|
12100
12100
|
return;
|
|
12101
12101
|
}
|
|
12102
|
-
let r = ba(t, "stroke-width")
|
|
12103
|
-
|
|
12104
|
-
|
|
12105
|
-
|
|
12106
|
-
s = parseFloat(y[1]), o = y[3] || "px";
|
|
12107
|
-
else {
|
|
12108
|
-
console.error("Invalid stroke-width value:", r);
|
|
12109
|
-
return;
|
|
12110
|
-
}
|
|
12111
|
-
} else {
|
|
12112
|
-
console.error("Invalid stroke-width type:", typeof r);
|
|
12102
|
+
let r = (p = ba(t, "stroke-width")) != null ? p : "1em";
|
|
12103
|
+
const s = String(r).match(/^([+-]?\d*\.?\d+(?:e[+-]?\d+)?)(%|[a-z]*)$/i);
|
|
12104
|
+
if (!s) {
|
|
12105
|
+
console.error("Invalid stroke-width format:", r);
|
|
12113
12106
|
return;
|
|
12114
12107
|
}
|
|
12115
|
-
const
|
|
12116
|
-
t.setAttribute("stroke-width",
|
|
12108
|
+
const o = parseFloat(s[1]), u = s[2] || "em", h = o * e, c = Number.isInteger(h) ? h.toFixed(0) : h.toString().replace(/\.?0+$/, "");
|
|
12109
|
+
t.setAttribute("stroke-width", `${c}${u}`), u === "em" && (t.style.fontSize = `${c}${u}`);
|
|
12117
12110
|
}
|
|
12118
12111
|
getCentroid(e, t = new k()) {
|
|
12119
12112
|
const r = e.getAttribute("insX"), s = e.getAttribute("insY");
|
|
@@ -12136,7 +12129,7 @@ class VA {
|
|
|
12136
12129
|
return r && s ? t.set(r * u, s * h) : t.set((o.x + o.width / 2) * u, (o.y + o.height / 2) * h), t;
|
|
12137
12130
|
}
|
|
12138
12131
|
linkAssetsByTree(e, t) {
|
|
12139
|
-
if (e || (e =
|
|
12132
|
+
if (e || (e = mr.RM), this.clearLinkedLines(e), !t || !t.value) return;
|
|
12140
12133
|
const r = this.getLinesByTree(t);
|
|
12141
12134
|
this.drawLinkedLines(e, r);
|
|
12142
12135
|
}
|
|
@@ -12289,7 +12282,7 @@ class Nh extends zE {
|
|
|
12289
12282
|
d(this, "_lastHighlightIds", []);
|
|
12290
12283
|
d(this, "clickSvgElementHandler", this.handleClickSvgElement.bind(this));
|
|
12291
12284
|
d(this, "_lastLinkedIds", []);
|
|
12292
|
-
this.params = t, this.assetType = t.assetType ||
|
|
12285
|
+
this.params = t, this.assetType = t.assetType || mr.RM, this.params.socialDistanceEnable && (this.socialDistanceEnable = !0), this.container = this.params.containerId ? document.getElementById(this.params.containerId) : zt.window.document.getElementsByTagName("body")[0], this.chef = new VA(), this.painter = new WA(t, this.chef);
|
|
12293
12286
|
}
|
|
12294
12287
|
get isMounted() {
|
|
12295
12288
|
var t;
|
|
@@ -12379,7 +12372,7 @@ class Nh extends zE {
|
|
|
12379
12372
|
* Some layers overlap with each other, has to be configured the conflict layers. Dio Zhu 2024.9.13
|
|
12380
12373
|
*/
|
|
12381
12374
|
setAssetType(t, r) {
|
|
12382
|
-
this.assetsMap = {}, this.assetType = t, this.setAssetsMap(this.assetType, this.assetsMap), r || (r = [wa(t)], t !==
|
|
12375
|
+
this.assetsMap = {}, this.assetType = t, this.setAssetsMap(this.assetType, this.assetsMap), r || (r = [wa(t)], t !== mr.RM && r.unshift(wa(mr.RM))), this.setDefaultLayers(r), this.updateLayersVisibility(this.defaultLayers, !0);
|
|
12383
12376
|
}
|
|
12384
12377
|
isBelongsToAssetType(t, r) {
|
|
12385
12378
|
r || (r = this.assetType);
|
|
@@ -12525,7 +12518,7 @@ class Nh extends zE {
|
|
|
12525
12518
|
}), this._lastHighlightIds.length = 0);
|
|
12526
12519
|
}
|
|
12527
12520
|
// ====================== selected
|
|
12528
|
-
getIntersectObjects(t, r =
|
|
12521
|
+
getIntersectObjects(t, r = mr.RM, s = []) {
|
|
12529
12522
|
s.length = 0;
|
|
12530
12523
|
const o = [], u = this.getAssetsByType(r);
|
|
12531
12524
|
if (!u) return s;
|
|
@@ -12662,7 +12655,7 @@ class Nh extends zE {
|
|
|
12662
12655
|
}
|
|
12663
12656
|
linkAssetsByTree(t) {
|
|
12664
12657
|
this.chef.linkAssetsByTree(this.assetType, t);
|
|
12665
|
-
const r = this.chef.getElementById(
|
|
12658
|
+
const r = this.chef.getElementById(vu.ASSET_LABELS);
|
|
12666
12659
|
r && (r.style.display = "block");
|
|
12667
12660
|
const s = tu(this.assetType), o = this.chef.getElementById(s);
|
|
12668
12661
|
o && (o.style.display = "block");
|
|
@@ -12741,31 +12734,31 @@ var sg = { exports: {} };
|
|
|
12741
12734
|
(function(i) {
|
|
12742
12735
|
(function(e, t, r, s) {
|
|
12743
12736
|
var o = ["", "webkit", "Moz", "MS", "ms", "o"], u = t.createElement("div"), h = "function", c = Math.round, y = Math.abs, p = Date.now;
|
|
12744
|
-
function A(
|
|
12745
|
-
return setTimeout(q(
|
|
12737
|
+
function A(m, E, _) {
|
|
12738
|
+
return setTimeout(q(m, _), E);
|
|
12746
12739
|
}
|
|
12747
|
-
function T(
|
|
12748
|
-
return Array.isArray(
|
|
12740
|
+
function T(m, E, _) {
|
|
12741
|
+
return Array.isArray(m) ? (C(m, _[E], _), !0) : !1;
|
|
12749
12742
|
}
|
|
12750
|
-
function C(
|
|
12743
|
+
function C(m, E, _) {
|
|
12751
12744
|
var I;
|
|
12752
|
-
if (
|
|
12753
|
-
if (
|
|
12754
|
-
|
|
12755
|
-
else if (
|
|
12756
|
-
for (I = 0; I <
|
|
12757
|
-
E.call(_,
|
|
12745
|
+
if (m)
|
|
12746
|
+
if (m.forEach)
|
|
12747
|
+
m.forEach(E, _);
|
|
12748
|
+
else if (m.length !== s)
|
|
12749
|
+
for (I = 0; I < m.length; )
|
|
12750
|
+
E.call(_, m[I], I, m), I++;
|
|
12758
12751
|
else
|
|
12759
|
-
for (I in
|
|
12760
|
-
|
|
12752
|
+
for (I in m)
|
|
12753
|
+
m.hasOwnProperty(I) && E.call(_, m[I], I, m);
|
|
12761
12754
|
}
|
|
12762
|
-
function N(
|
|
12755
|
+
function N(m, E, _) {
|
|
12763
12756
|
var I = "DEPRECATED METHOD: " + E + `
|
|
12764
12757
|
` + _ + ` AT
|
|
12765
12758
|
`;
|
|
12766
12759
|
return function() {
|
|
12767
12760
|
var Z = new Error("get-stack-trace"), et = Z && Z.stack ? Z.stack.replace(/^[^\(]+?[\n$]/gm, "").replace(/^\s+at\s+/gm, "").replace(/^Object.<anonymous>\s*\(/gm, "{anonymous}()@") : "Unknown Stack Trace", At = e.console && (e.console.warn || e.console.log);
|
|
12768
|
-
return At && At.call(e.console, I, et),
|
|
12761
|
+
return At && At.call(e.console, I, et), m.apply(this, arguments);
|
|
12769
12762
|
};
|
|
12770
12763
|
}
|
|
12771
12764
|
var O;
|
|
@@ -12787,70 +12780,70 @@ var sg = { exports: {} };
|
|
|
12787
12780
|
}, "extend", "Use `assign`."), P = N(function(E, _) {
|
|
12788
12781
|
return L(E, _, !0);
|
|
12789
12782
|
}, "merge", "Use `assign`.");
|
|
12790
|
-
function W(
|
|
12783
|
+
function W(m, E, _) {
|
|
12791
12784
|
var I = E.prototype, Z;
|
|
12792
|
-
Z =
|
|
12785
|
+
Z = m.prototype = Object.create(I), Z.constructor = m, Z._super = I, _ && O(Z, _);
|
|
12793
12786
|
}
|
|
12794
|
-
function q(
|
|
12787
|
+
function q(m, E) {
|
|
12795
12788
|
return function() {
|
|
12796
|
-
return
|
|
12789
|
+
return m.apply(E, arguments);
|
|
12797
12790
|
};
|
|
12798
12791
|
}
|
|
12799
|
-
function b(
|
|
12800
|
-
return typeof
|
|
12792
|
+
function b(m, E) {
|
|
12793
|
+
return typeof m == h ? m.apply(E && E[0] || s, E) : m;
|
|
12801
12794
|
}
|
|
12802
|
-
function Y(
|
|
12803
|
-
return
|
|
12795
|
+
function Y(m, E) {
|
|
12796
|
+
return m === s ? E : m;
|
|
12804
12797
|
}
|
|
12805
|
-
function z(
|
|
12798
|
+
function z(m, E, _) {
|
|
12806
12799
|
C(K(E), function(I) {
|
|
12807
|
-
|
|
12800
|
+
m.addEventListener(I, _, !1);
|
|
12808
12801
|
});
|
|
12809
12802
|
}
|
|
12810
|
-
function j(
|
|
12803
|
+
function j(m, E, _) {
|
|
12811
12804
|
C(K(E), function(I) {
|
|
12812
|
-
|
|
12805
|
+
m.removeEventListener(I, _, !1);
|
|
12813
12806
|
});
|
|
12814
12807
|
}
|
|
12815
|
-
function tt(
|
|
12816
|
-
for (;
|
|
12817
|
-
if (
|
|
12808
|
+
function tt(m, E) {
|
|
12809
|
+
for (; m; ) {
|
|
12810
|
+
if (m == E)
|
|
12818
12811
|
return !0;
|
|
12819
|
-
|
|
12812
|
+
m = m.parentNode;
|
|
12820
12813
|
}
|
|
12821
12814
|
return !1;
|
|
12822
12815
|
}
|
|
12823
|
-
function Q(
|
|
12824
|
-
return
|
|
12816
|
+
function Q(m, E) {
|
|
12817
|
+
return m.indexOf(E) > -1;
|
|
12825
12818
|
}
|
|
12826
|
-
function K(
|
|
12827
|
-
return
|
|
12819
|
+
function K(m) {
|
|
12820
|
+
return m.trim().split(/\s+/g);
|
|
12828
12821
|
}
|
|
12829
|
-
function rt(
|
|
12830
|
-
if (
|
|
12831
|
-
return
|
|
12832
|
-
for (var I = 0; I <
|
|
12833
|
-
if (_ &&
|
|
12822
|
+
function rt(m, E, _) {
|
|
12823
|
+
if (m.indexOf && !_)
|
|
12824
|
+
return m.indexOf(E);
|
|
12825
|
+
for (var I = 0; I < m.length; ) {
|
|
12826
|
+
if (_ && m[I][_] == E || !_ && m[I] === E)
|
|
12834
12827
|
return I;
|
|
12835
12828
|
I++;
|
|
12836
12829
|
}
|
|
12837
12830
|
return -1;
|
|
12838
12831
|
}
|
|
12839
|
-
function at(
|
|
12840
|
-
return Array.prototype.slice.call(
|
|
12832
|
+
function at(m) {
|
|
12833
|
+
return Array.prototype.slice.call(m, 0);
|
|
12841
12834
|
}
|
|
12842
|
-
function ct(
|
|
12843
|
-
for (var I = [], Z = [], et = 0; et <
|
|
12844
|
-
var At =
|
|
12845
|
-
rt(Z, At) < 0 && I.push(
|
|
12835
|
+
function ct(m, E, _) {
|
|
12836
|
+
for (var I = [], Z = [], et = 0; et < m.length; ) {
|
|
12837
|
+
var At = m[et][E];
|
|
12838
|
+
rt(Z, At) < 0 && I.push(m[et]), Z[et] = At, et++;
|
|
12846
12839
|
}
|
|
12847
12840
|
return I = I.sort(function(ce, Ae) {
|
|
12848
12841
|
return ce[E] > Ae[E];
|
|
12849
12842
|
}), I;
|
|
12850
12843
|
}
|
|
12851
|
-
function pt(
|
|
12844
|
+
function pt(m, E) {
|
|
12852
12845
|
for (var _, I, Z = E[0].toUpperCase() + E.slice(1), et = 0; et < o.length; ) {
|
|
12853
|
-
if (_ = o[et], I = _ ? _ + Z : E, I in
|
|
12846
|
+
if (_ = o[et], I = _ ? _ + Z : E, I in m)
|
|
12854
12847
|
return I;
|
|
12855
12848
|
et++;
|
|
12856
12849
|
}
|
|
@@ -12860,15 +12853,15 @@ var sg = { exports: {} };
|
|
|
12860
12853
|
function B() {
|
|
12861
12854
|
return dt++;
|
|
12862
12855
|
}
|
|
12863
|
-
function xt(
|
|
12864
|
-
var E =
|
|
12856
|
+
function xt(m) {
|
|
12857
|
+
var E = m.ownerDocument || m;
|
|
12865
12858
|
return E.defaultView || E.parentWindow || e;
|
|
12866
12859
|
}
|
|
12867
12860
|
var Pt = /mobile|tablet|ip(ad|hone|od)|android/i, Fe = "ontouchstart" in e, Te = pt(e, "PointerEvent") !== s, ue = Fe && Pt.test(navigator.userAgent), xe = "touch", Rr = "pen", ke = "mouse", le = "kinect", Se = 25, Yt = 1, Qt = 2, Lt = 4, $t = 8, Oe = 1, He = 2, We = 4, ee = 8, Me = 16, Ee = He | We, Kt = ee | Me, jr = Ee | Kt, yi = ["x", "y"], he = ["clientX", "clientY"];
|
|
12868
|
-
function Nt(
|
|
12861
|
+
function Nt(m, E) {
|
|
12869
12862
|
var _ = this;
|
|
12870
|
-
this.manager =
|
|
12871
|
-
b(
|
|
12863
|
+
this.manager = m, this.callback = E, this.element = m.element, this.target = m.options.inputTarget, this.domHandler = function(I) {
|
|
12864
|
+
b(m.options.enable, [m]) && _.handler(I);
|
|
12872
12865
|
}, this.init();
|
|
12873
12866
|
}
|
|
12874
12867
|
Nt.prototype = {
|
|
@@ -12891,95 +12884,95 @@ var sg = { exports: {} };
|
|
|
12891
12884
|
this.evEl && j(this.element, this.evEl, this.domHandler), this.evTarget && j(this.target, this.evTarget, this.domHandler), this.evWin && j(xt(this.element), this.evWin, this.domHandler);
|
|
12892
12885
|
}
|
|
12893
12886
|
};
|
|
12894
|
-
function ar(
|
|
12895
|
-
var E, _ =
|
|
12896
|
-
return _ ? E = _ : Te ? E = ur : ue ? E = Zi : Fe ? E = ks : E = Et, new E(
|
|
12887
|
+
function ar(m) {
|
|
12888
|
+
var E, _ = m.options.inputClass;
|
|
12889
|
+
return _ ? E = _ : Te ? E = ur : ue ? E = Zi : Fe ? E = ks : E = Et, new E(m, ze);
|
|
12897
12890
|
}
|
|
12898
|
-
function ze(
|
|
12891
|
+
function ze(m, E, _) {
|
|
12899
12892
|
var I = _.pointers.length, Z = _.changedPointers.length, et = E & Yt && I - Z === 0, At = E & (Lt | $t) && I - Z === 0;
|
|
12900
|
-
_.isFirst = !!et, _.isFinal = !!At, et && (
|
|
12893
|
+
_.isFirst = !!et, _.isFinal = !!At, et && (m.session = {}), _.eventType = E, mi(m, _), m.emit("hammer.input", _), m.recognize(_), m.session.prevInput = _;
|
|
12901
12894
|
}
|
|
12902
|
-
function
|
|
12903
|
-
var _ =
|
|
12895
|
+
function mi(m, E) {
|
|
12896
|
+
var _ = m.session, I = E.pointers, Z = I.length;
|
|
12904
12897
|
_.firstInput || (_.firstInput = or(E)), Z > 1 && !_.firstMultiple ? _.firstMultiple = or(E) : Z === 1 && (_.firstMultiple = !1);
|
|
12905
12898
|
var et = _.firstInput, At = _.firstMultiple, ie = At ? At.center : et.center, ce = E.center = $e(I);
|
|
12906
|
-
E.timeStamp = p(), E.deltaTime = E.timeStamp - et.timeStamp, E.angle =
|
|
12899
|
+
E.timeStamp = p(), E.deltaTime = E.timeStamp - et.timeStamp, E.angle = vi(ie, ce), E.distance = Jr(ie, ce), xr(_, E), E.offsetDirection = $i(E.deltaX, E.deltaY);
|
|
12907
12900
|
var Ae = zi(E.deltaTime, E.deltaX, E.deltaY);
|
|
12908
12901
|
E.overallVelocityX = Ae.x, E.overallVelocityY = Ae.y, E.overallVelocity = y(Ae.x) > y(Ae.y) ? Ae.x : Ae.y, E.scale = At ? H(At.pointers, I) : 1, E.rotation = At ? En(At.pointers, I) : 0, E.maxPointers = _.prevInput ? E.pointers.length > _.prevInput.maxPointers ? E.pointers.length : _.prevInput.maxPointers : E.pointers.length, Wi(_, E);
|
|
12909
|
-
var br =
|
|
12902
|
+
var br = m.element;
|
|
12910
12903
|
tt(E.srcEvent.target, br) && (br = E.srcEvent.target), E.target = br;
|
|
12911
12904
|
}
|
|
12912
|
-
function xr(
|
|
12913
|
-
var _ = E.center, I =
|
|
12914
|
-
(E.eventType === Yt || et.eventType === Lt) && (Z =
|
|
12905
|
+
function xr(m, E) {
|
|
12906
|
+
var _ = E.center, I = m.offsetDelta || {}, Z = m.prevDelta || {}, et = m.prevInput || {};
|
|
12907
|
+
(E.eventType === Yt || et.eventType === Lt) && (Z = m.prevDelta = {
|
|
12915
12908
|
x: et.deltaX || 0,
|
|
12916
12909
|
y: et.deltaY || 0
|
|
12917
|
-
}, I =
|
|
12910
|
+
}, I = m.offsetDelta = {
|
|
12918
12911
|
x: _.x,
|
|
12919
12912
|
y: _.y
|
|
12920
12913
|
}), E.deltaX = Z.x + (_.x - I.x), E.deltaY = Z.y + (_.y - I.y);
|
|
12921
12914
|
}
|
|
12922
|
-
function Wi(
|
|
12923
|
-
var _ =
|
|
12915
|
+
function Wi(m, E) {
|
|
12916
|
+
var _ = m.lastInterval || E, I = E.timeStamp - _.timeStamp, Z, et, At, ie;
|
|
12924
12917
|
if (E.eventType != $t && (I > Se || _.velocity === s)) {
|
|
12925
12918
|
var ce = E.deltaX - _.deltaX, Ae = E.deltaY - _.deltaY, br = zi(I, ce, Ae);
|
|
12926
|
-
et = br.x, At = br.y, Z = y(br.x) > y(br.y) ? br.x : br.y, ie = $i(ce, Ae),
|
|
12919
|
+
et = br.x, At = br.y, Z = y(br.x) > y(br.y) ? br.x : br.y, ie = $i(ce, Ae), m.lastInterval = E;
|
|
12927
12920
|
} else
|
|
12928
12921
|
Z = _.velocity, et = _.velocityX, At = _.velocityY, ie = _.direction;
|
|
12929
12922
|
E.velocity = Z, E.velocityX = et, E.velocityY = At, E.direction = ie;
|
|
12930
12923
|
}
|
|
12931
|
-
function or(
|
|
12932
|
-
for (var E = [], _ = 0; _ <
|
|
12924
|
+
function or(m) {
|
|
12925
|
+
for (var E = [], _ = 0; _ < m.pointers.length; )
|
|
12933
12926
|
E[_] = {
|
|
12934
|
-
clientX: c(
|
|
12935
|
-
clientY: c(
|
|
12927
|
+
clientX: c(m.pointers[_].clientX),
|
|
12928
|
+
clientY: c(m.pointers[_].clientY)
|
|
12936
12929
|
}, _++;
|
|
12937
12930
|
return {
|
|
12938
12931
|
timeStamp: p(),
|
|
12939
12932
|
pointers: E,
|
|
12940
12933
|
center: $e(E),
|
|
12941
|
-
deltaX:
|
|
12942
|
-
deltaY:
|
|
12934
|
+
deltaX: m.deltaX,
|
|
12935
|
+
deltaY: m.deltaY
|
|
12943
12936
|
};
|
|
12944
12937
|
}
|
|
12945
|
-
function $e(
|
|
12946
|
-
var E =
|
|
12938
|
+
function $e(m) {
|
|
12939
|
+
var E = m.length;
|
|
12947
12940
|
if (E === 1)
|
|
12948
12941
|
return {
|
|
12949
|
-
x: c(
|
|
12950
|
-
y: c(
|
|
12942
|
+
x: c(m[0].clientX),
|
|
12943
|
+
y: c(m[0].clientY)
|
|
12951
12944
|
};
|
|
12952
12945
|
for (var _ = 0, I = 0, Z = 0; Z < E; )
|
|
12953
|
-
_ +=
|
|
12946
|
+
_ += m[Z].clientX, I += m[Z].clientY, Z++;
|
|
12954
12947
|
return {
|
|
12955
12948
|
x: c(_ / E),
|
|
12956
12949
|
y: c(I / E)
|
|
12957
12950
|
};
|
|
12958
12951
|
}
|
|
12959
|
-
function zi(
|
|
12952
|
+
function zi(m, E, _) {
|
|
12960
12953
|
return {
|
|
12961
|
-
x: E /
|
|
12962
|
-
y: _ /
|
|
12954
|
+
x: E / m || 0,
|
|
12955
|
+
y: _ / m || 0
|
|
12963
12956
|
};
|
|
12964
12957
|
}
|
|
12965
|
-
function $i(
|
|
12966
|
-
return
|
|
12958
|
+
function $i(m, E) {
|
|
12959
|
+
return m === E ? Oe : y(m) >= y(E) ? m < 0 ? He : We : E < 0 ? ee : Me;
|
|
12967
12960
|
}
|
|
12968
|
-
function Jr(
|
|
12961
|
+
function Jr(m, E, _) {
|
|
12969
12962
|
_ || (_ = yi);
|
|
12970
|
-
var I = E[_[0]] -
|
|
12963
|
+
var I = E[_[0]] - m[_[0]], Z = E[_[1]] - m[_[1]];
|
|
12971
12964
|
return Math.sqrt(I * I + Z * Z);
|
|
12972
12965
|
}
|
|
12973
|
-
function
|
|
12966
|
+
function vi(m, E, _) {
|
|
12974
12967
|
_ || (_ = yi);
|
|
12975
|
-
var I = E[_[0]] -
|
|
12968
|
+
var I = E[_[0]] - m[_[0]], Z = E[_[1]] - m[_[1]];
|
|
12976
12969
|
return Math.atan2(Z, I) * 180 / Math.PI;
|
|
12977
12970
|
}
|
|
12978
|
-
function En(
|
|
12979
|
-
return
|
|
12971
|
+
function En(m, E) {
|
|
12972
|
+
return vi(E[1], E[0], he) + vi(m[1], m[0], he);
|
|
12980
12973
|
}
|
|
12981
|
-
function H(
|
|
12982
|
-
return Jr(E[0], E[1], he) / Jr(
|
|
12974
|
+
function H(m, E) {
|
|
12975
|
+
return Jr(E[0], E[1], he) / Jr(m[0], m[1], he);
|
|
12983
12976
|
}
|
|
12984
12977
|
var nt = {
|
|
12985
12978
|
mousedown: Yt,
|
|
@@ -13059,8 +13052,8 @@ var sg = { exports: {} };
|
|
|
13059
13052
|
}
|
|
13060
13053
|
}
|
|
13061
13054
|
});
|
|
13062
|
-
function wn(
|
|
13063
|
-
var _ = at(
|
|
13055
|
+
function wn(m, E) {
|
|
13056
|
+
var _ = at(m.touches), I = at(m.changedTouches);
|
|
13064
13057
|
return E & (Lt | $t) && (_ = ct(_.concat(I), "identifier")), [_, I];
|
|
13065
13058
|
}
|
|
13066
13059
|
var Xi = {
|
|
@@ -13083,11 +13076,11 @@ var sg = { exports: {} };
|
|
|
13083
13076
|
});
|
|
13084
13077
|
}
|
|
13085
13078
|
});
|
|
13086
|
-
function bu(
|
|
13087
|
-
var _ = at(
|
|
13079
|
+
function bu(m, E) {
|
|
13080
|
+
var _ = at(m.touches), I = this.targetIds;
|
|
13088
13081
|
if (E & (Yt | Qt) && _.length === 1)
|
|
13089
13082
|
return I[_[0].identifier] = !0, [_, _];
|
|
13090
|
-
var Z, et, At = at(
|
|
13083
|
+
var Z, et, At = at(m.changedTouches), ie = [], ce = this.target;
|
|
13091
13084
|
if (et = _.filter(function(Ae) {
|
|
13092
13085
|
return tt(Ae.target, ce);
|
|
13093
13086
|
}), E === Yt)
|
|
@@ -13105,8 +13098,8 @@ var sg = { exports: {} };
|
|
|
13105
13098
|
var Fs = 2500, za = 25;
|
|
13106
13099
|
function ks() {
|
|
13107
13100
|
Nt.apply(this, arguments);
|
|
13108
|
-
var
|
|
13109
|
-
this.touch = new Zi(this.manager,
|
|
13101
|
+
var m = q(this.handler, this);
|
|
13102
|
+
this.touch = new Zi(this.manager, m), this.mouse = new Et(this.manager, m), this.primaryTouch = null, this.lastTouches = [];
|
|
13110
13103
|
}
|
|
13111
13104
|
W(ks, Nt, {
|
|
13112
13105
|
/**
|
|
@@ -13132,11 +13125,11 @@ var sg = { exports: {} };
|
|
|
13132
13125
|
this.touch.destroy(), this.mouse.destroy();
|
|
13133
13126
|
}
|
|
13134
13127
|
});
|
|
13135
|
-
function wu(
|
|
13136
|
-
|
|
13128
|
+
function wu(m, E) {
|
|
13129
|
+
m & Yt ? (this.primaryTouch = E.changedPointers[0].identifier, $a.call(this, E)) : m & (Lt | $t) && $a.call(this, E);
|
|
13137
13130
|
}
|
|
13138
|
-
function $a(
|
|
13139
|
-
var E =
|
|
13131
|
+
function $a(m) {
|
|
13132
|
+
var E = m.changedPointers[0];
|
|
13140
13133
|
if (E.identifier === this.primaryTouch) {
|
|
13141
13134
|
var _ = { x: E.clientX, y: E.clientY };
|
|
13142
13135
|
this.lastTouches.push(_);
|
|
@@ -13147,8 +13140,8 @@ var sg = { exports: {} };
|
|
|
13147
13140
|
setTimeout(Z, Fs);
|
|
13148
13141
|
}
|
|
13149
13142
|
}
|
|
13150
|
-
function Tu(
|
|
13151
|
-
for (var E =
|
|
13143
|
+
function Tu(m) {
|
|
13144
|
+
for (var E = m.srcEvent.clientX, _ = m.srcEvent.clientY, I = 0; I < this.lastTouches.length; I++) {
|
|
13152
13145
|
var Z = this.lastTouches[I], et = Math.abs(E - Z.x), At = Math.abs(_ - Z.y);
|
|
13153
13146
|
if (et <= za && At <= za)
|
|
13154
13147
|
return !0;
|
|
@@ -13156,16 +13149,16 @@ var sg = { exports: {} };
|
|
|
13156
13149
|
return !1;
|
|
13157
13150
|
}
|
|
13158
13151
|
var Ga = pt(u.style, "touchAction"), Ya = Ga !== s, Xa = "compute", Hs = "auto", Us = "manipulation", xi = "none", Tn = "pan-x", _n = "pan-y", Qn = _u();
|
|
13159
|
-
function qs(
|
|
13160
|
-
this.manager =
|
|
13152
|
+
function qs(m, E) {
|
|
13153
|
+
this.manager = m, this.set(E);
|
|
13161
13154
|
}
|
|
13162
13155
|
qs.prototype = {
|
|
13163
13156
|
/**
|
|
13164
13157
|
* set the touchAction value on the element or enable the polyfill
|
|
13165
13158
|
* @param {String} value
|
|
13166
13159
|
*/
|
|
13167
|
-
set: function(
|
|
13168
|
-
|
|
13160
|
+
set: function(m) {
|
|
13161
|
+
m == Xa && (m = this.compute()), Ya && this.manager.element.style && Qn[m] && (this.manager.element.style[Ga] = m), this.actions = m.toLowerCase().trim();
|
|
13169
13162
|
},
|
|
13170
13163
|
/**
|
|
13171
13164
|
* just re-set the touchAction value
|
|
@@ -13178,24 +13171,24 @@ var sg = { exports: {} };
|
|
|
13178
13171
|
* @returns {String} value
|
|
13179
13172
|
*/
|
|
13180
13173
|
compute: function() {
|
|
13181
|
-
var
|
|
13174
|
+
var m = [];
|
|
13182
13175
|
return C(this.manager.recognizers, function(E) {
|
|
13183
|
-
b(E.options.enable, [E]) && (
|
|
13184
|
-
}), Kn(
|
|
13176
|
+
b(E.options.enable, [E]) && (m = m.concat(E.getTouchAction()));
|
|
13177
|
+
}), Kn(m.join(" "));
|
|
13185
13178
|
},
|
|
13186
13179
|
/**
|
|
13187
13180
|
* this method is called on each input cycle and provides the preventing of the browser behavior
|
|
13188
13181
|
* @param {Object} input
|
|
13189
13182
|
*/
|
|
13190
|
-
preventDefaults: function(
|
|
13191
|
-
var E =
|
|
13183
|
+
preventDefaults: function(m) {
|
|
13184
|
+
var E = m.srcEvent, _ = m.offsetDirection;
|
|
13192
13185
|
if (this.manager.session.prevented) {
|
|
13193
13186
|
E.preventDefault();
|
|
13194
13187
|
return;
|
|
13195
13188
|
}
|
|
13196
13189
|
var I = this.actions, Z = Q(I, xi) && !Qn[xi], et = Q(I, _n) && !Qn[_n], At = Q(I, Tn) && !Qn[Tn];
|
|
13197
13190
|
if (Z) {
|
|
13198
|
-
var ie =
|
|
13191
|
+
var ie = m.pointers.length === 1, ce = m.distance < 2, Ae = m.deltaTime < 250;
|
|
13199
13192
|
if (ie && ce && Ae)
|
|
13200
13193
|
return;
|
|
13201
13194
|
}
|
|
@@ -13206,27 +13199,27 @@ var sg = { exports: {} };
|
|
|
13206
13199
|
* call preventDefault to prevent the browser's default behavior (scrolling in most cases)
|
|
13207
13200
|
* @param {Object} srcEvent
|
|
13208
13201
|
*/
|
|
13209
|
-
preventSrc: function(
|
|
13210
|
-
this.manager.session.prevented = !0,
|
|
13202
|
+
preventSrc: function(m) {
|
|
13203
|
+
this.manager.session.prevented = !0, m.preventDefault();
|
|
13211
13204
|
}
|
|
13212
13205
|
};
|
|
13213
|
-
function Kn(
|
|
13214
|
-
if (Q(
|
|
13206
|
+
function Kn(m) {
|
|
13207
|
+
if (Q(m, xi))
|
|
13215
13208
|
return xi;
|
|
13216
|
-
var E = Q(
|
|
13217
|
-
return E && _ ? xi : E || _ ? E ? Tn : _n : Q(
|
|
13209
|
+
var E = Q(m, Tn), _ = Q(m, _n);
|
|
13210
|
+
return E && _ ? xi : E || _ ? E ? Tn : _n : Q(m, Us) ? Us : Hs;
|
|
13218
13211
|
}
|
|
13219
13212
|
function _u() {
|
|
13220
13213
|
if (!Ya)
|
|
13221
13214
|
return !1;
|
|
13222
|
-
var
|
|
13215
|
+
var m = {}, E = e.CSS && e.CSS.supports;
|
|
13223
13216
|
return ["auto", "manipulation", "pan-y", "pan-x", "pan-x pan-y", "none"].forEach(function(_) {
|
|
13224
|
-
|
|
13225
|
-
}),
|
|
13217
|
+
m[_] = E ? e.CSS.supports("touch-action", _) : !0;
|
|
13218
|
+
}), m;
|
|
13226
13219
|
}
|
|
13227
13220
|
var Ei = 1, Ge = 2, Qi = 4, ei = 8, Ar = ei, Ki = 16, lr = 32;
|
|
13228
|
-
function Pr(
|
|
13229
|
-
this.options = O({}, this.defaults,
|
|
13221
|
+
function Pr(m) {
|
|
13222
|
+
this.options = O({}, this.defaults, m || {}), this.id = B(), this.manager = null, this.options.enable = Y(this.options.enable, !0), this.state = Ei, this.simultaneous = {}, this.requireFail = [];
|
|
13230
13223
|
}
|
|
13231
13224
|
Pr.prototype = {
|
|
13232
13225
|
/**
|
|
@@ -13239,49 +13232,49 @@ var sg = { exports: {} };
|
|
|
13239
13232
|
* @param {Object} options
|
|
13240
13233
|
* @return {Recognizer}
|
|
13241
13234
|
*/
|
|
13242
|
-
set: function(
|
|
13243
|
-
return O(this.options,
|
|
13235
|
+
set: function(m) {
|
|
13236
|
+
return O(this.options, m), this.manager && this.manager.touchAction.update(), this;
|
|
13244
13237
|
},
|
|
13245
13238
|
/**
|
|
13246
13239
|
* recognize simultaneous with an other recognizer.
|
|
13247
13240
|
* @param {Recognizer} otherRecognizer
|
|
13248
13241
|
* @returns {Recognizer} this
|
|
13249
13242
|
*/
|
|
13250
|
-
recognizeWith: function(
|
|
13251
|
-
if (T(
|
|
13243
|
+
recognizeWith: function(m) {
|
|
13244
|
+
if (T(m, "recognizeWith", this))
|
|
13252
13245
|
return this;
|
|
13253
13246
|
var E = this.simultaneous;
|
|
13254
|
-
return
|
|
13247
|
+
return m = jn(m, this), E[m.id] || (E[m.id] = m, m.recognizeWith(this)), this;
|
|
13255
13248
|
},
|
|
13256
13249
|
/**
|
|
13257
13250
|
* drop the simultaneous link. it doesnt remove the link on the other recognizer.
|
|
13258
13251
|
* @param {Recognizer} otherRecognizer
|
|
13259
13252
|
* @returns {Recognizer} this
|
|
13260
13253
|
*/
|
|
13261
|
-
dropRecognizeWith: function(
|
|
13262
|
-
return T(
|
|
13254
|
+
dropRecognizeWith: function(m) {
|
|
13255
|
+
return T(m, "dropRecognizeWith", this) ? this : (m = jn(m, this), delete this.simultaneous[m.id], this);
|
|
13263
13256
|
},
|
|
13264
13257
|
/**
|
|
13265
13258
|
* recognizer can only run when an other is failing
|
|
13266
13259
|
* @param {Recognizer} otherRecognizer
|
|
13267
13260
|
* @returns {Recognizer} this
|
|
13268
13261
|
*/
|
|
13269
|
-
requireFailure: function(
|
|
13270
|
-
if (T(
|
|
13262
|
+
requireFailure: function(m) {
|
|
13263
|
+
if (T(m, "requireFailure", this))
|
|
13271
13264
|
return this;
|
|
13272
13265
|
var E = this.requireFail;
|
|
13273
|
-
return
|
|
13266
|
+
return m = jn(m, this), rt(E, m) === -1 && (E.push(m), m.requireFailure(this)), this;
|
|
13274
13267
|
},
|
|
13275
13268
|
/**
|
|
13276
13269
|
* drop the requireFailure link. it does not remove the link on the other recognizer.
|
|
13277
13270
|
* @param {Recognizer} otherRecognizer
|
|
13278
13271
|
* @returns {Recognizer} this
|
|
13279
13272
|
*/
|
|
13280
|
-
dropRequireFailure: function(
|
|
13281
|
-
if (T(
|
|
13273
|
+
dropRequireFailure: function(m) {
|
|
13274
|
+
if (T(m, "dropRequireFailure", this))
|
|
13282
13275
|
return this;
|
|
13283
|
-
|
|
13284
|
-
var E = rt(this.requireFail,
|
|
13276
|
+
m = jn(m, this);
|
|
13277
|
+
var E = rt(this.requireFail, m);
|
|
13285
13278
|
return E > -1 && this.requireFail.splice(E, 1), this;
|
|
13286
13279
|
},
|
|
13287
13280
|
/**
|
|
@@ -13296,20 +13289,20 @@ var sg = { exports: {} };
|
|
|
13296
13289
|
* @param {Recognizer} otherRecognizer
|
|
13297
13290
|
* @returns {Boolean}
|
|
13298
13291
|
*/
|
|
13299
|
-
canRecognizeWith: function(
|
|
13300
|
-
return !!this.simultaneous[
|
|
13292
|
+
canRecognizeWith: function(m) {
|
|
13293
|
+
return !!this.simultaneous[m.id];
|
|
13301
13294
|
},
|
|
13302
13295
|
/**
|
|
13303
13296
|
* You should use `tryEmit` instead of `emit` directly to check
|
|
13304
13297
|
* that all the needed recognizers has failed before emitting.
|
|
13305
13298
|
* @param {Object} input
|
|
13306
13299
|
*/
|
|
13307
|
-
emit: function(
|
|
13300
|
+
emit: function(m) {
|
|
13308
13301
|
var E = this, _ = this.state;
|
|
13309
13302
|
function I(Z) {
|
|
13310
|
-
E.manager.emit(Z,
|
|
13303
|
+
E.manager.emit(Z, m);
|
|
13311
13304
|
}
|
|
13312
|
-
_ < ei && I(E.options.event + Za(_)), I(E.options.event),
|
|
13305
|
+
_ < ei && I(E.options.event + Za(_)), I(E.options.event), m.additionalEvent && I(m.additionalEvent), _ >= ei && I(E.options.event + Za(_));
|
|
13313
13306
|
},
|
|
13314
13307
|
/**
|
|
13315
13308
|
* Check that all the require failure recognizers has failed,
|
|
@@ -13317,9 +13310,9 @@ var sg = { exports: {} };
|
|
|
13317
13310
|
* otherwise, setup the state to FAILED.
|
|
13318
13311
|
* @param {Object} input
|
|
13319
13312
|
*/
|
|
13320
|
-
tryEmit: function(
|
|
13313
|
+
tryEmit: function(m) {
|
|
13321
13314
|
if (this.canEmit())
|
|
13322
|
-
return this.emit(
|
|
13315
|
+
return this.emit(m);
|
|
13323
13316
|
this.state = lr;
|
|
13324
13317
|
},
|
|
13325
13318
|
/**
|
|
@@ -13327,10 +13320,10 @@ var sg = { exports: {} };
|
|
|
13327
13320
|
* @returns {boolean}
|
|
13328
13321
|
*/
|
|
13329
13322
|
canEmit: function() {
|
|
13330
|
-
for (var
|
|
13331
|
-
if (!(this.requireFail[
|
|
13323
|
+
for (var m = 0; m < this.requireFail.length; ) {
|
|
13324
|
+
if (!(this.requireFail[m].state & (lr | Ei)))
|
|
13332
13325
|
return !1;
|
|
13333
|
-
|
|
13326
|
+
m++;
|
|
13334
13327
|
}
|
|
13335
13328
|
return !0;
|
|
13336
13329
|
},
|
|
@@ -13338,8 +13331,8 @@ var sg = { exports: {} };
|
|
|
13338
13331
|
* update the recognizer
|
|
13339
13332
|
* @param {Object} inputData
|
|
13340
13333
|
*/
|
|
13341
|
-
recognize: function(
|
|
13342
|
-
var E = O({},
|
|
13334
|
+
recognize: function(m) {
|
|
13335
|
+
var E = O({}, m);
|
|
13343
13336
|
if (!b(this.options.enable, [this, E])) {
|
|
13344
13337
|
this.reset(), this.state = lr;
|
|
13345
13338
|
return;
|
|
@@ -13353,7 +13346,7 @@ var sg = { exports: {} };
|
|
|
13353
13346
|
* @param {Object} inputData
|
|
13354
13347
|
* @returns {Const} STATE
|
|
13355
13348
|
*/
|
|
13356
|
-
process: function(
|
|
13349
|
+
process: function(m) {
|
|
13357
13350
|
},
|
|
13358
13351
|
// jshint ignore:line
|
|
13359
13352
|
/**
|
|
@@ -13371,15 +13364,15 @@ var sg = { exports: {} };
|
|
|
13371
13364
|
reset: function() {
|
|
13372
13365
|
}
|
|
13373
13366
|
};
|
|
13374
|
-
function Za(
|
|
13375
|
-
return
|
|
13367
|
+
function Za(m) {
|
|
13368
|
+
return m & Ki ? "cancel" : m & ei ? "end" : m & Qi ? "move" : m & Ge ? "start" : "";
|
|
13376
13369
|
}
|
|
13377
|
-
function Qa(
|
|
13378
|
-
return
|
|
13370
|
+
function Qa(m) {
|
|
13371
|
+
return m == Me ? "down" : m == ee ? "up" : m == He ? "left" : m == We ? "right" : "";
|
|
13379
13372
|
}
|
|
13380
|
-
function jn(
|
|
13373
|
+
function jn(m, E) {
|
|
13381
13374
|
var _ = E.manager;
|
|
13382
|
-
return _ ? _.get(
|
|
13375
|
+
return _ ? _.get(m) : m;
|
|
13383
13376
|
}
|
|
13384
13377
|
function Ye() {
|
|
13385
13378
|
Pr.apply(this, arguments);
|
|
@@ -13402,9 +13395,9 @@ var sg = { exports: {} };
|
|
|
13402
13395
|
* @param {Object} input
|
|
13403
13396
|
* @returns {Boolean} recognized
|
|
13404
13397
|
*/
|
|
13405
|
-
attrTest: function(
|
|
13398
|
+
attrTest: function(m) {
|
|
13406
13399
|
var E = this.options.pointers;
|
|
13407
|
-
return E === 0 ||
|
|
13400
|
+
return E === 0 || m.pointers.length === E;
|
|
13408
13401
|
},
|
|
13409
13402
|
/**
|
|
13410
13403
|
* Process the input and return the state for the recognizer
|
|
@@ -13412,8 +13405,8 @@ var sg = { exports: {} };
|
|
|
13412
13405
|
* @param {Object} input
|
|
13413
13406
|
* @returns {*} State
|
|
13414
13407
|
*/
|
|
13415
|
-
process: function(
|
|
13416
|
-
var E = this.state, _ =
|
|
13408
|
+
process: function(m) {
|
|
13409
|
+
var E = this.state, _ = m.eventType, I = E & (Ge | Qi), Z = this.attrTest(m);
|
|
13417
13410
|
return I && (_ & $t || !Z) ? E | Ki : I || Z ? _ & Lt ? E | ei : E & Ge ? E | Qi : Ge : lr;
|
|
13418
13411
|
}
|
|
13419
13412
|
});
|
|
@@ -13432,20 +13425,20 @@ var sg = { exports: {} };
|
|
|
13432
13425
|
direction: jr
|
|
13433
13426
|
},
|
|
13434
13427
|
getTouchAction: function() {
|
|
13435
|
-
var
|
|
13436
|
-
return
|
|
13428
|
+
var m = this.options.direction, E = [];
|
|
13429
|
+
return m & Ee && E.push(_n), m & Kt && E.push(Tn), E;
|
|
13437
13430
|
},
|
|
13438
|
-
directionTest: function(
|
|
13439
|
-
var E = this.options, _ = !0, I =
|
|
13440
|
-
return Z & E.direction || (E.direction & Ee ? (Z = et === 0 ? Oe : et < 0 ? He : We, _ = et != this.pX, I = Math.abs(
|
|
13431
|
+
directionTest: function(m) {
|
|
13432
|
+
var E = this.options, _ = !0, I = m.distance, Z = m.direction, et = m.deltaX, At = m.deltaY;
|
|
13433
|
+
return Z & E.direction || (E.direction & Ee ? (Z = et === 0 ? Oe : et < 0 ? He : We, _ = et != this.pX, I = Math.abs(m.deltaX)) : (Z = At === 0 ? Oe : At < 0 ? ee : Me, _ = At != this.pY, I = Math.abs(m.deltaY))), m.direction = Z, _ && I > E.threshold && Z & E.direction;
|
|
13441
13434
|
},
|
|
13442
|
-
attrTest: function(
|
|
13443
|
-
return Ye.prototype.attrTest.call(this,
|
|
13435
|
+
attrTest: function(m) {
|
|
13436
|
+
return Ye.prototype.attrTest.call(this, m) && (this.state & Ge || !(this.state & Ge) && this.directionTest(m));
|
|
13444
13437
|
},
|
|
13445
|
-
emit: function(
|
|
13446
|
-
this.pX =
|
|
13447
|
-
var E = Qa(
|
|
13448
|
-
E && (
|
|
13438
|
+
emit: function(m) {
|
|
13439
|
+
this.pX = m.deltaX, this.pY = m.deltaY;
|
|
13440
|
+
var E = Qa(m.direction);
|
|
13441
|
+
E && (m.additionalEvent = this.options.event + E), this._super.emit.call(this, m);
|
|
13449
13442
|
}
|
|
13450
13443
|
});
|
|
13451
13444
|
function Jn() {
|
|
@@ -13464,15 +13457,15 @@ var sg = { exports: {} };
|
|
|
13464
13457
|
getTouchAction: function() {
|
|
13465
13458
|
return [xi];
|
|
13466
13459
|
},
|
|
13467
|
-
attrTest: function(
|
|
13468
|
-
return this._super.attrTest.call(this,
|
|
13460
|
+
attrTest: function(m) {
|
|
13461
|
+
return this._super.attrTest.call(this, m) && (Math.abs(m.scale - 1) > this.options.threshold || this.state & Ge);
|
|
13469
13462
|
},
|
|
13470
|
-
emit: function(
|
|
13471
|
-
if (
|
|
13472
|
-
var E =
|
|
13473
|
-
|
|
13463
|
+
emit: function(m) {
|
|
13464
|
+
if (m.scale !== 1) {
|
|
13465
|
+
var E = m.scale < 1 ? "in" : "out";
|
|
13466
|
+
m.additionalEvent = this.options.event + E;
|
|
13474
13467
|
}
|
|
13475
|
-
this._super.emit.call(this,
|
|
13468
|
+
this._super.emit.call(this, m);
|
|
13476
13469
|
}
|
|
13477
13470
|
});
|
|
13478
13471
|
function Dn() {
|
|
@@ -13494,23 +13487,23 @@ var sg = { exports: {} };
|
|
|
13494
13487
|
getTouchAction: function() {
|
|
13495
13488
|
return [Hs];
|
|
13496
13489
|
},
|
|
13497
|
-
process: function(
|
|
13498
|
-
var E = this.options, _ =
|
|
13499
|
-
if (this._input =
|
|
13490
|
+
process: function(m) {
|
|
13491
|
+
var E = this.options, _ = m.pointers.length === E.pointers, I = m.distance < E.threshold, Z = m.deltaTime > E.time;
|
|
13492
|
+
if (this._input = m, !I || !_ || m.eventType & (Lt | $t) && !Z)
|
|
13500
13493
|
this.reset();
|
|
13501
|
-
else if (
|
|
13494
|
+
else if (m.eventType & Yt)
|
|
13502
13495
|
this.reset(), this._timer = A(function() {
|
|
13503
13496
|
this.state = Ar, this.tryEmit();
|
|
13504
13497
|
}, E.time, this);
|
|
13505
|
-
else if (
|
|
13498
|
+
else if (m.eventType & Lt)
|
|
13506
13499
|
return Ar;
|
|
13507
13500
|
return lr;
|
|
13508
13501
|
},
|
|
13509
13502
|
reset: function() {
|
|
13510
13503
|
clearTimeout(this._timer);
|
|
13511
13504
|
},
|
|
13512
|
-
emit: function(
|
|
13513
|
-
this.state === Ar && (
|
|
13505
|
+
emit: function(m) {
|
|
13506
|
+
this.state === Ar && (m && m.eventType & Lt ? this.manager.emit(this.options.event + "up", m) : (this._input.timeStamp = p(), this.manager.emit(this.options.event, this._input)));
|
|
13514
13507
|
}
|
|
13515
13508
|
});
|
|
13516
13509
|
function Vs() {
|
|
@@ -13529,8 +13522,8 @@ var sg = { exports: {} };
|
|
|
13529
13522
|
getTouchAction: function() {
|
|
13530
13523
|
return [xi];
|
|
13531
13524
|
},
|
|
13532
|
-
attrTest: function(
|
|
13533
|
-
return this._super.attrTest.call(this,
|
|
13525
|
+
attrTest: function(m) {
|
|
13526
|
+
return this._super.attrTest.call(this, m) && (Math.abs(m.rotation) > this.options.threshold || this.state & Ge);
|
|
13534
13527
|
}
|
|
13535
13528
|
});
|
|
13536
13529
|
function ts() {
|
|
@@ -13551,13 +13544,13 @@ var sg = { exports: {} };
|
|
|
13551
13544
|
getTouchAction: function() {
|
|
13552
13545
|
return Cn.prototype.getTouchAction.call(this);
|
|
13553
13546
|
},
|
|
13554
|
-
attrTest: function(
|
|
13547
|
+
attrTest: function(m) {
|
|
13555
13548
|
var E = this.options.direction, _;
|
|
13556
|
-
return E & (Ee | Kt) ? _ =
|
|
13549
|
+
return E & (Ee | Kt) ? _ = m.overallVelocity : E & Ee ? _ = m.overallVelocityX : E & Kt && (_ = m.overallVelocityY), this._super.attrTest.call(this, m) && E & m.offsetDirection && m.distance > this.options.threshold && m.maxPointers == this.options.pointers && y(_) > this.options.velocity && m.eventType & Lt;
|
|
13557
13550
|
},
|
|
13558
|
-
emit: function(
|
|
13559
|
-
var E = Qa(
|
|
13560
|
-
E && this.manager.emit(this.options.event + E,
|
|
13551
|
+
emit: function(m) {
|
|
13552
|
+
var E = Qa(m.offsetDirection);
|
|
13553
|
+
E && this.manager.emit(this.options.event + E, m), this.manager.emit(this.options.event, m);
|
|
13561
13554
|
}
|
|
13562
13555
|
});
|
|
13563
13556
|
function Ai() {
|
|
@@ -13584,15 +13577,15 @@ var sg = { exports: {} };
|
|
|
13584
13577
|
getTouchAction: function() {
|
|
13585
13578
|
return [Us];
|
|
13586
13579
|
},
|
|
13587
|
-
process: function(
|
|
13588
|
-
var E = this.options, _ =
|
|
13589
|
-
if (this.reset(),
|
|
13580
|
+
process: function(m) {
|
|
13581
|
+
var E = this.options, _ = m.pointers.length === E.pointers, I = m.distance < E.threshold, Z = m.deltaTime < E.time;
|
|
13582
|
+
if (this.reset(), m.eventType & Yt && this.count === 0)
|
|
13590
13583
|
return this.failTimeout();
|
|
13591
13584
|
if (I && Z && _) {
|
|
13592
|
-
if (
|
|
13585
|
+
if (m.eventType != Lt)
|
|
13593
13586
|
return this.failTimeout();
|
|
13594
|
-
var et = this.pTime ?
|
|
13595
|
-
this.pTime =
|
|
13587
|
+
var et = this.pTime ? m.timeStamp - this.pTime < E.interval : !0, At = !this.pCenter || Jr(this.pCenter, m.center) < E.posThreshold;
|
|
13588
|
+
this.pTime = m.timeStamp, this.pCenter = m.center, !At || !et ? this.count = 1 : this.count += 1, this._input = m;
|
|
13596
13589
|
var ie = this.count % E.taps;
|
|
13597
13590
|
if (ie === 0)
|
|
13598
13591
|
return this.hasRequireFailures() ? (this._timer = A(function() {
|
|
@@ -13613,8 +13606,8 @@ var sg = { exports: {} };
|
|
|
13613
13606
|
this.state == Ar && (this._input.tapCount = this.count, this.manager.emit(this.options.event, this._input));
|
|
13614
13607
|
}
|
|
13615
13608
|
});
|
|
13616
|
-
function Fr(
|
|
13617
|
-
return E = E || {}, E.recognizers = Y(E.recognizers, Fr.defaults.preset), new es(
|
|
13609
|
+
function Fr(m, E) {
|
|
13610
|
+
return E = E || {}, E.recognizers = Y(E.recognizers, Fr.defaults.preset), new es(m, E);
|
|
13618
13611
|
}
|
|
13619
13612
|
Fr.VERSION = "2.0.7", Fr.defaults = {
|
|
13620
13613
|
/**
|
|
@@ -13713,8 +13706,8 @@ var sg = { exports: {} };
|
|
|
13713
13706
|
}
|
|
13714
13707
|
};
|
|
13715
13708
|
var Cu = 1, Ws = 2;
|
|
13716
|
-
function es(
|
|
13717
|
-
this.options = O({}, Fr.defaults, E || {}), this.options.inputTarget = this.options.inputTarget ||
|
|
13709
|
+
function es(m, E) {
|
|
13710
|
+
this.options = O({}, Fr.defaults, E || {}), this.options.inputTarget = this.options.inputTarget || m, this.handlers = {}, this.session = {}, this.recognizers = [], this.oldCssProps = {}, this.element = m, this.input = ar(this), this.touchAction = new qs(this, this.options.touchAction), rs(this, !0), C(this.options.recognizers, function(_) {
|
|
13718
13711
|
var I = this.add(new _[0](_[1]));
|
|
13719
13712
|
_[2] && I.recognizeWith(_[2]), _[3] && I.requireFailure(_[3]);
|
|
13720
13713
|
}, this);
|
|
@@ -13725,8 +13718,8 @@ var sg = { exports: {} };
|
|
|
13725
13718
|
* @param {Object} options
|
|
13726
13719
|
* @returns {Manager}
|
|
13727
13720
|
*/
|
|
13728
|
-
set: function(
|
|
13729
|
-
return O(this.options,
|
|
13721
|
+
set: function(m) {
|
|
13722
|
+
return O(this.options, m), m.touchAction && this.touchAction.update(), m.inputTarget && (this.input.destroy(), this.input.target = m.inputTarget, this.input.init()), this;
|
|
13730
13723
|
},
|
|
13731
13724
|
/**
|
|
13732
13725
|
* stop recognizing for this session.
|
|
@@ -13734,8 +13727,8 @@ var sg = { exports: {} };
|
|
|
13734
13727
|
* When forced, the recognizer cycle is stopped immediately.
|
|
13735
13728
|
* @param {Boolean} [force]
|
|
13736
13729
|
*/
|
|
13737
|
-
stop: function(
|
|
13738
|
-
this.session.stopped =
|
|
13730
|
+
stop: function(m) {
|
|
13731
|
+
this.session.stopped = m ? Ws : Cu;
|
|
13739
13732
|
},
|
|
13740
13733
|
/**
|
|
13741
13734
|
* run the recognizers!
|
|
@@ -13743,16 +13736,16 @@ var sg = { exports: {} };
|
|
|
13743
13736
|
* it walks through all the recognizers and tries to detect the gesture that is being made
|
|
13744
13737
|
* @param {Object} inputData
|
|
13745
13738
|
*/
|
|
13746
|
-
recognize: function(
|
|
13739
|
+
recognize: function(m) {
|
|
13747
13740
|
var E = this.session;
|
|
13748
13741
|
if (!E.stopped) {
|
|
13749
|
-
this.touchAction.preventDefaults(
|
|
13742
|
+
this.touchAction.preventDefaults(m);
|
|
13750
13743
|
var _, I = this.recognizers, Z = E.curRecognizer;
|
|
13751
13744
|
(!Z || Z && Z.state & Ar) && (Z = E.curRecognizer = null);
|
|
13752
13745
|
for (var et = 0; et < I.length; )
|
|
13753
13746
|
_ = I[et], E.stopped !== Ws && // 1
|
|
13754
13747
|
(!Z || _ == Z || // 2
|
|
13755
|
-
_.canRecognizeWith(Z)) ? _.recognize(
|
|
13748
|
+
_.canRecognizeWith(Z)) ? _.recognize(m) : _.reset(), !Z && _.state & (Ge | Qi | ei) && (Z = E.curRecognizer = _), et++;
|
|
13756
13749
|
}
|
|
13757
13750
|
},
|
|
13758
13751
|
/**
|
|
@@ -13760,11 +13753,11 @@ var sg = { exports: {} };
|
|
|
13760
13753
|
* @param {Recognizer|String} recognizer
|
|
13761
13754
|
* @returns {Recognizer|Null}
|
|
13762
13755
|
*/
|
|
13763
|
-
get: function(
|
|
13764
|
-
if (
|
|
13765
|
-
return
|
|
13756
|
+
get: function(m) {
|
|
13757
|
+
if (m instanceof Pr)
|
|
13758
|
+
return m;
|
|
13766
13759
|
for (var E = this.recognizers, _ = 0; _ < E.length; _++)
|
|
13767
|
-
if (E[_].options.event ==
|
|
13760
|
+
if (E[_].options.event == m)
|
|
13768
13761
|
return E[_];
|
|
13769
13762
|
return null;
|
|
13770
13763
|
},
|
|
@@ -13774,22 +13767,22 @@ var sg = { exports: {} };
|
|
|
13774
13767
|
* @param {Recognizer} recognizer
|
|
13775
13768
|
* @returns {Recognizer|Manager}
|
|
13776
13769
|
*/
|
|
13777
|
-
add: function(
|
|
13778
|
-
if (T(
|
|
13770
|
+
add: function(m) {
|
|
13771
|
+
if (T(m, "add", this))
|
|
13779
13772
|
return this;
|
|
13780
|
-
var E = this.get(
|
|
13781
|
-
return E && this.remove(E), this.recognizers.push(
|
|
13773
|
+
var E = this.get(m.options.event);
|
|
13774
|
+
return E && this.remove(E), this.recognizers.push(m), m.manager = this, this.touchAction.update(), m;
|
|
13782
13775
|
},
|
|
13783
13776
|
/**
|
|
13784
13777
|
* remove a recognizer by name or instance
|
|
13785
13778
|
* @param {Recognizer|String} recognizer
|
|
13786
13779
|
* @returns {Manager}
|
|
13787
13780
|
*/
|
|
13788
|
-
remove: function(
|
|
13789
|
-
if (T(
|
|
13781
|
+
remove: function(m) {
|
|
13782
|
+
if (T(m, "remove", this))
|
|
13790
13783
|
return this;
|
|
13791
|
-
if (
|
|
13792
|
-
var E = this.recognizers, _ = rt(E,
|
|
13784
|
+
if (m = this.get(m), m) {
|
|
13785
|
+
var E = this.recognizers, _ = rt(E, m);
|
|
13793
13786
|
_ !== -1 && (E.splice(_, 1), this.touchAction.update());
|
|
13794
13787
|
}
|
|
13795
13788
|
return this;
|
|
@@ -13800,10 +13793,10 @@ var sg = { exports: {} };
|
|
|
13800
13793
|
* @param {Function} handler
|
|
13801
13794
|
* @returns {EventEmitter} this
|
|
13802
13795
|
*/
|
|
13803
|
-
on: function(
|
|
13804
|
-
if (
|
|
13796
|
+
on: function(m, E) {
|
|
13797
|
+
if (m !== s && E !== s) {
|
|
13805
13798
|
var _ = this.handlers;
|
|
13806
|
-
return C(K(
|
|
13799
|
+
return C(K(m), function(I) {
|
|
13807
13800
|
_[I] = _[I] || [], _[I].push(E);
|
|
13808
13801
|
}), this;
|
|
13809
13802
|
}
|
|
@@ -13814,10 +13807,10 @@ var sg = { exports: {} };
|
|
|
13814
13807
|
* @param {Function} [handler]
|
|
13815
13808
|
* @returns {EventEmitter} this
|
|
13816
13809
|
*/
|
|
13817
|
-
off: function(
|
|
13818
|
-
if (
|
|
13810
|
+
off: function(m, E) {
|
|
13811
|
+
if (m !== s) {
|
|
13819
13812
|
var _ = this.handlers;
|
|
13820
|
-
return C(K(
|
|
13813
|
+
return C(K(m), function(I) {
|
|
13821
13814
|
E ? _[I] && _[I].splice(rt(_[I], E), 1) : delete _[I];
|
|
13822
13815
|
}), this;
|
|
13823
13816
|
}
|
|
@@ -13827,11 +13820,11 @@ var sg = { exports: {} };
|
|
|
13827
13820
|
* @param {String} event
|
|
13828
13821
|
* @param {Object} data
|
|
13829
13822
|
*/
|
|
13830
|
-
emit: function(
|
|
13831
|
-
this.options.domEvents && Du(
|
|
13832
|
-
var _ = this.handlers[
|
|
13823
|
+
emit: function(m, E) {
|
|
13824
|
+
this.options.domEvents && Du(m, E);
|
|
13825
|
+
var _ = this.handlers[m] && this.handlers[m].slice();
|
|
13833
13826
|
if (!(!_ || !_.length)) {
|
|
13834
|
-
E.type =
|
|
13827
|
+
E.type = m, E.preventDefault = function() {
|
|
13835
13828
|
E.srcEvent.preventDefault();
|
|
13836
13829
|
};
|
|
13837
13830
|
for (var I = 0; I < _.length; )
|
|
@@ -13846,18 +13839,18 @@ var sg = { exports: {} };
|
|
|
13846
13839
|
this.element && rs(this, !1), this.handlers = {}, this.session = {}, this.input.destroy(), this.element = null;
|
|
13847
13840
|
}
|
|
13848
13841
|
};
|
|
13849
|
-
function rs(
|
|
13850
|
-
var _ =
|
|
13842
|
+
function rs(m, E) {
|
|
13843
|
+
var _ = m.element;
|
|
13851
13844
|
if (_.style) {
|
|
13852
13845
|
var I;
|
|
13853
|
-
C(
|
|
13854
|
-
I = pt(_.style, et), E ? (
|
|
13855
|
-
}), E || (
|
|
13846
|
+
C(m.options.cssProps, function(Z, et) {
|
|
13847
|
+
I = pt(_.style, et), E ? (m.oldCssProps[I] = _.style[I], _.style[I] = Z) : _.style[I] = m.oldCssProps[I] || "";
|
|
13848
|
+
}), E || (m.oldCssProps = {});
|
|
13856
13849
|
}
|
|
13857
13850
|
}
|
|
13858
|
-
function Du(
|
|
13851
|
+
function Du(m, E) {
|
|
13859
13852
|
var _ = t.createEvent("Event");
|
|
13860
|
-
_.initEvent(
|
|
13853
|
+
_.initEvent(m, !0, !0), _.gesture = E, E.target.dispatchEvent(_);
|
|
13861
13854
|
}
|
|
13862
13855
|
O(Fr, {
|
|
13863
13856
|
INPUT_START: Yt,
|
|
@@ -14350,7 +14343,7 @@ class ug {
|
|
|
14350
14343
|
return r;
|
|
14351
14344
|
}
|
|
14352
14345
|
}
|
|
14353
|
-
var er = "top", Br = "bottom", Ir = "right", rr = "left", Ih = "auto", qa = [er, Br, Ir, rr], Bs = "start", Ba = "end", XA = "clippingParents", lg = "viewport",
|
|
14346
|
+
var er = "top", Br = "bottom", Ir = "right", rr = "left", Ih = "auto", qa = [er, Br, Ir, rr], Bs = "start", Ba = "end", XA = "clippingParents", lg = "viewport", ma = "popper", ZA = "reference", qp = /* @__PURE__ */ qa.reduce(function(i, e) {
|
|
14354
14347
|
return i.concat([e + "-" + Bs, e + "-" + Ba]);
|
|
14355
14348
|
}, []), hg = /* @__PURE__ */ [].concat(qa, [Ih]).reduce(function(i, e) {
|
|
14356
14349
|
return i.concat([e, e + "-" + Bs, e + "-" + Ba]);
|
|
@@ -14358,7 +14351,7 @@ var er = "top", Br = "bottom", Ir = "right", rr = "left", Ih = "auto", qa = [er,
|
|
|
14358
14351
|
function di(i) {
|
|
14359
14352
|
return i ? (i.nodeName || "").toLowerCase() : null;
|
|
14360
14353
|
}
|
|
14361
|
-
function
|
|
14354
|
+
function vr(i) {
|
|
14362
14355
|
if (i == null)
|
|
14363
14356
|
return window;
|
|
14364
14357
|
if (i.toString() !== "[object Window]") {
|
|
@@ -14368,17 +14361,17 @@ function mr(i) {
|
|
|
14368
14361
|
return i;
|
|
14369
14362
|
}
|
|
14370
14363
|
function Zn(i) {
|
|
14371
|
-
var e =
|
|
14364
|
+
var e = vr(i).Element;
|
|
14372
14365
|
return i instanceof e || i instanceof Element;
|
|
14373
14366
|
}
|
|
14374
14367
|
function Nr(i) {
|
|
14375
|
-
var e =
|
|
14368
|
+
var e = vr(i).HTMLElement;
|
|
14376
14369
|
return i instanceof e || i instanceof HTMLElement;
|
|
14377
14370
|
}
|
|
14378
14371
|
function Rh(i) {
|
|
14379
14372
|
if (typeof ShadowRoot == "undefined")
|
|
14380
14373
|
return !1;
|
|
14381
|
-
var e =
|
|
14374
|
+
var e = vr(i).ShadowRoot;
|
|
14382
14375
|
return i instanceof e || i instanceof ShadowRoot;
|
|
14383
14376
|
}
|
|
14384
14377
|
function ab(i) {
|
|
@@ -14440,7 +14433,7 @@ function Rs(i, e, t) {
|
|
|
14440
14433
|
e === void 0 && (e = !1), t === void 0 && (t = !1);
|
|
14441
14434
|
var r = i.getBoundingClientRect(), s = 1, o = 1;
|
|
14442
14435
|
e && Nr(i) && (s = i.offsetWidth > 0 && Is(r.width) / i.offsetWidth || 1, o = i.offsetHeight > 0 && Is(r.height) / i.offsetHeight || 1);
|
|
14443
|
-
var u = Zn(i) ?
|
|
14436
|
+
var u = Zn(i) ? vr(i) : window, h = u.visualViewport, c = !fg() && t, y = (r.left + (c && h ? h.offsetLeft : 0)) / s, p = (r.top + (c && h ? h.offsetTop : 0)) / o, A = r.width / s, T = r.height / o;
|
|
14444
14437
|
return {
|
|
14445
14438
|
width: A,
|
|
14446
14439
|
height: T,
|
|
@@ -14476,7 +14469,7 @@ function pg(i, e) {
|
|
|
14476
14469
|
return !1;
|
|
14477
14470
|
}
|
|
14478
14471
|
function qi(i) {
|
|
14479
|
-
return
|
|
14472
|
+
return vr(i).getComputedStyle(i);
|
|
14480
14473
|
}
|
|
14481
14474
|
function ub(i) {
|
|
14482
14475
|
return ["table", "td", "th"].indexOf(di(i)) >= 0;
|
|
@@ -14520,7 +14513,7 @@ function lb(i) {
|
|
|
14520
14513
|
return null;
|
|
14521
14514
|
}
|
|
14522
14515
|
function Va(i) {
|
|
14523
|
-
for (var e =
|
|
14516
|
+
for (var e = vr(i), t = Vp(i); t && ub(t) && qi(t).position === "static"; )
|
|
14524
14517
|
t = Vp(t);
|
|
14525
14518
|
return t && (di(t) === "html" || di(t) === "body" && qi(t).position === "static") ? e : t || lb(i) || e;
|
|
14526
14519
|
}
|
|
@@ -14603,7 +14596,7 @@ function Wp(i) {
|
|
|
14603
14596
|
var P = u.hasOwnProperty("x"), W = u.hasOwnProperty("y"), q = rr, b = er, Y = window;
|
|
14604
14597
|
if (y) {
|
|
14605
14598
|
var z = Va(t), j = "clientHeight", tt = "clientWidth";
|
|
14606
|
-
if (z ===
|
|
14599
|
+
if (z === vr(t) && (z = xn(t), qi(z).position !== "static" && h === "absolute" && (j = "scrollHeight", tt = "scrollWidth")), z = z, s === er || (s === rr || s === Ir) && o === Ba) {
|
|
14607
14600
|
b = Br;
|
|
14608
14601
|
var Q = A && z === Y && Y.visualViewport ? Y.visualViewport.height : (
|
|
14609
14602
|
// $FlowFixMe[prop-missing]
|
|
@@ -14625,7 +14618,7 @@ function Wp(i) {
|
|
|
14625
14618
|
}, y && gb), at = p === !0 ? yb({
|
|
14626
14619
|
x: C,
|
|
14627
14620
|
y: O
|
|
14628
|
-
},
|
|
14621
|
+
}, vr(t)) : {
|
|
14629
14622
|
x: C,
|
|
14630
14623
|
y: O
|
|
14631
14624
|
};
|
|
@@ -14635,7 +14628,7 @@ function Wp(i) {
|
|
|
14635
14628
|
}
|
|
14636
14629
|
return Object.assign({}, rt, (e = {}, e[b] = W ? O + "px" : "", e[q] = P ? C + "px" : "", e.transform = "", e));
|
|
14637
14630
|
}
|
|
14638
|
-
function
|
|
14631
|
+
function mb(i) {
|
|
14639
14632
|
var e = i.state, t = i.options, r = t.gpuAcceleration, s = r === void 0 ? !0 : r, o = t.adaptive, u = o === void 0 ? !0 : o, h = t.roundOffsets, c = h === void 0 ? !0 : h, y = {
|
|
14640
14633
|
placement: pi(e.placement),
|
|
14641
14634
|
variation: Ps(e.placement),
|
|
@@ -14658,18 +14651,18 @@ function vb(i) {
|
|
|
14658
14651
|
"data-popper-placement": e.placement
|
|
14659
14652
|
});
|
|
14660
14653
|
}
|
|
14661
|
-
const
|
|
14654
|
+
const vb = {
|
|
14662
14655
|
name: "computeStyles",
|
|
14663
14656
|
enabled: !0,
|
|
14664
14657
|
phase: "beforeWrite",
|
|
14665
|
-
fn:
|
|
14658
|
+
fn: mb,
|
|
14666
14659
|
data: {}
|
|
14667
14660
|
};
|
|
14668
14661
|
var Yo = {
|
|
14669
14662
|
passive: !0
|
|
14670
14663
|
};
|
|
14671
14664
|
function xb(i) {
|
|
14672
|
-
var e = i.state, t = i.instance, r = i.options, s = r.scroll, o = s === void 0 ? !0 : s, u = r.resize, h = u === void 0 ? !0 : u, c =
|
|
14665
|
+
var e = i.state, t = i.instance, r = i.options, s = r.scroll, o = s === void 0 ? !0 : s, u = r.resize, h = u === void 0 ? !0 : u, c = vr(e.elements.popper), y = [].concat(e.scrollParents.reference, e.scrollParents.popper);
|
|
14673
14666
|
return o && y.forEach(function(p) {
|
|
14674
14667
|
p.addEventListener("scroll", t.update, Yo);
|
|
14675
14668
|
}), h && c.addEventListener("resize", t.update, Yo), function() {
|
|
@@ -14708,7 +14701,7 @@ function zp(i) {
|
|
|
14708
14701
|
});
|
|
14709
14702
|
}
|
|
14710
14703
|
function kh(i) {
|
|
14711
|
-
var e =
|
|
14704
|
+
var e = vr(i), t = e.pageXOffset, r = e.pageYOffset;
|
|
14712
14705
|
return {
|
|
14713
14706
|
scrollLeft: t,
|
|
14714
14707
|
scrollTop: r
|
|
@@ -14718,7 +14711,7 @@ function Hh(i) {
|
|
|
14718
14711
|
return Rs(xn(i)).left + kh(i).scrollLeft;
|
|
14719
14712
|
}
|
|
14720
14713
|
function wb(i, e) {
|
|
14721
|
-
var t =
|
|
14714
|
+
var t = vr(i), r = xn(i), s = t.visualViewport, o = r.clientWidth, u = r.clientHeight, h = 0, c = 0;
|
|
14722
14715
|
if (s) {
|
|
14723
14716
|
o = s.width, u = s.height;
|
|
14724
14717
|
var y = fg();
|
|
@@ -14744,13 +14737,13 @@ function Uh(i) {
|
|
|
14744
14737
|
var e = qi(i), t = e.overflow, r = e.overflowX, s = e.overflowY;
|
|
14745
14738
|
return /auto|scroll|overlay|hidden/.test(t + s + r);
|
|
14746
14739
|
}
|
|
14747
|
-
function
|
|
14748
|
-
return ["html", "body", "#document"].indexOf(di(i)) >= 0 ? i.ownerDocument.body : Nr(i) && Uh(i) ? i :
|
|
14740
|
+
function mg(i) {
|
|
14741
|
+
return ["html", "body", "#document"].indexOf(di(i)) >= 0 ? i.ownerDocument.body : Nr(i) && Uh(i) ? i : mg(Eu(i));
|
|
14749
14742
|
}
|
|
14750
14743
|
function _a(i, e) {
|
|
14751
14744
|
var t;
|
|
14752
14745
|
e === void 0 && (e = []);
|
|
14753
|
-
var r =
|
|
14746
|
+
var r = mg(i), s = r === ((t = i.ownerDocument) == null ? void 0 : t.body), o = vr(r), u = s ? [o].concat(o.visualViewport || [], Uh(r) ? r : []) : r, h = e.concat(u);
|
|
14754
14747
|
return s ? h : (
|
|
14755
14748
|
// $FlowFixMe[incompatible-call]: isBody tells us target will be an HTMLElement here
|
|
14756
14749
|
h.concat(_a(Eu(u)))
|
|
@@ -14784,7 +14777,7 @@ function Db(i, e, t, r) {
|
|
|
14784
14777
|
}, $p(i, u, r));
|
|
14785
14778
|
return h.width = h.right - h.left, h.height = h.bottom - h.top, h.x = h.left, h.y = h.top, h;
|
|
14786
14779
|
}
|
|
14787
|
-
function
|
|
14780
|
+
function vg(i) {
|
|
14788
14781
|
var e = i.reference, t = i.element, r = i.placement, s = r ? pi(r) : null, o = r ? Ps(r) : null, u = e.x + e.width / 2 - t.width / 2, h = e.y + e.height / 2 - t.height / 2, c;
|
|
14789
14782
|
switch (s) {
|
|
14790
14783
|
case er:
|
|
@@ -14833,18 +14826,18 @@ function mg(i) {
|
|
|
14833
14826
|
}
|
|
14834
14827
|
function Ia(i, e) {
|
|
14835
14828
|
e === void 0 && (e = {});
|
|
14836
|
-
var t = e, r = t.placement, s = r === void 0 ? i.placement : r, o = t.strategy, u = o === void 0 ? i.strategy : o, h = t.boundary, c = h === void 0 ? XA : h, y = t.rootBoundary, p = y === void 0 ? lg : y, A = t.elementContext, T = A === void 0 ?
|
|
14829
|
+
var t = e, r = t.placement, s = r === void 0 ? i.placement : r, o = t.strategy, u = o === void 0 ? i.strategy : o, h = t.boundary, c = h === void 0 ? XA : h, y = t.rootBoundary, p = y === void 0 ? lg : y, A = t.elementContext, T = A === void 0 ? ma : A, C = t.altBoundary, N = C === void 0 ? !1 : C, O = t.padding, L = O === void 0 ? 0 : O, P = gg(typeof L != "number" ? L : yg(L, qa)), W = T === ma ? ZA : ma, q = i.rects.popper, b = i.elements[N ? W : T], Y = Db(Zn(b) ? b : b.contextElement || xn(i.elements.popper), c, p, u), z = Rs(i.elements.reference), j = vg({
|
|
14837
14830
|
reference: z,
|
|
14838
14831
|
element: q,
|
|
14839
14832
|
strategy: "absolute",
|
|
14840
14833
|
placement: s
|
|
14841
|
-
}), tt = gh(Object.assign({}, q, j)), Q = T ===
|
|
14834
|
+
}), tt = gh(Object.assign({}, q, j)), Q = T === ma ? tt : z, K = {
|
|
14842
14835
|
top: Y.top - Q.top + P.top,
|
|
14843
14836
|
bottom: Q.bottom - Y.bottom + P.bottom,
|
|
14844
14837
|
left: Y.left - Q.left + P.left,
|
|
14845
14838
|
right: Q.right - Y.right + P.right
|
|
14846
14839
|
}, rt = i.modifiersData.offset;
|
|
14847
|
-
if (T ===
|
|
14840
|
+
if (T === ma && rt) {
|
|
14848
14841
|
var at = rt[s];
|
|
14849
14842
|
Object.keys(K).forEach(function(ct) {
|
|
14850
14843
|
var pt = [Ir, Br].indexOf(ct) >= 0 ? 1 : -1, dt = [er, Br].indexOf(ct) >= 0 ? "y" : "x";
|
|
@@ -15003,7 +14996,7 @@ const Pb = {
|
|
|
15003
14996
|
};
|
|
15004
14997
|
function Fb(i) {
|
|
15005
14998
|
var e = i.state, t = i.name;
|
|
15006
|
-
e.modifiersData[t] =
|
|
14999
|
+
e.modifiersData[t] = vg({
|
|
15007
15000
|
reference: e.rects.reference,
|
|
15008
15001
|
element: e.rects.popper,
|
|
15009
15002
|
strategy: "absolute",
|
|
@@ -15047,7 +15040,7 @@ function Ub(i) {
|
|
|
15047
15040
|
z[b] = Ee, at[b] = Ee - xt;
|
|
15048
15041
|
}
|
|
15049
15042
|
if (h) {
|
|
15050
|
-
var Kt, jr = b === "x" ? er : rr, yi = b === "x" ? Br : Ir, he = z[Y], Nt = Y === "y" ? "height" : "width", ar = he + L[jr], ze = he - L[yi],
|
|
15043
|
+
var Kt, jr = b === "x" ? er : rr, yi = b === "x" ? Br : Ir, he = z[Y], Nt = Y === "y" ? "height" : "width", ar = he + L[jr], ze = he - L[yi], mi = [er, rr].indexOf(P) !== -1, xr = (Kt = rt == null ? void 0 : rt[Y]) != null ? Kt : 0, Wi = mi ? ar : he - j[Nt] - tt[Nt] - xr + K.altAxis, or = mi ? he + j[Nt] + tt[Nt] - xr - K.altAxis : ze, $e = C && mi ? hb(Wi, he, or) : Ta(C ? Wi : ar, he, C ? or : ze);
|
|
15051
15044
|
z[Y] = $e, at[Y] = $e - he;
|
|
15052
15045
|
}
|
|
15053
15046
|
e.modifiersData[r] = at;
|
|
@@ -15067,7 +15060,7 @@ function Vb(i) {
|
|
|
15067
15060
|
};
|
|
15068
15061
|
}
|
|
15069
15062
|
function Wb(i) {
|
|
15070
|
-
return i ===
|
|
15063
|
+
return i === vr(i) || !Nr(i) ? kh(i) : Vb(i);
|
|
15071
15064
|
}
|
|
15072
15065
|
function zb(i) {
|
|
15073
15066
|
var e = i.getBoundingClientRect(), t = Is(e.width) / i.offsetWidth || 1, r = Is(e.height) / i.offsetHeight || 1;
|
|
@@ -15250,7 +15243,7 @@ function Qb(i) {
|
|
|
15250
15243
|
return C;
|
|
15251
15244
|
};
|
|
15252
15245
|
}
|
|
15253
|
-
var Kb = [Eb, kb,
|
|
15246
|
+
var Kb = [Eb, kb, vb, cg, Pb, Lb, qb, db, Bb], jb = /* @__PURE__ */ Qb({
|
|
15254
15247
|
defaultModifiers: Kb
|
|
15255
15248
|
}), Jb = "tippy-box", xg = "tippy-content", tw = "tippy-backdrop", Eg = "tippy-arrow", Ag = "tippy-svg-arrow", Wn = {
|
|
15256
15249
|
passive: !0,
|
|
@@ -15407,7 +15400,7 @@ function rd(i) {
|
|
|
15407
15400
|
var e = /[ \t]{2,}/g, t = /^[ \t]*/gm;
|
|
15408
15401
|
return i.replace(e, " ").replace(t, "").trim();
|
|
15409
15402
|
}
|
|
15410
|
-
function
|
|
15403
|
+
function mw(i) {
|
|
15411
15404
|
return rd(`
|
|
15412
15405
|
%ctippy.js
|
|
15413
15406
|
|
|
@@ -15418,7 +15411,7 @@ function vw(i) {
|
|
|
15418
15411
|
}
|
|
15419
15412
|
function _g(i) {
|
|
15420
15413
|
return [
|
|
15421
|
-
|
|
15414
|
+
mw(i),
|
|
15422
15415
|
// title
|
|
15423
15416
|
"color: #00C584; font-size: 1.3em; font-weight: bold;",
|
|
15424
15417
|
// message
|
|
@@ -15428,8 +15421,8 @@ function _g(i) {
|
|
|
15428
15421
|
];
|
|
15429
15422
|
}
|
|
15430
15423
|
var Pa;
|
|
15431
|
-
process.env.NODE_ENV !== "production" &&
|
|
15432
|
-
function
|
|
15424
|
+
process.env.NODE_ENV !== "production" && vw();
|
|
15425
|
+
function vw() {
|
|
15433
15426
|
Pa = /* @__PURE__ */ new Set();
|
|
15434
15427
|
}
|
|
15435
15428
|
function Fi(i, e) {
|
|
@@ -15573,17 +15566,17 @@ function Sg(i, e) {
|
|
|
15573
15566
|
var Tw = function() {
|
|
15574
15567
|
return "innerHTML";
|
|
15575
15568
|
};
|
|
15576
|
-
function
|
|
15569
|
+
function mh(i, e) {
|
|
15577
15570
|
i[Tw()] = e;
|
|
15578
15571
|
}
|
|
15579
15572
|
function nd(i) {
|
|
15580
15573
|
var e = Ca();
|
|
15581
|
-
return i === !0 ? e.className = Eg : (e.className = Ag, Ra(i) ? e.appendChild(i) :
|
|
15574
|
+
return i === !0 ? e.className = Eg : (e.className = Ag, Ra(i) ? e.appendChild(i) : mh(e, i)), e;
|
|
15582
15575
|
}
|
|
15583
15576
|
function sd(i, e) {
|
|
15584
|
-
Ra(e.content) ? (
|
|
15577
|
+
Ra(e.content) ? (mh(i, ""), i.appendChild(e.content)) : typeof e.content != "function" && (e.allowHTML ? mh(i, e.content) : i.textContent = e.content);
|
|
15585
15578
|
}
|
|
15586
|
-
function
|
|
15579
|
+
function vh(i) {
|
|
15587
15580
|
var e = i.firstElementChild, t = hu(e.children);
|
|
15588
15581
|
return {
|
|
15589
15582
|
box: e,
|
|
@@ -15604,7 +15597,7 @@ function Og(i) {
|
|
|
15604
15597
|
var r = Ca();
|
|
15605
15598
|
r.className = xg, r.setAttribute("data-state", "hidden"), sd(r, i.props), e.appendChild(t), t.appendChild(r), s(i.props, i.props);
|
|
15606
15599
|
function s(o, u) {
|
|
15607
|
-
var h =
|
|
15600
|
+
var h = vh(e), c = h.box, y = h.content, p = h.arrow;
|
|
15608
15601
|
u.theme ? c.setAttribute("data-theme", u.theme) : c.removeAttribute("data-theme"), typeof u.animation == "string" ? c.setAttribute("data-animation", u.animation) : c.removeAttribute("data-animation"), u.inertia ? c.setAttribute("data-inertia", "") : c.removeAttribute("data-inertia"), c.style.maxWidth = typeof u.maxWidth == "number" ? u.maxWidth + "px" : u.maxWidth, u.role ? c.setAttribute("role", u.role) : c.removeAttribute("role"), (o.content !== u.content || o.allowHTML !== u.allowHTML) && sd(y, i.props), u.arrow ? p ? o.arrow !== u.arrow && (c.removeChild(p), c.appendChild(nd(u.arrow))) : c.appendChild(nd(u.arrow)) : p && c.removeChild(p);
|
|
15609
15602
|
}
|
|
15610
15603
|
return {
|
|
@@ -15642,9 +15635,9 @@ function Cw(i, e) {
|
|
|
15642
15635
|
show: zi,
|
|
15643
15636
|
hide: $i,
|
|
15644
15637
|
hideWithInteractivity: Jr,
|
|
15645
|
-
enable:
|
|
15638
|
+
enable: mi,
|
|
15646
15639
|
disable: xr,
|
|
15647
|
-
unmount:
|
|
15640
|
+
unmount: vi,
|
|
15648
15641
|
destroy: En
|
|
15649
15642
|
};
|
|
15650
15643
|
if (!t.render)
|
|
@@ -15678,7 +15671,7 @@ function Cw(i, e) {
|
|
|
15678
15671
|
return H ? hw(H) : document;
|
|
15679
15672
|
}
|
|
15680
15673
|
function dt() {
|
|
15681
|
-
return
|
|
15674
|
+
return vh(z);
|
|
15682
15675
|
}
|
|
15683
15676
|
function B(H) {
|
|
15684
15677
|
return b.state.isMounted && !b.state.isVisible || hi.isTouch || p && p.type === "focus" ? 0 : Kl(b.props.delay, H ? 0 : 1, yr.delay);
|
|
@@ -15849,7 +15842,7 @@ function Cw(i, e) {
|
|
|
15849
15842
|
}
|
|
15850
15843
|
function jr() {
|
|
15851
15844
|
yi();
|
|
15852
|
-
var H = b.props, nt = H.popperOptions, ot = H.placement, St = H.offset, Et = H.getReferenceClientRect, ye = H.moveTransition, Le = at() ?
|
|
15845
|
+
var H = b.props, nt = H.popperOptions, ot = H.placement, St = H.offset, Et = H.getReferenceClientRect, ye = H.moveTransition, Le = at() ? vh(z).arrow : null, Er = Et ? {
|
|
15853
15846
|
getBoundingClientRect: Et,
|
|
15854
15847
|
contextElement: Et.contextElement || ct()
|
|
15855
15848
|
} : i, Gi = {
|
|
@@ -15941,7 +15934,7 @@ function Cw(i, e) {
|
|
|
15941
15934
|
});
|
|
15942
15935
|
}
|
|
15943
15936
|
}
|
|
15944
|
-
function
|
|
15937
|
+
function mi() {
|
|
15945
15938
|
b.state.isEnabled = !0;
|
|
15946
15939
|
}
|
|
15947
15940
|
function xr() {
|
|
@@ -16004,7 +15997,7 @@ function Cw(i, e) {
|
|
|
16004
15997
|
function Jr(H) {
|
|
16005
15998
|
process.env.NODE_ENV !== "production" && Fi(b.state.isDestroyed, bs("hideWithInteractivity")), pt().addEventListener("mousemove", N), Kp(Xo, N), N(H);
|
|
16006
15999
|
}
|
|
16007
|
-
function
|
|
16000
|
+
function vi() {
|
|
16008
16001
|
process.env.NODE_ENV !== "production" && Fi(b.state.isDestroyed, bs("unmount")), b.state.isVisible && b.hide(), b.state.isMounted && (yi(), Nt().forEach(function(H) {
|
|
16009
16002
|
H._tippy.unmount();
|
|
16010
16003
|
}), z.parentNode && z.parentNode.removeChild(z), th = th.filter(function(H) {
|
|
@@ -16573,7 +16566,7 @@ class Rw extends sr {
|
|
|
16573
16566
|
const s = It.cloneDeep(r);
|
|
16574
16567
|
s.type = this._panType;
|
|
16575
16568
|
const o = this._getDummy(t.target, s);
|
|
16576
|
-
|
|
16569
|
+
va.set(t.center.x, t.center.y).sub(this.offset), o.worldPosition.copy(va).unproject(this.controller.camera), o.update(va), this.panEndHandler({ type: "panend", e: t });
|
|
16577
16570
|
}
|
|
16578
16571
|
handlePanEnd(t) {
|
|
16579
16572
|
if ((t == null ? void 0 : t.type) !== "panend") return;
|
|
@@ -16589,9 +16582,9 @@ class Rw extends sr {
|
|
|
16589
16582
|
if (t) {
|
|
16590
16583
|
const h = this._elMap.get(s);
|
|
16591
16584
|
if (!h || !this.controller.camera) return;
|
|
16592
|
-
|
|
16585
|
+
va.copy(h.position), this.raycaster.setFromCamera(va, this.controller.camera);
|
|
16593
16586
|
const c = [];
|
|
16594
|
-
if ((u = this.scene) == null || u.getIntersectObjects(this.raycaster,
|
|
16587
|
+
if ((u = this.scene) == null || u.getIntersectObjects(this.raycaster, mr.RM, c), !(c != null && c.length)) return;
|
|
16595
16588
|
o = It.cloneDeep(o), o.rmId = c[0].id;
|
|
16596
16589
|
}
|
|
16597
16590
|
r.push(o);
|
|
@@ -16644,7 +16637,7 @@ class Rw extends sr {
|
|
|
16644
16637
|
return s;
|
|
16645
16638
|
}
|
|
16646
16639
|
}
|
|
16647
|
-
const
|
|
16640
|
+
const va = new k();
|
|
16648
16641
|
var Ds = Object.freeze({
|
|
16649
16642
|
Linear: Object.freeze({
|
|
16650
16643
|
None: function(i) {
|
|
@@ -17615,7 +17608,7 @@ class $w extends sr {
|
|
|
17615
17608
|
var o, u, h, c, y;
|
|
17616
17609
|
const r = ((o = t == null ? void 0 : t.e) == null ? void 0 : o.target) || ((h = (u = t == null ? void 0 : t.e) == null ? void 0 : u.srcEvent) == null ? void 0 : h.target);
|
|
17617
17610
|
let s = r == null ? void 0 : r.id;
|
|
17618
|
-
(s == null ? void 0 : s.indexOf("dummy")) > -1 ? (s = r.getAttribute(Ns + "-id"), s && this._currentAssetId !== s && this.dispatchEvent({ type: "POINTEROVER", data: { id: s, assetType: "dummy" }, e: t.e })) : s && ((c = this.scene) != null && c.isBelongsToAssetType(s,
|
|
17611
|
+
(s == null ? void 0 : s.indexOf("dummy")) > -1 ? (s = r.getAttribute(Ns + "-id"), s && this._currentAssetId !== s && this.dispatchEvent({ type: "POINTEROVER", data: { id: s, assetType: "dummy" }, e: t.e })) : s && ((c = this.scene) != null && c.isBelongsToAssetType(s, mr.WS)) ? this._currentAssetId !== s && this.dispatchEvent({ type: "POINTEROVER", data: { id: s, assetType: mr.WS }, e: t.e }) : s && ((y = this.scene) != null && y.isBelongsToAssetType(s, mr.RM)) ? this._currentAssetId !== s && this.dispatchEvent({ type: "POINTEROVER", data: { id: s, assetType: mr.RM }, e: t.e }) : (this._currentAssetId = void 0, this.dispatchEvent({ type: "POINTERLEAVE", e: t.e })), this._currentAssetId = s;
|
|
17619
17612
|
}
|
|
17620
17613
|
handleMultiSelectorSelected(t) {
|
|
17621
17614
|
console.warn("handleMultiSelectorSelected:", t.data), this.dispatchEvent({ type: "SELECTED", data: t.data });
|
|
@@ -18494,7 +18487,7 @@ class pT extends sr {
|
|
|
18494
18487
|
});
|
|
18495
18488
|
}
|
|
18496
18489
|
// ========================= params
|
|
18497
|
-
assetTypeChanged(t =
|
|
18490
|
+
assetTypeChanged(t = mr.RM) {
|
|
18498
18491
|
this.params.assetType = t, this.worker.postMessage({ task: Dt.ASSET_TYPE_CHANGED, data: t });
|
|
18499
18492
|
}
|
|
18500
18493
|
usedCacheChanged(t = !1) {
|
|
@@ -18627,13 +18620,13 @@ function gT(i) {
|
|
|
18627
18620
|
export {
|
|
18628
18621
|
Yw as AppEnum,
|
|
18629
18622
|
pT as AppOffscreen,
|
|
18630
|
-
|
|
18623
|
+
mr as AssetTypeEnum,
|
|
18631
18624
|
lT as Box2,
|
|
18632
18625
|
Zt as Color,
|
|
18633
18626
|
te as ColorsEnum,
|
|
18634
18627
|
dT as EnvironmentWorker,
|
|
18635
18628
|
zt as GLOB,
|
|
18636
|
-
|
|
18629
|
+
vu as LayerTypeEnum,
|
|
18637
18630
|
Ma as Monitor,
|
|
18638
18631
|
gT as RendererWorker,
|
|
18639
18632
|
fT as SvgApp,
|