chbim-plugins 0.0.74 → 0.0.76
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/chbim-plugins.js +444 -441
- package/chbim-plugins.umd.cjs +17 -17
- package/package.json +2 -5
package/chbim-plugins.js
CHANGED
|
@@ -722,10 +722,10 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
722
722
|
b && b._startTime < J && (this._time = z = b._startTime, this._totalTime = z + this._cycle * (this._totalDuration + this._repeatDelay));
|
|
723
723
|
}
|
|
724
724
|
if (this._cycle !== G && !this._locked) {
|
|
725
|
-
var Pt = this._yoyo && (1 & G) !== 0, Et = Pt === (this._yoyo && (1 & this._cycle) !== 0), Ct = this._totalTime,
|
|
726
|
-
if (this._totalTime = G * J, this._cycle < G ? Pt = !Pt : this._totalTime += J, this._time = N, this._rawPrevTime = J === 0 ? et - 1e-4 : et, this._cycle = G, this._locked = !0, N = Pt ? 0 : J, this.render(N, B, J === 0), B || this._gc || this.vars.onRepeat && (this._cycle =
|
|
725
|
+
var Pt = this._yoyo && (1 & G) !== 0, Et = Pt === (this._yoyo && (1 & this._cycle) !== 0), Ct = this._totalTime, fe = this._cycle, re = this._rawPrevTime, Ft = this._time;
|
|
726
|
+
if (this._totalTime = G * J, this._cycle < G ? Pt = !Pt : this._totalTime += J, this._time = N, this._rawPrevTime = J === 0 ? et - 1e-4 : et, this._cycle = G, this._locked = !0, N = Pt ? 0 : J, this.render(N, B, J === 0), B || this._gc || this.vars.onRepeat && (this._cycle = fe, this._locked = !1, this._callback("onRepeat")), N !== this._time || (Et && (this._cycle = G, this._locked = !0, N = Pt ? J + 1e-4 : -1e-4, this.render(N, !0, !1)), this._locked = !1, this._paused && !yt))
|
|
727
727
|
return;
|
|
728
|
-
this._time = Ft, this._totalTime = Ct, this._cycle =
|
|
728
|
+
this._time = Ft, this._totalTime = Ct, this._cycle = fe, this._rawPrevTime = re;
|
|
729
729
|
}
|
|
730
730
|
if (!(this._time !== N && this._first || I || M || b))
|
|
731
731
|
return void ($ !== this._totalTime && this._onUpdate && (B || this._callback("onUpdate")));
|
|
@@ -814,9 +814,9 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
814
814
|
var U = { a: x }, N = {}, j = {}, J = { c: b }, $ = (x + M) / 2, ct = (M + R) / 2, It = (R + b) / 2, et = ($ + ct) / 2, yt = (ct + It) / 2, G = (yt - et) / 8;
|
|
815
815
|
return U.b = $ + (x - $) / 4, N.b = et + G, U.c = N.a = (U.b + N.b) / 2, N.c = j.a = (et + yt) / 2, j.b = yt - G, J.b = It + (b - It) / 4, j.c = J.a = (j.b + J.b) / 2, [U, N, j, J];
|
|
816
816
|
}, S = function(x, M, R, b, U) {
|
|
817
|
-
var N, j, J, $, ct, It, et, yt, G, Pt, Et, Ct,
|
|
817
|
+
var N, j, J, $, ct, It, et, yt, G, Pt, Et, Ct, fe, re = x.length - 1, Ft = 0, Ot = x[0].a;
|
|
818
818
|
for (N = 0; re > N; N++)
|
|
819
|
-
ct = x[Ft], j = ct.a, J = ct.d, $ = x[Ft + 1].d, U ? (Et = l[N], Ct = o[N],
|
|
819
|
+
ct = x[Ft], j = ct.a, J = ct.d, $ = x[Ft + 1].d, U ? (Et = l[N], Ct = o[N], fe = (Ct + Et) * M * 0.25 / (b ? 0.5 : p[N] || 0.5), It = J - (J - j) * (b ? 0.5 * M : Et !== 0 ? fe / Et : 0), et = J + ($ - J) * (b ? 0.5 * M : Ct !== 0 ? fe / Ct : 0), yt = J - (It + ((et - It) * (3 * Et / (Et + Ct) + 0.5) / 4 || 0))) : (It = J - (J - j) * M * 0.5, et = J + ($ - J) * M * 0.5, yt = J - (It + et) / 2), It += yt, et += yt, ct.c = G = It, N !== 0 ? ct.b = Ot : ct.b = Ot = ct.a + 0.6 * (ct.c - ct.a), ct.da = J - j, ct.ca = G - j, ct.ba = Ot - j, R ? (Pt = T(j, Ot, G, J), x.splice(Ft, 1, Pt[0], Pt[1], Pt[2], Pt[3]), Ft += 4) : Ft++, Ot = et;
|
|
820
820
|
ct = x[Ft], ct.b = Ot, ct.c = Ot + 0.4 * (ct.d - Ot), ct.da = ct.d - ct.a, ct.ca = ct.c - ct.a, ct.ba = Ot - ct.a, R && (Pt = T(ct.a, Ot, ct.c, ct.d), x.splice(Ft, 1, Pt[0], Pt[1], Pt[2], Pt[3]));
|
|
821
821
|
}, C = function(x, M, R, b) {
|
|
822
822
|
var U, N, j, J, $, ct, It = [];
|
|
@@ -858,13 +858,13 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
858
858
|
return Pt;
|
|
859
859
|
}, B = function(x, M, R) {
|
|
860
860
|
M = M || "soft";
|
|
861
|
-
var b, U, N, j, J, $, ct, It, et, yt, G, Pt = {}, Et = M === "cubic" ? 3 : 2, Ct = M === "soft",
|
|
861
|
+
var b, U, N, j, J, $, ct, It, et, yt, G, Pt = {}, Et = M === "cubic" ? 3 : 2, Ct = M === "soft", fe = [];
|
|
862
862
|
if (Ct && R && (x = [R].concat(x)), x == null || x.length < Et + 1)
|
|
863
863
|
throw "invalid Bezier data";
|
|
864
864
|
for (et in x[0])
|
|
865
|
-
|
|
866
|
-
for ($ =
|
|
867
|
-
for (et =
|
|
865
|
+
fe.push(et);
|
|
866
|
+
for ($ = fe.length; --$ > -1; ) {
|
|
867
|
+
for (et = fe[$], Pt[et] = J = [], yt = 0, It = x.length, ct = 0; It > ct; ct++)
|
|
868
868
|
b = R == null ? x[ct][et] : typeof (G = x[ct][et]) == "string" && G.charAt(1) === "=" ? R[et] + Number(G.charAt(0) + G.substr(2)) : Number(G), Ct && ct > 1 && It - 1 > ct && (J[yt++] = (b + J[yt - 2]) / 2), J[yt++] = b;
|
|
869
869
|
for (It = yt - Et + 1, yt = 0, ct = 0; It > ct; ct += Et)
|
|
870
870
|
b = J[ct], U = J[ct + 1], N = J[ct + 2], j = Et === 2 ? 0 : J[ct + 3], J[yt++] = G = Et === 3 ? new m(b, U, N, j) : new m(b, (2 * U + b) / 3, (2 * U + N) / 3, N);
|
|
@@ -943,9 +943,9 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
943
943
|
for (R = 1 - j, b = this._props.length; --b > -1; )
|
|
944
944
|
U = this._props[b], N = this._beziers[U][M], J = (j * j * N.da + 3 * R * (j * N.ca + R * N.ba)) * j + N.a, this._mod[U] && (J = this._mod[U](J, G)), yt[U] ? G[U](J) : G[U] = J;
|
|
945
945
|
if (this._autoRotate) {
|
|
946
|
-
var Et, Ct,
|
|
946
|
+
var Et, Ct, fe, re, Ft, Ot, Bt, ke = this._autoRotate;
|
|
947
947
|
for (b = ke.length; --b > -1; )
|
|
948
|
-
U = ke[b][2], Ot = ke[b][3] || 0, Bt = ke[b][4] === !0 ? 1 : w, N = this._beziers[ke[b][0]], Et = this._beziers[ke[b][1]], N && Et && (N = N[M], Et = Et[M], Ct = N.a + (N.b - N.a) * j, re = N.b + (N.c - N.b) * j, Ct += (re - Ct) * j, re += (N.c + (N.d - N.c) * j - re) * j,
|
|
948
|
+
U = ke[b][2], Ot = ke[b][3] || 0, Bt = ke[b][4] === !0 ? 1 : w, N = this._beziers[ke[b][0]], Et = this._beziers[ke[b][1]], N && Et && (N = N[M], Et = Et[M], Ct = N.a + (N.b - N.a) * j, re = N.b + (N.c - N.b) * j, Ct += (re - Ct) * j, re += (N.c + (N.d - N.c) * j - re) * j, fe = Et.a + (Et.b - Et.a) * j, Ft = Et.b + (Et.c - Et.b) * j, fe += (Ft - fe) * j, Ft += (Et.c + (Et.d - Et.c) * j - Ft) * j, J = Pt ? Math.atan2(Ft - fe, re - Ct) * Bt + Ot : this._initialRotations[b], this._mod[U] && (J = this._mod[U](J, G)), yt[U] ? G[U](J) : G[U] = J);
|
|
949
949
|
}
|
|
950
950
|
}
|
|
951
951
|
}), L = E.prototype;
|
|
@@ -958,14 +958,14 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
958
958
|
M._registerComplexSpecialProp("bezier", {
|
|
959
959
|
parser: function(N, j, J, $, ct, It) {
|
|
960
960
|
j instanceof Array && (j = { values: j }), It = new E();
|
|
961
|
-
var et, yt, G, Pt = j.values, Et = Pt.length - 1, Ct = [],
|
|
961
|
+
var et, yt, G, Pt = j.values, Et = Pt.length - 1, Ct = [], fe = {};
|
|
962
962
|
if (0 > Et)
|
|
963
963
|
return ct;
|
|
964
964
|
for (et = 0; Et >= et; et++)
|
|
965
965
|
G = R(N, Pt[et], $, ct, It, Et !== et), Ct[et] = G.end;
|
|
966
966
|
for (yt in j)
|
|
967
|
-
|
|
968
|
-
return
|
|
967
|
+
fe[yt] = j[yt];
|
|
968
|
+
return fe.values = Ct, ct = new U(N, "bezier", 0, 0, G.pt, 2), ct.data = G, ct.plugin = It, ct.setRatio = b, fe.autoRotate === 0 && (fe.autoRotate = !0), !fe.autoRotate || fe.autoRotate instanceof Array || (et = fe.autoRotate === !0 ? 0 : Number(fe.autoRotate), fe.autoRotate = G.end.left != null ? [["left", "top", "rotation", et, !1]] : G.end.x != null ? [["x", "y", "rotation", et, !1]] : !1), fe.autoRotate && ($._transform || $._enableTransforms(!1), G.autoRotate = $._target._gsTransform, G.proxy.rotation = G.autoRotate.rotation || 0, $._overwriteProps.push("rotation")), It._onInitTween(G.proxy, fe, $._tween), ct;
|
|
969
969
|
}
|
|
970
970
|
});
|
|
971
971
|
}
|
|
@@ -1005,39 +1005,39 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1005
1005
|
};
|
|
1006
1006
|
var C, z, B, I, F, E, L, x, M = /(?:\-|\.|\b)(\d|\.|e\-)+/g, R = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, b = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, U = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, N = /(?:\d|\-|\+|=|#|\.)*/g, j = /opacity *= *([^)]*)/i, J = /opacity:([^;]*)/i, $ = /alpha\(opacity *=.+?\)/i, ct = /^(rgb|hsl)/, It = /([A-Z])/g, et = /-([a-z])/gi, yt = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, G = function(V, tt) {
|
|
1007
1007
|
return tt.toUpperCase();
|
|
1008
|
-
}, Pt = /(?:Left|Right|Width)/i, Et = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, Ct = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,
|
|
1008
|
+
}, Pt = /(?:Left|Right|Width)/i, Et = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, Ct = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, fe = /,(?=[^\)]*(?:\(|$))/gi, re = /[\s,\(]/i, Ft = Math.PI / 180, Ot = 180 / Math.PI, Bt = {}, ke = { style: {} }, ce = hn.document || {
|
|
1009
1009
|
createElement: function() {
|
|
1010
1010
|
return ke;
|
|
1011
1011
|
}
|
|
1012
1012
|
}, Yt = function(V, tt) {
|
|
1013
|
-
return
|
|
1014
|
-
},
|
|
1013
|
+
return ce.createElementNS ? ce.createElementNS(tt || "http://www.w3.org/1999/xhtml", V) : ce.createElement(V);
|
|
1014
|
+
}, $e = Yt("div"), Li = Yt("img"), Oe = m._internals = { _specialProps: T }, Ge = (hn.navigator || {}).userAgent || "", pi = function() {
|
|
1015
1015
|
var V = Ge.indexOf("Android"), tt = Yt("a");
|
|
1016
1016
|
return B = Ge.indexOf("Safari") !== -1 && Ge.indexOf("Chrome") === -1 && (V === -1 || parseFloat(Ge.substr(V + 8, 2)) > 3), F = B && parseFloat(Ge.substr(Ge.indexOf("Version/") + 8, 2)) < 6, I = Ge.indexOf("Firefox") !== -1, (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Ge) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Ge)) && (E = parseFloat(RegExp.$1)), tt ? (tt.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(tt.style.opacity)) : !1;
|
|
1017
|
-
}(),
|
|
1017
|
+
}(), Ri = function(V) {
|
|
1018
1018
|
return j.test(
|
|
1019
1019
|
typeof V == "string" ? V : (V.currentStyle ? V.currentStyle.filter : V.style.filter) || ""
|
|
1020
1020
|
) ? parseFloat(RegExp.$1) / 100 : 1;
|
|
1021
1021
|
}, cn = function(V) {
|
|
1022
1022
|
hn.console && console.log(V);
|
|
1023
1023
|
}, Ji = "", W = "", Jt = function(V, tt) {
|
|
1024
|
-
tt = tt ||
|
|
1024
|
+
tt = tt || $e;
|
|
1025
1025
|
var lt, at, X = tt.style;
|
|
1026
1026
|
if (X[V] !== void 0)
|
|
1027
1027
|
return V;
|
|
1028
1028
|
for (V = V.charAt(0).toUpperCase() + V.substr(1), lt = ["O", "Moz", "ms", "Ms", "Webkit"], at = 5; --at > -1 && X[lt[at] + V] === void 0; )
|
|
1029
1029
|
;
|
|
1030
1030
|
return at >= 0 ? (W = at === 3 ? "ms" : lt[at], Ji = "-" + W.toLowerCase() + "-", W + V) : null;
|
|
1031
|
-
}, Wt = (typeof window < "u" ? window :
|
|
1031
|
+
}, Wt = (typeof window < "u" ? window : ce.defaultView || { getComputedStyle: function() {
|
|
1032
1032
|
} }).getComputedStyle, pt = m.getStyle = function(V, tt, lt, at, X) {
|
|
1033
1033
|
var St;
|
|
1034
|
-
return pi || tt !== "opacity" ? (!at && V.style[tt] ? St = V.style[tt] : (lt = lt || Wt(V)) ? St = lt[tt] || lt.getPropertyValue(tt) || lt.getPropertyValue(tt.replace(It, "-$1").toLowerCase()) : V.currentStyle && (St = V.currentStyle[tt]), X == null || St && St !== "none" && St !== "auto" && St !== "auto auto" ? St : X) :
|
|
1034
|
+
return pi || tt !== "opacity" ? (!at && V.style[tt] ? St = V.style[tt] : (lt = lt || Wt(V)) ? St = lt[tt] || lt.getPropertyValue(tt) || lt.getPropertyValue(tt.replace(It, "-$1").toLowerCase()) : V.currentStyle && (St = V.currentStyle[tt]), X == null || St && St !== "none" && St !== "auto" && St !== "auto auto" ? St : X) : Ri(V);
|
|
1035
1035
|
}, dt = Oe.convertToPixels = function(V, tt, lt, at, X) {
|
|
1036
1036
|
if (at === "px" || !at && tt !== "lineHeight")
|
|
1037
1037
|
return lt;
|
|
1038
1038
|
if (at === "auto" || !lt)
|
|
1039
1039
|
return 0;
|
|
1040
|
-
var St, ht, Rt, Ht = Pt.test(tt), kt = V, Mt =
|
|
1040
|
+
var St, ht, Rt, Ht = Pt.test(tt), kt = V, Mt = $e.style, he = 0 > lt, oe = lt === 1;
|
|
1041
1041
|
if (he && (lt = -lt), oe && (lt *= 100), tt !== "lineHeight" || at)
|
|
1042
1042
|
if (at === "%" && tt.indexOf("border") !== -1)
|
|
1043
1043
|
St = lt / 100 * (Ht ? V.clientWidth : V.clientHeight);
|
|
@@ -1045,11 +1045,11 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1045
1045
|
if (Mt.cssText = "border:0 solid red;position:" + pt(V, "position") + ";line-height:0;", at !== "%" && kt.appendChild && at.charAt(0) !== "v" && at !== "rem")
|
|
1046
1046
|
Mt[Ht ? "borderLeftWidth" : "borderTopWidth"] = lt + at;
|
|
1047
1047
|
else {
|
|
1048
|
-
if (kt = V.parentNode ||
|
|
1048
|
+
if (kt = V.parentNode || ce.body, pt(kt, "display").indexOf("flex") !== -1 && (Mt.position = "absolute"), ht = kt._gsCache, Rt = l.ticker.frame, ht && Ht && ht.time === Rt)
|
|
1049
1049
|
return ht.width * lt / 100;
|
|
1050
1050
|
Mt[Ht ? "width" : "height"] = lt + at;
|
|
1051
1051
|
}
|
|
1052
|
-
kt.appendChild(
|
|
1052
|
+
kt.appendChild($e), St = parseFloat($e[Ht ? "offsetWidth" : "offsetHeight"]), kt.removeChild($e), Ht && at === "%" && m.cacheWidths !== !1 && (ht = kt._gsCache = kt._gsCache || {}, ht.time = Rt, ht.width = St / lt * 100), St !== 0 || X || (St = dt(V, tt, lt, at, !0));
|
|
1053
1053
|
}
|
|
1054
1054
|
else
|
|
1055
1055
|
ht = Wt(V).lineHeight, V.style.lineHeight = lt, St = parseFloat(Wt(V).lineHeight), V.style.lineHeight = ht;
|
|
@@ -1071,7 +1071,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1071
1071
|
else if (tt = V.currentStyle || V.style)
|
|
1072
1072
|
for (lt in tt)
|
|
1073
1073
|
typeof lt == "string" && St[lt] === void 0 && (St[lt.replace(et, G)] = tt[lt]);
|
|
1074
|
-
return pi || (St.opacity =
|
|
1074
|
+
return pi || (St.opacity = Ri(V)), at = ss(V, tt, !1), St.rotation = at.rotation, St.skewX = at.skewX, St.scaleX = at.scaleX, St.scaleY = at.scaleY, St.x = at.x, St.y = at.y, dr && (St.z = at.z, St.rotationX = at.rotationX, St.rotationY = at.rotationY, St.scaleZ = at.scaleZ), St.filters && delete St.filters, St;
|
|
1075
1075
|
}, Kt = function(V, tt, lt, at, X) {
|
|
1076
1076
|
var St, ht, Rt, Ht = {}, kt = V.style;
|
|
1077
1077
|
for (ht in lt)
|
|
@@ -1179,8 +1179,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1179
1179
|
var te, _e, ue, je;
|
|
1180
1180
|
if (typeof oe == "number")
|
|
1181
1181
|
oe += he;
|
|
1182
|
-
else if (at &&
|
|
1183
|
-
for (je = oe.replace(
|
|
1182
|
+
else if (at && fe.test(oe)) {
|
|
1183
|
+
for (je = oe.replace(fe, "|").split("|"), ue = 0; ue < je.length; ue++)
|
|
1184
1184
|
je[ue] = X(je[ue]);
|
|
1185
1185
|
return je.join(",");
|
|
1186
1186
|
}
|
|
@@ -1192,8 +1192,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1192
1192
|
var te, _e, ue;
|
|
1193
1193
|
if (typeof oe == "number")
|
|
1194
1194
|
oe += he;
|
|
1195
|
-
else if (at &&
|
|
1196
|
-
for (_e = oe.replace(
|
|
1195
|
+
else if (at && fe.test(oe)) {
|
|
1196
|
+
for (_e = oe.replace(fe, "|").split("|"), ue = 0; ue < _e.length; ue++)
|
|
1197
1197
|
_e[ue] = X(_e[ue]);
|
|
1198
1198
|
return _e.join(",");
|
|
1199
1199
|
}
|
|
@@ -1246,7 +1246,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1246
1246
|
}, er = m.parseComplex = function(V, tt, lt, at, X, St, ht, Rt, Ht, kt) {
|
|
1247
1247
|
lt = lt || St || "", typeof at == "function" && (at = at(x, L)), ht = new Si(V, tt, 0, 0, ht, kt ? 2 : 1, null, !1, Rt, lt, at), at += "", X && we.test(at + lt) && (at = [lt, at], m.colorStringFilter(at), lt = at[0], at = at[1]);
|
|
1248
1248
|
var Mt, he, oe, te, _e, ue, je, He, ui, Be, ye, Fe, pe, di = lt.split(", ").join(",").split(" "), Pe = at.split(", ").join(",").split(" "), xe = di.length, Le = C !== !1;
|
|
1249
|
-
for ((at.indexOf(",") !== -1 || lt.indexOf(",") !== -1) && ((at + lt).indexOf("rgb") !== -1 || (at + lt).indexOf("hsl") !== -1 ? (di = di.join(" ").replace(
|
|
1249
|
+
for ((at.indexOf(",") !== -1 || lt.indexOf(",") !== -1) && ((at + lt).indexOf("rgb") !== -1 || (at + lt).indexOf("hsl") !== -1 ? (di = di.join(" ").replace(fe, ", ").split(" "), Pe = Pe.join(" ").replace(fe, ", ").split(" ")) : (di = di.join(" ").split(",").join(", ").split(" "), Pe = Pe.join(" ").split(",").join(", ").split(" ")), xe = di.length), xe !== Pe.length && (di = (St || "").split(" "), xe = di.length), ht.plugin = Ht, ht.setRatio = kt, we.lastIndex = 0, Mt = 0; xe > Mt; Mt++)
|
|
1250
1250
|
if (te = di[Mt], _e = Pe[Mt] + "", He = parseFloat(te), He || He === 0)
|
|
1251
1251
|
ht.appendXtra(
|
|
1252
1252
|
"",
|
|
@@ -1330,7 +1330,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1330
1330
|
};
|
|
1331
1331
|
var bs = function(V, tt) {
|
|
1332
1332
|
tt = tt || {}, this.p = tt.prefix && Jt(V) || V, T[V] = T[this.p] = this, this.format = tt.formatter || vi(tt.defaultValue, tt.color, tt.collapsible, tt.multi), tt.parser && (this.parse = tt.parser), this.clrs = tt.color, this.multi = tt.multi, this.keyword = tt.keyword, this.dflt = tt.defaultValue, this.pr = tt.priority || 0;
|
|
1333
|
-
},
|
|
1333
|
+
}, Oi = Oe._registerComplexSpecialProp = function(V, tt, lt) {
|
|
1334
1334
|
typeof tt != "object" && (tt = { parser: lt });
|
|
1335
1335
|
var at, X = V.split(","), St = tt.defaultValue;
|
|
1336
1336
|
for (lt = lt || [St], at = 0; at < X.length; at++)
|
|
@@ -1338,7 +1338,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1338
1338
|
}, Us = Oe._registerPluginProp = function(V) {
|
|
1339
1339
|
if (!T[V]) {
|
|
1340
1340
|
var tt = V.charAt(0).toUpperCase() + V.substr(1) + "Plugin";
|
|
1341
|
-
|
|
1341
|
+
Oi(V, {
|
|
1342
1342
|
parser: function(lt, at, X, St, ht, Rt, Ht) {
|
|
1343
1343
|
var kt = _.com.greensock.plugins[tt];
|
|
1344
1344
|
return kt ? (kt._cssRegister(), T[X].parse(lt, at, X, St, ht, Rt, Ht)) : (cn("Error: " + tt + " js file not loaded."), ht);
|
|
@@ -1348,7 +1348,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1348
1348
|
};
|
|
1349
1349
|
S = bs.prototype, S.parseComplex = function(V, tt, lt, at, X, St) {
|
|
1350
1350
|
var ht, Rt, Ht, kt, Mt, he, oe = this.keyword;
|
|
1351
|
-
if (this.multi && (
|
|
1351
|
+
if (this.multi && (fe.test(lt) || fe.test(tt) ? (Rt = tt.replace(fe, "|").split("|"), Ht = lt.replace(fe, "|").split("|")) : oe && (Rt = [tt], Ht = [lt])), Ht) {
|
|
1352
1352
|
for (kt = Ht.length > Rt.length ? Ht.length : Rt.length, ht = 0; kt > ht; ht++)
|
|
1353
1353
|
tt = Rt[ht] = Rt[ht] || this.dflt, lt = Ht[ht] = Ht[ht] || this.dflt, oe && (Mt = tt.indexOf(oe), he = lt.indexOf(oe), Mt !== he && (he === -1 ? Rt[ht] = Rt[ht].split(oe).join("") : Mt === -1 && (Rt[ht] += " " + oe)));
|
|
1354
1354
|
tt = Rt.join(", "), lt = Ht.join(", ");
|
|
@@ -1363,7 +1363,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1363
1363
|
St
|
|
1364
1364
|
);
|
|
1365
1365
|
}, m.registerSpecialProp = function(V, tt, lt) {
|
|
1366
|
-
|
|
1366
|
+
Oi(V, {
|
|
1367
1367
|
parser: function(at, X, St, ht, Rt, Ht, kt) {
|
|
1368
1368
|
var Mt = new Si(at, St, 0, 0, Rt, 2, St, !1, lt);
|
|
1369
1369
|
return Mt.plugin = Ht, Mt.setRatio = tt(at, X, ht._tween, St), Mt;
|
|
@@ -1376,13 +1376,13 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1376
1376
|
), xn = Jt("transform"), Xo = Ji + "transform", ho = Jt("transformOrigin"), dr = Jt("perspective") !== null, qo = Oe.Transform = function() {
|
|
1377
1377
|
this.perspective = parseFloat(m.defaultTransformPerspective) || 0, this.force3D = m.defaultForce3D !== !1 && dr ? m.defaultForce3D || "auto" : !1;
|
|
1378
1378
|
}, Da = hn.SVGElement, Al = function(V, tt, lt) {
|
|
1379
|
-
var at, X =
|
|
1379
|
+
var at, X = ce.createElementNS("http://www.w3.org/2000/svg", V), St = /([a-z])([A-Z])/g;
|
|
1380
1380
|
for (at in lt)
|
|
1381
1381
|
X.setAttributeNS(null, at.replace(St, "$1-$2").toLowerCase(), lt[at]);
|
|
1382
1382
|
return tt.appendChild(X), X;
|
|
1383
|
-
}, ns =
|
|
1383
|
+
}, ns = ce.documentElement || {}, ch = function() {
|
|
1384
1384
|
var V, tt, lt, at = E || /Android/i.test(Ge) && !hn.chrome;
|
|
1385
|
-
return
|
|
1385
|
+
return ce.createElementNS && !at && (V = Al("svg", ns), tt = Al("rect", V, { width: 100, height: 50, x: 100 }), lt = tt.getBoundingClientRect().width, tt.style[ho] = "50% 50%", tt.style[xn] = "scaleX(0.5)", at = lt === tt.getBoundingClientRect().width && !(I && dr), ns.removeChild(V)), at;
|
|
1386
1386
|
}(), Yo = function(V, tt, lt, at, X, St) {
|
|
1387
1387
|
var ht, Rt, Ht, kt, Mt, he, oe, te, _e, ue, je, He, ui, Be, ye = V._gsTransform, Fe = Jo(V, !0);
|
|
1388
1388
|
ye && (ui = ye.xOrigin, Be = ye.yOrigin), (!at || (ht = at.split(" ")).length < 2) && (oe = V.getBBox(), oe.x === 0 && oe.y === 0 && oe.width + oe.height === 0 && (oe = {
|
|
@@ -1444,10 +1444,10 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1444
1444
|
V.getAttribute("data-svg-origin")
|
|
1445
1445
|
), is = m.useSVGTransformAttr || ch), X = Jo(V), X !== Zo) {
|
|
1446
1446
|
if (X.length === 16) {
|
|
1447
|
-
var je, He, ui, Be, ye, Fe = X[0], pe = X[1], di = X[2], Pe = X[3], xe = X[4], Le = X[5], wn = X[6], Hn = X[7],
|
|
1448
|
-
Mt.zOrigin && (on = -Mt.zOrigin, Qi =
|
|
1447
|
+
var je, He, ui, Be, ye, Fe = X[0], pe = X[1], di = X[2], Pe = X[3], xe = X[4], Le = X[5], wn = X[6], Hn = X[7], Ii = X[8], Di = X[9], Ui = X[10], Qi = X[12], tn = X[13], on = X[14], an = X[11], Fi = Math.atan2(wn, Ui);
|
|
1448
|
+
Mt.zOrigin && (on = -Mt.zOrigin, Qi = Ii * on - X[12], tn = Di * on - X[13], on = Ui * on + Mt.zOrigin - X[14]), Mt.rotationX = Fi * Ot, Fi && (Be = Math.cos(-Fi), ye = Math.sin(-Fi), je = xe * Be + Ii * ye, He = Le * Be + Di * ye, ui = wn * Be + Ui * ye, Ii = xe * -ye + Ii * Be, Di = Le * -ye + Di * Be, Ui = wn * -ye + Ui * Be, an = Hn * -ye + an * Be, xe = je, Le = He, wn = ui), Fi = Math.atan2(-di, Ui), Mt.rotationY = Fi * Ot, Fi && (Be = Math.cos(-Fi), ye = Math.sin(-Fi), je = Fe * Be - Ii * ye, He = pe * Be - Di * ye, ui = di * Be - Ui * ye, Di = pe * ye + Di * Be, Ui = di * ye + Ui * Be, an = Pe * ye + an * Be, Fe = je, pe = He, di = ui), Fi = Math.atan2(pe, Fe), Mt.rotation = Fi * Ot, Fi && (Be = Math.cos(Fi), ye = Math.sin(Fi), je = Fe * Be + pe * ye, He = xe * Be + Le * ye, ui = Ii * Be + Di * ye, pe = pe * Be - Fe * ye, Le = Le * Be - xe * ye, Di = Di * Be - Ii * ye, Fe = je, xe = He, Ii = ui), Mt.rotationX && Math.abs(Mt.rotationX) + Math.abs(Mt.rotation) > 359.9 && (Mt.rotationX = Mt.rotation = 0, Mt.rotationY = 180 - Mt.rotationY), Fi = Math.atan2(xe, Le), Mt.scaleX = (Math.sqrt(Fe * Fe + pe * pe + di * di) * te + 0.5 | 0) / te, Mt.scaleY = (Math.sqrt(Le * Le + wn * wn) * te + 0.5 | 0) / te, Mt.scaleZ = (Math.sqrt(Ii * Ii + Di * Di + Ui * Ui) * te + 0.5 | 0) / te, Fe /= Mt.scaleX, xe /= Mt.scaleY, pe /= Mt.scaleX, Le /= Mt.scaleY, Math.abs(Fi) > oe ? (Mt.skewX = Fi * Ot, xe = 0, Mt.skewType !== "simple" && (Mt.scaleY *= 1 / Math.cos(Fi))) : Mt.skewX = 0, Mt.perspective = an ? 1 / (0 > an ? -an : an) : 0, Mt.x = Qi, Mt.y = tn, Mt.z = on, Mt.svg && (Mt.x -= Mt.xOrigin - (Mt.xOrigin * Fe - Mt.yOrigin * xe), Mt.y -= Mt.yOrigin - (Mt.yOrigin * pe - Mt.xOrigin * Le));
|
|
1449
1449
|
} else if (!dr || at || !X.length || Mt.x !== X[4] || Mt.y !== X[5] || !Mt.rotationX && !Mt.rotationY) {
|
|
1450
|
-
var
|
|
1450
|
+
var zi = X.length >= 6, Vi = zi ? X[0] : 1, mi = X[1] || 0, os = X[2] || 0, Bn = zi ? X[3] : 1;
|
|
1451
1451
|
Mt.x = X[4] || 0, Mt.y = X[5] || 0, ht = Math.sqrt(Vi * Vi + mi * mi), Rt = Math.sqrt(Bn * Bn + os * os), Ht = Vi || mi ? Math.atan2(mi, Vi) * Ot : Mt.rotation || 0, kt = os || Bn ? Math.atan2(os, Bn) * Ot + Ht : Mt.skewX || 0, Mt.scaleX = ht, Mt.scaleY = Rt, Mt.rotation = Ht, Mt.skewX = kt, dr && (Mt.rotationX = Mt.rotationY = Mt.z = 0, Mt.perspective = ue, Mt.scaleZ = 1), Mt.svg && (Mt.x -= Mt.xOrigin - (Mt.xOrigin * Vi + Mt.yOrigin * os), Mt.y -= Mt.yOrigin - (Mt.xOrigin * mi + Mt.yOrigin * Bn));
|
|
1452
1452
|
}
|
|
1453
1453
|
Math.abs(Mt.skewX) > 90 && Math.abs(Mt.skewX) < 270 && (he ? (Mt.scaleX *= -1, Mt.skewX += Mt.rotation <= 0 ? 180 : -180, Mt.rotation += Mt.rotation <= 0 ? 180 : -180) : (Mt.scaleY *= -1, Mt.skewX += Mt.skewX <= 0 ? 180 : -180)), Mt.zOrigin = _e;
|
|
@@ -1477,19 +1477,19 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
}, fh = Oe.set3DTransformRatio = Oe.setTransformRatio = function(V) {
|
|
1480
|
-
var tt, lt, at, X, St, ht, Rt, Ht, kt, Mt, he, oe, te, _e, ue, je, He, ui, Be, ye, Fe, pe, di, Pe = this.data, xe = this.t.style, Le = Pe.rotation, wn = Pe.rotationX, Hn = Pe.rotationY,
|
|
1481
|
-
if (Vi && (mi += Vi, Le += Vi), ((V === 1 || V === 0) &&
|
|
1482
|
-
return void (Le || mi || an ? (Le *= Ft, pe = mi * Ft, di = 1e5, lt = Math.cos(Le) *
|
|
1483
|
-
if (I && (ue = 1e-4, ue >
|
|
1480
|
+
var tt, lt, at, X, St, ht, Rt, Ht, kt, Mt, he, oe, te, _e, ue, je, He, ui, Be, ye, Fe, pe, di, Pe = this.data, xe = this.t.style, Le = Pe.rotation, wn = Pe.rotationX, Hn = Pe.rotationY, Ii = Pe.scaleX, Di = Pe.scaleY, Ui = Pe.scaleZ, Qi = Pe.x, tn = Pe.y, on = Pe.z, an = Pe.svg, Fi = Pe.perspective, zi = Pe.force3D, Vi = Pe.skewY, mi = Pe.skewX;
|
|
1481
|
+
if (Vi && (mi += Vi, Le += Vi), ((V === 1 || V === 0) && zi === "auto" && (this.tween._totalTime === this.tween._totalDuration || !this.tween._totalTime) || !zi) && !on && !Fi && !Hn && !wn && Ui === 1 || is && an || !dr)
|
|
1482
|
+
return void (Le || mi || an ? (Le *= Ft, pe = mi * Ft, di = 1e5, lt = Math.cos(Le) * Ii, St = Math.sin(Le) * Ii, at = Math.sin(Le - pe) * -Di, ht = Math.cos(Le - pe) * Di, pe && Pe.skewType === "simple" && (tt = Math.tan(pe - Vi * Ft), tt = Math.sqrt(1 + tt * tt), at *= tt, ht *= tt, Vi && (tt = Math.tan(Vi * Ft), tt = Math.sqrt(1 + tt * tt), lt *= tt, St *= tt)), an && (Qi += Pe.xOrigin - (Pe.xOrigin * lt + Pe.yOrigin * at) + Pe.xOffset, tn += Pe.yOrigin - (Pe.xOrigin * St + Pe.yOrigin * ht) + Pe.yOffset, is && (Pe.xPercent || Pe.yPercent) && (ue = this.t.getBBox(), Qi += 0.01 * Pe.xPercent * ue.width, tn += 0.01 * Pe.yPercent * ue.height), ue = 1e-6, ue > Qi && Qi > -ue && (Qi = 0), ue > tn && tn > -ue && (tn = 0)), Be = (lt * di | 0) / di + "," + (St * di | 0) / di + "," + (at * di | 0) / di + "," + (ht * di | 0) / di + "," + Qi + "," + tn + ")", an && is ? this.t.setAttribute("transform", "matrix(" + Be) : xe[xn] = (Pe.xPercent || Pe.yPercent ? "translate(" + Pe.xPercent + "%," + Pe.yPercent + "%) matrix(" : "matrix(") + Be) : xe[xn] = (Pe.xPercent || Pe.yPercent ? "translate(" + Pe.xPercent + "%," + Pe.yPercent + "%) matrix(" : "matrix(") + Ii + ",0,0," + Di + "," + Qi + "," + tn + ")");
|
|
1483
|
+
if (I && (ue = 1e-4, ue > Ii && Ii > -ue && (Ii = Ui = 2e-5), ue > Di && Di > -ue && (Di = Ui = 2e-5), !Fi || Pe.z || Pe.rotationX || Pe.rotationY || (Fi = 0)), Le || mi)
|
|
1484
1484
|
Le *= Ft, je = lt = Math.cos(Le), He = St = Math.sin(Le), mi && (Le -= mi * Ft, je = Math.cos(Le), He = Math.sin(Le), Pe.skewType === "simple" && (tt = Math.tan((mi - Vi) * Ft), tt = Math.sqrt(1 + tt * tt), je *= tt, He *= tt, Pe.skewY && (tt = Math.tan(Vi * Ft), tt = Math.sqrt(1 + tt * tt), lt *= tt, St *= tt))), at = -He, ht = je;
|
|
1485
1485
|
else {
|
|
1486
1486
|
if (!(Hn || wn || Ui !== 1 || Fi || an))
|
|
1487
|
-
return void (xe[xn] = (Pe.xPercent || Pe.yPercent ? "translate(" + Pe.xPercent + "%," + Pe.yPercent + "%) translate3d(" : "translate3d(") + Qi + "px," + tn + "px," + on + "px)" + (
|
|
1487
|
+
return void (xe[xn] = (Pe.xPercent || Pe.yPercent ? "translate(" + Pe.xPercent + "%," + Pe.yPercent + "%) translate3d(" : "translate3d(") + Qi + "px," + tn + "px," + on + "px)" + (Ii !== 1 || Di !== 1 ? " scale(" + Ii + "," + Di + ")" : ""));
|
|
1488
1488
|
lt = ht = 1, at = St = 0;
|
|
1489
1489
|
}
|
|
1490
|
-
Mt = 1, X = Rt = Ht = kt = he = oe = 0, te = Fi ? -1 / Fi : 0, _e = Pe.zOrigin, ue = 1e-6, ye = ",", Fe = "0", Le = Hn * Ft, Le && (je = Math.cos(Le), He = Math.sin(Le), Ht = -He, he = te * -He, X = lt * He, Rt = St * He, Mt = je, te *= je, lt *= je, St *= je), Le = wn * Ft, Le && (je = Math.cos(Le), He = Math.sin(Le), tt = at * je + X * He, ui = ht * je + Rt * He, kt = Mt * He, oe = te * He, X = at * -He + X * je, Rt = ht * -He + Rt * je, Mt *= je, te *= je, at = tt, ht = ui), Ui !== 1 && (X *= Ui, Rt *= Ui, Mt *= Ui, te *= Ui),
|
|
1490
|
+
Mt = 1, X = Rt = Ht = kt = he = oe = 0, te = Fi ? -1 / Fi : 0, _e = Pe.zOrigin, ue = 1e-6, ye = ",", Fe = "0", Le = Hn * Ft, Le && (je = Math.cos(Le), He = Math.sin(Le), Ht = -He, he = te * -He, X = lt * He, Rt = St * He, Mt = je, te *= je, lt *= je, St *= je), Le = wn * Ft, Le && (je = Math.cos(Le), He = Math.sin(Le), tt = at * je + X * He, ui = ht * je + Rt * He, kt = Mt * He, oe = te * He, X = at * -He + X * je, Rt = ht * -He + Rt * je, Mt *= je, te *= je, at = tt, ht = ui), Ui !== 1 && (X *= Ui, Rt *= Ui, Mt *= Ui, te *= Ui), Di !== 1 && (at *= Di, ht *= Di, kt *= Di, oe *= Di), Ii !== 1 && (lt *= Ii, St *= Ii, Ht *= Ii, he *= Ii), (_e || an) && (_e && (Qi += X * -_e, tn += Rt * -_e, on += Mt * -_e + _e), an && (Qi += Pe.xOrigin - (Pe.xOrigin * lt + Pe.yOrigin * at) + Pe.xOffset, tn += Pe.yOrigin - (Pe.xOrigin * St + Pe.yOrigin * ht) + Pe.yOffset), ue > Qi && Qi > -ue && (Qi = Fe), ue > tn && tn > -ue && (tn = Fe), ue > on && on > -ue && (on = 0)), Be = Pe.xPercent || Pe.yPercent ? "translate(" + Pe.xPercent + "%," + Pe.yPercent + "%) matrix3d(" : "matrix3d(", Be += (ue > lt && lt > -ue ? Fe : lt) + ye + (ue > St && St > -ue ? Fe : St) + ye + (ue > Ht && Ht > -ue ? Fe : Ht), Be += ye + (ue > he && he > -ue ? Fe : he) + ye + (ue > at && at > -ue ? Fe : at) + ye + (ue > ht && ht > -ue ? Fe : ht), wn || Hn || Ui !== 1 ? (Be += ye + (ue > kt && kt > -ue ? Fe : kt) + ye + (ue > oe && oe > -ue ? Fe : oe) + ye + (ue > X && X > -ue ? Fe : X), Be += ye + (ue > Rt && Rt > -ue ? Fe : Rt) + ye + (ue > Mt && Mt > -ue ? Fe : Mt) + ye + (ue > te && te > -ue ? Fe : te) + ye) : Be += ",0,0,0,0,1,0,", Be += Qi + ye + tn + ye + on + ye + (Fi ? 1 + -on / Fi : 1) + ")", xe[xn] = Be;
|
|
1491
1491
|
};
|
|
1492
|
-
S = qo.prototype, S.x = S.y = S.z = S.skewX = S.skewY = S.rotation = S.rotationX = S.rotationY = S.zOrigin = S.xPercent = S.yPercent = S.xOffset = S.yOffset = 0, S.scaleX = S.scaleY = S.scaleZ = 1,
|
|
1492
|
+
S = qo.prototype, S.x = S.y = S.z = S.skewX = S.skewY = S.rotation = S.rotationX = S.rotationY = S.zOrigin = S.xPercent = S.yPercent = S.xOffset = S.yOffset = 0, S.scaleX = S.scaleY = S.scaleZ = 1, Oi(
|
|
1493
1493
|
"transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",
|
|
1494
1494
|
{
|
|
1495
1495
|
parser: function(V, tt, lt, at, X, St, ht) {
|
|
@@ -1500,14 +1500,14 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1500
1500
|
typeof ht[lt] == "function" && (Rt = ht[lt], ht[lt] = tt), Ht && (ht.scale = Ht(x, V));
|
|
1501
1501
|
var kt, Mt, he, oe, te, _e, ue, je, He, ui = V._gsTransform, Be = V.style, ye = 1e-6, Fe = bl.length, pe = ht, di = {}, Pe = "transformOrigin", xe = ss(V, d, !0, pe.parseTransform), Le = pe.transform && (typeof pe.transform == "function" ? pe.transform(x, L) : pe.transform);
|
|
1502
1502
|
if (xe.skewType = pe.skewType || xe.skewType || m.defaultSkewType, at._transform = xe, "rotationZ" in pe && (pe.rotation = pe.rotationZ), Le && typeof Le == "string" && xn)
|
|
1503
|
-
Mt =
|
|
1503
|
+
Mt = $e.style, Mt[xn] = Le, Mt.display = "block", Mt.position = "absolute", Le.indexOf("%") !== -1 && (Mt.width = pt(V, "width"), Mt.height = pt(V, "height")), ce.body.appendChild($e), kt = ss($e, null, !1), xe.skewType === "simple" && (kt.scaleY *= Math.cos(kt.skewX * Ft)), xe.svg && (_e = xe.xOrigin, ue = xe.yOrigin, kt.x -= xe.xOffset, kt.y -= xe.yOffset, (pe.transformOrigin || pe.svgOrigin) && (Le = {}, Yo(
|
|
1504
1504
|
V,
|
|
1505
1505
|
nt(pe.transformOrigin),
|
|
1506
1506
|
Le,
|
|
1507
1507
|
pe.svgOrigin,
|
|
1508
1508
|
pe.smoothOrigin,
|
|
1509
1509
|
!0
|
|
1510
|
-
), _e = Le.xOrigin, ue = Le.yOrigin, kt.x -= Le.xOffset - xe.xOffset, kt.y -= Le.yOffset - xe.yOffset), (_e || ue) && (je = Jo(
|
|
1510
|
+
), _e = Le.xOrigin, ue = Le.yOrigin, kt.x -= Le.xOffset - xe.xOffset, kt.y -= Le.yOffset - xe.yOffset), (_e || ue) && (je = Jo($e, !0), kt.x -= _e - (_e * je[0] + ue * je[2]), kt.y -= ue - (_e * je[1] + ue * je[3]))), ce.body.removeChild($e), kt.perspective || (kt.perspective = xe.perspective), pe.xPercent != null && (kt.xPercent = Gt(pe.xPercent, xe.xPercent)), pe.yPercent != null && (kt.yPercent = Gt(pe.yPercent, xe.yPercent));
|
|
1511
1511
|
else if (typeof pe == "object") {
|
|
1512
1512
|
if (kt = {
|
|
1513
1513
|
scaleX: Gt(
|
|
@@ -1582,13 +1582,13 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1582
1582
|
},
|
|
1583
1583
|
prefix: !0
|
|
1584
1584
|
}
|
|
1585
|
-
),
|
|
1585
|
+
), Oi("boxShadow", {
|
|
1586
1586
|
defaultValue: "0px 0px 0px 0px #999",
|
|
1587
1587
|
prefix: !0,
|
|
1588
1588
|
color: !0,
|
|
1589
1589
|
multi: !0,
|
|
1590
1590
|
keyword: "inset"
|
|
1591
|
-
}),
|
|
1591
|
+
}), Oi("borderRadius", {
|
|
1592
1592
|
defaultValue: "0px",
|
|
1593
1593
|
parser: function(V, tt, lt, at, X, St) {
|
|
1594
1594
|
tt = this.format(tt);
|
|
@@ -1604,7 +1604,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1604
1604
|
},
|
|
1605
1605
|
prefix: !0,
|
|
1606
1606
|
formatter: vi("0px 0px 0px 0px", !1, !0)
|
|
1607
|
-
}),
|
|
1607
|
+
}), Oi(
|
|
1608
1608
|
"borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",
|
|
1609
1609
|
{
|
|
1610
1610
|
defaultValue: "0px",
|
|
@@ -1622,44 +1622,44 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1622
1622
|
prefix: !0,
|
|
1623
1623
|
formatter: vi("0px 0px", !1, !0)
|
|
1624
1624
|
}
|
|
1625
|
-
),
|
|
1625
|
+
), Oi("backgroundPosition", {
|
|
1626
1626
|
defaultValue: "0 0",
|
|
1627
1627
|
parser: function(V, tt, lt, at, X, St) {
|
|
1628
1628
|
var ht, Rt, Ht, kt, Mt, he, oe = "background-position", te = d || Wt(V, null), _e = this.format(
|
|
1629
1629
|
(te ? E ? te.getPropertyValue(oe + "-x") + " " + te.getPropertyValue(oe + "-y") : te.getPropertyValue(oe) : V.currentStyle.backgroundPositionX + " " + V.currentStyle.backgroundPositionY) || "0 0"
|
|
1630
1630
|
), ue = this.format(tt);
|
|
1631
1631
|
if (_e.indexOf("%") !== -1 != (ue.indexOf("%") !== -1) && ue.split(",").length < 2 && (he = pt(V, "backgroundImage").replace(yt, ""), he && he !== "none")) {
|
|
1632
|
-
for (ht = _e.split(" "), Rt = ue.split(" "),
|
|
1633
|
-
_e = ht[Ht], kt = _e.indexOf("%") !== -1, kt !== (Rt[Ht].indexOf("%") !== -1) && (Mt = Ht === 0 ? V.offsetWidth -
|
|
1632
|
+
for (ht = _e.split(" "), Rt = ue.split(" "), Li.setAttribute("src", he), Ht = 2; --Ht > -1; )
|
|
1633
|
+
_e = ht[Ht], kt = _e.indexOf("%") !== -1, kt !== (Rt[Ht].indexOf("%") !== -1) && (Mt = Ht === 0 ? V.offsetWidth - Li.width : V.offsetHeight - Li.height, ht[Ht] = kt ? parseFloat(_e) / 100 * Mt + "px" : parseFloat(_e) / Mt * 100 + "%");
|
|
1634
1634
|
_e = ht.join(" ");
|
|
1635
1635
|
}
|
|
1636
1636
|
return this.parseComplex(V.style, _e, ue, X, St);
|
|
1637
1637
|
},
|
|
1638
1638
|
formatter: nt
|
|
1639
|
-
}),
|
|
1639
|
+
}), Oi("backgroundSize", {
|
|
1640
1640
|
defaultValue: "0 0",
|
|
1641
1641
|
formatter: function(V) {
|
|
1642
1642
|
return V += "", V.substr(0, 2) === "co" ? V : nt(V.indexOf(" ") === -1 ? V + " " + V : V);
|
|
1643
1643
|
}
|
|
1644
|
-
}),
|
|
1644
|
+
}), Oi("perspective", { defaultValue: "0px", prefix: !0 }), Oi("perspectiveOrigin", { defaultValue: "50% 50%", prefix: !0 }), Oi("transformStyle", { prefix: !0 }), Oi("backfaceVisibility", { prefix: !0 }), Oi("userSelect", { prefix: !0 }), Oi("margin", {
|
|
1645
1645
|
parser: Mi("marginTop,marginRight,marginBottom,marginLeft")
|
|
1646
|
-
}),
|
|
1646
|
+
}), Oi("padding", {
|
|
1647
1647
|
parser: Mi("paddingTop,paddingRight,paddingBottom,paddingLeft")
|
|
1648
|
-
}),
|
|
1648
|
+
}), Oi("clip", {
|
|
1649
1649
|
defaultValue: "rect(0px,0px,0px,0px)",
|
|
1650
1650
|
parser: function(V, tt, lt, at, X, St) {
|
|
1651
1651
|
var ht, Rt, Ht;
|
|
1652
1652
|
return 9 > E ? (Rt = V.currentStyle, Ht = 8 > E ? " " : ",", ht = "rect(" + Rt.clipTop + Ht + Rt.clipRight + Ht + Rt.clipBottom + Ht + Rt.clipLeft + ")", tt = this.format(tt).split(",").join(Ht)) : (ht = this.format(pt(V, this.p, d, !1, this.dflt)), tt = this.format(tt)), this.parseComplex(V.style, ht, tt, X, St);
|
|
1653
1653
|
}
|
|
1654
|
-
}),
|
|
1654
|
+
}), Oi("textShadow", {
|
|
1655
1655
|
defaultValue: "0px 0px 0px #999",
|
|
1656
1656
|
color: !0,
|
|
1657
1657
|
multi: !0
|
|
1658
|
-
}),
|
|
1658
|
+
}), Oi("autoRound,strictUnits", {
|
|
1659
1659
|
parser: function(V, tt, lt, at, X) {
|
|
1660
1660
|
return X;
|
|
1661
1661
|
}
|
|
1662
|
-
}),
|
|
1662
|
+
}), Oi("border", {
|
|
1663
1663
|
defaultValue: "0px solid #000",
|
|
1664
1664
|
parser: function(V, tt, lt, at, X, St) {
|
|
1665
1665
|
var ht = pt(V, "borderTopWidth", d, !1, "0px"), Rt = this.format(tt).split(" "), Ht = Rt[0].replace(N, "");
|
|
@@ -1678,11 +1678,11 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1678
1678
|
var tt = V.split(" ");
|
|
1679
1679
|
return tt[0] + " " + (tt[1] || "solid") + " " + (V.match(we) || ["#000"])[0];
|
|
1680
1680
|
}
|
|
1681
|
-
}),
|
|
1681
|
+
}), Oi("borderWidth", {
|
|
1682
1682
|
parser: Mi(
|
|
1683
1683
|
"borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth"
|
|
1684
1684
|
)
|
|
1685
|
-
}),
|
|
1685
|
+
}), Oi("float,cssFloat,styleFloat", {
|
|
1686
1686
|
parser: function(V, tt, lt, at, X, St) {
|
|
1687
1687
|
var ht = V.style, Rt = "cssFloat" in ht ? "cssFloat" : "styleFloat";
|
|
1688
1688
|
return new Si(ht, Rt, 0, 0, X, -1, lt, !1, 0, ht[Rt], tt);
|
|
@@ -1692,7 +1692,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1692
1692
|
var tt, lt = this.t, at = lt.filter || pt(this.data, "filter") || "", X = this.s + this.c * V | 0;
|
|
1693
1693
|
X === 100 && (at.indexOf("atrix(") === -1 && at.indexOf("radient(") === -1 && at.indexOf("oader(") === -1 ? (lt.removeAttribute("filter"), tt = !pt(this.data, "filter")) : (lt.filter = at.replace($, ""), tt = !0)), tt || (this.xn1 && (lt.filter = at = at || "alpha(opacity=" + X + ")"), at.indexOf("pacity") === -1 ? X === 0 && this.xn1 || (lt.filter = at + " alpha(opacity=" + X + ")") : lt.filter = at.replace(j, "opacity=" + X));
|
|
1694
1694
|
};
|
|
1695
|
-
|
|
1695
|
+
Oi("opacity,alpha,autoAlpha", {
|
|
1696
1696
|
defaultValue: "1",
|
|
1697
1697
|
parser: function(V, tt, lt, at, X, St) {
|
|
1698
1698
|
var ht = parseFloat(pt(V, "opacity", d, !1, "1")), Rt = V.style, Ht = lt === "autoAlpha";
|
|
@@ -1722,7 +1722,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1722
1722
|
} else
|
|
1723
1723
|
this.t.getAttribute("class") !== this.e && this.t.setAttribute("class", this.e);
|
|
1724
1724
|
};
|
|
1725
|
-
|
|
1725
|
+
Oi("className", {
|
|
1726
1726
|
parser: function(V, tt, lt, at, X, St, ht) {
|
|
1727
1727
|
var Rt, Ht, kt, Mt, he, oe = V.getAttribute("class") || "", te = V.style.cssText;
|
|
1728
1728
|
if (X = at._classNamePT = new Si(V, lt, 0, 0, X, 2), X.setRatio = co, X.pr = -11, o = !0, X.b = oe, Ht = ie(V, d), kt = V._gsClassPT) {
|
|
@@ -1747,7 +1747,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1747
1747
|
X && (uo(ht, xn), St = this.t._gsTransform, St && (St.svg && (this.t.removeAttribute("data-svg-origin"), this.t.removeAttribute("transform")), delete this.t._gsTransform));
|
|
1748
1748
|
}
|
|
1749
1749
|
};
|
|
1750
|
-
for (
|
|
1750
|
+
for (Oi("clearProps", {
|
|
1751
1751
|
parser: function(V, tt, lt, at, X) {
|
|
1752
1752
|
return X = new Si(V, lt, 0, 0, X, 2), X.setRatio = Pl, X.e = tt, X.pr = -10, X.data = at._tween, o = !0, X;
|
|
1753
1753
|
}
|
|
@@ -2084,8 +2084,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2084
2084
|
M = M || {};
|
|
2085
2085
|
for (var R, b, U, N, j, J, $ = M.taper || "none", ct = [], It = 0, et = 0 | (M.points || 20), yt = et, G = M.randomize !== !1, Pt = M.clamp === !0, Et = M.template instanceof w ? M.template : null, Ct = typeof M.strength == "number" ? 0.4 * M.strength : 0.4; --yt > -1; )
|
|
2086
2086
|
R = G ? Math.random() : 1 / et * yt, b = Et ? Et.getRatio(R) : R, $ === "none" ? U = Ct : $ === "out" ? (N = 1 - R, U = N * N * Ct) : $ === "in" ? U = R * R * Ct : 0.5 > R ? (N = 2 * R, U = N * N * 0.5 * Ct) : (N = 2 * (1 - R), U = N * N * 0.5 * Ct), G ? b += Math.random() * U - 0.5 * U : yt % 2 ? b += 0.5 * U : b -= 0.5 * U, Pt && (b > 1 ? b = 1 : 0 > b && (b = 0)), ct[It++] = { x: R, y: b };
|
|
2087
|
-
for (ct.sort(function(
|
|
2088
|
-
return
|
|
2087
|
+
for (ct.sort(function(fe, re) {
|
|
2088
|
+
return fe.x - re.x;
|
|
2089
2089
|
}), J = new I(1, 1, null), yt = et; --yt > -1; )
|
|
2090
2090
|
j = ct[yt], J = new I(j.x, j.y, J);
|
|
2091
2091
|
this._prev = new I(0, 0, J.t !== 0 ? J : J.next);
|
|
@@ -2476,12 +2476,12 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2476
2476
|
(this.vars.immediateRender || Q === 0 && this._delay === 0 && this.vars.immediateRender !== !1) && (this._time = -I, this.render(Math.min(0, -this._delay)));
|
|
2477
2477
|
},
|
|
2478
2478
|
!0
|
|
2479
|
-
),
|
|
2479
|
+
), fe = function(D) {
|
|
2480
2480
|
return D && D.length && D !== w && D[0] && (D[0] === w || D[0].nodeType && D[0].style && !D.nodeType);
|
|
2481
2481
|
}, re = function(D, Q) {
|
|
2482
2482
|
var ot, nt = {};
|
|
2483
2483
|
for (ot in D)
|
|
2484
|
-
|
|
2484
|
+
Ri[ot] || ot in Q && ot !== "transform" && ot !== "x" && ot !== "y" && ot !== "width" && ot !== "height" && ot !== "className" && ot !== "border" || !(!Oe[ot] || Oe[ot] && Oe[ot]._autoCSS) || (nt[ot] = D[ot], delete D[ot]);
|
|
2485
2485
|
D.css = nt;
|
|
2486
2486
|
};
|
|
2487
2487
|
T = Ct.prototype = new G(), T.constructor = Ct, T.kill()._gc = !1, T.ratio = 0, T._firstPT = T._targets = T._overwrittenProps = T._startAt = null, T._notifyPluginsOfEnabled = T._lazy = !1, Ct.version = "2.0.2", Ct.defaultEase = T._ease = new N(null, null, 1, 1), Ct.defaultOverwrite = "auto", Ct.ticker = S, Ct.autoSleep = 120, Ct.lagSmoothing = function(D, Q) {
|
|
@@ -2490,7 +2490,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2490
2490
|
var Q = w.$ || w.jQuery;
|
|
2491
2491
|
return Q ? (Ct.selector = Q, Q(D)) : (p || (p = w.document), p ? p.querySelectorAll ? p.querySelectorAll(D) : p.getElementById(D.charAt(0) === "#" ? D.substr(1) : D) : D);
|
|
2492
2492
|
};
|
|
2493
|
-
var Ft = [], Ot = {}, Bt = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi, ke = /[\+-]=-?[\.\d]/,
|
|
2493
|
+
var Ft = [], Ot = {}, Bt = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi, ke = /[\+-]=-?[\.\d]/, ce = function(D) {
|
|
2494
2494
|
for (var Q, ot = this._firstPT, nt = 1e-6; ot; )
|
|
2495
2495
|
Q = ot.blob ? D === 1 && this.end != null ? this.end : D ? this.join("") : this.start : ot.c * D + ot.s, ot.m ? Q = ot.m.call(this._tween, Q, this._target || ot.t, this._tween) : nt > Q && Q > -nt && !ot.blob && (Q = 0), ot.f ? ot.fp ? ot.t[ot.p](ot.fp, Q) : ot.t[ot.p](Q) : ot.t[ot.p] = Q, ot = ot._next;
|
|
2496
2496
|
}, Yt = function(D, Q, ot, nt) {
|
|
@@ -2505,8 +2505,8 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2505
2505
|
f: 0,
|
|
2506
2506
|
m: ni && 4 > ni ? Math.round : 0
|
|
2507
2507
|
}), vi += ge.length;
|
|
2508
|
-
return Mi += Q.substr(vi), Mi && we.push(Mi), we.setRatio =
|
|
2509
|
-
},
|
|
2508
|
+
return Mi += Q.substr(vi), Mi && we.push(Mi), we.setRatio = ce, ke.test(Q) && (we.end = null), we;
|
|
2509
|
+
}, $e = function(D, Q, ot, nt, vt, Gt, Xt, jt, Ne) {
|
|
2510
2510
|
typeof nt == "function" && (nt = nt(Ne || 0, D));
|
|
2511
2511
|
var Re, ge = typeof D[Q], we = ge !== "function" ? "" : Q.indexOf("set") || typeof D["get" + Q.substr(3)] != "function" ? Q : "get" + Q.substr(3), vi = ot !== "get" ? ot : we ? Xt ? D[we](Xt) : D[we]() : D[Q], Mi = typeof nt == "string" && nt.charAt(1) === "=", ni = {
|
|
2512
2512
|
t: D,
|
|
@@ -2535,12 +2535,12 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2535
2535
|
pr: 0,
|
|
2536
2536
|
m: 0
|
|
2537
2537
|
}) : (ni.s = parseFloat(vi), Mi || (ni.c = parseFloat(nt) - ni.s || 0))), ni.c ? ((ni._next = this._firstPT) && (ni._next._prev = ni), this._firstPT = ni, ni) : void 0;
|
|
2538
|
-
},
|
|
2538
|
+
}, Li = Ct._internals = {
|
|
2539
2539
|
isArray: L,
|
|
2540
|
-
isSelector:
|
|
2540
|
+
isSelector: fe,
|
|
2541
2541
|
lazyTweens: Ft,
|
|
2542
2542
|
blobDif: Yt
|
|
2543
|
-
}, Oe = Ct._plugins = {}, Ge =
|
|
2543
|
+
}, Oe = Ct._plugins = {}, Ge = Li.tweenLookup = {}, pi = 0, Ri = Li.reservedProps = {
|
|
2544
2544
|
ease: 1,
|
|
2545
2545
|
delay: 1,
|
|
2546
2546
|
overwrite: 1,
|
|
@@ -2586,7 +2586,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2586
2586
|
preexisting: 5,
|
|
2587
2587
|
true: 1,
|
|
2588
2588
|
false: 0
|
|
2589
|
-
}, Ji = G._rootFramesTimeline = new Et(), W = G._rootTimeline = new Et(), Jt = 30, Wt =
|
|
2589
|
+
}, Ji = G._rootFramesTimeline = new Et(), W = G._rootTimeline = new Et(), Jt = 30, Wt = Li.lazyRender = function() {
|
|
2590
2590
|
var D, Q = Ft.length;
|
|
2591
2591
|
for (Ot = {}; --Q > -1; )
|
|
2592
2592
|
D = Ft[Q], D && D._lazy !== !1 && (D.render(D._lazy[0], D._lazy[1], !0), D._lazy = !1);
|
|
@@ -2663,7 +2663,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2663
2663
|
else {
|
|
2664
2664
|
this._time !== 0 && (Re = !1), ot = {};
|
|
2665
2665
|
for (nt in Xt)
|
|
2666
|
-
|
|
2666
|
+
Ri[nt] && nt !== "autoCSS" || (ot[nt] = Xt[nt]);
|
|
2667
2667
|
if (ot.overwrite = 0, ot.data = "isFromStart", ot.lazy = Re && Xt.lazy !== !1, ot.immediateRender = Re, this._startAt = Ct.to(this.target, 0, ot), Re) {
|
|
2668
2668
|
if (this._time === 0)
|
|
2669
2669
|
return;
|
|
@@ -2697,7 +2697,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2697
2697
|
return !1;
|
|
2698
2698
|
Ot[D._gsTweenID] && Wt(), this.vars.css || D.style && D !== w && D.nodeType && Oe.css && this.vars.autoCSS !== !1 && re(this.vars, D);
|
|
2699
2699
|
for (Gt in this.vars)
|
|
2700
|
-
if (ge = this.vars[Gt],
|
|
2700
|
+
if (ge = this.vars[Gt], Ri[Gt])
|
|
2701
2701
|
ge && (ge instanceof Array || ge.push && L(ge)) && ge.join("").indexOf("{self}") !== -1 && (this.vars[Gt] = ge = this._swapSelfInParams(ge, this));
|
|
2702
2702
|
else if (Oe[Gt] && (Ne = new Oe[Gt]())._onInitTween(D, this.vars[Gt], this, vt)) {
|
|
2703
2703
|
for (this._firstPT = Re = {
|
|
@@ -2715,7 +2715,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2715
2715
|
Q[Ne._overwriteProps[Xt]] = this._firstPT;
|
|
2716
2716
|
(Ne._priority || Ne._onInitAllProps) && (jt = !0), (Ne._onDisable || Ne._onEnable) && (this._notifyPluginsOfEnabled = !0), Re._next && (Re._next._prev = Re);
|
|
2717
2717
|
} else
|
|
2718
|
-
Q[Gt] =
|
|
2718
|
+
Q[Gt] = $e.call(
|
|
2719
2719
|
this,
|
|
2720
2720
|
D,
|
|
2721
2721
|
Gt,
|
|
@@ -2756,7 +2756,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2756
2756
|
return this._lazy = !1, this._enabled(!1, !1);
|
|
2757
2757
|
Q = typeof Q != "string" ? Q || this._targets || this.target : Ct.selector(Q) || Q;
|
|
2758
2758
|
var nt, vt, Gt, Xt, jt, Ne, Re, ge, we, vi = ot && this._time && ot._startTime === this._startTime && this._timeline === ot._timeline, Mi = this._firstPT;
|
|
2759
|
-
if ((L(Q) ||
|
|
2759
|
+
if ((L(Q) || fe(Q)) && typeof Q[0] != "number")
|
|
2760
2760
|
for (nt = Q.length; --nt > -1; )
|
|
2761
2761
|
this._kill(D, Q[nt], ot) && (Ne = !0);
|
|
2762
2762
|
else {
|
|
@@ -2822,7 +2822,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2822
2822
|
return [];
|
|
2823
2823
|
D = typeof D != "string" ? D : Ct.selector(D) || D;
|
|
2824
2824
|
var ot, nt, vt, Gt;
|
|
2825
|
-
if ((L(D) ||
|
|
2825
|
+
if ((L(D) || fe(D)) && typeof D[0] != "number") {
|
|
2826
2826
|
for (ot = D.length, nt = []; --ot > -1; )
|
|
2827
2827
|
nt = nt.concat(Ct.getTweensOf(D[ot], Q));
|
|
2828
2828
|
for (ot = nt.length; --ot > -1; )
|
|
@@ -2844,7 +2844,7 @@ var hn = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2844
2844
|
},
|
|
2845
2845
|
!0
|
|
2846
2846
|
);
|
|
2847
|
-
if (T = Kt.prototype, Kt.version = "1.19.0", Kt.API = 2, T._firstPT = null, T._addTween =
|
|
2847
|
+
if (T = Kt.prototype, Kt.version = "1.19.0", Kt.API = 2, T._firstPT = null, T._addTween = $e, T.setRatio = ce, T._kill = function(D) {
|
|
2848
2848
|
var Q, ot = this._overwriteProps, nt = this._firstPT;
|
|
2849
2849
|
if (D[this._propName] != null)
|
|
2850
2850
|
this._overwriteProps = [];
|
|
@@ -3499,7 +3499,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3499
3499
|
function Ct(t, e, i) {
|
|
3500
3500
|
J.call(this, new Float64Array(t), e, i);
|
|
3501
3501
|
}
|
|
3502
|
-
function
|
|
3502
|
+
function fe() {
|
|
3503
3503
|
this.vertices = [], this.normals = [], this.colors = [], this.uvs = [], this.uvs2 = [], this.groups = [], this.morphTargets = {}, this.skinWeights = [], this.skinIndices = [], this.boundingSphere = this.boundingBox = null, this.groupsNeedUpdate = this.uvsNeedUpdate = this.colorsNeedUpdate = this.normalsNeedUpdate = this.verticesNeedUpdate = !1;
|
|
3504
3504
|
}
|
|
3505
3505
|
function re(t) {
|
|
@@ -3526,11 +3526,11 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3526
3526
|
function c(q, K, rt, xt, gt, At, wt, Vt, Z, st, zt) {
|
|
3527
3527
|
var ee = At / Z, $t = wt / st, qt = At / 2, Te = wt / 2, me = Vt / 2;
|
|
3528
3528
|
wt = Z + 1;
|
|
3529
|
-
var Ie = st + 1, be = At = 0, ae, We,
|
|
3529
|
+
var Ie = st + 1, be = At = 0, ae, We, Qe = new u();
|
|
3530
3530
|
for (We = 0; We < Ie; We++) {
|
|
3531
3531
|
var ci = We * $t - Te;
|
|
3532
3532
|
for (ae = 0; ae < wt; ae++)
|
|
3533
|
-
|
|
3533
|
+
Qe[q] = (ae * ee - qt) * xt, Qe[K] = ci * gt, Qe[rt] = me, y.push(Qe.x, Qe.y, Qe.z), Qe[q] = 0, Qe[K] = 0, Qe[rt] = 0 < Vt ? 1 : -1, A.push(Qe.x, Qe.y, Qe.z), P.push(ae / Z), P.push(1 - We / st), At += 1;
|
|
3534
3534
|
}
|
|
3535
3535
|
for (We = 0; We < st; We++)
|
|
3536
3536
|
for (ae = 0; ae < Z; ae++)
|
|
@@ -3556,9 +3556,9 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3556
3556
|
height: e,
|
|
3557
3557
|
widthSegments: i,
|
|
3558
3558
|
heightSegments: n
|
|
3559
|
-
}, this.fromBufferGeometry(new
|
|
3559
|
+
}, this.fromBufferGeometry(new ce(t, e, i, n)), this.mergeVertices();
|
|
3560
3560
|
}
|
|
3561
|
-
function
|
|
3561
|
+
function ce(t, e, i, n) {
|
|
3562
3562
|
Ft.call(this), this.type = "PlaneBufferGeometry", this.parameters = {
|
|
3563
3563
|
width: t,
|
|
3564
3564
|
height: e,
|
|
@@ -3581,7 +3581,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3581
3581
|
function Yt() {
|
|
3582
3582
|
Object.defineProperty(this, "id", { value: cu++ }), this.uuid = fi.generateUUID(), this.name = "", this.type = "Material", this.lights = this.fog = !0, this.blending = 1, this.side = 0, this.flatShading = !1, this.vertexColors = 0, this.opacity = 1, this.transparent = !1, this.blendSrc = 204, this.blendDst = 205, this.blendEquation = 100, this.blendEquationAlpha = this.blendDstAlpha = this.blendSrcAlpha = null, this.depthFunc = 3, this.depthWrite = this.depthTest = !0, this.clippingPlanes = null, this.clipShadows = this.clipIntersection = !1, this.shadowSide = null, this.colorWrite = !0, this.precision = null, this.polygonOffset = !1, this.polygonOffsetUnits = this.polygonOffsetFactor = 0, this.dithering = !1, this.alphaTest = 0, this.premultipliedAlpha = !1, this.visible = !0, this.userData = {}, this.needsUpdate = !0;
|
|
3583
3583
|
}
|
|
3584
|
-
function
|
|
3584
|
+
function $e(t) {
|
|
3585
3585
|
Yt.call(this), this.type = "ShaderMaterial", this.defines = {}, this.uniforms = {}, this.vertexShader = `void main() {
|
|
3586
3586
|
gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );
|
|
3587
3587
|
}`, this.fragmentShader = `void main() {
|
|
@@ -3595,7 +3595,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3595
3595
|
"THREE.ShaderMaterial: attributes should now be defined in THREE.BufferGeometry instead."
|
|
3596
3596
|
), this.setValues(t));
|
|
3597
3597
|
}
|
|
3598
|
-
function
|
|
3598
|
+
function Li(t, e) {
|
|
3599
3599
|
this.origin = t !== void 0 ? t : new u(), this.direction = e !== void 0 ? e : new u();
|
|
3600
3600
|
}
|
|
3601
3601
|
function Oe(t, e, i) {
|
|
@@ -3607,7 +3607,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3607
3607
|
function pi(t, e) {
|
|
3608
3608
|
N.call(this), this.type = "Mesh", this.geometry = t !== void 0 ? t : new Ft(), this.material = e !== void 0 ? e : new Ge({ color: 16777215 * Math.random() }), this.drawMode = 0, this.updateMorphTargets();
|
|
3609
3609
|
}
|
|
3610
|
-
function
|
|
3610
|
+
function Ri(t, e, i, n) {
|
|
3611
3611
|
function s(y, A) {
|
|
3612
3612
|
e.buffers.color.setClear(y.r, y.g, y.b, A, n);
|
|
3613
3613
|
}
|
|
@@ -3628,7 +3628,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3628
3628
|
render: function(y, A, P, k) {
|
|
3629
3629
|
A = A.background, A === null ? s(a, c) : A && A.isColor && (s(A, 1), k = !0), (t.autoClear || k) && t.clear(t.autoClearColor, t.autoClearDepth, t.autoClearStencil), A && (A.isCubeTexture || A.isWebGLRenderTargetCube) ? (v === void 0 && (v = new pi(
|
|
3630
3630
|
new Bt(1, 1, 1),
|
|
3631
|
-
new
|
|
3631
|
+
new $e({
|
|
3632
3632
|
type: "BackgroundCubeMaterial",
|
|
3633
3633
|
uniforms: Dn.clone(ms.cube.uniforms),
|
|
3634
3634
|
vertexShader: ms.cube.vertexShader,
|
|
@@ -3641,8 +3641,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
3641
3641
|
), v.geometry.removeAttribute("normal"), v.geometry.removeAttribute("uv"), v.onBeforeRender = function(H, q, K) {
|
|
3642
3642
|
this.matrixWorld.copyPosition(K.matrixWorld);
|
|
3643
3643
|
}, i.update(v)), v.material.uniforms.tCube.value = A.isWebGLRenderTargetCube ? A.texture : A, v.material.uniforms.tFlip.value = A.isWebGLRenderTargetCube ? 1 : -1, y.push(v, v.geometry, v.material, 0, null)) : A && A.isTexture && (f === void 0 && (f = new pi(
|
|
3644
|
-
new
|
|
3645
|
-
new
|
|
3644
|
+
new ce(2, 2),
|
|
3645
|
+
new $e({
|
|
3646
3646
|
type: "BackgroundMaterial",
|
|
3647
3647
|
uniforms: Dn.clone(ms.background.uniforms),
|
|
3648
3648
|
vertexShader: ms.background.vertexShader,
|
|
@@ -4026,7 +4026,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
4026
4026
|
var i = this.cache;
|
|
4027
4027
|
nt(i, e) || (t.uniform4iv(this.addr, e), vt(i, e));
|
|
4028
4028
|
}
|
|
4029
|
-
function
|
|
4029
|
+
function Oi(t) {
|
|
4030
4030
|
switch (t) {
|
|
4031
4031
|
case 5126:
|
|
4032
4032
|
return Xt;
|
|
@@ -4140,7 +4140,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
4140
4140
|
}
|
|
4141
4141
|
}
|
|
4142
4142
|
function ch(t, e, i) {
|
|
4143
|
-
this.id = t, this.addr = i, this.cache = [], this.setValue =
|
|
4143
|
+
this.id = t, this.addr = i, this.cache = [], this.setValue = Oi(e.type);
|
|
4144
4144
|
}
|
|
4145
4145
|
function Yo(t, e, i) {
|
|
4146
4146
|
this.id = t, this.addr = i, this.cache = [], this.size = e.size, this.setValue = ns(e.type);
|
|
@@ -5118,10 +5118,10 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5118
5118
|
Ut = !1, bi = Ai = ri = Xe = Ce = Hi = ei = Ye = null;
|
|
5119
5119
|
}
|
|
5120
5120
|
};
|
|
5121
|
-
}(), rt = t.getParameter(34921), xt = new Uint8Array(rt), gt = new Uint8Array(rt), At = new Uint8Array(rt), wt = {}, Vt = null, Z = null, st = null, zt = null, ee = null, $t = null, qt = null, Te = null, me = null, Ie = null, be = !1, ae = null, We = null,
|
|
5121
|
+
}(), rt = t.getParameter(34921), xt = new Uint8Array(rt), gt = new Uint8Array(rt), At = new Uint8Array(rt), wt = {}, Vt = null, Z = null, st = null, zt = null, ee = null, $t = null, qt = null, Te = null, me = null, Ie = null, be = !1, ae = null, We = null, Qe = null, ci = null, Sn = null, mn = t.getParameter(35661), ji = !1;
|
|
5122
5122
|
rt = 0, rt = t.getParameter(7938), rt.indexOf("WebGL") !== -1 ? (rt = parseFloat(/^WebGL ([0-9])/.exec(rt)[1]), ji = 1 <= rt) : rt.indexOf("OpenGL ES") !== -1 && (rt = parseFloat(/^OpenGL ES ([0-9])/.exec(rt)[1]), ji = 2 <= rt);
|
|
5123
|
-
var Gi = null, en = {}, En = new T(), Ae = new T(),
|
|
5124
|
-
return
|
|
5123
|
+
var Gi = null, en = {}, En = new T(), Ae = new T(), ti = {};
|
|
5124
|
+
return ti[3553] = s(3553, 3553, 1), ti[34067] = s(34067, 34069, 6), H.setClear(0, 0, 0, 1), q.setClear(1), K.setClear(0), c(2929), q.setFunc(3), y(!1), A(1), c(2884), v(0), {
|
|
5125
5125
|
buffers: { color: H, depth: q, stencil: K },
|
|
5126
5126
|
initAttributes: function() {
|
|
5127
5127
|
for (var Ut = 0, Ye = xt.length; Ut < Ye; Ut++)
|
|
@@ -5164,7 +5164,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5164
5164
|
setFlipSided: y,
|
|
5165
5165
|
setCullFace: A,
|
|
5166
5166
|
setLineWidth: function(Ut) {
|
|
5167
|
-
Ut !==
|
|
5167
|
+
Ut !== Qe && (ji && t.lineWidth(Ut), Qe = Ut);
|
|
5168
5168
|
},
|
|
5169
5169
|
setPolygonOffset: P,
|
|
5170
5170
|
setScissorTest: function(Ut) {
|
|
@@ -5174,7 +5174,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5174
5174
|
bindTexture: function(Ut, Ye) {
|
|
5175
5175
|
Gi === null && k();
|
|
5176
5176
|
var ei = en[Gi];
|
|
5177
|
-
ei === void 0 && (ei = { type: void 0, texture: void 0 }, en[Gi] = ei), (ei.type !== Ut || ei.texture !== Ye) && (t.bindTexture(Ut, Ye ||
|
|
5177
|
+
ei === void 0 && (ei = { type: void 0, texture: void 0 }, en[Gi] = ei), (ei.type !== Ut || ei.texture !== Ye) && (t.bindTexture(Ut, Ye || ti[Ut]), ei.type = Ut, ei.texture = Ye);
|
|
5178
5178
|
},
|
|
5179
5179
|
compressedTexImage2D: function() {
|
|
5180
5180
|
try {
|
|
@@ -5418,8 +5418,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5418
5418
|
var Te = $t[0], me = v(Te), Ie = a.convert(Z.format), be = a.convert(Z.type), ae = P(Ie, be);
|
|
5419
5419
|
for (rt(34067, Z, me), qt = 0; 6 > qt; qt++)
|
|
5420
5420
|
if (st)
|
|
5421
|
-
for (var We,
|
|
5422
|
-
We =
|
|
5421
|
+
for (var We, Qe = $t[qt].mipmaps, ci = 0, Sn = Qe.length; ci < Sn; ci++)
|
|
5422
|
+
We = Qe[ci], Z.format !== 1023 && Z.format !== 1022 ? -1 < i.getCompressedTextureFormats().indexOf(Ie) ? i.compressedTexImage2D(
|
|
5423
5423
|
34069 + qt,
|
|
5424
5424
|
ci,
|
|
5425
5425
|
ae,
|
|
@@ -5452,7 +5452,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5452
5452
|
be,
|
|
5453
5453
|
$t[qt].data
|
|
5454
5454
|
) : i.texImage2D(34069 + qt, 0, ae, Ie, be, $t[qt]);
|
|
5455
|
-
zt.__maxMipLevel = st ?
|
|
5455
|
+
zt.__maxMipLevel = st ? Qe.length - 1 : 0, y(Z, me) && A(34067, Z, Te.width, Te.height), zt.__version = Z.version, Z.onUpdate && Z.onUpdate(Z);
|
|
5456
5456
|
} else
|
|
5457
5457
|
i.activeTexture(33984 + st), i.bindTexture(34067, zt.__image__webglTextureCube);
|
|
5458
5458
|
}, this.setTextureCubeDynamic = function(Z, st) {
|
|
@@ -5834,7 +5834,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5834
5834
|
function xe(t) {
|
|
5835
5835
|
var e;
|
|
5836
5836
|
function i() {
|
|
5837
|
-
ii = new Jt(ne), Ze = new Ji(ne, ii, t), Ze.isWebGL2 || (ii.get("WEBGL_depth_texture"), ii.get("OES_texture_float"), ii.get("OES_texture_half_float"), ii.get("OES_texture_half_float_linear"), ii.get("OES_standard_derivatives"), ii.get("OES_element_index_uint"), ii.get("ANGLE_instanced_arrays")), ii.get("OES_texture_float_linear"), Ln = new He(ne, ii, Ze), ai = new ue(ne, ii, Ln, Ze), ai.scissor(ji.copy(Ye).multiplyScalar(
|
|
5837
|
+
ii = new Jt(ne), Ze = new Ji(ne, ii, t), Ze.isWebGL2 || (ii.get("WEBGL_depth_texture"), ii.get("OES_texture_float"), ii.get("OES_texture_half_float"), ii.get("OES_texture_half_float_linear"), ii.get("OES_standard_derivatives"), ii.get("OES_element_index_uint"), ii.get("ANGLE_instanced_arrays")), ii.get("OES_texture_float_linear"), Ln = new He(ne, ii, Ze), ai = new ue(ne, ii, Ln, Ze), ai.scissor(ji.copy(Ye).multiplyScalar(ti)), ai.viewport(mn.copy(Ut).multiplyScalar(ti)), gn = new dt(), bn = new at(), ks = new je(ne, ii, ai, bn, Ze, Ln, gn), wa = new M(ne), Rh = new Wt(ne, wa, gn), Ta = new Kt(Rh, gn), Oh = new ie(ne), zo = new lt(qt, ii, Ze), cl = new Rt(), ko = new he(), io = new Ri(qt, ai, Ta, Z), Ih = new cn(ne, ii, gn, Ze), Qn = new pt(ne, ii, gn, Ze), gn.programs = zo.programs, qt.context = ne, qt.capabilities = Ze, qt.extensions = ii, qt.properties = bn, qt.renderLists = cl, qt.state = ai, qt.info = gn;
|
|
5838
5838
|
}
|
|
5839
5839
|
function n(ft) {
|
|
5840
5840
|
ft.preventDefault(), console.log("THREE.WebGLRenderer: Context Lost."), Te = !0;
|
|
@@ -5869,45 +5869,45 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5869
5869
|
mt && bi.setFromMatrixPosition(ft.matrixWorld).applyMatrix4(Ai), ee.push(ft, null, ft.material, bi.z, null);
|
|
5870
5870
|
else if ((ft.isMesh || ft.isLine || ft.isPoints) && (ft.isSkinnedMesh && ft.skeleton.update(), !ft.frustumCulled || Hi.intersectsObject(ft)))
|
|
5871
5871
|
if (mt && bi.setFromMatrixPosition(ft.matrixWorld).applyMatrix4(Ai), Me = Ta.update(ft), De = ft.material, Array.isArray(De))
|
|
5872
|
-
for (var Ve = Me.groups, Se = 0,
|
|
5872
|
+
for (var Ve = Me.groups, Se = 0, Ke = Ve.length; Se < Ke; Se++) {
|
|
5873
5873
|
var Pi = Ve[Se], Zi = De[Pi.materialIndex];
|
|
5874
5874
|
Zi && Zi.visible && ee.push(ft, Me, Zi, bi.z, Pi);
|
|
5875
5875
|
}
|
|
5876
5876
|
else
|
|
5877
5877
|
De.visible && ee.push(ft, Me, De, bi.z, null);
|
|
5878
5878
|
}
|
|
5879
|
-
for (ft = ft.children, Se = 0,
|
|
5879
|
+
for (ft = ft.children, Se = 0, Ke = ft.length; Se < Ke; Se++)
|
|
5880
5880
|
v(ft[Se], Tt, mt);
|
|
5881
5881
|
}
|
|
5882
5882
|
}
|
|
5883
5883
|
function y(ft, Tt, mt, Me) {
|
|
5884
5884
|
for (var De = 0, Ve = ft.length; De < Ve; De++) {
|
|
5885
|
-
var Se = ft[De],
|
|
5885
|
+
var Se = ft[De], Ke = Se.object, Pi = Se.geometry, Zi = Me === void 0 ? Se.material : Me;
|
|
5886
5886
|
if (Se = Se.group, mt.isArrayCamera) {
|
|
5887
5887
|
Sn = mt;
|
|
5888
5888
|
for (var ve = mt.cameras, yr = 0, zn = ve.length; yr < zn; yr++) {
|
|
5889
5889
|
var sn = ve[yr];
|
|
5890
|
-
if (
|
|
5890
|
+
if (Ke.layers.test(sn.layers)) {
|
|
5891
5891
|
if ("viewport" in sn)
|
|
5892
5892
|
ai.viewport(mn.copy(sn.viewport));
|
|
5893
5893
|
else {
|
|
5894
5894
|
var hr = sn.bounds;
|
|
5895
5895
|
ai.viewport(
|
|
5896
|
-
mn.set(hr.x * En, hr.y * Ae, hr.z * En, hr.w * Ae).multiplyScalar(
|
|
5896
|
+
mn.set(hr.x * En, hr.y * Ae, hr.z * En, hr.w * Ae).multiplyScalar(ti)
|
|
5897
5897
|
);
|
|
5898
5898
|
}
|
|
5899
|
-
$t.setupLights(sn), A(
|
|
5899
|
+
$t.setupLights(sn), A(Ke, Tt, sn, Pi, Zi, Se);
|
|
5900
5900
|
}
|
|
5901
5901
|
}
|
|
5902
5902
|
} else
|
|
5903
|
-
Sn = null, A(
|
|
5903
|
+
Sn = null, A(Ke, Tt, mt, Pi, Zi, Se);
|
|
5904
5904
|
}
|
|
5905
5905
|
}
|
|
5906
5906
|
function A(ft, Tt, mt, Me, De, Ve) {
|
|
5907
5907
|
if (ft.onBeforeRender(qt, Tt, mt, Me, De, Ve), $t = ko.get(Tt, Sn || mt), ft.modelViewMatrix.multiplyMatrices(mt.matrixWorldInverse, ft.matrixWorld), ft.normalMatrix.getNormalMatrix(ft.modelViewMatrix), ft.isImmediateRenderObject) {
|
|
5908
5908
|
ai.setMaterial(De);
|
|
5909
5909
|
var Se = k(mt, Tt.fog, De, ft);
|
|
5910
|
-
We = e = null,
|
|
5910
|
+
We = e = null, Qe = !1, f(ft, Se);
|
|
5911
5911
|
} else
|
|
5912
5912
|
qt.renderBufferDirect(mt, Tt.fog, Me, De, ft, Ve);
|
|
5913
5913
|
ft.onAfterRender(qt, Tt, mt, Me, De, Ve), $t = ko.get(Tt, Sn || mt);
|
|
@@ -5923,10 +5923,10 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5923
5923
|
Ce.numIntersection,
|
|
5924
5924
|
mt
|
|
5925
5925
|
);
|
|
5926
|
-
var
|
|
5926
|
+
var Ke = zo.getProgramCode(ft, mt), Pi = Me.program, Zi = !0;
|
|
5927
5927
|
if (Pi === void 0)
|
|
5928
5928
|
ft.addEventListener("dispose", a);
|
|
5929
|
-
else if (Pi.code !==
|
|
5929
|
+
else if (Pi.code !== Ke)
|
|
5930
5930
|
c(ft);
|
|
5931
5931
|
else {
|
|
5932
5932
|
if (Ve.stateID !== Se.stateID || Ve.directionalLength !== Se.directionalLength || Ve.pointLength !== Se.pointLength || Ve.spotLength !== Se.spotLength || Ve.rectAreaLength !== Se.rectAreaLength || Ve.hemiLength !== Se.hemiLength || Ve.shadowsLength !== Se.shadowsLength)
|
|
@@ -5935,22 +5935,22 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5935
5935
|
return;
|
|
5936
5936
|
Zi = !1;
|
|
5937
5937
|
}
|
|
5938
|
-
if (Zi && (mt.shaderID ? (
|
|
5938
|
+
if (Zi && (mt.shaderID ? (Ke = ms[mt.shaderID], Me.shader = {
|
|
5939
5939
|
name: ft.type,
|
|
5940
|
-
uniforms: Dn.clone(
|
|
5941
|
-
vertexShader:
|
|
5942
|
-
fragmentShader:
|
|
5940
|
+
uniforms: Dn.clone(Ke.uniforms),
|
|
5941
|
+
vertexShader: Ke.vertexShader,
|
|
5942
|
+
fragmentShader: Ke.fragmentShader
|
|
5943
5943
|
}) : Me.shader = {
|
|
5944
5944
|
name: ft.type,
|
|
5945
5945
|
uniforms: ft.uniforms,
|
|
5946
5946
|
vertexShader: ft.vertexShader,
|
|
5947
5947
|
fragmentShader: ft.fragmentShader
|
|
5948
|
-
}, ft.onBeforeCompile(Me.shader, qt),
|
|
5949
|
-
for (
|
|
5950
|
-
0 <= mt["morphTarget" +
|
|
5948
|
+
}, ft.onBeforeCompile(Me.shader, qt), Ke = zo.getProgramCode(ft, mt), Pi = zo.acquireProgram(ft, Me.shader, mt, Ke), Me.program = Pi, ft.program = Pi), mt = Pi.getAttributes(), ft.morphTargets)
|
|
5949
|
+
for (Ke = ft.numSupportedMorphTargets = 0; Ke < qt.maxMorphTargets; Ke++)
|
|
5950
|
+
0 <= mt["morphTarget" + Ke] && ft.numSupportedMorphTargets++;
|
|
5951
5951
|
if (ft.morphNormals)
|
|
5952
|
-
for (
|
|
5953
|
-
0 <= mt["morphNormal" +
|
|
5952
|
+
for (Ke = ft.numSupportedMorphNormals = 0; Ke < qt.maxMorphNormals; Ke++)
|
|
5953
|
+
0 <= mt["morphNormal" + Ke] && ft.numSupportedMorphNormals++;
|
|
5954
5954
|
mt = Me.shader.uniforms, (!ft.isShaderMaterial && !ft.isRawShaderMaterial || ft.clipping === !0) && (Me.numClippingPlanes = Ce.numPlanes, Me.numIntersection = Ce.numIntersection, mt.clippingPlanes = Ce.uniform), Me.fog = Tt, Ve === void 0 && (Me.lightsHash = Ve = {}), Ve.stateID = Se.stateID, Ve.directionalLength = Se.directionalLength, Ve.pointLength = Se.pointLength, Ve.spotLength = Se.spotLength, Ve.rectAreaLength = Se.rectAreaLength, Ve.hemiLength = Se.hemiLength, Ve.shadowsLength = Se.shadowsLength, ft.lights && (mt.ambientLightColor.value = De.state.ambient, mt.directionalLights.value = De.state.directional, mt.spotLights.value = De.state.spot, mt.rectAreaLights.value = De.state.rectArea, mt.pointLights.value = De.state.point, mt.hemisphereLights.value = De.state.hemi, mt.directionalShadowMap.value = De.state.directionalShadowMap, mt.directionalShadowMatrix.value = De.state.directionalShadowMatrix, mt.spotShadowMap.value = De.state.spotShadowMap, mt.spotShadowMatrix.value = De.state.spotShadowMatrix, mt.pointShadowMap.value = De.state.pointShadowMap, mt.pointShadowMatrix.value = De.state.pointShadowMatrix), ft = Me.program.getUniforms(), ft = rs.seqWithValue(ft.seq, mt), Me.uniformsList = ft;
|
|
5955
5955
|
}
|
|
5956
5956
|
function k(ft, Tt, mt, Me) {
|
|
@@ -5964,22 +5964,22 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5964
5964
|
De,
|
|
5965
5965
|
ft === ci && mt.id === ae
|
|
5966
5966
|
), mt.needsUpdate === !1 && (De.program === void 0 || mt.fog && De.fog !== Tt ? mt.needsUpdate = !0 : (!mt.lights || Ve.stateID === Se.stateID && Ve.directionalLength === Se.directionalLength && Ve.pointLength === Se.pointLength && Ve.spotLength === Se.spotLength && Ve.rectAreaLength === Se.rectAreaLength && Ve.hemiLength === Se.hemiLength && Ve.shadowsLength === Se.shadowsLength) && (De.numClippingPlanes === void 0 || De.numClippingPlanes === Ce.numPlanes && De.numIntersection === Ce.numIntersection) || (mt.needsUpdate = !0)), mt.needsUpdate && (P(mt, Tt, Me), mt.needsUpdate = !1);
|
|
5967
|
-
var
|
|
5967
|
+
var Ke = !1, Pi = !1, Zi = !1;
|
|
5968
5968
|
Ve = De.program, Se = Ve.getUniforms();
|
|
5969
5969
|
var ve = De.shader.uniforms;
|
|
5970
|
-
if (ai.useProgram(Ve.program) && (Zi = Pi =
|
|
5971
|
-
if (
|
|
5970
|
+
if (ai.useProgram(Ve.program) && (Zi = Pi = Ke = !0), mt.id !== ae && (ae = mt.id, Pi = !0), (Ke || ci !== ft) && (Se.setValue(ne, "projectionMatrix", ft.projectionMatrix), Ze.logarithmicDepthBuffer && Se.setValue(ne, "logDepthBufFC", 2 / (Math.log(ft.far + 1) / Math.LN2)), ci !== ft && (ci = ft, Zi = Pi = !0), (mt.isShaderMaterial || mt.isMeshPhongMaterial || mt.isMeshStandardMaterial || mt.envMap) && (Ke = Se.map.cameraPosition, Ke !== void 0 && Ke.setValue(ne, bi.setFromMatrixPosition(ft.matrixWorld))), (mt.isMeshPhongMaterial || mt.isMeshLambertMaterial || mt.isMeshBasicMaterial || mt.isMeshStandardMaterial || mt.isShaderMaterial || mt.skinning) && Se.setValue(ne, "viewMatrix", ft.matrixWorldInverse)), mt.skinning && (Se.setOptional(ne, Me, "bindMatrix"), Se.setOptional(ne, Me, "bindMatrixInverse"), ft = Me.skeleton))
|
|
5971
|
+
if (Ke = ft.bones, Ze.floatVertexTextures) {
|
|
5972
5972
|
if (ft.boneTexture === void 0) {
|
|
5973
|
-
|
|
5974
|
-
var yr = new Float32Array(
|
|
5973
|
+
Ke = Math.sqrt(4 * Ke.length), Ke = fi.ceilPowerOfTwo(Ke), Ke = Math.max(Ke, 4);
|
|
5974
|
+
var yr = new Float32Array(Ke * Ke * 4);
|
|
5975
5975
|
yr.set(ft.boneMatrices);
|
|
5976
|
-
var zn = new z(yr,
|
|
5977
|
-
zn.needsUpdate = !0, ft.boneMatrices = yr, ft.boneTexture = zn, ft.boneTextureSize =
|
|
5976
|
+
var zn = new z(yr, Ke, Ke, 1023, 1015);
|
|
5977
|
+
zn.needsUpdate = !0, ft.boneMatrices = yr, ft.boneTexture = zn, ft.boneTextureSize = Ke;
|
|
5978
5978
|
}
|
|
5979
5979
|
Se.setValue(ne, "boneTexture", ft.boneTexture), Se.setValue(ne, "boneTextureSize", ft.boneTextureSize);
|
|
5980
5980
|
} else
|
|
5981
5981
|
Se.setOptional(ne, ft, "boneMatrices");
|
|
5982
|
-
return Pi && (Se.setValue(ne, "toneMappingExposure", qt.toneMappingExposure), Se.setValue(ne, "toneMappingWhitePoint", qt.toneMappingWhitePoint), mt.lights && (Pi = Zi, ve.ambientLightColor.needsUpdate = Pi, ve.directionalLights.needsUpdate = Pi, ve.pointLights.needsUpdate = Pi, ve.spotLights.needsUpdate = Pi, ve.rectAreaLights.needsUpdate = Pi, ve.hemisphereLights.needsUpdate = Pi), Tt && mt.fog && (ve.fogColor.value = Tt.color, Tt.isFog ? (ve.fogNear.value = Tt.near, ve.fogFar.value = Tt.far) : Tt.isFogExp2 && (ve.fogDensity.value = Tt.density)), mt.isMeshBasicMaterial ? H(ve, mt) : mt.isMeshLambertMaterial ? (H(ve, mt), mt.emissiveMap && (ve.emissiveMap.value = mt.emissiveMap)) : mt.isMeshPhongMaterial ? (H(ve, mt), mt.isMeshToonMaterial ? (q(ve, mt), mt.gradientMap && (ve.gradientMap.value = mt.gradientMap)) : q(ve, mt)) : mt.isMeshStandardMaterial ? (H(ve, mt), mt.isMeshPhysicalMaterial ? (K(ve, mt), ve.reflectivity.value = mt.reflectivity, ve.clearCoat.value = mt.clearCoat, ve.clearCoatRoughness.value = mt.clearCoatRoughness) : K(ve, mt)) : mt.isMeshMatcapMaterial ? (H(ve, mt), mt.matcap && (ve.matcap.value = mt.matcap), mt.bumpMap && (ve.bumpMap.value = mt.bumpMap, ve.bumpScale.value = mt.bumpScale, mt.side === 1 && (ve.bumpScale.value *= -1)), mt.normalMap && (ve.normalMap.value = mt.normalMap, ve.normalScale.value.copy(mt.normalScale), mt.side === 1 && ve.normalScale.value.negate()), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isMeshDepthMaterial ? (H(ve, mt), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isMeshDistanceMaterial ? (H(ve, mt), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias), ve.referencePosition.value.copy(mt.referencePosition), ve.nearDistance.value = mt.nearDistance, ve.farDistance.value = mt.farDistance) : mt.isMeshNormalMaterial ? (H(ve, mt), mt.bumpMap && (ve.bumpMap.value = mt.bumpMap, ve.bumpScale.value = mt.bumpScale, mt.side === 1 && (ve.bumpScale.value *= -1)), mt.normalMap && (ve.normalMap.value = mt.normalMap, ve.normalScale.value.copy(mt.normalScale), mt.side === 1 && ve.normalScale.value.negate()), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isLineBasicMaterial ? (ve.diffuse.value = mt.color, ve.opacity.value = mt.opacity, mt.isLineDashedMaterial && (ve.dashSize.value = mt.dashSize, ve.totalSize.value = mt.dashSize + mt.gapSize, ve.scale.value = mt.scale)) : mt.isPointsMaterial ? (ve.diffuse.value = mt.color, ve.opacity.value = mt.opacity, ve.size.value = mt.size *
|
|
5982
|
+
return Pi && (Se.setValue(ne, "toneMappingExposure", qt.toneMappingExposure), Se.setValue(ne, "toneMappingWhitePoint", qt.toneMappingWhitePoint), mt.lights && (Pi = Zi, ve.ambientLightColor.needsUpdate = Pi, ve.directionalLights.needsUpdate = Pi, ve.pointLights.needsUpdate = Pi, ve.spotLights.needsUpdate = Pi, ve.rectAreaLights.needsUpdate = Pi, ve.hemisphereLights.needsUpdate = Pi), Tt && mt.fog && (ve.fogColor.value = Tt.color, Tt.isFog ? (ve.fogNear.value = Tt.near, ve.fogFar.value = Tt.far) : Tt.isFogExp2 && (ve.fogDensity.value = Tt.density)), mt.isMeshBasicMaterial ? H(ve, mt) : mt.isMeshLambertMaterial ? (H(ve, mt), mt.emissiveMap && (ve.emissiveMap.value = mt.emissiveMap)) : mt.isMeshPhongMaterial ? (H(ve, mt), mt.isMeshToonMaterial ? (q(ve, mt), mt.gradientMap && (ve.gradientMap.value = mt.gradientMap)) : q(ve, mt)) : mt.isMeshStandardMaterial ? (H(ve, mt), mt.isMeshPhysicalMaterial ? (K(ve, mt), ve.reflectivity.value = mt.reflectivity, ve.clearCoat.value = mt.clearCoat, ve.clearCoatRoughness.value = mt.clearCoatRoughness) : K(ve, mt)) : mt.isMeshMatcapMaterial ? (H(ve, mt), mt.matcap && (ve.matcap.value = mt.matcap), mt.bumpMap && (ve.bumpMap.value = mt.bumpMap, ve.bumpScale.value = mt.bumpScale, mt.side === 1 && (ve.bumpScale.value *= -1)), mt.normalMap && (ve.normalMap.value = mt.normalMap, ve.normalScale.value.copy(mt.normalScale), mt.side === 1 && ve.normalScale.value.negate()), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isMeshDepthMaterial ? (H(ve, mt), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isMeshDistanceMaterial ? (H(ve, mt), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias), ve.referencePosition.value.copy(mt.referencePosition), ve.nearDistance.value = mt.nearDistance, ve.farDistance.value = mt.farDistance) : mt.isMeshNormalMaterial ? (H(ve, mt), mt.bumpMap && (ve.bumpMap.value = mt.bumpMap, ve.bumpScale.value = mt.bumpScale, mt.side === 1 && (ve.bumpScale.value *= -1)), mt.normalMap && (ve.normalMap.value = mt.normalMap, ve.normalScale.value.copy(mt.normalScale), mt.side === 1 && ve.normalScale.value.negate()), mt.displacementMap && (ve.displacementMap.value = mt.displacementMap, ve.displacementScale.value = mt.displacementScale, ve.displacementBias.value = mt.displacementBias)) : mt.isLineBasicMaterial ? (ve.diffuse.value = mt.color, ve.opacity.value = mt.opacity, mt.isLineDashedMaterial && (ve.dashSize.value = mt.dashSize, ve.totalSize.value = mt.dashSize + mt.gapSize, ve.scale.value = mt.scale)) : mt.isPointsMaterial ? (ve.diffuse.value = mt.color, ve.opacity.value = mt.opacity, ve.size.value = mt.size * ti, ve.scale.value = 0.5 * Ae, ve.map.value = mt.map, mt.map !== null && (mt.map.matrixAutoUpdate === !0 && mt.map.updateMatrix(), ve.uvTransform.value.copy(mt.map.matrix))) : mt.isSpriteMaterial ? (ve.diffuse.value = mt.color, ve.opacity.value = mt.opacity, ve.rotation.value = mt.rotation, ve.map.value = mt.map, mt.map !== null && (mt.map.matrixAutoUpdate === !0 && mt.map.updateMatrix(), ve.uvTransform.value.copy(mt.map.matrix))) : mt.isShadowMaterial && (ve.color.value = mt.color, ve.opacity.value = mt.opacity), ve.ltc_1 !== void 0 && (ve.ltc_1.value = qe.LTC_1), ve.ltc_2 !== void 0 && (ve.ltc_2.value = qe.LTC_2), rs.upload(ne, De.uniformsList, ve, qt)), mt.isShaderMaterial && mt.uniformsNeedUpdate === !0 && (rs.upload(ne, De.uniformsList, ve, qt), mt.uniformsNeedUpdate = !1), mt.isSpriteMaterial && Se.setValue(ne, "center", Me.center), Se.setValue(ne, "modelViewMatrix", Me.modelViewMatrix), Se.setValue(ne, "normalMatrix", Me.normalMatrix), Se.setValue(ne, "modelMatrix", Me.matrixWorld), Ve;
|
|
5983
5983
|
}
|
|
5984
5984
|
function H(ft, Tt) {
|
|
5985
5985
|
if (ft.opacity.value = Tt.opacity, Tt.color && (ft.diffuse.value = Tt.color), Tt.emissive && ft.emissive.value.copy(Tt.emissive).multiplyScalar(Tt.emissiveIntensity), Tt.map && (ft.map.value = Tt.map), Tt.alphaMap && (ft.alphaMap.value = Tt.alphaMap), Tt.specularMap && (ft.specularMap.value = Tt.specularMap), Tt.envMap && (ft.envMap.value = Tt.envMap, ft.flipEnvMap.value = Tt.envMap && Tt.envMap.isCubeTexture ? -1 : 1, ft.reflectivity.value = Tt.reflectivity, ft.refractionRatio.value = Tt.refractionRatio, ft.maxMipLevel.value = bn.get(Tt.envMap).__maxMipLevel), Tt.lightMap && (ft.lightMap.value = Tt.lightMap, ft.lightMapIntensity.value = Tt.lightMapIntensity), Tt.aoMap && (ft.aoMap.value = Tt.aoMap, ft.aoMapIntensity.value = Tt.aoMapIntensity), Tt.map)
|
|
@@ -5997,7 +5997,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
5997
5997
|
console.log("THREE.WebGLRenderer", "98"), t = t || {};
|
|
5998
5998
|
var rt = t.canvas !== void 0 ? t.canvas : document.createElementNS("http://www.w3.org/1999/xhtml", "canvas"), xt = t.context !== void 0 ? t.context : null, gt = t.alpha !== void 0 ? t.alpha : !1, At = t.depth !== void 0 ? t.depth : !0, wt = t.stencil !== void 0 ? t.stencil : !0, Vt = t.antialias !== void 0 ? t.antialias : !1, Z = t.premultipliedAlpha !== void 0 ? t.premultipliedAlpha : !0, st = t.preserveDrawingBuffer !== void 0 ? t.preserveDrawingBuffer : !1, zt = t.powerPreference !== void 0 ? t.powerPreference : "default", ee = null, $t = null;
|
|
5999
5999
|
this.domElement = rt, this.context = null, this.sortObjects = this.autoClearStencil = this.autoClearDepth = this.autoClearColor = this.autoClear = !0, this.clippingPlanes = [], this.localClippingEnabled = !1, this.gammaFactor = 2, this.physicallyCorrectLights = this.gammaOutput = this.gammaInput = !1, this.toneMappingWhitePoint = this.toneMappingExposure = this.toneMapping = 1, this.maxMorphTargets = 8, this.maxMorphNormals = 4;
|
|
6000
|
-
var qt = this, Te = !1, me = null, Ie = null, be = null, ae = -1, We = e = null,
|
|
6000
|
+
var qt = this, Te = !1, me = null, Ie = null, be = null, ae = -1, We = e = null, Qe = !1, ci = null, Sn = null, mn = new T(), ji = new T(), Gi = null, en = 0, En = rt.width, Ae = rt.height, ti = 1, Ut = new T(0, 0, En, Ae), Ye = new T(0, 0, En, Ae), ei = !1, Hi = new E(), Ce = new W(), Xe = !1, ri = !1, Ai = new p(), bi = new u();
|
|
6001
6001
|
try {
|
|
6002
6002
|
gt = {
|
|
6003
6003
|
alpha: gt,
|
|
@@ -6035,25 +6035,25 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6035
6035
|
var ft = ii.get("WEBGL_lose_context");
|
|
6036
6036
|
ft && ft.restoreContext();
|
|
6037
6037
|
}, this.getPixelRatio = function() {
|
|
6038
|
-
return
|
|
6038
|
+
return ti;
|
|
6039
6039
|
}, this.setPixelRatio = function(ft) {
|
|
6040
|
-
ft !== void 0 && (
|
|
6040
|
+
ft !== void 0 && (ti = ft, this.setSize(En, Ae, !1));
|
|
6041
6041
|
}, this.getSize = function() {
|
|
6042
6042
|
return { width: En, height: Ae };
|
|
6043
6043
|
}, this.setSize = function(ft, Tt, mt) {
|
|
6044
6044
|
_s.isPresenting() ? console.warn(
|
|
6045
6045
|
"THREE.WebGLRenderer: Can't change size while VR device is presenting."
|
|
6046
|
-
) : (En = ft, Ae = Tt, rt.width = ft *
|
|
6046
|
+
) : (En = ft, Ae = Tt, rt.width = ft * ti, rt.height = Tt * ti, mt !== !1 && (rt.style.width = ft + "px", rt.style.height = Tt + "px"), this.setViewport(0, 0, ft, Tt));
|
|
6047
6047
|
}, this.getDrawingBufferSize = function() {
|
|
6048
|
-
return { width: En *
|
|
6048
|
+
return { width: En * ti, height: Ae * ti };
|
|
6049
6049
|
}, this.setDrawingBufferSize = function(ft, Tt, mt) {
|
|
6050
|
-
En = ft, Ae = Tt,
|
|
6050
|
+
En = ft, Ae = Tt, ti = mt, rt.width = ft * mt, rt.height = Tt * mt, this.setViewport(0, 0, ft, Tt);
|
|
6051
6051
|
}, this.getCurrentViewport = function() {
|
|
6052
6052
|
return mn;
|
|
6053
6053
|
}, this.setViewport = function(ft, Tt, mt, Me) {
|
|
6054
|
-
Ut.set(ft, Ae - Tt - Me, mt, Me), ai.viewport(mn.copy(Ut).multiplyScalar(
|
|
6054
|
+
Ut.set(ft, Ae - Tt - Me, mt, Me), ai.viewport(mn.copy(Ut).multiplyScalar(ti));
|
|
6055
6055
|
}, this.setScissor = function(ft, Tt, mt, Me) {
|
|
6056
|
-
Ye.set(ft, Ae - Tt - Me, mt, Me), ai.scissor(ji.copy(Ye).multiplyScalar(
|
|
6056
|
+
Ye.set(ft, Ae - Tt - Me, mt, Me), ai.scissor(ji.copy(Ye).multiplyScalar(ti));
|
|
6057
6057
|
}, this.setScissorTest = function(ft) {
|
|
6058
6058
|
ai.setScissorTest(ei = ft);
|
|
6059
6059
|
}, this.getClearColor = function() {
|
|
@@ -6082,8 +6082,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6082
6082
|
}, this.renderBufferDirect = function(ft, Tt, mt, Me, De, Ve) {
|
|
6083
6083
|
var Se = De.isMesh && 0 > De.normalMatrix.determinant();
|
|
6084
6084
|
ai.setMaterial(Me, Se);
|
|
6085
|
-
var
|
|
6086
|
-
(e !== mt.id || We !==
|
|
6085
|
+
var Ke = k(ft, Tt, Me, De), Pi = !1;
|
|
6086
|
+
(e !== mt.id || We !== Ke.id || Qe !== (Me.wireframe === !0)) && (e = mt.id, We = Ke.id, Qe = Me.wireframe === !0, Pi = !0), De.morphTargetInfluences && (Oh.update(De, mt, Me, Ke), Pi = !0), Se = mt.index;
|
|
6087
6087
|
var Zi = mt.attributes.position;
|
|
6088
6088
|
if (Tt = 1, Me.wireframe === !0 && (Se = Rh.getWireframeAttribute(mt), Tt = 2), ft = Ih, Se !== null) {
|
|
6089
6089
|
var ve = wa.get(Se);
|
|
@@ -6095,10 +6095,10 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6095
6095
|
"THREE.WebGLRenderer.setupVertexAttributes: using THREE.InstancedBufferGeometry but hardware does not support extension ANGLE_instanced_arrays."
|
|
6096
6096
|
);
|
|
6097
6097
|
else {
|
|
6098
|
-
ai.initAttributes(), Pi = mt.attributes,
|
|
6098
|
+
ai.initAttributes(), Pi = mt.attributes, Ke = Ke.getAttributes();
|
|
6099
6099
|
var yr = Me.defaultAttributeValues;
|
|
6100
|
-
for (tr in
|
|
6101
|
-
var zn =
|
|
6100
|
+
for (tr in Ke) {
|
|
6101
|
+
var zn = Ke[tr];
|
|
6102
6102
|
if (0 <= zn) {
|
|
6103
6103
|
var sn = Pi[tr];
|
|
6104
6104
|
if (sn !== void 0) {
|
|
@@ -6143,7 +6143,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6143
6143
|
), Ve !== 0) {
|
|
6144
6144
|
if (De.isMesh)
|
|
6145
6145
|
if (Me.wireframe === !0)
|
|
6146
|
-
ai.setLineWidth(Me.wireframeLinewidth * (Ie === null ?
|
|
6146
|
+
ai.setLineWidth(Me.wireframeLinewidth * (Ie === null ? ti : 1)), ft.setMode(1);
|
|
6147
6147
|
else
|
|
6148
6148
|
switch (De.drawMode) {
|
|
6149
6149
|
case 0:
|
|
@@ -6156,7 +6156,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6156
6156
|
ft.setMode(6);
|
|
6157
6157
|
}
|
|
6158
6158
|
else
|
|
6159
|
-
De.isLine ? (Me = Me.linewidth, Me === void 0 && (Me = 1), ai.setLineWidth(Me * (Ie === null ?
|
|
6159
|
+
De.isLine ? (Me = Me.linewidth, Me === void 0 && (Me = 1), ai.setLineWidth(Me * (Ie === null ? ti : 1)), De.isLineSegments ? ft.setMode(1) : De.isLineLoop ? ft.setMode(2) : ft.setMode(3)) : De.isPoints ? ft.setMode(0) : De.isSprite && ft.setMode(4);
|
|
6160
6160
|
mt && mt.isInstancedBufferGeometry ? 0 < mt.maxInstancedCount && ft.renderInstances(mt, tr, Ve) : ft.render(tr, Ve);
|
|
6161
6161
|
}
|
|
6162
6162
|
}, this.compile = function(ft, Tt) {
|
|
@@ -6182,7 +6182,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6182
6182
|
"THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera."
|
|
6183
6183
|
);
|
|
6184
6184
|
else if (!Te) {
|
|
6185
|
-
We = e = null,
|
|
6185
|
+
We = e = null, Qe = !1, ae = -1, ci = null, ft.autoUpdate === !0 && ft.updateMatrixWorld(), Tt.parent === null && Tt.updateMatrixWorld(), _s.enabled && (Tt = _s.getCamera(Tt)), $t = ko.get(ft, Tt), $t.init(), ft.onBeforeRender(qt, ft, Tt, mt), Ai.multiplyMatrices(Tt.projectionMatrix, Tt.matrixWorldInverse), Hi.setFromMatrix(Ai), ri = this.localClippingEnabled, Xe = Ce.init(this.clippingPlanes, ri, Tt), ee = cl.get(ft, Tt), ee.init(), v(ft, Tt, qt.sortObjects), qt.sortObjects === !0 && ee.sort(), Xe && Ce.beginShadows(), vu.render($t.state.shadowsArray, ft, Tt), $t.setupLights(Tt), Xe && Ce.endShadows(), this.info.autoReset && this.info.reset(), mt === void 0 && (mt = null), this.setRenderTarget(mt), io.render(ee, ft, Tt, Me), Me = ee.opaque;
|
|
6186
6186
|
var De = ee.transparent;
|
|
6187
6187
|
if (ft.overrideMaterial) {
|
|
6188
6188
|
var Ve = ft.overrideMaterial;
|
|
@@ -6228,7 +6228,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6228
6228
|
}, this.setRenderTarget = function(ft) {
|
|
6229
6229
|
(Ie = ft) && bn.get(ft).__webglFramebuffer === void 0 && ks.setupRenderTarget(ft);
|
|
6230
6230
|
var Tt = me, mt = !1;
|
|
6231
|
-
ft ? (Tt = bn.get(ft).__webglFramebuffer, ft.isWebGLRenderTargetCube && (Tt = Tt[ft.activeCubeFace], mt = !0), mn.copy(ft.viewport), ji.copy(ft.scissor), Gi = ft.scissorTest) : (mn.copy(Ut).multiplyScalar(
|
|
6231
|
+
ft ? (Tt = bn.get(ft).__webglFramebuffer, ft.isWebGLRenderTargetCube && (Tt = Tt[ft.activeCubeFace], mt = !0), mn.copy(ft.viewport), ji.copy(ft.scissor), Gi = ft.scissorTest) : (mn.copy(Ut).multiplyScalar(ti), ji.copy(Ye).multiplyScalar(ti), Gi = ei), be !== Tt && (ne.bindFramebuffer(36160, Tt), be = Tt), ai.viewport(mn), ai.scissor(ji), ai.setScissorTest(Gi), mt && (mt = bn.get(ft.texture), ne.framebufferTexture2D(
|
|
6232
6232
|
36160,
|
|
6233
6233
|
36064,
|
|
6234
6234
|
34069 + ft.activeCubeFace,
|
|
@@ -6239,8 +6239,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6239
6239
|
if (ft && ft.isWebGLRenderTarget) {
|
|
6240
6240
|
var Se = bn.get(ft).__webglFramebuffer;
|
|
6241
6241
|
if (Se) {
|
|
6242
|
-
var
|
|
6243
|
-
Se !== be && (ne.bindFramebuffer(36160, Se),
|
|
6242
|
+
var Ke = !1;
|
|
6243
|
+
Se !== be && (ne.bindFramebuffer(36160, Se), Ke = !0);
|
|
6244
6244
|
try {
|
|
6245
6245
|
var Pi = ft.texture, Zi = Pi.format, ve = Pi.type;
|
|
6246
6246
|
Zi !== 1023 && Ln.convert(Zi) !== ne.getParameter(35739) ? console.error(
|
|
@@ -6251,7 +6251,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6251
6251
|
"THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type."
|
|
6252
6252
|
);
|
|
6253
6253
|
} finally {
|
|
6254
|
-
|
|
6254
|
+
Ke && ne.bindFramebuffer(36160, be);
|
|
6255
6255
|
}
|
|
6256
6256
|
}
|
|
6257
6257
|
} else
|
|
@@ -6262,8 +6262,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6262
6262
|
var Me = Tt.image.width, De = Tt.image.height, Ve = Ln.convert(Tt.format);
|
|
6263
6263
|
this.setTexture2D(Tt, 0), ne.copyTexImage2D(3553, mt || 0, Ve, ft.x, ft.y, Me, De, 0);
|
|
6264
6264
|
}, this.copyTextureToTexture = function(ft, Tt, mt, Me) {
|
|
6265
|
-
var De = Tt.image.width, Ve = Tt.image.height, Se = Ln.convert(mt.format),
|
|
6266
|
-
this.setTexture2D(mt, 0), Tt.isDataTexture ? ne.texSubImage2D(3553, Me || 0, ft.x, ft.y, De, Ve, Se,
|
|
6265
|
+
var De = Tt.image.width, Ve = Tt.image.height, Se = Ln.convert(mt.format), Ke = Ln.convert(mt.type);
|
|
6266
|
+
this.setTexture2D(mt, 0), Tt.isDataTexture ? ne.texSubImage2D(3553, Me || 0, ft.x, ft.y, De, Ve, Se, Ke, Tt.image.data) : ne.texSubImage2D(3553, Me || 0, ft.x, ft.y, Se, Ke, Tt.image);
|
|
6267
6267
|
};
|
|
6268
6268
|
}
|
|
6269
6269
|
function Le(t, e) {
|
|
@@ -6275,10 +6275,10 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6275
6275
|
function Hn() {
|
|
6276
6276
|
N.call(this), this.type = "Scene", this.overrideMaterial = this.fog = this.background = null, this.autoUpdate = !0;
|
|
6277
6277
|
}
|
|
6278
|
-
function
|
|
6278
|
+
function Ii(t, e) {
|
|
6279
6279
|
this.array = t, this.stride = e, this.count = t !== void 0 ? t.length / e : 0, this.dynamic = !1, this.updateRange = { offset: 0, count: -1 }, this.version = 0;
|
|
6280
6280
|
}
|
|
6281
|
-
function
|
|
6281
|
+
function Di(t, e, i, n) {
|
|
6282
6282
|
this.data = t, this.itemSize = e, this.offset = i, this.normalized = n === !0;
|
|
6283
6283
|
}
|
|
6284
6284
|
function Ui(t) {
|
|
@@ -6309,7 +6309,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6309
6309
|
0,
|
|
6310
6310
|
1
|
|
6311
6311
|
]);
|
|
6312
|
-
e = new
|
|
6312
|
+
e = new Ii(e, 5), xa.setIndex([0, 1, 2, 0, 2, 3]), xa.addAttribute("position", new Di(e, 3, 0, !1)), xa.addAttribute("uv", new Di(e, 2, 3, !1));
|
|
6313
6313
|
}
|
|
6314
6314
|
this.geometry = xa, this.material = t !== void 0 ? t : new Ui(), this.center = new o(0.5, 0.5);
|
|
6315
6315
|
}
|
|
@@ -6331,13 +6331,13 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
6331
6331
|
function Fi(t, e) {
|
|
6332
6332
|
pi.call(this, t, e), this.type = "SkinnedMesh", this.bindMode = "attached", this.bindMatrix = new p(), this.bindMatrixInverse = new p(), t = this.initBones(), t = new on(t), this.bind(t, this.matrixWorld), this.normalizeSkinWeights();
|
|
6333
6333
|
}
|
|
6334
|
-
function
|
|
6334
|
+
function zi(t) {
|
|
6335
6335
|
Yt.call(this), this.type = "LineBasicMaterial", this.color = new L(16777215), this.linewidth = 1, this.linejoin = this.linecap = "round", this.lights = !1, this.setValues(t);
|
|
6336
6336
|
}
|
|
6337
6337
|
function Vi(t, e, i) {
|
|
6338
6338
|
i === 1 && console.error(
|
|
6339
6339
|
"THREE.Line: parameter THREE.LinePieces no longer supported. Use THREE.LineSegments instead."
|
|
6340
|
-
), N.call(this), this.type = "Line", this.geometry = t !== void 0 ? t : new Ft(), this.material = e !== void 0 ? e : new
|
|
6340
|
+
), N.call(this), this.type = "Line", this.geometry = t !== void 0 ? t : new Ft(), this.material = e !== void 0 ? e : new zi({ color: 16777215 * Math.random() });
|
|
6341
6341
|
}
|
|
6342
6342
|
function mi(t, e) {
|
|
6343
6343
|
Vi.call(this, t, e), this.type = "LineSegments";
|
|
@@ -7182,50 +7182,50 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7182
7182
|
var We = xt.holes;
|
|
7183
7183
|
if (!gs.isClockWise(v)) {
|
|
7184
7184
|
v = v.reverse();
|
|
7185
|
-
var
|
|
7186
|
-
for (ae = We.length;
|
|
7187
|
-
var ci = We[
|
|
7188
|
-
gs.isClockWise(ci) && (We[
|
|
7185
|
+
var Qe = 0;
|
|
7186
|
+
for (ae = We.length; Qe < ae; Qe++) {
|
|
7187
|
+
var ci = We[Qe];
|
|
7188
|
+
gs.isClockWise(ci) && (We[Qe] = ci.reverse());
|
|
7189
7189
|
}
|
|
7190
7190
|
}
|
|
7191
7191
|
var Sn = gs.triangulateShape(v, We), mn = v;
|
|
7192
|
-
for (
|
|
7193
|
-
ci = We[
|
|
7192
|
+
for (Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7193
|
+
ci = We[Qe], v = v.concat(ci);
|
|
7194
7194
|
var ji, Gi = v.length, en, En = Sn.length;
|
|
7195
7195
|
xt = [];
|
|
7196
|
-
var Ae = 0,
|
|
7197
|
-
for (ji = Ae + 1; Ae <
|
|
7198
|
-
Ut ===
|
|
7196
|
+
var Ae = 0, ti = mn.length, Ut = ti - 1;
|
|
7197
|
+
for (ji = Ae + 1; Ae < ti; Ae++, Ut++, ji++)
|
|
7198
|
+
Ut === ti && (Ut = 0), ji === ti && (ji = 0), xt[Ae] = A(mn[Ae], mn[Ut], mn[ji]);
|
|
7199
7199
|
zt = [];
|
|
7200
7200
|
var Ye = xt.concat();
|
|
7201
|
-
for (
|
|
7202
|
-
ci = We[
|
|
7201
|
+
for (Qe = 0, ae = We.length; Qe < ae; Qe++) {
|
|
7202
|
+
ci = We[Qe];
|
|
7203
7203
|
var ei = [];
|
|
7204
|
-
for (Ae = 0,
|
|
7205
|
-
Ut ===
|
|
7204
|
+
for (Ae = 0, ti = ci.length, Ut = ti - 1, ji = Ae + 1; Ae < ti; Ae++, Ut++, ji++)
|
|
7205
|
+
Ut === ti && (Ut = 0), ji === ti && (ji = 0), ei[Ae] = A(ci[Ae], ci[Ut], ci[ji]);
|
|
7206
7206
|
zt.push(ei), Ye = Ye.concat(ei);
|
|
7207
7207
|
}
|
|
7208
7208
|
for (Ut = 0; Ut < st; Ut++) {
|
|
7209
|
-
|
|
7210
|
-
var Hi = Vt * Math.cos(
|
|
7211
|
-
for (ji = Z * Math.sin(
|
|
7209
|
+
ti = Ut / st;
|
|
7210
|
+
var Hi = Vt * Math.cos(ti * Math.PI / 2);
|
|
7211
|
+
for (ji = Z * Math.sin(ti * Math.PI / 2), Ae = 0, ti = mn.length; Ae < ti; Ae++) {
|
|
7212
7212
|
var Ce = y(mn[Ae], xt[Ae], ji);
|
|
7213
7213
|
k(Ce.x, Ce.y, -Hi);
|
|
7214
7214
|
}
|
|
7215
|
-
for (
|
|
7216
|
-
for (ci = We[
|
|
7215
|
+
for (Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7216
|
+
for (ci = We[Qe], ei = zt[Qe], Ae = 0, ti = ci.length; Ae < ti; Ae++)
|
|
7217
7217
|
Ce = y(ci[Ae], ei[Ae], ji), k(Ce.x, Ce.y, -Hi);
|
|
7218
7218
|
}
|
|
7219
7219
|
for (ji = Z, Ae = 0; Ae < Gi; Ae++)
|
|
7220
7220
|
Ce = wt ? y(v[Ae], Ye[Ae], ji) : v[Ae], $t ? (Ie.copy(Te.normals[0]).multiplyScalar(Ce.x), me.copy(Te.binormals[0]).multiplyScalar(Ce.y), be.copy(qt[0]).add(Ie).add(me), k(be.x, be.y, be.z)) : k(Ce.x, Ce.y, 0);
|
|
7221
|
-
for (
|
|
7221
|
+
for (ti = 1; ti <= gt; ti++)
|
|
7222
7222
|
for (Ae = 0; Ae < Gi; Ae++)
|
|
7223
|
-
Ce = wt ? y(v[Ae], Ye[Ae], ji) : v[Ae], $t ? (Ie.copy(Te.normals[
|
|
7223
|
+
Ce = wt ? y(v[Ae], Ye[Ae], ji) : v[Ae], $t ? (Ie.copy(Te.normals[ti]).multiplyScalar(Ce.x), me.copy(Te.binormals[ti]).multiplyScalar(Ce.y), be.copy(qt[ti]).add(Ie).add(me), k(be.x, be.y, be.z)) : k(Ce.x, Ce.y, At / gt * ti);
|
|
7224
7224
|
for (Ut = st - 1; 0 <= Ut; Ut--) {
|
|
7225
|
-
for (
|
|
7225
|
+
for (ti = Ut / st, Hi = Vt * Math.cos(ti * Math.PI / 2), ji = Z * Math.sin(ti * Math.PI / 2), Ae = 0, ti = mn.length; Ae < ti; Ae++)
|
|
7226
7226
|
Ce = y(mn[Ae], xt[Ae], ji), k(Ce.x, Ce.y, At + Hi);
|
|
7227
|
-
for (
|
|
7228
|
-
for (ci = We[
|
|
7227
|
+
for (Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7228
|
+
for (ci = We[Qe], ei = zt[Qe], Ae = 0, ti = ci.length; Ae < ti; Ae++)
|
|
7229
7229
|
Ce = y(ci[Ae], ei[Ae], ji), $t ? k(Ce.x, Ce.y + qt[gt - 1].y, qt[gt - 1].x + Hi) : k(Ce.x, Ce.y, At + Hi);
|
|
7230
7230
|
}
|
|
7231
7231
|
(function() {
|
|
@@ -7245,8 +7245,8 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7245
7245
|
n.addGroup(Xe, s.length / 3 - Xe, 0);
|
|
7246
7246
|
})(), function() {
|
|
7247
7247
|
var Xe = s.length / 3, ri = 0;
|
|
7248
|
-
for (P(mn, ri), ri += mn.length,
|
|
7249
|
-
ci = We[
|
|
7248
|
+
for (P(mn, ri), ri += mn.length, Qe = 0, ae = We.length; Qe < ae; Qe++)
|
|
7249
|
+
ci = We[Qe], P(ci, ri), ri += ci.length;
|
|
7250
7250
|
n.addGroup(Xe, s.length / 3 - Xe, 1);
|
|
7251
7251
|
}();
|
|
7252
7252
|
}
|
|
@@ -7513,7 +7513,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7513
7513
|
Yt.call(this), this.type = "ShadowMaterial", this.color = new L(0), this.transparent = !0, this.setValues(t);
|
|
7514
7514
|
}
|
|
7515
7515
|
function xo(t) {
|
|
7516
|
-
|
|
7516
|
+
$e.call(this, t), this.type = "RawShaderMaterial";
|
|
7517
7517
|
}
|
|
7518
7518
|
function us(t) {
|
|
7519
7519
|
Yt.call(this), this.defines = { STANDARD: "" }, this.type = "MeshStandardMaterial", this.color = new L(16777215), this.metalness = this.roughness = 0.5, this.lightMap = this.map = null, this.lightMapIntensity = 1, this.aoMap = null, this.aoMapIntensity = 1, this.emissive = new L(0), this.emissiveIntensity = 1, this.bumpMap = this.emissiveMap = null, this.bumpScale = 1, this.normalMap = null, this.normalMapType = 0, this.normalScale = new o(1, 1), this.displacementMap = null, this.displacementScale = 1, this.displacementBias = 0, this.envMap = this.alphaMap = this.metalnessMap = this.roughnessMap = null, this.envMapIntensity = 1, this.refractionRatio = 0.98, this.wireframe = !1, this.wireframeLinewidth = 1, this.wireframeLinejoin = this.wireframeLinecap = "round", this.morphNormals = this.morphTargets = this.skinning = !1, this.setValues(t);
|
|
@@ -7541,7 +7541,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7541
7541
|
}
|
|
7542
7542
|
}
|
|
7543
7543
|
function Eo(t) {
|
|
7544
|
-
|
|
7544
|
+
zi.call(this), this.type = "LineDashedMaterial", this.scale = 1, this.dashSize = 3, this.gapSize = 1, this.setValues(t);
|
|
7545
7545
|
}
|
|
7546
7546
|
function Zn(t, e, i, n) {
|
|
7547
7547
|
this.parameterPositions = t, this._cachedIndex = 0, this.resultBuffer = n !== void 0 ? n : new e.constructor(i), this.sampleValues = e, this.valueSize = i;
|
|
@@ -7650,7 +7650,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7650
7650
|
function oi(t) {
|
|
7651
7651
|
this.manager = t !== void 0 ? t : Kn;
|
|
7652
7652
|
}
|
|
7653
|
-
function
|
|
7653
|
+
function ki(t) {
|
|
7654
7654
|
this.manager = t !== void 0 ? t : Kn;
|
|
7655
7655
|
}
|
|
7656
7656
|
function ln(t) {
|
|
@@ -7907,7 +7907,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7907
7907
|
Ft.call(this), this.type = "InstancedBufferGeometry", this.maxInstancedCount = void 0;
|
|
7908
7908
|
}
|
|
7909
7909
|
function Th(t, e, i) {
|
|
7910
|
-
|
|
7910
|
+
Ii.call(this, t, e), this.meshPerAttribute = i || 1;
|
|
7911
7911
|
}
|
|
7912
7912
|
function Mh(t, e, i, n) {
|
|
7913
7913
|
typeof i == "number" && (n = i, i = !1, console.error(
|
|
@@ -7915,7 +7915,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7915
7915
|
)), J.call(this, t, e, i), this.meshPerAttribute = n || 1;
|
|
7916
7916
|
}
|
|
7917
7917
|
function au(t, e, i, n) {
|
|
7918
|
-
this.ray = new
|
|
7918
|
+
this.ray = new Li(t, e), this.near = i || 0, this.far = n || 1 / 0, this.params = {
|
|
7919
7919
|
Mesh: {},
|
|
7920
7920
|
Line: {},
|
|
7921
7921
|
LOD: {},
|
|
@@ -7958,7 +7958,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7958
7958
|
};
|
|
7959
7959
|
}
|
|
7960
7960
|
function _i(t, e, i, n) {
|
|
7961
|
-
this.object = t, this.size = e !== void 0 ? e : 1, t = i !== void 0 ? i : 16711680, n = n !== void 0 ? n : 1, e = 0, (i = this.object.geometry) && i.isGeometry ? e = 3 * i.faces.length : i && i.isBufferGeometry && (e = i.attributes.normal.count), i = new Ft(), e = new Et(6 * e, 3), i.addAttribute("position", e), mi.call(this, i, new
|
|
7961
|
+
this.object = t, this.size = e !== void 0 ? e : 1, t = i !== void 0 ? i : 16711680, n = n !== void 0 ? n : 1, e = 0, (i = this.object.geometry) && i.isGeometry ? e = 3 * i.faces.length : i && i.isBufferGeometry && (e = i.attributes.normal.count), i = new Ft(), e = new Et(6 * e, 3), i.addAttribute("position", e), mi.call(this, i, new zi({ color: t, linewidth: n })), this.matrixAutoUpdate = !1, this.update();
|
|
7962
7962
|
}
|
|
7963
7963
|
function ma(t, e) {
|
|
7964
7964
|
N.call(this), this.light = t, this.light.updateMatrixWorld(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.color = e, t = new Ft(), e = [
|
|
@@ -7997,7 +7997,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
7997
7997
|
var s = i / 32 * Math.PI * 2, a = n / 32 * Math.PI * 2;
|
|
7998
7998
|
e.push(Math.cos(s), Math.sin(s), 1, Math.cos(a), Math.sin(a), 1);
|
|
7999
7999
|
}
|
|
8000
|
-
t.addAttribute("position", new Et(e, 3)), e = new
|
|
8000
|
+
t.addAttribute("position", new Et(e, 3)), e = new zi({ fog: !1 }), this.cone = new mi(t, e), this.add(this.cone), this.update();
|
|
8001
8001
|
}
|
|
8002
8002
|
function lu(t) {
|
|
8003
8003
|
var e = [];
|
|
@@ -8011,7 +8011,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8011
8011
|
var v = e[f];
|
|
8012
8012
|
v.parent && v.parent.isBone && (n.push(0, 0, 0), n.push(0, 0, 0), s.push(a.r, a.g, a.b), s.push(c.r, c.g, c.b));
|
|
8013
8013
|
}
|
|
8014
|
-
i.addAttribute("position", new Et(n, 3)), i.addAttribute("color", new Et(s, 3)), n = new
|
|
8014
|
+
i.addAttribute("position", new Et(n, 3)), i.addAttribute("color", new Et(s, 3)), n = new zi({
|
|
8015
8015
|
vertexColors: 2,
|
|
8016
8016
|
depthTest: !1,
|
|
8017
8017
|
depthWrite: !1,
|
|
@@ -8022,7 +8022,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8022
8022
|
this.light = t, this.light.updateMatrixWorld(), this.color = i, t = new Er(e, 4, 2), e = new Ge({ wireframe: !0, fog: !1 }), pi.call(this, t, e), this.matrix = this.light.matrixWorld, this.matrixAutoUpdate = !1, this.update();
|
|
8023
8023
|
}
|
|
8024
8024
|
function va(t, e) {
|
|
8025
|
-
N.call(this), this.light = t, this.light.updateMatrixWorld(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.color = e, t = new
|
|
8025
|
+
N.call(this), this.light = t, this.light.updateMatrixWorld(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.color = e, t = new zi({ fog: !1 }), e = new Ft(), e.addAttribute("position", new J(new Float32Array(15), 3)), this.line = new Vi(e, t), this.add(this.line), this.update();
|
|
8026
8026
|
}
|
|
8027
8027
|
function _a(t, e, i) {
|
|
8028
8028
|
N.call(this), this.light = t, this.light.updateMatrixWorld(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.color = i, t = new fo(e), t.rotateY(0.5 * Math.PI), this.material = new Ge({ wireframe: !0, fog: !1 }), this.color === void 0 && (this.material.vertexColors = 2), e = t.getAttribute("position"), e = new Float32Array(3 * e.count), t.addAttribute("color", new J(e, 3)), this.add(new pi(t, this.material)), this.update();
|
|
@@ -8036,7 +8036,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8036
8036
|
var P = v === s ? i : n;
|
|
8037
8037
|
P.toArray(f, y), y += 3, P.toArray(f, y), y += 3, P.toArray(f, y), y += 3, P.toArray(f, y), y += 3;
|
|
8038
8038
|
}
|
|
8039
|
-
e = new Ft(), e.addAttribute("position", new Et(t, 3)), e.addAttribute("color", new Et(f, 3)), i = new
|
|
8039
|
+
e = new Ft(), e.addAttribute("position", new Et(t, 3)), e.addAttribute("color", new Et(f, 3)), i = new zi({ vertexColors: 2 }), mi.call(this, e, i);
|
|
8040
8040
|
}
|
|
8041
8041
|
function Vl(t, e, i, n, s, a) {
|
|
8042
8042
|
t = t || 10, e = e || 16, i = i || 8, n = n || 64, s = new L(s !== void 0 ? s : 4473924), a = new L(a !== void 0 ? a : 8947848);
|
|
@@ -8053,18 +8053,18 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8053
8053
|
for (e = 0; e < n; e++)
|
|
8054
8054
|
y = e / n * 2 * Math.PI, A = Math.sin(y) * k, y = Math.cos(y) * k, c.push(A, 0, y), f.push(P.r, P.g, P.b), y = (e + 1) / n * 2 * Math.PI, A = Math.sin(y) * k, y = Math.cos(y) * k, c.push(A, 0, y), f.push(P.r, P.g, P.b);
|
|
8055
8055
|
}
|
|
8056
|
-
t = new Ft(), t.addAttribute("position", new Et(c, 3)), t.addAttribute("color", new Et(f, 3)), c = new
|
|
8056
|
+
t = new Ft(), t.addAttribute("position", new Et(c, 3)), t.addAttribute("color", new Et(f, 3)), c = new zi({ vertexColors: 2 }), mi.call(this, t, c);
|
|
8057
8057
|
}
|
|
8058
8058
|
function nl(t, e, i, n) {
|
|
8059
8059
|
this.object = t, this.size = e !== void 0 ? e : 1, t = i !== void 0 ? i : 16776960, n = n !== void 0 ? n : 1, e = 0, (i = this.object.geometry) && i.isGeometry ? e = i.faces.length : console.warn(
|
|
8060
8060
|
"THREE.FaceNormalsHelper: only THREE.Geometry is supported. Use THREE.VertexNormalsHelper, instead."
|
|
8061
|
-
), i = new Ft(), e = new Et(6 * e, 3), i.addAttribute("position", e), mi.call(this, i, new
|
|
8061
|
+
), i = new Ft(), e = new Et(6 * e, 3), i.addAttribute("position", e), mi.call(this, i, new zi({ color: t, linewidth: n })), this.matrixAutoUpdate = !1, this.update();
|
|
8062
8062
|
}
|
|
8063
8063
|
function lr(t, e, i) {
|
|
8064
8064
|
N.call(this), this.light = t, this.light.updateMatrixWorld(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.color = i, e === void 0 && (e = 1), t = new Ft(), t.addAttribute(
|
|
8065
8065
|
"position",
|
|
8066
8066
|
new Et([-e, e, 0, e, e, 0, e, -e, 0, -e, -e, 0, -e, e, 0], 3)
|
|
8067
|
-
), e = new
|
|
8067
|
+
), e = new zi({ fog: !1 }), this.lightPlane = new Vi(t, e), this.add(this.lightPlane), t = new Ft(), t.addAttribute("position", new Et([0, 0, 0, 0, 0, 1], 3)), this.targetLine = new Vi(t, e), this.add(this.targetLine), this.update();
|
|
8068
8068
|
}
|
|
8069
8069
|
function rl(t) {
|
|
8070
8070
|
function e(H, q, K) {
|
|
@@ -8073,7 +8073,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8073
8073
|
function i(H, q) {
|
|
8074
8074
|
a.push(0, 0, 0), c.push(q.r, q.g, q.b), f[H] === void 0 && (f[H] = []), f[H].push(a.length / 3 - 1);
|
|
8075
8075
|
}
|
|
8076
|
-
var n = new Ft(), s = new
|
|
8076
|
+
var n = new Ft(), s = new zi({ color: 16777215, vertexColors: 1 }), a = [], c = [], f = {}, v = new L(16755200), y = new L(16711680), A = new L(43775), P = new L(16777215), k = new L(3355443);
|
|
8077
8077
|
e("n1", "n2", v), e("n2", "n4", v), e("n4", "n3", v), e("n3", "n1", v), e("f1", "f2", v), e("f2", "f4", v), e("f4", "f3", v), e("f3", "f1", v), e("n1", "f1", v), e("n2", "f2", v), e("n3", "f3", v), e("n4", "f4", v), e("p", "n1", y), e("p", "n2", y), e("p", "n3", y), e("p", "n4", y), e("u1", "u2", A), e("u2", "u3", A), e("u3", "u1", A), e("c", "t", P), e("p", "c", k), e("cn1", "cn2", k), e("cn3", "cn4", k), e("cf1", "cf2", k), e("cf3", "cf4", k), n.addAttribute("position", new Et(a, 3)), n.addAttribute("color", new Et(c, 3)), mi.call(this, n, s), this.camera = t, this.camera.updateProjectionMatrix && this.camera.updateProjectionMatrix(), this.matrix = t.matrixWorld, this.matrixAutoUpdate = !1, this.pointMap = f, this.update();
|
|
8078
8078
|
}
|
|
8079
8079
|
function Is(t, e) {
|
|
@@ -8104,7 +8104,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8104
8104
|
7
|
|
8105
8105
|
]);
|
|
8106
8106
|
var i = new Float32Array(24), n = new Ft();
|
|
8107
|
-
n.setIndex(new J(t, 1)), n.addAttribute("position", new J(i, 3)), mi.call(this, n, new
|
|
8107
|
+
n.setIndex(new J(t, 1)), n.addAttribute("position", new J(i, 3)), mi.call(this, n, new zi({ color: e })), this.matrixAutoUpdate = !1, this.update();
|
|
8108
8108
|
}
|
|
8109
8109
|
function sl(t, e) {
|
|
8110
8110
|
this.type = "Box3Helper", this.box = t, t = e !== void 0 ? e : 16776960, e = new Uint16Array([
|
|
@@ -8165,7 +8165,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8165
8165
|
],
|
|
8166
8166
|
3
|
|
8167
8167
|
)
|
|
8168
|
-
), mi.call(this, i, new
|
|
8168
|
+
), mi.call(this, i, new zi({ color: t })), this.geometry.computeBoundingSphere();
|
|
8169
8169
|
}
|
|
8170
8170
|
function ol(t, e, i) {
|
|
8171
8171
|
this.type = "PlaneHelper", this.plane = t, this.size = e === void 0 ? 1 : e, t = i !== void 0 ? i : 16776960, e = new Ft(), e.addAttribute(
|
|
@@ -8205,7 +8205,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8205
8205
|
],
|
|
8206
8206
|
3
|
|
8207
8207
|
)
|
|
8208
|
-
), e.computeBoundingSphere(), Vi.call(this, e, new
|
|
8208
|
+
), e.computeBoundingSphere(), Vi.call(this, e, new zi({ color: t })), e = new Ft(), e.addAttribute(
|
|
8209
8209
|
"position",
|
|
8210
8210
|
new Et([1, 1, 1, -1, 1, 1, -1, -1, 1, 1, 1, 1, -1, -1, 1, 1, -1, 1], 3)
|
|
8211
8211
|
), e.computeBoundingSphere(), this.add(
|
|
@@ -8216,7 +8216,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8216
8216
|
);
|
|
8217
8217
|
}
|
|
8218
8218
|
function Ds(t, e, i, n, s, a) {
|
|
8219
|
-
N.call(this), t === void 0 && (t = new THREE.Vector3(0, 0, 1)), e === void 0 && (e = new THREE.Vector3(0, 0, 0)), i === void 0 && (i = 1), n === void 0 && (n = 16776960), s === void 0 && (s = 0.2 * i), a === void 0 && (a = 0.2 * s), Zl === void 0 && (Zl = new Ft(), Zl.addAttribute("position", new Et([0, 0, 0, 0, 1, 0], 3)), ul = new Ls(0, 0.5, 1, 5, 1), ul.translate(0, -0.5, 0)), this.position.copy(e), this.line = new Vi(Zl, new
|
|
8219
|
+
N.call(this), t === void 0 && (t = new THREE.Vector3(0, 0, 1)), e === void 0 && (e = new THREE.Vector3(0, 0, 0)), i === void 0 && (i = 1), n === void 0 && (n = 16776960), s === void 0 && (s = 0.2 * i), a === void 0 && (a = 0.2 * s), Zl === void 0 && (Zl = new Ft(), Zl.addAttribute("position", new Et([0, 0, 0, 0, 1, 0], 3)), ul = new Ls(0, 0.5, 1, 5, 1), ul.translate(0, -0.5, 0)), this.position.copy(e), this.line = new Vi(Zl, new zi({ color: n })), this.line.matrixAutoUpdate = !1, this.add(this.line), this.cone = new pi(ul, new Ge({ color: n })), this.cone.matrixAutoUpdate = !1, this.add(this.cone), this.setDirection(t), this.setLength(i, s, a);
|
|
8220
8220
|
}
|
|
8221
8221
|
function vr(t) {
|
|
8222
8222
|
t = t || 1;
|
|
@@ -8224,7 +8224,7 @@ const k_ = { class: "bim_background_plate" }, B_ = { class: "content" }, N_ = /*
|
|
|
8224
8224
|
t = new Ft(), t.addAttribute("position", new Et(e, 3)), t.addAttribute(
|
|
8225
8225
|
"color",
|
|
8226
8226
|
new Et([1, 0, 0, 1, 0.6, 0, 0, 1, 0, 0.6, 1, 0, 0, 0, 1, 0, 0.6, 1], 3)
|
|
8227
|
-
), e = new
|
|
8227
|
+
), e = new zi({ vertexColors: 2 }), mi.call(this, t, e);
|
|
8228
8228
|
}
|
|
8229
8229
|
function hu(t) {
|
|
8230
8230
|
console.warn(
|
|
@@ -13917,7 +13917,7 @@ void main() {
|
|
|
13917
13917
|
clone: function() {
|
|
13918
13918
|
return new this.constructor(this.array, this.itemSize).copy(this);
|
|
13919
13919
|
}
|
|
13920
|
-
}), $.prototype = Object.create(J.prototype), $.prototype.constructor = $, ct.prototype = Object.create(J.prototype), ct.prototype.constructor = ct, It.prototype = Object.create(J.prototype), It.prototype.constructor = It, et.prototype = Object.create(J.prototype), et.prototype.constructor = et, yt.prototype = Object.create(J.prototype), yt.prototype.constructor = yt, G.prototype = Object.create(J.prototype), G.prototype.constructor = G, Pt.prototype = Object.create(J.prototype), Pt.prototype.constructor = Pt, Et.prototype = Object.create(J.prototype), Et.prototype.constructor = Et, Ct.prototype = Object.create(J.prototype), Ct.prototype.constructor = Ct, Object.assign(
|
|
13920
|
+
}), $.prototype = Object.create(J.prototype), $.prototype.constructor = $, ct.prototype = Object.create(J.prototype), ct.prototype.constructor = ct, It.prototype = Object.create(J.prototype), It.prototype.constructor = It, et.prototype = Object.create(J.prototype), et.prototype.constructor = et, yt.prototype = Object.create(J.prototype), yt.prototype.constructor = yt, G.prototype = Object.create(J.prototype), G.prototype.constructor = G, Pt.prototype = Object.create(J.prototype), Pt.prototype.constructor = Pt, Et.prototype = Object.create(J.prototype), Et.prototype.constructor = Et, Ct.prototype = Object.create(J.prototype), Ct.prototype.constructor = Ct, Object.assign(fe.prototype, {
|
|
13921
13921
|
computeGroups: function(t) {
|
|
13922
13922
|
var e = [], i = void 0;
|
|
13923
13923
|
t = t.faces;
|
|
@@ -14078,7 +14078,7 @@ void main() {
|
|
|
14078
14078
|
return e.verticesNeedUpdate === !0 && (i = this.attributes.position, i !== void 0 && (i.copyVector3sArray(e.vertices), i.needsUpdate = !0), e.verticesNeedUpdate = !1), e.normalsNeedUpdate === !0 && (i = this.attributes.normal, i !== void 0 && (i.copyVector3sArray(e.normals), i.needsUpdate = !0), e.normalsNeedUpdate = !1), e.colorsNeedUpdate === !0 && (i = this.attributes.color, i !== void 0 && (i.copyColorsArray(e.colors), i.needsUpdate = !0), e.colorsNeedUpdate = !1), e.uvsNeedUpdate && (i = this.attributes.uv, i !== void 0 && (i.copyVector2sArray(e.uvs), i.needsUpdate = !0), e.uvsNeedUpdate = !1), e.lineDistancesNeedUpdate && (i = this.attributes.lineDistance, i !== void 0 && (i.copyArray(e.lineDistances), i.needsUpdate = !0), e.lineDistancesNeedUpdate = !1), e.groupsNeedUpdate && (e.computeGroups(t.geometry), this.groups = e.groups, e.groupsNeedUpdate = !1), this;
|
|
14079
14079
|
},
|
|
14080
14080
|
fromGeometry: function(t) {
|
|
14081
|
-
return t.__directGeometry = new
|
|
14081
|
+
return t.__directGeometry = new fe().fromGeometry(t), this.fromDirectGeometry(t.__directGeometry);
|
|
14082
14082
|
},
|
|
14083
14083
|
fromDirectGeometry: function(t) {
|
|
14084
14084
|
var e = new Float32Array(3 * t.vertices.length);
|
|
@@ -14245,7 +14245,7 @@ void main() {
|
|
|
14245
14245
|
dispose: function() {
|
|
14246
14246
|
this.dispatchEvent({ type: "dispose" });
|
|
14247
14247
|
}
|
|
14248
|
-
}), Ot.prototype = Object.create(j.prototype), Ot.prototype.constructor = Ot, Bt.prototype = Object.create(Ft.prototype), Bt.prototype.constructor = Bt, ke.prototype = Object.create(j.prototype), ke.prototype.constructor = ke,
|
|
14248
|
+
}), Ot.prototype = Object.create(j.prototype), Ot.prototype.constructor = Ot, Bt.prototype = Object.create(Ft.prototype), Bt.prototype.constructor = Bt, ke.prototype = Object.create(j.prototype), ke.prototype.constructor = ke, ce.prototype = Object.create(Ft.prototype), ce.prototype.constructor = ce;
|
|
14249
14249
|
var cu = 0;
|
|
14250
14250
|
Yt.prototype = Object.assign(Object.create(l.prototype), {
|
|
14251
14251
|
constructor: Yt,
|
|
@@ -14307,9 +14307,9 @@ void main() {
|
|
|
14307
14307
|
dispose: function() {
|
|
14308
14308
|
this.dispatchEvent({ type: "dispose" });
|
|
14309
14309
|
}
|
|
14310
|
-
}),
|
|
14310
|
+
}), $e.prototype = Object.create(Yt.prototype), $e.prototype.constructor = $e, $e.prototype.isShaderMaterial = !0, $e.prototype.copy = function(t) {
|
|
14311
14311
|
return Yt.prototype.copy.call(this, t), this.fragmentShader = t.fragmentShader, this.vertexShader = t.vertexShader, this.uniforms = Dn.clone(t.uniforms), this.defines = Object.assign({}, t.defines), this.wireframe = t.wireframe, this.wireframeLinewidth = t.wireframeLinewidth, this.lights = t.lights, this.clipping = t.clipping, this.skinning = t.skinning, this.morphTargets = t.morphTargets, this.morphNormals = t.morphNormals, this.extensions = t.extensions, this;
|
|
14312
|
-
},
|
|
14312
|
+
}, $e.prototype.toJSON = function(t) {
|
|
14313
14313
|
var e = Yt.prototype.toJSON.call(this, t);
|
|
14314
14314
|
e.uniforms = {};
|
|
14315
14315
|
for (var i in this.uniforms) {
|
|
@@ -14317,7 +14317,7 @@ void main() {
|
|
|
14317
14317
|
e.uniforms[i] = n.isTexture ? { type: "t", value: n.toJSON(t).uuid } : n.isColor ? { type: "c", value: n.getHex() } : n.isVector2 ? { type: "v2", value: n.toArray() } : n.isVector3 ? { type: "v3", value: n.toArray() } : n.isVector4 ? { type: "v4", value: n.toArray() } : n.isMatrix4 ? { type: "m4", value: n.toArray() } : { value: n };
|
|
14318
14318
|
}
|
|
14319
14319
|
return 0 < Object.keys(this.defines).length && (e.defines = this.defines), e.vertexShader = this.vertexShader, e.fragmentShader = this.fragmentShader, e;
|
|
14320
|
-
}, Object.assign(
|
|
14320
|
+
}, Object.assign(Li.prototype, {
|
|
14321
14321
|
set: function(t, e) {
|
|
14322
14322
|
return this.origin.copy(t), this.direction.copy(e), this;
|
|
14323
14323
|
},
|
|
@@ -14565,7 +14565,7 @@ void main() {
|
|
|
14565
14565
|
function e(rt, xt, gt, At, wt, Vt, Z, st, zt) {
|
|
14566
14566
|
return a.fromBufferAttribute(wt, Z), c.fromBufferAttribute(wt, st), f.fromBufferAttribute(wt, zt), (rt = t(rt, xt, gt, At, a, c, f, q)) && (Vt && (P.fromBufferAttribute(Vt, Z), k.fromBufferAttribute(Vt, st), H.fromBufferAttribute(Vt, zt), rt.uv = Oe.getUV(q, a, c, f, P, k, H, new o())), Vt = new R(Z, st, zt), Oe.getNormal(a, c, f, Vt.normal), rt.face = Vt), rt;
|
|
14567
14567
|
}
|
|
14568
|
-
var i = new p(), n = new
|
|
14568
|
+
var i = new p(), n = new Li(), s = new I(), a = new u(), c = new u(), f = new u(), v = new u(), y = new u(), A = new u(), P = new o(), k = new o(), H = new o(), q = new u(), K = new u();
|
|
14569
14569
|
return function(rt, xt) {
|
|
14570
14570
|
var gt = this.geometry, At = this.material, wt = this.matrixWorld;
|
|
14571
14571
|
if (At !== void 0 && (gt.boundingSphere === null && gt.computeBoundingSphere(), s.copy(gt.boundingSphere), s.applyMatrix4(wt), rt.ray.intersectsSphere(s) !== !1 && (i.getInverse(wt), n.copy(rt.ray).applyMatrix4(i), gt.boundingBox === null || n.intersectsBox(gt.boundingBox) !== !1))) {
|
|
@@ -14604,7 +14604,7 @@ void main() {
|
|
|
14604
14604
|
be = gt.morphTargets;
|
|
14605
14605
|
var ae = this.morphTargetInfluences;
|
|
14606
14606
|
a.set(0, 0, 0), c.set(0, 0, 0), f.set(0, 0, 0);
|
|
14607
|
-
for (var We = 0,
|
|
14607
|
+
for (var We = 0, Qe = be.length; We < Qe; We++) {
|
|
14608
14608
|
var ci = ae[We];
|
|
14609
14609
|
if (ci !== 0) {
|
|
14610
14610
|
var Sn = be[We].vertices;
|
|
@@ -14762,11 +14762,11 @@ void main() {
|
|
|
14762
14762
|
var e = N.prototype.toJSON.call(this, t);
|
|
14763
14763
|
return this.background !== null && (e.object.background = this.background.toJSON(t)), this.fog !== null && (e.object.fog = this.fog.toJSON()), e;
|
|
14764
14764
|
}
|
|
14765
|
-
}), Object.defineProperty(
|
|
14765
|
+
}), Object.defineProperty(Ii.prototype, "needsUpdate", {
|
|
14766
14766
|
set: function(t) {
|
|
14767
14767
|
t === !0 && this.version++;
|
|
14768
14768
|
}
|
|
14769
|
-
}), Object.assign(
|
|
14769
|
+
}), Object.assign(Ii.prototype, {
|
|
14770
14770
|
isInterleavedBuffer: !0,
|
|
14771
14771
|
onUploadCallback: function() {
|
|
14772
14772
|
},
|
|
@@ -14798,7 +14798,7 @@ void main() {
|
|
|
14798
14798
|
onUpload: function(t) {
|
|
14799
14799
|
return this.onUploadCallback = t, this;
|
|
14800
14800
|
}
|
|
14801
|
-
}), Object.defineProperties(
|
|
14801
|
+
}), Object.defineProperties(Di.prototype, {
|
|
14802
14802
|
count: {
|
|
14803
14803
|
get: function() {
|
|
14804
14804
|
return this.data.count;
|
|
@@ -14809,7 +14809,7 @@ void main() {
|
|
|
14809
14809
|
return this.data.array;
|
|
14810
14810
|
}
|
|
14811
14811
|
}
|
|
14812
|
-
}), Object.assign(
|
|
14812
|
+
}), Object.assign(Di.prototype, {
|
|
14813
14813
|
isInterleavedBufferAttribute: !0,
|
|
14814
14814
|
setX: function(t, e) {
|
|
14815
14815
|
return this.data.array[t * this.data.stride + this.offset] = e, this;
|
|
@@ -15008,7 +15008,7 @@ void main() {
|
|
|
15008
15008
|
clone: function() {
|
|
15009
15009
|
return new this.constructor(this.geometry, this.material).copy(this);
|
|
15010
15010
|
}
|
|
15011
|
-
}),
|
|
15011
|
+
}), zi.prototype = Object.create(Yt.prototype), zi.prototype.constructor = zi, zi.prototype.isLineBasicMaterial = !0, zi.prototype.copy = function(t) {
|
|
15012
15012
|
return Yt.prototype.copy.call(this, t), this.color.copy(t.color), this.linewidth = t.linewidth, this.linecap = t.linecap, this.linejoin = t.linejoin, this;
|
|
15013
15013
|
}, Vi.prototype = Object.assign(Object.create(N.prototype), {
|
|
15014
15014
|
constructor: Vi,
|
|
@@ -15033,7 +15033,7 @@ void main() {
|
|
|
15033
15033
|
};
|
|
15034
15034
|
}(),
|
|
15035
15035
|
raycast: function() {
|
|
15036
|
-
var t = new p(), e = new
|
|
15036
|
+
var t = new p(), e = new Li(), i = new I();
|
|
15037
15037
|
return function(n, s) {
|
|
15038
15038
|
var a = n.linePrecision, c = this.geometry, f = this.matrixWorld;
|
|
15039
15039
|
if (c.boundingSphere === null && c.computeBoundingSphere(), i.copy(c.boundingSphere), i.applyMatrix4(f), i.radius += a, n.ray.intersectsSphere(i) !== !1) {
|
|
@@ -15116,7 +15116,7 @@ void main() {
|
|
|
15116
15116
|
constructor: $o,
|
|
15117
15117
|
isPoints: !0,
|
|
15118
15118
|
raycast: function() {
|
|
15119
|
-
var t = new p(), e = new
|
|
15119
|
+
var t = new p(), e = new Li(), i = new I();
|
|
15120
15120
|
return function(n, s) {
|
|
15121
15121
|
function a(rt, xt) {
|
|
15122
15122
|
var gt = e.distanceSqToPoint(rt);
|
|
@@ -15269,7 +15269,7 @@ void main() {
|
|
|
15269
15269
|
RingGeometry: ja,
|
|
15270
15270
|
RingBufferGeometry: _o,
|
|
15271
15271
|
PlaneGeometry: ke,
|
|
15272
|
-
PlaneBufferGeometry:
|
|
15272
|
+
PlaneBufferGeometry: ce,
|
|
15273
15273
|
LatheGeometry: oa,
|
|
15274
15274
|
LatheBufferGeometry: Ws,
|
|
15275
15275
|
ShapeGeometry: Cs,
|
|
@@ -15288,7 +15288,7 @@ void main() {
|
|
|
15288
15288
|
});
|
|
15289
15289
|
qs.prototype = Object.create(Yt.prototype), qs.prototype.constructor = qs, qs.prototype.isShadowMaterial = !0, qs.prototype.copy = function(t) {
|
|
15290
15290
|
return Yt.prototype.copy.call(this, t), this.color.copy(t.color), this;
|
|
15291
|
-
}, xo.prototype = Object.create(
|
|
15291
|
+
}, xo.prototype = Object.create($e.prototype), xo.prototype.constructor = xo, xo.prototype.isRawShaderMaterial = !0, us.prototype = Object.create(Yt.prototype), us.prototype.constructor = us, us.prototype.isMeshStandardMaterial = !0, us.prototype.copy = function(t) {
|
|
15292
15292
|
return Yt.prototype.copy.call(this, t), this.defines = { STANDARD: "" }, this.color.copy(t.color), this.roughness = t.roughness, this.metalness = t.metalness, this.map = t.map, this.lightMap = t.lightMap, this.lightMapIntensity = t.lightMapIntensity, this.aoMap = t.aoMap, this.aoMapIntensity = t.aoMapIntensity, this.emissive.copy(t.emissive), this.emissiveMap = t.emissiveMap, this.emissiveIntensity = t.emissiveIntensity, this.bumpMap = t.bumpMap, this.bumpScale = t.bumpScale, this.normalMap = t.normalMap, this.normalMapType = t.normalMapType, this.normalScale.copy(t.normalScale), this.displacementMap = t.displacementMap, this.displacementScale = t.displacementScale, this.displacementBias = t.displacementBias, this.roughnessMap = t.roughnessMap, this.metalnessMap = t.metalnessMap, this.alphaMap = t.alphaMap, this.envMap = t.envMap, this.envMapIntensity = t.envMapIntensity, this.refractionRatio = t.refractionRatio, this.wireframe = t.wireframe, this.wireframeLinewidth = t.wireframeLinewidth, this.wireframeLinecap = t.wireframeLinecap, this.wireframeLinejoin = t.wireframeLinejoin, this.skinning = t.skinning, this.morphTargets = t.morphTargets, this.morphNormals = t.morphNormals, this;
|
|
15293
15293
|
}, wo.prototype = Object.create(us.prototype), wo.prototype.constructor = wo, wo.prototype.isMeshPhysicalMaterial = !0, wo.prototype.copy = function(t) {
|
|
15294
15294
|
return us.prototype.copy.call(this, t), this.defines = { PHYSICAL: "" }, this.reflectivity = t.reflectivity, this.clearCoat = t.clearCoat, this.clearCoatRoughness = t.clearCoatRoughness, this;
|
|
@@ -15302,14 +15302,14 @@ void main() {
|
|
|
15302
15302
|
return Yt.prototype.copy.call(this, t), this.color.copy(t.color), this.map = t.map, this.lightMap = t.lightMap, this.lightMapIntensity = t.lightMapIntensity, this.aoMap = t.aoMap, this.aoMapIntensity = t.aoMapIntensity, this.emissive.copy(t.emissive), this.emissiveMap = t.emissiveMap, this.emissiveIntensity = t.emissiveIntensity, this.specularMap = t.specularMap, this.alphaMap = t.alphaMap, this.envMap = t.envMap, this.combine = t.combine, this.reflectivity = t.reflectivity, this.refractionRatio = t.refractionRatio, this.wireframe = t.wireframe, this.wireframeLinewidth = t.wireframeLinewidth, this.wireframeLinecap = t.wireframeLinecap, this.wireframeLinejoin = t.wireframeLinejoin, this.skinning = t.skinning, this.morphTargets = t.morphTargets, this.morphNormals = t.morphNormals, this;
|
|
15303
15303
|
}, So.prototype = Object.create(Yt.prototype), So.prototype.constructor = So, So.prototype.isMeshMatcapMaterial = !0, So.prototype.copy = function(t) {
|
|
15304
15304
|
return Yt.prototype.copy.call(this, t), this.defines = { MATCAP: "" }, this.color.copy(t.color), this.matcap = t.matcap, this.map = t.map, this.bumpMap = t.bumpMap, this.bumpScale = t.bumpScale, this.normalMap = t.normalMap, this.normalMapType = t.normalMapType, this.normalScale.copy(t.normalScale), this.displacementMap = t.displacementMap, this.displacementScale = t.displacementScale, this.displacementBias = t.displacementBias, this.alphaMap = t.alphaMap, this.skinning = t.skinning, this.morphTargets = t.morphTargets, this.morphNormals = t.morphNormals, this;
|
|
15305
|
-
}, Eo.prototype = Object.create(
|
|
15306
|
-
return
|
|
15305
|
+
}, Eo.prototype = Object.create(zi.prototype), Eo.prototype.constructor = Eo, Eo.prototype.isLineDashedMaterial = !0, Eo.prototype.copy = function(t) {
|
|
15306
|
+
return zi.prototype.copy.call(this, t), this.scale = t.scale, this.dashSize = t.dashSize, this.gapSize = t.gapSize, this;
|
|
15307
15307
|
};
|
|
15308
15308
|
var mu = Object.freeze({
|
|
15309
15309
|
ShadowMaterial: qs,
|
|
15310
15310
|
SpriteMaterial: Ui,
|
|
15311
15311
|
RawShaderMaterial: xo,
|
|
15312
|
-
ShaderMaterial:
|
|
15312
|
+
ShaderMaterial: $e,
|
|
15313
15313
|
PointsMaterial: Bn,
|
|
15314
15314
|
MeshPhysicalMaterial: wo,
|
|
15315
15315
|
MeshStandardMaterial: us,
|
|
@@ -15322,7 +15322,7 @@ void main() {
|
|
|
15322
15322
|
MeshBasicMaterial: Ge,
|
|
15323
15323
|
MeshMatcapMaterial: So,
|
|
15324
15324
|
LineDashedMaterial: Eo,
|
|
15325
|
-
LineBasicMaterial:
|
|
15325
|
+
LineBasicMaterial: zi,
|
|
15326
15326
|
Material: Yt
|
|
15327
15327
|
}), Wn = {
|
|
15328
15328
|
arraySlice: function(t, e, i) {
|
|
@@ -16034,7 +16034,7 @@ void main() {
|
|
|
16034
16034
|
setPath: function(t) {
|
|
16035
16035
|
return this.path = t, this;
|
|
16036
16036
|
}
|
|
16037
|
-
}), Object.assign(
|
|
16037
|
+
}), Object.assign(ki.prototype, {
|
|
16038
16038
|
crossOrigin: "anonymous",
|
|
16039
16039
|
load: function(t, e, i, n) {
|
|
16040
16040
|
function s(v) {
|
|
@@ -18679,11 +18679,11 @@ void main() {
|
|
|
18679
18679
|
clone: function() {
|
|
18680
18680
|
return new this.constructor().copy(this);
|
|
18681
18681
|
}
|
|
18682
|
-
}), Th.prototype = Object.assign(Object.create(
|
|
18682
|
+
}), Th.prototype = Object.assign(Object.create(Ii.prototype), {
|
|
18683
18683
|
constructor: Th,
|
|
18684
18684
|
isInstancedInterleavedBuffer: !0,
|
|
18685
18685
|
copy: function(t) {
|
|
18686
|
-
return
|
|
18686
|
+
return Ii.prototype.copy.call(this, t), this.meshPerAttribute = t.meshPerAttribute, this;
|
|
18687
18687
|
}
|
|
18688
18688
|
}), Mh.prototype = Object.assign(Object.create(J.prototype), {
|
|
18689
18689
|
constructor: Mh,
|
|
@@ -19225,7 +19225,7 @@ void main() {
|
|
|
19225
19225
|
return console.warn(
|
|
19226
19226
|
"THREE.Quaternion: .multiplyVector3() has been removed. Use is now vector.applyQuaternion( quaternion ) instead."
|
|
19227
19227
|
), t.applyQuaternion(this);
|
|
19228
|
-
}, Object.assign(
|
|
19228
|
+
}, Object.assign(Li.prototype, {
|
|
19229
19229
|
isIntersectionBox: function(t) {
|
|
19230
19230
|
return console.warn(
|
|
19231
19231
|
"THREE.Ray: .isIntersectionBox() has been renamed to .intersectsBox()."
|
|
@@ -19658,7 +19658,7 @@ void main() {
|
|
|
19658
19658
|
);
|
|
19659
19659
|
}
|
|
19660
19660
|
}
|
|
19661
|
-
}), Object.defineProperties(
|
|
19661
|
+
}), Object.defineProperties($e.prototype, {
|
|
19662
19662
|
derivatives: {
|
|
19663
19663
|
get: function() {
|
|
19664
19664
|
return console.warn(
|
|
@@ -19974,7 +19974,7 @@ void main() {
|
|
|
19974
19974
|
console.warn(
|
|
19975
19975
|
"THREE.ImageUtils.loadTextureCube has been deprecated. Use THREE.CubeTextureLoader() instead."
|
|
19976
19976
|
);
|
|
19977
|
-
var s = new
|
|
19977
|
+
var s = new ki();
|
|
19978
19978
|
return s.setCrossOrigin(this.crossOrigin), t = s.load(t, i, void 0, n), e && (t.mapping = e), t;
|
|
19979
19979
|
}, Qs.loadCompressedTexture = function() {
|
|
19980
19980
|
console.error(
|
|
@@ -19984,7 +19984,7 @@ void main() {
|
|
|
19984
19984
|
console.error(
|
|
19985
19985
|
"THREE.ImageUtils.loadCompressedTextureCube has been removed. Use THREE.DDSLoader instead."
|
|
19986
19986
|
);
|
|
19987
|
-
}, w.WebGLRenderTargetCube = C, w.WebGLRenderTarget = S, w.WebGLRenderer = xe, w.ShaderLib = ms, w.UniformsLib = qe, w.UniformsUtils = Dn, w.ShaderChunk = Ei, w.FogExp2 = Le, w.Fog = wn, w.Scene = Hn, w.Sprite = Qi, w.LOD = tn, w.SkinnedMesh = Fi, w.Skeleton = on, w.Bone = an, w.Mesh = pi, w.LineSegments = mi, w.LineLoop = os, w.Line = Vi, w.Points = $o, w.Group = ui, w.VideoTexture = dh, w.DataTexture = z, w.DataTexture3D = Q, w.CompressedTexture = Gs, w.CubeTexture = D, w.CanvasTexture = Ba, w.DepthTexture = Na, w.Texture = _, w.AnimationLoader = Qt, w.CompressedTextureLoader = Zt, w.DataTextureLoader = Ue, w.CubeTextureLoader =
|
|
19987
|
+
}, w.WebGLRenderTargetCube = C, w.WebGLRenderTarget = S, w.WebGLRenderer = xe, w.ShaderLib = ms, w.UniformsLib = qe, w.UniformsUtils = Dn, w.ShaderChunk = Ei, w.FogExp2 = Le, w.Fog = wn, w.Scene = Hn, w.Sprite = Qi, w.LOD = tn, w.SkinnedMesh = Fi, w.Skeleton = on, w.Bone = an, w.Mesh = pi, w.LineSegments = mi, w.LineLoop = os, w.Line = Vi, w.Points = $o, w.Group = ui, w.VideoTexture = dh, w.DataTexture = z, w.DataTexture3D = Q, w.CompressedTexture = Gs, w.CubeTexture = D, w.CanvasTexture = Ba, w.DepthTexture = Na, w.Texture = _, w.AnimationLoader = Qt, w.CompressedTextureLoader = Zt, w.DataTextureLoader = Ue, w.CubeTextureLoader = ki, w.TextureLoader = ln, w.ObjectLoader = Ja, w.MaterialLoader = Fl, w.BufferGeometryLoader = vh, w.DefaultLoadingManager = Kn, w.LoadingManager = Ys, w.JSONLoader = Po, w.ImageLoader = oi, w.ImageBitmapLoader = _h, w.FontLoader = ou, w.FileLoader = Lt, w.Loader = Os, w.LoaderUtils = Do, w.Cache = vs, w.AudioLoader = pn, w.SpotLightShadow = Ya, w.SpotLight = Za, w.PointLight = Ao, w.RectAreaLight = Nl, w.HemisphereLight = qa, w.DirectionalLightShadow = Js, w.DirectionalLight = ds, w.AmbientLight = Co, w.LightShadow = ps, w.Light = $i, w.StereoCamera = Gn, w.PerspectiveCamera = ye, w.OrthographicCamera = ca, w.CubeCamera = $a, w.ArrayCamera = Fe, w.Camera = Be, w.AudioListener = Gl, w.PositionalAudio = Ka, w.AudioContext = Lh, w.AudioAnalyser = Lo, w.Audio = fa, w.VectorKeyframeTrack = ha, w.StringKeyframeTrack = Bl, w.QuaternionKeyframeTrack = la, w.NumberKeyframeTrack = jr, w.ColorKeyframeTrack = kl, w.BooleanKeyframeTrack = zl, w.PropertyMixer = Qa, w.PropertyBinding = Tn, w.KeyframeTrack = Un, w.AnimationUtils = Wn, w.AnimationObjectGroup = pa, w.AnimationMixer = $s, w.AnimationClip = gr, w.Uniform = Hl, w.InstancedBufferGeometry = wh, w.BufferGeometry = Ft, w.Geometry = j, w.InterleavedBufferAttribute = Di, w.InstancedInterleavedBuffer = Th, w.InterleavedBuffer = Ii, w.InstancedBufferAttribute = Mh, w.Face3 = R, w.Object3D = N, w.Raycaster = au, w.Layers = U, w.EventDispatcher = l, w.Clock = xh, w.QuaternionLinearInterpolant = ir, w.LinearInterpolant = Ar, w.DiscreteInterpolant = bo, w.CubicInterpolant = Xa, w.Interpolant = Zn, w.Triangle = Oe, w.Math = fi, w.Spherical = Sh, w.Cylindrical = it, w.Plane = F, w.Frustum = E, w.Sphere = I, w.Ray = Li, w.Matrix4 = p, w.Matrix3 = m, w.Box3 = B, w.Box2 = Ks, w.Line3 = da, w.Euler = b, w.Vector4 = T, w.Vector3 = u, w.Vector2 = o, w.Quaternion = d, w.Color = L, w.ImmediateRenderObject = Vn, w.VertexNormalsHelper = _i, w.SpotLightHelper = ma, w.SkeletonHelper = ga, w.PointLightHelper = Pr, w.RectAreaLightHelper = va, w.HemisphereLightHelper = _a, w.GridHelper = il, w.PolarGridHelper = Vl, w.FaceNormalsHelper = nl, w.DirectionalLightHelper = lr, w.CameraHelper = rl, w.BoxHelper = Is, w.Box3Helper = sl, w.PlaneHelper = ol, w.ArrowHelper = Ds, w.AxesHelper = vr, w.Shape = $n, w.Path = ar, w.ShapePath = Ul, w.Font = yh, w.CurvePath = Rs, w.Curve = Ee, w.ImageUtils = Qs, w.ShapeUtils = gs, w.WebGLUtils = He, w.WireframeGeometry = Ko, w.ParametricGeometry = Fa, w.ParametricBufferGeometry = Qo, w.TetrahedronGeometry = Ua, w.TetrahedronBufferGeometry = ta, w.OctahedronGeometry = Ga, w.OctahedronBufferGeometry = fo, w.IcosahedronGeometry = Ha, w.IcosahedronBufferGeometry = ea, w.DodecahedronGeometry = ia, w.DodecahedronBufferGeometry = na, w.PolyhedronGeometry = Wi, w.PolyhedronBufferGeometry = yi, w.TubeGeometry = fn, w.TubeBufferGeometry = Hs, w.TorusKnotGeometry = Vr, w.TorusKnotBufferGeometry = po, w.TorusGeometry = mo, w.TorusBufferGeometry = Nn, w.TextGeometry = Wa, w.TextBufferGeometry = vo, w.SphereGeometry = Vs, w.SphereBufferGeometry = Er, w.RingGeometry = ja, w.RingBufferGeometry = _o, w.PlaneGeometry = ke, w.PlaneBufferGeometry = ce, w.LatheGeometry = oa, w.LatheBufferGeometry = Ws, w.ShapeGeometry = Cs, w.ShapeBufferGeometry = js, w.ExtrudeGeometry = As, w.ExtrudeBufferGeometry = ls, w.EdgesGeometry = Xs, w.ConeGeometry = aa, w.ConeBufferGeometry = Fn, w.CylinderGeometry = Ps, w.CylinderBufferGeometry = Ls, w.CircleGeometry = yo, w.CircleBufferGeometry = hs, w.BoxGeometry = Ot, w.BoxBufferGeometry = Bt, w.ShadowMaterial = qs, w.SpriteMaterial = Ui, w.RawShaderMaterial = xo, w.ShaderMaterial = $e, w.PointsMaterial = Bn, w.MeshPhysicalMaterial = wo, w.MeshStandardMaterial = us, w.MeshPhongMaterial = Wr, w.MeshToonMaterial = To, w.MeshNormalMaterial = Mo, w.MeshLambertMaterial = br, w.MeshDepthMaterial = oe, w.MeshDistanceMaterial = te, w.MeshBasicMaterial = Ge, w.MeshMatcapMaterial = So, w.LineDashedMaterial = Eo, w.LineBasicMaterial = zi, w.Material = Yt, w.Float64BufferAttribute = Ct, w.Float32BufferAttribute = Et, w.Uint32BufferAttribute = Pt, w.Int32BufferAttribute = G, w.Uint16BufferAttribute = yt, w.Int16BufferAttribute = et, w.Uint8ClampedBufferAttribute = It, w.Uint8BufferAttribute = ct, w.Int8BufferAttribute = $, w.BufferAttribute = J, w.ArcCurve = ua, w.CatmullRomCurve3 = Pn, w.CubicBezierCurve = rr, w.CubicBezierCurve3 = wi, w.EllipseCurve = Jn, w.LineCurve = sr, w.LineCurve3 = Cr, w.QuadraticBezierCurve = or, w.QuadraticBezierCurve3 = fs, w.SplineCurve = Xr, w.REVISION = "98", w.MOUSE = { LEFT: 0, MIDDLE: 1, RIGHT: 2 }, w.CullFaceNone = 0, w.CullFaceBack = 1, w.CullFaceFront = 2, w.CullFaceFrontBack = 3, w.FrontFaceDirectionCW = 0, w.FrontFaceDirectionCCW = 1, w.BasicShadowMap = 0, w.PCFShadowMap = 1, w.PCFSoftShadowMap = 2, w.FrontSide = 0, w.BackSide = 1, w.DoubleSide = 2, w.FlatShading = 1, w.SmoothShading = 2, w.NoColors = 0, w.FaceColors = 1, w.VertexColors = 2, w.NoBlending = 0, w.NormalBlending = 1, w.AdditiveBlending = 2, w.SubtractiveBlending = 3, w.MultiplyBlending = 4, w.CustomBlending = 5, w.AddEquation = 100, w.SubtractEquation = 101, w.ReverseSubtractEquation = 102, w.MinEquation = 103, w.MaxEquation = 104, w.ZeroFactor = 200, w.OneFactor = 201, w.SrcColorFactor = 202, w.OneMinusSrcColorFactor = 203, w.SrcAlphaFactor = 204, w.OneMinusSrcAlphaFactor = 205, w.DstAlphaFactor = 206, w.OneMinusDstAlphaFactor = 207, w.DstColorFactor = 208, w.OneMinusDstColorFactor = 209, w.SrcAlphaSaturateFactor = 210, w.NeverDepth = 0, w.AlwaysDepth = 1, w.LessDepth = 2, w.LessEqualDepth = 3, w.EqualDepth = 4, w.GreaterEqualDepth = 5, w.GreaterDepth = 6, w.NotEqualDepth = 7, w.MultiplyOperation = 0, w.MixOperation = 1, w.AddOperation = 2, w.NoToneMapping = 0, w.LinearToneMapping = 1, w.ReinhardToneMapping = 2, w.Uncharted2ToneMapping = 3, w.CineonToneMapping = 4, w.UVMapping = 300, w.CubeReflectionMapping = 301, w.CubeRefractionMapping = 302, w.EquirectangularReflectionMapping = 303, w.EquirectangularRefractionMapping = 304, w.SphericalReflectionMapping = 305, w.CubeUVReflectionMapping = 306, w.CubeUVRefractionMapping = 307, w.RepeatWrapping = 1e3, w.ClampToEdgeWrapping = 1001, w.MirroredRepeatWrapping = 1002, w.NearestFilter = 1003, w.NearestMipMapNearestFilter = 1004, w.NearestMipMapLinearFilter = 1005, w.LinearFilter = 1006, w.LinearMipMapNearestFilter = 1007, w.LinearMipMapLinearFilter = 1008, w.UnsignedByteType = 1009, w.ByteType = 1010, w.ShortType = 1011, w.UnsignedShortType = 1012, w.IntType = 1013, w.UnsignedIntType = 1014, w.FloatType = 1015, w.HalfFloatType = 1016, w.UnsignedShort4444Type = 1017, w.UnsignedShort5551Type = 1018, w.UnsignedShort565Type = 1019, w.UnsignedInt248Type = 1020, w.AlphaFormat = 1021, w.RGBFormat = 1022, w.RGBAFormat = 1023, w.LuminanceFormat = 1024, w.LuminanceAlphaFormat = 1025, w.RGBEFormat = 1023, w.DepthFormat = 1026, w.DepthStencilFormat = 1027, w.RedFormat = 1028, w.RGB_S3TC_DXT1_Format = 33776, w.RGBA_S3TC_DXT1_Format = 33777, w.RGBA_S3TC_DXT3_Format = 33778, w.RGBA_S3TC_DXT5_Format = 33779, w.RGB_PVRTC_4BPPV1_Format = 35840, w.RGB_PVRTC_2BPPV1_Format = 35841, w.RGBA_PVRTC_4BPPV1_Format = 35842, w.RGBA_PVRTC_2BPPV1_Format = 35843, w.RGB_ETC1_Format = 36196, w.RGBA_ASTC_4x4_Format = 37808, w.RGBA_ASTC_5x4_Format = 37809, w.RGBA_ASTC_5x5_Format = 37810, w.RGBA_ASTC_6x5_Format = 37811, w.RGBA_ASTC_6x6_Format = 37812, w.RGBA_ASTC_8x5_Format = 37813, w.RGBA_ASTC_8x6_Format = 37814, w.RGBA_ASTC_8x8_Format = 37815, w.RGBA_ASTC_10x5_Format = 37816, w.RGBA_ASTC_10x6_Format = 37817, w.RGBA_ASTC_10x8_Format = 37818, w.RGBA_ASTC_10x10_Format = 37819, w.RGBA_ASTC_12x10_Format = 37820, w.RGBA_ASTC_12x12_Format = 37821, w.LoopOnce = 2200, w.LoopRepeat = 2201, w.LoopPingPong = 2202, w.InterpolateDiscrete = 2300, w.InterpolateLinear = 2301, w.InterpolateSmooth = 2302, w.ZeroCurvatureEnding = 2400, w.ZeroSlopeEnding = 2401, w.WrapAroundEnding = 2402, w.TrianglesDrawMode = 0, w.TriangleStripDrawMode = 1, w.TriangleFanDrawMode = 2, w.LinearEncoding = 3e3, w.sRGBEncoding = 3001, w.GammaEncoding = 3007, w.RGBEEncoding = 3002, w.LogLuvEncoding = 3003, w.RGBM7Encoding = 3004, w.RGBM16Encoding = 3005, w.RGBDEncoding = 3006, w.BasicDepthPacking = 3200, w.RGBADepthPacking = 3201, w.TangentSpaceNormalMap = 0, w.ObjectSpaceNormalMap = 1, w.CubeGeometry = Ot, w.Face4 = function(t, e, i, n, s, a, c) {
|
|
19988
19988
|
return console.warn(
|
|
19989
19989
|
"THREE.Face4 has been removed. A THREE.Face3 will be created instead."
|
|
19990
19990
|
), new R(t, e, i, s, a, c);
|
|
@@ -20067,14 +20067,14 @@ void main() {
|
|
|
20067
20067
|
"THREE.EdgesHelper has been removed. Use THREE.EdgesGeometry instead."
|
|
20068
20068
|
), new mi(
|
|
20069
20069
|
new Xs(t.geometry),
|
|
20070
|
-
new
|
|
20070
|
+
new zi({ color: e !== void 0 ? e : 16777215 })
|
|
20071
20071
|
);
|
|
20072
20072
|
}, w.WireframeHelper = function(t, e) {
|
|
20073
20073
|
return console.warn(
|
|
20074
20074
|
"THREE.WireframeHelper has been removed. Use THREE.WireframeGeometry instead."
|
|
20075
20075
|
), new mi(
|
|
20076
20076
|
new Ko(t.geometry),
|
|
20077
|
-
new
|
|
20077
|
+
new zi({ color: e !== void 0 ? e : 16777215 })
|
|
20078
20078
|
);
|
|
20079
20079
|
}, w.XHRLoader = function(t) {
|
|
20080
20080
|
return console.warn("THREE.XHRLoader has been renamed to THREE.FileLoader."), new Lt(t);
|
|
@@ -20361,7 +20361,7 @@ class c1 {
|
|
|
20361
20361
|
), !1;
|
|
20362
20362
|
if (E.indexOf("tileset.json") < 0)
|
|
20363
20363
|
return console.error("链接不完整", B), m({
|
|
20364
|
-
tite: "
|
|
20364
|
+
tite: "【模型】「" + B + "」链接地址有误",
|
|
20365
20365
|
type: "error",
|
|
20366
20366
|
id: T,
|
|
20367
20367
|
url: E
|
|
@@ -20431,7 +20431,7 @@ class c1 {
|
|
|
20431
20431
|
}), S == 0 && this.bimObliquePhotographyId.push(T), d ? window.mapClone && window.mapClone.mapEx.addLayer(this.tilesetLayer) : window.map.addLayer(this.tilesetLayer);
|
|
20432
20432
|
}).catch((U) => {
|
|
20433
20433
|
console.error("数据加载失败", B), m({
|
|
20434
|
-
tite: "
|
|
20434
|
+
tite: "【模型】「" + B + "」无法加载",
|
|
20435
20435
|
type: "error",
|
|
20436
20436
|
id: T,
|
|
20437
20437
|
url: E
|
|
@@ -20704,7 +20704,7 @@ var Bu = { exports: {} };
|
|
|
20704
20704
|
Bu.exports;
|
|
20705
20705
|
(function(w, l) {
|
|
20706
20706
|
(function() {
|
|
20707
|
-
var o, p = "4.17.21", d = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", _ = "Invalid `variable` option passed into `_.template`", T = "__lodash_hash_undefined__", S = 500, C = "__lodash_placeholder__", z = 1, B = 2, I = 4, F = 1, E = 2, L = 1, x = 2, M = 4, R = 8, b = 16, U = 32, N = 64, j = 128, J = 256, $ = 512, ct = 30, It = "...", et = 800, yt = 16, G = 1, Pt = 2, Et = 3, Ct = 1 / 0,
|
|
20707
|
+
var o, p = "4.17.21", d = 200, u = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", m = "Expected a function", _ = "Invalid `variable` option passed into `_.template`", T = "__lodash_hash_undefined__", S = 500, C = "__lodash_placeholder__", z = 1, B = 2, I = 4, F = 1, E = 2, L = 1, x = 2, M = 4, R = 8, b = 16, U = 32, N = 64, j = 128, J = 256, $ = 512, ct = 30, It = "...", et = 800, yt = 16, G = 1, Pt = 2, Et = 3, Ct = 1 / 0, fe = 9007199254740991, re = 17976931348623157e292, Ft = 0 / 0, Ot = 4294967295, Bt = Ot - 1, ke = Ot >>> 1, ce = [
|
|
20708
20708
|
["ary", j],
|
|
20709
20709
|
["bind", L],
|
|
20710
20710
|
["bindKey", x],
|
|
@@ -20714,16 +20714,16 @@ Bu.exports;
|
|
|
20714
20714
|
["partial", U],
|
|
20715
20715
|
["partialRight", N],
|
|
20716
20716
|
["rearg", J]
|
|
20717
|
-
], Yt = "[object Arguments]",
|
|
20717
|
+
], Yt = "[object Arguments]", $e = "[object Array]", Li = "[object AsyncFunction]", Oe = "[object Boolean]", Ge = "[object Date]", pi = "[object DOMException]", Ri = "[object Error]", cn = "[object Function]", Ji = "[object GeneratorFunction]", W = "[object Map]", Jt = "[object Number]", Wt = "[object Null]", pt = "[object Object]", dt = "[object Promise]", Dt = "[object Proxy]", ie = "[object RegExp]", Kt = "[object Set]", D = "[object String]", Q = "[object Symbol]", ot = "[object Undefined]", nt = "[object WeakMap]", vt = "[object WeakSet]", Gt = "[object ArrayBuffer]", Xt = "[object DataView]", jt = "[object Float32Array]", Ne = "[object Float64Array]", Re = "[object Int8Array]", ge = "[object Int16Array]", we = "[object Int32Array]", vi = "[object Uint8Array]", Mi = "[object Uint8ClampedArray]", ni = "[object Uint16Array]", Si = "[object Uint32Array]", Gr = /\b__p \+= '';/g, er = /\b(__p \+=) '' \+/g, rn = /(__e\(.*?\)|\b__t\)) \+\n'';/g, bs = /&(?:amp|lt|gt|quot|#39);/g, Oi = /[&<>"']/g, Us = RegExp(bs.source), is = RegExp(Oi.source), bl = /<%-([\s\S]+?)%>/g, xn = /<%([\s\S]+?)%>/g, Xo = /<%=([\s\S]+?)%>/g, ho = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, dr = /^\w*$/, qo = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Da = /[\\^$.*+?()[\]{}|]/g, Al = RegExp(Da.source), ns = /^\s+/, ch = /\s/, Yo = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, za = /\{\n\/\* \[wrapped with (.+)\] \*/, rs = /,? & /, ka = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, Zo = /[()=,{}\[\]\/\s]/, Jo = /\\(\\)?/g, ss = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Cl = /\w*$/, fh = /^[-+]0x[0-9a-f]+$/i, ph = /^0b[01]+$/i, uo = /^\[object .+?Constructor\]$/, co = /^0o[0-7]+$/i, Pl = /^(?:0|[1-9]\d*)$/, Ll = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Hr = /($^)/, V = /['\n\r\u2028\u2029\\]/g, tt = "\\ud800-\\udfff", lt = "\\u0300-\\u036f", at = "\\ufe20-\\ufe2f", X = "\\u20d0-\\u20ff", St = lt + at + X, ht = "\\u2700-\\u27bf", Rt = "a-z\\xdf-\\xf6\\xf8-\\xff", Ht = "\\xac\\xb1\\xd7\\xf7", kt = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Mt = "\\u2000-\\u206f", he = " \\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", oe = "A-Z\\xc0-\\xd6\\xd8-\\xde", te = "\\ufe0e\\ufe0f", _e = Ht + kt + Mt + he, ue = "['’]", je = "[" + tt + "]", He = "[" + _e + "]", ui = "[" + St + "]", Be = "\\d+", ye = "[" + ht + "]", Fe = "[" + Rt + "]", pe = "[^" + tt + _e + Be + ht + Rt + oe + "]", di = "\\ud83c[\\udffb-\\udfff]", Pe = "(?:" + ui + "|" + di + ")", xe = "[^" + tt + "]", Le = "(?:\\ud83c[\\udde6-\\uddff]){2}", wn = "[\\ud800-\\udbff][\\udc00-\\udfff]", Hn = "[" + oe + "]", Ii = "\\u200d", Di = "(?:" + Fe + "|" + pe + ")", Ui = "(?:" + Hn + "|" + pe + ")", Qi = "(?:" + ue + "(?:d|ll|m|re|s|t|ve))?", tn = "(?:" + ue + "(?:D|LL|M|RE|S|T|VE))?", on = Pe + "?", an = "[" + te + "]?", Fi = "(?:" + Ii + "(?:" + [xe, Le, wn].join("|") + ")" + an + on + ")*", zi = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Vi = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", mi = an + on + Fi, os = "(?:" + [ye, Le, wn].join("|") + ")" + mi, Bn = "(?:" + [xe + ui + "?", ui, Le, wn, je].join("|") + ")", $o = RegExp(ue, "g"), dh = RegExp(ui, "g"), Gs = RegExp(di + "(?=" + di + ")|" + Bn + mi, "g"), Ba = RegExp([
|
|
20718
20718
|
Hn + "?" + Fe + "+" + Qi + "(?=" + [He, Hn, "$"].join("|") + ")",
|
|
20719
|
-
Ui + "+" + tn + "(?=" + [He, Hn +
|
|
20720
|
-
Hn + "?" +
|
|
20719
|
+
Ui + "+" + tn + "(?=" + [He, Hn + Di, "$"].join("|") + ")",
|
|
20720
|
+
Hn + "?" + Di + "+" + Qi,
|
|
20721
20721
|
Hn + "+" + tn,
|
|
20722
20722
|
Vi,
|
|
20723
|
-
|
|
20723
|
+
zi,
|
|
20724
20724
|
Be,
|
|
20725
20725
|
os
|
|
20726
|
-
].join("|"), "g"), Na = RegExp("[" +
|
|
20726
|
+
].join("|"), "g"), Na = RegExp("[" + Ii + tt + St + te + "]"), Ko = /[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/, Fa = [
|
|
20727
20727
|
"Array",
|
|
20728
20728
|
"Buffer",
|
|
20729
20729
|
"DataView",
|
|
@@ -20755,9 +20755,9 @@ Bu.exports;
|
|
|
20755
20755
|
"parseInt",
|
|
20756
20756
|
"setTimeout"
|
|
20757
20757
|
], Qo = -1, Wi = {};
|
|
20758
|
-
Wi[jt] = Wi[Ne] = Wi[Re] = Wi[ge] = Wi[we] = Wi[vi] = Wi[Mi] = Wi[ni] = Wi[Si] = !0, Wi[Yt] = Wi[
|
|
20758
|
+
Wi[jt] = Wi[Ne] = Wi[Re] = Wi[ge] = Wi[we] = Wi[vi] = Wi[Mi] = Wi[ni] = Wi[Si] = !0, Wi[Yt] = Wi[$e] = Wi[Gt] = Wi[Oe] = Wi[Xt] = Wi[Ge] = Wi[Ri] = Wi[cn] = Wi[W] = Wi[Jt] = Wi[pt] = Wi[ie] = Wi[Kt] = Wi[D] = Wi[nt] = !1;
|
|
20759
20759
|
var yi = {};
|
|
20760
|
-
yi[Yt] = yi[
|
|
20760
|
+
yi[Yt] = yi[$e] = yi[Gt] = yi[Xt] = yi[Oe] = yi[Ge] = yi[jt] = yi[Ne] = yi[Re] = yi[ge] = yi[we] = yi[W] = yi[Jt] = yi[pt] = yi[ie] = yi[Kt] = yi[D] = yi[Q] = yi[vi] = yi[Mi] = yi[ni] = yi[Si] = !0, yi[Ri] = yi[cn] = yi[nt] = !1;
|
|
20761
20761
|
var Ua = {
|
|
20762
20762
|
// Latin-1 Supplement block.
|
|
20763
20763
|
À: "A",
|
|
@@ -20991,7 +20991,7 @@ Bu.exports;
|
|
|
20991
20991
|
return Lt.apply(Qt, Zt);
|
|
20992
20992
|
}
|
|
20993
20993
|
function Ol(Lt, Qt, Zt, Ue) {
|
|
20994
|
-
for (var oi = -1,
|
|
20994
|
+
for (var oi = -1, ki = Lt == null ? 0 : Lt.length; ++oi < ki; ) {
|
|
20995
20995
|
var ln = Lt[oi];
|
|
20996
20996
|
Qt(Ue, ln, Zt(ln), Lt);
|
|
20997
20997
|
}
|
|
@@ -21014,11 +21014,11 @@ Bu.exports;
|
|
|
21014
21014
|
return !0;
|
|
21015
21015
|
}
|
|
21016
21016
|
function Sr(Lt, Qt) {
|
|
21017
|
-
for (var Zt = -1, Ue = Lt == null ? 0 : Lt.length, oi = 0,
|
|
21017
|
+
for (var Zt = -1, Ue = Lt == null ? 0 : Lt.length, oi = 0, ki = []; ++Zt < Ue; ) {
|
|
21018
21018
|
var ln = Lt[Zt];
|
|
21019
|
-
Qt(ln, Zt, Lt) && (
|
|
21019
|
+
Qt(ln, Zt, Lt) && (ki[oi++] = ln);
|
|
21020
21020
|
}
|
|
21021
|
-
return
|
|
21021
|
+
return ki;
|
|
21022
21022
|
}
|
|
21023
21023
|
function Va(Lt, Qt) {
|
|
21024
21024
|
var Zt = Lt == null ? 0 : Lt.length;
|
|
@@ -21041,8 +21041,8 @@ Bu.exports;
|
|
|
21041
21041
|
return Lt;
|
|
21042
21042
|
}
|
|
21043
21043
|
function Dl(Lt, Qt, Zt, Ue) {
|
|
21044
|
-
var oi = -1,
|
|
21045
|
-
for (Ue &&
|
|
21044
|
+
var oi = -1, ki = Lt == null ? 0 : Lt.length;
|
|
21045
|
+
for (Ue && ki && (Zt = Lt[++oi]); ++oi < ki; )
|
|
21046
21046
|
Zt = Qt(Zt, Lt[oi], oi, Lt);
|
|
21047
21047
|
return Zt;
|
|
21048
21048
|
}
|
|
@@ -21067,22 +21067,22 @@ Bu.exports;
|
|
|
21067
21067
|
}
|
|
21068
21068
|
function vo(Lt, Qt, Zt) {
|
|
21069
21069
|
var Ue;
|
|
21070
|
-
return Zt(Lt, function(oi,
|
|
21071
|
-
if (Qt(oi,
|
|
21072
|
-
return Ue =
|
|
21070
|
+
return Zt(Lt, function(oi, ki, ln) {
|
|
21071
|
+
if (Qt(oi, ki, ln))
|
|
21072
|
+
return Ue = ki, !1;
|
|
21073
21073
|
}), Ue;
|
|
21074
21074
|
}
|
|
21075
21075
|
function Vs(Lt, Qt, Zt, Ue) {
|
|
21076
|
-
for (var oi = Lt.length,
|
|
21077
|
-
if (Qt(Lt[
|
|
21078
|
-
return
|
|
21076
|
+
for (var oi = Lt.length, ki = Zt + (Ue ? 1 : -1); Ue ? ki-- : ++ki < oi; )
|
|
21077
|
+
if (Qt(Lt[ki], ki, Lt))
|
|
21078
|
+
return ki;
|
|
21079
21079
|
return -1;
|
|
21080
21080
|
}
|
|
21081
21081
|
function Er(Lt, Qt, Zt) {
|
|
21082
21082
|
return Qt === Qt ? zl(Lt, Qt, Zt) : Vs(Lt, _o, Zt);
|
|
21083
21083
|
}
|
|
21084
21084
|
function ja(Lt, Qt, Zt, Ue) {
|
|
21085
|
-
for (var oi = Zt - 1,
|
|
21085
|
+
for (var oi = Zt - 1, ki = Lt.length; ++oi < ki; )
|
|
21086
21086
|
if (Ue(Lt[oi], Qt))
|
|
21087
21087
|
return oi;
|
|
21088
21088
|
return -1;
|
|
@@ -21105,8 +21105,8 @@ Bu.exports;
|
|
|
21105
21105
|
};
|
|
21106
21106
|
}
|
|
21107
21107
|
function js(Lt, Qt, Zt, Ue, oi) {
|
|
21108
|
-
return oi(Lt, function(
|
|
21109
|
-
Zt = Ue ? (Ue = !1,
|
|
21108
|
+
return oi(Lt, function(ki, ln, Ee) {
|
|
21109
|
+
Zt = Ue ? (Ue = !1, ki) : Qt(Zt, ki, ln, Ee);
|
|
21110
21110
|
}), Zt;
|
|
21111
21111
|
}
|
|
21112
21112
|
function ru(Lt, Qt) {
|
|
@@ -21117,8 +21117,8 @@ Bu.exports;
|
|
|
21117
21117
|
}
|
|
21118
21118
|
function Xs(Lt, Qt) {
|
|
21119
21119
|
for (var Zt, Ue = -1, oi = Lt.length; ++Ue < oi; ) {
|
|
21120
|
-
var
|
|
21121
|
-
|
|
21120
|
+
var ki = Qt(Lt[Ue]);
|
|
21121
|
+
ki !== o && (Zt = Zt === o ? ki : Zt + ki);
|
|
21122
21122
|
}
|
|
21123
21123
|
return Zt;
|
|
21124
21124
|
}
|
|
@@ -21193,11 +21193,11 @@ Bu.exports;
|
|
|
21193
21193
|
};
|
|
21194
21194
|
}
|
|
21195
21195
|
function Ar(Lt, Qt) {
|
|
21196
|
-
for (var Zt = -1, Ue = Lt.length, oi = 0,
|
|
21196
|
+
for (var Zt = -1, Ue = Lt.length, oi = 0, ki = []; ++Zt < Ue; ) {
|
|
21197
21197
|
var ln = Lt[Zt];
|
|
21198
|
-
(ln === Qt || ln === C) && (Lt[Zt] = C,
|
|
21198
|
+
(ln === Qt || ln === C) && (Lt[Zt] = C, ki[oi++] = Zt);
|
|
21199
21199
|
}
|
|
21200
|
-
return
|
|
21200
|
+
return ki;
|
|
21201
21201
|
}
|
|
21202
21202
|
function bo(Lt) {
|
|
21203
21203
|
var Qt = -1, Zt = Array(Lt.size);
|
|
@@ -21248,7 +21248,7 @@ Bu.exports;
|
|
|
21248
21248
|
}
|
|
21249
21249
|
var $u = function Lt(Qt) {
|
|
21250
21250
|
Qt = Qt == null ? fn : Ys.defaults(fn.Object(), Qt, Ys.pick(fn, Fa));
|
|
21251
|
-
var Zt = Qt.Array, Ue = Qt.Date, oi = Qt.Error,
|
|
21251
|
+
var Zt = Qt.Array, Ue = Qt.Date, oi = Qt.Error, ki = Qt.Function, ln = Qt.Math, Ee = Qt.Object, Jn = Qt.RegExp, ua = Qt.String, nr = Qt.TypeError, Pn = Zt.prototype, su = ki.prototype, cs = Ee.prototype, Zs = Qt["__core-js_shared__"], rr = su.toString, wi = cs.hasOwnProperty, sr = 0, Cr = function() {
|
|
21252
21252
|
var r = /[^.]+$/.exec(Zs && Zs.keys && Zs.keys.IE_PROTO || "");
|
|
21253
21253
|
return r ? "Symbol(src)_1." + r : "";
|
|
21254
21254
|
}(), or = cs.toString, fs = rr.call(Ee), Xr = fn._, Rs = Jn(
|
|
@@ -21356,7 +21356,7 @@ Bu.exports;
|
|
|
21356
21356
|
for (; Nt-- && ze < Je; ) {
|
|
21357
21357
|
se += h;
|
|
21358
21358
|
for (var Ti = -1, hi = r[se]; ++Ti < de; ) {
|
|
21359
|
-
var Ci = le[Ti],
|
|
21359
|
+
var Ci = le[Ti], Bi = Ci.iteratee, Zr = Ci.type, wr = Bi(hi);
|
|
21360
21360
|
if (Zr == Pt)
|
|
21361
21361
|
hi = wr;
|
|
21362
21362
|
else if (!wr) {
|
|
@@ -21754,7 +21754,7 @@ Bu.exports;
|
|
|
21754
21754
|
return r === h ? !0 : r == null || h == null || !An(r) && !An(h) ? r !== r && h !== h : c(r, h, g, O, a, Y);
|
|
21755
21755
|
}
|
|
21756
21756
|
function c(r, h, g, O, Y, ut) {
|
|
21757
|
-
var _t = gi(r), bt = gi(h), Nt = _t ?
|
|
21757
|
+
var _t = gi(r), bt = gi(h), Nt = _t ? $e : ur(r), se = bt ? $e : ur(h);
|
|
21758
21758
|
Nt = Nt == Yt ? pt : Nt, se = se == Yt ? pt : se;
|
|
21759
21759
|
var le = Nt == pt, de = se == pt, ze = Nt == se;
|
|
21760
21760
|
if (ze && Ea(r)) {
|
|
@@ -21946,7 +21946,7 @@ Bu.exports;
|
|
|
21946
21946
|
}
|
|
21947
21947
|
function be(r, h) {
|
|
21948
21948
|
var g = "";
|
|
21949
|
-
if (!r || h < 1 || h >
|
|
21949
|
+
if (!r || h < 1 || h > fe)
|
|
21950
21950
|
return g;
|
|
21951
21951
|
do
|
|
21952
21952
|
h % 2 && (g += r), h = Po(h / 2), h && (r += r);
|
|
@@ -21959,7 +21959,7 @@ Bu.exports;
|
|
|
21959
21959
|
function We(r) {
|
|
21960
21960
|
return bh(Ql(r));
|
|
21961
21961
|
}
|
|
21962
|
-
function
|
|
21962
|
+
function Qe(r, h) {
|
|
21963
21963
|
var g = Ql(r);
|
|
21964
21964
|
return wu(g, to(h, 0, g.length));
|
|
21965
21965
|
}
|
|
@@ -22031,7 +22031,7 @@ Bu.exports;
|
|
|
22031
22031
|
}
|
|
22032
22032
|
return Gn(ut, Bt);
|
|
22033
22033
|
}
|
|
22034
|
-
function
|
|
22034
|
+
function ti(r, h) {
|
|
22035
22035
|
for (var g = -1, O = r.length, Y = 0, ut = []; ++g < O; ) {
|
|
22036
22036
|
var _t = r[g], bt = h ? h(_t) : _t;
|
|
22037
22037
|
if (!g || !Ns(bt, Nt)) {
|
|
@@ -22320,7 +22320,7 @@ Bu.exports;
|
|
|
22320
22320
|
}
|
|
22321
22321
|
return Y;
|
|
22322
22322
|
}
|
|
22323
|
-
function
|
|
22323
|
+
function Ke(r) {
|
|
22324
22324
|
return function(h, g, O) {
|
|
22325
22325
|
var Y = Ee(h);
|
|
22326
22326
|
if (!Or(h)) {
|
|
@@ -22361,19 +22361,19 @@ Bu.exports;
|
|
|
22361
22361
|
function Zi(r, h, g, O, Y, ut, _t, bt, Nt, se) {
|
|
22362
22362
|
var le = h & j, de = h & L, ze = h & x, Je = h & (R | b), li = h & $, Ti = ze ? o : Ve(r);
|
|
22363
22363
|
function hi() {
|
|
22364
|
-
for (var Ci = arguments.length,
|
|
22365
|
-
|
|
22364
|
+
for (var Ci = arguments.length, Bi = Zt(Ci), Zr = Ci; Zr--; )
|
|
22365
|
+
Bi[Zr] = arguments[Zr];
|
|
22366
22366
|
if (Je)
|
|
22367
|
-
var wr = $l(hi), Jr = us(
|
|
22368
|
-
if (O && (
|
|
22369
|
-
var On = Ar(
|
|
22367
|
+
var wr = $l(hi), Jr = us(Bi, wr);
|
|
22368
|
+
if (O && (Bi = Oh(Bi, O, Y, Je)), ut && (Bi = Ih(Bi, ut, _t, Je)), Ci -= Jr, Je && Ci < se) {
|
|
22369
|
+
var On = Ar(Bi, wr);
|
|
22370
22370
|
return zh(
|
|
22371
22371
|
r,
|
|
22372
22372
|
h,
|
|
22373
22373
|
Zi,
|
|
22374
22374
|
hi.placeholder,
|
|
22375
22375
|
g,
|
|
22376
|
-
|
|
22376
|
+
Bi,
|
|
22377
22377
|
On,
|
|
22378
22378
|
bt,
|
|
22379
22379
|
Nt,
|
|
@@ -22381,7 +22381,7 @@ Bu.exports;
|
|
|
22381
22381
|
);
|
|
22382
22382
|
}
|
|
22383
22383
|
var Fs = de ? g : this, Go = ze ? Fs[r] : r;
|
|
22384
|
-
return Ci =
|
|
22384
|
+
return Ci = Bi.length, bt ? Bi = tm(Bi, bt) : li && Ci > 1 && Bi.reverse(), le && Nt < Ci && (Bi.length = Nt), this && this !== fn && this instanceof hi && (Go = Ti || Ve(Go)), Go.apply(Fs, Bi);
|
|
22385
22385
|
}
|
|
22386
22386
|
return hi;
|
|
22387
22387
|
}
|
|
@@ -22534,9 +22534,9 @@ Bu.exports;
|
|
|
22534
22534
|
break;
|
|
22535
22535
|
}
|
|
22536
22536
|
if (Je) {
|
|
22537
|
-
if (!As(h, function(Ci,
|
|
22538
|
-
if (!hs(Je,
|
|
22539
|
-
return Je.push(
|
|
22537
|
+
if (!As(h, function(Ci, Bi) {
|
|
22538
|
+
if (!hs(Je, Bi) && (li === Ci || Y(li, Ci, g, O, ut)))
|
|
22539
|
+
return Je.push(Bi);
|
|
22540
22540
|
})) {
|
|
22541
22541
|
ze = !1;
|
|
22542
22542
|
break;
|
|
@@ -22560,7 +22560,7 @@ Bu.exports;
|
|
|
22560
22560
|
case Ge:
|
|
22561
22561
|
case Jt:
|
|
22562
22562
|
return Ns(+r, +h);
|
|
22563
|
-
case
|
|
22563
|
+
case Ri:
|
|
22564
22564
|
return r.name == h.name && r.message == h.message;
|
|
22565
22565
|
case ie:
|
|
22566
22566
|
case D:
|
|
@@ -22599,10 +22599,10 @@ Bu.exports;
|
|
|
22599
22599
|
ut.set(r, h), ut.set(h, r);
|
|
22600
22600
|
for (var hi = _t; ++de < Nt; ) {
|
|
22601
22601
|
ze = bt[de];
|
|
22602
|
-
var Ci = r[ze],
|
|
22602
|
+
var Ci = r[ze], Bi = h[ze];
|
|
22603
22603
|
if (O)
|
|
22604
|
-
var Zr = _t ? O(
|
|
22605
|
-
if (!(Zr === o ? Ci ===
|
|
22604
|
+
var Zr = _t ? O(Bi, Ci, ze, h, r, ut) : O(Ci, Bi, ze, r, h, ut);
|
|
22605
|
+
if (!(Zr === o ? Ci === Bi || Y(Ci, Bi, g, O, ut) : Zr)) {
|
|
22606
22606
|
Ti = !1;
|
|
22607
22607
|
break;
|
|
22608
22608
|
}
|
|
@@ -22781,7 +22781,7 @@ Bu.exports;
|
|
|
22781
22781
|
}
|
|
22782
22782
|
function No(r, h) {
|
|
22783
22783
|
var g = typeof r;
|
|
22784
|
-
return h = h ??
|
|
22784
|
+
return h = h ?? fe, !!h && (g == "number" || g != "symbol" && Pl.test(r)) && r > -1 && r % 1 == 0 && r < h;
|
|
22785
22785
|
}
|
|
22786
22786
|
function xr(r, h, g) {
|
|
22787
22787
|
if (!vn(g))
|
|
@@ -22929,7 +22929,7 @@ Bu.exports;
|
|
|
22929
22929
|
return "";
|
|
22930
22930
|
}
|
|
22931
22931
|
function em(r, h) {
|
|
22932
|
-
return Yi(
|
|
22932
|
+
return Yi(ce, function(g) {
|
|
22933
22933
|
var O = "_." + g[0];
|
|
22934
22934
|
h & g[1] && !Va(r, O) && r.push(O);
|
|
22935
22935
|
}), r.sort();
|
|
@@ -23130,10 +23130,10 @@ Bu.exports;
|
|
|
23130
23130
|
return -1;
|
|
23131
23131
|
}
|
|
23132
23132
|
function km(r) {
|
|
23133
|
-
return r && r.length ?
|
|
23133
|
+
return r && r.length ? ti(r) : [];
|
|
23134
23134
|
}
|
|
23135
23135
|
function Bm(r, h) {
|
|
23136
|
-
return r && r.length ?
|
|
23136
|
+
return r && r.length ? ti(r, si(h, 2)) : [];
|
|
23137
23137
|
}
|
|
23138
23138
|
function Nm(r) {
|
|
23139
23139
|
var h = r == null ? 0 : r.length;
|
|
@@ -23281,7 +23281,7 @@ Bu.exports;
|
|
|
23281
23281
|
var g = gi(r) ? Sr : Lr;
|
|
23282
23282
|
return g(r, si(h, 3));
|
|
23283
23283
|
}
|
|
23284
|
-
var mg =
|
|
23284
|
+
var mg = Ke(kf), gg = Ke(Bf);
|
|
23285
23285
|
function vg(r, h) {
|
|
23286
23286
|
return Mn(Mu(r, h), 1);
|
|
23287
23287
|
}
|
|
@@ -23345,7 +23345,7 @@ Bu.exports;
|
|
|
23345
23345
|
}
|
|
23346
23346
|
function Lg(r, h, g) {
|
|
23347
23347
|
(g ? xr(r, h, g) : h === o) ? h = 1 : h = xi(h);
|
|
23348
|
-
var O = gi(r) ? ec :
|
|
23348
|
+
var O = gi(r) ? ec : Qe;
|
|
23349
23349
|
return O(r, h);
|
|
23350
23350
|
}
|
|
23351
23351
|
function Rg(r) {
|
|
@@ -23439,17 +23439,17 @@ Bu.exports;
|
|
|
23439
23439
|
function Ci() {
|
|
23440
23440
|
var On = Su();
|
|
23441
23441
|
if (hi(On))
|
|
23442
|
-
return
|
|
23442
|
+
return Bi(On);
|
|
23443
23443
|
bt = Bh(Ci, Ti(On));
|
|
23444
23444
|
}
|
|
23445
|
-
function
|
|
23445
|
+
function Bi(On) {
|
|
23446
23446
|
return bt = o, ze && O ? Je(On) : (O = Y = o, _t);
|
|
23447
23447
|
}
|
|
23448
23448
|
function Zr() {
|
|
23449
23449
|
bt !== o && bn(bt), se = 0, O = Nt = Y = bt = o;
|
|
23450
23450
|
}
|
|
23451
23451
|
function wr() {
|
|
23452
|
-
return bt === o ? _t :
|
|
23452
|
+
return bt === o ? _t : Bi(Su());
|
|
23453
23453
|
}
|
|
23454
23454
|
function Jr() {
|
|
23455
23455
|
var On = Su(), Fs = hi(On);
|
|
@@ -23622,7 +23622,7 @@ Bu.exports;
|
|
|
23622
23622
|
if (!An(r))
|
|
23623
23623
|
return !1;
|
|
23624
23624
|
var h = jn(r);
|
|
23625
|
-
return h ==
|
|
23625
|
+
return h == Ri || h == pi || typeof r.message == "string" && typeof r.name == "string" && !Nh(r);
|
|
23626
23626
|
}
|
|
23627
23627
|
function l0(r) {
|
|
23628
23628
|
return typeof r == "number" && Ul(r);
|
|
@@ -23631,13 +23631,13 @@ Bu.exports;
|
|
|
23631
23631
|
if (!vn(r))
|
|
23632
23632
|
return !1;
|
|
23633
23633
|
var h = jn(r);
|
|
23634
|
-
return h == cn || h == Ji || h ==
|
|
23634
|
+
return h == cn || h == Ji || h == Li || h == Dt;
|
|
23635
23635
|
}
|
|
23636
23636
|
function Kf(r) {
|
|
23637
23637
|
return typeof r == "number" && r == xi(r);
|
|
23638
23638
|
}
|
|
23639
23639
|
function Au(r) {
|
|
23640
|
-
return typeof r == "number" && r > -1 && r % 1 == 0 && r <=
|
|
23640
|
+
return typeof r == "number" && r > -1 && r % 1 == 0 && r <= fe;
|
|
23641
23641
|
}
|
|
23642
23642
|
function vn(r) {
|
|
23643
23643
|
var h = typeof r;
|
|
@@ -23681,7 +23681,7 @@ Bu.exports;
|
|
|
23681
23681
|
}
|
|
23682
23682
|
var gc = tu ? Fn(tu) : A;
|
|
23683
23683
|
function m0(r) {
|
|
23684
|
-
return Kf(r) && r >= -
|
|
23684
|
+
return Kf(r) && r >= -fe && r <= fe;
|
|
23685
23685
|
}
|
|
23686
23686
|
var ep = eu ? Fn(eu) : P;
|
|
23687
23687
|
function Cu(r) {
|
|
@@ -23748,7 +23748,7 @@ Bu.exports;
|
|
|
23748
23748
|
return Ln(r, Ir(r));
|
|
23749
23749
|
}
|
|
23750
23750
|
function w0(r) {
|
|
23751
|
-
return r ? to(xi(r), -
|
|
23751
|
+
return r ? to(xi(r), -fe, fe) : r === 0 ? r : 0;
|
|
23752
23752
|
}
|
|
23753
23753
|
function qi(r) {
|
|
23754
23754
|
return r == null ? "" : Ye(r);
|
|
@@ -23947,7 +23947,7 @@ Bu.exports;
|
|
|
23947
23947
|
return g -= h.length, g >= 0 && r.slice(g, Y) == h;
|
|
23948
23948
|
}
|
|
23949
23949
|
function sv(r) {
|
|
23950
|
-
return r = qi(r), r && is.test(r) ? r.replace(
|
|
23950
|
+
return r = qi(r), r && is.test(r) ? r.replace(Oi, Wr) : r;
|
|
23951
23951
|
}
|
|
23952
23952
|
function ov(r) {
|
|
23953
23953
|
return r = qi(r), r && Al.test(r) ? r.replace(Da, "\\$&") : r;
|
|
@@ -24005,13 +24005,13 @@ Bu.exports;
|
|
|
24005
24005
|
"g"
|
|
24006
24006
|
), Je = "//# sourceURL=" + (wi.call(h, "sourceURL") ? (h.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Qo + "]") + `
|
|
24007
24007
|
`;
|
|
24008
|
-
r.replace(ze, function(hi, Ci,
|
|
24009
|
-
return
|
|
24008
|
+
r.replace(ze, function(hi, Ci, Bi, Zr, wr, Jr) {
|
|
24009
|
+
return Bi || (Bi = Zr), de += r.slice(se, Jr).replace(V, To), Ci && (bt = !0, de += `' +
|
|
24010
24010
|
__e(` + Ci + `) +
|
|
24011
24011
|
'`), wr && (Nt = !0, de += `';
|
|
24012
24012
|
` + wr + `;
|
|
24013
|
-
__p += '`),
|
|
24014
|
-
((__t = (` +
|
|
24013
|
+
__p += '`), Bi && (de += `' +
|
|
24014
|
+
((__t = (` + Bi + `)) == null ? '' : __t) +
|
|
24015
24015
|
'`), se = Jr + hi.length, hi;
|
|
24016
24016
|
}), de += `';
|
|
24017
24017
|
`;
|
|
@@ -24031,7 +24031,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
24031
24031
|
`) + de + `return __p
|
|
24032
24032
|
}`;
|
|
24033
24033
|
var Ti = pp(function() {
|
|
24034
|
-
return
|
|
24034
|
+
return ki(ut, Je + "return " + de).apply(o, _t);
|
|
24035
24035
|
});
|
|
24036
24036
|
if (Ti.source = de, mc(Ti))
|
|
24037
24037
|
throw Ti;
|
|
@@ -24219,7 +24219,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
24219
24219
|
return !0;
|
|
24220
24220
|
}
|
|
24221
24221
|
function Jv(r, h) {
|
|
24222
|
-
if (r = xi(r), r < 1 || r >
|
|
24222
|
+
if (r = xi(r), r < 1 || r > fe)
|
|
24223
24223
|
return [];
|
|
24224
24224
|
var g = Ot, O = Gn(r, Ot);
|
|
24225
24225
|
h = si(h), r -= Ot;
|
|
@@ -24329,8 +24329,8 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
24329
24329
|
var g = /^(?:filter|find|map|reject)|While$/.test(h), O = /^(?:head|last)$/.test(h), Y = it[O ? "take" + (h == "last" ? "Right" : "") : h], ut = O || /^find/.test(h);
|
|
24330
24330
|
Y && (it.prototype[h] = function() {
|
|
24331
24331
|
var _t = this.__wrapped__, bt = O ? [1] : arguments, Nt = _t instanceof _i, se = bt[0], le = Nt || gi(_t), de = function(Ci) {
|
|
24332
|
-
var
|
|
24333
|
-
return O && ze ?
|
|
24332
|
+
var Bi = Y.apply(it, as([Ci], bt));
|
|
24333
|
+
return O && ze ? Bi[0] : Bi;
|
|
24334
24334
|
};
|
|
24335
24335
|
le && g && typeof se == "function" && se.length != 1 && (Nt = le = !1);
|
|
24336
24336
|
var ze = this.__chain__, Je = !!this.__actions__.length, li = ut && !ze, Ti = Nt && !Je;
|
|
@@ -24448,7 +24448,7 @@ class f1 {
|
|
|
24448
24448
|
outline: Pt,
|
|
24449
24449
|
outlineStyle: Et,
|
|
24450
24450
|
color: Ct,
|
|
24451
|
-
pixelSize:
|
|
24451
|
+
pixelSize: fe,
|
|
24452
24452
|
outlineColor: re,
|
|
24453
24453
|
outlineWidth: Ft,
|
|
24454
24454
|
classificationType: Ot
|
|
@@ -24530,7 +24530,7 @@ class f1 {
|
|
|
24530
24530
|
type: "pointP",
|
|
24531
24531
|
styleOptions: {
|
|
24532
24532
|
color: Ct,
|
|
24533
|
-
pixelSize:
|
|
24533
|
+
pixelSize: fe,
|
|
24534
24534
|
outline: Pt,
|
|
24535
24535
|
outlineColor: re,
|
|
24536
24536
|
outlineWidth: Ft,
|
|
@@ -24541,17 +24541,20 @@ class f1 {
|
|
|
24541
24541
|
});
|
|
24542
24542
|
break;
|
|
24543
24543
|
}
|
|
24544
|
-
m ? window.mapClone.mapEx.addLayer(Bt) : window.map.addLayer(Bt), Bt.bindPopup((
|
|
24545
|
-
|
|
24544
|
+
m ? window.mapClone.mapEx.addLayer(Bt) : window.map.addLayer(Bt), Bt.bindPopup((ce) => {
|
|
24545
|
+
let Yt = '<div class="bim-map-popup">';
|
|
24546
|
+
return console.log("event", ce.graphic.attr), Object.keys(ce.graphic.attr).forEach(($e, Li) => {
|
|
24547
|
+
ce.graphic.attr[$e] && (Yt += `<p><b>${$e}</b> : ${ce.graphic.attr[$e]}</p>`);
|
|
24548
|
+
}), Yt += "</div>", Yt;
|
|
24546
24549
|
});
|
|
24547
|
-
let ke = Bc.debounce((
|
|
24548
|
-
console.log("测试shp矢量加载完成"), window.dynamicMasking.add(
|
|
24550
|
+
let ke = Bc.debounce((ce) => {
|
|
24551
|
+
console.log("测试shp矢量加载完成"), window.dynamicMasking.add(ce, JSON.parse(L));
|
|
24549
24552
|
}, 500);
|
|
24550
|
-
Bt.readyPromise.then((
|
|
24551
|
-
window.dynamicMasking && ke(
|
|
24552
|
-
}).catch((
|
|
24553
|
-
console.error("测试shp矢量加载失败",
|
|
24554
|
-
tite: "
|
|
24553
|
+
Bt.readyPromise.then((ce) => {
|
|
24554
|
+
window.dynamicMasking && ke(ce), p(ce);
|
|
24555
|
+
}).catch((ce) => {
|
|
24556
|
+
console.error("测试shp矢量加载失败", ce), p({
|
|
24557
|
+
tite: "【矢量】「 " + F + "」无法加载",
|
|
24555
24558
|
type: "error",
|
|
24556
24559
|
id: I,
|
|
24557
24560
|
url: T
|
|
@@ -24559,14 +24562,14 @@ class f1 {
|
|
|
24559
24562
|
});
|
|
24560
24563
|
} else
|
|
24561
24564
|
p({
|
|
24562
|
-
tite: "
|
|
24565
|
+
tite: "【矢量】「 " + F + "」无法加载",
|
|
24563
24566
|
type: "error",
|
|
24564
24567
|
id: I,
|
|
24565
24568
|
url: T
|
|
24566
24569
|
});
|
|
24567
24570
|
}).catch((B) => {
|
|
24568
24571
|
console.error("数据有误", B), p({
|
|
24569
|
-
tite: "
|
|
24572
|
+
tite: "【矢量】「" + C + "」链接地址有误",
|
|
24570
24573
|
type: "error",
|
|
24571
24574
|
id: S,
|
|
24572
24575
|
url: T
|
|
@@ -25665,20 +25668,20 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
25665
25668
|
return L;
|
|
25666
25669
|
}
|
|
25667
25670
|
function m(I, F, E, L, x, M) {
|
|
25668
|
-
var R, b, U = I.file, N = I.compression, j = M !== S.utf8encode, J = _.transformTo("string", M(U.name)), $ = _.transformTo("string", S.utf8encode(U.name)), ct = U.comment, It = _.transformTo("string", M(ct)), et = _.transformTo("string", S.utf8encode(ct)), yt = $.length !== U.name.length, G = et.length !== ct.length, Pt = "", Et = "", Ct = "",
|
|
25671
|
+
var R, b, U = I.file, N = I.compression, j = M !== S.utf8encode, J = _.transformTo("string", M(U.name)), $ = _.transformTo("string", S.utf8encode(U.name)), ct = U.comment, It = _.transformTo("string", M(ct)), et = _.transformTo("string", S.utf8encode(ct)), yt = $.length !== U.name.length, G = et.length !== ct.length, Pt = "", Et = "", Ct = "", fe = U.dir, re = U.date, Ft = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
|
|
25669
25672
|
F && !E || (Ft.crc32 = I.crc32, Ft.compressedSize = I.compressedSize, Ft.uncompressedSize = I.uncompressedSize);
|
|
25670
25673
|
var Ot = 0;
|
|
25671
25674
|
F && (Ot |= 8), j || !yt && !G || (Ot |= 2048);
|
|
25672
25675
|
var Bt = 0, ke = 0;
|
|
25673
|
-
|
|
25674
|
-
var
|
|
25675
|
-
return Yt || (
|
|
25676
|
-
}(U.unixPermissions,
|
|
25676
|
+
fe && (Bt |= 16), x === "UNIX" ? (ke = 798, Bt |= function(Yt, $e) {
|
|
25677
|
+
var Li = Yt;
|
|
25678
|
+
return Yt || (Li = $e ? 16893 : 33204), (65535 & Li) << 16;
|
|
25679
|
+
}(U.unixPermissions, fe)) : (ke = 20, Bt |= function(Yt) {
|
|
25677
25680
|
return 63 & (Yt || 0);
|
|
25678
25681
|
}(U.dosPermissions)), R = re.getUTCHours(), R <<= 6, R |= re.getUTCMinutes(), R <<= 5, R |= re.getUTCSeconds() / 2, b = re.getUTCFullYear() - 1980, b <<= 4, b |= re.getUTCMonth() + 1, b <<= 5, b |= re.getUTCDate(), yt && (Et = u(1, 1) + u(C(J), 4) + $, Pt += "up" + u(Et.length, 2) + Et), G && (Ct = u(1, 1) + u(C(It), 4) + et, Pt += "uc" + u(Ct.length, 2) + Ct);
|
|
25679
|
-
var
|
|
25680
|
-
return
|
|
25681
|
-
\0`,
|
|
25682
|
+
var ce = "";
|
|
25683
|
+
return ce += `
|
|
25684
|
+
\0`, ce += u(Ot, 2), ce += N.magic, ce += u(R, 2), ce += u(b, 2), ce += u(Ft.crc32, 4), ce += u(Ft.compressedSize, 4), ce += u(Ft.uncompressedSize, 4), ce += u(J.length, 2), ce += u(Pt.length, 2), { fileRecord: z.LOCAL_FILE_HEADER + ce + J + Pt, dirRecord: z.CENTRAL_FILE_HEADER + u(ke, 2) + ce + u(It.length, 2) + "\0\0\0\0" + u(Bt, 4) + u(L, 4) + J + Pt + It };
|
|
25682
25685
|
}
|
|
25683
25686
|
var _ = o("../utils"), T = o("../stream/GenericWorker"), S = o("../utf8"), C = o("../crc32"), z = o("../signature");
|
|
25684
25687
|
function B(I, F, E, L) {
|
|
@@ -27041,7 +27044,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27041
27044
|
};
|
|
27042
27045
|
}, {}], 46: [function(o, p, d) {
|
|
27043
27046
|
var u, m = o("../utils/common"), _ = o("./trees"), T = o("./adler32"), S = o("./crc32"), C = o("./messages"), z = 0, B = 4, I = 0, F = -2, E = -1, L = 4, x = 2, M = 8, R = 9, b = 286, U = 30, N = 19, j = 2 * b + 1, J = 15, $ = 3, ct = 258, It = ct + $ + 1, et = 42, yt = 113, G = 1, Pt = 2, Et = 3, Ct = 4;
|
|
27044
|
-
function
|
|
27047
|
+
function fe(W, Jt) {
|
|
27045
27048
|
return W.msg = C[Jt], Jt;
|
|
27046
27049
|
}
|
|
27047
27050
|
function re(W) {
|
|
@@ -27061,7 +27064,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27061
27064
|
function ke(W, Jt) {
|
|
27062
27065
|
W.pending_buf[W.pending++] = Jt;
|
|
27063
27066
|
}
|
|
27064
|
-
function
|
|
27067
|
+
function ce(W, Jt) {
|
|
27065
27068
|
W.pending_buf[W.pending++] = Jt >>> 8 & 255, W.pending_buf[W.pending++] = 255 & Jt;
|
|
27066
27069
|
}
|
|
27067
27070
|
function Yt(W, Jt) {
|
|
@@ -27082,7 +27085,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27082
27085
|
while ((Jt = nt[Jt & ot]) > D && --dt != 0);
|
|
27083
27086
|
return ie <= W.lookahead ? ie : W.lookahead;
|
|
27084
27087
|
}
|
|
27085
|
-
function
|
|
27088
|
+
function $e(W) {
|
|
27086
27089
|
var Jt, Wt, pt, dt, Dt, ie, Kt, D, Q, ot, nt = W.w_size;
|
|
27087
27090
|
do {
|
|
27088
27091
|
if (dt = W.window_size - W.lookahead - W.strstart, W.strstart >= nt + (nt - It)) {
|
|
@@ -27099,10 +27102,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27099
27102
|
;
|
|
27100
27103
|
} while (W.lookahead < It && W.strm.avail_in !== 0);
|
|
27101
27104
|
}
|
|
27102
|
-
function
|
|
27105
|
+
function Li(W, Jt) {
|
|
27103
27106
|
for (var Wt, pt; ; ) {
|
|
27104
27107
|
if (W.lookahead < It) {
|
|
27105
|
-
if (
|
|
27108
|
+
if ($e(W), W.lookahead < It && Jt === z)
|
|
27106
27109
|
return G;
|
|
27107
27110
|
if (W.lookahead === 0)
|
|
27108
27111
|
break;
|
|
@@ -27124,7 +27127,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27124
27127
|
function Oe(W, Jt) {
|
|
27125
27128
|
for (var Wt, pt, dt; ; ) {
|
|
27126
27129
|
if (W.lookahead < It) {
|
|
27127
|
-
if (
|
|
27130
|
+
if ($e(W), W.lookahead < It && Jt === z)
|
|
27128
27131
|
return G;
|
|
27129
27132
|
if (W.lookahead === 0)
|
|
27130
27133
|
break;
|
|
@@ -27148,12 +27151,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27148
27151
|
function pi() {
|
|
27149
27152
|
this.strm = null, this.status = 0, this.pending_buf = null, this.pending_buf_size = 0, this.pending_out = 0, this.pending = 0, this.wrap = 0, this.gzhead = null, this.gzindex = 0, this.method = M, this.last_flush = -1, this.w_size = 0, this.w_bits = 0, this.w_mask = 0, this.window = null, this.window_size = 0, this.prev = null, this.head = null, this.ins_h = 0, this.hash_size = 0, this.hash_bits = 0, this.hash_mask = 0, this.hash_shift = 0, this.block_start = 0, this.match_length = 0, this.prev_match = 0, this.match_available = 0, this.strstart = 0, this.match_start = 0, this.lookahead = 0, this.prev_length = 0, this.max_chain_length = 0, this.max_lazy_match = 0, this.level = 0, this.strategy = 0, this.good_match = 0, this.nice_match = 0, this.dyn_ltree = new m.Buf16(2 * j), this.dyn_dtree = new m.Buf16(2 * (2 * U + 1)), this.bl_tree = new m.Buf16(2 * (2 * N + 1)), Ft(this.dyn_ltree), Ft(this.dyn_dtree), Ft(this.bl_tree), this.l_desc = null, this.d_desc = null, this.bl_desc = null, this.bl_count = new m.Buf16(J + 1), this.heap = new m.Buf16(2 * b + 1), Ft(this.heap), this.heap_len = 0, this.heap_max = 0, this.depth = new m.Buf16(2 * b + 1), Ft(this.depth), this.l_buf = 0, this.lit_bufsize = 0, this.last_lit = 0, this.d_buf = 0, this.opt_len = 0, this.static_len = 0, this.matches = 0, this.insert = 0, this.bi_buf = 0, this.bi_valid = 0;
|
|
27150
27153
|
}
|
|
27151
|
-
function
|
|
27154
|
+
function Ri(W) {
|
|
27152
27155
|
var Jt;
|
|
27153
|
-
return W && W.state ? (W.total_in = W.total_out = 0, W.data_type = x, (Jt = W.state).pending = 0, Jt.pending_out = 0, Jt.wrap < 0 && (Jt.wrap = -Jt.wrap), Jt.status = Jt.wrap ? et : yt, W.adler = Jt.wrap === 2 ? 0 : 1, Jt.last_flush = z, _._tr_init(Jt), I) :
|
|
27156
|
+
return W && W.state ? (W.total_in = W.total_out = 0, W.data_type = x, (Jt = W.state).pending = 0, Jt.pending_out = 0, Jt.wrap < 0 && (Jt.wrap = -Jt.wrap), Jt.status = Jt.wrap ? et : yt, W.adler = Jt.wrap === 2 ? 0 : 1, Jt.last_flush = z, _._tr_init(Jt), I) : fe(W, F);
|
|
27154
27157
|
}
|
|
27155
27158
|
function cn(W) {
|
|
27156
|
-
var Jt =
|
|
27159
|
+
var Jt = Ri(W);
|
|
27157
27160
|
return Jt === I && function(Wt) {
|
|
27158
27161
|
Wt.window_size = 2 * Wt.w_size, Ft(Wt.head), Wt.max_lazy_match = u[Wt.level].max_lazy, Wt.good_match = u[Wt.level].good_length, Wt.nice_match = u[Wt.level].nice_length, Wt.max_chain_length = u[Wt.level].max_chain, Wt.strstart = 0, Wt.block_start = 0, Wt.lookahead = 0, Wt.insert = 0, Wt.match_length = Wt.prev_length = $ - 1, Wt.match_available = 0, Wt.ins_h = 0;
|
|
27159
27162
|
}(W.state), Jt;
|
|
@@ -27163,7 +27166,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27163
27166
|
return F;
|
|
27164
27167
|
var ie = 1;
|
|
27165
27168
|
if (Jt === E && (Jt = 6), pt < 0 ? (ie = 0, pt = -pt) : 15 < pt && (ie = 2, pt -= 16), dt < 1 || R < dt || Wt !== M || pt < 8 || 15 < pt || Jt < 0 || 9 < Jt || Dt < 0 || L < Dt)
|
|
27166
|
-
return
|
|
27169
|
+
return fe(W, F);
|
|
27167
27170
|
pt === 8 && (pt = 9);
|
|
27168
27171
|
var Kt = new pi();
|
|
27169
27172
|
return (W.state = Kt).strm = W, Kt.wrap = ie, Kt.gzhead = null, Kt.w_bits = pt, Kt.w_size = 1 << Kt.w_bits, Kt.w_mask = Kt.w_size - 1, Kt.hash_bits = dt + 7, Kt.hash_size = 1 << Kt.hash_bits, Kt.hash_mask = Kt.hash_size - 1, Kt.hash_shift = ~~((Kt.hash_bits + $ - 1) / $), Kt.window = new m.Buf8(2 * Kt.w_size), Kt.head = new m.Buf16(Kt.hash_size), Kt.prev = new m.Buf16(Kt.w_size), Kt.lit_bufsize = 1 << dt + 6, Kt.pending_buf_size = 4 * Kt.lit_bufsize, Kt.pending_buf = new m.Buf8(Kt.pending_buf_size), Kt.d_buf = 1 * Kt.lit_bufsize, Kt.l_buf = 3 * Kt.lit_bufsize, Kt.level = Jt, Kt.strategy = Dt, Kt.method = Wt, cn(W);
|
|
@@ -27172,7 +27175,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27172
27175
|
var Wt = 65535;
|
|
27173
27176
|
for (Wt > W.pending_buf_size - 5 && (Wt = W.pending_buf_size - 5); ; ) {
|
|
27174
27177
|
if (W.lookahead <= 1) {
|
|
27175
|
-
if (
|
|
27178
|
+
if ($e(W), W.lookahead === 0 && Jt === z)
|
|
27176
27179
|
return G;
|
|
27177
27180
|
if (W.lookahead === 0)
|
|
27178
27181
|
break;
|
|
@@ -27183,22 +27186,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27183
27186
|
return G;
|
|
27184
27187
|
}
|
|
27185
27188
|
return W.insert = 0, Jt === B ? (Bt(W, !0), W.strm.avail_out === 0 ? Et : Ct) : (W.strstart > W.block_start && (Bt(W, !1), W.strm.avail_out), G);
|
|
27186
|
-
}), new Ge(4, 4, 8, 4,
|
|
27189
|
+
}), new Ge(4, 4, 8, 4, Li), new Ge(4, 5, 16, 8, Li), new Ge(4, 6, 32, 32, Li), new Ge(4, 4, 16, 16, Oe), new Ge(8, 16, 32, 32, Oe), new Ge(8, 16, 128, 128, Oe), new Ge(8, 32, 128, 256, Oe), new Ge(32, 128, 258, 1024, Oe), new Ge(32, 258, 258, 4096, Oe)], d.deflateInit = function(W, Jt) {
|
|
27187
27190
|
return Ji(W, Jt, M, 15, 8, 0);
|
|
27188
|
-
}, d.deflateInit2 = Ji, d.deflateReset = cn, d.deflateResetKeep =
|
|
27191
|
+
}, d.deflateInit2 = Ji, d.deflateReset = cn, d.deflateResetKeep = Ri, d.deflateSetHeader = function(W, Jt) {
|
|
27189
27192
|
return W && W.state ? W.state.wrap !== 2 ? F : (W.state.gzhead = Jt, I) : F;
|
|
27190
27193
|
}, d.deflate = function(W, Jt) {
|
|
27191
27194
|
var Wt, pt, dt, Dt;
|
|
27192
27195
|
if (!W || !W.state || 5 < Jt || Jt < 0)
|
|
27193
|
-
return W ?
|
|
27196
|
+
return W ? fe(W, F) : F;
|
|
27194
27197
|
if (pt = W.state, !W.output || !W.input && W.avail_in !== 0 || pt.status === 666 && Jt !== B)
|
|
27195
|
-
return
|
|
27198
|
+
return fe(W, W.avail_out === 0 ? -5 : F);
|
|
27196
27199
|
if (pt.strm = W, Wt = pt.last_flush, pt.last_flush = Jt, pt.status === et)
|
|
27197
27200
|
if (pt.wrap === 2)
|
|
27198
27201
|
W.adler = 0, ke(pt, 31), ke(pt, 139), ke(pt, 8), pt.gzhead ? (ke(pt, (pt.gzhead.text ? 1 : 0) + (pt.gzhead.hcrc ? 2 : 0) + (pt.gzhead.extra ? 4 : 0) + (pt.gzhead.name ? 8 : 0) + (pt.gzhead.comment ? 16 : 0)), ke(pt, 255 & pt.gzhead.time), ke(pt, pt.gzhead.time >> 8 & 255), ke(pt, pt.gzhead.time >> 16 & 255), ke(pt, pt.gzhead.time >> 24 & 255), ke(pt, pt.level === 9 ? 2 : 2 <= pt.strategy || pt.level < 2 ? 4 : 0), ke(pt, 255 & pt.gzhead.os), pt.gzhead.extra && pt.gzhead.extra.length && (ke(pt, 255 & pt.gzhead.extra.length), ke(pt, pt.gzhead.extra.length >> 8 & 255)), pt.gzhead.hcrc && (W.adler = S(W.adler, pt.pending_buf, pt.pending, 0)), pt.gzindex = 0, pt.status = 69) : (ke(pt, 0), ke(pt, 0), ke(pt, 0), ke(pt, 0), ke(pt, 0), ke(pt, pt.level === 9 ? 2 : 2 <= pt.strategy || pt.level < 2 ? 4 : 0), ke(pt, 3), pt.status = yt);
|
|
27199
27202
|
else {
|
|
27200
27203
|
var ie = M + (pt.w_bits - 8 << 4) << 8;
|
|
27201
|
-
ie |= (2 <= pt.strategy || pt.level < 2 ? 0 : pt.level < 6 ? 1 : pt.level === 6 ? 2 : 3) << 6, pt.strstart !== 0 && (ie |= 32), ie += 31 - ie % 31, pt.status = yt,
|
|
27204
|
+
ie |= (2 <= pt.strategy || pt.level < 2 ? 0 : pt.level < 6 ? 1 : pt.level === 6 ? 2 : 3) << 6, pt.strstart !== 0 && (ie |= 32), ie += 31 - ie % 31, pt.status = yt, ce(pt, ie), pt.strstart !== 0 && (ce(pt, W.adler >>> 16), ce(pt, 65535 & W.adler)), W.adler = 1;
|
|
27202
27205
|
}
|
|
27203
27206
|
if (pt.status === 69)
|
|
27204
27207
|
if (pt.gzhead.extra) {
|
|
@@ -27237,13 +27240,13 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27237
27240
|
if (Ot(W), W.avail_out === 0)
|
|
27238
27241
|
return pt.last_flush = -1, I;
|
|
27239
27242
|
} else if (W.avail_in === 0 && re(Jt) <= re(Wt) && Jt !== B)
|
|
27240
|
-
return
|
|
27243
|
+
return fe(W, -5);
|
|
27241
27244
|
if (pt.status === 666 && W.avail_in !== 0)
|
|
27242
|
-
return
|
|
27245
|
+
return fe(W, -5);
|
|
27243
27246
|
if (W.avail_in !== 0 || pt.lookahead !== 0 || Jt !== z && pt.status !== 666) {
|
|
27244
27247
|
var Kt = pt.strategy === 2 ? function(D, Q) {
|
|
27245
27248
|
for (var ot; ; ) {
|
|
27246
|
-
if (D.lookahead === 0 && (
|
|
27249
|
+
if (D.lookahead === 0 && ($e(D), D.lookahead === 0)) {
|
|
27247
27250
|
if (Q === z)
|
|
27248
27251
|
return G;
|
|
27249
27252
|
break;
|
|
@@ -27255,7 +27258,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27255
27258
|
}(pt, Jt) : pt.strategy === 3 ? function(D, Q) {
|
|
27256
27259
|
for (var ot, nt, vt, Gt, Xt = D.window; ; ) {
|
|
27257
27260
|
if (D.lookahead <= ct) {
|
|
27258
|
-
if (
|
|
27261
|
+
if ($e(D), D.lookahead <= ct && Q === z)
|
|
27259
27262
|
return G;
|
|
27260
27263
|
if (D.lookahead === 0)
|
|
27261
27264
|
break;
|
|
@@ -27277,18 +27280,18 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27277
27280
|
if (Kt === Pt && (Jt === 1 ? _._tr_align(pt) : Jt !== 5 && (_._tr_stored_block(pt, 0, 0, !1), Jt === 3 && (Ft(pt.head), pt.lookahead === 0 && (pt.strstart = 0, pt.block_start = 0, pt.insert = 0))), Ot(W), W.avail_out === 0))
|
|
27278
27281
|
return pt.last_flush = -1, I;
|
|
27279
27282
|
}
|
|
27280
|
-
return Jt !== B ? I : pt.wrap <= 0 ? 1 : (pt.wrap === 2 ? (ke(pt, 255 & W.adler), ke(pt, W.adler >> 8 & 255), ke(pt, W.adler >> 16 & 255), ke(pt, W.adler >> 24 & 255), ke(pt, 255 & W.total_in), ke(pt, W.total_in >> 8 & 255), ke(pt, W.total_in >> 16 & 255), ke(pt, W.total_in >> 24 & 255)) : (
|
|
27283
|
+
return Jt !== B ? I : pt.wrap <= 0 ? 1 : (pt.wrap === 2 ? (ke(pt, 255 & W.adler), ke(pt, W.adler >> 8 & 255), ke(pt, W.adler >> 16 & 255), ke(pt, W.adler >> 24 & 255), ke(pt, 255 & W.total_in), ke(pt, W.total_in >> 8 & 255), ke(pt, W.total_in >> 16 & 255), ke(pt, W.total_in >> 24 & 255)) : (ce(pt, W.adler >>> 16), ce(pt, 65535 & W.adler)), Ot(W), 0 < pt.wrap && (pt.wrap = -pt.wrap), pt.pending !== 0 ? I : 1);
|
|
27281
27284
|
}, d.deflateEnd = function(W) {
|
|
27282
27285
|
var Jt;
|
|
27283
|
-
return W && W.state ? (Jt = W.state.status) !== et && Jt !== 69 && Jt !== 73 && Jt !== 91 && Jt !== 103 && Jt !== yt && Jt !== 666 ?
|
|
27286
|
+
return W && W.state ? (Jt = W.state.status) !== et && Jt !== 69 && Jt !== 73 && Jt !== 91 && Jt !== 103 && Jt !== yt && Jt !== 666 ? fe(W, F) : (W.state = null, Jt === yt ? fe(W, -3) : I) : F;
|
|
27284
27287
|
}, d.deflateSetDictionary = function(W, Jt) {
|
|
27285
27288
|
var Wt, pt, dt, Dt, ie, Kt, D, Q, ot = Jt.length;
|
|
27286
27289
|
if (!W || !W.state || (Dt = (Wt = W.state).wrap) === 2 || Dt === 1 && Wt.status !== et || Wt.lookahead)
|
|
27287
27290
|
return F;
|
|
27288
|
-
for (Dt === 1 && (W.adler = T(W.adler, Jt, ot, 0)), Wt.wrap = 0, ot >= Wt.w_size && (Dt === 0 && (Ft(Wt.head), Wt.strstart = 0, Wt.block_start = 0, Wt.insert = 0), Q = new m.Buf8(Wt.w_size), m.arraySet(Q, Jt, ot - Wt.w_size, Wt.w_size, 0), Jt = Q, ot = Wt.w_size), ie = W.avail_in, Kt = W.next_in, D = W.input, W.avail_in = ot, W.next_in = 0, W.input = Jt,
|
|
27291
|
+
for (Dt === 1 && (W.adler = T(W.adler, Jt, ot, 0)), Wt.wrap = 0, ot >= Wt.w_size && (Dt === 0 && (Ft(Wt.head), Wt.strstart = 0, Wt.block_start = 0, Wt.insert = 0), Q = new m.Buf8(Wt.w_size), m.arraySet(Q, Jt, ot - Wt.w_size, Wt.w_size, 0), Jt = Q, ot = Wt.w_size), ie = W.avail_in, Kt = W.next_in, D = W.input, W.avail_in = ot, W.next_in = 0, W.input = Jt, $e(Wt); Wt.lookahead >= $; ) {
|
|
27289
27292
|
for (pt = Wt.strstart, dt = Wt.lookahead - ($ - 1); Wt.ins_h = (Wt.ins_h << Wt.hash_shift ^ Wt.window[pt + $ - 1]) & Wt.hash_mask, Wt.prev[pt & Wt.w_mask] = Wt.head[Wt.ins_h], Wt.head[Wt.ins_h] = pt, pt++, --dt; )
|
|
27290
27293
|
;
|
|
27291
|
-
Wt.strstart = pt, Wt.lookahead = $ - 1,
|
|
27294
|
+
Wt.strstart = pt, Wt.lookahead = $ - 1, $e(Wt);
|
|
27292
27295
|
}
|
|
27293
27296
|
return Wt.strstart += Wt.lookahead, Wt.block_start = Wt.strstart, Wt.insert = Wt.lookahead, Wt.lookahead = 0, Wt.match_length = Wt.prev_length = $ - 1, Wt.match_available = 0, W.next_in = Kt, W.input = D, W.avail_in = ie, Wt.wrap = Dt, I;
|
|
27294
27297
|
}, d.deflateInfo = "pako deflate (from Nodeca project)";
|
|
@@ -27426,10 +27429,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27426
27429
|
d.inflateReset = b, d.inflateReset2 = U, d.inflateResetKeep = R, d.inflateInit = function(et) {
|
|
27427
27430
|
return N(et, 15);
|
|
27428
27431
|
}, d.inflateInit2 = N, d.inflate = function(et, yt) {
|
|
27429
|
-
var G, Pt, Et, Ct,
|
|
27432
|
+
var G, Pt, Et, Ct, fe, re, Ft, Ot, Bt, ke, ce, Yt, $e, Li, Oe, Ge, pi, Ri, cn, Ji, W, Jt, Wt, pt, dt = 0, Dt = new u.Buf8(4), ie = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
|
|
27430
27433
|
if (!et || !et.state || !et.output || !et.input && et.avail_in !== 0)
|
|
27431
27434
|
return I;
|
|
27432
|
-
(G = et.state).mode === 12 && (G.mode = 13),
|
|
27435
|
+
(G = et.state).mode === 12 && (G.mode = 13), fe = et.next_out, Et = et.output, Ft = et.avail_out, Ct = et.next_in, Pt = et.input, re = et.avail_in, Ot = G.hold, Bt = G.bits, ke = re, ce = Ft, Jt = B;
|
|
27433
27436
|
t:
|
|
27434
27437
|
for (; ; )
|
|
27435
27438
|
switch (G.mode) {
|
|
@@ -27553,7 +27556,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27553
27556
|
et.adler = G.check = x(Ot), Bt = Ot = 0, G.mode = 11;
|
|
27554
27557
|
case 11:
|
|
27555
27558
|
if (G.havedict === 0)
|
|
27556
|
-
return et.next_out =
|
|
27559
|
+
return et.next_out = fe, et.avail_out = Ft, et.next_in = Ct, et.avail_in = re, G.hold = Ot, G.bits = Bt, 2;
|
|
27557
27560
|
et.adler = G.check = 1, G.mode = 12;
|
|
27558
27561
|
case 12:
|
|
27559
27562
|
if (yt === 5 || yt === 6)
|
|
@@ -27603,7 +27606,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27603
27606
|
if (Yt = G.length) {
|
|
27604
27607
|
if (re < Yt && (Yt = re), Ft < Yt && (Yt = Ft), Yt === 0)
|
|
27605
27608
|
break t;
|
|
27606
|
-
u.arraySet(Et, Pt, Ct, Yt,
|
|
27609
|
+
u.arraySet(Et, Pt, Ct, Yt, fe), re -= Yt, Ct += Yt, Ft -= Yt, fe += Yt, G.length -= Yt;
|
|
27607
27610
|
break;
|
|
27608
27611
|
}
|
|
27609
27612
|
G.mode = 12;
|
|
@@ -27699,7 +27702,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27699
27702
|
G.mode = 21;
|
|
27700
27703
|
case 21:
|
|
27701
27704
|
if (6 <= re && 258 <= Ft) {
|
|
27702
|
-
et.next_out =
|
|
27705
|
+
et.next_out = fe, et.avail_out = Ft, et.next_in = Ct, et.avail_in = re, G.hold = Ot, G.bits = Bt, T(et, ce), fe = et.next_out, Et = et.output, Ft = et.avail_out, Ct = et.next_in, Pt = et.input, re = et.avail_in, Ot = G.hold, Bt = G.bits, G.mode === 12 && (G.back = -1);
|
|
27703
27706
|
break;
|
|
27704
27707
|
}
|
|
27705
27708
|
for (G.back = 0; Ge = (dt = G.lencode[Ot & (1 << G.lenbits) - 1]) >>> 16 & 255, pi = 65535 & dt, !((Oe = dt >>> 24) <= Bt); ) {
|
|
@@ -27708,12 +27711,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27708
27711
|
re--, Ot += Pt[Ct++] << Bt, Bt += 8;
|
|
27709
27712
|
}
|
|
27710
27713
|
if (Ge && !(240 & Ge)) {
|
|
27711
|
-
for (
|
|
27714
|
+
for (Ri = Oe, cn = Ge, Ji = pi; Ge = (dt = G.lencode[Ji + ((Ot & (1 << Ri + cn) - 1) >> Ri)]) >>> 16 & 255, pi = 65535 & dt, !(Ri + (Oe = dt >>> 24) <= Bt); ) {
|
|
27712
27715
|
if (re === 0)
|
|
27713
27716
|
break t;
|
|
27714
27717
|
re--, Ot += Pt[Ct++] << Bt, Bt += 8;
|
|
27715
27718
|
}
|
|
27716
|
-
Ot >>>=
|
|
27719
|
+
Ot >>>= Ri, Bt -= Ri, G.back += Ri;
|
|
27717
27720
|
}
|
|
27718
27721
|
if (Ot >>>= Oe, Bt -= Oe, G.back += Oe, G.length = pi, Ge === 0) {
|
|
27719
27722
|
G.mode = 26;
|
|
@@ -27745,12 +27748,12 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27745
27748
|
re--, Ot += Pt[Ct++] << Bt, Bt += 8;
|
|
27746
27749
|
}
|
|
27747
27750
|
if (!(240 & Ge)) {
|
|
27748
|
-
for (
|
|
27751
|
+
for (Ri = Oe, cn = Ge, Ji = pi; Ge = (dt = G.distcode[Ji + ((Ot & (1 << Ri + cn) - 1) >> Ri)]) >>> 16 & 255, pi = 65535 & dt, !(Ri + (Oe = dt >>> 24) <= Bt); ) {
|
|
27749
27752
|
if (re === 0)
|
|
27750
27753
|
break t;
|
|
27751
27754
|
re--, Ot += Pt[Ct++] << Bt, Bt += 8;
|
|
27752
27755
|
}
|
|
27753
|
-
Ot >>>=
|
|
27756
|
+
Ot >>>= Ri, Bt -= Ri, G.back += Ri;
|
|
27754
27757
|
}
|
|
27755
27758
|
if (Ot >>>= Oe, Bt -= Oe, G.back += Oe, 64 & Ge) {
|
|
27756
27759
|
et.msg = "invalid distance code", G.mode = 30;
|
|
@@ -27774,22 +27777,22 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27774
27777
|
case 25:
|
|
27775
27778
|
if (Ft === 0)
|
|
27776
27779
|
break t;
|
|
27777
|
-
if (Yt =
|
|
27780
|
+
if (Yt = ce - Ft, G.offset > Yt) {
|
|
27778
27781
|
if ((Yt = G.offset - Yt) > G.whave && G.sane) {
|
|
27779
27782
|
et.msg = "invalid distance too far back", G.mode = 30;
|
|
27780
27783
|
break;
|
|
27781
27784
|
}
|
|
27782
|
-
|
|
27785
|
+
$e = Yt > G.wnext ? (Yt -= G.wnext, G.wsize - Yt) : G.wnext - Yt, Yt > G.length && (Yt = G.length), Li = G.window;
|
|
27783
27786
|
} else
|
|
27784
|
-
|
|
27785
|
-
for (Ft < Yt && (Yt = Ft), Ft -= Yt, G.length -= Yt; Et[
|
|
27787
|
+
Li = Et, $e = fe - G.offset, Yt = G.length;
|
|
27788
|
+
for (Ft < Yt && (Yt = Ft), Ft -= Yt, G.length -= Yt; Et[fe++] = Li[$e++], --Yt; )
|
|
27786
27789
|
;
|
|
27787
27790
|
G.length === 0 && (G.mode = 21);
|
|
27788
27791
|
break;
|
|
27789
27792
|
case 26:
|
|
27790
27793
|
if (Ft === 0)
|
|
27791
27794
|
break t;
|
|
27792
|
-
Et[
|
|
27795
|
+
Et[fe++] = G.length, Ft--, G.mode = 21;
|
|
27793
27796
|
break;
|
|
27794
27797
|
case 27:
|
|
27795
27798
|
if (G.wrap) {
|
|
@@ -27798,7 +27801,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27798
27801
|
break t;
|
|
27799
27802
|
re--, Ot |= Pt[Ct++] << Bt, Bt += 8;
|
|
27800
27803
|
}
|
|
27801
|
-
if (
|
|
27804
|
+
if (ce -= Ft, et.total_out += ce, G.total += ce, ce && (et.adler = G.check = G.flags ? _(G.check, Et, ce, fe - ce) : m(G.check, Et, ce, fe - ce)), ce = Ft, (G.flags ? Ot : x(Ot)) !== G.check) {
|
|
27802
27805
|
et.msg = "incorrect data check", G.mode = 30;
|
|
27803
27806
|
break;
|
|
27804
27807
|
}
|
|
@@ -27831,7 +27834,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27831
27834
|
default:
|
|
27832
27835
|
return I;
|
|
27833
27836
|
}
|
|
27834
|
-
return et.next_out =
|
|
27837
|
+
return et.next_out = fe, et.avail_out = Ft, et.next_in = Ct, et.avail_in = re, G.hold = Ot, G.bits = Bt, (G.wsize || ce !== et.avail_out && G.mode < 30 && (G.mode < 27 || yt !== 4)) && It(et, et.output, et.next_out, ce - et.avail_out) ? (G.mode = 31, -4) : (ke -= et.avail_in, ce -= et.avail_out, et.total_in += ke, et.total_out += ce, G.total += ce, G.wrap && ce && (et.adler = G.check = G.flags ? _(G.check, Et, ce, et.next_out - ce) : m(G.check, Et, ce, et.next_out - ce)), et.data_type = G.bits + (G.last ? 64 : 0) + (G.mode === 12 ? 128 : 0) + (G.mode === 20 || G.mode === 15 ? 256 : 0), (ke == 0 && ce === 0 || yt === 4) && Jt === B && (Jt = -5), Jt);
|
|
27835
27838
|
}, d.inflateEnd = function(et) {
|
|
27836
27839
|
if (!et || !et.state)
|
|
27837
27840
|
return I;
|
|
@@ -27847,47 +27850,47 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27847
27850
|
}, { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 }], 50: [function(o, p, d) {
|
|
27848
27851
|
var u = o("../utils/common"), m = [3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0], _ = [16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72, 78], T = [1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193, 12289, 16385, 24577, 0, 0], S = [16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 64, 64];
|
|
27849
27852
|
p.exports = function(C, z, B, I, F, E, L, x) {
|
|
27850
|
-
var M, R, b, U, N, j, J, $, ct, It = x.bits, et = 0, yt = 0, G = 0, Pt = 0, Et = 0, Ct = 0,
|
|
27853
|
+
var M, R, b, U, N, j, J, $, ct, It = x.bits, et = 0, yt = 0, G = 0, Pt = 0, Et = 0, Ct = 0, fe = 0, re = 0, Ft = 0, Ot = 0, Bt = null, ke = 0, ce = new u.Buf16(16), Yt = new u.Buf16(16), $e = null, Li = 0;
|
|
27851
27854
|
for (et = 0; et <= 15; et++)
|
|
27852
|
-
|
|
27855
|
+
ce[et] = 0;
|
|
27853
27856
|
for (yt = 0; yt < I; yt++)
|
|
27854
|
-
|
|
27855
|
-
for (Et = It, Pt = 15; 1 <= Pt &&
|
|
27857
|
+
ce[z[B + yt]]++;
|
|
27858
|
+
for (Et = It, Pt = 15; 1 <= Pt && ce[Pt] === 0; Pt--)
|
|
27856
27859
|
;
|
|
27857
27860
|
if (Pt < Et && (Et = Pt), Pt === 0)
|
|
27858
27861
|
return F[E++] = 20971520, F[E++] = 20971520, x.bits = 1, 0;
|
|
27859
|
-
for (G = 1; G < Pt &&
|
|
27862
|
+
for (G = 1; G < Pt && ce[G] === 0; G++)
|
|
27860
27863
|
;
|
|
27861
27864
|
for (Et < G && (Et = G), et = re = 1; et <= 15; et++)
|
|
27862
|
-
if (re <<= 1, (re -=
|
|
27865
|
+
if (re <<= 1, (re -= ce[et]) < 0)
|
|
27863
27866
|
return -1;
|
|
27864
27867
|
if (0 < re && (C === 0 || Pt !== 1))
|
|
27865
27868
|
return -1;
|
|
27866
27869
|
for (Yt[1] = 0, et = 1; et < 15; et++)
|
|
27867
|
-
Yt[et + 1] = Yt[et] +
|
|
27870
|
+
Yt[et + 1] = Yt[et] + ce[et];
|
|
27868
27871
|
for (yt = 0; yt < I; yt++)
|
|
27869
27872
|
z[B + yt] !== 0 && (L[Yt[z[B + yt]]++] = yt);
|
|
27870
|
-
if (j = C === 0 ? (Bt =
|
|
27873
|
+
if (j = C === 0 ? (Bt = $e = L, 19) : C === 1 ? (Bt = m, ke -= 257, $e = _, Li -= 257, 256) : (Bt = T, $e = S, -1), et = G, N = E, fe = yt = Ot = 0, b = -1, U = (Ft = 1 << (Ct = Et)) - 1, C === 1 && 852 < Ft || C === 2 && 592 < Ft)
|
|
27871
27874
|
return 1;
|
|
27872
27875
|
for (; ; ) {
|
|
27873
|
-
for (J = et -
|
|
27876
|
+
for (J = et - fe, ct = L[yt] < j ? ($ = 0, L[yt]) : L[yt] > j ? ($ = $e[Li + L[yt]], Bt[ke + L[yt]]) : ($ = 96, 0), M = 1 << et - fe, G = R = 1 << Ct; F[N + (Ot >> fe) + (R -= M)] = J << 24 | $ << 16 | ct | 0, R !== 0; )
|
|
27874
27877
|
;
|
|
27875
27878
|
for (M = 1 << et - 1; Ot & M; )
|
|
27876
27879
|
M >>= 1;
|
|
27877
|
-
if (M !== 0 ? (Ot &= M - 1, Ot += M) : Ot = 0, yt++, --
|
|
27880
|
+
if (M !== 0 ? (Ot &= M - 1, Ot += M) : Ot = 0, yt++, --ce[et] == 0) {
|
|
27878
27881
|
if (et === Pt)
|
|
27879
27882
|
break;
|
|
27880
27883
|
et = z[B + L[yt]];
|
|
27881
27884
|
}
|
|
27882
27885
|
if (Et < et && (Ot & U) !== b) {
|
|
27883
|
-
for (
|
|
27886
|
+
for (fe === 0 && (fe = Et), N += G, re = 1 << (Ct = et - fe); Ct + fe < Pt && !((re -= ce[Ct + fe]) <= 0); )
|
|
27884
27887
|
Ct++, re <<= 1;
|
|
27885
27888
|
if (Ft += 1 << Ct, C === 1 && 852 < Ft || C === 2 && 592 < Ft)
|
|
27886
27889
|
return 1;
|
|
27887
27890
|
F[b = Ot & U] = Et << 24 | Ct << 16 | N - E | 0;
|
|
27888
27891
|
}
|
|
27889
27892
|
}
|
|
27890
|
-
return Ot !== 0 && (F[N + Ot] = et -
|
|
27893
|
+
return Ot !== 0 && (F[N + Ot] = et - fe << 24 | 64 << 16 | 0), x.bits = Et, 0;
|
|
27891
27894
|
};
|
|
27892
27895
|
}, { "../utils/common": 41 }], 51: [function(o, p, d) {
|
|
27893
27896
|
p.exports = { 2: "need dictionary", 1: "stream end", 0: "", "-1": "file error", "-2": "stream error", "-3": "data error", "-4": "insufficient memory", "-5": "buffer error", "-6": "incompatible version" };
|
|
@@ -27907,7 +27910,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27907
27910
|
T(G);
|
|
27908
27911
|
var Pt = new Array(C);
|
|
27909
27912
|
T(Pt);
|
|
27910
|
-
var Et, Ct,
|
|
27913
|
+
var Et, Ct, fe, re = new Array(I);
|
|
27911
27914
|
function Ft(dt, Dt, ie, Kt, D) {
|
|
27912
27915
|
this.static_tree = dt, this.extra_bits = Dt, this.extra_base = ie, this.elems = Kt, this.max_length = D, this.has_stree = dt && dt.length;
|
|
27913
27916
|
}
|
|
@@ -27920,24 +27923,24 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27920
27923
|
function ke(dt, Dt) {
|
|
27921
27924
|
dt.pending_buf[dt.pending++] = 255 & Dt, dt.pending_buf[dt.pending++] = Dt >>> 8 & 255;
|
|
27922
27925
|
}
|
|
27923
|
-
function
|
|
27926
|
+
function ce(dt, Dt, ie) {
|
|
27924
27927
|
dt.bi_valid > x - ie ? (dt.bi_buf |= Dt << dt.bi_valid & 65535, ke(dt, dt.bi_buf), dt.bi_buf = Dt >> x - dt.bi_valid, dt.bi_valid += ie - x) : (dt.bi_buf |= Dt << dt.bi_valid & 65535, dt.bi_valid += ie);
|
|
27925
27928
|
}
|
|
27926
27929
|
function Yt(dt, Dt, ie) {
|
|
27927
|
-
|
|
27930
|
+
ce(dt, ie[2 * Dt], ie[2 * Dt + 1]);
|
|
27928
27931
|
}
|
|
27929
|
-
function
|
|
27932
|
+
function $e(dt, Dt) {
|
|
27930
27933
|
for (var ie = 0; ie |= 1 & dt, dt >>>= 1, ie <<= 1, 0 < --Dt; )
|
|
27931
27934
|
;
|
|
27932
27935
|
return ie >>> 1;
|
|
27933
27936
|
}
|
|
27934
|
-
function
|
|
27937
|
+
function Li(dt, Dt, ie) {
|
|
27935
27938
|
var Kt, D, Q = new Array(L + 1), ot = 0;
|
|
27936
27939
|
for (Kt = 1; Kt <= L; Kt++)
|
|
27937
27940
|
Q[Kt] = ot = ot + ie[Kt - 1] << 1;
|
|
27938
27941
|
for (D = 0; D <= Dt; D++) {
|
|
27939
27942
|
var nt = dt[2 * D + 1];
|
|
27940
|
-
nt !== 0 && (dt[2 * D] =
|
|
27943
|
+
nt !== 0 && (dt[2 * D] = $e(Q[nt]++, nt));
|
|
27941
27944
|
}
|
|
27942
27945
|
}
|
|
27943
27946
|
function Oe(dt) {
|
|
@@ -27957,7 +27960,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27957
27960
|
var D = 2 * Dt, Q = 2 * ie;
|
|
27958
27961
|
return dt[D] < dt[Q] || dt[D] === dt[Q] && Kt[Dt] <= Kt[ie];
|
|
27959
27962
|
}
|
|
27960
|
-
function
|
|
27963
|
+
function Ri(dt, Dt, ie) {
|
|
27961
27964
|
for (var Kt = dt.heap[ie], D = ie << 1; D <= dt.heap_len && (D < dt.heap_len && pi(Dt, dt.heap[D + 1], dt.heap[D], dt.depth) && D++, !pi(Dt, Kt, dt.heap[D], dt.depth)); )
|
|
27962
27965
|
dt.heap[ie] = dt.heap[D], ie = D, D <<= 1;
|
|
27963
27966
|
dt.heap[ie] = Kt;
|
|
@@ -27965,7 +27968,7 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27965
27968
|
function cn(dt, Dt, ie) {
|
|
27966
27969
|
var Kt, D, Q, ot, nt = 0;
|
|
27967
27970
|
if (dt.last_lit !== 0)
|
|
27968
|
-
for (; Kt = dt.pending_buf[dt.d_buf + 2 * nt] << 8 | dt.pending_buf[dt.d_buf + 2 * nt + 1], D = dt.pending_buf[dt.l_buf + nt], nt++, Kt === 0 ? Yt(dt, D, Dt) : (Yt(dt, (Q = G[D]) + z + 1, Dt), (ot = j[Q]) !== 0 &&
|
|
27971
|
+
for (; Kt = dt.pending_buf[dt.d_buf + 2 * nt] << 8 | dt.pending_buf[dt.d_buf + 2 * nt + 1], D = dt.pending_buf[dt.l_buf + nt], nt++, Kt === 0 ? Yt(dt, D, Dt) : (Yt(dt, (Q = G[D]) + z + 1, Dt), (ot = j[Q]) !== 0 && ce(dt, D -= Pt[Q], ot), Yt(dt, Q = Bt(--Kt), ie), (ot = J[Q]) !== 0 && ce(dt, Kt -= re[Q], ot)), nt < dt.last_lit; )
|
|
27969
27972
|
;
|
|
27970
27973
|
Yt(dt, R, Dt);
|
|
27971
27974
|
}
|
|
@@ -27976,26 +27979,26 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
27976
27979
|
for (; dt.heap_len < 2; )
|
|
27977
27980
|
Q[2 * (D = dt.heap[++dt.heap_len] = Gt < 2 ? ++Gt : 0)] = 1, dt.depth[D] = 0, dt.opt_len--, nt && (dt.static_len -= ot[2 * D + 1]);
|
|
27978
27981
|
for (Dt.max_code = Gt, ie = dt.heap_len >> 1; 1 <= ie; ie--)
|
|
27979
|
-
|
|
27980
|
-
for (D = vt; ie = dt.heap[1], dt.heap[1] = dt.heap[dt.heap_len--],
|
|
27982
|
+
Ri(dt, Q, ie);
|
|
27983
|
+
for (D = vt; ie = dt.heap[1], dt.heap[1] = dt.heap[dt.heap_len--], Ri(dt, Q, 1), Kt = dt.heap[1], dt.heap[--dt.heap_max] = ie, dt.heap[--dt.heap_max] = Kt, Q[2 * D] = Q[2 * ie] + Q[2 * Kt], dt.depth[D] = (dt.depth[ie] >= dt.depth[Kt] ? dt.depth[ie] : dt.depth[Kt]) + 1, Q[2 * ie + 1] = Q[2 * Kt + 1] = D, dt.heap[1] = D++, Ri(dt, Q, 1), 2 <= dt.heap_len; )
|
|
27981
27984
|
;
|
|
27982
27985
|
dt.heap[--dt.heap_max] = dt.heap[1], function(Xt, jt) {
|
|
27983
|
-
var Ne, Re, ge, we, vi, Mi, ni = jt.dyn_tree, Si = jt.max_code, Gr = jt.stat_desc.static_tree, er = jt.stat_desc.has_stree, rn = jt.stat_desc.extra_bits, bs = jt.stat_desc.extra_base,
|
|
27986
|
+
var Ne, Re, ge, we, vi, Mi, ni = jt.dyn_tree, Si = jt.max_code, Gr = jt.stat_desc.static_tree, er = jt.stat_desc.has_stree, rn = jt.stat_desc.extra_bits, bs = jt.stat_desc.extra_base, Oi = jt.stat_desc.max_length, Us = 0;
|
|
27984
27987
|
for (we = 0; we <= L; we++)
|
|
27985
27988
|
Xt.bl_count[we] = 0;
|
|
27986
27989
|
for (ni[2 * Xt.heap[Xt.heap_max] + 1] = 0, Ne = Xt.heap_max + 1; Ne < E; Ne++)
|
|
27987
|
-
|
|
27990
|
+
Oi < (we = ni[2 * ni[2 * (Re = Xt.heap[Ne]) + 1] + 1] + 1) && (we = Oi, Us++), ni[2 * Re + 1] = we, Si < Re || (Xt.bl_count[we]++, vi = 0, bs <= Re && (vi = rn[Re - bs]), Mi = ni[2 * Re], Xt.opt_len += Mi * (we + vi), er && (Xt.static_len += Mi * (Gr[2 * Re + 1] + vi)));
|
|
27988
27991
|
if (Us !== 0) {
|
|
27989
27992
|
do {
|
|
27990
|
-
for (we =
|
|
27993
|
+
for (we = Oi - 1; Xt.bl_count[we] === 0; )
|
|
27991
27994
|
we--;
|
|
27992
|
-
Xt.bl_count[we]--, Xt.bl_count[we + 1] += 2, Xt.bl_count[
|
|
27995
|
+
Xt.bl_count[we]--, Xt.bl_count[we + 1] += 2, Xt.bl_count[Oi]--, Us -= 2;
|
|
27993
27996
|
} while (0 < Us);
|
|
27994
|
-
for (we =
|
|
27997
|
+
for (we = Oi; we !== 0; we--)
|
|
27995
27998
|
for (Re = Xt.bl_count[we]; Re !== 0; )
|
|
27996
27999
|
Si < (ge = Xt.heap[--Ne]) || (ni[2 * ge + 1] !== we && (Xt.opt_len += (we - ni[2 * ge + 1]) * ni[2 * ge], ni[2 * ge + 1] = we), Re--);
|
|
27997
28000
|
}
|
|
27998
|
-
}(dt, Dt),
|
|
28001
|
+
}(dt, Dt), Li(Q, Gt, dt.bl_count);
|
|
27999
28002
|
}
|
|
28000
28003
|
function W(dt, Dt, ie) {
|
|
28001
28004
|
var Kt, D, Q = -1, ot = Dt[1], nt = 0, vt = 7, Gt = 4;
|
|
@@ -28010,14 +28013,14 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
28010
28013
|
for (; Yt(dt, D, dt.bl_tree), --nt != 0; )
|
|
28011
28014
|
;
|
|
28012
28015
|
else
|
|
28013
|
-
D !== 0 ? (D !== Q && (Yt(dt, D, dt.bl_tree), nt--), Yt(dt, b, dt.bl_tree),
|
|
28016
|
+
D !== 0 ? (D !== Q && (Yt(dt, D, dt.bl_tree), nt--), Yt(dt, b, dt.bl_tree), ce(dt, nt - 3, 2)) : nt <= 10 ? (Yt(dt, U, dt.bl_tree), ce(dt, nt - 3, 3)) : (Yt(dt, N, dt.bl_tree), ce(dt, nt - 11, 7));
|
|
28014
28017
|
Q = D, Gt = (nt = 0) === ot ? (vt = 138, 3) : D === ot ? (vt = 6, 3) : (vt = 7, 4);
|
|
28015
28018
|
}
|
|
28016
28019
|
}
|
|
28017
28020
|
T(re);
|
|
28018
28021
|
var Wt = !1;
|
|
28019
28022
|
function pt(dt, Dt, ie, Kt) {
|
|
28020
|
-
|
|
28023
|
+
ce(dt, (S << 1) + (Kt ? 1 : 0), 3), function(D, Q, ot, nt) {
|
|
28021
28024
|
Ge(D), nt && (ke(D, ot), ke(D, ~ot)), u.arraySet(D.pending_buf, D.window, Q, ot, D.pending), D.pending += ot;
|
|
28022
28025
|
}(dt, Dt, ie, !0);
|
|
28023
28026
|
}
|
|
@@ -28043,10 +28046,10 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
28043
28046
|
It[2 * Dt + 1] = 7, Dt++, ot[7]++;
|
|
28044
28047
|
for (; Dt <= 287; )
|
|
28045
28048
|
It[2 * Dt + 1] = 8, Dt++, ot[8]++;
|
|
28046
|
-
for (
|
|
28047
|
-
et[2 * Dt + 1] = 5, et[2 * Dt] =
|
|
28048
|
-
Et = new Ft(It, j, z + 1, B, L), Ct = new Ft(et, J, 0, I, L),
|
|
28049
|
-
}(), Wt = !0), dt.l_desc = new Ot(dt.dyn_ltree, Et), dt.d_desc = new Ot(dt.dyn_dtree, Ct), dt.bl_desc = new Ot(dt.bl_tree,
|
|
28049
|
+
for (Li(It, B + 1, ot), Dt = 0; Dt < I; Dt++)
|
|
28050
|
+
et[2 * Dt + 1] = 5, et[2 * Dt] = $e(Dt, 5);
|
|
28051
|
+
Et = new Ft(It, j, z + 1, B, L), Ct = new Ft(et, J, 0, I, L), fe = new Ft(new Array(0), $, 0, F, M);
|
|
28052
|
+
}(), Wt = !0), dt.l_desc = new Ot(dt.dyn_ltree, Et), dt.d_desc = new Ot(dt.dyn_dtree, Ct), dt.bl_desc = new Ot(dt.bl_tree, fe), dt.bi_buf = 0, dt.bi_valid = 0, Oe(dt);
|
|
28050
28053
|
}, d._tr_stored_block = pt, d._tr_flush_block = function(dt, Dt, ie, Kt) {
|
|
28051
28054
|
var D, Q, ot = 0;
|
|
28052
28055
|
0 < dt.level ? (dt.strm.data_type === 2 && (dt.strm.data_type = function(nt) {
|
|
@@ -28065,16 +28068,16 @@ https://github.com/nodeca/pako/blob/main/LICENSE
|
|
|
28065
28068
|
for (W(nt, nt.dyn_ltree, nt.l_desc.max_code), W(nt, nt.dyn_dtree, nt.d_desc.max_code), Ji(nt, nt.bl_desc), vt = F - 1; 3 <= vt && nt.bl_tree[2 * ct[vt] + 1] === 0; vt--)
|
|
28066
28069
|
;
|
|
28067
28070
|
return nt.opt_len += 3 * (vt + 1) + 5 + 5 + 4, vt;
|
|
28068
|
-
}(dt), D = dt.opt_len + 3 + 7 >>> 3, (Q = dt.static_len + 3 + 7 >>> 3) <= D && (D = Q)) : D = Q = ie + 5, ie + 4 <= D && Dt !== -1 ? pt(dt, Dt, ie, Kt) : dt.strategy === 4 || Q === D ? (
|
|
28071
|
+
}(dt), D = dt.opt_len + 3 + 7 >>> 3, (Q = dt.static_len + 3 + 7 >>> 3) <= D && (D = Q)) : D = Q = ie + 5, ie + 4 <= D && Dt !== -1 ? pt(dt, Dt, ie, Kt) : dt.strategy === 4 || Q === D ? (ce(dt, 2 + (Kt ? 1 : 0), 3), cn(dt, It, et)) : (ce(dt, 4 + (Kt ? 1 : 0), 3), function(nt, vt, Gt, Xt) {
|
|
28069
28072
|
var jt;
|
|
28070
|
-
for (
|
|
28071
|
-
|
|
28073
|
+
for (ce(nt, vt - 257, 5), ce(nt, Gt - 1, 5), ce(nt, Xt - 4, 4), jt = 0; jt < Xt; jt++)
|
|
28074
|
+
ce(nt, nt.bl_tree[2 * ct[jt] + 1], 3);
|
|
28072
28075
|
Jt(nt, nt.dyn_ltree, vt - 1), Jt(nt, nt.dyn_dtree, Gt - 1);
|
|
28073
28076
|
}(dt, dt.l_desc.max_code + 1, dt.d_desc.max_code + 1, ot + 1), cn(dt, dt.dyn_ltree, dt.dyn_dtree)), Oe(dt), Kt && Ge(dt);
|
|
28074
28077
|
}, d._tr_tally = function(dt, Dt, ie) {
|
|
28075
28078
|
return dt.pending_buf[dt.d_buf + 2 * dt.last_lit] = Dt >>> 8 & 255, dt.pending_buf[dt.d_buf + 2 * dt.last_lit + 1] = 255 & Dt, dt.pending_buf[dt.l_buf + dt.last_lit] = 255 & ie, dt.last_lit++, Dt === 0 ? dt.dyn_ltree[2 * ie]++ : (dt.matches++, Dt--, dt.dyn_ltree[2 * (G[ie] + z + 1)]++, dt.dyn_dtree[2 * Bt(Dt)]++), dt.last_lit === dt.lit_bufsize - 1;
|
|
28076
28079
|
}, d._tr_align = function(dt) {
|
|
28077
|
-
|
|
28080
|
+
ce(dt, 2, 3), Yt(dt, R, It), function(Dt) {
|
|
28078
28081
|
Dt.bi_valid === 16 ? (ke(Dt, Dt.bi_buf), Dt.bi_buf = 0, Dt.bi_valid = 0) : 8 <= Dt.bi_valid && (Dt.pending_buf[Dt.pending++] = 255 & Dt.bi_buf, Dt.bi_buf >>= 8, Dt.bi_valid -= 8);
|
|
28079
28082
|
}(dt);
|
|
28080
28083
|
};
|
|
@@ -28957,7 +28960,7 @@ var ts = {
|
|
|
28957
28960
|
}, z;
|
|
28958
28961
|
}(), hh = function() {
|
|
28959
28962
|
return !Zh && Kr.wake();
|
|
28960
|
-
},
|
|
28963
|
+
}, Ni = {}, yy = /^[\d.\-M][\d.\-,\s]/, xy = /["']/g, wy = function(l) {
|
|
28961
28964
|
for (var o = {}, p = l.substr(1, l.length - 3).split(":"), d = p[0], u = 1, m = p.length, _, T, S; u < m; u++)
|
|
28962
28965
|
T = p[u], _ = u !== m - 1 ? T.lastIndexOf(",") : T.length, S = T.substr(0, _), o[d] = isNaN(S) ? S.replace(xy, "").trim() : +S, d = T.substr(_ + 1).trim();
|
|
28963
28966
|
return o;
|
|
@@ -28965,8 +28968,8 @@ var ts = {
|
|
|
28965
28968
|
var o = l.indexOf("(") + 1, p = l.indexOf(")"), d = l.indexOf("(", o);
|
|
28966
28969
|
return l.substring(o, ~d && d < p ? l.indexOf(")", p + 1) : p);
|
|
28967
28970
|
}, My = function(l) {
|
|
28968
|
-
var o = (l + "").split("("), p =
|
|
28969
|
-
return p && o.length > 1 && p.config ? p.config.apply(null, ~l.indexOf("{") ? [wy(o[1])] : Ty(l).split(",").map(Jp)) :
|
|
28971
|
+
var o = (l + "").split("("), p = Ni[o[0]];
|
|
28972
|
+
return p && o.length > 1 && p.config ? p.config.apply(null, ~l.indexOf("{") ? [wy(o[1])] : Ty(l).split(",").map(Jp)) : Ni._CE && yy.test(l) ? Ni._CE("", l) : p;
|
|
28970
28973
|
}, dd = function(l) {
|
|
28971
28974
|
return function(o) {
|
|
28972
28975
|
return 1 - l(1 - o);
|
|
@@ -28975,7 +28978,7 @@ var ts = {
|
|
|
28975
28978
|
for (var p = l._first, d; p; )
|
|
28976
28979
|
p instanceof Tr ? w(p, o) : p.vars.yoyoEase && (!p._yoyo || !p._repeat) && p._yoyo !== o && (p.timeline ? w(p.timeline, o) : (d = p._ease, p._ease = p._yEase, p._yEase = d, p._yoyo = o)), p = p._next;
|
|
28977
28980
|
}, wl = function(l, o) {
|
|
28978
|
-
return l && (Cn(l) ? l :
|
|
28981
|
+
return l && (Cn(l) ? l : Ni[l] || My(l)) || o;
|
|
28979
28982
|
}, El = function(l, o, p, d) {
|
|
28980
28983
|
p === void 0 && (p = function(T) {
|
|
28981
28984
|
return 1 - o(1 - T);
|
|
@@ -28988,9 +28991,9 @@ var ts = {
|
|
|
28988
28991
|
easeInOut: d
|
|
28989
28992
|
}, m;
|
|
28990
28993
|
return Br(l, function(_) {
|
|
28991
|
-
|
|
28994
|
+
Ni[_] = es[_] = u, Ni[m = _.toLowerCase()] = p;
|
|
28992
28995
|
for (var T in u)
|
|
28993
|
-
|
|
28996
|
+
Ni[m + (T === "easeIn" ? ".in" : T === "easeOut" ? ".out" : ".inOut")] = Ni[_ + "." + T] = u[T];
|
|
28994
28997
|
}), u;
|
|
28995
28998
|
}, gd = function(l) {
|
|
28996
28999
|
return function(o) {
|
|
@@ -29028,7 +29031,7 @@ Br("Linear,Quad,Cubic,Quart,Quint,Strong", function(w, l) {
|
|
|
29028
29031
|
return p < 0.5 ? Math.pow(p * 2, o) / 2 : 1 - Math.pow((1 - p) * 2, o) / 2;
|
|
29029
29032
|
});
|
|
29030
29033
|
});
|
|
29031
|
-
|
|
29034
|
+
Ni.Linear.easeNone = Ni.none = Ni.Linear.easeIn;
|
|
29032
29035
|
El("Elastic", Lc("in"), Lc("out"), Lc());
|
|
29033
29036
|
(function(w, l) {
|
|
29034
29037
|
var o = 1 / l, p = 2 * o, d = 2.5 * o, u = function(_) {
|
|
@@ -29048,7 +29051,7 @@ El("Sine", function(w) {
|
|
|
29048
29051
|
return w === 1 ? 1 : -J_(w * Y_) + 1;
|
|
29049
29052
|
});
|
|
29050
29053
|
El("Back", Rc("in"), Rc("out"), Rc());
|
|
29051
|
-
|
|
29054
|
+
Ni.SteppedEase = Ni.steps = es.SteppedEase = {
|
|
29052
29055
|
config: function(l, o) {
|
|
29053
29056
|
l === void 0 && (l = 1);
|
|
29054
29057
|
var p = 1 / l, d = l + (o ? 0 : 1), u = o ? 1 : 0, m = 1 - nn;
|
|
@@ -29057,7 +29060,7 @@ Bi.SteppedEase = Bi.steps = es.SteppedEase = {
|
|
|
29057
29060
|
};
|
|
29058
29061
|
}
|
|
29059
29062
|
};
|
|
29060
|
-
oh.ease =
|
|
29063
|
+
oh.ease = Ni["quad.out"];
|
|
29061
29064
|
Br("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(w) {
|
|
29062
29065
|
return uf += w + "," + w + "Params,";
|
|
29063
29066
|
});
|
|
@@ -29449,8 +29452,8 @@ var Sy = function(l, o, p, d, u, m, _) {
|
|
|
29449
29452
|
return;
|
|
29450
29453
|
}
|
|
29451
29454
|
for (l._pt = l._ptCache = 0, T = F && kr(T) || T && !F, N = 0; N < L.length; N++) {
|
|
29452
|
-
if ($ = L[N], It = $._gsap || cf(L)[N]._gsap, l._ptLookup[N] = G = {}, Gc[It.id] && Pa.length && Fu(), Pt = M === L ? N : M.indexOf($), et && (yt = new et()).init($, Et || U, l, Pt, M) !== !1 && (l._pt = J = new Nr(l._pt, $, yt.name, 0, 1, yt.render, yt, 0, yt.priority), yt._props.forEach(function(
|
|
29453
|
-
G[
|
|
29455
|
+
if ($ = L[N], It = $._gsap || cf(L)[N]._gsap, l._ptLookup[N] = G = {}, Gc[It.id] && Pa.length && Fu(), Pt = M === L ? N : M.indexOf($), et && (yt = new et()).init($, Et || U, l, Pt, M) !== !1 && (l._pt = J = new Nr(l._pt, $, yt.name, 0, 1, yt.render, yt, 0, yt.priority), yt._props.forEach(function(fe) {
|
|
29456
|
+
G[fe] = J;
|
|
29454
29457
|
}), yt.priority && (ct = 1)), !et || Et)
|
|
29455
29458
|
for (j in U)
|
|
29456
29459
|
$r[j] && (yt = _d(j, U, l, Pt, $, M)) ? yt.priority && (ct = 1) : G[j] = J = ff.call(l, $, j, "get", U[j], Pt, M, 0, d.stringFilter);
|
|
@@ -29521,7 +29524,7 @@ var kn = /* @__PURE__ */ function(w) {
|
|
|
29521
29524
|
for (J in B)
|
|
29522
29525
|
~yd.indexOf(J) && (It || (It = {}), It[J] = B[J]);
|
|
29523
29526
|
for (U = 0; U < j; U++)
|
|
29524
|
-
N = Uu(d, xd), N.stagger = 0, x && (N.yoyoEase = x), It && Ml(N, It), $ = R[U], N.duration = +jh(S, Ho(_), U, $, R), N.delay = (+jh(C, Ho(_), U, $, R) || 0) - _._delay, !B && j === 1 && N.delay && (_._delay = C = N.delay, _._start += C, N.delay = 0), b.to($, N, ct ? ct(U, $, R) : 0), b._ease =
|
|
29527
|
+
N = Uu(d, xd), N.stagger = 0, x && (N.yoyoEase = x), It && Ml(N, It), $ = R[U], N.duration = +jh(S, Ho(_), U, $, R), N.delay = (+jh(C, Ho(_), U, $, R) || 0) - _._delay, !B && j === 1 && N.delay && (_._delay = C = N.delay, _._start += C, N.delay = 0), b.to($, N, ct ? ct(U, $, R) : 0), b._ease = Ni.none;
|
|
29525
29528
|
b.duration() ? S = C = 0 : _.timeline = 0;
|
|
29526
29529
|
} else if (F) {
|
|
29527
29530
|
Vh(Es(b.vars.defaults, {
|
|
@@ -29871,10 +29874,10 @@ var Tl = [], zu = {}, zy = [], Mp = 0, ky = 0, Oc = function(l) {
|
|
|
29871
29874
|
});
|
|
29872
29875
|
},
|
|
29873
29876
|
registerEase: function(l, o) {
|
|
29874
|
-
|
|
29877
|
+
Ni[l] = wl(o);
|
|
29875
29878
|
},
|
|
29876
29879
|
parseEase: function(l, o) {
|
|
29877
|
-
return arguments.length ? wl(l, o) :
|
|
29880
|
+
return arguments.length ? wl(l, o) : Ni;
|
|
29878
29881
|
},
|
|
29879
29882
|
getById: function(l) {
|
|
29880
29883
|
return _n.getById(l);
|
|
@@ -30009,24 +30012,24 @@ var Ny = function(l, o) {
|
|
|
30009
30012
|
kn.version = Tr.version = Ur.version = "3.12.5";
|
|
30010
30013
|
Wp = 1;
|
|
30011
30014
|
of() && hh();
|
|
30012
|
-
|
|
30013
|
-
|
|
30014
|
-
|
|
30015
|
-
|
|
30016
|
-
|
|
30017
|
-
|
|
30018
|
-
|
|
30019
|
-
|
|
30020
|
-
|
|
30021
|
-
|
|
30022
|
-
|
|
30023
|
-
|
|
30024
|
-
|
|
30025
|
-
|
|
30026
|
-
|
|
30027
|
-
|
|
30028
|
-
|
|
30029
|
-
|
|
30015
|
+
Ni.Power0;
|
|
30016
|
+
Ni.Power1;
|
|
30017
|
+
Ni.Power2;
|
|
30018
|
+
Ni.Power3;
|
|
30019
|
+
Ni.Power4;
|
|
30020
|
+
Ni.Linear;
|
|
30021
|
+
Ni.Quad;
|
|
30022
|
+
Ni.Cubic;
|
|
30023
|
+
Ni.Quart;
|
|
30024
|
+
Ni.Quint;
|
|
30025
|
+
Ni.Strong;
|
|
30026
|
+
Ni.Elastic;
|
|
30027
|
+
Ni.Back;
|
|
30028
|
+
Ni.SteppedEase;
|
|
30029
|
+
Ni.Bounce;
|
|
30030
|
+
Ni.Sine;
|
|
30031
|
+
Ni.Expo;
|
|
30032
|
+
Ni.Circ;
|
|
30030
30033
|
/*!
|
|
30031
30034
|
* CSSPlugin 3.12.5
|
|
30032
30035
|
* https://gsap.com
|
|
@@ -30308,8 +30311,8 @@ var Sp, Aa, rh, vf, _l, Ep, _f, Uy = function() {
|
|
|
30308
30311
|
var p = l._gsap || new vd(l);
|
|
30309
30312
|
if ("x" in p && !o && !p.uncache)
|
|
30310
30313
|
return p;
|
|
30311
|
-
var d = l.style, u = p.scaleX < 0, m = "px", _ = "deg", T = getComputedStyle(l), S = ao(l, Fr) || "0", C, z, B, I, F, E, L, x, M, R, b, U, N, j, J, $, ct, It, et, yt, G, Pt, Et, Ct,
|
|
30312
|
-
return C = z = B = E = L = x = M = R = b = 0, I = F = 1, p.svg = !!(l.getCTM && Od(l)), T.translate && ((T.translate !== "none" || T.scale !== "none" || T.rotate !== "none") && (d[yn] = (T.translate !== "none" ? "translate3d(" + (T.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (T.rotate !== "none" ? "rotate(" + T.rotate + ") " : "") + (T.scale !== "none" ? "scale(" + T.scale.split(" ").join(",") + ") " : "") + (T[yn] !== "none" ? T[yn] : "")), d.scale = d.rotate = d.translate = "none"), j = xf(l, p.svg), p.svg && (p.uncache ? (
|
|
30314
|
+
var d = l.style, u = p.scaleX < 0, m = "px", _ = "deg", T = getComputedStyle(l), S = ao(l, Fr) || "0", C, z, B, I, F, E, L, x, M, R, b, U, N, j, J, $, ct, It, et, yt, G, Pt, Et, Ct, fe, re, Ft, Ot, Bt, ke, ce, Yt;
|
|
30315
|
+
return C = z = B = E = L = x = M = R = b = 0, I = F = 1, p.svg = !!(l.getCTM && Od(l)), T.translate && ((T.translate !== "none" || T.scale !== "none" || T.rotate !== "none") && (d[yn] = (T.translate !== "none" ? "translate3d(" + (T.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (T.rotate !== "none" ? "rotate(" + T.rotate + ") " : "") + (T.scale !== "none" ? "scale(" + T.scale.split(" ").join(",") + ") " : "") + (T[yn] !== "none" ? T[yn] : "")), d.scale = d.rotate = d.translate = "none"), j = xf(l, p.svg), p.svg && (p.uncache ? (fe = l.getBBox(), S = p.xOrigin - fe.x + "px " + (p.yOrigin - fe.y) + "px", Ct = "") : Ct = !o && l.getAttribute("data-svg-origin"), Kc(l, Ct || S, !!Ct || p.originIsAbsolute, p.smooth !== !1, j)), U = p.xOrigin || 0, N = p.yOrigin || 0, j !== $h && (It = j[0], et = j[1], yt = j[2], G = j[3], C = Pt = j[4], z = Et = j[5], j.length === 6 ? (I = Math.sqrt(It * It + et * et), F = Math.sqrt(G * G + yt * yt), E = It || et ? th(et, It) * vl : 0, M = yt || G ? th(yt, G) * vl + E : 0, M && (F *= Math.abs(Math.cos(M * sh))), p.svg && (C -= U - (U * It + N * yt), z -= N - (U * et + N * G))) : (Yt = j[6], ke = j[7], Ft = j[8], Ot = j[9], Bt = j[10], ce = j[11], C = j[12], z = j[13], B = j[14], J = th(Yt, Bt), L = J * vl, J && ($ = Math.cos(-J), ct = Math.sin(-J), Ct = Pt * $ + Ft * ct, fe = Et * $ + Ot * ct, re = Yt * $ + Bt * ct, Ft = Pt * -ct + Ft * $, Ot = Et * -ct + Ot * $, Bt = Yt * -ct + Bt * $, ce = ke * -ct + ce * $, Pt = Ct, Et = fe, Yt = re), J = th(-yt, Bt), x = J * vl, J && ($ = Math.cos(-J), ct = Math.sin(-J), Ct = It * $ - Ft * ct, fe = et * $ - Ot * ct, re = yt * $ - Bt * ct, ce = G * ct + ce * $, It = Ct, et = fe, yt = re), J = th(et, It), E = J * vl, J && ($ = Math.cos(J), ct = Math.sin(J), Ct = It * $ + et * ct, fe = Pt * $ + Et * ct, et = et * $ - It * ct, Et = Et * $ - Pt * ct, It = Ct, Pt = fe), L && Math.abs(L) + Math.abs(E) > 359.9 && (L = E = 0, x = 180 - x), I = In(Math.sqrt(It * It + et * et + yt * yt)), F = In(Math.sqrt(Et * Et + Yt * Yt)), J = th(Pt, Et), M = Math.abs(J) > 2e-4 ? J * vl : 0, b = ce ? 1 / (ce < 0 ? -ce : ce) : 0), p.svg && (Ct = l.getAttribute("transform"), p.forceCSS = l.setAttribute("transform", "") || !Dd(ao(l, yn)), Ct && l.setAttribute("transform", Ct))), Math.abs(M) > 90 && Math.abs(M) < 270 && (u ? (I *= -1, M += E <= 0 ? 180 : -180, E += E <= 0 ? 180 : -180) : (F *= -1, M += M <= 0 ? 180 : -180)), o = o || p.uncache, p.x = C - ((p.xPercent = C && (!o && p.xPercent || (Math.round(l.offsetWidth / 2) === Math.round(-C) ? -50 : 0))) ? l.offsetWidth * p.xPercent / 100 : 0) + m, p.y = z - ((p.yPercent = z && (!o && p.yPercent || (Math.round(l.offsetHeight / 2) === Math.round(-z) ? -50 : 0))) ? l.offsetHeight * p.yPercent / 100 : 0) + m, p.z = B + m, p.scaleX = In(I), p.scaleY = In(F), p.rotation = In(E) + _, p.rotationX = In(L) + _, p.rotationY = In(x) + _, p.skewX = M + _, p.skewY = R + _, p.transformPerspective = b + m, (p.zOrigin = parseFloat(S.split(" ")[2]) || !o && p.zOrigin || 0) && (d[Fr] = Wu(S)), p.xOffset = p.yOffset = 0, p.force3D = ts.force3D, p.renderTransform = p.svg ? s1 : Ld ? zd : r1, p.uncache = 0, p;
|
|
30313
30316
|
}, Wu = function(l) {
|
|
30314
30317
|
return (l = l.split(" "))[0] + " " + l[1];
|
|
30315
30318
|
}, zc = function(l, o, p) {
|