@eox/layercontrol 0.8.0 → 0.9.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,13 +1,13 @@
1
- var an = Object.defineProperty;
2
- var ln = (n, t, e) => t in n ? an(n, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : n[t] = e;
3
- var L = (n, t, e) => (ln(n, typeof t != "symbol" ? t + "" : t, e), e), dn = (n, t, e) => {
4
- if (!t.has(n))
1
+ var so = Object.defineProperty;
2
+ var ao = (o, t, e) => t in o ? so(o, t, { enumerable: !0, configurable: !0, writable: !0, value: e }) : o[t] = e;
3
+ var R = (o, t, e) => (ao(o, typeof t != "symbol" ? t + "" : t, e), e), lo = (o, t, e) => {
4
+ if (!t.has(o))
5
5
  throw TypeError("Cannot " + e);
6
6
  };
7
- var O = (n, t, e) => (dn(n, t, "read from private field"), e ? e.call(n) : t.get(n)), M = (n, t, e) => {
8
- if (t.has(n))
7
+ var H = (o, t, e) => (lo(o, t, "read from private field"), e ? e.call(o) : t.get(o)), M = (o, t, e) => {
8
+ if (t.has(o))
9
9
  throw TypeError("Cannot add the same private member more than once");
10
- t instanceof WeakSet ? t.add(n) : t.set(n, e);
10
+ t instanceof WeakSet ? t.add(o) : t.set(o, e);
11
11
  };
12
12
  /**
13
13
  * @license
@@ -15,7 +15,7 @@ var O = (n, t, e) => (dn(n, t, "read from private field"), e ? e.call(n) : t.get
15
15
  * SPDX-License-Identifier: BSD-3-Clause
16
16
  */
17
17
  const te = window, ti = te.ShadowRoot && (te.ShadyCSS === void 0 || te.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Di = Symbol(), li = /* @__PURE__ */ new WeakMap();
18
- let un = class {
18
+ let uo = class {
19
19
  constructor(t, e, i) {
20
20
  if (this._$cssResult$ = !0, i !== Di)
21
21
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -34,52 +34,52 @@ let un = class {
34
34
  return this.cssText;
35
35
  }
36
36
  };
37
- const cn = (n) => new un(typeof n == "string" ? n : n + "", void 0, Di), hn = (n, t) => {
38
- ti ? n.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
39
- const i = document.createElement("style"), o = te.litNonce;
40
- o !== void 0 && i.setAttribute("nonce", o), i.textContent = e.cssText, n.appendChild(i);
37
+ const ho = (o) => new uo(typeof o == "string" ? o : o + "", void 0, Di), co = (o, t) => {
38
+ ti ? o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet) : t.forEach((e) => {
39
+ const i = document.createElement("style"), n = te.litNonce;
40
+ n !== void 0 && i.setAttribute("nonce", n), i.textContent = e.cssText, o.appendChild(i);
41
41
  });
42
- }, di = ti ? (n) => n : (n) => n instanceof CSSStyleSheet ? ((t) => {
42
+ }, di = ti ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
43
43
  let e = "";
44
44
  for (const i of t.cssRules)
45
45
  e += i.cssText;
46
- return cn(e);
47
- })(n) : n;
46
+ return ho(e);
47
+ })(o) : o;
48
48
  /**
49
49
  * @license
50
50
  * Copyright 2017 Google LLC
51
51
  * SPDX-License-Identifier: BSD-3-Clause
52
52
  */
53
53
  var Pe;
54
- const ae = window, ui = ae.trustedTypes, pn = ui ? ui.emptyScript : "", ci = ae.reactiveElementPolyfillSupport, Ye = { toAttribute(n, t) {
54
+ const ae = window, ui = ae.trustedTypes, po = ui ? ui.emptyScript : "", hi = ae.reactiveElementPolyfillSupport, Ye = { toAttribute(o, t) {
55
55
  switch (t) {
56
56
  case Boolean:
57
- n = n ? pn : null;
57
+ o = o ? po : null;
58
58
  break;
59
59
  case Object:
60
60
  case Array:
61
- n = n == null ? n : JSON.stringify(n);
61
+ o = o == null ? o : JSON.stringify(o);
62
62
  }
63
- return n;
64
- }, fromAttribute(n, t) {
65
- let e = n;
63
+ return o;
64
+ }, fromAttribute(o, t) {
65
+ let e = o;
66
66
  switch (t) {
67
67
  case Boolean:
68
- e = n !== null;
68
+ e = o !== null;
69
69
  break;
70
70
  case Number:
71
- e = n === null ? null : Number(n);
71
+ e = o === null ? null : Number(o);
72
72
  break;
73
73
  case Object:
74
74
  case Array:
75
75
  try {
76
- e = JSON.parse(n);
76
+ e = JSON.parse(o);
77
77
  } catch {
78
78
  e = null;
79
79
  }
80
80
  }
81
81
  return e;
82
- } }, Pi = (n, t) => t !== n && (t == t || n == n), He = { attribute: !0, type: String, converter: Ye, reflect: !1, hasChanged: Pi }, je = "finalized";
82
+ } }, Pi = (o, t) => t !== o && (t == t || o == o), Oe = { attribute: !0, type: String, converter: Ye, reflect: !1, hasChanged: Pi }, je = "finalized";
83
83
  let _t = class extends HTMLElement {
84
84
  constructor() {
85
85
  super(), this._$Ei = /* @__PURE__ */ new Map(), this.isUpdatePending = !1, this.hasUpdated = !1, this._$El = null, this.u();
@@ -92,26 +92,26 @@ let _t = class extends HTMLElement {
92
92
  this.finalize();
93
93
  const t = [];
94
94
  return this.elementProperties.forEach((e, i) => {
95
- const o = this._$Ep(i, e);
96
- o !== void 0 && (this._$Ev.set(o, i), t.push(o));
95
+ const n = this._$Ep(i, e);
96
+ n !== void 0 && (this._$Ev.set(n, i), t.push(n));
97
97
  }), t;
98
98
  }
99
- static createProperty(t, e = He) {
99
+ static createProperty(t, e = Oe) {
100
100
  if (e.state && (e.attribute = !1), this.finalize(), this.elementProperties.set(t, e), !e.noAccessor && !this.prototype.hasOwnProperty(t)) {
101
- const i = typeof t == "symbol" ? Symbol() : "__" + t, o = this.getPropertyDescriptor(t, i, e);
102
- o !== void 0 && Object.defineProperty(this.prototype, t, o);
101
+ const i = typeof t == "symbol" ? Symbol() : "__" + t, n = this.getPropertyDescriptor(t, i, e);
102
+ n !== void 0 && Object.defineProperty(this.prototype, t, n);
103
103
  }
104
104
  }
105
105
  static getPropertyDescriptor(t, e, i) {
106
106
  return { get() {
107
107
  return this[e];
108
- }, set(o) {
108
+ }, set(n) {
109
109
  const r = this[t];
110
- this[e] = o, this.requestUpdate(t, r, i);
110
+ this[e] = n, this.requestUpdate(t, r, i);
111
111
  }, configurable: !0, enumerable: !0 };
112
112
  }
113
113
  static getPropertyOptions(t) {
114
- return this.elementProperties.get(t) || He;
114
+ return this.elementProperties.get(t) || Oe;
115
115
  }
116
116
  static finalize() {
117
117
  if (this.hasOwnProperty(je))
@@ -120,8 +120,8 @@ let _t = class extends HTMLElement {
120
120
  const t = Object.getPrototypeOf(this);
121
121
  if (t.finalize(), t.h !== void 0 && (this.h = [...t.h]), this.elementProperties = new Map(t.elementProperties), this._$Ev = /* @__PURE__ */ new Map(), this.hasOwnProperty("properties")) {
122
122
  const e = this.properties, i = [...Object.getOwnPropertyNames(e), ...Object.getOwnPropertySymbols(e)];
123
- for (const o of i)
124
- this.createProperty(o, e[o]);
123
+ for (const n of i)
124
+ this.createProperty(n, e[n]);
125
125
  }
126
126
  return this.elementStyles = this.finalizeStyles(this.styles), !0;
127
127
  }
@@ -129,8 +129,8 @@ let _t = class extends HTMLElement {
129
129
  const e = [];
130
130
  if (Array.isArray(t)) {
131
131
  const i = new Set(t.flat(1 / 0).reverse());
132
- for (const o of i)
133
- e.unshift(di(o));
132
+ for (const n of i)
133
+ e.unshift(di(n));
134
134
  } else
135
135
  t !== void 0 && e.push(di(t));
136
136
  return e;
@@ -159,7 +159,7 @@ let _t = class extends HTMLElement {
159
159
  createRenderRoot() {
160
160
  var t;
161
161
  const e = (t = this.shadowRoot) !== null && t !== void 0 ? t : this.attachShadow(this.constructor.shadowRootOptions);
162
- return hn(e, this.constructor.elementStyles), e;
162
+ return co(e, this.constructor.elementStyles), e;
163
163
  }
164
164
  connectedCallback() {
165
165
  var t;
@@ -180,25 +180,25 @@ let _t = class extends HTMLElement {
180
180
  attributeChangedCallback(t, e, i) {
181
181
  this._$AK(t, i);
182
182
  }
183
- _$EO(t, e, i = He) {
184
- var o;
183
+ _$EO(t, e, i = Oe) {
184
+ var n;
185
185
  const r = this.constructor._$Ep(t, i);
186
186
  if (r !== void 0 && i.reflect === !0) {
187
- const s = (((o = i.converter) === null || o === void 0 ? void 0 : o.toAttribute) !== void 0 ? i.converter : Ye).toAttribute(e, i.type);
187
+ const s = (((n = i.converter) === null || n === void 0 ? void 0 : n.toAttribute) !== void 0 ? i.converter : Ye).toAttribute(e, i.type);
188
188
  this._$El = t, s == null ? this.removeAttribute(r) : this.setAttribute(r, s), this._$El = null;
189
189
  }
190
190
  }
191
191
  _$AK(t, e) {
192
192
  var i;
193
- const o = this.constructor, r = o._$Ev.get(t);
193
+ const n = this.constructor, r = n._$Ev.get(t);
194
194
  if (r !== void 0 && this._$El !== r) {
195
- const s = o.getPropertyOptions(r), l = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((i = s.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? s.converter : Ye;
195
+ const s = n.getPropertyOptions(r), l = typeof s.converter == "function" ? { fromAttribute: s.converter } : ((i = s.converter) === null || i === void 0 ? void 0 : i.fromAttribute) !== void 0 ? s.converter : Ye;
196
196
  this._$El = r, this[r] = l.fromAttribute(e, s.type), this._$El = null;
197
197
  }
198
198
  }
199
199
  requestUpdate(t, e, i) {
200
- let o = !0;
201
- t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || Pi)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : o = !1), !this.isUpdatePending && o && (this._$E_ = this._$Ej());
200
+ let n = !0;
201
+ t !== void 0 && (((i = i || this.constructor.getPropertyOptions(t)).hasChanged || Pi)(this[t], e) ? (this._$AL.has(t) || this._$AL.set(t, e), i.reflect === !0 && this._$El !== t && (this._$EC === void 0 && (this._$EC = /* @__PURE__ */ new Map()), this._$EC.set(t, i))) : n = !1), !this.isUpdatePending && n && (this._$E_ = this._$Ej());
202
202
  }
203
203
  async _$Ej() {
204
204
  this.isUpdatePending = !0;
@@ -217,16 +217,16 @@ let _t = class extends HTMLElement {
217
217
  var t;
218
218
  if (!this.isUpdatePending)
219
219
  return;
220
- this.hasUpdated, this._$Ei && (this._$Ei.forEach((o, r) => this[r] = o), this._$Ei = void 0);
220
+ this.hasUpdated, this._$Ei && (this._$Ei.forEach((n, r) => this[r] = n), this._$Ei = void 0);
221
221
  let e = !1;
222
222
  const i = this._$AL;
223
223
  try {
224
- e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((o) => {
224
+ e = this.shouldUpdate(i), e ? (this.willUpdate(i), (t = this._$ES) === null || t === void 0 || t.forEach((n) => {
225
225
  var r;
226
- return (r = o.hostUpdate) === null || r === void 0 ? void 0 : r.call(o);
226
+ return (r = n.hostUpdate) === null || r === void 0 ? void 0 : r.call(n);
227
227
  }), this.update(i)) : this._$Ek();
228
- } catch (o) {
229
- throw e = !1, this._$Ek(), o;
228
+ } catch (n) {
229
+ throw e = !1, this._$Ek(), n;
230
230
  }
231
231
  e && this._$AE(i);
232
232
  }
@@ -235,8 +235,8 @@ let _t = class extends HTMLElement {
235
235
  _$AE(t) {
236
236
  var e;
237
237
  (e = this._$ES) === null || e === void 0 || e.forEach((i) => {
238
- var o;
239
- return (o = i.hostUpdated) === null || o === void 0 ? void 0 : o.call(i);
238
+ var n;
239
+ return (n = i.hostUpdated) === null || n === void 0 ? void 0 : n.call(i);
240
240
  }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
241
241
  }
242
242
  _$Ek() {
@@ -259,75 +259,75 @@ let _t = class extends HTMLElement {
259
259
  firstUpdated(t) {
260
260
  }
261
261
  };
262
- _t[je] = !0, _t.elementProperties = /* @__PURE__ */ new Map(), _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, ci == null || ci({ ReactiveElement: _t }), ((Pe = ae.reactiveElementVersions) !== null && Pe !== void 0 ? Pe : ae.reactiveElementVersions = []).push("1.6.2");
262
+ _t[je] = !0, _t.elementProperties = /* @__PURE__ */ new Map(), _t.elementStyles = [], _t.shadowRootOptions = { mode: "open" }, hi == null || hi({ ReactiveElement: _t }), ((Pe = ae.reactiveElementVersions) !== null && Pe !== void 0 ? Pe : ae.reactiveElementVersions = []).push("1.6.2");
263
263
  /**
264
264
  * @license
265
265
  * Copyright 2017 Google LLC
266
266
  * SPDX-License-Identifier: BSD-3-Clause
267
267
  */
268
- var Oe;
269
- const le = window, Ct = le.trustedTypes, hi = Ct ? Ct.createPolicy("lit-html", { createHTML: (n) => n }) : void 0, qe = "$lit$", at = `lit$${(Math.random() + "").slice(9)}$`, Hi = "?" + at, fn = `<${Hi}>`, bt = document, zt = () => bt.createComment(""), Xt = (n) => n === null || typeof n != "object" && typeof n != "function", Oi = Array.isArray, gn = (n) => Oi(n) || typeof (n == null ? void 0 : n[Symbol.iterator]) == "function", Me = `[
268
+ var He;
269
+ const le = window, Ct = le.trustedTypes, ci = Ct ? Ct.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, qe = "$lit$", at = `lit$${(Math.random() + "").slice(9)}$`, Oi = "?" + at, fo = `<${Oi}>`, bt = document, zt = () => bt.createComment(""), Xt = (o) => o === null || typeof o != "object" && typeof o != "function", Hi = Array.isArray, go = (o) => Hi(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", Me = `[
270
270
  \f\r]`, Nt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, pi = /-->/g, fi = />/g, pt = RegExp(`>|${Me}(?:([^\\s"'>=/]+)(${Me}*=${Me}*(?:[^
271
- \f\r"'\`<>=]|("|')|))|$)`, "g"), gi = /'/g, mi = /"/g, Mi = /^(?:script|style|textarea|title)$/i, mn = (n) => (t, ...e) => ({ _$litType$: n, strings: t, values: e }), _ = mn(1), q = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), vi = /* @__PURE__ */ new WeakMap(), yt = bt.createTreeWalker(bt, 129, null, !1);
272
- function Ni(n, t) {
273
- if (!Array.isArray(n) || !n.hasOwnProperty("raw"))
271
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), gi = /'/g, mi = /"/g, Mi = /^(?:script|style|textarea|title)$/i, mo = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), _ = mo(1), q = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), vi = /* @__PURE__ */ new WeakMap(), yt = bt.createTreeWalker(bt, 129, null, !1);
272
+ function Ni(o, t) {
273
+ if (!Array.isArray(o) || !o.hasOwnProperty("raw"))
274
274
  throw Error("invalid template strings array");
275
- return hi !== void 0 ? hi.createHTML(t) : t;
275
+ return ci !== void 0 ? ci.createHTML(t) : t;
276
276
  }
277
- const vn = (n, t) => {
278
- const e = n.length - 1, i = [];
279
- let o, r = t === 2 ? "<svg>" : "", s = Nt;
277
+ const vo = (o, t) => {
278
+ const e = o.length - 1, i = [];
279
+ let n, r = t === 2 ? "<svg>" : "", s = Nt;
280
280
  for (let l = 0; l < e; l++) {
281
- const a = n[l];
282
- let d, h, u = -1, p = 0;
283
- for (; p < a.length && (s.lastIndex = p, h = s.exec(a), h !== null); )
284
- p = s.lastIndex, s === Nt ? h[1] === "!--" ? s = pi : h[1] !== void 0 ? s = fi : h[2] !== void 0 ? (Mi.test(h[2]) && (o = RegExp("</" + h[2], "g")), s = pt) : h[3] !== void 0 && (s = pt) : s === pt ? h[0] === ">" ? (s = o ?? Nt, u = -1) : h[1] === void 0 ? u = -2 : (u = s.lastIndex - h[2].length, d = h[1], s = h[3] === void 0 ? pt : h[3] === '"' ? mi : gi) : s === mi || s === gi ? s = pt : s === pi || s === fi ? s = Nt : (s = pt, o = void 0);
285
- const v = s === pt && n[l + 1].startsWith("/>") ? " " : "";
286
- r += s === Nt ? a + fn : u >= 0 ? (i.push(d), a.slice(0, u) + qe + a.slice(u) + at + v) : a + at + (u === -2 ? (i.push(void 0), l) : v);
287
- }
288
- return [Ni(n, r + (n[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
281
+ const a = o[l];
282
+ let d, c, u = -1, p = 0;
283
+ for (; p < a.length && (s.lastIndex = p, c = s.exec(a), c !== null); )
284
+ p = s.lastIndex, s === Nt ? c[1] === "!--" ? s = pi : c[1] !== void 0 ? s = fi : c[2] !== void 0 ? (Mi.test(c[2]) && (n = RegExp("</" + c[2], "g")), s = pt) : c[3] !== void 0 && (s = pt) : s === pt ? c[0] === ">" ? (s = n ?? Nt, 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] === '"' ? mi : gi) : s === mi || s === gi ? s = pt : s === pi || s === fi ? s = Nt : (s = pt, n = void 0);
285
+ const v = s === pt && o[l + 1].startsWith("/>") ? " " : "";
286
+ r += s === Nt ? a + fo : u >= 0 ? (i.push(d), a.slice(0, u) + qe + a.slice(u) + at + v) : a + at + (u === -2 ? (i.push(void 0), l) : v);
287
+ }
288
+ return [Ni(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : "")), i];
289
289
  };
290
290
  class Yt {
291
291
  constructor({ strings: t, _$litType$: e }, i) {
292
- let o;
292
+ let n;
293
293
  this.parts = [];
294
294
  let r = 0, s = 0;
295
- const l = t.length - 1, a = this.parts, [d, h] = vn(t, e);
295
+ const l = t.length - 1, a = this.parts, [d, c] = vo(t, e);
296
296
  if (this.el = Yt.createElement(d, i), yt.currentNode = this.el.content, e === 2) {
297
297
  const u = this.el.content, p = u.firstChild;
298
298
  p.remove(), u.append(...p.childNodes);
299
299
  }
300
- for (; (o = yt.nextNode()) !== null && a.length < l; ) {
301
- if (o.nodeType === 1) {
302
- if (o.hasAttributes()) {
300
+ for (; (n = yt.nextNode()) !== null && a.length < l; ) {
301
+ if (n.nodeType === 1) {
302
+ if (n.hasAttributes()) {
303
303
  const u = [];
304
- for (const p of o.getAttributeNames())
304
+ for (const p of n.getAttributeNames())
305
305
  if (p.endsWith(qe) || p.startsWith(at)) {
306
- const v = h[s++];
306
+ const v = c[s++];
307
307
  if (u.push(p), v !== void 0) {
308
- const y = o.getAttribute(v.toLowerCase() + qe).split(at), b = /([.?@])?(.*)/.exec(v);
309
- a.push({ type: 1, index: r, name: b[2], strings: y, ctor: b[1] === "." ? bn : b[1] === "?" ? wn : b[1] === "@" ? _n : Te });
308
+ const y = n.getAttribute(v.toLowerCase() + qe).split(at), b = /([.?@])?(.*)/.exec(v);
309
+ a.push({ type: 1, index: r, name: b[2], strings: y, ctor: b[1] === "." ? bo : b[1] === "?" ? wo : b[1] === "@" ? _o : Te });
310
310
  } else
311
311
  a.push({ type: 6, index: r });
312
312
  }
313
313
  for (const p of u)
314
- o.removeAttribute(p);
314
+ n.removeAttribute(p);
315
315
  }
316
- if (Mi.test(o.tagName)) {
317
- const u = o.textContent.split(at), p = u.length - 1;
316
+ if (Mi.test(n.tagName)) {
317
+ const u = n.textContent.split(at), p = u.length - 1;
318
318
  if (p > 0) {
319
- o.textContent = Ct ? Ct.emptyScript : "";
319
+ n.textContent = Ct ? Ct.emptyScript : "";
320
320
  for (let v = 0; v < p; v++)
321
- o.append(u[v], zt()), yt.nextNode(), a.push({ type: 2, index: ++r });
322
- o.append(u[p], zt());
321
+ n.append(u[v], zt()), yt.nextNode(), a.push({ type: 2, index: ++r });
322
+ n.append(u[p], zt());
323
323
  }
324
324
  }
325
- } else if (o.nodeType === 8)
326
- if (o.data === Hi)
325
+ } else if (n.nodeType === 8)
326
+ if (n.data === Oi)
327
327
  a.push({ type: 2, index: r });
328
328
  else {
329
329
  let u = -1;
330
- for (; (u = o.data.indexOf(at, u + 1)) !== -1; )
330
+ for (; (u = n.data.indexOf(at, u + 1)) !== -1; )
331
331
  a.push({ type: 7, index: r }), u += at.length - 1;
332
332
  }
333
333
  r++;
@@ -338,15 +338,15 @@ class Yt {
338
338
  return i.innerHTML = t, i;
339
339
  }
340
340
  }
341
- function St(n, t, e = n, i) {
342
- var o, r, s, l;
341
+ function St(o, t, e = o, i) {
342
+ var n, r, s, l;
343
343
  if (t === q)
344
344
  return t;
345
- let a = i !== void 0 ? (o = e._$Co) === null || o === void 0 ? void 0 : o[i] : e._$Cl;
345
+ let a = i !== void 0 ? (n = e._$Co) === null || n === void 0 ? void 0 : n[i] : e._$Cl;
346
346
  const d = Xt(t) ? void 0 : t._$litDirective$;
347
- return (a == null ? void 0 : a.constructor) !== d && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), d === void 0 ? a = void 0 : (a = new d(n), a._$AT(n, e, i)), i !== void 0 ? ((s = (l = e)._$Co) !== null && s !== void 0 ? s : l._$Co = [])[i] = a : e._$Cl = a), a !== void 0 && (t = St(n, a._$AS(n, t.values), a, i)), t;
347
+ return (a == null ? void 0 : a.constructor) !== d && ((r = a == null ? void 0 : a._$AO) === null || r === void 0 || r.call(a, !1), d === void 0 ? a = void 0 : (a = new d(o), a._$AT(o, e, i)), i !== void 0 ? ((s = (l = e)._$Co) !== null && s !== void 0 ? s : l._$Co = [])[i] = a : e._$Cl = a), a !== void 0 && (t = St(o, a._$AS(o, t.values), a, i)), t;
348
348
  }
349
- class yn {
349
+ class yo {
350
350
  constructor(t, e) {
351
351
  this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
352
352
  }
@@ -358,13 +358,13 @@ class yn {
358
358
  }
359
359
  u(t) {
360
360
  var e;
361
- const { el: { content: i }, parts: o } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : bt).importNode(i, !0);
361
+ const { el: { content: i }, parts: n } = this._$AD, r = ((e = t == null ? void 0 : t.creationScope) !== null && e !== void 0 ? e : bt).importNode(i, !0);
362
362
  yt.currentNode = r;
363
- let s = yt.nextNode(), l = 0, a = 0, d = o[0];
363
+ let s = yt.nextNode(), l = 0, a = 0, d = n[0];
364
364
  for (; d !== void 0; ) {
365
365
  if (l === d.index) {
366
- let h;
367
- d.type === 2 ? h = new jt(s, s.nextSibling, this, t) : d.type === 1 ? h = new d.ctor(s, d.name, d.strings, this, t) : d.type === 6 && (h = new $n(s, this, t)), this._$AV.push(h), d = o[++a];
366
+ let c;
367
+ d.type === 2 ? c = new jt(s, s.nextSibling, this, t) : d.type === 1 ? c = new d.ctor(s, d.name, d.strings, this, t) : d.type === 6 && (c = new $o(s, this, t)), this._$AV.push(c), d = n[++a];
368
368
  }
369
369
  l !== (d == null ? void 0 : d.index) && (s = yt.nextNode(), l++);
370
370
  }
@@ -377,9 +377,9 @@ class yn {
377
377
  }
378
378
  }
379
379
  class jt {
380
- constructor(t, e, i, o) {
380
+ constructor(t, e, i, n) {
381
381
  var r;
382
- this.type = 2, this._$AH = $, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = o, this._$Cp = (r = o == null ? void 0 : o.isConnected) === null || r === void 0 || r;
382
+ this.type = 2, this._$AH = $, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = i, this.options = n, this._$Cp = (r = n == null ? void 0 : n.isConnected) === null || r === void 0 || r;
383
383
  }
384
384
  get _$AU() {
385
385
  var t, e;
@@ -397,7 +397,7 @@ class jt {
397
397
  return this._$AB;
398
398
  }
399
399
  _$AI(t, e = this) {
400
- t = St(this, t, e), Xt(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== q && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : gn(t) ? this.T(t) : this._(t);
400
+ t = St(this, t, e), Xt(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== q && this._(t) : t._$litType$ !== void 0 ? this.g(t) : t.nodeType !== void 0 ? this.$(t) : go(t) ? this.T(t) : this._(t);
401
401
  }
402
402
  k(t) {
403
403
  return this._$AA.parentNode.insertBefore(t, this._$AB);
@@ -410,11 +410,11 @@ class jt {
410
410
  }
411
411
  g(t) {
412
412
  var e;
413
- const { values: i, _$litType$: o } = t, r = typeof o == "number" ? this._$AC(t) : (o.el === void 0 && (o.el = Yt.createElement(Ni(o.h, o.h[0]), this.options)), o);
413
+ const { values: i, _$litType$: n } = t, r = typeof n == "number" ? this._$AC(t) : (n.el === void 0 && (n.el = Yt.createElement(Ni(n.h, n.h[0]), this.options)), n);
414
414
  if (((e = this._$AH) === null || e === void 0 ? void 0 : e._$AD) === r)
415
415
  this._$AH.v(i);
416
416
  else {
417
- const s = new yn(r, this), l = s.u(this.options);
417
+ const s = new yo(r, this), l = s.u(this.options);
418
418
  s.v(i), this.$(l), this._$AH = s;
419
419
  }
420
420
  }
@@ -423,18 +423,18 @@ class jt {
423
423
  return e === void 0 && vi.set(t.strings, e = new Yt(t)), e;
424
424
  }
425
425
  T(t) {
426
- Oi(this._$AH) || (this._$AH = [], this._$AR());
426
+ Hi(this._$AH) || (this._$AH = [], this._$AR());
427
427
  const e = this._$AH;
428
- let i, o = 0;
428
+ let i, n = 0;
429
429
  for (const r of t)
430
- o === e.length ? e.push(i = new jt(this.k(zt()), this.k(zt()), this, this.options)) : i = e[o], i._$AI(r), o++;
431
- o < e.length && (this._$AR(i && i._$AB.nextSibling, o), e.length = o);
430
+ n === e.length ? e.push(i = new jt(this.k(zt()), this.k(zt()), this, this.options)) : i = e[n], i._$AI(r), n++;
431
+ n < e.length && (this._$AR(i && i._$AB.nextSibling, n), e.length = n);
432
432
  }
433
433
  _$AR(t = this._$AA.nextSibling, e) {
434
434
  var i;
435
435
  for ((i = this._$AP) === null || i === void 0 || i.call(this, !1, !0, e); t && t !== this._$AB; ) {
436
- const o = t.nextSibling;
437
- t.remove(), t = o;
436
+ const n = t.nextSibling;
437
+ t.remove(), t = n;
438
438
  }
439
439
  }
440
440
  setConnected(t) {
@@ -443,8 +443,8 @@ class jt {
443
443
  }
444
444
  }
445
445
  class Te {
446
- constructor(t, e, i, o, r) {
447
- this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = e, this._$AM = o, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = $;
446
+ constructor(t, e, i, n, r) {
447
+ this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = e, this._$AM = n, this.options = r, i.length > 2 || i[0] !== "" || i[1] !== "" ? (this._$AH = Array(i.length - 1).fill(new String()), this.strings = i) : this._$AH = $;
448
448
  }
449
449
  get tagName() {
450
450
  return this.element.tagName;
@@ -452,7 +452,7 @@ class Te {
452
452
  get _$AU() {
453
453
  return this._$AM._$AU;
454
454
  }
455
- _$AI(t, e = this, i, o) {
455
+ _$AI(t, e = this, i, n) {
456
456
  const r = this.strings;
457
457
  let s = !1;
458
458
  if (r === void 0)
@@ -463,13 +463,13 @@ class Te {
463
463
  for (t = r[0], a = 0; a < r.length - 1; a++)
464
464
  d = St(this, l[i + a], e, a), d === q && (d = this._$AH[a]), s || (s = !Xt(d) || d !== this._$AH[a]), d === $ ? t = $ : t !== $ && (t += (d ?? "") + r[a + 1]), this._$AH[a] = d;
465
465
  }
466
- s && !o && this.j(t);
466
+ s && !n && this.j(t);
467
467
  }
468
468
  j(t) {
469
469
  t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
470
470
  }
471
471
  }
472
- class bn extends Te {
472
+ class bo extends Te {
473
473
  constructor() {
474
474
  super(...arguments), this.type = 3;
475
475
  }
@@ -477,32 +477,32 @@ class bn extends Te {
477
477
  this.element[this.name] = t === $ ? void 0 : t;
478
478
  }
479
479
  }
480
- const En = Ct ? Ct.emptyScript : "";
481
- class wn extends Te {
480
+ const Eo = Ct ? Ct.emptyScript : "";
481
+ class wo extends Te {
482
482
  constructor() {
483
483
  super(...arguments), this.type = 4;
484
484
  }
485
485
  j(t) {
486
- t && t !== $ ? this.element.setAttribute(this.name, En) : this.element.removeAttribute(this.name);
486
+ t && t !== $ ? this.element.setAttribute(this.name, Eo) : this.element.removeAttribute(this.name);
487
487
  }
488
488
  }
489
- class _n extends Te {
490
- constructor(t, e, i, o, r) {
491
- super(t, e, i, o, r), this.type = 5;
489
+ class _o extends Te {
490
+ constructor(t, e, i, n, r) {
491
+ super(t, e, i, n, r), this.type = 5;
492
492
  }
493
493
  _$AI(t, e = this) {
494
494
  var i;
495
495
  if ((t = (i = St(this, t, e, 0)) !== null && i !== void 0 ? i : $) === q)
496
496
  return;
497
- const o = this._$AH, r = t === $ && o !== $ || t.capture !== o.capture || t.once !== o.once || t.passive !== o.passive, s = t !== $ && (o === $ || r);
498
- r && this.element.removeEventListener(this.name, this, o), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
497
+ const n = this._$AH, r = t === $ && n !== $ || t.capture !== n.capture || t.once !== n.once || t.passive !== n.passive, s = t !== $ && (n === $ || r);
498
+ r && this.element.removeEventListener(this.name, this, n), s && this.element.addEventListener(this.name, this, t), this._$AH = t;
499
499
  }
500
500
  handleEvent(t) {
501
501
  var e, i;
502
502
  typeof this._$AH == "function" ? this._$AH.call((i = (e = this.options) === null || e === void 0 ? void 0 : e.host) !== null && i !== void 0 ? i : this.element, t) : this._$AH.handleEvent(t);
503
503
  }
504
504
  }
505
- class $n {
505
+ class $o {
506
506
  constructor(t, e, i) {
507
507
  this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = i;
508
508
  }
@@ -514,16 +514,16 @@ class $n {
514
514
  }
515
515
  }
516
516
  const yi = le.litHtmlPolyfillSupport;
517
- yi == null || yi(Yt, jt), ((Oe = le.litHtmlVersions) !== null && Oe !== void 0 ? Oe : le.litHtmlVersions = []).push("2.8.0");
518
- const xn = (n, t, e) => {
519
- var i, o;
517
+ yi == null || yi(Yt, jt), ((He = le.litHtmlVersions) !== null && He !== void 0 ? He : le.litHtmlVersions = []).push("2.8.0");
518
+ const xo = (o, t, e) => {
519
+ var i, n;
520
520
  const r = (i = e == null ? void 0 : e.renderBefore) !== null && i !== void 0 ? i : t;
521
521
  let s = r._$litPart$;
522
522
  if (s === void 0) {
523
- const l = (o = e == null ? void 0 : e.renderBefore) !== null && o !== void 0 ? o : null;
523
+ const l = (n = e == null ? void 0 : e.renderBefore) !== null && n !== void 0 ? n : null;
524
524
  r._$litPart$ = s = new jt(t.insertBefore(zt(), l), l, void 0, e ?? {});
525
525
  }
526
- return s._$AI(n), s;
526
+ return s._$AI(o), s;
527
527
  };
528
528
  /**
529
529
  * @license
@@ -542,7 +542,7 @@ let z = class extends _t {
542
542
  }
543
543
  update(t) {
544
544
  const e = this.render();
545
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = xn(e, this.renderRoot, this.renderOptions);
545
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = xo(e, this.renderRoot, this.renderOptions);
546
546
  }
547
547
  connectedCallback() {
548
548
  var t;
@@ -565,15 +565,15 @@ bi == null || bi({ LitElement: z });
565
565
  * Copyright 2021 Google LLC
566
566
  * SPDX-License-Identifier: BSD-3-Clause
567
567
  */
568
- function et(n, t, e) {
569
- return n ? t() : e == null ? void 0 : e();
568
+ function et(o, t, e) {
569
+ return o ? t() : e == null ? void 0 : e();
570
570
  }
571
571
  /**
572
572
  * @license
573
573
  * Copyright 2017 Google LLC
574
574
  * SPDX-License-Identifier: BSD-3-Clause
575
575
  */
576
- const mt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ei = (n) => (...t) => ({ _$litDirective$: n, values: t });
576
+ const mt = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ei = (o) => (...t) => ({ _$litDirective$: o, values: t });
577
577
  let ii = class {
578
578
  constructor(t) {
579
579
  }
@@ -595,21 +595,21 @@ let ii = class {
595
595
  * Copyright 2020 Google LLC
596
596
  * SPDX-License-Identifier: BSD-3-Clause
597
597
  */
598
- const An = (n) => n.strings === void 0, Cn = {}, ki = (n, t = Cn) => n._$AH = t;
598
+ const Ao = (o) => o.strings === void 0, Co = {}, ki = (o, t = Co) => o._$AH = t;
599
599
  /**
600
600
  * @license
601
601
  * Copyright 2021 Google LLC
602
602
  * SPDX-License-Identifier: BSD-3-Clause
603
603
  */
604
- const Sn = ei(class extends ii {
604
+ const So = ei(class extends ii {
605
605
  constructor() {
606
606
  super(...arguments), this.key = $;
607
607
  }
608
- render(n, t) {
609
- return this.key = n, t;
608
+ render(o, t) {
609
+ return this.key = o, t;
610
610
  }
611
- update(n, [t, e]) {
612
- return t !== this.key && (ki(n), this.key = t), e;
611
+ update(o, [t, e]) {
612
+ return t !== this.key && (ki(o), this.key = t), e;
613
613
  }
614
614
  });
615
615
  /**!
@@ -618,176 +618,176 @@ const Sn = ei(class extends ii {
618
618
  * @author owenm <owen23355@gmail.com>
619
619
  * @license MIT
620
620
  */
621
- function Ei(n, t) {
622
- var e = Object.keys(n);
621
+ function Ei(o, t) {
622
+ var e = Object.keys(o);
623
623
  if (Object.getOwnPropertySymbols) {
624
- var i = Object.getOwnPropertySymbols(n);
625
- t && (i = i.filter(function(o) {
626
- return Object.getOwnPropertyDescriptor(n, o).enumerable;
624
+ var i = Object.getOwnPropertySymbols(o);
625
+ t && (i = i.filter(function(n) {
626
+ return Object.getOwnPropertyDescriptor(o, n).enumerable;
627
627
  })), e.push.apply(e, i);
628
628
  }
629
629
  return e;
630
630
  }
631
- function K(n) {
631
+ function K(o) {
632
632
  for (var t = 1; t < arguments.length; t++) {
633
633
  var e = arguments[t] != null ? arguments[t] : {};
634
634
  t % 2 ? Ei(Object(e), !0).forEach(function(i) {
635
- Tn(n, i, e[i]);
636
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(e)) : Ei(Object(e)).forEach(function(i) {
637
- Object.defineProperty(n, i, Object.getOwnPropertyDescriptor(e, i));
635
+ To(o, i, e[i]);
636
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(o, Object.getOwnPropertyDescriptors(e)) : Ei(Object(e)).forEach(function(i) {
637
+ Object.defineProperty(o, i, Object.getOwnPropertyDescriptor(e, i));
638
638
  });
639
639
  }
640
- return n;
640
+ return o;
641
641
  }
642
- function ee(n) {
642
+ function ee(o) {
643
643
  "@babel/helpers - typeof";
644
644
  return typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? ee = function(t) {
645
645
  return typeof t;
646
646
  } : ee = function(t) {
647
647
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
648
- }, ee(n);
648
+ }, ee(o);
649
649
  }
650
- function Tn(n, t, e) {
651
- return t in n ? Object.defineProperty(n, t, {
650
+ function To(o, t, e) {
651
+ return t in o ? Object.defineProperty(o, t, {
652
652
  value: e,
653
653
  enumerable: !0,
654
654
  configurable: !0,
655
655
  writable: !0
656
- }) : n[t] = e, n;
656
+ }) : o[t] = e, o;
657
657
  }
658
658
  function it() {
659
- return it = Object.assign || function(n) {
659
+ return it = Object.assign || function(o) {
660
660
  for (var t = 1; t < arguments.length; t++) {
661
661
  var e = arguments[t];
662
662
  for (var i in e)
663
- Object.prototype.hasOwnProperty.call(e, i) && (n[i] = e[i]);
663
+ Object.prototype.hasOwnProperty.call(e, i) && (o[i] = e[i]);
664
664
  }
665
- return n;
665
+ return o;
666
666
  }, it.apply(this, arguments);
667
667
  }
668
- function Dn(n, t) {
669
- if (n == null)
668
+ function Do(o, t) {
669
+ if (o == null)
670
670
  return {};
671
- var e = {}, i = Object.keys(n), o, r;
671
+ var e = {}, i = Object.keys(o), n, r;
672
672
  for (r = 0; r < i.length; r++)
673
- o = i[r], !(t.indexOf(o) >= 0) && (e[o] = n[o]);
673
+ n = i[r], !(t.indexOf(n) >= 0) && (e[n] = o[n]);
674
674
  return e;
675
675
  }
676
- function Pn(n, t) {
677
- if (n == null)
676
+ function Po(o, t) {
677
+ if (o == null)
678
678
  return {};
679
- var e = Dn(n, t), i, o;
679
+ var e = Do(o, t), i, n;
680
680
  if (Object.getOwnPropertySymbols) {
681
- var r = Object.getOwnPropertySymbols(n);
682
- for (o = 0; o < r.length; o++)
683
- i = r[o], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(n, i) && (e[i] = n[i]);
681
+ var r = Object.getOwnPropertySymbols(o);
682
+ for (n = 0; n < r.length; n++)
683
+ i = r[n], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(o, i) && (e[i] = o[i]);
684
684
  }
685
685
  return e;
686
686
  }
687
- var Hn = "1.15.0";
688
- function tt(n) {
687
+ var Oo = "1.15.0";
688
+ function tt(o) {
689
689
  if (typeof window < "u" && window.navigator)
690
- return !!/* @__PURE__ */ navigator.userAgent.match(n);
690
+ return !!/* @__PURE__ */ navigator.userAgent.match(o);
691
691
  }
692
- var nt = tt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), qt = tt(/Edge/i), wi = tt(/firefox/i), Lt = tt(/safari/i) && !tt(/chrome/i) && !tt(/android/i), Ii = tt(/iP(ad|od|hone)/i), Vi = tt(/chrome/i) && tt(/android/i), Li = {
692
+ var ot = tt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), qt = tt(/Edge/i), wi = tt(/firefox/i), Rt = tt(/safari/i) && !tt(/chrome/i) && !tt(/android/i), Ii = tt(/iP(ad|od|hone)/i), Vi = tt(/chrome/i) && tt(/android/i), Ri = {
693
693
  capture: !1,
694
694
  passive: !1
695
695
  };
696
- function w(n, t, e) {
697
- n.addEventListener(t, e, !nt && Li);
696
+ function w(o, t, e) {
697
+ o.addEventListener(t, e, !ot && Ri);
698
698
  }
699
- function E(n, t, e) {
700
- n.removeEventListener(t, e, !nt && Li);
699
+ function E(o, t, e) {
700
+ o.removeEventListener(t, e, !ot && Ri);
701
701
  }
702
- function de(n, t) {
702
+ function de(o, t) {
703
703
  if (t) {
704
- if (t[0] === ">" && (t = t.substring(1)), n)
704
+ if (t[0] === ">" && (t = t.substring(1)), o)
705
705
  try {
706
- if (n.matches)
707
- return n.matches(t);
708
- if (n.msMatchesSelector)
709
- return n.msMatchesSelector(t);
710
- if (n.webkitMatchesSelector)
711
- return n.webkitMatchesSelector(t);
706
+ if (o.matches)
707
+ return o.matches(t);
708
+ if (o.msMatchesSelector)
709
+ return o.msMatchesSelector(t);
710
+ if (o.webkitMatchesSelector)
711
+ return o.webkitMatchesSelector(t);
712
712
  } catch {
713
713
  return !1;
714
714
  }
715
715
  return !1;
716
716
  }
717
717
  }
718
- function On(n) {
719
- return n.host && n !== document && n.host.nodeType ? n.host : n.parentNode;
718
+ function Ho(o) {
719
+ return o.host && o !== document && o.host.nodeType ? o.host : o.parentNode;
720
720
  }
721
- function Z(n, t, e, i) {
722
- if (n) {
721
+ function Z(o, t, e, i) {
722
+ if (o) {
723
723
  e = e || document;
724
724
  do {
725
- if (t != null && (t[0] === ">" ? n.parentNode === e && de(n, t) : de(n, t)) || i && n === e)
726
- return n;
727
- if (n === e)
725
+ if (t != null && (t[0] === ">" ? o.parentNode === e && de(o, t) : de(o, t)) || i && o === e)
726
+ return o;
727
+ if (o === e)
728
728
  break;
729
- } while (n = On(n));
729
+ } while (o = Ho(o));
730
730
  }
731
731
  return null;
732
732
  }
733
733
  var _i = /\s+/g;
734
- function B(n, t, e) {
735
- if (n && t)
736
- if (n.classList)
737
- n.classList[e ? "add" : "remove"](t);
734
+ function B(o, t, e) {
735
+ if (o && t)
736
+ if (o.classList)
737
+ o.classList[e ? "add" : "remove"](t);
738
738
  else {
739
- var i = (" " + n.className + " ").replace(_i, " ").replace(" " + t + " ", " ");
740
- n.className = (i + (e ? " " + t : "")).replace(_i, " ");
739
+ var i = (" " + o.className + " ").replace(_i, " ").replace(" " + t + " ", " ");
740
+ o.className = (i + (e ? " " + t : "")).replace(_i, " ");
741
741
  }
742
742
  }
743
- function f(n, t, e) {
744
- var i = n && n.style;
743
+ function f(o, t, e) {
744
+ var i = o && o.style;
745
745
  if (i) {
746
746
  if (e === void 0)
747
- return document.defaultView && document.defaultView.getComputedStyle ? e = document.defaultView.getComputedStyle(n, "") : n.currentStyle && (e = n.currentStyle), t === void 0 ? e : e[t];
747
+ return document.defaultView && document.defaultView.getComputedStyle ? e = document.defaultView.getComputedStyle(o, "") : o.currentStyle && (e = o.currentStyle), t === void 0 ? e : e[t];
748
748
  !(t in i) && t.indexOf("webkit") === -1 && (t = "-webkit-" + t), i[t] = e + (typeof e == "string" ? "" : "px");
749
749
  }
750
750
  }
751
- function At(n, t) {
751
+ function At(o, t) {
752
752
  var e = "";
753
- if (typeof n == "string")
754
- e = n;
753
+ if (typeof o == "string")
754
+ e = o;
755
755
  else
756
756
  do {
757
- var i = f(n, "transform");
757
+ var i = f(o, "transform");
758
758
  i && i !== "none" && (e = i + " " + e);
759
- } while (!t && (n = n.parentNode));
760
- var o = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
761
- return o && new o(e);
759
+ } while (!t && (o = o.parentNode));
760
+ var n = window.DOMMatrix || window.WebKitCSSMatrix || window.CSSMatrix || window.MSCSSMatrix;
761
+ return n && new n(e);
762
762
  }
763
- function Bi(n, t, e) {
764
- if (n) {
765
- var i = n.getElementsByTagName(t), o = 0, r = i.length;
763
+ function Bi(o, t, e) {
764
+ if (o) {
765
+ var i = o.getElementsByTagName(t), n = 0, r = i.length;
766
766
  if (e)
767
- for (; o < r; o++)
768
- e(i[o], o);
767
+ for (; n < r; n++)
768
+ e(i[n], n);
769
769
  return i;
770
770
  }
771
771
  return [];
772
772
  }
773
773
  function G() {
774
- var n = document.scrollingElement;
775
- return n || document.documentElement;
774
+ var o = document.scrollingElement;
775
+ return o || document.documentElement;
776
776
  }
777
- function T(n, t, e, i, o) {
778
- if (!(!n.getBoundingClientRect && n !== window)) {
779
- var r, s, l, a, d, h, u;
780
- if (n !== window && n.parentNode && n !== G() ? (r = n.getBoundingClientRect(), s = r.top, l = r.left, a = r.bottom, d = r.right, h = r.height, u = r.width) : (s = 0, l = 0, a = window.innerHeight, d = window.innerWidth, h = window.innerHeight, u = window.innerWidth), (t || e) && n !== window && (o = o || n.parentNode, !nt))
777
+ function T(o, t, e, i, n) {
778
+ if (!(!o.getBoundingClientRect && o !== window)) {
779
+ var r, s, l, a, d, c, u;
780
+ if (o !== window && o.parentNode && o !== G() ? (r = o.getBoundingClientRect(), s = r.top, l = r.left, a = r.bottom, d = r.right, c = r.height, u = r.width) : (s = 0, l = 0, a = window.innerHeight, d = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (t || e) && o !== window && (n = n || o.parentNode, !ot))
781
781
  do
782
- if (o && o.getBoundingClientRect && (f(o, "transform") !== "none" || e && f(o, "position") !== "static")) {
783
- var p = o.getBoundingClientRect();
784
- s -= p.top + parseInt(f(o, "border-top-width")), l -= p.left + parseInt(f(o, "border-left-width")), a = s + r.height, d = l + r.width;
782
+ if (n && n.getBoundingClientRect && (f(n, "transform") !== "none" || e && f(n, "position") !== "static")) {
783
+ var p = n.getBoundingClientRect();
784
+ s -= p.top + parseInt(f(n, "border-top-width")), l -= p.left + parseInt(f(n, "border-left-width")), a = s + r.height, d = l + r.width;
785
785
  break;
786
786
  }
787
- while (o = o.parentNode);
788
- if (i && n !== window) {
789
- var v = At(o || n), y = v && v.a, b = v && v.d;
790
- v && (s /= b, l /= y, u /= y, h /= b, a = s + h, d = l + u);
787
+ while (n = n.parentNode);
788
+ if (i && o !== window) {
789
+ var v = At(n || o), y = v && v.a, b = v && v.d;
790
+ v && (s /= b, l /= y, u /= y, c /= b, a = s + c, d = l + u);
791
791
  }
792
792
  return {
793
793
  top: s,
@@ -795,14 +795,14 @@ function T(n, t, e, i, o) {
795
795
  bottom: a,
796
796
  right: d,
797
797
  width: u,
798
- height: h
798
+ height: c
799
799
  };
800
800
  }
801
801
  }
802
- function $i(n, t, e) {
803
- for (var i = dt(n, !0), o = T(n)[t]; i; ) {
802
+ function $i(o, t, e) {
803
+ for (var i = dt(o, !0), n = T(o)[t]; i; ) {
804
804
  var r = T(i)[e], s = void 0;
805
- if (e === "top" || e === "left" ? s = o >= r : s = o <= r, !s)
805
+ if (e === "top" || e === "left" ? s = n >= r : s = n <= r, !s)
806
806
  return i;
807
807
  if (i === G())
808
808
  break;
@@ -810,56 +810,56 @@ function $i(n, t, e) {
810
810
  }
811
811
  return !1;
812
812
  }
813
- function Tt(n, t, e, i) {
814
- for (var o = 0, r = 0, s = n.children; r < s.length; ) {
815
- if (s[r].style.display !== "none" && s[r] !== g.ghost && (i || s[r] !== g.dragged) && Z(s[r], e.draggable, n, !1)) {
816
- if (o === t)
813
+ function Tt(o, t, e, i) {
814
+ for (var n = 0, r = 0, s = o.children; r < s.length; ) {
815
+ if (s[r].style.display !== "none" && s[r] !== g.ghost && (i || s[r] !== g.dragged) && Z(s[r], e.draggable, o, !1)) {
816
+ if (n === t)
817
817
  return s[r];
818
- o++;
818
+ n++;
819
819
  }
820
820
  r++;
821
821
  }
822
822
  return null;
823
823
  }
824
- function ni(n, t) {
825
- for (var e = n.lastElementChild; e && (e === g.ghost || f(e, "display") === "none" || t && !de(e, t)); )
824
+ function oi(o, t) {
825
+ for (var e = o.lastElementChild; e && (e === g.ghost || f(e, "display") === "none" || t && !de(e, t)); )
826
826
  e = e.previousElementSibling;
827
827
  return e || null;
828
828
  }
829
- function F(n, t) {
829
+ function F(o, t) {
830
830
  var e = 0;
831
- if (!n || !n.parentNode)
831
+ if (!o || !o.parentNode)
832
832
  return -1;
833
- for (; n = n.previousElementSibling; )
834
- n.nodeName.toUpperCase() !== "TEMPLATE" && n !== g.clone && (!t || de(n, t)) && e++;
833
+ for (; o = o.previousElementSibling; )
834
+ o.nodeName.toUpperCase() !== "TEMPLATE" && o !== g.clone && (!t || de(o, t)) && e++;
835
835
  return e;
836
836
  }
837
- function xi(n) {
837
+ function xi(o) {
838
838
  var t = 0, e = 0, i = G();
839
- if (n)
839
+ if (o)
840
840
  do {
841
- var o = At(n), r = o.a, s = o.d;
842
- t += n.scrollLeft * r, e += n.scrollTop * s;
843
- } while (n !== i && (n = n.parentNode));
841
+ var n = At(o), r = n.a, s = n.d;
842
+ t += o.scrollLeft * r, e += o.scrollTop * s;
843
+ } while (o !== i && (o = o.parentNode));
844
844
  return [t, e];
845
845
  }
846
- function Mn(n, t) {
847
- for (var e in n)
848
- if (n.hasOwnProperty(e)) {
846
+ function Mo(o, t) {
847
+ for (var e in o)
848
+ if (o.hasOwnProperty(e)) {
849
849
  for (var i in t)
850
- if (t.hasOwnProperty(i) && t[i] === n[e][i])
850
+ if (t.hasOwnProperty(i) && t[i] === o[e][i])
851
851
  return Number(e);
852
852
  }
853
853
  return -1;
854
854
  }
855
- function dt(n, t) {
856
- if (!n || !n.getBoundingClientRect)
855
+ function dt(o, t) {
856
+ if (!o || !o.getBoundingClientRect)
857
857
  return G();
858
- var e = n, i = !1;
858
+ var e = o, i = !1;
859
859
  do
860
860
  if (e.clientWidth < e.scrollWidth || e.clientHeight < e.scrollHeight) {
861
- var o = f(e);
862
- if (e.clientWidth < e.scrollWidth && (o.overflowX == "auto" || o.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (o.overflowY == "auto" || o.overflowY == "scroll")) {
861
+ var n = f(e);
862
+ if (e.clientWidth < e.scrollWidth && (n.overflowX == "auto" || n.overflowX == "scroll") || e.clientHeight < e.scrollHeight && (n.overflowY == "auto" || n.overflowY == "scroll")) {
863
863
  if (!e.getBoundingClientRect || e === document.body)
864
864
  return G();
865
865
  if (i || t)
@@ -870,100 +870,100 @@ function dt(n, t) {
870
870
  while (e = e.parentNode);
871
871
  return G();
872
872
  }
873
- function Nn(n, t) {
874
- if (n && t)
873
+ function No(o, t) {
874
+ if (o && t)
875
875
  for (var e in t)
876
- t.hasOwnProperty(e) && (n[e] = t[e]);
877
- return n;
876
+ t.hasOwnProperty(e) && (o[e] = t[e]);
877
+ return o;
878
878
  }
879
- function Ie(n, t) {
880
- return Math.round(n.top) === Math.round(t.top) && Math.round(n.left) === Math.round(t.left) && Math.round(n.height) === Math.round(t.height) && Math.round(n.width) === Math.round(t.width);
879
+ function Ie(o, t) {
880
+ return Math.round(o.top) === Math.round(t.top) && Math.round(o.left) === Math.round(t.left) && Math.round(o.height) === Math.round(t.height) && Math.round(o.width) === Math.round(t.width);
881
881
  }
882
882
  var Bt;
883
- function Ri(n, t) {
883
+ function Li(o, t) {
884
884
  return function() {
885
885
  if (!Bt) {
886
886
  var e = arguments, i = this;
887
- e.length === 1 ? n.call(i, e[0]) : n.apply(i, e), Bt = setTimeout(function() {
887
+ e.length === 1 ? o.call(i, e[0]) : o.apply(i, e), Bt = setTimeout(function() {
888
888
  Bt = void 0;
889
889
  }, t);
890
890
  }
891
891
  };
892
892
  }
893
- function kn() {
893
+ function ko() {
894
894
  clearTimeout(Bt), Bt = void 0;
895
895
  }
896
- function Ui(n, t, e) {
897
- n.scrollLeft += t, n.scrollTop += e;
896
+ function Ui(o, t, e) {
897
+ o.scrollLeft += t, o.scrollTop += e;
898
898
  }
899
- function Fi(n) {
899
+ function Fi(o) {
900
900
  var t = window.Polymer, e = window.jQuery || window.Zepto;
901
- return t && t.dom ? t.dom(n).cloneNode(!0) : e ? e(n).clone(!0)[0] : n.cloneNode(!0);
901
+ return t && t.dom ? t.dom(o).cloneNode(!0) : e ? e(o).clone(!0)[0] : o.cloneNode(!0);
902
902
  }
903
903
  var U = "Sortable" + (/* @__PURE__ */ new Date()).getTime();
904
- function In() {
905
- var n = [], t;
904
+ function Io() {
905
+ var o = [], t;
906
906
  return {
907
907
  captureAnimationState: function() {
908
- if (n = [], !!this.options.animation) {
908
+ if (o = [], !!this.options.animation) {
909
909
  var i = [].slice.call(this.el.children);
910
- i.forEach(function(o) {
911
- if (!(f(o, "display") === "none" || o === g.ghost)) {
912
- n.push({
913
- target: o,
914
- rect: T(o)
910
+ i.forEach(function(n) {
911
+ if (!(f(n, "display") === "none" || n === g.ghost)) {
912
+ o.push({
913
+ target: n,
914
+ rect: T(n)
915
915
  });
916
- var r = K({}, n[n.length - 1].rect);
917
- if (o.thisAnimationDuration) {
918
- var s = At(o, !0);
916
+ var r = K({}, o[o.length - 1].rect);
917
+ if (n.thisAnimationDuration) {
918
+ var s = At(n, !0);
919
919
  s && (r.top -= s.f, r.left -= s.e);
920
920
  }
921
- o.fromRect = r;
921
+ n.fromRect = r;
922
922
  }
923
923
  });
924
924
  }
925
925
  },
926
926
  addAnimationState: function(i) {
927
- n.push(i);
927
+ o.push(i);
928
928
  },
929
929
  removeAnimationState: function(i) {
930
- n.splice(Mn(n, {
930
+ o.splice(Mo(o, {
931
931
  target: i
932
932
  }), 1);
933
933
  },
934
934
  animateAll: function(i) {
935
- var o = this;
935
+ var n = this;
936
936
  if (!this.options.animation) {
937
937
  clearTimeout(t), typeof i == "function" && i();
938
938
  return;
939
939
  }
940
940
  var r = !1, s = 0;
941
- n.forEach(function(l) {
942
- var a = 0, d = l.target, h = d.fromRect, u = T(d), p = d.prevFromRect, v = d.prevToRect, y = l.rect, b = At(d, !0);
943
- b && (u.top -= b.f, u.left -= b.e), d.toRect = u, d.thisAnimationDuration && Ie(p, u) && !Ie(h, u) && // Make sure animatingRect is on line between toRect & fromRect
944
- (y.top - u.top) / (y.left - u.left) === (h.top - u.top) / (h.left - u.left) && (a = Ln(y, p, v, o.options)), Ie(u, h) || (d.prevFromRect = h, d.prevToRect = u, a || (a = o.options.animation), o.animate(d, y, u, a)), a && (r = !0, s = Math.max(s, a), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
941
+ o.forEach(function(l) {
942
+ var a = 0, d = l.target, c = d.fromRect, u = T(d), p = d.prevFromRect, v = d.prevToRect, y = l.rect, b = At(d, !0);
943
+ b && (u.top -= b.f, u.left -= b.e), d.toRect = u, d.thisAnimationDuration && Ie(p, u) && !Ie(c, u) && // Make sure animatingRect is on line between toRect & fromRect
944
+ (y.top - u.top) / (y.left - u.left) === (c.top - u.top) / (c.left - u.left) && (a = Ro(y, p, v, n.options)), Ie(u, c) || (d.prevFromRect = c, d.prevToRect = u, a || (a = n.options.animation), n.animate(d, y, u, a)), a && (r = !0, s = Math.max(s, a), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
945
945
  d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
946
946
  }, a), d.thisAnimationDuration = a);
947
947
  }), clearTimeout(t), r ? t = setTimeout(function() {
948
948
  typeof i == "function" && i();
949
- }, s) : typeof i == "function" && i(), n = [];
949
+ }, s) : typeof i == "function" && i(), o = [];
950
950
  },
951
- animate: function(i, o, r, s) {
951
+ animate: function(i, n, r, s) {
952
952
  if (s) {
953
953
  f(i, "transition", ""), f(i, "transform", "");
954
- var l = At(this.el), a = l && l.a, d = l && l.d, h = (o.left - r.left) / (a || 1), u = (o.top - r.top) / (d || 1);
955
- i.animatingX = !!h, i.animatingY = !!u, f(i, "transform", "translate3d(" + h + "px," + u + "px,0)"), this.forRepaintDummy = Vn(i), f(i, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), f(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
954
+ var l = At(this.el), a = l && l.a, d = l && l.d, c = (n.left - r.left) / (a || 1), u = (n.top - r.top) / (d || 1);
955
+ i.animatingX = !!c, i.animatingY = !!u, f(i, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = Vo(i), f(i, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), f(i, "transform", "translate3d(0,0,0)"), typeof i.animated == "number" && clearTimeout(i.animated), i.animated = setTimeout(function() {
956
956
  f(i, "transition", ""), f(i, "transform", ""), i.animated = !1, i.animatingX = !1, i.animatingY = !1;
957
957
  }, s);
958
958
  }
959
959
  }
960
960
  };
961
961
  }
962
- function Vn(n) {
963
- return n.offsetWidth;
962
+ function Vo(o) {
963
+ return o.offsetWidth;
964
964
  }
965
- function Ln(n, t, e, i) {
966
- return Math.sqrt(Math.pow(t.top - n.top, 2) + Math.pow(t.left - n.left, 2)) / Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) * i.animation;
965
+ function Ro(o, t, e, i) {
966
+ return Math.sqrt(Math.pow(t.top - o.top, 2) + Math.pow(t.left - o.left, 2)) / Math.sqrt(Math.pow(t.top - e.top, 2) + Math.pow(t.left - e.left, 2)) * i.animation;
967
967
  }
968
968
  var Et = [], Ve = {
969
969
  initializeByDefault: !0
@@ -977,9 +977,9 @@ var Et = [], Ve = {
977
977
  }), Et.push(t);
978
978
  },
979
979
  pluginEvent: function(t, e, i) {
980
- var o = this;
980
+ var n = this;
981
981
  this.eventCanceled = !1, i.cancel = function() {
982
- o.eventCanceled = !0;
982
+ n.eventCanceled = !0;
983
983
  };
984
984
  var r = t + "Global";
985
985
  Et.forEach(function(s) {
@@ -990,7 +990,7 @@ var Et = [], Ve = {
990
990
  }, i)));
991
991
  });
992
992
  },
993
- initializePlugins: function(t, e, i, o) {
993
+ initializePlugins: function(t, e, i, n) {
994
994
  Et.forEach(function(l) {
995
995
  var a = l.pluginName;
996
996
  if (!(!t.options[a] && !l.initializeByDefault)) {
@@ -1006,35 +1006,35 @@ var Et = [], Ve = {
1006
1006
  },
1007
1007
  getEventProperties: function(t, e) {
1008
1008
  var i = {};
1009
- return Et.forEach(function(o) {
1010
- typeof o.eventProperties == "function" && it(i, o.eventProperties.call(e[o.pluginName], t));
1009
+ return Et.forEach(function(n) {
1010
+ typeof n.eventProperties == "function" && it(i, n.eventProperties.call(e[n.pluginName], t));
1011
1011
  }), i;
1012
1012
  },
1013
1013
  modifyOption: function(t, e, i) {
1014
- var o;
1014
+ var n;
1015
1015
  return Et.forEach(function(r) {
1016
- t[r.pluginName] && r.optionListeners && typeof r.optionListeners[e] == "function" && (o = r.optionListeners[e].call(t[r.pluginName], i));
1017
- }), o;
1016
+ t[r.pluginName] && r.optionListeners && typeof r.optionListeners[e] == "function" && (n = r.optionListeners[e].call(t[r.pluginName], i));
1017
+ }), n;
1018
1018
  }
1019
1019
  };
1020
- function Bn(n) {
1021
- var t = n.sortable, e = n.rootEl, i = n.name, o = n.targetEl, r = n.cloneEl, s = n.toEl, l = n.fromEl, a = n.oldIndex, d = n.newIndex, h = n.oldDraggableIndex, u = n.newDraggableIndex, p = n.originalEvent, v = n.putSortable, y = n.extraEventProperties;
1020
+ function Bo(o) {
1021
+ var t = o.sortable, e = o.rootEl, i = o.name, n = o.targetEl, r = o.cloneEl, s = o.toEl, l = o.fromEl, a = o.oldIndex, d = o.newIndex, c = o.oldDraggableIndex, u = o.newDraggableIndex, p = o.originalEvent, v = o.putSortable, y = o.extraEventProperties;
1022
1022
  if (t = t || e && e[U], !!t) {
1023
1023
  var b, X = t.options, J = "on" + i.charAt(0).toUpperCase() + i.substr(1);
1024
- window.CustomEvent && !nt && !qt ? b = new CustomEvent(i, {
1024
+ window.CustomEvent && !ot && !qt ? b = new CustomEvent(i, {
1025
1025
  bubbles: !0,
1026
1026
  cancelable: !0
1027
- }) : (b = document.createEvent("Event"), b.initEvent(i, !0, !0)), b.to = s || e, b.from = l || e, b.item = o || e, b.clone = r, b.oldIndex = a, b.newIndex = d, b.oldDraggableIndex = h, b.newDraggableIndex = u, b.originalEvent = p, b.pullMode = v ? v.lastPutMode : void 0;
1028
- var H = K(K({}, y), Wt.getEventProperties(i, t));
1029
- for (var Y in H)
1030
- b[Y] = H[Y];
1027
+ }) : (b = document.createEvent("Event"), b.initEvent(i, !0, !0)), b.to = s || e, b.from = l || e, b.item = n || e, b.clone = r, b.oldIndex = a, b.newIndex = d, b.oldDraggableIndex = c, b.newDraggableIndex = u, b.originalEvent = p, b.pullMode = v ? v.lastPutMode : void 0;
1028
+ var O = K(K({}, y), Wt.getEventProperties(i, t));
1029
+ for (var Y in O)
1030
+ b[Y] = O[Y];
1031
1031
  e && e.dispatchEvent(b), X[J] && X[J].call(t, b);
1032
1032
  }
1033
1033
  }
1034
- var Rn = ["evt"], k = function(t, e) {
1035
- var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, o = i.evt, r = Pn(i, Rn);
1034
+ var Lo = ["evt"], k = function(t, e) {
1035
+ var i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = i.evt, r = Po(i, Lo);
1036
1036
  Wt.pluginEvent.bind(g)(t, e, K({
1037
- dragEl: c,
1037
+ dragEl: h,
1038
1038
  parentEl: C,
1039
1039
  ghostEl: m,
1040
1040
  rootEl: x,
@@ -1045,10 +1045,10 @@ var Rn = ["evt"], k = function(t, e) {
1045
1045
  dragStarted: kt,
1046
1046
  putSortable: D,
1047
1047
  activeSortable: g.active,
1048
- originalEvent: o,
1048
+ originalEvent: n,
1049
1049
  oldIndex: xt,
1050
- oldDraggableIndex: Rt,
1051
- newIndex: R,
1050
+ oldDraggableIndex: Lt,
1051
+ newIndex: L,
1052
1052
  newDraggableIndex: st,
1053
1053
  hideGhostForTarget: ji,
1054
1054
  unhideGhostForTarget: qi,
@@ -1062,32 +1062,32 @@ var Rn = ["evt"], k = function(t, e) {
1062
1062
  N({
1063
1063
  sortable: e,
1064
1064
  name: l,
1065
- originalEvent: o
1065
+ originalEvent: n
1066
1066
  });
1067
1067
  }
1068
1068
  }, r));
1069
1069
  };
1070
- function N(n) {
1071
- Bn(K({
1070
+ function N(o) {
1071
+ Bo(K({
1072
1072
  putSortable: D,
1073
1073
  cloneEl: A,
1074
- targetEl: c,
1074
+ targetEl: h,
1075
1075
  rootEl: x,
1076
1076
  oldIndex: xt,
1077
- oldDraggableIndex: Rt,
1078
- newIndex: R,
1077
+ oldDraggableIndex: Lt,
1078
+ newIndex: L,
1079
1079
  newDraggableIndex: st
1080
- }, n));
1080
+ }, o));
1081
1081
  }
1082
- var c, C, m, x, vt, ie, A, lt, xt, R, Rt, st, Gt, D, $t = !1, ue = !1, ce = [], ft, j, Le, Be, Ai, Ci, kt, wt, Ut, Ft = !1, Kt = !1, ne, P, Re = [], We = !1, he = [], De = typeof document < "u", Jt = Ii, Si = qt || nt ? "cssFloat" : "float", Un = De && !Vi && !Ii && "draggable" in document.createElement("div"), zi = function() {
1082
+ var h, C, m, x, vt, ie, A, lt, xt, L, Lt, st, Gt, D, $t = !1, ue = !1, he = [], ft, j, Re, Be, Ai, Ci, kt, wt, Ut, Ft = !1, Kt = !1, oe, P, Le = [], We = !1, ce = [], De = typeof document < "u", Jt = Ii, Si = qt || ot ? "cssFloat" : "float", Uo = De && !Vi && !Ii && "draggable" in document.createElement("div"), zi = function() {
1083
1083
  if (De) {
1084
- if (nt)
1084
+ if (ot)
1085
1085
  return !1;
1086
- var n = document.createElement("x");
1087
- return n.style.cssText = "pointer-events:auto", n.style.pointerEvents === "auto";
1086
+ var o = document.createElement("x");
1087
+ return o.style.cssText = "pointer-events:auto", o.style.pointerEvents === "auto";
1088
1088
  }
1089
1089
  }(), Xi = function(t, e) {
1090
- var i = f(t), o = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), r = Tt(t, 0, e), s = Tt(t, 1, e), l = r && f(r), a = s && f(s), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + T(r).width, h = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + T(s).width;
1090
+ var i = f(t), n = parseInt(i.width) - parseInt(i.paddingLeft) - parseInt(i.paddingRight) - parseInt(i.borderLeftWidth) - parseInt(i.borderRightWidth), r = Tt(t, 0, e), s = Tt(t, 1, e), l = r && f(r), a = s && f(s), d = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + T(r).width, c = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + T(s).width;
1091
1091
  if (i.display === "flex")
1092
1092
  return i.flexDirection === "column" || i.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1093
1093
  if (i.display === "grid")
@@ -1096,23 +1096,23 @@ var c, C, m, x, vt, ie, A, lt, xt, R, Rt, st, Gt, D, $t = !1, ue = !1, ce = [],
1096
1096
  var u = l.float === "left" ? "left" : "right";
1097
1097
  return s && (a.clear === "both" || a.clear === u) ? "vertical" : "horizontal";
1098
1098
  }
1099
- return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= o && i[Si] === "none" || s && i[Si] === "none" && d + h > o) ? "vertical" : "horizontal";
1100
- }, Fn = function(t, e, i) {
1101
- var o = i ? t.left : t.top, r = i ? t.right : t.bottom, s = i ? t.width : t.height, l = i ? e.left : e.top, a = i ? e.right : e.bottom, d = i ? e.width : e.height;
1102
- return o === l || r === a || o + s / 2 === l + d / 2;
1103
- }, zn = function(t, e) {
1099
+ return r && (l.display === "block" || l.display === "flex" || l.display === "table" || l.display === "grid" || d >= n && i[Si] === "none" || s && i[Si] === "none" && d + c > n) ? "vertical" : "horizontal";
1100
+ }, Fo = function(t, e, i) {
1101
+ var n = i ? t.left : t.top, r = i ? t.right : t.bottom, s = i ? t.width : t.height, l = i ? e.left : e.top, a = i ? e.right : e.bottom, d = i ? e.width : e.height;
1102
+ return n === l || r === a || n + s / 2 === l + d / 2;
1103
+ }, zo = function(t, e) {
1104
1104
  var i;
1105
- return ce.some(function(o) {
1106
- var r = o[U].options.emptyInsertThreshold;
1107
- if (!(!r || ni(o))) {
1108
- var s = T(o), l = t >= s.left - r && t <= s.right + r, a = e >= s.top - r && e <= s.bottom + r;
1105
+ return he.some(function(n) {
1106
+ var r = n[U].options.emptyInsertThreshold;
1107
+ if (!(!r || oi(n))) {
1108
+ var s = T(n), l = t >= s.left - r && t <= s.right + r, a = e >= s.top - r && e <= s.bottom + r;
1109
1109
  if (l && a)
1110
- return i = o;
1110
+ return i = n;
1111
1111
  }
1112
1112
  }), i;
1113
1113
  }, Yi = function(t) {
1114
1114
  function e(r, s) {
1115
- return function(l, a, d, h) {
1115
+ return function(l, a, d, c) {
1116
1116
  var u = l.options.group.name && a.options.group.name && l.options.group.name === a.options.group.name;
1117
1117
  if (r == null && (s || u))
1118
1118
  return !0;
@@ -1121,49 +1121,49 @@ var c, C, m, x, vt, ie, A, lt, xt, R, Rt, st, Gt, D, $t = !1, ue = !1, ce = [],
1121
1121
  if (s && r === "clone")
1122
1122
  return r;
1123
1123
  if (typeof r == "function")
1124
- return e(r(l, a, d, h), s)(l, a, d, h);
1124
+ return e(r(l, a, d, c), s)(l, a, d, c);
1125
1125
  var p = (s ? l : a).options.group.name;
1126
1126
  return r === !0 || typeof r == "string" && r === p || r.join && r.indexOf(p) > -1;
1127
1127
  };
1128
1128
  }
1129
- var i = {}, o = t.group;
1130
- (!o || ee(o) != "object") && (o = {
1131
- name: o
1132
- }), i.name = o.name, i.checkPull = e(o.pull, !0), i.checkPut = e(o.put), i.revertClone = o.revertClone, t.group = i;
1129
+ var i = {}, n = t.group;
1130
+ (!n || ee(n) != "object") && (n = {
1131
+ name: n
1132
+ }), i.name = n.name, i.checkPull = e(n.pull, !0), i.checkPut = e(n.put), i.revertClone = n.revertClone, t.group = i;
1133
1133
  }, ji = function() {
1134
1134
  !zi && m && f(m, "display", "none");
1135
1135
  }, qi = function() {
1136
1136
  !zi && m && f(m, "display", "");
1137
1137
  };
1138
- De && !Vi && document.addEventListener("click", function(n) {
1138
+ De && !Vi && document.addEventListener("click", function(o) {
1139
1139
  if (ue)
1140
- return n.preventDefault(), n.stopPropagation && n.stopPropagation(), n.stopImmediatePropagation && n.stopImmediatePropagation(), ue = !1, !1;
1140
+ return o.preventDefault(), o.stopPropagation && o.stopPropagation(), o.stopImmediatePropagation && o.stopImmediatePropagation(), ue = !1, !1;
1141
1141
  }, !0);
1142
1142
  var gt = function(t) {
1143
- if (c) {
1143
+ if (h) {
1144
1144
  t = t.touches ? t.touches[0] : t;
1145
- var e = zn(t.clientX, t.clientY);
1145
+ var e = zo(t.clientX, t.clientY);
1146
1146
  if (e) {
1147
1147
  var i = {};
1148
- for (var o in t)
1149
- t.hasOwnProperty(o) && (i[o] = t[o]);
1148
+ for (var n in t)
1149
+ t.hasOwnProperty(n) && (i[n] = t[n]);
1150
1150
  i.target = i.rootEl = e, i.preventDefault = void 0, i.stopPropagation = void 0, e[U]._onDragOver(i);
1151
1151
  }
1152
1152
  }
1153
- }, Xn = function(t) {
1154
- c && c.parentNode[U]._isOutsideThisEl(t.target);
1153
+ }, Xo = function(t) {
1154
+ h && h.parentNode[U]._isOutsideThisEl(t.target);
1155
1155
  };
1156
- function g(n, t) {
1157
- if (!(n && n.nodeType && n.nodeType === 1))
1158
- throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(n));
1159
- this.el = n, this.options = t = it({}, t), n[U] = this;
1156
+ function g(o, t) {
1157
+ if (!(o && o.nodeType && o.nodeType === 1))
1158
+ throw "Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(o));
1159
+ this.el = o, this.options = t = it({}, t), o[U] = this;
1160
1160
  var e = {
1161
1161
  group: null,
1162
1162
  sort: !0,
1163
1163
  disabled: !1,
1164
1164
  store: null,
1165
1165
  handle: null,
1166
- draggable: /^[uo]l$/i.test(n.nodeName) ? ">li" : ">*",
1166
+ draggable: /^[uo]l$/i.test(o.nodeName) ? ">li" : ">*",
1167
1167
  swapThreshold: 1,
1168
1168
  // percentage; 0 <= x <= 1
1169
1169
  invertSwap: !1,
@@ -1172,7 +1172,7 @@ function g(n, t) {
1172
1172
  // will be set to same as swapThreshold if default
1173
1173
  removeCloneOnHide: !0,
1174
1174
  direction: function() {
1175
- return Xi(n, this.options);
1175
+ return Xi(o, this.options);
1176
1176
  },
1177
1177
  ghostClass: "sortable-ghost",
1178
1178
  chosenClass: "sortable-chosen",
@@ -1199,16 +1199,16 @@ function g(n, t) {
1199
1199
  x: 0,
1200
1200
  y: 0
1201
1201
  },
1202
- supportPointer: g.supportPointer !== !1 && "PointerEvent" in window && !Lt,
1202
+ supportPointer: g.supportPointer !== !1 && "PointerEvent" in window && !Rt,
1203
1203
  emptyInsertThreshold: 5
1204
1204
  };
1205
- Wt.initializePlugins(this, n, e);
1205
+ Wt.initializePlugins(this, o, e);
1206
1206
  for (var i in e)
1207
1207
  !(i in t) && (t[i] = e[i]);
1208
1208
  Yi(t);
1209
- for (var o in this)
1210
- o.charAt(0) === "_" && typeof this[o] == "function" && (this[o] = this[o].bind(this));
1211
- this.nativeDraggable = t.forceFallback ? !1 : Un, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? w(n, "pointerdown", this._onTapStart) : (w(n, "mousedown", this._onTapStart), w(n, "touchstart", this._onTapStart)), this.nativeDraggable && (w(n, "dragover", this), w(n, "dragenter", this)), ce.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), it(this, In());
1209
+ for (var n in this)
1210
+ n.charAt(0) === "_" && typeof this[n] == "function" && (this[n] = this[n].bind(this));
1211
+ this.nativeDraggable = t.forceFallback ? !1 : Uo, this.nativeDraggable && (this.options.touchStartThreshold = 1), t.supportPointer ? w(o, "pointerdown", this._onTapStart) : (w(o, "mousedown", this._onTapStart), w(o, "touchstart", this._onTapStart)), this.nativeDraggable && (w(o, "dragover", this), w(o, "dragenter", this)), he.push(this.el), t.store && t.store.get && this.sort(t.store.get(this) || []), it(this, Io());
1212
1212
  }
1213
1213
  g.prototype = /** @lends Sortable.prototype */
1214
1214
  {
@@ -1217,14 +1217,14 @@ g.prototype = /** @lends Sortable.prototype */
1217
1217
  !this.el.contains(t) && t !== this.el && (wt = null);
1218
1218
  },
1219
1219
  _getDirection: function(t, e) {
1220
- return typeof this.options.direction == "function" ? this.options.direction.call(this, t, e, c) : this.options.direction;
1220
+ return typeof this.options.direction == "function" ? this.options.direction.call(this, t, e, h) : this.options.direction;
1221
1221
  },
1222
1222
  _onTapStart: function(t) {
1223
1223
  if (t.cancelable) {
1224
- var e = this, i = this.el, o = this.options, r = o.preventOnFilter, s = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, a = (l || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || a, h = o.filter;
1225
- if (Jn(i), !c && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !d.isContentEditable && !(!this.nativeDraggable && Lt && a && a.tagName.toUpperCase() === "SELECT") && (a = Z(a, o.draggable, i, !1), !(a && a.animated) && ie !== a)) {
1226
- if (xt = F(a), Rt = F(a, o.draggable), typeof h == "function") {
1227
- if (h.call(this, t, a, this)) {
1224
+ var e = this, i = this.el, n = this.options, r = n.preventOnFilter, s = t.type, l = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, a = (l || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || a, c = n.filter;
1225
+ if (Jo(i), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || n.disabled) && !d.isContentEditable && !(!this.nativeDraggable && Rt && a && a.tagName.toUpperCase() === "SELECT") && (a = Z(a, n.draggable, i, !1), !(a && a.animated) && ie !== a)) {
1226
+ if (xt = F(a), Lt = F(a, n.draggable), typeof c == "function") {
1227
+ if (c.call(this, t, a, this)) {
1228
1228
  N({
1229
1229
  sortable: e,
1230
1230
  rootEl: d,
@@ -1237,7 +1237,7 @@ g.prototype = /** @lends Sortable.prototype */
1237
1237
  }), r && t.cancelable && t.preventDefault();
1238
1238
  return;
1239
1239
  }
1240
- } else if (h && (h = h.split(",").some(function(u) {
1240
+ } else if (c && (c = c.split(",").some(function(u) {
1241
1241
  if (u = Z(d, u.trim(), i, !1), u)
1242
1242
  return N({
1243
1243
  sortable: e,
@@ -1249,44 +1249,44 @@ g.prototype = /** @lends Sortable.prototype */
1249
1249
  }), k("filter", e, {
1250
1250
  evt: t
1251
1251
  }), !0;
1252
- }), h)) {
1252
+ }), c)) {
1253
1253
  r && t.cancelable && t.preventDefault();
1254
1254
  return;
1255
1255
  }
1256
- o.handle && !Z(d, o.handle, i, !1) || this._prepareDragStart(t, l, a);
1256
+ n.handle && !Z(d, n.handle, i, !1) || this._prepareDragStart(t, l, a);
1257
1257
  }
1258
1258
  }
1259
1259
  },
1260
1260
  _prepareDragStart: function(t, e, i) {
1261
- var o = this, r = o.el, s = o.options, l = r.ownerDocument, a;
1262
- if (i && !c && i.parentNode === r) {
1261
+ var n = this, r = n.el, s = n.options, l = r.ownerDocument, a;
1262
+ if (i && !h && i.parentNode === r) {
1263
1263
  var d = T(i);
1264
- if (x = r, c = i, C = c.parentNode, vt = c.nextSibling, ie = i, Gt = s.group, g.dragged = c, ft = {
1265
- target: c,
1264
+ if (x = r, h = i, C = h.parentNode, vt = h.nextSibling, ie = i, Gt = s.group, g.dragged = h, ft = {
1265
+ target: h,
1266
1266
  clientX: (e || t).clientX,
1267
1267
  clientY: (e || t).clientY
1268
- }, Ai = ft.clientX - d.left, Ci = ft.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, c.style["will-change"] = "all", a = function() {
1269
- if (k("delayEnded", o, {
1268
+ }, Ai = ft.clientX - d.left, Ci = ft.clientY - d.top, this._lastX = (e || t).clientX, this._lastY = (e || t).clientY, h.style["will-change"] = "all", a = function() {
1269
+ if (k("delayEnded", n, {
1270
1270
  evt: t
1271
1271
  }), g.eventCanceled) {
1272
- o._onDrop();
1272
+ n._onDrop();
1273
1273
  return;
1274
1274
  }
1275
- o._disableDelayedDragEvents(), !wi && o.nativeDraggable && (c.draggable = !0), o._triggerDragStart(t, e), N({
1276
- sortable: o,
1275
+ n._disableDelayedDragEvents(), !wi && n.nativeDraggable && (h.draggable = !0), n._triggerDragStart(t, e), N({
1276
+ sortable: n,
1277
1277
  name: "choose",
1278
1278
  originalEvent: t
1279
- }), B(c, s.chosenClass, !0);
1280
- }, s.ignore.split(",").forEach(function(h) {
1281
- Bi(c, h.trim(), Ue);
1282
- }), w(l, "dragover", gt), w(l, "mousemove", gt), w(l, "touchmove", gt), w(l, "mouseup", o._onDrop), w(l, "touchend", o._onDrop), w(l, "touchcancel", o._onDrop), wi && this.nativeDraggable && (this.options.touchStartThreshold = 4, c.draggable = !0), k("delayStart", this, {
1279
+ }), B(h, s.chosenClass, !0);
1280
+ }, s.ignore.split(",").forEach(function(c) {
1281
+ Bi(h, c.trim(), Ue);
1282
+ }), w(l, "dragover", gt), w(l, "mousemove", gt), w(l, "touchmove", gt), w(l, "mouseup", n._onDrop), w(l, "touchend", n._onDrop), w(l, "touchcancel", n._onDrop), wi && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), k("delayStart", this, {
1283
1283
  evt: t
1284
- }), s.delay && (!s.delayOnTouchOnly || e) && (!this.nativeDraggable || !(qt || nt))) {
1284
+ }), s.delay && (!s.delayOnTouchOnly || e) && (!this.nativeDraggable || !(qt || ot))) {
1285
1285
  if (g.eventCanceled) {
1286
1286
  this._onDrop();
1287
1287
  return;
1288
1288
  }
1289
- w(l, "mouseup", o._disableDelayedDrag), w(l, "touchend", o._disableDelayedDrag), w(l, "touchcancel", o._disableDelayedDrag), w(l, "mousemove", o._delayedDragTouchMoveHandler), w(l, "touchmove", o._delayedDragTouchMoveHandler), s.supportPointer && w(l, "pointermove", o._delayedDragTouchMoveHandler), o._dragStartTimer = setTimeout(a, s.delay);
1289
+ w(l, "mouseup", n._disableDelayedDrag), w(l, "touchend", n._disableDelayedDrag), w(l, "touchcancel", n._disableDelayedDrag), w(l, "mousemove", n._delayedDragTouchMoveHandler), w(l, "touchmove", n._delayedDragTouchMoveHandler), s.supportPointer && w(l, "pointermove", n._delayedDragTouchMoveHandler), n._dragStartTimer = setTimeout(a, s.delay);
1290
1290
  } else
1291
1291
  a();
1292
1292
  }
@@ -1296,28 +1296,28 @@ g.prototype = /** @lends Sortable.prototype */
1296
1296
  Math.max(Math.abs(e.clientX - this._lastX), Math.abs(e.clientY - this._lastY)) >= Math.floor(this.options.touchStartThreshold / (this.nativeDraggable && window.devicePixelRatio || 1)) && this._disableDelayedDrag();
1297
1297
  },
1298
1298
  _disableDelayedDrag: function() {
1299
- c && Ue(c), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
1299
+ h && Ue(h), clearTimeout(this._dragStartTimer), this._disableDelayedDragEvents();
1300
1300
  },
1301
1301
  _disableDelayedDragEvents: function() {
1302
1302
  var t = this.el.ownerDocument;
1303
1303
  E(t, "mouseup", this._disableDelayedDrag), E(t, "touchend", this._disableDelayedDrag), E(t, "touchcancel", this._disableDelayedDrag), E(t, "mousemove", this._delayedDragTouchMoveHandler), E(t, "touchmove", this._delayedDragTouchMoveHandler), E(t, "pointermove", this._delayedDragTouchMoveHandler);
1304
1304
  },
1305
1305
  _triggerDragStart: function(t, e) {
1306
- e = e || t.pointerType == "touch" && t, !this.nativeDraggable || e ? this.options.supportPointer ? w(document, "pointermove", this._onTouchMove) : e ? w(document, "touchmove", this._onTouchMove) : w(document, "mousemove", this._onTouchMove) : (w(c, "dragend", this), w(x, "dragstart", this._onDragStart));
1306
+ e = e || t.pointerType == "touch" && t, !this.nativeDraggable || e ? this.options.supportPointer ? w(document, "pointermove", this._onTouchMove) : e ? w(document, "touchmove", this._onTouchMove) : w(document, "mousemove", this._onTouchMove) : (w(h, "dragend", this), w(x, "dragstart", this._onDragStart));
1307
1307
  try {
1308
- document.selection ? oe(function() {
1308
+ document.selection ? ne(function() {
1309
1309
  document.selection.empty();
1310
1310
  }) : window.getSelection().removeAllRanges();
1311
1311
  } catch {
1312
1312
  }
1313
1313
  },
1314
1314
  _dragStarted: function(t, e) {
1315
- if ($t = !1, x && c) {
1315
+ if ($t = !1, x && h) {
1316
1316
  k("dragStarted", this, {
1317
1317
  evt: e
1318
- }), this.nativeDraggable && w(document, "dragover", Xn);
1318
+ }), this.nativeDraggable && w(document, "dragover", Xo);
1319
1319
  var i = this.options;
1320
- !t && B(c, i.dragClass, !1), B(c, i.ghostClass, !0), g.active = this, t && this._appendGhost(), N({
1320
+ !t && B(h, i.dragClass, !1), B(h, i.ghostClass, !0), g.active = this, t && this._appendGhost(), N({
1321
1321
  sortable: this,
1322
1322
  name: "start",
1323
1323
  originalEvent: e
@@ -1330,7 +1330,7 @@ g.prototype = /** @lends Sortable.prototype */
1330
1330
  this._lastX = j.clientX, this._lastY = j.clientY, ji();
1331
1331
  for (var t = document.elementFromPoint(j.clientX, j.clientY), e = t; t && t.shadowRoot && (t = t.shadowRoot.elementFromPoint(j.clientX, j.clientY), t !== e); )
1332
1332
  e = t;
1333
- if (c.parentNode[U]._isOutsideThisEl(t), e)
1333
+ if (h.parentNode[U]._isOutsideThisEl(t), e)
1334
1334
  do {
1335
1335
  if (e[U]) {
1336
1336
  var i = void 0;
@@ -1349,139 +1349,139 @@ g.prototype = /** @lends Sortable.prototype */
1349
1349
  },
1350
1350
  _onTouchMove: function(t) {
1351
1351
  if (ft) {
1352
- var e = this.options, i = e.fallbackTolerance, o = e.fallbackOffset, r = t.touches ? t.touches[0] : t, s = m && At(m, !0), l = m && s && s.a, a = m && s && s.d, d = Jt && P && xi(P), h = (r.clientX - ft.clientX + o.x) / (l || 1) + (d ? d[0] - Re[0] : 0) / (l || 1), u = (r.clientY - ft.clientY + o.y) / (a || 1) + (d ? d[1] - Re[1] : 0) / (a || 1);
1352
+ var e = this.options, i = e.fallbackTolerance, n = e.fallbackOffset, r = t.touches ? t.touches[0] : t, s = m && At(m, !0), l = m && s && s.a, a = m && s && s.d, d = Jt && P && xi(P), c = (r.clientX - ft.clientX + n.x) / (l || 1) + (d ? d[0] - Le[0] : 0) / (l || 1), u = (r.clientY - ft.clientY + n.y) / (a || 1) + (d ? d[1] - Le[1] : 0) / (a || 1);
1353
1353
  if (!g.active && !$t) {
1354
1354
  if (i && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < i)
1355
1355
  return;
1356
1356
  this._onDragStart(t, !0);
1357
1357
  }
1358
1358
  if (m) {
1359
- s ? (s.e += h - (Le || 0), s.f += u - (Be || 0)) : s = {
1359
+ s ? (s.e += c - (Re || 0), s.f += u - (Be || 0)) : s = {
1360
1360
  a: 1,
1361
1361
  b: 0,
1362
1362
  c: 0,
1363
1363
  d: 1,
1364
- e: h,
1364
+ e: c,
1365
1365
  f: u
1366
1366
  };
1367
1367
  var p = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
1368
- f(m, "webkitTransform", p), f(m, "mozTransform", p), f(m, "msTransform", p), f(m, "transform", p), Le = h, Be = u, j = r;
1368
+ f(m, "webkitTransform", p), f(m, "mozTransform", p), f(m, "msTransform", p), f(m, "transform", p), Re = c, Be = u, j = r;
1369
1369
  }
1370
1370
  t.cancelable && t.preventDefault();
1371
1371
  }
1372
1372
  },
1373
1373
  _appendGhost: function() {
1374
1374
  if (!m) {
1375
- var t = this.options.fallbackOnBody ? document.body : x, e = T(c, !0, Jt, !0, t), i = this.options;
1375
+ var t = this.options.fallbackOnBody ? document.body : x, e = T(h, !0, Jt, !0, t), i = this.options;
1376
1376
  if (Jt) {
1377
1377
  for (P = t; f(P, "position") === "static" && f(P, "transform") === "none" && P !== document; )
1378
1378
  P = P.parentNode;
1379
- P !== document.body && P !== document.documentElement ? (P === document && (P = G()), e.top += P.scrollTop, e.left += P.scrollLeft) : P = G(), Re = xi(P);
1379
+ P !== document.body && P !== document.documentElement ? (P === document && (P = G()), e.top += P.scrollTop, e.left += P.scrollLeft) : P = G(), Le = xi(P);
1380
1380
  }
1381
- m = c.cloneNode(!0), B(m, i.ghostClass, !1), B(m, i.fallbackClass, !0), B(m, i.dragClass, !0), f(m, "transition", ""), f(m, "transform", ""), f(m, "box-sizing", "border-box"), f(m, "margin", 0), f(m, "top", e.top), f(m, "left", e.left), f(m, "width", e.width), f(m, "height", e.height), f(m, "opacity", "0.8"), f(m, "position", Jt ? "absolute" : "fixed"), f(m, "zIndex", "100000"), f(m, "pointerEvents", "none"), g.ghost = m, t.appendChild(m), f(m, "transform-origin", Ai / parseInt(m.style.width) * 100 + "% " + Ci / parseInt(m.style.height) * 100 + "%");
1381
+ m = h.cloneNode(!0), B(m, i.ghostClass, !1), B(m, i.fallbackClass, !0), B(m, i.dragClass, !0), f(m, "transition", ""), f(m, "transform", ""), f(m, "box-sizing", "border-box"), f(m, "margin", 0), f(m, "top", e.top), f(m, "left", e.left), f(m, "width", e.width), f(m, "height", e.height), f(m, "opacity", "0.8"), f(m, "position", Jt ? "absolute" : "fixed"), f(m, "zIndex", "100000"), f(m, "pointerEvents", "none"), g.ghost = m, t.appendChild(m), f(m, "transform-origin", Ai / parseInt(m.style.width) * 100 + "% " + Ci / parseInt(m.style.height) * 100 + "%");
1382
1382
  }
1383
1383
  },
1384
1384
  _onDragStart: function(t, e) {
1385
- var i = this, o = t.dataTransfer, r = i.options;
1385
+ var i = this, n = t.dataTransfer, r = i.options;
1386
1386
  if (k("dragStart", this, {
1387
1387
  evt: t
1388
1388
  }), g.eventCanceled) {
1389
1389
  this._onDrop();
1390
1390
  return;
1391
1391
  }
1392
- k("setupClone", this), g.eventCanceled || (A = Fi(c), A.removeAttribute("id"), A.draggable = !1, A.style["will-change"] = "", this._hideClone(), B(A, this.options.chosenClass, !1), g.clone = A), i.cloneId = oe(function() {
1393
- k("clone", i), !g.eventCanceled && (i.options.removeCloneOnHide || x.insertBefore(A, c), i._hideClone(), N({
1392
+ k("setupClone", this), g.eventCanceled || (A = Fi(h), A.removeAttribute("id"), A.draggable = !1, A.style["will-change"] = "", this._hideClone(), B(A, this.options.chosenClass, !1), g.clone = A), i.cloneId = ne(function() {
1393
+ k("clone", i), !g.eventCanceled && (i.options.removeCloneOnHide || x.insertBefore(A, h), i._hideClone(), N({
1394
1394
  sortable: i,
1395
1395
  name: "clone"
1396
1396
  }));
1397
- }), !e && B(c, r.dragClass, !0), e ? (ue = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (E(document, "mouseup", i._onDrop), E(document, "touchend", i._onDrop), E(document, "touchcancel", i._onDrop), o && (o.effectAllowed = "move", r.setData && r.setData.call(i, o, c)), w(document, "drop", i), f(c, "transform", "translateZ(0)")), $t = !0, i._dragStartId = oe(i._dragStarted.bind(i, e, t)), w(document, "selectstart", i), kt = !0, Lt && f(document.body, "user-select", "none");
1397
+ }), !e && B(h, r.dragClass, !0), e ? (ue = !0, i._loopId = setInterval(i._emulateDragOver, 50)) : (E(document, "mouseup", i._onDrop), E(document, "touchend", i._onDrop), E(document, "touchcancel", i._onDrop), n && (n.effectAllowed = "move", r.setData && r.setData.call(i, n, h)), w(document, "drop", i), f(h, "transform", "translateZ(0)")), $t = !0, i._dragStartId = ne(i._dragStarted.bind(i, e, t)), w(document, "selectstart", i), kt = !0, Rt && f(document.body, "user-select", "none");
1398
1398
  },
1399
1399
  // Returns true - if no further action is needed (either inserted or another condition)
1400
1400
  _onDragOver: function(t) {
1401
- var e = this.el, i = t.target, o, r, s, l = this.options, a = l.group, d = g.active, h = Gt === a, u = l.sort, p = D || d, v, y = this, b = !1;
1401
+ var e = this.el, i = t.target, n, r, s, l = this.options, a = l.group, d = g.active, c = Gt === a, u = l.sort, p = D || d, v, y = this, b = !1;
1402
1402
  if (We)
1403
1403
  return;
1404
- function X(Mt, rn) {
1404
+ function X(Mt, no) {
1405
1405
  k(Mt, y, K({
1406
1406
  evt: t,
1407
- isOwner: h,
1407
+ isOwner: c,
1408
1408
  axis: v ? "vertical" : "horizontal",
1409
1409
  revert: s,
1410
- dragRect: o,
1410
+ dragRect: n,
1411
1411
  targetRect: r,
1412
1412
  canSort: u,
1413
1413
  fromSortable: p,
1414
1414
  target: i,
1415
- completed: H,
1416
- onMove: function(ai, sn) {
1417
- return Qt(x, e, c, o, ai, T(ai), t, sn);
1415
+ completed: O,
1416
+ onMove: function(ai, ro) {
1417
+ return Qt(x, e, h, n, ai, T(ai), t, ro);
1418
1418
  },
1419
1419
  changed: Y
1420
- }, rn));
1420
+ }, no));
1421
1421
  }
1422
1422
  function J() {
1423
1423
  X("dragOverAnimationCapture"), y.captureAnimationState(), y !== p && p.captureAnimationState();
1424
1424
  }
1425
- function H(Mt) {
1425
+ function O(Mt) {
1426
1426
  return X("dragOverCompleted", {
1427
1427
  insertion: Mt
1428
- }), Mt && (h ? d._hideClone() : d._showClone(y), y !== p && (B(c, D ? D.options.ghostClass : d.options.ghostClass, !1), B(c, l.ghostClass, !0)), D !== y && y !== g.active ? D = y : y === g.active && D && (D = null), p === y && (y._ignoreWhileAnimating = i), y.animateAll(function() {
1428
+ }), Mt && (c ? d._hideClone() : d._showClone(y), y !== p && (B(h, D ? D.options.ghostClass : d.options.ghostClass, !1), B(h, l.ghostClass, !0)), D !== y && y !== g.active ? D = y : y === g.active && D && (D = null), p === y && (y._ignoreWhileAnimating = i), y.animateAll(function() {
1429
1429
  X("dragOverAnimationComplete"), y._ignoreWhileAnimating = null;
1430
- }), y !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (i === c && !c.animated || i === e && !i.animated) && (wt = null), !l.dragoverBubble && !t.rootEl && i !== document && (c.parentNode[U]._isOutsideThisEl(t.target), !Mt && gt(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
1430
+ }), y !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (i === h && !h.animated || i === e && !i.animated) && (wt = null), !l.dragoverBubble && !t.rootEl && i !== document && (h.parentNode[U]._isOutsideThisEl(t.target), !Mt && gt(t)), !l.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
1431
1431
  }
1432
1432
  function Y() {
1433
- R = F(c), st = F(c, l.draggable), N({
1433
+ L = F(h), st = F(h, l.draggable), N({
1434
1434
  sortable: y,
1435
1435
  name: "change",
1436
1436
  toEl: e,
1437
- newIndex: R,
1437
+ newIndex: L,
1438
1438
  newDraggableIndex: st,
1439
1439
  originalEvent: t
1440
1440
  });
1441
1441
  }
1442
1442
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), i = Z(i, l.draggable, e, !0), X("dragOver"), g.eventCanceled)
1443
1443
  return b;
1444
- if (c.contains(t.target) || i.animated && i.animatingX && i.animatingY || y._ignoreWhileAnimating === i)
1445
- return H(!1);
1446
- if (ue = !1, d && !l.disabled && (h ? u || (s = C !== x) : D === this || (this.lastPutMode = Gt.checkPull(this, d, c, t)) && a.checkPut(this, d, c, t))) {
1447
- if (v = this._getDirection(t, i) === "vertical", o = T(c), X("dragOverValid"), g.eventCanceled)
1444
+ if (h.contains(t.target) || i.animated && i.animatingX && i.animatingY || y._ignoreWhileAnimating === i)
1445
+ return O(!1);
1446
+ if (ue = !1, d && !l.disabled && (c ? u || (s = C !== x) : D === this || (this.lastPutMode = Gt.checkPull(this, d, h, t)) && a.checkPut(this, d, h, t))) {
1447
+ if (v = this._getDirection(t, i) === "vertical", n = T(h), X("dragOverValid"), g.eventCanceled)
1448
1448
  return b;
1449
1449
  if (s)
1450
- return C = x, J(), this._hideClone(), X("revert"), g.eventCanceled || (vt ? x.insertBefore(c, vt) : x.appendChild(c)), H(!0);
1451
- var I = ni(e, l.draggable);
1452
- if (!I || Wn(t, v, this) && !I.animated) {
1453
- if (I === c)
1454
- return H(!1);
1455
- if (I && e === t.target && (i = I), i && (r = T(i)), Qt(x, e, c, o, i, r, t, !!i) !== !1)
1456
- return J(), I && I.nextSibling ? e.insertBefore(c, I.nextSibling) : e.appendChild(c), C = e, Y(), H(!0);
1457
- } else if (I && qn(t, v, this)) {
1450
+ return C = x, J(), this._hideClone(), X("revert"), g.eventCanceled || (vt ? x.insertBefore(h, vt) : x.appendChild(h)), O(!0);
1451
+ var I = oi(e, l.draggable);
1452
+ if (!I || Wo(t, v, this) && !I.animated) {
1453
+ if (I === h)
1454
+ return O(!1);
1455
+ if (I && e === t.target && (i = I), i && (r = T(i)), Qt(x, e, h, n, i, r, t, !!i) !== !1)
1456
+ return J(), I && I.nextSibling ? e.insertBefore(h, I.nextSibling) : e.appendChild(h), C = e, Y(), O(!0);
1457
+ } else if (I && qo(t, v, this)) {
1458
1458
  var ut = Tt(e, 0, l, !0);
1459
- if (ut === c)
1460
- return H(!1);
1461
- if (i = ut, r = T(i), Qt(x, e, c, o, i, r, t, !1) !== !1)
1462
- return J(), e.insertBefore(c, ut), C = e, Y(), H(!0);
1459
+ if (ut === h)
1460
+ return O(!1);
1461
+ if (i = ut, r = T(i), Qt(x, e, h, n, i, r, t, !1) !== !1)
1462
+ return J(), e.insertBefore(h, ut), C = e, Y(), O(!0);
1463
1463
  } else if (i.parentNode === e) {
1464
1464
  r = T(i);
1465
- var W = 0, ct, Dt = c.parentNode !== e, V = !Fn(c.animated && c.toRect || o, i.animated && i.toRect || r, v), Pt = v ? "top" : "left", ot = $i(i, "top", "top") || $i(c, "top", "top"), Ht = ot ? ot.scrollTop : void 0;
1466
- wt !== i && (ct = r[Pt], Ft = !1, Kt = !V && l.invertSwap || Dt), W = Zn(t, i, r, v, V ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Kt, wt === i);
1465
+ var W = 0, ht, Dt = h.parentNode !== e, V = !Fo(h.animated && h.toRect || n, i.animated && i.toRect || r, v), Pt = v ? "top" : "left", nt = $i(i, "top", "top") || $i(h, "top", "top"), Ot = nt ? nt.scrollTop : void 0;
1466
+ wt !== i && (ht = r[Pt], Ft = !1, Kt = !V && l.invertSwap || Dt), W = Zo(t, i, r, v, V ? 1 : l.swapThreshold, l.invertedSwapThreshold == null ? l.swapThreshold : l.invertedSwapThreshold, Kt, wt === i);
1467
1467
  var Q;
1468
1468
  if (W !== 0) {
1469
- var ht = F(c);
1469
+ var ct = F(h);
1470
1470
  do
1471
- ht -= W, Q = C.children[ht];
1471
+ ct -= W, Q = C.children[ct];
1472
1472
  while (Q && (f(Q, "display") === "none" || Q === m));
1473
1473
  }
1474
1474
  if (W === 0 || Q === i)
1475
- return H(!1);
1475
+ return O(!1);
1476
1476
  wt = i, Ut = W;
1477
- var Ot = i.nextElementSibling, rt = !1;
1477
+ var Ht = i.nextElementSibling, rt = !1;
1478
1478
  rt = W === 1;
1479
- var Zt = Qt(x, e, c, o, i, r, t, rt);
1479
+ var Zt = Qt(x, e, h, n, i, r, t, rt);
1480
1480
  if (Zt !== !1)
1481
- return (Zt === 1 || Zt === -1) && (rt = Zt === 1), We = !0, setTimeout(jn, 30), J(), rt && !Ot ? e.appendChild(c) : i.parentNode.insertBefore(c, rt ? Ot : i), ot && Ui(ot, 0, Ht - ot.scrollTop), C = c.parentNode, ct !== void 0 && !Kt && (ne = Math.abs(ct - T(i)[Pt])), Y(), H(!0);
1481
+ return (Zt === 1 || Zt === -1) && (rt = Zt === 1), We = !0, setTimeout(jo, 30), J(), rt && !Ht ? e.appendChild(h) : i.parentNode.insertBefore(h, rt ? Ht : i), nt && Ui(nt, 0, Ot - nt.scrollTop), C = h.parentNode, ht !== void 0 && !Kt && (oe = Math.abs(ht - T(i)[Pt])), Y(), O(!0);
1482
1482
  }
1483
- if (e.contains(c))
1484
- return H(!1);
1483
+ if (e.contains(h))
1484
+ return O(!1);
1485
1485
  }
1486
1486
  return !1;
1487
1487
  },
@@ -1495,20 +1495,20 @@ g.prototype = /** @lends Sortable.prototype */
1495
1495
  },
1496
1496
  _onDrop: function(t) {
1497
1497
  var e = this.el, i = this.options;
1498
- if (R = F(c), st = F(c, i.draggable), k("drop", this, {
1498
+ if (L = F(h), st = F(h, i.draggable), k("drop", this, {
1499
1499
  evt: t
1500
- }), C = c && c.parentNode, R = F(c), st = F(c, i.draggable), g.eventCanceled) {
1500
+ }), C = h && h.parentNode, L = F(h), st = F(h, i.draggable), g.eventCanceled) {
1501
1501
  this._nulling();
1502
1502
  return;
1503
1503
  }
1504
- $t = !1, Kt = !1, Ft = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ze(this.cloneId), Ze(this._dragStartId), this.nativeDraggable && (E(document, "drop", this), E(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Lt && f(document.body, "user-select", ""), f(c, "transform", ""), t && (kt && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (x === C || D && D.lastPutMode !== "clone") && A && A.parentNode && A.parentNode.removeChild(A), c && (this.nativeDraggable && E(c, "dragend", this), Ue(c), c.style["will-change"] = "", kt && !$t && B(c, D ? D.options.ghostClass : this.options.ghostClass, !1), B(c, this.options.chosenClass, !1), N({
1504
+ $t = !1, Kt = !1, Ft = !1, clearInterval(this._loopId), clearTimeout(this._dragStartTimer), Ze(this.cloneId), Ze(this._dragStartId), this.nativeDraggable && (E(document, "drop", this), E(e, "dragstart", this._onDragStart)), this._offMoveEvents(), this._offUpEvents(), Rt && f(document.body, "user-select", ""), f(h, "transform", ""), t && (kt && (t.cancelable && t.preventDefault(), !i.dropBubble && t.stopPropagation()), m && m.parentNode && m.parentNode.removeChild(m), (x === C || D && D.lastPutMode !== "clone") && A && A.parentNode && A.parentNode.removeChild(A), h && (this.nativeDraggable && E(h, "dragend", this), Ue(h), h.style["will-change"] = "", kt && !$t && B(h, D ? D.options.ghostClass : this.options.ghostClass, !1), B(h, this.options.chosenClass, !1), N({
1505
1505
  sortable: this,
1506
1506
  name: "unchoose",
1507
1507
  toEl: C,
1508
1508
  newIndex: null,
1509
1509
  newDraggableIndex: null,
1510
1510
  originalEvent: t
1511
- }), x !== C ? (R >= 0 && (N({
1511
+ }), x !== C ? (L >= 0 && (N({
1512
1512
  rootEl: C,
1513
1513
  name: "add",
1514
1514
  toEl: C,
@@ -1530,7 +1530,7 @@ g.prototype = /** @lends Sortable.prototype */
1530
1530
  name: "sort",
1531
1531
  toEl: C,
1532
1532
  originalEvent: t
1533
- })), D && D.save()) : R !== xt && R >= 0 && (N({
1533
+ })), D && D.save()) : L !== xt && L >= 0 && (N({
1534
1534
  sortable: this,
1535
1535
  name: "update",
1536
1536
  toEl: C,
@@ -1540,7 +1540,7 @@ g.prototype = /** @lends Sortable.prototype */
1540
1540
  name: "sort",
1541
1541
  toEl: C,
1542
1542
  originalEvent: t
1543
- })), g.active && ((R == null || R === -1) && (R = xt, st = Rt), N({
1543
+ })), g.active && ((L == null || L === -1) && (L = xt, st = Lt), N({
1544
1544
  sortable: this,
1545
1545
  name: "end",
1546
1546
  toEl: C,
@@ -1548,9 +1548,9 @@ g.prototype = /** @lends Sortable.prototype */
1548
1548
  }), this.save()))), this._nulling();
1549
1549
  },
1550
1550
  _nulling: function() {
1551
- k("nulling", this), x = c = C = m = vt = A = ie = lt = ft = j = kt = R = st = xt = Rt = wt = Ut = D = Gt = g.dragged = g.ghost = g.clone = g.active = null, he.forEach(function(t) {
1551
+ k("nulling", this), x = h = C = m = vt = A = ie = lt = ft = j = kt = L = st = xt = Lt = wt = Ut = D = Gt = g.dragged = g.ghost = g.clone = g.active = null, ce.forEach(function(t) {
1552
1552
  t.checked = !0;
1553
- }), he.length = Le = Be = 0;
1553
+ }), ce.length = Re = Be = 0;
1554
1554
  },
1555
1555
  handleEvent: function(t) {
1556
1556
  switch (t.type) {
@@ -1560,7 +1560,7 @@ g.prototype = /** @lends Sortable.prototype */
1560
1560
  break;
1561
1561
  case "dragenter":
1562
1562
  case "dragover":
1563
- c && (this._onDragOver(t), Yn(t));
1563
+ h && (this._onDragOver(t), Yo(t));
1564
1564
  break;
1565
1565
  case "selectstart":
1566
1566
  t.preventDefault();
@@ -1572,8 +1572,8 @@ g.prototype = /** @lends Sortable.prototype */
1572
1572
  * @returns {String[]}
1573
1573
  */
1574
1574
  toArray: function() {
1575
- for (var t = [], e, i = this.el.children, o = 0, r = i.length, s = this.options; o < r; o++)
1576
- e = i[o], Z(e, s.draggable, this.el, !1) && t.push(e.getAttribute(s.dataIdAttr) || Kn(e));
1575
+ for (var t = [], e, i = this.el.children, n = 0, r = i.length, s = this.options; n < r; n++)
1576
+ e = i[n], Z(e, s.draggable, this.el, !1) && t.push(e.getAttribute(s.dataIdAttr) || Ko(e));
1577
1577
  return t;
1578
1578
  },
1579
1579
  /**
@@ -1581,12 +1581,12 @@ g.prototype = /** @lends Sortable.prototype */
1581
1581
  * @param {String[]} order order of the items
1582
1582
  */
1583
1583
  sort: function(t, e) {
1584
- var i = {}, o = this.el;
1584
+ var i = {}, n = this.el;
1585
1585
  this.toArray().forEach(function(r, s) {
1586
- var l = o.children[s];
1587
- Z(l, this.options.draggable, o, !1) && (i[r] = l);
1586
+ var l = n.children[s];
1587
+ Z(l, this.options.draggable, n, !1) && (i[r] = l);
1588
1588
  }, this), e && this.captureAnimationState(), t.forEach(function(r) {
1589
- i[r] && (o.removeChild(i[r]), o.appendChild(i[r]));
1589
+ i[r] && (n.removeChild(i[r]), n.appendChild(i[r]));
1590
1590
  }), e && this.animateAll();
1591
1591
  },
1592
1592
  /**
@@ -1615,8 +1615,8 @@ g.prototype = /** @lends Sortable.prototype */
1615
1615
  var i = this.options;
1616
1616
  if (e === void 0)
1617
1617
  return i[t];
1618
- var o = Wt.modifyOption(this, t, e);
1619
- typeof o < "u" ? i[t] = o : i[t] = e, t === "group" && Yi(i);
1618
+ var n = Wt.modifyOption(this, t, e);
1619
+ typeof n < "u" ? i[t] = n : i[t] = e, t === "group" && Yi(i);
1620
1620
  },
1621
1621
  /**
1622
1622
  * Destroy
@@ -1626,7 +1626,7 @@ g.prototype = /** @lends Sortable.prototype */
1626
1626
  var t = this.el;
1627
1627
  t[U] = null, E(t, "mousedown", this._onTapStart), E(t, "touchstart", this._onTapStart), E(t, "pointerdown", this._onTapStart), this.nativeDraggable && (E(t, "dragover", this), E(t, "dragenter", this)), Array.prototype.forEach.call(t.querySelectorAll("[draggable]"), function(e) {
1628
1628
  e.removeAttribute("draggable");
1629
- }), this._onDrop(), this._disableDelayedDragEvents(), ce.splice(ce.indexOf(this.el), 1), this.el = t = null;
1629
+ }), this._onDrop(), this._disableDelayedDragEvents(), he.splice(he.indexOf(this.el), 1), this.el = t = null;
1630
1630
  },
1631
1631
  _hideClone: function() {
1632
1632
  if (!lt) {
@@ -1643,70 +1643,70 @@ g.prototype = /** @lends Sortable.prototype */
1643
1643
  if (lt) {
1644
1644
  if (k("showClone", this), g.eventCanceled)
1645
1645
  return;
1646
- c.parentNode == x && !this.options.group.revertClone ? x.insertBefore(A, c) : vt ? x.insertBefore(A, vt) : x.appendChild(A), this.options.group.revertClone && this.animate(c, A), f(A, "display", ""), lt = !1;
1646
+ h.parentNode == x && !this.options.group.revertClone ? x.insertBefore(A, h) : vt ? x.insertBefore(A, vt) : x.appendChild(A), this.options.group.revertClone && this.animate(h, A), f(A, "display", ""), lt = !1;
1647
1647
  }
1648
1648
  }
1649
1649
  };
1650
- function Yn(n) {
1651
- n.dataTransfer && (n.dataTransfer.dropEffect = "move"), n.cancelable && n.preventDefault();
1650
+ function Yo(o) {
1651
+ o.dataTransfer && (o.dataTransfer.dropEffect = "move"), o.cancelable && o.preventDefault();
1652
1652
  }
1653
- function Qt(n, t, e, i, o, r, s, l) {
1654
- var a, d = n[U], h = d.options.onMove, u;
1655
- return window.CustomEvent && !nt && !qt ? a = new CustomEvent("move", {
1653
+ function Qt(o, t, e, i, n, r, s, l) {
1654
+ var a, d = o[U], c = d.options.onMove, u;
1655
+ return window.CustomEvent && !ot && !qt ? a = new CustomEvent("move", {
1656
1656
  bubbles: !0,
1657
1657
  cancelable: !0
1658
- }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = t, a.from = n, a.dragged = e, a.draggedRect = i, a.related = o || t, a.relatedRect = r || T(t), a.willInsertAfter = l, a.originalEvent = s, n.dispatchEvent(a), h && (u = h.call(d, a, s)), u;
1658
+ }) : (a = document.createEvent("Event"), a.initEvent("move", !0, !0)), a.to = t, a.from = o, a.dragged = e, a.draggedRect = i, a.related = n || t, a.relatedRect = r || T(t), a.willInsertAfter = l, a.originalEvent = s, o.dispatchEvent(a), c && (u = c.call(d, a, s)), u;
1659
1659
  }
1660
- function Ue(n) {
1661
- n.draggable = !1;
1660
+ function Ue(o) {
1661
+ o.draggable = !1;
1662
1662
  }
1663
- function jn() {
1663
+ function jo() {
1664
1664
  We = !1;
1665
1665
  }
1666
- function qn(n, t, e) {
1667
- var i = T(Tt(e.el, 0, e.options, !0)), o = 10;
1668
- return t ? n.clientX < i.left - o || n.clientY < i.top && n.clientX < i.right : n.clientY < i.top - o || n.clientY < i.bottom && n.clientX < i.left;
1666
+ function qo(o, t, e) {
1667
+ var i = T(Tt(e.el, 0, e.options, !0)), n = 10;
1668
+ return t ? o.clientX < i.left - n || o.clientY < i.top && o.clientX < i.right : o.clientY < i.top - n || o.clientY < i.bottom && o.clientX < i.left;
1669
1669
  }
1670
- function Wn(n, t, e) {
1671
- var i = T(ni(e.el, e.options.draggable)), o = 10;
1672
- return t ? n.clientX > i.right + o || n.clientX <= i.right && n.clientY > i.bottom && n.clientX >= i.left : n.clientX > i.right && n.clientY > i.top || n.clientX <= i.right && n.clientY > i.bottom + o;
1670
+ function Wo(o, t, e) {
1671
+ var i = T(oi(e.el, e.options.draggable)), n = 10;
1672
+ return t ? o.clientX > i.right + n || o.clientX <= i.right && o.clientY > i.bottom && o.clientX >= i.left : o.clientX > i.right && o.clientY > i.top || o.clientX <= i.right && o.clientY > i.bottom + n;
1673
1673
  }
1674
- function Zn(n, t, e, i, o, r, s, l) {
1675
- var a = i ? n.clientY : n.clientX, d = i ? e.height : e.width, h = i ? e.top : e.left, u = i ? e.bottom : e.right, p = !1;
1674
+ function Zo(o, t, e, i, n, r, s, l) {
1675
+ var a = i ? o.clientY : o.clientX, d = i ? e.height : e.width, c = i ? e.top : e.left, u = i ? e.bottom : e.right, p = !1;
1676
1676
  if (!s) {
1677
- if (l && ne < d * o) {
1678
- if (!Ft && (Ut === 1 ? a > h + d * r / 2 : a < u - d * r / 2) && (Ft = !0), Ft)
1677
+ if (l && oe < d * n) {
1678
+ if (!Ft && (Ut === 1 ? a > c + d * r / 2 : a < u - d * r / 2) && (Ft = !0), Ft)
1679
1679
  p = !0;
1680
- else if (Ut === 1 ? a < h + ne : a > u - ne)
1680
+ else if (Ut === 1 ? a < c + oe : a > u - oe)
1681
1681
  return -Ut;
1682
- } else if (a > h + d * (1 - o) / 2 && a < u - d * (1 - o) / 2)
1683
- return Gn(t);
1682
+ } else if (a > c + d * (1 - n) / 2 && a < u - d * (1 - n) / 2)
1683
+ return Go(t);
1684
1684
  }
1685
- return p = p || s, p && (a < h + d * r / 2 || a > u - d * r / 2) ? a > h + d / 2 ? 1 : -1 : 0;
1685
+ return p = p || s, p && (a < c + d * r / 2 || a > u - d * r / 2) ? a > c + d / 2 ? 1 : -1 : 0;
1686
1686
  }
1687
- function Gn(n) {
1688
- return F(c) < F(n) ? 1 : -1;
1687
+ function Go(o) {
1688
+ return F(h) < F(o) ? 1 : -1;
1689
1689
  }
1690
- function Kn(n) {
1691
- for (var t = n.tagName + n.className + n.src + n.href + n.textContent, e = t.length, i = 0; e--; )
1690
+ function Ko(o) {
1691
+ for (var t = o.tagName + o.className + o.src + o.href + o.textContent, e = t.length, i = 0; e--; )
1692
1692
  i += t.charCodeAt(e);
1693
1693
  return i.toString(36);
1694
1694
  }
1695
- function Jn(n) {
1696
- he.length = 0;
1697
- for (var t = n.getElementsByTagName("input"), e = t.length; e--; ) {
1695
+ function Jo(o) {
1696
+ ce.length = 0;
1697
+ for (var t = o.getElementsByTagName("input"), e = t.length; e--; ) {
1698
1698
  var i = t[e];
1699
- i.checked && he.push(i);
1699
+ i.checked && ce.push(i);
1700
1700
  }
1701
1701
  }
1702
- function oe(n) {
1703
- return setTimeout(n, 0);
1702
+ function ne(o) {
1703
+ return setTimeout(o, 0);
1704
1704
  }
1705
- function Ze(n) {
1706
- return clearTimeout(n);
1705
+ function Ze(o) {
1706
+ return clearTimeout(o);
1707
1707
  }
1708
- De && w(document, "touchmove", function(n) {
1709
- (g.active || $t) && n.cancelable && n.preventDefault();
1708
+ De && w(document, "touchmove", function(o) {
1709
+ (g.active || $t) && o.cancelable && o.preventDefault();
1710
1710
  });
1711
1711
  g.utils = {
1712
1712
  on: w,
@@ -1716,22 +1716,22 @@ g.utils = {
1716
1716
  is: function(t, e) {
1717
1717
  return !!Z(t, e, t, !1);
1718
1718
  },
1719
- extend: Nn,
1720
- throttle: Ri,
1719
+ extend: No,
1720
+ throttle: Li,
1721
1721
  closest: Z,
1722
1722
  toggleClass: B,
1723
1723
  clone: Fi,
1724
1724
  index: F,
1725
- nextTick: oe,
1725
+ nextTick: ne,
1726
1726
  cancelNextTick: Ze,
1727
1727
  detectDirection: Xi,
1728
1728
  getChild: Tt
1729
1729
  };
1730
- g.get = function(n) {
1731
- return n[U];
1730
+ g.get = function(o) {
1731
+ return o[U];
1732
1732
  };
1733
1733
  g.mount = function() {
1734
- for (var n = arguments.length, t = new Array(n), e = 0; e < n; e++)
1734
+ for (var o = arguments.length, t = new Array(o), e = 0; e < o; e++)
1735
1735
  t[e] = arguments[e];
1736
1736
  t[0].constructor === Array && (t = t[0]), t.forEach(function(i) {
1737
1737
  if (!i.prototype || !i.prototype.constructor)
@@ -1739,13 +1739,13 @@ g.mount = function() {
1739
1739
  i.utils && (g.utils = K(K({}, g.utils), i.utils)), Wt.mount(i);
1740
1740
  });
1741
1741
  };
1742
- g.create = function(n, t) {
1743
- return new g(n, t);
1742
+ g.create = function(o, t) {
1743
+ return new g(o, t);
1744
1744
  };
1745
- g.version = Hn;
1745
+ g.version = Oo;
1746
1746
  var S = [], It, Ge, Ke = !1, Fe, ze, pe, Vt;
1747
- function Qn() {
1748
- function n() {
1747
+ function Qo() {
1748
+ function o() {
1749
1749
  this.defaults = {
1750
1750
  scroll: !0,
1751
1751
  forceAutoScrollFallback: !1,
@@ -1756,7 +1756,7 @@ function Qn() {
1756
1756
  for (var t in this)
1757
1757
  t.charAt(0) === "_" && typeof this[t] == "function" && (this[t] = this[t].bind(this));
1758
1758
  }
1759
- return n.prototype = {
1759
+ return o.prototype = {
1760
1760
  dragStarted: function(e) {
1761
1761
  var i = e.originalEvent;
1762
1762
  this.sortable.nativeDraggable ? w(document, "dragover", this._handleAutoScroll) : this.options.supportPointer ? w(document, "pointermove", this._handleFallbackAutoScroll) : i.touches ? w(document, "touchmove", this._handleFallbackAutoScroll) : w(document, "mousemove", this._handleFallbackAutoScroll);
@@ -1766,7 +1766,7 @@ function Qn() {
1766
1766
  !this.options.dragOverBubble && !i.rootEl && this._handleAutoScroll(i);
1767
1767
  },
1768
1768
  drop: function() {
1769
- this.sortable.nativeDraggable ? E(document, "dragover", this._handleAutoScroll) : (E(document, "pointermove", this._handleFallbackAutoScroll), E(document, "touchmove", this._handleFallbackAutoScroll), E(document, "mousemove", this._handleFallbackAutoScroll)), Ti(), re(), kn();
1769
+ this.sortable.nativeDraggable ? E(document, "dragover", this._handleAutoScroll) : (E(document, "pointermove", this._handleFallbackAutoScroll), E(document, "touchmove", this._handleFallbackAutoScroll), E(document, "mousemove", this._handleFallbackAutoScroll)), Ti(), re(), ko();
1770
1770
  },
1771
1771
  nulling: function() {
1772
1772
  pe = Ge = It = Ke = Vt = Fe = ze = null, S.length = 0;
@@ -1775,13 +1775,13 @@ function Qn() {
1775
1775
  this._handleAutoScroll(e, !0);
1776
1776
  },
1777
1777
  _handleAutoScroll: function(e, i) {
1778
- var o = this, r = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, l = document.elementFromPoint(r, s);
1779
- if (pe = e, i || this.options.forceAutoScrollFallback || qt || nt || Lt) {
1778
+ var n = this, r = (e.touches ? e.touches[0] : e).clientX, s = (e.touches ? e.touches[0] : e).clientY, l = document.elementFromPoint(r, s);
1779
+ if (pe = e, i || this.options.forceAutoScrollFallback || qt || ot || Rt) {
1780
1780
  Xe(e, this.options, l, i);
1781
1781
  var a = dt(l, !0);
1782
1782
  Ke && (!Vt || r !== Fe || s !== ze) && (Vt && Ti(), Vt = setInterval(function() {
1783
1783
  var d = dt(document.elementFromPoint(r, s), !0);
1784
- d !== a && (a = d, re()), Xe(e, o.options, d, i);
1784
+ d !== a && (a = d, re()), Xe(e, n.options, d, i);
1785
1785
  }, 10), Fe = r, ze = s);
1786
1786
  } else {
1787
1787
  if (!this.options.bubbleScroll || dt(l, !0) === G()) {
@@ -1791,35 +1791,35 @@ function Qn() {
1791
1791
  Xe(e, this.options, dt(l, !1), !1);
1792
1792
  }
1793
1793
  }
1794
- }, it(n, {
1794
+ }, it(o, {
1795
1795
  pluginName: "scroll",
1796
1796
  initializeByDefault: !0
1797
1797
  });
1798
1798
  }
1799
1799
  function re() {
1800
- S.forEach(function(n) {
1801
- clearInterval(n.pid);
1800
+ S.forEach(function(o) {
1801
+ clearInterval(o.pid);
1802
1802
  }), S = [];
1803
1803
  }
1804
1804
  function Ti() {
1805
1805
  clearInterval(Vt);
1806
1806
  }
1807
- var Xe = Ri(function(n, t, e, i) {
1807
+ var Xe = Li(function(o, t, e, i) {
1808
1808
  if (t.scroll) {
1809
- var o = (n.touches ? n.touches[0] : n).clientX, r = (n.touches ? n.touches[0] : n).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a = G(), d = !1, h;
1810
- Ge !== e && (Ge = e, re(), It = t.scroll, h = t.scrollFn, It === !0 && (It = dt(e, !0)));
1809
+ var n = (o.touches ? o.touches[0] : o).clientX, r = (o.touches ? o.touches[0] : o).clientY, s = t.scrollSensitivity, l = t.scrollSpeed, a = G(), d = !1, c;
1810
+ Ge !== e && (Ge = e, re(), It = t.scroll, c = t.scrollFn, It === !0 && (It = dt(e, !0)));
1811
1811
  var u = 0, p = It;
1812
1812
  do {
1813
- var v = p, y = T(v), b = y.top, X = y.bottom, J = y.left, H = y.right, Y = y.width, I = y.height, ut = void 0, W = void 0, ct = v.scrollWidth, Dt = v.scrollHeight, V = f(v), Pt = v.scrollLeft, ot = v.scrollTop;
1814
- v === a ? (ut = Y < ct && (V.overflowX === "auto" || V.overflowX === "scroll" || V.overflowX === "visible"), W = I < Dt && (V.overflowY === "auto" || V.overflowY === "scroll" || V.overflowY === "visible")) : (ut = Y < ct && (V.overflowX === "auto" || V.overflowX === "scroll"), W = I < Dt && (V.overflowY === "auto" || V.overflowY === "scroll"));
1815
- var Ht = ut && (Math.abs(H - o) <= s && Pt + Y < ct) - (Math.abs(J - o) <= s && !!Pt), Q = W && (Math.abs(X - r) <= s && ot + I < Dt) - (Math.abs(b - r) <= s && !!ot);
1813
+ var v = p, y = T(v), b = y.top, X = y.bottom, J = y.left, O = y.right, Y = y.width, I = y.height, ut = void 0, W = void 0, ht = v.scrollWidth, Dt = v.scrollHeight, V = f(v), Pt = v.scrollLeft, nt = v.scrollTop;
1814
+ v === a ? (ut = Y < ht && (V.overflowX === "auto" || V.overflowX === "scroll" || V.overflowX === "visible"), W = I < Dt && (V.overflowY === "auto" || V.overflowY === "scroll" || V.overflowY === "visible")) : (ut = Y < ht && (V.overflowX === "auto" || V.overflowX === "scroll"), W = I < Dt && (V.overflowY === "auto" || V.overflowY === "scroll"));
1815
+ var Ot = ut && (Math.abs(O - n) <= s && Pt + Y < ht) - (Math.abs(J - n) <= s && !!Pt), Q = W && (Math.abs(X - r) <= s && nt + I < Dt) - (Math.abs(b - r) <= s && !!nt);
1816
1816
  if (!S[u])
1817
- for (var ht = 0; ht <= u; ht++)
1818
- S[ht] || (S[ht] = {});
1819
- (S[u].vx != Ht || S[u].vy != Q || S[u].el !== v) && (S[u].el = v, S[u].vx = Ht, S[u].vy = Q, clearInterval(S[u].pid), (Ht != 0 || Q != 0) && (d = !0, S[u].pid = setInterval((function() {
1817
+ for (var ct = 0; ct <= u; ct++)
1818
+ S[ct] || (S[ct] = {});
1819
+ (S[u].vx != Ot || S[u].vy != Q || S[u].el !== v) && (S[u].el = v, S[u].vx = Ot, S[u].vy = Q, clearInterval(S[u].pid), (Ot != 0 || Q != 0) && (d = !0, S[u].pid = setInterval((function() {
1820
1820
  i && this.layer === 0 && g.active._onTouchMove(pe);
1821
- var Ot = S[this.layer].vy ? S[this.layer].vy * l : 0, rt = S[this.layer].vx ? S[this.layer].vx * l : 0;
1822
- typeof h == "function" && h.call(g.dragged.parentNode[U], rt, Ot, n, pe, S[this.layer].el) !== "continue" || Ui(S[this.layer].el, rt, Ot);
1821
+ var Ht = S[this.layer].vy ? S[this.layer].vy * l : 0, rt = S[this.layer].vx ? S[this.layer].vx * l : 0;
1822
+ typeof c == "function" && c.call(g.dragged.parentNode[U], rt, Ht, o, pe, S[this.layer].el) !== "continue" || Ui(S[this.layer].el, rt, Ht);
1823
1823
  }).bind({
1824
1824
  layer: u
1825
1825
  }), 24))), u++;
@@ -1827,20 +1827,20 @@ var Xe = Ri(function(n, t, e, i) {
1827
1827
  Ke = d;
1828
1828
  }
1829
1829
  }, 30), Wi = function(t) {
1830
- var e = t.originalEvent, i = t.putSortable, o = t.dragEl, r = t.activeSortable, s = t.dispatchSortableEvent, l = t.hideGhostForTarget, a = t.unhideGhostForTarget;
1830
+ var e = t.originalEvent, i = t.putSortable, n = t.dragEl, r = t.activeSortable, s = t.dispatchSortableEvent, l = t.hideGhostForTarget, a = t.unhideGhostForTarget;
1831
1831
  if (e) {
1832
1832
  var d = i || r;
1833
1833
  l();
1834
- var h = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, u = document.elementFromPoint(h.clientX, h.clientY);
1834
+ var c = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, u = document.elementFromPoint(c.clientX, c.clientY);
1835
1835
  a(), d && !d.el.contains(u) && (s("spill"), this.onSpill({
1836
- dragEl: o,
1836
+ dragEl: n,
1837
1837
  putSortable: i
1838
1838
  }));
1839
1839
  }
1840
1840
  };
1841
- function oi() {
1841
+ function ni() {
1842
1842
  }
1843
- oi.prototype = {
1843
+ ni.prototype = {
1844
1844
  startIndex: null,
1845
1845
  dragStart: function(t) {
1846
1846
  var e = t.oldDraggableIndex;
@@ -1849,79 +1849,79 @@ oi.prototype = {
1849
1849
  onSpill: function(t) {
1850
1850
  var e = t.dragEl, i = t.putSortable;
1851
1851
  this.sortable.captureAnimationState(), i && i.captureAnimationState();
1852
- var o = Tt(this.sortable.el, this.startIndex, this.options);
1853
- o ? this.sortable.el.insertBefore(e, o) : this.sortable.el.appendChild(e), this.sortable.animateAll(), i && i.animateAll();
1852
+ var n = Tt(this.sortable.el, this.startIndex, this.options);
1853
+ n ? this.sortable.el.insertBefore(e, n) : this.sortable.el.appendChild(e), this.sortable.animateAll(), i && i.animateAll();
1854
1854
  },
1855
1855
  drop: Wi
1856
1856
  };
1857
- it(oi, {
1857
+ it(ni, {
1858
1858
  pluginName: "revertOnSpill"
1859
1859
  });
1860
1860
  function ri() {
1861
1861
  }
1862
1862
  ri.prototype = {
1863
1863
  onSpill: function(t) {
1864
- var e = t.dragEl, i = t.putSortable, o = i || this.sortable;
1865
- o.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), o.animateAll();
1864
+ var e = t.dragEl, i = t.putSortable, n = i || this.sortable;
1865
+ n.captureAnimationState(), e.parentNode && e.parentNode.removeChild(e), n.animateAll();
1866
1866
  },
1867
1867
  drop: Wi
1868
1868
  };
1869
1869
  it(ri, {
1870
1870
  pluginName: "removeOnSpill"
1871
1871
  });
1872
- g.mount(new Qn());
1873
- g.mount(ri, oi);
1874
- const to = (n, t, e) => {
1872
+ g.mount(new Qo());
1873
+ g.mount(ri, ni);
1874
+ const tn = (o, t, e) => {
1875
1875
  let i = [];
1876
- n._sortable = g.create(n, {
1876
+ o._sortable = g.create(o, {
1877
1877
  handle: ".drag-handle",
1878
1878
  filter: ".drag-handle.disabled",
1879
1879
  swapThreshold: 0.5,
1880
1880
  animation: 150,
1881
1881
  easing: "cubic-bezier(1, 0, 0, 1)",
1882
- onStart: (o) => {
1883
- const r = o.item;
1882
+ onStart: (n) => {
1883
+ const r = n.item;
1884
1884
  i = Array.prototype.slice.call(r.parentNode.childNodes), i = i.filter(
1885
1885
  (s) => s.nodeType != Node.ELEMENT_NODE || !s.classList.contains("sortable-fallback")
1886
1886
  );
1887
1887
  },
1888
- onEnd: (o) => {
1889
- const s = o.item.parentNode;
1888
+ onEnd: (n) => {
1889
+ const s = n.item.parentNode;
1890
1890
  for (const a of i)
1891
1891
  s.appendChild(a);
1892
- if (o.oldIndex == o.newIndex)
1892
+ if (n.oldIndex == n.newIndex)
1893
1893
  return;
1894
1894
  const l = t.getArray().find(
1895
1895
  (a) => (
1896
1896
  // @ts-ignore
1897
1897
  a.ol_uid === /** @type Element & {layer: import("ol/layer").Layer} */
1898
- o.item.querySelector("eox-layercontrol-layer").layer.ol_uid
1898
+ n.item.querySelector("eox-layercontrol-layer").layer.ol_uid
1899
1899
  )
1900
1900
  );
1901
- t.remove(l), t.insertAt(t.getLength() - o.newIndex, l), e.requestUpdate();
1901
+ t.remove(l), t.insertAt(t.getLength() - n.newIndex, l), e.requestUpdate();
1902
1902
  }
1903
1903
  });
1904
- }, Je = (n, t, e) => {
1904
+ }, Je = (o, t, e) => {
1905
1905
  let i = [];
1906
- const o = (r, s, l) => {
1906
+ const n = (r, s, l) => {
1907
1907
  i = [...i, ...r.filter((d) => d.get(s) === l)];
1908
1908
  const a = r.filter((d) => d.getLayers);
1909
1909
  return a.length > 0 && a.forEach(
1910
- (d) => o(d.getLayers().getArray(), s, l)
1910
+ (d) => n(d.getLayers().getArray(), s, l)
1911
1911
  ), i;
1912
1912
  };
1913
- return o(n, t, e), i;
1914
- }, eo = (n, t) => {
1915
- var e, i, o;
1916
- if (!(!n || !t))
1913
+ return n(o, t, e), i;
1914
+ }, en = (o, t) => {
1915
+ var e, i, n;
1916
+ if (!(!o || !t))
1917
1917
  return (
1918
1918
  /** @type {import("ol/layer").Group} */
1919
- n.getLayers ? "group" : (o = (e = t.getInteractions().getArray().filter((r) => r.freehand_ !== void 0).map((r) => r.source_)) == null ? void 0 : e.ol_uid) != null && o.includes(
1919
+ o.getLayers ? "group" : (n = (e = t.getInteractions().getArray().filter((r) => r.freehand_ !== void 0).map((r) => r.source_)) == null ? void 0 : e.ol_uid) != null && n.includes(
1920
1920
  // @ts-ignore
1921
- n.getSource ? (i = n.getSource()) == null ? void 0 : i.ol_uid : void 0
1921
+ o.getSource ? (i = o.getSource()) == null ? void 0 : i.ol_uid : void 0
1922
1922
  ) ? "draw" : (
1923
1923
  // @ts-ignore
1924
- n.declutter_ !== void 0 ? "vector" : "raster"
1924
+ o.declutter_ !== void 0 ? "vector" : "raster"
1925
1925
  )
1926
1926
  );
1927
1927
  };
@@ -1931,28 +1931,28 @@ const to = (n, t, e) => {
1931
1931
  * SPDX-License-Identifier: BSD-3-Clause
1932
1932
  */
1933
1933
  const si = ei(class extends ii {
1934
- constructor(n) {
1935
- if (super(n), n.type !== mt.PROPERTY && n.type !== mt.ATTRIBUTE && n.type !== mt.BOOLEAN_ATTRIBUTE)
1934
+ constructor(o) {
1935
+ if (super(o), o.type !== mt.PROPERTY && o.type !== mt.ATTRIBUTE && o.type !== mt.BOOLEAN_ATTRIBUTE)
1936
1936
  throw Error("The `live` directive is not allowed on child or event bindings");
1937
- if (!An(n))
1937
+ if (!Ao(o))
1938
1938
  throw Error("`live` bindings can only contain a single expression");
1939
1939
  }
1940
- render(n) {
1941
- return n;
1940
+ render(o) {
1941
+ return o;
1942
1942
  }
1943
- update(n, [t]) {
1943
+ update(o, [t]) {
1944
1944
  if (t === q || t === $)
1945
1945
  return t;
1946
- const e = n.element, i = n.name;
1947
- if (n.type === mt.PROPERTY) {
1946
+ const e = o.element, i = o.name;
1947
+ if (o.type === mt.PROPERTY) {
1948
1948
  if (t === e[i])
1949
1949
  return q;
1950
- } else if (n.type === mt.BOOLEAN_ATTRIBUTE) {
1950
+ } else if (o.type === mt.BOOLEAN_ATTRIBUTE) {
1951
1951
  if (!!t === e.hasAttribute(i))
1952
1952
  return q;
1953
- } else if (n.type === mt.ATTRIBUTE && e.getAttribute(i) === t + "")
1953
+ } else if (o.type === mt.ATTRIBUTE && e.getAttribute(i) === t + "")
1954
1954
  return q;
1955
- return ki(n), t;
1955
+ return ki(o), t;
1956
1956
  }
1957
1957
  });
1958
1958
  /**
@@ -1980,16 +1980,16 @@ class Qe extends ii {
1980
1980
  }
1981
1981
  }
1982
1982
  Qe.directiveName = "unsafeHTML", Qe.resultType = 1;
1983
- const io = ei(Qe);
1983
+ const on = ei(Qe);
1984
1984
  /**
1985
1985
  * @license
1986
1986
  * Copyright 2021 Google LLC
1987
1987
  * SPDX-License-Identifier: BSD-3-Clause
1988
1988
  */
1989
- function* se(n, t) {
1990
- if (n !== void 0) {
1989
+ function* se(o, t) {
1990
+ if (o !== void 0) {
1991
1991
  let e = 0;
1992
- for (const i of n)
1992
+ for (const i of o)
1993
1993
  yield t(i, e++);
1994
1994
  }
1995
1995
  }
@@ -1999,14 +1999,17 @@ class Zi extends z {
1999
1999
  super();
2000
2000
  M(this, fe, "");
2001
2001
  M(this, ge, "");
2002
- this.layer = null, this.unstyled = !1;
2002
+ this.layer = null, this.unstyled = !1, this.noShadow = !0;
2003
+ }
2004
+ createRenderRoot() {
2005
+ return this.noShadow ? this : super.createRenderRoot();
2003
2006
  }
2004
2007
  render() {
2005
2008
  var e;
2006
2009
  return _`
2007
2010
  <style>
2008
- ${O(this, fe)}
2009
- ${!this.unstyled && O(this, ge)}
2011
+ ${H(this, fe)}
2012
+ ${!this.unstyled && H(this, ge)}
2010
2013
  </style>
2011
2014
  <input
2012
2015
  type="range"
@@ -2019,8 +2022,8 @@ class Zi extends z {
2019
2022
  <button
2020
2023
  class="delete"
2021
2024
  @click=${() => {
2022
- var i, o;
2023
- (i = this.layer) == null || i.set("layerControlOptional", !0), (o = this.layer) == null || o.setVisible(!1), this.dispatchEvent(
2025
+ var i, n;
2026
+ (i = this.layer) == null || i.set("layerControlOptional", !0), (n = this.layer) == null || n.setVisible(!1), this.dispatchEvent(
2024
2027
  new CustomEvent("changed", { detail: this.layer, bubbles: !0 })
2025
2028
  );
2026
2029
  }}
@@ -2030,9 +2033,10 @@ class Zi extends z {
2030
2033
  `;
2031
2034
  }
2032
2035
  }
2033
- fe = new WeakMap(), ge = new WeakMap(), L(Zi, "properties", {
2036
+ fe = new WeakMap(), ge = new WeakMap(), R(Zi, "properties", {
2034
2037
  layer: { attribute: !1 },
2035
- unstyled: { type: Boolean }
2038
+ unstyled: { type: Boolean },
2039
+ noShadow: { type: Boolean }
2036
2040
  });
2037
2041
  customElements.define(
2038
2042
  "eox-layercontrol-layerconfig",
@@ -2084,13 +2088,16 @@ class Gi extends z {
2084
2088
  border-top: 1px solid #0041701a;
2085
2089
  }
2086
2090
  `);
2087
- this.actions = [], this.selectedTab = 0, this.tabs = [], this.unstyled = !1;
2091
+ this.actions = [], this.selectedTab = 0, this.tabs = [], this.unstyled = !1, this.noShadow = !0;
2092
+ }
2093
+ createRenderRoot() {
2094
+ return this.noShadow ? this : super.createRenderRoot();
2088
2095
  }
2089
2096
  render() {
2090
2097
  return _`
2091
2098
  <style>
2092
- ${O(this, me)}
2093
- ${!this.unstyled && O(this, ve)}
2099
+ ${H(this, me)}
2100
+ ${!this.unstyled && H(this, ve)}
2094
2101
  </style>
2095
2102
  <div class="tabbed">
2096
2103
  ${et(
@@ -2137,14 +2144,15 @@ class Gi extends z {
2137
2144
  `;
2138
2145
  }
2139
2146
  }
2140
- me = new WeakMap(), ve = new WeakMap(), L(Gi, "properties", {
2147
+ me = new WeakMap(), ve = new WeakMap(), R(Gi, "properties", {
2141
2148
  actions: { attribute: !1 },
2142
2149
  selectedTab: { state: !0 },
2143
2150
  tabs: { attribute: !1 },
2144
- unstyled: { type: Boolean }
2151
+ unstyled: { type: Boolean },
2152
+ noShadow: { type: Boolean }
2145
2153
  });
2146
2154
  customElements.define("eox-layercontrol-tabs", Gi);
2147
- const no = `
2155
+ const nn = `
2148
2156
  button {
2149
2157
  /* TODO: why does this only work here and not from :root? */
2150
2158
  --primary-color: #004170;
@@ -2233,7 +2241,7 @@ button.small {
2233
2241
  padding: 12.4px;
2234
2242
  font-size: .75rem;
2235
2243
  }
2236
- `, oo = `
2244
+ `, rn = `
2237
2245
  input[type=radio] {
2238
2246
  appearance: none;
2239
2247
  -webkit-appearance: none;
@@ -2284,7 +2292,7 @@ input[type=checkbox]:checked:after {
2284
2292
  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");
2285
2293
 
2286
2294
  }
2287
- `, ro = `
2295
+ `, sn = `
2288
2296
  input[type="range"] {
2289
2297
  -webkit-appearance: none;
2290
2298
  width: 90%;
@@ -2370,11 +2378,11 @@ class Ji extends z {
2370
2378
  *
2371
2379
  * @param {Array<string>} tools
2372
2380
  */
2373
- L(this, "_parseActions", (e) => e == null ? void 0 : e.filter(
2381
+ R(this, "_parseActions", (e) => e == null ? void 0 : e.filter(
2374
2382
  (i) => ["remove", "sort"].filter(
2375
- (o) => {
2383
+ (n) => {
2376
2384
  var r;
2377
- return (r = this.layer) != null && r.get("layerControlDisable") ? o !== "sort" : !0;
2385
+ return (r = this.layer) != null && r.get("layerControlDisable") ? n !== "sort" : !0;
2378
2386
  }
2379
2387
  ).includes(i)
2380
2388
  ));
@@ -2382,12 +2390,12 @@ class Ji extends z {
2382
2390
  *
2383
2391
  * @param {Array<string>} tools
2384
2392
  */
2385
- L(this, "_parseTools", (e) => e == null ? void 0 : e.filter((i) => {
2393
+ R(this, "_parseTools", (e) => e == null ? void 0 : e.filter((i) => {
2386
2394
  var r;
2387
- let o = !0;
2388
- return ["remove", "sort"].includes(i) && (o = !1), i === "info" && (o = this.layer.get("description")), i === "config" && (o = (r = this.layer.style_) == null ? void 0 : r.color), o;
2395
+ let n = !0;
2396
+ return ["remove", "sort"].includes(i) && (n = !1), i === "info" && (n = this.layer.get("description")), i === "config" && (n = (r = this.layer.style_) == null ? void 0 : r.color), n;
2389
2397
  }));
2390
- L(this, "_removeButton", _`
2398
+ R(this, "_removeButton", _`
2391
2399
  <button
2392
2400
  class="remove-icon icon"
2393
2401
  @click=${() => {
@@ -2403,17 +2411,17 @@ class Ji extends z {
2403
2411
  ${this.unstyled ? "x" : $}
2404
2412
  </button>
2405
2413
  `);
2406
- L(this, "_sortButton", _`
2414
+ R(this, "_sortButton", _`
2407
2415
  <button class="sort-icon icon drag-handle">
2408
2416
  ${this.unstyled ? "sort" : $}
2409
2417
  </button>
2410
2418
  `);
2411
2419
  M(this, ye, "");
2412
2420
  M(this, be, `
2413
- ${no}
2414
- ${oo}
2421
+ ${nn}
2422
+ ${rn}
2415
2423
  ${Ki}
2416
- ${ro}
2424
+ ${sn}
2417
2425
  button.icon.drag-handle {
2418
2426
  cursor: n-resize;
2419
2427
  }
@@ -2504,25 +2512,25 @@ class Ji extends z {
2504
2512
  padding: 12px 6px;
2505
2513
  }
2506
2514
  `);
2507
- this.layer = null, this.tools = [], this.unstyled = !1;
2515
+ this.layer = null, this.tools = [], this.unstyled = !1, this.noShadow = !0;
2508
2516
  }
2509
2517
  createRenderRoot() {
2510
- return this;
2518
+ return this.noShadow ? this : super.createRenderRoot();
2511
2519
  }
2512
2520
  render() {
2513
2521
  var e, i;
2514
2522
  return _`
2515
2523
  <style>
2516
- ${O(this, ye)}
2517
- ${!this.unstyled && O(this, be)}
2524
+ ${H(this, ye)}
2525
+ ${!this.unstyled && H(this, be)}
2518
2526
  </style>
2519
2527
  ${et(
2520
2528
  ((e = this._parseActions(this.tools)) == null ? void 0 : e.length) + ((i = this._parseTools(this.tools)) == null ? void 0 : i.length) > 0,
2521
2529
  () => {
2522
- var o, r;
2530
+ var n, r;
2523
2531
  return _`
2524
2532
  ${et(
2525
- ((o = this._parseActions(this.tools)) == null ? void 0 : o.length) === 1 && ((r = this._parseTools(this.tools)) == null ? void 0 : r.length) === 0,
2533
+ ((n = this._parseActions(this.tools)) == null ? void 0 : n.length) === 1 && ((r = this._parseTools(this.tools)) == null ? void 0 : r.length) === 0,
2526
2534
  () => _`
2527
2535
  <div class="single-action-container">
2528
2536
  <div class="single-action">
@@ -2546,6 +2554,7 @@ class Ji extends z {
2546
2554
  </button>
2547
2555
  </summary>
2548
2556
  <eox-layercontrol-tabs
2557
+ .noShadow=${!1}
2549
2558
  .actions=${this._parseActions(this.tools)}
2550
2559
  .tabs=${this._parseTools(this.tools)}
2551
2560
  .unstyled=${this.unstyled}
@@ -2560,7 +2569,7 @@ class Ji extends z {
2560
2569
  )}
2561
2570
 
2562
2571
  <div slot="info-content">
2563
- ${io(this.layer.get("description"))}
2572
+ ${on(this.layer.get("description"))}
2564
2573
  </div>
2565
2574
  <div slot="opacity-content">
2566
2575
  <input
@@ -2592,10 +2601,11 @@ class Ji extends z {
2592
2601
  `;
2593
2602
  }
2594
2603
  }
2595
- ye = new WeakMap(), be = new WeakMap(), L(Ji, "properties", {
2604
+ ye = new WeakMap(), be = new WeakMap(), R(Ji, "properties", {
2596
2605
  layer: { attribute: !1 },
2597
2606
  tools: { attribute: !1 },
2598
- unstyled: { type: Boolean }
2607
+ unstyled: { type: Boolean },
2608
+ noShadow: { type: Boolean }
2599
2609
  });
2600
2610
  customElements.define(
2601
2611
  "eox-layercontrol-layer-tools",
@@ -2644,16 +2654,16 @@ class Qi extends z {
2644
2654
  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");
2645
2655
  }
2646
2656
  `);
2647
- this.layer = null, this.titleProperty = "title", this.tools = [], this.unstyled = !1;
2657
+ this.layer = null, this.titleProperty = "title", this.tools = [], this.unstyled = !1, this.noShadow = !0;
2648
2658
  }
2649
2659
  createRenderRoot() {
2650
- return this;
2660
+ return this.noShadow ? this : super.createRenderRoot();
2651
2661
  }
2652
2662
  render() {
2653
2663
  return _`
2654
2664
  <style>
2655
- ${O(this, Ee)}
2656
- ${!this.unstyled && O(this, we)}
2665
+ ${H(this, Ee)}
2666
+ ${!this.unstyled && H(this, we)}
2657
2667
  </style>
2658
2668
  ${et(
2659
2669
  this.layer,
@@ -2686,6 +2696,7 @@ class Qi extends z {
2686
2696
  </label>
2687
2697
  </div>
2688
2698
  <eox-layercontrol-layer-tools
2699
+ .noShadow=${!0}
2689
2700
  .layer=${this.layer}
2690
2701
  .tools=${this.tools}
2691
2702
  .unstyled=${this.unstyled}
@@ -2696,15 +2707,16 @@ class Qi extends z {
2696
2707
  `;
2697
2708
  }
2698
2709
  }
2699
- Ee = new WeakMap(), we = new WeakMap(), L(Qi, "properties", {
2710
+ Ee = new WeakMap(), we = new WeakMap(), R(Qi, "properties", {
2700
2711
  layer: { attribute: !1 },
2701
2712
  titleProperty: { attribute: "title-property", type: String },
2702
2713
  tools: { attribute: !1 },
2703
- unstyled: { type: Boolean }
2714
+ unstyled: { type: Boolean },
2715
+ noShadow: { type: Boolean }
2704
2716
  });
2705
2717
  customElements.define("eox-layercontrol-layer", Qi);
2706
2718
  var _e, $e;
2707
- class tn extends z {
2719
+ class to extends z {
2708
2720
  constructor() {
2709
2721
  super();
2710
2722
  M(this, _e, "");
@@ -2730,16 +2742,16 @@ class tn extends z {
2730
2742
  transform: rotate(90deg);
2731
2743
  }
2732
2744
  `);
2733
- this.group = null, this.idProperty = "id", this.map = null, this.titleProperty = "title", this.tools = [], this.unstyled = !1;
2745
+ this.group = null, this.idProperty = "id", this.map = null, this.titleProperty = "title", this.tools = [], this.unstyled = !1, this.noShadow = !0;
2734
2746
  }
2735
2747
  createRenderRoot() {
2736
- return this;
2748
+ return this.noShadow ? this : super.createRenderRoot();
2737
2749
  }
2738
2750
  render() {
2739
2751
  return _`
2740
2752
  <style>
2741
- ${O(this, _e)}
2742
- ${!this.unstyled && O(this, $e)}
2753
+ ${H(this, _e)}
2754
+ ${!this.unstyled && H(this, $e)}
2743
2755
  </style>
2744
2756
  ${et(
2745
2757
  this.group,
@@ -2747,6 +2759,7 @@ class tn extends z {
2747
2759
  <details open=${this.group.get("layerControlExpand") || $}>
2748
2760
  <summary>
2749
2761
  <eox-layercontrol-layer
2762
+ .noShadow=${!0}
2750
2763
  .layer=${this.group}
2751
2764
  .titleProperty=${this.titleProperty}
2752
2765
  .tools=${this.tools}
@@ -2755,6 +2768,7 @@ class tn extends z {
2755
2768
  ></eox-layercontrol-layer>
2756
2769
  </summary>
2757
2770
  <eox-layercontrol-layer-list
2771
+ .noShadow=${!0}
2758
2772
  .idProperty=${this.idProperty}
2759
2773
  .layers=${this.group.getLayers()}
2760
2774
  .map=${this.map}
@@ -2769,20 +2783,21 @@ class tn extends z {
2769
2783
  `;
2770
2784
  }
2771
2785
  }
2772
- _e = new WeakMap(), $e = new WeakMap(), L(tn, "properties", {
2786
+ _e = new WeakMap(), $e = new WeakMap(), R(to, "properties", {
2773
2787
  group: { attribute: !1 },
2774
2788
  idProperty: { attribute: "id-property" },
2775
2789
  map: { attribute: !1, state: !0 },
2776
2790
  titleProperty: { attribute: "title-property", type: String },
2777
2791
  tools: { attribute: !1 },
2778
- unstyled: { type: Boolean }
2792
+ unstyled: { type: Boolean },
2793
+ noShadow: { type: Boolean }
2779
2794
  });
2780
2795
  customElements.define(
2781
2796
  "eox-layercontrol-layer-group",
2782
- tn
2797
+ to
2783
2798
  );
2784
2799
  var xe, Ae;
2785
- class en extends z {
2800
+ class eo extends z {
2786
2801
  constructor() {
2787
2802
  super();
2788
2803
  M(this, xe, "");
@@ -2814,21 +2829,21 @@ class en extends z {
2814
2829
  li.sortable-ghost {
2815
2830
  }
2816
2831
  `);
2817
- this.idProperty = "id", this.layers = null, this.map = null, this.tools = void 0, this.titleProperty = "title", this.unstyled = !1;
2832
+ this.idProperty = "id", this.layers = null, this.map = null, this.tools = void 0, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !0;
2818
2833
  }
2819
2834
  updated() {
2820
2835
  this.layers && (this.layers.on("change:length", () => {
2821
2836
  this.requestUpdate(), this.dispatchEvent(new CustomEvent("changed", { bubbles: !0 }));
2822
- }), to(this.renderRoot.querySelector("ul"), this.layers, this));
2837
+ }), tn(this.renderRoot.querySelector("ul"), this.layers, this));
2823
2838
  }
2824
2839
  createRenderRoot() {
2825
- return this;
2840
+ return this.noShadow ? this : super.createRenderRoot();
2826
2841
  }
2827
2842
  render() {
2828
2843
  return _`
2829
2844
  <style>
2830
- ${O(this, xe)}
2831
- ${!this.unstyled && O(this, Ae)}
2845
+ ${H(this, xe)}
2846
+ ${!this.unstyled && H(this, Ae)}
2832
2847
  </style>
2833
2848
  <ul>
2834
2849
  ${et(
@@ -2837,16 +2852,17 @@ class en extends z {
2837
2852
  ${this.layers.getArray().filter(
2838
2853
  (e) => !e.get("layerControlHide") && !e.get("layerControlOptional")
2839
2854
  ).reverse().map(
2840
- (e) => Sn(
2855
+ (e) => So(
2841
2856
  e.get(this.idProperty),
2842
2857
  _`
2843
2858
  <li
2844
2859
  data-layer="${e.get(this.idProperty)}"
2845
- data-type="${eo(e, this.map)}"
2860
+ data-type="${en(e, this.map)}"
2846
2861
  >
2847
2862
  ${/** @type {import("ol/layer").Group} */
2848
2863
  e.getLayers ? _`
2849
2864
  <eox-layercontrol-layer-group
2865
+ .noShadow=${!0}
2850
2866
  .group=${e}
2851
2867
  .idProperty=${this.idProperty}
2852
2868
  .map=${this.map}
@@ -2858,6 +2874,7 @@ class en extends z {
2858
2874
  </eox-layercontrol-layer-group>
2859
2875
  ` : _`
2860
2876
  <eox-layercontrol-layer
2877
+ .noShadow=${!0}
2861
2878
  .layer=${e}
2862
2879
  .titleProperty=${this.titleProperty}
2863
2880
  .tools=${this.tools}
@@ -2877,21 +2894,22 @@ class en extends z {
2877
2894
  `;
2878
2895
  }
2879
2896
  }
2880
- xe = new WeakMap(), Ae = new WeakMap(), L(en, "properties", {
2897
+ xe = new WeakMap(), Ae = new WeakMap(), R(eo, "properties", {
2881
2898
  idProperty: { attribute: "id-property" },
2882
2899
  layers: { attribute: !1 },
2883
2900
  map: { attribute: !1, state: !0 },
2884
2901
  titleProperty: { attribute: "title-property", type: String },
2885
2902
  tools: { attribute: !1 },
2886
- unstyled: { type: Boolean }
2903
+ unstyled: { type: Boolean },
2904
+ noShadow: { type: Boolean }
2887
2905
  });
2888
- customElements.define("eox-layercontrol-layer-list", en);
2889
- class nn extends z {
2906
+ customElements.define("eox-layercontrol-layer-list", eo);
2907
+ class io extends z {
2890
2908
  constructor() {
2891
- super(), this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1;
2909
+ super(), this.idProperty = "id", this.layers = null, this.titleProperty = "title", this.unstyled = !1, this.noShadow = !0;
2892
2910
  }
2893
2911
  createRenderRoot() {
2894
- return this;
2912
+ return this.noShadow ? this : super.createRenderRoot();
2895
2913
  }
2896
2914
  render() {
2897
2915
  return _`
@@ -2940,18 +2958,19 @@ class nn extends z {
2940
2958
  `;
2941
2959
  }
2942
2960
  }
2943
- L(nn, "properties", {
2961
+ R(io, "properties", {
2944
2962
  idProperty: { attribute: "id-property" },
2945
2963
  layers: { attribute: !1 },
2946
2964
  titleProperty: { attribute: "title-property", type: String },
2947
- unstyled: { type: Boolean }
2965
+ unstyled: { type: Boolean },
2966
+ noShadow: { type: Boolean }
2948
2967
  });
2949
2968
  customElements.define(
2950
2969
  "eox-layercontrol-optional-list",
2951
- nn
2970
+ io
2952
2971
  );
2953
2972
  var Ce, Se;
2954
- class on extends z {
2973
+ class oo extends z {
2955
2974
  constructor() {
2956
2975
  super();
2957
2976
  M(this, Ce, "");
@@ -2960,7 +2979,7 @@ class on extends z {
2960
2979
  font-family: Roboto, sans-serif;
2961
2980
  }
2962
2981
  `);
2963
- this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.tools = ["info", "opacity", "remove", "sort"], this.unstyled = !1;
2982
+ this.for = "eox-map", this.idProperty = "id", this.map = null, this.titleProperty = "title", this.tools = ["info", "opacity", "remove", "sort"], this.unstyled = !1, this.styleOverride = "";
2964
2983
  }
2965
2984
  updated() {
2966
2985
  const e = document.querySelector(this.for);
@@ -2970,13 +2989,15 @@ class on extends z {
2970
2989
  var e;
2971
2990
  return _`
2972
2991
  <style>
2973
- ${O(this, Ce)}
2974
- ${!this.unstyled && O(this, Se)}
2992
+ ${H(this, Ce)}
2993
+ ${!this.unstyled && H(this, Se)}
2994
+ ${this.styleOverride}
2975
2995
  </style>
2976
2996
  ${et(
2977
2997
  this.map,
2978
2998
  () => _`
2979
2999
  <eox-layercontrol-layer-list
3000
+ .noShadow=${!0}
2980
3001
  class="layers"
2981
3002
  .idProperty=${this.idProperty}
2982
3003
  .layers=${this.map.getLayers()}
@@ -2997,6 +3018,7 @@ class on extends z {
2997
3018
  )) == null ? void 0 : e.length) > 0,
2998
3019
  () => _`
2999
3020
  <eox-layercontrol-optional-list
3021
+ .noShadow=${!0}
3000
3022
  .idProperty=${this.idProperty}
3001
3023
  .layers=${this.map.getLayers()}
3002
3024
  .titleProperty=${this.titleProperty}
@@ -3007,15 +3029,16 @@ class on extends z {
3007
3029
  `;
3008
3030
  }
3009
3031
  }
3010
- Ce = new WeakMap(), Se = new WeakMap(), L(on, "properties", {
3032
+ Ce = new WeakMap(), Se = new WeakMap(), R(oo, "properties", {
3011
3033
  for: { type: String },
3012
3034
  idProperty: { attribute: "id-property" },
3013
3035
  map: { attribute: !1, state: !0 },
3014
3036
  titleProperty: { attribute: "title-property", type: String },
3015
3037
  tools: { attribute: !1 },
3016
- unstyled: { type: Boolean }
3038
+ unstyled: { type: Boolean },
3039
+ styleOverride: { type: String }
3017
3040
  });
3018
- customElements.define("eox-layercontrol", on);
3041
+ customElements.define("eox-layercontrol", oo);
3019
3042
  export {
3020
- on as EOxLayerControl
3043
+ oo as EOxLayerControl
3021
3044
  };