@eox/layercontrol 0.18.1 → 0.19.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,19 +1,19 @@
1
- var To = Object.defineProperty;
2
- var qn = (e) => {
1
+ var Po = Object.defineProperty;
2
+ var Yn = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var Po = (e, t, n) => t in e ? To(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
- var H = (e, t, n) => Po(e, typeof t != "symbol" ? t + "" : t, n), cn = (e, t, n) => t.has(e) || qn("Cannot " + n);
7
- var O = (e, t, n) => (cn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), T = (e, t, n) => t.has(e) ? qn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Kt = (e, t, n, i) => (cn(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), k = (e, t, n) => (cn(e, t, "access private method"), n);
5
+ var Oo = (e, t, n) => t in e ? Po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
+ var H = (e, t, n) => Oo(e, typeof t != "symbol" ? t + "" : t, n), cn = (e, t, n) => t.has(e) || Yn("Cannot " + n);
7
+ var T = (e, t, n) => (cn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), P = (e, t, n) => t.has(e) ? Yn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Kt = (e, t, n, i) => (cn(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), k = (e, t, n) => (cn(e, t, "access private method"), n);
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
11
11
  * SPDX-License-Identifier: BSD-3-Clause
12
12
  */
13
- const Ce = globalThis, Hn = Ce.ShadowRoot && (Ce.ShadyCSS === void 0 || Ce.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, wi = Symbol(), Wn = /* @__PURE__ */ new WeakMap();
14
- let Oo = class {
13
+ const Ce = globalThis, Hn = Ce.ShadowRoot && (Ce.ShadyCSS === void 0 || Ce.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ei = Symbol(), Wn = /* @__PURE__ */ new WeakMap();
14
+ let Ro = class {
15
15
  constructor(t, n, i) {
16
- if (this._$cssResult$ = !0, i !== wi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
16
+ if (this._$cssResult$ = !0, i !== Ei) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
17
17
  this.cssText = t, this.t = n;
18
18
  }
19
19
  get styleSheet() {
@@ -29,7 +29,7 @@ let Oo = class {
29
29
  return this.cssText;
30
30
  }
31
31
  };
32
- const Ro = (e) => new Oo(typeof e == "string" ? e : e + "", void 0, wi), Do = (e, t) => {
32
+ const Do = (e) => new Ro(typeof e == "string" ? e : e + "", void 0, Ei), Mo = (e, t) => {
33
33
  if (Hn) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
34
34
  else for (const n of t) {
35
35
  const i = document.createElement("style"), o = Ce.litNonce;
@@ -38,17 +38,17 @@ const Ro = (e) => new Oo(typeof e == "string" ? e : e + "", void 0, wi), Do = (e
38
38
  }, Gn = Hn ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
39
39
  let n = "";
40
40
  for (const i of t.cssRules) n += i.cssText;
41
- return Ro(n);
41
+ return Do(n);
42
42
  })(e) : e;
43
43
  /**
44
44
  * @license
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: No, defineProperty: Mo, getOwnPropertyDescriptor: Io, getOwnPropertyNames: Ho, getOwnPropertySymbols: Bo, getPrototypeOf: Vo } = Object, _t = globalThis, Jn = _t.trustedTypes, Lo = Jn ? Jn.emptyScript : "", dn = _t.reactiveElementPolyfillSupport, oe = (e, t) => e, Tn = { toAttribute(e, t) {
48
+ const { is: No, defineProperty: Io, getOwnPropertyDescriptor: Ho, getOwnPropertyNames: Bo, getOwnPropertySymbols: Vo, getPrototypeOf: Lo } = Object, At = globalThis, Jn = At.trustedTypes, ko = Jn ? Jn.emptyScript : "", dn = At.reactiveElementPolyfillSupport, oe = (e, t) => e, Tn = { toAttribute(e, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- e = e ? Lo : null;
51
+ e = e ? ko : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,9 +73,9 @@ const { is: No, defineProperty: Mo, getOwnPropertyDescriptor: Io, getOwnProperty
73
73
  }
74
74
  }
75
75
  return n;
76
- } }, Ei = (e, t) => !No(e, t), Kn = { attribute: !0, type: String, converter: Tn, reflect: !1, hasChanged: Ei };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), _t.litPropertyMetadata ?? (_t.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- class Lt extends HTMLElement {
76
+ } }, xi = (e, t) => !No(e, t), Kn = { attribute: !0, type: String, converter: Tn, reflect: !1, hasChanged: xi };
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), At.litPropertyMetadata ?? (At.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
+ class kt extends HTMLElement {
79
79
  static addInitializer(t) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(t);
81
81
  }
@@ -85,11 +85,11 @@ class Lt extends HTMLElement {
85
85
  static createProperty(t, n = Kn) {
86
86
  if (n.state && (n.attribute = !1), this._$Ei(), this.elementProperties.set(t, n), !n.noAccessor) {
87
87
  const i = Symbol(), o = this.getPropertyDescriptor(t, i, n);
88
- o !== void 0 && Mo(this.prototype, t, o);
88
+ o !== void 0 && Io(this.prototype, t, o);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, n, i) {
92
- const { get: o, set: r } = Io(this.prototype, t) ?? { get() {
92
+ const { get: o, set: r } = Ho(this.prototype, t) ?? { get() {
93
93
  return this[n];
94
94
  }, set(s) {
95
95
  this[n] = s;
@@ -106,13 +106,13 @@ class Lt extends HTMLElement {
106
106
  }
107
107
  static _$Ei() {
108
108
  if (this.hasOwnProperty(oe("elementProperties"))) return;
109
- const t = Vo(this);
109
+ const t = Lo(this);
110
110
  t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
111
111
  }
112
112
  static finalize() {
113
113
  if (this.hasOwnProperty(oe("finalized"))) return;
114
114
  if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(oe("properties"))) {
115
- const n = this.properties, i = [...Ho(n), ...Bo(n)];
115
+ const n = this.properties, i = [...Bo(n), ...Vo(n)];
116
116
  for (const o of i) this.createProperty(o, n[o]);
117
117
  }
118
118
  const t = this[Symbol.metadata];
@@ -161,7 +161,7 @@ class Lt extends HTMLElement {
161
161
  }
162
162
  createRenderRoot() {
163
163
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
164
- return Do(t, this.constructor.elementStyles), t;
164
+ return Mo(t, this.constructor.elementStyles), t;
165
165
  }
166
166
  connectedCallback() {
167
167
  var t;
@@ -200,7 +200,7 @@ class Lt extends HTMLElement {
200
200
  }
201
201
  requestUpdate(t, n, i) {
202
202
  if (t !== void 0) {
203
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Ei)(this[t], n)) return;
203
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? xi)(this[t], n)) return;
204
204
  this.P(t, n, i);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -273,37 +273,37 @@ class Lt extends HTMLElement {
273
273
  firstUpdated(t) {
274
274
  }
275
275
  }
276
- Lt.elementStyles = [], Lt.shadowRootOptions = { mode: "open" }, Lt[oe("elementProperties")] = /* @__PURE__ */ new Map(), Lt[oe("finalized")] = /* @__PURE__ */ new Map(), dn == null || dn({ ReactiveElement: Lt }), (_t.reactiveElementVersions ?? (_t.reactiveElementVersions = [])).push("2.0.4");
276
+ kt.elementStyles = [], kt.shadowRootOptions = { mode: "open" }, kt[oe("elementProperties")] = /* @__PURE__ */ new Map(), kt[oe("finalized")] = /* @__PURE__ */ new Map(), dn == null || dn({ ReactiveElement: kt }), (At.reactiveElementVersions ?? (At.reactiveElementVersions = [])).push("2.0.4");
277
277
  /**
278
278
  * @license
279
279
  * Copyright 2017 Google LLC
280
280
  * SPDX-License-Identifier: BSD-3-Clause
281
281
  */
282
- const re = globalThis, He = re.trustedTypes, Qn = He ? He.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Bn = "$lit$", pt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vn = "?" + pt, ko = `<${Vn}>`, It = document, de = () => It.createComment(""), he = (e) => e === null || typeof e != "object" && typeof e != "function", xi = Array.isArray, Si = (e) => xi(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", hn = `[
283
- \f\r]`, Qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ti = /-->/g, ei = />/g, Tt = RegExp(`>|${hn}(?:([^\\s"'>=/]+)(${hn}*=${hn}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ni = /'/g, ii = /"/g, $i = /^(?:script|style|textarea|title)$/i, Uo = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), x = Uo(1), ot = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), oi = /* @__PURE__ */ new WeakMap(), Nt = It.createTreeWalker(It, 129);
285
- function _i(e, t) {
282
+ const re = globalThis, He = re.trustedTypes, Qn = He ? He.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Bn = "$lit$", pt = `lit$${Math.random().toFixed(9).slice(2)}$`, Vn = "?" + pt, Uo = `<${Vn}>`, Ht = document, de = () => Ht.createComment(""), he = (e) => e === null || typeof e != "object" && typeof e != "function", Si = Array.isArray, $i = (e) => Si(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", hn = `[
283
+ \f\r]`, Qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ti = /-->/g, ei = />/g, Pt = RegExp(`>|${hn}(?:([^\\s"'>=/]+)(${hn}*=${hn}*(?:[^
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), ni = /'/g, ii = /"/g, _i = /^(?:script|style|textarea|title)$/i, Fo = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), x = Fo(1), ot = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), oi = /* @__PURE__ */ new WeakMap(), Nt = Ht.createTreeWalker(Ht, 129);
285
+ function Ai(e, t) {
286
286
  if (!Array.isArray(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
287
  return Qn !== void 0 ? Qn.createHTML(t) : t;
288
288
  }
289
- const Ai = (e, t) => {
289
+ const Ci = (e, t) => {
290
290
  const n = e.length - 1, i = [];
291
291
  let o, r = t === 2 ? "<svg>" : "", s = Qt;
292
292
  for (let a = 0; a < n; a++) {
293
293
  const l = e[a];
294
294
  let u, d, c = -1, p = 0;
295
- for (; p < l.length && (s.lastIndex = p, d = s.exec(l), d !== null); ) p = s.lastIndex, s === Qt ? d[1] === "!--" ? s = ti : d[1] !== void 0 ? s = ei : d[2] !== void 0 ? ($i.test(d[2]) && (o = RegExp("</" + d[2], "g")), s = Tt) : d[3] !== void 0 && (s = Tt) : s === Tt ? d[0] === ">" ? (s = o ?? Qt, c = -1) : d[1] === void 0 ? c = -2 : (c = s.lastIndex - d[2].length, u = d[1], s = d[3] === void 0 ? Tt : d[3] === '"' ? ii : ni) : s === ii || s === ni ? s = Tt : s === ti || s === ei ? s = Qt : (s = Tt, o = void 0);
296
- const f = s === Tt && e[a + 1].startsWith("/>") ? " " : "";
297
- r += s === Qt ? l + ko : c >= 0 ? (i.push(u), l.slice(0, c) + Bn + l.slice(c) + pt + f) : l + pt + (c === -2 ? a : f);
295
+ for (; p < l.length && (s.lastIndex = p, d = s.exec(l), d !== null); ) p = s.lastIndex, s === Qt ? d[1] === "!--" ? s = ti : d[1] !== void 0 ? s = ei : d[2] !== void 0 ? (_i.test(d[2]) && (o = RegExp("</" + d[2], "g")), s = Pt) : d[3] !== void 0 && (s = Pt) : s === Pt ? d[0] === ">" ? (s = o ?? Qt, c = -1) : d[1] === void 0 ? c = -2 : (c = s.lastIndex - d[2].length, u = d[1], s = d[3] === void 0 ? Pt : d[3] === '"' ? ii : ni) : s === ii || s === ni ? s = Pt : s === ti || s === ei ? s = Qt : (s = Pt, o = void 0);
296
+ const f = s === Pt && e[a + 1].startsWith("/>") ? " " : "";
297
+ r += s === Qt ? l + Uo : c >= 0 ? (i.push(u), l.slice(0, c) + Bn + l.slice(c) + pt + f) : l + pt + (c === -2 ? a : f);
298
298
  }
299
- return [_i(e, r + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), i];
299
+ return [Ai(e, r + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), i];
300
300
  };
301
301
  class pe {
302
302
  constructor({ strings: t, _$litType$: n }, i) {
303
303
  let o;
304
304
  this.parts = [];
305
305
  let r = 0, s = 0;
306
- const a = t.length - 1, l = this.parts, [u, d] = Ai(t, n);
306
+ const a = t.length - 1, l = this.parts, [u, d] = Ci(t, n);
307
307
  if (this.el = pe.createElement(u, i), Nt.currentNode = this.el.content, n === 2) {
308
308
  const c = this.el.content.firstChild;
309
309
  c.replaceWith(...c.childNodes);
@@ -312,9 +312,9 @@ class pe {
312
312
  if (o.nodeType === 1) {
313
313
  if (o.hasAttributes()) for (const c of o.getAttributeNames()) if (c.endsWith(Bn)) {
314
314
  const p = d[s++], f = o.getAttribute(c).split(pt), g = /([.?@])?(.*)/.exec(p);
315
- l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Ti : g[1] === "?" ? Pi : g[1] === "@" ? Oi : be }), o.removeAttribute(c);
315
+ l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Pi : g[1] === "?" ? Oi : g[1] === "@" ? Ri : be }), o.removeAttribute(c);
316
316
  } else c.startsWith(pt) && (l.push({ type: 6, index: r }), o.removeAttribute(c));
317
- if ($i.test(o.tagName)) {
317
+ if (_i.test(o.tagName)) {
318
318
  const c = o.textContent.split(pt), p = c.length - 1;
319
319
  if (p > 0) {
320
320
  o.textContent = He ? He.emptyScript : "";
@@ -331,18 +331,18 @@ class pe {
331
331
  }
332
332
  }
333
333
  static createElement(t, n) {
334
- const i = It.createElement("template");
334
+ const i = Ht.createElement("template");
335
335
  return i.innerHTML = t, i;
336
336
  }
337
337
  }
338
- function Ht(e, t, n = e, i) {
338
+ function Bt(e, t, n = e, i) {
339
339
  var s, a;
340
340
  if (t === ot) return t;
341
341
  let o = i !== void 0 ? (s = n._$Co) == null ? void 0 : s[i] : n._$Cl;
342
342
  const r = he(t) ? void 0 : t._$litDirective$;
343
- return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(e), o._$AT(e, n, i)), i !== void 0 ? (n._$Co ?? (n._$Co = []))[i] = o : n._$Cl = o), o !== void 0 && (t = Ht(e, o._$AS(e, t.values), o, i)), t;
343
+ return (o == null ? void 0 : o.constructor) !== r && ((a = o == null ? void 0 : o._$AO) == null || a.call(o, !1), r === void 0 ? o = void 0 : (o = new r(e), o._$AT(e, n, i)), i !== void 0 ? (n._$Co ?? (n._$Co = []))[i] = o : n._$Cl = o), o !== void 0 && (t = Bt(e, o._$AS(e, t.values), o, i)), t;
344
344
  }
345
- class Ci {
345
+ class Ti {
346
346
  constructor(t, n) {
347
347
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = n;
348
348
  }
@@ -353,24 +353,24 @@ class Ci {
353
353
  return this._$AM._$AU;
354
354
  }
355
355
  u(t) {
356
- const { el: { content: n }, parts: i } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? It).importNode(n, !0);
356
+ const { el: { content: n }, parts: i } = this._$AD, o = ((t == null ? void 0 : t.creationScope) ?? Ht).importNode(n, !0);
357
357
  Nt.currentNode = o;
358
358
  let r = Nt.nextNode(), s = 0, a = 0, l = i[0];
359
359
  for (; l !== void 0; ) {
360
360
  if (s === l.index) {
361
361
  let u;
362
- l.type === 2 ? u = new Yt(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Ri(r, this, t)), this._$AV.push(u), l = i[++a];
362
+ l.type === 2 ? u = new qt(r, r.nextSibling, this, t) : l.type === 1 ? u = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (u = new Di(r, this, t)), this._$AV.push(u), l = i[++a];
363
363
  }
364
364
  s !== (l == null ? void 0 : l.index) && (r = Nt.nextNode(), s++);
365
365
  }
366
- return Nt.currentNode = It, o;
366
+ return Nt.currentNode = Ht, o;
367
367
  }
368
368
  p(t) {
369
369
  let n = 0;
370
370
  for (const i of this._$AV) i !== void 0 && (i.strings !== void 0 ? (i._$AI(t, i, n), n += i.strings.length - 2) : i._$AI(t[n])), n++;
371
371
  }
372
372
  }
373
- class Yt {
373
+ class qt {
374
374
  get _$AU() {
375
375
  var t;
376
376
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -390,7 +390,7 @@ class Yt {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(t, n = this) {
393
- t = Ht(this, t, n), he(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== ot && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Si(t) ? this.k(t) : this._(t);
393
+ t = Bt(this, t, n), he(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== ot && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : $i(t) ? this.k(t) : this._(t);
394
394
  }
395
395
  S(t) {
396
396
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -399,14 +399,14 @@ class Yt {
399
399
  this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
400
400
  }
401
401
  _(t) {
402
- this._$AH !== C && he(this._$AH) ? this._$AA.nextSibling.data = t : this.T(It.createTextNode(t)), this._$AH = t;
402
+ this._$AH !== C && he(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ht.createTextNode(t)), this._$AH = t;
403
403
  }
404
404
  $(t) {
405
405
  var r;
406
- const { values: n, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = pe.createElement(_i(i.h, i.h[0]), this.options)), i);
406
+ const { values: n, _$litType$: i } = t, o = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = pe.createElement(Ai(i.h, i.h[0]), this.options)), i);
407
407
  if (((r = this._$AH) == null ? void 0 : r._$AD) === o) this._$AH.p(n);
408
408
  else {
409
- const s = new Ci(o, this), a = s.u(this.options);
409
+ const s = new Ti(o, this), a = s.u(this.options);
410
410
  s.p(n), this.T(a), this._$AH = s;
411
411
  }
412
412
  }
@@ -415,10 +415,10 @@ class Yt {
415
415
  return n === void 0 && oi.set(t.strings, n = new pe(t)), n;
416
416
  }
417
417
  k(t) {
418
- xi(this._$AH) || (this._$AH = [], this._$AR());
418
+ Si(this._$AH) || (this._$AH = [], this._$AR());
419
419
  const n = this._$AH;
420
420
  let i, o = 0;
421
- for (const r of t) o === n.length ? n.push(i = new Yt(this.S(de()), this.S(de()), this, this.options)) : i = n[o], i._$AI(r), o++;
421
+ for (const r of t) o === n.length ? n.push(i = new qt(this.S(de()), this.S(de()), this, this.options)) : i = n[o], i._$AI(r), o++;
422
422
  o < n.length && (this._$AR(i && i._$AB.nextSibling, o), n.length = o);
423
423
  }
424
424
  _$AR(t = this._$AA.nextSibling, n) {
@@ -446,11 +446,11 @@ class be {
446
446
  _$AI(t, n = this, i, o) {
447
447
  const r = this.strings;
448
448
  let s = !1;
449
- if (r === void 0) t = Ht(this, t, n, 0), s = !he(t) || t !== this._$AH && t !== ot, s && (this._$AH = t);
449
+ if (r === void 0) t = Bt(this, t, n, 0), s = !he(t) || t !== this._$AH && t !== ot, s && (this._$AH = t);
450
450
  else {
451
451
  const a = t;
452
452
  let l, u;
453
- for (t = r[0], l = 0; l < r.length - 1; l++) u = Ht(this, a[i + l], n, l), u === ot && (u = this._$AH[l]), s || (s = !he(u) || u !== this._$AH[l]), u === C ? t = C : t !== C && (t += (u ?? "") + r[l + 1]), this._$AH[l] = u;
453
+ for (t = r[0], l = 0; l < r.length - 1; l++) u = Bt(this, a[i + l], n, l), u === ot && (u = this._$AH[l]), s || (s = !he(u) || u !== this._$AH[l]), u === C ? t = C : t !== C && (t += (u ?? "") + r[l + 1]), this._$AH[l] = u;
454
454
  }
455
455
  s && !o && this.j(t);
456
456
  }
@@ -458,7 +458,7 @@ class be {
458
458
  t === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
459
459
  }
460
460
  }
461
- class Ti extends be {
461
+ class Pi extends be {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
@@ -466,7 +466,7 @@ class Ti extends be {
466
466
  this.element[this.name] = t === C ? void 0 : t;
467
467
  }
468
468
  }
469
- class Pi extends be {
469
+ class Oi extends be {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
@@ -474,12 +474,12 @@ class Pi extends be {
474
474
  this.element.toggleAttribute(this.name, !!t && t !== C);
475
475
  }
476
476
  }
477
- class Oi extends be {
477
+ class Ri extends be {
478
478
  constructor(t, n, i, o, r) {
479
479
  super(t, n, i, o, r), this.type = 5;
480
480
  }
481
481
  _$AI(t, n = this) {
482
- if ((t = Ht(this, t, n, 0) ?? C) === ot) return;
482
+ if ((t = Bt(this, t, n, 0) ?? C) === ot) return;
483
483
  const i = this._$AH, o = t === C && i !== C || t.capture !== i.capture || t.once !== i.once || t.passive !== i.passive, r = t !== C && (i === C || o);
484
484
  o && this.element.removeEventListener(this.name, this, i), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
485
485
  }
@@ -488,7 +488,7 @@ class Oi extends be {
488
488
  typeof this._$AH == "function" ? this._$AH.call(((n = this.options) == null ? void 0 : n.host) ?? this.element, t) : this._$AH.handleEvent(t);
489
489
  }
490
490
  }
491
- class Ri {
491
+ class Di {
492
492
  constructor(t, n, i) {
493
493
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = n, this.options = i;
494
494
  }
@@ -496,17 +496,17 @@ class Ri {
496
496
  return this._$AM._$AU;
497
497
  }
498
498
  _$AI(t) {
499
- Ht(this, t);
499
+ Bt(this, t);
500
500
  }
501
501
  }
502
- const Fo = { P: Bn, A: pt, C: Vn, M: 1, L: Ai, R: Ci, D: Si, V: Ht, I: Yt, H: be, N: Pi, U: Oi, B: Ti, F: Ri }, pn = re.litHtmlPolyfillSupport;
503
- pn == null || pn(pe, Yt), (re.litHtmlVersions ?? (re.litHtmlVersions = [])).push("3.1.4");
504
- const jo = (e, t, n) => {
502
+ const jo = { P: Bn, A: pt, C: Vn, M: 1, L: Ci, R: Ti, D: $i, V: Bt, I: qt, H: be, N: Oi, U: Ri, B: Pi, F: Di }, pn = re.litHtmlPolyfillSupport;
503
+ pn == null || pn(pe, qt), (re.litHtmlVersions ?? (re.litHtmlVersions = [])).push("3.1.4");
504
+ const zo = (e, t, n) => {
505
505
  const i = (n == null ? void 0 : n.renderBefore) ?? t;
506
506
  let o = i._$litPart$;
507
507
  if (o === void 0) {
508
508
  const r = (n == null ? void 0 : n.renderBefore) ?? null;
509
- i._$litPart$ = o = new Yt(t.insertBefore(de(), r), r, void 0, n ?? {});
509
+ i._$litPart$ = o = new qt(t.insertBefore(de(), r), r, void 0, n ?? {});
510
510
  }
511
511
  return o._$AI(e), o;
512
512
  };
@@ -515,7 +515,7 @@ const jo = (e, t, n) => {
515
515
  * Copyright 2017 Google LLC
516
516
  * SPDX-License-Identifier: BSD-3-Clause
517
517
  */
518
- let nt = class extends Lt {
518
+ let nt = class extends kt {
519
519
  constructor() {
520
520
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
521
521
  }
@@ -526,7 +526,7 @@ let nt = class extends Lt {
526
526
  }
527
527
  update(t) {
528
528
  const n = this.render();
529
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = jo(n, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = zo(n, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var t;
@@ -540,8 +540,8 @@ let nt = class extends Lt {
540
540
  return ot;
541
541
  }
542
542
  };
543
- var vi;
544
- nt._$litElement$ = !0, nt.finalized = !0, (vi = globalThis.litElementHydrateSupport) == null || vi.call(globalThis, { LitElement: nt });
543
+ var wi;
544
+ nt._$litElement$ = !0, nt.finalized = !0, (wi = globalThis.litElementHydrateSupport) == null || wi.call(globalThis, { LitElement: nt });
545
545
  const fn = globalThis.litElementPolyfillSupport;
546
546
  fn == null || fn({ LitElement: nt });
547
547
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
@@ -580,12 +580,12 @@ class kn {
580
580
  * Copyright 2020 Google LLC
581
581
  * SPDX-License-Identifier: BSD-3-Clause
582
582
  */
583
- const { I: zo } = Fo, Zo = (e) => e.strings === void 0, ri = () => document.createComment(""), te = (e, t, n) => {
583
+ const { I: Zo } = jo, Xo = (e) => e.strings === void 0, ri = () => document.createComment(""), te = (e, t, n) => {
584
584
  var r;
585
585
  const i = e._$AA.parentNode, o = t === void 0 ? e._$AB : t._$AA;
586
586
  if (n === void 0) {
587
587
  const s = i.insertBefore(ri(), o), a = i.insertBefore(ri(), o);
588
- n = new zo(s, a, e, e.options);
588
+ n = new Zo(s, a, e, e.options);
589
589
  } else {
590
590
  const s = n._$AB.nextSibling, a = n._$AM, l = a !== e;
591
591
  if (l) {
@@ -601,7 +601,7 @@ const { I: zo } = Fo, Zo = (e) => e.strings === void 0, ri = () => document.crea
601
601
  }
602
602
  }
603
603
  return n;
604
- }, Pt = (e, t, n = e) => (e._$AI(t, n), e), Xo = {}, Di = (e, t = Xo) => e._$AH = t, Yo = (e) => e._$AH, gn = (e) => {
604
+ }, Ot = (e, t, n = e) => (e._$AI(t, n), e), qo = {}, Mi = (e, t = qo) => e._$AH = t, Yo = (e) => e._$AH, gn = (e) => {
605
605
  var i;
606
606
  (i = e._$AP) == null || i.call(e, !1, !0);
607
607
  let t = e._$AA;
@@ -620,7 +620,7 @@ const si = (e, t, n) => {
620
620
  const i = /* @__PURE__ */ new Map();
621
621
  for (let o = t; o <= n; o++) i.set(e[o], o);
622
622
  return i;
623
- }, qo = Ln(class extends kn {
623
+ }, Wo = Ln(class extends kn {
624
624
  constructor(e) {
625
625
  if (super(e), e.type !== Et.CHILD) throw Error("repeat() can only be used in text expressions");
626
626
  }
@@ -642,28 +642,28 @@ const si = (e, t, n) => {
642
642
  let u, d, c = 0, p = o.length - 1, f = 0, g = r.length - 1;
643
643
  for (; c <= p && f <= g; ) if (o[c] === null) c++;
644
644
  else if (o[p] === null) p--;
645
- else if (a[c] === s[f]) l[f] = Pt(o[c], r[f]), c++, f++;
646
- else if (a[p] === s[g]) l[g] = Pt(o[p], r[g]), p--, g--;
647
- else if (a[c] === s[g]) l[g] = Pt(o[c], r[g]), te(e, l[g + 1], o[c]), c++, g--;
648
- else if (a[p] === s[f]) l[f] = Pt(o[p], r[f]), te(e, o[c], o[p]), p--, f++;
645
+ else if (a[c] === s[f]) l[f] = Ot(o[c], r[f]), c++, f++;
646
+ else if (a[p] === s[g]) l[g] = Ot(o[p], r[g]), p--, g--;
647
+ else if (a[c] === s[g]) l[g] = Ot(o[c], r[g]), te(e, l[g + 1], o[c]), c++, g--;
648
+ else if (a[p] === s[f]) l[f] = Ot(o[p], r[f]), te(e, o[c], o[p]), p--, f++;
649
649
  else if (u === void 0 && (u = si(s, f, g), d = si(a, c, p)), u.has(a[c])) if (u.has(a[p])) {
650
- const y = d.get(s[f]), P = y !== void 0 ? o[y] : null;
651
- if (P === null) {
650
+ const y = d.get(s[f]), O = y !== void 0 ? o[y] : null;
651
+ if (O === null) {
652
652
  const L = te(e, o[c]);
653
- Pt(L, r[f]), l[f] = L;
654
- } else l[f] = Pt(P, r[f]), te(e, o[c], P), o[y] = null;
653
+ Ot(L, r[f]), l[f] = L;
654
+ } else l[f] = Ot(O, r[f]), te(e, o[c], O), o[y] = null;
655
655
  f++;
656
656
  } else gn(o[p]), p--;
657
657
  else gn(o[c]), c++;
658
658
  for (; f <= g; ) {
659
659
  const y = te(e, l[g + 1]);
660
- Pt(y, r[f]), l[f++] = y;
660
+ Ot(y, r[f]), l[f++] = y;
661
661
  }
662
662
  for (; c <= p; ) {
663
663
  const y = o[c++];
664
664
  y !== null && gn(y);
665
665
  }
666
- return this.ut = s, Di(e, l), ot;
666
+ return this.ut = s, Mi(e, l), ot;
667
667
  }
668
668
  });
669
669
  /**
@@ -687,7 +687,7 @@ const fe = {
687
687
  DOCUMENT_FRAGMENT: 11,
688
688
  NOTATION: 12
689
689
  };
690
- class Wo {
690
+ class Go {
691
691
  /**
692
692
  * XML DOM parser
693
693
  * @constructor
@@ -716,20 +716,20 @@ class Wo {
716
716
  }
717
717
  }
718
718
  function ln(e, t) {
719
- return Mi(e, t, []).join("");
719
+ return Ii(e, t, []).join("");
720
720
  }
721
- function Mi(e, t, n) {
721
+ function Ii(e, t, n) {
722
722
  if (e.nodeType === fe.CDATA_SECTION || e.nodeType === fe.TEXT)
723
723
  t ? n.push(String(e.nodeValue).replace(/(\r\n|\r|\n)/g, "")) : n.push(e.nodeValue);
724
724
  else {
725
725
  var i;
726
726
  for (i = e.firstChild; i; i = i.nextSibling)
727
- Mi(i, t, n);
727
+ Ii(i, t, n);
728
728
  }
729
729
  return n;
730
730
  }
731
- function Go(e, t, n, i) {
732
- for (var o = Jo(t); o; o = Ko(o)) {
731
+ function Jo(e, t, n, i) {
732
+ for (var o = Ko(t); o; o = Qo(o)) {
733
733
  var r = o.namespaceURI || null, s = e[r];
734
734
  if (E(s)) {
735
735
  var a = s[o.localName];
@@ -737,13 +737,13 @@ function Go(e, t, n, i) {
737
737
  }
738
738
  }
739
739
  }
740
- function Jo(e) {
740
+ function Ko(e) {
741
741
  let t = e.firstElementChild || e.firstChild;
742
742
  for (; t && t.nodeType !== fe.ELEMENT; )
743
743
  t = t.nextSibling;
744
744
  return t;
745
745
  }
746
- function Ko(e) {
746
+ function Qo(e) {
747
747
  let t = e.nextElementSibling || e.nextSibling;
748
748
  for (; t && t.nodeType !== fe.ELEMENT; )
749
749
  t = t.nextSibling;
@@ -752,16 +752,16 @@ function Ko(e) {
752
752
  function j(e, t, n) {
753
753
  return (
754
754
  /** @type {Object.<string, Object.<string, XMLParser.Parser>>} */
755
- Qo(e, t, n)
755
+ tr(e, t, n)
756
756
  );
757
757
  }
758
- function Qo(e, t, n) {
758
+ function tr(e, t, n) {
759
759
  var i = E(n) ? n : {}, o, r;
760
760
  for (o = 0, r = e.length; o < r; ++o)
761
761
  i[e[o]] = t;
762
762
  return i;
763
763
  }
764
- function Ii(e, t) {
764
+ function Hi(e, t) {
765
765
  return (
766
766
  /**
767
767
  * @param {Node} node Node.
@@ -781,7 +781,7 @@ function Ii(e, t) {
781
781
  );
782
782
  }
783
783
  function V(e, t, n, i, o) {
784
- return i.push(e), Go(t, n, i, o), i.pop();
784
+ return i.push(e), Jo(t, n, i, o), i.pop();
785
785
  }
786
786
  function m(e, t, n) {
787
787
  return (
@@ -827,16 +827,16 @@ function J(e, t, n) {
827
827
  }
828
828
  );
829
829
  }
830
- const tr = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
831
- function er(e) {
832
- return e.replace(tr, "");
830
+ const er = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
831
+ function nr(e) {
832
+ return e.replace(er, "");
833
833
  }
834
- function Mt(e) {
834
+ function It(e) {
835
835
  const t = /^\s*(true|1)|(false|0)\s*$/.exec(e);
836
836
  if (t)
837
837
  return E(t[1]) || !1;
838
838
  }
839
- function Ut(e) {
839
+ function Ft(e) {
840
840
  return ft(ln(e, !1));
841
841
  }
842
842
  function ft(e) {
@@ -853,16 +853,16 @@ function Be(e) {
853
853
  return parseInt(t[1], 10);
854
854
  }
855
855
  function $(e) {
856
- return er(ln(e, !1));
856
+ return nr(ln(e, !1));
857
857
  }
858
- const nr = "http://www.w3.org/1999/xlink";
858
+ const ir = "http://www.w3.org/1999/xlink";
859
859
  function Un(e) {
860
- return e.getAttributeNS(nr, "href");
860
+ return e.getAttributeNS(ir, "href");
861
861
  }
862
- function ir(e, t) {
863
- return V({}, Or, e, t);
862
+ function or(e, t) {
863
+ return V({}, Rr, e, t);
864
864
  }
865
- function Hi(e) {
865
+ function Bi(e) {
866
866
  return [
867
867
  ft(e.getAttribute("minx")),
868
868
  ft(e.getAttribute("miny")),
@@ -870,8 +870,8 @@ function Hi(e) {
870
870
  ft(e.getAttribute("maxy"))
871
871
  ];
872
872
  }
873
- function or(e, t) {
874
- const n = Hi(e), i = [
873
+ function rr(e, t) {
874
+ const n = Bi(e), i = [
875
875
  ft(e.getAttribute("resx")),
876
876
  ft(e.getAttribute("resy"))
877
877
  ];
@@ -881,19 +881,19 @@ function or(e, t) {
881
881
  res: i
882
882
  };
883
883
  }
884
- function rr(e, t) {
885
- const n = Hi(e);
884
+ function sr(e, t) {
885
+ const n = Bi(e);
886
886
  if (!(!E(n[0]) || !E(n[1]) || !E(n[2]) || !E(n[3])))
887
887
  return n;
888
888
  }
889
- function sr(e, t) {
889
+ function ar(e, t) {
890
890
  const n = parseFloat(e.getAttribute("min")), i = parseFloat(e.getAttribute("max"));
891
891
  return { min: n, max: i };
892
892
  }
893
- function ar(e, t) {
893
+ function lr(e, t) {
894
894
  const n = V(
895
895
  {},
896
- Rr,
896
+ Dr,
897
897
  e,
898
898
  t
899
899
  );
@@ -919,19 +919,11 @@ function ar(e, t) {
919
919
  s
920
920
  ];
921
921
  }
922
- function lr(e, t) {
923
- return V({}, $r, e, t);
924
- }
925
922
  function ur(e, t) {
926
923
  return V({}, _r, e, t);
927
924
  }
928
925
  function cr(e, t) {
929
- return V(
930
- {},
931
- Ar,
932
- e,
933
- t
934
- );
926
+ return V({}, Ar, e, t);
935
927
  }
936
928
  function dr(e, t) {
937
929
  return V(
@@ -951,24 +943,32 @@ function hr(e, t) {
951
943
  }
952
944
  function pr(e, t) {
953
945
  return V(
954
- [],
946
+ {},
955
947
  Pr,
956
948
  e,
957
949
  t
958
950
  );
959
951
  }
960
952
  function fr(e, t) {
961
- const n = Mt(e.getAttribute("queryable"));
953
+ return V(
954
+ [],
955
+ Or,
956
+ e,
957
+ t
958
+ );
959
+ }
960
+ function gr(e, t) {
961
+ const n = It(e.getAttribute("queryable"));
962
962
  return V(
963
963
  {
964
964
  queryable: E(n) ? n : !1
965
965
  },
966
- Li,
966
+ ki,
967
967
  e,
968
968
  t
969
969
  );
970
970
  }
971
- function gr(e, t) {
971
+ function mr(e, t) {
972
972
  var n = (
973
973
  /** @type {Object.<string,*>} */
974
974
  t[t.length - 1]
@@ -977,19 +977,19 @@ function gr(e, t) {
977
977
  /** @type {Object.<string,*>} */
978
978
  V(
979
979
  {},
980
- Li,
980
+ ki,
981
981
  e,
982
982
  t
983
983
  )
984
984
  );
985
985
  if (!E(i)) return;
986
- let o = Mt(e.getAttribute("queryable"));
986
+ let o = It(e.getAttribute("queryable"));
987
987
  E(o) || (o = n.queryable), i.queryable = E(o) ? o : !1;
988
988
  let r = Be(e.getAttribute("cascaded"));
989
989
  E(r) || (r = n.cascaded), i.cascaded = r;
990
- let s = Mt(e.getAttribute("opaque"));
990
+ let s = It(e.getAttribute("opaque"));
991
991
  E(s) || (s = n.opaque), i.opaque = E(s) ? s : !1;
992
- let a = Mt(e.getAttribute("noSubsets"));
992
+ let a = It(e.getAttribute("noSubsets"));
993
993
  E(a) || (a = n.noSubsets), i.noSubsets = E(a) ? a : !1;
994
994
  let l = ft(e.getAttribute("fixedWidth"));
995
995
  E(l) || (l = n.fixedWidth), i.fixedWidth = l;
@@ -999,8 +999,8 @@ function gr(e, t) {
999
999
  for (let p = 0, f = d.length; p < f; p++) {
1000
1000
  const g = d[p], y = n[g];
1001
1001
  if (E(y)) {
1002
- let P = Ni(i, g, []);
1003
- P = P.concat(y), i[g] = P;
1002
+ let O = Ni(i, g, []);
1003
+ O = O.concat(y), i[g] = O;
1004
1004
  }
1005
1005
  }
1006
1006
  const c = [
@@ -1014,45 +1014,45 @@ function gr(e, t) {
1014
1014
  for (let p = 0, f = c.length; p < f; p++) {
1015
1015
  const g = c[p], y = i[g];
1016
1016
  if (!E(y)) {
1017
- const P = n[g];
1018
- i[g] = P;
1017
+ const O = n[g];
1018
+ i[g] = O;
1019
1019
  }
1020
1020
  }
1021
1021
  return i;
1022
1022
  }
1023
- function mr(e, t) {
1023
+ function yr(e, t) {
1024
1024
  return {
1025
1025
  name: e.getAttribute("name"),
1026
1026
  units: e.getAttribute("units"),
1027
1027
  unitSymbol: e.getAttribute("unitSymbol"),
1028
1028
  default: e.getAttribute("default"),
1029
- multipleValues: Mt(e.getAttribute("multipleValues")),
1030
- nearestValue: Mt(e.getAttribute("nearestValue")),
1031
- current: Mt(e.getAttribute("current")),
1029
+ multipleValues: It(e.getAttribute("multipleValues")),
1030
+ nearestValue: It(e.getAttribute("nearestValue")),
1031
+ current: It(e.getAttribute("current")),
1032
1032
  values: $(e)
1033
1033
  };
1034
1034
  }
1035
1035
  function mt(e, t) {
1036
1036
  return V(
1037
1037
  {},
1038
- Br,
1038
+ Vr,
1039
1039
  e,
1040
1040
  t
1041
1041
  );
1042
1042
  }
1043
- function yr(e, t) {
1044
- return V({}, Dr, e, t);
1045
- }
1046
1043
  function br(e, t) {
1047
1044
  return V({}, Mr, e, t);
1048
1045
  }
1049
1046
  function vr(e, t) {
1050
1047
  return V({}, Ir, e, t);
1051
1048
  }
1049
+ function wr(e, t) {
1050
+ return V({}, Hr, e, t);
1051
+ }
1052
1052
  function yn(e, t) {
1053
1053
  return V({}, Nr, e, t);
1054
1054
  }
1055
- function Bi(e, t) {
1055
+ function Vi(e, t) {
1056
1056
  var n = mt(e, t);
1057
1057
  if (E(n)) {
1058
1058
  const i = [
@@ -1062,23 +1062,23 @@ function Bi(e, t) {
1062
1062
  return n.size = i, n;
1063
1063
  }
1064
1064
  }
1065
- function wr(e, t) {
1065
+ function Er(e, t) {
1066
1066
  var n = mt(e, t);
1067
1067
  if (E(n))
1068
1068
  return n.name = e.getAttribute("name"), n;
1069
1069
  }
1070
- function Er(e, t) {
1070
+ function xr(e, t) {
1071
1071
  var n = mt(e, t);
1072
1072
  if (E(n))
1073
1073
  return n.type = e.getAttribute("type"), n;
1074
1074
  }
1075
- function xr(e, t) {
1076
- return V({}, Hr, e, t);
1075
+ function Sr(e, t) {
1076
+ return V({}, Br, e, t);
1077
1077
  }
1078
- function Vi(e, t) {
1078
+ function Li(e, t) {
1079
1079
  return V(
1080
1080
  [],
1081
- Vr,
1081
+ Lr,
1082
1082
  e,
1083
1083
  t
1084
1084
  );
@@ -1086,51 +1086,51 @@ function Vi(e, t) {
1086
1086
  const z = [
1087
1087
  null,
1088
1088
  "http://www.opengis.net/wms"
1089
- ], Sr = j(
1089
+ ], $r = j(
1090
1090
  z,
1091
1091
  {
1092
- Service: m(ur),
1093
- Capability: m(lr)
1092
+ Service: m(cr),
1093
+ Capability: m(ur)
1094
1094
  }
1095
- ), $r = j(
1095
+ ), _r = j(
1096
1096
  z,
1097
1097
  {
1098
- Request: m(yr),
1099
- Exception: m(pr),
1100
- Layer: m(fr)
1098
+ Request: m(br),
1099
+ Exception: m(fr),
1100
+ Layer: m(gr)
1101
1101
  }
1102
- ), _r = j(
1102
+ ), Ar = j(
1103
1103
  z,
1104
1104
  {
1105
1105
  Name: m($),
1106
1106
  Title: m($),
1107
1107
  Abstract: m($),
1108
- KeywordList: m(Vi),
1108
+ KeywordList: m(Li),
1109
1109
  OnlineResource: m(Un),
1110
- ContactInformation: m(cr),
1110
+ ContactInformation: m(dr),
1111
1111
  Fees: m($),
1112
1112
  AccessConstraints: m($),
1113
1113
  LayerLimit: m(mn),
1114
1114
  MaxWidth: m(mn),
1115
1115
  MaxHeight: m(mn)
1116
1116
  }
1117
- ), Ar = j(
1117
+ ), Cr = j(
1118
1118
  z,
1119
1119
  {
1120
- ContactPersonPrimary: m(dr),
1120
+ ContactPersonPrimary: m(hr),
1121
1121
  ContactPosition: m($),
1122
- ContactAddress: m(hr),
1122
+ ContactAddress: m(pr),
1123
1123
  ContactVoiceTelephone: m($),
1124
1124
  ContactFacsimileTelephone: m($),
1125
1125
  ContactElectronicMailAddress: m($)
1126
1126
  }
1127
- ), Cr = j(
1127
+ ), Tr = j(
1128
1128
  z,
1129
1129
  {
1130
1130
  ContactPerson: m($),
1131
1131
  ContactOrganization: m($)
1132
1132
  }
1133
- ), Tr = j(
1133
+ ), Pr = j(
1134
1134
  z,
1135
1135
  {
1136
1136
  AddressType: m($),
@@ -1140,49 +1140,49 @@ const z = [
1140
1140
  PostCode: m($),
1141
1141
  Country: m($)
1142
1142
  }
1143
- ), Pr = j(
1143
+ ), Or = j(
1144
1144
  z,
1145
1145
  {
1146
- Format: Ii($)
1146
+ Format: Hi($)
1147
1147
  }
1148
- ), Li = j(
1148
+ ), ki = j(
1149
1149
  z,
1150
1150
  {
1151
1151
  Name: m($),
1152
1152
  Title: m($),
1153
1153
  Abstract: m($),
1154
- KeywordList: m(Vi),
1154
+ KeywordList: m(Li),
1155
1155
  CRS: J($),
1156
1156
  SRS: J($),
1157
- EX_GeographicBoundingBox: m(ar),
1158
- LatLonBoundingBox: m(rr),
1159
- BoundingBox: J(or),
1160
- Dimension: J(mr),
1161
- Attribution: m(ir),
1162
- AuthorityURL: J(wr),
1157
+ EX_GeographicBoundingBox: m(lr),
1158
+ LatLonBoundingBox: m(sr),
1159
+ BoundingBox: J(rr),
1160
+ Dimension: J(yr),
1161
+ Attribution: m(or),
1162
+ AuthorityURL: J(Er),
1163
1163
  Identifier: J($),
1164
- MetadataURL: J(Er),
1164
+ MetadataURL: J(xr),
1165
1165
  DataURL: J(mt),
1166
1166
  FeatureListURL: J(mt),
1167
- Style: J(xr),
1168
- MinScaleDenominator: m(Ut),
1169
- MaxScaleDenominator: m(Ut),
1170
- ScaleHint: m(sr),
1171
- Layer: J(gr)
1167
+ Style: J(Sr),
1168
+ MinScaleDenominator: m(Ft),
1169
+ MaxScaleDenominator: m(Ft),
1170
+ ScaleHint: m(ar),
1171
+ Layer: J(mr)
1172
1172
  }
1173
- ), Or = j(
1173
+ ), Rr = j(
1174
1174
  z,
1175
1175
  {
1176
1176
  Title: m($),
1177
1177
  OnlineResource: m(Un),
1178
- LogoURL: m(Bi)
1179
- }
1180
- ), Rr = j(z, {
1181
- westBoundLongitude: m(Ut),
1182
- eastBoundLongitude: m(Ut),
1183
- southBoundLatitude: m(Ut),
1184
- northBoundLatitude: m(Ut)
1185
- }), Dr = j(
1178
+ LogoURL: m(Vi)
1179
+ }
1180
+ ), Dr = j(z, {
1181
+ westBoundLongitude: m(Ft),
1182
+ eastBoundLongitude: m(Ft),
1183
+ southBoundLatitude: m(Ft),
1184
+ northBoundLatitude: m(Ft)
1185
+ }), Mr = j(
1186
1186
  z,
1187
1187
  {
1188
1188
  GetCapabilities: m(
@@ -1200,17 +1200,17 @@ const z = [
1200
1200
  {
1201
1201
  Format: J($),
1202
1202
  DCPType: J(
1203
- br
1203
+ vr
1204
1204
  )
1205
1205
  }
1206
- ), Mr = j(
1206
+ ), Ir = j(
1207
1207
  z,
1208
1208
  {
1209
1209
  HTTP: m(
1210
- vr
1210
+ wr
1211
1211
  )
1212
1212
  }
1213
- ), Ir = j(
1213
+ ), Hr = j(
1214
1214
  z,
1215
1215
  {
1216
1216
  Get: m(
@@ -1220,29 +1220,29 @@ const z = [
1220
1220
  mt
1221
1221
  )
1222
1222
  }
1223
- ), Hr = j(
1223
+ ), Br = j(
1224
1224
  z,
1225
1225
  {
1226
1226
  Name: m($),
1227
1227
  Title: m($),
1228
1228
  Abstract: m($),
1229
- LegendURL: J(Bi),
1229
+ LegendURL: J(Vi),
1230
1230
  StyleSheetURL: m(mt),
1231
1231
  StyleURL: m(mt)
1232
1232
  }
1233
- ), Br = j(
1233
+ ), Vr = j(
1234
1234
  z,
1235
1235
  {
1236
1236
  Format: m($),
1237
1237
  OnlineResource: m(Un)
1238
1238
  }
1239
- ), Vr = j(
1239
+ ), Lr = j(
1240
1240
  z,
1241
1241
  {
1242
- Keyword: Ii($)
1242
+ Keyword: Hi($)
1243
1243
  }
1244
1244
  );
1245
- class Lr {
1245
+ class kr {
1246
1246
  /**
1247
1247
  * WMS Capabilities parser
1248
1248
  *
@@ -1250,7 +1250,7 @@ class Lr {
1250
1250
  * @constructor
1251
1251
  */
1252
1252
  constructor(t, n) {
1253
- !n && typeof window < "u" && (n = window.DOMParser), this.version = void 0, this._parser = new Wo(n), this._data = t;
1253
+ !n && typeof window < "u" && (n = window.DOMParser), this.version = void 0, this._parser = new Go(n), this._data = t;
1254
1254
  }
1255
1255
  /**
1256
1256
  * @param {String} xmlString
@@ -1290,17 +1290,17 @@ class Lr {
1290
1290
  readFromNode(t) {
1291
1291
  return this.version = t.getAttribute("version"), V({
1292
1292
  version: this.version
1293
- }, Sr, t, []) || null;
1293
+ }, $r, t, []) || null;
1294
1294
  }
1295
1295
  }
1296
- async function kr(e) {
1296
+ async function Ur(e) {
1297
1297
  let t = new URL(e), n = t.searchParams;
1298
1298
  n.set("SERVICE", "WMS"), n.set("REQUEST", "GetCapabilities");
1299
1299
  let i = t.toString();
1300
1300
  const o = await fetch(i);
1301
1301
  if (o.ok) {
1302
1302
  const r = await o.text();
1303
- return new Lr(r).toJSON();
1303
+ return new kr(r).toJSON();
1304
1304
  } else
1305
1305
  throw new Error(`Error: ${o.status}`);
1306
1306
  }
@@ -1308,24 +1308,24 @@ function Fn(e) {
1308
1308
  const t = /\b(?:wms|ows)\b/i, n = /{(?:z|x|y-?)}\/{(?:z|x|y-?)}\/{(?:z|x|y-?)}/i;
1309
1309
  return t.test(e) ? "TileWMS" : n.test(e) ? "XYZ" : !1;
1310
1310
  }
1311
- function Ur(e) {
1311
+ function Fr(e) {
1312
1312
  const n = /^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(e), i = Fn(e);
1313
1313
  return !!(e && n && i);
1314
1314
  }
1315
- function ki(e) {
1315
+ function Ui(e) {
1316
1316
  return e.replace(
1317
1317
  /(['"])?([a-zA-Z0-9_]+)(['"])?:/g,
1318
1318
  '"$2": '
1319
1319
  ).replace(/,\s*}/g, "}").replace(/,\s*]/g, "]").replace(/\s*(\{|}|\[|\]|,)\s*/g, "$1").replaceAll('": //', "://");
1320
1320
  }
1321
- function Fr(e) {
1321
+ function jr(e) {
1322
1322
  try {
1323
- return JSON.parse(ki(e)), !!e;
1323
+ return JSON.parse(Ui(e)), !!e;
1324
1324
  } catch {
1325
1325
  return !1;
1326
1326
  }
1327
1327
  }
1328
- function jr(e, t) {
1328
+ function zr(e, t) {
1329
1329
  const n = new URL(e).searchParams;
1330
1330
  Object.entries(t).forEach(([s, a]) => {
1331
1331
  typeof a == "object" && !Array.isArray(a) && a !== null ? Object.keys(a).forEach((l) => {
@@ -1355,7 +1355,7 @@ function dt(e) {
1355
1355
  for (var t = 1; t < arguments.length; t++) {
1356
1356
  var n = arguments[t] != null ? arguments[t] : {};
1357
1357
  t % 2 ? ai(Object(n), !0).forEach(function(i) {
1358
- zr(e, i, n[i]);
1358
+ Zr(e, i, n[i]);
1359
1359
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ai(Object(n)).forEach(function(i) {
1360
1360
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
1361
1361
  });
@@ -1370,7 +1370,7 @@ function Te(e) {
1370
1370
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1371
1371
  }, Te(e);
1372
1372
  }
1373
- function zr(e, t, n) {
1373
+ function Zr(e, t, n) {
1374
1374
  return t in e ? Object.defineProperty(e, t, {
1375
1375
  value: n,
1376
1376
  enumerable: !0,
@@ -1388,16 +1388,16 @@ function yt() {
1388
1388
  return e;
1389
1389
  }, yt.apply(this, arguments);
1390
1390
  }
1391
- function Zr(e, t) {
1391
+ function Xr(e, t) {
1392
1392
  if (e == null) return {};
1393
1393
  var n = {}, i = Object.keys(e), o, r;
1394
1394
  for (r = 0; r < i.length; r++)
1395
1395
  o = i[r], !(t.indexOf(o) >= 0) && (n[o] = e[o]);
1396
1396
  return n;
1397
1397
  }
1398
- function Xr(e, t) {
1398
+ function qr(e, t) {
1399
1399
  if (e == null) return {};
1400
- var n = Zr(e, t), i, o;
1400
+ var n = Xr(e, t), i, o;
1401
1401
  if (Object.getOwnPropertySymbols) {
1402
1402
  var r = Object.getOwnPropertySymbols(e);
1403
1403
  for (o = 0; o < r.length; o++)
@@ -1410,15 +1410,15 @@ function gt(e) {
1410
1410
  if (typeof window < "u" && window.navigator)
1411
1411
  return !!/* @__PURE__ */ navigator.userAgent.match(e);
1412
1412
  }
1413
- var bt = gt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ve = gt(/Edge/i), li = gt(/firefox/i), se = gt(/safari/i) && !gt(/chrome/i) && !gt(/android/i), Ui = gt(/iP(ad|od|hone)/i), Fi = gt(/chrome/i) && gt(/android/i), ji = {
1413
+ var bt = gt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ve = gt(/Edge/i), li = gt(/firefox/i), se = gt(/safari/i) && !gt(/chrome/i) && !gt(/android/i), Fi = gt(/iP(ad|od|hone)/i), ji = gt(/chrome/i) && gt(/android/i), zi = {
1414
1414
  capture: !1,
1415
1415
  passive: !1
1416
1416
  };
1417
1417
  function _(e, t, n) {
1418
- e.addEventListener(t, n, !bt && ji);
1418
+ e.addEventListener(t, n, !bt && zi);
1419
1419
  }
1420
1420
  function S(e, t, n) {
1421
- e.removeEventListener(t, n, !bt && ji);
1421
+ e.removeEventListener(t, n, !bt && zi);
1422
1422
  }
1423
1423
  function Ve(e, t) {
1424
1424
  if (t) {
@@ -1436,7 +1436,7 @@ function Ve(e, t) {
1436
1436
  return !1;
1437
1437
  }
1438
1438
  }
1439
- function qr(e) {
1439
+ function Wr(e) {
1440
1440
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
1441
1441
  }
1442
1442
  function ut(e, t, n, i) {
@@ -1446,7 +1446,7 @@ function ut(e, t, n, i) {
1446
1446
  if (t != null && (t[0] === ">" ? e.parentNode === n && Ve(e, t) : Ve(e, t)) || i && e === n)
1447
1447
  return e;
1448
1448
  if (e === n) break;
1449
- } while (e = qr(e));
1449
+ } while (e = Wr(e));
1450
1450
  }
1451
1451
  return null;
1452
1452
  }
@@ -1468,7 +1468,7 @@ function b(e, t, n) {
1468
1468
  !(t in i) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), i[t] = n + (typeof n == "string" ? "" : "px");
1469
1469
  }
1470
1470
  }
1471
- function jt(e, t) {
1471
+ function zt(e, t) {
1472
1472
  var n = "";
1473
1473
  if (typeof e == "string")
1474
1474
  n = e;
@@ -1480,7 +1480,7 @@ function jt(e, t) {
1480
1480
  var o = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
1481
1481
  return o && new o(n);
1482
1482
  }
1483
- function zi(e, t, n) {
1483
+ function Zi(e, t, n) {
1484
1484
  if (e) {
1485
1485
  var i = e.getElementsByTagName(t), o = 0, r = i.length;
1486
1486
  if (n)
@@ -1506,7 +1506,7 @@ function I(e, t, n, i, o) {
1506
1506
  }
1507
1507
  while (o = o.parentNode);
1508
1508
  if (i && e !== window) {
1509
- var f = jt(o || e), g = f && f.a, y = f && f.d;
1509
+ var f = zt(o || e), g = f && f.a, y = f && f.d;
1510
1510
  f && (s /= y, a /= g, c /= g, d /= y, l = s + d, u = a + c);
1511
1511
  }
1512
1512
  return {
@@ -1520,11 +1520,11 @@ function I(e, t, n, i, o) {
1520
1520
  }
1521
1521
  }
1522
1522
  function ci(e, t, n) {
1523
- for (var i = $t(e, !0), o = I(e)[t]; i; ) {
1523
+ for (var i = _t(e, !0), o = I(e)[t]; i; ) {
1524
1524
  var r = I(i)[n], s = void 0;
1525
1525
  if (s = o >= r, !s) return i;
1526
1526
  if (i === ct()) break;
1527
- i = $t(i, !1);
1527
+ i = _t(i, !1);
1528
1528
  }
1529
1529
  return !1;
1530
1530
  }
@@ -1556,12 +1556,12 @@ function di(e) {
1556
1556
  var t = 0, n = 0, i = ct();
1557
1557
  if (e)
1558
1558
  do {
1559
- var o = jt(e), r = o.a, s = o.d;
1559
+ var o = zt(e), r = o.a, s = o.d;
1560
1560
  t += e.scrollLeft * r, n += e.scrollTop * s;
1561
1561
  } while (e !== i && (e = e.parentNode));
1562
1562
  return [t, n];
1563
1563
  }
1564
- function Wr(e, t) {
1564
+ function Gr(e, t) {
1565
1565
  for (var n in e)
1566
1566
  if (e.hasOwnProperty(n)) {
1567
1567
  for (var i in t)
@@ -1569,7 +1569,7 @@ function Wr(e, t) {
1569
1569
  }
1570
1570
  return -1;
1571
1571
  }
1572
- function $t(e, t) {
1572
+ function _t(e, t) {
1573
1573
  if (!e || !e.getBoundingClientRect) return ct();
1574
1574
  var n = e, i = !1;
1575
1575
  do
@@ -1584,7 +1584,7 @@ function $t(e, t) {
1584
1584
  while (n = n.parentNode);
1585
1585
  return ct();
1586
1586
  }
1587
- function Gr(e, t) {
1587
+ function Jr(e, t) {
1588
1588
  if (e && t)
1589
1589
  for (var n in t)
1590
1590
  t.hasOwnProperty(n) && (e[n] = t[n]);
@@ -1594,7 +1594,7 @@ function bn(e, t) {
1594
1594
  return Math.round(e.top) === Math.round(t.top) && Math.round(e.left) === Math.round(t.left) && Math.round(e.height) === Math.round(t.height) && Math.round(e.width) === Math.round(t.width);
1595
1595
  }
1596
1596
  var ae;
1597
- function Zi(e, t) {
1597
+ function Xi(e, t) {
1598
1598
  return function() {
1599
1599
  if (!ae) {
1600
1600
  var n = arguments, i = this;
@@ -1604,17 +1604,17 @@ function Zi(e, t) {
1604
1604
  }
1605
1605
  };
1606
1606
  }
1607
- function Jr() {
1607
+ function Kr() {
1608
1608
  clearTimeout(ae), ae = void 0;
1609
1609
  }
1610
- function Xi(e, t, n) {
1610
+ function qi(e, t, n) {
1611
1611
  e.scrollLeft += t, e.scrollTop += n;
1612
1612
  }
1613
1613
  function Yi(e) {
1614
1614
  var t = window.Polymer, n = window.jQuery || window.Zepto;
1615
1615
  return t && t.dom ? t.dom(e).cloneNode(!0) : n ? n(e).clone(!0)[0] : e.cloneNode(!0);
1616
1616
  }
1617
- function qi(e, t, n) {
1617
+ function Wi(e, t, n) {
1618
1618
  var i = {};
1619
1619
  return Array.from(e.children).forEach(function(o) {
1620
1620
  var r, s, a, l;
@@ -1625,7 +1625,7 @@ function qi(e, t, n) {
1625
1625
  }), i.width = i.right - i.left, i.height = i.bottom - i.top, i.x = i.left, i.y = i.top, i;
1626
1626
  }
1627
1627
  var et = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
1628
- function Kr() {
1628
+ function Qr() {
1629
1629
  var e = [], t;
1630
1630
  return {
1631
1631
  captureAnimationState: function() {
@@ -1639,7 +1639,7 @@ function Kr() {
1639
1639
  });
1640
1640
  var r = dt({}, e[e.length - 1].rect);
1641
1641
  if (o.thisAnimationDuration) {
1642
- var s = jt(o, !0);
1642
+ var s = zt(o, !0);
1643
1643
  s && (r.top -= s.f, r.left -= s.e);
1644
1644
  }
1645
1645
  o.fromRect = r;
@@ -1651,7 +1651,7 @@ function Kr() {
1651
1651
  e.push(i);
1652
1652
  },
1653
1653
  removeAnimationState: function(i) {
1654
- e.splice(Wr(e, {
1654
+ e.splice(Gr(e, {
1655
1655
  target: i
1656
1656
  }), 1);
1657
1657
  },
@@ -1663,9 +1663,9 @@ function Kr() {
1663
1663
  }
1664
1664
  var r = !1, s = 0;
1665
1665
  e.forEach(function(a) {
1666
- var l = 0, u = a.target, d = u.fromRect, c = I(u), p = u.prevFromRect, f = u.prevToRect, g = a.rect, y = jt(u, !0);
1666
+ var l = 0, u = a.target, d = u.fromRect, c = I(u), p = u.prevFromRect, f = u.prevToRect, g = a.rect, y = zt(u, !0);
1667
1667
  y && (c.top -= y.f, c.left -= y.e), u.toRect = c, u.thisAnimationDuration && bn(p, c) && !bn(d, c) && // Make sure animatingRect is on line between toRect & fromRect
1668
- (g.top - c.top) / (g.left - c.left) === (d.top - c.top) / (d.left - c.left) && (l = ts(g, p, f, o.options)), bn(c, d) || (u.prevFromRect = d, u.prevToRect = c, l || (l = o.options.animation), o.animate(u, g, c, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1668
+ (g.top - c.top) / (g.left - c.left) === (d.top - c.top) / (d.left - c.left) && (l = es(g, p, f, o.options)), bn(c, d) || (u.prevFromRect = d, u.prevToRect = c, l || (l = o.options.animation), o.animate(u, g, c, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1669
1669
  u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
1670
1670
  }, l), u.thisAnimationDuration = l);
1671
1671
  }), clearTimeout(t), r ? t = setTimeout(function() {
@@ -1675,30 +1675,30 @@ function Kr() {
1675
1675
  animate: function(i, o, r, s) {
1676
1676
  if (s) {
1677
1677
  b(i, "transition", ""), b(i, "transform", "");
1678
- var a = jt(this.el), l = a && a.a, u = a && a.d, d = (o.left - r.left) / (l || 1), c = (o.top - r.top) / (u || 1);
1679
- i.animatingX = !!d, i.animatingY = !!c, b(i, "transform", "translate3d(" + d + "px," + c + "px,0)"), this.forRepaintDummy = Qr(i), b(i, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), b(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
1678
+ var a = zt(this.el), l = a && a.a, u = a && a.d, d = (o.left - r.left) / (l || 1), c = (o.top - r.top) / (u || 1);
1679
+ i.animatingX = !!d, i.animatingY = !!c, b(i, "transform", "translate3d(" + d + "px," + c + "px,0)"), this.forRepaintDummy = ts(i), b(i, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), b(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
1680
1680
  b(i, "transition", ""), b(i, "transform", ""), i.animated = !1, i.animatingX = !1, i.animatingY = !1;
1681
1681
  }, s);
1682
1682
  }
1683
1683
  }
1684
1684
  };
1685
1685
  }
1686
- function Qr(e) {
1686
+ function ts(e) {
1687
1687
  return e.offsetWidth;
1688
1688
  }
1689
- function ts(e, t, n, i) {
1689
+ function es(e, t, n, i) {
1690
1690
  return Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) / Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) * i.animation;
1691
1691
  }
1692
- var Bt = [], vn = {
1692
+ var Vt = [], vn = {
1693
1693
  initializeByDefault: !0
1694
1694
  }, we = {
1695
1695
  mount: function(t) {
1696
1696
  for (var n in vn)
1697
1697
  vn.hasOwnProperty(n) && !(n in t) && (t[n] = vn[n]);
1698
- Bt.forEach(function(i) {
1698
+ Vt.forEach(function(i) {
1699
1699
  if (i.pluginName === t.pluginName)
1700
1700
  throw "Sortable: Cannot mount plugin ".concat(t.pluginName, " more than once");
1701
- }), Bt.push(t);
1701
+ }), Vt.push(t);
1702
1702
  },
1703
1703
  pluginEvent: function(t, n, i) {
1704
1704
  var o = this;
@@ -1706,7 +1706,7 @@ var Bt = [], vn = {
1706
1706
  o.eventCanceled = !0;
1707
1707
  };
1708
1708
  var r = t + "Global";
1709
- Bt.forEach(function(s) {
1709
+ Vt.forEach(function(s) {
1710
1710
  n[s.pluginName] && (n[s.pluginName][r] && n[s.pluginName][r](dt({
1711
1711
  sortable: n
1712
1712
  }, i)), n.options[s.pluginName] && n[s.pluginName][t] && n[s.pluginName][t](dt({
@@ -1715,7 +1715,7 @@ var Bt = [], vn = {
1715
1715
  });
1716
1716
  },
1717
1717
  initializePlugins: function(t, n, i, o) {
1718
- Bt.forEach(function(a) {
1718
+ Vt.forEach(function(a) {
1719
1719
  var l = a.pluginName;
1720
1720
  if (!(!t.options[l] && !a.initializeByDefault)) {
1721
1721
  var u = new a(t, n, t.options);
@@ -1730,21 +1730,21 @@ var Bt = [], vn = {
1730
1730
  },
1731
1731
  getEventProperties: function(t, n) {
1732
1732
  var i = {};
1733
- return Bt.forEach(function(o) {
1733
+ return Vt.forEach(function(o) {
1734
1734
  typeof o.eventProperties == "function" && yt(i, o.eventProperties.call(n[o.pluginName], t));
1735
1735
  }), i;
1736
1736
  },
1737
1737
  modifyOption: function(t, n, i) {
1738
1738
  var o;
1739
- return Bt.forEach(function(r) {
1739
+ return Vt.forEach(function(r) {
1740
1740
  t[r.pluginName] && r.optionListeners && typeof r.optionListeners[n] == "function" && (o = r.optionListeners[n].call(t[r.pluginName], i));
1741
1741
  }), o;
1742
1742
  }
1743
1743
  };
1744
- function es(e) {
1744
+ function ns(e) {
1745
1745
  var t = e.sortable, n = e.rootEl, i = e.name, o = e.targetEl, r = e.cloneEl, s = e.toEl, a = e.fromEl, l = e.oldIndex, u = e.newIndex, d = e.oldDraggableIndex, c = e.newDraggableIndex, p = e.originalEvent, f = e.putSortable, g = e.extraEventProperties;
1746
1746
  if (t = t || n && n[et], !!t) {
1747
- var y, P = t.options, L = "on" + i.charAt(0).toUpperCase() + i.substr(1);
1747
+ var y, O = t.options, L = "on" + i.charAt(0).toUpperCase() + i.substr(1);
1748
1748
  window.CustomEvent && !bt && !ve ? y = new CustomEvent(i, {
1749
1749
  bubbles: !0,
1750
1750
  cancelable: !0
@@ -1752,17 +1752,17 @@ function es(e) {
1752
1752
  var B = dt(dt({}, g), we.getEventProperties(i, t));
1753
1753
  for (var K in B)
1754
1754
  y[K] = B[K];
1755
- n && n.dispatchEvent(y), P[L] && P[L].call(t, y);
1755
+ n && n.dispatchEvent(y), O[L] && O[L].call(t, y);
1756
1756
  }
1757
1757
  }
1758
- var ns = ["evt"], G = function(t, n) {
1759
- var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = i.evt, r = Xr(i, ns);
1758
+ var is = ["evt"], G = function(t, n) {
1759
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = i.evt, r = qr(i, is);
1760
1760
  we.pluginEvent.bind(v)(t, n, dt({
1761
1761
  dragEl: h,
1762
- parentEl: N,
1762
+ parentEl: M,
1763
1763
  ghostEl: w,
1764
1764
  rootEl: R,
1765
- nextEl: Dt,
1765
+ nextEl: Mt,
1766
1766
  lastDownEl: Pe,
1767
1767
  cloneEl: D,
1768
1768
  cloneHidden: St,
@@ -1770,12 +1770,12 @@ var ns = ["evt"], G = function(t, n) {
1770
1770
  putSortable: U,
1771
1771
  activeSortable: v.active,
1772
1772
  originalEvent: o,
1773
- oldIndex: Ft,
1773
+ oldIndex: jt,
1774
1774
  oldDraggableIndex: le,
1775
1775
  newIndex: tt,
1776
1776
  newDraggableIndex: xt,
1777
- hideGhostForTarget: Ki,
1778
- unhideGhostForTarget: Qi,
1777
+ hideGhostForTarget: Qi,
1778
+ unhideGhostForTarget: to,
1779
1779
  cloneNowHidden: function() {
1780
1780
  St = !0;
1781
1781
  },
@@ -1792,25 +1792,25 @@ var ns = ["evt"], G = function(t, n) {
1792
1792
  }, r));
1793
1793
  };
1794
1794
  function W(e) {
1795
- es(dt({
1795
+ ns(dt({
1796
1796
  putSortable: U,
1797
1797
  cloneEl: D,
1798
1798
  targetEl: h,
1799
1799
  rootEl: R,
1800
- oldIndex: Ft,
1800
+ oldIndex: jt,
1801
1801
  oldDraggableIndex: le,
1802
1802
  newIndex: tt,
1803
1803
  newDraggableIndex: xt
1804
1804
  }, e));
1805
1805
  }
1806
- var h, N, w, R, Dt, Pe, D, St, Ft, tt, le, xt, xe, U, kt = !1, Le = !1, ke = [], Ot, lt, wn, En, hi, pi, ee, Vt, ue, ce = !1, Se = !1, Oe, Y, xn = [], Pn = !1, Ue = [], un = typeof document < "u", $e = Ui, fi = ve || bt ? "cssFloat" : "float", is = un && !Fi && !Ui && "draggable" in document.createElement("div"), Wi = function() {
1806
+ var h, M, w, R, Mt, Pe, D, St, jt, tt, le, xt, xe, U, Ut = !1, Le = !1, ke = [], Rt, lt, wn, En, hi, pi, ee, Lt, ue, ce = !1, Se = !1, Oe, q, xn = [], Pn = !1, Ue = [], un = typeof document < "u", $e = Fi, fi = ve || bt ? "cssFloat" : "float", os = un && !ji && !Fi && "draggable" in document.createElement("div"), Gi = function() {
1807
1807
  if (un) {
1808
1808
  if (bt)
1809
1809
  return !1;
1810
1810
  var e = document.createElement("x");
1811
1811
  return e.style.cssText = "pointer-events:auto", e.style.pointerEvents === "auto";
1812
1812
  }
1813
- }(), Gi = function(t, n) {
1813
+ }(), Ji = function(t, n) {
1814
1814
  var i = b(t), o = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), r = Xt(t, 0, n), s = Xt(t, 1, n), a = r && b(r), l = s && b(s), u = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + I(r).width, d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + I(s).width;
1815
1815
  if (i.display === "flex")
1816
1816
  return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
@@ -1821,10 +1821,10 @@ var h, N, w, R, Dt, Pe, D, St, Ft, tt, le, xt, xe, U, kt = !1, Le = !1, ke = [],
1821
1821
  return s && (l.clear === "both" || l.clear === c) ? "vertical" : "horizontal";
1822
1822
  }
1823
1823
  return r && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || u >= o && i[fi] === "none" || s && i[fi] === "none" && u + d > o) ? "vertical" : "horizontal";
1824
- }, os = function(t, n, i) {
1824
+ }, rs = function(t, n, i) {
1825
1825
  var o = i ? t.left : t.top, r = i ? t.right : t.bottom, s = i ? t.width : t.height, a = i ? n.left : n.top, l = i ? n.right : n.bottom, u = i ? n.width : n.height;
1826
1826
  return o === a || r === l || o + s / 2 === a + u / 2;
1827
- }, rs = function(t, n) {
1827
+ }, ss = function(t, n) {
1828
1828
  var i;
1829
1829
  return ke.some(function(o) {
1830
1830
  var r = o[et].options.emptyInsertThreshold;
@@ -1834,7 +1834,7 @@ var h, N, w, R, Dt, Pe, D, St, Ft, tt, le, xt, xe, U, kt = !1, Le = !1, ke = [],
1834
1834
  return i = o;
1835
1835
  }
1836
1836
  }), i;
1837
- }, Ji = function(t) {
1837
+ }, Ki = function(t) {
1838
1838
  function n(r, s) {
1839
1839
  return function(a, l, u, d) {
1840
1840
  var c = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
@@ -1854,19 +1854,19 @@ var h, N, w, R, Dt, Pe, D, St, Ft, tt, le, xt, xe, U, kt = !1, Le = !1, ke = [],
1854
1854
  (!o || Te(o) != "object") && (o = {
1855
1855
  name: o
1856
1856
  }), i.name = o.name, i.checkPull = n(o.pull, !0), i.checkPut = n(o.put), i.revertClone = o.revertClone, t.group = i;
1857
- }, Ki = function() {
1858
- !Wi && w && b(w, "display", "none");
1859
1857
  }, Qi = function() {
1860
- !Wi && w && b(w, "display", "");
1858
+ !Gi && w && b(w, "display", "none");
1859
+ }, to = function() {
1860
+ !Gi && w && b(w, "display", "");
1861
1861
  };
1862
- un && !Fi && document.addEventListener("click", function(e) {
1862
+ un && !ji && document.addEventListener("click", function(e) {
1863
1863
  if (Le)
1864
1864
  return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Le = !1, !1;
1865
1865
  }, !0);
1866
- var Rt = function(t) {
1866
+ var Dt = function(t) {
1867
1867
  if (h) {
1868
1868
  t = t.touches ? t.touches[0] : t;
1869
- var n = rs(t.clientX, t.clientY);
1869
+ var n = ss(t.clientX, t.clientY);
1870
1870
  if (n) {
1871
1871
  var i = {};
1872
1872
  for (var o in t)
@@ -1874,7 +1874,7 @@ var Rt = function(t) {
1874
1874
  i.target = i.rootEl = n, i.preventDefault = void 0, i.stopPropagation = void 0, n[et]._onDragOver(i);
1875
1875
  }
1876
1876
  }
1877
- }, ss = function(t) {
1877
+ }, as = function(t) {
1878
1878
  h && h.parentNode[et]._isOutsideThisEl(t.target);
1879
1879
  };
1880
1880
  function v(e, t) {
@@ -1896,7 +1896,7 @@ function v(e, t) {
1896
1896
  // will be set to same as swapThreshold if default
1897
1897
  removeCloneOnHide: !0,
1898
1898
  direction: function() {
1899
- return Gi(e, this.options);
1899
+ return Ji(e, this.options);
1900
1900
  },
1901
1901
  ghostClass: "sortable-ghost",
1902
1902
  chosenClass: "sortable-chosen",
@@ -1929,16 +1929,16 @@ function v(e, t) {
1929
1929
  we.initializePlugins(this, e, n);
1930
1930
  for (var i in n)
1931
1931
  !(i in t) && (t[i] = n[i]);
1932
- Ji(t);
1932
+ Ki(t);
1933
1933
  for (var o in this)
1934
1934
  o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
1935
- this.nativeDraggable = t.forceFallback ? !1 : is, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? _(e, "pointerdown", this._onTapStart) : (_(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart)), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), ke.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), yt(this, Kr());
1935
+ this.nativeDraggable = t.forceFallback ? !1 : os, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? _(e, "pointerdown", this._onTapStart) : (_(e, "mousedown", this._onTapStart), _(e, "touchstart", this._onTapStart)), this.nativeDraggable && (_(e, "dragover", this), _(e, "dragenter", this)), ke.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), yt(this, Qr());
1936
1936
  }
1937
1937
  v.prototype = /** @lends Sortable.prototype */
1938
1938
  {
1939
1939
  constructor: v,
1940
1940
  _isOutsideThisEl: function(t) {
1941
- !this.el.contains(t) && t !== this.el && (Vt = null);
1941
+ !this.el.contains(t) && t !== this.el && (Lt = null);
1942
1942
  },
1943
1943
  _getDirection: function(t, n) {
1944
1944
  return typeof this.options.direction == "function" ? this.options.direction.call(this, t, n, h) : this.options.direction;
@@ -1946,8 +1946,8 @@ v.prototype = /** @lends Sortable.prototype */
1946
1946
  _onTapStart: function(t) {
1947
1947
  if (t.cancelable) {
1948
1948
  var n = this, i = this.el, o = this.options, r = o.preventOnFilter, s = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (a || t).target, u = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, d = o.filter;
1949
- if (fs(i), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && se && l && l.tagName.toUpperCase() === "SELECT") && (l = ut(l, o.draggable, i, !1), !(l && l.animated) && Pe !== l)) {
1950
- if (Ft = it(l), le = it(l, o.draggable), typeof d == "function") {
1949
+ if (gs(i), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && se && l && l.tagName.toUpperCase() === "SELECT") && (l = ut(l, o.draggable, i, !1), !(l && l.animated) && Pe !== l)) {
1950
+ if (jt = it(l), le = it(l, o.draggable), typeof d == "function") {
1951
1951
  if (d.call(this, t, l, this)) {
1952
1952
  W({
1953
1953
  sortable: n,
@@ -1985,11 +1985,11 @@ v.prototype = /** @lends Sortable.prototype */
1985
1985
  var o = this, r = o.el, s = o.options, a = r.ownerDocument, l;
1986
1986
  if (i && !h && i.parentNode === r) {
1987
1987
  var u = I(i);
1988
- if (R = r, h = i, N = h.parentNode, Dt = h.nextSibling, Pe = i, xe = s.group, v.dragged = h, Ot = {
1988
+ if (R = r, h = i, M = h.parentNode, Mt = h.nextSibling, Pe = i, xe = s.group, v.dragged = h, Rt = {
1989
1989
  target: h,
1990
1990
  clientX: (n || t).clientX,
1991
1991
  clientY: (n || t).clientY
1992
- }, hi = Ot.clientX - u.left, pi = Ot.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, h.style["will-change"] = "all", l = function() {
1992
+ }, hi = Rt.clientX - u.left, pi = Rt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, h.style["will-change"] = "all", l = function() {
1993
1993
  if (G("delayEnded", o, {
1994
1994
  evt: t
1995
1995
  }), v.eventCanceled) {
@@ -2002,8 +2002,8 @@ v.prototype = /** @lends Sortable.prototype */
2002
2002
  originalEvent: t
2003
2003
  }), Q(h, s.chosenClass, !0);
2004
2004
  }, s.ignore.split(",").forEach(function(d) {
2005
- zi(h, d.trim(), Sn);
2006
- }), _(a, "dragover", Rt), _(a, "mousemove", Rt), _(a, "touchmove", Rt), _(a, "mouseup", o._onDrop), _(a, "touchend", o._onDrop), _(a, "touchcancel", o._onDrop), li && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), G("delayStart", this, {
2005
+ Zi(h, d.trim(), Sn);
2006
+ }), _(a, "dragover", Dt), _(a, "mousemove", Dt), _(a, "touchmove", Dt), _(a, "mouseup", o._onDrop), _(a, "touchend", o._onDrop), _(a, "touchcancel", o._onDrop), li && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), G("delayStart", this, {
2007
2007
  evt: t
2008
2008
  }), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(ve || bt))) {
2009
2009
  if (v.eventCanceled) {
@@ -2036,10 +2036,10 @@ v.prototype = /** @lends Sortable.prototype */
2036
2036
  }
2037
2037
  },
2038
2038
  _dragStarted: function(t, n) {
2039
- if (kt = !1, R && h) {
2039
+ if (Ut = !1, R && h) {
2040
2040
  G("dragStarted", this, {
2041
2041
  evt: n
2042
- }), this.nativeDraggable && _(document, "dragover", ss);
2042
+ }), this.nativeDraggable && _(document, "dragover", as);
2043
2043
  var i = this.options;
2044
2044
  !t && Q(h, i.dragClass, !1), Q(h, i.ghostClass, !0), v.active = this, t && this._appendGhost(), W({
2045
2045
  sortable: this,
@@ -2051,7 +2051,7 @@ v.prototype = /** @lends Sortable.prototype */
2051
2051
  },
2052
2052
  _emulateDragOver: function() {
2053
2053
  if (lt) {
2054
- this._lastX = lt.clientX, this._lastY = lt.clientY, Ki();
2054
+ this._lastX = lt.clientX, this._lastY = lt.clientY, Qi();
2055
2055
  for (var t = document.elementFromPoint(lt.clientX, lt.clientY), n = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(lt.clientX, lt.clientY), t !== n); )
2056
2056
  n = t;
2057
2057
  if (h.parentNode[et]._isOutsideThisEl(t), n)
@@ -2068,13 +2068,13 @@ v.prototype = /** @lends Sortable.prototype */
2068
2068
  }
2069
2069
  t = n;
2070
2070
  } while (n = n.parentNode);
2071
- Qi();
2071
+ to();
2072
2072
  }
2073
2073
  },
2074
2074
  _onTouchMove: function(t) {
2075
- if (Ot) {
2076
- var n = this.options, i = n.fallbackTolerance, o = n.fallbackOffset, r = t.touches ? t.touches[0] : t, s = w && jt(w, !0), a = w && s && s.a, l = w && s && s.d, u = $e && Y && di(Y), d = (r.clientX - Ot.clientX + o.x) / (a || 1) + (u ? u[0] - xn[0] : 0) / (a || 1), c = (r.clientY - Ot.clientY + o.y) / (l || 1) + (u ? u[1] - xn[1] : 0) / (l || 1);
2077
- if (!v.active && !kt) {
2075
+ if (Rt) {
2076
+ var n = this.options, i = n.fallbackTolerance, o = n.fallbackOffset, r = t.touches ? t.touches[0] : t, s = w && zt(w, !0), a = w && s && s.a, l = w && s && s.d, u = $e && q && di(q), d = (r.clientX - Rt.clientX + o.x) / (a || 1) + (u ? u[0] - xn[0] : 0) / (a || 1), c = (r.clientY - Rt.clientY + o.y) / (l || 1) + (u ? u[1] - xn[1] : 0) / (l || 1);
2077
+ if (!v.active && !Ut) {
2078
2078
  if (i && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < i)
2079
2079
  return;
2080
2080
  this._onDragStart(t, !0);
@@ -2098,9 +2098,9 @@ v.prototype = /** @lends Sortable.prototype */
2098
2098
  if (!w) {
2099
2099
  var t = this.options.fallbackOnBody ? document.body : R, n = I(h, !0, $e, !0, t), i = this.options;
2100
2100
  if ($e) {
2101
- for (Y = t; b(Y, "position") === "static" && b(Y, "transform") === "none" && Y !== document; )
2102
- Y = Y.parentNode;
2103
- Y !== document.body && Y !== document.documentElement ? (Y === document && (Y = ct()), n.top += Y.scrollTop, n.left += Y.scrollLeft) : Y = ct(), xn = di(Y);
2101
+ for (q = t; b(q, "position") === "static" && b(q, "transform") === "none" && q !== document; )
2102
+ q = q.parentNode;
2103
+ q !== document.body && q !== document.documentElement ? (q === document && (q = ct()), n.top += q.scrollTop, n.left += q.scrollLeft) : q = ct(), xn = di(q);
2104
2104
  }
2105
2105
  w = h.cloneNode(!0), Q(w, i.ghostClass, !1), Q(w, i.fallbackClass, !0), Q(w, i.dragClass, !0), b(w, "transition", ""), b(w, "transform", ""), b(w, "box-sizing", "border-box"), b(w, "margin", 0), b(w, "top", n.top), b(w, "left", n.left), b(w, "width", n.width), b(w, "height", n.height), b(w, "opacity", "0.8"), b(w, "position", $e ? "absolute" : "fixed"), b(w, "zIndex", "100000"), b(w, "pointerEvents", "none"), v.ghost = w, t.appendChild(w), b(w, "transform-origin", hi / parseInt(w.style.width) * 100 + "% " + pi / parseInt(w.style.height) * 100 + "%");
2106
2106
  }
@@ -2118,13 +2118,13 @@ v.prototype = /** @lends Sortable.prototype */
2118
2118
  sortable: i,
2119
2119
  name: "clone"
2120
2120
  }));
2121
- }), !n && Q(h, r.dragClass, !0), n ? (Le = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (S(document, "mouseup", i._onDrop), S(document, "touchend", i._onDrop), S(document, "touchcancel", i._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(i, o, h)), _(document, "drop", i), b(h, "transform", "translateZ(0)")), kt = !0, i._dragStartId = Re(i._dragStarted.bind(i, n, t)), _(document, "selectstart", i), ee = !0, se && b(document.body, "user-select", "none");
2121
+ }), !n && Q(h, r.dragClass, !0), n ? (Le = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (S(document, "mouseup", i._onDrop), S(document, "touchend", i._onDrop), S(document, "touchcancel", i._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(i, o, h)), _(document, "drop", i), b(h, "transform", "translateZ(0)")), Ut = !0, i._dragStartId = Re(i._dragStarted.bind(i, n, t)), _(document, "selectstart", i), ee = !0, se && b(document.body, "user-select", "none");
2122
2122
  },
2123
2123
  // Returns true - if no further action is needed (either inserted or another condition)
2124
2124
  _onDragOver: function(t) {
2125
2125
  var n = this.el, i = t.target, o, r, s, a = this.options, l = a.group, u = v.active, d = xe === l, c = a.sort, p = U || u, f, g = this, y = !1;
2126
2126
  if (Pn) return;
2127
- function P(Jt, Ao) {
2127
+ function O(Jt, Co) {
2128
2128
  G(Jt, g, dt({
2129
2129
  evt: t,
2130
2130
  isOwner: d,
@@ -2136,21 +2136,21 @@ v.prototype = /** @lends Sortable.prototype */
2136
2136
  fromSortable: p,
2137
2137
  target: i,
2138
2138
  completed: B,
2139
- onMove: function(Yn, Co) {
2140
- return _e(R, n, h, o, Yn, I(Yn), t, Co);
2139
+ onMove: function(qn, To) {
2140
+ return _e(R, n, h, o, qn, I(qn), t, To);
2141
2141
  },
2142
2142
  changed: K
2143
- }, Ao));
2143
+ }, Co));
2144
2144
  }
2145
2145
  function L() {
2146
- P("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2146
+ O("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2147
2147
  }
2148
2148
  function B(Jt) {
2149
- return P("dragOverCompleted", {
2149
+ return O("dragOverCompleted", {
2150
2150
  insertion: Jt
2151
2151
  }), Jt && (d ? u._hideClone() : u._showClone(g), g !== p && (Q(h, U ? U.options.ghostClass : u.options.ghostClass, !1), Q(h, a.ghostClass, !0)), U !== g && g !== v.active ? U = g : g === v.active && U && (U = null), p === g && (g._ignoreWhileAnimating = i), g.animateAll(function() {
2152
- P("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2153
- }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (i === h && !h.animated || i === n && !i.animated) && (Vt = null), !a.dragoverBubble && !t.rootEl && i !== document && (h.parentNode[et]._isOutsideThisEl(t.target), !Jt && Rt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
2152
+ O("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2153
+ }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (i === h && !h.animated || i === n && !i.animated) && (Lt = null), !a.dragoverBubble && !t.rootEl && i !== document && (h.parentNode[et]._isOutsideThisEl(t.target), !Jt && Dt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
2154
2154
  }
2155
2155
  function K() {
2156
2156
  tt = it(h), xt = it(h, a.draggable), W({
@@ -2162,44 +2162,44 @@ v.prototype = /** @lends Sortable.prototype */
2162
2162
  originalEvent: t
2163
2163
  });
2164
2164
  }
2165
- if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), i = ut(i, a.draggable, n, !0), P("dragOver"), v.eventCanceled) return y;
2165
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), i = ut(i, a.draggable, n, !0), O("dragOver"), v.eventCanceled) return y;
2166
2166
  if (h.contains(t.target) || i.animated && i.animatingX && i.animatingY || g._ignoreWhileAnimating === i)
2167
2167
  return B(!1);
2168
- if (Le = !1, u && !a.disabled && (d ? c || (s = N !== R) : U === this || (this.lastPutMode = xe.checkPull(this, u, h, t)) && l.checkPut(this, u, h, t))) {
2169
- if (f = this._getDirection(t, i) === "vertical", o = I(h), P("dragOverValid"), v.eventCanceled) return y;
2168
+ if (Le = !1, u && !a.disabled && (d ? c || (s = M !== R) : U === this || (this.lastPutMode = xe.checkPull(this, u, h, t)) && l.checkPut(this, u, h, t))) {
2169
+ if (f = this._getDirection(t, i) === "vertical", o = I(h), O("dragOverValid"), v.eventCanceled) return y;
2170
2170
  if (s)
2171
- return N = R, L(), this._hideClone(), P("revert"), v.eventCanceled || (Dt ? R.insertBefore(h, Dt) : R.appendChild(h)), B(!0);
2172
- var q = jn(n, a.draggable);
2173
- if (!q || cs(t, f, this) && !q.animated) {
2174
- if (q === h)
2171
+ return M = R, L(), this._hideClone(), O("revert"), v.eventCanceled || (Mt ? R.insertBefore(h, Mt) : R.appendChild(h)), B(!0);
2172
+ var Y = jn(n, a.draggable);
2173
+ if (!Y || ds(t, f, this) && !Y.animated) {
2174
+ if (Y === h)
2175
2175
  return B(!1);
2176
- if (q && n === t.target && (i = q), i && (r = I(i)), _e(R, n, h, o, i, r, t, !!i) !== !1)
2177
- return L(), q && q.nextSibling ? n.insertBefore(h, q.nextSibling) : n.appendChild(h), N = n, K(), B(!0);
2178
- } else if (q && us(t, f, this)) {
2176
+ if (Y && n === t.target && (i = Y), i && (r = I(i)), _e(R, n, h, o, i, r, t, !!i) !== !1)
2177
+ return L(), Y && Y.nextSibling ? n.insertBefore(h, Y.nextSibling) : n.appendChild(h), M = n, K(), B(!0);
2178
+ } else if (Y && cs(t, f, this)) {
2179
2179
  var st = Xt(n, 0, a, !0);
2180
2180
  if (st === h)
2181
2181
  return B(!1);
2182
2182
  if (i = st, r = I(i), _e(R, n, h, o, i, r, t, !1) !== !1)
2183
- return L(), n.insertBefore(h, st), N = n, K(), B(!0);
2183
+ return L(), n.insertBefore(h, st), M = n, K(), B(!0);
2184
2184
  } else if (i.parentNode === n) {
2185
2185
  r = I(i);
2186
- var A = 0, Z, at = h.parentNode !== n, X = !os(h.animated && h.toRect || o, i.animated && i.toRect || r, f), qt = f ? "top" : "left", vt = ci(i, "top", "top") || ci(h, "top", "top"), Wt = vt ? vt.scrollTop : void 0;
2187
- Vt !== i && (Z = r[qt], ce = !1, Se = !X && a.invertSwap || at), A = ds(t, i, r, f, X ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Se, Vt === i);
2186
+ var A = 0, Z, at = h.parentNode !== n, X = !rs(h.animated && h.toRect || o, i.animated && i.toRect || r, f), Yt = f ? "top" : "left", vt = ci(i, "top", "top") || ci(h, "top", "top"), Wt = vt ? vt.scrollTop : void 0;
2187
+ Lt !== i && (Z = r[Yt], ce = !1, Se = !X && a.invertSwap || at), A = hs(t, i, r, f, X ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, Se, Lt === i);
2188
2188
  var ht;
2189
2189
  if (A !== 0) {
2190
- var Ct = it(h);
2190
+ var Tt = it(h);
2191
2191
  do
2192
- Ct -= A, ht = N.children[Ct];
2192
+ Tt -= A, ht = M.children[Tt];
2193
2193
  while (ht && (b(ht, "display") === "none" || ht === w));
2194
2194
  }
2195
2195
  if (A === 0 || ht === i)
2196
2196
  return B(!1);
2197
- Vt = i, ue = A;
2197
+ Lt = i, ue = A;
2198
2198
  var Gt = i.nextElementSibling, wt = !1;
2199
2199
  wt = A === 1;
2200
2200
  var Ee = _e(R, n, h, o, i, r, t, wt);
2201
2201
  if (Ee !== !1)
2202
- return (Ee === 1 || Ee === -1) && (wt = Ee === 1), Pn = !0, setTimeout(ls, 30), L(), wt && !Gt ? n.appendChild(h) : i.parentNode.insertBefore(h, wt ? Gt : i), vt && Xi(vt, 0, Wt - vt.scrollTop), N = h.parentNode, Z !== void 0 && !Se && (Oe = Math.abs(Z - I(i)[qt])), K(), B(!0);
2202
+ return (Ee === 1 || Ee === -1) && (wt = Ee === 1), Pn = !0, setTimeout(us, 30), L(), wt && !Gt ? n.appendChild(h) : i.parentNode.insertBefore(h, wt ? Gt : i), vt && qi(vt, 0, Wt - vt.scrollTop), M = h.parentNode, Z !== void 0 && !Se && (Oe = Math.abs(Z - I(i)[Yt])), K(), B(!0);
2203
2203
  }
2204
2204
  if (n.contains(h))
2205
2205
  return B(!1);
@@ -2208,7 +2208,7 @@ v.prototype = /** @lends Sortable.prototype */
2208
2208
  },
2209
2209
  _ignoreWhileAnimating: null,
2210
2210
  _offMoveEvents: function() {
2211
- S(document, "mousemove", this._onTouchMove), S(document, "touchmove", this._onTouchMove), S(document, "pointermove", this._onTouchMove), S(document, "dragover", Rt), S(document, "mousemove", Rt), S(document, "touchmove", Rt);
2211
+ S(document, "mousemove", this._onTouchMove), S(document, "touchmove", this._onTouchMove), S(document, "pointermove", this._onTouchMove), S(document, "dragover", Dt), S(document, "mousemove", Dt), S(document, "touchmove", Dt);
2212
2212
  },
2213
2213
  _offUpEvents: function() {
2214
2214
  var t = this.el.ownerDocument;
@@ -2218,58 +2218,58 @@ v.prototype = /** @lends Sortable.prototype */
2218
2218
  var n = this.el, i = this.options;
2219
2219
  if (tt = it(h), xt = it(h, i.draggable), G("drop", this, {
2220
2220
  evt: t
2221
- }), N = h && h.parentNode, tt = it(h), xt = it(h, i.draggable), v.eventCanceled) {
2221
+ }), M = h && h.parentNode, tt = it(h), xt = it(h, i.draggable), v.eventCanceled) {
2222
2222
  this._nulling();
2223
2223
  return;
2224
2224
  }
2225
- kt = !1, Se = !1, ce = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), On(this.cloneId), On(this._dragStartId), this.nativeDraggable && (S(document, "drop", this), S(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), se && b(document.body, "user-select", ""), b(h, "transform", ""), t && (ee && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (R === N || U && U.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), h && (this.nativeDraggable && S(h, "dragend", this), Sn(h), h.style["will-change"] = "", ee && !kt && Q(h, U ? U.options.ghostClass : this.options.ghostClass, !1), Q(h, this.options.chosenClass, !1), W({
2225
+ Ut = !1, Se = !1, ce = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), On(this.cloneId), On(this._dragStartId), this.nativeDraggable && (S(document, "drop", this), S(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), se && b(document.body, "user-select", ""), b(h, "transform", ""), t && (ee && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (R === M || U && U.lastPutMode !== "clone") && D && D.parentNode && D.parentNode.removeChild(D), h && (this.nativeDraggable && S(h, "dragend", this), Sn(h), h.style["will-change"] = "", ee && !Ut && Q(h, U ? U.options.ghostClass : this.options.ghostClass, !1), Q(h, this.options.chosenClass, !1), W({
2226
2226
  sortable: this,
2227
2227
  name: "unchoose",
2228
- toEl: N,
2228
+ toEl: M,
2229
2229
  newIndex: null,
2230
2230
  newDraggableIndex: null,
2231
2231
  originalEvent: t
2232
- }), R !== N ? (tt >= 0 && (W({
2233
- rootEl: N,
2232
+ }), R !== M ? (tt >= 0 && (W({
2233
+ rootEl: M,
2234
2234
  name: "add",
2235
- toEl: N,
2235
+ toEl: M,
2236
2236
  fromEl: R,
2237
2237
  originalEvent: t
2238
2238
  }), W({
2239
2239
  sortable: this,
2240
2240
  name: "remove",
2241
- toEl: N,
2241
+ toEl: M,
2242
2242
  originalEvent: t
2243
2243
  }), W({
2244
- rootEl: N,
2244
+ rootEl: M,
2245
2245
  name: "sort",
2246
- toEl: N,
2246
+ toEl: M,
2247
2247
  fromEl: R,
2248
2248
  originalEvent: t
2249
2249
  }), W({
2250
2250
  sortable: this,
2251
2251
  name: "sort",
2252
- toEl: N,
2252
+ toEl: M,
2253
2253
  originalEvent: t
2254
- })), U && U.save()) : tt !== Ft && tt >= 0 && (W({
2254
+ })), U && U.save()) : tt !== jt && tt >= 0 && (W({
2255
2255
  sortable: this,
2256
2256
  name: "update",
2257
- toEl: N,
2257
+ toEl: M,
2258
2258
  originalEvent: t
2259
2259
  }), W({
2260
2260
  sortable: this,
2261
2261
  name: "sort",
2262
- toEl: N,
2262
+ toEl: M,
2263
2263
  originalEvent: t
2264
- })), v.active && ((tt == null || tt === -1) && (tt = Ft, xt = le), W({
2264
+ })), v.active && ((tt == null || tt === -1) && (tt = jt, xt = le), W({
2265
2265
  sortable: this,
2266
2266
  name: "end",
2267
- toEl: N,
2267
+ toEl: M,
2268
2268
  originalEvent: t
2269
2269
  }), this.save()))), this._nulling();
2270
2270
  },
2271
2271
  _nulling: function() {
2272
- G("nulling", this), R = h = N = w = Dt = D = Pe = St = Ot = lt = ee = tt = xt = Ft = le = Vt = ue = U = xe = v.dragged = v.ghost = v.clone = v.active = null, Ue.forEach(function(t) {
2272
+ G("nulling", this), R = h = M = w = Mt = D = Pe = St = Rt = lt = ee = tt = xt = jt = le = Lt = ue = U = xe = v.dragged = v.ghost = v.clone = v.active = null, Ue.forEach(function(t) {
2273
2273
  t.checked = !0;
2274
2274
  }), Ue.length = wn = En = 0;
2275
2275
  },
@@ -2281,7 +2281,7 @@ v.prototype = /** @lends Sortable.prototype */
2281
2281
  break;
2282
2282
  case "dragenter":
2283
2283
  case "dragover":
2284
- h && (this._onDragOver(t), as(t));
2284
+ h && (this._onDragOver(t), ls(t));
2285
2285
  break;
2286
2286
  case "selectstart":
2287
2287
  t.preventDefault();
@@ -2294,7 +2294,7 @@ v.prototype = /** @lends Sortable.prototype */
2294
2294
  */
2295
2295
  toArray: function() {
2296
2296
  for (var t = [], n, i = this.el.children, o = 0, r = i.length, s = this.options; o < r; o++)
2297
- n = i[o], ut(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || ps(n));
2297
+ n = i[o], ut(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || fs(n));
2298
2298
  return t;
2299
2299
  },
2300
2300
  /**
@@ -2337,7 +2337,7 @@ v.prototype = /** @lends Sortable.prototype */
2337
2337
  if (n === void 0)
2338
2338
  return i[t];
2339
2339
  var o = we.modifyOption(this, t, n);
2340
- typeof o < "u" ? i[t] = o : i[t] = n, t === "group" && Ji(i);
2340
+ typeof o < "u" ? i[t] = o : i[t] = n, t === "group" && Ki(i);
2341
2341
  },
2342
2342
  /**
2343
2343
  * Destroy
@@ -2362,11 +2362,11 @@ v.prototype = /** @lends Sortable.prototype */
2362
2362
  }
2363
2363
  if (St) {
2364
2364
  if (G("showClone", this), v.eventCanceled) return;
2365
- h.parentNode == R && !this.options.group.revertClone ? R.insertBefore(D, h) : Dt ? R.insertBefore(D, Dt) : R.appendChild(D), this.options.group.revertClone && this.animate(h, D), b(D, "display", ""), St = !1;
2365
+ h.parentNode == R && !this.options.group.revertClone ? R.insertBefore(D, h) : Mt ? R.insertBefore(D, Mt) : R.appendChild(D), this.options.group.revertClone && this.animate(h, D), b(D, "display", ""), St = !1;
2366
2366
  }
2367
2367
  }
2368
2368
  };
2369
- function as(e) {
2369
+ function ls(e) {
2370
2370
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
2371
2371
  }
2372
2372
  function _e(e, t, n, i, o, r, s, a) {
@@ -2379,18 +2379,18 @@ function _e(e, t, n, i, o, r, s, a) {
2379
2379
  function Sn(e) {
2380
2380
  e.draggable = !1;
2381
2381
  }
2382
- function ls() {
2382
+ function us() {
2383
2383
  Pn = !1;
2384
2384
  }
2385
- function us(e, t, n) {
2386
- var i = I(Xt(n.el, 0, n.options, !0)), o = qi(n.el, n.options, w), r = 10;
2385
+ function cs(e, t, n) {
2386
+ var i = I(Xt(n.el, 0, n.options, !0)), o = Wi(n.el, n.options, w), r = 10;
2387
2387
  return t ? e.clientX < o.left - r || e.clientY < i.top && e.clientX < i.right : e.clientY < o.top - r || e.clientY < i.bottom && e.clientX < i.left;
2388
2388
  }
2389
- function cs(e, t, n) {
2390
- var i = I(jn(n.el, n.options.draggable)), o = qi(n.el, n.options, w), r = 10;
2389
+ function ds(e, t, n) {
2390
+ var i = I(jn(n.el, n.options.draggable)), o = Wi(n.el, n.options, w), r = 10;
2391
2391
  return t ? e.clientX > o.right + r || e.clientY > i.bottom && e.clientX > i.left : e.clientY > o.bottom + r || e.clientX > i.right && e.clientY > i.top;
2392
2392
  }
2393
- function ds(e, t, n, i, o, r, s, a) {
2393
+ function hs(e, t, n, i, o, r, s, a) {
2394
2394
  var l = i ? e.clientY : e.clientX, u = i ? n.height : n.width, d = i ? n.top : n.left, c = i ? n.bottom : n.right, p = !1;
2395
2395
  if (!s) {
2396
2396
  if (a && Oe < u * o) {
@@ -2399,19 +2399,19 @@ function ds(e, t, n, i, o, r, s, a) {
2399
2399
  else if (ue === 1 ? l < d + Oe : l > c - Oe)
2400
2400
  return -ue;
2401
2401
  } else if (l > d + u * (1 - o) / 2 && l < c - u * (1 - o) / 2)
2402
- return hs(t);
2402
+ return ps(t);
2403
2403
  }
2404
2404
  return p = p || s, p && (l < d + u * r / 2 || l > c - u * r / 2) ? l > d + u / 2 ? 1 : -1 : 0;
2405
2405
  }
2406
- function hs(e) {
2406
+ function ps(e) {
2407
2407
  return it(h) < it(e) ? 1 : -1;
2408
2408
  }
2409
- function ps(e) {
2409
+ function fs(e) {
2410
2410
  for (var t = e.tagName + e.className + e.src + e.href + e.textContent, n = t.length, i = 0; n--; )
2411
2411
  i += t.charCodeAt(n);
2412
2412
  return i.toString(36);
2413
2413
  }
2414
- function fs(e) {
2414
+ function gs(e) {
2415
2415
  Ue.length = 0;
2416
2416
  for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
2417
2417
  var i = t[n];
@@ -2425,25 +2425,25 @@ function On(e) {
2425
2425
  return clearTimeout(e);
2426
2426
  }
2427
2427
  un && _(document, "touchmove", function(e) {
2428
- (v.active || kt) && e.cancelable && e.preventDefault();
2428
+ (v.active || Ut) && e.cancelable && e.preventDefault();
2429
2429
  });
2430
2430
  v.utils = {
2431
2431
  on: _,
2432
2432
  off: S,
2433
2433
  css: b,
2434
- find: zi,
2434
+ find: Zi,
2435
2435
  is: function(t, n) {
2436
2436
  return !!ut(t, n, t, !1);
2437
2437
  },
2438
- extend: Gr,
2439
- throttle: Zi,
2438
+ extend: Jr,
2439
+ throttle: Xi,
2440
2440
  closest: ut,
2441
2441
  toggleClass: Q,
2442
2442
  clone: Yi,
2443
2443
  index: it,
2444
2444
  nextTick: Re,
2445
2445
  cancelNextTick: On,
2446
- detectDirection: Gi,
2446
+ detectDirection: Ji,
2447
2447
  getChild: Xt
2448
2448
  };
2449
2449
  v.get = function(e) {
@@ -2462,8 +2462,8 @@ v.create = function(e, t) {
2462
2462
  return new v(e, t);
2463
2463
  };
2464
2464
  v.version = Yr;
2465
- var M = [], ne, Rn, Dn = !1, $n, _n, Fe, ie;
2466
- function gs() {
2465
+ var N = [], ne, Rn, Dn = !1, $n, _n, Fe, ie;
2466
+ function ms() {
2467
2467
  function e() {
2468
2468
  this.defaults = {
2469
2469
  scroll: !0,
@@ -2485,10 +2485,10 @@ function gs() {
2485
2485
  !this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
2486
2486
  },
2487
2487
  drop: function() {
2488
- this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), gi(), De(), Jr();
2488
+ this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), gi(), De(), Kr();
2489
2489
  },
2490
2490
  nulling: function() {
2491
- Fe = Rn = ne = Dn = ie = $n = _n = null, M.length = 0;
2491
+ Fe = Rn = ne = Dn = ie = $n = _n = null, N.length = 0;
2492
2492
  },
2493
2493
  _handleFallbackAutoScroll: function(n) {
2494
2494
  this._handleAutoScroll(n, !0);
@@ -2497,17 +2497,17 @@ function gs() {
2497
2497
  var o = this, r = (n.touches ? n.touches[0] : n).clientX, s = (n.touches ? n.touches[0] : n).clientY, a = document.elementFromPoint(r, s);
2498
2498
  if (Fe = n, i || this.options.forceAutoScrollFallback || ve || bt || se) {
2499
2499
  An(n, this.options, a, i);
2500
- var l = $t(a, !0);
2500
+ var l = _t(a, !0);
2501
2501
  Dn && (!ie || r !== $n || s !== _n) && (ie && gi(), ie = setInterval(function() {
2502
- var u = $t(document.elementFromPoint(r, s), !0);
2502
+ var u = _t(document.elementFromPoint(r, s), !0);
2503
2503
  u !== l && (l = u, De()), An(n, o.options, u, i);
2504
2504
  }, 10), $n = r, _n = s);
2505
2505
  } else {
2506
- if (!this.options.bubbleScroll || $t(a, !0) === ct()) {
2506
+ if (!this.options.bubbleScroll || _t(a, !0) === ct()) {
2507
2507
  De();
2508
2508
  return;
2509
2509
  }
2510
- An(n, this.options, $t(a, !1), !1);
2510
+ An(n, this.options, _t(a, !1), !1);
2511
2511
  }
2512
2512
  }
2513
2513
  }, yt(e, {
@@ -2516,36 +2516,36 @@ function gs() {
2516
2516
  });
2517
2517
  }
2518
2518
  function De() {
2519
- M.forEach(function(e) {
2519
+ N.forEach(function(e) {
2520
2520
  clearInterval(e.pid);
2521
- }), M = [];
2521
+ }), N = [];
2522
2522
  }
2523
2523
  function gi() {
2524
2524
  clearInterval(ie);
2525
2525
  }
2526
- var An = Zi(function(e, t, n, i) {
2526
+ var An = Xi(function(e, t, n, i) {
2527
2527
  if (t.scroll) {
2528
2528
  var o = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = ct(), u = !1, d;
2529
- Rn !== n && (Rn = n, De(), ne = t.scroll, d = t.scrollFn, ne === !0 && (ne = $t(n, !0)));
2529
+ Rn !== n && (Rn = n, De(), ne = t.scroll, d = t.scrollFn, ne === !0 && (ne = _t(n, !0)));
2530
2530
  var c = 0, p = ne;
2531
2531
  do {
2532
- var f = p, g = I(f), y = g.top, P = g.bottom, L = g.left, B = g.right, K = g.width, q = g.height, st = void 0, A = void 0, Z = f.scrollWidth, at = f.scrollHeight, X = b(f), qt = f.scrollLeft, vt = f.scrollTop;
2533
- f === l ? (st = K < Z && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), A = q < at && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (st = K < Z && (X.overflowX === "auto" || X.overflowX === "scroll"), A = q < at && (X.overflowY === "auto" || X.overflowY === "scroll"));
2534
- var Wt = st && (Math.abs(B - o) <= s && qt + K < Z) - (Math.abs(L - o) <= s && !!qt), ht = A && (Math.abs(P - r) <= s && vt + q < at) - (Math.abs(y - r) <= s && !!vt);
2535
- if (!M[c])
2536
- for (var Ct = 0; Ct <= c; Ct++)
2537
- M[Ct] || (M[Ct] = {});
2538
- (M[c].vx != Wt || M[c].vy != ht || M[c].el !== f) && (M[c].el = f, M[c].vx = Wt, M[c].vy = ht, clearInterval(M[c].pid), (Wt != 0 || ht != 0) && (u = !0, M[c].pid = setInterval((function() {
2532
+ var f = p, g = I(f), y = g.top, O = g.bottom, L = g.left, B = g.right, K = g.width, Y = g.height, st = void 0, A = void 0, Z = f.scrollWidth, at = f.scrollHeight, X = b(f), Yt = f.scrollLeft, vt = f.scrollTop;
2533
+ f === l ? (st = K < Z && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), A = Y < at && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (st = K < Z && (X.overflowX === "auto" || X.overflowX === "scroll"), A = Y < at && (X.overflowY === "auto" || X.overflowY === "scroll"));
2534
+ var Wt = st && (Math.abs(B - o) <= s && Yt + K < Z) - (Math.abs(L - o) <= s && !!Yt), ht = A && (Math.abs(O - r) <= s && vt + Y < at) - (Math.abs(y - r) <= s && !!vt);
2535
+ if (!N[c])
2536
+ for (var Tt = 0; Tt <= c; Tt++)
2537
+ N[Tt] || (N[Tt] = {});
2538
+ (N[c].vx != Wt || N[c].vy != ht || N[c].el !== f) && (N[c].el = f, N[c].vx = Wt, N[c].vy = ht, clearInterval(N[c].pid), (Wt != 0 || ht != 0) && (u = !0, N[c].pid = setInterval((function() {
2539
2539
  i && this.layer === 0 && v.active._onTouchMove(Fe);
2540
- var Gt = M[this.layer].vy ? M[this.layer].vy * a : 0, wt = M[this.layer].vx ? M[this.layer].vx * a : 0;
2541
- typeof d == "function" && d.call(v.dragged.parentNode[et], wt, Gt, e, Fe, M[this.layer].el) !== "continue" || Xi(M[this.layer].el, wt, Gt);
2540
+ var Gt = N[this.layer].vy ? N[this.layer].vy * a : 0, wt = N[this.layer].vx ? N[this.layer].vx * a : 0;
2541
+ typeof d == "function" && d.call(v.dragged.parentNode[et], wt, Gt, e, Fe, N[this.layer].el) !== "continue" || qi(N[this.layer].el, wt, Gt);
2542
2542
  }).bind({
2543
2543
  layer: c
2544
2544
  }), 24))), c++;
2545
- } while (t.bubbleScroll && p !== l && (p = $t(p, !1)));
2545
+ } while (t.bubbleScroll && p !== l && (p = _t(p, !1)));
2546
2546
  Dn = u;
2547
2547
  }
2548
- }, 30), to = function(t) {
2548
+ }, 30), eo = function(t) {
2549
2549
  var n = t.originalEvent, i = t.putSortable, o = t.dragEl, r = t.activeSortable, s = t.dispatchSortableEvent, a = t.hideGhostForTarget, l = t.unhideGhostForTarget;
2550
2550
  if (n) {
2551
2551
  var u = i || r;
@@ -2571,7 +2571,7 @@ zn.prototype = {
2571
2571
  var o = Xt(this.sortable.el, this.startIndex, this.options);
2572
2572
  o ? this.sortable.el.insertBefore(n, o) : this.sortable.el.appendChild(n), this.sortable.animateAll(), i && i.animateAll();
2573
2573
  },
2574
- drop: to
2574
+ drop: eo
2575
2575
  };
2576
2576
  yt(zn, {
2577
2577
  pluginName: "revertOnSpill"
@@ -2583,20 +2583,20 @@ Zn.prototype = {
2583
2583
  var n = t.dragEl, i = t.putSortable, o = i || this.sortable;
2584
2584
  o.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), o.animateAll();
2585
2585
  },
2586
- drop: to
2586
+ drop: eo
2587
2587
  };
2588
2588
  yt(Zn, {
2589
2589
  pluginName: "removeOnSpill"
2590
2590
  });
2591
- v.mount(new gs());
2591
+ v.mount(new ms());
2592
2592
  v.mount(Zn, zn);
2593
- const ms = (e) => {
2593
+ const ys = (e) => {
2594
2594
  const t = e.item;
2595
2595
  let n = Array.prototype.slice.call(t.parentNode.childNodes);
2596
2596
  return n = n.filter(
2597
2597
  (i) => i.nodeType != Node.ELEMENT_NODE || !i.classList.contains("sortable-fallback")
2598
2598
  ), n;
2599
- }, ys = (e, t, n, i, o, r) => {
2599
+ }, bs = (e, t, n, i, o, r) => {
2600
2600
  const a = e.item.parentNode;
2601
2601
  for (const y of n)
2602
2602
  a.appendChild(y);
@@ -2620,7 +2620,7 @@ const ms = (e) => {
2620
2620
  }
2621
2621
  t.requestUpdate();
2622
2622
  };
2623
- function bs(e, t, n, i) {
2623
+ function vs(e, t, n, i) {
2624
2624
  let o = [], r = null;
2625
2625
  e._sortable = v.create(e, {
2626
2626
  handle: ".drag-handle",
@@ -2628,14 +2628,14 @@ function bs(e, t, n, i) {
2628
2628
  swapThreshold: 0.5,
2629
2629
  animation: 150,
2630
2630
  easing: "cubic-bezier(1, 0, 0, 1)",
2631
- onStart: (s) => o = ms(s),
2631
+ onStart: (s) => o = ys(s),
2632
2632
  onMove: (s) => {
2633
2633
  r = s.related;
2634
2634
  },
2635
- onEnd: (s) => ys(s, i, o, t, n, r)
2635
+ onEnd: (s) => bs(s, i, o, t, n, r)
2636
2636
  });
2637
2637
  }
2638
- function vs(e, t, n, i) {
2638
+ function ws(e, t, n, i) {
2639
2639
  const o = e.getArray();
2640
2640
  let r = !1;
2641
2641
  o.forEach((s) => {
@@ -2665,24 +2665,24 @@ function Xn(e, t, n) {
2665
2665
  };
2666
2666
  return o(e, t, n), i;
2667
2667
  }
2668
- function ws(e, t, n) {
2668
+ function Es(e, t, n) {
2669
2669
  if (!e || !t) return !1;
2670
- if (!eo(e, n)) return !0;
2670
+ if (!no(e, n)) return !0;
2671
2671
  const i = e.get("minZoom"), o = e.get("maxZoom"), r = t.getView().getZoom();
2672
2672
  return r > i && r < o;
2673
2673
  }
2674
- function eo(e, t) {
2674
+ function no(e, t) {
2675
2675
  const n = e.get("minZoom"), i = e.get("maxZoom");
2676
2676
  return !!(t && (n !== -1 / 0 || i !== 1 / 0));
2677
2677
  }
2678
- function Es(e, t) {
2678
+ function xs(e, t) {
2679
2679
  var o, r, s;
2680
2680
  return !e || !t ? void 0 : e.getLayers ? "group" : ((s = (o = t.getInteractions().getArray().filter((a) => a.freehand_ !== void 0).map((a) => a.source_)) == null ? void 0 : o.ol_uid) == null ? void 0 : s.includes(
2681
2681
  // @ts-ignore
2682
2682
  e.getSource ? (r = e.getSource()) == null ? void 0 : r.ol_uid : void 0
2683
2683
  )) ? "draw" : e.declutter_ !== void 0 ? "vector" : "raster";
2684
2684
  }
2685
- function no(e, t) {
2685
+ function io(e, t) {
2686
2686
  var i;
2687
2687
  let n = {};
2688
2688
  for (const o in e) {
@@ -2690,7 +2690,7 @@ function no(e, t) {
2690
2690
  if (r && r !== "object")
2691
2691
  n[o] = r === "number" ? Number(t[o]) : t[o];
2692
2692
  else if (typeof e[o] == "object" && ((i = e[o]) != null && i.properties)) {
2693
- const s = no(
2693
+ const s = io(
2694
2694
  e[o].properties,
2695
2695
  t
2696
2696
  );
@@ -2699,7 +2699,7 @@ function no(e, t) {
2699
2699
  }
2700
2700
  return n;
2701
2701
  }
2702
- function xs(e, t) {
2702
+ function Ss(e, t) {
2703
2703
  var r, s, a, l, u;
2704
2704
  if (!t) return null;
2705
2705
  let n = {}, i = "updateStyleVariables" in e ? (
@@ -2712,20 +2712,20 @@ function xs(e, t) {
2712
2712
  const d = new URL(e.getSource().getTileUrlFunction()([0, 0, 0]));
2713
2713
  n = Object.fromEntries(d.searchParams.entries());
2714
2714
  } else return null;
2715
- const o = no(
2715
+ const o = io(
2716
2716
  ((u = t.schema) == null ? void 0 : u.properties) || t.schema,
2717
2717
  n
2718
2718
  );
2719
2719
  return Object.keys(o).length ? o : null;
2720
2720
  }
2721
- const Ss = (e, t) => e == null ? void 0 : e.filter(
2721
+ const $s = (e, t) => e == null ? void 0 : e.filter(
2722
2722
  (n) => ["remove", "sort"].filter((i) => t != null && t.get("layerControlDisable") ? i !== "sort" : !0).includes(n)
2723
- ), $s = (e, t) => e == null ? void 0 : e.filter((n) => {
2723
+ ), _s = (e, t) => e == null ? void 0 : e.filter((n) => {
2724
2724
  let i = !0;
2725
2725
  return ["remove", "sort"].includes(n) && (i = !1), n === "info" && (i = t.get("description")), n === "config" && (i = t.get("layerConfig")), i;
2726
- }), _s = (e, t) => x`
2726
+ }), As = (e, t) => x`
2727
2727
  <button slot="${e}-icon" class="icon">${t ? e : C}</button>
2728
- `, As = (e) => x`
2728
+ `, Cs = (e) => x`
2729
2729
  <button
2730
2730
  class="remove-icon icon"
2731
2731
  @click=${() => {
@@ -2740,11 +2740,11 @@ const Ss = (e, t) => e == null ? void 0 : e.filter(
2740
2740
  >
2741
2741
  ${e.unstyled ? "x" : C}
2742
2742
  </button>
2743
- `, Cs = (e) => x`
2743
+ `, Ts = (e) => x`
2744
2744
  <span class="button sort-icon icon drag-handle">
2745
2745
  ${e ? "═" : C}
2746
2746
  </span>
2747
- `, io = (e) => {
2747
+ `, oo = (e) => {
2748
2748
  var n;
2749
2749
  const t = ["layerControlHide", "layerControlOptional"];
2750
2750
  return (n = e == null ? void 0 : e.getArray()) == null ? void 0 : n.filter((i) => t.every((o) => !i.get(o)));
@@ -2754,10 +2754,10 @@ const Ss = (e, t) => e == null ? void 0 : e.filter(
2754
2754
  * Copyright 2020 Google LLC
2755
2755
  * SPDX-License-Identifier: BSD-3-Clause
2756
2756
  */
2757
- const oo = Ln(class extends kn {
2757
+ const ro = Ln(class extends kn {
2758
2758
  constructor(e) {
2759
2759
  if (super(e), e.type !== Et.PROPERTY && e.type !== Et.ATTRIBUTE && e.type !== Et.BOOLEAN_ATTRIBUTE) throw Error("The `live` directive is not allowed on child or event bindings");
2760
- if (!Zo(e)) throw Error("`live` bindings can only contain a single expression");
2760
+ if (!Xo(e)) throw Error("`live` bindings can only contain a single expression");
2761
2761
  }
2762
2762
  render(e) {
2763
2763
  return e;
@@ -2770,7 +2770,7 @@ const oo = Ln(class extends kn {
2770
2770
  } else if (e.type === Et.BOOLEAN_ATTRIBUTE) {
2771
2771
  if (!!t === n.hasAttribute(i)) return ot;
2772
2772
  } else if (e.type === Et.ATTRIBUTE && n.getAttribute(i) === t + "") return ot;
2773
- return Di(e), t;
2773
+ return Mi(e), t;
2774
2774
  }
2775
2775
  });
2776
2776
  /**
@@ -2778,7 +2778,7 @@ const oo = Ln(class extends kn {
2778
2778
  * Copyright 2017 Google LLC
2779
2779
  * SPDX-License-Identifier: BSD-3-Clause
2780
2780
  */
2781
- class Nn extends kn {
2781
+ class Mn extends kn {
2782
2782
  constructor(t) {
2783
2783
  if (super(t), this.it = C, t.type !== Et.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2784
2784
  }
@@ -2792,51 +2792,51 @@ class Nn extends kn {
2792
2792
  return n.raw = n, this._t = { _$litType$: this.constructor.resultType, strings: n, values: [] };
2793
2793
  }
2794
2794
  }
2795
- Nn.directiveName = "unsafeHTML", Nn.resultType = 1;
2796
- const Ts = Ln(Nn);
2795
+ Mn.directiveName = "unsafeHTML", Mn.resultType = 1;
2796
+ const Ps = Ln(Mn);
2797
2797
  /**
2798
2798
  * @license
2799
2799
  * Copyright 2021 Google LLC
2800
2800
  * SPDX-License-Identifier: BSD-3-Clause
2801
2801
  */
2802
- function* Ne(e, t) {
2802
+ function* Me(e, t) {
2803
2803
  if (e !== void 0) {
2804
2804
  let n = 0;
2805
2805
  for (const i of e) yield t(i, n++);
2806
2806
  }
2807
2807
  }
2808
- const Ps = (e, t, n) => {
2808
+ const Os = (e, t, n) => {
2809
2809
  let i = t;
2810
2810
  return n.layer.getSource().getTileUrlFunction() && (i || (i = n.layer.getSource().getTileUrlFunction()), n.layer.getSource().setTileUrlFunction(
2811
- (...o) => jr(i(...o), e)
2811
+ (...o) => zr(i(...o), e)
2812
2812
  ), n.layer.getSource().setKey(/* @__PURE__ */ new Date())), i;
2813
2813
  };
2814
- function Os(e, t, n) {
2814
+ function Rs(e, t, n) {
2815
2815
  const i = "updateStyleVariables" in t, o = "setStyle" in t, r = i ? (
2816
2816
  /** @type {import('ol/layer/WebGLTile').default} */
2817
2817
  t.style_
2818
2818
  ) : n.style;
2819
2819
  let s = r == null ? void 0 : r.variables;
2820
2820
  if (s) {
2821
- const a = ro(e);
2821
+ const a = so(e);
2822
2822
  if (r.variables = {
2823
2823
  ...s,
2824
2824
  ...a
2825
2825
  }, i)
2826
2826
  t.updateStyleVariables(a);
2827
2827
  else if (o) {
2828
- const l = Rs(r);
2828
+ const l = Ds(r);
2829
2829
  t.setStyle(
2830
2830
  l
2831
2831
  );
2832
2832
  }
2833
2833
  }
2834
2834
  }
2835
- const ro = (e) => {
2835
+ const so = (e) => {
2836
2836
  const t = {};
2837
2837
  for (const n in e)
2838
2838
  if (typeof e[n] == "object" && e[n] !== null) {
2839
- const i = ro(
2839
+ const i = so(
2840
2840
  /** @type {Record<string,any>} */
2841
2841
  e[n]
2842
2842
  );
@@ -2846,7 +2846,7 @@ const ro = (e) => {
2846
2846
  t[n] = e == null ? void 0 : e[n];
2847
2847
  return t;
2848
2848
  };
2849
- function Rs(e) {
2849
+ function Ds(e) {
2850
2850
  let t = e;
2851
2851
  if ("variables" in e) {
2852
2852
  let n = JSON.stringify(e);
@@ -2861,17 +2861,17 @@ function Rs(e) {
2861
2861
  return t;
2862
2862
  }
2863
2863
  var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2864
- function Ds(e) {
2864
+ function Ms(e) {
2865
2865
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2866
2866
  }
2867
- var Ns = "Expected a function", mi = NaN, Ms = "[object Symbol]", Is = /^\s+|\s+$/g, Hs = /^[-+]0x[0-9a-f]+$/i, Bs = /^0b[01]+$/i, Vs = /^0o[0-7]+$/i, Ls = parseInt, ks = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, Us = typeof self == "object" && self && self.Object === Object && self, Fs = ks || Us || Function("return this")(), js = Object.prototype, zs = js.toString, Zs = Math.max, Xs = Math.min, Cn = function() {
2868
- return Fs.Date.now();
2867
+ var Ns = "Expected a function", mi = NaN, Is = "[object Symbol]", Hs = /^\s+|\s+$/g, Bs = /^[-+]0x[0-9a-f]+$/i, Vs = /^0b[01]+$/i, Ls = /^0o[0-7]+$/i, ks = parseInt, Us = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, Fs = typeof self == "object" && self && self.Object === Object && self, js = Us || Fs || Function("return this")(), zs = Object.prototype, Zs = zs.toString, Xs = Math.max, qs = Math.min, Cn = function() {
2868
+ return js.Date.now();
2869
2869
  };
2870
2870
  function Ys(e, t, n) {
2871
2871
  var i, o, r, s, a, l, u = 0, d = !1, c = !1, p = !0;
2872
2872
  if (typeof e != "function")
2873
2873
  throw new TypeError(Ns);
2874
- t = yi(t) || 0, Mn(n) && (d = !!n.leading, c = "maxWait" in n, r = c ? Zs(yi(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
2874
+ t = yi(t) || 0, Nn(n) && (d = !!n.leading, c = "maxWait" in n, r = c ? Xs(yi(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
2875
2875
  function f(A) {
2876
2876
  var Z = i, at = o;
2877
2877
  return i = o = void 0, u = A, s = e.apply(at, Z), s;
@@ -2881,15 +2881,15 @@ function Ys(e, t, n) {
2881
2881
  }
2882
2882
  function y(A) {
2883
2883
  var Z = A - l, at = A - u, X = t - Z;
2884
- return c ? Xs(X, r - at) : X;
2884
+ return c ? qs(X, r - at) : X;
2885
2885
  }
2886
- function P(A) {
2886
+ function O(A) {
2887
2887
  var Z = A - l, at = A - u;
2888
2888
  return l === void 0 || Z >= t || Z < 0 || c && at >= r;
2889
2889
  }
2890
2890
  function L() {
2891
2891
  var A = Cn();
2892
- if (P(A))
2892
+ if (O(A))
2893
2893
  return B(A);
2894
2894
  a = setTimeout(L, y(A));
2895
2895
  }
@@ -2899,11 +2899,11 @@ function Ys(e, t, n) {
2899
2899
  function K() {
2900
2900
  a !== void 0 && clearTimeout(a), u = 0, i = l = o = a = void 0;
2901
2901
  }
2902
- function q() {
2902
+ function Y() {
2903
2903
  return a === void 0 ? s : B(Cn());
2904
2904
  }
2905
2905
  function st() {
2906
- var A = Cn(), Z = P(A);
2906
+ var A = Cn(), Z = O(A);
2907
2907
  if (i = arguments, o = this, l = A, Z) {
2908
2908
  if (a === void 0)
2909
2909
  return g(l);
@@ -2912,61 +2912,61 @@ function Ys(e, t, n) {
2912
2912
  }
2913
2913
  return a === void 0 && (a = setTimeout(L, t)), s;
2914
2914
  }
2915
- return st.cancel = K, st.flush = q, st;
2915
+ return st.cancel = K, st.flush = Y, st;
2916
2916
  }
2917
- function Mn(e) {
2917
+ function Nn(e) {
2918
2918
  var t = typeof e;
2919
2919
  return !!e && (t == "object" || t == "function");
2920
2920
  }
2921
- function qs(e) {
2921
+ function Ws(e) {
2922
2922
  return !!e && typeof e == "object";
2923
2923
  }
2924
- function Ws(e) {
2925
- return typeof e == "symbol" || qs(e) && zs.call(e) == Ms;
2924
+ function Gs(e) {
2925
+ return typeof e == "symbol" || Ws(e) && Zs.call(e) == Is;
2926
2926
  }
2927
2927
  function yi(e) {
2928
2928
  if (typeof e == "number")
2929
2929
  return e;
2930
- if (Ws(e))
2930
+ if (Gs(e))
2931
2931
  return mi;
2932
- if (Mn(e)) {
2932
+ if (Nn(e)) {
2933
2933
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
2934
- e = Mn(t) ? t + "" : t;
2934
+ e = Nn(t) ? t + "" : t;
2935
2935
  }
2936
2936
  if (typeof e != "string")
2937
2937
  return e === 0 ? e : +e;
2938
- e = e.replace(Is, "");
2939
- var n = Bs.test(e);
2940
- return n || Vs.test(e) ? Ls(e.slice(2), n ? 2 : 8) : Hs.test(e) ? mi : +e;
2941
- }
2942
- var Gs = Ys;
2943
- const so = /* @__PURE__ */ Ds(Gs);
2944
- var zt, ge, me, je, lo, ze, Ze;
2945
- class ao extends nt {
2938
+ e = e.replace(Hs, "");
2939
+ var n = Vs.test(e);
2940
+ return n || Ls.test(e) ? ks(e.slice(2), n ? 2 : 8) : Bs.test(e) ? mi : +e;
2941
+ }
2942
+ var Js = Ys;
2943
+ const ao = /* @__PURE__ */ Ms(Js);
2944
+ var Zt, ge, me, je, uo, ze, Ze;
2945
+ class lo extends nt {
2946
2946
  constructor() {
2947
2947
  super();
2948
- T(this, je);
2948
+ P(this, je);
2949
2949
  /**
2950
2950
  * data input by the user
2951
2951
  *
2952
2952
  * @type {{[key: string]: any}}
2953
2953
  */
2954
- T(this, zt, {});
2954
+ P(this, Zt, {});
2955
2955
  /**
2956
2956
  * data input by the user
2957
2957
  *
2958
2958
  * @type {{[key: string]: any}}
2959
2959
  */
2960
- T(this, ge, null);
2960
+ P(this, ge, null);
2961
2961
  /**
2962
2962
  * Original tile url function, if it exist
2963
2963
  *
2964
2964
  * @type {Function}
2965
2965
  */
2966
- T(this, me);
2967
- T(this, ze, "");
2968
- T(this, Ze, "");
2969
- this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange = so(k(this, je, lo), 1e3, {
2966
+ P(this, me);
2967
+ P(this, ze, "");
2968
+ P(this, Ze, "");
2969
+ this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange = ao(k(this, je, uo), 1e3, {
2970
2970
  leading: !0
2971
2971
  });
2972
2972
  }
@@ -2980,7 +2980,7 @@ class ao extends nt {
2980
2980
  * Renders a JSON form for configuration options of a layer.
2981
2981
  */
2982
2982
  render() {
2983
- Kt(this, ge, xs(this.layer, this.layerConfig)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
2983
+ Kt(this, ge, Ss(this.layer, this.layerConfig)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
2984
2984
  const n = {
2985
2985
  disable_edit_json: !0,
2986
2986
  disable_collapse: !0,
@@ -2988,8 +2988,8 @@ class ao extends nt {
2988
2988
  };
2989
2989
  return x`
2990
2990
  <style>
2991
- ${O(this, ze)}
2992
- ${!this.unstyled && O(this, Ze)}
2991
+ ${T(this, ze)}
2992
+ ${!this.unstyled && T(this, Ze)}
2993
2993
  </style>
2994
2994
  ${rt(
2995
2995
  this.layerConfig,
@@ -2997,7 +2997,7 @@ class ao extends nt {
2997
2997
  <!-- Render a JSON form for layer configuration -->
2998
2998
  <eox-jsonform
2999
2999
  .schema=${this.layerConfig.schema}
3000
- .value=${O(this, ge)}
3000
+ .value=${T(this, ge)}
3001
3001
  .options=${n}
3002
3002
  @change=${this.debouncedDataChange}
3003
3003
  ></eox-jsonform>
@@ -3006,21 +3006,21 @@ class ao extends nt {
3006
3006
  `;
3007
3007
  }
3008
3008
  }
3009
- zt = new WeakMap(), ge = new WeakMap(), me = new WeakMap(), je = new WeakSet(), /**
3009
+ Zt = new WeakMap(), ge = new WeakMap(), me = new WeakMap(), je = new WeakSet(), /**
3010
3010
  * Handles changes in eox-jsonform values.
3011
3011
  *
3012
3012
  * @param {{ detail: { value: string; }; }} e
3013
3013
  */
3014
- lo = function(n) {
3015
- Kt(this, zt, n.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Os(O(this, zt), this.layer, this.layerConfig) : console.error(
3014
+ uo = function(n) {
3015
+ Kt(this, Zt, n.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Rs(T(this, Zt), this.layer, this.layerConfig) : console.error(
3016
3016
  `Layer type ${this.layer.get("type") ?? ""} does not support styles configuration`
3017
- ) : (Kt(this, me, Ps(
3018
- O(this, zt),
3019
- O(this, me),
3017
+ ) : (Kt(this, me, Os(
3018
+ T(this, Zt),
3019
+ T(this, me),
3020
3020
  this
3021
3021
  )), this.requestUpdate());
3022
3022
  }, ze = new WeakMap(), Ze = new WeakMap(), // Define static properties for the component
3023
- H(ao, "properties", {
3023
+ H(lo, "properties", {
3024
3024
  layer: { attribute: !1 },
3025
3025
  unstyled: { type: Boolean },
3026
3026
  noShadow: { type: Boolean },
@@ -3028,15 +3028,15 @@ H(ao, "properties", {
3028
3028
  });
3029
3029
  customElements.define(
3030
3030
  "eox-layercontrol-layerconfig",
3031
- ao
3031
+ lo
3032
3032
  );
3033
- var ye, Xe, Ye;
3034
- class uo extends nt {
3033
+ var ye, Xe, qe;
3034
+ class co extends nt {
3035
3035
  constructor() {
3036
3036
  super();
3037
3037
  /** @param {number} index */
3038
- T(this, ye, (n) => this.selectedTab === n && "highlighted");
3039
- T(this, Xe, `
3038
+ P(this, ye, (n) => this.selectedTab === n && "highlighted");
3039
+ P(this, Xe, `
3040
3040
  .tabbed figure {
3041
3041
  margin: 0;
3042
3042
  }
@@ -3057,7 +3057,7 @@ class uo extends nt {
3057
3057
  background: lightgrey;
3058
3058
  }
3059
3059
  `);
3060
- T(this, Ye, `
3060
+ P(this, qe, `
3061
3061
  .tabbed {
3062
3062
  font-size: small;
3063
3063
  }
@@ -3095,8 +3095,8 @@ class uo extends nt {
3095
3095
  const n = this.tabs, i = this.actions, o = i.length + n.length > 1;
3096
3096
  return x`
3097
3097
  <style>
3098
- ${O(this, Xe)}
3099
- ${!this.unstyled && O(this, Ye)}
3098
+ ${T(this, Xe)}
3099
+ ${!this.unstyled && T(this, qe)}
3100
3100
  </style>
3101
3101
  <div class="tabbed">
3102
3102
  <!-- Navigation for tabs and actions -->
@@ -3106,11 +3106,11 @@ class uo extends nt {
3106
3106
  <nav>
3107
3107
  <div>
3108
3108
  <!-- Labels for tabs -->
3109
- ${Ne(
3109
+ ${Me(
3110
3110
  n,
3111
3111
  (r, s) => x`
3112
3112
  <label
3113
- class=${O(this, ye).call(this, s)}
3113
+ class=${T(this, ye).call(this, s)}
3114
3114
  @click=${() => this.selectedTab = s}
3115
3115
  >
3116
3116
  <!-- Customizable icon for each tab -->
@@ -3121,7 +3121,7 @@ class uo extends nt {
3121
3121
  </div>
3122
3122
  <div>
3123
3123
  <!-- Icons for actions -->
3124
- ${Ne(
3124
+ ${Me(
3125
3125
  i,
3126
3126
  (r) => x`
3127
3127
  <span>
@@ -3136,10 +3136,10 @@ class uo extends nt {
3136
3136
  )}
3137
3137
  <figure>
3138
3138
  <!-- Content for each tab -->
3139
- ${Ne(
3139
+ ${Me(
3140
3140
  n,
3141
3141
  (r, s) => x`
3142
- <div class="tab ${O(this, ye).call(this, s)}">
3142
+ <div class="tab ${T(this, ye).call(this, s)}">
3143
3143
  <!-- Content slot for each tab -->
3144
3144
  <slot name=${`${r}-content`}>${r}</slot>
3145
3145
  </div>
@@ -3150,16 +3150,16 @@ class uo extends nt {
3150
3150
  `;
3151
3151
  }
3152
3152
  }
3153
- ye = new WeakMap(), Xe = new WeakMap(), Ye = new WeakMap(), // Define static properties for the component
3154
- H(uo, "properties", {
3153
+ ye = new WeakMap(), Xe = new WeakMap(), qe = new WeakMap(), // Define static properties for the component
3154
+ H(co, "properties", {
3155
3155
  actions: { attribute: !1 },
3156
3156
  selectedTab: { state: !0 },
3157
3157
  tabs: { attribute: !1 },
3158
3158
  unstyled: { type: Boolean },
3159
3159
  noShadow: { type: Boolean }
3160
3160
  });
3161
- customElements.define("eox-layercontrol-tabs", uo);
3162
- const Js = `
3161
+ customElements.define("eox-layercontrol-tabs", co);
3162
+ const Ks = `
3163
3163
  button,
3164
3164
  .button {
3165
3165
  /* TODO: why does this only work here and not from :root? */
@@ -3283,7 +3283,7 @@ button.smallest.icon::before {
3283
3283
  width: 16px;
3284
3284
  padding: 0px;
3285
3285
  }
3286
- `, Ks = `
3286
+ `, Qs = `
3287
3287
  input[type=radio] {
3288
3288
  appearance: none;
3289
3289
  -webkit-appearance: none;
@@ -3311,7 +3311,7 @@ input[type=radio]:checked:after {
3311
3311
  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");
3312
3312
 
3313
3313
  }
3314
- `, co = `
3314
+ `, ho = `
3315
3315
  input[type=checkbox] {
3316
3316
  appearance: none;
3317
3317
  -webkit-appearance: none;
@@ -3334,7 +3334,7 @@ input[type=checkbox]:checked:after {
3334
3334
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");
3335
3335
 
3336
3336
  }
3337
- `, Qs = `
3337
+ `, ta = `
3338
3338
  input[type="range"] {
3339
3339
  -webkit-appearance: none;
3340
3340
  width: 90%;
@@ -3412,14 +3412,14 @@ input::-moz-focus-inner, input::-moz-focus-outer {
3412
3412
  border: 0;
3413
3413
  }
3414
3414
  `;
3415
- var qe, We;
3416
- class ho extends nt {
3415
+ var Ye, We;
3416
+ class po extends nt {
3417
3417
  constructor() {
3418
3418
  super();
3419
3419
  // Initializes '_removeButton' invoking 'removeButton' function with 'this' context.
3420
- H(this, "_removeButton", () => As(this));
3420
+ H(this, "_removeButton", () => Cs(this));
3421
3421
  // Initializes '_sortButton' invoking 'sortButton' function with 'unstyled' property as a parameter.
3422
- H(this, "_sortButton", () => Cs(this.unstyled));
3422
+ H(this, "_sortButton", () => Ts(this.unstyled));
3423
3423
  /**
3424
3424
  * Initializes '_button' as a function accepting 'tool' parameter to generate a Button.
3425
3425
  * Uses 'this.unstyled' as a context parameter for Button generation.
@@ -3427,13 +3427,13 @@ class ho extends nt {
3427
3427
  * @param {string} tool - Tool parameter for Button generation.
3428
3428
  * @returns {import("lit").HTMLTemplateResult} - The generated Button element.
3429
3429
  */
3430
- H(this, "_button", (n) => _s(n, this.unstyled));
3431
- T(this, qe, "");
3432
- T(this, We, `
3433
- ${Js}
3434
- ${Ks}
3435
- ${co}
3430
+ H(this, "_button", (n) => As(n, this.unstyled));
3431
+ P(this, Ye, "");
3432
+ P(this, We, `
3433
+ ${Ks}
3436
3434
  ${Qs}
3435
+ ${ho}
3436
+ ${ta}
3437
3437
  .drag-handle {
3438
3438
  cursor: n-resize;
3439
3439
  }
@@ -3536,14 +3536,14 @@ class ho extends nt {
3536
3536
  }
3537
3537
  render() {
3538
3538
  var l;
3539
- const n = Ss(this.tools, this.layer), i = $s(this.tools, this.layer), o = this[`_${n == null ? void 0 : n[0]}Button`] ? (
3539
+ const n = $s(this.tools, this.layer), i = _s(this.tools, this.layer), o = this[`_${n == null ? void 0 : n[0]}Button`] ? (
3540
3540
  // @ts-ignore
3541
3541
  this[`_${n == null ? void 0 : n[0]}Button`]()
3542
3542
  ) : C, r = ((l = this.tools) == null ? void 0 : l.length) === 1 ? `${this.tools[0]}-icon` : "", s = n == null ? void 0 : n.length, a = i == null ? void 0 : i.length;
3543
3543
  return x`
3544
3544
  <style>
3545
- ${O(this, qe)}
3546
- ${!this.unstyled && O(this, We)}
3545
+ ${T(this, Ye)}
3546
+ ${!this.unstyled && T(this, We)}
3547
3547
  </style>
3548
3548
  ${rt(
3549
3549
  s + a > 0,
@@ -3572,10 +3572,10 @@ class ho extends nt {
3572
3572
  .unstyled=${this.unstyled}
3573
3573
  >
3574
3574
  <!-- Rendering tabs and content -->
3575
- ${Ne(i, (d) => this._button(d))}
3575
+ ${Me(i, (d) => this._button(d))}
3576
3576
 
3577
3577
  <div slot="info-content">
3578
- ${Ts(this.layer.get("description"))}
3578
+ ${Ps(this.layer.get("description"))}
3579
3579
  </div>
3580
3580
  <div slot="opacity-content">
3581
3581
  <!-- Input for opacity -->
@@ -3584,7 +3584,7 @@ class ho extends nt {
3584
3584
  min="0"
3585
3585
  max="1"
3586
3586
  step="0.01"
3587
- value=${oo((u = this.layer) == null ? void 0 : u.getOpacity())}
3587
+ value=${ro((u = this.layer) == null ? void 0 : u.getOpacity())}
3588
3588
  @input=${(d) => this.layer.setOpacity(parseFloat(d.target.value))}
3589
3589
  />
3590
3590
  </div>
@@ -3616,8 +3616,8 @@ class ho extends nt {
3616
3616
  `;
3617
3617
  }
3618
3618
  }
3619
- qe = new WeakMap(), We = new WeakMap(), // Define static properties for the component
3620
- H(ho, "properties", {
3619
+ Ye = new WeakMap(), We = new WeakMap(), // Define static properties for the component
3620
+ H(po, "properties", {
3621
3621
  layer: { attribute: !1 },
3622
3622
  tools: { attribute: !1 },
3623
3623
  unstyled: { type: Boolean },
@@ -3625,11 +3625,11 @@ H(ho, "properties", {
3625
3625
  });
3626
3626
  customElements.define(
3627
3627
  "eox-layercontrol-layer-tools",
3628
- ho
3628
+ po
3629
3629
  );
3630
- const ta = (e) => {
3630
+ const ea = (e) => {
3631
3631
  const t = () => {
3632
- const n = ws(
3632
+ const n = Es(
3633
3633
  e.layer,
3634
3634
  e.map,
3635
3635
  e.showLayerZoomState
@@ -3639,11 +3639,11 @@ const ta = (e) => {
3639
3639
  new CustomEvent("change:resolution", { bubbles: !0 })
3640
3640
  ));
3641
3641
  };
3642
- eo(
3642
+ no(
3643
3643
  e.layer,
3644
3644
  e.showLayerZoomState
3645
3645
  ) && (t(), e.map.getView().on("change:resolution", () => t()));
3646
- }, ea = (e, t) => {
3646
+ }, na = (e, t) => {
3647
3647
  const n = t.layer;
3648
3648
  n.setVisible(e.target.checked), e.target.checked && n.get("layerControlExclusive") && t.closest(
3649
3649
  ".layers > ul"
@@ -3654,20 +3654,20 @@ const ta = (e) => {
3654
3654
  new CustomEvent("changed", { bubbles: !0, detail: n })
3655
3655
  ), t.requestUpdate();
3656
3656
  };
3657
- var At, Me, fo, Ge, Je;
3658
- class po extends nt {
3657
+ var Ct, Ne, go, Ge, Je;
3658
+ class fo extends nt {
3659
3659
  constructor() {
3660
3660
  super();
3661
- T(this, At);
3661
+ P(this, Ct);
3662
3662
  /**
3663
3663
  * Represents the current layer visibility based on zoom level.
3664
3664
  *
3665
3665
  * @type {Boolean}
3666
3666
  */
3667
3667
  H(this, "currLayerVisibilityBasedOnZoom", !0);
3668
- T(this, Ge, "");
3669
- T(this, Je, `
3670
- ${co}
3668
+ P(this, Ge, "");
3669
+ P(this, Je, `
3670
+ ${ho}
3671
3671
  eox-layercontrol-layer {
3672
3672
  width: 100%;
3673
3673
  }
@@ -3721,7 +3721,7 @@ class po extends nt {
3721
3721
  * and register "change:resolution" ones at the beginning if `showLayerZoomState` is present
3722
3722
  */
3723
3723
  firstUpdated() {
3724
- ta(this);
3724
+ ea(this);
3725
3725
  }
3726
3726
  /**
3727
3727
  * Renders layer controls and tools with conditional display based on certain properties.
@@ -3730,11 +3730,11 @@ class po extends nt {
3730
3730
  */
3731
3731
  render() {
3732
3732
  var l;
3733
- const n = this.layer.getVisible(), i = n ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = k(this, At, Me).call(this, "layerControlDisable") ? "disabled" : "", s = k(this, At, Me).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3733
+ const n = this.layer.getVisible(), i = n ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = k(this, Ct, Ne).call(this, "layerControlDisable") ? "disabled" : "", s = k(this, Ct, Ne).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3734
3734
  return x`
3735
3735
  <style>
3736
- ${O(this, Ge)}
3737
- ${!this.unstyled && O(this, Je)}
3736
+ ${T(this, Ge)}
3737
+ ${!this.unstyled && T(this, Je)}
3738
3738
  </style>
3739
3739
  ${rt(
3740
3740
  this.layer,
@@ -3745,12 +3745,12 @@ class po extends nt {
3745
3745
  <!-- Input element for layer visibility -->
3746
3746
  <input
3747
3747
  type=${s}
3748
- .checked=${oo(n)}
3749
- @click=${k(this, At, fo)}
3748
+ .checked=${ro(n)}
3749
+ @click=${k(this, Ct, go)}
3750
3750
  />
3751
3751
 
3752
3752
  <!-- Layer title -->
3753
- <span class="title">${k(this, At, Me).call(this, this.titleProperty)}</span>
3753
+ <span class="title">${k(this, Ct, Ne).call(this, this.titleProperty)}</span>
3754
3754
  ${rt(
3755
3755
  a,
3756
3756
  () => x`<span class="tools-placeholder"></span>`
@@ -3770,13 +3770,13 @@ class po extends nt {
3770
3770
  `;
3771
3771
  }
3772
3772
  }
3773
- At = new WeakSet(), /**
3773
+ Ct = new WeakSet(), /**
3774
3774
  * Private method to get layer property by key if available.
3775
3775
  *
3776
3776
  * @param {string} key - The key for the layer property.
3777
3777
  * @returns {any} - The value of the layer property if exists, otherwise undefined.
3778
3778
  */
3779
- Me = function(n) {
3779
+ Ne = function(n) {
3780
3780
  var i;
3781
3781
  return (i = this.layer) == null ? void 0 : i.get(n);
3782
3782
  }, /**
@@ -3784,10 +3784,10 @@ Me = function(n) {
3784
3784
  *
3785
3785
  * @param {{target: { checked: boolean }}} evt - The input change event.
3786
3786
  */
3787
- fo = function(n) {
3788
- ea(n, this);
3787
+ go = function(n) {
3788
+ na(n, this);
3789
3789
  }, Ge = new WeakMap(), Je = new WeakMap(), // Define static properties for the component
3790
- H(po, "properties", {
3790
+ H(fo, "properties", {
3791
3791
  layer: { attribute: !1 },
3792
3792
  map: { attribute: !1, state: !0 },
3793
3793
  titleProperty: { attribute: "title-property", type: String },
@@ -3796,13 +3796,13 @@ H(po, "properties", {
3796
3796
  unstyled: { type: Boolean },
3797
3797
  noShadow: { type: Boolean }
3798
3798
  });
3799
- customElements.define("eox-layercontrol-layer", po);
3799
+ customElements.define("eox-layercontrol-layer", fo);
3800
3800
  var Ke, Qe;
3801
- class go extends nt {
3801
+ class mo extends nt {
3802
3802
  constructor() {
3803
3803
  super();
3804
- T(this, Ke, "");
3805
- T(this, Qe, `
3804
+ P(this, Ke, "");
3805
+ P(this, Qe, `
3806
3806
  details summary {
3807
3807
  cursor: pointer;
3808
3808
  display: flex;
@@ -3842,13 +3842,13 @@ class go extends nt {
3842
3842
  */
3843
3843
  render() {
3844
3844
  var o, r;
3845
- const n = !!((o = this.group) != null && o.get("layerControlExpand")), i = (r = io(
3845
+ const n = !!((o = this.group) != null && o.get("layerControlExpand")), i = (r = oo(
3846
3846
  this.group.getLayers()
3847
3847
  )) == null ? void 0 : r.length;
3848
3848
  return x`
3849
3849
  <style>
3850
- ${O(this, Ke)}
3851
- ${!this.unstyled && O(this, Qe)}
3850
+ ${T(this, Ke)}
3851
+ ${!this.unstyled && T(this, Qe)}
3852
3852
  </style>
3853
3853
  ${rt(
3854
3854
  this.group,
@@ -3891,7 +3891,7 @@ class go extends nt {
3891
3891
  }
3892
3892
  }
3893
3893
  Ke = new WeakMap(), Qe = new WeakMap(), // Define static properties for the component
3894
- H(go, "properties", {
3894
+ H(mo, "properties", {
3895
3895
  group: { attribute: !1 },
3896
3896
  idProperty: { attribute: "id-property" },
3897
3897
  map: { attribute: !1, state: !0 },
@@ -3903,30 +3903,30 @@ H(go, "properties", {
3903
3903
  });
3904
3904
  customElements.define(
3905
3905
  "eox-layercontrol-layer-group",
3906
- go
3906
+ mo
3907
3907
  );
3908
- const na = (e) => {
3909
- const { layers: t, idProperty: n, titleProperty: i, renderRoot: o } = e, r = so(() => {
3908
+ const ia = (e) => {
3909
+ const { layers: t, idProperty: n, titleProperty: i, renderRoot: o } = e, r = ao(() => {
3910
3910
  e.requestUpdate(), e.dispatchEvent(
3911
3911
  new CustomEvent("changed", { bubbles: !0 })
3912
3912
  );
3913
3913
  }, 50), s = () => r();
3914
3914
  if (t && (t.hasListener("change:length") && (t == null || t.un("change:length", s)), t.on("change:length", s), t)) {
3915
3915
  const a = o.querySelector("ul");
3916
- vs(
3916
+ ws(
3917
3917
  t,
3918
3918
  n,
3919
3919
  i,
3920
3920
  e
3921
- ), bs(a, t, n, e);
3921
+ ), vs(a, t, n, e);
3922
3922
  }
3923
3923
  };
3924
3924
  var tn, en;
3925
- class mo extends nt {
3925
+ class yo extends nt {
3926
3926
  constructor() {
3927
3927
  super();
3928
- T(this, tn, "");
3929
- T(this, en, `
3928
+ P(this, tn, "");
3929
+ P(this, en, `
3930
3930
  ul {
3931
3931
  padding: 0;
3932
3932
  margin: 0;
@@ -3961,7 +3961,7 @@ class mo extends nt {
3961
3961
  * Executes specific logic after the initial render of the component.
3962
3962
  */
3963
3963
  firstUpdated() {
3964
- na(this);
3964
+ ia(this);
3965
3965
  }
3966
3966
  /**
3967
3967
  * Overrides createRenderRoot to handle shadow DOM creation based on the noShadow property.
@@ -3974,23 +3974,23 @@ class mo extends nt {
3974
3974
  * layer groups or individual layers accordingly. Utilizes conditional rendering and iterates through available layers.
3975
3975
  */
3976
3976
  render() {
3977
- const n = this.layers ? io(this.layers).reverse() : [];
3977
+ const n = this.layers ? oo(this.layers).reverse() : [];
3978
3978
  return x`
3979
3979
  <style>
3980
- ${O(this, tn)}
3981
- ${!this.unstyled && O(this, en)}
3980
+ ${T(this, tn)}
3981
+ ${!this.unstyled && T(this, en)}
3982
3982
  </style>
3983
3983
  <ul>
3984
3984
  ${rt(
3985
3985
  this.layers,
3986
3986
  () => x`
3987
- ${qo(
3987
+ ${Wo(
3988
3988
  n,
3989
3989
  (i) => i,
3990
3990
  (i) => x`
3991
3991
  <li
3992
3992
  data-layer="${i.get(this.idProperty)}"
3993
- data-type="${Es(i, this.map)}"
3993
+ data-type="${xs(i, this.map)}"
3994
3994
  >
3995
3995
  ${/** Checks if the layer is a group or individual layer and renders accordingly */
3996
3996
  /** @type {import("ol/layer").Group} */
@@ -4029,7 +4029,7 @@ class mo extends nt {
4029
4029
  }
4030
4030
  }
4031
4031
  tn = new WeakMap(), en = new WeakMap(), // Define static properties for the component
4032
- H(mo, "properties", {
4032
+ H(yo, "properties", {
4033
4033
  idProperty: { attribute: "id-property" },
4034
4034
  layers: { attribute: !1 },
4035
4035
  map: { attribute: !1, state: !0 },
@@ -4039,8 +4039,8 @@ H(mo, "properties", {
4039
4039
  unstyled: { type: Boolean },
4040
4040
  noShadow: { type: Boolean }
4041
4041
  });
4042
- customElements.define("eox-layercontrol-layer-list", mo);
4043
- const ia = (e) => {
4042
+ customElements.define("eox-layercontrol-layer-list", yo);
4043
+ const oa = (e) => {
4044
4044
  const t = e.querySelector(
4045
4045
  "select[name=optional]"
4046
4046
  ), n = t ? t.value : null, i = Xn(
@@ -4062,11 +4062,11 @@ const ia = (e) => {
4062
4062
  )
4063
4063
  ), e.requestUpdate();
4064
4064
  };
4065
- var nn, bo;
4066
- class yo extends nt {
4065
+ var nn, vo;
4066
+ class bo extends nt {
4067
4067
  constructor() {
4068
4068
  super();
4069
- T(this, nn);
4069
+ P(this, nn);
4070
4070
  this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !1;
4071
4071
  }
4072
4072
  /**
@@ -4105,7 +4105,7 @@ class yo extends nt {
4105
4105
  </select>
4106
4106
 
4107
4107
  <!-- Button to handle adding layers -->
4108
- <button @click="${k(this, nn, bo)}">add</button>
4108
+ <button @click="${k(this, nn, vo)}">add</button>
4109
4109
  `;
4110
4110
  }
4111
4111
  }
@@ -4113,10 +4113,10 @@ nn = new WeakSet(), /**
4113
4113
  * Handles the addition of selected layers to a list.
4114
4114
  * Invokes the 'addToListMethod' with the current context.
4115
4115
  */
4116
- bo = function() {
4117
- ia(this);
4116
+ vo = function() {
4117
+ oa(this);
4118
4118
  }, // Define static properties for the component
4119
- H(yo, "properties", {
4119
+ H(bo, "properties", {
4120
4120
  idProperty: { attribute: "id-property" },
4121
4121
  layers: { attribute: !1 },
4122
4122
  titleProperty: { attribute: "title-property", type: String },
@@ -4125,27 +4125,27 @@ H(yo, "properties", {
4125
4125
  });
4126
4126
  customElements.define(
4127
4127
  "eox-layercontrol-optional-list",
4128
- yo
4128
+ bo
4129
4129
  );
4130
- const oa = (e, t) => {
4130
+ const ra = (e, t) => {
4131
4131
  t.jsonInput = e.target.value, t.requestUpdate();
4132
4132
  }, bi = (e) => {
4133
4133
  const t = JSON.parse(
4134
- `{"data":${ki(e.jsonInput)}}`
4134
+ `{"data":${Ui(e.jsonInput)}}`
4135
4135
  );
4136
4136
  Array.isArray(t.data) ? t.data.forEach((n) => {
4137
4137
  e.eoxMap.addOrUpdateLayer(n);
4138
4138
  }) : e.eoxMap.addOrUpdateLayer(t.data), e.jsonInput = null, e.requestUpdate();
4139
- }, ra = (e, t) => {
4139
+ }, sa = (e, t) => {
4140
4140
  t.urlInput = e.target.value, t.requestUpdate();
4141
4141
  };
4142
- async function sa(e) {
4142
+ async function aa(e) {
4143
4143
  const t = e.urlInput;
4144
4144
  if (e.wmsCapabilities = null, e.searchLoad = !0, e.requestUpdate(), !t) return !1;
4145
4145
  if (Fn(t) === "XYZ")
4146
4146
  return { Name: t };
4147
4147
  try {
4148
- const n = await kr(t);
4148
+ const n = await Ur(t);
4149
4149
  e.wmsCapabilities = n;
4150
4150
  } catch {
4151
4151
  } finally {
@@ -4153,7 +4153,7 @@ async function sa(e) {
4153
4153
  }
4154
4154
  return !1;
4155
4155
  }
4156
- const aa = (e, t) => {
4156
+ const la = (e, t) => {
4157
4157
  const { Name: n } = e, i = Fn(t.urlInput) || "XYZ", o = {
4158
4158
  type: "Tile",
4159
4159
  properties: {
@@ -4172,14 +4172,14 @@ const aa = (e, t) => {
4172
4172
  }
4173
4173
  };
4174
4174
  t.jsonInput = JSON.stringify(o);
4175
- }, la = (e, t) => {
4175
+ }, ua = (e, t) => {
4176
4176
  t.open = e || null, t.urlInput = null, t.jsonInput = null, t.wmsCapabilities = null, t.requestUpdate();
4177
4177
  };
4178
- var F, wo, Eo, In, xo, So, Ie, on, rn;
4179
- class vo extends nt {
4178
+ var F, Eo, xo, In, So, $o, Ie, on, rn;
4179
+ class wo extends nt {
4180
4180
  constructor() {
4181
4181
  super();
4182
- T(this, F);
4182
+ P(this, F);
4183
4183
  /**
4184
4184
  * State for URL Input for WMS/XYZ URLs
4185
4185
  *
@@ -4210,7 +4210,7 @@ class vo extends nt {
4210
4210
  * @type {import("wms-capabilities").WMSCapabilitiesJSON}
4211
4211
  */
4212
4212
  H(this, "wmsCapabilities", null);
4213
- T(this, on, `
4213
+ P(this, on, `
4214
4214
  .eox-add-layer-main .open {
4215
4215
  position: relative;
4216
4216
  }
@@ -4218,7 +4218,7 @@ class vo extends nt {
4218
4218
  display: none;
4219
4219
  }
4220
4220
  `);
4221
- T(this, rn, `
4221
+ P(this, rn, `
4222
4222
  .eox-add {
4223
4223
  background: #f0f2f5;
4224
4224
  border-top: 1px solid #0041701a;
@@ -4367,11 +4367,11 @@ class vo extends nt {
4367
4367
  * Handles input fields, search, and addition of layers.
4368
4368
  */
4369
4369
  render() {
4370
- const n = this.open ? "open" : "close", i = this.open === "url", o = this.open === "json", r = !Ur(this.urlInput) || this.searchLoad ? !0 : C;
4370
+ const n = this.open ? "open" : "close", i = this.open === "url", o = this.open === "json", r = !Fr(this.urlInput) || this.searchLoad ? !0 : C;
4371
4371
  return x`
4372
4372
  <style>
4373
- ${O(this, on)}
4374
- ${!this.unstyled && O(this, rn)}
4373
+ ${T(this, on)}
4374
+ ${!this.unstyled && T(this, rn)}
4375
4375
  </style>
4376
4376
  <div class="eox-add-layer-main">
4377
4377
  <div class="eox-add-layer-col">
@@ -4408,14 +4408,14 @@ class vo extends nt {
4408
4408
  class="add-url"
4409
4409
  placeholder="Add URL (WMS/XYZ)"
4410
4410
  .value="${this.urlInput}"
4411
- @input=${k(this, F, wo)}
4411
+ @input=${k(this, F, Eo)}
4412
4412
  >
4413
4413
  </input>
4414
4414
  <!-- Search button for URL -->
4415
4415
  <button
4416
4416
  class="search-icon"
4417
4417
  disabled=${r}
4418
- @click=${k(this, F, Eo)}
4418
+ @click=${k(this, F, xo)}
4419
4419
  >
4420
4420
  ${this.unstyled ? "Search" : ""}
4421
4421
  </button>
@@ -4449,15 +4449,15 @@ class vo extends nt {
4449
4449
  <textarea
4450
4450
  class="add-layer-input"
4451
4451
  placeholder="Please put a valid eox-map layer JSON."
4452
- @input=${k(this, F, So)}
4452
+ @input=${k(this, F, $o)}
4453
4453
  .value=${this.jsonInput}
4454
4454
  ></textarea>
4455
4455
 
4456
4456
  <!-- Button to add JSON layer -->
4457
4457
  <button
4458
4458
  class="add-layer-icon json-add-layer"
4459
- disabled=${Fr(this.jsonInput) ? C : !0}
4460
- @click=${k(this, F, xo)}
4459
+ disabled=${jr(this.jsonInput) ? C : !0}
4460
+ @click=${k(this, F, So)}
4461
4461
  >
4462
4462
  ${this.unstyled ? "Add JSON" : ""}
4463
4463
  </button>
@@ -4473,10 +4473,10 @@ F = new WeakSet(), /**
4473
4473
  *
4474
4474
  * @param {Event} evt - The input change event triggering the method.
4475
4475
  */
4476
- wo = function(n) {
4477
- ra(n, this);
4478
- }, Eo = async function() {
4479
- const n = await sa(this);
4476
+ Eo = function(n) {
4477
+ sa(n, this);
4478
+ }, xo = async function() {
4479
+ const n = await aa(this);
4480
4480
  n && k(this, F, In).call(this, n);
4481
4481
  }, /**
4482
4482
  * Handles input field changes by triggering layer processing and adding layers.
@@ -4484,61 +4484,61 @@ wo = function(n) {
4484
4484
  * @param {{"Name": string}} layer - The layer information triggering the method.
4485
4485
  */
4486
4486
  In = function(n) {
4487
- aa(n, this), bi(this);
4487
+ la(n, this), bi(this);
4488
4488
  }, /**
4489
4489
  * Initiates the addition of layers, triggering the handleAddLayerMethod.
4490
4490
  */
4491
- xo = function() {
4491
+ So = function() {
4492
4492
  bi(this);
4493
4493
  }, /**
4494
4494
  * Handles input field changes by invoking the 'handleJsonInputChangeMethod'.
4495
4495
  *
4496
4496
  * @param {{target: { value: string }}} evt - The input change event triggering the method.
4497
4497
  */
4498
- So = function(n) {
4499
- oa(n, this);
4498
+ $o = function(n) {
4499
+ ra(n, this);
4500
4500
  }, /**
4501
4501
  * Handles tab changes by invoking the 'openCloseTabMethod'.
4502
4502
  *
4503
4503
  * @param {"url" | "json" | null} tab - The tab identifier triggering the method.
4504
4504
  */
4505
4505
  Ie = function(n) {
4506
- la(n, this);
4506
+ ua(n, this);
4507
4507
  }, on = new WeakMap(), rn = new WeakMap(), // Define static properties for the component
4508
- H(vo, "properties", {
4508
+ H(wo, "properties", {
4509
4509
  eoxMap: { attribute: !1, state: !0 },
4510
4510
  unstyled: { type: Boolean },
4511
4511
  noShadow: { type: Boolean }
4512
4512
  });
4513
- customElements.define("eox-layercontrol-add-layers", vo);
4514
- const ua = (e, t) => {
4513
+ customElements.define("eox-layercontrol-add-layers", wo);
4514
+ const ca = (e, t) => {
4515
4515
  if (t.requestUpdate(), e.target.tagName === "EOX-LAYERCONTROL-LAYER-TOOLS") {
4516
4516
  const n = t.renderRoot.querySelector(
4517
4517
  "eox-layercontrol-optional-list"
4518
4518
  );
4519
4519
  n == null || n.requestUpdate();
4520
4520
  }
4521
- }, ca = (e) => {
4521
+ }, da = (e) => {
4522
4522
  let t;
4523
4523
  return typeof e == "string" ? t = /** @type {HTMLElement} */
4524
4524
  document.querySelector(e) : t = e, t;
4525
- }, da = (e) => {
4526
- const t = ca(e.for);
4525
+ }, vi = (e) => {
4526
+ const t = da(e.for);
4527
4527
  return t && t.map !== e.map && (e.map = t.map), t;
4528
4528
  };
4529
- var Zt, sn, _o, an;
4530
- class $o extends nt {
4529
+ var $t, sn, Ao, an;
4530
+ class _o extends nt {
4531
4531
  // Constructor to set default values for properties
4532
4532
  constructor() {
4533
4533
  super();
4534
- T(this, sn);
4534
+ P(this, sn);
4535
4535
  /**
4536
4536
  * Instance of `eox-map` which is a wrapper for the OL
4537
4537
  *
4538
4538
  * @type {import("../../map/main").EOxMap}
4539
4539
  */
4540
- T(this, Zt);
4541
- T(this, an, "* { font-family: Roboto, sans-serif; }");
4540
+ P(this, $t);
4541
+ P(this, an, "* { font-family: Roboto, sans-serif; }");
4542
4542
  this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = ["info", "opacity", "config", "remove", "sort"], this.addExternalLayers = !1, this.unstyled = !1, this.styleOverride = "";
4543
4543
  }
4544
4544
  /**
@@ -4546,24 +4546,34 @@ class $o extends nt {
4546
4546
  * Updated #eoxMap after first update.
4547
4547
  */
4548
4548
  firstUpdated() {
4549
- Kt(this, Zt, da(this));
4549
+ this.eoxMap = vi(this);
4550
+ }
4551
+ updated(n) {
4552
+ n.has("for") && (this.eoxMap = vi(this));
4553
+ }
4554
+ get eoxMap() {
4555
+ return T(this, $t);
4556
+ }
4557
+ set eoxMap(n) {
4558
+ const i = T(this, $t);
4559
+ Kt(this, $t, n), this.requestUpdate("eoxMap", i);
4550
4560
  }
4551
4561
  render() {
4552
4562
  var o, r, s;
4553
4563
  const n = (o = this.map) == null ? void 0 : o.getLayers().getArray(), i = n && ((r = Xn(n, "layerControlOptional", !0)) == null ? void 0 : r.length) > 0;
4554
4564
  return x`
4555
4565
  <style>
4556
- ${!this.unstyled && O(this, an)}
4566
+ ${!this.unstyled && T(this, an)}
4557
4567
  ${this.styleOverride}
4558
4568
  </style>
4559
4569
 
4560
4570
  <!-- Conditional rendering of add layers component -->
4561
4571
  ${rt(
4562
- this.addExternalLayers && ((s = O(this, Zt)) == null ? void 0 : s.addOrUpdateLayer),
4572
+ this.addExternalLayers && ((s = T(this, $t)) == null ? void 0 : s.addOrUpdateLayer),
4563
4573
  () => x`
4564
4574
  <eox-layercontrol-add-layers
4565
4575
  .noShadow=${!0}
4566
- .eoxMap=${O(this, Zt)}
4576
+ .eoxMap=${T(this, $t)}
4567
4577
  .unstyled=${this.unstyled}
4568
4578
  ></eox-layercontrol-add-layers>
4569
4579
  `
@@ -4583,7 +4593,7 @@ class $o extends nt {
4583
4593
  .showLayerZoomState=${this.showLayerZoomState}
4584
4594
  .tools=${this.tools}
4585
4595
  .unstyled=${this.unstyled}
4586
- @changed=${k(this, sn, _o)}
4596
+ @changed=${k(this, sn, Ao)}
4587
4597
  ></eox-layercontrol-layer-list>
4588
4598
  `
4589
4599
  )}
@@ -4604,15 +4614,15 @@ class $o extends nt {
4604
4614
  `;
4605
4615
  }
4606
4616
  }
4607
- Zt = new WeakMap(), sn = new WeakSet(), /**
4617
+ $t = new WeakMap(), sn = new WeakSet(), /**
4608
4618
  * Event handler for changes in the layer list
4609
4619
  *
4610
4620
  * @param {CustomEvent & {target: Element}} evt
4611
4621
  */
4612
- _o = function(n) {
4613
- ua(n, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: n.detail }));
4622
+ Ao = function(n) {
4623
+ ca(n, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: n.detail }));
4614
4624
  }, an = new WeakMap(), // Define static properties for the component
4615
- H($o, "properties", {
4625
+ H(_o, "properties", {
4616
4626
  for: { type: String },
4617
4627
  idProperty: { attribute: "id-property" },
4618
4628
  map: { attribute: !1, state: !0 },
@@ -4623,7 +4633,7 @@ H($o, "properties", {
4623
4633
  unstyled: { type: Boolean },
4624
4634
  styleOverride: { type: String }
4625
4635
  });
4626
- customElements.define("eox-layercontrol", $o);
4636
+ customElements.define("eox-layercontrol", _o);
4627
4637
  export {
4628
- $o as EOxLayerControl
4638
+ _o as EOxLayerControl
4629
4639
  };