brainsmatics 1.0.21 → 1.0.22

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.
@@ -69705,7 +69705,7 @@ const Jtt = (t) => {
69705
69705
  }
69706
69706
  };
69707
69707
  Ln(() => {
69708
- var Yt, lt, Vt, ct, bn, mr, ai, Ci, ti, Xe, dt, Ke, tt, Qe, xt, Ct, wt, St, qt, Mn, we, ce, Ye, Ze, et, Xt, mn, tn, sn, Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, zt, wr, lr, fr, ks, Hi, xo, pi, Ar, Gi, _o, ta, Yo, rl, Hs, As, xa, Io, Gs, Ms, Ws, Un, gs, as, dl, Do, Xa, eo, So, Za, va, fl, Es, os;
69708
+ var Yt, lt, Vt, ct, bn, mr, ai, Ci, ti, Xe, dt, Ke, tt, Qe, xt, Ct, wt, St, qt, Mn, we, ce, Ye, Ze, et, Xt, mn, tn, sn, Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, Ht, wr, lr, fr, ks, Hi, xo, pi, Ar, Gi, _o, ta, Yo, rl, Hs, As, xa, Io, Gs, Ms, Ws, Un, gs, as, dl, Do, Xa, eo, So, Za, va, fl, Es, os;
69709
69709
  if (Re) {
69710
69710
  const oo = ["test_behind", "test_front", "test_left", "test_right", "test_bootom", "test_top"];
69711
69711
  for (let ss of oo) {
@@ -69719,7 +69719,7 @@ const Jtt = (t) => {
69719
69719
  let js = Se.current.getObjectByName(ss);
69720
69720
  js && Se.current.remove(js);
69721
69721
  }
69722
- v && (v.current = []), (hi = Zt.current) != null && hi.mouseLine_w && Se.current.remove((nn = Zt.current) == null ? void 0 : nn.mouseLine_w), (zt = Zt.current) != null && zt.mouseLine_h && Se.current.remove((wr = Zt.current) == null ? void 0 : wr.mouseLine_h), typeof ((lr = Zt.current) == null ? void 0 : lr.coordText) == "object" && Se.current.remove(Zt.current.coordText), typeof ((fr = Zt.current) == null ? void 0 : fr.coordTextReverse) == "object" && Se.current.remove(Zt.current.coordTextReverse), (ks = Rt.current) != null && ks.mouseLine_w && Se.current.remove((Hi = Rt.current) == null ? void 0 : Hi.mouseLine_w), (xo = Rt.current) != null && xo.mouseLine_h && Se.current.remove((pi = Rt.current) == null ? void 0 : pi.mouseLine_h), typeof ((Ar = Rt.current) == null ? void 0 : Ar.coordText) == "object" && Se.current.remove(Rt.current.coordText), typeof ((Gi = Rt.current) == null ? void 0 : Gi.coordTextReverse) == "object" && Se.current.remove(Rt.current.coordTextReverse), (_o = rn.current) != null && _o.mouseLine_w && Se.current.remove((ta = rn.current) == null ? void 0 : ta.mouseLine_w), (Yo = rn.current) != null && Yo.mouseLine_h && Se.current.remove((rl = rn.current) == null ? void 0 : rl.mouseLine_h), typeof ((Hs = rn.current) == null ? void 0 : Hs.coordText) == "object" && Se.current.remove(rn.current.coordText), typeof ((As = rn.current) == null ? void 0 : As.coordTextReverse) == "object" && Se.current.remove(rn.current.coordTextReverse), (xa = Ot.current) != null && xa.mouseLine_w && Se.current.remove((Io = Ot.current) == null ? void 0 : Io.mouseLine_w), (Gs = Ot.current) != null && Gs.mouseLine_h && Se.current.remove((Ms = Ot.current) == null ? void 0 : Ms.mouseLine_h), typeof ((Ws = Ot.current) == null ? void 0 : Ws.coordText) == "object" && Se.current.remove(Ot.current.coordText), typeof ((Un = Ot.current) == null ? void 0 : Un.coordTextReverse) == "object" && Se.current.remove(Ot.current.coordTextReverse), (gs = rt.current) != null && gs.mouseLine_w && Se.current.remove((as = rt.current) == null ? void 0 : as.mouseLine_w), (dl = rt.current) != null && dl.mouseLine_h && Se.current.remove((Do = rt.current) == null ? void 0 : Do.mouseLine_h), typeof ((Xa = rt.current) == null ? void 0 : Xa.coordText_lb) == "object" && Se.current.remove(rt.current.coordText_lb), typeof ((eo = rt.current) == null ? void 0 : eo.coordText_rb) == "object" && Se.current.remove(rt.current.coordText_rb), typeof ((So = rt.current) == null ? void 0 : So.coordText_rf) == "object" && Se.current.remove(rt.current.coordText_rf), typeof ((Za = rt.current) == null ? void 0 : Za.coordText_lf) == "object" && Se.current.remove(rt.current.coordText_lf), (va = vt.current) != null && va.mouseLine_w && Se.current.remove((fl = vt.current) == null ? void 0 : fl.mouseLine_w), (Es = vt.current) != null && Es.mouseLine_h && Se.current.remove((os = vt.current) == null ? void 0 : os.mouseLine_h), _n && Hn();
69722
+ v && (v.current = []), (hi = Zt.current) != null && hi.mouseLine_w && Se.current.remove((nn = Zt.current) == null ? void 0 : nn.mouseLine_w), (Ht = Zt.current) != null && Ht.mouseLine_h && Se.current.remove((wr = Zt.current) == null ? void 0 : wr.mouseLine_h), typeof ((lr = Zt.current) == null ? void 0 : lr.coordText) == "object" && Se.current.remove(Zt.current.coordText), typeof ((fr = Zt.current) == null ? void 0 : fr.coordTextReverse) == "object" && Se.current.remove(Zt.current.coordTextReverse), (ks = Rt.current) != null && ks.mouseLine_w && Se.current.remove((Hi = Rt.current) == null ? void 0 : Hi.mouseLine_w), (xo = Rt.current) != null && xo.mouseLine_h && Se.current.remove((pi = Rt.current) == null ? void 0 : pi.mouseLine_h), typeof ((Ar = Rt.current) == null ? void 0 : Ar.coordText) == "object" && Se.current.remove(Rt.current.coordText), typeof ((Gi = Rt.current) == null ? void 0 : Gi.coordTextReverse) == "object" && Se.current.remove(Rt.current.coordTextReverse), (_o = rn.current) != null && _o.mouseLine_w && Se.current.remove((ta = rn.current) == null ? void 0 : ta.mouseLine_w), (Yo = rn.current) != null && Yo.mouseLine_h && Se.current.remove((rl = rn.current) == null ? void 0 : rl.mouseLine_h), typeof ((Hs = rn.current) == null ? void 0 : Hs.coordText) == "object" && Se.current.remove(rn.current.coordText), typeof ((As = rn.current) == null ? void 0 : As.coordTextReverse) == "object" && Se.current.remove(rn.current.coordTextReverse), (xa = Ot.current) != null && xa.mouseLine_w && Se.current.remove((Io = Ot.current) == null ? void 0 : Io.mouseLine_w), (Gs = Ot.current) != null && Gs.mouseLine_h && Se.current.remove((Ms = Ot.current) == null ? void 0 : Ms.mouseLine_h), typeof ((Ws = Ot.current) == null ? void 0 : Ws.coordText) == "object" && Se.current.remove(Ot.current.coordText), typeof ((Un = Ot.current) == null ? void 0 : Un.coordTextReverse) == "object" && Se.current.remove(Ot.current.coordTextReverse), (gs = rt.current) != null && gs.mouseLine_w && Se.current.remove((as = rt.current) == null ? void 0 : as.mouseLine_w), (dl = rt.current) != null && dl.mouseLine_h && Se.current.remove((Do = rt.current) == null ? void 0 : Do.mouseLine_h), typeof ((Xa = rt.current) == null ? void 0 : Xa.coordText_lb) == "object" && Se.current.remove(rt.current.coordText_lb), typeof ((eo = rt.current) == null ? void 0 : eo.coordText_rb) == "object" && Se.current.remove(rt.current.coordText_rb), typeof ((So = rt.current) == null ? void 0 : So.coordText_rf) == "object" && Se.current.remove(rt.current.coordText_rf), typeof ((Za = rt.current) == null ? void 0 : Za.coordText_lf) == "object" && Se.current.remove(rt.current.coordText_lf), (va = vt.current) != null && va.mouseLine_w && Se.current.remove((fl = vt.current) == null ? void 0 : fl.mouseLine_w), (Es = vt.current) != null && Es.mouseLine_h && Se.current.remove((os = vt.current) == null ? void 0 : os.mouseLine_h), _n && Hn();
69723
69723
  }
69724
69724
  }, [Re, _n]);
69725
69725
  const Hn = () => {
@@ -69813,7 +69813,7 @@ const Jtt = (t) => {
69813
69813
  dn.current.forEach((lr, fr) => {
69814
69814
  lr.name == lt && (hi = lr.position.clone().applyEuler(Se.current.rotation));
69815
69815
  });
69816
- let nn = (hi.x - ai.x).toFixed(2), zt = (hi.y - ai.y).toFixed(2), wr = -(hi.z - ai.z).toFixed(2);
69816
+ let nn = (hi.x - ai.x).toFixed(2), Ht = (hi.y - ai.y).toFixed(2), wr = -(hi.z - ai.z).toFixed(2);
69817
69817
  if (lt != "")
69818
69818
  if (ct && yn.current) {
69819
69819
  if (On.current != lt && Vt == "Point") {
@@ -69829,20 +69829,20 @@ const Jtt = (t) => {
69829
69829
  }
69830
69830
  bn = `<span style='font-weight:bold'>Structure name: </span>${lt}<br>
69831
69831
  <span style='font-weight:bold'>Projection intensity: </span>${ct.userData.intensity}<br>
69832
- <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${zt}mm /<span style='font-weight:normal'> A-P </span>${wr}mm<br>
69832
+ <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${Ht}mm /<span style='font-weight:normal'> A-P </span>${wr}mm<br>
69833
69833
  `;
69834
69834
  } else
69835
69835
  bn = `<span style='font-weight:bold'>Datum name: </span>${lt}<br>
69836
69836
  <span style='font-weight:bold'>Definition: </span>${Fr == null ? void 0 : Fr.Definition}<br>
69837
- <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${zt}mm /<span style='font-weight:normal'> A-P </span>${wr}mm<br>
69837
+ <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${Ht}mm /<span style='font-weight:normal'> A-P </span>${wr}mm<br>
69838
69838
  `;
69839
69839
  else
69840
- bn = `<span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${zt}mm /<span style='font-weight:normal'> A-P </span>${wr}mm`;
69840
+ bn = `<span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${nn}mm /<span style='font-weight:normal'> D-V </span>${Ht}mm /<span style='font-weight:normal'> A-P </span>${wr}mm`;
69841
69841
  }
69842
69842
  if (Vt == "FBX") {
69843
- let Fr = pe.current.children[0].geometry.boundingBox, hi = ((Fr.max.x - Fr.min.x) * He.current / 100).toFixed(2), nn = ((Fr.max.z - Fr.min.z) * ht.current / 100).toFixed(2), zt = ((Fr.max.y - Fr.min.y) * pt.current / 100).toFixed(2), wr = (mr.x - ai.x).toFixed(2), lr = (mr.y - ai.y).toFixed(2), fr = -(mr.z - ai.z).toFixed(2);
69843
+ let Fr = pe.current.children[0].geometry.boundingBox, hi = ((Fr.max.x - Fr.min.x) * He.current / 100).toFixed(2), nn = ((Fr.max.z - Fr.min.z) * ht.current / 100).toFixed(2), Ht = ((Fr.max.y - Fr.min.y) * pt.current / 100).toFixed(2), wr = (mr.x - ai.x).toFixed(2), lr = (mr.y - ai.y).toFixed(2), fr = -(mr.z - ai.z).toFixed(2);
69844
69844
  lt != "" && (bn = `<span style='font-weight:bold'>${_t.current[lt] + "(" + lt + ")"}</span><br>
69845
- <span style='font-weight:bold'>SIZE: </span>M-L ${hi}mm / D-V ${zt}mm / A-P ${nn}mm<br>
69845
+ <span style='font-weight:bold'>SIZE: </span>M-L ${hi}mm / D-V ${Ht}mm / A-P ${nn}mm<br>
69846
69846
  <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${wr}mm /<span style='font-weight:normal'> D-V </span>${lr}mm /<span style='font-weight:normal'> A-P </span>${fr}mm<br>
69847
69847
  `);
69848
69848
  }
@@ -69901,7 +69901,7 @@ const Jtt = (t) => {
69901
69901
  }
69902
69902
  return Xe;
69903
69903
  }, No = () => {
69904
- var Xe, dt, Ke, tt, Qe, xt, Ct, wt, St, qt, Mn, we, ce, Ye, Ze, et, Xt, mn, tn, sn, Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, zt, wr, lr, fr, ks, Hi, xo, pi, Ar, Gi, _o, ta, Yo, rl, Hs, As, xa, Io, Gs, Ms, Ws, Un, gs, as, dl, Do, Xa, eo, So, Za, va, fl, Es, os, oo, ss, js, Cs, ac, zl, hl, Yc, Uo, Hl, $o, Xs, zo, Gl, qc, _u, Ud, Iu, Qu, Wl, oc, ed, Jc, so, hf, kd, Fd, Tc, Au, td, Mu, nd, _l, rd, Fa, Vd, _c, jl, Il, il, vi, ms, pl, Ru, Qc, Bd, Ic, id, sc, vl, eu, tu, ad, nu, gl, Ac, ru, Lu, Mc, iu, lc, au, od, cc, Rc, Lc, Oc, ls, Ou, uc, Nc, Rs, Nu, sd, Pc, al, dc, Pu, $d, ld, Ho, cd, Go, Wo, ml, zd, fc, Nv, Pv, tm, ou, kh, Nt, ol, Zs, Fh, Vh, or, un, Sr, Mp, Bh, Rp;
69904
+ var Xe, dt, Ke, tt, Qe, xt, Ct, wt, St, qt, Mn, we, ce, Ye, Ze, et, Xt, mn, tn, sn, Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, Ht, wr, lr, fr, ks, Hi, xo, pi, Ar, Gi, _o, ta, Yo, rl, Hs, As, xa, Io, Gs, Ms, Ws, Un, gs, as, dl, Do, Xa, eo, So, Za, va, fl, Es, os, oo, ss, js, Cs, ac, zl, hl, Yc, Uo, Hl, $o, Xs, zo, Gl, qc, _u, Ud, Iu, Qu, Wl, oc, ed, Jc, so, hf, kd, Fd, Tc, Au, td, Mu, nd, _l, rd, Fa, Vd, _c, jl, Il, il, vi, ms, pl, Ru, Qc, Bd, Ic, id, sc, vl, eu, tu, ad, nu, gl, Ac, ru, Lu, Mc, iu, lc, au, od, cc, Rc, Lc, Oc, ls, Ou, uc, Nc, Rs, Nu, sd, Pc, al, dc, Pu, $d, ld, Ho, cd, Go, Wo, ml, zd, fc, Nv, Pv, tm, ou, kh, Nt, ol, Zs, Fh, Vh, or, un, Sr, Mp, Bh, Rp;
69905
69905
  let Yt = n.current.target.clone().sub(Ni.current.position.clone()), lt, Vt, ct, bn = !1, mr = !1, ai = !1, Ci = !1, ti = Ni.current.up.y <= 0;
69906
69906
  ti ? ((dt = (Xe = rt.current) == null ? void 0 : Xe.coordText_lb) == null || dt.children.forEach((yl) => {
69907
69907
  yl.up.set(0, -1, 0);
@@ -69919,7 +69919,7 @@ const Jtt = (t) => {
69919
69919
  yl.up.set(0, 1, 0);
69920
69920
  }), (et = (Ze = rt.current) == null ? void 0 : Ze.coordText_rb) == null || et.children.forEach((yl) => {
69921
69921
  yl.up.set(0, 1, 0);
69922
- })), lt = (Xt = Zt.current) == null ? void 0 : Xt.normalVector, ct = Zt, Vt = lt && Yt.dot(lt), mr = !1, (mn = ct.current) != null && mn.coordMesh && Se.current.remove((tn = ct.current) == null ? void 0 : tn.coordMesh), (sn = ct.current) != null && sn.mouseLine_w && Se.current.remove((Pt = ct.current) == null ? void 0 : Pt.mouseLine_w), (Dt = ct.current) != null && Dt.mouseLine_h && Se.current.remove((Ir = ct.current) == null ? void 0 : Ir.mouseLine_h), typeof ((yr = ct.current) == null ? void 0 : yr.coordText) == "object" && Se.current.remove((Dn = ct.current) == null ? void 0 : Dn.coordText), typeof ((Qn = ct.current) == null ? void 0 : Qn.coordTextReverse) == "object" && Se.current.remove((Fr = ct.current) == null ? void 0 : Fr.coordTextReverse), Vt && Vt >= 0 && (mr = !0, (hi = ct.current) != null && hi.coordMesh && Se.current.add((nn = ct.current) == null ? void 0 : nn.coordMesh), (zt = ct.current) != null && zt.mouseLine_w && Se.current.add((wr = ct.current) == null ? void 0 : wr.mouseLine_w), (lr = ct.current) != null && lr.mouseLine_h && Se.current.add((fr = ct.current) == null ? void 0 : fr.mouseLine_h), ti ? typeof ((ks = ct.current) == null ? void 0 : ks.coordText) == "object" && Se.current.add((Hi = ct.current) == null ? void 0 : Hi.coordText) : typeof ((xo = ct.current) == null ? void 0 : xo.coordTextReverse) == "object" && Se.current.add((pi = ct.current) == null ? void 0 : pi.coordTextReverse)), lt = (Ar = Rt.current) == null ? void 0 : Ar.normalVector, ct = Rt, Vt = lt && Yt.dot(lt), bn = !1, (Gi = ct.current) != null && Gi.coordMesh && Se.current.remove((_o = ct.current) == null ? void 0 : _o.coordMesh), (ta = ct.current) != null && ta.mouseLine_w && Se.current.remove((Yo = ct.current) == null ? void 0 : Yo.mouseLine_w), (rl = ct.current) != null && rl.mouseLine_h && Se.current.remove((Hs = ct.current) == null ? void 0 : Hs.mouseLine_h), typeof ((As = ct.current) == null ? void 0 : As.coordText) == "object" && Se.current.remove((xa = ct.current) == null ? void 0 : xa.coordText), typeof ((Io = ct.current) == null ? void 0 : Io.coordTextReverse) == "object" && Se.current.remove((Gs = ct.current) == null ? void 0 : Gs.coordTextReverse), Vt && Vt >= 0 && (bn = !0, (Ms = ct.current) != null && Ms.coordMesh && Se.current.add((Ws = ct.current) == null ? void 0 : Ws.coordMesh), (Un = ct.current) != null && Un.mouseLine_w && Se.current.add((gs = ct.current) == null ? void 0 : gs.mouseLine_w), (as = ct.current) != null && as.mouseLine_h && Se.current.add((dl = ct.current) == null ? void 0 : dl.mouseLine_h), ti ? typeof ((Do = ct.current) == null ? void 0 : Do.coordText) == "object" && Se.current.add((Xa = ct.current) == null ? void 0 : Xa.coordText) : typeof ((eo = ct.current) == null ? void 0 : eo.coordTextReverse) == "object" && Se.current.add((So = ct.current) == null ? void 0 : So.coordTextReverse)), lt = (Za = rn.current) == null ? void 0 : Za.normalVector, ct = rn, Vt = lt && Yt.dot(lt), ai = !1, (va = ct.current) != null && va.coordMesh && Se.current.remove((fl = ct.current) == null ? void 0 : fl.coordMesh), (Es = ct.current) != null && Es.mouseLine_w && Se.current.remove((os = ct.current) == null ? void 0 : os.mouseLine_w), (oo = ct.current) != null && oo.mouseLine_h && Se.current.remove((ss = ct.current) == null ? void 0 : ss.mouseLine_h), typeof ((js = ct.current) == null ? void 0 : js.coordText) == "object" && Se.current.remove((Cs = ct.current) == null ? void 0 : Cs.coordText), typeof ((ac = ct.current) == null ? void 0 : ac.coordTextReverse) == "object" && Se.current.remove((zl = ct.current) == null ? void 0 : zl.coordTextReverse), Vt && Vt >= 0 && (ai = !0, (hl = ct.current) != null && hl.coordMesh && Se.current.add((Yc = ct.current) == null ? void 0 : Yc.coordMesh), (Uo = ct.current) != null && Uo.mouseLine_w && Se.current.add((Hl = ct.current) == null ? void 0 : Hl.mouseLine_w), ($o = ct.current) != null && $o.mouseLine_h && Se.current.add((Xs = ct.current) == null ? void 0 : Xs.mouseLine_h), ti ? typeof ((zo = ct.current) == null ? void 0 : zo.coordText) == "object" && Se.current.add((Gl = ct.current) == null ? void 0 : Gl.coordText) : typeof ((qc = ct.current) == null ? void 0 : qc.coordTextReverse) == "object" && Se.current.add((_u = ct.current) == null ? void 0 : _u.coordTextReverse)), lt = (Ud = Ot.current) == null ? void 0 : Ud.normalVector, ct = Ot, Vt = lt && Yt.dot(lt), Ci = !1, (Iu = ct.current) != null && Iu.coordMesh && Se.current.remove((Qu = ct.current) == null ? void 0 : Qu.coordMesh), (Wl = ct.current) != null && Wl.mouseLine_w && Se.current.remove((oc = ct.current) == null ? void 0 : oc.mouseLine_w), (ed = ct.current) != null && ed.mouseLine_h && Se.current.remove((Jc = ct.current) == null ? void 0 : Jc.mouseLine_h), typeof ((so = ct.current) == null ? void 0 : so.coordText) == "object" && Se.current.remove((hf = ct.current) == null ? void 0 : hf.coordText), typeof ((kd = ct.current) == null ? void 0 : kd.coordTextReverse) == "object" && Se.current.remove((Fd = ct.current) == null ? void 0 : Fd.coordTextReverse), Vt && Vt >= 0 && (Ci = !0, (Tc = ct.current) != null && Tc.coordMesh && Se.current.add((Au = ct.current) == null ? void 0 : Au.coordMesh), (td = ct.current) != null && td.mouseLine_w && Se.current.add((Mu = ct.current) == null ? void 0 : Mu.mouseLine_w), (nd = ct.current) != null && nd.mouseLine_h && Se.current.add((_l = ct.current) == null ? void 0 : _l.mouseLine_h), ti ? typeof ((rd = ct.current) == null ? void 0 : rd.coordText) == "object" && Se.current.add((Fa = ct.current) == null ? void 0 : Fa.coordText) : typeof ((Vd = ct.current) == null ? void 0 : Vd.coordTextReverse) == "object" && Se.current.add((_c = ct.current) == null ? void 0 : _c.coordTextReverse)), lt = (jl = rt.current) == null ? void 0 : jl.normalVector, ct = rt, Vt = lt && Yt.dot(lt), Vt && Vt >= 0 ? ((Il = ct.current) != null && Il.coordMesh && Se.current.add((il = ct.current) == null ? void 0 : il.coordMesh), (vi = ct.current) != null && vi.mouseLine_w && Se.current.add((ms = ct.current) == null ? void 0 : ms.mouseLine_w), (pl = ct.current) != null && pl.mouseLine_h && Se.current.add((Ru = ct.current) == null ? void 0 : Ru.mouseLine_h), (Qc = ct.current) != null && Qc.coordText_lb && Se.current.remove((Bd = ct.current) == null ? void 0 : Bd.coordText_lb), (Ic = ct.current) != null && Ic.coordText_rb && Se.current.remove((id = ct.current) == null ? void 0 : id.coordText_rb), (sc = ct.current) != null && sc.coordText_lf && Se.current.remove((vl = ct.current) == null ? void 0 : vl.coordText_lf), (eu = ct.current) != null && eu.coordText_rf && Se.current.remove((tu = ct.current) == null ? void 0 : tu.coordText_rf), mr && ai ? (ad = ct.current) != null && ad.coordText_lb && Se.current.add((nu = ct.current) == null ? void 0 : nu.coordText_lb) : mr && Ci ? (gl = ct.current) != null && gl.coordText_rb && Se.current.add((Ac = ct.current) == null ? void 0 : Ac.coordText_rb) : bn && Ci ? (ru = ct.current) != null && ru.coordText_rf && Se.current.add((Lu = ct.current) == null ? void 0 : Lu.coordText_rf) : bn && ai && (Mc = ct.current) != null && Mc.coordText_lf && Se.current.add((iu = ct.current) == null ? void 0 : iu.coordText_lf)) : ((lc = ct.current) != null && lc.coordMesh && Se.current.remove((au = ct.current) == null ? void 0 : au.coordMesh), (od = ct.current) != null && od.mouseLine_w && Se.current.remove((cc = ct.current) == null ? void 0 : cc.mouseLine_w), (Rc = ct.current) != null && Rc.mouseLine_h && Se.current.remove((Lc = ct.current) == null ? void 0 : Lc.mouseLine_h), (Oc = ct.current) != null && Oc.coordText_lb && Se.current.remove((ls = ct.current) == null ? void 0 : ls.coordText_lb), (Ou = ct.current) != null && Ou.coordText_rb && Se.current.remove((uc = ct.current) == null ? void 0 : uc.coordText_rb), (Nc = ct.current) != null && Nc.coordText_lf && Se.current.remove((Rs = ct.current) == null ? void 0 : Rs.coordText_lf), (Nu = ct.current) != null && Nu.coordText_rf && Se.current.remove((sd = ct.current) == null ? void 0 : sd.coordText_rf)), lt = (Pc = vt.current) == null ? void 0 : Pc.normalVector, ct = vt, Vt = lt && Yt.dot(lt), Vt && Vt >= 0 ? ((al = ct.current) != null && al.coordMesh && Se.current.add((dc = ct.current) == null ? void 0 : dc.coordMesh), (Pu = ct.current) != null && Pu.mouseLine_w && Se.current.add(($d = ct.current) == null ? void 0 : $d.mouseLine_w), (ld = ct.current) != null && ld.mouseLine_h && Se.current.add((Ho = ct.current) == null ? void 0 : Ho.mouseLine_h), (cd = rt.current) != null && cd.coordText_lb && Se.current.remove((Go = rt.current) == null ? void 0 : Go.coordText_lb), (Wo = rt.current) != null && Wo.coordText_rb && Se.current.remove((ml = rt.current) == null ? void 0 : ml.coordText_rb), (zd = rt.current) != null && zd.coordText_lf && Se.current.remove((fc = rt.current) == null ? void 0 : fc.coordText_lf), (Nv = rt.current) != null && Nv.coordText_rf && Se.current.remove((Pv = rt.current) == null ? void 0 : Pv.coordText_rf), mr && ai ? (tm = rt.current) != null && tm.coordText_lb && Se.current.add((ou = rt.current) == null ? void 0 : ou.coordText_lb) : mr && Ci ? (kh = rt.current) != null && kh.coordText_rb && Se.current.add((Nt = rt.current) == null ? void 0 : Nt.coordText_rb) : bn && Ci ? (ol = rt.current) != null && ol.coordText_rf && Se.current.add((Zs = rt.current) == null ? void 0 : Zs.coordText_rf) : bn && ai && (Fh = rt.current) != null && Fh.coordText_lf && Se.current.add((Vh = rt.current) == null ? void 0 : Vh.coordText_lf)) : ((or = ct.current) != null && or.coordMesh && Se.current.remove((un = ct.current) == null ? void 0 : un.coordMesh), (Sr = ct.current) != null && Sr.mouseLine_w && Se.current.remove((Mp = ct.current) == null ? void 0 : Mp.mouseLine_w), (Bh = ct.current) != null && Bh.mouseLine_h && Se.current.remove((Rp = ct.current) == null ? void 0 : Rp.mouseLine_h));
69922
+ })), lt = (Xt = Zt.current) == null ? void 0 : Xt.normalVector, ct = Zt, Vt = lt && Yt.dot(lt), mr = !1, (mn = ct.current) != null && mn.coordMesh && Se.current.remove((tn = ct.current) == null ? void 0 : tn.coordMesh), (sn = ct.current) != null && sn.mouseLine_w && Se.current.remove((Pt = ct.current) == null ? void 0 : Pt.mouseLine_w), (Dt = ct.current) != null && Dt.mouseLine_h && Se.current.remove((Ir = ct.current) == null ? void 0 : Ir.mouseLine_h), typeof ((yr = ct.current) == null ? void 0 : yr.coordText) == "object" && Se.current.remove((Dn = ct.current) == null ? void 0 : Dn.coordText), typeof ((Qn = ct.current) == null ? void 0 : Qn.coordTextReverse) == "object" && Se.current.remove((Fr = ct.current) == null ? void 0 : Fr.coordTextReverse), Vt && Vt >= 0 && (mr = !0, (hi = ct.current) != null && hi.coordMesh && Se.current.add((nn = ct.current) == null ? void 0 : nn.coordMesh), (Ht = ct.current) != null && Ht.mouseLine_w && Se.current.add((wr = ct.current) == null ? void 0 : wr.mouseLine_w), (lr = ct.current) != null && lr.mouseLine_h && Se.current.add((fr = ct.current) == null ? void 0 : fr.mouseLine_h), ti ? typeof ((ks = ct.current) == null ? void 0 : ks.coordText) == "object" && Se.current.add((Hi = ct.current) == null ? void 0 : Hi.coordText) : typeof ((xo = ct.current) == null ? void 0 : xo.coordTextReverse) == "object" && Se.current.add((pi = ct.current) == null ? void 0 : pi.coordTextReverse)), lt = (Ar = Rt.current) == null ? void 0 : Ar.normalVector, ct = Rt, Vt = lt && Yt.dot(lt), bn = !1, (Gi = ct.current) != null && Gi.coordMesh && Se.current.remove((_o = ct.current) == null ? void 0 : _o.coordMesh), (ta = ct.current) != null && ta.mouseLine_w && Se.current.remove((Yo = ct.current) == null ? void 0 : Yo.mouseLine_w), (rl = ct.current) != null && rl.mouseLine_h && Se.current.remove((Hs = ct.current) == null ? void 0 : Hs.mouseLine_h), typeof ((As = ct.current) == null ? void 0 : As.coordText) == "object" && Se.current.remove((xa = ct.current) == null ? void 0 : xa.coordText), typeof ((Io = ct.current) == null ? void 0 : Io.coordTextReverse) == "object" && Se.current.remove((Gs = ct.current) == null ? void 0 : Gs.coordTextReverse), Vt && Vt >= 0 && (bn = !0, (Ms = ct.current) != null && Ms.coordMesh && Se.current.add((Ws = ct.current) == null ? void 0 : Ws.coordMesh), (Un = ct.current) != null && Un.mouseLine_w && Se.current.add((gs = ct.current) == null ? void 0 : gs.mouseLine_w), (as = ct.current) != null && as.mouseLine_h && Se.current.add((dl = ct.current) == null ? void 0 : dl.mouseLine_h), ti ? typeof ((Do = ct.current) == null ? void 0 : Do.coordText) == "object" && Se.current.add((Xa = ct.current) == null ? void 0 : Xa.coordText) : typeof ((eo = ct.current) == null ? void 0 : eo.coordTextReverse) == "object" && Se.current.add((So = ct.current) == null ? void 0 : So.coordTextReverse)), lt = (Za = rn.current) == null ? void 0 : Za.normalVector, ct = rn, Vt = lt && Yt.dot(lt), ai = !1, (va = ct.current) != null && va.coordMesh && Se.current.remove((fl = ct.current) == null ? void 0 : fl.coordMesh), (Es = ct.current) != null && Es.mouseLine_w && Se.current.remove((os = ct.current) == null ? void 0 : os.mouseLine_w), (oo = ct.current) != null && oo.mouseLine_h && Se.current.remove((ss = ct.current) == null ? void 0 : ss.mouseLine_h), typeof ((js = ct.current) == null ? void 0 : js.coordText) == "object" && Se.current.remove((Cs = ct.current) == null ? void 0 : Cs.coordText), typeof ((ac = ct.current) == null ? void 0 : ac.coordTextReverse) == "object" && Se.current.remove((zl = ct.current) == null ? void 0 : zl.coordTextReverse), Vt && Vt >= 0 && (ai = !0, (hl = ct.current) != null && hl.coordMesh && Se.current.add((Yc = ct.current) == null ? void 0 : Yc.coordMesh), (Uo = ct.current) != null && Uo.mouseLine_w && Se.current.add((Hl = ct.current) == null ? void 0 : Hl.mouseLine_w), ($o = ct.current) != null && $o.mouseLine_h && Se.current.add((Xs = ct.current) == null ? void 0 : Xs.mouseLine_h), ti ? typeof ((zo = ct.current) == null ? void 0 : zo.coordText) == "object" && Se.current.add((Gl = ct.current) == null ? void 0 : Gl.coordText) : typeof ((qc = ct.current) == null ? void 0 : qc.coordTextReverse) == "object" && Se.current.add((_u = ct.current) == null ? void 0 : _u.coordTextReverse)), lt = (Ud = Ot.current) == null ? void 0 : Ud.normalVector, ct = Ot, Vt = lt && Yt.dot(lt), Ci = !1, (Iu = ct.current) != null && Iu.coordMesh && Se.current.remove((Qu = ct.current) == null ? void 0 : Qu.coordMesh), (Wl = ct.current) != null && Wl.mouseLine_w && Se.current.remove((oc = ct.current) == null ? void 0 : oc.mouseLine_w), (ed = ct.current) != null && ed.mouseLine_h && Se.current.remove((Jc = ct.current) == null ? void 0 : Jc.mouseLine_h), typeof ((so = ct.current) == null ? void 0 : so.coordText) == "object" && Se.current.remove((hf = ct.current) == null ? void 0 : hf.coordText), typeof ((kd = ct.current) == null ? void 0 : kd.coordTextReverse) == "object" && Se.current.remove((Fd = ct.current) == null ? void 0 : Fd.coordTextReverse), Vt && Vt >= 0 && (Ci = !0, (Tc = ct.current) != null && Tc.coordMesh && Se.current.add((Au = ct.current) == null ? void 0 : Au.coordMesh), (td = ct.current) != null && td.mouseLine_w && Se.current.add((Mu = ct.current) == null ? void 0 : Mu.mouseLine_w), (nd = ct.current) != null && nd.mouseLine_h && Se.current.add((_l = ct.current) == null ? void 0 : _l.mouseLine_h), ti ? typeof ((rd = ct.current) == null ? void 0 : rd.coordText) == "object" && Se.current.add((Fa = ct.current) == null ? void 0 : Fa.coordText) : typeof ((Vd = ct.current) == null ? void 0 : Vd.coordTextReverse) == "object" && Se.current.add((_c = ct.current) == null ? void 0 : _c.coordTextReverse)), lt = (jl = rt.current) == null ? void 0 : jl.normalVector, ct = rt, Vt = lt && Yt.dot(lt), Vt && Vt >= 0 ? ((Il = ct.current) != null && Il.coordMesh && Se.current.add((il = ct.current) == null ? void 0 : il.coordMesh), (vi = ct.current) != null && vi.mouseLine_w && Se.current.add((ms = ct.current) == null ? void 0 : ms.mouseLine_w), (pl = ct.current) != null && pl.mouseLine_h && Se.current.add((Ru = ct.current) == null ? void 0 : Ru.mouseLine_h), (Qc = ct.current) != null && Qc.coordText_lb && Se.current.remove((Bd = ct.current) == null ? void 0 : Bd.coordText_lb), (Ic = ct.current) != null && Ic.coordText_rb && Se.current.remove((id = ct.current) == null ? void 0 : id.coordText_rb), (sc = ct.current) != null && sc.coordText_lf && Se.current.remove((vl = ct.current) == null ? void 0 : vl.coordText_lf), (eu = ct.current) != null && eu.coordText_rf && Se.current.remove((tu = ct.current) == null ? void 0 : tu.coordText_rf), mr && ai ? (ad = ct.current) != null && ad.coordText_lb && Se.current.add((nu = ct.current) == null ? void 0 : nu.coordText_lb) : mr && Ci ? (gl = ct.current) != null && gl.coordText_rb && Se.current.add((Ac = ct.current) == null ? void 0 : Ac.coordText_rb) : bn && Ci ? (ru = ct.current) != null && ru.coordText_rf && Se.current.add((Lu = ct.current) == null ? void 0 : Lu.coordText_rf) : bn && ai && (Mc = ct.current) != null && Mc.coordText_lf && Se.current.add((iu = ct.current) == null ? void 0 : iu.coordText_lf)) : ((lc = ct.current) != null && lc.coordMesh && Se.current.remove((au = ct.current) == null ? void 0 : au.coordMesh), (od = ct.current) != null && od.mouseLine_w && Se.current.remove((cc = ct.current) == null ? void 0 : cc.mouseLine_w), (Rc = ct.current) != null && Rc.mouseLine_h && Se.current.remove((Lc = ct.current) == null ? void 0 : Lc.mouseLine_h), (Oc = ct.current) != null && Oc.coordText_lb && Se.current.remove((ls = ct.current) == null ? void 0 : ls.coordText_lb), (Ou = ct.current) != null && Ou.coordText_rb && Se.current.remove((uc = ct.current) == null ? void 0 : uc.coordText_rb), (Nc = ct.current) != null && Nc.coordText_lf && Se.current.remove((Rs = ct.current) == null ? void 0 : Rs.coordText_lf), (Nu = ct.current) != null && Nu.coordText_rf && Se.current.remove((sd = ct.current) == null ? void 0 : sd.coordText_rf)), lt = (Pc = vt.current) == null ? void 0 : Pc.normalVector, ct = vt, Vt = lt && Yt.dot(lt), Vt && Vt >= 0 ? ((al = ct.current) != null && al.coordMesh && Se.current.add((dc = ct.current) == null ? void 0 : dc.coordMesh), (Pu = ct.current) != null && Pu.mouseLine_w && Se.current.add(($d = ct.current) == null ? void 0 : $d.mouseLine_w), (ld = ct.current) != null && ld.mouseLine_h && Se.current.add((Ho = ct.current) == null ? void 0 : Ho.mouseLine_h), (cd = rt.current) != null && cd.coordText_lb && Se.current.remove((Go = rt.current) == null ? void 0 : Go.coordText_lb), (Wo = rt.current) != null && Wo.coordText_rb && Se.current.remove((ml = rt.current) == null ? void 0 : ml.coordText_rb), (zd = rt.current) != null && zd.coordText_lf && Se.current.remove((fc = rt.current) == null ? void 0 : fc.coordText_lf), (Nv = rt.current) != null && Nv.coordText_rf && Se.current.remove((Pv = rt.current) == null ? void 0 : Pv.coordText_rf), mr && ai ? (tm = rt.current) != null && tm.coordText_lb && Se.current.add((ou = rt.current) == null ? void 0 : ou.coordText_lb) : mr && Ci ? (kh = rt.current) != null && kh.coordText_rb && Se.current.add((Nt = rt.current) == null ? void 0 : Nt.coordText_rb) : bn && Ci ? (ol = rt.current) != null && ol.coordText_rf && Se.current.add((Zs = rt.current) == null ? void 0 : Zs.coordText_rf) : bn && ai && (Fh = rt.current) != null && Fh.coordText_lf && Se.current.add((Vh = rt.current) == null ? void 0 : Vh.coordText_lf)) : ((or = ct.current) != null && or.coordMesh && Se.current.remove((un = ct.current) == null ? void 0 : un.coordMesh), (Sr = ct.current) != null && Sr.mouseLine_w && Se.current.remove((Mp = ct.current) == null ? void 0 : Mp.mouseLine_w), (Bh = ct.current) != null && Bh.mouseLine_h && Se.current.remove((Rp = ct.current) == null ? void 0 : Rp.mouseLine_h));
69923
69923
  }, Ss = (Yt) => {
69924
69924
  m != null && m.current && Se.current.remove(m.current);
69925
69925
  const lt = new ia().setFromPoints(Yt), Vt = new _h({ color: 255 }), ct = new Sa(lt, Vt);
@@ -119794,11 +119794,11 @@ Z0(6, () => {
119794
119794
  throw new Error("old style JPEG compression is not supported.");
119795
119795
  });
119796
119796
  Z0(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
119797
- Z0([8, 32946], () => import("./deflate-cad4e48d.mjs").then((t) => t.default));
119797
+ Z0([8, 32946], () => import("./deflate-e370d0d2.mjs").then((t) => t.default));
119798
119798
  Z0(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
119799
119799
  Z0(
119800
119800
  34887,
119801
- () => import("./lerc-9519133c.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
119801
+ () => import("./lerc-266782c0.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
119802
119802
  );
119803
119803
  Z0(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
119804
119804
  function WP(t, e, n, r = 1) {
@@ -121600,7 +121600,7 @@ const t3t = {
121600
121600
  max: new ye(1081.3045654296875, 800.6698608398438, 1400.156005859375)
121601
121601
  }, [sn, Pt] = ft([]), Dt = Fe({}), Ir = Fe(!1), yr = Fe([0, 0]), Dn = Fe([0, 0]);
121602
121602
  Fe("brains-wl2mwcUzjU");
121603
- const Qn = Fe(""), Fr = Fe(!1), [hi, nn] = ft(!1), [zt, wr] = ft(!1), [lr, fr] = ft(0), [ks, Hi] = ft(0), [xo, pi] = ft([]), [Ar, Gi] = ft([]), _o = Fe(null), ta = Fe(null), [Yo, rl] = ft(null), [Hs, As] = ft(null), [xa, Io] = ft(Ple || ""), [Gs, Ms] = ft(!1);
121603
+ const Qn = Fe(""), Fr = Fe(!1), [hi, nn] = ft(!1), [Ht, wr] = ft(!1), [lr, fr] = ft(0), [ks, Hi] = ft(0), [xo, pi] = ft([]), [Ar, Gi] = ft([]), _o = Fe(null), ta = Fe(null), [Yo, rl] = ft(null), [Hs, As] = ft(null), [xa, Io] = ft(Ple || ""), [Gs, Ms] = ft(!1);
121604
121604
  ft([]), ft(""), ft(!1);
121605
121605
  const Ws = Fe(""), [Un, gs] = ft(qi.leftHemisphereVisibility), as = Fe([]);
121606
121606
  Fe([]);
@@ -122073,17 +122073,17 @@ const t3t = {
122073
122073
  map: at
122074
122074
  }));
122075
122075
  Mt.name = "startText";
122076
- let Qt = new ap(Go(650, 620, `${We.x.toFixed(2)},${We.y.toFixed(2)},${We.z.toFixed(2)}`, "#ccc")), Ht = new lh(new Af({
122076
+ let Qt = new ap(Go(650, 620, `${We.x.toFixed(2)},${We.y.toFixed(2)},${We.z.toFixed(2)}`, "#ccc")), zt = new lh(new Af({
122077
122077
  map: Qt
122078
122078
  }));
122079
- Ht.name = "endText", Mt.position.set(be.min.x, be.min.y + 0.2, be.min.z), Ht.position.set(be.max.x, be.max.y + 0.6, be.max.z);
122079
+ zt.name = "endText", Mt.position.set(be.min.x, be.min.y + 0.2, be.min.z), zt.position.set(be.max.x, be.max.y + 0.6, be.max.z);
122080
122080
  let En = Se.current.getObjectByName("startText"), xn = Se.current.getObjectByName("endText");
122081
- En && xn && (Se.current.remove(En, xn), Se.current.add(Mt, Ht));
122081
+ En && xn && (Se.current.remove(En, xn), Se.current.add(Mt, zt));
122082
122082
  }, [ee]), Ln(() => {
122083
122083
  var ar, $n;
122084
- let be = {}, Ne = [], We = [], at = {}, Mt = [], Qt = [], Ht, En = new URL(window.location.href), xn = new URLSearchParams(En.search);
122084
+ let be = {}, Ne = [], We = [], at = {}, Mt = [], Qt = [], zt, En = new URL(window.location.href), xn = new URLSearchParams(En.search);
122085
122085
  if (se && Le.length > 0) {
122086
- if (Ht = jl(Le, De), De == "") {
122086
+ if (zt = jl(Le, De), De == "") {
122087
122087
  A.current.removeFBX(Ws.current, !0);
122088
122088
  const pr = A.current.checkedKeys.current.findIndex((Or) => Or === Ws.current);
122089
122089
  pr > -1 && A.current.checkedKeys.current.splice(pr, 1), De == "" && (Ws.current = "");
@@ -122091,10 +122091,10 @@ const t3t = {
122091
122091
  xn.set("regionsChecked", jn), En.search = xn.toString(), window.history.replaceState({}, "", En);
122092
122092
  }
122093
122093
  if (De != "") {
122094
- if (Ht == null && De && (Ht = De.match(/^[\w\/]+/)[0] || ""), Ht) {
122095
- let pr = ((ar = se[Ht]) == null ? void 0 : ar.up) || [];
122094
+ if (zt == null && De && (De == "fiber tract fiber tracts" ? zt = "fiber tract" : zt = De.match(/^[\w\/]+/)[0] || ""), zt) {
122095
+ let pr = ((ar = se[zt]) == null ? void 0 : ar.up) || [];
122096
122096
  Mt = Mt.concat(pr);
122097
- let jn = (($n = se[Ht]) == null ? void 0 : $n.down) || [];
122097
+ let jn = (($n = se[zt]) == null ? void 0 : $n.down) || [];
122098
122098
  Qt = Qt.concat(jn), Mt = Array.from(new Set(Mt)), Qt = Array.from(new Set(Qt)), Mt && Mt.forEach((Zr) => {
122099
122099
  var $i, Ks, Ys;
122100
122100
  for (const bl in se)
@@ -122105,26 +122105,26 @@ const t3t = {
122105
122105
  (Ks = ($i = se[bl]) == null ? void 0 : $i.axon) != null && Ks.includes(Zr) && ((Ys = se[bl]) == null ? void 0 : Ys.id) == 1 && (bl in at ? at[bl].includes(Zr) || at[bl].push(Zr) : at[bl] = [Zr]);
122106
122106
  });
122107
122107
  for (let Zr in at)
122108
- if (Zr != Ht) {
122108
+ if (Zr != zt) {
122109
122109
  let $i = gl(Le, Zr.replace("_", "/"));
122110
122110
  Ne.push({ name: Zr.replace("_", "/"), itemStyle: { color: $i.color }, lineStyle: { color: "#ccc" }, value: at[Zr].length });
122111
122111
  }
122112
122112
  for (let Zr in be)
122113
- if (Zr != Ht) {
122113
+ if (Zr != zt) {
122114
122114
  let $i = gl(Le, Zr.replace("_", "/"));
122115
122115
  We.push({ name: Zr.replace("_", "/"), itemStyle: { color: $i.color }, lineStyle: { color: "#ccc" }, value: be[Zr].length });
122116
122116
  }
122117
122117
  Ms(!0);
122118
- let Or = gl(Le, Ht.replace("_", "/"));
122119
- console.log(Ht, Le, Or);
122120
- const Gr = [{ name: Ht.replace("_", "/"), itemStyle: { color: Or.color }, lineStyle: { color: "#ccc" }, children: Ne }], Nr = [{ name: Ht.replace("_", "/"), itemStyle: { color: Or.color }, lineStyle: { color: "#ccc" }, children: We }];
122121
- if (Ws.current != Ht) {
122118
+ let Or = gl(Le, zt.replace("_", "/"));
122119
+ console.log(zt, Le, Or);
122120
+ const Gr = [{ name: zt.replace("_", "/"), itemStyle: { color: Or.color }, lineStyle: { color: "#ccc" }, children: Ne }], Nr = [{ name: zt.replace("_", "/"), itemStyle: { color: Or.color }, lineStyle: { color: "#ccc" }, children: We }];
122121
+ if (Ws.current != zt) {
122122
122122
  A.current.removeFBX(Ws.current, !0);
122123
122123
  const Zr = A.current.checkedKeys.current.findIndex((Ys) => Ys === Ws.current);
122124
122124
  Zr > -1 && A.current.checkedKeys.current.splice(Zr, 1);
122125
- const $i = gl(A.current.treeDatas, Ht.replace("_", "/"));
122126
- let Ks = n + "/data/FBX/" + Ht + ".FBX";
122127
- mg(Ks, Ht, $i.color, 0.8, 0, "FBX"), A.current.checkedKeys.current.push(Ht), re(A.current.checkedKeys.current), Ws.current = Ht, xn.set("echart_Value", De), En.search = xn.toString(), window.history.replaceState({}, "", En);
122125
+ const $i = gl(A.current.treeDatas, zt.replace("_", "/"));
122126
+ let Ks = n + "/data/FBX/" + zt + ".FBX";
122127
+ mg(Ks, zt, $i.color, 0.8, 0, "FBX"), A.current.checkedKeys.current.push(zt), re(A.current.checkedKeys.current), Ws.current = zt, xn.set("echart_Value", De), En.search = xn.toString(), window.history.replaceState({}, "", En);
122128
122128
  }
122129
122129
  const ua = {
122130
122130
  series: [
@@ -122158,8 +122158,8 @@ const t3t = {
122158
122158
  return [Op + 10, Xl];
122159
122159
  },
122160
122160
  formatter: function(Wr) {
122161
- const Dc = Ht == Wr.name ? "" : Wr.name + "->", Hd = Wr.value ? ", " + Wr.value + " neurons" : "";
122162
- return `${Dc}${Ht}${Hd}`;
122161
+ const Dc = zt == Wr.name ? "" : Wr.name + "->", Hd = Wr.value ? ", " + Wr.value + " neurons" : "";
122162
+ return `${Dc}${zt}${Hd}`;
122163
122163
  }
122164
122164
  },
122165
122165
  series: [{
@@ -122193,8 +122193,8 @@ const t3t = {
122193
122193
  return [Op - mA - 10, Xl];
122194
122194
  },
122195
122195
  formatter: function(Wr) {
122196
- const Dc = Ht == Wr.name ? "" : "->" + Wr.name + ", " + Wr.value + " neurons";
122197
- return `${Ht}${Dc}`;
122196
+ const Dc = zt == Wr.name ? "" : "->" + Wr.name + ", " + Wr.value + " neurons";
122197
+ return `${zt}${Dc}`;
122198
122198
  }
122199
122199
  },
122200
122200
  series: [{
@@ -122223,7 +122223,7 @@ const t3t = {
122223
122223
  Y(Et.indexOf("neurons") + 1);
122224
122224
  let Dc = new URL(window.location.href), Hd = new URLSearchParams(Dc.search);
122225
122225
  if (Hd.set("leftTabIndex", String(Et.indexOf("neurons") + 1)), Dc.search = Hd.toString(), window.history.replaceState({}, "", Dc), Q.current.ProcessedData.current = !1, Wr.data && Wr.data.name) {
122226
- Q.current.setSearchValue(Ht.replace("_", "/")), Q.current.setSomaValue(Wr.data.name.replace("_", "/"));
122226
+ Q.current.setSearchValue(zt.replace("_", "/")), Q.current.setSomaValue(Wr.data.name.replace("_", "/"));
122227
122227
  const $h = _c(Gr[0], Wr.data.name);
122228
122228
  Zr.setOption({
122229
122229
  series: [{
@@ -122239,7 +122239,7 @@ const t3t = {
122239
122239
  Y(Et.indexOf("neurons") + 1);
122240
122240
  let Dc = new URL(window.location.href), Hd = new URLSearchParams(Dc.search);
122241
122241
  if (Hd.set("leftTabIndex", String(Et.indexOf("neurons") + 1)), Dc.search = Hd.toString(), window.history.replaceState({}, "", Dc), Q.current.ProcessedData.current = !1, Wr.data && Wr.data.name) {
122242
- Q.current.setSearchValue(Wr.data.name.replace("_", "/")), Q.current.setSomaValue(Ht.replace("_", "/"));
122242
+ Q.current.setSearchValue(Wr.data.name.replace("_", "/")), Q.current.setSomaValue(zt.replace("_", "/"));
122243
122243
  const $h = _c(Nr[0], Wr.data.name);
122244
122244
  $i.setOption({
122245
122245
  series: [{
@@ -122273,8 +122273,8 @@ const t3t = {
122273
122273
  }, [ir]);
122274
122274
  const _l = (be) => {
122275
122275
  const { positionx: Ne, positiony: We, positionz: at } = be;
122276
- let Mt = new URL(window.location.href), Ht = new URLSearchParams(Mt.search).get("atlasReslicingInfo"), En = {};
122277
- Ht && (En = JSON.parse(Ht)), Lr(Ne), Gt(We), Je(at), En.positionX = Ne, En.positionY = We, En.positionZ = at, qi.atlasReslicingInfo = En;
122276
+ let Mt = new URL(window.location.href), zt = new URLSearchParams(Mt.search).get("atlasReslicingInfo"), En = {};
122277
+ zt && (En = JSON.parse(zt)), Lr(Ne), Gt(We), Je(at), En.positionX = Ne, En.positionY = We, En.positionZ = at, qi.atlasReslicingInfo = En;
122278
122278
  }, rd = (be) => {
122279
122279
  gr(be);
122280
122280
  }, Fa = (be, Ne = !1) => {
@@ -122296,12 +122296,12 @@ const t3t = {
122296
122296
  $i.set("cameraInfo", Nr), $i.set("controllerInfo", ua), Zr.search = $i.toString(), window.history.replaceState({}, "", Zr);
122297
122297
  }
122298
122298
  Ho(), ni([]), Ss("Config_DAPI.ini"), we.current = null, Ki({}), Ne || ve.current && Q.current && A.current && (ve.current.removeALL(), Q.current.removeALL(), A.current.removeALL()), be == 1 ? w(!0) : w(!1), bn.current && (bn.current.textContent = o("4000.0208") || "选择靶点"), u != null && u.current && (u.current.innerHTML = ""), d.current && (d.current.innerHTML = ""), m.current = !1, f.current = !1;
122299
- const We = Se.current.getObjectByName("sphereBig"), at = Se.current.getObjectByName("sphereMiddelClick"), Mt = Se.current.getObjectByName("dashedLine"), Qt = Se.current.getObjectByName("Line"), Ht = Se.current.getObjectByName("transformControls"), En = Se.current.getObjectByName("sectionSphere"), xn = Se.current.getObjectByName("correspondingPlaneDataSwc"), ar = [];
122299
+ const We = Se.current.getObjectByName("sphereBig"), at = Se.current.getObjectByName("sphereMiddelClick"), Mt = Se.current.getObjectByName("dashedLine"), Qt = Se.current.getObjectByName("Line"), zt = Se.current.getObjectByName("transformControls"), En = Se.current.getObjectByName("sectionSphere"), xn = Se.current.getObjectByName("correspondingPlaneDataSwc"), ar = [];
122300
122300
  Se.current.traverse((Nr) => {
122301
122301
  Nr.userData.isAtlasMapping === "true" && ar.push(Nr);
122302
122302
  }), ar.forEach((Nr) => {
122303
122303
  Se.current.remove(Nr);
122304
- }), xn && Se.current.remove(xn), En && Se.current.remove(En), Ht && Se.current.remove(Ht), x.current = [], b.current = [], Mt && Se.current.remove(Mt), Qt && Se.current.remove(Qt), We && Se.current.remove(We), at && Se.current.remove(at);
122304
+ }), xn && Se.current.remove(xn), En && Se.current.remove(En), zt && Se.current.remove(zt), x.current = [], b.current = [], Mt && Se.current.remove(Mt), Qt && Se.current.remove(Qt), We && Se.current.remove(We), at && Se.current.remove(at);
122305
122305
  const $n = Se.current.children.filter((Nr) => Nr.userData.name === "registrationPng");
122306
122306
  $n && Se.current.remove(...$n), k.current = !1, M(!1);
122307
122307
  const pr = Se.current.getObjectByName("HorizontalView"), jn = Se.current.getObjectByName("SagittalView"), Or = Se.current.getObjectByName("arbitrarySlice"), Gr = Se.current.getObjectByName("CoronalView");
@@ -122370,10 +122370,10 @@ const t3t = {
122370
122370
  y: 0,
122371
122371
  z: Mt.z
122372
122372
  })
122373
- }).then((Ht) => Ht.ok ? Ht.json() : el.error({
122374
- title: Ht.message
122375
- })).then((Ht) => {
122376
- const En = Ht.base64;
122373
+ }).then((zt) => zt.ok ? zt.json() : el.error({
122374
+ title: zt.message
122375
+ })).then((zt) => {
122376
+ const En = zt.base64;
122377
122377
  let xn = Qt.load(En);
122378
122378
  xn.center.set(0.5, 0.5), xn.rotation = Math.PI, Ne.material.map = xn;
122379
122379
  });
@@ -122388,10 +122388,10 @@ const t3t = {
122388
122388
  y: 0,
122389
122389
  z: 0
122390
122390
  })
122391
- }).then((Ht) => Ht.ok ? Ht.json() : el.error({
122392
- title: Ht.message
122393
- })).then((Ht) => {
122394
- const En = Ht.base64;
122391
+ }).then((zt) => zt.ok ? zt.json() : el.error({
122392
+ title: zt.message
122393
+ })).then((zt) => {
122394
+ const En = zt.base64;
122395
122395
  let xn = Qt.load(En);
122396
122396
  const $n = Ne.geometry.attributes.uv.array, pr = (Or) => {
122397
122397
  $n[Or + 0] = 1, $n[Or + 1] = 0, $n[Or + 2] = 1, $n[Or + 3] = 1, $n[Or + 4] = 0, $n[Or + 5] = 0, $n[Or + 6] = 0, $n[Or + 7] = 1;
@@ -122411,14 +122411,14 @@ const t3t = {
122411
122411
  y: Mt.y,
122412
122412
  z: 0
122413
122413
  })
122414
- }).then((Ht) => (Ht.ok, Ht.json())).then((Ht) => {
122415
- if (Ht.message) {
122414
+ }).then((zt) => (zt.ok, zt.json())).then((zt) => {
122415
+ if (zt.message) {
122416
122416
  el.error({
122417
- content: Ht.message
122417
+ content: zt.message
122418
122418
  });
122419
122419
  return;
122420
122420
  }
122421
- const En = Ht.base64;
122421
+ const En = zt.base64;
122422
122422
  let xn = Qt.load(En);
122423
122423
  const $n = Ne.geometry.attributes.uv.array;
122424
122424
  ((jn) => {
@@ -122426,14 +122426,14 @@ const t3t = {
122426
122426
  })(24), Ne.geometry.attributes.uv.needsUpdate = !0, Ne.material.map = xn;
122427
122427
  });
122428
122428
  else {
122429
- const Ht = Ne.rotation.x / Math.PI * 180, En = Ne.rotation.y / Math.PI * 180, xn = Ne.rotation.z / Math.PI * 180;
122429
+ const zt = Ne.rotation.x / Math.PI * 180, En = Ne.rotation.y / Math.PI * 180, xn = Ne.rotation.z / Math.PI * 180;
122430
122430
  fetch("/app-api/c-api/slicing", {
122431
122431
  method: "post",
122432
122432
  headers: {
122433
122433
  "Content-Type": "application/json"
122434
122434
  },
122435
122435
  body: JSON.stringify({
122436
- angles: [Ht, En, xn],
122436
+ angles: [zt, En, xn],
122437
122437
  center: [Mt.x, Mt.y, Mt.z]
122438
122438
  })
122439
122439
  }).then((ar) => ar.ok ? ar.json() : el.error({
@@ -122449,8 +122449,8 @@ const t3t = {
122449
122449
  }
122450
122450
  }, 100);
122451
122451
  }, pl = (be, Ne) => {
122452
- let We, at = 0, Mt = new URL(window.location.href), Ht = new URLSearchParams(Mt.search).get("atlasReslicingInfo"), En = {};
122453
- Ht && (En = JSON.parse(Ht)), Vt.current == 1 ? (Se.current.children.forEach(function(xn, ar) {
122452
+ let We, at = 0, Mt = new URL(window.location.href), zt = new URLSearchParams(Mt.search).get("atlasReslicingInfo"), En = {};
122453
+ zt && (En = JSON.parse(zt)), Vt.current == 1 ? (Se.current.children.forEach(function(xn, ar) {
122454
122454
  Ne == 3 && xn.name == "CoronalView" && (at = ar);
122455
122455
  }), We = new ye(0, 0, be), Se.current.children[at].position.setZ(We.z), ms(Vt.current, Se.current.children[at])) : Vt.current == 2 ? (Se.current.children.forEach(function(xn, ar) {
122456
122456
  Ne == 1 && xn.name == "SagittalView" && (at = ar);
@@ -122469,14 +122469,14 @@ const t3t = {
122469
122469
  let Ne = new URL(window.location.href), at = new URLSearchParams(Ne.search).get("atlasReslicingInfo"), Mt = {};
122470
122470
  at && (Mt = JSON.parse(at)), Vt.current == 1 && (Je(be), Lr(-5.17), Gt(-5.33), pl(be, 3), Mt.positionX = -5.17, Mt.positionY = -5.33, Mt.positionZ = be, qi.atlasReslicingInfo = Mt), Vt.current == 4 && pl(be, 3);
122471
122471
  }, Ic = (be, Ne) => {
122472
- let We = 0, at = new URL(window.location.href), Qt = new URLSearchParams(at.search).get("atlasReslicingInfo"), Ht = {};
122473
- Qt && (Ht = JSON.parse(Qt)), Se.current.children.forEach(function(pr, jn) {
122472
+ let We = 0, at = new URL(window.location.href), Qt = new URLSearchParams(at.search).get("atlasReslicingInfo"), zt = {};
122473
+ Qt && (zt = JSON.parse(Qt)), Se.current.children.forEach(function(pr, jn) {
122474
122474
  pr.name == "arbitrarySlice" && (We = jn);
122475
122475
  });
122476
122476
  let En = Se.current.children[We];
122477
122477
  En.rotation.set(En.userData.initRotation.x, En.userData.initRotation.y, En.userData.initRotation.z);
122478
122478
  let xn = 0, ar = 0, $n = 0;
122479
- Ne == 1 && (cn(be), Ht.angleX = be, qi.atlasReslicingInfo = Ht, xn = be * Math.PI / 180, ar = Tn * Math.PI / 180, $n = Bn * Math.PI / 180), Ne == 2 && (gn(be), Ht.angleY = be, qi.atlasReslicingInfo = Ht, xn = dn * Math.PI / 180, ar = be * Math.PI / 180, $n = Bn * Math.PI / 180), Ne == 3 && (nr(be), Ht.angleZ = be, qi.atlasReslicingInfo = Ht, xn = dn * Math.PI / 180, ar = Tn * Math.PI / 180, $n = be * Math.PI / 180), En.rotation.x = xn, En.rotation.y = ar, En.rotation.z = $n, Se.current.children.forEach(function(pr, jn) {
122479
+ Ne == 1 && (cn(be), zt.angleX = be, qi.atlasReslicingInfo = zt, xn = be * Math.PI / 180, ar = Tn * Math.PI / 180, $n = Bn * Math.PI / 180), Ne == 2 && (gn(be), zt.angleY = be, qi.atlasReslicingInfo = zt, xn = dn * Math.PI / 180, ar = be * Math.PI / 180, $n = Bn * Math.PI / 180), Ne == 3 && (nr(be), zt.angleZ = be, qi.atlasReslicingInfo = zt, xn = dn * Math.PI / 180, ar = Tn * Math.PI / 180, $n = be * Math.PI / 180), En.rotation.x = xn, En.rotation.y = ar, En.rotation.z = $n, Se.current.children.forEach(function(pr, jn) {
122480
122480
  pr.name == "arbitrarySlice" && (We = jn);
122481
122481
  }), ms(Vt.current, Se.current.children[We]);
122482
122482
  }, id = (be, Ne = !1) => {
@@ -122485,9 +122485,9 @@ const t3t = {
122485
122485
  if (Vt.current == 4 || Ne)
122486
122486
  setTimeout(() => {
122487
122487
  const Mt = "atlas.brainsmatics.org";
122488
- let Qt = [], Ht = parseInt(((pe + 8) / 14 * 14e3).toString()), En = parseInt(((In + 5.33) / 7.37 * 9e3).toString());
122489
- Ne ? (Qt[0] = 90 + kr.angles[0], Qt[1] = kr.angles[1], Qt[2] = kr.angles[2], Ht = kr.tx * 14e3, En = 450) : (Qt[0] = dn, Qt[1] = Tn, Qt[2] = Bn);
122490
- let xn = parseInt(((Ur + 5.17) / 10.34 * 11400).toString()), ar = "http://" + Mt + '/program/frontend/#!{"dimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"]},"position":[' + xn + "," + En + "," + Ht + '],"crossSectionOrientation":[0.7071067690849304,0,0,-0.7071067690849304],"crossSectionScale":19.05662684586283,"projectionOrientation":[0.10079027712345123,0.01086505874991417,-0.5527856945991516,-0.827134370803833],"projectionScale":74319.80669416502,"projectionDepth":-49.99956451007631,"layers":[{"type":"image","source":{"url":"precomputed://http://' + Mt + '/data/RGB_raw","transform":{"outputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"],"c^":[1,""]},"inputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"],"c^":[1,""]}}},"tab":"rendering","shader":"#uicontrol invlerp normalized\\nvoid main() {\\n emitRGB(vec3(toNormalized(getDataValue(0)),\\n toNormalized(getDataValue(1)),\\n toNormalized(getDataValue(2))));\\n}\\n","channelDimensions":{"c^":[1,""]},"name":"raw"},{"type":"segmentation","source":{"url":"precomputed://http://' + Mt + '/data/seg_half","transform":{"outputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"]},"inputDimensions":{"x":[0.00001,"m"],"y":[0.00001,"m"],"z":[0.00001,"m"]}}},"tab":"segments","segments":["10","100","1000","1002","1004","1005","1006","1007","1008","1009","1010","1011","1012","1013","1014","1015","1016","1017","1018","1019","1020","1021","1022","1023","1024","1025","1026","1100","104","105","106","107","108","11","110","111","112","113","114","115","117","118","119","12","120","122","123","124","125","126","129","13","130","131","134","138","14","141","142","143","146","147","149","15","150","152","154","156","159","16","160","162","164","165","166","167","168","170","172","173","174","176","177","178","179","18","180","181","182","183","186","189","19","190","192","193","194","195","196","199","2","20","201","202","203","204","206","207","208","21","212","215","216","217","219","22","220","221","223","224","225","228","229","23","230","231","232","234","235","236","237","238","239","24","241","242","243","245","246","247","248","25","250","251","253","254","256","257","259","26","260","265","266","267","268","27","271","272","273","275","276","279","28","280","282","283","284","287","29","291","293","294","295","296","297","298","3","30","300","303","304","305","306","31","311","312","313","315","319","32","320","321","322","323","324","325","326","329","33","330","331","332","333","335","336","337","338","34","340","341","342","343","344","347","348","349","35","350","351","352","354","355","356","357","359","36","361","362","365","366","367","368","369","37","371","372","373","374","375","376","377","378","38","380","385","386","387","389","39","390","391","392","393","394","395","397","399","4","40","401","402","405","407","409","41","412","413","414","415","416","417","419","42","422","423","424","426","427","428","43","430","432","435","438","439","44","440","441","442","443","444","445","446","449","45","450","451","452","453","454","456","458","459","46","460","461","462","463","464","465","466","467","47","470","473","474","475","476","478","479","48","480","481","484","485","486","487","488","49","490","491","493","494","497","498","499","5","50","500","501","503","504","505","507","508","51","510","511","512","513","514","516","517","518","519","52","520","528","529","53","533","535","536","537","538","539","54","540","541","542","544","545","546","548","549","55","550","553","554","555","556","557","559","56","561","562","563","565","568","57","570","571","572","573","574","575","576","578","579","58","581","582","584","586","59","591","593","594","595","597","599","6","60","601","602","604","606","61","611","612","613","614","615","616","617","618","619","62","620","621","622","623","624","625","627","628","629","63","631","632","635","637","638","639","64","641","642","643","644","645","646","647","648","65","650","652","653","656","657","658","660","661","662","665","666","667","67","671","672","673","674","677","678","679","68","680","681","682","683","684","686","687","688","690","693","695","696","697","698","699","7","701","702","704","706","707","708","709","710","711","712","713","716","717","72","720","721","722","724","725","727","729","731","733","734","735","736","737","74","740","744","746","748","749","750","752","754","755","757","758","759","76","760","762","763","764","765","767","768","769","770","771","772","773","774","775","776","778","779","78","780","783","784","785","787","789","790","791","793","796","797","798","799","8","80","803","804","808","809","81","810","812","816","818","819","82","821","823","824","826","827","829","83","830","831","832","834","835","837","839","84","840","841","842","843","844","846","849","850","851","855","856","857","858","86","861","863","864","865","867","868","869","87","870","871","872","874","875","876","877","878","879","88","880","881","883","885","888","889","89","892","893","894","895","896","898","899","9","90","901","902","906","908","909","91","911","913","915","916","917","919","92","920","921","925","926","927","928","929","93","931","934","935","936","937","938","940","941","942","944","945","946","951","953","954","955","956","957","959","96","963","964","965","966","969","97","970","971","972","973","977","978","980","981","982","983","989","99","991","992","993","995","996","997","998","999"],"segmentQuery":"<id","segmentColors":{"2":"#777b7b","3":"#777979","4":"#848989","5":"#8e9494","6":"#8c9191","7":"#778383","8":"#778181","9":"#93a2a2","10":"#5e6767","11":"#93c1c1","12":"#6b7474","13":"#93c0c0","14":"#8eacac","15":"#727979","16":"#91afaf","18":"#93b4b4","19":"#729c9c","20":"#212d2d","21":"#304242","22":"#2d3e3e","23":"#2b3232","24":"#1e2929","25":"#707676","26":"#7c8383","27":"#89bbbb","28":"#608383","29":"#7c9d9d","30":"#777d7d","31":"#7a8080","32":"#778080","33":"#7f8585","34":"#6d8a8a","35":"#829d9d","36":"#545d5d","37":"#93a4a4","38":"#4c5454","39":"#474f4f","40":"#8cbebe","41":"#7a9a9a","42":"#93b8b8","43":"#84a0a0","44":"#93a1a1","45":"#93baba","46":"#84b4b4","47":"#6d9595","48":"#82b0b0","49":"#6b9191","50":"#7fadad","51":"#87a3a3","52":"#636c6c","53":"#596363","54":"#334545","55":"#2b3b3b","56":"#666f6f","57":"#476161","58":"#939898","59":"#637e7e","60":"#7aa0a0","61":"#7fa5a5","62":"#444d4d","63":"#f2bb3a","64":"#77d1ff","65":"#3ddeff","67":"#2cc15e","68":"#ffd877","72":"#ffbfad","74":"#e5d60b","76":"#40c3dd","78":"#f7e1af","80":"#3bdddd","81":"#a0dfff","82":"#d67259","83":"#ffab93","84":"#f2c04b","86":"#91503f","87":"#3cabc1","88":"#3db4cc","89":"#f7d585","90":"#723f32","91":"#ffb49e","92":"#f4cf53","93":"#ffbf0f","96":"#f2dca7","97":"#e2d92f","99":"#f4d05a","100":"#399eb2","104":"#4dcc77","105":"#f7da96","106":"#d35dac","107":"#ffd15e","108":"#3cd1d1","110":"#55ccb8","111":"#3aa2b7","112":"#bc782f","113":"#8cccc1","114":"#f7d68a","115":"#82ccbf","117":"#6acc8a","118":"#b2af07","119":"#ffd044","120":"#75d1ff","122":"#ef8064","123":"#37dbfc","124":"#c6499d","125":"#66cbff","126":"#ffc32d","129":"#66ccbb","130":"#f7dea3","131":"#fc957b","134":"#ffb5a0","138":"#84493a","141":"#8accc1","142":"#e5d609","143":"#45d9f7","146":"#d8cb17","147":"#f2dca4","149":"#d1ca06","150":"#ce8333","152":"#67afa3","154":"#f2bd43","156":"#ffcf3f","159":"#f79279","160":"#f29d43","162":"#e5d604","164":"#b2af01","165":"#75e5e5","166":"#ffc83f","167":"#ffbdaa","168":"#74c4ed","170":"#ccc50c","172":"#ffa78e","173":"#42cae5","174":"#a2dcf9","176":"#af702b","177":"#965342","178":"#f4bc04","179":"#51cc7a","180":"#d68733","181":"#3ac4e0","182":"#ffc021","183":"#f7d483","186":"#f2dda9","189":"#3eb766","190":"#72ccbd","192":"#f4927a","193":"#f7dc9e","194":"#d1ca04","195":"#fc976c","196":"#fc67ca","199":"#52e5e5","201":"#ffd366","202":"#ffca2d","203":"#ed9436","204":"#ffe7a0","206":"#74ccbd","207":"#33cc66","208":"#36d9f9","212":"#71e2e2","215":"#edd39c","216":"#d38634","217":"#ed9b44","219":"#ccc345","220":"#60e5e5","221":"#c96b54","223":"#ccc62a","224":"#34d0ef","225":"#ffd454","228":"#ea9a44","229":"#f4cf55","230":"#3bcece","231":"#a85c4a","232":"#ffad96","234":"#ffd97a","235":"#ffda7f","236":"#ffc61c","237":"#c6c00d","238":"#f2b935","239":"#ffc107","241":"#ffdf89","242":"#64e5e5","243":"#edca80","245":"#ccc863","246":"#ea7d62","247":"#c9489e","248":"#3fdbdb","250":"#edd5a3","251":"#2bc45e","253":"#ffca44","254":"#f7d380","256":"#ffc832","257":"#f7e0aa","259":"#ffd351","260":"#6bb6db","265":"#d8cb15","266":"#37cc68","267":"#378c9e","268":"#38c9b1","271":"#6bbaad","272":"#39c2dd","273":"#ffc32b","275":"#37ccb3","276":"#3fc1db","279":"#eab94f","280":"#eab84b","282":"#d37158","283":"#38c4c4","284":"#ffdb82","287":"#f7d588","291":"#f9be48","293":"#f49369","294":"#d149a3","295":"#f4cc49","296":"#63a096","297":"#ffe69e","298":"#ff9b70","300":"#f7a27e","303":"#f7a042","304":"#ccc241","305":"#88ccc0","306":"#eaba52","311":"#34ceed","312":"#d8cc1e","313":"#91daff","315":"#f9c04d","319":"#ff996d","320":"#4be5e5","321":"#ffcdbf","322":"#ddd75a","323":"#ffd263","324":"#e0785e","325":"#70e0e0","326":"#ffcf42","329":"#a4defc","330":"#69b2a6","331":"#67a1bf","332":"#57cc7e","333":"#ffbf11","335":"#ea8e77","336":"#ffc73a","337":"#76c9f2","338":"#7f4638","340":"#c16953","341":"#46defc","342":"#f7e1ad","343":"#68aed1","344":"#ff9367","347":"#c4be0d","348":"#6ab7aa","349":"#ffb805","350":"#639bb7","351":"#38bcff","352":"#ed63bf","354":"#f2bc3e","355":"#ffd154","356":"#f2da9d","357":"#e5d606","359":"#9bddff","361":"#ffc311","362":"#ffbb11","365":"#ffa58e","366":"#ffbe1c","367":"#ffb807","368":"#34c8e5","369":"#c1bb0d","371":"#ffbe0c","372":"#a3e0ff","373":"#774234","374":"#3995a8","375":"#d849a9","376":"#3daf63","377":"#ffe8a3","378":"#41cc6f","380":"#ffc823","385":"#ccc751","386":"#5bcc81","387":"#ccc85f","389":"#41bfd8","390":"#36bca6","391":"#edce8b","392":"#54e5e5","393":"#3baa60","394":"#36a9e2","395":"#ef9637","397":"#ffc72d","399":"#68a89d","401":"#ffcc4c","402":"#fc50c3","405":"#3a9aad","407":"#d17057","409":"#77e5e5","412":"#7ee5e5","413":"#b2af05","414":"#67acce","415":"#f2bf48","416":"#c66c55","417":"#5fccb9","419":"#69bfb0","422":"#f265c3","423":"#ffb90a","424":"#41bf6b","426":"#e861bb","427":"#56c6ff","428":"#80ccbf","430":"#389e5a","432":"#ffda7c","435":"#53ccb7","438":"#57e5e5","439":"#f9c252","440":"#ffc416","441":"#ffd259","442":"#6cccbc","443":"#ffa991","444":"#74c4ef","445":"#eadf07","446":"#ffc023","449":"#f7e3b4","450":"#4fcc79","451":"#ffb6a0","452":"#f99c39","453":"#75caf4","454":"#a55b48","456":"#99dcff","458":"#ff976b","459":"#3fcc6e","460":"#ffbd19","461":"#ccc62c","462":"#35d4f4","463":"#76ccbd","464":"#ffd04f","465":"#ccc861","466":"#3aa35d","467":"#ba7b37","470":"#ffe08c","473":"#ff916d","474":"#37bfa8","475":"#efab0b","476":"#ffa187","478":"#66a59b","479":"#efa802","480":"#754033","481":"#ccc859","484":"#6accbb","485":"#3cad62","486":"#f79b38","487":"#b2af08","488":"#f4cb44","490":"#edcf90","491":"#ffcc35","493":"#ccc855","494":"#43cc70","497":"#ea9335","498":"#44e5e5","499":"#edcc84","500":"#ffa791","501":"#39a0b5","503":"#c9c30c","504":"#ffa389","505":"#ffc430","507":"#f9a47f","508":"#63ccba","510":"#f2dfae","511":"#ffd56b","512":"#a35a47","513":"#e89843","514":"#ffd7cc","516":"#5be5e5","517":"#6bc689","518":"#ffc20c","519":"#ccc85d","520":"#3db6ce","528":"#f2da9f","529":"#ffd051","533":"#35cc67","535":"#dd765d","536":"#39a05c","537":"#f2be46","538":"#3fbad3","539":"#77cef9","540":"#3dbeff","541":"#ed9078","542":"#c14799","544":"#9b5544","545":"#8c4d3d","546":"#ffc10a","548":"#f4be0c","549":"#f7e2b2","550":"#3fbfff","553":"#edd49e","554":"#bf6852","555":"#55cc7d","556":"#368a9b","557":"#bc6651","559":"#ffcd4f","561":"#35cae8","562":"#efa907","563":"#ccc347","565":"#3dd3d3","568":"#59ccb8","570":"#ffce54","571":"#39c0db","572":"#e2da31","573":"#f2bb3c","574":"#93dbff","575":"#824739","576":"#e89135","578":"#82e5e5","579":"#68ccff","581":"#ffd256","582":"#ffdf87","584":"#45dbf9","586":"#e08d35","591":"#ffbc05","593":"#ff906b","594":"#84d6ff","595":"#41c16c","597":"#f24fbc","599":"#ddd75f","601":"#ffe18e","602":"#7be5e5","604":"#36c1aa","606":"#ff8e68","611":"#368ea0","612":"#5bc8ff","613":"#79e5e5","614":"#3ba55f","615":"#a5e1ff","616":"#d64aa7","617":"#ffc61e","618":"#3de5e5","619":"#e24ab0","620":"#c6833b","621":"#edcb82","622":"#59c7ff","623":"#3db565","624":"#f9bb3e","625":"#2bbc5b","627":"#ffcb30","628":"#f9a143","629":"#ffc228","631":"#edcd89","632":"#d8cc1c","635":"#efac0e","637":"#7fd4ff","638":"#35d2f2","639":"#ffcd3a","641":"#ffd9ce","642":"#ffbf1e","643":"#eab84d","644":"#ffc9ba","645":"#41ccb4","646":"#f9ba3b","647":"#cec80c","648":"#f4bd09","650":"#3cb1c9","652":"#ffc528","653":"#ce4aa2","656":"#f4bd07","657":"#5dad78","658":"#ff8c66","660":"#ffbba8","661":"#79d0fc","662":"#ffd559","665":"#ffe69b","666":"#ffd456","667":"#ffca47","671":"#f9c14f","672":"#7a4335","673":"#ffbd0a","674":"#ffde84","677":"#f4ca3f","678":"#659fbc","679":"#3ba5ba","680":"#ffa787","681":"#e87c61","682":"#e8a310","683":"#ffc730","684":"#f9bd45","686":"#ba4693","687":"#ba762e","688":"#eade02","690":"#fc9d37","693":"#e8a412","695":"#eadf04","696":"#f4c93d","697":"#ed7f63","698":"#efaa09","699":"#ffcfc1","701":"#ccc349","702":"#ed4eb8","704":"#ffd35b","706":"#2cc960","707":"#d85fb0","708":"#f4c835","709":"#935141","710":"#3fccb4","711":"#ffce3d","712":"#c46a54","713":"#41c5e0","716":"#8cd8ff","717":"#f765c6","720":"#38bed8","721":"#b2af00","722":"#2bbf5d","724":"#b74792","725":"#f2ba37","727":"#37c6af","729":"#f4cd4b","731":"#3fdfff","733":"#67bcae","734":"#43cce8","735":"#49c2ff","736":"#3bcccc","737":"#f2d896","740":"#f4c93a","744":"#edd5a1","746":"#ffc3b2","748":"#4fbff7","749":"#f2d99b","750":"#3cadc4","752":"#84ccc0","754":"#c67e31","755":"#f4cc46","757":"#f29179","758":"#379b59","759":"#ffa382","760":"#f2deab","762":"#ffe8a5","763":"#ddd75d","764":"#bf792f","765":"#f4bc02","767":"#42c0ff","768":"#e58d77","769":"#ffc535","770":"#62e5e5","771":"#5dcc82","772":"#3ca7bc","773":"#f4d15d","774":"#ffc519","775":"#e84cb4","776":"#45cc72","778":"#6cb8dd","779":"#dd8c35","780":"#edd093","783":"#ffc532","784":"#ffb9a5","785":"#ffd65b","787":"#3dccb4","789":"#80e5e5","790":"#649dba","791":"#f49f44","793":"#67afd3","796":"#40e5e5","797":"#f7dda0","798":"#47ccb5","799":"#ccc857","803":"#45ccb5","804":"#ffbd07","808":"#b2458e","809":"#dd4bad","810":"#a8e2ff","812":"#ffa37c","816":"#40bc69","818":"#6eccbc","819":"#68b1d6","821":"#d88934","823":"#44d7f4","824":"#cc5ba6","826":"#4fc4ff","827":"#3ed6d6","829":"#eabb54","830":"#f9b939","831":"#ffc005","832":"#ffd775","834":"#d18534","835":"#ffd260","837":"#c47d31","839":"#39bfbf","840":"#ffcd51","841":"#ffdd82","842":"#bf4897","843":"#e5d602","844":"#49e5e5","846":"#f74fbf","849":"#e88d76","850":"#f4a07c","851":"#ffaf99","855":"#ffc928","856":"#63cbff","857":"#f4d058","858":"#c45aa1","861":"#30cc64","863":"#c95ca5","864":"#ffd059","865":"#47cc73","867":"#f9b834","868":"#edc97b","869":"#ffca2b","870":"#f4c838","871":"#ffc942","872":"#3cb263","874":"#ffb29b","875":"#ffbd16","876":"#f2d898","877":"#ccc62e","878":"#ffd468","879":"#ccc243","880":"#e25fb7","881":"#ffd1c4","883":"#f9937a","885":"#f29837","888":"#e2da34","889":"#379957","892":"#e2795f","893":"#5faf79","894":"#ffc721","895":"#ffc30f","896":"#65a398","898":"#efa904","899":"#4fccb7","901":"#2bc65f","902":"#ffc83d","906":"#5bccb9","908":"#eab748","909":"#ffb39e","911":"#8e4e3e","913":"#ff9f84","915":"#89d7ff","916":"#edd29a","917":"#6ccc8c","919":"#f2c04d","920":"#3dcc6c","921":"#44d1ed","925":"#ce6e56","926":"#d15eaa","927":"#e59744","928":"#fca580","929":"#39c6c6","931":"#6cc98b","934":"#41c8e2","935":"#6bcdff","936":"#ffd147","937":"#874a3b","938":"#5ec9ff","940":"#f49938","941":"#3fba68","942":"#e060b5","944":"#edc97d","945":"#7cccbe","946":"#5caa76","951":"#a05846","953":"#ffc1af","954":"#ffa57f","955":"#ffa58c","956":"#ffc62b","957":"#ffcf56","959":"#50c3fc","963":"#f7dfa8","964":"#db755c","965":"#82d5ff","966":"#ffd34f","969":"#3db0c6","970":"#38bcbc","971":"#54e2ff","972":"#44c0ff","973":"#f7db99","977":"#ffc5b5","978":"#ffba0c","980":"#ffbb0f","981":"#cc8233","982":"#ccc23f","983":"#ffcc32","989":"#ffc935","991":"#db8a34","992":"#ffa584","993":"#f9bd43","995":"#edcf8e","996":"#37baba","997":"#66aacc","998":"#43ccb5","999":"#3eb8d1","1000":"#db5eb1","1002":"#3de2e2","1004":"#37ade8","1005":"#36c4ac","1006":"#d8cc1a","1007":"#54c6ff","1008":"#aa5e4b","1009":"#ef8f77","1010":"#4fc1f9","1011":"#1c2626","1012":"#a5e1ff","1013":"#a5e1ff","1014":"#a5e1ff","1015":"#a5e1ff","1016":"#47cc74","1017":"#47cc75","1018":"#47cc76","1019":"#47cc77","1020":"#47cc78","1021":"#f99c40","1022":"#f99c41","1023":"#ff9368","1024":"#8b51ff","1025":"#8d54ff","1026":"#894fff","1100":"#3ce0e0"},"name":"seg2"}],"showDefaultAnnotations":false,"sliceAngleRotaX":"' + Qt[0] + '","sliceAngleRotaY":"' + Qt[1] + '","sliceAngleRotaZ":"' + Qt[2] + '","selectedLayer":{"visible":true,"layer":"seg2"},"crossSectionBackgroundColor":"#ffffff","projectionBackgroundColor":"#ffffff","layout":"hzkdPanel"}';
122488
+ let Qt = [], zt = parseInt(((pe + 8) / 14 * 14e3).toString()), En = parseInt(((In + 5.33) / 7.37 * 9e3).toString());
122489
+ Ne ? (Qt[0] = 90 + kr.angles[0], Qt[1] = kr.angles[1], Qt[2] = kr.angles[2], zt = kr.tx * 14e3, En = 450) : (Qt[0] = dn, Qt[1] = Tn, Qt[2] = Bn);
122490
+ let xn = parseInt(((Ur + 5.17) / 10.34 * 11400).toString()), ar = "http://" + Mt + '/program/frontend/#!{"dimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"]},"position":[' + xn + "," + En + "," + zt + '],"crossSectionOrientation":[0.7071067690849304,0,0,-0.7071067690849304],"crossSectionScale":19.05662684586283,"projectionOrientation":[0.10079027712345123,0.01086505874991417,-0.5527856945991516,-0.827134370803833],"projectionScale":74319.80669416502,"projectionDepth":-49.99956451007631,"layers":[{"type":"image","source":{"url":"precomputed://http://' + Mt + '/data/RGB_raw","transform":{"outputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"],"c^":[1,""]},"inputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"],"c^":[1,""]}}},"tab":"rendering","shader":"#uicontrol invlerp normalized\\nvoid main() {\\n emitRGB(vec3(toNormalized(getDataValue(0)),\\n toNormalized(getDataValue(1)),\\n toNormalized(getDataValue(2))));\\n}\\n","channelDimensions":{"c^":[1,""]},"name":"raw"},{"type":"segmentation","source":{"url":"precomputed://http://' + Mt + '/data/seg_half","transform":{"outputDimensions":{"x":[0.000001,"m"],"y":[0.000001,"m"],"z":[0.000001,"m"]},"inputDimensions":{"x":[0.00001,"m"],"y":[0.00001,"m"],"z":[0.00001,"m"]}}},"tab":"segments","segments":["10","100","1000","1002","1004","1005","1006","1007","1008","1009","1010","1011","1012","1013","1014","1015","1016","1017","1018","1019","1020","1021","1022","1023","1024","1025","1026","1100","104","105","106","107","108","11","110","111","112","113","114","115","117","118","119","12","120","122","123","124","125","126","129","13","130","131","134","138","14","141","142","143","146","147","149","15","150","152","154","156","159","16","160","162","164","165","166","167","168","170","172","173","174","176","177","178","179","18","180","181","182","183","186","189","19","190","192","193","194","195","196","199","2","20","201","202","203","204","206","207","208","21","212","215","216","217","219","22","220","221","223","224","225","228","229","23","230","231","232","234","235","236","237","238","239","24","241","242","243","245","246","247","248","25","250","251","253","254","256","257","259","26","260","265","266","267","268","27","271","272","273","275","276","279","28","280","282","283","284","287","29","291","293","294","295","296","297","298","3","30","300","303","304","305","306","31","311","312","313","315","319","32","320","321","322","323","324","325","326","329","33","330","331","332","333","335","336","337","338","34","340","341","342","343","344","347","348","349","35","350","351","352","354","355","356","357","359","36","361","362","365","366","367","368","369","37","371","372","373","374","375","376","377","378","38","380","385","386","387","389","39","390","391","392","393","394","395","397","399","4","40","401","402","405","407","409","41","412","413","414","415","416","417","419","42","422","423","424","426","427","428","43","430","432","435","438","439","44","440","441","442","443","444","445","446","449","45","450","451","452","453","454","456","458","459","46","460","461","462","463","464","465","466","467","47","470","473","474","475","476","478","479","48","480","481","484","485","486","487","488","49","490","491","493","494","497","498","499","5","50","500","501","503","504","505","507","508","51","510","511","512","513","514","516","517","518","519","52","520","528","529","53","533","535","536","537","538","539","54","540","541","542","544","545","546","548","549","55","550","553","554","555","556","557","559","56","561","562","563","565","568","57","570","571","572","573","574","575","576","578","579","58","581","582","584","586","59","591","593","594","595","597","599","6","60","601","602","604","606","61","611","612","613","614","615","616","617","618","619","62","620","621","622","623","624","625","627","628","629","63","631","632","635","637","638","639","64","641","642","643","644","645","646","647","648","65","650","652","653","656","657","658","660","661","662","665","666","667","67","671","672","673","674","677","678","679","68","680","681","682","683","684","686","687","688","690","693","695","696","697","698","699","7","701","702","704","706","707","708","709","710","711","712","713","716","717","72","720","721","722","724","725","727","729","731","733","734","735","736","737","74","740","744","746","748","749","750","752","754","755","757","758","759","76","760","762","763","764","765","767","768","769","770","771","772","773","774","775","776","778","779","78","780","783","784","785","787","789","790","791","793","796","797","798","799","8","80","803","804","808","809","81","810","812","816","818","819","82","821","823","824","826","827","829","83","830","831","832","834","835","837","839","84","840","841","842","843","844","846","849","850","851","855","856","857","858","86","861","863","864","865","867","868","869","87","870","871","872","874","875","876","877","878","879","88","880","881","883","885","888","889","89","892","893","894","895","896","898","899","9","90","901","902","906","908","909","91","911","913","915","916","917","919","92","920","921","925","926","927","928","929","93","931","934","935","936","937","938","940","941","942","944","945","946","951","953","954","955","956","957","959","96","963","964","965","966","969","97","970","971","972","973","977","978","980","981","982","983","989","99","991","992","993","995","996","997","998","999"],"segmentQuery":"<id","segmentColors":{"2":"#777b7b","3":"#777979","4":"#848989","5":"#8e9494","6":"#8c9191","7":"#778383","8":"#778181","9":"#93a2a2","10":"#5e6767","11":"#93c1c1","12":"#6b7474","13":"#93c0c0","14":"#8eacac","15":"#727979","16":"#91afaf","18":"#93b4b4","19":"#729c9c","20":"#212d2d","21":"#304242","22":"#2d3e3e","23":"#2b3232","24":"#1e2929","25":"#707676","26":"#7c8383","27":"#89bbbb","28":"#608383","29":"#7c9d9d","30":"#777d7d","31":"#7a8080","32":"#778080","33":"#7f8585","34":"#6d8a8a","35":"#829d9d","36":"#545d5d","37":"#93a4a4","38":"#4c5454","39":"#474f4f","40":"#8cbebe","41":"#7a9a9a","42":"#93b8b8","43":"#84a0a0","44":"#93a1a1","45":"#93baba","46":"#84b4b4","47":"#6d9595","48":"#82b0b0","49":"#6b9191","50":"#7fadad","51":"#87a3a3","52":"#636c6c","53":"#596363","54":"#334545","55":"#2b3b3b","56":"#666f6f","57":"#476161","58":"#939898","59":"#637e7e","60":"#7aa0a0","61":"#7fa5a5","62":"#444d4d","63":"#f2bb3a","64":"#77d1ff","65":"#3ddeff","67":"#2cc15e","68":"#ffd877","72":"#ffbfad","74":"#e5d60b","76":"#40c3dd","78":"#f7e1af","80":"#3bdddd","81":"#a0dfff","82":"#d67259","83":"#ffab93","84":"#f2c04b","86":"#91503f","87":"#3cabc1","88":"#3db4cc","89":"#f7d585","90":"#723f32","91":"#ffb49e","92":"#f4cf53","93":"#ffbf0f","96":"#f2dca7","97":"#e2d92f","99":"#f4d05a","100":"#399eb2","104":"#4dcc77","105":"#f7da96","106":"#d35dac","107":"#ffd15e","108":"#3cd1d1","110":"#55ccb8","111":"#3aa2b7","112":"#bc782f","113":"#8cccc1","114":"#f7d68a","115":"#82ccbf","117":"#6acc8a","118":"#b2af07","119":"#ffd044","120":"#75d1ff","122":"#ef8064","123":"#37dbfc","124":"#c6499d","125":"#66cbff","126":"#ffc32d","129":"#66ccbb","130":"#f7dea3","131":"#fc957b","134":"#ffb5a0","138":"#84493a","141":"#8accc1","142":"#e5d609","143":"#45d9f7","146":"#d8cb17","147":"#f2dca4","149":"#d1ca06","150":"#ce8333","152":"#67afa3","154":"#f2bd43","156":"#ffcf3f","159":"#f79279","160":"#f29d43","162":"#e5d604","164":"#b2af01","165":"#75e5e5","166":"#ffc83f","167":"#ffbdaa","168":"#74c4ed","170":"#ccc50c","172":"#ffa78e","173":"#42cae5","174":"#a2dcf9","176":"#af702b","177":"#965342","178":"#f4bc04","179":"#51cc7a","180":"#d68733","181":"#3ac4e0","182":"#ffc021","183":"#f7d483","186":"#f2dda9","189":"#3eb766","190":"#72ccbd","192":"#f4927a","193":"#f7dc9e","194":"#d1ca04","195":"#fc976c","196":"#fc67ca","199":"#52e5e5","201":"#ffd366","202":"#ffca2d","203":"#ed9436","204":"#ffe7a0","206":"#74ccbd","207":"#33cc66","208":"#36d9f9","212":"#71e2e2","215":"#edd39c","216":"#d38634","217":"#ed9b44","219":"#ccc345","220":"#60e5e5","221":"#c96b54","223":"#ccc62a","224":"#34d0ef","225":"#ffd454","228":"#ea9a44","229":"#f4cf55","230":"#3bcece","231":"#a85c4a","232":"#ffad96","234":"#ffd97a","235":"#ffda7f","236":"#ffc61c","237":"#c6c00d","238":"#f2b935","239":"#ffc107","241":"#ffdf89","242":"#64e5e5","243":"#edca80","245":"#ccc863","246":"#ea7d62","247":"#c9489e","248":"#3fdbdb","250":"#edd5a3","251":"#2bc45e","253":"#ffca44","254":"#f7d380","256":"#ffc832","257":"#f7e0aa","259":"#ffd351","260":"#6bb6db","265":"#d8cb15","266":"#37cc68","267":"#378c9e","268":"#38c9b1","271":"#6bbaad","272":"#39c2dd","273":"#ffc32b","275":"#37ccb3","276":"#3fc1db","279":"#eab94f","280":"#eab84b","282":"#d37158","283":"#38c4c4","284":"#ffdb82","287":"#f7d588","291":"#f9be48","293":"#f49369","294":"#d149a3","295":"#f4cc49","296":"#63a096","297":"#ffe69e","298":"#ff9b70","300":"#f7a27e","303":"#f7a042","304":"#ccc241","305":"#88ccc0","306":"#eaba52","311":"#34ceed","312":"#d8cc1e","313":"#91daff","315":"#f9c04d","319":"#ff996d","320":"#4be5e5","321":"#ffcdbf","322":"#ddd75a","323":"#ffd263","324":"#e0785e","325":"#70e0e0","326":"#ffcf42","329":"#a4defc","330":"#69b2a6","331":"#67a1bf","332":"#57cc7e","333":"#ffbf11","335":"#ea8e77","336":"#ffc73a","337":"#76c9f2","338":"#7f4638","340":"#c16953","341":"#46defc","342":"#f7e1ad","343":"#68aed1","344":"#ff9367","347":"#c4be0d","348":"#6ab7aa","349":"#ffb805","350":"#639bb7","351":"#38bcff","352":"#ed63bf","354":"#f2bc3e","355":"#ffd154","356":"#f2da9d","357":"#e5d606","359":"#9bddff","361":"#ffc311","362":"#ffbb11","365":"#ffa58e","366":"#ffbe1c","367":"#ffb807","368":"#34c8e5","369":"#c1bb0d","371":"#ffbe0c","372":"#a3e0ff","373":"#774234","374":"#3995a8","375":"#d849a9","376":"#3daf63","377":"#ffe8a3","378":"#41cc6f","380":"#ffc823","385":"#ccc751","386":"#5bcc81","387":"#ccc85f","389":"#41bfd8","390":"#36bca6","391":"#edce8b","392":"#54e5e5","393":"#3baa60","394":"#36a9e2","395":"#ef9637","397":"#ffc72d","399":"#68a89d","401":"#ffcc4c","402":"#fc50c3","405":"#3a9aad","407":"#d17057","409":"#77e5e5","412":"#7ee5e5","413":"#b2af05","414":"#67acce","415":"#f2bf48","416":"#c66c55","417":"#5fccb9","419":"#69bfb0","422":"#f265c3","423":"#ffb90a","424":"#41bf6b","426":"#e861bb","427":"#56c6ff","428":"#80ccbf","430":"#389e5a","432":"#ffda7c","435":"#53ccb7","438":"#57e5e5","439":"#f9c252","440":"#ffc416","441":"#ffd259","442":"#6cccbc","443":"#ffa991","444":"#74c4ef","445":"#eadf07","446":"#ffc023","449":"#f7e3b4","450":"#4fcc79","451":"#ffb6a0","452":"#f99c39","453":"#75caf4","454":"#a55b48","456":"#99dcff","458":"#ff976b","459":"#3fcc6e","460":"#ffbd19","461":"#ccc62c","462":"#35d4f4","463":"#76ccbd","464":"#ffd04f","465":"#ccc861","466":"#3aa35d","467":"#ba7b37","470":"#ffe08c","473":"#ff916d","474":"#37bfa8","475":"#efab0b","476":"#ffa187","478":"#66a59b","479":"#efa802","480":"#754033","481":"#ccc859","484":"#6accbb","485":"#3cad62","486":"#f79b38","487":"#b2af08","488":"#f4cb44","490":"#edcf90","491":"#ffcc35","493":"#ccc855","494":"#43cc70","497":"#ea9335","498":"#44e5e5","499":"#edcc84","500":"#ffa791","501":"#39a0b5","503":"#c9c30c","504":"#ffa389","505":"#ffc430","507":"#f9a47f","508":"#63ccba","510":"#f2dfae","511":"#ffd56b","512":"#a35a47","513":"#e89843","514":"#ffd7cc","516":"#5be5e5","517":"#6bc689","518":"#ffc20c","519":"#ccc85d","520":"#3db6ce","528":"#f2da9f","529":"#ffd051","533":"#35cc67","535":"#dd765d","536":"#39a05c","537":"#f2be46","538":"#3fbad3","539":"#77cef9","540":"#3dbeff","541":"#ed9078","542":"#c14799","544":"#9b5544","545":"#8c4d3d","546":"#ffc10a","548":"#f4be0c","549":"#f7e2b2","550":"#3fbfff","553":"#edd49e","554":"#bf6852","555":"#55cc7d","556":"#368a9b","557":"#bc6651","559":"#ffcd4f","561":"#35cae8","562":"#efa907","563":"#ccc347","565":"#3dd3d3","568":"#59ccb8","570":"#ffce54","571":"#39c0db","572":"#e2da31","573":"#f2bb3c","574":"#93dbff","575":"#824739","576":"#e89135","578":"#82e5e5","579":"#68ccff","581":"#ffd256","582":"#ffdf87","584":"#45dbf9","586":"#e08d35","591":"#ffbc05","593":"#ff906b","594":"#84d6ff","595":"#41c16c","597":"#f24fbc","599":"#ddd75f","601":"#ffe18e","602":"#7be5e5","604":"#36c1aa","606":"#ff8e68","611":"#368ea0","612":"#5bc8ff","613":"#79e5e5","614":"#3ba55f","615":"#a5e1ff","616":"#d64aa7","617":"#ffc61e","618":"#3de5e5","619":"#e24ab0","620":"#c6833b","621":"#edcb82","622":"#59c7ff","623":"#3db565","624":"#f9bb3e","625":"#2bbc5b","627":"#ffcb30","628":"#f9a143","629":"#ffc228","631":"#edcd89","632":"#d8cc1c","635":"#efac0e","637":"#7fd4ff","638":"#35d2f2","639":"#ffcd3a","641":"#ffd9ce","642":"#ffbf1e","643":"#eab84d","644":"#ffc9ba","645":"#41ccb4","646":"#f9ba3b","647":"#cec80c","648":"#f4bd09","650":"#3cb1c9","652":"#ffc528","653":"#ce4aa2","656":"#f4bd07","657":"#5dad78","658":"#ff8c66","660":"#ffbba8","661":"#79d0fc","662":"#ffd559","665":"#ffe69b","666":"#ffd456","667":"#ffca47","671":"#f9c14f","672":"#7a4335","673":"#ffbd0a","674":"#ffde84","677":"#f4ca3f","678":"#659fbc","679":"#3ba5ba","680":"#ffa787","681":"#e87c61","682":"#e8a310","683":"#ffc730","684":"#f9bd45","686":"#ba4693","687":"#ba762e","688":"#eade02","690":"#fc9d37","693":"#e8a412","695":"#eadf04","696":"#f4c93d","697":"#ed7f63","698":"#efaa09","699":"#ffcfc1","701":"#ccc349","702":"#ed4eb8","704":"#ffd35b","706":"#2cc960","707":"#d85fb0","708":"#f4c835","709":"#935141","710":"#3fccb4","711":"#ffce3d","712":"#c46a54","713":"#41c5e0","716":"#8cd8ff","717":"#f765c6","720":"#38bed8","721":"#b2af00","722":"#2bbf5d","724":"#b74792","725":"#f2ba37","727":"#37c6af","729":"#f4cd4b","731":"#3fdfff","733":"#67bcae","734":"#43cce8","735":"#49c2ff","736":"#3bcccc","737":"#f2d896","740":"#f4c93a","744":"#edd5a1","746":"#ffc3b2","748":"#4fbff7","749":"#f2d99b","750":"#3cadc4","752":"#84ccc0","754":"#c67e31","755":"#f4cc46","757":"#f29179","758":"#379b59","759":"#ffa382","760":"#f2deab","762":"#ffe8a5","763":"#ddd75d","764":"#bf792f","765":"#f4bc02","767":"#42c0ff","768":"#e58d77","769":"#ffc535","770":"#62e5e5","771":"#5dcc82","772":"#3ca7bc","773":"#f4d15d","774":"#ffc519","775":"#e84cb4","776":"#45cc72","778":"#6cb8dd","779":"#dd8c35","780":"#edd093","783":"#ffc532","784":"#ffb9a5","785":"#ffd65b","787":"#3dccb4","789":"#80e5e5","790":"#649dba","791":"#f49f44","793":"#67afd3","796":"#40e5e5","797":"#f7dda0","798":"#47ccb5","799":"#ccc857","803":"#45ccb5","804":"#ffbd07","808":"#b2458e","809":"#dd4bad","810":"#a8e2ff","812":"#ffa37c","816":"#40bc69","818":"#6eccbc","819":"#68b1d6","821":"#d88934","823":"#44d7f4","824":"#cc5ba6","826":"#4fc4ff","827":"#3ed6d6","829":"#eabb54","830":"#f9b939","831":"#ffc005","832":"#ffd775","834":"#d18534","835":"#ffd260","837":"#c47d31","839":"#39bfbf","840":"#ffcd51","841":"#ffdd82","842":"#bf4897","843":"#e5d602","844":"#49e5e5","846":"#f74fbf","849":"#e88d76","850":"#f4a07c","851":"#ffaf99","855":"#ffc928","856":"#63cbff","857":"#f4d058","858":"#c45aa1","861":"#30cc64","863":"#c95ca5","864":"#ffd059","865":"#47cc73","867":"#f9b834","868":"#edc97b","869":"#ffca2b","870":"#f4c838","871":"#ffc942","872":"#3cb263","874":"#ffb29b","875":"#ffbd16","876":"#f2d898","877":"#ccc62e","878":"#ffd468","879":"#ccc243","880":"#e25fb7","881":"#ffd1c4","883":"#f9937a","885":"#f29837","888":"#e2da34","889":"#379957","892":"#e2795f","893":"#5faf79","894":"#ffc721","895":"#ffc30f","896":"#65a398","898":"#efa904","899":"#4fccb7","901":"#2bc65f","902":"#ffc83d","906":"#5bccb9","908":"#eab748","909":"#ffb39e","911":"#8e4e3e","913":"#ff9f84","915":"#89d7ff","916":"#edd29a","917":"#6ccc8c","919":"#f2c04d","920":"#3dcc6c","921":"#44d1ed","925":"#ce6e56","926":"#d15eaa","927":"#e59744","928":"#fca580","929":"#39c6c6","931":"#6cc98b","934":"#41c8e2","935":"#6bcdff","936":"#ffd147","937":"#874a3b","938":"#5ec9ff","940":"#f49938","941":"#3fba68","942":"#e060b5","944":"#edc97d","945":"#7cccbe","946":"#5caa76","951":"#a05846","953":"#ffc1af","954":"#ffa57f","955":"#ffa58c","956":"#ffc62b","957":"#ffcf56","959":"#50c3fc","963":"#f7dfa8","964":"#db755c","965":"#82d5ff","966":"#ffd34f","969":"#3db0c6","970":"#38bcbc","971":"#54e2ff","972":"#44c0ff","973":"#f7db99","977":"#ffc5b5","978":"#ffba0c","980":"#ffbb0f","981":"#cc8233","982":"#ccc23f","983":"#ffcc32","989":"#ffc935","991":"#db8a34","992":"#ffa584","993":"#f9bd43","995":"#edcf8e","996":"#37baba","997":"#66aacc","998":"#43ccb5","999":"#3eb8d1","1000":"#db5eb1","1002":"#3de2e2","1004":"#37ade8","1005":"#36c4ac","1006":"#d8cc1a","1007":"#54c6ff","1008":"#aa5e4b","1009":"#ef8f77","1010":"#4fc1f9","1011":"#1c2626","1012":"#a5e1ff","1013":"#a5e1ff","1014":"#a5e1ff","1015":"#a5e1ff","1016":"#47cc74","1017":"#47cc75","1018":"#47cc76","1019":"#47cc77","1020":"#47cc78","1021":"#f99c40","1022":"#f99c41","1023":"#ff9368","1024":"#8b51ff","1025":"#8d54ff","1026":"#894fff","1100":"#3ce0e0"},"name":"seg2"}],"showDefaultAnnotations":false,"sliceAngleRotaX":"' + Qt[0] + '","sliceAngleRotaY":"' + Qt[1] + '","sliceAngleRotaZ":"' + Qt[2] + '","selectedLayer":{"visible":true,"layer":"seg2"},"crossSectionBackgroundColor":"#ffffff","projectionBackgroundColor":"#ffffff","layout":"hzkdPanel"}';
122491
122491
  window.open(ar, "_blank");
122492
122492
  }, 300);
122493
122493
  else if (Vt.current == 1)
@@ -122497,40 +122497,40 @@ const t3t = {
122497
122497
  Ur < 0 && (Mt = -Ur), We = parseInt((Mt / 5.17 * 256).toString()), Ur == 0 && (We = 1), window.open("http://" + ti.current + "/STAM/reference/index.html?lang=en_us&3Dname=" + at + "&inp=" + We + "&section=sagittal");
122498
122498
  } else
122499
122499
  Vt.current == 3 && (We = parseInt(((In + 5.33) / 7.37 * 367).toString()), window.open("http://" + ti.current + "/STAM/reference/index.html?lang=en_us&3Dname=" + at + "&inp=" + We + "&section=horizontal"));
122500
- }, sc = (be, Ne, We, at, Mt, Qt, Ht, En, xn, ar, $n) => {
122500
+ }, sc = (be, Ne, We, at, Mt, Qt, zt, En, xn, ar, $n) => {
122501
122501
  let pr = new URL(window.location.href), Or = new URLSearchParams(pr.search).get("atlasReslicingInfo"), Gr = {};
122502
- Or && (Gr = JSON.parse(Or)), Gr.angleX = be, Gr.angleY = Ne, Gr.angleZ = We, Gr.positionZ = Qt, Gr.positionX = at, Gr.positionY = Mt, Gr.translateX = Ht, Gr.translateY = En, Gr.translateZ = xn, Gr.ButtonDisabled = $n, Gr.rotate = ar, Gr.direction1 = Vt.current, qi.atlasReslicingInfo = Gr, cn(be), gn(Ne), nr(We), Je(Qt), Lr(at), Gt(Mt), nt(Ht), Lt(En), Wt(xn), an(ar), Pn($n);
122502
+ Or && (Gr = JSON.parse(Or)), Gr.angleX = be, Gr.angleY = Ne, Gr.angleZ = We, Gr.positionZ = Qt, Gr.positionX = at, Gr.positionY = Mt, Gr.translateX = zt, Gr.translateY = En, Gr.translateZ = xn, Gr.ButtonDisabled = $n, Gr.rotate = ar, Gr.direction1 = Vt.current, qi.atlasReslicingInfo = Gr, cn(be), gn(Ne), nr(We), Je(Qt), Lr(at), Gt(Mt), nt(zt), Lt(En), Wt(xn), an(ar), Pn($n);
122503
122503
  }, vl = (be) => {
122504
122504
  Se.current.remove(Cs.current);
122505
122505
  const Ne = Cs.current.position;
122506
122506
  let We = be;
122507
122507
  if (oc(We), We == 1) {
122508
122508
  Xe.current.enabled = !1, Se.current.remove(Xe.current), Es(0), Vt.current = 1, sc(90, 0, 0, -5.17, -5.33, Ne.z, !0, !0, !1, !0, !1);
122509
- const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), Ht = Se.current.getObjectByName("CoronalView");
122510
- at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)), Ht ? (Ht.position.z = Ne.z, Se.current.remove(Ht), _n(!1)) : _n(!0);
122509
+ const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), zt = Se.current.getObjectByName("CoronalView");
122510
+ at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)), zt ? (zt.position.z = Ne.z, Se.current.remove(zt), _n(!1)) : _n(!0);
122511
122511
  } else if (We == 2) {
122512
122512
  Es(0), Xe.current.enabled = !1, Se.current.remove(Xe.current), sc(90, 270, 0, Ne.x, -5.33, -8, !1, !0, !0, !0, !1), Vt.current = 2;
122513
- const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), Ht = Se.current.getObjectByName("CoronalView");
122514
- Mt ? (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)) : Rn(!0), at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), Ht && (Ht.position.z = Ne.z, Se.current.remove(Ht), _n(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1));
122513
+ const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), zt = Se.current.getObjectByName("CoronalView");
122514
+ Mt ? (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)) : Rn(!0), at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), zt && (zt.position.z = Ne.z, Se.current.remove(zt), _n(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1));
122515
122515
  } else if (We == 3) {
122516
122516
  Xe.current.enabled = !1, Se.current.remove(Xe.current), sc(360, 0, 0, -5.17, Ne.y, -8, !0, !1, !0, !0, !1), Vt.current = 3, Es(0);
122517
- const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), Ht = Se.current.getObjectByName("CoronalView");
122518
- Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), Ht && (Ht.position.z = Ne.z, Se.current.remove(Ht), _n(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)), at ? (at.position.y = Ne.y, Se.current.remove(at), qn(!1)) : qn(!0);
122517
+ const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), zt = Se.current.getObjectByName("CoronalView");
122518
+ Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), zt && (zt.position.z = Ne.z, Se.current.remove(zt), _n(!1)), Qt && (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)), at ? (at.position.y = Ne.y, Se.current.remove(at), qn(!1)) : qn(!0);
122519
122519
  } else if (We == 4) {
122520
122520
  Vt.current = 4, Se.current.remove(Xe.current), sc(120, 320, 270, Ne.x, Ne.y, Ne.z, !1, !1, !1, !1, !1);
122521
- const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), Ht = Se.current.getObjectByName("CoronalView");
122522
- Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), Ht && (Ht.position.z = Ne.z, Se.current.remove(Ht), _n(!1)), at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), Qt ? (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)) : yn(!0);
122521
+ const at = Se.current.getObjectByName("HorizontalView"), Mt = Se.current.getObjectByName("SagittalView"), Qt = Se.current.getObjectByName("arbitrarySlice"), zt = Se.current.getObjectByName("CoronalView");
122522
+ Mt && (Mt.position.x = Ne.x, Se.current.remove(Mt), Rn(!1)), zt && (zt.position.z = Ne.z, Se.current.remove(zt), _n(!1)), at && (at.position.y = Ne.y, Se.current.remove(at), qn(!1)), Qt ? (Qt.position.set(Ne.x, Ne.y, Ne.z), Se.current.remove(Qt), yn(!1)) : yn(!0);
122523
122523
  }
122524
122524
  }, eu = (be) => {
122525
122525
  var Ne = A.current.findfatherlist(be, Le);
122526
122526
  if (R.includes(be)) {
122527
122527
  A.current.removeFBX(be, !0);
122528
- const We = A.current.checkedKeys.current.findIndex((Ht) => Ht === be);
122528
+ const We = A.current.checkedKeys.current.findIndex((zt) => zt === be);
122529
122529
  We > -1 && A.current.checkedKeys.current.splice(We, 1), re(A.current.checkedKeys.current);
122530
122530
  let at = new URL(window.location.href), Mt = new URLSearchParams(at.search);
122531
122531
  const Qt = JSON.stringify(A.current.checkedKeys.current);
122532
- Mt.set("regionsChecked", Qt), at.search = Mt.toString(), window.history.replaceState({}, "", at), A.current.checkedKeys.current.length == 0 ? A.current.setExpandedKeys(A.current.defexpandedKeys.current) : Ne.forEach((Ht) => {
122533
- A.current.setExpandedKeys((En) => En.filter((xn) => xn !== Ht));
122532
+ Mt.set("regionsChecked", Qt), at.search = Mt.toString(), window.history.replaceState({}, "", at), A.current.checkedKeys.current.length == 0 ? A.current.setExpandedKeys(A.current.defexpandedKeys.current) : Ne.forEach((zt) => {
122533
+ A.current.setExpandedKeys((En) => En.filter((xn) => xn !== zt));
122534
122534
  });
122535
122535
  } else if (be) {
122536
122536
  let We = be.replace("/", "_");
@@ -122539,9 +122539,9 @@ const t3t = {
122539
122539
  mg(Mt, be, at, 0.8, 0, "FBX"), A.current.checkedKeys.current.push(be);
122540
122540
  const Qt = Array.from(/* @__PURE__ */ new Set([...A.current.expandedKeys, ...Ne]));
122541
122541
  A.current.setExpandedKeys(Qt), re(A.current.checkedKeys.current);
122542
- let Ht = new URL(window.location.href), En = new URLSearchParams(Ht.search);
122542
+ let zt = new URL(window.location.href), En = new URLSearchParams(zt.search);
122543
122543
  const xn = JSON.stringify(A.current.checkedKeys.current);
122544
- En.set("regionsChecked", xn), Ht.search = En.toString(), window.history.replaceState({}, "", Ht);
122544
+ En.set("regionsChecked", xn), zt.search = En.toString(), window.history.replaceState({}, "", zt);
122545
122545
  }
122546
122546
  lt({});
122547
122547
  }, tu = (be) => {
@@ -122551,15 +122551,15 @@ const t3t = {
122551
122551
  const at = A.current.checkedKeys.current.findIndex((En) => En === be);
122552
122552
  at > -1 && A.current.checkedKeys.current.splice(at, 1), re(A.current.checkedKeys.current);
122553
122553
  let Mt = new URL(window.location.href), Qt = new URLSearchParams(Mt.search);
122554
- const Ht = JSON.stringify(A.current.checkedKeys.current);
122555
- Qt.set("regionsChecked", Ht), Mt.search = Qt.toString(), window.history.replaceState({}, "", Mt);
122554
+ const zt = JSON.stringify(A.current.checkedKeys.current);
122555
+ Qt.set("regionsChecked", zt), Mt.search = Qt.toString(), window.history.replaceState({}, "", Mt);
122556
122556
  } else if (be) {
122557
122557
  const at = A.current.fetchColor(be.replace("_", "/"));
122558
122558
  let Mt = n + "/data/FBX/" + be.replace("/", "_") + ".FBX";
122559
122559
  mg(Mt, be, at, 0.8, 0), A.current.checkedKeys.current.push(be), re(A.current.checkedKeys.current);
122560
- let Qt = new URL(window.location.href), Ht = new URLSearchParams(Qt.search);
122560
+ let Qt = new URL(window.location.href), zt = new URLSearchParams(Qt.search);
122561
122561
  const En = JSON.stringify(A.current.checkedKeys.current);
122562
- Ht.set("regionsChecked", En), Qt.search = Ht.toString(), window.history.replaceState({}, "", Qt);
122562
+ zt.set("regionsChecked", En), Qt.search = zt.toString(), window.history.replaceState({}, "", Qt);
122563
122563
  }
122564
122564
  const Ne = W.current.findIndex((at) => at === be);
122565
122565
  Ne > -1 ? W.current.splice(Ne, 1) : W.current.push(be), (We = h.domElement) == null || We.addEventListener("mousemove", K.current, !1);
@@ -122652,9 +122652,9 @@ const t3t = {
122652
122652
  as.current.splice(Qt, 1), Ne.forEach(($n) => {
122653
122653
  We.push(ru(xo, $n));
122654
122654
  });
122655
- const Ht = We.reduce(($n, pr) => au($n, pr), []);
122655
+ const zt = We.reduce(($n, pr) => au($n, pr), []);
122656
122656
  let En = R;
122657
- Ht.forEach(($n) => {
122657
+ zt.forEach(($n) => {
122658
122658
  Ac(Mt.treeDatas, $n) != null && (En = En.filter((jn) => jn !== $n), Mt.removeFBX($n, !0));
122659
122659
  }), re(En);
122660
122660
  let xn = new URL(window.location.href), ar = new URLSearchParams(xn.search);
@@ -122663,10 +122663,10 @@ const t3t = {
122663
122663
  as.current.push(be), Ne.forEach((pr) => {
122664
122664
  We.push(ru(xo, pr));
122665
122665
  });
122666
- const Ht = We.reduce((pr, jn) => au(pr, jn), []), En = Array.from(/* @__PURE__ */ new Set([...Mt.expandedKeys, ...Ht]));
122666
+ const zt = We.reduce((pr, jn) => au(pr, jn), []), En = Array.from(/* @__PURE__ */ new Set([...Mt.expandedKeys, ...zt]));
122667
122667
  Mt.setExpandedKeys(En);
122668
122668
  let xn = [...R];
122669
- Ht.forEach((pr) => {
122669
+ zt.forEach((pr) => {
122670
122670
  const jn = Ac(Mt.treeDatas, pr);
122671
122671
  if (jn != null) {
122672
122672
  const Or = `${n}/data/FBX/${pr}.FBX`;
@@ -122795,8 +122795,8 @@ const t3t = {
122795
122795
  be.expandByObject(Ne.clone());
122796
122796
  let We = be.min, at = be.max, Mt = new ye();
122797
122797
  be.getCenter(Mt);
122798
- const Qt = at.x - We.x, Ht = at.y - We.y, En = at.z - We.z;
122799
- St.current.scale.x = Qt, St.current.scale.y = Ht, St.current.scale.z = En, St.current.position.set(Mt.x, Mt.y, Mt.z);
122798
+ const Qt = at.x - We.x, zt = at.y - We.y, En = at.z - We.z;
122799
+ St.current.scale.x = Qt, St.current.scale.y = zt, St.current.scale.z = En, St.current.position.set(Mt.x, Mt.y, Mt.z);
122800
122800
  const xn = St.current.geometry.clone();
122801
122801
  xn.scale(St.current.scale.x, St.current.scale.y, St.current.scale.z), xn.translate(Mt.x, Mt.y, Mt.z);
122802
122802
  const ar = new pM(xn);
@@ -122939,14 +122939,14 @@ const t3t = {
122939
122939
  if (Ey.success("update success"), Ne === 2) {
122940
122940
  const Mt = $o.findIndex((Qt) => Qt.key === Uo[0]);
122941
122941
  if (Mt > -1) {
122942
- let Qt = JSON.parse(JSON.stringify(zo.current)), Ht = Qt[Mt];
122943
- Ht.fileList2 = [{ url: "data:image/png;base64," + at.base64_url }], Xs(Qt), zo.current = Qt;
122942
+ let Qt = JSON.parse(JSON.stringify(zo.current)), zt = Qt[Mt];
122943
+ zt.fileList2 = [{ url: "data:image/png;base64," + at.base64_url }], Xs(Qt), zo.current = Qt;
122944
122944
  }
122945
122945
  } else {
122946
122946
  const Mt = $o.findIndex((Qt) => Qt.key === Uo[0]);
122947
122947
  if (Mt > -1) {
122948
- let Qt = JSON.parse(JSON.stringify(zo.current)), Ht = Qt[Mt];
122949
- Ht.fileList = [{ url: "data:image/png;base64," + at.base64_url }], Ht.correspondingPlaneData = {}, Ht.filename = at.path, Xs(Qt);
122948
+ let Qt = JSON.parse(JSON.stringify(zo.current)), zt = Qt[Mt];
122949
+ zt.fileList = [{ url: "data:image/png;base64," + at.base64_url }], zt.correspondingPlaneData = {}, zt.filename = at.path, Xs(Qt);
122950
122950
  const En = Se.current.children.filter((xn) => xn.userData.name === "registrationPng");
122951
122951
  En && Se.current.remove(...En), zo.current = Qt;
122952
122952
  }
@@ -123004,7 +123004,7 @@ const t3t = {
123004
123004
  fetch("/app-api/d-api/dowload/" + kr.file[1]).then((We) => We.json()).then((We) => {
123005
123005
  let at = new Qa();
123006
123006
  const Mt = new Xu(), Qt = kr.file[1];
123007
- let Ht = {};
123007
+ let zt = {};
123008
123008
  const En = [];
123009
123009
  Se.current.traverse((jn) => {
123010
123010
  jn.userData.isAtlasMapping === "true" && En.push(jn);
@@ -123014,19 +123014,19 @@ const t3t = {
123014
123014
  var Gr = We.position[jn.end], Nr = We.position[jn.start], ua = new Nn(new ll(0.01, 32, 32), new vc({ color: "#A7B5A1", transparent: !0 }));
123015
123015
  ua.position.set(Gr.x * 0.01, Gr.y * 0.01, Gr.z * 0.01);
123016
123016
  var Zr = new Nn(new ll(0.01, 32, 32), new vc({ color: "#00ffff", transparent: !0 }));
123017
- Zr.position.set(Nr.x * 0.01, Nr.y * 0.01, Nr.z * 0.01), ua.translateX(Vo.current), ua.translateY(Eo.current), ua.translateZ(Co.current), Zr.translateX(Vo.current), Zr.translateY(Eo.current), Zr.translateZ(Co.current), ua.myMeshType = "neuronSphere", ua.name = `${Qt}/${jn.end_name}`, ua.userData.color = "#A7B5A1", Zr.myMeshType = "neuronSphere", Zr.name = `${Qt}/${jn.start_name}`, Zr.userData.color = "#00ffff", Mt.add(ua), Mt.add(Zr), jn.start_name && (Ht.hasOwnProperty(jn.start_name) ? Ht[`${jn.start_name}`].push({
123017
+ Zr.position.set(Nr.x * 0.01, Nr.y * 0.01, Nr.z * 0.01), ua.translateX(Vo.current), ua.translateY(Eo.current), ua.translateZ(Co.current), Zr.translateX(Vo.current), Zr.translateY(Eo.current), Zr.translateZ(Co.current), ua.myMeshType = "neuronSphere", ua.name = `${Qt}/${jn.end_name}`, ua.userData.color = "#A7B5A1", Zr.myMeshType = "neuronSphere", Zr.name = `${Qt}/${jn.start_name}`, Zr.userData.color = "#00ffff", Mt.add(ua), Mt.add(Zr), jn.start_name && (zt.hasOwnProperty(jn.start_name) ? zt[`${jn.start_name}`].push({
123018
123018
  name: Qt,
123019
123019
  point: [Nr.x, Nr.y, Nr.z],
123020
123020
  color: "#00ffff"
123021
- }) : (Ht[`${jn.start_name}`] = [], Ht[`${jn.start_name}`].push({
123021
+ }) : (zt[`${jn.start_name}`] = [], zt[`${jn.start_name}`].push({
123022
123022
  name: Qt,
123023
123023
  point: [Nr.x, Nr.y, Nr.z],
123024
123024
  color: Or === 0 ? "#1771FF" : "#00ffff"
123025
- }))), jn.end_name && (Ht.hasOwnProperty(jn.end_name) ? Ht[`${jn.end_name}`].push({
123025
+ }))), jn.end_name && (zt.hasOwnProperty(jn.end_name) ? zt[`${jn.end_name}`].push({
123026
123026
  name: Qt,
123027
123027
  point: [Gr.x, Gr.y, Gr.z],
123028
123028
  color: "#A7B5A1"
123029
- }) : (Ht[`${jn.end_name}`] = [], Ht[`${jn.end_name}`].push({
123029
+ }) : (zt[`${jn.end_name}`] = [], zt[`${jn.end_name}`].push({
123030
123030
  name: Qt,
123031
123031
  point: [Gr.x, Gr.y, Gr.z],
123032
123032
  color: "#A7B5A1"
@@ -123035,8 +123035,8 @@ const t3t = {
123035
123035
  let xn = new Nn(new ll(0.02, 32, 32), new vc({ color: "#1771FF", transparent: !0 }));
123036
123036
  xn.position.set(We.position[0].x * 0.01, We.position[0].y * 0.01, We.position[0].z * 0.01), xn.translateX(Vo.current), xn.translateY(Eo.current), xn.translateZ(Co.current), Mt.add(xn), Mt.name = `swcPointGroup${Qt}`, Mt.userData.isAtlasMapping = "true";
123037
123037
  const ar = {};
123038
- for (const jn in Ht) {
123039
- const Or = Ht[jn];
123038
+ for (const jn in zt) {
123039
+ const Or = zt[jn];
123040
123040
  for (const Gr of Or)
123041
123041
  if (Gr.name == Qt) {
123042
123042
  if (Gr.color === "#1771FF") {
@@ -123091,10 +123091,10 @@ const t3t = {
123091
123091
  odepth: at.z - We.z
123092
123092
  };
123093
123093
  new ye(0.010276870727539578, -5.650856788169461, -0.9944386664650411);
123094
- let Qt = new ye(-5.097530670166015, -4.308416134996751, -7.990437196406743), Ht = new ye(5.118084411621094, 3.006702558657828, 6.001559863476661);
123094
+ let Qt = new ye(-5.097530670166015, -4.308416134996751, -7.990437196406743), zt = new ye(5.118084411621094, 3.006702558657828, 6.001559863476661);
123095
123095
  const En = new rs();
123096
- En.expandByObject(be.clone()), Qt = En.min, Ht = En.max;
123097
- const xn = Ht.x - Qt.x, ar = Ht.y - Qt.y, $n = Ht.z - Qt.z;
123096
+ En.expandByObject(be.clone()), Qt = En.min, zt = En.max;
123097
+ const xn = zt.x - Qt.x, ar = zt.y - Qt.y, $n = zt.z - Qt.z;
123098
123098
  St.current.scale.set(xn, ar, $n), St.current.position.set(0.010276870727539578, -1.6508567881694614, -0.9944386664650411), ce.current.length === 0 ? fetch("/app-api/d-api/dowload/" + kr.file[1]).then((pr) => pr.arrayBuffer()).then((pr) => {
123099
123099
  const jn = new Uint8Array(pr);
123100
123100
  let Or = ok(jn), Gr = yle(jn);
@@ -123141,9 +123141,9 @@ const t3t = {
123141
123141
  }), new Error(Mt.statusText);
123142
123142
  }).then((Mt) => {
123143
123143
  const Qt = Mt;
123144
- let Ht = JSON.parse(JSON.stringify(zo.current));
123145
- const En = Ht[be];
123146
- En.correspondingPlaneData = Qt, En.startButtonLoading = !1, zo.current = Ht, Xs(Ht);
123144
+ let zt = JSON.parse(JSON.stringify(zo.current));
123145
+ const En = zt[be];
123146
+ En.correspondingPlaneData = Qt, En.startButtonLoading = !1, zo.current = zt, Xs(zt);
123147
123147
  });
123148
123148
  }
123149
123149
  }, $d = () => {
@@ -123165,7 +123165,7 @@ const t3t = {
123165
123165
  const { correspondingPlaneData: pr, registrationRadioShowType: jn, fileList: Or, fileList2: Gr } = $n;
123166
123166
  var at = new rs().setFromObject(We), Mt = at.max.y - at.min.y, Qt = at.max.x - at.min.x;
123167
123167
  Mt = Mt / Math.cos(pr.angles[0] * Math.PI / 180), Qt = Qt / Math.cos(pr.angles[1] * Math.PI / 180);
123168
- var Ht = new BI(Qt, Mt, 1, 1), En = new vc({ side: tf, transparent: !0, alphaTest: 0.1 }), xn = new Nn(Ht, En);
123168
+ var zt = new BI(Qt, Mt, 1, 1), En = new vc({ side: tf, transparent: !0, alphaTest: 0.1 }), xn = new Nn(zt, En);
123169
123169
  xn.name = `png${Ne}`;
123170
123170
  let Nr = jn;
123171
123171
  be && (Nr = be), xn.userData.imgType = Nr, xn.userData.name = "registrationPng", Se.current.add(xn);
@@ -123195,8 +123195,8 @@ const t3t = {
123195
123195
  map: Mt
123196
123196
  }));
123197
123197
  Qt.name = "startText";
123198
- let Ht = new ap(Go(650, 620, `${at.x.toFixed(2)},${at.y.toFixed(2)},${at.z.toFixed(2)}`, "#ccc")), En = new lh(new Af({
123199
- map: Ht
123198
+ let zt = new ap(Go(650, 620, `${at.x.toFixed(2)},${at.y.toFixed(2)},${at.z.toFixed(2)}`, "#ccc")), En = new lh(new Af({
123199
+ map: zt
123200
123200
  }));
123201
123201
  En.name = "endText", Qt.position.set(Ne.min.x, Ne.min.y + 0.2, Ne.min.z), En.position.set(Ne.max.x, Ne.max.y + 0.6, Ne.max.z);
123202
123202
  const xn = Se.current.getObjectByName("startText"), ar = Se.current.getObjectByName("endText");
@@ -123212,15 +123212,15 @@ const t3t = {
123212
123212
  let Qt = Mt.getContext("2d");
123213
123213
  return Qt.font = "80px Arial", Qt.fillStyle = at, Qt.fillText(We, 40, 80), Mt;
123214
123214
  }, Wo = (be, Ne, We) => {
123215
- const at = be[0].width / Ne.owidth, Mt = be[0].height / Ne.oheight, Qt = We / Ne.odepth, Ht = Math.ceil(Ne.bwidth * at), En = Math.ceil(Ne.bheight * Mt), xn = Math.ceil(Ne.bdepth * Qt), ar = Math.floor(Ne.ewidth * at), $n = Math.floor(Ne.eheight * Mt), pr = Math.floor(Ne.edepth * Qt);
123215
+ const at = be[0].width / Ne.owidth, Mt = be[0].height / Ne.oheight, Qt = We / Ne.odepth, zt = Math.ceil(Ne.bwidth * at), En = Math.ceil(Ne.bheight * Mt), xn = Math.ceil(Ne.bdepth * Qt), ar = Math.floor(Ne.ewidth * at), $n = Math.floor(Ne.eheight * Mt), pr = Math.floor(Ne.edepth * Qt);
123216
123216
  let jn = [];
123217
123217
  for (let $i = 0; $i < be.length; $i++)
123218
123218
  if ($i >= xn && $i < pr)
123219
123219
  for (let Ks = 0; Ks < be[$i].data.length; Ks++) {
123220
123220
  let Ys = Ks % be[$i].width, bl = Ks / be[$i].width;
123221
- Ht <= Ys && Ys < ar && bl >= En && bl < $n && jn.push(be[$i].data[Ks]);
123221
+ zt <= Ys && Ys < ar && bl >= En && bl < $n && jn.push(be[$i].data[Ks]);
123222
123222
  }
123223
- const Or = new Uint8Array(jn), Gr = ar - Ht, Nr = $n - En, ua = new $me(Or, Gr, Nr, pr - xn);
123223
+ const Or = new Uint8Array(jn), Gr = ar - zt, Nr = $n - En, ua = new $me(Or, Gr, Nr, pr - xn);
123224
123224
  ua.format = Rme, ua.minFilter = ju, ua.magFilter = ju, ua.unpackAlignment = 1, ua.needsUpdate = !0, qt.current = ua, E.current = new BQe({
123225
123225
  glslVersion: PF,
123226
123226
  uniforms: {
@@ -123260,13 +123260,13 @@ const t3t = {
123260
123260
  Ua((xn) => !xn);
123261
123261
  var We = new Ca();
123262
123262
  We.setFromAxisAngle(new ye(1, 0, 0), Math.PI / 2);
123263
- const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.max, Qt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), Ht = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), En = {
123263
+ const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.max, Qt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), zt = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), En = {
123264
123264
  bwidth: Qt.x - at.x,
123265
123265
  bheight: Qt.y - at.y,
123266
123266
  bdepth: Qt.z - at.z,
123267
- ewidth: Ht.x - at.x,
123268
- eheight: Ht.y - at.y,
123269
- edepth: Ht.z - at.z,
123267
+ ewidth: zt.x - at.x,
123268
+ eheight: zt.y - at.y,
123269
+ edepth: zt.z - at.z,
123270
123270
  owidth: Mt.x - at.x,
123271
123271
  oheight: Mt.y - at.y,
123272
123272
  odepth: Mt.z - at.z
@@ -123304,7 +123304,7 @@ const t3t = {
123304
123304
  if (Ne) {
123305
123305
  var We = new Ca();
123306
123306
  We.setFromAxisAngle(new ye(1, 0, 0), Math.PI / 2);
123307
- const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), Qt = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), Ht = {
123307
+ const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), Qt = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), zt = {
123308
123308
  bwidth: Mt.x - at.x,
123309
123309
  bheight: Mt.y - at.y,
123310
123310
  bdepth: Mt.z - at.z,
@@ -123312,8 +123312,8 @@ const t3t = {
123312
123312
  eheight: Qt.y - at.y,
123313
123313
  edepth: Qt.z - at.z
123314
123314
  };
123315
- Dt.current = Ht;
123316
- const En = (Ht.ewidth - Ht.bwidth) * 11.15 * (Ht.eheight - Ht.bheight) * 12.31 * (Ht.edepth - Ht.bdepth) * 10;
123315
+ Dt.current = zt;
123316
+ const En = (zt.ewidth - zt.bwidth) * 11.15 * (zt.eheight - zt.bheight) * 12.31 * (zt.edepth - zt.bdepth) * 10;
123317
123317
  let xn = 0;
123318
123318
  switch (Pr) {
123319
123319
  case 1:
@@ -123349,13 +123349,13 @@ const t3t = {
123349
123349
  if (Ne) {
123350
123350
  var We = new Ca();
123351
123351
  We.setFromAxisAngle(new ye(1, 0, 0), Math.PI / 2);
123352
- const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.max, Qt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), Ht = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), En = {
123352
+ const at = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.min, Mt = (Ne == null ? void 0 : Ne.children[0]).geometry.boundingBox.max, Qt = be.min.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), zt = be.max.clone().applyMatrix4(Ne.matrixWorld.clone().invert()).applyQuaternion(We), En = {
123353
123353
  bwidth: Qt.x - at.x,
123354
123354
  bheight: Qt.y - at.y,
123355
123355
  bdepth: Qt.z - at.z,
123356
- ewidth: Ht.x - at.x,
123357
- eheight: Ht.y - at.y,
123358
- edepth: Ht.z - at.z,
123356
+ ewidth: zt.x - at.x,
123357
+ eheight: zt.y - at.y,
123358
+ edepth: zt.z - at.z,
123359
123359
  owidth: Mt.x - at.x,
123360
123360
  oheight: Mt.y - at.y,
123361
123361
  odepth: Mt.z - at.z,
@@ -123440,10 +123440,10 @@ const t3t = {
123440
123440
  const En = new rs();
123441
123441
  En.expandByObject(Ne.clone()), We = En.min, at = En.max;
123442
123442
  }
123443
- const Mt = at.x - We.x, Qt = at.y - We.y, Ht = at.z - We.z;
123443
+ const Mt = at.x - We.x, Qt = at.y - We.y, zt = at.z - We.z;
123444
123444
  Xe.current.addEventListener("change", () => {
123445
123445
  const En = St.current.scale, xn = St.current.position;
123446
- En.x < 1 && St.current.scale.setX(1), En.x > Mt && St.current.scale.setX(Mt), En.y < 1 && St.current.scale.setY(1), En.y > Qt && St.current.scale.setY(Qt), En.z < 1 && St.current.scale.setZ(1), En.z > Ht && St.current.scale.setZ(Ht), xn.x < We.x + St.current.scale.x / 2 && St.current.position.setX(We.x + St.current.scale.x / 2), xn.x > at.x - St.current.scale.x / 2 && St.current.position.setX(at.x - St.current.scale.x / 2), xn.y < We.y + St.current.scale.y / 2 && St.current.position.setY(We.y + St.current.scale.y / 2), xn.y > at.y - St.current.scale.y / 2 && St.current.position.setY(at.y - St.current.scale.y / 2), xn.z < We.z + St.current.scale.z / 2 && St.current.position.setZ(We.z + St.current.scale.z / 2), xn.z > at.z - St.current.scale.z / 2 && St.current.position.setZ(at.z - St.current.scale.z / 2);
123446
+ En.x < 1 && St.current.scale.setX(1), En.x > Mt && St.current.scale.setX(Mt), En.y < 1 && St.current.scale.setY(1), En.y > Qt && St.current.scale.setY(Qt), En.z < 1 && St.current.scale.setZ(1), En.z > zt && St.current.scale.setZ(zt), xn.x < We.x + St.current.scale.x / 2 && St.current.position.setX(We.x + St.current.scale.x / 2), xn.x > at.x - St.current.scale.x / 2 && St.current.position.setX(at.x - St.current.scale.x / 2), xn.y < We.y + St.current.scale.y / 2 && St.current.position.setY(We.y + St.current.scale.y / 2), xn.y > at.y - St.current.scale.y / 2 && St.current.position.setY(at.y - St.current.scale.y / 2), xn.z < We.z + St.current.scale.z / 2 && St.current.position.setZ(We.z + St.current.scale.z / 2), xn.z > at.z - St.current.scale.z / 2 && St.current.position.setZ(at.z - St.current.scale.z / 2);
123447
123447
  const ar = St.current.geometry.clone();
123448
123448
  ar.scale(St.current.scale.x, St.current.scale.y, St.current.scale.z), ar.translate(St.current.position.x, St.current.position.y, St.current.position.z);
123449
123449
  const $n = new pM(ar);
@@ -123489,8 +123489,8 @@ const t3t = {
123489
123489
  Ne[1] - yr.current[1];
123490
123490
  const Mt = at * We, Qt = new ye();
123491
123491
  Qt.copy(Ni.current.position).sub(p.current.target);
123492
- const Ht = new get().setFromVector3(Qt);
123493
- Ht.theta += Mt, Ht.makeSafe(), Qt.setFromSpherical(Ht), Ni.current.position.copy(p.current.target).add(Qt), Ni.current.lookAt(p.current.target), yr.current = [be.x, be.y];
123492
+ const zt = new get().setFromVector3(Qt);
123493
+ zt.theta += Mt, zt.makeSafe(), Qt.setFromSpherical(zt), Ni.current.position.copy(p.current.target).add(Qt), Ni.current.lookAt(p.current.target), yr.current = [be.x, be.y];
123494
123494
  }
123495
123495
  }, []), Vh = Pl((be) => {
123496
123496
  Ir.current = !1;
@@ -123618,7 +123618,7 @@ const t3t = {
123618
123618
  let Ne = "";
123619
123619
  be === "DAPI" ? Ne = "http://eai.brainsmatics.org/datasharing/TIFF/image_356_t.tif" : be === "PI" && (Ne = "http://eai.brainsmatics.org/datasharing/TIFF/image_570_t.tif");
123620
123620
  try {
123621
- const We = Ne.split("/").pop() || "", Mt = await (await fetch(Ne)).blob(), Qt = new File([Mt], We, { type: "image/tiff" }), Ht = $o.findIndex((pr) => pr.key === Uo[0]);
123621
+ const We = Ne.split("/").pop() || "", Mt = await (await fetch(Ne)).blob(), Qt = new File([Mt], We, { type: "image/tiff" }), zt = $o.findIndex((pr) => pr.key === Uo[0]);
123622
123622
  let xn = await new Promise((pr) => {
123623
123623
  const jn = new FileReader();
123624
123624
  jn.readAsArrayBuffer(Mt), jn.onload = function(Or) {
@@ -123634,8 +123634,8 @@ const t3t = {
123634
123634
  };
123635
123635
  });
123636
123636
  const { width: ar, height: $n } = xn;
123637
- if (Ht > -1) {
123638
- let pr = JSON.parse(JSON.stringify($o)), jn = pr[Ht];
123637
+ if (zt > -1) {
123638
+ let pr = JSON.parse(JSON.stringify($o)), jn = pr[zt];
123639
123639
  jn.fileList = [Qt], jn.firstRegistrationImg = { width: ar, height: $n }, Xs(pr), zo.current = pr;
123640
123640
  }
123641
123641
  Nc({ file: Qt });
@@ -123898,7 +123898,7 @@ const t3t = {
123898
123898
  } }, "New task") : null,
123899
123899
  $o.map((be, Ne) => {
123900
123900
  if (be.key === Uo[0]) {
123901
- const { key: We, fileList: at, radioValue: Mt, fileList2: Qt, correspondingPlaneData: Ht, registrationRadioShowType: En, startButtonLoading: xn } = be;
123901
+ const { key: We, fileList: at, radioValue: Mt, fileList2: Qt, correspondingPlaneData: zt, registrationRadioShowType: En, startButtonLoading: xn } = be;
123902
123902
  return P.createElement(
123903
123903
  "div",
123904
123904
  { key: We },
@@ -124003,15 +124003,15 @@ const t3t = {
124003
124003
  co,
124004
124004
  null,
124005
124005
  P.createElement(Ya, { loading: xn, disabled: at.length < 1, onClick: () => Pu(Ne) }, o("7000.0108") || "开始计算"),
124006
- P.createElement(Ya, { onClick: $d, disabled: !Ht.url }, o("7000.0109") || "下载保存")
124006
+ P.createElement(Ya, { onClick: $d, disabled: !zt.url }, o("7000.0109") || "下载保存")
124007
124007
  )
124008
124008
  ),
124009
- P.createElement(Mo, { style: { marginTop: 5 } }, Ht.base64_url && P.createElement(n6, { src: Ht.base64_url, width: 100 })),
124009
+ P.createElement(Mo, { style: { marginTop: 5 } }, zt.base64_url && P.createElement(n6, { src: zt.base64_url, width: 100 })),
124010
124010
  P.createElement(ra, { style: { margin: "5px 0", borderColor: "rgba(5, 5, 5, .3)", minWidth: 200, width: 250 }, dashed: !0 }),
124011
124011
  P.createElement(
124012
124012
  Mo,
124013
124013
  { style: { marginTop: 5 } },
124014
- P.createElement(Ya, { onClick: () => ld("1"), disabled: !Ht.url }, o("5000.0004") || "显示结果"),
124014
+ P.createElement(Ya, { onClick: () => ld("1"), disabled: !zt.url }, o("5000.0004") || "显示结果"),
124015
124015
  P.createElement(co, { style: { display: "flex", alignItems: "center", marginLeft: 5 } })
124016
124016
  ),
124017
124017
  P.createElement(
@@ -124385,7 +124385,7 @@ Downsampling level:${Pr}
124385
124385
  } }, o("5000.5050") || "保存")
124386
124386
  )
124387
124387
  )),
124388
- P.createElement(el, { open: zt, centered: !0, footer: null, onCancel: () => {
124388
+ P.createElement(el, { open: Ht, centered: !0, footer: null, onCancel: () => {
124389
124389
  wr(!1), Hi(0);
124390
124390
  } }, ks === 0 ? P.createElement(
124391
124391
  P.Fragment,
@@ -128927,6 +128927,7 @@ const sRt = (t) => {
128927
128927
  "div",
128928
128928
  { style: {
128929
128929
  // width: "260px",
128930
+ height: "calc(100vh - 5px)",
128930
128931
  overflowY: "auto",
128931
128932
  background: "#fff",
128932
128933
  padding: 10,
@@ -130237,7 +130238,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
130237
130238
  ), sn = parseFloat(
130238
130239
  l.Utils.getResource("DEFAULT_PAN_BUFFERSIZEMAXIMAGESET"),
130239
130240
  10
130240
- ), Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, zt, wr, lr, fr, ks, Hi, xo;
130241
+ ), Pt, Dt, Ir, yr, Dn, Qn, Fr, hi, nn, Ht, wr, lr, fr, ks, Hi, xo;
130241
130242
  Pt = l.viewerW, Dt = l.viewerH, Ir = yr = 0, Dt -= B, l.toolbarPosition == 0 && (yr += B);
130242
130243
  var pi = null, Ar, Gi, _o, ta = null, Yo = null, rl = !1, Hs = parseInt(
130243
130244
  l.Utils.getResource("DEFAULT_GESTURETESTDURATION"),
@@ -130301,7 +130302,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
130301
130302
  ), Qt = parseInt(
130302
130303
  l.Utils.getResource("DEFAULT_POLYGONVIEWBUFFER"),
130303
130304
  10
130304
- ), Ht = l.Utils.getResource("DEFAULT_CONTROLPOINTLINEWIDTH"), En = l.Utils.getResource(
130305
+ ), zt = l.Utils.getResource("DEFAULT_CONTROLPOINTLINEWIDTH"), En = l.Utils.getResource(
130305
130306
  "DEFAULT_CONTROLPOINTSTROKECOLOR"
130306
130307
  ), xn = l.Utils.getResource(
130307
130308
  "DEFAULT_FIRSTCONTROLPOINTFILLCOLOR"
@@ -130875,7 +130876,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
130875
130876
  var X = l.imageSet ? sn : l.tileSource == "unconverted" && l.mobileDevice ? tn : l.tileSource == "unconverted" && l.browser == l.browsers.FIREFOX ? mn : Xt, H = l.constrainPanStrict ? l.imageW : l.imageW * 2, ie = l.constrainPanStrict ? l.imageH : l.imageH * 2;
130876
130877
  Dn > X && (Dn = X), Qn > X && (Qn = X), Dn > H && (Dn = H), Qn > ie && (Qn = ie), Dn < Pt && (Dn = Pt), Qn < Dt && (Qn = Dt);
130877
130878
  var ae = 4;
130878
- if (Fr = l.Utils.roundToFixed(Dn / 2, ae), hi = l.Utils.roundToFixed(Qn / 2, ae), nn = l.Utils.roundToFixed(-((Dn - Pt) / 2) + T, ae), l.Utils.roundToFixed((Dn - Pt) / 2 + T, ae), zt = l.Utils.roundToFixed(-((Qn - Dt) / 2) + O, ae), l.Utils.roundToFixed((Qn - Dt) / 2 + O, ae), J && (J.width = Pt, J.height = Dt, ne.width = Pt + "px", ne.height = Dt + "px", ne.left = "0px", ne.top = "0px"), l.comparison && (re.width = Pt, re.height = Dt, Y.width = Pt + "px", Y.height = Dt + "px", Y.left = t == 0 ? "0px" : Pt + "px", Y.top = "0px"), fe.width = Dn, fe.height = Qn, se.width = Dn + "px", se.height = Qn + "px", se.left = nn + "px", se.top = zt + "px", le.width = Dn, le.height = Qn, xe.width = Dn + "px", xe.height = Qn + "px", oe && (oe.width = Dn, oe.height = Qn, Oe.width = Dn + "px", Oe.height = Qn + "px"), pe && (pe.width = Dn, pe.height = Qn, Je.width = Dn + "px", Je.height = Qn + "px"), ke && (ke.width = Dn, ke.height = Qn, ze.width = Dn + "px", ze.height = Qn + "px", gt)) {
130879
+ if (Fr = l.Utils.roundToFixed(Dn / 2, ae), hi = l.Utils.roundToFixed(Qn / 2, ae), nn = l.Utils.roundToFixed(-((Dn - Pt) / 2) + T, ae), l.Utils.roundToFixed((Dn - Pt) / 2 + T, ae), Ht = l.Utils.roundToFixed(-((Qn - Dt) / 2) + O, ae), l.Utils.roundToFixed((Qn - Dt) / 2 + O, ae), J && (J.width = Pt, J.height = Dt, ne.width = Pt + "px", ne.height = Dt + "px", ne.left = "0px", ne.top = "0px"), l.comparison && (re.width = Pt, re.height = Dt, Y.width = Pt + "px", Y.height = Dt + "px", Y.left = t == 0 ? "0px" : Pt + "px", Y.top = "0px"), fe.width = Dn, fe.height = Qn, se.width = Dn + "px", se.height = Qn + "px", se.left = nn + "px", se.top = Ht + "px", le.width = Dn, le.height = Qn, xe.width = Dn + "px", xe.height = Qn + "px", oe && (oe.width = Dn, oe.height = Qn, Oe.width = Dn + "px", Oe.height = Qn + "px"), pe && (pe.width = Dn, pe.height = Qn, Je.width = Dn + "px", Je.height = Qn + "px"), ke && (ke.width = Dn, ke.height = Qn, ze.width = Dn + "px", ze.height = Qn + "px", gt)) {
130879
130880
  var Ee = parseInt(
130880
130881
  l.Utils.getResource("DEFAULT_HOTSPOTLISTWIDTH"),
130881
130882
  10
@@ -131228,7 +131229,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
131228
131229
  var I = parseFloat(se.left) - nn, T = g.getZoom(C), O = d - I / T;
131229
131230
  return O;
131230
131231
  }, this.getY = function(C) {
131231
- var I = parseFloat(se.top) - zt, T = g.getZoom(C), O = f - I / T;
131232
+ var I = parseFloat(se.top) - Ht, T = g.getZoom(C), O = f - I / T;
131232
131233
  return O;
131233
131234
  }, this.getZoom = function(C) {
131234
131235
  var I = Rn;
@@ -131442,7 +131443,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
131442
131443
  var T = l["Viewport" + t.toString()];
131443
131444
  l.imageX = T.getX(!0), l.imageY = T.getY(!0), l.imageZ = T.getZoom(!0), l.imageR = T.getRotation(!0);
131444
131445
  }
131445
- var O = l.mouseIsDown || l.buttonIsDown || l.keyIsDown || l.mouseWheelIsDown, z = Rn != er || g.getZoom() != l.imageZ || l.imageZ != l.priorZ, X = parseFloat(se.left) != nn || parseFloat(se.top) != zt || g.getX() != l.imageX || g.getY() != l.imageY, H = l.fullViewPrior;
131446
+ var O = l.mouseIsDown || l.buttonIsDown || l.keyIsDown || l.mouseWheelIsDown, z = Rn != er || g.getZoom() != l.imageZ || l.imageZ != l.priorZ, X = parseFloat(se.left) != nn || parseFloat(se.top) != Ht || g.getX() != l.imageX || g.getY() != l.imageY, H = l.fullViewPrior;
131446
131447
  if (z || X || H || typeof C < "u" && C && (!O || l.animation) || typeof I < "u" && I) {
131447
131448
  m5();
131448
131449
  var ie = 1;
@@ -131519,13 +131520,13 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
131519
131520
  }
131520
131521
  I = !0;
131521
131522
  }
131522
- if (C || parseFloat(se.left) != nn || parseFloat(se.top) != zt) {
131523
- var T = parseFloat(se.left) - nn, O = parseFloat(se.top) - zt;
131523
+ if (C || parseFloat(se.left) != nn || parseFloat(se.top) != Ht) {
131524
+ var T = parseFloat(se.left) - nn, O = parseFloat(se.top) - Ht;
131524
131525
  if (l.imageR != 0) {
131525
131526
  var z = l.Utils.rotatePoint(T, O, l.imageR);
131526
131527
  T = z.x, O = z.y;
131527
131528
  }
131528
- se.left = nn + "px", se.top = zt + "px", Pn || (Hi = parseFloat(ve.left) + T, xo = parseFloat(ve.top) + O, ve.left = Hi + "px", ve.top = xo + "px");
131529
+ se.left = nn + "px", se.top = Ht + "px", Pn || (Hi = parseFloat(ve.left) + T, xo = parseFloat(ve.top) + O, ve.left = Hi + "px", ve.top = xo + "px");
131529
131530
  var X = g.getZoom();
131530
131531
  l.imageX = d = l.imageX - T / X, l.imageY = f = l.imageY - O / X, I = !0;
131531
131532
  }
@@ -132431,7 +132432,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132431
132432
  parseFloat(se.top)
132432
132433
  );
132433
132434
  (typeof T > "u" || T === null) && (T = g.getRotation()), T < 0 && (T += 360), (typeof I > "u" || I === null) && (I = g.getZoom());
132434
- var O = Math.round(l.imageX - (C.x - nn) / I), z = Math.round(l.imageY - (C.y - zt) / I), X = l.Utils.getPositionRotated(
132435
+ var O = Math.round(l.imageX - (C.x - nn) / I), z = Math.round(l.imageY - (C.y - Ht) / I), X = l.Utils.getPositionRotated(
132435
132436
  O,
132436
132437
  z,
132437
132438
  l.imageX,
@@ -132451,7 +132452,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132451
132452
  C
132452
132453
  );
132453
132454
  }, this.getViewportDisplayBoundingBoxInPixels = function(C, I, T) {
132454
- var O = parseFloat(se.left) - nn, z = parseFloat(se.top) - zt;
132455
+ var O = parseFloat(se.left) - nn, z = parseFloat(se.top) - Ht;
132455
132456
  if (l.useCanvas) {
132456
132457
  var X = parseFloat(se.width) / fe.width;
132457
132458
  O /= X, z /= X;
@@ -132508,19 +132509,19 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132508
132509
  var T = g.convertPageCoordsToViewportCoords(
132509
132510
  C,
132510
132511
  I
132511
- ), O = T.x - nn, z = T.y - zt;
132512
+ ), O = T.x - nn, z = T.y - Ht;
132512
132513
  return new l.Utils.Point(O, z);
132513
132514
  }, this.convertViewportDisplayCoordsToPageCoords = function(C, I) {
132514
- var T = C + nn, O = I + zt, z = g.convertViewportCoordsToPageCoords(
132515
+ var T = C + nn, O = I + Ht, z = g.convertViewportCoordsToPageCoords(
132515
132516
  T,
132516
132517
  O
132517
132518
  );
132518
132519
  return new l.Utils.Point(z.x, z.y);
132519
132520
  }, this.convertPageCoordsToViewportCoords = function(C, I) {
132520
- var T = l.Utils.getElementPosition(ue), O = C - T.x + nn, z = I - T.y + zt;
132521
+ var T = l.Utils.getElementPosition(ue), O = C - T.x + nn, z = I - T.y + Ht;
132521
132522
  return new l.Utils.Point(O, z);
132522
132523
  }, this.convertViewportCoordsToPageCoords = function(C, I) {
132523
- var T = l.Utils.getElementPosition(ue), O = C + T.x - nn, z = I + T.y - zt;
132524
+ var T = l.Utils.getElementPosition(ue), O = C + T.x - nn, z = I + T.y - Ht;
132524
132525
  return new l.Utils.Point(O, z);
132525
132526
  }, this.convertPageCoordsToImageCoords = function(C, I) {
132526
132527
  var T = g.convertPageCoordsToViewportCoords(
@@ -132560,11 +132561,11 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132560
132561
  (typeof T > "u" || T === null) && (T = l.imageZ), (typeof O > "u" || O === null) && (O = l.imageR), O < 0 && (O += 360);
132561
132562
  var z = l.imageX - C, X = l.imageY - I, H = z * T, ie = X * T;
132562
132563
  l.imageR != 0 && (rh = l.Utils.rotatePoint(H, ie, -O), H = rh.x, ie = rh.y);
132563
- var ae = nn + H, Ee = zt + ie;
132564
+ var ae = nn + H, Ee = Ht + ie;
132564
132565
  return new l.Utils.Point(ae, Ee);
132565
132566
  }, this.convertViewportEdgeCoordsToImageCoords = function(C, I, T, O) {
132566
132567
  (typeof T > "u" || T === null) && (T = l.imageZ), (typeof O > "u" || O === null) && (O = l.imageR), O < 0 && (O += 360);
132567
- var z = C - nn, X = I - zt;
132568
+ var z = C - nn, X = I - Ht;
132568
132569
  l.imageR != 0 && (rh = l.Utils.rotatePoint(z, X, -O), z = rh.x, X = rh.y);
132569
132570
  var H = z / T, ie = X / T, ae = l.imageX - H, Ee = l.imageY - ie;
132570
132571
  return new l.Utils.Point(ae, Ee);
@@ -132615,7 +132616,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132615
132616
  C = ie.x, I = ie.y;
132616
132617
  }
132617
132618
  var ae = l.imageW, Ee = l.imageH, Te = Math.round(ae * T), ge = Math.round(Ee * T), Me = Pt, Ve = Dt, qe = Math.round(Pt * 0.1), ut = Math.round(Dt * 0.1), It = Math.round(Pt * 0.5), Ft = Math.round(Dt * 0.5), Kt, pn;
132618
- Kt = It - nn + (l.imageCtrX - l.imageX) * T + C, pn = Ft - zt + (l.imageCtrY - l.imageY) * T + I;
132619
+ Kt = It - nn + (l.imageCtrX - l.imageX) * T + C, pn = Ft - Ht + (l.imageCtrY - l.imageY) * T + I;
132619
132620
  var kn = Kt - Te / 2, vn = pn - ge / 2, Tr = Kt + Te / 2, Kn = pn - ge / 2, Fn = Kt + Te / 2, Qr = pn + ge / 2, Wi = Kt - Te / 2, hr = pn + ge / 2, Vr = l.Utils.getPositionRotated(
132620
132621
  kn,
132621
132622
  vn,
@@ -132699,7 +132700,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
132699
132700
  "image"
132700
132701
  ), O = l.imageX, z = l.imageY, X = T.x, H = T.y, ie = jR = O - X, ae = VR = z - H;
132701
132702
  I != 0 && (I >= 270 ? (ie = VR, ae = -jR) : I >= 180 ? (ie = -jR, ae = -VR) : I >= 90 && (ie = -VR, ae = jR));
132702
- var Ee = ie * l.imageZ, Te = ae * l.imageZ, ge = Ee + nn, Me = Te + zt;
132703
+ var Ee = ie * l.imageZ, Te = ae * l.imageZ, ge = Ee + nn, Me = Te + Ht;
132703
132704
  se.left = ge + "px", se.top = Me + "px", J && Pn && (l.mobileDevice || Math.abs(Ee) > Pt / 2 || Math.abs(Te) > Dt / 2) && dd(
132704
132705
  J,
132705
132706
  Ct,
@@ -138939,7 +138940,7 @@ Tile loading complete for backfill: all requested tiles received.`), Te = !1;
138939
138940
  }
138940
138941
  function Bj(C, I, T, O) {
138941
138942
  var z = $n * O;
138942
- At.lineWidth = Ht * O, At.strokeStyle = En, At.fillStyle = T ? xn : ar, At.beginPath(), At.arc(C, I, z, 0, Math.PI * 2, !1), At.closePath(), At.globalAlpha = 0.5, At.fill(), At.globalAlpha = 1, At.stroke();
138943
+ At.lineWidth = zt * O, At.strokeStyle = En, At.fillStyle = T ? xn : ar, At.beginPath(), At.arc(C, I, z, 0, Math.PI * 2, !1), At.closePath(), At.globalAlpha = 0.5, At.fill(), At.globalAlpha = 1, At.stroke();
138943
138944
  }
138944
138945
  function $j(C, I, T) {
138945
138946
  l.Utils.clearDisplay(it);
@@ -142135,7 +142136,7 @@ Tile loading complete for backfill: all requested tiles received.`), Te = !1;
142135
142136
  "container"
142136
142137
  );
142137
142138
  se.left = Math.round(ae.x) + "px", se.top = Math.round(ae.y) + "px";
142138
- var Ee = ae.x - nn, Te = ae.y - zt;
142139
+ var Ee = ae.x - nn, Te = ae.y - Ht;
142139
142140
  J && Pn && (l.mobileDevice || Math.abs(Ee) > Pt / 2 || Math.abs(Te) > Dt / 2) && dd(
142140
142141
  J,
142141
142142
  Ct,
@@ -143165,7 +143166,7 @@ Tile loading complete for backfill: all requested tiles received.`), Te = !1;
143165
143166
  "container"
143166
143167
  );
143167
143168
  se.left = Di.x + "px", se.top = Di.y + "px", fe.mouseXPrior = H.x, fe.mouseYPrior = H.y;
143168
- var ri = Di.x - nn, ci = Di.y - zt;
143169
+ var ri = Di.x - nn, ci = Di.y - Ht;
143169
143170
  J && Pn && (l.mobileDevice || Math.abs(ri) > Pt / 2 || Math.abs(ci) > Dt / 2) && dd(
143170
143171
  J,
143171
143172
  Ct,
@@ -143652,7 +143653,7 @@ Tile loading complete for backfill: all requested tiles received.`), Te = !1;
143652
143653
  "container"
143653
143654
  );
143654
143655
  se.left = Di.x + "px", se.top = Di.y + "px", fe.mouseXPrior = H.x, fe.mouseYPrior = H.y;
143655
- var ri = Di.x - nn, ci = Di.y - zt;
143656
+ var ri = Di.x - nn, ci = Di.y - Ht;
143656
143657
  J && Pn && (l.mobileDevice || Math.abs(ri) > Pt / 2 || Math.abs(ci) > Dt / 2) && dd(
143657
143658
  J,
143658
143659
  Ct,
@@ -144189,7 +144190,7 @@ Tile loading complete for backfill: all requested tiles received.`), Te = !1;
144189
144190
  l.imageR,
144190
144191
  "container"
144191
144192
  );
144192
- se.left = Ve.x + "px", se.top = Ve.y + "px", Xa -= ge - Ve.x, eo -= Me - Ve.y, Ve.x - nn, Ve.y - zt, J && Pn && dd(
144193
+ se.left = Ve.x + "px", se.top = Ve.y + "px", Xa -= ge - Ve.x, eo -= Me - Ve.y, Ve.x - nn, Ve.y - Ht, J && Pn && dd(
144193
144194
  J,
144194
144195
  Ct,
144195
144196
  gr,
@@ -144431,7 +144432,7 @@ l.ZoomifyToolbar = function(t) {
144431
144432
  "center",
144432
144433
  "none"
144433
144434
  ), l.Utils.disableTextInteraction(nn);
144434
- var zt = l.Utils.createContainerElement(
144435
+ var Ht = l.Utils.createContainerElement(
144435
144436
  "div",
144436
144437
  "buttonZoomInInternal",
144437
144438
  "inline-block",
@@ -144448,9 +144449,9 @@ l.ZoomifyToolbar = function(t) {
144448
144449
  "0px",
144449
144450
  "normal"
144450
144451
  );
144451
- l.Utils.setOpacity(zt, 0.4, ce);
144452
+ l.Utils.setOpacity(Ht, 0.4, ce);
144452
144453
  var wr = l.Utils.getResource("UI_TOOLBARINTERNALBUTTONZOOMINTEXT"), lr = document.createTextNode(wr);
144453
- zt.appendChild(lr), l.ToolbarDisplay.appendChild(zt), gr = zt.style, l.Utils.setTextNodeStyle(
144454
+ Ht.appendChild(lr), l.ToolbarDisplay.appendChild(Ht), gr = Ht.style, l.Utils.setTextNodeStyle(
144454
144455
  lr,
144455
144456
  "black",
144456
144457
  "verdana",
@@ -144496,19 +144497,19 @@ l.ZoomifyToolbar = function(t) {
144496
144497
  "mouseout",
144497
144498
  dt
144498
144499
  ), l.Utils.addEventListener(
144499
- zt,
144500
+ Ht,
144500
144501
  "mouseover",
144501
144502
  dt
144502
144503
  ), l.Utils.addEventListener(
144503
- zt,
144504
+ Ht,
144504
144505
  "mousedown",
144505
144506
  dt
144506
144507
  ), l.Utils.addEventListener(
144507
- zt,
144508
+ Ht,
144508
144509
  "mouseup",
144509
144510
  dt
144510
144511
  ), l.Utils.addEventListener(
144511
- zt,
144512
+ Ht,
144512
144513
  "mouseout",
144513
144514
  dt
144514
144515
  ), a.zIndex = (l.baseZIndex + 2).toString(), l.ViewerDisplay.appendChild(l.ToolbarDisplay), l.Utils.addEventListener(
@@ -144791,7 +144792,7 @@ l.ZoomifyToolbar = function(t) {
144791
144792
  "TIP_PANUP"
144792
144793
  );
144793
144794
  tn.appendChild(nn.elmt);
144794
- var zt = new l.Utils.Button(
144795
+ var Ht = new l.Utils.Button(
144795
144796
  "buttonPanDown",
144796
144797
  null,
144797
144798
  l.skinPath,
@@ -144806,7 +144807,7 @@ l.ZoomifyToolbar = function(t) {
144806
144807
  Ke,
144807
144808
  "TIP_PANDOWN"
144808
144809
  );
144809
- tn.appendChild(zt.elmt);
144810
+ tn.appendChild(Ht.elmt);
144810
144811
  var wr = new l.Utils.Button(
144811
144812
  "buttonPanRight",
144812
144813
  null,
@@ -145724,10 +145725,10 @@ l.ZoomifyToolbar = function(t) {
145724
145725
  "nowrap",
145725
145726
  null,
145726
145727
  !0
145727
- ), zt = document.createTextNode(
145728
+ ), Ht = document.createTextNode(
145728
145729
  l.Utils.getResource("UI_IMAGEFILTERPANELLABELTHRESHOLD")
145729
145730
  );
145730
- nn.appendChild(zt);
145731
+ nn.appendChild(Ht);
145731
145732
  var wr = new l.Utils.Checkbox(
145732
145733
  "checkboxFilterThreshold",
145733
145734
  "test",
@@ -146134,7 +146135,7 @@ l.ZoomifyToolbar = function(t) {
146134
146135
  typeof we > "u" || we === null ? we = l.toolbarVisible > 0 ? l.toolbarCurrentW : 0 : l.toolbarCurrentW = we, (typeof ce > "u" || ce === null) && (ce = l.toolbarVisible > 0 && l.toolbarVisible != 8 ? i : 0), (typeof Ye > "u" || Ye === null) && (Ye = 0), (typeof Ze > "u" || Ze === null) && (Ze = l.toolbarPosition == 1 ? l.viewerH - i : 0), a = l.ToolbarDisplay.style, a.width = we + "px", a.height = ce + "px", a.left = Ye + "px", a.top = Ze + "px", fi(we, ce);
146135
146136
  };
146136
146137
  function fi(we, ce) {
146137
- var Ye = we, Ze = ce, et = c[2], Xt = c[3], mn = c[4], tn = c[5], sn = c[6], Pt = c[7], Dt = c[8], Ir = c[9], yr = c[10], Dn = c[11], Qn = c[12], Fr = c[13], hi = c[14], nn = c[15], zt = 0, wr = (Ze - Xt) / 2 + 1, lr = (Ze - tn) / 2, fr = (Ze - Pt) / 2, ks = fr * 1.3, Hi = fr + 4, xo = fr + 2, pi = l.logoVisible == 1 ? 0 : Dt / 2, Ar = l.logoVisible == 1 ? 0 : Dt / 2, Gi = Dt - (sn - mn), _o = 20, ta = 0, Yo = 0;
146138
+ var Ye = we, Ze = ce, et = c[2], Xt = c[3], mn = c[4], tn = c[5], sn = c[6], Pt = c[7], Dt = c[8], Ir = c[9], yr = c[10], Dn = c[11], Qn = c[12], Fr = c[13], hi = c[14], nn = c[15], Ht = 0, wr = (Ze - Xt) / 2 + 1, lr = (Ze - tn) / 2, fr = (Ze - Pt) / 2, ks = fr * 1.3, Hi = fr + 4, xo = fr + 2, pi = l.logoVisible == 1 ? 0 : Dt / 2, Ar = l.logoVisible == 1 ? 0 : Dt / 2, Gi = Dt - (sn - mn), _o = 20, ta = 0, Yo = 0;
146138
146139
  if (l.zoomButtonsVisible && (ta += 2), l.panButtonsVisible && (ta += 4, Yo += 1), l.resetVisible && (ta += 1), (l.fullScreenVisible || l.fullPageVisible) && (ta += 1, Yo += 1), l.helpVisible && (ta += 1, !l.fullScreenVisible && !l.fullPageVisible && (Yo += 1)), l.measureVisible && (!l.fullScreenVisible && !l.fullPageVisible && (Yo += 1), ta += 1), l.rotationVisible && (ta += 2, Yo += 1), (l.tour || l.slideshow) && (ta += 3, Yo += 1, l.audioContent && (ta += 1)), l.imageFilters && (ta += 1, Yo += 1), l.preloadVisible && (ta += 1, Yo += 1), l.comparison && l.syncVisible && (ta += 1, Yo += 1), l.imageSet && l.sliderImageSetVisible) {
146139
146140
  var rl = Fr, Hs = Dn, As = Qn;
146140
146141
  R = !1, ta += 2;
@@ -146161,12 +146162,12 @@ l.ZoomifyToolbar = function(t) {
146161
146162
  if (g)
146162
146163
  Za.display = "none";
146163
146164
  else {
146164
- Za.display = "inline-block", l.Utils.graphicSize(So, et, Xt), Za.left = zt + "px", Za.top = wr + "px", zt += et + 2;
146165
+ Za.display = "inline-block", l.Utils.graphicSize(So, et, Xt), Za.left = Ht + "px", Za.top = wr + "px", Ht += et + 2;
146165
146166
  var va = document.getElementById("logoDivider");
146166
146167
  if (va) {
146167
146168
  l.Utils.graphicSize(va, mn, tn);
146168
146169
  var fl = va.style;
146169
- fl.left = zt + "px", fl.top = lr + "px";
146170
+ fl.left = Ht + "px", fl.top = lr + "px";
146170
146171
  }
146171
146172
  }
146172
146173
  }
@@ -146174,22 +146175,22 @@ l.ZoomifyToolbar = function(t) {
146174
146175
  var Tc = document.getElementById("buttonMinimize"), Es = document.getElementById("buttonExpand");
146175
146176
  if (Tc && Es) {
146176
146177
  var os = Tc.style, oo = Es.style;
146177
- os && oo && (g ? (os.display = "none", oo.display = "none") : (os.display = "inline-block", oo.display = "inline-block", l.Utils.buttonSize(Tc, sn, Pt), l.Utils.buttonSize(Es, sn, Pt), os.left = zt + pi + "px", os.top = ks + "px", oo.left = zt + Ar + "px", oo.top = ks + "px"));
146178
+ os && oo && (g ? (os.display = "none", oo.display = "none") : (os.display = "inline-block", oo.display = "inline-block", l.Utils.buttonSize(Tc, sn, Pt), l.Utils.buttonSize(Es, sn, Pt), os.left = Ht + pi + "px", os.top = ks + "px", oo.left = Ht + Ar + "px", oo.top = ks + "px"));
146178
146179
  }
146179
146180
  }
146180
- if (zt = _o, !Sk) {
146181
+ if (Ht = _o, !Sk) {
146181
146182
  var ss = document.getElementById("buttonZoomOut");
146182
146183
  if (ss) {
146183
146184
  l.Utils.buttonSize(ss, sn, Pt);
146184
146185
  var js = ss.style;
146185
- js.left = zt + "px", js.top = fr + "px", zt += Dt;
146186
+ js.left = Ht + "px", js.top = fr + "px", Ht += Dt;
146186
146187
  }
146187
- w2 = document.getElementById("trackSliderZoom"), Kp = document.getElementById("buttonSliderZoom"), w2 && Kp && (uu = w2.style, wf = Kp.style, uu && wf && (y ? (uu.display = "none", wf.display = "none") : (uu.display = "inline-block", wf.display = "inline-block", l.Utils.graphicSize(w2, Dn, Qn), uu.left = zt - 2 + "px", uu.top = Hi + "px", l.Utils.buttonSize(Kp, Ir, yr), wf.left = parseFloat(uu.left) + "px", wf.top = xo + "px", zt += Fr)));
146188
+ w2 = document.getElementById("trackSliderZoom"), Kp = document.getElementById("buttonSliderZoom"), w2 && Kp && (uu = w2.style, wf = Kp.style, uu && wf && (y ? (uu.display = "none", wf.display = "none") : (uu.display = "inline-block", wf.display = "inline-block", l.Utils.graphicSize(w2, Dn, Qn), uu.left = Ht - 2 + "px", uu.top = Hi + "px", l.Utils.buttonSize(Kp, Ir, yr), wf.left = parseFloat(uu.left) + "px", wf.top = xo + "px", Ht += Fr)));
146188
146189
  var Cs = document.getElementById("buttonZoomIn");
146189
146190
  if (Cs) {
146190
146191
  l.Utils.buttonSize(Cs, sn, Pt);
146191
146192
  var ac = Cs.style;
146192
- ac.left = zt + "px", ac.top = fr + "px", zt += Dt + 1;
146193
+ ac.left = Ht + "px", ac.top = fr + "px", Ht += Dt + 1;
146193
146194
  }
146194
146195
  }
146195
146196
  if (!x) {
@@ -146197,31 +146198,31 @@ l.ZoomifyToolbar = function(t) {
146197
146198
  if (zl) {
146198
146199
  l.Utils.graphicSize(zl, mn, tn);
146199
146200
  var hl = zl.style;
146200
- hl.left = zt + "px", hl.top = lr + "px", zt += Gi;
146201
+ hl.left = Ht + "px", hl.top = lr + "px", Ht += Gi;
146201
146202
  }
146202
146203
  var Yc = document.getElementById("buttonPanLeft");
146203
146204
  if (Yc) {
146204
146205
  l.Utils.buttonSize(Yc, sn, Pt);
146205
146206
  var Uo = Yc.style;
146206
- Uo.left = zt + "px", Uo.top = fr + "px", zt += Dt;
146207
+ Uo.left = Ht + "px", Uo.top = fr + "px", Ht += Dt;
146207
146208
  }
146208
146209
  var Hl = document.getElementById("buttonPanUp");
146209
146210
  if (Hl) {
146210
146211
  l.Utils.buttonSize(Hl, sn, Pt);
146211
146212
  var $o = Hl.style;
146212
- $o.left = zt + "px", $o.top = fr + "px", zt += Dt;
146213
+ $o.left = Ht + "px", $o.top = fr + "px", Ht += Dt;
146213
146214
  }
146214
146215
  var Xs = document.getElementById("buttonPanDown");
146215
146216
  if (Xs) {
146216
146217
  l.Utils.buttonSize(Xs, sn, Pt);
146217
146218
  var zo = Xs.style;
146218
- zo.left = zt + "px", zo.top = fr + "px", zt += Dt;
146219
+ zo.left = Ht + "px", zo.top = fr + "px", Ht += Dt;
146219
146220
  }
146220
146221
  var Gl = document.getElementById("buttonPanRight");
146221
146222
  if (Gl) {
146222
146223
  l.Utils.buttonSize(Gl, sn, Pt);
146223
146224
  var qc = Gl.style;
146224
- qc.left = zt + "px", qc.top = fr + "px", zt += Dt;
146225
+ qc.left = Ht + "px", qc.top = fr + "px", Ht += Dt;
146225
146226
  }
146226
146227
  }
146227
146228
  if (!b) {
@@ -146229,63 +146230,63 @@ l.ZoomifyToolbar = function(t) {
146229
146230
  if (_u) {
146230
146231
  l.Utils.buttonSize(_u, sn, Pt);
146231
146232
  var Ud = _u.style;
146232
- Ud.left = zt + "px", Ud.top = fr + "px", zt += Dt + 1;
146233
+ Ud.left = Ht + "px", Ud.top = fr + "px", Ht += Dt + 1;
146233
146234
  }
146234
146235
  }
146235
146236
  var Iu = document.getElementById("fullViewDivider");
146236
146237
  if (Iu) {
146237
146238
  l.Utils.graphicSize(Iu, mn, tn);
146238
146239
  var Qu = Iu.style;
146239
- Qu.left = zt + "px", Qu.top = lr + "px", zt += Gi;
146240
+ Qu.left = Ht + "px", Qu.top = lr + "px", Ht += Gi;
146240
146241
  }
146241
146242
  var Wl = document.getElementById("buttonFullViewExit");
146242
146243
  if (Wl) {
146243
146244
  l.Utils.buttonSize(Wl, sn, Pt);
146244
146245
  var oc = Wl.style;
146245
- oc.left = zt + "px", oc.top = fr + "px", oc.display = l.fullView ? "inline-block" : "none";
146246
+ oc.left = Ht + "px", oc.top = fr + "px", oc.display = l.fullView ? "inline-block" : "none";
146246
146247
  }
146247
146248
  var ed = document.getElementById("buttonFullView");
146248
146249
  if (ed) {
146249
146250
  l.Utils.buttonSize(ed, sn, Pt);
146250
146251
  var Jc = ed.style;
146251
- Jc.left = zt + "px", Jc.top = fr + "px", zt += Dt + 1, Jc.display = l.fullView ? "none" : "inline-block";
146252
+ Jc.left = Ht + "px", Jc.top = fr + "px", Ht += Dt + 1, Jc.display = l.fullView ? "none" : "inline-block";
146252
146253
  }
146253
146254
  var so = document.getElementById("measureDivider");
146254
146255
  if (so) {
146255
146256
  l.Utils.graphicSize(so, mn, tn);
146256
146257
  var hf = so.style;
146257
- hf.left = zt + "px", hf.top = lr + "px", zt += Gi;
146258
+ hf.left = Ht + "px", hf.top = lr + "px", Ht += Gi;
146258
146259
  }
146259
146260
  if (l.editMode === null) {
146260
146261
  var kd = document.getElementById("buttonMeasureExit");
146261
146262
  if (kd) {
146262
146263
  l.Utils.buttonSize(kd, sn, Pt);
146263
146264
  var Fd = kd.style;
146264
- Fd.left = zt + "px", Fd.top = fr + "px", Fd.display = l.labelMode == "measure" ? "inline-block" : "none";
146265
+ Fd.left = Ht + "px", Fd.top = fr + "px", Fd.display = l.labelMode == "measure" ? "inline-block" : "none";
146265
146266
  }
146266
146267
  }
146267
146268
  var Tc = document.getElementById("buttonMeasure");
146268
146269
  if (Tc) {
146269
146270
  l.Utils.buttonSize(Tc, sn, Pt);
146270
146271
  var os = Tc.style;
146271
- os.left = zt + "px", os.top = fr + "px", zt += Dt + 1, os.display = l.labelMode == "measure" ? "none" : "inline-block";
146272
+ os.left = Ht + "px", os.top = fr + "px", Ht += Dt + 1, os.display = l.labelMode == "measure" ? "none" : "inline-block";
146272
146273
  }
146273
146274
  var Au = document.getElementById("rotateDivider");
146274
146275
  if (Au) {
146275
146276
  l.Utils.graphicSize(Au, mn, tn);
146276
146277
  var td = Au.style;
146277
- td.left = zt + "px", td.top = lr + "px", zt += Gi;
146278
+ td.left = Ht + "px", td.top = lr + "px", Ht += Gi;
146278
146279
  var Mu = document.getElementById("buttonRotateCounterwise");
146279
146280
  if (Mu) {
146280
146281
  l.Utils.buttonSize(Mu, sn, Pt);
146281
146282
  var nd = Mu.style;
146282
- nd.left = zt + "px", nd.top = fr + "px", zt += Dt;
146283
+ nd.left = Ht + "px", nd.top = fr + "px", Ht += Dt;
146283
146284
  }
146284
146285
  var _l = document.getElementById("buttonRotateClockwise");
146285
146286
  if (_l) {
146286
146287
  l.Utils.buttonSize(_l, sn, Pt);
146287
146288
  var rd = _l.style;
146288
- rd.left = zt + "px", rd.top = fr + "px", zt += Dt + 1;
146289
+ rd.left = Ht + "px", rd.top = fr + "px", Ht += Dt + 1;
146289
146290
  }
146290
146291
  }
146291
146292
  if (l.tour) {
@@ -146293,30 +146294,30 @@ l.ZoomifyToolbar = function(t) {
146293
146294
  if (Fa) {
146294
146295
  l.Utils.graphicSize(Fa, mn, tn);
146295
146296
  var Vd = Fa.style;
146296
- Vd.left = zt + "px", Vd.top = lr + "px", zt += Gi;
146297
+ Vd.left = Ht + "px", Vd.top = lr + "px", Ht += Gi;
146297
146298
  var _c = document.getElementById("buttonTourPrior");
146298
146299
  if (_c) {
146299
146300
  l.Utils.buttonSize(_c, sn, Pt);
146300
146301
  var jl = _c.style;
146301
- jl.left = zt + "px", jl.top = fr + "px", zt += Dt + 1;
146302
+ jl.left = Ht + "px", jl.top = fr + "px", Ht += Dt + 1;
146302
146303
  }
146303
146304
  var Il = document.getElementById("buttonTourNext");
146304
146305
  if (Il) {
146305
146306
  l.Utils.buttonSize(Il, sn, Pt);
146306
146307
  var il = Il.style;
146307
- il.left = zt + "px", il.top = fr + "px", zt += Dt + 1;
146308
+ il.left = Ht + "px", il.top = fr + "px", Ht += Dt + 1;
146308
146309
  }
146309
146310
  var vi = document.getElementById("buttonTourStop");
146310
146311
  if (vi) {
146311
146312
  l.Utils.buttonSize(vi, sn, Pt);
146312
146313
  var ms = vi.style;
146313
- ms.left = zt + "px", ms.top = fr + "px", ms.display = l.tourPlaying ? "inline-block" : "none";
146314
+ ms.left = Ht + "px", ms.top = fr + "px", ms.display = l.tourPlaying ? "inline-block" : "none";
146314
146315
  }
146315
146316
  var pl = document.getElementById("buttonTourStart");
146316
146317
  if (pl) {
146317
146318
  l.Utils.buttonSize(pl, sn, Pt);
146318
146319
  var Ru = pl.style;
146319
- Ru.left = zt + "px", Ru.top = fr + "px", zt += Dt + 1, Ru.display = l.tourPlaying ? "none" : "inline-block";
146320
+ Ru.left = Ht + "px", Ru.top = fr + "px", Ht += Dt + 1, Ru.display = l.tourPlaying ? "none" : "inline-block";
146320
146321
  }
146321
146322
  }
146322
146323
  } else if (l.slideshow) {
@@ -146324,30 +146325,30 @@ l.ZoomifyToolbar = function(t) {
146324
146325
  if (Qc) {
146325
146326
  l.Utils.graphicSize(Qc, mn, tn);
146326
146327
  var Bd = Qc.style;
146327
- Bd.left = zt + "px", Bd.top = lr + "px", zt += Gi;
146328
+ Bd.left = Ht + "px", Bd.top = lr + "px", Ht += Gi;
146328
146329
  var Ic = document.getElementById("buttonSlideshowPrior");
146329
146330
  if (Ic) {
146330
146331
  l.Utils.buttonSize(Ic, sn, Pt);
146331
146332
  var id = Ic.style;
146332
- id.left = zt + "px", id.top = fr + "px", zt += Dt + 1;
146333
+ id.left = Ht + "px", id.top = fr + "px", Ht += Dt + 1;
146333
146334
  }
146334
146335
  var sc = document.getElementById("buttonSlideshowNext");
146335
146336
  if (sc) {
146336
146337
  l.Utils.buttonSize(sc, sn, Pt);
146337
146338
  var vl = sc.style;
146338
- vl.left = zt + "px", vl.top = fr + "px", zt += Dt + 1;
146339
+ vl.left = Ht + "px", vl.top = fr + "px", Ht += Dt + 1;
146339
146340
  }
146340
146341
  var eu = document.getElementById("buttonSlideshowStop");
146341
146342
  if (eu) {
146342
146343
  l.Utils.buttonSize(eu, sn, Pt);
146343
146344
  var tu = eu.style;
146344
- tu.left = zt + "px", tu.top = fr + "px", tu.display = l.slideshowPlaying ? "inline-block" : "none";
146345
+ tu.left = Ht + "px", tu.top = fr + "px", tu.display = l.slideshowPlaying ? "inline-block" : "none";
146345
146346
  }
146346
146347
  var ad = document.getElementById("buttonSlideshowStart");
146347
146348
  if (ad) {
146348
146349
  l.Utils.buttonSize(ad, sn, Pt);
146349
146350
  var nu = ad.style;
146350
- nu.left = zt + "px", nu.top = fr + "px", zt += Dt + 1, nu.display = l.slideshowPlaying ? "none" : "inline-block";
146351
+ nu.left = Ht + "px", nu.top = fr + "px", Ht += Dt + 1, nu.display = l.slideshowPlaying ? "none" : "inline-block";
146351
146352
  }
146352
146353
  }
146353
146354
  } else if (l.imageSetPath !== null && !l.comparison) {
@@ -146355,20 +146356,20 @@ l.ZoomifyToolbar = function(t) {
146355
146356
  if (gl) {
146356
146357
  l.Utils.graphicSize(gl, mn, tn);
146357
146358
  var Ac = gl.style;
146358
- Ac.left = zt + "px", Ac.top = lr + "px", zt += Gi;
146359
+ Ac.left = Ht + "px", Ac.top = lr + "px", Ht += Gi;
146359
146360
  }
146360
146361
  var ru = document.getElementById("buttonImageSetPrior");
146361
146362
  if (ru) {
146362
146363
  l.Utils.buttonSize(ru, sn, Pt);
146363
146364
  var Lu = ru.style;
146364
- Lu.left = zt + "px", Lu.top = fr + "px", zt += Dt + 1;
146365
+ Lu.left = Ht + "px", Lu.top = fr + "px", Ht += Dt + 1;
146365
146366
  }
146366
- K1 = document.getElementById("trackSliderImageSet"), Qh = document.getElementById("buttonSliderImageSet"), K1 && Qh && (Hu = K1.style, ih = Qh.style, Hu && ih && (R ? (Hu.display = "none", ih.display = "none") : (Hu.display = "inline-block", ih.display = "inline-block", l.Utils.graphicSize(K1, Hs, As), Hu.left = zt - 2 + "px", Hu.top = Hi + "px", l.Utils.buttonSize(Qh, Ir, yr), ih.left = parseFloat(Hu.left) + "px", ih.top = xo + "px", zt += rl)));
146367
+ K1 = document.getElementById("trackSliderImageSet"), Qh = document.getElementById("buttonSliderImageSet"), K1 && Qh && (Hu = K1.style, ih = Qh.style, Hu && ih && (R ? (Hu.display = "none", ih.display = "none") : (Hu.display = "inline-block", ih.display = "inline-block", l.Utils.graphicSize(K1, Hs, As), Hu.left = Ht - 2 + "px", Hu.top = Hi + "px", l.Utils.buttonSize(Qh, Ir, yr), ih.left = parseFloat(Hu.left) + "px", ih.top = xo + "px", Ht += rl)));
146367
146368
  var Mc = document.getElementById("buttonImageSetNext");
146368
146369
  if (Mc) {
146369
146370
  l.Utils.buttonSize(Mc, sn, Pt);
146370
146371
  var iu = Mc.style;
146371
- iu.left = zt + "px", iu.top = fr + "px", zt += Dt + 1;
146372
+ iu.left = Ht + "px", iu.top = fr + "px", Ht += Dt + 1;
146372
146373
  }
146373
146374
  }
146374
146375
  if (l.tour || l.slideshow) {
@@ -146376,13 +146377,13 @@ l.ZoomifyToolbar = function(t) {
146376
146377
  if (lc) {
146377
146378
  l.Utils.buttonSize(lc, sn, Pt);
146378
146379
  var au = lc.style;
146379
- au.left = zt + "px", au.top = fr + "px", au.display = "none";
146380
+ au.left = Ht + "px", au.top = fr + "px", au.display = "none";
146380
146381
  }
146381
146382
  var od = document.getElementById("buttonAudioOn");
146382
146383
  if (od) {
146383
146384
  l.Utils.buttonSize(od, sn, Pt);
146384
146385
  var cc = od.style;
146385
- cc.left = zt + "px", cc.top = fr + "px", zt += Dt + 1, cc.display = "none";
146386
+ cc.left = Ht + "px", cc.top = fr + "px", Ht += Dt + 1, cc.display = "none";
146386
146387
  }
146387
146388
  t.initializeAudioMuteButtons();
146388
146389
  }
@@ -146391,18 +146392,18 @@ l.ZoomifyToolbar = function(t) {
146391
146392
  if (Rc) {
146392
146393
  l.Utils.graphicSize(Rc, mn, tn);
146393
146394
  var Lc = Rc.style;
146394
- Lc.left = zt + "px", Lc.top = lr + "px", zt += Gi;
146395
+ Lc.left = Ht + "px", Lc.top = lr + "px", Ht += Gi;
146395
146396
  var Oc = document.getElementById("buttonImageFilterPanelHide");
146396
146397
  if (Oc) {
146397
146398
  l.Utils.buttonSize(Oc, sn, Pt);
146398
146399
  var ls = Oc.style;
146399
- ls.left = zt + "px", ls.top = fr + "px", ls.display = F ? "inline-block" : "none";
146400
+ ls.left = Ht + "px", ls.top = fr + "px", ls.display = F ? "inline-block" : "none";
146400
146401
  }
146401
146402
  var Ou = document.getElementById("buttonImageFilterPanelShow");
146402
146403
  if (Ou) {
146403
146404
  l.Utils.buttonSize(Ou, sn, Pt);
146404
146405
  var uc = Ou.style;
146405
- uc.left = zt + "px", uc.top = fr + "px", zt += Dt + 1, uc.display = F ? "none" : "inline-block";
146406
+ uc.left = Ht + "px", uc.top = fr + "px", Ht += Dt + 1, uc.display = F ? "none" : "inline-block";
146406
146407
  }
146407
146408
  Bi();
146408
146409
  }
@@ -146412,9 +146413,9 @@ l.ZoomifyToolbar = function(t) {
146412
146413
  if (Nc && Rs) {
146413
146414
  l.Utils.graphicSize(Nc, mn, tn);
146414
146415
  var Nu = Nc.style;
146415
- Nu.top = lr + "px", l.imageSet || (Nu.left = zt + "px", zt += Gi), l.Utils.buttonSize(Rs, sn, Pt);
146416
+ Nu.top = lr + "px", l.imageSet || (Nu.left = Ht + "px", Ht += Gi), l.Utils.buttonSize(Rs, sn, Pt);
146416
146417
  var sd = Rs.style;
146417
- sd.left = zt + "px", sd.top = fr + "px", zt += Dt, l.imageSet && (Nu.left = zt + "px", zt += Gi), zt += 8;
146418
+ sd.left = Ht + "px", sd.top = fr + "px", Ht += Dt, l.imageSet && (Nu.left = Ht + "px", Ht += Gi), Ht += 8;
146418
146419
  }
146419
146420
  }
146420
146421
  if (l.helpVisible == 1 || l.helpVisible == 3) {
@@ -146422,7 +146423,7 @@ l.ZoomifyToolbar = function(t) {
146422
146423
  if (Pc) {
146423
146424
  l.Utils.buttonSize(Pc, sn, Pt);
146424
146425
  var al = Pc.style;
146425
- al.left = zt + "px", al.top = fr + "px", zt += Dt + 8;
146426
+ al.left = Ht + "px", al.top = fr + "px", Ht += Dt + 8;
146426
146427
  }
146427
146428
  }
146428
146429
  if (l.comparison && l.syncVisible) {
@@ -146434,7 +146435,7 @@ l.ZoomifyToolbar = function(t) {
146434
146435
  ), Go = document.getElementById("checkboxSyncComparison");
146435
146436
  if (Ho && cd && Go) {
146436
146437
  var Wo = Ho.style;
146437
- Wo.width = Pu + "px", Wo.height = $d + "px", Wo.left = zt + "px", Wo.top = fr + ld + "px", Wo.visibility = "visible", l.Utils.setTextNodeStyle(
146438
+ Wo.width = Pu + "px", Wo.height = $d + "px", Wo.left = Ht + "px", Wo.top = fr + ld + "px", Wo.visibility = "visible", l.Utils.setTextNodeStyle(
146438
146439
  Ho,
146439
146440
  "black",
146440
146441
  "verdana",
@@ -146449,7 +146450,7 @@ l.ZoomifyToolbar = function(t) {
146449
146450
  "none"
146450
146451
  );
146451
146452
  var ml = cd.style;
146452
- ml.width = sn * 1.5 + "px", ml.height = Pt * 1.5 + "px", ml.left = zt + Pu + 3 + "px", ml.top = fr - ld + "px", Go.width = sn, Go.height = Pt, Go.checked = l.initialSync;
146453
+ ml.width = sn * 1.5 + "px", ml.height = Pt * 1.5 + "px", ml.left = Ht + Pu + 3 + "px", ml.top = fr - ld + "px", Go.width = sn, Go.height = Pt, Go.checked = l.initialSync;
146453
146454
  }
146454
146455
  }
146455
146456
  var zd = document.getElementById("progressTextBox");
@@ -146470,7 +146471,7 @@ l.ZoomifyToolbar = function(t) {
146470
146471
  10
146471
146472
  ), Xt = c[6], mn = c[7], tn = c[8], sn = c[4], Pt = c[5], Dt = c[11], Ir = c[12], yr = c[9], Dn = c[10], Qn = c[13];
146472
146473
  c[15];
146473
- var Fr = tn - (Xt - sn), hi = ce + 8, nn = 90, zt = 20, wr = 3, lr = 37, fr = 14, ks = parseInt(
146474
+ var Fr = tn - (Xt - sn), hi = ce + 8, nn = 90, Ht = 20, wr = 3, lr = 37, fr = 14, ks = parseInt(
146474
146475
  l.Utils.getResource("DEFAULT_IMAGEFILTERLISTWIDTH"),
146475
146476
  10
146476
146477
  ), Hi = l.brightnessVisible + l.contrastVisible + l.sharpnessVisible + l.blurrinessVisible + l.colorRedVisible + l.colorGreenVisible + l.colorBlueVisible + l.colorRedRangeVisible + l.colorGreenRangeVisible + l.colorBlueRangeVisible + l.gammaVisible + l.gammaRedVisible + l.gammaGreenVisible + l.gammaBlueVisible + l.hueVisible + l.saturationVisible + l.lightnessVisible + l.whiteBalanceVisible + l.noiseVisible, xo = mn + wr * 2 + (fr + wr + 1) * Hi + 10, pi = l.grayscaleVisible + l.thresholdVisible + l.inversionVisible + l.normalizeVisible + l.equalizeVisible + l.edgesVisible + l.sepiaVisible, Ar = (mn + wr * 2) * pi, Gi = Math.max(xo, Ar), _o = pi > 0 ? 2 : 0.96, ta = l.colorRedRangeVisible || l.colorGreenRangeVisible || l.colorBlueRangeVisible ? 100 : 0, Yo = l.colorRedVisible || l.colorGreenVisible || l.colorBlueVisible || l.whiteBalanceVisible || l.gammaRedVisible || l.gammaGreenVisible || l.gammaBlueVisible ? 0 : 30;
@@ -146495,7 +146496,7 @@ l.ZoomifyToolbar = function(t) {
146495
146496
  var fl = document.getElementById("labelBrightnessTextBox");
146496
146497
  W = document.getElementById("trackSliderFilterBrightness"), ne = document.getElementById("buttonSliderFilterBrightness");
146497
146498
  var Es = document.getElementById("textBoxFor-brightnessTextElement");
146498
- fl && W && ne && Es && (G = fl.style, J = W.style, K = ne.style, L2 = Es.style, G && J && K && L2 && (G.width = nn + "px", G.height = zt + "px", G.left = Un + "px", G.top = ln - wr + "px", G.visibility = "visible", l.Utils.setTextNodeStyle(
146499
+ fl && W && ne && Es && (G = fl.style, J = W.style, K = ne.style, L2 = Es.style, G && J && K && L2 && (G.width = nn + "px", G.height = Ht + "px", G.left = Un + "px", G.top = ln - wr + "px", G.visibility = "visible", l.Utils.setTextNodeStyle(
146499
146500
  fl,
146500
146501
  "black",
146501
146502
  "verdana",
@@ -146526,7 +146527,7 @@ l.ZoomifyToolbar = function(t) {
146526
146527
  var os = document.getElementById("labelContrastTextBox");
146527
146528
  re = document.getElementById("trackSliderFilterContrast"), ee = document.getElementById("buttonSliderFilterContrast");
146528
146529
  var oo = document.getElementById("textBoxFor-contrastTextElement");
146529
- os && re && ee && oo && (q = os.style, Y = re.style, fe = ee.style, D2 = oo.style, q && Y && fe && D2 && (q.width = nn + "px", q.height = zt + "px", q.left = Un + "px", q.top = ln - wr + "px", q.visibility = "visible", l.Utils.setTextNodeStyle(
146530
+ os && re && ee && oo && (q = os.style, Y = re.style, fe = ee.style, D2 = oo.style, q && Y && fe && D2 && (q.width = nn + "px", q.height = Ht + "px", q.left = Un + "px", q.top = ln - wr + "px", q.visibility = "visible", l.Utils.setTextNodeStyle(
146530
146531
  os,
146531
146532
  "black",
146532
146533
  "verdana",
@@ -146557,7 +146558,7 @@ l.ZoomifyToolbar = function(t) {
146557
146558
  var ss = document.getElementById("labelSharpnessTextBox");
146558
146559
  he = document.getElementById("trackSliderFilterSharpness"), ve = document.getElementById("buttonSliderFilterSharpness");
146559
146560
  var js = document.getElementById("textBoxFor-sharpnessTextElement");
146560
- ss && he && ve && js && (se = ss.style, te = he.style, Q = ve.style, _2 = js.style, se && te && Q && _2 && (se.width = nn + "px", se.height = zt + "px", se.left = Un + "px", se.top = ln - wr + "px", se.visibility = "visible", l.Utils.setTextNodeStyle(
146561
+ ss && he && ve && js && (se = ss.style, te = he.style, Q = ve.style, _2 = js.style, se && te && Q && _2 && (se.width = nn + "px", se.height = Ht + "px", se.left = Un + "px", se.top = ln - wr + "px", se.visibility = "visible", l.Utils.setTextNodeStyle(
146561
146562
  ss,
146562
146563
  "black",
146563
146564
  "verdana",
@@ -146588,7 +146589,7 @@ l.ZoomifyToolbar = function(t) {
146588
146589
  var Cs = document.getElementById("labelBlurrinessTextBox");
146589
146590
  le = document.getElementById("trackSliderFilterBlurriness"), Re = document.getElementById("buttonSliderFilterBlurriness");
146590
146591
  var ac = document.getElementById("textBoxFor-blurrinessTextElement");
146591
- Cs && le && Re && ac && (ue = Cs.style, xe = le.style, Le = Re.style, V2 = ac.style, ue && xe && Le && V2 && (ue.width = nn + "px", ue.height = zt + "px", ue.left = Un + "px", ue.top = ln - wr + "px", ue.visibility = "visible", l.Utils.setTextNodeStyle(
146592
+ Cs && le && Re && ac && (ue = Cs.style, xe = le.style, Le = Re.style, V2 = ac.style, ue && xe && Le && V2 && (ue.width = nn + "px", ue.height = Ht + "px", ue.left = Un + "px", ue.top = ln - wr + "px", ue.visibility = "visible", l.Utils.setTextNodeStyle(
146592
146593
  Cs,
146593
146594
  "black",
146594
146595
  "verdana",
@@ -146619,7 +146620,7 @@ l.ZoomifyToolbar = function(t) {
146619
146620
  var zl = document.getElementById("labelColorRedTextBox");
146620
146621
  Ie = document.getElementById("trackSliderFilterColorRed"), De = document.getElementById("buttonSliderFilterColorRed");
146621
146622
  var hl = document.getElementById("textBoxFor-colorRedTextElement");
146622
- zl && Ie && De && hl && (z1 = zl.style, _e = Ie.style, de = De.style, P2 = hl.style, z1 && _e && de && P2 && (z1.width = nn + "px", z1.height = zt + "px", z1.left = Un + "px", z1.top = ln - wr + "px", z1.visibility = "visible", l.Utils.setTextNodeStyle(
146623
+ zl && Ie && De && hl && (z1 = zl.style, _e = Ie.style, de = De.style, P2 = hl.style, z1 && _e && de && P2 && (z1.width = nn + "px", z1.height = Ht + "px", z1.left = Un + "px", z1.top = ln - wr + "px", z1.visibility = "visible", l.Utils.setTextNodeStyle(
146623
146624
  zl,
146624
146625
  "black",
146625
146626
  "verdana",
@@ -146650,7 +146651,7 @@ l.ZoomifyToolbar = function(t) {
146650
146651
  var Yc = document.getElementById("labelColorGreenTextBox");
146651
146652
  oe = document.getElementById("trackSliderFilterColorGreen"), Be = document.getElementById("buttonSliderFilterColorGreen");
146652
146653
  var Uo = document.getElementById("textBoxFor-colorGreenTextElement");
146653
- Yc && oe && Be && Uo && (ey = Yc.style, Oe = oe.style, ke = Be.style, I2 = Uo.style, ey && Oe && ke && I2 && (ey.width = nn + "px", ey.height = zt + "px", ey.left = Un + "px", ey.top = ln - wr + "px", ey.visibility = "visible", l.Utils.setTextNodeStyle(
146654
+ Yc && oe && Be && Uo && (ey = Yc.style, Oe = oe.style, ke = Be.style, I2 = Uo.style, ey && Oe && ke && I2 && (ey.width = nn + "px", ey.height = Ht + "px", ey.left = Un + "px", ey.top = ln - wr + "px", ey.visibility = "visible", l.Utils.setTextNodeStyle(
146654
146655
  Yc,
146655
146656
  "black",
146656
146657
  "verdana",
@@ -146681,7 +146682,7 @@ l.ZoomifyToolbar = function(t) {
146681
146682
  var Hl = document.getElementById("labelColorBlueTextBox");
146682
146683
  ze = document.getElementById("trackSliderFilterColorBlue"), He = document.getElementById("buttonSliderFilterColorBlue");
146683
146684
  var $o = document.getElementById("textBoxFor-colorBlueTextElement");
146684
- Hl && ze && He && $o && (ty = Hl.style, gt = ze.style, pt = He.style, X2 = $o.style, ty && gt && pt && X2 && (ty.width = nn + "px", ty.height = zt + "px", ty.left = Un + "px", ty.top = ln - wr + "px", ty.visibility = "visible", l.Utils.setTextNodeStyle(
146685
+ Hl && ze && He && $o && (ty = Hl.style, gt = ze.style, pt = He.style, X2 = $o.style, ty && gt && pt && X2 && (ty.width = nn + "px", ty.height = Ht + "px", ty.left = Un + "px", ty.top = ln - wr + "px", ty.visibility = "visible", l.Utils.setTextNodeStyle(
146685
146686
  Hl,
146686
146687
  "black",
146687
146688
  "verdana",
@@ -146716,7 +146717,7 @@ l.ZoomifyToolbar = function(t) {
146716
146717
  ), Gl = document.getElementById(
146717
146718
  "textBoxFor-colorRedRangeTextElement2"
146718
146719
  );
146719
- Xs && ht && Ge && Q1 && zo && Gl && ($1 = Xs.style, Et = ht.style, Ut = Ge.style, HR = Q1.style, M2 = zo.style, U2 = Gl.style, $1 && Et && Ut && HR && M2 && U2 && ($1.width = nn + "px", $1.height = zt + "px", $1.left = Un + "px", $1.top = ln - wr + "px", $1.visibility = "visible", l.Utils.setTextNodeStyle(
146720
+ Xs && ht && Ge && Q1 && zo && Gl && ($1 = Xs.style, Et = ht.style, Ut = Ge.style, HR = Q1.style, M2 = zo.style, U2 = Gl.style, $1 && Et && Ut && HR && M2 && U2 && ($1.width = nn + "px", $1.height = Ht + "px", $1.left = Un + "px", $1.top = ln - wr + "px", $1.visibility = "visible", l.Utils.setTextNodeStyle(
146720
146721
  Xs,
146721
146722
  "black",
146722
146723
  "verdana",
@@ -146765,7 +146766,7 @@ l.ZoomifyToolbar = function(t) {
146765
146766
  ), Ud = document.getElementById(
146766
146767
  "textBoxFor-colorGreenRangeTextElement2"
146767
146768
  );
146768
- qc && mt && it && j1 && _u && Ud && (ny = qc.style, Tt = mt.style, Ae = it.style, XR = j1.style, W2 = _u.style, k2 = Ud.style, ny && Tt && Ae && XR && W2 && k2 && (ny.width = nn + "px", ny.height = zt + "px", ny.left = Un + "px", ny.top = ln - wr + "px", ny.visibility = "visible", l.Utils.setTextNodeStyle(
146769
+ qc && mt && it && j1 && _u && Ud && (ny = qc.style, Tt = mt.style, Ae = it.style, XR = j1.style, W2 = _u.style, k2 = Ud.style, ny && Tt && Ae && XR && W2 && k2 && (ny.width = nn + "px", ny.height = Ht + "px", ny.left = Un + "px", ny.top = ln - wr + "px", ny.visibility = "visible", l.Utils.setTextNodeStyle(
146769
146770
  qc,
146770
146771
  "black",
146771
146772
  "verdana",
@@ -146814,7 +146815,7 @@ l.ZoomifyToolbar = function(t) {
146814
146815
  ), Wl = document.getElementById(
146815
146816
  "textBoxFor-colorBlueRangeTextElement2"
146816
146817
  );
146817
- Iu && At && bt && Z1 && Qu && Wl && (ry = Iu.style, Bt = At.style, _t = bt.style, zR = Z1.style, j2 = Qu.style, A2 = Wl.style, ry && Bt && _t && zR && j2 && A2 && (ry.width = nn + "px", ry.height = zt + "px", ry.left = Un + "px", ry.top = ln - wr + "px", ry.visibility = "visible", l.Utils.setTextNodeStyle(
146818
+ Iu && At && bt && Z1 && Qu && Wl && (ry = Iu.style, Bt = At.style, _t = bt.style, zR = Z1.style, j2 = Qu.style, A2 = Wl.style, ry && Bt && _t && zR && j2 && A2 && (ry.width = nn + "px", ry.height = Ht + "px", ry.left = Un + "px", ry.top = ln - wr + "px", ry.visibility = "visible", l.Utils.setTextNodeStyle(
146818
146819
  Iu,
146819
146820
  "black",
146820
146821
  "verdana",
@@ -146859,7 +146860,7 @@ l.ZoomifyToolbar = function(t) {
146859
146860
  var oc = document.getElementById("labelGammaTextBox");
146860
146861
  vt = document.getElementById("trackSliderFilterGamma"), Rt = document.getElementById("buttonSliderFilterGamma");
146861
146862
  var ed = document.getElementById("textBoxFor-gammaTextElement");
146862
- oc && vt && Rt && ed && (J1 = oc.style, rt = vt.style, Zt = Rt.style, C2 = ed.style, J1 && rt && Zt && C2 && (J1.width = nn + "px", J1.height = zt + "px", J1.left = Un + "px", J1.top = ln - wr + "px", J1.visibility = "visible", l.Utils.setTextNodeStyle(
146863
+ oc && vt && Rt && ed && (J1 = oc.style, rt = vt.style, Zt = Rt.style, C2 = ed.style, J1 && rt && Zt && C2 && (J1.width = nn + "px", J1.height = Ht + "px", J1.left = Un + "px", J1.top = ln - wr + "px", J1.visibility = "visible", l.Utils.setTextNodeStyle(
146863
146864
  oc,
146864
146865
  "black",
146865
146866
  "verdana",
@@ -146890,7 +146891,7 @@ l.ZoomifyToolbar = function(t) {
146890
146891
  var Jc = document.getElementById("labelGammaRedTextBox");
146891
146892
  Ot = document.getElementById("trackSliderFilterGammaRed"), Yn = document.getElementById("buttonSliderFilterGammaRed");
146892
146893
  var so = document.getElementById("textBoxFor-gammaRedTextElement");
146893
- Jc && Ot && Yn && so && (iy = Jc.style, rn = Ot.style, dn = Yn.style, N2 = so.style, iy && rn && dn && N2 && (iy.width = nn + "px", iy.height = zt + "px", iy.left = Un + "px", iy.top = ln - wr + "px", iy.visibility = "visible", l.Utils.setTextNodeStyle(
146894
+ Jc && Ot && Yn && so && (iy = Jc.style, rn = Ot.style, dn = Yn.style, N2 = so.style, iy && rn && dn && N2 && (iy.width = nn + "px", iy.height = Ht + "px", iy.left = Un + "px", iy.top = ln - wr + "px", iy.visibility = "visible", l.Utils.setTextNodeStyle(
146894
146895
  Jc,
146895
146896
  "black",
146896
146897
  "verdana",
@@ -146921,7 +146922,7 @@ l.ZoomifyToolbar = function(t) {
146921
146922
  var hf = document.getElementById("labelGammaGreenTextBox");
146922
146923
  cn = document.getElementById("trackSliderFilterGammaGreen"), gn = document.getElementById("buttonSliderFilterGammaGreen");
146923
146924
  var kd = document.getElementById("textBoxFor-gammaGreenTextElement");
146924
- hf && cn && gn && kd && (q1 = hf.style, Tn = cn.style, Bn = gn.style, E2 = kd.style, q1 && Tn && Bn && E2 && (q1.width = nn + "px", q1.height = zt + "px", q1.left = Un + "px", q1.top = ln - wr + "px", q1.visibility = "visible", l.Utils.setTextNodeStyle(
146925
+ hf && cn && gn && kd && (q1 = hf.style, Tn = cn.style, Bn = gn.style, E2 = kd.style, q1 && Tn && Bn && E2 && (q1.width = nn + "px", q1.height = Ht + "px", q1.left = Un + "px", q1.top = ln - wr + "px", q1.visibility = "visible", l.Utils.setTextNodeStyle(
146925
146926
  hf,
146926
146927
  "black",
146927
146928
  "verdana",
@@ -146952,7 +146953,7 @@ l.ZoomifyToolbar = function(t) {
146952
146953
  var Fd = document.getElementById("labelGammaBlueTextBox");
146953
146954
  nr = document.getElementById("trackSliderFilterGammaBlue"), Lr = document.getElementById("buttonSliderFilterGammaBlue");
146954
146955
  var Tc = document.getElementById("textBoxFor-gammaBlueTextElement");
146955
- Fd && nr && Lr && Tc && (X1 = Fd.style, Ur = nr.style, In = Lr.style, F2 = Tc.style, X1 && Ur && In && F2 && (X1.width = nn + "px", X1.height = zt + "px", X1.left = Un + "px", X1.top = ln - wr + "px", X1.visibility = "visible", l.Utils.setTextNodeStyle(
146956
+ Fd && nr && Lr && Tc && (X1 = Fd.style, Ur = nr.style, In = Lr.style, F2 = Tc.style, X1 && Ur && In && F2 && (X1.width = nn + "px", X1.height = Ht + "px", X1.left = Un + "px", X1.top = ln - wr + "px", X1.visibility = "visible", l.Utils.setTextNodeStyle(
146956
146957
  Fd,
146957
146958
  "black",
146958
146959
  "verdana",
@@ -146983,7 +146984,7 @@ l.ZoomifyToolbar = function(t) {
146983
146984
  var Au = document.getElementById("labelHueTextBox");
146984
146985
  Gt = document.getElementById("trackSliderFilterHue"), Je = document.getElementById("buttonSliderFilterHue");
146985
146986
  var td = document.getElementById("textBoxFor-hueTextElement");
146986
- Au && Gt && Je && td && (H1 = Au.style, pe = Gt.style, je = Je.style, G2 = td.style, H1 && pe && je && G2 && (H1.width = nn + "px", H1.height = zt + "px", H1.left = Un + "px", H1.top = ln - wr + "px", H1.visibility = "visible", l.Utils.setTextNodeStyle(
146987
+ Au && Gt && Je && td && (H1 = Au.style, pe = Gt.style, je = Je.style, G2 = td.style, H1 && pe && je && G2 && (H1.width = nn + "px", H1.height = Ht + "px", H1.left = Un + "px", H1.top = ln - wr + "px", H1.visibility = "visible", l.Utils.setTextNodeStyle(
146987
146988
  Au,
146988
146989
  "black",
146989
146990
  "verdana",
@@ -147014,7 +147015,7 @@ l.ZoomifyToolbar = function(t) {
147014
147015
  var Mu = document.getElementById("labelSaturationTextBox");
147015
147016
  nt = document.getElementById("trackSliderFilterSaturation"), Lt = document.getElementById("buttonSliderFilterSaturation");
147016
147017
  var nd = document.getElementById("textBoxFor-saturationTextElement");
147017
- Mu && nt && Lt && nd && (W1 = Mu.style, yt = nt.style, kt = Lt.style, z2 = nd.style, W1 && yt && kt && z2 && (W1.width = nn + "px", W1.height = zt + "px", W1.left = Un + "px", W1.top = ln - wr + "px", W1.visibility = "visible", l.Utils.setTextNodeStyle(
147018
+ Mu && nt && Lt && nd && (W1 = Mu.style, yt = nt.style, kt = Lt.style, z2 = nd.style, W1 && yt && kt && z2 && (W1.width = nn + "px", W1.height = Ht + "px", W1.left = Un + "px", W1.top = ln - wr + "px", W1.visibility = "visible", l.Utils.setTextNodeStyle(
147018
147019
  Mu,
147019
147020
  "black",
147020
147021
  "verdana",
@@ -147045,7 +147046,7 @@ l.ZoomifyToolbar = function(t) {
147045
147046
  var _l = document.getElementById("labelLightnessTextBox");
147046
147047
  Wt = document.getElementById("trackSliderFilterLightness"), an = document.getElementById("buttonSliderFilterLightness");
147047
147048
  var rd = document.getElementById("textBoxFor-lightnessTextElement");
147048
- _l && Wt && an && rd && (V1 = _l.style, en = Wt.style, fn = an.style, T2 = rd.style, V1 && en && fn && T2 && (V1.width = nn + "px", V1.height = zt + "px", V1.left = Un + "px", V1.top = ln - wr + "px", V1.visibility = "visible", l.Utils.setTextNodeStyle(
147049
+ _l && Wt && an && rd && (V1 = _l.style, en = Wt.style, fn = an.style, T2 = rd.style, V1 && en && fn && T2 && (V1.width = nn + "px", V1.height = Ht + "px", V1.left = Un + "px", V1.top = ln - wr + "px", V1.visibility = "visible", l.Utils.setTextNodeStyle(
147049
147050
  _l,
147050
147051
  "black",
147051
147052
  "verdana",
@@ -147078,7 +147079,7 @@ l.ZoomifyToolbar = function(t) {
147078
147079
  var Vd = document.getElementById(
147079
147080
  "textBoxFor-whiteBalanceTextElement"
147080
147081
  );
147081
- Fa && Pn && Rn && Vd && (G1 = Fa.style, qr = Pn.style, er = Rn.style, H2 = Vd.style, G1 && qr && er && H2 && (G1.width = nn + "px", G1.height = zt + "px", G1.left = Un + "px", G1.top = ln - wr + "px", G1.visibility = "visible", l.Utils.setTextNodeStyle(
147082
+ Fa && Pn && Rn && Vd && (G1 = Fa.style, qr = Pn.style, er = Rn.style, H2 = Vd.style, G1 && qr && er && H2 && (G1.width = nn + "px", G1.height = Ht + "px", G1.left = Un + "px", G1.top = ln - wr + "px", G1.visibility = "visible", l.Utils.setTextNodeStyle(
147082
147083
  Fa,
147083
147084
  "black",
147084
147085
  "verdana",
@@ -147109,7 +147110,7 @@ l.ZoomifyToolbar = function(t) {
147109
147110
  var Il = document.getElementById("labelNormalizeTextBox");
147110
147111
  qn = document.getElementById("trackSliderFilterNormalize"), _n = document.getElementById("buttonSliderFilterNormalize");
147111
147112
  var il = document.getElementById("textBoxFor-normalizeTextElement");
147112
- Il && qn && _n && il && (Zd = Il.style, Wn = qn.style, An = _n.style, ah = il.style, Zd && Wn && An && ah && (Zd.width = nn + "px", Zd.height = zt + "px", Zd.left = Un + "px", Zd.top = ln - wr + "px", Zd.visibility = "visible", l.Utils.setTextNodeStyle(
147113
+ Il && qn && _n && il && (Zd = Il.style, Wn = qn.style, An = _n.style, ah = il.style, Zd && Wn && An && ah && (Zd.width = nn + "px", Zd.height = Ht + "px", Zd.left = Un + "px", Zd.top = ln - wr + "px", Zd.visibility = "visible", l.Utils.setTextNodeStyle(
147113
147114
  Il,
147114
147115
  "black",
147115
147116
  "verdana",
@@ -147140,7 +147141,7 @@ l.ZoomifyToolbar = function(t) {
147140
147141
  var _c = document.getElementById("labelEqualizeTextBox");
147141
147142
  GR = document.getElementById("trackSliderFilterEqualize"), $R = document.getElementById("buttonSliderFilterEqualize");
147142
147143
  var jl = document.getElementById("textBoxFor-equalizeTextElement");
147143
- _c && GR && $R && jl && (Y1 = _c.style, $2 = GR.style, jw = $R.style, B2 = jl.style, Y1 && $2 && jw && B2 && (Y1.width = nn + "px", Y1.height = zt + "px", Y1.left = Un + "px", Y1.top = ln - wr + "px", Y1.visibility = "visible", l.Utils.setTextNodeStyle(
147144
+ _c && GR && $R && jl && (Y1 = _c.style, $2 = GR.style, jw = $R.style, B2 = jl.style, Y1 && $2 && jw && B2 && (Y1.width = nn + "px", Y1.height = Ht + "px", Y1.left = Un + "px", Y1.top = ln - wr + "px", Y1.visibility = "visible", l.Utils.setTextNodeStyle(
147144
147145
  _c,
147145
147146
  "black",
147146
147147
  "verdana",
@@ -147171,7 +147172,7 @@ l.ZoomifyToolbar = function(t) {
147171
147172
  var Il = document.getElementById("labelNoiseTextBox");
147172
147173
  qn = document.getElementById("trackSliderFilterNoise"), _n = document.getElementById("buttonSliderFilterNoise");
147173
147174
  var il = document.getElementById("textBoxFor-noiseTextElement");
147174
- Il && qn && _n && il && (Zd = Il.style, Wn = qn.style, An = _n.style, ah = il.style, Zd && Wn && An && ah && (Zd.width = nn + "px", Zd.height = zt + "px", Zd.left = Un + "px", Zd.top = ln - wr + "px", Zd.visibility = "visible", l.Utils.setTextNodeStyle(
147175
+ Il && qn && _n && il && (Zd = Il.style, Wn = qn.style, An = _n.style, ah = il.style, Zd && Wn && An && ah && (Zd.width = nn + "px", Zd.height = Ht + "px", Zd.left = Un + "px", Zd.top = ln - wr + "px", Zd.visibility = "visible", l.Utils.setTextNodeStyle(
147175
147176
  Il,
147176
147177
  "black",
147177
147178
  "verdana",
@@ -147223,7 +147224,7 @@ l.ZoomifyToolbar = function(t) {
147223
147224
  ), sc = document.getElementById("checkboxFilterGrayscale");
147224
147225
  if (Ic && id && sc) {
147225
147226
  var vl = Ic.style;
147226
- vl.width = nn + "px", vl.height = zt + "px", vl.left = Un + "px", vl.top = ln + wr + "px", vl.visibility = "visible", l.Utils.setTextNodeStyle(
147227
+ vl.width = nn + "px", vl.height = Ht + "px", vl.left = Un + "px", vl.top = ln + wr + "px", vl.visibility = "visible", l.Utils.setTextNodeStyle(
147227
147228
  Ic,
147228
147229
  "black",
147229
147230
  "verdana",
@@ -147245,7 +147246,7 @@ l.ZoomifyToolbar = function(t) {
147245
147246
  ), nu = document.getElementById("checkboxFilterThreshold");
147246
147247
  if (tu && ad && nu) {
147247
147248
  var gl = tu.style;
147248
- gl.width = nn + "px", gl.height = zt + "px", gl.left = Un + "px", gl.top = ln + wr + "px", gl.visibility = "visible", l.Utils.setTextNodeStyle(
147249
+ gl.width = nn + "px", gl.height = Ht + "px", gl.left = Un + "px", gl.top = ln + wr + "px", gl.visibility = "visible", l.Utils.setTextNodeStyle(
147249
147250
  tu,
147250
147251
  "black",
147251
147252
  "verdana",
@@ -147267,7 +147268,7 @@ l.ZoomifyToolbar = function(t) {
147267
147268
  ), Mc = document.getElementById("checkboxFilterInversion");
147268
147269
  if (ru && Lu && Mc) {
147269
147270
  var iu = ru.style;
147270
- iu.width = nn + "px", iu.height = zt + "px", iu.left = Un + "px", iu.top = ln + wr + "px", iu.visibility = "visible", l.Utils.setTextNodeStyle(
147271
+ iu.width = nn + "px", iu.height = Ht + "px", iu.left = Un + "px", iu.top = ln + wr + "px", iu.visibility = "visible", l.Utils.setTextNodeStyle(
147271
147272
  ru,
147272
147273
  "black",
147273
147274
  "verdana",
@@ -147287,7 +147288,7 @@ l.ZoomifyToolbar = function(t) {
147287
147288
  var au = document.getElementById("labelEqualizeTextBox"), od = document.getElementById("containerFor-checkboxFilterEqualize"), cc = document.getElementById("checkboxFilterEqualize");
147288
147289
  if (au && od && cc) {
147289
147290
  var Rc = au.style;
147290
- Rc.width = nn + "px", Rc.height = zt + "px", Rc.left = Un + "px", Rc.top = ln + wr + "px", Rc.visibility = "visible", l.Utils.setTextNodeStyle(
147291
+ Rc.width = nn + "px", Rc.height = Ht + "px", Rc.left = Un + "px", Rc.top = ln + wr + "px", Rc.visibility = "visible", l.Utils.setTextNodeStyle(
147291
147292
  au,
147292
147293
  "black",
147293
147294
  "verdana",
@@ -147307,7 +147308,7 @@ l.ZoomifyToolbar = function(t) {
147307
147308
  var Oc = document.getElementById("labelEdgesTextBox"), ls = document.getElementById("containerFor-checkboxFilterEdges"), Ou = document.getElementById("checkboxFilterEdges");
147308
147309
  if (Oc && ls && Ou) {
147309
147310
  var uc = Oc.style;
147310
- uc.width = nn + "px", uc.height = zt + "px", uc.left = Un + "px", uc.top = ln + wr + "px", uc.visibility = "visible", l.Utils.setTextNodeStyle(
147311
+ uc.width = nn + "px", uc.height = Ht + "px", uc.left = Un + "px", uc.top = ln + wr + "px", uc.visibility = "visible", l.Utils.setTextNodeStyle(
147311
147312
  Oc,
147312
147313
  "black",
147313
147314
  "verdana",
@@ -147327,7 +147328,7 @@ l.ZoomifyToolbar = function(t) {
147327
147328
  var Rs = document.getElementById("labelSepiaTextBox"), Nu = document.getElementById("containerFor-checkboxFilterSepia"), sd = document.getElementById("checkboxFilterSepia");
147328
147329
  if (Rs && Nu && sd) {
147329
147330
  var Pc = Rs.style;
147330
- Pc.width = nn + "px", Pc.height = zt + "px", Pc.left = Un + "px", Pc.top = ln + wr + "px", Pc.visibility = "visible", l.Utils.setTextNodeStyle(
147331
+ Pc.width = nn + "px", Pc.height = Ht + "px", Pc.left = Un + "px", Pc.top = ln + wr + "px", Pc.visibility = "visible", l.Utils.setTextNodeStyle(
147331
147332
  Rs,
147332
147333
  "black",
147333
147334
  "verdana",
@@ -147493,7 +147494,7 @@ l.ZoomifyToolbar = function(t) {
147493
147494
  if (typeof On < "u" && typeof rr < "u" && typeof Hn < "u") {
147494
147495
  var Ze = parseFloat(On.left), et = parseFloat(On.left) + parseFloat(On.width) - parseFloat(Hn.width), nn = parseFloat(Hn.left) + (U.x - rr.mouseXPrior);
147495
147496
  nn < Ze ? nn = Ze : nn > et ? nn = et : rr.mouseXPrior = U.x;
147496
- var zt = mi(
147497
+ var Ht = mi(
147497
147498
  nn - Ze,
147498
147499
  Ze,
147499
147500
  et
@@ -147501,17 +147502,17 @@ l.ZoomifyToolbar = function(t) {
147501
147502
  Hn.left = nn + "px";
147502
147503
  var Ar, sn, Ir = Hn !== null && Ei !== null;
147503
147504
  if (!Ir)
147504
- Ar = zt;
147505
+ Ar = Ht;
147505
147506
  else {
147506
147507
  var wr = V.substring(V.length - 1) != "2";
147507
- if (wr ? (Ar = zt, sn = t.getImageFilterValuePrior(
147508
+ if (wr ? (Ar = Ht, sn = t.getImageFilterValuePrior(
147508
147509
  V + "2"
147509
147510
  )) : (Ar = t.getImageFilterValuePrior(
147510
147511
  V.substring(
147511
147512
  0,
147512
147513
  V.length - 1
147513
147514
  )
147514
- ), sn = zt), wr) {
147515
+ ), sn = Ht), wr) {
147515
147516
  if (parseFloat(Ei.left) <= nn) {
147516
147517
  Ei.left = nn + "px";
147517
147518
  var lr = V + "2";
@@ -147532,14 +147533,14 @@ l.ZoomifyToolbar = function(t) {
147532
147533
  );
147533
147534
  }
147534
147535
  }
147535
- zt != t.getImageFilterValuePrior(V) && (e.setImageFilterText(V, zt), V != "hue" && V != "saturation" && V != "sharpness" && V != "blurriness" && t.applyImageFilter(
147536
+ Ht != t.getImageFilterValuePrior(V) && (e.setImageFilterText(V, Ht), V != "hue" && V != "saturation" && V != "sharpness" && V != "blurriness" && t.applyImageFilter(
147536
147537
  V,
147537
147538
  Ar,
147538
147539
  "canvas",
147539
147540
  sn
147540
147541
  ), t.setImageFilterValuePrior(
147541
147542
  V,
147542
- zt
147543
+ Ht
147543
147544
  ));
147544
147545
  }
147545
147546
  break;
@@ -147547,7 +147548,7 @@ l.ZoomifyToolbar = function(t) {
147547
147548
  if (B = !1, typeof On < "u" && typeof rr < "u" && typeof Hn < "u") {
147548
147549
  var Ze = parseFloat(On.left), et = parseFloat(On.left) + parseFloat(On.width) - parseFloat(Hn.width), nn = parseFloat(Hn.left) + (U.x - rr.mouseXPrior);
147549
147550
  nn < Ze ? nn = Ze : nn > et ? nn = et : rr.mouseXPrior = U.x;
147550
- var zt = mi(
147551
+ var Ht = mi(
147551
147552
  nn - Ze,
147552
147553
  Ze,
147553
147554
  et
@@ -147555,17 +147556,17 @@ l.ZoomifyToolbar = function(t) {
147555
147556
  Hn.left = nn + "px";
147556
147557
  var Ar, sn;
147557
147558
  if (V.indexOf("Range") == -1)
147558
- Ar = zt;
147559
+ Ar = Ht;
147559
147560
  else {
147560
147561
  var wr = V.substring(V.length - 1) != "2";
147561
- if (wr ? (Ar = zt, sn = t.getImageFilterValuePrior(
147562
+ if (wr ? (Ar = Ht, sn = t.getImageFilterValuePrior(
147562
147563
  V + "2"
147563
147564
  )) : (Ar = t.getImageFilterValuePrior(
147564
147565
  V.substring(
147565
147566
  0,
147566
147567
  V.length - 1
147567
147568
  )
147568
- ), sn = zt), wr) {
147569
+ ), sn = Ht), wr) {
147569
147570
  if (parseFloat(Ei.left) <= nn) {
147570
147571
  Ei.left = nn + "px";
147571
147572
  var lr = V + "2";
@@ -147586,7 +147587,7 @@ l.ZoomifyToolbar = function(t) {
147586
147587
  );
147587
147588
  }
147588
147589
  }
147589
- (zt != t.getImageFilterValuePrior(V) || Ye == "sliderEnd") && (e.setImageFilterText(V, zt), t.setImageFilter(
147590
+ (Ht != t.getImageFilterValuePrior(V) || Ye == "sliderEnd") && (e.setImageFilterText(V, Ht), t.setImageFilter(
147590
147591
  V,
147591
147592
  Ar,
147592
147593
  sn
@@ -147597,7 +147598,7 @@ l.ZoomifyToolbar = function(t) {
147597
147598
  sn
147598
147599
  ), t.setImageFilterValuePrior(
147599
147600
  V,
147600
- zt
147601
+ Ht
147601
147602
  ));
147602
147603
  }
147603
147604
  L = !1;