@eodash/eodash 5.0.0-alpha.2.4 → 5.0.0-alpha.2.6

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.
Files changed (80) hide show
  1. package/README.md +31 -7
  2. package/core/client/App.vue +6 -7
  3. package/core/client/SuspensedDashboard.ce.vue +59 -45
  4. package/core/client/asWebComponent.d.ts +10 -5
  5. package/core/client/asWebComponent.js +6 -6
  6. package/core/client/components/DashboardLayout.vue +63 -21
  7. package/core/client/components/DynamicWebComponent.vue +44 -44
  8. package/core/client/components/ErrorAlert.vue +24 -7
  9. package/core/client/components/Footer.vue +34 -15
  10. package/core/client/components/Header.vue +10 -5
  11. package/core/client/components/IframeWrapper.vue +4 -4
  12. package/core/client/components/Loading.vue +17 -18
  13. package/core/client/components/MobileLayout.vue +82 -29
  14. package/core/client/composables/DefineEodash.js +38 -28
  15. package/core/client/composables/DefineWidgets.js +105 -79
  16. package/core/client/composables/index.js +43 -141
  17. package/core/client/eodash.js +46 -39
  18. package/core/client/main.js +2 -2
  19. package/core/client/plugins/index.js +11 -9
  20. package/core/client/plugins/vuetify.js +9 -10
  21. package/core/client/render.js +4 -5
  22. package/core/client/store/States.js +8 -13
  23. package/core/client/store/index.js +14 -11
  24. package/core/client/store/stac.js +51 -37
  25. package/core/client/types.d.ts +173 -248
  26. package/core/client/utils/eodashSTAC.js +151 -66
  27. package/core/client/utils/helpers.js +18 -20
  28. package/core/client/utils/index.js +25 -14
  29. package/core/client/utils/keys.js +2 -2
  30. package/core/client/views/Dashboard.vue +70 -42
  31. package/core/client/vite-env.d.ts +19 -17
  32. package/dist/client/DashboardLayout-BuDcv6LM.js +156 -0
  33. package/dist/client/{DynamicWebComponent-C4Hotc4H.js → DynamicWebComponent-BEP4rVce.js} +7 -7
  34. package/dist/client/EodashDatePicker-oFb1zt5E.js +1211 -0
  35. package/dist/client/EodashItemFilter-BElmgrST.js +63 -0
  36. package/dist/client/{EodashMap-CGrQjZ1P.js → EodashMap-DXyOgcEd.js} +11333 -14025
  37. package/dist/client/Footer-CoPx6UXQ.js +115 -0
  38. package/dist/client/Header-C-zX31Ys.js +635 -0
  39. package/dist/client/{IframeWrapper-Cg3GMmfW.js → IframeWrapper-2w2ye0zM.js} +4 -4
  40. package/dist/client/MobileLayout-C9OVcP12.js +945 -0
  41. package/dist/client/{VMain-BHYlmRic.js → VMain-Dm43jd43.js} +8 -8
  42. package/dist/client/{WidgetsContainer-dje9QSk0.js → WidgetsContainer-BS87sLqk.js} +12 -5
  43. package/dist/client/asWebComponent-CpQUVi2N.js +20135 -0
  44. package/dist/client/{basedecoder-Qm25PwVp-CHo5Pomv.js → basedecoder-DHcBySSe-BmCFNFnw.js} +5 -6
  45. package/dist/client/{decoder-HRvnjnEI-BQ2rajuJ.js → decoder-CP4lv0Kb-BHrv68IA.js} +1 -1
  46. package/dist/client/deflate-BXt-9JA_-CWfClgpK.js +10 -0
  47. package/dist/client/eo-dash.js +3 -3
  48. package/dist/client/eodashSTAC-Q7kbX1Gy.js +2788 -0
  49. package/dist/client/{eox-itemfilter-DcQkRD2l.js → eox-itemfilter-TaBxgqq_.js} +1002 -974
  50. package/dist/client/{eox-map-C3DL31fp.js → eox-map-L7abwKTR.js} +5677 -5695
  51. package/dist/client/forwardRefs-BVFQ82G4.js +183 -0
  52. package/dist/client/{index-CaDDfJYE.js → index-dOzyv_xR.js} +43 -74
  53. package/dist/client/{jpeg-DNfUpLwy-Fjan-04T.js → jpeg-BAgeD1d3-oeHbFPUL.js} +5 -6
  54. package/dist/client/{lerc-_E46UbWQ-Beu35ovS.js → lerc-DzVumYtB-rm1Xco54.js} +5 -7
  55. package/dist/client/{lzw-BOMhmEDy-Dboc93VO.js → lzw-LAGDNbSC-DkP96qO9.js} +1 -1
  56. package/dist/client/{packbits-DaUD6MLm-Bu1PoTGa.js → packbits-BlDR4Kj5-C66n1-zr.js} +1 -1
  57. package/dist/client/{pako.esm-C3kYPGGQ-BMki8cQY.js → pako.esm-CB1uQYY0-DB0PYm1P.js} +6 -12
  58. package/dist/client/{raw-CcGKjn8q-DFOt-i8n.js → raw-CMGvRjfu-BRi6E4i1.js} +1 -1
  59. package/dist/client/{ssrBoot-Dd7m-btU.js → ssrBoot-L9KejErM.js} +3 -3
  60. package/dist/client/style.css +2 -2
  61. package/dist/client/transition-DCePIwYR.js +34 -0
  62. package/dist/client/{webfontloader-CyOFAuFB.js → webfontloader-qotgY98I.js} +56 -92
  63. package/dist/client/{webimage-D2c098k3-DLj1LQxB.js → webimage-BM_pbLN3-L2cGWK5l.js} +1 -1
  64. package/dist/node/cli.js +3 -3
  65. package/dist/node/types.d.ts +32 -38
  66. package/package.json +13 -14
  67. package/widgets/EodashDatePicker.vue +145 -41
  68. package/widgets/EodashItemFilter.vue +41 -22
  69. package/widgets/EodashMap.vue +87 -20
  70. package/widgets/WidgetsContainer.vue +45 -27
  71. package/dist/client/DashboardLayout-ZaSRMD1M.js +0 -149
  72. package/dist/client/EodashDatePicker-C4kKjxKy.js +0 -1653
  73. package/dist/client/EodashItemFilter-cBHC0YEM.js +0 -51
  74. package/dist/client/Footer-pS636dEP.js +0 -118
  75. package/dist/client/Header-DQuaLdjl.js +0 -605
  76. package/dist/client/MobileLayout-BLXFBWI_.js +0 -987
  77. package/dist/client/asWebComponent-Bvb3xkxI.js +0 -13311
  78. package/dist/client/deflate-Be2Arps5-hDqMz3RA.js +0 -10
  79. package/dist/client/forwardRefs-Bxeu9Obx.js +0 -142
  80. package/dist/client/index-DlNICb3T.js +0 -34
@@ -3,19 +3,19 @@
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
5
  */
