@abi-software/mapintegratedvuer 1.22.0 → 1.23.0

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,4 +1,4 @@
1
- import { $ as e, A as t, B as n, D as r, E as i, F as a, G as o, H as s, I as c, J as l, K as u, L as d, M as f, N as p, P as m, Q as h, R as g, S as _, T as v, U as y, V as b, W as x, X as S, Y as C, Z as w, _ as T, at as E, b as D, d as O, et as ee, f as k, g as A, h as j, it as te, j as ne, k as re, l as ie, m as ae, n as oe, nt as se, ot as ce, p as le, q as ue, r as de, rt as fe, t as pe, tt as me, u as he, v as ge, x as _e, y as ve, z as ye } from "./connectivities-Br3MpoAv.js";
1
+ import { $ as e, A as t, B as n, C as r, D as i, E as a, F as o, G as s, H as c, I as l, J as u, K as d, L as f, M as p, P as m, Q as h, R as g, T as _, U as v, V as y, W as b, X as x, Y as S, Z as C, _ as w, at as T, b as E, d as D, et as O, f as ee, g as k, h as A, it as j, j as te, k as ne, l as re, m as ie, n as ae, nt as oe, ot as se, p as ce, q as le, r as ue, rt as de, t as fe, tt as pe, u as me, v as he, w as ge, x as _e, y as ve, z as ye } from "./connectivities-DhBMlBSj.js";
2
2
  import { Comment as be, Fragment as M, Suspense as xe, Teleport as Se, Text as Ce, Transition as we, cloneVNode as Te, computed as N, createApp as Ee, createBlock as P, createCommentVNode as F, createElementBlock as I, createElementVNode as L, createSlots as De, createTextVNode as R, createVNode as z, defineAsyncComponent as Oe, defineComponent as B, getCurrentInstance as ke, getCurrentScope as Ae, guardReactiveProps as je, h as Me, hasInjectionContext as Ne, inject as V, isRef as Pe, isVNode as Fe, markRaw as Ie, mergeProps as Le, nextTick as H, normalizeClass as U, normalizeProps as Re, normalizeStyle as ze, onActivated as Be, onBeforeMount as Ve, onBeforeUnmount as He, onBeforeUpdate as Ue, onDeactivated as We, onMounted as Ge, onScopeDispose as Ke, onUnmounted as qe, onUpdated as Je, openBlock as W, provide as Ye, reactive as Xe, readonly as Ze, ref as G, render as Qe, renderList as $e, renderSlot as K, resolveComponent as et, resolveDirective as tt, resolveDynamicComponent as nt, shallowReactive as rt, shallowReadonly as it, shallowRef as at, toDisplayString as q, toHandlerKey as ot, toHandlers as st, toRaw as ct, toRef as lt, toRefs as ut, toValue as dt, unref as J, useAttrs as ft, useSlots as pt, vModelCheckbox as mt, vModelRadio as ht, vModelText as gt, vShow as _t, warn as vt, watch as Y, watchEffect as yt, withCtx as X, withDirectives as bt, withKeys as xt, withModifiers as St } from "vue";
3
3
  import { defineStore as Ct, mapStores as wt } from "pinia";
4
4
  //#region \0rolldown/runtime.js
