@eox/layercontrol 0.20.0 → 0.20.1-dev.1726221051.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 Io = Object.defineProperty;
2
- var Jn = (e) => {
1
+ var Bo = Object.defineProperty;
2
+ var Kn = (e) => {
3
3
  throw TypeError(e);
4
4
  };
5
- var Ho = (e, t, n) => t in e ? Io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
- var N = (e, t, n) => Ho(e, typeof t != "symbol" ? t + "" : t, n), pn = (e, t, n) => t.has(e) || Jn("Cannot " + n);
7
- var P = (e, t, n) => (pn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), T = (e, t, n) => t.has(e) ? Jn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Qt = (e, t, n, i) => (pn(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), B = (e, t, n) => (pn(e, t, "access private method"), n);
5
+ var Vo = (e, t, n) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
6
+ var N = (e, t, n) => Vo(e, typeof t != "symbol" ? t + "" : t, n), pn = (e, t, n) => t.has(e) || Kn("Cannot " + n);
7
+ var P = (e, t, n) => (pn(e, t, "read from private field"), n ? n.call(e) : t.get(e)), T = (e, t, n) => t.has(e) ? Kn("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), Kt = (e, t, n, i) => (pn(e, t, "write to private field"), i ? i.call(e, n) : t.set(e, n), n), B = (e, t, n) => (pn(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 Te = globalThis, Ln = Te.ShadowRoot && (Te.ShadyCSS === void 0 || Te.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, $i = Symbol(), Kn = /* @__PURE__ */ new WeakMap();
14
- let Bo = class {
13
+ const Ce = globalThis, Ln = Ce.ShadowRoot && (Ce.ShadyCSS === void 0 || Ce.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, _i = Symbol(), Qn = /* @__PURE__ */ new WeakMap();
14
+ let Lo = class {
15
15
  constructor(t, n, i) {
16
- if (this._$cssResult$ = !0, i !== $i) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
16
+ if (this._$cssResult$ = !0, i !== _i) 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() {
@@ -21,7 +21,7 @@ let Bo = class {
21
21
  const n = this.t;
22
22
  if (Ln && t === void 0) {
23
23
  const i = n !== void 0 && n.length === 1;
24
- i && (t = Kn.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Kn.set(n, t));
24
+ i && (t = Qn.get(n)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), i && Qn.set(n, t));
25
25
  }
26
26
  return t;
27
27
  }
@@ -29,26 +29,26 @@ let Bo = class {
29
29
  return this.cssText;
30
30
  }
31
31
  };
32
- const Vo = (e) => new Bo(typeof e == "string" ? e : e + "", void 0, $i), Lo = (e, t) => {
32
+ const Uo = (e) => new Lo(typeof e == "string" ? e : e + "", void 0, _i), ko = (e, t) => {
33
33
  if (Ln) e.adoptedStyleSheets = t.map((n) => n instanceof CSSStyleSheet ? n : n.styleSheet);
34
34
  else for (const n of t) {
35
- const i = document.createElement("style"), o = Te.litNonce;
35
+ const i = document.createElement("style"), o = Ce.litNonce;
36
36
  o !== void 0 && i.setAttribute("nonce", o), i.textContent = n.cssText, e.appendChild(i);
37
37
  }
38
- }, Qn = Ln ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
38
+ }, ti = Ln ? (e) => e : (e) => e instanceof CSSStyleSheet ? ((t) => {
39
39
  let n = "";
40
40
  for (const i of t.cssRules) n += i.cssText;
41
- return Vo(n);
41
+ return Uo(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: Uo, defineProperty: ko, getOwnPropertyDescriptor: Fo, getOwnPropertyNames: jo, getOwnPropertySymbols: Zo, getPrototypeOf: zo } = Object, At = globalThis, ti = At.trustedTypes, Xo = ti ? ti.emptyScript : "", fn = At.reactiveElementPolyfillSupport, re = (e, t) => e, Rn = { toAttribute(e, t) {
48
+ const { is: Fo, defineProperty: jo, getOwnPropertyDescriptor: Zo, getOwnPropertyNames: zo, getOwnPropertySymbols: Xo, getPrototypeOf: qo } = Object, At = globalThis, ei = At.trustedTypes, Yo = ei ? ei.emptyScript : "", fn = At.reactiveElementPolyfillSupport, oe = (e, t) => e, On = { toAttribute(e, t) {
49
49
  switch (t) {
50
50
  case Boolean:
51
- e = e ? Xo : null;
51
+ e = e ? Yo : null;
52
52
  break;
53
53
  case Object:
54
54
  case Array:
@@ -73,7 +73,7 @@ const { is: Uo, defineProperty: ko, getOwnPropertyDescriptor: Fo, getOwnProperty
73
73
  }
74
74
  }
75
75
  return n;
76
- } }, _i = (e, t) => !Uo(e, t), ei = { attribute: !0, type: String, converter: Rn, reflect: !1, hasChanged: _i };
76
+ } }, Ai = (e, t) => !Fo(e, t), ni = { attribute: !0, type: String, converter: On, reflect: !1, hasChanged: Ai };
77
77
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), At.litPropertyMetadata ?? (At.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
78
  class Ut extends HTMLElement {
79
79
  static addInitializer(t) {
@@ -82,14 +82,14 @@ class Ut extends HTMLElement {
82
82
  static get observedAttributes() {
83
83
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
84
84
  }
85
- static createProperty(t, n = ei) {
85
+ static createProperty(t, n = ni) {
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 && ko(this.prototype, t, o);
88
+ o !== void 0 && jo(this.prototype, t, o);
89
89
  }
90
90
  }
91
91
  static getPropertyDescriptor(t, n, i) {
92
- const { get: o, set: r } = Fo(this.prototype, t) ?? { get() {
92
+ const { get: o, set: r } = Zo(this.prototype, t) ?? { get() {
93
93
  return this[n];
94
94
  }, set(s) {
95
95
  this[n] = s;
@@ -102,17 +102,17 @@ class Ut extends HTMLElement {
102
102
  }, configurable: !0, enumerable: !0 };
103
103
  }
104
104
  static getPropertyOptions(t) {
105
- return this.elementProperties.get(t) ?? ei;
105
+ return this.elementProperties.get(t) ?? ni;
106
106
  }
107
107
  static _$Ei() {
108
- if (this.hasOwnProperty(re("elementProperties"))) return;
109
- const t = zo(this);
108
+ if (this.hasOwnProperty(oe("elementProperties"))) return;
109
+ const t = qo(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
- if (this.hasOwnProperty(re("finalized"))) return;
114
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(re("properties"))) {
115
- const n = this.properties, i = [...jo(n), ...Zo(n)];
113
+ if (this.hasOwnProperty(oe("finalized"))) return;
114
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(oe("properties"))) {
115
+ const n = this.properties, i = [...zo(n), ...Xo(n)];
116
116
  for (const o of i) this.createProperty(o, n[o]);
117
117
  }
118
118
  const t = this[Symbol.metadata];
@@ -131,8 +131,8 @@ class Ut extends HTMLElement {
131
131
  const n = [];
132
132
  if (Array.isArray(t)) {
133
133
  const i = new Set(t.flat(1 / 0).reverse());
134
- for (const o of i) n.unshift(Qn(o));
135
- } else t !== void 0 && n.push(Qn(t));
134
+ for (const o of i) n.unshift(ti(o));
135
+ } else t !== void 0 && n.push(ti(t));
136
136
  return n;
137
137
  }
138
138
  static _$Eu(t, n) {
@@ -161,7 +161,7 @@ class Ut extends HTMLElement {
161
161
  }
162
162
  createRenderRoot() {
163
163
  const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
164
- return Lo(t, this.constructor.elementStyles), t;
164
+ return ko(t, this.constructor.elementStyles), t;
165
165
  }
166
166
  connectedCallback() {
167
167
  var t;
@@ -186,7 +186,7 @@ class Ut extends HTMLElement {
186
186
  var r;
187
187
  const i = this.constructor.elementProperties.get(t), o = this.constructor._$Eu(t, i);
188
188
  if (o !== void 0 && i.reflect === !0) {
189
- const s = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : Rn).toAttribute(n, i.type);
189
+ const s = (((r = i.converter) == null ? void 0 : r.toAttribute) !== void 0 ? i.converter : On).toAttribute(n, i.type);
190
190
  this._$Em = t, s == null ? this.removeAttribute(o) : this.setAttribute(o, s), this._$Em = null;
191
191
  }
192
192
  }
@@ -194,13 +194,13 @@ class Ut extends HTMLElement {
194
194
  var r;
195
195
  const i = this.constructor, o = i._$Eh.get(t);
196
196
  if (o !== void 0 && this._$Em !== o) {
197
- const s = i.getPropertyOptions(o), a = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((r = s.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? s.converter : Rn;
197
+ const s = i.getPropertyOptions(o), a = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((r = s.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? s.converter : On;
198
198
  this._$Em = o, this[o] = a.fromAttribute(n, s.type), this._$Em = null;
199
199
  }
200
200
  }
201
201
  requestUpdate(t, n, i) {
202
202
  if (t !== void 0) {
203
- if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? _i)(this[t], n)) return;
203
+ if (i ?? (i = this.constructor.getPropertyOptions(t)), !(i.hasChanged ?? Ai)(this[t], n)) return;
204
204
  this.P(t, n, i);
205
205
  }
206
206
  this.isUpdatePending === !1 && (this._$ES = this._$ET());
@@ -273,59 +273,59 @@ class Ut extends HTMLElement {
273
273
  firstUpdated(t) {
274
274
  }
275
275
  }
276
- Ut.elementStyles = [], Ut.shadowRootOptions = { mode: "open" }, Ut[re("elementProperties")] = /* @__PURE__ */ new Map(), Ut[re("finalized")] = /* @__PURE__ */ new Map(), fn == null || fn({ ReactiveElement: Ut }), (At.reactiveElementVersions ?? (At.reactiveElementVersions = [])).push("2.0.4");
276
+ Ut.elementStyles = [], Ut.shadowRootOptions = { mode: "open" }, Ut[oe("elementProperties")] = /* @__PURE__ */ new Map(), Ut[oe("finalized")] = /* @__PURE__ */ new Map(), fn == null || fn({ ReactiveElement: Ut }), (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 se = globalThis, Be = se.trustedTypes, ni = Be ? Be.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Un = "$lit$", pt = `lit$${Math.random().toFixed(9).slice(2)}$`, kn = "?" + pt, qo = `<${kn}>`, Ht = document, he = () => Ht.createComment(""), pe = (e) => e === null || typeof e != "object" && typeof e != "function", Ai = Array.isArray, Ci = (e) => Ai(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", gn = `[
283
- \f\r]`, te = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ii = /-->/g, oi = />/g, Pt = RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), ri = /'/g, si = /"/g, Ti = /^(?:script|style|textarea|title)$/i, Yo = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), E = Yo(1), rt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), ai = /* @__PURE__ */ new WeakMap(), Nt = Ht.createTreeWalker(Ht, 129);
282
+ const re = globalThis, He = re.trustedTypes, ii = He ? He.createPolicy("lit-html", { createHTML: (e) => e }) : void 0, Un = "$lit$", pt = `lit$${Math.random().toFixed(9).slice(2)}$`, kn = "?" + pt, Wo = `<${kn}>`, Ht = document, ce = () => Ht.createComment(""), he = (e) => e === null || typeof e != "object" && typeof e != "function", Fn = Array.isArray, Ci = (e) => Fn(e) || typeof (e == null ? void 0 : e[Symbol.iterator]) == "function", gn = `[
283
+ \f\r]`, Qt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, oi = /-->/g, ri = />/g, Pt = RegExp(`>|${gn}(?:([^\\s"'>=/]+)(${gn}*=${gn}*(?:[^
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), si = /'/g, ai = /"/g, Ti = /^(?:script|style|textarea|title)$/i, Go = (e) => (t, ...n) => ({ _$litType$: e, strings: t, values: n }), E = Go(1), rt = Symbol.for("lit-noChange"), C = Symbol.for("lit-nothing"), li = /* @__PURE__ */ new WeakMap(), Nt = Ht.createTreeWalker(Ht, 129);
285
285
  function Pi(e, t) {
286
- if (!Array.isArray(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
- return ni !== void 0 ? ni.createHTML(t) : t;
286
+ if (!Fn(e) || !e.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
+ return ii !== void 0 ? ii.createHTML(t) : t;
288
288
  }
289
289
  const Di = (e, t) => {
290
290
  const n = e.length - 1, i = [];
291
- let o, r = t === 2 ? "<svg>" : "", s = te;
291
+ let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = Qt;
292
292
  for (let a = 0; a < n; a++) {
293
293
  const l = e[a];
294
- let u, c, d = -1, p = 0;
295
- for (; p < l.length && (s.lastIndex = p, c = s.exec(l), c !== null); ) p = s.lastIndex, s === te ? c[1] === "!--" ? s = ii : c[1] !== void 0 ? s = oi : c[2] !== void 0 ? (Ti.test(c[2]) && (o = RegExp("</" + c[2], "g")), s = Pt) : c[3] !== void 0 && (s = Pt) : s === Pt ? c[0] === ">" ? (s = o ?? te, d = -1) : c[1] === void 0 ? d = -2 : (d = s.lastIndex - c[2].length, u = c[1], s = c[3] === void 0 ? Pt : c[3] === '"' ? si : ri) : s === si || s === ri ? s = Pt : s === ii || s === oi ? s = te : (s = Pt, o = void 0);
294
+ let d, c, u = -1, p = 0;
295
+ for (; p < l.length && (s.lastIndex = p, c = s.exec(l), c !== null); ) p = s.lastIndex, s === Qt ? c[1] === "!--" ? s = oi : c[1] !== void 0 ? s = ri : c[2] !== void 0 ? (Ti.test(c[2]) && (o = RegExp("</" + c[2], "g")), s = Pt) : c[3] !== void 0 && (s = Pt) : s === Pt ? c[0] === ">" ? (s = o ?? Qt, u = -1) : c[1] === void 0 ? u = -2 : (u = s.lastIndex - c[2].length, d = c[1], s = c[3] === void 0 ? Pt : c[3] === '"' ? ai : si) : s === ai || s === si ? s = Pt : s === oi || s === ri ? s = Qt : (s = Pt, o = void 0);
296
296
  const f = s === Pt && e[a + 1].startsWith("/>") ? " " : "";
297
- r += s === te ? l + qo : d >= 0 ? (i.push(u), l.slice(0, d) + Un + l.slice(d) + pt + f) : l + pt + (d === -2 ? a : f);
297
+ r += s === Qt ? l + Wo : u >= 0 ? (i.push(d), l.slice(0, u) + Un + l.slice(u) + pt + f) : l + pt + (u === -2 ? a : f);
298
298
  }
299
- return [Pi(e, r + (e[n] || "<?>") + (t === 2 ? "</svg>" : "")), i];
299
+ return [Pi(e, r + (e[n] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), i];
300
300
  };
301
- class fe {
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, c] = Di(t, n);
307
- if (this.el = fe.createElement(u, i), Nt.currentNode = this.el.content, n === 2) {
308
- const d = this.el.content.firstChild;
309
- d.replaceWith(...d.childNodes);
306
+ const a = t.length - 1, l = this.parts, [d, c] = Di(t, n);
307
+ if (this.el = pe.createElement(d, i), Nt.currentNode = this.el.content, n === 2 || n === 3) {
308
+ const u = this.el.content.firstChild;
309
+ u.replaceWith(...u.childNodes);
310
310
  }
311
311
  for (; (o = Nt.nextNode()) !== null && l.length < a; ) {
312
312
  if (o.nodeType === 1) {
313
- if (o.hasAttributes()) for (const d of o.getAttributeNames()) if (d.endsWith(Un)) {
314
- const p = c[s++], f = o.getAttribute(d).split(pt), g = /([.?@])?(.*)/.exec(p);
315
- l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Oi : g[1] === "?" ? Mi : g[1] === "@" ? Ni : ve }), o.removeAttribute(d);
316
- } else d.startsWith(pt) && (l.push({ type: 6, index: r }), o.removeAttribute(d));
313
+ if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(Un)) {
314
+ const p = c[s++], f = o.getAttribute(u).split(pt), g = /([.?@])?(.*)/.exec(p);
315
+ l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Mi : g[1] === "?" ? Ni : g[1] === "@" ? Ii : be }), o.removeAttribute(u);
316
+ } else u.startsWith(pt) && (l.push({ type: 6, index: r }), o.removeAttribute(u));
317
317
  if (Ti.test(o.tagName)) {
318
- const d = o.textContent.split(pt), p = d.length - 1;
318
+ const u = o.textContent.split(pt), p = u.length - 1;
319
319
  if (p > 0) {
320
- o.textContent = Be ? Be.emptyScript : "";
321
- for (let f = 0; f < p; f++) o.append(d[f], he()), Nt.nextNode(), l.push({ type: 2, index: ++r });
322
- o.append(d[p], he());
320
+ o.textContent = He ? He.emptyScript : "";
321
+ for (let f = 0; f < p; f++) o.append(u[f], ce()), Nt.nextNode(), l.push({ type: 2, index: ++r });
322
+ o.append(u[p], ce());
323
323
  }
324
324
  }
325
325
  } else if (o.nodeType === 8) if (o.data === kn) l.push({ type: 2, index: r });
326
326
  else {
327
- let d = -1;
328
- for (; (d = o.data.indexOf(pt, d + 1)) !== -1; ) l.push({ type: 7, index: r }), d += pt.length - 1;
327
+ let u = -1;
328
+ for (; (u = o.data.indexOf(pt, u + 1)) !== -1; ) l.push({ type: 7, index: r }), u += pt.length - 1;
329
329
  }
330
330
  r++;
331
331
  }
@@ -338,11 +338,11 @@ class fe {
338
338
  function Bt(e, t, n = e, i) {
339
339
  var s, a;
340
340
  if (t === rt) return t;
341
- let o = i !== void 0 ? (s = n._$Co) == null ? void 0 : s[i] : n._$Cl;
342
- const r = pe(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 = Bt(e, o._$AS(e, t.values), o, i)), t;
341
+ let o = i !== void 0 ? (s = n.o) == null ? void 0 : s[i] : n.l;
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.o ?? (n.o = []))[i] = o : n.l = o), o !== void 0 && (t = Bt(e, o._$AS(e, t.values), o, i)), t;
344
344
  }
345
- class Ri {
345
+ class Oi {
346
346
  constructor(t, n) {
347
347
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = n;
348
348
  }
@@ -358,8 +358,8 @@ class Ri {
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
- 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 Ii(r, this, t)), this._$AV.push(u), l = i[++a];
361
+ let d;
362
+ l.type === 2 ? d = new un(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new Hi(r, this, t)), this._$AV.push(d), l = i[++a];
363
363
  }
364
364
  s !== (l == null ? void 0 : l.index) && (r = Nt.nextNode(), s++);
365
365
  }
@@ -370,13 +370,13 @@ class Ri {
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
+ let un = class Ri {
374
374
  get _$AU() {
375
375
  var t;
376
- return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
376
+ return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this.v;
377
377
  }
378
378
  constructor(t, n, i, o) {
379
- this.type = 2, this._$AH = C, this._$AN = void 0, this._$AA = t, this._$AB = n, this._$AM = i, this.options = o, this._$Cv = (o == null ? void 0 : o.isConnected) ?? !0;
379
+ this.type = 2, this._$AH = C, this._$AN = void 0, this._$AA = t, this._$AB = n, this._$AM = i, this.options = o, this.v = (o == null ? void 0 : o.isConnected) ?? !0;
380
380
  }
381
381
  get parentNode() {
382
382
  let t = this._$AA.parentNode;
@@ -390,35 +390,35 @@ class Yt {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(t, n = this) {
393
- t = Bt(this, t, n), pe(t) ? t === C || t == null || t === "" ? (this._$AH !== C && this._$AR(), this._$AH = C) : t !== this._$AH && t !== rt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ci(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 !== rt && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : Ci(t) ? this.k(t) : this._(t);
394
394
  }
395
- S(t) {
395
+ O(t) {
396
396
  return this._$AA.parentNode.insertBefore(t, this._$AB);
397
397
  }
398
398
  T(t) {
399
- this._$AH !== t && (this._$AR(), this._$AH = this.S(t));
399
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
400
400
  }
401
401
  _(t) {
402
- this._$AH !== C && pe(this._$AH) ? this._$AA.nextSibling.data = t : this.T(Ht.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 = fe.createElement(Pi(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(Pi(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 Ri(o, this), a = s.u(this.options);
409
+ const s = new Oi(o, this), a = s.u(this.options);
410
410
  s.p(n), this.T(a), this._$AH = s;
411
411
  }
412
412
  }
413
413
  _$AC(t) {
414
- let n = ai.get(t.strings);
415
- return n === void 0 && ai.set(t.strings, n = new fe(t)), n;
414
+ let n = li.get(t.strings);
415
+ return n === void 0 && li.set(t.strings, n = new pe(t)), n;
416
416
  }
417
417
  k(t) {
418
- Ai(this._$AH) || (this._$AH = [], this._$AR());
418
+ Fn(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(he()), this.S(he()), this, this.options)) : i = n[o], i._$AI(r), o++;
421
+ for (const r of t) o === n.length ? n.push(i = new Ri(this.O(ce()), this.O(ce()), 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) {
@@ -430,10 +430,10 @@ class Yt {
430
430
  }
431
431
  setConnected(t) {
432
432
  var n;
433
- this._$AM === void 0 && (this._$Cv = t, (n = this._$AP) == null || n.call(this, t));
433
+ this._$AM === void 0 && (this.v = t, (n = this._$AP) == null || n.call(this, t));
434
434
  }
435
- }
436
- class ve {
435
+ };
436
+ class be {
437
437
  get tagName() {
438
438
  return this.element.tagName;
439
439
  }
@@ -446,11 +446,11 @@ class ve {
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 = Bt(this, t, n, 0), s = !pe(t) || t !== this._$AH && t !== rt, s && (this._$AH = t);
449
+ if (r === void 0) t = Bt(this, t, n, 0), s = !he(t) || t !== this._$AH && t !== rt, s && (this._$AH = t);
450
450
  else {
451
451
  const a = t;
452
- let l, u;
453
- for (t = r[0], l = 0; l < r.length - 1; l++) u = Bt(this, a[i + l], n, l), u === rt && (u = this._$AH[l]), s || (s = !pe(u) || u !== this._$AH[l]), u === C ? t = C : t !== C && (t += (u ?? "") + r[l + 1]), this._$AH[l] = u;
452
+ let l, d;
453
+ for (t = r[0], l = 0; l < r.length - 1; l++) d = Bt(this, a[i + l], n, l), d === rt && (d = this._$AH[l]), s || (s = !he(d) || d !== this._$AH[l]), d === C ? t = C : t !== C && (t += (d ?? "") + r[l + 1]), this._$AH[l] = d;
454
454
  }
455
455
  s && !o && this.j(t);
456
456
  }
@@ -458,7 +458,7 @@ class ve {
458
458
  t === C ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
459
459
  }
460
460
  }
461
- class Oi extends ve {
461
+ class Mi extends be {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
@@ -466,7 +466,7 @@ class Oi extends ve {
466
466
  this.element[this.name] = t === C ? void 0 : t;
467
467
  }
468
468
  }
469
- class Mi extends ve {
469
+ class Ni extends be {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
@@ -474,7 +474,7 @@ class Mi extends ve {
474
474
  this.element.toggleAttribute(this.name, !!t && t !== C);
475
475
  }
476
476
  }
477
- class Ni extends ve {
477
+ class Ii extends be {
478
478
  constructor(t, n, i, o, r) {
479
479
  super(t, n, i, o, r), this.type = 5;
480
480
  }
@@ -488,7 +488,7 @@ class Ni extends ve {
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 Ii {
491
+ class Hi {
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
  }
@@ -499,14 +499,14 @@ class Ii {
499
499
  Bt(this, t);
500
500
  }
501
501
  }
502
- const Wo = { P: Un, A: pt, C: kn, M: 1, L: Di, R: Ri, D: Ci, V: Bt, I: Yt, H: ve, N: Mi, U: Ni, B: Oi, F: Ii }, mn = se.litHtmlPolyfillSupport;
503
- mn == null || mn(fe, Yt), (se.litHtmlVersions ?? (se.litHtmlVersions = [])).push("3.1.4");
504
- const Go = (e, t, n) => {
502
+ const Jo = { M: Un, P: pt, A: kn, C: 1, L: Di, R: Oi, D: Ci, V: Bt, I: un, H: be, N: Ni, U: Ii, B: Mi, F: Hi }, mn = re.litHtmlPolyfillSupport;
503
+ mn == null || mn(pe, un), (re.litHtmlVersions ?? (re.litHtmlVersions = [])).push("3.2.0");
504
+ const Ko = (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(he(), r), r, void 0, n ?? {});
509
+ i._$litPart$ = o = new un(t.insertBefore(ce(), r), r, void 0, n ?? {});
510
510
  }
511
511
  return o._$AI(e), o;
512
512
  };
@@ -515,9 +515,9 @@ const Go = (e, t, n) => {
515
515
  * Copyright 2017 Google LLC
516
516
  * SPDX-License-Identifier: BSD-3-Clause
517
517
  */
518
- let Q = class extends Ut {
518
+ class tt extends Ut {
519
519
  constructor() {
520
- super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
520
+ super(...arguments), this.renderOptions = { host: this }, this.o = void 0;
521
521
  }
522
522
  createRenderRoot() {
523
523
  var n;
@@ -526,31 +526,31 @@ let Q = class extends Ut {
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 = Go(n, this.renderRoot, this.renderOptions);
529
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this.o = Ko(n, this.renderRoot, this.renderOptions);
530
530
  }
531
531
  connectedCallback() {
532
532
  var t;
533
- super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
533
+ super.connectedCallback(), (t = this.o) == null || t.setConnected(!0);
534
534
  }
535
535
  disconnectedCallback() {
536
536
  var t;
537
- super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
537
+ super.disconnectedCallback(), (t = this.o) == null || t.setConnected(!1);
538
538
  }
539
539
  render() {
540
540
  return rt;
541
541
  }
542
- };
543
- var Si;
544
- Q._$litElement$ = !0, Q.finalized = !0, (Si = globalThis.litElementHydrateSupport) == null || Si.call(globalThis, { LitElement: Q });
542
+ }
543
+ var $i;
544
+ tt._$litElement$ = !0, tt.finalized = !0, ($i = globalThis.litElementHydrateSupport) == null || $i.call(globalThis, { LitElement: tt });
545
545
  const yn = globalThis.litElementPolyfillSupport;
546
- yn == null || yn({ LitElement: Q });
547
- (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.6");
546
+ yn == null || yn({ LitElement: tt });
547
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.0");
548
548
  /**
549
549
  * @license
550
550
  * Copyright 2021 Google LLC
551
551
  * SPDX-License-Identifier: BSD-3-Clause
552
552
  */
553
- function K(e, t, n) {
553
+ function Y(e, t, n) {
554
554
  return e ? t(e) : n == null ? void 0 : n(e);
555
555
  }
556
556
  /**
@@ -558,15 +558,15 @@ function K(e, t, n) {
558
558
  * Copyright 2017 Google LLC
559
559
  * SPDX-License-Identifier: BSD-3-Clause
560
560
  */
561
- const Et = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Fn = (e) => (...t) => ({ _$litDirective$: e, values: t });
562
- class jn {
561
+ const Et = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, jn = (e) => (...t) => ({ _$litDirective$: e, values: t });
562
+ class Zn {
563
563
  constructor(t) {
564
564
  }
565
565
  get _$AU() {
566
566
  return this._$AM._$AU;
567
567
  }
568
568
  _$AT(t, n, i) {
569
- this._$Ct = t, this._$AM = n, this._$Ci = i;
569
+ this.t = t, this._$AM = n, this.i = i;
570
570
  }
571
571
  _$AS(t, n) {
572
572
  return this.update(t, n);
@@ -580,28 +580,28 @@ class jn {
580
580
  * Copyright 2020 Google LLC
581
581
  * SPDX-License-Identifier: BSD-3-Clause
582
582
  */
583
- const { I: Jo } = Wo, Ko = (e) => e.strings === void 0, li = () => document.createComment(""), ee = (e, t, n) => {
583
+ const { I: Qo } = Jo, tr = (e) => e.strings === void 0, di = () => 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
- const s = i.insertBefore(li(), o), a = i.insertBefore(li(), o);
588
- n = new Jo(s, a, e, e.options);
587
+ const s = i.insertBefore(di(), o), a = i.insertBefore(di(), o);
588
+ n = new Qo(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) {
592
- let u;
593
- (r = n._$AQ) == null || r.call(n, e), n._$AM = e, n._$AP !== void 0 && (u = e._$AU) !== a._$AU && n._$AP(u);
592
+ let d;
593
+ (r = n._$AQ) == null || r.call(n, e), n._$AM = e, n._$AP !== void 0 && (d = e._$AU) !== a._$AU && n._$AP(d);
594
594
  }
595
595
  if (s !== o || l) {
596
- let u = n._$AA;
597
- for (; u !== s; ) {
598
- const c = u.nextSibling;
599
- i.insertBefore(u, o), u = c;
596
+ let d = n._$AA;
597
+ for (; d !== s; ) {
598
+ const c = d.nextSibling;
599
+ i.insertBefore(d, o), d = c;
600
600
  }
601
601
  }
602
602
  }
603
603
  return n;
604
- }, Dt = (e, t, n = e) => (e._$AI(t, n), e), Qo = {}, Hi = (e, t = Qo) => e._$AH = t, tr = (e) => e._$AH, bn = (e) => {
604
+ }, Dt = (e, t, n = e) => (e._$AI(t, n), e), er = {}, Bi = (e, t = er) => e._$AH = t, nr = (e) => e._$AH, bn = (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 ui = (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
- }, er = Fn(class extends jn {
623
+ }, ir = jn(class extends Zn {
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
  }
@@ -636,34 +636,34 @@ const ui = (e, t, n) => {
636
636
  return this.dt(e, t, n).values;
637
637
  }
638
638
  update(e, [t, n, i]) {
639
- const o = tr(e), { values: r, keys: s } = this.dt(t, n, i);
639
+ const o = nr(e), { values: r, keys: s } = this.dt(t, n, i);
640
640
  if (!Array.isArray(o)) return this.ut = s, r;
641
641
  const a = this.ut ?? (this.ut = []), l = [];
642
- let u, c, d = 0, p = o.length - 1, f = 0, g = r.length - 1;
643
- for (; d <= p && f <= g; ) if (o[d] === null) d++;
642
+ let d, c, u = 0, p = o.length - 1, f = 0, g = r.length - 1;
643
+ for (; u <= p && f <= g; ) if (o[u] === null) u++;
644
644
  else if (o[p] === null) p--;
645
- else if (a[d] === s[f]) l[f] = Dt(o[d], r[f]), d++, f++;
645
+ else if (a[u] === s[f]) l[f] = Dt(o[u], r[f]), u++, f++;
646
646
  else if (a[p] === s[g]) l[g] = Dt(o[p], r[g]), p--, g--;
647
- else if (a[d] === s[g]) l[g] = Dt(o[d], r[g]), ee(e, l[g + 1], o[d]), d++, g--;
648
- else if (a[p] === s[f]) l[f] = Dt(o[p], r[f]), ee(e, o[d], o[p]), p--, f++;
649
- else if (u === void 0 && (u = ui(s, f, g), c = ui(a, d, p)), u.has(a[d])) if (u.has(a[p])) {
647
+ else if (a[u] === s[g]) l[g] = Dt(o[u], r[g]), te(e, l[g + 1], o[u]), u++, g--;
648
+ else if (a[p] === s[f]) l[f] = Dt(o[p], r[f]), te(e, o[u], o[p]), p--, f++;
649
+ else if (d === void 0 && (d = ui(s, f, g), c = ui(a, u, p)), d.has(a[u])) if (d.has(a[p])) {
650
650
  const y = c.get(s[f]), D = y !== void 0 ? o[y] : null;
651
651
  if (D === null) {
652
- const U = ee(e, o[d]);
652
+ const U = te(e, o[u]);
653
653
  Dt(U, r[f]), l[f] = U;
654
- } else l[f] = Dt(D, r[f]), ee(e, o[d], D), o[y] = null;
654
+ } else l[f] = Dt(D, r[f]), te(e, o[u], D), o[y] = null;
655
655
  f++;
656
656
  } else bn(o[p]), p--;
657
- else bn(o[d]), d++;
657
+ else bn(o[u]), u++;
658
658
  for (; f <= g; ) {
659
- const y = ee(e, l[g + 1]);
659
+ const y = te(e, l[g + 1]);
660
660
  Dt(y, r[f]), l[f++] = y;
661
661
  }
662
- for (; d <= p; ) {
663
- const y = o[d++];
662
+ for (; u <= p; ) {
663
+ const y = o[u++];
664
664
  y !== null && bn(y);
665
665
  }
666
- return this.ut = s, Hi(e, l), rt;
666
+ return this.ut = s, Bi(e, l), rt;
667
667
  }
668
668
  });
669
669
  /**
@@ -672,8 +672,8 @@ const ui = (e, t, n) => {
672
672
  * @license BSD-2-Clause
673
673
  * @preserve
674
674
  */
675
- var x = (e) => e !== void 0, Bi = (e, t, n) => t in e ? e[t] : e[t] = n;
676
- const ge = {
675
+ var x = (e) => e !== void 0, Vi = (e, t, n) => t in e ? e[t] : e[t] = n;
676
+ const fe = {
677
677
  ELEMENT: 1,
678
678
  ATTRIBUTE: 2,
679
679
  TEXT: 3,
@@ -687,7 +687,7 @@ const ge = {
687
687
  DOCUMENT_FRAGMENT: 11,
688
688
  NOTATION: 12
689
689
  };
690
- class nr {
690
+ class or {
691
691
  /**
692
692
  * XML DOM parser
693
693
  * @constructor
@@ -716,20 +716,20 @@ class nr {
716
716
  }
717
717
  }
718
718
  function cn(e, t) {
719
- return Vi(e, t, []).join("");
719
+ return Li(e, t, []).join("");
720
720
  }
721
- function Vi(e, t, n) {
722
- if (e.nodeType === ge.CDATA_SECTION || e.nodeType === ge.TEXT)
721
+ function Li(e, t, n) {
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
- Vi(i, t, n);
727
+ Li(i, t, n);
728
728
  }
729
729
  return n;
730
730
  }
731
- function ir(e, t, n, i) {
732
- for (var o = or(t); o; o = rr(o)) {
731
+ function rr(e, t, n, i) {
732
+ for (var o = sr(t); o; o = ar(o)) {
733
733
  var r = o.namespaceURI || null, s = e[r];
734
734
  if (x(s)) {
735
735
  var a = s[o.localName];
@@ -737,31 +737,31 @@ function ir(e, t, n, i) {
737
737
  }
738
738
  }
739
739
  }
740
- function or(e) {
740
+ function sr(e) {
741
741
  let t = e.firstElementChild || e.firstChild;
742
- for (; t && t.nodeType !== ge.ELEMENT; )
742
+ for (; t && t.nodeType !== fe.ELEMENT; )
743
743
  t = t.nextSibling;
744
744
  return t;
745
745
  }
746
- function rr(e) {
746
+ function ar(e) {
747
747
  let t = e.nextElementSibling || e.nextSibling;
748
- for (; t && t.nodeType !== ge.ELEMENT; )
748
+ for (; t && t.nodeType !== fe.ELEMENT; )
749
749
  t = t.nextSibling;
750
750
  return t;
751
751
  }
752
752
  function j(e, t, n) {
753
753
  return (
754
754
  /** @type {Object.<string, Object.<string, XMLParser.Parser>>} */
755
- sr(e, t, n)
755
+ lr(e, t, n)
756
756
  );
757
757
  }
758
- function sr(e, t, n) {
758
+ function lr(e, t, n) {
759
759
  var i = x(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 Li(e, t) {
764
+ function Ui(e, t) {
765
765
  return (
766
766
  /**
767
767
  * @param {Node} node Node.
@@ -781,7 +781,7 @@ function Li(e, t) {
781
781
  );
782
782
  }
783
783
  function L(e, t, n, i, o) {
784
- return i.push(e), ir(t, n, i, o), i.pop();
784
+ return i.push(e), rr(t, n, i, o), i.pop();
785
785
  }
786
786
  function m(e, t, n) {
787
787
  return (
@@ -805,7 +805,7 @@ function m(e, t, n) {
805
805
  }
806
806
  );
807
807
  }
808
- function J(e, t, n) {
808
+ function K(e, t, n) {
809
809
  return (
810
810
  /**
811
811
  * @param {Node} node Node.
@@ -821,15 +821,15 @@ function J(e, t, n) {
821
821
  var s = (
822
822
  /** @type {Object} */
823
823
  o[o.length - 1]
824
- ), a = x(t) ? t : i.localName, l = Bi(s, a, []);
824
+ ), a = x(t) ? t : i.localName, l = Vi(s, a, []);
825
825
  l.push(r);
826
826
  }
827
827
  }
828
828
  );
829
829
  }
830
- const ar = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
831
- function lr(e) {
832
- return e.replace(ar, "");
830
+ const dr = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;
831
+ function ur(e) {
832
+ return e.replace(dr, "");
833
833
  }
834
834
  function It(e) {
835
835
  const t = /^\s*(true|1)|(false|0)\s*$/.exec(e);
@@ -845,24 +845,24 @@ function ft(e) {
845
845
  return parseFloat(t[1]);
846
846
  }
847
847
  function vn(e) {
848
- return Ve(cn(e, !1));
848
+ return Be(cn(e, !1));
849
849
  }
850
- function Ve(e) {
850
+ function Be(e) {
851
851
  const t = /^\s*(\d+)\s*$/.exec(e);
852
852
  if (t)
853
853
  return parseInt(t[1], 10);
854
854
  }
855
855
  function $(e) {
856
- return lr(cn(e, !1));
856
+ return ur(cn(e, !1));
857
857
  }
858
- const ur = "http://www.w3.org/1999/xlink";
859
- function Zn(e) {
860
- return e.getAttributeNS(ur, "href");
858
+ const cr = "http://www.w3.org/1999/xlink";
859
+ function zn(e) {
860
+ return e.getAttributeNS(cr, "href");
861
861
  }
862
- function dr(e, t) {
863
- return L({}, Br, e, t);
862
+ function hr(e, t) {
863
+ return L({}, Lr, e, t);
864
864
  }
865
- function Ui(e) {
865
+ function ki(e) {
866
866
  return [
867
867
  ft(e.getAttribute("minx")),
868
868
  ft(e.getAttribute("miny")),
@@ -870,8 +870,8 @@ function Ui(e) {
870
870
  ft(e.getAttribute("maxy"))
871
871
  ];
872
872
  }
873
- function cr(e, t) {
874
- const n = Ui(e), i = [
873
+ function pr(e, t) {
874
+ const n = ki(e), i = [
875
875
  ft(e.getAttribute("resx")),
876
876
  ft(e.getAttribute("resy"))
877
877
  ];
@@ -881,19 +881,19 @@ function cr(e, t) {
881
881
  res: i
882
882
  };
883
883
  }
884
- function hr(e, t) {
885
- const n = Ui(e);
884
+ function fr(e, t) {
885
+ const n = ki(e);
886
886
  if (!(!x(n[0]) || !x(n[1]) || !x(n[2]) || !x(n[3])))
887
887
  return n;
888
888
  }
889
- function pr(e, t) {
889
+ function gr(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 fr(e, t) {
893
+ function mr(e, t) {
894
894
  const n = L(
895
895
  {},
896
- Vr,
896
+ Ur,
897
897
  e,
898
898
  t
899
899
  );
@@ -919,56 +919,56 @@ function fr(e, t) {
919
919
  s
920
920
  ];
921
921
  }
922
- function gr(e, t) {
923
- return L({}, Rr, e, t);
922
+ function yr(e, t) {
923
+ return L({}, Mr, e, t);
924
924
  }
925
- function mr(e, t) {
926
- return L({}, Or, e, t);
925
+ function br(e, t) {
926
+ return L({}, Nr, e, t);
927
927
  }
928
- function yr(e, t) {
928
+ function vr(e, t) {
929
929
  return L(
930
930
  {},
931
- Mr,
931
+ Ir,
932
932
  e,
933
933
  t
934
934
  );
935
935
  }
936
- function br(e, t) {
936
+ function wr(e, t) {
937
937
  return L(
938
938
  {},
939
- Nr,
939
+ Hr,
940
940
  e,
941
941
  t
942
942
  );
943
943
  }
944
- function vr(e, t) {
944
+ function Er(e, t) {
945
945
  return L(
946
946
  {},
947
- Ir,
947
+ Br,
948
948
  e,
949
949
  t
950
950
  );
951
951
  }
952
- function wr(e, t) {
952
+ function xr(e, t) {
953
953
  return L(
954
954
  [],
955
- Hr,
955
+ Vr,
956
956
  e,
957
957
  t
958
958
  );
959
959
  }
960
- function Er(e, t) {
960
+ function Sr(e, t) {
961
961
  const n = It(e.getAttribute("queryable"));
962
962
  return L(
963
963
  {
964
964
  queryable: x(n) ? n : !1
965
965
  },
966
- ji,
966
+ Zi,
967
967
  e,
968
968
  t
969
969
  );
970
970
  }
971
- function xr(e, t) {
971
+ function $r(e, t) {
972
972
  var n = (
973
973
  /** @type {Object.<string,*>} */
974
974
  t[t.length - 1]
@@ -977,7 +977,7 @@ function xr(e, t) {
977
977
  /** @type {Object.<string,*>} */
978
978
  L(
979
979
  {},
980
- ji,
980
+ Zi,
981
981
  e,
982
982
  t
983
983
  )
@@ -985,7 +985,7 @@ function xr(e, t) {
985
985
  if (!x(i)) return;
986
986
  let o = It(e.getAttribute("queryable"));
987
987
  x(o) || (o = n.queryable), i.queryable = x(o) ? o : !1;
988
- let r = Ve(e.getAttribute("cascaded"));
988
+ let r = Be(e.getAttribute("cascaded"));
989
989
  x(r) || (r = n.cascaded), i.cascaded = r;
990
990
  let s = It(e.getAttribute("opaque"));
991
991
  x(s) || (s = n.opaque), i.opaque = x(s) ? s : !1;
@@ -993,17 +993,17 @@ function xr(e, t) {
993
993
  x(a) || (a = n.noSubsets), i.noSubsets = x(a) ? a : !1;
994
994
  let l = ft(e.getAttribute("fixedWidth"));
995
995
  x(l) || (l = n.fixedWidth), i.fixedWidth = l;
996
- let u = ft(e.getAttribute("fixedHeight"));
997
- x(u) || (u = n.fixedHeight), i.fixedHeight = u;
996
+ let d = ft(e.getAttribute("fixedHeight"));
997
+ x(d) || (d = n.fixedHeight), i.fixedHeight = d;
998
998
  const c = ["Style", "CRS", "AuthorityURL"];
999
999
  for (let p = 0, f = c.length; p < f; p++) {
1000
1000
  const g = c[p], y = n[g];
1001
1001
  if (x(y)) {
1002
- let D = Bi(i, g, []);
1002
+ let D = Vi(i, g, []);
1003
1003
  D = D.concat(y), i[g] = D;
1004
1004
  }
1005
1005
  }
1006
- const d = [
1006
+ const u = [
1007
1007
  "EX_GeographicBoundingBox",
1008
1008
  "BoundingBox",
1009
1009
  "Dimension",
@@ -1011,8 +1011,8 @@ function xr(e, t) {
1011
1011
  "MinScaleDenominator",
1012
1012
  "MaxScaleDenominator"
1013
1013
  ];
1014
- for (let p = 0, f = d.length; p < f; p++) {
1015
- const g = d[p], y = i[g];
1014
+ for (let p = 0, f = u.length; p < f; p++) {
1015
+ const g = u[p], y = i[g];
1016
1016
  if (!x(y)) {
1017
1017
  const D = n[g];
1018
1018
  i[g] = D;
@@ -1020,7 +1020,7 @@ function xr(e, t) {
1020
1020
  }
1021
1021
  return i;
1022
1022
  }
1023
- function Sr(e, t) {
1023
+ function _r(e, t) {
1024
1024
  return {
1025
1025
  name: e.getAttribute("name"),
1026
1026
  units: e.getAttribute("units"),
@@ -1035,50 +1035,50 @@ function Sr(e, t) {
1035
1035
  function mt(e, t) {
1036
1036
  return L(
1037
1037
  {},
1038
- Zr,
1038
+ Xr,
1039
1039
  e,
1040
1040
  t
1041
1041
  );
1042
1042
  }
1043
- function $r(e, t) {
1044
- return L({}, Lr, e, t);
1045
- }
1046
- function _r(e, t) {
1043
+ function Ar(e, t) {
1047
1044
  return L({}, kr, e, t);
1048
1045
  }
1049
- function Ar(e, t) {
1050
- return L({}, Fr, e, t);
1046
+ function Cr(e, t) {
1047
+ return L({}, jr, e, t);
1048
+ }
1049
+ function Tr(e, t) {
1050
+ return L({}, Zr, e, t);
1051
1051
  }
1052
1052
  function wn(e, t) {
1053
- return L({}, Ur, e, t);
1053
+ return L({}, Fr, e, t);
1054
1054
  }
1055
- function ki(e, t) {
1055
+ function Fi(e, t) {
1056
1056
  var n = mt(e, t);
1057
1057
  if (x(n)) {
1058
1058
  const i = [
1059
- Ve(e.getAttribute("width")),
1060
- Ve(e.getAttribute("height"))
1059
+ Be(e.getAttribute("width")),
1060
+ Be(e.getAttribute("height"))
1061
1061
  ];
1062
1062
  return n.size = i, n;
1063
1063
  }
1064
1064
  }
1065
- function Cr(e, t) {
1065
+ function Pr(e, t) {
1066
1066
  var n = mt(e, t);
1067
1067
  if (x(n))
1068
1068
  return n.name = e.getAttribute("name"), n;
1069
1069
  }
1070
- function Tr(e, t) {
1070
+ function Dr(e, t) {
1071
1071
  var n = mt(e, t);
1072
1072
  if (x(n))
1073
1073
  return n.type = e.getAttribute("type"), n;
1074
1074
  }
1075
- function Pr(e, t) {
1076
- return L({}, jr, e, t);
1075
+ function Or(e, t) {
1076
+ return L({}, zr, e, t);
1077
1077
  }
1078
- function Fi(e, t) {
1078
+ function ji(e, t) {
1079
1079
  return L(
1080
1080
  [],
1081
- zr,
1081
+ qr,
1082
1082
  e,
1083
1083
  t
1084
1084
  );
@@ -1086,51 +1086,51 @@ function Fi(e, t) {
1086
1086
  const Z = [
1087
1087
  null,
1088
1088
  "http://www.opengis.net/wms"
1089
- ], Dr = j(
1089
+ ], Rr = j(
1090
1090
  Z,
1091
1091
  {
1092
- Service: m(mr),
1093
- Capability: m(gr)
1092
+ Service: m(br),
1093
+ Capability: m(yr)
1094
1094
  }
1095
- ), Rr = j(
1095
+ ), Mr = j(
1096
1096
  Z,
1097
1097
  {
1098
- Request: m($r),
1099
- Exception: m(wr),
1100
- Layer: m(Er)
1098
+ Request: m(Ar),
1099
+ Exception: m(xr),
1100
+ Layer: m(Sr)
1101
1101
  }
1102
- ), Or = j(
1102
+ ), Nr = j(
1103
1103
  Z,
1104
1104
  {
1105
1105
  Name: m($),
1106
1106
  Title: m($),
1107
1107
  Abstract: m($),
1108
- KeywordList: m(Fi),
1109
- OnlineResource: m(Zn),
1110
- ContactInformation: m(yr),
1108
+ KeywordList: m(ji),
1109
+ OnlineResource: m(zn),
1110
+ ContactInformation: m(vr),
1111
1111
  Fees: m($),
1112
1112
  AccessConstraints: m($),
1113
1113
  LayerLimit: m(vn),
1114
1114
  MaxWidth: m(vn),
1115
1115
  MaxHeight: m(vn)
1116
1116
  }
1117
- ), Mr = j(
1117
+ ), Ir = j(
1118
1118
  Z,
1119
1119
  {
1120
- ContactPersonPrimary: m(br),
1120
+ ContactPersonPrimary: m(wr),
1121
1121
  ContactPosition: m($),
1122
- ContactAddress: m(vr),
1122
+ ContactAddress: m(Er),
1123
1123
  ContactVoiceTelephone: m($),
1124
1124
  ContactFacsimileTelephone: m($),
1125
1125
  ContactElectronicMailAddress: m($)
1126
1126
  }
1127
- ), Nr = j(
1127
+ ), Hr = j(
1128
1128
  Z,
1129
1129
  {
1130
1130
  ContactPerson: m($),
1131
1131
  ContactOrganization: m($)
1132
1132
  }
1133
- ), Ir = j(
1133
+ ), Br = 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
- ), Hr = j(
1143
+ ), Vr = j(
1144
1144
  Z,
1145
1145
  {
1146
- Format: Li($)
1146
+ Format: Ui($)
1147
1147
  }
1148
- ), ji = j(
1148
+ ), Zi = j(
1149
1149
  Z,
1150
1150
  {
1151
1151
  Name: m($),
1152
1152
  Title: m($),
1153
1153
  Abstract: m($),
1154
- KeywordList: m(Fi),
1155
- CRS: J($),
1156
- SRS: J($),
1157
- EX_GeographicBoundingBox: m(fr),
1158
- LatLonBoundingBox: m(hr),
1159
- BoundingBox: J(cr),
1160
- Dimension: J(Sr),
1161
- Attribution: m(dr),
1162
- AuthorityURL: J(Cr),
1163
- Identifier: J($),
1164
- MetadataURL: J(Tr),
1165
- DataURL: J(mt),
1166
- FeatureListURL: J(mt),
1167
- Style: J(Pr),
1154
+ KeywordList: m(ji),
1155
+ CRS: K($),
1156
+ SRS: K($),
1157
+ EX_GeographicBoundingBox: m(mr),
1158
+ LatLonBoundingBox: m(fr),
1159
+ BoundingBox: K(pr),
1160
+ Dimension: K(_r),
1161
+ Attribution: m(hr),
1162
+ AuthorityURL: K(Pr),
1163
+ Identifier: K($),
1164
+ MetadataURL: K(Dr),
1165
+ DataURL: K(mt),
1166
+ FeatureListURL: K(mt),
1167
+ Style: K(Or),
1168
1168
  MinScaleDenominator: m(Ft),
1169
1169
  MaxScaleDenominator: m(Ft),
1170
- ScaleHint: m(pr),
1171
- Layer: J(xr)
1170
+ ScaleHint: m(gr),
1171
+ Layer: K($r)
1172
1172
  }
1173
- ), Br = j(
1173
+ ), Lr = j(
1174
1174
  Z,
1175
1175
  {
1176
1176
  Title: m($),
1177
- OnlineResource: m(Zn),
1178
- LogoURL: m(ki)
1177
+ OnlineResource: m(zn),
1178
+ LogoURL: m(Fi)
1179
1179
  }
1180
- ), Vr = j(Z, {
1180
+ ), Ur = j(Z, {
1181
1181
  westBoundLongitude: m(Ft),
1182
1182
  eastBoundLongitude: m(Ft),
1183
1183
  southBoundLatitude: m(Ft),
1184
1184
  northBoundLatitude: m(Ft)
1185
- }), Lr = j(
1185
+ }), kr = j(
1186
1186
  Z,
1187
1187
  {
1188
1188
  GetCapabilities: m(
@@ -1195,22 +1195,22 @@ const Z = [
1195
1195
  wn
1196
1196
  )
1197
1197
  }
1198
- ), Ur = j(
1198
+ ), Fr = j(
1199
1199
  Z,
1200
1200
  {
1201
- Format: J($),
1202
- DCPType: J(
1203
- _r
1201
+ Format: K($),
1202
+ DCPType: K(
1203
+ Cr
1204
1204
  )
1205
1205
  }
1206
- ), kr = j(
1206
+ ), jr = j(
1207
1207
  Z,
1208
1208
  {
1209
1209
  HTTP: m(
1210
- Ar
1210
+ Tr
1211
1211
  )
1212
1212
  }
1213
- ), Fr = j(
1213
+ ), Zr = j(
1214
1214
  Z,
1215
1215
  {
1216
1216
  Get: m(
@@ -1220,29 +1220,29 @@ const Z = [
1220
1220
  mt
1221
1221
  )
1222
1222
  }
1223
- ), jr = j(
1223
+ ), zr = j(
1224
1224
  Z,
1225
1225
  {
1226
1226
  Name: m($),
1227
1227
  Title: m($),
1228
1228
  Abstract: m($),
1229
- LegendURL: J(ki),
1229
+ LegendURL: K(Fi),
1230
1230
  StyleSheetURL: m(mt),
1231
1231
  StyleURL: m(mt)
1232
1232
  }
1233
- ), Zr = j(
1233
+ ), Xr = j(
1234
1234
  Z,
1235
1235
  {
1236
1236
  Format: m($),
1237
- OnlineResource: m(Zn)
1237
+ OnlineResource: m(zn)
1238
1238
  }
1239
- ), zr = j(
1239
+ ), qr = j(
1240
1240
  Z,
1241
1241
  {
1242
- Keyword: Li($)
1242
+ Keyword: Ui($)
1243
1243
  }
1244
1244
  );
1245
- class Xr {
1245
+ class Yr {
1246
1246
  /**
1247
1247
  * WMS Capabilities parser
1248
1248
  *
@@ -1250,7 +1250,7 @@ class Xr {
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 nr(n), this._data = t;
1253
+ !n && typeof window < "u" && (n = window.DOMParser), this.version = void 0, this._parser = new or(n), this._data = t;
1254
1254
  }
1255
1255
  /**
1256
1256
  * @param {String} xmlString
@@ -1279,7 +1279,7 @@ class Xr {
1279
1279
  */
1280
1280
  readFromDocument(t) {
1281
1281
  for (let n = t.firstChild; n; n = n.nextSibling)
1282
- if (n.nodeType == ge.ELEMENT)
1282
+ if (n.nodeType == fe.ELEMENT)
1283
1283
  return this.readFromNode(n);
1284
1284
  return null;
1285
1285
  }
@@ -1290,42 +1290,42 @@ class Xr {
1290
1290
  readFromNode(t) {
1291
1291
  return this.version = t.getAttribute("version"), L({
1292
1292
  version: this.version
1293
- }, Dr, t, []) || null;
1293
+ }, Rr, t, []) || null;
1294
1294
  }
1295
1295
  }
1296
- async function qr(e) {
1296
+ async function Wr(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 Xr(r).toJSON();
1303
+ return new Yr(r).toJSON();
1304
1304
  } else
1305
1305
  throw new Error(`Error: ${o.status}`);
1306
1306
  }
1307
- function zn(e) {
1307
+ function Xn(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 Yr(e) {
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 = zn(e);
1311
+ function Gr(e) {
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 = Xn(e);
1313
1313
  return !!(e && n && i);
1314
1314
  }
1315
- function Zi(e) {
1315
+ function zi(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 Wr(e) {
1321
+ function Jr(e) {
1322
1322
  try {
1323
- return JSON.parse(Zi(e)), !!e;
1323
+ return JSON.parse(zi(e)), !!e;
1324
1324
  } catch {
1325
1325
  return !1;
1326
1326
  }
1327
1327
  }
1328
- function Gr(e, t) {
1328
+ function Kr(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) => {
@@ -1336,12 +1336,12 @@ function Gr(e, t) {
1336
1336
  return `${i}?${o}`;
1337
1337
  }
1338
1338
  /**!
1339
- * Sortable 1.15.2
1339
+ * Sortable 1.15.3
1340
1340
  * @author RubaXa <trash@rubaxa.org>
1341
1341
  * @author owenm <owen23355@gmail.com>
1342
1342
  * @license MIT
1343
1343
  */
1344
- function di(e, t) {
1344
+ function ci(e, t) {
1345
1345
  var n = Object.keys(e);
1346
1346
  if (Object.getOwnPropertySymbols) {
1347
1347
  var i = Object.getOwnPropertySymbols(e);
@@ -1354,23 +1354,23 @@ function di(e, t) {
1354
1354
  function ct(e) {
1355
1355
  for (var t = 1; t < arguments.length; t++) {
1356
1356
  var n = arguments[t] != null ? arguments[t] : {};
1357
- t % 2 ? di(Object(n), !0).forEach(function(i) {
1358
- Jr(e, i, n[i]);
1359
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : di(Object(n)).forEach(function(i) {
1357
+ t % 2 ? ci(Object(n), !0).forEach(function(i) {
1358
+ Qr(e, i, n[i]);
1359
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(n)) : ci(Object(n)).forEach(function(i) {
1360
1360
  Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(n, i));
1361
1361
  });
1362
1362
  }
1363
1363
  return e;
1364
1364
  }
1365
- function Pe(e) {
1365
+ function Te(e) {
1366
1366
  "@babel/helpers - typeof";
1367
- return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Pe = function(t) {
1367
+ return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Te = function(t) {
1368
1368
  return typeof t;
1369
- } : Pe = function(t) {
1369
+ } : Te = function(t) {
1370
1370
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
1371
- }, Pe(e);
1371
+ }, Te(e);
1372
1372
  }
1373
- function Jr(e, t, n) {
1373
+ function Qr(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 Kr(e, t) {
1391
+ function ts(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 Qr(e, t) {
1398
+ function es(e, t) {
1399
1399
  if (e == null) return {};
1400
- var n = Kr(e, t), i, o;
1400
+ var n = ts(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++)
@@ -1405,22 +1405,22 @@ function Qr(e, t) {
1405
1405
  }
1406
1406
  return n;
1407
1407
  }
1408
- var ts = "1.15.2";
1408
+ var ns = "1.15.3";
1409
1409
  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), we = gt(/Edge/i), ci = gt(/firefox/i), ae = gt(/safari/i) && !gt(/chrome/i) && !gt(/android/i), zi = gt(/iP(ad|od|hone)/i), Xi = gt(/chrome/i) && gt(/android/i), qi = {
1413
+ var bt = gt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), ve = gt(/Edge/i), hi = gt(/firefox/i), se = gt(/safari/i) && !gt(/chrome/i) && !gt(/android/i), Xi = gt(/iP(ad|od|hone)/i), qi = gt(/chrome/i) && gt(/android/i), Yi = {
1414
1414
  capture: !1,
1415
1415
  passive: !1
1416
1416
  };
1417
1417
  function _(e, t, n) {
1418
- e.addEventListener(t, n, !bt && qi);
1418
+ e.addEventListener(t, n, !bt && Yi);
1419
1419
  }
1420
1420
  function S(e, t, n) {
1421
- e.removeEventListener(t, n, !bt && qi);
1421
+ e.removeEventListener(t, n, !bt && Yi);
1422
1422
  }
1423
- function Le(e, t) {
1423
+ function Ve(e, t) {
1424
1424
  if (t) {
1425
1425
  if (t[0] === ">" && (t = t.substring(1)), e)
1426
1426
  try {
@@ -1436,28 +1436,28 @@ function Le(e, t) {
1436
1436
  return !1;
1437
1437
  }
1438
1438
  }
1439
- function es(e) {
1439
+ function Wi(e) {
1440
1440
  return e.host && e !== document && e.host.nodeType ? e.host : e.parentNode;
1441
1441
  }
1442
- function ut(e, t, n, i) {
1442
+ function dt(e, t, n, i) {
1443
1443
  if (e) {
1444
1444
  n = n || document;
1445
1445
  do {
1446
- if (t != null && (t[0] === ">" ? e.parentNode === n && Le(e, t) : Le(e, t)) || i && e === n)
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 = es(e));
1449
+ } while (e = Wi(e));
1450
1450
  }
1451
1451
  return null;
1452
1452
  }
1453
- var hi = /\s+/g;
1454
- function et(e, t, n) {
1453
+ var pi = /\s+/g;
1454
+ function nt(e, t, n) {
1455
1455
  if (e && t)
1456
1456
  if (e.classList)
1457
1457
  e.classList[n ? "add" : "remove"](t);
1458
1458
  else {
1459
- var i = (" " + e.className + " ").replace(hi, " ").replace(" " + t + " ", " ");
1460
- e.className = (i + (n ? " " + t : "")).replace(hi, " ");
1459
+ var i = (" " + e.className + " ").replace(pi, " ").replace(" " + t + " ", " ");
1460
+ e.className = (i + (n ? " " + t : "")).replace(pi, " ");
1461
1461
  }
1462
1462
  }
1463
1463
  function b(e, t, n) {
@@ -1480,7 +1480,7 @@ function Zt(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 Yi(e, t, n) {
1483
+ function Gi(e, t, n) {
1484
1484
  if (e) {
1485
1485
  var i = e.getElementsByTagName(t), o = 0, r = i.length;
1486
1486
  if (n)
@@ -1490,47 +1490,47 @@ function Yi(e, t, n) {
1490
1490
  }
1491
1491
  return [];
1492
1492
  }
1493
- function dt() {
1493
+ function ut() {
1494
1494
  var e = document.scrollingElement;
1495
1495
  return e || document.documentElement;
1496
1496
  }
1497
1497
  function H(e, t, n, i, o) {
1498
1498
  if (!(!e.getBoundingClientRect && e !== window)) {
1499
- var r, s, a, l, u, c, d;
1500
- if (e !== window && e.parentNode && e !== dt() ? (r = e.getBoundingClientRect(), s = r.top, a = r.left, l = r.bottom, u = r.right, c = r.height, d = r.width) : (s = 0, a = 0, l = window.innerHeight, u = window.innerWidth, c = window.innerHeight, d = window.innerWidth), (t || n) && e !== window && (o = o || e.parentNode, !bt))
1499
+ var r, s, a, l, d, c, u;
1500
+ if (e !== window && e.parentNode && e !== ut() ? (r = e.getBoundingClientRect(), s = r.top, a = r.left, l = r.bottom, d = r.right, c = r.height, u = r.width) : (s = 0, a = 0, l = window.innerHeight, d = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (t || n) && e !== window && (o = o || e.parentNode, !bt))
1501
1501
  do
1502
1502
  if (o && o.getBoundingClientRect && (b(o, "transform") !== "none" || n && b(o, "position") !== "static")) {
1503
1503
  var p = o.getBoundingClientRect();
1504
- s -= p.top + parseInt(b(o, "border-top-width")), a -= p.left + parseInt(b(o, "border-left-width")), l = s + r.height, u = a + r.width;
1504
+ s -= p.top + parseInt(b(o, "border-top-width")), a -= p.left + parseInt(b(o, "border-left-width")), l = s + r.height, d = a + r.width;
1505
1505
  break;
1506
1506
  }
1507
1507
  while (o = o.parentNode);
1508
1508
  if (i && e !== window) {
1509
1509
  var f = Zt(o || e), g = f && f.a, y = f && f.d;
1510
- f && (s /= y, a /= g, d /= g, c /= y, l = s + c, u = a + d);
1510
+ f && (s /= y, a /= g, u /= g, c /= y, l = s + c, d = a + u);
1511
1511
  }
1512
1512
  return {
1513
1513
  top: s,
1514
1514
  left: a,
1515
1515
  bottom: l,
1516
- right: u,
1517
- width: d,
1516
+ right: d,
1517
+ width: u,
1518
1518
  height: c
1519
1519
  };
1520
1520
  }
1521
1521
  }
1522
- function pi(e, t, n) {
1522
+ function fi(e, t, n) {
1523
1523
  for (var i = _t(e, !0), o = H(e)[t]; i; ) {
1524
1524
  var r = H(i)[n], s = void 0;
1525
1525
  if (s = o >= r, !s) return i;
1526
- if (i === dt()) break;
1526
+ if (i === ut()) break;
1527
1527
  i = _t(i, !1);
1528
1528
  }
1529
1529
  return !1;
1530
1530
  }
1531
1531
  function Xt(e, t, n, i) {
1532
1532
  for (var o = 0, r = 0, s = e.children; r < s.length; ) {
1533
- if (s[r].style.display !== "none" && s[r] !== v.ghost && (i || s[r] !== v.dragged) && ut(s[r], n.draggable, e, !1)) {
1533
+ if (s[r].style.display !== "none" && s[r] !== v.ghost && (i || s[r] !== v.dragged) && dt(s[r], n.draggable, e, !1)) {
1534
1534
  if (o === t)
1535
1535
  return s[r];
1536
1536
  o++;
@@ -1539,8 +1539,8 @@ function Xt(e, t, n, i) {
1539
1539
  }
1540
1540
  return null;
1541
1541
  }
1542
- function Xn(e, t) {
1543
- for (var n = e.lastElementChild; n && (n === v.ghost || b(n, "display") === "none" || t && !Le(n, t)); )
1542
+ function qn(e, t) {
1543
+ for (var n = e.lastElementChild; n && (n === v.ghost || b(n, "display") === "none" || t && !Ve(n, t)); )
1544
1544
  n = n.previousElementSibling;
1545
1545
  return n || null;
1546
1546
  }
@@ -1549,11 +1549,11 @@ function ot(e, t) {
1549
1549
  if (!e || !e.parentNode)
1550
1550
  return -1;
1551
1551
  for (; e = e.previousElementSibling; )
1552
- e.nodeName.toUpperCase() !== "TEMPLATE" && e !== v.clone && (!t || Le(e, t)) && n++;
1552
+ e.nodeName.toUpperCase() !== "TEMPLATE" && e !== v.clone && (!t || Ve(e, t)) && n++;
1553
1553
  return n;
1554
1554
  }
1555
- function fi(e) {
1556
- var t = 0, n = 0, i = dt();
1555
+ function gi(e) {
1556
+ var t = 0, n = 0, i = ut();
1557
1557
  if (e)
1558
1558
  do {
1559
1559
  var o = Zt(e), r = o.a, s = o.d;
@@ -1561,7 +1561,7 @@ function fi(e) {
1561
1561
  } while (e !== i && (e = e.parentNode));
1562
1562
  return [t, n];
1563
1563
  }
1564
- function ns(e, t) {
1564
+ function is(e, t) {
1565
1565
  for (var n in e)
1566
1566
  if (e.hasOwnProperty(n)) {
1567
1567
  for (var i in t)
@@ -1570,21 +1570,21 @@ function ns(e, t) {
1570
1570
  return -1;
1571
1571
  }
1572
1572
  function _t(e, t) {
1573
- if (!e || !e.getBoundingClientRect) return dt();
1573
+ if (!e || !e.getBoundingClientRect) return ut();
1574
1574
  var n = e, i = !1;
1575
1575
  do
1576
1576
  if (n.clientWidth < n.scrollWidth || n.clientHeight < n.scrollHeight) {
1577
1577
  var o = b(n);
1578
1578
  if (n.clientWidth < n.scrollWidth && (o.overflowX == "auto" || o.overflowX == "scroll") || n.clientHeight < n.scrollHeight && (o.overflowY == "auto" || o.overflowY == "scroll")) {
1579
- if (!n.getBoundingClientRect || n === document.body) return dt();
1579
+ if (!n.getBoundingClientRect || n === document.body) return ut();
1580
1580
  if (i || t) return n;
1581
1581
  i = !0;
1582
1582
  }
1583
1583
  }
1584
1584
  while (n = n.parentNode);
1585
- return dt();
1585
+ return ut();
1586
1586
  }
1587
- function is(e, t) {
1587
+ function os(e, t) {
1588
1588
  if (e && t)
1589
1589
  for (var n in t)
1590
1590
  t.hasOwnProperty(n) && (e[n] = t[n]);
@@ -1593,39 +1593,39 @@ function is(e, t) {
1593
1593
  function En(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
- var le;
1597
- function Wi(e, t) {
1596
+ var ae;
1597
+ function Ji(e, t) {
1598
1598
  return function() {
1599
- if (!le) {
1599
+ if (!ae) {
1600
1600
  var n = arguments, i = this;
1601
- n.length === 1 ? e.call(i, n[0]) : e.apply(i, n), le = setTimeout(function() {
1602
- le = void 0;
1601
+ n.length === 1 ? e.call(i, n[0]) : e.apply(i, n), ae = setTimeout(function() {
1602
+ ae = void 0;
1603
1603
  }, t);
1604
1604
  }
1605
1605
  };
1606
1606
  }
1607
- function os() {
1608
- clearTimeout(le), le = void 0;
1607
+ function rs() {
1608
+ clearTimeout(ae), ae = void 0;
1609
1609
  }
1610
- function Gi(e, t, n) {
1610
+ function Ki(e, t, n) {
1611
1611
  e.scrollLeft += t, e.scrollTop += n;
1612
1612
  }
1613
- function Ji(e) {
1613
+ function Qi(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 Ki(e, t, n) {
1617
+ function to(e, t, n) {
1618
1618
  var i = {};
1619
1619
  return Array.from(e.children).forEach(function(o) {
1620
1620
  var r, s, a, l;
1621
- if (!(!ut(o, t.draggable, e, !1) || o.animated || o === n)) {
1622
- var u = H(o);
1623
- i.left = Math.min((r = i.left) !== null && r !== void 0 ? r : 1 / 0, u.left), i.top = Math.min((s = i.top) !== null && s !== void 0 ? s : 1 / 0, u.top), i.right = Math.max((a = i.right) !== null && a !== void 0 ? a : -1 / 0, u.right), i.bottom = Math.max((l = i.bottom) !== null && l !== void 0 ? l : -1 / 0, u.bottom);
1621
+ if (!(!dt(o, t.draggable, e, !1) || o.animated || o === n)) {
1622
+ var d = H(o);
1623
+ i.left = Math.min((r = i.left) !== null && r !== void 0 ? r : 1 / 0, d.left), i.top = Math.min((s = i.top) !== null && s !== void 0 ? s : 1 / 0, d.top), i.right = Math.max((a = i.right) !== null && a !== void 0 ? a : -1 / 0, d.right), i.bottom = Math.max((l = i.bottom) !== null && l !== void 0 ? l : -1 / 0, d.bottom);
1624
1624
  }
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
- var it = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
1628
- function rs() {
1627
+ var Q = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
1628
+ function ss() {
1629
1629
  var e = [], t;
1630
1630
  return {
1631
1631
  captureAnimationState: function() {
@@ -1651,7 +1651,7 @@ function rs() {
1651
1651
  e.push(i);
1652
1652
  },
1653
1653
  removeAnimationState: function(i) {
1654
- e.splice(ns(e, {
1654
+ e.splice(is(e, {
1655
1655
  target: i
1656
1656
  }), 1);
1657
1657
  },
@@ -1663,11 +1663,11 @@ function rs() {
1663
1663
  }
1664
1664
  var r = !1, s = 0;
1665
1665
  e.forEach(function(a) {
1666
- var l = 0, u = a.target, c = u.fromRect, d = H(u), p = u.prevFromRect, f = u.prevToRect, g = a.rect, y = Zt(u, !0);
1667
- y && (d.top -= y.f, d.left -= y.e), u.toRect = d, u.thisAnimationDuration && En(p, d) && !En(c, d) && // Make sure animatingRect is on line between toRect & fromRect
1668
- (g.top - d.top) / (g.left - d.left) === (c.top - d.top) / (c.left - d.left) && (l = as(g, p, f, o.options)), En(d, c) || (u.prevFromRect = c, u.prevToRect = d, l || (l = o.options.animation), o.animate(u, g, d, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(u.animationResetTimer), u.animationResetTimer = setTimeout(function() {
1669
- u.animationTime = 0, u.prevFromRect = null, u.fromRect = null, u.prevToRect = null, u.thisAnimationDuration = null;
1670
- }, l), u.thisAnimationDuration = l);
1666
+ var l = 0, d = a.target, c = d.fromRect, u = H(d), p = d.prevFromRect, f = d.prevToRect, g = a.rect, y = Zt(d, !0);
1667
+ y && (u.top -= y.f, u.left -= y.e), d.toRect = u, d.thisAnimationDuration && En(p, u) && !En(c, u) && // Make sure animatingRect is on line between toRect & fromRect
1668
+ (g.top - u.top) / (g.left - u.left) === (c.top - u.top) / (c.left - u.left) && (l = ls(g, p, f, o.options)), En(u, c) || (d.prevFromRect = c, d.prevToRect = u, l || (l = o.options.animation), o.animate(d, g, u, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1669
+ d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
1670
+ }, l), d.thisAnimationDuration = l);
1671
1671
  }), clearTimeout(t), r ? t = setTimeout(function() {
1672
1672
  typeof i == "function" && i();
1673
1673
  }, s) : typeof i == "function" && i(), e = [];
@@ -1675,23 +1675,23 @@ function rs() {
1675
1675
  animate: function(i, o, r, s) {
1676
1676
  if (s) {
1677
1677
  b(i, "transition", ""), b(i, "transform", "");
1678
- var a = Zt(this.el), l = a && a.a, u = a && a.d, c = (o.left - r.left) / (l || 1), d = (o.top - r.top) / (u || 1);
1679
- i.animatingX = !!c, i.animatingY = !!d, b(i, "transform", "translate3d(" + c + "px," + d + "px,0)"), this.forRepaintDummy = ss(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, d = a && a.d, c = (o.left - r.left) / (l || 1), u = (o.top - r.top) / (d || 1);
1679
+ i.animatingX = !!c, i.animatingY = !!u, b(i, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = as(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 ss(e) {
1686
+ function as(e) {
1687
1687
  return e.offsetWidth;
1688
1688
  }
1689
- function as(e, t, n, i) {
1689
+ function ls(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
1692
  var Vt = [], xn = {
1693
1693
  initializeByDefault: !0
1694
- }, Ee = {
1694
+ }, we = {
1695
1695
  mount: function(t) {
1696
1696
  for (var n in xn)
1697
1697
  xn.hasOwnProperty(n) && !(n in t) && (t[n] = xn[n]);
@@ -1718,8 +1718,8 @@ var Vt = [], xn = {
1718
1718
  Vt.forEach(function(a) {
1719
1719
  var l = a.pluginName;
1720
1720
  if (!(!t.options[l] && !a.initializeByDefault)) {
1721
- var u = new a(t, n, t.options);
1722
- u.sortable = t, u.options = t.options, t[l] = u, yt(i, u.defaults);
1721
+ var d = new a(t, n, t.options);
1722
+ d.sortable = t, d.options = t.options, t[l] = d, yt(i, d.defaults);
1723
1723
  }
1724
1724
  });
1725
1725
  for (var r in t.options)
@@ -1741,41 +1741,41 @@ var Vt = [], xn = {
1741
1741
  }), o;
1742
1742
  }
1743
1743
  };
1744
- function ls(e) {
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, c = e.oldDraggableIndex, d = e.newDraggableIndex, p = e.originalEvent, f = e.putSortable, g = e.extraEventProperties;
1746
- if (t = t || n && n[it], !!t) {
1744
+ function ds(e) {
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, d = e.newIndex, c = e.oldDraggableIndex, u = e.newDraggableIndex, p = e.originalEvent, f = e.putSortable, g = e.extraEventProperties;
1746
+ if (t = t || n && n[Q], !!t) {
1747
1747
  var y, D = t.options, U = "on" + i.charAt(0).toUpperCase() + i.substr(1);
1748
- window.CustomEvent && !bt && !we ? y = new CustomEvent(i, {
1748
+ window.CustomEvent && !bt && !ve ? y = new CustomEvent(i, {
1749
1749
  bubbles: !0,
1750
1750
  cancelable: !0
1751
- }) : (y = document.createEvent("Event"), y.initEvent(i, !0, !0)), y.to = s || n, y.from = a || n, y.item = o || n, y.clone = r, y.oldIndex = l, y.newIndex = u, y.oldDraggableIndex = c, y.newDraggableIndex = d, y.originalEvent = p, y.pullMode = f ? f.lastPutMode : void 0;
1752
- var V = ct(ct({}, g), Ee.getEventProperties(i, t));
1753
- for (var tt in V)
1754
- y[tt] = V[tt];
1751
+ }) : (y = document.createEvent("Event"), y.initEvent(i, !0, !0)), y.to = s || n, y.from = a || n, y.item = o || n, y.clone = r, y.oldIndex = l, y.newIndex = d, y.oldDraggableIndex = c, y.newDraggableIndex = u, y.originalEvent = p, y.pullMode = f ? f.lastPutMode : void 0;
1752
+ var V = ct(ct({}, g), we.getEventProperties(i, t));
1753
+ for (var et in V)
1754
+ y[et] = V[et];
1755
1755
  n && n.dispatchEvent(y), D[U] && D[U].call(t, y);
1756
1756
  }
1757
1757
  }
1758
- var us = ["evt"], G = function(t, n) {
1759
- var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = i.evt, r = Qr(i, us);
1760
- Ee.pluginEvent.bind(v)(t, n, ct({
1758
+ var us = ["evt"], J = function(t, n) {
1759
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = i.evt, r = es(i, us);
1760
+ we.pluginEvent.bind(v)(t, n, ct({
1761
1761
  dragEl: h,
1762
1762
  parentEl: M,
1763
1763
  ghostEl: w,
1764
- rootEl: R,
1764
+ rootEl: O,
1765
1765
  nextEl: Mt,
1766
- lastDownEl: De,
1767
- cloneEl: O,
1766
+ lastDownEl: Pe,
1767
+ cloneEl: R,
1768
1768
  cloneHidden: St,
1769
- dragStarted: ne,
1769
+ dragStarted: ee,
1770
1770
  putSortable: k,
1771
1771
  activeSortable: v.active,
1772
1772
  originalEvent: o,
1773
1773
  oldIndex: jt,
1774
- oldDraggableIndex: ue,
1775
- newIndex: nt,
1774
+ oldDraggableIndex: le,
1775
+ newIndex: it,
1776
1776
  newDraggableIndex: xt,
1777
- hideGhostForTarget: no,
1778
- unhideGhostForTarget: io,
1777
+ hideGhostForTarget: oo,
1778
+ unhideGhostForTarget: ro,
1779
1779
  cloneNowHidden: function() {
1780
1780
  St = !0;
1781
1781
  },
@@ -1783,7 +1783,7 @@ var us = ["evt"], G = function(t, n) {
1783
1783
  St = !1;
1784
1784
  },
1785
1785
  dispatchSortableEvent: function(a) {
1786
- W({
1786
+ G({
1787
1787
  sortable: n,
1788
1788
  name: a,
1789
1789
  originalEvent: o
@@ -1791,96 +1791,96 @@ var us = ["evt"], G = function(t, n) {
1791
1791
  }
1792
1792
  }, r));
1793
1793
  };
1794
- function W(e) {
1795
- ls(ct({
1794
+ function G(e) {
1795
+ ds(ct({
1796
1796
  putSortable: k,
1797
- cloneEl: O,
1797
+ cloneEl: R,
1798
1798
  targetEl: h,
1799
- rootEl: R,
1799
+ rootEl: O,
1800
1800
  oldIndex: jt,
1801
- oldDraggableIndex: ue,
1802
- newIndex: nt,
1801
+ oldDraggableIndex: le,
1802
+ newIndex: it,
1803
1803
  newDraggableIndex: xt
1804
1804
  }, e));
1805
1805
  }
1806
- var h, M, w, R, Mt, De, O, St, jt, nt, ue, xt, Se, k, kt = !1, Ue = !1, ke = [], Rt, lt, Sn, $n, gi, mi, ne, Lt, de, ce = !1, $e = !1, Re, q, _n = [], On = !1, Fe = [], hn = typeof document < "u", _e = zi, yi = we || bt ? "cssFloat" : "float", ds = hn && !Xi && !zi && "draggable" in document.createElement("div"), Qi = function() {
1806
+ var h, M, w, O, Mt, Pe, R, St, jt, it, le, xt, xe, k, kt = !1, Le = !1, Ue = [], Ot, lt, Sn, $n, mi, yi, ee, Lt, de, ue = !1, Se = !1, De, q, _n = [], Rn = !1, ke = [], hn = typeof document < "u", $e = Xi, bi = ve || bt ? "cssFloat" : "float", cs = hn && !qi && !Xi && "draggable" in document.createElement("div"), eo = function() {
1807
1807
  if (hn) {
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
- }(), to = function(t, n) {
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) + H(r).width, c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + H(s).width;
1813
+ }(), no = function(t, n) {
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), d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + H(r).width, c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + H(s).width;
1815
1815
  if (i.display === "flex")
1816
1816
  return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1817
1817
  if (i.display === "grid")
1818
1818
  return i.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
1819
1819
  if (r && a.float && a.float !== "none") {
1820
- var d = a.float === "left" ? "left" : "right";
1821
- return s && (l.clear === "both" || l.clear === d) ? "vertical" : "horizontal";
1822
- }
1823
- return r && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || u >= o && i[yi] === "none" || s && i[yi] === "none" && u + c > o) ? "vertical" : "horizontal";
1824
- }, cs = function(t, n, i) {
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
- return o === a || r === l || o + s / 2 === a + u / 2;
1827
- }, hs = function(t, n) {
1820
+ var u = a.float === "left" ? "left" : "right";
1821
+ return s && (l.clear === "both" || l.clear === u) ? "vertical" : "horizontal";
1822
+ }
1823
+ return r && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || d >= o && i[bi] === "none" || s && i[bi] === "none" && d + c > o) ? "vertical" : "horizontal";
1824
+ }, hs = function(t, n, i) {
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, d = i ? n.width : n.height;
1826
+ return o === a || r === l || o + s / 2 === a + d / 2;
1827
+ }, ps = function(t, n) {
1828
1828
  var i;
1829
- return ke.some(function(o) {
1830
- var r = o[it].options.emptyInsertThreshold;
1831
- if (!(!r || Xn(o))) {
1829
+ return Ue.some(function(o) {
1830
+ var r = o[Q].options.emptyInsertThreshold;
1831
+ if (!(!r || qn(o))) {
1832
1832
  var s = H(o), a = t >= s.left - r && t <= s.right + r, l = n >= s.top - r && n <= s.bottom + r;
1833
1833
  if (a && l)
1834
1834
  return i = o;
1835
1835
  }
1836
1836
  }), i;
1837
- }, eo = function(t) {
1837
+ }, io = function(t) {
1838
1838
  function n(r, s) {
1839
- return function(a, l, u, c) {
1840
- var d = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1841
- if (r == null && (s || d))
1839
+ return function(a, l, d, c) {
1840
+ var u = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1841
+ if (r == null && (s || u))
1842
1842
  return !0;
1843
1843
  if (r == null || r === !1)
1844
1844
  return !1;
1845
1845
  if (s && r === "clone")
1846
1846
  return r;
1847
1847
  if (typeof r == "function")
1848
- return n(r(a, l, u, c), s)(a, l, u, c);
1848
+ return n(r(a, l, d, c), s)(a, l, d, c);
1849
1849
  var p = (s ? a : l).options.group.name;
1850
1850
  return r === !0 || typeof r == "string" && r === p || r.join && r.indexOf(p) > -1;
1851
1851
  };
1852
1852
  }
1853
1853
  var i = {}, o = t.group;
1854
- (!o || Pe(o) != "object") && (o = {
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
- }, no = function() {
1858
- !Qi && w && b(w, "display", "none");
1859
- }, io = function() {
1860
- !Qi && w && b(w, "display", "");
1857
+ }, oo = function() {
1858
+ !eo && w && b(w, "display", "none");
1859
+ }, ro = function() {
1860
+ !eo && w && b(w, "display", "");
1861
1861
  };
1862
- hn && !Xi && document.addEventListener("click", function(e) {
1863
- if (Ue)
1864
- return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Ue = !1, !1;
1862
+ hn && !qi && document.addEventListener("click", function(e) {
1863
+ if (Le)
1864
+ return e.preventDefault(), e.stopPropagation && e.stopPropagation(), e.stopImmediatePropagation && e.stopImmediatePropagation(), Le = !1, !1;
1865
1865
  }, !0);
1866
- var Ot = function(t) {
1866
+ var Rt = function(t) {
1867
1867
  if (h) {
1868
1868
  t = t.touches ? t.touches[0] : t;
1869
- var n = hs(t.clientX, t.clientY);
1869
+ var n = ps(t.clientX, t.clientY);
1870
1870
  if (n) {
1871
1871
  var i = {};
1872
1872
  for (var o in t)
1873
1873
  t.hasOwnProperty(o) && (i[o] = t[o]);
1874
- i.target = i.rootEl = n, i.preventDefault = void 0, i.stopPropagation = void 0, n[it]._onDragOver(i);
1874
+ i.target = i.rootEl = n, i.preventDefault = void 0, i.stopPropagation = void 0, n[Q]._onDragOver(i);
1875
1875
  }
1876
1876
  }
1877
- }, ps = function(t) {
1878
- h && h.parentNode[it]._isOutsideThisEl(t.target);
1877
+ }, fs = function(t) {
1878
+ h && h.parentNode[Q]._isOutsideThisEl(t.target);
1879
1879
  };
1880
1880
  function v(e, t) {
1881
1881
  if (!(e && e.nodeType && e.nodeType === 1))
1882
1882
  throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));
1883
- this.el = e, this.options = t = yt({}, t), e[it] = this;
1883
+ this.el = e, this.options = t = yt({}, t), e[Q] = this;
1884
1884
  var n = {
1885
1885
  group: null,
1886
1886
  sort: !0,
@@ -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 to(e, this.options);
1899
+ return no(e, this.options);
1900
1900
  },
1901
1901
  ghostClass: "sortable-ghost",
1902
1902
  chosenClass: "sortable-chosen",
@@ -1923,16 +1923,16 @@ function v(e, t) {
1923
1923
  x: 0,
1924
1924
  y: 0
1925
1925
  },
1926
- supportPointer: v.supportPointer !== !1 && "PointerEvent" in window && !ae,
1926
+ supportPointer: v.supportPointer !== !1 && "PointerEvent" in window && !se,
1927
1927
  emptyInsertThreshold: 5
1928
1928
  };
1929
- Ee.initializePlugins(this, e, n);
1929
+ we.initializePlugins(this, e, n);
1930
1930
  for (var i in n)
1931
1931
  !(i in t) && (t[i] = n[i]);
1932
- eo(t);
1932
+ io(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 : ds, 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, rs());
1935
+ this.nativeDraggable = t.forceFallback ? !1 : cs, 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)), Ue.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), yt(this, ss());
1936
1936
  }
1937
1937
  v.prototype = /** @lends Sortable.prototype */
1938
1938
  {
@@ -1945,67 +1945,67 @@ v.prototype = /** @lends Sortable.prototype */
1945
1945
  },
1946
1946
  _onTapStart: function(t) {
1947
1947
  if (t.cancelable) {
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, c = o.filter;
1949
- if (Es(i), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !u.isContentEditable && !(!this.nativeDraggable && ae && l && l.tagName.toUpperCase() === "SELECT") && (l = ut(l, o.draggable, i, !1), !(l && l.animated) && De !== l)) {
1950
- if (jt = ot(l), ue = ot(l, o.draggable), typeof c == "function") {
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, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, c = o.filter;
1949
+ if (xs(i), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !d.isContentEditable && !(!this.nativeDraggable && se && l && l.tagName.toUpperCase() === "SELECT") && (l = dt(l, o.draggable, i, !1), !(l && l.animated) && Pe !== l)) {
1950
+ if (jt = ot(l), le = ot(l, o.draggable), typeof c == "function") {
1951
1951
  if (c.call(this, t, l, this)) {
1952
- W({
1952
+ G({
1953
1953
  sortable: n,
1954
- rootEl: u,
1954
+ rootEl: d,
1955
1955
  name: "filter",
1956
1956
  targetEl: l,
1957
1957
  toEl: i,
1958
1958
  fromEl: i
1959
- }), G("filter", n, {
1959
+ }), J("filter", n, {
1960
1960
  evt: t
1961
1961
  }), r && t.cancelable && t.preventDefault();
1962
1962
  return;
1963
1963
  }
1964
- } else if (c && (c = c.split(",").some(function(d) {
1965
- if (d = ut(u, d.trim(), i, !1), d)
1966
- return W({
1964
+ } else if (c && (c = c.split(",").some(function(u) {
1965
+ if (u = dt(d, u.trim(), i, !1), u)
1966
+ return G({
1967
1967
  sortable: n,
1968
- rootEl: d,
1968
+ rootEl: u,
1969
1969
  name: "filter",
1970
1970
  targetEl: l,
1971
1971
  fromEl: i,
1972
1972
  toEl: i
1973
- }), G("filter", n, {
1973
+ }), J("filter", n, {
1974
1974
  evt: t
1975
1975
  }), !0;
1976
1976
  }), c)) {
1977
1977
  r && t.cancelable && t.preventDefault();
1978
1978
  return;
1979
1979
  }
1980
- o.handle && !ut(u, o.handle, i, !1) || this._prepareDragStart(t, a, l);
1980
+ o.handle && !dt(d, o.handle, i, !1) || this._prepareDragStart(t, a, l);
1981
1981
  }
1982
1982
  }
1983
1983
  },
1984
1984
  _prepareDragStart: function(t, n, i) {
1985
1985
  var o = this, r = o.el, s = o.options, a = r.ownerDocument, l;
1986
1986
  if (i && !h && i.parentNode === r) {
1987
- var u = H(i);
1988
- if (R = r, h = i, M = h.parentNode, Mt = h.nextSibling, De = i, Se = s.group, v.dragged = h, Rt = {
1987
+ var d = H(i);
1988
+ if (O = r, h = i, M = h.parentNode, Mt = h.nextSibling, Pe = i, xe = s.group, v.dragged = h, Ot = {
1989
1989
  target: h,
1990
1990
  clientX: (n || t).clientX,
1991
1991
  clientY: (n || t).clientY
1992
- }, gi = Rt.clientX - u.left, mi = Rt.clientY - u.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, h.style["will-change"] = "all", l = function() {
1993
- if (G("delayEnded", o, {
1992
+ }, mi = Ot.clientX - d.left, yi = Ot.clientY - d.top, this._lastX = (n || t).clientX, this._lastY = (n || t).clientY, h.style["will-change"] = "all", l = function() {
1993
+ if (J("delayEnded", o, {
1994
1994
  evt: t
1995
1995
  }), v.eventCanceled) {
1996
1996
  o._onDrop();
1997
1997
  return;
1998
1998
  }
1999
- o._disableDelayedDragEvents(), !ci && o.nativeDraggable && (h.draggable = !0), o._triggerDragStart(t, n), W({
1999
+ o._disableDelayedDragEvents(), !hi && o.nativeDraggable && (h.draggable = !0), o._triggerDragStart(t, n), G({
2000
2000
  sortable: o,
2001
2001
  name: "choose",
2002
2002
  originalEvent: t
2003
- }), et(h, s.chosenClass, !0);
2003
+ }), nt(h, s.chosenClass, !0);
2004
2004
  }, s.ignore.split(",").forEach(function(c) {
2005
- Yi(h, c.trim(), An);
2006
- }), _(a, "dragover", Ot), _(a, "mousemove", Ot), _(a, "touchmove", Ot), _(a, "mouseup", o._onDrop), _(a, "touchend", o._onDrop), _(a, "touchcancel", o._onDrop), ci && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), G("delayStart", this, {
2005
+ Gi(h, c.trim(), An);
2006
+ }), _(a, "dragover", Rt), _(a, "mousemove", Rt), _(a, "touchmove", Rt), _(a, "mouseup", o._onDrop), _(a, "touchend", o._onDrop), _(a, "touchcancel", o._onDrop), hi && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), J("delayStart", this, {
2007
2007
  evt: t
2008
- }), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(we || bt))) {
2008
+ }), s.delay && (!s.delayOnTouchOnly || n) && (!this.nativeDraggable || !(ve || bt))) {
2009
2009
  if (v.eventCanceled) {
2010
2010
  this._onDrop();
2011
2011
  return;
@@ -2027,7 +2027,7 @@ v.prototype = /** @lends Sortable.prototype */
2027
2027
  S(t, "mouseup", this._disableDelayedDrag), S(t, "touchend", this._disableDelayedDrag), S(t, "touchcancel", this._disableDelayedDrag), S(t, "mousemove", this._delayedDragTouchMoveHandler), S(t, "touchmove", this._delayedDragTouchMoveHandler), S(t, "pointermove", this._delayedDragTouchMoveHandler);
2028
2028
  },
2029
2029
  _triggerDragStart: function(t, n) {
2030
- n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(h, "dragend", this), _(R, "dragstart", this._onDragStart));
2030
+ n = n || t.pointerType == "touch" && t, !this.nativeDraggable || n ? this.options.supportPointer ? _(document, "pointermove", this._onTouchMove) : n ? _(document, "touchmove", this._onTouchMove) : _(document, "mousemove", this._onTouchMove) : (_(h, "dragend", this), _(O, "dragstart", this._onDragStart));
2031
2031
  try {
2032
2032
  document.selection ? Oe(function() {
2033
2033
  document.selection.empty();
@@ -2036,12 +2036,12 @@ v.prototype = /** @lends Sortable.prototype */
2036
2036
  }
2037
2037
  },
2038
2038
  _dragStarted: function(t, n) {
2039
- if (kt = !1, R && h) {
2040
- G("dragStarted", this, {
2039
+ if (kt = !1, O && h) {
2040
+ J("dragStarted", this, {
2041
2041
  evt: n
2042
- }), this.nativeDraggable && _(document, "dragover", ps);
2042
+ }), this.nativeDraggable && _(document, "dragover", fs);
2043
2043
  var i = this.options;
2044
- !t && et(h, i.dragClass, !1), et(h, i.ghostClass, !0), v.active = this, t && this._appendGhost(), W({
2044
+ !t && nt(h, i.dragClass, !1), nt(h, i.ghostClass, !0), v.active = this, t && this._appendGhost(), G({
2045
2045
  sortable: this,
2046
2046
  name: "start",
2047
2047
  originalEvent: n
@@ -2051,14 +2051,14 @@ v.prototype = /** @lends Sortable.prototype */
2051
2051
  },
2052
2052
  _emulateDragOver: function() {
2053
2053
  if (lt) {
2054
- this._lastX = lt.clientX, this._lastY = lt.clientY, no();
2054
+ this._lastX = lt.clientX, this._lastY = lt.clientY, oo();
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
- if (h.parentNode[it]._isOutsideThisEl(t), n)
2057
+ if (h.parentNode[Q]._isOutsideThisEl(t), n)
2058
2058
  do {
2059
- if (n[it]) {
2059
+ if (n[Q]) {
2060
2060
  var i = void 0;
2061
- if (i = n[it]._onDragOver({
2061
+ if (i = n[Q]._onDragOver({
2062
2062
  clientX: lt.clientX,
2063
2063
  clientY: lt.clientY,
2064
2064
  target: t,
@@ -2067,124 +2067,124 @@ v.prototype = /** @lends Sortable.prototype */
2067
2067
  break;
2068
2068
  }
2069
2069
  t = n;
2070
- } while (n = n.parentNode);
2071
- io();
2070
+ } while (n = Wi(n));
2071
+ ro();
2072
2072
  }
2073
2073
  },
2074
2074
  _onTouchMove: function(t) {
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 && fi(q), c = (r.clientX - Rt.clientX + o.x) / (a || 1) + (u ? u[0] - _n[0] : 0) / (a || 1), d = (r.clientY - Rt.clientY + o.y) / (l || 1) + (u ? u[1] - _n[1] : 0) / (l || 1);
2075
+ if (Ot) {
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, d = $e && q && gi(q), c = (r.clientX - Ot.clientX + o.x) / (a || 1) + (d ? d[0] - _n[0] : 0) / (a || 1), u = (r.clientY - Ot.clientY + o.y) / (l || 1) + (d ? d[1] - _n[1] : 0) / (l || 1);
2077
2077
  if (!v.active && !kt) {
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);
2081
2081
  }
2082
2082
  if (w) {
2083
- s ? (s.e += c - (Sn || 0), s.f += d - ($n || 0)) : s = {
2083
+ s ? (s.e += c - (Sn || 0), s.f += u - ($n || 0)) : s = {
2084
2084
  a: 1,
2085
2085
  b: 0,
2086
2086
  c: 0,
2087
2087
  d: 1,
2088
2088
  e: c,
2089
- f: d
2089
+ f: u
2090
2090
  };
2091
2091
  var p = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
2092
- b(w, "webkitTransform", p), b(w, "mozTransform", p), b(w, "msTransform", p), b(w, "transform", p), Sn = c, $n = d, lt = r;
2092
+ b(w, "webkitTransform", p), b(w, "mozTransform", p), b(w, "msTransform", p), b(w, "transform", p), Sn = c, $n = u, lt = r;
2093
2093
  }
2094
2094
  t.cancelable && t.preventDefault();
2095
2095
  }
2096
2096
  },
2097
2097
  _appendGhost: function() {
2098
2098
  if (!w) {
2099
- var t = this.options.fallbackOnBody ? document.body : R, n = H(h, !0, _e, !0, t), i = this.options;
2100
- if (_e) {
2099
+ var t = this.options.fallbackOnBody ? document.body : O, n = H(h, !0, $e, !0, t), i = this.options;
2100
+ if ($e) {
2101
2101
  for (q = t; b(q, "position") === "static" && b(q, "transform") === "none" && q !== document; )
2102
2102
  q = q.parentNode;
2103
- q !== document.body && q !== document.documentElement ? (q === document && (q = dt()), n.top += q.scrollTop, n.left += q.scrollLeft) : q = dt(), _n = fi(q);
2103
+ q !== document.body && q !== document.documentElement ? (q === document && (q = ut()), n.top += q.scrollTop, n.left += q.scrollLeft) : q = ut(), _n = gi(q);
2104
2104
  }
2105
- w = h.cloneNode(!0), et(w, i.ghostClass, !1), et(w, i.fallbackClass, !0), et(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", gi / parseInt(w.style.width) * 100 + "% " + mi / parseInt(w.style.height) * 100 + "%");
2105
+ w = h.cloneNode(!0), nt(w, i.ghostClass, !1), nt(w, i.fallbackClass, !0), nt(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", mi / parseInt(w.style.width) * 100 + "% " + yi / parseInt(w.style.height) * 100 + "%");
2106
2106
  }
2107
2107
  },
2108
2108
  _onDragStart: function(t, n) {
2109
2109
  var i = this, o = t.dataTransfer, r = i.options;
2110
- if (G("dragStart", this, {
2110
+ if (J("dragStart", this, {
2111
2111
  evt: t
2112
2112
  }), v.eventCanceled) {
2113
2113
  this._onDrop();
2114
2114
  return;
2115
2115
  }
2116
- G("setupClone", this), v.eventCanceled || (O = Ji(h), O.removeAttribute("id"), O.draggable = !1, O.style["will-change"] = "", this._hideClone(), et(O, this.options.chosenClass, !1), v.clone = O), i.cloneId = Oe(function() {
2117
- G("clone", i), !v.eventCanceled && (i.options.removeCloneOnHide || R.insertBefore(O, h), i._hideClone(), W({
2116
+ J("setupClone", this), v.eventCanceled || (R = Qi(h), R.removeAttribute("id"), R.draggable = !1, R.style["will-change"] = "", this._hideClone(), nt(R, this.options.chosenClass, !1), v.clone = R), i.cloneId = Oe(function() {
2117
+ J("clone", i), !v.eventCanceled && (i.options.removeCloneOnHide || O.insertBefore(R, h), i._hideClone(), G({
2118
2118
  sortable: i,
2119
2119
  name: "clone"
2120
2120
  }));
2121
- }), !n && et(h, r.dragClass, !0), n ? (Ue = !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 = Oe(i._dragStarted.bind(i, n, t)), _(document, "selectstart", i), ne = !0, ae && b(document.body, "user-select", "none");
2121
+ }), !n && nt(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 = Oe(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
- var n = this.el, i = t.target, o, r, s, a = this.options, l = a.group, u = v.active, c = Se === l, d = a.sort, p = k || u, f, g = this, y = !1;
2126
- if (On) return;
2127
- function D(Kt, Mo) {
2128
- G(Kt, g, ct({
2125
+ var n = this.el, i = t.target, o, r, s, a = this.options, l = a.group, d = v.active, c = xe === l, u = a.sort, p = k || d, f, g = this, y = !1;
2126
+ if (Rn) return;
2127
+ function D(Jt, Io) {
2128
+ J(Jt, g, ct({
2129
2129
  evt: t,
2130
2130
  isOwner: c,
2131
2131
  axis: f ? "vertical" : "horizontal",
2132
2132
  revert: s,
2133
2133
  dragRect: o,
2134
2134
  targetRect: r,
2135
- canSort: d,
2135
+ canSort: u,
2136
2136
  fromSortable: p,
2137
2137
  target: i,
2138
2138
  completed: V,
2139
- onMove: function(Gn, No) {
2140
- return Ae(R, n, h, o, Gn, H(Gn), t, No);
2139
+ onMove: function(Jn, Ho) {
2140
+ return _e(O, n, h, o, Jn, H(Jn), t, Ho);
2141
2141
  },
2142
- changed: tt
2143
- }, Mo));
2142
+ changed: et
2143
+ }, Io));
2144
2144
  }
2145
2145
  function U() {
2146
2146
  D("dragOverAnimationCapture"), g.captureAnimationState(), g !== p && p.captureAnimationState();
2147
2147
  }
2148
- function V(Kt) {
2148
+ function V(Jt) {
2149
2149
  return D("dragOverCompleted", {
2150
- insertion: Kt
2151
- }), Kt && (c ? u._hideClone() : u._showClone(g), g !== p && (et(h, k ? k.options.ghostClass : u.options.ghostClass, !1), et(h, a.ghostClass, !0)), k !== g && g !== v.active ? k = g : g === v.active && k && (k = null), p === g && (g._ignoreWhileAnimating = i), g.animateAll(function() {
2150
+ insertion: Jt
2151
+ }), Jt && (c ? d._hideClone() : d._showClone(g), g !== p && (nt(h, k ? k.options.ghostClass : d.options.ghostClass, !1), nt(h, a.ghostClass, !0)), k !== g && g !== v.active ? k = g : g === v.active && k && (k = null), p === g && (g._ignoreWhileAnimating = i), g.animateAll(function() {
2152
2152
  D("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[it]._isOutsideThisEl(t.target), !Kt && Ot(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
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[Q]._isOutsideThisEl(t.target), !Jt && Rt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), y = !0;
2154
2154
  }
2155
- function tt() {
2156
- nt = ot(h), xt = ot(h, a.draggable), W({
2155
+ function et() {
2156
+ it = ot(h), xt = ot(h, a.draggable), G({
2157
2157
  sortable: g,
2158
2158
  name: "change",
2159
2159
  toEl: n,
2160
- newIndex: nt,
2160
+ newIndex: it,
2161
2161
  newDraggableIndex: xt,
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), D("dragOver"), v.eventCanceled) return y;
2165
+ if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), i = dt(i, a.draggable, n, !0), D("dragOver"), v.eventCanceled) return y;
2166
2166
  if (h.contains(t.target) || i.animated && i.animatingX && i.animatingY || g._ignoreWhileAnimating === i)
2167
2167
  return V(!1);
2168
- if (Ue = !1, u && !a.disabled && (c ? d || (s = M !== R) : k === this || (this.lastPutMode = Se.checkPull(this, u, h, t)) && l.checkPut(this, u, h, t))) {
2168
+ if (Le = !1, d && !a.disabled && (c ? u || (s = M !== O) : k === this || (this.lastPutMode = xe.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2169
2169
  if (f = this._getDirection(t, i) === "vertical", o = H(h), D("dragOverValid"), v.eventCanceled) return y;
2170
2170
  if (s)
2171
- return M = R, U(), this._hideClone(), D("revert"), v.eventCanceled || (Mt ? R.insertBefore(h, Mt) : R.appendChild(h)), V(!0);
2172
- var Y = Xn(n, a.draggable);
2173
- if (!Y || ys(t, f, this) && !Y.animated) {
2174
- if (Y === h)
2171
+ return M = O, U(), this._hideClone(), D("revert"), v.eventCanceled || (Mt ? O.insertBefore(h, Mt) : O.appendChild(h)), V(!0);
2172
+ var W = qn(n, a.draggable);
2173
+ if (!W || bs(t, f, this) && !W.animated) {
2174
+ if (W === h)
2175
2175
  return V(!1);
2176
- if (Y && n === t.target && (i = Y), i && (r = H(i)), Ae(R, n, h, o, i, r, t, !!i) !== !1)
2177
- return U(), Y && Y.nextSibling ? n.insertBefore(h, Y.nextSibling) : n.appendChild(h), M = n, tt(), V(!0);
2178
- } else if (Y && ms(t, f, this)) {
2176
+ if (W && n === t.target && (i = W), i && (r = H(i)), _e(O, n, h, o, i, r, t, !!i) !== !1)
2177
+ return U(), W && W.nextSibling ? n.insertBefore(h, W.nextSibling) : n.appendChild(h), M = n, et(), V(!0);
2178
+ } else if (W && ys(t, f, this)) {
2179
2179
  var st = Xt(n, 0, a, !0);
2180
2180
  if (st === h)
2181
2181
  return V(!1);
2182
- if (i = st, r = H(i), Ae(R, n, h, o, i, r, t, !1) !== !1)
2183
- return U(), n.insertBefore(h, st), M = n, tt(), V(!0);
2182
+ if (i = st, r = H(i), _e(O, n, h, o, i, r, t, !1) !== !1)
2183
+ return U(), n.insertBefore(h, st), M = n, et(), V(!0);
2184
2184
  } else if (i.parentNode === n) {
2185
2185
  r = H(i);
2186
- var A = 0, z, at = h.parentNode !== n, X = !cs(h.animated && h.toRect || o, i.animated && i.toRect || r, f), Wt = f ? "top" : "left", vt = pi(i, "top", "top") || pi(h, "top", "top"), Gt = vt ? vt.scrollTop : void 0;
2187
- Lt !== i && (z = r[Wt], ce = !1, $e = !X && a.invertSwap || at), A = bs(t, i, r, f, X ? 1 : a.swapThreshold, a.invertedSwapThreshold == null ? a.swapThreshold : a.invertedSwapThreshold, $e, Lt === i);
2186
+ var A = 0, z, at = h.parentNode !== n, X = !hs(h.animated && h.toRect || o, i.animated && i.toRect || r, f), Yt = f ? "top" : "left", vt = fi(i, "top", "top") || fi(h, "top", "top"), Wt = vt ? vt.scrollTop : void 0;
2187
+ Lt !== i && (z = r[Yt], ue = !1, Se = !X && a.invertSwap || at), A = vs(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
2190
  var Tt = ot(h);
@@ -2195,11 +2195,11 @@ v.prototype = /** @lends Sortable.prototype */
2195
2195
  if (A === 0 || ht === i)
2196
2196
  return V(!1);
2197
2197
  Lt = i, de = A;
2198
- var Jt = i.nextElementSibling, wt = !1;
2198
+ var Gt = i.nextElementSibling, wt = !1;
2199
2199
  wt = A === 1;
2200
- var xe = Ae(R, n, h, o, i, r, t, wt);
2201
- if (xe !== !1)
2202
- return (xe === 1 || xe === -1) && (wt = xe === 1), On = !0, setTimeout(gs, 30), U(), wt && !Jt ? n.appendChild(h) : i.parentNode.insertBefore(h, wt ? Jt : i), vt && Gi(vt, 0, Gt - vt.scrollTop), M = h.parentNode, z !== void 0 && !$e && (Re = Math.abs(z - H(i)[Wt])), tt(), V(!0);
2200
+ var Ee = _e(O, n, h, o, i, r, t, wt);
2201
+ if (Ee !== !1)
2202
+ return (Ee === 1 || Ee === -1) && (wt = Ee === 1), Rn = !0, setTimeout(ms, 30), U(), wt && !Gt ? n.appendChild(h) : i.parentNode.insertBefore(h, wt ? Gt : i), vt && Ki(vt, 0, Wt - vt.scrollTop), M = h.parentNode, z !== void 0 && !Se && (De = Math.abs(z - H(i)[Yt])), et(), V(!0);
2203
2203
  }
2204
2204
  if (n.contains(h))
2205
2205
  return V(!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", Ot), S(document, "mousemove", Ot), S(document, "touchmove", Ot);
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);
2212
2212
  },
2213
2213
  _offUpEvents: function() {
2214
2214
  var t = this.el.ownerDocument;
@@ -2216,52 +2216,52 @@ v.prototype = /** @lends Sortable.prototype */
2216
2216
  },
2217
2217
  _onDrop: function(t) {
2218
2218
  var n = this.el, i = this.options;
2219
- if (nt = ot(h), xt = ot(h, i.draggable), G("drop", this, {
2219
+ if (it = ot(h), xt = ot(h, i.draggable), J("drop", this, {
2220
2220
  evt: t
2221
- }), M = h && h.parentNode, nt = ot(h), xt = ot(h, i.draggable), v.eventCanceled) {
2221
+ }), M = h && h.parentNode, it = ot(h), xt = ot(h, i.draggable), v.eventCanceled) {
2222
2222
  this._nulling();
2223
2223
  return;
2224
2224
  }
2225
- kt = !1, $e = !1, ce = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Mn(this.cloneId), Mn(this._dragStartId), this.nativeDraggable && (S(document, "drop", this), S(n, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), ae && b(document.body, "user-select", ""), b(h, "transform", ""), t && (ne && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), w && w.parentNode && w.parentNode.removeChild(w), (R === M || k && k.lastPutMode !== "clone") && O && O.parentNode && O.parentNode.removeChild(O), h && (this.nativeDraggable && S(h, "dragend", this), An(h), h.style["will-change"] = "", ne && !kt && et(h, k ? k.options.ghostClass : this.options.ghostClass, !1), et(h, this.options.chosenClass, !1), W({
2225
+ kt = !1, Se = !1, ue = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Mn(this.cloneId), Mn(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), (O === M || k && k.lastPutMode !== "clone") && R && R.parentNode && R.parentNode.removeChild(R), h && (this.nativeDraggable && S(h, "dragend", this), An(h), h.style["will-change"] = "", ee && !kt && nt(h, k ? k.options.ghostClass : this.options.ghostClass, !1), nt(h, this.options.chosenClass, !1), G({
2226
2226
  sortable: this,
2227
2227
  name: "unchoose",
2228
2228
  toEl: M,
2229
2229
  newIndex: null,
2230
2230
  newDraggableIndex: null,
2231
2231
  originalEvent: t
2232
- }), R !== M ? (nt >= 0 && (W({
2232
+ }), O !== M ? (it >= 0 && (G({
2233
2233
  rootEl: M,
2234
2234
  name: "add",
2235
2235
  toEl: M,
2236
- fromEl: R,
2236
+ fromEl: O,
2237
2237
  originalEvent: t
2238
- }), W({
2238
+ }), G({
2239
2239
  sortable: this,
2240
2240
  name: "remove",
2241
2241
  toEl: M,
2242
2242
  originalEvent: t
2243
- }), W({
2243
+ }), G({
2244
2244
  rootEl: M,
2245
2245
  name: "sort",
2246
2246
  toEl: M,
2247
- fromEl: R,
2247
+ fromEl: O,
2248
2248
  originalEvent: t
2249
- }), W({
2249
+ }), G({
2250
2250
  sortable: this,
2251
2251
  name: "sort",
2252
2252
  toEl: M,
2253
2253
  originalEvent: t
2254
- })), k && k.save()) : nt !== jt && nt >= 0 && (W({
2254
+ })), k && k.save()) : it !== jt && it >= 0 && (G({
2255
2255
  sortable: this,
2256
2256
  name: "update",
2257
2257
  toEl: M,
2258
2258
  originalEvent: t
2259
- }), W({
2259
+ }), G({
2260
2260
  sortable: this,
2261
2261
  name: "sort",
2262
2262
  toEl: M,
2263
2263
  originalEvent: t
2264
- })), v.active && ((nt == null || nt === -1) && (nt = jt, xt = ue), W({
2264
+ })), v.active && ((it == null || it === -1) && (it = jt, xt = le), G({
2265
2265
  sortable: this,
2266
2266
  name: "end",
2267
2267
  toEl: M,
@@ -2269,9 +2269,9 @@ v.prototype = /** @lends Sortable.prototype */
2269
2269
  }), this.save()))), this._nulling();
2270
2270
  },
2271
2271
  _nulling: function() {
2272
- G("nulling", this), R = h = M = w = Mt = O = De = St = Rt = lt = ne = nt = xt = jt = ue = Lt = de = k = Se = v.dragged = v.ghost = v.clone = v.active = null, Fe.forEach(function(t) {
2272
+ J("nulling", this), O = h = M = w = Mt = R = Pe = St = Ot = lt = ee = it = xt = jt = le = Lt = de = k = xe = v.dragged = v.ghost = v.clone = v.active = null, ke.forEach(function(t) {
2273
2273
  t.checked = !0;
2274
- }), Fe.length = Sn = $n = 0;
2274
+ }), ke.length = Sn = $n = 0;
2275
2275
  },
2276
2276
  handleEvent: function(t) {
2277
2277
  switch (t.type) {
@@ -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), fs(t));
2284
+ h && (this._onDragOver(t), gs(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) || ws(n));
2297
+ n = i[o], dt(n, s.draggable, this.el, !1) && t.push(n.getAttribute(s.dataIdAttr) || Es(n));
2298
2298
  return t;
2299
2299
  },
2300
2300
  /**
@@ -2305,7 +2305,7 @@ v.prototype = /** @lends Sortable.prototype */
2305
2305
  var i = {}, o = this.el;
2306
2306
  this.toArray().forEach(function(r, s) {
2307
2307
  var a = o.children[s];
2308
- ut(a, this.options.draggable, o, !1) && (i[r] = a);
2308
+ dt(a, this.options.draggable, o, !1) && (i[r] = a);
2309
2309
  }, this), n && this.captureAnimationState(), t.forEach(function(r) {
2310
2310
  i[r] && (o.removeChild(i[r]), o.appendChild(i[r]));
2311
2311
  }), n && this.animateAll();
@@ -2324,7 +2324,7 @@ v.prototype = /** @lends Sortable.prototype */
2324
2324
  * @returns {HTMLElement|null}
2325
2325
  */
2326
2326
  closest: function(t, n) {
2327
- return ut(t, n || this.options.draggable, this.el, !1);
2327
+ return dt(t, n || this.options.draggable, this.el, !1);
2328
2328
  },
2329
2329
  /**
2330
2330
  * Set/get option
@@ -2336,23 +2336,23 @@ v.prototype = /** @lends Sortable.prototype */
2336
2336
  var i = this.options;
2337
2337
  if (n === void 0)
2338
2338
  return i[t];
2339
- var o = Ee.modifyOption(this, t, n);
2340
- typeof o < "u" ? i[t] = o : i[t] = n, t === "group" && eo(i);
2339
+ var o = we.modifyOption(this, t, n);
2340
+ typeof o < "u" ? i[t] = o : i[t] = n, t === "group" && io(i);
2341
2341
  },
2342
2342
  /**
2343
2343
  * Destroy
2344
2344
  */
2345
2345
  destroy: function() {
2346
- G("destroy", this);
2346
+ J("destroy", this);
2347
2347
  var t = this.el;
2348
- t[it] = null, S(t, "mousedown", this._onTapStart), S(t, "touchstart", this._onTapStart), S(t, "pointerdown", this._onTapStart), this.nativeDraggable && (S(t, "dragover", this), S(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
2348
+ t[Q] = null, S(t, "mousedown", this._onTapStart), S(t, "touchstart", this._onTapStart), S(t, "pointerdown", this._onTapStart), this.nativeDraggable && (S(t, "dragover", this), S(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(n) {
2349
2349
  n.removeAttribute("draggable");
2350
- }), this._onDrop(), this._disableDelayedDragEvents(), ke.splice(ke.indexOf(this.el), 1), this.el = t = null;
2350
+ }), this._onDrop(), this._disableDelayedDragEvents(), Ue.splice(Ue.indexOf(this.el), 1), this.el = t = null;
2351
2351
  },
2352
2352
  _hideClone: function() {
2353
2353
  if (!St) {
2354
- if (G("hideClone", this), v.eventCanceled) return;
2355
- b(O, "display", "none"), this.options.removeCloneOnHide && O.parentNode && O.parentNode.removeChild(O), St = !0;
2354
+ if (J("hideClone", this), v.eventCanceled) return;
2355
+ b(R, "display", "none"), this.options.removeCloneOnHide && R.parentNode && R.parentNode.removeChild(R), St = !0;
2356
2356
  }
2357
2357
  },
2358
2358
  _showClone: function(t) {
@@ -2361,61 +2361,61 @@ v.prototype = /** @lends Sortable.prototype */
2361
2361
  return;
2362
2362
  }
2363
2363
  if (St) {
2364
- if (G("showClone", this), v.eventCanceled) return;
2365
- h.parentNode == R && !this.options.group.revertClone ? R.insertBefore(O, h) : Mt ? R.insertBefore(O, Mt) : R.appendChild(O), this.options.group.revertClone && this.animate(h, O), b(O, "display", ""), St = !1;
2364
+ if (J("showClone", this), v.eventCanceled) return;
2365
+ h.parentNode == O && !this.options.group.revertClone ? O.insertBefore(R, h) : Mt ? O.insertBefore(R, Mt) : O.appendChild(R), this.options.group.revertClone && this.animate(h, R), b(R, "display", ""), St = !1;
2366
2366
  }
2367
2367
  }
2368
2368
  };
2369
- function fs(e) {
2369
+ function gs(e) {
2370
2370
  e.dataTransfer && (e.dataTransfer.dropEffect = "move"), e.cancelable && e.preventDefault();
2371
2371
  }
2372
- function Ae(e, t, n, i, o, r, s, a) {
2373
- var l, u = e[it], c = u.options.onMove, d;
2374
- return window.CustomEvent && !bt && !we ? l = new CustomEvent("move", {
2372
+ function _e(e, t, n, i, o, r, s, a) {
2373
+ var l, d = e[Q], c = d.options.onMove, u;
2374
+ return window.CustomEvent && !bt && !ve ? l = new CustomEvent("move", {
2375
2375
  bubbles: !0,
2376
2376
  cancelable: !0
2377
- }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = e, l.dragged = n, l.draggedRect = i, l.related = o || t, l.relatedRect = r || H(t), l.willInsertAfter = a, l.originalEvent = s, e.dispatchEvent(l), c && (d = c.call(u, l, s)), d;
2377
+ }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = e, l.dragged = n, l.draggedRect = i, l.related = o || t, l.relatedRect = r || H(t), l.willInsertAfter = a, l.originalEvent = s, e.dispatchEvent(l), c && (u = c.call(d, l, s)), u;
2378
2378
  }
2379
2379
  function An(e) {
2380
2380
  e.draggable = !1;
2381
2381
  }
2382
- function gs() {
2383
- On = !1;
2382
+ function ms() {
2383
+ Rn = !1;
2384
2384
  }
2385
- function ms(e, t, n) {
2386
- var i = H(Xt(n.el, 0, n.options, !0)), o = Ki(n.el, n.options, w), r = 10;
2385
+ function ys(e, t, n) {
2386
+ var i = H(Xt(n.el, 0, n.options, !0)), o = to(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 ys(e, t, n) {
2390
- var i = H(Xn(n.el, n.options.draggable)), o = Ki(n.el, n.options, w), r = 10;
2389
+ function bs(e, t, n) {
2390
+ var i = H(qn(n.el, n.options.draggable)), o = to(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 bs(e, t, n, i, o, r, s, a) {
2394
- var l = i ? e.clientY : e.clientX, u = i ? n.height : n.width, c = i ? n.top : n.left, d = i ? n.bottom : n.right, p = !1;
2393
+ function vs(e, t, n, i, o, r, s, a) {
2394
+ var l = i ? e.clientY : e.clientX, d = i ? n.height : n.width, c = i ? n.top : n.left, u = i ? n.bottom : n.right, p = !1;
2395
2395
  if (!s) {
2396
- if (a && Re < u * o) {
2397
- if (!ce && (de === 1 ? l > c + u * r / 2 : l < d - u * r / 2) && (ce = !0), ce)
2396
+ if (a && De < d * o) {
2397
+ if (!ue && (de === 1 ? l > c + d * r / 2 : l < u - d * r / 2) && (ue = !0), ue)
2398
2398
  p = !0;
2399
- else if (de === 1 ? l < c + Re : l > d - Re)
2399
+ else if (de === 1 ? l < c + De : l > u - De)
2400
2400
  return -de;
2401
- } else if (l > c + u * (1 - o) / 2 && l < d - u * (1 - o) / 2)
2402
- return vs(t);
2401
+ } else if (l > c + d * (1 - o) / 2 && l < u - d * (1 - o) / 2)
2402
+ return ws(t);
2403
2403
  }
2404
- return p = p || s, p && (l < c + u * r / 2 || l > d - u * r / 2) ? l > c + u / 2 ? 1 : -1 : 0;
2404
+ return p = p || s, p && (l < c + d * r / 2 || l > u - d * r / 2) ? l > c + d / 2 ? 1 : -1 : 0;
2405
2405
  }
2406
- function vs(e) {
2406
+ function ws(e) {
2407
2407
  return ot(h) < ot(e) ? 1 : -1;
2408
2408
  }
2409
- function ws(e) {
2409
+ function Es(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 Es(e) {
2415
- Fe.length = 0;
2414
+ function xs(e) {
2415
+ ke.length = 0;
2416
2416
  for (var t = e.getElementsByTagName("input"), n = t.length; n--; ) {
2417
2417
  var i = t[n];
2418
- i.checked && Fe.push(i);
2418
+ i.checked && ke.push(i);
2419
2419
  }
2420
2420
  }
2421
2421
  function Oe(e) {
@@ -2431,23 +2431,24 @@ v.utils = {
2431
2431
  on: _,
2432
2432
  off: S,
2433
2433
  css: b,
2434
- find: Yi,
2434
+ find: Gi,
2435
2435
  is: function(t, n) {
2436
- return !!ut(t, n, t, !1);
2436
+ return !!dt(t, n, t, !1);
2437
2437
  },
2438
- extend: is,
2439
- throttle: Wi,
2440
- closest: ut,
2441
- toggleClass: et,
2442
- clone: Ji,
2438
+ extend: os,
2439
+ throttle: Ji,
2440
+ closest: dt,
2441
+ toggleClass: nt,
2442
+ clone: Qi,
2443
2443
  index: ot,
2444
2444
  nextTick: Oe,
2445
2445
  cancelNextTick: Mn,
2446
- detectDirection: to,
2447
- getChild: Xt
2446
+ detectDirection: no,
2447
+ getChild: Xt,
2448
+ expando: Q
2448
2449
  };
2449
2450
  v.get = function(e) {
2450
- return e[it];
2451
+ return e[Q];
2451
2452
  };
2452
2453
  v.mount = function() {
2453
2454
  for (var e = arguments.length, t = new Array(e), n = 0; n < e; n++)
@@ -2455,15 +2456,15 @@ v.mount = function() {
2455
2456
  t[0].constructor === Array && (t = t[0]), t.forEach(function(i) {
2456
2457
  if (!i.prototype || !i.prototype.constructor)
2457
2458
  throw "Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(i));
2458
- i.utils && (v.utils = ct(ct({}, v.utils), i.utils)), Ee.mount(i);
2459
+ i.utils && (v.utils = ct(ct({}, v.utils), i.utils)), we.mount(i);
2459
2460
  });
2460
2461
  };
2461
2462
  v.create = function(e, t) {
2462
2463
  return new v(e, t);
2463
2464
  };
2464
- v.version = ts;
2465
- var I = [], ie, Nn, In = !1, Cn, Tn, je, oe;
2466
- function xs() {
2465
+ v.version = ns;
2466
+ var I = [], ne, Nn, In = !1, Cn, Tn, Fe, ie;
2467
+ function Ss() {
2467
2468
  function e() {
2468
2469
  this.defaults = {
2469
2470
  scroll: !0,
@@ -2485,26 +2486,26 @@ function xs() {
2485
2486
  !this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
2486
2487
  },
2487
2488
  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)), bi(), Me(), os();
2489
+ this.sortable.nativeDraggable ? S(document, "dragover", this._handleAutoScroll) : (S(document, "pointermove", this._handleFallbackAutoScroll), S(document, "touchmove", this._handleFallbackAutoScroll), S(document, "mousemove", this._handleFallbackAutoScroll)), vi(), Re(), rs();
2489
2490
  },
2490
2491
  nulling: function() {
2491
- je = Nn = ie = In = oe = Cn = Tn = null, I.length = 0;
2492
+ Fe = Nn = ne = In = ie = Cn = Tn = null, I.length = 0;
2492
2493
  },
2493
2494
  _handleFallbackAutoScroll: function(n) {
2494
2495
  this._handleAutoScroll(n, !0);
2495
2496
  },
2496
2497
  _handleAutoScroll: function(n, i) {
2497
2498
  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
- if (je = n, i || this.options.forceAutoScrollFallback || we || bt || ae) {
2499
+ if (Fe = n, i || this.options.forceAutoScrollFallback || ve || bt || se) {
2499
2500
  Pn(n, this.options, a, i);
2500
2501
  var l = _t(a, !0);
2501
- In && (!oe || r !== Cn || s !== Tn) && (oe && bi(), oe = setInterval(function() {
2502
- var u = _t(document.elementFromPoint(r, s), !0);
2503
- u !== l && (l = u, Me()), Pn(n, o.options, u, i);
2502
+ In && (!ie || r !== Cn || s !== Tn) && (ie && vi(), ie = setInterval(function() {
2503
+ var d = _t(document.elementFromPoint(r, s), !0);
2504
+ d !== l && (l = d, Re()), Pn(n, o.options, d, i);
2504
2505
  }, 10), Cn = r, Tn = s);
2505
2506
  } else {
2506
- if (!this.options.bubbleScroll || _t(a, !0) === dt()) {
2507
- Me();
2507
+ if (!this.options.bubbleScroll || _t(a, !0) === ut()) {
2508
+ Re();
2508
2509
  return;
2509
2510
  }
2510
2511
  Pn(n, this.options, _t(a, !1), !1);
@@ -2515,51 +2516,51 @@ function xs() {
2515
2516
  initializeByDefault: !0
2516
2517
  });
2517
2518
  }
2518
- function Me() {
2519
+ function Re() {
2519
2520
  I.forEach(function(e) {
2520
2521
  clearInterval(e.pid);
2521
2522
  }), I = [];
2522
2523
  }
2523
- function bi() {
2524
- clearInterval(oe);
2524
+ function vi() {
2525
+ clearInterval(ie);
2525
2526
  }
2526
- var Pn = Wi(function(e, t, n, i) {
2527
+ var Pn = Ji(function(e, t, n, i) {
2527
2528
  if (t.scroll) {
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 = dt(), u = !1, c;
2529
- Nn !== n && (Nn = n, Me(), ie = t.scroll, c = t.scrollFn, ie === !0 && (ie = _t(n, !0)));
2530
- var d = 0, p = ie;
2529
+ var o = (e.touches ? e.touches[0] : e).clientX, r = (e.touches ? e.touches[0] : e).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = ut(), d = !1, c;
2530
+ Nn !== n && (Nn = n, Re(), ne = t.scroll, c = t.scrollFn, ne === !0 && (ne = _t(n, !0)));
2531
+ var u = 0, p = ne;
2531
2532
  do {
2532
- var f = p, g = H(f), y = g.top, D = g.bottom, U = g.left, V = g.right, tt = g.width, Y = g.height, st = void 0, A = void 0, z = f.scrollWidth, at = f.scrollHeight, X = b(f), Wt = f.scrollLeft, vt = f.scrollTop;
2533
- f === l ? (st = tt < z && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), A = Y < at && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (st = tt < z && (X.overflowX === "auto" || X.overflowX === "scroll"), A = Y < at && (X.overflowY === "auto" || X.overflowY === "scroll"));
2534
- var Gt = st && (Math.abs(V - o) <= s && Wt + tt < z) - (Math.abs(U - o) <= s && !!Wt), ht = A && (Math.abs(D - r) <= s && vt + Y < at) - (Math.abs(y - r) <= s && !!vt);
2535
- if (!I[d])
2536
- for (var Tt = 0; Tt <= d; Tt++)
2533
+ var f = p, g = H(f), y = g.top, D = g.bottom, U = g.left, V = g.right, et = g.width, W = g.height, st = void 0, A = void 0, z = f.scrollWidth, at = f.scrollHeight, X = b(f), Yt = f.scrollLeft, vt = f.scrollTop;
2534
+ f === l ? (st = et < z && (X.overflowX === "auto" || X.overflowX === "scroll" || X.overflowX === "visible"), A = W < at && (X.overflowY === "auto" || X.overflowY === "scroll" || X.overflowY === "visible")) : (st = et < z && (X.overflowX === "auto" || X.overflowX === "scroll"), A = W < at && (X.overflowY === "auto" || X.overflowY === "scroll"));
2535
+ var Wt = st && (Math.abs(V - o) <= s && Yt + et < z) - (Math.abs(U - o) <= s && !!Yt), ht = A && (Math.abs(D - r) <= s && vt + W < at) - (Math.abs(y - r) <= s && !!vt);
2536
+ if (!I[u])
2537
+ for (var Tt = 0; Tt <= u; Tt++)
2537
2538
  I[Tt] || (I[Tt] = {});
2538
- (I[d].vx != Gt || I[d].vy != ht || I[d].el !== f) && (I[d].el = f, I[d].vx = Gt, I[d].vy = ht, clearInterval(I[d].pid), (Gt != 0 || ht != 0) && (u = !0, I[d].pid = setInterval((function() {
2539
- i && this.layer === 0 && v.active._onTouchMove(je);
2540
- var Jt = I[this.layer].vy ? I[this.layer].vy * a : 0, wt = I[this.layer].vx ? I[this.layer].vx * a : 0;
2541
- typeof c == "function" && c.call(v.dragged.parentNode[it], wt, Jt, e, je, I[this.layer].el) !== "continue" || Gi(I[this.layer].el, wt, Jt);
2539
+ (I[u].vx != Wt || I[u].vy != ht || I[u].el !== f) && (I[u].el = f, I[u].vx = Wt, I[u].vy = ht, clearInterval(I[u].pid), (Wt != 0 || ht != 0) && (d = !0, I[u].pid = setInterval((function() {
2540
+ i && this.layer === 0 && v.active._onTouchMove(Fe);
2541
+ var Gt = I[this.layer].vy ? I[this.layer].vy * a : 0, wt = I[this.layer].vx ? I[this.layer].vx * a : 0;
2542
+ typeof c == "function" && c.call(v.dragged.parentNode[Q], wt, Gt, e, Fe, I[this.layer].el) !== "continue" || Ki(I[this.layer].el, wt, Gt);
2542
2543
  }).bind({
2543
- layer: d
2544
- }), 24))), d++;
2544
+ layer: u
2545
+ }), 24))), u++;
2545
2546
  } while (t.bubbleScroll && p !== l && (p = _t(p, !1)));
2546
- In = u;
2547
+ In = d;
2547
2548
  }
2548
- }, 30), oo = function(t) {
2549
+ }, 30), so = function(t) {
2549
2550
  var n = t.originalEvent, i = t.putSortable, o = t.dragEl, r = t.activeSortable, s = t.dispatchSortableEvent, a = t.hideGhostForTarget, l = t.unhideGhostForTarget;
2550
2551
  if (n) {
2551
- var u = i || r;
2552
+ var d = i || r;
2552
2553
  a();
2553
- var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, d = document.elementFromPoint(c.clientX, c.clientY);
2554
- l(), u && !u.el.contains(d) && (s("spill"), this.onSpill({
2554
+ var c = n.changedTouches && n.changedTouches.length ? n.changedTouches[0] : n, u = document.elementFromPoint(c.clientX, c.clientY);
2555
+ l(), d && !d.el.contains(u) && (s("spill"), this.onSpill({
2555
2556
  dragEl: o,
2556
2557
  putSortable: i
2557
2558
  }));
2558
2559
  }
2559
2560
  };
2560
- function qn() {
2561
+ function Yn() {
2561
2562
  }
2562
- qn.prototype = {
2563
+ Yn.prototype = {
2563
2564
  startIndex: null,
2564
2565
  dragStart: function(t) {
2565
2566
  var n = t.oldDraggableIndex;
@@ -2571,41 +2572,41 @@ qn.prototype = {
2571
2572
  var o = Xt(this.sortable.el, this.startIndex, this.options);
2572
2573
  o ? this.sortable.el.insertBefore(n, o) : this.sortable.el.appendChild(n), this.sortable.animateAll(), i && i.animateAll();
2573
2574
  },
2574
- drop: oo
2575
+ drop: so
2575
2576
  };
2576
- yt(qn, {
2577
+ yt(Yn, {
2577
2578
  pluginName: "revertOnSpill"
2578
2579
  });
2579
- function Yn() {
2580
+ function Wn() {
2580
2581
  }
2581
- Yn.prototype = {
2582
+ Wn.prototype = {
2582
2583
  onSpill: function(t) {
2583
2584
  var n = t.dragEl, i = t.putSortable, o = i || this.sortable;
2584
2585
  o.captureAnimationState(), n.parentNode && n.parentNode.removeChild(n), o.animateAll();
2585
2586
  },
2586
- drop: oo
2587
+ drop: so
2587
2588
  };
2588
- yt(Yn, {
2589
+ yt(Wn, {
2589
2590
  pluginName: "removeOnSpill"
2590
2591
  });
2591
- v.mount(new xs());
2592
- v.mount(Yn, qn);
2593
- const Ss = (e) => {
2592
+ v.mount(new Ss());
2593
+ v.mount(Wn, Yn);
2594
+ const $s = (e) => {
2594
2595
  const t = e.item;
2595
2596
  let n = Array.prototype.slice.call(t.parentNode.childNodes);
2596
2597
  return n = n.filter(
2597
2598
  (i) => i.nodeType != Node.ELEMENT_NODE || !i.classList.contains("sortable-fallback")
2598
2599
  ), n;
2599
- }, $s = (e, t, n, i, o, r) => {
2600
+ }, _s = (e, t, n, i, o, r) => {
2600
2601
  const a = e.item.parentNode;
2601
2602
  for (const y of n)
2602
2603
  a.appendChild(y);
2603
2604
  if (e.oldIndex == e.newIndex) return;
2604
- const l = i.getArray(), u = (
2605
+ const l = i.getArray(), d = (
2605
2606
  /** @type {Element & {layer: import("ol/layer").Layer}} */
2606
2607
  e.item.querySelector("eox-layercontrol-layer").layer.get(o)
2607
- ), c = l.find((y) => y.get(o) === u), d = r.dataset.layer, p = l.find(
2608
- (y) => y.get(o) == d
2608
+ ), c = l.find((y) => y.get(o) === d), u = r.dataset.layer, p = l.find(
2609
+ (y) => y.get(o) == u
2609
2610
  );
2610
2611
  let f, g;
2611
2612
  for (f = 0; f < l.length; f++)
@@ -2620,7 +2621,7 @@ const Ss = (e) => {
2620
2621
  }
2621
2622
  t.requestUpdate();
2622
2623
  };
2623
- function _s(e, t, n, i) {
2624
+ function As(e, t, n, i) {
2624
2625
  let o = [], r = null;
2625
2626
  e._sortable = v.create(e, {
2626
2627
  handle: ".drag-handle",
@@ -2628,14 +2629,14 @@ function _s(e, t, n, i) {
2628
2629
  swapThreshold: 0.5,
2629
2630
  animation: 150,
2630
2631
  easing: "cubic-bezier(1, 0, 0, 1)",
2631
- onStart: (s) => o = Ss(s),
2632
+ onStart: (s) => o = $s(s),
2632
2633
  onMove: (s) => {
2633
2634
  r = s.related;
2634
2635
  },
2635
- onEnd: (s) => $s(s, i, o, t, n, r)
2636
+ onEnd: (s) => _s(s, i, o, t, n, r)
2636
2637
  });
2637
2638
  }
2638
- function As(e, t, n, i) {
2639
+ function Cs(e, t, n, i) {
2639
2640
  const o = e.getArray();
2640
2641
  let r = !1;
2641
2642
  o.forEach((s) => {
@@ -2643,46 +2644,46 @@ function As(e, t, n, i) {
2643
2644
  s.get(t) || (s.set(t, a), r = !0), s.get(n) || (s.set(n, `layer ${a}`), r = !0), r && i.requestUpdate();
2644
2645
  });
2645
2646
  }
2646
- function Wn(e, t, n) {
2647
+ function Gn(e, t, n) {
2647
2648
  let i = [];
2648
2649
  const o = (r, s, a) => {
2649
2650
  i = [
2650
2651
  ...i,
2651
- ...r.filter((u) => u.get(s) === a)
2652
+ ...r.filter((d) => d.get(s) === a)
2652
2653
  ];
2653
2654
  const l = r.filter(
2654
- (u) => (
2655
+ (d) => (
2655
2656
  /** @type {import("ol/layer").Group} */
2656
- u.getLayers
2657
+ d.getLayers
2657
2658
  )
2658
2659
  );
2659
2660
  return l.length > 0 && l.forEach(
2660
- (u) => (
2661
+ (d) => (
2661
2662
  // @ts-ignore
2662
- o(u.getLayers().getArray(), s, a)
2663
+ o(d.getLayers().getArray(), s, a)
2663
2664
  )
2664
2665
  ), i;
2665
2666
  };
2666
2667
  return o(e, t, n), i;
2667
2668
  }
2668
- function Cs(e, t, n) {
2669
+ function Ts(e, t, n) {
2669
2670
  if (!e || !t) return !1;
2670
- if (!ro(e, n)) return !0;
2671
+ if (!ao(e, n)) return !0;
2671
2672
  const i = e.get("minZoom"), o = e.get("maxZoom"), r = t.getView().getZoom();
2672
2673
  return r > i && r < o;
2673
2674
  }
2674
- function ro(e, t) {
2675
+ function ao(e, t) {
2675
2676
  const n = e.get("minZoom"), i = e.get("maxZoom");
2676
2677
  return !!(t && (n !== -1 / 0 || i !== 1 / 0));
2677
2678
  }
2678
- function Ts(e, t) {
2679
+ function Ps(e, t) {
2679
2680
  var o, r, s;
2680
2681
  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
2682
  // @ts-ignore
2682
2683
  e.getSource ? (r = e.getSource()) == null ? void 0 : r.ol_uid : void 0
2683
2684
  )) ? "draw" : e.declutter_ !== void 0 ? "vector" : "raster";
2684
2685
  }
2685
- function so(e, t) {
2686
+ function lo(e, t) {
2686
2687
  var i;
2687
2688
  let n = {};
2688
2689
  for (const o in e) {
@@ -2690,7 +2691,7 @@ function so(e, t) {
2690
2691
  if (r && r !== "object")
2691
2692
  n[o] = r === "number" ? Number(t[o]) : t[o];
2692
2693
  else if (typeof e[o] == "object" && ((i = e[o]) != null && i.properties)) {
2693
- const s = so(
2694
+ const s = lo(
2694
2695
  e[o].properties,
2695
2696
  t
2696
2697
  );
@@ -2699,8 +2700,8 @@ function so(e, t) {
2699
2700
  }
2700
2701
  return n;
2701
2702
  }
2702
- function Ps(e, t) {
2703
- var r, s, a, l, u;
2703
+ function Ds(e, t) {
2704
+ var r, s, a, l, d;
2704
2705
  if (!t) return null;
2705
2706
  let n = {}, i = "updateStyleVariables" in e ? (
2706
2707
  /** @type {import("ol/layer/WebGLTile").default} */
@@ -2712,20 +2713,20 @@ function Ps(e, t) {
2712
2713
  const c = new URL(e.getSource().getTileUrlFunction()([0, 0, 0]));
2713
2714
  n = Object.fromEntries(c.searchParams.entries());
2714
2715
  } else return null;
2715
- const o = so(
2716
- ((u = t.schema) == null ? void 0 : u.properties) || t.schema,
2716
+ const o = lo(
2717
+ ((d = t.schema) == null ? void 0 : d.properties) || t.schema,
2717
2718
  n
2718
2719
  );
2719
2720
  return Object.keys(o).length ? o : null;
2720
2721
  }
2721
- const Ds = (e, t) => e == null ? void 0 : e.filter(
2722
+ const Os = (e, t) => e == null ? void 0 : e.filter(
2722
2723
  (n) => ["remove", "sort"].filter((i) => t != null && t.get("layerControlDisable") ? i !== "sort" : !0).includes(n)
2723
2724
  ), Rs = (e, t) => e == null ? void 0 : e.filter((n) => {
2724
2725
  let i = !0;
2725
2726
  return ["remove", "sort"].includes(n) && (i = !1), n === "info" && (i = t.get("description")), n === "config" && (i = t.get("layerConfig")), n === "datetime" && (i = t.get("layerDatetime")), i;
2726
- }), Os = (e, t) => E`
2727
+ }), Ms = (e, t) => E`
2727
2728
  <button slot="${e}-icon" class="icon">${t ? e : C}</button>
2728
- `, Ms = (e) => E`
2729
+ `, Ns = (e) => E`
2729
2730
  <button
2730
2731
  class="remove-icon icon"
2731
2732
  @click=${() => {
@@ -2740,11 +2741,11 @@ const Ds = (e, t) => e == null ? void 0 : e.filter(
2740
2741
  >
2741
2742
  ${e.unstyled ? "x" : C}
2742
2743
  </button>
2743
- `, Ns = (e) => E`
2744
+ `, Is = (e) => E`
2744
2745
  <span class="button sort-icon icon drag-handle">
2745
2746
  ${e ? "═" : C}
2746
2747
  </span>
2747
- `, ao = (e) => {
2748
+ `, uo = (e) => {
2748
2749
  var n;
2749
2750
  const t = ["layerControlHide", "layerControlOptional"];
2750
2751
  return (n = e == null ? void 0 : e.getArray()) == null ? void 0 : n.filter((i) => t.every((o) => !i.get(o)));
@@ -2754,10 +2755,10 @@ const Ds = (e, t) => e == null ? void 0 : e.filter(
2754
2755
  * Copyright 2020 Google LLC
2755
2756
  * SPDX-License-Identifier: BSD-3-Clause
2756
2757
  */
2757
- const lo = Fn(class extends jn {
2758
+ const co = jn(class extends Zn {
2758
2759
  constructor(e) {
2759
2760
  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 (!Ko(e)) throw Error("`live` bindings can only contain a single expression");
2761
+ if (!tr(e)) throw Error("`live` bindings can only contain a single expression");
2761
2762
  }
2762
2763
  render(e) {
2763
2764
  return e;
@@ -2770,7 +2771,7 @@ const lo = Fn(class extends jn {
2770
2771
  } else if (e.type === Et.BOOLEAN_ATTRIBUTE) {
2771
2772
  if (!!t === n.hasAttribute(i)) return rt;
2772
2773
  } else if (e.type === Et.ATTRIBUTE && n.getAttribute(i) === t + "") return rt;
2773
- return Hi(e), t;
2774
+ return Bi(e), t;
2774
2775
  }
2775
2776
  });
2776
2777
  /**
@@ -2778,7 +2779,7 @@ const lo = Fn(class extends jn {
2778
2779
  * Copyright 2017 Google LLC
2779
2780
  * SPDX-License-Identifier: BSD-3-Clause
2780
2781
  */
2781
- class Hn extends jn {
2782
+ class Hn extends Zn {
2782
2783
  constructor(t) {
2783
2784
  if (super(t), this.it = C, t.type !== Et.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
2784
2785
  }
@@ -2793,50 +2794,50 @@ class Hn extends jn {
2793
2794
  }
2794
2795
  }
2795
2796
  Hn.directiveName = "unsafeHTML", Hn.resultType = 1;
2796
- const Is = Fn(Hn);
2797
+ const Hs = jn(Hn);
2797
2798
  /**
2798
2799
  * @license
2799
2800
  * Copyright 2021 Google LLC
2800
2801
  * SPDX-License-Identifier: BSD-3-Clause
2801
2802
  */
2802
- function* Ne(e, t) {
2803
+ function* Me(e, t) {
2803
2804
  if (e !== void 0) {
2804
2805
  let n = 0;
2805
2806
  for (const i of e) yield t(i, n++);
2806
2807
  }
2807
2808
  }
2808
- const Hs = (e, t, n) => {
2809
+ const Bs = (e, t, n) => {
2809
2810
  let i = t;
2810
2811
  return n.layer.getSource().getTileUrlFunction() && (i || (i = n.layer.getSource().getTileUrlFunction()), n.layer.getSource().setTileUrlFunction(
2811
- (...o) => Gr(i(...o), e)
2812
+ (...o) => Kr(i(...o), e)
2812
2813
  ), n.layer.getSource().setKey(/* @__PURE__ */ new Date())), i;
2813
2814
  };
2814
- function Bs(e, t, n) {
2815
+ function Vs(e, t, n) {
2815
2816
  const i = "updateStyleVariables" in t, o = "setStyle" in t, r = i ? (
2816
2817
  /** @type {import('ol/layer/WebGLTile').default} */
2817
2818
  t.style_
2818
2819
  ) : n.style;
2819
2820
  let s = r == null ? void 0 : r.variables;
2820
2821
  if (s) {
2821
- const a = uo(e);
2822
+ const a = ho(e);
2822
2823
  if (r.variables = {
2823
2824
  ...s,
2824
2825
  ...a
2825
2826
  }, i)
2826
2827
  t.updateStyleVariables(a);
2827
2828
  else if (o) {
2828
- const l = Vs(r);
2829
+ const l = Ls(r);
2829
2830
  t.setStyle(
2830
2831
  l
2831
2832
  );
2832
2833
  }
2833
2834
  }
2834
2835
  }
2835
- const uo = (e) => {
2836
+ const ho = (e) => {
2836
2837
  const t = {};
2837
2838
  for (const n in e)
2838
2839
  if (typeof e[n] == "object" && e[n] !== null) {
2839
- const i = uo(
2840
+ const i = ho(
2840
2841
  /** @type {Record<string,any>} */
2841
2842
  e[n]
2842
2843
  );
@@ -2846,7 +2847,7 @@ const uo = (e) => {
2846
2847
  t[n] = e == null ? void 0 : e[n];
2847
2848
  return t;
2848
2849
  };
2849
- function Vs(e) {
2850
+ function Ls(e) {
2850
2851
  let t = e;
2851
2852
  if ("variables" in e) {
2852
2853
  let n = JSON.stringify(e);
@@ -2860,32 +2861,32 @@ function Vs(e) {
2860
2861
  }
2861
2862
  return t;
2862
2863
  }
2863
- var Ce = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2864
- function Ls(e) {
2864
+ var Ae = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2865
+ function Us(e) {
2865
2866
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
2866
2867
  }
2867
- var Us = "Expected a function", vi = NaN, ks = "[object Symbol]", Fs = /^\s+|\s+$/g, js = /^[-+]0x[0-9a-f]+$/i, Zs = /^0b[01]+$/i, zs = /^0o[0-7]+$/i, Xs = parseInt, qs = typeof Ce == "object" && Ce && Ce.Object === Object && Ce, Ys = typeof self == "object" && self && self.Object === Object && self, Ws = qs || Ys || Function("return this")(), Gs = Object.prototype, Js = Gs.toString, Ks = Math.max, Qs = Math.min, Dn = function() {
2868
- return Ws.Date.now();
2868
+ var ks = "Expected a function", wi = NaN, Fs = "[object Symbol]", js = /^\s+|\s+$/g, Zs = /^[-+]0x[0-9a-f]+$/i, zs = /^0b[01]+$/i, Xs = /^0o[0-7]+$/i, qs = parseInt, Ys = typeof Ae == "object" && Ae && Ae.Object === Object && Ae, Ws = typeof self == "object" && self && self.Object === Object && self, Gs = Ys || Ws || Function("return this")(), Js = Object.prototype, Ks = Js.toString, Qs = Math.max, ta = Math.min, Dn = function() {
2869
+ return Gs.Date.now();
2869
2870
  };
2870
- function ta(e, t, n) {
2871
- var i, o, r, s, a, l, u = 0, c = !1, d = !1, p = !0;
2871
+ function ea(e, t, n) {
2872
+ var i, o, r, s, a, l, d = 0, c = !1, u = !1, p = !0;
2872
2873
  if (typeof e != "function")
2873
- throw new TypeError(Us);
2874
- t = wi(t) || 0, Bn(n) && (c = !!n.leading, d = "maxWait" in n, r = d ? Ks(wi(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
2874
+ throw new TypeError(ks);
2875
+ t = Ei(t) || 0, Bn(n) && (c = !!n.leading, u = "maxWait" in n, r = u ? Qs(Ei(n.maxWait) || 0, t) : r, p = "trailing" in n ? !!n.trailing : p);
2875
2876
  function f(A) {
2876
2877
  var z = i, at = o;
2877
- return i = o = void 0, u = A, s = e.apply(at, z), s;
2878
+ return i = o = void 0, d = A, s = e.apply(at, z), s;
2878
2879
  }
2879
2880
  function g(A) {
2880
- return u = A, a = setTimeout(U, t), c ? f(A) : s;
2881
+ return d = A, a = setTimeout(U, t), c ? f(A) : s;
2881
2882
  }
2882
2883
  function y(A) {
2883
- var z = A - l, at = A - u, X = t - z;
2884
- return d ? Qs(X, r - at) : X;
2884
+ var z = A - l, at = A - d, X = t - z;
2885
+ return u ? ta(X, r - at) : X;
2885
2886
  }
2886
2887
  function D(A) {
2887
- var z = A - l, at = A - u;
2888
- return l === void 0 || z >= t || z < 0 || d && at >= r;
2888
+ var z = A - l, at = A - d;
2889
+ return l === void 0 || z >= t || z < 0 || u && at >= r;
2889
2890
  }
2890
2891
  function U() {
2891
2892
  var A = Dn();
@@ -2896,10 +2897,10 @@ function ta(e, t, n) {
2896
2897
  function V(A) {
2897
2898
  return a = void 0, p && i ? f(A) : (i = o = void 0, s);
2898
2899
  }
2899
- function tt() {
2900
- a !== void 0 && clearTimeout(a), u = 0, i = l = o = a = void 0;
2900
+ function et() {
2901
+ a !== void 0 && clearTimeout(a), d = 0, i = l = o = a = void 0;
2901
2902
  }
2902
- function Y() {
2903
+ function W() {
2903
2904
  return a === void 0 ? s : V(Dn());
2904
2905
  }
2905
2906
  function st() {
@@ -2907,45 +2908,45 @@ function ta(e, t, n) {
2907
2908
  if (i = arguments, o = this, l = A, z) {
2908
2909
  if (a === void 0)
2909
2910
  return g(l);
2910
- if (d)
2911
+ if (u)
2911
2912
  return a = setTimeout(U, t), f(l);
2912
2913
  }
2913
2914
  return a === void 0 && (a = setTimeout(U, t)), s;
2914
2915
  }
2915
- return st.cancel = tt, st.flush = Y, st;
2916
+ return st.cancel = et, st.flush = W, st;
2916
2917
  }
2917
2918
  function Bn(e) {
2918
2919
  var t = typeof e;
2919
2920
  return !!e && (t == "object" || t == "function");
2920
2921
  }
2921
- function ea(e) {
2922
+ function na(e) {
2922
2923
  return !!e && typeof e == "object";
2923
2924
  }
2924
- function na(e) {
2925
- return typeof e == "symbol" || ea(e) && Js.call(e) == ks;
2925
+ function ia(e) {
2926
+ return typeof e == "symbol" || na(e) && Ks.call(e) == Fs;
2926
2927
  }
2927
- function wi(e) {
2928
+ function Ei(e) {
2928
2929
  if (typeof e == "number")
2929
2930
  return e;
2930
- if (na(e))
2931
- return vi;
2931
+ if (ia(e))
2932
+ return wi;
2932
2933
  if (Bn(e)) {
2933
2934
  var t = typeof e.valueOf == "function" ? e.valueOf() : e;
2934
2935
  e = Bn(t) ? t + "" : t;
2935
2936
  }
2936
2937
  if (typeof e != "string")
2937
2938
  return e === 0 ? e : +e;
2938
- e = e.replace(Fs, "");
2939
- var n = Zs.test(e);
2940
- return n || zs.test(e) ? Xs(e.slice(2), n ? 2 : 8) : js.test(e) ? vi : +e;
2941
- }
2942
- var ia = ta;
2943
- const co = /* @__PURE__ */ Ls(ia);
2944
- var zt, me, ye, Ze, po, ze, Xe;
2945
- class ho extends Q {
2939
+ e = e.replace(js, "");
2940
+ var n = zs.test(e);
2941
+ return n || Xs.test(e) ? qs(e.slice(2), n ? 2 : 8) : Zs.test(e) ? wi : +e;
2942
+ }
2943
+ var oa = ea;
2944
+ const po = /* @__PURE__ */ Us(oa);
2945
+ var zt, ge, me, je, go, Ze, ze;
2946
+ class fo extends tt {
2946
2947
  constructor() {
2947
2948
  super();
2948
- T(this, Ze);
2949
+ T(this, je);
2949
2950
  /**
2950
2951
  * data input by the user
2951
2952
  *
@@ -2957,16 +2958,16 @@ class ho extends Q {
2957
2958
  *
2958
2959
  * @type {{[key: string]: any}}
2959
2960
  */
2960
- T(this, me, null);
2961
+ T(this, ge, null);
2961
2962
  /**
2962
2963
  * Original tile url function, if it exist
2963
2964
  *
2964
2965
  * @type {Function}
2965
2966
  */
2966
- T(this, ye);
2967
+ T(this, me);
2968
+ T(this, Ze, "");
2967
2969
  T(this, ze, "");
2968
- T(this, Xe, "");
2969
- this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange = co(B(this, Ze, po), 1e3, {
2970
+ this.layer = null, this.unstyled = !1, this.noShadow = !1, this.layerConfig = null, this.debouncedDataChange = po(B(this, je, go), 1e3, {
2970
2971
  leading: !0
2971
2972
  });
2972
2973
  }
@@ -2980,7 +2981,7 @@ class ho extends Q {
2980
2981
  * Renders a JSON form for configuration options of a layer.
2981
2982
  */
2982
2983
  render() {
2983
- Qt(this, me, Ps(this.layer, this.layerConfig)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
2984
+ Kt(this, ge, Ds(this.layer, this.layerConfig)), customElements.get("eox-jsonform") || console.error("Please import @eox/jsonform in order to use layerconfig");
2984
2985
  const n = {
2985
2986
  disable_edit_json: !0,
2986
2987
  disable_collapse: !0,
@@ -2988,16 +2989,16 @@ class ho extends Q {
2988
2989
  };
2989
2990
  return E`
2990
2991
  <style>
2991
- ${P(this, ze)}
2992
- ${!this.unstyled && P(this, Xe)}
2992
+ ${P(this, Ze)}
2993
+ ${!this.unstyled && P(this, ze)}
2993
2994
  </style>
2994
- ${K(
2995
+ ${Y(
2995
2996
  this.layerConfig,
2996
2997
  () => E`
2997
2998
  <!-- Render a JSON form for layer configuration -->
2998
2999
  <eox-jsonform
2999
3000
  .schema=${this.layerConfig.schema}
3000
- .value=${P(this, me)}
3001
+ .value=${P(this, ge)}
3001
3002
  .options=${n}
3002
3003
  @change=${this.debouncedDataChange}
3003
3004
  ></eox-jsonform>
@@ -3006,21 +3007,21 @@ class ho extends Q {
3006
3007
  `;
3007
3008
  }
3008
3009
  }
3009
- zt = new WeakMap(), me = new WeakMap(), ye = new WeakMap(), Ze = new WeakSet(), /**
3010
+ zt = new WeakMap(), ge = new WeakMap(), me = new WeakMap(), je = new WeakSet(), /**
3010
3011
  * Handles changes in eox-jsonform values.
3011
3012
  *
3012
3013
  * @param {{ detail: { value: string; }; }} e
3013
3014
  */
3014
- po = function(n) {
3015
- Qt(this, zt, n.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Bs(P(this, zt), this.layer, this.layerConfig) : console.error(
3015
+ go = function(n) {
3016
+ Kt(this, zt, n.detail), this.layerConfig.type === "style" || this.layerConfig.style ? "setStyle" in this.layer || "updateStyleVariables" in this.layer ? Vs(P(this, zt), this.layer, this.layerConfig) : console.error(
3016
3017
  `Layer type ${this.layer.get("type") ?? ""} does not support styles configuration`
3017
- ) : (Qt(this, ye, Hs(
3018
+ ) : (Kt(this, me, Bs(
3018
3019
  P(this, zt),
3019
- P(this, ye),
3020
+ P(this, me),
3020
3021
  this
3021
3022
  )), this.requestUpdate());
3022
- }, ze = new WeakMap(), Xe = new WeakMap(), // Define static properties for the component
3023
- N(ho, "properties", {
3023
+ }, Ze = new WeakMap(), ze = new WeakMap(), // Define static properties for the component
3024
+ N(fo, "properties", {
3024
3025
  layer: { attribute: !1 },
3025
3026
  unstyled: { type: Boolean },
3026
3027
  noShadow: { type: Boolean },
@@ -3028,15 +3029,15 @@ N(ho, "properties", {
3028
3029
  });
3029
3030
  customElements.define(
3030
3031
  "eox-layercontrol-layerconfig",
3031
- ho
3032
+ fo
3032
3033
  );
3033
- var qe, go, Ye, We;
3034
- class fo extends Q {
3034
+ var Xe, yo, qe, Ye;
3035
+ class mo extends tt {
3035
3036
  constructor() {
3036
3037
  super();
3037
- T(this, qe);
3038
+ T(this, Xe);
3039
+ T(this, qe, "");
3038
3040
  T(this, Ye, "");
3039
- T(this, We, "");
3040
3041
  this.unstyled = !1, this.noShadow = !1, this.layerDatetime = null, this.layer = null;
3041
3042
  }
3042
3043
  /**
@@ -3053,10 +3054,10 @@ class fo extends Q {
3053
3054
  "Please import @eox/timecontrol in order to use layerDatetime"
3054
3055
  ), E`
3055
3056
  <style>
3056
- ${P(this, Ye)}
3057
- ${!this.unstyled && P(this, We)}
3057
+ ${P(this, qe)}
3058
+ ${!this.unstyled && P(this, Ye)}
3058
3059
  </style>
3059
- ${K(
3060
+ ${Y(
3060
3061
  this.layerDatetime,
3061
3062
  () => E`
3062
3063
  <!-- Render a Timecontrol for layer date time -->
@@ -3069,20 +3070,20 @@ class fo extends Q {
3069
3070
  .controlValues=${this.layerDatetime.controlValues}
3070
3071
  .controlProperty=${void 0}
3071
3072
  current-step=${this.layerDatetime.currentStep}
3072
- @stepchange=${B(this, qe, go)}
3073
+ @stepchange=${B(this, Xe, yo)}
3073
3074
  ></eox-timecontrol>
3074
3075
  `
3075
3076
  )}
3076
3077
  `;
3077
3078
  }
3078
3079
  }
3079
- qe = new WeakSet(), /**
3080
+ Xe = new WeakSet(), /**
3080
3081
  * Handles timecontrol Stepchange &
3081
3082
  * triggers `datetime:updated` event on step change
3082
3083
  *
3083
3084
  * @param {CustomEvent<{currentStep:string|number}>} evt
3084
3085
  **/
3085
- go = function(n) {
3086
+ yo = function(n) {
3086
3087
  this.dispatchEvent(
3087
3088
  new CustomEvent("datetime:updated", {
3088
3089
  bubbles: !0,
@@ -3092,8 +3093,8 @@ go = function(n) {
3092
3093
  }
3093
3094
  })
3094
3095
  ), this.layerDatetime.currentStep = n.detail.currentStep, this.requestUpdate();
3095
- }, Ye = new WeakMap(), We = new WeakMap(), // Define static properties for the component
3096
- N(fo, "properties", {
3096
+ }, qe = new WeakMap(), Ye = new WeakMap(), // Define static properties for the component
3097
+ N(mo, "properties", {
3097
3098
  unstyled: { type: Boolean },
3098
3099
  noShadow: { type: Boolean },
3099
3100
  layerDatetime: { attribute: !1 },
@@ -3101,15 +3102,15 @@ N(fo, "properties", {
3101
3102
  });
3102
3103
  customElements.define(
3103
3104
  "eox-layercontrol-layer-datetime",
3104
- fo
3105
+ mo
3105
3106
  );
3106
- var be, Ge, Je;
3107
- class mo extends Q {
3107
+ var ye, We, Ge;
3108
+ class bo extends tt {
3108
3109
  constructor() {
3109
3110
  super();
3110
3111
  /** @param {number} index */
3111
- T(this, be, (n) => this.selectedTab === n && "highlighted");
3112
- T(this, Ge, `
3112
+ T(this, ye, (n) => (this.selectedTab === n || this.disableTabs) && "highlighted");
3113
+ T(this, We, `
3113
3114
  .tabbed figure {
3114
3115
  margin: 0;
3115
3116
  }
@@ -3130,7 +3131,12 @@ class mo extends Q {
3130
3131
  background: lightgrey;
3131
3132
  }
3132
3133
  `);
3133
- T(this, Je, `
3134
+ T(this, Ge, `
3135
+ .listed {
3136
+ background: #ffffff !important;
3137
+ display: flex;
3138
+ justify-content: end;
3139
+ }
3134
3140
  .tabbed {
3135
3141
  font-size: small;
3136
3142
  }
@@ -3152,7 +3158,7 @@ class mo extends Q {
3152
3158
  border-top: 1px solid #0041701a;
3153
3159
  }
3154
3160
  `);
3155
- this.actions = [], this.selectedTab = 0, this.tabs = [], this.unstyled = !1, this.noShadow = !1;
3161
+ this.actions = [], this.selectedTab = 0, this.tabs = [], this.unstyled = !1, this.noShadow = !1, this.disableTabs = !1;
3156
3162
  }
3157
3163
  /**
3158
3164
  * Overrides createRenderRoot to handle shadow DOM creation based on the noShadow property.
@@ -3168,51 +3174,65 @@ class mo extends Q {
3168
3174
  const n = this.tabs, i = this.actions, o = i.length + n.length > 1;
3169
3175
  return E`
3170
3176
  <style>
3171
- ${P(this, Ge)}
3172
- ${!this.unstyled && P(this, Je)}
3177
+ ${P(this, We)}
3178
+ ${!this.unstyled && P(this, Ge)}
3173
3179
  </style>
3174
3180
  <div class="tabbed">
3175
3181
  <!-- Navigation for tabs and actions -->
3176
- ${K(
3182
+ ${Y(
3177
3183
  o,
3178
3184
  () => E`
3179
3185
  <nav>
3180
- <div>
3181
- <!-- Labels for tabs -->
3182
- ${Ne(
3183
- n,
3184
- (r, s) => E`
3185
- <label
3186
- class=${P(this, be).call(this, s)}
3187
- @click=${() => this.selectedTab = s}
3188
- >
3189
- <!-- Customizable icon for each tab -->
3190
- <slot name=${`${r}-icon`}>${r}</slot>
3191
- </label>
3192
- `
3193
- )}
3194
- </div>
3195
- <div>
3196
- <!-- Icons for actions -->
3197
- ${Ne(
3198
- i,
3199
- (r) => E`
3200
- <span>
3201
- <!-- Customizable icon for each action -->
3202
- <slot name=${`${r}-icon`}>${r}</slot>
3203
- </span>
3204
- `
3186
+ ${Y(
3187
+ !this.disableTabs,
3188
+ () => E`
3189
+ <div>
3190
+ <!-- Labels for tabs -->
3191
+ ${Me(
3192
+ n,
3193
+ (r, s) => E`
3194
+ <label
3195
+ class=${P(this, ye).call(this, s)}
3196
+ @click=${() => this.selectedTab = s}
3197
+ >
3198
+ <!-- Customizable icon for each tab -->
3199
+ <slot name=${`${r}-icon`}>${r}</slot>
3200
+ </label>
3201
+ `
3202
+ )}
3203
+ </div>
3204
+ <div>
3205
+ <!-- Icons for actions -->
3206
+ ${Me(
3207
+ i,
3208
+ (r) => E`
3209
+ <span>
3210
+ <!-- Customizable icon for each action -->
3211
+ <slot name=${`${r}-icon`}>${r}</slot>
3212
+ </span>
3213
+ `
3214
+ )}
3215
+ </div>
3216
+ `
3205
3217
  )}
3206
- </div>
3207
3218
  </nav>
3208
3219
  `
3209
3220
  )}
3210
3221
  <figure>
3211
3222
  <!-- Content for each tab -->
3212
- ${Ne(
3223
+ ${Me(
3213
3224
  n,
3214
3225
  (r, s) => E`
3215
- <div class="tab ${P(this, be).call(this, s)}">
3226
+ ${Y(
3227
+ this.disableTabs,
3228
+ () => E`
3229
+ <label class="listed">
3230
+ <!-- Customizable icon for each tab -->
3231
+ <slot name=${`${r}-icon`}>${r}</slot>
3232
+ </label>
3233
+ `
3234
+ )}
3235
+ <div class="tab ${P(this, ye).call(this, s)}">
3216
3236
  <!-- Content slot for each tab -->
3217
3237
  <slot name=${`${r}-content`}>${r}</slot>
3218
3238
  </div>
@@ -3223,16 +3243,17 @@ class mo extends Q {
3223
3243
  `;
3224
3244
  }
3225
3245
  }
3226
- be = new WeakMap(), Ge = new WeakMap(), Je = new WeakMap(), // Define static properties for the component
3227
- N(mo, "properties", {
3246
+ ye = new WeakMap(), We = new WeakMap(), Ge = new WeakMap(), // Define static properties for the component
3247
+ N(bo, "properties", {
3228
3248
  actions: { attribute: !1 },
3229
3249
  selectedTab: { state: !0 },
3230
3250
  tabs: { attribute: !1 },
3231
3251
  unstyled: { type: Boolean },
3232
- noShadow: { type: Boolean }
3252
+ noShadow: { type: Boolean },
3253
+ disableTabs: { type: Boolean }
3233
3254
  });
3234
- customElements.define("eox-layercontrol-tabs", mo);
3235
- const oa = `
3255
+ customElements.define("eox-layercontrol-tools-items", bo);
3256
+ const ra = `
3236
3257
  button,
3237
3258
  .button {
3238
3259
  /* TODO: why does this only work here and not from :root? */
@@ -3356,7 +3377,7 @@ button.smallest.icon::before {
3356
3377
  width: 16px;
3357
3378
  padding: 0px;
3358
3379
  }
3359
- `, ra = `
3380
+ `, sa = `
3360
3381
  input[type=radio] {
3361
3382
  appearance: none;
3362
3383
  -webkit-appearance: none;
@@ -3384,7 +3405,7 @@ input[type=radio]:checked:after {
3384
3405
  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");
3385
3406
 
3386
3407
  }
3387
- `, yo = `
3408
+ `, vo = `
3388
3409
  input[type=checkbox] {
3389
3410
  appearance: none;
3390
3411
  -webkit-appearance: none;
@@ -3407,7 +3428,7 @@ input[type=checkbox]:checked:after {
3407
3428
  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");
3408
3429
 
3409
3430
  }
3410
- `, sa = `
3431
+ `, aa = `
3411
3432
  input[type="range"] {
3412
3433
  -webkit-appearance: none;
3413
3434
  width: 90%;
@@ -3485,14 +3506,14 @@ input::-moz-focus-inner, input::-moz-focus-outer {
3485
3506
  border: 0;
3486
3507
  }
3487
3508
  `;
3488
- var Ke, Qe;
3489
- class bo extends Q {
3509
+ var Je, Ke;
3510
+ class wo extends tt {
3490
3511
  constructor() {
3491
3512
  super();
3492
3513
  // Initializes '_removeButton' invoking 'removeButton' function with 'this' context.
3493
- N(this, "_removeButton", () => Ms(this));
3514
+ N(this, "_removeButton", () => Ns(this));
3494
3515
  // Initializes '_sortButton' invoking 'sortButton' function with 'unstyled' property as a parameter.
3495
- N(this, "_sortButton", () => Ns(this.unstyled));
3516
+ N(this, "_sortButton", () => Is(this.unstyled));
3496
3517
  /**
3497
3518
  * Initializes '_button' as a function accepting 'tool' parameter to generate a Button.
3498
3519
  * Uses 'this.unstyled' as a context parameter for Button generation.
@@ -3500,13 +3521,66 @@ class bo extends Q {
3500
3521
  * @param {string} tool - Tool parameter for Button generation.
3501
3522
  * @returns {import("lit").HTMLTemplateResult} - The generated Button element.
3502
3523
  */
3503
- N(this, "_button", (n) => Os(n, this.unstyled));
3504
- T(this, Ke, "");
3505
- T(this, Qe, `
3506
- ${oa}
3507
- ${ra}
3508
- ${yo}
3524
+ N(this, "_button", (n) => Ms(n, this.unstyled));
3525
+ N(this, "_getDefaultTools", () => {
3526
+ var n;
3527
+ return E`
3528
+ <div slot="info-content">
3529
+ ${Hs(this.layer.get("description"))}
3530
+ </div>
3531
+ <div slot="datetime-content">
3532
+ <!-- Layer datetime -->
3533
+ ${Y(
3534
+ this.layer.get("layerDatetime"),
3535
+ () => E`
3536
+ <eox-layercontrol-layer-datetime
3537
+ slot="datetime-content"
3538
+ .noShadow=${!0}
3539
+ .layerDatetime=${this.layer.get("layerDatetime")}
3540
+ .layer=${this.layer}
3541
+ .unstyled=${this.unstyled}
3542
+ @changed=${() => this.requestUpdate()}
3543
+ ></eox-layercontrol-layer-datetime>
3544
+ `
3545
+ )}
3546
+ </div>
3547
+ <div slot="opacity-content">
3548
+ <!-- Input for opacity -->
3549
+ <input
3550
+ type="range"
3551
+ min="0"
3552
+ max="1"
3553
+ step="0.01"
3554
+ value=${co((n = this.layer) == null ? void 0 : n.getOpacity())}
3555
+ @input=${(i) => this.layer.setOpacity(parseFloat(i.target.value))}
3556
+ />
3557
+ </div>
3558
+ <div slot="config-content">
3559
+ <!-- Layer configuration -->
3560
+ ${Y(
3561
+ this.layer.get("layerConfig"),
3562
+ () => E`
3563
+ <eox-layercontrol-layerconfig
3564
+ slot="config-content"
3565
+ .layer=${this.layer}
3566
+ .noShadow=${!0}
3567
+ .layerConfig=${this.layer.get("layerConfig")}
3568
+ .unstyled=${this.unstyled}
3569
+ @changed=${() => this.requestUpdate()}
3570
+ ></eox-layercontrol-layerconfig>
3571
+ `
3572
+ )}
3573
+ </div>
3574
+ <div slot="remove-icon">${this._removeButton()}</div>
3575
+ <div slot="sort-icon">${this._sortButton()}</div>
3576
+ `;
3577
+ });
3578
+ T(this, Je, "");
3579
+ T(this, Ke, `
3580
+ ${ra}
3509
3581
  ${sa}
3582
+ ${vo}
3583
+ ${aa}
3510
3584
  .drag-handle {
3511
3585
  cursor: n-resize;
3512
3586
  }
@@ -3541,21 +3615,27 @@ class bo extends Q {
3541
3615
  }
3542
3616
  .single-action,
3543
3617
  details.tools summary,
3544
- eox-layercontrol-tabs button.icon {
3618
+ eox-layercontrol-tools-items button.icon {
3545
3619
  transition: opacity .2s;
3546
3620
  }
3547
3621
  .single-action,
3548
3622
  details.tools summary {
3549
3623
  opacity: .5;
3550
3624
  }
3551
- eox-layercontrol-tabs button.icon {
3625
+ eox-layercontrol-tools-items button.icon {
3552
3626
  opacity: .7;
3553
3627
  }
3628
+ eox-layercontrol-tools-items.tools-list button.icon {
3629
+ cursor: auto;
3630
+ }
3554
3631
  .single-action:hover,
3555
3632
  details.tools summary:hover,
3556
- eox-layercontrol-tabs button.icon:hover {
3633
+ eox-layercontrol-tools-items button.icon:hover {
3557
3634
  opacity: 1;
3558
3635
  }
3636
+ eox-layercontrol-tools-items.tools-list button.icon:hover {
3637
+ opacity: .7;
3638
+ }
3559
3639
  .tools-placeholder,
3560
3640
  .single-action .icon,
3561
3641
  .single-action .icon::before,
@@ -3564,13 +3644,13 @@ class bo extends Q {
3564
3644
  height: 16px;
3565
3645
  width: 16px;
3566
3646
  }
3567
- eox-layercontrol-tabs button.icon,
3568
- eox-layercontrol-tabs .button.icon {
3647
+ eox-layercontrol-tools-items button.icon,
3648
+ eox-layercontrol-tools-items .button.icon {
3569
3649
  display: flex;
3570
3650
  justify-content: center;
3571
3651
  }
3572
- eox-layercontrol-tabs button.icon::before,
3573
- eox-layercontrol-tabs .button.icon::before {
3652
+ eox-layercontrol-tools-items button.icon::before,
3653
+ eox-layercontrol-tools-items .button.icon::before {
3574
3654
  width: 16px;
3575
3655
  height: 16px;
3576
3656
  }
@@ -3603,7 +3683,7 @@ class bo extends Q {
3603
3683
  padding: 12px 6px;
3604
3684
  }
3605
3685
  `);
3606
- this.layer = null, this.tools = [], this.unstyled = !1, this.noShadow = !1;
3686
+ this.layer = null, this.tools = [], this.unstyled = !1, this.noShadow = !1, this.disableTabs = !1;
3607
3687
  }
3608
3688
  /**
3609
3689
  * Overrides createRenderRoot to handle shadow DOM creation based on the noShadow property.
@@ -3613,28 +3693,26 @@ class bo extends Q {
3613
3693
  }
3614
3694
  render() {
3615
3695
  var l;
3616
- const n = Ds(this.tools, this.layer), i = Rs(this.tools, this.layer), o = this[`_${n == null ? void 0 : n[0]}Button`] ? (
3696
+ const n = Os(this.tools, this.layer), i = Rs(this.tools, this.layer), o = this[`_${n == null ? void 0 : n[0]}Button`] ? (
3617
3697
  // @ts-ignore
3618
3698
  this[`_${n == null ? void 0 : n[0]}Button`]()
3619
3699
  ) : 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;
3620
3700
  return E`
3621
3701
  <style>
3622
- ${P(this, Ke)}
3623
- ${!this.unstyled && P(this, Qe)}
3702
+ ${P(this, Je)}
3703
+ ${!this.unstyled && P(this, Ke)}
3624
3704
  </style>
3625
- ${K(
3705
+ ${Y(
3626
3706
  s + a > 0,
3627
3707
  () => E`
3628
- ${K(
3708
+ ${Y(
3629
3709
  s === 1 && a === 0,
3630
3710
  () => E`
3631
3711
  <div class="single-action-container">
3632
3712
  <div class="single-action">${o}</div>
3633
3713
  </div>
3634
3714
  `,
3635
- () => {
3636
- var u;
3637
- return E`
3715
+ () => E`
3638
3716
  <details
3639
3717
  class="tools"
3640
3718
  open=${this.layer.get("layerControlToolsExpand") || C}
@@ -3642,87 +3720,42 @@ class bo extends Q {
3642
3720
  <summary>
3643
3721
  <button class="icon ${r}">Tools</button>
3644
3722
  </summary>
3645
- <eox-layercontrol-tabs
3723
+ <eox-layercontrol-tools-items
3724
+ class="${this.disableTabs ? "tools-list" : "tools-tab"}"
3646
3725
  .noShadow=${!1}
3647
3726
  .actions=${n}
3648
3727
  .tabs=${i}
3649
3728
  .unstyled=${this.unstyled}
3729
+ .disableTabs=${this.disableTabs}
3650
3730
  >
3651
3731
  <!-- Rendering tabs and content -->
3652
- ${Ne(i, (c) => this._button(c))}
3653
-
3654
- <div slot="info-content">
3655
- ${Is(this.layer.get("description"))}
3656
- </div>
3657
- <div slot="opacity-content">
3658
- <!-- Input for opacity -->
3659
- <input
3660
- type="range"
3661
- min="0"
3662
- max="1"
3663
- step="0.01"
3664
- value=${lo((u = this.layer) == null ? void 0 : u.getOpacity())}
3665
- @input=${(c) => this.layer.setOpacity(parseFloat(c.target.value))}
3666
- />
3667
- </div>
3668
- <div slot="config-content">
3669
- <!-- Layer configuration -->
3670
- ${K(
3671
- this.layer.get("layerConfig"),
3672
- () => E`
3673
- <eox-layercontrol-layerconfig
3674
- slot="config-content"
3675
- .layer=${this.layer}
3676
- .noShadow=${!0}
3677
- .layerConfig=${this.layer.get("layerConfig")}
3678
- .unstyled=${this.unstyled}
3679
- @changed=${() => this.requestUpdate()}
3680
- ></eox-layercontrol-layerconfig>
3681
- `
3682
- )}
3683
- </div>
3684
- <div slot="datetime-content">
3685
- <!-- Layer datetime -->
3686
- ${K(
3687
- this.layer.get("layerDatetime"),
3688
- () => E`
3689
- <eox-layercontrol-layer-datetime
3690
- slot="datetime-content"
3691
- .noShadow=${!0}
3692
- .layerDatetime=${this.layer.get("layerDatetime")}
3693
- .layer=${this.layer}
3694
- .unstyled=${this.unstyled}
3695
- @changed=${() => this.requestUpdate()}
3696
- ></eox-layercontrol-layer-datetime>
3697
- `
3698
- )}
3699
- </div>
3700
- <div slot="remove-icon">${this._removeButton()}</div>
3701
- <div slot="sort-icon">${this._sortButton()}</div>
3702
- </eox-layercontrol-tabs>
3732
+ ${Me(i, (d) => this._button(d))}
3733
+ <!-- Including default tools -->
3734
+ ${this._getDefaultTools()}
3735
+ </eox-layercontrol-tools-items>
3703
3736
  </details>
3704
- `;
3705
- }
3737
+ `
3706
3738
  )}
3707
3739
  `
3708
3740
  )}
3709
3741
  `;
3710
3742
  }
3711
3743
  }
3712
- Ke = new WeakMap(), Qe = new WeakMap(), // Define static properties for the component
3713
- N(bo, "properties", {
3744
+ Je = new WeakMap(), Ke = new WeakMap(), // Define static properties for the component
3745
+ N(wo, "properties", {
3714
3746
  layer: { attribute: !1 },
3715
3747
  tools: { attribute: !1 },
3716
3748
  unstyled: { type: Boolean },
3717
- noShadow: { type: Boolean }
3749
+ noShadow: { type: Boolean },
3750
+ disableTabs: { type: Boolean }
3718
3751
  });
3719
3752
  customElements.define(
3720
3753
  "eox-layercontrol-layer-tools",
3721
- bo
3754
+ wo
3722
3755
  );
3723
- const aa = (e) => {
3756
+ const la = (e) => {
3724
3757
  const t = () => {
3725
- const n = Cs(
3758
+ const n = Ts(
3726
3759
  e.layer,
3727
3760
  e.map,
3728
3761
  e.showLayerZoomState
@@ -3732,11 +3765,11 @@ const aa = (e) => {
3732
3765
  new CustomEvent("change:resolution", { bubbles: !0 })
3733
3766
  ));
3734
3767
  };
3735
- ro(
3768
+ ao(
3736
3769
  e.layer,
3737
3770
  e.showLayerZoomState
3738
3771
  ) && (t(), e.map.getView().on("change:resolution", () => t()));
3739
- }, la = (e, t) => {
3772
+ }, da = (e, t) => {
3740
3773
  const n = t.layer;
3741
3774
  n.setVisible(e.target.checked), e.target.checked && n.get("layerControlExclusive") && t.closest(
3742
3775
  ".layers > ul"
@@ -3747,8 +3780,8 @@ const aa = (e) => {
3747
3780
  new CustomEvent("changed", { bubbles: !0, detail: n })
3748
3781
  ), t.requestUpdate();
3749
3782
  };
3750
- var Ct, Ie, wo, tn, en;
3751
- class vo extends Q {
3783
+ var Ct, Ne, xo, Qe, tn;
3784
+ class Eo extends tt {
3752
3785
  constructor() {
3753
3786
  super();
3754
3787
  T(this, Ct);
@@ -3758,9 +3791,9 @@ class vo extends Q {
3758
3791
  * @type {Boolean}
3759
3792
  */
3760
3793
  N(this, "currLayerVisibilityBasedOnZoom", !0);
3761
- T(this, tn, "");
3762
- T(this, en, `
3763
- ${yo}
3794
+ T(this, Qe, "");
3795
+ T(this, tn, `
3796
+ ${vo}
3764
3797
  eox-layercontrol-layer {
3765
3798
  width: 100%;
3766
3799
  }
@@ -3801,7 +3834,7 @@ class vo extends Q {
3801
3834
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%230041703a' viewBox='0 0 24 24'%3E%3Ctitle%3Evector-square-edit%3C/title%3E%3Cpath d='M22.7 14.4L21.7 15.4L19.6 13.3L20.6 12.3C20.8 12.1 21.2 12.1 21.4 12.3L22.7 13.6C22.9 13.8 22.9 14.1 22.7 14.4M13 19.9L19.1 13.8L21.2 15.9L15.1 22H13V19.9M11 19.9V19.1L11.6 18.5L12.1 18H8V16H6V8H8V6H16V8H18V12.1L19.1 11L19.3 10.8C19.5 10.6 19.8 10.4 20.1 10.3V8H22.1V2H16.1V4H8V2H2V8H4V16H2V22H8V20L11 19.9M18 4H20V6H18V4M4 4H6V6H4V4M6 20H4V18H6V20Z' /%3E%3C/svg%3E");
3802
3835
  }
3803
3836
  `);
3804
- this.layer = null, this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = [], this.unstyled = !1, this.noShadow = !1;
3837
+ this.layer = null, this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = [], this.unstyled = !1, this.noShadow = !1, this.disableTabs = !1;
3805
3838
  }
3806
3839
  /**
3807
3840
  * Overrides createRenderRoot to handle shadow DOM creation based on the noShadow property.
@@ -3814,7 +3847,7 @@ class vo extends Q {
3814
3847
  * and register "change:resolution" ones at the beginning if `showLayerZoomState` is present
3815
3848
  */
3816
3849
  firstUpdated() {
3817
- aa(this);
3850
+ la(this);
3818
3851
  }
3819
3852
  /**
3820
3853
  * Renders layer controls and tools with conditional display based on certain properties.
@@ -3823,13 +3856,13 @@ class vo extends Q {
3823
3856
  */
3824
3857
  render() {
3825
3858
  var l;
3826
- const n = this.layer.getVisible(), i = n ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = B(this, Ct, Ie).call(this, "layerControlDisable") ? "disabled" : "", s = B(this, Ct, Ie).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3859
+ const n = this.layer.getVisible(), i = n ? "visible" : "", o = this.currLayerVisibilityBasedOnZoom ? "" : "zoom-state-invisible", r = B(this, Ct, Ne).call(this, "layerControlDisable") ? "disabled" : "", s = B(this, Ct, Ne).call(this, "layerControlExclusive") ? "radio" : "checkbox", a = ((l = this.tools) == null ? void 0 : l.length) > 0;
3827
3860
  return E`
3828
3861
  <style>
3829
- ${P(this, tn)}
3830
- ${!this.unstyled && P(this, en)}
3862
+ ${P(this, Qe)}
3863
+ ${!this.unstyled && P(this, tn)}
3831
3864
  </style>
3832
- ${K(
3865
+ ${Y(
3833
3866
  this.layer,
3834
3867
  () => E`
3835
3868
  <!-- Render the layer -->
@@ -3838,13 +3871,13 @@ class vo extends Q {
3838
3871
  <!-- Input element for layer visibility -->
3839
3872
  <input
3840
3873
  type=${s}
3841
- .checked=${lo(n)}
3842
- @click=${B(this, Ct, wo)}
3874
+ .checked=${co(n)}
3875
+ @click=${B(this, Ct, xo)}
3843
3876
  />
3844
3877
 
3845
3878
  <!-- Layer title -->
3846
- <span class="title">${B(this, Ct, Ie).call(this, this.titleProperty)}</span>
3847
- ${K(
3879
+ <span class="title">${B(this, Ct, Ne).call(this, this.titleProperty)}</span>
3880
+ ${Y(
3848
3881
  a,
3849
3882
  () => E`<span class="tools-placeholder"></span>`
3850
3883
  )}
@@ -3857,6 +3890,7 @@ class vo extends Q {
3857
3890
  .layer=${this.layer}
3858
3891
  .tools=${this.tools}
3859
3892
  .unstyled=${this.unstyled}
3893
+ .disableTabs=${this.disableTabs}
3860
3894
  ></eox-layercontrol-layer-tools>
3861
3895
  `
3862
3896
  )}
@@ -3869,7 +3903,7 @@ Ct = new WeakSet(), /**
3869
3903
  * @param {string} key - The key for the layer property.
3870
3904
  * @returns {any} - The value of the layer property if exists, otherwise undefined.
3871
3905
  */
3872
- Ie = function(n) {
3906
+ Ne = function(n) {
3873
3907
  var i;
3874
3908
  return (i = this.layer) == null ? void 0 : i.get(n);
3875
3909
  }, /**
@@ -3877,25 +3911,26 @@ Ie = function(n) {
3877
3911
  *
3878
3912
  * @param {{target: { checked: boolean }}} evt - The input change event.
3879
3913
  */
3880
- wo = function(n) {
3881
- la(n, this);
3882
- }, tn = new WeakMap(), en = new WeakMap(), // Define static properties for the component
3883
- N(vo, "properties", {
3914
+ xo = function(n) {
3915
+ da(n, this);
3916
+ }, Qe = new WeakMap(), tn = new WeakMap(), // Define static properties for the component
3917
+ N(Eo, "properties", {
3884
3918
  layer: { attribute: !1 },
3885
3919
  map: { attribute: !1, state: !0 },
3886
3920
  titleProperty: { attribute: "title-property", type: String },
3887
3921
  showLayerZoomState: { attribute: "show-layer-zoom-state", type: Boolean },
3888
3922
  tools: { attribute: !1 },
3889
3923
  unstyled: { type: Boolean },
3890
- noShadow: { type: Boolean }
3924
+ noShadow: { type: Boolean },
3925
+ disableTabs: { type: Boolean }
3891
3926
  });
3892
- customElements.define("eox-layercontrol-layer", vo);
3893
- var nn, on;
3894
- class Eo extends Q {
3927
+ customElements.define("eox-layercontrol-layer", Eo);
3928
+ var en, nn;
3929
+ class So extends tt {
3895
3930
  constructor() {
3896
3931
  super();
3897
- T(this, nn, "");
3898
- T(this, on, `
3932
+ T(this, en, "");
3933
+ T(this, nn, `
3899
3934
  details summary {
3900
3935
  cursor: pointer;
3901
3936
  display: flex;
@@ -3920,7 +3955,7 @@ class Eo extends Q {
3920
3955
  display: none;
3921
3956
  }
3922
3957
  `);
3923
- this.group = null, this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = [], this.unstyled = !1, this.noShadow = !1;
3958
+ this.group = null, this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = [], this.unstyled = !1, this.noShadow = !1, this.disableTabs = !1;
3924
3959
  }
3925
3960
  /**
3926
3961
  * Overrides the default behavior of creating the render root element.
@@ -3935,15 +3970,15 @@ class Eo extends Q {
3935
3970
  */
3936
3971
  render() {
3937
3972
  var o, r;
3938
- const n = !!((o = this.group) != null && o.get("layerControlExpand")), i = (r = ao(
3973
+ const n = !!((o = this.group) != null && o.get("layerControlExpand")), i = (r = uo(
3939
3974
  this.group.getLayers()
3940
3975
  )) == null ? void 0 : r.length;
3941
3976
  return E`
3942
3977
  <style>
3943
- ${P(this, nn)}
3944
- ${!this.unstyled && P(this, on)}
3978
+ ${P(this, en)}
3979
+ ${!this.unstyled && P(this, nn)}
3945
3980
  </style>
3946
- ${K(
3981
+ ${Y(
3947
3982
  this.group,
3948
3983
  () => E`
3949
3984
  <!-- Render the details element with the layer control -->
@@ -3961,6 +3996,7 @@ class Eo extends Q {
3961
3996
  .showLayerZoomState=${this.showLayerZoomState}
3962
3997
  .tools=${this.tools}
3963
3998
  .unstyled=${this.unstyled}
3999
+ .disableTabs=${this.disableTabs}
3964
4000
  @changed=${() => this.requestUpdate()}
3965
4001
  ></eox-layercontrol-layer>
3966
4002
  </summary>
@@ -3975,6 +4011,7 @@ class Eo extends Q {
3975
4011
  .showLayerZoomState=${this.showLayerZoomState}
3976
4012
  .tools=${this.tools}
3977
4013
  .unstyled=${this.unstyled}
4014
+ .disableTabs=${this.disableTabs}
3978
4015
  @changed=${() => this.requestUpdate()}
3979
4016
  ></eox-layercontrol-layer-list>
3980
4017
  </details>
@@ -3983,8 +4020,8 @@ class Eo extends Q {
3983
4020
  `;
3984
4021
  }
3985
4022
  }
3986
- nn = new WeakMap(), on = new WeakMap(), // Define static properties for the component
3987
- N(Eo, "properties", {
4023
+ en = new WeakMap(), nn = new WeakMap(), // Define static properties for the component
4024
+ N(So, "properties", {
3988
4025
  group: { attribute: !1 },
3989
4026
  idProperty: { attribute: "id-property" },
3990
4027
  map: { attribute: !1, state: !0 },
@@ -3992,34 +4029,35 @@ N(Eo, "properties", {
3992
4029
  showLayerZoomState: { attribute: "show-layer-zoom-state", type: Boolean },
3993
4030
  tools: { attribute: !1 },
3994
4031
  unstyled: { type: Boolean },
3995
- noShadow: { type: Boolean }
4032
+ noShadow: { type: Boolean },
4033
+ disableTabs: { type: Boolean }
3996
4034
  });
3997
4035
  customElements.define(
3998
4036
  "eox-layercontrol-layer-group",
3999
- Eo
4037
+ So
4000
4038
  );
4001
4039
  const ua = (e) => {
4002
- const { layers: t, idProperty: n, titleProperty: i, renderRoot: o } = e, r = co(() => {
4040
+ const { layers: t, idProperty: n, titleProperty: i, renderRoot: o } = e, r = po(() => {
4003
4041
  e.requestUpdate(), e.dispatchEvent(
4004
4042
  new CustomEvent("changed", { bubbles: !0 })
4005
4043
  );
4006
4044
  }, 50), s = () => r();
4007
4045
  if (t && (t.hasListener("change:length") && (t == null || t.un("change:length", s)), t.on("change:length", s), t)) {
4008
4046
  const a = o.querySelector("ul");
4009
- As(
4047
+ Cs(
4010
4048
  t,
4011
4049
  n,
4012
4050
  i,
4013
4051
  e
4014
- ), _s(a, t, n, e);
4052
+ ), As(a, t, n, e);
4015
4053
  }
4016
4054
  };
4017
- var rn, sn;
4018
- class xo extends Q {
4055
+ var on, rn;
4056
+ class $o extends tt {
4019
4057
  constructor() {
4020
4058
  super();
4021
- T(this, rn, "");
4022
- T(this, sn, `
4059
+ T(this, on, "");
4060
+ T(this, rn, `
4023
4061
  ul {
4024
4062
  padding: 0;
4025
4063
  margin: 0;
@@ -4048,7 +4086,7 @@ class xo extends Q {
4048
4086
  li.sortable-ghost {
4049
4087
  }
4050
4088
  `);
4051
- this.idProperty = "id", this.layers = null, this.map = null, this.tools = void 0, this.titleProperty = "title", this.showLayerZoomState = !1, this.unstyled = !1, this.noShadow = !1;
4089
+ this.idProperty = "id", this.layers = null, this.map = null, this.tools = void 0, this.titleProperty = "title", this.showLayerZoomState = !1, this.unstyled = !1, this.noShadow = !1, this.disableTabs = !1;
4052
4090
  }
4053
4091
  /**
4054
4092
  * Executes specific logic after the initial render of the component.
@@ -4067,23 +4105,23 @@ class xo extends Q {
4067
4105
  * layer groups or individual layers accordingly. Utilizes conditional rendering and iterates through available layers.
4068
4106
  */
4069
4107
  render() {
4070
- const n = this.layers ? ao(this.layers).reverse() : [];
4108
+ const n = this.layers ? uo(this.layers).reverse() : [];
4071
4109
  return E`
4072
4110
  <style>
4073
- ${P(this, rn)}
4074
- ${!this.unstyled && P(this, sn)}
4111
+ ${P(this, on)}
4112
+ ${!this.unstyled && P(this, rn)}
4075
4113
  </style>
4076
4114
  <ul>
4077
- ${K(
4115
+ ${Y(
4078
4116
  this.layers,
4079
4117
  () => E`
4080
- ${er(
4118
+ ${ir(
4081
4119
  n,
4082
4120
  (i) => i,
4083
4121
  (i) => E`
4084
4122
  <li
4085
4123
  data-layer="${i.get(this.idProperty)}"
4086
- data-type="${Ts(i, this.map)}"
4124
+ data-type="${Ps(i, this.map)}"
4087
4125
  >
4088
4126
  ${/** Checks if the layer is a group or individual layer and renders accordingly */
4089
4127
  /** @type {import("ol/layer").Group} */
@@ -4097,6 +4135,7 @@ class xo extends Q {
4097
4135
  .showLayerZoomState=${this.showLayerZoomState}
4098
4136
  .tools=${this.tools}
4099
4137
  .unstyled=${this.unstyled}
4138
+ .disableTabs=${this.disableTabs}
4100
4139
  @changed=${() => this.requestUpdate()}
4101
4140
  >
4102
4141
  </eox-layercontrol-layer-group>
@@ -4109,6 +4148,7 @@ class xo extends Q {
4109
4148
  .showLayerZoomState=${this.showLayerZoomState}
4110
4149
  .tools=${this.tools}
4111
4150
  .unstyled=${this.unstyled}
4151
+ .disableTabs=${this.disableTabs}
4112
4152
  @changed=${() => this.requestUpdate()}
4113
4153
  ></eox-layercontrol-layer>
4114
4154
  `}
@@ -4121,8 +4161,8 @@ class xo extends Q {
4121
4161
  `;
4122
4162
  }
4123
4163
  }
4124
- rn = new WeakMap(), sn = new WeakMap(), // Define static properties for the component
4125
- N(xo, "properties", {
4164
+ on = new WeakMap(), rn = new WeakMap(), // Define static properties for the component
4165
+ N($o, "properties", {
4126
4166
  idProperty: { attribute: "id-property" },
4127
4167
  layers: { attribute: !1 },
4128
4168
  map: { attribute: !1, state: !0 },
@@ -4130,13 +4170,14 @@ N(xo, "properties", {
4130
4170
  showLayerZoomState: { attribute: "show-layer-zoom-state", type: Boolean },
4131
4171
  tools: { attribute: !1 },
4132
4172
  unstyled: { type: Boolean },
4133
- noShadow: { type: Boolean }
4173
+ noShadow: { type: Boolean },
4174
+ disableTabs: { type: Boolean }
4134
4175
  });
4135
- customElements.define("eox-layercontrol-layer-list", xo);
4136
- const da = (e) => {
4176
+ customElements.define("eox-layercontrol-layer-list", $o);
4177
+ const ca = (e) => {
4137
4178
  const t = e.querySelector(
4138
4179
  "select[name=optional]"
4139
- ), n = t ? t.value : null, i = Wn(
4180
+ ), n = t ? t.value : null, i = Gn(
4140
4181
  e.layers.getArray(),
4141
4182
  "layerControlOptional",
4142
4183
  !0
@@ -4155,11 +4196,11 @@ const da = (e) => {
4155
4196
  )
4156
4197
  ), e.requestUpdate();
4157
4198
  };
4158
- var an, $o;
4159
- class So extends Q {
4199
+ var sn, Ao;
4200
+ class _o extends tt {
4160
4201
  constructor() {
4161
4202
  super();
4162
- T(this, an);
4203
+ T(this, sn);
4163
4204
  this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !1;
4164
4205
  }
4165
4206
  /**
@@ -4174,7 +4215,7 @@ class So extends Q {
4174
4215
  * Generates dropdown options based on the extracted layer information.
4175
4216
  */
4176
4217
  render() {
4177
- const n = Wn(
4218
+ const n = Gn(
4178
4219
  this.layers.getArray(),
4179
4220
  "layerControlOptional",
4180
4221
  !0
@@ -4198,18 +4239,18 @@ class So extends Q {
4198
4239
  </select>
4199
4240
 
4200
4241
  <!-- Button to handle adding layers -->
4201
- <button @click="${B(this, an, $o)}">add</button>
4242
+ <button @click="${B(this, sn, Ao)}">add</button>
4202
4243
  `;
4203
4244
  }
4204
4245
  }
4205
- an = new WeakSet(), /**
4246
+ sn = new WeakSet(), /**
4206
4247
  * Handles the addition of selected layers to a list.
4207
4248
  * Invokes the 'addToListMethod' with the current context.
4208
4249
  */
4209
- $o = function() {
4210
- da(this);
4250
+ Ao = function() {
4251
+ ca(this);
4211
4252
  }, // Define static properties for the component
4212
- N(So, "properties", {
4253
+ N(_o, "properties", {
4213
4254
  idProperty: { attribute: "id-property" },
4214
4255
  layers: { attribute: !1 },
4215
4256
  titleProperty: { attribute: "title-property", type: String },
@@ -4218,27 +4259,27 @@ N(So, "properties", {
4218
4259
  });
4219
4260
  customElements.define(
4220
4261
  "eox-layercontrol-optional-list",
4221
- So
4262
+ _o
4222
4263
  );
4223
- const ca = (e, t) => {
4264
+ const ha = (e, t) => {
4224
4265
  t.jsonInput = e.target.value, t.requestUpdate();
4225
- }, Ei = (e) => {
4266
+ }, xi = (e) => {
4226
4267
  const t = JSON.parse(
4227
- `{"data":${Zi(e.jsonInput)}}`
4268
+ `{"data":${zi(e.jsonInput)}}`
4228
4269
  );
4229
4270
  Array.isArray(t.data) ? t.data.forEach((n) => {
4230
4271
  e.eoxMap.addOrUpdateLayer(n);
4231
4272
  }) : e.eoxMap.addOrUpdateLayer(t.data), e.jsonInput = null, e.requestUpdate();
4232
- }, ha = (e, t) => {
4273
+ }, pa = (e, t) => {
4233
4274
  t.urlInput = e.target.value, t.requestUpdate();
4234
4275
  };
4235
- async function pa(e) {
4276
+ async function fa(e) {
4236
4277
  const t = e.urlInput;
4237
4278
  if (e.wmsCapabilities = null, e.searchLoad = !0, e.requestUpdate(), !t) return !1;
4238
- if (zn(t) === "XYZ")
4279
+ if (Xn(t) === "XYZ")
4239
4280
  return { Name: t };
4240
4281
  try {
4241
- const n = await qr(t);
4282
+ const n = await Wr(t);
4242
4283
  e.wmsCapabilities = n;
4243
4284
  } catch {
4244
4285
  } finally {
@@ -4246,8 +4287,8 @@ async function pa(e) {
4246
4287
  }
4247
4288
  return !1;
4248
4289
  }
4249
- const fa = (e, t) => {
4250
- const { Name: n } = e, i = zn(t.urlInput) || "XYZ", o = {
4290
+ const ga = (e, t) => {
4291
+ const { Name: n } = e, i = Xn(t.urlInput) || "XYZ", o = {
4251
4292
  type: "Tile",
4252
4293
  properties: {
4253
4294
  id: n,
@@ -4265,11 +4306,11 @@ const fa = (e, t) => {
4265
4306
  }
4266
4307
  };
4267
4308
  t.jsonInput = JSON.stringify(o);
4268
- }, ga = (e, t) => {
4309
+ }, ma = (e, t) => {
4269
4310
  t.open = e || null, t.urlInput = null, t.jsonInput = null, t.wmsCapabilities = null, t.requestUpdate();
4270
4311
  };
4271
- var F, Ao, Co, Vn, To, Po, He, ln, un;
4272
- class _o extends Q {
4312
+ var F, To, Po, Vn, Do, Oo, Ie, an, ln;
4313
+ class Co extends tt {
4273
4314
  constructor() {
4274
4315
  super();
4275
4316
  T(this, F);
@@ -4303,7 +4344,7 @@ class _o extends Q {
4303
4344
  * @type {import("wms-capabilities").WMSCapabilitiesJSON}
4304
4345
  */
4305
4346
  N(this, "wmsCapabilities", null);
4306
- T(this, ln, `
4347
+ T(this, an, `
4307
4348
  .eox-add-layer-main .open {
4308
4349
  position: relative;
4309
4350
  }
@@ -4311,7 +4352,7 @@ class _o extends Q {
4311
4352
  display: none;
4312
4353
  }
4313
4354
  `);
4314
- T(this, un, `
4355
+ T(this, ln, `
4315
4356
  .eox-add {
4316
4357
  background: #f0f2f5;
4317
4358
  border-top: 1px solid #0041701a;
@@ -4460,24 +4501,24 @@ class _o extends Q {
4460
4501
  * Handles input fields, search, and addition of layers.
4461
4502
  */
4462
4503
  render() {
4463
- const n = this.open ? "open" : "close", i = this.open === "url", o = this.open === "json", r = !Yr(this.urlInput) || this.searchLoad ? !0 : C;
4504
+ const n = this.open ? "open" : "close", i = this.open === "url", o = this.open === "json", r = !Gr(this.urlInput) || this.searchLoad ? !0 : C;
4464
4505
  return E`
4465
4506
  <style>
4466
- ${P(this, ln)}
4467
- ${!this.unstyled && P(this, un)}
4507
+ ${P(this, an)}
4508
+ ${!this.unstyled && P(this, ln)}
4468
4509
  </style>
4469
4510
  <div class="eox-add-layer-main">
4470
4511
  <div class="eox-add-layer-col">
4471
4512
  <!-- Tabbed interface for URL and JSON -->
4472
4513
  <ul class="eox-add-layer-tab ${n}">
4473
4514
  <li
4474
- @click=${() => B(this, F, He).call(this, "url")}
4515
+ @click=${() => B(this, F, Ie).call(this, "url")}
4475
4516
  class="${i ? "active" : ""}"
4476
4517
  >
4477
4518
  URL
4478
4519
  </li>
4479
4520
  <li
4480
- @click=${() => B(this, F, He).call(this, "json")}
4521
+ @click=${() => B(this, F, Ie).call(this, "json")}
4481
4522
  class="${o ? "active" : ""}"
4482
4523
  >
4483
4524
  JSON
@@ -4487,7 +4528,7 @@ class _o extends Q {
4487
4528
  <!-- Button to toggle tabs -->
4488
4529
  <button
4489
4530
  class="add-icon icon"
4490
- @click=${() => B(this, F, He).call(this, this.open ? null : "url")}
4531
+ @click=${() => B(this, F, Ie).call(this, this.open ? null : "url")}
4491
4532
  >
4492
4533
  ${this.unstyled ? "Add Layer" : ""}
4493
4534
  </button>
@@ -4501,14 +4542,14 @@ class _o extends Q {
4501
4542
  class="add-url"
4502
4543
  placeholder="Add URL (WMS/XYZ)"
4503
4544
  .value="${this.urlInput}"
4504
- @input=${B(this, F, Ao)}
4545
+ @input=${B(this, F, To)}
4505
4546
  >
4506
4547
  </input>
4507
4548
  <!-- Search button for URL -->
4508
4549
  <button
4509
4550
  class="search-icon"
4510
4551
  disabled=${r}
4511
- @click=${B(this, F, Co)}
4552
+ @click=${B(this, F, Po)}
4512
4553
  >
4513
4554
  ${this.unstyled ? "Search" : ""}
4514
4555
  </button>
@@ -4542,15 +4583,15 @@ class _o extends Q {
4542
4583
  <textarea
4543
4584
  class="add-layer-input"
4544
4585
  placeholder="Please put a valid eox-map layer JSON."
4545
- @input=${B(this, F, Po)}
4586
+ @input=${B(this, F, Oo)}
4546
4587
  .value=${this.jsonInput}
4547
4588
  ></textarea>
4548
4589
 
4549
4590
  <!-- Button to add JSON layer -->
4550
4591
  <button
4551
4592
  class="add-layer-icon json-add-layer"
4552
- disabled=${Wr(this.jsonInput) ? C : !0}
4553
- @click=${B(this, F, To)}
4593
+ disabled=${Jr(this.jsonInput) ? C : !0}
4594
+ @click=${B(this, F, Do)}
4554
4595
  >
4555
4596
  ${this.unstyled ? "Add JSON" : ""}
4556
4597
  </button>
@@ -4566,10 +4607,10 @@ F = new WeakSet(), /**
4566
4607
  *
4567
4608
  * @param {Event} evt - The input change event triggering the method.
4568
4609
  */
4569
- Ao = function(n) {
4570
- ha(n, this);
4571
- }, Co = async function() {
4572
- const n = await pa(this);
4610
+ To = function(n) {
4611
+ pa(n, this);
4612
+ }, Po = async function() {
4613
+ const n = await fa(this);
4573
4614
  n && B(this, F, Vn).call(this, n);
4574
4615
  }, /**
4575
4616
  * Handles input field changes by triggering layer processing and adding layers.
@@ -4577,50 +4618,50 @@ Ao = function(n) {
4577
4618
  * @param {{"Name": string}} layer - The layer information triggering the method.
4578
4619
  */
4579
4620
  Vn = function(n) {
4580
- fa(n, this), Ei(this);
4621
+ ga(n, this), xi(this);
4581
4622
  }, /**
4582
4623
  * Initiates the addition of layers, triggering the handleAddLayerMethod.
4583
4624
  */
4584
- To = function() {
4585
- Ei(this);
4625
+ Do = function() {
4626
+ xi(this);
4586
4627
  }, /**
4587
4628
  * Handles input field changes by invoking the 'handleJsonInputChangeMethod'.
4588
4629
  *
4589
4630
  * @param {{target: { value: string }}} evt - The input change event triggering the method.
4590
4631
  */
4591
- Po = function(n) {
4592
- ca(n, this);
4632
+ Oo = function(n) {
4633
+ ha(n, this);
4593
4634
  }, /**
4594
4635
  * Handles tab changes by invoking the 'openCloseTabMethod'.
4595
4636
  *
4596
4637
  * @param {"url" | "json" | null} tab - The tab identifier triggering the method.
4597
4638
  */
4598
- He = function(n) {
4599
- ga(n, this);
4600
- }, ln = new WeakMap(), un = new WeakMap(), // Define static properties for the component
4601
- N(_o, "properties", {
4639
+ Ie = function(n) {
4640
+ ma(n, this);
4641
+ }, an = new WeakMap(), ln = new WeakMap(), // Define static properties for the component
4642
+ N(Co, "properties", {
4602
4643
  eoxMap: { attribute: !1, state: !0 },
4603
4644
  unstyled: { type: Boolean },
4604
4645
  noShadow: { type: Boolean }
4605
4646
  });
4606
- customElements.define("eox-layercontrol-add-layers", _o);
4607
- const ma = (e, t) => {
4647
+ customElements.define("eox-layercontrol-add-layers", Co);
4648
+ const ya = (e, t) => {
4608
4649
  if (t.requestUpdate(), e.target.tagName === "EOX-LAYERCONTROL-LAYER-TOOLS") {
4609
4650
  const n = t.renderRoot.querySelector(
4610
4651
  "eox-layercontrol-optional-list"
4611
4652
  );
4612
4653
  n == null || n.requestUpdate();
4613
4654
  }
4614
- }, ya = (e) => {
4655
+ }, ba = (e) => {
4615
4656
  let t;
4616
4657
  return typeof e == "string" ? t = /** @type {HTMLElement} */
4617
4658
  document.querySelector(e) : t = e, t;
4618
- }, xi = (e) => {
4619
- const t = ya(e.for);
4659
+ }, Si = (e) => {
4660
+ const t = ba(e.for);
4620
4661
  return t && t.map !== e.map && (e.map = t.map), t;
4621
4662
  };
4622
- var $t, qt, Ro, Oo, dn;
4623
- class Do extends Q {
4663
+ var $t, qt, Mo, No, dn;
4664
+ class Ro extends tt {
4624
4665
  // Constructor to set default values for properties
4625
4666
  constructor() {
4626
4667
  super();
@@ -4632,28 +4673,28 @@ class Do extends Q {
4632
4673
  */
4633
4674
  T(this, $t);
4634
4675
  T(this, dn, "* { font-family: Roboto, sans-serif; }");
4635
- this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = ["info", "opacity", "datetime", "config", "remove", "sort"], this.addExternalLayers = !1, this.unstyled = !1, this.styleOverride = "";
4676
+ this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.showLayerZoomState = !1, this.tools = ["info", "opacity", "datetime", "config", "remove", "sort"], this.addExternalLayers = !1, this.unstyled = !1, this.styleOverride = "", this.disableTabs = !1;
4636
4677
  }
4637
4678
  /**
4638
4679
  * Called when the component is first updated
4639
4680
  * Updated #eoxMap after first update.
4640
4681
  */
4641
4682
  firstUpdated() {
4642
- this.eoxMap = xi(this);
4683
+ this.eoxMap = Si(this);
4643
4684
  }
4644
4685
  updated(n) {
4645
- n.has("for") && (this.eoxMap = xi(this));
4686
+ n.has("for") && (this.eoxMap = Si(this));
4646
4687
  }
4647
4688
  get eoxMap() {
4648
4689
  return P(this, $t);
4649
4690
  }
4650
4691
  set eoxMap(n) {
4651
4692
  const i = P(this, $t);
4652
- Qt(this, $t, n), this.requestUpdate("eoxMap", i);
4693
+ Kt(this, $t, n), this.requestUpdate("eoxMap", i);
4653
4694
  }
4654
4695
  render() {
4655
4696
  var o, r, s;
4656
- const n = (o = this.map) == null ? void 0 : o.getLayers().getArray(), i = n && ((r = Wn(n, "layerControlOptional", !0)) == null ? void 0 : r.length) > 0;
4697
+ const n = (o = this.map) == null ? void 0 : o.getLayers().getArray(), i = n && ((r = Gn(n, "layerControlOptional", !0)) == null ? void 0 : r.length) > 0;
4657
4698
  return E`
4658
4699
  <style>
4659
4700
  ${!this.unstyled && P(this, dn)}
@@ -4661,7 +4702,7 @@ class Do extends Q {
4661
4702
  </style>
4662
4703
 
4663
4704
  <!-- Conditional rendering of add layers component -->
4664
- ${K(
4705
+ ${Y(
4665
4706
  this.addExternalLayers && ((s = P(this, $t)) == null ? void 0 : s.addOrUpdateLayer),
4666
4707
  () => E`
4667
4708
  <eox-layercontrol-add-layers
@@ -4673,7 +4714,7 @@ class Do extends Q {
4673
4714
  )}
4674
4715
 
4675
4716
  <!-- Conditional rendering of layer list component -->
4676
- ${K(
4717
+ ${Y(
4677
4718
  this.map,
4678
4719
  () => E`
4679
4720
  <eox-layercontrol-layer-list
@@ -4686,14 +4727,15 @@ class Do extends Q {
4686
4727
  .showLayerZoomState=${this.showLayerZoomState}
4687
4728
  .tools=${this.tools}
4688
4729
  .unstyled=${this.unstyled}
4689
- @changed=${B(this, qt, Ro)}
4690
- @datetime:updated=${B(this, qt, Oo)}
4730
+ .disableTabs=${this.disableTabs}
4731
+ @changed=${B(this, qt, Mo)}
4732
+ @datetime:updated=${B(this, qt, No)}
4691
4733
  ></eox-layercontrol-layer-list>
4692
4734
  `
4693
4735
  )}
4694
4736
 
4695
4737
  <!-- Conditional rendering of optional list component -->
4696
- ${K(
4738
+ ${Y(
4697
4739
  i,
4698
4740
  () => E`
4699
4741
  <eox-layercontrol-optional-list
@@ -4713,18 +4755,18 @@ $t = new WeakMap(), qt = new WeakSet(), /**
4713
4755
  *
4714
4756
  * @param {CustomEvent & {target: Element}} evt
4715
4757
  */
4716
- Ro = function(n) {
4717
- ma(n, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: n.detail }));
4758
+ Mo = function(n) {
4759
+ ya(n, this), this.dispatchEvent(new CustomEvent("layerchange", { detail: n.detail }));
4718
4760
  }, /**
4719
4761
  * Dispatches datetime updates from layer datetime to the layercontrol
4720
4762
  * @param {CustomEvent} evt
4721
4763
  */
4722
- Oo = function(n) {
4764
+ No = function(n) {
4723
4765
  this.dispatchEvent(
4724
4766
  new CustomEvent("datetime:updated", { detail: n.detail })
4725
4767
  );
4726
4768
  }, dn = new WeakMap(), // Define static properties for the component
4727
- N(Do, "properties", {
4769
+ N(Ro, "properties", {
4728
4770
  for: { type: String },
4729
4771
  idProperty: { attribute: "id-property" },
4730
4772
  map: { attribute: !1, state: !0 },
@@ -4733,9 +4775,10 @@ N(Do, "properties", {
4733
4775
  tools: { attribute: !1 },
4734
4776
  addExternalLayers: { attribute: !1 },
4735
4777
  unstyled: { type: Boolean },
4736
- styleOverride: { type: String }
4778
+ styleOverride: { type: String },
4779
+ disableTabs: { type: Boolean }
4737
4780
  });
4738
- customElements.define("eox-layercontrol", Do);
4781
+ customElements.define("eox-layercontrol", Ro);
4739
4782
  export {
4740
- Do as EOxLayerControl
4783
+ Ro as EOxLayerControl
4741
4784
  };