@abi-software/mapintegratedvuer 0.7.0-vue3.8 → 0.7.0-vue3.9

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.
@@ -21402,7 +21402,7 @@ function o5t(e, t, r, n, i, a) {
21402
21402
  ]))), 128))
21403
21403
  ]);
21404
21404
  }
21405
- const jSe = /* @__PURE__ */ Tp(i5t, [["render", o5t], ["__scopeId", "data-v-e3aa8e1a"]]);
21405
+ const jSe = /* @__PURE__ */ Tp(i5t, [["render", o5t], ["__scopeId", "data-v-1160491b"]]);
21406
21406
  function s5t(e) {
21407
21407
  return { all: e = e || /* @__PURE__ */ new Map(), on: function(t, r) {
21408
21408
  var n = e.get(t);
@@ -21509,7 +21509,7 @@ const aH = new s5t(), l5t = (e) => e.replace(/\w\S*/g, (t) => t.charAt(0).toUppe
21509
21509
  this.pubmedSearchUrl = e;
21510
21510
  }
21511
21511
  }
21512
- }, uk = (e) => (Jl("data-v-822227e4"), e = e(), Yl(), e), d5t = {
21512
+ }, uk = (e) => (Jl("data-v-5464af49"), e = e(), Yl(), e), d5t = {
21513
21513
  key: 0,
21514
21514
  class: "main"
21515
21515
  }, h5t = {
@@ -21708,7 +21708,7 @@ function C5t(e, t, r, n, i, a) {
21708
21708
  [p, e.loading]
21709
21709
  ]) : st("", !0);
21710
21710
  }
21711
- const USe = /* @__PURE__ */ Tp(u5t, [["render", C5t], ["__scopeId", "data-v-822227e4"]]);
21711
+ const USe = /* @__PURE__ */ Tp(u5t, [["render", C5t], ["__scopeId", "data-v-5464af49"]]);
21712
21712
  var GSe = {}, ER = {}, qSe = { exports: {} };
21713
21713
  /*! js-cookie v3.0.5 | MIT */
21714
21714
  (function(e, t) {
@@ -22097,7 +22097,7 @@ const I5t = {
22097
22097
  e.name && e.email ? (this.authenticated = !0, this.updatePrevSubmissions()) : this.errorMessage = "";
22098
22098
  });
22099
22099
  }
22100
- }, fg = (e) => (Jl("data-v-18380efb"), e = e(), Yl(), e), P5t = { class: "block" }, V5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("span", { class: "title" }, "Feature Annotations", -1)), R5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", { class: "sub-title" }, "Previous submissions:", -1)), F5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Evidence: ", -1)), N5t = ["href"], D5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Comment: ", -1)), B5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", { class: "sub-title" }, "Suggest changes:", -1)), z5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Evidvence:", -1)), j5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Comment:", -1)), U5t = { class: "sub-title" };
22100
+ }, fg = (e) => (Jl("data-v-23ee0a25"), e = e(), Yl(), e), P5t = { class: "block" }, V5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("span", { class: "title" }, "Feature Annotations", -1)), R5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", { class: "sub-title" }, "Previous submissions:", -1)), F5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Evidence: ", -1)), N5t = ["href"], D5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Comment: ", -1)), B5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", { class: "sub-title" }, "Suggest changes:", -1)), z5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Evidvence:", -1)), j5t = /* @__PURE__ */ fg(() => /* @__PURE__ */ We("strong", null, "Comment:", -1)), U5t = { class: "sub-title" };
22101
22101
  function G5t(e, t, r, n, i, a) {
22102
22102
  const o = Gd, s = QR, l = G1, c = S8, u = ALe, d = yp, h = cS, p = AR, f = kb, m = LR, v = Od, g = VSe;
22103
22103
  return ie(), vt(g, { class: "main" }, {
@@ -22346,7 +22346,7 @@ function G5t(e, t, r, n, i, a) {
22346
22346
  _: 1
22347
22347
  });
22348
22348
  }
22349
- const WSe = /* @__PURE__ */ Tp(I5t, [["render", G5t], ["__scopeId", "data-v-18380efb"]]), q5t = {
22349
+ const WSe = /* @__PURE__ */ Tp(I5t, [["render", G5t], ["__scopeId", "data-v-23ee0a25"]]), q5t = {
22350
22350
  name: "Tooltip",
22351
22351
  components: {
22352
22352
  AnnotationTool: WSe,
@@ -22377,7 +22377,7 @@ function Z5t(e, t, r, n, i, a) {
22377
22377
  }, null, 8, ["entry"]))
22378
22378
  ]);