@@ -3188,7 +3188,7 @@ var Mf = Symbol("emptyValuesContextKey"), Nf = "use-empty-values", Pf = [
3188
3188
  Object,
3189
3189
  Function
3190
3190
  ]), Wf = {
3191
- validating: w,
3191
+ validating: C,
3192
3192
  success: ye,
3193
3193
  error: n
3194
3194
  }, Gf = Kl({
@@ -4517,11 +4517,11 @@ var km = [
4517
4517
  [g.b("group")]: o.prepend || o.append,
4518
4518
  [g.m("prefix")]: o.prefix || r.prefixIcon,
4519
4519
  [g.m("suffix")]: o.suffix || r.suffixIcon || r.clearable || r.showPassword,
4520
- [g.bm("suffix", "password-clear")]: de.value && pe.value,
4520
+ [g.bm("suffix", "password-clear")]: fe.value && pe.value,
4521
4521
  [g.b("hidden")]: r.type === "hidden"
4522
4522
  },
4523
4523
  a.class
4524
- ]), c = N(() => [g.e("wrapper"), g.is("focus", j.value)]), l = Ql(), u = N(() => r.maxlength?.toString()), { form: d, formItem: f } = pp(), { inputId: p } = mp(r, { formItemContext: f }), m = dp(), h = fp(), g = vu("input"), _ = vu("textarea"), { t: v } = pu(), y = at(), b = at(), x = G(!1), S = G(!1), w = G(), T = G(), E = at(r.inputStyle), D = G(""), O, ee = G(), k = N(() => y.value || b.value), { wrapperRef: A, isFocused: j, handleFocus: te, handleBlur: ne } = Af(k, {
4524
+ ]), c = N(() => [g.e("wrapper"), g.is("focus", j.value)]), l = Ql(), u = N(() => r.maxlength?.toString()), { form: d, formItem: f } = pp(), { inputId: p } = mp(r, { formItemContext: f }), m = dp(), h = fp(), g = vu("input"), _ = vu("textarea"), { t: v } = pu(), y = at(), b = at(), x = G(!1), C = G(!1), w = G(), T = G(), E = at(r.inputStyle), D = G(""), O, ee = G(), k = N(() => y.value || b.value), { wrapperRef: A, isFocused: j, handleFocus: te, handleBlur: ne } = Af(k, {
4525
4525
  disabled: h,
4526
4526
  afterFocus() {
4527
4527
  r.showPassword && (O = k.value?.value);
@@ -4537,12 +4537,12 @@ var km = [
4537
4537
  afterBlur() {
4538
4538
  r.validateEvent && f?.validate?.("blur").catch(dn);
4539
4539
  }
4540
- }), re = N(() => d?.statusIcon ?? !1), ie = N(() => f?.validateState || ""), ae = N(() => ie.value && Wf[ie.value]), oe = N(() => S.value ? fe : C), se = N(() => [a.style]), ce = N(() => [
4540
+ }), re = N(() => d?.statusIcon ?? !1), ie = N(() => f?.validateState || ""), ae = N(() => ie.value && Wf[ie.value]), oe = N(() => C.value ? de : S), se = N(() => [a.style]), ce = N(() => [
4541
4541
  r.inputStyle,
4542
4542
  E.value,
4543
4543
  { resize: r.resize },
4544
4544
  ee.value ? { height: ee.value } : void 0
4545
- ]), le = N(() => ul(r.modelValue) ? "" : String(r.modelValue)), ue = N(() => r.clearable && !h.value && !r.readonly), de = N(() => ue.value && !!le.value && (j.value || x.value)), pe = N(() => r.showPassword && !h.value && !!le.value), me = N(() => r.showWordLimit && !!u.value && (r.type === "text" || r.type === "textarea") && !h.value && !r.readonly && !r.showPassword), he = N(() => r.countGraphemes && r.showWordLimit ? r.countGraphemes(le.value) : le.value.length), ge = N(() => v("el.input.characters", {
4545
+ ]), le = N(() => ul(r.modelValue) ? "" : String(r.modelValue)), ue = N(() => r.clearable && !h.value && !r.readonly), fe = N(() => ue.value && !!le.value && (j.value || x.value)), pe = N(() => r.showPassword && !h.value && !!le.value), me = N(() => r.showWordLimit && !!u.value && (r.type === "text" || r.type === "textarea") && !h.value && !r.readonly && !r.showPassword), he = N(() => r.countGraphemes && r.showWordLimit ? r.countGraphemes(le.value) : le.value.length), ge = N(() => v("el.input.characters", {
4546
4546
  count: he.value,
4547
4547
  max: u.value ?? ""
4548
4548
  })), _e = N(() => !!me.value && he.value > Number(u.value)), ve = N(() => !!o.suffix || !!r.suffixIcon || r.clearable || r.showPassword || me.value || !!ie.value && re.value), ye = N(() => !!Object.keys(r.modelModifiers).length), [be, xe] = Hee(y), Se;
@@ -4636,7 +4636,7 @@ var km = [
4636
4636
  emit: i,
4637
4637
  afterComposition: De
4638
4638
  }), Ae = () => {
4639
- S.value = !S.value;
4639
+ C.value = !C.value;
4640
4640
  }, je = () => k.value?.focus(), Me = () => k.value?.blur(), Ne = (e) => {
4641
4641
  x.value = !1, i("mouseleave", e);
4642
4642
  }, V = (e) => {
@@ -4671,7 +4671,7 @@ var km = [
4671
4671
  textareaStyle: ce,
4672
4672
  autosize: lt(r, "autosize"),
4673
4673
  isComposing: z,
4674
- passwordVisible: S,
4674
+ passwordVisible: C,
4675
4675
  focus: je,
4676
4676
  blur: Me,
4677
4677
  select: Fe,
@@ -4721,7 +4721,7 @@ var km = [
4721
4721
  onChange: R,
4722
4722
  onKeydown: Pe
4723
4723
  }), null, 16, jm),
4724
- de.value ? (W(), P(J(Kf), {
4724
+ fe.value ? (W(), P(J(Kf), {
4725
4725
  key: 0,
4726
4726
  class: U([J(_).e("icon"), J(_).e("clear")]),
4727
4727
  style: ze(T.value),
@@ -4773,7 +4773,7 @@ var km = [
4773
4773
  name: e.name,
4774
4774
  minlength: e.countGraphemes ? void 0 : e.minlength,
4775
4775
  maxlength: e.countGraphemes ? void 0 : u.value,
4776
- type: e.showPassword ? S.value ? "text" : "password" : e.type,
4776
+ type: e.showPassword ? C.value ? "text" : "password" : e.type,
4777
4777
  disabled: J(h),
4778
4778
  readonly: e.readonly,
4779
4779
  autocomplete: e.autocomplete,
@@ -4800,7 +4800,7 @@ var km = [
4800
4800
  ue.value ? (W(), P(J(Kf), {
4801
4801
  key: 0,
4802
4802
  class: U([J(g).e("icon"), J(g).e("clear")]),
4803
- style: ze({ visibility: de.value ? "visible" : "hidden" }),
4803
+ style: ze({ visibility: fe.value ? "visible" : "hidden" }),
4804
4804
  onMousedown: St(J(dn), ["prevent"]),
4805
4805
  onClick: Ie
4806
4806
  }, {
@@ -4811,7 +4811,7 @@ var km = [
4811
4811
  "style",
4812
4812
  "onMousedown"
4813
4813
  ])) : F("v-if", !0),
4814
- !de.value || !pe.value || !me.value ? (W(), I(M, { key: 1 }, [K(t.$slots, "suffix"), e.suffixIcon ? (W(), P(J(Kf), {
4814
+ !fe.value || !pe.value || !me.value ? (W(), I(M, { key: 1 }, [K(t.$slots, "suffix"), e.suffixIcon ? (W(), P(J(Kf), {
4815
4815
  key: 0,
4816
4816
  class: U(J(g).e("icon"))
4817
4817
  }, {
@@ -4825,7 +4825,7 @@ var km = [
4825
4825
  onMousedown: St(J(dn), ["prevent"]),
4826
4826
  onMouseup: St(J(dn), ["prevent"])
4827
4827
  }, {
4828
- default: X(() => [K(t.$slots, "password-icon", { visible: S.value }, () => [(W(), P(nt(oe.value)))])]),
4828
+ default: X(() => [K(t.$slots, "password-icon", { visible: C.value }, () => [(W(), P(nt(oe.value)))])]),
4829
4829
  _: 3
4830
4830
  }, 8, [
4831
4831
  "class",
@@ -5290,8 +5290,8 @@ var Wm = Kl({
5290
5290
  let r = e, i = n, a = N(() => {
5291
5291
  let e = Pm.props ?? [];
5292
5292
  return Sl(r, mn(e) ? e : Object.keys(e));
5293
- }), o = ft(), s = fp(), c = vu("autocomplete"), l = G(), u = G(), d = G(), f = G(), p = !1, m = !1, h = G([]), g = G(-1), _ = G(""), v = G(!1), y = G(!1), b = G(!1), x = gf(), S = N(() => o.style), C = N(() => (h.value.length > 0 || b.value) && v.value), T = N(() => !r.hideLoading && b.value), E = N(() => l.value ? Array.from(l.value.$el.querySelectorAll("input")) : []), D = () => {
5294
- C.value && (_.value = `${l.value.$el.offsetWidth}px`);
5293
+ }), o = ft(), s = fp(), c = vu("autocomplete"), l = G(), u = G(), d = G(), f = G(), p = !1, m = !1, h = G([]), g = G(-1), _ = G(""), v = G(!1), y = G(!1), b = G(!1), x = gf(), S = N(() => o.style), w = N(() => (h.value.length > 0 || b.value) && v.value), T = N(() => !r.hideLoading && b.value), E = N(() => l.value ? Array.from(l.value.$el.querySelectorAll("input")) : []), D = () => {
5294
+ w.value && (_.value = `${l.value.$el.offsetWidth}px`);
5295
5295
  }, O = () => {
5296
5296
  g.value = -1;
5297
5297
  }, ee = async (e) => {
@@ -5333,9 +5333,9 @@ var Wm = Kl({
5333
5333
  }, ie = () => {
5334
5334
  v.value = !1, i(Ft, ""), i("clear");
5335
5335
  }, ae = async () => {
5336
- l.value?.isComposing || (C.value && g.value >= 0 && g.value < h.value.length ? ue(h.value[g.value]) : (r.selectWhenUnmatched && (i("select", { value: r.modelValue }), h.value = [], g.value = -1), v.value = !0, k(String(r.modelValue))));
5336
+ l.value?.isComposing || (w.value && g.value >= 0 && g.value < h.value.length ? ue(h.value[g.value]) : (r.selectWhenUnmatched && (i("select", { value: r.modelValue }), h.value = [], g.value = -1), v.value = !0, k(String(r.modelValue))));
5337
5337
  }, oe = (e) => {
5338
- C.value && (e.preventDefault(), e.stopPropagation(), se());
5338
+ w.value && (e.preventDefault(), e.stopPropagation(), se());
5339
5339
  }, se = () => {
5340
5340
  v.value = !1;
5341
5341
  }, ce = () => {
@@ -5345,7 +5345,7 @@ var Wm = Kl({
5345
5345
  }, ue = async (e) => {
5346
5346
  i(Lt, e[r.valueKey]), i(Ft, e[r.valueKey]), i("select", e), h.value = [], g.value = -1;
5347
5347
  }, de = (e) => {
5348
- if (!C.value || b.value) return;
5348
+ if (!w.value || b.value) return;
5349
5349
  if (e < 0) {
5350
5350
  if (!r.loopNavigation) {
5351
5351
  g.value = -1;
@@ -5362,7 +5362,7 @@ var Wm = Kl({
5362
5362
  }, pe = rn(f, (e) => {
5363
5363
  if (d.value?.isFocusInsideContent()) return;
5364
5364
  let t = m;
5365
- m = !1, C.value && (t ? re(new FocusEvent("blur", e)) : se());
5365
+ m = !1, w.value && (t ? re(new FocusEvent("blur", e)) : se());
5366
5366
  }), me = (e) => {
5367
5367
  switch (zl(e)) {
5368
5368
  case Pt.up:
@@ -5432,7 +5432,7 @@ var Wm = Kl({
5432
5432
  }), (t, n) => (W(), P(J(ym), {
5433
5433
  ref_key: "popperRef",
5434
5434
  ref: d,
5435
- visible: C.value,
5435
+ visible: w.value,
5436
5436
  placement: e.placement,
5437
5437
  "fallback-placements": ["bottom-start", "top-start"],
5438
5438
  "popper-class": [J(c).e("popper"), e.popperClass],
@@ -5475,7 +5475,7 @@ var Wm = Kl({
5475
5475
  role: "listbox"
5476
5476
  }, {
5477
5477
  default: X(() => [T.value ? (W(), I("li", Qm, [K(t.$slots, "loading", {}, () => [z(J(Kf), { class: U(J(c).is("loading")) }, {
5478
- default: X(() => [z(J(w))]),
5478
+ default: X(() => [z(J(C))]),
5479
5479
  _: 1
5480
5480
  }, 8, ["class"])])])) : (W(!0), I(M, { key: 1 }, $e(h.value, (n, r) => (W(), I("li", {
5481
5481
  id: `${J(x)}-item-${r}`,
@@ -5504,7 +5504,7 @@ var Wm = Kl({
5504
5504
  style: ze(S.value),
5505
5505
  role: "combobox",
5506
5506
  "aria-haspopup": "listbox",
5507
- "aria-expanded": C.value,
5507
+ "aria-expanded": w.value,
5508
5508
  "aria-owns": J(x)
5509
5509
  }, [z(J(Pm), Le({
5510
5510
  ref_key: "inputRef",
@@ -5587,7 +5587,7 @@ var Wm = Kl({
5587
5587
  loading: Boolean,
5588
5588
  loadingIcon: {
5589
5589
  type: Uf,
5590
- default: () => w
5590
+ default: () => C
5591
5591
  },
5592
5592
  plain: {
5593
5593
  type: Boolean,
@@ -6531,7 +6531,7 @@ var Jh = Kl({
6531
6531
  props: Jh,
6532
6532
  emits: Yh,
6533
6533
  setup(e, { emit: t }) {
6534
- let n = e, r = t, i = dp(), { t: a } = pu(), o = vu("tag"), c = N(() => {
6534
+ let n = e, r = t, i = dp(), { t: a } = pu(), o = vu("tag"), s = N(() => {
6535
6535
  let { type: e, hit: t, effect: r, closable: a, round: s } = n;
6536
6536
  return [
6537
6537
  o.b(),
@@ -6551,7 +6551,7 @@ var Jh = Kl({
6551
6551
  };
6552
6552
  return (t, n) => e.disableTransitions ? (W(), I("span", {
6553
6553
  key: 0,
6554
- class: U(c.value),
6554
+ class: U(s.value),
6555
6555
  style: ze({ backgroundColor: e.color }),
6556
6556
  onClick: u
6557
6557
  }, [L("span", { class: U(J(o).e("content")) }, [K(t.$slots, "default")], 2), e.closable ? (W(), I("button", {
@@ -6561,7 +6561,7 @@ var Jh = Kl({
6561
6561
  type: "button",
6562
6562
  onClick: St(l, ["stop"])
6563
6563
  }, [z(J(Kf), null, {
6564
- default: X(() => [z(J(s))]),
6564
+ default: X(() => [z(J(c))]),
6565
6565
  _: 1
6566
6566
  })], 10, Xh)) : F("v-if", !0)], 6)) : (W(), P(we, {
6567
6567
  key: 1,
@@ -6570,7 +6570,7 @@ var Jh = Kl({
6570
6570
  onVnodeMounted: d
6571
6571
  }, {
6572
6572
  default: X(() => [L("span", {
6573
- class: U(c.value),
6573
+ class: U(s.value),
6574
6574
  style: ze({ backgroundColor: e.color }),
6575
6575
  onClick: u
6576
6576
  }, [L("span", { class: U(J(o).e("content")) }, [K(t.$slots, "default")], 2), e.closable ? (W(), I("button", {
@@ -6580,7 +6580,7 @@ var Jh = Kl({
6580
6580
  type: "button",
6581
6581
  onClick: St(l, ["stop"])
6582
6582
  }, [z(J(Kf), null, {
6583
- default: X(() => [z(J(s))]),
6583
+ default: X(() => [z(J(c))]),
6584
6584
  _: 1
6585
6585
  })], 10, Zh)) : F("v-if", !0)], 6)]),
6586
6586
  _: 3
@@ -8627,7 +8627,7 @@ var Jg = Kl({
8627
8627
  },
8628
8628
  icon: {
8629
8629
  type: Uf,
8630
- default: c
8630
+ default: l
8631
8631
  },
8632
8632
  disabled: Boolean
8633
8633
  }), S_ = Bf(/* @__PURE__ */ B({
@@ -11755,8 +11755,9 @@ var Vy = /* @__PURE__ */ jt(((e) => {
11755
11755
  return e = e.replaceAll("\\", "/"), e = e.replaceAll("\\\\", "/"), e;
11756
11756
  }, $y = {
11757
11757
  name: "contextCard",
11758
- components: { CopyToClipboard: r },
11758
+ components: { CopyToClipboard: ge },
11759
11759
  mixins: [ly],
11760
+ inject: { crossorigin: { default: "anonymous" } },
11760
11761
  props: {
11761
11762
  entry: Object,
11762
11763
  envVars: Object
@@ -11790,7 +11791,7 @@ var Vy = /* @__PURE__ */ jt(((e) => {
11790
11791
  }
11791
11792
  },
11792
11793
  computed: {
11793
- ...wt(ge),
11794
+ ...wt(he),
11794
11795
  flatmapAPI: function() {
11795
11796
  return this.settingsStore.flatmapAPI;
11796
11797
  },
@@ -11815,7 +11816,7 @@ var Vy = /* @__PURE__ */ jt(((e) => {
11815
11816
  resource: e.flatmapUUID,
11816
11817
  label: this.contextData.heading
11817
11818
  };
11818
- D.emit("CreateNewEntry", t);
11819
+ E.emit("CreateNewEntry", t);
11819
11820
  },
11820
11821
  updateCopyContent: function() {
11821
11822
  let e = [];
@@ -11961,19 +11962,19 @@ var Vy = /* @__PURE__ */ jt(((e) => {
11961
11962
  }, tb = {
11962
11963
  key: 0,
11963
11964
  class: "context-card"
11964
- }, nb = { class: "card-left" }, rb = ["src"], ib = { class: "card-right scrollbar" }, ab = { class: "title" }, ob = ["innerHTML"], sb = { class: "card-bottom" }, cb = { class: "source-data-list" }, lb = ["href"], ub = {
11965
+ }, nb = { class: "card-left" }, rb = ["crossorigin", "src"], ib = { class: "card-right scrollbar" }, ab = { class: "title" }, ob = ["innerHTML"], sb = { class: "card-bottom" }, cb = { class: "source-data-list" }, lb = ["href"], ub = {
11965
11966
  key: 0,
11966
11967
  class: "flatmap-entry"
11967
11968
  }, db = { class: "source-data-list" }, fb = ["onClick"], pb = {
11968
11969
  key: 0,
11969
11970
  class: "subtitle"
11970
- }, mb = ["onClick"], hb = ["src"], gb = { class: "view-description" }, _b = {
11971
+ }, mb = ["onClick"], hb = ["crossorigin", "src"], gb = { class: "view-description" }, _b = {
11971
11972
  key: 1,
11972
11973
  class: "subtitle"
11973
- }, vb = ["onClick"], yb = ["src"], bb = ["innerHTML"], xb = ["href"], Sb = {
11974
+ }, vb = ["onClick"], yb = ["crossorigin", "src"], bb = ["innerHTML"], xb = ["href"], Sb = {
11974
11975
  key: 0,
11975
11976
  class: "subtitle"
11976
- }, Cb = ["onClick"], wb = ["src"], Tb = { class: "view-description" }, Eb = ["innerHTML"], Db = ["href"], Ob = {
11977
+ }, Cb = ["onClick"], wb = ["crossorigin", "src"], Tb = { class: "view-description" }, Eb = ["innerHTML"], Db = ["href"], Ob = {
11977
11978
  key: 2,
11978
11979
  class: "padding"
11979
11980
  }, kb = { class: "float-button-container" };
@@ -11981,6 +11982,7 @@ function Ab(e, t, n, r, i, a) {
11981
11982
  let o = N_, s = M_, c = et("CopyToClipboard"), l = cy;
11982
11983
  return W(), I("div", eb, [bt(L("div", null, [e.showDetails && Object.keys(e.contextData).length !== 0 ? bt((W(), I("div", tb, [
11983
11984
  L("div", nb, [L("img", {
11985
+ crossorigin: a.crossorigin,
11984
11986
  src: a.banner,
11985
11987
  class: "context-image"
11986
11988
  }, null, 8, rb)]),
@@ -12010,6 +12012,7 @@ function Ab(e, t, n, r, i, a) {
12010
12012
  onClick: (e) => a.viewClicked(n, r),
12011
12013
  class: "context-card-view"
12012
12014
  }, [L("img", {
12015
+ crossorigin: a.crossorigin,
12013
12016
  class: "view-image",
12014
12017
  src: a.getFileFromPath(n.thumbnail)
12015
12018
  }, null, 8, wb), L("div", Tb, [R(q(n.description) + " ", 1), t[6] ||= L("i", { class: "el-icon-warning-outline info" }, null, -1)])], 8, Cb),
@@ -12030,6 +12033,7 @@ function Ab(e, t, n, r, i, a) {
12030
12033
  onClick: (t) => a.openViewFile(e),
12031
12034
  class: "context-card-view"
12032
12035
  }, [L("img", {
12036
+ crossorigin: a.crossorigin,
12033
12037
  class: "view-image",
12034
12038
  src: a.getFileFromPath(e.thumbnail)
12035
12039
  }, null, 8, hb), L("div", gb, q(e.description), 1)], 8, mb), t[2] ||= L("div", { class: "padding" }, null, -1)], 64))), 128)),
@@ -12049,6 +12053,7 @@ function Ab(e, t, n, r, i, a) {
12049
12053
  style: ze("background-color:" + n.color)
12050
12054
  }, null, 4)) : n.thumbnail ? (W(), I("img", {
12051
12055
  key: 1,
12056
+ crossorigin: a.crossorigin,
12052
12057
  class: "key-image",
12053
12058
  src: a.getFileFromPath(n.thumbnail)
12054
12059
  }, null, 8, yb)) : F("", !0),
@@ -12074,9 +12079,9 @@ function Ab(e, t, n, r, i, a) {
12074
12079
  theme: "light"
12075
12080
  }, null, 8, ["content", "onCopied"])])], 512), [[_t, e.showContextCard]])], 512);
12076
12081
  }
12077
- var jb = /*#__PURE__*/ T($y, [["render", Ab], ["__scopeId", "data-v-69b90d52"]]), Mb = {
12082
+ var jb = /*#__PURE__*/ w($y, [["render", Ab], ["__scopeId", "data-v-3bb42edc"]]), Mb = {
12078
12083
  name: "FlatmapContextCard",
12079
- components: { CopyToClipboard: r },
12084
+ components: { CopyToClipboard: ge },
12080
12085
  props: { mapImpProv: Object },
12081
12086
  data: function() {
12082
12087
  return {
@@ -12167,7 +12172,7 @@ function Rb(e, t, n, r, i, a) {
12167
12172
  theme: "light"
12168
12173
  }, null, 8, ["content", "onCopied"])])])), [[s, e.loading]]);
12169
12174
  }
12170
- var zb = /*#__PURE__*/ T(Mb, [["render", Rb], ["__scopeId", "data-v-cd1bf33a"]]), Bb = (e, t) => {
12175
+ var zb = /*#__PURE__*/ w(Mb, [["render", Rb], ["__scopeId", "data-v-cd1bf33a"]]), Bb = (e, t) => {
12171
12176
  let n = e.__vccOpts || e;
12172
12177
  for (let [e, r] of t) n[e] = r;
12173
12178
  return n;
@@ -12305,7 +12310,7 @@ var Px = /*#__PURE__*/ Bb(jx, [["render", Nx]]), Fx = {
12305
12310
  name: "ContentBar",
12306
12311
  components: {
12307
12312
  ElIconArrowDown: m,
12308
- ElIconArrowUp: d,
12313
+ ElIconArrowUp: f,
12309
12314
  ContextCard: jb,
12310
12315
  FlatmapContextCard: zb,
12311
12316
  MapSvgIcon: Hb
@@ -12321,7 +12326,7 @@ var Px = /*#__PURE__*/ Bb(jx, [["render", Nx]]), Fx = {
12321
12326
  };
12322
12327
  },
12323
12328
  computed: {
12324
- ...wt(de, ge, oe),
12329
+ ...wt(ue, he, ae),
12325
12330
  allClosable() {
12326
12331
  return this.settingsStore.allClosable;
12327
12332
  },
@@ -12382,7 +12387,7 @@ var Px = /*#__PURE__*/ Bb(jx, [["render", Nx]]), Fx = {
12382
12387
  this.splitFlowStore.closeSlot({
12383
12388
  id: this.entry.id,
12384
12389
  entries: this.entries
12385
- }), D.emit("RemoveEntryRequest", this.entry.id), this.$nextTick(() => {
12390
+ }), E.emit("RemoveEntryRequest", this.entry.id), this.$nextTick(() => {
12386
12391
  this.splitFlowStore.updateSplitPanels();
12387
12392
  });
12388
12393
  },
@@ -12418,8 +12423,8 @@ var Px = /*#__PURE__*/ Bb(jx, [["render", Nx]]), Fx = {
12418
12423
  type: "Search",
12419
12424
  term: this.entry.doi.replace("https://doi.org/", "")
12420
12425
  };
12421
- D.emit("PopoverActionClick", e);
12422
- } else this.entry.connectivityInfo && D.emit("connectivity-info-open", [this.entry.connectivityInfo]);
12426
+ E.emit("PopoverActionClick", e);
12427
+ } else this.entry.connectivityInfo && E.emit("connectivity-info-open", [this.entry.connectivityInfo]);
12423
12428
  },
12424
12429
  viewerChanged: function(e) {
12425
12430
  if (this.entry.id && this.entry.id != e) {
@@ -12464,7 +12469,7 @@ var Px = /*#__PURE__*/ Bb(jx, [["render", Nx]]), Fx = {
12464
12469
  class: "toolbar-title shrink"
12465
12470
  }, Rx = { class: "information-group shrink" };
12466
12471
  function zx(e, t, n, r, i, a) {
12467
- let o = Ag, s = kg, c = qh, l = zb, u = jb, f = d, p = Kf, h = m, g = Zv, _ = et("map-svg-icon");
12472
+ let o = Ag, s = kg, c = qh, l = zb, u = jb, d = f, p = Kf, h = m, g = Zv, _ = et("map-svg-icon");
12468
12473
  return W(), I("div", null, [L("div", Ix, [
12469
12474
  a.entries.length > 1 ? (W(), P(s, {
12470
12475
  key: 0,
@@ -12506,7 +12511,7 @@ function zx(e, t, n, r, i, a) {
12506
12511
  class: "information",
12507
12512
  onClick: t[3] ||= (t) => e.contextCardVisible = !1
12508
12513
  }, [t[6] ||= R(" Hide information ", -1), z(p, null, {
12509
- default: X(() => [z(f)]),
12514
+ default: X(() => [z(d)]),
12510
12515
  _: 1
12511
12516
  })], 512), [[_t, e.contextCardVisible]]), bt(L("div", {
12512
12517
  class: "information",
@@ -12554,7 +12559,7 @@ function zx(e, t, n, r, i, a) {
12554
12559
  }, 8, ["show-after"])
12555
12560
  ])]);
12556
12561
  }
12557
- var Bx = /*#__PURE__*/ T(Fx, [["render", zx], ["__scopeId", "data-v-2e904772"]]), Vx = Oe(() => import("./Flatmap-BoEFI50b.js")), Hx = Oe(() => import("./Iframe-Slj-LQTF.js")), Ux = Oe(() => import("./MultiFlatmap-l6aBn6x3.js")), Wx = Oe(() => import("./ConnectivityGraph-BBZ3Dgat.js")), Gx = Oe(() => import("./Plot-CIhEip5b.js")), Kx = Oe(() => import("./Scaffold-D5ZGCDvt.js")), qx = Oe(() => import("./Simulation-C5o5DXRb.js")), Jx = {
12562
+ var Bx = /*#__PURE__*/ w(Fx, [["render", zx], ["__scopeId", "data-v-2e904772"]]), Vx = Oe(() => import("./Flatmap-DF4FAwLY.js")), Hx = Oe(() => import("./Iframe-DbQ22y53.js")), Ux = Oe(() => import("./MultiFlatmap-Dwy9gbWC.js")), Wx = Oe(() => import("./ConnectivityGraph-Cao0C1-G.js")), Gx = Oe(() => import("./Plot-COXE_H78.js")), Kx = Oe(() => import("./Scaffold-9ubjNzcD.js")), qx = Oe(() => import("./Simulation-CR-yKjxu.js")), Jx = {
12558
12563
  name: "ContentVuer",
12559
12564
  props: {
12560
12565
  entry: Object,
@@ -12654,7 +12659,7 @@ var Bx = /*#__PURE__*/ T(Fx, [["render", zx], ["__scopeId", "data-v-2e904772"]])
12654
12659
  };
12655
12660
  },
12656
12661
  computed: {
12657
- ...wt(de, oe),
12662
+ ...wt(ue, ae),
12658
12663
  viewerType() {
12659
12664
  switch (this.entry.type) {
12660
12665
  case "MapIframe": return "MapIframe";
@@ -12705,7 +12710,7 @@ function Xx(e, t, n, r, i, a) {
12705
12710
  _: 1
12706
12711
  }))], 512)], 32);
12707
12712
  }
12708
- var Zx = /*#__PURE__*/ T(Jx, [["render", Xx], ["__scopeId", "data-v-368c4cdc"]]), Qx = /* @__PURE__ */ Nt((/* @__PURE__ */ jt(((e, t) => {
12713
+ var Zx = /*#__PURE__*/ w(Jx, [["render", Xx], ["__scopeId", "data-v-368c4cdc"]]), Qx = /* @__PURE__ */ Nt((/* @__PURE__ */ jt(((e, t) => {
12709
12714
  (function(n, r) {
12710
12715
  typeof define == "function" && define.amd ? define(r) : typeof e == "object" ? t.exports = r() : n.ResizeSensor = r();
12711
12716
  })(typeof window < "u" ? window : e, function() {
@@ -12887,7 +12892,7 @@ var Zx = /*#__PURE__*/ T(Jx, [["render", Xx], ["__scopeId", "data-v-368c4cdc"]])
12887
12892
  function tS(e, t, n, r, i, a) {
12888
12893
  return W(), I("div", eS, null, 512);
12889
12894
  }
12890
- var nS = /*#__PURE__*/ T($x, [["render", tS]]), rS = {
12895
+ var nS = /*#__PURE__*/ w($x, [["render", tS]]), rS = {
12891
12896
  name: "CustomSplitter",
12892
12897
  components: {
12893
12898
  Splitpanes: /* @__PURE__ */ Object.assign({ inheritAttrs: !1 }, {
@@ -13222,7 +13227,7 @@ var nS = /*#__PURE__*/ T($x, [["render", tS]]), rS = {
13222
13227
  requestStylesUpdate: function(e) {
13223
13228
  if (this.$refs && e in this.$refs && this.$refs[e] && this.$refs[e][0] && this.$refs[e][0].$el) {
13224
13229
  let t = this.$refs[e][0].$el.getBoundingClientRect();
13225
- D.emit("PaneResize", {
13230
+ E.emit("PaneResize", {
13226
13231
  refName: e,
13227
13232
  rect: t
13228
13233
  });
@@ -13234,11 +13239,11 @@ var nS = /*#__PURE__*/ T($x, [["render", tS]]), rS = {
13234
13239
  }));
13235
13240
  },
13236
13241
  childUnmounted: function(e) {
13237
- D.emit("PaneUnmounted", { refName: e });
13242
+ E.emit("PaneUnmounted", { refName: e });
13238
13243
  }
13239
13244
  },
13240
13245
  computed: {
13241
- ...wt(oe),
13246
+ ...wt(ae),
13242
13247
  children() {
13243
13248
  return this.customLayout[this.index].children;
13244
13249
  },
@@ -13278,7 +13283,7 @@ function aS(e, t, n, r, i, a) {
13278
13283
  _: 1
13279
13284
  }, 8, ["horizontal"])]);
13280
13285
  }
13281
- var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]]), sS = {
13286
+ var oS = /*#__PURE__*/ w(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]]), sS = {
13282
13287
  name: "SplitDialog",
13283
13288
  components: {
13284
13289
  ContentVuer: Zx,
@@ -13363,16 +13368,16 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13363
13368
  if (r.length) {
13364
13369
  if (this.connectivitiesStore.updateActiveConnectivityKeys(r)) {
13365
13370
  let e = this.connectivitiesStore.getUniqueFilterOptionsByKeys;
13366
- D.emit("connectivity-filter-options", e);
13371
+ E.emit("connectivity-filter-options", e);
13367
13372
  }
13368
13373
  } else {
13369
13374
  let e = this.connectivitiesStore.globalConnectivities[n] || [];
13370
- D.emit("connectivity-knowledge", {
13375
+ E.emit("connectivity-knowledge", {
13371
13376
  data: e,
13372
13377
  highlight: [],
13373
13378
  processed: !1,
13374
13379
  isDefaultKnowledge: !0
13375
- }), D.emit("connectivity-filter-options", []), this.connectivitiesStore.updateActiveConnectivityKeys([n]);
13380
+ }), E.emit("connectivity-filter-options", []), this.connectivitiesStore.updateActiveConnectivityKeys([n]);
13376
13381
  }
13377
13382
  },
13378
13383
  getGeneralSearchedId: function(e, t, n = "query") {
@@ -13419,26 +13424,26 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13419
13424
  for (let a of n) {
13420
13425
  let n = a.$refs.viewer;
13421
13426
  if (n) {
13422
- let a = n.$refs.multiflatmap, o = n.$refs.flatmap, s = n.$refs.scaffold, m = n.$refs.iframe, h = n.$refs.plot, g = n.$refs.simulation, _ = null;
13427
+ let a = n.$refs.multiflatmap, o = n.$refs.flatmap, s = n.$refs.scaffold, m = n.$refs.iframe, h = n.$refs.plot, g = n.$refs.simulation, v = null;
13423
13428
  if (a && n.flatmapIsReady()) {
13424
13429
  let e = a.getCurrentFlatmap();
13425
- e && e.mapImp && (_ = e, u = _.mapImp.uuid);
13426
- } else o && o.mapImp ? (_ = o, u = _.mapImp.uuid) : (_ = s || m || h || g, u = await this.getLatestFlatmapUUID(r, "human-flatmap_male"));
13427
- let v = o || a;
13430
+ e && e.mapImp && (v = e, u = v.mapImp.uuid);
13431
+ } else o && o.mapImp ? (v = o, u = v.mapImp.uuid) : (v = s || m || h || g, u = await this.getLatestFlatmapUUID(r, "human-flatmap_male"));
13432
+ let y = o || a;
13428
13433
  if (e) {
13429
13434
  if (this.query = e.query, e.query) {
13430
- let e = this.parseSearchTerms(this.query), n = [];
13431
- for (let t = 0; t < e.length; t++) {
13432
- let r = e[t], i = v ? this.getFlatmapSearchedId(_, r) : this.getGeneralSearchedId(p, r, "query");
13433
- if (n.push(i), v) {
13434
- let e = this.searchPathwaysByTerm(_, r);
13435
- n.push(...e);
13435
+ let e = this.parseSearchTerms(this.query), t = [];
13436
+ for (let n = 0; n < e.length; n++) {
13437
+ let r = e[n], i = y ? this.getFlatmapSearchedId(v, r) : this.getGeneralSearchedId(p, r, "query");
13438
+ if (t.push(i), y) {
13439
+ let e = this.searchPathwaysByTerm(v, r);
13440
+ t.push(...e);
13436
13441
  }
13437
13442
  }
13438
- let a = [...new Set(n.flat())];
13439
- if (a.length) {
13440
- i.push(...a);
13441
- let e = v ? await t(r, u, a) : a;
13443
+ let n = [...new Set(t.flat())];
13444
+ if (n.length) {
13445
+ i.push(...n);
13446
+ let e = y ? await _(r, u, n) : n;
13442
13447
  c.push(...e);
13443
13448
  }
13444
13449
  }
@@ -13461,7 +13466,7 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13461
13466
  }
13462
13467
  }
13463
13468
  if (s) !n && e.facet?.toLowerCase() !== "show all" && (t in o || (o[t] = []), o[t].push(...this.getGeneralSearchedId(p, e.facet, "facet")));
13464
- else if (v && !n) {
13469
+ else if (y && !n) {
13465
13470
  let n = d.find((e) => e.key.includes(t));
13466
13471
  n && n.children.forEach((n) => {
13467
13472
  if (n.label.toLowerCase() === e.facet.toLowerCase() && n.key) {
@@ -13478,8 +13483,8 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13478
13483
  destinations: a.destinations,
13479
13484
  vias: a.vias
13480
13485
  };
13481
- "ovd" in o || (o.ovd = []), o.ovd.push(...await _e(e));
13482
- } else a.all.length && ("all" in o || (o.all = []), o.all.push(...await t(r, u, a.all)));
13486
+ "ovd" in o || (o.ovd = []), o.ovd.push(...await t(e));
13487
+ } else a.all.length && ("all" in o || (o.all = []), o.all.push(...await _(r, u, a.all)));
13483
13488
  let m = Object.values(o);
13484
13489
  this.filter = [...this.filter, ...m];
13485
13490
  let h = this.filter.length ? this.filter.reduce((e, t) => e.filter((e) => t.includes(e))) : [];
@@ -13489,14 +13494,14 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13489
13494
  }
13490
13495
  let m;
13491
13496
  this.query && !this.filter.length ? m = c : !this.query && this.filter.length ? m = l : this.query && this.filter.length && (m = c.filter((e) => l.includes(e))), m && (o.push(...m), p = p.filter((e) => m.includes(e.id)), s = !0), a.push(...p);
13492
- let h = [...new Set(i)], g = [...new Set(o)], _ = Array.from(new Map(a.map((e) => [e.id, e])).values());
13493
- _ = [..._.filter((e) => h.includes(e.id)), ..._.filter((e) => !h.includes(e.id))];
13494
- let v = {
13495
- data: _,
13497
+ let h = [...new Set(i)], g = [...new Set(o)], v = Array.from(new Map(a.map((e) => [e.id, e])).values());
13498
+ v = [...v.filter((e) => h.includes(e.id)), ...v.filter((e) => !h.includes(e.id))];
13499
+ let y = {
13500
+ data: v,
13496
13501
  highlight: g,
13497
13502
  processed: s
13498
13503
  };
13499
- D.emit("connectivity-knowledge", v);
13504
+ E.emit("connectivity-knowledge", y);
13500
13505
  },
13501
13506
  updateFlatmapMinimap: function() {
13502
13507
  let e = this.splitFlowStore.getActivePaneIds(), t = this.$refs.content, n = [];
@@ -13509,7 +13514,7 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13509
13514
  }
13510
13515
  },
13511
13516
  computed: {
13512
- ...wt(oe, pe, ge),
13517
+ ...wt(ae, fe, he),
13513
13518
  horizontal() {
13514
13519
  return this.splitFlowStore.activeView === "2horpanel";
13515
13520
  },
@@ -13518,56 +13523,56 @@ var oS = /*#__PURE__*/ T(rS, [["render", aS], ["__scopeId", "data-v-01f20914"]])
13518
13523
  }
13519
13524
  },
13520
13525
  mounted: function() {
13521
- D.on("PaneResize", (e) => {
13526
+ E.on("PaneResize", (e) => {
13522
13527
  this.setStyles(e.refName, e.rect), this.updateFlatmapMinimap();
13523
- }), D.on("PaneUnmounted", (e) => {
13528
+ }), E.on("PaneUnmounted", (e) => {
13524
13529
  this.hidePane(e.refName);
13525
- }), D.on("species-layout-connectivity-update", () => {
13530
+ }), E.on("species-layout-connectivity-update", () => {
13526
13531
  this.onSpeciesLayoutConnectivityUpdate();
13527
- }), D.on("connectivity-query-filter", (e) => {
13532
+ }), E.on("connectivity-query-filter", (e) => {
13528
13533
  this.connectivityQueryFilter(e);
13529
- }), D.on("hoverUpdate", (e) => {
13534
+ }), E.on("hoverUpdate", (e) => {
13530
13535
  this.getActiveContents().forEach((t) => {
13531
13536
  t.onHoverUpdate(e);
13532
13537
  });
13533
- }), D.on("startHelp", () => {
13538
+ }), E.on("startHelp", () => {
13534
13539
  this.getActiveContents().forEach((e) => {
13535
13540
  e.onStartHelp();
13536
13541
  });
13537
- }), D.on("connectivity-item-close", () => {
13542
+ }), E.on("connectivity-item-close", () => {
13538
13543
  this.getActiveContents().forEach((e) => {
13539
13544
  e.onConnectivityItemClose();
13540
13545
  });
13541
- }), D.on("sidebar-annotation-close", () => {
13546
+ }), E.on("sidebar-annotation-close", () => {
13542
13547
  this.getActiveContents().forEach((e) => {
13543
13548
  e.onSidebarAnnotationClose();
13544
13549
  });
13545
- }), D.on("globalViewerSettingsUpdate", () => {
13550
+ }), E.on("globalViewerSettingsUpdate", () => {
13546
13551
  this.$refs.content.forEach((e) => {
13547
13552
  e.onGlobalViewerSettingsUpdate();
13548
13553
  });
13549
- }), D.on("markerUpdate", () => {
13554
+ }), E.on("markerUpdate", () => {
13550
13555
  this.$refs.content.forEach((e) => {
13551
13556
  e.onFlatmapMarkerUpdate();
13552
13557
  });
13553
- }), D.on("connectivity-hovered", (e) => {
13558
+ }), E.on("connectivity-hovered", (e) => {
13554
13559
  this.getActiveContents().forEach((t) => {
13555
13560
  t.onShowConnectivityTooltips(e);
13556
13561
  });
13557
- }), D.on("connectivity-source-change", (e) => {
13562
+ }), E.on("connectivity-source-change", (e) => {
13558
13563
  let t = this.getActiveContents(), n = [];
13559
13564
  t.forEach((t) => {
13560
13565
  t.onConnectivitySourceChange(e, n);
13561
13566
  });
13562
- }), D.on("show-connectivity", (e) => {
13567
+ }), E.on("show-connectivity", (e) => {
13563
13568
  this.getActiveContents().forEach((t) => {
13564
13569
  t.onShowConnectivity(e);
13565
13570
  });
13566
- }), D.on("show-reference-connectivities", (e) => {
13571
+ }), E.on("show-reference-connectivities", (e) => {
13567
13572
  this.getActiveContents().forEach((t) => {
13568
13573
  t.onShowReferenceConnectivity(e);
13569
13574
  });
13570
- }), D.on("filter-visibility", (e) => {
13575
+ }), E.on("filter-visibility", (e) => {
13571
13576
  this.getActiveContents().forEach((t) => {
13572
13577
  t.onFilterVisibility(e);
13573
13578
  });
@@ -13601,7 +13606,7 @@ function lS(e, t, n, r, i, a) {
13601
13606
  "visible"
13602
13607
  ]))], 6))), 128))], 512);
13603
13608
  }
13604
- var uS = /*#__PURE__*/ T(sS, [["render", lS], ["__scopeId", "data-v-6cefc333"]]), dS = {
13609
+ var uS = /*#__PURE__*/ w(sS, [["render", lS], ["__scopeId", "data-v-6cefc333"]]), dS = {
13605
13610
  name: "SearchControls",
13606
13611
  props: { failedSearch: void 0 },
13607
13612
  components: { MapSvgIcon: Hb },
@@ -13641,7 +13646,7 @@ function pS(e, t, n, r, i, a) {
13641
13646
  n.failedSearch ? (W(), I("div", Wee, "'" + q(n.failedSearch) + "' not found", 1)) : F("", !0)
13642
13647
  ]);
13643
13648
  }
13644
- var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]]), hS = {
13649
+ var mS = /*#__PURE__*/ w(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]]), hS = {
13645
13650
  name: "DialogToolbarContent",
13646
13651
  components: {
13647
13652
  MapSvgIcon: Hb,
@@ -13660,7 +13665,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13660
13665
  },
13661
13666
  inject: ["showGlobalSettings"],
13662
13667
  computed: {
13663
- ...wt(de, ge, oe),
13668
+ ...wt(ue, he, ae),
13664
13669
  activeView() {
13665
13670
  return this.splitFlowStore.activeView;
13666
13671
  },
@@ -13684,7 +13689,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13684
13689
  return {
13685
13690
  activeViewRef: void 0,
13686
13691
  displayShareOptions: !1,
13687
- ElIconCopyDocument: at(x),
13692
+ ElIconCopyDocument: at(b),
13688
13693
  exportAnnotation: !1,
13689
13694
  failedSearch: void 0,
13690
13695
  globalSettings: {},
@@ -13714,7 +13719,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13714
13719
  },
13715
13720
  updateGlobalSettings: function(e) {
13716
13721
  let t = this.settingsStore.getUpdatedGlobalSettingsKey(this.globalSettings);
13717
- this.settingsStore.updateGlobalSettings(this.globalSettings), t.includes("displayMarkers") && D.emit("markerUpdate"), t.includes("interactiveMode") && D.emit("modeUpdate", this.globalSettings.interactiveMode), (t.includes("viewingMode") || t.includes("connectionType") || t.includes("flightPathDisplay") || t.includes("organsDisplay") || t.includes("outlinesDisplay") || t.includes("backgroundDisplay")) && D.emit("globalViewerSettingsUpdate");
13722
+ this.settingsStore.updateGlobalSettings(this.globalSettings), t.includes("displayMarkers") && E.emit("markerUpdate"), t.includes("interactiveMode") && E.emit("modeUpdate", this.globalSettings.interactiveMode), (t.includes("viewingMode") || t.includes("connectionType") || t.includes("flightPathDisplay") || t.includes("organsDisplay") || t.includes("outlinesDisplay") || t.includes("backgroundDisplay")) && E.emit("globalViewerSettingsUpdate");
13718
13723
  let n = this.globalSettings[e];
13719
13724
  e === "flightPathDisplay" && (n = this.globalSettings.flightPathDisplay ? "3D" : "2D"), e === "organsDisplay" && (n = this.globalSettings.organsDisplay ? "Color" : "Grayscale"), e === "outlinesDisplay" && (n = this.globalSettings.outlinesDisplay ? "Show" : "Hide"), t.length && ve.sendEvent({
13720
13725
  event: "interaction_event",
@@ -13727,7 +13732,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13727
13732
  this.$emit("titleClicked", e);
13728
13733
  },
13729
13734
  startHelp: function() {
13730
- D.emit("startHelp"), ve.sendEvent({
13735
+ E.emit("startHelp"), ve.sendEvent({
13731
13736
  event: "interaction_event",
13732
13737
  event_name: "portal_maps_toolbar_help",
13733
13738
  category: "help_mode_start",
@@ -13768,7 +13773,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13768
13773
  sessionStorage.getItem("anonymous-annotation") ? this.displayShareOptions = !0 : this.getShareLink(!1);
13769
13774
  },
13770
13775
  getShareLink: function(e) {
13771
- this.displayShareOptions = !1, this.loadingLink = !0, D.emit("updateShareLinkRequested", e), ve.sendEvent({
13776
+ this.displayShareOptions = !1, this.loadingLink = !0, E.emit("updateShareLinkRequested", e), ve.sendEvent({
13772
13777
  event: "interaction_event",
13773
13778
  event_name: "portal_maps_permalink",
13774
13779
  category: "permalink_generate",
@@ -13793,7 +13798,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13793
13798
  }
13794
13799
  },
13795
13800
  mounted: function() {
13796
- this.activeViewRef = at(this.$refs.activeViewRef), this.permalinkRef = at(this.$refs.permalinkRef), this.globalSettingRef = at(this.$refs.globalSettingRef), D.on("mapLoaded", () => {
13801
+ this.activeViewRef = at(this.$refs.activeViewRef), this.permalinkRef = at(this.$refs.permalinkRef), this.globalSettingRef = at(this.$refs.globalSettingRef), E.on("mapLoaded", () => {
13797
13802
  this.mapLoaded = !0;
13798
13803
  }), document.addEventListener("fullscreenchange", this.onFullscreenEsc), this.loadGlobalSettings();
13799
13804
  },
@@ -13817,7 +13822,7 @@ var mS = /*#__PURE__*/ T(dS, [["render", pS], ["__scopeId", "data-v-2390b905"]])
13817
13822
  class: "setting-popover-block"
13818
13823
  };
13819
13824
  function MS(t, n, r, i, a, o) {
13820
- let s = et("map-svg-sprite-color"), c = mS, u = y, d = Kf, f = me, p = l, h = m, g = d_, _ = u_, v = Gv, b = Kv, x = Wv, S = et("map-svg-icon"), C = g_, w = h_, T = Zv, E = qh, D = qg, O = Pm, ee = l_, k = e, A = cy;
13825
+ let s = et("map-svg-sprite-color"), c = mS, l = v, d = Kf, f = pe, p = u, h = m, g = d_, _ = u_, y = Gv, b = Kv, x = Wv, S = et("map-svg-icon"), C = g_, w = h_, T = Zv, E = qh, D = qg, O = Pm, ee = l_, k = e, A = cy;
13821
13826
  return W(), I("div", gS, [
13822
13827
  z(s),
13823
13828
  z(c, {
@@ -13837,7 +13842,7 @@ function MS(t, n, r, i, a, o) {
13837
13842
  placement: "bottom-end"
13838
13843
  }, {
13839
13844
  dropdown: X(() => [n[21] ||= L("h4", null, "Viewing Mode:", -1), z(b, null, {
13840
- default: X(() => [(W(!0), I(M, null, $e(t.viewingModes, (e, r) => (W(), P(v, {
13845
+ default: X(() => [(W(!0), I(M, null, $e(t.viewingModes, (e, r) => (W(), P(y, {
13841
13846
  key: r,
13842
13847
  onClick: (e) => o.updateViewingMode(e, r),
13843
13848
  class: U({ "is-selected": t.globalSettings.viewingMode === r })
@@ -13848,7 +13853,7 @@ function MS(t, n, r, i, a, o) {
13848
13853
  key: 0,
13849
13854
  class: "el-icon--left"
13850
13855
  }, {
13851
- default: X(() => [z(u)]),
13856
+ default: X(() => [z(l)]),
13852
13857
  _: 1
13853
13858
  })) : F("", !0),
13854
13859
  r === "Neuron Connection" ? (W(), P(d, {
@@ -13915,7 +13920,7 @@ function MS(t, n, r, i, a, o) {
13915
13920
  key: 0,
13916
13921
  class: "el-icon--left"
13917
13922
  }, {
13918
- default: X(() => [z(u)]),
13923
+ default: X(() => [z(l)]),
13919
13924
  _: 1
13920
13925
  })) : F("", !0),
13921
13926
  t.globalSettings.viewingMode === "Neuron Connection" ? (W(), P(d, {
@@ -14292,7 +14297,7 @@ function MS(t, n, r, i, a, o) {
14292
14297
  })
14293
14298
  ]);
14294
14299
  }
14295
- var NS = /*#__PURE__*/ T(hS, [["render", MS], ["__scopeId", "data-v-25b108c4"]]), PS = Object.create, FS = Object.defineProperty, IS = Object.getOwnPropertyDescriptor, LS = Object.getOwnPropertyNames, RS = Object.getPrototypeOf, zS = Object.prototype.hasOwnProperty, BS = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), VS = (e, t) => {
14300
+ var NS = /*#__PURE__*/ w(hS, [["render", MS], ["__scopeId", "data-v-25b108c4"]]), PS = Object.create, FS = Object.defineProperty, IS = Object.getOwnPropertyDescriptor, LS = Object.getOwnPropertyNames, RS = Object.getPrototypeOf, zS = Object.prototype.hasOwnProperty, BS = (e, t) => () => (t || (e((t = { exports: {} }).exports, t), e = null), t.exports), VS = (e, t) => {
14296
14301
  let n = {};
14297
14302
  for (var r in e) FS(n, r, {
14298
14303
  get: e[r],
@@ -17294,19 +17299,19 @@ var EN = Symbol("emptyValuesContextKey"), DN = "use-empty-values", ON = [
17294
17299
  Object,
17295
17300
  Function
17296
17301
  ]), zN = {
17297
- Close: s,
17298
- SuccessFilled: se,
17299
- InfoFilled: S,
17300
- WarningFilled: ce,
17301
- CircleCloseFilled: b
17302
+ Close: c,
17303
+ SuccessFilled: oe,
17304
+ InfoFilled: x,
17305
+ WarningFilled: se,
17306
+ CircleCloseFilled: y
17302
17307
  }, BN = {
17303
- primary: S,
17304
- success: se,
17305
- warning: ce,
17306
- error: b,
17307
- info: S
17308
+ primary: x,
17309
+ success: oe,
17310
+ warning: se,
17311
+ error: y,
17312
+ info: x
17308
17313
  }, VN = {
17309
- validating: w,
17314
+ validating: C,
17310
17315
  success: ye,
17311
17316
  error: n
17312
17317
  }, HN = hA({
@@ -18623,11 +18628,11 @@ var DF = [
18623
18628
  [g.b("group")]: o.prepend || o.append,
18624
18629
  [g.m("prefix")]: o.prefix || r.prefixIcon,
18625
18630
  [g.m("suffix")]: o.suffix || r.suffixIcon || r.clearable || r.showPassword,
18626
- [g.bm("suffix", "password-clear")]: de.value && pe.value,
18631
+ [g.bm("suffix", "password-clear")]: fe.value && pe.value,
18627
18632
  [g.b("hidden")]: r.type === "hidden"
18628
18633
  },
18629
18634
  a.class
18630
- ]), c = N(() => [g.e("wrapper"), g.is("focus", j.value)]), l = xA(), u = N(() => r.maxlength?.toString()), { form: d, formItem: f } = uP(), { inputId: p } = dP(r, { formItemContext: f }), m = cP(), h = lP(), g = HA("input"), _ = HA("textarea"), { t: v } = LA(), y = at(), b = at(), x = G(!1), S = G(!1), w = G(), T = G(), E = at(r.inputStyle), D = G(""), O, ee = G(), k = N(() => y.value || b.value), { wrapperRef: A, isFocused: j, handleFocus: te, handleBlur: ne } = wN(k, {
18635
+ ]), c = N(() => [g.e("wrapper"), g.is("focus", j.value)]), l = xA(), u = N(() => r.maxlength?.toString()), { form: d, formItem: f } = uP(), { inputId: p } = dP(r, { formItemContext: f }), m = cP(), h = lP(), g = HA("input"), _ = HA("textarea"), { t: v } = LA(), y = at(), b = at(), x = G(!1), C = G(!1), w = G(), T = G(), E = at(r.inputStyle), D = G(""), O, ee = G(), k = N(() => y.value || b.value), { wrapperRef: A, isFocused: j, handleFocus: te, handleBlur: ne } = wN(k, {
18631
18636
  disabled: h,
18632
18637
  afterFocus() {
18633
18638
  r.showPassword && (O = k.value?.value);
@@ -18643,12 +18648,12 @@ var DF = [
18643
18648
  afterBlur() {
18644
18649
  r.validateEvent && f?.validate?.("blur").catch(MC);
18645
18650
  }
18646
- }), re = N(() => d?.statusIcon ?? !1), ie = N(() => f?.validateState || ""), ae = N(() => ie.value && VN[ie.value]), oe = N(() => S.value ? fe : C), se = N(() => [a.style]), ce = N(() => [
18651
+ }), re = N(() => d?.statusIcon ?? !1), ie = N(() => f?.validateState || ""), ae = N(() => ie.value && VN[ie.value]), oe = N(() => C.value ? de : S), se = N(() => [a.style]), ce = N(() => [
18647
18652
  r.inputStyle,
18648
18653
  E.value,
18649
18654
  { resize: r.resize },
18650
18655
  ee.value ? { height: ee.value } : void 0
18651
- ]), le = N(() => jk(r.modelValue) ? "" : String(r.modelValue)), ue = N(() => r.clearable && !h.value && !r.readonly), de = N(() => ue.value && !!le.value && (j.value || x.value)), pe = N(() => r.showPassword && !h.value && !!le.value), me = N(() => r.showWordLimit && !!u.value && (r.type === "text" || r.type === "textarea") && !h.value && !r.readonly && !r.showPassword), he = N(() => r.countGraphemes && r.showWordLimit ? r.countGraphemes(le.value) : le.value.length), ge = N(() => v("el.input.characters", {
18656
+ ]), le = N(() => jk(r.modelValue) ? "" : String(r.modelValue)), ue = N(() => r.clearable && !h.value && !r.readonly), fe = N(() => ue.value && !!le.value && (j.value || x.value)), pe = N(() => r.showPassword && !h.value && !!le.value), me = N(() => r.showWordLimit && !!u.value && (r.type === "text" || r.type === "textarea") && !h.value && !r.readonly && !r.showPassword), he = N(() => r.countGraphemes && r.showWordLimit ? r.countGraphemes(le.value) : le.value.length), ge = N(() => v("el.input.characters", {
18652
18657
  count: he.value,
18653
18658
  max: u.value ?? ""
18654
18659
  })), _e = N(() => !!me.value && he.value > Number(u.value)), ve = N(() => !!o.suffix || !!r.suffixIcon || r.clearable || r.showPassword || me.value || !!ie.value && re.value), ye = N(() => !!Object.keys(r.modelModifiers).length), [be, xe] = yN(y), Se;
@@ -18742,7 +18747,7 @@ var DF = [
18742
18747
  emit: i,
18743
18748
  afterComposition: De
18744
18749
  }), Ae = () => {
18745
- S.value = !S.value;
18750
+ C.value = !C.value;
18746
18751
  }, je = () => k.value?.focus(), Me = () => k.value?.blur(), Ne = (e) => {
18747
18752
  x.value = !1, i("mouseleave", e);
18748
18753
  }, V = (e) => {
@@ -18777,7 +18782,7 @@ var DF = [
18777
18782
  textareaStyle: ce,
18778
18783
  autosize: lt(r, "autosize"),
18779
18784
  isComposing: z,
18780
- passwordVisible: S,
18785
+ passwordVisible: C,
18781
18786
  focus: je,
18782
18787
  blur: Me,
18783
18788
  select: Fe,
@@ -18827,7 +18832,7 @@ var DF = [
18827
18832
  onChange: R,
18828
18833
  onKeydown: Pe
18829
18834
  }), null, 16, kF),
18830
- de.value ? (W(), P(J(UN), {
18835
+ fe.value ? (W(), P(J(UN), {
18831
18836
  key: 0,
18832
18837
  class: U([J(_).e("icon"), J(_).e("clear")]),
18833
18838
  style: ze(T.value),
@@ -18879,7 +18884,7 @@ var DF = [
18879
18884
  name: e.name,
18880
18885
  minlength: e.countGraphemes ? void 0 : e.minlength,
18881
18886
  maxlength: e.countGraphemes ? void 0 : u.value,
18882
- type: e.showPassword ? S.value ? "text" : "password" : e.type,
18887
+ type: e.showPassword ? C.value ? "text" : "password" : e.type,
18883
18888
  disabled: J(h),
18884
18889
  readonly: e.readonly,
18885
18890
  autocomplete: e.autocomplete,
@@ -18906,7 +18911,7 @@ var DF = [
18906
18911
  ue.value ? (W(), P(J(UN), {
18907
18912
  key: 0,
18908
18913
  class: U([J(g).e("icon"), J(g).e("clear")]),
18909
- style: ze({ visibility: de.value ? "visible" : "hidden" }),
18914
+ style: ze({ visibility: fe.value ? "visible" : "hidden" }),
18910
18915
  onMousedown: St(J(MC), ["prevent"]),
18911
18916
  onClick: Ie
18912
18917
  }, {
@@ -18917,7 +18922,7 @@ var DF = [
18917
18922
  "style",
18918
18923
  "onMousedown"
18919
18924
  ])) : F("v-if", !0),
18920
- !de.value || !pe.value || !me.value ? (W(), I(M, { key: 1 }, [K(t.$slots, "suffix"), e.suffixIcon ? (W(), P(J(UN), {
18925
+ !fe.value || !pe.value || !me.value ? (W(), I(M, { key: 1 }, [K(t.$slots, "suffix"), e.suffixIcon ? (W(), P(J(UN), {
18921
18926
  key: 0,
18922
18927
  class: U(J(g).e("icon"))
18923
18928
  }, {
@@ -18931,7 +18936,7 @@ var DF = [
18931
18936
  onMousedown: St(J(MC), ["prevent"]),
18932
18937
  onMouseup: St(J(MC), ["prevent"])
18933
18938
  }, {
18934
- default: X(() => [K(t.$slots, "password-icon", { visible: S.value }, () => [(W(), P(nt(oe.value)))])]),
18939
+ default: X(() => [K(t.$slots, "password-icon", { visible: C.value }, () => [(W(), P(nt(oe.value)))])]),
18935
18940
  _: 3
18936
18941
  }, 8, [
18937
18942
  "class",
@@ -19427,7 +19432,7 @@ var BF = hA({
19427
19432
  loading: Boolean,
19428
19433
  loadingIcon: {
19429
19434
  type: RN,
19430
- default: () => w
19435
+ default: () => C
19431
19436
  },
19432
19437
  plain: {
19433
19438
  type: Boolean,
@@ -20393,7 +20398,7 @@ var UI = hA({
20393
20398
  props: UI,
20394
20399
  emits: WI,
20395
20400
  setup(e, { emit: t }) {
20396
- let n = e, r = t, i = cP(), { t: a } = LA(), o = HA("tag"), c = N(() => {
20401
+ let n = e, r = t, i = cP(), { t: a } = LA(), o = HA("tag"), s = N(() => {
20397
20402
  let { type: e, hit: t, effect: r, closable: a, round: s } = n;
20398
20403
  return [
20399
20404
  o.b(),
@@ -20413,7 +20418,7 @@ var UI = hA({
20413
20418
  };
20414
20419
  return (t, n) => e.disableTransitions ? (W(), I("span", {
20415
20420
  key: 0,
20416
- class: U(c.value),
20421
+ class: U(s.value),
20417
20422
  style: ze({ backgroundColor: e.color }),
20418
20423
  onClick: u
20419
20424
  }, [L("span", { class: U(J(o).e("content")) }, [K(t.$slots, "default")], 2), e.closable ? (W(), I("button", {
@@ -20423,7 +20428,7 @@ var UI = hA({
20423
20428
  type: "button",
20424
20429
  onClick: St(l, ["stop"])
20425
20430
  }, [z(J(UN), null, {
20426
- default: X(() => [z(J(s))]),
20431
+ default: X(() => [z(J(c))]),
20427
20432
  _: 1
20428
20433
  })], 10, GI)) : F("v-if", !0)], 6)) : (W(), P(we, {
20429
20434
  key: 1,
@@ -20432,7 +20437,7 @@ var UI = hA({
20432
20437
  onVnodeMounted: d
20433
20438
  }, {
20434
20439
  default: X(() => [L("span", {
20435
- class: U(c.value),
20440
+ class: U(s.value),
20436
20441
  style: ze({ backgroundColor: e.color }),
20437
20442
  onClick: u
20438
20443
  }, [L("span", { class: U(J(o).e("content")) }, [K(t.$slots, "default")], 2), e.closable ? (W(), I("button", {
@@ -20442,7 +20447,7 @@ var UI = hA({
20442
20447
  type: "button",
20443
20448
  onClick: St(l, ["stop"])
20444
20449
  }, [z(J(UN), null, {
20445
- default: X(() => [z(J(s))]),
20450
+ default: X(() => [z(J(c))]),
20446
20451
  _: 1
20447
20452
  })], 10, KI)) : F("v-if", !0)], 6)]),
20448
20453
  _: 3
@@ -23036,7 +23041,7 @@ var nz = /* @__PURE__ */ B({
23036
23041
  },
23037
23042
  emits: ["expand"],
23038
23043
  setup(e, { emit: t }) {
23039
- let n = e, r = t, i = V(ez), a = HA("cascader-node"), o = N(() => i.isHoverMenu), s = N(() => i.config.multiple), l = N(() => i.config.checkStrictly), u = N(() => i.config.showPrefix), d = N(() => i.checkedNodes[0]?.uid), f = N(() => n.node.isDisabled), p = N(() => n.node.isLeaf), m = N(() => l.value && !p.value || !f.value), h = N(() => v(i.expandingNode)), _ = N(() => l.value && i.checkedNodes.some(v)), v = (e) => {
23044
+ let n = e, r = t, i = V(ez), a = HA("cascader-node"), o = N(() => i.isHoverMenu), s = N(() => i.config.multiple), c = N(() => i.config.checkStrictly), u = N(() => i.config.showPrefix), d = N(() => i.checkedNodes[0]?.uid), f = N(() => n.node.isDisabled), p = N(() => n.node.isLeaf), m = N(() => c.value && !p.value || !f.value), h = N(() => v(i.expandingNode)), _ = N(() => c.value && i.checkedNodes.some(v)), v = (e) => {
23040
23045
  let { level: t, uid: r } = n.node;
23041
23046
  return e?.pathNodes[t - 1]?.uid === r;
23042
23047
  }, y = () => {
@@ -23049,16 +23054,16 @@ var nz = /* @__PURE__ */ B({
23049
23054
  p.value || y();
23050
23055
  });
23051
23056
  }, S = (e) => {
23052
- o.value && (C(), !p.value && r("expand", e));
23053
- }, C = () => {
23057
+ o.value && (w(), !p.value && r("expand", e));
23058
+ }, w = () => {
23054
23059
  let { node: e } = n;
23055
23060
  !m.value || e.loading || (e.loaded ? y() : x());
23056
23061
  }, T = () => {
23057
- p.value && !f.value && !l.value && !s.value ? D(!0) : (i.config.checkOnClickNode && (s.value || l.value) || p.value && i.config.checkOnClickLeaf) && !f.value ? E(!n.node.checked) : o.value || C();
23062
+ p.value && !f.value && !c.value && !s.value ? D(!0) : (i.config.checkOnClickNode && (s.value || c.value) || p.value && i.config.checkOnClickLeaf) && !f.value ? E(!n.node.checked) : o.value || w();
23058
23063
  }, E = (e) => {
23059
- l.value ? (b(e), n.node.loaded && y()) : D(e);
23064
+ c.value ? (b(e), n.node.loaded && y()) : D(e);
23060
23065
  }, D = (e) => {
23061
- n.node.loaded ? (b(e), !l.value && y()) : x();
23066
+ n.node.loaded ? (b(e), !c.value && y()) : x();
23062
23067
  };
23063
23068
  return (t, n) => (W(), I("li", {
23064
23069
  id: `${e.menuId}-${e.node.uid}`,
@@ -23069,7 +23074,7 @@ var nz = /* @__PURE__ */ B({
23069
23074
  tabindex: m.value ? -1 : void 0,
23070
23075
  class: U([
23071
23076
  J(a).b(),
23072
- J(a).is("selectable", l.value),
23077
+ J(a).is("selectable", c.value),
23073
23078
  J(a).is("active", e.node.checked),
23074
23079
  J(a).is("disabled", !m.value),
23075
23080
  h.value && "in-active-path",
@@ -23091,7 +23096,7 @@ var nz = /* @__PURE__ */ B({
23091
23096
  "model-value",
23092
23097
  "indeterminate",
23093
23098
  "disabled"
23094
- ])) : l.value && u.value ? (W(), P(J(QR), {
23099
+ ])) : c.value && u.value ? (W(), P(J(QR), {
23095
23100
  key: 1,
23096
23101
  "model-value": d.value,
23097
23102
  label: e.node.uid,
@@ -23119,13 +23124,13 @@ var nz = /* @__PURE__ */ B({
23119
23124
  key: 0,
23120
23125
  class: U([J(a).is("loading"), J(a).e("postfix")])
23121
23126
  }, {
23122
- default: X(() => [z(J(w))]),
23127
+ default: X(() => [z(J(C))]),
23123
23128
  _: 1
23124
23129
  }, 8, ["class"])) : (W(), P(J(UN), {
23125
23130
  key: 1,
23126
23131
  class: U(["arrow-right", J(a).e("postfix")])
23127
23132
  }, {
23128
- default: X(() => [z(J(c))]),
23133
+ default: X(() => [z(J(l))]),
23129
23134
  _: 1
23130
23135
  }, 8, ["class"]))], 64))
23131
23136
  ], 42, rz));
@@ -23250,7 +23255,7 @@ var nz = /* @__PURE__ */ B({
23250
23255
  size: 14,
23251
23256
  class: U(J(i).is("loading"))
23252
23257
  }, {
23253
- default: X(() => [z(J(w))]),
23258
+ default: X(() => [z(J(C))]),
23254
23259
  _: 1
23255
23260
  }, 8, ["class"]), R(" " + q(J(a)("el.cascader.loading")), 1)], 2)) : f.value ? (W(), I("div", {
23256
23261
  key: 1,
@@ -23285,7 +23290,7 @@ var nz = /* @__PURE__ */ B({
23285
23290
  size: 14,
23286
23291
  class: U(J(i).is("loading"))
23287
23292
  }, {
23288
- default: X(() => [z(J(w))]),
23293
+ default: X(() => [z(J(C))]),
23289
23294
  _: 1
23290
23295
  }, 8, ["class"]), R(" " + q(J(a)("el.cascader.loading")), 1)], 2)) : f.value ? (W(), I("div", {
23291
23296
  key: 1,
@@ -24712,7 +24717,7 @@ var Uz = [
24712
24717
  version: "3.0.0",
24713
24718
  ref: "https://element-plus.org/en-US/component/drawer.html#slots"
24714
24719
  }, N(() => !!a.title));
24715
- let o = G(), c = G(), l = G(), u = HA("drawer"), { t: d } = LA(), { afterEnter: f, afterLeave: p, beforeLeave: m, visible: h, rendered: g, titleId: _, bodyId: v, zIndex: y, onModalClick: b, onOpenAutoFocus: x, onCloseAutoFocus: S, onFocusoutPrevented: C, onCloseRequested: w, handleClose: T } = Rz(r, o), { isHorizontal: E, size: D, isResizing: O } = Hz(r, l, i), ee = N(() => r.modalPenetrable && !r.modal);
24720
+ let o = G(), s = G(), l = G(), u = HA("drawer"), { t: d } = LA(), { afterEnter: f, afterLeave: p, beforeLeave: m, visible: h, rendered: g, titleId: _, bodyId: v, zIndex: y, onModalClick: b, onOpenAutoFocus: x, onCloseAutoFocus: S, onFocusoutPrevented: C, onCloseRequested: w, handleClose: T } = Rz(r, o), { isHorizontal: E, size: D, isResizing: O } = Hz(r, l, i), ee = N(() => r.modalPenetrable && !r.modal);
24716
24721
  return t({ handleClose: T }), (t, n) => (W(), P(Se, {
24717
24722
  to: e.appendTo,
24718
24723
  disabled: e.appendTo === "body" && !e.appendToBody
@@ -24738,7 +24743,7 @@ var Uz = [
24738
24743
  loop: "",
24739
24744
  trapped: J(h),
24740
24745
  "focus-trap-el": o.value,
24741
- "focus-start-el": c.value,
24746
+ "focus-start-el": s.value,
24742
24747
  onFocusAfterTrapped: J(x),
24743
24748
  onFocusAfterReleased: J(S),
24744
24749
  onFocusoutPrevented: J(C),
@@ -24764,7 +24769,7 @@ var Uz = [
24764
24769
  }), [
24765
24770
  L("span", {
24766
24771
  ref_key: "focusStartRef",
24767
- ref: c,
24772
+ ref: s,
24768
24773
  class: U(J(u).e("sr-focus")),
24769
24774
  tabindex: "-1"
24770
24775
  }, null, 2),
@@ -24788,7 +24793,7 @@ var Uz = [
24788
24793
  type: "button",
24789
24794
  onClick: n[0] ||= (...e) => J(T) && J(T)(...e)
24790
24795
  }, [z(J(UN), { class: U(J(u).e("close")) }, {
24791
- default: X(() => [z(J(s))]),
24796
+ default: X(() => [z(J(c))]),
24792
24797
  _: 1
24793
24798
  }, 8, ["class"])], 10, Gz)) : F("v-if", !0)], 2)) : F("v-if", !0),
24794
24799
  J(g) ? (W(), I("div", {
@@ -25825,7 +25830,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25825
25830
  props: _V,
25826
25831
  emits: [KS],
25827
25832
  setup(t, { emit: n }) {
25828
- let r = t, i = n, a = HA("pager"), s = HA("icon"), { t: c } = LA(), l = G(!1), d = G(!1), f = G(!1), p = G(!1), m = G(!1), h = G(!1), g = N(() => {
25833
+ let r = t, i = n, a = HA("pager"), o = HA("icon"), { t: c } = LA(), l = G(!1), u = G(!1), f = G(!1), p = G(!1), m = G(!1), h = G(!1), g = N(() => {
25829
25834
  let e = r.pagerCount, t = (e - 1) / 2, n = Number(r.currentPage), i = Number(r.pageCount), a = !1, o = !1;
25830
25835
  i > e && (n > e - t && (a = !0), n < i - t && (o = !0));
25831
25836
  let s = [];
@@ -25841,12 +25846,12 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25841
25846
  }), _ = N(() => [
25842
25847
  "more",
25843
25848
  "btn-quickprev",
25844
- s.b(),
25849
+ o.b(),
25845
25850
  a.is("disabled", r.disabled)
25846
25851
  ]), v = N(() => [
25847
25852
  "more",
25848
25853
  "btn-quicknext",
25849
- s.b(),
25854
+ o.b(),
25850
25855
  a.is("disabled", r.disabled)
25851
25856
  ]), y = N(() => r.disabled ? -1 : 0);
25852
25857
  Y(() => [
@@ -25855,7 +25860,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25855
25860
  r.currentPage
25856
25861
  ], ([e, t, n]) => {
25857
25862
  let r = (t - 1) / 2, i = !1, a = !1;
25858
- e > t && (i = n > t - r, a = n < e - r), f.value &&= i, p.value &&= a, l.value = i, d.value = a;
25863
+ e > t && (i = n > t - r, a = n < e - r), f.value &&= i, p.value &&= a, l.value = i, u.value = a;
25859
25864
  }, { immediate: !0 });
25860
25865
  function b(e = !1) {
25861
25866
  r.disabled || (e ? f.value = !0 : p.value = !0);
@@ -25897,7 +25902,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25897
25902
  onMouseleave: n[1] ||= (e) => f.value = !1,
25898
25903
  onFocus: n[2] ||= (e) => x(!0),
25899
25904
  onBlur: n[3] ||= (e) => m.value = !1
25900
- }, [(f.value || m.value) && !t.disabled ? (W(), P(J(o), { key: 0 })) : (W(), P(J(e), { key: 1 }))], 42, yV)) : F("v-if", !0),
25905
+ }, [(f.value || m.value) && !t.disabled ? (W(), P(J(s), { key: 0 })) : (W(), P(J(e), { key: 1 }))], 42, yV)) : F("v-if", !0),
25901
25906
  (W(!0), I(M, null, $e(g.value, (e) => (W(), I("li", {
25902
25907
  key: e,
25903
25908
  class: U([[J(a).is("active", t.currentPage === e), J(a).is("disabled", t.disabled)], "number"]),
@@ -25905,7 +25910,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25905
25910
  "aria-label": J(c)("el.pagination.currentPage", { pager: e }),
25906
25911
  tabindex: y.value
25907
25912
  }, q(e), 11, bV))), 128)),
25908
- d.value ? (W(), I("li", {
25913
+ u.value ? (W(), I("li", {
25909
25914
  key: 2,
25910
25915
  class: U(v.value),
25911
25916
  tabindex: y.value,
@@ -25914,7 +25919,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25914
25919
  onMouseleave: n[5] ||= (e) => p.value = !1,
25915
25920
  onFocus: n[6] ||= (e) => x(),
25916
25921
  onBlur: n[7] ||= (e) => h.value = !1
25917
- }, [(p.value || h.value) && !t.disabled ? (W(), P(J(u), { key: 0 })) : (W(), P(J(e), { key: 1 }))], 42, xV)) : F("v-if", !0),
25922
+ }, [(p.value || h.value) && !t.disabled ? (W(), P(J(d), { key: 0 })) : (W(), P(J(e), { key: 1 }))], 42, xV)) : F("v-if", !0),
25918
25923
  t.pageCount > 1 ? (W(), I("li", {
25919
25924
  key: 3,
25920
25925
  class: U([[J(a).is("active", t.currentPage === t.pageCount), J(a).is("disabled", t.disabled)], "number"]),
@@ -25982,7 +25987,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25982
25987
  },
25983
25988
  prevIcon: {
25984
25989
  type: RN,
25985
- default: () => a
25990
+ default: () => o
25986
25991
  },
25987
25992
  nextText: {
25988
25993
  type: String,
@@ -25990,7 +25995,7 @@ var JB = /* @__PURE__ */ HP(GB, [["render", qB]]), YB = PN(IB, {
25990
25995
  },
25991
25996
  nextIcon: {
25992
25997
  type: RN,
25993
- default: () => c
25998
+ default: () => l
25994
25999
  },
25995
26000
  teleported: {
25996
26001
  type: Boolean,
@@ -26786,7 +26791,7 @@ var yH = /*#__PURE__*/ mH(hH, [["render", vH], ["__scopeId", "data-v-6c749802"]]
26786
26791
  onClick: (e) => n("clicked", r)
26787
26792
  }, null, 10, wH))), 128))]));
26788
26793
  }
26789
- }, [["__scopeId", "data-v-afcfce15"]]), EH = {
26794
+ }, [["__scopeId", "data-v-172d1c0c"]]), EH = {
26790
26795
  tab: "Tab",
26791
26796
  enter: "Enter",
26792
26797
  space: "Space",
@@ -33600,13 +33605,60 @@ function r6() {
33600
33605
  timeout: n
33601
33606
  });
33602
33607
  }
33608
+ function n(e, t, n) {
33609
+ return `${e}/${t}/files/${encodeURIComponent(n)}`;
33610
+ }
33611
+ function r(e, t) {
33612
+ if (t && e) {
33613
+ for (let n = 0; n < e.length; n++) if (t === e[n].dataset.path) return e[n];
33614
+ }
33615
+ }
33616
+ function i(e, t) {
33617
+ if (t && e) return r(t, e.datacite.isSourceOf.path[0]);
33618
+ }
33619
+ function a(e, t, n, i) {
33620
+ if (n && n.length > 0) {
33621
+ let a;
33622
+ if (e && t) {
33623
+ let i = r(t, e.datacite.isSourceOf.path[0]);
33624
+ i && (a = r(n, i.datacite.isSourceOf.path[0]));
33625
+ }
33626
+ if (a) return a;
33627
+ if (i < n.length) return n[i];
33628
+ }
33629
+ }
33630
+ function o(e, t) {
33631
+ let n = `${e}/s3-resource/${t.datasetId}/${t.datasetVersion}/files/${t.file_path}?encodeBase64=true`;
33632
+ return t.s3Bucket && (n += `&s3BucketName=${t.s3Bucket}`), n;
33633
+ }
33634
+ function s(e, t) {
33635
+ let n = `${e}/thumbnail/neurolucida`;
33636
+ return n += `?datasetId=${t.datasetId}`, n += `&version=${t.datasetVersion}`, n += `&path=files/${t.segmentationFilePath}`, t.s3Bucket && (n += `&s3BucketName=${t.s3Bucket}`), n;
33637
+ }
33638
+ function c(e, t) {
33639
+ return `${e}/thumbnail/${t.id}`;
33640
+ }
33641
+ function l(e, n, r) {
33642
+ t(`${e}/image/${r.id}`, {}, 2e4).then((e) => {
33643
+ let t = n.find((e) => e.id === r.id), i = e.name;
33644
+ i && (t.title = i);
33645
+ }, (t) => (t.message.includes("timeout") && t.message.includes("exceeded") && r.fetchAttempts < 3 && (r.fetchAttempts += 1, l(e, n, r)), Promise.reject("Maximum iterations reached.")));
33646
+ }
33603
33647
  return {
33604
33648
  defaultImg: e,
33605
- getRequest: t
33606
- };
33607
- }
33608
- var i6 = ["src"], a6 = ["src"], o6 = {
33609
- key: 1,
33649
+ getRequest: t,
33650
+ getS3FilePath: n,
33651
+ findEntryWithPathInArray: r,
33652
+ getThumbnailForPlot: i,
33653
+ getThumbnailForScaffold: a,
33654
+ getImageURLFromS3: o,
33655
+ getSegmentationThumbnailURL: s,
33656
+ getThumbnailURLFromBiolucida: c,
33657
+ getImageInfoFromBiolucida: l
33658
+ };
33659
+ }
33660
+ var i6 = ["src"], a6 = ["src", "crossorigin"], o6 = {
33661
+ key: 0,
33610
33662
  class: "details"
33611
33663
  }, s6 = { key: 0 }, c6 = { class: "title text-placeholder" }, l6 = /*#__PURE__*/ SH({
33612
33664
  __name: "Card",
@@ -33642,6 +33694,10 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33642
33694
  shadow: {
33643
33695
  type: String,
33644
33696
  default: "always"
33697
+ },
33698
+ crossorigin: {
33699
+ type: String,
33700
+ default: "anonymous"
33645
33701
  }
33646
33702
  },
33647
33703
  emits: ["card-clicked", "datalink-clicked"],
@@ -33655,12 +33711,8 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33655
33711
  }
33656
33712
  return t.protocol === "http:" || t.protocol === "https:";
33657
33713
  }
33658
- let { defaultImg: r, getRequest: i } = r6(), a = G();
33659
- G(null), G(4);
33660
- let o = G(void 0), s = G(!1), c = G(!1), l = G(!1), u = e, d = t, f = N(() => u.data.title && ((o ? o.value : !1) || s.value) && (u.data.link || u.data.userData));
33661
- N(() => showCardDetails ? height * .525 : height), N(() => width - 2 * p), N(() => height * .237);
33662
- let p = N(() => height * .076);
33663
- N(() => showCardDetails ? height * .525 : height), Y(() => u.data, () => {
33714
+ let { defaultImg: r, getRequest: i } = r6(), a = G(), o = G(void 0), s = G(!1), c = G(!1), l = G(!1), u = e, d = N(() => u.data.crossorigin || u.crossorigin || "anonymous"), f = t, p = N(() => u.data.title && (o.value || s.value) && (u.data.link || u.data.userData));
33715
+ Y(() => u.data, () => {
33664
33716
  o.value = void 0, s.value = !1, l.value = !1, c.value = !1, u.data.thumbnail ? n(u.data.thumbnail) && u.data.mimetype ? h(u.data.thumbnail, { fetchAttempts: 0 }) : o.value = u.data.thumbnail : s.value = !0, H(() => {
33665
33717
  g();
33666
33718
  });
@@ -33672,9 +33724,9 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33672
33724
  function m() {
33673
33725
  if (u.data.link) {
33674
33726
  let e = document.createElement("a");
33675
- e.href = u.data.link, e.target = "_blank", document.body.appendChild(e), e.click(), d("datalink-clicked", u.data.link), e.remove();
33727
+ e.href = u.data.link, e.target = "_blank", document.body.appendChild(e), e.click(), f("datalink-clicked", u.data.link), e.remove();
33676
33728
  }
33677
- u.data.userData && d("card-clicked", u.data.userData);
33729
+ u.data.userData && f("card-clicked", u.data.userData);
33678
33730
  }
33679
33731
  function h(e, t) {
33680
33732
  i(e, {}, 11e3).then((e) => {
@@ -33687,12 +33739,12 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33687
33739
  function g() {
33688
33740
  if (u.data.hideTitle) c.value = !0, l.value = !0;
33689
33741
  else {
33690
- let e = a;
33742
+ let e = a.value;
33691
33743
  e && e.offsetParent ? (l.value = !0, e.offsetWidth >= e.scrollWidth ? c.value = !0 : c.value = !1) : u.data.title.length > 20 ? c.value = !1 : c.value = !0;
33692
33744
  }
33693
33745
  }
33694
33746
  return (t, n) => {
33695
- let i = J1, l = R1, u = B1, d = a0;
33747
+ let i = J1, l = R1, u = B1, f = a0;
33696
33748
  return W(), P(u, {
33697
33749
  shadow: e.shadow,
33698
33750
  "body-style": e.bodyStyle,
@@ -33702,53 +33754,50 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33702
33754
  }),
33703
33755
  class: "card"
33704
33756
  }, {
33705
- default: X(() => [bt((W(), I("div", null, [
33706
- L("div", {
33707
- class: "cursor-pointer",
33708
- style: ze(e.imageContainerStyle),
33709
- onClick: St(m, ["prevent"])
33710
- }, [s.value ? (W(), I("img", {
33711
- key: 0,
33712
- src: J(r),
33713
- style: ze(e.imageStyle)
33714
- }, null, 12, i6)) : (W(), I("img", {
33715
- key: 1,
33716
- src: o.value,
33717
- alt: "thumbnail loading ...",
33718
- style: ze(e.imageStyle)
33719
- }, null, 12, a6))], 4),
33720
- F("", !0),
33721
- e.showCardDetails ? (W(), I("div", o6, [
33722
- e.data.hideType ? F("", !0) : (W(), I("p", s6, [L("b", null, q(e.data.type), 1)])),
33723
- z(i, {
33724
- "virtual-ref": a.value,
33725
- disabled: c.value,
33726
- content: e.data.title,
33727
- placement: "top",
33728
- trigger: "hover",
33729
- "popper-class": "gallery-popper",
33730
- "virtual-triggering": ""
33731
- }, null, 8, [
33732
- "virtual-ref",
33733
- "disabled",
33734
- "content"
33735
- ]),
33736
- bt(L("p", {
33737
- ref_key: "titleText",
33738
- ref: a,
33739
- class: "title"
33740
- }, q(e.data.title), 513), [[_t, !e.data.hideTitle]]),
33741
- bt(L("p", c6, null, 512), [[_t, e.data.hideTitle]]),
33742
- z(l, {
33743
- class: "button",
33744
- onClick: St(m, ["prevent"]),
33745
- size: "large"
33746
- }, {
33747
- default: X(() => [R(" View " + q(e.data.type), 1)]),
33748
- _: 1
33749
- })
33750
- ])) : F("", !0)
33751
- ])), [[d, !f.value]])]),
33757
+ default: X(() => [bt((W(), I("div", null, [L("div", {
33758
+ class: "cursor-pointer",
33759
+ style: ze(e.imageContainerStyle),
33760
+ onClick: St(m, ["prevent"])
33761
+ }, [s.value ? (W(), I("img", {
33762
+ key: 0,
33763
+ src: J(r),
33764
+ style: ze(e.imageStyle)
33765
+ }, null, 12, i6)) : (W(), I("img", {
33766
+ key: 1,
33767
+ src: o.value,
33768
+ alt: "thumbnail loading ...",
33769
+ crossorigin: d.value,
33770
+ style: ze(e.imageStyle)
33771
+ }, null, 12, a6))], 4), e.showCardDetails ? (W(), I("div", o6, [
33772
+ e.data.hideType ? F("", !0) : (W(), I("p", s6, [L("b", null, q(e.data.type), 1)])),
33773
+ z(i, {
33774
+ "virtual-ref": a.value,
33775
+ disabled: c.value,
33776
+ content: e.data.title,
33777
+ placement: "top",
33778
+ trigger: "hover",
33779
+ "popper-class": "gallery-popper",
33780
+ "virtual-triggering": ""
33781
+ }, null, 8, [
33782
+ "virtual-ref",
33783
+ "disabled",
33784
+ "content"
33785
+ ]),
33786
+ bt(L("p", {
33787
+ ref_key: "titleText",
33788
+ ref: a,
33789
+ class: "title"
33790
+ }, q(e.data.title), 513), [[_t, !e.data.hideTitle]]),
33791
+ bt(L("p", c6, null, 512), [[_t, e.data.hideTitle]]),
33792
+ z(l, {
33793
+ class: "button",
33794
+ onClick: St(m, ["prevent"]),
33795
+ size: "large"
33796
+ }, {
33797
+ default: X(() => [R(" View " + q(e.data.type), 1)]),
33798
+ _: 1
33799
+ })
33800
+ ])) : F("", !0)])), [[f, !p.value]])]),
33752
33801
  _: 1
33753
33802
  }, 8, [
33754
33803
  "shadow",
@@ -33757,7 +33806,7 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33757
33806
  ]);
33758
33807
  };
33759
33808
  }
33760
- }, [["__scopeId", "data-v-8306387d"]]), u6 = {
33809
+ }, [["__scopeId", "data-v-f78dab5d"]]), u6 = {
33761
33810
  ref: "myButton",
33762
33811
  class: "gallery"
33763
33812
  }, d6 = { class: "gallery-strip" }, f6 = {
@@ -33828,6 +33877,10 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33828
33877
  shadow: {
33829
33878
  type: String,
33830
33879
  default: "always"
33880
+ },
33881
+ crossorigin: {
33882
+ type: String,
33883
+ default: "anonymous"
33831
33884
  }
33832
33885
  },
33833
33886
  emits: ["card-clicked", "datalink-clicked"],
@@ -33835,12 +33888,7 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33835
33888
  function r(e) {
33836
33889
  return typeof window < "u" ? e * parseFloat(window.getComputedStyle(document.documentElement).fontSize) : e * 16;
33837
33890
  }
33838
- let i = e, a = n, o = G(0), s = G(0), c = G(2), l = G(2), u = N(() => i.items.length), d = N(() => s.value > 0), f = N(() => s.value < u.value - 1), p = N(() => .78 * i.cardWidth);
33839
- N(() => {
33840
- let e = .25;
33841
- return u.value * (i.cardWidth + e) - e;
33842
- });
33843
- let m = N(() => {
33891
+ let i = e, a = n, o = G(0), s = G(0), c = G(2), l = G(2), u = N(() => i.items.length), d = N(() => s.value > 0), f = N(() => s.value < u.value - 1), p = N(() => .78 * i.cardWidth), m = N(() => {
33844
33892
  let e = r(.5), t = r(2), n = r(i.cardWidth), a = (i.maxWidth - 2 * t - 2 * e) / (1.1 * n);
33845
33893
  return Math.max(1, Math.floor(a));
33846
33894
  }), h = N(() => {
@@ -33908,6 +33956,7 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33908
33956
  height: p.value,
33909
33957
  shadow: e.shadow,
33910
33958
  "show-card-details": e.showCardDetails,
33959
+ crossorigin: e.crossorigin,
33911
33960
  onCardClicked: v,
33912
33961
  onDatalinkClicked: y
33913
33962
  }, null, 8, [
@@ -33918,7 +33967,8 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33918
33967
  "width",
33919
33968
  "height",
33920
33969
  "shadow",
33921
- "show-card-details"
33970
+ "show-card-details",
33971
+ "crossorigin"
33922
33972
  ])) : F("", !0)], 2))), 128))]),
33923
33973
  n[3] ||= L("div", { class: "filler" }, null, -1),
33924
33974
  e.items.length > 1 ? (W(), I("a", {
@@ -33941,7 +33991,7 @@ var i6 = ["src"], a6 = ["src"], o6 = {
33941
33991
  }, null, 8, ["count", "current"])) : F("", !0)
33942
33992
  ], 512));
33943
33993
  }
33944
- }, [["__scopeId", "data-v-e745b327"]]) },
33994
+ }, [["__scopeId", "data-v-a546ba46"]]) },
33945
33995
  props: {
33946
33996
  category: {
33947
33997
  type: String,
@@ -36147,7 +36197,7 @@ var cre = "data:image/svg+xml,%3csvg%20id='logo-sparc-wave-primary'%20data-name=
36147
36197
  components: {
36148
36198
  BadgesGroup: yH,
36149
36199
  ImageGallery: v6,
36150
- CopyToClipboard: r
36200
+ CopyToClipboard: ge
36151
36201
  },
36152
36202
  mixins: [lre, C6],
36153
36203
  props: {
@@ -36162,7 +36212,7 @@ var cre = "data:image/svg+xml,%3csvg%20id='logo-sparc-wave-primary'%20data-name=
36162
36212
  },
36163
36213
  data: function() {
36164
36214
  return {
36165
- ElIconView: fe,
36215
+ ElIconView: de,
36166
36216
  thumbnail: S6,
36167
36217
  dataLocation: this.entry.doi,
36168
36218
  discoverId: void 0,
@@ -36698,7 +36748,7 @@ var Sre = {
36698
36748
  viewBox: "0 0 24 24"
36699
36749
  }, jre = { key: 0 }, Mre = { key: 1 }, Nre = { key: 2 };
36700
36750
  function Pre(e, t, n, r, i, a) {
36701
- let o = NV, s = qI, c = m, l = UN, u = HI, d = ue, f = XB, p = ZB, h = YB;
36751
+ let o = NV, s = qI, c = m, l = UN, u = HI, d = le, f = XB, p = ZB, h = YB;
36702
36752
  return i.searchHistory.length ? (W(), I("div", Cre, [i.savedSearchHistory.length ? (W(), I("div", wre, [(W(!0), I(M, null, $e(i.savedSearchHistory, (e, t) => (W(), I(M, { key: e.id }, [t < 2 ? (W(), P(s, {
36703
36753
  class: "search-tag",
36704
36754
  key: t,
@@ -40059,16 +40109,16 @@ var N9 = /*#__PURE__*/ mH(hie, [["render", Tie], ["__scopeId", "data-v-fe8a4738"
40059
40109
  }, Die = {
40060
40110
  name: "ConnectivityInfo",
40061
40111
  components: {
40062
- ElIconWarning: E,
40112
+ ElIconWarning: T,
40063
40113
  ElIconLocation: h,
40064
- ElIconSearch: ee,
40114
+ ElIconSearch: O,
40065
40115
  ElIconArrowDown: m,
40066
- ElIconArrowUp: d,
40067
- ExternalResourceCard: re,
40068
- CopyToClipboard: r,
40069
- ConnectivityGraph: v,
40116
+ ElIconArrowUp: f,
40117
+ ExternalResourceCard: i,
40118
+ CopyToClipboard: ge,
40119
+ ConnectivityGraph: r,
40070
40120
  ConnectivityList: p,
40071
- ConnectivityReconciliationList: _,
40121
+ ConnectivityReconciliationList: _e,
40072
40122
  ContributorItem: N9
40073
40123
  },
40074
40124
  props: {
@@ -40615,7 +40665,7 @@ var N9 = /*#__PURE__*/ mH(hie, [["render", Tie], ["__scopeId", "data-v-fe8a4738"
40615
40665
  class: "consultant-error"
40616
40666
  }, iae = { key: 0 }, aae = { key: 1 }, oae = ["onClick"];
40617
40667
  function sae(e, t, n, r, i, a) {
40618
- let o = d, c = m, l = UN, u = te, f = HI, p = h, g = NV, _ = et("CopyToClipboard"), v = s, y = E, b = QR, x = $R, S = ee, C = et("connectivity-reconciliation-list"), w = et("connectivity-list"), T = et("connectivity-graph"), D = et("ExternalResourceCard"), O = N9, k = WV;
40668
+ let o = f, s = m, l = UN, u = j, d = HI, p = h, g = NV, _ = et("CopyToClipboard"), v = c, y = T, b = QR, x = $R, S = O, C = et("connectivity-reconciliation-list"), w = et("connectivity-list"), E = et("connectivity-graph"), D = et("ExternalResourceCard"), ee = N9, k = WV;
40619
40669
  return a.entry ? (W(), I("div", Oie, [
40620
40670
  L("div", kie, [L("div", Aie, [a.entry.title ? (W(), I("div", jie, [
40621
40671
  L("div", Mie, [L("div", {
@@ -40628,10 +40678,10 @@ function sae(e, t, n, r, i, a) {
40628
40678
  type: "button",
40629
40679
  onClick: t[1] ||= (...e) => a.toggleTitleExpansion && a.toggleTitleExpansion(...e)
40630
40680
  }, [R(q(e.isTitleExpanded ? "Collapse" : "Expand title") + " ", 1), z(l, { class: "title-toggle-icon" }, {
40631
- default: X(() => [e.isTitleExpanded ? (W(), P(o, { key: 0 })) : (W(), P(c, { key: 1 }))]),
40681
+ default: X(() => [e.isTitleExpanded ? (W(), P(o, { key: 0 })) : (W(), P(s, { key: 1 }))]),
40632
40682
  _: 1
40633
40683
  })])) : F("", !0)]),
40634
- L("div", Nie, [L("span", Pie, q(a.entry.featureId[0]), 1), a.entry.featuresAlert?.length ? (W(), P(f, {
40684
+ L("div", Nie, [L("span", Pie, q(a.entry.featureId[0]), 1), a.entry.featuresAlert?.length ? (W(), P(d, {
40635
40685
  key: 0,
40636
40686
  round: "",
40637
40687
  size: "small",
@@ -40652,7 +40702,7 @@ function sae(e, t, n, r, i, a) {
40652
40702
  teleported: !1,
40653
40703
  "popper-class": "popover-map-pin"
40654
40704
  }, {
40655
- reference: X(() => [z(f, {
40705
+ reference: X(() => [z(d, {
40656
40706
  class: "button-circle secondary",
40657
40707
  circle: "",
40658
40708
  onClick: a.showConnectivity
@@ -40677,7 +40727,7 @@ function sae(e, t, n, r, i, a) {
40677
40727
  teleported: !1,
40678
40728
  "popper-class": "popover-map-pin"
40679
40729
  }, {
40680
- reference: X(() => [z(f, {
40730
+ reference: X(() => [z(d, {
40681
40731
  class: "button-circle",
40682
40732
  circle: "",
40683
40733
  onClick: a.closeConnectivity
@@ -40744,13 +40794,13 @@ function sae(e, t, n, r, i, a) {
40744
40794
  _: 1
40745
40795
  })]),
40746
40796
  _: 1
40747
- }, 8, ["modelValue", "onChange"])])), L("div", { class: U(["population-details-view", { "align-right": a.hasSingleConnectivityList }]) }, [z(f, {
40797
+ }, 8, ["modelValue", "onChange"])])), L("div", { class: U(["population-details-view", { "align-right": a.hasSingleConnectivityList }]) }, [z(d, {
40748
40798
  class: U(e.activeView === "listView" ? "button" : "el-button-secondary"),
40749
40799
  onClick: t[3] ||= (e) => a.switchConnectivityView("listView")
40750
40800
  }, {
40751
40801
  default: X(() => [...t[15] ||= [R(" List view ", -1)]]),
40752
40802
  _: 1
40753
- }, 8, ["class"]), z(f, {
40803
+ }, 8, ["class"]), z(d, {
40754
40804
  class: U(e.activeView === "graphView" ? "button" : "el-button-secondary"),
40755
40805
  onClick: t[4] ||= (e) => a.switchConnectivityView("graphView")
40756
40806
  }, {
@@ -40845,13 +40895,13 @@ function sae(e, t, n, r, i, a) {
40845
40895
  "onConnectivityClicked",
40846
40896
  "onConnectivityActionClick"
40847
40897
  ])), [[k, e.connectivityLoading]])], 512), [[_t, e.activeView === "listView"]]),
40848
- bt(L("div", Yie, [e.graphViewLoaded ? (W(), I(M, { key: 0 }, [z(f, {
40898
+ bt(L("div", Yie, [e.graphViewLoaded ? (W(), I(M, { key: 0 }, [z(d, {
40849
40899
  class: "button",
40850
40900
  onClick: a.openGraphInViewer
40851
40901
  }, {
40852
40902
  default: X(() => [...t[19] ||= [R("Open in viewer", -1)]]),
40853
40903
  _: 1
40854
- }, 8, ["onClick"]), bt((W(), P(T, {
40904
+ }, 8, ["onClick"]), bt((W(), P(E, {
40855
40905
  key: `${a.connectivityKey}graph`,
40856
40906
  entry: a.entry.featureId[0],
40857
40907
  mapServer: a.flatmapApi,
@@ -40903,7 +40953,7 @@ function sae(e, t, n, r, i, a) {
40903
40953
  key: t,
40904
40954
  innerHTML: a.formatAlertText(e)
40905
40955
  }, null, 8, $ie))), 128))])], 512)) : F("", !0),
40906
- e.expertConsultants.length ? (W(), I("div", eae, [t[23] ||= L("div", { class: "block attribute-title-container" }, [L("span", { class: "attribute-title" }, "Expert Consultants")], -1), L("ul", tae, [(W(!0), I(M, null, $e(e.expertConsultants, (e) => (W(), I("li", { key: e.url }, [e.name ? (W(), P(O, {
40956
+ e.expertConsultants.length ? (W(), I("div", eae, [t[23] ||= L("div", { class: "block attribute-title-container" }, [L("span", { class: "attribute-title" }, "Expert Consultants")], -1), L("ul", tae, [(W(!0), I(M, null, $e(e.expertConsultants, (e) => (W(), I("li", { key: e.url }, [e.name ? (W(), P(ee, {
40907
40957
  key: 0,
40908
40958
  contributor: e
40909
40959
  }, null, 8, ["contributor"])) : e.error ? F("", !0) : (W(), I("div", nae, [L("span", null, "Loading " + q(e.url), 1)])), e.error ? (W(), I("div", rae, [e.errorMessage ? (W(), I("span", iae, q(e.errorMessage), 1)) : (W(), I("span", aae, "Sorry, something went wrong.")), e.refreshable ? (W(), I(M, { key: 2 }, [
@@ -40916,7 +40966,7 @@ function sae(e, t, n, r, i, a) {
40916
40966
  ], 64)) : F("", !0)])) : F("", !0)]))), 128))])])) : F("", !0)
40917
40967
  ])) : F("", !0);
40918
40968
  }
40919
- var F9 = /*#__PURE__*/ mH(Die, [["render", sae], ["__scopeId", "data-v-3a094b58"]]), cae = {
40969
+ var F9 = /*#__PURE__*/ mH(Die, [["render", sae], ["__scopeId", "data-v-cbf988e3"]]), cae = {
40920
40970
  name: "ConnectivityCard",
40921
40971
  data() {
40922
40972
  return { displayFields: ["id", "nerve-label"] };
@@ -41501,7 +41551,7 @@ function Sae(e, t, n, r, i, a) {
41501
41551
  var L9 = /*#__PURE__*/ mH(_ae, [["render", Sae], ["__scopeId", "data-v-3eee4b39"]]), Cae = {
41502
41552
  name: "AnnotationTool",
41503
41553
  components: {
41504
- AnnotationPopup: f,
41554
+ AnnotationPopup: te,
41505
41555
  CreateTooltipContent: ne
41506
41556
  },
41507
41557
  props: {
@@ -41513,7 +41563,7 @@ var L9 = /*#__PURE__*/ mH(_ae, [["render", Sae], ["__scopeId", "data-v-3eee4b39"
41513
41563
  },
41514
41564
  data: function() {
41515
41565
  return {
41516
- ElIconDelete: at(ue),
41566
+ ElIconDelete: at(le),
41517
41567
  annotationPopupData: null
41518
41568
  };
41519
41569
  }
@@ -41581,7 +41631,7 @@ function Eae(e, t, n, r, i, a) {
41581
41631
  }
41582
41632
  var R9 = /*#__PURE__*/ mH(Cae, [["render", Eae], ["__scopeId", "data-v-5ab1d8ef"]]), Dae = {
41583
41633
  name: "Tabs",
41584
- components: { ElIconClose: s },
41634
+ components: { ElIconClose: c },
41585
41635
  props: {
41586
41636
  tabEntries: {
41587
41637
  type: Array,
@@ -41622,12 +41672,12 @@ var R9 = /*#__PURE__*/ mH(Cae, [["render", Eae], ["__scopeId", "data-v-5ab1d8ef"
41622
41672
  }
41623
41673
  }, Oae = { class: "tabs-container" }, kae = ["onClick"], Aae = { class: "tab-title" };
41624
41674
  function jae(e, t, n, r, i, a) {
41625
- let o = s, c = UN;
41675
+ let o = c, s = UN;
41626
41676
  return W(), I("div", Oae, [(W(!0), I(M, null, $e(a.tabs, (e) => (W(), I("div", {
41627
41677
  class: U(["tab", { "active-tab": e.id == n.activeId }]),
41628
41678
  key: e.id,
41629
41679
  onClick: (t) => a.tabClicked(e)
41630
- }, [L("span", Aae, q(e.title), 1), e.closable ? (W(), P(c, {
41680
+ }, [L("span", Aae, q(e.title), 1), e.closable ? (W(), P(s, {
41631
41681
  key: 0,
41632
41682
  onClick: St((t) => a.tabClosed(e), ["stop"]),
41633
41683
  class: "tab-close-icon"
@@ -41640,8 +41690,8 @@ var z9 = /*#__PURE__*/ mH(Dae, [["render", jae], ["__scopeId", "data-v-5dc8af1d"
41640
41690
  components: {
41641
41691
  DatasetExplorer: M9,
41642
41692
  Tabs: z9,
41643
- ElIconArrowLeft: a,
41644
- ElIconArrowRight: c,
41693
+ ElIconArrowLeft: o,
41694
+ ElIconArrowRight: l,
41645
41695
  AnnotationTool: R9,
41646
41696
  ConnectivityExplorer: L9
41647
41697
  },
@@ -41914,13 +41964,13 @@ var z9 = /*#__PURE__*/ mH(Dae, [["render", jae], ["__scopeId", "data-v-5dc8af1d"
41914
41964
  });
41915
41965
  }
41916
41966
  }, Nae = { ref: "container" }, Pae = { class: "box-card" }, Fae = { class: "sidebar-container" };
41917
- function Iae(e, t, n, r, i, o) {
41918
- let s = a, l = UN, u = c, d = z9, f = R9, p = L9, m = M9, h = qz;
41967
+ function Iae(e, t, n, r, i, a) {
41968
+ let s = o, c = UN, u = l, d = z9, f = R9, p = L9, m = M9, h = qz;
41919
41969
  return W(), I("div", Nae, [e.drawerOpen ? F("", !0) : (W(), I("div", {
41920
41970
  key: 0,
41921
- onClick: t[0] ||= (...e) => o.toggleDrawer && o.toggleDrawer(...e),
41971
+ onClick: t[0] ||= (...e) => a.toggleDrawer && a.toggleDrawer(...e),
41922
41972
  class: "open-tab"
41923
- }, [z(l, null, {
41973
+ }, [z(c, null, {
41924
41974
  default: X(() => [z(s)]),
41925
41975
  _: 1
41926
41976
  })])), z(h, {
@@ -41939,18 +41989,18 @@ function Iae(e, t, n, r, i, o) {
41939
41989
  }, {
41940
41990
  default: X(() => [L("div", Pae, [e.drawerOpen ? (W(), I("div", {
41941
41991
  key: 0,
41942
- onClick: t[1] ||= (...e) => o.close && o.close(...e),
41992
+ onClick: t[1] ||= (...e) => a.close && a.close(...e),
41943
41993
  class: "close-tab"
41944
- }, [z(l, null, {
41994
+ }, [z(c, null, {
41945
41995
  default: X(() => [z(u)]),
41946
41996
  _: 1
41947
- })])) : F("", !0), L("div", Fae, [o.tabEntries.length > 1 ? (W(), P(d, {
41997
+ })])) : F("", !0), L("div", Fae, [a.tabEntries.length > 1 ? (W(), P(d, {
41948
41998
  key: 0,
41949
- tabEntries: o.tabEntries,
41999
+ tabEntries: a.tabEntries,
41950
42000
  activeId: e.activeTabId,
41951
- onTabClicked: o.tabClicked,
41952
- onTabClosed: o.tabClosed,
41953
- onTrackEvent: o.trackEvent
42001
+ onTabClicked: a.tabClicked,
42002
+ onTabClosed: a.tabClosed,
42003
+ onTrackEvent: a.trackEvent
41954
42004
  }, null, 8, [
41955
42005
  "tabEntries",
41956
42006
  "activeId",
@@ -41967,8 +42017,8 @@ function Iae(e, t, n, r, i, o) {
41967
42017
  onConfirmCreate: t[3] ||= (t) => e.$emit("confirm-create", t),
41968
42018
  onCancelCreate: t[4] ||= (t) => e.$emit("cancel-create"),
41969
42019
  onConfirmDelete: t[5] ||= (t) => e.$emit("confirm-delete", t),
41970
- onHoverChanged: (e) => o.hoverChanged(r.id, e),
41971
- onTrackEvent: o.trackEvent
42020
+ onHoverChanged: (e) => a.hoverChanged(r.id, e),
42021
+ onTrackEvent: a.trackEvent
41972
42022
  }, null, 8, [
41973
42023
  "annotationEntry",
41974
42024
  "createData",
@@ -41986,13 +42036,13 @@ function Iae(e, t, n, r, i, o) {
41986
42036
  onFilterVisibility: t[6] ||= (t) => e.$emit("filter-visibility", t),
41987
42037
  connectivityFilterOptions: n.filterOptions,
41988
42038
  showVisibilityFilter: n.showVisibilityFilter,
41989
- onSearchChanged: (e) => o.searchChanged(r.id, e),
41990
- onHoverChanged: (e) => o.hoverChanged(r.id, e),
41991
- onShowConnectivity: o.showConnectivity,
41992
- onShowReferenceConnectivities: o.onShowReferenceConnectivities,
41993
- onConnectivityHovered: o.onConnectivityHovered,
41994
- onConnectivityCollapseChange: o.onConnectivityCollapseChange,
41995
- onConnectivityItemClose: o.onConnectivityItemClose
42039
+ onSearchChanged: (e) => a.searchChanged(r.id, e),
42040
+ onHoverChanged: (e) => a.hoverChanged(r.id, e),
42041
+ onShowConnectivity: a.showConnectivity,
42042
+ onShowReferenceConnectivities: a.onShowReferenceConnectivities,
42043
+ onConnectivityHovered: a.onConnectivityHovered,
42044
+ onConnectivityCollapseChange: a.onConnectivityCollapseChange,
42045
+ onConnectivityItemClose: a.onConnectivityItemClose
41996
42046
  }, null, 8, [
41997
42047
  "connectivityKnowledge",
41998
42048
  "envVars",
@@ -42015,8 +42065,8 @@ function Iae(e, t, n, r, i, o) {
42015
42065
  envVars: n.envVars,
42016
42066
  ref_for: !0,
42017
42067
  ref: "datasetExplorerTab_" + r.id,
42018
- onSearchChanged: (e) => o.searchChanged(r.id, e),
42019
- onHoverChanged: (e) => o.hoverChanged(r.id, e)
42068
+ onSearchChanged: (e) => a.searchChanged(r.id, e),
42069
+ onHoverChanged: (e) => a.hoverChanged(r.id, e)
42020
42070
  }, null, 8, [
42021
42071
  "contextCardEntry",
42022
42072
  "envVars",
@@ -42206,7 +42256,7 @@ var Vae = Ct("main", {
42206
42256
  SideBar: Lae
42207
42257
  },
42208
42258
  setup(e) {
42209
- let t = Vae(), n = ge(), r = Ie(new Bae(`${n.flatmapAPI}annotator`));
42259
+ let t = Vae(), n = he(), r = Ie(new Bae(`${n.flatmapAPI}annotator`));
42210
42260
  return Ye("userApiKey", t.userToken), Ye("$annotator", r), Ye("showLongLabel", N(() => e.showLongLabel)), { annotator: r };
42211
42261
  },
42212
42262
  props: {
@@ -42272,7 +42322,7 @@ var Vae = Ct("main", {
42272
42322
  { NOT: { HAS: "nerves" } },
42273
42323
  { AND: [{ "tile-layer": "pathways" }, { models: this.connectivityHighlight }] }
42274
42324
  ] }, n = this.filterVisibility && this.connectivityProcessed ? t : void 0;
42275
- D.emit("filter-visibility", n);
42325
+ E.emit("filter-visibility", n);
42276
42326
  },
42277
42327
  onConnectivityCollapseChange: function(e) {
42278
42328
  this.expanded = e.id;
@@ -42286,7 +42336,7 @@ var Vae = Ct("main", {
42286
42336
  }
42287
42337
  },
42288
42338
  onConnectivityItemClose: function() {
42289
- D.emit("connectivity-item-close");
42339
+ E.emit("connectivity-item-close");
42290
42340
  },
42291
42341
  getActiveFlatmaps: function() {
42292
42342
  let e = [], t = this.$refs.splitdialog;
@@ -42345,15 +42395,15 @@ var Vae = Ct("main", {
42345
42395
  }), this.filterTriggered = !0;
42346
42396
  }
42347
42397
  } else if (e.type == "Facets") {
42348
- let t = [], n = Q9(e, this.availableNameCurieMapping), r = A(this.availableFacets, n), i = r.join(", ");
42398
+ let t = [], n = Q9(e, this.availableNameCurieMapping), r = k(this.availableFacets, n), i = r.join(", ");
42349
42399
  this.settingsStore.facets.species.forEach((e) => {
42350
42400
  t.push({
42351
- facet: ie(e),
42401
+ facet: re(e),
42352
42402
  term: "Species",
42353
42403
  facetPropPath: "organisms.primary.species.name"
42354
42404
  });
42355
42405
  }), t.push(...r.map((e) => ({
42356
- facet: ie(e),
42406
+ facet: re(e),
42357
42407
  term: "Anatomical structure",
42358
42408
  facetPropPath: "anatomy.organ.category.name",
42359
42409
  facetSubPropPath: "anatomy.organ.name"
@@ -42403,7 +42453,7 @@ var Vae = Ct("main", {
42403
42453
  onShowConnectivity: function(e) {
42404
42454
  if (e.length) {
42405
42455
  let t = this.splitFlowStore.getState()?.activeView || "";
42406
- D.emit("show-connectivity", {
42456
+ E.emit("show-connectivity", {
42407
42457
  featureIds: e,
42408
42458
  offset: t === "singlepanel" || t === "2horpanel"
42409
42459
  });
@@ -42446,13 +42496,13 @@ var Vae = Ct("main", {
42446
42496
  }
42447
42497
  if (this.connectivityExplorerClicked.length) this.connectivityEntry.every((e) => e.ready) && this.connectivityExplorerClicked.pop();
42448
42498
  else {
42449
- let e = this.connectivityEntry.map((e) => e.id), t = this.settingsStore.flatmapAPI, { viewingMode: n } = this.settingsStore.globalSettings, r = this.connectivityEntry[0].mapuuid || "", a = [], o = [];
42499
+ let e = this.connectivityEntry.map((e) => e.id), t = this.settingsStore.flatmapAPI, { viewingMode: n } = this.settingsStore.globalSettings, r = this.connectivityEntry[0].mapuuid || "", i = [], o = [];
42450
42500
  if (n === "Neuron Connection" && e.length && r) {
42451
- o = await i(t, r, e);
42501
+ o = await a(t, r, e);
42452
42502
  let n = [...e, ...o], s = this.connectivitiesStore.getUniqueConnectivitiesByKeys;
42453
- a = n.map((e) => s.find((t) => t.id === e));
42503
+ i = n.map((e) => s.find((t) => t.id === e));
42454
42504
  }
42455
- o.length ? (this.connectivityEntry = [], this.connectivityKnowledge = a, this.connectivityHighlight = this.connectivityKnowledge.map((e) => e.id), this.connectivityProcessed = !0) : (this.connectivityKnowledge = this.connectivityEntry, this.connectivityKnowledge.every((e) => e.ready) && (this.connectivityHighlight = this.connectivityKnowledge.map((e) => e.id), this.connectivityProcessed = !0)), this.$refs.sideBar && (this.$refs.sideBar.tabClicked({
42505
+ o.length ? (this.connectivityEntry = [], this.connectivityKnowledge = i, this.connectivityHighlight = this.connectivityKnowledge.map((e) => e.id), this.connectivityProcessed = !0) : (this.connectivityKnowledge = this.connectivityEntry, this.connectivityKnowledge.every((e) => e.ready) && (this.connectivityHighlight = this.connectivityKnowledge.map((e) => e.id), this.connectivityProcessed = !0)), this.$refs.sideBar && (this.$refs.sideBar.tabClicked({
42456
42506
  id: 2,
42457
42507
  type: "connectivityExplorer"
42458
42508
  }), this.$refs.sideBar.setDrawerOpen(!0));
@@ -42465,13 +42515,13 @@ var Vae = Ct("main", {
42465
42515
  }), this.$refs.sideBar.setDrawerOpen(!0));
42466
42516
  },
42467
42517
  onShowReferenceConnectivities: function(e) {
42468
- D.emit("show-reference-connectivities", e);
42518
+ E.emit("show-reference-connectivities", e);
42469
42519
  },
42470
42520
  onConnectivityHovered: function(e) {
42471
- D.emit("connectivity-hovered", e);
42521
+ E.emit("connectivity-hovered", e);
42472
42522
  },
42473
42523
  onConnectivitySourceChange: function(e) {
42474
- this.connectivityExplorerClicked.push(!0), D.emit("connectivity-source-change", e);
42524
+ this.connectivityExplorerClicked.push(!0), E.emit("connectivity-source-change", e);
42475
42525
  },
42476
42526
  onShowConnectivityGraph: function(e) {
42477
42527
  let t = this.splitFlowStore.customLayout?.["pane-1"]?.id, n = this.createNewEntry({
@@ -42498,7 +42548,7 @@ var Vae = Ct("main", {
42498
42548
  },
42499
42549
  hoverChanged: function(e) {
42500
42550
  let t = [], n = [], r = "", i = [];
42501
- e.tabType === "dataset" ? (t = e.anatomy ? e.anatomy : [], n = e.organs ? e.organs : [], r = e.doi ? e.doi : "") : e.tabType === "connectivity" ? (i = e.id ? [e.id] : this.connectivityHighlight, n = e["nerve-label"] ? e["nerve-label"].flatMap((e) => e.subNerves) : []) : e.tabType === "annotation" && (i = e.models ? [e.models] : this.annotationHighlight), this.settingsStore.updateHoverFeatures(t, n, r, i), D.emit("hoverUpdate", { connectivityProcessed: this.connectivityProcessed });
42551
+ e.tabType === "dataset" ? (t = e.anatomy ? e.anatomy : [], n = e.organs ? e.organs : [], r = e.doi ? e.doi : "") : e.tabType === "connectivity" ? (i = e.id ? [e.id] : this.connectivityHighlight, n = e["nerve-label"] ? e["nerve-label"].flatMap((e) => e.subNerves) : []) : e.tabType === "annotation" && (i = e.models ? [e.models] : this.annotationHighlight), this.settingsStore.updateHoverFeatures(t, n, r, i), E.emit("hoverUpdate", { connectivityProcessed: this.connectivityProcessed });
42502
42552
  },
42503
42553
  searchChanged: function(e) {
42504
42554
  if (e.tabType === "dataset") {
@@ -42528,7 +42578,7 @@ var Vae = Ct("main", {
42528
42578
  else {
42529
42579
  this.expanded = "", this.connectivityEntry = [], this.getActiveFlatmaps().forEach((t) => {
42530
42580
  t.updateConnectivityFilters(e.filter);
42531
- }), D.emit("connectivity-query-filter", e);
42581
+ }), E.emit("connectivity-query-filter", e);
42532
42582
  let t = e.filter.filter((e) => e.facet && e.facet.toLowerCase() !== "show all").map((e) => e.tagLabel).join(", "), n = e.query;
42533
42583
  t && ve.sendEvent({
42534
42584
  event: "interaction_event",
@@ -42545,7 +42595,7 @@ var Vae = Ct("main", {
42545
42595
  }
42546
42596
  },
42547
42597
  updateMarkers: function(e) {
42548
- this.settingsStore.updateMarkers(e), D.emit("markerUpdate");
42598
+ this.settingsStore.updateMarkers(e), E.emit("markerUpdate");
42549
42599
  },
42550
42600
  updateScaffoldMarkers: function(e) {
42551
42601
  this.settingsStore.updateNumberOfDatasetsForFacets(e);
@@ -42562,8 +42612,8 @@ var Vae = Ct("main", {
42562
42612
  }) : this.splitFlowStore.setIdToPrimaryPane(n.id), this.$refs.sideBar && this.$refs.sideBar.setDrawerOpen(!1), n.id;
42563
42613
  },
42564
42614
  openNewMap: async function(e) {
42565
- let t = await le(e, this.settingsStore.sparcApi);
42566
- this.createNewEntry(t), t.contextCard && D.emit("contextUpdate", t.contextCard);
42615
+ let t = await ce(e, this.settingsStore.sparcApi);
42616
+ this.createNewEntry(t), t.contextCard && E.emit("contextUpdate", t.contextCard);
42567
42617
  },
42568
42618
  openSearch: function(e, t) {
42569
42619
  this.search = t, this._facets = e, this.$refs && this.$refs.sideBar && (this.$refs.sideBar.openSearch(e, t), this.$refs.sideBar.tabClicked({
@@ -42575,7 +42625,7 @@ var Vae = Ct("main", {
42575
42625
  this.$emit("onFullscreen", e);
42576
42626
  },
42577
42627
  resetApp: function() {
42578
- this.setState(ae());
42628
+ this.setState(ie());
42579
42629
  },
42580
42630
  setIdToPrimaryPane: function(e) {
42581
42631
  this.splitFlowStore.setIdToPrimaryPane(e);
@@ -42654,11 +42704,11 @@ var Vae = Ct("main", {
42654
42704
  },
42655
42705
  speciesChanged: function(e) {
42656
42706
  this.$refs.sideBar && this.$nextTick(() => {
42657
- D.emit("species-layout-connectivity-update"), this.$refs.sideBar.close();
42707
+ E.emit("species-layout-connectivity-update"), this.$refs.sideBar.close();
42658
42708
  });
42659
42709
  },
42660
42710
  contextUpdate: function(e) {
42661
- D.emit("contextUpdate", e);
42711
+ E.emit("contextUpdate", e);
42662
42712
  },
42663
42713
  datalinkClicked: function(e) {
42664
42714
  let t = e || "", n = t.substring(t.indexOf("datasets/") + 9, t.indexOf("?type=dataset"));
@@ -42687,7 +42737,7 @@ var Vae = Ct("main", {
42687
42737
  "interactiveMode" in t && (e.id === 1 && e.type === "datasetExplorer" ? t.interactiveMode = "dataset" : e.id === 2 && e.type === "connectivityExplorer" && (t.interactiveMode = "connectivity"), this.settingsStore.updateGlobalSettings(t)), this.$refs.dialogToolbar.loadGlobalSettings();
42688
42738
  },
42689
42739
  onSidebarTabClosed: function(e) {
42690
- e.id === 3 && e.type === "annotation" && D.emit("sidebar-annotation-close");
42740
+ e.id === 3 && e.type === "annotation" && E.emit("sidebar-annotation-close");
42691
42741
  },
42692
42742
  updateGlobalSettingsFromState: function(e) {
42693
42743
  e?.globalSettings && this.settingsStore.updateGlobalSettings(e.globalSettings);
@@ -42704,15 +42754,15 @@ var Vae = Ct("main", {
42704
42754
  this._facets = [], this._externalStateSet = !1;
42705
42755
  },
42706
42756
  mounted: function() {
42707
- D.on("CreateNewEntry", (e) => {
42757
+ E.on("CreateNewEntry", (e) => {
42708
42758
  this.createNewEntry(e);
42709
- }), D.on("RemoveEntryRequest", (e) => {
42759
+ }), E.on("RemoveEntryRequest", (e) => {
42710
42760
  this.removeEntry(e);
42711
- }), D.on("PopoverActionClick", (e) => {
42761
+ }), E.on("PopoverActionClick", (e) => {
42712
42762
  this.actionClick(e);
42713
- }), D.on("annotation-open", (e) => {
42763
+ }), E.on("annotation-open", (e) => {
42714
42764
  this.openAnnotation(e);
42715
- }), D.on("sidebar-annotation-close", () => {
42765
+ }), E.on("sidebar-annotation-close", () => {
42716
42766
  let { interactiveMode: e, viewingMode: t } = { ...this.settingsStore.globalSettings };
42717
42767
  if (this.sidebarAnnotationState && t === "Annotation") {
42718
42768
  this.sidebarAnnotationState = !1, this.$refs.sideBar.tabClicked({
@@ -42727,16 +42777,16 @@ var Vae = Ct("main", {
42727
42777
  }) : e === "connectivity" && this.$refs.sideBar.tabClicked({
42728
42778
  id: 2,
42729
42779
  type: "connectivityExplorer"
42730
- }), this.$refs.sideBar.closeConnectivity(), D.emit("connectivity-item-close"));
42731
- }), D.on("update-offline-annotation-enabled", (e) => {
42780
+ }), this.$refs.sideBar.closeConnectivity(), E.emit("connectivity-item-close"));
42781
+ }), E.on("update-offline-annotation-enabled", (e) => {
42732
42782
  this.settingsStore.updateOfflineAnnotationEnabled(e);
42733
- }), D.on("connectivity-info-open", (e) => {
42783
+ }), E.on("connectivity-info-open", (e) => {
42734
42784
  this.openConnectivityInfo(e);
42735
- }), D.on("connectivity-info-close", (e) => {
42785
+ }), E.on("connectivity-info-close", (e) => {
42736
42786
  this.$refs.sideBar && (this.connectivityProcessed = !1, this.$refs.sideBar.resetConnectivitySearch());
42737
- }), D.on("connectivity-error", (e) => {
42787
+ }), E.on("connectivity-error", (e) => {
42738
42788
  this.$refs.sideBar && this.$refs.sideBar.updateConnectivityError(e.data);
42739
- }), D.on("neuron-connection-feature-click", (e) => {
42789
+ }), E.on("neuron-connection-feature-click", (e) => {
42740
42790
  if (this.$refs.sideBar) {
42741
42791
  let { filters: t, search: n } = e;
42742
42792
  this.$refs.sideBar.openConnectivitySearch(t, n), this.$refs.sideBar.tabClicked({
@@ -42744,13 +42794,13 @@ var Vae = Ct("main", {
42744
42794
  type: "connectivityExplorer"
42745
42795
  }), this.$refs.sideBar.setDrawerOpen(!0);
42746
42796
  }
42747
- }), D.on("OpenNewMap", (e) => {
42797
+ }), E.on("OpenNewMap", (e) => {
42748
42798
  this.updateFlatmapMinimap(), this.openNewMap(e);
42749
- }), D.on("startHelp", () => {
42799
+ }), E.on("startHelp", () => {
42750
42800
  this.$refs.sideBar && this.$refs.sideBar.close();
42751
- }), D.on("connectivity-knowledge", (e) => {
42801
+ }), E.on("connectivity-knowledge", (e) => {
42752
42802
  e.isDefaultKnowledge && this.restoringConnectivityState || (this.connectivityKnowledge = e.data, this.connectivityHighlight = e.highlight, this.connectivityProcessed = e.processed), this.sidebarStateRestored || this.restoreSidebarState(this.state);
42753
- }), D.on("modeUpdate", (e) => {
42803
+ }), E.on("modeUpdate", (e) => {
42754
42804
  e === "dataset" ? this.$refs.sideBar.tabClicked({
42755
42805
  id: 1,
42756
42806
  type: "datasetExplorer"
@@ -42758,7 +42808,7 @@ var Vae = Ct("main", {
42758
42808
  id: 2,
42759
42809
  type: "connectivityExplorer"
42760
42810
  });
42761
- }), D.on("connectivity-filter-options", (e) => {
42811
+ }), E.on("connectivity-filter-options", (e) => {
42762
42812
  this.filterOptions = e;
42763
42813
  }), this.$nextTick(() => {
42764
42814
  this.search === "" && this._facets.length === 0 ? (this.$refs.sideBar && this.$refs.sideBar.close(), setTimeout(() => {
@@ -42767,7 +42817,7 @@ var Vae = Ct("main", {
42767
42817
  });
42768
42818
  },
42769
42819
  computed: {
42770
- ...wt(de, ge, oe, pe),
42820
+ ...wt(ue, he, ae, fe),
42771
42821
  envVars: function() {
42772
42822
  return {
42773
42823
  API_LOCATION: this.settingsStore.sparcApi,
@@ -42869,7 +42919,7 @@ function Wae(e, t, n, r, i, a) {
42869
42919
  _: 1
42870
42920
  });
42871
42921
  }
42872
- var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]]), Gae = {
42922
+ var $9 = /*#__PURE__*/ w(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]]), Gae = {
42873
42923
  name: "MapContent",
42874
42924
  components: {
42875
42925
  MapSvgSpriteColor: Px,
@@ -42976,10 +43026,15 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]
42976
43026
  openNewSpeciesInSplitView: {
42977
43027
  type: Boolean,
42978
43028
  default: !0
43029
+ },
43030
+ crossorigin: {
43031
+ type: String,
43032
+ default: "anonymous"
42979
43033
  }
42980
43034
  },
42981
43035
  provide: function() {
42982
43036
  return {
43037
+ crossorigin: N(() => this.crossorigin),
42983
43038
  showGlobalSettings: this.showGlobalSettings,
42984
43039
  showOpenMapButton: this.showOpenMapButton,
42985
43040
  truncateLongLabel: N(() => this.truncateLongLabel),
@@ -43036,7 +43091,7 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]
43036
43091
  version: e.dataset_version
43037
43092
  };
43038
43093
  if (e.isBodyScaffold) {
43039
- let n = await k(this.options.sparcApi, e.label);
43094
+ let n = await ee(this.options.sparcApi, e.label);
43040
43095
  t = {
43041
43096
  ...t,
43042
43097
  ...n.datasetInfo,
@@ -43066,7 +43121,7 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]
43066
43121
  });
43067
43122
  } else {
43068
43123
  let t = "";
43069
- if (e.taxo && (t = O(e)), t ||= he, t) {
43124
+ if (e.taxo && (t = D(e)), t ||= me, t) {
43070
43125
  let n = this.getState();
43071
43126
  if (n && n.entries) for (let r = 0; r < n.entries.length; r++) {
43072
43127
  let i = n.entries[r];
@@ -43105,7 +43160,7 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]
43105
43160
  }
43106
43161
  },
43107
43162
  computed: {
43108
- ...wt(ge, oe),
43163
+ ...wt(he, ae),
43109
43164
  stateToSet() {
43110
43165
  return this.state ? this.state : this.initialState;
43111
43166
  }
@@ -43120,15 +43175,15 @@ var $9 = /*#__PURE__*/ T(Hae, [["render", Wae], ["__scopeId", "data-v-29b29472"]
43120
43175
  this.options && (this.options.sparcApi && this.settingsStore.updateSparcAPI(this.options.sparcApi), this.options.algoliaIndex && this.settingsStore.updateAlgoliaIndex(this.options.algoliaIndex), this.options.algoliaKey && this.settingsStore.updateAlgoliaKey(this.options.algoliaKey), this.options.algoliaId && this.settingsStore.updateAlgoliaId(this.options.algoliaId), this.options.pennsieveApi && this.settingsStore.updatePennsieveApi(this.options.pennsieveApi), this.options.flatmapAPI && this.settingsStore.updateFlatmapAPI(this.options.flatmapAPI), this.options.rootUrl && this.settingsStore.updateRootUrl(this.options.rootUrl)), this.settingsStore.updateAllClosable(this.allClosable), this.splitFlowStore?.reset(), this.splitFlowStore?.getAvailableTerms(this.settingsStore.sparcApi);
43121
43176
  },
43122
43177
  mounted: async function() {
43123
- D.on("updateShareLinkRequested", (e) => {
43178
+ E.on("updateShareLinkRequested", (e) => {
43124
43179
  this.$emit("updateShareLinkRequested", e);
43125
- }), D.on("trackEvent", (e) => {
43180
+ }), E.on("trackEvent", (e) => {
43126
43181
  this.$emit("trackEvent", e);
43127
- }), this.state || (this.initialState = await j(this.startingMap, this.options.sparcApi)), D.on("mapLoaded", (e) => {
43182
+ }), this.state || (this.initialState = await A(this.startingMap, this.options.sparcApi)), E.on("mapLoaded", (e) => {
43128
43183
  this.displaySearchFromQuery && setTimeout(() => {
43129
43184
  this.$refs.flow.onDisplaySearch({ term: this.displaySearchFromQuery }), this.displaySearchFromQuery = "";
43130
43185
  }), this.$emit("mapLoaded", e);
43131
- }), D.on("SetCurrentEntry", (e) => {
43186
+ }), E.on("SetCurrentEntry", (e) => {
43132
43187
  e && this.setCurrentEntry(e);
43133
43188
  }), this.isReady = !0, this.settingsStore.updateUseHelpModeDialog(this.useHelpModeDialog), this.settingsStore.updateConnectivityInfoSidebar(this.connectivityInfoSidebar), this.settingsStore.updateAnnotationSidebar(this.annotationSidebar);
43134
43189
  }
@@ -43154,6 +43209,6 @@ function qae(e, t, n, r, i, a) {
43154
43209
  "onVnodeMounted"
43155
43210
  ])) : F("", !0)])), [[c, !e.isReady]]);
43156
43211
  }
43157
- var Jae = /*#__PURE__*/ T(Gae, [["render", qae], ["__scopeId", "data-v-ed58a1d5"]]);
43212
+ var Jae = /*#__PURE__*/ w(Gae, [["render", qae], ["__scopeId", "data-v-afb79a78"]]);
43158
43213
  //#endregion
43159
43214
  export { Jae as MapContent };