@eox/itemfilter 0.14.2-dev.1721300053.0 → 0.14.2-dev.1721328490.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,7 +4,7 @@ var ka = (t) => {
4
4
  };
5
5
  var cp = (t, e, r) => e in t ? lp(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r;
6
6
  var xn = (t, e, r) => cp(t, typeof e != "symbol" ? e + "" : e, r), jo = (t, e, r) => e.has(t) || ka("Cannot " + r);
7
- var at = (t, e, r) => (jo(t, e, "read from private field"), r ? r.call(t) : e.get(t)), et = (t, e, r) => e.has(t) ? ka("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), gi = (t, e, r, n) => (jo(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), we = (t, e, r) => (jo(t, e, "access private method"), r);
7
+ var at = (t, e, r) => (jo(t, e, "read from private field"), r ? r.call(t) : e.get(t)), et = (t, e, r) => e.has(t) ? ka("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, r), gi = (t, e, r, n) => (jo(t, e, "write to private field"), n ? n.call(t, r) : e.set(t, r), r), $e = (t, e, r) => (jo(t, e, "access private method"), r);
8
8
  /**
9
9
  * @license
10
10
  * Copyright 2019 Google LLC
@@ -45,7 +45,7 @@ const fp = (t) => new up(typeof t == "string" ? t : t + "", void 0, Ec), pp = (t
45
45
  * Copyright 2017 Google LLC
46
46
  * SPDX-License-Identifier: BSD-3-Clause
47
47
  */
48
- const { is: hp, defineProperty: dp, getOwnPropertyDescriptor: gp, getOwnPropertyNames: yp, getOwnPropertySymbols: vp, getPrototypeOf: mp } = Object, Ft = globalThis, Ia = Ft.trustedTypes, bp = Ia ? Ia.emptyScript : "", Bo = Ft.reactiveElementPolyfillSupport, On = (t, e) => t, ps = { toAttribute(t, e) {
48
+ const { is: hp, defineProperty: dp, getOwnPropertyDescriptor: gp, getOwnPropertyNames: yp, getOwnPropertySymbols: vp, getPrototypeOf: mp } = Object, Wt = globalThis, Ia = Wt.trustedTypes, bp = Ia ? Ia.emptyScript : "", Bo = Wt.reactiveElementPolyfillSupport, On = (t, e) => t, ps = { toAttribute(t, e) {
49
49
  switch (e) {
50
50
  case Boolean:
51
51
  t = t ? bp : null;
@@ -74,8 +74,8 @@ const { is: hp, defineProperty: dp, getOwnPropertyDescriptor: gp, getOwnProperty
74
74
  }
75
75
  return r;
76
76
  } }, Mc = (t, e) => !hp(t, e), Da = { attribute: !0, type: String, converter: ps, reflect: !1, hasChanged: Mc };
77
- Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Ft.litPropertyMetadata ?? (Ft.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
- class Fr extends HTMLElement {
77
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), Wt.litPropertyMetadata ?? (Wt.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
78
+ class Wr extends HTMLElement {
79
79
  static addInitializer(e) {
80
80
  this._$Ei(), (this.l ?? (this.l = [])).push(e);
81
81
  }
@@ -273,7 +273,7 @@ class Fr extends HTMLElement {
273
273
  firstUpdated(e) {
274
274
  }
275
275
  }
276
- Fr.elementStyles = [], Fr.shadowRootOptions = { mode: "open" }, Fr[On("elementProperties")] = /* @__PURE__ */ new Map(), Fr[On("finalized")] = /* @__PURE__ */ new Map(), Bo == null || Bo({ ReactiveElement: Fr }), (Ft.reactiveElementVersions ?? (Ft.reactiveElementVersions = [])).push("2.0.4");
276
+ Wr.elementStyles = [], Wr.shadowRootOptions = { mode: "open" }, Wr[On("elementProperties")] = /* @__PURE__ */ new Map(), Wr[On("finalized")] = /* @__PURE__ */ new Map(), Bo == null || Bo({ ReactiveElement: Wr }), (Wt.reactiveElementVersions ?? (Wt.reactiveElementVersions = [])).push("2.0.4");
277
277
  /**
278
278
  * @license
279
279
  * Copyright 2017 Google LLC
@@ -281,7 +281,7 @@ Fr.elementStyles = [], Fr.shadowRootOptions = { mode: "open" }, Fr[On("elementPr
281
281
  */
282
282
  const Cn = globalThis, Ti = Cn.trustedTypes, Ra = Ti ? Ti.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Xs = "$lit$", Tt = `lit$${(Math.random() + "").slice(9)}$`, Qs = "?" + Tt, wp = `<${Qs}>`, dr = document, In = () => dr.createComment(""), Dn = (t) => t === null || typeof t != "object" && typeof t != "function", Pc = Array.isArray, Oc = (t) => Pc(t) || typeof (t == null ? void 0 : t[Symbol.iterator]) == "function", No = `[
283
283
  \f\r]`, Sn = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, ja = /-->/g, Ba = />/g, lr = RegExp(`>|${No}(?:([^\\s"'>=/]+)(${No}*=${No}*(?:[^
284
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Na = /'/g, Ha = /"/g, Cc = /^(?:script|style|textarea|title)$/i, $p = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), K = $p(1), Wt = Symbol.for("lit-noChange"), $e = Symbol.for("lit-nothing"), Ua = /* @__PURE__ */ new WeakMap(), fr = dr.createTreeWalker(dr, 129);
284
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Na = /'/g, Ha = /"/g, Cc = /^(?:script|style|textarea|title)$/i, $p = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), V = $p(1), Ft = Symbol.for("lit-noChange"), ye = Symbol.for("lit-nothing"), Ua = /* @__PURE__ */ new WeakMap(), fr = dr.createTreeWalker(dr, 129);
285
285
  function kc(t, e) {
286
286
  if (!Array.isArray(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
287
287
  return Ra !== void 0 ? Ra.createHTML(e) : e;
@@ -312,7 +312,7 @@ class Rn {
312
312
  if (i.nodeType === 1) {
313
313
  if (i.hasAttributes()) for (const g of i.getAttributeNames()) if (g.endsWith(Xs)) {
314
314
  const m = d[s++], b = i.getAttribute(g).split(Tt), A = /([.?@])?(.*)/.exec(m);
315
- l.push({ type: 1, index: o, name: A[2], strings: b, ctor: A[1] === "." ? Ic : A[1] === "?" ? Dc : A[1] === "@" ? Rc : Wn }), i.removeAttribute(g);
315
+ l.push({ type: 1, index: o, name: A[2], strings: b, ctor: A[1] === "." ? Ic : A[1] === "?" ? Dc : A[1] === "@" ? Rc : Fn }), i.removeAttribute(g);
316
316
  } else g.startsWith(Tt) && (l.push({ type: 6, index: o }), i.removeAttribute(g));
317
317
  if (Cc.test(i.tagName)) {
318
318
  const g = i.textContent.split(Tt), m = g.length - 1;
@@ -337,7 +337,7 @@ class Rn {
337
337
  }
338
338
  function gr(t, e, r = t, n) {
339
339
  var s, c;
340
- if (e === Wt) return e;
340
+ if (e === Ft) return e;
341
341
  let i = n !== void 0 ? (s = r._$Co) == null ? void 0 : s[n] : r._$Cl;
342
342
  const o = Dn(e) ? void 0 : e._$litDirective$;
343
343
  return (i == null ? void 0 : i.constructor) !== o && ((c = i == null ? void 0 : i._$AO) == null || c.call(i, !1), o === void 0 ? i = void 0 : (i = new o(t), i._$AT(t, r, n)), n !== void 0 ? (r._$Co ?? (r._$Co = []))[n] = i : r._$Cl = i), i !== void 0 && (e = gr(t, i._$AS(t, e.values), i, n)), e;
@@ -376,7 +376,7 @@ class Xr {
376
376
  return ((e = this._$AM) == null ? void 0 : e._$AU) ?? this._$Cv;
377
377
  }
378
378
  constructor(e, r, n, i) {
379
- this.type = 2, this._$AH = $e, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
379
+ this.type = 2, this._$AH = ye, this._$AN = void 0, this._$AA = e, this._$AB = r, this._$AM = n, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
380
380
  }
381
381
  get parentNode() {
382
382
  let e = this._$AA.parentNode;
@@ -390,7 +390,7 @@ class Xr {
390
390
  return this._$AB;
391
391
  }
392
392
  _$AI(e, r = this) {
393
- e = gr(this, e, r), Dn(e) ? e === $e || e == null || e === "" ? (this._$AH !== $e && this._$AR(), this._$AH = $e) : e !== this._$AH && e !== Wt && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Oc(e) ? this.k(e) : this._(e);
393
+ e = gr(this, e, r), Dn(e) ? e === ye || e == null || e === "" ? (this._$AH !== ye && this._$AR(), this._$AH = ye) : e !== this._$AH && e !== Ft && this._(e) : e._$litType$ !== void 0 ? this.$(e) : e.nodeType !== void 0 ? this.T(e) : Oc(e) ? this.k(e) : this._(e);
394
394
  }
395
395
  S(e) {
396
396
  return this._$AA.parentNode.insertBefore(e, this._$AB);
@@ -399,7 +399,7 @@ class Xr {
399
399
  this._$AH !== e && (this._$AR(), this._$AH = this.S(e));
400
400
  }
401
401
  _(e) {
402
- this._$AH !== $e && Dn(this._$AH) ? this._$AA.nextSibling.data = e : this.T(dr.createTextNode(e)), this._$AH = e;
402
+ this._$AH !== ye && Dn(this._$AH) ? this._$AA.nextSibling.data = e : this.T(dr.createTextNode(e)), this._$AH = e;
403
403
  }
404
404
  $(e) {
405
405
  var o;
@@ -433,7 +433,7 @@ class Xr {
433
433
  this._$AM === void 0 && (this._$Cv = e, (r = this._$AP) == null || r.call(this, e));
434
434
  }
435
435
  }
436
- class Wn {
436
+ class Fn {
437
437
  get tagName() {
438
438
  return this.element.tagName;
439
439
  }
@@ -441,46 +441,46 @@ class Wn {
441
441
  return this._$AM._$AU;
442
442
  }
443
443
  constructor(e, r, n, i, o) {
444
- this.type = 1, this._$AH = $e, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = o, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = $e;
444
+ this.type = 1, this._$AH = ye, this._$AN = void 0, this.element = e, this.name = r, this._$AM = i, this.options = o, n.length > 2 || n[0] !== "" || n[1] !== "" ? (this._$AH = Array(n.length - 1).fill(new String()), this.strings = n) : this._$AH = ye;
445
445
  }
446
446
  _$AI(e, r = this, n, i) {
447
447
  const o = this.strings;
448
448
  let s = !1;
449
- if (o === void 0) e = gr(this, e, r, 0), s = !Dn(e) || e !== this._$AH && e !== Wt, s && (this._$AH = e);
449
+ if (o === void 0) e = gr(this, e, r, 0), s = !Dn(e) || e !== this._$AH && e !== Ft, s && (this._$AH = e);
450
450
  else {
451
451
  const c = e;
452
452
  let l, f;
453
- for (e = o[0], l = 0; l < o.length - 1; l++) f = gr(this, c[n + l], r, l), f === Wt && (f = this._$AH[l]), s || (s = !Dn(f) || f !== this._$AH[l]), f === $e ? e = $e : e !== $e && (e += (f ?? "") + o[l + 1]), this._$AH[l] = f;
453
+ for (e = o[0], l = 0; l < o.length - 1; l++) f = gr(this, c[n + l], r, l), f === Ft && (f = this._$AH[l]), s || (s = !Dn(f) || f !== this._$AH[l]), f === ye ? e = ye : e !== ye && (e += (f ?? "") + o[l + 1]), this._$AH[l] = f;
454
454
  }
455
455
  s && !i && this.j(e);
456
456
  }
457
457
  j(e) {
458
- e === $e ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
458
+ e === ye ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, e ?? "");
459
459
  }
460
460
  }
461
- class Ic extends Wn {
461
+ class Ic extends Fn {
462
462
  constructor() {
463
463
  super(...arguments), this.type = 3;
464
464
  }
465
465
  j(e) {
466
- this.element[this.name] = e === $e ? void 0 : e;
466
+ this.element[this.name] = e === ye ? void 0 : e;
467
467
  }
468
468
  }
469
- class Dc extends Wn {
469
+ class Dc extends Fn {
470
470
  constructor() {
471
471
  super(...arguments), this.type = 4;
472
472
  }
473
473
  j(e) {
474
- this.element.toggleAttribute(this.name, !!e && e !== $e);
474
+ this.element.toggleAttribute(this.name, !!e && e !== ye);
475
475
  }
476
476
  }
477
- class Rc extends Wn {
477
+ class Rc extends Fn {
478
478
  constructor(e, r, n, i, o) {
479
479
  super(e, r, n, i, o), this.type = 5;
480
480
  }
481
481
  _$AI(e, r = this) {
482
- if ((e = gr(this, e, r, 0) ?? $e) === Wt) return;
483
- const n = this._$AH, i = e === $e && n !== $e || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== $e && (n === $e || i);
482
+ if ((e = gr(this, e, r, 0) ?? ye) === Ft) return;
483
+ const n = this._$AH, i = e === ye && n !== ye || e.capture !== n.capture || e.once !== n.once || e.passive !== n.passive, o = e !== ye && (n === ye || i);
484
484
  i && this.element.removeEventListener(this.name, this, n), o && this.element.addEventListener(this.name, this, e), this._$AH = e;
485
485
  }
486
486
  handleEvent(e) {
@@ -499,7 +499,7 @@ class jc {
499
499
  gr(this, e);
500
500
  }
501
501
  }
502
- const xp = { P: Xs, A: Tt, C: Qs, M: 1, L: Lc, R: Tc, D: Oc, V: gr, I: Xr, H: Wn, N: Dc, U: Rc, B: Ic, F: jc }, Ho = Cn.litHtmlPolyfillSupport;
502
+ const xp = { P: Xs, A: Tt, C: Qs, M: 1, L: Lc, R: Tc, D: Oc, V: gr, I: Xr, H: Fn, N: Dc, U: Rc, B: Ic, F: jc }, Ho = Cn.litHtmlPolyfillSupport;
503
503
  Ho == null || Ho(Rn, Xr), (Cn.litHtmlVersions ?? (Cn.litHtmlVersions = [])).push("3.1.2");
504
504
  const Sp = (t, e, r) => {
505
505
  const n = (r == null ? void 0 : r.renderBefore) ?? e;
@@ -515,7 +515,7 @@ const Sp = (t, e, r) => {
515
515
  * Copyright 2017 Google LLC
516
516
  * SPDX-License-Identifier: BSD-3-Clause
517
517
  */
518
- let it = class extends Fr {
518
+ let it = class extends Wr {
519
519
  constructor() {
520
520
  super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
521
521
  }
@@ -537,7 +537,7 @@ let it = class extends Fr {
537
537
  super.disconnectedCallback(), (e = this._$Do) == null || e.setConnected(!1);
538
538
  }
539
539
  render() {
540
- return Wt;
540
+ return Ft;
541
541
  }
542
542
  };
543
543
  var _c;
@@ -583,6 +583,9 @@ form#itemfilter {
583
583
  display: flex;
584
584
  flex-direction: column;
585
585
  }
586
+ form#itemfilter:not(.inline) {
587
+ overflow-y: auto;
588
+ }
586
589
  details {
587
590
  width: 100%;
588
591
  }
@@ -726,7 +729,7 @@ section {
726
729
  button#filter-reset {
727
730
  position: absolute;
728
731
  top: 4px;
729
- right: 0;
732
+ right: 4px;
730
733
  padding: 2px 10px;
731
734
  }
732
735
  .count {
@@ -1019,18 +1022,18 @@ class Ep extends it {
1019
1022
  * Renders the HTML template for the component.
1020
1023
  */
1021
1024
  render() {
1022
- return K`
1025
+ return V`
1023
1026
  <style>
1024
1027
  ${!this.unstyled && zn}
1025
1028
  </style>
1026
1029
 
1027
1030
  ${Je(
1028
1031
  this.filterObject.featured,
1029
- () => K`<slot name="filter"></slot>`,
1030
- () => K`<details
1031
- @toggle="${we(this, Xi, Bc)}"
1032
+ () => V`<slot name="filter"></slot>`,
1033
+ () => V`<details
1034
+ @toggle="${$e(this, Xi, Bc)}"
1032
1035
  class="details-filter"
1033
- ?open=${this.filterObject.expanded || $e}
1036
+ ?open=${this.filterObject.expanded || ye}
1034
1037
  >
1035
1038
  <summary>
1036
1039
  <span
@@ -1100,19 +1103,19 @@ function kp(t) {
1100
1103
  function nt(t) {
1101
1104
  return t != null;
1102
1105
  }
1103
- function Fo(t) {
1106
+ function Wo(t) {
1104
1107
  return !t.trim().length;
1105
1108
  }
1106
1109
  function Uc(t) {
1107
1110
  return t == null ? t === void 0 ? "[object Undefined]" : "[object Null]" : Object.prototype.toString.call(t);
1108
1111
  }
1109
- const Lp = "Incorrect 'index' type", Tp = (t) => `Invalid value for key ${t}`, Ip = (t) => `Pattern length exceeds max of ${t}.`, Dp = (t) => `Missing ${t} property in key`, Rp = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Fa = Object.prototype.hasOwnProperty;
1112
+ const Lp = "Incorrect 'index' type", Tp = (t) => `Invalid value for key ${t}`, Ip = (t) => `Pattern length exceeds max of ${t}.`, Dp = (t) => `Missing ${t} property in key`, Rp = (t) => `Property 'weight' in key '${t}' must be a positive integer`, Wa = Object.prototype.hasOwnProperty;
1110
1113
  class jp {
1111
1114
  constructor(e) {
1112
1115
  this._keys = [], this._keyMap = {};
1113
1116
  let r = 0;
1114
1117
  e.forEach((n) => {
1115
- let i = Fc(n);
1118
+ let i = Wc(n);
1116
1119
  this._keys.push(i), this._keyMap[i.id] = i, r += i.weight;
1117
1120
  }), this._keys.forEach((n) => {
1118
1121
  n.weight /= r;
@@ -1128,21 +1131,21 @@ class jp {
1128
1131
  return JSON.stringify(this._keys);
1129
1132
  }
1130
1133
  }
1131
- function Fc(t) {
1134
+ function Wc(t) {
1132
1135
  let e = null, r = null, n = null, i = 1, o = null;
1133
1136
  if (xt(t) || It(t))
1134
- n = t, e = Wa(t), r = hs(t);
1137
+ n = t, e = Fa(t), r = hs(t);
1135
1138
  else {
1136
- if (!Fa.call(t, "name"))
1139
+ if (!Wa.call(t, "name"))
1137
1140
  throw new Error(Dp("name"));
1138
1141
  const s = t.name;
1139
- if (n = s, Fa.call(t, "weight") && (i = t.weight, i <= 0))
1142
+ if (n = s, Wa.call(t, "weight") && (i = t.weight, i <= 0))
1140
1143
  throw new Error(Rp(s));
1141
- e = Wa(s), r = hs(s), o = t.getFn;
1144
+ e = Fa(s), r = hs(s), o = t.getFn;
1142
1145
  }
1143
1146
  return { path: e, id: r, weight: i, src: n, getFn: o };
1144
1147
  }
1145
- function Wa(t) {
1148
+ function Fa(t) {
1146
1149
  return It(t) ? t : t.split(".");
1147
1150
  }
1148
1151
  function hs(t) {
@@ -1204,7 +1207,7 @@ const Np = {
1204
1207
  // the exact location specified, a threshold of '1000' would require a perfect match
1205
1208
  // to be within 800 characters of the fuzzy location to be found using a 0.8 threshold.
1206
1209
  distance: 100
1207
- }, Fp = {
1210
+ }, Wp = {
1208
1211
  // When `true`, it enables the use of unix-like search commands
1209
1212
  useExtendedSearch: !1,
1210
1213
  // The get function to use when fetching an object's properties.
@@ -1225,14 +1228,14 @@ var G = {
1225
1228
  ...Hp,
1226
1229
  ...Np,
1227
1230
  ...Up,
1228
- ...Fp
1231
+ ...Wp
1229
1232
  };
1230
- const Wp = /[^ ]+/g;
1233
+ const Fp = /[^ ]+/g;
1231
1234
  function zp(t = 1, e = 3) {
1232
1235
  const r = /* @__PURE__ */ new Map(), n = Math.pow(10, e);
1233
1236
  return {
1234
1237
  get(i) {
1235
- const o = i.match(Wp).length;
1238
+ const o = i.match(Fp).length;
1236
1239
  if (r.has(o))
1237
1240
  return r.get(o);
1238
1241
  const s = 1 / Math.pow(o, 0.5 * t), c = parseFloat(Math.round(s * n) / n);
@@ -1286,7 +1289,7 @@ class ea {
1286
1289
  return this.records.length;
1287
1290
  }
1288
1291
  _addString(e, r) {
1289
- if (!nt(e) || Fo(e))
1292
+ if (!nt(e) || Wo(e))
1290
1293
  return;
1291
1294
  let n = {
1292
1295
  v: e,
@@ -1306,7 +1309,7 @@ class ea {
1306
1309
  for (; l.length; ) {
1307
1310
  const { nestedArrIndex: f, value: d } = l.pop();
1308
1311
  if (nt(d))
1309
- if (xt(d) && !Fo(d)) {
1312
+ if (xt(d) && !Wo(d)) {
1310
1313
  let g = {
1311
1314
  v: d,
1312
1315
  i: f,
@@ -1321,7 +1324,7 @@ class ea {
1321
1324
  });
1322
1325
  }
1323
1326
  n.$[o] = c;
1324
- } else if (xt(s) && !Fo(s)) {
1327
+ } else if (xt(s) && !Wo(s)) {
1325
1328
  let c = {
1326
1329
  v: s,
1327
1330
  n: this.norm.get(s)
@@ -1338,9 +1341,9 @@ class ea {
1338
1341
  };
1339
1342
  }
1340
1343
  }
1341
- function Wc(t, e, { getFn: r = G.getFn, fieldNormWeight: n = G.fieldNormWeight } = {}) {
1344
+ function Fc(t, e, { getFn: r = G.getFn, fieldNormWeight: n = G.fieldNormWeight } = {}) {
1342
1345
  const i = new ea({ getFn: r, fieldNormWeight: n });
1343
- return i.setKeys(t.map(Fc)), i.setSources(e), i.create(), i;
1346
+ return i.setKeys(t.map(Wc)), i.setSources(e), i.create(), i;
1344
1347
  }
1345
1348
  function qp(t, { getFn: e = G.getFn, fieldNormWeight: r = G.fieldNormWeight } = {}) {
1346
1349
  const { keys: n, records: i } = t, o = new ea({ getFn: e, fieldNormWeight: r });
@@ -1368,7 +1371,7 @@ function Gp(t = [], e = G.minMatchCharLength) {
1368
1371
  return t[o - 1] && o - n >= e && r.push([n, o - 1]), r;
1369
1372
  }
1370
1373
  const ur = 32;
1371
- function Vp(t, e, r, {
1374
+ function Kp(t, e, r, {
1372
1375
  location: n = G.location,
1373
1376
  distance: i = G.distance,
1374
1377
  threshold: o = G.threshold,
@@ -1381,40 +1384,40 @@ function Vp(t, e, r, {
1381
1384
  throw new Error(Ip(ur));
1382
1385
  const d = e.length, g = t.length, m = Math.max(0, Math.min(n, g));
1383
1386
  let b = o, A = m;
1384
- const L = c > 1 || l, W = L ? Array(g) : [];
1385
- let V;
1386
- for (; (V = t.indexOf(e, A)) > -1; ) {
1387
+ const L = c > 1 || l, F = L ? Array(g) : [];
1388
+ let K;
1389
+ for (; (K = t.indexOf(e, A)) > -1; ) {
1387
1390
  let X = yi(e, {
1388
- currentLocation: V,
1391
+ currentLocation: K,
1389
1392
  expectedLocation: m,
1390
1393
  distance: i,
1391
1394
  ignoreLocation: f
1392
1395
  });
1393
- if (b = Math.min(X, b), A = V + d, L) {
1396
+ if (b = Math.min(X, b), A = K + d, L) {
1394
1397
  let ie = 0;
1395
1398
  for (; ie < d; )
1396
- W[V + ie] = 1, ie += 1;
1399
+ F[K + ie] = 1, ie += 1;
1397
1400
  }
1398
1401
  }
1399
1402
  A = -1;
1400
1403
  let J = [], Z = 1, pe = d + g;
1401
1404
  const te = 1 << d - 1;
1402
1405
  for (let X = 0; X < d; X += 1) {
1403
- let ie = 0, ve = pe;
1404
- for (; ie < ve; )
1406
+ let ie = 0, me = pe;
1407
+ for (; ie < me; )
1405
1408
  yi(e, {
1406
1409
  errors: X,
1407
- currentLocation: m + ve,
1410
+ currentLocation: m + me,
1408
1411
  expectedLocation: m,
1409
1412
  distance: i,
1410
1413
  ignoreLocation: f
1411
- }) <= b ? ie = ve : pe = ve, ve = Math.floor((pe - ie) / 2 + ie);
1412
- pe = ve;
1413
- let he = Math.max(1, m - ve + 1), re = s ? g : Math.min(m + ve, g) + d, De = Array(re + 2);
1414
+ }) <= b ? ie = me : pe = me, me = Math.floor((pe - ie) / 2 + ie);
1415
+ pe = me;
1416
+ let he = Math.max(1, m - me + 1), re = s ? g : Math.min(m + me, g) + d, De = Array(re + 2);
1414
1417
  De[re + 1] = (1 << X) - 1;
1415
1418
  for (let I = re; I >= he; I -= 1) {
1416
1419
  let E = I - 1, _ = r[t.charAt(E)];
1417
- if (L && (W[E] = +!!_), De[I] = (De[I + 1] << 1 | 1) & _, X && (De[I] |= (J[I + 1] | J[I]) << 1 | 1 | J[I + 1]), De[I] & te && (Z = yi(e, {
1420
+ if (L && (F[E] = +!!_), De[I] = (De[I + 1] << 1 | 1) & _, X && (De[I] |= (J[I + 1] | J[I]) << 1 | 1 | J[I + 1]), De[I] & te && (Z = yi(e, {
1418
1421
  errors: X,
1419
1422
  currentLocation: E,
1420
1423
  expectedLocation: m,
@@ -1442,12 +1445,12 @@ function Vp(t, e, r, {
1442
1445
  score: Math.max(1e-3, Z)
1443
1446
  };
1444
1447
  if (L) {
1445
- const X = Gp(W, c);
1448
+ const X = Gp(F, c);
1446
1449
  X.length ? l && (N.indices = X) : N.isMatch = !1;
1447
1450
  }
1448
1451
  return N;
1449
1452
  }
1450
- function Kp(t) {
1453
+ function Vp(t) {
1451
1454
  let e = {};
1452
1455
  for (let r = 0, n = t.length; r < n; r += 1) {
1453
1456
  const i = t.charAt(r);
@@ -1480,7 +1483,7 @@ class zc {
1480
1483
  const d = (m, b) => {
1481
1484
  this.chunks.push({
1482
1485
  pattern: m,
1483
- alphabet: Kp(m),
1486
+ alphabet: Vp(m),
1484
1487
  startIndex: b
1485
1488
  });
1486
1489
  }, g = this.pattern.length;
@@ -1514,9 +1517,9 @@ class zc {
1514
1517
  ignoreLocation: f
1515
1518
  } = this.options;
1516
1519
  let d = [], g = 0, m = !1;
1517
- this.chunks.forEach(({ pattern: A, alphabet: L, startIndex: W }) => {
1518
- const { isMatch: V, score: J, indices: Z } = Vp(e, A, L, {
1519
- location: i + W,
1520
+ this.chunks.forEach(({ pattern: A, alphabet: L, startIndex: F }) => {
1521
+ const { isMatch: K, score: J, indices: Z } = Kp(e, A, L, {
1522
+ location: i + F,
1520
1523
  distance: o,
1521
1524
  threshold: s,
1522
1525
  findAllMatches: c,
@@ -1524,7 +1527,7 @@ class zc {
1524
1527
  includeMatches: n,
1525
1528
  ignoreLocation: f
1526
1529
  });
1527
- V && (m = !0), g += J, V && Z && (d = [...d, ...Z]);
1530
+ K && (m = !0), g += J, K && Z && (d = [...d, ...Z]);
1528
1531
  });
1529
1532
  let b = {
1530
1533
  isMatch: m,
@@ -1817,11 +1820,11 @@ class oh {
1817
1820
  const d = r[l];
1818
1821
  s.length = 0, o = 0;
1819
1822
  for (let g = 0, m = d.length; g < m; g += 1) {
1820
- const b = d[g], { isMatch: A, indices: L, score: W } = b.search(e);
1823
+ const b = d[g], { isMatch: A, indices: L, score: F } = b.search(e);
1821
1824
  if (A) {
1822
- if (o += 1, c += W, n) {
1823
- const V = b.constructor.type;
1824
- ih.has(V) ? s = [...s, ...L] : s.push(L);
1825
+ if (o += 1, c += F, n) {
1826
+ const K = b.constructor.type;
1827
+ ih.has(K) ? s = [...s, ...L] : s.push(L);
1825
1828
  }
1826
1829
  } else {
1827
1830
  c = 0, o = 0, s.length = 0;
@@ -1865,7 +1868,7 @@ const Ii = {
1865
1868
  [e]: t[e]
1866
1869
  }))
1867
1870
  });
1868
- function Vc(t, e, { auto: r = !0 } = {}) {
1871
+ function Kc(t, e, { auto: r = !0 } = {}) {
1869
1872
  const n = (i) => {
1870
1873
  let o = Object.keys(i);
1871
1874
  const s = ah(i);
@@ -1937,14 +1940,14 @@ function ph(t, e, {
1937
1940
  }), c;
1938
1941
  });
1939
1942
  }
1940
- class Vt {
1943
+ class Kt {
1941
1944
  constructor(e, r = {}, n) {
1942
1945
  this.options = { ...G, ...r }, this.options.useExtendedSearch, this._keyStore = new jp(this.options.keys), this.setCollection(e, n);
1943
1946
  }
1944
1947
  setCollection(e, r) {
1945
1948
  if (this._docs = e, r && !(r instanceof ea))
1946
1949
  throw new Error(Lp);
1947
- this._myIndex = r || Wc(this.options.keys, this._docs, {
1950
+ this._myIndex = r || Fc(this.options.keys, this._docs, {
1948
1951
  getFn: this.options.getFn,
1949
1952
  fieldNormWeight: this.options.fieldNormWeight
1950
1953
  });
@@ -1994,7 +1997,7 @@ class Vt {
1994
1997
  }), i;
1995
1998
  }
1996
1999
  _searchLogical(e) {
1997
- const r = Vc(e, this.options), n = (c, l, f) => {
2000
+ const r = Kc(e, this.options), n = (c, l, f) => {
1998
2001
  if (!c.children) {
1999
2002
  const { keyId: g, searcher: m } = c, b = this._findMatches({
2000
2003
  key: this._keyStore.get(g),
@@ -2074,14 +2077,14 @@ class Vt {
2074
2077
  return i;
2075
2078
  }
2076
2079
  }
2077
- Vt.version = "7.0.0";
2078
- Vt.createIndex = Wc;
2079
- Vt.parseIndex = qp;
2080
- Vt.config = G;
2081
- Vt.parseQuery = Vc;
2080
+ Kt.version = "7.0.0";
2081
+ Kt.createIndex = Fc;
2082
+ Kt.parseIndex = qp;
2083
+ Kt.config = G;
2084
+ Kt.parseQuery = Kc;
2082
2085
  sh(oh);
2083
- function Kc(t, e) {
2084
- const r = new Vt(e.filterProperties, {
2086
+ function Vc(t, e) {
2087
+ const r = new Kt(e.filterProperties, {
2085
2088
  keys: ["title"]
2086
2089
  }), n = t.target.value, o = r.search(n).map((s) => s.item.key || s.item.keys.join("|"));
2087
2090
  Object.keys(e.filters).forEach((s) => {
@@ -2096,8 +2099,8 @@ function hh(t, e) {
2096
2099
  }
2097
2100
  function Yc(t) {
2098
2101
  t.renderRoot.querySelector(
2099
- "#itemfilter-input-search"
2100
- ).value = "", Kc({ target: { value: "" } }, t);
2102
+ "#eox-itemfilter-input-search"
2103
+ ).value = "", Vc({ target: { value: "" } }, t);
2101
2104
  }
2102
2105
  function dh(t, e) {
2103
2106
  e.inlineMode && t.stopPropagation();
@@ -2118,11 +2121,11 @@ function bh(t, e) {
2118
2121
  var r = 0, n = 0, i = 0, o = 0, s = 0, c = 0, l = 0, f = 0, d = null, g = null, m = t[0], b = t[1], A = e.length;
2119
2122
  for (r; r < A; r++) {
2120
2123
  n = 0;
2121
- var L = e[r].length - 1, W = e[r];
2122
- if (d = W[0], d[0] !== W[L][0] && d[1] !== W[L][1])
2124
+ var L = e[r].length - 1, F = e[r];
2125
+ if (d = F[0], d[0] !== F[L][0] && d[1] !== F[L][1])
2123
2126
  throw new Error("First and last coordinates in a ring must be the same");
2124
2127
  for (s = d[0] - m, c = d[1] - b, n; n < L; n++) {
2125
- if (g = W[n + 1], f = g[1] - b, c < 0 && f < 0 || c > 0 && f > 0) {
2128
+ if (g = F[n + 1], f = g[1] - b, c < 0 && f < 0 || c > 0 && f > 0) {
2126
2129
  d = g, c = f, s = d[0] - m;
2127
2130
  continue;
2128
2131
  }
@@ -2153,7 +2156,7 @@ function bh(t, e) {
2153
2156
  }
2154
2157
  return i % 2 !== 0;
2155
2158
  }
2156
- var Ke = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2159
+ var Ve = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2157
2160
  function qn(t) {
2158
2161
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2159
2162
  }
@@ -2176,13 +2179,13 @@ function wh(t) {
2176
2179
  });
2177
2180
  }), r;
2178
2181
  }
2179
- var Va = Object.prototype.toString, Jc = function(e) {
2180
- var r = Va.call(e), n = r === "[object Arguments]";
2181
- return n || (n = r !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Va.call(e.callee) === "[object Function]"), n;
2182
- }, Wo, Ka;
2182
+ var Ka = Object.prototype.toString, Jc = function(e) {
2183
+ var r = Ka.call(e), n = r === "[object Arguments]";
2184
+ return n || (n = r !== "[object Array]" && e !== null && typeof e == "object" && typeof e.length == "number" && e.length >= 0 && Ka.call(e.callee) === "[object Function]"), n;
2185
+ }, Fo, Va;
2183
2186
  function $h() {
2184
- if (Ka) return Wo;
2185
- Ka = 1;
2187
+ if (Va) return Fo;
2188
+ Va = 1;
2186
2189
  var t;
2187
2190
  if (!Object.keys) {
2188
2191
  var e = Object.prototype.hasOwnProperty, r = Object.prototype.toString, n = Jc, i = Object.prototype.propertyIsEnumerable, o = !i.call({ toString: null }, "toString"), s = i.call(function() {
@@ -2246,14 +2249,14 @@ function $h() {
2246
2249
  }
2247
2250
  };
2248
2251
  t = function(b) {
2249
- var A = b !== null && typeof b == "object", L = r.call(b) === "[object Function]", W = n(b), V = A && r.call(b) === "[object String]", J = [];
2250
- if (!A && !L && !W)
2252
+ var A = b !== null && typeof b == "object", L = r.call(b) === "[object Function]", F = n(b), K = A && r.call(b) === "[object String]", J = [];
2253
+ if (!A && !L && !F)
2251
2254
  throw new TypeError("Object.keys called on a non-object");
2252
2255
  var Z = s && L;
2253
- if (V && b.length > 0 && !e.call(b, 0))
2256
+ if (K && b.length > 0 && !e.call(b, 0))
2254
2257
  for (var pe = 0; pe < b.length; ++pe)
2255
2258
  J.push(String(pe));
2256
- if (W && b.length > 0)
2259
+ if (F && b.length > 0)
2257
2260
  for (var te = 0; te < b.length; ++te)
2258
2261
  J.push(String(te));
2259
2262
  else
@@ -2265,7 +2268,7 @@ function $h() {
2265
2268
  return J;
2266
2269
  };
2267
2270
  }
2268
- return Wo = t, Wo;
2271
+ return Fo = t, Fo;
2269
2272
  }
2270
2273
  var xh = Array.prototype.slice, Sh = Jc, Ya = Object.keys, Ai = Ya ? function(e) {
2271
2274
  return Ya(e);
@@ -2283,7 +2286,7 @@ Ai.shim = function() {
2283
2286
  Object.keys = Ai;
2284
2287
  return Object.keys || Ai;
2285
2288
  };
2286
- var ta = Ai, Ah = Error, _h = EvalError, Eh = RangeError, Mh = ReferenceError, Zc = SyntaxError, Kt = TypeError, Ph = URIError, no = function() {
2289
+ var ta = Ai, Ah = Error, _h = EvalError, Eh = RangeError, Mh = ReferenceError, Zc = SyntaxError, Vt = TypeError, Ph = URIError, no = function() {
2287
2290
  if (typeof Symbol != "function" || typeof Object.getOwnPropertySymbols != "function")
2288
2291
  return !1;
2289
2292
  if (typeof Symbol.iterator == "symbol")
@@ -2350,7 +2353,7 @@ var ta = Ai, Ah = Error, _h = EvalError, Eh = RangeError, Mh = ReferenceError, Z
2350
2353
  f.prototype = r.prototype, i.prototype = new f(), f.prototype = null;
2351
2354
  }
2352
2355
  return i;
2353
- }, Nh = Bh, na = Function.prototype.bind || Nh, Hh = Function.prototype.call, Uh = Object.prototype.hasOwnProperty, Fh = na, Xc = Fh.call(Hh, Uh), ae, Wh = Ah, zh = _h, qh = Eh, Gh = Mh, Vr = Zc, qr = Kt, Vh = Ph, Qc = Function, zo = function(t) {
2356
+ }, Nh = Bh, na = Function.prototype.bind || Nh, Hh = Function.prototype.call, Uh = Object.prototype.hasOwnProperty, Wh = na, Xc = Wh.call(Hh, Uh), ae, Fh = Ah, zh = _h, qh = Eh, Gh = Mh, Kr = Zc, qr = Vt, Kh = Ph, Qc = Function, zo = function(t) {
2354
2357
  try {
2355
2358
  return Qc('"use strict"; return (' + t + ").constructor;")();
2356
2359
  } catch {
@@ -2364,7 +2367,7 @@ if (pr)
2364
2367
  }
2365
2368
  var qo = function() {
2366
2369
  throw new qr();
2367
- }, Kh = pr ? function() {
2370
+ }, Vh = pr ? function() {
2368
2371
  try {
2369
2372
  return arguments.callee, qo;
2370
2373
  } catch {
@@ -2376,17 +2379,17 @@ var qo = function() {
2376
2379
  }
2377
2380
  }() : qo, Hr = ra(), Yh = kh(), Ne = Object.getPrototypeOf || (Yh ? function(t) {
2378
2381
  return t.__proto__;
2379
- } : null), Wr = {}, Jh = typeof Uint8Array > "u" || !Ne ? ae : Ne(Uint8Array), hr = {
2382
+ } : null), Fr = {}, Jh = typeof Uint8Array > "u" || !Ne ? ae : Ne(Uint8Array), hr = {
2380
2383
  __proto__: null,
2381
2384
  "%AggregateError%": typeof AggregateError > "u" ? ae : AggregateError,
2382
2385
  "%Array%": Array,
2383
2386
  "%ArrayBuffer%": typeof ArrayBuffer > "u" ? ae : ArrayBuffer,
2384
2387
  "%ArrayIteratorPrototype%": Hr && Ne ? Ne([][Symbol.iterator]()) : ae,
2385
2388
  "%AsyncFromSyncIteratorPrototype%": ae,
2386
- "%AsyncFunction%": Wr,
2387
- "%AsyncGenerator%": Wr,
2388
- "%AsyncGeneratorFunction%": Wr,
2389
- "%AsyncIteratorPrototype%": Wr,
2389
+ "%AsyncFunction%": Fr,
2390
+ "%AsyncGenerator%": Fr,
2391
+ "%AsyncGeneratorFunction%": Fr,
2392
+ "%AsyncIteratorPrototype%": Fr,
2390
2393
  "%Atomics%": typeof Atomics > "u" ? ae : Atomics,
2391
2394
  "%BigInt%": typeof BigInt > "u" ? ae : BigInt,
2392
2395
  "%BigInt64Array%": typeof BigInt64Array > "u" ? ae : BigInt64Array,
@@ -2398,7 +2401,7 @@ var qo = function() {
2398
2401
  "%decodeURIComponent%": decodeURIComponent,
2399
2402
  "%encodeURI%": encodeURI,
2400
2403
  "%encodeURIComponent%": encodeURIComponent,
2401
- "%Error%": Wh,
2404
+ "%Error%": Fh,
2402
2405
  "%eval%": eval,
2403
2406
  // eslint-disable-line no-eval
2404
2407
  "%EvalError%": zh,
@@ -2406,7 +2409,7 @@ var qo = function() {
2406
2409
  "%Float64Array%": typeof Float64Array > "u" ? ae : Float64Array,
2407
2410
  "%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? ae : FinalizationRegistry,
2408
2411
  "%Function%": Qc,
2409
- "%GeneratorFunction%": Wr,
2412
+ "%GeneratorFunction%": Fr,
2410
2413
  "%Int8Array%": typeof Int8Array > "u" ? ae : Int8Array,
2411
2414
  "%Int16Array%": typeof Int16Array > "u" ? ae : Int16Array,
2412
2415
  "%Int32Array%": typeof Int32Array > "u" ? ae : Int32Array,
@@ -2433,15 +2436,15 @@ var qo = function() {
2433
2436
  "%String%": String,
2434
2437
  "%StringIteratorPrototype%": Hr && Ne ? Ne(""[Symbol.iterator]()) : ae,
2435
2438
  "%Symbol%": Hr ? Symbol : ae,
2436
- "%SyntaxError%": Vr,
2437
- "%ThrowTypeError%": Kh,
2439
+ "%SyntaxError%": Kr,
2440
+ "%ThrowTypeError%": Vh,
2438
2441
  "%TypedArray%": Jh,
2439
2442
  "%TypeError%": qr,
2440
2443
  "%Uint8Array%": typeof Uint8Array > "u" ? ae : Uint8Array,
2441
2444
  "%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? ae : Uint8ClampedArray,
2442
2445
  "%Uint16Array%": typeof Uint16Array > "u" ? ae : Uint16Array,
2443
2446
  "%Uint32Array%": typeof Uint32Array > "u" ? ae : Uint32Array,
2444
- "%URIError%": Vh,
2447
+ "%URIError%": Kh,
2445
2448
  "%WeakMap%": typeof WeakMap > "u" ? ae : WeakMap,
2446
2449
  "%WeakRef%": typeof WeakRef > "u" ? ae : WeakRef,
2447
2450
  "%WeakSet%": typeof WeakSet > "u" ? ae : WeakSet
@@ -2525,9 +2528,9 @@ var Xh = function t(e) {
2525
2528
  }, Gn = na, Di = Xc, Qh = Gn.call(Function.call, Array.prototype.concat), ed = Gn.call(Function.apply, Array.prototype.splice), tl = Gn.call(Function.call, String.prototype.replace), Ri = Gn.call(Function.call, String.prototype.slice), td = Gn.call(Function.call, RegExp.prototype.exec), rd = /[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g, nd = /\\(\\)?/g, id = function(e) {
2526
2529
  var r = Ri(e, 0, 1), n = Ri(e, -1);
2527
2530
  if (r === "%" && n !== "%")
2528
- throw new Vr("invalid intrinsic syntax, expected closing `%`");
2531
+ throw new Kr("invalid intrinsic syntax, expected closing `%`");
2529
2532
  if (n === "%" && r !== "%")
2530
- throw new Vr("invalid intrinsic syntax, expected opening `%`");
2533
+ throw new Kr("invalid intrinsic syntax, expected opening `%`");
2531
2534
  var i = [];
2532
2535
  return tl(e, rd, function(o, s, c, l) {
2533
2536
  i[i.length] = c ? tl(l, nd, "$1") : s || o;
@@ -2536,7 +2539,7 @@ var Xh = function t(e) {
2536
2539
  var n = e, i;
2537
2540
  if (Di(el, n) && (i = el[n], n = "%" + i[0] + "%"), Di(hr, n)) {
2538
2541
  var o = hr[n];
2539
- if (o === Wr && (o = Xh(n)), typeof o > "u" && !r)
2542
+ if (o === Fr && (o = Xh(n)), typeof o > "u" && !r)
2540
2543
  throw new qr("intrinsic " + e + " exists, but is not available. Please file an issue!");
2541
2544
  return {
2542
2545
  alias: i,
@@ -2544,20 +2547,20 @@ var Xh = function t(e) {
2544
2547
  value: o
2545
2548
  };
2546
2549
  }
2547
- throw new Vr("intrinsic " + e + " does not exist!");
2550
+ throw new Kr("intrinsic " + e + " does not exist!");
2548
2551
  }, At = function(e, r) {
2549
2552
  if (typeof e != "string" || e.length === 0)
2550
2553
  throw new qr("intrinsic name must be a non-empty string");
2551
2554
  if (arguments.length > 1 && typeof r != "boolean")
2552
2555
  throw new qr('"allowMissing" argument must be a boolean');
2553
2556
  if (td(/^%?[^%]*%?$/, e) === null)
2554
- throw new Vr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2557
+ throw new Kr("`%` may not be present anywhere but at the beginning and end of the intrinsic name");
2555
2558
  var n = id(e), i = n.length > 0 ? n[0] : "", o = od("%" + i + "%", r), s = o.name, c = o.value, l = !1, f = o.alias;
2556
2559
  f && (i = f[0], ed(n, Qh([0, 1], f)));
2557
2560
  for (var d = 1, g = !0; d < n.length; d += 1) {
2558
2561
  var m = n[d], b = Ri(m, 0, 1), A = Ri(m, -1);
2559
2562
  if ((b === '"' || b === "'" || b === "`" || A === '"' || A === "'" || A === "`") && b !== A)
2560
- throw new Vr("property names with quotes must have matching quotes");
2563
+ throw new Kr("property names with quotes must have matching quotes");
2561
2564
  if ((m === "constructor" || !g) && (l = !0), i += "." + m, s = "%" + i + "%", Di(hr, s))
2562
2565
  c = hr[s];
2563
2566
  else if (c != null) {
@@ -2589,7 +2592,7 @@ if (Ei)
2589
2592
  } catch {
2590
2593
  Ei = null;
2591
2594
  }
2592
- var oa = Ei, rl = ia, ld = Zc, Ur = Kt, nl = oa, sa = function(e, r, n) {
2595
+ var oa = Ei, rl = ia, ld = Zc, Ur = Vt, nl = oa, sa = function(e, r, n) {
2593
2596
  if (!e || typeof e != "object" && typeof e != "function")
2594
2597
  throw new Ur("`obj` must be an object or a function`");
2595
2598
  if (typeof r != "string" && typeof r != "symbol")
@@ -2644,7 +2647,7 @@ var aa = eu, cd = ta, ud = typeof Symbol == "function" && typeof Symbol("foo") =
2644
2647
  dd(t, n[i], e[n[i]], r[n[i]]);
2645
2648
  };
2646
2649
  ru.supportsDescriptors = !!tu;
2647
- var xr = ru, nu = { exports: {} }, gd = At, ol = sa, yd = aa(), sl = oa, al = Kt, vd = gd("%Math.floor%"), md = function(e, r) {
2650
+ var xr = ru, nu = { exports: {} }, gd = At, ol = sa, yd = aa(), sl = oa, al = Vt, vd = gd("%Math.floor%"), md = function(e, r) {
2648
2651
  if (typeof e != "function")
2649
2652
  throw new al("`fn` is not a function");
2650
2653
  if (typeof r != "number" || r < 0 || r > 4294967295 || vd(r) !== r)
@@ -2669,7 +2672,7 @@ var xr = ru, nu = { exports: {} }, gd = At, ol = sa, yd = aa(), sl = oa, al = Kt
2669
2672
  )), e;
2670
2673
  };
2671
2674
  (function(t) {
2672
- var e = na, r = At, n = md, i = Kt, o = r("%Function.prototype.apply%"), s = r("%Function.prototype.call%"), c = r("%Reflect.apply%", !0) || e.call(s, o), l = ia, f = r("%Math.max%");
2675
+ var e = na, r = At, n = md, i = Vt, o = r("%Function.prototype.apply%"), s = r("%Function.prototype.call%"), c = r("%Reflect.apply%", !0) || e.call(s, o), l = ia, f = r("%Math.max%");
2673
2676
  t.exports = function(m) {
2674
2677
  if (typeof m != "function")
2675
2678
  throw new i("a function is required");
@@ -2770,7 +2773,7 @@ jn.boundFunctionsHaveNames = function() {
2770
2773
  return jn() && typeof Id == "function" && (function() {
2771
2774
  }).bind().name !== "";
2772
2775
  };
2773
- var Dd = jn, ul = sa, Rd = aa(), jd = Dd.functionsHaveConfigurableNames(), Bd = Kt, Nd = function(e, r) {
2776
+ var Dd = jn, ul = sa, Rd = aa(), jd = Dd.functionsHaveConfigurableNames(), Bd = Vt, Nd = function(e, r) {
2774
2777
  if (typeof e != "function")
2775
2778
  throw new Bd("`fn` is not a function");
2776
2779
  var n = arguments.length > 2 && !!arguments[2];
@@ -2787,12 +2790,12 @@ var Dd = jn, ul = sa, Rd = aa(), jd = Dd.functionsHaveConfigurableNames(), Bd =
2787
2790
  "name",
2788
2791
  r
2789
2792
  )), e;
2790
- }, Hd = Nd, Ud = Kt, Fd = Object, pu = Hd(function() {
2791
- if (this == null || this !== Fd(this))
2793
+ }, Hd = Nd, Ud = Vt, Wd = Object, pu = Hd(function() {
2794
+ if (this == null || this !== Wd(this))
2792
2795
  throw new Ud("RegExp.prototype.flags getter called on non-object");
2793
2796
  var e = "";
2794
2797
  return this.hasIndices && (e += "d"), this.global && (e += "g"), this.ignoreCase && (e += "i"), this.multiline && (e += "m"), this.dotAll && (e += "s"), this.unicode && (e += "u"), this.unicodeSets && (e += "v"), this.sticky && (e += "y"), e;
2795
- }, "get flags", !0), Wd = pu, zd = xr.supportsDescriptors, qd = Object.getOwnPropertyDescriptor, hu = function() {
2798
+ }, "get flags", !0), Fd = pu, zd = xr.supportsDescriptors, qd = Object.getOwnPropertyDescriptor, hu = function() {
2796
2799
  if (zd && /a/mig.flags === "gim") {
2797
2800
  var e = qd(RegExp.prototype, "flags");
2798
2801
  if (e && typeof e.get == "function" && typeof RegExp.prototype.dotAll == "boolean" && typeof RegExp.prototype.hasIndices == "boolean") {
@@ -2809,11 +2812,11 @@ var Dd = jn, ul = sa, Rd = aa(), jd = Dd.functionsHaveConfigurableNames(), Bd =
2809
2812
  return e.get;
2810
2813
  }
2811
2814
  }
2812
- return Wd;
2813
- }, Gd = xr.supportsDescriptors, Vd = hu, Kd = Object.getOwnPropertyDescriptor, Yd = Object.defineProperty, Jd = TypeError, fl = Object.getPrototypeOf, Zd = /a/, Xd = function() {
2815
+ return Fd;
2816
+ }, Gd = xr.supportsDescriptors, Kd = hu, Vd = Object.getOwnPropertyDescriptor, Yd = Object.defineProperty, Jd = TypeError, fl = Object.getPrototypeOf, Zd = /a/, Xd = function() {
2814
2817
  if (!Gd || !fl)
2815
2818
  throw new Jd("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");
2816
- var e = Vd(), r = fl(Zd), n = Kd(r, "flags");
2819
+ var e = Kd(), r = fl(Zd), n = Vd(r, "flags");
2817
2820
  return (!n || n.get !== e) && Yd(r, "flags", {
2818
2821
  configurable: !0,
2819
2822
  enumerable: !1,
@@ -2840,7 +2843,7 @@ const lg = {}, cg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineP
2840
2843
  __proto__: null,
2841
2844
  default: lg
2842
2845
  }, Symbol.toStringTag, { value: "Module" })), ug = /* @__PURE__ */ wh(cg);
2843
- var la = typeof Map == "function" && Map.prototype, Vo = Object.getOwnPropertyDescriptor && la ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ji = la && Vo && typeof Vo.get == "function" ? Vo.get : null, pl = la && Map.prototype.forEach, ca = typeof Set == "function" && Set.prototype, Ko = Object.getOwnPropertyDescriptor && ca ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Bi = ca && Ko && typeof Ko.get == "function" ? Ko.get : null, hl = ca && Set.prototype.forEach, fg = typeof WeakMap == "function" && WeakMap.prototype, Ln = fg ? WeakMap.prototype.has : null, pg = typeof WeakSet == "function" && WeakSet.prototype, Tn = pg ? WeakSet.prototype.has : null, hg = typeof WeakRef == "function" && WeakRef.prototype, dl = hg ? WeakRef.prototype.deref : null, dg = Boolean.prototype.valueOf, gg = Object.prototype.toString, yg = Function.prototype.toString, vg = String.prototype.match, ua = String.prototype.slice, Ut = String.prototype.replace, mg = String.prototype.toUpperCase, gl = String.prototype.toLowerCase, mu = RegExp.prototype.test, yl = Array.prototype.concat, wt = Array.prototype.join, bg = Array.prototype.slice, vl = Math.floor, $s = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Yo = Object.getOwnPropertySymbols, xs = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Kr = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ye = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Kr || !0) ? Symbol.toStringTag : null, bu = Object.prototype.propertyIsEnumerable, ml = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2846
+ var la = typeof Map == "function" && Map.prototype, Ko = Object.getOwnPropertyDescriptor && la ? Object.getOwnPropertyDescriptor(Map.prototype, "size") : null, ji = la && Ko && typeof Ko.get == "function" ? Ko.get : null, pl = la && Map.prototype.forEach, ca = typeof Set == "function" && Set.prototype, Vo = Object.getOwnPropertyDescriptor && ca ? Object.getOwnPropertyDescriptor(Set.prototype, "size") : null, Bi = ca && Vo && typeof Vo.get == "function" ? Vo.get : null, hl = ca && Set.prototype.forEach, fg = typeof WeakMap == "function" && WeakMap.prototype, Ln = fg ? WeakMap.prototype.has : null, pg = typeof WeakSet == "function" && WeakSet.prototype, Tn = pg ? WeakSet.prototype.has : null, hg = typeof WeakRef == "function" && WeakRef.prototype, dl = hg ? WeakRef.prototype.deref : null, dg = Boolean.prototype.valueOf, gg = Object.prototype.toString, yg = Function.prototype.toString, vg = String.prototype.match, ua = String.prototype.slice, Ut = String.prototype.replace, mg = String.prototype.toUpperCase, gl = String.prototype.toLowerCase, mu = RegExp.prototype.test, yl = Array.prototype.concat, wt = Array.prototype.join, bg = Array.prototype.slice, vl = Math.floor, $s = typeof BigInt == "function" ? BigInt.prototype.valueOf : null, Yo = Object.getOwnPropertySymbols, xs = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? Symbol.prototype.toString : null, Vr = typeof Symbol == "function" && typeof Symbol.iterator == "object", Ye = typeof Symbol == "function" && Symbol.toStringTag && (typeof Symbol.toStringTag === Vr || !0) ? Symbol.toStringTag : null, bu = Object.prototype.propertyIsEnumerable, ml = (typeof Reflect == "function" ? Reflect.getPrototypeOf : Object.getPrototypeOf) || ([].__proto__ === Array.prototype ? function(t) {
2844
2847
  return t.__proto__;
2845
2848
  } : null);
2846
2849
  function bl(t, e) {
@@ -2910,13 +2913,13 @@ var Ss = ug, wl = Ss.custom, $l = $u(wl) ? wl : null, wg = function t(e, r, n, i
2910
2913
  return "[Function" + (b ? ": " + b : " (anonymous)") + "]" + (A.length > 0 ? " { " + wt.call(A, ", ") + " }" : "");
2911
2914
  }
2912
2915
  if ($u(e)) {
2913
- var L = Kr ? Ut.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : xs.call(e);
2914
- return typeof e == "object" && !Kr ? An(L) : L;
2916
+ var L = Vr ? Ut.call(String(e), /^(Symbol\(.*\))_[^)]*$/, "$1") : xs.call(e);
2917
+ return typeof e == "object" && !Vr ? An(L) : L;
2915
2918
  }
2916
2919
  if (Dg(e)) {
2917
- for (var W = "<" + gl.call(String(e.nodeName)), V = e.attributes || [], J = 0; J < V.length; J++)
2918
- W += " " + V[J].name + "=" + wu($g(V[J].value), "double", o);
2919
- return W += ">", e.childNodes && e.childNodes.length && (W += "..."), W += "</" + gl.call(String(e.nodeName)) + ">", W;
2920
+ for (var F = "<" + gl.call(String(e.nodeName)), K = e.attributes || [], J = 0; J < K.length; J++)
2921
+ F += " " + K[J].name + "=" + wu($g(K[J].value), "double", o);
2922
+ return F += ">", e.childNodes && e.childNodes.length && (F += "..."), F += "</" + gl.call(String(e.nodeName)) + ">", F;
2920
2923
  }
2921
2924
  if (As(e)) {
2922
2925
  if (e.length === 0)
@@ -2962,10 +2965,10 @@ var Ss = ug, wl = Ss.custom, $l = $u(wl) ? wl : null, wg = function t(e, r, n, i
2962
2965
  return An(m(String(e)));
2963
2966
  if (typeof window < "u" && e === window)
2964
2967
  return "{ [object Window] }";
2965
- if (e === Ke)
2968
+ if (e === Ve)
2966
2969
  return "{ [object globalThis] }";
2967
2970
  if (!xg(e) && !xl(e)) {
2968
- var X = vi(e, m), ie = ml ? ml(e) === Object.prototype : e instanceof Object || e.constructor === Object, ve = e instanceof Object ? "" : "null prototype", he = !ie && Ye && Object(e) === e && Ye in e ? ua.call(Yt(e), 8, -1) : ve ? "Object" : "", re = ie || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", De = re + (he || ve ? "[" + wt.call(yl.call([], he || [], ve || []), ": ") + "] " : "");
2971
+ var X = vi(e, m), ie = ml ? ml(e) === Object.prototype : e instanceof Object || e.constructor === Object, me = e instanceof Object ? "" : "null prototype", he = !ie && Ye && Object(e) === e && Ye in e ? ua.call(Yt(e), 8, -1) : me ? "Object" : "", re = ie || typeof e.constructor != "function" ? "" : e.constructor.name ? e.constructor.name + " " : "", De = re + (he || me ? "[" + wt.call(yl.call([], he || [], me || []), ": ") + "] " : "");
2969
2972
  return X.length === 0 ? De + "{}" : g ? De + "{" + _s(X, g) + "}" : De + "{ " + wt.call(X, ", ") + " }";
2970
2973
  }
2971
2974
  return String(e);
@@ -2999,7 +3002,7 @@ function Eg(t) {
2999
3002
  return Yt(t) === "[object Boolean]" && (!Ye || !(typeof t == "object" && Ye in t));
3000
3003
  }
3001
3004
  function $u(t) {
3002
- if (Kr)
3005
+ if (Vr)
3003
3006
  return t && typeof t == "object" && t instanceof Symbol;
3004
3007
  if (typeof t == "symbol")
3005
3008
  return !0;
@@ -3179,27 +3182,27 @@ function vi(t, e) {
3179
3182
  n[i] = Ht(t, i) ? e(t[i], t) : "";
3180
3183
  }
3181
3184
  var o = typeof Yo == "function" ? Yo(t) : [], s;
3182
- if (Kr) {
3185
+ if (Vr) {
3183
3186
  s = {};
3184
3187
  for (var c = 0; c < o.length; c++)
3185
3188
  s["$" + o[c]] = o[c];
3186
3189
  }
3187
3190
  for (var l in t)
3188
- Ht(t, l) && (r && String(Number(l)) === l && l < t.length || Kr && s["$" + l] instanceof Symbol || (mu.call(/[^\w$]/, l) ? n.push(e(l, t) + ": " + e(t[l], t)) : n.push(l + ": " + e(t[l], t))));
3191
+ Ht(t, l) && (r && String(Number(l)) === l && l < t.length || Vr && s["$" + l] instanceof Symbol || (mu.call(/[^\w$]/, l) ? n.push(e(l, t) + ": " + e(t[l], t)) : n.push(l + ": " + e(t[l], t))));
3189
3192
  if (typeof Yo == "function")
3190
3193
  for (var f = 0; f < o.length; f++)
3191
3194
  bu.call(t, o[f]) && n.push("[" + e(o[f]) + "]: " + e(t[o[f]], t));
3192
3195
  return n;
3193
3196
  }
3194
- var Au = At, en = ct, Ng = wg, Hg = Kt, mi = Au("%WeakMap%", !0), bi = Au("%Map%", !0), Ug = en("WeakMap.prototype.get", !0), Fg = en("WeakMap.prototype.set", !0), Wg = en("WeakMap.prototype.has", !0), zg = en("Map.prototype.get", !0), qg = en("Map.prototype.set", !0), Gg = en("Map.prototype.has", !0), fa = function(t, e) {
3197
+ var Au = At, en = ct, Ng = wg, Hg = Vt, mi = Au("%WeakMap%", !0), bi = Au("%Map%", !0), Ug = en("WeakMap.prototype.get", !0), Wg = en("WeakMap.prototype.set", !0), Fg = en("WeakMap.prototype.has", !0), zg = en("Map.prototype.get", !0), qg = en("Map.prototype.set", !0), Gg = en("Map.prototype.has", !0), fa = function(t, e) {
3195
3198
  for (var r = t, n; (n = r.next) !== null; r = n)
3196
3199
  if (n.key === e)
3197
3200
  return r.next = n.next, n.next = /** @type {NonNullable<typeof list.next>} */
3198
3201
  t.next, t.next = n, n;
3199
- }, Vg = function(t, e) {
3202
+ }, Kg = function(t, e) {
3200
3203
  var r = fa(t, e);
3201
3204
  return r && r.value;
3202
- }, Kg = function(t, e, r) {
3205
+ }, Vg = function(t, e, r) {
3203
3206
  var n = fa(t, e);
3204
3207
  n ? n.value = r : t.next = /** @type {import('.').ListNode<typeof value>} */
3205
3208
  {
@@ -3224,12 +3227,12 @@ var Au = At, en = ct, Ng = wg, Hg = Kt, mi = Au("%WeakMap%", !0), bi = Au("%Map%
3224
3227
  if (r)
3225
3228
  return zg(r, o);
3226
3229
  } else if (n)
3227
- return Vg(n, o);
3230
+ return Kg(n, o);
3228
3231
  },
3229
3232
  has: function(o) {
3230
3233
  if (mi && o && (typeof o == "object" || typeof o == "function")) {
3231
3234
  if (e)
3232
- return Wg(e, o);
3235
+ return Fg(e, o);
3233
3236
  } else if (bi) {
3234
3237
  if (r)
3235
3238
  return Gg(r, o);
@@ -3238,11 +3241,11 @@ var Au = At, en = ct, Ng = wg, Hg = Kt, mi = Au("%WeakMap%", !0), bi = Au("%Map%
3238
3241
  return !1;
3239
3242
  },
3240
3243
  set: function(o, s) {
3241
- mi && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new mi()), Fg(e, o, s)) : bi ? (r || (r = new bi()), qg(r, o, s)) : (n || (n = { key: {}, next: null }), Kg(n, o, s));
3244
+ mi && o && (typeof o == "object" || typeof o == "function") ? (e || (e = new mi()), Wg(e, o, s)) : bi ? (r || (r = new bi()), qg(r, o, s)) : (n || (n = { key: {}, next: null }), Vg(n, o, s));
3242
3245
  }
3243
3246
  };
3244
3247
  return i;
3245
- }, Jg = Xc, _n = _u(), Lt = Kt, pa = {
3248
+ }, Jg = Xc, _n = _u(), Lt = Vt, pa = {
3246
3249
  assert: function(t, e) {
3247
3250
  if (!t || typeof t != "object" && typeof t != "function")
3248
3251
  throw new Lt("`O` is not an object");
@@ -3470,11 +3473,11 @@ xy(Iu, {
3470
3473
  });
3471
3474
  var Ey = Iu, My = {}.toString, Py = Array.isArray || function(t) {
3472
3475
  return My.call(t) == "[object Array]";
3473
- }, Oy = Qr, Du = ct, Cy = At, Es = Cy("%ArrayBuffer%", !0), Pi = Du("ArrayBuffer.prototype.byteLength", !0), ky = Du("Object.prototype.toString"), Ul = !!Es && !Pi && new Es(0).slice, Fl = !!Ul && Oy(Ul), Ru = Pi || Fl ? function(e) {
3476
+ }, Oy = Qr, Du = ct, Cy = At, Es = Cy("%ArrayBuffer%", !0), Pi = Du("ArrayBuffer.prototype.byteLength", !0), ky = Du("Object.prototype.toString"), Ul = !!Es && !Pi && new Es(0).slice, Wl = !!Ul && Oy(Ul), Ru = Pi || Wl ? function(e) {
3474
3477
  if (!e || typeof e != "object")
3475
3478
  return !1;
3476
3479
  try {
3477
- return Pi ? Pi(e) : Fl(e, 0), !0;
3480
+ return Pi ? Pi(e) : Wl(e, 0), !0;
3478
3481
  } catch {
3479
3482
  return !1;
3480
3483
  }
@@ -3514,11 +3517,11 @@ var By = Ms("Object.prototype.toString"), Ny = Object.getOwnPropertyDescriptor,
3514
3517
  }
3515
3518
  } : function(e) {
3516
3519
  return !e || typeof e != "object" && typeof e != "function" ? !1 : By(e) === Hy;
3517
- }, Fy = ct, Wl = Fy("SharedArrayBuffer.prototype.byteLength", !0), Wy = Wl ? function(e) {
3520
+ }, Wy = ct, Fl = Wy("SharedArrayBuffer.prototype.byteLength", !0), Fy = Fl ? function(e) {
3518
3521
  if (!e || typeof e != "object")
3519
3522
  return !1;
3520
3523
  try {
3521
- return Wl(e), !0;
3524
+ return Fl(e), !0;
3522
3525
  } catch {
3523
3526
  return !1;
3524
3527
  }
@@ -3530,8 +3533,8 @@ var By = Ms("Object.prototype.toString"), Ny = Object.getOwnPropertyDescriptor,
3530
3533
  } catch {
3531
3534
  return !1;
3532
3535
  }
3533
- }, Gy = Object.prototype.toString, Vy = "[object Number]", Ky = Sr(), Yy = function(e) {
3534
- return typeof e == "number" ? !0 : typeof e != "object" ? !1 : Ky ? qy(e) : Gy.call(e) === Vy;
3536
+ }, Gy = Object.prototype.toString, Ky = "[object Number]", Vy = Sr(), Yy = function(e) {
3537
+ return typeof e == "number" ? !0 : typeof e != "object" ? !1 : Vy ? qy(e) : Gy.call(e) === Ky;
3535
3538
  }, Hu = ct, Jy = Hu("Boolean.prototype.toString"), Zy = Hu("Object.prototype.toString"), Xy = function(e) {
3536
3539
  try {
3537
3540
  return Jy(e), !0;
@@ -3591,15 +3594,15 @@ var pv = ks.exports, hv = Eu, dv = Yy, gv = tv, yv = av, vv = pv, mv = function(
3591
3594
  return "Symbol";
3592
3595
  if (vv(e))
3593
3596
  return "BigInt";
3594
- }, Ui = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, ql = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, Fi;
3595
- Ui || (Fi = function(e) {
3597
+ }, Ui = typeof WeakMap == "function" && WeakMap.prototype ? WeakMap : null, ql = typeof WeakSet == "function" && WeakSet.prototype ? WeakSet : null, Wi;
3598
+ Ui || (Wi = function(e) {
3596
3599
  return !1;
3597
3600
  });
3598
3601
  var Ls = Ui ? Ui.prototype.has : null, ts = ql ? ql.prototype.has : null;
3599
- !Fi && !Ls && (Fi = function(e) {
3602
+ !Wi && !Ls && (Wi = function(e) {
3600
3603
  return !1;
3601
3604
  });
3602
- var bv = Fi || function(e) {
3605
+ var bv = Wi || function(e) {
3603
3606
  if (!e || typeof e != "object")
3604
3607
  return !1;
3605
3608
  try {
@@ -3647,7 +3650,7 @@ var xv = Ts.exports, Sv = Pu, Av = Cu, _v = bv, Ev = xv, Mv = function(e) {
3647
3650
  return "WeakSet";
3648
3651
  }
3649
3652
  return !1;
3650
- }, Fu = Function.prototype.toString, zr = typeof Reflect == "object" && Reflect !== null && Reflect.apply, Is, Oi;
3653
+ }, Wu = Function.prototype.toString, zr = typeof Reflect == "object" && Reflect !== null && Reflect.apply, Is, Oi;
3651
3654
  if (typeof zr == "function" && typeof Object.defineProperty == "function")
3652
3655
  try {
3653
3656
  Is = Object.defineProperty({}, "length", {
@@ -3664,14 +3667,14 @@ else
3664
3667
  zr = null;
3665
3668
  var Pv = /^\s*class\b/, Ds = function(e) {
3666
3669
  try {
3667
- var r = Fu.call(e);
3670
+ var r = Wu.call(e);
3668
3671
  return Pv.test(r);
3669
3672
  } catch {
3670
3673
  return !1;
3671
3674
  }
3672
3675
  }, is = function(e) {
3673
3676
  try {
3674
- return Ds(e) ? !1 : (Fu.call(e), !0);
3677
+ return Ds(e) ? !1 : (Wu.call(e), !0);
3675
3678
  } catch {
3676
3679
  return !1;
3677
3680
  }
@@ -3713,20 +3716,20 @@ var Bv = zr ? function(e) {
3713
3716
  return !1;
3714
3717
  var r = Ci.call(e);
3715
3718
  return r !== Cv && r !== kv && !/^\[object HTML/.test(r) ? !1 : is(e);
3716
- }, Nv = Bv, Hv = Object.prototype.toString, Wu = Object.prototype.hasOwnProperty, Uv = function(e, r, n) {
3719
+ }, Nv = Bv, Hv = Object.prototype.toString, Fu = Object.prototype.hasOwnProperty, Uv = function(e, r, n) {
3717
3720
  for (var i = 0, o = e.length; i < o; i++)
3718
- Wu.call(e, i) && (n == null ? r(e[i], i, e) : r.call(n, e[i], i, e));
3719
- }, Fv = function(e, r, n) {
3721
+ Fu.call(e, i) && (n == null ? r(e[i], i, e) : r.call(n, e[i], i, e));
3722
+ }, Wv = function(e, r, n) {
3720
3723
  for (var i = 0, o = e.length; i < o; i++)
3721
3724
  n == null ? r(e.charAt(i), i, e) : r.call(n, e.charAt(i), i, e);
3722
- }, Wv = function(e, r, n) {
3725
+ }, Fv = function(e, r, n) {
3723
3726
  for (var i in e)
3724
- Wu.call(e, i) && (n == null ? r(e[i], i, e) : r.call(n, e[i], i, e));
3727
+ Fu.call(e, i) && (n == null ? r(e[i], i, e) : r.call(n, e[i], i, e));
3725
3728
  }, zv = function(e, r, n) {
3726
3729
  if (!Nv(r))
3727
3730
  throw new TypeError("iterator must be a function");
3728
3731
  var i;
3729
- arguments.length >= 3 && (i = n), Hv.call(e) === "[object Array]" ? Uv(e, r, i) : typeof e == "string" ? Fv(e, r, i) : Wv(e, r, i);
3732
+ arguments.length >= 3 && (i = n), Hv.call(e) === "[object Array]" ? Uv(e, r, i) : typeof e == "string" ? Wv(e, r, i) : Fv(e, r, i);
3730
3733
  }, qv = zv, os = [
3731
3734
  "BigInt64Array",
3732
3735
  "BigUint64Array",
@@ -3739,18 +3742,18 @@ var Bv = zr ? function(e) {
3739
3742
  "Uint32Array",
3740
3743
  "Uint8Array",
3741
3744
  "Uint8ClampedArray"
3742
- ], Gv = typeof globalThis > "u" ? Ke : globalThis, Vv = function() {
3745
+ ], Gv = typeof globalThis > "u" ? Ve : globalThis, Kv = function() {
3743
3746
  for (var e = [], r = 0; r < os.length; r++)
3744
3747
  typeof Gv[os[r]] == "function" && (e[e.length] = os[r]);
3745
3748
  return e;
3746
- }, Wi = qv, Kv = Vv, Gl = Qr, ga = ct, ki = oa, Yv = ga("Object.prototype.toString"), zu = Sr(), Vl = typeof globalThis > "u" ? Ke : globalThis, js = Kv(), ya = ga("String.prototype.slice"), ss = Object.getPrototypeOf, Jv = ga("Array.prototype.indexOf", !0) || function(e, r) {
3749
+ }, Fi = qv, Vv = Kv, Gl = Qr, ga = ct, ki = oa, Yv = ga("Object.prototype.toString"), zu = Sr(), Kl = typeof globalThis > "u" ? Ve : globalThis, js = Vv(), ya = ga("String.prototype.slice"), ss = Object.getPrototypeOf, Jv = ga("Array.prototype.indexOf", !0) || function(e, r) {
3747
3750
  for (var n = 0; n < e.length; n += 1)
3748
3751
  if (e[n] === r)
3749
3752
  return n;
3750
3753
  return -1;
3751
3754
  }, zi = { __proto__: null };
3752
- zu && ki && ss ? Wi(js, function(t) {
3753
- var e = new Vl[t]();
3755
+ zu && ki && ss ? Fi(js, function(t) {
3756
+ var e = new Kl[t]();
3754
3757
  if (Symbol.toStringTag in e) {
3755
3758
  var r = ss(e), n = ki(r, Symbol.toStringTag);
3756
3759
  if (!n) {
@@ -3759,13 +3762,13 @@ zu && ki && ss ? Wi(js, function(t) {
3759
3762
  }
3760
3763
  zi["$" + t] = Gl(n.get);
3761
3764
  }
3762
- }) : Wi(js, function(t) {
3763
- var e = new Vl[t](), r = e.slice || e.set;
3765
+ }) : Fi(js, function(t) {
3766
+ var e = new Kl[t](), r = e.slice || e.set;
3764
3767
  r && (zi["$" + t] = Gl(r));
3765
3768
  });
3766
3769
  var Zv = function(e) {
3767
3770
  var r = !1;
3768
- return Wi(zi, function(n, i) {
3771
+ return Fi(zi, function(n, i) {
3769
3772
  if (!r)
3770
3773
  try {
3771
3774
  "$" + n(e) === i && (r = ya(i, 1));
@@ -3774,7 +3777,7 @@ var Zv = function(e) {
3774
3777
  }), r;
3775
3778
  }, Xv = function(e) {
3776
3779
  var r = !1;
3777
- return Wi(zi, function(n, i) {
3780
+ return Fi(zi, function(n, i) {
3778
3781
  if (!r)
3779
3782
  try {
3780
3783
  n(e), r = ya(i, 1);
@@ -3789,31 +3792,31 @@ var Zv = function(e) {
3789
3792
  return Jv(js, r) > -1 ? r : r !== "Object" ? !1 : Xv(e);
3790
3793
  }
3791
3794
  return ki ? Zv(e) : null;
3792
- }, em = ct, Kl = em("ArrayBuffer.prototype.byteLength", !0), tm = Ru, rm = function(e) {
3793
- return tm(e) ? Kl ? Kl(e) : e.byteLength : NaN;
3794
- }, qu = Td, _t = ct, Yl = ng, nm = At, Yr = vy, im = _u, Jl = Ey, Zl = vu, Xl = Py, Ql = Ru, ec = jy, tc = Uy, rc = Wy, nc = ta, ic = mv, oc = Mv, sc = Qv, ac = rm, lc = _t("SharedArrayBuffer.prototype.byteLength", !0), cc = _t("Date.prototype.getTime"), as = Object.getPrototypeOf, uc = _t("Object.prototype.toString"), qi = nm("%Set%", !0), Bs = _t("Map.prototype.has", !0), Gi = _t("Map.prototype.get", !0), fc = _t("Map.prototype.size", !0), Vi = _t("Set.prototype.add", !0), Gu = _t("Set.prototype.delete", !0), Ki = _t("Set.prototype.has", !0), Li = _t("Set.prototype.size", !0);
3795
+ }, em = ct, Vl = em("ArrayBuffer.prototype.byteLength", !0), tm = Ru, rm = function(e) {
3796
+ return tm(e) ? Vl ? Vl(e) : e.byteLength : NaN;
3797
+ }, qu = Td, _t = ct, Yl = ng, nm = At, Yr = vy, im = _u, Jl = Ey, Zl = vu, Xl = Py, Ql = Ru, ec = jy, tc = Uy, rc = Fy, nc = ta, ic = mv, oc = Mv, sc = Qv, ac = rm, lc = _t("SharedArrayBuffer.prototype.byteLength", !0), cc = _t("Date.prototype.getTime"), as = Object.getPrototypeOf, uc = _t("Object.prototype.toString"), qi = nm("%Set%", !0), Bs = _t("Map.prototype.has", !0), Gi = _t("Map.prototype.get", !0), fc = _t("Map.prototype.size", !0), Ki = _t("Set.prototype.add", !0), Gu = _t("Set.prototype.delete", !0), Vi = _t("Set.prototype.has", !0), Li = _t("Set.prototype.size", !0);
3795
3798
  function pc(t, e, r, n) {
3796
3799
  for (var i = Yr(t), o; (o = i.next()) && !o.done; )
3797
3800
  if (dt(e, o.value, r, n))
3798
3801
  return Gu(t, o.value), !0;
3799
3802
  return !1;
3800
3803
  }
3801
- function Vu(t) {
3804
+ function Ku(t) {
3802
3805
  if (typeof t > "u")
3803
3806
  return null;
3804
3807
  if (typeof t != "object")
3805
3808
  return typeof t == "symbol" ? !1 : typeof t == "string" || typeof t == "number" ? +t == +t : !0;
3806
3809
  }
3807
3810
  function om(t, e, r, n, i, o) {
3808
- var s = Vu(r);
3811
+ var s = Ku(r);
3809
3812
  if (s != null)
3810
3813
  return s;
3811
3814
  var c = Gi(e, s), l = qu({}, i, { strict: !1 });
3812
3815
  return typeof c > "u" && !Bs(e, s) || !dt(n, c, l, o) ? !1 : !Bs(t, s) && dt(n, c, l, o);
3813
3816
  }
3814
3817
  function sm(t, e, r) {
3815
- var n = Vu(r);
3816
- return n ?? (Ki(e, n) && !Ki(t, n));
3818
+ var n = Ku(r);
3819
+ return n ?? (Vi(e, n) && !Vi(t, n));
3817
3820
  }
3818
3821
  function hc(t, e, r, n, i, o) {
3819
3822
  for (var s = Yr(t), c, l; (c = s.next()) && !c.done; )
@@ -3847,18 +3850,18 @@ function am(t, e, r, n) {
3847
3850
  return !1;
3848
3851
  for (var i = Yr(t), o = Yr(e), s, c, l; (s = i.next()) && !s.done; )
3849
3852
  if (s.value && typeof s.value == "object")
3850
- l || (l = new qi()), Vi(l, s.value);
3851
- else if (!Ki(e, s.value)) {
3853
+ l || (l = new qi()), Ki(l, s.value);
3854
+ else if (!Vi(e, s.value)) {
3852
3855
  if (r.strict || !sm(t, e, s.value))
3853
3856
  return !1;
3854
- l || (l = new qi()), Vi(l, s.value);
3857
+ l || (l = new qi()), Ki(l, s.value);
3855
3858
  }
3856
3859
  if (l) {
3857
3860
  for (; (c = o.next()) && !c.done; )
3858
3861
  if (c.value && typeof c.value == "object") {
3859
3862
  if (!pc(l, c.value, r.strict, n))
3860
3863
  return !1;
3861
- } else if (!r.strict && !Ki(t, c.value) && !pc(l, c.value, r.strict, n))
3864
+ } else if (!r.strict && !Vi(t, c.value) && !pc(l, c.value, r.strict, n))
3862
3865
  return !1;
3863
3866
  return Li(l) === 0;
3864
3867
  }
@@ -3869,11 +3872,11 @@ function lm(t, e, r, n) {
3869
3872
  return !1;
3870
3873
  for (var i = Yr(t), o = Yr(e), s, c, l, f, d, g; (s = i.next()) && !s.done; )
3871
3874
  if (f = s.value[0], d = s.value[1], f && typeof f == "object")
3872
- l || (l = new qi()), Vi(l, f);
3875
+ l || (l = new qi()), Ki(l, f);
3873
3876
  else if (g = Gi(e, f), typeof g > "u" && !Bs(e, f) || !dt(d, g, r, n)) {
3874
3877
  if (r.strict || !om(t, e, f, d, r, n))
3875
3878
  return !1;
3876
- l || (l = new qi()), Vi(l, f);
3879
+ l || (l = new qi()), Ki(l, f);
3877
3880
  }
3878
3881
  if (l) {
3879
3882
  for (; (c = o.next()) && !c.done; )
@@ -3913,10 +3916,10 @@ function cm(t, e, r, n) {
3913
3916
  return !1;
3914
3917
  return !0;
3915
3918
  }
3916
- var W = dc(t), V = dc(e);
3917
- if (W !== V)
3919
+ var F = dc(t), K = dc(e);
3920
+ if (F !== K)
3918
3921
  return !1;
3919
- if (W || V) {
3922
+ if (F || K) {
3920
3923
  if (t.length !== e.length)
3921
3924
  return !1;
3922
3925
  for (i = 0; i < t.length; i++)
@@ -3945,14 +3948,14 @@ function cm(t, e, r, n) {
3945
3948
  for (i = N.length - 1; i >= 0; i--)
3946
3949
  if (o = N[i], !dt(t[o], e[o], r, n))
3947
3950
  return !1;
3948
- var ie = oc(t), ve = oc(e);
3949
- return ie !== ve ? !1 : ie === "Set" || ve === "Set" ? am(t, e, r, n) : ie === "Map" ? lm(t, e, r, n) : !0;
3951
+ var ie = oc(t), me = oc(e);
3952
+ return ie !== me ? !1 : ie === "Set" || me === "Set" ? am(t, e, r, n) : ie === "Map" ? lm(t, e, r, n) : !0;
3950
3953
  }
3951
3954
  var um = function(e, r, n) {
3952
3955
  return dt(e, r, n, im());
3953
3956
  };
3954
3957
  const fm = /* @__PURE__ */ qn(um);
3955
- var pm = Object.defineProperty, ye = (t, e) => pm(t, "name", { value: e, configurable: !0 }), hm = class {
3958
+ var pm = Object.defineProperty, ve = (t, e) => pm(t, "name", { value: e, configurable: !0 }), hm = class {
3956
3959
  constructor(e) {
3957
3960
  this.direction = !1, this.compareProperties = !0;
3958
3961
  var r, n, i;
@@ -4041,19 +4044,19 @@ var pm = Object.defineProperty, ye = (t, e) => pm(t, "name", { value: e, configu
4041
4044
  return !e.bbox && !r.bbox || (e.bbox && r.bbox ? this.compareCoord(e.bbox, r.bbox) : !1);
4042
4045
  }
4043
4046
  };
4044
- ye(hm, "GeojsonEquality");
4047
+ ve(hm, "GeojsonEquality");
4045
4048
  function Pn(t, e) {
4046
4049
  return t.coordinates ? t.coordinates.length === e.coordinates.length : t.length === e.length;
4047
4050
  }
4048
- ye(Pn, "sameLength");
4051
+ ve(Pn, "sameLength");
4049
4052
  function Ns(t) {
4050
4053
  return t.coordinates.map((e) => ({
4051
4054
  type: t.type.replace("Multi", ""),
4052
4055
  coordinates: e
4053
4056
  }));
4054
4057
  }
4055
- ye(Ns, "explode");
4056
- var rt = 63710088e-1, Ku = {
4058
+ ve(Ns, "explode");
4059
+ var rt = 63710088e-1, Vu = {
4057
4060
  centimeters: rt * 100,
4058
4061
  centimetres: rt * 100,
4059
4062
  degrees: 360 / (2 * Math.PI),
@@ -4090,7 +4093,7 @@ function lt(t, e, r = {}) {
4090
4093
  const n = { type: "Feature" };
4091
4094
  return (r.id === 0 || r.id) && (n.id = r.id), r.bbox && (n.bbox = r.bbox), n.properties = e || {}, n.geometry = t, n;
4092
4095
  }
4093
- ye(lt, "feature");
4096
+ ve(lt, "feature");
4094
4097
  function dm(t, e, r = {}) {
4095
4098
  switch (t) {
4096
4099
  case "Point":
@@ -4109,7 +4112,7 @@ function dm(t, e, r = {}) {
4109
4112
  throw new Error(t + " is invalid");
4110
4113
  }
4111
4114
  }
4112
- ye(dm, "geometry");
4115
+ ve(dm, "geometry");
4113
4116
  function $t(t, e, r = {}) {
4114
4117
  if (!t)
4115
4118
  throw new Error("coordinates is required");
@@ -4124,14 +4127,14 @@ function $t(t, e, r = {}) {
4124
4127
  coordinates: t
4125
4128
  }, e, r);
4126
4129
  }
4127
- ye($t, "point");
4130
+ ve($t, "point");
4128
4131
  function gm(t, e, r = {}) {
4129
4132
  return yr(
4130
4133
  t.map((n) => $t(n, e)),
4131
4134
  r
4132
4135
  );
4133
4136
  }
4134
- ye(gm, "points");
4137
+ ve(gm, "points");
4135
4138
  function va(t, e, r = {}) {
4136
4139
  for (const i of t) {
4137
4140
  if (i.length < 4)
@@ -4149,14 +4152,14 @@ function va(t, e, r = {}) {
4149
4152
  coordinates: t
4150
4153
  }, e, r);
4151
4154
  }
4152
- ye(va, "polygon");
4155
+ ve(va, "polygon");
4153
4156
  function ym(t, e, r = {}) {
4154
4157
  return yr(
4155
4158
  t.map((n) => va(n, e)),
4156
4159
  r
4157
4160
  );
4158
4161
  }
4159
- ye(ym, "polygons");
4162
+ ve(ym, "polygons");
4160
4163
  function St(t, e, r = {}) {
4161
4164
  if (t.length < 2)
4162
4165
  throw new Error("coordinates must be an array of two or more positions");
@@ -4165,91 +4168,91 @@ function St(t, e, r = {}) {
4165
4168
  coordinates: t
4166
4169
  }, e, r);
4167
4170
  }
4168
- ye(St, "lineString");
4171
+ ve(St, "lineString");
4169
4172
  function vm(t, e, r = {}) {
4170
4173
  return yr(
4171
4174
  t.map((n) => St(n, e)),
4172
4175
  r
4173
4176
  );
4174
4177
  }
4175
- ye(vm, "lineStrings");
4178
+ ve(vm, "lineStrings");
4176
4179
  function yr(t, e = {}) {
4177
4180
  const r = { type: "FeatureCollection" };
4178
4181
  return e.id && (r.id = e.id), e.bbox && (r.bbox = e.bbox), r.features = t, r;
4179
4182
  }
4180
- ye(yr, "featureCollection");
4183
+ ve(yr, "featureCollection");
4181
4184
  function ma(t, e, r = {}) {
4182
4185
  return lt({
4183
4186
  type: "MultiLineString",
4184
4187
  coordinates: t
4185
4188
  }, e, r);
4186
4189
  }
4187
- ye(ma, "multiLineString");
4190
+ ve(ma, "multiLineString");
4188
4191
  function Yu(t, e, r = {}) {
4189
4192
  return lt({
4190
4193
  type: "MultiPoint",
4191
4194
  coordinates: t
4192
4195
  }, e, r);
4193
4196
  }
4194
- ye(Yu, "multiPoint");
4197
+ ve(Yu, "multiPoint");
4195
4198
  function Ju(t, e, r = {}) {
4196
4199
  return lt({
4197
4200
  type: "MultiPolygon",
4198
4201
  coordinates: t
4199
4202
  }, e, r);
4200
4203
  }
4201
- ye(Ju, "multiPolygon");
4204
+ ve(Ju, "multiPolygon");
4202
4205
  function mm(t, e, r = {}) {
4203
4206
  return lt({
4204
4207
  type: "GeometryCollection",
4205
4208
  geometries: t
4206
4209
  }, e, r);
4207
4210
  }
4208
- ye(mm, "geometryCollection");
4211
+ ve(mm, "geometryCollection");
4209
4212
  function bm(t, e = 0) {
4210
4213
  if (e && !(e >= 0))
4211
4214
  throw new Error("precision must be a positive number");
4212
4215
  const r = Math.pow(10, e || 0);
4213
4216
  return Math.round(t * r) / r;
4214
4217
  }
4215
- ye(bm, "round");
4218
+ ve(bm, "round");
4216
4219
  function Zu(t, e = "kilometers") {
4217
- const r = Ku[e];
4220
+ const r = Vu[e];
4218
4221
  if (!r)
4219
4222
  throw new Error(e + " units is invalid");
4220
4223
  return t * r;
4221
4224
  }
4222
- ye(Zu, "radiansToLength");
4225
+ ve(Zu, "radiansToLength");
4223
4226
  function ba(t, e = "kilometers") {
4224
- const r = Ku[e];
4227
+ const r = Vu[e];
4225
4228
  if (!r)
4226
4229
  throw new Error(e + " units is invalid");
4227
4230
  return t / r;
4228
4231
  }
4229
- ye(ba, "lengthToRadians");
4232
+ ve(ba, "lengthToRadians");
4230
4233
  function wm(t, e) {
4231
4234
  return Xu(ba(t, e));
4232
4235
  }
4233
- ye(wm, "lengthToDegrees");
4236
+ ve(wm, "lengthToDegrees");
4234
4237
  function $m(t) {
4235
4238
  let e = t % 360;
4236
4239
  return e < 0 && (e += 360), e;
4237
4240
  }
4238
- ye($m, "bearingToAzimuth");
4241
+ ve($m, "bearingToAzimuth");
4239
4242
  function Xu(t) {
4240
4243
  return t % (2 * Math.PI) * 180 / Math.PI;
4241
4244
  }
4242
- ye(Xu, "radiansToDegrees");
4245
+ ve(Xu, "radiansToDegrees");
4243
4246
  function xm(t) {
4244
4247
  return t % 360 * Math.PI / 180;
4245
4248
  }
4246
- ye(xm, "degreesToRadians");
4249
+ ve(xm, "degreesToRadians");
4247
4250
  function Sm(t, e = "kilometers", r = "kilometers") {
4248
4251
  if (!(t >= 0))
4249
4252
  throw new Error("length must be a positive number");
4250
4253
  return Zu(ba(t, e), r);
4251
4254
  }
4252
- ye(Sm, "convertLength");
4255
+ ve(Sm, "convertLength");
4253
4256
  function Am(t, e = "meters", r = "kilometers") {
4254
4257
  if (!(t >= 0))
4255
4258
  throw new Error("area must be a positive number");
@@ -4261,15 +4264,15 @@ function Am(t, e = "meters", r = "kilometers") {
4261
4264
  throw new Error("invalid final units");
4262
4265
  return t / n * i;
4263
4266
  }
4264
- ye(Am, "convertArea");
4267
+ ve(Am, "convertArea");
4265
4268
  function Jr(t) {
4266
4269
  return !isNaN(t) && t !== null && !Array.isArray(t);
4267
4270
  }
4268
- ye(Jr, "isNumber");
4271
+ ve(Jr, "isNumber");
4269
4272
  function wa(t) {
4270
4273
  return t !== null && typeof t == "object" && !Array.isArray(t);
4271
4274
  }
4272
- ye(wa, "isObject");
4275
+ ve(wa, "isObject");
4273
4276
  function _m(t) {
4274
4277
  if (!t)
4275
4278
  throw new Error("bbox is required");
@@ -4282,14 +4285,14 @@ function _m(t) {
4282
4285
  throw new Error("bbox must only contain numbers");
4283
4286
  });
4284
4287
  }
4285
- ye(_m, "validateBBox");
4288
+ ve(_m, "validateBBox");
4286
4289
  function Em(t) {
4287
4290
  if (!t)
4288
4291
  throw new Error("id is required");
4289
4292
  if (["string", "number"].indexOf(typeof t) === -1)
4290
4293
  throw new Error("id must be a number or a string");
4291
4294
  }
4292
- ye(Em, "validateId");
4295
+ ve(Em, "validateId");
4293
4296
  var Mm = Object.defineProperty, Jt = (t, e) => Mm(t, "name", { value: e, configurable: !0 });
4294
4297
  function $a(t) {
4295
4298
  if (!t)
@@ -4497,8 +4500,8 @@ function jm(t, e) {
4497
4500
  return !1;
4498
4501
  const b = g / d, A = m / d;
4499
4502
  if (b >= 0 && b <= 1 && A >= 0 && A <= 1) {
4500
- const L = r + b * (i - r), W = n + b * (o - n);
4501
- return [L, W];
4503
+ const L = r + b * (i - r), F = n + b * (o - n);
4504
+ return [L, F];
4502
4505
  }
4503
4506
  return !1;
4504
4507
  }
@@ -4525,12 +4528,12 @@ function Nm(t, e) {
4525
4528
  const r = new nf([], of);
4526
4529
  return Dm(t, r), Bm(r, e);
4527
4530
  }
4528
- var Hm = Object.defineProperty, Um = (t, e) => Hm(t, "name", { value: e, configurable: !0 }), Fm = Nm;
4531
+ var Hm = Object.defineProperty, Um = (t, e) => Hm(t, "name", { value: e, configurable: !0 }), Wm = Nm;
4529
4532
  function oo(t, e, r = {}) {
4530
4533
  const { removeDuplicates: n = !0, ignoreSelfIntersections: i = !1 } = r;
4531
4534
  let o = [];
4532
4535
  t.type === "FeatureCollection" ? o = o.concat(t.features) : t.type === "Feature" ? o.push(t) : (t.type === "LineString" || t.type === "Polygon" || t.type === "MultiLineString" || t.type === "MultiPolygon") && o.push(lt(t)), e.type === "FeatureCollection" ? o = o.concat(e.features) : e.type === "Feature" ? o.push(e) : (e.type === "LineString" || e.type === "Polygon" || e.type === "MultiLineString" || e.type === "MultiPolygon") && o.push(lt(e));
4533
- const s = Fm(
4536
+ const s = Wm(
4534
4537
  yr(o),
4535
4538
  i
4536
4539
  );
@@ -4546,11 +4549,11 @@ function oo(t, e, r = {}) {
4546
4549
  return yr(c.map((l) => $t(l)));
4547
4550
  }
4548
4551
  Um(oo, "lineIntersect");
4549
- var Wm = Object.defineProperty, Fe = (t, e) => Wm(t, "name", { value: e, configurable: !0 });
4552
+ var Fm = Object.defineProperty, We = (t, e) => Fm(t, "name", { value: e, configurable: !0 });
4550
4553
  function tn(t, e, r) {
4551
4554
  if (t !== null)
4552
- for (var n, i, o, s, c, l, f, d = 0, g = 0, m, b = t.type, A = b === "FeatureCollection", L = b === "Feature", W = A ? t.features.length : 1, V = 0; V < W; V++) {
4553
- f = A ? t.features[V].geometry : L ? t.geometry : t, m = f ? f.type === "GeometryCollection" : !1, c = m ? f.geometries.length : 1;
4555
+ for (var n, i, o, s, c, l, f, d = 0, g = 0, m, b = t.type, A = b === "FeatureCollection", L = b === "Feature", F = A ? t.features.length : 1, K = 0; K < F; K++) {
4556
+ f = A ? t.features[K].geometry : L ? t.geometry : t, m = f ? f.type === "GeometryCollection" : !1, c = m ? f.geometries.length : 1;
4554
4557
  for (var J = 0; J < c; J++) {
4555
4558
  var Z = 0, pe = 0;
4556
4559
  if (s = m ? f.geometries[J] : f, s !== null) {
@@ -4563,7 +4566,7 @@ function tn(t, e, r) {
4563
4566
  if (e(
4564
4567
  l,
4565
4568
  g,
4566
- V,
4569
+ K,
4567
4570
  Z,
4568
4571
  pe
4569
4572
  ) === !1)
@@ -4576,7 +4579,7 @@ function tn(t, e, r) {
4576
4579
  if (e(
4577
4580
  l[n],
4578
4581
  g,
4579
- V,
4582
+ K,
4580
4583
  Z,
4581
4584
  pe
4582
4585
  ) === !1)
@@ -4592,7 +4595,7 @@ function tn(t, e, r) {
4592
4595
  if (e(
4593
4596
  l[n][i],
4594
4597
  g,
4595
- V,
4598
+ K,
4596
4599
  Z,
4597
4600
  pe
4598
4601
  ) === !1)
@@ -4610,7 +4613,7 @@ function tn(t, e, r) {
4610
4613
  if (e(
4611
4614
  l[n][i][o],
4612
4615
  g,
4613
- V,
4616
+ K,
4614
4617
  Z,
4615
4618
  pe
4616
4619
  ) === !1)
@@ -4634,7 +4637,7 @@ function tn(t, e, r) {
4634
4637
  }
4635
4638
  }
4636
4639
  }
4637
- Fe(tn, "coordEach");
4640
+ We(tn, "coordEach");
4638
4641
  function zm(t, e, r, n) {
4639
4642
  var i = r;
4640
4643
  return tn(
@@ -4652,7 +4655,7 @@ function zm(t, e, r, n) {
4652
4655
  n
4653
4656
  ), i;
4654
4657
  }
4655
- Fe(zm, "coordReduce");
4658
+ We(zm, "coordReduce");
4656
4659
  function sf(t, e) {
4657
4660
  var r;
4658
4661
  switch (t.type) {
@@ -4665,14 +4668,14 @@ function sf(t, e) {
4665
4668
  break;
4666
4669
  }
4667
4670
  }
4668
- Fe(sf, "propEach");
4671
+ We(sf, "propEach");
4669
4672
  function qm(t, e, r) {
4670
4673
  var n = r;
4671
4674
  return sf(t, function(i, o) {
4672
4675
  o === 0 && r === void 0 ? n = i : n = e(n, i, o);
4673
4676
  }), n;
4674
4677
  }
4675
- Fe(qm, "propReduce");
4678
+ We(qm, "propReduce");
4676
4679
  function af(t, e) {
4677
4680
  if (t.type === "Feature")
4678
4681
  e(t, 0);
@@ -4680,21 +4683,21 @@ function af(t, e) {
4680
4683
  for (var r = 0; r < t.features.length && e(t.features[r], r) !== !1; r++)
4681
4684
  ;
4682
4685
  }
4683
- Fe(af, "featureEach");
4686
+ We(af, "featureEach");
4684
4687
  function Gm(t, e, r) {
4685
4688
  var n = r;
4686
4689
  return af(t, function(i, o) {
4687
4690
  o === 0 && r === void 0 ? n = i : n = e(n, i, o);
4688
4691
  }), n;
4689
4692
  }
4690
- Fe(Gm, "featureReduce");
4691
- function Vm(t) {
4693
+ We(Gm, "featureReduce");
4694
+ function Km(t) {
4692
4695
  var e = [];
4693
4696
  return tn(t, function(r) {
4694
4697
  e.push(r);
4695
4698
  }), e;
4696
4699
  }
4697
- Fe(Vm, "coordAll");
4700
+ We(Km, "coordAll");
4698
4701
  function xa(t, e) {
4699
4702
  var r, n, i, o, s, c, l, f, d, g, m = 0, b = t.type === "FeatureCollection", A = t.type === "Feature", L = b ? t.features.length : 1;
4700
4703
  for (r = 0; r < L; r++) {
@@ -4746,8 +4749,8 @@ function xa(t, e) {
4746
4749
  m++;
4747
4750
  }
4748
4751
  }
4749
- Fe(xa, "geomEach");
4750
- function Km(t, e, r) {
4752
+ We(xa, "geomEach");
4753
+ function Vm(t, e, r) {
4751
4754
  var n = r;
4752
4755
  return xa(
4753
4756
  t,
@@ -4763,7 +4766,7 @@ function Km(t, e, r) {
4763
4766
  }
4764
4767
  ), n;
4765
4768
  }
4766
- Fe(Km, "geomReduce");
4769
+ We(Vm, "geomReduce");
4767
4770
  function zt(t, e) {
4768
4771
  xa(t, function(r, n, i, o, s) {
4769
4772
  var c = r === null ? null : r.type;
@@ -4800,7 +4803,7 @@ function zt(t, e) {
4800
4803
  }
4801
4804
  });
4802
4805
  }
4803
- Fe(zt, "flattenEach");
4806
+ We(zt, "flattenEach");
4804
4807
  function Ym(t, e, r) {
4805
4808
  var n = r;
4806
4809
  return zt(
@@ -4815,7 +4818,7 @@ function Ym(t, e, r) {
4815
4818
  }
4816
4819
  ), n;
4817
4820
  }
4818
- Fe(Ym, "flattenReduce");
4821
+ We(Ym, "flattenReduce");
4819
4822
  function lf(t, e) {
4820
4823
  zt(t, function(r, n, i) {
4821
4824
  var o = 0;
@@ -4830,12 +4833,12 @@ function lf(t, e) {
4830
4833
  c = g, l = n, f = A, d = L, o = 0;
4831
4834
  return;
4832
4835
  }
4833
- var W = St(
4836
+ var F = St(
4834
4837
  [c, g],
4835
4838
  r.properties
4836
4839
  );
4837
4840
  if (e(
4838
- W,
4841
+ F,
4839
4842
  n,
4840
4843
  i,
4841
4844
  L,
@@ -4850,7 +4853,7 @@ function lf(t, e) {
4850
4853
  }
4851
4854
  });
4852
4855
  }
4853
- Fe(lf, "segmentEach");
4856
+ We(lf, "segmentEach");
4854
4857
  function Jm(t, e, r) {
4855
4858
  var n = r, i = !1;
4856
4859
  return lf(
@@ -4867,7 +4870,7 @@ function Jm(t, e, r) {
4867
4870
  }
4868
4871
  ), n;
4869
4872
  }
4870
- Fe(Jm, "segmentReduce");
4873
+ We(Jm, "segmentReduce");
4871
4874
  function cf(t, e) {
4872
4875
  if (!t)
4873
4876
  throw new Error("geojson is required");
@@ -4893,7 +4896,7 @@ function cf(t, e) {
4893
4896
  }
4894
4897
  });
4895
4898
  }
4896
- Fe(cf, "lineEach");
4899
+ We(cf, "lineEach");
4897
4900
  function Zm(t, e, r) {
4898
4901
  var n = r;
4899
4902
  return cf(
@@ -4909,7 +4912,7 @@ function Zm(t, e, r) {
4909
4912
  }
4910
4913
  ), n;
4911
4914
  }
4912
- Fe(Zm, "lineReduce");
4915
+ We(Zm, "lineReduce");
4913
4916
  function Xm(t, e) {
4914
4917
  if (e = e || {}, !wa(e))
4915
4918
  throw new Error("options is invalid");
@@ -4976,7 +4979,7 @@ function Xm(t, e) {
4976
4979
  }
4977
4980
  throw new Error("geojson is invalid");
4978
4981
  }
4979
- Fe(Xm, "findSegment");
4982
+ We(Xm, "findSegment");
4980
4983
  function Qm(t, e) {
4981
4984
  if (e = e || {}, !wa(e))
4982
4985
  throw new Error("options is invalid");
@@ -5023,7 +5026,7 @@ function Qm(t, e) {
5023
5026
  }
5024
5027
  throw new Error("geojson is invalid");
5025
5028
  }
5026
- Fe(Qm, "findPoint");
5029
+ We(Qm, "findPoint");
5027
5030
  var e0 = Object.defineProperty, so = (t, e) => e0(t, "name", { value: e, configurable: !0 });
5028
5031
  function Yi(t, e = {}) {
5029
5032
  const r = vr(t);
@@ -5388,8 +5391,8 @@ var Cf = { exports: {} };
5388
5391
  (function(t, e) {
5389
5392
  (function(r, n) {
5390
5393
  t.exports = n();
5391
- })(Ke, function() {
5392
- var r = 1e3, n = 6e4, i = 36e5, o = "millisecond", s = "second", c = "minute", l = "hour", f = "day", d = "week", g = "month", m = "quarter", b = "year", A = "date", L = "Invalid Date", W = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, J = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
5394
+ })(Ve, function() {
5395
+ var r = 1e3, n = 6e4, i = 36e5, o = "millisecond", s = "second", c = "minute", l = "hour", f = "day", d = "week", g = "month", m = "quarter", b = "year", A = "date", L = "Invalid Date", F = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, K = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, J = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(I) {
5393
5396
  var E = ["th", "st", "nd", "rd"], _ = I % 100;
5394
5397
  return "[" + I + (E[(_ - 20) % 10] || E[_] || E[0]) + "]";
5395
5398
  } }, Z = function(I, E, _) {
@@ -5412,7 +5415,7 @@ var Cf = { exports: {} };
5412
5415
  N[te] = J;
5413
5416
  var X = "$isDayjsObject", ie = function(I) {
5414
5417
  return I instanceof De || !(!I || !I[X]);
5415
- }, ve = function I(E, _, R) {
5418
+ }, me = function I(E, _, R) {
5416
5419
  var P;
5417
5420
  if (!E) return te;
5418
5421
  if (typeof E == "string") {
@@ -5430,12 +5433,12 @@ var Cf = { exports: {} };
5430
5433
  var _ = typeof E == "object" ? E : {};
5431
5434
  return _.date = I, _.args = arguments, new De(_);
5432
5435
  }, re = pe;
5433
- re.l = ve, re.i = ie, re.w = function(I, E) {
5436
+ re.l = me, re.i = ie, re.w = function(I, E) {
5434
5437
  return he(I, { locale: E.$L, utc: E.$u, x: E.$x, $offset: E.$offset });
5435
5438
  };
5436
5439
  var De = function() {
5437
5440
  function I(_) {
5438
- this.$L = ve(_.locale, null, !0), this.parse(_), this.$x = this.$x || _.x || {}, this[X] = !0;
5441
+ this.$L = me(_.locale, null, !0), this.parse(_), this.$x = this.$x || _.x || {}, this[X] = !0;
5439
5442
  }
5440
5443
  var E = I.prototype;
5441
5444
  return E.parse = function(_) {
@@ -5445,7 +5448,7 @@ var Cf = { exports: {} };
5445
5448
  if (re.u(P)) return /* @__PURE__ */ new Date();
5446
5449
  if (P instanceof Date) return new Date(P);
5447
5450
  if (typeof P == "string" && !/Z$/i.test(P)) {
5448
- var q = P.match(W);
5451
+ var q = P.match(F);
5449
5452
  if (q) {
5450
5453
  var de = q[2] - 1 || 0, Se = (q[7] || "0").substring(0, 3);
5451
5454
  return z ? new Date(Date.UTC(q[1], de, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, Se)) : new Date(q[1], de, q[3] || 1, q[4] || 0, q[5] || 0, q[6] || 0, Se);
@@ -5479,7 +5482,7 @@ var Cf = { exports: {} };
5479
5482
  return z ? ke : ke.endOf(f);
5480
5483
  }, Se = function(Ce, oe) {
5481
5484
  return re.w(P.toDate()[Ce].apply(P.toDate("s"), (z ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(oe)), P);
5482
- }, Ee = this.$W, Me = this.$M, We = this.$D, Oe = "set" + (this.$u ? "UTC" : "");
5485
+ }, Ee = this.$W, Me = this.$M, Fe = this.$D, Oe = "set" + (this.$u ? "UTC" : "");
5483
5486
  switch (q) {
5484
5487
  case b:
5485
5488
  return z ? de(1, 0) : de(31, 11);
@@ -5487,7 +5490,7 @@ var Cf = { exports: {} };
5487
5490
  return z ? de(1, Me) : de(0, Me + 1);
5488
5491
  case d:
5489
5492
  var ze = this.$locale().weekStart || 0, le = (Ee < ze ? Ee + 7 : Ee) - ze;
5490
- return de(z ? We - le : We + (6 - le), Me);
5493
+ return de(z ? Fe - le : Fe + (6 - le), Me);
5491
5494
  case f:
5492
5495
  case A:
5493
5496
  return Se(Oe + "Hours", 0);
@@ -5517,8 +5520,8 @@ var Cf = { exports: {} };
5517
5520
  var P, z = this;
5518
5521
  _ = Number(_);
5519
5522
  var q = re.p(R), de = function(Me) {
5520
- var We = he(z);
5521
- return re.w(We.date(We.date() + Math.round(Me * _)), z);
5523
+ var Fe = he(z);
5524
+ return re.w(Fe.date(Fe.date() + Math.round(Me * _)), z);
5522
5525
  };
5523
5526
  if (q === g) return this.set(g, this.$M + _);
5524
5527
  if (q === b) return this.set(b, this.$y + _);
@@ -5531,7 +5534,7 @@ var Cf = { exports: {} };
5531
5534
  }, E.format = function(_) {
5532
5535
  var R = this, P = this.$locale();
5533
5536
  if (!this.isValid()) return P.invalidDate || L;
5534
- var z = _ || "YYYY-MM-DDTHH:mm:ssZ", q = re.z(this), de = this.$H, Se = this.$m, Ee = this.$M, Me = P.weekdays, We = P.months, Oe = P.meridiem, ze = function(oe, ke, yt, Ae) {
5537
+ var z = _ || "YYYY-MM-DDTHH:mm:ssZ", q = re.z(this), de = this.$H, Se = this.$m, Ee = this.$M, Me = P.weekdays, Fe = P.months, Oe = P.meridiem, ze = function(oe, ke, yt, Ae) {
5535
5538
  return oe && (oe[ke] || oe(R, z)) || yt[ke].slice(0, Ae);
5536
5539
  }, le = function(oe) {
5537
5540
  return re.s(de % 12 || 12, oe, "0");
@@ -5539,7 +5542,7 @@ var Cf = { exports: {} };
5539
5542
  var Ae = oe < 12 ? "AM" : "PM";
5540
5543
  return yt ? Ae.toLowerCase() : Ae;
5541
5544
  };
5542
- return z.replace(V, function(oe, ke) {
5545
+ return z.replace(K, function(oe, ke) {
5543
5546
  return ke || function(yt) {
5544
5547
  switch (yt) {
5545
5548
  case "YY":
@@ -5551,9 +5554,9 @@ var Cf = { exports: {} };
5551
5554
  case "MM":
5552
5555
  return re.s(Ee + 1, 2, "0");
5553
5556
  case "MMM":
5554
- return ze(P.monthsShort, Ee, We, 3);
5557
+ return ze(P.monthsShort, Ee, Fe, 3);
5555
5558
  case "MMMM":
5556
- return ze(We, Ee);
5559
+ return ze(Fe, Ee);
5557
5560
  case "D":
5558
5561
  return R.$D;
5559
5562
  case "DD":
@@ -5597,18 +5600,18 @@ var Cf = { exports: {} };
5597
5600
  }, E.utcOffset = function() {
5598
5601
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
5599
5602
  }, E.diff = function(_, R, P) {
5600
- var z, q = this, de = re.p(R), Se = he(_), Ee = (Se.utcOffset() - this.utcOffset()) * n, Me = this - Se, We = function() {
5603
+ var z, q = this, de = re.p(R), Se = he(_), Ee = (Se.utcOffset() - this.utcOffset()) * n, Me = this - Se, Fe = function() {
5601
5604
  return re.m(q, Se);
5602
5605
  };
5603
5606
  switch (de) {
5604
5607
  case b:
5605
- z = We() / 12;
5608
+ z = Fe() / 12;
5606
5609
  break;
5607
5610
  case g:
5608
- z = We();
5611
+ z = Fe();
5609
5612
  break;
5610
5613
  case m:
5611
- z = We() / 3;
5614
+ z = Fe() / 3;
5612
5615
  break;
5613
5616
  case d:
5614
5617
  z = (Me - Ee) / 6048e5;
@@ -5635,7 +5638,7 @@ var Cf = { exports: {} };
5635
5638
  return N[this.$L];
5636
5639
  }, E.locale = function(_, R) {
5637
5640
  if (!_) return this.$L;
5638
- var P = this.clone(), z = ve(_, R, !0);
5641
+ var P = this.clone(), z = me(_, R, !0);
5639
5642
  return z && (P.$L = z), P;
5640
5643
  }, E.clone = function() {
5641
5644
  return re.w(this.$d, this);
@@ -5655,7 +5658,7 @@ var Cf = { exports: {} };
5655
5658
  };
5656
5659
  }), he.extend = function(I, E) {
5657
5660
  return I.$i || (I(E, De, he), I.$i = !0), he;
5658
- }, he.locale = ve, he.isDayjs = ie, he.unix = function(I) {
5661
+ }, he.locale = me, he.isDayjs = ie, he.unix = function(I) {
5659
5662
  return he(1e3 * I);
5660
5663
  }, he.en = N[te], he.Ls = N, he.p = {}, he;
5661
5664
  });
@@ -5664,7 +5667,7 @@ var h0 = Cf.exports;
5664
5667
  const Hn = /* @__PURE__ */ qn(h0);
5665
5668
  let kf;
5666
5669
  const d0 = (t, e) => {
5667
- kf = new Vt(t, {
5670
+ kf = new Kt(t, {
5668
5671
  threshold: 0.4,
5669
5672
  distance: 50,
5670
5673
  includeMatches: !0,
@@ -5793,23 +5796,23 @@ function mc(t, e) {
5793
5796
  }
5794
5797
  function v0(t) {
5795
5798
  return Object.keys(t).map((e) => ({
5796
- title: K`${e}:
5799
+ title: V`${e}:
5797
5800
  <strong>${t[e].stringifiedState}</strong>`,
5798
5801
  key: e
5799
5802
  })).filter((e) => t[e.key].dirty);
5800
5803
  }
5801
- function Fs(t) {
5804
+ function Ws(t) {
5802
5805
  return Object.values(t).map((e) => e.dirty).filter((e) => e).length > 0;
5803
5806
  }
5804
5807
  async function m0(t, e, r) {
5805
5808
  return await (await fetch(`${r.externalFilter(t, e)}`)).json();
5806
5809
  }
5807
- var je, Lf, Ws, zs, Tf, qs, If, Df;
5810
+ var je, Lf, Fs, zs, Tf, qs, If, Df;
5808
5811
  class b0 extends it {
5809
5812
  constructor() {
5810
5813
  super();
5811
5814
  et(this, je);
5812
- this.filterProperties = {}, this.unstyled = !1, this.inlineMode = !1, this.showDropdown = !1, this.filters = {}, this._handleClickOutside = we(this, je, Lf).bind(this), this._handleKeyDown = we(this, je, Ws).bind(this);
5815
+ this.filterProperties = {}, this.unstyled = !1, this.inlineMode = !1, this.showDropdown = !1, this.filters = {}, this._handleClickOutside = $e(this, je, Lf).bind(this), this._handleKeyDown = $e(this, je, Fs).bind(this);
5813
5816
  }
5814
5817
  // Define properties with defaults and types
5815
5818
  static get properties() {
@@ -5845,16 +5848,16 @@ class b0 extends it {
5845
5848
  * Renders the HTML template for the component.
5846
5849
  */
5847
5850
  render() {
5848
- return K`
5851
+ return V`
5849
5852
  <style>
5850
5853
  ${!this.unstyled && zn} .inline-content {
5851
5854
  display: ${this.showDropdown ? "block" : "none"};
5852
5855
  }
5853
5856
  </style>
5854
- ${this.inlineMode ? K`
5857
+ ${this.inlineMode ? V`
5855
5858
  <div
5856
5859
  class="inline-container-wrapper"
5857
- @click="${we(this, je, zs)}"
5860
+ @click="${$e(this, je, zs)}"
5858
5861
  >
5859
5862
  <div class="inline-container" part="container">
5860
5863
  <div class="chip-container">
@@ -5862,15 +5865,15 @@ class b0 extends it {
5862
5865
  <eox-itemfilter-chips
5863
5866
  .items=${v0(this.filters)}
5864
5867
  .controller=${{
5865
- remove: (r) => we(this, je, If).call(this, r)
5868
+ remove: (r) => $e(this, je, If).call(this, r)
5866
5869
  }}
5867
5870
  >
5868
5871
  </eox-itemfilter-chips>
5869
5872
  </div>
5870
5873
 
5871
5874
  ${Je(
5872
- Fs(this.filters),
5873
- () => K`
5875
+ Ws(this.filters),
5876
+ () => V`
5874
5877
  <span
5875
5878
  class="chip-close"
5876
5879
  @click=${() => this.dispatchEvent(new CustomEvent("reset"))}
@@ -5879,15 +5882,15 @@ class b0 extends it {
5879
5882
  )}
5880
5883
  </div>
5881
5884
  <div
5882
- class="input-container ${Fs(this.filters) ? "dirty-filter-input" : ""}"
5885
+ class="input-container ${Ws(this.filters) ? "dirty-filter-input" : ""}"
5883
5886
  >
5884
5887
  <input
5885
5888
  autocomplete="off"
5886
5889
  id="eox-itemfilter-input-search"
5887
5890
  type="text"
5888
- @click="${we(this, je, zs)}"
5889
- @focus="${we(this, je, Tf)}"
5890
- @input="${we(this, je, Df)}"
5891
+ @click="${$e(this, je, zs)}"
5892
+ @focus="${$e(this, je, Tf)}"
5893
+ @input="${$e(this, je, Df)}"
5891
5894
  placeholder="Search and add filter"
5892
5895
  aria-haspopup="true"
5893
5896
  aria-expanded="${this.showDropdown}"
@@ -5897,14 +5900,14 @@ class b0 extends it {
5897
5900
  <div
5898
5901
  class="inline-content ${this.showDropdown ? "" : "hidden"}"
5899
5902
  slot="content"
5900
- @keydown="${we(this, je, Ws)}"
5901
- @click="${we(this, je, qs)}"
5902
- @focus="${we(this, je, qs)}"
5903
+ @keydown="${$e(this, je, Fs)}"
5904
+ @click="${$e(this, je, qs)}"
5905
+ @focus="${$e(this, je, qs)}"
5903
5906
  >
5904
5907
  <slot name="section"></slot>
5905
5908
  </div>
5906
5909
  </div>
5907
- ` : K`<slot name="section"></slot>`}
5910
+ ` : V`<slot name="section"></slot>`}
5908
5911
  `;
5909
5912
  }
5910
5913
  }
@@ -5922,7 +5925,7 @@ Lf = function(r) {
5922
5925
  * @param {Event} event - The keydown event.
5923
5926
  * @private
5924
5927
  */
5925
- Ws = function(r) {
5928
+ Fs = function(r) {
5926
5929
  vh(r, this);
5927
5930
  }, /**
5928
5931
  * Toggles the dropdown visibility.
@@ -5962,10 +5965,10 @@ If = function(r) {
5962
5965
  * @private
5963
5966
  */
5964
5967
  Df = function(r) {
5965
- Kc(r, this);
5968
+ Vc(r, this);
5966
5969
  };
5967
5970
  customElements.define("eox-itemfilter-container", b0);
5968
- var w0 = "Expected a function", bc = NaN, $0 = "[object Symbol]", x0 = /^\s+|\s+$/g, S0 = /^[-+]0x[0-9a-f]+$/i, A0 = /^0b[01]+$/i, _0 = /^0o[0-7]+$/i, E0 = parseInt, M0 = typeof Ke == "object" && Ke && Ke.Object === Object && Ke, P0 = typeof self == "object" && self && self.Object === Object && self, O0 = M0 || P0 || Function("return this")(), C0 = Object.prototype, k0 = C0.toString, L0 = Math.max, T0 = Math.min, ls = function() {
5971
+ var w0 = "Expected a function", bc = NaN, $0 = "[object Symbol]", x0 = /^\s+|\s+$/g, S0 = /^[-+]0x[0-9a-f]+$/i, A0 = /^0b[01]+$/i, _0 = /^0o[0-7]+$/i, E0 = parseInt, M0 = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, P0 = typeof self == "object" && self && self.Object === Object && self, O0 = M0 || P0 || Function("return this")(), C0 = Object.prototype, k0 = C0.toString, L0 = Math.max, T0 = Math.min, ls = function() {
5969
5972
  return O0.Date.now();
5970
5973
  };
5971
5974
  function I0(t, e, r) {
@@ -5978,21 +5981,21 @@ function I0(t, e, r) {
5978
5981
  return n = i = void 0, f = N, s = t.apply(ie, X), s;
5979
5982
  }
5980
5983
  function A(N) {
5981
- return f = N, c = setTimeout(V, e), d ? b(N) : s;
5984
+ return f = N, c = setTimeout(K, e), d ? b(N) : s;
5982
5985
  }
5983
5986
  function L(N) {
5984
- var X = N - l, ie = N - f, ve = e - X;
5985
- return g ? T0(ve, o - ie) : ve;
5987
+ var X = N - l, ie = N - f, me = e - X;
5988
+ return g ? T0(me, o - ie) : me;
5986
5989
  }
5987
- function W(N) {
5990
+ function F(N) {
5988
5991
  var X = N - l, ie = N - f;
5989
5992
  return l === void 0 || X >= e || X < 0 || g && ie >= o;
5990
5993
  }
5991
- function V() {
5994
+ function K() {
5992
5995
  var N = ls();
5993
- if (W(N))
5996
+ if (F(N))
5994
5997
  return J(N);
5995
- c = setTimeout(V, L(N));
5998
+ c = setTimeout(K, L(N));
5996
5999
  }
5997
6000
  function J(N) {
5998
6001
  return c = void 0, m && n ? b(N) : (n = i = void 0, s);
@@ -6004,14 +6007,14 @@ function I0(t, e, r) {
6004
6007
  return c === void 0 ? s : J(ls());
6005
6008
  }
6006
6009
  function te() {
6007
- var N = ls(), X = W(N);
6010
+ var N = ls(), X = F(N);
6008
6011
  if (n = arguments, i = this, l = N, X) {
6009
6012
  if (c === void 0)
6010
6013
  return A(l);
6011
6014
  if (g)
6012
- return c = setTimeout(V, e), b(l);
6015
+ return c = setTimeout(K, e), b(l);
6013
6016
  }
6014
- return c === void 0 && (c = setTimeout(V, e)), s;
6017
+ return c === void 0 && (c = setTimeout(K, e)), s;
6015
6018
  }
6016
6019
  return te.cancel = Z, te.flush = pe, te;
6017
6020
  }
@@ -6064,11 +6067,11 @@ function U0(t, e) {
6064
6067
  n
6065
6068
  )}`), e.dispatchEvent(new CustomEvent("filter")), r === e.filterObject.min && n === e.filterObject.max ? e.reset() : e.requestUpdate();
6066
6069
  }
6067
- function F0(t, e, r) {
6070
+ function W0(t, e, r) {
6068
6071
  const n = r.filterObject.format === "date", i = r.filterObject.state[t], o = n ? Hn.unix(i) : i;
6069
- return K`<div class="range-${e}">${o}</div>`;
6072
+ return V`<div class="range-${e}">${o}</div>`;
6070
6073
  }
6071
- function W0(t) {
6074
+ function F0(t) {
6072
6075
  z0(-1, t), ao(t.filterObject), t.requestUpdate();
6073
6076
  }
6074
6077
  function z0(t, e) {
@@ -6109,26 +6112,27 @@ function G0(t, e) {
6109
6112
  break;
6110
6113
  }
6111
6114
  }
6112
- function V0(t, e) {
6115
+ function K0(t, e) {
6113
6116
  (t.has("suggestions") || t.has("query")) && Ea(e);
6114
6117
  }
6115
- function K0(t, e) {
6118
+ function V0(t, e) {
6116
6119
  var n;
6117
6120
  const r = ((n = t.filterObject) == null ? void 0 : n.sort) || ((i, o) => i.localeCompare(o));
6118
6121
  return e.sort(r).map((i) => i);
6119
6122
  }
6120
6123
  function Ea(t) {
6124
+ var r, n, i;
6121
6125
  let e;
6122
- t.query && (e = new Vt(t.suggestions, {
6126
+ t.query && (e = new Kt(t.suggestions, {
6123
6127
  threshold: 0.4
6124
- }).search(t.query).map((n) => n.item)), t.filteredSuggestions = K0(
6128
+ }).search(t.query).map((s) => s.item)), t.filteredSuggestions = V0(
6125
6129
  t,
6126
6130
  e || t.suggestions
6127
- ), t.highlightedIndex = -1;
6131
+ ), (r = t.filterObject) != null && r.filterKeys && (t.filteredSuggestions = (n = t.filterObject) == null ? void 0 : n.filterKeys.map((o) => `${o}`), t.filterObject.state = (i = t.filterObject) == null ? void 0 : i.filterKeys.map((o) => `${o}`).reduce((o, s) => (s in o || (o[s] = void 0), o), t.filterObject.state)), t.highlightedIndex = -1;
6128
6132
  }
6129
6133
  function jf(t) {
6130
6134
  Object.keys(t.filterObject.state).forEach((e) => {
6131
- t.filterObject.state[e] = t.selectedItems.map((r) => r).includes(e);
6135
+ t.filterObject.state[e] = t.selectedItems.includes(e);
6132
6136
  }), t.filterObject.stringifiedState = Object.keys(t.filterObject.state).filter((e) => t.filterObject.state[e]).join(", ") || "", t.filterObject.dirty = t.filterObject.stringifiedState.length > 0, t.dispatchEvent(new CustomEvent("filter")), t.requestUpdate();
6133
6137
  }
6134
6138
  function Y0(t) {
@@ -6232,7 +6236,7 @@ class Q0 extends it {
6232
6236
  render() {
6233
6237
  return Je(
6234
6238
  this.filterObject,
6235
- () => K`
6239
+ () => V`
6236
6240
  <style></style>
6237
6241
  <div class="text-container">
6238
6242
  <div class="text-container-wrapper">
@@ -6293,7 +6297,7 @@ class Nf extends it {
6293
6297
  if (!this.hasTemplate(e))
6294
6298
  return null;
6295
6299
  n = n || e;
6296
- const i = K` <slot name=${n}></slot> `, o = { [e]: { ...r } };
6300
+ const i = V` <slot name=${n}></slot> `, o = { [e]: { ...r } };
6297
6301
  if (this._renderedTemplates.hasOwnProperty(n)) {
6298
6302
  const { slot: c } = (
6299
6303
  // @ts-ignore
@@ -6389,7 +6393,7 @@ function eb(t, e, r) {
6389
6393
  * SPDX-License-Identifier: BSD-3-Clause
6390
6394
  */
6391
6395
  const Hf = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, Uf = (t) => (...e) => ({ _$litDirective$: t, values: e });
6392
- class Ff {
6396
+ class Wf {
6393
6397
  constructor(e) {
6394
6398
  }
6395
6399
  get _$AU() {
@@ -6450,7 +6454,7 @@ const xc = (t, e, r) => {
6450
6454
  const n = /* @__PURE__ */ new Map();
6451
6455
  for (let i = e; i <= r; i++) n.set(t[i], i);
6452
6456
  return n;
6453
- }, ob = Uf(class extends Ff {
6457
+ }, ob = Uf(class extends Wf {
6454
6458
  constructor(t) {
6455
6459
  if (super(t), t.type !== Hf.CHILD) throw Error("repeat() can only be used in text expressions");
6456
6460
  }
@@ -6477,11 +6481,11 @@ const xc = (t, e, r) => {
6477
6481
  else if (c[g] === s[A]) l[A] = cr(i[g], o[A]), Mn(t, l[A + 1], i[g]), g++, A--;
6478
6482
  else if (c[m] === s[b]) l[b] = cr(i[m], o[b]), Mn(t, i[g], i[m]), m--, b++;
6479
6483
  else if (f === void 0 && (f = xc(s, b, A), d = xc(c, g, m)), f.has(c[g])) if (f.has(c[m])) {
6480
- const L = d.get(s[b]), W = L !== void 0 ? i[L] : null;
6481
- if (W === null) {
6482
- const V = Mn(t, i[g]);
6483
- cr(V, o[b]), l[b] = V;
6484
- } else l[b] = cr(W, o[b]), Mn(t, i[g], W), i[L] = null;
6484
+ const L = d.get(s[b]), F = L !== void 0 ? i[L] : null;
6485
+ if (F === null) {
6486
+ const K = Mn(t, i[g]);
6487
+ cr(K, o[b]), l[b] = K;
6488
+ } else l[b] = cr(F, o[b]), Mn(t, i[g], F), i[L] = null;
6485
6489
  b++;
6486
6490
  } else cs(i[m]), m--;
6487
6491
  else cs(i[g]), g++;
@@ -6493,7 +6497,7 @@ const xc = (t, e, r) => {
6493
6497
  const L = i[g++];
6494
6498
  L !== null && cs(L);
6495
6499
  }
6496
- return this.ut = s, nb(t, l), Wt;
6500
+ return this.ut = s, nb(t, l), Ft;
6497
6501
  }
6498
6502
  });
6499
6503
  /**
@@ -6501,13 +6505,13 @@ const xc = (t, e, r) => {
6501
6505
  * Copyright 2017 Google LLC
6502
6506
  * SPDX-License-Identifier: BSD-3-Clause
6503
6507
  */
6504
- class Vs extends Ff {
6508
+ class Ks extends Wf {
6505
6509
  constructor(e) {
6506
- if (super(e), this.it = $e, e.type !== Hf.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
6510
+ if (super(e), this.it = ye, e.type !== Hf.CHILD) throw Error(this.constructor.directiveName + "() can only be used in child bindings");
6507
6511
  }
6508
6512
  render(e) {
6509
- if (e === $e || e == null) return this._t = void 0, this.it = e;
6510
- if (e === Wt) return e;
6513
+ if (e === ye || e == null) return this._t = void 0, this.it = e;
6514
+ if (e === Ft) return e;
6511
6515
  if (typeof e != "string") throw Error(this.constructor.directiveName + "() called with a non-string value");
6512
6516
  if (e === this.it) return this._t;
6513
6517
  this.it = e;
@@ -6515,14 +6519,14 @@ class Vs extends Ff {
6515
6519
  return r.raw = r, this._t = { _$litType$: this.constructor.resultType, strings: r, values: [] };
6516
6520
  }
6517
6521
  }
6518
- Vs.directiveName = "unsafeHTML", Vs.resultType = 1;
6519
- const sb = Uf(Vs);
6522
+ Ks.directiveName = "unsafeHTML", Ks.resultType = 1;
6523
+ const sb = Uf(Ks);
6520
6524
  function ab(t, e) {
6521
- return K`
6525
+ return V`
6522
6526
  <details
6523
6527
  class="details-results"
6524
6528
  @toggle=${e.toggleAccordion}
6525
- ?open=${e.config.expandResults || $e}
6529
+ ?open=${e.config.expandResults || ye}
6526
6530
  >
6527
6531
  <summary>
6528
6532
  <span class="title">
@@ -6536,24 +6540,24 @@ function ab(t, e) {
6536
6540
  </span>
6537
6541
  </summary>
6538
6542
  <div>
6539
- ${Wf(t, e)}
6543
+ ${Ff(t, e)}
6540
6544
  </div>
6541
6545
  </details>
6542
6546
  `;
6543
6547
  }
6544
- function Wf(t, e) {
6548
+ function Ff(t, e) {
6545
6549
  const r = e.results, n = t ? e.aggregateResults(r, t) : r, i = e.config, o = (s) => {
6546
6550
  var c;
6547
- return ((c = e.selectedResult) == null ? void 0 : c[i.titleProperty]) === s[i.titleProperty] ? "highlighted" : $e;
6551
+ return ((c = e.selectedResult) == null ? void 0 : c[i.titleProperty]) === s[i.titleProperty] ? "highlighted" : ye;
6548
6552
  };
6549
- return K`
6553
+ return V`
6550
6554
  <ul>
6551
6555
  ${ob(
6552
6556
  n,
6553
6557
  (s) => s.id,
6554
6558
  (s) => {
6555
6559
  var c;
6556
- return K`
6560
+ return V`
6557
6561
  <li class=${o(s)}>
6558
6562
  <label>
6559
6563
  <input
@@ -6562,7 +6566,7 @@ function Wf(t, e) {
6562
6566
  class="result-radio"
6563
6567
  name="result"
6564
6568
  id="${s.id}"
6565
- ?checked=${((c = e.selectedResult) == null ? void 0 : c[i.titleProperty]) === s[i.titleProperty] || $e}
6569
+ ?checked=${((c = e.selectedResult) == null ? void 0 : c[i.titleProperty]) === s[i.titleProperty] || ye}
6566
6570
  @click=${() => {
6567
6571
  e.selectedResult = s, e.dispatchEvent(
6568
6572
  new CustomEvent("result", {
@@ -6578,7 +6582,7 @@ function Wf(t, e) {
6578
6582
  s,
6579
6583
  `result-${s.id}`
6580
6584
  ),
6581
- () => K`
6585
+ () => V`
6582
6586
  <span class="title"
6583
6587
  >${sb(s[i.titleProperty])}</span
6584
6588
  >
@@ -6592,7 +6596,7 @@ function Wf(t, e) {
6592
6596
  </ul>
6593
6597
  `;
6594
6598
  }
6595
- var br, Ks, zf;
6599
+ var br, Vs, zf;
6596
6600
  class lb extends Nf {
6597
6601
  constructor() {
6598
6602
  super();
@@ -6631,7 +6635,7 @@ class lb extends Nf {
6631
6635
  * Renders the HTML template for the component.
6632
6636
  */
6633
6637
  render() {
6634
- return K`
6638
+ return V`
6635
6639
  <section id="section-results">
6636
6640
  <div>
6637
6641
  <h6 style="padding: 8px 0px;">Results</h6>
@@ -6639,8 +6643,8 @@ class lb extends Nf {
6639
6643
  <div id="container-results" class="scroll">
6640
6644
  ${Je(
6641
6645
  this.results.length < 1,
6642
- () => K`<small class="no-results">No matching items</small>`,
6643
- () => $e
6646
+ () => V`<small class="no-results">No matching items</small>`,
6647
+ () => ye
6644
6648
  )}
6645
6649
  <ul id="results" part="results">
6646
6650
  ${Je(
@@ -6649,15 +6653,15 @@ class lb extends Nf {
6649
6653
  this.resultAggregation.filter(
6650
6654
  (r) => this.aggregateResults(this.results, r).length
6651
6655
  ),
6652
- (r) => K`${Je(
6656
+ (r) => V`${Je(
6653
6657
  this.aggregateResults(this.results, r).length === 1 && this.config.autoSpreadSingle,
6654
- () => K`<div style="margin-left: -8px">
6655
- ${we(this, br, Ks).call(this, r)}
6658
+ () => V`<div style="margin-left: -8px">
6659
+ ${$e(this, br, Vs).call(this, r)}
6656
6660
  </div>`,
6657
- () => we(this, br, zf).call(this, r)
6661
+ () => $e(this, br, zf).call(this, r)
6658
6662
  )}`
6659
6663
  ),
6660
- () => we(this, br, Ks).call(this)
6664
+ () => $e(this, br, Vs).call(this)
6661
6665
  )}
6662
6666
  </ul>
6663
6667
  </div>
@@ -6672,8 +6676,8 @@ br = new WeakSet(), /**
6672
6676
  * @returns {import("lit")} - The template result for the item list.
6673
6677
  * @private
6674
6678
  */
6675
- Ks = function(r) {
6676
- return Wf(r, this);
6679
+ Vs = function(r) {
6680
+ return Ff(r, this);
6677
6681
  }, /**
6678
6682
  * Creates item details based on the aggregation property.
6679
6683
  *
@@ -6686,7 +6690,7 @@ zf = function(r) {
6686
6690
  };
6687
6691
  customElements.define("eox-itemfilter-results", lb);
6688
6692
  const cb = `input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,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,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { 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");}`, ub = `input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%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,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { 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");}`;
6689
- var qt, Gf, Vf, Kf;
6693
+ var qt, Gf, Kf, Vf;
6690
6694
  class qf extends it {
6691
6695
  constructor() {
6692
6696
  super();
@@ -6697,7 +6701,7 @@ class qf extends it {
6697
6701
  * @function debouncedInputHandler
6698
6702
  * @private
6699
6703
  */
6700
- xn(this, "debouncedInputHandler", lo(we(this, qt, Kf), 500, {
6704
+ xn(this, "debouncedInputHandler", lo($e(this, qt, Vf), 500, {
6701
6705
  leading: !0
6702
6706
  }));
6703
6707
  this.filterObject = {}, this.suggestions = [], this.selectedItems = [], this.query = "", this.showSuggestions = !1, this.highlightedIndex = -1, this.filteredSuggestions = [], this.type = "select", this.unstyled = !1, this.tabIndex = 0, this.inlineMode = !1;
@@ -6708,13 +6712,13 @@ class qf extends it {
6708
6712
  * @param {Map} changedProperties - The properties that have changed.
6709
6713
  */
6710
6714
  updated(r) {
6711
- V0(r, this);
6715
+ K0(r, this);
6712
6716
  }
6713
6717
  /**
6714
6718
  * Resets the selector using the resetSelectorMethod.
6715
6719
  */
6716
6720
  reset() {
6717
- W0(this);
6721
+ F0(this);
6718
6722
  }
6719
6723
  /**
6720
6724
  * Initialise pre-defined selected items using `state`
@@ -6727,8 +6731,8 @@ class qf extends it {
6727
6731
  * Renders the HTML template for the component.
6728
6732
  */
6729
6733
  render() {
6730
- const r = this.type.includes("multi") ? "checkbox" : "radio", n = this.filteredSuggestions.length > 5 ? "select-overflow" : $e;
6731
- return K`
6734
+ const r = this.type.includes("multi") ? "checkbox" : "radio", n = this.filteredSuggestions.length > 5 ? "select-overflow" : ye;
6735
+ return V`
6732
6736
  <style>
6733
6737
  ${!this.unstyled && zn}
6734
6738
  ${!this.unstyled && cb}
@@ -6736,7 +6740,7 @@ class qf extends it {
6736
6740
  </style>
6737
6741
  ${Je(
6738
6742
  this.suggestions.length > 10,
6739
- () => K`<div class="autocomplete-container">
6743
+ () => V`<div class="autocomplete-container">
6740
6744
  <div class="autocomplete-container-wrapper">
6741
6745
  <input
6742
6746
  autocomplete="off"
@@ -6745,8 +6749,8 @@ class qf extends it {
6745
6749
  type="text"
6746
6750
  .value=${this.query}
6747
6751
  placeholder="${this.filterObject.placeholder || ""}"
6748
- @input=${we(this, qt, Gf)}
6749
- @keydown=${we(this, qt, Vf)}
6752
+ @input=${$e(this, qt, Gf)}
6753
+ @keydown=${$e(this, qt, Kf)}
6750
6754
  @blur=${() => this.showSuggestions = !1}
6751
6755
  @focus=${() => this.showSuggestions = !0}
6752
6756
  />
@@ -6756,7 +6760,7 @@ class qf extends it {
6756
6760
  <div class="select-container ${n}">
6757
6761
  <ul class="${this.type}">
6758
6762
  ${this.filteredSuggestions.map(
6759
- (i) => K`
6763
+ (i) => V`
6760
6764
  <li
6761
6765
  data-identifier="${i.toString().toLowerCase()}"
6762
6766
  data-title="${i}"
@@ -6797,7 +6801,7 @@ Gf = function(r) {
6797
6801
  * @param {Event} event - The keydown event.
6798
6802
  * @private
6799
6803
  */
6800
- Vf = function(r) {
6804
+ Kf = function(r) {
6801
6805
  G0(r, this);
6802
6806
  }, /**
6803
6807
  * Toggles the selection of an item.
@@ -6805,7 +6809,7 @@ Vf = function(r) {
6805
6809
  * @param {Object} item - The item to toggle.
6806
6810
  * @private
6807
6811
  */
6808
- Kf = function(r) {
6812
+ Vf = function(r) {
6809
6813
  Rf(r, this);
6810
6814
  }, // Define properties with defaults and types
6811
6815
  xn(qf, "properties", {
@@ -6823,7 +6827,7 @@ xn(qf, "properties", {
6823
6827
  });
6824
6828
  customElements.define("eox-itemfilter-select", qf);
6825
6829
  (() => {
6826
- var t = Object.defineProperty, e = Math.pow, r = (u, y, x) => y in u ? t(u, y, { enumerable: !0, configurable: !0, writable: !0, value: x }) : u[y] = x, n = (u, y, x) => (r(u, typeof y != "symbol" ? y + "" : y, x), x), i = (u, y) => ` ${y && y.length > 0 ? y.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${u} </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>`, o = ":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}", s = "pointers-overlap", c = "pointers-min-distance", l = "pointers-max-distance", f = "range-dragging", d = "data", g = "min", m = "max", b = "step", A = "round", L = "type", W = "theme", V = "rtl", J = "btt", Z = "disabled", pe = "keyboard-disabled", te = "mousewheel-disabled", N = "slider-width", X = "slider-height", ie = "slider-radius", ve = "slider-bg", he = "slider-bg-hover", re = "slider-bg-fill", De = "pointer-width", Ze = "pointer-height", I = "pointer-radius", E = "pointer-bg", _ = "pointer-bg-hover", R = "pointer-bg-focus", P = "pointer-shadow", z = "pointer-shadow-hover", q = "pointer-shadow-focus", de = "pointer-border", Se = "pointer-border-hover", Ee = "pointer-border-focus", Me = "animate-onclick", We = "css-links", Oe = "vertical", ze = "horizontal", le = (u, y, x, w, M) => {
6830
+ var t = Object.defineProperty, e = Math.pow, r = (u, y, x) => y in u ? t(u, y, { enumerable: !0, configurable: !0, writable: !0, value: x }) : u[y] = x, n = (u, y, x) => (r(u, typeof y != "symbol" ? y + "" : y, x), x), i = (u, y) => ` ${y && y.length > 0 ? y.map((x) => `<link rel="stylesheet" href="${x}" />`).join("") : ""} <style> ${u} </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>`, o = ":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}", s = "pointers-overlap", c = "pointers-min-distance", l = "pointers-max-distance", f = "range-dragging", d = "data", g = "min", m = "max", b = "step", A = "round", L = "type", F = "theme", K = "rtl", J = "btt", Z = "disabled", pe = "keyboard-disabled", te = "mousewheel-disabled", N = "slider-width", X = "slider-height", ie = "slider-radius", me = "slider-bg", he = "slider-bg-hover", re = "slider-bg-fill", De = "pointer-width", Ze = "pointer-height", I = "pointer-radius", E = "pointer-bg", _ = "pointer-bg-hover", R = "pointer-bg-focus", P = "pointer-shadow", z = "pointer-shadow-hover", q = "pointer-shadow-focus", de = "pointer-border", Se = "pointer-border-hover", Ee = "pointer-border-focus", Me = "animate-onclick", Fe = "css-links", Oe = "vertical", ze = "horizontal", le = (u, y, x, w, M) => {
6827
6831
  let H = y - u;
6828
6832
  return H === 0 ? x : (w - x) * (M - u) / H + x;
6829
6833
  }, Ce = (u) => !isNaN(parseFloat(u)) && isFinite(u), oe = (u, y) => Ce(u) ? Number(u) : y, ke = (u, y) => y === 0 ? 0 : Math.round(u / y) * y, yt = (u, y = 1 / 0) => {
@@ -6832,9 +6836,9 @@ customElements.define("eox-itemfilter-select", qf);
6832
6836
  return Math.round(u * x) / x;
6833
6837
  }, Ae = (u) => u == null ? !1 : typeof u == "boolean" ? u : u.trim().toLowerCase() === "true", fo = (u, y) => {
6834
6838
  u.dispatchEvent(new CustomEvent("onPointerClicked", { detail: { $pointer: y } }));
6835
- }, Vn = (u, y) => {
6836
- u.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: y } }));
6837
6839
  }, Kn = (u, y) => {
6840
+ u.dispatchEvent(new CustomEvent("onMouseDown", { detail: { nativeEvent: y } }));
6841
+ }, Vn = (u, y) => {
6838
6842
  u.dispatchEvent(new CustomEvent("onMouseUp", { detail: { nativeEvent: y } }));
6839
6843
  }, Yn = (u, y) => {
6840
6844
  u.dispatchEvent(new CustomEvent("onKeyDown", { detail: { nativeEvent: y } }));
@@ -6845,38 +6849,38 @@ customElements.define("eox-itemfilter-select", qf);
6845
6849
  for (let M = 1; M < x.length; M++) w[`value${M + 1}`] = x[M];
6846
6850
  u.dispatchEvent(new CustomEvent("change", { detail: w }));
6847
6851
  }, on = (u, y, x) => {
6848
- let w = 0, M, H, U, C, k = !1, Q = (F, me, Le, Pe, _e, xe) => {
6852
+ let w = 0, M, H, U, C, k = !1, Q = (W, be, Le, Pe, _e, xe) => {
6849
6853
  let qe = w;
6850
- Le !== void 0 && F > Le && (F = Le), me !== void 0 && F < me && (F = me), w = F;
6854
+ Le !== void 0 && W > Le && (W = Le), be !== void 0 && W < be && (W = be), w = W;
6851
6855
  let He = w;
6852
6856
  return (Pe === Oe && xe || Pe === ze && _e) && (He = 100 - He), Pe === Oe ? y.style.top = `${He}%` : y.style.left = `${He}%`, qe !== w;
6853
- }, se = (F) => F === y || y.contains(F), B = (F, me, Le, Pe) => {
6854
- M = F, H = me, U = Le, C = Pe;
6855
- }, ce = (F) => {
6856
- k = F, y.classList.toggle("disabled", k), k ? y.setAttribute("aria-disabled", "true") : y.hasAttribute("aria-disabled") && y.removeAttribute("aria-disabled");
6857
- }, Qe = (F, me) => {
6858
- me == null ? y.removeAttribute(F) : y.setAttribute(F, me);
6859
- }, Be = (F) => y.getAttribute(F), j = (F) => {
6857
+ }, se = (W) => W === y || y.contains(W), B = (W, be, Le, Pe) => {
6858
+ M = W, H = be, U = Le, C = Pe;
6859
+ }, ce = (W) => {
6860
+ k = W, y.classList.toggle("disabled", k), k ? y.setAttribute("aria-disabled", "true") : y.hasAttribute("aria-disabled") && y.removeAttribute("aria-disabled");
6861
+ }, Qe = (W, be) => {
6862
+ be == null ? y.removeAttribute(W) : y.setAttribute(W, be);
6863
+ }, Be = (W) => y.getAttribute(W), j = (W) => {
6860
6864
  if (!k) {
6861
- switch (F.key) {
6865
+ switch (W.key) {
6862
6866
  case "ArrowLeft": {
6863
- F.preventDefault(), typeof M == "function" && M(x);
6867
+ W.preventDefault(), typeof M == "function" && M(x);
6864
6868
  break;
6865
6869
  }
6866
6870
  case "ArrowRight": {
6867
- F.preventDefault(), typeof H == "function" && H(x);
6871
+ W.preventDefault(), typeof H == "function" && H(x);
6868
6872
  break;
6869
6873
  }
6870
6874
  case "ArrowUp": {
6871
- F.preventDefault(), typeof U == "function" && U(x);
6875
+ W.preventDefault(), typeof U == "function" && U(x);
6872
6876
  break;
6873
6877
  }
6874
6878
  case "ArrowDown": {
6875
- F.preventDefault(), typeof C == "function" && C(x);
6879
+ W.preventDefault(), typeof C == "function" && C(x);
6876
6880
  break;
6877
6881
  }
6878
6882
  }
6879
- Yn(u, F);
6883
+ Yn(u, W);
6880
6884
  }
6881
6885
  }, ne = () => {
6882
6886
  k || fo(u, y);
@@ -6885,8 +6889,8 @@ customElements.define("eox-itemfilter-select", qf);
6885
6889
  return w;
6886
6890
  }, get disabled() {
6887
6891
  return k;
6888
- }, set disabled(F) {
6889
- ce(F);
6892
+ }, set disabled(W) {
6893
+ ce(W);
6890
6894
  }, updatePosition: Q, isClicked: se, setCallbacks: B, setAttr: Qe, getAttr: Be, destroy: () => {
6891
6895
  y.removeEventListener("keydown", j), y.removeEventListener("click", ne), y.remove();
6892
6896
  } };
@@ -6915,15 +6919,15 @@ customElements.define("eox-itemfilter-select", qf);
6915
6919
  return w;
6916
6920
  }, Eo = (u) => {
6917
6921
  if (!u) return null;
6918
- let y = u.getAttribute(We);
6922
+ let y = u.getAttribute(Fe);
6919
6923
  if (!y) return null;
6920
6924
  let x = y.split(";"), w = [];
6921
6925
  for (let M of x) M.trim() !== "" && w.push(M.trim());
6922
6926
  return w;
6923
- }, Er = [[vo, N, "sliderWidth", null], [sn, X, "sliderHeight", null], [mo, ie, "sliderRadius", null], [bo, ve, "sliderBg", null], [wo, he, "sliderBgHover", null], [$o, re, "sliderBgFill", null], [xo, De, "pointer#Width", /^pointer([0-9]*)-width$/], [Ar, Ze, "pointer#Height", /^pointer([0-9]*)-height$/], [an, I, "pointer#Radius", /^pointer([0-9]*)-radius$/], [Zn, E, "pointer#Bg", /^pointer([0-9]*)-bg$/], [Xn, _, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [ut, R, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Dt, P, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [So, z, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [_r, q, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Qn, de, "pointer#Border", /^pointer([0-9]*)-border$/], [Ao, Se, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [_o, Ee, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Qt = (u, y, x) => {
6927
+ }, Er = [[vo, N, "sliderWidth", null], [sn, X, "sliderHeight", null], [mo, ie, "sliderRadius", null], [bo, me, "sliderBg", null], [wo, he, "sliderBgHover", null], [$o, re, "sliderBgFill", null], [xo, De, "pointer#Width", /^pointer([0-9]*)-width$/], [Ar, Ze, "pointer#Height", /^pointer([0-9]*)-height$/], [an, I, "pointer#Radius", /^pointer([0-9]*)-radius$/], [Zn, E, "pointer#Bg", /^pointer([0-9]*)-bg$/], [Xn, _, "pointer#BgHover", /^pointer([0-9]*)-bg-hover$/], [ut, R, "pointer#BgFocus", /^pointer([0-9]*)-bg-focus$/], [Dt, P, "pointer#Shadow", /^pointer([0-9]*)-shadow$/], [So, z, "pointer#ShadowHover", /^pointer([0-9]*)-shadow-hover$/], [_r, q, "pointer#ShadowFocus", /^pointer([0-9]*)-shadow-focus$/], [Qn, de, "pointer#Border", /^pointer([0-9]*)-border$/], [Ao, Se, "pointer#BorderHover", /^pointer([0-9]*)-border-hover$/], [_o, Ee, "pointer#BorderFocus", /^pointer([0-9]*)-border-focus$/]], Qt = (u, y, x) => {
6924
6928
  let w = null, M = [], H = /* @__PURE__ */ new Map(), U = (j, ne = y) => {
6925
- let F = [...ne.classList];
6926
- for (let me of F) me.startsWith(j) && y.classList.remove(me);
6929
+ let W = [...ne.classList];
6930
+ for (let be of W) be.startsWith(j) && y.classList.remove(be);
6927
6931
  }, C = () => {
6928
6932
  U("shape");
6929
6933
  let j = y.querySelectorAll(".pointer");
@@ -6936,8 +6940,8 @@ customElements.define("eox-itemfilter-select", qf);
6936
6940
  for (let j = 1; j < M.length; j++) {
6937
6941
  let ne = M[j];
6938
6942
  if (!ne) continue;
6939
- let F = y.querySelector(`.pointer-${j}`);
6940
- !F || F.classList.add("shape", `shape-${ne}`);
6943
+ let W = y.querySelector(`.pointer-${j}`);
6944
+ !W || W.classList.add("shape", `shape-${ne}`);
6941
6945
  }
6942
6946
  }
6943
6947
  }, se = (j, ne) => {
@@ -6947,24 +6951,24 @@ customElements.define("eox-itemfilter-select", qf);
6947
6951
  let j = Xt(u, /^pointer([0-9]*)-shape$/);
6948
6952
  if (!(j.size <= 0)) {
6949
6953
  for (let ne of j) {
6950
- let F = ne[0];
6951
- M[F] = ne[1];
6954
+ let W = ne[0];
6955
+ M[W] = ne[1];
6952
6956
  }
6953
6957
  Q();
6954
6958
  }
6955
- }, ce = (j, ne) => `${j}-${ne}`, Qe = (j, ne, F) => {
6956
- let me = x[F];
6957
- if (!me) return;
6958
- let Le = F === 0 ? y : me.$pointer;
6959
+ }, ce = (j, ne) => `${j}-${ne}`, Qe = (j, ne, W) => {
6960
+ let be = x[W];
6961
+ if (!be) return;
6962
+ let Le = W === 0 ? y : be.$pointer;
6959
6963
  if (ne == null) {
6960
- H.has(ce(j, F)) && H.delete(ce(j, F)), Le.style.removeProperty(j);
6964
+ H.has(ce(j, W)) && H.delete(ce(j, W)), Le.style.removeProperty(j);
6961
6965
  return;
6962
6966
  }
6963
- H.set(ce(j, F), ne), Le.style.setProperty(j, ne);
6967
+ H.set(ce(j, W), ne), Le.style.setProperty(j, ne);
6964
6968
  }, Be = (j, ne) => H.get(ce(j, ne));
6965
6969
  return (() => {
6966
6970
  for (let j of Er) {
6967
- let [ne, F, me, Le] = j;
6971
+ let [ne, W, be, Le] = j;
6968
6972
  if (Le) {
6969
6973
  let _e = Xt(u, Le);
6970
6974
  for (let xe of _e) {
@@ -6972,14 +6976,14 @@ customElements.define("eox-itemfilter-select", qf);
6972
6976
  Qe(ne, He, qe);
6973
6977
  }
6974
6978
  } else {
6975
- let _e = u.getAttribute(F);
6979
+ let _e = u.getAttribute(W);
6976
6980
  Qe(ne, _e, 0);
6977
6981
  }
6978
6982
  let Pe = [];
6979
- if (me.indexOf("#") === -1) Pe.push([me, 0]);
6983
+ if (be.indexOf("#") === -1) Pe.push([be, 0]);
6980
6984
  else {
6981
- Pe.push([me.replace("#", ""), 0]), Pe.push([me.replace("#", "0"), 0]), Pe.push([me.replace("#", "1"), 0]);
6982
- for (let _e = 1; _e < x.length; _e++) Pe.push([me.replace("#", (_e + 1).toString()), _e]);
6985
+ Pe.push([be.replace("#", ""), 0]), Pe.push([be.replace("#", "0"), 0]), Pe.push([be.replace("#", "1"), 0]);
6986
+ for (let _e = 1; _e < x.length; _e++) Pe.push([be.replace("#", (_e + 1).toString()), _e]);
6983
6987
  }
6984
6988
  for (let _e of Pe) try {
6985
6989
  let xe = _e[0], qe = _e[1];
@@ -6992,7 +6996,7 @@ customElements.define("eox-itemfilter-select", qf);
6992
6996
  console.error(xe);
6993
6997
  }
6994
6998
  }
6995
- k(u.getAttribute(W)), B();
6999
+ k(u.getAttribute(F)), B();
6996
7000
  })(), { setStyle: Qe, getStyle: Be, get theme() {
6997
7001
  return w;
6998
7002
  }, set theme(j) {
@@ -7088,17 +7092,17 @@ customElements.define("eox-itemfilter-select", qf);
7088
7092
  y.$pointer.style.zIndex = (ei * 2).toString();
7089
7093
  }
7090
7094
  }, tr = 0, Rt = 100, Xe = 2, ni = "0.3s", Oo = (u, y, x) => {
7091
- let w = x.map((h) => h[0]), M = null, H = null, U = null, C = null, k = tr, Q = Rt, se, B, ce = ze, Qe = Xe, Be = !1, j = !1, ne = !1, F = 0, me = 1 / 0, Le = !1, Pe, _e, xe = !1, qe = !1, He = !1, mt = ni, ii = [], un = (h) => {
7092
- xe || (h.preventDefault && h.preventDefault(), Et(h), window.addEventListener("mousemove", Et), window.addEventListener("mouseup", Or), Vn(u, h));
7095
+ let w = x.map((h) => h[0]), M = null, H = null, U = null, C = null, k = tr, Q = Rt, se, B, ce = ze, Qe = Xe, Be = !1, j = !1, ne = !1, W = 0, be = 1 / 0, Le = !1, Pe, _e, xe = !1, qe = !1, He = !1, mt = ni, ii = [], un = (h) => {
7096
+ xe || (h.preventDefault && h.preventDefault(), Et(h), window.addEventListener("mousemove", Et), window.addEventListener("mouseup", Or), Kn(u, h));
7093
7097
  }, Or = (h) => {
7094
- xe || (Pe = void 0, _e = void 0, window.removeEventListener("mousemove", Et), window.removeEventListener("mouseup", Or), mt && y.classList.add(vt), Kn(u, h));
7098
+ xe || (Pe = void 0, _e = void 0, window.removeEventListener("mousemove", Et), window.removeEventListener("mouseup", Or), mt && y.classList.add(vt), Vn(u, h));
7095
7099
  }, Lo = (h, $) => {
7096
7100
  if (w.length <= 0) return;
7097
7101
  if (w.length === 1) return w[0].isClicked(h) && mt && y.classList.remove(vt), w[0];
7098
7102
  let T = Io(h);
7099
7103
  if (Le) {
7100
- let fe = $, Ve = ir(fe);
7101
- Ve !== void 0 && (fe = ke(fe, Ve)), T ? (Pe = fe, _e = 0, mt && y.classList.remove(vt)) : Pe !== void 0 && (_e = fe - Pe, Pe = fe);
7104
+ let fe = $, Ke = ir(fe);
7105
+ Ke !== void 0 && (fe = ke(fe, Ke)), T ? (Pe = fe, _e = 0, mt && y.classList.remove(vt)) : Pe !== void 0 && (_e = fe - Pe, Pe = fe);
7102
7106
  }
7103
7107
  if (!To(h) && !T) {
7104
7108
  for (let fe of w) if (!(!fe.isClicked(h) || fe.disabled)) return mt && y.classList.remove(vt), fe;
@@ -7107,8 +7111,8 @@ customElements.define("eox-itemfilter-select", qf);
7107
7111
  let ee = 1 / 0, ge = null;
7108
7112
  for (let fe of w) {
7109
7113
  if (fe.disabled) continue;
7110
- let Ve = Math.abs($ - fe.percent);
7111
- Ve < ee && (ee = Ve, ge = fe);
7114
+ let Ke = Math.abs($ - fe.percent);
7115
+ Ke < ee && (ee = Ke, ge = fe);
7112
7116
  }
7113
7117
  return ge;
7114
7118
  }, Cr = () => w.findIndex((h) => M === h && !h.disabled), Et = (h) => {
@@ -7121,8 +7125,8 @@ customElements.define("eox-itemfilter-select", qf);
7121
7125
  $ = Math.min(Math.max(0, fe - ge), ee) * 100 / ee;
7122
7126
  }
7123
7127
  if ((Be || j) && ($ = 100 - $), M = Lo(h.target, $), M && Pr(w, M), Le && w.length > 1 && _e !== void 0) {
7124
- let ee = w[0], ge = w[w.length - 1], fe = ee.percent + _e < 0, Ve = ge.percent + _e > 100;
7125
- if (fe || Ve) return;
7128
+ let ee = w[0], ge = w[w.length - 1], fe = ee.percent + _e < 0, Ke = ge.percent + _e > 100;
7129
+ if (fe || Ke) return;
7126
7130
  for (let kt = 0; kt < w.length; kt++) Re(kt, w[kt].percent + _e);
7127
7131
  return;
7128
7132
  }
@@ -7155,18 +7159,18 @@ customElements.define("eox-itemfilter-select", qf);
7155
7159
  Mt();
7156
7160
  }, Do = (h) => {
7157
7161
  if (!(ne || w.length <= 1 || Q === k)) if (h === 0) {
7158
- let $ = me * 100 / (Q - k);
7162
+ let $ = be * 100 / (Q - k);
7159
7163
  return Math.max(0, w[h + 1].percent - $);
7160
7164
  } else {
7161
- let $ = F * 100 / (Q - k);
7165
+ let $ = W * 100 / (Q - k);
7162
7166
  return Math.min(w[h - 1].percent + $, 100);
7163
7167
  }
7164
7168
  }, Ro = (h) => {
7165
7169
  if (!(ne || w.length <= 1 || Q === k)) if (h === w.length - 1) {
7166
- let $ = me * 100 / (Q - k);
7170
+ let $ = be * 100 / (Q - k);
7167
7171
  return Math.min(w[h - 1].percent + $, 100);
7168
7172
  } else {
7169
- let $ = F * 100 / (Q - k);
7173
+ let $ = W * 100 / (Q - k);
7170
7174
  return Math.max(0, w[h + 1].percent - $);
7171
7175
  }
7172
7176
  }, ir = (h) => {
@@ -7189,7 +7193,7 @@ customElements.define("eox-itemfilter-select", qf);
7189
7193
  }, bt = (h) => {
7190
7194
  var $;
7191
7195
  return w.length <= 1 || h >= w.length - 1 || ne ? Pt() : ($ = jt(w[h + 1].percent)) != null ? $ : "";
7192
- }, ui = () => w.map((h) => h.percent), fi = () => w.map((h) => jt(h.percent)), pn = () => w.map((h) => h.$pointer), or = () => k, pi = () => Q, hn = () => B, dn = () => ce, Tr = () => Qe, Ir = () => F, gn = () => me, Dr = (h) => ii[h], ft = () => Be, yn = () => j, vn = () => xe, sr = () => qe, Rr = () => He, ar = () => ne, tt = () => Le, Re = (h, $) => {
7196
+ }, ui = () => w.map((h) => h.percent), fi = () => w.map((h) => jt(h.percent)), pn = () => w.map((h) => h.$pointer), or = () => k, pi = () => Q, hn = () => B, dn = () => ce, Tr = () => Qe, Ir = () => W, gn = () => be, Dr = (h) => ii[h], ft = () => Be, yn = () => j, vn = () => xe, sr = () => qe, Rr = () => He, ar = () => ne, tt = () => Le, Re = (h, $) => {
7193
7197
  if ($ === void 0) return;
7194
7198
  let T = ir($);
7195
7199
  T !== void 0 && ($ = ke($, T));
@@ -7198,8 +7202,8 @@ customElements.define("eox-itemfilter-select", qf);
7198
7202
  let ge = ee.updatePosition($, Do(h), Ro(h), ce, Be, j);
7199
7203
  H == null || H.updatePosition(ce, w.map((fe) => fe.percent), Be, j), Mt();
7200
7204
  for (let fe of w) {
7201
- let Ve = jt(fe.percent);
7202
- Ve !== void 0 && (fe.setAttr("aria-valuenow", Ve.toString()), fe.setAttr("aria-valuetext", Ve.toString()));
7205
+ let Ke = jt(fe.percent);
7206
+ Ke !== void 0 && (fe.setAttr("aria-valuenow", Ke.toString()), fe.setAttr("aria-valuetext", Ke.toString()));
7203
7207
  }
7204
7208
  mn(), ge && po(u, w.map((fe) => jt(fe.percent)));
7205
7209
  }, st = () => {
@@ -7245,9 +7249,9 @@ customElements.define("eox-itemfilter-select", qf);
7245
7249
  }, bn = (h) => {
7246
7250
  ne = h, st();
7247
7251
  }, wn = (h) => {
7248
- (!Ce(h) || h < 0) && (h = 0), F = h;
7252
+ (!Ce(h) || h < 0) && (h = 0), W = h;
7249
7253
  }, Nt = (h) => {
7250
- (!Ce(h) || h < 0) && (h = 1 / 0), me = h;
7254
+ (!Ce(h) || h < 0) && (h = 1 / 0), be = h;
7251
7255
  }, $n = (h) => {
7252
7256
  xe = h, y.classList.toggle("disabled", xe), xe ? y.setAttribute("aria-disabled", "true") : y.hasAttribute("aria-disabled") && y.removeAttribute("aria-disabled");
7253
7257
  }, di = (h) => {
@@ -7283,7 +7287,7 @@ customElements.define("eox-itemfilter-select", qf);
7283
7287
  }, ue = (h, $) => {
7284
7288
  let T = w[h];
7285
7289
  !T || (T.setAttr("aria-label", $), ii[h] = $);
7286
- }, be = (h) => {
7290
+ }, we = (h) => {
7287
7291
  if (Pe = void 0, w.length <= 1) {
7288
7292
  Le = !1, y.classList.remove(Mr);
7289
7293
  return;
@@ -7309,13 +7313,13 @@ customElements.define("eox-itemfilter-select", qf);
7309
7313
  return ge.setCallbacks(oi, si, ai, li), w.push(ge), Br(h, $), st(), Mt(), $;
7310
7314
  }, Ie = () => {
7311
7315
  let h = w.length, $ = w[h - 1];
7312
- return $ ? ($.destroy(), w.pop(), w.length <= 1 && be(!1), st(), Mt(), h - 1) : -1;
7316
+ return $ ? ($.destroy(), w.pop(), w.length <= 1 && we(!1), st(), Mt(), h - 1) : -1;
7313
7317
  };
7314
7318
  return (() => {
7315
7319
  var h, $;
7316
7320
  for (let ee of w) ee.setCallbacks(oi, si, ai, li);
7317
7321
  let T = (h = u.shadowRoot) == null ? void 0 : h.querySelector(".panel-fill");
7318
- T && (H = yo(T)), v(u.getAttribute(L)), S(Ae(u.getAttribute(V))), D(Ae(u.getAttribute(J))), hi(u.getAttribute(g), u.getAttribute(m)), Nr(u.getAttribute(b)), p(u.getAttribute(d)), jr(x.map((ee) => ee[1])), bn(Ae(u.getAttribute(s))), wn(oe(u.getAttribute(c), 0)), Nt(oe(u.getAttribute(l), 1 / 0)), be(Ae(u.getAttribute(f))), O(oe(u.getAttribute(A), Xe)), Te(), Ue(), U = Qt(u, y, w), Y(($ = u.getAttribute(Me)) != null ? $ : ni), y.addEventListener("mousedown", un), y.addEventListener("mouseup", Or), y.addEventListener("touchmove", Et), y.addEventListener("touchstart", Et), He || document.addEventListener("wheel", kr, { passive: !1 }), C = ln(u, ci, { setValues: jr, setMin: Ot, setMax: Ct, setStep: Nr, setPointersOverlap: bn, setPointersMinDistance: wn, setPointersMaxDistance: Nt, setDisabled: $n, setType: v, setRightToLeft: S, setBottomToTop: D, setRound: O, setKeyboardDisabled: di, setMousewheelDisabled: a, setRangeDragging: be, setData: p }, { getPercents: ui, getValues: fi, getPointerElements: pn, getMin: or, getMax: pi, getStep: fn, getData: hn, getType: dn, getRound: Tr, getTextMin: Lr, getTextMax: Pt, isRightToLeft: ft, isBottomToTop: yn, isDisabled: vn, isKeyboardDisabled: sr, isMousewheelDisabled: Rr, isPointersOverlap: ar, isRangeDraggingEnabled: tt, getPointersMinDistance: Ir, getPointersMaxDistance: gn }), C.init();
7322
+ T && (H = yo(T)), v(u.getAttribute(L)), S(Ae(u.getAttribute(K))), D(Ae(u.getAttribute(J))), hi(u.getAttribute(g), u.getAttribute(m)), Nr(u.getAttribute(b)), p(u.getAttribute(d)), jr(x.map((ee) => ee[1])), bn(Ae(u.getAttribute(s))), wn(oe(u.getAttribute(c), 0)), Nt(oe(u.getAttribute(l), 1 / 0)), we(Ae(u.getAttribute(f))), O(oe(u.getAttribute(A), Xe)), Te(), Ue(), U = Qt(u, y, w), Y(($ = u.getAttribute(Me)) != null ? $ : ni), y.addEventListener("mousedown", un), y.addEventListener("mouseup", Or), y.addEventListener("touchmove", Et), y.addEventListener("touchstart", Et), He || document.addEventListener("wheel", kr, { passive: !1 }), C = ln(u, ci, { setValues: jr, setMin: Ot, setMax: Ct, setStep: Nr, setPointersOverlap: bn, setPointersMinDistance: wn, setPointersMaxDistance: Nt, setDisabled: $n, setType: v, setRightToLeft: S, setBottomToTop: D, setRound: O, setKeyboardDisabled: di, setMousewheelDisabled: a, setRangeDragging: we, setData: p }, { getPercents: ui, getValues: fi, getPointerElements: pn, getMin: or, getMax: pi, getStep: fn, getData: hn, getType: dn, getRound: Tr, getTextMin: Lr, getTextMax: Pt, isRightToLeft: ft, isBottomToTop: yn, isDisabled: vn, isKeyboardDisabled: sr, isMousewheelDisabled: Rr, isPointersOverlap: ar, isRangeDraggingEnabled: tt, getPointersMinDistance: Ir, getPointersMaxDistance: gn }), C.init();
7319
7323
  })(), { get pointers() {
7320
7324
  return w;
7321
7325
  }, get styles() {
@@ -7377,7 +7381,7 @@ customElements.define("eox-itemfilter-select", qf);
7377
7381
  }, get rangeDragging() {
7378
7382
  return tt();
7379
7383
  }, set rangeDragging(h) {
7380
- be(h);
7384
+ we(h);
7381
7385
  }, setMin: Ot, setMax: Ct, setValue: Br, setStep: Nr, setData: p, getTextValue: jt, setAriaLabel: ue, getAriaLabel: Dr, addPointer: Ge, removePointer: Ie, destroy: () => {
7382
7386
  y.removeEventListener("mousedown", un), y.removeEventListener("mouseup", Or), y.removeEventListener("touchmove", Et), y.removeEventListener("touchstart", Et), document.removeEventListener("wheel", kr);
7383
7387
  for (let h of w) h.destroy();
@@ -7439,7 +7443,7 @@ customElements.define("eox-itemfilter-select", qf);
7439
7443
  u.type = x;
7440
7444
  break;
7441
7445
  }
7442
- case V: {
7446
+ case K: {
7443
7447
  u.rightToLeft = Ae(x);
7444
7448
  break;
7445
7449
  }
@@ -7451,7 +7455,7 @@ customElements.define("eox-itemfilter-select", qf);
7451
7455
  u.round = oe(x, Xe);
7452
7456
  break;
7453
7457
  }
7454
- case W: {
7458
+ case F: {
7455
7459
  u.styles && (u.styles.theme = x);
7456
7460
  break;
7457
7461
  }
@@ -7657,7 +7661,7 @@ class Yf extends it {
7657
7661
  constructor() {
7658
7662
  super();
7659
7663
  et(this, wr);
7660
- this.filterObject = {}, this.tabIndex = 0, this.inputHandler = we(this, wr, Jf).bind(this), this.debouncedInputHandler = lo(this.inputHandler, 0, {
7664
+ this.filterObject = {}, this.tabIndex = 0, this.inputHandler = $e(this, wr, Jf).bind(this), this.debouncedInputHandler = lo(this.inputHandler, 0, {
7661
7665
  leading: !0
7662
7666
  });
7663
7667
  }
@@ -7681,8 +7685,8 @@ class Yf extends it {
7681
7685
  render() {
7682
7686
  return Je(
7683
7687
  this.filterObject,
7684
- () => K`
7685
- ${we(this, wr, Ys).call(this, "min", "before")}
7688
+ () => V`
7689
+ ${$e(this, wr, Ys).call(this, "min", "before")}
7686
7690
  <tc-range-slider
7687
7691
  min="${this.filterObject.min}"
7688
7692
  max="${this.filterObject.max}"
@@ -7691,7 +7695,7 @@ class Yf extends it {
7691
7695
  step="1"
7692
7696
  @change=${this.debouncedInputHandler}
7693
7697
  ></tc-range-slider>
7694
- ${we(this, wr, Ys).call(this, "max", "after")}
7698
+ ${$e(this, wr, Ys).call(this, "max", "after")}
7695
7699
  `
7696
7700
  );
7697
7701
  }
@@ -7713,7 +7717,7 @@ Jf = function(r) {
7713
7717
  * @private
7714
7718
  */
7715
7719
  Ys = function(r, n) {
7716
- return F0(r, n, this);
7720
+ return W0(r, n, this);
7717
7721
  }, // Define properties with defaults and types
7718
7722
  xn(Yf, "properties", {
7719
7723
  filterObject: { attribute: !1, type: Object },
@@ -7756,19 +7760,19 @@ class fb extends it {
7756
7760
  this.filterObject,
7757
7761
  () => {
7758
7762
  var r;
7759
- return K`
7763
+ return V`
7760
7764
  <form style="display: inline">
7761
7765
  ${ro(
7762
7766
  ["intersects", "within"],
7763
- (n) => K`
7767
+ (n) => V`
7764
7768
  <label>
7765
7769
  <input
7766
7770
  tabindex=${this.tabIndex}
7767
7771
  type="radio"
7768
7772
  name="mode"
7769
- .checked="${(this.filterObject.state.mode || "") === n || $e}"
7773
+ .checked="${(this.filterObject.state.mode || "") === n || ye}"
7770
7774
  value="${n}"
7771
- @click=${() => we(this, eo, Zf).call(this, n)}
7775
+ @click=${() => $e(this, eo, Zf).call(this, n)}
7772
7776
  />
7773
7777
  <small>${n} filter geometry</small>
7774
7778
  </label>
@@ -7815,7 +7819,7 @@ class pb extends it {
7815
7819
  * Lifecycle method called after the first update. Initializes the spatial filter.
7816
7820
  */
7817
7821
  firstUpdated() {
7818
- we(this, to, Xf).call(this);
7822
+ $e(this, to, Xf).call(this);
7819
7823
  }
7820
7824
  /**
7821
7825
  * Resets the spatial filter using the resetSpatialFilterMethod.
@@ -7827,7 +7831,7 @@ class pb extends it {
7827
7831
  * Renders the HTML template for the component.
7828
7832
  */
7829
7833
  render() {
7830
- return K`<div id="eox-map"></div>`;
7834
+ return V`<div id="eox-map"></div>`;
7831
7835
  }
7832
7836
  }
7833
7837
  to = new WeakSet(), /**
@@ -7894,7 +7898,7 @@ class yb extends it {
7894
7898
  connectedCallback() {
7895
7899
  super.connectedCallback(), this.getRootNode().addEventListener(
7896
7900
  "keydown",
7897
- we(this, $r, Js).bind(this)
7901
+ $e(this, $r, Js).bind(this)
7898
7902
  );
7899
7903
  }
7900
7904
  /**
@@ -7904,7 +7908,7 @@ class yb extends it {
7904
7908
  disconnectedCallback() {
7905
7909
  super.disconnectedCallback(), this.getRootNode().removeEventListener(
7906
7910
  "keydown",
7907
- we(this, $r, Js).bind(this)
7911
+ $e(this, $r, Js).bind(this)
7908
7912
  );
7909
7913
  }
7910
7914
  /**
@@ -7923,15 +7927,15 @@ class yb extends it {
7923
7927
  * Renders the HTML template for the component.
7924
7928
  */
7925
7929
  render() {
7926
- return K`
7930
+ return V`
7927
7931
  <style>
7928
7932
  ${zn}
7929
7933
  </style>
7930
7934
  <span class="chip-container">
7931
7935
  ${ro(
7932
7936
  this.items,
7933
- (r) => K`
7934
- <span class="chip" @click=${we(this, $r, Qf).bind(this)}>
7937
+ (r) => V`
7938
+ <span class="chip" @click=${$e(this, $r, Qf).bind(this)}>
7935
7939
  <span class="chip-title">${r.title}</span>
7936
7940
  <span
7937
7941
  class="chip-item-close hidden"
@@ -8030,7 +8034,7 @@ const Sc = Object.freeze({
8030
8034
  */
8031
8035
  expandMultipleResults: !0
8032
8036
  });
8033
- var vb = 200, Ma = "__lodash_hash_undefined__", mb = 1 / 0, bb = "[object Function]", wb = "[object GeneratorFunction]", $b = /[\\^$.*+?()[\]{}|]/g, xb = /^\[object .+?Constructor\]$/, Sb = typeof Ke == "object" && Ke && Ke.Object === Object && Ke, Ab = typeof self == "object" && self && self.Object === Object && self, Pa = Sb || Ab || Function("return this")();
8037
+ var vb = 200, Ma = "__lodash_hash_undefined__", mb = 1 / 0, bb = "[object Function]", wb = "[object GeneratorFunction]", $b = /[\\^$.*+?()[\]{}|]/g, xb = /^\[object .+?Constructor\]$/, Sb = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, Ab = typeof self == "object" && self && self.Object === Object && self, Pa = Sb || Ab || Function("return this")();
8034
8038
  function _b(t, e) {
8035
8039
  var r = t ? t.length : 0;
8036
8040
  return !!r && Pb(t, e, 0) > -1;
@@ -8106,19 +8110,19 @@ function Ub(t) {
8106
8110
  }
8107
8111
  return Oa.call(e, t) ? e[t] : void 0;
8108
8112
  }
8109
- function Fb(t) {
8113
+ function Wb(t) {
8110
8114
  var e = this.__data__;
8111
8115
  return Un ? e[t] !== void 0 : Oa.call(e, t);
8112
8116
  }
8113
- function Wb(t, e) {
8117
+ function Fb(t, e) {
8114
8118
  var r = this.__data__;
8115
8119
  return r[t] = Un && e === void 0 ? Ma : e, this;
8116
8120
  }
8117
8121
  mr.prototype.clear = Nb;
8118
8122
  mr.prototype.delete = Hb;
8119
8123
  mr.prototype.get = Ub;
8120
- mr.prototype.has = Fb;
8121
- mr.prototype.set = Wb;
8124
+ mr.prototype.has = Wb;
8125
+ mr.prototype.set = Fb;
8122
8126
  function rn(t) {
8123
8127
  var e = -1, r = t ? t.length : 0;
8124
8128
  for (this.clear(); ++e < r; ) {
@@ -8140,18 +8144,18 @@ function Gb(t) {
8140
8144
  var e = this.__data__, r = co(e, t);
8141
8145
  return r < 0 ? void 0 : e[r][1];
8142
8146
  }
8143
- function Vb(t) {
8147
+ function Kb(t) {
8144
8148
  return co(this.__data__, t) > -1;
8145
8149
  }
8146
- function Kb(t, e) {
8150
+ function Vb(t, e) {
8147
8151
  var r = this.__data__, n = co(r, t);
8148
8152
  return n < 0 ? r.push([t, e]) : r[n][1] = e, this;
8149
8153
  }
8150
8154
  rn.prototype.clear = zb;
8151
8155
  rn.prototype.delete = qb;
8152
8156
  rn.prototype.get = Gb;
8153
- rn.prototype.has = Vb;
8154
- rn.prototype.set = Kb;
8157
+ rn.prototype.has = Kb;
8158
+ rn.prototype.set = Vb;
8155
8159
  function nn(t) {
8156
8160
  var e = -1, r = t ? t.length : 0;
8157
8161
  for (this.clear(); ++e < r; ) {
@@ -8283,14 +8287,14 @@ const ip = /* @__PURE__ */ qn(p1);
8283
8287
  var Zi = { exports: {} };
8284
8288
  Zi.exports;
8285
8289
  (function(t, e) {
8286
- var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", o = 1, s = 2, c = 1 / 0, l = 9007199254740991, f = "[object Arguments]", d = "[object Array]", g = "[object Boolean]", m = "[object Date]", b = "[object Error]", A = "[object Function]", L = "[object GeneratorFunction]", W = "[object Map]", V = "[object Number]", J = "[object Object]", Z = "[object Promise]", pe = "[object RegExp]", te = "[object Set]", N = "[object String]", X = "[object Symbol]", ie = "[object WeakMap]", ve = "[object ArrayBuffer]", he = "[object DataView]", re = "[object Float32Array]", De = "[object Float64Array]", Ze = "[object Int8Array]", I = "[object Int16Array]", E = "[object Int32Array]", _ = "[object Uint8Array]", R = "[object Uint8ClampedArray]", P = "[object Uint16Array]", z = "[object Uint32Array]", q = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, de = /^\w*$/, Se = /^\./, Ee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Me = /[\\^$.*+?()[\]{}|]/g, We = /\\(\\)?/g, Oe = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, le = {};
8287
- le[re] = le[De] = le[Ze] = le[I] = le[E] = le[_] = le[R] = le[P] = le[z] = !0, le[f] = le[d] = le[ve] = le[g] = le[he] = le[m] = le[b] = le[A] = le[W] = le[V] = le[J] = le[pe] = le[te] = le[N] = le[ie] = !1;
8288
- var Ce = typeof Ke == "object" && Ke && Ke.Object === Object && Ke, oe = typeof self == "object" && self && self.Object === Object && self, ke = Ce || oe || Function("return this")(), yt = e && !e.nodeType && e, Ae = yt && !0 && t && !t.nodeType && t, fo = Ae && Ae.exports === yt, Vn = fo && Ce.process, Kn = function() {
8290
+ var r = 200, n = "Expected a function", i = "__lodash_hash_undefined__", o = 1, s = 2, c = 1 / 0, l = 9007199254740991, f = "[object Arguments]", d = "[object Array]", g = "[object Boolean]", m = "[object Date]", b = "[object Error]", A = "[object Function]", L = "[object GeneratorFunction]", F = "[object Map]", K = "[object Number]", J = "[object Object]", Z = "[object Promise]", pe = "[object RegExp]", te = "[object Set]", N = "[object String]", X = "[object Symbol]", ie = "[object WeakMap]", me = "[object ArrayBuffer]", he = "[object DataView]", re = "[object Float32Array]", De = "[object Float64Array]", Ze = "[object Int8Array]", I = "[object Int16Array]", E = "[object Int32Array]", _ = "[object Uint8Array]", R = "[object Uint8ClampedArray]", P = "[object Uint16Array]", z = "[object Uint32Array]", q = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, de = /^\w*$/, Se = /^\./, Ee = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Me = /[\\^$.*+?()[\]{}|]/g, Fe = /\\(\\)?/g, Oe = /^\[object .+?Constructor\]$/, ze = /^(?:0|[1-9]\d*)$/, le = {};
8291
+ le[re] = le[De] = le[Ze] = le[I] = le[E] = le[_] = le[R] = le[P] = le[z] = !0, le[f] = le[d] = le[me] = le[g] = le[he] = le[m] = le[b] = le[A] = le[F] = le[K] = le[J] = le[pe] = le[te] = le[N] = le[ie] = !1;
8292
+ var Ce = typeof Ve == "object" && Ve && Ve.Object === Object && Ve, oe = typeof self == "object" && self && self.Object === Object && self, ke = Ce || oe || Function("return this")(), yt = e && !e.nodeType && e, Ae = yt && !0 && t && !t.nodeType && t, fo = Ae && Ae.exports === yt, Kn = fo && Ce.process, Vn = function() {
8289
8293
  try {
8290
- return Vn && Vn.binding("util");
8294
+ return Kn && Kn.binding("util");
8291
8295
  } catch {
8292
8296
  }
8293
- }(), Yn = Kn && Kn.isTypedArray;
8297
+ }(), Yn = Vn && Vn.isTypedArray;
8294
8298
  function po(a, p) {
8295
8299
  for (var v = -1, S = a ? a.length : 0, D = Array(S); ++v < S; )
8296
8300
  D[v] = p(a[v], v, a);
@@ -8461,10 +8465,10 @@ Zi.exports;
8461
8465
  function ne() {
8462
8466
  this.__data__ = new u();
8463
8467
  }
8464
- function F(a) {
8468
+ function W(a) {
8465
8469
  return this.__data__.delete(a);
8466
8470
  }
8467
- function me(a) {
8471
+ function be(a) {
8468
8472
  return this.__data__.get(a);
8469
8473
  }
8470
8474
  function Le(a) {
@@ -8480,7 +8484,7 @@ Zi.exports;
8480
8484
  }
8481
8485
  return v.set(a, p), this;
8482
8486
  }
8483
- j.prototype.clear = ne, j.prototype.delete = F, j.prototype.get = me, j.prototype.has = Le, j.prototype.set = Pe;
8487
+ j.prototype.clear = ne, j.prototype.delete = W, j.prototype.get = be, j.prototype.has = Le, j.prototype.set = Pe;
8484
8488
  function _e(a, p) {
8485
8489
  var v = tt(a) || ar(a) ? yo(a.length, String) : [], S = v.length, D = !!S;
8486
8490
  for (var O in a)
@@ -8522,11 +8526,11 @@ Zi.exports;
8522
8526
  return a === p ? !0 : a == null || p == null || !Ot(a) && !Ct(p) ? a !== a && p !== p : Et(a, p, Cr, v, S, D);
8523
8527
  }
8524
8528
  function Et(a, p, v, S, D, O) {
8525
- var Y = tt(a), ue = tt(p), be = d, Te = d;
8526
- Y || (be = bt(a), be = be == f ? J : be), ue || (Te = bt(p), Te = Te == f ? J : Te);
8527
- var Ue = be == J && !sn(a), Ge = Te == J && !sn(p), Ie = be == Te;
8529
+ var Y = tt(a), ue = tt(p), we = d, Te = d;
8530
+ Y || (we = bt(a), we = we == f ? J : we), ue || (Te = bt(p), Te = Te == f ? J : Te);
8531
+ var Ue = we == J && !sn(a), Ge = Te == J && !sn(p), Ie = we == Te;
8528
8532
  if (Ie && !Ue)
8529
- return O || (O = new j()), Y || Br(a) ? ir(a, p, v, S, D, O) : jt(a, p, be, v, S, D, O);
8533
+ return O || (O = new j()), Y || Br(a) ? ir(a, p, v, S, D, O) : jt(a, p, we, v, S, D, O);
8530
8534
  if (!(D & s)) {
8531
8535
  var h = Ue && ut.call(a, "__wrapped__"), $ = Ge && ut.call(p, "__wrapped__");
8532
8536
  if (h || $) {
@@ -8547,14 +8551,14 @@ Zi.exports;
8547
8551
  }
8548
8552
  for (; ++D < O; ) {
8549
8553
  ue = v[D];
8550
- var be = ue[0], Te = a[be], Ue = ue[1];
8554
+ var we = ue[0], Te = a[we], Ue = ue[1];
8551
8555
  if (Y && ue[2]) {
8552
- if (Te === void 0 && !(be in a))
8556
+ if (Te === void 0 && !(we in a))
8553
8557
  return !1;
8554
8558
  } else {
8555
8559
  var Ge = new j();
8556
8560
  if (S)
8557
- var Ie = S(Te, Ue, be, a, p, Ge);
8561
+ var Ie = S(Te, Ue, we, a, p, Ge);
8558
8562
  if (!(Ie === void 0 ? Cr(Ue, Te, S, o | s, Ge) : Ie))
8559
8563
  return !1;
8560
8564
  }
@@ -8629,16 +8633,16 @@ Zi.exports;
8629
8633
  function Ro(a) {
8630
8634
  return function(p, v, S) {
8631
8635
  for (var D = -1, O = Object(p), Y = S(p), ue = Y.length; ue--; ) {
8632
- var be = Y[a ? ue : ++D];
8633
- if (v(O[be], be, O) === !1)
8636
+ var we = Y[a ? ue : ++D];
8637
+ if (v(O[we], we, O) === !1)
8634
8638
  break;
8635
8639
  }
8636
8640
  return p;
8637
8641
  };
8638
8642
  }
8639
8643
  function ir(a, p, v, S, D, O) {
8640
- var Y = D & s, ue = a.length, be = p.length;
8641
- if (ue != be && !(Y && be > ue))
8644
+ var Y = D & s, ue = a.length, we = p.length;
8645
+ if (ue != we && !(Y && we > ue))
8642
8646
  return !1;
8643
8647
  var Te = O.get(a);
8644
8648
  if (Te && O.get(p))
@@ -8675,22 +8679,22 @@ Zi.exports;
8675
8679
  if (a.byteLength != p.byteLength || a.byteOffset != p.byteOffset)
8676
8680
  return !1;
8677
8681
  a = a.buffer, p = p.buffer;
8678
- case ve:
8682
+ case me:
8679
8683
  return !(a.byteLength != p.byteLength || !S(new Qn(a), new Qn(p)));
8680
8684
  case g:
8681
8685
  case m:
8682
- case V:
8686
+ case K:
8683
8687
  return Rr(+a, +p);
8684
8688
  case b:
8685
8689
  return a.name == p.name && a.message == p.message;
8686
8690
  case pe:
8687
8691
  case N:
8688
8692
  return a == p + "";
8689
- case W:
8693
+ case F:
8690
8694
  var ue = mo;
8691
8695
  case te:
8692
- var be = O & s;
8693
- if (ue || (ue = wo), a.size != p.size && !be)
8696
+ var we = O & s;
8697
+ if (ue || (ue = wo), a.size != p.size && !we)
8694
8698
  return !1;
8695
8699
  var Te = Y.get(a);
8696
8700
  if (Te)
@@ -8705,10 +8709,10 @@ Zi.exports;
8705
8709
  return !1;
8706
8710
  }
8707
8711
  function Lr(a, p, v, S, D, O) {
8708
- var Y = D & s, ue = Nt(a), be = ue.length, Te = Nt(p), Ue = Te.length;
8709
- if (be != Ue && !Y)
8712
+ var Y = D & s, ue = Nt(a), we = ue.length, Te = Nt(p), Ue = Te.length;
8713
+ if (we != Ue && !Y)
8710
8714
  return !1;
8711
- for (var Ge = be; Ge--; ) {
8715
+ for (var Ge = we; Ge--; ) {
8712
8716
  var Ie = ue[Ge];
8713
8717
  if (!(Y ? Ie in p : ut.call(p, Ie)))
8714
8718
  return !1;
@@ -8718,7 +8722,7 @@ Zi.exports;
8718
8722
  return h == p;
8719
8723
  var $ = !0;
8720
8724
  O.set(a, p), O.set(p, a);
8721
- for (var T = Y; ++Ge < be; ) {
8725
+ for (var T = Y; ++Ge < we; ) {
8722
8726
  Ie = ue[Ge];
8723
8727
  var ee = a[Ie], ge = p[Ie];
8724
8728
  if (S)
@@ -8730,8 +8734,8 @@ Zi.exports;
8730
8734
  T || (T = Ie == "constructor");
8731
8735
  }
8732
8736
  if ($ && !T) {
8733
- var Ve = a.constructor, kt = p.constructor;
8734
- Ve != kt && "constructor" in a && "constructor" in p && !(typeof Ve == "function" && Ve instanceof Ve && typeof kt == "function" && kt instanceof kt) && ($ = !1);
8737
+ var Ke = a.constructor, kt = p.constructor;
8738
+ Ke != kt && "constructor" in a && "constructor" in p && !(typeof Ke == "function" && Ke instanceof Ke && typeof kt == "function" && kt instanceof kt) && ($ = !1);
8735
8739
  }
8736
8740
  return O.delete(a), O.delete(p), $;
8737
8741
  }
@@ -8751,14 +8755,14 @@ Zi.exports;
8751
8755
  return oi(v) ? v : void 0;
8752
8756
  }
8753
8757
  var bt = Or;
8754
- (Er && bt(new Er(new ArrayBuffer(1))) != he || Qt && bt(new Qt()) != W || vt && bt(vt.resolve()) != Z || Mr && bt(new Mr()) != te || ln && bt(new ln()) != ie) && (bt = function(a) {
8758
+ (Er && bt(new Er(new ArrayBuffer(1))) != he || Qt && bt(new Qt()) != F || vt && bt(vt.resolve()) != Z || Mr && bt(new Mr()) != te || ln && bt(new ln()) != ie) && (bt = function(a) {
8755
8759
  var p = Dt.call(a), v = p == J ? a.constructor : void 0, S = v ? ft(v) : void 0;
8756
8760
  if (S)
8757
8761
  switch (S) {
8758
8762
  case ei:
8759
8763
  return he;
8760
8764
  case Mo:
8761
- return W;
8765
+ return F;
8762
8766
  case ti:
8763
8767
  return Z;
8764
8768
  case Po:
@@ -8816,7 +8820,7 @@ Zi.exports;
8816
8820
  a = Nr(a);
8817
8821
  var p = [];
8818
8822
  return Se.test(a) && p.push(""), a.replace(Ee, function(v, S, D, O) {
8819
- p.push(D ? O.replace(We, "$1") : S || v);
8823
+ p.push(D ? O.replace(Fe, "$1") : S || v);
8820
8824
  }), p;
8821
8825
  });
8822
8826
  function Dr(a) {
@@ -8979,7 +8983,7 @@ function y1(t, e, r) {
8979
8983
  const n = `filter-${t.key}`.replace("|", "-");
8980
8984
  switch (t.type) {
8981
8985
  case "text":
8982
- return K`<eox-itemfilter-text
8986
+ return V`<eox-itemfilter-text
8983
8987
  data-type="filter"
8984
8988
  slot="filter"
8985
8989
  id="${n}"
@@ -8990,7 +8994,7 @@ function y1(t, e, r) {
8990
8994
  ></eox-itemfilter-text>`;
8991
8995
  case "multiselect":
8992
8996
  case "select":
8993
- return K`
8997
+ return V`
8994
8998
  <eox-itemfilter-select
8995
8999
  .inlineMode=${r.config.inlineMode || !1}
8996
9000
  data-type="filter"
@@ -9007,7 +9011,7 @@ function y1(t, e, r) {
9007
9011
  ></eox-itemfilter-select>
9008
9012
  `;
9009
9013
  case "range":
9010
- return K`
9014
+ return V`
9011
9015
  <eox-itemfilter-range
9012
9016
  id="${n}"
9013
9017
  data-type="filter"
@@ -9019,7 +9023,7 @@ function y1(t, e, r) {
9019
9023
  ></eox-itemfilter-range>
9020
9024
  `;
9021
9025
  case "spatial":
9022
- return K`
9026
+ return V`
9023
9027
  <eox-itemfilter-spatial
9024
9028
  id="${n}"
9025
9029
  data-type="filter"
@@ -9030,7 +9034,7 @@ function y1(t, e, r) {
9030
9034
  ></eox-itemfilter-spatial>
9031
9035
  `;
9032
9036
  default:
9033
- return K``;
9037
+ return V``;
9034
9038
  }
9035
9039
  }
9036
9040
  function v1(t, e) {
@@ -9039,10 +9043,10 @@ function v1(t, e) {
9039
9043
  );
9040
9044
  }
9041
9045
  function m1(t, e, r) {
9042
- return K`
9046
+ return V`
9043
9047
  ${Je(
9044
9048
  t.dirty,
9045
- () => K`
9049
+ () => V`
9046
9050
  <button
9047
9051
  type="button"
9048
9052
  tabindex=${e}
@@ -9053,7 +9057,7 @@ function m1(t, e, r) {
9053
9057
  i && typeof i.reset == "function" && i.reset(), r.search(), r.requestUpdate();
9054
9058
  }}
9055
9059
  >
9056
- ${r.unstyled ? "Reset" : $e}
9060
+ ${r.unstyled ? "Reset" : ye}
9057
9061
  </button>
9058
9062
  `
9059
9063
  )}
@@ -9064,7 +9068,7 @@ function b1(t) {
9064
9068
  typeof e.reset == "function" && e.reset();
9065
9069
  }), t.search();
9066
9070
  }
9067
- var Fn, Gr, ht, Zr, sp, ap;
9071
+ var Wn, Gr, ht, Zr, sp, ap;
9068
9072
  class w1 extends Nf {
9069
9073
  constructor() {
9070
9074
  super();
@@ -9072,7 +9076,7 @@ class w1 extends Nf {
9072
9076
  /**
9073
9077
  * @type Array<string>
9074
9078
  */
9075
- et(this, Fn, []);
9079
+ et(this, Wn, []);
9076
9080
  /**
9077
9081
  * @type Array<object>
9078
9082
  */
@@ -9092,14 +9096,15 @@ class w1 extends Nf {
9092
9096
  items: { attribute: !1, type: Object },
9093
9097
  results: { state: !0, attribute: !1, type: Object },
9094
9098
  filters: { state: !0, attribute: !1, type: Object },
9095
- selectedResult: { attribute: !1, type: Object }
9099
+ selectedResult: { attribute: !1, type: Object },
9100
+ unstyled: { type: Boolean }
9096
9101
  };
9097
9102
  }
9098
9103
  /**
9099
9104
  * Applies the filters to the items and updates the result aggregation.
9100
9105
  */
9101
9106
  apply() {
9102
- gi(this, Fn, d1(
9107
+ gi(this, Wn, d1(
9103
9108
  at(this, ht),
9104
9109
  at(this, Gr),
9105
9110
  this
@@ -9179,18 +9184,22 @@ class w1 extends Nf {
9179
9184
  * Renders the HTML template for the component.
9180
9185
  */
9181
9186
  render() {
9182
- var r, n;
9183
- return K`
9187
+ var r, n, i;
9188
+ return V`
9184
9189
  <style>
9185
9190
  ${Ap}
9186
9191
  ${!this.unstyled && zn}
9187
9192
  ${!this.unstyled && _p}
9188
9193
  ${this.styleOverride}
9189
9194
  </style>
9190
- <form id="itemfilter" @submit="${(i) => i.preventDefault()}">
9195
+ <form
9196
+ id="itemfilter"
9197
+ class=${(r = this.config) != null && r.inlineMode ? "inline" : ye}
9198
+ @submit="${(o) => o.preventDefault()}"
9199
+ >
9191
9200
  ${Je(
9192
- (r = this.config) == null ? void 0 : r.filterProperties,
9193
- () => K`
9201
+ (n = this.config) == null ? void 0 : n.filterProperties,
9202
+ () => V`
9194
9203
  <eox-itemfilter-container
9195
9204
  .filters=${this.filters}
9196
9205
  .filterProperties=${this.config.filterProperties}
@@ -9201,7 +9210,7 @@ class w1 extends Nf {
9201
9210
  <section slot="section">
9202
9211
  ${Je(
9203
9212
  !this.config.inlineMode,
9204
- () => K`
9213
+ () => V`
9205
9214
  <slot name="filterstitle"
9206
9215
  ><h6 class="main-heading">Filters</h6></slot
9207
9216
  >
@@ -9210,20 +9219,20 @@ class w1 extends Nf {
9210
9219
  <ul id="filters">
9211
9220
  ${ro(
9212
9221
  Object.values(this.filters),
9213
- (i, o) => K` <li>
9222
+ (o, s) => V` <li>
9214
9223
  <eox-itemfilter-expandcontainer
9215
- .filterObject=${i}
9216
- data-details="${i.key}"
9224
+ .filterObject=${o}
9225
+ data-details="${o.key}"
9217
9226
  >
9218
- ${we(this, Zr, ap).call(this, i, mc(o, 1))}
9219
- ${we(this, Zr, sp).call(this, i, mc(o, 2))}
9227
+ ${$e(this, Zr, ap).call(this, o, mc(s, 1))}
9228
+ ${$e(this, Zr, sp).call(this, o, mc(s, 2))}
9220
9229
  </eox-itemfilter-expandcontainer>
9221
9230
  </li>`
9222
9231
  )}
9223
9232
  </ul>
9224
9233
  ${Je(
9225
- !this.config.inlineMode && at(this, ht).filterProperties && !this.config.inlineMode && at(this, ht).filterProperties && Fs(this.filters),
9226
- () => K`
9234
+ !this.config.inlineMode && at(this, ht).filterProperties && !this.config.inlineMode && at(this, ht).filterProperties && Ws(this.filters),
9235
+ () => V`
9227
9236
  <button
9228
9237
  type="button"
9229
9238
  id="filter-reset"
@@ -9240,13 +9249,13 @@ class w1 extends Nf {
9240
9249
  `
9241
9250
  )}
9242
9251
  ${Je(
9243
- ((n = at(this, ht)) == null ? void 0 : n.showResults) && this.results,
9244
- () => K`
9252
+ ((i = at(this, ht)) == null ? void 0 : i.showResults) && this.results,
9253
+ () => V`
9245
9254
  <eox-itemfilter-results
9246
9255
  .config=${at(this, ht)}
9247
9256
  .results=${this.results}
9248
9257
  .filters=${this.filters}
9249
- .resultAggregation=${at(this, Fn)}
9258
+ .resultAggregation=${at(this, Wn)}
9250
9259
  .selectedResult=${this.selectedResult}
9251
9260
  @result=${this.updateResult}
9252
9261
  ></eox-itemfilter-results>
@@ -9256,7 +9265,7 @@ class w1 extends Nf {
9256
9265
  `;
9257
9266
  }
9258
9267
  }
9259
- Fn = new WeakMap(), Gr = new WeakMap(), ht = new WeakMap(), Zr = new WeakSet(), /**
9268
+ Wn = new WeakMap(), Gr = new WeakMap(), ht = new WeakMap(), Zr = new WeakSet(), /**
9260
9269
  * Creates a filter element based on the given filter object and tab index.
9261
9270
  *
9262
9271
  * @param {Object} filterObject - The filter object.