brainsmatics 1.0.90 → 1.0.91

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.
@@ -2917,7 +2917,7 @@ function PE(t, e) {
2917
2917
  const n = e || 255;
2918
2918
  return t > n ? n : t < 0 ? 0 : t;
2919
2919
  }
2920
- class wa {
2920
+ class Ca {
2921
2921
  constructor(e) {
2922
2922
  Oe(this, "isValid", !0), Oe(this, "r", 0), Oe(this, "g", 0), Oe(this, "b", 0), Oe(this, "a", 1), Oe(this, "_h", void 0), Oe(this, "_s", void 0), Oe(this, "_l", void 0), Oe(this, "_v", void 0), Oe(this, "_max", void 0), Oe(this, "_min", void 0), Oe(this, "_brightness", void 0);
2923
2923
  function n(r) {
@@ -2930,7 +2930,7 @@ class wa {
2930
2930
  };
2931
2931
  const r = e.trim();
2932
2932
  /^#?[A-F\d]{3,8}$/i.test(r) ? this.fromHexString(r) : i("rgb") ? this.fromRgbString(r) : i("hsl") ? this.fromHslString(r) : (i("hsv") || i("hsb")) && this.fromHsvString(r);
2933
- } else if (e instanceof wa)
2933
+ } else if (e instanceof Ca)
2934
2934
  this.r = e.r, this.g = e.g, this.b = e.b, this.a = e.a, this._h = e._h, this._s = e._s, this._l = e._l, this._v = e._v;
2935
2935
  else if (n("rgb"))
2936
2936
  this.r = PE(e.r), this.g = PE(e.g), this.b = PE(e.b), this.a = typeof e.a == "number" ? PE(e.a, 1) : 1;
@@ -3274,8 +3274,8 @@ function uQ(t, e, n) {
3274
3274
  return n ? r = t.v + ePe * e : r = t.v - tPe * e, r = Math.max(0, Math.min(1, r)), Math.round(r * 100) / 100;
3275
3275
  }
3276
3276
  function m7(t) {
3277
- for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = new wa(t), i = r.toHsv(), a = C0e; a > 0; a -= 1) {
3278
- var o = new wa({
3277
+ for (var e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, n = [], r = new Ca(t), i = r.toHsv(), a = C0e; a > 0; a -= 1) {
3278
+ var o = new Ca({
3279
3279
  h: lQ(i, a, !0),
3280
3280
  s: cQ(i, a, !0),
3281
3281
  v: uQ(i, a, !0)
@@ -3284,7 +3284,7 @@ function m7(t) {
3284
3284
  }
3285
3285
  n.push(r);
3286
3286
  for (var s = 1; s <= w0e; s += 1) {
3287
- var c = new wa({
3287
+ var c = new Ca({
3288
3288
  h: lQ(i, s),
3289
3289
  s: cQ(i, s),
3290
3290
  v: uQ(i, s)
@@ -3293,7 +3293,7 @@ function m7(t) {
3293
3293
  }
3294
3294
  return e.theme === "dark" ? nPe.map(function(u) {
3295
3295
  var d = u.index, f = u.amount;
3296
- return new wa(e.backgroundColor || "#141414").mix(n[d], f).toHexString();
3296
+ return new Ca(e.backgroundColor || "#141414").mix(n[d], f).toHexString();
3297
3297
  }) : n.map(function(u) {
3298
3298
  return u.toHexString();
3299
3299
  });
@@ -3366,7 +3366,7 @@ function rPe(t, e) {
3366
3366
  colorPrimary: c,
3367
3367
  colorBgBase: u,
3368
3368
  colorTextBase: d
3369
- } = t, f = n(c), h = n(i), p = n(a), v = n(o), y = n(s), g = r(u, d), m = t.colorLink || t.colorInfo, b = n(m), x = new wa(v[1]).mix(new wa(v[3]), 50).toHexString();
3369
+ } = t, f = n(c), h = n(i), p = n(a), v = n(o), y = n(s), g = r(u, d), m = t.colorLink || t.colorInfo, b = n(m), x = new Ca(v[1]).mix(new Ca(v[3]), 50).toHexString();
3370
3370
  return Object.assign(Object.assign({}, g), {
3371
3371
  colorPrimaryBg: f[1],
3372
3372
  colorPrimaryBgHover: f[2],
@@ -3423,7 +3423,7 @@ function rPe(t, e) {
3423
3423
  colorLinkHover: b[4],
3424
3424
  colorLink: b[6],
3425
3425
  colorLinkActive: b[7],
3426
- colorBgMask: new wa("#000").setA(0.45).toRgbString(),
3426
+ colorBgMask: new Ca("#000").setA(0.45).toRgbString(),
3427
3427
  colorWhite: "#fff"
3428
3428
  });
3429
3429
  }
@@ -3529,7 +3529,7 @@ function fPe(t) {
3529
3529
  // 4
3530
3530
  };
3531
3531
  }
3532
- const wh = (t, e) => new wa(t).setA(e).toRgbString(), RE = (t, e) => new wa(t).darken(e).toHexString(), hPe = (t) => {
3532
+ const wh = (t, e) => new Ca(t).setA(e).toRgbString(), RE = (t, e) => new Ca(t).darken(e).toHexString(), hPe = (t) => {
3533
3533
  const e = m7(t);
3534
3534
  return {
3535
3535
  1: e[0],
@@ -3703,16 +3703,16 @@ function TPe(t, e) {
3703
3703
  let c = o.clone();
3704
3704
  return c = (s == null ? void 0 : s(c)) || c, c.toRgbString();
3705
3705
  }, i = (o, s) => {
3706
- const c = new wa(o), u = m7(c.toRgbString());
3706
+ const c = new Ca(o), u = m7(c.toRgbString());
3707
3707
  n[`${s}-color`] = r(c), n[`${s}-color-disabled`] = u[1], n[`${s}-color-hover`] = u[4], n[`${s}-color-active`] = u[6], n[`${s}-color-outline`] = c.clone().setA(0.2).toRgbString(), n[`${s}-color-deprecated-bg`] = u[0], n[`${s}-color-deprecated-border`] = u[2];
3708
3708
  };
3709
3709
  if (e.primaryColor) {
3710
3710
  i(e.primaryColor, "primary");
3711
- const o = new wa(e.primaryColor), s = m7(o.toRgbString());
3711
+ const o = new Ca(e.primaryColor), s = m7(o.toRgbString());
3712
3712
  s.forEach((u, d) => {
3713
3713
  n[`primary-${d + 1}`] = u;
3714
3714
  }), n["primary-color-deprecated-l-35"] = r(o, (u) => u.lighten(35)), n["primary-color-deprecated-l-20"] = r(o, (u) => u.lighten(20)), n["primary-color-deprecated-t-20"] = r(o, (u) => u.tint(20)), n["primary-color-deprecated-t-50"] = r(o, (u) => u.tint(50)), n["primary-color-deprecated-f-12"] = r(o, (u) => u.setA(u.a * 0.12));
3715
- const c = new wa(s[0]);
3715
+ const c = new Ca(s[0]);
3716
3716
  n["primary-color-active-deprecated-f-30"] = r(c, (u) => u.setA(u.a * 0.3)), n["primary-color-active-deprecated-d-02"] = r(c, (u) => u.darken(2));
3717
3717
  }
3718
3718
  return e.successColor && i(e.successColor, "success"), e.warningColor && i(e.warningColor, "warning"), e.errorColor && i(e.errorColor, "error"), e.infoColor && i(e.infoColor, "info"), `
@@ -5284,25 +5284,25 @@ function H_(t, e) {
5284
5284
  g: r,
5285
5285
  b: i,
5286
5286
  a
5287
- } = new wa(t).toRgb();
5287
+ } = new Ca(t).toRgb();
5288
5288
  if (a < 1)
5289
5289
  return t;
5290
5290
  const {
5291
5291
  r: o,
5292
5292
  g: s,
5293
5293
  b: c
5294
- } = new wa(e).toRgb();
5294
+ } = new Ca(e).toRgb();
5295
5295
  for (let u = 0.01; u <= 1; u += 0.01) {
5296
5296
  const d = Math.round((n - o * (1 - u)) / u), f = Math.round((r - s * (1 - u)) / u), h = Math.round((i - c * (1 - u)) / u);
5297
5297
  if (kN(d) && kN(f) && kN(h))
5298
- return new wa({
5298
+ return new Ca({
5299
5299
  r: d,
5300
5300
  g: f,
5301
5301
  b: h,
5302
5302
  a: Math.round(u * 100) / 100
5303
5303
  }).toRgbString();
5304
5304
  }
5305
- return new wa({
5305
+ return new Ca({
5306
5306
  r: n,
5307
5307
  g: r,
5308
5308
  b: i,
@@ -5435,9 +5435,9 @@ function X0e(t) {
5435
5435
  screenXXLMin: d,
5436
5436
  boxShadowPopoverArrow: "2px 2px 5px rgba(0, 0, 0, 0.05)",
5437
5437
  boxShadowCard: `
5438
- 0 1px 2px -2px ${new wa("rgba(0, 0, 0, 0.16)").toRgbString()},
5439
- 0 3px 6px 0 ${new wa("rgba(0, 0, 0, 0.12)").toRgbString()},
5440
- 0 5px 12px 4px ${new wa("rgba(0, 0, 0, 0.09)").toRgbString()}
5438
+ 0 1px 2px -2px ${new Ca("rgba(0, 0, 0, 0.16)").toRgbString()},
5439
+ 0 3px 6px 0 ${new Ca("rgba(0, 0, 0, 0.12)").toRgbString()},
5440
+ 0 5px 12px 4px ${new Ca("rgba(0, 0, 0, 0.09)").toRgbString()}
5441
5441
  `,
5442
5442
  boxShadowDrawerRight: `
5443
5443
  -6px 0 16px 0 rgba(0, 0, 0, 0.08),
@@ -6608,7 +6608,7 @@ const UNe = (t) => {
6608
6608
  colorPicker: dt,
6609
6609
  datePicker: ct,
6610
6610
  rangePicker: ut,
6611
- flex: St,
6611
+ flex: wt,
6612
6612
  wave: st,
6613
6613
  dropdown: Ue,
6614
6614
  warning: ft,
@@ -6696,7 +6696,7 @@ const UNe = (t) => {
6696
6696
  colorPicker: dt,
6697
6697
  datePicker: ct,
6698
6698
  rangePicker: ut,
6699
- flex: St,
6699
+ flex: wt,
6700
6700
  wave: st,
6701
6701
  dropdown: Ue,
6702
6702
  warning: ft,
@@ -6793,15 +6793,15 @@ Object.defineProperty(vv, "SizeContext", {
6793
6793
  get: () => (process.env.NODE_ENV !== "production" && F1(!1, "ConfigProvider", "ConfigProvider.SizeContext is deprecated. Please use `ConfigProvider.useConfig().componentSize` instead."), b5)
6794
6794
  });
6795
6795
  process.env.NODE_ENV !== "production" && (vv.displayName = "ConfigProvider");
6796
- function Sa() {
6797
- return Sa = Object.assign ? Object.assign.bind() : function(t) {
6796
+ function wa() {
6797
+ return wa = Object.assign ? Object.assign.bind() : function(t) {
6798
6798
  for (var e = 1; e < arguments.length; e++) {
6799
6799
  var n = arguments[e];
6800
6800
  for (var r in n)
6801
6801
  ({}).hasOwnProperty.call(n, r) && (t[r] = n[r]);
6802
6802
  }
6803
6803
  return t;
6804
- }, Sa.apply(null, arguments);
6804
+ }, wa.apply(null, arguments);
6805
6805
  }
6806
6806
  var BNe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm193.5 301.7l-210.6 292a31.8 31.8 0 01-51.7 0L318.5 484.9c-3.8-5.3 0-12.7 6.5-12.7h46.9c10.2 0 19.9 4.9 25.9 13.3l71.2 98.8 157.2-218c6-8.3 15.6-13.3 25.9-13.3H699c6.5 0 10.3 7.4 6.5 12.7z" } }] }, name: "check-circle", theme: "filled" };
6807
6807
  const VNe = BNe;
@@ -7490,7 +7490,7 @@ var z9 = /* @__PURE__ */ E.forwardRef(function(t, e) {
7490
7490
  msTransform: "rotate(".concat(a, "deg)"),
7491
7491
  transform: "rotate(".concat(a, "deg)")
7492
7492
  } : void 0, m = Tme(c), b = xme(m, 2), x = b[0], C = b[1];
7493
- return /* @__PURE__ */ E.createElement("span", Sa({
7493
+ return /* @__PURE__ */ E.createElement("span", wa({
7494
7494
  role: "img",
7495
7495
  "aria-label": r.name
7496
7496
  }, u, {
@@ -7510,7 +7510,7 @@ z9.getTwoToneColor = bDe;
7510
7510
  z9.setTwoToneColor = Ime;
7511
7511
  const Fa = z9;
7512
7512
  var CDe = function(e, n) {
7513
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
7513
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
7514
7514
  ref: n,
7515
7515
  icon: VNe
7516
7516
  }));
@@ -7520,7 +7520,7 @@ const H9 = Ame;
7520
7520
  var wDe = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64c247.4 0 448 200.6 448 448S759.4 960 512 960 64 759.4 64 512 264.6 64 512 64zm127.98 274.82h-.04l-.08.06L512 466.75 384.14 338.88c-.04-.05-.06-.06-.08-.06a.12.12 0 00-.07 0c-.03 0-.05.01-.09.05l-45.02 45.02a.2.2 0 00-.05.09.12.12 0 000 .07v.02a.27.27 0 00.06.06L466.75 512 338.88 639.86c-.05.04-.06.06-.06.08a.12.12 0 000 .07c0 .03.01.05.05.09l45.02 45.02a.2.2 0 00.09.05.12.12 0 00.07 0c.02 0 .04-.01.08-.05L512 557.25l127.86 127.87c.04.04.06.05.08.05a.12.12 0 00.07 0c.03 0 .05-.01.09-.05l45.02-45.02a.2.2 0 00.05-.09.12.12 0 000-.07v-.02a.27.27 0 00-.05-.06L557.25 512l127.87-127.86c.04-.04.05-.06.05-.08a.12.12 0 000-.07c0-.03-.01-.05-.05-.09l-45.02-45.02a.2.2 0 00-.09-.05.12.12 0 00-.07 0z" } }] }, name: "close-circle", theme: "filled" };
7521
7521
  const SDe = wDe;
7522
7522
  var EDe = function(e, n) {
7523
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
7523
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
7524
7524
  ref: n,
7525
7525
  icon: SDe
7526
7526
  }));
@@ -7530,7 +7530,7 @@ const j3 = Mme;
7530
7530
  var _De = { icon: { tag: "svg", attrs: { "fill-rule": "evenodd", viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z" } }] }, name: "close", theme: "outlined" };
7531
7531
  const TDe = _De;
7532
7532
  var IDe = function(e, n) {
7533
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
7533
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
7534
7534
  ref: n,
7535
7535
  icon: TDe
7536
7536
  }));
@@ -7540,7 +7540,7 @@ const j0 = Lme;
7540
7540
  var ADe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm-32 232c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V296zm32 440a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "exclamation-circle", theme: "filled" };
7541
7541
  const MDe = ADe;
7542
7542
  var LDe = function(e, n) {
7543
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
7543
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
7544
7544
  ref: n,
7545
7545
  icon: MDe
7546
7546
  }));
@@ -7550,7 +7550,7 @@ const _j = Ome;
7550
7550
  var ODe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm32 664c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8V456c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v272zm-32-344a48.01 48.01 0 010-96 48.01 48.01 0 010 96z" } }] }, name: "info-circle", theme: "filled" };
7551
7551
  const PDe = ODe;
7552
7552
  var RDe = function(e, n) {
7553
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
7553
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
7554
7554
  ref: n,
7555
7555
  icon: PDe
7556
7556
  }));
@@ -9062,7 +9062,7 @@ function Lke() {
9062
9062
  var Oke = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z" } }] }, name: "loading", theme: "outlined" };
9063
9063
  const Pke = Oke;
9064
9064
  var Rke = function(e, n) {
9065
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
9065
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
9066
9066
  ref: n,
9067
9067
  icon: Pke
9068
9068
  }));
@@ -10511,7 +10511,7 @@ const RUe = /* @__PURE__ */ yc((t, e) => {
10511
10511
  var FUe = ["b"], BUe = ["v"], JN = function(e) {
10512
10512
  return Math.round(Number(e || 0));
10513
10513
  }, VUe = function(e) {
10514
- if (e instanceof wa)
10514
+ if (e instanceof Ca)
10515
10515
  return e;
10516
10516
  if (e && Ir(e) === "object" && "h" in e && "b" in e) {
10517
10517
  var n = e, r = n.b, i = yi(n, FUe);
@@ -10542,7 +10542,7 @@ var FUe = ["b"], BUe = ["v"], JN = function(e) {
10542
10542
  });
10543
10543
  }
10544
10544
  }]), n;
10545
- }(wa), $Ue = "rc-color-picker", Vw = function(e) {
10545
+ }(Ca), $Ue = "rc-color-picker", Vw = function(e) {
10546
10546
  return e instanceof lv ? e : new lv(e);
10547
10547
  }, zUe = Vw("#1677ff"), d1e = function(e) {
10548
10548
  var n = e.offset, r = e.targetRef, i = e.containerRef, a = e.color, o = e.type, s = i.current.getBoundingClientRect(), c = s.width, u = s.height, d = r.current.getBoundingClientRect(), f = d.width, h = d.height, p = f / 2, v = h / 2, y = (n.x + p) / c, g = 1 - (n.y + v) / u, m = a.toHsb(), b = y, x = (n.x + p) / c * 360;
@@ -10966,7 +10966,7 @@ let th = /* @__PURE__ */ function() {
10966
10966
  var qUe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M765.7 486.8L314.9 134.7A7.97 7.97 0 00302 141v77.3c0 4.9 2.3 9.6 6.1 12.6l360 281.1-360 281.1c-3.9 3-6.1 7.7-6.1 12.6V883c0 6.7 7.7 10.4 12.9 6.3l450.8-352.1a31.96 31.96 0 000-50.4z" } }] }, name: "right", theme: "outlined" };
10967
10967
  const JUe = qUe;
10968
10968
  var QUe = function(e, n) {
10969
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
10969
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
10970
10970
  ref: n,
10971
10971
  icon: JUe
10972
10972
  }));
@@ -12822,7 +12822,7 @@ const xBe = {
12822
12822
  [`${q}-block`]: C,
12823
12823
  [`${q}-rtl`]: V === "rtl",
12824
12824
  [`${q}-icon-end`]: b === "end"
12825
- }, Ze, v, y, Y), dt = Object.assign(Object.assign({}, W), A), ct = et(_ == null ? void 0 : _.icon, Z.icon), ut = Object.assign(Object.assign({}, (h == null ? void 0 : h.icon) || {}), te.icon || {}), St = m && !re ? /* @__PURE__ */ P.createElement(b$, {
12825
+ }, Ze, v, y, Y), dt = Object.assign(Object.assign({}, W), A), ct = et(_ == null ? void 0 : _.icon, Z.icon), ut = Object.assign(Object.assign({}, (h == null ? void 0 : h.icon) || {}), te.icon || {}), wt = m && !re ? /* @__PURE__ */ P.createElement(b$, {
12826
12826
  prefixCls: q,
12827
12827
  className: ct,
12828
12828
  style: ut
@@ -12846,7 +12846,7 @@ const xBe = {
12846
12846
  onClick: Ne,
12847
12847
  ref: _e,
12848
12848
  tabIndex: me ? -1 : 0
12849
- }), St, st));
12849
+ }), wt, st));
12850
12850
  let Ue = /* @__PURE__ */ P.createElement("button", Object.assign({}, N, {
12851
12851
  type: w,
12852
12852
  className: Ye,
@@ -12854,7 +12854,7 @@ const xBe = {
12854
12854
  onClick: Ne,
12855
12855
  disabled: me,
12856
12856
  ref: _e
12857
- }), St, st, Ze && /* @__PURE__ */ P.createElement(mBe, {
12857
+ }), wt, st, Ze && /* @__PURE__ */ P.createElement(mBe, {
12858
12858
  prefixCls: q
12859
12859
  }));
12860
12860
  return kA(H) || (Ue = /* @__PURE__ */ P.createElement(w5, {
@@ -17903,7 +17903,7 @@ function sze(t, e) {
17903
17903
  }, [a, dt, at, ke]), ut = Zl(function(wn, In) {
17904
17904
  var jn;
17905
17905
  return typeof c == "function" ? c(wn) : (jn = c && (wn == null ? void 0 : wn[c])) !== null && jn !== void 0 ? jn : In;
17906
- }, [c]), St = Zl(o || function(wn) {
17906
+ }, [c]), wt = Zl(o || function(wn) {
17907
17907
  return wn;
17908
17908
  }, [o]);
17909
17909
  function st(wn, In, jn) {
@@ -17982,7 +17982,7 @@ function sze(t, e) {
17982
17982
  order: In,
17983
17983
  key: jn,
17984
17984
  item: wn,
17985
- renderItem: St,
17985
+ renderItem: wt,
17986
17986
  itemKey: jn,
17987
17987
  registerSize: ft,
17988
17988
  display: In <= ke
@@ -18612,7 +18612,7 @@ function Sze(t, e, n, r, i, a, o) {
18612
18612
  var ve = C4(Math.round(me / parseFloat(R) * 1e3) / 1e3), ue = C4(Math.round(ee / parseFloat(M) * 1e3) / 1e3);
18613
18613
  if (ve === 0 || ue === 0 || y4(n) && !wye(n))
18614
18614
  return;
18615
- var Le = z.offset, at = z.targetOffset, De = lte(W, Le), Ye = yt(De, 2), dt = Ye[0], ct = Ye[1], ut = lte(j, at), St = yt(ut, 2), st = St[0], Ue = St[1];
18615
+ var Le = z.offset, at = z.targetOffset, De = lte(W, Le), Ye = yt(De, 2), dt = Ye[0], ct = Ye[1], ut = lte(j, at), wt = yt(ut, 2), st = wt[0], Ue = wt[1];
18616
18616
  j.x -= st, j.y -= Ue;
18617
18617
  var ft = z.points || [], it = yt(ft, 2), nt = it[0], Ct = it[1], $e = cte(Ct), Lt = cte(nt), At = Lx(j, $e), kt = Lx(W, Lt), Ot = Ke({}, z), Vt = At.x - kt.x + dt, Xt = At.y - kt.y + ct, hn = Ia(Vt, Xt), wn = Ia(Vt, Xt, He), In = Lx(j, ["t", "l"]), jn = Lx(W, ["t", "l"]), rn = Lx(j, ["b", "r"]), Or = Lx(W, ["b", "r"]), Vn = z.overflow || {}, xn = Vn.adjustX, Un = Vn.adjustY, pn = Vn.shiftX, Qn = Vn.shiftY, fr = function(nn) {
18618
18618
  return typeof nn == "boolean" ? nn : nn >= 0;
@@ -18748,10 +18748,10 @@ function Ize() {
18748
18748
  };
18749
18749
  }, [Se]), ve = Vj(), ue = E.useState(null), Le = yt(ue, 2), at = Le[0], De = Le[1], Ye = E.useRef(null), dt = El(function(yn) {
18750
18750
  Ye.current = yn, y4(yn) && at !== yn && De(yn), Se == null || Se.registerSubPopup(ve, yn);
18751
- }), ct = E.useState(null), ut = yt(ct, 2), St = ut[0], st = ut[1], Ue = E.useRef(null), ft = El(function(yn) {
18752
- y4(yn) && St !== yn && (st(yn), Ue.current = yn);
18751
+ }), ct = E.useState(null), ut = yt(ct, 2), wt = ut[0], st = ut[1], Ue = E.useRef(null), ft = El(function(yn) {
18752
+ y4(yn) && wt !== yn && (st(yn), Ue.current = yn);
18753
18753
  }), it = E.Children.only(o), nt = (it == null ? void 0 : it.props) || {}, Ct = {}, $e = El(function(yn) {
18754
- var tr, cn, Rn = St;
18754
+ var tr, cn, Rn = wt;
18755
18755
  return (Rn == null ? void 0 : Rn.contains(yn)) || ((tr = S7(Rn)) === null || tr === void 0 ? void 0 : tr.host) === yn || yn === Rn || (at == null ? void 0 : at.contains(yn)) || ((cn = S7(at)) === null || cn === void 0 ? void 0 : cn.host) === yn || yn === at || Object.values(Ne.current).some(function(zn) {
18756
18756
  return (zn == null ? void 0 : zn.contains(yn)) || yn === zn;
18757
18757
  });
@@ -18785,12 +18785,12 @@ function Ize() {
18785
18785
  }, [hn]);
18786
18786
  var kr = E.useState(null), Wn = yt(kr, 2), cr = Wn[0], je = Wn[1], Mt = E.useState([0, 0]), Dt = yt(Mt, 2), Ft = Dt[0], Ut = Dt[1], Gt = function(tr) {
18787
18787
  Ut([tr.clientX, tr.clientY]);
18788
- }, zt = Sze(hn, at, te ? Ft : St, F, z, V, q), Yt = yt(zt, 11), $n = Yt[0], Ht = Yt[1], Pt = Yt[2], Jt = Yt[3], Gn = Yt[4], Pn = Yt[5], Cr = Yt[6], Mr = Yt[7], er = Yt[8], on = Yt[9], qn = Yt[10], _n = xze(ke, c, u, d), Tn = yt(_n, 2), Fn = Tn[0], ar = Tn[1], Zr = Fn.has("click"), xr = ar.has("click") || ar.has("contextMenu"), Hr = El(function() {
18788
+ }, zt = Sze(hn, at, te ? Ft : wt, F, z, V, q), Yt = yt(zt, 11), $n = Yt[0], Ht = Yt[1], Pt = Yt[2], Jt = Yt[3], Gn = Yt[4], Pn = Yt[5], Cr = Yt[6], Mr = Yt[7], er = Yt[8], on = Yt[9], qn = Yt[10], _n = xze(ke, c, u, d), Tn = yt(_n, 2), Fn = Tn[0], ar = Tn[1], Zr = Fn.has("click"), xr = ar.has("click") || ar.has("contextMenu"), Hr = El(function() {
18789
18789
  Qn || qn();
18790
18790
  }), sr = function() {
18791
18791
  In.current && te && xr && xn(!1);
18792
18792
  };
18793
- Eze(hn, St, at, Hr, sr), Oo(function() {
18793
+ Eze(hn, wt, at, Hr, sr), Oo(function() {
18794
18794
  Hr();
18795
18795
  }, [Ft, F]), Oo(function() {
18796
18796
  hn && !(z != null && z[F]) && Hr();
@@ -18807,8 +18807,8 @@ function Ize() {
18807
18807
  };
18808
18808
  });
18809
18809
  var Br = E.useState(0), ir = yt(Br, 2), Ur = ir[0], zi = ir[1], Zi = E.useState(0), Pi = yt(Zi, 2), Ki = Pi[0], ba = Pi[1], ja = function() {
18810
- if (Y && St) {
18811
- var tr = St.getBoundingClientRect();
18810
+ if (Y && wt) {
18811
+ var tr = wt.getBoundingClientRect();
18812
18812
  zi(tr.width), ba(tr.height);
18813
18813
  }
18814
18814
  }, ta = function() {
@@ -18840,7 +18840,7 @@ function Ize() {
18840
18840
  for (var cn = arguments.length, Rn = new Array(cn > 1 ? cn - 1 : 0), zn = 1; zn < cn; zn++)
18841
18841
  Rn[zn - 1] = arguments[zn];
18842
18842
  (tr = nt.onClick) === null || tr === void 0 || tr.call.apply(tr, [nt, yn].concat(Rn));
18843
- }), _ze(hn, xr, St, at, C, _, $e, xn);
18843
+ }), _ze(hn, xr, wt, at, C, _, $e, xn);
18844
18844
  var nn = Fn.has("hover"), _t = ar.has("hover"), dn, Et;
18845
18845
  nn && (ri("onMouseEnter", !0, y, function(yn) {
18846
18846
  Gt(yn);
@@ -18887,7 +18887,7 @@ function Ize() {
18887
18887
  popup: k,
18888
18888
  className: et(B, Pr),
18889
18889
  style: H,
18890
- target: St,
18890
+ target: wt,
18891
18891
  onMouseEnter: dn,
18892
18892
  onMouseLeave: Et,
18893
18893
  onPointerEnter: dn,
@@ -19100,7 +19100,7 @@ var Nze = ["id", "prefixCls", "className", "showSearch", "tagRender", "direction
19100
19100
  E.useEffect(function() {
19101
19101
  Le(aO());
19102
19102
  }, []);
19103
- var at = E.useRef(null), De = E.useRef(null), Ye = E.useRef(null), dt = E.useRef(null), ct = E.useRef(null), ut = E.useRef(!1), St = $$e(), st = yt(St, 3), Ue = st[0], ft = st[1], it = st[2];
19103
+ var at = E.useRef(null), De = E.useRef(null), Ye = E.useRef(null), dt = E.useRef(null), ct = E.useRef(null), ut = E.useRef(!1), wt = $$e(), st = yt(wt, 3), Ue = st[0], ft = st[1], it = st[2];
19104
19104
  E.useImperativeHandle(e, function() {
19105
19105
  var Br, ir;
19106
19106
  return {
@@ -19829,7 +19829,7 @@ function Yze(t, e) {
19829
19829
  var ut = E.useState({
19830
19830
  width: 0,
19831
19831
  height: a
19832
- }), St = yt(ut, 2), st = St[0], Ue = St[1], ft = function(zt) {
19832
+ }), wt = yt(ut, 2), st = wt[0], Ue = wt[1], ft = function(zt) {
19833
19833
  Ue({
19834
19834
  width: zt.offsetWidth,
19835
19835
  height: zt.offsetHeight
@@ -20167,7 +20167,7 @@ var Qze = function(e, n) {
20167
20167
  }
20168
20168
  var Se = be.disabled, Ze = be.title;
20169
20169
  be.children;
20170
- var ve = be.style, ue = be.className, Le = yi(be, Jze), at = Wb(Le, oe), De = V(_e), Ye = Se || !De && F, dt = "".concat(k, "-option"), ct = et(k, dt, ue, Oe(Oe(Oe(Oe({}, "".concat(dt, "-grouped"), Q), "".concat(dt, "-active"), Z === re && !Ye), "".concat(dt, "-disabled"), Ye), "".concat(dt, "-selected"), De)), ut = ie(he), St = !x || typeof x == "function" || De, st = typeof ut == "number" ? ut : ut || _e, Ue = gte(st) ? st.toString() : void 0;
20170
+ var ve = be.style, ue = be.className, Le = yi(be, Jze), at = Wb(Le, oe), De = V(_e), Ye = Se || !De && F, dt = "".concat(k, "-option"), ct = et(k, dt, ue, Oe(Oe(Oe(Oe({}, "".concat(dt, "-grouped"), Q), "".concat(dt, "-active"), Z === re && !Ye), "".concat(dt, "-disabled"), Ye), "".concat(dt, "-selected"), De)), ut = ie(he), wt = !x || typeof x == "function" || De, st = typeof ut == "number" ? ut : ut || _e, Ue = gte(st) ? st.toString() : void 0;
20171
20171
  return Ze !== void 0 && (Ue = Ze), /* @__PURE__ */ E.createElement("div", Bn({}, fh(at), _ ? {} : ee(he, re), {
20172
20172
  "aria-selected": q(_e),
20173
20173
  className: ct,
@@ -20183,7 +20183,7 @@ var Qze = function(e, n) {
20183
20183
  className: "".concat(dt, "-content")
20184
20184
  }, typeof N == "function" ? N(he, {
20185
20185
  index: re
20186
- }) : st), /* @__PURE__ */ E.isValidElement(x) || De, St && /* @__PURE__ */ E.createElement(oO, {
20186
+ }) : st), /* @__PURE__ */ E.isValidElement(x) || De, wt && /* @__PURE__ */ E.createElement(oO, {
20187
20187
  className: "".concat(k, "-option-state"),
20188
20188
  customizeIcon: x,
20189
20189
  customizeIconProps: {
@@ -20459,7 +20459,7 @@ var Mye = /* @__PURE__ */ E.forwardRef(function(t, e) {
20459
20459
  }) || ct.some(function(Vn) {
20460
20460
  return Vn[ie.value] === pe;
20461
20461
  }) ? ct : [Ye(pe)].concat(lr(ct));
20462
- }, [Ye, x, r, ct, pe, ie]), St = function Vn(xn) {
20462
+ }, [Ye, x, r, ct, pe, ie]), wt = function Vn(xn) {
20463
20463
  var Un = lr(xn).sort(function(pn, Qn) {
20464
20464
  return b(pn, Qn, {
20465
20465
  searchValue: pe
@@ -20471,7 +20471,7 @@ var Mye = /* @__PURE__ */ E.forwardRef(function(t, e) {
20471
20471
  }) : pn;
20472
20472
  });
20473
20473
  }, st = E.useMemo(function() {
20474
- return b ? St(ut) : ut;
20474
+ return b ? wt(ut) : ut;
20475
20475
  }, [ut, b, pe]), Ue = E.useMemo(function() {
20476
20476
  return Oze(st, {
20477
20477
  fieldNames: ie,
@@ -20604,7 +20604,7 @@ function x1(t, e, n) {
20604
20604
  });
20605
20605
  }
20606
20606
  const Y3 = (t, e) => e || t, Lye = () => {
20607
- const [, t] = nu(), [e] = df("Empty"), r = new wa(t.colorBgBase).toHsl().l < 0.5 ? {
20607
+ const [, t] = nu(), [e] = df("Empty"), r = new Ca(t.colorBgBase).toHsl().l < 0.5 ? {
20608
20608
  opacity: 0.65
20609
20609
  } : {};
20610
20610
  return /* @__PURE__ */ E.createElement("svg", {
@@ -20665,9 +20665,9 @@ const hHe = Lye, Oye = () => {
20665
20665
  shadowColor: s,
20666
20666
  contentColor: c
20667
20667
  } = Va(() => ({
20668
- borderColor: new wa(n).onBackground(a).toHexString(),
20669
- shadowColor: new wa(r).onBackground(a).toHexString(),
20670
- contentColor: new wa(i).onBackground(a).toHexString()
20668
+ borderColor: new Ca(n).onBackground(a).toHexString(),
20669
+ shadowColor: new Ca(r).onBackground(a).toHexString(),
20670
+ contentColor: new Ca(i).onBackground(a).toHexString()
20671
20671
  }), [n, r, i, a]);
20672
20672
  return /* @__PURE__ */ E.createElement("svg", {
20673
20673
  width: "64",
@@ -21922,7 +21922,7 @@ const LHe = (t) => {
21922
21922
  var $He = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 190h-69.9c-9.8 0-19.1 4.5-25.1 12.2L404.7 724.5 207 474a32 32 0 00-25.1-12.2H112c-6.7 0-10.4 7.7-6.3 12.9l273.9 347c12.8 16.2 37.4 16.2 50.3 0l488.4-618.9c4.1-5.1.4-12.8-6.3-12.8z" } }] }, name: "check", theme: "outlined" };
21923
21923
  const zHe = $He;
21924
21924
  var HHe = function(e, n) {
21925
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
21925
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
21926
21926
  ref: n,
21927
21927
  icon: zHe
21928
21928
  }));
@@ -21932,7 +21932,7 @@ const Bm = Bye;
21932
21932
  var GHe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M884 256h-75c-5.1 0-9.9 2.5-12.9 6.6L512 654.2 227.9 262.6c-3-4.1-7.8-6.6-12.9-6.6h-75c-6.5 0-10.3 7.4-6.5 12.7l352.6 486.1c12.8 17.6 39 17.6 51.7 0l352.6-486.1c3.9-5.3.1-12.7-6.4-12.7z" } }] }, name: "down", theme: "outlined" };
21933
21933
  const jHe = GHe;
21934
21934
  var WHe = function(e, n) {
21935
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
21935
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
21936
21936
  ref: n,
21937
21937
  icon: jHe
21938
21938
  }));
@@ -21942,7 +21942,7 @@ const L5 = Vye;
21942
21942
  var XHe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z" } }] }, name: "search", theme: "outlined" };
21943
21943
  const ZHe = XHe;
21944
21944
  var KHe = function(e, n) {
21945
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
21945
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
21946
21946
  ref: n,
21947
21947
  icon: ZHe
21948
21948
  }));
@@ -22081,12 +22081,12 @@ const Gye = "SECRET_COMBOBOX_MODE_DO_NOT_USE", jye = (t, e) => {
22081
22081
  clearIcon: Ye
22082
22082
  } : _, ct = nl(H, ["suffixIcon", "itemIcon"]), ut = et(c || u, {
22083
22083
  [`${q}-dropdown-${oe}`]: oe === "rtl"
22084
- }, o, Q, he, xe), St = ru((Ct) => {
22084
+ }, o, Q, he, xe), wt = ru((Ct) => {
22085
22085
  var $e;
22086
22086
  return ($e = p ?? ie) !== null && $e !== void 0 ? $e : Ct;
22087
22087
  }), st = E.useContext(ff), Ue = v ?? st, ft = et({
22088
- [`${q}-lg`]: St === "large",
22089
- [`${q}-sm`]: St === "small",
22088
+ [`${q}-lg`]: wt === "large",
22089
+ [`${q}-sm`]: wt === "small",
22090
22090
  [`${q}-rtl`]: oe === "rtl",
22091
22091
  [`${q}-${me}`]: pe,
22092
22092
  [`${q}-in-form-item`]: Se
@@ -23523,20 +23523,20 @@ const wGe = /* @__PURE__ */ E.forwardRef((t, e) => {
23523
23523
  popupElement: (ut = q.current) === null || ut === void 0 ? void 0 : ut.popupElement
23524
23524
  };
23525
23525
  }), process.env.NODE_ENV !== "production" && ([["visible", "open"], ["defaultVisible", "defaultOpen"], ["onVisibleChange", "onOpenChange"], ["afterVisibleChange", "afterOpenChange"], ["arrowPointAtCenter", "arrow={{ pointAtCenter: true }}"], ["overlayStyle", "styles={{ root: {} }}"], ["overlayInnerStyle", "styles={{ body: {} }}"], ["overlayClassName", 'classNames={{ root: "" }}']].forEach((ct) => {
23526
- let [ut, St] = ct;
23527
- se.deprecated(!(ut in t), ut, St);
23526
+ let [ut, wt] = ct;
23527
+ se.deprecated(!(ut in t), ut, wt);
23528
23528
  }), process.env.NODE_ENV !== "production" && se(!h || typeof h == "boolean", "usage", "`destroyTooltipOnHide` no need config `keepParent` anymore. Please use `boolean` value directly."), process.env.NODE_ENV !== "production" && se(!p || typeof p == "boolean" || !("arrowPointAtCenter" in p), "deprecated", "`arrowPointAtCenter` in `arrow` is deprecated. Please use `pointAtCenter` instead."));
23529
23529
  const [oe, ie] = af(!1, {
23530
23530
  value: (n = t.open) !== null && n !== void 0 ? n : t.visible,
23531
23531
  defaultValue: (r = t.defaultOpen) !== null && r !== void 0 ? r : t.defaultVisible
23532
23532
  }), ee = !v && !y && v !== 0, me = (ct) => {
23533
- var ut, St;
23534
- ie(ee ? !1 : ct), ee || ((ut = t.onOpenChange) === null || ut === void 0 || ut.call(t, ct), (St = t.onVisibleChange) === null || St === void 0 || St.call(t, ct));
23533
+ var ut, wt;
23534
+ ie(ee ? !1 : ct), ee || ((ut = t.onOpenChange) === null || ut === void 0 || ut.call(t, ct), (wt = t.onVisibleChange) === null || wt === void 0 || wt.call(t, ct));
23535
23535
  }, pe = E.useMemo(() => {
23536
23536
  var ct, ut;
23537
- let St = m;
23538
- return typeof p == "object" && (St = (ut = (ct = p.pointAtCenter) !== null && ct !== void 0 ? ct : p.arrowPointAtCenter) !== null && ut !== void 0 ? ut : m), g || cW({
23539
- arrowPointAtCenter: St,
23537
+ let wt = m;
23538
+ return typeof p == "object" && (wt = (ut = (ct = p.pointAtCenter) !== null && ct !== void 0 ? ct : p.arrowPointAtCenter) !== null && ut !== void 0 ? ut : m), g || cW({
23539
+ arrowPointAtCenter: wt,
23540
23540
  autoAdjustOverflow: b,
23541
23541
  arrowWidth: F ? G.sizePopupArrow : 0,
23542
23542
  borderRadius: G.borderRadius,
@@ -23871,7 +23871,7 @@ const U$ = dW;
23871
23871
  var OGe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M724 218.3V141c0-6.7-7.7-10.4-12.9-6.3L260.3 486.8a31.86 31.86 0 000 50.3l450.8 352.1c5.3 4.1 12.9.4 12.9-6.3v-77.3c0-4.9-2.3-9.6-6.1-12.6l-360-281 360-281.1c3.8-3 6.1-7.7 6.1-12.6z" } }] }, name: "left", theme: "outlined" };
23872
23872
  const PGe = OGe;
23873
23873
  var RGe = function(e, n) {
23874
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
23874
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
23875
23875
  ref: n,
23876
23876
  icon: PGe
23877
23877
  }));
@@ -25393,7 +25393,7 @@ var Tje = ["style", "className", "title", "eventKey", "warnKey", "disabled", "in
25393
25393
  }, /* @__PURE__ */ E.createElement("i", {
25394
25394
  className: "".concat(ne, "-arrow")
25395
25395
  }));
25396
- }, [M, pe, t, re, ne]), St = /* @__PURE__ */ E.createElement("div", Bn({
25396
+ }, [M, pe, t, re, ne]), wt = /* @__PURE__ */ E.createElement("div", Bn({
25397
25397
  role: "menuitem",
25398
25398
  style: Le,
25399
25399
  className: "".concat(ne, "-title"),
@@ -25410,7 +25410,7 @@ var Tje = ["style", "className", "title", "eventKey", "warnKey", "disabled", "in
25410
25410
  }, de), i, ut), st = E.useRef(M);
25411
25411
  if (M !== "inline" && q.length > 1 ? st.current = "vertical" : st.current = M, !B) {
25412
25412
  var Ue = st.current;
25413
- St = /* @__PURE__ */ E.createElement(Eje, {
25413
+ wt = /* @__PURE__ */ E.createElement(Eje, {
25414
25414
  mode: Ue,
25415
25415
  prefixCls: ne,
25416
25416
  visible: !c && re && M !== "inline",
@@ -25429,7 +25429,7 @@ var Tje = ["style", "className", "title", "eventKey", "warnKey", "disabled", "in
25429
25429
  ),
25430
25430
  disabled: oe,
25431
25431
  onVisibleChange: Ye
25432
- }, St);
25432
+ }, wt);
25433
25433
  }
25434
25434
  var ft = /* @__PURE__ */ E.createElement(cg.Item, Bn({
25435
25435
  ref: e,
@@ -25440,7 +25440,7 @@ var Tje = ["style", "className", "title", "eventKey", "warnKey", "disabled", "in
25440
25440
  className: et(ne, "".concat(ne, "-").concat(M), r, Oe(Oe(Oe(Oe({}, "".concat(ne, "-open"), re), "".concat(ne, "-active"), ue), "".concat(ne, "-selected"), xe), "".concat(ne, "-disabled"), oe)),
25441
25441
  onMouseEnter: Ze,
25442
25442
  onMouseLeave: ve
25443
- }), St, !B && /* @__PURE__ */ E.createElement(_je, {
25443
+ }), wt, !B && /* @__PURE__ */ E.createElement(_je, {
25444
25444
  id: ct,
25445
25445
  open: re,
25446
25446
  keyPath: q
@@ -25548,7 +25548,7 @@ function kte(t, e, n, r, i) {
25548
25548
  var Pje = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "items", "children", "direction", "id", "mode", "inlineCollapsed", "disabled", "disabledOverflow", "subMenuOpenDelay", "subMenuCloseDelay", "forceSubMenuRender", "defaultOpenKeys", "openKeys", "activeKey", "defaultActiveFirst", "selectable", "multiple", "defaultSelectedKeys", "selectedKeys", "onSelect", "onDeselect", "inlineIndent", "motion", "defaultMotions", "triggerSubMenuAction", "builtinPlacements", "itemIcon", "expandIcon", "overflowedIndicator", "overflowedIndicatorPopupClassName", "getPopupContainer", "onClick", "onOpenChange", "onKeyDown", "openAnimation", "openTransitionName", "_internalRenderMenuItem", "_internalRenderSubMenuItem", "_internalComponents"], oy = [], Rje = /* @__PURE__ */ E.forwardRef(function(t, e) {
25549
25549
  var n, r = t, i = r.prefixCls, a = i === void 0 ? "rc-menu" : i, o = r.rootClassName, s = r.style, c = r.className, u = r.tabIndex, d = u === void 0 ? 0 : u, f = r.items, h = r.children, p = r.direction, v = r.id, y = r.mode, g = y === void 0 ? "vertical" : y, m = r.inlineCollapsed, b = r.disabled, x = r.disabledOverflow, C = r.subMenuOpenDelay, w = C === void 0 ? 0.1 : C, _ = r.subMenuCloseDelay, A = _ === void 0 ? 0.1 : _, R = r.forceSubMenuRender, M = r.defaultOpenKeys, N = r.openKeys, k = r.activeKey, B = r.defaultActiveFirst, H = r.selectable, F = H === void 0 ? !0 : H, G = r.multiple, z = G === void 0 ? !1 : G, V = r.defaultSelectedKeys, j = r.selectedKeys, Y = r.onSelect, W = r.onDeselect, Z = r.inlineIndent, te = Z === void 0 ? 24 : Z, se = r.motion, q = r.defaultMotions, ne = r.triggerSubMenuAction, oe = ne === void 0 ? "hover" : ne, ie = r.builtinPlacements, ee = r.itemIcon, me = r.expandIcon, pe = r.overflowedIndicator, he = pe === void 0 ? "..." : pe, re = r.overflowedIndicatorPopupClassName, xe = r.getPopupContainer, Q = r.onClick, be = r.onOpenChange, de = r.onKeyDown, _e = r.openAnimation, ke = r.openTransitionName, He = r._internalRenderMenuItem, Ne = r._internalRenderSubMenuItem, Se = r._internalComponents, Ze = yi(r, Pje), ve = E.useMemo(function() {
25550
25550
  return [kte(h, f, oy, Se, a), kte(h, f, oy, {}, a)];
25551
- }, [h, f, Se]), ue = yt(ve, 2), Le = ue[0], at = ue[1], De = E.useState(!1), Ye = yt(De, 2), dt = Ye[0], ct = Ye[1], ut = E.useRef(), St = dje(v), st = p === "rtl";
25551
+ }, [h, f, Se]), ue = yt(ve, 2), Le = ue[0], at = ue[1], De = E.useState(!1), Ye = yt(De, 2), dt = Ye[0], ct = Ye[1], ut = E.useRef(), wt = dje(v), st = p === "rtl";
25552
25552
  process.env.NODE_ENV !== "production" && vi(!_e && !ke, "`openAnimation` and `openTransitionName` is removed. Please use `motion` or `defaultMotion` instead.");
25553
25553
  var Ue = dl(M, {
25554
25554
  value: N,
@@ -25601,7 +25601,7 @@ var Pje = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
25601
25601
  return {
25602
25602
  list: ut.current,
25603
25603
  focus: function(Ur) {
25604
- var zi, Zi = Yt(), Pi = $$(Zi, St), Ki = Pi.elements, ba = Pi.key2element, ja = Pi.element2key, ta = pW(ut.current, Ki), Ia = Pn ?? (ta[0] ? ja.get(ta[0]) : (zi = Le.find(function(nn) {
25604
+ var zi, Zi = Yt(), Pi = $$(Zi, wt), Ki = Pi.elements, ba = Pi.key2element, ja = Pi.element2key, ta = pW(ut.current, Ki), Ia = Pn ?? (ta[0] ? ja.get(ta[0]) : (zi = Le.find(function(nn) {
25605
25605
  return !nn.props.disabled;
25606
25606
  })) === null || zi === void 0 ? void 0 : zi.key), ni = ba.get(Ia);
25607
25607
  if (Ia && ni) {
@@ -25647,7 +25647,7 @@ var Pje = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
25647
25647
  }), xr = function(Ur, zi) {
25648
25648
  var Zi = zi ?? !it.includes(Ur);
25649
25649
  Zr(Ur, Zi);
25650
- }, Hr = oje(Or, Pn, st, St, ut, Yt, zt, Cr, xr, de);
25650
+ }, Hr = oje(Or, Pn, st, wt, ut, Yt, zt, Cr, xr, de);
25651
25651
  E.useEffect(function() {
25652
25652
  ct(!0);
25653
25653
  }, []);
@@ -25703,7 +25703,7 @@ var Pje = ["prefixCls", "rootClassName", "style", "className", "tabIndex", "item
25703
25703
  return /* @__PURE__ */ E.createElement(hW.Provider, {
25704
25704
  value: sr
25705
25705
  }, /* @__PURE__ */ E.createElement(l2e.Provider, {
25706
- value: St
25706
+ value: wt
25707
25707
  }, /* @__PURE__ */ E.createElement(S4, {
25708
25708
  prefixCls: a,
25709
25709
  rootClassName: o,
@@ -25746,7 +25746,7 @@ Q3.Divider = yW;
25746
25746
  var Nje = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M912 192H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zm0 284H328c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h584c4.4 0 8-3.6 8-8v-56c0-4.4-3.6-8-8-8zM104 228a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0zm0 284a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "bars", theme: "outlined" };
25747
25747
  const Dje = Nje;
25748
25748
  var kje = function(e, n) {
25749
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
25749
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
25750
25750
  ref: n,
25751
25751
  icon: Dje
25752
25752
  }));
@@ -26098,7 +26098,7 @@ const _2e = E2e;
26098
26098
  var Gje = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M176 511a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0zm280 0a56 56 0 10112 0 56 56 0 10-112 0z" } }] }, name: "ellipsis", theme: "outlined" };
26099
26099
  const jje = Gje;
26100
26100
  var Wje = function(e, n) {
26101
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
26101
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
26102
26102
  ref: n,
26103
26103
  icon: jje
26104
26104
  }));
@@ -27033,7 +27033,7 @@ const P7 = /* @__PURE__ */ E.createContext(null), M2e = /* @__PURE__ */ E.forwar
27033
27033
  fontSizeLG: R,
27034
27034
  colorTextLightSolid: M,
27035
27035
  colorErrorHover: N
27036
- } = t, k = (e = t.activeBarWidth) !== null && e !== void 0 ? e : 0, B = (n = t.activeBarBorderWidth) !== null && n !== void 0 ? n : p, H = (r = t.itemMarginInline) !== null && r !== void 0 ? r : t.marginXXS, F = new wa(M).setA(0.65).toRgbString();
27036
+ } = t, k = (e = t.activeBarWidth) !== null && e !== void 0 ? e : 0, B = (n = t.activeBarBorderWidth) !== null && n !== void 0 ? n : p, H = (r = t.itemMarginInline) !== null && r !== void 0 ? r : t.marginXXS, F = new Ca(M).setA(0.65).toRgbString();
27037
27037
  return {
27038
27038
  dropdownWidth: 160,
27039
27039
  zIndexPopup: t.zIndexPopupBase + 50,
@@ -27101,7 +27101,7 @@ const P7 = /* @__PURE__ */ E.createContext(null), M2e = /* @__PURE__ */ E.forwar
27101
27101
  collapsedIconSize: R,
27102
27102
  groupTitleFontSize: _,
27103
27103
  // Disabled
27104
- darkItemDisabledColor: new wa(M).setA(0.25).toRgbString(),
27104
+ darkItemDisabledColor: new Ca(M).setA(0.25).toRgbString(),
27105
27105
  // Dark
27106
27106
  darkItemColor: F,
27107
27107
  darkDangerItemColor: a,
@@ -29455,7 +29455,7 @@ const nS = (t) => {
29455
29455
  var zWe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z" } }, { tag: "path", attrs: { d: "M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z" } }] }, name: "plus", theme: "outlined" };
29456
29456
  const HWe = zWe;
29457
29457
  var GWe = function(e, n) {
29458
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
29458
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
29459
29459
  ref: n,
29460
29460
  icon: HWe
29461
29461
  }));
@@ -30040,7 +30040,7 @@ var lXe = function(e) {
30040
30040
  function ct(Ht) {
30041
30041
  return Ht < Ye ? Ye : Ht > dt ? dt : Ht;
30042
30042
  }
30043
- var ut = Je(null), St = mt(), st = yt(St, 2), Ue = st[0], ft = st[1];
30043
+ var ut = Je(null), wt = mt(), st = yt(wt, 2), Ue = st[0], ft = st[1];
30044
30044
  function it() {
30045
30045
  ft(Date.now());
30046
30046
  }
@@ -33515,7 +33515,7 @@ const NZe = bbe, xbe = /* @__PURE__ */ P.createContext({}), Cbe = /* @__PURE__ *
33515
33515
  var kZe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M890.5 755.3L537.9 269.2c-12.8-17.6-39-17.6-51.7 0L133.5 755.3A8 8 0 00140 768h75c5.1 0 9.9-2.5 12.9-6.6L512 369.8l284.1 391.6c3 4.1 7.8 6.6 12.9 6.6h75c6.5 0 10.3-7.4 6.5-12.7z" } }] }, name: "up", theme: "outlined" };
33516
33516
  const UZe = kZe;
33517
33517
  var FZe = function(e, n) {
33518
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
33518
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
33519
33519
  ref: n,
33520
33520
  icon: UZe
33521
33521
  }));
@@ -34247,7 +34247,7 @@ var eKe = ["prefixCls", "className", "style", "min", "max", "step", "defaultValu
34247
34247
  return In >= 0 && (Xt = kp(FM(wn, ".", In)), dt(Xt) || (Xt = kp(FM(wn, ".", In, !0)))), Xt.equals(ee) || (pe(Xt), M == null || M(Xt.isEmpty() ? null : hne(C, Xt)), d === void 0 && He(Xt, Vt)), Xt;
34248
34248
  }
34249
34249
  return ee;
34250
- }, ut = QZe(), St = function kt(Ot) {
34250
+ }, ut = QZe(), wt = function kt(Ot) {
34251
34251
  if (at(), xe.current = Ot, ke(Ot), !q.current) {
34252
34252
  var Vt = re(Ot), Xt = kp(Vt);
34253
34253
  Xt.isNaN() || ct(Xt, !0);
@@ -34259,9 +34259,9 @@ var eKe = ["prefixCls", "className", "style", "min", "max", "step", "defaultValu
34259
34259
  }, st = function() {
34260
34260
  q.current = !0;
34261
34261
  }, Ue = function() {
34262
- q.current = !1, St(j.current.value);
34262
+ q.current = !1, wt(j.current.value);
34263
34263
  }, ft = function(Ot) {
34264
- St(Ot.target.value);
34264
+ wt(Ot.target.value);
34265
34265
  }, it = function(Ot) {
34266
34266
  var Vt;
34267
34267
  if (!(Ot && Ze || !Ot && ve)) {
@@ -34394,7 +34394,7 @@ const rKe = (t) => {
34394
34394
  handleVisible: n,
34395
34395
  handleActiveBg: t.colorFillAlter,
34396
34396
  handleBg: t.colorBgContainer,
34397
- filledHandleBg: new wa(t.colorFillSecondary).onBackground(t.colorBgContainer).toHexString(),
34397
+ filledHandleBg: new Ca(t.colorFillSecondary).onBackground(t.colorBgContainer).toHexString(),
34398
34398
  handleHoverColor: t.colorPrimary,
34399
34399
  handleBorderColor: t.colorBorder,
34400
34400
  handleOpacity: n === !0 ? 1 : 0,
@@ -35770,7 +35770,7 @@ var kbe = /* @__PURE__ */ E.forwardRef(function(t, e) {
35770
35770
  return isFinite(x) ? x : 100;
35771
35771
  }, [x]), ut = E.useMemo(function() {
35772
35772
  return w !== null && w <= 0 ? 1 : w;
35773
- }, [w]), St = E.useMemo(function() {
35773
+ }, [w]), wt = E.useMemo(function() {
35774
35774
  return typeof V == "boolean" ? V ? ut : !1 : V >= 0 ? V : !1;
35775
35775
  }, [V, ut]), st = E.useMemo(function() {
35776
35776
  return Object.keys(ee || {}).map(function(Ht) {
@@ -35784,7 +35784,7 @@ var kbe = /* @__PURE__ */ E.forwardRef(function(t, e) {
35784
35784
  }).sort(function(Ht, Pt) {
35785
35785
  return Ht.value - Pt.value;
35786
35786
  });
35787
- }, [ee]), Ue = kKe(dt, ct, ut, st, G, St), ft = yt(Ue, 2), it = ft[0], nt = ft[1], Ct = dl(A, {
35787
+ }, [ee]), Ue = kKe(dt, ct, ut, st, G, wt), ft = yt(Ue, 2), it = ft[0], nt = ft[1], Ct = dl(A, {
35788
35788
  value: _
35789
35789
  }), $e = yt(Ct, 2), Lt = $e[0], At = $e[1], kt = E.useMemo(function() {
35790
35790
  var Ht = Lt == null ? [] : Array.isArray(Lt) ? Lt : [Lt], Pt = yt(Ht, 1), Jt = Pt[0], Gn = Jt === void 0 ? dt : Jt, Pn = Lt === null ? [] : [Gn];
@@ -36259,7 +36259,7 @@ const yne = Fbe, BKe = (t) => {
36259
36259
  })
36260
36260
  };
36261
36261
  }, zKe = (t) => {
36262
- const n = t.controlHeightLG / 4, r = t.controlHeightSM / 2, i = t.lineWidth + 1, a = t.lineWidth + 1 * 1.5, o = t.colorPrimary, s = new wa(o).setA(0.2).toRgbString();
36262
+ const n = t.controlHeightLG / 4, r = t.controlHeightSM / 2, i = t.lineWidth + 1, a = t.lineWidth + 1 * 1.5, o = t.colorPrimary, s = new Ca(o).setA(0.2).toRgbString();
36263
36263
  return {
36264
36264
  controlSize: n,
36265
36265
  railSize: 4,
@@ -36275,7 +36275,7 @@ const yne = Fbe, BKe = (t) => {
36275
36275
  handleColor: t.colorPrimaryBorder,
36276
36276
  handleActiveColor: o,
36277
36277
  handleActiveOutlineColor: s,
36278
- handleColorDisabled: new wa(t.colorTextDisabled).onBackground(t.colorBgContainer).toHexString(),
36278
+ handleColorDisabled: new Ca(t.colorTextDisabled).onBackground(t.colorBgContainer).toHexString(),
36279
36279
  dotBorderColor: t.colorBorderSecondary,
36280
36280
  dotActiveBorderColor: t.colorPrimaryBorder,
36281
36281
  trackBgDisabled: t.colorBgContainerDisabled
@@ -36374,27 +36374,27 @@ const Vbe = /* @__PURE__ */ P.forwardRef((t, e) => {
36374
36374
  const {
36375
36375
  index: at
36376
36376
  } = Le, De = ue.props;
36377
- function Ye(St, st, Ue) {
36377
+ function Ye(wt, st, Ue) {
36378
36378
  var ft, it, nt, Ct;
36379
- Ue && ((it = (ft = m)[St]) === null || it === void 0 || it.call(ft, st)), (Ct = (nt = De)[St]) === null || Ct === void 0 || Ct.call(nt, st);
36379
+ Ue && ((it = (ft = m)[wt]) === null || it === void 0 || it.call(ft, st)), (Ct = (nt = De)[wt]) === null || Ct === void 0 || Ct.call(nt, st);
36380
36380
  }
36381
36381
  const dt = Object.assign(Object.assign({}, De), {
36382
- onMouseEnter: (St) => {
36383
- V(!0), Ye("onMouseEnter", St);
36382
+ onMouseEnter: (wt) => {
36383
+ V(!0), Ye("onMouseEnter", wt);
36384
36384
  },
36385
- onMouseLeave: (St) => {
36386
- V(!1), Ye("onMouseLeave", St);
36385
+ onMouseLeave: (wt) => {
36386
+ V(!1), Ye("onMouseLeave", wt);
36387
36387
  },
36388
- onMouseDown: (St) => {
36389
- Y(!0), pe(!0), Ye("onMouseDown", St);
36388
+ onMouseDown: (wt) => {
36389
+ Y(!0), pe(!0), Ye("onMouseDown", wt);
36390
36390
  },
36391
- onFocus: (St) => {
36391
+ onFocus: (wt) => {
36392
36392
  var st;
36393
- Y(!0), (st = m.onFocus) === null || st === void 0 || st.call(m, St), Ye("onFocus", St, !0);
36393
+ Y(!0), (st = m.onFocus) === null || st === void 0 || st.call(m, wt), Ye("onFocus", wt, !0);
36394
36394
  },
36395
- onBlur: (St) => {
36395
+ onBlur: (wt) => {
36396
36396
  var st;
36397
- Y(!1), (st = m.onBlur) === null || st === void 0 || st.call(m, St), Ye("onBlur", St, !0);
36397
+ Y(!1), (st = m.onBlur) === null || st === void 0 || st.call(m, wt), Ye("onBlur", wt, !0);
36398
36398
  }
36399
36399
  }), ct = /* @__PURE__ */ P.cloneElement(ue, dt), ut = (!!oe || ie) && ee !== null;
36400
36400
  return ke ? ct : /* @__PURE__ */ P.createElement(yne, Object.assign({}, W, {
@@ -37558,7 +37558,7 @@ const _O = (t) => {
37558
37558
  return (nt = b ?? ve) !== null && nt !== void 0 ? nt : it;
37559
37559
  }), at = Kl(oe), [De, Ye, dt] = bYe(oe, at), ct = {
37560
37560
  [`${oe}-rtl`]: j
37561
- }, ut = et(x, dt, at, ct), St = et(x1(oe, Ze), {
37561
+ }, ut = et(x, dt, at, ct), wt = et(x1(oe, Ze), {
37562
37562
  [`${oe}-sm`]: Le === "small",
37563
37563
  [`${oe}-lg`]: Le === "large"
37564
37564
  }, ue, Y == null ? void 0 : Y.className, ut, m, Ye), st = et(oe, ut);
@@ -37614,7 +37614,7 @@ const _O = (t) => {
37614
37614
  }, Ue), c || /* @__PURE__ */ P.createElement(iYe, Object.assign({
37615
37615
  activeIndex: te ? _e : -1,
37616
37616
  open: te,
37617
- className: St,
37617
+ className: wt,
37618
37618
  style: ft,
37619
37619
  prefixCls: oe,
37620
37620
  disabled: Z,
@@ -38755,7 +38755,7 @@ const QYe = 24, eqe = (t) => {
38755
38755
  var nqe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M512 64C264.6 64 64 264.6 64 512s200.6 448 448 448 448-200.6 448-448S759.4 64 512 64zm0 820c-205.4 0-372-166.6-372-372s166.6-372 372-372 372 166.6 372 372-166.6 372-372 372z" } }, { tag: "path", attrs: { d: "M623.6 316.7C593.6 290.4 554 276 512 276s-81.6 14.5-111.6 40.7C369.2 344 352 380.7 352 420v7.6c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V420c0-44.1 43.1-80 96-80s96 35.9 96 80c0 31.1-22 59.6-56.1 72.7-21.2 8.1-39.2 22.3-52.1 40.9-13.1 19-19.9 41.8-19.9 64.9V620c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8v-22.7a48.3 48.3 0 0130.9-44.8c59-22.7 97.1-74.7 97.1-132.5.1-39.3-17.1-76-48.3-103.3zM472 732a40 40 0 1080 0 40 40 0 10-80 0z" } }] }, name: "question-circle", theme: "outlined" };
38756
38756
  const rqe = nqe;
38757
38757
  var iqe = function(e, n) {
38758
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
38758
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
38759
38759
  ref: n,
38760
38760
  icon: rqe
38761
38761
  }));
@@ -39219,7 +39219,7 @@ const kl = X0;
39219
39219
  var wqe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2C847.4 286.5 704.1 186 512 186c-192.2 0-335.4 100.5-430.2 300.3a60.3 60.3 0 000 51.5C176.6 737.5 319.9 838 512 838c192.2 0 335.4-100.5 430.2-300.3 7.7-16.2 7.7-35 0-51.5zM512 766c-161.3 0-279.4-81.8-362.7-254C232.6 339.8 350.7 258 512 258c161.3 0 279.4 81.8 362.7 254C791.5 684.2 673.4 766 512 766zm-4-430c-97.2 0-176 78.8-176 176s78.8 176 176 176 176-78.8 176-176-78.8-176-176-176zm0 288c-61.9 0-112-50.1-112-112s50.1-112 112-112 112 50.1 112 112-50.1 112-112 112z" } }] }, name: "eye", theme: "outlined" };
39220
39220
  const Sqe = wqe;
39221
39221
  var Eqe = function(e, n) {
39222
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39222
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39223
39223
  ref: n,
39224
39224
  icon: Sqe
39225
39225
  }));
@@ -39663,7 +39663,7 @@ var Rqe = ["fallback", "src", "imgRef"], Nqe = ["prefixCls", "src", "alt", "imag
39663
39663
  re({
39664
39664
  flipX: !pe.flipX
39665
39665
  }, "flipX");
39666
- }, St = function() {
39666
+ }, wt = function() {
39667
39667
  re({
39668
39668
  flipY: !pe.flipY
39669
39669
  }, "flipY");
@@ -39756,7 +39756,7 @@ var Rqe = ["fallback", "src", "imgRef"], Nqe = ["prefixCls", "src", "alt", "imag
39756
39756
  onRotateRight: dt,
39757
39757
  onRotateLeft: ct,
39758
39758
  onFlipX: ut,
39759
- onFlipY: St,
39759
+ onFlipY: wt,
39760
39760
  onClose: u,
39761
39761
  onReset: st,
39762
39762
  zIndex: W.zIndex !== void 0 ? W.zIndex + 1 : void 0,
@@ -39891,10 +39891,10 @@ var $qe = ["src", "alt", "onPreviewClose", "prefixCls", "previewPrefixCls", "pla
39891
39891
  src: oe
39892
39892
  });
39893
39893
  }, [oe, ue]), at = Vqe(Se, Le), De = function(dt) {
39894
- var ct = _qe(dt.target), ut = ct.left, St = ct.top;
39895
- Ne ? Ne.onPreview(at, oe, ut, St) : (He({
39894
+ var ct = _qe(dt.target), ut = ct.left, wt = ct.top;
39895
+ Ne ? Ne.onPreview(at, oe, ut, wt) : (He({
39896
39896
  x: ut,
39897
- y: St
39897
+ y: wt
39898
39898
  }), pe(!0)), m == null || m(dt);
39899
39899
  };
39900
39900
  return /* @__PURE__ */ E.createElement(E.Fragment, null, /* @__PURE__ */ E.createElement("div", Bn({}, _, {
@@ -39952,7 +39952,7 @@ process.env.NODE_ENV !== "production" && (TO.displayName = "Image");
39952
39952
  var Hqe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M672 418H144c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H188V494h440v326z" } }, { tag: "path", attrs: { d: "M819.3 328.5c-78.8-100.7-196-153.6-314.6-154.2l-.2-64c0-6.5-7.6-10.1-12.6-6.1l-128 101c-4 3.1-3.9 9.1 0 12.3L492 318.6c5.1 4 12.7.4 12.6-6.1v-63.9c12.9.1 25.9.9 38.8 2.5 42.1 5.2 82.1 18.2 119 38.7 38.1 21.2 71.2 49.7 98.4 84.3 27.1 34.7 46.7 73.7 58.1 115.8a325.95 325.95 0 016.5 140.9h74.9c14.8-103.6-11.3-213-81-302.3z" } }] }, name: "rotate-left", theme: "outlined" };
39953
39953
  const Gqe = Hqe;
39954
39954
  var jqe = function(e, n) {
39955
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39955
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39956
39956
  ref: n,
39957
39957
  icon: Gqe
39958
39958
  }));
@@ -39962,7 +39962,7 @@ const Wqe = cxe;
39962
39962
  var Xqe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "defs", attrs: {}, children: [{ tag: "style", attrs: {} }] }, { tag: "path", attrs: { d: "M480.5 251.2c13-1.6 25.9-2.4 38.8-2.5v63.9c0 6.5 7.5 10.1 12.6 6.1L660 217.6c4-3.2 4-9.2 0-12.3l-128-101c-5.1-4-12.6-.4-12.6 6.1l-.2 64c-118.6.5-235.8 53.4-314.6 154.2A399.75 399.75 0 00123.5 631h74.9c-.9-5.3-1.7-10.7-2.4-16.1-5.1-42.1-2.1-84.1 8.9-124.8 11.4-42.2 31-81.1 58.1-115.8 27.2-34.7 60.3-63.2 98.4-84.3 37-20.6 76.9-33.6 119.1-38.8z" } }, { tag: "path", attrs: { d: "M880 418H352c-17.7 0-32 14.3-32 32v414c0 17.7 14.3 32 32 32h528c17.7 0 32-14.3 32-32V450c0-17.7-14.3-32-32-32zm-44 402H396V494h440v326z" } }] }, name: "rotate-right", theme: "outlined" };
39963
39963
  const Zqe = Xqe;
39964
39964
  var Kqe = function(e, n) {
39965
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39965
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39966
39966
  ref: n,
39967
39967
  icon: Zqe
39968
39968
  }));
@@ -39972,7 +39972,7 @@ const Yqe = uxe;
39972
39972
  var qqe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M847.9 592H152c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h605.2L612.9 851c-4.1 5.2-.4 13 6.3 13h72.5c4.9 0 9.5-2.2 12.6-6.1l168.8-214.1c16.5-21 1.6-51.8-25.2-51.8zM872 356H266.8l144.3-183c4.1-5.2.4-13-6.3-13h-72.5c-4.9 0-9.5 2.2-12.6 6.1L150.9 380.2c-16.5 21-1.6 51.8 25.1 51.8h696c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z" } }] }, name: "swap", theme: "outlined" };
39973
39973
  const Jqe = qqe;
39974
39974
  var Qqe = function(e, n) {
39975
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39975
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39976
39976
  ref: n,
39977
39977
  icon: Jqe
39978
39978
  }));
@@ -39982,7 +39982,7 @@ const Nne = dxe;
39982
39982
  var eJe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M637 443H519V309c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v134H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h118v134c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V519h118c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" } }] }, name: "zoom-in", theme: "outlined" };
39983
39983
  const tJe = eJe;
39984
39984
  var nJe = function(e, n) {
39985
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39985
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39986
39986
  ref: n,
39987
39987
  icon: tJe
39988
39988
  }));
@@ -39992,7 +39992,7 @@ const rJe = fxe;
39992
39992
  var iJe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M637 443H325c-4.4 0-8 3.6-8 8v60c0 4.4 3.6 8 8 8h312c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8zm284 424L775 721c122.1-148.9 113.6-369.5-26-509-148-148.1-388.4-148.1-537 0-148.1 148.6-148.1 389 0 537 139.5 139.6 360.1 148.1 509 26l146 146c3.2 2.8 8.3 2.8 11 0l43-43c2.8-2.7 2.8-7.8 0-11zM696 696c-118.8 118.7-311.2 118.7-430 0-118.7-118.8-118.7-311.2 0-430 118.8-118.7 311.2-118.7 430 0 118.7 118.8 118.7 311.2 0 430z" } }] }, name: "zoom-out", theme: "outlined" };
39993
39993
  const aJe = iJe;
39994
39994
  var oJe = function(e, n) {
39995
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
39995
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
39996
39996
  ref: n,
39997
39997
  icon: aJe
39998
39998
  }));
@@ -40017,7 +40017,7 @@ const sJe = hxe, Y$ = (t) => ({
40017
40017
  alignItems: "center",
40018
40018
  justifyContent: "center",
40019
40019
  color: o,
40020
- background: new wa("#000").setA(0.5).toRgbString(),
40020
+ background: new Ca("#000").setA(0.5).toRgbString(),
40021
40021
  cursor: "pointer",
40022
40022
  opacity: 0,
40023
40023
  transition: `opacity ${n}`,
@@ -40044,7 +40044,7 @@ const sJe = hxe, Y$ = (t) => ({
40044
40044
  motionDurationSlow: u,
40045
40045
  iconCls: d,
40046
40046
  colorTextLightSolid: f
40047
- } = t, h = new wa(n).setA(0.1), p = h.clone().setA(0.2);
40047
+ } = t, h = new Ca(n).setA(0.1), p = h.clone().setA(0.2);
40048
40048
  return {
40049
40049
  [`${e}-footer`]: {
40050
40050
  position: "fixed",
@@ -40121,7 +40121,7 @@ const sJe = hxe, Y$ = (t) => ({
40121
40121
  previewCls: i,
40122
40122
  zIndexPopup: a,
40123
40123
  motionDurationSlow: o
40124
- } = t, s = new wa(e).setA(0.1), c = s.clone().setA(0.2);
40124
+ } = t, s = new Ca(e).setA(0.1), c = s.clone().setA(0.2);
40125
40125
  return {
40126
40126
  [`${i}-switch-left, ${i}-switch-right`]: {
40127
40127
  position: "fixed",
@@ -40275,15 +40275,15 @@ const sJe = hxe, Y$ = (t) => ({
40275
40275
  };
40276
40276
  }, pJe = (t) => ({
40277
40277
  zIndexPopup: t.zIndexPopupBase + 80,
40278
- previewOperationColor: new wa(t.colorTextLightSolid).setA(0.65).toRgbString(),
40279
- previewOperationHoverColor: new wa(t.colorTextLightSolid).setA(0.85).toRgbString(),
40280
- previewOperationColorDisabled: new wa(t.colorTextLightSolid).setA(0.25).toRgbString(),
40278
+ previewOperationColor: new Ca(t.colorTextLightSolid).setA(0.65).toRgbString(),
40279
+ previewOperationHoverColor: new Ca(t.colorTextLightSolid).setA(0.85).toRgbString(),
40280
+ previewOperationColorDisabled: new Ca(t.colorTextLightSolid).setA(0.25).toRgbString(),
40281
40281
  previewOperationSize: t.fontSizeIcon * 1.5
40282
40282
  // FIXME: fontSizeIconLG
40283
40283
  }), pxe = Ya("Image", (t) => {
40284
40284
  const e = `${t.componentCls}-preview`, n = oa(t, {
40285
40285
  previewCls: e,
40286
- modalMaskBg: new wa("#000").setA(0.45).toRgbString(),
40286
+ modalMaskBg: new Ca("#000").setA(0.45).toRgbString(),
40287
40287
  // FIXME: Shared Token
40288
40288
  imagePreviewSwitchSize: t.controlHeightLG
40289
40289
  });
@@ -40671,7 +40671,7 @@ const TJe = (t) => {
40671
40671
  var MJe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M942.2 486.2Q889.47 375.11 816.7 305l-50.88 50.88C807.31 395.53 843.45 447.4 874.7 512 791.5 684.2 673.4 766 512 766q-72.67 0-133.87-22.38L323 798.75Q408 838 512 838q288.3 0 430.2-300.3a60.29 60.29 0 000-51.5zm-63.57-320.64L836 122.88a8 8 0 00-11.32 0L715.31 232.2Q624.86 186 512 186q-288.3 0-430.2 300.3a60.3 60.3 0 000 51.5q56.69 119.4 136.5 191.41L112.48 835a8 8 0 000 11.31L155.17 889a8 8 0 0011.31 0l712.15-712.12a8 8 0 000-11.32zM149.3 512C232.6 339.8 350.7 258 512 258c54.54 0 104.13 9.36 149.12 28.39l-70.3 70.3a176 176 0 00-238.13 238.13l-83.42 83.42C223.1 637.49 183.3 582.28 149.3 512zm246.7 0a112.11 112.11 0 01146.2-106.69L401.31 546.2A112 112 0 01396 512z" } }, { tag: "path", attrs: { d: "M508 624c-3.46 0-6.87-.16-10.25-.47l-52.82 52.82a176.09 176.09 0 00227.42-227.42l-52.82 52.82c.31 3.38.47 6.79.47 10.25a111.94 111.94 0 01-112 112z" } }] }, name: "eye-invisible", theme: "outlined" };
40672
40672
  const LJe = MJe;
40673
40673
  var OJe = function(e, n) {
40674
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
40674
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
40675
40675
  ref: n,
40676
40676
  icon: LJe
40677
40677
  }));
@@ -41008,7 +41008,7 @@ var zJe = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classN
41008
41008
  var ut = function(Ue) {
41009
41009
  var ft;
41010
41010
  A == null || A(Ue), (ft = pe()) !== null && ft !== void 0 && ft.style.height && ie(!0);
41011
- }, St = !k && !y && !c;
41011
+ }, wt = !k && !y && !c;
41012
41012
  return /* @__PURE__ */ P.createElement(MW, {
41013
41013
  ref: ee,
41014
41014
  value: j,
@@ -41022,7 +41022,7 @@ var zJe = ["prefixCls", "defaultValue", "value", "autoSize", "onResize", "classN
41022
41022
  disabled: x,
41023
41023
  focused: Z,
41024
41024
  className: et(m, Ne && "".concat(v, "-out-of-range")),
41025
- style: Ke(Ke({}, b), oe && !St ? {
41025
+ style: Ke(Ke({}, b), oe && !wt ? {
41026
41026
  height: "auto"
41027
41027
  } : {}),
41028
41028
  dataAttrs: {
@@ -41394,7 +41394,7 @@ const AO = aS, rQe = function() {
41394
41394
  var iQe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M272.9 512l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L186.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H532c6.7 0 10.4-7.7 6.3-12.9L272.9 512zm304 0l265.4-339.1c4.1-5.2.4-12.9-6.3-12.9h-77.3c-4.9 0-9.6 2.3-12.6 6.1L490.8 492.3a31.99 31.99 0 000 39.5l255.3 326.1c3 3.9 7.7 6.1 12.6 6.1H836c6.7 0 10.4-7.7 6.3-12.9L576.9 512z" } }] }, name: "double-left", theme: "outlined" };
41395
41395
  const aQe = iQe;
41396
41396
  var oQe = function(e, n) {
41397
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
41397
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
41398
41398
  ref: n,
41399
41399
  icon: aQe
41400
41400
  }));
@@ -41404,7 +41404,7 @@ const q$ = Cxe;
41404
41404
  var sQe = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M533.2 492.3L277.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H188c-6.7 0-10.4 7.7-6.3 12.9L447.1 512 181.7 851.1A7.98 7.98 0 00188 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5zm304 0L581.9 166.1c-3-3.9-7.7-6.1-12.6-6.1H492c-6.7 0-10.4 7.7-6.3 12.9L751.1 512 485.7 851.1A7.98 7.98 0 00492 864h77.3c4.9 0 9.6-2.3 12.6-6.1l255.3-326.1c9.1-11.7 9.1-27.9 0-39.5z" } }] }, name: "double-right", theme: "outlined" };
41405
41405
  const lQe = sQe;
41406
41406
  var cQe = function(e, n) {
41407
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
41407
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
41408
41408
  ref: n,
41409
41409
  icon: lQe
41410
41410
  }));
@@ -41565,7 +41565,7 @@ var Exe = function(e) {
41565
41565
  break;
41566
41566
  }
41567
41567
  }
41568
- function St(on) {
41568
+ function wt(on) {
41569
41569
  Ue(De(on));
41570
41570
  }
41571
41571
  function st(on) {
@@ -41663,7 +41663,7 @@ var Exe = function(e) {
41663
41663
  onKeyDown: ct,
41664
41664
  onKeyUp: ut,
41665
41665
  onChange: ut,
41666
- onBlur: St,
41666
+ onBlur: wt,
41667
41667
  size: 3
41668
41668
  }), /* @__PURE__ */ P.createElement("span", {
41669
41669
  className: "".concat(r, "-slash")
@@ -44447,7 +44447,7 @@ const Net = ["normal", "exception", "active", "success"], Vxe = /* @__PURE__ */
44447
44447
  } = v, b = Array.isArray(o) ? o[0] : o, x = typeof o == "string" || Array.isArray(o) ? o : void 0, C = E.useMemo(() => {
44448
44448
  if (b) {
44449
44449
  const Y = typeof b == "string" ? b : Object.values(b)[0];
44450
- return new wa(Y).isLight();
44450
+ return new Ca(Y).isLight();
44451
44451
  }
44452
44452
  return !1;
44453
44453
  }, [o]), w = E.useMemo(() => {
@@ -44521,7 +44521,7 @@ const Det = Vxe;
44521
44521
  var ket = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, name: "caret-down", theme: "filled" };
44522
44522
  const Uet = ket;
44523
44523
  var Fet = function(e, n) {
44524
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44524
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44525
44525
  ref: n,
44526
44526
  icon: Uet
44527
44527
  }));
@@ -44531,7 +44531,7 @@ const Bet = $xe;
44531
44531
  var Vet = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M840.4 300H183.6c-19.7 0-30.7 20.8-18.5 35l328.4 380.8c9.4 10.9 27.5 10.9 37 0L858.9 335c12.2-14.2 1.2-35-18.5-35z" } }] }, name: "caret-down", theme: "outlined" };
44532
44532
  const $et = Vet;
44533
44533
  var zet = function(e, n) {
44534
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44534
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44535
44535
  ref: n,
44536
44536
  icon: $et
44537
44537
  }));
@@ -44541,7 +44541,7 @@ const Het = zxe;
44541
44541
  var Get = { icon: { tag: "svg", attrs: { viewBox: "0 0 1024 1024", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M858.9 689L530.5 308.2c-9.4-10.9-27.5-10.9-37 0L165.1 689c-12.2 14.2-1.2 35 18.5 35h656.8c19.7 0 30.7-20.8 18.5-35z" } }] }, name: "caret-up", theme: "outlined" };
44542
44542
  const jet = Get;
44543
44543
  var Wet = function(e, n) {
44544
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44544
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44545
44545
  ref: n,
44546
44546
  icon: jet
44547
44547
  }));
@@ -44551,7 +44551,7 @@ const Xet = Hxe;
44551
44551
  var Zet = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M811.4 368.9C765.6 248 648.9 162 512.2 162S258.8 247.9 213 368.8C126.9 391.5 63.5 470.2 64 563.6 64.6 668 145.6 752.9 247.6 762c4.7.4 8.7-3.3 8.7-8v-60.4c0-4-3-7.4-7-7.9-27-3.4-52.5-15.2-72.1-34.5-24-23.5-37.2-55.1-37.2-88.6 0-28 9.1-54.4 26.2-76.4 16.7-21.4 40.2-36.9 66.1-43.7l37.9-10 13.9-36.7c8.6-22.8 20.6-44.2 35.7-63.5 14.9-19.2 32.6-36 52.4-50 41.1-28.9 89.5-44.2 140-44.2s98.9 15.3 140 44.3c19.9 14 37.5 30.8 52.4 50 15.1 19.3 27.1 40.7 35.7 63.5l13.8 36.6 37.8 10c54.2 14.4 92.1 63.7 92.1 120 0 33.6-13.2 65.1-37.2 88.6-19.5 19.2-44.9 31.1-71.9 34.5-4 .5-6.9 3.9-6.9 7.9V754c0 4.7 4.1 8.4 8.8 8 101.7-9.2 182.5-94 183.2-198.2.6-93.4-62.7-172.1-148.6-194.9z" } }, { tag: "path", attrs: { d: "M376.9 656.4c1.8-33.5 15.7-64.7 39.5-88.6 25.4-25.5 60-39.8 96-39.8 36.2 0 70.3 14.1 96 39.8 1.4 1.4 2.7 2.8 4.1 4.3l-25 19.6a8 8 0 003 14.1l98.2 24c5 1.2 9.9-2.6 9.9-7.7l.5-101.3c0-6.7-7.6-10.5-12.9-6.3L663 532.7c-36.6-42-90.4-68.6-150.5-68.6-107.4 0-195 85.1-199.4 191.7-.2 4.5 3.4 8.3 8 8.3H369c4.2-.1 7.7-3.4 7.9-7.7zM703 664h-47.9c-4.2 0-7.7 3.3-8 7.6-1.8 33.5-15.7 64.7-39.5 88.6-25.4 25.5-60 39.8-96 39.8-36.2 0-70.3-14.1-96-39.8-1.4-1.4-2.7-2.8-4.1-4.3l25-19.6a8 8 0 00-3-14.1l-98.2-24c-5-1.2-9.9 2.6-9.9 7.7l-.4 101.4c0 6.7 7.6 10.5 12.9 6.3l23.2-18.2c36.6 42 90.4 68.6 150.5 68.6 107.4 0 195-85.1 199.4-191.7.2-4.5-3.4-8.3-8-8.3z" } }] }, name: "cloud-sync", theme: "outlined" };
44552
44552
  const Ket = Zet;
44553
44553
  var Yet = function(e, n) {
44554
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44554
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44555
44555
  ref: n,
44556
44556
  icon: Ket
44557
44557
  }));
@@ -44561,7 +44561,7 @@ const qet = Gxe;
44561
44561
  var Jet = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M832 64H296c-4.4 0-8 3.6-8 8v56c0 4.4 3.6 8 8 8h496v688c0 4.4 3.6 8 8 8h56c4.4 0 8-3.6 8-8V96c0-17.7-14.3-32-32-32zM704 192H192c-17.7 0-32 14.3-32 32v530.7c0 8.5 3.4 16.6 9.4 22.6l173.3 173.3c2.2 2.2 4.7 4 7.4 5.5v1.9h4.2c3.5 1.3 7.2 2 11 2H704c17.7 0 32-14.3 32-32V224c0-17.7-14.3-32-32-32zM350 856.2L263.9 770H350v86.2zM664 888H414V746c0-22.1-17.9-40-40-40H232V264h432v624z" } }] }, name: "copy", theme: "outlined" };
44562
44562
  const Qet = Jet;
44563
44563
  var ett = function(e, n) {
44564
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44564
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44565
44565
  ref: n,
44566
44566
  icon: Qet
44567
44567
  }));
@@ -44571,7 +44571,7 @@ const ttt = jxe;
44571
44571
  var ntt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z" } }] }, name: "delete", theme: "outlined" };
44572
44572
  const rtt = ntt;
44573
44573
  var itt = function(e, n) {
44574
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44574
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44575
44575
  ref: n,
44576
44576
  icon: rtt
44577
44577
  }));
@@ -44581,7 +44581,7 @@ const att = Wxe;
44581
44581
  var ott = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "download", theme: "outlined" };
44582
44582
  const stt = ott;
44583
44583
  var ltt = function(e, n) {
44584
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44584
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44585
44585
  ref: n,
44586
44586
  icon: stt
44587
44587
  }));
@@ -44591,7 +44591,7 @@ const J$ = Xxe;
44591
44591
  var ctt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" };
44592
44592
  const utt = ctt;
44593
44593
  var dtt = function(e, n) {
44594
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44594
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44595
44595
  ref: n,
44596
44596
  icon: utt
44597
44597
  }));
@@ -44601,7 +44601,7 @@ const ftt = Zxe;
44601
44601
  var htt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M864 170h-60c-4.4 0-8 3.6-8 8v518H310v-73c0-6.7-7.8-10.5-13-6.3l-141.9 112a8 8 0 000 12.6l141.9 112c5.3 4.2 13 .4 13-6.3v-75h498c35.3 0 64-28.7 64-64V178c0-4.4-3.6-8-8-8z" } }] }, name: "enter", theme: "outlined" };
44602
44602
  const ptt = htt;
44603
44603
  var vtt = function(e, n) {
44604
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44604
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44605
44605
  ref: n,
44606
44606
  icon: ptt
44607
44607
  }));
@@ -44611,7 +44611,7 @@ const gtt = Kxe;
44611
44611
  var mtt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, name: "file", theme: "outlined" };
44612
44612
  const ytt = mtt;
44613
44613
  var btt = function(e, n) {
44614
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44614
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44615
44615
  ref: n,
44616
44616
  icon: ytt
44617
44617
  }));
@@ -44623,7 +44623,7 @@ var xtt = { icon: function(e, n) {
44623
44623
  }, name: "file", theme: "twotone" };
44624
44624
  const Ctt = xtt;
44625
44625
  var wtt = function(e, n) {
44626
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44626
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44627
44627
  ref: n,
44628
44628
  icon: Ctt
44629
44629
  }));
@@ -44633,7 +44633,7 @@ const Stt = Jxe;
44633
44633
  var Ett = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M349 838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V642H349v196zm531.1-684H143.9c-24.5 0-39.8 26.7-27.5 48l221.3 376h348.8l221.3-376c12.1-21.3-3.2-48-27.7-48z" } }] }, name: "filter", theme: "filled" };
44634
44634
  const _tt = Ett;
44635
44635
  var Ttt = function(e, n) {
44636
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44636
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44637
44637
  ref: n,
44638
44638
  icon: _tt
44639
44639
  }));
@@ -44643,7 +44643,7 @@ const Itt = Qxe;
44643
44643
  var Att = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M928 444H820V330.4c0-17.7-14.3-32-32-32H473L355.7 186.2a8.15 8.15 0 00-5.5-2.2H96c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h698c13 0 24.8-7.9 29.7-20l134-332c1.5-3.8 2.3-7.9 2.3-12 0-17.7-14.3-32-32-32zM136 256h188.5l119.6 114.4H748V444H238c-13 0-24.8 7.9-29.7 20L136 643.2V256zm635.3 512H159l103.3-256h612.4L771.3 768z" } }] }, name: "folder-open", theme: "outlined" };
44644
44644
  const Mtt = Att;
44645
44645
  var Ltt = function(e, n) {
44646
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44646
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44647
44647
  ref: n,
44648
44648
  icon: Mtt
44649
44649
  }));
@@ -44653,7 +44653,7 @@ const Ott = eCe;
44653
44653
  var Ptt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M880 298.4H521L403.7 186.2a8.15 8.15 0 00-5.5-2.2H144c-17.7 0-32 14.3-32 32v592c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V330.4c0-17.7-14.3-32-32-32zM840 768H184V256h188.5l119.6 114.4H840V768z" } }] }, name: "folder", theme: "outlined" };
44654
44654
  const Rtt = Ptt;
44655
44655
  var Ntt = function(e, n) {
44656
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44656
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44657
44657
  ref: n,
44658
44658
  icon: Rtt
44659
44659
  }));
@@ -44663,7 +44663,7 @@ const Dtt = tCe;
44663
44663
  var ktt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M300 276.5a56 56 0 1056-97 56 56 0 00-56 97zm0 284a56 56 0 1056-97 56 56 0 00-56 97zM640 228a56 56 0 10112 0 56 56 0 00-112 0zm0 284a56 56 0 10112 0 56 56 0 00-112 0zM300 844.5a56 56 0 1056-97 56 56 0 00-56 97zM640 796a56 56 0 10112 0 56 56 0 00-112 0z" } }] }, name: "holder", theme: "outlined" };
44664
44664
  const Utt = ktt;
44665
44665
  var Ftt = function(e, n) {
44666
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44666
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44667
44667
  ref: n,
44668
44668
  icon: Utt
44669
44669
  }));
@@ -44673,7 +44673,7 @@ const Btt = nCe;
44673
44673
  var Vtt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M328 544h368c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { tag: "path", attrs: { d: "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, name: "minus-square", theme: "outlined" };
44674
44674
  const $tt = Vtt;
44675
44675
  var ztt = function(e, n) {
44676
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44676
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44677
44677
  ref: n,
44678
44678
  icon: $tt
44679
44679
  }));
@@ -44683,7 +44683,7 @@ const Htt = rCe;
44683
44683
  var Gtt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M779.3 196.6c-94.2-94.2-247.6-94.2-341.7 0l-261 260.8c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l261-260.8c32.4-32.4 75.5-50.2 121.3-50.2s88.9 17.8 121.2 50.2c32.4 32.4 50.2 75.5 50.2 121.2 0 45.8-17.8 88.8-50.2 121.2l-266 265.9-43.1 43.1c-40.3 40.3-105.8 40.3-146.1 0-19.5-19.5-30.2-45.4-30.2-73s10.7-53.5 30.2-73l263.9-263.8c6.7-6.6 15.5-10.3 24.9-10.3h.1c9.4 0 18.1 3.7 24.7 10.3 6.7 6.7 10.3 15.5 10.3 24.9 0 9.3-3.7 18.1-10.3 24.7L372.4 653c-1.7 1.7-2.6 4-2.6 6.4s.9 4.7 2.6 6.4l36.9 36.9a9 9 0 0012.7 0l215.6-215.6c19.9-19.9 30.8-46.3 30.8-74.4s-11-54.6-30.8-74.4c-41.1-41.1-107.9-41-149 0L463 364 224.8 602.1A172.22 172.22 0 00174 724.8c0 46.3 18.1 89.8 50.8 122.5 33.9 33.8 78.3 50.7 122.7 50.7 44.4 0 88.8-16.9 122.6-50.7l309.2-309C824.8 492.7 850 432 850 367.5c.1-64.6-25.1-125.3-70.7-170.9z" } }] }, name: "paper-clip", theme: "outlined" };
44684
44684
  const jtt = Gtt;
44685
44685
  var Wtt = function(e, n) {
44686
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44686
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44687
44687
  ref: n,
44688
44688
  icon: jtt
44689
44689
  }));
@@ -44695,7 +44695,7 @@ var Ztt = { icon: function(e, n) {
44695
44695
  }, name: "picture", theme: "twotone" };
44696
44696
  const Ktt = Ztt;
44697
44697
  var Ytt = function(e, n) {
44698
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44698
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44699
44699
  ref: n,
44700
44700
  icon: Ktt
44701
44701
  }));
@@ -44705,7 +44705,7 @@ const qtt = aCe;
44705
44705
  var Jtt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M328 544h152v152c0 4.4 3.6 8 8 8h48c4.4 0 8-3.6 8-8V544h152c4.4 0 8-3.6 8-8v-48c0-4.4-3.6-8-8-8H544V328c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v152H328c-4.4 0-8 3.6-8 8v48c0 4.4 3.6 8 8 8z" } }, { tag: "path", attrs: { d: "M880 112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V144c0-17.7-14.3-32-32-32zm-40 728H184V184h656v656z" } }] }, name: "plus-square", theme: "outlined" };
44706
44706
  const Qtt = Jtt;
44707
44707
  var ent = function(e, n) {
44708
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44708
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44709
44709
  ref: n,
44710
44710
  icon: Qtt
44711
44711
  }));
@@ -44715,7 +44715,7 @@ const tnt = oCe;
44715
44715
  var nnt = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M758.2 839.1C851.8 765.9 912 651.9 912 523.9 912 303 733.5 124.3 512.6 124 291.4 123.7 112 302.8 112 523.9c0 125.2 57.5 236.9 147.6 310.2 3.5 2.8 8.6 2.2 11.4-1.3l39.4-50.5c2.7-3.4 2.1-8.3-1.2-11.1-8.1-6.6-15.9-13.7-23.4-21.2a318.64 318.64 0 01-68.6-101.7C200.4 609 192 567.1 192 523.9s8.4-85.1 25.1-124.5c16.1-38.1 39.2-72.3 68.6-101.7 29.4-29.4 63.6-52.5 101.7-68.6C426.9 212.4 468.8 204 512 204s85.1 8.4 124.5 25.1c38.1 16.1 72.3 39.2 101.7 68.6 29.4 29.4 52.5 63.6 68.6 101.7 16.7 39.4 25.1 81.3 25.1 124.5s-8.4 85.1-25.1 124.5a318.64 318.64 0 01-68.6 101.7c-9.3 9.3-19.1 18-29.3 26L668.2 724a8 8 0 00-14.1 3l-39.6 162.2c-1.2 5 2.6 9.9 7.7 9.9l167 .8c6.7 0 10.5-7.7 6.3-12.9l-37.3-47.9z" } }] }, name: "redo", theme: "outlined" };
44716
44716
  const rnt = nnt;
44717
44717
  var int = function(e, n) {
44718
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44718
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44719
44719
  ref: n,
44720
44720
  icon: rnt
44721
44721
  }));
@@ -44725,7 +44725,7 @@ const ant = sCe;
44725
44725
  var ont = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "upload", theme: "outlined" };
44726
44726
  const snt = ont;
44727
44727
  var lnt = function(e, n) {
44728
- return /* @__PURE__ */ E.createElement(Fa, Sa({}, e, {
44728
+ return /* @__PURE__ */ E.createElement(Fa, wa({}, e, {
44729
44729
  ref: n,
44730
44730
  icon: snt
44731
44731
  }));
@@ -45035,7 +45035,7 @@ const dnt = (t) => {
45035
45035
  handleBg: i,
45036
45036
  handleSize: c,
45037
45037
  handleSizeSM: u,
45038
- handleShadow: `0 2px 4px 0 ${new wa("#00230b").setA(0.2).toRgbString()}`,
45038
+ handleShadow: `0 2px 4px 0 ${new Ca("#00230b").setA(0.2).toRgbString()}`,
45039
45039
  innerMinMargin: c / 2,
45040
45040
  innerMaxMargin: c + s + s * 2,
45041
45041
  innerMinMarginSM: u / 2,
@@ -46839,7 +46839,7 @@ function Brt(t, e) {
46839
46839
  }
46840
46840
  };
46841
46841
  });
46842
- var ut = E.useRef(), St = E.useState(!1), st = yt(St, 2), Ue = st[0], ft = st[1], it = E.useState(!1), nt = yt(it, 2), Ct = nt[0], $e = nt[1], Lt = DCe(/* @__PURE__ */ new Map()), At = yt(Lt, 2), kt = At[0], Ot = At[1], Vt = PO(Ze), Xt = Vt.map(function(ni) {
46842
+ var ut = E.useRef(), wt = E.useState(!1), st = yt(wt, 2), Ue = st[0], ft = st[1], it = E.useState(!1), nt = yt(it, 2), Ct = nt[0], $e = nt[1], Lt = DCe(/* @__PURE__ */ new Map()), At = yt(Lt, 2), kt = At[0], Ot = At[1], Vt = PO(Ze), Xt = Vt.map(function(ni) {
46843
46843
  return kt.get(ni);
46844
46844
  }), hn = E.useMemo(function() {
46845
46845
  return Xt;
@@ -47423,45 +47423,45 @@ const Jrt = /* @__PURE__ */ E.memo(qrt);
47423
47423
  var Qrt = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "dragOverGapBottom", "isLeaf", "isStart", "isEnd", "expanded", "selected", "checked", "halfChecked", "loading", "domRef", "active", "data", "onMouseMove", "selectable"], hre = "open", pre = "close", eit = "---", m3 = function(e) {
47424
47424
  var n, r, i, a = e.eventKey, o = e.className, s = e.style, c = e.dragOver, u = e.dragOverGapTop, d = e.dragOverGapBottom, f = e.isLeaf, h = e.isStart, p = e.isEnd, v = e.expanded, y = e.selected, g = e.checked, m = e.halfChecked, b = e.loading, x = e.domRef, C = e.active, w = e.data, _ = e.onMouseMove, A = e.selectable, R = yi(e, Qrt), M = P.useContext(JW), N = P.useContext(WCe), k = P.useRef(null), B = P.useState(!1), H = yt(B, 2), F = H[0], G = H[1], z = !!(M.disabled || e.disabled || (n = N.nodeDisabled) !== null && n !== void 0 && n.call(N, w)), V = P.useMemo(function() {
47425
47425
  return !M.checkable || e.checkable === !1 ? !1 : M.checkable;
47426
- }, [M.checkable, e.checkable]), j = function(St) {
47427
- z || M.onNodeSelect(St, Xc(e));
47428
- }, Y = function(St) {
47429
- z || !V || e.disableCheckbox || M.onNodeCheck(St, Xc(e), !g);
47426
+ }, [M.checkable, e.checkable]), j = function(wt) {
47427
+ z || M.onNodeSelect(wt, Xc(e));
47428
+ }, Y = function(wt) {
47429
+ z || !V || e.disableCheckbox || M.onNodeCheck(wt, Xc(e), !g);
47430
47430
  }, W = P.useMemo(function() {
47431
47431
  return typeof A == "boolean" ? A : M.selectable;
47432
- }, [A, M.selectable]), Z = function(St) {
47433
- M.onNodeClick(St, Xc(e)), W ? j(St) : Y(St);
47434
- }, te = function(St) {
47435
- M.onNodeDoubleClick(St, Xc(e));
47436
- }, se = function(St) {
47437
- M.onNodeMouseEnter(St, Xc(e));
47438
- }, q = function(St) {
47439
- M.onNodeMouseLeave(St, Xc(e));
47440
- }, ne = function(St) {
47441
- M.onNodeContextMenu(St, Xc(e));
47432
+ }, [A, M.selectable]), Z = function(wt) {
47433
+ M.onNodeClick(wt, Xc(e)), W ? j(wt) : Y(wt);
47434
+ }, te = function(wt) {
47435
+ M.onNodeDoubleClick(wt, Xc(e));
47436
+ }, se = function(wt) {
47437
+ M.onNodeMouseEnter(wt, Xc(e));
47438
+ }, q = function(wt) {
47439
+ M.onNodeMouseLeave(wt, Xc(e));
47440
+ }, ne = function(wt) {
47441
+ M.onNodeContextMenu(wt, Xc(e));
47442
47442
  }, oe = P.useMemo(function() {
47443
47443
  return !!(M.draggable && (!M.draggable.nodeDraggable || M.draggable.nodeDraggable(w)));
47444
- }, [M.draggable, w]), ie = function(St) {
47445
- St.stopPropagation(), G(!0), M.onNodeDragStart(St, e);
47444
+ }, [M.draggable, w]), ie = function(wt) {
47445
+ wt.stopPropagation(), G(!0), M.onNodeDragStart(wt, e);
47446
47446
  try {
47447
- St.dataTransfer.setData("text/plain", "");
47447
+ wt.dataTransfer.setData("text/plain", "");
47448
47448
  } catch {
47449
47449
  }
47450
- }, ee = function(St) {
47451
- St.preventDefault(), St.stopPropagation(), M.onNodeDragEnter(St, e);
47452
- }, me = function(St) {
47453
- St.preventDefault(), St.stopPropagation(), M.onNodeDragOver(St, e);
47454
- }, pe = function(St) {
47455
- St.stopPropagation(), M.onNodeDragLeave(St, e);
47456
- }, he = function(St) {
47457
- St.stopPropagation(), G(!1), M.onNodeDragEnd(St, e);
47458
- }, re = function(St) {
47459
- St.preventDefault(), St.stopPropagation(), G(!1), M.onNodeDrop(St, e);
47460
- }, xe = function(St) {
47461
- b || M.onNodeExpand(St, Xc(e));
47450
+ }, ee = function(wt) {
47451
+ wt.preventDefault(), wt.stopPropagation(), M.onNodeDragEnter(wt, e);
47452
+ }, me = function(wt) {
47453
+ wt.preventDefault(), wt.stopPropagation(), M.onNodeDragOver(wt, e);
47454
+ }, pe = function(wt) {
47455
+ wt.stopPropagation(), M.onNodeDragLeave(wt, e);
47456
+ }, he = function(wt) {
47457
+ wt.stopPropagation(), G(!1), M.onNodeDragEnd(wt, e);
47458
+ }, re = function(wt) {
47459
+ wt.preventDefault(), wt.stopPropagation(), G(!1), M.onNodeDrop(wt, e);
47460
+ }, xe = function(wt) {
47461
+ b || M.onNodeExpand(wt, Xc(e));
47462
47462
  }, Q = P.useMemo(function() {
47463
- var ut = _f(M.keyEntities, a) || {}, St = ut.children;
47464
- return !!(St || []).length;
47463
+ var ut = _f(M.keyEntities, a) || {}, wt = ut.children;
47464
+ return !!(wt || []).length;
47465
47465
  }, [M.keyEntities, a]), be = P.useMemo(function() {
47466
47466
  return f === !1 ? !1 : f || !M.loadData && !Q || M.loadData && e.loaded && !Q;
47467
47467
  }, [f, M.loadData, Q, e.loaded]);
@@ -47473,17 +47473,17 @@ var Qrt = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
47473
47473
  return (ut = M.draggable) !== null && ut !== void 0 && ut.icon ? /* @__PURE__ */ P.createElement("span", {
47474
47474
  className: "".concat(M.prefixCls, "-draggable-icon")
47475
47475
  }, M.draggable.icon) : null;
47476
- }, [M.draggable]), _e = function(St) {
47476
+ }, [M.draggable]), _e = function(wt) {
47477
47477
  var st = e.switcherIcon || M.switcherIcon;
47478
47478
  return typeof st == "function" ? st(Ke(Ke({}, e), {}, {
47479
- isLeaf: St
47479
+ isLeaf: wt
47480
47480
  })) : st;
47481
47481
  }, ke = function() {
47482
47482
  if (be) {
47483
- var St = _e(!0);
47484
- return St !== !1 ? /* @__PURE__ */ P.createElement("span", {
47483
+ var wt = _e(!0);
47484
+ return wt !== !1 ? /* @__PURE__ */ P.createElement("span", {
47485
47485
  className: et("".concat(M.prefixCls, "-switcher"), "".concat(M.prefixCls, "-switcher-noop"))
47486
- }, St) : null;
47486
+ }, wt) : null;
47487
47487
  }
47488
47488
  var st = _e(!1);
47489
47489
  return st !== !1 ? /* @__PURE__ */ P.createElement("span", {
@@ -47509,8 +47509,8 @@ var Qrt = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
47509
47509
  className: et("".concat(M.prefixCls, "-iconEle"), "".concat(M.prefixCls, "-icon__").concat(Ne || "docu"), Oe({}, "".concat(M.prefixCls, "-icon_loading"), b))
47510
47510
  });
47511
47511
  }, [M.prefixCls, Ne, b]), Ze = P.useMemo(function() {
47512
- var ut = !!M.draggable, St = !e.disabled && ut && M.dragOverNodeKey === a;
47513
- return St ? M.dropIndicatorRender({
47512
+ var ut = !!M.draggable, wt = !e.disabled && ut && M.dragOverNodeKey === a;
47513
+ return wt ? M.dropIndicatorRender({
47514
47514
  dropPosition: M.dropPosition,
47515
47515
  dropLevelOffset: M.dropLevelOffset,
47516
47516
  indent: M.indent,
@@ -47518,7 +47518,7 @@ var Qrt = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
47518
47518
  direction: M.direction
47519
47519
  }) : null;
47520
47520
  }, [M.dropPosition, M.dropLevelOffset, M.indent, M.prefixCls, M.direction, M.draggable, M.dragOverNodeKey, M.dropIndicatorRender]), ve = P.useMemo(function() {
47521
- var ut = e.title, St = ut === void 0 ? eit : ut, st = "".concat(M.prefixCls, "-node-content-wrapper"), Ue;
47521
+ var ut = e.title, wt = ut === void 0 ? eit : ut, st = "".concat(M.prefixCls, "-node-content-wrapper"), Ue;
47522
47522
  if (M.showIcon) {
47523
47523
  var ft = e.icon || M.icon;
47524
47524
  Ue = ft ? /* @__PURE__ */ P.createElement("span", {
@@ -47527,9 +47527,9 @@ var Qrt = ["eventKey", "className", "style", "dragOver", "dragOverGapTop", "drag
47527
47527
  } else
47528
47528
  M.loadData && b && (Ue = Se);
47529
47529
  var it;
47530
- return typeof St == "function" ? it = St(w) : M.titleRender ? it = M.titleRender(w) : it = St, /* @__PURE__ */ P.createElement("span", {
47530
+ return typeof wt == "function" ? it = wt(w) : M.titleRender ? it = M.titleRender(w) : it = wt, /* @__PURE__ */ P.createElement("span", {
47531
47531
  ref: k,
47532
- title: typeof St == "string" ? St : "",
47532
+ title: typeof wt == "string" ? wt : "",
47533
47533
  className: et(st, "".concat(st, "-").concat(Ne || "normal"), Oe({}, "".concat(M.prefixCls, "-node-selected"), !z && (y || F))),
47534
47534
  onMouseEnter: se,
47535
47535
  onMouseLeave: q,
@@ -47854,13 +47854,13 @@ const Hv = {}, oz = "SELECT_ALL", sz = "SELECT_INVERT", lz = "SELECT_NONE", mre
47854
47854
  let xe = Bi(he);
47855
47855
  const Q = new Set(ne), be = Y.map(A).filter((ct) => !Z.get(ct).disabled), de = be.every((ct) => Q.has(ct)), _e = be.some((ct) => Q.has(ct)), ke = () => {
47856
47856
  const ct = [];
47857
- de ? be.forEach((St) => {
47858
- Q.delete(St), ct.push(St);
47859
- }) : be.forEach((St) => {
47860
- Q.has(St) || (Q.add(St), ct.push(St));
47857
+ de ? be.forEach((wt) => {
47858
+ Q.delete(wt), ct.push(wt);
47859
+ }) : be.forEach((wt) => {
47860
+ Q.has(wt) || (Q.add(wt), ct.push(wt));
47861
47861
  });
47862
47862
  const ut = Array.from(Q);
47863
- c == null || c(!de, ut.map((St) => _(St)), ct.map((St) => _(St))), ie(ut, "all"), F(null);
47863
+ c == null || c(!de, ut.map((wt) => _(wt)), ct.map((wt) => _(wt))), ie(ut, "all"), F(null);
47864
47864
  };
47865
47865
  let He, Ne;
47866
47866
  if (p !== "radio") {
@@ -47900,22 +47900,22 @@ const Hv = {}, oz = "SELECT_ALL", sz = "SELECT_INVERT", lz = "SELECT_NONE", mre
47900
47900
  disabled: it
47901
47901
  } = ft;
47902
47902
  return it;
47903
- }), St = !!ut.length && ut.length === Y.length, st = St && ut.every((ft) => {
47903
+ }), wt = !!ut.length && ut.length === Y.length, st = wt && ut.every((ft) => {
47904
47904
  let {
47905
47905
  checked: it
47906
47906
  } = ft;
47907
47907
  return it;
47908
- }), Ue = St && ut.some((ft) => {
47908
+ }), Ue = wt && ut.some((ft) => {
47909
47909
  let {
47910
47910
  checked: it
47911
47911
  } = ft;
47912
47912
  return it;
47913
47913
  });
47914
47914
  Ne = /* @__PURE__ */ E.createElement(w1, {
47915
- checked: St ? st : !!Y.length && de,
47916
- indeterminate: St ? !st && Ue : !de && _e,
47915
+ checked: wt ? st : !!Y.length && de,
47916
+ indeterminate: wt ? !st && Ue : !de && _e,
47917
47917
  onChange: ke,
47918
- disabled: Y.length === 0 || St,
47918
+ disabled: Y.length === 0 || wt,
47919
47919
  "aria-label": ct ? "Custom selection" : "Select all",
47920
47920
  skipGroup: !0
47921
47921
  }), He = !m && /* @__PURE__ */ E.createElement("div", {
@@ -47923,8 +47923,8 @@ const Hv = {}, oz = "SELECT_ALL", sz = "SELECT_INVERT", lz = "SELECT_NONE", mre
47923
47923
  }, Ne, ct);
47924
47924
  }
47925
47925
  let Se;
47926
- p === "radio" ? Se = (ct, ut, St) => {
47927
- const st = A(ut, St), Ue = Q.has(st), ft = Z.get(st);
47926
+ p === "radio" ? Se = (ct, ut, wt) => {
47927
+ const st = A(ut, wt), Ue = Q.has(st), ft = Z.get(st);
47928
47928
  return {
47929
47929
  node: /* @__PURE__ */ E.createElement(Ka, Object.assign({}, ft, {
47930
47930
  checked: Ue,
@@ -47939,9 +47939,9 @@ const Hv = {}, oz = "SELECT_ALL", sz = "SELECT_INVERT", lz = "SELECT_NONE", mre
47939
47939
  })),
47940
47940
  checked: Ue
47941
47941
  };
47942
- } : Se = (ct, ut, St) => {
47942
+ } : Se = (ct, ut, wt) => {
47943
47943
  var st;
47944
- const Ue = A(ut, St), ft = Q.has(Ue), it = oe.has(Ue), nt = Z.get(Ue);
47944
+ const Ue = A(ut, wt), ft = Q.has(Ue), it = oe.has(Ue), nt = Z.get(Ue);
47945
47945
  let Ct;
47946
47946
  return R === "nest" ? (Ct = it, process.env.NODE_ENV !== "production" && B(typeof (nt == null ? void 0 : nt.indeterminate) != "boolean", "usage", "set `indeterminate` using `rowSelection.getCheckboxProps` is not allowed with tree structured dataSource.")) : Ct = (st = nt == null ? void 0 : nt.indeterminate) !== null && st !== void 0 ? st : it, {
47947
47947
  node: /* @__PURE__ */ E.createElement(w1, Object.assign({}, nt, {
@@ -47989,12 +47989,12 @@ const Hv = {}, oz = "SELECT_ALL", sz = "SELECT_INVERT", lz = "SELECT_NONE", mre
47989
47989
  checked: ft
47990
47990
  };
47991
47991
  };
47992
- const Ze = (ct, ut, St) => {
47992
+ const Ze = (ct, ut, wt) => {
47993
47993
  const {
47994
47994
  node: st,
47995
47995
  checked: Ue
47996
- } = Se(ct, ut, St);
47997
- return g ? g(Ue, ut, St, st) : st;
47996
+ } = Se(ct, ut, wt);
47997
+ return g ? g(Ue, ut, wt, st) : st;
47998
47998
  };
47999
47999
  if (!xe.includes(Hv))
48000
48000
  if (xe.findIndex((ct) => {
@@ -51746,7 +51746,7 @@ const BM = "ascend", AD = "descend", V7 = (t) => typeof t.sorter == "object" &&
51746
51746
  colorIconHover: C,
51747
51747
  opacityLoading: w,
51748
51748
  controlInteractiveSize: _
51749
- } = t, A = new wa(i).onBackground(n).toHexString(), R = new wa(a).onBackground(n).toHexString(), M = new wa(e).onBackground(n).toHexString(), N = new wa(x), k = new wa(C), B = _ / 2 - b, H = B * 2 + b * 3;
51749
+ } = t, A = new Ca(i).onBackground(n).toHexString(), R = new Ca(a).onBackground(n).toHexString(), M = new Ca(e).onBackground(n).toHexString(), N = new Ca(x), k = new Ca(C), B = _ / 2 - b, H = B * 2 + b * 3;
51750
51750
  return {
51751
51751
  headerBg: M,
51752
51752
  headerColor: r,
@@ -51946,7 +51946,7 @@ const BM = "ascend", AD = "descend", V7 = (t) => typeof t.sorter == "object" &&
51946
51946
  sorter: Wn,
51947
51947
  sorterStates: cr
51948
51948
  }, "sort", !1);
51949
- }, [ct, ut, St, st] = Wit({
51949
+ }, [ct, ut, wt, st] = Wit({
51950
51950
  prefixCls: he,
51951
51951
  mergedColumns: W,
51952
51952
  onSorterChange: dt,
@@ -51974,10 +51974,10 @@ const BM = "ascend", AD = "descend", V7 = (t) => typeof t.sorter == "object" &&
51974
51974
  const Wn = {};
51975
51975
  return Object.keys(Ct).forEach((cr) => {
51976
51976
  Ct[cr] !== null && (Wn[cr] = Ct[cr]);
51977
- }), Object.assign(Object.assign({}, St), {
51977
+ }), Object.assign(Object.assign({}, wt), {
51978
51978
  filters: Wn
51979
51979
  });
51980
- }, [St, Ct]), [At] = Zit(Lt), kt = (Wn, cr) => {
51980
+ }, [wt, Ct]), [At] = Zit(Lt), kt = (Wn, cr) => {
51981
51981
  Ye({
51982
51982
  pagination: Object.assign(Object.assign({}, De.pagination), {
51983
51983
  current: Wn,
@@ -52200,7 +52200,7 @@ const BO = wg, Dat = (t) => {
52200
52200
  tagBorderlessBg: t.defaultBg
52201
52201
  });
52202
52202
  }, rX = (t) => ({
52203
- defaultBg: new wa(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),
52203
+ defaultBg: new Ca(t.colorFillQuaternary).onBackground(t.colorBgContainer).toHexString(),
52204
52204
  defaultColor: t.colorText
52205
52205
  }), hwe = Ya("Tag", (t) => {
52206
52206
  const e = nX(t);
@@ -52650,7 +52650,7 @@ var Qat = function(e) {
52650
52650
  return null;
52651
52651
  var ut = function() {
52652
52652
  te(!1), u == null || u(V);
52653
- }, St = function() {
52653
+ }, wt = function() {
52654
52654
  return /* @__PURE__ */ E.createElement(Qat, Bn({
52655
52655
  arrow: De,
52656
52656
  key: "content",
@@ -52693,7 +52693,7 @@ var Qat = function(e) {
52693
52693
  popupVisible: Z,
52694
52694
  popupClassName: et(g, xe),
52695
52695
  prefixCls: r,
52696
- popup: St,
52696
+ popup: wt,
52697
52697
  forceRender: !1,
52698
52698
  destroyPopupOnHide: !0,
52699
52699
  zIndex: R,
@@ -52973,8 +52973,8 @@ const rot = (t) => {
52973
52973
  }, aot = (t) => Object.assign(Object.assign({
52974
52974
  zIndexPopup: t.zIndexPopupBase + 70,
52975
52975
  closeBtnSize: t.fontSize * t.lineHeight,
52976
- primaryPrevBtnBg: new wa(t.colorTextLightSolid).setA(0.15).toRgbString(),
52977
- primaryNextBtnHoverBg: new wa(t.colorBgTextHover).onBackground(t.colorWhite).toRgbString()
52976
+ primaryPrevBtnBg: new Ca(t.colorTextLightSolid).setA(0.15).toRgbString(),
52977
+ primaryNextBtnHoverBg: new Ca(t.colorBgTextHover).onBackground(t.colorWhite).toRgbString()
52978
52978
  }, O5({
52979
52979
  contentRadius: t.borderRadiusLG,
52980
52980
  limitVerticalRadius: !0
@@ -53590,7 +53590,7 @@ var wwe = /* @__PURE__ */ E.createContext(null), Lot = {
53590
53590
  At.f();
53591
53591
  }
53592
53592
  return null;
53593
- }, ut = E.useState(null), St = Wp(ut, 2), st = St[0], Ue = St[1], ft = oe[st];
53593
+ }, ut = E.useState(null), wt = Wp(ut, 2), st = wt[0], Ue = wt[1], ft = oe[st];
53594
53594
  E.useEffect(function() {
53595
53595
  if (c) {
53596
53596
  var $e = null, Lt = function() {
@@ -53738,7 +53738,7 @@ var Ewe = /* @__PURE__ */ E.forwardRef(function(t, e) {
53738
53738
  postState: function(Gt) {
53739
53739
  return Gt || "";
53740
53740
  }
53741
- }), ut = Wp(ct, 2), St = ut[0], st = ut[1], Ue = function(Gt) {
53741
+ }), ut = Wp(ct, 2), wt = ut[0], st = ut[1], Ue = function(Gt) {
53742
53742
  st(Gt), h == null || h(Gt);
53743
53743
  }, ft = Aot(k, B, N), it = Sot(ft, dt), nt = it.keyEntities, Ct = it.valueEntities, $e = E.useCallback(function(Ut) {
53744
53744
  var Gt = [], zt = [];
@@ -53748,7 +53748,7 @@ var Ewe = /* @__PURE__ */ E.forwardRef(function(t, e) {
53748
53748
  missingRawValues: Gt,
53749
53749
  existRawValues: zt
53750
53750
  };
53751
- }, [Ct]), Lt = Tot(ft, St, {
53751
+ }, [Ct]), Lt = Tot(ft, wt, {
53752
53752
  fieldNames: dt,
53753
53753
  treeNodeFilterProp: m,
53754
53754
  filterTreeNode: y
@@ -53962,7 +53962,7 @@ var Ewe = /* @__PURE__ */ E.forwardRef(function(t, e) {
53962
53962
  mode: ve ? "multiple" : void 0,
53963
53963
  displayValues: fr,
53964
53964
  onDisplayValuesChange: Mt,
53965
- searchValue: St,
53965
+ searchValue: wt,
53966
53966
  onSearch: Ue,
53967
53967
  OptionList: Swe,
53968
53968
  emptyOptions: !ft.length,
@@ -54103,7 +54103,7 @@ const Fot = (t, e) => {
54103
54103
  hasFeedback: dt,
54104
54104
  isFormItemInput: ct,
54105
54105
  feedbackIcon: ut
54106
- } = E.useContext(gu), St = Y3(Ye, A), {
54106
+ } = E.useContext(gu), wt = Y3(Ye, A), {
54107
54107
  suffixIcon: st,
54108
54108
  removeIcon: Ue,
54109
54109
  clearIcon: ft
@@ -54130,7 +54130,7 @@ const Fot = (t, e) => {
54130
54130
  [`${pe}-rtl`]: se === "rtl",
54131
54131
  [`${pe}-${Se}`]: Ze,
54132
54132
  [`${pe}-in-form-item`]: ct
54133
- }, x1(pe, St, dt), Q, s, c, He, be, de, ke), Vt = (wn) => /* @__PURE__ */ E.createElement(twe, {
54133
+ }, x1(pe, wt, dt), Q, s, c, He, be, de, ke), Vt = (wn) => /* @__PURE__ */ E.createElement(twe, {
54134
54134
  prefixCls: he,
54135
54135
  switcherIcon: y,
54136
54136
  treeNodeProps: wn,
@@ -55064,7 +55064,7 @@ const xst = "...", Cst = /* @__PURE__ */ E.forwardRef((t, e) => {
55064
55064
  }),
55065
55065
  "aria-label": xe ? m.collapse : m == null ? void 0 : m.expand
55066
55066
  }, typeof nt == "function" ? nt(xe) : nt) : null;
55067
- }, St = () => {
55067
+ }, wt = () => {
55068
55068
  if (!_)
55069
55069
  return;
55070
55070
  const {
@@ -55094,7 +55094,7 @@ const xst = "...", Cst = /* @__PURE__ */ E.forwardRef((t, e) => {
55094
55094
  onCopy: W,
55095
55095
  loading: Y,
55096
55096
  iconOnly: c == null
55097
- })) : null, Ue = (it) => [it && ut(), St(), st()], ft = (it) => [it && !xe && /* @__PURE__ */ E.createElement("span", {
55097
+ })) : null, Ue = (it) => [it && ut(), wt(), st()], ft = (it) => [it && !xe && /* @__PURE__ */ E.createElement("span", {
55098
55098
  "aria-hidden": !0,
55099
55099
  key: "ellipsis"
55100
55100
  }, xst), re.suffix, Ue(it)];
@@ -56808,11 +56808,11 @@ const Y_ = `__LIST_IGNORE_${Date.now()}__`, clt = (t, e) => {
56808
56808
  className: `${Q}-drag-container`
56809
56809
  }, C))), dt()));
56810
56810
  }
56811
- const St = et(Q, `${Q}-select`, {
56811
+ const wt = et(Q, `${Q}-select`, {
56812
56812
  [`${Q}-disabled`]: z,
56813
56813
  [`${Q}-hidden`]: !C
56814
56814
  }), st = /* @__PURE__ */ E.createElement("div", {
56815
- className: St
56815
+ className: wt
56816
56816
  }, /* @__PURE__ */ E.createElement(yz, Object.assign({}, be, {
56817
56817
  ref: Z
56818
56818
  })));
@@ -68549,7 +68549,7 @@ function upt(t, e, n, r, i, a, o) {
68549
68549
  se = In.vertexShader, q = In.fragmentShader;
68550
68550
  } else
68551
68551
  se = M.vertexShader, q = M.fragmentShader, c.update(M), ne = c.getVertexShaderID(M), oe = c.getFragmentShaderID(M);
68552
- const ie = t.getRenderTarget(), ee = H.isInstancedMesh === !0, me = !!M.map, pe = !!M.matcap, he = !!V, re = !!M.aoMap, xe = !!M.lightMap, Q = !!M.bumpMap, be = !!M.normalMap, de = !!M.displacementMap, _e = !!M.emissiveMap, ke = !!M.metalnessMap, He = !!M.roughnessMap, Ne = M.anisotropy > 0, Se = M.clearcoat > 0, Ze = M.iridescence > 0, ve = M.sheen > 0, ue = M.transmission > 0, Le = Ne && !!M.anisotropyMap, at = Se && !!M.clearcoatMap, De = Se && !!M.clearcoatNormalMap, Ye = Se && !!M.clearcoatRoughnessMap, dt = Ze && !!M.iridescenceMap, ct = Ze && !!M.iridescenceThicknessMap, ut = ve && !!M.sheenColorMap, St = ve && !!M.sheenRoughnessMap, st = !!M.specularMap, Ue = !!M.specularColorMap, ft = !!M.specularIntensityMap, it = ue && !!M.transmissionMap, nt = ue && !!M.thicknessMap, Ct = !!M.gradientMap, $e = !!M.alphaMap, Lt = M.alphaTest > 0, At = !!M.alphaHash, kt = !!M.extensions, Ot = !!G.attributes.uv1, Vt = !!G.attributes.uv2, Xt = !!G.attributes.uv3;
68552
+ const ie = t.getRenderTarget(), ee = H.isInstancedMesh === !0, me = !!M.map, pe = !!M.matcap, he = !!V, re = !!M.aoMap, xe = !!M.lightMap, Q = !!M.bumpMap, be = !!M.normalMap, de = !!M.displacementMap, _e = !!M.emissiveMap, ke = !!M.metalnessMap, He = !!M.roughnessMap, Ne = M.anisotropy > 0, Se = M.clearcoat > 0, Ze = M.iridescence > 0, ve = M.sheen > 0, ue = M.transmission > 0, Le = Ne && !!M.anisotropyMap, at = Se && !!M.clearcoatMap, De = Se && !!M.clearcoatNormalMap, Ye = Se && !!M.clearcoatRoughnessMap, dt = Ze && !!M.iridescenceMap, ct = Ze && !!M.iridescenceThicknessMap, ut = ve && !!M.sheenColorMap, wt = ve && !!M.sheenRoughnessMap, st = !!M.specularMap, Ue = !!M.specularColorMap, ft = !!M.specularIntensityMap, it = ue && !!M.transmissionMap, nt = ue && !!M.thicknessMap, Ct = !!M.gradientMap, $e = !!M.alphaMap, Lt = M.alphaTest > 0, At = !!M.alphaHash, kt = !!M.extensions, Ot = !!G.attributes.uv1, Vt = !!G.attributes.uv2, Xt = !!G.attributes.uv3;
68553
68553
  let hn = s1;
68554
68554
  return M.toneMapped && (ie === null || ie.isXRRenderTarget === !0) && (hn = t.toneMapping), {
68555
68555
  isWebGL2: d,
@@ -68594,7 +68594,7 @@ function upt(t, e, n, r, i, a, o) {
68594
68594
  iridescenceThicknessMap: ct,
68595
68595
  sheen: ve,
68596
68596
  sheenColorMap: ut,
68597
- sheenRoughnessMap: St,
68597
+ sheenRoughnessMap: wt,
68598
68598
  specularMap: st,
68599
68599
  specularColorMap: Ue,
68600
68600
  specularIntensityMap: ft,
@@ -68624,7 +68624,7 @@ function upt(t, e, n, r, i, a, o) {
68624
68624
  iridescenceMapUv: dt && y(M.iridescenceMap.channel),
68625
68625
  iridescenceThicknessMapUv: ct && y(M.iridescenceThicknessMap.channel),
68626
68626
  sheenColorMapUv: ut && y(M.sheenColorMap.channel),
68627
- sheenRoughnessMapUv: St && y(M.sheenRoughnessMap.channel),
68627
+ sheenRoughnessMapUv: wt && y(M.sheenRoughnessMap.channel),
68628
68628
  specularMapUv: st && y(M.specularMap.channel),
68629
68629
  specularColorMapUv: Ue && y(M.specularColorMap.channel),
68630
68630
  specularIntensityMapUv: ft && y(M.specularIntensityMap.channel),
@@ -69559,7 +69559,7 @@ function _pt(t, e, n) {
69559
69559
  console.error("THREE.WebGLState:", $e);
69560
69560
  }
69561
69561
  }
69562
- function St() {
69562
+ function wt() {
69563
69563
  try {
69564
69564
  t.texImage2D.apply(t, arguments);
69565
69565
  } catch ($e) {
@@ -69615,7 +69615,7 @@ function _pt(t, e, n) {
69615
69615
  unbindTexture: ve,
69616
69616
  compressedTexImage2D: ue,
69617
69617
  compressedTexImage3D: Le,
69618
- texImage2D: St,
69618
+ texImage2D: wt,
69619
69619
  texImage3D: st,
69620
69620
  updateUBOMapping: it,
69621
69621
  uniformBlockBinding: nt,
@@ -69849,8 +69849,8 @@ function Tpt(t, e, n, r, i, a, o) {
69849
69849
  const dt = r.get(Ye);
69850
69850
  if (Ye.version !== dt.__version || De === !0) {
69851
69851
  n.activeTexture(t.TEXTURE0 + Le);
69852
- const ct = tl.getPrimaries(tl.workingColorSpace), ut = ue.colorSpace === Xh ? null : tl.getPrimaries(ue.colorSpace), St = ue.colorSpace === Xh || ct === ut ? t.NONE : t.BROWSER_DEFAULT_WEBGL;
69853
- t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL, ue.flipY), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, ue.premultiplyAlpha), t.pixelStorei(t.UNPACK_ALIGNMENT, ue.unpackAlignment), t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL, St);
69852
+ const ct = tl.getPrimaries(tl.workingColorSpace), ut = ue.colorSpace === Xh ? null : tl.getPrimaries(ue.colorSpace), wt = ue.colorSpace === Xh || ct === ut ? t.NONE : t.BROWSER_DEFAULT_WEBGL;
69853
+ t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL, ue.flipY), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, ue.premultiplyAlpha), t.pixelStorei(t.UNPACK_ALIGNMENT, ue.unpackAlignment), t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL, wt);
69854
69854
  const st = w(ue) && C(ue.image) === !1;
69855
69855
  let Ue = x(ue.image, st, !1, d);
69856
69856
  Ue = Ze(ue, Ue);
@@ -69913,14 +69913,14 @@ function Tpt(t, e, n, r, i, a, o) {
69913
69913
  n.activeTexture(t.TEXTURE0 + Le);
69914
69914
  const dt = tl.getPrimaries(tl.workingColorSpace), ct = ue.colorSpace === Xh ? null : tl.getPrimaries(ue.colorSpace), ut = ue.colorSpace === Xh || dt === ct ? t.NONE : t.BROWSER_DEFAULT_WEBGL;
69915
69915
  t.pixelStorei(t.UNPACK_FLIP_Y_WEBGL, ue.flipY), t.pixelStorei(t.UNPACK_PREMULTIPLY_ALPHA_WEBGL, ue.premultiplyAlpha), t.pixelStorei(t.UNPACK_ALIGNMENT, ue.unpackAlignment), t.pixelStorei(t.UNPACK_COLORSPACE_CONVERSION_WEBGL, ut);
69916
- const St = ue.isCompressedTexture || ue.image[0].isCompressedTexture, st = ue.image[0] && ue.image[0].isDataTexture, Ue = [];
69916
+ const wt = ue.isCompressedTexture || ue.image[0].isCompressedTexture, st = ue.image[0] && ue.image[0].isDataTexture, Ue = [];
69917
69917
  for (let Vt = 0; Vt < 6; Vt++)
69918
- !St && !st ? Ue[Vt] = x(ue.image[Vt], !1, !0, u) : Ue[Vt] = st ? ue.image[Vt].image : ue.image[Vt], Ue[Vt] = Ze(ue, Ue[Vt]);
69918
+ !wt && !st ? Ue[Vt] = x(ue.image[Vt], !1, !0, u) : Ue[Vt] = st ? ue.image[Vt].image : ue.image[Vt], Ue[Vt] = Ze(ue, Ue[Vt]);
69919
69919
  const ft = Ue[0], it = C(ft) || s, nt = a.convert(ue.format, ue.colorSpace), Ct = a.convert(ue.type), $e = R(ue.internalFormat, nt, Ct, ue.colorSpace), Lt = s && ue.isVideoTexture !== !0, At = Ye.__version === void 0 || at === !0;
69920
69920
  let kt = M(ue, ft, it);
69921
69921
  ie(t.TEXTURE_CUBE_MAP, ue, it);
69922
69922
  let Ot;
69923
- if (St) {
69923
+ if (wt) {
69924
69924
  Lt && At && n.texStorage2D(t.TEXTURE_CUBE_MAP, kt, $e, ft.width, ft.height);
69925
69925
  for (let Vt = 0; Vt < 6; Vt++) {
69926
69926
  Ot = Ue[Vt].mipmaps;
@@ -69975,8 +69975,8 @@ function Tpt(t, e, n, r, i, a, o) {
69975
69975
  } else {
69976
69976
  const at = ue.isWebGLMultipleRenderTargets === !0 ? ue.texture : [ue.texture];
69977
69977
  for (let De = 0; De < at.length; De++) {
69978
- const Ye = at[De], dt = a.convert(Ye.format, Ye.colorSpace), ct = a.convert(Ye.type), ut = R(Ye.internalFormat, dt, ct, Ye.colorSpace), St = He(ue);
69979
- Le && Ne(ue) === !1 ? t.renderbufferStorageMultisample(t.RENDERBUFFER, St, ut, ue.width, ue.height) : Ne(ue) ? h.renderbufferStorageMultisampleEXT(t.RENDERBUFFER, St, ut, ue.width, ue.height) : t.renderbufferStorage(t.RENDERBUFFER, ut, ue.width, ue.height);
69978
+ const Ye = at[De], dt = a.convert(Ye.format, Ye.colorSpace), ct = a.convert(Ye.type), ut = R(Ye.internalFormat, dt, ct, Ye.colorSpace), wt = He(ue);
69979
+ Le && Ne(ue) === !1 ? t.renderbufferStorageMultisample(t.RENDERBUFFER, wt, ut, ue.width, ue.height) : Ne(ue) ? h.renderbufferStorageMultisampleEXT(t.RENDERBUFFER, wt, ut, ue.width, ue.height) : t.renderbufferStorage(t.RENDERBUFFER, ut, ue.width, ue.height);
69980
69980
  }
69981
69981
  }
69982
69982
  t.bindRenderbuffer(t.RENDERBUFFER, null);
@@ -70036,7 +70036,7 @@ function Tpt(t, e, n, r, i, a, o) {
70036
70036
  if (Ye)
70037
70037
  if (i.drawBuffers) {
70038
70038
  const ct = ve.texture;
70039
- for (let ut = 0, St = ct.length; ut < St; ut++) {
70039
+ for (let ut = 0, wt = ct.length; ut < wt; ut++) {
70040
70040
  const st = r.get(ct[ut]);
70041
70041
  st.__webglTexture === void 0 && (st.__webglTexture = t.createTexture(), o.memory.textures++);
70042
70042
  }
@@ -70046,9 +70046,9 @@ function Tpt(t, e, n, r, i, a, o) {
70046
70046
  const ct = Ye ? ue : [ue];
70047
70047
  Le.__webglMultisampledFramebuffer = t.createFramebuffer(), Le.__webglColorRenderbuffer = [], n.bindFramebuffer(t.FRAMEBUFFER, Le.__webglMultisampledFramebuffer);
70048
70048
  for (let ut = 0; ut < ct.length; ut++) {
70049
- const St = ct[ut];
70049
+ const wt = ct[ut];
70050
70050
  Le.__webglColorRenderbuffer[ut] = t.createRenderbuffer(), t.bindRenderbuffer(t.RENDERBUFFER, Le.__webglColorRenderbuffer[ut]);
70051
- const st = a.convert(St.format, St.colorSpace), Ue = a.convert(St.type), ft = R(St.internalFormat, st, Ue, St.colorSpace, ve.isXRRenderTarget === !0), it = He(ve);
70051
+ const st = a.convert(wt.format, wt.colorSpace), Ue = a.convert(wt.type), ft = R(wt.internalFormat, st, Ue, wt.colorSpace, ve.isXRRenderTarget === !0), it = He(ve);
70052
70052
  t.renderbufferStorageMultisample(t.RENDERBUFFER, it, ft, ve.width, ve.height), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0 + ut, t.RENDERBUFFER, Le.__webglColorRenderbuffer[ut]);
70053
70053
  }
70054
70054
  t.bindRenderbuffer(t.RENDERBUFFER, null), ve.depthBuffer && (Le.__webglDepthRenderbuffer = t.createRenderbuffer(), re(Le.__webglDepthRenderbuffer, ve, !0)), n.bindFramebuffer(t.FRAMEBUFFER, null);
@@ -70065,7 +70065,7 @@ function Tpt(t, e, n, r, i, a, o) {
70065
70065
  _(ue, dt) && A(t.TEXTURE_CUBE_MAP), n.unbindTexture();
70066
70066
  } else if (Ye) {
70067
70067
  const ct = ve.texture;
70068
- for (let ut = 0, St = ct.length; ut < St; ut++) {
70068
+ for (let ut = 0, wt = ct.length; ut < wt; ut++) {
70069
70069
  const st = ct[ut], Ue = r.get(st);
70070
70070
  n.bindTexture(t.TEXTURE_2D, Ue.__webglTexture), ie(t.TEXTURE_2D, st, dt), he(Le.__webglFramebuffer, ve, st, t.COLOR_ATTACHMENT0 + ut, t.TEXTURE_2D, 0), _(st, dt) && A(t.TEXTURE_2D);
70071
70071
  }
@@ -70097,23 +70097,23 @@ function Tpt(t, e, n, r, i, a, o) {
70097
70097
  let De = t.COLOR_BUFFER_BIT;
70098
70098
  const Ye = [], dt = ve.stencilBuffer ? t.DEPTH_STENCIL_ATTACHMENT : t.DEPTH_ATTACHMENT, ct = r.get(ve), ut = ve.isWebGLMultipleRenderTargets === !0;
70099
70099
  if (ut)
70100
- for (let St = 0; St < ue.length; St++)
70101
- n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglMultisampledFramebuffer), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0 + St, t.RENDERBUFFER, null), n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglFramebuffer), t.framebufferTexture2D(t.DRAW_FRAMEBUFFER, t.COLOR_ATTACHMENT0 + St, t.TEXTURE_2D, null, 0);
70100
+ for (let wt = 0; wt < ue.length; wt++)
70101
+ n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglMultisampledFramebuffer), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0 + wt, t.RENDERBUFFER, null), n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglFramebuffer), t.framebufferTexture2D(t.DRAW_FRAMEBUFFER, t.COLOR_ATTACHMENT0 + wt, t.TEXTURE_2D, null, 0);
70102
70102
  n.bindFramebuffer(t.READ_FRAMEBUFFER, ct.__webglMultisampledFramebuffer), n.bindFramebuffer(t.DRAW_FRAMEBUFFER, ct.__webglFramebuffer);
70103
- for (let St = 0; St < ue.length; St++) {
70104
- Ye.push(t.COLOR_ATTACHMENT0 + St), ve.depthBuffer && Ye.push(dt);
70103
+ for (let wt = 0; wt < ue.length; wt++) {
70104
+ Ye.push(t.COLOR_ATTACHMENT0 + wt), ve.depthBuffer && Ye.push(dt);
70105
70105
  const st = ct.__ignoreDepthValues !== void 0 ? ct.__ignoreDepthValues : !1;
70106
- if (st === !1 && (ve.depthBuffer && (De |= t.DEPTH_BUFFER_BIT), ve.stencilBuffer && (De |= t.STENCIL_BUFFER_BIT)), ut && t.framebufferRenderbuffer(t.READ_FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.RENDERBUFFER, ct.__webglColorRenderbuffer[St]), st === !0 && (t.invalidateFramebuffer(t.READ_FRAMEBUFFER, [dt]), t.invalidateFramebuffer(t.DRAW_FRAMEBUFFER, [dt])), ut) {
70107
- const Ue = r.get(ue[St]).__webglTexture;
70106
+ if (st === !1 && (ve.depthBuffer && (De |= t.DEPTH_BUFFER_BIT), ve.stencilBuffer && (De |= t.STENCIL_BUFFER_BIT)), ut && t.framebufferRenderbuffer(t.READ_FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.RENDERBUFFER, ct.__webglColorRenderbuffer[wt]), st === !0 && (t.invalidateFramebuffer(t.READ_FRAMEBUFFER, [dt]), t.invalidateFramebuffer(t.DRAW_FRAMEBUFFER, [dt])), ut) {
70107
+ const Ue = r.get(ue[wt]).__webglTexture;
70108
70108
  t.framebufferTexture2D(t.DRAW_FRAMEBUFFER, t.COLOR_ATTACHMENT0, t.TEXTURE_2D, Ue, 0);
70109
70109
  }
70110
70110
  t.blitFramebuffer(0, 0, Le, at, 0, 0, Le, at, De, t.NEAREST), p && t.invalidateFramebuffer(t.READ_FRAMEBUFFER, Ye);
70111
70111
  }
70112
70112
  if (n.bindFramebuffer(t.READ_FRAMEBUFFER, null), n.bindFramebuffer(t.DRAW_FRAMEBUFFER, null), ut)
70113
- for (let St = 0; St < ue.length; St++) {
70114
- n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglMultisampledFramebuffer), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0 + St, t.RENDERBUFFER, ct.__webglColorRenderbuffer[St]);
70115
- const st = r.get(ue[St]).__webglTexture;
70116
- n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglFramebuffer), t.framebufferTexture2D(t.DRAW_FRAMEBUFFER, t.COLOR_ATTACHMENT0 + St, t.TEXTURE_2D, st, 0);
70113
+ for (let wt = 0; wt < ue.length; wt++) {
70114
+ n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglMultisampledFramebuffer), t.framebufferRenderbuffer(t.FRAMEBUFFER, t.COLOR_ATTACHMENT0 + wt, t.RENDERBUFFER, ct.__webglColorRenderbuffer[wt]);
70115
+ const st = r.get(ue[wt]).__webglTexture;
70116
+ n.bindFramebuffer(t.FRAMEBUFFER, ct.__webglFramebuffer), t.framebufferTexture2D(t.DRAW_FRAMEBUFFER, t.COLOR_ATTACHMENT0 + wt, t.TEXTURE_2D, st, 0);
70117
70117
  }
70118
70118
  n.bindFramebuffer(t.DRAW_FRAMEBUFFER, ct.__webglMultisampledFramebuffer);
70119
70119
  }
@@ -70829,9 +70829,9 @@ class wX {
70829
70829
  } catch (je) {
70830
70830
  throw console.error("THREE.WebGLRenderer: " + je.message), je;
70831
70831
  }
70832
- let Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, St, st, Ue, ft, it, nt;
70832
+ let Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, wt, st, Ue, ft, it, nt;
70833
70833
  function Ct() {
70834
- Q = new Gft(re), be = new Fft(re, Q, e), Q.init(be), ft = new Ipt(re, Q, be), de = new _pt(re, Q, be), _e = new Xft(re), ke = new dpt(), He = new Tpt(re, Q, de, ke, be, ft, _e), Ne = new Vft(x), Se = new Hft(x), Ze = new rut(re, be), it = new kft(re, Q, Ze, be), ve = new jft(re, Ze, _e, it), ue = new qft(re, ve, Ze, _e), St = new Yft(re, be, He), dt = new Bft(ke), Le = new upt(x, Ne, Se, Q, be, it, dt), at = new Ppt(x, ke), De = new hpt(), Ye = new bpt(Q, be), ut = new Dft(x, Ne, Se, de, ue, h, c), ct = new Ept(x, ue, be), nt = new Rpt(re, _e, be, de), st = new Uft(re, Q, _e, be), Ue = new Wft(re, Q, _e, be), _e.programs = Le.programs, x.capabilities = be, x.extensions = Q, x.properties = ke, x.renderLists = De, x.shadowMap = ct, x.state = de, x.info = _e;
70834
+ Q = new Gft(re), be = new Fft(re, Q, e), Q.init(be), ft = new Ipt(re, Q, be), de = new _pt(re, Q, be), _e = new Xft(re), ke = new dpt(), He = new Tpt(re, Q, de, ke, be, ft, _e), Ne = new Vft(x), Se = new Hft(x), Ze = new rut(re, be), it = new kft(re, Q, Ze, be), ve = new jft(re, Ze, _e, it), ue = new qft(re, ve, Ze, _e), wt = new Yft(re, be, He), dt = new Bft(ke), Le = new upt(x, Ne, Se, Q, be, it, dt), at = new Ppt(x, ke), De = new hpt(), Ye = new bpt(Q, be), ut = new Dft(x, Ne, Se, de, ue, h, c), ct = new Ept(x, ue, be), nt = new Rpt(re, _e, be, de), st = new Uft(re, Q, _e, be), Ue = new Wft(re, Q, _e, be), _e.programs = Le.programs, x.capabilities = be, x.extensions = Q, x.properties = ke, x.renderLists = De, x.shadowMap = ct, x.state = de, x.info = _e;
70835
70835
  }
70836
70836
  Ct();
70837
70837
  const $e = new Opt(x, re);
@@ -71136,7 +71136,7 @@ class wX {
71136
71136
  Pr && (be.floatVertexTextures ? (Pr.boneTexture === null && Pr.computeBoneTexture(), xr.setValue(re, "boneTexture", Pr.boneTexture, He), xr.setValue(re, "boneTextureSize", Pr.boneTextureSize)) : console.warn("THREE.WebGLRenderer: SkinnedMesh can only be used with WebGL 2. With WebGL 1 OES_texture_float and vertex textures support is required."));
71137
71137
  }
71138
71138
  const sr = Dt.morphAttributes;
71139
- if ((sr.position !== void 0 || sr.normal !== void 0 || sr.color !== void 0 && be.isWebGL2 === !0) && St.update(Ut, Dt, Tn), (ar || on.receiveShadow !== Ut.receiveShadow) && (on.receiveShadow = Ut.receiveShadow, xr.setValue(re, "receiveShadow", Ut.receiveShadow)), Ft.isMeshGouraudMaterial && Ft.envMap !== null && (Hr.envMap.value = $n, Hr.flipEnvMap.value = $n.isCubeTexture && $n.isRenderTargetTexture === !1 ? -1 : 1), ar && (xr.setValue(re, "toneMappingExposure", x.toneMappingExposure), on.needsLights && Wn(Hr, Zr), Gt && Ft.fog === !0 && at.refreshFogUniforms(Hr, Gt), at.refreshMaterialUniforms(Hr, Ft, V, z, oe), zM.upload(re, on.uniformsList, Hr, He)), Ft.isShaderMaterial && Ft.uniformsNeedUpdate === !0 && (zM.upload(re, on.uniformsList, Hr, He), Ft.uniformsNeedUpdate = !1), Ft.isSpriteMaterial && xr.setValue(re, "center", Ut.center), xr.setValue(re, "modelViewMatrix", Ut.modelViewMatrix), xr.setValue(re, "normalMatrix", Ut.normalMatrix), xr.setValue(re, "modelMatrix", Ut.matrixWorld), Ft.isShaderMaterial || Ft.isRawShaderMaterial) {
71139
+ if ((sr.position !== void 0 || sr.normal !== void 0 || sr.color !== void 0 && be.isWebGL2 === !0) && wt.update(Ut, Dt, Tn), (ar || on.receiveShadow !== Ut.receiveShadow) && (on.receiveShadow = Ut.receiveShadow, xr.setValue(re, "receiveShadow", Ut.receiveShadow)), Ft.isMeshGouraudMaterial && Ft.envMap !== null && (Hr.envMap.value = $n, Hr.flipEnvMap.value = $n.isCubeTexture && $n.isRenderTargetTexture === !1 ? -1 : 1), ar && (xr.setValue(re, "toneMappingExposure", x.toneMappingExposure), on.needsLights && Wn(Hr, Zr), Gt && Ft.fog === !0 && at.refreshFogUniforms(Hr, Gt), at.refreshMaterialUniforms(Hr, Ft, V, z, oe), zM.upload(re, on.uniformsList, Hr, He)), Ft.isShaderMaterial && Ft.uniformsNeedUpdate === !0 && (zM.upload(re, on.uniformsList, Hr, He), Ft.uniformsNeedUpdate = !1), Ft.isSpriteMaterial && xr.setValue(re, "center", Ut.center), xr.setValue(re, "modelViewMatrix", Ut.modelViewMatrix), xr.setValue(re, "normalMatrix", Ut.normalMatrix), xr.setValue(re, "modelMatrix", Ut.matrixWorld), Ft.isShaderMaterial || Ft.isRawShaderMaterial) {
71140
71140
  const Pr = Ft.uniformsGroups;
71141
71141
  for (let Br = 0, ir = Pr.length; Br < ir; Br++)
71142
71142
  if (be.isWebGL2) {
@@ -77466,7 +77466,7 @@ const Me = {
77466
77466
  current: new td()
77467
77467
  }, ha = { current: 0.01 }, To = { current: -7 }, to = { current: -6 }, oo = { current: -8 }, Yi = {
77468
77468
  current: {}
77469
- }, Ca = {
77469
+ }, xa = {
77470
77470
  current: {}
77471
77471
  }, tv = { current: aoe ? JSON.parse(aoe) : !1 }, sb = {
77472
77472
  current: {}
@@ -77507,7 +77507,7 @@ const U3e = async (t, e) => {
77507
77507
  const f = new Ai(n);
77508
77508
  if (u.children[0].material.color.set(f), u.children[0].material.transparent = !0, d ? u.children[0].material.opacity = d : u.children[0].material.opacity = r || 1, u.children[0].material.depthTest = !0, u.children[0].material.side = Jf, e !== "Brain") {
77509
77509
  const g = u.clone(), m = new Fi(), b = new Ae(1, 0, 0);
77510
- m.set(1 - 2 * b.x * b.x, -2 * b.x * b.y, -2 * b.x * b.z, 0, -2 * b.x * b.y, 1 - 2 * b.y * b.y, -2 * b.y * b.z, 0, -2 * b.x * b.z, -2 * b.y * b.z, 1 - 2 * b.z * b.z, 0, 0, 0, 0, 1), g.applyMatrix4(m), g.translateX(-To.current), g.translateY(oo.current), g.translateZ(-to.current), g.name = e, g.myMeshType = a, g.children[0].name = e, g.children[0].myMeshType = a, Ca.current[e] = g, tv.current && Me.current.add(g);
77510
+ m.set(1 - 2 * b.x * b.x, -2 * b.x * b.y, -2 * b.x * b.z, 0, -2 * b.x * b.y, 1 - 2 * b.y * b.y, -2 * b.y * b.z, 0, -2 * b.x * b.z, -2 * b.y * b.z, 1 - 2 * b.z * b.z, 0, 0, 0, 0, 1), g.applyMatrix4(m), g.translateX(-To.current), g.translateY(oo.current), g.translateZ(-to.current), g.name = e, g.myMeshType = a, g.children[0].name = e, g.children[0].myMeshType = a, xa.current[e] = g, tv.current && Me.current.add(g);
77511
77511
  }
77512
77512
  e == "Brain" && u.scale.set(0.02, 0.02, 0.02), u.translateX(To.current), u.translateY(oo.current), u.translateZ(-to.current), u.name = e, u.myMeshType = a, u.children[0].name = e, u.children[0].myMeshType = a, Yi.current[e] = u, Me.current.add(Yi.current[e]);
77513
77513
  const h = new Ae(), p = new cl().setFromObject(u);
@@ -77616,7 +77616,7 @@ const Bgt = `
77616
77616
  uu.up = new Ae(0, -1, 0);
77617
77617
  let jgt = new URL(window.location.href), DX = new URLSearchParams(jgt.search), ooe = DX.get("datumMarkSelected"), soe = DX.get("coordinateVisibility"), loe = DX.get("brainContourOpacity");
77618
77618
  const Wgt = (t) => {
77619
- const { renderer: e, controls: n, vesselObj: r, currentRef: i, setHrefStr: a, datum: o, pointDatas: s, angleRef: c, jiaoduRef: u, mouseflag: d, menutagShow: f = !1, setMenuTagShow: h, menuTag: p, axis_font: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, checkItems: C, clickPoint: w, endPoint: _, setoutflag: A, fetchCoordinateFunc: R, outflagRef: M, setShowModeChoose: N, virusModeValue: k, pipelineClickEvent: B, setFocusVirusLineItem: H, responsefunc: F, mode: G, childRef: z, setSwcItem: V, t: j, setCheckItems: Y, vesselRef: W, setVesselStr: Z, setLableStr: te, vesselStr: se, lableStr: q, sectionsInfoRef: ne, setSectionsInfo: oe, Luguchecked: ie, gridShow: ee, setNodeStr: me, regionData: pe } = t, he = localStorage.getItem("lang"), re = Je(new eL()), [xe, Q] = mt(), [be, de] = mt(), [_e, ke] = mt(), He = Je(0), Ne = Je(0), Se = Je(0), Ze = Je(new Ae(0, 0, 0)), ve = Je(new Ae(0, 0, 0)), ue = Je(new Ae(0, 0, 0)), Le = Je(new Ae(0, 0, 0)), at = Je(new Ae(0, 0, 0)), De = Je(new Ae(0, 0, 0)), Ye = Je(new Ae(0, 0, 0)), dt = Je(new _3e("")), [ct, ut] = mt(!1), St = Je(), st = Je(), Ue = Je(), ft = Je(), it = Je(), nt = Je(), Ct = Je(), $e = Je([]), Lt = Je([]), [At, kt] = mt(ooe ? JSON.parse(ooe) : new Ae(0.26, 0.71, -0.08)), Ot = Je(), Vt = Je(new Ae(0.19349875732421928, -5.132283, -2.76992)), [Xt, hn] = mt({});
77619
+ const { renderer: e, controls: n, vesselObj: r, currentRef: i, setHrefStr: a, datum: o, pointDatas: s, angleRef: c, jiaoduRef: u, mouseflag: d, menutagShow: f = !1, setMenuTagShow: h, menuTag: p, axis_font: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, checkItems: C, clickPoint: w, endPoint: _, setoutflag: A, fetchCoordinateFunc: R, outflagRef: M, setShowModeChoose: N, virusModeValue: k, pipelineClickEvent: B, setFocusVirusLineItem: H, responsefunc: F, mode: G, childRef: z, setSwcItem: V, t: j, setCheckItems: Y, vesselRef: W, setVesselStr: Z, setLableStr: te, vesselStr: se, lableStr: q, sectionsInfoRef: ne, setSectionsInfo: oe, Luguchecked: ie, gridShow: ee, setNodeStr: me, regionData: pe } = t, he = localStorage.getItem("lang"), re = Je(new eL()), [xe, Q] = mt(), [be, de] = mt(), [_e, ke] = mt(), He = Je(0), Ne = Je(0), Se = Je(0), Ze = Je(new Ae(0, 0, 0)), ve = Je(new Ae(0, 0, 0)), ue = Je(new Ae(0, 0, 0)), Le = Je(new Ae(0, 0, 0)), at = Je(new Ae(0, 0, 0)), De = Je(new Ae(0, 0, 0)), Ye = Je(new Ae(0, 0, 0)), dt = Je(new _3e("")), [ct, ut] = mt(!1), wt = Je(), st = Je(), Ue = Je(), ft = Je(), it = Je(), nt = Je(), Ct = Je(), $e = Je([]), Lt = Je([]), [At, kt] = mt(ooe ? JSON.parse(ooe) : new Ae(0.26, 0.71, -0.08)), Ot = Je(), Vt = Je(new Ae(0.19349875732421928, -5.132283, -2.76992)), [Xt, hn] = mt({});
77620
77620
  Je(new dr(new du(0.07, 32, 32), new Ul({ color: 16711680, transparent: !0 })));
77621
77621
  const wn = Je(new dr(new du(0.065, 32, 32), new Ul({ color: 392960, transparent: !0 }))), In = Je(new dr(new du(0.025, 32, 32), new Ul({ color: 392960, transparent: !0 }))), jn = Je(new _r()), rn = Je(new Jd()), Or = Je(!1), Vn = Je(new Jd()), xn = Je(new Ga()), Un = Je(new Uh(Ggt)), pn = Je(!1);
77622
77622
  Je(null);
@@ -77668,7 +77668,7 @@ const Wgt = (t) => {
77668
77668
  }
77669
77669
  };
77670
77670
  En(() => {
77671
- var nn, _t, dn, Et, Zn, An, Rr, Ci, or, ui, yn, tr, cn, Rn, zn, wr, Gr, Vr, Wr, bi, io, Aa, Ho, No, Di, co, Sn, vt, Ie, We, rt, tt, pt, bt, ot, ye, ce, Be, ze, Pe, gt, Bt, $t, tn, wt, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a, mi, ti, na, Ko, Ma, Mo, hl, Ml, us, yo, ka, is;
77671
+ var nn, _t, dn, Et, Zn, An, Rr, Ci, or, ui, yn, tr, cn, Rn, zn, wr, Gr, Vr, Wr, bi, io, Aa, Ho, No, Di, co, Sn, vt, Ie, We, rt, tt, pt, bt, ot, ye, ce, Be, ze, Pe, gt, Bt, $t, tn, St, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a, mi, ti, na, Ko, Ma, Mo, hl, Ml, us, yo, ka, is;
77672
77672
  if (ie) {
77673
77673
  const Js = ["test_behind", "test_front", "test_left", "test_right", "test_bootom", "test_top"];
77674
77674
  for (let $s of Js) {
@@ -77682,15 +77682,15 @@ const Wgt = (t) => {
77682
77682
  let ur = Me.current.getObjectByName($s);
77683
77683
  ur && Me.current.remove(ur);
77684
77684
  }
77685
- v && (v.current = []), (ce = it.current) != null && ce.mouseLine_w && Me.current.remove((Be = it.current) == null ? void 0 : Be.mouseLine_w), (ze = it.current) != null && ze.mouseLine_h && Me.current.remove((Pe = it.current) == null ? void 0 : Pe.mouseLine_h), typeof ((gt = it.current) == null ? void 0 : gt.coordText) == "object" && Me.current.remove(it.current.coordText), typeof ((Bt = it.current) == null ? void 0 : Bt.coordTextReverse) == "object" && Me.current.remove(it.current.coordTextReverse), ($t = ft.current) != null && $t.mouseLine_w && Me.current.remove((tn = ft.current) == null ? void 0 : tn.mouseLine_w), (wt = ft.current) != null && wt.mouseLine_h && Me.current.remove((Wt = ft.current) == null ? void 0 : Wt.mouseLine_h), typeof ((Jn = ft.current) == null ? void 0 : Jn.coordText) == "object" && Me.current.remove(ft.current.coordText), typeof ((mr = ft.current) == null ? void 0 : mr.coordTextReverse) == "object" && Me.current.remove(ft.current.coordTextReverse), (Hn = Ct.current) != null && Hn.mouseLine_w && Me.current.remove((On = Ct.current) == null ? void 0 : On.mouseLine_w), (ei = Ct.current) != null && ei.mouseLine_h && Me.current.remove((ii = Ct.current) == null ? void 0 : ii.mouseLine_h), typeof ((fn = Ct.current) == null ? void 0 : fn.coordText) == "object" && Me.current.remove(Ct.current.coordText), typeof ((qt = Ct.current) == null ? void 0 : qt.coordTextReverse) == "object" && Me.current.remove(Ct.current.coordTextReverse), (di = nt.current) != null && di.mouseLine_w && Me.current.remove((Dr = nt.current) == null ? void 0 : Dr.mouseLine_w), (Kr = nt.current) != null && Kr.mouseLine_h && Me.current.remove((rs = nt.current) == null ? void 0 : rs.mouseLine_h), typeof ((Da = nt.current) == null ? void 0 : Da.coordText) == "object" && Me.current.remove(nt.current.coordText), typeof (($a = nt.current) == null ? void 0 : $a.coordTextReverse) == "object" && Me.current.remove(nt.current.coordTextReverse), (mi = Ue.current) != null && mi.mouseLine_w && Me.current.remove((ti = Ue.current) == null ? void 0 : ti.mouseLine_w), (na = Ue.current) != null && na.mouseLine_h && Me.current.remove((Ko = Ue.current) == null ? void 0 : Ko.mouseLine_h), typeof ((Ma = Ue.current) == null ? void 0 : Ma.coordText_lb) == "object" && Me.current.remove(Ue.current.coordText_lb), typeof ((Mo = Ue.current) == null ? void 0 : Mo.coordText_rb) == "object" && Me.current.remove(Ue.current.coordText_rb), typeof ((hl = Ue.current) == null ? void 0 : hl.coordText_rf) == "object" && Me.current.remove(Ue.current.coordText_rf), typeof ((Ml = Ue.current) == null ? void 0 : Ml.coordText_lf) == "object" && Me.current.remove(Ue.current.coordText_lf), (us = st.current) != null && us.mouseLine_w && Me.current.remove((yo = st.current) == null ? void 0 : yo.mouseLine_w), (ka = st.current) != null && ka.mouseLine_h && Me.current.remove((is = st.current) == null ? void 0 : is.mouseLine_h), Ut && Ht();
77685
+ v && (v.current = []), (ce = it.current) != null && ce.mouseLine_w && Me.current.remove((Be = it.current) == null ? void 0 : Be.mouseLine_w), (ze = it.current) != null && ze.mouseLine_h && Me.current.remove((Pe = it.current) == null ? void 0 : Pe.mouseLine_h), typeof ((gt = it.current) == null ? void 0 : gt.coordText) == "object" && Me.current.remove(it.current.coordText), typeof ((Bt = it.current) == null ? void 0 : Bt.coordTextReverse) == "object" && Me.current.remove(it.current.coordTextReverse), ($t = ft.current) != null && $t.mouseLine_w && Me.current.remove((tn = ft.current) == null ? void 0 : tn.mouseLine_w), (St = ft.current) != null && St.mouseLine_h && Me.current.remove((Wt = ft.current) == null ? void 0 : Wt.mouseLine_h), typeof ((Jn = ft.current) == null ? void 0 : Jn.coordText) == "object" && Me.current.remove(ft.current.coordText), typeof ((mr = ft.current) == null ? void 0 : mr.coordTextReverse) == "object" && Me.current.remove(ft.current.coordTextReverse), (Hn = Ct.current) != null && Hn.mouseLine_w && Me.current.remove((On = Ct.current) == null ? void 0 : On.mouseLine_w), (ei = Ct.current) != null && ei.mouseLine_h && Me.current.remove((ii = Ct.current) == null ? void 0 : ii.mouseLine_h), typeof ((fn = Ct.current) == null ? void 0 : fn.coordText) == "object" && Me.current.remove(Ct.current.coordText), typeof ((qt = Ct.current) == null ? void 0 : qt.coordTextReverse) == "object" && Me.current.remove(Ct.current.coordTextReverse), (di = nt.current) != null && di.mouseLine_w && Me.current.remove((Dr = nt.current) == null ? void 0 : Dr.mouseLine_w), (Kr = nt.current) != null && Kr.mouseLine_h && Me.current.remove((rs = nt.current) == null ? void 0 : rs.mouseLine_h), typeof ((Da = nt.current) == null ? void 0 : Da.coordText) == "object" && Me.current.remove(nt.current.coordText), typeof (($a = nt.current) == null ? void 0 : $a.coordTextReverse) == "object" && Me.current.remove(nt.current.coordTextReverse), (mi = Ue.current) != null && mi.mouseLine_w && Me.current.remove((ti = Ue.current) == null ? void 0 : ti.mouseLine_w), (na = Ue.current) != null && na.mouseLine_h && Me.current.remove((Ko = Ue.current) == null ? void 0 : Ko.mouseLine_h), typeof ((Ma = Ue.current) == null ? void 0 : Ma.coordText_lb) == "object" && Me.current.remove(Ue.current.coordText_lb), typeof ((Mo = Ue.current) == null ? void 0 : Mo.coordText_rb) == "object" && Me.current.remove(Ue.current.coordText_rb), typeof ((hl = Ue.current) == null ? void 0 : hl.coordText_rf) == "object" && Me.current.remove(Ue.current.coordText_rf), typeof ((Ml = Ue.current) == null ? void 0 : Ml.coordText_lf) == "object" && Me.current.remove(Ue.current.coordText_lf), (us = st.current) != null && us.mouseLine_w && Me.current.remove((yo = st.current) == null ? void 0 : yo.mouseLine_w), (ka = st.current) != null && ka.mouseLine_h && Me.current.remove((is = st.current) == null ? void 0 : is.mouseLine_h), Ut && Ht();
77686
77686
  }
77687
77687
  }, [ie, Ut]);
77688
77688
  const Ht = () => {
77689
77689
  ue.current = tL.max.clone().multiplyScalar(ha.current).add(new Ae(To.current, to.current, oo.current)), Le.current = tL.min.clone().multiplyScalar(ha.current).add(new Ae(To.current, to.current, oo.current));
77690
77690
  let nn = ue.current.x - Le.current.x, _t = ue.current.y - Le.current.y, dn = ue.current.z - Le.current.z;
77691
- He.current = 12 / nn, Ne.current = 10 / _t, Se.current = 14 / dn, at.current = new Ae((ue.current.x + Le.current.x) / 2, Le.current.y - (ue.current.y - Le.current.y) * 150 / 9e3, Le.current.z + 0.4 * (ue.current.z - Le.current.z)), De.current = new Ae(at.current.x - 6 / He.current, at.current.y, Le.current.z), Ye.current = new Ae(at.current.x + 6 / He.current, at.current.y + 10 / Ne.current, ue.current.z), St.current ? Ki() : new QO().load(pe + "fonts/helvetiker_bold.typeface.json", function(Zn) {
77691
+ He.current = 12 / nn, Ne.current = 10 / _t, Se.current = 14 / dn, at.current = new Ae((ue.current.x + Le.current.x) / 2, Le.current.y - (ue.current.y - Le.current.y) * 150 / 9e3, Le.current.z + 0.4 * (ue.current.z - Le.current.z)), De.current = new Ae(at.current.x - 6 / He.current, at.current.y, Le.current.z), Ye.current = new Ae(at.current.x + 6 / He.current, at.current.y + 10 / Ne.current, ue.current.z), wt.current ? Ki() : new QO().load(pe + "fonts/helvetiker_bold.typeface.json", function(Zn) {
77692
77692
  dt.current = Zn, fetch(`${pe}/data/TreeData/nucleus.json`).then((An) => An.json()).then((An) => {
77693
- St.current = An, Ur();
77693
+ wt.current = An, Ur();
77694
77694
  });
77695
77695
  });
77696
77696
  }, Pt = (nn, _t) => {
@@ -77806,7 +77806,7 @@ const Wgt = (t) => {
77806
77806
  }
77807
77807
  if (dn == "FBX") {
77808
77808
  let ye = rn.current.children[0].geometry.boundingBox, ce = ((ye.max.x - ye.min.x) * He.current / 100).toFixed(2), Be = ((ye.max.z - ye.min.z) * Se.current / 100).toFixed(2), ze = ((ye.max.y - ye.min.y) * Ne.current / 100).toFixed(2), Pe = (An.x - Rr.x).toFixed(2), gt = (An.y - Rr.y).toFixed(2), Bt = -(An.z - Rr.z).toFixed(2);
77809
- _t != "" && (Zn = `<span style='font-weight:bold'>${St.current[_t] + "(" + _t + ")"}</span><br>
77809
+ _t != "" && (Zn = `<span style='font-weight:bold'>${wt.current[_t] + "(" + _t + ")"}</span><br>
77810
77810
  <span style='font-weight:bold'>SIZE: </span>M-L ${ce}mm / D-V ${ze}mm / A-P ${Be}mm<br>
77811
77811
  <span style='font-weight:bold'>Mouse Position: </span><span style='font-weight:normal'>M-L </span>${Pe}mm /<span style='font-weight:normal'> D-V </span>${gt}mm /<span style='font-weight:normal'> A-P </span>${Bt}mm<br>
77812
77812
  `);
@@ -77866,7 +77866,7 @@ const Wgt = (t) => {
77866
77866
  }
77867
77867
  return ui;
77868
77868
  }, Hr = () => {
77869
- var ui, yn, tr, cn, Rn, zn, wr, Gr, Vr, Wr, bi, io, Aa, Ho, No, Di, co, Sn, vt, Ie, We, rt, tt, pt, bt, ot, ye, ce, Be, ze, Pe, gt, Bt, $t, tn, wt, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a, mi, ti, na, Ko, Ma, Mo, hl, Ml, us, yo, ka, is, Js, $s, ur, ds, _s, zs, fs, uo, qa, Go, Do, Ja, Jl, Ll, ko, ts, Yo, Ql, Uo, pl, oc, vl, sc, Ol, gl, bc, xs, lc, cc, xc, Cc, il, Cu, qo, al, Jo, Hs, wc, fd, wu, Vu, $u, Pl, uc, hd, ml, zu, Sc, Hu, ol, Su, Gs, Ts, yl, js, Mi, xa, $c, Eu, zc, Gu, iu, ju, au, ou, ec, su, hs, S, D, X, le, Ce, qe, Nt, an, vn, rr, Yr, Ii, qi, as, Qa, os, ps, Vl, bl, _u, Ec, tc, xl, $l, bo, lu, Tu, ss, Wu, Is, Cs, Rl, pd, cu, Iu;
77869
+ var ui, yn, tr, cn, Rn, zn, wr, Gr, Vr, Wr, bi, io, Aa, Ho, No, Di, co, Sn, vt, Ie, We, rt, tt, pt, bt, ot, ye, ce, Be, ze, Pe, gt, Bt, $t, tn, St, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a, mi, ti, na, Ko, Ma, Mo, hl, Ml, us, yo, ka, is, Js, $s, ur, ds, _s, zs, fs, uo, qa, Go, Do, Ja, Jl, Ll, ko, ts, Yo, Ql, Uo, pl, oc, vl, sc, Ol, gl, bc, xs, lc, cc, xc, Cc, il, Cu, qo, al, Jo, Hs, wc, fd, wu, Vu, $u, Pl, uc, hd, ml, zu, Sc, Hu, ol, Su, Gs, Ts, yl, js, Mi, Sa, $c, Eu, zc, Gu, iu, ju, au, ou, ec, su, hs, S, D, X, le, Ce, qe, Nt, an, vn, rr, Yr, Ii, qi, as, Qa, os, ps, Vl, bl, _u, Ec, tc, xl, $l, bo, lu, Tu, ss, Wu, Is, Cs, Rl, pd, cu, Iu;
77870
77870
  let nn = n.current.target.clone().sub(Ni.current.position.clone()), _t, dn, Et, Zn = !1, An = !1, Rr = !1, Ci = !1, or = Ni.current.up.y <= 0;
77871
77871
  or ? ((yn = (ui = Ue.current) == null ? void 0 : ui.coordText_lb) == null || yn.children.forEach((dc) => {
77872
77872
  dc.up.set(0, -1, 0);
@@ -77884,7 +77884,7 @@ const Wgt = (t) => {
77884
77884
  dc.up.set(0, 1, 0);
77885
77885
  }), (Di = (No = Ue.current) == null ? void 0 : No.coordText_rb) == null || Di.children.forEach((dc) => {
77886
77886
  dc.up.set(0, 1, 0);
77887
- })), _t = (co = it.current) == null ? void 0 : co.normalVector, Et = it, dn = _t && nn.dot(_t), An = !1, (Sn = Et.current) != null && Sn.coordMesh && Me.current.remove((vt = Et.current) == null ? void 0 : vt.coordMesh), (Ie = Et.current) != null && Ie.mouseLine_w && Me.current.remove((We = Et.current) == null ? void 0 : We.mouseLine_w), (rt = Et.current) != null && rt.mouseLine_h && Me.current.remove((tt = Et.current) == null ? void 0 : tt.mouseLine_h), typeof ((pt = Et.current) == null ? void 0 : pt.coordText) == "object" && Me.current.remove((bt = Et.current) == null ? void 0 : bt.coordText), typeof ((ot = Et.current) == null ? void 0 : ot.coordTextReverse) == "object" && Me.current.remove((ye = Et.current) == null ? void 0 : ye.coordTextReverse), dn && dn >= 0 && (An = !0, (ce = Et.current) != null && ce.coordMesh && Me.current.add((Be = Et.current) == null ? void 0 : Be.coordMesh), (ze = Et.current) != null && ze.mouseLine_w && Me.current.add((Pe = Et.current) == null ? void 0 : Pe.mouseLine_w), (gt = Et.current) != null && gt.mouseLine_h && Me.current.add((Bt = Et.current) == null ? void 0 : Bt.mouseLine_h), or ? typeof (($t = Et.current) == null ? void 0 : $t.coordText) == "object" && Me.current.add((tn = Et.current) == null ? void 0 : tn.coordText) : typeof ((wt = Et.current) == null ? void 0 : wt.coordTextReverse) == "object" && Me.current.add((Wt = Et.current) == null ? void 0 : Wt.coordTextReverse)), _t = (Jn = ft.current) == null ? void 0 : Jn.normalVector, Et = ft, dn = _t && nn.dot(_t), Zn = !1, (mr = Et.current) != null && mr.coordMesh && Me.current.remove((Hn = Et.current) == null ? void 0 : Hn.coordMesh), (On = Et.current) != null && On.mouseLine_w && Me.current.remove((ei = Et.current) == null ? void 0 : ei.mouseLine_w), (ii = Et.current) != null && ii.mouseLine_h && Me.current.remove((fn = Et.current) == null ? void 0 : fn.mouseLine_h), typeof ((qt = Et.current) == null ? void 0 : qt.coordText) == "object" && Me.current.remove((di = Et.current) == null ? void 0 : di.coordText), typeof ((Dr = Et.current) == null ? void 0 : Dr.coordTextReverse) == "object" && Me.current.remove((Kr = Et.current) == null ? void 0 : Kr.coordTextReverse), dn && dn >= 0 && (Zn = !0, (rs = Et.current) != null && rs.coordMesh && Me.current.add((Da = Et.current) == null ? void 0 : Da.coordMesh), ($a = Et.current) != null && $a.mouseLine_w && Me.current.add((mi = Et.current) == null ? void 0 : mi.mouseLine_w), (ti = Et.current) != null && ti.mouseLine_h && Me.current.add((na = Et.current) == null ? void 0 : na.mouseLine_h), or ? typeof ((Ko = Et.current) == null ? void 0 : Ko.coordText) == "object" && Me.current.add((Ma = Et.current) == null ? void 0 : Ma.coordText) : typeof ((Mo = Et.current) == null ? void 0 : Mo.coordTextReverse) == "object" && Me.current.add((hl = Et.current) == null ? void 0 : hl.coordTextReverse)), _t = (Ml = Ct.current) == null ? void 0 : Ml.normalVector, Et = Ct, dn = _t && nn.dot(_t), Rr = !1, (us = Et.current) != null && us.coordMesh && Me.current.remove((yo = Et.current) == null ? void 0 : yo.coordMesh), (ka = Et.current) != null && ka.mouseLine_w && Me.current.remove((is = Et.current) == null ? void 0 : is.mouseLine_w), (Js = Et.current) != null && Js.mouseLine_h && Me.current.remove(($s = Et.current) == null ? void 0 : $s.mouseLine_h), typeof ((ur = Et.current) == null ? void 0 : ur.coordText) == "object" && Me.current.remove((ds = Et.current) == null ? void 0 : ds.coordText), typeof ((_s = Et.current) == null ? void 0 : _s.coordTextReverse) == "object" && Me.current.remove((zs = Et.current) == null ? void 0 : zs.coordTextReverse), dn && dn >= 0 && (Rr = !0, (fs = Et.current) != null && fs.coordMesh && Me.current.add((uo = Et.current) == null ? void 0 : uo.coordMesh), (qa = Et.current) != null && qa.mouseLine_w && Me.current.add((Go = Et.current) == null ? void 0 : Go.mouseLine_w), (Do = Et.current) != null && Do.mouseLine_h && Me.current.add((Ja = Et.current) == null ? void 0 : Ja.mouseLine_h), or ? typeof ((Jl = Et.current) == null ? void 0 : Jl.coordText) == "object" && Me.current.add((Ll = Et.current) == null ? void 0 : Ll.coordText) : typeof ((ko = Et.current) == null ? void 0 : ko.coordTextReverse) == "object" && Me.current.add((ts = Et.current) == null ? void 0 : ts.coordTextReverse)), _t = (Yo = nt.current) == null ? void 0 : Yo.normalVector, Et = nt, dn = _t && nn.dot(_t), Ci = !1, (Ql = Et.current) != null && Ql.coordMesh && Me.current.remove((Uo = Et.current) == null ? void 0 : Uo.coordMesh), (pl = Et.current) != null && pl.mouseLine_w && Me.current.remove((oc = Et.current) == null ? void 0 : oc.mouseLine_w), (vl = Et.current) != null && vl.mouseLine_h && Me.current.remove((sc = Et.current) == null ? void 0 : sc.mouseLine_h), typeof ((Ol = Et.current) == null ? void 0 : Ol.coordText) == "object" && Me.current.remove((gl = Et.current) == null ? void 0 : gl.coordText), typeof ((bc = Et.current) == null ? void 0 : bc.coordTextReverse) == "object" && Me.current.remove((xs = Et.current) == null ? void 0 : xs.coordTextReverse), dn && dn >= 0 && (Ci = !0, (lc = Et.current) != null && lc.coordMesh && Me.current.add((cc = Et.current) == null ? void 0 : cc.coordMesh), (xc = Et.current) != null && xc.mouseLine_w && Me.current.add((Cc = Et.current) == null ? void 0 : Cc.mouseLine_w), (il = Et.current) != null && il.mouseLine_h && Me.current.add((Cu = Et.current) == null ? void 0 : Cu.mouseLine_h), or ? typeof ((qo = Et.current) == null ? void 0 : qo.coordText) == "object" && Me.current.add((al = Et.current) == null ? void 0 : al.coordText) : typeof ((Jo = Et.current) == null ? void 0 : Jo.coordTextReverse) == "object" && Me.current.add((Hs = Et.current) == null ? void 0 : Hs.coordTextReverse)), _t = (wc = Ue.current) == null ? void 0 : wc.normalVector, Et = Ue, dn = _t && nn.dot(_t), dn && dn >= 0 ? ((fd = Et.current) != null && fd.coordMesh && Me.current.add((wu = Et.current) == null ? void 0 : wu.coordMesh), (Vu = Et.current) != null && Vu.mouseLine_w && Me.current.add(($u = Et.current) == null ? void 0 : $u.mouseLine_w), (Pl = Et.current) != null && Pl.mouseLine_h && Me.current.add((uc = Et.current) == null ? void 0 : uc.mouseLine_h), (hd = Et.current) != null && hd.coordText_lb && Me.current.remove((ml = Et.current) == null ? void 0 : ml.coordText_lb), (zu = Et.current) != null && zu.coordText_rb && Me.current.remove((Sc = Et.current) == null ? void 0 : Sc.coordText_rb), (Hu = Et.current) != null && Hu.coordText_lf && Me.current.remove((ol = Et.current) == null ? void 0 : ol.coordText_lf), (Su = Et.current) != null && Su.coordText_rf && Me.current.remove((Gs = Et.current) == null ? void 0 : Gs.coordText_rf), An && Rr ? (Ts = Et.current) != null && Ts.coordText_lb && Me.current.add((yl = Et.current) == null ? void 0 : yl.coordText_lb) : An && Ci ? (js = Et.current) != null && js.coordText_rb && Me.current.add((Mi = Et.current) == null ? void 0 : Mi.coordText_rb) : Zn && Ci ? (xa = Et.current) != null && xa.coordText_rf && Me.current.add(($c = Et.current) == null ? void 0 : $c.coordText_rf) : Zn && Rr && (Eu = Et.current) != null && Eu.coordText_lf && Me.current.add((zc = Et.current) == null ? void 0 : zc.coordText_lf)) : ((Gu = Et.current) != null && Gu.coordMesh && Me.current.remove((iu = Et.current) == null ? void 0 : iu.coordMesh), (ju = Et.current) != null && ju.mouseLine_w && Me.current.remove((au = Et.current) == null ? void 0 : au.mouseLine_w), (ou = Et.current) != null && ou.mouseLine_h && Me.current.remove((ec = Et.current) == null ? void 0 : ec.mouseLine_h), (su = Et.current) != null && su.coordText_lb && Me.current.remove((hs = Et.current) == null ? void 0 : hs.coordText_lb), (S = Et.current) != null && S.coordText_rb && Me.current.remove((D = Et.current) == null ? void 0 : D.coordText_rb), (X = Et.current) != null && X.coordText_lf && Me.current.remove((le = Et.current) == null ? void 0 : le.coordText_lf), (Ce = Et.current) != null && Ce.coordText_rf && Me.current.remove((qe = Et.current) == null ? void 0 : qe.coordText_rf)), _t = (Nt = st.current) == null ? void 0 : Nt.normalVector, Et = st, dn = _t && nn.dot(_t), dn && dn >= 0 ? ((an = Et.current) != null && an.coordMesh && Me.current.add((vn = Et.current) == null ? void 0 : vn.coordMesh), (rr = Et.current) != null && rr.mouseLine_w && Me.current.add((Yr = Et.current) == null ? void 0 : Yr.mouseLine_w), (Ii = Et.current) != null && Ii.mouseLine_h && Me.current.add((qi = Et.current) == null ? void 0 : qi.mouseLine_h), (as = Ue.current) != null && as.coordText_lb && Me.current.remove((Qa = Ue.current) == null ? void 0 : Qa.coordText_lb), (os = Ue.current) != null && os.coordText_rb && Me.current.remove((ps = Ue.current) == null ? void 0 : ps.coordText_rb), (Vl = Ue.current) != null && Vl.coordText_lf && Me.current.remove((bl = Ue.current) == null ? void 0 : bl.coordText_lf), (_u = Ue.current) != null && _u.coordText_rf && Me.current.remove((Ec = Ue.current) == null ? void 0 : Ec.coordText_rf), An && Rr ? (tc = Ue.current) != null && tc.coordText_lb && Me.current.add((xl = Ue.current) == null ? void 0 : xl.coordText_lb) : An && Ci ? ($l = Ue.current) != null && $l.coordText_rb && Me.current.add((bo = Ue.current) == null ? void 0 : bo.coordText_rb) : Zn && Ci ? (lu = Ue.current) != null && lu.coordText_rf && Me.current.add((Tu = Ue.current) == null ? void 0 : Tu.coordText_rf) : Zn && Rr && (ss = Ue.current) != null && ss.coordText_lf && Me.current.add((Wu = Ue.current) == null ? void 0 : Wu.coordText_lf)) : ((Is = Et.current) != null && Is.coordMesh && Me.current.remove((Cs = Et.current) == null ? void 0 : Cs.coordMesh), (Rl = Et.current) != null && Rl.mouseLine_w && Me.current.remove((pd = Et.current) == null ? void 0 : pd.mouseLine_w), (cu = Et.current) != null && cu.mouseLine_h && Me.current.remove((Iu = Et.current) == null ? void 0 : Iu.mouseLine_h));
77887
+ })), _t = (co = it.current) == null ? void 0 : co.normalVector, Et = it, dn = _t && nn.dot(_t), An = !1, (Sn = Et.current) != null && Sn.coordMesh && Me.current.remove((vt = Et.current) == null ? void 0 : vt.coordMesh), (Ie = Et.current) != null && Ie.mouseLine_w && Me.current.remove((We = Et.current) == null ? void 0 : We.mouseLine_w), (rt = Et.current) != null && rt.mouseLine_h && Me.current.remove((tt = Et.current) == null ? void 0 : tt.mouseLine_h), typeof ((pt = Et.current) == null ? void 0 : pt.coordText) == "object" && Me.current.remove((bt = Et.current) == null ? void 0 : bt.coordText), typeof ((ot = Et.current) == null ? void 0 : ot.coordTextReverse) == "object" && Me.current.remove((ye = Et.current) == null ? void 0 : ye.coordTextReverse), dn && dn >= 0 && (An = !0, (ce = Et.current) != null && ce.coordMesh && Me.current.add((Be = Et.current) == null ? void 0 : Be.coordMesh), (ze = Et.current) != null && ze.mouseLine_w && Me.current.add((Pe = Et.current) == null ? void 0 : Pe.mouseLine_w), (gt = Et.current) != null && gt.mouseLine_h && Me.current.add((Bt = Et.current) == null ? void 0 : Bt.mouseLine_h), or ? typeof (($t = Et.current) == null ? void 0 : $t.coordText) == "object" && Me.current.add((tn = Et.current) == null ? void 0 : tn.coordText) : typeof ((St = Et.current) == null ? void 0 : St.coordTextReverse) == "object" && Me.current.add((Wt = Et.current) == null ? void 0 : Wt.coordTextReverse)), _t = (Jn = ft.current) == null ? void 0 : Jn.normalVector, Et = ft, dn = _t && nn.dot(_t), Zn = !1, (mr = Et.current) != null && mr.coordMesh && Me.current.remove((Hn = Et.current) == null ? void 0 : Hn.coordMesh), (On = Et.current) != null && On.mouseLine_w && Me.current.remove((ei = Et.current) == null ? void 0 : ei.mouseLine_w), (ii = Et.current) != null && ii.mouseLine_h && Me.current.remove((fn = Et.current) == null ? void 0 : fn.mouseLine_h), typeof ((qt = Et.current) == null ? void 0 : qt.coordText) == "object" && Me.current.remove((di = Et.current) == null ? void 0 : di.coordText), typeof ((Dr = Et.current) == null ? void 0 : Dr.coordTextReverse) == "object" && Me.current.remove((Kr = Et.current) == null ? void 0 : Kr.coordTextReverse), dn && dn >= 0 && (Zn = !0, (rs = Et.current) != null && rs.coordMesh && Me.current.add((Da = Et.current) == null ? void 0 : Da.coordMesh), ($a = Et.current) != null && $a.mouseLine_w && Me.current.add((mi = Et.current) == null ? void 0 : mi.mouseLine_w), (ti = Et.current) != null && ti.mouseLine_h && Me.current.add((na = Et.current) == null ? void 0 : na.mouseLine_h), or ? typeof ((Ko = Et.current) == null ? void 0 : Ko.coordText) == "object" && Me.current.add((Ma = Et.current) == null ? void 0 : Ma.coordText) : typeof ((Mo = Et.current) == null ? void 0 : Mo.coordTextReverse) == "object" && Me.current.add((hl = Et.current) == null ? void 0 : hl.coordTextReverse)), _t = (Ml = Ct.current) == null ? void 0 : Ml.normalVector, Et = Ct, dn = _t && nn.dot(_t), Rr = !1, (us = Et.current) != null && us.coordMesh && Me.current.remove((yo = Et.current) == null ? void 0 : yo.coordMesh), (ka = Et.current) != null && ka.mouseLine_w && Me.current.remove((is = Et.current) == null ? void 0 : is.mouseLine_w), (Js = Et.current) != null && Js.mouseLine_h && Me.current.remove(($s = Et.current) == null ? void 0 : $s.mouseLine_h), typeof ((ur = Et.current) == null ? void 0 : ur.coordText) == "object" && Me.current.remove((ds = Et.current) == null ? void 0 : ds.coordText), typeof ((_s = Et.current) == null ? void 0 : _s.coordTextReverse) == "object" && Me.current.remove((zs = Et.current) == null ? void 0 : zs.coordTextReverse), dn && dn >= 0 && (Rr = !0, (fs = Et.current) != null && fs.coordMesh && Me.current.add((uo = Et.current) == null ? void 0 : uo.coordMesh), (qa = Et.current) != null && qa.mouseLine_w && Me.current.add((Go = Et.current) == null ? void 0 : Go.mouseLine_w), (Do = Et.current) != null && Do.mouseLine_h && Me.current.add((Ja = Et.current) == null ? void 0 : Ja.mouseLine_h), or ? typeof ((Jl = Et.current) == null ? void 0 : Jl.coordText) == "object" && Me.current.add((Ll = Et.current) == null ? void 0 : Ll.coordText) : typeof ((ko = Et.current) == null ? void 0 : ko.coordTextReverse) == "object" && Me.current.add((ts = Et.current) == null ? void 0 : ts.coordTextReverse)), _t = (Yo = nt.current) == null ? void 0 : Yo.normalVector, Et = nt, dn = _t && nn.dot(_t), Ci = !1, (Ql = Et.current) != null && Ql.coordMesh && Me.current.remove((Uo = Et.current) == null ? void 0 : Uo.coordMesh), (pl = Et.current) != null && pl.mouseLine_w && Me.current.remove((oc = Et.current) == null ? void 0 : oc.mouseLine_w), (vl = Et.current) != null && vl.mouseLine_h && Me.current.remove((sc = Et.current) == null ? void 0 : sc.mouseLine_h), typeof ((Ol = Et.current) == null ? void 0 : Ol.coordText) == "object" && Me.current.remove((gl = Et.current) == null ? void 0 : gl.coordText), typeof ((bc = Et.current) == null ? void 0 : bc.coordTextReverse) == "object" && Me.current.remove((xs = Et.current) == null ? void 0 : xs.coordTextReverse), dn && dn >= 0 && (Ci = !0, (lc = Et.current) != null && lc.coordMesh && Me.current.add((cc = Et.current) == null ? void 0 : cc.coordMesh), (xc = Et.current) != null && xc.mouseLine_w && Me.current.add((Cc = Et.current) == null ? void 0 : Cc.mouseLine_w), (il = Et.current) != null && il.mouseLine_h && Me.current.add((Cu = Et.current) == null ? void 0 : Cu.mouseLine_h), or ? typeof ((qo = Et.current) == null ? void 0 : qo.coordText) == "object" && Me.current.add((al = Et.current) == null ? void 0 : al.coordText) : typeof ((Jo = Et.current) == null ? void 0 : Jo.coordTextReverse) == "object" && Me.current.add((Hs = Et.current) == null ? void 0 : Hs.coordTextReverse)), _t = (wc = Ue.current) == null ? void 0 : wc.normalVector, Et = Ue, dn = _t && nn.dot(_t), dn && dn >= 0 ? ((fd = Et.current) != null && fd.coordMesh && Me.current.add((wu = Et.current) == null ? void 0 : wu.coordMesh), (Vu = Et.current) != null && Vu.mouseLine_w && Me.current.add(($u = Et.current) == null ? void 0 : $u.mouseLine_w), (Pl = Et.current) != null && Pl.mouseLine_h && Me.current.add((uc = Et.current) == null ? void 0 : uc.mouseLine_h), (hd = Et.current) != null && hd.coordText_lb && Me.current.remove((ml = Et.current) == null ? void 0 : ml.coordText_lb), (zu = Et.current) != null && zu.coordText_rb && Me.current.remove((Sc = Et.current) == null ? void 0 : Sc.coordText_rb), (Hu = Et.current) != null && Hu.coordText_lf && Me.current.remove((ol = Et.current) == null ? void 0 : ol.coordText_lf), (Su = Et.current) != null && Su.coordText_rf && Me.current.remove((Gs = Et.current) == null ? void 0 : Gs.coordText_rf), An && Rr ? (Ts = Et.current) != null && Ts.coordText_lb && Me.current.add((yl = Et.current) == null ? void 0 : yl.coordText_lb) : An && Ci ? (js = Et.current) != null && js.coordText_rb && Me.current.add((Mi = Et.current) == null ? void 0 : Mi.coordText_rb) : Zn && Ci ? (Sa = Et.current) != null && Sa.coordText_rf && Me.current.add(($c = Et.current) == null ? void 0 : $c.coordText_rf) : Zn && Rr && (Eu = Et.current) != null && Eu.coordText_lf && Me.current.add((zc = Et.current) == null ? void 0 : zc.coordText_lf)) : ((Gu = Et.current) != null && Gu.coordMesh && Me.current.remove((iu = Et.current) == null ? void 0 : iu.coordMesh), (ju = Et.current) != null && ju.mouseLine_w && Me.current.remove((au = Et.current) == null ? void 0 : au.mouseLine_w), (ou = Et.current) != null && ou.mouseLine_h && Me.current.remove((ec = Et.current) == null ? void 0 : ec.mouseLine_h), (su = Et.current) != null && su.coordText_lb && Me.current.remove((hs = Et.current) == null ? void 0 : hs.coordText_lb), (S = Et.current) != null && S.coordText_rb && Me.current.remove((D = Et.current) == null ? void 0 : D.coordText_rb), (X = Et.current) != null && X.coordText_lf && Me.current.remove((le = Et.current) == null ? void 0 : le.coordText_lf), (Ce = Et.current) != null && Ce.coordText_rf && Me.current.remove((qe = Et.current) == null ? void 0 : qe.coordText_rf)), _t = (Nt = st.current) == null ? void 0 : Nt.normalVector, Et = st, dn = _t && nn.dot(_t), dn && dn >= 0 ? ((an = Et.current) != null && an.coordMesh && Me.current.add((vn = Et.current) == null ? void 0 : vn.coordMesh), (rr = Et.current) != null && rr.mouseLine_w && Me.current.add((Yr = Et.current) == null ? void 0 : Yr.mouseLine_w), (Ii = Et.current) != null && Ii.mouseLine_h && Me.current.add((qi = Et.current) == null ? void 0 : qi.mouseLine_h), (as = Ue.current) != null && as.coordText_lb && Me.current.remove((Qa = Ue.current) == null ? void 0 : Qa.coordText_lb), (os = Ue.current) != null && os.coordText_rb && Me.current.remove((ps = Ue.current) == null ? void 0 : ps.coordText_rb), (Vl = Ue.current) != null && Vl.coordText_lf && Me.current.remove((bl = Ue.current) == null ? void 0 : bl.coordText_lf), (_u = Ue.current) != null && _u.coordText_rf && Me.current.remove((Ec = Ue.current) == null ? void 0 : Ec.coordText_rf), An && Rr ? (tc = Ue.current) != null && tc.coordText_lb && Me.current.add((xl = Ue.current) == null ? void 0 : xl.coordText_lb) : An && Ci ? ($l = Ue.current) != null && $l.coordText_rb && Me.current.add((bo = Ue.current) == null ? void 0 : bo.coordText_rb) : Zn && Ci ? (lu = Ue.current) != null && lu.coordText_rf && Me.current.add((Tu = Ue.current) == null ? void 0 : Tu.coordText_rf) : Zn && Rr && (ss = Ue.current) != null && ss.coordText_lf && Me.current.add((Wu = Ue.current) == null ? void 0 : Wu.coordText_lf)) : ((Is = Et.current) != null && Is.coordMesh && Me.current.remove((Cs = Et.current) == null ? void 0 : Cs.coordMesh), (Rl = Et.current) != null && Rl.mouseLine_w && Me.current.remove((pd = Et.current) == null ? void 0 : pd.mouseLine_w), (cu = Et.current) != null && cu.mouseLine_h && Me.current.remove((Iu = Et.current) == null ? void 0 : Iu.mouseLine_h));
77888
77888
  }, sr = (nn) => {
77889
77889
  g != null && g.current && Me.current.remove(g.current);
77890
77890
  const _t = new ia().setFromPoints(nn), dn = new oh({ color: 255 }), Et = new Ga(_t, dn);
@@ -122851,7 +122851,7 @@ const Sl = ({ t, data_change: e, data_c: n, col: r, row: i }) => {
122851
122851
  }, { Search: yPt } = Zc, oB = R0.TabPane, bPt = new QO();
122852
122852
  let Um = !1, sB = [], xPt = new URL(window.location.href), xv = new URLSearchParams(xPt.search), bhe = xv.get("neuronsSomaLocates"), xhe = xv.get("neuronsProjects"), Che = xv.get("neuronsFilterInfo"), whe = xv.get("regionsExpanded"), She = xv.get("neuronsText"), lB = xv.get("neuronsChecked"), Ehe = xv.get("neuronsColor"), _he = xv.get("neuronsTranslateY"), The = xv.get("neuronsTranslateX"), Ihe = xv.get("neuronsTranslateZ"), Ahe = xv.get("fbxColor");
122853
122853
  const ezt = yc((t, e) => {
122854
- const { treeDatas: n, fbxTreeDatas: r, vesselObj: i, json_name: a, offset_factor_R: o, type: s, leftTreeRef: c, baozhaRef: u, needBaozha: d, offset_factor: f, dataUrl: h, t: p, StepsCount: v, showimage: y, checkItems: g, setCheckItems: m, outflag: b, automaticGroup: x, mode: C, axon_check: w, swcnameMesh: _, updatePage: A, setEchartValue: R, auxRef: M, PointShow: N, tasktype: k, regionData: B, metadata: H, resourceTab: F, atlasData: G, setTip: z } = t, [V, j] = mt([]), Y = Je(null), [W, Z] = mt(!1), [te, se] = mt(xhe ? JSON.parse(xhe) : null), [q, ne] = mt(bhe ? JSON.parse(bhe) : null), oe = Je({}), ie = Je(g), ee = Je({}), me = Je(!1), pe = Je(1), he = Je(!0), re = Je(!1), xe = Je([]), Q = Je("FBX"), [be, de] = mt([]), _e = Je([]), ke = Je([]), He = Je([]), Ne = Je(!0), [Se, Ze] = mt([]), ve = Je([]), [ue, Le] = mt([]), at = Je(null), De = Je(null), Ye = Je(null), dt = Je(null), ct = Je(0), ut = Je(!0), St = Je([]), st = Je({}), [Ue, ft] = mt(Che ? JSON.parse(Che) : []), it = Je([]), [nt, Ct] = mt(!1), [$e, Lt] = mt([]), [At, kt] = mt({}), [Ot, Vt] = mt(!1), [Xt, hn] = mt(!1), [wn, In] = mt(!1), [jn, rn] = mt(!1), [Or, Vn] = mt(!1), [xn, Un] = mt(!1), [pn, Qn] = mt(!1), [fr, kr] = mt(!1), [Wn, cr] = mt(!1), [je, Mt] = mt("1"), Dt = Je({ data: [] }), Ft = Je({ data: [] }), Ut = Je({ data: [] }), Gt = Je({ data: [] }), zt = Je({ data: [] }), Yt = Je(!1), $n = Je("");
122854
+ const { treeDatas: n, fbxTreeDatas: r, vesselObj: i, json_name: a, offset_factor_R: o, type: s, leftTreeRef: c, baozhaRef: u, needBaozha: d, offset_factor: f, dataUrl: h, t: p, StepsCount: v, showimage: y, checkItems: g, setCheckItems: m, outflag: b, automaticGroup: x, mode: C, axon_check: w, swcnameMesh: _, updatePage: A, setEchartValue: R, auxRef: M, PointShow: N, tasktype: k, regionData: B, metadata: H, resourceTab: F, atlasData: G, setTip: z } = t, [V, j] = mt([]), Y = Je(null), [W, Z] = mt(!1), [te, se] = mt(xhe ? JSON.parse(xhe) : null), [q, ne] = mt(bhe ? JSON.parse(bhe) : null), oe = Je({}), ie = Je(g), ee = Je({}), me = Je(!1), pe = Je(1), he = Je(!0), re = Je(!1), xe = Je([]), Q = Je("FBX"), [be, de] = mt([]), _e = Je([]), ke = Je([]), He = Je([]), Ne = Je(!0), [Se, Ze] = mt([]), ve = Je([]), [ue, Le] = mt([]), at = Je(null), De = Je(null), Ye = Je(null), dt = Je(null), ct = Je(0), ut = Je(!0), wt = Je([]), st = Je({}), [Ue, ft] = mt(Che ? JSON.parse(Che) : []), it = Je([]), [nt, Ct] = mt(!1), [$e, Lt] = mt([]), [At, kt] = mt({}), [Ot, Vt] = mt(!1), [Xt, hn] = mt(!1), [wn, In] = mt(!1), [jn, rn] = mt(!1), [Or, Vn] = mt(!1), [xn, Un] = mt(!1), [pn, Qn] = mt(!1), [fr, kr] = mt(!1), [Wn, cr] = mt(!1), [je, Mt] = mt("1"), Dt = Je({ data: [] }), Ft = Je({ data: [] }), Ut = Je({ data: [] }), Gt = Je({ data: [] }), zt = Je({ data: [] }), Yt = Je(!1), $n = Je("");
122855
122855
  Je({});
122856
122856
  const Ht = Je(Ehe ? JSON.parse(decodeURIComponent(Ehe).replace("!", "#")) : {}), [Pt, Jt] = mt({}), [Gn, Pn] = mt(!1), Cr = [
122857
122857
  Je({ data: [] }),
@@ -122957,21 +122957,21 @@ const ezt = yc((t, e) => {
122957
122957
  oe.current[We] || fetch($n.current + vt).then((bt) => bt.json()).then((bt) => {
122958
122958
  let ot = to.current, ye = To.current, ce = oo.current;
122959
122959
  if (_he) {
122960
- let wt = JSON.parse(_he);
122961
- ot = ot - wt;
122960
+ let St = JSON.parse(_he);
122961
+ ot = ot - St;
122962
122962
  }
122963
122963
  if (The) {
122964
- let wt = JSON.parse(The);
122965
- ye = ye + wt;
122964
+ let St = JSON.parse(The);
122965
+ ye = ye + St;
122966
122966
  }
122967
122967
  if (Ihe) {
122968
- let wt = JSON.parse(Ihe);
122969
- ce = ce - wt;
122968
+ let St = JSON.parse(Ihe);
122969
+ ce = ce - St;
122970
122970
  }
122971
122971
  let Be = new Po();
122972
122972
  const ze = new Jd();
122973
- bt.line.forEach((wt, Wt) => {
122974
- var Jn = bt.position[wt.end], mr = bt.position[wt.start];
122973
+ bt.line.forEach((St, Wt) => {
122974
+ var Jn = bt.position[St.end], mr = bt.position[St.start];
122975
122975
  let Hn = new ia(), On = [];
122976
122976
  On.push(Jn.x * 0.01, Jn.y * 0.01, Jn.z * 0.01), Hn.setAttribute("position", new Na(On, 3));
122977
122977
  let ei = new ob({
@@ -123027,7 +123027,7 @@ const ezt = yc((t, e) => {
123027
123027
  depthWrite: !1,
123028
123028
  depthTest: !1
123029
123029
  }), ii = new Hh(Hn, ei);
123030
- ii.translateX(ye), ii.translateY(to.current), ii.translateZ(ce), ii.myMeshType = "neuronSphere", ii.name = `${We}-${wt.end_name}`, ii.userData.color = rt, ii.userData.type = "end", N && N.current && (ii.visible = N.current.end), ar(ii), ze.add(ii);
123030
+ ii.translateX(ye), ii.translateY(to.current), ii.translateZ(ce), ii.myMeshType = "neuronSphere", ii.name = `${We}-${St.end_name}`, ii.userData.color = rt, ii.userData.type = "end", N && N.current && (ii.visible = N.current.end), ar(ii), ze.add(ii);
123031
123031
  let fn = new ia(), qt = [];
123032
123032
  qt.push(mr.x * 0.01, mr.y * 0.01, mr.z * 0.01), fn.setAttribute("position", new Na(qt, 3));
123033
123033
  let di = new ob({
@@ -123083,22 +123083,22 @@ const ezt = yc((t, e) => {
123083
123083
  depthWrite: !1,
123084
123084
  depthTest: !1
123085
123085
  }), Dr = new Hh(fn, di);
123086
- Dr.translateX(ye), Dr.translateY(ot), Dr.translateZ(ce), Dr.myMeshType = "neuronSphere", Dr.name = `${We}-${wt.start_name}`, Dr.userData.type = "start", N && N.current && (Dr.userData.color = N.current.start_color, Dr.visible = N.current.start), ar(Dr), ze.add(Dr), wt.start_name && (st.current.hasOwnProperty(wt.start_name) ? st.current[`${wt.start_name}`].push({
123086
+ Dr.translateX(ye), Dr.translateY(ot), Dr.translateZ(ce), Dr.myMeshType = "neuronSphere", Dr.name = `${We}-${St.start_name}`, Dr.userData.type = "start", N && N.current && (Dr.userData.color = N.current.start_color, Dr.visible = N.current.start), ar(Dr), ze.add(Dr), St.start_name && (st.current.hasOwnProperty(St.start_name) ? st.current[`${St.start_name}`].push({
123087
123087
  name: We,
123088
123088
  point: [mr.x, mr.y, mr.z],
123089
123089
  type: Wt === 0 ? "cell" : "start",
123090
123090
  color: Wt === 0 ? "#1771FF" : "#A7B5A1"
123091
- }) : (st.current[`${wt.start_name}`] = [], st.current[`${wt.start_name}`].push({
123091
+ }) : (st.current[`${St.start_name}`] = [], st.current[`${St.start_name}`].push({
123092
123092
  name: We,
123093
123093
  point: [mr.x, mr.y, mr.z],
123094
123094
  type: Wt === 0 ? "cell" : "start",
123095
123095
  color: Wt === 0 ? "#1771FF" : "#A7B5A1"
123096
- }))), wt.end_name && (st.current.hasOwnProperty(wt.end_name) ? st.current[`${wt.end_name}`].push({
123096
+ }))), St.end_name && (st.current.hasOwnProperty(St.end_name) ? st.current[`${St.end_name}`].push({
123097
123097
  name: We,
123098
123098
  point: [Jn.x, Jn.y, Jn.z],
123099
123099
  type: "end",
123100
123100
  color: rt
123101
- }) : (st.current[`${wt.end_name}`] = [], st.current[`${wt.end_name}`].push({
123101
+ }) : (st.current[`${St.end_name}`] = [], st.current[`${St.end_name}`].push({
123102
123102
  name: We,
123103
123103
  point: [Jn.x, Jn.y, Jn.z],
123104
123104
  type: "end",
@@ -123161,14 +123161,14 @@ const ezt = yc((t, e) => {
123161
123161
  depthWrite: !1,
123162
123162
  depthTest: !1
123163
123163
  }), $t = new Hh(Pe, Bt);
123164
- $t.translateX(ye), $t.translateY(ot), $t.translateZ(ce), $t.myMeshType = "neuronSphere", $t.name = `${We}-${bt.line[0].start_name}`, $t.userData.color = "#1771FF", $t.myMeshType = "neuronSphere", $t.name = `${We}-${bt.line[0].start_name}`, $t.userData.color = "#1771FF", ar($t), ze.add($t), ze.name = `swcPointGroup${We}`, St.current.push(ze), Me.current.add(ze);
123164
+ $t.translateX(ye), $t.translateY(ot), $t.translateZ(ce), $t.myMeshType = "neuronSphere", $t.name = `${We}-${bt.line[0].start_name}`, $t.userData.color = "#1771FF", $t.myMeshType = "neuronSphere", $t.name = `${We}-${bt.line[0].start_name}`, $t.userData.color = "#1771FF", ar($t), ze.add($t), ze.name = `swcPointGroup${We}`, wt.current.push(ze), Me.current.add(ze);
123165
123165
  let tn = 1;
123166
- for (let wt = 0; wt < bt.line.length; wt++) {
123166
+ for (let St = 0; St < bt.line.length; St++) {
123167
123167
  let Wt = [], Jn = [bt.position[0].x, bt.position[0].y, bt.position[0].z];
123168
- for (let Hn = bt.line[wt].start; Hn <= bt.line[wt].end; Hn++) {
123169
- Hn === bt.line[wt].start && (Jn = [bt.position[Hn].x, bt.position[Hn].y, bt.position[Hn].z]);
123168
+ for (let Hn = bt.line[St].start; Hn <= bt.line[St].end; Hn++) {
123169
+ Hn === bt.line[St].start && (Jn = [bt.position[Hn].x, bt.position[Hn].y, bt.position[Hn].z]);
123170
123170
  let On = bt.position[Hn].x, ei = bt.position[Hn].y, ii = bt.position[Hn].z;
123171
- (Math.sqrt((On - Jn[0]) * (On - Jn[0]) + (ei - Jn[1]) * (ei - Jn[1]) + (ii - Jn[2]) * (ii - Jn[2])) > tn || Hn === bt.line[wt].end || Hn === bt.line[wt].start) && (Wt.push(new Ae(On, ei, ii)), Jn = [On, ei, ii]);
123171
+ (Math.sqrt((On - Jn[0]) * (On - Jn[0]) + (ei - Jn[1]) * (ei - Jn[1]) + (ii - Jn[2]) * (ii - Jn[2])) > tn || Hn === bt.line[St].end || Hn === bt.line[St].start) && (Wt.push(new Ae(On, ei, ii)), Jn = [On, ei, ii]);
123172
123172
  }
123173
123173
  let mr = new Ga(new ia().setFromPoints(Wt), new oh({
123174
123174
  color: rt
@@ -123248,16 +123248,16 @@ const ezt = yc((t, e) => {
123248
123248
  if (Se.includes(ot)) {
123249
123249
  Ze(($t) => $t.filter((tn) => tn !== ot));
123250
123250
  const Bt = JSON.stringify(Se.filter(($t) => $t !== ot));
123251
- bt.set("regionsExpanded", Bt), ie.current.includes(ot) || ie.current.push(ot), Yi.current[ot] ? (Me.current.remove(Yi.current[ot]), Yi.current[ot].children[0].material.color.set(rt), Me.current.add(Yi.current[ot]), tv.current && (Me.current.remove(Ca.current[ot]), Ca.current[ot].children[0].material.color.set(rt), Me.current.add(Ca.current[ot]))) : Id(ze, ot, rt, 0.6, parseInt(tt));
123251
+ bt.set("regionsExpanded", Bt), ie.current.includes(ot) || ie.current.push(ot), Yi.current[ot] ? (Me.current.remove(Yi.current[ot]), Yi.current[ot].children[0].material.color.set(rt), Me.current.add(Yi.current[ot]), tv.current && (Me.current.remove(xa.current[ot]), xa.current[ot].children[0].material.color.set(rt), Me.current.add(xa.current[ot]))) : Id(ze, ot, rt, 0.6, parseInt(tt));
123252
123252
  for (var Pe = 0; Pe < Be.length; Pe++)
123253
123253
  ie.current = ie.current.filter((tn) => tn !== Be[Pe].name), An(Be[Pe].name, !0), ct.current = 0, delete ee.current[Be[Pe].name];
123254
123254
  } else {
123255
123255
  const Bt = document.getElementById("spinner"), $t = JSON.stringify([...Se, ot]);
123256
- bt.set("regionsExpanded", $t), Ze((tn) => [...tn, ot]), Bt && (Bt.style.display = "block"), Yi.current[ot] ? (Me.current.remove(Yi.current[ot]), Yi.current[ot].children[0].material.color.set("#DBDBDB"), Me.current.add(Yi.current[ot]), tv.current && (Me.current.remove(Ca.current[ot]), Ca.current[ot].children[0].material.color.set("#DBDBDB"), Me.current.add(Ca.current[ot]))) : Id(ze, ot, "#DBDBDB", 0.6, parseInt(tt)), ie.current = ie.current.filter((tn) => tn !== ot);
123256
+ bt.set("regionsExpanded", $t), Ze((tn) => [...tn, ot]), Bt && (Bt.style.display = "block"), Yi.current[ot] ? (Me.current.remove(Yi.current[ot]), Yi.current[ot].children[0].material.color.set("#DBDBDB"), Me.current.add(Yi.current[ot]), tv.current && (Me.current.remove(xa.current[ot]), xa.current[ot].children[0].material.color.set("#DBDBDB"), Me.current.add(xa.current[ot]))) : Id(ze, ot, "#DBDBDB", 0.6, parseInt(tt)), ie.current = ie.current.filter((tn) => tn !== ot);
123257
123257
  for (var Pe = 0; Pe < Be.length; Pe++)
123258
123258
  if (Be[Pe]["3D"]) {
123259
- let wt = parseInt(Be[Pe].z), Wt = Be[Pe].color, Jn = B + "/data/" + Q.current + "/" + xr(Be[Pe].name) + ".FBX";
123260
- ie.current.push(Be[Pe].name), ba(Jn, Be[Pe].name, Wt, 0.6, wt, function() {
123259
+ let St = parseInt(Be[Pe].z), Wt = Be[Pe].color, Jn = B + "/data/" + Q.current + "/" + xr(Be[Pe].name) + ".FBX";
123260
+ ie.current.push(Be[Pe].name), ba(Jn, Be[Pe].name, Wt, 0.6, St, function() {
123261
123261
  Bt && (Bt.style.display = "none");
123262
123262
  });
123263
123263
  }
@@ -123313,12 +123313,12 @@ const ezt = yc((t, e) => {
123313
123313
  Bt[Bt.length - 1];
123314
123314
  }
123315
123315
  if (ot.path || (s === "vessel" ? ot.path = B + "/data/Vessel/" : s === "fbx" && (ot.path = B + "/data/FBX/")), Ahe) {
123316
- let Bt = JSON.parse(Ahe), tn = Object.keys(Bt).find((wt) => wt === ot.name);
123316
+ let Bt = JSON.parse(Ahe), tn = Object.keys(Bt).find((St) => St === ot.name);
123317
123317
  tn && (ot.color = Bt[tn]);
123318
123318
  }
123319
123319
  const Be = Ue.reduce((Bt, $t) => {
123320
- const [tn, wt] = $t.split(":");
123321
- return Bt[tn] = wt, Bt;
123320
+ const [tn, St] = $t.split(":");
123321
+ return Bt[tn] = St, Bt;
123322
123322
  }, {}), ze = (Bt, $t) => Bt in Be ? Be[Bt] === $t[Bt] : !0;
123323
123323
  let Pe;
123324
123324
  const gt = te && ot["3D"] && ce.toLowerCase().indexOf(te.toLowerCase()) !== -1 || b && ie.current.slice(1).includes(ce) || s == "vessel" && te && ce.toLowerCase().indexOf(te.toLowerCase()) !== -1;
@@ -123544,7 +123544,7 @@ const ezt = yc((t, e) => {
123544
123544
  let ce = ye.clone();
123545
123545
  if (Ie != "Brain") {
123546
123546
  var Be = new Fi(), ze = new Ae(1, 0, 0);
123547
- Be.set(1 - 2 * ze.x * ze.x, -2 * ze.x * ze.y, -2 * ze.x * ze.z, 0, -2 * ze.x * ze.y, 1 - 2 * ze.y * ze.y, -2 * ze.y * ze.z, 0, -2 * ze.x * ze.z, -2 * ze.y * ze.z, 1 - 2 * ze.z * ze.z, 0, 0, 0, 0, 1), ce.applyMatrix4(Be), ce.translateX(-To.current), ce.translateY(oo.current), ce.translateZ(-to.current), ce.name = Ie, ce.myMeshType = "FBX", ce.children[0].name = Ie, ce.children[0].myMeshType = "FBX", Ca.current[Ie] = ce, tv.current && Me.current.add(ce);
123547
+ Be.set(1 - 2 * ze.x * ze.x, -2 * ze.x * ze.y, -2 * ze.x * ze.z, 0, -2 * ze.x * ze.y, 1 - 2 * ze.y * ze.y, -2 * ze.y * ze.z, 0, -2 * ze.x * ze.z, -2 * ze.y * ze.z, 1 - 2 * ze.z * ze.z, 0, 0, 0, 0, 1), ce.applyMatrix4(Be), ce.translateX(-To.current), ce.translateY(oo.current), ce.translateZ(-to.current), ce.name = Ie, ce.myMeshType = "FBX", ce.children[0].name = Ie, ce.children[0].myMeshType = "FBX", xa.current[Ie] = ce, tv.current && Me.current.add(ce);
123548
123548
  }
123549
123549
  ye.translateX(To.current), ye.translateY(oo.current), ye.translateZ(-to.current), ye.name = Ie, ye.myMeshType = "FBX", ye.children[0].name = Ie, ye.children[0].myMeshType = "FBX", Yi.current[Ie] = ye, Me.current.add(Yi.current[Ie]);
123550
123550
  var Pe = new Ae(), gt = new cl().setFromObject(ye);
@@ -123553,15 +123553,15 @@ const ezt = yc((t, e) => {
123553
123553
  gt.getSize(Bt);
123554
123554
  var $t = Bt.x * Bt.y * Bt.z;
123555
123555
  sb.current[Ie] = [Pe, $t];
123556
- for (var tn = lb(Ie, xe.current), wt = 0; wt < tn.length; wt++)
123557
- if (o != null && o.current && ee.current[tn[wt]])
123556
+ for (var tn = lb(Ie, xe.current), St = 0; St < tn.length; St++)
123557
+ if (o != null && o.current && ee.current[tn[St]])
123558
123558
  if (me.current || he.current) {
123559
- ye.translateOnAxis(ee == null ? void 0 : ee.current[tn[wt]].axis, o.current * (ee == null ? void 0 : ee.current[tn[wt]].length));
123560
- var Wt = ee == null ? void 0 : ee.current[tn[wt]].axis.clone();
123561
- Wt.x = Wt.x * -1, ce.translateOnAxis(Wt, o.current * (ee == null ? void 0 : ee.current[tn[wt]].length));
123559
+ ye.translateOnAxis(ee == null ? void 0 : ee.current[tn[St]].axis, o.current * (ee == null ? void 0 : ee.current[tn[St]].length));
123560
+ var Wt = ee == null ? void 0 : ee.current[tn[St]].axis.clone();
123561
+ Wt.x = Wt.x * -1, ce.translateOnAxis(Wt, o.current * (ee == null ? void 0 : ee.current[tn[St]].length));
123562
123562
  } else {
123563
- var Wt = ee[tn[wt]].axis.clone();
123564
- Wt.x = Wt.x * -1, ce.translateOnAxis(Wt, o.current * (ee == null ? void 0 : ee.current[tn[wt]].length)), ye.translateOnAxis(ee == null ? void 0 : ee.current[tn[wt]].axis, o.current * (ee == null ? void 0 : ee.current[tn[wt]].length));
123563
+ var Wt = ee[tn[St]].axis.clone();
123564
+ Wt.x = Wt.x * -1, ce.translateOnAxis(Wt, o.current * (ee == null ? void 0 : ee.current[tn[St]].length)), ye.translateOnAxis(ee == null ? void 0 : ee.current[tn[St]].axis, o.current * (ee == null ? void 0 : ee.current[tn[St]].length));
123565
123565
  }
123566
123566
  Yi.current[Ie] = ye;
123567
123567
  let Jn = Pi(Ie, xe.current);
@@ -123604,17 +123604,17 @@ const ezt = yc((t, e) => {
123604
123604
  var ye = We;
123605
123605
  for (var ce in vt) {
123606
123606
  var Be = vt[ce];
123607
- bt = Yi.current[Be], ot = Ca.current[Be];
123607
+ bt = Yi.current[Be], ot = xa.current[Be];
123608
123608
  var ze = Ie[Be].axis, Pe = ze.clone();
123609
123609
  Pe.x = Pe.x * -1;
123610
123610
  var gt = Ie[Be].length;
123611
123611
  if (pt && o) {
123612
- Yi.current[vt[ce]].locationLength = o == null ? void 0 : o.current, Yi.current[vt[ce]].position.set(0, 0, 0), Yi.current[vt[ce]].translateX(To.current), Yi.current[vt[ce]].translateY(oo.current), Yi.current[vt[ce]].translateZ(-to.current), Yi.current[vt[ce]].translateOnAxis(ze, (o == null ? void 0 : o.current) * gt), Ca.current[vt[ce]].position.set(0, 0, 0), Ca.current[vt[ce]].translateX(-To.current), Ca.current[vt[ce]].translateY(oo.current), Ca.current[vt[ce]].translateZ(-to.current), Ca.current[vt[ce]].locationLength = o == null ? void 0 : o.current, Ca.current[vt[ce]].translateOnAxis(Pe, (o == null ? void 0 : o.current) * gt);
123612
+ Yi.current[vt[ce]].locationLength = o == null ? void 0 : o.current, Yi.current[vt[ce]].position.set(0, 0, 0), Yi.current[vt[ce]].translateX(To.current), Yi.current[vt[ce]].translateY(oo.current), Yi.current[vt[ce]].translateZ(-to.current), Yi.current[vt[ce]].translateOnAxis(ze, (o == null ? void 0 : o.current) * gt), xa.current[vt[ce]].position.set(0, 0, 0), xa.current[vt[ce]].translateX(-To.current), xa.current[vt[ce]].translateY(oo.current), xa.current[vt[ce]].translateZ(-to.current), xa.current[vt[ce]].locationLength = o == null ? void 0 : o.current, xa.current[vt[ce]].translateOnAxis(Pe, (o == null ? void 0 : o.current) * gt);
123613
123613
  continue;
123614
123614
  }
123615
123615
  switch (rt) {
123616
123616
  case 0:
123617
- tt ? (Yi.current[vt[ce]].translateOnAxis(ze, tt * gt), Ca.current[vt[ce]].translateOnAxis(Pe, tt * gt)) : (Yi.current[vt[ce]].translateOnAxis(ze, ye * gt), Ca.current[vt[ce]].translateOnAxis(Pe, ye * gt));
123617
+ tt ? (Yi.current[vt[ce]].translateOnAxis(ze, tt * gt), xa.current[vt[ce]].translateOnAxis(Pe, tt * gt)) : (Yi.current[vt[ce]].translateOnAxis(ze, ye * gt), xa.current[vt[ce]].translateOnAxis(Pe, ye * gt));
123618
123618
  break;
123619
123619
  case 1:
123620
123620
  ye <= 0 ? (bt.translateOnAxis(ze, -1 * Math.sqrt(Math.abs(ye * gt))), ot.translateOnAxis(Pe, -1 * Math.sqrt(Math.abs(ye * gt)))) : (bt.translateOnAxis(ze, Math.sqrt(ye * gt)), ot.translateOnAxis(Pe, Math.sqrt(ye * gt)));
@@ -123689,8 +123689,8 @@ const ezt = yc((t, e) => {
123689
123689
  if (m((gt) => [...gt, ce.name]), Be === Ie.length - 1) {
123690
123690
  let gt = new URL(window.location.href), Bt = new URLSearchParams(gt.search), $t = Ie.map((Wt) => Wt.name);
123691
123691
  ie.current.push(...$t);
123692
- const tn = [...g, ...$t], wt = JSON.stringify(tn);
123693
- Bt.set("neuronsChecked", wt), gt.search = Bt.toString(), window.history.replaceState({}, "", gt);
123692
+ const tn = [...g, ...$t], St = JSON.stringify(tn);
123693
+ Bt.set("neuronsChecked", St), gt.search = Bt.toString(), window.history.replaceState({}, "", gt);
123694
123694
  }
123695
123695
  ot && (ot.style.display = "block"), Zr(ce.path, 6, ce.name, ce.color, function() {
123696
123696
  _t(ce.name, "#045404"), ze("");
@@ -123823,7 +123823,7 @@ const ezt = yc((t, e) => {
123823
123823
  !Yt.current && n && n.length > 0 && (Zn(), Et(), Yt.current = !0);
123824
123824
  }, [n]);
123825
123825
  const An = (vt, Ie = !1) => {
123826
- Yi.current[vt] && (Me.current.remove(Yi.current[vt]), Yi.current[vt].children[0].geometry.dispose(), Ie && delete Yi.current[vt]), Ca.current[vt] && (Me.current.remove(Ca.current[vt]), Ca.current[vt].children[0].geometry.dispose(), Ie && delete Ca.current[vt]), ee.current[vt] && Ie && delete ee.current[vt];
123826
+ Yi.current[vt] && (Me.current.remove(Yi.current[vt]), Yi.current[vt].children[0].geometry.dispose(), Ie && delete Yi.current[vt]), xa.current[vt] && (Me.current.remove(xa.current[vt]), xa.current[vt].children[0].geometry.dispose(), Ie && delete xa.current[vt]), ee.current[vt] && Ie && delete ee.current[vt];
123827
123827
  }, Rr = (vt, Ie) => {
123828
123828
  const We = {}, rt = {};
123829
123829
  for (const tt in vt) {
@@ -123944,8 +123944,8 @@ const ezt = yc((t, e) => {
123944
123944
  }
123945
123945
  let $t = new IX(Bt);
123946
123946
  gt = ye ? Math.ceil(gt / 5) : gt;
123947
- const tn = new OT(), wt = new dr(new KO($t, gt, Pe, Ie, !1), ot);
123948
- wt.scale.set(1, 1, 1), tn.addLevel(wt, 0);
123947
+ const tn = new OT(), St = new dr(new KO($t, gt, Pe, Ie, !1), ot);
123948
+ St.scale.set(1, 1, 1), tn.addLevel(St, 0);
123949
123949
  const Wt = 80, Jn = [Bt[0]];
123950
123950
  for (let Hn = 1; Hn < Bt.length; Hn++) {
123951
123951
  const On = Jn[Jn.length - 1], ei = Bt[Hn];
@@ -123990,7 +123990,7 @@ const ezt = yc((t, e) => {
123990
123990
  let Ie = new URL(window.location.href), We = new URLSearchParams(Ie.search);
123991
123991
  We.set("neuronsSomaLocates", JSON.stringify(vt)), Ie.search = We.toString(), window.history.replaceState({}, "", Ie), vt != "" ? ne(vt) : (ne(vt), j(_e.current));
123992
123992
  }, Wr = ni(Vr, 50), bi = () => {
123993
- let vt = [Yi.current, Ca.current, ee.current];
123993
+ let vt = [Yi.current, xa.current, ee.current];
123994
123994
  for (let tt of vt)
123995
123995
  for (let pt in tt)
123996
123996
  pt != "Brain" && An(pt, !0);
@@ -127826,11 +127826,11 @@ j1(6, () => {
127826
127826
  throw new Error("old style JPEG compression is not supported.");
127827
127827
  });
127828
127828
  j1(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
127829
- j1([8, 32946], () => import("./deflate-478efa2e.mjs").then((t) => t.default));
127829
+ j1([8, 32946], () => import("./deflate-e512be30.mjs").then((t) => t.default));
127830
127830
  j1(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
127831
127831
  j1(
127832
127832
  34887,
127833
- () => import("./lerc-7d59cbea.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
127833
+ () => import("./lerc-9a892e49.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
127834
127834
  );
127835
127835
  j1(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
127836
127836
  function XP(t, e, n, r = 1) {
@@ -129632,7 +129632,7 @@ const Zkt = {
129632
129632
  return t[e] = n, Kkt(e, n), !0;
129633
129633
  }
129634
129634
  }, Pa = new Proxy(Zkt, Ykt), qkt = yc((t, e) => {
129635
- const { regionData: n, setoffset_factor: r, offset_factor_R: i, t: a, hrefStr: o, leftTreeRef: s, angleRef: c, jiaoduRef: u, mouseflag: d, renderer: f, controls: h, menutagShow: p, setMenuTag: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, material: C, setShowimage: w, childRef: _, checkItems: A, setoutflag: R, fetchCoordinateFunc: M, setendPoint: N, clickPoint: k, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: te, responsefunc: se, mode: q, setCheckItems: ne, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: me, swcnameMesh: pe, setMode: he, vesselRef: re, swcRef: xe, vesselStr: Q, lableStr: be, setShowSettingModal: de, showSettingModal: _e, fbxTreeDatas: ke, composer: He, setEchartValue: Ne, echartValue: Se, sectionsInfoRef: Ze, sectionsInfo: ve, setSectionsInfo: ue, gray_value: Le, setLuguchecked: at, Luguchecked: De, datum: Ye, setGridShow: dt, PointShow: ct, nodeStr: ut, lefttab: St, righttab: st, atlasData: Ue, flowObjectsRef: ft, setTip: it, tip: nt } = t, [Ct, $e] = mt(!1), [Lt, At] = mt(!1), [kt, Ot] = mt(!1), [Vt, Xt] = mt(!1), [hn, wn] = mt(!1), [In, jn] = mt(!1), [rn, Or] = mt(!1), [Vn, xn] = mt(!1), [Un, pn] = mt(Pa.atlasReslicingInfo.angleX || 120), [Qn, fr] = mt(Pa.atlasReslicingInfo.angleY || 320), [kr, Wn] = mt(Pa.atlasReslicingInfo.angleZ || 270), [cr, je] = mt(Pa.atlasReslicingInfo.positionX || 0), [Mt, Dt] = mt(Pa.atlasReslicingInfo.positionY || 0), [Ft, Ut] = mt(Pa.atlasReslicingInfo.positionZ || 0), [Gt, zt] = mt(Pa.atlasReslicingInfo.translateX || !0), [Yt, $n] = mt(Pa.atlasReslicingInfo.translateY || !0), [Ht, Pt] = mt(Pa.atlasReslicingInfo.translateZ || !0), [Jt, Gn] = mt(Pa.atlasReslicingInfo.rotate || !0), [Pn, Cr] = mt(Pa.atlasReslicingInfo.ButtonDisabled || !0), [Mr, er] = mt(!1), [on, qn] = mt(!1), [_n, Tn] = mt(!1), [Fn, ar] = mt(!1), [Zr, xr] = mt(a("5000.0006") || "显示数据块"), [Hr, sr] = mt(1), [Pr, Br] = mt(1), [ir, Ur] = mt([]), [zi, Zi] = mt([]), [Pi, Ki] = mt([]), [ba, ja] = mt(!1), [ta, Ia] = mt({}), [ni, ri] = mt(!1), [nn, _t] = mt(""), [dn, Et] = mt("Config_DAPI.ini"), [Zn, An] = mt("applySTAM2CCF"), [Rr, Ci] = mt(0), [or, ui] = mt(!1), [yn, tr] = mt(!1), [cn, Rn] = mt(!1), [zn, wr] = mt(!1), [Gr, Vr] = mt(!0), [Wr, bi] = mt(2), [io, Aa] = mt(!1), [Ho, No] = mt({}), Di = Je(Pa.atlasReslicingInfo.direction1 || 4), co = Je(null), Sn = Je(null), [vt, Ie] = mt(!1), We = Je(null), rt = Je(window.location.href.split("/")[2]), tt = Je(new Zw(Ni.current, f == null ? void 0 : f.domElement)), pt = Je(0), bt = Je(0), ot = Je(new dr()), ye = Je(new Ae()), ce = Je(new Ae()), Be = Je(new dr()), ze = Je(new Ae(1, 0, 0)), Pe = Je(new dr()), gt = Je(null), Bt = Je(new Dae()), $t = Je(null), tn = Je([]), wt = Je(null), Wt = Je(new dr()), Jn = Je(new Jd()), [mr, Hn] = mt(Pa.otherAtlases), On = {
129635
+ const { regionData: n, setoffset_factor: r, offset_factor_R: i, t: a, hrefStr: o, leftTreeRef: s, angleRef: c, jiaoduRef: u, mouseflag: d, renderer: f, controls: h, menutagShow: p, setMenuTag: v, startselect: y, linemeshs_jing: g, points: m, points2: b, activetabIndex: x, material: C, setShowimage: w, childRef: _, checkItems: A, setoutflag: R, fetchCoordinateFunc: M, setendPoint: N, clickPoint: k, outflagRef: B, axis_font: H, setdatum: F, modeChoose: G, setShowModeChoose: z, virusModeValue: V, setShowTabNums: j, pipelineClickEvent: Y, automaticGroup: W, focusVirusLineItem: Z, setMenuTagShow: te, responsefunc: se, mode: q, setCheckItems: ne, setLeftMenuTabIndex: oe, updatePage: ie, swcItem: ee, axon_check: me, swcnameMesh: pe, setMode: he, vesselRef: re, swcRef: xe, vesselStr: Q, lableStr: be, setShowSettingModal: de, showSettingModal: _e, fbxTreeDatas: ke, composer: He, setEchartValue: Ne, echartValue: Se, sectionsInfoRef: Ze, sectionsInfo: ve, setSectionsInfo: ue, gray_value: Le, setLuguchecked: at, Luguchecked: De, datum: Ye, setGridShow: dt, PointShow: ct, nodeStr: ut, lefttab: wt, righttab: st, atlasData: Ue, flowObjectsRef: ft, setTip: it, tip: nt } = t, [Ct, $e] = mt(!1), [Lt, At] = mt(!1), [kt, Ot] = mt(!1), [Vt, Xt] = mt(!1), [hn, wn] = mt(!1), [In, jn] = mt(!1), [rn, Or] = mt(!1), [Vn, xn] = mt(!1), [Un, pn] = mt(Pa.atlasReslicingInfo.angleX || 120), [Qn, fr] = mt(Pa.atlasReslicingInfo.angleY || 320), [kr, Wn] = mt(Pa.atlasReslicingInfo.angleZ || 270), [cr, je] = mt(Pa.atlasReslicingInfo.positionX || 0), [Mt, Dt] = mt(Pa.atlasReslicingInfo.positionY || 0), [Ft, Ut] = mt(Pa.atlasReslicingInfo.positionZ || 0), [Gt, zt] = mt(Pa.atlasReslicingInfo.translateX || !0), [Yt, $n] = mt(Pa.atlasReslicingInfo.translateY || !0), [Ht, Pt] = mt(Pa.atlasReslicingInfo.translateZ || !0), [Jt, Gn] = mt(Pa.atlasReslicingInfo.rotate || !0), [Pn, Cr] = mt(Pa.atlasReslicingInfo.ButtonDisabled || !0), [Mr, er] = mt(!1), [on, qn] = mt(!1), [_n, Tn] = mt(!1), [Fn, ar] = mt(!1), [Zr, xr] = mt(a("5000.0006") || "显示数据块"), [Hr, sr] = mt(1), [Pr, Br] = mt(1), [ir, Ur] = mt([]), [zi, Zi] = mt([]), [Pi, Ki] = mt([]), [ba, ja] = mt(!1), [ta, Ia] = mt({}), [ni, ri] = mt(!1), [nn, _t] = mt(""), [dn, Et] = mt("Config_DAPI.ini"), [Zn, An] = mt("applySTAM2CCF"), [Rr, Ci] = mt(0), [or, ui] = mt(!1), [yn, tr] = mt(!1), [cn, Rn] = mt(!1), [zn, wr] = mt(!1), [Gr, Vr] = mt(!0), [Wr, bi] = mt(2), [io, Aa] = mt(!1), [Ho, No] = mt({}), Di = Je(Pa.atlasReslicingInfo.direction1 || 4), co = Je(null), Sn = Je(null), [vt, Ie] = mt(!1), We = Je(null), rt = Je(window.location.href.split("/")[2]), tt = Je(new Zw(Ni.current, f == null ? void 0 : f.domElement)), pt = Je(0), bt = Je(0), ot = Je(new dr()), ye = Je(new Ae()), ce = Je(new Ae()), Be = Je(new dr()), ze = Je(new Ae(1, 0, 0)), Pe = Je(new dr()), gt = Je(null), Bt = Je(new Dae()), $t = Je(null), tn = Je([]), St = Je(null), Wt = Je(new dr()), Jn = Je(new Jd()), [mr, Hn] = mt(Pa.otherAtlases), On = {
129636
129636
  min: new Ae(59.74305725097656, 69.15838623046875, 0.9565062522888184),
129637
129637
  max: new Ae(1081.3045654296875, 800.6698608398438, 1400.156005859375)
129638
129638
  }, [ei, ii] = mt([]), fn = Je({}), qt = Je(!1), di = Je([0, 0]), Dr = Je([0, 0]), Kr = Je(""), rs = Je(!1), [Da, $a] = mt(!1), [mi, ti] = mt(!1), [na, Ko] = mt(0), [Ma, Mo] = mt(0), [hl, Ml] = mt([]), [us, yo] = mt([]), ka = Je(null), is = Je(null), [Js, $s] = mt(""), [ur, ds] = mt(null), [_s, zs] = mt(Fpe || ""), [fs, uo] = mt(!1);
@@ -129738,7 +129738,7 @@ const Zkt = {
129738
129738
  console.error("Fetch error:", we);
129739
129739
  });
129740
129740
  }, []);
129741
- const xa = (we, Ge) => sc ? P.createElement(
129741
+ const Sa = (we, Ge) => sc ? P.createElement(
129742
129742
  "div",
129743
129743
  { style: { position: "absolute", top: "4px", right: "50px" } },
129744
129744
  P.createElement(w1, { defaultChecked: !1, onChange: (Qe) => {
@@ -129750,16 +129750,17 @@ const Zkt = {
129750
129750
  description: P.createElement(
129751
129751
  "div",
129752
129752
  null,
129753
- !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? xa("Assem", function() {
129753
+ !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? Sa("Assem", function() {
129754
129754
  }) : null,
129755
129755
  P.createElement("div", null, a("8000.0001") || "如①所示,在主窗口左侧的是数据面板,用户可以在该选项卡下选择STAM的解剖命名树,配准到STAM上的完整脑血管图谱和神经元数据。用户也可以切换两个不同版本的命名系统。"),
129756
129756
  P.createElement("div", null, a("8000.0002") || "如②所示,主窗口中可以加载脑区、核团的三维模型。"),
129757
- P.createElement("div", null, a("8000.0003") || "如③所示,用户可以切换不同的模式或者功能模块")
129757
+ P.createElement("div", null, a("8000.0003") || "如③所示,用户可以切换不同的模式或者功能模块"),
129758
+ P.createElement("div", null, a("8000.00031") || "如④所示,工具栏从左到右依次是,回到首页、切换水平面、切换矢状面、切换水平面、重置视角、显示设置、反馈")
129758
129759
  ),
129759
129760
  cover: P.createElement("video", { src: `${n}/guide/topo.mp4`, controls: !0, style: { height: 600 } }),
129760
129761
  placement: "center",
129761
129762
  style: { width: "min-content" },
129762
- target: wt.current
129763
+ target: St.current
129763
129764
  },
129764
129765
  {
129765
129766
  title: a("8000.0032") || "解剖结构、脑血管和神经元查询",
@@ -129767,7 +129768,7 @@ const Zkt = {
129767
129768
  description: P.createElement(
129768
129769
  "div",
129769
129770
  null,
129770
- !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? xa("Assem", function() {
129771
+ !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? Sa("Assem", function() {
129771
129772
  }) : null,
129772
129773
  a("8000.0004") || "Regions选项卡包含的是STAM的解剖命名树,用户可以在该选项卡下的复选框中选择任意数量的感兴趣结构,在主窗口中可视化;Vessels选项卡包含了一套配准到STAM上的完整脑血管图谱,用户可以在此选择感兴趣的血管分支;Neurons选项卡用于查询胞体或投射靶区位于感兴趣脑区的神经元数据。用户也可以选择切换到Brain maps 4.0 ontology,该命名树中的结构同样可以被检索、选中并可视化。"
129773
129774
  ),
@@ -129780,12 +129781,12 @@ const Zkt = {
129780
129781
  description: P.createElement(
129781
129782
  "div",
129782
129783
  null,
129783
- !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? xa("Assem", function() {
129784
+ !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? Sa("Assem", function() {
129784
129785
  }) : null,
129785
129786
  a("8000.0005") || "用户可以点击Regions选项卡下的解剖命名树中蓝色的方块图标,此时主窗口中会以组装的形式可视化用户点击结构的所有子结构,同时展开幅度可在右侧面板设置。默认情况下,该坐标系统以Bregma点作为原点。户也可以将坐标原点切换为STAM的其它任意19个颅骨或颅内基准点,主窗口中可视化对象的坐标值将根据新的原点重新计算。右击任意基准点,可以保存以基准点为坐标原点的STAM标签图像。"
129786
129787
  ),
129787
129788
  placement: "center",
129788
- target: wt.current
129789
+ target: St.current
129789
129790
  },
129790
129791
  {
129791
129792
  title: a("8000.0034") || "可视化功能设置",
@@ -129793,7 +129794,7 @@ const Zkt = {
129793
129794
  description: P.createElement(
129794
129795
  "div",
129795
129796
  null,
129796
- !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? xa("Assem", function() {
129797
+ !localStorage.getItem("Assem") || localStorage.getItem("Assem") === "false" ? Sa("Assem", function() {
129797
129798
  }) : null,
129798
129799
  a("8000.0006") || "用户可以在页面底部切换到setting选项卡。Left hemisphere开关决定是否展示左半脑,默认为Off。Coordinate开关决定是否在主窗口中显示坐标数值,默认为On。Datum Marks开关决定是否在主窗口中显示基准点,默认为On。Cranial开关决定是否在主窗口中显示颅骨的三维轮廓,默认为Off。"
129799
129800
  ),
@@ -129805,13 +129806,13 @@ const Zkt = {
129805
129806
  description: P.createElement(
129806
129807
  "div",
129807
129808
  null,
129808
- !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? xa("Virtual", function() {
129809
+ !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? Sa("Virtual", function() {
129809
129810
  }) : null,
129810
129811
  a("8000.0007") || "我们提供了虚拟手术导航服务,用户可以通过交互操作,模拟向小鼠脑注射病毒的立体定位手术过程。STAM会根据用户操作,返回注射位点与作为坐标原点的颅骨或颅内基准点之间的距离和注射角度信息。"
129811
129812
  ),
129812
129813
  cover: P.createElement("video", { src: `${n}/guide/surgery.mp4`, controls: !0, style: { height: 600 } }),
129813
129814
  placement: "center",
129814
- target: wt.current,
129815
+ target: St.current,
129815
129816
  style: { width: "min-content" }
129816
129817
  },
129817
129818
  {
@@ -129820,7 +129821,7 @@ const Zkt = {
129820
129821
  description: P.createElement(
129821
129822
  "div",
129822
129823
  null,
129823
- !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? xa("Virtual", function() {
129824
+ !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? Sa("Virtual", function() {
129824
129825
  }) : null,
129825
129826
  a("8000.0008") || "首先选择要注射的脑区。接下来在脑区上选择注射靶点。用户继续点击Select target按钮,注射脑区的三维模型表面会出现一个跟随鼠标移动的绿点。然后,点击Auto进入自动模式,左侧数据面板中的Structure for injecting选项卡变为Regions to avoid。用户点击需要避开脑区、核团的名称,被选中的文字会变为高亮的红色,同时这些结构的三维轮廓也会显示在主窗口中。接下来点击右侧面板中的Intellectual planning按钮,等待若干秒后,STAM会返回一条从注射靶点出发、并且避开所有用户选中脑区、核团的路径。"
129826
129827
  ),
@@ -129833,7 +129834,7 @@ const Zkt = {
129833
129834
  description: P.createElement(
129834
129835
  "div",
129835
129836
  null,
129836
- !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? xa("Virtual", function() {
129837
+ !localStorage.getItem("Virtual") || localStorage.getItem("Virtual") === "false" ? Sa("Virtual", function() {
129837
129838
  }) : null,
129838
129839
  a("8000.0009") || "用户点击Manually进入手动规划模式,此时用户标记的注射靶点变为蓝色圆点,并出现一条从注射靶点出发、连接到鼠标当前的位置的红色虚射线,该射线与STAM外轮廓的交点(即注射位点)会被标记为绿色。当用户找到合适的注射路径后,可点击鼠标左键标记,被标记的路径会在主窗口中形成一条蓝色实线,注射位点则被标记为蓝色圆锥,且该路径所穿过的脑区、核团名称也会按照其空间位置排列在实线上。在右侧面板中,会出现该注射路径与三个标准解剖方向的夹角、注射靶点,以及注射位点的信息。用户点击右侧面板上的Reset按钮,即可重新开始整个注射手术流程。"
129839
129840
  ),
@@ -129852,13 +129853,13 @@ const Zkt = {
129852
129853
  description: P.createElement(
129853
129854
  "div",
129854
129855
  null,
129855
- !localStorage.getItem("Reg") || localStorage.getItem("Reg") === "false" ? xa("Reg", function() {
129856
+ !localStorage.getItem("Reg") || localStorage.getItem("Reg") === "false" ? Sa("Reg", function() {
129856
129857
  }) : null,
129857
129858
  a("8000.0011") || "如①所示,用户可上传PI或DAPI染色的单张脑片图像,该服务将通过约1分钟的服务器端计算,从STAM中重切出一张与用户上传的脑片位置最接近的图谱切面,并根据计算出来的角度和位置显示在主窗口中。"
129858
129859
  ),
129859
129860
  cover: P.createElement("video", { src: `${n}/guide/registration.mp4`, controls: !0, style: { height: 600 } }),
129860
129861
  placement: "center",
129861
- target: wt.current,
129862
+ target: St.current,
129862
129863
  style: { width: "min-content" }
129863
129864
  },
129864
129865
  {
@@ -129867,39 +129868,37 @@ const Zkt = {
129867
129868
  description: P.createElement(
129868
129869
  "div",
129869
129870
  null,
129870
- !localStorage.getItem("Reg") || localStorage.getItem("Reg") === "false" ? xa("Reg", function() {
129871
+ !localStorage.getItem("Reg") || localStorage.getItem("Reg") === "false" ? Sa("Reg", function() {
129871
129872
  }) : null,
129872
129873
  a("8000.0012") || "用户可以从本地上传待配准的tif/tiff格式的二维脑片图像。然后选择上传图像的类型。接着点击Calculate the corresponding plane from the atlas按钮组中的Start按钮,等待后台返回计算结果。计算完成后,Start按钮下方会出现计算结果的预览图,可左键单击放大查看。Start按钮右侧的Save按钮此时也变为可点击,用户单击该按钮,可以将计算结果下载到本地。"
129873
129874
  ),
129874
129875
  target: document.getElementsByClassName("ant-tabs-content-holder")[1],
129875
129876
  placement: "left"
129876
- },
129877
- {
129878
- title: a("8000.0038") || "页面跳转功能",
129879
- cover: P.createElement("img", { src: `${n}/guide/gif_batch/registration/out_reg2.gif` }),
129880
- description: P.createElement(
129881
- "div",
129882
- null,
129883
- !localStorage.getItem("Reg") || localStorage.getItem("Reg") === "false" ? xa("Reg", function() {
129884
- }) : null,
129885
- a("8000.0013") || "在主窗口右击相应的脑区、核团,可以跳转到任意剖面可视化和脑解剖知识库页面。"
129886
- ),
129887
- placement: "center",
129888
- target: wt.current
129889
129877
  }
129878
+ // {
129879
+ // title: t('8000.0038')||'页面跳转功能',
129880
+ // cover: (
129881
+ // <img
129882
+ // src={`${regionData}/guide/gif_batch/registration/out_reg2.gif`}
129883
+ // />
129884
+ // ),
129885
+ // description: <div>{!localStorage.getItem('Reg') || localStorage.getItem('Reg') === 'false' ? createDontShowAgainCheckbox('Reg', function() {}) : null}{t('8000.0013')||'在主窗口右击相应的脑区、核团,可以跳转到任意剖面可视化和脑解剖知识库页面。'}</div>,
129886
+ // placement:'center',
129887
+ // target: centerRef.current,
129888
+ // }
129890
129889
  ], iu = [
129891
129890
  {
129892
129891
  title: null,
129893
129892
  description: P.createElement(
129894
129893
  "div",
129895
129894
  null,
129896
- !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? xa("Down", function() {
129895
+ !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? Sa("Down", function() {
129897
129896
  }) : null,
129898
129897
  a("8000.0014") || "如①和②所示,用户可以在STAM所在的三维空间中选取任意感兴趣范围,并以不同的采样倍数下载自己选取范围内的原始图像。"
129899
129898
  ),
129900
129899
  cover: P.createElement("video", { src: `${n}/guide/datasharing.mp4`, controls: !0, style: { height: 600 } }),
129901
129900
  placement: "center",
129902
- target: wt.current,
129901
+ target: St.current,
129903
129902
  style: { width: "min-content" }
129904
129903
  },
129905
129904
  {
@@ -129908,7 +129907,7 @@ const Zkt = {
129908
129907
  description: P.createElement(
129909
129908
  "div",
129910
129909
  null,
129911
- !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? xa("Down", function() {
129910
+ !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? Sa("Down", function() {
129912
129911
  }) : null,
129913
129912
  a("8000.0015") || "用户可以点击“Select the range”按钮,然后主窗口中出现一个橙色线条的方框。用户通过长按鼠标左键,拖动红、绿、蓝三种颜色的箭头,可以控制方框在各个方向上的平移,当某个方向的箭头被用户选中时,该箭头会变为高亮的黄色。"
129914
129913
  ),
@@ -129921,12 +129920,12 @@ const Zkt = {
129921
129920
  description: P.createElement(
129922
129921
  "div",
129923
129922
  null,
129924
- !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? xa("Down", function() {
129923
+ !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? Sa("Down", function() {
129925
129924
  }) : null,
129926
129925
  a("8000.0016") || "用户也可以通过按下键盘上的“A”,将范围选取操作从平移模式切换为缩放模式。此时方框的箭头会变为方块,拖动方块,就可以改变方框的大小。经过上述操作明确了待下载数据的空间范围后,可以点击“预览下载图像”按钮,通过体绘制,在主窗口中对该范围内的图像进行可视化,"
129927
129926
  ),
129928
129927
  placement: "center",
129929
- target: wt.current
129928
+ target: St.current
129930
129929
  },
129931
129930
  {
129932
129931
  title: a("8000.0040") || "选择数据的采样倍数并下载",
@@ -129934,7 +129933,7 @@ const Zkt = {
129934
129933
  description: P.createElement(
129935
129934
  "div",
129936
129935
  null,
129937
- !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? xa("Down", function() {
129936
+ !localStorage.getItem("Down") || localStorage.getItem("Down") === "false" ? Sa("Down", function() {
129938
129937
  }) : null,
129939
129938
  a("8000.0017") || "拖动“Set the downsampling rate”滑动条,用户可以选择待下载数据的采样倍数;具体的倍数值可通过滑块上方的黑色背景提示文字查看。当数据量没有超过1 GB时,点击Downloading按钮可直接下载;当超过该数值,点击Downloading按钮会唤起用户终端的邮箱管理工具(如Outlook等),并自动将待下载范围和采样倍数信息填入邮件中,此时用户点击邮件发送按钮,即可向STAM网站发送数据下载申请。"
129940
129939
  ),
@@ -129947,13 +129946,13 @@ const Zkt = {
129947
129946
  description: P.createElement(
129948
129947
  "div",
129949
129948
  null,
129950
- !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? xa("Map", function() {
129949
+ !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? Sa("Map", function() {
129951
129950
  }) : null,
129952
129951
  a("8000.0018") || "我们支持用户上传此前已经配准到Common Coordinate Framework(CCF)的三维图像数据和神经元完整形态数据,并将其映射到STAM上,并直接在三维空间中进行可视化;我们也支持反向映射,即将已经配准到STAM的同类型数据映射到CCF上。"
129953
129952
  ),
129954
129953
  cover: P.createElement("video", { src: `${n}/guide/mapping.mp4`, controls: !0, style: { height: 600 } }),
129955
129954
  placement: "center",
129956
- target: wt.current,
129955
+ target: St.current,
129957
129956
  style: { width: "min-content" }
129958
129957
  },
129959
129958
  {
@@ -129962,7 +129961,7 @@ const Zkt = {
129962
129961
  description: P.createElement(
129963
129962
  "div",
129964
129963
  null,
129965
- !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? xa("Map", function() {
129964
+ !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? Sa("Map", function() {
129966
129965
  }) : null,
129967
129966
  a("8000.0019") || "用户点击右侧面板的Upload按钮,上传已配准到CCF或者STAM的三维图像数据或神经元形态学数据。上传结束后,在Select the direction of conversion单选框中,确定数据的映射方向是从STAM到CCF还是反过来。此后点击Start按钮,STAM的服务器端开始计算,Start按钮变为等待状态。"
129968
129967
  ),
@@ -129975,7 +129974,7 @@ const Zkt = {
129975
129974
  description: P.createElement(
129976
129975
  "div",
129977
129976
  null,
129978
- !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? xa("Map", function() {
129977
+ !localStorage.getItem("Map") || localStorage.getItem("Map") === "false" ? Sa("Map", function() {
129979
129978
  }) : null,
129980
129979
  a("8000.0020") || "等待约10分钟后,STAM的服务器端完成计算并返回结果。此时Save按钮和View result按钮均变为可点击状态。点击Save按钮,可以将计算结果下载到本地;点击View result按钮,可以在主窗口中预览计算结果。"
129981
129980
  ),
@@ -129988,7 +129987,7 @@ const Zkt = {
129988
129987
  description: P.createElement(
129989
129988
  "div",
129990
129989
  null,
129991
- !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? xa("Res", function() {
129990
+ !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? Sa("Res", function() {
129992
129991
  }) : null,
129993
129992
  P.createElement("div", null, a("8000.0021") || "我们提供了沿任意角度可视化脑图谱切面的服务。用户可以查看感兴趣的STAM任意位置和角度的切面,浏览该切面上的脑区、核团标注,并由该图谱切面跳转到STAM任意切面服务所提供的各向同性1微米分辨率切面。"),
129994
129993
  P.createElement("div", null, a("8000.0022") || "如①所示,在窗口左侧的是数据面板,与“三维自然形貌可视化”中的数据面板功能相同。位于正中区域的是主窗口。"),
@@ -129996,7 +129995,7 @@ const Zkt = {
129996
129995
  ),
129997
129996
  cover: P.createElement("video", { src: `${n}/guide/reslicing.mp4`, controls: !0, style: { height: 600 } }),
129998
129997
  placement: "center",
129999
- target: wt.current,
129998
+ target: St.current,
130000
129999
  style: { width: "min-content" }
130001
130000
  },
130002
130001
  {
@@ -130005,12 +130004,12 @@ const Zkt = {
130005
130004
  description: P.createElement(
130006
130005
  "div",
130007
130006
  null,
130008
- !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? xa("Res", function() {
130007
+ !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? Sa("Res", function() {
130009
130008
  }) : null,
130010
130009
  a("8000.0024") || "用户通过长按鼠标左键,拖动红、绿、蓝三种颜色的箭头,可以控制图谱切面的平移。用户也可以通过按下键盘上的“R”,将范围选取操作从平移模式切换为旋转模式。此时箭头会变为球形,沿球形拖动,就可以控制图谱切面的旋转。"
130011
130010
  ),
130012
130011
  placement: "center",
130013
- target: wt.current
130012
+ target: St.current
130014
130013
  },
130015
130014
  {
130016
130015
  title: a("8000.0044") || "下载高分辨率的STAM图谱3D标签图像",
@@ -130018,7 +130017,7 @@ const Zkt = {
130018
130017
  description: P.createElement(
130019
130018
  "div",
130020
130019
  null,
130021
- !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? xa("Res", function() {
130020
+ !localStorage.getItem("Res") || localStorage.getItem("Res") === "false" ? Sa("Res", function() {
130022
130021
  }) : null,
130023
130022
  a("8000.0025") || "用户也可以通过拖动滑动条,实现图谱切面的平移和旋转。点击viewer higher resolution image按钮可以跳转到任意剖面可视化界面。点击Requesting STAM labels按钮,填入许可证即可下载各向同性10微米分辨率的STAM图谱3D标签图像。"
130024
130023
  ),
@@ -130031,7 +130030,7 @@ const Zkt = {
130031
130030
  description: P.createElement(
130032
130031
  "div",
130033
130032
  null,
130034
- !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? xa("Neu", function() {
130033
+ !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? Sa("Neu", function() {
130035
130034
  }) : null,
130036
130035
  P.createElement("div", null, a("8000.0026") || "我们提供全脑的胞体或投射靶区的神经环路数据可视化服务。用户可以选择感兴趣的任意胞体或投射靶区在脑区、核团的神经环路数据,并查看数据对应的脑区、核团标注。"),
130037
130036
  P.createElement("div", null, a("8000.0027") || "如①所示,在窗口左侧的是数据面板,与“三维自然形貌可视化”中的数据面板功能相同,其中Neurons选项卡用于查询胞体或投射靶区位于感兴趣脑区的神经元数据。"),
@@ -130040,7 +130039,7 @@ const Zkt = {
130040
130039
  ),
130041
130040
  cover: P.createElement("video", { src: `${n}/guide/neuronal.mp4`, controls: !0, style: { height: 600 } }),
130042
130041
  placement: "center",
130043
- target: wt.current,
130042
+ target: St.current,
130044
130043
  style: { width: "min-content" }
130045
130044
  },
130046
130045
  {
@@ -130049,7 +130048,7 @@ const Zkt = {
130049
130048
  description: P.createElement(
130050
130049
  "div",
130051
130050
  null,
130052
- !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? xa("Neu", function() {
130051
+ !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? Sa("Neu", function() {
130053
130052
  }) : null,
130054
130053
  a("8000.0030") || "用户可以点击“whole-brain connectivity diagram”按钮或在搜索框中搜索感兴趣脑区、核团,即可弹出由若干个脑区、核团子结构组成的神经环路连接示意图。不同圆点表示不同的脑区、核团结构,圆点旁边显示的是脑区、核团的名称。用户可以将鼠标移动到圆点、脑区或核团的名称上,左击或右击圆点。"
130055
130054
  ),
@@ -130062,7 +130061,7 @@ const Zkt = {
130062
130061
  description: P.createElement(
130063
130062
  "div",
130064
130063
  null,
130065
- !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? xa("Neu", function() {
130064
+ !localStorage.getItem("Neu") || localStorage.getItem("Neu") === "false" ? Sa("Neu", function() {
130066
130065
  }) : null,
130067
130066
  a("8000.0031") || "双击任意一个代表某个脑区、核团结构的圆点,神经环路连接示意图窗口隐藏,回到主窗口页面,显示该结构的上下游连接关系。在Upstream窗口中展示了投射到选中脑区、核团的神经环路,在Downstream窗口中展示了选中脑区、核团的投射靶区。用户可以用复选框选择任意数量的感兴趣神经元,在主窗口中可视化。"
130068
130067
  ),
@@ -130283,7 +130282,7 @@ const Zkt = {
130283
130282
  const fo = () => {
130284
130283
  vr.resize(), qr.resize();
130285
130284
  }, zl = (ho) => {
130286
- if (oe(St.indexOf("neurons") + 1), xe.current.ProcessedData.current = !1, ho.data && ho.data.name) {
130285
+ if (oe(wt.indexOf("neurons") + 1), xe.current.ProcessedData.current = !1, ho.data && ho.data.name) {
130287
130286
  xe.current.setSearchValue(Kt.replace("_", "/")), xe.current.setSomaValue(ho.data.name.replace("_", "/"));
130288
130287
  const Hl = D(si[0], ho.data.name);
130289
130288
  vr.setOption({
@@ -130297,7 +130296,7 @@ const Zkt = {
130297
130296
  });
130298
130297
  }
130299
130298
  }, xo = (ho) => {
130300
- if (oe(St.indexOf("neurons") + 1), xe.current.ProcessedData.current = !1, ho.data && ho.data.name) {
130299
+ if (oe(wt.indexOf("neurons") + 1), xe.current.ProcessedData.current = !1, ho.data && ho.data.name) {
130301
130300
  xe.current.setSearchValue(ho.data.name.replace("_", "/")), xe.current.setSomaValue(Kt.replace("_", "/"));
130302
130301
  const Hl = D(hr[0], ho.data.name);
130303
130302
  qr.setOption({
@@ -131804,12 +131803,12 @@ const Zkt = {
131804
131803
  Ll(!1);
131805
131804
  }, gf = (we) => {
131806
131805
  if (Do(we), Pa.leftHemisphereVisibility = we, we) {
131807
- for (let Ge in Ca.current)
131808
- Ca.current[Ge] && A.includes(Ge) && Me.current.add(Ca.current[Ge]);
131806
+ for (let Ge in xa.current)
131807
+ xa.current[Ge] && A.includes(Ge) && Me.current.add(xa.current[Ge]);
131809
131808
  tv.current = !0;
131810
131809
  } else {
131811
- for (let Ge in Ca.current)
131812
- Ca.current[Ge] && Me.current.remove(Ca.current[Ge]);
131810
+ for (let Ge in xa.current)
131811
+ xa.current[Ge] && Me.current.remove(xa.current[Ge]);
131813
131812
  tv.current = !1;
131814
131813
  }
131815
131814
  }, fx = (we) => {
@@ -132968,7 +132967,7 @@ Downsampling level:${Wr}
132968
132967
  right: "440px",
132969
132968
  margin: "auto"
132970
132969
  }, open: Jl, onOk: WS, onCancel: EI, width: "auto", footer: null }, me ? P.createElement(zkt, { axon_check: me, fbxTreeDatas: ke, setLeftMenuTabIndex: oe, swcRef: xe, setIsChartOpen: Ll, setEchartValue: Ne, setChartValue: zs, reset: ko }) : null),
132971
- P.createElement("div", { ref: wt, className: "class", style: { width: 0, height: 0, overflow: "hidden", position: "fixed", top: "50%", left: "50%" } })
132970
+ P.createElement("div", { ref: St, className: "class", style: { width: 0, height: 0, overflow: "hidden", position: "fixed", top: "50%", left: "50%" } })
132972
132971
  );
132973
132972
  }), Jkt = P.memo((t) => {
132974
132973
  const { direction: e, percentage: n, pointMax: r, pointMin: i, color: a, sliceImgNum: o, slicePath: s, transformControls: c, controls: u, handleStateUpdate: d, canvas_width: f, canvas_height: h, cube_helper: p, renderer: v, showMesh: y, slice_arbitrary: g, normalVector: m, canMouseMove: b = !0, setAngleX: x, setAngleY: C, setAngleZ: w, gray_value: _, setSectionsInfo: A, sectionsInfoRef: R, sectionPointRef: M, composer: N, menutagShowRef: k, tabIndex: B, settransformControlsType: H, slicing_url: F } = t, G = Je([]), z = Je(null), V = Je(new _3()), j = Je(new Ul()), Y = Je(0), W = Je(0), Z = Je(0), te = Je(new _r()), se = Je(new eL()), q = Je(!1), ne = Je({
@@ -133121,10 +133120,10 @@ Downsampling level:${Wr}
133121
133120
  if (Ne) {
133122
133121
  const Se = Ne.image, Ze = Ne.rotation, ve = Ne.center, ue = he(_e, -Ze, ve), Le = document.createElement("canvas"), at = Le.getContext("2d");
133123
133122
  Se && (Le.width = Se.width, Le.height = Se.height), at.drawImage(Se, 0, 0);
133124
- const De = at.getImageData(0, 0, Le.width, Le.height), Ye = Math.floor(ue.x * Le.width), ct = (Math.floor((1 - ue.y) * Le.height) * Le.width + Ye) * 4, ut = De.data[ct], St = De.data[ct + 1], st = De.data[ct + 2], Ue = _.current[`${ut},${St},${st}`];
133123
+ const De = at.getImageData(0, 0, Le.width, Le.height), Ye = Math.floor(ue.x * Le.width), ct = (Math.floor((1 - ue.y) * Le.height) * Le.width + Ye) * 4, ut = De.data[ct], wt = De.data[ct + 1], st = De.data[ct + 2], Ue = _.current[`${ut},${wt},${st}`];
133125
133124
  oe.current = setTimeout(() => {
133126
133125
  ut === 0 && R.current.gray === 0 || (A({
133127
- gray: `${ut},${St},${st}`,
133126
+ gray: `${ut},${wt},${st}`,
133128
133127
  brains: Ue,
133129
133128
  left: Q.clientX,
133130
133129
  top: Q.clientY
@@ -133156,10 +133155,10 @@ Downsampling level:${Wr}
133156
133155
  if (Ne) {
133157
133156
  const Se = Ne.image, Ze = Ne.rotation, ve = Ne.center, ue = he(_e, -Ze, ve), Le = document.createElement("canvas"), at = Le.getContext("2d");
133158
133157
  Le.width = Se.width, Le.height = Se.height, at.drawImage(Se, 0, 0);
133159
- const De = at.getImageData(0, 0, Le.width, Le.height), Ye = Math.floor(ue.x * Le.width), ct = (Math.floor((1 - ue.y) * Le.height) * Le.width + Ye) * 4, ut = De.data[ct], St = De.data[ct + 1], st = De.data[ct + 2], Ue = _.current[`${ut},${St},${st}`];
133158
+ const De = at.getImageData(0, 0, Le.width, Le.height), Ye = Math.floor(ue.x * Le.width), ct = (Math.floor((1 - ue.y) * Le.height) * Le.width + Ye) * 4, ut = De.data[ct], wt = De.data[ct + 1], st = De.data[ct + 2], Ue = _.current[`${ut},${wt},${st}`];
133160
133159
  oe.current = setTimeout(() => {
133161
133160
  ut === 0 && R.current.gray === 0 || (A({
133162
- gray: `${ut},${St},${st}`,
133161
+ gray: `${ut},${wt},${st}`,
133163
133162
  brains: Ue,
133164
133163
  left: Q.clientX,
133165
133164
  top: Q.clientY
@@ -135713,7 +135712,7 @@ let PB = [], WBt = new URL(window.location.href), ux = new URLSearchParams(WBt.s
135713
135712
  ux.get("neuronsFilterInfo");
135714
135713
  let eve = ux.get("regionsExpanded"), tve = ux.get("neuronsText"), RB = ux.get("neuronsChecked"), nve = ux.get("neuronsColor");
135715
135714
  const NB = yc((t, e) => {
135716
- const { treeDatas: n, fbxTreeDatas: r, vesselObj: i, json_name: a, offset_factor_R: o, type: s, leftTreeRef: c, baozhaRef: u, needBaozha: d, offset_factor: f, dataUrl: h, t: p, StepsCount: v, showimage: y, checkItems: g, setCheckItems: m, outflag: b, automaticGroup: x, mode: C, axon_check: w, swcnameMesh: _, updatePage: A, setEchartValue: R, auxRef: M, PointShow: N, tasktype: k, regionData: B, metadata: H, resourceTab: F, atlasData: G, setSelected: z, Selected: V, Selectoptions: j, setFormshow: Y, formshow: W } = t, [Z, te] = mt([]), se = Je(null), [q, ne] = mt(!1), [oe, ie] = mt(Qpe ? JSON.parse(Qpe) : null), [ee, me] = mt(Jpe ? JSON.parse(Jpe) : null), pe = Je({}), he = Je(g), re = Je({}), xe = Je(!1), Q = Je(1), be = Je(!0), de = Je(!1), _e = Je([]), ke = Je("FBX"), [He, Ne] = mt([]), Se = Je([]), Ze = Je([]), ve = Je([]), ue = Je(!0), [Le, at] = mt([]), De = Je([]), [Ye, dt] = mt([]), ct = Je(null), ut = Je(null), St = Je(null), st = Je(null), Ue = Je(0), ft = Je(!0), it = Je([]), nt = Je({}), Ct = Je([]), [$e, Lt] = mt(!1), [At, kt] = mt({}), [Ot, Vt] = mt(!1), [Xt, hn] = mt(!1), [wn, In] = mt(!1), [jn, rn] = mt(!1), [Or, Vn] = mt(!1), [xn, Un] = mt(!1), [pn, Qn] = mt(!1), [fr, kr] = mt(!1), [Wn, cr] = mt(!1), [je, Mt] = mt("1"), Dt = Je({ data: [] }), Ft = Je({ data: [] }), Ut = Je({ data: [] }), Gt = Je({ data: [] }), zt = Je({ data: [] }), Yt = Je(!1), $n = Je(""), Ht = Je(nve ? JSON.parse(decodeURIComponent(nve).replace("!", "#")) : {}), [Pt, Jt] = mt(1), [Gn, Pn] = mt({}), [Cr, Mr] = mt(!1), er = [
135715
+ const { treeDatas: n, fbxTreeDatas: r, vesselObj: i, json_name: a, offset_factor_R: o, type: s, leftTreeRef: c, baozhaRef: u, needBaozha: d, offset_factor: f, dataUrl: h, t: p, StepsCount: v, showimage: y, checkItems: g, setCheckItems: m, outflag: b, automaticGroup: x, mode: C, axon_check: w, swcnameMesh: _, updatePage: A, setEchartValue: R, auxRef: M, PointShow: N, tasktype: k, regionData: B, metadata: H, resourceTab: F, atlasData: G, setSelected: z, Selected: V, Selectoptions: j, setFormshow: Y, formshow: W } = t, [Z, te] = mt([]), se = Je(null), [q, ne] = mt(!1), [oe, ie] = mt(Qpe ? JSON.parse(Qpe) : null), [ee, me] = mt(Jpe ? JSON.parse(Jpe) : null), pe = Je({}), he = Je(g), re = Je({}), xe = Je(!1), Q = Je(1), be = Je(!0), de = Je(!1), _e = Je([]), ke = Je("FBX"), [He, Ne] = mt([]), Se = Je([]), Ze = Je([]), ve = Je([]), ue = Je(!0), [Le, at] = mt([]), De = Je([]), [Ye, dt] = mt([]), ct = Je(null), ut = Je(null), wt = Je(null), st = Je(null), Ue = Je(0), ft = Je(!0), it = Je([]), nt = Je({}), Ct = Je([]), [$e, Lt] = mt(!1), [At, kt] = mt({}), [Ot, Vt] = mt(!1), [Xt, hn] = mt(!1), [wn, In] = mt(!1), [jn, rn] = mt(!1), [Or, Vn] = mt(!1), [xn, Un] = mt(!1), [pn, Qn] = mt(!1), [fr, kr] = mt(!1), [Wn, cr] = mt(!1), [je, Mt] = mt("1"), Dt = Je({ data: [] }), Ft = Je({ data: [] }), Ut = Je({ data: [] }), Gt = Je({ data: [] }), zt = Je({ data: [] }), Yt = Je(!1), $n = Je(""), Ht = Je(nve ? JSON.parse(decodeURIComponent(nve).replace("!", "#")) : {}), [Pt, Jt] = mt(1), [Gn, Pn] = mt({}), [Cr, Mr] = mt(!1), er = [
135717
135716
  Je({ data: [] }),
135718
135717
  Je({ data: [] }),
135719
135718
  Je({ data: [] })
@@ -135815,9 +135814,9 @@ const NB = yc((t, e) => {
135815
135814
  let ye = new Po();
135816
135815
  const ce = new Jd();
135817
135816
  ot.line.forEach(($t, tn) => {
135818
- var wt = ot.position[$t.end], Wt = ot.position[$t.start];
135817
+ var St = ot.position[$t.end], Wt = ot.position[$t.start];
135819
135818
  let Jn = new ia(), mr = [];
135820
- mr.push(wt.x * 0.01, wt.y * 0.01, wt.z * 0.01), Jn.setAttribute("position", new Na(mr, 3));
135819
+ mr.push(St.x * 0.01, St.y * 0.01, St.z * 0.01), Jn.setAttribute("position", new Na(mr, 3));
135821
135820
  let Hn = new ob({
135822
135821
  glslVersion: C0,
135823
135822
  uniforms: {
@@ -135933,12 +135932,12 @@ const NB = yc((t, e) => {
135933
135932
  color: tn === 0 ? "#1771FF" : "#A7B5A1"
135934
135933
  }))), $t.end_name && (nt.current.hasOwnProperty($t.end_name) ? nt.current[`${$t.end_name}`].push({
135935
135934
  name: rt,
135936
- point: [wt.x, wt.y, wt.z],
135935
+ point: [St.x, St.y, St.z],
135937
135936
  type: "end",
135938
135937
  color: tt
135939
135938
  }) : (nt.current[`${$t.end_name}`] = [], nt.current[`${$t.end_name}`].push({
135940
135939
  name: rt,
135941
- point: [wt.x, wt.y, wt.z],
135940
+ point: [St.x, St.y, St.z],
135942
135941
  type: "end",
135943
135942
  color: tt
135944
135943
  })));
@@ -135998,11 +135997,11 @@ const NB = yc((t, e) => {
135998
135997
  gt.translateX(To.current), gt.translateY(to.current), gt.translateZ(oo.current), gt.myMeshType = "neuronSphere", gt.name = `${rt}-${ot.line[0].start_name}`, gt.userData.color = "#1771FF", gt.myMeshType = "neuronSphere", gt.name = `${rt}-${ot.line[0].start_name}`, gt.userData.color = "#1771FF", Zr(gt), ce.add(gt), ce.name = `swcPointGroup${rt}`, it.current.push(ce), Me.current.add(ce);
135999
135998
  let Bt = 1;
136000
135999
  for (let $t = 0; $t < ot.line.length; $t++) {
136001
- let tn = [], wt = [ot.position[0].x, ot.position[0].y, ot.position[0].z];
136000
+ let tn = [], St = [ot.position[0].x, ot.position[0].y, ot.position[0].z];
136002
136001
  for (let Jn = ot.line[$t].start; Jn <= ot.line[$t].end; Jn++) {
136003
- Jn === ot.line[$t].start && (wt = [ot.position[Jn].x, ot.position[Jn].y, ot.position[Jn].z]);
136002
+ Jn === ot.line[$t].start && (St = [ot.position[Jn].x, ot.position[Jn].y, ot.position[Jn].z]);
136004
136003
  let mr = ot.position[Jn].x, Hn = ot.position[Jn].y, On = ot.position[Jn].z;
136005
- (Math.sqrt((mr - wt[0]) * (mr - wt[0]) + (Hn - wt[1]) * (Hn - wt[1]) + (On - wt[2]) * (On - wt[2])) > Bt || Jn === ot.line[$t].end || Jn === ot.line[$t].start) && (tn.push(new Ae(mr, Hn, On)), wt = [mr, Hn, On]);
136004
+ (Math.sqrt((mr - St[0]) * (mr - St[0]) + (Hn - St[1]) * (Hn - St[1]) + (On - St[2]) * (On - St[2])) > Bt || Jn === ot.line[$t].end || Jn === ot.line[$t].start) && (tn.push(new Ae(mr, Hn, On)), St = [mr, Hn, On]);
136006
136005
  }
136007
136006
  let Wt = new Ga(new ia().setFromPoints(tn), new oh({
136008
136007
  color: tt
@@ -136064,21 +136063,21 @@ const NB = yc((t, e) => {
136064
136063
  let bt = new URL(window.location.href), ot = new URLSearchParams(bt.search), ye = We, ce = B3e(ye, _e.current), ze = Jv(ye, _e.current).children, Pe = B + "/data/" + ke.current + "/" + Hr(ye) + ".FBX";
136065
136064
  for (var gt = 0; gt < ce.length; gt++) {
136066
136065
  if (An(ce[gt], !0), Le.includes(ce[gt])) {
136067
- at((tn) => tn.filter((wt) => wt !== ce[gt]));
136066
+ at((tn) => tn.filter((St) => St !== ce[gt]));
136068
136067
  const $t = JSON.stringify(Le.filter((tn) => tn !== ce[gt]));
136069
136068
  ot.set("regionsExpanded", $t);
136070
136069
  }
136071
136070
  he.current = he.current.filter(($t) => $t !== ce[gt]);
136072
136071
  }
136073
136072
  if (Le.includes(ye)) {
136074
- at((tn) => tn.filter((wt) => wt !== ye));
136073
+ at((tn) => tn.filter((St) => St !== ye));
136075
136074
  const $t = JSON.stringify(Le.filter((tn) => tn !== ye));
136076
- ot.set("regionsExpanded", $t), he.current.includes(ye) || he.current.push(ye), Yi.current[ye] ? (Me.current.remove(Yi.current[ye]), Yi.current[ye].children[0].material.color.set(tt), Me.current.add(Yi.current[ye]), tv.current && (Me.current.remove(Ca.current[ye]), Ca.current[ye].children[0].material.color.set(tt), Me.current.add(Ca.current[ye]))) : Id(Pe, ye, tt, 0.6, parseInt(pt));
136075
+ ot.set("regionsExpanded", $t), he.current.includes(ye) || he.current.push(ye), Yi.current[ye] ? (Me.current.remove(Yi.current[ye]), Yi.current[ye].children[0].material.color.set(tt), Me.current.add(Yi.current[ye]), tv.current && (Me.current.remove(xa.current[ye]), xa.current[ye].children[0].material.color.set(tt), Me.current.add(xa.current[ye]))) : Id(Pe, ye, tt, 0.6, parseInt(pt));
136077
136076
  for (var gt = 0; gt < ze.length; gt++)
136078
- he.current = he.current.filter((wt) => wt !== ze[gt].name), An(ze[gt].name, !0), Ue.current = 0, delete re.current[ze[gt].name];
136077
+ he.current = he.current.filter((St) => St !== ze[gt].name), An(ze[gt].name, !0), Ue.current = 0, delete re.current[ze[gt].name];
136079
136078
  } else {
136080
136079
  const $t = document.getElementById("spinner"), tn = JSON.stringify([...Le, ye]);
136081
- ot.set("regionsExpanded", tn), at((wt) => [...wt, ye]), $t && ($t.style.display = "block"), Yi.current[ye] ? (Me.current.remove(Yi.current[ye]), Yi.current[ye].children[0].material.color.set("#DBDBDB"), Me.current.add(Yi.current[ye]), tv.current && (Me.current.remove(Ca.current[ye]), Ca.current[ye].children[0].material.color.set("#DBDBDB"), Me.current.add(Ca.current[ye]))) : Id(Pe, ye, "#DBDBDB", 0.6, parseInt(pt)), he.current = he.current.filter((wt) => wt !== ye);
136080
+ ot.set("regionsExpanded", tn), at((St) => [...St, ye]), $t && ($t.style.display = "block"), Yi.current[ye] ? (Me.current.remove(Yi.current[ye]), Yi.current[ye].children[0].material.color.set("#DBDBDB"), Me.current.add(Yi.current[ye]), tv.current && (Me.current.remove(xa.current[ye]), xa.current[ye].children[0].material.color.set("#DBDBDB"), Me.current.add(xa.current[ye]))) : Id(Pe, ye, "#DBDBDB", 0.6, parseInt(pt)), he.current = he.current.filter((St) => St !== ye);
136082
136081
  for (var gt = 0; gt < ze.length; gt++)
136083
136082
  if (ze[gt]["3D"]) {
136084
136083
  let Wt = parseInt(ze[gt].z), Jn = ze[gt].color, mr = B + "/data/" + ke.current + "/" + Hr(ze[gt].name) + ".FBX";
@@ -136343,7 +136342,7 @@ const NB = yc((t, e) => {
136343
136342
  let Be = ce.clone();
136344
136343
  if (We != "Brain") {
136345
136344
  var ze = new Fi(), Pe = new Ae(1, 0, 0);
136346
- ze.set(1 - 2 * Pe.x * Pe.x, -2 * Pe.x * Pe.y, -2 * Pe.x * Pe.z, 0, -2 * Pe.x * Pe.y, 1 - 2 * Pe.y * Pe.y, -2 * Pe.y * Pe.z, 0, -2 * Pe.x * Pe.z, -2 * Pe.y * Pe.z, 1 - 2 * Pe.z * Pe.z, 0, 0, 0, 0, 1), Be.applyMatrix4(ze), Be.translateX(-To.current), Be.translateY(oo.current), Be.translateZ(-to.current), Be.name = We, Be.myMeshType = "FBX", Be.children[0].name = We, Be.children[0].myMeshType = "FBX", Ca.current[We] = Be, tv.current && Me.current.add(Be);
136345
+ ze.set(1 - 2 * Pe.x * Pe.x, -2 * Pe.x * Pe.y, -2 * Pe.x * Pe.z, 0, -2 * Pe.x * Pe.y, 1 - 2 * Pe.y * Pe.y, -2 * Pe.y * Pe.z, 0, -2 * Pe.x * Pe.z, -2 * Pe.y * Pe.z, 1 - 2 * Pe.z * Pe.z, 0, 0, 0, 0, 1), Be.applyMatrix4(ze), Be.translateX(-To.current), Be.translateY(oo.current), Be.translateZ(-to.current), Be.name = We, Be.myMeshType = "FBX", Be.children[0].name = We, Be.children[0].myMeshType = "FBX", xa.current[We] = Be, tv.current && Me.current.add(Be);
136347
136346
  }
136348
136347
  ce.translateX(To.current), ce.translateY(oo.current), ce.translateZ(-to.current), ce.name = We, ce.myMeshType = "FBX", ce.children[0].name = We, ce.children[0].myMeshType = "FBX", Yi.current[We] = ce, Me.current.add(Yi.current[We]);
136349
136348
  var gt = new Ae(), Bt = new cl().setFromObject(ce);
@@ -136352,15 +136351,15 @@ const NB = yc((t, e) => {
136352
136351
  Bt.getSize($t);
136353
136352
  var tn = $t.x * $t.y * $t.z;
136354
136353
  sb.current[We] = [gt, tn];
136355
- for (var wt = lb(We, _e.current), Wt = 0; Wt < wt.length; Wt++)
136356
- if (o != null && o.current && re.current[wt[Wt]])
136354
+ for (var St = lb(We, _e.current), Wt = 0; Wt < St.length; Wt++)
136355
+ if (o != null && o.current && re.current[St[Wt]])
136357
136356
  if (xe.current || be.current) {
136358
- ce.translateOnAxis(re == null ? void 0 : re.current[wt[Wt]].axis, o.current * (re == null ? void 0 : re.current[wt[Wt]].length));
136359
- var Jn = re == null ? void 0 : re.current[wt[Wt]].axis.clone();
136360
- Jn.x = Jn.x * -1, Be.translateOnAxis(Jn, o.current * (re == null ? void 0 : re.current[wt[Wt]].length));
136357
+ ce.translateOnAxis(re == null ? void 0 : re.current[St[Wt]].axis, o.current * (re == null ? void 0 : re.current[St[Wt]].length));
136358
+ var Jn = re == null ? void 0 : re.current[St[Wt]].axis.clone();
136359
+ Jn.x = Jn.x * -1, Be.translateOnAxis(Jn, o.current * (re == null ? void 0 : re.current[St[Wt]].length));
136361
136360
  } else {
136362
- var Jn = re[wt[Wt]].axis.clone();
136363
- Jn.x = Jn.x * -1, Be.translateOnAxis(Jn, o.current * (re == null ? void 0 : re.current[wt[Wt]].length)), ce.translateOnAxis(re == null ? void 0 : re.current[wt[Wt]].axis, o.current * (re == null ? void 0 : re.current[wt[Wt]].length));
136361
+ var Jn = re[St[Wt]].axis.clone();
136362
+ Jn.x = Jn.x * -1, Be.translateOnAxis(Jn, o.current * (re == null ? void 0 : re.current[St[Wt]].length)), ce.translateOnAxis(re == null ? void 0 : re.current[St[Wt]].axis, o.current * (re == null ? void 0 : re.current[St[Wt]].length));
136364
136363
  }
136365
136364
  Yi.current[We] = ce;
136366
136365
  let mr = Pi(We, _e.current);
@@ -136403,17 +136402,17 @@ const NB = yc((t, e) => {
136403
136402
  var ce = rt;
136404
136403
  for (var Be in Ie) {
136405
136404
  var ze = Ie[Be];
136406
- ot = Yi.current[ze], ye = Ca.current[ze];
136405
+ ot = Yi.current[ze], ye = xa.current[ze];
136407
136406
  var Pe = We[ze].axis, gt = Pe.clone();
136408
136407
  gt.x = gt.x * -1;
136409
136408
  var Bt = We[ze].length;
136410
136409
  if (bt && o) {
136411
- Yi.current[Ie[Be]].locationLength = o == null ? void 0 : o.current, Yi.current[Ie[Be]].position.set(0, 0, 0), Yi.current[Ie[Be]].translateX(To.current), Yi.current[Ie[Be]].translateY(oo.current), Yi.current[Ie[Be]].translateZ(-to.current), Yi.current[Ie[Be]].translateOnAxis(Pe, (o == null ? void 0 : o.current) * Bt), Ca.current[Ie[Be]].position.set(0, 0, 0), Ca.current[Ie[Be]].translateX(-To.current), Ca.current[Ie[Be]].translateY(oo.current), Ca.current[Ie[Be]].translateZ(-to.current), Ca.current[Ie[Be]].locationLength = o == null ? void 0 : o.current, Ca.current[Ie[Be]].translateOnAxis(gt, (o == null ? void 0 : o.current) * Bt);
136410
+ Yi.current[Ie[Be]].locationLength = o == null ? void 0 : o.current, Yi.current[Ie[Be]].position.set(0, 0, 0), Yi.current[Ie[Be]].translateX(To.current), Yi.current[Ie[Be]].translateY(oo.current), Yi.current[Ie[Be]].translateZ(-to.current), Yi.current[Ie[Be]].translateOnAxis(Pe, (o == null ? void 0 : o.current) * Bt), xa.current[Ie[Be]].position.set(0, 0, 0), xa.current[Ie[Be]].translateX(-To.current), xa.current[Ie[Be]].translateY(oo.current), xa.current[Ie[Be]].translateZ(-to.current), xa.current[Ie[Be]].locationLength = o == null ? void 0 : o.current, xa.current[Ie[Be]].translateOnAxis(gt, (o == null ? void 0 : o.current) * Bt);
136412
136411
  continue;
136413
136412
  }
136414
136413
  switch (tt) {
136415
136414
  case 0:
136416
- pt ? (Yi.current[Ie[Be]].translateOnAxis(Pe, pt * Bt), Ca.current[Ie[Be]].translateOnAxis(gt, pt * Bt)) : (Yi.current[Ie[Be]].translateOnAxis(Pe, ce * Bt), Ca.current[Ie[Be]].translateOnAxis(gt, ce * Bt));
136415
+ pt ? (Yi.current[Ie[Be]].translateOnAxis(Pe, pt * Bt), xa.current[Ie[Be]].translateOnAxis(gt, pt * Bt)) : (Yi.current[Ie[Be]].translateOnAxis(Pe, ce * Bt), xa.current[Ie[Be]].translateOnAxis(gt, ce * Bt));
136417
136416
  break;
136418
136417
  case 1:
136419
136418
  ce <= 0 ? (ot.translateOnAxis(Pe, -1 * Math.sqrt(Math.abs(ce * Bt))), ye.translateOnAxis(gt, -1 * Math.sqrt(Math.abs(ce * Bt)))) : (ot.translateOnAxis(Pe, Math.sqrt(ce * Bt)), ye.translateOnAxis(gt, Math.sqrt(ce * Bt)));
@@ -136485,7 +136484,7 @@ const NB = yc((t, e) => {
136485
136484
  if (pe.current[Be.name])
136486
136485
  ze("");
136487
136486
  else {
136488
- m((wt) => [...wt, Be.name]);
136487
+ m((St) => [...St, Be.name]);
136489
136488
  let gt = new URL(window.location.href), Bt = new URLSearchParams(gt.search);
136490
136489
  const $t = [...g, Be.name], tn = JSON.stringify($t);
136491
136490
  Bt.set("neuronsChecked", tn), gt.search = Bt.toString(), window.history.replaceState({}, "", gt), ye && (ye.style.display = "block"), xr(Be.path, 6, Be.name, Be.color, function() {
@@ -136611,7 +136610,7 @@ const NB = yc((t, e) => {
136611
136610
  !Yt.current && n && n.length > 0 && (Zn(), Et(), Yt.current = !1);
136612
136611
  }, [n]);
136613
136612
  const An = (Ie, We = !1) => {
136614
- Yi.current[Ie] && (Me.current.remove(Yi.current[Ie]), Yi.current[Ie].children[0].geometry.dispose(), We && delete Yi.current[Ie]), Ca.current[Ie] && (Me.current.remove(Ca.current[Ie]), Ca.current[Ie].children[0].geometry.dispose(), We && delete Ca.current[Ie]), re.current[Ie] && We && delete re.current[Ie];
136613
+ Yi.current[Ie] && (Me.current.remove(Yi.current[Ie]), Yi.current[Ie].children[0].geometry.dispose(), We && delete Yi.current[Ie]), xa.current[Ie] && (Me.current.remove(xa.current[Ie]), xa.current[Ie].children[0].geometry.dispose(), We && delete xa.current[Ie]), re.current[Ie] && We && delete re.current[Ie];
136615
136614
  }, Rr = (Ie, We) => {
136616
136615
  const rt = {}, tt = {};
136617
136616
  for (const pt in Ie) {
@@ -136732,8 +136731,8 @@ const NB = yc((t, e) => {
136732
136731
  }
136733
136732
  let tn = new IX($t);
136734
136733
  Bt = ce ? Math.ceil(Bt / 5) : Bt;
136735
- const wt = new OT(), Wt = new dr(new KO(tn, Bt, gt, We, !1), ye);
136736
- Wt.scale.set(1, 1, 1), wt.addLevel(Wt, 0);
136734
+ const St = new OT(), Wt = new dr(new KO(tn, Bt, gt, We, !1), ye);
136735
+ Wt.scale.set(1, 1, 1), St.addLevel(Wt, 0);
136737
136736
  const Jn = 80, mr = [$t[0]];
136738
136737
  for (let On = 1; On < $t.length; On++) {
136739
136738
  const ei = mr[mr.length - 1], ii = $t[On];
@@ -136742,7 +136741,7 @@ const NB = yc((t, e) => {
136742
136741
  const Hn = new Ga(new ia().setFromPoints(mr), new oh({
136743
136742
  color: rt
136744
136743
  }));
136745
- Hn.scale.set(1, 1, 1), wt.addLevel(Hn, 10), wt.name = tt, wt.myMeshType = "Vessel", wt.autoUpdate = !1, ot.add(wt);
136744
+ Hn.scale.set(1, 1, 1), St.addLevel(Hn, 10), St.name = tt, St.myMeshType = "Vessel", St.autoUpdate = !1, ot.add(St);
136746
136745
  }
136747
136746
  ot.scale.set(ha.current * 0.1, ha.current * 0.1, ha.current * 0.1), ot.translateX(To.current), ot.translateY(to.current), ot.translateZ(oo.current), ot.name = tt, ot.myMeshType = "Vessel", Me.current.add(ot);
136748
136747
  let ze = {
@@ -136778,7 +136777,7 @@ const NB = yc((t, e) => {
136778
136777
  let We = new URL(window.location.href), rt = new URLSearchParams(We.search);
136779
136778
  rt.set("neuronsSomaLocates", JSON.stringify(Ie)), We.search = rt.toString(), window.history.replaceState({}, "", We), Ie != "" ? me(Ie) : (me(Ie), te(Se.current));
136780
136779
  }, Wr = ni(Vr, 50), bi = () => {
136781
- let Ie = [Yi.current, Ca.current, re.current];
136780
+ let Ie = [Yi.current, xa.current, re.current];
136782
136781
  for (let pt of Ie)
136783
136782
  for (let bt in pt)
136784
136783
  bt != "Brain" && An(bt, !0);
@@ -136817,7 +136816,7 @@ const NB = yc((t, e) => {
136817
136816
  En(() => {
136818
136817
  ft.current && (ee ? ct.current && ct.current.focus() : ut.current && ut.current.focus());
136819
136818
  }, [ee]), En(() => {
136820
- ft.current && (oe ? St.current && St.current.focus() : st.current && st.current.focus());
136819
+ ft.current && (oe ? wt.current && wt.current.focus() : st.current && st.current.focus());
136821
136820
  }, [oe]);
136822
136821
  const Ho = (Ie, We) => {
136823
136822
  let rt = null, tt = null;
@@ -136880,7 +136879,7 @@ const NB = yc((t, e) => {
136880
136879
  marginBottom: 8
136881
136880
  } }),
136882
136881
  ee ? P.createElement(w4, { ref: ct, style: { width: "100%", marginBottom: 8 }, options: Ye, placeholder: p("5000.5040") || "Input the region that soma locates", onSearch: Aa, onChange: Wr, value: ee }) : P.createElement(nb, { ref: ut, showSearch: !0, style: { width: "100%", marginBottom: 8 }, value: ee, dropdownStyle: { maxHeight: 400, overflow: "hidden" }, placeholder: p("5000.5040") || "Input the region that soma locates", allowClear: !0, treeDefaultExpandAll: !1, onChange: Vr, onSearch: Vr, treeData: yn(r) }),
136883
- oe ? P.createElement(w4, { ref: St, style: { width: "100%", marginBottom: 8 }, options: Ye, placeholder: p("5000.5041") || "Input the region that neuron projects", onSearch: Aa, onChange: Gr, value: oe }) : P.createElement(nb, { showSearch: !0, ref: st, style: { width: "100%" }, value: oe, dropdownStyle: { maxHeight: 400, overflow: "hidden", marginBottom: 8 }, placeholder: p("5000.5041") || "Input the region that neuron projects", allowClear: !0, treeDefaultExpandAll: !1, onChange: wr, onSearch: wr, treeData: yn(r) }),
136882
+ oe ? P.createElement(w4, { ref: wt, style: { width: "100%", marginBottom: 8 }, options: Ye, placeholder: p("5000.5041") || "Input the region that neuron projects", onSearch: Aa, onChange: Gr, value: oe }) : P.createElement(nb, { showSearch: !0, ref: st, style: { width: "100%" }, value: oe, dropdownStyle: { maxHeight: 400, overflow: "hidden", marginBottom: 8 }, placeholder: p("5000.5041") || "Input the region that neuron projects", allowClear: !0, treeDefaultExpandAll: !1, onChange: wr, onSearch: wr, treeData: yn(r) }),
136884
136883
  H && P.createElement(
136885
136884
  P.Fragment,
136886
136885
  null,
@@ -138586,7 +138585,7 @@ var pv = {}, KBt = {
138586
138585
  }
138587
138586
  return X || "M0 0";
138588
138587
  }
138589
- var _e = document.documentElement.style, ke = "ActiveXObject" in window, He = ke && !document.addEventListener, Ne = "msLaunchUri" in navigator && !("documentMode" in document), Se = Un("webkit"), Ze = Un("android"), ve = Un("android 2") || Un("android 3"), ue = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Le = Ze && Un("Google") && ue < 537 && !("AudioNode" in window), at = !!window.opera, De = !Ne && Un("chrome"), Ye = Un("gecko") && !Se && !at && !ke, dt = !De && Un("safari"), ct = Un("phantom"), ut = "OTransition" in _e, St = navigator.platform.indexOf("Win") === 0, st = ke && "transition" in _e, Ue = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ft = "MozPerspective" in _e, it = !window.L_DISABLE_3D && (st || Ue || ft) && !ut && !ct, nt = typeof orientation < "u" || Un("mobile"), Ct = nt && Se, $e = nt && Ue, Lt = !window.PointerEvent && window.MSPointerEvent, At = !!(window.PointerEvent || Lt), kt = "ontouchstart" in window || !!window.TouchEvent, Ot = !window.L_NO_TOUCH && (kt || At), Vt = nt && at, Xt = nt && Ye, hn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wn = function() {
138588
+ var _e = document.documentElement.style, ke = "ActiveXObject" in window, He = ke && !document.addEventListener, Ne = "msLaunchUri" in navigator && !("documentMode" in document), Se = Un("webkit"), Ze = Un("android"), ve = Un("android 2") || Un("android 3"), ue = parseInt(/WebKit\/([0-9]+)|$/.exec(navigator.userAgent)[1], 10), Le = Ze && Un("Google") && ue < 537 && !("AudioNode" in window), at = !!window.opera, De = !Ne && Un("chrome"), Ye = Un("gecko") && !Se && !at && !ke, dt = !De && Un("safari"), ct = Un("phantom"), ut = "OTransition" in _e, wt = navigator.platform.indexOf("Win") === 0, st = ke && "transition" in _e, Ue = "WebKitCSSMatrix" in window && "m11" in new window.WebKitCSSMatrix() && !ve, ft = "MozPerspective" in _e, it = !window.L_DISABLE_3D && (st || Ue || ft) && !ut && !ct, nt = typeof orientation < "u" || Un("mobile"), Ct = nt && Se, $e = nt && Ue, Lt = !window.PointerEvent && window.MSPointerEvent, At = !!(window.PointerEvent || Lt), kt = "ontouchstart" in window || !!window.TouchEvent, Ot = !window.L_NO_TOUCH && (kt || At), Vt = nt && at, Xt = nt && Ye, hn = (window.devicePixelRatio || window.screen.deviceXDPI / window.screen.logicalXDPI) > 1, wn = function() {
138590
138589
  var S = !1;
138591
138590
  try {
138592
138591
  var D = Object.defineProperty({}, "passive", {
@@ -138630,7 +138629,7 @@ var pv = {}, KBt = {
138630
138629
  safari: dt,
138631
138630
  phantom: ct,
138632
138631
  opera12: ut,
138633
- win: St,
138632
+ win: wt,
138634
138633
  ie3d: st,
138635
138634
  webkit3d: Ue,
138636
138635
  gecko3d: ft,
@@ -140446,7 +140445,7 @@ var pv = {}, KBt = {
140446
140445
  });
140447
140446
  }
140448
140447
  });
140449
- function wt(S, D, X) {
140448
+ function St(S, D, X) {
140450
140449
  var le, Ce = [1, 4, 2, 8], qe, Nt, an, vn, rr, Yr, Ii, qi;
140451
140450
  for (qe = 0, Yr = S.length; qe < Yr; qe++)
140452
140451
  S[qe]._code = rs(S[qe], D);
@@ -140484,7 +140483,7 @@ var pv = {}, KBt = {
140484
140483
  }
140485
140484
  var mr = {
140486
140485
  __proto__: null,
140487
- clipPolygon: wt,
140486
+ clipPolygon: St,
140488
140487
  polygonCenter: Wt,
140489
140488
  centroid: Jn
140490
140489
  };
@@ -141594,7 +141593,7 @@ var pv = {}, KBt = {
141594
141593
  return;
141595
141594
  }
141596
141595
  for (var le = 0, Ce = this._rings.length, qe; le < Ce; le++)
141597
- qe = wt(this._rings[le], S, !0), qe.length && this._parts.push(qe);
141596
+ qe = St(this._rings[le], S, !0), qe.length && this._parts.push(qe);
141598
141597
  }
141599
141598
  },
141600
141599
  _updatePath: function() {
@@ -143505,7 +143504,7 @@ var pv = {}, KBt = {
143505
143504
  }
143506
143505
  });
143507
143506
  pn.vml && Mi.include(yl);
143508
- function xa(S) {
143507
+ function Sa(S) {
143509
143508
  return pn.svg || pn.vml ? new Mi(S) : null;
143510
143509
  }
143511
143510
  vt.include({
@@ -143524,7 +143523,7 @@ var pv = {}, KBt = {
143524
143523
  return D === void 0 && (D = this._createRenderer({ pane: S }), this._paneRenderers[S] = D), D;
143525
143524
  },
143526
143525
  _createRenderer: function(S) {
143527
- return this.options.preferCanvas && Gs(S) || xa(S);
143526
+ return this.options.preferCanvas && Gs(S) || Sa(S);
143528
143527
  }
143529
143528
  });
143530
143529
  var $c = Yo.extend({
@@ -143989,7 +143988,7 @@ var pv = {}, KBt = {
143989
143988
  this._zooming = !1, B(this._animRequest), yn(document, "touchmove", this._onTouchMove, this), yn(document, "touchend touchcancel", this._onTouchEnd, this), this._map.options.zoomAnimation ? this._map._animateZoom(this._center, this._map._limitZoom(this._zoom), !0, this._map.options.zoomSnap) : this._map._resetView(this._center, this._map._limitZoom(this._zoom));
143990
143989
  }
143991
143990
  });
143992
- vt.addInitHook("addHandler", "touchZoom", su), vt.BoxZoom = zc, vt.DoubleClickZoom = Gu, vt.Drag = iu, vt.Keyboard = ju, vt.ScrollWheelZoom = au, vt.TapHold = ec, vt.TouchZoom = su, n.Bounds = Z, n.Browser = pn, n.CRS = ie, n.Canvas = Su, n.Circle = Jl, n.CircleMarker = Do, n.Class = F, n.Control = We, n.DivIcon = $u, n.DivOverlay = Hs, n.DomEvent = co, n.DomUtil = Ci, n.Draggable = tn, n.Evented = V, n.FeatureGroup = $s, n.GeoJSON = Uo, n.GridLayer = uc, n.Handler = gt, n.Icon = ds, n.ImageOverlay = Cc, n.LatLng = ne, n.LatLngBounds = se, n.Layer = ka, n.LayerGroup = is, n.LineUtil = Ko, n.Map = vt, n.Marker = uo, n.Mixin = Bt, n.Path = Go, n.Point = j, n.PolyUtil = mr, n.Polygon = Yo, n.Polyline = ko, n.Popup = wc, n.PosAnimation = Sn, n.Projection = hl, n.Rectangle = $c, n.Renderer = ol, n.SVG = Mi, n.SVGOverlay = al, n.TileLayer = ml, n.Tooltip = wu, n.Transformation = he, n.Util = H, n.VideoOverlay = Cu, n.bind = o, n.bounds = te, n.canvas = Gs, n.circle = Ll, n.circleMarker = Ja, n.control = rt, n.divIcon = Pl, n.extend = i, n.featureGroup = ur, n.geoJSON = cc, n.geoJson = xc, n.gridLayer = hd, n.icon = _s, n.imageOverlay = il, n.latLng = oe, n.latLngBounds = q, n.layerGroup = Js, n.map = Ie, n.marker = qa, n.point = W, n.polygon = Ql, n.polyline = ts, n.popup = fd, n.rectangle = Eu, n.setOptions = y, n.stamp = c, n.svg = xa, n.svgOverlay = Jo, n.tileLayer = zu, n.tooltip = Vu, n.transformation = re, n.version = r, n.videoOverlay = qo;
143991
+ vt.addInitHook("addHandler", "touchZoom", su), vt.BoxZoom = zc, vt.DoubleClickZoom = Gu, vt.Drag = iu, vt.Keyboard = ju, vt.ScrollWheelZoom = au, vt.TapHold = ec, vt.TouchZoom = su, n.Bounds = Z, n.Browser = pn, n.CRS = ie, n.Canvas = Su, n.Circle = Jl, n.CircleMarker = Do, n.Class = F, n.Control = We, n.DivIcon = $u, n.DivOverlay = Hs, n.DomEvent = co, n.DomUtil = Ci, n.Draggable = tn, n.Evented = V, n.FeatureGroup = $s, n.GeoJSON = Uo, n.GridLayer = uc, n.Handler = gt, n.Icon = ds, n.ImageOverlay = Cc, n.LatLng = ne, n.LatLngBounds = se, n.Layer = ka, n.LayerGroup = is, n.LineUtil = Ko, n.Map = vt, n.Marker = uo, n.Mixin = Bt, n.Path = Go, n.Point = j, n.PolyUtil = mr, n.Polygon = Yo, n.Polyline = ko, n.Popup = wc, n.PosAnimation = Sn, n.Projection = hl, n.Rectangle = $c, n.Renderer = ol, n.SVG = Mi, n.SVGOverlay = al, n.TileLayer = ml, n.Tooltip = wu, n.Transformation = he, n.Util = H, n.VideoOverlay = Cu, n.bind = o, n.bounds = te, n.canvas = Gs, n.circle = Ll, n.circleMarker = Ja, n.control = rt, n.divIcon = Pl, n.extend = i, n.featureGroup = ur, n.geoJSON = cc, n.geoJson = xc, n.gridLayer = hd, n.icon = _s, n.imageOverlay = il, n.latLng = oe, n.latLngBounds = q, n.layerGroup = Js, n.map = Ie, n.marker = qa, n.point = W, n.polygon = Ql, n.polyline = ts, n.popup = fd, n.rectangle = Eu, n.setOptions = y, n.stamp = c, n.svg = Sa, n.svgOverlay = Jo, n.tileLayer = zu, n.tooltip = Vu, n.transformation = re, n.version = r, n.videoOverlay = qo;
143993
143992
  var hs = window.L;
143994
143993
  n.noConflict = function() {
143995
143994
  return window.L = hs, this;
@@ -148541,7 +148540,7 @@ let x$t = new URL(window.location.href), Cv = new URLSearchParams(x$t.search), C
148541
148540
  Cv.get("leftHemisphereVisibility");
148542
148541
  let _ve = Cv.get("terminalVisibility"), Tve = Cv.get("branchingVisibility"), Ive = Cv.get("branchingColor"), Ave = Cv.get("gridVisibility"), Mve = Cv.get("echart_Value"), Lve = Cv.get("leftTabIndex");
148543
148542
  const wzt = (t) => {
148544
- const { atlasTopography: e, cerebralVessels: n, datumMarks: r, atlasColormap: i, atlasOntology: a, resourceTab: o, toolTab: s, ScaleNum: c, lang: u, home: d, ServerUrl: f } = t, { t: h } = ZVt(), p = Je({}), v = Je(null), y = Je(new ive(Ni.current, kh.domElement)), [g, m] = mt(1), b = Je(1), [x, C] = mt(Cve ? JSON.parse(Cve) : !0), w = Je(null), _ = Je(null), A = Je([]), R = Je(null), M = Je(null), N = Je(!1), k = Je(!1), [B, H] = mt(!0), [F, G] = mt([]), z = Je(2), [V, j] = mt(""), Y = Je([]), W = Je([]), Z = Je(new Ga()), [te, se] = mt("nucleusColour"), q = Je(1), ne = Je(null), [oe, ie] = mt(!0), ee = Je(), me = Je(), pe = Je(), he = Je(), [re, xe] = mt(wve ? JSON.parse(wve) : []), [Q, be] = mt(Sve ? JSON.parse(Sve) : []), [de, _e] = mt(Eve ? JSON.parse(Eve) : []), ke = Je((Fn) => new Ae()), [He, Ne] = mt(!1), Se = Je(new Ae()), [Ze, ve] = mt(new Ae()), [ue, Le] = mt(Lve ? parseInt(Lve) : 1), at = Je(!1), [De, Ye] = mt(!1), dt = Je(""), [ct, ut] = mt(3), St = Je(null), st = Je([]), [Ue, ft] = mt(""), it = Je(() => {
148543
+ const { atlasTopography: e, cerebralVessels: n, datumMarks: r, atlasColormap: i, atlasOntology: a, resourceTab: o, toolTab: s, ScaleNum: c, lang: u, home: d, ServerUrl: f } = t, { t: h } = ZVt(), p = Je({}), v = Je(null), y = Je(new ive(Ni.current, kh.domElement)), [g, m] = mt(1), b = Je(1), [x, C] = mt(Cve ? JSON.parse(Cve) : !0), w = Je(null), _ = Je(null), A = Je([]), R = Je(null), M = Je(null), N = Je(!1), k = Je(!1), [B, H] = mt(!0), [F, G] = mt([]), z = Je(2), [V, j] = mt(""), Y = Je([]), W = Je([]), Z = Je(new Ga()), [te, se] = mt("nucleusColour"), q = Je(1), ne = Je(null), [oe, ie] = mt(!0), ee = Je(), me = Je(), pe = Je(), he = Je(), [re, xe] = mt(wve ? JSON.parse(wve) : []), [Q, be] = mt(Sve ? JSON.parse(Sve) : []), [de, _e] = mt(Eve ? JSON.parse(Eve) : []), ke = Je((Fn) => new Ae()), [He, Ne] = mt(!1), Se = Je(new Ae()), [Ze, ve] = mt(new Ae()), [ue, Le] = mt(Lve ? parseInt(Lve) : 1), at = Je(!1), [De, Ye] = mt(!1), dt = Je(""), [ct, ut] = mt(3), wt = Je(null), st = Je([]), [Ue, ft] = mt(""), it = Je(() => {
148545
148544
  }), [nt, Ct] = mt(1), $e = Je(1), [Lt, At] = mt({}), [kt, Ot] = mt(""), Vt = Je({}), [Xt, hn] = mt(""), [wn, In] = mt(""), [jn, rn] = mt({}), [Or, Vn] = mt(Mve || ""), [xn, Un] = mt(!1), [pn, Qn] = mt(0), [fr, kr] = mt({}), Wn = Je({}), [cr, je] = mt(Ave ? JSON.parse(Ave) : !0), [Mt, Dt] = mt([]), [Ft, Ut] = mt([]), [Gt, zt] = mt([]), [Yt, $n] = mt(!1), [Ht, Pt] = mt({});
148546
148545
  localStorage.setItem("lang", u || "en"), ha.current = c, To.current = -5.7, to.current = -6, oo.current = -7.0055;
148547
148546
  const [Jt, Gn] = mt([]), Pn = Je({
@@ -148711,8 +148710,8 @@ const wzt = (t) => {
148711
148710
  ))
148712
148711
  )
148713
148712
  ),
148714
- P.createElement(Wgt, { datum: x, regionData: e, renderer: kh, controls: y, vesselObj: p, pointDatas: r, currentRef: v, setHrefStr: j, menutagShow: B, setMenuTagShow: H, angleRef: R, jiaoduRef: M, menuTag: F, axis_font: A, startselect: N, mouseflag: k, linemeshs_jing: Z, points: Y, points2: W, activetabIndex: q, fetchCoordinateFunc: ke, checkItems: re, outflag: He, clickPoint: Se, setoutflag: Ne, endPoint: Ze, outflagRef: at, setShowModeChoose: Ye, virusModeValue: dt, pipelineClickEvent: St, focusVirusLineItem: Ue, setFocusVirusLineItem: ft, responsefunc: it, mode: $e, childRef: ee, setUpdatePage: At, t: h, setSwcItem: Ot, swcItem: kt, swcnameMesh: Vt, axon_check: Ht, automaticGroup: st, setCheckItems: xe, vesselRef: pe, swcRef: he, setLableStr: In, setVesselStr: hn, vesselStr: Xt, lableStr: wn, tabIndex: z, updatePage: Lt, sectionsInfoRef: Wn, setSectionsInfo: kr, gray_value: i, Luguchecked: pn, gridShow: cr, setNodeStr: rn }),
148715
- s.length != 0 ? P.createElement(qkt, { regionData: e, lefttab: o, righttab: s, ref: me, renderer: kh, controls: y, offset_factor_R: b, setoffset_factor: m, baozhaRef: w, hrefStr: V, leftTreeRef: _, centerRef: v, childRef: ee, angleRef: R, jiaoduRef: M, mouseflag: k, menutagShow: B, setMenuTag: G, t: h, startselect: N, linemeshs_jing: Z, points: Y, points2: W, activetabIndex: q, material: ne, setShowimage: ie, checkItems: re, fetchCoordinateFunc: ke, setoutflag: Ne, outflag: He, clickPoint: Se, setendPoint: ve, outflagRef: at, setdatum: C, datum: x, axis_font: A, modeChoose: De, setShowModeChoose: Ye, virusModeValue: dt, setShowTabNums: ut, pipelineClickEvent: St, automaticGroup: st, focusVirusLineItem: Ue, setMenuTagShow: H, responsefunc: it, mode: nt, setCheckItems: xe, setLeftMenuTabIndex: Le, updatePage: Lt, swcItem: kt, axon_check: Ht, swcnameMesh: Vt, vesselRef: pe, setMode: Ct, vesselStr: Xt, lableStr: wn, swcRef: he, setShowSettingModal: Un, showSettingModal: xn, fbxTreeDatas: a, composer: BB, echartValue: Or, setEchartValue: Vn, setSectionsInfo: kr, sectionsInfo: fr, sectionsInfoRef: Wn, gray_value: i, setLuguchecked: Qn, Luguchecked: pn, setGridShow: je, PointShow: Pn, nodeStr: jn }) : null,
148713
+ P.createElement(Wgt, { datum: x, regionData: e, renderer: kh, controls: y, vesselObj: p, pointDatas: r, currentRef: v, setHrefStr: j, menutagShow: B, setMenuTagShow: H, angleRef: R, jiaoduRef: M, menuTag: F, axis_font: A, startselect: N, mouseflag: k, linemeshs_jing: Z, points: Y, points2: W, activetabIndex: q, fetchCoordinateFunc: ke, checkItems: re, outflag: He, clickPoint: Se, setoutflag: Ne, endPoint: Ze, outflagRef: at, setShowModeChoose: Ye, virusModeValue: dt, pipelineClickEvent: wt, focusVirusLineItem: Ue, setFocusVirusLineItem: ft, responsefunc: it, mode: $e, childRef: ee, setUpdatePage: At, t: h, setSwcItem: Ot, swcItem: kt, swcnameMesh: Vt, axon_check: Ht, automaticGroup: st, setCheckItems: xe, vesselRef: pe, swcRef: he, setLableStr: In, setVesselStr: hn, vesselStr: Xt, lableStr: wn, tabIndex: z, updatePage: Lt, sectionsInfoRef: Wn, setSectionsInfo: kr, gray_value: i, Luguchecked: pn, gridShow: cr, setNodeStr: rn }),
148714
+ s.length != 0 ? P.createElement(qkt, { regionData: e, lefttab: o, righttab: s, ref: me, renderer: kh, controls: y, offset_factor_R: b, setoffset_factor: m, baozhaRef: w, hrefStr: V, leftTreeRef: _, centerRef: v, childRef: ee, angleRef: R, jiaoduRef: M, mouseflag: k, menutagShow: B, setMenuTag: G, t: h, startselect: N, linemeshs_jing: Z, points: Y, points2: W, activetabIndex: q, material: ne, setShowimage: ie, checkItems: re, fetchCoordinateFunc: ke, setoutflag: Ne, outflag: He, clickPoint: Se, setendPoint: ve, outflagRef: at, setdatum: C, datum: x, axis_font: A, modeChoose: De, setShowModeChoose: Ye, virusModeValue: dt, setShowTabNums: ut, pipelineClickEvent: wt, automaticGroup: st, focusVirusLineItem: Ue, setMenuTagShow: H, responsefunc: it, mode: nt, setCheckItems: xe, setLeftMenuTabIndex: Le, updatePage: Lt, swcItem: kt, axon_check: Ht, swcnameMesh: Vt, vesselRef: pe, setMode: Ct, vesselStr: Xt, lableStr: wn, swcRef: he, setShowSettingModal: Un, showSettingModal: xn, fbxTreeDatas: a, composer: BB, echartValue: Or, setEchartValue: Vn, setSectionsInfo: kr, sectionsInfo: fr, sectionsInfoRef: Wn, gray_value: i, setLuguchecked: Qn, Luguchecked: pn, setGridShow: je, PointShow: Pn, nodeStr: jn }) : null,
148716
148715
  P.createElement(XBt, { t: h, home: d, controls: y, setUpdatePage: At, setShowSettingModal: Un, auxRef: me, activetabIndex: q, index: !1, setFormshow: $n, Selectoptions: Jt }),
148717
148716
  s.length == 0 ? P.createElement(
148718
148717
  Ka.Group,
@@ -149528,8 +149527,8 @@ l.ZoomifyImageViewer = function() {
149528
149527
  };
149529
149528
  }
149530
149529
  if (l.animationFlip && (c.reverse(), d.reverse()), l.comparison) {
149531
- var St = c[0], st = c[1];
149532
- (St.initialX != st.initialX || St.initialY != st.initialY || St.initialZoom != st.initialZoom || St.minX != st.minX || St.maxX != st.maxX) && (l.initialSync = !1);
149530
+ var wt = c[0], st = c[1];
149531
+ (wt.initialX != st.initialX || wt.initialY != st.initialY || wt.initialZoom != st.initialZoom || wt.minX != st.minX || wt.maxX != st.maxX) && (l.initialSync = !1);
149533
149532
  }
149534
149533
  l.imageSetLength = c.length, !l.comparison && !l.overlays && B(
149535
149534
  l.imageSetListPosition,
@@ -149934,7 +149933,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
149934
149933
  ), W = parseInt(
149935
149934
  l.Utils.getResource("DEFAULT_TOUCHTAPTHRESHOLDTIMEVIEWPORT"),
149936
149935
  10
149937
- ), Z, te, se, q, ne, oe, ie, ee, me, pe, he, re, xe, Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, St, st, Ue, ft, it, nt, Ct, $e, Lt, At, kt, Ot, Vt, Xt, hn, wn, In, jn, rn, Or, Vn, xn, Un, pn, Qn, fr, kr, Wn, cr, je, Mt, Dt, Ft, Ut, Gt, zt;
149936
+ ), Z, te, se, q, ne, oe, ie, ee, me, pe, he, re, xe, Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, wt, st, Ue, ft, it, nt, Ct, $e, Lt, At, kt, Ot, Vt, Xt, hn, wn, In, jn, rn, Or, Vn, xn, Un, pn, Qn, fr, kr, Wn, cr, je, Mt, Dt, Ft, Ut, Gt, zt;
149938
149937
  NY(p);
149939
149938
  var Yt, $n = 1, Ht = 0, Pt = 0, Jt = !1, rt = 0, Gn = !1, Pn, Cr, Mr, er, on = [], qn = [], _n = [], Tn = [], Fn = [], ar = [];
149940
149939
  UC = [], Lp = [], qB = [];
@@ -149987,8 +149986,8 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
149987
149986
  ), tn = parseFloat(
149988
149987
  l.Utils.getResource("DEFAULT_PAN_BUFFERSIZEMAXIMAGESET"),
149989
149988
  10
149990
- ), wt, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a;
149991
- wt = l.viewerW, Wt = l.viewerH, Jn = mr = 0, Wt -= z, l.toolbarPosition == 0 && (mr += z);
149989
+ ), St, Wt, Jn, mr, Hn, On, ei, ii, fn, qt, di, Dr, Kr, rs, Da, $a;
149990
+ St = l.viewerW, Wt = l.viewerH, Jn = mr = 0, Wt -= z, l.toolbarPosition == 0 && (mr += z);
149992
149991
  var mi = null, ti, na, Ko, Ma = null, Mo = null, hl = !1, Ml = parseInt(
149993
149992
  l.Utils.getResource("DEFAULT_GESTURETESTDURATION"),
149994
149993
  10
@@ -150016,7 +150015,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150016
150015
  var lc = null, cc = 0;
150017
150016
  if (!l.fullScreenVisible && !l.fullPageVisible)
150018
150017
  var xc, Cc, il, Cu, qo, al, Jo, Hs;
150019
- if (l.crosshairsVisible && l.Utils.drawCrosshairs(l.ViewerDisplay, wt, Wt), l.measureVisible || l.editMode !== null) {
150018
+ if (l.crosshairsVisible && l.Utils.drawCrosshairs(l.ViewerDisplay, St, Wt), l.measureVisible || l.editMode !== null) {
150020
150019
  var wc = l.Utils.getResource("UI_MEASURELENGTH"), fd = l.Utils.getResource("UI_MEASURELENGTHTOTAL"), wu = l.Utils.getResource("UI_MEASUREPERIMETER"), Vu = l.Utils.getResource("UI_MEASUREAREA"), $u = l.Utils.getResource("UI_MEASURESQUARE"), Pl = parseFloat(
150021
150020
  l.Utils.getResource("DEFAULT_MEASURECAPTIONBACKALPHA")
150022
150021
  );
@@ -150031,7 +150030,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150031
150030
  if (l.geoCoordinatesVisible)
150032
150031
  var uc, hd, ml, zu, Sc, Hu, ol, Su;
150033
150032
  if (l.imageFilters)
150034
- var Gs = null, Ts = null, yl = null, js = !1, Mi = [], xa = [], $c, Eu, zc, Gu = 0, iu = 0, ju = 0, au = 0, ou = 0, ec = 0, su = 0, hs = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, qe = 0, Nt = 0, an = 0, vn = 0, rr = 0, Yr = 0, Ii = 0, qi = 0, as = 0;
150033
+ var Gs = null, Ts = null, yl = null, js = !1, Mi = [], Sa = [], $c, Eu, zc, Gu = 0, iu = 0, ju = 0, au = 0, ou = 0, ec = 0, su = 0, hs = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, qe = 0, Nt = 0, an = 0, vn = 0, rr = 0, Yr = 0, Ii = 0, qi = 0, as = 0;
150035
150034
  if (l.watermarks)
150036
150035
  var Qa, os, ps = [], Vl = [];
150037
150036
  if (l.imageList)
@@ -150194,7 +150193,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150194
150193
  }
150195
150194
  }
150196
150195
  function QS(T, O, I, U, K, ae, J, fe, ge, Re, Fe) {
150197
- if (DY(), l.imageW = T, l.imageH = O, l.imageCtrX = l.imageW / 2, l.imageCtrY = l.imageH / 2, l.imageD = Math.round(Math.sqrt(T * T + O * O)), x = ae, C = J, w = fe, M = K, k = I, B = U, ge !== null && Re !== null && Fe !== null && (l.sourceMagnification = ge, l.focal = Re, l.quality = Fe), FY(), kY(wt, Wt, Jn, mr), m.validateXYZDefaults(), $n > Sn ? (er = vd(
150196
+ if (DY(), l.imageW = T, l.imageH = O, l.imageCtrX = l.imageW / 2, l.imageCtrY = l.imageH / 2, l.imageD = Math.round(Math.sqrt(T * T + O * O)), x = ae, C = J, w = fe, M = K, k = I, B = U, ge !== null && Re !== null && Fe !== null && (l.sourceMagnification = ge, l.focal = Re, l.quality = Fe), FY(), kY(St, Wt, Jn, mr), m.validateXYZDefaults(), $n > Sn ? (er = vd(
150198
150197
  rt,
150199
150198
  l.initialZ
150200
150199
  ), te && q.scale(er, er)) : (te = null, se = null, q = null), Mr = vd(Pt, l.initialZ), Pn = vd(Ht, l.initialZ), Cr = Pn, l.useCanvas)
@@ -150229,7 +150228,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150229
150228
  m.setStatus("initializedViewport", !1), m.clearAll(!0, !1, !0, !0), l.imageW = T, l.imageH = O, l.imageCtrX = l.imageW / 2, l.imageCtrY = l.imageH / 2, l.imageD = Math.round(Math.sqrt(T * T + O * O)), x = ae, C = J, w = fe, M = K, k = I, B = U, l.Utils.setParameters(l.parameters), l.imageList && (l.tileW != I && (k = I = l.tileW), l.tileH != U && (B = U = l.tileH)), FY(), l.hotspotPath !== null && (o = l.hotspotPath, s = l.hotspotFolder), l.annotationPath !== null && (c = l.annotationPath, u = l.annotationFolder), y = l.cellPath, g = l.mapPath, NY(), DY(), m.validateXYZDefaults(), $n > Sn ? (er = vd(
150230
150229
  rt,
150231
150230
  l.initialZ
150232
- ), q.restore(), q.scale(er, er)) : te = se = q = null, Mr = vd(Pt, l.initialZ), Pn = vd(Ht, l.initialZ), Cr = Pn, l.useCanvas && (ke.restore(), ke.scale(Pn, Pn)), ue && KY(), De && (m.setDrawingColor("buttonColor0" + p, !0), (l.tour || l.hotspots || l.annotations) && PI(p), y && JY(p), g && loadMapData(p)), l.virtualPointerVisible && l.Viewer.createVirtualPointer(), l.tileSource != "unconverted" && m.precacheBackfillTiles(), l.comparison && (wt *= 2), m.setSizeAndPosition(wt, Wt, Jn, mr);
150231
+ ), q.restore(), q.scale(er, er)) : te = se = q = null, Mr = vd(Pt, l.initialZ), Pn = vd(Ht, l.initialZ), Cr = Pn, l.useCanvas && (ke.restore(), ke.scale(Pn, Pn)), ue && KY(), De && (m.setDrawingColor("buttonColor0" + p, !0), (l.tour || l.hotspots || l.annotations) && PI(p), y && JY(p), g && loadMapData(p)), l.virtualPointerVisible && l.Viewer.createVirtualPointer(), l.tileSource != "unconverted" && m.precacheBackfillTiles(), l.comparison && (St *= 2), m.setSizeAndPosition(St, Wt, Jn, mr);
150233
150232
  var Ee = typeof l.parameters < "u" && l.parameters !== null && (typeof l.parameters.zInitialX < "u" || typeof l.parameters.zInitialY < "u" || typeof l.parameters.zInitialZoom < "u");
150234
150233
  (l.comparison || l.overlays) && !Ee ? BI(l.priorX, l.priorY, l.priorZ, l.priorR, null, !0) : BI(l.initialX, l.initialY, l.initialZ, l.initialR, null, !0), m.setStatus("initializedViewport", !0);
150235
150234
  var Xe = t == 0 ? l.Navigator : l.Navigator2;
@@ -150256,7 +150255,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150256
150255
  $n = 1, Ht = 0, Pt = 0, Jt = !1, ot = !1, ye = !1, ce = !1, typeof on < "u" && l.Utils.arrayClear(on), typeof qn < "u" && l.Utils.arrayClear(qn), typeof _n < "u" && l.Utils.arrayClear(_n), typeof Tn < "u" && l.Utils.arrayClear(Tn), typeof Fn < "u" && l.Utils.arrayClear(Fn), typeof ar < "u" && l.Utils.arrayClear(ar), typeof UC < "u" && l.Utils.arrayClear(UC), typeof Lp < "u" && l.Utils.arrayClear(Lp), typeof qB < "u" && l.Utils.arrayClear(qB), typeof Zr < "u" && l.Utils.arrayClear(Zr), typeof $y < "u" && l.Utils.arrayClear($y), typeof Op < "u" && l.Utils.arrayClear(Op), typeof f7 < "u" && l.Utils.arrayClear(f7), typeof zn < "u" && l.Utils.arrayClear(zn), typeof wr < "u" && l.Utils.arrayClear(wr);
150257
150256
  }
150258
150257
  function R8e() {
150259
- ue && (typeof ps < "u" && l.Utils.arrayClear(ps), typeof Vl < "u" && l.Utils.arrayClear(Vl)), De && (typeof Zt < "u" && l.Utils.arrayClear(Zt), typeof Hc < "u" && l.Utils.arrayClear(Hc), typeof Gc < "u" && l.Utils.arrayClear(Gc), we != null ? (we.parentNode.removeChild(we), we = null, typeof Kt < "u" && l.Utils.arrayClear(Kt)) : (nr != null && (nr.parentNode.removeChild(nr), nr = null, typeof La < "u" && l.Utils.arrayClear(La)), qr != null && (qr.parentNode.removeChild(qr), qr = null, typeof mn < "u" && l.Utils.arrayClear(mn), typeof kn < "u" && l.Utils.arrayClear(kn)), vr != null && (vr.parentNode.removeChild(vr), vr = null, typeof jo < "u" && l.Utils.arrayClear(jo), typeof fc < "u" && l.Utils.arrayClear(fc)))), l.imageFilters && (Gs = null, Ts = null, yl = null, js = !1, typeof Mi < "u" && l.Utils.arrayClear(Mi), typeof xa < "u" && l.Utils.arrayClear(xa), $c = null, Eu = null, zc = null, Gu = 0, iu = 0, ju = 0, au = 0, ou = 0, ec = 0, su = 0, hs = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, qe = 0, Nt = 0, an = 0, vn = 0, rr = 0, Yr = 0, Ii = 0, qi = 0, as = 0);
150258
+ ue && (typeof ps < "u" && l.Utils.arrayClear(ps), typeof Vl < "u" && l.Utils.arrayClear(Vl)), De && (typeof Zt < "u" && l.Utils.arrayClear(Zt), typeof Hc < "u" && l.Utils.arrayClear(Hc), typeof Gc < "u" && l.Utils.arrayClear(Gc), we != null ? (we.parentNode.removeChild(we), we = null, typeof Kt < "u" && l.Utils.arrayClear(Kt)) : (nr != null && (nr.parentNode.removeChild(nr), nr = null, typeof La < "u" && l.Utils.arrayClear(La)), qr != null && (qr.parentNode.removeChild(qr), qr = null, typeof mn < "u" && l.Utils.arrayClear(mn), typeof kn < "u" && l.Utils.arrayClear(kn)), vr != null && (vr.parentNode.removeChild(vr), vr = null, typeof jo < "u" && l.Utils.arrayClear(jo), typeof fc < "u" && l.Utils.arrayClear(fc)))), l.imageFilters && (Gs = null, Ts = null, yl = null, js = !1, typeof Mi < "u" && l.Utils.arrayClear(Mi), typeof Sa < "u" && l.Utils.arrayClear(Sa), $c = null, Eu = null, zc = null, Gu = 0, iu = 0, ju = 0, au = 0, ou = 0, ec = 0, su = 0, hs = 0, S = 0, D = 0, X = 0, le = 0, Ce = 0, qe = 0, Nt = 0, an = 0, vn = 0, rr = 0, Yr = 0, Ii = 0, qi = 0, as = 0);
150260
150259
  }
150261
150260
  function N8e() {
150262
150261
  te && l.Utils.clearDisplay(te), re && l.Utils.clearDisplay(re), de && l.Utils.clearDisplay(de), Ne && l.Utils.clearDisplay(Ne), ue && l.Utils.clearDisplay(ue), je && l.Utils.clearDisplay(je), De && (l.Utils.clearDisplay(De), De = null), ut && (m.clearAnnotationPanel(p), m.setStatus("annotationPanelInitializedViewport", !1), ut = null), Ue && l.Utils.clearDisplay(Ue), Ct && l.Utils.clearDisplay(Ct), kt && l.Utils.clearDisplay(kt), hn && (l.Utils.clearDisplay(hn), hn = null), jn && l.Utils.clearDisplay(jn), xn && l.Utils.clearDisplay(xn);
@@ -150617,22 +150616,22 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150617
150616
  kY(T, O, I, U);
150618
150617
  };
150619
150618
  function kY(T, O, I, U) {
150620
- if ((typeof I > "u" || I === null) && (I = 0), (typeof U > "u" || U === null) && (U = 0), l.viewerW = wt = T, l.viewerH = Wt = O, l.comparison) {
150619
+ if ((typeof I > "u" || I === null) && (I = 0), (typeof U > "u" || U === null) && (U = 0), l.viewerW = St = T, l.viewerH = Wt = O, l.comparison) {
150621
150620
  var K = T / 2;
150622
- wt = T = K;
150621
+ St = T = K;
150623
150622
  }
150624
- Hn = wt, On = Wt;
150623
+ Hn = St, On = Wt;
150625
150624
  var ae = l.imageSet ? tn : l.tileSource == "unconverted" && l.mobileDevice ? $t : l.tileSource == "unconverted" && l.browser == l.browsers.FIREFOX ? Bt : gt, J = l.constrainPanStrict ? l.imageW : l.imageW * 2, fe = l.constrainPanStrict ? l.imageH : l.imageH * 2;
150626
- Hn > ae && (Hn = ae), On > ae && (On = ae), Hn > J && (Hn = J), On > fe && (On = fe), Hn < wt && (Hn = wt), On < Wt && (On = Wt);
150625
+ Hn > ae && (Hn = ae), On > ae && (On = ae), Hn > J && (Hn = J), On > fe && (On = fe), Hn < St && (Hn = St), On < Wt && (On = Wt);
150627
150626
  var ge = 4;
150628
- if (ei = l.Utils.roundToFixed(Hn / 2, ge), ii = l.Utils.roundToFixed(On / 2, ge), fn = l.Utils.roundToFixed(-((Hn - wt) / 2) + I, ge), l.Utils.roundToFixed((Hn - wt) / 2 + I, ge), qt = l.Utils.roundToFixed(-((On - Wt) / 2) + U, ge), l.Utils.roundToFixed((On - Wt) / 2 + U, ge), te && (te.width = wt, te.height = Wt, se.width = wt + "px", se.height = Wt + "px", se.left = "0px", se.top = "0px"), l.comparison && (oe.width = wt, oe.height = Wt, ie.width = wt + "px", ie.height = Wt + "px", ie.left = t == 0 ? "0px" : wt + "px", ie.top = "0px"), me.width = Hn, me.height = On, pe.width = Hn + "px", pe.height = On + "px", pe.left = fn + "px", pe.top = qt + "px", de.width = Hn, de.height = On, _e.width = Hn + "px", _e.height = On + "px", ue && (ue.width = Hn, ue.height = On, Le.width = Hn + "px", Le.height = On + "px"), je && (je.width = Hn, je.height = On, Mt.width = Hn + "px", Mt.height = On + "px"), De && (De.width = Hn, De.height = On, Ye.width = Hn + "px", Ye.height = On + "px", dt)) {
150627
+ if (ei = l.Utils.roundToFixed(Hn / 2, ge), ii = l.Utils.roundToFixed(On / 2, ge), fn = l.Utils.roundToFixed(-((Hn - St) / 2) + I, ge), l.Utils.roundToFixed((Hn - St) / 2 + I, ge), qt = l.Utils.roundToFixed(-((On - Wt) / 2) + U, ge), l.Utils.roundToFixed((On - Wt) / 2 + U, ge), te && (te.width = St, te.height = Wt, se.width = St + "px", se.height = Wt + "px", se.left = "0px", se.top = "0px"), l.comparison && (oe.width = St, oe.height = Wt, ie.width = St + "px", ie.height = Wt + "px", ie.left = t == 0 ? "0px" : St + "px", ie.top = "0px"), me.width = Hn, me.height = On, pe.width = Hn + "px", pe.height = On + "px", pe.left = fn + "px", pe.top = qt + "px", de.width = Hn, de.height = On, _e.width = Hn + "px", _e.height = On + "px", ue && (ue.width = Hn, ue.height = On, Le.width = Hn + "px", Le.height = On + "px"), je && (je.width = Hn, je.height = On, Mt.width = Hn + "px", Mt.height = On + "px"), De && (De.width = Hn, De.height = On, Ye.width = Hn + "px", Ye.height = On + "px", dt)) {
150629
150628
  var Re = parseInt(
150630
150629
  l.Utils.getResource("DEFAULT_HOTSPOTLISTWIDTH"),
150631
150630
  10
150632
150631
  ), Fe = sq(
150633
150632
  Qe,
150634
150633
  Re,
150635
- wt,
150634
+ St,
150636
150635
  Wt
150637
150636
  );
150638
150637
  ct.left = Fe.x + "px", ct.top = Fe.y + "px";
@@ -150647,11 +150646,11 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150647
150646
  Sr,
150648
150647
  Ee.w,
150649
150648
  Ee.h,
150650
- wt,
150649
+ St,
150651
150650
  Wt
150652
150651
  );
150653
150652
  m.sizeAndPositionAnnotationPanel(
150654
- St,
150653
+ wt,
150655
150654
  Ee.w,
150656
150655
  Ee.h,
150657
150656
  Xe.x,
@@ -150659,7 +150658,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150659
150658
  );
150660
150659
  }
150661
150660
  if (l.imageSet && l.Viewer.sizeAndPositionImageSetList(), l.useCanvas) {
150662
- te && (q.translate(wt / 2, Wt / 2), q.save());
150661
+ te && (q.translate(St / 2, Wt / 2), q.save());
150663
150662
  try {
150664
150663
  ke.translate(ei, ii);
150665
150664
  } catch {
@@ -150945,7 +150944,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
150945
150944
  var It = m.getStatus("initializedViewport") ? m.getRotation() : l.initialR, jt = m.calculateZoomToFit(null, null, It), en = m.calculateZoomToFill(null, null, It);
150946
150945
  l.fitZ > 1 && (l.maxZ !== null ? l.fitZ > l.maxZ && (l.fitZ = l.maxZ) : l.tileSource == "unconverted" && (l.fitZ = 1)), l.fillZ > 1 && (l.maxZ !== null ? l.fillZ > l.maxZ && (l.fillZ = l.maxZ) : l.tileSource == "unconverted" && (l.fillZ = 1)), l.minZ === null || l.minZ == -1 ? l.minZ = l.fitZ : l.minZ == 0 && (l.minZ = l.fillZ), (l.maxZ === null || l.maxZ == -1) && (l.maxZ = 1), l.initialZ === null || l.initialZ == -1 ? l.initialZ = jt : l.initialZ == 0 && (l.initialZ = en), l.initialZ < l.minZ && (l.initialZ = l.minZ), l.initialZ > l.maxZ && (l.initialZ = l.maxZ);
150947
150946
  }, this.getViewW = function() {
150948
- return wt;
150947
+ return St;
150949
150948
  }, this.getViewH = function() {
150950
150949
  return Wt;
150951
150950
  }, this.getDisplayW = function() {
@@ -151444,7 +151443,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
151444
151443
  "inline-block",
151445
151444
  "absolute",
151446
151445
  "hidden",
151447
- wt + "px",
151446
+ St + "px",
151448
151447
  Wt + "px",
151449
151448
  "0px",
151450
151449
  "0px",
@@ -152086,15 +152085,15 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152086
152085
  return T;
152087
152086
  }, this.getIIIFRegion = function() {
152088
152087
  var T = m.getZoom(), O = Math.min(
152089
- Math.max(0, Math.round(m.getX() - wt / T / 2)),
152088
+ Math.max(0, Math.round(m.getX() - St / T / 2)),
152090
152089
  l.imageW
152091
152090
  ).toString(), I = Math.min(
152092
152091
  Math.max(0, Math.round(m.getY() - Wt / T / 2)),
152093
152092
  l.imageH
152094
- ).toString(), U = Math.min(l.imageW, Math.round(wt / T)).toString(), K = Math.min(l.imageH, Math.round(Wt / T)).toString();
152093
+ ).toString(), U = Math.min(l.imageW, Math.round(St / T)).toString(), K = Math.min(l.imageH, Math.round(Wt / T)).toString();
152095
152094
  return O + "," + I + "," + U + "," + K;
152096
152095
  }, this.getIIIFSize = function() {
152097
- return wt.toString() + "," + Wt.toString();
152096
+ return St.toString() + "," + Wt.toString();
152098
152097
  }, this.getIIIFRotation = function() {
152099
152098
  return l.imageR.toString();
152100
152099
  }, this.getIIIFQuality = function() {
@@ -152104,11 +152103,11 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152104
152103
  var T = l.iiifFormat !== null && (l.iiifFormat == ".jpg" || l.iiifFormat == ".png") ? l.iiifFormat.toString() : ".jpg";
152105
152104
  return T;
152106
152105
  }, this.getViewCoordinatesIIIFString = function(T, O, I) {
152107
- var U = "", K = Math.round(wt / m.getZoom(T)), ae = Math.round(Wt / m.getZoom(T));
152106
+ var U = "", K = Math.round(St / m.getZoom(T)), ae = Math.round(Wt / m.getZoom(T));
152108
152107
  K = K < 1 ? 1 : K > l.imageW ? l.imageW : K, ae = ae < 1 ? 1 : ae > l.imageH ? l.imageH : ae;
152109
152108
  var J = Math.round(O ? O.x : m.getX(T)), fe = Math.round(O ? O.y : m.getY(T));
152110
152109
  J -= K / 2, fe -= ae / 2, J = J < 0 ? 0 : J > l.imageW ? l.imageW : J, fe = fe < 0 ? 0 : fe > l.imageH ? l.imageH : fe;
152111
- var ge = J.toString(), Re = fe.toString(), Fe = K.toString(), Ee = ae.toString(), Xe = ge + "," + Re + "," + Fe + "," + Ee, lt = wt.toString(), xt = Wt.toString(), It = lt + "," + xt, jt = Math.round(m.getRotation()).toString(), en = m.getIIIFQuality(), un = m.getIIIFFormat(), Nn = Xe + "/" + It + "/" + jt + "/" + en + un;
152110
+ var ge = J.toString(), Re = fe.toString(), Fe = K.toString(), Ee = ae.toString(), Xe = ge + "," + Re + "," + Fe + "," + Ee, lt = St.toString(), xt = Wt.toString(), It = lt + "," + xt, jt = Math.round(m.getRotation()).toString(), en = m.getIIIFQuality(), un = m.getIIIFFormat(), Nn = Xe + "/" + It + "/" + jt + "/" + en + un;
152112
152111
  return I == "show" ? U = 'RegionX="' + ge + '" RegionY="' + Re : (I == "save" || I == "bookmark") && (U = l.imagePath + "/" + Nn), U;
152113
152112
  };
152114
152113
  function sMe(T, O, I, U) {
@@ -152209,7 +152208,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152209
152208
  var J = m.getZoom();
152210
152209
  U != 0 && (U /= J), K != 0 && (K /= J);
152211
152210
  var fe = l.imageX - U, ge = l.imageY - K, Re, Fe, Ee, Xe;
152212
- return T ? (Re = -(wt / 2), Ee = wt / 2, Fe = -(Wt / 2), Xe = Wt / 2) : (Re = -(Hn / 2), Ee = Hn / 2, Fe = -(On / 2), Xe = On / 2), new fMe(
152211
+ return T ? (Re = -(St / 2), Ee = St / 2, Fe = -(Wt / 2), Xe = Wt / 2) : (Re = -(Hn / 2), Ee = Hn / 2, Fe = -(On / 2), Xe = On / 2), new fMe(
152213
152212
  fe,
152214
152213
  ge,
152215
152214
  Re,
@@ -152249,7 +152248,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152249
152248
  if (typeof fe > "u" || fe === null)
152250
152249
  this.l = T + I / J, this.r = T + U / J, this.t = O + K / J, this.b = O + ae / J;
152251
152250
  else {
152252
- var Re = wt / on[fe], Fe = Wt / qn[fe];
152251
+ var Re = St / on[fe], Fe = Wt / qn[fe];
152253
152252
  this.l = T + I * Re, this.r = T + U * Re, this.t = O + K * Fe, this.b = O + ae * Fe;
152254
152253
  }
152255
152254
  ge && (this.l = this.l - (256 - this.l % 256), this.r = this.r + (256 - this.r % 256), this.t = this.t - (256 - this.t % 256), this.b = this.b + (256 - this.b % 256));
@@ -152320,12 +152319,12 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152320
152319
  return new l.Utils.Point(ge, Re);
152321
152320
  }, this.calculateZoomToFit = function(T, O, I) {
152322
152321
  (typeof T > "u" || T === null) && (T = l.imageW), (typeof O > "u" || O === null) && (O = l.imageH);
152323
- var U = T / O > wt / Wt ? wt / T : Wt / O;
152324
- return (I == 90 || I == 270) && (U = T / O > wt / Wt ? wt / O : Wt / T), U;
152322
+ var U = T / O > St / Wt ? St / T : Wt / O;
152323
+ return (I == 90 || I == 270) && (U = T / O > St / Wt ? St / O : Wt / T), U;
152325
152324
  }, this.calculateZoomToFill = function(T, O, I) {
152326
152325
  (typeof T > "u" || T === null) && (T = l.imageW), (typeof O > "u" || O === null) && (O = l.imageH);
152327
- var U = T / O > wt / Wt ? Wt / O : wt / T;
152328
- return (I == 90 || I == 270) && (U = T / O > wt / Wt ? Wt / T : wt / O), U;
152326
+ var U = T / O > St / Wt ? Wt / O : St / T;
152327
+ return (I == 90 || I == 270) && (U = T / O > St / Wt ? Wt / T : St / O), U;
152329
152328
  }, this.calculateZoomForResize = function(T, O, I, U, K) {
152330
152329
  var ae = T, J = l.imageW * T, fe = l.imageH * T, ge = U / O, Re = K / I;
152331
152330
  if (J < U && fe < K)
@@ -152364,7 +152363,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152364
152363
  var fe = m.convertImageCoordsToViewportEdgeCoords(T, O, I, U);
152365
152364
  T = fe.x, O = fe.y;
152366
152365
  }
152367
- var ge = l.imageW, Re = l.imageH, Fe = Math.round(ge * I), Ee = Math.round(Re * I), Xe = wt, lt = Wt, xt = Math.round(wt * 0.1), It = Math.round(Wt * 0.1), jt = Math.round(wt * 0.5), en = Math.round(Wt * 0.5), un, Nn;
152366
+ var ge = l.imageW, Re = l.imageH, Fe = Math.round(ge * I), Ee = Math.round(Re * I), Xe = St, lt = Wt, xt = Math.round(St * 0.1), It = Math.round(Wt * 0.1), jt = Math.round(St * 0.5), en = Math.round(Wt * 0.5), un, Nn;
152368
152367
  un = jt - fn + (l.imageCtrX - l.imageX) * I + T, Nn = en - qt + (l.imageCtrY - l.imageY) * I + O;
152369
152368
  var pr = un - Fe / 2, Dn = Nn - Ee / 2, ci = un + Fe / 2, Lr = Nn - Ee / 2, gr = un + Fe / 2, Li = Nn + Ee / 2, _a = un - Fe / 2, Qr = Nn + Ee / 2, xi = l.Utils.getPositionRotated(
152370
152369
  pr,
@@ -152450,7 +152449,7 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152450
152449
  ), U = l.imageX, K = l.imageY, ae = I.x, J = I.y, fe = lM = U - ae, ge = tM = K - J;
152451
152450
  O != 0 && (O >= 270 ? (fe = tM, ge = -lM) : O >= 180 ? (fe = -lM, ge = -tM) : O >= 90 && (fe = -tM, ge = lM));
152452
152451
  var Re = fe * l.imageZ, Fe = ge * l.imageZ, Ee = Re + fn, Xe = Fe + qt;
152453
- pe.left = Ee + "px", pe.top = Xe + "px", te && Jt && (l.mobileDevice || Math.abs(Re) > wt / 2 || Math.abs(Fe) > Wt / 2) && Ud(
152452
+ pe.left = Ee + "px", pe.top = Xe + "px", te && Jt && (l.mobileDevice || Math.abs(Re) > St / 2 || Math.abs(Fe) > Wt / 2) && Ud(
152454
152453
  te,
152455
152454
  rt,
152456
152455
  Hr,
@@ -152460,8 +152459,8 @@ l.ZoomifyViewport = function(t, e, n, r, i, a) {
152460
152459
  };
152461
152460
  function WY(T) {
152462
152461
  if (T)
152463
- for (; xa.length > G; )
152464
- xa = l.Utils.arraySplice(xa, 0, 1);
152462
+ for (; Sa.length > G; )
152463
+ Sa = l.Utils.arraySplice(Sa, 0, 1);
152465
152464
  else
152466
152465
  for (; Ci.length > G && Rr.length > G; )
152467
152466
  Ci = l.Utils.arraySplice(Ci, 0, 1), Rr = l.Utils.arraySplice(Rr, 0, 1);
@@ -152737,7 +152736,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
152737
152736
  var jt = K - l.imageW + I, en = ae - l.imageH + U;
152738
152737
  Ee = parseInt(xt / 2 - jt / 2, 10), Xe = parseInt(It / 2 - en / 2, 10);
152739
152738
  } else
152740
- fe = wt, ge = Wt, Re = wt + "px", Fe = Wt + "px", Ee = wt / 2, Xe = Wt / 2;
152739
+ fe = St, ge = Wt, Re = St + "px", Fe = Wt + "px", Ee = St / 2, Xe = Wt / 2;
152741
152740
  Ut.width = fe, Ut.height = ge, Gt.width = Re, Gt.height = Fe, zt.restore(), zt.save(), zt.translate(Ee, Xe), l.Utils.colorCanvas(Ut, l.saveImageBackColor);
152742
152741
  }
152743
152742
  }
@@ -154041,7 +154040,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
154041
154040
  ), fe = parseInt(
154042
154041
  l.Utils.getResource("DEFAULT_IMAGESETLISTWIDTH"),
154043
154042
  10
154044
- ), ge = l.imageSet ? fe : J, Re = sq(T, ge, wt, Wt);
154043
+ ), ge = l.imageSet ? fe : J, Re = sq(T, ge, St, Wt);
154045
154044
  if (typeof we > "u" || we === null) {
154046
154045
  l["HotspotList" + K] = new l.Utils.createSelectElement(
154047
154046
  "HotspotList" + K,
@@ -154903,7 +154902,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
154903
154902
  "0px",
154904
154903
  "normal",
154905
154904
  "default"
154906
- ), Ea = l["AnnotationPanelDisplay" + O], ut = Ea, St = ut.style, l.ViewerDisplay.appendChild(Ea), St.zIndex = (l.baseZIndex + 14).toString();
154905
+ ), Ea = l["AnnotationPanelDisplay" + O], ut = Ea, wt = ut.style, l.ViewerDisplay.appendChild(Ea), wt.zIndex = (l.baseZIndex + 14).toString();
154907
154906
  var K = l.Utils.createContainerElement(
154908
154907
  "div",
154909
154908
  "annotationPanelBackground" + O,
@@ -156596,16 +156595,16 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
156596
156595
  Sr,
156597
156596
  U.w,
156598
156597
  U.h,
156599
- wt,
156598
+ St,
156600
156599
  Wt
156601
156600
  );
156602
156601
  m.sizeAndPositionAnnotationPanel(
156603
- St,
156602
+ wt,
156604
156603
  U.w,
156605
156604
  U.h,
156606
156605
  K.x,
156607
156606
  K.y
156608
- ), l.annotationPanelVisibleState = !(l.annotationPanelVisible == 0 || l.annotationPanelVisible == 3 || l.annotationPanelVisible == 4 || Sr == "0" || l.zoomRectangle && !l.annotations || l.measureVisible && l.editMode === null || l.imageSet && l.annotationFileShared && O == 0), St.display = l.annotationPanelVisibleState ? "inline-block" : "none";
156607
+ ), l.annotationPanelVisibleState = !(l.annotationPanelVisible == 0 || l.annotationPanelVisible == 3 || l.annotationPanelVisible == 4 || Sr == "0" || l.zoomRectangle && !l.annotations || l.measureVisible && l.editMode === null || l.imageSet && l.annotationFileShared && O == 0), wt.display = l.annotationPanelVisibleState ? "inline-block" : "none";
156609
156608
  var ae = T[6], J = T[7], fe = T[8], ge = parseInt(
156610
156609
  l.Utils.getResource("DEFAULT_ANNOTATIONLABELWIDTH"),
156611
156610
  10
@@ -157372,7 +157371,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
157372
157371
  }
157373
157372
  }
157374
157373
  }
157375
- O > 0 && (St.display = "none");
157374
+ O > 0 && (wt.display = "none");
157376
157375
  }
157377
157376
  function dq() {
157378
157377
  em("0"), !m.getStatus("annotationPanelInitializedViewport") && (l.editMode != "edit" || document.getElementById("buttonLabelSave" + p.toString())) && m.setStatus("annotationPanelInitializedViewport", !0);
@@ -160489,7 +160488,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
160489
160488
  l.trackingPanelPosition,
160490
160489
  U,
160491
160490
  K,
160492
- wt,
160491
+ St,
160493
160492
  Wt
160494
160493
  );
160495
160494
  m.sizeAndPositionTrackingPanel(
@@ -161528,7 +161527,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
161528
161527
  if (m.getStatus("initializedViewport")) {
161529
161528
  var U = Rl == "0" ? "hidden" : "visible";
161530
161529
  Ec = l.tracking && l.navigatorVisible && l.navigatorW !== null ? l.navigatorW + 2 : parseInt(l.Utils.getResource("DEFAULT_IMAGELISTWIDTH"), 10);
161531
- var K = m.calculateImageListCoords(wt, Wt, I), ae = typeof I > "u" || !l.Utils.stringValidate(I) ? "" : I.toString();
161530
+ var K = m.calculateImageListCoords(St, Wt, I), ae = typeof I > "u" || !l.Utils.stringValidate(I) ? "" : I.toString();
161532
161531
  typeof bl > "u" || bl === null ? (bl = new l.Utils.createSelectElement(
161533
161532
  "imageList" + ae,
161534
161533
  T,
@@ -161548,7 +161547,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
161548
161547
  }
161549
161548
  this.setSizeAndPositionImageList = function(T, O, I) {
161550
161549
  (typeof T > "u" || T === null) && (T = l.tracking && l.navigatorVisible && l.navigatorW !== null ? l.navigatorW + 2 : parseInt(l.Utils.getResource("DEFAULT_IMAGELISTWIDTH"), 10));
161551
- var U = m.calculateImageListCoords(wt, Wt, t);
161550
+ var U = m.calculateImageListCoords(St, Wt, t);
161552
161551
  (typeof O > "u" || O === null) && (O = U.x), (typeof I > "u" || I === null) && (I = U.y), bl.style.width = T + "px", bl.style.left = O + "px", bl.style.top = I + "px";
161553
161552
  }, this.calculateImageListCoords = function(T, O, I) {
161554
161553
  var U = _u, K = Ec;
@@ -161632,7 +161631,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
161632
161631
  this.id = T.getAttribute("ID"), this.name = T.getAttribute("NAME"), this.internalID = T.getAttribute("INTERNALID"), isNaN(parseInt(this.internalID, 10)) && (this.internalID = _c("slide")), this.media = T.getAttribute("MEDIA"), this.audio = T.getAttribute("AUDIO"), l.Utils.stringValidate(this.audio) && (l.audioContent = !0), this.initialX = T.getAttribute("INITIALX"), this.initialY = T.getAttribute("INITIALY"), this.initialZoom = T.getAttribute("INITIALZOOM"), this.minZoom = T.getAttribute("MINZOOM"), this.maxZoom = T.getAttribute("MAXZOOM"), this.hotspotPath = T.getAttribute("HOTSPOTPATH"), this.annotationPath = T.getAttribute("ANNOTATIONPATH"), O = parseFloat(T.getAttribute("SHOWFOR")), this.showFor = isNaN(O) ? 0 : O, this.transition = T.getAttribute("TRANSITION"), O = parseFloat(T.getAttribute("CHANGEFOR")), this.changeFor = isNaN(O) ? 0 : O;
161633
161632
  }
161634
161633
  function V7e(T, O) {
161635
- var I = Rl == "0" ? "hidden" : "visible", U = m.calculateSlideListCoords(wt, Wt);
161634
+ var I = Rl == "0" ? "hidden" : "visible", U = m.calculateSlideListCoords(St, Wt);
161636
161635
  if (typeof Cs > "u" || Cs === null) {
161637
161636
  Cs = new l.Utils.createSelectElement(
161638
161637
  "slideList",
@@ -161886,7 +161885,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
161886
161885
  );
161887
161886
  pe.left = Math.round(ge.x) + "px", pe.top = Math.round(ge.y) + "px";
161888
161887
  var Re = ge.x - fn, Fe = ge.y - qt;
161889
- te && Jt && (l.mobileDevice || Math.abs(Re) > wt / 2 || Math.abs(Fe) > Wt / 2) && Ud(
161888
+ te && Jt && (l.mobileDevice || Math.abs(Re) > St / 2 || Math.abs(Fe) > Wt / 2) && Ud(
161890
161889
  te,
161891
161890
  rt,
161892
161891
  Hr,
@@ -162413,7 +162412,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
162413
162412
  break;
162414
162413
  }
162415
162414
  }, this.setImageFilter = function(T, O, I) {
162416
- l.Utils.arrayClear(xa), typeof T < "u" && T !== null && T !== "null" && (typeof O !== void 0 && O !== null && O == 0 && T.indexOf("Range") == -1 ? Nq(T) : Y7e(T, O, I));
162415
+ l.Utils.arrayClear(Sa), typeof T < "u" && T !== null && T !== "null" && (typeof O !== void 0 && O !== null && O == 0 && T.indexOf("Range") == -1 ? Nq(T) : Y7e(T, O, I));
162417
162416
  };
162418
162417
  function Y7e(T, O, I) {
162419
162418
  for (var U = typeof O !== void 0 && O !== null, K = T == "grayscale" || T == "threshold" || T == "inversion" || T == "normalize" || T == "equalize" || T == "edges" || T == "sepia", ae = l.Utils.arrayIndexOfObjectValue(
@@ -162626,7 +162625,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
162626
162625
  typeof yl > "u" || typeof Ts > "u" || (Gs !== null || Ts !== null ? (window.clearTimeout(yl), yl = null, window.clearTimeout(Ts), Ts = null) : Gs = window.setTimeout(function() {
162627
162626
  Gs = null;
162628
162627
  var K = T == "sharpness" || T == "blurriness" || T == "edges";
162629
- l.buttonIsDown && !K ? q7e(T, O, U) : (typeof xa < "u" && l.Utils.arrayClear(xa), Dq(de, T, O, I, U), K && l.Utils.showMessage(
162628
+ l.buttonIsDown && !K ? q7e(T, O, U) : (typeof Sa < "u" && l.Utils.arrayClear(Sa), Dq(de, T, O, I, U), K && l.Utils.showMessage(
162630
162629
  l.Utils.getResource("ALERT_PROCESSINGIMAGEFILTER-CONVOLUTION"),
162631
162630
  !1,
162632
162631
  null,
@@ -162640,7 +162639,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
162640
162639
  }, this.cacheCanvasImage = function(T) {
162641
162640
  T ? Eu = ke.getImageData(0, 0, de.width, de.height) : ($c = ke.getImageData(0, 0, de.width, de.height), zc = Q.getImageData(0, 0, re.width, re.height));
162642
162641
  }, this.cacheTileImage = function(T) {
162643
- xa[xa.length] = T;
162642
+ Sa[Sa.length] = T;
162644
162643
  };
162645
162644
  function q7e(T, O, I) {
162646
162645
  if (Eu && ke) {
@@ -162690,9 +162689,9 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
162690
162689
  return kq(T, I);
162691
162690
  }
162692
162691
  function kq(T, O) {
162693
- var I = l.Utils.arrayIndexOfObjectValue(xa, "name", T);
162692
+ var I = l.Utils.arrayIndexOfObjectValue(Sa, "name", T);
162694
162693
  if (I != -1)
162695
- O = xa[I].object;
162694
+ O = Sa[I].object;
162696
162695
  else {
162697
162696
  for (var U = 0, K = Mi.length; U < K; U++) {
162698
162697
  var ae = Mi[U].filter, J = Mi[U].value, fe = Mi[U].value2;
@@ -162916,7 +162915,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
162916
162915
  );
162917
162916
  pe.left = va.x + "px", pe.top = va.y + "px", me.mouseXPrior = J.x, me.mouseYPrior = J.y;
162918
162917
  var ki = va.x - fn, Hi = va.y - qt;
162919
- te && Jt && (l.mobileDevice || Math.abs(ki) > wt / 2 || Math.abs(Hi) > Wt / 2) && Ud(
162918
+ te && Jt && (l.mobileDevice || Math.abs(ki) > St / 2 || Math.abs(Hi) > Wt / 2) && Ud(
162920
162919
  te,
162921
162920
  rt,
162922
162921
  Hr,
@@ -163403,7 +163402,7 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
163403
163402
  );
163404
163403
  pe.left = va.x + "px", pe.top = va.y + "px", me.mouseXPrior = J.x, me.mouseYPrior = J.y;
163405
163404
  var ki = va.x - fn, Hi = va.y - qt;
163406
- te && Jt && (l.mobileDevice || Math.abs(ki) > wt / 2 || Math.abs(Hi) > Wt / 2) && Ud(
163405
+ te && Jt && (l.mobileDevice || Math.abs(ki) > St / 2 || Math.abs(Hi) > Wt / 2) && Ud(
163407
163406
  te,
163408
163407
  rt,
163409
163408
  Hr,
@@ -163980,12 +163979,12 @@ Tile loading complete for backfill: all requested tiles received.`), Fe = !1;
163980
163979
  var Xe = O + uo, lt = I + qa;
163981
163980
  is = Xe, Js = lt;
163982
163981
  var xt, It, jt, en;
163983
- l.animator == "motion" ? (xt = l.animationAxis == "horizontal" ? uo : qa, GB = l.animationAxis == "horizontal" ? wt : Wt, It = Math.round($s / l.imageSetLength), jt = xt / 40, en = 0) : l.animator == "position" && (xt = l.animationAxis == "horizontal" ? fe : ge, GB = l.animationAxis == "horizontal" ? wt : Wt, It = Math.max(
163982
+ l.animator == "motion" ? (xt = l.animationAxis == "horizontal" ? uo : qa, GB = l.animationAxis == "horizontal" ? St : Wt, It = Math.round($s / l.imageSetLength), jt = xt / 40, en = 0) : l.animator == "position" && (xt = l.animationAxis == "horizontal" ? fe : ge, GB = l.animationAxis == "horizontal" ? St : Wt, It = Math.max(
163984
163983
  0,
163985
163984
  Math.round(
163986
163985
  (GB / 2 - Math.abs(xt)) / ur
163987
163986
  )
163988
- ), jt = 0, en = l.animationAxis == "horizontal" ? wt / 10 : Wt / 10), It == 0 && It++, l.animationCount % It == 0 && (xt < -en ? l.Viewer.viewportPrior(jt) : xt > en && l.Viewer.viewportNext(jt)), Ja && Math.round(uo * Ee) / Ee == 0 && Math.round(qa * Ee) / Ee == 0 && (Ja = !1);
163987
+ ), jt = 0, en = l.animationAxis == "horizontal" ? St / 10 : Wt / 10), It == 0 && It++, l.animationCount % It == 0 && (xt < -en ? l.Viewer.viewportPrior(jt) : xt > en && l.Viewer.viewportNext(jt)), Ja && Math.round(uo * Ee) / Ee == 0 && Math.round(qa * Ee) / Ee == 0 && (Ja = !1);
163989
163988
  }
163990
163989
  } else
163991
163990
  !l.mouseIsDown && Ja === null && uo != 0 && qa != 0 ? (Go != 0 || Do != 0) && (Jl = fs.x + Go, Ll = fs.y + Do, Ja = !0) : (dE(!0), is = null, Js = null);
@@ -164074,12 +164073,12 @@ l.ZoomifyToolbar = function(t) {
164074
164073
  var M = parseInt(
164075
164074
  l.Utils.getResource("DEFAULT_SLIDERTESTDURATIONFILTER"),
164076
164075
  10
164077
- ), N = !1, k = null, B = null, H, F = [], G = l.initialImageFilters, z = !1, V = null, j = null, Y = !0, W, Z, te, se, q, ne, oe, ie, ee, me, pe, he, re, xe, Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, St, st, Ue, ft, it, nt, Ct, $e, Lt, At, kt, Ot, Vt, Xt, hn, wn, In, jn, rn, Or, Vn, xn, Un, pn, Qn, fr, kr, Wn, cr, je, Mt, Dt, Ft, Ut, Gt, zt, Yt, $n, Ht, Pt, Jt, Gn, Pn, Cr, Mr, er, on, qn, _n, Tn, Fn, ar, Zr, xr = 0;
164076
+ ), N = !1, k = null, B = null, H, F = [], G = l.initialImageFilters, z = !1, V = null, j = null, Y = !0, W, Z, te, se, q, ne, oe, ie, ee, me, pe, he, re, xe, Q, be, de, _e, ke, He, Ne, Se, Ze, ve, ue, Le, at, De, Ye, dt, ct, ut, wt, st, Ue, ft, it, nt, Ct, $e, Lt, At, kt, Ot, Vt, Xt, hn, wn, In, jn, rn, Or, Vn, xn, Un, pn, Qn, fr, kr, Wn, cr, je, Mt, Dt, Ft, Ut, Gt, zt, Yt, $n, Ht, Pt, Jt, Gn, Pn, Cr, Mr, er, on, qn, _n, Tn, Fn, ar, Zr, xr = 0;
164078
164077
  }
164079
164078
  function zi() {
164080
164079
  var ye = parseFloat(
164081
164080
  l.Utils.getResource("UI_TOOLBARINTERNALBACKGROUNDALPHA")
164082
- ), ce = l.Utils.getResource("UI_TOOLBARINTERNALBACKGROUNDCOLOR"), Be = l.Utils.getResource("UI_TOOLBARINTERNALBUTTONUPCOLOR"), ze = 100, Pe = 25, gt = l.viewerW / 2 - ze / 2, Bt = l.viewerH - Pe - 10, $t = Math.round(ze / 4), tn = Math.round(Pe / 1.5), wt = (ze - $t * 3) / 4, Wt = (Pe - tn) / 2;
164081
+ ), ce = l.Utils.getResource("UI_TOOLBARINTERNALBACKGROUNDCOLOR"), Be = l.Utils.getResource("UI_TOOLBARINTERNALBUTTONUPCOLOR"), ze = 100, Pe = 25, gt = l.viewerW / 2 - ze / 2, Bt = l.viewerH - Pe - 10, $t = Math.round(ze / 4), tn = Math.round(Pe / 1.5), St = (ze - $t * 3) / 4, Wt = (Pe - tn) / 2;
164083
164082
  l.ToolbarDisplay = l.Utils.createContainerElement(
164084
164083
  "div",
164085
164084
  "ToolbarDisplay",
@@ -164123,7 +164122,7 @@ l.ZoomifyToolbar = function(t) {
164123
164122
  "visible",
164124
164123
  $t + "px",
164125
164124
  tn + "px",
164126
- wt + 1 + "px",
164125
+ St + 1 + "px",
164127
164126
  Wt + 1 + "px",
164128
164127
  "none",
164129
164128
  "0px",
@@ -164156,7 +164155,7 @@ l.ZoomifyToolbar = function(t) {
164156
164155
  "visible",
164157
164156
  $t + "px",
164158
164157
  tn + "px",
164159
- wt * 2 + $t + 1 + "px",
164158
+ St * 2 + $t + 1 + "px",
164160
164159
  Wt + 1 + "px",
164161
164160
  "none",
164162
164161
  "0px",
@@ -164189,7 +164188,7 @@ l.ZoomifyToolbar = function(t) {
164189
164188
  "visible",
164190
164189
  $t + "px",
164191
164190
  tn + "px",
164192
- wt * 3 + $t * 2 + 1 + "px",
164191
+ St * 3 + $t * 2 + 1 + "px",
164193
164192
  Wt + 1 + "px",
164194
164193
  "none",
164195
164194
  "0px",
@@ -164386,7 +164385,7 @@ l.ZoomifyToolbar = function(t) {
164386
164385
  "0px"
164387
164386
  );
164388
164387
  if ($t.appendChild(tn.elmt), l.Utils.setOpacity(tn.elmt, "0", "#FBFAFA"), (l.toolbarVisible != 0 && l.toolbarVisible != 1 || l.mobileDevice) && l.minimizeVisible) {
164389
- var wt = new l.Utils.Button(
164388
+ var St = new l.Utils.Button(
164390
164389
  "buttonMinimize",
164391
164390
  null,
164392
164391
  l.skinPath,
@@ -164401,7 +164400,7 @@ l.ZoomifyToolbar = function(t) {
164401
164400
  Sn,
164402
164401
  "TIP_MINIMIZE"
164403
164402
  );
164404
- l.ToolbarDisplay.appendChild(wt.elmt);
164403
+ l.ToolbarDisplay.appendChild(St.elmt);
164405
164404
  var Wt = new l.Utils.Button(
164406
164405
  "buttonExpand",
164407
164406
  null,
@@ -165243,7 +165242,7 @@ l.ZoomifyToolbar = function(t) {
165243
165242
  "UI_IMAGEFILTERCHOICELISTTEXT"
165244
165243
  ).split(","), $t = l.Utils.getResource(
165245
165244
  "UI_IMAGEFILTERCHOICELISTVALUES"
165246
- ).split(","), tn = 0, wt = Bt.length; tn < wt; tn++)
165245
+ ).split(","), tn = 0, St = Bt.length; tn < St; tn++)
165247
165246
  F[F.length] = {
165248
165247
  text: Bt[tn],
165249
165248
  value: $t[tn]
@@ -165871,8 +165870,8 @@ l.ZoomifyToolbar = function(t) {
165871
165870
  ), Pe[Pe.length] = parseFloat(
165872
165871
  ye.getElementsByTagName(Be)[0].attributes.getNamedItem("PROGRESSFONTSIZE").nodeValue
165873
165872
  );
165874
- var gt, Bt, $t, tn, wt;
165875
- if (gt = l.trackingEditMode == "edit" ? 176 : l.tracking ? 164 : l.editMode == "edit" || l.trackingEditMode == "edit" ? 161 : l.editMode == "markup" ? 152 : l.imageFilters ? 100 : l.screensaver || l.preloadVisible || l.tourPath || l.slidePath || l.imageSetPath ? 77 : l.rotationVisible ? 58 : l.measureVisible ? 51 : l.helpVisible > 0 || l.fullScreenVisible || l.fullPageVisible ? 45 : l.resetVisible ? 35 : l.panButtonsVisible ? 32 : l.sliderZoomVisible ? 19 : l.minimizeVisible ? 14 : l.logoVisible ? 8 : 6, Bt = ye.getElementsByTagName("FILES")[0].attributes.getNamedItem("SKIN0"), Bt !== null && ($t = Bt.nodeValue), tn = ye.getElementsByTagName("FILES")[0].attributes.getNamedItem("SKIN" + gt.toString()), tn !== null && (wt = tn.nodeValue), typeof $t < "u" && l.Utils.stringValidate($t) && typeof wt < "u" && l.Utils.stringValidate(wt)) {
165873
+ var gt, Bt, $t, tn, St;
165874
+ if (gt = l.trackingEditMode == "edit" ? 176 : l.tracking ? 164 : l.editMode == "edit" || l.trackingEditMode == "edit" ? 161 : l.editMode == "markup" ? 152 : l.imageFilters ? 100 : l.screensaver || l.preloadVisible || l.tourPath || l.slidePath || l.imageSetPath ? 77 : l.rotationVisible ? 58 : l.measureVisible ? 51 : l.helpVisible > 0 || l.fullScreenVisible || l.fullPageVisible ? 45 : l.resetVisible ? 35 : l.panButtonsVisible ? 32 : l.sliderZoomVisible ? 19 : l.minimizeVisible ? 14 : l.logoVisible ? 8 : 6, Bt = ye.getElementsByTagName("FILES")[0].attributes.getNamedItem("SKIN0"), Bt !== null && ($t = Bt.nodeValue), tn = ye.getElementsByTagName("FILES")[0].attributes.getNamedItem("SKIN" + gt.toString()), tn !== null && (St = tn.nodeValue), typeof $t < "u" && l.Utils.stringValidate($t) && typeof St < "u" && l.Utils.stringValidate(St)) {
165876
165875
  for (var Wt = !1, Jn = 0, mr = gt + 1; Jn < mr; Jn++) {
165877
165876
  var Hn = ye.getElementsByTagName("FILES")[0].attributes.getNamedItem("SKIN" + Jn).nodeValue;
165878
165877
  l.Utils.stringValidate(Hn) ? s[Jn] = ce + "/" + Hn : (s[Jn] = "null", Wt = !0);
@@ -165884,7 +165883,7 @@ l.ZoomifyToolbar = function(t) {
165884
165883
  typeof ye > "u" || ye === null ? ye = l.toolbarVisible > 0 ? l.toolbarCurrentW : 0 : l.toolbarCurrentW = ye, (typeof ce > "u" || ce === null) && (ce = l.toolbarVisible > 0 && l.toolbarVisible != 8 ? i : 0), (typeof Be > "u" || Be === null) && (Be = 0), (typeof ze > "u" || ze === null) && (ze = l.toolbarPosition == 1 ? l.viewerH - i : 0), a = l.ToolbarDisplay.style, a.width = ye + "px", a.height = ce + "px", a.left = Be + "px", a.top = ze + "px", nn(ye, ce);
165885
165884
  };
165886
165885
  function nn(ye, ce) {
165887
- var Be = ye, ze = ce, Pe = c[2], gt = c[3], Bt = c[4], $t = c[5], tn = c[6], wt = c[7], Wt = c[8], Jn = c[9], mr = c[10], Hn = c[11], On = c[12], ei = c[13], ii = c[14], fn = c[15], qt = 0, di = (ze - gt) / 2 + 1, Dr = (ze - $t) / 2, Kr = (ze - wt) / 2, rs = Kr * 1.3, Da = Kr + 4, $a = Kr + 2, mi = l.logoVisible == 1 ? 0 : Wt / 2, ti = l.logoVisible == 1 ? 0 : Wt / 2, na = Wt - (tn - Bt), Ko = 20, Ma = 0, Mo = 0;
165886
+ var Be = ye, ze = ce, Pe = c[2], gt = c[3], Bt = c[4], $t = c[5], tn = c[6], St = c[7], Wt = c[8], Jn = c[9], mr = c[10], Hn = c[11], On = c[12], ei = c[13], ii = c[14], fn = c[15], qt = 0, di = (ze - gt) / 2 + 1, Dr = (ze - $t) / 2, Kr = (ze - St) / 2, rs = Kr * 1.3, Da = Kr + 4, $a = Kr + 2, mi = l.logoVisible == 1 ? 0 : Wt / 2, ti = l.logoVisible == 1 ? 0 : Wt / 2, na = Wt - (tn - Bt), Ko = 20, Ma = 0, Mo = 0;
165888
165887
  if (l.zoomButtonsVisible && (Ma += 2), l.panButtonsVisible && (Ma += 4, Mo += 1), l.resetVisible && (Ma += 1), (l.fullScreenVisible || l.fullPageVisible) && (Ma += 1, Mo += 1), l.helpVisible && (Ma += 1, !l.fullScreenVisible && !l.fullPageVisible && (Mo += 1)), l.measureVisible && (!l.fullScreenVisible && !l.fullPageVisible && (Mo += 1), Ma += 1), l.rotationVisible && (Ma += 2, Mo += 1), (l.tour || l.slideshow) && (Ma += 3, Mo += 1, l.audioContent && (Ma += 1)), l.imageFilters && (Ma += 1, Mo += 1), l.preloadVisible && (Ma += 1, Mo += 1), l.comparison && l.syncVisible && (Ma += 1, Mo += 1), l.imageSet && l.sliderImageSetVisible) {
165889
165888
  var hl = ei, Ml = Hn, us = On;
165890
165889
  R = !1, Ma += 2;
@@ -165924,20 +165923,20 @@ l.ZoomifyToolbar = function(t) {
165924
165923
  var Pl = document.getElementById("buttonMinimize"), Ll = document.getElementById("buttonExpand");
165925
165924
  if (Pl && Ll) {
165926
165925
  var ko = Pl.style, ts = Ll.style;
165927
- ko && ts && (m ? (ko.display = "none", ts.display = "none") : (ko.display = "inline-block", ts.display = "inline-block", l.Utils.buttonSize(Pl, tn, wt), l.Utils.buttonSize(Ll, tn, wt), ko.left = qt + mi + "px", ko.top = rs + "px", ts.left = qt + ti + "px", ts.top = rs + "px"));
165926
+ ko && ts && (m ? (ko.display = "none", ts.display = "none") : (ko.display = "inline-block", ts.display = "inline-block", l.Utils.buttonSize(Pl, tn, St), l.Utils.buttonSize(Ll, tn, St), ko.left = qt + mi + "px", ko.top = rs + "px", ts.left = qt + ti + "px", ts.top = rs + "px"));
165928
165927
  }
165929
165928
  }
165930
165929
  if (qt = Ko, !ZB) {
165931
165930
  var Yo = document.getElementById("buttonZoomOut");
165932
165931
  if (Yo) {
165933
- l.Utils.buttonSize(Yo, tn, wt);
165932
+ l.Utils.buttonSize(Yo, tn, St);
165934
165933
  var Ql = Yo.style;
165935
165934
  Ql.left = qt + "px", Ql.top = Kr + "px", qt += Wt;
165936
165935
  }
165937
165936
  $C = document.getElementById("trackSliderZoom"), $v = document.getElementById("buttonSliderZoom"), $C && $v && (Yu = $C.style, Wf = $v.style, Yu && Wf && (y ? (Yu.display = "none", Wf.display = "none") : (Yu.display = "inline-block", Wf.display = "inline-block", l.Utils.graphicSize($C, Hn, On), Yu.left = qt - 2 + "px", Yu.top = Da + "px", l.Utils.buttonSize($v, Jn, mr), Wf.left = parseFloat(Yu.left) + "px", Wf.top = $a + "px", qt += ei)));
165938
165937
  var Uo = document.getElementById("buttonZoomIn");
165939
165938
  if (Uo) {
165940
- l.Utils.buttonSize(Uo, tn, wt);
165939
+ l.Utils.buttonSize(Uo, tn, St);
165941
165940
  var pl = Uo.style;
165942
165941
  pl.left = qt + "px", pl.top = Kr + "px", qt += Wt + 1;
165943
165942
  }
@@ -165951,25 +165950,25 @@ l.ZoomifyToolbar = function(t) {
165951
165950
  }
165952
165951
  var sc = document.getElementById("buttonPanLeft");
165953
165952
  if (sc) {
165954
- l.Utils.buttonSize(sc, tn, wt);
165953
+ l.Utils.buttonSize(sc, tn, St);
165955
165954
  var Ol = sc.style;
165956
165955
  Ol.left = qt + "px", Ol.top = Kr + "px", qt += Wt;
165957
165956
  }
165958
165957
  var gl = document.getElementById("buttonPanUp");
165959
165958
  if (gl) {
165960
- l.Utils.buttonSize(gl, tn, wt);
165959
+ l.Utils.buttonSize(gl, tn, St);
165961
165960
  var bc = gl.style;
165962
165961
  bc.left = qt + "px", bc.top = Kr + "px", qt += Wt;
165963
165962
  }
165964
165963
  var xs = document.getElementById("buttonPanDown");
165965
165964
  if (xs) {
165966
- l.Utils.buttonSize(xs, tn, wt);
165965
+ l.Utils.buttonSize(xs, tn, St);
165967
165966
  var lc = xs.style;
165968
165967
  lc.left = qt + "px", lc.top = Kr + "px", qt += Wt;
165969
165968
  }
165970
165969
  var cc = document.getElementById("buttonPanRight");
165971
165970
  if (cc) {
165972
- l.Utils.buttonSize(cc, tn, wt);
165971
+ l.Utils.buttonSize(cc, tn, St);
165973
165972
  var xc = cc.style;
165974
165973
  xc.left = qt + "px", xc.top = Kr + "px", qt += Wt;
165975
165974
  }
@@ -165977,7 +165976,7 @@ l.ZoomifyToolbar = function(t) {
165977
165976
  if (!x) {
165978
165977
  var Cc = document.getElementById("buttonReset");
165979
165978
  if (Cc) {
165980
- l.Utils.buttonSize(Cc, tn, wt);
165979
+ l.Utils.buttonSize(Cc, tn, St);
165981
165980
  var il = Cc.style;
165982
165981
  il.left = qt + "px", il.top = Kr + "px", qt += Wt + 1;
165983
165982
  }
@@ -165990,13 +165989,13 @@ l.ZoomifyToolbar = function(t) {
165990
165989
  }
165991
165990
  var al = document.getElementById("buttonFullViewExit");
165992
165991
  if (al) {
165993
- l.Utils.buttonSize(al, tn, wt);
165992
+ l.Utils.buttonSize(al, tn, St);
165994
165993
  var Jo = al.style;
165995
165994
  Jo.left = qt + "px", Jo.top = Kr + "px", Jo.display = l.fullView ? "inline-block" : "none";
165996
165995
  }
165997
165996
  var Hs = document.getElementById("buttonFullView");
165998
165997
  if (Hs) {
165999
- l.Utils.buttonSize(Hs, tn, wt);
165998
+ l.Utils.buttonSize(Hs, tn, St);
166000
165999
  var wc = Hs.style;
166001
166000
  wc.left = qt + "px", wc.top = Kr + "px", qt += Wt + 1, wc.display = l.fullView ? "none" : "inline-block";
166002
166001
  }
@@ -166009,14 +166008,14 @@ l.ZoomifyToolbar = function(t) {
166009
166008
  if (l.editMode === null) {
166010
166009
  var Vu = document.getElementById("buttonMeasureExit");
166011
166010
  if (Vu) {
166012
- l.Utils.buttonSize(Vu, tn, wt);
166011
+ l.Utils.buttonSize(Vu, tn, St);
166013
166012
  var $u = Vu.style;
166014
166013
  $u.left = qt + "px", $u.top = Kr + "px", $u.display = l.labelMode == "measure" ? "inline-block" : "none";
166015
166014
  }
166016
166015
  }
166017
166016
  var Pl = document.getElementById("buttonMeasure");
166018
166017
  if (Pl) {
166019
- l.Utils.buttonSize(Pl, tn, wt);
166018
+ l.Utils.buttonSize(Pl, tn, St);
166020
166019
  var ko = Pl.style;
166021
166020
  ko.left = qt + "px", ko.top = Kr + "px", qt += Wt + 1, ko.display = l.labelMode == "measure" ? "none" : "inline-block";
166022
166021
  }
@@ -166027,13 +166026,13 @@ l.ZoomifyToolbar = function(t) {
166027
166026
  hd.left = qt + "px", hd.top = Dr + "px", qt += na;
166028
166027
  var ml = document.getElementById("buttonRotateCounterwise");
166029
166028
  if (ml) {
166030
- l.Utils.buttonSize(ml, tn, wt);
166029
+ l.Utils.buttonSize(ml, tn, St);
166031
166030
  var zu = ml.style;
166032
166031
  zu.left = qt + "px", zu.top = Kr + "px", qt += Wt;
166033
166032
  }
166034
166033
  var Sc = document.getElementById("buttonRotateClockwise");
166035
166034
  if (Sc) {
166036
- l.Utils.buttonSize(Sc, tn, wt);
166035
+ l.Utils.buttonSize(Sc, tn, St);
166037
166036
  var Hu = Sc.style;
166038
166037
  Hu.left = qt + "px", Hu.top = Kr + "px", qt += Wt + 1;
166039
166038
  }
@@ -166046,25 +166045,25 @@ l.ZoomifyToolbar = function(t) {
166046
166045
  Su.left = qt + "px", Su.top = Dr + "px", qt += na;
166047
166046
  var Gs = document.getElementById("buttonTourPrior");
166048
166047
  if (Gs) {
166049
- l.Utils.buttonSize(Gs, tn, wt);
166048
+ l.Utils.buttonSize(Gs, tn, St);
166050
166049
  var Ts = Gs.style;
166051
166050
  Ts.left = qt + "px", Ts.top = Kr + "px", qt += Wt + 1;
166052
166051
  }
166053
166052
  var yl = document.getElementById("buttonTourNext");
166054
166053
  if (yl) {
166055
- l.Utils.buttonSize(yl, tn, wt);
166054
+ l.Utils.buttonSize(yl, tn, St);
166056
166055
  var js = yl.style;
166057
166056
  js.left = qt + "px", js.top = Kr + "px", qt += Wt + 1;
166058
166057
  }
166059
166058
  var Mi = document.getElementById("buttonTourStop");
166060
166059
  if (Mi) {
166061
- l.Utils.buttonSize(Mi, tn, wt);
166062
- var xa = Mi.style;
166063
- xa.left = qt + "px", xa.top = Kr + "px", xa.display = l.tourPlaying ? "inline-block" : "none";
166060
+ l.Utils.buttonSize(Mi, tn, St);
166061
+ var Sa = Mi.style;
166062
+ Sa.left = qt + "px", Sa.top = Kr + "px", Sa.display = l.tourPlaying ? "inline-block" : "none";
166064
166063
  }
166065
166064
  var $c = document.getElementById("buttonTourStart");
166066
166065
  if ($c) {
166067
- l.Utils.buttonSize($c, tn, wt);
166066
+ l.Utils.buttonSize($c, tn, St);
166068
166067
  var Eu = $c.style;
166069
166068
  Eu.left = qt + "px", Eu.top = Kr + "px", qt += Wt + 1, Eu.display = l.tourPlaying ? "none" : "inline-block";
166070
166069
  }
@@ -166077,25 +166076,25 @@ l.ZoomifyToolbar = function(t) {
166077
166076
  Gu.left = qt + "px", Gu.top = Dr + "px", qt += na;
166078
166077
  var iu = document.getElementById("buttonSlideshowPrior");
166079
166078
  if (iu) {
166080
- l.Utils.buttonSize(iu, tn, wt);
166079
+ l.Utils.buttonSize(iu, tn, St);
166081
166080
  var ju = iu.style;
166082
166081
  ju.left = qt + "px", ju.top = Kr + "px", qt += Wt + 1;
166083
166082
  }
166084
166083
  var au = document.getElementById("buttonSlideshowNext");
166085
166084
  if (au) {
166086
- l.Utils.buttonSize(au, tn, wt);
166085
+ l.Utils.buttonSize(au, tn, St);
166087
166086
  var ou = au.style;
166088
166087
  ou.left = qt + "px", ou.top = Kr + "px", qt += Wt + 1;
166089
166088
  }
166090
166089
  var ec = document.getElementById("buttonSlideshowStop");
166091
166090
  if (ec) {
166092
- l.Utils.buttonSize(ec, tn, wt);
166091
+ l.Utils.buttonSize(ec, tn, St);
166093
166092
  var su = ec.style;
166094
166093
  su.left = qt + "px", su.top = Kr + "px", su.display = l.slideshowPlaying ? "inline-block" : "none";
166095
166094
  }
166096
166095
  var hs = document.getElementById("buttonSlideshowStart");
166097
166096
  if (hs) {
166098
- l.Utils.buttonSize(hs, tn, wt);
166097
+ l.Utils.buttonSize(hs, tn, St);
166099
166098
  var S = hs.style;
166100
166099
  S.left = qt + "px", S.top = Kr + "px", qt += Wt + 1, S.display = l.slideshowPlaying ? "none" : "inline-block";
166101
166100
  }
@@ -166109,14 +166108,14 @@ l.ZoomifyToolbar = function(t) {
166109
166108
  }
166110
166109
  var le = document.getElementById("buttonImageSetPrior");
166111
166110
  if (le) {
166112
- l.Utils.buttonSize(le, tn, wt);
166111
+ l.Utils.buttonSize(le, tn, St);
166113
166112
  var Ce = le.style;
166114
166113
  Ce.left = qt + "px", Ce.top = Kr + "px", qt += Wt + 1;
166115
166114
  }
166116
166115
  Jy = document.getElementById("trackSliderImageSet"), Pp = document.getElementById("buttonSliderImageSet"), Jy && Pp && (Sd = Jy.style, Rh = Pp.style, Sd && Rh && (R ? (Sd.display = "none", Rh.display = "none") : (Sd.display = "inline-block", Rh.display = "inline-block", l.Utils.graphicSize(Jy, Ml, us), Sd.left = qt - 2 + "px", Sd.top = Da + "px", l.Utils.buttonSize(Pp, Jn, mr), Rh.left = parseFloat(Sd.left) + "px", Rh.top = $a + "px", qt += hl)));
166117
166116
  var qe = document.getElementById("buttonImageSetNext");
166118
166117
  if (qe) {
166119
- l.Utils.buttonSize(qe, tn, wt);
166118
+ l.Utils.buttonSize(qe, tn, St);
166120
166119
  var Nt = qe.style;
166121
166120
  Nt.left = qt + "px", Nt.top = Kr + "px", qt += Wt + 1;
166122
166121
  }
@@ -166124,13 +166123,13 @@ l.ZoomifyToolbar = function(t) {
166124
166123
  if (l.tour || l.slideshow) {
166125
166124
  var an = document.getElementById("buttonAudioMuted");
166126
166125
  if (an) {
166127
- l.Utils.buttonSize(an, tn, wt);
166126
+ l.Utils.buttonSize(an, tn, St);
166128
166127
  var vn = an.style;
166129
166128
  vn.left = qt + "px", vn.top = Kr + "px", vn.display = "none";
166130
166129
  }
166131
166130
  var rr = document.getElementById("buttonAudioOn");
166132
166131
  if (rr) {
166133
- l.Utils.buttonSize(rr, tn, wt);
166132
+ l.Utils.buttonSize(rr, tn, St);
166134
166133
  var Yr = rr.style;
166135
166134
  Yr.left = qt + "px", Yr.top = Kr + "px", qt += Wt + 1, Yr.display = "none";
166136
166135
  }
@@ -166144,13 +166143,13 @@ l.ZoomifyToolbar = function(t) {
166144
166143
  qi.left = qt + "px", qi.top = Dr + "px", qt += na;
166145
166144
  var as = document.getElementById("buttonImageFilterPanelHide");
166146
166145
  if (as) {
166147
- l.Utils.buttonSize(as, tn, wt);
166146
+ l.Utils.buttonSize(as, tn, St);
166148
166147
  var Qa = as.style;
166149
166148
  Qa.left = qt + "px", Qa.top = Kr + "px", Qa.display = G ? "inline-block" : "none";
166150
166149
  }
166151
166150
  var os = document.getElementById("buttonImageFilterPanelShow");
166152
166151
  if (os) {
166153
- l.Utils.buttonSize(os, tn, wt);
166152
+ l.Utils.buttonSize(os, tn, St);
166154
166153
  var ps = os.style;
166155
166154
  ps.left = qt + "px", ps.top = Kr + "px", qt += Wt + 1, ps.display = G ? "none" : "inline-block";
166156
166155
  }
@@ -166162,7 +166161,7 @@ l.ZoomifyToolbar = function(t) {
166162
166161
  if (Vl && bl) {
166163
166162
  l.Utils.graphicSize(Vl, Bt, $t);
166164
166163
  var _u = Vl.style;
166165
- _u.top = Dr + "px", l.imageSet || (_u.left = qt + "px", qt += na), l.Utils.buttonSize(bl, tn, wt);
166164
+ _u.top = Dr + "px", l.imageSet || (_u.left = qt + "px", qt += na), l.Utils.buttonSize(bl, tn, St);
166166
166165
  var Ec = bl.style;
166167
166166
  Ec.left = qt + "px", Ec.top = Kr + "px", qt += Wt, l.imageSet && (_u.left = qt + "px", qt += na), qt += 8;
166168
166167
  }
@@ -166170,7 +166169,7 @@ l.ZoomifyToolbar = function(t) {
166170
166169
  if (l.helpVisible == 1 || l.helpVisible == 3) {
166171
166170
  var tc = document.getElementById("buttonHelp");
166172
166171
  if (tc) {
166173
- l.Utils.buttonSize(tc, tn, wt);
166172
+ l.Utils.buttonSize(tc, tn, St);
166174
166173
  var xl = tc.style;
166175
166174
  xl.left = qt + "px", xl.top = Kr + "px", qt += Wt + 8;
166176
166175
  }
@@ -166199,7 +166198,7 @@ l.ZoomifyToolbar = function(t) {
166199
166198
  "none"
166200
166199
  );
166201
166200
  var Rl = Wu.style;
166202
- Rl.width = tn * 1.5 + "px", Rl.height = wt * 1.5 + "px", Rl.left = qt + bo + 3 + "px", Rl.top = Kr - Tu + "px", Is.width = tn, Is.height = wt, Is.checked = l.initialSync;
166201
+ Rl.width = tn * 1.5 + "px", Rl.height = St * 1.5 + "px", Rl.left = qt + bo + 3 + "px", Rl.top = Kr - Tu + "px", Is.width = tn, Is.height = St, Is.checked = l.initialSync;
166203
166202
  }
166204
166203
  }
166205
166204
  var pd = document.getElementById("progressTextBox");
@@ -166218,7 +166217,7 @@ l.ZoomifyToolbar = function(t) {
166218
166217
  ), Pe = parseInt(
166219
166218
  l.Utils.getResource("DEFAULT_IMAGEFILTERTEXTPADDINGSMALL"),
166220
166219
  10
166221
- ), gt = c[6], Bt = c[7], $t = c[8], tn = c[4], wt = c[5], Wt = c[11], Jn = c[12], mr = c[9], Hn = c[10], On = c[13];
166220
+ ), gt = c[6], Bt = c[7], $t = c[8], tn = c[4], St = c[5], Wt = c[11], Jn = c[12], mr = c[9], Hn = c[10], On = c[13];
166222
166221
  c[15];
166223
166222
  var ei = $t - (gt - tn), ii = ce + 8, fn = 90, qt = 20, di = 3, Dr = 37, Kr = 14, rs = parseInt(
166224
166223
  l.Utils.getResource("DEFAULT_IMAGEFILTERLISTWIDTH"),
@@ -166229,7 +166228,7 @@ l.ZoomifyToolbar = function(t) {
166229
166228
  fn -= Mo;
166230
166229
  var Ml = H = Math.round(
166231
166230
  fn * Ko + Wt + $t * 2 + $t * Ko + ei * Ko + ye * Ko - 4 + hl
166232
- ), us = ce * 2 + wt + na, yo = us - wt - ce * 3.8, ka = Ml - ye - gt, is = us - ce - Bt * 1.9, Js = ye + 5, $s = us - ce - Bt - 1, ur = ye;
166231
+ ), us = ce * 2 + St + na, yo = us - St - ce * 3.8, ka = Ml - ye - gt, is = us - ce - Bt * 1.9, Js = ye + 5, $s = us - ce - Bt - 1, ur = ye;
166233
166232
  Cn = ii + 2;
166234
166233
  var ds = document.getElementById("buttonImageFilterPanelShow"), _s = document.getElementById("buttonContainerImageFilter"), zs = document.getElementById("imageFilterList");
166235
166234
  if (_s && ds && zs) {
@@ -166272,7 +166271,7 @@ l.ZoomifyToolbar = function(t) {
166272
166271
  "center",
166273
166272
  "none",
166274
166273
  Pe + "px"
166275
- ), Cn += wt));
166274
+ ), Cn += St));
166276
166275
  var ko = document.getElementById("labelContrastTextBox");
166277
166276
  oe = document.getElementById("trackSliderFilterContrast"), ee = document.getElementById("buttonSliderFilterContrast");
166278
166277
  var ts = document.getElementById("textBoxFor-contrastTextElement");
@@ -166303,7 +166302,7 @@ l.ZoomifyToolbar = function(t) {
166303
166302
  "center",
166304
166303
  "none",
166305
166304
  Pe + "px"
166306
- ), Cn += wt));
166305
+ ), Cn += St));
166307
166306
  var Yo = document.getElementById("labelSharpnessTextBox");
166308
166307
  he = document.getElementById("trackSliderFilterSharpness"), xe = document.getElementById("buttonSliderFilterSharpness");
166309
166308
  var Ql = document.getElementById("textBoxFor-sharpnessTextElement");
@@ -166334,7 +166333,7 @@ l.ZoomifyToolbar = function(t) {
166334
166333
  "center",
166335
166334
  "none",
166336
166335
  Pe + "px"
166337
- ), Cn += wt));
166336
+ ), Cn += St));
166338
166337
  var Uo = document.getElementById("labelBlurrinessTextBox");
166339
166338
  de = document.getElementById("trackSliderFilterBlurriness"), ke = document.getElementById("buttonSliderFilterBlurriness");
166340
166339
  var pl = document.getElementById("textBoxFor-blurrinessTextElement");
@@ -166365,7 +166364,7 @@ l.ZoomifyToolbar = function(t) {
166365
166364
  "center",
166366
166365
  "none",
166367
166366
  Pe + "px"
166368
- ), Cn += wt));
166367
+ ), Cn += St));
166369
166368
  var oc = document.getElementById("labelColorRedTextBox");
166370
166369
  Ne = document.getElementById("trackSliderFilterColorRed"), Ze = document.getElementById("buttonSliderFilterColorRed");
166371
166370
  var vl = document.getElementById("textBoxFor-colorRedTextElement");
@@ -166396,7 +166395,7 @@ l.ZoomifyToolbar = function(t) {
166396
166395
  "center",
166397
166396
  "none",
166398
166397
  Pe + "px"
166399
- ), Cn += wt));
166398
+ ), Cn += St));
166400
166399
  var sc = document.getElementById("labelColorGreenTextBox");
166401
166400
  ue = document.getElementById("trackSliderFilterColorGreen"), at = document.getElementById("buttonSliderFilterColorGreen");
166402
166401
  var Ol = document.getElementById("textBoxFor-colorGreenTextElement");
@@ -166427,7 +166426,7 @@ l.ZoomifyToolbar = function(t) {
166427
166426
  "center",
166428
166427
  "none",
166429
166428
  Pe + "px"
166430
- ), Cn += wt));
166429
+ ), Cn += St));
166431
166430
  var gl = document.getElementById("labelColorBlueTextBox");
166432
166431
  Ye = document.getElementById("trackSliderFilterColorBlue"), ct = document.getElementById("buttonSliderFilterColorBlue");
166433
166432
  var bc = document.getElementById("textBoxFor-colorBlueTextElement");
@@ -166458,15 +166457,15 @@ l.ZoomifyToolbar = function(t) {
166458
166457
  "center",
166459
166458
  "none",
166460
166459
  Pe + "px"
166461
- ), Cn += wt));
166460
+ ), Cn += St));
166462
166461
  var xs = document.getElementById("labelColorRedRangeTextBox");
166463
- St = document.getElementById("trackSliderFilterColorRedRange"), Ue = document.getElementById("buttonSliderFilterColorRedRange"), n2 = document.getElementById("buttonSliderFilterColorRedRange2");
166462
+ wt = document.getElementById("trackSliderFilterColorRedRange"), Ue = document.getElementById("buttonSliderFilterColorRedRange"), n2 = document.getElementById("buttonSliderFilterColorRedRange2");
166464
166463
  var lc = document.getElementById(
166465
166464
  "textBoxFor-colorRedRangeTextElement"
166466
166465
  ), cc = document.getElementById(
166467
166466
  "textBoxFor-colorRedRangeTextElement2"
166468
166467
  );
166469
- xs && St && Ue && n2 && lc && cc && (Gy = xs.style, st = St.style, ft = Ue.style, aM = n2.style, WC = lc.style, QC = cc.style, Gy && st && ft && aM && WC && QC && (Gy.width = fn + "px", Gy.height = qt + "px", Gy.left = ur + "px", Gy.top = Cn - di + "px", Gy.visibility = "visible", l.Utils.setTextNodeStyle(
166468
+ xs && wt && Ue && n2 && lc && cc && (Gy = xs.style, st = wt.style, ft = Ue.style, aM = n2.style, WC = lc.style, QC = cc.style, Gy && st && ft && aM && WC && QC && (Gy.width = fn + "px", Gy.height = qt + "px", Gy.left = ur + "px", Gy.top = Cn - di + "px", Gy.visibility = "visible", l.Utils.setTextNodeStyle(
166470
166469
  xs,
166471
166470
  "black",
166472
166471
  "verdana",
@@ -166479,7 +166478,7 @@ l.ZoomifyToolbar = function(t) {
166479
166478
  "1em",
166480
166479
  "left",
166481
166480
  "none"
166482
- ), st.display = "inline-block", ft.display = "inline-block", l.Utils.graphicSize(St, Wt, Jn), st.left = ur + fn + 3 + "px", st.top = Cn + "px", l.Utils.buttonSize(Ue, mr, Hn), ft.left = parseFloat(st.left) + "px", ft.top = Cn - 4 + "px", l.Utils.buttonSize(n2, mr, Hn), aM.left = parseFloat(st.left) + 50 + "px", aM.top = Cn - 4 + "px", WC.width = Dr + "px", WC.height = Kr + "px", WC.left = ur + fn + 3 + On + "px", WC.top = Cn - 6 + "px", l.Utils.setTextAreaStyle(
166481
+ ), st.display = "inline-block", ft.display = "inline-block", l.Utils.graphicSize(wt, Wt, Jn), st.left = ur + fn + 3 + "px", st.top = Cn + "px", l.Utils.buttonSize(Ue, mr, Hn), ft.left = parseFloat(st.left) + "px", ft.top = Cn - 4 + "px", l.Utils.buttonSize(n2, mr, Hn), aM.left = parseFloat(st.left) + 50 + "px", aM.top = Cn - 4 + "px", WC.width = Dr + "px", WC.height = Kr + "px", WC.left = ur + fn + 3 + On + "px", WC.top = Cn - 6 + "px", l.Utils.setTextAreaStyle(
166483
166482
  lc,
166484
166483
  "black",
166485
166484
  "verdana",
@@ -166507,7 +166506,7 @@ l.ZoomifyToolbar = function(t) {
166507
166506
  "center",
166508
166507
  "none",
166509
166508
  Pe + "px"
166510
- ), Cn += wt));
166509
+ ), Cn += St));
166511
166510
  var xc = document.getElementById("labelColorGreenRangeTextBox");
166512
166511
  it = document.getElementById("trackSliderFilterColorGreenRange"), Ct = document.getElementById("buttonSliderFilterColorGreenRange"), Ky = document.getElementById("buttonSliderFilterColorGreenRange2");
166513
166512
  var Cc = document.getElementById(
@@ -166556,7 +166555,7 @@ l.ZoomifyToolbar = function(t) {
166556
166555
  "center",
166557
166556
  "none",
166558
166557
  Pe + "px"
166559
- ), Cn += wt));
166558
+ ), Cn += St));
166560
166559
  var Cu = document.getElementById("labelColorBlueRangeTextBox");
166561
166560
  Lt = document.getElementById("trackSliderFilterColorBlueRange"), kt = document.getElementById("buttonSliderFilterColorBlueRange"), qy = document.getElementById("buttonSliderFilterColorBlueRange2");
166562
166561
  var qo = document.getElementById(
@@ -166605,7 +166604,7 @@ l.ZoomifyToolbar = function(t) {
166605
166604
  "center",
166606
166605
  "none",
166607
166606
  Pe + "px"
166608
- ), Cn += wt));
166607
+ ), Cn += St));
166609
166608
  var Jo = document.getElementById("labelGammaTextBox");
166610
166609
  Vt = document.getElementById("trackSliderFilterGamma"), hn = document.getElementById("buttonSliderFilterGamma");
166611
166610
  var Hs = document.getElementById("textBoxFor-gammaTextElement");
@@ -166636,7 +166635,7 @@ l.ZoomifyToolbar = function(t) {
166636
166635
  "center",
166637
166636
  "none",
166638
166637
  Pe + "px"
166639
- ), Cn += wt));
166638
+ ), Cn += St));
166640
166639
  var wc = document.getElementById("labelGammaRedTextBox");
166641
166640
  In = document.getElementById("trackSliderFilterGammaRed"), rn = document.getElementById("buttonSliderFilterGammaRed");
166642
166641
  var fd = document.getElementById("textBoxFor-gammaRedTextElement");
@@ -166667,7 +166666,7 @@ l.ZoomifyToolbar = function(t) {
166667
166666
  "center",
166668
166667
  "none",
166669
166668
  Pe + "px"
166670
- ), Cn += wt));
166669
+ ), Cn += St));
166671
166670
  var wu = document.getElementById("labelGammaGreenTextBox");
166672
166671
  Vn = document.getElementById("trackSliderFilterGammaGreen"), Un = document.getElementById("buttonSliderFilterGammaGreen");
166673
166672
  var Vu = document.getElementById("textBoxFor-gammaGreenTextElement");
@@ -166698,7 +166697,7 @@ l.ZoomifyToolbar = function(t) {
166698
166697
  "center",
166699
166698
  "none",
166700
166699
  Pe + "px"
166701
- ), Cn += wt));
166700
+ ), Cn += St));
166702
166701
  var $u = document.getElementById("labelGammaBlueTextBox");
166703
166702
  Qn = document.getElementById("trackSliderFilterGammaBlue"), kr = document.getElementById("buttonSliderFilterGammaBlue");
166704
166703
  var Pl = document.getElementById("textBoxFor-gammaBlueTextElement");
@@ -166729,7 +166728,7 @@ l.ZoomifyToolbar = function(t) {
166729
166728
  "center",
166730
166729
  "none",
166731
166730
  Pe + "px"
166732
- ), Cn += wt));
166731
+ ), Cn += St));
166733
166732
  var uc = document.getElementById("labelHueTextBox");
166734
166733
  cr = document.getElementById("trackSliderFilterHue"), Mt = document.getElementById("buttonSliderFilterHue");
166735
166734
  var hd = document.getElementById("textBoxFor-hueTextElement");
@@ -166760,7 +166759,7 @@ l.ZoomifyToolbar = function(t) {
166760
166759
  "center",
166761
166760
  "none",
166762
166761
  Pe + "px"
166763
- ), Cn += wt));
166762
+ ), Cn += St));
166764
166763
  var ml = document.getElementById("labelSaturationTextBox");
166765
166764
  Ft = document.getElementById("trackSliderFilterSaturation"), Gt = document.getElementById("buttonSliderFilterSaturation");
166766
166765
  var zu = document.getElementById("textBoxFor-saturationTextElement");
@@ -166791,7 +166790,7 @@ l.ZoomifyToolbar = function(t) {
166791
166790
  "center",
166792
166791
  "none",
166793
166792
  Pe + "px"
166794
- ), Cn += wt));
166793
+ ), Cn += St));
166795
166794
  var Sc = document.getElementById("labelLightnessTextBox");
166796
166795
  Yt = document.getElementById("trackSliderFilterLightness"), Ht = document.getElementById("buttonSliderFilterLightness");
166797
166796
  var Hu = document.getElementById("textBoxFor-lightnessTextElement");
@@ -166822,7 +166821,7 @@ l.ZoomifyToolbar = function(t) {
166822
166821
  "center",
166823
166822
  "none",
166824
166823
  Pe + "px"
166825
- ), Cn += wt));
166824
+ ), Cn += St));
166826
166825
  var ol = document.getElementById("labelWhiteBalanceTextBox");
166827
166826
  Jt = document.getElementById("trackSliderFilterWhiteBalance"), Pn = document.getElementById("buttonSliderFilterWhiteBalance");
166828
166827
  var Su = document.getElementById(
@@ -166855,7 +166854,7 @@ l.ZoomifyToolbar = function(t) {
166855
166854
  "center",
166856
166855
  "none",
166857
166856
  Pe + "px"
166858
- ), Cn += wt));
166857
+ ), Cn += St));
166859
166858
  var yl = document.getElementById("labelNormalizeTextBox");
166860
166859
  Mr = document.getElementById("trackSliderFilterNormalize"), on = document.getElementById("buttonSliderFilterNormalize");
166861
166860
  var js = document.getElementById("textBoxFor-normalizeTextElement");
@@ -166886,7 +166885,7 @@ l.ZoomifyToolbar = function(t) {
166886
166885
  "center",
166887
166886
  "none",
166888
166887
  Pe + "px"
166889
- ), Cn += wt));
166888
+ ), Cn += St));
166890
166889
  var Gs = document.getElementById("labelEqualizeTextBox");
166891
166890
  oM = document.getElementById("trackSliderFilterEqualize"), rM = document.getElementById("buttonSliderFilterEqualize");
166892
166891
  var Ts = document.getElementById("textBoxFor-equalizeTextElement");
@@ -166917,7 +166916,7 @@ l.ZoomifyToolbar = function(t) {
166917
166916
  "center",
166918
166917
  "none",
166919
166918
  Pe + "px"
166920
- ), Cn += wt));
166919
+ ), Cn += St));
166921
166920
  var yl = document.getElementById("labelNoiseTextBox");
166922
166921
  Mr = document.getElementById("trackSliderFilterNoise"), on = document.getElementById("buttonSliderFilterNoise");
166923
166922
  var js = document.getElementById("textBoxFor-noiseTextElement");
@@ -166948,12 +166947,12 @@ l.ZoomifyToolbar = function(t) {
166948
166947
  "center",
166949
166948
  "none",
166950
166949
  Pe + "px"
166951
- ), Cn += wt)), ur = ye + fn + Wt + 11 + hl / 2, Cn -= 5;
166950
+ ), Cn += St)), ur = ye + fn + Wt + 11 + hl / 2, Cn -= 5;
166952
166951
  var Mi = document.getElementById("buttonImageFilterMinus");
166953
166952
  if (Mi) {
166954
166953
  l.Utils.buttonSize(Mi, gt * 0.9, Bt * 0.9);
166955
- var xa = Mi.style;
166956
- xa.left = ur + "px", xa.top = Cn + "px", ur += gt + 3;
166954
+ var Sa = Mi.style;
166955
+ Sa.left = ur + "px", Sa.top = Cn + "px", ur += gt + 3;
166957
166956
  }
166958
166957
  var $c = document.getElementById("buttonImageFilterPlus");
166959
166958
  if ($c) {
@@ -166988,7 +166987,7 @@ l.ZoomifyToolbar = function(t) {
166988
166987
  "none"
166989
166988
  );
166990
166989
  var ec = ju.style;
166991
- ec.width = gt * 1.5 + "px", ec.height = Bt * 1.5 + "px", ec.left = ur + fn + 3 + "px", ec.top = Cn - di + "px", au.width = gt, au.height = Bt, Cn += wt;
166990
+ ec.width = gt * 1.5 + "px", ec.height = Bt * 1.5 + "px", ec.left = ur + fn + 3 + "px", ec.top = Cn - di + "px", au.width = gt, au.height = Bt, Cn += St;
166992
166991
  }
166993
166992
  var su = document.getElementById("labelThresholdTextBox"), hs = document.getElementById(
166994
166993
  "containerFor-checkboxFilterThreshold"
@@ -167010,7 +167009,7 @@ l.ZoomifyToolbar = function(t) {
167010
167009
  "none"
167011
167010
  );
167012
167011
  var X = hs.style;
167013
- X.width = gt * 1.5 + "px", X.height = Bt * 1.5 + "px", X.left = ur + fn + 3 + "px", X.top = Cn - di + "px", S.width = gt, S.height = Bt, Cn += wt;
167012
+ X.width = gt * 1.5 + "px", X.height = Bt * 1.5 + "px", X.left = ur + fn + 3 + "px", X.top = Cn - di + "px", S.width = gt, S.height = Bt, Cn += St;
167014
167013
  }
167015
167014
  var le = document.getElementById("labelInversionTextBox"), Ce = document.getElementById(
167016
167015
  "containerFor-checkboxFilterInversion"
@@ -167032,7 +167031,7 @@ l.ZoomifyToolbar = function(t) {
167032
167031
  "none"
167033
167032
  );
167034
167033
  var an = Ce.style;
167035
- an.width = gt * 1.5 + "px", an.height = Bt * 1.5 + "px", an.left = ur + fn + 3 + "px", an.top = Cn - di + "px", qe.width = gt, qe.height = Bt, Cn += wt;
167034
+ an.width = gt * 1.5 + "px", an.height = Bt * 1.5 + "px", an.left = ur + fn + 3 + "px", an.top = Cn - di + "px", qe.width = gt, qe.height = Bt, Cn += St;
167036
167035
  }
167037
167036
  var vn = document.getElementById("labelEqualizeTextBox"), rr = document.getElementById("containerFor-checkboxFilterEqualize"), Yr = document.getElementById("checkboxFilterEqualize");
167038
167037
  if (vn && rr && Yr) {
@@ -167052,7 +167051,7 @@ l.ZoomifyToolbar = function(t) {
167052
167051
  "none"
167053
167052
  );
167054
167053
  var qi = rr.style;
167055
- qi.width = gt * 1.5 + "px", qi.height = Bt * 1.5 + "px", qi.left = ur + fn + 3 + "px", qi.top = Cn - di + "px", Yr.width = gt, Yr.height = Bt, Cn += wt;
167054
+ qi.width = gt * 1.5 + "px", qi.height = Bt * 1.5 + "px", qi.left = ur + fn + 3 + "px", qi.top = Cn - di + "px", Yr.width = gt, Yr.height = Bt, Cn += St;
167056
167055
  }
167057
167056
  var as = document.getElementById("labelEdgesTextBox"), Qa = document.getElementById("containerFor-checkboxFilterEdges"), os = document.getElementById("checkboxFilterEdges");
167058
167057
  if (as && Qa && os) {
@@ -167072,7 +167071,7 @@ l.ZoomifyToolbar = function(t) {
167072
167071
  "none"
167073
167072
  );
167074
167073
  var Vl = Qa.style;
167075
- Vl.width = gt * 1.5 + "px", Vl.height = Bt * 1.5 + "px", Vl.left = ur + fn + 3 + "px", Vl.top = Cn - di + "px", os.width = gt, os.height = Bt, Cn += wt;
167074
+ Vl.width = gt * 1.5 + "px", Vl.height = Bt * 1.5 + "px", Vl.left = ur + fn + 3 + "px", Vl.top = Cn - di + "px", os.width = gt, os.height = Bt, Cn += St;
167076
167075
  }
167077
167076
  var bl = document.getElementById("labelSepiaTextBox"), _u = document.getElementById("containerFor-checkboxFilterSepia"), Ec = document.getElementById("checkboxFilterSepia");
167078
167077
  if (bl && _u && Ec) {
@@ -167115,7 +167114,7 @@ l.ZoomifyToolbar = function(t) {
167115
167114
  }
167116
167115
  var Is = document.getElementById("imageFilterStateDivider3");
167117
167116
  if (Is) {
167118
- l.Utils.graphicSize(Is, tn, wt);
167117
+ l.Utils.graphicSize(Is, tn, St);
167119
167118
  var Cs = Is.style;
167120
167119
  Cs.left = ur + "px", Cs.top = Cn + "px", ur += ei;
167121
167120
  }
@@ -167139,8 +167138,8 @@ l.ZoomifyToolbar = function(t) {
167139
167138
  var ce = document.getElementById("buttonContainer"), Be = document.getElementById("toolbarBackground"), ze = document.getElementById("buttonMinimize"), Pe = document.getElementById("buttonExpand"), gt = document.getElementById("logoDivider"), Bt = 0;
167140
167139
  if (Pe && !m && (Bt = parseFloat(Pe.style.left) + parseFloat(Pe.style.width) + 4), l.imageFilters)
167141
167140
  var $t = document.getElementById("imageFilterPanelBackground"), tn = document.getElementById("buttonContainerImageFilter");
167142
- var wt = l.toolbarCurrentW;
167143
- ye ? (ce && (ce.style.display = "none"), ze && Pe && !m && (gt && (gt.style.display = "none"), ze.style.display = "none", Pe.style.display = "inline-block"), a.width = Bt + "px", Be && (Be.style.width = Bt + "px"), $t && tn && ($t.style.width = "0px", tn.style.display = "none")) : (ce && (ce.style.display = "inline-block"), ze && Pe && !m && (gt && (gt.style.display = "inline-block"), ze.style.display = "inline-block", Pe.style.display = "none"), a.width = wt + "px", Be && (Be.style.width = wt + "px"), $t && tn && G && ($t.style.width = H + "px", tn.style.display = "inline-block"));
167141
+ var St = l.toolbarCurrentW;
167142
+ ye ? (ce && (ce.style.display = "none"), ze && Pe && !m && (gt && (gt.style.display = "none"), ze.style.display = "none", Pe.style.display = "inline-block"), a.width = Bt + "px", Be && (Be.style.width = Bt + "px"), $t && tn && ($t.style.width = "0px", tn.style.display = "none")) : (ce && (ce.style.display = "inline-block"), ze && Pe && !m && (gt && (gt.style.display = "inline-block"), ze.style.display = "inline-block", Pe.style.display = "none"), a.width = St + "px", Be && (Be.style.width = St + "px"), $t && tn && G && ($t.style.width = H + "px", tn.style.display = "inline-block"));
167144
167143
  }
167145
167144
  }
167146
167145
  this.syncSliderToViewportZoom = function(ye) {
@@ -167199,21 +167198,21 @@ l.ZoomifyToolbar = function(t) {
167199
167198
  Pe
167200
167199
  );
167201
167200
  if ($t != t.getImageFilterValuePrior(V)) {
167202
- var ti, tn, wt, Wt, Jn = ar !== null && Zr !== null;
167201
+ var ti, tn, St, Wt, Jn = ar !== null && Zr !== null;
167203
167202
  if (!Jn)
167204
- ti = $t, wt = ar, Wt = V;
167203
+ ti = $t, St = ar, Wt = V;
167205
167204
  else {
167206
167205
  var mr = parseFloat(ar.left) - ze, Hn = parseFloat(Zr.left) - ze, On = Math.abs(mr - Bt), ei = Math.abs(Hn - Bt);
167207
167206
  On < ei ? (ti = $t, tn = t.getImageFilterValuePrior(
167208
167207
  V + "2"
167209
- ), wt = ar, Wt = V) : (ti = t.getImageFilterValuePrior(V), tn = $t, wt = Zr, V.substring(
167208
+ ), St = ar, Wt = V) : (ti = t.getImageFilterValuePrior(V), tn = $t, St = Zr, V.substring(
167210
167209
  V.length - 1
167211
167210
  ) != "2" && (Wt = V + "2"));
167212
167211
  }
167213
167212
  e.syncImageFilterPanel(
167214
167213
  Wt,
167215
167214
  $t,
167216
- wt
167215
+ St
167217
167216
  ), t.setImageFilterValuePrior(Wt, $t), t.setImageFilter(
167218
167217
  Wt,
167219
167218
  ti,
@@ -167408,7 +167407,7 @@ l.ZoomifyToolbar = function(t) {
167408
167407
  } else {
167409
167408
  var gt = ye.substring(ye.length - 1) == "2", Bt = gt ? "2" : "", $t = gt ? ye.substring(0, ye.length - 1) : ye, tn = ye.indexOf("gamma") == -1 ? 0 : 1;
167410
167409
  e.setImageFilterSlider($t, tn);
167411
- var wt = $t + "TextElement" + Bt, Wt = document.getElementById(wt);
167410
+ var St = $t + "TextElement" + Bt, Wt = document.getElementById(St);
167412
167411
  Wt && (Wt.value = tn);
167413
167412
  }
167414
167413
  }, this.setImageFilterSlider = function(ye, ce, Be) {
@@ -167439,10 +167438,10 @@ l.ZoomifyToolbar = function(t) {
167439
167438
  break;
167440
167439
  }
167441
167440
  if (l.Toolbar.setFilterSliderReferences(ye), typeof Tn < "u" && typeof ar < "u") {
167442
- var Bt = parseFloat(Tn.left), $t = parseFloat(Tn.left) + parseFloat(Tn.width) - parseFloat(ar.width), tn = $t - Bt, wt = gt * tn + Bt;
167443
- wt < Bt && (wt = Bt), wt > $t && (wt = $t);
167441
+ var Bt = parseFloat(Tn.left), $t = parseFloat(Tn.left) + parseFloat(Tn.width) - parseFloat(ar.width), tn = $t - Bt, St = gt * tn + Bt;
167442
+ St < Bt && (St = Bt), St > $t && (St = $t);
167444
167443
  var Wt = Be || ar;
167445
- Wt.left = wt + "px";
167444
+ Wt.left = St + "px";
167446
167445
  }
167447
167446
  }
167448
167447
  }, this.setImageFilterText = function(ye, ce) {
@@ -167489,10 +167488,10 @@ l.ZoomifyToolbar = function(t) {
167489
167488
  Ye && (_n = Ye, Tn = Ye.style, Fn = ct, ar = ct.style);
167490
167489
  break;
167491
167490
  case "colorRedRange":
167492
- St && (_n = St, Tn = St.style, Fn = Ue, ar = Ue.style, Zr = n2.style);
167491
+ wt && (_n = wt, Tn = wt.style, Fn = Ue, ar = Ue.style, Zr = n2.style);
167493
167492
  break;
167494
167493
  case "colorRedRange2":
167495
- St && (_n = St, Tn = St.style, Fn = n2, ar = n2.style, Zr = Ue.style);
167494
+ wt && (_n = wt, Tn = wt.style, Fn = n2, ar = n2.style, Zr = Ue.style);
167496
167495
  break;
167497
167496
  case "colorGreenRange":
167498
167497
  it && (_n = it, Tn = it.style, Fn = Ct, ar = Ct.style, Zr = Ky.style);
@@ -168148,8 +168147,8 @@ l.ZoomifyToolbar = function(t) {
168148
168147
  l.Utils.setButtonDefaults(ze);
168149
168148
  else
168150
168149
  for (var gt = ze.childNodes, Bt = 0, $t = gt.length; Bt < $t; Bt++) {
168151
- var tn = gt[Bt], wt = tn.id;
168152
- wt && wt.indexOf("button") != -1 && l.Utils.setButtonDefaults(tn);
168150
+ var tn = gt[Bt], St = tn.id;
168151
+ St && St.indexOf("button") != -1 && l.Utils.setButtonDefaults(tn);
168153
168152
  }
168154
168153
  }
168155
168154
  }
@@ -168213,21 +168212,21 @@ l.ZoomifyToolbar = function(t) {
168213
168212
  Pe.options[Pe.options.length - 1].text == "  None" && Pe.options.remove(Pe.options.length - 1);
168214
168213
  var tn = "";
168215
168214
  typeof ce < "u" && ce !== null && (tn = l.Utils.roundToFixed(ce, 3).toString());
168216
- var wt = "";
168217
- if (typeof Be < "u" && Be !== null && (wt = "-" + l.Utils.roundToFixed(Be, 3).toString()), ze) {
168215
+ var St = "";
168216
+ if (typeof Be < "u" && Be !== null && (St = "-" + l.Utils.roundToFixed(Be, 3).toString()), ze) {
168218
168217
  var Wt = Pe.options[Bt].text, Jn = Wt.substring(
168219
168218
  0,
168220
168219
  Wt.indexOf(":  ") + 3
168221
168220
  );
168222
- Pe.options[Bt].text = Jn + tn + wt;
168221
+ Pe.options[Bt].text = Jn + tn + St;
168223
168222
  } else if (Pe.options[Pe.options.length - 1].text.toLowerCase().indexOf(ye.toLowerCase()) == -1)
168224
- Pe.options[Pe.options.length] = new Option($t, ye), l.Utils.stringValidate(tn) && (Pe.options[Pe.options.length - 1].text += ":  " + tn + wt);
168223
+ Pe.options[Pe.options.length] = new Option($t, ye), l.Utils.stringValidate(tn) && (Pe.options[Pe.options.length - 1].text += ":  " + tn + St);
168225
168224
  else {
168226
168225
  var Wt = Pe.options[Pe.options.length - 1].text, Jn = Wt.substring(
168227
168226
  0,
168228
168227
  Wt.indexOf(":  ") + 3
168229
168228
  );
168230
- Pe.options[Pe.options.length - 1].text = Jn + tn + wt;
168229
+ Pe.options[Pe.options.length - 1].text = Jn + tn + St;
168231
168230
  }
168232
168231
  }
168233
168232
  };
@@ -168245,8 +168244,8 @@ l.ZoomifyToolbar = function(t) {
168245
168244
  ), tn = gt.substring(
168246
168245
  gt.indexOf(":  ") + 3,
168247
168246
  gt.length
168248
- ), wt = parseFloat(tn) + parseFloat($t);
168249
- Be.options[ze - 1].text = Bt + wt.toString(), Be.options.remove(ze);
168247
+ ), St = parseFloat(tn) + parseFloat($t);
168248
+ Be.options[ze - 1].text = Bt + St.toString(), Be.options.remove(ze);
168250
168249
  }
168251
168250
  Be.options.length == 2 && (Be.options[Be.options.length] = new Option(
168252
168251
  "  None",
@@ -168731,11 +168730,11 @@ l.ZoomifyNavigator = function(t) {
168731
168730
  Se,
168732
168731
  Ze,
168733
168732
  -de
168734
- ), ut = Math.round(ct.x / He), St = Math.round(ct.y / Ne);
168733
+ ), ut = Math.round(ct.x / He), wt = Math.round(ct.y / Ne);
168735
168734
  if (Q)
168736
- t.zoomAndPanToView(ut, St, be, de);
168735
+ t.zoomAndPanToView(ut, wt, be, de);
168737
168736
  else {
168738
- var st = new l.Utils.Point(ut, St);
168737
+ var st = new l.Utils.Point(ut, wt);
168739
168738
  t.syncViewportToNavigator(st);
168740
168739
  }
168741
168740
  l.tracking && t.syncTrackingToViewport();
@@ -169035,8 +169034,8 @@ l.ZoomifyGallery = function(t) {
169035
169034
  !0
169036
169035
  );
169037
169036
  ut.appendChild(p[dt].image), ve = ut.firstChild;
169038
- var St = ve.width, st = ve.height;
169039
- l.GalleryScrollPanel.appendChild(ut), Gve = ut, Gve.style, ve.title = p[dt].name, ve.style, Se = Math.round(ue - at * 2), Ze = Se / st, Ne = Math.round(St * Ze), ve.width = Ne, ve.height = Se, ut.style.width = Ne + "px", ut.style.height = Se + "px", ut.style.left = Ye + "px", ut.style.top = at + "px", De += Ne + at, Ye += Ne + at, l.Utils.addEventListener(
169037
+ var wt = ve.width, st = ve.height;
169038
+ l.GalleryScrollPanel.appendChild(ut), Gve = ut, Gve.style, ve.title = p[dt].name, ve.style, Se = Math.round(ue - at * 2), Ze = Se / st, Ne = Math.round(wt * Ze), ve.width = Ne, ve.height = Se, ut.style.width = Ne + "px", ut.style.height = Se + "px", ut.style.left = Ye + "px", ut.style.top = at + "px", De += Ne + at, Ye += Ne + at, l.Utils.addEventListener(
169040
169039
  ut,
169041
169040
  "mouseup",
169042
169041
  ee
@@ -177363,7 +177362,7 @@ The buttons below display or modify important state values. Web designers new t
177363
177362
  "0px"
177364
177363
  );
177365
177364
  l.TraceDisplay.appendChild(ut.elmt), at += ue + Ye;
177366
- var st = this.getResource("UI_TRACEDISPLAYTOGGLEBACKFILLBUTTONTEXT"), St = new this.Button(
177365
+ var st = this.getResource("UI_TRACEDISPLAYTOGGLEBACKFILLBUTTONTEXT"), wt = new this.Button(
177367
177366
  "buttonToggleBackfill",
177368
177367
  st,
177369
177368
  null,
@@ -177383,7 +177382,7 @@ The buttons below display or modify important state values. Web designers new t
177383
177382
  "0px",
177384
177383
  "0px"
177385
177384
  );
177386
- l.TraceDisplay.appendChild(St.elmt), at += ue + Ye, ue += 12;
177385
+ l.TraceDisplay.appendChild(wt.elmt), at += ue + Ye, ue += 12;
177387
177386
  var st = this.getResource(
177388
177387
  "UI_TRACEDISPLAYTOGGLECONSTRAINPANBUTTONTEXT"
177389
177388
  ), Ue = new this.Button(
@@ -178242,7 +178241,7 @@ export {
178242
178241
  oo as O,
178243
178242
  Wgt as P,
178244
178243
  Yi as Q,
178245
- Ca as R,
178244
+ xa as R,
178246
178245
  ezt as S,
178247
178246
  Uwe as T,
178248
178247
  tv as U,