@eox/layercontrol 0.25.0 → 0.25.2

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.
@@ -4,13 +4,13 @@ var sn = (e) => {
4
4
  };
5
5
  var Wo = (e, t, i) => t in e ? Yo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i;
6
6
  var I = (e, t, i) => Wo(e, typeof t != "symbol" ? t + "" : t, i), mi = (e, t, i) => t.has(e) || sn("Cannot " + i);
7
- var S = (e, t, i) => (mi(e, t, "read from private field"), i ? i.call(e) : t.get(e)), C = (e, t, i) => t.has(e) ? sn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), kt = (e, t, i, n) => (mi(e, t, "write to private field"), n ? n.call(e, i) : t.set(e, i), i), V = (e, t, i) => (mi(e, t, "access private method"), i);
7
+ var _ = (e, t, i) => (mi(e, t, "read from private field"), i ? i.call(e) : t.get(e)), T = (e, t, i) => t.has(e) ? sn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, i), kt = (e, t, i, n) => (mi(e, t, "write to private field"), n ? n.call(e, i) : t.set(e, i), i), V = (e, t, i) => (mi(e, t, "access private method"), i);
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const De = globalThis, Zi = De.ShadowRoot && (De.ShadyCSS === void 0 || De.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = Symbol(), an = /* @__PURE__ */ new WeakMap();
13
+ const Pe = globalThis, Zi = Pe.ShadowRoot && (Pe.ShadyCSS === void 0 || Pe.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = Symbol(), an = /* @__PURE__ */ new WeakMap();
14
14
  let Nn = class {
15
15
  constructor(t, i, n) {
16
16
  if (this._$cssResult$ = !0, n !== zi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -39,7 +39,7 @@ const Go = (e) => new Nn(typeof e == "string" ? e : e + "", void 0, zi), Hn = (e
39
39
  }, Jo = (e, t) => {
40
40
  if (Zi) e.adoptedStyleSheets = t.map((i) => i instanceof CSSStyleSheet ? i : i.styleSheet);
41
41
  else for (const i of t) {
42
- const n = document.createElement("style"), o = De.litNonce;
42
+ const n = document.createElement("style"), o = Pe.litNonce;
43
43
  o !== void 0 && n.setAttribute("nonce", o), n.textContent = i.cssText, e.appendChild(n);
44
44
  }
45
45
  }, ln = Zi ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
@@ -288,7 +288,7 @@ jt.elementStyles = [], jt.shadowRootOptions = { mode: "open" }, jt[ae("elementPr
288
288
  */
289
289
  const le = globalThis, Be = le.trustedTypes, cn = Be ? Be.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Xi = "$lit$", ft = `lit$${Math.random().toFixed(9).slice(2)}$`, qi = "?" + ft, rr = `<${qi}>`, Vt = document, fe = () => Vt.createComment(""), ge = (e) => e === null || typeof e != "object" && typeof e != "function", Yi = Array.isArray, Bn = (e) => Yi(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", bi = `[
290
290
  \f\r]`, ie = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, hn = /-->/g, pn = />/g, Ot = RegExp(`>|${bi}(?:([^\\s"'>=/]+)(${bi}*=${bi}*(?:[^
291
- \f\r"'\`<>=]|("|')|))|$)`, "g"), fn = /'/g, gn = /"/g, kn = /^(?:script|style|textarea|title)$/i, sr = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), $ = sr(1), at = Symbol.for("lit-noChange"), P = Symbol.for("lit-nothing"), mn = /* @__PURE__ */ new WeakMap(), Nt = Vt.createTreeWalker(Vt, 129);
291
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), fn = /'/g, gn = /"/g, kn = /^(?:script|style|textarea|title)$/i, sr = (e) => (t, ...i) => ({ _$litType$: e, strings: t, values: i }), $ = sr(1), at = Symbol.for("lit-noChange"), D = Symbol.for("lit-nothing"), mn = /* @__PURE__ */ new WeakMap(), Nt = Vt.createTreeWalker(Vt, 129);
292
292
  function Un(e, t) {
293
293
  if (!Yi(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
294
294
  return cn !== void 0 ? cn.createHTML(t) : t;
@@ -383,7 +383,7 @@ class Jt {
383
383
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
384
384
  }
385
385
  constructor(t, i, n, o) {
386
- this.type = 2, this._$AH = P, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = n, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
386
+ this.type = 2, this._$AH = D, this._$AN = void 0, this._$AA = t, this._$AB = i, this._$AM = n, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
387
387
  }
388
388
  get parentNode() {
389
389
  let t = this._$AA.parentNode;
@@ -397,7 +397,7 @@ class Jt {
397
397
  return this._$AB;
398
398
  }
399
399
  _$AI(t, i = this) {
400
- t = Bt(this, t, i), ge(t) ? t === P || t == null || t === "" ? (this._$AH !== P && this._$AR(), this._$AH = P) : t !== this._$AH && t !== at && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Bn(t) ? this.k(t) : this._(t);
400
+ t = Bt(this, t, i), ge(t) ? t === D || t == null || t === "" ? (this._$AH !== D && this._$AR(), this._$AH = D) : t !== this._$AH && t !== at && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Bn(t) ? this.k(t) : this._(t);
401
401
  }
402
402
  O(t) {
403
403
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -406,7 +406,7 @@ class Jt {
406
406
  this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
407
407
  }
408
408
  _(t) {
409
- this._$AH !== P && ge(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Vt.createTextNode(t)), this._$AH = t;
409
+ this._$AH !== D && ge(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Vt.createTextNode(t)), this._$AH = t;
410
410
  }
411
411
  $(t) {
412
412
  var r;
@@ -448,7 +448,7 @@ class $e {
448
448
  return this._$AM._$AU;
449
449
  }
450
450
  constructor(t, i, n, o, r) {
451
- this.type = 1, this._$AH = P, this._$AN = void 0, this.element = t, this.name = i, this._$AM = o, this.options = r, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = P;
451
+ this.type = 1, this._$AH = D, this._$AN = void 0, this.element = t, this.name = i, this._$AM = o, this.options = r, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = D;
452
452
  }
453
453
  _$AI(t, i = this, n, o) {
454
454
  const r = this.strings;
@@ -457,12 +457,12 @@ class $e {
457
457
  else {
458
458
  const a = t;
459
459
  let l, d;
460
- for (t = r[0], l = 0; l < r.length - 1; l++) d = Bt(this, a[n + l], i, l), d === at && (d = this._$AH[l]), s || (s = !ge(d) || d !== this._$AH[l]), d === P ? t = P : t !== P && (t += (d ?? "") + r[l + 1]), this._$AH[l] = d;
460
+ for (t = r[0], l = 0; l < r.length - 1; l++) d = Bt(this, a[n + l], i, l), d === at && (d = this._$AH[l]), s || (s = !ge(d) || d !== this._$AH[l]), d === D ? t = D : t !== D && (t += (d ?? "") + r[l + 1]), this._$AH[l] = d;
461
461
  }
462
462
  s && !o && this.j(t);
463
463
  }
464
464
  j(t) {
465
- t === P ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
465
+ t === D ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
466
466
  }
467
467
  }
468
468
  class Zn extends $e {
@@ -470,7 +470,7 @@ class Zn extends $e {
470
470
  super(...arguments), this.type = 3;
471
471
  }
472
472
  j(t) {
473
- this.element[this.name] = t === P ? void 0 : t;
473
+ this.element[this.name] = t === D ? void 0 : t;
474
474
  }
475
475
  }
476
476
  class zn extends $e {
@@ -478,7 +478,7 @@ class zn extends $e {
478
478
  super(...arguments), this.type = 4;
479
479
  }
480
480
  j(t) {
481
- this.element.toggleAttribute(this.name, !!t && t !== P);
481
+ this.element.toggleAttribute(this.name, !!t && t !== D);
482
482
  }
483
483
  }
484
484
  class Xn extends $e {
@@ -486,8 +486,8 @@ class Xn extends $e {
486
486
  super(t, i, n, o, r), this.type = 5;
487
487
  }
488
488
  _$AI(t, i = this) {
489
- if ((t = Bt(this, t, i, 0) ?? P) === at) return;
490
- const n = this._$AH, o = t === P && n !== P || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== P && (n === P || o);
489
+ if ((t = Bt(this, t, i, 0) ?? D) === at) return;
490
+ const n = this._$AH, o = t === D && n !== D || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, r = t !== D && (n === D || o);
491
491
  o && this.element.removeEventListener(this.name, this, n), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
492
492
  }
493
493
  handleEvent(t) {
@@ -654,11 +654,11 @@ const bn = (e, t, i) => {
654
654
  else if (a[u] === s[g]) l[g] = Rt(o[u], r[g]), ne(e, l[g + 1], o[u]), u++, g--;
655
655
  else if (a[p] === s[f]) l[f] = Rt(o[p], r[f]), ne(e, o[u], o[p]), p--, f++;
656
656
  else if (d === void 0 && (d = bn(s, f, g), c = bn(a, u, p)), d.has(a[u])) if (d.has(a[p])) {
657
- const y = c.get(s[f]), D = y !== void 0 ? o[y] : null;
658
- if (D === null) {
657
+ const y = c.get(s[f]), P = y !== void 0 ? o[y] : null;
658
+ if (P === null) {
659
659
  const M = ne(e, o[u]);
660
660
  Rt(M, r[f]), l[f] = M;
661
- } else l[f] = Rt(D, r[f]), ne(e, o[u], D), o[y] = null;
661
+ } else l[f] = Rt(P, r[f]), ne(e, o[u], P), o[y] = null;
662
662
  f++;
663
663
  } else $i(o[p]), p--;
664
664
  else $i(o[u]), u++;
@@ -859,7 +859,7 @@ function ke(e) {
859
859
  if (t)
860
860
  return parseInt(t[1], 10);
861
861
  }
862
- function _(e) {
862
+ function C(e) {
863
863
  return wr(fi(e, !1));
864
864
  }
865
865
  const $r = "http://www.w3.org/1999/xlink";
@@ -932,7 +932,7 @@ function Cr(e, t) {
932
932
  function Tr(e, t) {
933
933
  return j({}, Zr, e, t);
934
934
  }
935
- function Pr(e, t) {
935
+ function Dr(e, t) {
936
936
  return j(
937
937
  {},
938
938
  zr,
@@ -940,7 +940,7 @@ function Pr(e, t) {
940
940
  t
941
941
  );
942
942
  }
943
- function Dr(e, t) {
943
+ function Pr(e, t) {
944
944
  return j(
945
945
  {},
946
946
  Xr,
@@ -1006,8 +1006,8 @@ function Mr(e, t) {
1006
1006
  for (let p = 0, f = c.length; p < f; p++) {
1007
1007
  const g = c[p], y = i[g];
1008
1008
  if (E(y)) {
1009
- let D = Wn(n, g, []);
1010
- D = D.concat(y), n[g] = D;
1009
+ let P = Wn(n, g, []);
1010
+ P = P.concat(y), n[g] = P;
1011
1011
  }
1012
1012
  }
1013
1013
  const u = [
@@ -1021,8 +1021,8 @@ function Mr(e, t) {
1021
1021
  for (let p = 0, f = u.length; p < f; p++) {
1022
1022
  const g = u[p], y = n[g];
1023
1023
  if (!E(y)) {
1024
- const D = i[g];
1025
- n[g] = D;
1024
+ const P = i[g];
1025
+ n[g] = P;
1026
1026
  }
1027
1027
  }
1028
1028
  return n;
@@ -1036,7 +1036,7 @@ function Ir(e, t) {
1036
1036
  multipleValues: Ht(e.getAttribute("multipleValues")),
1037
1037
  nearestValue: Ht(e.getAttribute("nearestValue")),
1038
1038
  current: Ht(e.getAttribute("current")),
1039
- values: _(e)
1039
+ values: C(e)
1040
1040
  };
1041
1041
  }
1042
1042
  function yt(e, t) {
@@ -1109,14 +1109,14 @@ const W = [
1109
1109
  ), Zr = Y(
1110
1110
  W,
1111
1111
  {
1112
- Name: m(_),
1113
- Title: m(_),
1114
- Abstract: m(_),
1112
+ Name: m(C),
1113
+ Title: m(C),
1114
+ Abstract: m(C),
1115
1115
  KeywordList: m(to),
1116
1116
  OnlineResource: m(Ji),
1117
- ContactInformation: m(Pr),
1118
- Fees: m(_),
1119
- AccessConstraints: m(_),
1117
+ ContactInformation: m(Dr),
1118
+ Fees: m(C),
1119
+ AccessConstraints: m(C),
1120
1120
  LayerLimit: m(xi),
1121
1121
  MaxWidth: m(xi),
1122
1122
  MaxHeight: m(xi)
@@ -1124,50 +1124,50 @@ const W = [
1124
1124
  ), zr = Y(
1125
1125
  W,
1126
1126
  {
1127
- ContactPersonPrimary: m(Dr),
1128
- ContactPosition: m(_),
1127
+ ContactPersonPrimary: m(Pr),
1128
+ ContactPosition: m(C),
1129
1129
  ContactAddress: m(Or),
1130
- ContactVoiceTelephone: m(_),
1131
- ContactFacsimileTelephone: m(_),
1132
- ContactElectronicMailAddress: m(_)
1130
+ ContactVoiceTelephone: m(C),
1131
+ ContactFacsimileTelephone: m(C),
1132
+ ContactElectronicMailAddress: m(C)
1133
1133
  }
1134
1134
  ), Xr = Y(
1135
1135
  W,
1136
1136
  {
1137
- ContactPerson: m(_),
1138
- ContactOrganization: m(_)
1137
+ ContactPerson: m(C),
1138
+ ContactOrganization: m(C)
1139
1139
  }
1140
1140
  ), qr = Y(
1141
1141
  W,
1142
1142
  {
1143
- AddressType: m(_),
1144
- Address: m(_),
1145
- City: m(_),
1146
- StateOrProvince: m(_),
1147
- PostCode: m(_),
1148
- Country: m(_)
1143
+ AddressType: m(C),
1144
+ Address: m(C),
1145
+ City: m(C),
1146
+ StateOrProvince: m(C),
1147
+ PostCode: m(C),
1148
+ Country: m(C)
1149
1149
  }
1150
1150
  ), Yr = Y(
1151
1151
  W,
1152
1152
  {
1153
- Format: Jn(_)
1153
+ Format: Jn(C)
1154
1154
  }
1155
1155
  ), eo = Y(
1156
1156
  W,
1157
1157
  {
1158
- Name: m(_),
1159
- Title: m(_),
1160
- Abstract: m(_),
1158
+ Name: m(C),
1159
+ Title: m(C),
1160
+ Abstract: m(C),
1161
1161
  KeywordList: m(to),
1162
- CRS: it(_),
1163
- SRS: it(_),
1162
+ CRS: it(C),
1163
+ SRS: it(C),
1164
1164
  EX_GeographicBoundingBox: m(_r),
1165
1165
  LatLonBoundingBox: m(Sr),
1166
1166
  BoundingBox: it(Er),
1167
1167
  Dimension: it(Ir),
1168
1168
  Attribution: m(xr),
1169
1169
  AuthorityURL: it(Br),
1170
- Identifier: it(_),
1170
+ Identifier: it(C),
1171
1171
  MetadataURL: it(kr),
1172
1172
  DataURL: it(yt),
1173
1173
  FeatureListURL: it(yt),
@@ -1180,7 +1180,7 @@ const W = [
1180
1180
  ), Wr = Y(
1181
1181
  W,
1182
1182
  {
1183
- Title: m(_),
1183
+ Title: m(C),
1184
1184
  OnlineResource: m(Ji),
1185
1185
  LogoURL: m(Qn)
1186
1186
  }
@@ -1205,7 +1205,7 @@ const W = [
1205
1205
  ), Kr = Y(
1206
1206
  W,
1207
1207
  {
1208
- Format: it(_),
1208
+ Format: it(C),
1209
1209
  DCPType: it(
1210
1210
  Hr
1211
1211
  )
@@ -1230,9 +1230,9 @@ const W = [
1230
1230
  ), es = Y(
1231
1231
  W,
1232
1232
  {
1233
- Name: m(_),
1234
- Title: m(_),
1235
- Abstract: m(_),
1233
+ Name: m(C),
1234
+ Title: m(C),
1235
+ Abstract: m(C),
1236
1236
  LegendURL: it(Qn),
1237
1237
  StyleSheetURL: m(yt),
1238
1238
  StyleURL: m(yt)
@@ -1240,13 +1240,13 @@ const W = [
1240
1240
  ), is = Y(
1241
1241
  W,
1242
1242
  {
1243
- Format: m(_),
1243
+ Format: m(C),
1244
1244
  OnlineResource: m(Ji)
1245
1245
  }
1246
1246
  ), ns = Y(
1247
1247
  W,
1248
1248
  {
1249
- Keyword: Jn(_)
1249
+ Keyword: Jn(C)
1250
1250
  }
1251
1251
  );
1252
1252
  class os {
@@ -1343,7 +1343,7 @@ function ls(e, t) {
1343
1343
  return `${n}?${o}`;
1344
1344
  }
1345
1345
  /**!
1346
- * Sortable 1.15.3
1346
+ * Sortable 1.15.4
1347
1347
  * @author RubaXa <trash@rubaxa.org>
1348
1348
  * @author owenm <owen23355@gmail.com>
1349
1349
  * @license MIT
@@ -1412,7 +1412,7 @@ function cs(e, t) {
1412
1412
  }
1413
1413
  return i;
1414
1414
  }
1415
- var hs = "1.15.3";
1415
+ var hs = "1.15.4";
1416
1416
  function mt(e) {
1417
1417
  if (typeof window < "u" && window.navigator)
1418
1418
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
@@ -1421,10 +1421,10 @@ var vt = mt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), xe = mt(/E
1421
1421
  capture: !1,
1422
1422
  passive: !1
1423
1423
  };
1424
- function T(e, t, i) {
1424
+ function A(e, t, i) {
1425
1425
  e.addEventListener(t, i, !vt && ro);
1426
1426
  }
1427
- function A(e, t, i) {
1427
+ function S(e, t, i) {
1428
1428
  e.removeEventListener(t, i, !vt && ro);
1429
1429
  }
1430
1430
  function Ue(e, t) {
@@ -1751,7 +1751,7 @@ var Ut = [], Ai = {
1751
1751
  function vs(e) {
1752
1752
  var t = e.sortable, i = e.rootEl, n = e.name, o = e.targetEl, r = e.cloneEl, s = e.toEl, a = e.fromEl, l = e.oldIndex, d = e.newIndex, c = e.oldDraggableIndex, u = e.newDraggableIndex, p = e.originalEvent, f = e.putSortable, g = e.extraEventProperties;
1753
1753
  if (t = t || i && i[nt], !!t) {
1754
- var y, D = t.options, M = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1754
+ var y, P = t.options, M = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1755
1755
  window.CustomEvent && !vt && !xe ? y = new CustomEvent(n, {
1756
1756
  bubbles: !0,
1757
1757
  cancelable: !0
@@ -1759,7 +1759,7 @@ function vs(e) {
1759
1759
  var H = ct(ct({}, g), Ee.getEventProperties(n, t));
1760
1760
  for (var J in H)
1761
1761
  y[J] = H[J];
1762
- i && i.dispatchEvent(y), D[M] && D[M].call(t, y);
1762
+ i && i.dispatchEvent(y), P[M] && P[M].call(t, y);
1763
1763
  }
1764
1764
  }
1765
1765
  var ws = ["evt"], et = function(t, i) {
@@ -1939,7 +1939,7 @@ function w(e, t) {
1939
1939
  go(t);
1940
1940
  for (var o in this)
1941
1941
  o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
1942
- this.nativeDraggable = t.forceFallback ? !1 : $s, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? T(e, "pointerdown", this._onTapStart) : (T(e, "mousedown", this._onTapStart), T(e, "touchstart", this._onTapStart)), this.nativeDraggable && (T(e, "dragover", this), T(e, "dragenter", this)), je.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), bt(this, ms());
1942
+ this.nativeDraggable = t.forceFallback ? !1 : $s, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? A(e, "pointerdown", this._onTapStart) : (A(e, "mousedown", this._onTapStart), A(e, "touchstart", this._onTapStart)), this.nativeDraggable && (A(e, "dragover", this), A(e, "dragenter", this)), je.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), bt(this, ms());
1943
1943
  }
1944
1944
  w.prototype = /** @lends Sortable.prototype */
1945
1945
  {
@@ -1965,7 +1965,7 @@ w.prototype = /** @lends Sortable.prototype */
1965
1965
  fromEl: n
1966
1966
  }), et("filter", i, {
1967
1967
  evt: t
1968
- }), r && t.cancelable && t.preventDefault();
1968
+ }), r && t.preventDefault();
1969
1969
  return;
1970
1970
  }
1971
1971
  } else if (c && (c = c.split(",").some(function(u) {
@@ -1981,7 +1981,7 @@ w.prototype = /** @lends Sortable.prototype */
1981
1981
  evt: t
1982
1982
  }), !0;
1983
1983
  }), c)) {
1984
- r && t.cancelable && t.preventDefault();
1984
+ r && t.preventDefault();
1985
1985
  return;
1986
1986
  }
1987
1987
  o.handle && !dt(d, o.handle, n, !1) || this._prepareDragStart(t, a, l);
@@ -2009,15 +2009,15 @@ w.prototype = /** @lends Sortable.prototype */
2009
2009
  originalEvent: t
2010
2010
  }), ot(h, s.chosenClass, !0);
2011
2011
  }, s.ignore.split(",").forEach(function(c) {
2012
- ao(h, c.trim(), Pi);
2013
- }), T(a, "dragover", Mt), T(a, "mousemove", Mt), T(a, "touchmove", Mt), T(a, "mouseup", o._onDrop), T(a, "touchend", o._onDrop), T(a, "touchcancel", o._onDrop), wn && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), et("delayStart", this, {
2012
+ ao(h, c.trim(), Di);
2013
+ }), A(a, "dragover", Mt), A(a, "mousemove", Mt), A(a, "touchmove", Mt), s.supportPointer ? (A(a, "pointerup", o._onDrop), !this.nativeDraggable && A(a, "pointercancel", o._onDrop)) : (A(a, "mouseup", o._onDrop), A(a, "touchend", o._onDrop), A(a, "touchcancel", o._onDrop)), wn && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), et("delayStart", this, {
2014
2014
  evt: t
2015
2015
  }), s.delay && (!s.delayOnTouchOnly || i) && (!this.nativeDraggable || !(xe || vt))) {
2016
2016
  if (w.eventCanceled) {
2017
2017
  this._onDrop();
2018
2018
  return;
2019
2019
  }
2020
- T(a, "mouseup", o._disableDelayedDrag), T(a, "touchend", o._disableDelayedDrag), T(a, "touchcancel", o._disableDelayedDrag), T(a, "mousemove", o._delayedDragTouchMoveHandler), T(a, "touchmove", o._delayedDragTouchMoveHandler), s.supportPointer && T(a, "pointermove", o._delayedDragTouchMoveHandler), o._dragStartTimer = setTimeout(l, s.delay);
2020
+ s.supportPointer ? (A(a, "pointerup", o._disableDelayedDrag), A(a, "pointercancel", o._disableDelayedDrag)) : (A(a, "mouseup", o._disableDelayedDrag), A(a, "touchend", o._disableDelayedDrag), A(a, "touchcancel", o._disableDelayedDrag)), A(a, "mousemove", o._delayedDragTouchMoveHandler), A(a, "touchmove", o._delayedDragTouchMoveHandler), s.supportPointer && A(a, "pointermove", o._delayedDragTouchMoveHandler), o._dragStartTimer = setTimeout(l, s.delay);
2021
2021
  } else
2022
2022
  l();
2023
2023
  }
@@ -2027,18 +2027,18 @@ w.prototype = /** @lends Sortable.prototype */
2027
2027
  Math.max(Math.abs(i.clientX - this._lastX), Math.abs(i.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
2028
2028
  },
2029
2029
  _disableDelayedDrag: function() {
2030
- h && Pi(h), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2030
+ h && Di(h), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
2031
2031
  },
2032
2032
  _disableDelayedDragEvents: function() {
2033
2033
  var t = this.el.ownerDocument;
2034
- A(t, "mouseup", this._disableDelayedDrag), A(t, "touchend", this._disableDelayedDrag), A(t, "touchcancel", this._disableDelayedDrag), A(t, "mousemove", this._delayedDragTouchMoveHandler), A(t, "touchmove", this._delayedDragTouchMoveHandler), A(t, "pointermove", this._delayedDragTouchMoveHandler);
2034
+ S(t, "mouseup", this._disableDelayedDrag), S(t, "touchend", this._disableDelayedDrag), S(t, "touchcancel", this._disableDelayedDrag), S(t, "pointerup", this._disableDelayedDrag), S(t, "pointercancel", this._disableDelayedDrag), S(t, "mousemove", this._delayedDragTouchMoveHandler), S(t, "touchmove", this._delayedDragTouchMoveHandler), S(t, "pointermove", this._delayedDragTouchMoveHandler);
2035
2035
  },
2036
2036
  _triggerDragStart: function(t, i) {
2037
- i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? T(document, "pointermove", this._onTouchMove) : i ? T(document, "touchmove", this._onTouchMove) : T(document, "mousemove", this._onTouchMove) : (T(h, "dragend", this), T(R, "dragstart", this._onDragStart));
2037
+ i = i || t.pointerType == "touch" && t, !this.nativeDraggable || i ? this.options.supportPointer ? A(document, "pointermove", this._onTouchMove) : i ? A(document, "touchmove", this._onTouchMove) : A(document, "mousemove", this._onTouchMove) : (A(h, "dragend", this), A(R, "dragstart", this._onDragStart));
2038
2038
  try {
2039
- document.selection ? Me(function() {
2040
- document.selection.empty();
2041
- }) : window.getSelection().removeAllRanges();
2039
+ Me(function() {
2040
+ document.selection ? document.selection.empty() : window.getSelection().removeAllRanges();
2041
+ });
2042
2042
  } catch {
2043
2043
  }
2044
2044
  },
@@ -2046,7 +2046,7 @@ w.prototype = /** @lends Sortable.prototype */
2046
2046
  if (Zt = !1, R && h) {
2047
2047
  et("dragStarted", this, {
2048
2048
  evt: i
2049
- }), this.nativeDraggable && T(document, "dragover", Ss);
2049
+ }), this.nativeDraggable && A(document, "dragover", Ss);
2050
2050
  var n = this.options;
2051
2051
  !t && ot(h, n.dragClass, !1), ot(h, n.ghostClass, !0), w.active = this, t && this._appendGhost(), Q({
2052
2052
  sortable: this,
@@ -2125,13 +2125,13 @@ w.prototype = /** @lends Sortable.prototype */
2125
2125
  sortable: n,
2126
2126
  name: "clone"
2127
2127
  }));
2128
- }), !i && ot(h, r.dragClass, !0), i ? (Fe = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (A(document, "mouseup", n._onDrop), A(document, "touchend", n._onDrop), A(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(n, o, h)), T(document, "drop", n), v(h, "transform", "translateZ(0)")), Zt = !0, n._dragStartId = Me(n._dragStarted.bind(n, i, t)), T(document, "selectstart", n), oe = !0, de && v(document.body, "user-select", "none");
2128
+ }), !i && ot(h, r.dragClass, !0), i ? (Fe = !0, n._loopId = setInterval(n._emulateDragOver, 50)) : (S(document, "mouseup", n._onDrop), S(document, "touchend", n._onDrop), S(document, "touchcancel", n._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(n, o, h)), A(document, "drop", n), v(h, "transform", "translateZ(0)")), Zt = !0, n._dragStartId = Me(n._dragStarted.bind(n, i, t)), A(document, "selectstart", n), oe = !0, de && v(document.body, "user-select", "none");
2129
2129
  },
2130
2130
  // Returns true - if no further action is needed (either inserted or another condition)
2131
2131
  _onDragOver: function(t) {
2132
2132
  var i = this.el, n = t.target, o, r, s, a = this.options, l = a.group, d = w.active, c = Ae === l, u = a.sort, p = X || d, f, g = this, y = !1;
2133
2133
  if (Ni) return;
2134
- function D(ee, Xo) {
2134
+ function P(ee, Xo) {
2135
2135
  et(ee, g, ct({
2136
2136
  evt: t,
2137
2137
  isOwner: c,
@@ -2150,13 +2150,13 @@ w.prototype = /** @lends Sortable.prototype */
2150
2150
  }, Xo));
2151
2151
  }
2152
2152
  function M() {
2153
- D("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2153
+ P("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2154
2154
  }
2155
2155
  function H(ee) {
2156
- return D("dragOverCompleted", {
2156
+ return P("dragOverCompleted", {
2157
2157
  insertion: ee
2158
2158
  }), ee && (c ? d._hideClone() : d._showClone(g), g !== p && (ot(h, X ? X.options.ghostClass : d.options.ghostClass, !1), ot(h, a.ghostClass, !0)), X !== g && g !== w.active ? X = g : g === w.active && X && (X = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
2159
- D("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2159
+ P("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2160
2160
  }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === h && !h.animated || n === i && !n.animated) && (Ft = null), !a.dragoverBubble && !t.rootEl && n !== document && (h.parentNode[nt]._isOutsideThisEl(t.target), !ee && Mt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
2161
2161
  }
2162
2162
  function J() {
@@ -2169,13 +2169,13 @@ w.prototype = /** @lends Sortable.prototype */
2169
2169
  originalEvent: t
2170
2170
  });
2171
2171
  }
2172
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = dt(n, a.draggable, i, !0), D("dragOver"), w.eventCanceled) return y;
2172
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = dt(n, a.draggable, i, !0), P("dragOver"), w.eventCanceled) return y;
2173
2173
  if (h.contains(t.target) || n.animated && n.animatingX && n.animatingY || g._ignoreWhileAnimating === n)
2174
2174
  return H(!1);
2175
2175
  if (Fe = !1, d && !a.disabled && (c ? u || (s = N !== R) : X === this || (this.lastPutMode = Ae.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2176
- if (f = this._getDirection(t, n) === "vertical", o = k(h), D("dragOverValid"), w.eventCanceled) return y;
2176
+ if (f = this._getDirection(t, n) === "vertical", o = k(h), P("dragOverValid"), w.eventCanceled) return y;
2177
2177
  if (s)
2178
- return N = R, M(), this._hideClone(), D("revert"), w.eventCanceled || (It ? R.insertBefore(h, It) : R.appendChild(h)), H(!0);
2178
+ return N = R, M(), this._hideClone(), P("revert"), w.eventCanceled || (It ? R.insertBefore(h, It) : R.appendChild(h)), H(!0);
2179
2179
  var Z = Qi(i, a.draggable);
2180
2180
  if (!Z || Ts(t, f, this) && !Z.animated) {
2181
2181
  if (Z === h)
@@ -2191,12 +2191,12 @@ w.prototype = /** @lends Sortable.prototype */
2191
2191
  } else if (n.parentNode === i) {
2192
2192
  r = k(n);
2193
2193
  var b = 0, O, z = h.parentNode !== i, U = !xs(h.animated && h.toRect || o, n.animated && n.toRect || r, f), Kt = f ? "top" : "left", wt = xn(n, "top", "top") || xn(h, "top", "top"), Qt = wt ? wt.scrollTop : void 0;
2194
- Ft !== n && (O = r[Kt], pe = !1, _e = !U && a.invertSwap || z), b = Ps(t, n, r, f, U ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, _e, Ft === n);
2194
+ Ft !== n && (O = r[Kt], pe = !1, _e = !U && a.invertSwap || z), b = Ds(t, n, r, f, U ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, _e, Ft === n);
2195
2195
  var ht;
2196
2196
  if (b !== 0) {
2197
- var Dt = st(h);
2197
+ var Pt = st(h);
2198
2198
  do
2199
- Dt -= b, ht = N.children[Dt];
2199
+ Pt -= b, ht = N.children[Pt];
2200
2200
  while (ht && (v(ht, "display") === "none" || ht === x));
2201
2201
  }
2202
2202
  if (b === 0 || ht === n)
@@ -2215,11 +2215,11 @@ w.prototype = /** @lends Sortable.prototype */
2215
2215
  },
2216
2216
  _ignoreWhileAnimating: null,
2217
2217
  _offMoveEvents: function() {
2218
- A(document, "mousemove", this._onTouchMove), A(document, "touchmove", this._onTouchMove), A(document, "pointermove", this._onTouchMove), A(document, "dragover", Mt), A(document, "mousemove", Mt), A(document, "touchmove", Mt);
2218
+ S(document, "mousemove", this._onTouchMove), S(document, "touchmove", this._onTouchMove), S(document, "pointermove", this._onTouchMove), S(document, "dragover", Mt), S(document, "mousemove", Mt), S(document, "touchmove", Mt);
2219
2219
  },
2220
2220
  _offUpEvents: function() {
2221
2221
  var t = this.el.ownerDocument;
2222
- A(t, "mouseup", this._onDrop), A(t, "touchend", this._onDrop), A(t, "pointerup", this._onDrop), A(t, "touchcancel", this._onDrop), A(document, "selectstart", this);
2222
+ S(t, "mouseup", this._onDrop), S(t, "touchend", this._onDrop), S(t, "pointerup", this._onDrop), S(t, "pointercancel", this._onDrop), S(t, "touchcancel", this._onDrop), S(document, "selectstart", this);
2223
2223
  },
2224
2224
  _onDrop: function(t) {
2225
2225
  var i = this.el, n = this.options;
@@ -2229,7 +2229,7 @@ w.prototype = /** @lends Sortable.prototype */
2229
2229
  this._nulling();
2230
2230
  return;
2231
2231
  }
2232
- Zt = !1, _e = !1, pe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Hi(this.cloneId), Hi(this._dragStartId), this.nativeDraggable && (A(document, "drop", this), A(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), de && v(document.body, "user-select", ""), v(h, "transform", ""), t && (oe && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), x && x.parentNode && x.parentNode.removeChild(x), (R === N || X && X.lastPutMode !== "clone") && L && L.parentNode && L.parentNode.removeChild(L), h && (this.nativeDraggable && A(h, "dragend", this), Pi(h), h.style["will-change"] = "", oe && !Zt && ot(h, X ? X.options.ghostClass : this.options.ghostClass, !1), ot(h, this.options.chosenClass, !1), Q({
2232
+ Zt = !1, _e = !1, pe = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Hi(this.cloneId), Hi(this._dragStartId), this.nativeDraggable && (S(document, "drop", this), S(i, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), de && v(document.body, "user-select", ""), v(h, "transform", ""), t && (oe && (t.cancelable && t.preventDefault(), !n.dropBubble && t.stopPropagation()), x && x.parentNode && x.parentNode.removeChild(x), (R === N || X && X.lastPutMode !== "clone") && L && L.parentNode && L.parentNode.removeChild(L), h && (this.nativeDraggable && S(h, "dragend", this), Di(h), h.style["will-change"] = "", oe && !Zt && ot(h, X ? X.options.ghostClass : this.options.ghostClass, !1), ot(h, this.options.chosenClass, !1), Q({
2233
2233
  sortable: this,
2234
2234
  name: "unchoose",
2235
2235
  toEl: N,
@@ -2352,7 +2352,7 @@ w.prototype = /** @lends Sortable.prototype */
2352
2352
  destroy: function() {
2353
2353
  et("destroy", this);
2354
2354
  var t = this.el;
2355
- t[nt] = null, A(t, "mousedown", this._onTapStart), A(t, "touchstart", this._onTapStart), A(t, "pointerdown", this._onTapStart), this.nativeDraggable && (A(t, "dragover", this), A(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(i) {
2355
+ t[nt] = null, S(t, "mousedown", this._onTapStart), S(t, "touchstart", this._onTapStart), S(t, "pointerdown", this._onTapStart), this.nativeDraggable && (S(t, "dragover", this), S(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(i) {
2356
2356
  i.removeAttribute("draggable");
2357
2357
  }), this._onDrop(), this._disableDelayedDragEvents(), je.splice(je.indexOf(this.el), 1), this.el = t = null;
2358
2358
  },
@@ -2383,7 +2383,7 @@ function Te(e, t, i, n, o, r, s, a) {
2383
2383
  cancelable: !0
2384
2384
  }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = e, l.dragged = i, l.draggedRect = n, l.related = o || t, l.relatedRect = r || k(t), l.willInsertAfter = a, l.originalEvent = s, e.dispatchEvent(l), c && (u = c.call(d, l, s)), u;
2385
2385
  }
2386
- function Pi(e) {
2386
+ function Di(e) {
2387
2387
  e.draggable = !1;
2388
2388
  }
2389
2389
  function _s() {
@@ -2397,7 +2397,7 @@ function Ts(e, t, i) {
2397
2397
  var n = k(Qi(i.el, i.options.draggable)), o = ho(i.el, i.options, x), r = 10;
2398
2398
  return t ? e.clientX > o.right + r || e.clientY > n.bottom && e.clientX > n.left : e.clientY > o.bottom + r || e.clientX > n.right && e.clientY > n.top;
2399
2399
  }
2400
- function Ps(e, t, i, n, o, r, s, a) {
2400
+ function Ds(e, t, i, n, o, r, s, a) {
2401
2401
  var l = n ? e.clientY : e.clientX, d = n ? i.height : i.width, c = n ? i.top : i.left, u = n ? i.bottom : i.right, p = !1;
2402
2402
  if (!s) {
2403
2403
  if (a && Le < d * o) {
@@ -2406,11 +2406,11 @@ function Ps(e, t, i, n, o, r, s, a) {
2406
2406
  else if (he === 1 ? l < c + Le : l > u - Le)
2407
2407
  return -he;
2408
2408
  } else if (l > c + d * (1 - o) / 2 && l < u - d * (1 - o) / 2)
2409
- return Ds(t);
2409
+ return Ps(t);
2410
2410
  }
2411
2411
  return p = p || s, p && (l < c + d * r / 2 || l > u - d * r / 2) ? l > c + d / 2 ? 1 : -1 : 0;
2412
2412
  }
2413
- function Ds(e) {
2413
+ function Ps(e) {
2414
2414
  return st(h) < st(e) ? 1 : -1;
2415
2415
  }
2416
2416
  function Os(e) {
@@ -2431,12 +2431,12 @@ function Me(e) {
2431
2431
  function Hi(e) {
2432
2432
  return clearTimeout(e);
2433
2433
  }
2434
- gi && T(document, "touchmove", function(e) {
2434
+ gi && A(document, "touchmove", function(e) {
2435
2435
  (w.active || Zt) && e.cancelable && e.preventDefault();
2436
2436
  });
2437
2437
  w.utils = {
2438
- on: T,
2439
- off: A,
2438
+ on: A,
2439
+ off: S,
2440
2440
  css: v,
2441
2441
  find: ao,
2442
2442
  is: function(t, i) {
@@ -2470,7 +2470,7 @@ w.create = function(e, t) {
2470
2470
  return new w(e, t);
2471
2471
  };
2472
2472
  w.version = hs;
2473
- var B = [], re, Vi, Bi = !1, Di, Oi, ze, se;
2473
+ var B = [], re, Vi, Bi = !1, Pi, Oi, ze, se;
2474
2474
  function Ls() {
2475
2475
  function e() {
2476
2476
  this.defaults = {
@@ -2486,17 +2486,17 @@ function Ls() {
2486
2486
  return e.prototype = {
2487
2487
  dragStarted: function(i) {
2488
2488
  var n = i.originalEvent;
2489
- this.sortable.nativeDraggable ? T(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? T(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? T(document, "touchmove", this._handleFallbackAutoScroll) : T(document, "mousemove", this._handleFallbackAutoScroll);
2489
+ this.sortable.nativeDraggable ? A(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? A(document, "pointermove", this._handleFallbackAutoScroll) : n.touches ? A(document, "touchmove", this._handleFallbackAutoScroll) : A(document, "mousemove", this._handleFallbackAutoScroll);
2490
2490
  },
2491
2491
  dragOverCompleted: function(i) {
2492
2492
  var n = i.originalEvent;
2493
2493
  !this.options.dragOverBubble && !n.rootEl && this._handleAutoScroll(n);
2494
2494
  },
2495
2495
  drop: function() {
2496
- this.sortable.nativeDraggable ? A(document, "dragover", this._handleAutoScroll) : (A(document, "pointermove", this._handleFallbackAutoScroll), A(document, "touchmove", this._handleFallbackAutoScroll), A(document, "mousemove", this._handleFallbackAutoScroll)), Cn(), Ie(), gs();
2496
+ this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), Cn(), Ie(), gs();
2497
2497
  },
2498
2498
  nulling: function() {
2499
- ze = Vi = re = Bi = se = Di = Oi = null, B.length = 0;
2499
+ ze = Vi = re = Bi = se = Pi = Oi = null, B.length = 0;
2500
2500
  },
2501
2501
  _handleFallbackAutoScroll: function(i) {
2502
2502
  this._handleAutoScroll(i, !0);
@@ -2506,10 +2506,10 @@ function Ls() {
2506
2506
  if (ze = i, n || this.options.forceAutoScrollFallback || xe || vt || de) {
2507
2507
  Ri(i, this.options, a, n);
2508
2508
  var l = _t(a, !0);
2509
- Bi && (!se || r !== Di || s !== Oi) && (se && Cn(), se = setInterval(function() {
2509
+ Bi && (!se || r !== Pi || s !== Oi) && (se && Cn(), se = setInterval(function() {
2510
2510
  var d = _t(document.elementFromPoint(r, s), !0);
2511
2511
  d !== l && (l = d, Ie()), Ri(i, o.options, d, n);
2512
- }, 10), Di = r, Oi = s);
2512
+ }, 10), Pi = r, Oi = s);
2513
2513
  } else {
2514
2514
  if (!this.options.bubbleScroll || _t(a, !0) === ut()) {
2515
2515
  Ie();
@@ -2537,12 +2537,12 @@ var Ri = lo(function(e, t, i, n) {
2537
2537
  Vi !== i && (Vi = i, Ie(), re = t.scroll, c = t.scrollFn, re === !0 && (re = _t(i, !0)));
2538
2538
  var u = 0, p = re;
2539
2539
  do {
2540
- var f = p, g = k(f), y = g.top, D = g.bottom, M = g.left, H = g.right, J = g.width, Z = g.height, K = void 0, b = void 0, O = f.scrollWidth, z = f.scrollHeight, U = v(f), Kt = f.scrollLeft, wt = f.scrollTop;
2540
+ var f = p, g = k(f), y = g.top, P = g.bottom, M = g.left, H = g.right, J = g.width, Z = g.height, K = void 0, b = void 0, O = f.scrollWidth, z = f.scrollHeight, U = v(f), Kt = f.scrollLeft, wt = f.scrollTop;
2541
2541
  f === l ? (K = J < O && (U.overflowX === "auto" || U.overflowX === "scroll" || U.overflowX === "visible"), b = Z < z && (U.overflowY === "auto" || U.overflowY === "scroll" || U.overflowY === "visible")) : (K = J < O && (U.overflowX === "auto" || U.overflowX === "scroll"), b = Z < z && (U.overflowY === "auto" || U.overflowY === "scroll"));
2542
- var Qt = K && (Math.abs(H - o) <= s && Kt + J < O) - (Math.abs(M - o) <= s && !!Kt), ht = b && (Math.abs(D - r) <= s && wt + Z < z) - (Math.abs(y - r) <= s && !!wt);
2542
+ var Qt = K && (Math.abs(H - o) <= s && Kt + J < O) - (Math.abs(M - o) <= s && !!Kt), ht = b && (Math.abs(P - r) <= s && wt + Z < z) - (Math.abs(y - r) <= s && !!wt);
2543
2543
  if (!B[u])
2544
- for (var Dt = 0; Dt <= u; Dt++)
2545
- B[Dt] || (B[Dt] = {});
2544
+ for (var Pt = 0; Pt <= u; Pt++)
2545
+ B[Pt] || (B[Pt] = {});
2546
2546
  (B[u].vx != Qt || B[u].vy != ht || B[u].el !== f) && (B[u].el = f, B[u].vx = Qt, B[u].vy = ht, clearInterval(B[u].pid), (Qt != 0 || ht != 0) && (d = !0, B[u].pid = setInterval((function() {
2547
2547
  n && this.layer === 0 && w.active._onTouchMove(ze);
2548
2548
  var te = B[this.layer].vy ? B[this.layer].vy * a : 0, $t = B[this.layer].vx ? B[this.layer].vx * a : 0;
@@ -2803,7 +2803,7 @@ const zs = (e, t) => e == null ? void 0 : e.filter(
2803
2803
  let n = !0;
2804
2804
  return ["remove", "sort"].includes(i) && (n = !1), i === "info" && (n = t.get("description")), i === "config" && (n = t.get("layerConfig")), i === "datetime" && (n = t.get("layerDatetime")), i === "legend" && (n = t.get("layerLegend")), n;
2805
2805
  }), qs = (e, t) => $`
2806
- <button slot="${e}-icon" class="icon">${t ? e : P}</button>
2806
+ <button slot="${e}-icon" class="icon">${t ? e : D}</button>
2807
2807
  `, Ys = (e) => $`
2808
2808
  <button
2809
2809
  class="remove-icon icon"
@@ -2817,11 +2817,11 @@ const zs = (e, t) => e == null ? void 0 : e.filter(
2817
2817
  );
2818
2818
  }}
2819
2819
  >
2820
- ${e.unstyled ? "x" : P}
2820
+ ${e.unstyled ? "x" : D}
2821
2821
  </button>
2822
2822
  `, Ws = (e) => $`
2823
2823
  <span class="button sort-icon icon drag-handle">
2824
- ${e ? "═" : P}
2824
+ ${e ? "═" : D}
2825
2825
  </span>
2826
2826
  `, $o = (e) => {
2827
2827
  var i;
@@ -2842,7 +2842,7 @@ const xo = Wi(class extends Gi {
2842
2842
  return e;
2843
2843
  }
2844
2844
  update(e, [t]) {
2845
- if (t === at || t === P) return t;
2845
+ if (t === at || t === D) return t;
2846
2846
  const i = e.element, n = e.name;
2847
2847
  if (e.type === xt.PROPERTY) {
2848
2848
  if (t === i[n]) return at;
@@ -2859,10 +2859,10 @@ const xo = Wi(class extends Gi {
2859
2859
  */
2860
2860
  class ki extends Gi {
2861
2861
  constructor(t) {
2862
- if (super(t), this.it = P, t.type !== xt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2862
+ if (super(t), this.it = D, t.type !== xt.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2863
2863
  }
2864
2864
  render(t) {
2865
- if (t === P || t == null) return this._t = void 0, this.it = t;
2865
+ if (t === D || t == null) return this._t = void 0, this.it = t;
2866
2866
  if (t === at) return t;
2867
2867
  if (typeof t != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
2868
2868
  if (t === this.it) return this._t;
@@ -2895,7 +2895,7 @@ function ua(e, t, i) {
2895
2895
  var n, o, r, s, a, l, d = 0, c = !1, u = !1, p = !0;
2896
2896
  if (typeof e != "function")
2897
2897
  throw new TypeError(So);
2898
- t = Pn(t) || 0, Xe(i) && (c = !!i.leading, u = "maxWait" in i, r = u ? la(Pn(i.maxWait) || 0, t) : r, p = "trailing" in i ? !!i.trailing : p);
2898
+ t = Dn(t) || 0, Xe(i) && (c = !!i.leading, u = "maxWait" in i, r = u ? la(Dn(i.maxWait) || 0, t) : r, p = "trailing" in i ? !!i.trailing : p);
2899
2899
  function f(b) {
2900
2900
  var O = n, z = o;
2901
2901
  return n = o = void 0, d = b, s = e.apply(z, O), s;
@@ -2907,13 +2907,13 @@ function ua(e, t, i) {
2907
2907
  var O = b - l, z = b - d, U = t - O;
2908
2908
  return u ? da(U, r - z) : U;
2909
2909
  }
2910
- function D(b) {
2910
+ function P(b) {
2911
2911
  var O = b - l, z = b - d;
2912
2912
  return l === void 0 || O >= t || O < 0 || u && z >= r;
2913
2913
  }
2914
2914
  function M() {
2915
2915
  var b = Li();
2916
- if (D(b))
2916
+ if (P(b))
2917
2917
  return H(b);
2918
2918
  a = setTimeout(M, y(b));
2919
2919
  }
@@ -2927,7 +2927,7 @@ function ua(e, t, i) {
2927
2927
  return a === void 0 ? s : H(Li());
2928
2928
  }
2929
2929
  function K() {
2930
- var b = Li(), O = D(b);
2930
+ var b = Li(), O = P(b);
2931
2931
  if (n = arguments, o = this, l = b, O) {
2932
2932
  if (a === void 0)
2933
2933
  return g(l);
@@ -2958,7 +2958,7 @@ function ha(e) {
2958
2958
  function pa(e) {
2959
2959
  return typeof e == "symbol" || ha(e) && aa.call(e) == Js;
2960
2960
  }
2961
- function Pn(e) {
2961
+ function Dn(e) {
2962
2962
  if (typeof e == "number")
2963
2963
  return e;
2964
2964
  if (pa(e))
@@ -2974,18 +2974,18 @@ function Pn(e) {
2974
2974
  return i || ea.test(e) ? ia(e.slice(2), i ? 2 : 8) : Qs.test(e) ? Tn : +e;
2975
2975
  }
2976
2976
  var fa = ca;
2977
- const Dn = /* @__PURE__ */ Eo(fa);
2977
+ const Pn = /* @__PURE__ */ Eo(fa);
2978
2978
  /**
2979
2979
  * @license
2980
2980
  * Copyright 2018 Google LLC
2981
2981
  * SPDX-License-Identifier: BSD-3-Clause
2982
2982
  */
2983
- const Pe = (e) => e ?? P;
2983
+ const De = (e) => e ?? D;
2984
2984
  var qe, Ye;
2985
2985
  class Ao extends tt {
2986
2986
  constructor() {
2987
2987
  super();
2988
- C(this, qe, Hn`
2988
+ T(this, qe, Hn`
2989
2989
  .legend-container {
2990
2990
  display: flex;
2991
2991
  justify-content: center;
@@ -2999,7 +2999,7 @@ class Ao extends tt {
2999
2999
  --cle-letter-spacing-title: inherit;
3000
3000
  }
3001
3001
  `);
3002
- C(this, Ye, "");
3002
+ T(this, Ye, "");
3003
3003
  this.unstyled = !1, this.noShadow = !1, this.layerLegend = null, this.layer = null;
3004
3004
  }
3005
3005
  /**
@@ -3016,8 +3016,8 @@ class Ao extends tt {
3016
3016
  "Please import `color-legend-element` in order to use layerLegend"
3017
3017
  ), $`
3018
3018
  <style>
3019
- ${S(this, qe)}
3020
- ${!this.unstyled && S(this, Ye)}
3019
+ ${_(this, qe)}
3020
+ ${!this.unstyled && _(this, Ye)}
3021
3021
  </style>
3022
3022
  ${F(
3023
3023
  this.layerLegend,
@@ -3027,12 +3027,12 @@ class Ao extends tt {
3027
3027
  <color-legend
3028
3028
  id="${this.layer.get("id")}"
3029
3029
  width=${this.layerLegend.width ?? 325}
3030
- scaleType="${Pe(this.layerLegend.scaleType)}"
3031
- markType="${Pe(this.layerLegend.markType)}"
3032
- titleText="${Pe(this.layerLegend.title)}"
3030
+ scaleType="${De(this.layerLegend.scaleType)}"
3031
+ markType="${De(this.layerLegend.markType)}"
3032
+ titleText="${De(this.layerLegend.title)}"
3033
3033
  .range=${this.layerLegend.range}
3034
3034
  .domain=${this.layerLegend.domain}
3035
- tickFormat="${Pe(this.layerLegend.tickFormat)}"
3035
+ tickFormat="${De(this.layerLegend.tickFormat)}"
3036
3036
  .ticks=${this.layerLegend.ticks ?? 5}
3037
3037
  .tickValues=${this.layerLegend.tickValues}
3038
3038
  >
@@ -3058,26 +3058,26 @@ var pt, Yt, be, ve, Ui, We, Ge;
3058
3058
  class _o extends tt {
3059
3059
  constructor() {
3060
3060
  super();
3061
- C(this, ve);
3061
+ T(this, ve);
3062
3062
  /**
3063
3063
  * data input by the user
3064
3064
  *
3065
3065
  * @type {{[key: string]: any}}
3066
3066
  */
3067
- C(this, pt, {});
3067
+ T(this, pt, {});
3068
3068
  /**
3069
3069
  * data input by the user
3070
3070
  *
3071
3071
  * @type {{[key: string]: any}}
3072
3072
  */
3073
- C(this, Yt, null);
3073
+ T(this, Yt, null);
3074
3074
  /**
3075
3075
  * Original tile url function, if it exist
3076
3076
  *
3077
3077
  * @type {Function}
3078
3078
  */
3079
- C(this, be);
3080
- C(this, We, Hn`
3079
+ T(this, be);
3080
+ T(this, We, Hn`
3081
3081
  color-legend {
3082
3082
  --cle-background: transparent;
3083
3083
  --cle-font-family: inherit;
@@ -3086,8 +3086,8 @@ class _o extends tt {
3086
3086
  --cle-letter-spacing-title: inherit;
3087
3087
  }
3088
3088
  `);
3089
- C(this, Ge, "");
3090
- this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.throttleDataChange = Dn(V(this, ve, Ui), 1e3);
3089
+ T(this, Ge, "");
3090
+ this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.throttleDataChange = Pn(V(this, ve, Ui), 1e3);
3091
3091
  }
3092
3092
  /** Decide what type of throttling to do based on layerConfig type
3093
3093
  *
@@ -3096,7 +3096,7 @@ class _o extends tt {
3096
3096
  updated(i) {
3097
3097
  if (i.has("layerConfig")) {
3098
3098
  const n = this.layerConfig.type === "style" || this.layerConfig.style ? 100 : 1e3;
3099
- this.throttleDataChange = Dn(V(this, ve, Ui), n), this.requestUpdate();
3099
+ this.throttleDataChange = Pn(V(this, ve, Ui), n), this.requestUpdate();
3100
3100
  }
3101
3101
  }
3102
3102
  /**
@@ -3109,7 +3109,7 @@ class _o extends tt {
3109
3109
  * Renders a JSON form for configuration options of a layer.
3110
3110
  */
3111
3111
  render() {
3112
- kt(this, Yt, Zs(this.layer, this.layerConfig)), Object.keys(S(this, pt)).length !== 0 && kt(this, Yt, S(this, pt)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
3112
+ kt(this, Yt, Zs(this.layer, this.layerConfig)), Object.keys(_(this, pt)).length !== 0 && kt(this, Yt, _(this, pt)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
3113
3113
  const i = {
3114
3114
  disable_edit_json: !0,
3115
3115
  disable_collapse: !0,
@@ -3117,8 +3117,8 @@ class _o extends tt {
3117
3117
  };
3118
3118
  return $`
3119
3119
  <style>
3120
- ${S(this, We)}
3121
- ${!this.unstyled && S(this, Ge)}
3120
+ ${_(this, We)}
3121
+ ${!this.unstyled && _(this, Ge)}
3122
3122
  </style>
3123
3123
  ${F(
3124
3124
  this.layerConfig,
@@ -3132,7 +3132,7 @@ class _o extends tt {
3132
3132
  .layer=${this.layer}
3133
3133
  .layerLegend=${js(
3134
3134
  this.layerConfig.legend,
3135
- S(this, pt)
3135
+ _(this, pt)
3136
3136
  )}
3137
3137
  ></eox-layercontrol-layer-legend>
3138
3138
  `
@@ -3140,7 +3140,7 @@ class _o extends tt {
3140
3140
  <!-- Render a JSON form for layer configuration -->
3141
3141
  <eox-jsonform
3142
3142
  .schema=${this.layerConfig.schema}
3143
- .value=${S(this, Yt)}
3143
+ .value=${_(this, Yt)}
3144
3144
  .options=${i}
3145
3145
  @change=${this.throttleDataChange}
3146
3146
  ></eox-jsonform>
@@ -3155,11 +3155,11 @@ pt = new WeakMap(), Yt = new WeakMap(), be = new WeakMap(), ve = new WeakSet(),
3155
3155
  * @param {{ detail: { value: string; }; }} e
3156
3156
  */
3157
3157
  Ui = function(i) {
3158
- kt(this, pt, i.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Us(S(this, pt), this.layer, this.layerConfig) : console.error(
3158
+ kt(this, pt, i.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Us(_(this, pt), this.layer, this.layerConfig) : console.error(
3159
3159
  `Layer type ${this.layer.get("type") ?? ""} does not support styles configuration`
3160
3160
  ) : kt(this, be, ks(
3161
- S(this, pt),
3162
- S(this, be),
3161
+ _(this, pt),
3162
+ _(this, be),
3163
3163
  this
3164
3164
  )), this.requestUpdate();
3165
3165
  }, We = new WeakMap(), Ge = new WeakMap(), // Define static properties for the component
@@ -3177,9 +3177,9 @@ var Je, To, Ke, Qe;
3177
3177
  class Co extends tt {
3178
3178
  constructor() {
3179
3179
  super();
3180
- C(this, Je);
3181
- C(this, Ke, "");
3182
- C(this, Qe, "");
3180
+ T(this, Je);
3181
+ T(this, Ke, "");
3182
+ T(this, Qe, "");
3183
3183
  this.unstyled = !1, this.noShadow = !1, this.layerDatetime = null, this.layer = null;
3184
3184
  }
3185
3185
  /**
@@ -3196,8 +3196,8 @@ class Co extends tt {
3196
3196
  "Please import @eox/timecontrol in order to use layerDatetime"
3197
3197
  ), $`
3198
3198
  <style>
3199
- ${S(this, Ke)}
3200
- ${!this.unstyled && S(this, Qe)}
3199
+ ${_(this, Ke)}
3200
+ ${!this.unstyled && _(this, Qe)}
3201
3201
  </style>
3202
3202
  ${F(
3203
3203
  this.layerDatetime,
@@ -3247,12 +3247,12 @@ customElements.define(
3247
3247
  Co
3248
3248
  );
3249
3249
  var we, ti, ei;
3250
- class Po extends tt {
3250
+ class Do extends tt {
3251
3251
  constructor() {
3252
3252
  super();
3253
3253
  /** @param {number} index */
3254
- C(this, we, (i) => (this.selectedTab === i || this.toolsAsList) && "highlighted");
3255
- C(this, ti, `
3254
+ T(this, we, (i) => (this.selectedTab === i || this.toolsAsList) && "highlighted");
3255
+ T(this, ti, `
3256
3256
  .tabbed figure {
3257
3257
  margin: 0;
3258
3258
  }
@@ -3273,7 +3273,7 @@ class Po extends tt {
3273
3273
  background: lightgrey;
3274
3274
  }
3275
3275
  `);
3276
- C(this, ei, `
3276
+ T(this, ei, `
3277
3277
  .listed {
3278
3278
  background: #ffffff !important;
3279
3279
  display: flex;
@@ -3316,8 +3316,8 @@ class Po extends tt {
3316
3316
  const i = this.tabs, n = this.actions, o = n.length + i.length > 1;
3317
3317
  return $`
3318
3318
  <style>
3319
- ${S(this, ti)}
3320
- ${!this.unstyled && S(this, ei)}
3319
+ ${_(this, ti)}
3320
+ ${!this.unstyled && _(this, ei)}
3321
3321
  </style>
3322
3322
  <div class="tabbed">
3323
3323
  <!-- Navigation for tabs and actions -->
@@ -3334,7 +3334,7 @@ class Po extends tt {
3334
3334
  i,
3335
3335
  (r, s) => $`
3336
3336
  <label
3337
- class=${S(this, we).call(this, s)}
3337
+ class=${_(this, we).call(this, s)}
3338
3338
  @click=${() => this.selectedTab = s}
3339
3339
  >
3340
3340
  <!-- Customizable icon for each tab -->
@@ -3374,7 +3374,7 @@ class Po extends tt {
3374
3374
  </label>
3375
3375
  `
3376
3376
  )}
3377
- <div class="tab ${S(this, we).call(this, s)}">
3377
+ <div class="tab ${_(this, we).call(this, s)}">
3378
3378
  <!-- Content slot for each tab -->
3379
3379
  <slot name=${`${r}-content`}>${r}</slot>
3380
3380
  </div>
@@ -3386,7 +3386,7 @@ class Po extends tt {
3386
3386
  }
3387
3387
  }
3388
3388
  we = new WeakMap(), ti = new WeakMap(), ei = new WeakMap(), // Define static properties for the component
3389
- I(Po, "properties", {
3389
+ I(Do, "properties", {
3390
3390
  actions: { attribute: !1 },
3391
3391
  selectedTab: { state: !0 },
3392
3392
  tabs: { attribute: !1 },
@@ -3394,7 +3394,7 @@ I(Po, "properties", {
3394
3394
  noShadow: { type: Boolean },
3395
3395
  toolsAsList: { type: Boolean }
3396
3396
  });
3397
- customElements.define("eox-layercontrol-tools-items", Po);
3397
+ customElements.define("eox-layercontrol-tools-items", Do);
3398
3398
  const ga = `
3399
3399
  button,
3400
3400
  .button {
@@ -3547,7 +3547,7 @@ input[type=radio]:checked:after {
3547
3547
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");
3548
3548
 
3549
3549
  }
3550
- `, Do = `
3550
+ `, Po = `
3551
3551
  input[type=checkbox] {
3552
3552
  appearance: none;
3553
3553
  -webkit-appearance: none;
@@ -3733,11 +3733,11 @@ class Oo extends tt {
3733
3733
  <div slot="sort-icon">${this._sortButton()}</div>
3734
3734
  `;
3735
3735
  });
3736
- C(this, ii, "");
3737
- C(this, ni, `
3736
+ T(this, ii, "");
3737
+ T(this, ni, `
3738
3738
  ${ga}
3739
3739
  ${ma}
3740
- ${Do}
3740
+ ${Po}
3741
3741
  ${ya}
3742
3742
  .drag-handle {
3743
3743
  cursor: n-resize;
@@ -3859,11 +3859,11 @@ class Oo extends tt {
3859
3859
  const i = zs(this.tools, this.layer), n = Xs(this.tools, this.layer), o = this[`_${i == null ? void 0 : i[0]}Button`] ? (
3860
3860
  // @ts-expect-error TODO
3861
3861
  this[`_${i == null ? void 0 : i[0]}Button`]()
3862
- ) : P, r = ((l = this.tools) == null ? void 0 : l.length) === 1 ? `${this.tools[0]}-icon` : "", s = i == null ? void 0 : i.length, a = n == null ? void 0 : n.length;
3862
+ ) : D, r = ((l = this.tools) == null ? void 0 : l.length) === 1 ? `${this.tools[0]}-icon` : "", s = i == null ? void 0 : i.length, a = n == null ? void 0 : n.length;
3863
3863
  return $`
3864
3864
  <style>
3865
- ${S(this, ii)}
3866
- ${!this.unstyled && S(this, ni)}
3865
+ ${_(this, ii)}
3866
+ ${!this.unstyled && _(this, ni)}
3867
3867
  </style>
3868
3868
  ${F(
3869
3869
  s + a > 0,
@@ -3878,7 +3878,7 @@ class Oo extends tt {
3878
3878
  () => $`
3879
3879
  <details
3880
3880
  class="tools"
3881
- open=${this.layer.get("layerControlToolsExpand") || P}
3881
+ open=${this.layer.get("layerControlToolsExpand") || D}
3882
3882
  >
3883
3883
  <summary>
3884
3884
  <button class="icon ${r}">Tools</button>
@@ -3943,20 +3943,20 @@ const ba = (e) => {
3943
3943
  new CustomEvent("changed", { bubbles: !0, detail: i })
3944
3944
  ), t.requestUpdate();
3945
3945
  };
3946
- var Pt, He, Lo, oi, ri;
3946
+ var Dt, He, Lo, oi, ri;
3947
3947
  class Ro extends tt {
3948
3948
  constructor() {
3949
3949
  super();
3950
- C(this, Pt);
3950
+ T(this, Dt);
3951
3951
  /**
3952
3952
  * Represents the current layer visibility based on zoom level.
3953
3953
  *
3954
3954
  * @type {Boolean}
3955
3955
  */
3956
3956
  I(this, "currLayerVisibilityBasedOnZoom", !0);
3957
- C(this, oi, "");
3958
- C(this, ri, `
3959
- ${Do}
3957
+ T(this, oi, "");
3958
+ T(this, ri, `
3959
+ ${Po}
3960
3960
  eox-layercontrol-layer {
3961
3961
  width: 100%;
3962
3962
  }
@@ -4028,11 +4028,11 @@ class Ro extends tt {
4028
4028
  */
4029
4029
  render() {
4030
4030
  var l;
4031
- const i = this.layer.getVisible(), n = i ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = V(this, Pt, He).call(this, "layerControlDisable") ? "disabled" : "", s = V(this, Pt, He).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
4031
+ const i = this.layer.getVisible(), n = i ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = V(this, Dt, He).call(this, "layerControlDisable") ? "disabled" : "", s = V(this, Dt, He).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
4032
4032
  return $`
4033
4033
  <style>
4034
- ${S(this, oi)}
4035
- ${!this.unstyled && S(this, ri)}
4034
+ ${_(this, oi)}
4035
+ ${!this.unstyled && _(this, ri)}
4036
4036
  </style>
4037
4037
  ${F(
4038
4038
  this.layer,
@@ -4044,11 +4044,11 @@ class Ro extends tt {
4044
4044
  <input
4045
4045
  type=${s}
4046
4046
  .checked=${xo(i)}
4047
- @click=${V(this, Pt, Lo)}
4047
+ @click=${V(this, Dt, Lo)}
4048
4048
  />
4049
4049
 
4050
4050
  <!-- Layer title -->
4051
- <span class="title">${V(this, Pt, He).call(this, this.titleProperty)}</span>
4051
+ <span class="title">${V(this, Dt, He).call(this, this.titleProperty)}</span>
4052
4052
  ${F(
4053
4053
  a,
4054
4054
  () => $`<span class="tools-placeholder"></span>`
@@ -4069,7 +4069,7 @@ class Ro extends tt {
4069
4069
  `;
4070
4070
  }
4071
4071
  }
4072
- Pt = new WeakSet(), /**
4072
+ Dt = new WeakSet(), /**
4073
4073
  * Private method to get layer property by key if available.
4074
4074
  *
4075
4075
  * @param {string} key - The key for the layer property.
@@ -4101,8 +4101,8 @@ var si, ai;
4101
4101
  class Mo extends tt {
4102
4102
  constructor() {
4103
4103
  super();
4104
- C(this, si, "");
4105
- C(this, ai, `
4104
+ T(this, si, "");
4105
+ T(this, ai, `
4106
4106
  details summary {
4107
4107
  cursor: pointer;
4108
4108
  display: flex;
@@ -4147,15 +4147,15 @@ class Mo extends tt {
4147
4147
  )) == null ? void 0 : r.length;
4148
4148
  return $`
4149
4149
  <style>
4150
- ${S(this, si)}
4151
- ${!this.unstyled && S(this, ai)}
4150
+ ${_(this, si)}
4151
+ ${!this.unstyled && _(this, ai)}
4152
4152
  </style>
4153
4153
  ${F(
4154
4154
  this.group,
4155
4155
  () => $`
4156
4156
  <!-- Render the details element with the layer control -->
4157
4157
  <details
4158
- open=${i || P}
4158
+ open=${i || D}
4159
4159
  data-children-length=${n}
4160
4160
  >
4161
4161
  <summary>
@@ -4208,8 +4208,8 @@ customElements.define(
4208
4208
  "eox-layercontrol-layer-group",
4209
4209
  Mo
4210
4210
  );
4211
- var wa = "Expected a function", On = NaN, $a = "[object Symbol]", xa = /^\s+|\s+$/g, Ea = /^[-+]0x[0-9a-f]+$/i, Sa = /^0b[01]+$/i, Aa = /^0o[0-7]+$/i, _a = parseInt, Ca = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, Ta = typeof self == "object" && self && self.Object === Object && self, Pa = Ca || Ta || Function("return this")(), Da = Object.prototype, Oa = Da.toString, Ra = Math.max, La = Math.min, Mi = function() {
4212
- return Pa.Date.now();
4211
+ var wa = "Expected a function", On = NaN, $a = "[object Symbol]", xa = /^\s+|\s+$/g, Ea = /^[-+]0x[0-9a-f]+$/i, Sa = /^0b[01]+$/i, Aa = /^0o[0-7]+$/i, _a = parseInt, Ca = typeof Ct == "object" && Ct && Ct.Object === Object && Ct, Ta = typeof self == "object" && self && self.Object === Object && self, Da = Ca || Ta || Function("return this")(), Pa = Object.prototype, Oa = Pa.toString, Ra = Math.max, La = Math.min, Mi = function() {
4212
+ return Da.Date.now();
4213
4213
  };
4214
4214
  function Ma(e, t, i) {
4215
4215
  var n, o, r, s, a, l, d = 0, c = !1, u = !1, p = !0;
@@ -4227,13 +4227,13 @@ function Ma(e, t, i) {
4227
4227
  var O = b - l, z = b - d, U = t - O;
4228
4228
  return u ? La(U, r - z) : U;
4229
4229
  }
4230
- function D(b) {
4230
+ function P(b) {
4231
4231
  var O = b - l, z = b - d;
4232
4232
  return l === void 0 || O >= t || O < 0 || u && z >= r;
4233
4233
  }
4234
4234
  function M() {
4235
4235
  var b = Mi();
4236
- if (D(b))
4236
+ if (P(b))
4237
4237
  return H(b);
4238
4238
  a = setTimeout(M, y(b));
4239
4239
  }
@@ -4247,7 +4247,7 @@ function Ma(e, t, i) {
4247
4247
  return a === void 0 ? s : H(Mi());
4248
4248
  }
4249
4249
  function K() {
4250
- var b = Mi(), O = D(b);
4250
+ var b = Mi(), O = P(b);
4251
4251
  if (n = arguments, o = this, l = b, O) {
4252
4252
  if (a === void 0)
4253
4253
  return g(l);
@@ -4304,8 +4304,8 @@ var li, di;
4304
4304
  class Io extends tt {
4305
4305
  constructor() {
4306
4306
  super();
4307
- C(this, li, "");
4308
- C(this, di, `
4307
+ T(this, li, "");
4308
+ T(this, di, `
4309
4309
  ul {
4310
4310
  padding: 0;
4311
4311
  margin: 0;
@@ -4355,8 +4355,8 @@ class Io extends tt {
4355
4355
  const i = this.layers ? $o(this.layers).reverse() : [];
4356
4356
  return $`
4357
4357
  <style>
4358
- ${S(this, li)}
4359
- ${!this.unstyled && S(this, di)}
4358
+ ${_(this, li)}
4359
+ ${!this.unstyled && _(this, di)}
4360
4360
  </style>
4361
4361
  <ul>
4362
4362
  ${F(
@@ -4447,7 +4447,7 @@ var ui, Ho;
4447
4447
  class No extends tt {
4448
4448
  constructor() {
4449
4449
  super();
4450
- C(this, ui);
4450
+ T(this, ui);
4451
4451
  this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !1;
4452
4452
  }
4453
4453
  /**
@@ -4560,7 +4560,7 @@ var q, Bo, ko, ji, Uo, Fo, Ve, ci, hi;
4560
4560
  class Vo extends tt {
4561
4561
  constructor() {
4562
4562
  super();
4563
- C(this, q);
4563
+ T(this, q);
4564
4564
  /**
4565
4565
  * State for URL Input for WMS/XYZ URLs
4566
4566
  *
@@ -4591,7 +4591,7 @@ class Vo extends tt {
4591
4591
  * @type {import("wms-capabilities").WMSCapabilitiesJSON}
4592
4592
  */
4593
4593
  I(this, "wmsCapabilities", null);
4594
- C(this, ci, `
4594
+ T(this, ci, `
4595
4595
  .eox-add-layer-main .open {
4596
4596
  position: relative;
4597
4597
  }
@@ -4599,7 +4599,7 @@ class Vo extends tt {
4599
4599
  display: none;
4600
4600
  }
4601
4601
  `);
4602
- C(this, hi, `
4602
+ T(this, hi, `
4603
4603
  .eox-add {
4604
4604
  background: #f0f2f5;
4605
4605
  border-top: 1px solid #0041701a;
@@ -4748,11 +4748,11 @@ class Vo extends tt {
4748
4748
  * Handles input fields, search, and addition of layers.
4749
4749
  */
4750
4750
  render() {
4751
- const i = this.open ? "open" : "close", n = this.open === "url", o = this.open === "json", r = !ss(this.urlInput) || this.searchLoad ? !0 : P;
4751
+ const i = this.open ? "open" : "close", n = this.open === "url", o = this.open === "json", r = !ss(this.urlInput) || this.searchLoad ? !0 : D;
4752
4752
  return $`
4753
4753
  <style>
4754
- ${S(this, ci)}
4755
- ${!this.unstyled && S(this, hi)}
4754
+ ${_(this, ci)}
4755
+ ${!this.unstyled && _(this, hi)}
4756
4756
  </style>
4757
4757
  <div class="eox-add-layer-main">
4758
4758
  <div class="eox-add-layer-col">
@@ -4824,7 +4824,7 @@ class Vo extends tt {
4824
4824
  `;
4825
4825
  }
4826
4826
  )}
4827
- </ul>` : P}
4827
+ </ul>` : D}
4828
4828
  ` : $`
4829
4829
  <!-- Textarea for JSON input -->
4830
4830
  <textarea
@@ -4837,7 +4837,7 @@ class Vo extends tt {
4837
4837
  <!-- Button to add JSON layer -->
4838
4838
  <button
4839
4839
  class="add-layer-icon json-add-layer"
4840
- disabled=${as(this.jsonInput) ? P : !0}
4840
+ disabled=${as(this.jsonInput) ? D : !0}
4841
4841
  @click=${V(this, q, Uo)}
4842
4842
  >
4843
4843
  ${this.unstyled ? "Add JSON" : ""}
@@ -4912,14 +4912,14 @@ class jo extends tt {
4912
4912
  // Constructor to set default values for properties
4913
4913
  constructor() {
4914
4914
  super();
4915
- C(this, Gt);
4915
+ T(this, Gt);
4916
4916
  /**
4917
4917
  * Instance of `eox-map` which is a wrapper for the OL
4918
4918
  *
4919
4919
  * @type {import("../../map/src/main").EOxMap}
4920
4920
  */
4921
- C(this, At);
4922
- C(this, pi, `
4921
+ T(this, At);
4922
+ T(this, pi, `
4923
4923
  :host, :root {
4924
4924
  font-family: Roboto, sans-serif;
4925
4925
  --padding: 0.5rem;
@@ -4947,10 +4947,10 @@ class jo extends tt {
4947
4947
  i.has("for") && (this.eoxMap = Mn(this));
4948
4948
  }
4949
4949
  get eoxMap() {
4950
- return S(this, At);
4950
+ return _(this, At);
4951
4951
  }
4952
4952
  set eoxMap(i) {
4953
- const n = S(this, At);
4953
+ const n = _(this, At);
4954
4954
  kt(this, At, i), this.requestUpdate("eoxMap", n);
4955
4955
  }
4956
4956
  render() {
@@ -4958,17 +4958,17 @@ class jo extends tt {
4958
4958
  const i = (o = this.map) == null ? void 0 : o.getLayers().getArray(), n = i && ((r = nn(i, "layerControlOptional", !0)) == null ? void 0 : r.length) > 0;
4959
4959
  return $`
4960
4960
  <style>
4961
- ${!this.unstyled && S(this, pi)}
4961
+ ${!this.unstyled && _(this, pi)}
4962
4962
  ${this.styleOverride}
4963
4963
  </style>
4964
4964
 
4965
4965
  <!-- Conditional rendering of add layers component -->
4966
4966
  ${F(
4967
- this.addExternalLayers && ((s = S(this, At)) == null ? void 0 : s.addOrUpdateLayer),
4967
+ this.addExternalLayers && ((s = _(this, At)) == null ? void 0 : s.addOrUpdateLayer),
4968
4968
  () => $`
4969
4969
  <eox-layercontrol-add-layers
4970
4970
  .noShadow=${!0}
4971
- .eoxMap=${S(this, At)}
4971
+ .eoxMap=${_(this, At)}
4972
4972
  .unstyled=${this.unstyled}
4973
4973
  ></eox-layercontrol-add-layers>
4974
4974
  `