@vcmap/ui 5.1.0-rc.2 → 5.1.0-rc.4

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.
Files changed (31) hide show
  1. package/config/www.config.json +11 -0
  2. package/dist/assets/cesium.js +1 -1
  3. package/dist/assets/{core.5b03e5.js → core.2274d8.js} +598 -599
  4. package/dist/assets/core.js +1 -1
  5. package/dist/assets/index-564248ae.js +1 -0
  6. package/dist/assets/ol.js +1 -1
  7. package/dist/assets/{ui.67779e.js → ui.21bb56.js} +684 -649
  8. package/dist/assets/ui.js +1 -1
  9. package/dist/assets/vue.js +2 -2
  10. package/dist/assets/{vuetify.3b3e23.js → vuetify.145dc5.js} +1 -1
  11. package/dist/assets/vuetify.js +2 -2
  12. package/dist/index.html +1 -1
  13. package/package.json +3 -3
  14. package/plugins/package.json +5 -2
  15. package/src/components/import/ImportComponent.vue +13 -2
  16. package/src/components/import/ImportComponent.vue.d.ts +1 -1
  17. package/src/components/plugins/AbstractConfigEditor.vue +18 -0
  18. package/src/components/plugins/AbstractConfigEditor.vue.d.ts +27 -0
  19. package/src/contentTree/contentTreeCollection.js +6 -1
  20. package/src/manager/collectionManager/collectionComponentClass.d.ts +3 -2
  21. package/src/manager/collectionManager/collectionComponentClass.js +20 -5
  22. package/src/manager/collectionManager/editorCollectionComponentClass.d.ts +3 -0
  23. package/src/manager/collectionManager/editorCollectionComponentClass.js +5 -1
  24. package/src/vcsUiApp.d.ts +2 -1
  25. package/src/vcsUiApp.js +9 -2
  26. package/dist/assets/index-92075a75.js +0 -1
  27. /package/dist/assets/{cesium.b97c3b.js → cesium.1bcede.js} +0 -0
  28. /package/dist/assets/{ol.0cd250.js → ol.d39205.js} +0 -0
  29. /package/dist/assets/{ui.67779e.css → ui.21bb56.css} +0 -0
  30. /package/dist/assets/{vue.62ecd5.js → vue.403631.js} +0 -0
  31. /package/dist/assets/{vuetify.3b3e23.css → vuetify.145dc5.css} +0 -0
@@ -13,7 +13,7 @@ function loadCss(href) {
13
13
  elem.onerror = reject;
14
14
  document.head.appendChild(elem);
15
15
  });
