@vcmap/ui 5.1.0-rc.1 → 5.1.0-rc.3

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.
@@ -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.3c73c2.css');await loadCss('./assets/@mdi/font/css/materialdesignicons.min.e3f476.css');var p1 = Object.defineProperty;
16
+ } await loadCss('./assets/ui.7d2c2e.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.4fe14e.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.a9fe5a.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.260d9a.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.5f0496.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.e9b3ca.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.e8ee6a.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.ee9f31.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.d22222.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.d99267.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.271bcd.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.1";
1573
+ const Ei = "5.1.0-rc.3";
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],
@@ -5486,7 +5486,7 @@ function Lm(s, e, t = {}) {
5486
5486
  };
5487
5487
  }
5488
5488
  function xa(s, e) {
5489
- L(e, {
5489
+ x(e, {
5490
5490
  name: String,
5491
5491
  icon: [void 0, String],
5492
5492
  title: [void 0, String],
@@ -5515,7 +5515,7 @@ function GE(s, e, t) {
5515
5515
  };
5516
5516
  }
5517
5517
  function ZE(s, e, t, n) {
5518
- L(s, Function), L(t, [String, Q]), L(n, String);
5518
+ x(s, Function), x(t, [String, Q]), x(n, String);
5519
5519
  const { action: r, destroy: i } = $t(
5520
5520
  {
5521
5521
  name: "list.import"
@@ -5747,7 +5747,7 @@ class su {
5747
5747
  * @param {string} id
5748
5748
  */
5749
5749
  remove(e) {
5750
- L(e, String);
5750
+ x(e, String);
5751
5751
  const t = this._buttonComponents.get(e);
5752
5752
  if (t) {
5753
5753
  const n = this.componentIds.indexOf(e);
@@ -5762,7 +5762,7 @@ class su {
5762
5762
  * @returns {ButtonComponent}
5763
5763
  */
5764
5764
  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))
5765
+ if (pe(e.id, String), pe(e.weight, Number), x(e.action, er), x(t, [String, Q]), e.id && this.has(e.id))
5766
5766
  throw new Error(
5767
5767
  `A button with id ${e.id} has already been registered.`
5768
5768
  );
@@ -5780,7 +5780,7 @@ class su {
5780
5780
  return e.weight || 0;
5781
5781
  },
5782
5782
  set weight(a) {
5783
- L(a, Number), e.weight = a;
5783
+ x(a, Number), e.weight = a;
5784
5784
  }
5785
5785
  };
5786
5786
  return this._buttonComponents.set(n, i), this.componentIds.push(n), this.added.raiseEvent(i), i;
@@ -5835,7 +5835,7 @@ class Em extends su {
5835
5835
  * @returns {import("./buttonManager.js").ButtonComponent}
5836
5836
  */
5837
5837
  add(e, t, n) {
5838
- L(n, Object.values(Ne));
5838
+ x(n, Object.values(Ne));
5839
5839
  const r = super.add(e, t);
5840
5840
  return r[ru] = n, r;
5841
5841
  }
@@ -5846,7 +5846,7 @@ class Em extends su {
5846
5846
  * @param {boolean} [active]
5847
5847
  */
5848
5848
  toggle(e, t = void 0) {
5849
- if (L(e, String), this.has(e)) {
5849
+ if (x(e, String), this.has(e)) {
5850
5850
  const { action: n } = this.get(e);
5851
5851
  t !== void 0 ? (n == null ? void 0 : n.active) !== t && n.callback() : n && n.callback();
5852
5852
  }
@@ -5860,7 +5860,7 @@ const Tm = {
5860
5860
  VcsActionList: ma,
5861
5861
  VcsToolButton: xs,
5862
5862
  VToolbar: yr,
5863
- VContainer: pe,
5863
+ VContainer: me,
5864
5864
  VRow: Re,
5865
5865
  VCol: Ye,
5866
5866
  VToolbarItems: wr,
@@ -6075,28 +6075,28 @@ const Hm = {
6075
6075
  var g;
6076
6076
  return ((g = e.get(_)) == null ? void 0 : g.zIndex.value) === t.length - 1;
6077
6077
  }, o = (_) => {
6078
- var k;
6078
+ var E;
6079
6079
  if (!_)
6080
6080
  return null;
6081
- const g = !((k = _ == null ? void 0 : _.state) != null && k.dockable) && e.get(_.parentId);
6081
+ const g = !((E = _ == null ? void 0 : _.state) != null && E.dockable) && e.get(_.parentId);
6082
6082
  return op(
6083
6083
  _ == null ? void 0 : _.position,
6084
6084
  n.value,
6085
6085
  o(g)
6086
6086
  );
6087
6087
  }, l = (_) => y(() => {
6088
- var k;
6088
+ var E;
6089
6089
  const g = e.get(_);
6090
6090
  return {
6091
6091
  zIndex: g.zIndex.value,
6092
6092
  ...o(g),
6093
- ...((k = g == null ? void 0 : g.state) == null ? void 0 : k.styles) || {}
6093
+ ...((E = g == null ? void 0 : g.state) == null ? void 0 : E.styles) || {}
6094
6094
  };
6095
6095
  }), c = (_) => {
6096
6096
  e.has(_) && !a(_) && e.bringWindowToTop(_);
6097
6097
  }, u = (_, g) => {
6098
- const k = e.get(_), P = o(k);
6099
- rp(_, g, e, n.value, P);
6098
+ const E = e.get(_), z = o(E);
6099
+ rp(_, g, e, n.value, z);
6100
6100
  }, d = w(t), h = y(() => zt().proxy.$vuetify.breakpoint.xs && d.value.length > 0), f = () => {
6101
6101
  n.value = zn(s.maps.target);
6102
6102
  };
@@ -6191,7 +6191,7 @@ class Km {
6191
6191
  return this._toolboxName;
6192
6192
  }
6193
6193
  set toolboxName(e) {
6194
- L(e, [String, ss]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
6194
+ x(e, [String, ss]), this._toolboxName !== e && (this._toolboxName = e, this.toolboxNameChanged.raiseEvent(e));
6195
6195
  }
6196
6196
  setDefaultToolboxName() {
6197
6197
  this.toolboxName = ss;
@@ -6216,7 +6216,7 @@ class Km {
6216
6216
  * @param {string} id
6217
6217
  */
6218
6218
  remove(e) {
6219
- L(e, String);
6219
+ x(e, String);
6220
6220
  const t = this._toolboxGroups.get(e);
6221
6221
  if (t) {
6222
6222
  const n = this.componentIds.indexOf(e);
@@ -6231,7 +6231,7 @@ class Km {
6231
6231
  * @returns {SingleToolboxComponent|SelectToolboxComponent|import("vue").ShallowReactive<GroupToolboxComponent>}
6232
6232
  */
6233
6233
  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))
6234
+ if (pe(e.id, String), x(e.type, Object.values(Vt)), x(t, [String, Q]), e.id && this.has(e.id))
6235
6235
  throw new Error(
6236
6236
  `A toolGroup with id ${e.id} has already been registered.`
6237
6237
  );
@@ -6251,7 +6251,7 @@ class Km {
6251
6251
  }
6252
6252
  };
6253
6253
  if (r === Vt.SINGLE) {
6254
- L(e.action, er);
6254
+ x(e.action, er);
6255
6255
  const l = Si(e.action);
6256
6256
  o = {
6257
6257
  ...o,
@@ -6260,7 +6260,7 @@ class Km {
6260
6260
  }
6261
6261
  };
6262
6262
  } else if (r === Vt.SELECT) {
6263
- L(e.action, {
6263
+ x(e.action, {
6264
6264
  ...er,
6265
6265
  selected: Function,
6266
6266
  currentIndex: Number,
@@ -6282,7 +6282,7 @@ class Km {
6282
6282
  }
6283
6283
  };
6284
6284
  } else {
6285
- L(e.icon, String), ve(e.title, String), ve(e.disabled, Boolean);
6285
+ x(e.icon, String), pe(e.title, String), pe(e.disabled, Boolean);
6286
6286
  const {
6287
6287
  icon: l,
6288
6288
  title: c = void 0,
@@ -10031,7 +10031,7 @@ const Jb = {
10031
10031
  TiltSlider: Bb,
10032
10032
  VcsZoomButton: Ob,
10033
10033
  VcsCompass: Eb,
10034
- VContainer: pe,
10034
+ VContainer: me,
10035
10035
  VRow: Re
10036
10036
  },
10037
10037
  setup() {
@@ -10292,7 +10292,7 @@ const f9 = h9.exports, p9 = {
10292
10292
  VcsSelect: $r,
10293
10293
  VcsRadio: f9,
10294
10294
  VcsLabel: rt,
10295
- VContainer: pe,
10295
+ VContainer: me,
10296
10296
  VRow: Re,
10297
10297
  VCol: Ye
10298
10298
  },
@@ -10491,25 +10491,25 @@ const M9 = {
10491
10491
  ie(
10492
10492
  s,
10493
10493
  () => {
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 = "");
10494
+ 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
10495
  },
10496
10496
  { immediate: !0, deep: !1 }
10497
10497
  );
10498
10498
  const f = zt().proxy, p = q(
10499
10499
  "filterPredicate",
10500
- (b, z = "") => f.$t(b.title).toLocaleLowerCase().includes(z.toLocaleLowerCase())
10500
+ (b, G = "") => f.$t(b.title).toLocaleLowerCase().includes(G.toLocaleLowerCase())
10501
10501
  );
10502
10502
  let _ = null;
10503
10503
  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));
10504
+ function E(b, G) {
10505
+ g.value && (_ !== null && G !== void 0 && e("item-moved", { item: _, targetIndex: G }), _ = null, a.value = void 0, document.removeEventListener("mouseup", E));
10506
10506
  }
10507
- function P(b, z, M) {
10508
- g.value && (a.value = M, _ = z, b.dataTransfer.effectAllowed = "move", document.addEventListener("mouseup", k));
10507
+ function z(b, G, D) {
10508
+ g.value && (a.value = D, _ = G, b.dataTransfer.effectAllowed = "move", document.addEventListener("mouseup", E));
10509
10509
  }
10510
10510
  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;
10511
+ let b = s.items.filter((G) => G.visible !== !1);
10512
+ return r.value && (b = b.filter((G) => p(G, r.value))), b;
10513
10513
  }), V = Ea(
10514
10514
  A,
10515
10515
  n,
@@ -10537,20 +10537,20 @@ const M9 = {
10537
10537
  * @param {VcsListItem} item
10538
10538
  * @param {PointerEvent} event
10539
10539
  */
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)) {
10540
+ select(b, G) {
10541
+ var D, $, N, B, re, I, M, O;
10542
+ if (Array.isArray(b.clickedCallbacks) && b.clickedCallbacks.forEach((C) => C(G)), !(!s.selectable || b.disabled)) {
10543
10543
  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) {
10544
+ 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);
10545
+ else if (G.shiftKey) {
10546
+ let C = 0;
10547
+ u && (C = A.value.indexOf(u));
10548
+ const R = A.value.indexOf(b);
10549
+ if (C > -1 && R > -1) {
10550
10550
  const S = [...n.value];
10551
10551
  n.value = A.value.slice(
10552
- Math.min(E, D),
10553
- Math.max(E, D) + 1
10552
+ Math.min(C, R),
10553
+ Math.max(C, R) + 1
10554
10554
  ), S.forEach((T) => {
10555
10555
  T.selectionChanged && !n.value.includes(T) && T.selectionChanged(!1);
10556
10556
  }), n.value.forEach((T) => {
@@ -10559,7 +10559,7 @@ const M9 = {
10559
10559
  } else
10560
10560
  n.value.filter((S) => S !== b && S.selectionChanged).forEach((S) => S.selectionChanged(!1)), n.value = [], u = null;
10561
10561
  } 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);
10562
+ 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
10563
  e("input", n.value);
10564
10564
  }
10565
10565
  },
@@ -10567,25 +10567,25 @@ const M9 = {
10567
10567
  * @param {VcsListItem} item
10568
10568
  */
10569
10569
  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));
10570
+ var G;
10571
+ !n.value.includes(b) && !b.disabled && ((G = b.selectionChanged) == null || G.call(b, !0), n.value = [...n.value, b], e("input", n.value));
10572
10572
  },
10573
10573
  /**
10574
10574
  * @param {VcsListItem} item
10575
10575
  */
10576
10576
  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));
10577
+ var G;
10578
+ 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
10579
  },
10580
10580
  clear() {
10581
10581
  n.value.filter((b) => b.selectionChanged).forEach((b) => b.selectionChanged(!1)), n.value = [], u = null, e("input", n.value);
10582
10582
  },
10583
- drag: P,
10584
- drop: k,
10583
+ drag: z,
10584
+ drop: E,
10585
10585
  titles: d,
10586
- overflowTitle(b, z) {
10587
- const M = d.value[b];
10588
- return M && M.offsetWidth < M.scrollWidth ? z : "";
10586
+ overflowTitle(b, G) {
10587
+ const D = d.value[b];
10588
+ return D && D.offsetWidth < D.scrollWidth ? G : "";
10589
10589
  },
10590
10590
  listHeader: h,
10591
10591
  listHeaderTooltip: y(() => {
@@ -10594,9 +10594,9 @@ const M9 = {
10594
10594
  const b = h.value;
10595
10595
  return b && b.offsetWidth < b.scrollWidth ? s.title : "";
10596
10596
  }),
10597
- rename(b, z) {
10598
- var M;
10599
- z && (e("item-renamed", { item: b, newTitle: z }), (M = b.titleChanged) == null || M.call(b, z));
10597
+ rename(b, G) {
10598
+ var D;
10599
+ G && (e("item-renamed", { item: b, newTitle: G }), (D = b.titleChanged) == null || D.call(b, G));
10600
10600
  },
10601
10601
  hasIntermediateSlot: y(() => !!t["item.intermediate"])
10602
10602
  };
@@ -10812,7 +10812,7 @@ const P9 = F9.exports, z9 = {
10812
10812
  components: {
10813
10813
  CollectionComponentList: k9,
10814
10814
  VExpansionPanels: fc,
10815
- VContainer: pe,
10815
+ VContainer: me,
10816
10816
  CollectionComponentProvider: P9,
10817
10817
  CollectionComponent: Su
10818
10818
  },
@@ -10949,8 +10949,8 @@ const q9 = {
10949
10949
  var X9 = function() {
10950
10950
  var e = this, t = e._self._c;
10951
10951
  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);
10952
+ 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;
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": (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
10954
  }), 1)], 1);
10955
10955
  }, K9 = [], eA = /* @__PURE__ */ m(
10956
10956
  q9,
@@ -11139,7 +11139,7 @@ const pA = {
11139
11139
  name: "VcsTextPage",
11140
11140
  components: {
11141
11141
  VSheet: ue,
11142
- VContainer: pe
11142
+ VContainer: me
11143
11143
  },
11144
11144
  props: {
11145
11145
  content: {
@@ -11387,7 +11387,7 @@ class zA extends _r {
11387
11387
  * @param {boolean} move
11388
11388
  */
11389
11389
  setMove(e) {
11390
- L(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
11390
+ x(e, Boolean), this._move = e, this._defaultActive = this._move ? lt.CLICK | lt.MOVE : lt.CLICK, this.setActive();
11391
11391
  }
11392
11392
  /**
11393
11393
  * @param {import("@vcmap/core").InteractionEvent} event
@@ -11771,7 +11771,7 @@ const nM = {
11771
11771
  VcsMap: au,
11772
11772
  WindowManagerComponent: Qm,
11773
11773
  ToolboxManagerComponent: p_,
11774
- VContainer: pe,
11774
+ VContainer: me,
11775
11775
  VFooter: i0,
11776
11776
  NotifierComponent: $A
11777
11777
  },
@@ -11932,7 +11932,7 @@ class Pt {
11932
11932
  * @param {StateActionState} state
11933
11933
  */
11934
11934
  set state(e) {
11935
- L(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
11935
+ x(e, Object.values(Z)), this._state.value !== e && (this._state.value = e, this._setStateAction());
11936
11936
  }
11937
11937
  /**
11938
11938
  * @type {string|null}
@@ -11944,7 +11944,7 @@ class Pt {
11944
11944
  * @param {string} url
11945
11945
  */
11946
11946
  set infoUrl(e) {
11947
- if (ve(e, String), this._infoUrl !== e) {
11947
+ if (pe(e, String), this._infoUrl !== e) {
11948
11948
  this._infoUrl = e;
11949
11949
  const t = "infoUrl";
11950
11950
  if (this._infoUrl) {
@@ -11971,7 +11971,7 @@ class Pt {
11971
11971
  * @param {string|undefined} title
11972
11972
  */
11973
11973
  set title(e) {
11974
- ve(e, String), this._title.value = e;
11974
+ pe(e, String), this._title.value = e;
11975
11975
  }
11976
11976
  /**
11977
11977
  * @type {string|undefined}
@@ -11983,7 +11983,7 @@ class Pt {
11983
11983
  * @param {string|undefined} tooltip
11984
11984
  */
11985
11985
  set tooltip(e) {
11986
- ve(e, String), this._tooltip.value = e;
11986
+ pe(e, String), this._tooltip.value = e;
11987
11987
  }
11988
11988
  /**
11989
11989
  * @type {string|HTMLCanvasElement|HTMLImageElement|undefined}
@@ -11995,7 +11995,7 @@ class Pt {
11995
11995
  * @param {(string|HTMLCanvasElement|HTMLImageElement)=} icon
11996
11996
  */
11997
11997
  set icon(e) {
11998
- ve(e, [String, HTMLElement]), this._icon.value = e;
11998
+ pe(e, [String, HTMLElement]), this._icon.value = e;
11999
11999
  }
12000
12000
  /**
12001
12001
  * @type {number}
@@ -12007,7 +12007,7 @@ class Pt {
12007
12007
  * @param {number} weight
12008
12008
  */
12009
12009
  set weight(e) {
12010
- L(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
12010
+ x(e, Number), e !== this._weight && (this._weight = e, this.weightChanged.raiseEvent(e));
12011
12011
  }
12012
12012
  /**
12013
12013
  * @private
@@ -12046,7 +12046,7 @@ class Pt {
12046
12046
  * @param {number} [weight=11]
12047
12047
  */
12048
12048
  addAction(e, t = 11) {
12049
- if (L(e.name, String), ve(t, Number), this._getActionIndex(e.name) > -1)
12049
+ if (x(e.name, String), pe(t, Number), this._getActionIndex(e.name) > -1)
12050
12050
  throw new Error("Action names must be unique");
12051
12051
  e[hl] = t;
12052
12052
  const r = this._actions.value.findIndex(
@@ -13276,23 +13276,25 @@ class Na {
13276
13276
  * @private
13277
13277
  */
13278
13278
  _handleItemReplaced(e) {
13279
- const t = this.selection.value.findIndex(
13280
- (n) => n.name === e.old[this.collection.uniqueKey]
13279
+ var r;
13280
+ const t = (r = this.getListItemForItem(e.old)) == null ? void 0 : r.hasUpdate, n = this.selection.value.findIndex(
13281
+ (i) => i.name === e.old[this.collection.uniqueKey]
13281
13282
  );
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]
13283
+ if (this._handleItemRemoved(e.old), n > -1 || t !== void 0) {
13284
+ const i = this._collection.added.addEventListener((a) => {
13285
+ if (a === e.new) {
13286
+ const o = this.items.value.find(
13287
+ (l) => l.name === a[this.collection.uniqueKey]
13287
13288
  );
13288
- i && this.selection.value.splice(t, 0, i), n();
13289
+ o && (t !== void 0 && (o.hasUpdate = t), n > -1 && this.selection.value.splice(n, 0, o)), i();
13289
13290
  }
13290
13291
  });
13291
13292
  }
13292
13293
  }
13293
13294
  /**
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.
13295
+ * Synchronizes the order of the list items with respect to the order of the items in the collection.
13296
+ * Removes and reinserts the moved item.
13297
+ * Ensures selection and hasUpdate.
13296
13298
  * @param {T} item
13297
13299
  * @template T
13298
13300
  * @private
@@ -13446,7 +13448,7 @@ class jM {
13446
13448
  * @template {Object|import("@vcmap/core").VcsObject} T
13447
13449
  */
13448
13450
  add(e, t) {
13449
- if (L(e, { collection: ys }), L(t, [String, Symbol]), e.id && this.has(e.id))
13451
+ if (x(e, { collection: ys }), x(t, [String, Symbol]), e.id && this.has(e.id))
13450
13452
  throw new Error(
13451
13453
  `A collection component with id ${e.id} has already been registered.`
13452
13454
  );
@@ -13472,7 +13474,7 @@ class jM {
13472
13474
  * @param {string} id
13473
13475
  */
13474
13476
  remove(e) {
13475
- L(e, String);
13477
+ x(e, String);
13476
13478
  const t = this._collectionComponents.get(e);
13477
13479
  if (t) {
13478
13480
  const n = this.componentIds.indexOf(e);
@@ -13499,7 +13501,7 @@ class jM {
13499
13501
  * @template {Object} T
13500
13502
  */
13501
13503
  addMappingFunction(e, t, n, r = []) {
13502
- ve(e, Function), L(t, Function), L(n, [String, Symbol]), L(r, [String]);
13504
+ pe(e, Function), x(t, Function), x(n, [String, Symbol]), x(r, [String]);
13503
13505
  const i = {
13504
13506
  predicate: e,
13505
13507
  mappingFunction: t,
@@ -13520,7 +13522,7 @@ class jM {
13520
13522
  * @template {Object} T
13521
13523
  */
13522
13524
  removeMappingFunction(e, t) {
13523
- L(e, Function), L(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13525
+ x(e, Function), x(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13524
13526
  n.removeItemMapping({ mappingFunction: e, owner: t });
13525
13527
  }), this._itemMappings = this._itemMappings.filter(
13526
13528
  (n) => !(n.mappingFunction === e && n.owner === t)
@@ -13533,7 +13535,7 @@ class jM {
13533
13535
  * @template {Object} T
13534
13536
  */
13535
13537
  addFilterFunction(e, t, n = []) {
13536
- L(e, Function), L(t, [String, Symbol]), L(n, [String]);
13538
+ x(e, Function), x(t, [String, Symbol]), x(n, [String]);
13537
13539
  const r = {
13538
13540
  filterFunction: e,
13539
13541
  owner: t
@@ -13553,7 +13555,7 @@ class jM {
13553
13555
  * @template {Object} T
13554
13556
  */
13555
13557
  removeFilterFunction(e, t) {
13556
- L(e, Function), L(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13558
+ x(e, Function), x(t, [String, Symbol]), [...this._collectionComponents.values()].forEach((n) => {
13557
13559
  n.removeItemFilter({ filterFunction: e, owner: t });
13558
13560
  }), this._itemFilters = this._itemFilters.filter(
13559
13561
  (n) => !(n.filterFunction === e && n.owner === t)
@@ -13566,7 +13568,7 @@ class jM {
13566
13568
  * @param {Array<string>} [collectionComponentIds] list of collectionComponents this mappingFunction should be used on. If empty, actions are applied to all managed collectionComponents.
13567
13569
  */
13568
13570
  addActions(e, t, n = []) {
13569
- if (L(t, [String, Symbol]), L(n, [String]), !pa(e))
13571
+ if (x(t, [String, Symbol]), x(n, [String]), !pa(e))
13570
13572
  throw new Error("Invalid actions Array");
13571
13573
  if (!this._actions.find(
13572
13574
  (r) => r.actions === e && r.owner === t
@@ -13587,7 +13589,7 @@ class jM {
13587
13589
  * @param {string | symbol} owner
13588
13590
  */
13589
13591
  removeActions(e, t) {
13590
- L(t, [String, Symbol]);
13592
+ x(t, [String, Symbol]);
13591
13593
  const n = e.map((r) => ({ action: r, owner: t }));
13592
13594
  [...this._collectionComponents.values()].forEach((r) => {
13593
13595
  r.removeActions(n);
@@ -13600,7 +13602,7 @@ class jM {
13600
13602
  * @param {string | symbol} owner
13601
13603
  */
13602
13604
  removeOwner(e) {
13603
- L(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
13605
+ x(e, [String, Symbol]), [...this._collectionComponents.values()].forEach((t) => {
13604
13606
  t.owner === e ? (this.remove(t.id), t.destroy()) : t.removeOwner(e);
13605
13607
  }), this._itemMappings = this._itemMappings.filter((t) => t.owner !== e), this._itemFilters = this._itemFilters.filter((t) => t.owner !== e), this._actions = this._actions.filter(
13606
13608
  (t) => t.owner !== e
@@ -13676,7 +13678,7 @@ const bl = Symbol(
13676
13678
  "EditorCollectionComponentClass"
13677
13679
  );
13678
13680
  function HE(s, e, t, n = "category-manager") {
13679
- L(e, Na), L(t.editor, [Object, Function]), ve(t.multiEditor, Object);
13681
+ x(e, Na), x(t.editor, [Object, Function]), pe(t.multiEditor, Object), pe(t.predicate, Function);
13680
13682
  const r = (
13681
13683
  /** @type {EditorCollectionComponentClass} */
13682
13684
  e
@@ -13689,103 +13691,104 @@ function HE(s, e, t, n = "category-manager") {
13689
13691
  const {
13690
13692
  editor: i,
13691
13693
  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);
13694
+ predicate: o = () => !0,
13695
+ selectionBased: l = !0
13696
+ } = t, c = r.collection.uniqueKey, u = `${r.id}-editor`, d = `${r.id}-multi-editor`;
13697
+ function h($) {
13698
+ return r.collection.getByKey($.name);
13696
13699
  }
13697
- function h(M) {
13698
- return o ? c : `${c}-${M[l]}`;
13700
+ function f($) {
13701
+ return l ? u : `${u}-${$[c]}`;
13699
13702
  }
13700
- function f() {
13703
+ function p() {
13701
13704
  if (a)
13702
- return u;
13705
+ return d;
13703
13706
  }
13704
- function p(M) {
13705
- return typeof i == "function" ? i(M) : i;
13707
+ function _($) {
13708
+ return typeof i == "function" ? i($) : i;
13706
13709
  }
13707
- function _(M) {
13708
- const B = h(M);
13709
- s.windowManager.has(B) && s.windowManager.remove(B);
13710
+ function g($) {
13711
+ const N = f($);
13712
+ s.windowManager.has(N) && s.windowManager.remove(N);
13710
13713
  }
13711
- function g() {
13712
- s.windowManager.componentIds.filter((M) => M.startsWith(c)).forEach((M) => s.windowManager.remove(M));
13714
+ function E() {
13715
+ s.windowManager.componentIds.filter(($) => $.startsWith(u)).forEach(($) => s.windowManager.remove($));
13713
13716
  }
13714
- function k() {
13715
- s.windowManager.has(u) && s.windowManager.remove(u);
13717
+ function z() {
13718
+ s.windowManager.has(d) && s.windowManager.remove(d);
13716
13719
  }
13717
- function P(M) {
13718
- const B = p(M), $ = h(M);
13719
- B && (k(), s.windowManager.has($) ? s.windowManager.bringWindowToTop($) : s.windowManager.add(
13720
+ function A($) {
13721
+ const N = _($), B = f($);
13722
+ N && (z(), s.windowManager.has(B) ? s.windowManager.bringWindowToTop(B) : s.windowManager.add(
13720
13723
  {
13721
- ...B,
13722
- id: $,
13724
+ ...N,
13725
+ id: B,
13723
13726
  slot: U.DYNAMIC_CHILD,
13724
13727
  parentId: n
13725
13728
  },
13726
13729
  r.owner
13727
13730
  ));
13728
13731
  }
13729
- function A() {
13730
- a && (g(), s.windowManager.has(u) ? s.windowManager.bringWindowToTop(u) : s.windowManager.add(
13732
+ function V() {
13733
+ a && (E(), s.windowManager.has(d) ? s.windowManager.bringWindowToTop(d) : s.windowManager.add(
13731
13734
  {
13732
13735
  ...a,
13733
- id: u,
13736
+ id: d,
13734
13737
  slot: U.DYNAMIC_CHILD,
13735
13738
  parentId: n
13736
13739
  },
13737
13740
  r.owner
13738
13741
  ));
13739
13742
  }
13740
- const V = ie(
13743
+ const H = ie(
13741
13744
  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());
13745
+ async ($, N) => {
13746
+ $.length > 1 ? E() : $.length === 1 && N.indexOf($[0]) < 0 ? (l && (E(), await kn()), A(h($[0]))) : $.length === 0 && (l && E(), z());
13744
13747
  }
13745
- ), H = r.collection.removed.addEventListener(
13746
- _
13748
+ ), b = r.collection.removed.addEventListener(
13749
+ g
13747
13750
  );
13748
13751
  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));
13752
+ predicate: o,
13753
+ mappingFunction: ($, N, B) => {
13754
+ B.clickedCallbacks.push((I) => {
13755
+ I.shiftKey || I.ctrlKey || (r.selection.value.length > 1 && A($), !l && r.selection.value.length === 1 && r.selection.value[0] === B && g($));
13753
13756
  });
13754
- const G = {
13757
+ const re = {
13755
13758
  name: "list.editItem",
13756
13759
  async callback() {
13757
- o ? (g(), await kn(), e.selection.value = [$]) : e.selection.value = [], P(M);
13760
+ l ? (E(), await kn(), e.selection.value = [B]) : e.selection.value = [], A($);
13758
13761
  },
13759
13762
  weight: 10
13760
13763
  };
13761
- $.actions.push(G);
13764
+ B.actions.push(re);
13762
13765
  },
13763
13766
  owner: r.owner
13764
13767
  });
13765
- let b = () => {
13768
+ let G = () => {
13766
13769
  };
13767
13770
  if (a) {
13768
- const { action: M, destroy: B } = Im(
13771
+ const { action: $, destroy: N } = Im(
13769
13772
  r.selection,
13770
- A,
13773
+ V,
13771
13774
  s.windowManager,
13772
13775
  r.owner,
13773
- f()
13776
+ p()
13774
13777
  );
13775
13778
  r.addActions([
13776
13779
  {
13777
- action: ce(M),
13780
+ action: ce($),
13778
13781
  owner: r.owner,
13779
13782
  weight: 101
13780
13783
  }
13781
- ]), b = B;
13784
+ ]), G = N;
13782
13785
  }
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(
13786
+ r.getEditorWindowId = f, r.getMultiEditorWindowId = p, r.closeEditorWindow = g, r.closeEditorWindows = E, r.closeMultiEditorWindow = z, r.openEditorWindow = A, r.openMultiEditorWindow = V, r.parentId = n;
13787
+ const D = r.destroy.bind(
13785
13788
  r
13786
13789
  );
13787
13790
  return r.destroy = function() {
13788
- z(), V(), H(), b();
13791
+ D(), H(), b(), G();
13789
13792
  }, r;
13790
13793
  }
13791
13794
  class VM extends _r {
@@ -13918,7 +13921,7 @@ class HM {
13918
13921
  * @param {string|symbol} owner
13919
13922
  */
13920
13923
  addEventHandler(e, t) {
13921
- L(e, Function), L(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
13924
+ x(e, Function), x(t, [String, Q]), this._ensureInteraction(), this._eventHandlers.push({ owner: t, handler: e });
13922
13925
  const n = [...this._app.plugins].map((r) => r.name);
13923
13926
  this._eventHandlers.sort((r, i) => La(r.owner, i.owner, n));
13924
13927
  }
@@ -13959,7 +13962,7 @@ const UM = {
13959
13962
  VcsTreeviewSearchbar: Ca,
13960
13963
  VCard: cn,
13961
13964
  VDataTable: l0,
13962
- VContainer: pe,
13965
+ VContainer: me,
13963
13966
  VDivider: _t,
13964
13967
  VRow: Re,
13965
13968
  VMenu: Bt,
@@ -14022,10 +14025,10 @@ const UM = {
14022
14025
  const n = zt().proxy, r = w(null), i = w(""), a = (A, V, H) => {
14023
14026
  if (V) {
14024
14027
  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);
14028
+ return Object.values(H).some((G) => {
14029
+ if (G) {
14030
+ const D = G.toString();
14031
+ return n.$t(D).toLowerCase().includes(b) || D.toLowerCase().includes(b);
14029
14032
  }
14030
14033
  return !1;
14031
14034
  });
@@ -14052,9 +14055,9 @@ const UM = {
14052
14055
  p.value = 1;
14053
14056
  }
14054
14057
  );
14055
- const k = () => {
14058
+ const E = () => {
14056
14059
  p.value = 1;
14057
- const { sortBy: A, sortDesc: V, groupBy: H, groupDesc: b, multiSort: z, mustSort: M } = e;
14060
+ const { sortBy: A, sortDesc: V, groupBy: H, groupDesc: b, multiSort: G, mustSort: D } = e;
14058
14061
  t("update:items", {
14059
14062
  page: p.value,
14060
14063
  itemsPerPage: h.value,
@@ -14062,11 +14065,11 @@ const UM = {
14062
14065
  sortDesc: V,
14063
14066
  groupBy: H,
14064
14067
  groupDesc: b,
14065
- multiSort: z,
14066
- mustSort: M,
14068
+ multiSort: G,
14069
+ mustSort: D,
14067
14070
  search: i.value
14068
14071
  });
14069
- }, P = y(
14072
+ }, z = y(
14070
14073
  () => s.items.length > h.value || s.serverItemsLength > h.value
14071
14074
  );
14072
14075
  return {
@@ -14091,9 +14094,9 @@ const UM = {
14091
14094
  h.value = A;
14092
14095
  },
14093
14096
  handleFilter: a,
14094
- handleSearch: k,
14097
+ handleSearch: E,
14095
14098
  translatedHeaders: d,
14096
- showFooter: P
14099
+ showFooter: z
14097
14100
  };
14098
14101
  }
14099
14102
  };
@@ -14621,7 +14624,7 @@ var ax = function() {
14621
14624
  );
14622
14625
  const ju = lx.exports;
14623
14626
  function zi(s, e, t = null) {
14624
- L(s, String), L(e, Object);
14627
+ x(s, String), x(e, Object);
14625
14628
  const r = s.split(".").reduce((i, a) => i[a] || {}, e);
14626
14629
  return typeof r == "string" ? r : t;
14627
14630
  }
@@ -15059,12 +15062,12 @@ class yx extends ys {
15059
15062
  * @returns {Promise<void>}
15060
15063
  */
15061
15064
  async selectFeature(e, t, n, r) {
15062
- L(e, [
15065
+ x(e, [
15063
15066
  bs,
15064
15067
  Ac,
15065
15068
  T0,
15066
15069
  k0
15067
- ]), ve(t, [Number]), ve(n, [Number]), ve(r, hn);
15070
+ ]), pe(t, [Number]), pe(n, [Number]), pe(r, hn);
15068
15071
  const i = e[gx] ?? r ?? this._getFeatureInfoViewForFeature(e), a = this._app.layers.getByKey(e[wi]);
15069
15072
  if (i && a) {
15070
15073
  if (this._clearInternal(), e[V1]) {
@@ -15312,7 +15315,7 @@ function Nx(s) {
15312
15315
  beforeCreate: function() {
15313
15316
  var n = this.$options;
15314
15317
  if (n.i18n = n.i18n || (n.__i18nBridge || n.__i18n ? {} : null), n.i18n) {
15315
- if (n.i18n instanceof N) {
15318
+ if (n.i18n instanceof k) {
15316
15319
  if (n.__i18nBridge || n.__i18n)
15317
15320
  try {
15318
15321
  var r = n.i18n && n.i18n.messages ? n.i18n.messages : {}, i = n.__i18nBridge || n.__i18n;
@@ -15325,7 +15328,7 @@ function Nx(s) {
15325
15328
  }
15326
15329
  this._i18n = n.i18n, this._i18nWatcher = this._i18n.watchI18nData();
15327
15330
  } else if (ht(n.i18n)) {
15328
- var a = this.$root && this.$root.$i18n && this.$root.$i18n instanceof N ? this.$root.$i18n : null;
15331
+ var a = this.$root && this.$root.$i18n && this.$root.$i18n instanceof k ? this.$root.$i18n : null;
15329
15332
  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
15333
  try {
15331
15334
  var o = n.i18n && n.i18n.messages ? n.i18n.messages : {}, l = n.__i18nBridge || n.__i18n;
@@ -15335,14 +15338,14 @@ function Nx(s) {
15335
15338
  } catch {
15336
15339
  }
15337
15340
  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);
15341
+ 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
15342
  }
15340
15343
  } 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);
15344
+ 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
15345
  },
15343
15346
  beforeMount: function() {
15344
15347
  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);
15348
+ 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
15349
  },
15347
15350
  mounted: e,
15348
15351
  beforeDestroy: function() {
@@ -15703,7 +15706,7 @@ var Kx = /<\/?[\w\s="/.':;#-\/]+>/, eL = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\(
15703
15706
  capitalize: function(s) {
15704
15707
  return "" + s.charAt(0).toLocaleUpperCase() + s.substr(1);
15705
15708
  }
15706
- }, Hi = new zu(), N = function(e) {
15709
+ }, Hi = new zu(), k = function(e) {
15707
15710
  var t = this;
15708
15711
  e === void 0 && (e = {}), !Le && typeof window < "u" && window.Vue && $a(window.Vue);
15709
15712
  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 +15731,8 @@ var Kx = /<\/?[\w\s="/.':;#-\/]+>/, eL = /(?:@(?:\.[a-zA-Z]+)?:(?:[\w\-_|./]+|\(
15728
15731
  dateTimeFormats: a,
15729
15732
  numberFormats: o
15730
15733
  });
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) {
15734
+ }, 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 } };
15735
+ k.prototype._checkLocaleMessage = function(e, t, n) {
15733
15736
  var r = [], i = function(a, o, l, c) {
15734
15737
  if (ht(l))
15735
15738
  Object.keys(l).forEach(function(h) {
@@ -15750,20 +15753,20 @@ N.prototype._checkLocaleMessage = function(e, t, n) {
15750
15753
  };
15751
15754
  i(t, e, n, r);
15752
15755
  };
15753
- N.prototype._initVM = function(e) {
15756
+ k.prototype._initVM = function(e) {
15754
15757
  var t = Le.config.silent;
15755
15758
  Le.config.silent = !0, this._vm = new Le({ data: e, __VUE18N__INSTANCE__: !0 }), Le.config.silent = t;
15756
15759
  };
15757
- N.prototype.destroyVM = function() {
15760
+ k.prototype.destroyVM = function() {
15758
15761
  this._vm.$destroy();
15759
15762
  };
15760
- N.prototype.subscribeDataChanging = function(e) {
15763
+ k.prototype.subscribeDataChanging = function(e) {
15761
15764
  this._dataListeners.add(e);
15762
15765
  };
15763
- N.prototype.unsubscribeDataChanging = function(e) {
15766
+ k.prototype.unsubscribeDataChanging = function(e) {
15764
15767
  Lx(this._dataListeners, e);
15765
15768
  };
15766
- N.prototype.watchI18nData = function() {
15769
+ k.prototype.watchI18nData = function() {
15767
15770
  var e = this;
15768
15771
  return this._vm.$watch("$data", function() {
15769
15772
  for (var t = Ix(e._dataListeners), n = t.length; n--; )
@@ -15772,7 +15775,7 @@ N.prototype.watchI18nData = function() {
15772
15775
  });
15773
15776
  }, { deep: !0 });
15774
15777
  };
15775
- N.prototype.watchLocale = function(e) {
15778
+ k.prototype.watchLocale = function(e) {
15776
15779
  if (e) {
15777
15780
  if (!this.__VUE_I18N_BRIDGE__)
15778
15781
  return null;
@@ -15789,76 +15792,76 @@ N.prototype.watchLocale = function(e) {
15789
15792
  }, { immediate: !0 });
15790
15793
  }
15791
15794
  };
15792
- N.prototype.onComponentInstanceCreated = function(e) {
15795
+ k.prototype.onComponentInstanceCreated = function(e) {
15793
15796
  this._componentInstanceCreatedListener && this._componentInstanceCreatedListener(e, this);
15794
15797
  };
15795
- re.vm.get = function() {
15798
+ se.vm.get = function() {
15796
15799
  return this._vm;
15797
15800
  };
15798
- re.messages.get = function() {
15801
+ se.messages.get = function() {
15799
15802
  return Gn(this._getMessages());
15800
15803
  };
15801
- re.dateTimeFormats.get = function() {
15804
+ se.dateTimeFormats.get = function() {
15802
15805
  return Gn(this._getDateTimeFormats());
15803
15806
  };
15804
- re.numberFormats.get = function() {
15807
+ se.numberFormats.get = function() {
15805
15808
  return Gn(this._getNumberFormats());
15806
15809
  };
15807
- re.availableLocales.get = function() {
15810
+ se.availableLocales.get = function() {
15808
15811
  return Object.keys(this.messages).sort();
15809
15812
  };
15810
- re.locale.get = function() {
15813
+ se.locale.get = function() {
15811
15814
  return this._vm.locale;
15812
15815
  };
15813
- re.locale.set = function(s) {
15816
+ se.locale.set = function(s) {
15814
15817
  this._vm.$set(this._vm, "locale", s);
15815
15818
  };
15816
- re.fallbackLocale.get = function() {
15819
+ se.fallbackLocale.get = function() {
15817
15820
  return this._vm.fallbackLocale;
15818
15821
  };
15819
- re.fallbackLocale.set = function(s) {
15822
+ se.fallbackLocale.set = function(s) {
15820
15823
  this._localeChainCache = {}, this._vm.$set(this._vm, "fallbackLocale", s);
15821
15824
  };
15822
- re.formatFallbackMessages.get = function() {
15825
+ se.formatFallbackMessages.get = function() {
15823
15826
  return this._formatFallbackMessages;
15824
15827
  };
15825
- re.formatFallbackMessages.set = function(s) {
15828
+ se.formatFallbackMessages.set = function(s) {
15826
15829
  this._formatFallbackMessages = s;
15827
15830
  };
15828
- re.missing.get = function() {
15831
+ se.missing.get = function() {
15829
15832
  return this._missing;
15830
15833
  };
15831
- re.missing.set = function(s) {
15834
+ se.missing.set = function(s) {
15832
15835
  this._missing = s;
15833
15836
  };
15834
- re.formatter.get = function() {
15837
+ se.formatter.get = function() {
15835
15838
  return this._formatter;
15836
15839
  };
15837
- re.formatter.set = function(s) {
15840
+ se.formatter.set = function(s) {
15838
15841
  this._formatter = s;
15839
15842
  };
15840
- re.silentTranslationWarn.get = function() {
15843
+ se.silentTranslationWarn.get = function() {
15841
15844
  return this._silentTranslationWarn;
15842
15845
  };
15843
- re.silentTranslationWarn.set = function(s) {
15846
+ se.silentTranslationWarn.set = function(s) {
15844
15847
  this._silentTranslationWarn = s;
15845
15848
  };
15846
- re.silentFallbackWarn.get = function() {
15849
+ se.silentFallbackWarn.get = function() {
15847
15850
  return this._silentFallbackWarn;
15848
15851
  };
15849
- re.silentFallbackWarn.set = function(s) {
15852
+ se.silentFallbackWarn.set = function(s) {
15850
15853
  this._silentFallbackWarn = s;
15851
15854
  };
15852
- re.preserveDirectiveContent.get = function() {
15855
+ se.preserveDirectiveContent.get = function() {
15853
15856
  return this._preserveDirectiveContent;
15854
15857
  };
15855
- re.preserveDirectiveContent.set = function(s) {
15858
+ se.preserveDirectiveContent.set = function(s) {
15856
15859
  this._preserveDirectiveContent = s;
15857
15860
  };
15858
- re.warnHtmlInMessage.get = function() {
15861
+ se.warnHtmlInMessage.get = function() {
15859
15862
  return this._warnHtmlInMessage;
15860
15863
  };
15861
- re.warnHtmlInMessage.set = function(s) {
15864
+ se.warnHtmlInMessage.set = function(s) {
15862
15865
  var e = this, t = this._warnHtmlInMessage;
15863
15866
  if (this._warnHtmlInMessage = s, t !== s && (s === "warn" || s === "error")) {
15864
15867
  var n = this._getMessages();
@@ -15867,28 +15870,28 @@ re.warnHtmlInMessage.set = function(s) {
15867
15870
  });
15868
15871
  }
15869
15872
  };
15870
- re.postTranslation.get = function() {
15873
+ se.postTranslation.get = function() {
15871
15874
  return this._postTranslation;
15872
15875
  };
15873
- re.postTranslation.set = function(s) {
15876
+ se.postTranslation.set = function(s) {
15874
15877
  this._postTranslation = s;
15875
15878
  };
15876
- re.sync.get = function() {
15879
+ se.sync.get = function() {
15877
15880
  return this._sync;
15878
15881
  };
15879
- re.sync.set = function(s) {
15882
+ se.sync.set = function(s) {
15880
15883
  this._sync = s;
15881
15884
  };
15882
- N.prototype._getMessages = function() {
15885
+ k.prototype._getMessages = function() {
15883
15886
  return this._vm.messages;
15884
15887
  };
15885
- N.prototype._getDateTimeFormats = function() {
15888
+ k.prototype._getDateTimeFormats = function() {
15886
15889
  return this._vm.dateTimeFormats;
15887
15890
  };
15888
- N.prototype._getNumberFormats = function() {
15891
+ k.prototype._getNumberFormats = function() {
15889
15892
  return this._vm.numberFormats;
15890
15893
  };
15891
- N.prototype._warnDefault = function(e, t, n, r, i, a) {
15894
+ k.prototype._warnDefault = function(e, t, n, r, i, a) {
15892
15895
  if (!$e(n))
15893
15896
  return n;
15894
15897
  if (this._missing) {
@@ -15902,19 +15905,19 @@ N.prototype._warnDefault = function(e, t, n, r, i, a) {
15902
15905
  } else
15903
15906
  return t;
15904
15907
  };
15905
- N.prototype._isFallbackRoot = function(e) {
15908
+ k.prototype._isFallbackRoot = function(e) {
15906
15909
  return (this._fallbackRootWithEmptyString ? !e : $e(e)) && !$e(this._root) && this._fallbackRoot;
15907
15910
  };
15908
- N.prototype._isSilentFallbackWarn = function(e) {
15911
+ k.prototype._isSilentFallbackWarn = function(e) {
15909
15912
  return this._silentFallbackWarn instanceof RegExp ? this._silentFallbackWarn.test(e) : this._silentFallbackWarn;
15910
15913
  };
15911
- N.prototype._isSilentFallback = function(e, t) {
15914
+ k.prototype._isSilentFallback = function(e, t) {
15912
15915
  return this._isSilentFallbackWarn(t) && (this._isFallbackRoot() || e !== this.fallbackLocale);
15913
15916
  };
15914
- N.prototype._isSilentTranslationWarn = function(e) {
15917
+ k.prototype._isSilentTranslationWarn = function(e) {
15915
15918
  return this._silentTranslationWarn instanceof RegExp ? this._silentTranslationWarn.test(e) : this._silentTranslationWarn;
15916
15919
  };
15917
- N.prototype._interpolate = function(e, t, n, r, i, a, o) {
15920
+ k.prototype._interpolate = function(e, t, n, r, i, a, o) {
15918
15921
  if (!t)
15919
15922
  return null;
15920
15923
  var l = this._path.getPathValue(t, n);
@@ -15933,7 +15936,7 @@ N.prototype._interpolate = function(e, t, n, r, i, a, o) {
15933
15936
  return null;
15934
15937
  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
15938
  };
15936
- N.prototype._link = function(e, t, n, r, i, a, o) {
15939
+ k.prototype._link = function(e, t, n, r, i, a, o) {
15937
15940
  var l = n, c = l.match(eL);
15938
15941
  for (var u in c)
15939
15942
  if (c.hasOwnProperty(u)) {
@@ -15953,11 +15956,11 @@ N.prototype._link = function(e, t, n, r, i, a, o) {
15953
15956
  if (this._isFallbackRoot(g)) {
15954
15957
  if (!this._root)
15955
15958
  throw Error("unexpected error");
15956
- var k = this._root.$i18n;
15957
- g = k._translate(
15958
- k._getMessages(),
15959
- k.locale,
15960
- k.fallbackLocale,
15959
+ var E = this._root.$i18n;
15960
+ g = E._translate(
15961
+ E._getMessages(),
15962
+ E.locale,
15963
+ E.fallbackLocale,
15961
15964
  _,
15962
15965
  r,
15963
15966
  i,
@@ -15975,7 +15978,7 @@ N.prototype._link = function(e, t, n, r, i, a, o) {
15975
15978
  }
15976
15979
  return l;
15977
15980
  };
15978
- N.prototype._createMessageContext = function(e, t, n, r) {
15981
+ k.prototype._createMessageContext = function(e, t, n, r) {
15979
15982
  var i = this, a = ft(e) ? e : [], o = We(e) ? e : {}, l = function(h) {
15980
15983
  return a[h];
15981
15984
  }, c = function(h) {
@@ -15994,7 +15997,7 @@ N.prototype._createMessageContext = function(e, t, n, r) {
15994
15997
  }
15995
15998
  };
15996
15999
  };
15997
- N.prototype._render = function(e, t, n, r) {
16000
+ k.prototype._render = function(e, t, n, r) {
15998
16001
  if (Gi(e))
15999
16002
  return e(
16000
16003
  this._createMessageContext(n, this._formatter || Hi, r, t)
@@ -16002,11 +16005,11 @@ N.prototype._render = function(e, t, n, r) {
16002
16005
  var i = this._formatter.interpolate(e, n, r);
16003
16006
  return i || (i = Hi.interpolate(e, n, r)), t === "string" && !ye(i) ? i.join("") : i;
16004
16007
  };
16005
- N.prototype._appendItemToChain = function(e, t, n) {
16008
+ k.prototype._appendItemToChain = function(e, t, n) {
16006
16009
  var r = !1;
16007
16010
  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
16011
  };
16009
- N.prototype._appendLocaleToChain = function(e, t, n) {
16012
+ k.prototype._appendLocaleToChain = function(e, t, n) {
16010
16013
  var r, i = t.split("-");
16011
16014
  do {
16012
16015
  var a = i.join("-");
@@ -16014,14 +16017,14 @@ N.prototype._appendLocaleToChain = function(e, t, n) {
16014
16017
  } while (i.length && r === !0);
16015
16018
  return r;
16016
16019
  };
16017
- N.prototype._appendBlockToChain = function(e, t, n) {
16020
+ k.prototype._appendBlockToChain = function(e, t, n) {
16018
16021
  for (var r = !0, i = 0; i < t.length && Ax(r); i++) {
16019
16022
  var a = t[i];
16020
16023
  ye(a) && (r = this._appendLocaleToChain(e, a, n));
16021
16024
  }
16022
16025
  return r;
16023
16026
  };
16024
- N.prototype._getLocaleChain = function(e, t) {
16027
+ k.prototype._getLocaleChain = function(e, t) {
16025
16028
  if (e === "")
16026
16029
  return [];
16027
16030
  this._localeChainCache || (this._localeChainCache = {});
@@ -16043,7 +16046,7 @@ N.prototype._getLocaleChain = function(e, t) {
16043
16046
  }
16044
16047
  return n;
16045
16048
  };
16046
- N.prototype._translate = function(e, t, n, r, i, a, o) {
16049
+ k.prototype._translate = function(e, t, n, r, i, a, o) {
16047
16050
  for (var l = this._getLocaleChain(t, n), c, u = 0; u < l.length; u++) {
16048
16051
  var d = l[u];
16049
16052
  if (c = this._interpolate(d, e[d], r, i, a, o, [r]), !$e(c))
@@ -16051,7 +16054,7 @@ N.prototype._translate = function(e, t, n, r, i, a, o) {
16051
16054
  }
16052
16055
  return null;
16053
16056
  };
16054
- N.prototype._t = function(e, t, n, r) {
16057
+ k.prototype._t = function(e, t, n, r) {
16055
16058
  for (var i, a = [], o = arguments.length - 4; o-- > 0; )
16056
16059
  a[o] = arguments[o + 4];
16057
16060
  if (!e)
@@ -16074,12 +16077,12 @@ N.prototype._t = function(e, t, n, r) {
16074
16077
  } else
16075
16078
  return u = this._warnDefault(c, e, u, r, a, "string"), this._postTranslation && u !== null && u !== void 0 && (u = this._postTranslation(u, e)), u;
16076
16079
  };
16077
- N.prototype.t = function(e) {
16080
+ k.prototype.t = function(e) {
16078
16081
  for (var t, n = [], r = arguments.length - 1; r-- > 0; )
16079
16082
  n[r] = arguments[r + 1];
16080
16083
  return (t = this)._t.apply(t, [e, this.locale, this._getMessages(), null].concat(n));
16081
16084
  };
16082
- N.prototype._i = function(e, t, n, r, i) {
16085
+ k.prototype._i = function(e, t, n, r, i) {
16083
16086
  var a = this._translate(n, t, this.fallbackLocale, e, r, "raw", i);
16084
16087
  if (this._isFallbackRoot(a)) {
16085
16088
  if (!this._root)
@@ -16088,10 +16091,10 @@ N.prototype._i = function(e, t, n, r, i) {
16088
16091
  } else
16089
16092
  return this._warnDefault(t, e, a, r, [i], "raw");
16090
16093
  };
16091
- N.prototype.i = function(e, t, n) {
16094
+ k.prototype.i = function(e, t, n) {
16092
16095
  return e ? (ye(t) || (t = this.locale), this._i(e, t, this._getMessages(), null, n)) : "";
16093
16096
  };
16094
- N.prototype._tc = function(e, t, n, r, i) {
16097
+ k.prototype._tc = function(e, t, n, r, i) {
16095
16098
  for (var a, o = [], l = arguments.length - 5; l-- > 0; )
16096
16099
  o[l] = arguments[l + 5];
16097
16100
  if (!e)
@@ -16100,54 +16103,54 @@ N.prototype._tc = function(e, t, n, r, i) {
16100
16103
  var c = { count: i, n: i }, u = Dr.apply(void 0, o);
16101
16104
  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
16105
  };
16103
- N.prototype.fetchChoice = function(e, t) {
16106
+ k.prototype.fetchChoice = function(e, t) {
16104
16107
  if (!e || !ye(e))
16105
16108
  return null;
16106
16109
  var n = e.split("|");
16107
16110
  return t = this.getChoiceIndex(t, n.length), n[t] ? n[t].trim() : e;
16108
16111
  };
16109
- N.prototype.tc = function(e, t) {
16112
+ k.prototype.tc = function(e, t) {
16110
16113
  for (var n, r = [], i = arguments.length - 2; i-- > 0; )
16111
16114
  r[i] = arguments[i + 2];
16112
16115
  return (n = this)._tc.apply(n, [e, this.locale, this._getMessages(), null, t].concat(r));
16113
16116
  };
16114
- N.prototype._te = function(e, t, n) {
16117
+ k.prototype._te = function(e, t, n) {
16115
16118
  for (var r = [], i = arguments.length - 3; i-- > 0; )
16116
16119
  r[i] = arguments[i + 3];
16117
16120
  var a = Dr.apply(void 0, r).locale || t;
16118
16121
  return this._exist(n[a], e);
16119
16122
  };
16120
- N.prototype.te = function(e, t) {
16123
+ k.prototype.te = function(e, t) {
16121
16124
  return this._te(e, this.locale, this._getMessages(), t);
16122
16125
  };
16123
- N.prototype.getLocaleMessage = function(e) {
16126
+ k.prototype.getLocaleMessage = function(e) {
16124
16127
  return Gn(this._vm.messages[e] || {});
16125
16128
  };
16126
- N.prototype.setLocaleMessage = function(e, t) {
16129
+ k.prototype.setLocaleMessage = function(e, t) {
16127
16130
  (this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, t);
16128
16131
  };
16129
- N.prototype.mergeLocaleMessage = function(e, t) {
16132
+ k.prototype.mergeLocaleMessage = function(e, t) {
16130
16133
  (this._warnHtmlInMessage === "warn" || this._warnHtmlInMessage === "error") && this._checkLocaleMessage(e, this._warnHtmlInMessage, t), this._vm.$set(this._vm.messages, e, rn(
16131
16134
  typeof this._vm.messages[e] < "u" && Object.keys(this._vm.messages[e]).length ? Object.assign({}, this._vm.messages[e]) : {},
16132
16135
  t
16133
16136
  ));
16134
16137
  };
16135
- N.prototype.getDateTimeFormat = function(e) {
16138
+ k.prototype.getDateTimeFormat = function(e) {
16136
16139
  return Gn(this._vm.dateTimeFormats[e] || {});
16137
16140
  };
16138
- N.prototype.setDateTimeFormat = function(e, t) {
16141
+ k.prototype.setDateTimeFormat = function(e, t) {
16139
16142
  this._vm.$set(this._vm.dateTimeFormats, e, t), this._clearDateTimeFormat(e, t);
16140
16143
  };
16141
- N.prototype.mergeDateTimeFormat = function(e, t) {
16144
+ k.prototype.mergeDateTimeFormat = function(e, t) {
16142
16145
  this._vm.$set(this._vm.dateTimeFormats, e, rn(this._vm.dateTimeFormats[e] || {}, t)), this._clearDateTimeFormat(e, t);
16143
16146
  };
16144
- N.prototype._clearDateTimeFormat = function(e, t) {
16147
+ k.prototype._clearDateTimeFormat = function(e, t) {
16145
16148
  for (var n in t) {
16146
16149
  var r = e + "__" + n;
16147
16150
  this._dateTimeFormatters.hasOwnProperty(r) && delete this._dateTimeFormatters[r];
16148
16151
  }
16149
16152
  };
16150
- N.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16153
+ k.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16151
16154
  for (var o = t, l = r[o], c = this._getLocaleChain(t, n), u = 0; u < c.length; u++) {
16152
16155
  var d = o, h = c[u];
16153
16156
  if (l = r[h], o = h, !($e(l) || $e(l[i])))
@@ -16164,7 +16167,7 @@ N.prototype._localizeDateTime = function(e, t, n, r, i, a) {
16164
16167
  }
16165
16168
  return p.format(e);
16166
16169
  };
16167
- N.prototype._d = function(e, t, n, r) {
16170
+ k.prototype._d = function(e, t, n, r) {
16168
16171
  if (!n) {
16169
16172
  var i = r ? new Intl.DateTimeFormat(t, r) : new Intl.DateTimeFormat(t);
16170
16173
  return i.format(e);
@@ -16177,7 +16180,7 @@ N.prototype._d = function(e, t, n, r) {
16177
16180
  } else
16178
16181
  return a || "";
16179
16182
  };
16180
- N.prototype.d = function(e) {
16183
+ k.prototype.d = function(e) {
16181
16184
  for (var t = [], n = arguments.length - 1; n-- > 0; )
16182
16185
  t[n] = arguments[n + 1];
16183
16186
  var r = this.locale, i = null, a = null;
@@ -16186,22 +16189,22 @@ N.prototype.d = function(e) {
16186
16189
  return Ts(wx, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
16187
16190
  }, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._d(e, r, i, a);
16188
16191
  };
16189
- N.prototype.getNumberFormat = function(e) {
16192
+ k.prototype.getNumberFormat = function(e) {
16190
16193
  return Gn(this._vm.numberFormats[e] || {});
16191
16194
  };
16192
- N.prototype.setNumberFormat = function(e, t) {
16195
+ k.prototype.setNumberFormat = function(e, t) {
16193
16196
  this._vm.$set(this._vm.numberFormats, e, t), this._clearNumberFormat(e, t);
16194
16197
  };
16195
- N.prototype.mergeNumberFormat = function(e, t) {
16198
+ k.prototype.mergeNumberFormat = function(e, t) {
16196
16199
  this._vm.$set(this._vm.numberFormats, e, rn(this._vm.numberFormats[e] || {}, t)), this._clearNumberFormat(e, t);
16197
16200
  };
16198
- N.prototype._clearNumberFormat = function(e, t) {
16201
+ k.prototype._clearNumberFormat = function(e, t) {
16199
16202
  for (var n in t) {
16200
16203
  var r = e + "__" + n;
16201
16204
  this._numberFormatters.hasOwnProperty(r) && delete this._numberFormatters[r];
16202
16205
  }
16203
16206
  };
16204
- N.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16207
+ k.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16205
16208
  for (var o = t, l = r[o], c = this._getLocaleChain(t, n), u = 0; u < c.length; u++) {
16206
16209
  var d = o, h = c[u];
16207
16210
  if (l = r[h], o = h, !($e(l) || $e(l[i])))
@@ -16218,8 +16221,8 @@ N.prototype._getNumberFormatter = function(e, t, n, r, i, a) {
16218
16221
  }
16219
16222
  return p;
16220
16223
  };
16221
- N.prototype._n = function(e, t, n, r) {
16222
- if (!N.availabilities.numberFormat)
16224
+ k.prototype._n = function(e, t, n, r) {
16225
+ if (!k.availabilities.numberFormat)
16223
16226
  return "";
16224
16227
  if (!n) {
16225
16228
  var i = r ? new Intl.NumberFormat(t, r) : new Intl.NumberFormat(t);
@@ -16233,7 +16236,7 @@ N.prototype._n = function(e, t, n, r) {
16233
16236
  } else
16234
16237
  return o || "";
16235
16238
  };
16236
- N.prototype.n = function(e) {
16239
+ k.prototype.n = function(e) {
16237
16240
  for (var t = [], n = arguments.length - 1; n-- > 0; )
16238
16241
  t[n] = arguments[n + 1];
16239
16242
  var r = this.locale, i = null, a = null;
@@ -16242,8 +16245,8 @@ N.prototype.n = function(e) {
16242
16245
  return Ts(Ou, l) ? Object.assign({}, o, (c = {}, c[l] = t[0][l], c)) : o;
16243
16246
  }, null)) : t.length === 2 && (ye(t[0]) && (i = t[0]), ye(t[1]) && (r = t[1])), this._n(e, r, i, a);
16244
16247
  };
16245
- N.prototype._ntp = function(e, t, n, r) {
16246
- if (!N.availabilities.numberFormat)
16248
+ k.prototype._ntp = function(e, t, n, r) {
16249
+ if (!k.availabilities.numberFormat)
16247
16250
  return [];
16248
16251
  if (!n) {
16249
16252
  var i = r ? new Intl.NumberFormat(t, r) : new Intl.NumberFormat(t);
@@ -16257,9 +16260,9 @@ N.prototype._ntp = function(e, t, n, r) {
16257
16260
  } else
16258
16261
  return o || [];
16259
16262
  };
16260
- Object.defineProperties(N.prototype, re);
16263
+ Object.defineProperties(k.prototype, se);
16261
16264
  var vi;
16262
- Object.defineProperty(N, "availabilities", {
16265
+ Object.defineProperty(k, "availabilities", {
16263
16266
  get: function() {
16264
16267
  if (!vi) {
16265
16268
  var e = typeof Intl < "u";
@@ -16271,9 +16274,9 @@ Object.defineProperty(N, "availabilities", {
16271
16274
  return vi;
16272
16275
  }
16273
16276
  });
16274
- N.install = $a;
16275
- N.version = "8.28.2";
16276
- const Zu = N;
16277
+ k.install = $a;
16278
+ k.version = "8.28.2";
16279
+ const Zu = k;
16277
16280
  Vn.use(Zu);
16278
16281
  function sL() {
16279
16282
  return new Zu({
@@ -17079,7 +17082,7 @@ function vL(s, e) {
17079
17082
  ), t;
17080
17083
  }
17081
17084
  function gL(s) {
17082
- if (L(s, URL), s.searchParams.has("state"))
17085
+ if (x(s, URL), s.searchParams.has("state"))
17083
17086
  try {
17084
17087
  return _L(JSON.parse(s.searchParams.get("state")));
17085
17088
  } catch {
@@ -17090,14 +17093,14 @@ function gL(s) {
17090
17093
  return Ra();
17091
17094
  }
17092
17095
  function JE(s, e) {
17093
- L(s, {
17096
+ x(s, {
17094
17097
  activeMap: [String, void 0],
17095
17098
  activeViewpoint: [Object, void 0],
17096
17099
  activeObliqueCollection: [String, void 0],
17097
17100
  layers: Array,
17098
17101
  plugins: Array,
17099
17102
  moduleIds: [String]
17100
- }), L(e, URL);
17103
+ }), x(e, URL);
17101
17104
  const t = uL - e.toString().length;
17102
17105
  e.searchParams.set(
17103
17106
  "state",
@@ -17184,7 +17187,7 @@ class wL extends Rt {
17184
17187
  * @param {number=} index
17185
17188
  */
17186
17189
  add(e, t, n) {
17187
- L(t, [String, Q]), L(e.search, Function), e.name !== t && De("Search").warning(
17190
+ x(t, [String, Q]), x(e.search, Function), e.name !== t && De("Search").warning(
17188
17191
  "SearchImplementations must be named as the plugin they are owned by."
17189
17192
  ), e[jl] = t, super.add(e, n);
17190
17193
  }
@@ -17566,7 +17569,7 @@ const xn = {
17566
17569
  i18n: [void 0, [Object]]
17567
17570
  };
17568
17571
  async function Wu(s) {
17569
- L(s, String);
17572
+ x(s, String);
17570
17573
  const e = new ja();
17571
17574
  return new Vn({
17572
17575
  vuetify: ar,
@@ -17579,7 +17582,7 @@ async function Wu(s) {
17579
17582
  }).$mount(s), e;
17580
17583
  }
17581
17584
  async function qE(s, e) {
17582
- L(s, String), ve(e, String);
17585
+ x(s, String), pe(e, String);
17583
17586
  const t = await Wu(s);
17584
17587
  if (e) {
17585
17588
  const n = await fetch(e).then((i) => i.json()), r = new bi(n);
@@ -17588,9 +17591,9 @@ async function qE(s, e) {
17588
17591
  return t;
17589
17592
  }
17590
17593
  async function XE(s, e) {
17591
- L(s, String), L(e, String);
17594
+ x(s, String), x(e, String);
17592
17595
  const t = await Wu(s), n = await fetch(e).then((i) => i.json());
17593
- L(n.modules, [String, Object]);
17596
+ x(n.modules, [String, Object]);
17594
17597
  const r = await Promise.all(
17595
17598
  n.modules.map(async (i) => {
17596
17599
  if (xi(i, bL))
@@ -17689,7 +17692,7 @@ const jr = SL.exports;
17689
17692
  const TL = {
17690
17693
  name: "VcsRadioGrid",
17691
17694
  components: {
17692
- VContainer: pe,
17695
+ VContainer: me,
17693
17696
  VRow: Re,
17694
17697
  VCol: Ye,
17695
17698
  VRadioGroup: lc,
@@ -17896,10 +17899,10 @@ const GL = {
17896
17899
  function g(A) {
17897
17900
  A.stopPropagation(), A.preventDefault(), i.value && (h(s.value.toSpliced(n.value, 1, a.value)), n.value = -1);
17898
17901
  }
17899
- function k() {
17902
+ function E() {
17900
17903
  l.value = void 0, r.value = !1;
17901
17904
  }
17902
- async function P(A, V) {
17905
+ async function z(A, V) {
17903
17906
  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
17907
  }
17905
17908
  return {
@@ -17915,8 +17918,8 @@ const GL = {
17915
17918
  remove: p,
17916
17919
  select: _,
17917
17920
  submitChange: g,
17918
- add: P,
17919
- cancel: k
17921
+ add: z,
17922
+ cancel: E
17920
17923
  };
17921
17924
  }
17922
17925
  };
@@ -18539,7 +18542,7 @@ const Fa = CI.exports, EI = {
18539
18542
  components: {
18540
18543
  VSheet: ue,
18541
18544
  VColorPicker: mc,
18542
- VContainer: pe,
18545
+ VContainer: me,
18543
18546
  VRow: Re,
18544
18547
  VCol: Ye,
18545
18548
  VcsLabel: rt,
@@ -19168,7 +19171,7 @@ const Ws = [
19168
19171
  components: {
19169
19172
  VSheet: ue,
19170
19173
  VDivider: _t,
19171
- VContainer: pe,
19174
+ VContainer: me,
19172
19175
  VRow: Re,
19173
19176
  VCol: Ye,
19174
19177
  VIcon: le,
@@ -19267,14 +19270,14 @@ const Ws = [
19267
19270
  if (t.value === i.value)
19268
19271
  if (t.value === Be.SHAPE) {
19269
19272
  const g = Ws.find(
19270
- (k) => OI(s.value, k.value)
19273
+ (E) => OI(s.value, E.value)
19271
19274
  );
19272
19275
  return g ? g.src : a;
19273
19276
  } else
19274
19277
  return t.value === Be.ICON ? (_ = s.value) == null ? void 0 : _.src : void 0;
19275
19278
  },
19276
19279
  set(_) {
19277
- var k, P;
19280
+ var E, z;
19278
19281
  let g = {};
19279
19282
  if (i.value === Be.SHAPE) {
19280
19283
  const A = t.value === Be.ICON;
@@ -19283,7 +19286,7 @@ const Ws = [
19283
19286
  return;
19284
19287
  if (_ === a ? V = Ws[0] : V = Ws.find((H) => H.src === _), V) {
19285
19288
  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, {
19289
+ 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
19290
  fill: H,
19288
19291
  stroke: b
19289
19292
  });
@@ -19443,7 +19446,7 @@ const YI = WI.exports, QI = {
19443
19446
  name: "VcsTextSelector",
19444
19447
  components: {
19445
19448
  VSheet: ue,
19446
- VContainer: pe,
19449
+ VContainer: me,
19447
19450
  VRow: Re,
19448
19451
  VCol: Ye,
19449
19452
  VcsSelect: $r,
@@ -19488,7 +19491,7 @@ const YI = WI.exports, QI = {
19488
19491
  e(
19489
19492
  "input",
19490
19493
  Object.assign(_, {
19491
- font: g.filter((k) => k && k !== "normal").join(" ")
19494
+ font: g.filter((E) => E && E !== "normal").join(" ")
19492
19495
  })
19493
19496
  );
19494
19497
  }
@@ -19677,7 +19680,7 @@ const lC = {
19677
19680
  name: "VcsExtent",
19678
19681
  components: {
19679
19682
  VcsCoordinate: Qu,
19680
- VContainer: pe,
19683
+ VContainer: me,
19681
19684
  VRow: Re,
19682
19685
  VCol: Ye,
19683
19686
  VcsLabel: rt,
@@ -19914,7 +19917,7 @@ const Ju = [
19914
19917
  VcsTextField: je,
19915
19918
  VcsCheckbox: jr,
19916
19919
  VcsChipArrayInput: WL,
19917
- VContainer: pe,
19920
+ VContainer: me,
19918
19921
  VRow: Re,
19919
19922
  VCol: Ye,
19920
19923
  VDivider: _t
@@ -19960,7 +19963,7 @@ const Ju = [
19960
19963
  "altitudeMode",
19961
19964
  e
19962
19965
  ), r = y(() => {
19963
- const $ = [
19966
+ const N = [
19964
19967
  {
19965
19968
  value: "clampToGround",
19966
19969
  text: "components.vectorProperties.clampToGround"
@@ -19970,10 +19973,10 @@ const Ju = [
19970
19973
  text: "components.vectorProperties.absolute"
19971
19974
  }
19972
19975
  ];
19973
- return t.value.has("heightAboveGround") && $.push({
19976
+ return t.value.has("heightAboveGround") && N.push({
19974
19977
  value: "relativeToGround",
19975
19978
  text: "components.vectorProperties.relativeToGround"
19976
- }), $;
19979
+ }), N;
19977
19980
  }), i = de(
19978
19981
  () => s.value,
19979
19982
  "heightAboveGround",
@@ -19982,10 +19985,10 @@ const Ju = [
19982
19985
  get() {
19983
19986
  return s.value.allowPicking;
19984
19987
  },
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);
19988
+ set(N) {
19989
+ if (s.value.allowPicking !== N) {
19990
+ const B = structuredClone(s.value), re = { allowPicking: N || !1 };
19991
+ e("input", Object.assign(B, re)), e("propertyChange", re);
19989
19992
  }
19990
19993
  }
19991
19994
  }), o = y({
@@ -19993,12 +19996,12 @@ const Ju = [
19993
19996
  if ("classificationType" in s.value)
19994
19997
  return s.value.classificationType || "none";
19995
19998
  },
19996
- set($) {
19997
- if (s.value.classificationType !== $) {
19998
- const G = structuredClone(s.value), ne = {
19999
- classificationType: $ === "none" ? void 0 : $
19999
+ set(N) {
20000
+ if (s.value.classificationType !== N) {
20001
+ const B = structuredClone(s.value), re = {
20002
+ classificationType: N === "none" ? void 0 : N
20000
20003
  };
20001
- e("input", Object.assign(G, ne)), e("propertyChange", ne);
20004
+ e("input", Object.assign(B, re)), e("propertyChange", re);
20002
20005
  }
20003
20006
  }
20004
20007
  }), l = zl(
@@ -20037,31 +20040,31 @@ const Ju = [
20037
20040
  () => s.value,
20038
20041
  "storeysBelowGround",
20039
20042
  e
20040
- ), k = y(() => ["storeyHeightsAboveGround", "storeyHeightsBelowGround"].filter(($) => t.value.has($)).reduce(($, G) => ({
20041
- ...$,
20042
- [G]: y({
20043
+ ), E = y(() => ["storeyHeightsAboveGround", "storeyHeightsBelowGround"].filter((N) => t.value.has(N)).reduce((N, B) => ({
20044
+ ...N,
20045
+ [B]: y({
20043
20046
  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]] : [];
20047
+ var re, I, M, O;
20048
+ 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
20049
  },
20047
- set(ne) {
20048
- const C = structuredClone(s.value), x = {
20049
- [G]: ne
20050
+ set(re) {
20051
+ const I = structuredClone(s.value), M = {
20052
+ [B]: re
20050
20053
  };
20051
- e("input", Object.assign(C, x)), e("propertyChange", x);
20054
+ e("input", Object.assign(I, M)), e("propertyChange", M);
20052
20055
  }
20053
20056
  })
20054
- }), {})), P = de(
20057
+ }), {})), z = de(
20055
20058
  () => s.value,
20056
20059
  "modelUrl",
20057
20060
  e
20058
20061
  ), A = y(() => Hl.filter(
20059
- ($) => t.value.has(`modelScale${$}`)
20060
- ).reduce(($, G) => ({
20061
- ...$,
20062
- [G]: de(
20062
+ (N) => t.value.has(`modelScale${N}`)
20063
+ ).reduce((N, B) => ({
20064
+ ...N,
20065
+ [B]: de(
20063
20066
  () => s.value,
20064
- `modelScale${G}`,
20067
+ `modelScale${B}`,
20065
20068
  e
20066
20069
  )
20067
20070
  }), {})), V = de(
@@ -20076,10 +20079,10 @@ const Ju = [
20076
20079
  () => s.value,
20077
20080
  "modelRoll",
20078
20081
  e
20079
- ), z = de(() => s.value, "baseUrl", e);
20080
- function M() {
20081
- const $ = structuredClone(s.valueDefault);
20082
- e("input", $), e("propertyChange", $);
20082
+ ), G = de(() => s.value, "baseUrl", e);
20083
+ function D() {
20084
+ const N = structuredClone(s.valueDefault);
20085
+ e("input", N), e("propertyChange", N);
20083
20086
  }
20084
20087
  return {
20085
20088
  headerActions: y(
@@ -20089,7 +20092,7 @@ const Ju = [
20089
20092
  title: "components.style.reset",
20090
20093
  icon: "$vcsReturn",
20091
20094
  callback: () => {
20092
- M();
20095
+ D();
20093
20096
  }
20094
20097
  }
20095
20098
  ] : []
@@ -20111,14 +20114,14 @@ const Ju = [
20111
20114
  skirt: p,
20112
20115
  storeysAboveGround: _,
20113
20116
  storeysBelowGround: g,
20114
- storeyHeights: k,
20115
- modelUrl: P,
20117
+ storeyHeights: E,
20118
+ modelUrl: z,
20116
20119
  modelScale: A,
20117
20120
  modelHeading: V,
20118
20121
  modelPitch: H,
20119
20122
  modelRoll: b,
20120
- baseUrl: z,
20121
- reset: M,
20123
+ baseUrl: G,
20124
+ reset: D,
20122
20125
  dimensionsUpperCase: Hl
20123
20126
  };
20124
20127
  }
@@ -20277,7 +20280,7 @@ const CC = {
20277
20280
  name: "VcsViewpointComponent",
20278
20281
  components: {
20279
20282
  VSheet: ue,
20280
- VContainer: pe,
20283
+ VContainer: me,
20281
20284
  VRow: Re,
20282
20285
  VCol: Ye,
20283
20286
  VcsFormSection: Zn,
@@ -20380,7 +20383,7 @@ const CC = {
20380
20383
  ), g = ie(n, () => {
20381
20384
  var V, H;
20382
20385
  n.value && !c.value && (c.value = (H = (V = t.maps.activeMap) == null ? void 0 : V.getViewpointSync()) == null ? void 0 : H.cameraPosition);
20383
- }), k = ie(
20386
+ }), E = ie(
20384
20387
  () => p.active,
20385
20388
  () => {
20386
20389
  f.disabled = p.active;
@@ -20390,17 +20393,17 @@ const CC = {
20390
20393
  var V;
20391
20394
  (V = t.flights.player) == null || V.stop();
20392
20395
  }), fe(() => {
20393
- _(), g(), k();
20396
+ _(), g(), E();
20394
20397
  });
20395
- async function P() {
20398
+ async function z() {
20396
20399
  await e1(t, s.value);
20397
20400
  }
20398
20401
  async function A(V) {
20399
- V === "groundPosition" ? c.value = void 0 : V === "cameraPosition" && (l.value = (await t.maps.activeMap.getViewpoint()).groundPosition), await P();
20402
+ V === "groundPosition" ? c.value = void 0 : V === "cameraPosition" && (l.value = (await t.maps.activeMap.getViewpoint()).groundPosition), await z();
20400
20403
  }
20401
20404
  return {
20402
20405
  isCesiumMap: n,
20403
- gotoViewpoint: P,
20406
+ gotoViewpoint: z,
20404
20407
  handleInput: A,
20405
20408
  updateFromViewAction: f,
20406
20409
  editAction: p,
@@ -20499,7 +20502,7 @@ const t1 = /* @__PURE__ */ W0(NC);
20499
20502
  const $C = {
20500
20503
  name: "AbstractConfigEditor",
20501
20504
  components: {
20502
- VContainer: pe,
20505
+ VContainer: me,
20503
20506
  VForm: g0,
20504
20507
  VcsFormButton: Cr,
20505
20508
  VcsActionButtonList: st
@@ -20524,6 +20527,21 @@ const $C = {
20524
20527
  autoClose: {
20525
20528
  type: Boolean,
20526
20529
  default: !0
20530
+ },
20531
+ onSubmit: {
20532
+ type: Function,
20533
+ default: () => {
20534
+ }
20535
+ },
20536
+ onReset: {
20537
+ type: Function,
20538
+ default: () => {
20539
+ }
20540
+ },
20541
+ onCancel: {
20542
+ type: Function,
20543
+ default: () => {
20544
+ }
20527
20545
  }
20528
20546
  },
20529
20547
  setup(s, { attrs: e, emit: t }) {
@@ -20533,14 +20551,14 @@ const $C = {
20533
20551
  return {
20534
20552
  isValid: w(!0),
20535
20553
  submit(i) {
20536
- t("submit", i), s.autoClose && r();
20554
+ s.onSubmit(), t("submit", i), s.autoClose && r();
20537
20555
  },
20538
20556
  cancel(i) {
20539
20557
  var a;
20540
- s.setConfigOnCancel && ((a = e.setConfig) == null || a.call(e)), t("cancel", i), s.autoClose && r();
20558
+ s.onCancel(), s.setConfigOnCancel && ((a = e.setConfig) == null || a.call(e)), t("cancel", i), s.autoClose && r();
20541
20559
  },
20542
20560
  reset(i) {
20543
- t("reset", i);
20561
+ s.onReset(), t("reset", i);
20544
20562
  }
20545
20563
  };
20546
20564
  }
@@ -20560,7 +20578,7 @@ var DC = function() {
20560
20578
  RC,
20561
20579
  !1,
20562
20580
  null,
20563
- "f05fa7db",
20581
+ "2118805b",
20564
20582
  null,
20565
20583
  null
20566
20584
  );
@@ -20650,7 +20668,7 @@ const Ot = {
20650
20668
  Backward: "backward"
20651
20669
  };
20652
20670
  function Ul(s, e, t) {
20653
- L(t, Object.values(Ot));
20671
+ x(t, Object.values(Ot));
20654
20672
  let n;
20655
20673
  const r = ce({
20656
20674
  name: `step-${t}`,
@@ -20669,7 +20687,7 @@ function Ul(s, e, t) {
20669
20687
  return { action: r, destroy: i };
20670
20688
  }
20671
20689
  function Wl(s, e, t) {
20672
- L(t, Object.values(Ot));
20690
+ x(t, Object.values(Ot));
20673
20691
  let n;
20674
20692
  const r = t === Ot.Forward ? 1 : -1, i = t === Ot.Forward ? "mdi-fast-forward" : "mdi-rewind", { multiplier: a } = e;
20675
20693
  function o() {
@@ -20834,7 +20852,7 @@ const QC = {
20834
20852
  components: {
20835
20853
  VcsButton: Oe,
20836
20854
  VcsTextField: je,
20837
- VContainer: pe,
20855
+ VContainer: me,
20838
20856
  VSheet: ue,
20839
20857
  VcsFormSection: Zn,
20840
20858
  VcsList: Sa
@@ -20954,7 +20972,7 @@ const eE = {
20954
20972
  components: {
20955
20973
  VcsLabel: rt,
20956
20974
  VcsButton: Oe,
20957
- VContainer: pe,
20975
+ VContainer: me,
20958
20976
  VcsSlider: Oa
20959
20977
  },
20960
20978
  props: {
@@ -21025,7 +21043,7 @@ const iE = {
21025
21043
  VcsFlightPlayer: rE,
21026
21044
  VcsFlightAnchorsComponent: KC,
21027
21045
  VSheet: ue,
21028
- VContainer: pe,
21046
+ VContainer: me,
21029
21047
  VRow: Re,
21030
21048
  VCol: Ye,
21031
21049
  VDivider: _t,
@@ -21402,7 +21420,7 @@ const AE = {
21402
21420
  components: {
21403
21421
  VcsButton: Oe,
21404
21422
  VSheet: ue,
21405
- VContainer: pe,
21423
+ VContainer: me,
21406
21424
  VRow: Re,
21407
21425
  VCol: Ye,
21408
21426
  VIcon: le,
@@ -21585,8 +21603,8 @@ const TE = {
21585
21603
  },
21586
21604
  { immediate: !0 }
21587
21605
  );
21588
- async function u(M) {
21589
- const B = [
21606
+ async function u(D) {
21607
+ const $ = [
21590
21608
  "extrudedHeight",
21591
21609
  "skirt",
21592
21610
  "storeysAboveGround",
@@ -21594,12 +21612,12 @@ const TE = {
21594
21612
  "storeyHeightsAboveGround",
21595
21613
  "storeyHeightsBelowGround"
21596
21614
  ];
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,
21615
+ !!$.filter(
21616
+ (B) => Object.keys(D).includes(B) && !!D[B]
21617
+ ).length && c.value.altitudeMode !== "absolute" ? D.altitudeMode = "absolute" : D.altitudeMode === "clampToGround" && $.filter((B) => !!c.value[B]).forEach((B) => {
21618
+ D[B] = 0;
21619
+ }), D.altitudeMode === "absolute" && (n != null && n.length) && await t.placeCurrentFeaturesOnTerrain(), a.value.vectorProperties.setValuesForFeatures(
21620
+ D,
21603
21621
  n.value
21604
21622
  ), c.value = a.value.vectorProperties.getValuesForFeatures(n.value);
21605
21623
  }
@@ -21611,8 +21629,8 @@ const TE = {
21611
21629
  h();
21612
21630
  const p = y(
21613
21631
  () => {
21614
- var M;
21615
- return ((M = i.value) == null ? void 0 : M.type) === po.EDIT_GEOMETRY;
21632
+ var D;
21633
+ return ((D = i.value) == null ? void 0 : D.type) === po.EDIT_GEOMETRY;
21616
21634
  }
21617
21635
  ), _ = w();
21618
21636
  let g = () => {
@@ -21620,19 +21638,19 @@ const TE = {
21620
21638
  ie(
21621
21639
  i,
21622
21640
  () => {
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;
21641
+ var D;
21642
+ g(), _.value = ((D = i.value) == null ? void 0 : D.mode) || null, _.value && (g = i.value.modeChanged.addEventListener(
21643
+ ($) => {
21644
+ _.value = $;
21627
21645
  }
21628
21646
  ));
21629
21647
  },
21630
21648
  { immediate: !0 }
21631
21649
  );
21632
- function k(M) {
21633
- _.value && _.value === M ? t.stopEditing() : t.startTransformSession(M);
21650
+ function E(D) {
21651
+ _.value && _.value === D ? t.stopEditing() : t.startTransformSession(D);
21634
21652
  }
21635
- function P() {
21653
+ function z() {
21636
21654
  p.value ? t.stopEditing() : t.startEditSession();
21637
21655
  }
21638
21656
  const A = y(() => ({
@@ -21640,52 +21658,52 @@ const TE = {
21640
21658
  nFeatures: n.value.length
21641
21659
  }));
21642
21660
  function V() {
21643
- const B = SE(
21661
+ const $ = SE(
21644
21662
  A.value.types,
21645
21663
  A.value.nFeatures
21646
- ).map(($) => ({
21647
- name: $,
21648
- title: `components.editor.${$}`,
21649
- icon: CE[$],
21650
- active: y(() => _.value === $),
21664
+ ).map((N) => ({
21665
+ name: N,
21666
+ title: `components.editor.${N}`,
21667
+ icon: CE[N],
21668
+ active: y(() => _.value === N),
21651
21669
  callback: () => {
21652
- k($);
21670
+ E(N);
21653
21671
  }
21654
21672
  }));
21655
- return n.value.length === 1 && B.unshift({
21673
+ return n.value.length === 1 && $.unshift({
21656
21674
  name: "editGeometry",
21657
21675
  title: "components.editor.edit",
21658
21676
  icon: "$vcsEditVertices",
21659
21677
  active: p,
21660
21678
  callback: () => {
21661
- P();
21679
+ z();
21662
21680
  }
21663
- }), B;
21681
+ }), $;
21664
21682
  }
21665
21683
  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;
21684
+ const D = Ju.filter(
21685
+ (B) => s.allowedVectorProperties.includes(B)
21686
+ ), $ = A.value.types, N = $.has(Ze.Point);
21687
+ return N || (Xu.forEach((B) => {
21688
+ s.allowedVectorProperties.includes(B) && D.push(B);
21689
+ }), D.push("classificationType")), N && $.size === 1 && qu.forEach((B) => {
21690
+ s.allowedVectorProperties.includes(B) && D.push(B);
21691
+ }), D;
21674
21692
  }
21675
21693
  const b = ie(
21676
21694
  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());
21695
+ (D, $) => {
21696
+ (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
21697
  },
21680
21698
  { immediate: !0 }
21681
- ), z = ie(
21699
+ ), G = ie(
21682
21700
  () => s.allowedVectorProperties,
21683
21701
  () => {
21684
21702
  l.value = H();
21685
21703
  }
21686
21704
  );
21687
21705
  return fe(() => {
21688
- f(), g(), b(), z(), t.stopEditing();
21706
+ f(), g(), b(), G(), t.stopEditing();
21689
21707
  }), {
21690
21708
  featureProperties: c,
21691
21709
  session: r,