@eox/layercontrol 0.27.0 → 0.27.1

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.
@@ -286,9 +286,9 @@ ie.elementStyles = [], ie.shadowRootOptions = { mode: "open" }, ie[be("elementPr
286
286
  * Copyright 2017 Google LLC
287
287
  * SPDX-License-Identifier: BSD-3-Clause
288
288
  */
289
- const ve = globalThis, Ge = ve.trustedTypes, En = Ge ? Ge.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, nn = "$lit$", Ct = `lit$${Math.random().toFixed(9).slice(2)}$`, on = "?" + Ct, cr = `<${on}>`, Jt = document, _e = () => Jt.createComment(""), Ae = (i) => i === null || typeof i != "object" && typeof i != "function", rn = Array.isArray, Yn = (i) => rn(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Di = `[
289
+ const ve = globalThis, Ge = ve.trustedTypes, En = Ge ? Ge.createPolicy("lit-html", { createHTML: (i) => i }) : void 0, nn = "$lit$", Ct = `lit$${Math.random().toFixed(9).slice(2)}$`, on = "?" + Ct, ur = `<${on}>`, Jt = document, _e = () => Jt.createComment(""), Ae = (i) => i === null || typeof i != "object" && typeof i != "function", rn = Array.isArray, Yn = (i) => rn(i) || typeof (i == null ? void 0 : i[Symbol.iterator]) == "function", Di = `[
290
290
  \f\r]`, pe = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, $n = /-->/g, Sn = />/g, zt = RegExp(`>|${Di}(?:([^\\s"'>=/]+)(${Di}*=${Di}*(?:[^
291
- \f\r"'\`<>=]|("|')|))|$)`, "g"), _n = /'/g, An = /"/g, Wn = /^(?:script|style|textarea|title)$/i, ur = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), x = ur(1), vt = Symbol.for("lit-noChange"), O = Symbol.for("lit-nothing"), Cn = /* @__PURE__ */ new WeakMap(), Wt = Jt.createTreeWalker(Jt, 129);
291
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), _n = /'/g, An = /"/g, Wn = /^(?:script|style|textarea|title)$/i, cr = (i) => (t, ...e) => ({ _$litType$: i, strings: t, values: e }), x = cr(1), vt = Symbol.for("lit-noChange"), O = Symbol.for("lit-nothing"), Cn = /* @__PURE__ */ new WeakMap(), Wt = Jt.createTreeWalker(Jt, 129);
292
292
  function Gn(i, t) {
293
293
  if (!rn(i) || !i.hasOwnProperty("raw")) throw Error("invalid template strings array");
294
294
  return En !== void 0 ? En.createHTML(t) : t;
@@ -298,10 +298,10 @@ const Jn = (i, t) => {
298
298
  let o, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", s = pe;
299
299
  for (let a = 0; a < e; a++) {
300
300
  const l = i[a];
301
- let d, u, c = -1, p = 0;
302
- for (; p < l.length && (s.lastIndex = p, u = s.exec(l), u !== null); ) p = s.lastIndex, s === pe ? u[1] === "!--" ? s = $n : u[1] !== void 0 ? s = Sn : u[2] !== void 0 ? (Wn.test(u[2]) && (o = RegExp("</" + u[2], "g")), s = zt) : u[3] !== void 0 && (s = zt) : s === zt ? u[0] === ">" ? (s = o ?? pe, c = -1) : u[1] === void 0 ? c = -2 : (c = s.lastIndex - u[2].length, d = u[1], s = u[3] === void 0 ? zt : u[3] === '"' ? An : _n) : s === An || s === _n ? s = zt : s === $n || s === Sn ? s = pe : (s = zt, o = void 0);
301
+ let d, c, u = -1, p = 0;
302
+ for (; p < l.length && (s.lastIndex = p, c = s.exec(l), c !== null); ) p = s.lastIndex, s === pe ? c[1] === "!--" ? s = $n : c[1] !== void 0 ? s = Sn : c[2] !== void 0 ? (Wn.test(c[2]) && (o = RegExp("</" + c[2], "g")), s = zt) : c[3] !== void 0 && (s = zt) : s === zt ? c[0] === ">" ? (s = o ?? pe, u = -1) : c[1] === void 0 ? u = -2 : (u = s.lastIndex - c[2].length, d = c[1], s = c[3] === void 0 ? zt : c[3] === '"' ? An : _n) : s === An || s === _n ? s = zt : s === $n || s === Sn ? s = pe : (s = zt, o = void 0);
303
303
  const f = s === zt && i[a + 1].startsWith("/>") ? " " : "";
304
- r += s === pe ? l + cr : c >= 0 ? (n.push(d), l.slice(0, c) + nn + l.slice(c) + Ct + f) : l + Ct + (c === -2 ? a : f);
304
+ r += s === pe ? l + ur : u >= 0 ? (n.push(d), l.slice(0, u) + nn + l.slice(u) + Ct + f) : l + Ct + (u === -2 ? a : f);
305
305
  }
306
306
  return [Gn(i, r + (i[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), n];
307
307
  };
@@ -310,29 +310,29 @@ class Ce {
310
310
  let o;
311
311
  this.parts = [];
312
312
  let r = 0, s = 0;
313
- const a = t.length - 1, l = this.parts, [d, u] = Jn(t, e);
313
+ const a = t.length - 1, l = this.parts, [d, c] = Jn(t, e);
314
314
  if (this.el = Ce.createElement(d, n), Wt.currentNode = this.el.content, e === 2 || e === 3) {
315
- const c = this.el.content.firstChild;
316
- c.replaceWith(...c.childNodes);
315
+ const u = this.el.content.firstChild;
316
+ u.replaceWith(...u.childNodes);
317
317
  }
318
318
  for (; (o = Wt.nextNode()) !== null && l.length < a; ) {
319
319
  if (o.nodeType === 1) {
320
- if (o.hasAttributes()) for (const c of o.getAttributeNames()) if (c.endsWith(nn)) {
321
- const p = u[s++], f = o.getAttribute(c).split(Ct), g = /([.?@])?(.*)/.exec(p);
322
- l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Qn : g[1] === "?" ? to : g[1] === "@" ? eo : Le }), o.removeAttribute(c);
323
- } else c.startsWith(Ct) && (l.push({ type: 6, index: r }), o.removeAttribute(c));
320
+ if (o.hasAttributes()) for (const u of o.getAttributeNames()) if (u.endsWith(nn)) {
321
+ const p = c[s++], f = o.getAttribute(u).split(Ct), g = /([.?@])?(.*)/.exec(p);
322
+ l.push({ type: 1, index: r, name: g[2], strings: f, ctor: g[1] === "." ? Qn : g[1] === "?" ? to : g[1] === "@" ? eo : Le }), o.removeAttribute(u);
323
+ } else u.startsWith(Ct) && (l.push({ type: 6, index: r }), o.removeAttribute(u));
324
324
  if (Wn.test(o.tagName)) {
325
- const c = o.textContent.split(Ct), p = c.length - 1;
325
+ const u = o.textContent.split(Ct), p = u.length - 1;
326
326
  if (p > 0) {
327
327
  o.textContent = Ge ? Ge.emptyScript : "";
328
- for (let f = 0; f < p; f++) o.append(c[f], _e()), Wt.nextNode(), l.push({ type: 2, index: ++r });
329
- o.append(c[p], _e());
328
+ for (let f = 0; f < p; f++) o.append(u[f], _e()), Wt.nextNode(), l.push({ type: 2, index: ++r });
329
+ o.append(u[p], _e());
330
330
  }
331
331
  }
332
332
  } else if (o.nodeType === 8) if (o.data === on) l.push({ type: 2, index: r });
333
333
  else {
334
- let c = -1;
335
- for (; (c = o.data.indexOf(Ct, c + 1)) !== -1; ) l.push({ type: 7, index: r }), c += Ct.length - 1;
334
+ let u = -1;
335
+ for (; (u = o.data.indexOf(Ct, u + 1)) !== -1; ) l.push({ type: 7, index: r }), u += Ct.length - 1;
336
336
  }
337
337
  r++;
338
338
  }
@@ -366,7 +366,7 @@ let Kn = class {
366
366
  for (; l !== void 0; ) {
367
367
  if (s === l.index) {
368
368
  let d;
369
- l.type === 2 ? d = new ue(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new io(r, this, t)), this._$AV.push(d), l = n[++a];
369
+ l.type === 2 ? d = new ce(r, r.nextSibling, this, t) : l.type === 1 ? d = new l.ctor(r, l.name, l.strings, this, t) : l.type === 6 && (d = new io(r, this, t)), this._$AV.push(d), l = n[++a];
370
370
  }
371
371
  s !== (l == null ? void 0 : l.index) && (r = Wt.nextNode(), s++);
372
372
  }
@@ -377,7 +377,7 @@ let Kn = class {
377
377
  for (const n of this._$AV) n !== void 0 && (n.strings !== void 0 ? (n._$AI(t, n, e), e += n.strings.length - 2) : n._$AI(t[e])), e++;
378
378
  }
379
379
  };
380
- class ue {
380
+ class ce {
381
381
  get _$AU() {
382
382
  var t;
383
383
  return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
@@ -425,7 +425,7 @@ class ue {
425
425
  rn(this._$AH) || (this._$AH = [], this._$AR());
426
426
  const e = this._$AH;
427
427
  let n, o = 0;
428
- for (const r of t) o === e.length ? e.push(n = new ue(this.O(_e()), this.O(_e()), this, this.options)) : n = e[o], n._$AI(r), o++;
428
+ for (const r of t) o === e.length ? e.push(n = new ce(this.O(_e()), this.O(_e()), this, this.options)) : n = e[o], n._$AI(r), o++;
429
429
  o < e.length && (this._$AR(n && n._$AB.nextSibling, o), e.length = o);
430
430
  }
431
431
  _$AR(t = this._$AA.nextSibling, e) {
@@ -506,14 +506,14 @@ class io {
506
506
  Kt(this, t);
507
507
  }
508
508
  }
509
- const hr = { M: nn, P: Ct, A: on, C: 1, L: Jn, R: Kn, D: Yn, V: Kt, I: ue, H: Le, N: to, U: eo, B: Qn, F: io }, Pi = ve.litHtmlPolyfillSupport;
510
- Pi == null || Pi(Ce, ue), (ve.litHtmlVersions ?? (ve.litHtmlVersions = [])).push("3.2.1");
509
+ const hr = { M: nn, P: Ct, A: on, C: 1, L: Jn, R: Kn, D: Yn, V: Kt, I: ce, H: Le, N: to, U: eo, B: Qn, F: io }, Pi = ve.litHtmlPolyfillSupport;
510
+ Pi == null || Pi(Ce, ce), (ve.litHtmlVersions ?? (ve.litHtmlVersions = [])).push("3.2.1");
511
511
  const pr = (i, t, e) => {
512
512
  const n = (e == null ? void 0 : e.renderBefore) ?? t;
513
513
  let o = n._$litPart$;
514
514
  if (o === void 0) {
515
515
  const r = (e == null ? void 0 : e.renderBefore) ?? null;
516
- n._$litPart$ = o = new ue(t.insertBefore(_e(), r), r, void 0, e ?? {});
516
+ n._$litPart$ = o = new ce(t.insertBefore(_e(), r), r, void 0, e ?? {});
517
517
  }
518
518
  return o._$AI(i), o;
519
519
  };
@@ -602,8 +602,8 @@ const { I: fr } = hr, gr = (i) => i.strings === void 0, Tn = () => document.crea
602
602
  if (s !== o || l) {
603
603
  let d = e._$AA;
604
604
  for (; d !== s; ) {
605
- const u = d.nextSibling;
606
- n.insertBefore(d, o), d = u;
605
+ const c = d.nextSibling;
606
+ n.insertBefore(d, o), d = c;
607
607
  }
608
608
  }
609
609
  }
@@ -646,28 +646,28 @@ const Dn = (i, t, e) => {
646
646
  const o = yr(i), { values: r, keys: s } = this.dt(t, e, n);
647
647
  if (!Array.isArray(o)) return this.ut = s, r;
648
648
  const a = this.ut ?? (this.ut = []), l = [];
649
- let d, u, c = 0, p = o.length - 1, f = 0, g = r.length - 1;
650
- for (; c <= p && f <= g; ) if (o[c] === null) c++;
649
+ let d, c, u = 0, p = o.length - 1, f = 0, g = r.length - 1;
650
+ for (; u <= p && f <= g; ) if (o[u] === null) u++;
651
651
  else if (o[p] === null) p--;
652
- else if (a[c] === s[f]) l[f] = Zt(o[c], r[f]), c++, f++;
652
+ else if (a[u] === s[f]) l[f] = Zt(o[u], r[f]), u++, f++;
653
653
  else if (a[p] === s[g]) l[g] = Zt(o[p], r[g]), p--, g--;
654
- else if (a[c] === s[g]) l[g] = Zt(o[c], r[g]), fe(i, l[g + 1], o[c]), c++, g--;
655
- else if (a[p] === s[f]) l[f] = Zt(o[p], r[f]), fe(i, o[c], o[p]), p--, f++;
656
- else if (d === void 0 && (d = Dn(s, f, g), u = Dn(a, c, p)), d.has(a[c])) if (d.has(a[p])) {
657
- const b = u.get(s[f]), N = b !== void 0 ? o[b] : null;
654
+ else if (a[u] === s[g]) l[g] = Zt(o[u], r[g]), fe(i, l[g + 1], o[u]), u++, g--;
655
+ else if (a[p] === s[f]) l[f] = Zt(o[p], r[f]), fe(i, o[u], o[p]), p--, f++;
656
+ else if (d === void 0 && (d = Dn(s, f, g), c = Dn(a, u, p)), d.has(a[u])) if (d.has(a[p])) {
657
+ const b = c.get(s[f]), N = b !== void 0 ? o[b] : null;
658
658
  if (N === null) {
659
- const J = fe(i, o[c]);
659
+ const J = fe(i, o[u]);
660
660
  Zt(J, r[f]), l[f] = J;
661
- } else l[f] = Zt(N, r[f]), fe(i, o[c], N), o[b] = null;
661
+ } else l[f] = Zt(N, r[f]), fe(i, o[u], N), o[b] = null;
662
662
  f++;
663
663
  } else Li(o[p]), p--;
664
- else Li(o[c]), c++;
664
+ else Li(o[u]), u++;
665
665
  for (; f <= g; ) {
666
666
  const b = fe(i, l[g + 1]);
667
667
  Zt(b, r[f]), l[f++] = b;
668
668
  }
669
- for (; c <= p; ) {
670
- const b = o[c++];
669
+ for (; u <= p; ) {
670
+ const b = o[u++];
671
671
  b !== null && Li(b);
672
672
  }
673
673
  return this.ut = s, no(i, l), vt;
@@ -970,7 +970,7 @@ function Vr(i, t) {
970
970
  {
971
971
  queryable: S(e) ? e : !1
972
972
  },
973
- uo,
973
+ co,
974
974
  i,
975
975
  t
976
976
  );
@@ -984,7 +984,7 @@ function Br(i, t) {
984
984
  /** @type {Object.<string,*>} */
985
985
  Q(
986
986
  {},
987
- uo,
987
+ co,
988
988
  i,
989
989
  t
990
990
  )
@@ -1002,15 +1002,15 @@ function Br(i, t) {
1002
1002
  S(l) || (l = e.fixedWidth), n.fixedWidth = l;
1003
1003
  let d = Tt(i.getAttribute("fixedHeight"));
1004
1004
  S(d) || (d = e.fixedHeight), n.fixedHeight = d;
1005
- const u = ["Style", "CRS", "AuthorityURL"];
1006
- for (let p = 0, f = u.length; p < f; p++) {
1007
- const g = u[p], b = e[g];
1005
+ const c = ["Style", "CRS", "AuthorityURL"];
1006
+ for (let p = 0, f = c.length; p < f; p++) {
1007
+ const g = c[p], b = e[g];
1008
1008
  if (S(b)) {
1009
1009
  let N = oo(n, g, []);
1010
1010
  N = N.concat(b), n[g] = N;
1011
1011
  }
1012
1012
  }
1013
- const c = [
1013
+ const u = [
1014
1014
  "EX_GeographicBoundingBox",
1015
1015
  "BoundingBox",
1016
1016
  "Dimension",
@@ -1018,8 +1018,8 @@ function Br(i, t) {
1018
1018
  "MinScaleDenominator",
1019
1019
  "MaxScaleDenominator"
1020
1020
  ];
1021
- for (let p = 0, f = c.length; p < f; p++) {
1022
- const g = c[p], b = n[g];
1021
+ for (let p = 0, f = u.length; p < f; p++) {
1022
+ const g = u[p], b = n[g];
1023
1023
  if (!S(b)) {
1024
1024
  const N = e[g];
1025
1025
  n[g] = N;
@@ -1082,7 +1082,7 @@ function Zr(i, t) {
1082
1082
  function qr(i, t) {
1083
1083
  return Q({}, ss, i, t);
1084
1084
  }
1085
- function co(i, t) {
1085
+ function uo(i, t) {
1086
1086
  return Q(
1087
1087
  [],
1088
1088
  ls,
@@ -1112,7 +1112,7 @@ const ot = [
1112
1112
  Name: y(D),
1113
1113
  Title: y(D),
1114
1114
  Abstract: y(D),
1115
- KeywordList: y(co),
1115
+ KeywordList: y(uo),
1116
1116
  OnlineResource: y(ln),
1117
1117
  ContactInformation: y(Mr),
1118
1118
  Fees: y(D),
@@ -1152,13 +1152,13 @@ const ot = [
1152
1152
  {
1153
1153
  Format: so(D)
1154
1154
  }
1155
- ), uo = nt(
1155
+ ), co = nt(
1156
1156
  ot,
1157
1157
  {
1158
1158
  Name: y(D),
1159
1159
  Title: y(D),
1160
1160
  Abstract: y(D),
1161
- KeywordList: y(co),
1161
+ KeywordList: y(uo),
1162
1162
  CRS: pt(D),
1163
1163
  SRS: pt(D),
1164
1164
  EX_GeographicBoundingBox: y(Or),
@@ -1300,7 +1300,7 @@ class ds {
1300
1300
  }, Xr, t, []) || null;
1301
1301
  }
1302
1302
  }
1303
- async function cs(i) {
1303
+ async function us(i) {
1304
1304
  let t = new URL(i), e = t.searchParams;
1305
1305
  e.set("SERVICE", "WMS"), e.set("REQUEST", "GetCapabilities");
1306
1306
  let n = t.toString();
@@ -1315,7 +1315,7 @@ function dn(i) {
1315
1315
  const t = /\b(?:wms|ows)\b/i, e = /{(?:z|x|y-?)}\/{(?:z|x|y-?)}\/{(?:z|x|y-?)}/i;
1316
1316
  return t.test(i) ? "TileWMS" : e.test(i) ? "XYZ" : !1;
1317
1317
  }
1318
- function us(i) {
1318
+ function cs(i) {
1319
1319
  const e = /^(?:(?:https?|ftp):\/\/|\/\/)?(?:localhost|\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}|(?:\w+[\w-]*\.)+\w+)(?::\d+)?(?:\/\S*)?$/.test(i), n = dn(i);
1320
1320
  return !!(i && e && n);
1321
1321
  }
@@ -1417,7 +1417,7 @@ function Dt(i) {
1417
1417
  if (typeof window < "u" && window.navigator)
1418
1418
  return !!/* @__PURE__ */ navigator.userAgent.match(i);
1419
1419
  }
1420
- var Lt = Dt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Re = Dt(/Edge/i), On = Dt(/firefox/i), we = Dt(/safari/i) && !Dt(/chrome/i) && !Dt(/android/i), cn = Dt(/iP(ad|od|hone)/i), po = Dt(/chrome/i) && Dt(/android/i), fo = {
1420
+ var Lt = Dt(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i), Re = Dt(/Edge/i), On = Dt(/firefox/i), we = Dt(/safari/i) && !Dt(/chrome/i) && !Dt(/android/i), un = Dt(/iP(ad|od|hone)/i), po = Dt(/chrome/i) && Dt(/android/i), fo = {
1421
1421
  capture: !1,
1422
1422
  passive: !1
1423
1423
  };
@@ -1503,8 +1503,8 @@ function $t() {
1503
1503
  }
1504
1504
  function W(i, t, e, n, o) {
1505
1505
  if (!(!i.getBoundingClientRect && i !== window)) {
1506
- var r, s, a, l, d, u, c;
1507
- if (i !== window && i.parentNode && i !== $t() ? (r = i.getBoundingClientRect(), s = r.top, a = r.left, l = r.bottom, d = r.right, u = r.height, c = r.width) : (s = 0, a = 0, l = window.innerHeight, d = window.innerWidth, u = window.innerHeight, c = window.innerWidth), (t || e) && i !== window && (o = o || i.parentNode, !Lt))
1506
+ var r, s, a, l, d, c, u;
1507
+ if (i !== window && i.parentNode && i !== $t() ? (r = i.getBoundingClientRect(), s = r.top, a = r.left, l = r.bottom, d = r.right, c = r.height, u = r.width) : (s = 0, a = 0, l = window.innerHeight, d = window.innerWidth, c = window.innerHeight, u = window.innerWidth), (t || e) && i !== window && (o = o || i.parentNode, !Lt))
1508
1508
  do
1509
1509
  if (o && o.getBoundingClientRect && (v(o, "transform") !== "none" || e && v(o, "position") !== "static")) {
1510
1510
  var p = o.getBoundingClientRect();
@@ -1514,15 +1514,15 @@ function W(i, t, e, n, o) {
1514
1514
  while (o = o.parentNode);
1515
1515
  if (n && i !== window) {
1516
1516
  var f = ae(o || i), g = f && f.a, b = f && f.d;
1517
- f && (s /= b, a /= g, c /= g, u /= b, l = s + u, d = a + c);
1517
+ f && (s /= b, a /= g, u /= g, c /= b, l = s + c, d = a + u);
1518
1518
  }
1519
1519
  return {
1520
1520
  top: s,
1521
1521
  left: a,
1522
1522
  bottom: l,
1523
1523
  right: d,
1524
- width: c,
1525
- height: u
1524
+ width: u,
1525
+ height: c
1526
1526
  };
1527
1527
  }
1528
1528
  }
@@ -1546,7 +1546,7 @@ function de(i, t, e, n) {
1546
1546
  }
1547
1547
  return null;
1548
1548
  }
1549
- function un(i, t) {
1549
+ function cn(i, t) {
1550
1550
  for (var e = i.lastElementChild; e && (e === w.ghost || v(e, "display") === "none" || t && !Ke(e, t)); )
1551
1551
  e = e.previousElementSibling;
1552
1552
  return e || null;
@@ -1670,9 +1670,9 @@ function xs() {
1670
1670
  }
1671
1671
  var r = !1, s = 0;
1672
1672
  i.forEach(function(a) {
1673
- var l = 0, d = a.target, u = d.fromRect, c = W(d), p = d.prevFromRect, f = d.prevToRect, g = a.rect, b = ae(d, !0);
1674
- b && (c.top -= b.f, c.left -= b.e), d.toRect = c, d.thisAnimationDuration && Ii(p, c) && !Ii(u, c) && // Make sure animatingRect is on line between toRect & fromRect
1675
- (g.top - c.top) / (g.left - c.left) === (u.top - c.top) / (u.left - c.left) && (l = $s(g, p, f, o.options)), Ii(c, u) || (d.prevFromRect = u, d.prevToRect = c, l || (l = o.options.animation), o.animate(d, g, c, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1673
+ var l = 0, d = a.target, c = d.fromRect, u = W(d), p = d.prevFromRect, f = d.prevToRect, g = a.rect, b = ae(d, !0);
1674
+ b && (u.top -= b.f, u.left -= b.e), d.toRect = u, d.thisAnimationDuration && Ii(p, u) && !Ii(c, u) && // Make sure animatingRect is on line between toRect & fromRect
1675
+ (g.top - u.top) / (g.left - u.left) === (c.top - u.top) / (c.left - u.left) && (l = $s(g, p, f, o.options)), Ii(u, c) || (d.prevFromRect = c, d.prevToRect = u, l || (l = o.options.animation), o.animate(d, g, u, l)), l && (r = !0, s = Math.max(s, l), clearTimeout(d.animationResetTimer), d.animationResetTimer = setTimeout(function() {
1676
1676
  d.animationTime = 0, d.prevFromRect = null, d.fromRect = null, d.prevToRect = null, d.thisAnimationDuration = null;
1677
1677
  }, l), d.thisAnimationDuration = l);
1678
1678
  }), clearTimeout(t), r ? t = setTimeout(function() {
@@ -1682,8 +1682,8 @@ function xs() {
1682
1682
  animate: function(n, o, r, s) {
1683
1683
  if (s) {
1684
1684
  v(n, "transition", ""), v(n, "transform", "");
1685
- var a = ae(this.el), l = a && a.a, d = a && a.d, u = (o.left - r.left) / (l || 1), c = (o.top - r.top) / (d || 1);
1686
- n.animatingX = !!u, n.animatingY = !!c, v(n, "transform", "translate3d(" + u + "px," + c + "px,0)"), this.forRepaintDummy = Es(n), v(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1685
+ var a = ae(this.el), l = a && a.a, d = a && a.d, c = (o.left - r.left) / (l || 1), u = (o.top - r.top) / (d || 1);
1686
+ n.animatingX = !!c, n.animatingY = !!u, v(n, "transform", "translate3d(" + c + "px," + u + "px,0)"), this.forRepaintDummy = Es(n), v(n, "transition", "transform " + s + "ms" + (this.options.easing ? " " + this.options.easing : "")), v(n, "transform", "translate3d(0,0,0)"), typeof n.animated == "number" && clearTimeout(n.animated), n.animated = setTimeout(function() {
1687
1687
  v(n, "transition", ""), v(n, "transform", ""), n.animated = !1, n.animatingX = !1, n.animatingY = !1;
1688
1688
  }, s);
1689
1689
  }
@@ -1749,13 +1749,13 @@ var te = [], Ni = {
1749
1749
  }
1750
1750
  };
1751
1751
  function Ss(i) {
1752
- var t = i.sortable, e = i.rootEl, n = i.name, o = i.targetEl, r = i.cloneEl, s = i.toEl, a = i.fromEl, l = i.oldIndex, d = i.newIndex, u = i.oldDraggableIndex, c = i.newDraggableIndex, p = i.originalEvent, f = i.putSortable, g = i.extraEventProperties;
1752
+ var t = i.sortable, e = i.rootEl, n = i.name, o = i.targetEl, r = i.cloneEl, s = i.toEl, a = i.fromEl, l = i.oldIndex, d = i.newIndex, c = i.oldDraggableIndex, u = i.newDraggableIndex, p = i.originalEvent, f = i.putSortable, g = i.extraEventProperties;
1753
1753
  if (t = t || e && e[ft], !!t) {
1754
1754
  var b, N = t.options, J = "on" + n.charAt(0).toUpperCase() + n.substr(1);
1755
1755
  window.CustomEvent && !Lt && !Re ? b = new CustomEvent(n, {
1756
1756
  bubbles: !0,
1757
1757
  cancelable: !0
1758
- }) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = s || e, b.from = a || e, b.item = o || e, b.clone = r, b.oldIndex = l, b.newIndex = d, b.oldDraggableIndex = u, b.newDraggableIndex = c, b.originalEvent = p, b.pullMode = f ? f.lastPutMode : void 0;
1758
+ }) : (b = document.createEvent("Event"), b.initEvent(n, !0, !0)), b.to = s || e, b.from = a || e, b.item = o || e, b.clone = r, b.oldIndex = l, b.newIndex = d, b.oldDraggableIndex = c, b.newDraggableIndex = u, b.originalEvent = p, b.pullMode = f ? f.lastPutMode : void 0;
1759
1759
  var U = St(St({}, g), Me.getEventProperties(n, t));
1760
1760
  for (var st in U)
1761
1761
  b[st] = U[st];
@@ -1810,7 +1810,7 @@ function at(i) {
1810
1810
  newDraggableIndex: It
1811
1811
  }, i));
1812
1812
  }
1813
- var h, z, E, V, Yt, ze, k, Nt, se, yt, Ee, It, He, et, ne = !1, Qe = !1, ti = [], qt, wt, Hi, Vi, In, Nn, ge, ee, $e, Se = !1, Ve = !1, Ze, rt, Bi = [], Xi = !1, ei = [], _i = typeof document < "u", Be = cn, Hn = Re || Lt ? "cssFloat" : "float", As = _i && !po && !cn && "draggable" in document.createElement("div"), xo = function() {
1813
+ var h, z, E, V, Yt, ze, k, Nt, se, yt, Ee, It, He, et, ne = !1, Qe = !1, ti = [], qt, wt, Hi, Vi, In, Nn, ge, ee, $e, Se = !1, Ve = !1, Ze, rt, Bi = [], Xi = !1, ei = [], _i = typeof document < "u", Be = un, Hn = Re || Lt ? "cssFloat" : "float", As = _i && !po && !un && "draggable" in document.createElement("div"), xo = function() {
1814
1814
  if (_i) {
1815
1815
  if (Lt)
1816
1816
  return !1;
@@ -1818,16 +1818,16 @@ var h, z, E, V, Yt, ze, k, Nt, se, yt, Ee, It, He, et, ne = !1, Qe = !1, ti = []
1818
1818
  return i.style.cssText = "pointer-events:auto", i.style.pointerEvents === "auto";
1819
1819
  }
1820
1820
  }(), Eo = function(t, e) {
1821
- var n = v(t), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), r = de(t, 0, e), s = de(t, 1, e), a = r && v(r), l = s && v(s), d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + W(r).width, u = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + W(s).width;
1821
+ var n = v(t), o = parseInt(n.width) - parseInt(n.paddingLeft) - parseInt(n.paddingRight) - parseInt(n.borderLeftWidth) - parseInt(n.borderRightWidth), r = de(t, 0, e), s = de(t, 1, e), a = r && v(r), l = s && v(s), d = a && parseInt(a.marginLeft) + parseInt(a.marginRight) + W(r).width, c = l && parseInt(l.marginLeft) + parseInt(l.marginRight) + W(s).width;
1822
1822
  if (n.display === "flex")
1823
1823
  return n.flexDirection === "column" || n.flexDirection === "column-reverse" ? "vertical" : "horizontal";
1824
1824
  if (n.display === "grid")
1825
1825
  return n.gridTemplateColumns.split(" ").length <= 1 ? "vertical" : "horizontal";
1826
1826
  if (r && a.float && a.float !== "none") {
1827
- var c = a.float === "left" ? "left" : "right";
1828
- return s && (l.clear === "both" || l.clear === c) ? "vertical" : "horizontal";
1827
+ var u = a.float === "left" ? "left" : "right";
1828
+ return s && (l.clear === "both" || l.clear === u) ? "vertical" : "horizontal";
1829
1829
  }
1830
- return r && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || d >= o && n[Hn] === "none" || s && n[Hn] === "none" && d + u > o) ? "vertical" : "horizontal";
1830
+ return r && (a.display === "block" || a.display === "flex" || a.display === "table" || a.display === "grid" || d >= o && n[Hn] === "none" || s && n[Hn] === "none" && d + c > o) ? "vertical" : "horizontal";
1831
1831
  }, Cs = function(t, e, n) {
1832
1832
  var o = n ? t.left : t.top, r = n ? t.right : t.bottom, s = n ? t.width : t.height, a = n ? e.left : e.top, l = n ? e.right : e.bottom, d = n ? e.width : e.height;
1833
1833
  return o === a || r === l || o + s / 2 === a + d / 2;
@@ -1835,7 +1835,7 @@ var h, z, E, V, Yt, ze, k, Nt, se, yt, Ee, It, He, et, ne = !1, Qe = !1, ti = []
1835
1835
  var n;
1836
1836
  return ti.some(function(o) {
1837
1837
  var r = o[ft].options.emptyInsertThreshold;
1838
- if (!(!r || un(o))) {
1838
+ if (!(!r || cn(o))) {
1839
1839
  var s = W(o), a = t >= s.left - r && t <= s.right + r, l = e >= s.top - r && e <= s.bottom + r;
1840
1840
  if (a && l)
1841
1841
  return n = o;
@@ -1843,16 +1843,16 @@ var h, z, E, V, Yt, ze, k, Nt, se, yt, Ee, It, He, et, ne = !1, Qe = !1, ti = []
1843
1843
  }), n;
1844
1844
  }, $o = function(t) {
1845
1845
  function e(r, s) {
1846
- return function(a, l, d, u) {
1847
- var c = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1848
- if (r == null && (s || c))
1846
+ return function(a, l, d, c) {
1847
+ var u = a.options.group.name && l.options.group.name && a.options.group.name === l.options.group.name;
1848
+ if (r == null && (s || u))
1849
1849
  return !0;
1850
1850
  if (r == null || r === !1)
1851
1851
  return !1;
1852
1852
  if (s && r === "clone")
1853
1853
  return r;
1854
1854
  if (typeof r == "function")
1855
- return e(r(a, l, d, u), s)(a, l, d, u);
1855
+ return e(r(a, l, d, c), s)(a, l, d, c);
1856
1856
  var p = (s ? a : l).options.group.name;
1857
1857
  return r === !0 || typeof r == "string" && r === p || r.join && r.indexOf(p) > -1;
1858
1858
  };
@@ -1931,7 +1931,7 @@ function w(i, t) {
1931
1931
  y: 0
1932
1932
  },
1933
1933
  // Disabled on Safari: #1571; Enabled on Safari IOS: #2244
1934
- supportPointer: w.supportPointer !== !1 && "PointerEvent" in window && (!we || cn),
1934
+ supportPointer: w.supportPointer !== !1 && "PointerEvent" in window && (!we || un),
1935
1935
  emptyInsertThreshold: 5
1936
1936
  };
1937
1937
  Me.initializePlugins(this, i, e);
@@ -1953,10 +1953,10 @@ w.prototype = /** @lends Sortable.prototype */
1953
1953
  },
1954
1954
  _onTapStart: function(t) {
1955
1955
  if (t.cancelable) {
1956
- var e = this, n = this.el, o = this.options, r = o.preventOnFilter, s = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (a || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, u = o.filter;
1956
+ var e = this, n = this.el, o = this.options, r = o.preventOnFilter, s = t.type, a = t.touches && t.touches[0] || t.pointerType && t.pointerType === "touch" && t, l = (a || t).target, d = t.target.shadowRoot && (t.path && t.path[0] || t.composedPath && t.composedPath()[0]) || l, c = o.filter;
1957
1957
  if (Hs(n), !h && !(/mousedown|pointerdown/.test(s) && t.button !== 0 || o.disabled) && !d.isContentEditable && !(!this.nativeDraggable && we && l && l.tagName.toUpperCase() === "SELECT") && (l = xt(l, o.draggable, n, !1), !(l && l.animated) && ze !== l)) {
1958
- if (se = bt(l), Ee = bt(l, o.draggable), typeof u == "function") {
1959
- if (u.call(this, t, l, this)) {
1958
+ if (se = bt(l), Ee = bt(l, o.draggable), typeof c == "function") {
1959
+ if (c.call(this, t, l, this)) {
1960
1960
  at({
1961
1961
  sortable: e,
1962
1962
  rootEl: d,
@@ -1969,11 +1969,11 @@ w.prototype = /** @lends Sortable.prototype */
1969
1969
  }), r && t.preventDefault();
1970
1970
  return;
1971
1971
  }
1972
- } else if (u && (u = u.split(",").some(function(c) {
1973
- if (c = xt(d, c.trim(), n, !1), c)
1972
+ } else if (c && (c = c.split(",").some(function(u) {
1973
+ if (u = xt(d, u.trim(), n, !1), u)
1974
1974
  return at({
1975
1975
  sortable: e,
1976
- rootEl: c,
1976
+ rootEl: u,
1977
1977
  name: "filter",
1978
1978
  targetEl: l,
1979
1979
  fromEl: n,
@@ -1981,7 +1981,7 @@ w.prototype = /** @lends Sortable.prototype */
1981
1981
  }), ht("filter", e, {
1982
1982
  evt: t
1983
1983
  }), !0;
1984
- }), u)) {
1984
+ }), c)) {
1985
1985
  r && t.preventDefault();
1986
1986
  return;
1987
1987
  }
@@ -2009,8 +2009,8 @@ w.prototype = /** @lends Sortable.prototype */
2009
2009
  name: "choose",
2010
2010
  originalEvent: t
2011
2011
  }), mt(h, s.chosenClass, !0);
2012
- }, s.ignore.split(",").forEach(function(u) {
2013
- mo(h, u.trim(), ki);
2012
+ }, s.ignore.split(",").forEach(function(c) {
2013
+ mo(h, c.trim(), ki);
2014
2014
  }), C(a, "dragover", Xt), C(a, "mousemove", Xt), C(a, "touchmove", Xt), s.supportPointer ? (C(a, "pointerup", o._onDrop), !this.nativeDraggable && C(a, "pointercancel", o._onDrop)) : (C(a, "mouseup", o._onDrop), C(a, "touchend", o._onDrop), C(a, "touchcancel", o._onDrop)), On && this.nativeDraggable && (this.options.touchStartThreshold = 4, h.draggable = !0), ht("delayStart", this, {
2015
2015
  evt: t
2016
2016
  }), s.delay && (!s.delayOnTouchOnly || e) && (!this.nativeDraggable || !(Re || Lt))) {
@@ -2081,23 +2081,23 @@ w.prototype = /** @lends Sortable.prototype */
2081
2081
  },
2082
2082
  _onTouchMove: function(t) {
2083
2083
  if (qt) {
2084
- var e = this.options, n = e.fallbackTolerance, o = e.fallbackOffset, r = t.touches ? t.touches[0] : t, s = E && ae(E, !0), a = E && s && s.a, l = E && s && s.d, d = Be && rt && Mn(rt), u = (r.clientX - qt.clientX + o.x) / (a || 1) + (d ? d[0] - Bi[0] : 0) / (a || 1), c = (r.clientY - qt.clientY + o.y) / (l || 1) + (d ? d[1] - Bi[1] : 0) / (l || 1);
2084
+ var e = this.options, n = e.fallbackTolerance, o = e.fallbackOffset, r = t.touches ? t.touches[0] : t, s = E && ae(E, !0), a = E && s && s.a, l = E && s && s.d, d = Be && rt && Mn(rt), c = (r.clientX - qt.clientX + o.x) / (a || 1) + (d ? d[0] - Bi[0] : 0) / (a || 1), u = (r.clientY - qt.clientY + o.y) / (l || 1) + (d ? d[1] - Bi[1] : 0) / (l || 1);
2085
2085
  if (!w.active && !ne) {
2086
2086
  if (n && Math.max(Math.abs(r.clientX - this._lastX), Math.abs(r.clientY - this._lastY)) < n)
2087
2087
  return;
2088
2088
  this._onDragStart(t, !0);
2089
2089
  }
2090
2090
  if (E) {
2091
- s ? (s.e += u - (Hi || 0), s.f += c - (Vi || 0)) : s = {
2091
+ s ? (s.e += c - (Hi || 0), s.f += u - (Vi || 0)) : s = {
2092
2092
  a: 1,
2093
2093
  b: 0,
2094
2094
  c: 0,
2095
2095
  d: 1,
2096
- e: u,
2097
- f: c
2096
+ e: c,
2097
+ f: u
2098
2098
  };
2099
2099
  var p = "matrix(".concat(s.a, ",").concat(s.b, ",").concat(s.c, ",").concat(s.d, ",").concat(s.e, ",").concat(s.f, ")");
2100
- v(E, "webkitTransform", p), v(E, "mozTransform", p), v(E, "msTransform", p), v(E, "transform", p), Hi = u, Vi = c, wt = r;
2100
+ v(E, "webkitTransform", p), v(E, "mozTransform", p), v(E, "msTransform", p), v(E, "transform", p), Hi = c, Vi = u, wt = r;
2101
2101
  }
2102
2102
  t.cancelable && t.preventDefault();
2103
2103
  }
@@ -2130,17 +2130,17 @@ w.prototype = /** @lends Sortable.prototype */
2130
2130
  },
2131
2131
  // Returns true - if no further action is needed (either inserted or another condition)
2132
2132
  _onDragOver: function(t) {
2133
- var e = this.el, n = t.target, o, r, s, a = this.options, l = a.group, d = w.active, u = He === l, c = a.sort, p = et || d, f, g = this, b = !1;
2133
+ var e = this.el, n = t.target, o, r, s, a = this.options, l = a.group, d = w.active, c = He === l, u = a.sort, p = et || d, f, g = this, b = !1;
2134
2134
  if (Xi) return;
2135
2135
  function N(gt, Ut) {
2136
2136
  ht(gt, g, St({
2137
2137
  evt: t,
2138
- isOwner: u,
2138
+ isOwner: c,
2139
2139
  axis: f ? "vertical" : "horizontal",
2140
2140
  revert: s,
2141
2141
  dragRect: o,
2142
2142
  targetRect: r,
2143
- canSort: c,
2143
+ canSort: u,
2144
2144
  fromSortable: p,
2145
2145
  target: n,
2146
2146
  completed: U,
@@ -2156,7 +2156,7 @@ w.prototype = /** @lends Sortable.prototype */
2156
2156
  function U(gt) {
2157
2157
  return N("dragOverCompleted", {
2158
2158
  insertion: gt
2159
- }), gt && (u ? d._hideClone() : d._showClone(g), g !== p && (mt(h, et ? et.options.ghostClass : d.options.ghostClass, !1), mt(h, a.ghostClass, !0)), et !== g && g !== w.active ? et = g : g === w.active && et && (et = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
2159
+ }), gt && (c ? d._hideClone() : d._showClone(g), g !== p && (mt(h, et ? et.options.ghostClass : d.options.ghostClass, !1), mt(h, a.ghostClass, !0)), et !== g && g !== w.active ? et = g : g === w.active && et && (et = null), p === g && (g._ignoreWhileAnimating = n), g.animateAll(function() {
2160
2160
  N("dragOverAnimationComplete"), g._ignoreWhileAnimating = null;
2161
2161
  }), g !== p && (p.animateAll(), p._ignoreWhileAnimating = null)), (n === h && !h.animated || n === e && !n.animated) && (ee = null), !a.dragoverBubble && !t.rootEl && n !== document && (h.parentNode[ft]._isOutsideThisEl(t.target), !gt && Xt(t)), !a.dragoverBubble && t.stopPropagation && t.stopPropagation(), b = !0;
2162
2162
  }
@@ -2173,11 +2173,11 @@ w.prototype = /** @lends Sortable.prototype */
2173
2173
  if (t.preventDefault !== void 0 && t.cancelable && t.preventDefault(), n = xt(n, a.draggable, e, !0), N("dragOver"), w.eventCanceled) return b;
2174
2174
  if (h.contains(t.target) || n.animated && n.animatingX && n.animatingY || g._ignoreWhileAnimating === n)
2175
2175
  return U(!1);
2176
- if (Qe = !1, d && !a.disabled && (u ? c || (s = z !== V) : et === this || (this.lastPutMode = He.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2176
+ if (Qe = !1, d && !a.disabled && (c ? u || (s = z !== V) : et === this || (this.lastPutMode = He.checkPull(this, d, h, t)) && l.checkPut(this, d, h, t))) {
2177
2177
  if (f = this._getDirection(t, n) === "vertical", o = W(h), N("dragOverValid"), w.eventCanceled) return b;
2178
2178
  if (s)
2179
2179
  return z = V, J(), this._hideClone(), N("revert"), w.eventCanceled || (Yt ? V.insertBefore(h, Yt) : V.appendChild(h)), U(!0);
2180
- var K = un(e, a.draggable);
2180
+ var K = cn(e, a.draggable);
2181
2181
  if (!K || Rs(t, f, this) && !K.animated) {
2182
2182
  if (K === h)
2183
2183
  return U(!1);
@@ -2205,9 +2205,9 @@ w.prototype = /** @lends Sortable.prototype */
2205
2205
  ee = n, $e = m;
2206
2206
  var dt = n.nextElementSibling, tt = !1;
2207
2207
  tt = m === 1;
2208
- var ct = ke(V, e, h, o, n, r, t, tt);
2209
- if (ct !== !1)
2210
- return (ct === 1 || ct === -1) && (tt = ct === 1), Xi = !0, setTimeout(Os, 30), J(), tt && !dt ? e.appendChild(h) : n.parentNode.insertBefore(h, tt ? dt : n), X && bo(X, 0, H - X.scrollTop), z = h.parentNode, _ !== void 0 && !Ve && (Ze = Math.abs(_ - W(n)[q])), st(), U(!0);
2208
+ var ut = ke(V, e, h, o, n, r, t, tt);
2209
+ if (ut !== !1)
2210
+ return (ut === 1 || ut === -1) && (tt = ut === 1), Xi = !0, setTimeout(Os, 30), J(), tt && !dt ? e.appendChild(h) : n.parentNode.insertBefore(h, tt ? dt : n), X && bo(X, 0, H - X.scrollTop), z = h.parentNode, _ !== void 0 && !Ve && (Ze = Math.abs(_ - W(n)[q])), st(), U(!0);
2211
2211
  }
2212
2212
  if (e.contains(h))
2213
2213
  return U(!1);
@@ -2378,11 +2378,11 @@ function Ps(i) {
2378
2378
  i.dataTransfer && (i.dataTransfer.dropEffect = "move"), i.cancelable && i.preventDefault();
2379
2379
  }
2380
2380
  function ke(i, t, e, n, o, r, s, a) {
2381
- var l, d = i[ft], u = d.options.onMove, c;
2381
+ var l, d = i[ft], c = d.options.onMove, u;
2382
2382
  return window.CustomEvent && !Lt && !Re ? l = new CustomEvent("move", {
2383
2383
  bubbles: !0,
2384
2384
  cancelable: !0
2385
- }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = i, l.dragged = e, l.draggedRect = n, l.related = o || t, l.relatedRect = r || W(t), l.willInsertAfter = a, l.originalEvent = s, i.dispatchEvent(l), u && (c = u.call(d, l, s)), c;
2385
+ }) : (l = document.createEvent("Event"), l.initEvent("move", !0, !0)), l.to = t, l.from = i, l.dragged = e, l.draggedRect = n, l.related = o || t, l.relatedRect = r || W(t), l.willInsertAfter = a, l.originalEvent = s, i.dispatchEvent(l), c && (u = c.call(d, l, s)), u;
2386
2386
  }
2387
2387
  function ki(i) {
2388
2388
  i.draggable = !1;
@@ -2395,21 +2395,21 @@ function Ls(i, t, e) {
2395
2395
  return t ? i.clientX < o.left - r || i.clientY < n.top && i.clientX < n.right : i.clientY < o.top - r || i.clientY < n.bottom && i.clientX < n.left;
2396
2396
  }
2397
2397
  function Rs(i, t, e) {
2398
- var n = W(un(e.el, e.options.draggable)), o = wo(e.el, e.options, E), r = 10;
2398
+ var n = W(cn(e.el, e.options.draggable)), o = wo(e.el, e.options, E), r = 10;
2399
2399
  return t ? i.clientX > o.right + r || i.clientY > n.bottom && i.clientX > n.left : i.clientY > o.bottom + r || i.clientX > n.right && i.clientY > n.top;
2400
2400
  }
2401
2401
  function Ms(i, t, e, n, o, r, s, a) {
2402
- var l = n ? i.clientY : i.clientX, d = n ? e.height : e.width, u = n ? e.top : e.left, c = n ? e.bottom : e.right, p = !1;
2402
+ var l = n ? i.clientY : i.clientX, d = n ? e.height : e.width, c = n ? e.top : e.left, u = n ? e.bottom : e.right, p = !1;
2403
2403
  if (!s) {
2404
2404
  if (a && Ze < d * o) {
2405
- if (!Se && ($e === 1 ? l > u + d * r / 2 : l < c - d * r / 2) && (Se = !0), Se)
2405
+ if (!Se && ($e === 1 ? l > c + d * r / 2 : l < u - d * r / 2) && (Se = !0), Se)
2406
2406
  p = !0;
2407
- else if ($e === 1 ? l < u + Ze : l > c - Ze)
2407
+ else if ($e === 1 ? l < c + Ze : l > u - Ze)
2408
2408
  return -$e;
2409
- } else if (l > u + d * (1 - o) / 2 && l < c - d * (1 - o) / 2)
2409
+ } else if (l > c + d * (1 - o) / 2 && l < u - d * (1 - o) / 2)
2410
2410
  return Is(t);
2411
2411
  }
2412
- return p = p || s, p && (l < u + d * r / 2 || l > c - d * r / 2) ? l > u + d / 2 ? 1 : -1 : 0;
2412
+ return p = p || s, p && (l < c + d * r / 2 || l > u - d * r / 2) ? l > c + d / 2 ? 1 : -1 : 0;
2413
2413
  }
2414
2414
  function Is(i) {
2415
2415
  return bt(h) < bt(i) ? 1 : -1;
@@ -2534,23 +2534,23 @@ function Vn() {
2534
2534
  }
2535
2535
  var ji = yo(function(i, t, e, n) {
2536
2536
  if (t.scroll) {
2537
- var o = (i.touches ? i.touches[0] : i).clientX, r = (i.touches ? i.touches[0] : i).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = $t(), d = !1, u;
2538
- Wi !== e && (Wi = e, Xe(), me = t.scroll, u = t.scrollFn, me === !0 && (me = Vt(e, !0)));
2539
- var c = 0, p = me;
2537
+ var o = (i.touches ? i.touches[0] : i).clientX, r = (i.touches ? i.touches[0] : i).clientY, s = t.scrollSensitivity, a = t.scrollSpeed, l = $t(), d = !1, c;
2538
+ Wi !== e && (Wi = e, Xe(), me = t.scroll, c = t.scrollFn, me === !0 && (me = Vt(e, !0)));
2539
+ var u = 0, p = me;
2540
2540
  do {
2541
2541
  var f = p, g = W(f), b = g.top, N = g.bottom, J = g.left, U = g.right, st = g.width, K = g.height, $ = void 0, m = void 0, _ = f.scrollWidth, M = f.scrollHeight, L = v(f), q = f.scrollLeft, X = f.scrollTop;
2542
2542
  f === l ? ($ = st < _ && (L.overflowX === "auto" || L.overflowX === "scroll" || L.overflowX === "visible"), m = K < M && (L.overflowY === "auto" || L.overflowY === "scroll" || L.overflowY === "visible")) : ($ = st < _ && (L.overflowX === "auto" || L.overflowX === "scroll"), m = K < M && (L.overflowY === "auto" || L.overflowY === "scroll"));
2543
2543
  var H = $ && (Math.abs(U - o) <= s && q + st < _) - (Math.abs(J - o) <= s && !!q), R = m && (Math.abs(N - r) <= s && X + K < M) - (Math.abs(b - r) <= s && !!X);
2544
- if (!Y[c])
2545
- for (var Z = 0; Z <= c; Z++)
2544
+ if (!Y[u])
2545
+ for (var Z = 0; Z <= u; Z++)
2546
2546
  Y[Z] || (Y[Z] = {});
2547
- (Y[c].vx != H || Y[c].vy != R || Y[c].el !== f) && (Y[c].el = f, Y[c].vx = H, Y[c].vy = R, clearInterval(Y[c].pid), (H != 0 || R != 0) && (d = !0, Y[c].pid = setInterval((function() {
2547
+ (Y[u].vx != H || Y[u].vy != R || Y[u].el !== f) && (Y[u].el = f, Y[u].vx = H, Y[u].vy = R, clearInterval(Y[u].pid), (H != 0 || R != 0) && (d = !0, Y[u].pid = setInterval((function() {
2548
2548
  n && this.layer === 0 && w.active._onTouchMove(ii);
2549
2549
  var dt = Y[this.layer].vy ? Y[this.layer].vy * a : 0, tt = Y[this.layer].vx ? Y[this.layer].vx * a : 0;
2550
- typeof u == "function" && u.call(w.dragged.parentNode[ft], tt, dt, i, ii, Y[this.layer].el) !== "continue" || bo(Y[this.layer].el, tt, dt);
2550
+ typeof c == "function" && c.call(w.dragged.parentNode[ft], tt, dt, i, ii, Y[this.layer].el) !== "continue" || bo(Y[this.layer].el, tt, dt);
2551
2551
  }).bind({
2552
- layer: c
2553
- }), 24))), c++;
2552
+ layer: u
2553
+ }), 24))), u++;
2554
2554
  } while (t.bubbleScroll && p !== l && (p = Vt(p, !1)));
2555
2555
  Gi = d;
2556
2556
  }
@@ -2559,8 +2559,8 @@ var ji = yo(function(i, t, e, n) {
2559
2559
  if (e) {
2560
2560
  var d = n || r;
2561
2561
  a();
2562
- var u = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, c = document.elementFromPoint(u.clientX, u.clientY);
2563
- l(), d && !d.el.contains(c) && (s("spill"), this.onSpill({
2562
+ var c = e.changedTouches && e.changedTouches.length ? e.changedTouches[0] : e, u = document.elementFromPoint(c.clientX, c.clientY);
2563
+ l(), d && !d.el.contains(u) && (s("spill"), this.onSpill({
2564
2564
  dragEl: o,
2565
2565
  putSortable: n
2566
2566
  }));
@@ -2613,18 +2613,18 @@ const Bs = (i) => {
2613
2613
  const l = n.getArray(), d = (
2614
2614
  /** @type {Element & {layer: import("ol/layer").Layer}} */
2615
2615
  i.item.querySelector("eox-layercontrol-layer").layer.get(o)
2616
- ), u = l.find((b) => b.get(o) === d), c = r.dataset.layer, p = l.find(
2617
- (b) => b.get(o) == c
2616
+ ), c = l.find((b) => b.get(o) === d), u = r.dataset.layer, p = l.find(
2617
+ (b) => b.get(o) == u
2618
2618
  );
2619
2619
  let f, g;
2620
2620
  for (f = 0; f < l.length; f++)
2621
- if (l[f] == u) {
2621
+ if (l[f] == c) {
2622
2622
  n.removeAt(f);
2623
2623
  break;
2624
2624
  }
2625
2625
  for (g = 0; g < l.length; g++)
2626
2626
  if (l[g] === p) {
2627
- f > g ? n.insertAt(g, u) : n.insertAt(g + 1, u);
2627
+ f > g ? n.insertAt(g, c) : n.insertAt(g + 1, c);
2628
2628
  break;
2629
2629
  }
2630
2630
  t.requestUpdate();
@@ -2789,8 +2789,8 @@ function Ws(i, t) {
2789
2789
  if ((t.type === "style" || t.style) && n)
2790
2790
  e = n;
2791
2791
  else if ((l = (a = i.getSource()) == null ? void 0 : a.getTileUrlFunction) != null && l.call(a)) {
2792
- const u = new URL(i.getSource().getTileUrlFunction()([0, 0, 0]));
2793
- e = Object.fromEntries(u.searchParams.entries());
2792
+ const c = new URL(i.getSource().getTileUrlFunction()([0, 0, 0]));
2793
+ e = Object.fromEntries(c.searchParams.entries());
2794
2794
  } else return null;
2795
2795
  const o = To(
2796
2796
  ((d = t.schema) == null ? void 0 : d.properties) || t.schema,
@@ -2893,28 +2893,28 @@ var zi, Bn;
2893
2893
  function ia() {
2894
2894
  if (Bn) return zi;
2895
2895
  Bn = 1;
2896
- var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, d = typeof self == "object" && self && self.Object === Object && self, u = l || d || Function("return this")(), c = Object.prototype, p = c.toString, f = Math.max, g = Math.min, b = function() {
2897
- return u.Date.now();
2896
+ var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, d = typeof self == "object" && self && self.Object === Object && self, c = l || d || Function("return this")(), u = Object.prototype, p = u.toString, f = Math.max, g = Math.min, b = function() {
2897
+ return c.Date.now();
2898
2898
  };
2899
2899
  function N(m, _, M) {
2900
- var L, q, X, H, R, Z, dt = 0, tt = !1, ct = !1, gt = !0;
2900
+ var L, q, X, H, R, Z, dt = 0, tt = !1, ut = !1, gt = !0;
2901
2901
  if (typeof m != "function")
2902
2902
  throw new TypeError(i);
2903
- _ = $(_) || 0, U(M) && (tt = !!M.leading, ct = "maxWait" in M, X = ct ? f($(M.maxWait) || 0, _) : X, gt = "trailing" in M ? !!M.trailing : gt);
2903
+ _ = $(_) || 0, U(M) && (tt = !!M.leading, ut = "maxWait" in M, X = ut ? f($(M.maxWait) || 0, _) : X, gt = "trailing" in M ? !!M.trailing : gt);
2904
2904
  function Ut(I) {
2905
- var ut = L, Rt = q;
2906
- return L = q = void 0, dt = I, H = m.apply(Rt, ut), H;
2905
+ var ct = L, Rt = q;
2906
+ return L = q = void 0, dt = I, H = m.apply(Rt, ct), H;
2907
2907
  }
2908
2908
  function Ie(I) {
2909
2909
  return dt = I, R = setTimeout(jt, _), tt ? Ut(I) : H;
2910
2910
  }
2911
2911
  function Ft(I) {
2912
- var ut = I - Z, Rt = I - dt, mn = _ - ut;
2913
- return ct ? g(mn, X - Rt) : mn;
2912
+ var ct = I - Z, Rt = I - dt, mn = _ - ct;
2913
+ return ut ? g(mn, X - Rt) : mn;
2914
2914
  }
2915
2915
  function _t(I) {
2916
- var ut = I - Z, Rt = I - dt;
2917
- return Z === void 0 || ut >= _ || ut < 0 || ct && Rt >= X;
2916
+ var ct = I - Z, Rt = I - dt;
2917
+ return Z === void 0 || ct >= _ || ct < 0 || ut && Rt >= X;
2918
2918
  }
2919
2919
  function jt() {
2920
2920
  var I = b();
@@ -2932,11 +2932,11 @@ function ia() {
2932
2932
  return R === void 0 ? H : Ne(b());
2933
2933
  }
2934
2934
  function B() {
2935
- var I = b(), ut = _t(I);
2936
- if (L = arguments, q = this, Z = I, ut) {
2935
+ var I = b(), ct = _t(I);
2936
+ if (L = arguments, q = this, Z = I, ct) {
2937
2937
  if (R === void 0)
2938
2938
  return Ie(Z);
2939
- if (ct)
2939
+ if (ut)
2940
2940
  return R = setTimeout(jt, _), Ut(Z);
2941
2941
  }
2942
2942
  return R === void 0 && (R = setTimeout(jt, _)), H;
@@ -2993,11 +2993,6 @@ class Lo extends lt {
2993
2993
  constructor() {
2994
2994
  super();
2995
2995
  P(this, ni, qn`
2996
- .legend-container {
2997
- display: flex;
2998
- justify-content: center;
2999
- }
3000
-
3001
2996
  color-legend {
3002
2997
  --cle-background: transparent;
3003
2998
  --cle-font-family: inherit;
@@ -3048,6 +3043,8 @@ class Lo extends lt {
3048
3043
  tickFormat="${Ue(this.layerLegend.tickFormat)}"
3049
3044
  .ticks=${this.layerLegend.ticks ?? 5}
3050
3045
  .tickValues=${this.layerLegend.tickValues}
3046
+ .marginLeft=${0}
3047
+ .marginRight=${0}
3051
3048
  >
3052
3049
  </color-legend>
3053
3050
  </div>
@@ -3259,13 +3256,13 @@ customElements.define(
3259
3256
  "eox-layercontrol-layer-datetime",
3260
3257
  Mo
3261
3258
  );
3262
- var Oe, ci, ui;
3259
+ var Oe, ui, ci;
3263
3260
  class No extends lt {
3264
3261
  constructor() {
3265
3262
  super();
3266
3263
  /** @param {number} index */
3267
3264
  P(this, Oe, (e) => (this.selectedTab === e || this.toolsAsList) && "highlighted");
3268
- P(this, ci, `
3265
+ P(this, ui, `
3269
3266
  .tabbed figure,
3270
3267
  .listed figure {
3271
3268
  margin: 0;
@@ -3292,7 +3289,7 @@ class No extends lt {
3292
3289
  background: lightgrey;
3293
3290
  }
3294
3291
  `);
3295
- P(this, ui, `
3292
+ P(this, ci, `
3296
3293
  .listed label {
3297
3294
  display: flex;
3298
3295
  justify-content: start;
@@ -3344,8 +3341,8 @@ class No extends lt {
3344
3341
  const e = this.tabs, n = this.actions, o = n.length + e.length > 1;
3345
3342
  return x`
3346
3343
  <style>
3347
- ${T(this, ci)}
3348
- ${!this.unstyled && T(this, ui)}
3344
+ ${T(this, ui)}
3345
+ ${!this.unstyled && T(this, ci)}
3349
3346
  </style>
3350
3347
  <div class="${this.toolsAsList ? "listed" : "tabbed"}">
3351
3348
  <!-- Navigation for tabs and actions -->
@@ -3414,7 +3411,7 @@ class No extends lt {
3414
3411
  `;
3415
3412
  }
3416
3413
  }
3417
- Oe = new WeakMap(), ci = new WeakMap(), ui = new WeakMap(), // Define static properties for the component
3414
+ Oe = new WeakMap(), ui = new WeakMap(), ci = new WeakMap(), // Define static properties for the component
3418
3415
  F(No, "properties", {
3419
3416
  actions: { attribute: !1 },
3420
3417
  selectedTab: { state: !0 },
@@ -4265,28 +4262,28 @@ var Zi, Un;
4265
4262
  function da() {
4266
4263
  if (Un) return Zi;
4267
4264
  Un = 1;
4268
- var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, d = typeof self == "object" && self && self.Object === Object && self, u = l || d || Function("return this")(), c = Object.prototype, p = c.toString, f = Math.max, g = Math.min, b = function() {
4269
- return u.Date.now();
4265
+ var i = "Expected a function", t = NaN, e = "[object Symbol]", n = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, r = /^0b[01]+$/i, s = /^0o[0-7]+$/i, a = parseInt, l = typeof Bt == "object" && Bt && Bt.Object === Object && Bt, d = typeof self == "object" && self && self.Object === Object && self, c = l || d || Function("return this")(), u = Object.prototype, p = u.toString, f = Math.max, g = Math.min, b = function() {
4266
+ return c.Date.now();
4270
4267
  };
4271
4268
  function N($, m, _) {
4272
- var M, L, q, X, H, R, Z = 0, dt = !1, tt = !1, ct = !0;
4269
+ var M, L, q, X, H, R, Z = 0, dt = !1, tt = !1, ut = !0;
4273
4270
  if (typeof $ != "function")
4274
4271
  throw new TypeError(i);
4275
- m = K(m) || 0, J(_) && (dt = !!_.leading, tt = "maxWait" in _, q = tt ? f(K(_.maxWait) || 0, m) : q, ct = "trailing" in _ ? !!_.trailing : ct);
4272
+ m = K(m) || 0, J(_) && (dt = !!_.leading, tt = "maxWait" in _, q = tt ? f(K(_.maxWait) || 0, m) : q, ut = "trailing" in _ ? !!_.trailing : ut);
4276
4273
  function gt(B) {
4277
- var I = M, ut = L;
4278
- return M = L = void 0, Z = B, X = $.apply(ut, I), X;
4274
+ var I = M, ct = L;
4275
+ return M = L = void 0, Z = B, X = $.apply(ct, I), X;
4279
4276
  }
4280
4277
  function Ut(B) {
4281
4278
  return Z = B, H = setTimeout(_t, m), dt ? gt(B) : X;
4282
4279
  }
4283
4280
  function Ie(B) {
4284
- var I = B - R, ut = B - Z, Rt = m - I;
4285
- return tt ? g(Rt, q - ut) : Rt;
4281
+ var I = B - R, ct = B - Z, Rt = m - I;
4282
+ return tt ? g(Rt, q - ct) : Rt;
4286
4283
  }
4287
4284
  function Ft(B) {
4288
- var I = B - R, ut = B - Z;
4289
- return R === void 0 || I >= m || I < 0 || tt && ut >= q;
4285
+ var I = B - R, ct = B - Z;
4286
+ return R === void 0 || I >= m || I < 0 || tt && ct >= q;
4290
4287
  }
4291
4288
  function _t() {
4292
4289
  var B = b();
@@ -4295,7 +4292,7 @@ function da() {
4295
4292
  H = setTimeout(_t, Ie(B));
4296
4293
  }
4297
4294
  function jt(B) {
4298
- return H = void 0, ct && M ? gt(B) : (M = L = void 0, X);
4295
+ return H = void 0, ut && M ? gt(B) : (M = L = void 0, X);
4299
4296
  }
4300
4297
  function Ne() {
4301
4298
  H !== void 0 && clearTimeout(H), Z = 0, M = R = L = H = void 0;
@@ -4342,9 +4339,9 @@ function da() {
4342
4339
  }
4343
4340
  return Zi = N, Zi;
4344
4341
  }
4345
- var ca = da();
4346
- const ua = /* @__PURE__ */ Oo(ca), ha = (i) => {
4347
- const { layers: t, idProperty: e, titleProperty: n, renderRoot: o } = i, r = ua(() => {
4342
+ var ua = da();
4343
+ const ca = /* @__PURE__ */ Oo(ua), ha = (i) => {
4344
+ const { layers: t, idProperty: e, titleProperty: n, renderRoot: o } = i, r = ca(() => {
4348
4345
  i.requestUpdate(), i.dispatchEvent(
4349
4346
  new CustomEvent("changed", { bubbles: !0 })
4350
4347
  );
@@ -4585,7 +4582,7 @@ async function ma(i) {
4585
4582
  if (dn(t) === "XYZ")
4586
4583
  return { Name: t };
4587
4584
  try {
4588
- const e = await cs(t);
4585
+ const e = await us(t);
4589
4586
  i.wmsCapabilities = e;
4590
4587
  } catch {
4591
4588
  } finally {
@@ -4807,7 +4804,7 @@ class Zo extends lt {
4807
4804
  * Handles input fields, search, and addition of layers.
4808
4805
  */
4809
4806
  render() {
4810
- const e = this.open ? "open" : "close", n = this.open === "url", o = this.open === "json", r = !us(this.urlInput) || this.searchLoad ? !0 : O;
4807
+ const e = this.open ? "open" : "close", n = this.open === "url", o = this.open === "json", r = !cs(this.urlInput) || this.searchLoad ? !0 : O;
4811
4808
  return x`
4812
4809
  <style>
4813
4810
  ${T(this, xi)}
@@ -4966,12 +4963,12 @@ const va = (i, t) => {
4966
4963
  const t = wa(i.for);
4967
4964
  return t && t.map !== i.map && (i.map = t.map), t;
4968
4965
  };
4969
- var Ht, ce, Jo, Ko, $i;
4966
+ var Ht, ue, Jo, Ko, $i;
4970
4967
  class Go extends lt {
4971
4968
  // Constructor to set default values for properties
4972
4969
  constructor() {
4973
4970
  super();
4974
- P(this, ce);
4971
+ P(this, ue);
4975
4972
  /**
4976
4973
  * Instance of `eox-map` which is a wrapper for the OL
4977
4974
  *
@@ -5053,8 +5050,8 @@ class Go extends lt {
5053
5050
  .tools=${this.tools}
5054
5051
  .unstyled=${this.unstyled}
5055
5052
  .toolsAsList=${this.toolsAsList}
5056
- @changed=${j(this, ce, Jo)}
5057
- @datetime:updated=${j(this, ce, Ko)}
5053
+ @changed=${j(this, ue, Jo)}
5054
+ @datetime:updated=${j(this, ue, Ko)}
5058
5055
  ></eox-layercontrol-layer-list>
5059
5056
  `
5060
5057
  )}
@@ -5075,7 +5072,7 @@ class Go extends lt {
5075
5072
  `;
5076
5073
  }
5077
5074
  }
5078
- Ht = new WeakMap(), ce = new WeakSet(), /**
5075
+ Ht = new WeakMap(), ue = new WeakSet(), /**
5079
5076
  * Event handler for changes in the layer list
5080
5077
  *
5081
5078
  * @param {CustomEvent & {target: Element}} evt
@@ -72,11 +72,6 @@
72
72
  * Copyright 2018 Google LLC
73
73
  * SPDX-License-Identifier: BSD-3-Clause
74
74
  */const oi=i=>i??O;class To extends dt{constructor(){super();L(this,ri,wn`
75
- .legend-container {
76
- display: flex;
77
- justify-content: center;
78
- }
79
-
80
75
  color-legend {
81
76
  --cle-background: transparent;
82
77
  --cle-font-family: inherit;
@@ -104,6 +99,8 @@
104
99
  tickFormat="${oi(this.layerLegend.tickFormat)}"
105
100
  .ticks=${this.layerLegend.ticks??5}
106
101
  .tickValues=${this.layerLegend.tickValues}
102
+ .marginLeft=${0}
103
+ .marginRight=${0}
107
104
  >
108
105
  </color-legend>
109
106
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/layercontrol",
3
- "version": "0.27.0",
3
+ "version": "0.27.1",
4
4
  "type": "module",
5
5
  "devDependencies": {
6
6
  "@eox/map": "^1.16.0",
@@ -116,6 +116,8 @@ export class EOxLayerControlLayerLegend extends LitElement {
116
116
  tickFormat="${ifDefined(this.layerLegend.tickFormat)}"
117
117
  .ticks=${this.layerLegend.ticks ?? 5}
118
118
  .tickValues=${this.layerLegend.tickValues}
119
+ .marginLeft=${0}
120
+ .marginRight=${0}
119
121
  >
120
122
  </color-legend>
121
123
  </div>
@@ -125,11 +127,6 @@ export class EOxLayerControlLayerLegend extends LitElement {
125
127
  }
126
128
 
127
129
  #styleBasic = css`
128
- .legend-container {
129
- display: flex;
130
- justify-content: center;
131
- }
132
-
133
130
  color-legend {
134
131
  --cle-background: transparent;
135
132
  --cle-font-family: inherit;
@@ -1 +1 @@
1
- {"version":3,"file":"layer-legend.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-legend.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;IAcI;AAEJ;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,aAHU,YAAY,CAGC;IAEvB;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAUnB,qBAUC;IAED;;OAEG;IACH,+CAkCC;;CAkBF;;;;2BAvIY;IACZ,MAAU,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IACtE,KAAS,CAAC,EAAC,MAAM,CAAC;IAClB,KAAS,EAAC,MAAM,EAAE,CAAC;IACnB,KAAS,CAAC,EAAC,MAAM,CAAC;IAClB,UAAc,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC/E,KAAS,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACrE,UAAc,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC/E,SAAa,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAA;IAC7E,QAAY,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAA;CACxE;2BAjBkC,KAAK"}
1
+ {"version":3,"file":"layer-legend.d.ts","sourceRoot":"","sources":["../../../../src/components/layer-legend.js"],"names":[],"mappings":"AAIA;;;;;;;;;;;;;;IAcI;AAEJ;;;;;GAKG;AACH;IAEE;;;;;;;;;;;;;MAKE;IAKA;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,kBAAqB;IAErB;;;;OAIG;IACH,aAHU,YAAY,CAGC;IAEvB;;;;;OAKG;IACH,OAHU,OAAO,UAAU,EAAE,KAAK,CAGjB;IAUnB,qBAUC;IAED;;OAEG;IACH,+CAoCC;;CAaF;;;;2BApIY;IACZ,MAAU,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,QAAQ,CAAC,CAAA;IACtE,KAAS,CAAC,EAAC,MAAM,CAAC;IAClB,KAAS,EAAC,MAAM,EAAE,CAAC;IACnB,KAAS,CAAC,EAAC,MAAM,CAAC;IAClB,UAAc,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC/E,KAAS,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,OAAO,CAAC,CAAA;IACrE,UAAc,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,YAAY,CAAC,CAAA;IAC/E,SAAa,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,WAAW,CAAC,CAAA;IAC7E,QAAY,CAAC,EAAC,OAAO,sBAAsB,EAAE,kBAAkB,CAAC,UAAU,CAAC,CAAA;CACxE;2BAjBkC,KAAK"}