16
- } await loadCss('./assets/ui.67779e.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
16
+ } await loadCss('./assets/ui.21bb56.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
17
17
  var m1 = (s, e, t) => e in s ? p1(s, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : s[e] = t;
18
18
  var oe = (s, e, t) => (m1(s, typeof e != "symbol" ? e + "" : e, t), t), _1 = (s, e, t) => {
19
19
  if (!e.has(s))
@@ -25,11 +25,11 @@ var Hr = (s, e, t) => {
25
25
  e instanceof WeakSet ? e.add(s) : e.set(s, t);
26
26
  };
27
27
  var Ds = (s, e, t) => (_1(s, e, "access private method"), t);
28
- import Vn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as kn, shallowRef as Ui, provide as gs, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.62ecd5.js";
29
- import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ys, Extent as ws, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as _r, EventType as lt, ModificationKeyType as qi, OpenlayersMap as vr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as hs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Ur, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as is, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as wi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Wr, defaultDynamicModuleId as Rs, volatileModuleId as Yr, destroyCollection as js, VcsModule as bi, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.5b03e5.js";
30
- import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Fn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as yr, VContainer as pe, VRow as Re, VCol as Ye, VToolbarItems as wr, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.3b3e23.js";
31
- import { Feature as bs, ol$proj$transformExtent as _c, ol$Observable$unByKey as Nn, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Qr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.0cd250.js";
32
- import { Color as wc, Math as In, Cartographic as fs, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as Jr } from "./cesium.b97c3b.js";
28
+ import Vn, { inject as q, ref as w, onUnmounted as fe, computed as y, reactive as ce, onMounted as Tt, watch as ie, nextTick as kn, shallowRef as Ui, provide as gs, getCurrentInstance as zt, shallowReactive as v1, onBeforeMount as g1, useCssVars as y1, isRef as w1, unref as b1 } from "./vue.403631.js";
29
+ import { VcsEvent as Ae, MapCollection as Wi, Viewpoint as He, Collection as ys, Extent as ws, mercatorProjection as Pe, LayerState as A1, startCreateFeatureSession as M1, GeometryType as Ze, VectorLayer as Kt, maxZIndex as Yi, markVolatile as Qi, startEditFeaturesSession as x1, startEditGeometrySession as L1, ClassRegistry as Ji, FeatureLayer as I1, AbstractInteraction as _r, EventType as lt, ModificationKeyType as qi, OpenlayersMap as vr, VectorStyleItem as Dt, deserializeLayer as C1, EventHandler as E1, ObliqueMap as Ke, DataState as S1, emptyStyle as oo, Projection as hs, CesiumMap as Ft, IndexedCollection as Rt, getShapeFromOptions as T1, getStringColor as k1, getDefaultProjection as lo, wgs84Projection as Ur, moduleIdSymbol as Mt, getVcsAppById as N1, makeOverrideCollection as is, getObjectFromClassRegistry as Xl, DefaultObliqueCollection as $1, isOverrideCollection as D1, PointerKeyType as co, BaseOLMap as R1, VcsObject as j1, transformToImage as Kl, getDefaultVectorStyleItemOptions as ec, fromCesiumColor as O1, vcsLayerName as wi, isProvidedFeature as V1, TransformationMode as be, hasSameOrigin as F1, VcsApp as P1, OverrideClassRegistry as Wr, defaultDynamicModuleId as Rs, volatileModuleId as Yr, destroyCollection as js, VcsModule as bi, createFlightVisualization as uo, anchorFromViewpoint as tc, anchorToViewpoint as nc, getSplineAndTimesForInstance as z1, FlightInstance as ho, getTextFromOptions as B1, getImageStyleFromOptions as G1, highlighted as sc, originalStyle as Xi, getStyleOptions as Z1, vectorStyleSymbol as H1, parseColor as fo, getImageStyleOptions as U1, getTextOptions as W1, SessionType as po, VectorProperties as Y1 } from "./core.2274d8.js";
30
+ import rc, { VSheet as ue, VList as pt, VListItem as mt, VListItemIcon as gr, VListItemTitle as kt, VChip as ic, VListItemContent as Nt, VTooltip as Q1, VTextField as Ki, VFileInput as J1, VBtn as Fn, VIcon as le, VMenu as Bt, VSpacer as q1, VListItemGroup as ac, VDivider as _t, VCard as cn, VCardTitle as X1, VToolbar as yr, VContainer as me, VRow as Re, VCol as Ye, VToolbarItems as wr, VSlider as oc, VSelect as K1, VRadioGroup as lc, VRadio as cc, VListItemAction as e0, VExpansionPanel as uc, VExpansionPanelHeader as dc, VExpansionPanelContent as hc, VExpansionPanels as fc, VLayout as t0, VFlex as n0, VImg as s0, VListItemSubtitle as ea, VSnackbar as r0, VFooter as i0, VApp as a0, VTreeview as o0, VDataTable as l0, VListItemAvatar as pc, VAlert as c0, VCheckbox as u0, VTextarea as d0, VStepper as h0, VStepperStep as f0, VStepperContent as p0, VDatePicker as m0, VColorPicker as mc, VTabs as _0, VTab as v0, VForm as g0 } from "./vuetify.145dc5.js";
31
+ import { Feature as bs, ol$proj$transformExtent as _c, ol$Observable$unByKey as Nn, ol$geom$Polygon$fromExtent as y0, ol$geom$Polygon as w0, ol$extent$createOrUpdateFromCoordinates as b0, ol$style$Icon as ta, ol$geom$Point as vc, ol$Feature as A0, ol$source$Vector as Qr, ol$math$clamp as M0, ol$extent$getCenter as x0, ol$render$toContext as L0, ol$style$Stroke as gc, ol$style$Fill as yc, ol$style$RegularShape as I0, ol$style$Circle as C0, ol$style$Style as E0 } from "./ol.d39205.js";
32
+ import { Color as wc, Math as In, Cartographic as fs, Cartesian2 as bc, SceneTransforms as S0, Entity as Ac, Cesium3DTileFeature as T0, Cesium3DTilePointFeature as k0, Cartesian3 as Jr } from "./cesium.1bcede.js";
33
33
  Vn.config.productionTip = !1;
34
34
  window.CESIUM_BASE_URL = "./assets/cesium/";
35
35
  function m(s, e, t, n, r, i, a, o) {
@@ -216,7 +216,7 @@ function B0(s, e, t) {
216
216
  let n = !1;
217
217
  return s.findIndex((i) => {
218
218
  try {
219
- L(i, e[0], t);
219
+ x(i, e[0], t);
220
220
  } catch (a) {
221
221
  n = a.message.replace(/Match failed:\s/, "");
222
222
  }
@@ -238,7 +238,7 @@ function Ai(s, e, t) {
238
238
  i = Ai(l, e[o], n + o);
239
239
  else
240
240
  try {
241
- L(l, e[o]);
241
+ x(l, e[o]);
242
242
  } catch (c) {
243
243
  i = c.message.replace(/Match failed:\s/, "");
244
244
  }
@@ -318,17 +318,17 @@ function xc(s, e, t) {
318
318
  function xi(s, e, t) {
319
319
  return !xc(s, e, t);
320
320
  }
321
- function L(s, e, t) {
321
+ function x(s, e, t) {
322
322
  const n = xc(s, e, t);
323
323
  if (n)
324
324
  throw new Error(`Match failed: ${n}`);
325
325
  return !1;
326
326
  }
327
- function ve(s, e, t) {
327
+ function pe(s, e, t) {
328
328
  const n = [null, void 0];
329
329
  return Array.isArray(e) && e.length > 1 ? e.forEach((r) => {
330
330
  n.push(r);
331
- }) : n.push(e), L(s, n.reverse(), t);
331
+ }) : n.push(e), x(s, n.reverse(), t);
332
332
  }
333
333
  function Li(s, e) {
334
334
  if (s != null) {
@@ -498,12 +498,12 @@ var Ar = K0;
498
498
  ["\\d", r],
499
499
  [d, n]
500
500
  ], f = (_) => {
501
- for (const [g, k] of h)
502
- _ = _.split(`${g}*`).join(`${g}{0,${k}}`).split(`${g}+`).join(`${g}{1,${k}}`);
501
+ for (const [g, E] of h)
502
+ _ = _.split(`${g}*`).join(`${g}{0,${E}}`).split(`${g}+`).join(`${g}{1,${E}}`);
503
503
  return _;
504
- }, p = (_, g, k) => {
505
- const P = f(g), A = u++;
506
- i(_, A, g), c[_] = A, l[A] = g, a[A] = new RegExp(g, k ? "g" : void 0), o[A] = new RegExp(P, k ? "g" : void 0);
504
+ }, p = (_, g, E) => {
505
+ const z = f(g), A = u++;
506
+ i(_, A, g), c[_] = A, l[A] = g, a[A] = new RegExp(g, E ? "g" : void 0), o[A] = new RegExp(z, E ? "g" : void 0);
507
507
  };
508
508
  p("NUMERICIDENTIFIER", "0|[1-9]\\d*"), p("NUMERICIDENTIFIERLOOSE", "\\d+"), p("NONNUMERICIDENTIFIER", `\\d*[a-zA-Z-]${d}*`), p("MAINVERSION", `(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})\\.(${l[c.NUMERICIDENTIFIER]})`), p("MAINVERSIONLOOSE", `(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})\\.(${l[c.NUMERICIDENTIFIERLOOSE]})`), p("PRERELEASEIDENTIFIER", `(?:${l[c.NUMERICIDENTIFIER]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASEIDENTIFIERLOOSE", `(?:${l[c.NUMERICIDENTIFIERLOOSE]}|${l[c.NONNUMERICIDENTIFIER]})`), p("PRERELEASE", `(?:-(${l[c.PRERELEASEIDENTIFIER]}(?:\\.${l[c.PRERELEASEIDENTIFIER]})*))`), p("PRERELEASELOOSE", `(?:-?(${l[c.PRERELEASEIDENTIFIERLOOSE]}(?:\\.${l[c.PRERELEASEIDENTIFIERLOOSE]})*))`), p("BUILDIDENTIFIER", `${d}+`), p("BUILD", `(?:\\+(${l[c.BUILDIDENTIFIER]}(?:\\.${l[c.BUILDIDENTIFIER]})*))`), p("FULLPLAIN", `v?${l[c.MAINVERSION]}${l[c.PRERELEASE]}?${l[c.BUILD]}?`), p("FULL", `^${l[c.FULLPLAIN]}$`), p("LOOSEPLAIN", `[v=\\s]*${l[c.MAINVERSIONLOOSE]}${l[c.PRERELEASELOOSE]}?${l[c.BUILD]}?`), p("LOOSE", `^${l[c.LOOSEPLAIN]}$`), p("GTLT", "((?:<|>)?=?)"), p("XRANGEIDENTIFIERLOOSE", `${l[c.NUMERICIDENTIFIERLOOSE]}|x|X|\\*`), p("XRANGEIDENTIFIER", `${l[c.NUMERICIDENTIFIER]}|x|X|\\*`), p("XRANGEPLAIN", `[v=\\s]*(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:\\.(${l[c.XRANGEIDENTIFIER]})(?:${l[c.PRERELEASE]})?${l[c.BUILD]}?)?)?`), p("XRANGEPLAINLOOSE", `[v=\\s]*(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:\\.(${l[c.XRANGEIDENTIFIERLOOSE]})(?:${l[c.PRERELEASELOOSE]})?${l[c.BUILD]}?)?)?`), p("XRANGE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAIN]}$`), p("XRANGELOOSE", `^${l[c.GTLT]}\\s*${l[c.XRANGEPLAINLOOSE]}$`), p("COERCE", `(^|[^\\d])(\\d{1,${t}})(?:\\.(\\d{1,${t}}))?(?:\\.(\\d{1,${t}}))?(?:$|[^\\d])`), p("COERCERTL", l[c.COERCE], !0), p("LONETILDE", "(?:~>?)"), p("TILDETRIM", `(\\s*)${l[c.LONETILDE]}\\s+`, !0), e.tildeTrimReplace = "$1~", p("TILDE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAIN]}$`), p("TILDELOOSE", `^${l[c.LONETILDE]}${l[c.XRANGEPLAINLOOSE]}$`), p("LONECARET", "(?:\\^)"), p("CARETTRIM", `(\\s*)${l[c.LONECARET]}\\s+`, !0), e.caretTrimReplace = "$1^", p("CARET", `^${l[c.LONECARET]}${l[c.XRANGEPLAIN]}$`), p("CARETLOOSE", `^${l[c.LONECARET]}${l[c.XRANGEPLAINLOOSE]}$`), p("COMPARATORLOOSE", `^${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]})$|^$`), p("COMPARATOR", `^${l[c.GTLT]}\\s*(${l[c.FULLPLAIN]})$|^$`), p("COMPARATORTRIM", `(\\s*)${l[c.GTLT]}\\s*(${l[c.LOOSEPLAIN]}|${l[c.XRANGEPLAIN]})`, !0), e.comparatorTrimReplace = "$1$2$3", p("HYPHENRANGE", `^\\s*(${l[c.XRANGEPLAIN]})\\s+-\\s+(${l[c.XRANGEPLAIN]})\\s*$`), p("HYPHENRANGELOOSE", `^\\s*(${l[c.XRANGEPLAINLOOSE]})\\s+-\\s+(${l[c.XRANGEPLAINLOOSE]})\\s*$`), p("STAR", "(<|>)?=?\\s*\\*"), p("GTE0", "^\\s*>=\\s*0\\.0\\.0\\s*$"), p("GTE0PRE", "^\\s*>=\\s*0\\.0\\.0-0\\s*$");
509
509
  })(Ci, Ci.exports);
@@ -977,7 +977,7 @@ try {
977
977
  hh()(X);
978
978
  } catch {
979
979
  }
980
- const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"), as = Symbol("allowStale"), en = Symbol("maxAge"), xt = Symbol("dispose"), Io = Symbol("noDisposeOnSet"), _e = Symbol("lruList"), Je = Symbol("cache"), Nc = Symbol("updateAgeOnGet"), Kr = () => 1;
980
+ const vh = fh, Xt = Symbol("max"), Lt = Symbol("length"), An = Symbol("lengthCalculator"), as = Symbol("allowStale"), en = Symbol("maxAge"), xt = Symbol("dispose"), Io = Symbol("noDisposeOnSet"), ve = Symbol("lruList"), Je = Symbol("cache"), Nc = Symbol("updateAgeOnGet"), Kr = () => 1;
981
981
  class gh {
982
982
  constructor(e) {
983
983
  if (typeof e == "number" && (e = { max: e }), e || (e = {}), e.max && (typeof e.max != "number" || e.max < 0))
@@ -1013,7 +1013,7 @@ class gh {
1013
1013
  }
1014
1014
  // resize the cache when the lengthCalculator changes.
1015
1015
  set lengthCalculator(e) {
1016
- typeof e != "function" && (e = Kr), e !== this[An] && (this[An] = e, this[Lt] = 0, this[_e].forEach((t) => {
1016
+ typeof e != "function" && (e = Kr), e !== this[An] && (this[An] = e, this[Lt] = 0, this[ve].forEach((t) => {
1017
1017
  t.length = this[An](t.value, t.key), this[Lt] += t.length;
1018
1018
  })), Jn(this);
1019
1019
  }
@@ -1024,40 +1024,40 @@ class gh {
1024
1024
  return this[Lt];
1025
1025
  }
1026
1026
  get itemCount() {
1027
- return this[_e].length;
1027
+ return this[ve].length;
1028
1028
  }
1029
1029
  rforEach(e, t) {
1030
1030
  t = t || this;
1031
- for (let n = this[_e].tail; n !== null; ) {
1031
+ for (let n = this[ve].tail; n !== null; ) {
1032
1032
  const r = n.prev;
1033
1033
  Co(this, e, n, t), n = r;
1034
1034
  }
1035
1035
  }
1036
1036
  forEach(e, t) {
1037
1037
  t = t || this;
1038
- for (let n = this[_e].head; n !== null; ) {
1038
+ for (let n = this[ve].head; n !== null; ) {
1039
1039
  const r = n.next;
1040
1040
  Co(this, e, n, t), n = r;
1041
1041
  }
1042
1042
  }
1043
1043
  keys() {
1044
- return this[_e].toArray().map((e) => e.key);
1044
+ return this[ve].toArray().map((e) => e.key);
1045
1045
  }
1046
1046
  values() {
1047
- return this[_e].toArray().map((e) => e.value);
1047
+ return this[ve].toArray().map((e) => e.value);
1048
1048
  }
1049
1049
  reset() {
1050
- this[xt] && this[_e] && this[_e].length && this[_e].forEach((e) => this[xt](e.key, e.value)), this[Je] = /* @__PURE__ */ new Map(), this[_e] = new vh(), this[Lt] = 0;
1050
+ this[xt] && this[ve] && this[ve].length && this[ve].forEach((e) => this[xt](e.key, e.value)), this[Je] = /* @__PURE__ */ new Map(), this[ve] = new vh(), this[Lt] = 0;
1051
1051
  }
1052
1052
  dump() {
1053
- return this[_e].map((e) => Ks(this, e) ? !1 : {
1053
+ return this[ve].map((e) => Ks(this, e) ? !1 : {
1054
1054
  k: e.key,
1055
1055
  v: e.value,
1056
1056
  e: e.now + (e.maxAge || 0)
1057
1057
  }).toArray().filter((e) => e);
1058
1058
  }
1059
1059
  dumpLru() {
1060
- return this[_e];
1060
+ return this[ve];
1061
1061
  }
1062
1062
  set(e, t, n) {
1063
1063
  if (n = n || this[en], n && typeof n != "number")
@@ -1070,7 +1070,7 @@ class gh {
1070
1070
  return this[xt] && (this[Io] || this[xt](e, l.value)), l.now = r, l.maxAge = n, l.value = t, this[Lt] += i - l.length, l.length = i, this.get(e), Jn(this), !0;
1071
1071
  }
1072
1072
  const a = new yh(e, t, i, r, n);
1073
- return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[_e].unshift(a), this[Je].set(e, this[_e].head), Jn(this), !0);
1073
+ return a.length > this[Xt] ? (this[xt] && this[xt](e, t), !1) : (this[Lt] += a.length, this[ve].unshift(a), this[Je].set(e, this[ve].head), Jn(this), !0);
1074
1074
  }
1075
1075
  has(e) {
1076
1076
  if (!this[Je].has(e))
@@ -1085,7 +1085,7 @@ class gh {
1085
1085
  return ei(this, e, !1);
1086
1086
  }
1087
1087
  pop() {
1088
- const e = this[_e].tail;
1088
+ const e = this[ve].tail;
1089
1089
  return e ? (Cn(this, e), e.value) : null;
1090
1090
  }
1091
1091
  del(e) {
@@ -1116,7 +1116,7 @@ const ei = (s, e, t) => {
1116
1116
  if (Cn(s, n), !s[as])
1117
1117
  return;
1118
1118
  } else
1119
- t && (s[Nc] && (n.value.now = Date.now()), s[_e].unshiftNode(n));
1119
+ t && (s[Nc] && (n.value.now = Date.now()), s[ve].unshiftNode(n));
1120
1120
  return r.value;
1121
1121
  }
1122
1122
  }, Ks = (s, e) => {
@@ -1126,14 +1126,14 @@ const ei = (s, e, t) => {
1126
1126
  return e.maxAge ? t > e.maxAge : s[en] && t > s[en];
1127
1127
  }, Jn = (s) => {
1128
1128
  if (s[Lt] > s[Xt])
1129
- for (let e = s[_e].tail; s[Lt] > s[Xt] && e !== null; ) {
1129
+ for (let e = s[ve].tail; s[Lt] > s[Xt] && e !== null; ) {
1130
1130
  const t = e.prev;
1131
1131
  Cn(s, e), e = t;
1132
1132
  }
1133
1133
  }, Cn = (s, e) => {
1134
1134
  if (e) {
1135
1135
  const t = e.value;
1136
- s[xt] && s[xt](t.key, t.value), s[Lt] -= t.length, s[Je].delete(t.key), s[_e].removeNode(e);
1136
+ s[xt] && s[xt](t.key, t.value), s[Lt] -= t.length, s[Je].delete(t.key), s[ve].removeNode(e);
1137
1137
  }
1138
1138
  };
1139
1139
  class yh {
@@ -1151,21 +1151,21 @@ function nt() {
1151
1151
  return ti;
1152
1152
  Eo = 1;
1153
1153
  class s {
1154
- constructor(x, j) {
1155
- if (j = n(j), x instanceof s)
1156
- return x.loose === !!j.loose && x.includePrerelease === !!j.includePrerelease ? x : new s(x.raw, j);
1157
- if (x instanceof r)
1158
- return this.raw = x.value, this.set = [[x]], this.format(), this;
1159
- if (this.options = j, this.loose = !!j.loose, this.includePrerelease = !!j.includePrerelease, this.raw = x.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((E) => this.parseRange(E.trim())).filter((E) => E.length), !this.set.length)
1154
+ constructor(M, O) {
1155
+ if (O = n(O), M instanceof s)
1156
+ return M.loose === !!O.loose && M.includePrerelease === !!O.includePrerelease ? M : new s(M.raw, O);
1157
+ if (M instanceof r)
1158
+ return this.raw = M.value, this.set = [[M]], this.format(), this;
1159
+ if (this.options = O, this.loose = !!O.loose, this.includePrerelease = !!O.includePrerelease, this.raw = M.trim().split(/\s+/).join(" "), this.set = this.raw.split("||").map((C) => this.parseRange(C.trim())).filter((C) => C.length), !this.set.length)
1160
1160
  throw new TypeError(`Invalid SemVer Range: ${this.raw}`);
1161
1161
  if (this.set.length > 1) {
1162
- const E = this.set[0];
1163
- if (this.set = this.set.filter((D) => !p(D[0])), this.set.length === 0)
1164
- this.set = [E];
1162
+ const C = this.set[0];
1163
+ if (this.set = this.set.filter((R) => !p(R[0])), this.set.length === 0)
1164
+ this.set = [C];
1165
1165
  else if (this.set.length > 1) {
1166
- for (const D of this.set)
1167
- if (D.length === 1 && _(D[0])) {
1168
- this.set = [D];
1166
+ for (const R of this.set)
1167
+ if (R.length === 1 && _(R[0])) {
1168
+ this.set = [R];
1169
1169
  break;
1170
1170
  }
1171
1171
  }
@@ -1173,46 +1173,46 @@ function nt() {
1173
1173
  this.format();
1174
1174
  }
1175
1175
  format() {
1176
- return this.range = this.set.map((x) => x.join(" ").trim()).join("||").trim(), this.range;
1176
+ return this.range = this.set.map((M) => M.join(" ").trim()).join("||").trim(), this.range;
1177
1177
  }
1178
1178
  toString() {
1179
1179
  return this.range;
1180
1180
  }
1181
- parseRange(x) {
1182
- const E = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" + x, D = t.get(E);
1183
- if (D)
1184
- return D;
1181
+ parseRange(M) {
1182
+ const C = ((this.options.includePrerelease && h) | (this.options.loose && f)) + ":" + M, R = t.get(C);
1183
+ if (R)
1184
+ return R;
1185
1185
  const S = this.options.loose, T = S ? o[l.HYPHENRANGELOOSE] : o[l.HYPHENRANGE];
1186
- x = x.replace(T, G(this.options.includePrerelease)), i("hyphen replace", x), x = x.replace(o[l.COMPARATORTRIM], c), i("comparator trim", x), x = x.replace(o[l.TILDETRIM], u), i("tilde trim", x), x = x.replace(o[l.CARETTRIM], d), i("caret trim", x);
1187
- let J = x.split(" ").map((ee) => k(ee, this.options)).join(" ").split(/\s+/).map((ee) => $(ee, this.options));
1186
+ M = M.replace(T, B(this.options.includePrerelease)), i("hyphen replace", M), M = M.replace(o[l.COMPARATORTRIM], c), i("comparator trim", M), M = M.replace(o[l.TILDETRIM], u), i("tilde trim", M), M = M.replace(o[l.CARETTRIM], d), i("caret trim", M);
1187
+ let J = M.split(" ").map((ee) => E(ee, this.options)).join(" ").split(/\s+/).map((ee) => N(ee, this.options));
1188
1188
  S && (J = J.filter((ee) => (i("loose invalid filter", ee, this.options), !!ee.match(o[l.COMPARATORLOOSE])))), i("range list", J);
1189
- const O = /* @__PURE__ */ new Map(), K = J.map((ee) => new r(ee, this.options));
1189
+ const F = /* @__PURE__ */ new Map(), K = J.map((ee) => new r(ee, this.options));
1190
1190
  for (const ee of K) {
1191
1191
  if (p(ee))
1192
1192
  return [ee];
1193
- O.set(ee.value, ee);
1193
+ F.set(ee.value, ee);
1194
1194
  }
1195
- O.size > 1 && O.has("") && O.delete("");
1196
- const Y = [...O.values()];
1197
- return t.set(E, Y), Y;
1195
+ F.size > 1 && F.has("") && F.delete("");
1196
+ const Y = [...F.values()];
1197
+ return t.set(C, Y), Y;
1198
1198
  }
1199
- intersects(x, j) {
1200
- if (!(x instanceof s))
1199
+ intersects(M, O) {
1200
+ if (!(M instanceof s))
1201
1201
  throw new TypeError("a Range is required");
1202
- return this.set.some((E) => g(E, j) && x.set.some((D) => g(D, j) && E.every((S) => D.every((T) => S.intersects(T, j)))));
1202
+ return this.set.some((C) => g(C, O) && M.set.some((R) => g(R, O) && C.every((S) => R.every((T) => S.intersects(T, O)))));
1203
1203
  }
1204
1204
  // if ANY of the sets match ALL of its comparators, then pass
1205
- test(x) {
1206
- if (!x)
1205
+ test(M) {
1206
+ if (!M)
1207
1207
  return !1;
1208
- if (typeof x == "string")
1208
+ if (typeof M == "string")
1209
1209
  try {
1210
- x = new a(x, this.options);
1210
+ M = new a(M, this.options);
1211
1211
  } catch {
1212
1212
  return !1;
1213
1213
  }
1214
- for (let j = 0; j < this.set.length; j++)
1215
- if (ne(this.set[j], x, this.options))
1214
+ for (let O = 0; O < this.set.length; O++)
1215
+ if (re(this.set[O], M, this.options))
1216
1216
  return !0;
1217
1217
  return !1;
1218
1218
  }
@@ -1224,45 +1224,45 @@ function nt() {
1224
1224
  comparatorTrimReplace: c,
1225
1225
  tildeTrimReplace: u,
1226
1226
  caretTrimReplace: d
1227
- } = Ms, { FLAG_INCLUDE_PRERELEASE: h, FLAG_LOOSE: f } = br, p = (C) => C.value === "<0.0.0-0", _ = (C) => C.value === "", g = (C, x) => {
1228
- let j = !0;
1229
- const E = C.slice();
1230
- let D = E.pop();
1231
- for (; j && E.length; )
1232
- j = E.every((S) => D.intersects(S, x)), D = E.pop();
1233
- return j;
1234
- }, k = (C, x) => (i("comp", C, x), C = H(C, x), i("caret", C), C = A(C, x), i("tildes", C), C = z(C, x), i("xrange", C), C = B(C, x), i("stars", C), C), P = (C) => !C || C.toLowerCase() === "x" || C === "*", A = (C, x) => C.trim().split(/\s+/).map((j) => V(j, x)).join(" "), V = (C, x) => {
1235
- const j = x.loose ? o[l.TILDELOOSE] : o[l.TILDE];
1236
- return C.replace(j, (E, D, S, T, J) => {
1237
- i("tilde", C, E, D, S, T, J);
1238
- let O;
1239
- return P(D) ? O = "" : P(S) ? O = `>=${D}.0.0 <${+D + 1}.0.0-0` : P(T) ? O = `>=${D}.${S}.0 <${D}.${+S + 1}.0-0` : J ? (i("replaceTilde pr", J), O = `>=${D}.${S}.${T}-${J} <${D}.${+S + 1}.0-0`) : O = `>=${D}.${S}.${T} <${D}.${+S + 1}.0-0`, i("tilde return", O), O;
1227
+ } = Ms, { FLAG_INCLUDE_PRERELEASE: h, FLAG_LOOSE: f } = br, p = (I) => I.value === "<0.0.0-0", _ = (I) => I.value === "", g = (I, M) => {
1228
+ let O = !0;
1229
+ const C = I.slice();
1230
+ let R = C.pop();
1231
+ for (; O && C.length; )
1232
+ O = C.every((S) => R.intersects(S, M)), R = C.pop();
1233
+ return O;
1234
+ }, E = (I, M) => (i("comp", I, M), I = H(I, M), i("caret", I), I = A(I, M), i("tildes", I), I = G(I, M), i("xrange", I), I = $(I, M), i("stars", I), I), z = (I) => !I || I.toLowerCase() === "x" || I === "*", A = (I, M) => I.trim().split(/\s+/).map((O) => V(O, M)).join(" "), V = (I, M) => {
1235
+ const O = M.loose ? o[l.TILDELOOSE] : o[l.TILDE];
1236
+ return I.replace(O, (C, R, S, T, J) => {
1237
+ i("tilde", I, C, R, S, T, J);
1238
+ let F;
1239
+ return z(R) ? F = "" : z(S) ? F = `>=${R}.0.0 <${+R + 1}.0.0-0` : z(T) ? F = `>=${R}.${S}.0 <${R}.${+S + 1}.0-0` : J ? (i("replaceTilde pr", J), F = `>=${R}.${S}.${T}-${J} <${R}.${+S + 1}.0-0`) : F = `>=${R}.${S}.${T} <${R}.${+S + 1}.0-0`, i("tilde return", F), F;
1240
1240
  });
1241
- }, H = (C, x) => C.trim().split(/\s+/).map((j) => b(j, x)).join(" "), b = (C, x) => {
1242
- i("caret", C, x);
1243
- const j = x.loose ? o[l.CARETLOOSE] : o[l.CARET], E = x.includePrerelease ? "-0" : "";
1244
- return C.replace(j, (D, S, T, J, O) => {
1245
- i("caret", C, D, S, T, J, O);
1241
+ }, H = (I, M) => I.trim().split(/\s+/).map((O) => b(O, M)).join(" "), b = (I, M) => {
1242
+ i("caret", I, M);
1243
+ const O = M.loose ? o[l.CARETLOOSE] : o[l.CARET], C = M.includePrerelease ? "-0" : "";
1244
+ return I.replace(O, (R, S, T, J, F) => {
1245
+ i("caret", I, R, S, T, J, F);
1246
1246
  let K;
1247
- return P(S) ? K = "" : P(T) ? K = `>=${S}.0.0${E} <${+S + 1}.0.0-0` : P(J) ? S === "0" ? K = `>=${S}.${T}.0${E} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.0${E} <${+S + 1}.0.0-0` : O ? (i("replaceCaret pr", O), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}-${O} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}-${O} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J}-${O} <${+S + 1}.0.0-0`) : (i("no pr"), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}${E} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}${E} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J} <${+S + 1}.0.0-0`), i("caret return", K), K;
1247
+ return z(S) ? K = "" : z(T) ? K = `>=${S}.0.0${C} <${+S + 1}.0.0-0` : z(J) ? S === "0" ? K = `>=${S}.${T}.0${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.0${C} <${+S + 1}.0.0-0` : F ? (i("replaceCaret pr", F), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}-${F} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}-${F} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J}-${F} <${+S + 1}.0.0-0`) : (i("no pr"), S === "0" ? T === "0" ? K = `>=${S}.${T}.${J}${C} <${S}.${T}.${+J + 1}-0` : K = `>=${S}.${T}.${J}${C} <${S}.${+T + 1}.0-0` : K = `>=${S}.${T}.${J} <${+S + 1}.0.0-0`), i("caret return", K), K;
1248
1248
  });
1249
- }, z = (C, x) => (i("replaceXRanges", C, x), C.split(/\s+/).map((j) => M(j, x)).join(" ")), M = (C, x) => {
1250
- C = C.trim();
1251
- const j = x.loose ? o[l.XRANGELOOSE] : o[l.XRANGE];
1252
- return C.replace(j, (E, D, S, T, J, O) => {
1253
- i("xRange", C, E, D, S, T, J, O);
1254
- const K = P(S), Y = K || P(T), ee = Y || P(J), ze = ee;
1255
- return D === "=" && ze && (D = ""), O = x.includePrerelease ? "-0" : "", K ? D === ">" || D === "<" ? E = "<0.0.0-0" : E = "*" : D && ze ? (Y && (T = 0), J = 0, D === ">" ? (D = ">=", Y ? (S = +S + 1, T = 0, J = 0) : (T = +T + 1, J = 0)) : D === "<=" && (D = "<", Y ? S = +S + 1 : T = +T + 1), D === "<" && (O = "-0"), E = `${D + S}.${T}.${J}${O}`) : Y ? E = `>=${S}.0.0${O} <${+S + 1}.0.0-0` : ee && (E = `>=${S}.${T}.0${O} <${S}.${+T + 1}.0-0`), i("xRange return", E), E;
1249
+ }, G = (I, M) => (i("replaceXRanges", I, M), I.split(/\s+/).map((O) => D(O, M)).join(" ")), D = (I, M) => {
1250
+ I = I.trim();
1251
+ const O = M.loose ? o[l.XRANGELOOSE] : o[l.XRANGE];
1252
+ return I.replace(O, (C, R, S, T, J, F) => {
1253
+ i("xRange", I, C, R, S, T, J, F);
1254
+ const K = z(S), Y = K || z(T), ee = Y || z(J), ze = ee;
1255
+ return R === "=" && ze && (R = ""), F = M.includePrerelease ? "-0" : "", K ? R === ">" || R === "<" ? C = "<0.0.0-0" : C = "*" : R && ze ? (Y && (T = 0), J = 0, R === ">" ? (R = ">=", Y ? (S = +S + 1, T = 0, J = 0) : (T = +T + 1, J = 0)) : R === "<=" && (R = "<", Y ? S = +S + 1 : T = +T + 1), R === "<" && (F = "-0"), C = `${R + S}.${T}.${J}${F}`) : Y ? C = `>=${S}.0.0${F} <${+S + 1}.0.0-0` : ee && (C = `>=${S}.${T}.0${F} <${S}.${+T + 1}.0-0`), i("xRange return", C), C;
1256
1256
  });
1257
- }, B = (C, x) => (i("replaceStars", C, x), C.trim().replace(o[l.STAR], "")), $ = (C, x) => (i("replaceGTE0", C, x), C.trim().replace(o[x.includePrerelease ? l.GTE0PRE : l.GTE0], "")), G = (C) => (x, j, E, D, S, T, J, O, K, Y, ee, ze, fn) => (P(E) ? j = "" : P(D) ? j = `>=${E}.0.0${C ? "-0" : ""}` : P(S) ? j = `>=${E}.${D}.0${C ? "-0" : ""}` : T ? j = `>=${j}` : j = `>=${j}${C ? "-0" : ""}`, P(K) ? O = "" : P(Y) ? O = `<${+K + 1}.0.0-0` : P(ee) ? O = `<${K}.${+Y + 1}.0-0` : ze ? O = `<=${K}.${Y}.${ee}-${ze}` : C ? O = `<${K}.${Y}.${+ee + 1}-0` : O = `<=${O}`, `${j} ${O}`.trim()), ne = (C, x, j) => {
1258
- for (let E = 0; E < C.length; E++)
1259
- if (!C[E].test(x))
1257
+ }, $ = (I, M) => (i("replaceStars", I, M), I.trim().replace(o[l.STAR], "")), N = (I, M) => (i("replaceGTE0", I, M), I.trim().replace(o[M.includePrerelease ? l.GTE0PRE : l.GTE0], "")), B = (I) => (M, O, C, R, S, T, J, F, K, Y, ee, ze, fn) => (z(C) ? O = "" : z(R) ? O = `>=${C}.0.0${I ? "-0" : ""}` : z(S) ? O = `>=${C}.${R}.0${I ? "-0" : ""}` : T ? O = `>=${O}` : O = `>=${O}${I ? "-0" : ""}`, z(K) ? F = "" : z(Y) ? F = `<${+K + 1}.0.0-0` : z(ee) ? F = `<${K}.${+Y + 1}.0-0` : ze ? F = `<=${K}.${Y}.${ee}-${ze}` : I ? F = `<${K}.${Y}.${+ee + 1}-0` : F = `<=${F}`, `${O} ${F}`.trim()), re = (I, M, O) => {
1258
+ for (let C = 0; C < I.length; C++)
1259
+ if (!I[C].test(M))
1260
1260
  return !1;
1261
- if (x.prerelease.length && !j.includePrerelease) {
1262
- for (let E = 0; E < C.length; E++)
1263
- if (i(C[E].semver), C[E].semver !== r.ANY && C[E].semver.prerelease.length > 0) {
1264
- const D = C[E].semver;
1265
- if (D.major === x.major && D.minor === x.minor && D.patch === x.patch)
1261
+ if (M.prerelease.length && !O.includePrerelease) {
1262
+ for (let C = 0; C < I.length; C++)
1263
+ if (i(I[C].semver), I[C].semver !== r.ANY && I[C].semver.prerelease.length > 0) {
1264
+ const R = I[C].semver;
1265
+ if (R.major === M.major && R.minor === M.minor && R.patch === M.patch)
1266
1266
  return !0;
1267
1267
  }
1268
1268
  return !1;
@@ -1570,13 +1570,13 @@ var Wf = {
1570
1570
  compareIdentifiers: Fo.compareIdentifiers,
1571
1571
  rcompareIdentifiers: Fo.rcompareIdentifiers
1572
1572
  };
1573
- const Ei = "5.1.0-rc.2";
1573
+ const Ei = "5.1.0-rc.4";
1574
1574
  function Jt() {
1575
1575
  return De("plugin-helpers");
1576
1576
  }
1577
1577
  const Q = Symbol("vcsApp"), tn = Symbol("pluginFactory"), on = Symbol("pluginBaseUrl"), En = Symbol("pluginModuleUrl"), nn = Symbol("pluginVersionRange");
1578
1578
  function PE(s, e, t) {
1579
- L(e, String), L(t, String);
1579
+ x(e, String), x(t, String);
1580
1580
  const n = s.plugins.getByKey(e);
1581
1581
  if (n && n[on]) {
1582
1582
  const r = new URL(n[on]), i = new URL(t.replace(/^\//, "/"), r);
@@ -1587,7 +1587,7 @@ function PE(s, e, t) {
1587
1587
  return null;
1588
1588
  }
1589
1589
  function Yf(s) {
1590
- return L(s, String), /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
1590
+ return x(s, String), /^(?:@[a-z0-9-*~][a-z0-9-*._~]*\/)?[a-z0-9-~][a-z0-9-._~]*$/.test(
1591
1591
  s
1592
1592
  );
1593
1593
  }
@@ -1748,7 +1748,7 @@ class ep {
1748
1748
  * @param {string} id
1749
1749
  */
1750
1750
  remove(e) {
1751
- L(e, String);
1751
+ x(e, String);
1752
1752
  const t = this._windowComponents.get(e);
1753
1753
  if (t) {
1754
1754
  this._cachePosition(t), this.componentIds.splice(this.componentIds.indexOf(e), 1), this._zIndices.value.splice(this._zIndices.value.indexOf(e), 1), this._windowComponents.delete(e), this._handleSlotsChanged(t.slot.value), this.removed.raiseEvent(t);
@@ -1869,8 +1869,8 @@ class ep {
1869
1869
  * @returns {WindowComponent}
1870
1870
  */
1871
1871
  add(e, t) {
1872
- var b, z, M, B, $, G, ne, C, x, j, E, D, S;
1873
- if (L(t, [String, Q]), e.id && this.has(e.id))
1872
+ var b, G, D, $, N, B, re, I, M, O, C, R, S;
1873
+ if (x(t, [String, Q]), e.id && this.has(e.id))
1874
1874
  throw new Error(
1875
1875
  `A window with id ${e.id} has already been registered.`
1876
1876
  );
@@ -1880,22 +1880,22 @@ class ep {
1880
1880
  a,
1881
1881
  e.position,
1882
1882
  r
1883
- ), l = Sn(o), c = w(a), { component: u, headerComponent: d } = e, h = { ...(z = e == null ? void 0 : e.state) == null ? void 0 : z.styles }, f = Array.isArray((M = e == null ? void 0 : e.state) == null ? void 0 : M.classes) ? [...((B = e == null ? void 0 : e.state) == null ? void 0 : B.classes) ?? []] : { ...($ = e == null ? void 0 : e.state) == null ? void 0 : $.classes }, p = ce({
1883
+ ), l = Sn(o), c = w(a), { component: u, headerComponent: d } = e, h = { ...(G = e == null ? void 0 : e.state) == null ? void 0 : G.styles }, f = Array.isArray((D = e == null ? void 0 : e.state) == null ? void 0 : D.classes) ? [...(($ = e == null ? void 0 : e.state) == null ? void 0 : $.classes) ?? []] : { ...(N = e == null ? void 0 : e.state) == null ? void 0 : N.classes }, p = ce({
1884
1884
  id: n,
1885
1885
  parentId: r,
1886
1886
  owner: t,
1887
- hideHeader: !!((G = e == null ? void 0 : e.state) != null && G.hideHeader),
1888
- hidePin: !!((ne = e == null ? void 0 : e.state) != null && ne.hidePin),
1889
- headerTitle: (C = e == null ? void 0 : e.state) == null ? void 0 : C.headerTitle,
1890
- headerIcon: (x = e == null ? void 0 : e.state) == null ? void 0 : x.headerIcon,
1891
- headerActions: (j = e == null ? void 0 : e.state) == null ? void 0 : j.headerActions,
1892
- headerActionsOverflow: (E = e == null ? void 0 : e.state) == null ? void 0 : E.headerActionsOverflow,
1887
+ hideHeader: !!((B = e == null ? void 0 : e.state) != null && B.hideHeader),
1888
+ hidePin: !!((re = e == null ? void 0 : e.state) != null && re.hidePin),
1889
+ headerTitle: (I = e == null ? void 0 : e.state) == null ? void 0 : I.headerTitle,
1890
+ headerIcon: (M = e == null ? void 0 : e.state) == null ? void 0 : M.headerIcon,
1891
+ headerActions: (O = e == null ? void 0 : e.state) == null ? void 0 : O.headerActions,
1892
+ headerActionsOverflow: (C = e == null ? void 0 : e.state) == null ? void 0 : C.headerActionsOverflow,
1893
1893
  dockable: !1,
1894
- infoUrl: (D = e == null ? void 0 : e.state) == null ? void 0 : D.infoUrl,
1894
+ infoUrl: (R = e == null ? void 0 : e.state) == null ? void 0 : R.infoUrl,
1895
1895
  infoUrlCallback: (S = e == null ? void 0 : e.state) == null ? void 0 : S.infoUrlCallback,
1896
1896
  classes: f,
1897
1897
  styles: h
1898
- }), _ = e.props || {}, g = e.provides || {}, k = ce(l), P = { ...o }, A = y(() => this._zIndices.value.indexOf(n)), V = {
1898
+ }), _ = e.props || {}, g = e.provides || {}, E = ce(l), z = { ...o }, A = y(() => this._zIndices.value.indexOf(n)), V = {
1899
1899
  get id() {
1900
1900
  return n;
1901
1901
  },
@@ -1918,10 +1918,10 @@ class ep {
1918
1918
  return a;
1919
1919
  },
1920
1920
  get position() {
1921
- return k;
1921
+ return E;
1922
1922
  },
1923
1923
  get initialPositionOptions() {
1924
- return P;
1924
+ return z;
1925
1925
  },
1926
1926
  get props() {
1927
1927
  return _;
@@ -2279,18 +2279,18 @@ const hp = {
2279
2279
  get() {
2280
2280
  return e.type === "number" && Number.isFinite(e.value) && s.decimals >= 0 ? parseFloat(e.value.toFixed(s.decimals)) : e.value ?? "";
2281
2281
  },
2282
- set(k) {
2283
- e.type === "file" && t("input", k);
2282
+ set(E) {
2283
+ e.type === "file" && t("input", E);
2284
2284
  }
2285
- }), h = y(() => e.type === "number" && !r.value ? "text" : e.type || "text"), f = y(() => e.type === "number" && Array.isArray(e.rules) ? e.rules.map((k) => (P) => k(parseFloat(P))) : e.rules);
2286
- function p(k) {
2287
- i.value.blur(), t("input", i.value.initialValue), t("keydown", k);
2285
+ }), h = y(() => e.type === "number" && !r.value ? "text" : e.type || "text"), f = y(() => e.type === "number" && Array.isArray(e.rules) ? e.rules.map((E) => (z) => E(parseFloat(z))) : e.rules);
2286
+ function p(E) {
2287
+ i.value.blur(), t("input", i.value.initialValue), t("keydown", E);
2288
2288
  }
2289
- function _(k) {
2290
- r.value = !1, t("blur", k);
2289
+ function _(E) {
2290
+ r.value = !1, t("blur", E);
2291
2291
  }
2292
- function g(k) {
2293
- r.value = !0, t("focus", k);
2292
+ function g(E) {
2293
+ r.value = !0, t("focus", E);
2294
2294
  }
2295
2295
  return {
2296
2296
  hover: n,
@@ -2932,15 +2932,15 @@ var Xp = function() {
2932
2932
  );
2933
2933
  const t2 = e2.exports;
2934
2934
  function Si(s) {
2935
- return L(s.name, String), ve(s.title, String), ve(s.icon, String), L(s.callback, Function), s.active = qe(s.active, !1), s.hasUpdate = qe(s.hasUpdate, !1), s.background = qe(s.background, !1), s.disabled = qe(s.disabled, !1), s;
2935
+ return x(s.name, String), pe(s.title, String), pe(s.icon, String), x(s.callback, Function), s.active = qe(s.active, !1), s.hasUpdate = qe(s.hasUpdate, !1), s.background = qe(s.background, !1), s.disabled = qe(s.disabled, !1), s;
2936
2936
  }
2937
2937
  function n2(s, e, t) {
2938
2938
  var a;
2939
- L(s, {
2939
+ x(s, {
2940
2940
  name: String,
2941
2941
  icon: [void 0, String],
2942
2942
  title: [void 0, String]
2943
- }), L(e, String), L(t, Wi);
2943
+ }), x(e, String), x(t, Wi);
2944
2944
  const n = ((a = t.activeMap) == null ? void 0 : a.name) === e, r = {
2945
2945
  ...s,
2946
2946
  active: n,
@@ -2953,12 +2953,12 @@ function n2(s, e, t) {
2953
2953
  return { action: r, destroy: i };
2954
2954
  }
2955
2955
  function $t(s, e, t, n) {
2956
- L(s, {
2956
+ x(s, {
2957
2957
  name: String,
2958
2958
  icon: [void 0, String],
2959
2959
  title: [void 0, String],
2960
2960
  hasUpdate: [void 0, Boolean]
2961
- }), L(e, { id: String }), L(n, [String, Q]);
2961
+ }), x(e, { id: String }), x(n, [String, Q]);
2962
2962
  const r = {
2963
2963
  ...s,
2964
2964
  active: t.has(e.id),
@@ -3047,11 +3047,11 @@ function r2(s, e, t) {
3047
3047
  } };
3048
3048
  }
3049
3049
  function i2(s, e, t, n) {
3050
- L(s, {
3050
+ x(s, {
3051
3051
  name: String,
3052
3052
  icon: [void 0, String],
3053
3053
  title: [void 0, String]
3054
- }), L(n, [String, Q]);
3054
+ }), x(n, [String, Q]);
3055
3055
  const r = Gt(), { position: i, ...a } = e;
3056
3056
  let o = null;
3057
3057
  const l = (h) => {
@@ -3077,8 +3077,8 @@ function i2(s, e, t, n) {
3077
3077
  ...i
3078
3078
  };
3079
3079
  g.maxWidth = 320, g.width = (i == null ? void 0 : i.width) || -1;
3080
- const k = { ...e == null ? void 0 : e.state, hideHeader: !0 };
3081
- t.windowManager.add({ position: g, ...a, id: r, state: k }, n), document.addEventListener("mousedown", l);
3080
+ const E = { ...e == null ? void 0 : e.state, hideHeader: !0 };
3081
+ t.windowManager.add({ position: g, ...a, id: r, state: E }, n), document.addEventListener("mousedown", l);
3082
3082
  }
3083
3083
  return null;
3084
3084
  }
@@ -3094,11 +3094,11 @@ function i2(s, e, t, n) {
3094
3094
  } };
3095
3095
  }
3096
3096
  function _a(s, e) {
3097
- return L(s, {
3097
+ return x(s, {
3098
3098
  name: String,
3099
3099
  icon: [void 0, String],
3100
3100
  title: [void 0, String]
3101
- }), L(e, [String, Function]), {
3101
+ }), x(e, [String, Function]), {
3102
3102
  ...s,
3103
3103
  callback() {
3104
3104
  const t = document.createElement("a");
@@ -3107,11 +3107,11 @@ function _a(s, e) {
3107
3107
  };
3108
3108
  }
3109
3109
  function Oc(s, e, t, n) {
3110
- return L(s, {
3110
+ return x(s, {
3111
3111
  name: String,
3112
3112
  icon: [void 0, String],
3113
3113
  title: [void 0, String]
3114
- }), L(e, [He, String]), L(t, ys), L(n, Wi), {
3114
+ }), x(e, [He, String]), x(t, ys), x(n, Wi), {
3115
3115
  title: "content.viewpointAction.title",
3116
3116
  ...s,
3117
3117
  async callback() {
@@ -3129,11 +3129,11 @@ function Vc(s) {
3129
3129
  return !e || !e.isValid() ? null : He.createViewpointFromExtent(e);
3130
3130
  }
3131
3131
  function zE(s, e, t) {
3132
- return L(s, {
3132
+ return x(s, {
3133
3133
  name: String,
3134
3134
  icon: [void 0, String],
3135
3135
  title: [void 0, String]
3136
- }), L(e, bs), L(t, Wi), {
3136
+ }), x(e, bs), x(t, Wi), {
3137
3137
  title: "search.zoomToFeatureAction",
3138
3138
  ...s,
3139
3139
  async callback() {
@@ -3180,7 +3180,7 @@ function u2(s) {
3180
3180
  return s.replace(c2, (e, t) => (t = t.toLowerCase(), t === "colon" ? ":" : t.charAt(0) === "#" ? t.charAt(1) === "x" ? String.fromCharCode(parseInt(t.substring(2), 16)) : String.fromCharCode(+t.substring(1)) : ""));
3181
3181
  }
3182
3182
  const d2 = /(^|[^\[])\^/g;
3183
- function se(s, e) {
3183
+ function ne(s, e) {
3184
3184
  let t = typeof s == "string" ? s : s.source;
3185
3185
  e = e || "";
3186
3186
  const n = {
@@ -3388,23 +3388,23 @@ class tr {
3388
3388
  break;
3389
3389
  o = t[0], e = e.substring(o.length);
3390
3390
  let d = t[2].split(`
3391
- `, 1)[0].replace(/^\t+/, (k) => " ".repeat(3 * k.length)), h = e.split(`
3391
+ `, 1)[0].replace(/^\t+/, (E) => " ".repeat(3 * E.length)), h = e.split(`
3392
3392
  `, 1)[0], f = 0;
3393
3393
  this.options.pedantic ? (f = 2, l = d.trimStart()) : (f = t[2].search(/[^ ]/), f = f > 4 ? 1 : f, l = d.slice(f), f += t[1].length);
3394
3394
  let p = !1;
3395
3395
  if (!d && /^ *$/.test(h) && (o += h + `
3396
3396
  `, e = e.substring(h.length + 1), u = !0), !u) {
3397
- const k = new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), P = new RegExp(`^ {0,${Math.min(3, f - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), A = new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`), V = new RegExp(`^ {0,${Math.min(3, f - 1)}}#`);
3397
+ const E = new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:[*+-]|\\d{1,9}[.)])((?:[ ][^\\n]*)?(?:\\n|$))`), z = new RegExp(`^ {0,${Math.min(3, f - 1)}}((?:- *){3,}|(?:_ *){3,}|(?:\\* *){3,})(?:\\n+|$)`), A = new RegExp(`^ {0,${Math.min(3, f - 1)}}(?:\`\`\`|~~~)`), V = new RegExp(`^ {0,${Math.min(3, f - 1)}}#`);
3398
3398
  for (; e; ) {
3399
3399
  const H = e.split(`
3400
3400
  `, 1)[0];
3401
- if (h = H, this.options.pedantic && (h = h.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), A.test(h) || V.test(h) || k.test(h) || P.test(e))
3401
+ if (h = H, this.options.pedantic && (h = h.replace(/^ {1,4}(?=( {4})*[^ ])/g, " ")), A.test(h) || V.test(h) || E.test(h) || z.test(e))
3402
3402
  break;
3403
3403
  if (h.search(/[^ ]/) >= f || !h.trim())
3404
3404
  l += `
3405
3405
  ` + h.slice(f);
3406
3406
  else {
3407
- if (p || d.search(/[^ ]/) >= 4 || A.test(d) || V.test(d) || P.test(d))
3407
+ if (p || d.search(/[^ ]/) >= 4 || A.test(d) || V.test(d) || z.test(d))
3408
3408
  break;
3409
3409
  l += `
3410
3410
  ` + h;
@@ -3719,7 +3719,7 @@ class tr {
3719
3719
  }
3720
3720
  }
3721
3721
  }
3722
- const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ls = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, v2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Bc = /(?:[*+-]|\d{1,9}[.)])/, Gc = se(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Bc).getRegex(), ga = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, g2 = /^[^\n]+/, ya = /(?!\s*\])(?:\\.|[^\[\]\\])+/, y2 = se(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", ya).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), w2 = se(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Bc).getRegex(), Er = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", wa = /<!--(?!-?>)[\s\S]*?(?:-->|$)/, b2 = se("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", wa).replace("tag", Er).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Zc = se(ga).replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), A2 = se(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Zc).getRegex(), ba = {
3722
+ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 = /^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/, Ls = /^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/, v2 = /^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/, Bc = /(?:[*+-]|\d{1,9}[.)])/, Gc = ne(/^(?!bull )((?:.|\n(?!\s*?\n|bull ))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g, Bc).getRegex(), ga = /^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/, g2 = /^[^\n]+/, ya = /(?!\s*\])(?:\\.|[^\[\]\\])+/, y2 = ne(/^ {0,3}\[(label)\]: *(?:\n *)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n *)?| *\n *)(title))? *(?:\n+|$)/).replace("label", ya).replace("title", /(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(), w2 = ne(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g, Bc).getRegex(), Er = "address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[1-6]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|meta|nav|noframes|ol|optgroup|option|p|param|section|source|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul", wa = /<!--(?!-?>)[\s\S]*?(?:-->|$)/, b2 = ne("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n *)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n *)+\\n|$))", "i").replace("comment", wa).replace("tag", Er).replace("attribute", / +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(), Zc = ne(ga).replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("|table", "").replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), A2 = ne(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph", Zc).getRegex(), ba = {
3723
3723
  blockquote: A2,
3724
3724
  code: m2,
3725
3725
  def: y2,
@@ -3733,21 +3733,21 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
3733
3733
  paragraph: Zc,
3734
3734
  table: os,
3735
3735
  text: g2
3736
- }, Uo = se("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), M2 = {
3736
+ }, Uo = ne("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("blockquote", " {0,3}>").replace("code", " {4}[^\\n]").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex(), M2 = {
3737
3737
  ...ba,
3738
3738
  table: Uo,
3739
- paragraph: se(ga).replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Uo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex()
3739
+ paragraph: ne(ga).replace("hr", Ls).replace("heading", " {0,3}#{1,6}(?:\\s|$)").replace("|lheading", "").replace("table", Uo).replace("blockquote", " {0,3}>").replace("fences", " {0,3}(?:`{3,}(?=[^`\\n]*\\n)|~{3,})[^\\n]*\\n").replace("list", " {0,3}(?:[*+-]|1[.)]) ").replace("html", "</?(?:tag)(?: +|\\n|/?>)|<(?:script|pre|style|textarea|!--)").replace("tag", Er).getRegex()
3740
3740
  }, x2 = {
3741
3741
  ...ba,
3742
- html: se(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", wa).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3742
+ html: ne(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment", wa).replace(/tag/g, "(?!(?:a|em|strong|small|s|cite|q|dfn|abbr|data|time|code|var|samp|kbd|sub|sup|i|b|u|mark|ruby|rt|rp|bdi|bdo|span|br|wbr|ins|del|img)\\b)\\w+(?!:|[^\\w\\s@]*@)\\b").getRegex(),
3743
3743
  def: /^ *\[([^\]]+)\]: *<?([^\s>]+)>?(?: +(["(][^\n]+[")]))? *(?:\n+|$)/,
3744
3744
  heading: /^(#{1,6})(.*)(?:\n+|$)/,
3745
3745
  fences: os,
3746
3746
  // fences not supported
3747
3747
  lheading: /^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,
3748
- paragraph: se(ga).replace("hr", Ls).replace("heading", ` *#{1,6} *[^
3748
+ paragraph: ne(ga).replace("hr", Ls).replace("heading", ` *#{1,6} *[^
3749
3749
  ]`).replace("lheading", Gc).replace("|table", "").replace("blockquote", " {0,3}>").replace("|fences", "").replace("|list", "").replace("|html", "").replace("|tag", "").getRegex()
3750
- }, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Is = "\\p{P}$+<=>`^|~", C2 = se(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Is).getRegex(), E2 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, S2 = se(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Is).getRegex(), T2 = se("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Is).getRegex(), k2 = se("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Is).getRegex(), N2 = se(/\\([punct])/, "gu").replace(/punct/g, Is).getRegex(), $2 = se(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), D2 = se(wa).replace("(?:-->|$)", "-->").getRegex(), R2 = se("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", D2).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), nr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, j2 = se(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", nr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wc = se(/^!?\[(label)\]\[(ref)\]/).replace("label", nr).replace("ref", ya).getRegex(), Yc = se(/^!?\[(ref)\](?:\[\])?/).replace("ref", ya).getRegex(), O2 = se("reflink|nolink(?!\\()", "g").replace("reflink", Wc).replace("nolink", Yc).getRegex(), Aa = {
3750
+ }, Hc = /^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/, L2 = /^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/, Uc = /^( {2,}|\\)\n(?!\s*$)/, I2 = /^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/, Is = "\\p{P}$+<=>`^|~", C2 = ne(/^((?![*_])[\spunctuation])/, "u").replace(/punctuation/g, Is).getRegex(), E2 = /\[[^[\]]*?\]\([^\(\)]*?\)|`[^`]*?`|<[^<>]*?>/g, S2 = ne(/^(?:\*+(?:((?!\*)[punct])|[^\s*]))|^_+(?:((?!_)[punct])|([^\s_]))/, "u").replace(/punct/g, Is).getRegex(), T2 = ne("^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)[punct](\\*+)(?=[\\s]|$)|[^punct\\s](\\*+)(?!\\*)(?=[punct\\s]|$)|(?!\\*)[punct\\s](\\*+)(?=[^punct\\s])|[\\s](\\*+)(?!\\*)(?=[punct])|(?!\\*)[punct](\\*+)(?!\\*)(?=[punct])|[^punct\\s](\\*+)(?=[^punct\\s])", "gu").replace(/punct/g, Is).getRegex(), k2 = ne("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)[punct](_+)(?=[\\s]|$)|[^punct\\s](_+)(?!_)(?=[punct\\s]|$)|(?!_)[punct\\s](_+)(?=[^punct\\s])|[\\s](_+)(?!_)(?=[punct])|(?!_)[punct](_+)(?!_)(?=[punct])", "gu").replace(/punct/g, Is).getRegex(), N2 = ne(/\\([punct])/, "gu").replace(/punct/g, Is).getRegex(), $2 = ne(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme", /[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email", /[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(), D2 = ne(wa).replace("(?:-->|$)", "-->").getRegex(), R2 = ne("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment", D2).replace("attribute", /\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(), nr = /(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/, j2 = ne(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label", nr).replace("href", /<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title", /"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(), Wc = ne(/^!?\[(label)\]\[(ref)\]/).replace("label", nr).replace("ref", ya).getRegex(), Yc = ne(/^!?\[(ref)\](?:\[\])?/).replace("ref", ya).getRegex(), O2 = ne("reflink|nolink(?!\\()", "g").replace("reflink", Wc).replace("nolink", Yc).getRegex(), Aa = {
3751
3751
  _backpedal: os,
3752
3752
  // only used for GFM url
3753
3753
  anyPunctuation: N2,
@@ -3770,19 +3770,19 @@ const p2 = /^(?: *(?:\n|$))+/, m2 = /^( {4}[^\n]+(?:\n(?: *(?:\n|$))*)?)+/, _2 =
3770
3770
  url: os
3771
3771
  }, V2 = {
3772
3772
  ...Aa,
3773
- link: se(/^!?\[(label)\]\((.*?)\)/).replace("label", nr).getRegex(),
3774
- reflink: se(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", nr).getRegex()
3773
+ link: ne(/^!?\[(label)\]\((.*?)\)/).replace("label", nr).getRegex(),
3774
+ reflink: ne(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label", nr).getRegex()
3775
3775
  }, Ti = {
3776
3776
  ...Aa,
3777
- escape: se(Hc).replace("])", "~|])").getRegex(),
3778
- url: se(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3777
+ escape: ne(Hc).replace("])", "~|])").getRegex(),
3778
+ url: ne(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/, "i").replace("email", /[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),
3779
3779
  _backpedal: /(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,
3780
3780
  del: /^(~~?)(?=[^\s~])([\s\S]*?[^\s~])\1(?=[^~]|$)/,
3781
3781
  text: /^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/
3782
3782
  }, F2 = {
3783
3783
  ...Ti,
3784
- br: se(Uc).replace("{2,}", "*").getRegex(),
3785
- text: se(Ti.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3784
+ br: ne(Uc).replace("{2,}", "*").getRegex(),
3785
+ text: ne(Ti.text).replace("\\b_", "\\b_| {2,}\\n").replace(/\{2,\}/g, "*").getRegex()
3786
3786
  }, Gs = {
3787
3787
  normal: ba,
3788
3788
  gfm: M2,
@@ -4695,7 +4695,7 @@ const nm = function() {
4695
4695
  };
4696
4696
  function tu() {
4697
4697
  let s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : nm();
4698
- const e = (F) => tu(F);
4698
+ const e = (P) => tu(P);
4699
4699
  if (e.version = "3.0.6", e.removed = [], !s || !s.document || s.document.nodeType !== 9)
4700
4700
  return e.isSupported = !1, e;
4701
4701
  let {
@@ -4711,36 +4711,36 @@ function tu() {
4711
4711
  HTMLFormElement: d,
4712
4712
  DOMParser: h,
4713
4713
  trustedTypes: f
4714
- } = s, p = l.prototype, _ = Hs(p, "cloneNode"), g = Hs(p, "nextSibling"), k = Hs(p, "childNodes"), P = Hs(p, "parentNode");
4714
+ } = s, p = l.prototype, _ = Hs(p, "cloneNode"), g = Hs(p, "nextSibling"), E = Hs(p, "childNodes"), z = Hs(p, "parentNode");
4715
4715
  if (typeof a == "function") {
4716
- const F = t.createElement("template");
4717
- F.content && F.content.ownerDocument && (t = F.content.ownerDocument);
4716
+ const P = t.createElement("template");
4717
+ P.content && P.content.ownerDocument && (t = P.content.ownerDocument);
4718
4718
  }
4719
4719
  let A, V = "";
4720
4720
  const {
4721
4721
  implementation: H,
4722
4722
  createNodeIterator: b,
4723
- createDocumentFragment: z,
4724
- getElementsByTagName: M
4723
+ createDocumentFragment: G,
4724
+ getElementsByTagName: D
4725
4725
  } = t, {
4726
- importNode: B
4726
+ importNode: $
4727
4727
  } = n;
4728
- let $ = {};
4729
- e.isSupported = typeof Jc == "function" && typeof P == "function" && H && H.createHTMLDocument !== void 0;
4728
+ let N = {};
4729
+ e.isSupported = typeof Jc == "function" && typeof z == "function" && H && H.createHTMLDocument !== void 0;
4730
4730
  const {
4731
- MUSTACHE_EXPR: G,
4732
- ERB_EXPR: ne,
4733
- TMPLIT_EXPR: C,
4734
- DATA_ATTR: x,
4735
- ARIA_ATTR: j,
4736
- IS_SCRIPT_OR_DATA: E,
4737
- ATTR_WHITESPACE: D
4731
+ MUSTACHE_EXPR: B,
4732
+ ERB_EXPR: re,
4733
+ TMPLIT_EXPR: I,
4734
+ DATA_ATTR: M,
4735
+ ARIA_ATTR: O,
4736
+ IS_SCRIPT_OR_DATA: C,
4737
+ ATTR_WHITESPACE: R
4738
4738
  } = Ko;
4739
4739
  let {
4740
4740
  IS_ALLOWED_URI: S
4741
4741
  } = Ko, T = null;
4742
4742
  const J = W({}, [...Qo, ...oi, ...li, ...ci, ...Jo]);
4743
- let O = null;
4743
+ let F = null;
4744
4744
  const K = W({}, [...qo, ...ui, ...Xo, ...Us]);
4745
4745
  let Y = Object.seal(Xc(null, {
4746
4746
  tagNameCheck: {
@@ -4773,28 +4773,28 @@ function tu() {
4773
4773
  const a1 = W({}, [ks, Ns, yt], ai);
4774
4774
  let Wt = null;
4775
4775
  const o1 = ["application/xhtml+xml", "text/html"], l1 = "text/html";
4776
- let me = null, wn = null;
4776
+ let _e = null, wn = null;
4777
4777
  const c1 = t.createElement("form"), Qa = function(v) {
4778
4778
  return v instanceof RegExp || v instanceof Function;
4779
4779
  }, Br = function() {
4780
4780
  let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4781
4781
  if (!(wn && wn === v)) {
4782
4782
  if ((!v || typeof v != "object") && (v = {}), v = Mn(v), Wt = // eslint-disable-next-line unicorn/prefer-includes
4783
- o1.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? Wt = l1 : Wt = v.PARSER_MEDIA_TYPE, me = Wt === "application/xhtml+xml" ? ai : Js, T = "ALLOWED_TAGS" in v ? W({}, v.ALLOWED_TAGS, me) : J, O = "ALLOWED_ATTR" in v ? W({}, v.ALLOWED_ATTR, me) : K, zr = "ALLOWED_NAMESPACES" in v ? W({}, v.ALLOWED_NAMESPACES, ai) : a1, Fr = "ADD_URI_SAFE_ATTR" in v ? W(
4783
+ o1.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? Wt = l1 : Wt = v.PARSER_MEDIA_TYPE, _e = Wt === "application/xhtml+xml" ? ai : Js, T = "ALLOWED_TAGS" in v ? W({}, v.ALLOWED_TAGS, _e) : J, F = "ALLOWED_ATTR" in v ? W({}, v.ALLOWED_ATTR, _e) : K, zr = "ALLOWED_NAMESPACES" in v ? W({}, v.ALLOWED_NAMESPACES, ai) : a1, Fr = "ADD_URI_SAFE_ATTR" in v ? W(
4784
4784
  Mn(Ya),
4785
4785
  // eslint-disable-line indent
4786
4786
  v.ADD_URI_SAFE_ATTR,
4787
4787
  // eslint-disable-line indent
4788
- me
4788
+ _e
4789
4789
  // eslint-disable-line indent
4790
4790
  ) : Ya, Ua = "ADD_DATA_URI_TAGS" in v ? W(
4791
4791
  Mn(Wa),
4792
4792
  // eslint-disable-line indent
4793
4793
  v.ADD_DATA_URI_TAGS,
4794
4794
  // eslint-disable-line indent
4795
- me
4795
+ _e
4796
4796
  // eslint-disable-line indent
4797
- ) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, me) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, me) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, me) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1, Hn = v.ALLOW_UNKNOWN_PROTOCOLS || !1, Un = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, vt = v.SAFE_FOR_TEMPLATES || !1, at = v.WHOLE_DOCUMENT || !1, gt = v.RETURN_DOM || !1, Ht = v.RETURN_DOM_FRAGMENT || !1, Ut = v.RETURN_TRUSTED_TYPE || !1, _n = v.FORCE_BODY || !1, Ga = v.SANITIZE_DOM !== !1, Za = v.SANITIZE_NAMED_PROPS || !1, Vr = v.KEEP_CONTENT !== !1, Wn = v.IN_PLACE || !1, S = v.ALLOWED_URI_REGEXP || Kc, yn = v.NAMESPACE || yt, Y = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), vt && (pn = !1), Ht && (gt = !0), vn && (T = W({}, [...Jo]), O = [], vn.html === !0 && (W(T, Qo), W(O, qo)), vn.svg === !0 && (W(T, oi), W(O, ui), W(O, Us)), vn.svgFilters === !0 && (W(T, li), W(O, ui), W(O, Us)), vn.mathMl === !0 && (W(T, ci), W(O, Xo), W(O, Us))), v.ADD_TAGS && (T === J && (T = Mn(T)), W(T, v.ADD_TAGS, me)), v.ADD_ATTR && (O === K && (O = Mn(O)), W(O, v.ADD_ATTR, me)), v.ADD_URI_SAFE_ATTR && W(Fr, v.ADD_URI_SAFE_ATTR, me), v.FORBID_CONTENTS && (gn === Ha && (gn = Mn(gn)), W(gn, v.FORBID_CONTENTS, me)), Vr && (T["#text"] = !0), at && W(T, ["html", "head", "body"]), T.table && (W(T, ["tbody"]), delete ee.tbody), v.TRUSTED_TYPES_POLICY) {
4797
+ ) : Wa, gn = "FORBID_CONTENTS" in v ? W({}, v.FORBID_CONTENTS, _e) : Ha, ee = "FORBID_TAGS" in v ? W({}, v.FORBID_TAGS, _e) : {}, ze = "FORBID_ATTR" in v ? W({}, v.FORBID_ATTR, _e) : {}, vn = "USE_PROFILES" in v ? v.USE_PROFILES : !1, fn = v.ALLOW_ARIA_ATTR !== !1, pn = v.ALLOW_DATA_ATTR !== !1, Hn = v.ALLOW_UNKNOWN_PROTOCOLS || !1, Un = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, vt = v.SAFE_FOR_TEMPLATES || !1, at = v.WHOLE_DOCUMENT || !1, gt = v.RETURN_DOM || !1, Ht = v.RETURN_DOM_FRAGMENT || !1, Ut = v.RETURN_TRUSTED_TYPE || !1, _n = v.FORCE_BODY || !1, Ga = v.SANITIZE_DOM !== !1, Za = v.SANITIZE_NAMED_PROPS || !1, Vr = v.KEEP_CONTENT !== !1, Wn = v.IN_PLACE || !1, S = v.ALLOWED_URI_REGEXP || Kc, yn = v.NAMESPACE || yt, Y = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (Y.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && Qa(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (Y.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (Y.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), vt && (pn = !1), Ht && (gt = !0), vn && (T = W({}, [...Jo]), F = [], vn.html === !0 && (W(T, Qo), W(F, qo)), vn.svg === !0 && (W(T, oi), W(F, ui), W(F, Us)), vn.svgFilters === !0 && (W(T, li), W(F, ui), W(F, Us)), vn.mathMl === !0 && (W(T, ci), W(F, Xo), W(F, Us))), v.ADD_TAGS && (T === J && (T = Mn(T)), W(T, v.ADD_TAGS, _e)), v.ADD_ATTR && (F === K && (F = Mn(F)), W(F, v.ADD_ATTR, _e)), v.ADD_URI_SAFE_ATTR && W(Fr, v.ADD_URI_SAFE_ATTR, _e), v.FORBID_CONTENTS && (gn === Ha && (gn = Mn(gn)), W(gn, v.FORBID_CONTENTS, _e)), Vr && (T["#text"] = !0), at && W(T, ["html", "head", "body"]), T.table && (W(T, ["tbody"]), delete ee.tbody), v.TRUSTED_TYPES_POLICY) {
4798
4798
  if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
4799
4799
  throw ts('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
4800
4800
  if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -4809,13 +4809,13 @@ function tu() {
4809
4809
  const Gr = W({}, ci);
4810
4810
  W(Gr, Y2);
4811
4811
  const d1 = function(v) {
4812
- let I = P(v);
4813
- (!I || !I.tagName) && (I = {
4812
+ let L = z(v);
4813
+ (!L || !L.tagName) && (L = {
4814
4814
  namespaceURI: yn,
4815
4815
  tagName: "template"
4816
4816
  });
4817
- const R = Js(v.tagName), ae = Js(I.tagName);
4818
- return zr[v.namespaceURI] ? v.namespaceURI === Ns ? I.namespaceURI === yt ? R === "svg" : I.namespaceURI === ks ? R === "svg" && (ae === "annotation-xml" || Ja[ae]) : !!$s[R] : v.namespaceURI === ks ? I.namespaceURI === yt ? R === "math" : I.namespaceURI === Ns ? R === "math" && qa[ae] : !!Gr[R] : v.namespaceURI === yt ? I.namespaceURI === Ns && !qa[ae] || I.namespaceURI === ks && !Ja[ae] ? !1 : !Gr[R] && (u1[R] || !$s[R]) : !!(Wt === "application/xhtml+xml" && zr[v.namespaceURI]) : !1;
4817
+ const j = Js(v.tagName), ae = Js(L.tagName);
4818
+ return zr[v.namespaceURI] ? v.namespaceURI === Ns ? L.namespaceURI === yt ? j === "svg" : L.namespaceURI === ks ? j === "svg" && (ae === "annotation-xml" || Ja[ae]) : !!$s[j] : v.namespaceURI === ks ? L.namespaceURI === yt ? j === "math" : L.namespaceURI === Ns ? j === "math" && qa[ae] : !!Gr[j] : v.namespaceURI === yt ? L.namespaceURI === Ns && !qa[ae] || L.namespaceURI === ks && !Ja[ae] ? !1 : !Gr[j] && (u1[j] || !$s[j]) : !!(Wt === "application/xhtml+xml" && zr[v.namespaceURI]) : !1;
4819
4819
  }, Yt = function(v) {
4820
4820
  Kn(e.removed, {
4821
4821
  element: v
@@ -4825,53 +4825,53 @@ function tu() {
4825
4825
  } catch {
4826
4826
  v.remove();
4827
4827
  }
4828
- }, Zr = function(v, I) {
4828
+ }, Zr = function(v, L) {
4829
4829
  try {
4830
4830
  Kn(e.removed, {
4831
- attribute: I.getAttributeNode(v),
4832
- from: I
4831
+ attribute: L.getAttributeNode(v),
4832
+ from: L
4833
4833
  });
4834
4834
  } catch {
4835
4835
  Kn(e.removed, {
4836
4836
  attribute: null,
4837
- from: I
4837
+ from: L
4838
4838
  });
4839
4839
  }
4840
- if (I.removeAttribute(v), v === "is" && !O[v])
4840
+ if (L.removeAttribute(v), v === "is" && !F[v])
4841
4841
  if (gt || Ht)
4842
4842
  try {
4843
- Yt(I);
4843
+ Yt(L);
4844
4844
  } catch {
4845
4845
  }
4846
4846
  else
4847
4847
  try {
4848
- I.setAttribute(v, "");
4848
+ L.setAttribute(v, "");
4849
4849
  } catch {
4850
4850
  }
4851
4851
  }, Xa = function(v) {
4852
- let I = null, R = null;
4852
+ let L = null, j = null;
4853
4853
  if (_n)
4854
4854
  v = "<remove></remove>" + v;
4855
4855
  else {
4856
4856
  const xe = G2(v, /^[\r\n\t ]+/);
4857
- R = xe && xe[0];
4857
+ j = xe && xe[0];
4858
4858
  }
4859
4859
  Wt === "application/xhtml+xml" && yn === yt && (v = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + v + "</body></html>");
4860
4860
  const ae = A ? A.createHTML(v) : v;
4861
4861
  if (yn === yt)
4862
4862
  try {
4863
- I = new h().parseFromString(ae, Wt);
4863
+ L = new h().parseFromString(ae, Wt);
4864
4864
  } catch {
4865
4865
  }
4866
- if (!I || !I.documentElement) {
4867
- I = H.createDocument(yn, "template", null);
4866
+ if (!L || !L.documentElement) {
4867
+ L = H.createDocument(yn, "template", null);
4868
4868
  try {
4869
- I.documentElement.innerHTML = Pr ? V : ae;
4869
+ L.documentElement.innerHTML = Pr ? V : ae;
4870
4870
  } catch {
4871
4871
  }
4872
4872
  }
4873
- const Me = I.body || I.documentElement;
4874
- return v && R && Me.insertBefore(t.createTextNode(R), Me.childNodes[0] || null), yn === yt ? M.call(I, at ? "html" : "body")[0] : at ? I.documentElement : Me;
4873
+ const Me = L.body || L.documentElement;
4874
+ return v && j && Me.insertBefore(t.createTextNode(j), Me.childNodes[0] || null), yn === yt ? D.call(L, at ? "html" : "body")[0] : at ? L.documentElement : Me;
4875
4875
  }, Ka = function(v) {
4876
4876
  return b.call(
4877
4877
  v.ownerDocument || v,
@@ -4884,25 +4884,25 @@ function tu() {
4884
4884
  return v instanceof d && (typeof v.nodeName != "string" || typeof v.textContent != "string" || typeof v.removeChild != "function" || !(v.attributes instanceof u) || typeof v.removeAttribute != "function" || typeof v.setAttribute != "function" || typeof v.namespaceURI != "string" || typeof v.insertBefore != "function" || typeof v.hasChildNodes != "function");
4885
4885
  }, eo = function(v) {
4886
4886
  return typeof o == "function" && v instanceof o;
4887
- }, wt = function(v, I, R) {
4888
- $[v] && Zs($[v], (ae) => {
4889
- ae.call(e, I, R, wn);
4887
+ }, wt = function(v, L, j) {
4888
+ N[v] && Zs(N[v], (ae) => {
4889
+ ae.call(e, L, j, wn);
4890
4890
  });
4891
4891
  }, to = function(v) {
4892
- let I = null;
4892
+ let L = null;
4893
4893
  if (wt("beforeSanitizeElements", v, null), h1(v))
4894
4894
  return Yt(v), !0;
4895
- const R = me(v.nodeName);
4895
+ const j = _e(v.nodeName);
4896
4896
  if (wt("uponSanitizeElement", v, {
4897
- tagName: R,
4897
+ tagName: j,
4898
4898
  allowedTags: T
4899
4899
  }), v.hasChildNodes() && !eo(v.firstElementChild) && Ve(/<[/\w]/g, v.innerHTML) && Ve(/<[/\w]/g, v.textContent))
4900
4900
  return Yt(v), !0;
4901
- if (!T[R] || ee[R]) {
4902
- if (!ee[R] && so(R) && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, R) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(R)))
4901
+ if (!T[j] || ee[j]) {
4902
+ if (!ee[j] && so(j) && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, j) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(j)))
4903
4903
  return !1;
4904
- if (Vr && !gn[R]) {
4905
- const ae = P(v) || v.parentNode, Me = k(v) || v.childNodes;
4904
+ if (Vr && !gn[j]) {
4905
+ const ae = z(v) || v.parentNode, Me = E(v) || v.childNodes;
4906
4906
  if (Me && ae) {
4907
4907
  const xe = Me.length;
4908
4908
  for (let Te = xe - 1; Te >= 0; --Te)
@@ -4911,31 +4911,31 @@ function tu() {
4911
4911
  }
4912
4912
  return Yt(v), !0;
4913
4913
  }
4914
- return v instanceof l && !d1(v) || (R === "noscript" || R === "noembed" || R === "noframes") && Ve(/<\/no(script|embed|frames)/i, v.innerHTML) ? (Yt(v), !0) : (vt && v.nodeType === 3 && (I = v.textContent, Zs([G, ne, C], (ae) => {
4915
- I = es(I, ae, " ");
4916
- }), v.textContent !== I && (Kn(e.removed, {
4914
+ return v instanceof l && !d1(v) || (j === "noscript" || j === "noembed" || j === "noframes") && Ve(/<\/no(script|embed|frames)/i, v.innerHTML) ? (Yt(v), !0) : (vt && v.nodeType === 3 && (L = v.textContent, Zs([B, re, I], (ae) => {
4915
+ L = es(L, ae, " ");
4916
+ }), v.textContent !== L && (Kn(e.removed, {
4917
4917
  element: v.cloneNode()
4918
- }), v.textContent = I)), wt("afterSanitizeElements", v, null), !1);
4919
- }, no = function(v, I, R) {
4920
- if (Ga && (I === "id" || I === "name") && (R in t || R in c1))
4918
+ }), v.textContent = L)), wt("afterSanitizeElements", v, null), !1);
4919
+ }, no = function(v, L, j) {
4920
+ if (Ga && (L === "id" || L === "name") && (j in t || j in c1))
4921
4921
  return !1;
4922
- if (!(pn && !ze[I] && Ve(x, I))) {
4923
- if (!(fn && Ve(j, I))) {
4924
- if (!O[I] || ze[I]) {
4922
+ if (!(pn && !ze[L] && Ve(M, L))) {
4923
+ if (!(fn && Ve(O, L))) {
4924
+ if (!F[L] || ze[L]) {
4925
4925
  if (
4926
4926
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
4927
4927
  // b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4928
4928
  // and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
4929
- !(so(v) && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, v) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(v)) && (Y.attributeNameCheck instanceof RegExp && Ve(Y.attributeNameCheck, I) || Y.attributeNameCheck instanceof Function && Y.attributeNameCheck(I)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4929
+ !(so(v) && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, v) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(v)) && (Y.attributeNameCheck instanceof RegExp && Ve(Y.attributeNameCheck, L) || Y.attributeNameCheck instanceof Function && Y.attributeNameCheck(L)) || // Alternative, second condition checks if it's an `is`-attribute, AND
4930
4930
  // the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
4931
- I === "is" && Y.allowCustomizedBuiltInElements && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, R) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(R)))
4931
+ L === "is" && Y.allowCustomizedBuiltInElements && (Y.tagNameCheck instanceof RegExp && Ve(Y.tagNameCheck, j) || Y.tagNameCheck instanceof Function && Y.tagNameCheck(j)))
4932
4932
  )
4933
4933
  return !1;
4934
- } else if (!Fr[I]) {
4935
- if (!Ve(S, es(R, D, ""))) {
4936
- if (!((I === "src" || I === "xlink:href" || I === "href") && v !== "script" && Z2(R, "data:") === 0 && Ua[v])) {
4937
- if (!(Hn && !Ve(E, es(R, D, "")))) {
4938
- if (R)
4934
+ } else if (!Fr[L]) {
4935
+ if (!Ve(S, es(j, R, ""))) {
4936
+ if (!((L === "src" || L === "xlink:href" || L === "href") && v !== "script" && Z2(j, "data:") === 0 && Ua[v])) {
4937
+ if (!(Hn && !Ve(C, es(j, R, "")))) {
4938
+ if (j)
4939
4939
  return !1;
4940
4940
  }
4941
4941
  }
@@ -4949,34 +4949,34 @@ function tu() {
4949
4949
  }, ro = function(v) {
4950
4950
  wt("beforeSanitizeAttributes", v, null);
4951
4951
  const {
4952
- attributes: I
4952
+ attributes: L
4953
4953
  } = v;
4954
- if (!I)
4954
+ if (!L)
4955
4955
  return;
4956
- const R = {
4956
+ const j = {
4957
4957
  attrName: "",
4958
4958
  attrValue: "",
4959
4959
  keepAttr: !0,
4960
- allowedAttributes: O
4960
+ allowedAttributes: F
4961
4961
  };
4962
- let ae = I.length;
4962
+ let ae = L.length;
4963
4963
  for (; ae--; ) {
4964
- const Me = I[ae], {
4964
+ const Me = L[ae], {
4965
4965
  name: xe,
4966
4966
  namespaceURI: Te,
4967
4967
  value: Qt
4968
- } = Me, Yn = me(xe);
4968
+ } = Me, Yn = _e(xe);
4969
4969
  let ke = xe === "value" ? Qt : H2(Qt);
4970
- if (R.attrName = Yn, R.attrValue = ke, R.keepAttr = !0, R.forceKeepAttr = void 0, wt("uponSanitizeAttribute", v, R), ke = R.attrValue, R.forceKeepAttr || (Zr(xe, v), !R.keepAttr))
4970
+ if (j.attrName = Yn, j.attrValue = ke, j.keepAttr = !0, j.forceKeepAttr = void 0, wt("uponSanitizeAttribute", v, j), ke = j.attrValue, j.forceKeepAttr || (Zr(xe, v), !j.keepAttr))
4971
4971
  continue;
4972
4972
  if (!Un && Ve(/\/>/i, ke)) {
4973
4973
  Zr(xe, v);
4974
4974
  continue;
4975
4975
  }
4976
- vt && Zs([G, ne, C], (ao) => {
4976
+ vt && Zs([B, re, I], (ao) => {
4977
4977
  ke = es(ke, ao, " ");
4978
4978
  });
4979
- const io = me(v.nodeName);
4979
+ const io = _e(v.nodeName);
4980
4980
  if (no(io, Yn, ke)) {
4981
4981
  if (Za && (Yn === "id" || Yn === "name") && (Zr(xe, v), ke = i1 + ke), A && typeof f == "object" && typeof f.getAttributeType == "function" && !Te)
4982
4982
  switch (f.getAttributeType(io, Yn)) {
@@ -4996,75 +4996,75 @@ function tu() {
4996
4996
  }
4997
4997
  }
4998
4998
  wt("afterSanitizeAttributes", v, null);
4999
- }, f1 = function F(v) {
5000
- let I = null;
5001
- const R = Ka(v);
5002
- for (wt("beforeSanitizeShadowDOM", v, null); I = R.nextNode(); )
5003
- wt("uponSanitizeShadowNode", I, null), !to(I) && (I.content instanceof i && F(I.content), ro(I));
4999
+ }, f1 = function P(v) {
5000
+ let L = null;
5001
+ const j = Ka(v);
5002
+ for (wt("beforeSanitizeShadowDOM", v, null); L = j.nextNode(); )
5003
+ wt("uponSanitizeShadowNode", L, null), !to(L) && (L.content instanceof i && P(L.content), ro(L));
5004
5004
  wt("afterSanitizeShadowDOM", v, null);
5005
5005
  };
5006
- return e.sanitize = function(F) {
5007
- let v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, I = null, R = null, ae = null, Me = null;
5008
- if (Pr = !F, Pr && (F = "<!-->"), typeof F != "string" && !eo(F))
5009
- if (typeof F.toString == "function") {
5010
- if (F = F.toString(), typeof F != "string")
5006
+ return e.sanitize = function(P) {
5007
+ let v = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, L = null, j = null, ae = null, Me = null;
5008
+ if (Pr = !P, Pr && (P = "<!-->"), typeof P != "string" && !eo(P))
5009
+ if (typeof P.toString == "function") {
5010
+ if (P = P.toString(), typeof P != "string")
5011
5011
  throw ts("dirty is not a string, aborting");
5012
5012
  } else
5013
5013
  throw ts("toString is not a function");
5014
5014
  if (!e.isSupported)
5015
- return F;
5016
- if (mn || Br(v), e.removed = [], typeof F == "string" && (Wn = !1), Wn) {
5017
- if (F.nodeName) {
5018
- const Qt = me(F.nodeName);
5015
+ return P;
5016
+ if (mn || Br(v), e.removed = [], typeof P == "string" && (Wn = !1), Wn) {
5017
+ if (P.nodeName) {
5018
+ const Qt = _e(P.nodeName);
5019
5019
  if (!T[Qt] || ee[Qt])
5020
5020
  throw ts("root node is forbidden and cannot be sanitized in-place");
5021
5021
  }
5022
- } else if (F instanceof o)
5023
- I = Xa("<!---->"), R = I.ownerDocument.importNode(F, !0), R.nodeType === 1 && R.nodeName === "BODY" || R.nodeName === "HTML" ? I = R : I.appendChild(R);
5022
+ } else if (P instanceof o)
5023
+ L = Xa("<!---->"), j = L.ownerDocument.importNode(P, !0), j.nodeType === 1 && j.nodeName === "BODY" || j.nodeName === "HTML" ? L = j : L.appendChild(j);
5024
5024
  else {
5025
5025
  if (!gt && !vt && !at && // eslint-disable-next-line unicorn/prefer-includes
5026
- F.indexOf("<") === -1)
5027
- return A && Ut ? A.createHTML(F) : F;
5028
- if (I = Xa(F), !I)
5026
+ P.indexOf("<") === -1)
5027
+ return A && Ut ? A.createHTML(P) : P;
5028
+ if (L = Xa(P), !L)
5029
5029
  return gt ? null : Ut ? V : "";
5030
5030
  }
5031
- I && _n && Yt(I.firstChild);
5032
- const xe = Ka(Wn ? F : I);
5031
+ L && _n && Yt(L.firstChild);
5032
+ const xe = Ka(Wn ? P : L);
5033
5033
  for (; ae = xe.nextNode(); )
5034
5034
  to(ae) || (ae.content instanceof i && f1(ae.content), ro(ae));
5035
5035
  if (Wn)
5036
- return F;
5036
+ return P;
5037
5037
  if (gt) {
5038
5038
  if (Ht)
5039
- for (Me = z.call(I.ownerDocument); I.firstChild; )
5040
- Me.appendChild(I.firstChild);
5039
+ for (Me = G.call(L.ownerDocument); L.firstChild; )
5040
+ Me.appendChild(L.firstChild);
5041
5041
  else
5042
- Me = I;
5043
- return (O.shadowroot || O.shadowrootmode) && (Me = B.call(n, Me, !0)), Me;
5042
+ Me = L;
5043
+ return (F.shadowroot || F.shadowrootmode) && (Me = $.call(n, Me, !0)), Me;
5044
5044
  }
5045
- let Te = at ? I.outerHTML : I.innerHTML;
5046
- return at && T["!doctype"] && I.ownerDocument && I.ownerDocument.doctype && I.ownerDocument.doctype.name && Ve(eu, I.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + I.ownerDocument.doctype.name + `>
5047
- ` + Te), vt && Zs([G, ne, C], (Qt) => {
5045
+ let Te = at ? L.outerHTML : L.innerHTML;
5046
+ return at && T["!doctype"] && L.ownerDocument && L.ownerDocument.doctype && L.ownerDocument.doctype.name && Ve(eu, L.ownerDocument.doctype.name) && (Te = "<!DOCTYPE " + L.ownerDocument.doctype.name + `>
5047
+ ` + Te), vt && Zs([B, re, I], (Qt) => {
5048
5048
  Te = es(Te, Qt, " ");
5049
5049
  }), A && Ut ? A.createHTML(Te) : Te;
5050
5050
  }, e.setConfig = function() {
5051
- let F = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5052
- Br(F), mn = !0;
5051
+ let P = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
5052
+ Br(P), mn = !0;
5053
5053
  }, e.clearConfig = function() {
5054
5054
  wn = null, mn = !1;
5055
- }, e.isValidAttribute = function(F, v, I) {
5055
+ }, e.isValidAttribute = function(P, v, L) {
5056
5056
  wn || Br({});
5057
- const R = me(F), ae = me(v);
5058
- return no(R, ae, I);
5059
- }, e.addHook = function(F, v) {
5060
- typeof v == "function" && ($[F] = $[F] || [], Kn($[F], v));
5061
- }, e.removeHook = function(F) {
5062
- if ($[F])
5063
- return Yo($[F]);
5064
- }, e.removeHooks = function(F) {
5065
- $[F] && ($[F] = []);
5057
+ const j = _e(P), ae = _e(v);
5058
+ return no(j, ae, L);
5059
+ }, e.addHook = function(P, v) {
5060
+ typeof v == "function" && (N[P] = N[P] || [], Kn(N[P], v));
5061
+ }, e.removeHook = function(P) {
5062
+ if (N[P])
5063
+ return Yo(N[P]);
5064
+ }, e.removeHooks = function(P) {
5065
+ N[P] && (N[P] = []);
5066
5066
  }, e.removeAllHooks = function() {
5067
- $ = {};
5067
+ N = {};
5068
5068
  }, e;
5069
5069
  }
5070
5070
  var rm = tu();
@@ -5084,7 +5084,7 @@ const Z = {
5084
5084
  [Z.LOADING]: "$vcsProgress"
5085
5085
  };
5086
5086
  function am(s, e, t) {
5087
- L(s, String), L(e == null ? void 0 : e.value, Object.values(Z)), L(t, Function);
5087
+ x(s, String), x(e == null ? void 0 : e.value, Object.values(Z)), x(t, Function);
5088
5088
  const n = e.value, r = {
5089
5089
  name: s,
5090
5090
  icon: el[n],
@@ -5431,16 +5431,23 @@ const ym = {
5431
5431
  }
5432
5432
  },
5433
5433
  setup(s, { emit: e }) {
5434
- const t = q("vcsApp"), n = w([]);
5434
+ const t = q("vcsApp"), n = w([]), r = y({
5435
+ get() {
5436
+ return n.value;
5437
+ },
5438
+ set(i) {
5439
+ n.value = Array.isArray(i) ? i : [i];
5440
+ }
5441
+ });
5435
5442
  return {
5436
- files: n,
5443
+ files: r,
5437
5444
  async doImport() {
5438
5445
  try {
5439
- await s.importFiles(n.value) && e("close");
5440
- } catch (r) {
5446
+ await s.importFiles(r.value) && e("close");
5447
+ } catch (i) {
5441
5448
  t.notifier.add({
5442
5449
  type: At.ERROR,
5443
- message: String(r.message)
5450
+ message: String(i.message)
5444
5451
  });
5445
5452
  }
5446
5453
  }
@@ -5462,7 +5469,7 @@ var wm = function() {
5462
5469
  bm,
5463
5470
  !1,
5464
5471
  null,
5465
- "f044ffcb",
5472
+ "c46e9afd",
5466
5473
  null,
5467
5474
  null
5468
5475
  );
@@ -5486,7 +5493,7 @@ function Lm(s, e, t = {}) {
5486
5493
  };
5487
5494
  }
5488
5495
  function xa(s, e) {
5489
- L(e, {
5496
+ x(e, {
5490
5497
  name: String,
5491
5498
  icon: [void 0, String],
5492
5499
  title: [void 0, String],
@@ -5515,7 +5522,7 @@ function GE(s, e, t) {
5515
5522
  };
5516
5523
  }
5517
5524
  function ZE(s, e, t, n) {
5518
- L(s, Function), L(t, [String, Q]), L(n, String);
5525
+ x(s, Function), x(t, [String, Q]), x(n, String);
5519
5526
  const { action: r, destroy: i } = $t(
5520
5527
  {
5521
5528
  name: "list.import"
@@ -5747,7 +5754,7 @@ class su {
5747
5754
  * @param {string} id
5748
5755
  */
5749
5756
  remove(e) {
5750
- L(e, String);
5757
+ x(e, String);
5751
5758
  const t = this._buttonComponents.get(e);
5752
5759
  if (t) {
5753
5760
  const n = this.componentIds.indexOf(e);
@@ -5762,7 +5769,7 @@ class su {
5762
5769
  * @returns {ButtonComponent}
5763
5770
  */
5764
5771
  add(e, t) {
5765
- if (ve(e.id, String), ve(e.weight, Number), L(e.action, er), L(t, [String, Q]), e.id && this.has(e.id))
5772
+ if (pe(e.id, String), pe(e.weight, Number), x(e.action, er), x(t, [String, Q]), e.id && this.has(e.id))
5766
5773
  throw new Error(
5767
5774
  `A button with id ${e.id} has already been registered.`
5768
5775
  );
@@ -5780,7 +5787,7 @@ class su {
5780
5787
  return e.weight || 0;
5781
5788
  },
5782
5789
  set weight(a) {
5783
- L(a, Number), e.weight = a;
5790
+ x(a, Number), e.weight = a;
5784
5791
  }
5785
5792
  };
5786
5793
  return this._buttonComponents.set(n, i), this.componentIds.push(n), this.added.raiseEvent(i), i;
@@ -5835,7 +5842,7 @@ class Em extends su {
5835
5842
  * @returns {import("./buttonManager.js").ButtonComponent}
5836
5843
  */
5837
5844
  add(e, t, n) {
5838
- L(n, Object.values(Ne));
5845
+ x(n, Object.values(Ne));
5839
5846
  const r = super.add(e, t);
5840
5847
  return r[ru] = n, r;
5841
5848
  }
@@ -5846,7 +5853,7 @@ class Em extends su {
5846
5853
  * @param {boolean} [active]
5847
5854
  */
5848
5855
  toggle(e, t = void 0) {
5849
- if (L(e, String), this.has(e)) {
5856
+ if (x(e, String), this.has(e)) {
5850
5857
  const { action: n } = this.get(e);
5851
5858
  t !== void 0 ? (n == null ? void 0 : n.active) !== t && n.callback() : n && n.callback();
5852
5859
  }
@@ -5860,7 +5867,7 @@ const Tm = {
5860
5867
  VcsActionList: ma,
5861
5868
  VcsToolButton: xs,
5862
5869
  VToolbar: yr,
5863
- VContainer: pe,
5870
+ VContainer: me,
5864
5871
  VRow: Re,
5865
5872
  VCol: Ye,
5866
5873
  VToolbarItems: wr,
@@ -6075,28 +6082,28 @@ const Hm = {
6075
6082
  var g;
6076
6083
  return ((g = e.get(_)) == null ? void 0 : g.zIndex.value) === t.length - 1;
6077
6084
  }, o = (_) => {
6078
- var k;
6085
+ var E;
6079
6086
  if (!_)
6080
6087
  return null;
6081
- const g = !((k = _ == null ? void 0 : _.state) != null && k.dockable) && e.get(_.parentId);
6088
+ const g = !((E = _ == null ? void 0 : _.state) != null && E.dockable) && e.get(_.parentId);
6082
6089
  return op(
6083
6090
  _ == null ? void 0 : _.position,
6084
6091
  n.value,
6085
6092
  o(g)
6086
6093
  );
6087
6094
  }, l = (_) => y(() => {
6088
- var k;
6095
+ var E;
6089
6096
  const g = e.get(_);
6090
6097
  return {
6091
6098
  zIndex: g.zIndex.value,
6092
6099
  ...o(g),
6093
- ...((k = g == null ? void 0 : g.state) == null ? void 0 : k.styles) || {}
6100
+ ...((E = g == null ? void 0 : g.state) == null ? void 0 : E.styles) || {}
6094
6101
  };
6095
6102
  }), c = (_) => {
6096
6103
  e.has(_) && !a(_) && e.bringWindowToTop(_);
6097
6104
  }, u = (_, g) => {
6098
- const k = e.get(_), P = o(k);
6099
- rp(_, g, e, n.value, P);
6105
+ const E = e.get(_), z = o(E);
6106
+ rp(_, g, e, n.value, z);
6100
6107
  }, d = w(t), h = y(() => zt().proxy.$vuetify.breakpoint.xs && d.value.length > 0), f = () => {
6101
6108
  n.value = zn(s.maps.target);
6102
6109
  };
@@ -6191,7 +6198,7 @@ class Km {
6191
6198
  return this._toolboxName;
6192
6199
  }
6193
6200
  set toolboxName(e) {
6194
- L(e, [String, ss]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
6201
+ x(e, [String, ss]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
6195
6202
  }
6196
6203
  setDefaultToolboxName() {
6197
6204
  this.toolboxName = ss;
@@ -6216,7 +6223,7 @@ class Km {
6216
6223
  * @param {string} id
6217
6224
  */
6218
6225
  remove(e) {
6219
- L(e, String);
6226
+ x(e, String);
6220
6227
  const t = this._toolboxGroups.get(e);
6221
6228
  if (t) {
6222
6229
  const n = this.componentIds.indexOf(e);
@@ -6231,7 +6238,7 @@ class Km {
6231
6238
  * @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
6232
6239
  */
6233
6240
  add(e, t) {
6234
- if (ve(e.id, String), L(e.type, Object.values(Vt)), L(t, [String, Q]), e.id && this.has(e.id))
6241
+ if (pe(e.id, String), x(e.type, Object.values(Vt)), x(t, [String, Q]), e.id && this.has(e.id))
6235
6242
  throw new Error(
6236
6243
  `A toolGroup with id ${e.id} has already been registered.`
6237
6244
  );
@@ -6251,7 +6258,7 @@ class Km {
6251
6258
  }
6252
6259
  };
6253
6260
  if (r === Vt.SINGLE) {
6254
- L(e.action, er);
6261
+ x(e.action, er);
6255
6262
  const l = Si(e.action);
6256
6263
  o = {
6257
6264
  ...o,
@@ -6260,7 +6267,7 @@ class Km {
6260
6267
  }
6261
6268
  };
6262
6269
  } else if (r === Vt.SELECT) {
6263
- L(e.action, {
6270
+ x(e.action, {
6264
6271
  ...er,
6265
6272
  selected: Function,
6266
6273
  currentIndex: Number,
@@ -6282,7 +6289,7 @@ class Km {
6282
6289
  }
6283
6290
  };
6284
6291
  } else {
6285
- L(e.icon, String), ve(e.title, String), ve(e.disabled, Boolean);
6292
+ x(e.icon, String), pe(e.title, String), pe(e.disabled, Boolean);
6286
6293
  const {
6287
6294
  icon: l,
6288
6295
  title: c = void 0,
@@ -10031,7 +10038,7 @@ const Jb = {
10031
10038
  TiltSlider: Bb,
10032
10039
  VcsZoomButton: Ob,
10033
10040
  VcsCompass: Eb,
10034
- VContainer: pe,
10041
+ VContainer: me,
10035
10042
  VRow: Re
10036
10043
  },
10037
10044
  setup() {
@@ -10292,7 +10299,7 @@ const f9 = h9.exports, p9 = {
10292
10299
  VcsSelect: $r,
10293
10300
  VcsRadio: f9,
10294
10301
  VcsLabel: rt,
10295
- VContainer: pe,
10302
+ VContainer: me,
10296
10303
  VRow: Re,
10297
10304
  VCol: Ye
10298
10305
  },
@@ -10491,25 +10498,25 @@ const M9 = {
10491
10498
  ie(
10492
10499
  s,
10493
10500
  () => {
10494
- n.value !== s.value && (n.value = s.value), s.singleSelect && n.value.length > 1 && (n.value.filter((b, z) => z && b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [n.value[0]], e("input", n)), !s.selectable && n.value.length > 0 && (n.value.filter((b) => b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [], e("input", n)), s.searchable || (r.value = "");
10501
+ n.value !== s.value && (n.value = s.value), s.singleSelect && n.value.length > 1 && (n.value.filter((b, G) => G && b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [n.value[0]], e("input", n)), !s.selectable && n.value.length > 0 && (n.value.filter((b) => b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [], e("input", n)), s.searchable || (r.value = "");
10495
10502
  },
10496
10503
  { immediate: !0, deep: !1 }
10497
10504
  );
10498
10505
  const f = zt().proxy, p = q(
10499
10506
  "filterPredicate",
10500
- (b, z = "") => f.$t(b.title).toLocaleLowerCase().includes(z.toLocaleLowerCase())
10507
+ (b, G = "") => f.$t(b.title).toLocaleLowerCase().includes(G.toLocaleLowerCase())
10501
10508
  );
10502
10509
  let _ = null;
10503
10510
  const g = y(() => r.value === "" && s.draggable);
10504
- function k(b, z) {
10505
- g.value && (_ !== null && z !== void 0 && e("item-moved", { item: _, targetIndex: z }), _ = null, a.value = void 0, document.removeEventListener("mouseup", k));
10511
+ function E(b, G) {
10512
+ g.value && (_ !== null && G !== void 0 && e("item-moved", { item: _, targetIndex: G }), _ = null, a.value = void 0, document.removeEventListener("mouseup", E));
10506
10513
  }
10507
- function P(b, z, M) {
10508
- g.value && (a.value = M, _ = z, b.dataTransfer.effectAllowed = "move", document.addEventListener("mouseup", k));
10514
+ function z(b, G, D) {
10515
+ g.value && (a.value = D, _ = G, b.dataTransfer.effectAllowed = "move", document.addEventListener("mouseup", E));
10509
10516
  }
10510
10517
  const A = y(() => {
10511
- let b = s.items.filter((z) => z.visible !== !1);
10512
- return r.value && (b = b.filter((z) => p(z, r.value))), b;
10518
+ let b = s.items.filter((G) => G.visible !== !1);
10519
+ return r.value && (b = b.filter((G) => p(G, r.value))), b;
10513
10520
  }), V = Ea(
10514
10521
  A,
10515
10522
  n,
@@ -10537,20 +10544,20 @@ const M9 = {
10537
10544
  * @param {VcsListItem} item
10538
10545
  * @param {PointerEvent} event
10539
10546
  */
10540
- select(b, z) {
10541
- var M, B, $, G, ne, C, x, j;
10542
- if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((E) => E(z)), !(!s.selectable || b.disabled)) {
10547
+ select(b, G) {
10548
+ var D, $, N, B, re, I, M, O;
10549
+ if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((C) => C(G)), !(!s.selectable || b.disabled)) {
10543
10550
  if (s.singleSelect)
10544
- n.value[0] === b ? ((M = b.selectionChanged) == null || M.call(b, !1), n.value = [], u = null) : (($ = (B = n.value[0]) == null ? void 0 : B.selectionChanged) == null || $.call(B, !1), (G = b.selectionChanged) == null || G.call(b, !0), n.value = [b], u = b);
10545
- else if (z.shiftKey) {
10546
- let E = 0;
10547
- u && (E = A.value.indexOf(u));
10548
- const D = A.value.indexOf(b);
10549
- if (E > -1 && D > -1) {
10551
+ n.value[0] === b ? ((D = b.selectionChanged) == null || D.call(b, !1), n.value = [], u = null) : ((N = ($ = n.value[0]) == null ? void 0 : $.selectionChanged) == null || N.call($, !1), (B = b.selectionChanged) == null || B.call(b, !0), n.value = [b], u = b);
10552
+ else if (G.shiftKey) {
10553
+ let C = 0;
10554
+ u && (C = A.value.indexOf(u));
10555
+ const R = A.value.indexOf(b);
10556
+ if (C > -1 && R > -1) {
10550
10557
  const S = [...n.value];
10551
10558
  n.value = A.value.slice(
10552
- Math.min(E, D),
10553
- Math.max(E, D) + 1
10559
+ Math.min(C, R),
10560
+ Math.max(C, R) + 1
10554
10561
  ), S.forEach((T) => {
10555
10562
  T.selectionChanged && !n.value.includes(T) && T.selectionChanged(!1);
10556
10563
  }), n.value.forEach((T) => {
@@ -10559,7 +10566,7 @@ const M9 = {
10559
10566
  } else
10560
10567
  n.value.filter((S) => S !== b && S.selectionChanged).forEach((S) => S.selectionChanged(!1)), n.value = [], u = null;
10561
10568
  } else
10562
- n.value.includes(b) ? z.ctrlKey ? ((ne = b.selectionChanged) == null || ne.call(b, !1), n.value = n.value.filter((E) => E !== b)) : n.value.length > 1 ? (n.value.filter((E) => E !== b && E.selectionChanged).forEach((E) => E.selectionChanged(!1)), n.value = [b], u = b) : ((C = b.selectionChanged) == null || C.call(b, !1), n.value = [], u = null) : z.ctrlKey ? ((x = b.selectionChanged) == null || x.call(b, !0), n.value = [...n.value, b], n.value.length === 1 && (u = b)) : (n.value.filter((E) => E !== b && E.selectionChanged).forEach((E) => E.selectionChanged(!1)), (j = b.selectionChanged) == null || j.call(b, !0), n.value = [b], u = b);
10569
+ n.value.includes(b) ? G.ctrlKey ? ((re = b.selectionChanged) == null || re.call(b, !1), n.value = n.value.filter((C) => C !== b)) : n.value.length > 1 ? (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), n.value = [b], u = b) : ((I = b.selectionChanged) == null || I.call(b, !1), n.value = [], u = null) : G.ctrlKey ? ((M = b.selectionChanged) == null || M.call(b, !0), n.value = [...n.value, b], n.value.length === 1 && (u = b)) : (n.value.filter((C) => C !== b && C.selectionChanged).forEach((C) => C.selectionChanged(!1)), (O = b.selectionChanged) == null || O.call(b, !0), n.value = [b], u = b);
10563
10570
  e("input", n.value);
10564
10571
  }
10565
10572
  },
@@ -10567,25 +10574,25 @@ const M9 = {
10567
10574
  * @param {VcsListItem} item
10568
10575
  */
10569
10576
  add(b) {
10570
- var z;
10571
- !n.value.includes(b) && !b.disabled && ((z = b.selectionChanged) == null || z.call(b, !0), n.value = [...n.value, b], e("input", n.value));
10577
+ var G;
10578
+ !n.value.includes(b) && !b.disabled && ((G = b.selectionChanged) == null || G.call(b, !0), n.value = [...n.value, b], e("input", n.value));
10572
10579
  },
10573
10580
  /**
10574
10581
  * @param {VcsListItem} item
10575
10582
  */
10576
10583
  remove(b) {
10577
- var z;
10578
- n.value.includes(b) && !b.disabled && ((z = b.selectionChanged) == null || z.call(b, !1), n.value = n.value.filter((M) => M !== b), e("input", n.value));
10584
+ var G;
10585
+ n.value.includes(b) && !b.disabled && ((G = b.selectionChanged) == null || G.call(b, !1), n.value = n.value.filter((D) => D !== b), e("input", n.value));
10579
10586
  },
10580
10587
  clear() {
10581
10588
  n.value.filter((b) => b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [], u = null, e("input", n.value);
10582
10589
  },
10583
- drag: P,
10584
- drop: k,
10590
+ drag: z,
10591
+ drop: E,
10585
10592
  titles: d,
10586
- overflowTitle(b, z) {
10587
- const M = d.value[b];
10588
- return M && M.offsetWidth < M.scrollWidth ? z : "";
10593
+ overflowTitle(b, G) {
10594
+ const D = d.value[b];
10595
+ return D && D.offsetWidth < D.scrollWidth ? G : "";
10589
10596
  },
10590
10597
  listHeader: h,
10591
10598
  listHeaderTooltip: y(() => {
@@ -10594,9 +10601,9 @@ const M9 = {
10594
10601
  const b = h.value;
10595
10602
  return b && b.offsetWidth < b.scrollWidth ? s.title : "";
10596
10603
  }),
10597
- rename(b, z) {
10598
- var M;
10599
- z && (e("item-renamed", { item: b, newTitle: z }), (M = b.titleChanged) == null || M.call(b, z));
10604
+ rename(b, G) {
10605
+ var D;
10606
+ G && (e("item-renamed", { item: b, newTitle: G }), (D = b.titleChanged) == null || D.call(b, G));
10600
10607
  },
10601
10608
  hasIntermediateSlot: y(() => !!t["item.intermediate"])
10602
10609
  };
@@ -10812,7 +10819,7 @@ const P9 = F9.exports, z9 = {
10812
10819
  components: {
10813
10820
  CollectionComponentList: k9,
10814
10821
  VExpansionPanels: fc,
10815
- VContainer: pe,
10822
+ VContainer: me,
10816
10823
  CollectionComponentProvider: P9,
10817
10824
  CollectionComponent: Su
10818
10825
  },
@@ -10949,8 +10956,8 @@ const q9 = {
10949
10956
  var X9 = function() {
10950
10957
  var e = this, t = e._self._c;
10951
10958
  return t("v-list", { attrs: { dense: "" } }, [t("v-layout", { attrs: { wrap: "", column: e.item.colNr === 1 } }, e._l(e.item.rows, function(n, r) {
10952
- var i, a, o, l, c, u, d, h, f, p, _, g, k, P, A, V, H, b, z, M, B, $, G, ne, C, x, j, E, D, S, T, J, O, K, Y, ee, ze, fn, pn, Hn, Un, vt, at, mn, _n, gt, Ht, Ut;
10953
- return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (P = (k = n.text) == null ? void 0 : k.stroke) == null ? void 0 : P.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (z = n.stroke) == null ? void 0 : z.lineJoin, "stroke-dasharray": (M = n.stroke) == null ? void 0 : M.lineDash, "stroke-dashoffset": (B = n.stroke) == null ? void 0 : B.lineDashOffset, "stroke-miterlimit": ($ = n.stroke) == null ? void 0 : $.miterLimit, "stroke-width": (G = n.stroke) == null ? void 0 : G.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((ne = n.stroke) == null ? void 0 : ne.color), "stroke-linecap": (C = n.stroke) == null ? void 0 : C.lineCap, "stroke-linejoin": (x = n.stroke) == null ? void 0 : x.lineJoin, "stroke-dasharray": (j = n.stroke) == null ? void 0 : j.lineDash, "stroke-dashoffset": (E = n.stroke) == null ? void 0 : E.lineDashOffset, "stroke-miterlimit": (D = n.stroke) == null ? void 0 : D.miterLimit, "stroke-width": (S = n.stroke) == null ? void 0 : S.width, fill: e.getColor((T = n.fill) == null ? void 0 : T.color) || "rgba(255,255,255,0)" } }) : n.type === e.StyleRowType.Circle ? t("circle", { attrs: { cx: "16", cy: "12", r: ((J = n.image) == null ? void 0 : J.radius) || 8, stroke: e.getColor((K = (O = n.image) == null ? void 0 : O.stroke) == null ? void 0 : K.color), "stroke-linecap": (ee = (Y = n.image) == null ? void 0 : Y.stroke) == null ? void 0 : ee.lineCap, "stroke-linejoin": (fn = (ze = n.image) == null ? void 0 : ze.stroke) == null ? void 0 : fn.lineJoin, "stroke-dasharray": (Hn = (pn = n.image) == null ? void 0 : pn.stroke) == null ? void 0 : Hn.lineDash, "stroke-dashoffset": (vt = (Un = n.image) == null ? void 0 : Un.stroke) == null ? void 0 : vt.lineDashOffset, "stroke-miterlimit": (mn = (at = n.image) == null ? void 0 : at.stroke) == null ? void 0 : mn.miterLimit, "stroke-width": (gt = (_n = n.image) == null ? void 0 : _n.stroke) == null ? void 0 : gt.width, fill: e.getColor((Ut = (Ht = n.image) == null ? void 0 : Ht.fill) == null ? void 0 : Ut.color) || "rgba(255,255,255,0)" } }) : e._e()])], 1), t("v-list-item-content", [t("v-list-item-title", { staticClass: "pt-2", attrs: { title: e.$t(n.tooltip || n.title) } }, [e._v(" " + e._s(e.$t(n.title)) + " ")])], 1)], 1)], 1);
10959
+ var i, a, o, l, c, u, d, h, f, p, _, g, E, z, A, V, H, b, G, D, $, N, B, re, I, M, O, C, R, S, T, J, F, K, Y, ee, ze, fn, pn, Hn, Un, vt, at, mn, _n, gt, Ht, Ut;
10960
+ return t("v-flex", { key: r, class: { "w-full": e.item.colNr === 1, "w-half": e.item.colNr !== 1 } }, [t("v-list-item", { staticClass: "pa-0", class: e.determineInnerPadding(r), attrs: { dense: "" } }, [t("v-list-item-icon", { staticClass: "pr-2" }, [n.type === e.StyleRowType.Icon || n.type === e.StyleRowType.Shape ? t("v-img", { attrs: { width: "32", height: "24", contain: "", src: e.getImageSrcFromShape(n.image) } }) : t("svg", { attrs: { xmlns: "http://www.w3.org/2000/svg", width: "32", height: "24", viewBox: "0 0 32 24" } }, [n.type === e.StyleRowType.Text ? t("text", { style: `font:${n.text.font}`, attrs: { x: "0", y: "17", stroke: e.getColor((a = (i = n.text) == null ? void 0 : i.stroke) == null ? void 0 : a.color), "stroke-linecap": (l = (o = n.text) == null ? void 0 : o.stroke) == null ? void 0 : l.lineCap, "stroke-linejoin": (u = (c = n.text) == null ? void 0 : c.stroke) == null ? void 0 : u.lineJoin, "stroke-dasharray": (h = (d = n.text) == null ? void 0 : d.stroke) == null ? void 0 : h.lineDash, "stroke-dashoffset": (p = (f = n.text) == null ? void 0 : f.stroke) == null ? void 0 : p.lineDashOffset, "stroke-miterlimit": (g = (_ = n.text) == null ? void 0 : _.stroke) == null ? void 0 : g.miterLimit, "stroke-width": (z = (E = n.text) == null ? void 0 : E.stroke) == null ? void 0 : z.width, fill: e.getColor((V = (A = n.text) == null ? void 0 : A.fill) == null ? void 0 : V.color) || "rgba(255,255,255,0)" } }, [e._v(" " + e._s(e.$t(n.label || "legend.defaultLabelText")) + " ")]) : n.type === e.StyleRowType.Stroke ? t("line", { attrs: { x1: "0", y1: "12", x2: "32", y2: "12", stroke: e.getColor((H = n.stroke) == null ? void 0 : H.color), "stroke-linecap": (b = n.stroke) == null ? void 0 : b.lineCap, "stroke-linejoin": (G = n.stroke) == null ? void 0 : G.lineJoin, "stroke-dasharray": (D = n.stroke) == null ? void 0 : D.lineDash, "stroke-dashoffset": ($ = n.stroke) == null ? void 0 : $.lineDashOffset, "stroke-miterlimit": (N = n.stroke) == null ? void 0 : N.miterLimit, "stroke-width": (B = n.stroke) == null ? void 0 : B.width } }) : n.type === e.StyleRowType.Fill ? t("rect", { attrs: { width: "32", height: "24", stroke: e.getColor((re = n.stroke) == null ? void 0 : re.color), "stroke-linecap": (I = n.stroke) == null ? void 0 : I.lineCap, "stroke-linejoin": (M = n.stroke) == null ? void 0 : M.lineJoin, "stroke-dasharray": (O = n.stroke) == null ? void 0 : O.lineDash, "stroke-dashoffset": (C = n.stroke) == null ? void 0 : C.lineDashOffset, "stroke-miterlimit": (R = n.stroke) == null ? void 0 : R.miterLimit, "stroke-width": (S = n.stroke) == null ? void 0 : S.width, fill: e.getColor((T = n.fill) == null ? void 0 : T.color) || "rgba(255,255,255,0)" } }) : n.type === e.StyleRowType.Circle ? t("circle", { attrs: { cx: "16", cy: "12", r: ((J = n.image) == null ? void 0 : J.radius) || 8, stroke: e.getColor((K = (F = n.image) == null ? void 0 : F.stroke) == null ? void 0 : K.color), "stroke-linecap": (ee = (Y = n.image) == null ? void 0 : Y.stroke) == null ? void 0 : ee.lineCap, "stroke-linejoin": (fn = (ze = n.image) == null ? void 0 : ze.stroke) == null ? void 0 : fn.lineJoin, "stroke-dasharray": (Hn = (pn = n.image) == null ? void 0 : pn.stroke) == null ? void 0 : Hn.lineDash, "stroke-dashoffset": (vt = (Un = n.image) == null ? void 0 : Un.stroke) == null ? void 0 : vt.lineDashOffset, "stroke-miterlimit": (mn = (at = n.image) == null ? void 0 : at.stroke) == null ? void 0 : mn.miterLimit, "stroke-width": (gt = (_n = n.image) == null ? void 0 : _n.stroke) == null ? void 0 : gt.width, fill: e.getColor((Ut = (Ht = n.image) == null ? void 0 : Ht.fill) == null ? void 0 : Ut.color) || "rgba(255,255,255,0)" } }) : e._e()])], 1), t("v-list-item-content", [t("v-list-item-title", { staticClass: "pt-2", attrs: { title: e.$t(n.tooltip || n.title) } }, [e._v(" " + e._s(e.$t(n.title)) + " ")])], 1)], 1)], 1);
10954
10961
  }), 1)], 1);
10955
10962
  }, K9 = [], eA = /* @__PURE__ */ m(
10956
10963
  q9,
@@ -11139,7 +11146,7 @@ const pA = {
11139
11146
  name: "VcsTextPage",
11140
11147
  components: {
11141
11148
  VSheet: ue,
11142
- VContainer: pe
11149
+ VContainer: me
11143
11150
  },
11144
11151
  props: {
11145
11152
  content: {
@@ -11387,7 +11394,7 @@ class zA extends _r {
11387
11394
  * @param {boolean} move
11388
11395
  */
11389
11396
  setMove(e) {
11390
- L(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
11397
+ x(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
11391
11398
  }
11392
11399
  /**
11393
11400
  * @param {import("@vcmap/core").InteractionEvent} event
@@ -11771,7 +11778,7 @@ const nM = {
11771
11778
  VcsMap: au,
11772
11779
  WindowManagerComponent: Qm,
11773
11780
  ToolboxManagerComponent: p_,
11774
- VContainer: pe,
11781
+ VContainer: me,
11775
11782
  VFooter: i0,
11776
11783
  NotifierComponent: $A
11777
11784
  },
@@ -11932,7 +11939,7 @@ class Pt {
11932
11939
  * @param {StateActionState} state
11933
11940
  */
11934
11941
  set state(e) {
11935
- L(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
11942
+ x(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
11936
11943
  }
11937
11944
  /**
11938
11945
  * @type {string|null}
@@ -11944,7 +11951,7 @@ class Pt {
11944
11951
  * @param {string} url
11945
11952
  */
11946
11953
  set infoUrl(e) {
11947
- if (ve(e, String), this._infoUrl !== e) {
11954
+ if (pe(e, String), this._infoUrl !== e) {
11948
11955
  this._infoUrl = e;
11949
11956
  const t = "infoUrl";
11950
11957
  if (this._infoUrl) {
@@ -11971,7 +11978,7 @@ class Pt {
11971
11978
  * @param {string|undefined} title
11972
11979
  */
11973
11980
  set title(e) {
11974
- ve(e, String), this._title.value = e;
11981
+ pe(e, String), this._title.value = e;
11975
11982
  }
11976
11983
  /**
11977
11984
  * @type {string|undefined}
@@ -11983,7 +11990,7 @@ class Pt {
11983
11990
  * @param {string|undefined} tooltip
11984
11991
  */
11985
11992
  set tooltip(e) {
11986
- ve(e, String), this._tooltip.value = e;
11993
+ pe(e, String), this._tooltip.value = e;
11987
11994
  }
11988
11995
  /**
11989
11996
  * @type {string|HTMLCanvasElement|HTMLImageElement|undefined}
@@ -11995,7 +12002,7 @@ class Pt {
11995
12002
  * @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
11996
12003
  */
11997
12004
  set icon(e) {
11998
- ve(e, [String, HTMLElement]), this._icon.value = e;
12005
+ pe(e, [String, HTMLElement]), this._icon.value = e;
11999
12006
  }
12000
12007
  /**
12001
12008
  * @type {number}
@@ -12007,7 +12014,7 @@ class Pt {
12007
12014
  * @param {number} weight
12008
12015
  */
12009
12016
  set weight(e) {
12010
- L(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
12017
+ x(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
12011
12018
  }
12012
12019
  /**
12013
12020
  * @private
@@ -12046,7 +12053,7 @@ class Pt {
12046
12053
  * @param {number} [weight=11]
12047
12054
  */
12048
12055
  addAction(e, t = 11) {
12049
- if (L(e.name, String), ve(t, Number), this._getActionIndex(e.name) > -1)
12056
+ if (x(e.name, String), pe(t, Number), this._getActionIndex(e.name) > -1)
12050
12057
  throw new Error("Action names must be unique");
12051
12058
  e[hl] = t;
12052
12059
  const r = this._actions.value.findIndex(
@@ -12310,7 +12317,12 @@ class NM extends Rt {
12310
12317
  }),
12311
12318
  this.moved.addEventListener(() => t(!0))
12312
12319
  ], this._defaultSubtreeItem = new Oi(
12313
- { name: "Content", icon: "$vcsLayers", title: "content.title" },
12320
+ {
12321
+ name: "Content",
12322
+ icon: "$vcsLayers",
12323
+ title: "content.title",
12324
+ tooltip: "content.title"
12325
+ },
12314
12326
  e
12315
12327
  ), this._subTreeViewItems = w(/* @__PURE__ */ new Map()), this._subTreeListeners = /* @__PURE__ */ new Map(), this._suspendListeners = !1;
12316
12328
  }
@@ -13276,23 +13288,27 @@ class Na {
13276
13288
  * @private
13277
13289
  */
13278
13290
  _handleItemReplaced(e) {
13279
- const t = this.selection.value.findIndex(
13280
- (n) => n.name === e.old[this.collection.uniqueKey]
13291
+ var i;
13292
+ const t = (i = this.getListItemForItem(e.old)) == null ? void 0 : i.hasUpdate, n = this._listItems.value.findIndex(
13293
+ (a) => a.name === e.old[this.collection.uniqueKey]
13294
+ ), r = this.selection.value.findIndex(
13295
+ (a) => a.name === e.old[this.collection.uniqueKey]
13281
13296
  );
13282
- if (this._handleItemRemoved(e.old), t > -1) {
13283
- const n = this._collection.added.addEventListener((r) => {
13284
- if (r === e.new) {
13285
- const i = this.items.value.find(
13286
- (a) => a.name === r[this.collection.uniqueKey]
13287
- );
13288
- i && this.selection.value.splice(t, 0, i), n();
13297
+ if (this._handleItemRemoved(e.old), r > -1 || t !== void 0) {
13298
+ const a = this._collection.added.addEventListener((o) => {
13299
+ if (o === e.new) {
13300
+ const l = this.items.value.findIndex(
13301
+ (u) => u.name === o[this.collection.uniqueKey]
13302
+ ), c = this._listItems.value[l];
13303
+ c && (t !== void 0 && (c.hasUpdate = t), l !== n && (this._listItems.value.splice(l, 1), this._listItems.value.splice(n, 0, c)), r > -1 && this.selection.value.splice(r, 0, c)), a();
13289
13304
  }
13290
13305
  });
13291
13306
  }
13292
13307
  }
13293
13308
  /**
13294
- * synchronizes the order of the list items with respect to the order of the items in the collection.
13295
- * removes and reinserts the moved item.
13309
+ * Synchronizes the order of the list items with respect to the order of the items in the collection.
13310
+ * Removes and reinserts the moved item.
13311
+ * Ensures selection and hasUpdate.
13296
13312
  * @param {T} item
13297
13313
  * @template T
13298
13314
  * @private
@@ -13446,7 +13462,7 @@ class jM {
13446
13462
  * @template {Object|import("@vcmap/core").VcsObject} T
13447
13463
  */
13448
13464
  add(e, t) {
13449
- if (L(e, { collection: ys }), L(t, [String, Symbol]), e.id && this.has(e.id))
13465
+ if (x(e, { collection: ys }), x(t, [String, Symbol]), e.id && this.has(e.id))
13450
13466
  throw new Error(
13451
13467
  `A collection component with id ${e.id} has already been registered.`
13452
13468
  );
@@ -13472,7 +13488,7 @@ class jM {
13472
13488
  * @param {string} id
13473
13489
  */
13474
13490
  remove(e) {
13475
- L(e, String);
13491
+ x(e, String);
13476
13492
  const t = this._collectionComponents.get(e);
13477
13493
  if (t) {
13478
13494
  const n = this.componentIds.indexOf(e);
@@ -13499,7 +13515,7 @@ class jM {
13499
13515
  * @template {Object} T
13500
13516
  */
13501
13517
  addMappingFunction(e, t, n, r = []) {
13502
- ve(e, Function), L(t, Function), L(n, [String, Symbol]), L(r, [String]);
13518
+ pe(e, Function), x(t, Function), x(n, [String, Symbol]), x(r, [String]);
13503
13519
  const i = {
13504
13520
  predicate: e,
13505
13521
  mappingFunction: t,
@@ -13520,7 +13536,7 @@ class jM {
13520
13536
  * @template {Object} T
13521
13537
  */
13522
13538
  removeMappingFunction(e, t) {
13523
- L(e, Function), L(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13539
+ x(e, Function), x(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13524
13540
  n.removeItemMapping({ mappingFunction: e, owner: t });
13525
13541
  }), this._itemMappings = this._itemMappings.filter(
13526
13542
  (n) => !(n.mappingFunction === e && n.owner === t)
@@ -13533,7 +13549,7 @@ class jM {
13533
13549
  * @template {Object} T
13534
13550
  */
13535
13551
  addFilterFunction(e, t, n = []) {
13536
- L(e, Function), L(t, [String, Symbol]), L(n, [String]);
13552
+ x(e, Function), x(t, [String, Symbol]), x(n, [String]);
13537
13553
  const r = {
13538
13554
  filterFunction: e,
13539
13555
  owner: t
@@ -13553,7 +13569,7 @@ class jM {
13553
13569
  * @template {Object} T
13554
13570
  */
13555
13571
  removeFilterFunction(e, t) {
13556
- L(e, Function), L(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13572
+ x(e, Function), x(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13557
13573
  n.removeItemFilter({ filterFunction: e, owner: t });
13558
13574
  }), this._itemFilters = this._itemFilters.filter(
13559
13575
  (n) => !(n.filterFunction === e && n.owner === t)
@@ -13566,7 +13582,7 @@ class jM {
13566
13582
  * @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
13567
13583
  */
13568
13584
  addActions(e, t, n = []) {
13569
- if (L(t, [String, Symbol]), L(n, [String]), !pa(e))
13585
+ if (x(t, [String, Symbol]), x(n, [String]), !pa(e))
13570
13586
  throw new Error("Invalid actions Array");
13571
13587
  if (!this._actions.find(
13572
13588
  (r) => r.actions === e && r.owner === t
@@ -13587,7 +13603,7 @@ class jM {
13587
13603
  * @param {string | symbol} owner
13588
13604
  */
13589
13605
  removeActions(e, t) {
13590
- L(t, [String, Symbol]);
13606
+ x(t, [String, Symbol]);
13591
13607
  const n = e.map((r) => ({ action: r, owner: t }));
13592
13608
  [...this._collectionComponents.values()].forEach((r) => {
13593
13609
  r.removeActions(n);
@@ -13600,7 +13616,7 @@ class jM {
13600
13616
  * @param {string | symbol} owner
13601
13617
  */
13602
13618
  removeOwner(e) {
13603
- L(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
13619
+ x(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
13604
13620
  t.owner === e ? (this.remove(t.id), t.destroy()) : t.removeOwner(e);
13605
13621
  }), this._itemMappings = this._itemMappings.filter((t) => t.owner !== e), this._itemFilters = this._itemFilters.filter((t) => t.owner !== e), this._actions = this._actions.filter(
13606
13622
  (t) => t.owner !== e
@@ -13676,7 +13692,7 @@ const bl = Symbol(
13676
13692
  "EditorCollectionComponentClass"
13677
13693
  );
13678
13694
  function HE(s, e, t, n = "category-manager") {
13679
- L(e, Na), L(t.editor, [Object, Function]), ve(t.multiEditor, Object);
13695
+ x(e, Na), x(t.editor, [Object, Function]), pe(t.multiEditor, Object), pe(t.predicate, Function);
13680
13696
  const r = (
13681
13697
  /** @type {EditorCollectionComponentClass} */
13682
13698
  e
@@ -13689,103 +13705,104 @@ function HE(s, e, t, n = "category-manager") {
13689
13705
  const {
13690
13706
  editor: i,
13691
13707
  multiEditor: a = void 0,
13692
- selectionBased: o = !0
13693
- } = t, l = r.collection.uniqueKey, c = `${r.id}-editor`, u = `${r.id}-multi-editor`;
13694
- function d(M) {
13695
- return r.collection.getByKey(M.name);
13708
+ predicate: o = () => !0,
13709
+ selectionBased: l = !0
13710
+ } = t, c = r.collection.uniqueKey, u = `${r.id}-editor`, d = `${r.id}-multi-editor`;
13711
+ function h($) {
13712
+ return r.collection.getByKey($.name);
13696
13713
  }
13697
- function h(M) {
13698
- return o ? c : `${c}-${M[l]}`;
13714
+ function f($) {
13715
+ return l ? u : `${u}-${$[c]}`;
13699
13716
  }
13700
- function f() {
13717
+ function p() {
13701
13718
  if (a)
13702
- return u;
13719
+ return d;
13703
13720
  }
13704
- function p(M) {
13705
- return typeof i == "function" ? i(M) : i;
13721
+ function _($) {
13722
+ return typeof i == "function" ? i($) : i;
13706
13723
  }
13707
- function _(M) {
13708
- const B = h(M);
13709
- s.windowManager.has(B) && s.windowManager.remove(B);
13724
+ function g($) {
13725
+ const N = f($);
13726
+ s.windowManager.has(N) && s.windowManager.remove(N);
13710
13727
  }
13711
- function g() {
13712
- s.windowManager.componentIds.filter((M) => M.startsWith(c)).forEach((M) => s.windowManager.remove(M));
13728
+ function E() {
13729
+ s.windowManager.componentIds.filter(($) => $.startsWith(u)).forEach(($) => s.windowManager.remove($));
13713
13730
  }
13714
- function k() {
13715
- s.windowManager.has(u) && s.windowManager.remove(u);
13731
+ function z() {
13732
+ s.windowManager.has(d) && s.windowManager.remove(d);
13716
13733
  }
13717
- function P(M) {
13718
- const B = p(M), $ = h(M);
13719
- B && (k(), s.windowManager.has($) ? s.windowManager.bringWindowToTop($) : s.windowManager.add(
13734
+ function A($) {
13735
+ const N = _($), B = f($);
13736
+ N && (z(), s.windowManager.has(B) ? s.windowManager.bringWindowToTop(B) : s.windowManager.add(
13720
13737
  {
13721
- ...B,
13722
- id: $,
13738
+ ...N,
13739
+ id: B,
13723
13740
  slot: U.DYNAMIC_CHILD,
13724
13741
  parentId: n
13725
13742
  },
13726
13743
  r.owner
13727
13744
  ));
13728
13745
  }
13729
- function A() {
13730
- a && (g(), s.windowManager.has(u) ? s.windowManager.bringWindowToTop(u) : s.windowManager.add(
13746
+ function V() {
13747
+ a && (E(), s.windowManager.has(d) ? s.windowManager.bringWindowToTop(d) : s.windowManager.add(
13731
13748
  {
13732
13749
  ...a,
13733
- id: u,
13750
+ id: d,
13734
13751
  slot: U.DYNAMIC_CHILD,
13735
13752
  parentId: n
13736
13753
  },
13737
13754
  r.owner
13738
13755
  ));
13739
13756
  }
13740
- const V = ie(
13757
+ const H = ie(
13741
13758
  r.selection,
13742
- async (M, B) => {
13743
- M.length > 1 ? g() : M.length === 1 && B.indexOf(M[0]) < 0 ? (o && (g(), await kn()), P(d(M[0]))) : M.length === 0 && (o && g(), k());
13759
+ async ($, N) => {
13760
+ $.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await kn()), A(h($[0]))) : $.length === 0 && (l && E(), z());
13744
13761
  }
13745
- ), H = r.collection.removed.addEventListener(
13746
- _
13762
+ ), b = r.collection.removed.addEventListener(
13763
+ g
13747
13764
  );
13748
13765
  r.addItemMapping({
13749
- predicate: (M) => !!p(M),
13750
- mappingFunction: (M, B, $) => {
13751
- $.clickedCallbacks.push((ne) => {
13752
- ne.shiftKey || ne.ctrlKey || (r.selection.value.length > 1 && P(M), !o && r.selection.value.length === 1 && r.selection.value[0] === $ && _(M));
13766
+ predicate: o,
13767
+ mappingFunction: ($, N, B) => {
13768
+ B.clickedCallbacks.push((I) => {
13769
+ I.shiftKey || I.ctrlKey || (r.selection.value.length > 1 && A($), !l && r.selection.value.length === 1 && r.selection.value[0] === B && g($));
13753
13770
  });
13754
- const G = {
13771
+ const re = {
13755
13772
  name: "list.editItem",
13756
13773
  async callback() {
13757
- o ? (g(), await kn(), e.selection.value = [$]) : e.selection.value = [], P(M);
13774
+ l ? (E(), await kn(), e.selection.value = [B]) : e.selection.value = [], A($);
13758
13775
  },
13759
13776
  weight: 10
13760
13777
  };
13761
- $.actions.push(G);
13778
+ B.actions.push(re);
13762
13779
  },
13763
13780
  owner: r.owner
13764
13781
  });
13765
- let b = () => {
13782
+ let G = () => {
13766
13783
  };
13767
13784
  if (a) {
13768
- const { action: M, destroy: B } = Im(
13785
+ const { action: $, destroy: N } = Im(
13769
13786
  r.selection,
13770
- A,
13787
+ V,
13771
13788
  s.windowManager,
13772
13789
  r.owner,
13773
- f()
13790
+ p()
13774
13791
  );
13775
13792
  r.addActions([
13776
13793
  {
13777
- action: ce(M),
13794
+ action: ce($),
13778
13795
  owner: r.owner,
13779
13796
  weight: 101
13780
13797
  }
13781
- ]), b = B;
13798
+ ]), G = N;
13782
13799
  }
13783
- r.getEditorWindowId = h, r.getMultiEditorWindowId = f, r.closeEditorWindow = _, r.closeEditorWindows = g, r.closeMultiEditorWindow = k, r.openEditorWindow = P, r.openMultiEditorWindow = A, r.parentId = n;
13784
- const z = r.destroy.bind(
13800
+ r.getEditorWindowId = f, r.getMultiEditorWindowId = p, r.closeEditorWindow = g, r.closeEditorWindows = E, r.closeMultiEditorWindow = z, r.openEditorWindow = A, r.openMultiEditorWindow = V, r.parentId = n;
13801
+ const D = r.destroy.bind(
13785
13802
  r
13786
13803
  );
13787
13804
  return r.destroy = function() {
13788
- z(), V(), H(), b();
13805
+ D(), H(), b(), G();
13789
13806
  }, r;
13790
13807
  }
13791
13808
  class VM extends _r {
@@ -13918,7 +13935,7 @@ class HM {
13918
13935
  * @param {string|symbol} owner
13919
13936
  */
13920
13937
  addEventHandler(e, t) {
13921
- L(e, Function), L(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
13938
+ x(e, Function), x(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
13922
13939
  const n = [...this._app.plugins].map((r) => r.name);
13923
13940
  this._eventHandlers.sort((r, i) => La(r.owner, i.owner, n));
13924
13941
  }
@@ -13959,7 +13976,7 @@ const UM = {
13959
13976
  VcsTreeviewSearchbar: Ca,
13960
13977
  VCard: cn,
13961
13978
  VDataTable: l0,
13962
- VContainer: pe,
13979
+ VContainer: me,
13963
13980
  VDivider: _t,
13964
13981
  VRow: Re,
13965
13982
  VMenu: Bt,
@@ -14022,10 +14039,10 @@ const UM = {
14022
14039
  const n = zt().proxy, r = w(null), i = w(""), a = (A, V, H) => {
14023
14040
  if (V) {
14024
14041
  const b = V.toLocaleLowerCase();
14025
- return Object.values(H).some((z) => {
14026
- if (z) {
14027
- const M = z.toString();
14028
- return n.$t(M).toLowerCase().includes(b) || M.toLowerCase().includes(b);
14042
+ return Object.values(H).some((G) => {
14043
+ if (G) {
14044
+ const D = G.toString();
14045
+ return n.$t(D).toLowerCase().includes(b) || D.toLowerCase().includes(b);
14029
14046
  }
14030
14047
  return !1;
14031
14048
  });
@@ -14052,9 +14069,9 @@ const UM = {
14052
14069
  p.value = 1;
14053
14070
  }
14054
14071
  );
14055
- const k = () => {
14072
+ const E = () => {
14056
14073
  p.value = 1;
14057
- const { sortBy: A, sortDesc: V, groupBy: H, groupDesc: b, multiSort: z, mustSort: M } = e;
14074
+ const { sortBy: A, sortDesc: V, groupBy: H, groupDesc: b, multiSort: G, mustSort: D } = e;
14058
14075
  t("update:items", {
14059
14076
  page: p.value,
14060
14077
  itemsPerPage: h.value,
@@ -14062,11 +14079,11 @@ const UM = {
14062
14079
  sortDesc: V,
14063
14080
  groupBy: H,
14064
14081
  groupDesc: b,
14065
- multiSort: z,
14066
- mustSort: M,
14082
+ multiSort: G,
14083
+ mustSort: D,
14067
14084
  search: i.value
14068
14085
  });
14069
- }, P = y(
14086
+ }, z = y(
14070
14087
  () => s.items.length > h.value || s.serverItemsLength > h.value
14071
14088
  );
14072
14089
  return {
@@ -14091,9 +14108,9 @@ const UM = {
14091
14108
  h.value = A;
14092
14109
  },
14093
14110
  handleFilter: a,
14094
- handleSearch: k,
14111
+ handleSearch: E,
14095
14112
  translatedHeaders: d,
14096
- showFooter: P
14113
+ showFooter: z
14097
14114
  };
14098
14115
  }
14099
14116
  };
@@ -14621,7 +14638,7 @@ var ax = function() {
14621
14638
  );
14622
14639
  const ju = lx.exports;
14623
14640
  function zi(s, e, t = null) {
14624
- L(s, String), L(e, Object);
14641
+ x(s, String), x(e, Object);
14625
14642
  const r = s.split(".").reduce((i, a) => i[a] || {}, e);
14626
14643
  return typeof r == "string" ? r : t;
14627
14644
  }
@@ -15059,12 +15076,12 @@ class yx extends ys {
15059
15076
  * @returns {Promise<void>}
15060
15077
  */
15061
15078
  async selectFeature(e, t, n, r) {
15062
- L(e, [
15079
+ x(e, [
15063
15080
  bs,
15064
15081
  Ac,
15065
15082
  T0,
15066
15083
  k0
15067
- ]), ve(t, [Number]), ve(n, [Number]), ve(r, hn);
15084
+ ]), pe(t, [Number]), pe(n, [Number]), pe(r, hn);
15068
15085
  const i = e[gx] ?? r ?? this._getFeatureInfoViewForFeature(e), a = this._app.layers.getByKey(e[wi]);
15069
15086
  if (i && a) {
15070
15087
  if (this._clearInternal(), e[V1]) {
@@ -15312,7 +15329,7 @@ function Nx(s) {
15312
15329
  beforeCreate: function() {
15313
15330
  var n = this.$options;
15314
15331
  if (n.i18n = n.i18n || (n.__i18nBridge || n.__i18n ? {} : null), n.i18n) {
15315
- if (n.i18n instanceof N) {
15332
+ if (n.i18n instanceof k) {
15316
15333
  if (n.__i18nBridge || n.__i18n)
15317
15334
  try {
15318
15335
  var r = n.i18n && n.i18n.messages ? n.i18n.messages : {}, i = n.__i18nBridge || n.__i18n;
@@ -15325,7 +15342,7 @@ function Nx(s) {
15325
15342
  }
15326
15343
  this._i18n = n.i18n, this._i18nWatcher = this._i18n.watchI18nData();
15327
15344
  } else if (ht(n.i18n)) {
15328
- var a = this.$root && this.$root.$i18n && this.$root.$i18n instanceof N ? this.$root.$i18n : null;
15345
+ var a = this.$root && this.$root.$i18n && this.$root.$i18n instanceof k ? this.$root.$i18n : null;
15329
15346
  if (a && (n.i18n.root = this.$root, n.i18n.formatter = a.formatter, n.i18n.fallbackLocale = a.fallbackLocale, n.i18n.formatFallbackMessages = a.formatFallbackMessages, n.i18n.silentTranslationWarn = a.silentTranslationWarn, n.i18n.silentFallbackWarn = a.silentFallbackWarn, n.i18n.pluralizationRules = a.pluralizationRules, n.i18n.preserveDirectiveContent = a.preserveDirectiveContent), n.__i18nBridge || n.__i18n)
15330
15347
  try {
15331
15348
  var o = n.i18n && n.i18n.messages ? n.i18n.messages : {}, l = n.__i18nBridge || n.__i18n;
@@ -15335,14 +15352,14 @@ function Nx(s) {
15335
15352
  } catch {
15336
15353
  }
15337
15354
  var c = n.i18n, u = c.sharedMessages;
15338
- u && ht(u) && (n.i18n.messages = rn(n.i18n.messages, u)), this._i18n = new N(n.i18n), this._i18nWatcher = this._i18n.watchI18nData(), (n.i18n.sync === void 0 || n.i18n.sync) && (this._localeWatcher = this.$i18n.watchLocale()), a && a.onComponentInstanceCreated(this._i18n);
15355
+ u && ht(u) && (n.i18n.messages = rn(n.i18n.messages, u)), this._i18n = new k(n.i18n), this._i18nWatcher = this._i18n.watchI18nData(), (n.i18n.sync === void 0 || n.i18n.sync) && (this._localeWatcher = this.$i18n.watchLocale()), a && a.onComponentInstanceCreated(this._i18n);
15339
15356
  }
15340
15357
  } else
15341
- this.$root && this.$root.$i18n && this.$root.$i18n instanceof N ? this._i18n = this.$root.$i18n : n.parent && n.parent.$i18n && n.parent.$i18n instanceof N && (this._i18n = n.parent.$i18n);
15358
+ this.$root && this.$root.$i18n && this.$root.$i18n instanceof k ? this._i18n = this.$root.$i18n : n.parent && n.parent.$i18n && n.parent.$i18n instanceof k && (this._i18n = n.parent.$i18n);
15342
15359
  },
15343
15360
  beforeMount: function() {
15344
15361
  var n = this.$options;
15345
- n.i18n = n.i18n || (n.__i18nBridge || n.__i18n ? {} : null), n.i18n ? n.i18n instanceof N ? (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : ht(n.i18n) && (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : this.$root && this.$root.$i18n && this.$root.$i18n instanceof N ? (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : n.parent && n.parent.$i18n && n.parent.$i18n instanceof N && (this._i18n.subscribeDataChanging(this), this._subscribing = !0);
15362
+ n.i18n = n.i18n || (n.__i18nBridge || n.__i18n ? {} : null), n.i18n ? n.i18n instanceof k ? (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : ht(n.i18n) && (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : this.$root && this.$root.$i18n && this.$root.$i18n instanceof k ? (this._i18n.subscribeDataChanging(this), this._subscribing = !0) : n.parent && n.parent.$i18n && n.parent.$i18n instanceof k && (this._i18n.subscribeDataChanging(this), this._subscribing = !0);
15346
15363
  },
15347
15364
  mounted: e,
15348
15365
  beforeDestroy: function() {
@@ -15703,7 +15720,7 @@ var Kx = /<\/?[\w\s="/.':;#-\/]+>/, eL = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\(
15703
15720
  capitalize: function(s) {
15704
15721
  return "" + s.charAt(0).toLocaleUpperCase() + s.substr(1);
15705
15722
  }
15706
- }, Hi = new zu(), N = function(e) {
15723
+ }, Hi = new zu(), k = function(e) {
15707
15724
  var t = this;
15708
15725
  e === void 0 && (e = {}), !Le && typeof window < "u" && window.Vue && $a(window.Vue);
15709
15726
  var n = e.locale || "en-US", r = e.fallbackLocale === !1 ? !1 : e.fallbackLocale || "en-US", i = e.messages || {}, a = e.dateTimeFormats || e.datetimeFormats || {}, o = e.numberFormats || {};
@@ -15728,8 +15745,8 @@ var Kx = /<\/?[\w\s="/.':;#-\/]+>/, eL = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\(
15728
15745
  dateTimeFormats: a,
15729
15746
  numberFormats: o
15730
15747
  });
15731
- }, re = { vm: { configurable: !0 }, messages: { configurable: !0 }, dateTimeFormats: { configurable: !0 }, numberFormats: { configurable: !0 }, availableLocales: { configurable: !0 }, locale: { configurable: !0 }, fallbackLocale: { configurable: !0 }, formatFallbackMessages: { configurable: !0 }, missing: { configurable: !0 }, formatter: { configurable: !0 }, silentTranslationWarn: { configurable: !0 }, silentFallbackWarn: { configurable: !0 }, preserveDirectiveContent: { configurable: !0 }, warnHtmlInMessage: { configurable: !0 }, postTranslation: { configurable: !0 }, sync: { configurable: !0 } };
15732
- N.prototype._checkLocaleMessage = function(e, t, n) {
15748
+ }, se = { vm: { configurable: !0 }, messages: { configurable: !0 }, dateTimeFormats: { configurable: !0 }, numberFormats: { configurable: !0 }, availableLocales: { configurable: !0 }, locale: { configurable: !0 }, fallbackLocale: { configurable: !0 }, formatFallbackMessages: { configurable: !0 }, missing: { configurable: !0 }, formatter: { configurable: !0 }, silentTranslationWarn: { configurable: !0 }, silentFallbackWarn: { configurable: !0 }, preserveDirectiveContent: { configurable: !0 }, warnHtmlInMessage: { configurable: !0 }, postTranslation: { configurable: !0 }, sync: { configurable: !0 } };
15749
+ k.prototype._checkLocaleMessage = function(e, t, n) {
15733
15750
  var r = [], i = function(a, o, l, c) {
15734
15751
  if (ht(l))
15735
15752
  Object.keys(l).forEach(function(h) {
@@ -15750,20 +15767,20 @@ N.prototype._checkLocaleMessage = function(e, t, n) {
15750
15767
  };
15751
15768
  i(t, e, n, r);
15752
15769
  };
15753
- N.prototype._initVM = function(e) {
15770
+ k.prototype._initVM = function(e) {
15754
15771
  var t = Le.config.silent;
15755
15772
  Le.config.silent = !0, this._vm = new Le({ data: e, __VUE18N__INSTANCE__: !0 }), Le.config.silent = t;
15756
15773
  };
15757
- N.prototype.destroyVM = function() {
15774
+ k.prototype.destroyVM = function() {
15758
15775
  this._vm.$destroy();
15759
15776
  };
15760
- N.prototype.subscribeDataChanging = function(e) {
15777
+ k.prototype.subscribeDataChanging = function(e) {
15761
15778
  this._dataListeners.add(e);
15762
15779
  };
15763
- N.prototype.unsubscribeDataChanging = function(e) {
15780
+ k.prototype.unsubscribeDataChanging = function(e) {
15764
15781
  Lx(this._dataListeners, e);
15765
15782
  };
15766
- N.prototype.watchI18nData = function() {
15783
+ k.prototype.watchI18nData = function() {
15767
15784
  var e = this;
15768
15785
  return this._vm.$watch("$data", function() {
15769
15786
  for (var t = Ix(e._dataListeners), n = t.length; n--; )
@@ -15772,7 +15789,7 @@ N.prototype.watchI18nData = function() {
15772
15789
  });
15773
15790
  }, { deep: !0 });
15774
15791
  };
15775
- N.prototype.watchLocale = function(e) {
15792
+ k.prototype.watchLocale = function(e) {
15776
15793
  if (e) {
15777
15794
  if (!this.__VUE_I18N_BRIDGE__)
15778
15795
  return null;
@@ -15789,76 +15806,76 @@ N.prototype.watchLocale = function(e) {
15789
15806
  }, { immediate: !0 });
15790
15807
  }
15791
15808
  };
15792
- N.prototype.onComponentInstanceCreated = function(e) {
15809
+ k.prototype.onComponentInstanceCreated = function(e) {
15793
15810
  this._componentInstanceCreatedListener && this._componentInstanceCreatedListener(e, this);
15794
15811
  };
15795
- re.vm.get = function() {
15812
+ se.vm.get = function() {
15796
15813
  return this._vm;
15797
15814
  };
15798
- re.messages.get = function() {
15815
+ se.messages.get = function() {
15799
15816
  return Gn(this._getMessages());
15800
15817
  };
15801
- re.dateTimeFormats.get = function() {
15818
+ se.dateTimeFormats.get = function() {
15802
15819
  return Gn(this._getDateTimeFormats());
15803
15820
  };
15804
- re.numberFormats.get = function() {
15821
+ se.numberFormats.get = function() {
15805
15822
  return Gn(this._getNumberFormats());
15806
15823
  };
15807
- re.availableLocales.get = function() {
15824
+ se.availableLocales.get = function() {
15808
15825
  return Object.keys(this.messages).sort();
15809
15826
  };
15810
- re.locale.get = function() {
15827
+ se.locale.get = function() {
15811
15828
  return this._vm.locale;
15812
15829
  };
15813
- re.locale.set = function(s) {
15830
+ se.locale.set = function(s) {
15814
15831
  this._vm.$set(this._vm, "locale", s);
15815
15832
  };
15816
- re.fallbackLocale.get = function() {
15833
+ se.fallbackLocale.get = function() {
15817
15834
  return this._vm.fallbackLocale;
15818
15835
  };
15819
- re.fallbackLocale.set = function(s) {
15836
+ se.fallbackLocale.set = function(s) {
15820
15837
  this._localeChainCache = {}, this._vm.$set(this._vm, "fallbackLocale", s);
15821
15838
  };
15822
- re.formatFallbackMessages.get = function() {
15839
+ se.formatFallbackMessages.get = function() {
15823
15840
  return this._formatFallbackMessages;
15824
15841
  };
15825
- re.formatFallbackMessages.set = function(s) {
15842
+ se.formatFallbackMessages.set = function(s) {
15826
15843
  this._formatFallbackMessages = s;
15827
15844
  };
15828
- re.missing.get = function() {
15845
+ se.missing.get = function() {
15829
15846
  return this._missing;
15830
15847
  };
15831
- re.missing.set = function(s) {
15848
+ se.missing.set = function(s) {
15832
15849
  this._missing = s;
15833
15850
  };
15834
- re.formatter.get = function() {
15851
+ se.formatter.get = function() {
15835
15852
  return this._formatter;
15836
15853
  };
15837
- re.formatter.set = function(s) {
15854
+ se.formatter.set = function(s) {
15838
15855
  this._formatter = s;
15839
15856
  };
15840
- re.silentTranslationWarn.get = function() {
15857
+ se.silentTranslationWarn.get = function() {
15841
15858
  return this._silentTranslationWarn;
15842
15859
  };
15843
- re.silentTranslationWarn.set = function(s) {
15860
+ se.silentTranslationWarn.set = function(s) {
15844
15861
  this._silentTranslationWarn = s;
15845
15862
  };
15846
- re.silentFallbackWarn.get = function() {
15863
+ se.silentFallbackWarn.get = function() {
15847
15864
  return this._silentFallbackWarn;
15848
15865
  };
15849
- re.silentFallbackWarn.set = function(s) {
15866
+ se.silentFallbackWarn.set = function(s) {
15850
15867
  this._silentFallbackWarn = s;
15851
15868
  };
15852
- re.preserveDirectiveContent.get = function() {
15869
+ se.preserveDirectiveContent.get = function() {
15853
15870
  return this._preserveDirectiveContent;
15854
15871
  };
15855
- re.preserveDirectiveContent.set = function(s) {
15872
+ se.preserveDirectiveContent.set = function(s) {
15856
15873
  this._preserveDirectiveContent = s;
15857
15874
  };
15858
- re.warnHtmlInMessage.get = function() {
15875
+ se.warnHtmlInMessage.get = function() {
15859
15876
  return this._warnHtmlInMessage;
15860
15877
  };
15861
- re.warnHtmlInMessage.set = function(s) {
15878
+ se.warnHtmlInMessage.set = function(s) {
15862
15879
  var e = this, t = this._warnHtmlInMessage;
15863
15880
  if (this._warnHtmlInMessage = s, t !== s && (s === "warn" || s === "error")) {
15864
15881
  var n = this._getMessages();
@@ -15867,28 +15884,28 @@ re.warnHtmlInMessage.set = function(s) {
15867
15884
  });
15868
15885
  }
15869
15886
  };
15870
- re.postTranslation.get = function() {
15887
+ se.postTranslation.get = function() {
15871
15888
  return this._postTranslation;
15872
15889
  };
15873
- re.postTranslation.set = function(s) {
15890
+ se.postTranslation.set = function(s) {
15874
15891
  this._postTranslation = s;
15875
15892
  };
15876
- re.sync.get = function() {
15893
+ se.sync.get = function() {
15877
15894
  return this._sync;
15878
15895
  };
15879
- re.sync.set = function(s) {
15896
+ se.sync.set = function(s) {
15880
15897
  this._sync = s;
15881
15898
  };
15882
- N.prototype._getMessages = function() {
15899
+ k.prototype._getMessages = function() {
15883
15900
  return this._vm.messages;
15884
15901
  };
15885
- N.prototype._getDateTimeFormats = function() {
15902
+ k.prototype._getDateTimeFormats = function() {
15886
15903
  return this._vm.dateTimeFormats;
15887
15904
  };
15888
- N.prototype._getNumberFormats = function() {
15905
+ k.prototype._getNumberFormats = function() {
15889
15906
  return this._vm.numberFormats;
15890
15907
  };
15891
- N.prototype._warnDefault = function(e, t, n, r, i, a) {
15908
+ k.prototype._warnDefault = function(e, t, n, r, i, a) {
15892
15909
  if (!$e(n))
15893
15910
  return n;
15894
15911
  if (this._missing) {
@@ -15902,19 +15919,19 @@ N.prototype._warnDefault = function(e, t, n, r, i, a) {
15902
15919
  } else
15903
15920
  return t;
15904
15921
  };
15905
- N.prototype._isFallbackRoot = function(e) {
15922
+ k.prototype._isFallbackRoot = function(e) {
15906
15923
  return (this._fallbackRootWithEmptyString ? !e : $e(e)) && !$e(this._root) && this._fallbackRoot;
15907
15924
  };
15908
- N.prototype._isSilentFallbackWarn = function(e) {
15925
+ k.prototype._isSilentFallbackWarn = function(e) {
15909
15926
  return this._silentFallbackWarn instanceof RegExp ? this._silentFallbackWarn.test(e) : this._silentFallbackWarn;
15910
15927
  };
15911
- N.prototype._isSilentFallback = function(e, t) {
15928
+ k.prototype._isSilentFallback = function(e, t) {
15912
15929
  return this._isSilentFallbackWarn(t) && (this._isFallbackRoot() || e !== this.fallbackLocale);
15913
15930
  };
15914
- N.prototype._isSilentTranslationWarn = function(e) {
15931
+ k.prototype._isSilentTranslationWarn = function(e) {
15915
15932
  return this._silentTranslationWarn instanceof RegExp ? this._silentTranslationWarn.test(e) : this._silentTranslationWarn;
15916
15933
  };
15917
- N.prototype._interpolate = function(e, t, n, r, i, a, o) {
15934
+ k.prototype._interpolate = function(e, t, n, r, i, a, o) {
15918
15935
  if (!t)
15919
15936
  return null;
15920
15937
  var l = this._path.getPathValue(t, n);
@@ -15933,7 +15950,7 @@ N.prototype._interpolate = function(e, t, n, r, i, a, o) {
15933
15950
  return null;
15934
15951
  return ye(c) && (c.indexOf("@:") >= 0 || c.indexOf("@.") >= 0) && (c = this._link(e, t, c, r, "raw", a, o)), this._render(c, i, a, n);
15935
15952
  };
15936
- N.prototype._link = function(e, t, n, r, i, a, o) {
15953
+ k.prototype._link = function(e, t, n, r, i, a, o) {
15937
15954
  var l = n, c = l.match(eL);
15938
15955
  for (var u in c)
15939
15956
  if (c.hasOwnProperty(u)) {
@@ -15953,11 +15970,11 @@ N.prototype._link = function(e, t, n, r, i, a, o) {
15953
15970
  if (this._isFallbackRoot(g)) {
15954
15971
  if (!this._root)
15955
15972
  throw Error("unexpected error");
15956
- var k = this._root.$i18n;
15957
- g = k._translate(
15958
- k._getMessages(),
15959
- k.locale,
15960
- k.fallbackLocale,
15973
+ var E = this._root.$i18n;
15974
+ g = E._translate(
15975
+ E._getMessages(),
15976
+ E.locale,
15977
+ E.fallbackLocale,
15961
15978
  _,
15962
15979
  r,
15963
15980
  i,
@@ -15975,7 +15992,7 @@ N.prototype._link = function(e, t, n, r, i, a, o) {
15975
15992
  }
15976
15993
  return l;
15977
15994
  };
15978
- N.prototype._createMessageContext = function(e, t, n, r) {
15995
+ k.prototype._createMessageContext = function(e, t, n, r) {
15979
15996
  var i = this, a = ft(e) ? e : [], o = We(e) ? e : {}, l = function(h) {
15980
15997
  return a[h];
15981
15998
  }, c = function(h) {
@@ -15994,7 +16011,7 @@ N.prototype._createMessageContext = function(e, t, n, r) {
15994
16011
  }
15995
16012
  };
15996
16013
  };
15997
- N.prototype._render = function(e, t, n, r) {
16014
+ k.prototype._render = function(e, t, n, r) {
15998
16015
  if (Gi(e))
15999
16016
  return e(
16000
16017
  this._createMessageContext(n, this._formatter || Hi, r, t)
@@ -16002,11 +16019,11 @@ N.prototype._render = function(e, t, n, r) {
16002
16019
  var i = this._formatter.interpolate(e, n, r);
16003
16020
  return i || (i = Hi.interpolate(e, n, r)), t === "string" && !ye(i) ? i.join("") : i;
16004
16021
  };
16005
- N.prototype._appendItemToChain = function(e, t, n) {
16022
+ k.prototype._appendItemToChain = function(e, t, n) {
16006
16023
  var r = !1;
16007
16024
  return Ts(e, t) || (r = !0, t && (r = t[t.length - 1] !== "!", t = t.replace(/!/g, ""), e.push(t), n && n[t] && (r = n[t]))), r;
16008
16025
  };
16009
- N.prototype._appendLocaleToChain = function(e, t, n) {
16026
+ k.prototype._appendLocaleToChain = function(e, t, n) {
16010
16027
  var r, i = t.split("-");
16011
16028
  do {
16012
16029
  var a = i.join("-");
@@ -16014,14 +16031,14 @@ N.prototype._appendLocaleToChain = function(e, t, n) {
16014
16031
  } while (i.length && r === !0);
16015
16032
  return r;
16016
16033
  };
16017
- N.prototype._appendBlockToChain = function(e, t, n) {
16034
+ k.prototype._appendBlockToChain = function(e, t, n) {
16018
16035
  for (var r = !0, i = 0; i < t.length && Ax(r); i++) {
16019
16036
  var a = t[i];
16020
16037
  ye(a) && (r = this._appendLocaleToChain(e, a, n));
16021
16038
  }
16022
16039
  return r;
16023
16040
  };
16024
- N.prototype._getLocaleChain = function(e, t) {
16041
+ k.prototype._getLocaleChain = function(e, t) {
16025
16042
  if (e === "")
16026
16043
  return [];
16027
16044
  this._localeChainCache || (this._localeChainCache = {});
@@ -16043,7 +16060,7 @@ N.prototype._getLocaleChain = function(e, t) {
16043
16060
  }
16044
16061
  return n;
16045
16062
  };
16046
- N.prototype._translate = function(e, t, n, r, i, a, o) {
16063
+ k.prototype._translate = function(e, t, n, r, i, a, o) {
16047
16064
  for (var l = this._getLocaleChain(t, n), c, u = 0; u < l.length; u++) {
16048
16065
  var d = l[u];
16049
16066
  if (c = this._interpolate(d, e[d], r, i, a, o, [r]), !$e(c))
@@ -16051,7 +16068,7 @@ N.prototype._translate = function(e, t, n, r, i, a, o) {
16051
16068
  }
16052
16069
  return null;
16053
16070
  };
16054
- N.prototype._t = function(e, t, n, r) {
16071
+ k.prototype._t = function(e, t, n, r) {
16055
16072
  for (var i, a = [], o = arguments.length - 4; o-- > 0; )
16056
16073
  a[o] = arguments[o + 4];
16057
16074
  if (!e)
@@ -16074,12 +16091,12 @@ N.prototype._t = function(e, t, n, r) {
16074
16091
  } else
16075
16092
  return u = this._warnDefault(c, e, u, r, a, "string"), this._postTranslation && u !== null && u !== void 0 && (u = this._postTranslation(u, e)), u;
16076
16093
  };
16077
- N.prototype.t = function(e) {
16094
+ k.prototype.t = function(e) {
16078
16095
  for (var t, n = [], r = arguments.length - 1; r-- > 0; )
16079
16096
  n[r] = arguments[r + 1];
16080
16097
  return (t = this)._t.apply(t, [e, this.locale, this._getMessages(), null].concat(n));
16081
16098
  };
16082
- N.prototype._i = function(e, t, n, r, i) {
16099
+ k.prototype._i = function(e, t, n, r, i) {
16083
16100
  var a = this._translate(n, t, this.fallbackLocale, e, r, "raw", i);
16084
16101
  if (this._isFallbackRoot(a)) {
16085
16102
  if (!this._root)
@@ -16088,10 +16105,10 @@ N.prototype._i = function(e, t, n, r, i) {
16088
16105
  } else
16089
16106
  return this._warnDefault(t, e, a, r, [i], "raw");
16090
16107
  };
16091
- N.prototype.i = function(e, t, n) {
16108
+ k.prototype.i = function(e, t, n) {
16092
16109
  return e ? (ye(t) || (t = this.locale), this._i(e, t, this._getMessages(), null, n)) : "";
16093
16110
  };
16094
- N.prototype._tc = function(e, t, n, r, i) {
16111
+ k.prototype._tc = function(e, t, n, r, i) {
16095
16112
  for (var a, o = [], l = arguments.length - 5; l-- > 0; )
16096
16113
  o[l] = arguments[l + 5];
16097
16114
  if (!e)
@@ -16100,54 +16117,54 @@ N.prototype._tc = function(e, t, n, r, i) {
16100
16117
  var c = { count: i, n: i }, u = Dr.apply(void 0, o);
16101
16118
  return u.params = Object.assign(c, u.params), o = u.locale === null ? [u.params] : [u.locale, u.params], this.fetchChoice((a = this)._t.apply(a, [e, t, n, r].concat(o)), i);
16102
16119
  };
16103
- N.prototype.fetchChoice = function(e, t) {
16120
+ k.prototype.fetchChoice = function(e, t) {
16104
16121
  if (!e || !ye(e))
16105
16122
  return null;
16106
16123
  var n = e.split("|");
16107
16124
  return t = this.getChoiceIndex(t, n.length), n[t] ? n[t].trim() : e;
16108
16125
  };
16109
- N.prototype.tc = function(e, t) {
16126
+ k.prototype.tc = function(e, t) {
16110
16127
  for (var n, r = [], i = arguments.length - 2; i-- > 0; )
16111
16128
  r[i] = arguments[i + 2];
16112
16129
  return (n = this)._tc.apply(n, [e, this.locale, this._getMessages(), null, t].concat(r));
16113
16130
  };
16114
- N.prototype._te = function(e, t, n) {
16131
+ k.prototype._te = function(e, t, n) {
16115
16132
  for (var r = [], i = arguments.length - 3; i-- > 0; )
16116
16133
  r[i] = arguments[i + 3];
16117
16134
  var a = Dr.apply(void 0, r).locale || t;
16118
16135
  return this._exist(n[a], e);
16119
16136
  };
16120
- N.prototype.te = function(e, t) {
16137
+ k.prototype.te = function(e, t) {
16121
16138
  return this._te(e, this.locale, this._getMessages(), t);
16122
16139
  };
16123
- N.prototype.getLocaleMessage = function(e) {
16140
+ k.prototype.getLocaleMessage = function(e) {
16124
16141
  return Gn(this._vm.messages[e] || {});
16125
16142
  };
16126
- N.prototype.setLocaleMessage = function(e, t) {
16143
+ k.prototype.setLocaleMessage = function(e, t) {
16127
16144
  (this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, t);
16128
16145
  };
16129
- N.prototype.mergeLocaleMessage = function(e, t) {
16146
+ k.prototype.mergeLocaleMessage = function(e, t) {
16130
16147
  (this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, rn(
16131
16148
  typeof this._vm.messages[e] < "u" && Object.keys(this._vm.messages[e]).length ? Object.assign({}, this._vm.messages[e]) : {},
16132
16149
  t
16133
16150
  ));
16134
16151
  };
16135
- N.prototype.getDateTimeFormat = function(e) {
16152
+ k.prototype.getDateTimeFormat = function(e) {
16136
16153
  return Gn(this._vm.dateTimeFormats[e] || {});
16137
16154
  };
16138
- N.prototype.setDateTimeFormat = function(e, t) {
16155
+ k.prototype.setDateTimeFormat = function(e, t) {
16139
16156
  this._vm.$set(this._vm.dateTimeFormats, e, t), this._clearDateTimeFormat(e, t);
16140
16157
  };
16141
- N.prototype.mergeDateTimeFormat = function(e, t) {
16158
+ k.prototype.mergeDateTimeFormat = function(e, t) {
16142
16159
  this._vm.$set(this._vm.dateTimeFormats, e, rn(this._vm.dateTimeFormats[e] || {}, t)), this._clearDateTimeFormat(e, t);
16143
16160
  };
16144
- N.prototype._clearDateTimeFormat = function(e, t) {
16161
+ k.prototype._clearDateTimeFormat = function(e, t) {
16145
16162
  for (var n in t) {
16146
16163
  var r = e + "__" + n;
16147
16164
  this._dateTimeFormatters.hasOwnProperty(r) && delete this._dateTimeFormatters[r];
16148
16165
  }
16149
16166
  };
16150
- N.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16167
+ k.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16151
16168
  for (var o = t, l = r[o], c = this._getLocaleChain(t, n), u = 0; u < c.length; u++) {
16152
16169
  var d = o, h = c[u];
16153
16170
  if (l = r[h], o = h, !($e(l) || $e(l[i])))
@@ -16164,7 +16181,7 @@ N.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16164
16181
  }
16165
16182
  return p.format(e);
16166
16183
  };
16167
- N.prototype._d = function(e, t, n, r) {
16184
+ k.prototype._d = function(e, t, n, r) {
16168
16185
  if (!n) {
16169
16186
  var i = r ? new Intl.DateTimeFormat(t, r) : new Intl.DateTimeFormat(t);
16170
16187
  return i.format(e);
@@ -16177,7 +16194,7 @@ N.prototype._d = function(e, t, n, r) {
16177
16194
  } else
16178
16195
  return a || "";
16179
16196
  };
16180
- N.prototype.d = function(e) {
16197
+ k.prototype.d = function(e) {
16181
16198
  for (var t = [], n = arguments.length - 1; n-- > 0; )
16182
16199
  t[n] = arguments[n + 1];
16183
16200
  var r = this.locale, i = null, a = null;
@@ -16186,22 +16203,22 @@ N.prototype.d = function(e) {
16186
16203
  return Ts(wx, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
16187
16204
  }, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._d(e, r, i, a);
16188
16205
  };
16189
- N.prototype.getNumberFormat = function(e) {
16206
+ k.prototype.getNumberFormat = function(e) {
16190
16207
  return Gn(this._vm.numberFormats[e] || {});
16191
16208
  };
16192
- N.prototype.setNumberFormat = function(e, t) {
16209
+ k.prototype.setNumberFormat = function(e, t) {
16193
16210
  this._vm.$set(this._vm.numberFormats, e, t), this._clearNumberFormat(e, t);
16194
16211
  };
16195
- N.prototype.mergeNumberFormat = function(e, t) {
16212
+ k.prototype.mergeNumberFormat = function(e, t) {
16196
16213
  this._vm.$set(this._vm.numberFormats, e, rn(this._vm.numberFormats[e] || {}, t)), this._clearNumberFormat(e, t);
16197
16214
  };
16198
- N.prototype._clearNumberFormat = function(e, t) {
16215
+ k.prototype._clearNumberFormat = function(e, t) {
16199
16216
  for (var n in t) {
16200
16217
  var r = e + "__" + n;
16201
16218
  this._numberFormatters.hasOwnProperty(r) && delete this._numberFormatters[r];
16202
16219
  }
16203
16220
  };
16204
- N.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16221
+ k.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16205
16222
  for (var o = t, l = r[o], c = this._getLocaleChain(t, n), u = 0; u < c.length; u++) {
16206
16223
  var d = o, h = c[u];
16207
16224
  if (l = r[h], o = h, !($e(l) || $e(l[i])))
@@ -16218,8 +16235,8 @@ N.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16218
16235
  }
16219
16236
  return p;
16220
16237
  };
16221
- N.prototype._n = function(e, t, n, r) {
16222
- if (!N.availabilities.numberFormat)
16238
+ k.prototype._n = function(e, t, n, r) {
16239
+ if (!k.availabilities.numberFormat)
16223
16240
  return "";
16224
16241
  if (!n) {
16225
16242
  var i = r ? new Intl.NumberFormat(t, r) : new Intl.NumberFormat(t);
@@ -16233,7 +16250,7 @@ N.prototype._n = function(e, t, n, r) {
16233
16250
  } else
16234
16251
  return o || "";
16235
16252
  };
16236
- N.prototype.n = function(e) {
16253
+ k.prototype.n = function(e) {
16237
16254
  for (var t = [], n = arguments.length - 1; n-- > 0; )
16238
16255
  t[n] = arguments[n + 1];
16239
16256
  var r = this.locale, i = null, a = null;
@@ -16242,8 +16259,8 @@ N.prototype.n = function(e) {
16242
16259
  return Ts(Ou, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
16243
16260
  }, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._n(e, r, i, a);
16244
16261
  };
16245
- N.prototype._ntp = function(e, t, n, r) {
16246
- if (!N.availabilities.numberFormat)
16262
+ k.prototype._ntp = function(e, t, n, r) {
16263
+ if (!k.availabilities.numberFormat)
16247
16264
  return [];
16248
16265
  if (!n) {
16249
16266
  var i = r ? new Intl.NumberFormat(t, r) : new Intl.NumberFormat(t);
@@ -16257,9 +16274,9 @@ N.prototype._ntp = function(e, t, n, r) {
16257
16274
  } else
16258
16275
  return o || [];
16259
16276
  };
16260
- Object.defineProperties(N.prototype, re);
16277
+ Object.defineProperties(k.prototype, se);
16261
16278
  var vi;
16262
- Object.defineProperty(N, "availabilities", {
16279
+ Object.defineProperty(k, "availabilities", {
16263
16280
  get: function() {
16264
16281
  if (!vi) {
16265
16282
  var e = typeof Intl < "u";
@@ -16271,9 +16288,9 @@ Object.defineProperty(N, "availabilities", {
16271
16288
  return vi;
16272
16289
  }
16273
16290
  });
16274
- N.install = $a;
16275
- N.version = "8.28.2";
16276
- const Zu = N;
16291
+ k.install = $a;
16292
+ k.version = "8.28.2";
16293
+ const Zu = k;
16277
16294
  Vn.use(Zu);
16278
16295
  function sL() {
16279
16296
  return new Zu({
@@ -17079,7 +17096,7 @@ function vL(s, e) {
17079
17096
  ), t;
17080
17097
  }
17081
17098
  function gL(s) {
17082
- if (L(s, URL), s.searchParams.has("state"))
17099
+ if (x(s, URL), s.searchParams.has("state"))
17083
17100
  try {
17084
17101
  return _L(JSON.parse(s.searchParams.get("state")));
17085
17102
  } catch {
@@ -17090,14 +17107,14 @@ function gL(s) {
17090
17107
  return Ra();
17091
17108
  }
17092
17109
  function JE(s, e) {
17093
- L(s, {
17110
+ x(s, {
17094
17111
  activeMap: [String, void 0],
17095
17112
  activeViewpoint: [Object, void 0],
17096
17113
  activeObliqueCollection: [String, void 0],
17097
17114
  layers: Array,
17098
17115
  plugins: Array,
17099
17116
  moduleIds: [String]
17100
- }), L(e, URL);
17117
+ }), x(e, URL);
17101
17118
  const t = uL - e.toString().length;
17102
17119
  e.searchParams.set(
17103
17120
  "state",
@@ -17184,7 +17201,7 @@ class wL extends Rt {
17184
17201
  * @param {number=} index
17185
17202
  */
17186
17203
  add(e, t, n) {
17187
- L(t, [String, Q]), L(e.search, Function), e.name !== t && De("Search").warning(
17204
+ x(t, [String, Q]), x(e.search, Function), e.name !== t && De("Search").warning(
17188
17205
  "SearchImplementations must be named as the plugin they are owned by."
17189
17206
  ), e[jl] = t, super.add(e, n);
17190
17207
  }
@@ -17438,13 +17455,16 @@ class ja extends P1 {
17438
17455
  * This function can be used for the WindowState infoUrlCallback property.
17439
17456
  * @param {string} [path] - the path to a help section
17440
17457
  * @param {string} [subpage='vc-map'] - path to a subpage. Default is 'vc-map'.
17458
+ * @param {string=} [subpageVersion=undefined] - default version is the mapVersion, can be provided to use a plugin specific version
17441
17459
  * @returns {function():string}
17442
17460
  */
17443
- getHelpUrlCallback(e = "", t = "vc-map") {
17444
- const n = /\d+\.\d+/.exec(ja.getVersion())[0];
17461
+ getHelpUrlCallback(e = "", t = "vc-map", n = void 0) {
17462
+ const r = /\d+\.\d+/.exec(
17463
+ n || ja.getVersion()
17464
+ )[0];
17445
17465
  return () => {
17446
- const r = this.uiConfig.config.value.helpBaseUrl || "https://help.vc.systems/", i = `${this.locale}/${t}/v${n}/${e.replace(/^\//, "")}`, { href: a } = new URL(i, r);
17447
- return a;
17466
+ const i = this.uiConfig.config.value.helpBaseUrl || "https://help.vc.systems/", a = `${this.locale}/${t}/v${r}/${e.replace(/^\//, "")}`, { href: o } = new URL(a, i);
17467
+ return o;
17448
17468
  };
17449
17469
  }
17450
17470
  /**
@@ -17566,7 +17586,7 @@ const xn = {
17566
17586
  i18n: [void 0, [Object]]
17567
17587
  };
17568
17588
  async function Wu(s) {
17569
- L(s, String);
17589
+ x(s, String);
17570
17590
  const e = new ja();
17571
17591
  return new Vn({
17572
17592
  vuetify: ar,
@@ -17579,7 +17599,7 @@ async function Wu(s) {
17579
17599
  }).$mount(s), e;
17580
17600
  }
17581
17601
  async function qE(s, e) {
17582
- L(s, String), ve(e, String);
17602
+ x(s, String), pe(e, String);
17583
17603
  const t = await Wu(s);
17584
17604
  if (e) {
17585
17605
  const n = await fetch(e).then((i) => i.json()), r = new bi(n);
@@ -17588,9 +17608,9 @@ async function qE(s, e) {
17588
17608
  return t;
17589
17609
  }
17590
17610
  async function XE(s, e) {
17591
- L(s, String), L(e, String);
17611
+ x(s, String), x(e, String);
17592
17612
  const t = await Wu(s), n = await fetch(e).then((i) => i.json());
17593
- L(n.modules, [String, Object]);
17613
+ x(n.modules, [String, Object]);
17594
17614
  const r = await Promise.all(
17595
17615
  n.modules.map(async (i) => {
17596
17616
  if (xi(i, bL))
@@ -17689,7 +17709,7 @@ const jr = SL.exports;
17689
17709
  const TL = {
17690
17710
  name: "VcsRadioGrid",
17691
17711
  components: {
17692
- VContainer: pe,
17712
+ VContainer: me,
17693
17713
  VRow: Re,
17694
17714
  VCol: Ye,
17695
17715
  VRadioGroup: lc,
@@ -17896,10 +17916,10 @@ const GL = {
17896
17916
  function g(A) {
17897
17917
  A.stopPropagation(), A.preventDefault(), i.value && (h(s.value.toSpliced(n.value, 1, a.value)), n.value = -1);
17898
17918
  }
17899
- function k() {
17919
+ function E() {
17900
17920
  l.value = void 0, r.value = !1;
17901
17921
  }
17902
- async function P(A, V) {
17922
+ async function z(A, V) {
17903
17923
  A.stopPropagation(), A.preventDefault(), o.value && (V && (h([...s.value, V]), await kn(), f(), await kn(), c.value.scrollLeft = c.value.scrollWidth), l.value = void 0, r.value = !0);
17904
17924
  }
17905
17925
  return {
@@ -17915,8 +17935,8 @@ const GL = {
17915
17935
  remove: p,
17916
17936
  select: _,
17917
17937
  submitChange: g,
17918
- add: P,
17919
- cancel: k
17938
+ add: z,
17939
+ cancel: E
17920
17940
  };
17921
17941
  }
17922
17942
  };
@@ -18539,7 +18559,7 @@ const Fa = CI.exports, EI = {
18539
18559
  components: {
18540
18560
  VSheet: ue,
18541
18561
  VColorPicker: mc,
18542
- VContainer: pe,
18562
+ VContainer: me,
18543
18563
  VRow: Re,
18544
18564
  VCol: Ye,
18545
18565
  VcsLabel: rt,
@@ -19168,7 +19188,7 @@ const Ws = [
19168
19188
  components: {
19169
19189
  VSheet: ue,
19170
19190
  VDivider: _t,
19171
- VContainer: pe,
19191
+ VContainer: me,
19172
19192
  VRow: Re,
19173
19193
  VCol: Ye,
19174
19194
  VIcon: le,
@@ -19267,14 +19287,14 @@ const Ws = [
19267
19287
  if (t.value === i.value)
19268
19288
  if (t.value === Be.SHAPE) {
19269
19289
  const g = Ws.find(
19270
- (k) => OI(s.value, k.value)
19290
+ (E) => OI(s.value, E.value)
19271
19291
  );
19272
19292
  return g ? g.src : a;
19273
19293
  } else
19274
19294
  return t.value === Be.ICON ? (_ = s.value) == null ? void 0 : _.src : void 0;
19275
19295
  },
19276
19296
  set(_) {
19277
- var k, P;
19297
+ var E, z;
19278
19298
  let g = {};
19279
19299
  if (i.value === Be.SHAPE) {
19280
19300
  const A = t.value === Be.ICON;
@@ -19283,7 +19303,7 @@ const Ws = [
19283
19303
  return;
19284
19304
  if (_ === a ? V = Ws[0] : V = Ws.find((H) => H.src === _), V) {
19285
19305
  let H, b;
19286
- A ? (H = (k = s.valueDefault) == null ? void 0 : k.fill, b = (P = s.valueDefault) == null ? void 0 : P.stroke) : (H = d.value, b = h.value), g = JSON.parse(JSON.stringify(V.value)), Object.assign(g, {
19306
+ A ? (H = (E = s.valueDefault) == null ? void 0 : E.fill, b = (z = s.valueDefault) == null ? void 0 : z.stroke) : (H = d.value, b = h.value), g = JSON.parse(JSON.stringify(V.value)), Object.assign(g, {
19287
19307
  fill: H,
19288
19308
  stroke: b
19289
19309
  });
@@ -19443,7 +19463,7 @@ const YI = WI.exports, QI = {
19443
19463
  name: "VcsTextSelector",
19444
19464
  components: {
19445
19465
  VSheet: ue,
19446
- VContainer: pe,
19466
+ VContainer: me,
19447
19467
  VRow: Re,
19448
19468
  VCol: Ye,
19449
19469
  VcsSelect: $r,
@@ -19488,7 +19508,7 @@ const YI = WI.exports, QI = {
19488
19508
  e(
19489
19509
  "input",
19490
19510
  Object.assign(_, {
19491
- font: g.filter((k) => k && k !== "normal").join(" ")
19511
+ font: g.filter((E) => E && E !== "normal").join(" ")
19492
19512
  })
19493
19513
  );
19494
19514
  }
@@ -19677,7 +19697,7 @@ const lC = {
19677
19697
  name: "VcsExtent",
19678
19698
  components: {
19679
19699
  VcsCoordinate: Qu,
19680
- VContainer: pe,
19700
+ VContainer: me,
19681
19701
  VRow: Re,
19682
19702
  VCol: Ye,
19683
19703
  VcsLabel: rt,
@@ -19914,7 +19934,7 @@ const Ju = [
19914
19934
  VcsTextField: je,
19915
19935
  VcsCheckbox: jr,
19916
19936
  VcsChipArrayInput: WL,
19917
- VContainer: pe,
19937
+ VContainer: me,
19918
19938
  VRow: Re,
19919
19939
  VCol: Ye,
19920
19940
  VDivider: _t
@@ -19960,7 +19980,7 @@ const Ju = [
19960
19980
  "altitudeMode",
19961
19981
  e
19962
19982
  ), r = y(() => {
19963
- const $ = [
19983
+ const N = [
19964
19984
  {
19965
19985
  value: "clampToGround",
19966
19986
  text: "components.vectorProperties.clampToGround"
@@ -19970,10 +19990,10 @@ const Ju = [
19970
19990
  text: "components.vectorProperties.absolute"
19971
19991
  }
19972
19992
  ];
19973
- return t.value.has("heightAboveGround") && $.push({
19993
+ return t.value.has("heightAboveGround") && N.push({
19974
19994
  value: "relativeToGround",
19975
19995
  text: "components.vectorProperties.relativeToGround"
19976
- }), $;
19996
+ }), N;
19977
19997
  }), i = de(
19978
19998
  () => s.value,
19979
19999
  "heightAboveGround",
@@ -19982,10 +20002,10 @@ const Ju = [
19982
20002
  get() {
19983
20003
  return s.value.allowPicking;
19984
20004
  },
19985
- set($) {
19986
- if (s.value.allowPicking !== $) {
19987
- const G = structuredClone(s.value), ne = { allowPicking: $ || !1 };
19988
- e("input", Object.assign(G, ne)), e("propertyChange", ne);
20005
+ set(N) {
20006
+ if (s.value.allowPicking !== N) {
20007
+ const B = structuredClone(s.value), re = { allowPicking: N || !1 };
20008
+ e("input", Object.assign(B, re)), e("propertyChange", re);
19989
20009
  }
19990
20010
  }
19991
20011
  }), o = y({
@@ -19993,12 +20013,12 @@ const Ju = [
19993
20013
  if ("classificationType" in s.value)
19994
20014
  return s.value.classificationType || "none";
19995
20015
  },
19996
- set($) {
19997
- if (s.value.classificationType !== $) {
19998
- const G = structuredClone(s.value), ne = {
19999
- classificationType: $ === "none" ? void 0 : $
20016
+ set(N) {
20017
+ if (s.value.classificationType !== N) {
20018
+ const B = structuredClone(s.value), re = {
20019
+ classificationType: N === "none" ? void 0 : N
20000
20020
  };
20001
- e("input", Object.assign(G, ne)), e("propertyChange", ne);
20021
+ e("input", Object.assign(B, re)), e("propertyChange", re);
20002
20022
  }
20003
20023
  }
20004
20024
  }), l = zl(
@@ -20037,31 +20057,31 @@ const Ju = [
20037
20057
  () => s.value,
20038
20058
  "storeysBelowGround",
20039
20059
  e
20040
- ), k = y(() => ["storeyHeightsAboveGround", "storeyHeightsBelowGround"].filter(($) => t.value.has($)).reduce(($, G) => ({
20041
- ...$,
20042
- [G]: y({
20060
+ ), E = y(() => ["storeyHeightsAboveGround", "storeyHeightsBelowGround"].filter((N) => t.value.has(N)).reduce((N, B) => ({
20061
+ ...N,
20062
+ [B]: y({
20043
20063
  get() {
20044
- var ne, C, x, j;
20045
- return Array.isArray((ne = s.value) == null ? void 0 : ne[G]) ? (C = s.value) == null ? void 0 : C[G] : ((x = s.value) == null ? void 0 : x[G]) > 0 ? [(j = s.value) == null ? void 0 : j[G]] : [];
20064
+ var re, I, M, O;
20065
+ return Array.isArray((re = s.value) == null ? void 0 : re[B]) ? (I = s.value) == null ? void 0 : I[B] : ((M = s.value) == null ? void 0 : M[B]) > 0 ? [(O = s.value) == null ? void 0 : O[B]] : [];
20046
20066
  },
20047
- set(ne) {
20048
- const C = structuredClone(s.value), x = {
20049
- [G]: ne
20067
+ set(re) {
20068
+ const I = structuredClone(s.value), M = {
20069
+ [B]: re
20050
20070
  };
20051
- e("input", Object.assign(C, x)), e("propertyChange", x);
20071
+ e("input", Object.assign(I, M)), e("propertyChange", M);
20052
20072
  }
20053
20073
  })
20054
- }), {})), P = de(
20074
+ }), {})), z = de(
20055
20075
  () => s.value,
20056
20076
  "modelUrl",
20057
20077
  e
20058
20078
  ), A = y(() => Hl.filter(
20059
- ($) => t.value.has(`modelScale${$}`)
20060
- ).reduce(($, G) => ({
20061
- ...$,
20062
- [G]: de(
20079
+ (N) => t.value.has(`modelScale${N}`)
20080
+ ).reduce((N, B) => ({
20081
+ ...N,
20082
+ [B]: de(
20063
20083
  () => s.value,
20064
- `modelScale${G}`,
20084
+ `modelScale${B}`,
20065
20085
  e
20066
20086
  )
20067
20087
  }), {})), V = de(
@@ -20076,10 +20096,10 @@ const Ju = [
20076
20096
  () => s.value,
20077
20097
  "modelRoll",
20078
20098
  e
20079
- ), z = de(() => s.value, "baseUrl", e);
20080
- function M() {
20081
- const $ = structuredClone(s.valueDefault);
20082
- e("input", $), e("propertyChange", $);
20099
+ ), G = de(() => s.value, "baseUrl", e);
20100
+ function D() {
20101
+ const N = structuredClone(s.valueDefault);
20102
+ e("input", N), e("propertyChange", N);
20083
20103
  }
20084
20104
  return {
20085
20105
  headerActions: y(
@@ -20089,7 +20109,7 @@ const Ju = [
20089
20109
  title: "components.style.reset",
20090
20110
  icon: "$vcsReturn",
20091
20111
  callback: () => {
20092
- M();
20112
+ D();
20093
20113
  }
20094
20114
  }
20095
20115
  ] : []
@@ -20111,14 +20131,14 @@ const Ju = [
20111
20131
  skirt: p,
20112
20132
  storeysAboveGround: _,
20113
20133
  storeysBelowGround: g,
20114
- storeyHeights: k,
20115
- modelUrl: P,
20134
+ storeyHeights: E,
20135
+ modelUrl: z,
20116
20136
  modelScale: A,
20117
20137
  modelHeading: V,
20118
20138
  modelPitch: H,
20119
20139
  modelRoll: b,
20120
- baseUrl: z,
20121
- reset: M,
20140
+ baseUrl: G,
20141
+ reset: D,
20122
20142
  dimensionsUpperCase: Hl
20123
20143
  };
20124
20144
  }
@@ -20277,7 +20297,7 @@ const CC = {
20277
20297
  name: "VcsViewpointComponent",
20278
20298
  components: {
20279
20299
  VSheet: ue,
20280
- VContainer: pe,
20300
+ VContainer: me,
20281
20301
  VRow: Re,
20282
20302
  VCol: Ye,
20283
20303
  VcsFormSection: Zn,
@@ -20380,7 +20400,7 @@ const CC = {
20380
20400
  ), g = ie(n, () => {
20381
20401
  var V, H;
20382
20402
  n.value && !c.value && (c.value = (H = (V = t.maps.activeMap) == null ? void 0 : V.getViewpointSync()) == null ? void 0 : H.cameraPosition);
20383
- }), k = ie(
20403
+ }), E = ie(
20384
20404
  () => p.active,
20385
20405
  () => {
20386
20406
  f.disabled = p.active;
@@ -20390,17 +20410,17 @@ const CC = {
20390
20410
  var V;
20391
20411
  (V = t.flights.player) == null || V.stop();
20392
20412
  }), fe(() => {
20393
- _(), g(), k();
20413
+ _(), g(), E();
20394
20414
  });
20395
- async function P() {
20415
+ async function z() {
20396
20416
  await e1(t, s.value);
20397
20417
  }
20398
20418
  async function A(V) {
20399
- V === "groundPosition" ? c.value = void 0 : V === "cameraPosition" && (l.value = (await t.maps.activeMap.getViewpoint()).groundPosition), await P();
20419
+ V === "groundPosition" ? c.value = void 0 : V === "cameraPosition" && (l.value = (await t.maps.activeMap.getViewpoint()).groundPosition), await z();
20400
20420
  }
20401
20421
  return {
20402
20422
  isCesiumMap: n,
20403
- gotoViewpoint: P,
20423
+ gotoViewpoint: z,
20404
20424
  handleInput: A,
20405
20425
  updateFromViewAction: f,
20406
20426
  editAction: p,
@@ -20499,7 +20519,7 @@ const t1 = /* @__PURE__ */ W0(NC);
20499
20519
  const $C = {
20500
20520
  name: "AbstractConfigEditor",
20501
20521
  components: {
20502
- VContainer: pe,
20522
+ VContainer: me,
20503
20523
  VForm: g0,
20504
20524
  VcsFormButton: Cr,
20505
20525
  VcsActionButtonList: st
@@ -20524,6 +20544,21 @@ const $C = {
20524
20544
  autoClose: {
20525
20545
  type: Boolean,
20526
20546
  default: !0
20547
+ },
20548
+ onSubmit: {
20549
+ type: Function,
20550
+ default: () => {
20551
+ }
20552
+ },
20553
+ onReset: {
20554
+ type: Function,
20555
+ default: () => {
20556
+ }
20557
+ },
20558
+ onCancel: {
20559
+ type: Function,
20560
+ default: () => {
20561
+ }
20527
20562
  }
20528
20563
  },
20529
20564
  setup(s, { attrs: e, emit: t }) {
@@ -20533,14 +20568,14 @@ const $C = {
20533
20568
  return {
20534
20569
  isValid: w(!0),
20535
20570
  submit(i) {
20536
- t("submit", i), s.autoClose && r();
20571
+ s.onSubmit(), t("submit", i), s.autoClose && r();
20537
20572
  },
20538
20573
  cancel(i) {
20539
20574
  var a;
20540
- s.setConfigOnCancel && ((a = e.setConfig) == null || a.call(e)), t("cancel", i), s.autoClose && r();
20575
+ s.onCancel(), s.setConfigOnCancel && ((a = e.setConfig) == null || a.call(e)), t("cancel", i), s.autoClose && r();
20541
20576
  },
20542
20577
  reset(i) {
20543
- t("reset", i);
20578
+ s.onReset(), t("reset", i);
20544
20579
  }
20545
20580
  };
20546
20581
  }
@@ -20560,7 +20595,7 @@ var DC = function() {
20560
20595
  RC,
20561
20596
  !1,
20562
20597
  null,
20563
- "f05fa7db",
20598
+ "2118805b",
20564
20599
  null,
20565
20600
  null
20566
20601
  );
@@ -20650,7 +20685,7 @@ const Ot = {
20650
20685
  Backward: "backward"
20651
20686
  };
20652
20687
  function Ul(s, e, t) {
20653
- L(t, Object.values(Ot));
20688
+ x(t, Object.values(Ot));
20654
20689
  let n;
20655
20690
  const r = ce({
20656
20691
  name: `step-${t}`,
@@ -20669,7 +20704,7 @@ function Ul(s, e, t) {
20669
20704
  return { action: r, destroy: i };
20670
20705
  }
20671
20706
  function Wl(s, e, t) {
20672
- L(t, Object.values(Ot));
20707
+ x(t, Object.values(Ot));
20673
20708
  let n;
20674
20709
  const r = t === Ot.Forward ? 1 : -1, i = t === Ot.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: a } = e;
20675
20710
  function o() {
@@ -20834,7 +20869,7 @@ const QC = {
20834
20869
  components: {
20835
20870
  VcsButton: Oe,
20836
20871
  VcsTextField: je,
20837
- VContainer: pe,
20872
+ VContainer: me,
20838
20873
  VSheet: ue,
20839
20874
  VcsFormSection: Zn,
20840
20875
  VcsList: Sa
@@ -20954,7 +20989,7 @@ const eE = {
20954
20989
  components: {
20955
20990
  VcsLabel: rt,
20956
20991
  VcsButton: Oe,
20957
- VContainer: pe,
20992
+ VContainer: me,
20958
20993
  VcsSlider: Oa
20959
20994
  },
20960
20995
  props: {
@@ -21025,7 +21060,7 @@ const iE = {
21025
21060
  VcsFlightPlayer: rE,
21026
21061
  VcsFlightAnchorsComponent: KC,
21027
21062
  VSheet: ue,
21028
- VContainer: pe,
21063
+ VContainer: me,
21029
21064
  VRow: Re,
21030
21065
  VCol: Ye,
21031
21066
  VDivider: _t,
@@ -21402,7 +21437,7 @@ const AE = {
21402
21437
  components: {
21403
21438
  VcsButton: Oe,
21404
21439
  VSheet: ue,
21405
- VContainer: pe,
21440
+ VContainer: me,
21406
21441
  VRow: Re,
21407
21442
  VCol: Ye,
21408
21443
  VIcon: le,
@@ -21585,8 +21620,8 @@ const TE = {
21585
21620
  },
21586
21621
  { immediate: !0 }
21587
21622
  );
21588
- async function u(M) {
21589
- const B = [
21623
+ async function u(D) {
21624
+ const $ = [
21590
21625
  "extrudedHeight",
21591
21626
  "skirt",
21592
21627
  "storeysAboveGround",
@@ -21594,12 +21629,12 @@ const TE = {
21594
21629
  "storeyHeightsAboveGround",
21595
21630
  "storeyHeightsBelowGround"
21596
21631
  ];
21597
- !!B.filter(
21598
- (G) => Object.keys(M).includes(G) && !!M[G]
21599
- ).length && c.value.altitudeMode !== "absolute" ? M.altitudeMode = "absolute" : M.altitudeMode === "clampToGround" && B.filter((G) => !!c.value[G]).forEach((G) => {
21600
- M[G] = 0;
21601
- }), M.altitudeMode === "absolute" && (n != null && n.length) && await t.placeCurrentFeaturesOnTerrain(), a.value.vectorProperties.setValuesForFeatures(
21602
- M,
21632
+ !!$.filter(
21633
+ (B) => Object.keys(D).includes(B) && !!D[B]
21634
+ ).length && c.value.altitudeMode !== "absolute" ? D.altitudeMode = "absolute" : D.altitudeMode === "clampToGround" && $.filter((B) => !!c.value[B]).forEach((B) => {
21635
+ D[B] = 0;
21636
+ }), D.altitudeMode === "absolute" && (n != null && n.length) && await t.placeCurrentFeaturesOnTerrain(), a.value.vectorProperties.setValuesForFeatures(
21637
+ D,
21603
21638
  n.value
21604
21639
  ), c.value = a.value.vectorProperties.getValuesForFeatures(n.value);
21605
21640
  }
@@ -21611,8 +21646,8 @@ const TE = {
21611
21646
  h();
21612
21647
  const p = y(
21613
21648
  () => {
21614
- var M;
21615
- return ((M = i.value) == null ? void 0 : M.type) === po.EDIT_GEOMETRY;
21649
+ var D;
21650
+ return ((D = i.value) == null ? void 0 : D.type) === po.EDIT_GEOMETRY;
21616
21651
  }
21617
21652
  ), _ = w();
21618
21653
  let g = () => {
@@ -21620,19 +21655,19 @@ const TE = {
21620
21655
  ie(
21621
21656
  i,
21622
21657
  () => {
21623
- var M;
21624
- g(), _.value = ((M = i.value) == null ? void 0 : M.mode) || null, _.value && (g = i.value.modeChanged.addEventListener(
21625
- (B) => {
21626
- _.value = B;
21658
+ var D;
21659
+ g(), _.value = ((D = i.value) == null ? void 0 : D.mode) || null, _.value && (g = i.value.modeChanged.addEventListener(
21660
+ ($) => {
21661
+ _.value = $;
21627
21662
  }
21628
21663
  ));
21629
21664
  },
21630
21665
  { immediate: !0 }
21631
21666
  );
21632
- function k(M) {
21633
- _.value && _.value === M ? t.stopEditing() : t.startTransformSession(M);
21667
+ function E(D) {
21668
+ _.value && _.value === D ? t.stopEditing() : t.startTransformSession(D);
21634
21669
  }
21635
- function P() {
21670
+ function z() {
21636
21671
  p.value ? t.stopEditing() : t.startEditSession();
21637
21672
  }
21638
21673
  const A = y(() => ({
@@ -21640,52 +21675,52 @@ const TE = {
21640
21675
  nFeatures: n.value.length
21641
21676
  }));
21642
21677
  function V() {
21643
- const B = SE(
21678
+ const $ = SE(
21644
21679
  A.value.types,
21645
21680
  A.value.nFeatures
21646
- ).map(($) => ({
21647
- name: $,
21648
- title: `components.editor.${$}`,
21649
- icon: CE[$],
21650
- active: y(() => _.value === $),
21681
+ ).map((N) => ({
21682
+ name: N,
21683
+ title: `components.editor.${N}`,
21684
+ icon: CE[N],
21685
+ active: y(() => _.value === N),
21651
21686
  callback: () => {
21652
- k($);
21687
+ E(N);
21653
21688
  }
21654
21689
  }));
21655
- return n.value.length === 1 && B.unshift({
21690
+ return n.value.length === 1 && $.unshift({
21656
21691
  name: "editGeometry",
21657
21692
  title: "components.editor.edit",
21658
21693
  icon: "$vcsEditVertices",
21659
21694
  active: p,
21660
21695
  callback: () => {
21661
- P();
21696
+ z();
21662
21697
  }
21663
- }), B;
21698
+ }), $;
21664
21699
  }
21665
21700
  function H() {
21666
- const M = Ju.filter(
21667
- (G) => s.allowedVectorProperties.includes(G)
21668
- ), B = A.value.types, $ = B.has(Ze.Point);
21669
- return $ || (Xu.forEach((G) => {
21670
- s.allowedVectorProperties.includes(G) && M.push(G);
21671
- }), M.push("classificationType")), $ && B.size === 1 && qu.forEach((G) => {
21672
- s.allowedVectorProperties.includes(G) && M.push(G);
21673
- }), M;
21701
+ const D = Ju.filter(
21702
+ (B) => s.allowedVectorProperties.includes(B)
21703
+ ), $ = A.value.types, N = $.has(Ze.Point);
21704
+ return N || (Xu.forEach((B) => {
21705
+ s.allowedVectorProperties.includes(B) && D.push(B);
21706
+ }), D.push("classificationType")), N && $.size === 1 && qu.forEach((B) => {
21707
+ s.allowedVectorProperties.includes(B) && D.push(B);
21708
+ }), D;
21674
21709
  }
21675
21710
  const b = ie(
21676
21711
  A,
21677
- (M, B) => {
21678
- (M.types.size !== (B == null ? void 0 : B.types.size) || ![...M.types].every(($) => B == null ? void 0 : B.types.has($)) || M.nFeatures > 1 && B.nFeatures === 1 || B.nFeatures > 1 && M.nFeatures === 1) && (o.value = V(), l.value = H());
21712
+ (D, $) => {
21713
+ (D.types.size !== ($ == null ? void 0 : $.types.size) || ![...D.types].every((N) => $ == null ? void 0 : $.types.has(N)) || D.nFeatures > 1 && $.nFeatures === 1 || $.nFeatures > 1 && D.nFeatures === 1) && (o.value = V(), l.value = H());
21679
21714
  },
21680
21715
  { immediate: !0 }
21681
- ), z = ie(
21716
+ ), G = ie(
21682
21717
  () => s.allowedVectorProperties,
21683
21718
  () => {
21684
21719
  l.value = H();
21685
21720
  }
21686
21721
  );
21687
21722
  return fe(() => {
21688
- f(), g(), b(), z(), t.stopEditing();
21723
+ f(), g(), b(), G(), t.stopEditing();
21689
21724
  }), {
21690
21725
  featureProperties: c,
21691
21726
  session: r,