brainsmatics 1.0.74 → 1.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/dist/{deflate-13e9b74b.js → deflate-4c0d479e.js} +1 -1
- package/dist/{deflate-5fee1aa1.mjs → deflate-5df4d0b2.mjs} +1 -1
- package/dist/{index-527aec27.js → index-6b366270.js} +28 -28
- package/dist/{index-e5c931ad.mjs → index-87713827.mjs} +163 -159
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/{lerc-575265ac.mjs → lerc-212e03f8.mjs} +1 -1
- package/dist/{lerc-86594f53.js → lerc-8fa4f737.js} +1 -1
- package/package.json +1 -1
|
@@ -7863,7 +7863,7 @@ var Aee = 0, o9 = /* @__PURE__ */ new Map();
|
|
|
7863
7863
|
function v1e(t) {
|
|
7864
7864
|
o9.delete(t);
|
|
7865
7865
|
}
|
|
7866
|
-
var
|
|
7866
|
+
var Ws = function(e) {
|
|
7867
7867
|
var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 1;
|
|
7868
7868
|
Aee += 1;
|
|
7869
7869
|
var r = Aee;
|
|
@@ -7879,22 +7879,22 @@ var js = function(e) {
|
|
|
7879
7879
|
}
|
|
7880
7880
|
return i(n), r;
|
|
7881
7881
|
};
|
|
7882
|
-
|
|
7882
|
+
Ws.cancel = function(t) {
|
|
7883
7883
|
var e = o9.get(t);
|
|
7884
7884
|
return v1e(t), p1e(e);
|
|
7885
7885
|
};
|
|
7886
|
-
process.env.NODE_ENV !== "production" && (
|
|
7886
|
+
process.env.NODE_ENV !== "production" && (Ws.ids = function() {
|
|
7887
7887
|
return o9;
|
|
7888
7888
|
});
|
|
7889
7889
|
const Uke = function() {
|
|
7890
7890
|
var t = _.useRef(null);
|
|
7891
7891
|
function e() {
|
|
7892
|
-
|
|
7892
|
+
Ws.cancel(t.current);
|
|
7893
7893
|
}
|
|
7894
7894
|
function n(r) {
|
|
7895
7895
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : 2;
|
|
7896
7896
|
e();
|
|
7897
|
-
var a =
|
|
7897
|
+
var a = Ws(function() {
|
|
7898
7898
|
i <= 1 ? r({
|
|
7899
7899
|
isCanceled: function() {
|
|
7900
7900
|
return a !== t.current;
|
|
@@ -17843,7 +17843,7 @@ var VT = /* @__PURE__ */ _.forwardRef(Lze);
|
|
|
17843
17843
|
VT.displayName = "Item";
|
|
17844
17844
|
function Oze(t) {
|
|
17845
17845
|
if (typeof MessageChannel > "u")
|
|
17846
|
-
|
|
17846
|
+
Ws(t);
|
|
17847
17847
|
else {
|
|
17848
17848
|
var e = new MessageChannel();
|
|
17849
17849
|
e.port1.onmessage = function() {
|
|
@@ -19461,7 +19461,7 @@ const Yye = function(t, e, n, r) {
|
|
|
19461
19461
|
function yHe(t, e, n, r, i, a, o) {
|
|
19462
19462
|
var s = Ye(0), c = Ye(null), u = Ye(null), d = Ye(!1), f = Yye(e, n, r, i);
|
|
19463
19463
|
function h(b, x) {
|
|
19464
|
-
|
|
19464
|
+
Ws.cancel(c.current), s.current += x, u.current = x, !f(!1, x) && (Ote || b.preventDefault(), c.current = Ws(function() {
|
|
19465
19465
|
var C = d.current ? 10 : 1;
|
|
19466
19466
|
o(s.current * C), s.current = 0;
|
|
19467
19467
|
}));
|
|
@@ -19472,7 +19472,7 @@ function yHe(t, e, n, r, i, a, o) {
|
|
|
19472
19472
|
var v = Ye(null), y = Ye(null);
|
|
19473
19473
|
function g(b) {
|
|
19474
19474
|
if (t) {
|
|
19475
|
-
|
|
19475
|
+
Ws.cancel(y.current), y.current = Ws(function() {
|
|
19476
19476
|
v.current = null;
|
|
19477
19477
|
}, 2);
|
|
19478
19478
|
var x = b.deltaX, C = b.deltaY, w = b.shiftKey, E = x, I = C;
|
|
@@ -19525,7 +19525,7 @@ var xHe = /* @__PURE__ */ function() {
|
|
|
19525
19525
|
function CHe(t, e, n) {
|
|
19526
19526
|
var r = _.useState(0), i = yt(r, 2), a = i[0], o = i[1], s = Ye(/* @__PURE__ */ new Map()), c = Ye(new xHe()), u = Ye();
|
|
19527
19527
|
function d() {
|
|
19528
|
-
|
|
19528
|
+
Ws.cancel(u.current);
|
|
19529
19529
|
}
|
|
19530
19530
|
function f() {
|
|
19531
19531
|
var p = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !1;
|
|
@@ -19540,7 +19540,7 @@ function CHe(t, e, n) {
|
|
|
19540
19540
|
return g + 1;
|
|
19541
19541
|
});
|
|
19542
19542
|
};
|
|
19543
|
-
p ? v() : u.current =
|
|
19543
|
+
p ? v() : u.current = Ws(v);
|
|
19544
19544
|
}
|
|
19545
19545
|
function h(p, v) {
|
|
19546
19546
|
var y = t(p), g = s.current.get(y);
|
|
@@ -19636,7 +19636,7 @@ function SHe(t, e, n, r, i, a, o, s) {
|
|
|
19636
19636
|
s();
|
|
19637
19637
|
return;
|
|
19638
19638
|
}
|
|
19639
|
-
if (
|
|
19639
|
+
if (Ws.cancel(c.current), typeof p == "number")
|
|
19640
19640
|
o(p);
|
|
19641
19641
|
else if (p && Ir(p) === "object") {
|
|
19642
19642
|
var v, y = p.align;
|
|
@@ -19703,13 +19703,13 @@ var J$ = /* @__PURE__ */ _.forwardRef(function(t, e) {
|
|
|
19703
19703
|
if (g) {
|
|
19704
19704
|
var ve, pe = function(Q) {
|
|
19705
19705
|
var be = se.current, de = be.dragging, Ee = be.pageY, Pe = be.startTop;
|
|
19706
|
-
|
|
19706
|
+
Ws.cancel(ve);
|
|
19707
19707
|
var $e = D.current.getBoundingClientRect(), Ne = f / (u ? $e.width : $e.height);
|
|
19708
19708
|
if (de) {
|
|
19709
19709
|
var we = (Nte(Q, u) - Ee) * Ne, Ke = Pe;
|
|
19710
19710
|
!N && u ? Ke -= we : Ke += we;
|
|
19711
19711
|
var ge = re.current, ce = oe.current, Le = ce ? Ke / ce : 0, it = Math.ceil(Le * ge);
|
|
19712
|
-
it = Math.max(it, 0), it = Math.min(it, ge), ve =
|
|
19712
|
+
it = Math.max(it, 0), it = Math.min(it, ge), ve = Ws(function() {
|
|
19713
19713
|
c(it, u);
|
|
19714
19714
|
});
|
|
19715
19715
|
}
|
|
@@ -19725,7 +19725,7 @@ var J$ = /* @__PURE__ */ _.forwardRef(function(t, e) {
|
|
|
19725
19725
|
}), window.addEventListener("touchend", te, {
|
|
19726
19726
|
passive: !0
|
|
19727
19727
|
}), function() {
|
|
19728
|
-
window.removeEventListener("mousemove", pe), window.removeEventListener("touchmove", pe), window.removeEventListener("mouseup", te), window.removeEventListener("touchend", te),
|
|
19728
|
+
window.removeEventListener("mousemove", pe), window.removeEventListener("touchmove", pe), window.removeEventListener("mouseup", te), window.removeEventListener("touchend", te), Ws.cancel(ve);
|
|
19729
19729
|
};
|
|
19730
19730
|
}
|
|
19731
19731
|
}, [g]), _.useEffect(function() {
|
|
@@ -24939,7 +24939,7 @@ function Fje(t, e, n, r, i, a, o, s, c, u) {
|
|
|
24939
24939
|
var d = _.useRef(), f = _.useRef();
|
|
24940
24940
|
f.current = e;
|
|
24941
24941
|
var h = function() {
|
|
24942
|
-
|
|
24942
|
+
Ws.cancel(d.current);
|
|
24943
24943
|
};
|
|
24944
24944
|
return _.useEffect(function() {
|
|
24945
24945
|
return function() {
|
|
@@ -24957,7 +24957,7 @@ function Fje(t, e, n, r, i, a, o, s, c, u) {
|
|
|
24957
24957
|
var j = V, Y = V.querySelector("a");
|
|
24958
24958
|
Y != null && Y.getAttribute("href") && (j = Y);
|
|
24959
24959
|
var W = C.get(V);
|
|
24960
|
-
s(W), h(), d.current =
|
|
24960
|
+
s(W), h(), d.current = Ws(function() {
|
|
24961
24961
|
f.current === W && j.focus();
|
|
24962
24962
|
});
|
|
24963
24963
|
}
|
|
@@ -24970,7 +24970,7 @@ function Fje(t, e, n, r, i, a, o, s, c, u) {
|
|
|
24970
24970
|
} else if (P.inlineTrigger)
|
|
24971
24971
|
c(I);
|
|
24972
24972
|
else if (P.offset > 0)
|
|
24973
|
-
c(I, !0), h(), d.current =
|
|
24973
|
+
c(I, !0), h(), d.current = Ws(function() {
|
|
24974
24974
|
g = rz(y, r);
|
|
24975
24975
|
var z = E.getAttribute("aria-controls"), V = document.getElementById(z), j = Qte(V, g.elements);
|
|
24976
24976
|
M(j);
|
|
@@ -25297,10 +25297,10 @@ function nWe(t) {
|
|
|
25297
25297
|
motionAppear: !0
|
|
25298
25298
|
}), G = _.useRef();
|
|
25299
25299
|
return _.useEffect(function() {
|
|
25300
|
-
return G.current =
|
|
25300
|
+
return G.current = Ws(function() {
|
|
25301
25301
|
M(n);
|
|
25302
25302
|
}), function() {
|
|
25303
|
-
|
|
25303
|
+
Ws.cancel(G.current);
|
|
25304
25304
|
};
|
|
25305
25305
|
}, [n]), /* @__PURE__ */ _.createElement(f3, {
|
|
25306
25306
|
prefixCls: e,
|
|
@@ -29467,7 +29467,7 @@ var SXe = function(e) {
|
|
|
29467
29467
|
return typeof s == "function" ? s(m) : typeof s == "number" ? s : m;
|
|
29468
29468
|
}, [s]);
|
|
29469
29469
|
function g() {
|
|
29470
|
-
|
|
29470
|
+
Ws.cancel(v.current);
|
|
29471
29471
|
}
|
|
29472
29472
|
return _n(function() {
|
|
29473
29473
|
var m = {};
|
|
@@ -29478,7 +29478,7 @@ var SXe = function(e) {
|
|
|
29478
29478
|
u === "start" && (m[b] = n[b]), u === "center" && (m[b] = n[b] + n.width / 2, m.transform = i ? "translateX(50%)" : "translateX(-50%)"), u === "end" && (m[b] = n[b] + n.width, m.transform = "translateX(-100%)");
|
|
29479
29479
|
} else
|
|
29480
29480
|
m.height = y(n.height), u === "start" && (m.top = n.top), u === "center" && (m.top = n.top + n.height / 2, m.transform = "translateY(-50%)"), u === "end" && (m.top = n.top + n.height, m.transform = "translateY(-100%)");
|
|
29481
|
-
return g(), v.current =
|
|
29481
|
+
return g(), v.current = Ws(function() {
|
|
29482
29482
|
var x = h && m && Object.keys(m).every(function(C) {
|
|
29483
29483
|
var w = m[C], E = h[C];
|
|
29484
29484
|
return typeof w == "number" && typeof E == "number" ? Math.round(w) === Math.round(E) : w === E;
|
|
@@ -29715,7 +29715,7 @@ function PXe(t) {
|
|
|
29715
29715
|
}
|
|
29716
29716
|
};
|
|
29717
29717
|
_.useEffect(function() {
|
|
29718
|
-
return e ? (window.addEventListener("keydown", u), i &&
|
|
29718
|
+
return e ? (window.addEventListener("keydown", u), i && Ws(c, 3), function() {
|
|
29719
29719
|
window.removeEventListener("keydown", u), o.current = !1;
|
|
29720
29720
|
}) : function() {
|
|
29721
29721
|
o.current = !1;
|
|
@@ -34121,7 +34121,7 @@ function LKe(t) {
|
|
|
34121
34121
|
_.useEffect(function() {
|
|
34122
34122
|
return function() {
|
|
34123
34123
|
d(), c.current.forEach(function(b) {
|
|
34124
|
-
return
|
|
34124
|
+
return Ws.cancel(b);
|
|
34125
34125
|
});
|
|
34126
34126
|
};
|
|
34127
34127
|
}, []);
|
|
@@ -34129,7 +34129,7 @@ function LKe(t) {
|
|
|
34129
34129
|
if (h)
|
|
34130
34130
|
return null;
|
|
34131
34131
|
var p = "".concat(e, "-handler"), v = Qe(p, "".concat(p, "-up"), Me({}, "".concat(p, "-up-disabled"), i)), y = Qe(p, "".concat(p, "-down"), Me({}, "".concat(p, "-down-disabled"), a)), g = function() {
|
|
34132
|
-
return c.current.push(
|
|
34132
|
+
return c.current.push(Ws(d));
|
|
34133
34133
|
}, m = {
|
|
34134
34134
|
unselectable: "on",
|
|
34135
34135
|
role: "button",
|
|
@@ -34166,12 +34166,12 @@ function Pne(t) {
|
|
|
34166
34166
|
}
|
|
34167
34167
|
const OKe = function() {
|
|
34168
34168
|
var t = Ye(0), e = function() {
|
|
34169
|
-
|
|
34169
|
+
Ws.cancel(t.current);
|
|
34170
34170
|
};
|
|
34171
34171
|
return _n(function() {
|
|
34172
34172
|
return e;
|
|
34173
34173
|
}, []), function(n) {
|
|
34174
|
-
e(), t.current =
|
|
34174
|
+
e(), t.current = Ws(function() {
|
|
34175
34175
|
n();
|
|
34176
34176
|
});
|
|
34177
34177
|
};
|
|
@@ -39387,7 +39387,7 @@ function aJe(t, e, n, r) {
|
|
|
39387
39387
|
action: v
|
|
39388
39388
|
});
|
|
39389
39389
|
}, f = function(v, y) {
|
|
39390
|
-
i.current === null && (a.current = [], i.current =
|
|
39390
|
+
i.current === null && (a.current = [], i.current = Ws(function() {
|
|
39391
39391
|
u(function(g) {
|
|
39392
39392
|
var m = g;
|
|
39393
39393
|
return a.current.forEach(function(b) {
|
|
@@ -40924,9 +40924,9 @@ var xQe = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classN
|
|
|
40924
40924
|
M();
|
|
40925
40925
|
}, [B]);
|
|
40926
40926
|
var Y = _.useRef(), W = function() {
|
|
40927
|
-
|
|
40927
|
+
Ws.cancel(Y.current);
|
|
40928
40928
|
}, Z = function(re) {
|
|
40929
|
-
B === PD && (s == null || s(re), o && (W(), Y.current =
|
|
40929
|
+
B === PD && (s == null || s(re), o && (W(), Y.current = Ws(function() {
|
|
40930
40930
|
j();
|
|
40931
40931
|
})));
|
|
40932
40932
|
};
|
|
@@ -43735,7 +43735,7 @@ Sp.destroyAll = function() {
|
|
|
43735
43735
|
Sp.config = uze;
|
|
43736
43736
|
Sp._InternalPanelDoNotUseOrYouWillBeFired = Bet;
|
|
43737
43737
|
process.env.NODE_ENV !== "production" && (Sp.displayName = "Modal");
|
|
43738
|
-
const
|
|
43738
|
+
const Gs = Sp;
|
|
43739
43739
|
var Vet = {
|
|
43740
43740
|
percent: 0,
|
|
43741
43741
|
prefixCls: "rc-progress",
|
|
@@ -57072,7 +57072,7 @@ const iSe = R.memo(({ CurrentLevel: t, fbxname: e, threeview: n, TotalLevel: r,
|
|
|
57072
57072
|
"div",
|
|
57073
57073
|
{ id: "nav_gation" },
|
|
57074
57074
|
R.createElement(
|
|
57075
|
-
|
|
57075
|
+
Gs,
|
|
57076
57076
|
{ title: "Feedback", open: y, onCancel: j, footer: null },
|
|
57077
57077
|
R.createElement(
|
|
57078
57078
|
Fl,
|
|
@@ -58468,7 +58468,7 @@ const rae = /* @__PURE__ */ new Ao().set(
|
|
|
58468
58468
|
toReference: (t) => t.convertSRGBToLinear().applyMatrix3(iae),
|
|
58469
58469
|
fromReference: (t) => t.applyMatrix3(rae).convertLinearToSRGB()
|
|
58470
58470
|
}
|
|
58471
|
-
}, cut = /* @__PURE__ */ new Set([dd, oP]),
|
|
58471
|
+
}, cut = /* @__PURE__ */ new Set([dd, oP]), js = {
|
|
58472
58472
|
enabled: !0,
|
|
58473
58473
|
_workingColorSpace: dd,
|
|
58474
58474
|
get legacyMode() {
|
|
@@ -60945,19 +60945,19 @@ class ui {
|
|
|
60945
60945
|
return this.r = e, this.g = e, this.b = e, this;
|
|
60946
60946
|
}
|
|
60947
60947
|
setHex(e, n = _l) {
|
|
60948
|
-
return e = Math.floor(e), this.r = (e >> 16 & 255) / 255, this.g = (e >> 8 & 255) / 255, this.b = (e & 255) / 255,
|
|
60948
|
+
return e = Math.floor(e), this.r = (e >> 16 & 255) / 255, this.g = (e >> 8 & 255) / 255, this.b = (e & 255) / 255, js.toWorkingColorSpace(this, n), this;
|
|
60949
60949
|
}
|
|
60950
|
-
setRGB(e, n, r, i =
|
|
60951
|
-
return this.r = e, this.g = n, this.b = r,
|
|
60950
|
+
setRGB(e, n, r, i = js.workingColorSpace) {
|
|
60951
|
+
return this.r = e, this.g = n, this.b = r, js.toWorkingColorSpace(this, i), this;
|
|
60952
60952
|
}
|
|
60953
|
-
setHSL(e, n, r, i =
|
|
60953
|
+
setHSL(e, n, r, i = js.workingColorSpace) {
|
|
60954
60954
|
if (e = DX(e, 1), n = xu(n, 0, 1), r = xu(r, 0, 1), n === 0)
|
|
60955
60955
|
this.r = this.g = this.b = r;
|
|
60956
60956
|
else {
|
|
60957
60957
|
const a = r <= 0.5 ? r * (1 + n) : r + n - r * n, o = 2 * r - a;
|
|
60958
60958
|
this.r = Sk(o, a, e + 1 / 3), this.g = Sk(o, a, e), this.b = Sk(o, a, e - 1 / 3);
|
|
60959
60959
|
}
|
|
60960
|
-
return
|
|
60960
|
+
return js.toWorkingColorSpace(this, i), this;
|
|
60961
60961
|
}
|
|
60962
60962
|
setStyle(e, n = _l) {
|
|
60963
60963
|
function r(a) {
|
|
@@ -61037,13 +61037,13 @@ class ui {
|
|
|
61037
61037
|
return this.copyLinearToSRGB(this), this;
|
|
61038
61038
|
}
|
|
61039
61039
|
getHex(e = _l) {
|
|
61040
|
-
return
|
|
61040
|
+
return js.fromWorkingColorSpace(Ed.copy(this), e), Math.round(xu(Ed.r * 255, 0, 255)) * 65536 + Math.round(xu(Ed.g * 255, 0, 255)) * 256 + Math.round(xu(Ed.b * 255, 0, 255));
|
|
61041
61041
|
}
|
|
61042
61042
|
getHexString(e = _l) {
|
|
61043
61043
|
return ("000000" + this.getHex(e).toString(16)).slice(-6);
|
|
61044
61044
|
}
|
|
61045
|
-
getHSL(e, n =
|
|
61046
|
-
|
|
61045
|
+
getHSL(e, n = js.workingColorSpace) {
|
|
61046
|
+
js.fromWorkingColorSpace(Ed.copy(this), n);
|
|
61047
61047
|
const r = Ed.r, i = Ed.g, a = Ed.b, o = Math.max(r, i, a), s = Math.min(r, i, a);
|
|
61048
61048
|
let c, u;
|
|
61049
61049
|
const d = (s + o) / 2;
|
|
@@ -61066,11 +61066,11 @@ class ui {
|
|
|
61066
61066
|
}
|
|
61067
61067
|
return e.h = c, e.s = u, e.l = d, e;
|
|
61068
61068
|
}
|
|
61069
|
-
getRGB(e, n =
|
|
61070
|
-
return
|
|
61069
|
+
getRGB(e, n = js.workingColorSpace) {
|
|
61070
|
+
return js.fromWorkingColorSpace(Ed.copy(this), n), e.r = Ed.r, e.g = Ed.g, e.b = Ed.b, e;
|
|
61071
61071
|
}
|
|
61072
61072
|
getStyle(e = _l) {
|
|
61073
|
-
|
|
61073
|
+
js.fromWorkingColorSpace(Ed.copy(this), e);
|
|
61074
61074
|
const n = Ed.r, r = Ed.g, i = Ed.b;
|
|
61075
61075
|
return e !== _l ? `color(${e} ${n.toFixed(3)} ${r.toFixed(3)} ${i.toFixed(3)})` : `rgb(${Math.round(n * 255)},${Math.round(r * 255)},${Math.round(i * 255)})`;
|
|
61076
61076
|
}
|
|
@@ -61756,7 +61756,7 @@ function Eut(t) {
|
|
|
61756
61756
|
return e;
|
|
61757
61757
|
}
|
|
61758
61758
|
function LSe(t) {
|
|
61759
|
-
return t.getRenderTarget() === null ? t.outputColorSpace :
|
|
61759
|
+
return t.getRenderTarget() === null ? t.outputColorSpace : js.workingColorSpace;
|
|
61760
61760
|
}
|
|
61761
61761
|
const OSe = { clone: VS, merge: qd };
|
|
61762
61762
|
var _ut = `void main() {
|
|
@@ -66262,7 +66262,7 @@ function cht(t, e, n, r, i, a, o) {
|
|
|
66262
66262
|
get: function() {
|
|
66263
66263
|
return this.uniforms.envMap.value;
|
|
66264
66264
|
}
|
|
66265
|
-
}), i.update(d)), d.material.uniforms.envMap.value = x, d.material.uniforms.flipEnvMap.value = x.isCubeTexture && x.isRenderTargetTexture === !1 ? -1 : 1, d.material.uniforms.backgroundBlurriness.value = m.backgroundBlurriness, d.material.uniforms.backgroundIntensity.value = m.backgroundIntensity, d.material.toneMapped =
|
|
66265
|
+
}), i.update(d)), d.material.uniforms.envMap.value = x, d.material.uniforms.flipEnvMap.value = x.isCubeTexture && x.isRenderTargetTexture === !1 ? -1 : 1, d.material.uniforms.backgroundBlurriness.value = m.backgroundBlurriness, d.material.uniforms.backgroundIntensity.value = m.backgroundIntensity, d.material.toneMapped = js.getTransfer(x.colorSpace) !== Ul, (f !== x || h !== x.version || p !== t.toneMapping) && (d.material.needsUpdate = !0, f = x, h = x.version, p = t.toneMapping), d.layers.enableAll(), g.unshift(d, d.geometry, d.material, 0, 0, null)) : x && x.isTexture && (u === void 0 && (u = new nr(
|
|
66266
66266
|
new eI(2, 2),
|
|
66267
66267
|
new Cg({
|
|
66268
66268
|
name: "BackgroundMaterial",
|
|
@@ -66278,7 +66278,7 @@ function cht(t, e, n, r, i, a, o) {
|
|
|
66278
66278
|
get: function() {
|
|
66279
66279
|
return this.uniforms.t2D.value;
|
|
66280
66280
|
}
|
|
66281
|
-
}), i.update(u)), u.material.uniforms.t2D.value = x, u.material.uniforms.backgroundIntensity.value = m.backgroundIntensity, u.material.toneMapped =
|
|
66281
|
+
}), i.update(u)), u.material.uniforms.t2D.value = x, u.material.uniforms.backgroundIntensity.value = m.backgroundIntensity, u.material.toneMapped = js.getTransfer(x.colorSpace) !== Ul, x.matrixAutoUpdate === !0 && x.updateMatrix(), u.material.uniforms.uvTransform.value.copy(x.matrix), (f !== x || h !== x.version || p !== t.toneMapping) && (u.material.needsUpdate = !0, f = x, h = x.version, p = t.toneMapping), u.layers.enableAll(), g.unshift(u, u.geometry, u.material, 0, 0, null));
|
|
66282
66282
|
}
|
|
66283
66283
|
function y(g, m) {
|
|
66284
66284
|
g.getRGB(R6, LSe(t)), r.buffers.color.setClear(R6.r, R6.g, R6.b, m, o);
|
|
@@ -67961,7 +67961,7 @@ function mpt(t, e) {
|
|
|
67961
67961
|
`);
|
|
67962
67962
|
}
|
|
67963
67963
|
function ypt(t) {
|
|
67964
|
-
const e =
|
|
67964
|
+
const e = js.getPrimaries(js.workingColorSpace), n = js.getPrimaries(t);
|
|
67965
67965
|
let r;
|
|
67966
67966
|
switch (e === n ? r = "" : e === u7 && n === c7 ? r = "LinearDisplayP3ToLinearSRGB" : e === c7 && n === u7 && (r = "LinearSRGBToLinearDisplayP3"), t) {
|
|
67967
67967
|
case dd:
|
|
@@ -68659,7 +68659,7 @@ function Fpt(t, e, n, r, i, a, o) {
|
|
|
68659
68659
|
shadowMapType: t.shadowMap.type,
|
|
68660
68660
|
toneMapping: fn,
|
|
68661
68661
|
useLegacyLights: t._useLegacyLights,
|
|
68662
|
-
decodeVideoTexture: ye && M.map.isVideoTexture === !0 &&
|
|
68662
|
+
decodeVideoTexture: ye && M.map.isVideoTexture === !0 && js.getTransfer(M.map.colorSpace) === Ul,
|
|
68663
68663
|
premultipliedAlpha: M.premultipliedAlpha,
|
|
68664
68664
|
doubleSided: M.side === Of,
|
|
68665
68665
|
flipSided: M.side === of,
|
|
@@ -69669,7 +69669,7 @@ function evt(t, e, n, r, i, a, o) {
|
|
|
69669
69669
|
}
|
|
69670
69670
|
let Ge = ce;
|
|
69671
69671
|
if (ce === t.RED && (Le === t.FLOAT && (Ge = t.R32F), Le === t.HALF_FLOAT && (Ge = t.R16F), Le === t.UNSIGNED_BYTE && (Ge = t.R8)), ce === t.RED_INTEGER && (Le === t.UNSIGNED_BYTE && (Ge = t.R8UI), Le === t.UNSIGNED_SHORT && (Ge = t.R16UI), Le === t.UNSIGNED_INT && (Ge = t.R32UI), Le === t.BYTE && (Ge = t.R8I), Le === t.SHORT && (Ge = t.R16I), Le === t.INT && (Ge = t.R32I)), ce === t.RG && (Le === t.FLOAT && (Ge = t.RG32F), Le === t.HALF_FLOAT && (Ge = t.RG16F), Le === t.UNSIGNED_BYTE && (Ge = t.RG8)), ce === t.RGBA) {
|
|
69672
|
-
const ht = Re ? l7 :
|
|
69672
|
+
const ht = Re ? l7 : js.getTransfer(it);
|
|
69673
69673
|
Le === t.FLOAT && (Ge = t.RGBA32F), Le === t.HALF_FLOAT && (Ge = t.RGBA16F), Le === t.UNSIGNED_BYTE && (Ge = ht === Ul ? t.SRGB8_ALPHA8 : t.RGBA8), Le === t.UNSIGNED_SHORT_4_4_4_4 && (Ge = t.RGBA4), Le === t.UNSIGNED_SHORT_5_5_5_1 && (Ge = t.RGB5_A1);
|
|
69674
69674
|
}
|
|
69675
69675
|
return (Ge === t.R16F || Ge === t.R32F || Ge === t.RG16F || Ge === t.RG32F || Ge === t.RGBA16F || Ge === t.RGBA32F) && e.get("EXT_color_buffer_float"), Ge;
|
|
@@ -69839,7 +69839,7 @@ function evt(t, e, n, r, i, a, o) {
|
|
|
69839
69839
|
const ht = r.get(Ge);
|
|
69840
69840
|
if (Ge.version !== ht.__version || Re === !0) {
|
|
69841
69841
|
n.activeTexture(t.TEXTURE0 + Le);
|
|
69842
|
-
const dt =
|
|
69842
|
+
const dt = js.getPrimaries(js.workingColorSpace), vt = ce.colorSpace === tp ? null : js.getPrimaries(ce.colorSpace), St = ce.colorSpace === tp || dt === vt ? t.NONE : t.BROWSER_DEFAULT_WEBGL;
|
|
69843
69843
|
t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL, ce.flipY), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, ce.premultiplyAlpha), t.pixelStorei(t.UNPACK_ALIGNMENT, ce.unpackAlignment), t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL, St);
|
|
69844
69844
|
const st = w(ce) && C(ce.image) === !1;
|
|
69845
69845
|
let De = x(ce.image, st, !1, d);
|
|
@@ -69901,7 +69901,7 @@ function evt(t, e, n, r, i, a, o) {
|
|
|
69901
69901
|
const Ge = r.get(Re);
|
|
69902
69902
|
if (Re.version !== Ge.__version || it === !0) {
|
|
69903
69903
|
n.activeTexture(t.TEXTURE0 + Le);
|
|
69904
|
-
const ht =
|
|
69904
|
+
const ht = js.getPrimaries(js.workingColorSpace), dt = ce.colorSpace === tp ? null : js.getPrimaries(ce.colorSpace), vt = ce.colorSpace === tp || ht === dt ? t.NONE : t.BROWSER_DEFAULT_WEBGL;
|
|
69905
69905
|
t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL, ce.flipY), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, ce.premultiplyAlpha), t.pixelStorei(t.UNPACK_ALIGNMENT, ce.unpackAlignment), t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL, vt);
|
|
69906
69906
|
const St = ce.isCompressedTexture || ce.image[0].isCompressedTexture, st = ce.image[0] && ce.image[0].isDataTexture, De = [];
|
|
69907
69907
|
for (let zt = 0; zt < 6; zt++)
|
|
@@ -70121,7 +70121,7 @@ function evt(t, e, n, r, i, a, o) {
|
|
|
70121
70121
|
}
|
|
70122
70122
|
function Ke(ge, ce) {
|
|
70123
70123
|
const Le = ge.colorSpace, it = ge.format, Re = ge.type;
|
|
70124
|
-
return ge.isCompressedTexture === !0 || ge.isVideoTexture === !0 || ge.format === zz || Le !== dd && Le !== tp && (
|
|
70124
|
+
return ge.isCompressedTexture === !0 || ge.isVideoTexture === !0 || ge.format === zz || Le !== dd && Le !== tp && (js.getTransfer(Le) === Ul ? s === !1 ? e.has("EXT_sRGB") === !0 && it === ep ? (ge.format = zz, ge.minFilter = ju, ge.generateMipmaps = !1) : ce = ESe.sRGBToLinear(ce) : (it !== ep || Re !== Am) && console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType.") : console.error("THREE.WebGLTextures: Unsupported texture color space:", Le)), ce;
|
|
70125
70125
|
}
|
|
70126
70126
|
this.allocateTextureUnit = j, this.resetTextureUnits = V, this.setTexture2D = W, this.setTexture2DArray = Z, this.setTexture3D = ne, this.setTextureCube = se, this.rebindTextures = be, this.setupRenderTarget = de, this.updateRenderTargetMipmap = Ee, this.updateMultisampleRenderTarget = Pe, this.setupDepthRenderbuffer = Q, this.setupFrameBufferTexture = pe, this.useMultisampledRTT = Ne;
|
|
70127
70127
|
}
|
|
@@ -70129,7 +70129,7 @@ function tvt(t, e, n) {
|
|
|
70129
70129
|
const r = n.isWebGL2;
|
|
70130
70130
|
function i(a, o = tp) {
|
|
70131
70131
|
let s;
|
|
70132
|
-
const c =
|
|
70132
|
+
const c = js.getTransfer(o);
|
|
70133
70133
|
if (a === Am)
|
|
70134
70134
|
return t.UNSIGNED_BYTE;
|
|
70135
70135
|
if (a === vSe)
|
|
@@ -71242,7 +71242,7 @@ class VX {
|
|
|
71242
71242
|
set outputColorSpace(e) {
|
|
71243
71243
|
this._outputColorSpace = e;
|
|
71244
71244
|
const n = this.getContext();
|
|
71245
|
-
n.drawingBufferColorSpace = e === NX ? "display-p3" : "srgb", n.unpackColorSpace =
|
|
71245
|
+
n.drawingBufferColorSpace = e === NX ? "display-p3" : "srgb", n.unpackColorSpace = js.workingColorSpace === oP ? "display-p3" : "srgb";
|
|
71246
71246
|
}
|
|
71247
71247
|
get physicallyCorrectLights() {
|
|
71248
71248
|
return console.warn("THREE.WebGLRenderer: The property .physicallyCorrectLights has been removed. Set renderer.useLegacyLights instead."), !this.useLegacyLights;
|
|
@@ -77318,7 +77318,7 @@ function Toe(t, e, n) {
|
|
|
77318
77318
|
});
|
|
77319
77319
|
i.push(o);
|
|
77320
77320
|
}
|
|
77321
|
-
return
|
|
77321
|
+
return js.workingColorSpace !== dd && "COLOR_0" in r && console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${js.workingColorSpace}" not supported.`), z0(t, e), lmt(t, e, n), Promise.all(i).then(function() {
|
|
77322
77322
|
return e.targets !== void 0 ? nmt(t, e.targets, n) : t;
|
|
77323
77323
|
});
|
|
77324
77324
|
}
|
|
@@ -79394,7 +79394,7 @@ const qmt = (t) => {
|
|
|
79394
79394
|
}
|
|
79395
79395
|
};
|
|
79396
79396
|
_n(() => {
|
|
79397
|
-
var Qt, Et, bn, Ct, cn, ur, Kr, hr, zr, Un, Gn, dr, on, Fn, lr, gr, Hr, ei, Jr, yi, Ya, Qi, Qo, co, Ga, rt, mt, Fe, Be, et, pt, at, ut, _t, ue, he, Ue, We, tt, ct, Wt, Rt, dn, Nt, Kt, _r, Kn, er, Dn, hi, di, gn, tn, bi, Wr, Qr, Xo, Sa, ja, vi, ti, da, _s, La, es, Ts, Is,
|
|
79397
|
+
var Qt, Et, bn, Ct, cn, ur, Kr, hr, zr, Un, Gn, dr, on, Fn, lr, gr, Hr, ei, Jr, yi, Ya, Qi, Qo, co, Ga, rt, mt, Fe, Be, et, pt, at, ut, _t, ue, he, Ue, We, tt, ct, Wt, Rt, dn, Nt, Kt, _r, Kn, er, Dn, hi, di, gn, tn, bi, Wr, Qr, Xo, Sa, ja, vi, ti, da, _s, La, es, Ts, Is, Xs, xo, io, tl, ms;
|
|
79398
79398
|
if (ie) {
|
|
79399
79399
|
const is = ["test_behind", "test_front", "test_left", "test_right", "test_bootom", "test_top"];
|
|
79400
79400
|
for (let ar of is) {
|
|
@@ -79408,7 +79408,7 @@ const qmt = (t) => {
|
|
|
79408
79408
|
let Co = Ae.current.getObjectByName(ar);
|
|
79409
79409
|
Co && Ae.current.remove(Co);
|
|
79410
79410
|
}
|
|
79411
|
-
v && (v.current = []), (Ue = nt.current) != null && Ue.mouseLine_w && Ae.current.remove((We = nt.current) == null ? void 0 : We.mouseLine_w), (tt = nt.current) != null && tt.mouseLine_h && Ae.current.remove((ct = nt.current) == null ? void 0 : ct.mouseLine_h), typeof ((Wt = nt.current) == null ? void 0 : Wt.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((Rt = nt.current) == null ? void 0 : Rt.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), (dn = ft.current) != null && dn.mouseLine_w && Ae.current.remove((Nt = ft.current) == null ? void 0 : Nt.mouseLine_w), (Kt = ft.current) != null && Kt.mouseLine_h && Ae.current.remove((_r = ft.current) == null ? void 0 : _r.mouseLine_h), typeof ((Kn = ft.current) == null ? void 0 : Kn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((er = ft.current) == null ? void 0 : er.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), (Dn = wt.current) != null && Dn.mouseLine_w && Ae.current.remove((hi = wt.current) == null ? void 0 : hi.mouseLine_w), (di = wt.current) != null && di.mouseLine_h && Ae.current.remove((gn = wt.current) == null ? void 0 : gn.mouseLine_h), typeof ((tn = wt.current) == null ? void 0 : tn.coordText) == "object" && Ae.current.remove(wt.current.coordText), typeof ((bi = wt.current) == null ? void 0 : bi.coordTextReverse) == "object" && Ae.current.remove(wt.current.coordTextReverse), (Wr = Je.current) != null && Wr.mouseLine_w && Ae.current.remove((Qr = Je.current) == null ? void 0 : Qr.mouseLine_w), (Xo = Je.current) != null && Xo.mouseLine_h && Ae.current.remove((Sa = Je.current) == null ? void 0 : Sa.mouseLine_h), typeof ((ja = Je.current) == null ? void 0 : ja.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((vi = Je.current) == null ? void 0 : vi.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse), (ti = De.current) != null && ti.mouseLine_w && Ae.current.remove((da = De.current) == null ? void 0 : da.mouseLine_w), (_s = De.current) != null && _s.mouseLine_h && Ae.current.remove((La = De.current) == null ? void 0 : La.mouseLine_h), typeof ((es = De.current) == null ? void 0 : es.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof ((Ts = De.current) == null ? void 0 : Ts.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((Is = De.current) == null ? void 0 : Is.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((
|
|
79411
|
+
v && (v.current = []), (Ue = nt.current) != null && Ue.mouseLine_w && Ae.current.remove((We = nt.current) == null ? void 0 : We.mouseLine_w), (tt = nt.current) != null && tt.mouseLine_h && Ae.current.remove((ct = nt.current) == null ? void 0 : ct.mouseLine_h), typeof ((Wt = nt.current) == null ? void 0 : Wt.coordText) == "object" && Ae.current.remove(nt.current.coordText), typeof ((Rt = nt.current) == null ? void 0 : Rt.coordTextReverse) == "object" && Ae.current.remove(nt.current.coordTextReverse), (dn = ft.current) != null && dn.mouseLine_w && Ae.current.remove((Nt = ft.current) == null ? void 0 : Nt.mouseLine_w), (Kt = ft.current) != null && Kt.mouseLine_h && Ae.current.remove((_r = ft.current) == null ? void 0 : _r.mouseLine_h), typeof ((Kn = ft.current) == null ? void 0 : Kn.coordText) == "object" && Ae.current.remove(ft.current.coordText), typeof ((er = ft.current) == null ? void 0 : er.coordTextReverse) == "object" && Ae.current.remove(ft.current.coordTextReverse), (Dn = wt.current) != null && Dn.mouseLine_w && Ae.current.remove((hi = wt.current) == null ? void 0 : hi.mouseLine_w), (di = wt.current) != null && di.mouseLine_h && Ae.current.remove((gn = wt.current) == null ? void 0 : gn.mouseLine_h), typeof ((tn = wt.current) == null ? void 0 : tn.coordText) == "object" && Ae.current.remove(wt.current.coordText), typeof ((bi = wt.current) == null ? void 0 : bi.coordTextReverse) == "object" && Ae.current.remove(wt.current.coordTextReverse), (Wr = Je.current) != null && Wr.mouseLine_w && Ae.current.remove((Qr = Je.current) == null ? void 0 : Qr.mouseLine_w), (Xo = Je.current) != null && Xo.mouseLine_h && Ae.current.remove((Sa = Je.current) == null ? void 0 : Sa.mouseLine_h), typeof ((ja = Je.current) == null ? void 0 : ja.coordText) == "object" && Ae.current.remove(Je.current.coordText), typeof ((vi = Je.current) == null ? void 0 : vi.coordTextReverse) == "object" && Ae.current.remove(Je.current.coordTextReverse), (ti = De.current) != null && ti.mouseLine_w && Ae.current.remove((da = De.current) == null ? void 0 : da.mouseLine_w), (_s = De.current) != null && _s.mouseLine_h && Ae.current.remove((La = De.current) == null ? void 0 : La.mouseLine_h), typeof ((es = De.current) == null ? void 0 : es.coordText_lb) == "object" && Ae.current.remove(De.current.coordText_lb), typeof ((Ts = De.current) == null ? void 0 : Ts.coordText_rb) == "object" && Ae.current.remove(De.current.coordText_rb), typeof ((Is = De.current) == null ? void 0 : Is.coordText_rf) == "object" && Ae.current.remove(De.current.coordText_rf), typeof ((Xs = De.current) == null ? void 0 : Xs.coordText_lf) == "object" && Ae.current.remove(De.current.coordText_lf), (xo = st.current) != null && xo.mouseLine_w && Ae.current.remove((io = st.current) == null ? void 0 : io.mouseLine_w), (tl = st.current) != null && tl.mouseLine_h && Ae.current.remove((ms = st.current) == null ? void 0 : ms.mouseLine_h), Ft && Gt();
|
|
79412
79412
|
}
|
|
79413
79413
|
}, [ie, Ft]);
|
|
79414
79414
|
const Gt = () => {
|
|
@@ -79592,7 +79592,7 @@ const qmt = (t) => {
|
|
|
79592
79592
|
}
|
|
79593
79593
|
return Un;
|
|
79594
79594
|
}, $r = () => {
|
|
79595
|
-
var Un, Gn, dr, on, Fn, lr, gr, Hr, ei, Jr, yi, Ya, Qi, Qo, co, Ga, rt, mt, Fe, Be, et, pt, at, ut, _t, ue, he, Ue, We, tt, ct, Wt, Rt, dn, Nt, Kt, _r, Kn, er, Dn, hi, di, gn, tn, bi, Wr, Qr, Xo, Sa, ja, vi, ti, da, _s, La, es, Ts, Is,
|
|
79595
|
+
var Un, Gn, dr, on, Fn, lr, gr, Hr, ei, Jr, yi, Ya, Qi, Qo, co, Ga, rt, mt, Fe, Be, et, pt, at, ut, _t, ue, he, Ue, We, tt, ct, Wt, Rt, dn, Nt, Kt, _r, Kn, er, Dn, hi, di, gn, tn, bi, Wr, Qr, Xo, Sa, ja, vi, ti, da, _s, La, es, Ts, Is, Xs, xo, io, tl, ms, is, ar, Co, As, Ol, Zs, qa, zo, wo, Po, Ro, dl, yl, Fa, ko, ys, Ql, nl, ec, tc, nc, bs, bl, xl, zl, Hc, fs, Cc, Zo, Ms, Ls, Gc, du, Mu, wc, rl, fu, Sc, Lu, Bd, jc, hu, fc, Ou, hs, rc, Hl, Pu, fl, So, Wc, Pl, ic, il, Pi, hl, Xc, Ru, ac, Yu, ts, qu, Zc, Kc, Yc, pu, Nu, S, k, X, le, Ce, qe, Dt, rn, vn, Jn, Xr, Ii, ea, as, Ja, Os, os, Rl, al, Ju, vu, hc, Nl, Dl, Uo, oc, Du, ss, Cl, ol, ls, sc, yd, gu, Ng, i0;
|
|
79596
79596
|
let Qt = n.current.target.clone().sub(Ni.current.position.clone()), Et, bn, Ct, cn = !1, ur = !1, Kr = !1, hr = !1, zr = Ni.current.up.y <= 0;
|
|
79597
79597
|
zr ? ((Gn = (Un = De.current) == null ? void 0 : Un.coordText_lb) == null || Gn.children.forEach((qc) => {
|
|
79598
79598
|
qc.up.set(0, -1, 0);
|
|
@@ -79610,7 +79610,7 @@ const qmt = (t) => {
|
|
|
79610
79610
|
qc.up.set(0, 1, 0);
|
|
79611
79611
|
}), (Ga = (co = De.current) == null ? void 0 : co.coordText_rb) == null || Ga.children.forEach((qc) => {
|
|
79612
79612
|
qc.up.set(0, 1, 0);
|
|
79613
|
-
})), Et = (rt = nt.current) == null ? void 0 : rt.normalVector, Ct = nt, bn = Et && Qt.dot(Et), ur = !1, (mt = Ct.current) != null && mt.coordMesh && Ae.current.remove((Fe = Ct.current) == null ? void 0 : Fe.coordMesh), (Be = Ct.current) != null && Be.mouseLine_w && Ae.current.remove((et = Ct.current) == null ? void 0 : et.mouseLine_w), (pt = Ct.current) != null && pt.mouseLine_h && Ae.current.remove((at = Ct.current) == null ? void 0 : at.mouseLine_h), typeof ((ut = Ct.current) == null ? void 0 : ut.coordText) == "object" && Ae.current.remove((_t = Ct.current) == null ? void 0 : _t.coordText), typeof ((ue = Ct.current) == null ? void 0 : ue.coordTextReverse) == "object" && Ae.current.remove((he = Ct.current) == null ? void 0 : he.coordTextReverse), bn && bn >= 0 && (ur = !0, (Ue = Ct.current) != null && Ue.coordMesh && Ae.current.add((We = Ct.current) == null ? void 0 : We.coordMesh), (tt = Ct.current) != null && tt.mouseLine_w && Ae.current.add((ct = Ct.current) == null ? void 0 : ct.mouseLine_w), (Wt = Ct.current) != null && Wt.mouseLine_h && Ae.current.add((Rt = Ct.current) == null ? void 0 : Rt.mouseLine_h), zr ? typeof ((dn = Ct.current) == null ? void 0 : dn.coordText) == "object" && Ae.current.add((Nt = Ct.current) == null ? void 0 : Nt.coordText) : typeof ((Kt = Ct.current) == null ? void 0 : Kt.coordTextReverse) == "object" && Ae.current.add((_r = Ct.current) == null ? void 0 : _r.coordTextReverse)), Et = (Kn = ft.current) == null ? void 0 : Kn.normalVector, Ct = ft, bn = Et && Qt.dot(Et), cn = !1, (er = Ct.current) != null && er.coordMesh && Ae.current.remove((Dn = Ct.current) == null ? void 0 : Dn.coordMesh), (hi = Ct.current) != null && hi.mouseLine_w && Ae.current.remove((di = Ct.current) == null ? void 0 : di.mouseLine_w), (gn = Ct.current) != null && gn.mouseLine_h && Ae.current.remove((tn = Ct.current) == null ? void 0 : tn.mouseLine_h), typeof ((bi = Ct.current) == null ? void 0 : bi.coordText) == "object" && Ae.current.remove((Wr = Ct.current) == null ? void 0 : Wr.coordText), typeof ((Qr = Ct.current) == null ? void 0 : Qr.coordTextReverse) == "object" && Ae.current.remove((Xo = Ct.current) == null ? void 0 : Xo.coordTextReverse), bn && bn >= 0 && (cn = !0, (Sa = Ct.current) != null && Sa.coordMesh && Ae.current.add((ja = Ct.current) == null ? void 0 : ja.coordMesh), (vi = Ct.current) != null && vi.mouseLine_w && Ae.current.add((ti = Ct.current) == null ? void 0 : ti.mouseLine_w), (da = Ct.current) != null && da.mouseLine_h && Ae.current.add((_s = Ct.current) == null ? void 0 : _s.mouseLine_h), zr ? typeof ((La = Ct.current) == null ? void 0 : La.coordText) == "object" && Ae.current.add((es = Ct.current) == null ? void 0 : es.coordText) : typeof ((Ts = Ct.current) == null ? void 0 : Ts.coordTextReverse) == "object" && Ae.current.add((Is = Ct.current) == null ? void 0 : Is.coordTextReverse)), Et = (
|
|
79613
|
+
})), Et = (rt = nt.current) == null ? void 0 : rt.normalVector, Ct = nt, bn = Et && Qt.dot(Et), ur = !1, (mt = Ct.current) != null && mt.coordMesh && Ae.current.remove((Fe = Ct.current) == null ? void 0 : Fe.coordMesh), (Be = Ct.current) != null && Be.mouseLine_w && Ae.current.remove((et = Ct.current) == null ? void 0 : et.mouseLine_w), (pt = Ct.current) != null && pt.mouseLine_h && Ae.current.remove((at = Ct.current) == null ? void 0 : at.mouseLine_h), typeof ((ut = Ct.current) == null ? void 0 : ut.coordText) == "object" && Ae.current.remove((_t = Ct.current) == null ? void 0 : _t.coordText), typeof ((ue = Ct.current) == null ? void 0 : ue.coordTextReverse) == "object" && Ae.current.remove((he = Ct.current) == null ? void 0 : he.coordTextReverse), bn && bn >= 0 && (ur = !0, (Ue = Ct.current) != null && Ue.coordMesh && Ae.current.add((We = Ct.current) == null ? void 0 : We.coordMesh), (tt = Ct.current) != null && tt.mouseLine_w && Ae.current.add((ct = Ct.current) == null ? void 0 : ct.mouseLine_w), (Wt = Ct.current) != null && Wt.mouseLine_h && Ae.current.add((Rt = Ct.current) == null ? void 0 : Rt.mouseLine_h), zr ? typeof ((dn = Ct.current) == null ? void 0 : dn.coordText) == "object" && Ae.current.add((Nt = Ct.current) == null ? void 0 : Nt.coordText) : typeof ((Kt = Ct.current) == null ? void 0 : Kt.coordTextReverse) == "object" && Ae.current.add((_r = Ct.current) == null ? void 0 : _r.coordTextReverse)), Et = (Kn = ft.current) == null ? void 0 : Kn.normalVector, Ct = ft, bn = Et && Qt.dot(Et), cn = !1, (er = Ct.current) != null && er.coordMesh && Ae.current.remove((Dn = Ct.current) == null ? void 0 : Dn.coordMesh), (hi = Ct.current) != null && hi.mouseLine_w && Ae.current.remove((di = Ct.current) == null ? void 0 : di.mouseLine_w), (gn = Ct.current) != null && gn.mouseLine_h && Ae.current.remove((tn = Ct.current) == null ? void 0 : tn.mouseLine_h), typeof ((bi = Ct.current) == null ? void 0 : bi.coordText) == "object" && Ae.current.remove((Wr = Ct.current) == null ? void 0 : Wr.coordText), typeof ((Qr = Ct.current) == null ? void 0 : Qr.coordTextReverse) == "object" && Ae.current.remove((Xo = Ct.current) == null ? void 0 : Xo.coordTextReverse), bn && bn >= 0 && (cn = !0, (Sa = Ct.current) != null && Sa.coordMesh && Ae.current.add((ja = Ct.current) == null ? void 0 : ja.coordMesh), (vi = Ct.current) != null && vi.mouseLine_w && Ae.current.add((ti = Ct.current) == null ? void 0 : ti.mouseLine_w), (da = Ct.current) != null && da.mouseLine_h && Ae.current.add((_s = Ct.current) == null ? void 0 : _s.mouseLine_h), zr ? typeof ((La = Ct.current) == null ? void 0 : La.coordText) == "object" && Ae.current.add((es = Ct.current) == null ? void 0 : es.coordText) : typeof ((Ts = Ct.current) == null ? void 0 : Ts.coordTextReverse) == "object" && Ae.current.add((Is = Ct.current) == null ? void 0 : Is.coordTextReverse)), Et = (Xs = wt.current) == null ? void 0 : Xs.normalVector, Ct = wt, bn = Et && Qt.dot(Et), Kr = !1, (xo = Ct.current) != null && xo.coordMesh && Ae.current.remove((io = Ct.current) == null ? void 0 : io.coordMesh), (tl = Ct.current) != null && tl.mouseLine_w && Ae.current.remove((ms = Ct.current) == null ? void 0 : ms.mouseLine_w), (is = Ct.current) != null && is.mouseLine_h && Ae.current.remove((ar = Ct.current) == null ? void 0 : ar.mouseLine_h), typeof ((Co = Ct.current) == null ? void 0 : Co.coordText) == "object" && Ae.current.remove((As = Ct.current) == null ? void 0 : As.coordText), typeof ((Ol = Ct.current) == null ? void 0 : Ol.coordTextReverse) == "object" && Ae.current.remove((Zs = Ct.current) == null ? void 0 : Zs.coordTextReverse), bn && bn >= 0 && (Kr = !0, (qa = Ct.current) != null && qa.coordMesh && Ae.current.add((zo = Ct.current) == null ? void 0 : zo.coordMesh), (wo = Ct.current) != null && wo.mouseLine_w && Ae.current.add((Po = Ct.current) == null ? void 0 : Po.mouseLine_w), (Ro = Ct.current) != null && Ro.mouseLine_h && Ae.current.add((dl = Ct.current) == null ? void 0 : dl.mouseLine_h), zr ? typeof ((yl = Ct.current) == null ? void 0 : yl.coordText) == "object" && Ae.current.add((Fa = Ct.current) == null ? void 0 : Fa.coordText) : typeof ((ko = Ct.current) == null ? void 0 : ko.coordTextReverse) == "object" && Ae.current.add((ys = Ct.current) == null ? void 0 : ys.coordTextReverse)), Et = (Ql = Je.current) == null ? void 0 : Ql.normalVector, Ct = Je, bn = Et && Qt.dot(Et), hr = !1, (nl = Ct.current) != null && nl.coordMesh && Ae.current.remove((ec = Ct.current) == null ? void 0 : ec.coordMesh), (tc = Ct.current) != null && tc.mouseLine_w && Ae.current.remove((nc = Ct.current) == null ? void 0 : nc.mouseLine_w), (bs = Ct.current) != null && bs.mouseLine_h && Ae.current.remove((bl = Ct.current) == null ? void 0 : bl.mouseLine_h), typeof ((xl = Ct.current) == null ? void 0 : xl.coordText) == "object" && Ae.current.remove((zl = Ct.current) == null ? void 0 : zl.coordText), typeof ((Hc = Ct.current) == null ? void 0 : Hc.coordTextReverse) == "object" && Ae.current.remove((fs = Ct.current) == null ? void 0 : fs.coordTextReverse), bn && bn >= 0 && (hr = !0, (Cc = Ct.current) != null && Cc.coordMesh && Ae.current.add((Zo = Ct.current) == null ? void 0 : Zo.coordMesh), (Ms = Ct.current) != null && Ms.mouseLine_w && Ae.current.add((Ls = Ct.current) == null ? void 0 : Ls.mouseLine_w), (Gc = Ct.current) != null && Gc.mouseLine_h && Ae.current.add((du = Ct.current) == null ? void 0 : du.mouseLine_h), zr ? typeof ((Mu = Ct.current) == null ? void 0 : Mu.coordText) == "object" && Ae.current.add((wc = Ct.current) == null ? void 0 : wc.coordText) : typeof ((rl = Ct.current) == null ? void 0 : rl.coordTextReverse) == "object" && Ae.current.add((fu = Ct.current) == null ? void 0 : fu.coordTextReverse)), Et = (Sc = De.current) == null ? void 0 : Sc.normalVector, Ct = De, bn = Et && Qt.dot(Et), bn && bn >= 0 ? ((Lu = Ct.current) != null && Lu.coordMesh && Ae.current.add((Bd = Ct.current) == null ? void 0 : Bd.coordMesh), (jc = Ct.current) != null && jc.mouseLine_w && Ae.current.add((hu = Ct.current) == null ? void 0 : hu.mouseLine_w), (fc = Ct.current) != null && fc.mouseLine_h && Ae.current.add((Ou = Ct.current) == null ? void 0 : Ou.mouseLine_h), (hs = Ct.current) != null && hs.coordText_lb && Ae.current.remove((rc = Ct.current) == null ? void 0 : rc.coordText_lb), (Hl = Ct.current) != null && Hl.coordText_rb && Ae.current.remove((Pu = Ct.current) == null ? void 0 : Pu.coordText_rb), (fl = Ct.current) != null && fl.coordText_lf && Ae.current.remove((So = Ct.current) == null ? void 0 : So.coordText_lf), (Wc = Ct.current) != null && Wc.coordText_rf && Ae.current.remove((Pl = Ct.current) == null ? void 0 : Pl.coordText_rf), ur && Kr ? (ic = Ct.current) != null && ic.coordText_lb && Ae.current.add((il = Ct.current) == null ? void 0 : il.coordText_lb) : ur && hr ? (Pi = Ct.current) != null && Pi.coordText_rb && Ae.current.add((hl = Ct.current) == null ? void 0 : hl.coordText_rb) : cn && hr ? (Xc = Ct.current) != null && Xc.coordText_rf && Ae.current.add((Ru = Ct.current) == null ? void 0 : Ru.coordText_rf) : cn && Kr && (ac = Ct.current) != null && ac.coordText_lf && Ae.current.add((Yu = Ct.current) == null ? void 0 : Yu.coordText_lf)) : ((ts = Ct.current) != null && ts.coordMesh && Ae.current.remove((qu = Ct.current) == null ? void 0 : qu.coordMesh), (Zc = Ct.current) != null && Zc.mouseLine_w && Ae.current.remove((Kc = Ct.current) == null ? void 0 : Kc.mouseLine_w), (Yc = Ct.current) != null && Yc.mouseLine_h && Ae.current.remove((pu = Ct.current) == null ? void 0 : pu.mouseLine_h), (Nu = Ct.current) != null && Nu.coordText_lb && Ae.current.remove((S = Ct.current) == null ? void 0 : S.coordText_lb), (k = Ct.current) != null && k.coordText_rb && Ae.current.remove((X = Ct.current) == null ? void 0 : X.coordText_rb), (le = Ct.current) != null && le.coordText_lf && Ae.current.remove((Ce = Ct.current) == null ? void 0 : Ce.coordText_lf), (qe = Ct.current) != null && qe.coordText_rf && Ae.current.remove((Dt = Ct.current) == null ? void 0 : Dt.coordText_rf)), Et = (rn = st.current) == null ? void 0 : rn.normalVector, Ct = st, bn = Et && Qt.dot(Et), bn && bn >= 0 ? ((vn = Ct.current) != null && vn.coordMesh && Ae.current.add((Jn = Ct.current) == null ? void 0 : Jn.coordMesh), (Xr = Ct.current) != null && Xr.mouseLine_w && Ae.current.add((Ii = Ct.current) == null ? void 0 : Ii.mouseLine_w), (ea = Ct.current) != null && ea.mouseLine_h && Ae.current.add((as = Ct.current) == null ? void 0 : as.mouseLine_h), (Ja = De.current) != null && Ja.coordText_lb && Ae.current.remove((Os = De.current) == null ? void 0 : Os.coordText_lb), (os = De.current) != null && os.coordText_rb && Ae.current.remove((Rl = De.current) == null ? void 0 : Rl.coordText_rb), (al = De.current) != null && al.coordText_lf && Ae.current.remove((Ju = De.current) == null ? void 0 : Ju.coordText_lf), (vu = De.current) != null && vu.coordText_rf && Ae.current.remove((hc = De.current) == null ? void 0 : hc.coordText_rf), ur && Kr ? (Nl = De.current) != null && Nl.coordText_lb && Ae.current.add((Dl = De.current) == null ? void 0 : Dl.coordText_lb) : ur && hr ? (Uo = De.current) != null && Uo.coordText_rb && Ae.current.add((oc = De.current) == null ? void 0 : oc.coordText_rb) : cn && hr ? (Du = De.current) != null && Du.coordText_rf && Ae.current.add((ss = De.current) == null ? void 0 : ss.coordText_rf) : cn && Kr && (Cl = De.current) != null && Cl.coordText_lf && Ae.current.add((ol = De.current) == null ? void 0 : ol.coordText_lf)) : ((ls = Ct.current) != null && ls.coordMesh && Ae.current.remove((sc = Ct.current) == null ? void 0 : sc.coordMesh), (yd = Ct.current) != null && yd.mouseLine_w && Ae.current.remove((gu = Ct.current) == null ? void 0 : gu.mouseLine_w), (Ng = Ct.current) != null && Ng.mouseLine_h && Ae.current.remove((i0 = Ct.current) == null ? void 0 : i0.mouseLine_h));
|
|
79614
79614
|
}, sr = (Qt) => {
|
|
79615
79615
|
g != null && g.current && Ae.current.remove(g.current);
|
|
79616
79616
|
const Et = new na().setFromPoints(Qt), bn = new Df({ color: 255 }), Ct = new ka(Et, bn);
|
|
@@ -79630,7 +79630,7 @@ const qmt = (t) => {
|
|
|
79630
79630
|
}).then((Ct) => {
|
|
79631
79631
|
if (Ct.ok)
|
|
79632
79632
|
return Ct.json();
|
|
79633
|
-
throw
|
|
79633
|
+
throw Gs.error({
|
|
79634
79634
|
content: "失败"
|
|
79635
79635
|
}), new Error(Ct.statusText);
|
|
79636
79636
|
}).then((Ct) => {
|
|
@@ -125793,7 +125793,7 @@ const aHt = xc((t, e) => {
|
|
|
125793
125793
|
"div",
|
|
125794
125794
|
null,
|
|
125795
125795
|
R.createElement(
|
|
125796
|
-
|
|
125796
|
+
Gs,
|
|
125797
125797
|
{ className: "Echart", open: Je, onOk: () => {
|
|
125798
125798
|
wt(!1);
|
|
125799
125799
|
}, onCancel: () => {
|
|
@@ -129536,11 +129536,11 @@ ty(6, () => {
|
|
|
129536
129536
|
throw new Error("old style JPEG compression is not supported.");
|
|
129537
129537
|
});
|
|
129538
129538
|
ty(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
|
|
129539
|
-
ty([8, 32946], () => import("./deflate-
|
|
129539
|
+
ty([8, 32946], () => import("./deflate-5df4d0b2.mjs").then((t) => t.default));
|
|
129540
129540
|
ty(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
|
|
129541
129541
|
ty(
|
|
129542
129542
|
34887,
|
|
129543
|
-
() => import("./lerc-
|
|
129543
|
+
() => import("./lerc-212e03f8.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
|
|
129544
129544
|
);
|
|
129545
129545
|
ty(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
|
|
129546
129546
|
function cR(t, e, n, r = 1) {
|
|
@@ -131344,9 +131344,9 @@ const QUt = {
|
|
|
131344
131344
|
const { regionData: n, setoffset_factor: r, offset_factor_R: i, t: a, hrefStr: o, leftTreeRef: s, angleRef: c, jiaoduRef: u, mouseflag: d, renderer: f, controls: h, menutagShow: p, setMenuTag: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, material: C, setShowimage: w, childRef: E, checkItems: I, setoutflag: P, fetchCoordinateFunc: M, setendPoint: N, clickPoint: D, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: ne, responsefunc: se, mode: q, setCheckItems: re, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: ye, swcnameMesh: ve, setMode: pe, vesselRef: te, swcRef: xe, vesselStr: Q, lableStr: be, setShowSettingModal: de, showSettingModal: Ee, fbxTreeDatas: Pe, composer: $e, setEchartValue: Ne, echartValue: we, sectionsInfoRef: Ke, sectionsInfo: ge, setSectionsInfo: ce, gray_value: Le, setLuguchecked: it, Luguchecked: Re, datum: Ge, setGridShow: ht, PointShow: dt, nodeStr: vt, lefttab: St, righttab: st, atlasData: De, flowObjectsRef: ft, setTip: nt, tip: Je } = t, [wt, ze] = bt(!1), [Lt, At] = bt(!1), [Ut, Ot] = bt(!1), [zt, Zt] = bt(!1), [fn, wn] = bt(!1), [In, zn] = bt(!1), [nn, Or] = bt(!1), [Mn, yn] = bt(!1), [kn, hn] = bt(Da.atlasReslicingInfo.angleX || 120), [Yn, fr] = bt(Da.atlasReslicingInfo.angleY || 320), [Rr, Hn] = bt(Da.atlasReslicingInfo.angleZ || 270), [ir, je] = bt(Da.atlasReslicingInfo.positionX || 0), [Mt, kt] = bt(Da.atlasReslicingInfo.positionY || 0), [Vt, Ft] = bt(Da.atlasReslicingInfo.positionZ || 0), [jt, Ht] = bt(Da.atlasReslicingInfo.translateX || !0), [qt, Vn] = bt(Da.atlasReslicingInfo.translateY || !0), [Gt, Pt] = bt(Da.atlasReslicingInfo.translateZ || !0), [Jt, $n] = bt(Da.atlasReslicingInfo.rotate || !0), [Ln, Cr] = bt(Da.atlasReslicingInfo.ButtonDisabled || !0), [Mr, qn] = bt(!1), [an, Zn] = bt(!1), [Sn, Tn] = bt(!1), [Nn, Qn] = bt(!1), [Zr, wr] = bt(a("5000.0006") || "显示数据块"), [$r, sr] = bt(1), [xr, qr] = bt(1), [tr, Nr] = bt([]), [ji, Zi] = bt([]), [Ui, Yi] = bt(!1), [$i, wa] = bt({}), [Oo, Ta] = bt(!1), [ii, ai] = bt(""), [va, Qt] = bt("Config_DAPI.ini"), [Et, bn] = bt("applySTAM2CCF"), [Ct, cn] = bt(0), [ur, Kr] = bt(!1), [hr, zr] = bt(!1), [Un, Gn] = bt(!1), [dr, on] = bt(!0), [Fn, lr] = bt(2), [gr, Hr] = bt(!1), [ei, Jr] = bt({}), yi = Ye(Da.atlasReslicingInfo.direction1 || 4), Ya = Ye(null), Qi = Ye(null), [Qo, co] = bt(!1), Ga = Ye(null), rt = Ye(window.location.href.split("/")[2]), mt = Ye(new lS(Ni.current, f == null ? void 0 : f.domElement)), Fe = Ye(0), Be = Ye(0), et = Ye(new nr()), pt = Ye(new Ie()), at = Ye(new Ie()), ut = Ye(new nr()), _t = Ye(new Ie(1, 0, 0)), ue = Ye(new nr()), he = Ye(null), Ue = Ye(new jz()), We = Ye(null), tt = Ye([]), ct = Ye(null), Wt = Ye(new nr()), Rt = Ye(new Wu()), [dn, Nt] = bt(Da.otherAtlases), Kt = {
|
|
131345
131345
|
min: new Ie(59.74305725097656, 69.15838623046875, 0.9565062522888184),
|
|
131346
131346
|
max: new Ie(1081.3045654296875, 800.6698608398438, 1400.156005859375)
|
|
131347
|
-
}, [_r, Kn] = bt([]), er = Ye({}), Dn = Ye(!1), hi = Ye([0, 0]), di = Ye([0, 0]), gn = Ye(""), tn = Ye(!1), [bi, Wr] = bt(!1), [Qr, Xo] = bt(!1), [Sa, ja] = bt(0), [vi, ti] = bt(0), [da, _s] = bt([]), [La, es] = bt([]), Ts = Ye(null), Is = Ye(null), [
|
|
131347
|
+
}, [_r, Kn] = bt([]), er = Ye({}), Dn = Ye(!1), hi = Ye([0, 0]), di = Ye([0, 0]), gn = Ye(""), tn = Ye(!1), [bi, Wr] = bt(!1), [Qr, Xo] = bt(!1), [Sa, ja] = bt(0), [vi, ti] = bt(0), [da, _s] = bt([]), [La, es] = bt([]), Ts = Ye(null), Is = Ye(null), [Xs, xo] = bt(""), [io, tl] = bt(null), [ms, is] = bt(lve || ""), [ar, Co] = bt(!1);
|
|
131348
131348
|
bt("");
|
|
131349
|
-
const As = Ye(""), [Ol,
|
|
131349
|
+
const As = Ye(""), [Ol, Zs] = bt(Da.leftHemisphereVisibility), qa = Ye([]);
|
|
131350
131350
|
Ye([]);
|
|
131351
131351
|
const [zo, wo] = bt(!1), [Po, Ro] = bt(!1), dl = Ye(!0), yl = Ye(!0), Fa = Ye(""), ko = Ye({
|
|
131352
131352
|
target: h.current.target.clone(),
|
|
@@ -132150,7 +132150,7 @@ const QUt = {
|
|
|
132150
132150
|
y: 0,
|
|
132151
132151
|
z: Bt.z
|
|
132152
132152
|
})
|
|
132153
|
-
}).then(($t) => $t.ok ? $t.json() :
|
|
132153
|
+
}).then(($t) => $t.ok ? $t.json() : Gs.error({
|
|
132154
132154
|
title: $t.message
|
|
132155
132155
|
})).then(($t) => {
|
|
132156
132156
|
const On = $t.base64;
|
|
@@ -132169,7 +132169,7 @@ const QUt = {
|
|
|
132169
132169
|
y: 0,
|
|
132170
132170
|
z: 0
|
|
132171
132171
|
})
|
|
132172
|
-
}).then(($t) => $t.ok ? $t.json() :
|
|
132172
|
+
}).then(($t) => $t.ok ? $t.json() : Gs.error({
|
|
132173
132173
|
title: $t.message
|
|
132174
132174
|
})).then(($t) => {
|
|
132175
132175
|
const On = $t.base64;
|
|
@@ -132194,7 +132194,7 @@ const QUt = {
|
|
|
132194
132194
|
})
|
|
132195
132195
|
}).then(($t) => ($t.ok, $t.json())).then(($t) => {
|
|
132196
132196
|
if ($t.message) {
|
|
132197
|
-
|
|
132197
|
+
Gs.error({
|
|
132198
132198
|
content: $t.message
|
|
132199
132199
|
});
|
|
132200
132200
|
return;
|
|
@@ -132218,7 +132218,7 @@ const QUt = {
|
|
|
132218
132218
|
angles: [$t, On, pn],
|
|
132219
132219
|
center: [Bt.x, Bt.y, Bt.z]
|
|
132220
132220
|
})
|
|
132221
|
-
}).then((mr) => mr.ok ? mr.json() :
|
|
132221
|
+
}).then((mr) => mr.ok ? mr.json() : Gs.error({
|
|
132222
132222
|
title: mr.message
|
|
132223
132223
|
})).then((mr) => {
|
|
132224
132224
|
const or = mr.base64;
|
|
@@ -132654,7 +132654,7 @@ const QUt = {
|
|
|
132654
132654
|
vt.Lable && Ii(vt.Lable), ne(!0);
|
|
132655
132655
|
} }, E.current.checkedKeys.current.includes(vt.Lable) ? a("5000.6023", { name: vt.Lable }) || `隐藏${vt.Lable}的三维形貌` : a("5000.6024", { name: vt.Lable }) || `显示${vt.Lable}的三维形貌`)
|
|
132656
132656
|
}
|
|
132657
|
-
] : [], [Z, Q, ee, be, $r,
|
|
132657
|
+
] : [], [Z, Q, ee, be, $r, Xs, ge, io, vt]), oc = (Te) => {
|
|
132658
132658
|
Te = Te.replace(/[\[\]]/g, "\\$&");
|
|
132659
132659
|
var He = new RegExp("[?&]" + Te + "(=([^&#]*)|&|#|$)"), ot = He.exec(window.location.href);
|
|
132660
132660
|
return ot ? ot[2] ? decodeURIComponent(ot[2].replace(/\+/g, " ")) : "" : null;
|
|
@@ -132703,7 +132703,7 @@ const QUt = {
|
|
|
132703
132703
|
const On = window.location.origin + window.location.pathname + `?${Te}=${He}`;
|
|
132704
132704
|
fetch("/app-api/java-api/brainsweb-service/record/list", {
|
|
132705
132705
|
method: "post",
|
|
132706
|
-
body: JSON.stringify({
|
|
132706
|
+
body: JSON.stringify({ href: On, time: 0 })
|
|
132707
132707
|
}).then((pn) => pn.json()).then((pn) => {
|
|
132708
132708
|
});
|
|
132709
132709
|
}, ol = (Te, He, ot) => {
|
|
@@ -132772,7 +132772,7 @@ const QUt = {
|
|
|
132772
132772
|
We.current = gt.path;
|
|
132773
132773
|
}
|
|
132774
132774
|
else
|
|
132775
|
-
gt.message &&
|
|
132775
|
+
gt.message && Gs.error({
|
|
132776
132776
|
content: gt.message
|
|
132777
132777
|
});
|
|
132778
132778
|
});
|
|
@@ -132815,7 +132815,7 @@ const QUt = {
|
|
|
132815
132815
|
method: "post",
|
|
132816
132816
|
body: ot
|
|
132817
132817
|
}).then((gt) => gt.json()).then((gt) => {
|
|
132818
|
-
gt.code === 200 ? (Rc.success("update success"), He === 2 ? Zi([{ url: "data:image/png;base64," + gt.base64_url }]) : (Nr([{ url: "data:image/png;base64," + gt.base64_url }]), wa({}), We.current = gt.path)) : gt.message &&
|
|
132818
|
+
gt.code === 200 ? (Rc.success("update success"), He === 2 ? Zi([{ url: "data:image/png;base64," + gt.base64_url }]) : (Nr([{ url: "data:image/png;base64," + gt.base64_url }]), wa({}), We.current = gt.path)) : gt.message && Gs.error({
|
|
132819
132819
|
content: a("5000.0003") || "上传失败,请联系管理员"
|
|
132820
132820
|
});
|
|
132821
132821
|
});
|
|
@@ -132958,7 +132958,7 @@ const QUt = {
|
|
|
132958
132958
|
}).then((Bt) => {
|
|
132959
132959
|
if (Bt.ok)
|
|
132960
132960
|
return Bt.json();
|
|
132961
|
-
throw
|
|
132961
|
+
throw Gs.error({
|
|
132962
132962
|
content: a("5000.7027") || "计算失败"
|
|
132963
132963
|
}), new Error(Bt.statusText);
|
|
132964
132964
|
}).then((Bt) => {
|
|
@@ -133362,7 +133362,7 @@ const QUt = {
|
|
|
133362
133362
|
ot.style.display = "none", ot.href = Bt, ot.download = "temp.tiff", ot.click(), window.URL.revokeObjectURL(Bt), Yi(!1);
|
|
133363
133363
|
}
|
|
133364
133364
|
}).catch((He) => {
|
|
133365
|
-
Yi(!1),
|
|
133365
|
+
Yi(!1), Gs.error({ title: a("5000.7026") || "请求超时,下载失败" });
|
|
133366
133366
|
});
|
|
133367
133367
|
}, Mv = Kl((Te) => {
|
|
133368
133368
|
Te.stopPropagation(), (Te.key === "a" || Te.key === "A") && (mt.current.getMode() === "translate" ? mt.current.setMode("scale") : mt.current.setMode("translate"));
|
|
@@ -133442,7 +133442,7 @@ const QUt = {
|
|
|
133442
133442
|
},
|
|
133443
133443
|
body: JSON.stringify(Te)
|
|
133444
133444
|
}).then((He) => He.ok ? He.json() : (Kr(!1), He.json().then((ot) => {
|
|
133445
|
-
throw co(!0), He.status === 401
|
|
133445
|
+
throw co(!0), He.status === 401 && Gs.confirm({
|
|
133446
133446
|
content: ot.message,
|
|
133447
133447
|
onOk() {
|
|
133448
133448
|
fetch("/app-api/d-api/update_key", {
|
|
@@ -133455,7 +133455,9 @@ const QUt = {
|
|
|
133455
133455
|
},
|
|
133456
133456
|
onCancel() {
|
|
133457
133457
|
}
|
|
133458
|
-
})
|
|
133458
|
+
}), He.status === 429 ? Gs.error({
|
|
133459
|
+
content: a("5000.7029") || "请求过于频繁,请稍后再试"
|
|
133460
|
+
}) : Gs.error({
|
|
133459
133461
|
content: a("5000.7027") || "计算失败"
|
|
133460
133462
|
}), new Error(ot.message || He.statusText);
|
|
133461
133463
|
}))).then((He) => {
|
|
@@ -133481,7 +133483,7 @@ const QUt = {
|
|
|
133481
133483
|
}, Tx = () => {
|
|
133482
133484
|
wo(!1);
|
|
133483
133485
|
}, oE = (Te) => {
|
|
133484
|
-
if (
|
|
133486
|
+
if (Zs(Te), Da.leftHemisphereVisibility = Te, Te) {
|
|
133485
133487
|
for (let He in Ea.current)
|
|
133486
133488
|
Ea.current[He] && I.includes(He) && Ae.current.add(Ea.current[He]);
|
|
133487
133489
|
lv.current = !0;
|
|
@@ -133510,11 +133512,11 @@ const QUt = {
|
|
|
133510
133512
|
}).then((He) => {
|
|
133511
133513
|
if (He.ok)
|
|
133512
133514
|
return He.json();
|
|
133513
|
-
throw zr(!1), Gn(!1),
|
|
133515
|
+
throw zr(!1), Gn(!1), Gs.error({
|
|
133514
133516
|
content: a("5000.7028") || "没有合适的路径"
|
|
133515
133517
|
}), new Error(He.statusText);
|
|
133516
133518
|
}).then((He) => {
|
|
133517
|
-
zr(!1), Gn(!1), He.code === 200 && N ? N(new Ie(He.point[0], He.point[1], He.point[2])) :
|
|
133519
|
+
zr(!1), Gn(!1), He.code === 200 && N ? N(new Ie(He.point[0], He.point[1], He.point[2])) : Gs.error({
|
|
133518
133520
|
content: a("5000.7027") || "计算失败"
|
|
133519
133521
|
});
|
|
133520
133522
|
});
|
|
@@ -133552,7 +133554,7 @@ const QUt = {
|
|
|
133552
133554
|
}).then((ot) => {
|
|
133553
133555
|
if (ot.ok)
|
|
133554
133556
|
return ot.json();
|
|
133555
|
-
throw
|
|
133557
|
+
throw Gs.error({
|
|
133556
133558
|
content: a("5000.5047") || "提交失败"
|
|
133557
133559
|
}), new Error(ot.statusText);
|
|
133558
133560
|
}).then((ot) => {
|
|
@@ -134243,14 +134245,14 @@ const QUt = {
|
|
|
134243
134245
|
"Loading....wait..."
|
|
134244
134246
|
)
|
|
134245
134247
|
),
|
|
134246
|
-
R.createElement(
|
|
134248
|
+
R.createElement(Gs, { open: gr, centered: !0, okText: a("5000.0011") || "发送邮件", cancelText: a("5000.0112") || "取消", onOk: () => {
|
|
134247
134249
|
const Te = "Request to download data blocks", He = `startX:${(er.current.bwidth * 11.15).toFixed(2)},startY:${(er.current.bheight * 12.31).toFixed(2)},startZ:${(er.current.bdepth * 10).toFixed(2)}
|
|
134248
134250
|
endX:${(er.current.ewidth * 11.15).toFixed(2)},startY:${(er.current.eheight * 12.31).toFixed(2)},startZ:${(er.current.edepth * 10).toFixed(2)}
|
|
134249
134251
|
Downsampling level:${Fn}
|
|
134250
134252
|
`, gt = `mailto:fengzhao@brainsmatics.org?subject=${encodeURIComponent(Te)}&body=${encodeURIComponent(He)}`, Bt = document.createElement("a");
|
|
134251
134253
|
Bt.href = gt, Bt.click(), Hr(!1);
|
|
134252
134254
|
}, onCancel: () => Hr(!1) }, a("5000.0012") || "当前下载文件已超出服务器传输限制,您可以选择降低采样等级或者发送邮件,是否发送邮件?"),
|
|
134253
|
-
R.createElement(
|
|
134255
|
+
R.createElement(Gs, { open: bi, centered: !0, footer: null, onCancel: () => {
|
|
134254
134256
|
Wr(!1), ja(0);
|
|
134255
134257
|
} }, Sa === 0 ? R.createElement(
|
|
134256
134258
|
R.Fragment,
|
|
@@ -134339,7 +134341,7 @@ Downsampling level:${Fn}
|
|
|
134339
134341
|
} }, a("5000.5050") || "保存")
|
|
134340
134342
|
)
|
|
134341
134343
|
)),
|
|
134342
|
-
R.createElement(
|
|
134344
|
+
R.createElement(Gs, { open: Qr, centered: !0, footer: null, onCancel: () => {
|
|
134343
134345
|
Xo(!1), ti(0);
|
|
134344
134346
|
} }, vi === 0 ? R.createElement(
|
|
134345
134347
|
R.Fragment,
|
|
@@ -134431,7 +134433,7 @@ Downsampling level:${Fn}
|
|
|
134431
134433
|
},
|
|
134432
134434
|
body: JSON.stringify({ key: gn.current, aplType: 2 })
|
|
134433
134435
|
}).then((Te) => Te.ok ? (Xo(!1), tn.current = !0, $r == 3 ? as() : kg(), Te.json()) : (tn.current = !1, Te.json())).then((Te) => {
|
|
134434
|
-
Te.message &&
|
|
134436
|
+
Te.message && Gs.error({
|
|
134435
134437
|
content: Te.message
|
|
134436
134438
|
});
|
|
134437
134439
|
});
|
|
@@ -134439,7 +134441,7 @@ Downsampling level:${Fn}
|
|
|
134439
134441
|
)
|
|
134440
134442
|
)),
|
|
134441
134443
|
R.createElement(
|
|
134442
|
-
|
|
134444
|
+
Gs,
|
|
134443
134445
|
{ open: Ee, centered: !0, footer: null, onCancel: () => {
|
|
134444
134446
|
de(!1);
|
|
134445
134447
|
} },
|
|
@@ -134567,7 +134569,7 @@ Downsampling level:${Fn}
|
|
|
134567
134569
|
)
|
|
134568
134570
|
)
|
|
134569
134571
|
),
|
|
134570
|
-
R.createElement(
|
|
134572
|
+
R.createElement(Gs, { className: "Echart", title: R.createElement(
|
|
134571
134573
|
R.Fragment,
|
|
134572
134574
|
null,
|
|
134573
134575
|
R.createElement("span", null, "Connectivity diagram"),
|
|
@@ -134820,7 +134822,7 @@ Downsampling level:${Fn}
|
|
|
134820
134822
|
y: 0,
|
|
134821
134823
|
z: de.z
|
|
134822
134824
|
})
|
|
134823
|
-
}).then((ht) => ht.ok ? ht.json() :
|
|
134825
|
+
}).then((ht) => ht.ok ? ht.json() : Gs.error({
|
|
134824
134826
|
title: ht.message
|
|
134825
134827
|
})).then((ht) => {
|
|
134826
134828
|
const dt = ht.base64;
|
|
@@ -134837,7 +134839,7 @@ Downsampling level:${Fn}
|
|
|
134837
134839
|
y: 0,
|
|
134838
134840
|
z: 0
|
|
134839
134841
|
})
|
|
134840
|
-
}).then((ht) => ht.ok ? ht.json() :
|
|
134842
|
+
}).then((ht) => ht.ok ? ht.json() : Gs.error({
|
|
134841
134843
|
title: ht.message
|
|
134842
134844
|
})).then((ht) => {
|
|
134843
134845
|
const dt = ht.base64;
|
|
@@ -134861,7 +134863,7 @@ Downsampling level:${Fn}
|
|
|
134861
134863
|
y: de.y,
|
|
134862
134864
|
z: 0
|
|
134863
134865
|
})
|
|
134864
|
-
}).then((ht) => ht.ok ? ht.json() :
|
|
134866
|
+
}).then((ht) => ht.ok ? ht.json() : Gs.error({
|
|
134865
134867
|
title: ht.message
|
|
134866
134868
|
})).then((ht) => {
|
|
134867
134869
|
const dt = ht.base64;
|
|
@@ -134882,7 +134884,7 @@ Downsampling level:${Fn}
|
|
|
134882
134884
|
angles: [it, Re, Ge],
|
|
134883
134885
|
center: [de.x, de.y, de.z]
|
|
134884
134886
|
})
|
|
134885
|
-
}).then((ht) => ht.ok ? ht.json() :
|
|
134887
|
+
}).then((ht) => ht.ok ? ht.json() : Gs.error({
|
|
134886
134888
|
title: ht.message
|
|
134887
134889
|
})).then((ht) => {
|
|
134888
134890
|
const dt = ht.base64;
|
|
@@ -138450,7 +138452,7 @@ const YB = xc((t, e) => {
|
|
|
138450
138452
|
}).then((et) => {
|
|
138451
138453
|
if (et.ok)
|
|
138452
138454
|
return et.json();
|
|
138453
|
-
throw
|
|
138455
|
+
throw Gs.error({
|
|
138454
138456
|
content: p("5000.5047") || "提交失败"
|
|
138455
138457
|
}), new Error(et.statusText);
|
|
138456
138458
|
}).then((et) => {
|
|
@@ -138510,7 +138512,7 @@ const YB = xc((t, e) => {
|
|
|
138510
138512
|
"div",
|
|
138511
138513
|
null,
|
|
138512
138514
|
R.createElement(
|
|
138513
|
-
|
|
138515
|
+
Gs,
|
|
138514
138516
|
{ className: "Echart", open: ze, onOk: () => {
|
|
138515
138517
|
Lt(!1);
|
|
138516
138518
|
}, onCancel: () => {
|
|
@@ -138583,7 +138585,7 @@ const YB = xc((t, e) => {
|
|
|
138583
138585
|
R.createElement(RS, { showLine: !0, onExpand: va, defaultExpandParent: !0, expandedKeys: Z, onCheck: Et, checkable: !0, selectable: !1, treeData: tr, checkedKeys: g, checkStrictly: !0, autoExpandParent: q, style: { paddingLeft: "2px" } })
|
|
138584
138586
|
),
|
|
138585
138587
|
R.createElement(
|
|
138586
|
-
|
|
138588
|
+
Gs,
|
|
138587
138589
|
{ open: W, centered: !0, footer: null, onCancel: () => {
|
|
138588
138590
|
Y(!1);
|
|
138589
138591
|
} },
|
|
@@ -142238,7 +142240,7 @@ var wv = {}, e$t = {
|
|
|
142238
142240
|
var S = 0.5 / (Math.PI * es.R);
|
|
142239
142241
|
return te(S, 0.5, -S, 0.5);
|
|
142240
142242
|
}()
|
|
142241
|
-
}),
|
|
142243
|
+
}), Xs = i({}, ee, {
|
|
142242
142244
|
code: "EPSG:4326",
|
|
142243
142245
|
projection: La,
|
|
142244
142246
|
transformation: te(1 / 180, 1, -1 / 180, 0.5)
|
|
@@ -142257,7 +142259,7 @@ var wv = {}, e$t = {
|
|
|
142257
142259
|
},
|
|
142258
142260
|
infinite: !0
|
|
142259
142261
|
});
|
|
142260
|
-
ie.Earth = ee, ie.EPSG3395 = Is, ie.EPSG3857 = xe, ie.EPSG900913 = Q, ie.EPSG4326 =
|
|
142262
|
+
ie.Earth = ee, ie.EPSG3395 = Is, ie.EPSG3857 = xe, ie.EPSG900913 = Q, ie.EPSG4326 = Xs, ie.Simple = xo;
|
|
142261
142263
|
var io = V.extend({
|
|
142262
142264
|
// Classes extending `L.Layer` will inherit the following options:
|
|
142263
142265
|
options: {
|
|
@@ -142614,7 +142616,7 @@ var wv = {}, e$t = {
|
|
|
142614
142616
|
var X = document.querySelector('link[href$="leaflet.css"]');
|
|
142615
142617
|
return X ? X.href.substring(0, X.href.length - 11 - 1) : "";
|
|
142616
142618
|
}
|
|
142617
|
-
}),
|
|
142619
|
+
}), Zs = ct.extend({
|
|
142618
142620
|
initialize: function(S) {
|
|
142619
142621
|
this._marker = S;
|
|
142620
142622
|
},
|
|
@@ -142812,9 +142814,9 @@ var wv = {}, e$t = {
|
|
|
142812
142814
|
this._setPos(k);
|
|
142813
142815
|
},
|
|
142814
142816
|
_initInteraction: function() {
|
|
142815
|
-
if (this.options.interactive && (sr(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon),
|
|
142817
|
+
if (this.options.interactive && (sr(this._icon, "leaflet-interactive"), this.addInteractiveTarget(this._icon), Zs)) {
|
|
142816
142818
|
var S = this.options.draggable;
|
|
142817
|
-
this.dragging && (S = this.dragging.enabled(), this.dragging.disable()), this.dragging = new
|
|
142819
|
+
this.dragging && (S = this.dragging.enabled(), this.dragging.disable()), this.dragging = new Zs(this), S && this.dragging.enable();
|
|
142818
142820
|
}
|
|
142819
142821
|
},
|
|
142820
142822
|
// @method setOpacity(opacity: Number): this
|
|
@@ -144767,7 +144769,7 @@ var wv = {}, e$t = {
|
|
|
144767
144769
|
this.wmsParams[k] = this._crs.code, hs.prototype.onAdd.call(this, S);
|
|
144768
144770
|
},
|
|
144769
144771
|
getTileUrl: function(S) {
|
|
144770
|
-
var k = this._tileCoordsToNwSe(S), X = this._crs, le = ne(X.project(k[0]), X.project(k[1])), Ce = le.min, qe = le.max, Dt = (this._wmsVersion >= 1.3 && this._crs ===
|
|
144772
|
+
var k = this._tileCoordsToNwSe(S), X = this._crs, le = ne(X.project(k[0]), X.project(k[1])), Ce = le.min, qe = le.max, Dt = (this._wmsVersion >= 1.3 && this._crs === Xs ? [Ce.y, Ce.x, qe.y, qe.x] : [Ce.x, Ce.y, qe.x, qe.y]).join(","), rn = hs.prototype.getTileUrl.call(this, S);
|
|
144771
144773
|
return rn + g(this.wmsParams, rn, this.options.uppercase) + (this.options.uppercase ? "&BBOX=" : "&bbox=") + Dt;
|
|
144772
144774
|
},
|
|
144773
144775
|
// @method setParams(params: Object, noRedraw?: Boolean): this
|
|
@@ -149761,7 +149763,8 @@ const yzt = {
|
|
|
149761
149763
|
"7000.7027": "Feedback",
|
|
149762
149764
|
"5000.7026": "Request timed out, download failed",
|
|
149763
149765
|
"5000.7027": "computational failure",
|
|
149764
|
-
"5000.7028": "Cannot find a satisfactory path"
|
|
149766
|
+
"5000.7028": "Cannot find a satisfactory path",
|
|
149767
|
+
"5000.7029": "Too many regions to avoid, please reduce the number of regions to avoid"
|
|
149765
149768
|
}, bzt = {
|
|
149766
149769
|
"2002.0301": "提供基于多人在线协作模式,神经元重建",
|
|
149767
149770
|
"5000.0112": "取消",
|
|
@@ -150124,7 +150127,8 @@ const yzt = {
|
|
|
150124
150127
|
"7000.7027": "反馈",
|
|
150125
150128
|
"5000.7026": "请求超时,下载失败",
|
|
150126
150129
|
"5000.7027": "计算失败",
|
|
150127
|
-
"5000.7028": "没有合适的路径"
|
|
150130
|
+
"5000.7028": "没有合适的路径",
|
|
150131
|
+
"5000.7029": "请求过于频繁,请稍后再试"
|
|
150128
150132
|
}, xzt = "en_us", Czt = {
|
|
150129
150133
|
zh_cn: "zh",
|
|
150130
150134
|
en_us: "en"
|
|
@@ -151601,7 +151605,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151601
151605
|
var vi = null, ti, da, _s, La = null, es = null, Ts = !1, Is = parseInt(
|
|
151602
151606
|
l.Utils.getResource("DEFAULT_GESTURETESTDURATION"),
|
|
151603
151607
|
10
|
|
151604
|
-
),
|
|
151608
|
+
), Xs = Math.round(
|
|
151605
151609
|
parseFloat(l.Utils.getResource("DEFAULT_PANSTEPDISTANCE")) * l.panSpeed
|
|
151606
151610
|
), xo = 0, io = 0, tl = null, ms = null, is = parseInt(
|
|
151607
151611
|
l.Utils.getResource("DEFAULT_ANIMATIONOPTIMALMOTIONIMAGES"),
|
|
@@ -151609,7 +151613,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
|
|
|
151609
151613
|
), ar = parseInt(
|
|
151610
151614
|
l.Utils.getResource("DEFAULT_ANIMATIONOPTIMALPOSITIONDELTA"),
|
|
151611
151615
|
10
|
|
151612
|
-
), Co = null, As = null, Ol = null,
|
|
151616
|
+
), Co = null, As = null, Ol = null, Zs = null, qa = 0, zo = 0, wo = 0, Po = 0, Ro = null, dl = null, yl = null, Fa = parseFloat(l.Utils.getResource("DEFAULT_ZOOMSTEPDISTANCE")) * l.zoomSpeed;
|
|
151613
151617
|
l.mobileDevice && (Fa /= 2);
|
|
151614
151618
|
var ko = 0, ys = null, Ql = 0, nl = parseInt(
|
|
151615
151619
|
l.Utils.getResource("DEFAULT_ZAPSTEPDURATION"),
|
|
@@ -156763,7 +156767,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
156763
156767
|
if (l.editMode != "markup")
|
|
156764
156768
|
var ae = parseFloat(
|
|
156765
156769
|
l.Utils.getResource("DEFAULT_BACKGROUNDSMALLDALPHA") / 1.5
|
|
156766
|
-
),
|
|
156770
|
+
), Ks = l.Utils.getResource("DEFAULT_BACKGROUNDCOLOR"), J = l.Utils.getResource(
|
|
156767
156771
|
"DEFAULT_BACKGROUNDCOLORNOALPHA"
|
|
156768
156772
|
);
|
|
156769
156773
|
if (l.editMode != "markup") {
|
|
@@ -156905,7 +156909,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
156905
156909
|
);
|
|
156906
156910
|
fe.appendChild(xt.elmt);
|
|
156907
156911
|
}
|
|
156908
|
-
var It =
|
|
156912
|
+
var It = Ks, Xt = l.Utils.createContainerElement(
|
|
156909
156913
|
"div",
|
|
156910
156914
|
"overlayPOIDisable" + O,
|
|
156911
156915
|
"none",
|
|
@@ -157512,7 +157516,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157512
157516
|
!0
|
|
157513
157517
|
);
|
|
157514
157518
|
if (pr.appendChild(Io), l.editMode != "markup") {
|
|
157515
|
-
var
|
|
157519
|
+
var Ks = l.Utils.getResource("DEFAULT_BACKGROUNDCOLOR"), Cd = l.Utils.createContainerElement(
|
|
157516
157520
|
"div",
|
|
157517
157521
|
"buttonContainerLabelColorsBackground" + O,
|
|
157518
157522
|
"inline-block",
|
|
@@ -157524,7 +157528,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157524
157528
|
"0px",
|
|
157525
157529
|
"solid",
|
|
157526
157530
|
"1px",
|
|
157527
|
-
|
|
157531
|
+
Ks,
|
|
157528
157532
|
"0px",
|
|
157529
157533
|
"0px",
|
|
157530
157534
|
"normal",
|
|
@@ -157787,7 +157791,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157787
157791
|
!1
|
|
157788
157792
|
);
|
|
157789
157793
|
Oa.appendChild(Ih);
|
|
157790
|
-
var
|
|
157794
|
+
var Ks = l.Utils.getResource("DEFAULT_BACKGROUNDCOLOR"), Nv = l.Utils.createContainerElement(
|
|
157791
157795
|
"div",
|
|
157792
157796
|
"buttonContainerLabelIconsBackground" + O,
|
|
157793
157797
|
"inline-block",
|
|
@@ -157799,7 +157803,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157799
157803
|
"0px",
|
|
157800
157804
|
"solid",
|
|
157801
157805
|
"1px",
|
|
157802
|
-
|
|
157806
|
+
Ks,
|
|
157803
157807
|
"0px",
|
|
157804
157808
|
"0px",
|
|
157805
157809
|
"normal",
|
|
@@ -157829,7 +157833,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157829
157833
|
"change"
|
|
157830
157834
|
);
|
|
157831
157835
|
if (Ih.appendChild(Op), l.editMode != "markup") {
|
|
157832
|
-
var It =
|
|
157836
|
+
var It = Ks, kv = l.Utils.createContainerElement(
|
|
157833
157837
|
"div",
|
|
157834
157838
|
"overlayLabelDisable" + O,
|
|
157835
157839
|
"none",
|
|
@@ -157847,7 +157851,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157847
157851
|
"normal",
|
|
157848
157852
|
"default",
|
|
157849
157853
|
!0
|
|
157850
|
-
), It =
|
|
157854
|
+
), It = Ks, Pp = l.Utils.createContainerElement(
|
|
157851
157855
|
"div",
|
|
157852
157856
|
"overlayLabelDetailDisable" + O,
|
|
157853
157857
|
"none",
|
|
@@ -157865,7 +157869,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157865
157869
|
"normal",
|
|
157866
157870
|
"default",
|
|
157867
157871
|
!0
|
|
157868
|
-
), It =
|
|
157872
|
+
), It = Ks, Rp = l.Utils.createContainerElement(
|
|
157869
157873
|
"div",
|
|
157870
157874
|
"overlayLabelDetailEditableDisable" + O,
|
|
157871
157875
|
"none",
|
|
@@ -157902,7 +157906,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157902
157906
|
"auto",
|
|
157903
157907
|
"auto",
|
|
157904
157908
|
null
|
|
157905
|
-
), It =
|
|
157909
|
+
), It = Ks, Vg = l.Utils.createContainerElement(
|
|
157906
157910
|
"div",
|
|
157907
157911
|
"overlayLabelNameEditableDisable" + O,
|
|
157908
157912
|
"none",
|
|
@@ -157920,7 +157924,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
157920
157924
|
"normal",
|
|
157921
157925
|
"default",
|
|
157922
157926
|
!0
|
|
157923
|
-
), It =
|
|
157927
|
+
), It = Ks, TE = l.Utils.createContainerElement(
|
|
157924
157928
|
"div",
|
|
157925
157929
|
"overlayLabelCaptionPositionDisable" + O,
|
|
157926
157930
|
"none",
|
|
@@ -158115,7 +158119,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158115
158119
|
);
|
|
158116
158120
|
jf.appendChild(d0.elmt);
|
|
158117
158121
|
}
|
|
158118
|
-
var It =
|
|
158122
|
+
var It = Ks, Dx = l.Utils.createContainerElement(
|
|
158119
158123
|
"div",
|
|
158120
158124
|
"overlayNoteDetailDisable" + O,
|
|
158121
158125
|
"none",
|
|
@@ -158135,7 +158139,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158135
158139
|
!0
|
|
158136
158140
|
);
|
|
158137
158141
|
l.Utils.setOpacity(Dx, ae, J);
|
|
158138
|
-
var It =
|
|
158142
|
+
var It = Ks, hy = l.Utils.createContainerElement(
|
|
158139
158143
|
"div",
|
|
158140
158144
|
"overlayNoteDisable" + O,
|
|
158141
158145
|
"none",
|
|
@@ -158263,7 +158267,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158263
158267
|
else {
|
|
158264
158268
|
var Io = T[4], Cd = T[5];
|
|
158265
158269
|
ae > 15 && (ae = 15), J > 15 && (J = 15), fe > 22 && (fe = 22), Io > 1 && (Io = 1), Cd > 18 && (Cd = 18);
|
|
158266
|
-
var wl = ae * 0.75, lc = J * 0.75, Mc = wl * 2, Fu = Xe + 3, nd = J * 1.5, mc = J * 2 + lc * 1.5, wd = ae / 2, Gd = (Cd - J) / 2, fa = J * 0.5, kl = Xe * 1.75, Bu = U.w - Xe * 2 - 2, jd = J * 7 + Yr * 5 + br, Xi = 0, Gf = U.w - Xe * 3, Ih = vr + Yr * 3, Hi = U.w - Xe - ae - 5,
|
|
158270
|
+
var wl = ae * 0.75, lc = J * 0.75, Mc = wl * 2, Fu = Xe + 3, nd = J * 1.5, mc = J * 2 + lc * 1.5, wd = ae / 2, Gd = (Cd - J) / 2, fa = J * 0.5, kl = Xe * 1.75, Bu = U.w - Xe * 2 - 2, jd = J * 7 + Yr * 5 + br, Xi = 0, Gf = U.w - Xe * 3, Ih = vr + Yr * 3, Hi = U.w - Xe - ae - 5, Ks = Hi - fe, Nv = Ks - fe;
|
|
158267
158271
|
if (l.editMode == "markup")
|
|
158268
158272
|
Lr = 0, kl = Xe + br, ke = U.w - Xe * 2, Ia = ke - 24, Fu = 0, Eo = wi * 2, Ra = fa, Si = Ra + J + Yr - wi, Fo = Eo + J * 2 - wi, lV = Yr + br - wi, ya = Eo + mc + Yr - br - wi * 2, _o = ya + vr + br * 2, Wa = _o + vr + br * 2, ao = Hf ? Wa + Rn + 5 : _o + vr + 5, eo = fa - 5, (l.helpVisible == 1 || l.helpVisible == 2) && (zi = fe);
|
|
158269
158273
|
else if (l.editMode == "edit") {
|
|
@@ -158339,7 +158343,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158339
158343
|
if (ME) {
|
|
158340
158344
|
l.Utils.buttonSize(ME, ae, J);
|
|
158341
158345
|
var aA = ME.style;
|
|
158342
|
-
aA.left =
|
|
158346
|
+
aA.left = Ks + "px", aA.top = Tr + "px";
|
|
158343
158347
|
}
|
|
158344
158348
|
var d0 = document.getElementById("buttonPOISave" + A);
|
|
158345
158349
|
if (d0) {
|
|
@@ -158351,13 +158355,13 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158351
158355
|
if (hy) {
|
|
158352
158356
|
l.Utils.buttonSize(hy, ae, J);
|
|
158353
158357
|
var LE = hy.style;
|
|
158354
|
-
LE.left = d0 ?
|
|
158358
|
+
LE.left = d0 ? Ks + "px" : Hi + "px", LE.top = Tr + "px", LE.display = "none";
|
|
158355
158359
|
}
|
|
158356
158360
|
var OE = document.getElementById("buttonPOIDelete" + A);
|
|
158357
158361
|
if (OE) {
|
|
158358
158362
|
l.Utils.buttonSize(OE, ae, J);
|
|
158359
158363
|
var XR = OE.style;
|
|
158360
|
-
XR.left = d0 && hy ? Nv + "px" : d0 ?
|
|
158364
|
+
XR.left = d0 && hy ? Nv + "px" : d0 ? Ks + "px" : Hi + "px", XR.top = Tr + "px", XR.display = "none";
|
|
158361
158365
|
}
|
|
158362
158366
|
var iJ = document.getElementById("overlayPOIDisable" + A);
|
|
158363
158367
|
if (iJ) {
|
|
@@ -158766,7 +158770,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158766
158770
|
if (wN) {
|
|
158767
158771
|
l.Utils.buttonSize(wN, ae, J);
|
|
158768
158772
|
var RJ = wN.style;
|
|
158769
|
-
RJ.left =
|
|
158773
|
+
RJ.left = Ks + "px", RJ.top = eo + "px";
|
|
158770
158774
|
}
|
|
158771
158775
|
}
|
|
158772
158776
|
if (l.editMode == "edit" && Gl || l.editMode == "markup") {
|
|
@@ -158782,7 +158786,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158782
158786
|
if (TA) {
|
|
158783
158787
|
l.Utils.buttonSize(TA, ae, J);
|
|
158784
158788
|
var EN = TA.style;
|
|
158785
|
-
EN.left = kx ?
|
|
158789
|
+
EN.left = kx ? Ks + "px" : Hi + "px", EN.top = eo + "px", l.editMode != "markup" && (EN.display = "none");
|
|
158786
158790
|
}
|
|
158787
158791
|
}
|
|
158788
158792
|
if (l.editMode == "edit" && Gl || l.editMode == "markup") {
|
|
@@ -158790,7 +158794,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158790
158794
|
if (_N) {
|
|
158791
158795
|
l.Utils.buttonSize(_N, ae, J);
|
|
158792
158796
|
var TN = _N.style;
|
|
158793
|
-
TN.left = kx && TA ? Nv - zi + "px" : kx ?
|
|
158797
|
+
TN.left = kx && TA ? Nv - zi + "px" : kx ? Ks - zi + "px" : Hi - zi + "px", TN.top = eo + "px", l.editMode != "markup" && (TN.display = "none");
|
|
158794
158798
|
}
|
|
158795
158799
|
}
|
|
158796
158800
|
if (l.editMode == "markup") {
|
|
@@ -158938,7 +158942,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158938
158942
|
if (RN) {
|
|
158939
158943
|
l.Utils.buttonSize(RN, ae, J);
|
|
158940
158944
|
var YJ = RN.style;
|
|
158941
|
-
YJ.left =
|
|
158945
|
+
YJ.left = Ks + "px", YJ.top = Bo + "px";
|
|
158942
158946
|
}
|
|
158943
158947
|
var Ux = document.getElementById("buttonNoteSave" + A);
|
|
158944
158948
|
if (Ux) {
|
|
@@ -158950,13 +158954,13 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
158950
158954
|
if (DA) {
|
|
158951
158955
|
l.Utils.buttonSize(DA, ae, J);
|
|
158952
158956
|
var DN = DA.style;
|
|
158953
|
-
DN.left = Ux ?
|
|
158957
|
+
DN.left = Ux ? Ks + "px" : Hi + "px", DN.top = Bo + "px", DN.display = "none";
|
|
158954
158958
|
}
|
|
158955
158959
|
var kN = document.getElementById("buttonNoteDelete" + A);
|
|
158956
158960
|
if (kN) {
|
|
158957
158961
|
l.Utils.buttonSize(kN, ae, J);
|
|
158958
158962
|
var UN = kN.style;
|
|
158959
|
-
UN.left = Ux && DA ? Nv + "px" : Ux ?
|
|
158963
|
+
UN.left = Ux && DA ? Nv + "px" : Ux ? Ks + "px" : Hi + "px", UN.top = Bo + "px", UN.display = "none";
|
|
158960
158964
|
}
|
|
158961
158965
|
if (l.editMode == "edit") {
|
|
158962
158966
|
var FN = document.getElementById("buttonHelpAnnotation" + A);
|
|
@@ -162023,7 +162027,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
162023
162027
|
"TIP_COUNTERCLEARTYPE"
|
|
162024
162028
|
);
|
|
162025
162029
|
jl.appendChild(Ih.elmt);
|
|
162026
|
-
var
|
|
162030
|
+
var Ks = new l.Utils.Button(
|
|
162027
162031
|
"buttonTrackingClearAll" + A,
|
|
162028
162032
|
null,
|
|
162029
162033
|
l.skinPath,
|
|
@@ -162038,7 +162042,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
162038
162042
|
l.Toolbar.buttonEventsHandler,
|
|
162039
162043
|
"TIP_COUNTERSCLEARALL"
|
|
162040
162044
|
);
|
|
162041
|
-
jl.appendChild(
|
|
162045
|
+
jl.appendChild(Ks.elmt);
|
|
162042
162046
|
var Nv = new l.Utils.Graphic(
|
|
162043
162047
|
"trackingDivider" + A,
|
|
162044
162048
|
l.skinPath,
|
|
@@ -162478,10 +162482,10 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
162478
162482
|
}
|
|
162479
162483
|
if (l.trackingEditMode == "edit") {
|
|
162480
162484
|
Ei = U - (ci * 5 - It);
|
|
162481
|
-
var
|
|
162482
|
-
if (
|
|
162483
|
-
l.Utils.buttonSize(
|
|
162484
|
-
var Nv =
|
|
162485
|
+
var Ks = document.getElementById("buttonTrackingClearLast" + A);
|
|
162486
|
+
if (Ks) {
|
|
162487
|
+
l.Utils.buttonSize(Ks, pr, Rn);
|
|
162488
|
+
var Nv = Ks.style;
|
|
162485
162489
|
Nv.left = Ei + "px", Nv.top = Cn + "px", Ei += ci;
|
|
162486
162490
|
}
|
|
162487
162491
|
var Dv = document.getElementById("buttonTrackingClearType" + A);
|
|
@@ -163449,16 +163453,16 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
163449
163453
|
if (!l.tracking)
|
|
163450
163454
|
switch (T) {
|
|
163451
163455
|
case "left":
|
|
163452
|
-
xo <= 0 && (xo +=
|
|
163456
|
+
xo <= 0 && (xo += Xs);
|
|
163453
163457
|
break;
|
|
163454
163458
|
case "up":
|
|
163455
|
-
io <= 0 && (io +=
|
|
163459
|
+
io <= 0 && (io += Xs);
|
|
163456
163460
|
break;
|
|
163457
163461
|
case "down":
|
|
163458
|
-
io >= 0 && (io -=
|
|
163462
|
+
io >= 0 && (io -= Xs);
|
|
163459
163463
|
break;
|
|
163460
163464
|
case "right":
|
|
163461
|
-
xo >= 0 && (xo -=
|
|
163465
|
+
xo >= 0 && (xo -= Xs);
|
|
163462
163466
|
break;
|
|
163463
163467
|
case "horizontalStop":
|
|
163464
163468
|
xo = 0;
|
|
@@ -164391,7 +164395,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
164391
164395
|
else {
|
|
164392
164396
|
ae = l.Utils.target(A), l.Utils.relatedTarget(A);
|
|
164393
164397
|
var fe = l.Utils.isRightMouseButton(A), me = A.altKey;
|
|
164394
|
-
U != "resize" && (J = l.Utils.getMousePosition(A)), l.smoothPan && (
|
|
164398
|
+
U != "resize" && (J = l.Utils.getMousePosition(A)), l.smoothPan && (Zs = J);
|
|
164395
164399
|
}
|
|
164396
164400
|
U == "DOMMouseScroll" && (U = "mousewheel");
|
|
164397
164401
|
var Oe = m.getZoom(), ke = (Oe * 100).toString(), Se;
|
|
@@ -164512,7 +164516,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
164512
164516
|
}
|
|
164513
164517
|
} else if (!me && l.mousePan)
|
|
164514
164518
|
if (Co)
|
|
164515
|
-
|
|
164519
|
+
Zs = J;
|
|
164516
164520
|
else if (!l.animation || m.getZoom() != l.minZ) {
|
|
164517
164521
|
var Di = J.x - ye.mouseXPrior, zi = J.y - ye.mouseYPrior;
|
|
164518
164522
|
if (!isNaN(Di) && !isNaN(zi)) {
|
|
@@ -164999,7 +165003,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
164999
165003
|
Yr.left = ri + "px", Yr.top = ta + "px", fi.mouseXPrior = da.x, fi.mouseYPrior = da.y, bE(A, fi, da);
|
|
165000
165004
|
} else if (!me && l.mousePan)
|
|
165001
165005
|
if (Co)
|
|
165002
|
-
|
|
165006
|
+
Zs = J;
|
|
165003
165007
|
else {
|
|
165004
165008
|
var Di = J.x - ye.mouseXPrior, zi = J.y - ye.mouseYPrior;
|
|
165005
165009
|
if (!isNaN(Di) && !isNaN(zi)) {
|
|
@@ -165533,7 +165537,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
165533
165537
|
function U7e() {
|
|
165534
165538
|
var T = parseFloat(ve.left), O = parseFloat(ve.top);
|
|
165535
165539
|
if (l.mouseIsDown || Ro) {
|
|
165536
|
-
var A = Ro ? dl :
|
|
165540
|
+
var A = Ro ? dl : Zs.x, U = Ro ? yl : Zs.y, K = A - As.x, ae = U - As.y, J = T - Ol.x, fe = O - Ol.y, me = !isNaN(K) && !isNaN(ae) && !isNaN(J) && !isNaN(fe) && (K != 0 || ae != 0 || J != 0 || fe != 0);
|
|
165537
165541
|
if (me) {
|
|
165538
165542
|
var Oe = Ro ? l.smoothPanGlide : 1, ke = Ro ? 1 : 100;
|
|
165539
165543
|
qa = Math.round(
|
|
@@ -165570,7 +165574,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
165570
165574
|
l.imageR,
|
|
165571
165575
|
"container"
|
|
165572
165576
|
);
|
|
165573
|
-
wo = lt.x - T, Po = lt.y - O, (wo != 0 || Po != 0) && (dl =
|
|
165577
|
+
wo = lt.x - T, Po = lt.y - O, (wo != 0 || Po != 0) && (dl = Zs.x + wo, yl = Zs.y + Po, Ro = !0);
|
|
165574
165578
|
} else
|
|
165575
165579
|
_E(!0), m.updateView();
|
|
165576
165580
|
}
|
|
@@ -165578,7 +165582,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
165578
165582
|
l.animationCount++, tl === null && (tl = parseFloat(ve.left)), ms === null && (ms = parseFloat(ve.top));
|
|
165579
165583
|
var O = tl, A = ms;
|
|
165580
165584
|
if (l.mouseIsDown || Ro) {
|
|
165581
|
-
var U = Ro ? dl :
|
|
165585
|
+
var U = Ro ? dl : Zs.x, K = Ro ? yl : Zs.y, ae = U - As.x, J = K - As.y, fe = O - Ol.x, me = A - Ol.y, Oe = !isNaN(ae) && !isNaN(J) && !isNaN(fe) && !isNaN(me) && (ae != 0 || J != 0 || fe != 0 || me != 0);
|
|
165582
165586
|
if (Oe) {
|
|
165583
165587
|
var ke = Ro ? l.smoothPanGlide : 1, Se = Ro ? 1 : 100;
|
|
165584
165588
|
qa = Math.round(
|
|
@@ -165597,7 +165601,7 @@ Tile loading complete for backfill: all requested tiles received.`), ke = !1;
|
|
|
165597
165601
|
), Xt = 0, en = l.animationAxis == "horizontal" ? Nt / 10 : Kt / 10), It == 0 && It++, l.animationCount % It == 0 && (xt < -en ? l.Viewer.viewportPrior(Xt) : xt > en && l.Viewer.viewportNext(Xt)), Ro && Math.round(qa * Se) / Se == 0 && Math.round(zo * Se) / Se == 0 && (Ro = !1);
|
|
165598
165602
|
}
|
|
165599
165603
|
} else
|
|
165600
|
-
!l.mouseIsDown && Ro === null && qa != 0 && zo != 0 ? (wo != 0 || Po != 0) && (dl =
|
|
165604
|
+
!l.mouseIsDown && Ro === null && qa != 0 && zo != 0 ? (wo != 0 || Po != 0) && (dl = Zs.x + wo, yl = Zs.y + Po, Ro = !0) : (_E(!0), tl = null, ms = null);
|
|
165601
165605
|
}
|
|
165602
165606
|
this.getSmoothPanGliding = function() {
|
|
165603
165607
|
return Ro;
|
|
@@ -166382,7 +166386,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166382
166386
|
"TIP_TOURNEXT"
|
|
166383
166387
|
);
|
|
166384
166388
|
Rt.appendChild(Is.elmt);
|
|
166385
|
-
var
|
|
166389
|
+
var Xs = new l.Utils.Button(
|
|
166386
166390
|
"buttonTourStart",
|
|
166387
166391
|
null,
|
|
166388
166392
|
l.skinPath,
|
|
@@ -166397,7 +166401,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166397
166401
|
rt,
|
|
166398
166402
|
"TIP_TOURSTART"
|
|
166399
166403
|
);
|
|
166400
|
-
Rt.appendChild(
|
|
166404
|
+
Rt.appendChild(Xs.elmt);
|
|
166401
166405
|
var xo = new l.Utils.Button(
|
|
166402
166406
|
"buttonTourStop",
|
|
166403
166407
|
null,
|
|
@@ -166536,7 +166540,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166536
166540
|
"1px"
|
|
166537
166541
|
);
|
|
166538
166542
|
Rt.appendChild(Ol.elmt);
|
|
166539
|
-
var
|
|
166543
|
+
var Zs = new l.Utils.Button(
|
|
166540
166544
|
"buttonImageFilterPanelHide",
|
|
166541
166545
|
null,
|
|
166542
166546
|
l.skinPath,
|
|
@@ -166551,7 +166555,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
166551
166555
|
rt,
|
|
166552
166556
|
"TIP_IMAGEFILTERPANELHIDE"
|
|
166553
166557
|
);
|
|
166554
|
-
Rt.appendChild(
|
|
166558
|
+
Rt.appendChild(Zs.elmt);
|
|
166555
166559
|
var qa = new l.Utils.Button(
|
|
166556
166560
|
"buttonImageFilterPanelShow",
|
|
166557
166561
|
null,
|
|
@@ -167263,10 +167267,10 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167263
167267
|
"nowrap",
|
|
167264
167268
|
null,
|
|
167265
167269
|
!0
|
|
167266
|
-
),
|
|
167270
|
+
), Xs = document.createTextNode(
|
|
167267
167271
|
l.Utils.getResource("UI_IMAGEFILTERPANELLABELSEPIA")
|
|
167268
167272
|
);
|
|
167269
|
-
Is.appendChild(
|
|
167273
|
+
Is.appendChild(Xs);
|
|
167270
167274
|
var xo = new l.Utils.Checkbox(
|
|
167271
167275
|
"checkboxFilterSepia",
|
|
167272
167276
|
"test",
|
|
@@ -167495,7 +167499,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167495
167499
|
function va(ue, he) {
|
|
167496
167500
|
var Ue = ue, We = he, tt = c[2], ct = c[3], Wt = c[4], Rt = c[5], dn = c[6], Nt = c[7], Kt = c[8], _r = c[9], Kn = c[10], er = c[11], Dn = c[12], hi = c[13], di = c[14], gn = c[15], tn = 0, bi = (We - ct) / 2 + 1, Wr = (We - Rt) / 2, Qr = (We - Nt) / 2, Xo = Qr * 1.3, Sa = Qr + 4, ja = Qr + 2, vi = l.logoVisible == 1 ? 0 : Kt / 2, ti = l.logoVisible == 1 ? 0 : Kt / 2, da = Kt - (dn - Wt), _s = 20, La = 0, es = 0;
|
|
167497
167501
|
if (l.zoomButtonsVisible && (La += 2), l.panButtonsVisible && (La += 4, es += 1), l.resetVisible && (La += 1), (l.fullScreenVisible || l.fullPageVisible) && (La += 1, es += 1), l.helpVisible && (La += 1, !l.fullScreenVisible && !l.fullPageVisible && (es += 1)), l.measureVisible && (!l.fullScreenVisible && !l.fullPageVisible && (es += 1), La += 1), l.rotationVisible && (La += 2, es += 1), (l.tour || l.slideshow) && (La += 3, es += 1, l.audioContent && (La += 1)), l.imageFilters && (La += 1, es += 1), l.preloadVisible && (La += 1, es += 1), l.comparison && l.syncVisible && (La += 1, es += 1), l.imageSet && l.sliderImageSetVisible) {
|
|
167498
|
-
var Ts = hi, Is = er,
|
|
167502
|
+
var Ts = hi, Is = er, Xs = Dn;
|
|
167499
167503
|
P = !1, La += 2;
|
|
167500
167504
|
}
|
|
167501
167505
|
l.progressVisible || (di = 0);
|
|
@@ -167503,8 +167507,8 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167503
167507
|
l.sliderZoomVisible && (xo += hi), l.imageSet && l.sliderImageSetVisible && (xo += Ts), y = g = m = b = uV = !1;
|
|
167504
167508
|
var io = l.logoVisible == 1 ? tt + 2 : 0, tl = l.toolbarVisible != 0 && l.toolbarVisible != 1 && l.minimizeVisible != 0 ? Kt : 0, ms = io + tl, is = l.panButtonsVisible == 1 ? Kt * 4 + da : 0, ar = l.zoomButtonsVisible == 1 ? Kt * 2 : 0, Co = l.resetVisible == 1 ? Kt : 0, As = ms + _s + xo + _s + di;
|
|
167505
167509
|
As > Ue && (y = !0, As - hi > Ue && (g = !0, As - hi - di > Ue && (m = !0, As - hi - di - ms > Ue && (x = !0, As - hi - di - ms - Co > Ue && (b = !0, xo -= is, As - hi - di - ms - Co - is > Ue && (uV = !0, xo -= ar)), xo -= Co), ms = 0), di = 0), xo -= hi);
|
|
167506
|
-
var Ol = (Ue - xo) / 2 - _s + 3,
|
|
167507
|
-
|
|
167510
|
+
var Ol = (Ue - xo) / 2 - _s + 3, Zs = document.getElementById("toolbarBackground");
|
|
167511
|
+
Zs && (Zs.style.width = Ue + "px", Zs.style.height = We + "px", Zs.firstChild.style.width = Ue + "px", Zs.firstChild.style.height = We + "px");
|
|
167508
167512
|
var qa = document.getElementById("buttonContainer");
|
|
167509
167513
|
qa && (qa.style.width = xo + _s * 2 + "px", qa.style.height = We + "px", qa.style.left = Ol + "px");
|
|
167510
167514
|
var zo = document.getElementById("buttonBackground");
|
|
@@ -167722,7 +167726,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167722
167726
|
var Ce = le.style;
|
|
167723
167727
|
Ce.left = tn + "px", Ce.top = Qr + "px", tn += Kt + 1;
|
|
167724
167728
|
}
|
|
167725
|
-
s2 = document.getElementById("trackSliderImageSet"), Vp = document.getElementById("buttonSliderImageSet"), s2 && Vp && (Id = s2.style, $h = Vp.style, Id && $h && (P ? (Id.display = "none", $h.display = "none") : (Id.display = "inline-block", $h.display = "inline-block", l.Utils.graphicSize(s2, Is,
|
|
167729
|
+
s2 = document.getElementById("trackSliderImageSet"), Vp = document.getElementById("buttonSliderImageSet"), s2 && Vp && (Id = s2.style, $h = Vp.style, Id && $h && (P ? (Id.display = "none", $h.display = "none") : (Id.display = "inline-block", $h.display = "inline-block", l.Utils.graphicSize(s2, Is, Xs), Id.left = tn - 2 + "px", Id.top = Sa + "px", l.Utils.buttonSize(Vp, _r, Kn), $h.left = parseFloat(Id.left) + "px", $h.top = ja + "px", tn += Ts)));
|
|
167726
167730
|
var qe = document.getElementById("buttonImageSetNext");
|
|
167727
167731
|
if (qe) {
|
|
167728
167732
|
l.Utils.buttonSize(qe, dn, Nt);
|
|
@@ -167838,16 +167842,16 @@ l.ZoomifyToolbar = function(t) {
|
|
|
167838
167842
|
gn -= es;
|
|
167839
167843
|
var Is = H = Math.round(
|
|
167840
167844
|
gn * _s + Kt + Rt * 2 + Rt * _s + hi * _s + ue * _s - 4 + Ts
|
|
167841
|
-
),
|
|
167845
|
+
), Xs = he * 2 + Nt + da, xo = Xs - Nt - he * 3.8, io = Is - ue - ct, tl = Xs - he - Wt * 1.9, ms = ue + 5, is = Xs - he - Wt - 1, ar = ue;
|
|
167842
167846
|
Cn = di + 2;
|
|
167843
167847
|
var Co = document.getElementById("buttonImageFilterPanelShow"), As = document.getElementById("buttonContainerImageFilter"), Ol = document.getElementById("imageFilterList");
|
|
167844
167848
|
if (As && Co && Ol) {
|
|
167845
|
-
var
|
|
167846
|
-
zo.width = Is + "px", zo.height =
|
|
167849
|
+
var Zs = parseFloat(Co.style.left), qa = parseFloat(Co.parentNode.style.left), zo = As.style;
|
|
167850
|
+
zo.width = Is + "px", zo.height = Xs + "px", zo.left = Zs + qa + Rt - Is + "px", zo.top = -(Xs + he / 2) + "px";
|
|
167847
167851
|
var wo = document.getElementById("imageFilterPanelBackground");
|
|
167848
167852
|
if (wo) {
|
|
167849
167853
|
var Po = wo.style;
|
|
167850
|
-
Po.width = Is + "px", Po.height =
|
|
167854
|
+
Po.width = Is + "px", Po.height = Xs + "px";
|
|
167851
167855
|
}
|
|
167852
167856
|
var Ro = Ol.style;
|
|
167853
167857
|
Ro.width = Xo + "px", Ro.left = ms + "px", Ro.top = is + "px";
|
|
@@ -168703,7 +168707,7 @@ l.ZoomifyToolbar = function(t) {
|
|
|
168703
168707
|
var Nl = Ju.style;
|
|
168704
168708
|
Nl.width = ct * 1.5 + "px", Nl.height = Wt * 1.5 + "px", Nl.left = ar + gn + 3 + "px", Nl.top = Cn - bi + "px", vu.width = ct, vu.height = Wt;
|
|
168705
168709
|
}
|
|
168706
|
-
ar = Is - ue - ct * 5, Cn =
|
|
168710
|
+
ar = Is - ue - ct * 5, Cn = Xs - he - Wt;
|
|
168707
168711
|
var Dl = document.getElementById("imageFilterPanelDivider");
|
|
168708
168712
|
if (Dl) {
|
|
168709
168713
|
l.Utils.graphicSize(Dl, io, 5.5);
|