22379
22379
  }
22380
- const sre = /* @__PURE__ */ Tp(q5t, [["render", Z5t], ["__scopeId", "data-v-ab5392fa"]]), X5t = {
22380
+ const sre = /* @__PURE__ */ Tp(q5t, [["render", Z5t], ["__scopeId", "data-v-193cf123"]]), X5t = {
22381
22381
  name: "SelectionsGroup",
22382
22382
  components: {
22383
22383
  Checkbox: MR,
@@ -22549,7 +22549,7 @@ function tft(e, t, r, n, i, a) {
22549
22549
  }, 8, ["modelValue", "onChange"])
22550
22550
  ]);
22551
22551
  }
22552
- const ZSe = /* @__PURE__ */ Tp(X5t, [["render", tft], ["__scopeId", "data-v-4d3741da"]]), rft = {
22552
+ const ZSe = /* @__PURE__ */ Tp(X5t, [["render", tft], ["__scopeId", "data-v-9c4fff49"]]), rft = {
22553
22553
  name: "TreeControls",
22554
22554
  components: {
22555
22555
  Checkbox: MR,
@@ -22602,7 +22602,7 @@ const ZSe = /* @__PURE__ */ Tp(X5t, [["render", tft], ["__scopeId", "data-v-4d37
22602
22602
  return "colour" in e ? { background: e.colour } : {};
22603
22603
  }
22604
22604
  }
22605
- }, nft = (e) => (Jl("data-v-df242013"), e = e(), Yl(), e), ift = { class: "container" }, aft = /* @__PURE__ */ nft(() => /* @__PURE__ */ We("div", { class: "title-text" }, "Systems", -1)), oft = { class: "tree-container" }, sft = ["onClick", "onMouseover"];
22605
+ }, nft = (e) => (Jl("data-v-27e4d901"), e = e(), Yl(), e), ift = { class: "container" }, aft = /* @__PURE__ */ nft(() => /* @__PURE__ */ We("div", { class: "title-text" }, "Systems", -1)), oft = { class: "tree-container" }, sft = ["onClick", "onMouseover"];
22606
22606
  function lft(e, t, r, n, i, a) {
22607
22607
  const o = yp, s = Gd, l = zSe;
22608
22608
  return ie(), Oe("div", ift, [
@@ -22647,9 +22647,9 @@ function lft(e, t, r, n, i, a) {
22647
22647
  ])
22648
22648
  ]);
22649
22649
  }
22650
- const XSe = /* @__PURE__ */ Tp(rft, [["render", lft], ["__scopeId", "data-v-df242013"]]), cft = {
22650
+ const XSe = /* @__PURE__ */ Tp(rft, [["render", lft], ["__scopeId", "data-v-27e4d901"]]), cft = {
22651
22651
  name: "SvgLegends"
22652
- }, uft = (e) => (Jl("data-v-88079d87"), e = e(), Yl(), e), dft = { class: "legends-container" }, hft = {
22652
+ }, uft = (e) => (Jl("data-v-7a368b29"), e = e(), Yl(), e), dft = { class: "legends-container" }, hft = {
22653
22653
  version: "1.1",
22654
22654
  id: "Layer_1",
22655
22655
  x: "0px",
@@ -22658,7 +22658,7 @@ const XSe = /* @__PURE__ */ Tp(rft, [["render", lft], ["__scopeId", "data-v-df24
22658
22658
  style: { "enable-background": "new 0 0 500 500" },
22659
22659
  xmlns: "http://www.w3.org/2000/svg",
22660
22660
  "xmlns:bx": "https://boxy-svg.com"
22661
- }, pft = /* @__PURE__ */ ZXe('<defs data-v-88079d87><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-88079d87></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-88079d87></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-88079d87></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-88079d87></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-88079d87> Ganglionated nerve plexus </text>', 9), fft = [
22661
+ }, pft = /* @__PURE__ */ ZXe('<defs data-v-7a368b29><bx:grid height="30.447" width="32.516" x="0" y="0" data-v-7a368b29></bx:grid></defs><path class="st0 st0-translate" d="M61.3,103.8c-15.9,0-28.8-12.3-28.8-27.3c0-15,13-27.3,28.8-27.3s28.8,12.3,28.8,27.3 C90.1,91.5,77.2,103.8,61.3,103.8z" data-v-7a368b29></path><path class="st1" d="M40.3,356.1C29.5,345,29.8,328,41.5,317.5c11.7-10.5,29.6-9.9,40.7,1.1c11.1,11,10.5,28.1-1.2,38.5 C69.3,367.4,51.1,366.9,40.3,356.1z" data-v-7a368b29></path><path class="st2" d="M61.2,396.9c-5.3,9.3-15.3,15.1-26.1,15.1l-0.4,0.6c5.1,9,5.1,20,0,29l0.4,0.6c10.7,0,20.8,5.8,26.1,15.1 c5.3-9.3,15.3-15.1,26.1-15.1c-5.3-9.3-5.3-20.9,0-30.4C76.6,412.1,66.7,406.3,61.2,396.9z" data-v-7a368b29></path><text transform="matrix(0.9908 0 0 1 118.0161 171.7975)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Tissue region </text><path class="st6" d="M40.9,231.1c11.3-10.6,29.5-10.6,40.8,0c11.3,10.6,11.3,27.9,0,38.5c-11.3,10.6-29.5,10.6-40.8,0 C29.7,259,29.7,241.7,40.9,231.1z" data-v-7a368b29></path><text transform="matrix(0.9908 0 0 1 118.0161 257.675)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Brain nuclei </text><text transform="matrix(0.9908 0 0 1 118.0903 345.5266)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Ganglia </text><text transform="matrix(0.9908 0 0 1 118.0903 433.1613)" class="st3 st4 st5" style="white-space:pre;" data-v-7a368b29> Ganglionated nerve plexus </text>', 9), fft = [
22662
22662
  pft
22663
22663
  ], mft = /* @__PURE__ */ uft(() => /* @__PURE__ */ We("svg", {
22664
22664
  width: "72px",
@@ -22672,7 +22672,7 @@ function gft(e, t, r, n, i, a) {
22672
22672
  mft
22673
22673
  ]);
22674
22674
  }
22675
- const KSe = /* @__PURE__ */ Tp(cft, [["render", gft], ["__scopeId", "data-v-88079d87"]]), vft = '<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>', PC = function(e) {
22675
+ const KSe = /* @__PURE__ */ Tp(cft, [["render", gft], ["__scopeId", "data-v-7a368b29"]]), vft = '<div class="flatmap-marker"><svg display="block" height="41px" width="27px" viewBox="0 0 27 41"><g fill-rule="nonzero"><g transform="translate(3.0, 29.0)" fill="#000000"><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="10.5" ry="5.25002273"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="9.5" ry="4.77275007"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="8.5" ry="4.29549936"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="7.5" ry="3.81822308"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="6.5" ry="3.34094679"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="5.5" ry="2.86367051"></ellipse><ellipse opacity="0.04" cx="10.5" cy="5.80029008" rx="4.5" ry="2.38636864"></ellipse></g><g fill="#005974"><path d="M27,13.5 C27,19.074644 20.250001,27.000002 14.75,34.500002 C14.016665,35.500004 12.983335,35.500004 12.25,34.500002 C6.7499993,27.000002 0,19.222562 0,13.5 C0,6.0441559 6.0441559,0 13.5,0 C20.955844,0 27,6.0441559 27,13.5 Z"></path></g><g opacity="0.25" fill="#000000"><path d="M13.5,0 C6.0441559,0 0,6.0441559 0,13.5 C0,19.222562 6.7499993,27 12.25,34.5 C13,35.522727 14.016664,35.500004 14.75,34.5 C20.250001,27 27,19.074644 27,13.5 C27,6.0441559 20.955844,0 13.5,0 Z M13.5,1 C20.415404,1 26,6.584596 26,13.5 C26,15.898657 24.495584,19.181431 22.220703,22.738281 C19.945823,26.295132 16.705119,30.142167 13.943359,33.908203 C13.743445,34.180814 13.612715,34.322738 13.5,34.441406 C13.387285,34.322738 13.256555,34.180814 13.056641,33.908203 C10.284481,30.127985 7.4148684,26.314159 5.015625,22.773438 C2.6163816,19.232715 1,15.953538 1,13.5 C1,6.584596 6.584596,1 13.5,1 Z"></path></g><g transform="translate(6.0, 7.0)" fill="#FFFFFF"></g><g transform="translate(8.0, 8.0)"><circle fill="#000000" opacity="0.25" cx="5.5" cy="5.5" r="5.4999962"></circle><circle fill="#FFFFFF" cx="5.5" cy="5.5" r="5.4999962"></circle></g></g></svg></div>', PC = function(e) {
22676
22676
  return [...new Set(e.map((t) => JSON.stringify(t)))].map(
22677
22677
  (t) => JSON.parse(t)
22678
22678
  );
@@ -22896,7 +22896,7 @@ let yft = function() {
22896
22896
  return r.append("term", e), t + r.toString();
22897
22897
  };
22898
22898
  };
22899
- const Tft = '<svg width="195px" height="24px" viewBox="0 0 160 24" fill="yellow"><path d="M22.0748 3.25583C22.4141 2.42845 23.5859 2.42845 23.9252 3.25583L25.6493 7.45955C25.793 7.80979 26.1221 8.04889 26.4995 8.07727L31.0303 8.41798C31.922 8.48504 32.2841 9.59942 31.6021 10.1778L28.1369 13.1166C27.8482 13.3614 27.7225 13.7483 27.8122 14.1161L28.8882 18.5304C29.1 19.3992 28.152 20.0879 27.3912 19.618L23.5255 17.2305C23.2034 17.0316 22.7966 17.0316 22.4745 17.2305L18.60881 19.618C17.84796 20.0879 16.9 19.3992 17.1118 18.5304L18.18785 14.1161C18.2775 13.7483 18.1518 13.3614 17.86309 13.1166L14.3979 10.1778C13.71588 9.59942 14.07796 8.48504 14.96971 8.41798L19.50046 8.07727C19.87794 8.04889 20.20704 7.80979 20.35068 7.45955L22.0748 3.25583Z" stroke="#000000" stroke-width="2"/><text x="42" y="50%" dominant-baseline="middle" text-anchor="start" font-family="Asap, sans-serif" font-size="12" fill="#000000">Featured dataset marker</text></svg>';
22899
+ const Tft = '<svg width="195px" height="24px" viewBox="0 0 200 24" fill="yellow"><path d="M22.0748 3.25583C22.4141 2.42845 23.5859 2.42845 23.9252 3.25583L25.6493 7.45955C25.793 7.80979 26.1221 8.04889 26.4995 8.07727L31.0303 8.41798C31.922 8.48504 32.2841 9.59942 31.6021 10.1778L28.1369 13.1166C27.8482 13.3614 27.7225 13.7483 27.8122 14.1161L28.8882 18.5304C29.1 19.3992 28.152 20.0879 27.3912 19.618L23.5255 17.2305C23.2034 17.0316 22.7966 17.0316 22.4745 17.2305L18.60881 19.618C17.84796 20.0879 16.9 19.3992 17.1118 18.5304L18.18785 14.1161C18.2775 13.7483 18.1518 13.3614 17.86309 13.1166L14.3979 10.1778C13.71588 9.59942 14.07796 8.48504 14.96971 8.41798L19.50046 8.07727C19.87794 8.04889 20.20704 7.80979 20.35068 7.45955L22.0748 3.25583Z" stroke="#000000" stroke-width="2"/><text x="42" y="50%" dominant-baseline="middle" text-anchor="start" font-family="Asap, sans-serif" font-size="12" fill="#000000">Featured dataset marker</text></svg>';
22900
22900
  var YSe = { exports: {} };
22901
22901
  (function(e, t) {
22902
22902
  (function(r, n) {
@@ -79295,7 +79295,7 @@ const nAe = (e, t) => {
79295
79295
  mounted: function() {
79296
79296
  this.openMapRef = xi(this.$refs.openMapRef), this.backgroundIconRef = xi(this.$refs.backgroundIconRef), this.tooltipWait = [], this.tooltipWait.length = this.hoverVisibilities.length, this.mapManager = new rAe(this.flatmapAPI), this.flatmapQueries = new yft(), this.flatmapQueries.initialise(this.flatmapAPI), this.state ? this.setStateRequired && this.setState(this.state) : this.renderAtMounted && this.createFlatmap();
79297
79297
  }
79298
- }, h4 = (e) => (Jl("data-v-2520abe9"), e = e(), Yl(), e), Nwt = {
79298
+ }, h4 = (e) => (Jl("data-v-75254909"), e = e(), Yl(), e), Nwt = {
79299
79299
  class: "flatmap-container",
79300
79300
  ref: "flatmapContainer",
79301
79301
  "element-loading-text": "Loading...",
@@ -79874,7 +79874,7 @@ function oLt(e, t, r, n, i, a) {
79874
79874
  [E, e.loading]
79875
79875
  ]);
79876
79876
  }
79877
- const pne = /* @__PURE__ */ Tp(Fwt, [["render", oLt], ["__scopeId", "data-v-2520abe9"]]), Rde = {
79877
+ const pne = /* @__PURE__ */ Tp(Fwt, [["render", oLt], ["__scopeId", "data-v-75254909"]]), Rde = {
79878
79878
  "NCBITaxon:10114": "01fedbf9-d783-509c-a10c-827941ab13da",
79879
79879
  "NCBITaxon:9823": "a336ac04-24db-561f-a25f-1c994fe17410",
79880
79880
  "NCBITaxon:9606": "42ed6323-f645-5fbe-bada-9581819cf689",
@@ -80216,7 +80216,7 @@ const pne = /* @__PURE__ */ Tp(Fwt, [["render", oLt], ["__scopeId", "data-v-2520
80216
80216
  deep: !0
80217
80217
  }
80218
80218
  }
80219
- }, lLt = (e) => (Jl("data-v-40c0dbdb"), e = e(), Yl(), e), cLt = {
80219
+ }, lLt = (e) => (Jl("data-v-4a803829"), e = e(), Yl(), e), cLt = {
80220
80220
  class: "multi-container",
80221
80221
  ref: "multiContainer"
80222
80222
  }, uLt = {
@@ -80320,7 +80320,7 @@ function hLt(e, t, r, n, i, a) {
80320
80320
  ])), 128))
80321
80321
  ], 512);
80322
80322
  }
80323
- const pLt = /* @__PURE__ */ Tp(sLt, [["render", hLt], ["__scopeId", "data-v-40c0dbdb"]]), z_ = [
80323
+ const pLt = /* @__PURE__ */ Tp(sLt, [["render", hLt], ["__scopeId", "data-v-4a803829"]]), z_ = [
80324
80324
  {
80325
80325
  id: "ilxtr:neuron-type-keast-13",
80326
80326
  centrelines: [
@@ -81364,7 +81364,7 @@ const Fb = {
81364
81364
  } catch {
81365
81365
  a = void 0;
81366
81366
  }
81367
- this.settingsStore.updateFeaturedMarker({
81367
+ this.updateFeatureMarkers([n], void 0), this.settingsStore.updateFeaturedMarker({
81368
81368
  identifier: e,
81369
81369
  marker: n,
81370
81370
  doi: i,
@@ -81372,15 +81372,29 @@ const Fb = {
81372
81372
  });
81373
81373
  });
81374
81374
  },
81375
+ // Check if the old featured dataset api has any info
81376
+ oldFeaturedDatasetApiHasInfo: async function() {
81377
+ let t = await (await fetch(`${this.apiLocation}get_featured_datasets_identifiers`)).json();
81378
+ return !t.identifiers || t.identifiers.length == 0 ? !1 : t.identifiers;
81379
+ },
81380
+ // Check if the new featured dataset api has any info
81381
+ newFeaturedDatasetApiHasInfo: async function() {
81382
+ let t = await (await fetch(`${this.apiLocation}get_featured_dataset`)).json();
81383
+ return !t.datasets || t.datasets.length == 0 ? !1 : t.datasets.map((r) => r.id);
81384
+ },
81375
81385
  /**
81376
81386
  * Get a list of featured datasets to display.
81377
81387
  */
81378
- getFeaturedDatasets: function() {
81379
- const e = this;
81380
- fetch(`${this.apiLocation}get_featured_datasets_identifiers`).then((t) => t.json()).then((t) => {
81381
- this.settingsStore.updateFeatured(t.identifiers), t.identifiers.forEach((r) => {
81382
- e.getDatasetAnatomyInfo(r);
81383
- });
81388
+ getFeaturedDatasets: async function() {
81389
+ let e = [], t = await this.oldFeaturedDatasetApiHasInfo();
81390
+ if (t)
81391
+ e = t;
81392
+ else {
81393
+ let r = await this.newFeaturedDatasetApiHasInfo();
81394
+ r && (e = r);
81395
+ }
81396
+ this.settingsStore.updateFeatured(e), e.forEach((r) => {
81397
+ this.getDatasetAnatomyInfo(r);
81384
81398
  });
81385
81399
  },
81386
81400
  zoomToFeatures: function() {
@@ -81860,7 +81874,7 @@ function ILt(e, t, r, n, i, a) {
81860
81874
  onOpenMap: e.openMap
81861
81875
  }, null, 8, ["availableSpecies", "onFlatmapChanged", "onReady", "state", "initial", "helpMode", "showStarInLegend", "openMapOptions", "flatmapAPI", "sparcAPI", "onPanZoomCallback", "onOpenMap"]);
81862
81876
  }
81863
- const PLt = /* @__PURE__ */ ac(HLt, [["render", ILt], ["__scopeId", "data-v-51af652b"]]);
81877
+ const PLt = /* @__PURE__ */ ac(HLt, [["render", ILt], ["__scopeId", "data-v-1be5c6a6"]]);
81864
81878
  function VLt(e) {
81865
81879
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
81866
81880
  }