6
- const xr = globalThis, Ai = xr.ShadowRoot && (xr.ShadyCSS === void 0 || xr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, rs = Symbol(), xn = /* @__PURE__ */ new WeakMap();
7
- let ra = class {
6
+ const wr = globalThis, ki = wr.ShadowRoot && (wr.ShadyCSS === void 0 || wr.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, ns = Symbol(), $n = /* @__PURE__ */ new WeakMap();
7
+ let ia = class {
8
8
  constructor(t, e, r) {
9
- if (this._$cssResult$ = !0, r !== rs)
9
+ if (this._$cssResult$ = !0, r !== ns)
10
10
  throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
11
11
  this.cssText = t, this.t = e;
12
12
  }
13
13
  get styleSheet() {
14
14
  let t = this.o;
15
15
  const e = this.t;
16
- if (Ai && t === void 0) {
16
+ if (ki && t === void 0) {
17
17
  const r = e !== void 0 && e.length === 1;
18
- r && (t = xn.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && xn.set(e, t));
18
+ r && (t = $n.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), r && $n.set(e, t));
19
19
  }
20
20
  return t;
21
21
  }
@@ -23,29 +23,29 @@ let ra = class {
23
23
  return this.cssText;
24
24
  }
25
25
  };
26
- const ia = (t) => new ra(typeof t == "string" ? t : t + "", void 0, rs), na = (t, e) => {
27
- if (Ai)
26
+ const na = (t) => new ia(typeof t == "string" ? t : t + "", void 0, ns), sa = (t, e) => {
27
+ if (ki)
28
28
  t.adoptedStyleSheets = e.map((r) => r instanceof CSSStyleSheet ? r : r.styleSheet);
29
29
  else
30
30
  for (const r of e) {
31
- const i = document.createElement("style"), n = xr.litNonce;
31
+ const i = document.createElement("style"), n = wr.litNonce;
32
32
  n !== void 0 && i.setAttribute("nonce", n), i.textContent = r.cssText, t.appendChild(i);
33
33
  }
34
- }, wn = Ai ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
34
+ }, _n = ki ? (t) => t : (t) => t instanceof CSSStyleSheet ? ((e) => {
35
35
  let r = "";
36
36
  for (const i of e.cssRules)
37
37
  r += i.cssText;
38
- return ia(r);
38
+ return na(r);
39
39
  })(t) : t;
40
40
  /**
41
41
  * @license
42
42
  * Copyright 2017 Google LLC
43
43
  * SPDX-License-Identifier: BSD-3-Clause
44
44
  */
45
- const { is: sa, defineProperty: oa, getOwnPropertyDescriptor: aa, getOwnPropertyNames: la, getOwnPropertySymbols: ca, getPrototypeOf: ha } = Object, jt = globalThis, $n = jt.trustedTypes, ua = $n ? $n.emptyScript : "", _n = jt.reactiveElementPolyfillSupport, Xt = (t, e) => t, $r = { toAttribute(t, e) {
45
+ const { is: oa, defineProperty: aa, getOwnPropertyDescriptor: la, getOwnPropertyNames: ca, getOwnPropertySymbols: ha, getPrototypeOf: ua } = Object, jt = globalThis, En = jt.trustedTypes, da = En ? En.emptyScript : "", Sn = jt.reactiveElementPolyfillSupport, Vt = (t, e) => t, _r = { toAttribute(t, e) {
46
46
  switch (e) {
47
47
  case Boolean:
48
- t = t ? ua : null;
48
+ t = t ? da : null;
49
49
  break;
50
50
  case Object:
51
51
  case Array:
@@ -70,7 +70,7 @@ const { is: sa, defineProperty: oa, getOwnPropertyDescriptor: aa, getOwnProperty
70
70
  }
71
71
  }
72
72
  return r;
73
- } }, ki = (t, e) => !sa(t, e), En = { attribute: !0, type: String, converter: $r, reflect: !1, hasChanged: ki };
73
+ } }, Oi = (t, e) => !oa(t, e), Mn = { attribute: !0, type: String, converter: _r, reflect: !1, hasChanged: Oi };
74
74
  Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), jt.litPropertyMetadata ?? (jt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
75
75
  class kt extends HTMLElement {
76
76
  static addInitializer(e) {
@@ -79,14 +79,14 @@ class kt extends HTMLElement {
79
79
  static get observedAttributes() {
80
80
  return this.finalize(), this._$Eh && [...this._$Eh.keys()];
81
81
  }
82
- static createProperty(e, r = En) {
82
+ static createProperty(e, r = Mn) {
83
83
  if (r.state && (r.attribute = !1), this._$Ei(), this.elementProperties.set(e, r), !r.noAccessor) {
84
84
  const i = Symbol(), n = this.getPropertyDescriptor(e, i, r);
85
- n !== void 0 && oa(this.prototype, e, n);
85
+ n !== void 0 && aa(this.prototype, e, n);
86
86
  }
87
87
  }
88
88
  static getPropertyDescriptor(e, r, i) {
89
- const { get: n, set: s } = aa(this.prototype, e) ?? { get() {
89
+ const { get: n, set: s } = la(this.prototype, e) ?? { get() {
90
90
  return this[r];
91
91
  }, set(o) {
92
92
  this[r] = o;
@@ -99,19 +99,19 @@ class kt extends HTMLElement {
99
99
  }, configurable: !0, enumerable: !0 };
100
100
  }
101
101
  static getPropertyOptions(e) {
102
- return this.elementProperties.get(e) ?? En;
102
+ return this.elementProperties.get(e) ?? Mn;
103
103
  }
104
104
  static _$Ei() {
105
- if (this.hasOwnProperty(Xt("elementProperties")))
105
+ if (this.hasOwnProperty(Vt("elementProperties")))
106
106
  return;
107
- const e = ha(this);
107
+ const e = ua(this);
108
108
  e.finalize(), e.l !== void 0 && (this.l = [...e.l]), this.elementProperties = new Map(e.elementProperties);
109
109
  }
110
110
  static finalize() {
111
- if (this.hasOwnProperty(Xt("finalized")))
111
+ if (this.hasOwnProperty(Vt("finalized")))
112
112
  return;
113
- if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Xt("properties"))) {
114
- const r = this.properties, i = [...la(r), ...ca(r)];
113
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(Vt("properties"))) {
114
+ const r = this.properties, i = [...ca(r), ...ha(r)];
115
115
  for (const n of i)
116
116
  this.createProperty(n, r[n]);
117
117
  }
@@ -134,9 +134,9 @@ class kt extends HTMLElement {
134
134
  if (Array.isArray(e)) {
135
135
  const i = new Set(e.flat(1 / 0).reverse());
136
136
  for (const n of i)
137
- r.unshift(wn(n));
137
+ r.unshift(_n(n));
138
138
  } else
139
- e !== void 0 && r.push(wn(e));
139
+ e !== void 0 && r.push(_n(e));
140
140
  return r;
141
141
  }
142
142
  static _$Eu(e, r) {
@@ -166,7 +166,7 @@ class kt extends HTMLElement {
166
166
  }
167
167
  createRenderRoot() {
168
168
  const e = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
169
- return na(e, this.constructor.elementStyles), e;
169
+ return sa(e, this.constructor.elementStyles), e;
170
170
  }
171
171
  connectedCallback() {
172
172
  var e;
@@ -191,7 +191,7 @@ class kt extends HTMLElement {
191
191
  var i;
192
192
  const n = this.constructor.elementProperties.get(e), s = this.constructor._$Eu(e, n);
193
193
  if (s !== void 0 && n.reflect === !0) {
194
- const o = (((i = n.converter) == null ? void 0 : i.toAttribute) !== void 0 ? n.converter : $r).toAttribute(r, n.type);
194
+ const o = (((i = n.converter) == null ? void 0 : i.toAttribute) !== void 0 ? n.converter : _r).toAttribute(r, n.type);
195
195
  this._$Em = e, o == null ? this.removeAttribute(s) : this.setAttribute(s, o), this._$Em = null;
196
196
  }
197
197
  }
@@ -199,13 +199,13 @@ class kt extends HTMLElement {
199
199
  var i;
200
200
  const n = this.constructor, s = n._$Eh.get(e);
201
201
  if (s !== void 0 && this._$Em !== s) {
202
- const o = n.getPropertyOptions(s), l = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? o.converter : $r;
202
+ const o = n.getPropertyOptions(s), l = typeof o.converter == "function" ? { fromAttribute: o.converter } : ((i = o.converter) == null ? void 0 : i.fromAttribute) !== void 0 ? o.converter : _r;
203
203
  this._$Em = s, this[s] = l.fromAttribute(r, o.type), this._$Em = null;
204
204
  }
205
205
  }
206
206
  requestUpdate(e, r, i) {
207
207
  if (e !== void 0) {
208
- if (i ?? (i = this.constructor.getPropertyOptions(e)), !(i.hasChanged ?? ki)(this[e], r))
208
+ if (i ?? (i = this.constructor.getPropertyOptions(e)), !(i.hasChanged ?? Oi)(this[e], r))
209
209
  return;
210
210
  this.P(e, r, i);
211
211
  }
@@ -283,40 +283,40 @@ class kt extends HTMLElement {
283
283
  firstUpdated(e) {
284
284
  }
285
285
  }
286
- kt.elementStyles = [], kt.shadowRootOptions = { mode: "open" }, kt[Xt("elementProperties")] = /* @__PURE__ */ new Map(), kt[Xt("finalized")] = /* @__PURE__ */ new Map(), _n?.({ ReactiveElement: kt }), (jt.reactiveElementVersions ?? (jt.reactiveElementVersions = [])).push("2.0.4");
286
+ kt.elementStyles = [], kt.shadowRootOptions = { mode: "open" }, kt[Vt("elementProperties")] = /* @__PURE__ */ new Map(), kt[Vt("finalized")] = /* @__PURE__ */ new Map(), Sn?.({ ReactiveElement: kt }), (jt.reactiveElementVersions ?? (jt.reactiveElementVersions = [])).push("2.0.4");
287
287
  /**
288
288
  * @license
289
289
  * Copyright 2017 Google LLC
290
290
  * SPDX-License-Identifier: BSD-3-Clause
291
291
  */
292
- const _r = globalThis, Er = _r.trustedTypes, Sn = Er ? Er.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Oi = "$lit$", Ge = `lit$${(Math.random() + "").slice(9)}$`, Pi = "?" + Ge, da = `<${Pi}>`, bt = document, Kt = () => bt.createComment(""), Jt = (t) => t === null || typeof t != "object" && typeof t != "function", is = Array.isArray, ns = (t) => is(t) || typeof t?.[Symbol.iterator] == "function", ci = `[
293
- \f\r]`, Wt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Mn = /-->/g, An = />/g, gt = RegExp(`>|${ci}(?:([^\\s"'>=/]+)(${ci}*=${ci}*(?:[^
294
- \f\r"'\`<>=]|("|')|))|$)`, "g"), kn = /'/g, On = /"/g, ss = /^(?:script|style|textarea|title)$/i, pa = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), F = pa(1), ot = Symbol.for("lit-noChange"), ae = Symbol.for("lit-nothing"), Pn = /* @__PURE__ */ new WeakMap(), vt = bt.createTreeWalker(bt, 129);
295
- function os(t, e) {
292
+ const Er = globalThis, Sr = Er.trustedTypes, An = Sr ? Sr.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Pi = "$lit$", Qe = `lit$${(Math.random() + "").slice(9)}$`, Li = "?" + Qe, pa = `<${Li}>`, bt = document, Jt = () => bt.createComment(""), Zt = (t) => t === null || typeof t != "object" && typeof t != "function", ss = Array.isArray, os = (t) => ss(t) || typeof t?.[Symbol.iterator] == "function", ci = `[
293
+ \f\r]`, Yt = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, kn = /-->/g, On = />/g, gt = RegExp(`>|${ci}(?:([^\\s"'>=/]+)(${ci}*=${ci}*(?:[^
294
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Pn = /'/g, Ln = /"/g, as = /^(?:script|style|textarea|title)$/i, fa = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), F = fa(1), ot = Symbol.for("lit-noChange"), ae = Symbol.for("lit-nothing"), Cn = /* @__PURE__ */ new WeakMap(), vt = bt.createTreeWalker(bt, 129);
295
+ function ls(t, e) {
296
296
  if (!Array.isArray(t) || !t.hasOwnProperty("raw"))
297
297
  throw Error("invalid template strings array");
298
- return Sn !== void 0 ? Sn.createHTML(e) : e;
298
+ return An !== void 0 ? An.createHTML(e) : e;
299
299
  }
300
- const as = (t, e) => {
300
+ const cs = (t, e) => {
301
301
  const r = t.length - 1, i = [];
302
- let n, s = e === 2 ? "<svg>" : "", o = Wt;
302
+ let n, s = e === 2 ? "<svg>" : "", o = Yt;
303
303
  for (let l = 0; l < r; l++) {
304
304
  const a = t[l];
305
305
  let h, p, g = -1, b = 0;
306
306
  for (; b < a.length && (o.lastIndex = b, p = o.exec(a), p !== null); )
307
- b = o.lastIndex, o === Wt ? p[1] === "!--" ? o = Mn : p[1] !== void 0 ? o = An : p[2] !== void 0 ? (ss.test(p[2]) && (n = RegExp("</" + p[2], "g")), o = gt) : p[3] !== void 0 && (o = gt) : o === gt ? p[0] === ">" ? (o = n ?? Wt, g = -1) : p[1] === void 0 ? g = -2 : (g = o.lastIndex - p[2].length, h = p[1], o = p[3] === void 0 ? gt : p[3] === '"' ? On : kn) : o === On || o === kn ? o = gt : o === Mn || o === An ? o = Wt : (o = gt, n = void 0);
307
+ b = o.lastIndex, o === Yt ? p[1] === "!--" ? o = kn : p[1] !== void 0 ? o = On : p[2] !== void 0 ? (as.test(p[2]) && (n = RegExp("</" + p[2], "g")), o = gt) : p[3] !== void 0 && (o = gt) : o === gt ? p[0] === ">" ? (o = n ?? Yt, g = -1) : p[1] === void 0 ? g = -2 : (g = o.lastIndex - p[2].length, h = p[1], o = p[3] === void 0 ? gt : p[3] === '"' ? Ln : Pn) : o === Ln || o === Pn ? o = gt : o === kn || o === On ? o = Yt : (o = gt, n = void 0);
308
308
  const m = o === gt && t[l + 1].startsWith("/>") ? " " : "";
309
- s += o === Wt ? a + da : g >= 0 ? (i.push(h), a.slice(0, g) + Oi + a.slice(g) + Ge + m) : a + Ge + (g === -2 ? l : m);
309
+ s += o === Yt ? a + pa : g >= 0 ? (i.push(h), a.slice(0, g) + Pi + a.slice(g) + Qe + m) : a + Qe + (g === -2 ? l : m);
310
310
  }
311
- return [os(t, s + (t[r] || "<?>") + (e === 2 ? "</svg>" : "")), i];
311
+ return [ls(t, s + (t[r] || "<?>") + (e === 2 ? "</svg>" : "")), i];
312
312
  };
313
- class Zt {
313
+ class Gt {
314
314
  constructor({ strings: e, _$litType$: r }, i) {
315
315
  let n;
316
316
  this.parts = [];
317
317
  let s = 0, o = 0;
318
- const l = e.length - 1, a = this.parts, [h, p] = as(e, r);
319
- if (this.el = Zt.createElement(h, i), vt.currentNode = this.el.content, r === 2) {
318
+ const l = e.length - 1, a = this.parts, [h, p] = cs(e, r);
319
+ if (this.el = Gt.createElement(h, i), vt.currentNode = this.el.content, r === 2) {
320
320
  const g = this.el.content.firstChild;
321
321
  g.replaceWith(...g.childNodes);
322
322
  }
@@ -324,27 +324,27 @@ class Zt {
324
324
  if (n.nodeType === 1) {
325
325
  if (n.hasAttributes())
326
326
  for (const g of n.getAttributeNames())
327
- if (g.endsWith(Oi)) {
328
- const b = p[o++], m = n.getAttribute(g).split(Ge), _ = /([.?@])?(.*)/.exec(b);
329
- a.push({ type: 1, index: s, name: _[2], strings: m, ctor: _[1] === "." ? cs : _[1] === "?" ? hs : _[1] === "@" ? us : ir }), n.removeAttribute(g);
327
+ if (g.endsWith(Pi)) {
328
+ const b = p[o++], m = n.getAttribute(g).split(Qe), _ = /([.?@])?(.*)/.exec(b);
329
+ a.push({ type: 1, index: s, name: _[2], strings: m, ctor: _[1] === "." ? us : _[1] === "?" ? ds : _[1] === "@" ? ps : nr }), n.removeAttribute(g);
330
330
  } else
331
- g.startsWith(Ge) && (a.push({ type: 6, index: s }), n.removeAttribute(g));
332
- if (ss.test(n.tagName)) {
333
- const g = n.textContent.split(Ge), b = g.length - 1;
331
+ g.startsWith(Qe) && (a.push({ type: 6, index: s }), n.removeAttribute(g));
332
+ if (as.test(n.tagName)) {
333
+ const g = n.textContent.split(Qe), b = g.length - 1;
334
334
  if (b > 0) {
335
- n.textContent = Er ? Er.emptyScript : "";
335
+ n.textContent = Sr ? Sr.emptyScript : "";
336
336
  for (let m = 0; m < b; m++)
337
- n.append(g[m], Kt()), vt.nextNode(), a.push({ type: 2, index: ++s });
338
- n.append(g[b], Kt());
337
+ n.append(g[m], Jt()), vt.nextNode(), a.push({ type: 2, index: ++s });
338
+ n.append(g[b], Jt());
339
339
  }
340
340
  }
341
341
  } else if (n.nodeType === 8)
342
- if (n.data === Pi)
342
+ if (n.data === Li)
343
343
  a.push({ type: 2, index: s });
344
344
  else {
345
345
  let g = -1;
346
- for (; (g = n.data.indexOf(Ge, g + 1)) !== -1; )
347
- a.push({ type: 7, index: s }), g += Ge.length - 1;
346
+ for (; (g = n.data.indexOf(Qe, g + 1)) !== -1; )
347
+ a.push({ type: 7, index: s }), g += Qe.length - 1;
348
348
  }
349
349
  s++;
350
350
  }
@@ -359,10 +359,10 @@ function xt(t, e, r = t, i) {
359
359
  if (e === ot)
360
360
  return e;
361
361
  let o = i !== void 0 ? (n = r._$Co) == null ? void 0 : n[i] : r._$Cl;
362
- const l = Jt(e) ? void 0 : e._$litDirective$;
362
+ const l = Zt(e) ? void 0 : e._$litDirective$;
363
363
  return o?.constructor !== l && ((s = o?._$AO) == null || s.call(o, !1), l === void 0 ? o = void 0 : (o = new l(t), o._$AT(t, r, i)), i !== void 0 ? (r._$Co ?? (r._$Co = []))[i] = o : r._$Cl = o), o !== void 0 && (e = xt(t, o._$AS(t, e.values), o, i)), e;
364
364
  }
365
- class ls {
365
+ class hs {
366
366
  constructor(e, r) {
367
367
  this._$AV = [], this._$AN = void 0, this._$AD = e, this._$AM = r;
368
368
  }
@@ -379,7 +379,7 @@ class ls {
379
379
  for (; a !== void 0; ) {
380
380
  if (o === a.index) {
381
381
  let h;
382
- a.type === 2 ? h = new It(s, s.nextSibling, this, e) : a.type === 1 ? h = new a.ctor(s, a.name, a.strings, this, e) : a.type === 6 && (h = new ds(s, this, e)), this._$AV.push(h), a = i[++l];
382
+ a.type === 2 ? h = new It(s, s.nextSibling, this, e) : a.type === 1 ? h = new a.ctor(s, a.name, a.strings, this, e) : a.type === 6 && (h = new fs(s, this, e)), this._$AV.push(h), a = i[++l];
383
383
  }
384
384
  o !== a?.index && (s = vt.nextNode(), o++);
385
385
  }
@@ -411,7 +411,7 @@ class It {
411
411
  return this._$AB;
412
412
  }
413
413
  _$AI(e, r = this) {
414
- e = xt(this, e, r), Jt(e) ? e === ae || e == null || e === "" ? (this._$AH !== ae && this._$AR(), this._$AH = ae) : e !== this._$AH && e !== ot && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : ns(e) ? this.k(e) : this._(e);
414
+ e = xt(this, e, r), Zt(e) ? e === ae || e == null || e === "" ? (this._$AH !== ae && this._$AR(), this._$AH = ae) : e !== this._$AH && e !== ot && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : os(e) ? this.k(e) : this._(e);
415
415
  }
416
416
  S(e) {
417
417
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -420,28 +420,28 @@ class It {
420
420
  this._$AH !== e && (this._$AR(), this._$AH = this.S(e));
421
421
  }
422
422
  _(e) {
423
- this._$AH !== ae && Jt(this._$AH) ? this._$AA.nextSibling.data = e : this.T(bt.createTextNode(e)), this._$AH = e;
423
+ this._$AH !== ae && Zt(this._$AH) ? this._$AA.nextSibling.data = e : this.T(bt.createTextNode(e)), this._$AH = e;
424
424
  }
425
425
  $(e) {
426
426
  var r;
427
- const { values: i, _$litType$: n } = e, s = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Zt.createElement(os(n.h, n.h[0]), this.options)), n);
427
+ const { values: i, _$litType$: n } = e, s = typeof n == "number" ? this._$AC(e) : (n.el === void 0 && (n.el = Gt.createElement(ls(n.h, n.h[0]), this.options)), n);
428
428
  if (((r = this._$AH) == null ? void 0 : r._$AD) === s)
429
429
  this._$AH.p(i);
430
430
  else {
431
- const o = new ls(s, this), l = o.u(this.options);
431
+ const o = new hs(s, this), l = o.u(this.options);
432
432
  o.p(i), this.T(l), this._$AH = o;
433
433
  }
434
434
  }
435
435
  _$AC(e) {
436
- let r = Pn.get(e.strings);
437
- return r === void 0 && Pn.set(e.strings, r = new Zt(e)), r;
436
+ let r = Cn.get(e.strings);
437
+ return r === void 0 && Cn.set(e.strings, r = new Gt(e)), r;
438
438
  }
439
439
  k(e) {
440
- is(this._$AH) || (this._$AH = [], this._$AR());
440
+ ss(this._$AH) || (this._$AH = [], this._$AR());
441
441
  const r = this._$AH;
442
442
  let i, n = 0;
443
443
  for (const s of e)
444
- n === r.length ? r.push(i = new It(this.S(Kt()), this.S(Kt()), this, this.options)) : i = r[n], i._$AI(s), n++;
444
+ n === r.length ? r.push(i = new It(this.S(Jt()), this.S(Jt()), this, this.options)) : i = r[n], i._$AI(s), n++;
445
445
  n < r.length && (this._$AR(i && i._$AB.nextSibling, n), r.length = n);
446
446
  }
447
447
  _$AR(e = this._$AA.nextSibling, r) {
@@ -456,7 +456,7 @@ class It {
456
456
  this._$AM === void 0 && (this._$Cv = e, (r = this._$AP) == null || r.call(this, e));
457
457
  }
458
458
  }
459
- class ir {
459
+ class nr {
460
460
  get tagName() {
461
461
  return this.element.tagName;
462
462
  }
@@ -470,12 +470,12 @@ class ir {
470
470
  const s = this.strings;
471
471
  let o = !1;
472
472
  if (s === void 0)
473
- e = xt(this, e, r, 0), o = !Jt(e) || e !== this._$AH && e !== ot, o && (this._$AH = e);
473
+ e = xt(this, e, r, 0), o = !Zt(e) || e !== this._$AH && e !== ot, o && (this._$AH = e);
474
474
  else {
475
475
  const l = e;
476
476
  let a, h;
477
477
  for (e = s[0], a = 0; a < s.length - 1; a++)
478
- h = xt(this, l[i + a], r, a), h === ot && (h = this._$AH[a]), o || (o = !Jt(h) || h !== this._$AH[a]), h === ae ? e = ae : e !== ae && (e += (h ?? "") + s[a + 1]), this._$AH[a] = h;
478
+ h = xt(this, l[i + a], r, a), h === ot && (h = this._$AH[a]), o || (o = !Zt(h) || h !== this._$AH[a]), h === ae ? e = ae : e !== ae && (e += (h ?? "") + s[a + 1]), this._$AH[a] = h;
479
479
  }
480
480
  o && !n && this.j(e);
481
481
  }
@@ -483,7 +483,7 @@ class ir {
483
483
  e === ae ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
484
484
  }
485
485
  }
486
- class cs extends ir {
486
+ class us extends nr {
487
487
  constructor() {
488
488
  super(...arguments), this.type = 3;
489
489
  }
@@ -491,7 +491,7 @@ class cs extends ir {
491
491
  this.element[this.name] = e === ae ? void 0 : e;
492
492
  }
493
493
  }
494
- class hs extends ir {
494
+ class ds extends nr {
495
495
  constructor() {
496
496
  super(...arguments), this.type = 4;
497
497
  }
@@ -499,7 +499,7 @@ class hs extends ir {
499
499
  this.element.toggleAttribute(this.name, !!e && e !== ae);
500
500
  }
501
501
  }
502
- class us extends ir {
502
+ class ps extends nr {
503
503
  constructor(e, r, i, n, s) {
504
504
  super(e, r, i, n, s), this.type = 5;
505
505
  }
@@ -514,7 +514,7 @@ class us extends ir {
514
514
  typeof this._$AH == "function" ? this._$AH.call(((r = this.options) == null ? void 0 : r.host) ?? this.element, e) : this._$AH.handleEvent(e);
515
515
  }
516
516
  }
517
- class ds {
517
+ class fs {
518
518
  constructor(e, r, i) {
519
519
  this.element = e, this.type = 6, this._$AN = void 0, this._$AM = r, this.options = i;
520
520
  }
@@ -525,14 +525,14 @@ class ds {
525
525
  xt(this, e);
526
526
  }
527
527
  }
528
- const fa = { P: Oi, A: Ge, C: Pi, M: 1, L: as, R: ls, D: ns, V: xt, I: It, H: ir, N: hs, U: us, B: cs, F: ds }, Ln = _r.litHtmlPolyfillSupport;
529
- Ln?.(Zt, It), (_r.litHtmlVersions ?? (_r.litHtmlVersions = [])).push("3.1.2");
530
- const ga = (t, e, r) => {
528
+ const ga = { P: Pi, A: Qe, C: Li, M: 1, L: cs, R: hs, D: os, V: xt, I: It, H: nr, N: ds, U: ps, B: us, F: fs }, Rn = Er.litHtmlPolyfillSupport;
529
+ Rn?.(Gt, It), (Er.litHtmlVersions ?? (Er.litHtmlVersions = [])).push("3.1.2");
530
+ const ya = (t, e, r) => {
531
531
  const i = r?.renderBefore ?? e;
532
532
  let n = i._$litPart$;
533
533
  if (n === void 0) {
534
534
  const s = r?.renderBefore ?? null;
535
- i._$litPart$ = n = new It(e.insertBefore(Kt(), s), s, void 0, r ?? {});
535
+ i._$litPart$ = n = new It(e.insertBefore(Jt(), s), s, void 0, r ?? {});
536
536
  }
537
537
  return n._$AI(t), n;
538
538
  };
@@ -552,7 +552,7 @@ let _e = class extends kt {
552
552
  }
553
553
  update(t) {
554
554
  const e = this.render();
555
- this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ga(e, this.renderRoot, this.renderOptions);
555
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = ya(e, this.renderRoot, this.renderOptions);
556
556
  }
557
557
  connectedCallback() {
558
558
  var t;
@@ -566,10 +566,10 @@ let _e = class extends kt {
566
566
  return ot;
567
567
  }
568
568
  };
569
- var Cn;
570
- _e._$litElement$ = !0, _e.finalized = !0, (Cn = globalThis.litElementHydrateSupport) == null || Cn.call(globalThis, { LitElement: _e });
571
- const Rn = globalThis.litElementPolyfillSupport;
572
- Rn?.({ LitElement: _e });
569
+ var jn;
570
+ _e._$litElement$ = !0, _e.finalized = !0, (jn = globalThis.litElementHydrateSupport) == null || jn.call(globalThis, { LitElement: _e });
571
+ const Tn = globalThis.litElementPolyfillSupport;
572
+ Tn?.({ LitElement: _e });
573
573
  (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.0.4");
574
574
  /**
575
575
  * @license
@@ -586,7 +586,7 @@ const Re = (t) => (e, r) => {
586
586
  * Copyright 2017 Google LLC
587
587
  * SPDX-License-Identifier: BSD-3-Clause
588
588
  */
589
- const ya = { attribute: !0, type: String, converter: $r, reflect: !1, hasChanged: ki }, ma = (t = ya, e, r) => {
589
+ const ma = { attribute: !0, type: String, converter: _r, reflect: !1, hasChanged: Oi }, va = (t = ma, e, r) => {
590
590
  const { kind: i, metadata: n } = r;
591
591
  let s = globalThis.litPropertyMetadata.get(n);
592
592
  if (s === void 0 && globalThis.litPropertyMetadata.set(n, s = /* @__PURE__ */ new Map()), s.set(r.name, t), i === "accessor") {
@@ -608,7 +608,7 @@ const ya = { attribute: !0, type: String, converter: $r, reflect: !1, hasChanged
608
608
  throw Error("Unsupported decorator location: " + i);
609
609
  };
610
610
  function G(t) {
611
- return (e, r) => typeof r == "object" ? ma(t, e, r) : ((i, n, s) => {
611
+ return (e, r) => typeof r == "object" ? va(t, e, r) : ((i, n, s) => {
612
612
  const o = n.hasOwnProperty(s);
613
613
  return n.constructor.createProperty(s, o ? { ...i, wrapped: !0 } : i), o ? Object.getOwnPropertyDescriptor(n, s) : void 0;
614
614
  })(t, e, r);
@@ -634,7 +634,7 @@ function de(t, e, r) {
634
634
  * Copyright 2021 Google LLC
635
635
  * SPDX-License-Identifier: BSD-3-Clause
636
636
  */
637
- function* Vt(t, e) {
637
+ function* Kt(t, e) {
638
638
  if (t !== void 0) {
639
639
  let r = 0;
640
640
  for (const i of t)
@@ -646,8 +646,8 @@ function* Vt(t, e) {
646
646
  * Copyright 2017 Google LLC
647
647
  * SPDX-License-Identifier: BSD-3-Clause
648
648
  */
649
- const ps = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, fs = (t) => (...e) => ({ _$litDirective$: t, values: e });
650
- let gs = class {
649
+ const gs = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, ys = (t) => (...e) => ({ _$litDirective$: t, values: e });
650
+ let ms = class {
651
651
  constructor(t) {
652
652
  }
653
653
  get _$AU() {
@@ -668,12 +668,12 @@ let gs = class {
668
668
  * Copyright 2020 Google LLC
669
669
  * SPDX-License-Identifier: BSD-3-Clause
670
670
  */
671
- const { I: va } = fa, jn = () => document.createComment(""), Yt = (t, e, r) => {
671
+ const { I: ba } = ga, Dn = () => document.createComment(""), Xt = (t, e, r) => {
672
672
  var i;
673
673
  const n = t._$AA.parentNode, s = e === void 0 ? t._$AB : e._$AA;
674
674
  if (r === void 0) {
675
- const o = n.insertBefore(jn(), s), l = n.insertBefore(jn(), s);
676
- r = new va(o, l, t, t.options);
675
+ const o = n.insertBefore(Dn(), s), l = n.insertBefore(Dn(), s);
676
+ r = new ba(o, l, t, t.options);
677
677
  } else {
678
678
  const o = r._$AB.nextSibling, l = r._$AM, a = l !== t;
679
679
  if (a) {
@@ -689,7 +689,7 @@ const { I: va } = fa, jn = () => document.createComment(""), Yt = (t, e, r) => {
689
689
  }
690
690
  }
691
691
  return r;
692
- }, yt = (t, e, r = t) => (t._$AI(e, r), t), ba = {}, xa = (t, e = ba) => t._$AH = e, wa = (t) => t._$AH, hi = (t) => {
692
+ }, yt = (t, e, r = t) => (t._$AI(e, r), t), xa = {}, wa = (t, e = xa) => t._$AH = e, $a = (t) => t._$AH, hi = (t) => {
693
693
  var e;
694
694
  (e = t._$AP) == null || e.call(t, !1, !0);
695
695
  let r = t._$AA;
@@ -704,14 +704,14 @@ const { I: va } = fa, jn = () => document.createComment(""), Yt = (t, e, r) => {
704
704
  * Copyright 2017 Google LLC
705
705
  * SPDX-License-Identifier: BSD-3-Clause
706
706
  */
707
- const Tn = (t, e, r) => {
707
+ const Nn = (t, e, r) => {
708
708
  const i = /* @__PURE__ */ new Map();
709
709
  for (let n = e; n <= r; n++)
710
710
  i.set(t[n], n);
711
711
  return i;
712
- }, ys = fs(class extends gs {
712
+ }, vs = ys(class extends ms {
713
713
  constructor(t) {
714
- if (super(t), t.type !== ps.CHILD)
714
+ if (super(t), t.type !== gs.CHILD)
715
715
  throw Error("repeat() can only be used in text expressions");
716
716
  }
717
717
  dt(t, e, r) {
@@ -727,7 +727,7 @@ const Tn = (t, e, r) => {
727
727
  return this.dt(t, e, r).values;
728
728
  }
729
729
  update(t, [e, r, i]) {
730
- const n = wa(t), { values: s, keys: o } = this.dt(e, r, i);
730
+ const n = $a(t), { values: s, keys: o } = this.dt(e, r, i);
731
731
  if (!Array.isArray(n))
732
732
  return this.ut = o, s;
733
733
  const l = this.ut ?? (this.ut = []), a = [];
@@ -742,31 +742,31 @@ const Tn = (t, e, r) => {
742
742
  else if (l[b] === o[_])
743
743
  a[_] = yt(n[b], s[_]), b--, _--;
744
744
  else if (l[g] === o[_])
745
- a[_] = yt(n[g], s[_]), Yt(t, a[_ + 1], n[g]), g++, _--;
745
+ a[_] = yt(n[g], s[_]), Xt(t, a[_ + 1], n[g]), g++, _--;
746
746
  else if (l[b] === o[m])
747
- a[m] = yt(n[b], s[m]), Yt(t, n[g], n[b]), b--, m++;
748
- else if (h === void 0 && (h = Tn(o, m, _), p = Tn(l, g, b)), h.has(l[g]))
747
+ a[m] = yt(n[b], s[m]), Xt(t, n[g], n[b]), b--, m++;
748
+ else if (h === void 0 && (h = Nn(o, m, _), p = Nn(l, g, b)), h.has(l[g]))
749
749
  if (h.has(l[b])) {
750
750
  const k = p.get(o[m]), z = k !== void 0 ? n[k] : null;
751
751
  if (z === null) {
752
- const I = Yt(t, n[g]);
752
+ const I = Xt(t, n[g]);
753
753
  yt(I, s[m]), a[m] = I;
754
754
  } else
755
- a[m] = yt(z, s[m]), Yt(t, n[g], z), n[k] = null;
755
+ a[m] = yt(z, s[m]), Xt(t, n[g], z), n[k] = null;
756
756
  m++;
757
757
  } else
758
758
  hi(n[b]), b--;
759
759
  else
760
760
  hi(n[g]), g++;
761
761
  for (; m <= _; ) {
762
- const k = Yt(t, a[_ + 1]);
762
+ const k = Xt(t, a[_ + 1]);
763
763
  yt(k, s[m]), a[m++] = k;
764
764
  }
765
765
  for (; g <= b; ) {
766
766
  const k = n[g++];
767
767
  k !== null && hi(k);
768
768
  }
769
- return this.ut = o, xa(t, a), ot;
769
+ return this.ut = o, wa(t, a), ot;
770
770
  }
771
771
  });
772
772
  /**
@@ -774,9 +774,9 @@ const Tn = (t, e, r) => {
774
774
  * Copyright 2017 Google LLC
775
775
  * SPDX-License-Identifier: BSD-3-Clause
776
776
  */
777
- let pi = class extends gs {
777
+ let fi = class extends ms {
778
778
  constructor(t) {
779
- if (super(t), this.it = ae, t.type !== ps.CHILD)
779
+ if (super(t), this.it = ae, t.type !== gs.CHILD)
780
780
  throw Error(this.constructor.directiveName + "() can only be used in child bindings");
781
781
  }
782
782
  render(t) {
@@ -793,50 +793,50 @@ let pi = class extends gs {
793
793
  return e.raw = e, this._t = { _$litType$: this.constructor.resultType, strings: e, values: [] };
794
794
  }
795
795
  };
796
- pi.directiveName = "unsafeHTML", pi.resultType = 1;
797
- const Dn = fs(pi);
796
+ fi.directiveName = "unsafeHTML", fi.resultType = 1;
797
+ const In = ys(fi);
798
798
  /**
799
799
  * @license
800
800
  * Copyright 2020 Google LLC
801
801
  * SPDX-License-Identifier: BSD-3-Clause
802
802
  */
803
- const ms = Symbol.for(""), $a = (t) => {
804
- if (t?.r === ms)
803
+ const bs = Symbol.for(""), _a = (t) => {
804
+ if (t?.r === bs)
805
805
  return t?._$litStatic$;
806
- }, Ot = (t) => ({ _$litStatic$: t, r: ms }), Nn = /* @__PURE__ */ new Map(), _a = (t) => (e, ...r) => {
806
+ }, Ot = (t) => ({ _$litStatic$: t, r: bs }), qn = /* @__PURE__ */ new Map(), Ea = (t) => (e, ...r) => {
807
807
  const i = r.length;
808
808
  let n, s;
809
809
  const o = [], l = [];
810
810
  let a, h = 0, p = !1;
811
811
  for (; h < i; ) {
812
- for (a = e[h]; h < i && (s = r[h], (n = $a(s)) !== void 0); )
812
+ for (a = e[h]; h < i && (s = r[h], (n = _a(s)) !== void 0); )
813
813
  a += n + e[++h], p = !0;
814
814
  h !== i && l.push(s), o.push(a), h++;
815
815
  }
816
816
  if (h === i && o.push(e[i]), p) {
817
817
  const g = o.join("$$lit$$");
818
- (e = Nn.get(g)) === void 0 && (o.raw = o, Nn.set(g, e = o)), r = l;
818
+ (e = qn.get(g)) === void 0 && (o.raw = o, qn.set(g, e = o)), r = l;
819
819
  }
820
820
  return t(e, ...r);
821
- }, wr = _a(F);
821
+ }, $r = Ea(F);
822
822
  (() => {
823
- var t = Object.defineProperty, e = Math.pow, r = (c, d, x) => d in c ? t(c, d, { enumerable: !0, configurable: !0, writable: !0, value: x }) : c[d] = x, i = (c, d, x) => (r(c, typeof d != "symbol" ? d + "" : d, x), x), n = (c, d) => ` ${d && d.length > 0 ? d.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${c} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", a = "pointers-max-distance", h = "range-dragging", p = "data", g = "min", b = "max", m = "step", _ = "round", k = "type", z = "theme", I = "rtl", f = "btt", y = "disabled", w = "keyboard-disabled", E = "mousewheel-disabled", S = "slider-width", M = "slider-height", L = "slider-radius", B = "slider-bg", U = "slider-bg-hover", T = "slider-bg-fill", re = "pointer-width", Z = "pointer-height", C = "pointer-radius", O = "pointer-bg", A = "pointer-bg-hover", N = "pointer-bg-focus", P = "pointer-shadow", K = "pointer-shadow-hover", W = "pointer-shadow-focus", oe = "pointer-border", ie = "pointer-border-hover", me = "pointer-border-focus", ve = "animate-onclick", Me = "css-links", xe = "vertical", Ae = "horizontal", Ze = (c, d, x, v, R) => {
823
+ var t = Object.defineProperty, e = Math.pow, r = (c, d, x) => d in c ? t(c, d, { enumerable: !0, configurable: !0, writable: !0, value: x }) : c[d] = x, i = (c, d, x) => (r(c, typeof d != "symbol" ? d + "" : d, x), x), n = (c, d) => ` ${d && d.length > 0 ? d.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${c} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`, s = ":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}", o = "pointers-overlap", l = "pointers-min-distance", a = "pointers-max-distance", h = "range-dragging", p = "data", g = "min", b = "max", m = "step", _ = "round", k = "type", z = "theme", I = "rtl", f = "btt", y = "disabled", w = "keyboard-disabled", E = "mousewheel-disabled", S = "slider-width", M = "slider-height", L = "slider-radius", B = "slider-bg", U = "slider-bg-hover", T = "slider-bg-fill", re = "pointer-width", Z = "pointer-height", C = "pointer-radius", O = "pointer-bg", A = "pointer-bg-hover", N = "pointer-bg-focus", P = "pointer-shadow", K = "pointer-shadow-hover", W = "pointer-shadow-focus", oe = "pointer-border", ie = "pointer-border-hover", me = "pointer-border-focus", ve = "animate-onclick", Me = "css-links", xe = "vertical", Ae = "horizontal", Ge = (c, d, x, v, R) => {
824
824
  let Y = d - c;
825
825
  return Y === 0 ? x : (v - x) * (R - c) / Y + x;
826
- }, $e = (c) => !isNaN(parseFloat(c)) && isFinite(c), ne = (c, d) => $e(c) ? Number(c) : d, Ie = (c, d) => d === 0 ? 0 : Math.round(c / d) * d, dt = (c, d = 1 / 0) => {
826
+ }, $e = (c) => !isNaN(parseFloat(c)) && isFinite(c), ne = (c, d) => $e(c) ? Number(c) : d, Ne = (c, d) => d === 0 ? 0 : Math.round(c / d) * d, dt = (c, d = 1 / 0) => {
827
827
  if (d === 1 / 0)
828
828
  return c;
829
829
  let x = e(10, d);
830
830
  return Math.round(c * x) / x;
831
- }, pe = (c) => c == null ? !1 : typeof c == "boolean" ? c : c.trim().toLowerCase() === "true", no = (c, d) => {
831
+ }, pe = (c) => c == null ? !1 : typeof c == "boolean" ? c : c.trim().toLowerCase() === "true", so = (c, d) => {
832
832
  c.dispatchEvent(new CustomEvent("onPointerClicked", { detail: { $pointer: d } }));
833
- }, so = (c, d) => {
834
- c.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: d } }));
835
833
  }, oo = (c, d) => {
836
- c.dispatchEvent(new CustomEvent("onMouseUp", { detail: { nativeEvent: d } }));
834
+ c.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: d } }));
837
835
  }, ao = (c, d) => {
838
- c.dispatchEvent(new CustomEvent("onKeyDown", { detail: { nativeEvent: d } }));
836
+ c.dispatchEvent(new CustomEvent("onMouseUp", { detail: { nativeEvent: d } }));
839
837
  }, lo = (c, d) => {
838
+ c.dispatchEvent(new CustomEvent("onKeyDown", { detail: { nativeEvent: d } }));
839
+ }, co = (c, d) => {
840
840
  if (!d || d.length <= 0)
841
841
  return;
842
842
  let x = d.map((R) => $e(R) ? ne(R, R) : R), v = { values: x || [] };
@@ -876,10 +876,10 @@ const ms = Symbol.for(""), $a = (t) => {
876
876
  break;
877
877
  }
878
878
  }
879
- ao(c, V);
879
+ lo(c, V);
880
880
  }
881
881
  }, te = () => {
882
- D || no(c, d);
882
+ D || so(c, d);
883
883
  };
884
884
  return d.className = `pointer pointer-${x}`, d.addEventListener("keydown", X), d.addEventListener("click", te), { $pointer: d, get percent() {
885
885
  return v;
@@ -890,7 +890,7 @@ const ms = Symbol.for(""), $a = (t) => {
890
890
  }, updatePosition: ee, isClicked: se, setCallbacks: H, setAttr: je, getAttr: Ee, destroy: () => {
891
891
  d.removeEventListener("keydown", X), d.removeEventListener("click", te), d.remove();
892
892
  } };
893
- }, co = (c) => {
893
+ }, ho = (c) => {
894
894
  if (c == null)
895
895
  return;
896
896
  if (Array.isArray(c))
@@ -903,12 +903,12 @@ const ms = Symbol.for(""), $a = (t) => {
903
903
  Y !== "" && (x.push(Y), $e(Y) || (v = !1));
904
904
  }
905
905
  return v ? x.map((R) => Number(R)) : x;
906
- }, ho = (c, d) => d ? d.findIndex((x) => x === c || x.toString().trim() === c.toString().trim()) : -1, uo = (c) => ({ updatePosition: (d, x, v, R) => {
906
+ }, uo = (c, d) => d ? d.findIndex((x) => x === c || x.toString().trim() === c.toString().trim()) : -1, po = (c) => ({ updatePosition: (d, x, v, R) => {
907
907
  if (x.length <= 0)
908
908
  return;
909
909
  let Y = x.length === 1, Q = x[0], j = x[x.length - 1];
910
910
  d === xe ? (c.style.removeProperty("width"), c.style.removeProperty("right"), c.style.removeProperty("left"), Y ? c.style.height = `${Q}%` : c.style.height = `${Math.abs(Q - j)}%`, R ? (c.style.bottom = "0%", Y ? c.style.top = "auto" : c.style.top = `${Math.min(100 - j, 100 - Q)}%`) : (c.style.bottom = "auto", Y ? c.style.top = "0%" : c.style.top = `${Math.min(Q, j)}%`)) : (c.style.removeProperty("height"), c.style.removeProperty("top"), c.style.removeProperty("bottom"), Y ? c.style.width = `${Q}%` : c.style.width = `${Math.abs(Q - j)}%`, v ? (c.style.right = "0%", Y ? c.style.left = "auto" : c.style.left = `${Math.min(100 - j, 100 - Q)}%`) : (c.style.right = "auto", Y ? c.style.left = "0%" : c.style.left = `${Math.min(Q, j)}%`));
911
- } }), Ki = "--animate-onclick", po = "--width", fo = "--height", go = "--panel-bg-border-radius", yo = "--panel-bg", mo = "--panel-bg-hover", vo = "--panel-bg-fill", bo = "--pointer-width", xo = "--pointer-height", wo = "--pointer-border-radius", $o = "--pointer-bg", _o = "--pointer-bg-hover", Eo = "--pointer-bg-focus", So = "--pointer-shadow", Mo = "--pointer-shadow-hover", Ao = "--pointer-shadow-focus", ko = "--pointer-border", Oo = "--pointer-border-hover", Po = "--pointer-border-focus", or = (c, d, x) => {
911
+ } }), Zi = "--animate-onclick", fo = "--width", go = "--height", yo = "--panel-bg-border-radius", mo = "--panel-bg", vo = "--panel-bg-hover", bo = "--panel-bg-fill", xo = "--pointer-width", wo = "--pointer-height", $o = "--pointer-border-radius", _o = "--pointer-bg", Eo = "--pointer-bg-hover", So = "--pointer-bg-focus", Mo = "--pointer-shadow", Ao = "--pointer-shadow-hover", ko = "--pointer-shadow-focus", Oo = "--pointer-border", Po = "--pointer-border-hover", Lo = "--pointer-border-focus", ar = (c, d, x) => {
912
912
  let v = /* @__PURE__ */ new Map();
913
913
  for (let R of c.attributes) {
914
914
  let Y = R.nodeName.trim().toLowerCase();
@@ -918,7 +918,7 @@ const ms = Symbol.for(""), $a = (t) => {
918
918
  v.set(j, D);
919
919
  }
920
920
  return v;
921
- }, Lo = (c) => {
921
+ }, Co = (c) => {
922
922
  if (!c)
923
923
  return null;
924
924
  let d = c.getAttribute(Me);
@@ -928,7 +928,7 @@ const ms = Symbol.for(""), $a = (t) => {
928
928
  for (let R of x)
929
929
  R.trim() !== "" && v.push(R.trim());
930
930
  return v;
931
- }, Ji = [[po, S, "sliderWidth", null], [fo, M, "sliderHeight", null], [go, L, "sliderRadius", null], [yo, B, "sliderBg", null], [mo, U, "sliderBgHover", null], [vo, T, "sliderBgFill", null], [bo, re, "pointer#Width", /^pointer([0-9]*)-width$/], [xo, Z, "pointer#Height", /^pointer([0-9]*)-height$/], [wo, C, "pointer#Radius", /^pointer([0-9]*)-radius$/], [$o, O, "pointer#Bg", /^pointer([0-9]*)-bg$/], [_o, A, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [Eo, N, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [So, P, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [Mo, K, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [Ao, W, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [ko, oe, "pointer#Border", /^pointer([0-9]*)-border$/], [Oo, ie, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Po, me, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Co = (c, d, x) => {
931
+ }, Gi = [[fo, S, "sliderWidth", null], [go, M, "sliderHeight", null], [yo, L, "sliderRadius", null], [mo, B, "sliderBg", null], [vo, U, "sliderBgHover", null], [bo, T, "sliderBgFill", null], [xo, re, "pointer#Width", /^pointer([0-9]*)-width$/], [wo, Z, "pointer#Height", /^pointer([0-9]*)-height$/], [$o, C, "pointer#Radius", /^pointer([0-9]*)-radius$/], [_o, O, "pointer#Bg", /^pointer([0-9]*)-bg$/], [Eo, A, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [So, N, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Mo, P, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [Ao, K, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [ko, W, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Oo, oe, "pointer#Border", /^pointer([0-9]*)-border$/], [Po, ie, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [Lo, me, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Ro = (c, d, x) => {
932
932
  let v = null, R = [], Y = /* @__PURE__ */ new Map(), Q = (X, te = d) => {
933
933
  let V = [...te.classList];
934
934
  for (let ue of V)
@@ -955,7 +955,7 @@ const ms = Symbol.for(""), $a = (t) => {
955
955
  R[X] = te, ee();
956
956
  }, H = () => {
957
957
  j();
958
- let X = or(c, /^pointer([0-9]*)-shape$/);
958
+ let X = ar(c, /^pointer([0-9]*)-shape$/);
959
959
  if (!(X.size <= 0)) {
960
960
  for (let te of X) {
961
961
  let V = te[0];
@@ -975,10 +975,10 @@ const ms = Symbol.for(""), $a = (t) => {
975
975
  Y.set(ce(X, V), te), we.style.setProperty(X, te);
976
976
  }, Ee = (X, te) => Y.get(ce(X, te));
977
977
  return (() => {
978
- for (let X of Ji) {
978
+ for (let X of Gi) {
979
979
  let [te, V, ue, we] = X;
980
980
  if (we) {
981
- let fe = or(c, we);
981
+ let fe = ar(c, we);
982
982
  for (let ge of fe) {
983
983
  let ke = ge[0], Oe = ge[1];
984
984
  je(te, Oe, ke);
@@ -1015,7 +1015,7 @@ const ms = Symbol.for(""), $a = (t) => {
1015
1015
  }, get pointerShapes() {
1016
1016
  return R;
1017
1017
  }, setPointerShape: se };
1018
- }, Et = "animate-on-click", Zi = "range-dragging", Ro = (c, d, x, v) => {
1018
+ }, Et = "animate-on-click", Qi = "range-dragging", jo = (c, d, x, v) => {
1019
1019
  let R = [], Y = (se) => {
1020
1020
  for (let H of R)
1021
1021
  H.update && typeof H.update == "function" && H.update(se);
@@ -1049,7 +1049,7 @@ const ms = Symbol.for(""), $a = (t) => {
1049
1049
  R.push(H), H.init && typeof H.init == "function" && (H.init(c, d, x, v), D(H), ee(H));
1050
1050
  }
1051
1051
  }, update: Y, onAttrChange: j, destroy: Q };
1052
- }, jo = 10, Gi = 20, To = (c, d) => {
1052
+ }, To = 10, en = 20, Do = (c, d) => {
1053
1053
  let x = /* @__PURE__ */ new Map(), v = /^value([0-9]*)$/;
1054
1054
  for (let j of c.attributes) {
1055
1055
  let D = j.nodeName.trim().toLowerCase();
@@ -1066,7 +1066,7 @@ const ms = Symbol.for(""), $a = (t) => {
1066
1066
  Q.after(D), Q = D, Y.push([Ir(c, D, j), x.get(j)]);
1067
1067
  }
1068
1068
  return Y;
1069
- }, Qi = (c, d, x, v, R, Y, Q) => {
1069
+ }, tn = (c, d, x, v, R, Y, Q) => {
1070
1070
  try {
1071
1071
  Object.defineProperty(c, v, { configurable: !0, get() {
1072
1072
  if (!d)
@@ -1100,40 +1100,40 @@ const ms = Symbol.for(""), $a = (t) => {
1100
1100
  } catch (j) {
1101
1101
  console.error(j);
1102
1102
  }
1103
- }, Do = (c, d) => {
1103
+ }, No = (c, d) => {
1104
1104
  let x = [["value", "ariaLabel", "pointerShape", "pointerDisabled", 0], ["value0", "ariaLabel0", "pointerShape0", "pointer0Disabled", 0], ["value1", "ariaLabel1", "pointerShape1", "pointer1Disabled", 0]];
1105
- for (let v = 2; v < jo; v++)
1105
+ for (let v = 2; v < To; v++)
1106
1106
  x.push([`value${v}`, `ariaLabel${v}`, `pointer${v}Shape`, `pointer${v}Disabled`, v - 1]);
1107
1107
  for (let v of x)
1108
- Qi(c, d, v[4], v[0], v[1], v[2], v[3]);
1109
- }, en = (c, d, x) => {
1108
+ tn(c, d, v[4], v[0], v[1], v[2], v[3]);
1109
+ }, rn = (c, d, x) => {
1110
1110
  var v;
1111
1111
  let R = (v = x.shadowRoot) == null ? void 0 : v.querySelector(".container");
1112
1112
  if (R)
1113
1113
  for (let Y of c)
1114
1114
  d ? R.prepend(Y.$pointer) : R.append(Y.$pointer);
1115
- }, No = (c, d) => {
1115
+ }, Io = (c, d) => {
1116
1116
  if (!(!d || c.length <= 1)) {
1117
1117
  for (let x of c)
1118
- x.$pointer.style.zIndex = Gi.toString();
1119
- d.$pointer.style.zIndex = (Gi * 2).toString();
1120
- }
1121
- }, qr = 0, Ht = 100, St = 2, tn = "0.3s", Io = (c, d, x) => {
1122
- let v = x.map((u) => u[0]), R = null, Y = null, Q = null, j = null, D = qr, ee = Ht, se, H, ce = Ae, je = St, Ee = !1, X = !1, te = !1, V = 0, ue = 1 / 0, we = !1, be, fe, ge = !1, ke = !1, Oe = !1, st = tn, rn = [], nn = (u) => {
1123
- ge || (u.preventDefault && u.preventDefault(), pt(u), window.addEventListener("mousemove", pt), window.addEventListener("mouseup", ar), so(c, u));
1124
- }, ar = (u) => {
1125
- ge || (be = void 0, fe = void 0, window.removeEventListener("mousemove", pt), window.removeEventListener("mouseup", ar), st && d.classList.add(Et), oo(c, u));
1126
- }, Uo = (u, $) => {
1118
+ x.$pointer.style.zIndex = en.toString();
1119
+ d.$pointer.style.zIndex = (en * 2).toString();
1120
+ }
1121
+ }, qr = 0, Ft = 100, St = 2, nn = "0.3s", qo = (c, d, x) => {
1122
+ let v = x.map((u) => u[0]), R = null, Y = null, Q = null, j = null, D = qr, ee = Ft, se, H, ce = Ae, je = St, Ee = !1, X = !1, te = !1, V = 0, ue = 1 / 0, we = !1, be, fe, ge = !1, ke = !1, Oe = !1, st = nn, sn = [], on = (u) => {
1123
+ ge || (u.preventDefault && u.preventDefault(), pt(u), window.addEventListener("mousemove", pt), window.addEventListener("mouseup", lr), oo(c, u));
1124
+ }, lr = (u) => {
1125
+ ge || (be = void 0, fe = void 0, window.removeEventListener("mousemove", pt), window.removeEventListener("mouseup", lr), st && d.classList.add(Et), ao(c, u));
1126
+ }, Ho = (u, $) => {
1127
1127
  if (v.length <= 0)
1128
1128
  return;
1129
1129
  if (v.length === 1)
1130
1130
  return v[0].isClicked(u) && st && d.classList.remove(Et), v[0];
1131
- let q = Fo(u);
1131
+ let q = zo(u);
1132
1132
  if (we) {
1133
- let le = $, qe = cr(le);
1134
- qe !== void 0 && (le = Ie(le, qe)), q ? (be = le, fe = 0, st && d.classList.remove(Et)) : be !== void 0 && (fe = le - be, be = le);
1133
+ let le = $, Ie = hr(le);
1134
+ Ie !== void 0 && (le = Ne(le, Ie)), q ? (be = le, fe = 0, st && d.classList.remove(Et)) : be !== void 0 && (fe = le - be, be = le);
1135
1135
  }
1136
- if (!Ho(u) && !q) {
1136
+ if (!Fo(u) && !q) {
1137
1137
  for (let le of v)
1138
1138
  if (!(!le.isClicked(u) || le.disabled))
1139
1139
  return st && d.classList.remove(Et), le;
@@ -1145,11 +1145,11 @@ const ms = Symbol.for(""), $a = (t) => {
1145
1145
  for (let le of v) {
1146
1146
  if (le.disabled)
1147
1147
  continue;
1148
- let qe = Math.abs($ - le.percent);
1149
- qe < he && (he = qe, ye = le);
1148
+ let Ie = Math.abs($ - le.percent);
1149
+ Ie < he && (he = Ie, ye = le);
1150
1150
  }
1151
1151
  return ye;
1152
- }, sn = () => v.findIndex((u) => R === u && !u.disabled), pt = (u) => {
1152
+ }, an = () => v.findIndex((u) => R === u && !u.disabled), pt = (u) => {
1153
1153
  let $;
1154
1154
  if (ce === xe) {
1155
1155
  let { height: he, top: ye } = d.getBoundingClientRect(), le = u.type.indexOf("mouse") !== -1 ? u.clientY : u.touches[0].clientY;
@@ -1158,45 +1158,45 @@ const ms = Symbol.for(""), $a = (t) => {
1158
1158
  let { width: he, left: ye } = d.getBoundingClientRect(), le = u.type.indexOf("mouse") !== -1 ? u.clientX : u.touches[0].clientX;
1159
1159
  $ = Math.min(Math.max(0, le - ye), he) * 100 / he;
1160
1160
  }
1161
- if ((Ee || X) && ($ = 100 - $), R = Uo(u.target, $), R && No(v, R), we && v.length > 1 && fe !== void 0) {
1162
- let he = v[0], ye = v[v.length - 1], le = he.percent + fe < 0, qe = ye.percent + fe > 100;
1163
- if (le || qe)
1161
+ if ((Ee || X) && ($ = 100 - $), R = Ho(u.target, $), R && Io(v, R), we && v.length > 1 && fe !== void 0) {
1162
+ let he = v[0], ye = v[v.length - 1], le = he.percent + fe < 0, Ie = ye.percent + fe > 100;
1163
+ if (le || Ie)
1164
1164
  return;
1165
- for (let mr = 0; mr < v.length; mr++)
1166
- Pe(mr, v[mr].percent + fe);
1165
+ for (let vr = 0; vr < v.length; vr++)
1166
+ Pe(vr, v[vr].percent + fe);
1167
1167
  return;
1168
1168
  }
1169
- let q = sn();
1169
+ let q = an();
1170
1170
  q !== -1 && (Pe(q, $), R?.$pointer.focus());
1171
- }, lr = (u) => {
1171
+ }, cr = (u) => {
1172
1172
  if (ge || document.activeElement !== c || R != null && R.disabled)
1173
1173
  return;
1174
1174
  u.stopPropagation(), u.preventDefault();
1175
- let $ = u.deltaY < 0, q = Ee || X, he = $ ? !q : q, ye = sn();
1176
- ye !== -1 && (he ? Ft(ye, v[ye].percent) : zt(ye, v[ye].percent));
1177
- }, on = (u) => {
1178
- ge || ke || (ce === xe ? X ? Pe(u, 100) : Pe(u, 0) : Ee ? zt(u, v[u].percent) : Ft(u, v[u].percent));
1179
- }, an = (u) => {
1180
- ge || ke || (ce === xe ? X ? Pe(u, 0) : Pe(u, 100) : Ee ? Ft(u, v[u].percent) : zt(u, v[u].percent));
1175
+ let $ = u.deltaY < 0, q = Ee || X, he = $ ? !q : q, ye = an();
1176
+ ye !== -1 && (he ? zt(ye, v[ye].percent) : Wt(ye, v[ye].percent));
1181
1177
  }, ln = (u) => {
1182
- ge || ke || (ce === xe ? X ? zt(u, v[u].percent) : Ft(u, v[u].percent) : Ee ? Pe(u, 100) : Pe(u, 0));
1178
+ ge || ke || (ce === xe ? X ? Pe(u, 100) : Pe(u, 0) : Ee ? Wt(u, v[u].percent) : zt(u, v[u].percent));
1183
1179
  }, cn = (u) => {
1184
- ge || ke || (ce === xe ? X ? Ft(u, v[u].percent) : zt(u, v[u].percent) : Ee ? Pe(u, 0) : Pe(u, 100));
1185
- }, Ho = (u) => u.classList.contains("panel"), Fo = (u) => u.classList.contains("panel-fill"), Ft = (u, $) => {
1180
+ ge || ke || (ce === xe ? X ? Pe(u, 0) : Pe(u, 100) : Ee ? zt(u, v[u].percent) : Wt(u, v[u].percent));
1181
+ }, hn = (u) => {
1182
+ ge || ke || (ce === xe ? X ? Wt(u, v[u].percent) : zt(u, v[u].percent) : Ee ? Pe(u, 100) : Pe(u, 0));
1183
+ }, un = (u) => {
1184
+ ge || ke || (ce === xe ? X ? zt(u, v[u].percent) : Wt(u, v[u].percent) : Ee ? Pe(u, 0) : Pe(u, 100));
1185
+ }, Fo = (u) => u.classList.contains("panel"), zo = (u) => u.classList.contains("panel-fill"), zt = (u, $) => {
1186
1186
  if ($ === void 0)
1187
1187
  return;
1188
- let q = cr($);
1188
+ let q = hr($);
1189
1189
  q == null && (q = 1), $ -= q, $ < 0 && ($ = 0), Pe(u, $);
1190
- }, zt = (u, $) => {
1190
+ }, Wt = (u, $) => {
1191
1191
  if ($ === void 0)
1192
1192
  return;
1193
- let q = cr($);
1193
+ let q = hr($);
1194
1194
  q == null && (q = 1), $ += q, $ > 100 && ($ = 100), Pe(u, $);
1195
1195
  }, ft = () => {
1196
- !j || j.update({ percents: hn(), values: un(), $pointers: dn(), min: pn(), max: fn(), data: Hr(), step: Ur(), round: zr(), type: Fr(), textMin: hr(), textMax: ur(), rightToLeft: Xr(), bottomToTop: Vr(), pointersOverlap: Gr(), pointersMinDistance: Wr(), pointersMaxDistance: Yr(), rangeDragging: Qr(), disabled: Kr(), keyboardDisabled: Jr(), mousewheelDisabled: Zr() });
1197
- }, zo = () => {
1196
+ !j || j.update({ percents: dn(), values: pn(), $pointers: fn(), min: gn(), max: yn(), data: Hr(), step: Ur(), round: zr(), type: Fr(), textMin: ur(), textMax: dr(), rightToLeft: Xr(), bottomToTop: Vr(), pointersOverlap: Gr(), pointersMinDistance: Wr(), pointersMaxDistance: Yr(), rangeDragging: Qr(), disabled: Kr(), keyboardDisabled: Jr(), mousewheelDisabled: Zr() });
1197
+ }, Wo = () => {
1198
1198
  ft();
1199
- }, Wo = (u) => {
1199
+ }, Yo = (u) => {
1200
1200
  if (!(te || v.length <= 1 || ee === D))
1201
1201
  if (u === 0) {
1202
1202
  let $ = ue * 100 / (ee - D);
@@ -1205,7 +1205,7 @@ const ms = Symbol.for(""), $a = (t) => {
1205
1205
  let $ = V * 100 / (ee - D);
1206
1206
  return Math.min(v[u - 1].percent + $, 100);
1207
1207
  }
1208
- }, Yo = (u) => {
1208
+ }, Xo = (u) => {
1209
1209
  if (!(te || v.length <= 1 || ee === D))
1210
1210
  if (u === v.length - 1) {
1211
1211
  let $ = ue * 100 / (ee - D);
@@ -1214,10 +1214,10 @@ const ms = Symbol.for(""), $a = (t) => {
1214
1214
  let $ = V * 100 / (ee - D);
1215
1215
  return Math.max(0, v[u + 1].percent - $);
1216
1216
  }
1217
- }, cr = (u) => {
1217
+ }, hr = (u) => {
1218
1218
  let $;
1219
1219
  if (typeof se == "function") {
1220
- let q = Ze(0, 100, D, ee, u);
1220
+ let q = Ge(0, 100, D, ee, u);
1221
1221
  $ = se(q, u);
1222
1222
  } else
1223
1223
  $ = se;
@@ -1228,57 +1228,57 @@ const ms = Symbol.for(""), $a = (t) => {
1228
1228
  }, Mt = (u) => {
1229
1229
  if (u === void 0)
1230
1230
  return;
1231
- let $ = Ze(0, 100, D, ee, u);
1231
+ let $ = Ge(0, 100, D, ee, u);
1232
1232
  return H !== void 0 ? H[Math.round($)] : dt($, je);
1233
- }, hr = () => H !== void 0 ? H[D] : D, ur = () => H !== void 0 ? H[ee] : ee, Ur = () => se, Xo = (u) => {
1233
+ }, ur = () => H !== void 0 ? H[D] : D, dr = () => H !== void 0 ? H[ee] : ee, Ur = () => se, Vo = (u) => {
1234
1234
  var $;
1235
- return u <= 0 || te ? hr() : ($ = Mt(v[u - 1].percent)) != null ? $ : "";
1236
- }, Vo = (u) => {
1235
+ return u <= 0 || te ? ur() : ($ = Mt(v[u - 1].percent)) != null ? $ : "";
1236
+ }, Ko = (u) => {
1237
1237
  var $;
1238
- return v.length <= 1 || u >= v.length - 1 || te ? ur() : ($ = Mt(v[u + 1].percent)) != null ? $ : "";
1239
- }, hn = () => v.map((u) => u.percent), un = () => v.map((u) => Mt(u.percent)), dn = () => v.map((u) => u.$pointer), pn = () => D, fn = () => ee, Hr = () => H, Fr = () => ce, zr = () => je, Wr = () => V, Yr = () => ue, Ko = (u) => rn[u], Xr = () => Ee, Vr = () => X, Kr = () => ge, Jr = () => ke, Zr = () => Oe, Gr = () => te, Qr = () => we, Pe = (u, $) => {
1238
+ return v.length <= 1 || u >= v.length - 1 || te ? dr() : ($ = Mt(v[u + 1].percent)) != null ? $ : "";
1239
+ }, dn = () => v.map((u) => u.percent), pn = () => v.map((u) => Mt(u.percent)), fn = () => v.map((u) => u.$pointer), gn = () => D, yn = () => ee, Hr = () => H, Fr = () => ce, zr = () => je, Wr = () => V, Yr = () => ue, Jo = (u) => sn[u], Xr = () => Ee, Vr = () => X, Kr = () => ge, Jr = () => ke, Zr = () => Oe, Gr = () => te, Qr = () => we, Pe = (u, $) => {
1240
1240
  if ($ === void 0)
1241
1241
  return;
1242
- let q = cr($);
1243
- q !== void 0 && ($ = Ie($, q));
1242
+ let q = hr($);
1243
+ q !== void 0 && ($ = Ne($, q));
1244
1244
  let he = v[u];
1245
1245
  if (!he)
1246
1246
  return;
1247
- let ye = he.updatePosition($, Wo(u), Yo(u), ce, Ee, X);
1247
+ let ye = he.updatePosition($, Yo(u), Xo(u), ce, Ee, X);
1248
1248
  Y?.updatePosition(ce, v.map((le) => le.percent), Ee, X), ft();
1249
1249
  for (let le of v) {
1250
- let qe = Mt(le.percent);
1251
- qe !== void 0 && (le.setAttr("aria-valuenow", qe.toString()), le.setAttr("aria-valuetext", qe.toString()));
1250
+ let Ie = Mt(le.percent);
1251
+ Ie !== void 0 && (le.setAttr("aria-valuenow", Ie.toString()), le.setAttr("aria-valuetext", Ie.toString()));
1252
1252
  }
1253
- Zo(), ye && lo(c, v.map((le) => Mt(le.percent)));
1253
+ Go(), ye && co(c, v.map((le) => Mt(le.percent)));
1254
1254
  }, Fe = () => {
1255
1255
  for (let u = 0; u < v.length; u++)
1256
1256
  Pe(u, v[u].percent);
1257
- }, Jo = (u, $) => {
1258
- D = H !== void 0 ? 0 : ne(u, qr), ee = H !== void 0 ? H.length - 1 : ne($, Ht), dr(D), pr(ee);
1259
- }, Zo = () => {
1257
+ }, Zo = (u, $) => {
1258
+ D = H !== void 0 ? 0 : ne(u, qr), ee = H !== void 0 ? H.length - 1 : ne($, Ft), pr(D), fr(ee);
1259
+ }, Go = () => {
1260
1260
  var u, $;
1261
1261
  for (let q = 0; q < v.length; q++) {
1262
1262
  let he = v[q];
1263
- he.setAttr("aria-valuemin", ((u = Xo(q)) != null ? u : "").toString()), he.setAttr("aria-valuemax", (($ = Vo(q)) != null ? $ : "").toString());
1263
+ he.setAttr("aria-valuemin", ((u = Vo(q)) != null ? u : "").toString()), he.setAttr("aria-valuemax", (($ = Ko(q)) != null ? $ : "").toString());
1264
1264
  }
1265
- }, dr = (u) => {
1266
- D = ne(u, qr), D > ee && (ee = D + Ht), Fe();
1267
1265
  }, pr = (u) => {
1268
- ee = ne(u, Ht), ee < D && (ee = D + Ht), Fe();
1269
- }, gn = (u) => {
1266
+ D = ne(u, qr), D > ee && (ee = D + Ft), Fe();
1267
+ }, fr = (u) => {
1268
+ ee = ne(u, Ft), ee < D && (ee = D + Ft), Fe();
1269
+ }, mn = (u) => {
1270
1270
  te = !0;
1271
1271
  for (let $ = 0; $ < u.length; $++)
1272
- fr(u[$], $);
1272
+ gr(u[$], $);
1273
1273
  te = !1;
1274
1274
  for (let $ = 0; $ < u.length; $++)
1275
- fr(u[$], $);
1276
- }, fr = (u, $) => {
1275
+ gr(u[$], $);
1276
+ }, gr = (u, $) => {
1277
1277
  let q;
1278
- H !== void 0 ? (q = u == null ? 0 : ho(u, H), q === -1 && (q = 0)) : (q = ne(u, D), q < D && (q = D), q > ee && (q = ee));
1279
- let he = Ze(D, ee, 0, 100, q);
1278
+ H !== void 0 ? (q = u == null ? 0 : uo(u, H), q === -1 && (q = 0)) : (q = ne(u, D), q < D && (q = D), q > ee && (q = ee));
1279
+ let he = Ge(D, ee, 0, 100, q);
1280
1280
  Pe($, he);
1281
- }, gr = (u) => {
1281
+ }, yr = (u) => {
1282
1282
  if (u == null) {
1283
1283
  se = void 0;
1284
1284
  return;
@@ -1302,20 +1302,20 @@ const ms = Symbol.for(""), $a = (t) => {
1302
1302
  (!$e(u) || u < 0) && (u = 1 / 0), ue = u;
1303
1303
  }, ii = (u) => {
1304
1304
  ge = u, d.classList.toggle("disabled", ge), ge ? d.setAttribute("aria-disabled", "true") : d.hasAttribute("aria-disabled") && d.removeAttribute("aria-disabled");
1305
- }, yn = (u) => {
1305
+ }, vn = (u) => {
1306
1306
  ke = u;
1307
- }, mn = (u) => {
1308
- Oe = u, Oe ? document.removeEventListener("wheel", lr) : document.addEventListener("wheel", lr, { passive: !1 });
1307
+ }, bn = (u) => {
1308
+ Oe = u, Oe ? document.removeEventListener("wheel", cr) : document.addEventListener("wheel", cr, { passive: !1 });
1309
1309
  }, ni = (u) => {
1310
1310
  if (u == null) {
1311
1311
  H = void 0;
1312
1312
  return;
1313
1313
  }
1314
- if (H = co(u), H === void 0 || H.length <= 0) {
1314
+ if (H = ho(u), H === void 0 || H.length <= 0) {
1315
1315
  H = void 0;
1316
1316
  return;
1317
1317
  }
1318
- dr(0), pr(H.length - 1), se === void 0 && gr(1);
1318
+ pr(0), fr(H.length - 1), se === void 0 && yr(1);
1319
1319
  }, si = (u) => {
1320
1320
  var $;
1321
1321
  typeof u == "string" ? ce = u.trim().toLowerCase() === xe ? xe : Ae : ce = Ae;
@@ -1327,50 +1327,50 @@ const ms = Symbol.for(""), $a = (t) => {
1327
1327
  for (let ye of v)
1328
1328
  ye.setAttr("aria-orientation", he);
1329
1329
  }, oi = (u) => {
1330
- Ee = u, v.length > 1 && en(v, Ee, c), Fe(), ft();
1330
+ Ee = u, v.length > 1 && rn(v, Ee, c), Fe(), ft();
1331
1331
  }, ai = (u) => {
1332
- X = u, v.length > 1 && en(v, X, c), Fe(), ft();
1332
+ X = u, v.length > 1 && rn(v, X, c), Fe(), ft();
1333
1333
  }, li = (u) => {
1334
1334
  je = ne(u, St), je < 0 && (je = St), ft();
1335
- }, vn = (u) => {
1336
- u == null || u.toString().trim().toLowerCase() === "false" ? (st = void 0, d.style.removeProperty(Ki), d.classList.remove(Et)) : (st = u.toString(), d.style.setProperty(Ki, st), d.classList.add(Et));
1337
- }, bn = (u, $) => {
1335
+ }, xn = (u) => {
1336
+ u == null || u.toString().trim().toLowerCase() === "false" ? (st = void 0, d.style.removeProperty(Zi), d.classList.remove(Et)) : (st = u.toString(), d.style.setProperty(Zi, st), d.classList.add(Et));
1337
+ }, wn = (u, $) => {
1338
1338
  let q = v[u];
1339
- !q || (q.setAttr("aria-label", $), rn[u] = $);
1340
- }, yr = (u) => {
1339
+ !q || (q.setAttr("aria-label", $), sn[u] = $);
1340
+ }, mr = (u) => {
1341
1341
  if (be = void 0, v.length <= 1) {
1342
- we = !1, d.classList.remove(Zi);
1342
+ we = !1, d.classList.remove(Qi);
1343
1343
  return;
1344
1344
  }
1345
- we = u, d.classList.toggle(Zi, we);
1346
- }, Go = () => {
1345
+ we = u, d.classList.toggle(Qi, we);
1346
+ }, Qo = () => {
1347
1347
  ii(pe(c.getAttribute(y))), ke = pe(c.getAttribute(w)), Oe = pe(c.getAttribute(E));
1348
- let u = or(c, /^pointer([0-9]*)-disabled$/, ($) => pe($));
1348
+ let u = ar(c, /^pointer([0-9]*)-disabled$/, ($) => pe($));
1349
1349
  for (let $ of u) {
1350
1350
  let q = $[0];
1351
1351
  !v[q] || (v[q].disabled = $[1]);
1352
1352
  }
1353
- }, Qo = () => {
1354
- let u = or(c, /^aria-label([0-9]*)$/);
1353
+ }, ea = () => {
1354
+ let u = ar(c, /^aria-label([0-9]*)$/);
1355
1355
  for (let $ of u) {
1356
1356
  let q = $[0];
1357
- bn(q, $[1]);
1357
+ wn(q, $[1]);
1358
1358
  }
1359
- }, ea = (u) => {
1359
+ }, ta = (u) => {
1360
1360
  let $ = v.length, q = v[$ - 1].$pointer, he = q.cloneNode(!0);
1361
1361
  q.after(he);
1362
1362
  let ye = Ir(c, he, $);
1363
- return ye.setCallbacks(on, an, ln, cn), v.push(ye), fr(u, $), Fe(), ft(), $;
1364
- }, ta = () => {
1363
+ return ye.setCallbacks(ln, cn, hn, un), v.push(ye), gr(u, $), Fe(), ft(), $;
1364
+ }, ra = () => {
1365
1365
  let u = v.length, $ = v[u - 1];
1366
- return $ ? ($.destroy(), v.pop(), v.length <= 1 && yr(!1), Fe(), ft(), u - 1) : -1;
1366
+ return $ ? ($.destroy(), v.pop(), v.length <= 1 && mr(!1), Fe(), ft(), u - 1) : -1;
1367
1367
  };
1368
1368
  return (() => {
1369
1369
  var u, $;
1370
1370
  for (let he of v)
1371
- he.setCallbacks(on, an, ln, cn);
1371
+ he.setCallbacks(ln, cn, hn, un);
1372
1372
  let q = (u = c.shadowRoot) == null ? void 0 : u.querySelector(".panel-fill");
1373
- q && (Y = uo(q)), si(c.getAttribute(k)), oi(pe(c.getAttribute(I))), ai(pe(c.getAttribute(f))), Jo(c.getAttribute(g), c.getAttribute(b)), gr(c.getAttribute(m)), ni(c.getAttribute(p)), gn(x.map((he) => he[1])), ei(pe(c.getAttribute(o))), ti(ne(c.getAttribute(l), 0)), ri(ne(c.getAttribute(a), 1 / 0)), yr(pe(c.getAttribute(h))), li(ne(c.getAttribute(_), St)), Go(), Qo(), Q = Co(c, d, v), vn(($ = c.getAttribute(ve)) != null ? $ : tn), d.addEventListener("mousedown", nn), d.addEventListener("mouseup", ar), d.addEventListener("touchmove", pt), d.addEventListener("touchstart", pt), Oe || document.addEventListener("wheel", lr, { passive: !1 }), j = Ro(c, zo, { setValues: gn, setMin: dr, setMax: pr, setStep: gr, setPointersOverlap: ei, setPointersMinDistance: ti, setPointersMaxDistance: ri, setDisabled: ii, setType: si, setRightToLeft: oi, setBottomToTop: ai, setRound: li, setKeyboardDisabled: yn, setMousewheelDisabled: mn, setRangeDragging: yr, setData: ni }, { getPercents: hn, getValues: un, getPointerElements: dn, getMin: pn, getMax: fn, getStep: Ur, getData: Hr, getType: Fr, getRound: zr, getTextMin: hr, getTextMax: ur, isRightToLeft: Xr, isBottomToTop: Vr, isDisabled: Kr, isKeyboardDisabled: Jr, isMousewheelDisabled: Zr, isPointersOverlap: Gr, isRangeDraggingEnabled: Qr, getPointersMinDistance: Wr, getPointersMaxDistance: Yr }), j.init();
1373
+ q && (Y = po(q)), si(c.getAttribute(k)), oi(pe(c.getAttribute(I))), ai(pe(c.getAttribute(f))), Zo(c.getAttribute(g), c.getAttribute(b)), yr(c.getAttribute(m)), ni(c.getAttribute(p)), mn(x.map((he) => he[1])), ei(pe(c.getAttribute(o))), ti(ne(c.getAttribute(l), 0)), ri(ne(c.getAttribute(a), 1 / 0)), mr(pe(c.getAttribute(h))), li(ne(c.getAttribute(_), St)), Qo(), ea(), Q = Ro(c, d, v), xn(($ = c.getAttribute(ve)) != null ? $ : nn), d.addEventListener("mousedown", on), d.addEventListener("mouseup", lr), d.addEventListener("touchmove", pt), d.addEventListener("touchstart", pt), Oe || document.addEventListener("wheel", cr, { passive: !1 }), j = jo(c, Wo, { setValues: mn, setMin: pr, setMax: fr, setStep: yr, setPointersOverlap: ei, setPointersMinDistance: ti, setPointersMaxDistance: ri, setDisabled: ii, setType: si, setRightToLeft: oi, setBottomToTop: ai, setRound: li, setKeyboardDisabled: vn, setMousewheelDisabled: bn, setRangeDragging: mr, setData: ni }, { getPercents: dn, getValues: pn, getPointerElements: fn, getMin: gn, getMax: yn, getStep: Ur, getData: Hr, getType: Fr, getRound: zr, getTextMin: ur, getTextMax: dr, isRightToLeft: Xr, isBottomToTop: Vr, isDisabled: Kr, isKeyboardDisabled: Jr, isMousewheelDisabled: Zr, isPointersOverlap: Gr, isRangeDraggingEnabled: Qr, getPointersMinDistance: Wr, getPointersMaxDistance: Yr }), j.init();
1374
1374
  })(), { get pointers() {
1375
1375
  return v;
1376
1376
  }, get styles() {
@@ -1378,9 +1378,9 @@ const ms = Symbol.for(""), $a = (t) => {
1378
1378
  }, get pluginsManager() {
1379
1379
  return j;
1380
1380
  }, get min() {
1381
- return hr();
1382
- }, get max() {
1383
1381
  return ur();
1382
+ }, get max() {
1383
+ return dr();
1384
1384
  }, get step() {
1385
1385
  return Ur();
1386
1386
  }, get pointersOverlap() {
@@ -1420,27 +1420,27 @@ const ms = Symbol.for(""), $a = (t) => {
1420
1420
  }, get animateOnClick() {
1421
1421
  return st;
1422
1422
  }, set animateOnClick(u) {
1423
- vn(u);
1423
+ xn(u);
1424
1424
  }, get keyboardDisabled() {
1425
1425
  return Jr();
1426
1426
  }, set keyboardDisabled(u) {
1427
- yn(u);
1427
+ vn(u);
1428
1428
  }, get mousewheelDisabled() {
1429
1429
  return Zr();
1430
1430
  }, set mousewheelDisabled(u) {
1431
- mn(u);
1431
+ bn(u);
1432
1432
  }, get rangeDragging() {
1433
1433
  return Qr();
1434
1434
  }, set rangeDragging(u) {
1435
- yr(u);
1436
- }, setMin: dr, setMax: pr, setValue: fr, setStep: gr, setData: ni, getTextValue: Mt, setAriaLabel: bn, getAriaLabel: Ko, addPointer: ea, removePointer: ta, destroy: () => {
1437
- d.removeEventListener("mousedown", nn), d.removeEventListener("mouseup", ar), d.removeEventListener("touchmove", pt), d.removeEventListener("touchstart", pt), document.removeEventListener("wheel", lr);
1435
+ mr(u);
1436
+ }, setMin: pr, setMax: fr, setValue: gr, setStep: yr, setData: ni, getTextValue: Mt, setAriaLabel: wn, getAriaLabel: Jo, addPointer: ta, removePointer: ra, destroy: () => {
1437
+ d.removeEventListener("mousedown", on), d.removeEventListener("mouseup", lr), d.removeEventListener("touchmove", pt), d.removeEventListener("touchstart", pt), document.removeEventListener("wheel", cr);
1438
1438
  for (let u of v)
1439
1439
  u.destroy();
1440
1440
  j?.destroy();
1441
1441
  } };
1442
- }, qo = (c, d, x) => {
1443
- let v = Ji.find(([j, D, ee, se]) => D.replace("#", "") === d.replace(/\d+/g, ""));
1442
+ }, Bo = (c, d, x) => {
1443
+ let v = Gi.find(([j, D, ee, se]) => D.replace("#", "") === d.replace(/\d+/g, ""));
1444
1444
  if (v && c.styles) {
1445
1445
  let [j, D, ee, se] = v, H = d.replace(/\D/g, "").trim(), ce = H === "" || H === "0" || H === "1" ? 0 : ne(H, 0) - 1;
1446
1446
  c.styles.setStyle(j, x, ce);
@@ -1541,7 +1541,7 @@ const ms = Symbol.for(""), $a = (t) => {
1541
1541
  break;
1542
1542
  }
1543
1543
  }
1544
- }, Bo = class extends HTMLElement {
1544
+ }, Uo = class extends HTMLElement {
1545
1545
  constructor() {
1546
1546
  super(), i(this, "slider"), i(this, "_externalCSSList", []), i(this, "_observer", null), this.attachShadow({ mode: "open" });
1547
1547
  }
@@ -1675,7 +1675,7 @@ const ms = Symbol.for(""), $a = (t) => {
1675
1675
  if (!this.slider)
1676
1676
  return;
1677
1677
  let v = (x = (d = this.slider) == null ? void 0 : d.addPointer(c)) != null ? x : 0;
1678
- Qi(this, this.slider, v, `value${v + 1}`, `ariaLabel${v + 1}`, `pointerShape${v + 1}`, `pointer${v + 1}Disabled`);
1678
+ tn(this, this.slider, v, `value${v + 1}`, `ariaLabel${v + 1}`, `pointerShape${v + 1}`, `pointer${v + 1}Disabled`);
1679
1679
  }
1680
1680
  removePointer() {
1681
1681
  var c;
@@ -1691,36 +1691,36 @@ const ms = Symbol.for(""), $a = (t) => {
1691
1691
  var c, d;
1692
1692
  if (!this.shadowRoot)
1693
1693
  return;
1694
- this._externalCSSList = Lo(this), this.shadowRoot.innerHTML = n(s, this._externalCSSList);
1694
+ this._externalCSSList = Co(this), this.shadowRoot.innerHTML = n(s, this._externalCSSList);
1695
1695
  let x = (c = this.shadowRoot) == null ? void 0 : c.querySelector(".pointer");
1696
1696
  if (!x)
1697
1697
  return;
1698
1698
  let v = (d = this.shadowRoot) == null ? void 0 : d.getElementById("range-slider");
1699
1699
  if (!v)
1700
1700
  return;
1701
- let R = To(this, x);
1702
- this.slider = Io(this, v, R), Do(this, this.slider), this._observer = new MutationObserver((Y) => {
1701
+ let R = Do(this, x);
1702
+ this.slider = qo(this, v, R), No(this, this.slider), this._observer = new MutationObserver((Y) => {
1703
1703
  Y.forEach((Q) => {
1704
1704
  var j;
1705
1705
  if (!this.slider || Q.type !== "attributes")
1706
1706
  return;
1707
1707
  let D = Q.attributeName;
1708
- !D || qo(this.slider, D, (j = this.getAttribute(D)) != null ? j : "");
1708
+ !D || Bo(this.slider, D, (j = this.getAttribute(D)) != null ? j : "");
1709
1709
  });
1710
1710
  }), this._observer.observe(this, { attributes: !0 });
1711
1711
  }
1712
1712
  disconnectedCallback() {
1713
1713
  this._observer && this._observer.disconnect(), this.slider && this.slider.destroy();
1714
1714
  }
1715
- }, Br = Bo;
1715
+ }, Br = Uo;
1716
1716
  window.tcRangeSlider = Br, customElements.get("toolcool-range-slider") || customElements.define("toolcool-range-slider", Br), customElements.get("tc-range-slider") || customElements.define("tc-range-slider", class extends Br {
1717
1717
  });
1718
1718
  })();
1719
1719
  var Pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
1720
- function Li(t) {
1720
+ function Ci(t) {
1721
1721
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1722
1722
  }
1723
- function Ci(t) {
1723
+ function Ri(t) {
1724
1724
  if (t.__esModule)
1725
1725
  return t;
1726
1726
  var e = t.default;
@@ -1741,7 +1741,7 @@ function Ci(t) {
1741
1741
  });
1742
1742
  }), r;
1743
1743
  }
1744
- var vs = { exports: {} };
1744
+ var xs = { exports: {} };
1745
1745
  (function(t, e) {
1746
1746
  (function(r, i) {
1747
1747
  t.exports = i();
@@ -1839,8 +1839,8 @@ var vs = { exports: {} };
1839
1839
  return this.$d.getTime();
1840
1840
  }, O.startOf = function(A, N) {
1841
1841
  var P = this, K = !!T.u(N) || N, W = T.p(A), oe = function($e, ne) {
1842
- var Ie = T.w(P.$u ? Date.UTC(P.$y, ne, $e) : new Date(P.$y, ne, $e), P);
1843
- return K ? Ie : Ie.endOf(h);
1842
+ var Ne = T.w(P.$u ? Date.UTC(P.$y, ne, $e) : new Date(P.$y, ne, $e), P);
1843
+ return K ? Ne : Ne.endOf(h);
1844
1844
  }, ie = function($e, ne) {
1845
1845
  return T.w(P.toDate()[$e].apply(P.toDate("s"), (K ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(ne)), P);
1846
1846
  }, me = this.$W, ve = this.$M, Me = this.$D, xe = "set" + (this.$u ? "UTC" : "");
@@ -1850,8 +1850,8 @@ var vs = { exports: {} };
1850
1850
  case g:
1851
1851
  return K ? oe(1, ve) : oe(0, ve + 1);
1852
1852
  case p:
1853
- var Ae = this.$locale().weekStart || 0, Ze = (me < Ae ? me + 7 : me) - Ae;
1854
- return oe(K ? Me - Ze : Me + (6 - Ze), ve);
1853
+ var Ae = this.$locale().weekStart || 0, Ge = (me < Ae ? me + 7 : me) - Ae;
1854
+ return oe(K ? Me - Ge : Me + (6 - Ge), ve);
1855
1855
  case h:
1856
1856
  case _:
1857
1857
  return ie(xe + "Hours", 0);
@@ -1901,16 +1901,16 @@ var vs = { exports: {} };
1901
1901
  var N = this, P = this.$locale();
1902
1902
  if (!this.isValid())
1903
1903
  return P.invalidDate || k;
1904
- var K = A || "YYYY-MM-DDTHH:mm:ssZ", W = T.z(this), oe = this.$H, ie = this.$m, me = this.$M, ve = P.weekdays, Me = P.months, xe = P.meridiem, Ae = function(ne, Ie, dt, pe) {
1905
- return ne && (ne[Ie] || ne(N, K)) || dt[Ie].slice(0, pe);
1906
- }, Ze = function(ne) {
1904
+ var K = A || "YYYY-MM-DDTHH:mm:ssZ", W = T.z(this), oe = this.$H, ie = this.$m, me = this.$M, ve = P.weekdays, Me = P.months, xe = P.meridiem, Ae = function(ne, Ne, dt, pe) {
1905
+ return ne && (ne[Ne] || ne(N, K)) || dt[Ne].slice(0, pe);
1906
+ }, Ge = function(ne) {
1907
1907
  return T.s(oe % 12 || 12, ne, "0");
1908
- }, $e = xe || function(ne, Ie, dt) {
1908
+ }, $e = xe || function(ne, Ne, dt) {
1909
1909
  var pe = ne < 12 ? "AM" : "PM";
1910
1910
  return dt ? pe.toLowerCase() : pe;
1911
1911
  };
1912
- return K.replace(I, function(ne, Ie) {
1913
- return Ie || function(dt) {
1912
+ return K.replace(I, function(ne, Ne) {
1913
+ return Ne || function(dt) {
1914
1914
  switch (dt) {
1915
1915
  case "YY":
1916
1916
  return String(N.$y).slice(-2);
@@ -1941,9 +1941,9 @@ var vs = { exports: {} };
1941
1941
  case "HH":
1942
1942
  return T.s(oe, 2, "0");
1943
1943
  case "h":
1944
- return Ze(1);
1944
+ return Ge(1);
1945
1945
  case "hh":
1946
- return Ze(2);
1946
+ return Ge(2);
1947
1947
  case "a":
1948
1948
  return $e(oe, ie, !0);
1949
1949
  case "A":
@@ -2030,10 +2030,10 @@ var vs = { exports: {} };
2030
2030
  return U(1e3 * C);
2031
2031
  }, U.en = S[E], U.Ls = S, U.p = {}, U;
2032
2032
  });
2033
- })(vs);
2034
- var Ea = vs.exports;
2035
- const Lt = /* @__PURE__ */ Li(Ea);
2036
- class Sa extends _e {
2033
+ })(xs);
2034
+ var Sa = xs.exports;
2035
+ const Lt = /* @__PURE__ */ Ci(Sa);
2036
+ class Ma extends _e {
2037
2037
  constructor() {
2038
2038
  super(...arguments), this.templates = {}, this._renderedTemplates = {};
2039
2039
  }
@@ -2150,7 +2150,7 @@ class Sa extends _e {
2150
2150
  this.templates = this.getTemplates();
2151
2151
  }
2152
2152
  }
2153
- const Ri = `
2153
+ const ji = `
2154
2154
  :host {
2155
2155
  display: flex;
2156
2156
  box-sizing: border-box;
@@ -2172,7 +2172,7 @@ form#itemfilter {
2172
2172
  details {
2173
2173
  width: 100%;
2174
2174
  }
2175
- `, ji = `
2175
+ `, Ti = `
2176
2176
  button,
2177
2177
  .button {
2178
2178
  /* TODO: why does this only work here and not from :root? */
@@ -2218,6 +2218,11 @@ button[disabled],
2218
2218
  cursor: not-allowed;
2219
2219
  }
2220
2220
 
2221
+ button.block,
2222
+ .button.block {
2223
+ display: block;
2224
+ }
2225
+
2221
2226
  button.outline,
2222
2227
  .button.outline {
2223
2228
  background: transparent;
@@ -2248,6 +2253,11 @@ button.icon-text,
2248
2253
  text-indent: 26px;
2249
2254
  }
2250
2255
 
2256
+ button.icon-text.block,
2257
+ .button.icon-text.block {
2258
+ text-indent: 20px;
2259
+ }
2260
+
2251
2261
  button.icon:before, button.icon-text:before,
2252
2262
  .button.icon:before, .button.icon-text:before {
2253
2263
  position: absolute;
@@ -2255,6 +2265,11 @@ button.icon:before, button.icon-text:before,
2255
2265
  line-height: initial;
2256
2266
  }
2257
2267
 
2268
+ button.icon-text.block:before,
2269
+ .button.icon-text.block:before {
2270
+ text-indent: -54px;
2271
+ }
2272
+
2258
2273
  button.icon:before,
2259
2274
  .button.icon:before {
2260
2275
  width: 24px;
@@ -2281,7 +2296,7 @@ button.smallest.icon::before {
2281
2296
  width: 16px;
2282
2297
  padding: 0px;
2283
2298
  }
2284
- `, Ma = `
2299
+ `, Aa = `
2285
2300
  input[type=checkbox] {
2286
2301
  appearance: none;
2287
2302
  -webkit-appearance: none;
@@ -2304,7 +2319,7 @@ input[type=checkbox]:checked:after {
2304
2319
  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");
2305
2320
 
2306
2321
  }
2307
- `, Aa = `
2322
+ `, ka = `
2308
2323
  input[type=radio] {
2309
2324
  appearance: none;
2310
2325
  -webkit-appearance: none;
@@ -2332,7 +2347,7 @@ input[type=radio]:checked:after {
2332
2347
  content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");
2333
2348
 
2334
2349
  }
2335
- `, ka = `
2350
+ `, Oa = `
2336
2351
  input[type="range"] {
2337
2352
  -webkit-appearance: none;
2338
2353
  width: 90%;
@@ -2409,15 +2424,15 @@ input[type="range"]:focus::-webkit-slider-thumb {
2409
2424
  input::-moz-focus-inner, input::-moz-focus-outer {
2410
2425
  border: 0;
2411
2426
  }
2412
- `, Ti = `
2427
+ `, Di = `
2413
2428
  * {
2414
2429
  font-family: Roboto, sans-serif;
2415
2430
  }
2416
2431
 
2417
- ${ji}
2418
- ${Ma}
2432
+ ${Ti}
2419
2433
  ${Aa}
2420
2434
  ${ka}
2435
+ ${Oa}
2421
2436
 
2422
2437
  ul {
2423
2438
  padding-left: 0;
@@ -2574,12 +2589,12 @@ eox-itemfilter-expandcontainer button.reset-icon:before {
2574
2589
  width: 16px;
2575
2590
  }
2576
2591
  `;
2577
- var Oa = Object.defineProperty, Pa = Object.getOwnPropertyDescriptor, Di = (t, e, r, i) => {
2578
- for (var n = i > 1 ? void 0 : i ? Pa(e, r) : e, s = t.length - 1, o; s >= 0; s--)
2592
+ var Pa = Object.defineProperty, La = Object.getOwnPropertyDescriptor, Ni = (t, e, r, i) => {
2593
+ for (var n = i > 1 ? void 0 : i ? La(e, r) : e, s = t.length - 1, o; s >= 0; s--)
2579
2594
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
2580
- return i && n && Oa(e, r, n), n;
2595
+ return i && n && Pa(e, r, n), n;
2581
2596
  };
2582
- let Sr = class extends _e {
2597
+ let Mr = class extends _e {
2583
2598
  handleDetailsToggle(t) {
2584
2599
  this.dispatchEvent(
2585
2600
  new CustomEvent("details-toggled", {
@@ -2595,8 +2610,8 @@ let Sr = class extends _e {
2595
2610
  render() {
2596
2611
  return F`
2597
2612
  <style>
2598
- ${Ri}
2599
- ${!this.unstyled && Ti}
2613
+ ${ji}
2614
+ ${!this.unstyled && Di}
2600
2615
  </style>
2601
2616
  <details
2602
2617
  @toggle="${this.handleDetailsToggle}"
@@ -2620,15 +2635,15 @@ let Sr = class extends _e {
2620
2635
  `;
2621
2636
  }
2622
2637
  };
2623
- Di([
2638
+ Ni([
2624
2639
  G({ attribute: !1 })
2625
- ], Sr.prototype, "filterObject", 2);
2626
- Di([
2640
+ ], Mr.prototype, "filterObject", 2);
2641
+ Ni([
2627
2642
  G()
2628
- ], Sr.prototype, "unstyled", 2);
2629
- Sr = Di([
2643
+ ], Mr.prototype, "unstyled", 2);
2644
+ Mr = Ni([
2630
2645
  Re("eox-itemfilter-expandcontainer")
2631
- ], Sr);
2646
+ ], Mr);
2632
2647
  const qt = (t) => {
2633
2648
  if (!t.dirty)
2634
2649
  return null;
@@ -2654,29 +2669,29 @@ const qt = (t) => {
2654
2669
  break;
2655
2670
  }
2656
2671
  return delete t.stringifiedState, delete t.dirty, t;
2657
- }, fi = Math.min, Ct = Math.max, Mr = Math.round, vr = Math.floor, at = (t) => ({
2672
+ }, gi = Math.min, Ct = Math.max, Ar = Math.round, br = Math.floor, at = (t) => ({
2658
2673
  x: t,
2659
2674
  y: t
2660
2675
  });
2661
- function bs(t) {
2676
+ function ws(t) {
2662
2677
  return t.split("-")[0];
2663
2678
  }
2664
- function La(t) {
2679
+ function Ca(t) {
2665
2680
  return t.split("-")[1];
2666
2681
  }
2667
- function Ca(t) {
2682
+ function Ra(t) {
2668
2683
  return t === "x" ? "y" : "x";
2669
2684
  }
2670
- function Ra(t) {
2685
+ function ja(t) {
2671
2686
  return t === "y" ? "height" : "width";
2672
2687
  }
2673
- function xs(t) {
2674
- return ["top", "bottom"].includes(bs(t)) ? "y" : "x";
2688
+ function $s(t) {
2689
+ return ["top", "bottom"].includes(ws(t)) ? "y" : "x";
2675
2690
  }
2676
- function ja(t) {
2677
- return Ca(xs(t));
2691
+ function Ta(t) {
2692
+ return Ra($s(t));
2678
2693
  }
2679
- function ws(t) {
2694
+ function _s(t) {
2680
2695
  return {
2681
2696
  ...t,
2682
2697
  top: t.y,
@@ -2685,12 +2700,12 @@ function ws(t) {
2685
2700
  bottom: t.y + t.height
2686
2701
  };
2687
2702
  }
2688
- function In(t, e, r) {
2703
+ function Bn(t, e, r) {
2689
2704
  let {
2690
2705
  reference: i,
2691
2706
  floating: n
2692
2707
  } = t;
2693
- const s = xs(e), o = ja(e), l = Ra(o), a = bs(e), h = s === "y", p = i.x + i.width / 2 - n.width / 2, g = i.y + i.height / 2 - n.height / 2, b = i[l] / 2 - n[l] / 2;
2708
+ const s = $s(e), o = Ta(e), l = ja(o), a = ws(e), h = s === "y", p = i.x + i.width / 2 - n.width / 2, g = i.y + i.height / 2 - n.height / 2, b = i[l] / 2 - n[l] / 2;
2694
2709
  let m;
2695
2710
  switch (a) {
2696
2711
  case "top":
@@ -2723,7 +2738,7 @@ function In(t, e, r) {
2723
2738
  y: i.y
2724
2739
  };
2725
2740
  }
2726
- switch (La(e)) {
2741
+ switch (Ca(e)) {
2727
2742
  case "start":
2728
2743
  m[o] -= b * (r && h ? -1 : 1);
2729
2744
  break;
@@ -2733,7 +2748,7 @@ function In(t, e, r) {
2733
2748
  }
2734
2749
  return m;
2735
2750
  }
2736
- const Ta = async (t, e, r) => {
2751
+ const Da = async (t, e, r) => {
2737
2752
  const {
2738
2753
  placement: i = "bottom",
2739
2754
  strategy: n = "absolute",
@@ -2747,7 +2762,7 @@ const Ta = async (t, e, r) => {
2747
2762
  }), {
2748
2763
  x: p,
2749
2764
  y: g
2750
- } = In(h, i, a), b = i, m = {}, _ = 0;
2765
+ } = Bn(h, i, a), b = i, m = {}, _ = 0;
2751
2766
  for (let k = 0; k < l.length; k++) {
2752
2767
  const {
2753
2768
  name: z,
@@ -2784,7 +2799,7 @@ const Ta = async (t, e, r) => {
2784
2799
  }) : E.rects), {
2785
2800
  x: p,
2786
2801
  y: g
2787
- } = In(h, b, a)), k = -1);
2802
+ } = Bn(h, b, a)), k = -1);
2788
2803
  }
2789
2804
  return {
2790
2805
  x: p,
@@ -2794,8 +2809,8 @@ const Ta = async (t, e, r) => {
2794
2809
  middlewareData: m
2795
2810
  };
2796
2811
  };
2797
- function lt(t) {
2798
- return $s(t) ? (t.nodeName || "").toLowerCase() : "#document";
2812
+ function Bt(t) {
2813
+ return Es(t) ? (t.nodeName || "").toLowerCase() : "#document";
2799
2814
  }
2800
2815
  function Ce(t) {
2801
2816
  var e;
@@ -2803,56 +2818,56 @@ function Ce(t) {
2803
2818
  }
2804
2819
  function it(t) {
2805
2820
  var e;
2806
- return (e = ($s(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
2821
+ return (e = (Es(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : e.documentElement;
2807
2822
  }
2808
- function $s(t) {
2823
+ function Es(t) {
2809
2824
  return t instanceof Node || t instanceof Ce(t).Node;
2810
2825
  }
2811
- function Qe(t) {
2826
+ function Xe(t) {
2812
2827
  return t instanceof Element || t instanceof Ce(t).Element;
2813
2828
  }
2814
- function Xe(t) {
2829
+ function Ve(t) {
2815
2830
  return t instanceof HTMLElement || t instanceof Ce(t).HTMLElement;
2816
2831
  }
2817
- function qn(t) {
2832
+ function Un(t) {
2818
2833
  return typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Ce(t).ShadowRoot;
2819
2834
  }
2820
- function nr(t) {
2835
+ function sr(t) {
2821
2836
  const {
2822
2837
  overflow: e,
2823
2838
  overflowX: r,
2824
2839
  overflowY: i,
2825
2840
  display: n
2826
- } = De(t);
2841
+ } = Be(t);
2827
2842
  return /auto|scroll|overlay|hidden|clip/.test(e + i + r) && !["inline", "contents"].includes(n);
2828
2843
  }
2829
- function Da(t) {
2830
- return ["table", "td", "th"].includes(lt(t));
2844
+ function Na(t) {
2845
+ return ["table", "td", "th"].includes(Bt(t));
2831
2846
  }
2832
- function Ni(t) {
2833
- const e = Ii(), r = De(t);
2847
+ function Ii(t) {
2848
+ const e = qi(), r = Be(t);
2834
2849
  return r.transform !== "none" || r.perspective !== "none" || (r.containerType ? r.containerType !== "normal" : !1) || !e && (r.backdropFilter ? r.backdropFilter !== "none" : !1) || !e && (r.filter ? r.filter !== "none" : !1) || ["transform", "perspective", "filter"].some((i) => (r.willChange || "").includes(i)) || ["paint", "layout", "strict", "content"].some((i) => (r.contain || "").includes(i));
2835
2850
  }
2836
- function Na(t) {
2837
- let e = Tt(t);
2838
- for (; Xe(e) && !Cr(e); ) {
2839
- if (Ni(e))
2851
+ function Ia(t) {
2852
+ let e = lt(t);
2853
+ for (; Ve(e) && !Tt(e); ) {
2854
+ if (Ii(e))
2840
2855
  return e;
2841
- e = Tt(e);
2856
+ e = lt(e);
2842
2857
  }
2843
2858
  return null;
2844
2859
  }
2845
- function Ii() {
2860
+ function qi() {
2846
2861
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
2847
2862
  }
2848
- function Cr(t) {
2849
- return ["html", "body", "#document"].includes(lt(t));
2863
+ function Tt(t) {
2864
+ return ["html", "body", "#document"].includes(Bt(t));
2850
2865
  }
2851
- function De(t) {
2866
+ function Be(t) {
2852
2867
  return Ce(t).getComputedStyle(t);
2853
2868
  }
2854
2869
  function Rr(t) {
2855
- return Qe(t) ? {
2870
+ return Xe(t) ? {
2856
2871
  scrollLeft: t.scrollLeft,
2857
2872
  scrollTop: t.scrollTop
2858
2873
  } : {
@@ -2860,92 +2875,92 @@ function Rr(t) {
2860
2875
  scrollTop: t.pageYOffset
2861
2876
  };
2862
2877
  }
2863
- function Tt(t) {
2864
- if (lt(t) === "html")
2878
+ function lt(t) {
2879
+ if (Bt(t) === "html")
2865
2880
  return t;
2866
2881
  const e = (
2867
2882
  // Step into the shadow DOM of the parent of a slotted node.
2868
2883
  t.assignedSlot || // DOM Element detected.
2869
2884
  t.parentNode || // ShadowRoot detected.
2870
- qn(t) && t.host || // Fallback.
2885
+ Un(t) && t.host || // Fallback.
2871
2886
  it(t)
2872
2887
  );
2873
- return qn(e) ? e.host : e;
2888
+ return Un(e) ? e.host : e;
2874
2889
  }
2875
- function _s(t) {
2876
- const e = Tt(t);
2877
- return Cr(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Xe(e) && nr(e) ? e : _s(e);
2890
+ function Ss(t) {
2891
+ const e = lt(t);
2892
+ return Tt(e) ? t.ownerDocument ? t.ownerDocument.body : t.body : Ve(e) && sr(e) ? e : Ss(e);
2878
2893
  }
2879
- function Gt(t, e, r) {
2894
+ function Qt(t, e, r) {
2880
2895
  var i;
2881
2896
  e === void 0 && (e = []), r === void 0 && (r = !0);
2882
- const n = _s(t), s = n === ((i = t.ownerDocument) == null ? void 0 : i.body), o = Ce(n);
2883
- return s ? e.concat(o, o.visualViewport || [], nr(n) ? n : [], o.frameElement && r ? Gt(o.frameElement) : []) : e.concat(n, Gt(n, [], r));
2897
+ const n = Ss(t), s = n === ((i = t.ownerDocument) == null ? void 0 : i.body), o = Ce(n);
2898
+ return s ? e.concat(o, o.visualViewport || [], sr(n) ? n : [], o.frameElement && r ? Qt(o.frameElement) : []) : e.concat(n, Qt(n, [], r));
2884
2899
  }
2885
- function Es(t) {
2886
- const e = De(t);
2900
+ function Ms(t) {
2901
+ const e = Be(t);
2887
2902
  let r = parseFloat(e.width) || 0, i = parseFloat(e.height) || 0;
2888
- const n = Xe(t), s = n ? t.offsetWidth : r, o = n ? t.offsetHeight : i, l = Mr(r) !== s || Mr(i) !== o;
2903
+ const n = Ve(t), s = n ? t.offsetWidth : r, o = n ? t.offsetHeight : i, l = Ar(r) !== s || Ar(i) !== o;
2889
2904
  return l && (r = s, i = o), {
2890
2905
  width: r,
2891
2906
  height: i,
2892
2907
  $: l
2893
2908
  };
2894
2909
  }
2895
- function qi(t) {
2896
- return Qe(t) ? t : t.contextElement;
2910
+ function Bi(t) {
2911
+ return Xe(t) ? t : t.contextElement;
2897
2912
  }
2898
2913
  function Rt(t) {
2899
- const e = qi(t);
2900
- if (!Xe(e))
2914
+ const e = Bi(t);
2915
+ if (!Ve(e))
2901
2916
  return at(1);
2902
2917
  const r = e.getBoundingClientRect(), {
2903
2918
  width: i,
2904
2919
  height: n,
2905
2920
  $: s
2906
- } = Es(e);
2907
- let o = (s ? Mr(r.width) : r.width) / i, l = (s ? Mr(r.height) : r.height) / n;
2921
+ } = Ms(e);
2922
+ let o = (s ? Ar(r.width) : r.width) / i, l = (s ? Ar(r.height) : r.height) / n;
2908
2923
  return (!o || !Number.isFinite(o)) && (o = 1), (!l || !Number.isFinite(l)) && (l = 1), {
2909
2924
  x: o,
2910
2925
  y: l
2911
2926
  };
2912
2927
  }
2913
- const Ia = /* @__PURE__ */ at(0);
2914
- function Ss(t) {
2928
+ const qa = /* @__PURE__ */ at(0);
2929
+ function As(t) {
2915
2930
  const e = Ce(t);
2916
- return !Ii() || !e.visualViewport ? Ia : {
2931
+ return !qi() || !e.visualViewport ? qa : {
2917
2932
  x: e.visualViewport.offsetLeft,
2918
2933
  y: e.visualViewport.offsetTop
2919
2934
  };
2920
2935
  }
2921
- function qa(t, e, r) {
2936
+ function Ba(t, e, r) {
2922
2937
  return e === void 0 && (e = !1), !r || e && r !== Ce(t) ? !1 : e;
2923
2938
  }
2924
2939
  function wt(t, e, r, i) {
2925
2940
  e === void 0 && (e = !1), r === void 0 && (r = !1);
2926
- const n = t.getBoundingClientRect(), s = qi(t);
2941
+ const n = t.getBoundingClientRect(), s = Bi(t);
2927
2942
  let o = at(1);
2928
- e && (i ? Qe(i) && (o = Rt(i)) : o = Rt(t));
2929
- const l = qa(s, r, i) ? Ss(s) : at(0);
2943
+ e && (i ? Xe(i) && (o = Rt(i)) : o = Rt(t));
2944
+ const l = Ba(s, r, i) ? As(s) : at(0);
2930
2945
  let a = (n.left + l.x) / o.x, h = (n.top + l.y) / o.y, p = n.width / o.x, g = n.height / o.y;
2931
2946
  if (s) {
2932
- const b = Ce(s), m = i && Qe(i) ? Ce(i) : i;
2947
+ const b = Ce(s), m = i && Xe(i) ? Ce(i) : i;
2933
2948
  let _ = b, k = _.frameElement;
2934
2949
  for (; k && i && m !== _; ) {
2935
- const z = Rt(k), I = k.getBoundingClientRect(), f = De(k), y = I.left + (k.clientLeft + parseFloat(f.paddingLeft)) * z.x, w = I.top + (k.clientTop + parseFloat(f.paddingTop)) * z.y;
2950
+ const z = Rt(k), I = k.getBoundingClientRect(), f = Be(k), y = I.left + (k.clientLeft + parseFloat(f.paddingLeft)) * z.x, w = I.top + (k.clientTop + parseFloat(f.paddingTop)) * z.y;
2936
2951
  a *= z.x, h *= z.y, p *= z.x, g *= z.y, a += y, h += w, _ = Ce(k), k = _.frameElement;
2937
2952
  }
2938
2953
  }
2939
- return ws({
2954
+ return _s({
2940
2955
  width: p,
2941
2956
  height: g,
2942
2957
  x: a,
2943
2958
  y: h
2944
2959
  });
2945
2960
  }
2946
- const Ba = [":popover-open", ":modal"];
2947
- function Ms(t) {
2948
- return Ba.some((e) => {
2961
+ const Ua = [":popover-open", ":modal"];
2962
+ function Ui(t) {
2963
+ return Ua.some((e) => {
2949
2964
  try {
2950
2965
  return t.matches(e);
2951
2966
  } catch {
@@ -2953,22 +2968,22 @@ function Ms(t) {
2953
2968
  }
2954
2969
  });
2955
2970
  }
2956
- function Ua(t) {
2971
+ function Ha(t) {
2957
2972
  let {
2958
2973
  elements: e,
2959
2974
  rect: r,
2960
2975
  offsetParent: i,
2961
2976
  strategy: n
2962
2977
  } = t;
2963
- const s = n === "fixed", o = it(i), l = e ? Ms(e.floating) : !1;
2978
+ const s = n === "fixed", o = it(i), l = e ? Ui(e.floating) : !1;
2964
2979
  if (i === o || l && s)
2965
2980
  return r;
2966
2981
  let a = {
2967
2982
  scrollLeft: 0,
2968
2983
  scrollTop: 0
2969
2984
  }, h = at(1);
2970
- const p = at(0), g = Xe(i);
2971
- if ((g || !g && !s) && ((lt(i) !== "body" || nr(o)) && (a = Rr(i)), Xe(i))) {
2985
+ const p = at(0), g = Ve(i);
2986
+ if ((g || !g && !s) && ((Bt(i) !== "body" || sr(o)) && (a = Rr(i)), Ve(i))) {
2972
2987
  const b = wt(i);
2973
2988
  h = Rt(i), p.x = b.x + i.clientLeft, p.y = b.y + i.clientTop;
2974
2989
  }
@@ -2979,29 +2994,29 @@ function Ua(t) {
2979
2994
  y: r.y * h.y - a.scrollTop * h.y + p.y
2980
2995
  };
2981
2996
  }
2982
- function Ha(t) {
2997
+ function Fa(t) {
2983
2998
  return Array.from(t.getClientRects());
2984
2999
  }
2985
- function As(t) {
3000
+ function ks(t) {
2986
3001
  return wt(it(t)).left + Rr(t).scrollLeft;
2987
3002
  }
2988
- function Fa(t) {
3003
+ function za(t) {
2989
3004
  const e = it(t), r = Rr(t), i = t.ownerDocument.body, n = Ct(e.scrollWidth, e.clientWidth, i.scrollWidth, i.clientWidth), s = Ct(e.scrollHeight, e.clientHeight, i.scrollHeight, i.clientHeight);
2990
- let o = -r.scrollLeft + As(t);
3005
+ let o = -r.scrollLeft + ks(t);
2991
3006
  const l = -r.scrollTop;
2992
- return De(i).direction === "rtl" && (o += Ct(e.clientWidth, i.clientWidth) - n), {
3007
+ return Be(i).direction === "rtl" && (o += Ct(e.clientWidth, i.clientWidth) - n), {
2993
3008
  width: n,
2994
3009
  height: s,
2995
3010
  x: o,
2996
3011
  y: l
2997
3012
  };
2998
3013
  }
2999
- function za(t, e) {
3014
+ function Wa(t, e) {
3000
3015
  const r = Ce(t), i = it(t), n = r.visualViewport;
3001
3016
  let s = i.clientWidth, o = i.clientHeight, l = 0, a = 0;
3002
3017
  if (n) {
3003
3018
  s = n.width, o = n.height;
3004
- const h = Ii();
3019
+ const h = qi();
3005
3020
  (!h || h && e === "fixed") && (l = n.offsetLeft, a = n.offsetTop);
3006
3021
  }
3007
3022
  return {
@@ -3011,8 +3026,8 @@ function za(t, e) {
3011
3026
  y: a
3012
3027
  };
3013
3028
  }
3014
- function Wa(t, e) {
3015
- const r = wt(t, !0, e === "fixed"), i = r.top + t.clientTop, n = r.left + t.clientLeft, s = Xe(t) ? Rt(t) : at(1), o = t.clientWidth * s.x, l = t.clientHeight * s.y, a = n * s.x, h = i * s.y;
3029
+ function Ya(t, e) {
3030
+ const r = wt(t, !0, e === "fixed"), i = r.top + t.clientTop, n = r.left + t.clientLeft, s = Ve(t) ? Rt(t) : at(1), o = t.clientWidth * s.x, l = t.clientHeight * s.y, a = n * s.x, h = i * s.y;
3016
3031
  return {
3017
3032
  width: o,
3018
3033
  height: l,
@@ -3020,52 +3035,52 @@ function Wa(t, e) {
3020
3035
  y: h
3021
3036
  };
3022
3037
  }
3023
- function Bn(t, e, r) {
3038
+ function Hn(t, e, r) {
3024
3039
  let i;
3025
3040
  if (e === "viewport")
3026
- i = za(t, r);
3041
+ i = Wa(t, r);
3027
3042
  else if (e === "document")
3028
- i = Fa(it(t));
3029
- else if (Qe(e))
3030
- i = Wa(e, r);
3043
+ i = za(it(t));
3044
+ else if (Xe(e))
3045
+ i = Ya(e, r);
3031
3046
  else {
3032
- const n = Ss(t);
3047
+ const n = As(t);
3033
3048
  i = {
3034
3049
  ...e,
3035
3050
  x: e.x - n.x,
3036
3051
  y: e.y - n.y
3037
3052
  };
3038
3053
  }
3039
- return ws(i);
3054
+ return _s(i);
3040
3055
  }
3041
- function ks(t, e) {
3042
- const r = Tt(t);
3043
- return r === e || !Qe(r) || Cr(r) ? !1 : De(r).position === "fixed" || ks(r, e);
3056
+ function Os(t, e) {
3057
+ const r = lt(t);
3058
+ return r === e || !Xe(r) || Tt(r) ? !1 : Be(r).position === "fixed" || Os(r, e);
3044
3059
  }
3045
- function Ya(t, e) {
3060
+ function Xa(t, e) {
3046
3061
  const r = e.get(t);
3047
3062
  if (r)
3048
3063
  return r;
3049
- let i = Gt(t, [], !1).filter((l) => Qe(l) && lt(l) !== "body"), n = null;
3050
- const s = De(t).position === "fixed";
3051
- let o = s ? Tt(t) : t;
3052
- for (; Qe(o) && !Cr(o); ) {
3053
- const l = De(o), a = Ni(o);
3054
- !a && l.position === "fixed" && (n = null), (s ? !a && !n : !a && l.position === "static" && n && ["absolute", "fixed"].includes(n.position) || nr(o) && !a && ks(t, o)) ? i = i.filter((h) => h !== o) : n = l, o = Tt(o);
3064
+ let i = Qt(t, [], !1).filter((l) => Xe(l) && Bt(l) !== "body"), n = null;
3065
+ const s = Be(t).position === "fixed";
3066
+ let o = s ? lt(t) : t;
3067
+ for (; Xe(o) && !Tt(o); ) {
3068
+ const l = Be(o), a = Ii(o);
3069
+ !a && l.position === "fixed" && (n = null), (s ? !a && !n : !a && l.position === "static" && n && ["absolute", "fixed"].includes(n.position) || sr(o) && !a && Os(t, o)) ? i = i.filter((h) => h !== o) : n = l, o = lt(o);
3055
3070
  }
3056
3071
  return e.set(t, i), i;
3057
3072
  }
3058
- function Xa(t) {
3073
+ function Va(t) {
3059
3074
  let {
3060
3075
  element: e,
3061
3076
  boundary: r,
3062
3077
  rootBoundary: i,
3063
3078
  strategy: n
3064
3079
  } = t;
3065
- const s = [...r === "clippingAncestors" ? Ya(e, this._c) : [].concat(r), i], o = s[0], l = s.reduce((a, h) => {
3066
- const p = Bn(e, h, n);
3067
- return a.top = Ct(p.top, a.top), a.right = fi(p.right, a.right), a.bottom = fi(p.bottom, a.bottom), a.left = Ct(p.left, a.left), a;
3068
- }, Bn(e, o, n));
3080
+ const s = [...r === "clippingAncestors" ? Ui(e) ? [] : Xa(e, this._c) : [].concat(r), i], o = s[0], l = s.reduce((a, h) => {
3081
+ const p = Hn(e, h, n);
3082
+ return a.top = Ct(p.top, a.top), a.right = gi(p.right, a.right), a.bottom = gi(p.bottom, a.bottom), a.left = Ct(p.left, a.left), a;
3083
+ }, Hn(e, o, n));
3069
3084
  return {
3070
3085
  width: l.right - l.left,
3071
3086
  height: l.bottom - l.top,
@@ -3073,29 +3088,29 @@ function Xa(t) {
3073
3088
  y: l.top
3074
3089
  };
3075
3090
  }
3076
- function Va(t) {
3091
+ function Ka(t) {
3077
3092
  const {
3078
3093
  width: e,
3079
3094
  height: r
3080
- } = Es(t);
3095
+ } = Ms(t);
3081
3096
  return {
3082
3097
  width: e,
3083
3098
  height: r
3084
3099
  };
3085
3100
  }
3086
- function Ka(t, e, r) {
3087
- const i = Xe(e), n = it(e), s = r === "fixed", o = wt(t, !0, s, e);
3101
+ function Ja(t, e, r) {
3102
+ const i = Ve(e), n = it(e), s = r === "fixed", o = wt(t, !0, s, e);
3088
3103
  let l = {
3089
3104
  scrollLeft: 0,
3090
3105
  scrollTop: 0
3091
3106
  };
3092
3107
  const a = at(0);
3093
3108
  if (i || !i && !s)
3094
- if ((lt(e) !== "body" || nr(n)) && (l = Rr(e)), i) {
3109
+ if ((Bt(e) !== "body" || sr(n)) && (l = Rr(e)), i) {
3095
3110
  const g = wt(e, !0, s, e);
3096
3111
  a.x = g.x + e.clientLeft, a.y = g.y + e.clientTop;
3097
3112
  } else
3098
- n && (a.x = As(n));
3113
+ n && (a.x = ks(n));
3099
3114
  const h = o.left + l.scrollLeft - a.x, p = o.top + l.scrollTop - a.y;
3100
3115
  return {
3101
3116
  x: h,
@@ -3104,45 +3119,58 @@ function Ka(t, e, r) {
3104
3119
  height: o.height
3105
3120
  };
3106
3121
  }
3107
- function Un(t, e) {
3108
- return !Xe(t) || De(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
3122
+ function ui(t) {
3123
+ return Be(t).position === "static";
3109
3124
  }
3110
- function Os(t, e) {
3125
+ function Fn(t, e) {
3126
+ return !Ve(t) || Be(t).position === "fixed" ? null : e ? e(t) : t.offsetParent;
3127
+ }
3128
+ function Ps(t, e) {
3111
3129
  const r = Ce(t);
3112
- if (!Xe(t) || Ms(t))
3130
+ if (Ui(t))
3131
+ return r;
3132
+ if (!Ve(t)) {
3133
+ let n = lt(t);
3134
+ for (; n && !Tt(n); ) {
3135
+ if (Xe(n) && !ui(n))
3136
+ return n;
3137
+ n = lt(n);
3138
+ }
3113
3139
  return r;
3114
- let i = Un(t, e);
3115
- for (; i && Da(i) && De(i).position === "static"; )
3116
- i = Un(i, e);
3117
- return i && (lt(i) === "html" || lt(i) === "body" && De(i).position === "static" && !Ni(i)) ? r : i || Na(t) || r;
3140
+ }
3141
+ let i = Fn(t, e);
3142
+ for (; i && Na(i) && ui(i); )
3143
+ i = Fn(i, e);
3144
+ return i && Tt(i) && ui(i) && !Ii(i) ? r : i || Ia(t) || r;
3118
3145
  }
3119
- const Ja = async function(t) {
3120
- const e = this.getOffsetParent || Os, r = this.getDimensions;
3146
+ const Za = async function(t) {
3147
+ const e = this.getOffsetParent || Ps, r = this.getDimensions, i = await r(t.floating);
3121
3148
  return {
3122
- reference: Ka(t.reference, await e(t.floating), t.strategy),
3149
+ reference: Ja(t.reference, await e(t.floating), t.strategy),
3123
3150
  floating: {
3124
3151
  x: 0,
3125
3152
  y: 0,
3126
- ...await r(t.floating)
3153
+ width: i.width,
3154
+ height: i.height
3127
3155
  }
3128
3156
  };
3129
3157
  };
3130
- function Za(t) {
3131
- return De(t).direction === "rtl";
3158
+ function Ga(t) {
3159
+ return Be(t).direction === "rtl";
3132
3160
  }
3133
- const Ga = {
3134
- convertOffsetParentRelativeRectToViewportRelativeRect: Ua,
3161
+ const Qa = {
3162
+ convertOffsetParentRelativeRectToViewportRelativeRect: Ha,
3135
3163
  getDocumentElement: it,
3136
- getClippingRect: Xa,
3137
- getOffsetParent: Os,
3138
- getElementRects: Ja,
3139
- getClientRects: Ha,
3140
- getDimensions: Va,
3164
+ getClippingRect: Va,
3165
+ getOffsetParent: Ps,
3166
+ getElementRects: Za,
3167
+ getClientRects: Fa,
3168
+ getDimensions: Ka,
3141
3169
  getScale: Rt,
3142
- isElement: Qe,
3143
- isRTL: Za
3170
+ isElement: Xe,
3171
+ isRTL: Ga
3144
3172
  };
3145
- function Qa(t, e) {
3173
+ function el(t, e) {
3146
3174
  let r = null, i;
3147
3175
  const n = it(t);
3148
3176
  function s() {
@@ -3159,9 +3187,9 @@ function Qa(t, e) {
3159
3187
  } = t.getBoundingClientRect();
3160
3188
  if (l || e(), !g || !b)
3161
3189
  return;
3162
- const m = vr(p), _ = vr(n.clientWidth - (h + g)), k = vr(n.clientHeight - (p + b)), z = vr(h), I = {
3190
+ const m = br(p), _ = br(n.clientWidth - (h + g)), k = br(n.clientHeight - (p + b)), z = br(h), I = {
3163
3191
  rootMargin: -m + "px " + -_ + "px " + -k + "px " + -z + "px",
3164
- threshold: Ct(0, fi(1, a)) || 1
3192
+ threshold: Ct(0, gi(1, a)) || 1
3165
3193
  };
3166
3194
  let f = !0;
3167
3195
  function y(w) {
@@ -3171,7 +3199,7 @@ function Qa(t, e) {
3171
3199
  return o();
3172
3200
  E ? o(!1, E) : i = setTimeout(() => {
3173
3201
  o(!1, 1e-7);
3174
- }, 100);
3202
+ }, 1e3);
3175
3203
  }
3176
3204
  f = !1;
3177
3205
  }
@@ -3188,7 +3216,7 @@ function Qa(t, e) {
3188
3216
  }
3189
3217
  return o(!0), s;
3190
3218
  }
3191
- function el(t, e, r, i) {
3219
+ function tl(t, e, r, i) {
3192
3220
  i === void 0 && (i = {});
3193
3221
  const {
3194
3222
  ancestorScroll: n = !0,
@@ -3196,13 +3224,13 @@ function el(t, e, r, i) {
3196
3224
  elementResize: o = typeof ResizeObserver == "function",
3197
3225
  layoutShift: l = typeof IntersectionObserver == "function",
3198
3226
  animationFrame: a = !1
3199
- } = i, h = qi(t), p = n || s ? [...h ? Gt(h) : [], ...Gt(e)] : [];
3227
+ } = i, h = Bi(t), p = n || s ? [...h ? Qt(h) : [], ...Qt(e)] : [];
3200
3228
  p.forEach((I) => {
3201
3229
  n && I.addEventListener("scroll", r, {
3202
3230
  passive: !0
3203
3231
  }), s && I.addEventListener("resize", r);
3204
3232
  });
3205
- const g = h && l ? Qa(h, r) : null;
3233
+ const g = h && l ? el(h, r) : null;
3206
3234
  let b = -1, m = null;
3207
3235
  o && (m = new ResizeObserver((I) => {
3208
3236
  let [f] = I;
@@ -3224,25 +3252,25 @@ function el(t, e, r, i) {
3224
3252
  }), g?.(), (I = m) == null || I.disconnect(), m = null, a && cancelAnimationFrame(_);
3225
3253
  };
3226
3254
  }
3227
- const tl = (t, e, r) => {
3255
+ const rl = (t, e, r) => {
3228
3256
  const i = /* @__PURE__ */ new Map(), n = {
3229
- platform: Ga,
3257
+ platform: Qa,
3230
3258
  ...r
3231
3259
  }, s = {
3232
3260
  ...n.platform,
3233
3261
  _c: i
3234
3262
  };
3235
- return Ta(t, e, {
3263
+ return Da(t, e, {
3236
3264
  ...n,
3237
3265
  platform: s
3238
3266
  });
3239
3267
  };
3240
- var rl = Object.defineProperty, il = Object.getOwnPropertyDescriptor, jr = (t, e, r, i) => {
3241
- for (var n = i > 1 ? void 0 : i ? il(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3268
+ var il = Object.defineProperty, nl = Object.getOwnPropertyDescriptor, jr = (t, e, r, i) => {
3269
+ for (var n = i > 1 ? void 0 : i ? nl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3242
3270
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3243
- return i && n && rl(e, r, n), n;
3271
+ return i && n && il(e, r, n), n;
3244
3272
  };
3245
- let Qt = class extends _e {
3273
+ let er = class extends _e {
3246
3274
  constructor() {
3247
3275
  super(...arguments), this.open = !1, this.parent = null, this.unstyled = !1, this._clickEventListener = () => {
3248
3276
  this.open = !1;
@@ -3263,7 +3291,7 @@ let Qt = class extends _e {
3263
3291
  connectedCallback() {
3264
3292
  super.connectedCallback(), this.unstyled || setTimeout(() => {
3265
3293
  const t = this.parent || this.renderRoot.querySelector("[name=trigger]").assignedNodes()[0], e = this.renderRoot.querySelector("#dropdown"), r = () => {
3266
- e.classList.contains("open") && tl(t, e, { strategy: "fixed" }).then(
3294
+ e.classList.contains("open") && rl(t, e, { strategy: "fixed" }).then(
3267
3295
  ({ x: i, y: n }) => {
3268
3296
  Object.assign(e.style, {
3269
3297
  left: `${i}px`,
@@ -3273,7 +3301,7 @@ let Qt = class extends _e {
3273
3301
  }
3274
3302
  );
3275
3303
  };
3276
- this._overlayCleanup = el(t, e, r);
3304
+ this._overlayCleanup = tl(t, e, r);
3277
3305
  });
3278
3306
  }
3279
3307
  disconnectedCallback() {
@@ -3319,22 +3347,22 @@ let Qt = class extends _e {
3319
3347
  };
3320
3348
  jr([
3321
3349
  G({ type: Boolean })
3322
- ], Qt.prototype, "open", 2);
3350
+ ], er.prototype, "open", 2);
3323
3351
  jr([
3324
3352
  G()
3325
- ], Qt.prototype, "parent", 2);
3353
+ ], er.prototype, "parent", 2);
3326
3354
  jr([
3327
3355
  G({ type: Boolean })
3328
- ], Qt.prototype, "unstyled", 2);
3329
- Qt = jr([
3356
+ ], er.prototype, "unstyled", 2);
3357
+ er = jr([
3330
3358
  Re("eox-dropdown")
3331
- ], Qt);
3332
- var nl = Object.defineProperty, sl = Object.getOwnPropertyDescriptor, Tr = (t, e, r, i) => {
3333
- for (var n = i > 1 ? void 0 : i ? sl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3359
+ ], er);
3360
+ var sl = Object.defineProperty, ol = Object.getOwnPropertyDescriptor, Tr = (t, e, r, i) => {
3361
+ for (var n = i > 1 ? void 0 : i ? ol(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3334
3362
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3335
- return i && n && nl(e, r, n), n;
3363
+ return i && n && sl(e, r, n), n;
3336
3364
  };
3337
- let er = class extends _e {
3365
+ let tr = class extends _e {
3338
3366
  constructor() {
3339
3367
  super(...arguments), this.items = [], this.titleProperty = "title", this.unstyled = !1, this._keyboardEventListener = (t) => {
3340
3368
  const { code: e } = t;
@@ -3401,7 +3429,7 @@ let er = class extends _e {
3401
3429
  `}
3402
3430
  </style>
3403
3431
  <span class="chip-container">
3404
- ${Vt(
3432
+ ${Kt(
3405
3433
  this.items,
3406
3434
  (t) => F`
3407
3435
  <span
@@ -3439,20 +3467,20 @@ let er = class extends _e {
3439
3467
  };
3440
3468
  Tr([
3441
3469
  G({ type: Array })
3442
- ], er.prototype, "items", 2);
3470
+ ], tr.prototype, "items", 2);
3443
3471
  Tr([
3444
3472
  G()
3445
- ], er.prototype, "titleProperty", 2);
3473
+ ], tr.prototype, "titleProperty", 2);
3446
3474
  Tr([
3447
3475
  G({ type: Boolean })
3448
- ], er.prototype, "unstyled", 2);
3449
- er = Tr([
3476
+ ], tr.prototype, "unstyled", 2);
3477
+ tr = Tr([
3450
3478
  Re("eox-itemfilter-chips")
3451
- ], er);
3452
- var ol = Object.defineProperty, al = Object.getOwnPropertyDescriptor, Ke = (t, e, r, i) => {
3453
- for (var n = i > 1 ? void 0 : i ? al(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3479
+ ], tr);
3480
+ var al = Object.defineProperty, ll = Object.getOwnPropertyDescriptor, Je = (t, e, r, i) => {
3481
+ for (var n = i > 1 ? void 0 : i ? ll(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3454
3482
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3455
- return i && n && ol(e, r, n), n;
3483
+ return i && n && al(e, r, n), n;
3456
3484
  };
3457
3485
  let Ue = class extends _e {
3458
3486
  constructor() {
@@ -3523,7 +3551,7 @@ let Ue = class extends _e {
3523
3551
  display: none;
3524
3552
  }
3525
3553
  ${this.unstyled ? ae : F`
3526
- ${ji} :host { position: relative; } .container { width: 100%;
3554
+ ${Ti} :host { position: relative; } .container { width: 100%;
3527
3555
  position: relative; border: 1px solid #00417066; border-radius:
3528
3556
  4px; height: 24px; padding: 5px; flex: 1; justify-content:
3529
3557
  space-between; cursor: text; overflow-x: auto; } .container:hover
@@ -3620,40 +3648,40 @@ let Ue = class extends _e {
3620
3648
  `;
3621
3649
  }
3622
3650
  };
3623
- Ke([
3651
+ Je([
3624
3652
  G()
3625
3653
  ], Ue.prototype, "idProperty", 2);
3626
- Ke([
3654
+ Je([
3627
3655
  G()
3628
3656
  ], Ue.prototype, "items", 2);
3629
- Ke([
3657
+ Je([
3630
3658
  G()
3631
3659
  ], Ue.prototype, "titleProperty", 2);
3632
- Ke([
3660
+ Je([
3633
3661
  G()
3634
3662
  ], Ue.prototype, "itemTitleProperty", 2);
3635
- Ke([
3663
+ Je([
3636
3664
  G({ type: Boolean })
3637
3665
  ], Ue.prototype, "multiple", 2);
3638
- Ke([
3666
+ Je([
3639
3667
  G({ type: Boolean })
3640
3668
  ], Ue.prototype, "unstyled", 2);
3641
- Ke([
3669
+ Je([
3642
3670
  G({ type: Boolean })
3643
3671
  ], Ue.prototype, "multiStep", 2);
3644
- Ke([
3672
+ Je([
3645
3673
  rt()
3646
3674
  ], Ue.prototype, "inputText", 2);
3647
- Ke([
3675
+ Je([
3648
3676
  rt()
3649
3677
  ], Ue.prototype, "selectedItems", 2);
3650
- Ue = Ke([
3678
+ Ue = Je([
3651
3679
  Re("eox-autocomplete")
3652
3680
  ], Ue);
3653
- var ll = Object.defineProperty, cl = Object.getOwnPropertyDescriptor, Je = (t, e, r, i) => {
3654
- for (var n = i > 1 ? void 0 : i ? cl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3681
+ var cl = Object.defineProperty, hl = Object.getOwnPropertyDescriptor, Ze = (t, e, r, i) => {
3682
+ for (var n = i > 1 ? void 0 : i ? hl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3655
3683
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3656
- return i && n && ll(e, r, n), n;
3684
+ return i && n && cl(e, r, n), n;
3657
3685
  };
3658
3686
  let He = class extends _e {
3659
3687
  constructor() {
@@ -3731,7 +3759,7 @@ let He = class extends _e {
3731
3759
  render() {
3732
3760
  return F`
3733
3761
  <style>
3734
- ${Ri}
3762
+ ${ji}
3735
3763
  :host {
3736
3764
  height: auto;
3737
3765
  }
@@ -3741,10 +3769,10 @@ let He = class extends _e {
3741
3769
  li.highlighted {
3742
3770
  background: lightgrey;
3743
3771
  }
3744
- ${!this.unstyled && Ti}
3772
+ ${!this.unstyled && Di}
3745
3773
  </style>
3746
3774
  <ul>
3747
- ${ys(
3775
+ ${vs(
3748
3776
  this.items.filter(
3749
3777
  (t) => this.filter ? t[this.titleProperty].toLowerCase().includes(this.filter.toLowerCase()) : !0
3750
3778
  ),
@@ -3780,42 +3808,42 @@ let He = class extends _e {
3780
3808
  `;
3781
3809
  }
3782
3810
  };
3783
- Je([
3811
+ Ze([
3784
3812
  G()
3785
3813
  ], He.prototype, "filter", 2);
3786
- Je([
3814
+ Ze([
3787
3815
  G()
3788
3816
  ], He.prototype, "idProperty", 2);
3789
- Je([
3817
+ Ze([
3790
3818
  G()
3791
3819
  ], He.prototype, "items", 2);
3792
- Je([
3820
+ Ze([
3793
3821
  G()
3794
3822
  ], He.prototype, "titleProperty", 2);
3795
- Je([
3823
+ Ze([
3796
3824
  G({ type: Boolean })
3797
3825
  ], He.prototype, "multiple", 2);
3798
- Je([
3826
+ Ze([
3799
3827
  G()
3800
3828
  ], He.prototype, "selectedItems", 2);
3801
- Je([
3829
+ Ze([
3802
3830
  G({ type: Boolean })
3803
3831
  ], He.prototype, "unstyled", 2);
3804
- Je([
3832
+ Ze([
3805
3833
  G({ type: Boolean })
3806
3834
  ], He.prototype, "noShadow", 2);
3807
- Je([
3835
+ Ze([
3808
3836
  rt()
3809
3837
  ], He.prototype, "_currentHighlight", 2);
3810
- He = Je([
3838
+ He = Ze([
3811
3839
  Re("eox-selectionlist")
3812
3840
  ], He);
3813
- var hl = Object.defineProperty, ul = Object.getOwnPropertyDescriptor, Dr = (t, e, r, i) => {
3814
- for (var n = i > 1 ? void 0 : i ? ul(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3841
+ var ul = Object.defineProperty, dl = Object.getOwnPropertyDescriptor, Dr = (t, e, r, i) => {
3842
+ for (var n = i > 1 ? void 0 : i ? dl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3815
3843
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3816
- return i && n && hl(e, r, n), n;
3844
+ return i && n && ul(e, r, n), n;
3817
3845
  };
3818
- let tr = class extends _e {
3846
+ let rr = class extends _e {
3819
3847
  constructor() {
3820
3848
  super(...arguments), this.inline = !1, this.unstyled = !1;
3821
3849
  }
@@ -3880,24 +3908,24 @@ let tr = class extends _e {
3880
3908
  };
3881
3909
  Dr([
3882
3910
  G()
3883
- ], tr.prototype, "filterObject", 2);
3911
+ ], rr.prototype, "filterObject", 2);
3884
3912
  Dr([
3885
3913
  G({ type: Boolean })
3886
- ], tr.prototype, "inline", 2);
3914
+ ], rr.prototype, "inline", 2);
3887
3915
  Dr([
3888
3916
  G({ type: Boolean })
3889
- ], tr.prototype, "unstyled", 2);
3890
- tr = Dr([
3917
+ ], rr.prototype, "unstyled", 2);
3918
+ rr = Dr([
3891
3919
  Re("eox-itemfilter-multiselect")
3892
- ], tr);
3893
- var dl = "Expected a function", Hn = NaN, pl = "[object Symbol]", fl = /^\s+|\s+$/g, gl = /^[-+]0x[0-9a-f]+$/i, yl = /^0b[01]+$/i, ml = /^0o[0-7]+$/i, vl = parseInt, bl = typeof Pt == "object" && Pt && Pt.Object === Object && Pt, xl = typeof self == "object" && self && self.Object === Object && self, wl = bl || xl || Function("return this")(), $l = Object.prototype, _l = $l.toString, El = Math.max, Sl = Math.min, ui = function() {
3894
- return wl.Date.now();
3920
+ ], rr);
3921
+ var pl = "Expected a function", zn = NaN, fl = "[object Symbol]", gl = /^\s+|\s+$/g, yl = /^[-+]0x[0-9a-f]+$/i, ml = /^0b[01]+$/i, vl = /^0o[0-7]+$/i, bl = parseInt, xl = typeof Pt == "object" && Pt && Pt.Object === Object && Pt, wl = typeof self == "object" && self && self.Object === Object && self, $l = xl || wl || Function("return this")(), _l = Object.prototype, El = _l.toString, Sl = Math.max, Ml = Math.min, di = function() {
3922
+ return $l.Date.now();
3895
3923
  };
3896
- function Ml(t, e, r) {
3924
+ function Al(t, e, r) {
3897
3925
  var i, n, s, o, l, a, h = 0, p = !1, g = !1, b = !0;
3898
3926
  if (typeof t != "function")
3899
- throw new TypeError(dl);
3900
- e = Fn(e) || 0, gi(r) && (p = !!r.leading, g = "maxWait" in r, s = g ? El(Fn(r.maxWait) || 0, e) : s, b = "trailing" in r ? !!r.trailing : b);
3927
+ throw new TypeError(pl);
3928
+ e = Wn(e) || 0, yi(r) && (p = !!r.leading, g = "maxWait" in r, s = g ? Sl(Wn(r.maxWait) || 0, e) : s, b = "trailing" in r ? !!r.trailing : b);
3901
3929
  function m(S) {
3902
3930
  var M = i, L = n;
3903
3931
  return i = n = void 0, h = S, o = t.apply(L, M), o;
@@ -3907,14 +3935,14 @@ function Ml(t, e, r) {
3907
3935
  }
3908
3936
  function k(S) {
3909
3937
  var M = S - a, L = S - h, B = e - M;
3910
- return g ? Sl(B, s - L) : B;
3938
+ return g ? Ml(B, s - L) : B;
3911
3939
  }
3912
3940
  function z(S) {
3913
3941
  var M = S - a, L = S - h;
3914
3942
  return a === void 0 || M >= e || M < 0 || g && L >= s;
3915
3943
  }
3916
3944
  function I() {
3917
- var S = ui();
3945
+ var S = di();
3918
3946
  if (z(S))
3919
3947
  return f(S);
3920
3948
  l = setTimeout(I, k(S));
@@ -3926,10 +3954,10 @@ function Ml(t, e, r) {
3926
3954
  l !== void 0 && clearTimeout(l), h = 0, i = a = n = l = void 0;
3927
3955
  }
3928
3956
  function w() {
3929
- return l === void 0 ? o : f(ui());
3957
+ return l === void 0 ? o : f(di());
3930
3958
  }
3931
3959
  function E() {
3932
- var S = ui(), M = z(S);
3960
+ var S = di(), M = z(S);
3933
3961
  if (i = arguments, n = this, a = S, M) {
3934
3962
  if (l === void 0)
3935
3963
  return _(a);
@@ -3940,44 +3968,44 @@ function Ml(t, e, r) {
3940
3968
  }
3941
3969
  return E.cancel = y, E.flush = w, E;
3942
3970
  }
3943
- function gi(t) {
3971
+ function yi(t) {
3944
3972
  var e = typeof t;
3945
3973
  return !!t && (e == "object" || e == "function");
3946
3974
  }
3947
- function Al(t) {
3975
+ function kl(t) {
3948
3976
  return !!t && typeof t == "object";
3949
3977
  }
3950
- function kl(t) {
3951
- return typeof t == "symbol" || Al(t) && _l.call(t) == pl;
3978
+ function Ol(t) {
3979
+ return typeof t == "symbol" || kl(t) && El.call(t) == fl;
3952
3980
  }
3953
- function Fn(t) {
3981
+ function Wn(t) {
3954
3982
  if (typeof t == "number")
3955
3983
  return t;
3956
- if (kl(t))
3957
- return Hn;
3958
- if (gi(t)) {
3984
+ if (Ol(t))
3985
+ return zn;
3986
+ if (yi(t)) {
3959
3987
  var e = typeof t.valueOf == "function" ? t.valueOf() : t;
3960
- t = gi(e) ? e + "" : e;
3988
+ t = yi(e) ? e + "" : e;
3961
3989
  }
3962
3990
  if (typeof t != "string")
3963
3991
  return t === 0 ? t : +t;
3964
- t = t.replace(fl, "");
3965
- var r = yl.test(t);
3966
- return r || ml.test(t) ? vl(t.slice(2), r ? 2 : 8) : gl.test(t) ? Hn : +t;
3967
- }
3968
- var Ol = Ml;
3969
- const Ps = /* @__PURE__ */ Li(Ol);
3970
- var Pl = Object.defineProperty, Ll = Object.getOwnPropertyDescriptor, Ls = (t, e, r, i) => {
3971
- for (var n = i > 1 ? void 0 : i ? Ll(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3992
+ t = t.replace(gl, "");
3993
+ var r = ml.test(t);
3994
+ return r || vl.test(t) ? bl(t.slice(2), r ? 2 : 8) : yl.test(t) ? zn : +t;
3995
+ }
3996
+ var Pl = Al;
3997
+ const Ls = /* @__PURE__ */ Ci(Pl);
3998
+ var Ll = Object.defineProperty, Cl = Object.getOwnPropertyDescriptor, Cs = (t, e, r, i) => {
3999
+ for (var n = i > 1 ? void 0 : i ? Cl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
3972
4000
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
3973
- return i && n && Pl(e, r, n), n;
4001
+ return i && n && Ll(e, r, n), n;
3974
4002
  };
3975
- let yi = class extends _e {
4003
+ let mi = class extends _e {
3976
4004
  constructor() {
3977
4005
  super(...arguments), this.inputHandler = (t) => {
3978
4006
  const [e, r] = t.detail.values;
3979
4007
  (e !== this.filterObject.state.min || r != this.filterObject.state.max) && ([this.filterObject.state.min, this.filterObject.state.max] = [e, r], this.filterObject.dirty = !0), this.filterObject.dirty && (this.filterObject.stringifiedState = `${Lt(e)} - ${Lt(r)}`), this.dispatchEvent(new CustomEvent("filter")), this.requestUpdate();
3980
- }, this.debouncedInputHandler = Ps(this.inputHandler, 0, {
4008
+ }, this.debouncedInputHandler = Ls(this.inputHandler, 0, {
3981
4009
  leading: !0
3982
4010
  });
3983
4011
  }
@@ -4010,18 +4038,18 @@ let yi = class extends _e {
4010
4038
  );
4011
4039
  }
4012
4040
  };
4013
- Ls([
4041
+ Cs([
4014
4042
  G()
4015
- ], yi.prototype, "filterObject", 2);
4016
- yi = Ls([
4043
+ ], mi.prototype, "filterObject", 2);
4044
+ mi = Cs([
4017
4045
  Re("eox-itemfilter-range")
4018
- ], yi);
4019
- var Cl = Object.defineProperty, Rl = Object.getOwnPropertyDescriptor, Nr = (t, e, r, i) => {
4020
- for (var n = i > 1 ? void 0 : i ? Rl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
4046
+ ], mi);
4047
+ var Rl = Object.defineProperty, jl = Object.getOwnPropertyDescriptor, Nr = (t, e, r, i) => {
4048
+ for (var n = i > 1 ? void 0 : i ? jl(e, r) : e, s = t.length - 1, o; s >= 0; s--)
4021
4049
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
4022
- return i && n && Cl(e, r, n), n;
4050
+ return i && n && Rl(e, r, n), n;
4023
4051
  };
4024
- let rr = class extends _e {
4052
+ let ir = class extends _e {
4025
4053
  constructor() {
4026
4054
  super(...arguments), this.inline = !1, this.unstyled = !1;
4027
4055
  }
@@ -4086,17 +4114,17 @@ let rr = class extends _e {
4086
4114
  };
4087
4115
  Nr([
4088
4116
  G()
4089
- ], rr.prototype, "filterObject", 2);
4117
+ ], ir.prototype, "filterObject", 2);
4090
4118
  Nr([
4091
4119
  G({ type: Boolean })
4092
- ], rr.prototype, "inline", 2);
4120
+ ], ir.prototype, "inline", 2);
4093
4121
  Nr([
4094
4122
  G({ type: Boolean })
4095
- ], rr.prototype, "unstyled", 2);
4096
- rr = Nr([
4123
+ ], ir.prototype, "unstyled", 2);
4124
+ ir = Nr([
4097
4125
  Re("eox-itemfilter-select")
4098
- ], rr);
4099
- var Se = 63710088e-1, Bi = {
4126
+ ], ir);
4127
+ var Se = 63710088e-1, Hi = {
4100
4128
  centimeters: Se * 100,
4101
4129
  centimetres: Se * 100,
4102
4130
  degrees: Se / 111325,
@@ -4112,7 +4140,7 @@ var Se = 63710088e-1, Bi = {
4112
4140
  nauticalmiles: Se / 1852,
4113
4141
  radians: 1,
4114
4142
  yards: Se * 1.0936
4115
- }, jl = {
4143
+ }, Tl = {
4116
4144
  centimeters: 100,
4117
4145
  centimetres: 100,
4118
4146
  degrees: 1 / 111325,
@@ -4128,7 +4156,7 @@ var Se = 63710088e-1, Bi = {
4128
4156
  nauticalmiles: 1 / 1852,
4129
4157
  radians: 1 / Se,
4130
4158
  yards: 1.0936133
4131
- }, mi = {
4159
+ }, vi = {
4132
4160
  acres: 247105e-9,
4133
4161
  centimeters: 1e4,
4134
4162
  centimetres: 1e4,
@@ -4144,25 +4172,25 @@ var Se = 63710088e-1, Bi = {
4144
4172
  millimetres: 1e6,
4145
4173
  yards: 1.195990046
4146
4174
  };
4147
- function Ne(t, e, r) {
4175
+ function De(t, e, r) {
4148
4176
  r === void 0 && (r = {});
4149
4177
  var i = { type: "Feature" };
4150
4178
  return (r.id === 0 || r.id) && (i.id = r.id), r.bbox && (i.bbox = r.bbox), i.properties = e || {}, i.geometry = t, i;
4151
4179
  }
4152
- function Tl(t, e, r) {
4180
+ function Dl(t, e, r) {
4153
4181
  switch (t) {
4154
4182
  case "Point":
4155
4183
  return We(e).geometry;
4156
4184
  case "LineString":
4157
- return Be(e).geometry;
4185
+ return qe(e).geometry;
4158
4186
  case "Polygon":
4159
- return Ui(e).geometry;
4187
+ return Fi(e).geometry;
4160
4188
  case "MultiPoint":
4161
- return Cs(e).geometry;
4189
+ return Rs(e).geometry;
4162
4190
  case "MultiLineString":
4163
- return Hi(e).geometry;
4191
+ return zi(e).geometry;
4164
4192
  case "MultiPolygon":
4165
- return Rs(e).geometry;
4193
+ return js(e).geometry;
4166
4194
  default:
4167
4195
  throw new Error(t + " is invalid");
4168
4196
  }
@@ -4174,20 +4202,20 @@ function We(t, e, r) {
4174
4202
  throw new Error("coordinates must be an Array");
4175
4203
  if (t.length < 2)
4176
4204
  throw new Error("coordinates must be at least 2 numbers long");
4177
- if (!Ar(t[0]) || !Ar(t[1]))
4205
+ if (!kr(t[0]) || !kr(t[1]))
4178
4206
  throw new Error("coordinates must contain numbers");
4179
4207
  var i = {
4180
4208
  type: "Point",
4181
4209
  coordinates: t
4182
4210
  };
4183
- return Ne(i, e, r);
4211
+ return De(i, e, r);
4184
4212
  }
4185
- function Dl(t, e, r) {
4213
+ function Nl(t, e, r) {
4186
4214
  return r === void 0 && (r = {}), ct(t.map(function(i) {
4187
4215
  return We(i, e);
4188
4216
  }), r);
4189
4217
  }
4190
- function Ui(t, e, r) {
4218
+ function Fi(t, e, r) {
4191
4219
  r === void 0 && (r = {});
4192
4220
  for (var i = 0, n = t; i < n.length; i++) {
4193
4221
  var s = n[i];
@@ -4201,25 +4229,25 @@ function Ui(t, e, r) {
4201
4229
  type: "Polygon",
4202
4230
  coordinates: t
4203
4231
  };
4204
- return Ne(l, e, r);
4232
+ return De(l, e, r);
4205
4233
  }
4206
- function Nl(t, e, r) {
4234
+ function Il(t, e, r) {
4207
4235
  return r === void 0 && (r = {}), ct(t.map(function(i) {
4208
- return Ui(i, e);
4236
+ return Fi(i, e);
4209
4237
  }), r);
4210
4238
  }
4211
- function Be(t, e, r) {
4239
+ function qe(t, e, r) {
4212
4240
  if (r === void 0 && (r = {}), t.length < 2)
4213
4241
  throw new Error("coordinates must be an array of two or more positions");
4214
4242
  var i = {
4215
4243
  type: "LineString",
4216
4244
  coordinates: t
4217
4245
  };
4218
- return Ne(i, e, r);
4246
+ return De(i, e, r);
4219
4247
  }
4220
- function Il(t, e, r) {
4248
+ function ql(t, e, r) {
4221
4249
  return r === void 0 && (r = {}), ct(t.map(function(i) {
4222
- return Be(i, e);
4250
+ return qe(i, e);
4223
4251
  }), r);
4224
4252
  }
4225
4253
  function ct(t, e) {
@@ -4227,96 +4255,96 @@ function ct(t, e) {
4227
4255
  var r = { type: "FeatureCollection" };
4228
4256
  return e.id && (r.id = e.id), e.bbox && (r.bbox = e.bbox), r.features = t, r;
4229
4257
  }
4230
- function Hi(t, e, r) {
4258
+ function zi(t, e, r) {
4231
4259
  r === void 0 && (r = {});
4232
4260
  var i = {
4233
4261
  type: "MultiLineString",
4234
4262
  coordinates: t
4235
4263
  };
4236
- return Ne(i, e, r);
4264
+ return De(i, e, r);
4237
4265
  }
4238
- function Cs(t, e, r) {
4266
+ function Rs(t, e, r) {
4239
4267
  r === void 0 && (r = {});
4240
4268
  var i = {
4241
4269
  type: "MultiPoint",
4242
4270
  coordinates: t
4243
4271
  };
4244
- return Ne(i, e, r);
4272
+ return De(i, e, r);
4245
4273
  }
4246
- function Rs(t, e, r) {
4274
+ function js(t, e, r) {
4247
4275
  r === void 0 && (r = {});
4248
4276
  var i = {
4249
4277
  type: "MultiPolygon",
4250
4278
  coordinates: t
4251
4279
  };
4252
- return Ne(i, e, r);
4280
+ return De(i, e, r);
4253
4281
  }
4254
- function ql(t, e, r) {
4282
+ function Bl(t, e, r) {
4255
4283
  r === void 0 && (r = {});
4256
4284
  var i = {
4257
4285
  type: "GeometryCollection",
4258
4286
  geometries: t
4259
4287
  };
4260
- return Ne(i, e, r);
4288
+ return De(i, e, r);
4261
4289
  }
4262
- function Bl(t, e) {
4290
+ function Ul(t, e) {
4263
4291
  if (e === void 0 && (e = 0), e && !(e >= 0))
4264
4292
  throw new Error("precision must be a positive number");
4265
4293
  var r = Math.pow(10, e || 0);
4266
4294
  return Math.round(t * r) / r;
4267
4295
  }
4268
- function js(t, e) {
4296
+ function Ts(t, e) {
4269
4297
  e === void 0 && (e = "kilometers");
4270
- var r = Bi[e];
4298
+ var r = Hi[e];
4271
4299
  if (!r)
4272
4300
  throw new Error(e + " units is invalid");
4273
4301
  return t * r;
4274
4302
  }
4275
- function Fi(t, e) {
4303
+ function Wi(t, e) {
4276
4304
  e === void 0 && (e = "kilometers");
4277
- var r = Bi[e];
4305
+ var r = Hi[e];
4278
4306
  if (!r)
4279
4307
  throw new Error(e + " units is invalid");
4280
4308
  return t / r;
4281
4309
  }
4282
- function Ul(t, e) {
4283
- return Ts(Fi(t, e));
4310
+ function Hl(t, e) {
4311
+ return Ds(Wi(t, e));
4284
4312
  }
4285
- function Hl(t) {
4313
+ function Fl(t) {
4286
4314
  var e = t % 360;
4287
4315
  return e < 0 && (e += 360), e;
4288
4316
  }
4289
- function Ts(t) {
4317
+ function Ds(t) {
4290
4318
  var e = t % (2 * Math.PI);
4291
4319
  return e * 180 / Math.PI;
4292
4320
  }
4293
- function Fl(t) {
4321
+ function zl(t) {
4294
4322
  var e = t % 360;
4295
4323
  return e * Math.PI / 180;
4296
4324
  }
4297
- function zl(t, e, r) {
4325
+ function Wl(t, e, r) {
4298
4326
  if (e === void 0 && (e = "kilometers"), r === void 0 && (r = "kilometers"), !(t >= 0))
4299
4327
  throw new Error("length must be a positive number");
4300
- return js(Fi(t, e), r);
4328
+ return Ts(Wi(t, e), r);
4301
4329
  }
4302
- function Wl(t, e, r) {
4330
+ function Yl(t, e, r) {
4303
4331
  if (e === void 0 && (e = "meters"), r === void 0 && (r = "kilometers"), !(t >= 0))
4304
4332
  throw new Error("area must be a positive number");
4305
- var i = mi[e];
4333
+ var i = vi[e];
4306
4334
  if (!i)
4307
4335
  throw new Error("invalid original units");
4308
- var n = mi[r];
4336
+ var n = vi[r];
4309
4337
  if (!n)
4310
4338
  throw new Error("invalid final units");
4311
4339
  return t / i * n;
4312
4340
  }
4313
- function Ar(t) {
4341
+ function kr(t) {
4314
4342
  return !isNaN(t) && t !== null && !Array.isArray(t);
4315
4343
  }
4316
- function zi(t) {
4344
+ function Yi(t) {
4317
4345
  return !!t && t.constructor === Object;
4318
4346
  }
4319
- function Yl(t) {
4347
+ function Xl(t) {
4320
4348
  if (!t)
4321
4349
  throw new Error("bbox is required");
4322
4350
  if (!Array.isArray(t))
@@ -4324,50 +4352,50 @@ function Yl(t) {
4324
4352
  if (t.length !== 4 && t.length !== 6)
4325
4353
  throw new Error("bbox must be an Array of 4 or 6 numbers");
4326
4354
  t.forEach(function(e) {
4327
- if (!Ar(e))
4355
+ if (!kr(e))
4328
4356
  throw new Error("bbox must only contain numbers");
4329
4357
  });
4330
4358
  }
4331
- function Xl(t) {
4359
+ function Vl(t) {
4332
4360
  if (!t)
4333
4361
  throw new Error("id is required");
4334
4362
  if (["string", "number"].indexOf(typeof t) === -1)
4335
4363
  throw new Error("id must be a number or a string");
4336
4364
  }
4337
- const Vl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4365
+ const Kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4338
4366
  __proto__: null,
4339
- areaFactors: mi,
4340
- bearingToAzimuth: Hl,
4341
- convertArea: Wl,
4342
- convertLength: zl,
4343
- degreesToRadians: Fl,
4367
+ areaFactors: vi,
4368
+ bearingToAzimuth: Fl,
4369
+ convertArea: Yl,
4370
+ convertLength: Wl,
4371
+ degreesToRadians: zl,
4344
4372
  earthRadius: Se,
4345
- factors: Bi,
4346
- feature: Ne,
4373
+ factors: Hi,
4374
+ feature: De,
4347
4375
  featureCollection: ct,
4348
- geometry: Tl,
4349
- geometryCollection: ql,
4350
- isNumber: Ar,
4351
- isObject: zi,
4352
- lengthToDegrees: Ul,
4353
- lengthToRadians: Fi,
4354
- lineString: Be,
4355
- lineStrings: Il,
4356
- multiLineString: Hi,
4357
- multiPoint: Cs,
4358
- multiPolygon: Rs,
4376
+ geometry: Dl,
4377
+ geometryCollection: Bl,
4378
+ isNumber: kr,
4379
+ isObject: Yi,
4380
+ lengthToDegrees: Hl,
4381
+ lengthToRadians: Wi,
4382
+ lineString: qe,
4383
+ lineStrings: ql,
4384
+ multiLineString: zi,
4385
+ multiPoint: Rs,
4386
+ multiPolygon: js,
4359
4387
  point: We,
4360
- points: Dl,
4361
- polygon: Ui,
4362
- polygons: Nl,
4363
- radiansToDegrees: Ts,
4364
- radiansToLength: js,
4365
- round: Bl,
4366
- unitsFactors: jl,
4367
- validateBBox: Yl,
4368
- validateId: Xl
4388
+ points: Nl,
4389
+ polygon: Fi,
4390
+ polygons: Il,
4391
+ radiansToDegrees: Ds,
4392
+ radiansToLength: Ts,
4393
+ round: Ul,
4394
+ unitsFactors: Tl,
4395
+ validateBBox: Xl,
4396
+ validateId: Vl
4369
4397
  }, Symbol.toStringTag, { value: "Module" }));
4370
- function Ds(t) {
4398
+ function Ns(t) {
4371
4399
  if (!t)
4372
4400
  throw new Error("coord is required");
4373
4401
  if (!Array.isArray(t)) {
@@ -4398,19 +4426,19 @@ function Te(t, e, r) {
4398
4426
  throw new Error("point is required");
4399
4427
  if (!e)
4400
4428
  throw new Error("polygon is required");
4401
- var i = Ds(t), n = Nt(e), s = n.type, o = e.bbox, l = n.coordinates;
4402
- if (o && Kl(i, o) === !1)
4429
+ var i = Ns(t), n = Nt(e), s = n.type, o = e.bbox, l = n.coordinates;
4430
+ if (o && Jl(i, o) === !1)
4403
4431
  return !1;
4404
4432
  s === "Polygon" && (l = [l]);
4405
4433
  for (var a = !1, h = 0; h < l.length && !a; h++)
4406
- if (zn(i, l[h][0], r.ignoreBoundary)) {
4434
+ if (Yn(i, l[h][0], r.ignoreBoundary)) {
4407
4435
  for (var p = !1, g = 1; g < l[h].length && !p; )
4408
- zn(i, l[h][g], !r.ignoreBoundary) && (p = !0), g++;
4436
+ Yn(i, l[h][g], !r.ignoreBoundary) && (p = !0), g++;
4409
4437
  p || (a = !0);
4410
4438
  }
4411
4439
  return a;
4412
4440
  }
4413
- function zn(t, e, r) {
4441
+ function Yn(t, e, r) {
4414
4442
  var i = !1;
4415
4443
  e[0][0] === e[e.length - 1][0] && e[0][1] === e[e.length - 1][1] && (e = e.slice(0, e.length - 1));
4416
4444
  for (var n = 0, s = e.length - 1; n < e.length; s = n++) {
@@ -4422,10 +4450,10 @@ function zn(t, e, r) {
4422
4450
  }
4423
4451
  return i;
4424
4452
  }
4425
- function Kl(t, e) {
4453
+ function Jl(t, e) {
4426
4454
  return e[0] <= t[0] && e[1] <= t[1] && e[2] >= t[0] && e[3] >= t[1];
4427
4455
  }
4428
- function Bt(t, e, r) {
4456
+ function Ut(t, e, r) {
4429
4457
  if (t !== null)
4430
4458
  for (var i, n, s, o, l, a, h, p = 0, g = 0, b, m = t.type, _ = m === "FeatureCollection", k = m === "Feature", z = _ ? t.features.length : 1, I = 0; I < z; I++) {
4431
4459
  h = _ ? t.features[I].geometry : k ? t.geometry : t, b = h ? h.type === "GeometryCollection" : !1, l = b ? h.geometries.length : 1;
@@ -4502,7 +4530,7 @@ function Bt(t, e, r) {
4502
4530
  break;
4503
4531
  case "GeometryCollection":
4504
4532
  for (i = 0; i < o.geometries.length; i++)
4505
- if (Bt(o.geometries[i], e, r) === !1)
4533
+ if (Ut(o.geometries[i], e, r) === !1)
4506
4534
  return !1;
4507
4535
  break;
4508
4536
  default:
@@ -4512,9 +4540,9 @@ function Bt(t, e, r) {
4512
4540
  }
4513
4541
  }
4514
4542
  }
4515
- function Jl(t, e, r, i) {
4543
+ function Zl(t, e, r, i) {
4516
4544
  var n = r;
4517
- return Bt(
4545
+ return Ut(
4518
4546
  t,
4519
4547
  function(s, o, l, a, h) {
4520
4548
  o === 0 && r === void 0 ? n = s : n = e(
@@ -4529,7 +4557,7 @@ function Jl(t, e, r, i) {
4529
4557
  i
4530
4558
  ), n;
4531
4559
  }
4532
- function Ns(t, e) {
4560
+ function Is(t, e) {
4533
4561
  var r;
4534
4562
  switch (t.type) {
4535
4563
  case "FeatureCollection":
@@ -4541,32 +4569,32 @@ function Ns(t, e) {
4541
4569
  break;
4542
4570
  }
4543
4571
  }
4544
- function Zl(t, e, r) {
4572
+ function Gl(t, e, r) {
4545
4573
  var i = r;
4546
- return Ns(t, function(n, s) {
4574
+ return Is(t, function(n, s) {
4547
4575
  s === 0 && r === void 0 ? i = n : i = e(i, n, s);
4548
4576
  }), i;
4549
4577
  }
4550
- function kr(t, e) {
4578
+ function Or(t, e) {
4551
4579
  if (t.type === "Feature")
4552
4580
  e(t, 0);
4553
4581
  else if (t.type === "FeatureCollection")
4554
4582
  for (var r = 0; r < t.features.length && e(t.features[r], r) !== !1; r++)
4555
4583
  ;
4556
4584
  }
4557
- function Gl(t, e, r) {
4585
+ function Ql(t, e, r) {
4558
4586
  var i = r;
4559
- return kr(t, function(n, s) {
4587
+ return Or(t, function(n, s) {
4560
4588
  s === 0 && r === void 0 ? i = n : i = e(i, n, s);
4561
4589
  }), i;
4562
4590
  }
4563
- function Ql(t) {
4591
+ function ec(t) {
4564
4592
  var e = [];
4565
- return Bt(t, function(r) {
4593
+ return Ut(t, function(r) {
4566
4594
  e.push(r);
4567
4595
  }), e;
4568
4596
  }
4569
- function Wi(t, e) {
4597
+ function Xi(t, e) {
4570
4598
  var r, i, n, s, o, l, a, h, p, g, b = 0, m = t.type === "FeatureCollection", _ = t.type === "Feature", k = m ? t.features.length : 1;
4571
4599
  for (r = 0; r < k; r++) {
4572
4600
  for (l = m ? t.features[r].geometry : _ ? t.geometry : t, h = m ? t.features[r].properties : _ ? t.properties : {}, p = m ? t.features[r].bbox : _ ? t.bbox : void 0, g = m ? t.features[r].id : _ ? t.id : void 0, a = l ? l.type === "GeometryCollection" : !1, o = a ? l.geometries.length : 1, n = 0; n < o; n++) {
@@ -4617,9 +4645,9 @@ function Wi(t, e) {
4617
4645
  b++;
4618
4646
  }
4619
4647
  }
4620
- function ec(t, e, r) {
4648
+ function tc(t, e, r) {
4621
4649
  var i = r;
4622
- return Wi(
4650
+ return Xi(
4623
4651
  t,
4624
4652
  function(n, s, o, l, a) {
4625
4653
  s === 0 && r === void 0 ? i = n : i = e(
@@ -4634,7 +4662,7 @@ function ec(t, e, r) {
4634
4662
  ), i;
4635
4663
  }
4636
4664
  function et(t, e) {
4637
- Wi(t, function(r, i, n, s, o) {
4665
+ Xi(t, function(r, i, n, s, o) {
4638
4666
  var l = r === null ? null : r.type;
4639
4667
  switch (l) {
4640
4668
  case null:
@@ -4642,7 +4670,7 @@ function et(t, e) {
4642
4670
  case "LineString":
4643
4671
  case "Polygon":
4644
4672
  return e(
4645
- Ne(r, n, { bbox: s, id: o }),
4673
+ De(r, n, { bbox: s, id: o }),
4646
4674
  i,
4647
4675
  0
4648
4676
  ) === !1 ? !1 : void 0;
@@ -4664,12 +4692,12 @@ function et(t, e) {
4664
4692
  type: a,
4665
4693
  coordinates: p
4666
4694
  };
4667
- if (e(Ne(g, n), i, h) === !1)
4695
+ if (e(De(g, n), i, h) === !1)
4668
4696
  return !1;
4669
4697
  }
4670
4698
  });
4671
4699
  }
4672
- function tc(t, e, r) {
4700
+ function rc(t, e, r) {
4673
4701
  var i = r;
4674
4702
  return et(
4675
4703
  t,
@@ -4683,21 +4711,21 @@ function tc(t, e, r) {
4683
4711
  }
4684
4712
  ), i;
4685
4713
  }
4686
- function Is(t, e) {
4714
+ function qs(t, e) {
4687
4715
  et(t, function(r, i, n) {
4688
4716
  var s = 0;
4689
4717
  if (r.geometry) {
4690
4718
  var o = r.geometry.type;
4691
4719
  if (!(o === "Point" || o === "MultiPoint")) {
4692
4720
  var l, a = 0, h = 0, p = 0;
4693
- if (Bt(
4721
+ if (Ut(
4694
4722
  r,
4695
4723
  function(g, b, m, _, k) {
4696
4724
  if (l === void 0 || i > a || _ > h || k > p) {
4697
4725
  l = g, a = i, h = _, p = k, s = 0;
4698
4726
  return;
4699
4727
  }
4700
- var z = Be(
4728
+ var z = qe(
4701
4729
  [l, g],
4702
4730
  r.properties
4703
4731
  );
@@ -4717,9 +4745,9 @@ function Is(t, e) {
4717
4745
  }
4718
4746
  });
4719
4747
  }
4720
- function rc(t, e, r) {
4748
+ function ic(t, e, r) {
4721
4749
  var i = r, n = !1;
4722
- return Is(
4750
+ return qs(
4723
4751
  t,
4724
4752
  function(s, o, l, a, h) {
4725
4753
  n === !1 && r === void 0 ? i = s : i = e(
@@ -4733,7 +4761,7 @@ function rc(t, e, r) {
4733
4761
  }
4734
4762
  ), i;
4735
4763
  }
4736
- function qs(t, e) {
4764
+ function Bs(t, e) {
4737
4765
  if (!t)
4738
4766
  throw new Error("geojson is required");
4739
4767
  et(t, function(r, i, n) {
@@ -4747,7 +4775,7 @@ function qs(t, e) {
4747
4775
  case "Polygon":
4748
4776
  for (var l = 0; l < o.length; l++)
4749
4777
  if (e(
4750
- Be(o[l], r.properties),
4778
+ qe(o[l], r.properties),
4751
4779
  i,
4752
4780
  n,
4753
4781
  l
@@ -4758,9 +4786,9 @@ function qs(t, e) {
4758
4786
  }
4759
4787
  });
4760
4788
  }
4761
- function ic(t, e, r) {
4789
+ function nc(t, e, r) {
4762
4790
  var i = r;
4763
- return qs(
4791
+ return Bs(
4764
4792
  t,
4765
4793
  function(n, s, o, l) {
4766
4794
  s === 0 && r === void 0 ? i = n : i = e(
@@ -4773,8 +4801,8 @@ function ic(t, e, r) {
4773
4801
  }
4774
4802
  ), i;
4775
4803
  }
4776
- function nc(t, e) {
4777
- if (e = e || {}, !zi(e))
4804
+ function sc(t, e) {
4805
+ if (e = e || {}, !Yi(e))
4778
4806
  throw new Error("options is invalid");
4779
4807
  var r = e.featureIndex || 0, i = e.multiFeatureIndex || 0, n = e.geometryIndex || 0, s = e.segmentIndex || 0, o = e.properties, l;
4780
4808
  switch (t.type) {
@@ -4804,13 +4832,13 @@ function nc(t, e) {
4804
4832
  case "MultiPoint":
4805
4833
  return null;
4806
4834
  case "LineString":
4807
- return s < 0 && (s = a.length + s - 1), Be(
4835
+ return s < 0 && (s = a.length + s - 1), qe(
4808
4836
  [a[s], a[s + 1]],
4809
4837
  o,
4810
4838
  e
4811
4839
  );
4812
4840
  case "Polygon":
4813
- return n < 0 && (n = a.length + n), s < 0 && (s = a[n].length + s - 1), Be(
4841
+ return n < 0 && (n = a.length + n), s < 0 && (s = a[n].length + s - 1), qe(
4814
4842
  [
4815
4843
  a[n][s],
4816
4844
  a[n][s + 1]
@@ -4819,7 +4847,7 @@ function nc(t, e) {
4819
4847
  e
4820
4848
  );
4821
4849
  case "MultiLineString":
4822
- return i < 0 && (i = a.length + i), s < 0 && (s = a[i].length + s - 1), Be(
4850
+ return i < 0 && (i = a.length + i), s < 0 && (s = a[i].length + s - 1), qe(
4823
4851
  [
4824
4852
  a[i][s],
4825
4853
  a[i][s + 1]
@@ -4828,7 +4856,7 @@ function nc(t, e) {
4828
4856
  e
4829
4857
  );
4830
4858
  case "MultiPolygon":
4831
- return i < 0 && (i = a.length + i), n < 0 && (n = a[i].length + n), s < 0 && (s = a[i][n].length - s - 1), Be(
4859
+ return i < 0 && (i = a.length + i), n < 0 && (n = a[i].length + n), s < 0 && (s = a[i][n].length - s - 1), qe(
4832
4860
  [
4833
4861
  a[i][n][s],
4834
4862
  a[i][n][s + 1]
@@ -4839,8 +4867,8 @@ function nc(t, e) {
4839
4867
  }
4840
4868
  throw new Error("geojson is invalid");
4841
4869
  }
4842
- function sc(t, e) {
4843
- if (e = e || {}, !zi(e))
4870
+ function oc(t, e) {
4871
+ if (e = e || {}, !Yi(e))
4844
4872
  throw new Error("options is invalid");
4845
4873
  var r = e.featureIndex || 0, i = e.multiFeatureIndex || 0, n = e.geometryIndex || 0, s = e.coordIndex || 0, o = e.properties, l;
4846
4874
  switch (t.type) {
@@ -4885,35 +4913,35 @@ function sc(t, e) {
4885
4913
  }
4886
4914
  throw new Error("geojson is invalid");
4887
4915
  }
4888
- const oc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4916
+ const ac = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4889
4917
  __proto__: null,
4890
- coordAll: Ql,
4891
- coordEach: Bt,
4892
- coordReduce: Jl,
4893
- featureEach: kr,
4894
- featureReduce: Gl,
4895
- findPoint: sc,
4896
- findSegment: nc,
4918
+ coordAll: ec,
4919
+ coordEach: Ut,
4920
+ coordReduce: Zl,
4921
+ featureEach: Or,
4922
+ featureReduce: Ql,
4923
+ findPoint: oc,
4924
+ findSegment: sc,
4897
4925
  flattenEach: et,
4898
- flattenReduce: tc,
4899
- geomEach: Wi,
4900
- geomReduce: ec,
4901
- lineEach: qs,
4902
- lineReduce: ic,
4903
- propEach: Ns,
4904
- propReduce: Zl,
4905
- segmentEach: Is,
4906
- segmentReduce: rc
4926
+ flattenReduce: rc,
4927
+ geomEach: Xi,
4928
+ geomReduce: tc,
4929
+ lineEach: Bs,
4930
+ lineReduce: nc,
4931
+ propEach: Is,
4932
+ propReduce: Gl,
4933
+ segmentEach: qs,
4934
+ segmentReduce: ic
4907
4935
  }, Symbol.toStringTag, { value: "Module" }));
4908
- function Wn(t) {
4936
+ function Xn(t) {
4909
4937
  if (!t)
4910
4938
  throw new Error("geojson is required");
4911
4939
  var e = [];
4912
4940
  return et(t, function(r) {
4913
- ac(r, e);
4941
+ lc(r, e);
4914
4942
  }), ct(e);
4915
4943
  }
4916
- function ac(t, e) {
4944
+ function lc(t, e) {
4917
4945
  var r = [], i = t.geometry;
4918
4946
  if (i !== null) {
4919
4947
  switch (i.type) {
@@ -4924,25 +4952,25 @@ function ac(t, e) {
4924
4952
  r = [Dt(i)];
4925
4953
  }
4926
4954
  r.forEach(function(n) {
4927
- var s = lc(n, t.properties);
4955
+ var s = cc(n, t.properties);
4928
4956
  s.forEach(function(o) {
4929
4957
  o.id = e.length, e.push(o);
4930
4958
  });
4931
4959
  });
4932
4960
  }
4933
4961
  }
4934
- function lc(t, e) {
4962
+ function cc(t, e) {
4935
4963
  var r = [];
4936
4964
  return t.reduce(function(i, n) {
4937
- var s = Be([i, n], e);
4938
- return s.bbox = cc(i, n), r.push(s), n;
4965
+ var s = qe([i, n], e);
4966
+ return s.bbox = hc(i, n), r.push(s), n;
4939
4967
  }), r;
4940
4968
  }
4941
- function cc(t, e) {
4969
+ function hc(t, e) {
4942
4970
  var r = t[0], i = t[1], n = e[0], s = e[1], o = r < n ? r : n, l = i < s ? i : s, a = r > n ? r : n, h = i > s ? i : s;
4943
4971
  return [o, l, a, h];
4944
4972
  }
4945
- var Yi = { exports: {} }, Bs = { exports: {} };
4973
+ var Vi = { exports: {} }, Us = { exports: {} };
4946
4974
  (function(t, e) {
4947
4975
  (function(r, i) {
4948
4976
  t.exports = i();
@@ -5173,25 +5201,25 @@ var Yi = { exports: {} }, Bs = { exports: {} };
5173
5201
  f[y].children.length === 0 ? y > 0 ? (w = f[y - 1].children).splice(w.indexOf(f[y]), 1) : this.clear() : l(f[y], this.toBBox);
5174
5202
  }, s;
5175
5203
  });
5176
- })(Bs);
5177
- var hc = Bs.exports;
5178
- const uc = /* @__PURE__ */ Ci(Vl), dc = /* @__PURE__ */ Ci(oc);
5204
+ })(Us);
5205
+ var uc = Us.exports;
5206
+ const dc = /* @__PURE__ */ Ri(Kl), pc = /* @__PURE__ */ Ri(ac);
5179
5207
  function $t(t) {
5180
5208
  var e = [1 / 0, 1 / 0, -1 / 0, -1 / 0];
5181
- return Bt(t, function(r) {
5209
+ return Ut(t, function(r) {
5182
5210
  e[0] > r[0] && (e[0] = r[0]), e[1] > r[1] && (e[1] = r[1]), e[2] < r[0] && (e[2] = r[0]), e[3] < r[1] && (e[3] = r[1]);
5183
5211
  }), e;
5184
5212
  }
5185
5213
  $t.default = $t;
5186
- const pc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5214
+ const fc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5187
5215
  __proto__: null,
5188
5216
  default: $t
5189
- }, Symbol.toStringTag, { value: "Module" })), fc = /* @__PURE__ */ Ci(pc);
5190
- var ze = hc, Us = uc, Hs = dc, At = fc.default, gc = Hs.featureEach;
5191
- Hs.coordEach;
5192
- Us.polygon;
5193
- var Yn = Us.featureCollection;
5194
- function Fs(t) {
5217
+ }, Symbol.toStringTag, { value: "Module" })), gc = /* @__PURE__ */ Ri(fc);
5218
+ var ze = uc, Hs = dc, Fs = pc, At = gc.default, yc = Fs.featureEach;
5219
+ Fs.coordEach;
5220
+ Hs.polygon;
5221
+ var Vn = Hs.featureCollection;
5222
+ function zs(t) {
5195
5223
  var e = new ze(t);
5196
5224
  return e.insert = function(r) {
5197
5225
  if (r.type !== "Feature")
@@ -5203,7 +5231,7 @@ function Fs(t) {
5203
5231
  if (n.type !== "Feature")
5204
5232
  throw new Error("invalid features");
5205
5233
  n.bbox = n.bbox ? n.bbox : At(n), i.push(n);
5206
- }) : gc(r, function(n) {
5234
+ }) : yc(r, function(n) {
5207
5235
  if (n.type !== "Feature")
5208
5236
  throw new Error("invalid features");
5209
5237
  n.bbox = n.bbox ? n.bbox : At(n), i.push(n);
@@ -5216,12 +5244,12 @@ function Fs(t) {
5216
5244
  return ze.prototype.clear.call(this);
5217
5245
  }, e.search = function(r) {
5218
5246
  var i = ze.prototype.search.call(this, this.toBBox(r));
5219
- return Yn(i);
5247
+ return Vn(i);
5220
5248
  }, e.collides = function(r) {
5221
5249
  return ze.prototype.collides.call(this, this.toBBox(r));
5222
5250
  }, e.all = function() {
5223
5251
  var r = ze.prototype.all.call(this);
5224
- return Yn(r);
5252
+ return Vn(r);
5225
5253
  }, e.toJSON = function() {
5226
5254
  return ze.prototype.toJSON.call(this);
5227
5255
  }, e.fromJSON = function(r) {
@@ -5248,20 +5276,20 @@ function Fs(t) {
5248
5276
  };
5249
5277
  }, e;
5250
5278
  }
5251
- Yi.exports = Fs;
5252
- Yi.exports.default = Fs;
5253
- var yc = Yi.exports;
5254
- const mc = /* @__PURE__ */ Li(yc);
5255
- function Xi(t, e) {
5279
+ Vi.exports = zs;
5280
+ Vi.exports.default = zs;
5281
+ var mc = Vi.exports;
5282
+ const vc = /* @__PURE__ */ Ci(mc);
5283
+ function Ki(t, e) {
5256
5284
  var r = {}, i = [];
5257
- if (t.type === "LineString" && (t = Ne(t)), e.type === "LineString" && (e = Ne(e)), t.type === "Feature" && e.type === "Feature" && t.geometry !== null && e.geometry !== null && t.geometry.type === "LineString" && e.geometry.type === "LineString" && t.geometry.coordinates.length === 2 && e.geometry.coordinates.length === 2) {
5258
- var n = Xn(t, e);
5285
+ if (t.type === "LineString" && (t = De(t)), e.type === "LineString" && (e = De(e)), t.type === "Feature" && e.type === "Feature" && t.geometry !== null && e.geometry !== null && t.geometry.type === "LineString" && e.geometry.type === "LineString" && t.geometry.coordinates.length === 2 && e.geometry.coordinates.length === 2) {
5286
+ var n = Kn(t, e);
5259
5287
  return n && i.push(n), ct(i);
5260
5288
  }
5261
- var s = mc();
5262
- return s.load(Wn(e)), kr(Wn(t), function(o) {
5263
- kr(s.search(o), function(l) {
5264
- var a = Xn(o, l);
5289
+ var s = vc();
5290
+ return s.load(Xn(e)), Or(Xn(t), function(o) {
5291
+ Or(s.search(o), function(l) {
5292
+ var a = Kn(o, l);
5265
5293
  if (a) {
5266
5294
  var h = Dt(a).join(",");
5267
5295
  r[h] || (r[h] = !0, i.push(a));
@@ -5269,7 +5297,7 @@ function Xi(t, e) {
5269
5297
  });
5270
5298
  }), ct(i);
5271
5299
  }
5272
- function Xn(t, e) {
5300
+ function Kn(t, e) {
5273
5301
  var r = Dt(t), i = Dt(e);
5274
5302
  if (r.length !== 2)
5275
5303
  throw new Error("<intersects> line1 must only contain 2 coordinates");
@@ -5285,51 +5313,51 @@ function Xn(t, e) {
5285
5313
  }
5286
5314
  return null;
5287
5315
  }
5288
- function vi(t, e) {
5316
+ function bi(t, e) {
5289
5317
  e === void 0 && (e = {});
5290
5318
  var r = Nt(t);
5291
5319
  switch (!e.properties && t.type === "Feature" && (e.properties = t.properties), r.type) {
5292
5320
  case "Polygon":
5293
- return vc(r, e);
5294
- case "MultiPolygon":
5295
5321
  return bc(r, e);
5322
+ case "MultiPolygon":
5323
+ return xc(r, e);
5296
5324
  default:
5297
5325
  throw new Error("invalid poly");
5298
5326
  }
5299
5327
  }
5300
- function vc(t, e) {
5328
+ function bc(t, e) {
5301
5329
  e === void 0 && (e = {});
5302
5330
  var r = Nt(t), i = r.coordinates, n = e.properties ? e.properties : t.type === "Feature" ? t.properties : {};
5303
- return zs(i, n);
5331
+ return Ws(i, n);
5304
5332
  }
5305
- function bc(t, e) {
5333
+ function xc(t, e) {
5306
5334
  e === void 0 && (e = {});
5307
5335
  var r = Nt(t), i = r.coordinates, n = e.properties ? e.properties : t.type === "Feature" ? t.properties : {}, s = [];
5308
5336
  return i.forEach(function(o) {
5309
- s.push(zs(o, n));
5337
+ s.push(Ws(o, n));
5310
5338
  }), ct(s);
5311
5339
  }
5312
- function zs(t, e) {
5313
- return t.length > 1 ? Hi(t, e) : Be(t[0], e);
5340
+ function Ws(t, e) {
5341
+ return t.length > 1 ? zi(t, e) : qe(t[0], e);
5314
5342
  }
5315
- function xc(t, e) {
5343
+ function wc(t, e) {
5316
5344
  var r = !0;
5317
5345
  return et(t, function(i) {
5318
5346
  et(e, function(n) {
5319
5347
  if (r === !1)
5320
5348
  return !1;
5321
- r = wc(i.geometry, n.geometry);
5349
+ r = $c(i.geometry, n.geometry);
5322
5350
  });
5323
5351
  }), r;
5324
5352
  }
5325
- function wc(t, e) {
5353
+ function $c(t, e) {
5326
5354
  switch (t.type) {
5327
5355
  case "Point":
5328
5356
  switch (e.type) {
5329
5357
  case "Point":
5330
- return !Sc(t.coordinates, e.coordinates);
5358
+ return !Mc(t.coordinates, e.coordinates);
5331
5359
  case "LineString":
5332
- return !Vn(e, t);
5360
+ return !Jn(e, t);
5333
5361
  case "Polygon":
5334
5362
  return !Te(t, e);
5335
5363
  }
@@ -5337,11 +5365,11 @@ function wc(t, e) {
5337
5365
  case "LineString":
5338
5366
  switch (e.type) {
5339
5367
  case "Point":
5340
- return !Vn(t, e);
5368
+ return !Jn(t, e);
5341
5369
  case "LineString":
5342
- return !$c(t, e);
5370
+ return !_c(t, e);
5343
5371
  case "Polygon":
5344
- return !Kn(e, t);
5372
+ return !Zn(e, t);
5345
5373
  }
5346
5374
  break;
5347
5375
  case "Polygon":
@@ -5349,33 +5377,33 @@ function wc(t, e) {
5349
5377
  case "Point":
5350
5378
  return !Te(e, t);
5351
5379
  case "LineString":
5352
- return !Kn(t, e);
5380
+ return !Zn(t, e);
5353
5381
  case "Polygon":
5354
- return !_c(e, t);
5382
+ return !Ec(e, t);
5355
5383
  }
5356
5384
  }
5357
5385
  return !1;
5358
5386
  }
5359
- function Vn(t, e) {
5387
+ function Jn(t, e) {
5360
5388
  for (var r = 0; r < t.coordinates.length - 1; r++)
5361
- if (Ec(t.coordinates[r], t.coordinates[r + 1], e.coordinates))
5389
+ if (Sc(t.coordinates[r], t.coordinates[r + 1], e.coordinates))
5362
5390
  return !0;
5363
5391
  return !1;
5364
5392
  }
5365
- function $c(t, e) {
5366
- var r = Xi(t, e);
5393
+ function _c(t, e) {
5394
+ var r = Ki(t, e);
5367
5395
  return r.features.length > 0;
5368
5396
  }
5369
- function Kn(t, e) {
5397
+ function Zn(t, e) {
5370
5398
  for (var r = 0, i = e.coordinates; r < i.length; r++) {
5371
5399
  var n = i[r];
5372
5400
  if (Te(n, t))
5373
5401
  return !0;
5374
5402
  }
5375
- var s = Xi(e, vi(t));
5403
+ var s = Ki(e, bi(t));
5376
5404
  return s.features.length > 0;
5377
5405
  }
5378
- function _c(t, e) {
5406
+ function Ec(t, e) {
5379
5407
  for (var r = 0, i = t.coordinates[0]; r < i.length; r++) {
5380
5408
  var n = i[r];
5381
5409
  if (Te(n, e))
@@ -5386,36 +5414,36 @@ function _c(t, e) {
5386
5414
  if (Te(l, t))
5387
5415
  return !0;
5388
5416
  }
5389
- var a = Xi(vi(t), vi(e));
5417
+ var a = Ki(bi(t), bi(e));
5390
5418
  return a.features.length > 0;
5391
5419
  }
5392
- function Ec(t, e, r) {
5420
+ function Sc(t, e, r) {
5393
5421
  var i = r[0] - t[0], n = r[1] - t[1], s = e[0] - t[0], o = e[1] - t[1], l = i * o - n * s;
5394
5422
  return l !== 0 ? !1 : Math.abs(s) >= Math.abs(o) ? s > 0 ? t[0] <= r[0] && r[0] <= e[0] : e[0] <= r[0] && r[0] <= t[0] : o > 0 ? t[1] <= r[1] && r[1] <= e[1] : e[1] <= r[1] && r[1] <= t[1];
5395
5423
  }
5396
- function Sc(t, e) {
5424
+ function Mc(t, e) {
5397
5425
  return t[0] === e[0] && t[1] === e[1];
5398
5426
  }
5399
- function Mc(t, e) {
5427
+ function Ac(t, e) {
5400
5428
  var r = !1;
5401
5429
  return et(t, function(i) {
5402
5430
  et(e, function(n) {
5403
5431
  if (r === !0)
5404
5432
  return !0;
5405
- r = !xc(i.geometry, n.geometry);
5433
+ r = !wc(i.geometry, n.geometry);
5406
5434
  });
5407
5435
  }), r;
5408
5436
  }
5409
- function Or(t, e, r) {
5437
+ function Pr(t, e, r) {
5410
5438
  r === void 0 && (r = {});
5411
- for (var i = Ds(t), n = Dt(e), s = 0; s < n.length - 1; s++) {
5439
+ for (var i = Ns(t), n = Dt(e), s = 0; s < n.length - 1; s++) {
5412
5440
  var o = !1;
5413
- if (r.ignoreEndVertices && (s === 0 && (o = "start"), s === n.length - 2 && (o = "end"), s === 0 && s + 1 === n.length - 1 && (o = "both")), Ac(n[s], n[s + 1], i, o, typeof r.epsilon > "u" ? null : r.epsilon))
5441
+ if (r.ignoreEndVertices && (s === 0 && (o = "start"), s === n.length - 2 && (o = "end"), s === 0 && s + 1 === n.length - 1 && (o = "both")), kc(n[s], n[s + 1], i, o, typeof r.epsilon > "u" ? null : r.epsilon))
5414
5442
  return !0;
5415
5443
  }
5416
5444
  return !1;
5417
5445
  }
5418
- function Ac(t, e, r, i, n) {
5446
+ function kc(t, e, r, i, n) {
5419
5447
  var s = r[0], o = r[1], l = t[0], a = t[1], h = e[0], p = e[1], g = r[0] - l, b = r[1] - a, m = h - l, _ = p - a, k = g * _ - b * m;
5420
5448
  if (n !== null) {
5421
5449
  if (Math.abs(k) > n)
@@ -5433,15 +5461,15 @@ function Ac(t, e, r, i, n) {
5433
5461
  return Math.abs(m) >= Math.abs(_) ? m > 0 ? l <= s && s <= h : h <= s && s <= l : _ > 0 ? a <= o && o <= p : p <= o && o <= a;
5434
5462
  return !1;
5435
5463
  }
5436
- function kc(t, e) {
5464
+ function Oc(t, e) {
5437
5465
  var r = Nt(t), i = Nt(e), n = r.type, s = i.type;
5438
5466
  switch (n) {
5439
5467
  case "Point":
5440
5468
  switch (s) {
5441
5469
  case "MultiPoint":
5442
- return Oc(r, i);
5470
+ return Pc(r, i);
5443
5471
  case "LineString":
5444
- return Or(r, i, { ignoreEndVertices: !0 });
5472
+ return Pr(r, i, { ignoreEndVertices: !0 });
5445
5473
  case "Polygon":
5446
5474
  case "MultiPolygon":
5447
5475
  return Te(r, i, { ignoreBoundary: !0 });
@@ -5451,22 +5479,22 @@ function kc(t, e) {
5451
5479
  case "MultiPoint":
5452
5480
  switch (s) {
5453
5481
  case "MultiPoint":
5454
- return Pc(r, i);
5455
- case "LineString":
5456
5482
  return Lc(r, i);
5483
+ case "LineString":
5484
+ return Cc(r, i);
5457
5485
  case "Polygon":
5458
5486
  case "MultiPolygon":
5459
- return Cc(r, i);
5487
+ return Rc(r, i);
5460
5488
  default:
5461
5489
  throw new Error("feature2 " + s + " geometry not supported");
5462
5490
  }
5463
5491
  case "LineString":
5464
5492
  switch (s) {
5465
5493
  case "LineString":
5466
- return Rc(r, i);
5494
+ return jc(r, i);
5467
5495
  case "Polygon":
5468
5496
  case "MultiPolygon":
5469
- return jc(r, i);
5497
+ return Tc(r, i);
5470
5498
  default:
5471
5499
  throw new Error("feature2 " + s + " geometry not supported");
5472
5500
  }
@@ -5474,7 +5502,7 @@ function kc(t, e) {
5474
5502
  switch (s) {
5475
5503
  case "Polygon":
5476
5504
  case "MultiPolygon":
5477
- return Tc(r, i);
5505
+ return Dc(r, i);
5478
5506
  default:
5479
5507
  throw new Error("feature2 " + s + " geometry not supported");
5480
5508
  }
@@ -5482,33 +5510,33 @@ function kc(t, e) {
5482
5510
  throw new Error("feature1 " + n + " geometry not supported");
5483
5511
  }
5484
5512
  }
5485
- function Oc(t, e) {
5513
+ function Pc(t, e) {
5486
5514
  var r, i = !1;
5487
5515
  for (r = 0; r < e.coordinates.length; r++)
5488
- if (Ys(e.coordinates[r], t.coordinates)) {
5516
+ if (Xs(e.coordinates[r], t.coordinates)) {
5489
5517
  i = !0;
5490
5518
  break;
5491
5519
  }
5492
5520
  return i;
5493
5521
  }
5494
- function Pc(t, e) {
5522
+ function Lc(t, e) {
5495
5523
  for (var r = 0; r < t.coordinates.length; r++) {
5496
5524
  for (var i = !1, n = 0; n < e.coordinates.length; n++)
5497
- Ys(t.coordinates[r], e.coordinates[n]) && (i = !0);
5525
+ Xs(t.coordinates[r], e.coordinates[n]) && (i = !0);
5498
5526
  if (!i)
5499
5527
  return !1;
5500
5528
  }
5501
5529
  return !0;
5502
5530
  }
5503
- function Lc(t, e) {
5531
+ function Cc(t, e) {
5504
5532
  for (var r = !1, i = 0; i < t.coordinates.length; i++) {
5505
- if (!Or(t.coordinates[i], e))
5533
+ if (!Pr(t.coordinates[i], e))
5506
5534
  return !1;
5507
- r || (r = Or(t.coordinates[i], e, { ignoreEndVertices: !0 }));
5535
+ r || (r = Pr(t.coordinates[i], e, { ignoreEndVertices: !0 }));
5508
5536
  }
5509
5537
  return r;
5510
5538
  }
5511
- function Cc(t, e) {
5539
+ function Rc(t, e) {
5512
5540
  for (var r = !0, i = !1, n = 0; n < t.coordinates.length; n++) {
5513
5541
  if (i = Te(t.coordinates[1], e), !i) {
5514
5542
  r = !1;
@@ -5520,21 +5548,21 @@ function Cc(t, e) {
5520
5548
  }
5521
5549
  return r && i;
5522
5550
  }
5523
- function Rc(t, e) {
5551
+ function jc(t, e) {
5524
5552
  for (var r = 0; r < t.coordinates.length; r++)
5525
- if (!Or(t.coordinates[r], e))
5553
+ if (!Pr(t.coordinates[r], e))
5526
5554
  return !1;
5527
5555
  return !0;
5528
5556
  }
5529
- function jc(t, e) {
5557
+ function Tc(t, e) {
5530
5558
  var r = $t(e), i = $t(t);
5531
- if (!Ws(r, i))
5559
+ if (!Ys(r, i))
5532
5560
  return !1;
5533
5561
  for (var n = !1, s = 0; s < t.coordinates.length - 1; s++) {
5534
5562
  if (!Te(t.coordinates[s], e))
5535
5563
  return !1;
5536
5564
  if (n || (n = Te(t.coordinates[s], e, { ignoreBoundary: !0 })), !n) {
5537
- var o = Dc(t.coordinates[s], t.coordinates[s + 1]);
5565
+ var o = Nc(t.coordinates[s], t.coordinates[s + 1]);
5538
5566
  n = Te(o, e, {
5539
5567
  ignoreBoundary: !0
5540
5568
  });
@@ -5542,31 +5570,31 @@ function jc(t, e) {
5542
5570
  }
5543
5571
  return n;
5544
5572
  }
5545
- function Tc(t, e) {
5573
+ function Dc(t, e) {
5546
5574
  var r = $t(t), i = $t(e);
5547
- if (!Ws(i, r))
5575
+ if (!Ys(i, r))
5548
5576
  return !1;
5549
5577
  for (var n = 0; n < t.coordinates[0].length; n++)
5550
5578
  if (!Te(t.coordinates[0][n], e))
5551
5579
  return !1;
5552
5580
  return !0;
5553
5581
  }
5554
- function Ws(t, e) {
5582
+ function Ys(t, e) {
5555
5583
  return !(t[0] > e[0] || t[2] < e[2] || t[1] > e[1] || t[3] < e[3]);
5556
5584
  }
5557
- function Ys(t, e) {
5585
+ function Xs(t, e) {
5558
5586
  return t[0] === e[0] && t[1] === e[1];
5559
5587
  }
5560
- function Dc(t, e) {
5588
+ function Nc(t, e) {
5561
5589
  return [(t[0] + e[0]) / 2, (t[1] + e[1]) / 2];
5562
5590
  }
5563
- var Nc = Object.defineProperty, Ic = Object.getOwnPropertyDescriptor, sr = (t, e, r, i) => {
5564
- for (var n = i > 1 ? void 0 : i ? Ic(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5591
+ var Ic = Object.defineProperty, qc = Object.getOwnPropertyDescriptor, or = (t, e, r, i) => {
5592
+ for (var n = i > 1 ? void 0 : i ? qc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5565
5593
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
5566
- return i && n && Nc(e, r, n), n;
5594
+ return i && n && Ic(e, r, n), n;
5567
5595
  };
5568
- const qc = (t, e) => e ? Mc(t, e) : !0, Bc = (t, e) => e ? kc(t, e) : !0;
5569
- let bi = class extends _e {
5596
+ const Bc = (t, e) => e ? Ac(t, e) : !0, Uc = (t, e) => e ? Oc(t, e) : !0;
5597
+ let xi = class extends _e {
5570
5598
  reset() {
5571
5599
  qt(this.filterObject), this.renderRoot.querySelector(
5572
5600
  "eox-itemfilter-spatial-filter"
@@ -5583,7 +5611,7 @@ let bi = class extends _e {
5583
5611
  var t;
5584
5612
  return F`
5585
5613
  <form style="display: inline">
5586
- ${Vt(
5614
+ ${Kt(
5587
5615
  ["intersects", "within"],
5588
5616
  (e) => F`
5589
5617
  <label>
@@ -5620,13 +5648,13 @@ let bi = class extends _e {
5620
5648
  );
5621
5649
  }
5622
5650
  };
5623
- sr([
5651
+ or([
5624
5652
  G()
5625
- ], bi.prototype, "filterObject", 2);
5626
- bi = sr([
5653
+ ], xi.prototype, "filterObject", 2);
5654
+ xi = or([
5627
5655
  Re("eox-itemfilter-spatial")
5628
- ], bi);
5629
- let Pr = class extends _e {
5656
+ ], xi);
5657
+ let Lr = class extends _e {
5630
5658
  render() {
5631
5659
  return F`<eox-map part="map" style="height: 400px"></eox-map>`;
5632
5660
  }
@@ -5715,28 +5743,28 @@ let Pr = class extends _e {
5715
5743
  ((t = e.getFeatures()) == null ? void 0 : t.length) > 0 && (e.clear(), this.eoxMap.removeInteraction("drawInteraction_modify"), this.setup());
5716
5744
  }
5717
5745
  };
5718
- sr([
5746
+ or([
5719
5747
  G()
5720
- ], Pr.prototype, "geometry", 2);
5721
- sr([
5748
+ ], Lr.prototype, "geometry", 2);
5749
+ or([
5722
5750
  rt()
5723
- ], Pr.prototype, "eoxMap", 2);
5724
- Pr = sr([
5751
+ ], Lr.prototype, "eoxMap", 2);
5752
+ Lr = or([
5725
5753
  Re("eox-itemfilter-spatial-filter")
5726
- ], Pr);
5727
- var Uc = Object.defineProperty, Hc = Object.getOwnPropertyDescriptor, Xs = (t, e, r, i) => {
5728
- for (var n = i > 1 ? void 0 : i ? Hc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5754
+ ], Lr);
5755
+ var Hc = Object.defineProperty, Fc = Object.getOwnPropertyDescriptor, Vs = (t, e, r, i) => {
5756
+ for (var n = i > 1 ? void 0 : i ? Fc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5729
5757
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
5730
- return i && n && Uc(e, r, n), n;
5758
+ return i && n && Hc(e, r, n), n;
5731
5759
  };
5732
- let xi = class extends _e {
5760
+ let wi = class extends _e {
5733
5761
  constructor() {
5734
5762
  super(...arguments), this.inputHandler = () => {
5735
5763
  const t = this.renderRoot.querySelector("input[type='text']");
5736
5764
  this.filterObject.keys.forEach((e) => {
5737
5765
  this.filterObject.state[e] = t.value;
5738
5766
  }), this.filterObject.dirty = !0, this.filterObject.stringifiedState = t.value, this.dispatchEvent(new CustomEvent("filter"));
5739
- }, this.debouncedInputHandler = Ps(this.inputHandler, 500, {
5767
+ }, this.debouncedInputHandler = Ls(this.inputHandler, 500, {
5740
5768
  leading: !0
5741
5769
  });
5742
5770
  }
@@ -5772,16 +5800,16 @@ let xi = class extends _e {
5772
5800
  );
5773
5801
  }
5774
5802
  };
5775
- Xs([
5803
+ Vs([
5776
5804
  G()
5777
- ], xi.prototype, "filterObject", 2);
5778
- xi = Xs([
5805
+ ], wi.prototype, "filterObject", 2);
5806
+ wi = Vs([
5779
5807
  Re("eox-itemfilter-text")
5780
- ], xi);
5781
- var Fc = Object.defineProperty, zc = Object.getOwnPropertyDescriptor, _t = (t, e, r, i) => {
5782
- for (var n = i > 1 ? void 0 : i ? zc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5808
+ ], wi);
5809
+ var zc = Object.defineProperty, Wc = Object.getOwnPropertyDescriptor, _t = (t, e, r, i) => {
5810
+ for (var n = i > 1 ? void 0 : i ? Wc(e, r) : e, s = t.length - 1, o; s >= 0; s--)
5783
5811
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
5784
- return i && n && Fc(e, r, n), n;
5812
+ return i && n && zc(e, r, n), n;
5785
5813
  };
5786
5814
  let ht = class extends _e {
5787
5815
  constructor() {
@@ -5827,7 +5855,7 @@ let ht = class extends _e {
5827
5855
  display: flex;
5828
5856
  }
5829
5857
  ${this.unstyled ? ae : F`
5830
- ${ji} :host { position: relative; } .container { width: 100%;
5858
+ ${Ti} :host { position: relative; } .container { width: 100%;
5831
5859
  position: relative; border: 1px solid #00417066; border-radius:
5832
5860
  4px; height: 24px; padding: 5px; flex: 1; justify-content:
5833
5861
  space-between; cursor: text; transition: all 0.2s ease-in-out;
@@ -5924,7 +5952,7 @@ let ht = class extends _e {
5924
5952
  )}
5925
5953
  ${de(
5926
5954
  this.items.find((t) => t._inProgress),
5927
- () => wr`
5955
+ () => $r`
5928
5956
  <eox-itemfilter-${Ot(
5929
5957
  this.items.find((t) => t._inProgress).type
5930
5958
  )}
@@ -5990,49 +6018,49 @@ ht = _t([
5990
6018
  Re("eox-itemfilter-inline")
5991
6019
  ], ht);
5992
6020
  function tt(t) {
5993
- return Array.isArray ? Array.isArray(t) : Js(t) === "[object Array]";
6021
+ return Array.isArray ? Array.isArray(t) : Zs(t) === "[object Array]";
5994
6022
  }
5995
- const Wc = 1 / 0;
5996
- function Yc(t) {
6023
+ const Yc = 1 / 0;
6024
+ function Xc(t) {
5997
6025
  if (typeof t == "string")
5998
6026
  return t;
5999
6027
  let e = t + "";
6000
- return e == "0" && 1 / t == -Wc ? "-0" : e;
6028
+ return e == "0" && 1 / t == -Yc ? "-0" : e;
6001
6029
  }
6002
- function Xc(t) {
6003
- return t == null ? "" : Yc(t);
6030
+ function Vc(t) {
6031
+ return t == null ? "" : Xc(t);
6004
6032
  }
6005
6033
  function Ye(t) {
6006
6034
  return typeof t == "string";
6007
6035
  }
6008
- function Vs(t) {
6036
+ function Ks(t) {
6009
6037
  return typeof t == "number";
6010
6038
  }
6011
- function Vc(t) {
6012
- return t === !0 || t === !1 || Kc(t) && Js(t) == "[object Boolean]";
6039
+ function Kc(t) {
6040
+ return t === !0 || t === !1 || Jc(t) && Zs(t) == "[object Boolean]";
6013
6041
  }
6014
- function Ks(t) {
6042
+ function Js(t) {
6015
6043
  return typeof t == "object";
6016
6044
  }
6017
- function Kc(t) {
6018
- return Ks(t) && t !== null;
6045
+ function Jc(t) {
6046
+ return Js(t) && t !== null;
6019
6047
  }
6020
6048
  function Le(t) {
6021
6049
  return t != null;
6022
6050
  }
6023
- function di(t) {
6051
+ function pi(t) {
6024
6052
  return !t.trim().length;
6025
6053
  }
6026
- function Js(t) {
6054
+ function Zs(t) {
6027
6055
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
6028
6056
  }
6029
- const Jc = "Incorrect 'index' type", Zc = (t) => `Invalid value for key ${t}`, Gc = (t) => `Pattern length exceeds max of ${t}.`, Qc = (t) => `Missing ${t} property in key`, eh = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Jn = Object.prototype.hasOwnProperty;
6030
- class th {
6057
+ const Zc = "Incorrect 'index' type", Gc = (t) => `Invalid value for key ${t}`, Qc = (t) => `Pattern length exceeds max of ${t}.`, eh = (t) => `Missing ${t} property in key`, th = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Gn = Object.prototype.hasOwnProperty;
6058
+ class rh {
6031
6059
  constructor(e) {
6032
6060
  this._keys = [], this._keyMap = {};
6033
6061
  let r = 0;
6034
6062
  e.forEach((i) => {
6035
- let n = Zs(i);
6063
+ let n = Gs(i);
6036
6064
  this._keys.push(n), this._keyMap[n.id] = n, r += n.weight;
6037
6065
  }), this._keys.forEach((i) => {
6038
6066
  i.weight /= r;
@@ -6048,27 +6076,27 @@ class th {
6048
6076
  return JSON.stringify(this._keys);
6049
6077
  }
6050
6078
  }
6051
- function Zs(t) {
6079
+ function Gs(t) {
6052
6080
  let e = null, r = null, i = null, n = 1, s = null;
6053
6081
  if (Ye(t) || tt(t))
6054
- i = t, e = Zn(t), r = wi(t);
6082
+ i = t, e = Qn(t), r = $i(t);
6055
6083
  else {
6056
- if (!Jn.call(t, "name"))
6057
- throw new Error(Qc("name"));
6084
+ if (!Gn.call(t, "name"))
6085
+ throw new Error(eh("name"));
6058
6086
  const o = t.name;
6059
- if (i = o, Jn.call(t, "weight") && (n = t.weight, n <= 0))
6060
- throw new Error(eh(o));
6061
- e = Zn(o), r = wi(o), s = t.getFn;
6087
+ if (i = o, Gn.call(t, "weight") && (n = t.weight, n <= 0))
6088
+ throw new Error(th(o));
6089
+ e = Qn(o), r = $i(o), s = t.getFn;
6062
6090
  }
6063
6091
  return { path: e, id: r, weight: n, src: i, getFn: s };
6064
6092
  }
6065
- function Zn(t) {
6093
+ function Qn(t) {
6066
6094
  return tt(t) ? t : t.split(".");
6067
6095
  }
6068
- function wi(t) {
6096
+ function $i(t) {
6069
6097
  return tt(t) ? t.join(".") : t;
6070
6098
  }
6071
- function rh(t, e) {
6099
+ function ih(t, e) {
6072
6100
  let r = [], i = !1;
6073
6101
  const n = (s, o, l) => {
6074
6102
  if (Le(s))
@@ -6079,8 +6107,8 @@ function rh(t, e) {
6079
6107
  const h = s[a];
6080
6108
  if (!Le(h))
6081
6109
  return;
6082
- if (l === o.length - 1 && (Ye(h) || Vs(h) || Vc(h)))
6083
- r.push(Xc(h));
6110
+ if (l === o.length - 1 && (Ye(h) || Ks(h) || Kc(h)))
6111
+ r.push(Vc(h));
6084
6112
  else if (tt(h)) {
6085
6113
  i = !0;
6086
6114
  for (let p = 0, g = h.length; p < g; p += 1)
@@ -6091,7 +6119,7 @@ function rh(t, e) {
6091
6119
  };
6092
6120
  return n(t, Ye(e) ? e.split(".") : e, 0), i ? r : r[0];
6093
6121
  }
6094
- const ih = {
6122
+ const nh = {
6095
6123
  // Whether the matches should be included in the result set. When `true`, each record in the result
6096
6124
  // set will include the indices of the matched characters.
6097
6125
  // These can consequently be used for highlighting purposes.
@@ -6101,7 +6129,7 @@ const ih = {
6101
6129
  findAllMatches: !1,
6102
6130
  // Minimum number of characters that must be matched before a result is considered a match
6103
6131
  minMatchCharLength: 1
6104
- }, nh = {
6132
+ }, sh = {
6105
6133
  // When `true`, the algorithm continues searching to the end of the input even if a perfect
6106
6134
  // match is found before the end of the same input.
6107
6135
  isCaseSensitive: !1,
@@ -6113,7 +6141,7 @@ const ih = {
6113
6141
  shouldSort: !0,
6114
6142
  // Default sort function: sort by ascending score, ascending index
6115
6143
  sortFn: (t, e) => t.score === e.score ? t.idx < e.idx ? -1 : 1 : t.score < e.score ? -1 : 1
6116
- }, sh = {
6144
+ }, oh = {
6117
6145
  // Approximately where in the text is the pattern expected to be found?
6118
6146
  location: 0,
6119
6147
  // At what point does the match algorithm give up. A threshold of '0.0' requires a perfect match
@@ -6125,12 +6153,12 @@ const ih = {
6125
6153
  // the exact location specified, a threshold of '1000' would require a perfect match
6126
6154
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
6127
6155
  distance: 100
6128
- }, oh = {
6156
+ }, ah = {
6129
6157
  // When `true`, it enables the use of unix-like search commands
6130
6158
  useExtendedSearch: !1,
6131
6159
  // The get function to use when fetching an object's properties.
6132
6160
  // The default will search nested paths *ie foo.bar.baz*
6133
- getFn: rh,
6161
+ getFn: ih,
6134
6162
  // When `true`, search will ignore `location` and `distance`, so it won't matter
6135
6163
  // where in the string the pattern appears.
6136
6164
  // More info: https://fusejs.io/concepts/scoring-theory.html#fuzziness-score
@@ -6143,17 +6171,17 @@ const ih = {
6143
6171
  fieldNormWeight: 1
6144
6172
  };
6145
6173
  var J = {
6146
- ...nh,
6147
- ...ih,
6148
6174
  ...sh,
6149
- ...oh
6175
+ ...nh,
6176
+ ...oh,
6177
+ ...ah
6150
6178
  };
6151
- const ah = /[^ ]+/g;
6152
- function lh(t = 1, e = 3) {
6179
+ const lh = /[^ ]+/g;
6180
+ function ch(t = 1, e = 3) {
6153
6181
  const r = /* @__PURE__ */ new Map(), i = Math.pow(10, e);
6154
6182
  return {
6155
6183
  get(n) {
6156
- const s = n.match(ah).length;
6184
+ const s = n.match(lh).length;
6157
6185
  if (r.has(s))
6158
6186
  return r.get(s);
6159
6187
  const o = 1 / Math.pow(s, 0.5 * t), l = parseFloat(Math.round(o * i) / i);
@@ -6164,12 +6192,12 @@ function lh(t = 1, e = 3) {
6164
6192
  }
6165
6193
  };
6166
6194
  }
6167
- class Vi {
6195
+ class Ji {
6168
6196
  constructor({
6169
6197
  getFn: e = J.getFn,
6170
6198
  fieldNormWeight: r = J.fieldNormWeight
6171
6199
  } = {}) {
6172
- this.norm = lh(r, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
6200
+ this.norm = ch(r, 3), this.getFn = e, this.isCreated = !1, this.setIndexRecords();
6173
6201
  }
6174
6202
  setSources(e = []) {
6175
6203
  this.docs = e;
@@ -6207,7 +6235,7 @@ class Vi {
6207
6235
  return this.records.length;
6208
6236
  }
6209
6237
  _addString(e, r) {
6210
- if (!Le(e) || di(e))
6238
+ if (!Le(e) || pi(e))
6211
6239
  return;
6212
6240
  let i = {
6213
6241
  v: e,
@@ -6227,7 +6255,7 @@ class Vi {
6227
6255
  for (; a.length; ) {
6228
6256
  const { nestedArrIndex: h, value: p } = a.pop();
6229
6257
  if (Le(p))
6230
- if (Ye(p) && !di(p)) {
6258
+ if (Ye(p) && !pi(p)) {
6231
6259
  let g = {
6232
6260
  v: p,
6233
6261
  i: h,
@@ -6243,7 +6271,7 @@ class Vi {
6243
6271
  });
6244
6272
  }
6245
6273
  i.$[s] = l;
6246
- } else if (Ye(o) && !di(o)) {
6274
+ } else if (Ye(o) && !pi(o)) {
6247
6275
  let l = {
6248
6276
  v: o,
6249
6277
  n: this.norm.get(o)
@@ -6260,15 +6288,15 @@ class Vi {
6260
6288
  };
6261
6289
  }
6262
6290
  }
6263
- function Gs(t, e, { getFn: r = J.getFn, fieldNormWeight: i = J.fieldNormWeight } = {}) {
6264
- const n = new Vi({ getFn: r, fieldNormWeight: i });
6265
- return n.setKeys(t.map(Zs)), n.setSources(e), n.create(), n;
6291
+ function Qs(t, e, { getFn: r = J.getFn, fieldNormWeight: i = J.fieldNormWeight } = {}) {
6292
+ const n = new Ji({ getFn: r, fieldNormWeight: i });
6293
+ return n.setKeys(t.map(Gs)), n.setSources(e), n.create(), n;
6266
6294
  }
6267
- function ch(t, { getFn: e = J.getFn, fieldNormWeight: r = J.fieldNormWeight } = {}) {
6268
- const { keys: i, records: n } = t, s = new Vi({ getFn: e, fieldNormWeight: r });
6295
+ function hh(t, { getFn: e = J.getFn, fieldNormWeight: r = J.fieldNormWeight } = {}) {
6296
+ const { keys: i, records: n } = t, s = new Ji({ getFn: e, fieldNormWeight: r });
6269
6297
  return s.setKeys(i), s.setIndexRecords(n), s;
6270
6298
  }
6271
- function br(t, {
6299
+ function xr(t, {
6272
6300
  errors: e = 0,
6273
6301
  currentLocation: r = 0,
6274
6302
  expectedLocation: i = 0,
@@ -6281,7 +6309,7 @@ function br(t, {
6281
6309
  const l = Math.abs(i - r);
6282
6310
  return n ? o + l / n : l ? 1 : o;
6283
6311
  }
6284
- function hh(t = [], e = J.minMatchCharLength) {
6312
+ function uh(t = [], e = J.minMatchCharLength) {
6285
6313
  let r = [], i = -1, n = -1, s = 0;
6286
6314
  for (let o = t.length; s < o; s += 1) {
6287
6315
  let l = t[s];
@@ -6290,7 +6318,7 @@ function hh(t = [], e = J.minMatchCharLength) {
6290
6318
  return t[s - 1] && s - i >= e && r.push([i, s - 1]), r;
6291
6319
  }
6292
6320
  const mt = 32;
6293
- function uh(t, e, r, {
6321
+ function dh(t, e, r, {
6294
6322
  location: i = J.location,
6295
6323
  distance: n = J.distance,
6296
6324
  threshold: s = J.threshold,
@@ -6300,13 +6328,13 @@ function uh(t, e, r, {
6300
6328
  ignoreLocation: h = J.ignoreLocation
6301
6329
  } = {}) {
6302
6330
  if (e.length > mt)
6303
- throw new Error(Gc(mt));
6331
+ throw new Error(Qc(mt));
6304
6332
  const p = e.length, g = t.length, b = Math.max(0, Math.min(i, g));
6305
6333
  let m = s, _ = b;
6306
6334
  const k = l > 1 || a, z = k ? Array(g) : [];
6307
6335
  let I;
6308
6336
  for (; (I = t.indexOf(e, _)) > -1; ) {
6309
- let M = br(e, {
6337
+ let M = xr(e, {
6310
6338
  currentLocation: I,
6311
6339
  expectedLocation: b,
6312
6340
  distance: n,
@@ -6324,7 +6352,7 @@ function uh(t, e, r, {
6324
6352
  for (let M = 0; M < p; M += 1) {
6325
6353
  let L = 0, B = w;
6326
6354
  for (; L < B; )
6327
- br(e, {
6355
+ xr(e, {
6328
6356
  errors: M,
6329
6357
  currentLocation: b + B,
6330
6358
  expectedLocation: b,
@@ -6336,7 +6364,7 @@ function uh(t, e, r, {
6336
6364
  re[T + 1] = (1 << M) - 1;
6337
6365
  for (let Z = T; Z >= U; Z -= 1) {
6338
6366
  let C = Z - 1, O = r[t.charAt(C)];
6339
- if (k && (z[C] = +!!O), re[Z] = (re[Z + 1] << 1 | 1) & O, M && (re[Z] |= (f[Z + 1] | f[Z]) << 1 | 1 | f[Z + 1]), re[Z] & E && (y = br(e, {
6367
+ if (k && (z[C] = +!!O), re[Z] = (re[Z + 1] << 1 | 1) & O, M && (re[Z] |= (f[Z + 1] | f[Z]) << 1 | 1 | f[Z + 1]), re[Z] & E && (y = xr(e, {
6340
6368
  errors: M,
6341
6369
  currentLocation: C,
6342
6370
  expectedLocation: b,
@@ -6348,7 +6376,7 @@ function uh(t, e, r, {
6348
6376
  U = Math.max(1, 2 * b - _);
6349
6377
  }
6350
6378
  }
6351
- if (br(e, {
6379
+ if (xr(e, {
6352
6380
  errors: M + 1,
6353
6381
  currentLocation: b,
6354
6382
  expectedLocation: b,
@@ -6364,12 +6392,12 @@ function uh(t, e, r, {
6364
6392
  score: Math.max(1e-3, y)
6365
6393
  };
6366
6394
  if (k) {
6367
- const M = hh(z, l);
6395
+ const M = uh(z, l);
6368
6396
  M.length ? a && (S.indices = M) : S.isMatch = !1;
6369
6397
  }
6370
6398
  return S;
6371
6399
  }
6372
- function dh(t) {
6400
+ function ph(t) {
6373
6401
  let e = {};
6374
6402
  for (let r = 0, i = t.length; r < i; r += 1) {
6375
6403
  const n = t.charAt(r);
@@ -6377,7 +6405,7 @@ function dh(t) {
6377
6405
  }
6378
6406
  return e;
6379
6407
  }
6380
- class Qs {
6408
+ class eo {
6381
6409
  constructor(e, {
6382
6410
  location: r = J.location,
6383
6411
  threshold: i = J.threshold,
@@ -6402,7 +6430,7 @@ class Qs {
6402
6430
  const p = (b, m) => {
6403
6431
  this.chunks.push({
6404
6432
  pattern: b,
6405
- alphabet: dh(b),
6433
+ alphabet: ph(b),
6406
6434
  startIndex: m
6407
6435
  });
6408
6436
  }, g = this.pattern.length;
@@ -6437,7 +6465,7 @@ class Qs {
6437
6465
  } = this.options;
6438
6466
  let p = [], g = 0, b = !1;
6439
6467
  this.chunks.forEach(({ pattern: _, alphabet: k, startIndex: z }) => {
6440
- const { isMatch: I, score: f, indices: y } = uh(e, _, k, {
6468
+ const { isMatch: I, score: f, indices: y } = dh(e, _, k, {
6441
6469
  location: n + z,
6442
6470
  distance: s,
6443
6471
  threshold: o,
@@ -6460,19 +6488,19 @@ class ut {
6460
6488
  this.pattern = e;
6461
6489
  }
6462
6490
  static isMultiMatch(e) {
6463
- return Gn(e, this.multiRegex);
6491
+ return es(e, this.multiRegex);
6464
6492
  }
6465
6493
  static isSingleMatch(e) {
6466
- return Gn(e, this.singleRegex);
6494
+ return es(e, this.singleRegex);
6467
6495
  }
6468
6496
  search() {
6469
6497
  }
6470
6498
  }
6471
- function Gn(t, e) {
6499
+ function es(t, e) {
6472
6500
  const r = t.match(e);
6473
6501
  return r ? r[1] : null;
6474
6502
  }
6475
- class ph extends ut {
6503
+ class fh extends ut {
6476
6504
  constructor(e) {
6477
6505
  super(e);
6478
6506
  }
@@ -6494,7 +6522,7 @@ class ph extends ut {
6494
6522
  };
6495
6523
  }
6496
6524
  }
6497
- class fh extends ut {
6525
+ class gh extends ut {
6498
6526
  constructor(e) {
6499
6527
  super(e);
6500
6528
  }
@@ -6516,7 +6544,7 @@ class fh extends ut {
6516
6544
  };
6517
6545
  }
6518
6546
  }
6519
- class gh extends ut {
6547
+ class yh extends ut {
6520
6548
  constructor(e) {
6521
6549
  super(e);
6522
6550
  }
@@ -6538,7 +6566,7 @@ class gh extends ut {
6538
6566
  };
6539
6567
  }
6540
6568
  }
6541
- class yh extends ut {
6569
+ class mh extends ut {
6542
6570
  constructor(e) {
6543
6571
  super(e);
6544
6572
  }
@@ -6560,7 +6588,7 @@ class yh extends ut {
6560
6588
  };
6561
6589
  }
6562
6590
  }
6563
- class mh extends ut {
6591
+ class vh extends ut {
6564
6592
  constructor(e) {
6565
6593
  super(e);
6566
6594
  }
@@ -6582,7 +6610,7 @@ class mh extends ut {
6582
6610
  };
6583
6611
  }
6584
6612
  }
6585
- class vh extends ut {
6613
+ class bh extends ut {
6586
6614
  constructor(e) {
6587
6615
  super(e);
6588
6616
  }
@@ -6604,7 +6632,7 @@ class vh extends ut {
6604
6632
  };
6605
6633
  }
6606
6634
  }
6607
- class eo extends ut {
6635
+ class to extends ut {
6608
6636
  constructor(e, {
6609
6637
  location: r = J.location,
6610
6638
  threshold: i = J.threshold,
@@ -6615,7 +6643,7 @@ class eo extends ut {
6615
6643
  isCaseSensitive: a = J.isCaseSensitive,
6616
6644
  ignoreLocation: h = J.ignoreLocation
6617
6645
  } = {}) {
6618
- super(e), this._bitapSearch = new Qs(e, {
6646
+ super(e), this._bitapSearch = new eo(e, {
6619
6647
  location: r,
6620
6648
  threshold: i,
6621
6649
  distance: n,
@@ -6639,7 +6667,7 @@ class eo extends ut {
6639
6667
  return this._bitapSearch.searchIn(e);
6640
6668
  }
6641
6669
  }
6642
- class to extends ut {
6670
+ class ro extends ut {
6643
6671
  constructor(e) {
6644
6672
  super(e);
6645
6673
  }
@@ -6665,30 +6693,30 @@ class to extends ut {
6665
6693
  };
6666
6694
  }
6667
6695
  }
6668
- const $i = [
6669
- ph,
6670
- to,
6671
- gh,
6696
+ const _i = [
6697
+ fh,
6698
+ ro,
6672
6699
  yh,
6673
- vh,
6674
6700
  mh,
6675
- fh,
6676
- eo
6677
- ], Qn = $i.length, bh = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, xh = "|";
6678
- function wh(t, e = {}) {
6679
- return t.split(xh).map((r) => {
6680
- let i = r.trim().split(bh).filter((s) => s && !!s.trim()), n = [];
6701
+ bh,
6702
+ vh,
6703
+ gh,
6704
+ to
6705
+ ], ts = _i.length, xh = / +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/, wh = "|";
6706
+ function $h(t, e = {}) {
6707
+ return t.split(wh).map((r) => {
6708
+ let i = r.trim().split(xh).filter((s) => s && !!s.trim()), n = [];
6681
6709
  for (let s = 0, o = i.length; s < o; s += 1) {
6682
6710
  const l = i[s];
6683
6711
  let a = !1, h = -1;
6684
- for (; !a && ++h < Qn; ) {
6685
- const p = $i[h];
6712
+ for (; !a && ++h < ts; ) {
6713
+ const p = _i[h];
6686
6714
  let g = p.isMultiMatch(l);
6687
6715
  g && (n.push(new p(g, e)), a = !0);
6688
6716
  }
6689
6717
  if (!a)
6690
- for (h = -1; ++h < Qn; ) {
6691
- const p = $i[h];
6718
+ for (h = -1; ++h < ts; ) {
6719
+ const p = _i[h];
6692
6720
  let g = p.isSingleMatch(l);
6693
6721
  if (g) {
6694
6722
  n.push(new p(g, e));
@@ -6699,8 +6727,8 @@ function wh(t, e = {}) {
6699
6727
  return n;
6700
6728
  });
6701
6729
  }
6702
- const $h = /* @__PURE__ */ new Set([eo.type, to.type]);
6703
- class _h {
6730
+ const _h = /* @__PURE__ */ new Set([to.type, ro.type]);
6731
+ class Eh {
6704
6732
  constructor(e, {
6705
6733
  isCaseSensitive: r = J.isCaseSensitive,
6706
6734
  includeMatches: i = J.includeMatches,
@@ -6720,7 +6748,7 @@ class _h {
6720
6748
  location: l,
6721
6749
  threshold: a,
6722
6750
  distance: h
6723
- }, this.pattern = r ? e : e.toLowerCase(), this.query = wh(this.pattern, this.options);
6751
+ }, this.pattern = r ? e : e.toLowerCase(), this.query = $h(this.pattern, this.options);
6724
6752
  }
6725
6753
  static condition(e, r) {
6726
6754
  return r.useExtendedSearch;
@@ -6743,7 +6771,7 @@ class _h {
6743
6771
  if (_) {
6744
6772
  if (s += 1, l += z, i) {
6745
6773
  const I = m.constructor.type;
6746
- $h.has(I) ? o = [...o, ...k] : o.push(k);
6774
+ _h.has(I) ? o = [...o, ...k] : o.push(k);
6747
6775
  }
6748
6776
  } else {
6749
6777
  l = 0, s = 0, o.length = 0;
@@ -6764,44 +6792,44 @@ class _h {
6764
6792
  };
6765
6793
  }
6766
6794
  }
6767
- const _i = [];
6768
- function Eh(...t) {
6769
- _i.push(...t);
6795
+ const Ei = [];
6796
+ function Sh(...t) {
6797
+ Ei.push(...t);
6770
6798
  }
6771
- function Ei(t, e) {
6772
- for (let r = 0, i = _i.length; r < i; r += 1) {
6773
- let n = _i[r];
6799
+ function Si(t, e) {
6800
+ for (let r = 0, i = Ei.length; r < i; r += 1) {
6801
+ let n = Ei[r];
6774
6802
  if (n.condition(t, e))
6775
6803
  return new n(t, e);
6776
6804
  }
6777
- return new Qs(t, e);
6805
+ return new eo(t, e);
6778
6806
  }
6779
- const Lr = {
6807
+ const Cr = {
6780
6808
  AND: "$and",
6781
6809
  OR: "$or"
6782
- }, Si = {
6810
+ }, Mi = {
6783
6811
  PATH: "$path",
6784
6812
  PATTERN: "$val"
6785
- }, Mi = (t) => !!(t[Lr.AND] || t[Lr.OR]), Sh = (t) => !!t[Si.PATH], Mh = (t) => !tt(t) && Ks(t) && !Mi(t), es = (t) => ({
6786
- [Lr.AND]: Object.keys(t).map((e) => ({
6813
+ }, Ai = (t) => !!(t[Cr.AND] || t[Cr.OR]), Mh = (t) => !!t[Mi.PATH], Ah = (t) => !tt(t) && Js(t) && !Ai(t), rs = (t) => ({
6814
+ [Cr.AND]: Object.keys(t).map((e) => ({
6787
6815
  [e]: t[e]
6788
6816
  }))
6789
6817
  });
6790
- function ro(t, e, { auto: r = !0 } = {}) {
6818
+ function io(t, e, { auto: r = !0 } = {}) {
6791
6819
  const i = (n) => {
6792
6820
  let s = Object.keys(n);
6793
- const o = Sh(n);
6794
- if (!o && s.length > 1 && !Mi(n))
6795
- return i(es(n));
6796
- if (Mh(n)) {
6797
- const a = o ? n[Si.PATH] : s[0], h = o ? n[Si.PATTERN] : n[a];
6821
+ const o = Mh(n);
6822
+ if (!o && s.length > 1 && !Ai(n))
6823
+ return i(rs(n));
6824
+ if (Ah(n)) {
6825
+ const a = o ? n[Mi.PATH] : s[0], h = o ? n[Mi.PATTERN] : n[a];
6798
6826
  if (!Ye(h))
6799
- throw new Error(Zc(a));
6827
+ throw new Error(Gc(a));
6800
6828
  const p = {
6801
- keyId: wi(a),
6829
+ keyId: $i(a),
6802
6830
  pattern: h
6803
6831
  };
6804
- return r && (p.searcher = Ei(h, e)), p;
6832
+ return r && (p.searcher = Si(h, e)), p;
6805
6833
  }
6806
6834
  let l = {
6807
6835
  children: [],
@@ -6814,9 +6842,9 @@ function ro(t, e, { auto: r = !0 } = {}) {
6814
6842
  });
6815
6843
  }), l;
6816
6844
  };
6817
- return Mi(t) || (t = es(t)), i(t);
6845
+ return Ai(t) || (t = rs(t)), i(t);
6818
6846
  }
6819
- function Ah(t, { ignoreFieldNorm: e = J.ignoreFieldNorm }) {
6847
+ function kh(t, { ignoreFieldNorm: e = J.ignoreFieldNorm }) {
6820
6848
  t.forEach((r) => {
6821
6849
  let i = 1;
6822
6850
  r.matches.forEach(({ key: n, norm: s, score: o }) => {
@@ -6828,7 +6856,7 @@ function Ah(t, { ignoreFieldNorm: e = J.ignoreFieldNorm }) {
6828
6856
  }), r.score = i;
6829
6857
  });
6830
6858
  }
6831
- function kh(t, e) {
6859
+ function Oh(t, e) {
6832
6860
  const r = t.matches;
6833
6861
  e.matches = [], Le(r) && r.forEach((i) => {
6834
6862
  if (!Le(i.indices) || !i.indices.length)
@@ -6841,15 +6869,15 @@ function kh(t, e) {
6841
6869
  i.key && (o.key = i.key.src), i.idx > -1 && (o.refIndex = i.idx), e.matches.push(o);
6842
6870
  });
6843
6871
  }
6844
- function Oh(t, e) {
6872
+ function Ph(t, e) {
6845
6873
  e.score = t.score;
6846
6874
  }
6847
- function Ph(t, e, {
6875
+ function Lh(t, e, {
6848
6876
  includeMatches: r = J.includeMatches,
6849
6877
  includeScore: i = J.includeScore
6850
6878
  } = {}) {
6851
6879
  const n = [];
6852
- return r && n.push(kh), i && n.push(Oh), t.map((s) => {
6880
+ return r && n.push(Oh), i && n.push(Ph), t.map((s) => {
6853
6881
  const { idx: o } = s, l = {
6854
6882
  item: e[o],
6855
6883
  refIndex: o
@@ -6859,14 +6887,14 @@ function Ph(t, e, {
6859
6887
  }), l;
6860
6888
  });
6861
6889
  }
6862
- class Ut {
6890
+ class Ht {
6863
6891
  constructor(e, r = {}, i) {
6864
- this.options = { ...J, ...r }, this.options.useExtendedSearch, this._keyStore = new th(this.options.keys), this.setCollection(e, i);
6892
+ this.options = { ...J, ...r }, this.options.useExtendedSearch, this._keyStore = new rh(this.options.keys), this.setCollection(e, i);
6865
6893
  }
6866
6894
  setCollection(e, r) {
6867
- if (this._docs = e, r && !(r instanceof Vi))
6868
- throw new Error(Jc);
6869
- this._myIndex = r || Gs(this.options.keys, this._docs, {
6895
+ if (this._docs = e, r && !(r instanceof Ji))
6896
+ throw new Error(Zc);
6897
+ this._myIndex = r || Qs(this.options.keys, this._docs, {
6870
6898
  getFn: this.options.getFn,
6871
6899
  fieldNormWeight: this.options.fieldNormWeight
6872
6900
  });
@@ -6897,13 +6925,13 @@ class Ut {
6897
6925
  ignoreFieldNorm: l
6898
6926
  } = this.options;
6899
6927
  let a = Ye(e) ? Ye(this._docs[0]) ? this._searchStringList(e) : this._searchObjectList(e) : this._searchLogical(e);
6900
- return Ah(a, { ignoreFieldNorm: l }), s && a.sort(o), Vs(r) && r > -1 && (a = a.slice(0, r)), Ph(a, this._docs, {
6928
+ return kh(a, { ignoreFieldNorm: l }), s && a.sort(o), Ks(r) && r > -1 && (a = a.slice(0, r)), Lh(a, this._docs, {
6901
6929
  includeMatches: i,
6902
6930
  includeScore: n
6903
6931
  });
6904
6932
  }
6905
6933
  _searchStringList(e) {
6906
- const r = Ei(e, this.options), { records: i } = this._myIndex, n = [];
6934
+ const r = Si(e, this.options), { records: i } = this._myIndex, n = [];
6907
6935
  return i.forEach(({ v: s, i: o, n: l }) => {
6908
6936
  if (!Le(s))
6909
6937
  return;
@@ -6916,7 +6944,7 @@ class Ut {
6916
6944
  }), n;
6917
6945
  }
6918
6946
  _searchLogical(e) {
6919
- const r = ro(e, this.options), i = (l, a, h) => {
6947
+ const r = io(e, this.options), i = (l, a, h) => {
6920
6948
  if (!l.children) {
6921
6949
  const { keyId: g, searcher: b } = l, m = this._findMatches({
6922
6950
  key: this._keyStore.get(g),
@@ -6936,7 +6964,7 @@ class Ut {
6936
6964
  const m = l.children[g], _ = i(m, a, h);
6937
6965
  if (_.length)
6938
6966
  p.push(..._);
6939
- else if (l.operator === Lr.AND)
6967
+ else if (l.operator === Cr.AND)
6940
6968
  return [];
6941
6969
  }
6942
6970
  return p;
@@ -6951,7 +6979,7 @@ class Ut {
6951
6979
  }), o;
6952
6980
  }
6953
6981
  _searchObjectList(e) {
6954
- const r = Ei(e, this.options), { keys: i, records: n } = this._myIndex, s = [];
6982
+ const r = Si(e, this.options), { keys: i, records: n } = this._myIndex, s = [];
6955
6983
  return n.forEach(({ $: o, i: l }) => {
6956
6984
  if (!Le(o))
6957
6985
  return;
@@ -6996,13 +7024,13 @@ class Ut {
6996
7024
  return n;
6997
7025
  }
6998
7026
  }
6999
- Ut.version = "7.0.0";
7000
- Ut.createIndex = Gs;
7001
- Ut.parseIndex = ch;
7002
- Ut.config = J;
7003
- Ut.parseQuery = ro;
7004
- Eh(_h);
7005
- const Lh = (t, e = "highlight", r = "title") => {
7027
+ Ht.version = "7.0.0";
7028
+ Ht.createIndex = Qs;
7029
+ Ht.parseIndex = hh;
7030
+ Ht.config = J;
7031
+ Ht.parseQuery = io;
7032
+ Sh(Eh);
7033
+ const Ch = (t, e = "highlight", r = "title") => {
7006
7034
  const i = (s, o, l) => {
7007
7035
  const a = o.split(".");
7008
7036
  let h;
@@ -7037,9 +7065,9 @@ const Lh = (t, e = "highlight", r = "title") => {
7037
7065
  }), l;
7038
7066
  });
7039
7067
  };
7040
- let io;
7041
- const Ch = (t, e) => {
7042
- io = new Ut(t, {
7068
+ let no;
7069
+ const Rh = (t, e) => {
7070
+ no = new Ht(t, {
7043
7071
  // minMatchCharLength: 3,
7044
7072
  // location: 0,
7045
7073
  threshold: 0.4,
@@ -7048,7 +7076,7 @@ const Ch = (t, e) => {
7048
7076
  useExtendedSearch: !0,
7049
7077
  ...e
7050
7078
  });
7051
- }, Rh = async (t, e, r) => {
7079
+ }, jh = async (t, e, r) => {
7052
7080
  const i = Object.entries(e).filter(
7053
7081
  ([, l]) => l.type === "text" || l.type === "select" || l.type === "multiselect"
7054
7082
  ).reduce((l, [a, h]) => {
@@ -7066,8 +7094,8 @@ const Ch = (t, e) => {
7066
7094
  else {
7067
7095
  const l = {
7068
7096
  $and: [...i]
7069
- }, a = io.search(l);
7070
- n = r.enableHighlighting ? Lh(a, "highlight", r.titleProperty) : a.map((h) => h.item);
7097
+ }, a = no.search(l);
7098
+ n = r.enableHighlighting ? Ch(a, "highlight", r.titleProperty) : a.map((h) => h.item);
7071
7099
  }
7072
7100
  const s = Object.entries(e).filter(([, l]) => l.type === "range").reduce((l, [a, h]) => (l[a] = {
7073
7101
  min: h.state.min,
@@ -7104,10 +7132,10 @@ const Ch = (t, e) => {
7104
7132
  const g = o[p].mode || "within";
7105
7133
  Object.prototype.hasOwnProperty.call(n[a], p) && (g === "within" ? (
7106
7134
  // @ts-ignore
7107
- Bc(n[a][p], o[p].geometry)
7135
+ Uc(n[a][p], o[p].geometry)
7108
7136
  ) : (
7109
7137
  // @ts-ignore
7110
- qc(n[a][p], o[p].geometry)
7138
+ Bc(n[a][p], o[p].geometry)
7111
7139
  )) ? h[p] = !0 : h[p] = !1;
7112
7140
  }
7113
7141
  Object.values(h).every((p) => !!p) && l.push(n[a]);
@@ -7115,22 +7143,22 @@ const Ch = (t, e) => {
7115
7143
  n = [...l];
7116
7144
  }
7117
7145
  return n;
7118
- }, jh = async (t, e, r) => (await (await fetch(`${r.externalFilter(t, e)}`)).json()).features;
7119
- var Th = Object.defineProperty, Dh = Object.getOwnPropertyDescriptor, nt = (t, e, r, i) => {
7120
- for (var n = i > 1 ? void 0 : i ? Dh(e, r) : e, s = t.length - 1, o; s >= 0; s--)
7146
+ }, Th = async (t, e, r) => (await (await fetch(`${r.externalFilter(t, e)}`)).json()).features;
7147
+ var Dh = Object.defineProperty, Nh = Object.getOwnPropertyDescriptor, nt = (t, e, r, i) => {
7148
+ for (var n = i > 1 ? void 0 : i ? Nh(e, r) : e, s = t.length - 1, o; s >= 0; s--)
7121
7149
  (o = t[s]) && (n = (i ? o(e, r, n) : o(n)) || n);
7122
- return i && n && Th(e, r, n), n;
7150
+ return i && n && Dh(e, r, n), n;
7123
7151
  };
7124
- class ts {
7152
+ class is {
7125
7153
  constructor() {
7126
7154
  this.aggregateResults = void 0, this.autoSpreadSingle = !1, this.enableHighlighting = !1, this.filterProperties = [], this.inlineMode = !1, this.matchAllWhenEmpty = !0, this.onFilter = () => {
7127
7155
  }, this.onSelect = () => {
7128
7156
  }, this.showResults = !0, this.titleProperty = "title", this.expandMultipleFilters = !0, this.expandResults = !0, this.expandMultipleResults = !0;
7129
7157
  }
7130
7158
  }
7131
- let Ve = class extends Sa {
7159
+ let Ke = class extends Ma {
7132
7160
  constructor() {
7133
- super(...arguments), this._resultAggregation = [], this._items = [], this.filters = {}, this._config = new ts(), this.apply = (t) => {
7161
+ super(...arguments), this._resultAggregation = [], this._items = [], this.filters = {}, this._config = new is(), this.apply = (t) => {
7134
7162
  this._items = t.map((r, i) => ({
7135
7163
  id: `item-${i}`,
7136
7164
  ...r
@@ -7197,7 +7225,7 @@ let Ve = class extends Sa {
7197
7225
  r.type === "text" ? r.keys.forEach((i) => {
7198
7226
  e.includes(i) || e.push(i);
7199
7227
  }) : (r.type === "select" || r.type === "multiselect") && (e.includes(r.key) || e.push(r.key));
7200
- }), Ch(this._items, {
7228
+ }), Rh(this._items, {
7201
7229
  keys: e,
7202
7230
  ...this._config.fuseConfig
7203
7231
  }), this.search();
@@ -7212,7 +7240,7 @@ let Ve = class extends Sa {
7212
7240
  set config(t) {
7213
7241
  const e = this._config;
7214
7242
  this._config = {
7215
- ...new ts(),
7243
+ ...new is(),
7216
7244
  ...t
7217
7245
  }, this.requestUpdate("config", e);
7218
7246
  }
@@ -7221,7 +7249,7 @@ let Ve = class extends Sa {
7221
7249
  }
7222
7250
  async search() {
7223
7251
  let t;
7224
- this.config.externalFilter ? t = await jh(this._items, this.filters, this._config) : t = await Rh(this._items, this.filters, this._config), this.results = this.sortResults(t), this._config.onFilter(this.results, this.filters);
7252
+ this.config.externalFilter ? t = await Th(this._items, this.filters, this._config) : t = await jh(this._items, this.filters, this._config), this.results = this.sortResults(t), this._config.onFilter(this.results, this.filters);
7225
7253
  }
7226
7254
  aggregateResults(t, e) {
7227
7255
  return t.filter((r) => {
@@ -7235,7 +7263,7 @@ let Ve = class extends Sa {
7235
7263
  createItemList(t) {
7236
7264
  return F`
7237
7265
  <ul>
7238
- ${ys(
7266
+ ${vs(
7239
7267
  this.aggregateResults(this.results, t),
7240
7268
  (e) => e.id,
7241
7269
  (e) => {
@@ -7261,7 +7289,7 @@ let Ve = class extends Sa {
7261
7289
  () => this.renderTemplate("result", e, `result-${e.id}`),
7262
7290
  () => F`
7263
7291
  <span class="title"
7264
- >${Dn(
7292
+ >${In(
7265
7293
  e[this._config.titleProperty]
7266
7294
  )}</span
7267
7295
  >
@@ -7307,8 +7335,8 @@ let Ve = class extends Sa {
7307
7335
  render() {
7308
7336
  return F`
7309
7337
  <style>
7310
- ${Ri}
7311
- ${!this.unstyled && Ti}
7338
+ ${ji}
7339
+ ${!this.unstyled && Di}
7312
7340
  ${this.styleOverride}
7313
7341
  </style>
7314
7342
  <form
@@ -7341,11 +7369,11 @@ let Ve = class extends Sa {
7341
7369
  `
7342
7370
  )}
7343
7371
  <ul id="filters">
7344
- ${Vt(
7372
+ ${Kt(
7345
7373
  Object.values(this.filters),
7346
- (t) => wr`
7374
+ (t) => $r`
7347
7375
  <li>
7348
- ${t.featured ? wr`
7376
+ ${t.featured ? $r`
7349
7377
  <eox-itemfilter-${Ot(t.type)}
7350
7378
  slot="filter"
7351
7379
  data-type="filter"
@@ -7355,7 +7383,7 @@ let Ve = class extends Sa {
7355
7383
  ></eox-itemfilter-${Ot(
7356
7384
  t.type
7357
7385
  )}>
7358
- ` : wr`
7386
+ ` : $r`
7359
7387
  <eox-itemfilter-expandcontainer
7360
7388
  .filterObject=${t}
7361
7389
  .unstyled=${this.unstyled}
@@ -7423,7 +7451,7 @@ let Ve = class extends Sa {
7423
7451
  <small class="no-results">No matching items</small>
7424
7452
  ` : ae}
7425
7453
  <ul id="results" part="results">
7426
- ${this._config.aggregateResults ? Vt(
7454
+ ${this._config.aggregateResults ? Kt(
7427
7455
  this._resultAggregation.filter(
7428
7456
  (t) => this.aggregateResults(
7429
7457
  this.results,
@@ -7463,7 +7491,7 @@ let Ve = class extends Sa {
7463
7491
  </details>
7464
7492
  `
7465
7493
  )}`
7466
- ) : Vt(
7494
+ ) : Kt(
7467
7495
  this.results,
7468
7496
  (t) => F`<li part="result">
7469
7497
  <label>
@@ -7484,7 +7512,7 @@ let Ve = class extends Sa {
7484
7512
  ),
7485
7513
  () => F`
7486
7514
  <span class="title"
7487
- >${Dn(
7515
+ >${In(
7488
7516
  t[this._config.titleProperty]
7489
7517
  )}</span
7490
7518
  >
@@ -7506,32 +7534,32 @@ let Ve = class extends Sa {
7506
7534
  };
7507
7535
  nt([
7508
7536
  rt()
7509
- ], Ve.prototype, "filters", 2);
7537
+ ], Ke.prototype, "filters", 2);
7510
7538
  nt([
7511
7539
  rt()
7512
- ], Ve.prototype, "results", 2);
7540
+ ], Ke.prototype, "results", 2);
7513
7541
  nt([
7514
7542
  rt()
7515
- ], Ve.prototype, "selectedResult", 2);
7543
+ ], Ke.prototype, "selectedResult", 2);
7516
7544
  nt([
7517
7545
  G({ attribute: !1 })
7518
- ], Ve.prototype, "items", 1);
7546
+ ], Ke.prototype, "items", 1);
7519
7547
  nt([
7520
7548
  G({ attribute: !1 })
7521
- ], Ve.prototype, "config", 1);
7549
+ ], Ke.prototype, "config", 1);
7522
7550
  nt([
7523
7551
  G()
7524
- ], Ve.prototype, "apply", 2);
7552
+ ], Ke.prototype, "apply", 2);
7525
7553
  nt([
7526
7554
  G({ attribute: !1 })
7527
- ], Ve.prototype, "styleOverride", 2);
7555
+ ], Ke.prototype, "styleOverride", 2);
7528
7556
  nt([
7529
7557
  G({ type: Boolean })
7530
- ], Ve.prototype, "unstyled", 2);
7531
- Ve = nt([
7558
+ ], Ke.prototype, "unstyled", 2);
7559
+ Ke = nt([
7532
7560
  Re("eox-itemfilter")
7533
- ], Ve);
7561
+ ], Ke);
7534
7562
  export {
7535
- Ve as EOxItemFilter,
7536
- ts as ElementConfig
7563
+ Ke as EOxItemFilter,
7564
+ is as ElementConfig
7537
7565
  };