brainsmatics 1.0.31 → 1.0.33

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-39446a35.js"),t=require("./basedecoder-0503cc54.js");require("react");require("react-dom");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("./index-85bc1caa.js"),t=require("./basedecoder-0503cc54.js");require("react");require("react-dom");class d extends t.BaseDecoder{decodeBlock(e){return r.inflate_1(new Uint8Array(e)).buffer}}exports.default=d;
@@ -1,4 +1,4 @@
1
- import { i as r } from "./index-ba7e3ea7.mjs";
1
+ import { i as r } from "./index-009d7797.mjs";
2
2
  import { B as o } from "./basedecoder-11034ec6.mjs";
3
3
  import "react";
4
4
  import "react-dom";
@@ -115400,7 +115400,7 @@ const V7 = Qu((t, e) => {
115400
115400
  ), ht.title = Vn, ht.key = ht.name, ht["3D"] == !1 && (ht.disabled = !0), x || ke.includes(ht.name) ? ht.disableCheckbox = !0 : ht.disableCheckbox = !1, ht.children && (ht.children = Rt(ht.children)), ht;
115401
115401
  if (s == "swc") {
115402
115402
  if (dt || st)
115403
- return Oe.current && Oe.current.includes(_t) && jn("strain", ht) && jn("age", ht) && jn("weight", ht) && jn("gender", ht) && jn("injected_viruses", ht) && jn("imaging_system", ht) && jn("species", ht) ? (ht.title = ht.name, ht.key = ht.name, ht.color = ht.color ? ht.color : "green", !rn || ht.show ? ht : null) : null;
115403
+ return Oe.current && Oe.current.includes(_t) && jn("strain", ht) && jn("age", ht) && jn("weight", ht) && jn("gender", ht) && jn("injected_viruses", ht) && jn("imaging_system", ht) && jn("species", ht) ? (ht.title = ht.name, ht.key = ht.name, ht.color = ht.color ? ht.color : "#045404", !rn || ht.show ? ht : null) : null;
115404
115404
  } else {
115405
115405
  const fe = G && _t.toLowerCase().indexOf(G.toLowerCase()) !== -1;
115406
115406
  return Vn = N.createElement(
@@ -115409,7 +115409,7 @@ const V7 = Qu((t, e) => {
115409
115409
  N.createElement(
115410
115410
  "span",
115411
115411
  { style: { display: "flex", alignItems: "center" }, onClick: (nt) => nt.stopPropagation() },
115412
- ht.children && s == "swc" ? null : N.createElement(dL, { disabled: s == "swc", format: "rgb", defaultValue: s == "swc" ? "green" : ht.color, onChange: (nt, Ze) => Wn(nt, Ze, ht) }),
115412
+ ht.children && s == "swc" ? null : N.createElement(dL, { disabled: s == "swc", format: "rgb", defaultValue: s == "swc" ? "#045404" : ht.color, onChange: (nt, Ze) => Wn(nt, Ze, ht) }),
115413
115413
  N.createElement("div", { style: fe ? { color: "red" } : {} }, _t)
115414
115414
  )
115415
115415
  ), ht.title = Vn, ht.key = ht.name, ht.children && (ht.children = Rt(ht.children)), ht;
@@ -115436,7 +115436,7 @@ const V7 = Qu((t, e) => {
115436
115436
  title: "Color",
115437
115437
  dataIndex: "Picker",
115438
115438
  width: 50,
115439
- render: (st, dt) => (Mt[dt.name] && (dt.color = Mt[dt.name]), N.createElement(dL, { disabled: !dt.show, format: "rgb", defaultValue: dt.color ? dt.color : "green", onChange: (Vt, Rt) => Wn(Vt, Rt, dt) }))
115439
+ render: (st, dt) => (Mt[dt.name] && (dt.color = Mt[dt.name]), N.createElement(dL, { disabled: !dt.show, format: "rgb", defaultValue: dt.color ? dt.color : "#045404", onChange: (Vt, Rt) => Wn(Vt, Rt, dt) }))
115440
115440
  },
115441
115441
  {
115442
115442
  title: "Ana.",
@@ -115674,7 +115674,7 @@ const V7 = Qu((t, e) => {
115674
115674
  let Vn = new URL(window.location.href), Ne = new URLSearchParams(Vn.search);
115675
115675
  const fe = [...m, _t.name], nt = JSON.stringify(fe);
115676
115676
  Ne.set("neuronsChecked", nt), Vn.search = Ne.toString(), window.history.replaceState({}, "", Vn), ht && (ht.style.display = "block"), yn(_t.path, 6, _t.name, _t.color, function() {
115677
- Ls(_t.name, "green"), vr("");
115677
+ Ls(_t.name, "#045404"), vr("");
115678
115678
  });
115679
115679
  }
115680
115680
  else {
@@ -115692,7 +115692,7 @@ const V7 = Qu((t, e) => {
115692
115692
  let Wt = new URL(window.location.href), _t = new URLSearchParams(Wt.search);
115693
115693
  const vr = JSON.stringify(Y.current);
115694
115694
  _t.set("neuronsChecked", vr), Wt.search = _t.toString(), window.history.replaceState({}, "", Wt), yn(st.path, 6, st.name, st.color, function() {
115695
- Ls(st.name, "green"), ht && (ht.style.display = "none");
115695
+ Ls(st.name, "#045404"), ht && (ht.style.display = "none");
115696
115696
  });
115697
115697
  }
115698
115698
  else if (Rt)
@@ -115781,7 +115781,7 @@ const V7 = Qu((t, e) => {
115781
115781
  st && (st.style.display = "block");
115782
115782
  for (let Rt = 0; Rt < dt.length; Rt++) {
115783
115783
  let Ke = n.find((Qt) => Qt.name === dt[Rt]);
115784
- Ke && (Mt.current[dt[Rt]] ? Ke.color = Mt.current[dt[Rt]].replace("!", "#") : Ke.color = "green", yn(Ke.path, 6, Ke.name, Ke.color, function() {
115784
+ Ke && (Mt.current[dt[Rt]] ? Ke.color = Mt.current[dt[Rt]].replace("!", "#") : Ke.color = "#045404", yn(Ke.path, 6, Ke.name, Ke.color, function() {
115785
115785
  if (Ls(Ke.name, Ke.color), xse) {
115786
115786
  const Qt = JSON.parse(xse);
115787
115787
  for (let Dt = 0; Dt < Qt.length; Dt++)
@@ -119797,11 +119797,11 @@ $0(6, () => {
119797
119797
  throw new Error("old style JPEG compression is not supported.");
119798
119798
  });
119799
119799
  $0(7, () => import("./jpeg-335c778f.mjs").then((t) => t.default));
119800
- $0([8, 32946], () => import("./deflate-e918a370.mjs").then((t) => t.default));
119800
+ $0([8, 32946], () => import("./deflate-f3ea4179.mjs").then((t) => t.default));
119801
119801
  $0(32773, () => import("./packbits-8b95f4d7.mjs").then((t) => t.default));
119802
119802
  $0(
119803
119803
  34887,
119804
- () => import("./lerc-d8759313.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
119804
+ () => import("./lerc-be67d63e.mjs").then(async (t) => (await t.zstd.init(), t)).then((t) => t.default)
119805
119805
  );
119806
119806
  $0(50001, () => import("./webimage-affb95d1.mjs").then((t) => t.default));
119807
119807
  function zN(t, e, n, r = 1) {