@eox/itemfilter 1.13.2 → 1.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- const Ft = globalThis, Pr = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = Symbol(), Ur = /* @__PURE__ */ new WeakMap();
1
+ const Ft = globalThis, Pr = Ft.ShadowRoot && (Ft.ShadyCSS === void 0 || Ft.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, zi = /* @__PURE__ */ Symbol(), Ur = /* @__PURE__ */ new WeakMap();
2
2
  let k1 = class {
3
3
  constructor(e, r, i) {
4
4
  if (this._$cssResult$ = !0, i !== zi) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
@@ -57,7 +57,7 @@ const { is: $1, defineProperty: A1, getOwnPropertyDescriptor: M1, getOwnProperty
57
57
  }
58
58
  return r;
59
59
  } }, Si = (t, e) => !$1(t, e), Yr = { attribute: !0, type: String, converter: Cr, reflect: !1, useDefault: !1, hasChanged: Si };
60
- Symbol.metadata ??= Symbol("metadata"), qt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
60
+ Symbol.metadata ??= /* @__PURE__ */ Symbol("metadata"), qt.litPropertyMetadata ??= /* @__PURE__ */ new WeakMap();
61
61
  let Se = class extends HTMLElement {
62
62
  static addInitializer(e) {
63
63
  this._$Ei(), (this.l ??= []).push(e);
@@ -67,7 +67,7 @@ let Se = class extends HTMLElement {
67
67
  }
68
68
  static createProperty(e, r = Yr) {
69
69
  if (r.state && (r.attribute = !1), this._$Ei(), this.prototype.hasOwnProperty(e) && ((r = Object.create(r)).wrapped = !0), this.elementProperties.set(e, r), !r.noAccessor) {
70
- const i = Symbol(), n = this.getPropertyDescriptor(e, i, r);
70
+ const i = /* @__PURE__ */ Symbol(), n = this.getPropertyDescriptor(e, i, r);
71
71
  n !== void 0 && A1(this.prototype, e, n);
72
72
  }
73
73
  }
@@ -242,7 +242,7 @@ let Se = class extends HTMLElement {
242
242
  Se.elementStyles = [], Se.shadowRootOptions = { mode: "open" }, Se[lt("elementProperties")] = /* @__PURE__ */ new Map(), Se[lt("finalized")] = /* @__PURE__ */ new Map(), B1?.({ ReactiveElement: Se }), (qt.reactiveElementVersions ??= []).push("2.1.1");
243
243
  const Tr = globalThis, Ht = Tr.trustedTypes, Kr = Ht ? Ht.createPolicy("lit-html", { createHTML: (t) => t }) : void 0, Ei = "$lit$", I0 = `lit$${Math.random().toFixed(9).slice(2)}$`, Di = "?" + I0, P1 = `<${Di}>`, se = document, ct = () => se.createComment(""), dt = (t) => t === null || typeof t != "object" && typeof t != "function", Rr = Array.isArray, T1 = (t) => Rr(t) || typeof t?.[Symbol.iterator] == "function", hr = `[
244
244
  \f\r]`, ot = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Gr = /-->/g, Xr = />/g, ie = RegExp(`>|${hr}(?:([^\\s"'>=/]+)(${hr}*=${hr}*(?:[^
245
- \f\r"'\`<>=]|("|')|))|$)`, "g"), Jr = /'/g, Qr = /"/g, Bi = /^(?:script|style|textarea|title)$/i, R1 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), J = R1(1), V0 = Symbol.for("lit-noChange"), k2 = Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), ae = se.createTreeWalker(se, 129);
245
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), Jr = /'/g, Qr = /"/g, Bi = /^(?:script|style|textarea|title)$/i, R1 = (t) => (e, ...r) => ({ _$litType$: t, strings: e, values: r }), J = R1(1), V0 = /* @__PURE__ */ Symbol.for("lit-noChange"), k2 = /* @__PURE__ */ Symbol.for("lit-nothing"), ei = /* @__PURE__ */ new WeakMap(), ae = se.createTreeWalker(se, 129);
246
246
  function Pi(t, e) {
247
247
  if (!Rr(t) || !t.hasOwnProperty("raw")) throw Error("invalid template strings array");
248
248
  return Kr !== void 0 ? Kr.createHTML(e) : e;
@@ -4075,8 +4075,8 @@ function Er(t) {
4075
4075
  return Object.values(t).map((e) => e.dirty).filter((e) => e).length > 0;
4076
4076
  }
4077
4077
  async function xa(t, e, r) {
4078
- const i = r.externalFilter(t, e), n = typeof i == "string" || i instanceof String ? i : i.url, a = await (await fetch(n)).json();
4079
- return i.key ? a0(i.key, a) : a;
4078
+ const i = r.externalFilter(t, e), n = typeof i == "string" || i instanceof String ? i : i.url, o = typeof i == "object" && "fetchFn" in i ? await i.fetchFn(n) : await fetch(n).then(async (a) => await a.json());
4079
+ return i.key ? a0(i.key, o) : o;
4080
4080
  }
4081
4081
  function p1(t, e, r) {
4082
4082
  let i;
@@ -4657,7 +4657,7 @@ function Za(t, e, r) {
4657
4657
  ).filter((c) => r.filters[i].state[c])), (a?.length ? a.includes(e) : !0) && Array.isArray(o) ? o.includes(e) : o === e;
4658
4658
  });
4659
4659
  }
4660
- const g1 = Symbol.for(""), Ua = (t) => {
4660
+ const g1 = /* @__PURE__ */ Symbol.for(""), Ua = (t) => {
4661
4661
  if (t?.r === g1) return t?._$litStatic$;
4662
4662
  }, ze = (t) => ({ _$litStatic$: t, r: g1 }), xi = /* @__PURE__ */ new Map(), qa = (t) => (e, ...r) => {
4663
4663
  const i = r.length;
@@ -4855,6 +4855,8 @@ function C1(t, e) {
4855
4855
  t.resultType === "cards",
4856
4856
  () => a0(n.imageProperty, a) ? J`
4857
4857
  <img
4858
+ loading="lazy"
4859
+ fetchpriority="low"
4858
4860
  class="image"
4859
4861
  src="${a0(n.imageProperty, a)}"
4860
4862
  />
@@ -4876,6 +4878,8 @@ function C1(t, e) {
4876
4878
  <i class="small">
4877
4879
  ${a0(n.imageProperty, a) ? J`
4878
4880
  <img
4881
+ loading="lazy"
4882
+ fetchpriority="low"
4879
4883
  class="image"
4880
4884
  src="${a0(n.imageProperty, a)}"
4881
4885
  />
@@ -1,6 +1,6 @@
1
- (function(ue,P0){typeof exports=="object"&&typeof module<"u"?P0(exports):typeof define=="function"&&define.amd?define(["exports"],P0):(ue=typeof globalThis<"u"?globalThis:ue||self,P0(ue["eox-itemfilter"]={}))})(this,(function(ue){"use strict";const P0=globalThis,ir=P0.ShadowRoot&&(P0.ShadyCSS===void 0||P0.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qr=Symbol(),Wr=new WeakMap;let L1=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==qr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(ir&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=Wr.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Wr.set(r,e))}return e}toString(){return this.cssText}};const $1=t=>new L1(typeof t=="string"?t:t+"",void 0,qr),A1=(t,e)=>{if(ir)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of e){const i=document.createElement("style"),n=P0.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Yr=ir?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return $1(r)})(t):t;const{is:M1,defineProperty:z1,getOwnPropertyDescriptor:S1,getOwnPropertyNames:E1,getOwnPropertySymbols:D1,getPrototypeOf:B1}=Object,vt=globalThis,Kr=vt.trustedTypes,P1=Kr?Kr.emptyScript:"",T1=vt.reactiveElementPolyfillSupport,je=(t,e)=>t,nr={toAttribute(t,e){switch(e){case Boolean:t=t?P1:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Gr=(t,e)=>!M1(t,e),Xr={attribute:!0,type:String,converter:nr,reflect:!1,useDefault:!1,hasChanged:Gr};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;let pe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Xr){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&z1(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:o}=S1(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){const l=n?.call(this);o?.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Xr}static _$Ei(){if(this.hasOwnProperty(je("elementProperties")))return;const e=B1(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(je("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(je("properties"))){const r=this.properties,i=[...E1(r),...D1(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(Yr(n))}else e!==void 0&&r.push(Yr(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return A1(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const o=(i.converter?.toAttribute!==void 0?i.converter:nr).toAttribute(r,i.type);this._$Em=e,o==null?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(e,r){const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const o=i.getPropertyOptions(n),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:nr;this._$Em=n;const l=a.fromAttribute(r,o.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){const n=this.constructor,o=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Gr)(o,r)||i.useDefault&&i.reflect&&o===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:o},a){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),o!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i){const{wrapped:a}=o,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,o,l)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[je("elementProperties")]=new Map,pe[je("finalized")]=new Map,T1?.({ReactiveElement:pe}),(vt.reactiveElementVersions??=[]).push("2.1.1");const or=globalThis,yt=or.trustedTypes,Jr=yt?yt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Qr="$lit$",T0=`lit$${Math.random().toFixed(9).slice(2)}$`,ei="?"+T0,R1=`<${ei}>`,Y0=document,Ne=()=>Y0.createComment(""),Ie=t=>t===null||typeof t!="object"&&typeof t!="function",ar=Array.isArray,O1=t=>ar(t)||typeof t?.[Symbol.iterator]=="function",sr=`[
1
+ (function(ue,P0){typeof exports=="object"&&typeof module<"u"?P0(exports):typeof define=="function"&&define.amd?define(["exports"],P0):(ue=typeof globalThis<"u"?globalThis:ue||self,P0(ue["eox-itemfilter"]={}))})(this,(function(ue){"use strict";const P0=globalThis,ir=P0.ShadowRoot&&(P0.ShadyCSS===void 0||P0.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,qr=Symbol(),Wr=new WeakMap;let L1=class{constructor(e,r,i){if(this._$cssResult$=!0,i!==qr)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=r}get styleSheet(){let e=this.o;const r=this.t;if(ir&&e===void 0){const i=r!==void 0&&r.length===1;i&&(e=Wr.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),i&&Wr.set(r,e))}return e}toString(){return this.cssText}};const $1=t=>new L1(typeof t=="string"?t:t+"",void 0,qr),A1=(t,e)=>{if(ir)t.adoptedStyleSheets=e.map((r=>r instanceof CSSStyleSheet?r:r.styleSheet));else for(const r of e){const i=document.createElement("style"),n=P0.litNonce;n!==void 0&&i.setAttribute("nonce",n),i.textContent=r.cssText,t.appendChild(i)}},Yr=ir?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const i of e.cssRules)r+=i.cssText;return $1(r)})(t):t;const{is:M1,defineProperty:z1,getOwnPropertyDescriptor:S1,getOwnPropertyNames:E1,getOwnPropertySymbols:D1,getPrototypeOf:B1}=Object,vt=globalThis,Kr=vt.trustedTypes,P1=Kr?Kr.emptyScript:"",T1=vt.reactiveElementPolyfillSupport,je=(t,e)=>t,nr={toAttribute(t,e){switch(e){case Boolean:t=t?P1:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let r=t;switch(e){case Boolean:r=t!==null;break;case Number:r=t===null?null:Number(t);break;case Object:case Array:try{r=JSON.parse(t)}catch{r=null}}return r}},Gr=(t,e)=>!M1(t,e),Xr={attribute:!0,type:String,converter:nr,reflect:!1,useDefault:!1,hasChanged:Gr};Symbol.metadata??=Symbol("metadata"),vt.litPropertyMetadata??=new WeakMap;let pe=class extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=Xr){if(r.state&&(r.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((r=Object.create(r)).wrapped=!0),this.elementProperties.set(e,r),!r.noAccessor){const i=Symbol(),n=this.getPropertyDescriptor(e,i,r);n!==void 0&&z1(this.prototype,e,n)}}static getPropertyDescriptor(e,r,i){const{get:n,set:o}=S1(this.prototype,e)??{get(){return this[r]},set(a){this[r]=a}};return{get:n,set(a){const l=n?.call(this);o?.call(this,a),this.requestUpdate(e,l,i)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??Xr}static _$Ei(){if(this.hasOwnProperty(je("elementProperties")))return;const e=B1(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(je("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(je("properties"))){const r=this.properties,i=[...E1(r),...D1(r)];for(const n of i)this.createProperty(n,r[n])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[i,n]of r)this.elementProperties.set(i,n)}this._$Eh=new Map;for(const[r,i]of this.elementProperties){const n=this._$Eu(r,i);n!==void 0&&this._$Eh.set(n,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const i=new Set(e.flat(1/0).reverse());for(const n of i)r.unshift(Yr(n))}else e!==void 0&&r.push(Yr(e));return r}static _$Eu(e,r){const i=r.attribute;return i===!1?void 0:typeof i=="string"?i:typeof e=="string"?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise((e=>this.enableUpdating=e)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((e=>e(this)))}addController(e){(this._$EO??=new Set).add(e),this.renderRoot!==void 0&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const i of r.keys())this.hasOwnProperty(i)&&(e.set(i,this[i]),delete this[i]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return A1(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach((e=>e.hostConnected?.()))}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach((e=>e.hostDisconnected?.()))}attributeChangedCallback(e,r,i){this._$AK(e,i)}_$ET(e,r){const i=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,i);if(n!==void 0&&i.reflect===!0){const o=(i.converter?.toAttribute!==void 0?i.converter:nr).toAttribute(r,i.type);this._$Em=e,o==null?this.removeAttribute(n):this.setAttribute(n,o),this._$Em=null}}_$AK(e,r){const i=this.constructor,n=i._$Eh.get(e);if(n!==void 0&&this._$Em!==n){const o=i.getPropertyOptions(n),a=typeof o.converter=="function"?{fromAttribute:o.converter}:o.converter?.fromAttribute!==void 0?o.converter:nr;this._$Em=n;const l=a.fromAttribute(r,o.type);this[n]=l??this._$Ej?.get(n)??l,this._$Em=null}}requestUpdate(e,r,i){if(e!==void 0){const n=this.constructor,o=this[e];if(i??=n.getPropertyOptions(e),!((i.hasChanged??Gr)(o,r)||i.useDefault&&i.reflect&&o===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,i))))return;this.C(e,r,i)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(e,r,{useDefault:i,reflect:n,wrapped:o},a){i&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,a??r??this[e]),o!==!0||a!==void 0)||(this._$AL.has(e)||(this.hasUpdated||i||(r=void 0),this._$AL.set(e,r)),n===!0&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(r){Promise.reject(r)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[n,o]of this._$Ep)this[n]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[n,o]of i){const{wrapped:a}=o,l=this[n];a!==!0||this._$AL.has(n)||l===void 0||this.C(n,void 0,o,l)}}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),this._$EO?.forEach((i=>i.hostUpdate?.())),this.update(r)):this._$EM()}catch(i){throw e=!1,this._$EM(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){this._$EO?.forEach((r=>r.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach((r=>this._$ET(r,this[r]))),this._$EM()}updated(e){}firstUpdated(e){}};pe.elementStyles=[],pe.shadowRootOptions={mode:"open"},pe[je("elementProperties")]=new Map,pe[je("finalized")]=new Map,T1?.({ReactiveElement:pe}),(vt.reactiveElementVersions??=[]).push("2.1.1");const or=globalThis,yt=or.trustedTypes,Jr=yt?yt.createPolicy("lit-html",{createHTML:t=>t}):void 0,Qr="$lit$",T0=`lit$${Math.random().toFixed(9).slice(2)}$`,ei="?"+T0,R1=`<${ei}>`,Y0=document,Ne=()=>Y0.createComment(""),Ie=t=>t===null||typeof t!="object"&&typeof t!="function",ar=Array.isArray,F1=t=>ar(t)||typeof t?.[Symbol.iterator]=="function",sr=`[
2
2
  \f\r]`,Ve=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ti=/-->/g,ri=/>/g,K0=RegExp(`>|${sr}(?:([^\\s"'>=/]+)(${sr}*=${sr}*(?:[^
3
- \f\r"'\`<>=]|("|')|))|$)`,"g"),ii=/'/g,ni=/"/g,oi=/^(?:script|style|textarea|title)$/i,F1=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),J=F1(1),R0=Symbol.for("lit-noChange"),w2=Symbol.for("lit-nothing"),ai=new WeakMap,G0=Y0.createTreeWalker(Y0,129);function si(t,e){if(!ar(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jr!==void 0?Jr.createHTML(e):e}const H1=(t,e)=>{const r=t.length-1,i=[];let n,o=e===2?"<svg>":e===3?"<math>":"",a=Ve;for(let l=0;l<r;l++){const c=t[l];let d,f,p=-1,v=0;for(;v<c.length&&(a.lastIndex=v,f=a.exec(c),f!==null);)v=a.lastIndex,a===Ve?f[1]==="!--"?a=ti:f[1]!==void 0?a=ri:f[2]!==void 0?(oi.test(f[2])&&(n=RegExp("</"+f[2],"g")),a=K0):f[3]!==void 0&&(a=K0):a===K0?f[0]===">"?(a=n??Ve,p=-1):f[1]===void 0?p=-2:(p=a.lastIndex-f[2].length,d=f[1],a=f[3]===void 0?K0:f[3]==='"'?ni:ii):a===ni||a===ii?a=K0:a===ti||a===ri?a=Ve:(a=K0,n=void 0);const b=a===K0&&t[l+1].startsWith("/>")?" ":"";o+=a===Ve?c+R1:p>=0?(i.push(d),c.slice(0,p)+Qr+c.slice(p)+T0+b):c+T0+(p===-2?l:b)}return[si(t,o+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class Ze{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let o=0,a=0;const l=e.length-1,c=this.parts,[d,f]=H1(e,r);if(this.el=Ze.createElement(d,i),G0.currentNode=this.el.content,r===2||r===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=G0.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const p of n.getAttributeNames())if(p.endsWith(Qr)){const v=f[a++],b=n.getAttribute(p).split(T0),x=/([.?@])?(.*)/.exec(v);c.push({type:1,index:o,name:x[2],strings:b,ctor:x[1]==="."?N1:x[1]==="?"?I1:x[1]==="@"?V1:Ct}),n.removeAttribute(p)}else p.startsWith(T0)&&(c.push({type:6,index:o}),n.removeAttribute(p));if(oi.test(n.tagName)){const p=n.textContent.split(T0),v=p.length-1;if(v>0){n.textContent=yt?yt.emptyScript:"";for(let b=0;b<v;b++)n.append(p[b],Ne()),G0.nextNode(),c.push({type:2,index:++o});n.append(p[v],Ne())}}}else if(n.nodeType===8)if(n.data===ei)c.push({type:2,index:o});else{let p=-1;for(;(p=n.data.indexOf(T0,p+1))!==-1;)c.push({type:7,index:o}),p+=T0.length-1}o++}}static createElement(e,r){const i=Y0.createElement("template");return i.innerHTML=e,i}}function he(t,e,r=t,i){if(e===R0)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl;const o=Ie(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=he(t,n._$AS(t,e.values),n,i)),e}let j1=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Y0).importNode(r,!0);G0.currentNode=n;let o=G0.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new fe(o,o.nextSibling,this,e):c.type===1?d=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(d=new Z1(o,this,e)),this._$AV.push(d),c=i[++l]}a!==c?.index&&(o=G0.nextNode(),a++)}return G0.currentNode=Y0,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}};class fe{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=w2,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=he(this,e,r),Ie(e)?e===w2||e==null||e===""?(this._$AH!==w2&&this._$AR(),this._$AH=w2):e!==this._$AH&&e!==R0&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):O1(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==w2&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.T(Y0.createTextNode(e)),this._$AH=e}$(e){const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Ze.createElement(si(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{const o=new j1(n,this),a=o.u(this.options);o.p(r),this.T(a),this._$AH=o}}_$AC(e){let r=ai.get(e.strings);return r===void 0&&ai.set(e.strings,r=new Ze(e)),r}k(e){ar(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const o of e)n===r.length?r.push(i=new fe(this.O(Ne()),this.O(Ne()),this,this.options)):i=r[n],i._$AI(o),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}}class Ct{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,o){this.type=1,this._$AH=w2,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w2}_$AI(e,r=this,i,n){const o=this.strings;let a=!1;if(o===void 0)e=he(this,e,r,0),a=!Ie(e)||e!==this._$AH&&e!==R0,a&&(this._$AH=e);else{const l=e;let c,d;for(e=o[0],c=0;c<o.length-1;c++)d=he(this,l[i+c],r,c),d===R0&&(d=this._$AH[c]),a||=!Ie(d)||d!==this._$AH[c],d===w2?e=w2:e!==w2&&(e+=(d??"")+o[c+1]),this._$AH[c]=d}a&&!n&&this.j(e)}j(e){e===w2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class N1 extends Ct{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===w2?void 0:e}}class I1 extends Ct{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==w2)}}class V1 extends Ct{constructor(e,r,i,n,o){super(e,r,i,n,o),this.type=5}_$AI(e,r=this){if((e=he(this,e,r,0)??w2)===R0)return;const i=this._$AH,n=e===w2&&i!==w2||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==w2&&(i===w2||n);n&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class Z1{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){he(this,e)}}const U1={I:fe},q1=or.litHtmlPolyfillSupport;q1?.(Ze,fe),(or.litHtmlVersions??=[]).push("3.3.1");const W1=(t,e,r)=>{const i=r?.renderBefore??e;let n=i._$litPart$;if(n===void 0){const o=r?.renderBefore??null;i._$litPart$=n=new fe(e.insertBefore(Ne(),o),o,void 0,r??{})}return n._$AI(t),n};const lr=globalThis;let J2=class extends pe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=W1(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return R0}};J2._$litElement$=!0,J2.finalized=!0,lr.litElementHydrateSupport?.({LitElement:J2});const Y1=lr.litElementPolyfillSupport;Y1?.({LitElement:J2}),(lr.litElementVersions??=[]).push("4.2.1");function*wt(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}function H2(t,e,r){return t?e(t):r?.(t)}const K1=`
3
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),ii=/'/g,ni=/"/g,oi=/^(?:script|style|textarea|title)$/i,O1=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),J=O1(1),R0=Symbol.for("lit-noChange"),w2=Symbol.for("lit-nothing"),ai=new WeakMap,G0=Y0.createTreeWalker(Y0,129);function si(t,e){if(!ar(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Jr!==void 0?Jr.createHTML(e):e}const H1=(t,e)=>{const r=t.length-1,i=[];let n,o=e===2?"<svg>":e===3?"<math>":"",a=Ve;for(let l=0;l<r;l++){const c=t[l];let d,f,p=-1,v=0;for(;v<c.length&&(a.lastIndex=v,f=a.exec(c),f!==null);)v=a.lastIndex,a===Ve?f[1]==="!--"?a=ti:f[1]!==void 0?a=ri:f[2]!==void 0?(oi.test(f[2])&&(n=RegExp("</"+f[2],"g")),a=K0):f[3]!==void 0&&(a=K0):a===K0?f[0]===">"?(a=n??Ve,p=-1):f[1]===void 0?p=-2:(p=a.lastIndex-f[2].length,d=f[1],a=f[3]===void 0?K0:f[3]==='"'?ni:ii):a===ni||a===ii?a=K0:a===ti||a===ri?a=Ve:(a=K0,n=void 0);const b=a===K0&&t[l+1].startsWith("/>")?" ":"";o+=a===Ve?c+R1:p>=0?(i.push(d),c.slice(0,p)+Qr+c.slice(p)+T0+b):c+T0+(p===-2?l:b)}return[si(t,o+(t[r]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),i]};class Ze{constructor({strings:e,_$litType$:r},i){let n;this.parts=[];let o=0,a=0;const l=e.length-1,c=this.parts,[d,f]=H1(e,r);if(this.el=Ze.createElement(d,i),G0.currentNode=this.el.content,r===2||r===3){const p=this.el.content.firstChild;p.replaceWith(...p.childNodes)}for(;(n=G0.nextNode())!==null&&c.length<l;){if(n.nodeType===1){if(n.hasAttributes())for(const p of n.getAttributeNames())if(p.endsWith(Qr)){const v=f[a++],b=n.getAttribute(p).split(T0),x=/([.?@])?(.*)/.exec(v);c.push({type:1,index:o,name:x[2],strings:b,ctor:x[1]==="."?N1:x[1]==="?"?I1:x[1]==="@"?V1:Ct}),n.removeAttribute(p)}else p.startsWith(T0)&&(c.push({type:6,index:o}),n.removeAttribute(p));if(oi.test(n.tagName)){const p=n.textContent.split(T0),v=p.length-1;if(v>0){n.textContent=yt?yt.emptyScript:"";for(let b=0;b<v;b++)n.append(p[b],Ne()),G0.nextNode(),c.push({type:2,index:++o});n.append(p[v],Ne())}}}else if(n.nodeType===8)if(n.data===ei)c.push({type:2,index:o});else{let p=-1;for(;(p=n.data.indexOf(T0,p+1))!==-1;)c.push({type:7,index:o}),p+=T0.length-1}o++}}static createElement(e,r){const i=Y0.createElement("template");return i.innerHTML=e,i}}function he(t,e,r=t,i){if(e===R0)return e;let n=i!==void 0?r._$Co?.[i]:r._$Cl;const o=Ie(e)?void 0:e._$litDirective$;return n?.constructor!==o&&(n?._$AO?.(!1),o===void 0?n=void 0:(n=new o(t),n._$AT(t,r,i)),i!==void 0?(r._$Co??=[])[i]=n:r._$Cl=n),n!==void 0&&(e=he(t,n._$AS(t,e.values),n,i)),e}let j1=class{constructor(e,r){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=r}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:r},parts:i}=this._$AD,n=(e?.creationScope??Y0).importNode(r,!0);G0.currentNode=n;let o=G0.nextNode(),a=0,l=0,c=i[0];for(;c!==void 0;){if(a===c.index){let d;c.type===2?d=new fe(o,o.nextSibling,this,e):c.type===1?d=new c.ctor(o,c.name,c.strings,this,e):c.type===6&&(d=new Z1(o,this,e)),this._$AV.push(d),c=i[++l]}a!==c?.index&&(o=G0.nextNode(),a++)}return G0.currentNode=Y0,n}p(e){let r=0;for(const i of this._$AV)i!==void 0&&(i.strings!==void 0?(i._$AI(e,i,r),r+=i.strings.length-2):i._$AI(e[r])),r++}};class fe{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,r,i,n){this.type=2,this._$AH=w2,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=i,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&e?.nodeType===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=he(this,e,r),Ie(e)?e===w2||e==null||e===""?(this._$AH!==w2&&this._$AR(),this._$AH=w2):e!==this._$AH&&e!==R0&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):F1(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==w2&&Ie(this._$AH)?this._$AA.nextSibling.data=e:this.T(Y0.createTextNode(e)),this._$AH=e}$(e){const{values:r,_$litType$:i}=e,n=typeof i=="number"?this._$AC(e):(i.el===void 0&&(i.el=Ze.createElement(si(i.h,i.h[0]),this.options)),i);if(this._$AH?._$AD===n)this._$AH.p(r);else{const o=new j1(n,this),a=o.u(this.options);o.p(r),this.T(a),this._$AH=o}}_$AC(e){let r=ai.get(e.strings);return r===void 0&&ai.set(e.strings,r=new Ze(e)),r}k(e){ar(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let i,n=0;for(const o of e)n===r.length?r.push(i=new fe(this.O(Ne()),this.O(Ne()),this,this.options)):i=r[n],i._$AI(o),n++;n<r.length&&(this._$AR(i&&i._$AB.nextSibling,n),r.length=n)}_$AR(e=this._$AA.nextSibling,r){for(this._$AP?.(!1,!0,r);e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){this._$AM===void 0&&(this._$Cv=e,this._$AP?.(e))}}class Ct{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,i,n,o){this.type=1,this._$AH=w2,this._$AN=void 0,this.element=e,this.name=r,this._$AM=n,this.options=o,i.length>2||i[0]!==""||i[1]!==""?(this._$AH=Array(i.length-1).fill(new String),this.strings=i):this._$AH=w2}_$AI(e,r=this,i,n){const o=this.strings;let a=!1;if(o===void 0)e=he(this,e,r,0),a=!Ie(e)||e!==this._$AH&&e!==R0,a&&(this._$AH=e);else{const l=e;let c,d;for(e=o[0],c=0;c<o.length-1;c++)d=he(this,l[i+c],r,c),d===R0&&(d=this._$AH[c]),a||=!Ie(d)||d!==this._$AH[c],d===w2?e=w2:e!==w2&&(e+=(d??"")+o[c+1]),this._$AH[c]=d}a&&!n&&this.j(e)}j(e){e===w2?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class N1 extends Ct{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===w2?void 0:e}}class I1 extends Ct{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==w2)}}class V1 extends Ct{constructor(e,r,i,n,o){super(e,r,i,n,o),this.type=5}_$AI(e,r=this){if((e=he(this,e,r,0)??w2)===R0)return;const i=this._$AH,n=e===w2&&i!==w2||e.capture!==i.capture||e.once!==i.once||e.passive!==i.passive,o=e!==w2&&(i===w2||n);n&&this.element.removeEventListener(this.name,this,i),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class Z1{constructor(e,r,i){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=i}get _$AU(){return this._$AM._$AU}_$AI(e){he(this,e)}}const U1={I:fe},q1=or.litHtmlPolyfillSupport;q1?.(Ze,fe),(or.litHtmlVersions??=[]).push("3.3.1");const W1=(t,e,r)=>{const i=r?.renderBefore??e;let n=i._$litPart$;if(n===void 0){const o=r?.renderBefore??null;i._$litPart$=n=new fe(e.insertBefore(Ne(),o),o,void 0,r??{})}return n._$AI(t),n};const lr=globalThis;let J2=class extends pe{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=W1(r,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return R0}};J2._$litElement$=!0,J2.finalized=!0,lr.litElementHydrateSupport?.({LitElement:J2});const Y1=lr.litElementPolyfillSupport;Y1?.({LitElement:J2}),(lr.litElementVersions??=[]).push("4.2.1");function*wt(t,e){if(t!==void 0){let r=0;for(const i of t)yield e(i,r++)}}function H2(t,e,r){return t?e(t):r?.(t)}const K1=`
4
4
  :host {
5
5
  display: flex;
6
6
  box-sizing: border-box;
@@ -564,8 +564,8 @@ input {
564
564
  <slot name="filter"></slot>
565
565
  </div>
566
566
  </details>`)}
567
- `}}customElements.define("eox-itemfilter-expandcontainer",G1);function $0(t){return Array.isArray?Array.isArray(t):ui(t)==="[object Array]"}function X1(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function J1(t){return t==null?"":X1(t)}function m0(t){return typeof t=="string"}function ci(t){return typeof t=="number"}function Q1(t){return t===!0||t===!1||en(t)&&ui(t)=="[object Boolean]"}function di(t){return typeof t=="object"}function en(t){return di(t)&&t!==null}function t0(t){return t!=null}function dr(t){return!t.trim().length}function ui(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const tn="Incorrect 'index' type",rn=t=>`Invalid value for key ${t}`,nn=t=>`Pattern length exceeds max of ${t}.`,on=t=>`Missing ${t} property in key`,an=t=>`Property 'weight' in key '${t}' must be a positive integer`,pi=Object.prototype.hasOwnProperty;class sn{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(i=>{let n=hi(i);this._keys.push(n),this._keyMap[n.id]=n,r+=n.weight}),this._keys.forEach(i=>{i.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function hi(t){let e=null,r=null,i=null,n=1,o=null;if(m0(t)||$0(t))i=t,e=fi(t),r=ur(t);else{if(!pi.call(t,"name"))throw new Error(on("name"));const a=t.name;if(i=a,pi.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(an(a));e=fi(a),r=ur(a),o=t.getFn}return{path:e,id:r,weight:n,src:i,getFn:o}}function fi(t){return $0(t)?t:t.split(".")}function ur(t){return $0(t)?t.join("."):t}function ln(t,e){let r=[],i=!1;const n=(o,a,l)=>{if(t0(o))if(!a[l])r.push(o);else{let c=a[l];const d=o[c];if(!t0(d))return;if(l===a.length-1&&(m0(d)||ci(d)||Q1(d)))r.push(J1(d));else if($0(d)){i=!0;for(let f=0,p=d.length;f<p;f+=1)n(d[f],a,l+1)}else a.length&&n(d,a,l+1)}};return n(t,m0(e)?e.split("."):e,0),i?r:r[0]}var r2={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:ln,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const cn=/[^ ]+/g;function dn(t=1,e=3){const r=new Map,i=Math.pow(10,e);return{get(n){const o=n.match(cn).length;if(r.has(o))return r.get(o);const a=1/Math.pow(o,.5*t),l=parseFloat(Math.round(a*i)/i);return r.set(o,l),l},clear(){r.clear()}}}class pr{constructor({getFn:e=r2.getFn,fieldNormWeight:r=r2.fieldNormWeight}={}){this.norm=dn(r,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((r,i)=>{this._keysMap[r.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,m0(this.docs[0])?this.docs.forEach((e,r)=>{this._addString(e,r)}):this.docs.forEach((e,r)=>{this._addObject(e,r)}),this.norm.clear())}add(e){const r=this.size();m0(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,i=this.size();r<i;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!t0(e)||dr(e))return;let i={v:e,i:r,n:this.norm.get(e)};this.records.push(i)}_addObject(e,r){let i={i:r,$:{}};this.keys.forEach((n,o)=>{let a=n.getFn?n.getFn(e):this.getFn(e,n.path);if(t0(a)){if($0(a)){let l=[];const c=[{nestedArrIndex:-1,value:a}];for(;c.length;){const{nestedArrIndex:d,value:f}=c.pop();if(t0(f))if(m0(f)&&!dr(f)){let p={v:f,i:d,n:this.norm.get(f)};l.push(p)}else $0(f)&&f.forEach((p,v)=>{c.push({nestedArrIndex:v,value:p})})}i.$[o]=l}else if(m0(a)&&!dr(a)){let l={v:a,n:this.norm.get(a)};i.$[o]=l}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function mi(t,e,{getFn:r=r2.getFn,fieldNormWeight:i=r2.fieldNormWeight}={}){const n=new pr({getFn:r,fieldNormWeight:i});return n.setKeys(t.map(hi)),n.setSources(e),n.create(),n}function un(t,{getFn:e=r2.getFn,fieldNormWeight:r=r2.fieldNormWeight}={}){const{keys:i,records:n}=t,o=new pr({getFn:e,fieldNormWeight:r});return o.setKeys(i),o.setIndexRecords(n),o}function xt(t,{errors:e=0,currentLocation:r=0,expectedLocation:i=0,distance:n=r2.distance,ignoreLocation:o=r2.ignoreLocation}={}){const a=e/t.length;if(o)return a;const l=Math.abs(i-r);return n?a+l/n:l?1:a}function pn(t=[],e=r2.minMatchCharLength){let r=[],i=-1,n=-1,o=0;for(let a=t.length;o<a;o+=1){let l=t[o];l&&i===-1?i=o:!l&&i!==-1&&(n=o-1,n-i+1>=e&&r.push([i,n]),i=-1)}return t[o-1]&&o-i>=e&&r.push([i,o-1]),r}const X0=32;function hn(t,e,r,{location:i=r2.location,distance:n=r2.distance,threshold:o=r2.threshold,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,includeMatches:c=r2.includeMatches,ignoreLocation:d=r2.ignoreLocation}={}){if(e.length>X0)throw new Error(nn(X0));const f=e.length,p=t.length,v=Math.max(0,Math.min(i,p));let b=o,x=v;const k=l>1||c,P=k?Array(p):[];let $;for(;($=t.indexOf(e,x))>-1;){let G=xt(e,{currentLocation:$,expectedLocation:v,distance:n,ignoreLocation:d});if(b=Math.min(G,b),x=$+f,k){let a2=0;for(;a2<f;)P[$+a2]=1,a2+=1}}x=-1;let I=[],Z=1,U=f+p;const S=1<<f-1;for(let G=0;G<f;G+=1){let a2=0,d2=U;for(;a2<d2;)xt(e,{errors:G,currentLocation:v+d2,expectedLocation:v,distance:n,ignoreLocation:d})<=b?a2=d2:U=d2,d2=Math.floor((U-a2)/2+a2);U=d2;let s2=Math.max(1,v-d2+1),q=a?p:Math.min(v+d2,p)+f,l2=Array(q+2);l2[q+1]=(1<<G)-1;for(let D=q;D>=s2;D-=1){let z=D-1,M=r[t.charAt(z)];if(k&&(P[z]=+!!M),l2[D]=(l2[D+1]<<1|1)&M,G&&(l2[D]|=(I[D+1]|I[D])<<1|1|I[D+1]),l2[D]&S&&(Z=xt(e,{errors:G,currentLocation:z,expectedLocation:v,distance:n,ignoreLocation:d}),Z<=b)){if(b=Z,x=z,x<=v)break;s2=Math.max(1,2*v-x)}}if(xt(e,{errors:G+1,currentLocation:v,expectedLocation:v,distance:n,ignoreLocation:d})>b)break;I=l2}const K={isMatch:x>=0,score:Math.max(.001,Z)};if(k){const G=pn(P,l);G.length?c&&(K.indices=G):K.isMatch=!1}return K}function fn(t){let e={};for(let r=0,i=t.length;r<i;r+=1){const n=t.charAt(r);e[n]=(e[n]||0)|1<<i-r-1}return e}const kt=String.prototype.normalize?(t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(t=>t);class gi{constructor(e,{location:r=r2.location,threshold:i=r2.threshold,distance:n=r2.distance,includeMatches:o=r2.includeMatches,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,isCaseSensitive:c=r2.isCaseSensitive,ignoreDiacritics:d=r2.ignoreDiacritics,ignoreLocation:f=r2.ignoreLocation}={}){if(this.options={location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:f},e=c?e:e.toLowerCase(),e=d?kt(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const p=(b,x)=>{this.chunks.push({pattern:b,alphabet:fn(b),startIndex:x})},v=this.pattern.length;if(v>X0){let b=0;const x=v%X0,k=v-x;for(;b<k;)p(this.pattern.substr(b,X0),b),b+=X0;if(x){const P=v-X0;p(this.pattern.substr(P),P)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n}=this.options;if(e=r?e:e.toLowerCase(),e=i?kt(e):e,this.pattern===e){let k={isMatch:!0,score:0};return n&&(k.indices=[[0,e.length-1]]),k}const{location:o,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,ignoreLocation:f}=this.options;let p=[],v=0,b=!1;this.chunks.forEach(({pattern:k,alphabet:P,startIndex:$})=>{const{isMatch:I,score:Z,indices:U}=hn(e,k,P,{location:o+$,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,includeMatches:n,ignoreLocation:f});I&&(b=!0),v+=Z,I&&U&&(p=[...p,...U])});let x={isMatch:b,score:b?v/this.chunks.length:1};return b&&n&&(x.indices=p),x}}class O0{constructor(e){this.pattern=e}static isMultiMatch(e){return bi(e,this.multiRegex)}static isSingleMatch(e){return bi(e,this.singleRegex)}search(){}}function bi(t,e){const r=t.match(e);return r?r[1]:null}class mn extends O0{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const r=e===this.pattern;return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class gn extends O0{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class bn extends O0{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const r=e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class vn extends O0{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const r=!e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class yn extends O0{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const r=e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Cn extends O0{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const r=!e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class vi extends O0{constructor(e,{location:r=r2.location,threshold:i=r2.threshold,distance:n=r2.distance,includeMatches:o=r2.includeMatches,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,isCaseSensitive:c=r2.isCaseSensitive,ignoreDiacritics:d=r2.ignoreDiacritics,ignoreLocation:f=r2.ignoreLocation}={}){super(e),this._bitapSearch=new gi(e,{location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class yi extends O0{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,i;const n=[],o=this.pattern.length;for(;(i=e.indexOf(this.pattern,r))>-1;)r=i+o,n.push([i,r-1]);const a=!!n.length;return{isMatch:a,score:a?0:1,indices:n}}}const hr=[mn,yi,bn,vn,Cn,yn,gn,vi],Ci=hr.length,wn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,xn="|";function kn(t,e={}){return t.split(xn).map(r=>{let i=r.trim().split(wn).filter(o=>o&&!!o.trim()),n=[];for(let o=0,a=i.length;o<a;o+=1){const l=i[o];let c=!1,d=-1;for(;!c&&++d<Ci;){const f=hr[d];let p=f.isMultiMatch(l);p&&(n.push(new f(p,e)),c=!0)}if(!c)for(d=-1;++d<Ci;){const f=hr[d];let p=f.isSingleMatch(l);if(p){n.push(new f(p,e));break}}}return n})}const _n=new Set([vi.type,yi.type]);class Ln{constructor(e,{isCaseSensitive:r=r2.isCaseSensitive,ignoreDiacritics:i=r2.ignoreDiacritics,includeMatches:n=r2.includeMatches,minMatchCharLength:o=r2.minMatchCharLength,ignoreLocation:a=r2.ignoreLocation,findAllMatches:l=r2.findAllMatches,location:c=r2.location,threshold:d=r2.threshold,distance:f=r2.distance}={}){this.query=null,this.options={isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:o,findAllMatches:l,ignoreLocation:a,location:c,threshold:d,distance:f},e=r?e:e.toLowerCase(),e=i?kt(e):e,this.pattern=e,this.query=kn(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:n,ignoreDiacritics:o}=this.options;e=n?e:e.toLowerCase(),e=o?kt(e):e;let a=0,l=[],c=0;for(let d=0,f=r.length;d<f;d+=1){const p=r[d];l.length=0,a=0;for(let v=0,b=p.length;v<b;v+=1){const x=p[v],{isMatch:k,indices:P,score:$}=x.search(e);if(k){if(a+=1,c+=$,i){const I=x.constructor.type;_n.has(I)?l=[...l,...P]:l.push(P)}}else{c=0,a=0,l.length=0;break}}if(a){let v={isMatch:!0,score:c/a};return i&&(v.indices=l),v}}return{isMatch:!1,score:1}}}const fr=[];function $n(...t){fr.push(...t)}function mr(t,e){for(let r=0,i=fr.length;r<i;r+=1){let n=fr[r];if(n.condition(t,e))return new n(t,e)}return new gi(t,e)}const _t={AND:"$and",OR:"$or"},gr={PATH:"$path",PATTERN:"$val"},br=t=>!!(t[_t.AND]||t[_t.OR]),An=t=>!!t[gr.PATH],Mn=t=>!$0(t)&&di(t)&&!br(t),wi=t=>({[_t.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function xi(t,e,{auto:r=!0}={}){const i=n=>{let o=Object.keys(n);const a=An(n);if(!a&&o.length>1&&!br(n))return i(wi(n));if(Mn(n)){const c=a?n[gr.PATH]:o[0],d=a?n[gr.PATTERN]:n[c];if(!m0(d))throw new Error(rn(c));const f={keyId:ur(c),pattern:d};return r&&(f.searcher=mr(d,e)),f}let l={children:[],operator:o[0]};return o.forEach(c=>{const d=n[c];$0(d)&&d.forEach(f=>{l.children.push(i(f))})}),l};return br(t)||(t=wi(t)),i(t)}function zn(t,{ignoreFieldNorm:e=r2.ignoreFieldNorm}){t.forEach(r=>{let i=1;r.matches.forEach(({key:n,norm:o,score:a})=>{const l=n?n.weight:null;i*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:o))}),r.score=i})}function Sn(t,e){const r=t.matches;e.matches=[],t0(r)&&r.forEach(i=>{if(!t0(i.indices)||!i.indices.length)return;const{indices:n,value:o}=i;let a={indices:n,value:o};i.key&&(a.key=i.key.src),i.idx>-1&&(a.refIndex=i.idx),e.matches.push(a)})}function En(t,e){e.score=t.score}function Dn(t,e,{includeMatches:r=r2.includeMatches,includeScore:i=r2.includeScore}={}){const n=[];return r&&n.push(Sn),i&&n.push(En),t.map(o=>{const{idx:a}=o,l={item:e[a],refIndex:a};return n.length&&n.forEach(c=>{c(o,l)}),l})}class F0{constructor(e,r={},i){this.options={...r2,...r},this.options.useExtendedSearch,this._keyStore=new sn(this.options.keys),this.setCollection(e,i)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof pr))throw new Error(tn);this._myIndex=r||mi(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){t0(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let i=0,n=this._docs.length;i<n;i+=1){const o=this._docs[i];e(o,i)&&(this.removeAt(i),i-=1,n-=1,r.push(o))}return r}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:r=-1}={}){const{includeMatches:i,includeScore:n,shouldSort:o,sortFn:a,ignoreFieldNorm:l}=this.options;let c=m0(e)?m0(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return zn(c,{ignoreFieldNorm:l}),o&&c.sort(a),ci(r)&&r>-1&&(c=c.slice(0,r)),Dn(c,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){const r=mr(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach(({v:o,i:a,n:l})=>{if(!t0(o))return;const{isMatch:c,score:d,indices:f}=r.searchIn(o);c&&n.push({item:o,idx:a,matches:[{score:d,value:o,norm:l,indices:f}]})}),n}_searchLogical(e){const r=xi(e,this.options),i=(l,c,d)=>{if(!l.children){const{keyId:p,searcher:v}=l,b=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(c,p),searcher:v});return b&&b.length?[{idx:d,item:c,matches:b}]:[]}const f=[];for(let p=0,v=l.children.length;p<v;p+=1){const b=l.children[p],x=i(b,c,d);if(x.length)f.push(...x);else if(l.operator===_t.AND)return[]}return f},n=this._myIndex.records,o={},a=[];return n.forEach(({$:l,i:c})=>{if(t0(l)){let d=i(r,l,c);d.length&&(o[c]||(o[c]={idx:c,item:l,matches:[]},a.push(o[c])),d.forEach(({matches:f})=>{o[c].matches.push(...f)}))}}),a}_searchObjectList(e){const r=mr(e,this.options),{keys:i,records:n}=this._myIndex,o=[];return n.forEach(({$:a,i:l})=>{if(!t0(a))return;let c=[];i.forEach((d,f)=>{c.push(...this._findMatches({key:d,value:a[f],searcher:r}))}),c.length&&o.push({idx:l,item:a,matches:c})}),o}_findMatches({key:e,value:r,searcher:i}){if(!t0(r))return[];let n=[];if($0(r))r.forEach(({v:o,i:a,n:l})=>{if(!t0(o))return;const{isMatch:c,score:d,indices:f}=i.searchIn(o);c&&n.push({score:d,key:e,value:o,idx:a,norm:l,indices:f})});else{const{v:o,n:a}=r,{isMatch:l,score:c,indices:d}=i.searchIn(o);l&&n.push({score:c,key:e,value:o,norm:a,indices:d})}return n}}F0.version="7.1.0",F0.createIndex=mi,F0.parseIndex=un,F0.config=r2,F0.parseQuery=xi,$n(Ln);function ki(t,e){const r=new F0(e.filterProperties,{keys:["title"]});if(!(t.target instanceof HTMLInputElement))return;const i=t.target.value,o=r.search(i).map(a=>a.item.key||a.item.keys.join("|"));Object.keys(e.filters).forEach(a=>{e.querySelector(`[data-details="${a}"]`).parentElement.style.display=o.includes(a)||!i?"":"none"})}function Bn(t,e){if(!(t.target instanceof HTMLElement))return;const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const vr=Math.min,me=Math.max,Lt=Math.round,$t=Math.floor,g0=t=>({x:t,y:t});function _i(t){return t.split("-")[0]}function Pn(t){return t.split("-")[1]}function Tn(t){return t==="x"?"y":"x"}function Rn(t){return t==="y"?"height":"width"}const On=new Set(["top","bottom"]);function Li(t){return On.has(_i(t))?"y":"x"}function Fn(t){return Tn(Li(t))}function $i(t){const{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Ai(t,e,r){let{reference:i,floating:n}=t;const o=Li(e),a=Fn(e),l=Rn(a),c=_i(e),d=o==="y",f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,v=i[l]/2-n[l]/2;let b;switch(c){case"top":b={x:f,y:i.y-n.height};break;case"bottom":b={x:f,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:p};break;case"left":b={x:i.x-n.width,y:p};break;default:b={x:i.x,y:i.y}}switch(Pn(e)){case"start":b[a]-=v*(r&&d?-1:1);break;case"end":b[a]+=v*(r&&d?-1:1);break}return b}const Hn=async(t,e,r)=>{const{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:p}=Ai(d,i,c),v=i,b={},x=0;for(let k=0;k<l.length;k++){const{name:P,fn:$}=l[k],{x:I,y:Z,data:U,reset:S}=await $({x:f,y:p,initialPlacement:i,placement:v,strategy:n,middlewareData:b,rects:d,platform:a,elements:{reference:t,floating:e}});f=I??f,p=Z??p,b={...b,[P]:{...b[P],...U}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(d=S.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):S.rects),{x:f,y:p}=Ai(d,v,c)),k=-1)}return{x:f,y:p,placement:v,strategy:n,middlewareData:b}};function At(){return typeof window<"u"}function ge(t){return Mi(t)?(t.nodeName||"").toLowerCase():"#document"}function r0(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function b0(t){var e;return(e=(Mi(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mi(t){return At()?t instanceof Node||t instanceof r0(t).Node:!1}function h0(t){return At()?t instanceof Element||t instanceof r0(t).Element:!1}function v0(t){return At()?t instanceof HTMLElement||t instanceof r0(t).HTMLElement:!1}function zi(t){return!At()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof r0(t).ShadowRoot}const jn=new Set(["inline","contents"]);function Ue(t){const{overflow:e,overflowX:r,overflowY:i,display:n}=f0(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!jn.has(n)}const Nn=new Set(["table","td","th"]);function In(t){return Nn.has(ge(t))}const Vn=[":popover-open",":modal"];function Mt(t){return Vn.some(e=>{try{return t.matches(e)}catch{return!1}})}const Zn=["transform","translate","scale","rotate","perspective"],Un=["transform","translate","scale","rotate","perspective","filter"],qn=["paint","layout","strict","content"];function yr(t){const e=Cr(),r=h0(t)?f0(t):t;return Zn.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||Un.some(i=>(r.willChange||"").includes(i))||qn.some(i=>(r.contain||"").includes(i))}function Wn(t){let e=H0(t);for(;v0(e)&&!be(e);){if(yr(e))return e;if(Mt(e))return null;e=H0(e)}return null}function Cr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Yn=new Set(["html","body","#document"]);function be(t){return Yn.has(ge(t))}function f0(t){return r0(t).getComputedStyle(t)}function zt(t){return h0(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function H0(t){if(ge(t)==="html")return t;const e=t.assignedSlot||t.parentNode||zi(t)&&t.host||b0(t);return zi(e)?e.host:e}function Si(t){const e=H0(t);return be(e)?t.ownerDocument?t.ownerDocument.body:t.body:v0(e)&&Ue(e)?e:Si(e)}function qe(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Si(t),o=n===((i=t.ownerDocument)==null?void 0:i.body),a=r0(n);if(o){const l=wr(a);return e.concat(a,a.visualViewport||[],Ue(n)?n:[],l&&r?qe(l):[])}return e.concat(n,qe(n,[],r))}function wr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ei(t){const e=f0(t);let r=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=v0(t),o=n?t.offsetWidth:r,a=n?t.offsetHeight:i,l=Lt(r)!==o||Lt(i)!==a;return l&&(r=o,i=a),{width:r,height:i,$:l}}function xr(t){return h0(t)?t:t.contextElement}function ve(t){const e=xr(t);if(!v0(e))return g0(1);const r=e.getBoundingClientRect(),{width:i,height:n,$:o}=Ei(e);let a=(o?Lt(r.width):r.width)/i,l=(o?Lt(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Kn=g0(0);function Di(t){const e=r0(t);return!Cr()||!e.visualViewport?Kn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gn(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==r0(t)?!1:e}function J0(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);const n=t.getBoundingClientRect(),o=xr(t);let a=g0(1);e&&(i?h0(i)&&(a=ve(i)):a=ve(t));const l=Gn(o,r,i)?Di(o):g0(0);let c=(n.left+l.x)/a.x,d=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(o){const v=r0(o),b=i&&h0(i)?r0(i):i;let x=v,k=wr(x);for(;k&&i&&b!==x;){const P=ve(k),$=k.getBoundingClientRect(),I=f0(k),Z=$.left+(k.clientLeft+parseFloat(I.paddingLeft))*P.x,U=$.top+(k.clientTop+parseFloat(I.paddingTop))*P.y;c*=P.x,d*=P.y,f*=P.x,p*=P.y,c+=Z,d+=U,x=r0(k),k=wr(x)}}return $i({width:f,height:p,x:c,y:d})}function St(t,e){const r=zt(t).scrollLeft;return e?e.left+r:J0(b0(t)).left+r}function Bi(t,e){const r=t.getBoundingClientRect(),i=r.left+e.scrollLeft-St(t,r),n=r.top+e.scrollTop;return{x:i,y:n}}function Xn(t){let{elements:e,rect:r,offsetParent:i,strategy:n}=t;const o=n==="fixed",a=b0(i),l=e?Mt(e.floating):!1;if(i===a||l&&o)return r;let c={scrollLeft:0,scrollTop:0},d=g0(1);const f=g0(0),p=v0(i);if((p||!p&&!o)&&((ge(i)!=="body"||Ue(a))&&(c=zt(i)),v0(i))){const b=J0(i);d=ve(i),f.x=b.x+i.clientLeft,f.y=b.y+i.clientTop}const v=a&&!p&&!o?Bi(a,c):g0(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+f.x+v.x,y:r.y*d.y-c.scrollTop*d.y+f.y+v.y}}function Jn(t){return Array.from(t.getClientRects())}function Qn(t){const e=b0(t),r=zt(t),i=t.ownerDocument.body,n=me(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=me(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-r.scrollLeft+St(t);const l=-r.scrollTop;return f0(i).direction==="rtl"&&(a+=me(e.clientWidth,i.clientWidth)-n),{width:n,height:o,x:a,y:l}}const Pi=25;function eo(t,e){const r=r0(t),i=b0(t),n=r.visualViewport;let o=i.clientWidth,a=i.clientHeight,l=0,c=0;if(n){o=n.width,a=n.height;const f=Cr();(!f||f&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}const d=St(i);if(d<=0){const f=i.ownerDocument,p=f.body,v=getComputedStyle(p),b=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,x=Math.abs(i.clientWidth-p.clientWidth-b);x<=Pi&&(o-=x)}else d<=Pi&&(o+=d);return{width:o,height:a,x:l,y:c}}const to=new Set(["absolute","fixed"]);function ro(t,e){const r=J0(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,o=v0(t)?ve(t):g0(1),a=t.clientWidth*o.x,l=t.clientHeight*o.y,c=n*o.x,d=i*o.y;return{width:a,height:l,x:c,y:d}}function Ti(t,e,r){let i;if(e==="viewport")i=eo(t,r);else if(e==="document")i=Qn(b0(t));else if(h0(e))i=ro(e,r);else{const n=Di(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return $i(i)}function Ri(t,e){const r=H0(t);return r===e||!h0(r)||be(r)?!1:f0(r).position==="fixed"||Ri(r,e)}function io(t,e){const r=e.get(t);if(r)return r;let i=qe(t,[],!1).filter(l=>h0(l)&&ge(l)!=="body"),n=null;const o=f0(t).position==="fixed";let a=o?H0(t):t;for(;h0(a)&&!be(a);){const l=f0(a),c=yr(a);!c&&l.position==="fixed"&&(n=null),(o?!c&&!n:!c&&l.position==="static"&&!!n&&to.has(n.position)||Ue(a)&&!c&&Ri(t,a))?i=i.filter(f=>f!==a):n=l,a=H0(a)}return e.set(t,i),i}function no(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t;const a=[...r==="clippingAncestors"?Mt(e)?[]:io(e,this._c):[].concat(r),i],l=a[0],c=a.reduce((d,f)=>{const p=Ti(e,f,n);return d.top=me(p.top,d.top),d.right=vr(p.right,d.right),d.bottom=vr(p.bottom,d.bottom),d.left=me(p.left,d.left),d},Ti(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function oo(t){const{width:e,height:r}=Ei(t);return{width:e,height:r}}function ao(t,e,r){const i=v0(e),n=b0(e),o=r==="fixed",a=J0(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const c=g0(0);function d(){c.x=St(n)}if(i||!i&&!o)if((ge(e)!=="body"||Ue(n))&&(l=zt(e)),i){const b=J0(e,!0,o,e);c.x=b.x+e.clientLeft,c.y=b.y+e.clientTop}else n&&d();o&&!i&&n&&d();const f=n&&!i&&!o?Bi(n,l):g0(0),p=a.left+l.scrollLeft-c.x-f.x,v=a.top+l.scrollTop-c.y-f.y;return{x:p,y:v,width:a.width,height:a.height}}function kr(t){return f0(t).position==="static"}function Oi(t,e){if(!v0(t)||f0(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return b0(t)===r&&(r=r.ownerDocument.body),r}function Fi(t,e){const r=r0(t);if(Mt(t))return r;if(!v0(t)){let n=H0(t);for(;n&&!be(n);){if(h0(n)&&!kr(n))return n;n=H0(n)}return r}let i=Oi(t,e);for(;i&&In(i)&&kr(i);)i=Oi(i,e);return i&&be(i)&&kr(i)&&!yr(i)?r:i||Wn(t)||r}const so=async function(t){const e=this.getOffsetParent||Fi,r=this.getDimensions,i=await r(t.floating);return{reference:ao(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function lo(t){return f0(t).direction==="rtl"}const co={convertOffsetParentRelativeRectToViewportRelativeRect:Xn,getDocumentElement:b0,getClippingRect:no,getOffsetParent:Fi,getElementRects:so,getClientRects:Jn,getDimensions:oo,getScale:ve,isElement:h0,isRTL:lo};function Hi(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function uo(t,e){let r=null,i;const n=b0(t);function o(){var l;clearTimeout(i),(l=r)==null||l.disconnect(),r=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const d=t.getBoundingClientRect(),{left:f,top:p,width:v,height:b}=d;if(l||e(),!v||!b)return;const x=$t(p),k=$t(n.clientWidth-(f+v)),P=$t(n.clientHeight-(p+b)),$=$t(f),Z={rootMargin:-x+"px "+-k+"px "+-P+"px "+-$+"px",threshold:me(0,vr(1,c))||1};let U=!0;function S(K){const G=K[0].intersectionRatio;if(G!==c){if(!U)return a();G?a(!1,G):i=setTimeout(()=>{a(!1,1e-7)},1e3)}G===1&&!Hi(d,t.getBoundingClientRect())&&a(),U=!1}try{r=new IntersectionObserver(S,{...Z,root:n.ownerDocument})}catch{r=new IntersectionObserver(S,Z)}r.observe(t)}return a(!0),o}function po(t,e,r,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,d=xr(t),f=n||o?[...d?qe(d):[],...qe(e)]:[];f.forEach($=>{n&&$.addEventListener("scroll",r,{passive:!0}),o&&$.addEventListener("resize",r)});const p=d&&l?uo(d,r):null;let v=-1,b=null;a&&(b=new ResizeObserver($=>{let[I]=$;I&&I.target===d&&b&&(b.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var Z;(Z=b)==null||Z.observe(e)})),r()}),d&&!c&&b.observe(d),b.observe(e));let x,k=c?J0(t):null;c&&P();function P(){const $=J0(t);k&&!Hi(k,$)&&r(),k=$,x=requestAnimationFrame(P)}return r(),()=>{var $;f.forEach(I=>{n&&I.removeEventListener("scroll",r),o&&I.removeEventListener("resize",r)}),p?.(),($=b)==null||$.disconnect(),b=null,c&&cancelAnimationFrame(x)}}const ho=(t,e,r)=>{const i=new Map,n={platform:co,...r},o={...n.platform,_c:i};return Hn(t,e,{...n,platform:o})};function fo(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return po(e,r,()=>{r.matches(":popover-open")&&ho(e,r,{strategy:"fixed"}).then(({x:n,y:o})=>{Object.assign(r.style,{left:`${n}px`,top:`${o}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function ji(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",ki({target:{value:""}},t)}function mo(t,e){e.inlineMode&&t.stopPropagation()}function go(t){t.inlineMode&&(t.showDropdown=!0)}function bo(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function vo(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(ji(e),e.showDropdown=!1)}function yo(t,e){e.inlineMode&&t.target instanceof HTMLElement&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(ji(e),e.showDropdown=!1)}const A0=11102230246251565e-32,I2=134217729,Co=(3+8*A0)*A0;function _r(t,e,r,i,n){let o,a,l,c,d=e[0],f=i[0],p=0,v=0;f>d==f>-d?(o=d,d=e[++p]):(o=f,f=i[++v]);let b=0;if(p<t&&v<r)for(f>d==f>-d?(a=d+o,l=o-(a-d),d=e[++p]):(a=f+o,l=o-(a-f),f=i[++v]),o=a,l!==0&&(n[b++]=l);p<t&&v<r;)f>d==f>-d?(a=o+d,c=a-o,l=o-(a-c)+(d-c),d=e[++p]):(a=o+f,c=a-o,l=o-(a-c)+(f-c),f=i[++v]),o=a,l!==0&&(n[b++]=l);for(;p<t;)a=o+d,c=a-o,l=o-(a-c)+(d-c),d=e[++p],o=a,l!==0&&(n[b++]=l);for(;v<r;)a=o+f,c=a-o,l=o-(a-c)+(f-c),f=i[++v],o=a,l!==0&&(n[b++]=l);return(o!==0||b===0)&&(n[b++]=o),b}function wo(t,e){let r=e[0];for(let i=1;i<t;i++)r+=e[i];return r}function We(t){return new Float64Array(t)}const xo=(3+16*A0)*A0,ko=(2+12*A0)*A0,_o=(9+64*A0)*A0*A0,ye=We(4),Ni=We(8),Ii=We(12),Vi=We(16),X2=We(4);function Lo(t,e,r,i,n,o,a){let l,c,d,f,p,v,b,x,k,P,$,I,Z,U,S,K,G,a2;const d2=t-n,s2=r-n,q=e-o,l2=i-o;U=d2*l2,v=I2*d2,b=v-(v-d2),x=d2-b,v=I2*l2,k=v-(v-l2),P=l2-k,S=x*P-(U-b*k-x*k-b*P),K=q*s2,v=I2*q,b=v-(v-q),x=q-b,v=I2*s2,k=v-(v-s2),P=s2-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,ye[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,ye[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,ye[2]=I-(a2-p)+($-p),ye[3]=a2;let y2=wo(4,ye),D=ko*a;if(y2>=D||-y2>=D||(p=t-d2,l=t-(d2+p)+(p-n),p=r-s2,d=r-(s2+p)+(p-n),p=e-q,c=e-(q+p)+(p-o),p=i-l2,f=i-(l2+p)+(p-o),l===0&&c===0&&d===0&&f===0)||(D=_o*a+Co*Math.abs(y2),y2+=d2*f+l2*l-(q*d+s2*c),y2>=D||-y2>=D))return y2;U=l*l2,v=I2*l,b=v-(v-l),x=l-b,v=I2*l2,k=v-(v-l2),P=l2-k,S=x*P-(U-b*k-x*k-b*P),K=c*s2,v=I2*c,b=v-(v-c),x=c-b,v=I2*s2,k=v-(v-s2),P=s2-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const z=_r(4,ye,4,X2,Ni);U=d2*f,v=I2*d2,b=v-(v-d2),x=d2-b,v=I2*f,k=v-(v-f),P=f-k,S=x*P-(U-b*k-x*k-b*P),K=q*d,v=I2*q,b=v-(v-q),x=q-b,v=I2*d,k=v-(v-d),P=d-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const M=_r(z,Ni,4,X2,Ii);U=l*f,v=I2*l,b=v-(v-l),x=l-b,v=I2*f,k=v-(v-f),P=f-k,S=x*P-(U-b*k-x*k-b*P),K=c*d,v=I2*c,b=v-(v-c),x=c-b,v=I2*d,k=v-(v-d),P=d-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const N=_r(M,Ii,4,X2,Vi);return Vi[N-1]}function $o(t,e,r,i,n,o){const a=(e-o)*(r-n),l=(t-n)*(i-o),c=a-l,d=Math.abs(a+l);return Math.abs(c)>=xo*d?c:-Lo(t,e,r,i,n,o,d)}function Ao(t,e){var r,i,n=0,o,a,l,c,d,f,p,v=t[0],b=t[1],x=e.length;for(r=0;r<x;r++){i=0;var k=e[r],P=k.length-1;if(f=k[0],f[0]!==k[P][0]&&f[1]!==k[P][1])throw new Error("First and last coordinates in a ring must be the same");for(a=f[0]-v,l=f[1]-b,i;i<P;i++){if(p=k[i+1],c=p[0]-v,d=p[1]-b,l===0&&d===0){if(c<=0&&a>=0||a<=0&&c>=0)return 0}else if(d>=0&&l<=0||d<=0&&l>=0){if(o=$o(a,c,l,d,0,0),o===0)return 0;(o>0&&d>0&&l<=0||o<0&&d<=0&&l>0)&&n++}f=p,l=d,a=c}}return n%2!==0}function Q0(t,e,r={}){const i={type:"Feature"};return(r.id===0||r.id)&&(i.id=r.id),r.bbox&&(i.bbox=r.bbox),i.properties=e||{},i.geometry=t,i}function Mo(t,e,r={}){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Zi(t[0])||!Zi(t[1]))throw new Error("coordinates must contain numbers");return Q0({type:"Point",coordinates:t},e,r)}function zo(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return Q0({type:"LineString",coordinates:t},e,r)}function Lr(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function So(t,e,r={}){return Q0({type:"MultiLineString",coordinates:t},e,r)}function Zi(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function Ui(t){if(!t)throw new Error("coord is required");if(!Array.isArray(t)){if(t.type==="Feature"&&t.geometry!==null&&t.geometry.type==="Point")return[...t.geometry.coordinates];if(t.type==="Point")return[...t.coordinates]}if(Array.isArray(t)&&t.length>=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return[...t];throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Eo(t){if(Array.isArray(t))return t;if(t.type==="Feature"){if(t.geometry!==null)return t.geometry.coordinates}else if(t.coordinates)return t.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Ce(t){return t.type==="Feature"?t.geometry:t}function c0(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const i=Ui(t),n=Ce(e),o=n.type,a=e.bbox;let l=n.coordinates;if(a&&Do(i,a)===!1)return!1;o==="Polygon"&&(l=[l]);let c=!1;for(var d=0;d<l.length;++d){const f=Ao(i,l[d]);if(f===0)return!r.ignoreBoundary;f&&(c=!0)}return c}function Do(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class qi{constructor(e=[],r=Bo){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let i=(this.length>>1)-1;i>=0;i--)this._down(i)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],r=this.data.pop();return this.length--,this.length>0&&(this.data[0]=r,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:r,compare:i}=this,n=r[e];for(;e>0;){const o=e-1>>1,a=r[o];if(i(n,a)>=0)break;r[e]=a,e=o}r[e]=n}_down(e){const{data:r,compare:i}=this,n=this.length>>1,o=r[e];for(;e<n;){let a=(e<<1)+1,l=r[a];const c=a+1;if(c<this.length&&i(r[c],l)<0&&(a=c,l=r[c]),i(l,o)>=0)break;r[e]=l,e=a}r[e]=o}}function Bo(t,e){return t<e?-1:t>e?1:0}function Wi(t,e){return t.p.x>e.p.x?1:t.p.x<e.p.x?-1:t.p.y!==e.p.y?t.p.y>e.p.y?1:-1:1}function Po(t,e){return t.rightSweepEvent.p.x>e.rightSweepEvent.p.x?1:t.rightSweepEvent.p.x<e.rightSweepEvent.p.x?-1:t.rightSweepEvent.p.y!==e.rightSweepEvent.p.y?t.rightSweepEvent.p.y<e.rightSweepEvent.p.y?1:-1:1}class Yi{constructor(e,r,i,n){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=i,this.eventId=n,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function To(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let i=0;i<r.length;i++)Ki(r[i],e)}else Ki(t,e)}let Et=0,Dt=0,Bt=0;function Ki(t,e){const r=t.type==="Feature"?t.geometry:t;let i=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(i=[i]),r.type==="LineString"&&(i=[[i]]);for(let n=0;n<i.length;n++)for(let o=0;o<i[n].length;o++){let a=i[n][o][0],l=null;Dt=Dt+1;for(let c=0;c<i[n][o].length-1;c++){l=i[n][o][c+1];const d=new Yi(a,Et,Dt,Bt),f=new Yi(l,Et,Dt,Bt+1);d.otherEvent=f,f.otherEvent=d,Wi(d,f)>0?(f.isLeftEndpoint=!0,d.isLeftEndpoint=!1):(d.isLeftEndpoint=!0,f.isLeftEndpoint=!1),e.push(d),e.push(f),a=l,Bt=Bt+1}}Et=Et+1}class Ro{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Oo(t,e){if(t===null||e===null||t.leftSweepEvent.ringId===e.leftSweepEvent.ringId&&(t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.rightSweepEvent)||t.leftSweepEvent.isSamePoint(e.leftSweepEvent)||t.leftSweepEvent.isSamePoint(e.rightSweepEvent)))return!1;const r=t.leftSweepEvent.p.x,i=t.leftSweepEvent.p.y,n=t.rightSweepEvent.p.x,o=t.rightSweepEvent.p.y,a=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,d=e.rightSweepEvent.p.y,f=(d-l)*(n-r)-(c-a)*(o-i),p=(c-a)*(i-l)-(d-l)*(r-a),v=(n-r)*(i-l)-(o-i)*(r-a);if(f===0)return!1;const b=p/f,x=v/f;if(b>=0&&b<=1&&x>=0&&x<=1){const k=r+b*(n-r),P=i+b*(o-i);return[k,P]}return!1}function Fo(t,e){e=e||!1;const r=[],i=new qi([],Po);for(;t.length;){const n=t.pop();if(n.isLeftEndpoint){const o=new Ro(n);for(let a=0;a<i.data.length;a++){const l=i.data[a];if(e&&l.leftSweepEvent.featureId===n.featureId)continue;const c=Oo(o,l);c!==!1&&r.push(c)}i.push(o)}else n.isLeftEndpoint===!1&&i.pop()}return r}function Ho(t,e){const r=new qi([],Wi);return To(t,r),Fo(r,e)}var jo=Ho;function $r(t,e,r={}){const{removeDuplicates:i=!0,ignoreSelfIntersections:n=!0}=r;let o=[];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(Q0(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(Q0(e));const a=jo(Lr(o),n);let l=[];if(i){const c={};a.forEach(d=>{const f=d.join(",");c[f]||(c[f]=!0,l.push(d))})}else l=a;return Lr(l.map(c=>Mo(c)))}function Gi(t,e,r){if(t!==null)for(var i,n,o,a,l,c,d,f=0,p=0,v,b=t.type,x=b==="FeatureCollection",k=b==="Feature",P=x?t.features.length:1,$=0;$<P;$++){d=x?t.features[$].geometry:k?t.geometry:t,v=d?d.type==="GeometryCollection":!1,l=v?d.geometries.length:1;for(var I=0;I<l;I++){var Z=0,U=0;if(a=v?d.geometries[I]:d,a!==null){c=a.coordinates;var S=a.type;switch(f=0,S){case null:break;case"Point":if(e(c,p,$,Z,U)===!1)return!1;p++,Z++;break;case"LineString":case"MultiPoint":for(i=0;i<c.length;i++){if(e(c[i],p,$,Z,U)===!1)return!1;p++,S==="MultiPoint"&&Z++}S==="LineString"&&Z++;break;case"Polygon":case"MultiLineString":for(i=0;i<c.length;i++){for(n=0;n<c[i].length-f;n++){if(e(c[i][n],p,$,Z,U)===!1)return!1;p++}S==="MultiLineString"&&Z++,S==="Polygon"&&U++}S==="Polygon"&&Z++;break;case"MultiPolygon":for(i=0;i<c.length;i++){for(U=0,n=0;n<c[i].length;n++){for(o=0;o<c[i][n].length-f;o++){if(e(c[i][n][o],p,$,Z,U)===!1)return!1;p++}U++}Z++}break;case"GeometryCollection":for(i=0;i<a.geometries.length;i++)if(Gi(a.geometries[i],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function No(t,e){var r,i,n,o,a,l,c,d,f,p,v=0,b=t.type==="FeatureCollection",x=t.type==="Feature",k=b?t.features.length:1;for(r=0;r<k;r++){for(l=b?t.features[r].geometry:x?t.geometry:t,d=b?t.features[r].properties:x?t.properties:{},f=b?t.features[r].bbox:x?t.bbox:void 0,p=b?t.features[r].id:x?t.id:void 0,c=l?l.type==="GeometryCollection":!1,a=c?l.geometries.length:1,n=0;n<a;n++){if(o=c?l.geometries[n]:l,o===null){if(e(null,v,d,f,p)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,v,d,f,p)===!1)return!1;break}case"GeometryCollection":{for(i=0;i<o.geometries.length;i++)if(e(o.geometries[i],v,d,f,p)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}v++}}function Pt(t,e){No(t,function(r,i,n,o,a){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(Q0(r,n,{bbox:o,id:a}),i,0)===!1?!1:void 0}var c;switch(l){case"MultiPoint":c="Point";break;case"MultiLineString":c="LineString";break;case"MultiPolygon":c="Polygon";break}for(var d=0;d<r.coordinates.length;d++){var f=r.coordinates[d],p={type:c,coordinates:f};if(e(Q0(p,n),i,d)===!1)return!1}})}function Ar(t,e={}){const r=Ce(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return Io(r,e);case"MultiPolygon":return Vo(r,e);default:throw new Error("invalid poly")}}function Io(t,e={}){const i=Ce(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{};return Xi(i,n)}function Vo(t,e={}){const i=Ce(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return i.forEach(a=>{o.push(Xi(a,n))}),Lr(o)}function Xi(t,e){return t.length>1?So(t,e):zo(t[0],e)}function Zo(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let i=!0;return Pt(t,n=>{Pt(e,o=>{if(i===!1)return!1;i=Uo(n.geometry,o.geometry,r)})}),i}function Uo(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!Ko(t.coordinates,e.coordinates);case"LineString":return!Ji(e,t);case"Polygon":return!c0(t,e)}break;case"LineString":switch(e.type){case"Point":return!Ji(t,e);case"LineString":return!qo(t,e,r);case"Polygon":return!Qi(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!c0(e,t);case"LineString":return!Qi(t,e,r);case"Polygon":return!Wo(e,t,r)}}return!1}function Ji(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(Yo(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function qo(t,e,r){return $r(t,e,{ignoreSelfIntersections:r}).features.length>0}function Qi(t,e,r){for(const n of e.coordinates)if(c0(n,t))return!0;return $r(e,Ar(t),{ignoreSelfIntersections:r}).features.length>0}function Wo(t,e,r){for(const n of t.coordinates[0])if(c0(n,e))return!0;for(const n of e.coordinates[0])if(c0(n,t))return!0;return $r(Ar(t),Ar(e),{ignoreSelfIntersections:r}).features.length>0}function Yo(t,e,r){const i=r[0]-t[0],n=r[1]-t[1],o=e[0]-t[0],a=e[1]-t[1];return i*a-n*o!==0?!1:Math.abs(o)>=Math.abs(a)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:a>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}function Ko(t,e){return t[0]===e[0]&&t[1]===e[1]}function Go(t,e,{ignoreSelfIntersections:r=!0}={}){let i=!1;return Pt(t,n=>{Pt(e,o=>{if(i===!0)return!0;i=!Zo(n.geometry,o.geometry,{ignoreSelfIntersections:r})})}),i}var Xo=Go;function Tt(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Gi(t,i=>{r[0]>i[0]&&(r[0]=i[0]),r[1]>i[1]&&(r[1]=i[1]),r[2]<i[0]&&(r[2]=i[0]),r[3]<i[1]&&(r[3]=i[1])}),r}function Rt(t,e,r={}){const i=Ui(t),n=Eo(e);for(let o=0;o<n.length-1;o++){let a=!1;if(r.ignoreEndVertices&&(o===0&&(a="start"),o===n.length-2&&(a="end"),o===0&&o+1===n.length-1&&(a="both")),Jo(n[o],n[o+1],i,a,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function Jo(t,e,r,i,n){const o=r[0],a=r[1],l=t[0],c=t[1],d=e[0],f=e[1],p=r[0]-l,v=r[1]-c,b=d-l,x=f-c,k=p*x-v*b;if(n!==null){if(Math.abs(k)>n)return!1}else if(k!==0)return!1;if(Math.abs(b)===Math.abs(x)&&Math.abs(b)===0)return i?!1:r[0]===t[0]&&r[1]===t[1];if(i){if(i==="start")return Math.abs(b)>=Math.abs(x)?b>0?l<o&&o<=d:d<=o&&o<l:x>0?c<a&&a<=f:f<=a&&a<c;if(i==="end")return Math.abs(b)>=Math.abs(x)?b>0?l<=o&&o<d:d<o&&o<=l:x>0?c<=a&&a<f:f<a&&a<=c;if(i==="both")return Math.abs(b)>=Math.abs(x)?b>0?l<o&&o<d:d<o&&o<l:x>0?c<a&&a<f:f<a&&a<c}else return Math.abs(b)>=Math.abs(x)?b>0?l<=o&&o<=d:d<=o&&o<=l:x>0?c<=a&&a<=f:f<=a&&a<=c;return!1}function Qo(t,e){var r=Ce(t),i=Ce(e),n=r.type,o=i.type;switch(n){case"Point":switch(o){case"MultiPoint":return ea(r,i);case"LineString":return Rt(r,i,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return c0(r,i,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return ta(r,i);case"LineString":return ra(r,i);case"Polygon":case"MultiPolygon":return ia(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return na(r,i);case"Polygon":case"MultiPolygon":return oa(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return aa(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function ea(t,e){var r,i=!1;for(r=0;r<e.coordinates.length;r++)if(t1(e.coordinates[r],t.coordinates)){i=!0;break}return i}function ta(t,e){for(var r=0;r<t.coordinates.length;r++){for(var i=!1,n=0;n<e.coordinates.length;n++)t1(t.coordinates[r],e.coordinates[n])&&(i=!0);if(!i)return!1}return!0}function ra(t,e){for(var r=!1,i=0;i<t.coordinates.length;i++){if(!Rt(t.coordinates[i],e))return!1;r||(r=Rt(t.coordinates[i],e,{ignoreEndVertices:!0}))}return r}function ia(t,e){for(var r=!0,i=!1,n=0;n<t.coordinates.length;n++){if(i=c0(t.coordinates[n],e),!i){r=!1;break}i=c0(t.coordinates[n],e,{ignoreBoundary:!0})}return r&&i}function na(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Rt(t.coordinates[r],e))return!1;return!0}function oa(t,e){var r=Tt(e),i=Tt(t);if(!e1(r,i))return!1;for(var n=!1,o=0;o<t.coordinates.length;o++){if(!c0(t.coordinates[o],e))return!1;if(n||(n=c0(t.coordinates[o],e,{ignoreBoundary:!0})),!n&&o<t.coordinates.length-1){var a=sa(t.coordinates[o],t.coordinates[o+1]);n=c0(a,e,{ignoreBoundary:!0})}}return n}function aa(t,e){var r=Tt(t),i=Tt(e);if(!e1(i,r))return!1;for(var n=0;n<t.coordinates[0].length;n++)if(!c0(t.coordinates[0][n],e))return!1;return!0}function e1(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function t1(t,e){return t[0]===e[0]&&t[1]===e[1]}function sa(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var la=Qo;const ca=(t,e)=>e?Xo(t,e):!0,da=(t,e)=>e?la(t,e):!0;function ua(t,e="highlight",r="title"){const i=(n,o=[])=>{let a="",l=0,c=0;return o.forEach((d,f)=>{const p=d[1]+1;f&&c>d[0]||(c=d[1],a+=[n.substring(l,d[0]),`<mark class="${e}">`,n.substring(d[0],p),"</mark>"].join(""),l=p)}),a+=n.substring(l),a};return t.filter(({matches:n})=>n&&n.length).map(({item:n,matches:o})=>{const a={...n};return o.forEach(l=>{if(l.key!==r)return;const c=i(Ca(l.value),wa(l.indices));a.highlightedText=c}),a})}var d0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ot(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ft={exports:{}},pa=Ft.exports,r1;function ha(){return r1||(r1=1,(function(t,e){(function(r,i){t.exports=i()})(pa,(function(){var r=1e3,i=6e4,n=36e5,o="millisecond",a="second",l="minute",c="hour",d="day",f="week",p="month",v="quarter",b="year",x="date",k="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|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,I={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(D){var z=["th","st","nd","rd"],M=D%100;return"["+D+(z[(M-20)%10]||z[M]||z[0])+"]"}},Z=function(D,z,M){var N=String(D);return!N||N.length>=z?D:""+Array(z+1-N.length).join(M)+D},U={s:Z,z:function(D){var z=-D.utcOffset(),M=Math.abs(z),N=Math.floor(M/60),B=M%60;return(z<=0?"+":"-")+Z(N,2,"0")+":"+Z(B,2,"0")},m:function D(z,M){if(z.date()<M.date())return-D(M,z);var N=12*(M.year()-z.year())+(M.month()-z.month()),B=z.clone().add(N,p),Q=M-B<0,e2=z.clone().add(N+(Q?-1:1),p);return+(-(N+(M-B)/(Q?B-e2:e2-B))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:p,y:b,w:f,d,D:x,h:c,m:l,s:a,ms:o,Q:v}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},S="en",K={};K[S]=I;var G="$isDayjsObject",a2=function(D){return D instanceof l2||!(!D||!D[G])},d2=function D(z,M,N){var B;if(!z)return S;if(typeof z=="string"){var Q=z.toLowerCase();K[Q]&&(B=Q),M&&(K[Q]=M,B=Q);var e2=z.split("-");if(!B&&e2.length>1)return D(e2[0])}else{var u2=z.name;K[u2]=z,B=u2}return!N&&B&&(S=B),B||!N&&S},s2=function(D,z){if(a2(D))return D.clone();var M=typeof z=="object"?z:{};return M.date=D,M.args=arguments,new l2(M)},q=U;q.l=d2,q.i=a2,q.w=function(D,z){return s2(D,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var l2=(function(){function D(M){this.$L=d2(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[G]=!0}var z=D.prototype;return z.parse=function(M){this.$d=(function(N){var B=N.date,Q=N.utc;if(B===null)return new Date(NaN);if(q.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var e2=B.match(P);if(e2){var u2=e2[2]-1||0,b2=(e2[7]||"0").substring(0,3);return Q?new Date(Date.UTC(e2[1],u2,e2[3]||1,e2[4]||0,e2[5]||0,e2[6]||0,b2)):new Date(e2[1],u2,e2[3]||1,e2[4]||0,e2[5]||0,e2[6]||0,b2)}}return new Date(B)})(M),this.init()},z.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},z.$utils=function(){return q},z.isValid=function(){return this.$d.toString()!==k},z.isSame=function(M,N){var B=s2(M);return this.startOf(N)<=B&&B<=this.endOf(N)},z.isAfter=function(M,N){return s2(M)<this.startOf(N)},z.isBefore=function(M,N){return this.endOf(N)<s2(M)},z.$g=function(M,N,B){return q.u(M)?this[N]:this.set(B,M)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(M,N){var B=this,Q=!!q.u(N)||N,e2=q.p(M),u2=function(L2,t2){var V2=q.w(B.$u?Date.UTC(B.$y,t2,L2):new Date(B.$y,t2,L2),B);return Q?V2:V2.endOf(d)},b2=function(L2,t2){return q.w(B.toDate()[L2].apply(B.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(t2)),B)},_2=this.$W,S2=this.$M,O2=this.$D,$2="set"+(this.$u?"UTC":"");switch(e2){case b:return Q?u2(1,0):u2(31,11);case p:return Q?u2(1,S2):u2(0,S2+1);case f:var H=this.$locale().weekStart||0,B2=(_2<H?_2+7:_2)-H;return u2(Q?O2-B2:O2+(6-B2),S2);case d:case x:return b2($2+"Hours",0);case c:return b2($2+"Minutes",1);case l:return b2($2+"Seconds",2);case a:return b2($2+"Milliseconds",3);default:return this.clone()}},z.endOf=function(M){return this.startOf(M,!1)},z.$set=function(M,N){var B,Q=q.p(M),e2="set"+(this.$u?"UTC":""),u2=(B={},B[d]=e2+"Date",B[x]=e2+"Date",B[p]=e2+"Month",B[b]=e2+"FullYear",B[c]=e2+"Hours",B[l]=e2+"Minutes",B[a]=e2+"Seconds",B[o]=e2+"Milliseconds",B)[Q],b2=Q===d?this.$D+(N-this.$W):N;if(Q===p||Q===b){var _2=this.clone().set(x,1);_2.$d[u2](b2),_2.init(),this.$d=_2.set(x,Math.min(this.$D,_2.daysInMonth())).$d}else u2&&this.$d[u2](b2);return this.init(),this},z.set=function(M,N){return this.clone().$set(M,N)},z.get=function(M){return this[q.p(M)]()},z.add=function(M,N){var B,Q=this;M=Number(M);var e2=q.p(N),u2=function(S2){var O2=s2(Q);return q.w(O2.date(O2.date()+Math.round(S2*M)),Q)};if(e2===p)return this.set(p,this.$M+M);if(e2===b)return this.set(b,this.$y+M);if(e2===d)return u2(1);if(e2===f)return u2(7);var b2=(B={},B[l]=i,B[c]=n,B[a]=r,B)[e2]||1,_2=this.$d.getTime()+M*b2;return q.w(_2,this)},z.subtract=function(M,N){return this.add(-1*M,N)},z.format=function(M){var N=this,B=this.$locale();if(!this.isValid())return B.invalidDate||k;var Q=M||"YYYY-MM-DDTHH:mm:ssZ",e2=q.z(this),u2=this.$H,b2=this.$m,_2=this.$M,S2=B.weekdays,O2=B.months,$2=B.meridiem,H=function(t2,V2,u0,C2){return t2&&(t2[V2]||t2(N,Q))||u0[V2].slice(0,C2)},B2=function(t2){return q.s(u2%12||12,t2,"0")},L2=$2||function(t2,V2,u0){var C2=t2<12?"AM":"PM";return u0?C2.toLowerCase():C2};return Q.replace($,(function(t2,V2){return V2||(function(u0){switch(u0){case"YY":return String(N.$y).slice(-2);case"YYYY":return q.s(N.$y,4,"0");case"M":return _2+1;case"MM":return q.s(_2+1,2,"0");case"MMM":return H(B.monthsShort,_2,O2,3);case"MMMM":return H(O2,_2);case"D":return N.$D;case"DD":return q.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return H(B.weekdaysMin,N.$W,S2,2);case"ddd":return H(B.weekdaysShort,N.$W,S2,3);case"dddd":return S2[N.$W];case"H":return String(u2);case"HH":return q.s(u2,2,"0");case"h":return B2(1);case"hh":return B2(2);case"a":return L2(u2,b2,!0);case"A":return L2(u2,b2,!1);case"m":return String(b2);case"mm":return q.s(b2,2,"0");case"s":return String(N.$s);case"ss":return q.s(N.$s,2,"0");case"SSS":return q.s(N.$ms,3,"0");case"Z":return e2}return null})(t2)||e2.replace(":","")}))},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(M,N,B){var Q,e2=this,u2=q.p(N),b2=s2(M),_2=(b2.utcOffset()-this.utcOffset())*i,S2=this-b2,O2=function(){return q.m(e2,b2)};switch(u2){case b:Q=O2()/12;break;case p:Q=O2();break;case v:Q=O2()/3;break;case f:Q=(S2-_2)/6048e5;break;case d:Q=(S2-_2)/864e5;break;case c:Q=S2/n;break;case l:Q=S2/i;break;case a:Q=S2/r;break;default:Q=S2}return B?Q:q.a(Q)},z.daysInMonth=function(){return this.endOf(p).$D},z.$locale=function(){return K[this.$L]},z.locale=function(M,N){if(!M)return this.$L;var B=this.clone(),Q=d2(M,N,!0);return Q&&(B.$L=Q),B},z.clone=function(){return q.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},D})(),y2=l2.prototype;return s2.prototype=y2,[["$ms",o],["$s",a],["$m",l],["$H",c],["$W",d],["$M",p],["$y",b],["$D",x]].forEach((function(D){y2[D[1]]=function(z){return this.$g(z,D[0],D[1])}})),s2.extend=function(D,z){return D.$i||(D(z,l2,s2),D.$i=!0),s2},s2.locale=d2,s2.isDayjs=a2,s2.unix=function(D){return s2(1e3*D)},s2.en=K[S],s2.Ls=K,s2.p={},s2}))})(Ft)),Ft.exports}var fa=ha();const Ye=Ot(fa);let i1;const ma=(t,e)=>{i1=new F0(t,{threshold:.4,distance:50,ignoreLocation:!0,includeMatches:!0,useExtendedSearch:!0,...e})},ga=async(t,e,r)=>{const i=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,d])=>{const p=[],v=(b,x)=>{const k={};d.type==="text"?k[b]=`${x}`:k[c]=`="${b}"`,p.push(k)};return Object.entries(d.state).filter(([,b])=>b).forEach(([b,x])=>v(b,x)),p.length>0&&l.push({$or:p}),l},[]);let n;if(!(i.length>0)&&r.matchAllWhenEmpty!==!1)n=t;else{const l={$and:[...i]},c=i1.search(l);n=r.enableHighlighting?ua(c,"highlight",r.titleProperty):c.map(d=>d.item)}const o=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[c,d])=>(l[c]={min:d.state.min,max:d.state.max,format:d.format},l),{});if(Object.keys(o).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const[f,p]of Object.entries(o)){const v=x=>p.format==="date"?Ye(x).unix():x,b=i0(f,n[c]);b?Array.isArray(b)?d[f]=o[f].min<=v(b[1])&&v(b[0])<=o[f].max:v(b)>=o[f].min&&v(b)<=o[f].max?d[f]=!0:d[f]=!1:d[f]=!0}Object.values(d).every(f=>!!f)&&l.push(n[c])}n=[...l]}const a=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[c,d])=>(l[c]={geometry:d.state.geometry,mode:d.state.mode},l),{});if(Object.values(a).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const f of Object.keys(a)){const p=i0(f,n[c]),v=a[f].mode||"within";p&&(v==="within"?da(p,a[f].geometry):ca(p,a[f].geometry))?d[f]=!0:d[f]=!1}Object.values(d).every(f=>!!f)&&l.push(n[c])}n=[...l]}return n};function ba(t,e){return[{type:"Tile",source:{type:"XYZ",url:"https://tiles.maps.eox.at/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}},{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...t&&{format:"GeoJSON"},...t&&{url:e}},zIndex:1,interactions:[{type:"draw",options:{id:"drawInteraction",type:"Box",modify:!0}}]}]}function Ht(t){if(!t.dirty)return null;switch(t.type){case"multiselect":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"range":t.state.min=t.min,t.state.max=t.max;break;case"select":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"spatial":t.state.geometry=void 0;break;case"text":t.keys.forEach(r=>{t.state[r]=void 0});break}return delete t.stringifiedState,delete t.dirty,t}function n1(t,e){return t*2+e}function va(t){return Object.keys(t).map(e=>({title:J`${t[e].title||t[e].key}:
568
- ${t[e].stringifiedState}`,key:e})).filter(e=>t[e.key].dirty)}function Mr(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function ya(t,e,r){const i=r.externalFilter(t,e),n=typeof i=="string"||i instanceof String?i:i.url,a=await(await fetch(n)).json();return i.key?i0(i.key,a):a}function o1(t,e,r){let i;if(t.detail?i=t.detail.target:i=t.target,i?.classList.contains("details-filter")){if(!i.open||e?.expandMultipleFilters)return;r.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(n=>{const o=n.shadowRoot.querySelector(".details-filter");o&&o!==i&&o.removeAttribute("open")})}else{if(!i?.open||e?.expandMultipleResults)return;r.querySelectorAll("details").forEach(n=>{n!==i&&n.removeAttribute("open")})}}function i0(t,e){return typeof t=="function"?t(e):t?.includes(".")?t.split(".").reduce((r,i)=>r&&r[i],e):e[t]}function Ca(t){return t.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function wa(t,{mergeAdjacent:e=!1}={}){if(!Array.isArray(t))return[];const r=t.map(([n,o])=>n<=o?[n,o]:[o,n]).sort((n,o)=>n[0]-o[0]||n[1]-o[1]),i=[];for(const[n,o]of r){if(i.length===0){i.push([n,o]);continue}const a=i[i.length-1];(e?n<=a[1]+1:n<=a[1])?o>a[1]&&(a[1]=o):i.push([n,o])}return i}class xa extends J2{static get properties(){return{filterProperties:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},unstyled:{type:Boolean},filters:{state:!0,type:Object}}}constructor(){super(),this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=this.#n.bind(this),this._handleKeyDown=this.#i.bind(this)}set showDropdown(e){this.renderRoot.querySelector("[popover]").togglePopover(e)}get showDropdown(){return this.renderRoot.querySelector("[popover]")?.matches(":popover-open")}#e(){setTimeout(()=>this._overlayCleanup=fo(this))}#t(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),this.#e()}connectedCallback(){super.connectedCallback(),this.inlineMode&&this.#t()}#r(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()}disconnectedCallback(){this.inlineMode&&this.#r(),super.disconnectedCallback()}_overlayCleanup(){}#n(e){yo(e,this)}#i(e){vo(e,this)}#o(e){bo(e,this)}#s(){go(this)}#a(e){mo(e,this)}#l(e){Bn(e,this)}#c(e){ki(e,this)}updateInline(){this.inlineMode&&this.requestUpdate()}updated(e){e.has("inlineMode")&&(this.inlineMode?this.#t():this.#r())}render(){return J`
567
+ `}}customElements.define("eox-itemfilter-expandcontainer",G1);function $0(t){return Array.isArray?Array.isArray(t):ui(t)==="[object Array]"}function X1(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-1/0?"-0":e}function J1(t){return t==null?"":X1(t)}function m0(t){return typeof t=="string"}function ci(t){return typeof t=="number"}function Q1(t){return t===!0||t===!1||en(t)&&ui(t)=="[object Boolean]"}function di(t){return typeof t=="object"}function en(t){return di(t)&&t!==null}function t0(t){return t!=null}function dr(t){return!t.trim().length}function ui(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const tn="Incorrect 'index' type",rn=t=>`Invalid value for key ${t}`,nn=t=>`Pattern length exceeds max of ${t}.`,on=t=>`Missing ${t} property in key`,an=t=>`Property 'weight' in key '${t}' must be a positive integer`,pi=Object.prototype.hasOwnProperty;class sn{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(i=>{let n=hi(i);this._keys.push(n),this._keyMap[n.id]=n,r+=n.weight}),this._keys.forEach(i=>{i.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function hi(t){let e=null,r=null,i=null,n=1,o=null;if(m0(t)||$0(t))i=t,e=fi(t),r=ur(t);else{if(!pi.call(t,"name"))throw new Error(on("name"));const a=t.name;if(i=a,pi.call(t,"weight")&&(n=t.weight,n<=0))throw new Error(an(a));e=fi(a),r=ur(a),o=t.getFn}return{path:e,id:r,weight:n,src:i,getFn:o}}function fi(t){return $0(t)?t:t.split(".")}function ur(t){return $0(t)?t.join("."):t}function ln(t,e){let r=[],i=!1;const n=(o,a,l)=>{if(t0(o))if(!a[l])r.push(o);else{let c=a[l];const d=o[c];if(!t0(d))return;if(l===a.length-1&&(m0(d)||ci(d)||Q1(d)))r.push(J1(d));else if($0(d)){i=!0;for(let f=0,p=d.length;f<p;f+=1)n(d[f],a,l+1)}else a.length&&n(d,a,l+1)}};return n(t,m0(e)?e.split("."):e,0),i?r:r[0]}var r2={...{isCaseSensitive:!1,ignoreDiacritics:!1,includeScore:!1,keys:[],shouldSort:!0,sortFn:(t,e)=>t.score===e.score?t.idx<e.idx?-1:1:t.score<e.score?-1:1},...{includeMatches:!1,findAllMatches:!1,minMatchCharLength:1},...{location:0,threshold:.6,distance:100},...{useExtendedSearch:!1,getFn:ln,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const cn=/[^ ]+/g;function dn(t=1,e=3){const r=new Map,i=Math.pow(10,e);return{get(n){const o=n.match(cn).length;if(r.has(o))return r.get(o);const a=1/Math.pow(o,.5*t),l=parseFloat(Math.round(a*i)/i);return r.set(o,l),l},clear(){r.clear()}}}class pr{constructor({getFn:e=r2.getFn,fieldNormWeight:r=r2.fieldNormWeight}={}){this.norm=dn(r,3),this.getFn=e,this.isCreated=!1,this.setIndexRecords()}setSources(e=[]){this.docs=e}setIndexRecords(e=[]){this.records=e}setKeys(e=[]){this.keys=e,this._keysMap={},e.forEach((r,i)=>{this._keysMap[r.id]=i})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,m0(this.docs[0])?this.docs.forEach((e,r)=>{this._addString(e,r)}):this.docs.forEach((e,r)=>{this._addObject(e,r)}),this.norm.clear())}add(e){const r=this.size();m0(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,i=this.size();r<i;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!t0(e)||dr(e))return;let i={v:e,i:r,n:this.norm.get(e)};this.records.push(i)}_addObject(e,r){let i={i:r,$:{}};this.keys.forEach((n,o)=>{let a=n.getFn?n.getFn(e):this.getFn(e,n.path);if(t0(a)){if($0(a)){let l=[];const c=[{nestedArrIndex:-1,value:a}];for(;c.length;){const{nestedArrIndex:d,value:f}=c.pop();if(t0(f))if(m0(f)&&!dr(f)){let p={v:f,i:d,n:this.norm.get(f)};l.push(p)}else $0(f)&&f.forEach((p,v)=>{c.push({nestedArrIndex:v,value:p})})}i.$[o]=l}else if(m0(a)&&!dr(a)){let l={v:a,n:this.norm.get(a)};i.$[o]=l}}}),this.records.push(i)}toJSON(){return{keys:this.keys,records:this.records}}}function mi(t,e,{getFn:r=r2.getFn,fieldNormWeight:i=r2.fieldNormWeight}={}){const n=new pr({getFn:r,fieldNormWeight:i});return n.setKeys(t.map(hi)),n.setSources(e),n.create(),n}function un(t,{getFn:e=r2.getFn,fieldNormWeight:r=r2.fieldNormWeight}={}){const{keys:i,records:n}=t,o=new pr({getFn:e,fieldNormWeight:r});return o.setKeys(i),o.setIndexRecords(n),o}function xt(t,{errors:e=0,currentLocation:r=0,expectedLocation:i=0,distance:n=r2.distance,ignoreLocation:o=r2.ignoreLocation}={}){const a=e/t.length;if(o)return a;const l=Math.abs(i-r);return n?a+l/n:l?1:a}function pn(t=[],e=r2.minMatchCharLength){let r=[],i=-1,n=-1,o=0;for(let a=t.length;o<a;o+=1){let l=t[o];l&&i===-1?i=o:!l&&i!==-1&&(n=o-1,n-i+1>=e&&r.push([i,n]),i=-1)}return t[o-1]&&o-i>=e&&r.push([i,o-1]),r}const X0=32;function hn(t,e,r,{location:i=r2.location,distance:n=r2.distance,threshold:o=r2.threshold,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,includeMatches:c=r2.includeMatches,ignoreLocation:d=r2.ignoreLocation}={}){if(e.length>X0)throw new Error(nn(X0));const f=e.length,p=t.length,v=Math.max(0,Math.min(i,p));let b=o,x=v;const k=l>1||c,P=k?Array(p):[];let $;for(;($=t.indexOf(e,x))>-1;){let G=xt(e,{currentLocation:$,expectedLocation:v,distance:n,ignoreLocation:d});if(b=Math.min(G,b),x=$+f,k){let a2=0;for(;a2<f;)P[$+a2]=1,a2+=1}}x=-1;let I=[],Z=1,U=f+p;const S=1<<f-1;for(let G=0;G<f;G+=1){let a2=0,d2=U;for(;a2<d2;)xt(e,{errors:G,currentLocation:v+d2,expectedLocation:v,distance:n,ignoreLocation:d})<=b?a2=d2:U=d2,d2=Math.floor((U-a2)/2+a2);U=d2;let s2=Math.max(1,v-d2+1),q=a?p:Math.min(v+d2,p)+f,l2=Array(q+2);l2[q+1]=(1<<G)-1;for(let D=q;D>=s2;D-=1){let z=D-1,M=r[t.charAt(z)];if(k&&(P[z]=+!!M),l2[D]=(l2[D+1]<<1|1)&M,G&&(l2[D]|=(I[D+1]|I[D])<<1|1|I[D+1]),l2[D]&S&&(Z=xt(e,{errors:G,currentLocation:z,expectedLocation:v,distance:n,ignoreLocation:d}),Z<=b)){if(b=Z,x=z,x<=v)break;s2=Math.max(1,2*v-x)}}if(xt(e,{errors:G+1,currentLocation:v,expectedLocation:v,distance:n,ignoreLocation:d})>b)break;I=l2}const K={isMatch:x>=0,score:Math.max(.001,Z)};if(k){const G=pn(P,l);G.length?c&&(K.indices=G):K.isMatch=!1}return K}function fn(t){let e={};for(let r=0,i=t.length;r<i;r+=1){const n=t.charAt(r);e[n]=(e[n]||0)|1<<i-r-1}return e}const kt=String.prototype.normalize?(t=>t.normalize("NFD").replace(/[\u0300-\u036F\u0483-\u0489\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u0610-\u061A\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED\u0711\u0730-\u074A\u07A6-\u07B0\u07EB-\u07F3\u07FD\u0816-\u0819\u081B-\u0823\u0825-\u0827\u0829-\u082D\u0859-\u085B\u08D3-\u08E1\u08E3-\u0903\u093A-\u093C\u093E-\u094F\u0951-\u0957\u0962\u0963\u0981-\u0983\u09BC\u09BE-\u09C4\u09C7\u09C8\u09CB-\u09CD\u09D7\u09E2\u09E3\u09FE\u0A01-\u0A03\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A70\u0A71\u0A75\u0A81-\u0A83\u0ABC\u0ABE-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AE2\u0AE3\u0AFA-\u0AFF\u0B01-\u0B03\u0B3C\u0B3E-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B62\u0B63\u0B82\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD7\u0C00-\u0C04\u0C3E-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C62\u0C63\u0C81-\u0C83\u0CBC\u0CBE-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CE2\u0CE3\u0D00-\u0D03\u0D3B\u0D3C\u0D3E-\u0D44\u0D46-\u0D48\u0D4A-\u0D4D\u0D57\u0D62\u0D63\u0D82\u0D83\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DF2\u0DF3\u0E31\u0E34-\u0E3A\u0E47-\u0E4E\u0EB1\u0EB4-\u0EB9\u0EBB\u0EBC\u0EC8-\u0ECD\u0F18\u0F19\u0F35\u0F37\u0F39\u0F3E\u0F3F\u0F71-\u0F84\u0F86\u0F87\u0F8D-\u0F97\u0F99-\u0FBC\u0FC6\u102B-\u103E\u1056-\u1059\u105E-\u1060\u1062-\u1064\u1067-\u106D\u1071-\u1074\u1082-\u108D\u108F\u109A-\u109D\u135D-\u135F\u1712-\u1714\u1732-\u1734\u1752\u1753\u1772\u1773\u17B4-\u17D3\u17DD\u180B-\u180D\u1885\u1886\u18A9\u1920-\u192B\u1930-\u193B\u1A17-\u1A1B\u1A55-\u1A5E\u1A60-\u1A7C\u1A7F\u1AB0-\u1ABE\u1B00-\u1B04\u1B34-\u1B44\u1B6B-\u1B73\u1B80-\u1B82\u1BA1-\u1BAD\u1BE6-\u1BF3\u1C24-\u1C37\u1CD0-\u1CD2\u1CD4-\u1CE8\u1CED\u1CF2-\u1CF4\u1CF7-\u1CF9\u1DC0-\u1DF9\u1DFB-\u1DFF\u20D0-\u20F0\u2CEF-\u2CF1\u2D7F\u2DE0-\u2DFF\u302A-\u302F\u3099\u309A\uA66F-\uA672\uA674-\uA67D\uA69E\uA69F\uA6F0\uA6F1\uA802\uA806\uA80B\uA823-\uA827\uA880\uA881\uA8B4-\uA8C5\uA8E0-\uA8F1\uA8FF\uA926-\uA92D\uA947-\uA953\uA980-\uA983\uA9B3-\uA9C0\uA9E5\uAA29-\uAA36\uAA43\uAA4C\uAA4D\uAA7B-\uAA7D\uAAB0\uAAB2-\uAAB4\uAAB7\uAAB8\uAABE\uAABF\uAAC1\uAAEB-\uAAEF\uAAF5\uAAF6\uABE3-\uABEA\uABEC\uABED\uFB1E\uFE00-\uFE0F\uFE20-\uFE2F]/g,"")):(t=>t);class gi{constructor(e,{location:r=r2.location,threshold:i=r2.threshold,distance:n=r2.distance,includeMatches:o=r2.includeMatches,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,isCaseSensitive:c=r2.isCaseSensitive,ignoreDiacritics:d=r2.ignoreDiacritics,ignoreLocation:f=r2.ignoreLocation}={}){if(this.options={location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:f},e=c?e:e.toLowerCase(),e=d?kt(e):e,this.pattern=e,this.chunks=[],!this.pattern.length)return;const p=(b,x)=>{this.chunks.push({pattern:b,alphabet:fn(b),startIndex:x})},v=this.pattern.length;if(v>X0){let b=0;const x=v%X0,k=v-x;for(;b<k;)p(this.pattern.substr(b,X0),b),b+=X0;if(x){const P=v-X0;p(this.pattern.substr(P),P)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n}=this.options;if(e=r?e:e.toLowerCase(),e=i?kt(e):e,this.pattern===e){let k={isMatch:!0,score:0};return n&&(k.indices=[[0,e.length-1]]),k}const{location:o,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,ignoreLocation:f}=this.options;let p=[],v=0,b=!1;this.chunks.forEach(({pattern:k,alphabet:P,startIndex:$})=>{const{isMatch:I,score:Z,indices:U}=hn(e,k,P,{location:o+$,distance:a,threshold:l,findAllMatches:c,minMatchCharLength:d,includeMatches:n,ignoreLocation:f});I&&(b=!0),v+=Z,I&&U&&(p=[...p,...U])});let x={isMatch:b,score:b?v/this.chunks.length:1};return b&&n&&(x.indices=p),x}}class F0{constructor(e){this.pattern=e}static isMultiMatch(e){return bi(e,this.multiRegex)}static isSingleMatch(e){return bi(e,this.singleRegex)}search(){}}function bi(t,e){const r=t.match(e);return r?r[1]:null}class mn extends F0{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const r=e===this.pattern;return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class gn extends F0{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const i=e.indexOf(this.pattern)===-1;return{isMatch:i,score:i?0:1,indices:[0,e.length-1]}}}class bn extends F0{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const r=e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,this.pattern.length-1]}}}class vn extends F0{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const r=!e.startsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class yn extends F0{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const r=e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class Cn extends F0{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const r=!e.endsWith(this.pattern);return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class vi extends F0{constructor(e,{location:r=r2.location,threshold:i=r2.threshold,distance:n=r2.distance,includeMatches:o=r2.includeMatches,findAllMatches:a=r2.findAllMatches,minMatchCharLength:l=r2.minMatchCharLength,isCaseSensitive:c=r2.isCaseSensitive,ignoreDiacritics:d=r2.ignoreDiacritics,ignoreLocation:f=r2.ignoreLocation}={}){super(e),this._bitapSearch=new gi(e,{location:r,threshold:i,distance:n,includeMatches:o,findAllMatches:a,minMatchCharLength:l,isCaseSensitive:c,ignoreDiacritics:d,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class yi extends F0{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,i;const n=[],o=this.pattern.length;for(;(i=e.indexOf(this.pattern,r))>-1;)r=i+o,n.push([i,r-1]);const a=!!n.length;return{isMatch:a,score:a?0:1,indices:n}}}const hr=[mn,yi,bn,vn,Cn,yn,gn,vi],Ci=hr.length,wn=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,xn="|";function kn(t,e={}){return t.split(xn).map(r=>{let i=r.trim().split(wn).filter(o=>o&&!!o.trim()),n=[];for(let o=0,a=i.length;o<a;o+=1){const l=i[o];let c=!1,d=-1;for(;!c&&++d<Ci;){const f=hr[d];let p=f.isMultiMatch(l);p&&(n.push(new f(p,e)),c=!0)}if(!c)for(d=-1;++d<Ci;){const f=hr[d];let p=f.isSingleMatch(l);if(p){n.push(new f(p,e));break}}}return n})}const _n=new Set([vi.type,yi.type]);class Ln{constructor(e,{isCaseSensitive:r=r2.isCaseSensitive,ignoreDiacritics:i=r2.ignoreDiacritics,includeMatches:n=r2.includeMatches,minMatchCharLength:o=r2.minMatchCharLength,ignoreLocation:a=r2.ignoreLocation,findAllMatches:l=r2.findAllMatches,location:c=r2.location,threshold:d=r2.threshold,distance:f=r2.distance}={}){this.query=null,this.options={isCaseSensitive:r,ignoreDiacritics:i,includeMatches:n,minMatchCharLength:o,findAllMatches:l,ignoreLocation:a,location:c,threshold:d,distance:f},e=r?e:e.toLowerCase(),e=i?kt(e):e,this.pattern=e,this.query=kn(this.pattern,this.options)}static condition(e,r){return r.useExtendedSearch}searchIn(e){const r=this.query;if(!r)return{isMatch:!1,score:1};const{includeMatches:i,isCaseSensitive:n,ignoreDiacritics:o}=this.options;e=n?e:e.toLowerCase(),e=o?kt(e):e;let a=0,l=[],c=0;for(let d=0,f=r.length;d<f;d+=1){const p=r[d];l.length=0,a=0;for(let v=0,b=p.length;v<b;v+=1){const x=p[v],{isMatch:k,indices:P,score:$}=x.search(e);if(k){if(a+=1,c+=$,i){const I=x.constructor.type;_n.has(I)?l=[...l,...P]:l.push(P)}}else{c=0,a=0,l.length=0;break}}if(a){let v={isMatch:!0,score:c/a};return i&&(v.indices=l),v}}return{isMatch:!1,score:1}}}const fr=[];function $n(...t){fr.push(...t)}function mr(t,e){for(let r=0,i=fr.length;r<i;r+=1){let n=fr[r];if(n.condition(t,e))return new n(t,e)}return new gi(t,e)}const _t={AND:"$and",OR:"$or"},gr={PATH:"$path",PATTERN:"$val"},br=t=>!!(t[_t.AND]||t[_t.OR]),An=t=>!!t[gr.PATH],Mn=t=>!$0(t)&&di(t)&&!br(t),wi=t=>({[_t.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function xi(t,e,{auto:r=!0}={}){const i=n=>{let o=Object.keys(n);const a=An(n);if(!a&&o.length>1&&!br(n))return i(wi(n));if(Mn(n)){const c=a?n[gr.PATH]:o[0],d=a?n[gr.PATTERN]:n[c];if(!m0(d))throw new Error(rn(c));const f={keyId:ur(c),pattern:d};return r&&(f.searcher=mr(d,e)),f}let l={children:[],operator:o[0]};return o.forEach(c=>{const d=n[c];$0(d)&&d.forEach(f=>{l.children.push(i(f))})}),l};return br(t)||(t=wi(t)),i(t)}function zn(t,{ignoreFieldNorm:e=r2.ignoreFieldNorm}){t.forEach(r=>{let i=1;r.matches.forEach(({key:n,norm:o,score:a})=>{const l=n?n.weight:null;i*=Math.pow(a===0&&l?Number.EPSILON:a,(l||1)*(e?1:o))}),r.score=i})}function Sn(t,e){const r=t.matches;e.matches=[],t0(r)&&r.forEach(i=>{if(!t0(i.indices)||!i.indices.length)return;const{indices:n,value:o}=i;let a={indices:n,value:o};i.key&&(a.key=i.key.src),i.idx>-1&&(a.refIndex=i.idx),e.matches.push(a)})}function En(t,e){e.score=t.score}function Dn(t,e,{includeMatches:r=r2.includeMatches,includeScore:i=r2.includeScore}={}){const n=[];return r&&n.push(Sn),i&&n.push(En),t.map(o=>{const{idx:a}=o,l={item:e[a],refIndex:a};return n.length&&n.forEach(c=>{c(o,l)}),l})}class O0{constructor(e,r={},i){this.options={...r2,...r},this.options.useExtendedSearch,this._keyStore=new sn(this.options.keys),this.setCollection(e,i)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof pr))throw new Error(tn);this._myIndex=r||mi(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){t0(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let i=0,n=this._docs.length;i<n;i+=1){const o=this._docs[i];e(o,i)&&(this.removeAt(i),i-=1,n-=1,r.push(o))}return r}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:r=-1}={}){const{includeMatches:i,includeScore:n,shouldSort:o,sortFn:a,ignoreFieldNorm:l}=this.options;let c=m0(e)?m0(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return zn(c,{ignoreFieldNorm:l}),o&&c.sort(a),ci(r)&&r>-1&&(c=c.slice(0,r)),Dn(c,this._docs,{includeMatches:i,includeScore:n})}_searchStringList(e){const r=mr(e,this.options),{records:i}=this._myIndex,n=[];return i.forEach(({v:o,i:a,n:l})=>{if(!t0(o))return;const{isMatch:c,score:d,indices:f}=r.searchIn(o);c&&n.push({item:o,idx:a,matches:[{score:d,value:o,norm:l,indices:f}]})}),n}_searchLogical(e){const r=xi(e,this.options),i=(l,c,d)=>{if(!l.children){const{keyId:p,searcher:v}=l,b=this._findMatches({key:this._keyStore.get(p),value:this._myIndex.getValueForItemAtKeyId(c,p),searcher:v});return b&&b.length?[{idx:d,item:c,matches:b}]:[]}const f=[];for(let p=0,v=l.children.length;p<v;p+=1){const b=l.children[p],x=i(b,c,d);if(x.length)f.push(...x);else if(l.operator===_t.AND)return[]}return f},n=this._myIndex.records,o={},a=[];return n.forEach(({$:l,i:c})=>{if(t0(l)){let d=i(r,l,c);d.length&&(o[c]||(o[c]={idx:c,item:l,matches:[]},a.push(o[c])),d.forEach(({matches:f})=>{o[c].matches.push(...f)}))}}),a}_searchObjectList(e){const r=mr(e,this.options),{keys:i,records:n}=this._myIndex,o=[];return n.forEach(({$:a,i:l})=>{if(!t0(a))return;let c=[];i.forEach((d,f)=>{c.push(...this._findMatches({key:d,value:a[f],searcher:r}))}),c.length&&o.push({idx:l,item:a,matches:c})}),o}_findMatches({key:e,value:r,searcher:i}){if(!t0(r))return[];let n=[];if($0(r))r.forEach(({v:o,i:a,n:l})=>{if(!t0(o))return;const{isMatch:c,score:d,indices:f}=i.searchIn(o);c&&n.push({score:d,key:e,value:o,idx:a,norm:l,indices:f})});else{const{v:o,n:a}=r,{isMatch:l,score:c,indices:d}=i.searchIn(o);l&&n.push({score:c,key:e,value:o,norm:a,indices:d})}return n}}O0.version="7.1.0",O0.createIndex=mi,O0.parseIndex=un,O0.config=r2,O0.parseQuery=xi,$n(Ln);function ki(t,e){const r=new O0(e.filterProperties,{keys:["title"]});if(!(t.target instanceof HTMLInputElement))return;const i=t.target.value,o=r.search(i).map(a=>a.item.key||a.item.keys.join("|"));Object.keys(e.filters).forEach(a=>{e.querySelector(`[data-details="${a}"]`).parentElement.style.display=o.includes(a)||!i?"":"none"})}function Bn(t,e){if(!(t.target instanceof HTMLElement))return;const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const vr=Math.min,me=Math.max,Lt=Math.round,$t=Math.floor,g0=t=>({x:t,y:t});function _i(t){return t.split("-")[0]}function Pn(t){return t.split("-")[1]}function Tn(t){return t==="x"?"y":"x"}function Rn(t){return t==="y"?"height":"width"}const Fn=new Set(["top","bottom"]);function Li(t){return Fn.has(_i(t))?"y":"x"}function On(t){return Tn(Li(t))}function $i(t){const{x:e,y:r,width:i,height:n}=t;return{width:i,height:n,top:r,left:e,right:e+i,bottom:r+n,x:e,y:r}}function Ai(t,e,r){let{reference:i,floating:n}=t;const o=Li(e),a=On(e),l=Rn(a),c=_i(e),d=o==="y",f=i.x+i.width/2-n.width/2,p=i.y+i.height/2-n.height/2,v=i[l]/2-n[l]/2;let b;switch(c){case"top":b={x:f,y:i.y-n.height};break;case"bottom":b={x:f,y:i.y+i.height};break;case"right":b={x:i.x+i.width,y:p};break;case"left":b={x:i.x-n.width,y:p};break;default:b={x:i.x,y:i.y}}switch(Pn(e)){case"start":b[a]-=v*(r&&d?-1:1);break;case"end":b[a]+=v*(r&&d?-1:1);break}return b}const Hn=async(t,e,r)=>{const{placement:i="bottom",strategy:n="absolute",middleware:o=[],platform:a}=r,l=o.filter(Boolean),c=await(a.isRTL==null?void 0:a.isRTL(e));let d=await a.getElementRects({reference:t,floating:e,strategy:n}),{x:f,y:p}=Ai(d,i,c),v=i,b={},x=0;for(let k=0;k<l.length;k++){const{name:P,fn:$}=l[k],{x:I,y:Z,data:U,reset:S}=await $({x:f,y:p,initialPlacement:i,placement:v,strategy:n,middlewareData:b,rects:d,platform:a,elements:{reference:t,floating:e}});f=I??f,p=Z??p,b={...b,[P]:{...b[P],...U}},S&&x<=50&&(x++,typeof S=="object"&&(S.placement&&(v=S.placement),S.rects&&(d=S.rects===!0?await a.getElementRects({reference:t,floating:e,strategy:n}):S.rects),{x:f,y:p}=Ai(d,v,c)),k=-1)}return{x:f,y:p,placement:v,strategy:n,middlewareData:b}};function At(){return typeof window<"u"}function ge(t){return Mi(t)?(t.nodeName||"").toLowerCase():"#document"}function r0(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function b0(t){var e;return(e=(Mi(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function Mi(t){return At()?t instanceof Node||t instanceof r0(t).Node:!1}function h0(t){return At()?t instanceof Element||t instanceof r0(t).Element:!1}function v0(t){return At()?t instanceof HTMLElement||t instanceof r0(t).HTMLElement:!1}function zi(t){return!At()||typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof r0(t).ShadowRoot}const jn=new Set(["inline","contents"]);function Ue(t){const{overflow:e,overflowX:r,overflowY:i,display:n}=f0(t);return/auto|scroll|overlay|hidden|clip/.test(e+i+r)&&!jn.has(n)}const Nn=new Set(["table","td","th"]);function In(t){return Nn.has(ge(t))}const Vn=[":popover-open",":modal"];function Mt(t){return Vn.some(e=>{try{return t.matches(e)}catch{return!1}})}const Zn=["transform","translate","scale","rotate","perspective"],Un=["transform","translate","scale","rotate","perspective","filter"],qn=["paint","layout","strict","content"];function yr(t){const e=Cr(),r=h0(t)?f0(t):t;return Zn.some(i=>r[i]?r[i]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||Un.some(i=>(r.willChange||"").includes(i))||qn.some(i=>(r.contain||"").includes(i))}function Wn(t){let e=H0(t);for(;v0(e)&&!be(e);){if(yr(e))return e;if(Mt(e))return null;e=H0(e)}return null}function Cr(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Yn=new Set(["html","body","#document"]);function be(t){return Yn.has(ge(t))}function f0(t){return r0(t).getComputedStyle(t)}function zt(t){return h0(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function H0(t){if(ge(t)==="html")return t;const e=t.assignedSlot||t.parentNode||zi(t)&&t.host||b0(t);return zi(e)?e.host:e}function Si(t){const e=H0(t);return be(e)?t.ownerDocument?t.ownerDocument.body:t.body:v0(e)&&Ue(e)?e:Si(e)}function qe(t,e,r){var i;e===void 0&&(e=[]),r===void 0&&(r=!0);const n=Si(t),o=n===((i=t.ownerDocument)==null?void 0:i.body),a=r0(n);if(o){const l=wr(a);return e.concat(a,a.visualViewport||[],Ue(n)?n:[],l&&r?qe(l):[])}return e.concat(n,qe(n,[],r))}function wr(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function Ei(t){const e=f0(t);let r=parseFloat(e.width)||0,i=parseFloat(e.height)||0;const n=v0(t),o=n?t.offsetWidth:r,a=n?t.offsetHeight:i,l=Lt(r)!==o||Lt(i)!==a;return l&&(r=o,i=a),{width:r,height:i,$:l}}function xr(t){return h0(t)?t:t.contextElement}function ve(t){const e=xr(t);if(!v0(e))return g0(1);const r=e.getBoundingClientRect(),{width:i,height:n,$:o}=Ei(e);let a=(o?Lt(r.width):r.width)/i,l=(o?Lt(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Kn=g0(0);function Di(t){const e=r0(t);return!Cr()||!e.visualViewport?Kn:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Gn(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==r0(t)?!1:e}function J0(t,e,r,i){e===void 0&&(e=!1),r===void 0&&(r=!1);const n=t.getBoundingClientRect(),o=xr(t);let a=g0(1);e&&(i?h0(i)&&(a=ve(i)):a=ve(t));const l=Gn(o,r,i)?Di(o):g0(0);let c=(n.left+l.x)/a.x,d=(n.top+l.y)/a.y,f=n.width/a.x,p=n.height/a.y;if(o){const v=r0(o),b=i&&h0(i)?r0(i):i;let x=v,k=wr(x);for(;k&&i&&b!==x;){const P=ve(k),$=k.getBoundingClientRect(),I=f0(k),Z=$.left+(k.clientLeft+parseFloat(I.paddingLeft))*P.x,U=$.top+(k.clientTop+parseFloat(I.paddingTop))*P.y;c*=P.x,d*=P.y,f*=P.x,p*=P.y,c+=Z,d+=U,x=r0(k),k=wr(x)}}return $i({width:f,height:p,x:c,y:d})}function St(t,e){const r=zt(t).scrollLeft;return e?e.left+r:J0(b0(t)).left+r}function Bi(t,e){const r=t.getBoundingClientRect(),i=r.left+e.scrollLeft-St(t,r),n=r.top+e.scrollTop;return{x:i,y:n}}function Xn(t){let{elements:e,rect:r,offsetParent:i,strategy:n}=t;const o=n==="fixed",a=b0(i),l=e?Mt(e.floating):!1;if(i===a||l&&o)return r;let c={scrollLeft:0,scrollTop:0},d=g0(1);const f=g0(0),p=v0(i);if((p||!p&&!o)&&((ge(i)!=="body"||Ue(a))&&(c=zt(i)),v0(i))){const b=J0(i);d=ve(i),f.x=b.x+i.clientLeft,f.y=b.y+i.clientTop}const v=a&&!p&&!o?Bi(a,c):g0(0);return{width:r.width*d.x,height:r.height*d.y,x:r.x*d.x-c.scrollLeft*d.x+f.x+v.x,y:r.y*d.y-c.scrollTop*d.y+f.y+v.y}}function Jn(t){return Array.from(t.getClientRects())}function Qn(t){const e=b0(t),r=zt(t),i=t.ownerDocument.body,n=me(e.scrollWidth,e.clientWidth,i.scrollWidth,i.clientWidth),o=me(e.scrollHeight,e.clientHeight,i.scrollHeight,i.clientHeight);let a=-r.scrollLeft+St(t);const l=-r.scrollTop;return f0(i).direction==="rtl"&&(a+=me(e.clientWidth,i.clientWidth)-n),{width:n,height:o,x:a,y:l}}const Pi=25;function eo(t,e){const r=r0(t),i=b0(t),n=r.visualViewport;let o=i.clientWidth,a=i.clientHeight,l=0,c=0;if(n){o=n.width,a=n.height;const f=Cr();(!f||f&&e==="fixed")&&(l=n.offsetLeft,c=n.offsetTop)}const d=St(i);if(d<=0){const f=i.ownerDocument,p=f.body,v=getComputedStyle(p),b=f.compatMode==="CSS1Compat"&&parseFloat(v.marginLeft)+parseFloat(v.marginRight)||0,x=Math.abs(i.clientWidth-p.clientWidth-b);x<=Pi&&(o-=x)}else d<=Pi&&(o+=d);return{width:o,height:a,x:l,y:c}}const to=new Set(["absolute","fixed"]);function ro(t,e){const r=J0(t,!0,e==="fixed"),i=r.top+t.clientTop,n=r.left+t.clientLeft,o=v0(t)?ve(t):g0(1),a=t.clientWidth*o.x,l=t.clientHeight*o.y,c=n*o.x,d=i*o.y;return{width:a,height:l,x:c,y:d}}function Ti(t,e,r){let i;if(e==="viewport")i=eo(t,r);else if(e==="document")i=Qn(b0(t));else if(h0(e))i=ro(e,r);else{const n=Di(t);i={x:e.x-n.x,y:e.y-n.y,width:e.width,height:e.height}}return $i(i)}function Ri(t,e){const r=H0(t);return r===e||!h0(r)||be(r)?!1:f0(r).position==="fixed"||Ri(r,e)}function io(t,e){const r=e.get(t);if(r)return r;let i=qe(t,[],!1).filter(l=>h0(l)&&ge(l)!=="body"),n=null;const o=f0(t).position==="fixed";let a=o?H0(t):t;for(;h0(a)&&!be(a);){const l=f0(a),c=yr(a);!c&&l.position==="fixed"&&(n=null),(o?!c&&!n:!c&&l.position==="static"&&!!n&&to.has(n.position)||Ue(a)&&!c&&Ri(t,a))?i=i.filter(f=>f!==a):n=l,a=H0(a)}return e.set(t,i),i}function no(t){let{element:e,boundary:r,rootBoundary:i,strategy:n}=t;const a=[...r==="clippingAncestors"?Mt(e)?[]:io(e,this._c):[].concat(r),i],l=a[0],c=a.reduce((d,f)=>{const p=Ti(e,f,n);return d.top=me(p.top,d.top),d.right=vr(p.right,d.right),d.bottom=vr(p.bottom,d.bottom),d.left=me(p.left,d.left),d},Ti(e,l,n));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function oo(t){const{width:e,height:r}=Ei(t);return{width:e,height:r}}function ao(t,e,r){const i=v0(e),n=b0(e),o=r==="fixed",a=J0(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const c=g0(0);function d(){c.x=St(n)}if(i||!i&&!o)if((ge(e)!=="body"||Ue(n))&&(l=zt(e)),i){const b=J0(e,!0,o,e);c.x=b.x+e.clientLeft,c.y=b.y+e.clientTop}else n&&d();o&&!i&&n&&d();const f=n&&!i&&!o?Bi(n,l):g0(0),p=a.left+l.scrollLeft-c.x-f.x,v=a.top+l.scrollTop-c.y-f.y;return{x:p,y:v,width:a.width,height:a.height}}function kr(t){return f0(t).position==="static"}function Fi(t,e){if(!v0(t)||f0(t).position==="fixed")return null;if(e)return e(t);let r=t.offsetParent;return b0(t)===r&&(r=r.ownerDocument.body),r}function Oi(t,e){const r=r0(t);if(Mt(t))return r;if(!v0(t)){let n=H0(t);for(;n&&!be(n);){if(h0(n)&&!kr(n))return n;n=H0(n)}return r}let i=Fi(t,e);for(;i&&In(i)&&kr(i);)i=Fi(i,e);return i&&be(i)&&kr(i)&&!yr(i)?r:i||Wn(t)||r}const so=async function(t){const e=this.getOffsetParent||Oi,r=this.getDimensions,i=await r(t.floating);return{reference:ao(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:i.width,height:i.height}}};function lo(t){return f0(t).direction==="rtl"}const co={convertOffsetParentRelativeRectToViewportRelativeRect:Xn,getDocumentElement:b0,getClippingRect:no,getOffsetParent:Oi,getElementRects:so,getClientRects:Jn,getDimensions:oo,getScale:ve,isElement:h0,isRTL:lo};function Hi(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function uo(t,e){let r=null,i;const n=b0(t);function o(){var l;clearTimeout(i),(l=r)==null||l.disconnect(),r=null}function a(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),o();const d=t.getBoundingClientRect(),{left:f,top:p,width:v,height:b}=d;if(l||e(),!v||!b)return;const x=$t(p),k=$t(n.clientWidth-(f+v)),P=$t(n.clientHeight-(p+b)),$=$t(f),Z={rootMargin:-x+"px "+-k+"px "+-P+"px "+-$+"px",threshold:me(0,vr(1,c))||1};let U=!0;function S(K){const G=K[0].intersectionRatio;if(G!==c){if(!U)return a();G?a(!1,G):i=setTimeout(()=>{a(!1,1e-7)},1e3)}G===1&&!Hi(d,t.getBoundingClientRect())&&a(),U=!1}try{r=new IntersectionObserver(S,{...Z,root:n.ownerDocument})}catch{r=new IntersectionObserver(S,Z)}r.observe(t)}return a(!0),o}function po(t,e,r,i){i===void 0&&(i={});const{ancestorScroll:n=!0,ancestorResize:o=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=i,d=xr(t),f=n||o?[...d?qe(d):[],...qe(e)]:[];f.forEach($=>{n&&$.addEventListener("scroll",r,{passive:!0}),o&&$.addEventListener("resize",r)});const p=d&&l?uo(d,r):null;let v=-1,b=null;a&&(b=new ResizeObserver($=>{let[I]=$;I&&I.target===d&&b&&(b.unobserve(e),cancelAnimationFrame(v),v=requestAnimationFrame(()=>{var Z;(Z=b)==null||Z.observe(e)})),r()}),d&&!c&&b.observe(d),b.observe(e));let x,k=c?J0(t):null;c&&P();function P(){const $=J0(t);k&&!Hi(k,$)&&r(),k=$,x=requestAnimationFrame(P)}return r(),()=>{var $;f.forEach(I=>{n&&I.removeEventListener("scroll",r),o&&I.removeEventListener("resize",r)}),p?.(),($=b)==null||$.disconnect(),b=null,c&&cancelAnimationFrame(x)}}const ho=(t,e,r)=>{const i=new Map,n={platform:co,...r},o={...n.platform,_c:i};return Hn(t,e,{...n,platform:o})};function fo(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return po(e,r,()=>{r.matches(":popover-open")&&ho(e,r,{strategy:"fixed"}).then(({x:n,y:o})=>{Object.assign(r.style,{left:`${n}px`,top:`${o}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function ji(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",ki({target:{value:""}},t)}function mo(t,e){e.inlineMode&&t.stopPropagation()}function go(t){t.inlineMode&&(t.showDropdown=!0)}function bo(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function vo(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(ji(e),e.showDropdown=!1)}function yo(t,e){e.inlineMode&&t.target instanceof HTMLElement&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(ji(e),e.showDropdown=!1)}const A0=11102230246251565e-32,I2=134217729,Co=(3+8*A0)*A0;function _r(t,e,r,i,n){let o,a,l,c,d=e[0],f=i[0],p=0,v=0;f>d==f>-d?(o=d,d=e[++p]):(o=f,f=i[++v]);let b=0;if(p<t&&v<r)for(f>d==f>-d?(a=d+o,l=o-(a-d),d=e[++p]):(a=f+o,l=o-(a-f),f=i[++v]),o=a,l!==0&&(n[b++]=l);p<t&&v<r;)f>d==f>-d?(a=o+d,c=a-o,l=o-(a-c)+(d-c),d=e[++p]):(a=o+f,c=a-o,l=o-(a-c)+(f-c),f=i[++v]),o=a,l!==0&&(n[b++]=l);for(;p<t;)a=o+d,c=a-o,l=o-(a-c)+(d-c),d=e[++p],o=a,l!==0&&(n[b++]=l);for(;v<r;)a=o+f,c=a-o,l=o-(a-c)+(f-c),f=i[++v],o=a,l!==0&&(n[b++]=l);return(o!==0||b===0)&&(n[b++]=o),b}function wo(t,e){let r=e[0];for(let i=1;i<t;i++)r+=e[i];return r}function We(t){return new Float64Array(t)}const xo=(3+16*A0)*A0,ko=(2+12*A0)*A0,_o=(9+64*A0)*A0*A0,ye=We(4),Ni=We(8),Ii=We(12),Vi=We(16),X2=We(4);function Lo(t,e,r,i,n,o,a){let l,c,d,f,p,v,b,x,k,P,$,I,Z,U,S,K,G,a2;const d2=t-n,s2=r-n,q=e-o,l2=i-o;U=d2*l2,v=I2*d2,b=v-(v-d2),x=d2-b,v=I2*l2,k=v-(v-l2),P=l2-k,S=x*P-(U-b*k-x*k-b*P),K=q*s2,v=I2*q,b=v-(v-q),x=q-b,v=I2*s2,k=v-(v-s2),P=s2-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,ye[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,ye[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,ye[2]=I-(a2-p)+($-p),ye[3]=a2;let y2=wo(4,ye),D=ko*a;if(y2>=D||-y2>=D||(p=t-d2,l=t-(d2+p)+(p-n),p=r-s2,d=r-(s2+p)+(p-n),p=e-q,c=e-(q+p)+(p-o),p=i-l2,f=i-(l2+p)+(p-o),l===0&&c===0&&d===0&&f===0)||(D=_o*a+Co*Math.abs(y2),y2+=d2*f+l2*l-(q*d+s2*c),y2>=D||-y2>=D))return y2;U=l*l2,v=I2*l,b=v-(v-l),x=l-b,v=I2*l2,k=v-(v-l2),P=l2-k,S=x*P-(U-b*k-x*k-b*P),K=c*s2,v=I2*c,b=v-(v-c),x=c-b,v=I2*s2,k=v-(v-s2),P=s2-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const z=_r(4,ye,4,X2,Ni);U=d2*f,v=I2*d2,b=v-(v-d2),x=d2-b,v=I2*f,k=v-(v-f),P=f-k,S=x*P-(U-b*k-x*k-b*P),K=q*d,v=I2*q,b=v-(v-q),x=q-b,v=I2*d,k=v-(v-d),P=d-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const M=_r(z,Ni,4,X2,Ii);U=l*f,v=I2*l,b=v-(v-l),x=l-b,v=I2*f,k=v-(v-f),P=f-k,S=x*P-(U-b*k-x*k-b*P),K=c*d,v=I2*c,b=v-(v-c),x=c-b,v=I2*d,k=v-(v-d),P=d-k,G=x*P-(K-b*k-x*k-b*P),$=S-G,p=S-$,X2[0]=S-($+p)+(p-G),I=U+$,p=I-U,Z=U-(I-p)+($-p),$=Z-K,p=Z-$,X2[1]=Z-($+p)+(p-K),a2=I+$,p=a2-I,X2[2]=I-(a2-p)+($-p),X2[3]=a2;const N=_r(M,Ii,4,X2,Vi);return Vi[N-1]}function $o(t,e,r,i,n,o){const a=(e-o)*(r-n),l=(t-n)*(i-o),c=a-l,d=Math.abs(a+l);return Math.abs(c)>=xo*d?c:-Lo(t,e,r,i,n,o,d)}function Ao(t,e){var r,i,n=0,o,a,l,c,d,f,p,v=t[0],b=t[1],x=e.length;for(r=0;r<x;r++){i=0;var k=e[r],P=k.length-1;if(f=k[0],f[0]!==k[P][0]&&f[1]!==k[P][1])throw new Error("First and last coordinates in a ring must be the same");for(a=f[0]-v,l=f[1]-b,i;i<P;i++){if(p=k[i+1],c=p[0]-v,d=p[1]-b,l===0&&d===0){if(c<=0&&a>=0||a<=0&&c>=0)return 0}else if(d>=0&&l<=0||d<=0&&l>=0){if(o=$o(a,c,l,d,0,0),o===0)return 0;(o>0&&d>0&&l<=0||o<0&&d<=0&&l>0)&&n++}f=p,l=d,a=c}}return n%2!==0}function Q0(t,e,r={}){const i={type:"Feature"};return(r.id===0||r.id)&&(i.id=r.id),r.bbox&&(i.bbox=r.bbox),i.properties=e||{},i.geometry=t,i}function Mo(t,e,r={}){if(!t)throw new Error("coordinates is required");if(!Array.isArray(t))throw new Error("coordinates must be an Array");if(t.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!Zi(t[0])||!Zi(t[1]))throw new Error("coordinates must contain numbers");return Q0({type:"Point",coordinates:t},e,r)}function zo(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return Q0({type:"LineString",coordinates:t},e,r)}function Lr(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}function So(t,e,r={}){return Q0({type:"MultiLineString",coordinates:t},e,r)}function Zi(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function Ui(t){if(!t)throw new Error("coord is required");if(!Array.isArray(t)){if(t.type==="Feature"&&t.geometry!==null&&t.geometry.type==="Point")return[...t.geometry.coordinates];if(t.type==="Point")return[...t.coordinates]}if(Array.isArray(t)&&t.length>=2&&!Array.isArray(t[0])&&!Array.isArray(t[1]))return[...t];throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Eo(t){if(Array.isArray(t))return t;if(t.type==="Feature"){if(t.geometry!==null)return t.geometry.coordinates}else if(t.coordinates)return t.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Ce(t){return t.type==="Feature"?t.geometry:t}function c0(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const i=Ui(t),n=Ce(e),o=n.type,a=e.bbox;let l=n.coordinates;if(a&&Do(i,a)===!1)return!1;o==="Polygon"&&(l=[l]);let c=!1;for(var d=0;d<l.length;++d){const f=Ao(i,l[d]);if(f===0)return!r.ignoreBoundary;f&&(c=!0)}return c}function Do(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class qi{constructor(e=[],r=Bo){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let i=(this.length>>1)-1;i>=0;i--)this._down(i)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],r=this.data.pop();return this.length--,this.length>0&&(this.data[0]=r,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:r,compare:i}=this,n=r[e];for(;e>0;){const o=e-1>>1,a=r[o];if(i(n,a)>=0)break;r[e]=a,e=o}r[e]=n}_down(e){const{data:r,compare:i}=this,n=this.length>>1,o=r[e];for(;e<n;){let a=(e<<1)+1,l=r[a];const c=a+1;if(c<this.length&&i(r[c],l)<0&&(a=c,l=r[c]),i(l,o)>=0)break;r[e]=l,e=a}r[e]=o}}function Bo(t,e){return t<e?-1:t>e?1:0}function Wi(t,e){return t.p.x>e.p.x?1:t.p.x<e.p.x?-1:t.p.y!==e.p.y?t.p.y>e.p.y?1:-1:1}function Po(t,e){return t.rightSweepEvent.p.x>e.rightSweepEvent.p.x?1:t.rightSweepEvent.p.x<e.rightSweepEvent.p.x?-1:t.rightSweepEvent.p.y!==e.rightSweepEvent.p.y?t.rightSweepEvent.p.y<e.rightSweepEvent.p.y?1:-1:1}class Yi{constructor(e,r,i,n){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=i,this.eventId=n,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function To(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let i=0;i<r.length;i++)Ki(r[i],e)}else Ki(t,e)}let Et=0,Dt=0,Bt=0;function Ki(t,e){const r=t.type==="Feature"?t.geometry:t;let i=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(i=[i]),r.type==="LineString"&&(i=[[i]]);for(let n=0;n<i.length;n++)for(let o=0;o<i[n].length;o++){let a=i[n][o][0],l=null;Dt=Dt+1;for(let c=0;c<i[n][o].length-1;c++){l=i[n][o][c+1];const d=new Yi(a,Et,Dt,Bt),f=new Yi(l,Et,Dt,Bt+1);d.otherEvent=f,f.otherEvent=d,Wi(d,f)>0?(f.isLeftEndpoint=!0,d.isLeftEndpoint=!1):(d.isLeftEndpoint=!0,f.isLeftEndpoint=!1),e.push(d),e.push(f),a=l,Bt=Bt+1}}Et=Et+1}class Ro{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Fo(t,e){if(t===null||e===null||t.leftSweepEvent.ringId===e.leftSweepEvent.ringId&&(t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.leftSweepEvent)||t.rightSweepEvent.isSamePoint(e.rightSweepEvent)||t.leftSweepEvent.isSamePoint(e.leftSweepEvent)||t.leftSweepEvent.isSamePoint(e.rightSweepEvent)))return!1;const r=t.leftSweepEvent.p.x,i=t.leftSweepEvent.p.y,n=t.rightSweepEvent.p.x,o=t.rightSweepEvent.p.y,a=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,d=e.rightSweepEvent.p.y,f=(d-l)*(n-r)-(c-a)*(o-i),p=(c-a)*(i-l)-(d-l)*(r-a),v=(n-r)*(i-l)-(o-i)*(r-a);if(f===0)return!1;const b=p/f,x=v/f;if(b>=0&&b<=1&&x>=0&&x<=1){const k=r+b*(n-r),P=i+b*(o-i);return[k,P]}return!1}function Oo(t,e){e=e||!1;const r=[],i=new qi([],Po);for(;t.length;){const n=t.pop();if(n.isLeftEndpoint){const o=new Ro(n);for(let a=0;a<i.data.length;a++){const l=i.data[a];if(e&&l.leftSweepEvent.featureId===n.featureId)continue;const c=Fo(o,l);c!==!1&&r.push(c)}i.push(o)}else n.isLeftEndpoint===!1&&i.pop()}return r}function Ho(t,e){const r=new qi([],Wi);return To(t,r),Oo(r,e)}var jo=Ho;function $r(t,e,r={}){const{removeDuplicates:i=!0,ignoreSelfIntersections:n=!0}=r;let o=[];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(Q0(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(Q0(e));const a=jo(Lr(o),n);let l=[];if(i){const c={};a.forEach(d=>{const f=d.join(",");c[f]||(c[f]=!0,l.push(d))})}else l=a;return Lr(l.map(c=>Mo(c)))}function Gi(t,e,r){if(t!==null)for(var i,n,o,a,l,c,d,f=0,p=0,v,b=t.type,x=b==="FeatureCollection",k=b==="Feature",P=x?t.features.length:1,$=0;$<P;$++){d=x?t.features[$].geometry:k?t.geometry:t,v=d?d.type==="GeometryCollection":!1,l=v?d.geometries.length:1;for(var I=0;I<l;I++){var Z=0,U=0;if(a=v?d.geometries[I]:d,a!==null){c=a.coordinates;var S=a.type;switch(f=0,S){case null:break;case"Point":if(e(c,p,$,Z,U)===!1)return!1;p++,Z++;break;case"LineString":case"MultiPoint":for(i=0;i<c.length;i++){if(e(c[i],p,$,Z,U)===!1)return!1;p++,S==="MultiPoint"&&Z++}S==="LineString"&&Z++;break;case"Polygon":case"MultiLineString":for(i=0;i<c.length;i++){for(n=0;n<c[i].length-f;n++){if(e(c[i][n],p,$,Z,U)===!1)return!1;p++}S==="MultiLineString"&&Z++,S==="Polygon"&&U++}S==="Polygon"&&Z++;break;case"MultiPolygon":for(i=0;i<c.length;i++){for(U=0,n=0;n<c[i].length;n++){for(o=0;o<c[i][n].length-f;o++){if(e(c[i][n][o],p,$,Z,U)===!1)return!1;p++}U++}Z++}break;case"GeometryCollection":for(i=0;i<a.geometries.length;i++)if(Gi(a.geometries[i],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function No(t,e){var r,i,n,o,a,l,c,d,f,p,v=0,b=t.type==="FeatureCollection",x=t.type==="Feature",k=b?t.features.length:1;for(r=0;r<k;r++){for(l=b?t.features[r].geometry:x?t.geometry:t,d=b?t.features[r].properties:x?t.properties:{},f=b?t.features[r].bbox:x?t.bbox:void 0,p=b?t.features[r].id:x?t.id:void 0,c=l?l.type==="GeometryCollection":!1,a=c?l.geometries.length:1,n=0;n<a;n++){if(o=c?l.geometries[n]:l,o===null){if(e(null,v,d,f,p)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,v,d,f,p)===!1)return!1;break}case"GeometryCollection":{for(i=0;i<o.geometries.length;i++)if(e(o.geometries[i],v,d,f,p)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}v++}}function Pt(t,e){No(t,function(r,i,n,o,a){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(Q0(r,n,{bbox:o,id:a}),i,0)===!1?!1:void 0}var c;switch(l){case"MultiPoint":c="Point";break;case"MultiLineString":c="LineString";break;case"MultiPolygon":c="Polygon";break}for(var d=0;d<r.coordinates.length;d++){var f=r.coordinates[d],p={type:c,coordinates:f};if(e(Q0(p,n),i,d)===!1)return!1}})}function Ar(t,e={}){const r=Ce(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return Io(r,e);case"MultiPolygon":return Vo(r,e);default:throw new Error("invalid poly")}}function Io(t,e={}){const i=Ce(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{};return Xi(i,n)}function Vo(t,e={}){const i=Ce(t).coordinates,n=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return i.forEach(a=>{o.push(Xi(a,n))}),Lr(o)}function Xi(t,e){return t.length>1?So(t,e):zo(t[0],e)}function Zo(t,e,{ignoreSelfIntersections:r=!0}={ignoreSelfIntersections:!0}){let i=!0;return Pt(t,n=>{Pt(e,o=>{if(i===!1)return!1;i=Uo(n.geometry,o.geometry,r)})}),i}function Uo(t,e,r){switch(t.type){case"Point":switch(e.type){case"Point":return!Ko(t.coordinates,e.coordinates);case"LineString":return!Ji(e,t);case"Polygon":return!c0(t,e)}break;case"LineString":switch(e.type){case"Point":return!Ji(t,e);case"LineString":return!qo(t,e,r);case"Polygon":return!Qi(e,t,r)}break;case"Polygon":switch(e.type){case"Point":return!c0(e,t);case"LineString":return!Qi(t,e,r);case"Polygon":return!Wo(e,t,r)}}return!1}function Ji(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(Yo(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}function qo(t,e,r){return $r(t,e,{ignoreSelfIntersections:r}).features.length>0}function Qi(t,e,r){for(const n of e.coordinates)if(c0(n,t))return!0;return $r(e,Ar(t),{ignoreSelfIntersections:r}).features.length>0}function Wo(t,e,r){for(const n of t.coordinates[0])if(c0(n,e))return!0;for(const n of e.coordinates[0])if(c0(n,t))return!0;return $r(Ar(t),Ar(e),{ignoreSelfIntersections:r}).features.length>0}function Yo(t,e,r){const i=r[0]-t[0],n=r[1]-t[1],o=e[0]-t[0],a=e[1]-t[1];return i*a-n*o!==0?!1:Math.abs(o)>=Math.abs(a)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:a>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}function Ko(t,e){return t[0]===e[0]&&t[1]===e[1]}function Go(t,e,{ignoreSelfIntersections:r=!0}={}){let i=!1;return Pt(t,n=>{Pt(e,o=>{if(i===!0)return!0;i=!Zo(n.geometry,o.geometry,{ignoreSelfIntersections:r})})}),i}var Xo=Go;function Tt(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Gi(t,i=>{r[0]>i[0]&&(r[0]=i[0]),r[1]>i[1]&&(r[1]=i[1]),r[2]<i[0]&&(r[2]=i[0]),r[3]<i[1]&&(r[3]=i[1])}),r}function Rt(t,e,r={}){const i=Ui(t),n=Eo(e);for(let o=0;o<n.length-1;o++){let a=!1;if(r.ignoreEndVertices&&(o===0&&(a="start"),o===n.length-2&&(a="end"),o===0&&o+1===n.length-1&&(a="both")),Jo(n[o],n[o+1],i,a,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}function Jo(t,e,r,i,n){const o=r[0],a=r[1],l=t[0],c=t[1],d=e[0],f=e[1],p=r[0]-l,v=r[1]-c,b=d-l,x=f-c,k=p*x-v*b;if(n!==null){if(Math.abs(k)>n)return!1}else if(k!==0)return!1;if(Math.abs(b)===Math.abs(x)&&Math.abs(b)===0)return i?!1:r[0]===t[0]&&r[1]===t[1];if(i){if(i==="start")return Math.abs(b)>=Math.abs(x)?b>0?l<o&&o<=d:d<=o&&o<l:x>0?c<a&&a<=f:f<=a&&a<c;if(i==="end")return Math.abs(b)>=Math.abs(x)?b>0?l<=o&&o<d:d<o&&o<=l:x>0?c<=a&&a<f:f<a&&a<=c;if(i==="both")return Math.abs(b)>=Math.abs(x)?b>0?l<o&&o<d:d<o&&o<l:x>0?c<a&&a<f:f<a&&a<c}else return Math.abs(b)>=Math.abs(x)?b>0?l<=o&&o<=d:d<=o&&o<=l:x>0?c<=a&&a<=f:f<=a&&a<=c;return!1}function Qo(t,e){var r=Ce(t),i=Ce(e),n=r.type,o=i.type;switch(n){case"Point":switch(o){case"MultiPoint":return ea(r,i);case"LineString":return Rt(r,i,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return c0(r,i,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return ta(r,i);case"LineString":return ra(r,i);case"Polygon":case"MultiPolygon":return ia(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return na(r,i);case"Polygon":case"MultiPolygon":return oa(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return aa(r,i);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+n+" geometry not supported")}}function ea(t,e){var r,i=!1;for(r=0;r<e.coordinates.length;r++)if(t1(e.coordinates[r],t.coordinates)){i=!0;break}return i}function ta(t,e){for(var r=0;r<t.coordinates.length;r++){for(var i=!1,n=0;n<e.coordinates.length;n++)t1(t.coordinates[r],e.coordinates[n])&&(i=!0);if(!i)return!1}return!0}function ra(t,e){for(var r=!1,i=0;i<t.coordinates.length;i++){if(!Rt(t.coordinates[i],e))return!1;r||(r=Rt(t.coordinates[i],e,{ignoreEndVertices:!0}))}return r}function ia(t,e){for(var r=!0,i=!1,n=0;n<t.coordinates.length;n++){if(i=c0(t.coordinates[n],e),!i){r=!1;break}i=c0(t.coordinates[n],e,{ignoreBoundary:!0})}return r&&i}function na(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Rt(t.coordinates[r],e))return!1;return!0}function oa(t,e){var r=Tt(e),i=Tt(t);if(!e1(r,i))return!1;for(var n=!1,o=0;o<t.coordinates.length;o++){if(!c0(t.coordinates[o],e))return!1;if(n||(n=c0(t.coordinates[o],e,{ignoreBoundary:!0})),!n&&o<t.coordinates.length-1){var a=sa(t.coordinates[o],t.coordinates[o+1]);n=c0(a,e,{ignoreBoundary:!0})}}return n}function aa(t,e){var r=Tt(t),i=Tt(e);if(!e1(i,r))return!1;for(var n=0;n<t.coordinates[0].length;n++)if(!c0(t.coordinates[0][n],e))return!1;return!0}function e1(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function t1(t,e){return t[0]===e[0]&&t[1]===e[1]}function sa(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var la=Qo;const ca=(t,e)=>e?Xo(t,e):!0,da=(t,e)=>e?la(t,e):!0;function ua(t,e="highlight",r="title"){const i=(n,o=[])=>{let a="",l=0,c=0;return o.forEach((d,f)=>{const p=d[1]+1;f&&c>d[0]||(c=d[1],a+=[n.substring(l,d[0]),`<mark class="${e}">`,n.substring(d[0],p),"</mark>"].join(""),l=p)}),a+=n.substring(l),a};return t.filter(({matches:n})=>n&&n.length).map(({item:n,matches:o})=>{const a={...n};return o.forEach(l=>{if(l.key!==r)return;const c=i(Ca(l.value),wa(l.indices));a.highlightedText=c}),a})}var d0=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Ft(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Ot={exports:{}},pa=Ot.exports,r1;function ha(){return r1||(r1=1,(function(t,e){(function(r,i){t.exports=i()})(pa,(function(){var r=1e3,i=6e4,n=36e5,o="millisecond",a="second",l="minute",c="hour",d="day",f="week",p="month",v="quarter",b="year",x="date",k="Invalid Date",P=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,$=/\[([^\]]+)]|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,I={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(D){var z=["th","st","nd","rd"],M=D%100;return"["+D+(z[(M-20)%10]||z[M]||z[0])+"]"}},Z=function(D,z,M){var N=String(D);return!N||N.length>=z?D:""+Array(z+1-N.length).join(M)+D},U={s:Z,z:function(D){var z=-D.utcOffset(),M=Math.abs(z),N=Math.floor(M/60),B=M%60;return(z<=0?"+":"-")+Z(N,2,"0")+":"+Z(B,2,"0")},m:function D(z,M){if(z.date()<M.date())return-D(M,z);var N=12*(M.year()-z.year())+(M.month()-z.month()),B=z.clone().add(N,p),Q=M-B<0,e2=z.clone().add(N+(Q?-1:1),p);return+(-(N+(M-B)/(Q?B-e2:e2-B))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:p,y:b,w:f,d,D:x,h:c,m:l,s:a,ms:o,Q:v}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},S="en",K={};K[S]=I;var G="$isDayjsObject",a2=function(D){return D instanceof l2||!(!D||!D[G])},d2=function D(z,M,N){var B;if(!z)return S;if(typeof z=="string"){var Q=z.toLowerCase();K[Q]&&(B=Q),M&&(K[Q]=M,B=Q);var e2=z.split("-");if(!B&&e2.length>1)return D(e2[0])}else{var u2=z.name;K[u2]=z,B=u2}return!N&&B&&(S=B),B||!N&&S},s2=function(D,z){if(a2(D))return D.clone();var M=typeof z=="object"?z:{};return M.date=D,M.args=arguments,new l2(M)},q=U;q.l=d2,q.i=a2,q.w=function(D,z){return s2(D,{locale:z.$L,utc:z.$u,x:z.$x,$offset:z.$offset})};var l2=(function(){function D(M){this.$L=d2(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[G]=!0}var z=D.prototype;return z.parse=function(M){this.$d=(function(N){var B=N.date,Q=N.utc;if(B===null)return new Date(NaN);if(q.u(B))return new Date;if(B instanceof Date)return new Date(B);if(typeof B=="string"&&!/Z$/i.test(B)){var e2=B.match(P);if(e2){var u2=e2[2]-1||0,b2=(e2[7]||"0").substring(0,3);return Q?new Date(Date.UTC(e2[1],u2,e2[3]||1,e2[4]||0,e2[5]||0,e2[6]||0,b2)):new Date(e2[1],u2,e2[3]||1,e2[4]||0,e2[5]||0,e2[6]||0,b2)}}return new Date(B)})(M),this.init()},z.init=function(){var M=this.$d;this.$y=M.getFullYear(),this.$M=M.getMonth(),this.$D=M.getDate(),this.$W=M.getDay(),this.$H=M.getHours(),this.$m=M.getMinutes(),this.$s=M.getSeconds(),this.$ms=M.getMilliseconds()},z.$utils=function(){return q},z.isValid=function(){return this.$d.toString()!==k},z.isSame=function(M,N){var B=s2(M);return this.startOf(N)<=B&&B<=this.endOf(N)},z.isAfter=function(M,N){return s2(M)<this.startOf(N)},z.isBefore=function(M,N){return this.endOf(N)<s2(M)},z.$g=function(M,N,B){return q.u(M)?this[N]:this.set(B,M)},z.unix=function(){return Math.floor(this.valueOf()/1e3)},z.valueOf=function(){return this.$d.getTime()},z.startOf=function(M,N){var B=this,Q=!!q.u(N)||N,e2=q.p(M),u2=function(L2,t2){var V2=q.w(B.$u?Date.UTC(B.$y,t2,L2):new Date(B.$y,t2,L2),B);return Q?V2:V2.endOf(d)},b2=function(L2,t2){return q.w(B.toDate()[L2].apply(B.toDate("s"),(Q?[0,0,0,0]:[23,59,59,999]).slice(t2)),B)},_2=this.$W,S2=this.$M,F2=this.$D,$2="set"+(this.$u?"UTC":"");switch(e2){case b:return Q?u2(1,0):u2(31,11);case p:return Q?u2(1,S2):u2(0,S2+1);case f:var H=this.$locale().weekStart||0,B2=(_2<H?_2+7:_2)-H;return u2(Q?F2-B2:F2+(6-B2),S2);case d:case x:return b2($2+"Hours",0);case c:return b2($2+"Minutes",1);case l:return b2($2+"Seconds",2);case a:return b2($2+"Milliseconds",3);default:return this.clone()}},z.endOf=function(M){return this.startOf(M,!1)},z.$set=function(M,N){var B,Q=q.p(M),e2="set"+(this.$u?"UTC":""),u2=(B={},B[d]=e2+"Date",B[x]=e2+"Date",B[p]=e2+"Month",B[b]=e2+"FullYear",B[c]=e2+"Hours",B[l]=e2+"Minutes",B[a]=e2+"Seconds",B[o]=e2+"Milliseconds",B)[Q],b2=Q===d?this.$D+(N-this.$W):N;if(Q===p||Q===b){var _2=this.clone().set(x,1);_2.$d[u2](b2),_2.init(),this.$d=_2.set(x,Math.min(this.$D,_2.daysInMonth())).$d}else u2&&this.$d[u2](b2);return this.init(),this},z.set=function(M,N){return this.clone().$set(M,N)},z.get=function(M){return this[q.p(M)]()},z.add=function(M,N){var B,Q=this;M=Number(M);var e2=q.p(N),u2=function(S2){var F2=s2(Q);return q.w(F2.date(F2.date()+Math.round(S2*M)),Q)};if(e2===p)return this.set(p,this.$M+M);if(e2===b)return this.set(b,this.$y+M);if(e2===d)return u2(1);if(e2===f)return u2(7);var b2=(B={},B[l]=i,B[c]=n,B[a]=r,B)[e2]||1,_2=this.$d.getTime()+M*b2;return q.w(_2,this)},z.subtract=function(M,N){return this.add(-1*M,N)},z.format=function(M){var N=this,B=this.$locale();if(!this.isValid())return B.invalidDate||k;var Q=M||"YYYY-MM-DDTHH:mm:ssZ",e2=q.z(this),u2=this.$H,b2=this.$m,_2=this.$M,S2=B.weekdays,F2=B.months,$2=B.meridiem,H=function(t2,V2,u0,C2){return t2&&(t2[V2]||t2(N,Q))||u0[V2].slice(0,C2)},B2=function(t2){return q.s(u2%12||12,t2,"0")},L2=$2||function(t2,V2,u0){var C2=t2<12?"AM":"PM";return u0?C2.toLowerCase():C2};return Q.replace($,(function(t2,V2){return V2||(function(u0){switch(u0){case"YY":return String(N.$y).slice(-2);case"YYYY":return q.s(N.$y,4,"0");case"M":return _2+1;case"MM":return q.s(_2+1,2,"0");case"MMM":return H(B.monthsShort,_2,F2,3);case"MMMM":return H(F2,_2);case"D":return N.$D;case"DD":return q.s(N.$D,2,"0");case"d":return String(N.$W);case"dd":return H(B.weekdaysMin,N.$W,S2,2);case"ddd":return H(B.weekdaysShort,N.$W,S2,3);case"dddd":return S2[N.$W];case"H":return String(u2);case"HH":return q.s(u2,2,"0");case"h":return B2(1);case"hh":return B2(2);case"a":return L2(u2,b2,!0);case"A":return L2(u2,b2,!1);case"m":return String(b2);case"mm":return q.s(b2,2,"0");case"s":return String(N.$s);case"ss":return q.s(N.$s,2,"0");case"SSS":return q.s(N.$ms,3,"0");case"Z":return e2}return null})(t2)||e2.replace(":","")}))},z.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},z.diff=function(M,N,B){var Q,e2=this,u2=q.p(N),b2=s2(M),_2=(b2.utcOffset()-this.utcOffset())*i,S2=this-b2,F2=function(){return q.m(e2,b2)};switch(u2){case b:Q=F2()/12;break;case p:Q=F2();break;case v:Q=F2()/3;break;case f:Q=(S2-_2)/6048e5;break;case d:Q=(S2-_2)/864e5;break;case c:Q=S2/n;break;case l:Q=S2/i;break;case a:Q=S2/r;break;default:Q=S2}return B?Q:q.a(Q)},z.daysInMonth=function(){return this.endOf(p).$D},z.$locale=function(){return K[this.$L]},z.locale=function(M,N){if(!M)return this.$L;var B=this.clone(),Q=d2(M,N,!0);return Q&&(B.$L=Q),B},z.clone=function(){return q.w(this.$d,this)},z.toDate=function(){return new Date(this.valueOf())},z.toJSON=function(){return this.isValid()?this.toISOString():null},z.toISOString=function(){return this.$d.toISOString()},z.toString=function(){return this.$d.toUTCString()},D})(),y2=l2.prototype;return s2.prototype=y2,[["$ms",o],["$s",a],["$m",l],["$H",c],["$W",d],["$M",p],["$y",b],["$D",x]].forEach((function(D){y2[D[1]]=function(z){return this.$g(z,D[0],D[1])}})),s2.extend=function(D,z){return D.$i||(D(z,l2,s2),D.$i=!0),s2},s2.locale=d2,s2.isDayjs=a2,s2.unix=function(D){return s2(1e3*D)},s2.en=K[S],s2.Ls=K,s2.p={},s2}))})(Ot)),Ot.exports}var fa=ha();const Ye=Ft(fa);let i1;const ma=(t,e)=>{i1=new O0(t,{threshold:.4,distance:50,ignoreLocation:!0,includeMatches:!0,useExtendedSearch:!0,...e})},ga=async(t,e,r)=>{const i=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,d])=>{const p=[],v=(b,x)=>{const k={};d.type==="text"?k[b]=`${x}`:k[c]=`="${b}"`,p.push(k)};return Object.entries(d.state).filter(([,b])=>b).forEach(([b,x])=>v(b,x)),p.length>0&&l.push({$or:p}),l},[]);let n;if(!(i.length>0)&&r.matchAllWhenEmpty!==!1)n=t;else{const l={$and:[...i]},c=i1.search(l);n=r.enableHighlighting?ua(c,"highlight",r.titleProperty):c.map(d=>d.item)}const o=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[c,d])=>(l[c]={min:d.state.min,max:d.state.max,format:d.format},l),{});if(Object.keys(o).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const[f,p]of Object.entries(o)){const v=x=>p.format==="date"?Ye(x).unix():x,b=i0(f,n[c]);b?Array.isArray(b)?d[f]=o[f].min<=v(b[1])&&v(b[0])<=o[f].max:v(b)>=o[f].min&&v(b)<=o[f].max?d[f]=!0:d[f]=!1:d[f]=!0}Object.values(d).every(f=>!!f)&&l.push(n[c])}n=[...l]}const a=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[c,d])=>(l[c]={geometry:d.state.geometry,mode:d.state.mode},l),{});if(Object.values(a).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<n.length;c++){const d={};for(const f of Object.keys(a)){const p=i0(f,n[c]),v=a[f].mode||"within";p&&(v==="within"?da(p,a[f].geometry):ca(p,a[f].geometry))?d[f]=!0:d[f]=!1}Object.values(d).every(f=>!!f)&&l.push(n[c])}n=[...l]}return n};function ba(t,e){return[{type:"Tile",source:{type:"XYZ",url:"https://tiles.maps.eox.at/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}},{type:"Vector",properties:{id:"draw"},source:{type:"Vector",...t&&{format:"GeoJSON"},...t&&{url:e}},zIndex:1,interactions:[{type:"draw",options:{id:"drawInteraction",type:"Box",modify:!0}}]}]}function Ht(t){if(!t.dirty)return null;switch(t.type){case"multiselect":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"range":t.state.min=t.min,t.state.max=t.max;break;case"select":for(const r in t.state)t.state.hasOwnProperty(r)&&(t.state[r]=!1);break;case"spatial":t.state.geometry=void 0;break;case"text":t.keys.forEach(r=>{t.state[r]=void 0});break}return delete t.stringifiedState,delete t.dirty,t}function n1(t,e){return t*2+e}function va(t){return Object.keys(t).map(e=>({title:J`${t[e].title||t[e].key}:
568
+ ${t[e].stringifiedState}`,key:e})).filter(e=>t[e.key].dirty)}function Mr(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function ya(t,e,r){const i=r.externalFilter(t,e),n=typeof i=="string"||i instanceof String?i:i.url,o=typeof i=="object"&&"fetchFn"in i?await i.fetchFn(n):await fetch(n).then(async a=>await a.json());return i.key?i0(i.key,o):o}function o1(t,e,r){let i;if(t.detail?i=t.detail.target:i=t.target,i?.classList.contains("details-filter")){if(!i.open||e?.expandMultipleFilters)return;r.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(n=>{const o=n.shadowRoot.querySelector(".details-filter");o&&o!==i&&o.removeAttribute("open")})}else{if(!i?.open||e?.expandMultipleResults)return;r.querySelectorAll("details").forEach(n=>{n!==i&&n.removeAttribute("open")})}}function i0(t,e){return typeof t=="function"?t(e):t?.includes(".")?t.split(".").reduce((r,i)=>r&&r[i],e):e[t]}function Ca(t){return t.split(" ").map(e=>e.charAt(0).toUpperCase()+e.slice(1)).join(" ")}function wa(t,{mergeAdjacent:e=!1}={}){if(!Array.isArray(t))return[];const r=t.map(([n,o])=>n<=o?[n,o]:[o,n]).sort((n,o)=>n[0]-o[0]||n[1]-o[1]),i=[];for(const[n,o]of r){if(i.length===0){i.push([n,o]);continue}const a=i[i.length-1];(e?n<=a[1]+1:n<=a[1])?o>a[1]&&(a[1]=o):i.push([n,o])}return i}class xa extends J2{static get properties(){return{filterProperties:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},unstyled:{type:Boolean},filters:{state:!0,type:Object}}}constructor(){super(),this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=this.#n.bind(this),this._handleKeyDown=this.#i.bind(this)}set showDropdown(e){this.renderRoot.querySelector("[popover]").togglePopover(e)}get showDropdown(){return this.renderRoot.querySelector("[popover]")?.matches(":popover-open")}#e(){setTimeout(()=>this._overlayCleanup=fo(this))}#t(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),this.#e()}connectedCallback(){super.connectedCallback(),this.inlineMode&&this.#t()}#r(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()}disconnectedCallback(){this.inlineMode&&this.#r(),super.disconnectedCallback()}_overlayCleanup(){}#n(e){yo(e,this)}#i(e){vo(e,this)}#o(e){bo(e,this)}#s(){go(this)}#a(e){mo(e,this)}#l(e){Bn(e,this)}#c(e){ki(e,this)}updateInline(){this.inlineMode&&this.requestUpdate()}updated(e){e.has("inlineMode")&&(this.inlineMode?this.#t():this.#r())}render(){return J`
569
569
  <style>
570
570
  ${!this.unstyled&&cr}
571
571
  </style>
@@ -637,7 +637,7 @@ input {
637
637
  </div>
638
638
  </div>
639
639
  `:J`<slot name="section"></slot>`}
640
- `}}customElements.define("eox-itemfilter-container",xa);var zr,a1;function ka(){if(a1)return zr;a1=1;var t="Expected a function",e=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c=typeof d0=="object"&&d0&&d0.Object===Object&&d0,d=typeof self=="object"&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),p=Object.prototype,v=p.toString,b=Math.max,x=Math.min,k=function(){return f.Date.now()};function P(S,K,G){var a2,d2,s2,q,l2,y2,D=0,z=!1,M=!1,N=!0;if(typeof S!="function")throw new TypeError(t);K=U(K)||0,$(G)&&(z=!!G.leading,M="maxWait"in G,s2=M?b(U(G.maxWait)||0,K):s2,N="trailing"in G?!!G.trailing:N);function B(H){var B2=a2,L2=d2;return a2=d2=void 0,D=H,q=S.apply(L2,B2),q}function Q(H){return D=H,l2=setTimeout(b2,K),z?B(H):q}function e2(H){var B2=H-y2,L2=H-D,t2=K-B2;return M?x(t2,s2-L2):t2}function u2(H){var B2=H-y2,L2=H-D;return y2===void 0||B2>=K||B2<0||M&&L2>=s2}function b2(){var H=k();if(u2(H))return _2(H);l2=setTimeout(b2,e2(H))}function _2(H){return l2=void 0,N&&a2?B(H):(a2=d2=void 0,q)}function S2(){l2!==void 0&&clearTimeout(l2),D=0,a2=y2=d2=l2=void 0}function O2(){return l2===void 0?q:_2(k())}function $2(){var H=k(),B2=u2(H);if(a2=arguments,d2=this,y2=H,B2){if(l2===void 0)return Q(y2);if(M)return l2=setTimeout(b2,K),B(y2)}return l2===void 0&&(l2=setTimeout(b2,K)),q}return $2.cancel=S2,$2.flush=O2,$2}function $(S){var K=typeof S;return!!S&&(K=="object"||K=="function")}function I(S){return!!S&&typeof S=="object"}function Z(S){return typeof S=="symbol"||I(S)&&v.call(S)==r}function U(S){if(typeof S=="number")return S;if(Z(S))return e;if($(S)){var K=typeof S.valueOf=="function"?S.valueOf():S;S=$(K)?K+"":K}if(typeof S!="string")return S===0?S:+S;S=S.replace(i,"");var G=o.test(S);return G||a.test(S)?l(S.slice(2),G?2:8):n.test(S)?e:+S}return zr=P,zr}var _a=ka();const jt=Ot(_a);function La(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Ht(t.filterObject),t.requestUpdate()}function $a(t){const e=t.renderRoot.querySelector("input[type='text']");t.isValid=e.checkValidity(),t.filterObject.keys.forEach(r=>{t.filterObject.state[r]=e.value}),t.filterObject.dirty=!0,t.filterObject.stringifiedState=e.value,t.dispatchEvent(new CustomEvent("filter")),e.value===""&&t.reset()}const Sr="ddd, D MMM YYYY HH:mm:ss";function Aa(t){if(t.filterObject=Ht(t.filterObject),t.filterObject){const e=t.querySelector("tc-range-slider"),r=t.filterObject.min,i=t.filterObject.max;e.value1!==r&&(e.value1=r),e.value2!==i&&(e.value2=i)}t.requestUpdate()}function Ma(t,e){const[r,i]=t.detail.values;(r!==e.filterObject.state.min||i!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[r,i],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${Ye.unix(r).format(Sr)} - ${Ye.unix(i).format(Sr)}`:`${r} - ${i}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&i===e.filterObject.max?e.reset():e.requestUpdate()}function za(t,e,r){const i=r.filterObject.format==="date",n=r.filterObject.state[t],o=i?Ye.unix(n).format(Sr):n;return J`<div class="range-${e}">${o}</div>`}function Sa(t){Ea(-1,t),Ht(t.filterObject),t.requestUpdate()}function Ea(t,e){e.selectedItems=[],Er(e),l1(e)}function s1(t,e){const r=e.selectedItems.indexOf(t);r>=0?e.selectedItems=e.selectedItems.filter((i,n)=>n!==r):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),Er(e),l1(e)}function Da(t,e){t.target instanceof HTMLInputElement&&(e.query=t.target.value,e.showSuggestions=!0)}function Ba(t,e){switch(t.key){case"ArrowDown":e.highlightedIndex=Math.min(e.highlightedIndex+1,e.filteredSuggestions.length-1);break;case"ArrowUp":e.highlightedIndex=Math.max(e.highlightedIndex-1,0);break;case"Enter":e.highlightedIndex>=0&&s1(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Pa(t,e){(t.has("suggestions")||t.has("query"))&&Er(e)}function Ta(t,e){const r=t.filterObject?.sort||((i,n)=>i.toString().localeCompare(n.toString(),void 0,{numeric:!0}));return e.sort(r).map(i=>i)}function Er(t){const e=(t.filterObject?.filterKeys||t.suggestions).map(i=>`${i}`);let r=e;t.query&&(r=new F0(e,{threshold:.4}).search(t.query).map(n=>n.item)),t.filteredSuggestions=t.filterObject?.filterKeys?r:Ta(t,r),t.filterObject?.filterKeys&&(t.filterObject.state=e.reduce((i,n)=>(n in i||(i[n]=void 0),i),t.filterObject.state)),t.highlightedIndex=-1}function l1(t){Object.keys(t.filterObject.state).forEach(e=>{t.filterObject.state[e]=t.selectedItems.includes(e)}),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()}function Ra(t){Ht(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Oa(t){t.renderRoot.querySelector("#eox-map").innerHTML="",c1(t)}function Fa(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function c1(t){const e=t.renderRoot.querySelector("#eox-map");e.innerHTML===""&&(e.innerHTML='<eox-map part="map" style="height: 400px"></eox-map>');const r=t.geometry&&Ha(t.geometry),i=ba(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=i;const n=o=>{const a=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(a)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{n(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{n(o.features.getArray()[0])})},1e3)}function Ha(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class ja extends J2{static get properties(){return{filterObject:{attribute:!1,type:Object},results:{state:!0,type:Array},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean},isValid:{state:!0,type:Boolean}}}constructor(){super(),this.filterObject={},this.results=null,this.unstyled=!1,this.tabIndex=0,this.isValid=!1}#e=()=>{$a(this)};#t=e=>{e.key==="Enter"&&e.target.value&&this.results&&this.results.length===1&&(this.dispatchEvent(new CustomEvent("result",{detail:this.results[0]})),e.target.value="",this.#e())};reset(){La(this)}debouncedInputHandler=jt(this.#e,500,{leading:!0});createRenderRoot(){return this}render(){return H2(this.filterObject,()=>J`
640
+ `}}customElements.define("eox-itemfilter-container",xa);var zr,a1;function ka(){if(a1)return zr;a1=1;var t="Expected a function",e=NaN,r="[object Symbol]",i=/^\s+|\s+$/g,n=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,c=typeof d0=="object"&&d0&&d0.Object===Object&&d0,d=typeof self=="object"&&self&&self.Object===Object&&self,f=c||d||Function("return this")(),p=Object.prototype,v=p.toString,b=Math.max,x=Math.min,k=function(){return f.Date.now()};function P(S,K,G){var a2,d2,s2,q,l2,y2,D=0,z=!1,M=!1,N=!0;if(typeof S!="function")throw new TypeError(t);K=U(K)||0,$(G)&&(z=!!G.leading,M="maxWait"in G,s2=M?b(U(G.maxWait)||0,K):s2,N="trailing"in G?!!G.trailing:N);function B(H){var B2=a2,L2=d2;return a2=d2=void 0,D=H,q=S.apply(L2,B2),q}function Q(H){return D=H,l2=setTimeout(b2,K),z?B(H):q}function e2(H){var B2=H-y2,L2=H-D,t2=K-B2;return M?x(t2,s2-L2):t2}function u2(H){var B2=H-y2,L2=H-D;return y2===void 0||B2>=K||B2<0||M&&L2>=s2}function b2(){var H=k();if(u2(H))return _2(H);l2=setTimeout(b2,e2(H))}function _2(H){return l2=void 0,N&&a2?B(H):(a2=d2=void 0,q)}function S2(){l2!==void 0&&clearTimeout(l2),D=0,a2=y2=d2=l2=void 0}function F2(){return l2===void 0?q:_2(k())}function $2(){var H=k(),B2=u2(H);if(a2=arguments,d2=this,y2=H,B2){if(l2===void 0)return Q(y2);if(M)return l2=setTimeout(b2,K),B(y2)}return l2===void 0&&(l2=setTimeout(b2,K)),q}return $2.cancel=S2,$2.flush=F2,$2}function $(S){var K=typeof S;return!!S&&(K=="object"||K=="function")}function I(S){return!!S&&typeof S=="object"}function Z(S){return typeof S=="symbol"||I(S)&&v.call(S)==r}function U(S){if(typeof S=="number")return S;if(Z(S))return e;if($(S)){var K=typeof S.valueOf=="function"?S.valueOf():S;S=$(K)?K+"":K}if(typeof S!="string")return S===0?S:+S;S=S.replace(i,"");var G=o.test(S);return G||a.test(S)?l(S.slice(2),G?2:8):n.test(S)?e:+S}return zr=P,zr}var _a=ka();const jt=Ft(_a);function La(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Ht(t.filterObject),t.requestUpdate()}function $a(t){const e=t.renderRoot.querySelector("input[type='text']");t.isValid=e.checkValidity(),t.filterObject.keys.forEach(r=>{t.filterObject.state[r]=e.value}),t.filterObject.dirty=!0,t.filterObject.stringifiedState=e.value,t.dispatchEvent(new CustomEvent("filter")),e.value===""&&t.reset()}const Sr="ddd, D MMM YYYY HH:mm:ss";function Aa(t){if(t.filterObject=Ht(t.filterObject),t.filterObject){const e=t.querySelector("tc-range-slider"),r=t.filterObject.min,i=t.filterObject.max;e.value1!==r&&(e.value1=r),e.value2!==i&&(e.value2=i)}t.requestUpdate()}function Ma(t,e){const[r,i]=t.detail.values;(r!==e.filterObject.state.min||i!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[r,i],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${Ye.unix(r).format(Sr)} - ${Ye.unix(i).format(Sr)}`:`${r} - ${i}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&i===e.filterObject.max?e.reset():e.requestUpdate()}function za(t,e,r){const i=r.filterObject.format==="date",n=r.filterObject.state[t],o=i?Ye.unix(n).format(Sr):n;return J`<div class="range-${e}">${o}</div>`}function Sa(t){Ea(-1,t),Ht(t.filterObject),t.requestUpdate()}function Ea(t,e){e.selectedItems=[],Er(e),l1(e)}function s1(t,e){const r=e.selectedItems.indexOf(t);r>=0?e.selectedItems=e.selectedItems.filter((i,n)=>n!==r):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),Er(e),l1(e)}function Da(t,e){t.target instanceof HTMLInputElement&&(e.query=t.target.value,e.showSuggestions=!0)}function Ba(t,e){switch(t.key){case"ArrowDown":e.highlightedIndex=Math.min(e.highlightedIndex+1,e.filteredSuggestions.length-1);break;case"ArrowUp":e.highlightedIndex=Math.max(e.highlightedIndex-1,0);break;case"Enter":e.highlightedIndex>=0&&s1(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Pa(t,e){(t.has("suggestions")||t.has("query"))&&Er(e)}function Ta(t,e){const r=t.filterObject?.sort||((i,n)=>i.toString().localeCompare(n.toString(),void 0,{numeric:!0}));return e.sort(r).map(i=>i)}function Er(t){const e=(t.filterObject?.filterKeys||t.suggestions).map(i=>`${i}`);let r=e;t.query&&(r=new O0(e,{threshold:.4}).search(t.query).map(n=>n.item)),t.filteredSuggestions=t.filterObject?.filterKeys?r:Ta(t,r),t.filterObject?.filterKeys&&(t.filterObject.state=e.reduce((i,n)=>(n in i||(i[n]=void 0),i),t.filterObject.state)),t.highlightedIndex=-1}function l1(t){Object.keys(t.filterObject.state).forEach(e=>{t.filterObject.state[e]=t.selectedItems.includes(e)}),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()}function Ra(t){Ht(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Fa(t){t.renderRoot.querySelector("#eox-map").innerHTML="",c1(t)}function Oa(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function c1(t){const e=t.renderRoot.querySelector("#eox-map");e.innerHTML===""&&(e.innerHTML='<eox-map part="map" style="height: 400px"></eox-map>');const r=t.geometry&&Ha(t.geometry),i=ba(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=i;const n=o=>{const a=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(a)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{n(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{n(o.features.getArray()[0])})},1e3)}function Ha(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class ja extends J2{static get properties(){return{filterObject:{attribute:!1,type:Object},results:{state:!0,type:Array},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean},isValid:{state:!0,type:Boolean}}}constructor(){super(),this.filterObject={},this.results=null,this.unstyled=!1,this.tabIndex=0,this.isValid=!1}#e=()=>{$a(this)};#t=e=>{e.key==="Enter"&&e.target.value&&this.results&&this.results.length===1&&(this.dispatchEvent(new CustomEvent("result",{detail:this.results[0]})),e.target.value="",this.#e())};reset(){La(this)}debouncedInputHandler=jt(this.#e,500,{leading:!0});createRenderRoot(){return this}render(){return H2(this.filterObject,()=>J`
641
641
  <style></style>
642
642
  <div class="text-container">
643
643
  <div
@@ -704,6 +704,8 @@ input {
704
704
  ${H2(n.subTitleProperty||n.imageProperty,()=>J`
705
705
  ${H2(t.resultType==="cards",()=>i0(n.imageProperty,a)?J`
706
706
  <img
707
+ loading="lazy"
708
+ fetchpriority="low"
707
709
  class="image"
708
710
  src="${i0(n.imageProperty,a)}"
709
711
  />
@@ -724,6 +726,8 @@ input {
724
726
  <i class="small">
725
727
  ${i0(n.imageProperty,a)?J`
726
728
  <img
729
+ loading="lazy"
730
+ fetchpriority="low"
727
731
  class="image"
728
732
  src="${i0(n.imageProperty,a)}"
729
733
  />
@@ -834,7 +838,7 @@ input {
834
838
  `)}
835
839
  </ul>
836
840
  </div>
837
- `}}customElements.define("eox-itemfilter-select",Xa),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,g,_)=>g in u?t(u,g,{enumerable:!0,configurable:!0,writable:!0,value:_}):u[g]=_,i=(u,g,_)=>(r(u,typeof g!="symbol"?g+"":g,_),_),n=(u,g)=>` ${g&&g.length>0?g.map(_=>`<link rel="stylesheet" href="${_}" />`).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}",a="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",d="range-dragging",f="data",p="min",v="max",b="step",x="round",k="type",P="theme",$="rtl",I="btt",Z="disabled",U="keyboard-disabled",S="mousewheel-disabled",K="slider-width",G="slider-height",a2="slider-radius",d2="slider-bg",s2="slider-bg-hover",q="slider-bg-fill",l2="pointer-width",y2="pointer-height",D="pointer-radius",z="pointer-bg",M="pointer-bg-hover",N="pointer-bg-focus",B="pointer-shadow",Q="pointer-shadow-hover",e2="pointer-shadow-focus",u2="pointer-border",b2="pointer-border-hover",_2="pointer-border-focus",S2="animate-onclick",O2="css-links",$2="vertical",H="horizontal",B2=(u,g,_,w,T)=>{let W=g-u;return W===0?_:(w-_)*(T-u)/W+_},L2=u=>!isNaN(parseFloat(u))&&isFinite(u),t2=(u,g)=>L2(u)?Number(u):g,V2=(u,g)=>g===0?0:Math.round(u/g)*g,u0=(u,g=1/0)=>{if(g===1/0)return u;let _=e(10,g);return Math.round(u*_)/_},C2=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",xe=(u,g)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:g}}))},ke=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:g}}))},M0=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:g}}))},Xe=(u,g)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:g}}))},Je=(u,g)=>{if(!g||g.length<=0)return;let _=g.map(T=>L2(T)?t2(T,T):T),w={values:_||[]};w.value=_[0],w.value0=_[0],w.value1=_[0];for(let T=1;T<_.length;T++)w[`value${T+1}`]=_[T];u.dispatchEvent(new CustomEvent("change",{detail:w}))},te=(u,g,_)=>{let w=0,T,W,c2,R,F=!1,p2=(n2,k2,F2,T2,M2,P2)=>{let U2=w;F2!==void 0&&n2>F2&&(n2=F2),k2!==void 0&&n2<k2&&(n2=k2),w=n2;let q2=w;return(T2===$2&&P2||T2===H&&M2)&&(q2=100-q2),T2===$2?g.style.top=`${q2}%`:g.style.left=`${q2}%`,U2!==w},f2=n2=>n2===g||g.contains(n2),Y=(n2,k2,F2,T2)=>{T=n2,W=k2,c2=F2,R=T2},v2=n2=>{F=n2,g.classList.toggle("disabled",F),F?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},Q2=(n2,k2)=>{k2==null?g.removeAttribute(n2):g.setAttribute(n2,k2)},A2=n2=>g.getAttribute(n2),i2=n2=>{if(!F){switch(n2.key){case"ArrowLeft":{n2.preventDefault(),typeof T=="function"&&T(_);break}case"ArrowRight":{n2.preventDefault(),typeof W=="function"&&W(_);break}case"ArrowUp":{n2.preventDefault(),typeof c2=="function"&&c2(_);break}case"ArrowDown":{n2.preventDefault(),typeof R=="function"&&R(_);break}}Xe(u,n2)}},h2=()=>{F||xe(u,g)};return g.className=`pointer pointer-${_}`,g.addEventListener("keydown",i2),g.addEventListener("click",h2),{$pointer:g,get percent(){return w},get disabled(){return F},set disabled(n2){v2(n2)},updatePosition:p2,isClicked:f2,setCallbacks:Y,setAttr:Q2,getAttr:A2,destroy:()=>{g.removeEventListener("keydown",i2),g.removeEventListener("click",h2),g.remove()}}},j0=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let g=u.split(","),_=[],w=!0;for(let T=0;T<g.length;T++){let W=g[T].trim();W!==""&&(_.push(W),L2(W)||(w=!1))}return w?_.map(T=>Number(T)):_},re=(u,g)=>g?g.findIndex(_=>_===u||_.toString().trim()===u.toString().trim()):-1,Qe=u=>({updatePosition:(g,_,w,T)=>{if(_.length<=0)return;let W=_.length===1,c2=_[0],R=_[_.length-1];g===$2?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),W?u.style.height=`${c2}%`:u.style.height=`${Math.abs(c2-R)}%`,T?(u.style.bottom="0%",W?u.style.top="auto":u.style.top=`${Math.min(100-R,100-c2)}%`):(u.style.bottom="auto",W?u.style.top="0%":u.style.top=`${Math.min(c2,R)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),W?u.style.width=`${c2}%`:u.style.width=`${Math.abs(c2-R)}%`,w?(u.style.right="0%",W?u.style.left="auto":u.style.left=`${Math.min(100-R,100-c2)}%`):(u.style.right="auto",W?u.style.left="0%":u.style.left=`${Math.min(c2,R)}%`))}}),_e="--animate-onclick",ie="--width",et="--height",tt="--panel-bg-border-radius",rt="--panel-bg",Le="--panel-bg-hover",it="--panel-bg-fill",C="--pointer-width",E="--pointer-height",X="--pointer-border-radius",x2="--pointer-bg",j2="--pointer-bg-hover",Z2="--pointer-bg-focus",$e="--pointer-shadow",n0="--pointer-shadow-hover",p0="--pointer-shadow-focus",Ae="--pointer-border",y0="--pointer-border-hover",C0="--pointer-border-focus",z0=(u,g,_)=>{let w=new Map;for(let T of u.attributes){let W=T.nodeName.trim().toLowerCase();if(!g.test(W))continue;let c2=W.replace(/\D/g,"").trim(),R=c2===""||c2==="0"||c2==="1"?0:t2(c2,0)-1,F=_&&typeof _=="function"?_(T.value):T.value;w.set(R,F)}return w},nt=u=>{if(!u)return null;let g=u.getAttribute(O2);if(!g)return null;let _=g.split(";"),w=[];for(let T of _)T.trim()!==""&&w.push(T.trim());return w},N0=[[ie,K,"sliderWidth",null],[et,G,"sliderHeight",null],[tt,a2,"sliderRadius",null],[rt,d2,"sliderBg",null],[Le,s2,"sliderBgHover",null],[it,q,"sliderBgFill",null],[C,l2,"pointer#Width",/^pointer([0-9]*)-width$/],[E,y2,"pointer#Height",/^pointer([0-9]*)-height$/],[X,D,"pointer#Radius",/^pointer([0-9]*)-radius$/],[x2,z,"pointer#Bg",/^pointer([0-9]*)-bg$/],[j2,M,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[Z2,N,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[$e,B,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[n0,Q,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[p0,e2,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Ae,u2,"pointer#Border",/^pointer([0-9]*)-border$/],[y0,b2,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[C0,_2,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],ot=(u,g,_)=>{let w=null,T=[],W=new Map,c2=(i2,h2=g)=>{let n2=[...h2.classList];for(let k2 of n2)k2.startsWith(i2)&&g.classList.remove(k2)},R=()=>{c2("shape");let i2=g.querySelectorAll(".pointer");for(let h2 of i2)c2("shape",h2)},F=i2=>{w=i2,c2("theme-"),typeof i2=="string"&&g.classList.add(`theme-${i2}`)},p2=()=>{if(R(),!(T.length<=0)){g.classList.add("shape",`shape-${T[0]}`);for(let i2=1;i2<T.length;i2++){let h2=T[i2];if(!h2)continue;let n2=g.querySelector(`.pointer-${i2}`);!n2||n2.classList.add("shape",`shape-${h2}`)}}},f2=(i2,h2)=>{T[i2]=h2,p2()},Y=()=>{R();let i2=z0(u,/^pointer([0-9]*)-shape$/);if(!(i2.size<=0)){for(let h2 of i2){let n2=h2[0];T[n2]=h2[1]}p2()}},v2=(i2,h2)=>`${i2}-${h2}`,Q2=(i2,h2,n2)=>{let k2=_[n2];if(!k2)return;let F2=n2===0?g:k2.$pointer;if(h2==null){W.has(v2(i2,n2))&&W.delete(v2(i2,n2)),F2.style.removeProperty(i2);return}W.set(v2(i2,n2),h2),F2.style.setProperty(i2,h2)},A2=(i2,h2)=>W.get(v2(i2,h2));return(()=>{for(let i2 of N0){let[h2,n2,k2,F2]=i2;if(F2){let M2=z0(u,F2);for(let P2 of M2){let U2=P2[0],q2=P2[1];Q2(h2,q2,U2)}}else{let M2=u.getAttribute(n2);Q2(h2,M2,0)}let T2=[];if(k2.indexOf("#")===-1)T2.push([k2,0]);else{T2.push([k2.replace("#",""),0]),T2.push([k2.replace("#","0"),0]),T2.push([k2.replace("#","1"),0]);for(let M2=1;M2<_.length;M2++)T2.push([k2.replace("#",(M2+1).toString()),M2])}for(let M2 of T2)try{let P2=M2[0],U2=M2[1];Object.prototype.hasOwnProperty.call(u,P2)||Object.defineProperty(u,P2,{get(){return A2(h2,U2)},set:q2=>{Q2(h2,q2,U2)}})}catch(P2){console.error(P2)}}F(u.getAttribute(P)),Y()})(),{setStyle:Q2,getStyle:A2,get theme(){return w},set theme(i2){F(i2)},get pointerShapes(){return T},setPointerShape:f2}},w0="animate-on-click",Me="range-dragging",ne=(u,g,_,w)=>{let T=[],W=f2=>{for(let Y of T)Y.update&&typeof Y.update=="function"&&Y.update(f2)},c2=()=>{for(let f2 of T)f2.destroy&&typeof f2.destroy=="function"&&f2.destroy()},R=(f2,Y)=>{for(let v2 of T)v2.onAttrChange&&typeof v2.onAttrChange=="function"&&v2.onAttrChange(f2,Y)},F=f2=>{if(f2.gettersAndSetters){for(let Y of f2.gettersAndSetters)if(!(!Y.name||!Y.attributes))try{Object.prototype.hasOwnProperty.call(u,Y.name)||Object.defineProperty(u,Y.name,Y.attributes)}catch(v2){console.error("defineSettersGetters error:",v2)}}},p2=f2=>{var Y;if(!f2.css)return;let v2=(Y=u.shadowRoot)==null?void 0:Y.querySelector("style");!v2||(v2.innerHTML+=f2.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let f2 of window.tcRangeSliderPlugins){let Y=f2();T.push(Y),Y.init&&typeof Y.init=="function"&&(Y.init(u,g,_,w),F(Y),p2(Y))}},update:W,onAttrChange:R,destroy:c2}},Tr=10,It=20,Rr=(u,g)=>{let _=new Map,w=/^value([0-9]*)$/;for(let R of u.attributes){let F=R.nodeName.trim().toLowerCase();if(!w.test(F))continue;let p2=F.replace("value","").trim(),f2=p2===""||p2==="0"||p2==="1"?0:t2(p2,0)-1,Y=L2(R.value)?t2(R.value,0):R.value;_.set(f2,Y)}let T=Math.max(...Array.from(_.keys())),W=[];W.push([te(u,g,0),_.get(0)]);let c2=g;for(let R=1;R<=T;R++){let F=g.cloneNode(!0);c2.after(F),c2=F,W.push([te(u,F,R),_.get(R)])}return W},Vt=(u,g,_,w,T,W,c2)=>{try{Object.defineProperty(u,w,{configurable:!0,get(){if(!g)return;let R=g.pointers[_];if(!R)return;let F=g.getTextValue(R.percent);return L2(F)?t2(F,F):F},set:R=>{g.pointers[_]?g?.setValue(R,_):g?.addPointer(R)}}),Object.defineProperty(u,T,{configurable:!0,get(){var R,F;return(F=(R=g?.pointers[_])==null?void 0:R.getAttr("aria-label"))!=null?F:void 0},set:R=>{!g||g.setAriaLabel(_,R)}}),Object.defineProperty(u,W,{configurable:!0,get(){var R,F;return(F=(R=g?.styles)==null?void 0:R.pointerShapes[_])!=null?F:null},set:R=>{!g||!g.styles||g.styles.setPointerShape(_,R)}}),Object.defineProperty(u,c2,{configurable:!0,get(){var R;return(R=g?.pointers[_].disabled)!=null?R:!1},set:R=>{if(!g)return;let F=g?.pointers[_];!F||(F.disabled=R)}})}catch(R){console.error(R)}},Or=(u,g)=>{let _=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Tr;w++)_.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of _)Vt(u,g,w[4],w[0],w[1],w[2],w[3])},oe=(u,g,_)=>{var w;let T=(w=_.shadowRoot)==null?void 0:w.querySelector(".container");if(T)for(let W of u)g?T.prepend(W.$pointer):T.append(W.$pointer)},at=(u,g)=>{if(!(!g||u.length<=1)){for(let _ of u)_.$pointer.style.zIndex=It.toString();g.$pointer.style.zIndex=(It*2).toString()}},ze=0,o0=100,I0=2,Zt="0.3s",Fr=(u,g,_)=>{let w=_.map(m=>m[0]),T=null,W=null,c2=null,R=null,F=ze,p2=o0,f2,Y,v2=H,Q2=I0,A2=!1,i2=!1,h2=!1,n2=0,k2=1/0,F2=!1,T2,M2,P2=!1,U2=!1,q2=!1,x0=Zt,st=[],Ut=m=>{P2||(m.preventDefault&&m.preventDefault(),S0(m),window.addEventListener("mousemove",S0),window.addEventListener("mouseup",Se),ke(u,m))},Se=m=>{P2||(T2=void 0,M2=void 0,window.removeEventListener("mousemove",S0),window.removeEventListener("mouseup",Se),x0&&g.classList.add(w0),M0(u,m))},lt=(m,L)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(m)&&x0&&g.classList.remove(w0),w[0];let j=Ir(m);if(F2){let g2=L,G2=De(g2);G2!==void 0&&(g2=V2(g2,G2)),j?(T2=g2,M2=0,x0&&g.classList.remove(w0)):T2!==void 0&&(M2=g2-T2,T2=g2)}if(!Nr(m)&&!j){for(let g2 of w)if(!(!g2.isClicked(m)||g2.disabled))return x0&&g.classList.remove(w0),g2;for(let g2 of w)if(T===g2)return g2}let m2=1/0,D2=null;for(let g2 of w){if(g2.disabled)continue;let G2=Math.abs(L-g2.percent);G2<m2&&(m2=G2,D2=g2)}return D2},qt=()=>w.findIndex(m=>T===m&&!m.disabled),S0=m=>{let L;if(v2===$2){let{height:m2,top:D2}=g.getBoundingClientRect(),g2=m.type.indexOf("mouse")!==-1?m.clientY:m.touches[0].clientY;L=Math.min(Math.max(0,g2-D2),m2)*100/m2}else{let{width:m2,left:D2}=g.getBoundingClientRect(),g2=m.type.indexOf("mouse")!==-1?m.clientX:m.touches[0].clientX;L=Math.min(Math.max(0,g2-D2),m2)*100/m2}if((A2||i2)&&(L=100-L),T=lt(m.target,L),T&&at(w,T),F2&&w.length>1&&M2!==void 0){let m2=w[0],D2=w[w.length-1],g2=m2.percent+M2<0,G2=D2.percent+M2>100;if(g2||G2)return;for(let rr=0;rr<w.length;rr++)W2(rr,w[rr].percent+M2);return}let j=qt();j!==-1&&(W2(j,L),T?.$pointer.focus())},Ee=m=>{if(P2||document.activeElement!==u||T?.disabled)return;m.stopPropagation(),m.preventDefault();let L=m.deltaY<0,j=A2||i2,m2=L?!j:j,D2=qt();D2!==-1&&(m2?ae(D2,w[D2].percent):se(D2,w[D2].percent))},Wt=m=>{P2||U2||(v2===$2?i2?W2(m,100):W2(m,0):A2?se(m,w[m].percent):ae(m,w[m].percent))},Yt=m=>{P2||U2||(v2===$2?i2?W2(m,0):W2(m,100):A2?ae(m,w[m].percent):se(m,w[m].percent))},Kt=m=>{P2||U2||(v2===$2?i2?se(m,w[m].percent):ae(m,w[m].percent):A2?W2(m,100):W2(m,0))},Gt=m=>{P2||U2||(v2===$2?i2?ae(m,w[m].percent):se(m,w[m].percent):A2?W2(m,0):W2(m,100))},Nr=m=>m.classList.contains("panel"),Ir=m=>m.classList.contains("panel-fill"),ae=(m,L)=>{if(L===void 0)return;let j=De(L);j==null&&(j=1),L-=j,L<0&&(L=0),W2(m,L)},se=(m,L)=>{if(L===void 0)return;let j=De(L);j==null&&(j=1),L+=j,L>100&&(L=100),W2(m,L)},k0=()=>{!R||R.update({percents:Jt(),values:ct(),$pointers:le(),min:Qt(),max:er(),data:dt(),step:_0(),round:Te(),type:Pe(),textMin:E0(),textMax:Be(),rightToLeft:pt(),bottomToTop:ht(),pointersOverlap:s0(),pointersMinDistance:ut(),pointersMaxDistance:Z0(),rangeDragging:U0(),disabled:ce(),keyboardDisabled:Re(),mousewheelDisabled:de()})},Vr=()=>{k0()},Zr=m=>{if(!(h2||w.length<=1||p2===F))if(m===0){let L=k2*100/(p2-F);return Math.max(0,w[m+1].percent-L)}else{let L=n2*100/(p2-F);return Math.min(w[m-1].percent+L,100)}},Xt=m=>{if(!(h2||w.length<=1||p2===F))if(m===w.length-1){let L=k2*100/(p2-F);return Math.min(w[m-1].percent+L,100)}else{let L=n2*100/(p2-F);return Math.max(0,w[m+1].percent-L)}},De=m=>{let L;if(typeof f2=="function"){let j=B2(0,100,F,p2,m);L=f2(j,m)}else L=f2;if(L2(L)){let j=p2-F;return L=j===0?0:L*100/j,L}},V0=m=>{if(m===void 0)return;let L=B2(0,100,F,p2,m);return Y!==void 0?Y[Math.round(L)]:u0(L,Q2)},E0=()=>Y!==void 0?Y[F]:F,Be=()=>Y!==void 0?Y[p2]:p2,_0=()=>f2,L0=m=>{var L;return m<=0||h2?E0():(L=V0(w[m-1].percent))!=null?L:""},Ur=m=>{var L;return w.length<=1||m>=w.length-1||h2?Be():(L=V0(w[m+1].percent))!=null?L:""},Jt=()=>w.map(m=>m.percent),ct=()=>w.map(m=>V0(m.percent)),le=()=>w.map(m=>m.$pointer),Qt=()=>F,er=()=>p2,dt=()=>Y,Pe=()=>v2,Te=()=>Q2,ut=()=>n2,Z0=()=>k2,D0=m=>st[m],pt=()=>A2,ht=()=>i2,ce=()=>P2,Re=()=>U2,de=()=>q2,s0=()=>h2,U0=()=>F2,W2=(m,L)=>{if(L===void 0)return;let j=De(L);j!==void 0&&(L=V2(L,j));let m2=w[m];if(!m2)return;let D2=m2.updatePosition(L,Zr(m),Xt(m),v2,A2,i2);W?.updatePosition(v2,w.map(g2=>g2.percent),A2,i2),k0();for(let g2 of w){let G2=V0(g2.percent);G2!==void 0&&(g2.setAttr("aria-valuenow",G2.toString()),g2.setAttr("aria-valuetext",G2.toString()))}Oe(),D2&&Je(u,w.map(g2=>V0(g2.percent)))},l0=()=>{for(let m=0;m<w.length;m++)W2(m,w[m].percent)},ft=(m,L)=>{F=Y!==void 0?0:t2(m,ze),p2=Y!==void 0?Y.length-1:t2(L,o0),B0(F),q0(p2)},Oe=()=>{var m,L;for(let j=0;j<w.length;j++){let m2=w[j];m2.setAttr("aria-valuemin",((m=L0(j))!=null?m:"").toString()),m2.setAttr("aria-valuemax",((L=Ur(j))!=null?L:"").toString())}},B0=m=>{F=t2(m,ze),F>p2&&(p2=F+o0),l0()},q0=m=>{p2=t2(m,o0),p2<F&&(p2=F+o0),l0()},tr=m=>{h2=!0;for(let L=0;L<m.length;L++)Fe(m[L],L);h2=!1;for(let L=0;L<m.length;L++)Fe(m[L],L)},Fe=(m,L)=>{let j;Y!==void 0?(j=m==null?0:re(m,Y),j===-1&&(j=0)):(j=t2(m,F),j<F&&(j=F),j>p2&&(j=p2));let m2=B2(F,p2,0,100,j);W2(L,m2)},He=m=>{if(m==null){f2=void 0;return}if(typeof m=="function"){f2=m,l0();return}if(L2(m)){f2=t2(m,1);let L=Math.abs(p2-F);f2>L&&(f2=void 0),l0();return}f2=void 0},mt=m=>{h2=m,l0()},W0=m=>{(!L2(m)||m<0)&&(m=0),n2=m},gt=m=>{(!L2(m)||m<0)&&(m=1/0),k2=m},bt=m=>{P2=m,g.classList.toggle("disabled",P2),P2?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},s=m=>{U2=m},h=m=>{q2=m,q2?document.removeEventListener("wheel",Ee):document.addEventListener("wheel",Ee,{passive:!1})},y=m=>{if(m==null){Y=void 0;return}if(Y=j0(m),Y===void 0||Y.length<=0){Y=void 0;return}B0(0),q0(Y.length-1),f2===void 0&&He(1)},A=m=>{var L;typeof m=="string"?v2=m.trim().toLowerCase()===$2?$2:H:v2=H;let j=(L=u.shadowRoot)==null?void 0:L.querySelector(".range-slider-box");if(!j)return;j.className=`range-slider-box type-${v2}`,l0();let m2=v2===$2?"vertical":"horizontal";for(let D2 of w)D2.setAttr("aria-orientation",m2)},V=m=>{A2=m,w.length>1&&oe(w,A2,u),l0(),k0()},O=m=>{i2=m,w.length>1&&oe(w,i2,u),l0(),k0()},o2=m=>{Q2=t2(m,I0),Q2<0&&(Q2=I0),k0()},z2=m=>{m==null||m.toString().trim().toLowerCase()==="false"?(x0=void 0,g.style.removeProperty(_e),g.classList.remove(w0)):(x0=m.toString(),g.style.setProperty(_e,x0),g.classList.add(w0))},E2=(m,L)=>{let j=w[m];!j||(j.setAttr("aria-label",L),st[m]=L)},R2=m=>{if(T2=void 0,w.length<=1){F2=!1,g.classList.remove(Me);return}F2=m,g.classList.toggle(Me,F2)},Y2=()=>{bt(C2(u.getAttribute(Z))),U2=C2(u.getAttribute(U)),q2=C2(u.getAttribute(S));let m=z0(u,/^pointer([0-9]*)-disabled$/,L=>C2(L));for(let L of m){let j=L[0];!w[j]||(w[j].disabled=L[1])}},K2=()=>{let m=z0(u,/^aria-label([0-9]*)$/);for(let L of m){let j=L[0];E2(j,L[1])}},N2=m=>{let L=w.length,j=w[L-1].$pointer,m2=j.cloneNode(!0);j.after(m2);let D2=te(u,m2,L);return D2.setCallbacks(Wt,Yt,Kt,Gt),w.push(D2),Fe(m,L),l0(),k0(),L},e0=()=>{let m=w.length,L=w[m-1];return L?(L.destroy(),w.pop(),w.length<=1&&R2(!1),l0(),k0(),m-1):-1};return(()=>{var m,L;for(let m2 of w)m2.setCallbacks(Wt,Yt,Kt,Gt);let j=(m=u.shadowRoot)==null?void 0:m.querySelector(".panel-fill");j&&(W=Qe(j)),A(u.getAttribute(k)),V(C2(u.getAttribute($))),O(C2(u.getAttribute(I))),ft(u.getAttribute(p),u.getAttribute(v)),He(u.getAttribute(b)),y(u.getAttribute(f)),tr(_.map(m2=>m2[1])),mt(C2(u.getAttribute(a))),W0(t2(u.getAttribute(l),0)),gt(t2(u.getAttribute(c),1/0)),R2(C2(u.getAttribute(d))),o2(t2(u.getAttribute(x),I0)),Y2(),K2(),c2=ot(u,g,w),z2((L=u.getAttribute(S2))!=null?L:Zt),g.addEventListener("mousedown",Ut),g.addEventListener("mouseup",Se),g.addEventListener("touchmove",S0),g.addEventListener("touchstart",S0),q2||document.addEventListener("wheel",Ee,{passive:!1}),R=ne(u,Vr,{setValues:tr,setMin:B0,setMax:q0,setStep:He,setPointersOverlap:mt,setPointersMinDistance:W0,setPointersMaxDistance:gt,setDisabled:bt,setType:A,setRightToLeft:V,setBottomToTop:O,setRound:o2,setKeyboardDisabled:s,setMousewheelDisabled:h,setRangeDragging:R2,setData:y},{getPercents:Jt,getValues:ct,getPointerElements:le,getMin:Qt,getMax:er,getStep:_0,getData:dt,getType:Pe,getRound:Te,getTextMin:E0,getTextMax:Be,isRightToLeft:pt,isBottomToTop:ht,isDisabled:ce,isKeyboardDisabled:Re,isMousewheelDisabled:de,isPointersOverlap:s0,isRangeDraggingEnabled:U0,getPointersMinDistance:ut,getPointersMaxDistance:Z0}),R.init()})(),{get pointers(){return w},get styles(){return c2},get pluginsManager(){return R},get min(){return E0()},get max(){return Be()},get step(){return _0()},get pointersOverlap(){return s0()},set pointersOverlap(m){mt(m)},get pointersMinDistance(){return ut()},set pointersMinDistance(m){W0(m)},get pointersMaxDistance(){return Z0()},set pointersMaxDistance(m){gt(m)},get disabled(){return ce()},set disabled(m){bt(m)},get data(){return dt()},get type(){return Pe()},set type(m){A(m)},get rightToLeft(){return pt()},set rightToLeft(m){V(m)},get bottomToTop(){return ht()},set bottomToTop(m){O(m)},get round(){return Te()},set round(m){o2(m)},get animateOnClick(){return x0},set animateOnClick(m){z2(m)},get keyboardDisabled(){return Re()},set keyboardDisabled(m){s(m)},get mousewheelDisabled(){return de()},set mousewheelDisabled(m){h(m)},get rangeDragging(){return U0()},set rangeDragging(m){R2(m)},setMin:B0,setMax:q0,setValue:Fe,setStep:He,setData:y,getTextValue:V0,setAriaLabel:E2,getAriaLabel:D0,addPointer:N2,removePointer:e0,destroy:()=>{g.removeEventListener("mousedown",Ut),g.removeEventListener("mouseup",Se),g.removeEventListener("touchmove",S0),g.removeEventListener("touchstart",S0),document.removeEventListener("wheel",Ee);for(let m of w)m.destroy();R?.destroy()}}},Hr=(u,g,_)=>{let w=N0.find(([R,F,p2,f2])=>F.replace("#","")===g.replace(/\d+/g,""));if(w&&u.styles){let[R,F,p2,f2]=w,Y=g.replace(/\D/g,"").trim(),v2=Y===""||Y==="0"||Y==="1"?0:t2(Y,0)-1;u.styles.setStyle(R,_,v2);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(g,_),g){case p:{u.setMin(_);break}case v:{u.setMax(_);break}case b:{u.setStep(_);break}case a:{u.pointersOverlap=C2(_);break}case l:{u.pointersMinDistance=t2(_,0);break}case d:{u.rangeDragging=C2(_);break}case c:{u.pointersMaxDistance=t2(_,1/0);break}case Z:{u.disabled=C2(_);break}case U:{u.keyboardDisabled=C2(_);break}case S:{u.mousewheelDisabled=C2(_);break}case f:{u.setData(_);break}case k:{u.type=_;break}case $:{u.rightToLeft=C2(_);break}case I:{u.bottomToTop=C2(_);break}case x:{u.round=t2(_,I0);break}case P:{u.styles&&(u.styles.theme=_);break}case S2:{u.animateOnClick=_;break}}let T=null;if(/^value([0-9]*)$/.test(g)&&(T="value"),/^pointer([0-9]*)-disabled$/.test(g)&&(T="pointer-disabled"),/^aria-label([0-9]*)$/.test(g)&&(T="aria-label"),/^pointer([0-9]*)-shape$/.test(g)&&(T="pointer-shape"),!T)return;let W=g.replace(/\D/g,"").trim(),c2=W===""||W==="0"||W==="1"?0:t2(W,0)-1;switch(T){case"value":{u.setValue(_,c2);break}case"pointer-disabled":{let R=u?.pointers[c2];if(!R)return;R.disabled=C2(_);break}case"aria-label":{u.setAriaLabel(c2,_);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(c2,_);break}}},jr=class extends HTMLElement{constructor(){super(),i(this,"slider"),i(this,"_externalCSSList",[]),i(this,"_observer",null),this.attachShadow({mode:"open"})}set step(u){this.slider&&this.slider.setStep(u)}get step(){var u;return(u=this.slider)==null?void 0:u.step}set disabled(u){this.slider&&(this.slider.disabled=u)}get disabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.disabled)!=null?g:!1}set data(u){var g;(g=this.slider)==null||g.setData(u)}get data(){var u;return(u=this.slider)==null?void 0:u.data}set min(u){var g;(g=this.slider)==null||g.setMin(u)}get min(){var u;return(u=this.slider)==null?void 0:u.min}set max(u){var g;(g=this.slider)==null||g.setMax(u)}get max(){var u;return(u=this.slider)==null?void 0:u.max}set round(u){!this.slider||(this.slider.round=u)}get round(){var u,g;return(g=(u=this.slider)==null?void 0:u.round)!=null?g:I0}set type(u){!this.slider||(this.slider.type=u??H)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||H}set pointersOverlap(u){!this.slider||(this.slider.pointersOverlap=u)}get pointersOverlap(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersOverlap)!=null?g:!1}set pointersMinDistance(u){!this.slider||(this.slider.pointersMinDistance=u)}get pointersMinDistance(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersMinDistance)!=null?g:0}set pointersMaxDistance(u){!this.slider||(this.slider.pointersMaxDistance=u)}get pointersMaxDistance(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersMaxDistance)!=null?g:1/0}set theme(u){!this.slider||!this.slider.styles||(this.slider.styles.theme=u)}get theme(){var u,g,_;return(_=(g=(u=this.slider)==null?void 0:u.styles)==null?void 0:g.theme)!=null?_:null}set rtl(u){!this.slider||(this.slider.rightToLeft=u)}get rtl(){var u,g;return(g=(u=this.slider)==null?void 0:u.rightToLeft)!=null?g:!1}set btt(u){!this.slider||(this.slider.bottomToTop=u)}get btt(){var u,g;return(g=(u=this.slider)==null?void 0:u.bottomToTop)!=null?g:!1}set keyboardDisabled(u){!this.slider||(this.slider.keyboardDisabled=u)}get keyboardDisabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.keyboardDisabled)!=null?g:!1}set mousewheelDisabled(u){!this.slider||(this.slider.mousewheelDisabled=u)}get mousewheelDisabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.mousewheelDisabled)!=null?g:!1}set animateOnClick(u){!this.slider||(this.slider.animateOnClick=u)}get animateOnClick(){var u;return(u=this.slider)==null?void 0:u.animateOnClick}get rangeDragging(){var u,g;return(g=(u=this.slider)==null?void 0:u.rangeDragging)!=null?g:!1}set rangeDragging(u){this.slider&&(this.slider.rangeDragging=C2(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var g,_;if(!this.slider)return;let w=(_=(g=this.slider)==null?void 0:g.addPointer(u))!=null?_:0;Vt(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let g=document.createElement("style");g.textContent=u,this.shadowRoot.appendChild(g)}connectedCallback(){var u,g;if(!this.shadowRoot)return;this._externalCSSList=nt(this),this.shadowRoot.innerHTML=n(o,this._externalCSSList);let _=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!_)return;let w=(g=this.shadowRoot)==null?void 0:g.getElementById("range-slider");if(!w)return;let T=Rr(this,_);this.slider=Fr(this,w,T),Or(this,this.slider),this._observer=new MutationObserver(W=>{W.forEach(c2=>{var R;if(!this.slider||c2.type!=="attributes")return;let F=c2.attributeName;!F||Hr(this.slider,F,(R=this.getAttribute(F))!=null?R:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},a0=jr;window.tcRangeSlider=a0,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",a0),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends a0{})})();class Ja extends J2{static properties={filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}};constructor(){super(),this.filterObject={},this.tabIndex=0,this.inputHandler=this.#e.bind(this),this.debouncedInputHandler=jt(this.inputHandler,500,{leading:!1})}#e(e){Ma(e,this)}#t(e,r){return za(e,r,this)}reset(){Aa(this)}createRenderRoot(){return this}render(){return H2(this.filterObject,()=>J`
841
+ `}}customElements.define("eox-itemfilter-select",Xa),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,g,_)=>g in u?t(u,g,{enumerable:!0,configurable:!0,writable:!0,value:_}):u[g]=_,i=(u,g,_)=>(r(u,typeof g!="symbol"?g+"":g,_),_),n=(u,g)=>` ${g&&g.length>0?g.map(_=>`<link rel="stylesheet" href="${_}" />`).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}",a="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",d="range-dragging",f="data",p="min",v="max",b="step",x="round",k="type",P="theme",$="rtl",I="btt",Z="disabled",U="keyboard-disabled",S="mousewheel-disabled",K="slider-width",G="slider-height",a2="slider-radius",d2="slider-bg",s2="slider-bg-hover",q="slider-bg-fill",l2="pointer-width",y2="pointer-height",D="pointer-radius",z="pointer-bg",M="pointer-bg-hover",N="pointer-bg-focus",B="pointer-shadow",Q="pointer-shadow-hover",e2="pointer-shadow-focus",u2="pointer-border",b2="pointer-border-hover",_2="pointer-border-focus",S2="animate-onclick",F2="css-links",$2="vertical",H="horizontal",B2=(u,g,_,w,T)=>{let W=g-u;return W===0?_:(w-_)*(T-u)/W+_},L2=u=>!isNaN(parseFloat(u))&&isFinite(u),t2=(u,g)=>L2(u)?Number(u):g,V2=(u,g)=>g===0?0:Math.round(u/g)*g,u0=(u,g=1/0)=>{if(g===1/0)return u;let _=e(10,g);return Math.round(u*_)/_},C2=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",xe=(u,g)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:g}}))},ke=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:g}}))},M0=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:g}}))},Xe=(u,g)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:g}}))},Je=(u,g)=>{if(!g||g.length<=0)return;let _=g.map(T=>L2(T)?t2(T,T):T),w={values:_||[]};w.value=_[0],w.value0=_[0],w.value1=_[0];for(let T=1;T<_.length;T++)w[`value${T+1}`]=_[T];u.dispatchEvent(new CustomEvent("change",{detail:w}))},te=(u,g,_)=>{let w=0,T,W,c2,R,O=!1,p2=(n2,k2,O2,T2,M2,P2)=>{let U2=w;O2!==void 0&&n2>O2&&(n2=O2),k2!==void 0&&n2<k2&&(n2=k2),w=n2;let q2=w;return(T2===$2&&P2||T2===H&&M2)&&(q2=100-q2),T2===$2?g.style.top=`${q2}%`:g.style.left=`${q2}%`,U2!==w},f2=n2=>n2===g||g.contains(n2),Y=(n2,k2,O2,T2)=>{T=n2,W=k2,c2=O2,R=T2},v2=n2=>{O=n2,g.classList.toggle("disabled",O),O?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},Q2=(n2,k2)=>{k2==null?g.removeAttribute(n2):g.setAttribute(n2,k2)},A2=n2=>g.getAttribute(n2),i2=n2=>{if(!O){switch(n2.key){case"ArrowLeft":{n2.preventDefault(),typeof T=="function"&&T(_);break}case"ArrowRight":{n2.preventDefault(),typeof W=="function"&&W(_);break}case"ArrowUp":{n2.preventDefault(),typeof c2=="function"&&c2(_);break}case"ArrowDown":{n2.preventDefault(),typeof R=="function"&&R(_);break}}Xe(u,n2)}},h2=()=>{O||xe(u,g)};return g.className=`pointer pointer-${_}`,g.addEventListener("keydown",i2),g.addEventListener("click",h2),{$pointer:g,get percent(){return w},get disabled(){return O},set disabled(n2){v2(n2)},updatePosition:p2,isClicked:f2,setCallbacks:Y,setAttr:Q2,getAttr:A2,destroy:()=>{g.removeEventListener("keydown",i2),g.removeEventListener("click",h2),g.remove()}}},j0=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let g=u.split(","),_=[],w=!0;for(let T=0;T<g.length;T++){let W=g[T].trim();W!==""&&(_.push(W),L2(W)||(w=!1))}return w?_.map(T=>Number(T)):_},re=(u,g)=>g?g.findIndex(_=>_===u||_.toString().trim()===u.toString().trim()):-1,Qe=u=>({updatePosition:(g,_,w,T)=>{if(_.length<=0)return;let W=_.length===1,c2=_[0],R=_[_.length-1];g===$2?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),W?u.style.height=`${c2}%`:u.style.height=`${Math.abs(c2-R)}%`,T?(u.style.bottom="0%",W?u.style.top="auto":u.style.top=`${Math.min(100-R,100-c2)}%`):(u.style.bottom="auto",W?u.style.top="0%":u.style.top=`${Math.min(c2,R)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),W?u.style.width=`${c2}%`:u.style.width=`${Math.abs(c2-R)}%`,w?(u.style.right="0%",W?u.style.left="auto":u.style.left=`${Math.min(100-R,100-c2)}%`):(u.style.right="auto",W?u.style.left="0%":u.style.left=`${Math.min(c2,R)}%`))}}),_e="--animate-onclick",ie="--width",et="--height",tt="--panel-bg-border-radius",rt="--panel-bg",Le="--panel-bg-hover",it="--panel-bg-fill",C="--pointer-width",E="--pointer-height",X="--pointer-border-radius",x2="--pointer-bg",j2="--pointer-bg-hover",Z2="--pointer-bg-focus",$e="--pointer-shadow",n0="--pointer-shadow-hover",p0="--pointer-shadow-focus",Ae="--pointer-border",y0="--pointer-border-hover",C0="--pointer-border-focus",z0=(u,g,_)=>{let w=new Map;for(let T of u.attributes){let W=T.nodeName.trim().toLowerCase();if(!g.test(W))continue;let c2=W.replace(/\D/g,"").trim(),R=c2===""||c2==="0"||c2==="1"?0:t2(c2,0)-1,O=_&&typeof _=="function"?_(T.value):T.value;w.set(R,O)}return w},nt=u=>{if(!u)return null;let g=u.getAttribute(F2);if(!g)return null;let _=g.split(";"),w=[];for(let T of _)T.trim()!==""&&w.push(T.trim());return w},N0=[[ie,K,"sliderWidth",null],[et,G,"sliderHeight",null],[tt,a2,"sliderRadius",null],[rt,d2,"sliderBg",null],[Le,s2,"sliderBgHover",null],[it,q,"sliderBgFill",null],[C,l2,"pointer#Width",/^pointer([0-9]*)-width$/],[E,y2,"pointer#Height",/^pointer([0-9]*)-height$/],[X,D,"pointer#Radius",/^pointer([0-9]*)-radius$/],[x2,z,"pointer#Bg",/^pointer([0-9]*)-bg$/],[j2,M,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[Z2,N,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[$e,B,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[n0,Q,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[p0,e2,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Ae,u2,"pointer#Border",/^pointer([0-9]*)-border$/],[y0,b2,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[C0,_2,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],ot=(u,g,_)=>{let w=null,T=[],W=new Map,c2=(i2,h2=g)=>{let n2=[...h2.classList];for(let k2 of n2)k2.startsWith(i2)&&g.classList.remove(k2)},R=()=>{c2("shape");let i2=g.querySelectorAll(".pointer");for(let h2 of i2)c2("shape",h2)},O=i2=>{w=i2,c2("theme-"),typeof i2=="string"&&g.classList.add(`theme-${i2}`)},p2=()=>{if(R(),!(T.length<=0)){g.classList.add("shape",`shape-${T[0]}`);for(let i2=1;i2<T.length;i2++){let h2=T[i2];if(!h2)continue;let n2=g.querySelector(`.pointer-${i2}`);!n2||n2.classList.add("shape",`shape-${h2}`)}}},f2=(i2,h2)=>{T[i2]=h2,p2()},Y=()=>{R();let i2=z0(u,/^pointer([0-9]*)-shape$/);if(!(i2.size<=0)){for(let h2 of i2){let n2=h2[0];T[n2]=h2[1]}p2()}},v2=(i2,h2)=>`${i2}-${h2}`,Q2=(i2,h2,n2)=>{let k2=_[n2];if(!k2)return;let O2=n2===0?g:k2.$pointer;if(h2==null){W.has(v2(i2,n2))&&W.delete(v2(i2,n2)),O2.style.removeProperty(i2);return}W.set(v2(i2,n2),h2),O2.style.setProperty(i2,h2)},A2=(i2,h2)=>W.get(v2(i2,h2));return(()=>{for(let i2 of N0){let[h2,n2,k2,O2]=i2;if(O2){let M2=z0(u,O2);for(let P2 of M2){let U2=P2[0],q2=P2[1];Q2(h2,q2,U2)}}else{let M2=u.getAttribute(n2);Q2(h2,M2,0)}let T2=[];if(k2.indexOf("#")===-1)T2.push([k2,0]);else{T2.push([k2.replace("#",""),0]),T2.push([k2.replace("#","0"),0]),T2.push([k2.replace("#","1"),0]);for(let M2=1;M2<_.length;M2++)T2.push([k2.replace("#",(M2+1).toString()),M2])}for(let M2 of T2)try{let P2=M2[0],U2=M2[1];Object.prototype.hasOwnProperty.call(u,P2)||Object.defineProperty(u,P2,{get(){return A2(h2,U2)},set:q2=>{Q2(h2,q2,U2)}})}catch(P2){console.error(P2)}}O(u.getAttribute(P)),Y()})(),{setStyle:Q2,getStyle:A2,get theme(){return w},set theme(i2){O(i2)},get pointerShapes(){return T},setPointerShape:f2}},w0="animate-on-click",Me="range-dragging",ne=(u,g,_,w)=>{let T=[],W=f2=>{for(let Y of T)Y.update&&typeof Y.update=="function"&&Y.update(f2)},c2=()=>{for(let f2 of T)f2.destroy&&typeof f2.destroy=="function"&&f2.destroy()},R=(f2,Y)=>{for(let v2 of T)v2.onAttrChange&&typeof v2.onAttrChange=="function"&&v2.onAttrChange(f2,Y)},O=f2=>{if(f2.gettersAndSetters){for(let Y of f2.gettersAndSetters)if(!(!Y.name||!Y.attributes))try{Object.prototype.hasOwnProperty.call(u,Y.name)||Object.defineProperty(u,Y.name,Y.attributes)}catch(v2){console.error("defineSettersGetters error:",v2)}}},p2=f2=>{var Y;if(!f2.css)return;let v2=(Y=u.shadowRoot)==null?void 0:Y.querySelector("style");!v2||(v2.innerHTML+=f2.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let f2 of window.tcRangeSliderPlugins){let Y=f2();T.push(Y),Y.init&&typeof Y.init=="function"&&(Y.init(u,g,_,w),O(Y),p2(Y))}},update:W,onAttrChange:R,destroy:c2}},Tr=10,It=20,Rr=(u,g)=>{let _=new Map,w=/^value([0-9]*)$/;for(let R of u.attributes){let O=R.nodeName.trim().toLowerCase();if(!w.test(O))continue;let p2=O.replace("value","").trim(),f2=p2===""||p2==="0"||p2==="1"?0:t2(p2,0)-1,Y=L2(R.value)?t2(R.value,0):R.value;_.set(f2,Y)}let T=Math.max(...Array.from(_.keys())),W=[];W.push([te(u,g,0),_.get(0)]);let c2=g;for(let R=1;R<=T;R++){let O=g.cloneNode(!0);c2.after(O),c2=O,W.push([te(u,O,R),_.get(R)])}return W},Vt=(u,g,_,w,T,W,c2)=>{try{Object.defineProperty(u,w,{configurable:!0,get(){if(!g)return;let R=g.pointers[_];if(!R)return;let O=g.getTextValue(R.percent);return L2(O)?t2(O,O):O},set:R=>{g.pointers[_]?g?.setValue(R,_):g?.addPointer(R)}}),Object.defineProperty(u,T,{configurable:!0,get(){var R,O;return(O=(R=g?.pointers[_])==null?void 0:R.getAttr("aria-label"))!=null?O:void 0},set:R=>{!g||g.setAriaLabel(_,R)}}),Object.defineProperty(u,W,{configurable:!0,get(){var R,O;return(O=(R=g?.styles)==null?void 0:R.pointerShapes[_])!=null?O:null},set:R=>{!g||!g.styles||g.styles.setPointerShape(_,R)}}),Object.defineProperty(u,c2,{configurable:!0,get(){var R;return(R=g?.pointers[_].disabled)!=null?R:!1},set:R=>{if(!g)return;let O=g?.pointers[_];!O||(O.disabled=R)}})}catch(R){console.error(R)}},Fr=(u,g)=>{let _=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Tr;w++)_.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of _)Vt(u,g,w[4],w[0],w[1],w[2],w[3])},oe=(u,g,_)=>{var w;let T=(w=_.shadowRoot)==null?void 0:w.querySelector(".container");if(T)for(let W of u)g?T.prepend(W.$pointer):T.append(W.$pointer)},at=(u,g)=>{if(!(!g||u.length<=1)){for(let _ of u)_.$pointer.style.zIndex=It.toString();g.$pointer.style.zIndex=(It*2).toString()}},ze=0,o0=100,I0=2,Zt="0.3s",Or=(u,g,_)=>{let w=_.map(m=>m[0]),T=null,W=null,c2=null,R=null,O=ze,p2=o0,f2,Y,v2=H,Q2=I0,A2=!1,i2=!1,h2=!1,n2=0,k2=1/0,O2=!1,T2,M2,P2=!1,U2=!1,q2=!1,x0=Zt,st=[],Ut=m=>{P2||(m.preventDefault&&m.preventDefault(),S0(m),window.addEventListener("mousemove",S0),window.addEventListener("mouseup",Se),ke(u,m))},Se=m=>{P2||(T2=void 0,M2=void 0,window.removeEventListener("mousemove",S0),window.removeEventListener("mouseup",Se),x0&&g.classList.add(w0),M0(u,m))},lt=(m,L)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(m)&&x0&&g.classList.remove(w0),w[0];let j=Ir(m);if(O2){let g2=L,G2=De(g2);G2!==void 0&&(g2=V2(g2,G2)),j?(T2=g2,M2=0,x0&&g.classList.remove(w0)):T2!==void 0&&(M2=g2-T2,T2=g2)}if(!Nr(m)&&!j){for(let g2 of w)if(!(!g2.isClicked(m)||g2.disabled))return x0&&g.classList.remove(w0),g2;for(let g2 of w)if(T===g2)return g2}let m2=1/0,D2=null;for(let g2 of w){if(g2.disabled)continue;let G2=Math.abs(L-g2.percent);G2<m2&&(m2=G2,D2=g2)}return D2},qt=()=>w.findIndex(m=>T===m&&!m.disabled),S0=m=>{let L;if(v2===$2){let{height:m2,top:D2}=g.getBoundingClientRect(),g2=m.type.indexOf("mouse")!==-1?m.clientY:m.touches[0].clientY;L=Math.min(Math.max(0,g2-D2),m2)*100/m2}else{let{width:m2,left:D2}=g.getBoundingClientRect(),g2=m.type.indexOf("mouse")!==-1?m.clientX:m.touches[0].clientX;L=Math.min(Math.max(0,g2-D2),m2)*100/m2}if((A2||i2)&&(L=100-L),T=lt(m.target,L),T&&at(w,T),O2&&w.length>1&&M2!==void 0){let m2=w[0],D2=w[w.length-1],g2=m2.percent+M2<0,G2=D2.percent+M2>100;if(g2||G2)return;for(let rr=0;rr<w.length;rr++)W2(rr,w[rr].percent+M2);return}let j=qt();j!==-1&&(W2(j,L),T?.$pointer.focus())},Ee=m=>{if(P2||document.activeElement!==u||T?.disabled)return;m.stopPropagation(),m.preventDefault();let L=m.deltaY<0,j=A2||i2,m2=L?!j:j,D2=qt();D2!==-1&&(m2?ae(D2,w[D2].percent):se(D2,w[D2].percent))},Wt=m=>{P2||U2||(v2===$2?i2?W2(m,100):W2(m,0):A2?se(m,w[m].percent):ae(m,w[m].percent))},Yt=m=>{P2||U2||(v2===$2?i2?W2(m,0):W2(m,100):A2?ae(m,w[m].percent):se(m,w[m].percent))},Kt=m=>{P2||U2||(v2===$2?i2?se(m,w[m].percent):ae(m,w[m].percent):A2?W2(m,100):W2(m,0))},Gt=m=>{P2||U2||(v2===$2?i2?ae(m,w[m].percent):se(m,w[m].percent):A2?W2(m,0):W2(m,100))},Nr=m=>m.classList.contains("panel"),Ir=m=>m.classList.contains("panel-fill"),ae=(m,L)=>{if(L===void 0)return;let j=De(L);j==null&&(j=1),L-=j,L<0&&(L=0),W2(m,L)},se=(m,L)=>{if(L===void 0)return;let j=De(L);j==null&&(j=1),L+=j,L>100&&(L=100),W2(m,L)},k0=()=>{!R||R.update({percents:Jt(),values:ct(),$pointers:le(),min:Qt(),max:er(),data:dt(),step:_0(),round:Te(),type:Pe(),textMin:E0(),textMax:Be(),rightToLeft:pt(),bottomToTop:ht(),pointersOverlap:s0(),pointersMinDistance:ut(),pointersMaxDistance:Z0(),rangeDragging:U0(),disabled:ce(),keyboardDisabled:Re(),mousewheelDisabled:de()})},Vr=()=>{k0()},Zr=m=>{if(!(h2||w.length<=1||p2===O))if(m===0){let L=k2*100/(p2-O);return Math.max(0,w[m+1].percent-L)}else{let L=n2*100/(p2-O);return Math.min(w[m-1].percent+L,100)}},Xt=m=>{if(!(h2||w.length<=1||p2===O))if(m===w.length-1){let L=k2*100/(p2-O);return Math.min(w[m-1].percent+L,100)}else{let L=n2*100/(p2-O);return Math.max(0,w[m+1].percent-L)}},De=m=>{let L;if(typeof f2=="function"){let j=B2(0,100,O,p2,m);L=f2(j,m)}else L=f2;if(L2(L)){let j=p2-O;return L=j===0?0:L*100/j,L}},V0=m=>{if(m===void 0)return;let L=B2(0,100,O,p2,m);return Y!==void 0?Y[Math.round(L)]:u0(L,Q2)},E0=()=>Y!==void 0?Y[O]:O,Be=()=>Y!==void 0?Y[p2]:p2,_0=()=>f2,L0=m=>{var L;return m<=0||h2?E0():(L=V0(w[m-1].percent))!=null?L:""},Ur=m=>{var L;return w.length<=1||m>=w.length-1||h2?Be():(L=V0(w[m+1].percent))!=null?L:""},Jt=()=>w.map(m=>m.percent),ct=()=>w.map(m=>V0(m.percent)),le=()=>w.map(m=>m.$pointer),Qt=()=>O,er=()=>p2,dt=()=>Y,Pe=()=>v2,Te=()=>Q2,ut=()=>n2,Z0=()=>k2,D0=m=>st[m],pt=()=>A2,ht=()=>i2,ce=()=>P2,Re=()=>U2,de=()=>q2,s0=()=>h2,U0=()=>O2,W2=(m,L)=>{if(L===void 0)return;let j=De(L);j!==void 0&&(L=V2(L,j));let m2=w[m];if(!m2)return;let D2=m2.updatePosition(L,Zr(m),Xt(m),v2,A2,i2);W?.updatePosition(v2,w.map(g2=>g2.percent),A2,i2),k0();for(let g2 of w){let G2=V0(g2.percent);G2!==void 0&&(g2.setAttr("aria-valuenow",G2.toString()),g2.setAttr("aria-valuetext",G2.toString()))}Fe(),D2&&Je(u,w.map(g2=>V0(g2.percent)))},l0=()=>{for(let m=0;m<w.length;m++)W2(m,w[m].percent)},ft=(m,L)=>{O=Y!==void 0?0:t2(m,ze),p2=Y!==void 0?Y.length-1:t2(L,o0),B0(O),q0(p2)},Fe=()=>{var m,L;for(let j=0;j<w.length;j++){let m2=w[j];m2.setAttr("aria-valuemin",((m=L0(j))!=null?m:"").toString()),m2.setAttr("aria-valuemax",((L=Ur(j))!=null?L:"").toString())}},B0=m=>{O=t2(m,ze),O>p2&&(p2=O+o0),l0()},q0=m=>{p2=t2(m,o0),p2<O&&(p2=O+o0),l0()},tr=m=>{h2=!0;for(let L=0;L<m.length;L++)Oe(m[L],L);h2=!1;for(let L=0;L<m.length;L++)Oe(m[L],L)},Oe=(m,L)=>{let j;Y!==void 0?(j=m==null?0:re(m,Y),j===-1&&(j=0)):(j=t2(m,O),j<O&&(j=O),j>p2&&(j=p2));let m2=B2(O,p2,0,100,j);W2(L,m2)},He=m=>{if(m==null){f2=void 0;return}if(typeof m=="function"){f2=m,l0();return}if(L2(m)){f2=t2(m,1);let L=Math.abs(p2-O);f2>L&&(f2=void 0),l0();return}f2=void 0},mt=m=>{h2=m,l0()},W0=m=>{(!L2(m)||m<0)&&(m=0),n2=m},gt=m=>{(!L2(m)||m<0)&&(m=1/0),k2=m},bt=m=>{P2=m,g.classList.toggle("disabled",P2),P2?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},s=m=>{U2=m},h=m=>{q2=m,q2?document.removeEventListener("wheel",Ee):document.addEventListener("wheel",Ee,{passive:!1})},y=m=>{if(m==null){Y=void 0;return}if(Y=j0(m),Y===void 0||Y.length<=0){Y=void 0;return}B0(0),q0(Y.length-1),f2===void 0&&He(1)},A=m=>{var L;typeof m=="string"?v2=m.trim().toLowerCase()===$2?$2:H:v2=H;let j=(L=u.shadowRoot)==null?void 0:L.querySelector(".range-slider-box");if(!j)return;j.className=`range-slider-box type-${v2}`,l0();let m2=v2===$2?"vertical":"horizontal";for(let D2 of w)D2.setAttr("aria-orientation",m2)},V=m=>{A2=m,w.length>1&&oe(w,A2,u),l0(),k0()},F=m=>{i2=m,w.length>1&&oe(w,i2,u),l0(),k0()},o2=m=>{Q2=t2(m,I0),Q2<0&&(Q2=I0),k0()},z2=m=>{m==null||m.toString().trim().toLowerCase()==="false"?(x0=void 0,g.style.removeProperty(_e),g.classList.remove(w0)):(x0=m.toString(),g.style.setProperty(_e,x0),g.classList.add(w0))},E2=(m,L)=>{let j=w[m];!j||(j.setAttr("aria-label",L),st[m]=L)},R2=m=>{if(T2=void 0,w.length<=1){O2=!1,g.classList.remove(Me);return}O2=m,g.classList.toggle(Me,O2)},Y2=()=>{bt(C2(u.getAttribute(Z))),U2=C2(u.getAttribute(U)),q2=C2(u.getAttribute(S));let m=z0(u,/^pointer([0-9]*)-disabled$/,L=>C2(L));for(let L of m){let j=L[0];!w[j]||(w[j].disabled=L[1])}},K2=()=>{let m=z0(u,/^aria-label([0-9]*)$/);for(let L of m){let j=L[0];E2(j,L[1])}},N2=m=>{let L=w.length,j=w[L-1].$pointer,m2=j.cloneNode(!0);j.after(m2);let D2=te(u,m2,L);return D2.setCallbacks(Wt,Yt,Kt,Gt),w.push(D2),Oe(m,L),l0(),k0(),L},e0=()=>{let m=w.length,L=w[m-1];return L?(L.destroy(),w.pop(),w.length<=1&&R2(!1),l0(),k0(),m-1):-1};return(()=>{var m,L;for(let m2 of w)m2.setCallbacks(Wt,Yt,Kt,Gt);let j=(m=u.shadowRoot)==null?void 0:m.querySelector(".panel-fill");j&&(W=Qe(j)),A(u.getAttribute(k)),V(C2(u.getAttribute($))),F(C2(u.getAttribute(I))),ft(u.getAttribute(p),u.getAttribute(v)),He(u.getAttribute(b)),y(u.getAttribute(f)),tr(_.map(m2=>m2[1])),mt(C2(u.getAttribute(a))),W0(t2(u.getAttribute(l),0)),gt(t2(u.getAttribute(c),1/0)),R2(C2(u.getAttribute(d))),o2(t2(u.getAttribute(x),I0)),Y2(),K2(),c2=ot(u,g,w),z2((L=u.getAttribute(S2))!=null?L:Zt),g.addEventListener("mousedown",Ut),g.addEventListener("mouseup",Se),g.addEventListener("touchmove",S0),g.addEventListener("touchstart",S0),q2||document.addEventListener("wheel",Ee,{passive:!1}),R=ne(u,Vr,{setValues:tr,setMin:B0,setMax:q0,setStep:He,setPointersOverlap:mt,setPointersMinDistance:W0,setPointersMaxDistance:gt,setDisabled:bt,setType:A,setRightToLeft:V,setBottomToTop:F,setRound:o2,setKeyboardDisabled:s,setMousewheelDisabled:h,setRangeDragging:R2,setData:y},{getPercents:Jt,getValues:ct,getPointerElements:le,getMin:Qt,getMax:er,getStep:_0,getData:dt,getType:Pe,getRound:Te,getTextMin:E0,getTextMax:Be,isRightToLeft:pt,isBottomToTop:ht,isDisabled:ce,isKeyboardDisabled:Re,isMousewheelDisabled:de,isPointersOverlap:s0,isRangeDraggingEnabled:U0,getPointersMinDistance:ut,getPointersMaxDistance:Z0}),R.init()})(),{get pointers(){return w},get styles(){return c2},get pluginsManager(){return R},get min(){return E0()},get max(){return Be()},get step(){return _0()},get pointersOverlap(){return s0()},set pointersOverlap(m){mt(m)},get pointersMinDistance(){return ut()},set pointersMinDistance(m){W0(m)},get pointersMaxDistance(){return Z0()},set pointersMaxDistance(m){gt(m)},get disabled(){return ce()},set disabled(m){bt(m)},get data(){return dt()},get type(){return Pe()},set type(m){A(m)},get rightToLeft(){return pt()},set rightToLeft(m){V(m)},get bottomToTop(){return ht()},set bottomToTop(m){F(m)},get round(){return Te()},set round(m){o2(m)},get animateOnClick(){return x0},set animateOnClick(m){z2(m)},get keyboardDisabled(){return Re()},set keyboardDisabled(m){s(m)},get mousewheelDisabled(){return de()},set mousewheelDisabled(m){h(m)},get rangeDragging(){return U0()},set rangeDragging(m){R2(m)},setMin:B0,setMax:q0,setValue:Oe,setStep:He,setData:y,getTextValue:V0,setAriaLabel:E2,getAriaLabel:D0,addPointer:N2,removePointer:e0,destroy:()=>{g.removeEventListener("mousedown",Ut),g.removeEventListener("mouseup",Se),g.removeEventListener("touchmove",S0),g.removeEventListener("touchstart",S0),document.removeEventListener("wheel",Ee);for(let m of w)m.destroy();R?.destroy()}}},Hr=(u,g,_)=>{let w=N0.find(([R,O,p2,f2])=>O.replace("#","")===g.replace(/\d+/g,""));if(w&&u.styles){let[R,O,p2,f2]=w,Y=g.replace(/\D/g,"").trim(),v2=Y===""||Y==="0"||Y==="1"?0:t2(Y,0)-1;u.styles.setStyle(R,_,v2);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(g,_),g){case p:{u.setMin(_);break}case v:{u.setMax(_);break}case b:{u.setStep(_);break}case a:{u.pointersOverlap=C2(_);break}case l:{u.pointersMinDistance=t2(_,0);break}case d:{u.rangeDragging=C2(_);break}case c:{u.pointersMaxDistance=t2(_,1/0);break}case Z:{u.disabled=C2(_);break}case U:{u.keyboardDisabled=C2(_);break}case S:{u.mousewheelDisabled=C2(_);break}case f:{u.setData(_);break}case k:{u.type=_;break}case $:{u.rightToLeft=C2(_);break}case I:{u.bottomToTop=C2(_);break}case x:{u.round=t2(_,I0);break}case P:{u.styles&&(u.styles.theme=_);break}case S2:{u.animateOnClick=_;break}}let T=null;if(/^value([0-9]*)$/.test(g)&&(T="value"),/^pointer([0-9]*)-disabled$/.test(g)&&(T="pointer-disabled"),/^aria-label([0-9]*)$/.test(g)&&(T="aria-label"),/^pointer([0-9]*)-shape$/.test(g)&&(T="pointer-shape"),!T)return;let W=g.replace(/\D/g,"").trim(),c2=W===""||W==="0"||W==="1"?0:t2(W,0)-1;switch(T){case"value":{u.setValue(_,c2);break}case"pointer-disabled":{let R=u?.pointers[c2];if(!R)return;R.disabled=C2(_);break}case"aria-label":{u.setAriaLabel(c2,_);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(c2,_);break}}},jr=class extends HTMLElement{constructor(){super(),i(this,"slider"),i(this,"_externalCSSList",[]),i(this,"_observer",null),this.attachShadow({mode:"open"})}set step(u){this.slider&&this.slider.setStep(u)}get step(){var u;return(u=this.slider)==null?void 0:u.step}set disabled(u){this.slider&&(this.slider.disabled=u)}get disabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.disabled)!=null?g:!1}set data(u){var g;(g=this.slider)==null||g.setData(u)}get data(){var u;return(u=this.slider)==null?void 0:u.data}set min(u){var g;(g=this.slider)==null||g.setMin(u)}get min(){var u;return(u=this.slider)==null?void 0:u.min}set max(u){var g;(g=this.slider)==null||g.setMax(u)}get max(){var u;return(u=this.slider)==null?void 0:u.max}set round(u){!this.slider||(this.slider.round=u)}get round(){var u,g;return(g=(u=this.slider)==null?void 0:u.round)!=null?g:I0}set type(u){!this.slider||(this.slider.type=u??H)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||H}set pointersOverlap(u){!this.slider||(this.slider.pointersOverlap=u)}get pointersOverlap(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersOverlap)!=null?g:!1}set pointersMinDistance(u){!this.slider||(this.slider.pointersMinDistance=u)}get pointersMinDistance(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersMinDistance)!=null?g:0}set pointersMaxDistance(u){!this.slider||(this.slider.pointersMaxDistance=u)}get pointersMaxDistance(){var u,g;return(g=(u=this.slider)==null?void 0:u.pointersMaxDistance)!=null?g:1/0}set theme(u){!this.slider||!this.slider.styles||(this.slider.styles.theme=u)}get theme(){var u,g,_;return(_=(g=(u=this.slider)==null?void 0:u.styles)==null?void 0:g.theme)!=null?_:null}set rtl(u){!this.slider||(this.slider.rightToLeft=u)}get rtl(){var u,g;return(g=(u=this.slider)==null?void 0:u.rightToLeft)!=null?g:!1}set btt(u){!this.slider||(this.slider.bottomToTop=u)}get btt(){var u,g;return(g=(u=this.slider)==null?void 0:u.bottomToTop)!=null?g:!1}set keyboardDisabled(u){!this.slider||(this.slider.keyboardDisabled=u)}get keyboardDisabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.keyboardDisabled)!=null?g:!1}set mousewheelDisabled(u){!this.slider||(this.slider.mousewheelDisabled=u)}get mousewheelDisabled(){var u,g;return(g=(u=this.slider)==null?void 0:u.mousewheelDisabled)!=null?g:!1}set animateOnClick(u){!this.slider||(this.slider.animateOnClick=u)}get animateOnClick(){var u;return(u=this.slider)==null?void 0:u.animateOnClick}get rangeDragging(){var u,g;return(g=(u=this.slider)==null?void 0:u.rangeDragging)!=null?g:!1}set rangeDragging(u){this.slider&&(this.slider.rangeDragging=C2(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var g,_;if(!this.slider)return;let w=(_=(g=this.slider)==null?void 0:g.addPointer(u))!=null?_:0;Vt(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let g=document.createElement("style");g.textContent=u,this.shadowRoot.appendChild(g)}connectedCallback(){var u,g;if(!this.shadowRoot)return;this._externalCSSList=nt(this),this.shadowRoot.innerHTML=n(o,this._externalCSSList);let _=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!_)return;let w=(g=this.shadowRoot)==null?void 0:g.getElementById("range-slider");if(!w)return;let T=Rr(this,_);this.slider=Or(this,w,T),Fr(this,this.slider),this._observer=new MutationObserver(W=>{W.forEach(c2=>{var R;if(!this.slider||c2.type!=="attributes")return;let O=c2.attributeName;!O||Hr(this.slider,O,(R=this.getAttribute(O))!=null?R:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},a0=jr;window.tcRangeSlider=a0,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",a0),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends a0{})})();class Ja extends J2{static properties={filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}};constructor(){super(),this.filterObject={},this.tabIndex=0,this.inputHandler=this.#e.bind(this),this.debouncedInputHandler=jt(this.inputHandler,500,{leading:!1})}#e(e){Ma(e,this)}#t(e,r){return za(e,r,this)}reset(){Aa(this)}createRenderRoot(){return this}render(){return H2(this.filterObject,()=>J`
838
842
  <div
839
843
  style="margin-left: var(--list-padding); display: flex; gap: .5rem; align-items: center;"
840
844
  >
@@ -849,7 +853,7 @@ input {
849
853
  ></tc-range-slider>
850
854
  ${this.#t("max","after")}
851
855
  </div>
852
- `)}}customElements.define("eox-itemfilter-range",Ja);class Qa extends J2{static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}constructor(){super(),this.filterObject={},this.tabIndex=0}reset(){Ra(this)}createRenderRoot(){return this}#e(e){Fa(e,this)}render(){return H2(this.filterObject,()=>J`
856
+ `)}}customElements.define("eox-itemfilter-range",Ja);class Qa extends J2{static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}constructor(){super(),this.filterObject={},this.tabIndex=0}reset(){Ra(this)}createRenderRoot(){return this}#e(e){Oa(e,this)}render(){return H2(this.filterObject,()=>J`
853
857
  <div style="margin-left: var(--list-padding)">
854
858
  <nav class="vertical-margin small-margin wrap">
855
859
  ${wt(["intersects","within"],e=>J`
@@ -872,7 +876,7 @@ input {
872
876
  @filter="${e=>{this.filterObject.state.geometry=e.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
873
877
  ></eox-itemfilter-spatial>
874
878
  </div>
875
- `)}}customElements.define("eox-itemfilter-spatial",Qa);class es extends J2{static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}constructor(){super(),this.geometry=null,this.eoxMap=null}firstUpdated(){this.#e()}#e(){c1(this)}reset(){Oa(this)}render(){return J`<div id="eox-map"></div>`}}customElements.define("eox-itemfilter-spatial-filter",es);function ts(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target instanceof HTMLElement&&t.target.classList.add("highlighted"),e.requestUpdate()}function rs(t,e){const{code:r,target:i}=t;i instanceof HTMLElement&&i.id!=="eox-itemfilter-input-search"||e.parentElement.classList.contains("hidden")&&["ArrowLeft","ArrowRight","Backspace"].includes(r)||(r==="Space"&&t.preventDefault(),["Escape","Space","Enter"].includes(r)||t.stopPropagation(),["ArrowLeft","ArrowRight","Escape","Backspace"].includes(r)&&is(r,t.target.value??"",e))}function is(t,e,r){const i=r.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&i&&i.classList.remove("highlighted"),t==="Backspace"&&!e){if(r.items.length){i&&(i.querySelector(".chip-item-close").click(),r.items.splice(Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(i),1));const n=r.renderRoot.querySelectorAll(".chip")[r.renderRoot.querySelectorAll(".chip").length-1];n.classList.contains("highlighted")||n.classList.add("highlighted"),r.requestUpdate()}r._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(r.renderRoot.querySelectorAll(".chip").length<1)return;let n=0;const o=r.renderRoot.querySelector(".chip.highlighted");o&&(n=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.classList.remove("highlighted")),n=n+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&n<0&&(n=r.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&n>r.renderRoot.querySelectorAll(".chip").length-1&&(n=0),Array.from(r.renderRoot.querySelectorAll(".chip"))[n].classList.add("highlighted")}}class ns extends J2{static get properties(){return{items:{attribute:!1,type:Object},controller:{attribute:!1,type:Object}}}constructor(){super(),this.items={},this.controller={}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.getRootNode().addEventListener("keydown",this.#e.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",this.#e.bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}#e(e){rs(e,this)}#t(e){ts(e,this)}render(){return J`
879
+ `)}}customElements.define("eox-itemfilter-spatial",Qa);class es extends J2{static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}constructor(){super(),this.geometry=null,this.eoxMap=null}firstUpdated(){this.#e()}#e(){c1(this)}reset(){Fa(this)}render(){return J`<div id="eox-map"></div>`}}customElements.define("eox-itemfilter-spatial-filter",es);function ts(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target instanceof HTMLElement&&t.target.classList.add("highlighted"),e.requestUpdate()}function rs(t,e){const{code:r,target:i}=t;i instanceof HTMLElement&&i.id!=="eox-itemfilter-input-search"||e.parentElement.classList.contains("hidden")&&["ArrowLeft","ArrowRight","Backspace"].includes(r)||(r==="Space"&&t.preventDefault(),["Escape","Space","Enter"].includes(r)||t.stopPropagation(),["ArrowLeft","ArrowRight","Escape","Backspace"].includes(r)&&is(r,t.target.value??"",e))}function is(t,e,r){const i=r.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&i&&i.classList.remove("highlighted"),t==="Backspace"&&!e){if(r.items.length){i&&(i.querySelector(".chip-item-close").click(),r.items.splice(Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(i),1));const n=r.renderRoot.querySelectorAll(".chip")[r.renderRoot.querySelectorAll(".chip").length-1];n.classList.contains("highlighted")||n.classList.add("highlighted"),r.requestUpdate()}r._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(r.renderRoot.querySelectorAll(".chip").length<1)return;let n=0;const o=r.renderRoot.querySelector(".chip.highlighted");o&&(n=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.classList.remove("highlighted")),n=n+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&n<0&&(n=r.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&n>r.renderRoot.querySelectorAll(".chip").length-1&&(n=0),Array.from(r.renderRoot.querySelectorAll(".chip"))[n].classList.add("highlighted")}}class ns extends J2{static get properties(){return{items:{attribute:!1,type:Object},controller:{attribute:!1,type:Object}}}constructor(){super(),this.items={},this.controller={}}createRenderRoot(){return this}connectedCallback(){super.connectedCallback(),this.getRootNode().addEventListener("keydown",this.#e.bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",this.#e.bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}#e(e){rs(e,this)}#t(e){ts(e,this)}render(){return J`
876
880
  <span class="chip-container">
877
881
  ${wt(this.items,e=>J`
878
882
  <span class="chip tiny-margin" @click=${this.#t.bind(this)}>
@@ -886,7 +890,7 @@ input {
886
890
  </span>
887
891
  `)}
888
892
  </span>
889
- `}}customElements.define("eox-itemfilter-chips",ns);const os=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,idProperty:"id",titleProperty:"title",subTitleProperty:void 0,imageProperty:void 0,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),y1=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Pr,C1;function as(){if(C1)return Pr;C1=1;var t=200,e="__lodash_hash_undefined__",r=1/0,i="[object Function]",n="[object GeneratorFunction]",o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=typeof d0=="object"&&d0&&d0.Object===Object&&d0,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function f(C,E){var X=C?C.length:0;return!!X&&v(C,E,0)>-1}function p(C,E,X,x2){for(var j2=C.length,Z2=X+-1;++Z2<j2;)if(E(C[Z2],Z2,C))return Z2;return-1}function v(C,E,X){if(E!==E)return p(C,b,X);for(var x2=X-1,j2=C.length;++x2<j2;)if(C[x2]===E)return x2;return-1}function b(C){return C!==C}function x(C,E){return C.has(E)}function k(C,E){return C?.[E]}function P(C){var E=!1;if(C!=null&&typeof C.toString!="function")try{E=!!(C+"")}catch{}return E}function $(C){var E=-1,X=Array(C.size);return C.forEach(function(x2){X[++E]=x2}),X}var I=Array.prototype,Z=Function.prototype,U=Object.prototype,S=d["__core-js_shared__"],K=(function(){var C=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""})(),G=Z.toString,a2=U.hasOwnProperty,d2=U.toString,s2=RegExp("^"+G.call(a2).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=I.splice,l2=re(d,"Map"),y2=re(d,"Set"),D=re(Object,"create");function z(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function M(){this.__data__=D?D(null):{}}function N(C){return this.has(C)&&delete this.__data__[C]}function B(C){var E=this.__data__;if(D){var X=E[C];return X===e?void 0:X}return a2.call(E,C)?E[C]:void 0}function Q(C){var E=this.__data__;return D?E[C]!==void 0:a2.call(E,C)}function e2(C,E){var X=this.__data__;return X[C]=D&&E===void 0?e:E,this}z.prototype.clear=M,z.prototype.delete=N,z.prototype.get=B,z.prototype.has=Q,z.prototype.set=e2;function u2(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function b2(){this.__data__=[]}function _2(C){var E=this.__data__,X=M0(E,C);if(X<0)return!1;var x2=E.length-1;return X==x2?E.pop():q.call(E,X,1),!0}function S2(C){var E=this.__data__,X=M0(E,C);return X<0?void 0:E[X][1]}function O2(C){return M0(this.__data__,C)>-1}function $2(C,E){var X=this.__data__,x2=M0(X,C);return x2<0?X.push([C,E]):X[x2][1]=E,this}u2.prototype.clear=b2,u2.prototype.delete=_2,u2.prototype.get=S2,u2.prototype.has=O2,u2.prototype.set=$2;function H(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function B2(){this.__data__={hash:new z,map:new(l2||u2),string:new z}}function L2(C){return j0(this,C).delete(C)}function t2(C){return j0(this,C).get(C)}function V2(C){return j0(this,C).has(C)}function u0(C,E){return j0(this,C).set(C,E),this}H.prototype.clear=B2,H.prototype.delete=L2,H.prototype.get=t2,H.prototype.has=V2,H.prototype.set=u0;function C2(C){var E=-1,X=C?C.length:0;for(this.__data__=new H;++E<X;)this.add(C[E])}function xe(C){return this.__data__.set(C,e),this}function ke(C){return this.__data__.has(C)}C2.prototype.add=C2.prototype.push=xe,C2.prototype.has=ke;function M0(C,E){for(var X=C.length;X--;)if(tt(C[X][0],E))return X;return-1}function Xe(C){if(!Le(C)||_e(C))return!1;var E=rt(C)||P(C)?s2:a;return E.test(ie(C))}function Je(C,E,X){var x2=-1,j2=f,Z2=C.length,$e=!0,n0=[],p0=n0;if(Z2>=t){var Ae=te(C);if(Ae)return $(Ae);$e=!1,j2=x,p0=new C2}else p0=n0;e:for(;++x2<Z2;){var y0=C[x2],C0=y0;if(y0=y0!==0?y0:0,$e&&C0===C0){for(var z0=p0.length;z0--;)if(p0[z0]===C0)continue e;n0.push(y0)}else j2(p0,C0,X)||(p0!==n0&&p0.push(C0),n0.push(y0))}return n0}var te=y2&&1/$(new y2([,-0]))[1]==r?function(C){return new y2(C)}:it;function j0(C,E){var X=C.__data__;return Qe(E)?X[typeof E=="string"?"string":"hash"]:X.map}function re(C,E){var X=k(C,E);return Xe(X)?X:void 0}function Qe(C){var E=typeof C;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?C!=="__proto__":C===null}function _e(C){return!!K&&K in C}function ie(C){if(C!=null){try{return G.call(C)}catch{}try{return C+""}catch{}}return""}function et(C){return C&&C.length?Je(C):[]}function tt(C,E){return C===E||C!==C&&E!==E}function rt(C){var E=Le(C)?d2.call(C):"";return E==i||E==n}function Le(C){var E=typeof C;return!!C&&(E=="object"||E=="function")}function it(){}return Pr=et,Pr}var ss=as();const w1=Ot(ss);var Ge={exports:{}};Ge.exports;var x1;function ls(){return x1||(x1=1,(function(t,e){var r=200,i="Expected a function",n="__lodash_hash_undefined__",o=1,a=2,l=9007199254740991,c="[object Arguments]",d="[object Array]",f="[object Boolean]",p="[object Date]",v="[object Error]",b="[object Function]",x="[object GeneratorFunction]",k="[object Map]",P="[object Number]",$="[object Object]",I="[object Promise]",Z="[object RegExp]",U="[object Set]",S="[object String]",K="[object Symbol]",G="[object WeakMap]",a2="[object ArrayBuffer]",d2="[object DataView]",s2="[object Float32Array]",q="[object Float64Array]",l2="[object Int8Array]",y2="[object Int16Array]",D="[object Int32Array]",z="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",B="[object Uint32Array]",Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,e2=/^\w*$/,u2=/^\./,b2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_2=/[\\^$.*+?()[\]{}|]/g,S2=/\\(\\)?/g,O2=/^\[object .+?Constructor\]$/,$2=/^(?:0|[1-9]\d*)$/,H={};H[s2]=H[q]=H[l2]=H[y2]=H[D]=H[z]=H[M]=H[N]=H[B]=!0,H[c]=H[d]=H[a2]=H[f]=H[d2]=H[p]=H[v]=H[b]=H[k]=H[P]=H[$]=H[Z]=H[U]=H[S]=H[G]=!1;var B2=typeof d0=="object"&&d0&&d0.Object===Object&&d0,L2=typeof self=="object"&&self&&self.Object===Object&&self,t2=B2||L2||Function("return this")(),V2=e&&!e.nodeType&&e,u0=V2&&!0&&t&&!t.nodeType&&t,C2=u0&&u0.exports===V2,xe=C2&&B2.process,ke=(function(){try{return xe&&xe.binding("util")}catch{}})(),M0=ke&&ke.isTypedArray;function Xe(s,h){for(var y=-1,A=s?s.length:0,V=Array(A);++y<A;)V[y]=h(s[y],y,s);return V}function Je(s,h){for(var y=-1,A=h.length,V=s.length;++y<A;)s[V+y]=h[y];return s}function te(s,h){for(var y=-1,A=s?s.length:0;++y<A;)if(h(s[y],y,s))return!0;return!1}function j0(s){return function(h){return h?.[s]}}function re(s,h){for(var y=-1,A=Array(s);++y<s;)A[y]=h(y);return A}function Qe(s){return function(h){return s(h)}}function _e(s,h){return s?.[h]}function ie(s){var h=!1;if(s!=null&&typeof s.toString!="function")try{h=!!(s+"")}catch{}return h}function et(s){var h=-1,y=Array(s.size);return s.forEach(function(A,V){y[++h]=[V,A]}),y}function tt(s,h){return function(y){return s(h(y))}}function rt(s){var h=-1,y=Array(s.size);return s.forEach(function(A){y[++h]=A}),y}var Le=Array.prototype,it=Function.prototype,C=Object.prototype,E=t2["__core-js_shared__"],X=(function(){var s=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),x2=it.toString,j2=C.hasOwnProperty,Z2=C.toString,$e=RegExp("^"+x2.call(j2).replace(_2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),n0=t2.Symbol,p0=t2.Uint8Array,Ae=C.propertyIsEnumerable,y0=Le.splice,C0=n0?n0.isConcatSpreadable:void 0,z0=tt(Object.keys,Object),nt=_0(t2,"DataView"),N0=_0(t2,"Map"),ot=_0(t2,"Promise"),w0=_0(t2,"Set"),Me=_0(t2,"WeakMap"),ne=_0(Object,"create"),Tr=D0(nt),It=D0(N0),Rr=D0(ot),Vt=D0(w0),Or=D0(Me),oe=n0?n0.prototype:void 0,at=oe?oe.valueOf:void 0,ze=oe?oe.toString:void 0;function o0(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function I0(){this.__data__=ne?ne(null):{}}function Zt(s){return this.has(s)&&delete this.__data__[s]}function Fr(s){var h=this.__data__;if(ne){var y=h[s];return y===n?void 0:y}return j2.call(h,s)?h[s]:void 0}function Hr(s){var h=this.__data__;return ne?h[s]!==void 0:j2.call(h,s)}function jr(s,h){var y=this.__data__;return y[s]=ne&&h===void 0?n:h,this}o0.prototype.clear=I0,o0.prototype.delete=Zt,o0.prototype.get=Fr,o0.prototype.has=Hr,o0.prototype.set=jr;function a0(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function u(){this.__data__=[]}function g(s){var h=this.__data__,y=M2(h,s);if(y<0)return!1;var A=h.length-1;return y==A?h.pop():y0.call(h,y,1),!0}function _(s){var h=this.__data__,y=M2(h,s);return y<0?void 0:h[y][1]}function w(s){return M2(this.__data__,s)>-1}function T(s,h){var y=this.__data__,A=M2(y,s);return A<0?y.push([s,h]):y[A][1]=h,this}a0.prototype.clear=u,a0.prototype.delete=g,a0.prototype.get=_,a0.prototype.has=w,a0.prototype.set=T;function W(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function c2(){this.__data__={hash:new o0,map:new(N0||a0),string:new o0}}function R(s){return E0(this,s).delete(s)}function F(s){return E0(this,s).get(s)}function p2(s){return E0(this,s).has(s)}function f2(s,h){return E0(this,s).set(s,h),this}W.prototype.clear=c2,W.prototype.delete=R,W.prototype.get=F,W.prototype.has=p2,W.prototype.set=f2;function Y(s){var h=-1,y=s?s.length:0;for(this.__data__=new W;++h<y;)this.add(s[h])}function v2(s){return this.__data__.set(s,n),this}function Q2(s){return this.__data__.has(s)}Y.prototype.add=Y.prototype.push=v2,Y.prototype.has=Q2;function A2(s){this.__data__=new a0(s)}function i2(){this.__data__=new a0}function h2(s){return this.__data__.delete(s)}function n2(s){return this.__data__.get(s)}function k2(s){return this.__data__.has(s)}function F2(s,h){var y=this.__data__;if(y instanceof a0){var A=y.__data__;if(!N0||A.length<r-1)return A.push([s,h]),this;y=this.__data__=new W(A)}return y.set(s,h),this}A2.prototype.clear=i2,A2.prototype.delete=h2,A2.prototype.get=n2,A2.prototype.has=k2,A2.prototype.set=F2;function T2(s,h){var y=s0(s)||de(s)?re(s.length,String):[],A=y.length,V=!!A;for(var O in s)j2.call(s,O)&&!(V&&(O=="length"||ct(O,A)))&&y.push(O);return y}function M2(s,h){for(var y=s.length;y--;)if(Re(s[y][0],h))return y;return-1}var P2=Vr(x0);function U2(s,h,y,A,V){var O=-1,o2=s.length;for(y||(y=Jt),V||(V=[]);++O<o2;){var z2=s[O];y(z2)?Je(V,z2):V[V.length]=z2}return V}var q2=Zr();function x0(s,h){return s&&q2(s,h,W0)}function st(s,h){h=le(h,s)?[h]:k0(h);for(var y=0,A=h.length;s!=null&&y<A;)s=s[Z0(h[y++])];return y&&y==A?s:void 0}function Ut(s){return Z2.call(s)}function Se(s,h){return s!=null&&h in Object(s)}function lt(s,h,y,A,V){return s===h?!0:s==null||h==null||!Oe(s)&&!B0(h)?s!==s&&h!==h:qt(s,h,lt,y,A,V)}function qt(s,h,y,A,V,O){var o2=s0(s),z2=s0(h),E2=d,R2=d;o2||(E2=L0(s),E2=E2==c?$:E2),z2||(R2=L0(h),R2=R2==c?$:R2);var Y2=E2==$&&!ie(s),K2=R2==$&&!ie(h),N2=E2==R2;if(N2&&!Y2)return O||(O=new A2),o2||tr(s)?Xt(s,h,y,A,V,O):De(s,h,E2,y,A,V,O);if(!(V&a)){var e0=Y2&&j2.call(s,"__wrapped__"),m=K2&&j2.call(h,"__wrapped__");if(e0||m){var L=e0?s.value():s,j=m?h.value():h;return O||(O=new A2),y(L,j,A,V,O)}}return N2?(O||(O=new A2),V0(s,h,y,A,V,O)):!1}function S0(s,h,y,A){var V=y.length,O=V;if(s==null)return!O;for(s=Object(s);V--;){var o2=y[V];if(o2[2]?o2[1]!==s[o2[0]]:!(o2[0]in s))return!1}for(;++V<O;){o2=y[V];var z2=o2[0],E2=s[z2],R2=o2[1];if(o2[2]){if(E2===void 0&&!(z2 in s))return!1}else{var Y2=new A2,K2;if(!(K2===void 0?lt(R2,E2,A,o|a,Y2):K2))return!1}}return!0}function Ee(s){if(!Oe(s)||er(s))return!1;var h=l0(s)||ie(s)?$e:O2;return h.test(D0(s))}function Wt(s){return B0(s)&&ft(s.length)&&!!H[Z2.call(s)]}function Yt(s){return typeof s=="function"?s:s==null?gt:typeof s=="object"?s0(s)?Ir(s[0],s[1]):Nr(s):bt(s)}function Kt(s){if(!dt(s))return z0(s);var h=[];for(var y in Object(s))j2.call(s,y)&&y!="constructor"&&h.push(y);return h}function Gt(s,h){var y=-1,A=U0(s)?Array(s.length):[];return P2(s,function(V,O,o2){A[++y]=h(V,O,o2)}),A}function Nr(s){var h=Be(s);return h.length==1&&h[0][2]?Te(h[0][0],h[0][1]):function(y){return y===s||S0(y,s,h)}}function Ir(s,h){return le(s)&&Pe(h)?Te(Z0(s),h):function(y){var A=He(y,s);return A===void 0&&A===h?mt(y,s):lt(h,A,void 0,o|a)}}function ae(s){return function(h){return st(h,s)}}function se(s){if(typeof s=="string")return s;if(q0(s))return ze?ze.call(s):"";var h=s+"";return h=="0"&&1/s==-1/0?"-0":h}function k0(s){return s0(s)?s:ut(s)}function Vr(s,h){return function(y,A){if(y==null)return y;if(!U0(y))return s(y,A);for(var V=y.length,O=-1,o2=Object(y);++O<V&&A(o2[O],O,o2)!==!1;);return y}}function Zr(s){return function(h,y,A){for(var V=-1,O=Object(h),o2=A(h),z2=o2.length;z2--;){var E2=o2[++V];if(y(O[E2],E2,O)===!1)break}return h}}function Xt(s,h,y,A,V,O){var o2=V&a,z2=s.length,E2=h.length;if(z2!=E2&&!(o2&&E2>z2))return!1;var R2=O.get(s);if(R2&&O.get(h))return R2==h;var Y2=-1,K2=!0,N2=V&o?new Y:void 0;for(O.set(s,h),O.set(h,s);++Y2<z2;){var e0=s[Y2],m=h[Y2];if(A)var L=o2?A(m,e0,Y2,h,s,O):A(e0,m,Y2,s,h,O);if(L!==void 0){if(L)continue;K2=!1;break}if(N2){if(!te(h,function(j,m2){if(!N2.has(m2)&&(e0===j||y(e0,j,A,V,O)))return N2.add(m2)})){K2=!1;break}}else if(!(e0===m||y(e0,m,A,V,O))){K2=!1;break}}return O.delete(s),O.delete(h),K2}function De(s,h,y,A,V,O,o2){switch(y){case d2:if(s.byteLength!=h.byteLength||s.byteOffset!=h.byteOffset)return!1;s=s.buffer,h=h.buffer;case a2:return!(s.byteLength!=h.byteLength||!A(new p0(s),new p0(h)));case f:case p:case P:return Re(+s,+h);case v:return s.name==h.name&&s.message==h.message;case Z:case S:return s==h+"";case k:var z2=et;case U:var E2=O&a;if(z2||(z2=rt),s.size!=h.size&&!E2)return!1;var R2=o2.get(s);if(R2)return R2==h;O|=o,o2.set(s,h);var Y2=Xt(z2(s),z2(h),A,V,O,o2);return o2.delete(s),Y2;case K:if(at)return at.call(s)==at.call(h)}return!1}function V0(s,h,y,A,V,O){var o2=V&a,z2=W0(s),E2=z2.length,R2=W0(h),Y2=R2.length;if(E2!=Y2&&!o2)return!1;for(var K2=E2;K2--;){var N2=z2[K2];if(!(o2?N2 in h:j2.call(h,N2)))return!1}var e0=O.get(s);if(e0&&O.get(h))return e0==h;var m=!0;O.set(s,h),O.set(h,s);for(var L=o2;++K2<E2;){N2=z2[K2];var j=s[N2],m2=h[N2];if(A)var D2=o2?A(m2,j,N2,h,s,O):A(j,m2,N2,s,h,O);if(!(D2===void 0?j===m2||y(j,m2,A,V,O):D2)){m=!1;break}L||(L=N2=="constructor")}if(m&&!L){var g2=s.constructor,G2=h.constructor;g2!=G2&&"constructor"in s&&"constructor"in h&&!(typeof g2=="function"&&g2 instanceof g2&&typeof G2=="function"&&G2 instanceof G2)&&(m=!1)}return O.delete(s),O.delete(h),m}function E0(s,h){var y=s.__data__;return Qt(h)?y[typeof h=="string"?"string":"hash"]:y.map}function Be(s){for(var h=W0(s),y=h.length;y--;){var A=h[y],V=s[A];h[y]=[A,V,Pe(V)]}return h}function _0(s,h){var y=_e(s,h);return Ee(y)?y:void 0}var L0=Ut;(nt&&L0(new nt(new ArrayBuffer(1)))!=d2||N0&&L0(new N0)!=k||ot&&L0(ot.resolve())!=I||w0&&L0(new w0)!=U||Me&&L0(new Me)!=G)&&(L0=function(s){var h=Z2.call(s),y=h==$?s.constructor:void 0,A=y?D0(y):void 0;if(A)switch(A){case Tr:return d2;case It:return k;case Rr:return I;case Vt:return U;case Or:return G}return h});function Ur(s,h,y){h=le(h,s)?[h]:k0(h);for(var A,V=-1,o2=h.length;++V<o2;){var O=Z0(h[V]);if(!(A=s!=null&&y(s,O)))break;s=s[O]}if(A)return A;var o2=s?s.length:0;return!!o2&&ft(o2)&&ct(O,o2)&&(s0(s)||de(s))}function Jt(s){return s0(s)||de(s)||!!(C0&&s&&s[C0])}function ct(s,h){return h=h??l,!!h&&(typeof s=="number"||$2.test(s))&&s>-1&&s%1==0&&s<h}function le(s,h){if(s0(s))return!1;var y=typeof s;return y=="number"||y=="symbol"||y=="boolean"||s==null||q0(s)?!0:e2.test(s)||!Q.test(s)||h!=null&&s in Object(h)}function Qt(s){var h=typeof s;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?s!=="__proto__":s===null}function er(s){return!!X&&X in s}function dt(s){var h=s&&s.constructor,y=typeof h=="function"&&h.prototype||C;return s===y}function Pe(s){return s===s&&!Oe(s)}function Te(s,h){return function(y){return y==null?!1:y[s]===h&&(h!==void 0||s in Object(y))}}var ut=ce(function(s){s=Fe(s);var h=[];return u2.test(s)&&h.push(""),s.replace(b2,function(y,A,V,O){h.push(V?O.replace(S2,"$1"):A||y)}),h});function Z0(s){if(typeof s=="string"||q0(s))return s;var h=s+"";return h=="0"&&1/s==-1/0?"-0":h}function D0(s){if(s!=null){try{return x2.call(s)}catch{}try{return s+""}catch{}}return""}function pt(s,h){return U2(ht(s,h))}function ht(s,h){var y=s0(s)?Xe:Gt;return y(s,Yt(h))}function ce(s,h){if(typeof s!="function"||h&&typeof h!="function")throw new TypeError(i);var y=function(){var A=arguments,V=h?h.apply(this,A):A[0],O=y.cache;if(O.has(V))return O.get(V);var o2=s.apply(this,A);return y.cache=O.set(V,o2),o2};return y.cache=new(ce.Cache||W),y}ce.Cache=W;function Re(s,h){return s===h||s!==s&&h!==h}function de(s){return W2(s)&&j2.call(s,"callee")&&(!Ae.call(s,"callee")||Z2.call(s)==c)}var s0=Array.isArray;function U0(s){return s!=null&&ft(s.length)&&!l0(s)}function W2(s){return B0(s)&&U0(s)}function l0(s){var h=Oe(s)?Z2.call(s):"";return h==b||h==x}function ft(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=l}function Oe(s){var h=typeof s;return!!s&&(h=="object"||h=="function")}function B0(s){return!!s&&typeof s=="object"}function q0(s){return typeof s=="symbol"||B0(s)&&Z2.call(s)==K}var tr=M0?Qe(M0):Wt;function Fe(s){return s==null?"":se(s)}function He(s,h,y){var A=s==null?void 0:st(s,h);return A===void 0?y:A}function mt(s,h){return s!=null&&Ur(s,h,Se)}function W0(s){return U0(s)?T2(s):Kt(s)}function gt(s){return s}function bt(s){return le(s)?j0(Z0(s)):ae(s)}t.exports=pt})(Ge,Ge.exports)),Ge.exports}var cs=ls();const k1=Ot(cs);function ds(t,e,r){let i=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const a={},l=d=>o.format==="date"?Ye(d).unix():parseFloat(d);e.forEach(d=>{if(o.type==="range"){const f=i0(o.key,d);if(Array.isArray(f)){const p=[l(f[0]),l(f[1])];a.min=a.min!==void 0?Math.min(a.min,p[0]):p[0],a.max=a.max!==void 0?Math.max(a.max,p[1]):p[1]}else{const p=l(f);a.min=a.min!==void 0?Math.min(a.min,p):p,a.max=a.max!==void 0?Math.max(a.max,p):p}return}Array.isArray(d[o.key])?d[o.key].forEach(f=>{a[f]=void 0}):o.type==="spatial"?(a.geometry=o?.state?.geometry||void 0,a.geometry&&(o.stringifiedState=a.geometry.type),a.mode=o.mode||"intersects"):o.key?.includes(".")?w1(k1(r.items,o.key)).filter(f=>f).forEach(f=>{a[f]=void 0}):a[d[o.key]]=void 0});const c=o.key||o.keys.join("|");r.filters[c]=Object.assign({type:o.type||"multiselect",dirty:o.state?Object.values(o.state).some(d=>d):void 0,key:c},o.type==="range"?{min:a.min,max:a.max,format:o.format}:{},o),r.filters[c].state=Object.assign({},a,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(i=Array.from(new Set(e.reduce((o,a)=>o.concat(a[t.aggregateResults]),[]))).filter(o=>o).sort((o,a)=>o.localeCompare(a)));const n=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(a=>{n.includes(a)||n.push(a)}):(o.type==="select"||o.type==="multiselect")&&(n.includes(o.key)||n.push(o.key))}),ma(e,Object.assign({keys:n},t.fuseConfig)),i}async function us(t,e,r){let i;r.externalFilter?i=await ya(e,r.filters,t):i=await ga(e,r.filters,t),r.results=r.sortResults(i)}function ps(t,e,r){const i=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return J`<eox-itemfilter-text
893
+ `}}customElements.define("eox-itemfilter-chips",ns);const os=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,idProperty:"id",titleProperty:"title",subTitleProperty:void 0,imageProperty:void 0,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),y1=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","imageProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Pr,C1;function as(){if(C1)return Pr;C1=1;var t=200,e="__lodash_hash_undefined__",r=1/0,i="[object Function]",n="[object GeneratorFunction]",o=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,l=typeof d0=="object"&&d0&&d0.Object===Object&&d0,c=typeof self=="object"&&self&&self.Object===Object&&self,d=l||c||Function("return this")();function f(C,E){var X=C?C.length:0;return!!X&&v(C,E,0)>-1}function p(C,E,X,x2){for(var j2=C.length,Z2=X+-1;++Z2<j2;)if(E(C[Z2],Z2,C))return Z2;return-1}function v(C,E,X){if(E!==E)return p(C,b,X);for(var x2=X-1,j2=C.length;++x2<j2;)if(C[x2]===E)return x2;return-1}function b(C){return C!==C}function x(C,E){return C.has(E)}function k(C,E){return C?.[E]}function P(C){var E=!1;if(C!=null&&typeof C.toString!="function")try{E=!!(C+"")}catch{}return E}function $(C){var E=-1,X=Array(C.size);return C.forEach(function(x2){X[++E]=x2}),X}var I=Array.prototype,Z=Function.prototype,U=Object.prototype,S=d["__core-js_shared__"],K=(function(){var C=/[^.]+$/.exec(S&&S.keys&&S.keys.IE_PROTO||"");return C?"Symbol(src)_1."+C:""})(),G=Z.toString,a2=U.hasOwnProperty,d2=U.toString,s2=RegExp("^"+G.call(a2).replace(o,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),q=I.splice,l2=re(d,"Map"),y2=re(d,"Set"),D=re(Object,"create");function z(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function M(){this.__data__=D?D(null):{}}function N(C){return this.has(C)&&delete this.__data__[C]}function B(C){var E=this.__data__;if(D){var X=E[C];return X===e?void 0:X}return a2.call(E,C)?E[C]:void 0}function Q(C){var E=this.__data__;return D?E[C]!==void 0:a2.call(E,C)}function e2(C,E){var X=this.__data__;return X[C]=D&&E===void 0?e:E,this}z.prototype.clear=M,z.prototype.delete=N,z.prototype.get=B,z.prototype.has=Q,z.prototype.set=e2;function u2(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function b2(){this.__data__=[]}function _2(C){var E=this.__data__,X=M0(E,C);if(X<0)return!1;var x2=E.length-1;return X==x2?E.pop():q.call(E,X,1),!0}function S2(C){var E=this.__data__,X=M0(E,C);return X<0?void 0:E[X][1]}function F2(C){return M0(this.__data__,C)>-1}function $2(C,E){var X=this.__data__,x2=M0(X,C);return x2<0?X.push([C,E]):X[x2][1]=E,this}u2.prototype.clear=b2,u2.prototype.delete=_2,u2.prototype.get=S2,u2.prototype.has=F2,u2.prototype.set=$2;function H(C){var E=-1,X=C?C.length:0;for(this.clear();++E<X;){var x2=C[E];this.set(x2[0],x2[1])}}function B2(){this.__data__={hash:new z,map:new(l2||u2),string:new z}}function L2(C){return j0(this,C).delete(C)}function t2(C){return j0(this,C).get(C)}function V2(C){return j0(this,C).has(C)}function u0(C,E){return j0(this,C).set(C,E),this}H.prototype.clear=B2,H.prototype.delete=L2,H.prototype.get=t2,H.prototype.has=V2,H.prototype.set=u0;function C2(C){var E=-1,X=C?C.length:0;for(this.__data__=new H;++E<X;)this.add(C[E])}function xe(C){return this.__data__.set(C,e),this}function ke(C){return this.__data__.has(C)}C2.prototype.add=C2.prototype.push=xe,C2.prototype.has=ke;function M0(C,E){for(var X=C.length;X--;)if(tt(C[X][0],E))return X;return-1}function Xe(C){if(!Le(C)||_e(C))return!1;var E=rt(C)||P(C)?s2:a;return E.test(ie(C))}function Je(C,E,X){var x2=-1,j2=f,Z2=C.length,$e=!0,n0=[],p0=n0;if(Z2>=t){var Ae=te(C);if(Ae)return $(Ae);$e=!1,j2=x,p0=new C2}else p0=n0;e:for(;++x2<Z2;){var y0=C[x2],C0=y0;if(y0=y0!==0?y0:0,$e&&C0===C0){for(var z0=p0.length;z0--;)if(p0[z0]===C0)continue e;n0.push(y0)}else j2(p0,C0,X)||(p0!==n0&&p0.push(C0),n0.push(y0))}return n0}var te=y2&&1/$(new y2([,-0]))[1]==r?function(C){return new y2(C)}:it;function j0(C,E){var X=C.__data__;return Qe(E)?X[typeof E=="string"?"string":"hash"]:X.map}function re(C,E){var X=k(C,E);return Xe(X)?X:void 0}function Qe(C){var E=typeof C;return E=="string"||E=="number"||E=="symbol"||E=="boolean"?C!=="__proto__":C===null}function _e(C){return!!K&&K in C}function ie(C){if(C!=null){try{return G.call(C)}catch{}try{return C+""}catch{}}return""}function et(C){return C&&C.length?Je(C):[]}function tt(C,E){return C===E||C!==C&&E!==E}function rt(C){var E=Le(C)?d2.call(C):"";return E==i||E==n}function Le(C){var E=typeof C;return!!C&&(E=="object"||E=="function")}function it(){}return Pr=et,Pr}var ss=as();const w1=Ft(ss);var Ge={exports:{}};Ge.exports;var x1;function ls(){return x1||(x1=1,(function(t,e){var r=200,i="Expected a function",n="__lodash_hash_undefined__",o=1,a=2,l=9007199254740991,c="[object Arguments]",d="[object Array]",f="[object Boolean]",p="[object Date]",v="[object Error]",b="[object Function]",x="[object GeneratorFunction]",k="[object Map]",P="[object Number]",$="[object Object]",I="[object Promise]",Z="[object RegExp]",U="[object Set]",S="[object String]",K="[object Symbol]",G="[object WeakMap]",a2="[object ArrayBuffer]",d2="[object DataView]",s2="[object Float32Array]",q="[object Float64Array]",l2="[object Int8Array]",y2="[object Int16Array]",D="[object Int32Array]",z="[object Uint8Array]",M="[object Uint8ClampedArray]",N="[object Uint16Array]",B="[object Uint32Array]",Q=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,e2=/^\w*$/,u2=/^\./,b2=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,_2=/[\\^$.*+?()[\]{}|]/g,S2=/\\(\\)?/g,F2=/^\[object .+?Constructor\]$/,$2=/^(?:0|[1-9]\d*)$/,H={};H[s2]=H[q]=H[l2]=H[y2]=H[D]=H[z]=H[M]=H[N]=H[B]=!0,H[c]=H[d]=H[a2]=H[f]=H[d2]=H[p]=H[v]=H[b]=H[k]=H[P]=H[$]=H[Z]=H[U]=H[S]=H[G]=!1;var B2=typeof d0=="object"&&d0&&d0.Object===Object&&d0,L2=typeof self=="object"&&self&&self.Object===Object&&self,t2=B2||L2||Function("return this")(),V2=e&&!e.nodeType&&e,u0=V2&&!0&&t&&!t.nodeType&&t,C2=u0&&u0.exports===V2,xe=C2&&B2.process,ke=(function(){try{return xe&&xe.binding("util")}catch{}})(),M0=ke&&ke.isTypedArray;function Xe(s,h){for(var y=-1,A=s?s.length:0,V=Array(A);++y<A;)V[y]=h(s[y],y,s);return V}function Je(s,h){for(var y=-1,A=h.length,V=s.length;++y<A;)s[V+y]=h[y];return s}function te(s,h){for(var y=-1,A=s?s.length:0;++y<A;)if(h(s[y],y,s))return!0;return!1}function j0(s){return function(h){return h?.[s]}}function re(s,h){for(var y=-1,A=Array(s);++y<s;)A[y]=h(y);return A}function Qe(s){return function(h){return s(h)}}function _e(s,h){return s?.[h]}function ie(s){var h=!1;if(s!=null&&typeof s.toString!="function")try{h=!!(s+"")}catch{}return h}function et(s){var h=-1,y=Array(s.size);return s.forEach(function(A,V){y[++h]=[V,A]}),y}function tt(s,h){return function(y){return s(h(y))}}function rt(s){var h=-1,y=Array(s.size);return s.forEach(function(A){y[++h]=A}),y}var Le=Array.prototype,it=Function.prototype,C=Object.prototype,E=t2["__core-js_shared__"],X=(function(){var s=/[^.]+$/.exec(E&&E.keys&&E.keys.IE_PROTO||"");return s?"Symbol(src)_1."+s:""})(),x2=it.toString,j2=C.hasOwnProperty,Z2=C.toString,$e=RegExp("^"+x2.call(j2).replace(_2,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),n0=t2.Symbol,p0=t2.Uint8Array,Ae=C.propertyIsEnumerable,y0=Le.splice,C0=n0?n0.isConcatSpreadable:void 0,z0=tt(Object.keys,Object),nt=_0(t2,"DataView"),N0=_0(t2,"Map"),ot=_0(t2,"Promise"),w0=_0(t2,"Set"),Me=_0(t2,"WeakMap"),ne=_0(Object,"create"),Tr=D0(nt),It=D0(N0),Rr=D0(ot),Vt=D0(w0),Fr=D0(Me),oe=n0?n0.prototype:void 0,at=oe?oe.valueOf:void 0,ze=oe?oe.toString:void 0;function o0(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function I0(){this.__data__=ne?ne(null):{}}function Zt(s){return this.has(s)&&delete this.__data__[s]}function Or(s){var h=this.__data__;if(ne){var y=h[s];return y===n?void 0:y}return j2.call(h,s)?h[s]:void 0}function Hr(s){var h=this.__data__;return ne?h[s]!==void 0:j2.call(h,s)}function jr(s,h){var y=this.__data__;return y[s]=ne&&h===void 0?n:h,this}o0.prototype.clear=I0,o0.prototype.delete=Zt,o0.prototype.get=Or,o0.prototype.has=Hr,o0.prototype.set=jr;function a0(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function u(){this.__data__=[]}function g(s){var h=this.__data__,y=M2(h,s);if(y<0)return!1;var A=h.length-1;return y==A?h.pop():y0.call(h,y,1),!0}function _(s){var h=this.__data__,y=M2(h,s);return y<0?void 0:h[y][1]}function w(s){return M2(this.__data__,s)>-1}function T(s,h){var y=this.__data__,A=M2(y,s);return A<0?y.push([s,h]):y[A][1]=h,this}a0.prototype.clear=u,a0.prototype.delete=g,a0.prototype.get=_,a0.prototype.has=w,a0.prototype.set=T;function W(s){var h=-1,y=s?s.length:0;for(this.clear();++h<y;){var A=s[h];this.set(A[0],A[1])}}function c2(){this.__data__={hash:new o0,map:new(N0||a0),string:new o0}}function R(s){return E0(this,s).delete(s)}function O(s){return E0(this,s).get(s)}function p2(s){return E0(this,s).has(s)}function f2(s,h){return E0(this,s).set(s,h),this}W.prototype.clear=c2,W.prototype.delete=R,W.prototype.get=O,W.prototype.has=p2,W.prototype.set=f2;function Y(s){var h=-1,y=s?s.length:0;for(this.__data__=new W;++h<y;)this.add(s[h])}function v2(s){return this.__data__.set(s,n),this}function Q2(s){return this.__data__.has(s)}Y.prototype.add=Y.prototype.push=v2,Y.prototype.has=Q2;function A2(s){this.__data__=new a0(s)}function i2(){this.__data__=new a0}function h2(s){return this.__data__.delete(s)}function n2(s){return this.__data__.get(s)}function k2(s){return this.__data__.has(s)}function O2(s,h){var y=this.__data__;if(y instanceof a0){var A=y.__data__;if(!N0||A.length<r-1)return A.push([s,h]),this;y=this.__data__=new W(A)}return y.set(s,h),this}A2.prototype.clear=i2,A2.prototype.delete=h2,A2.prototype.get=n2,A2.prototype.has=k2,A2.prototype.set=O2;function T2(s,h){var y=s0(s)||de(s)?re(s.length,String):[],A=y.length,V=!!A;for(var F in s)j2.call(s,F)&&!(V&&(F=="length"||ct(F,A)))&&y.push(F);return y}function M2(s,h){for(var y=s.length;y--;)if(Re(s[y][0],h))return y;return-1}var P2=Vr(x0);function U2(s,h,y,A,V){var F=-1,o2=s.length;for(y||(y=Jt),V||(V=[]);++F<o2;){var z2=s[F];y(z2)?Je(V,z2):V[V.length]=z2}return V}var q2=Zr();function x0(s,h){return s&&q2(s,h,W0)}function st(s,h){h=le(h,s)?[h]:k0(h);for(var y=0,A=h.length;s!=null&&y<A;)s=s[Z0(h[y++])];return y&&y==A?s:void 0}function Ut(s){return Z2.call(s)}function Se(s,h){return s!=null&&h in Object(s)}function lt(s,h,y,A,V){return s===h?!0:s==null||h==null||!Fe(s)&&!B0(h)?s!==s&&h!==h:qt(s,h,lt,y,A,V)}function qt(s,h,y,A,V,F){var o2=s0(s),z2=s0(h),E2=d,R2=d;o2||(E2=L0(s),E2=E2==c?$:E2),z2||(R2=L0(h),R2=R2==c?$:R2);var Y2=E2==$&&!ie(s),K2=R2==$&&!ie(h),N2=E2==R2;if(N2&&!Y2)return F||(F=new A2),o2||tr(s)?Xt(s,h,y,A,V,F):De(s,h,E2,y,A,V,F);if(!(V&a)){var e0=Y2&&j2.call(s,"__wrapped__"),m=K2&&j2.call(h,"__wrapped__");if(e0||m){var L=e0?s.value():s,j=m?h.value():h;return F||(F=new A2),y(L,j,A,V,F)}}return N2?(F||(F=new A2),V0(s,h,y,A,V,F)):!1}function S0(s,h,y,A){var V=y.length,F=V;if(s==null)return!F;for(s=Object(s);V--;){var o2=y[V];if(o2[2]?o2[1]!==s[o2[0]]:!(o2[0]in s))return!1}for(;++V<F;){o2=y[V];var z2=o2[0],E2=s[z2],R2=o2[1];if(o2[2]){if(E2===void 0&&!(z2 in s))return!1}else{var Y2=new A2,K2;if(!(K2===void 0?lt(R2,E2,A,o|a,Y2):K2))return!1}}return!0}function Ee(s){if(!Fe(s)||er(s))return!1;var h=l0(s)||ie(s)?$e:F2;return h.test(D0(s))}function Wt(s){return B0(s)&&ft(s.length)&&!!H[Z2.call(s)]}function Yt(s){return typeof s=="function"?s:s==null?gt:typeof s=="object"?s0(s)?Ir(s[0],s[1]):Nr(s):bt(s)}function Kt(s){if(!dt(s))return z0(s);var h=[];for(var y in Object(s))j2.call(s,y)&&y!="constructor"&&h.push(y);return h}function Gt(s,h){var y=-1,A=U0(s)?Array(s.length):[];return P2(s,function(V,F,o2){A[++y]=h(V,F,o2)}),A}function Nr(s){var h=Be(s);return h.length==1&&h[0][2]?Te(h[0][0],h[0][1]):function(y){return y===s||S0(y,s,h)}}function Ir(s,h){return le(s)&&Pe(h)?Te(Z0(s),h):function(y){var A=He(y,s);return A===void 0&&A===h?mt(y,s):lt(h,A,void 0,o|a)}}function ae(s){return function(h){return st(h,s)}}function se(s){if(typeof s=="string")return s;if(q0(s))return ze?ze.call(s):"";var h=s+"";return h=="0"&&1/s==-1/0?"-0":h}function k0(s){return s0(s)?s:ut(s)}function Vr(s,h){return function(y,A){if(y==null)return y;if(!U0(y))return s(y,A);for(var V=y.length,F=-1,o2=Object(y);++F<V&&A(o2[F],F,o2)!==!1;);return y}}function Zr(s){return function(h,y,A){for(var V=-1,F=Object(h),o2=A(h),z2=o2.length;z2--;){var E2=o2[++V];if(y(F[E2],E2,F)===!1)break}return h}}function Xt(s,h,y,A,V,F){var o2=V&a,z2=s.length,E2=h.length;if(z2!=E2&&!(o2&&E2>z2))return!1;var R2=F.get(s);if(R2&&F.get(h))return R2==h;var Y2=-1,K2=!0,N2=V&o?new Y:void 0;for(F.set(s,h),F.set(h,s);++Y2<z2;){var e0=s[Y2],m=h[Y2];if(A)var L=o2?A(m,e0,Y2,h,s,F):A(e0,m,Y2,s,h,F);if(L!==void 0){if(L)continue;K2=!1;break}if(N2){if(!te(h,function(j,m2){if(!N2.has(m2)&&(e0===j||y(e0,j,A,V,F)))return N2.add(m2)})){K2=!1;break}}else if(!(e0===m||y(e0,m,A,V,F))){K2=!1;break}}return F.delete(s),F.delete(h),K2}function De(s,h,y,A,V,F,o2){switch(y){case d2:if(s.byteLength!=h.byteLength||s.byteOffset!=h.byteOffset)return!1;s=s.buffer,h=h.buffer;case a2:return!(s.byteLength!=h.byteLength||!A(new p0(s),new p0(h)));case f:case p:case P:return Re(+s,+h);case v:return s.name==h.name&&s.message==h.message;case Z:case S:return s==h+"";case k:var z2=et;case U:var E2=F&a;if(z2||(z2=rt),s.size!=h.size&&!E2)return!1;var R2=o2.get(s);if(R2)return R2==h;F|=o,o2.set(s,h);var Y2=Xt(z2(s),z2(h),A,V,F,o2);return o2.delete(s),Y2;case K:if(at)return at.call(s)==at.call(h)}return!1}function V0(s,h,y,A,V,F){var o2=V&a,z2=W0(s),E2=z2.length,R2=W0(h),Y2=R2.length;if(E2!=Y2&&!o2)return!1;for(var K2=E2;K2--;){var N2=z2[K2];if(!(o2?N2 in h:j2.call(h,N2)))return!1}var e0=F.get(s);if(e0&&F.get(h))return e0==h;var m=!0;F.set(s,h),F.set(h,s);for(var L=o2;++K2<E2;){N2=z2[K2];var j=s[N2],m2=h[N2];if(A)var D2=o2?A(m2,j,N2,h,s,F):A(j,m2,N2,s,h,F);if(!(D2===void 0?j===m2||y(j,m2,A,V,F):D2)){m=!1;break}L||(L=N2=="constructor")}if(m&&!L){var g2=s.constructor,G2=h.constructor;g2!=G2&&"constructor"in s&&"constructor"in h&&!(typeof g2=="function"&&g2 instanceof g2&&typeof G2=="function"&&G2 instanceof G2)&&(m=!1)}return F.delete(s),F.delete(h),m}function E0(s,h){var y=s.__data__;return Qt(h)?y[typeof h=="string"?"string":"hash"]:y.map}function Be(s){for(var h=W0(s),y=h.length;y--;){var A=h[y],V=s[A];h[y]=[A,V,Pe(V)]}return h}function _0(s,h){var y=_e(s,h);return Ee(y)?y:void 0}var L0=Ut;(nt&&L0(new nt(new ArrayBuffer(1)))!=d2||N0&&L0(new N0)!=k||ot&&L0(ot.resolve())!=I||w0&&L0(new w0)!=U||Me&&L0(new Me)!=G)&&(L0=function(s){var h=Z2.call(s),y=h==$?s.constructor:void 0,A=y?D0(y):void 0;if(A)switch(A){case Tr:return d2;case It:return k;case Rr:return I;case Vt:return U;case Fr:return G}return h});function Ur(s,h,y){h=le(h,s)?[h]:k0(h);for(var A,V=-1,o2=h.length;++V<o2;){var F=Z0(h[V]);if(!(A=s!=null&&y(s,F)))break;s=s[F]}if(A)return A;var o2=s?s.length:0;return!!o2&&ft(o2)&&ct(F,o2)&&(s0(s)||de(s))}function Jt(s){return s0(s)||de(s)||!!(C0&&s&&s[C0])}function ct(s,h){return h=h??l,!!h&&(typeof s=="number"||$2.test(s))&&s>-1&&s%1==0&&s<h}function le(s,h){if(s0(s))return!1;var y=typeof s;return y=="number"||y=="symbol"||y=="boolean"||s==null||q0(s)?!0:e2.test(s)||!Q.test(s)||h!=null&&s in Object(h)}function Qt(s){var h=typeof s;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?s!=="__proto__":s===null}function er(s){return!!X&&X in s}function dt(s){var h=s&&s.constructor,y=typeof h=="function"&&h.prototype||C;return s===y}function Pe(s){return s===s&&!Fe(s)}function Te(s,h){return function(y){return y==null?!1:y[s]===h&&(h!==void 0||s in Object(y))}}var ut=ce(function(s){s=Oe(s);var h=[];return u2.test(s)&&h.push(""),s.replace(b2,function(y,A,V,F){h.push(V?F.replace(S2,"$1"):A||y)}),h});function Z0(s){if(typeof s=="string"||q0(s))return s;var h=s+"";return h=="0"&&1/s==-1/0?"-0":h}function D0(s){if(s!=null){try{return x2.call(s)}catch{}try{return s+""}catch{}}return""}function pt(s,h){return U2(ht(s,h))}function ht(s,h){var y=s0(s)?Xe:Gt;return y(s,Yt(h))}function ce(s,h){if(typeof s!="function"||h&&typeof h!="function")throw new TypeError(i);var y=function(){var A=arguments,V=h?h.apply(this,A):A[0],F=y.cache;if(F.has(V))return F.get(V);var o2=s.apply(this,A);return y.cache=F.set(V,o2),o2};return y.cache=new(ce.Cache||W),y}ce.Cache=W;function Re(s,h){return s===h||s!==s&&h!==h}function de(s){return W2(s)&&j2.call(s,"callee")&&(!Ae.call(s,"callee")||Z2.call(s)==c)}var s0=Array.isArray;function U0(s){return s!=null&&ft(s.length)&&!l0(s)}function W2(s){return B0(s)&&U0(s)}function l0(s){var h=Fe(s)?Z2.call(s):"";return h==b||h==x}function ft(s){return typeof s=="number"&&s>-1&&s%1==0&&s<=l}function Fe(s){var h=typeof s;return!!s&&(h=="object"||h=="function")}function B0(s){return!!s&&typeof s=="object"}function q0(s){return typeof s=="symbol"||B0(s)&&Z2.call(s)==K}var tr=M0?Qe(M0):Wt;function Oe(s){return s==null?"":se(s)}function He(s,h,y){var A=s==null?void 0:st(s,h);return A===void 0?y:A}function mt(s,h){return s!=null&&Ur(s,h,Se)}function W0(s){return U0(s)?T2(s):Kt(s)}function gt(s){return s}function bt(s){return le(s)?j0(Z0(s)):ae(s)}t.exports=pt})(Ge,Ge.exports)),Ge.exports}var cs=ls();const k1=Ft(cs);function ds(t,e,r){let i=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const a={},l=d=>o.format==="date"?Ye(d).unix():parseFloat(d);e.forEach(d=>{if(o.type==="range"){const f=i0(o.key,d);if(Array.isArray(f)){const p=[l(f[0]),l(f[1])];a.min=a.min!==void 0?Math.min(a.min,p[0]):p[0],a.max=a.max!==void 0?Math.max(a.max,p[1]):p[1]}else{const p=l(f);a.min=a.min!==void 0?Math.min(a.min,p):p,a.max=a.max!==void 0?Math.max(a.max,p):p}return}Array.isArray(d[o.key])?d[o.key].forEach(f=>{a[f]=void 0}):o.type==="spatial"?(a.geometry=o?.state?.geometry||void 0,a.geometry&&(o.stringifiedState=a.geometry.type),a.mode=o.mode||"intersects"):o.key?.includes(".")?w1(k1(r.items,o.key)).filter(f=>f).forEach(f=>{a[f]=void 0}):a[d[o.key]]=void 0});const c=o.key||o.keys.join("|");r.filters[c]=Object.assign({type:o.type||"multiselect",dirty:o.state?Object.values(o.state).some(d=>d):void 0,key:c},o.type==="range"?{min:a.min,max:a.max,format:o.format}:{},o),r.filters[c].state=Object.assign({},a,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(i=Array.from(new Set(e.reduce((o,a)=>o.concat(a[t.aggregateResults]),[]))).filter(o=>o).sort((o,a)=>o.localeCompare(a)));const n=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(a=>{n.includes(a)||n.push(a)}):(o.type==="select"||o.type==="multiselect")&&(n.includes(o.key)||n.push(o.key))}),ma(e,Object.assign({keys:n},t.fuseConfig)),i}async function us(t,e,r){let i;r.externalFilter?i=await ya(e,r.filters,t):i=await ga(e,r.filters,t),r.results=r.sortResults(i)}function ps(t,e,r){const i=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return J`<eox-itemfilter-text
890
894
  data-type="filter"
891
895
  data-cy="text-filter"
892
896
  slot="filter"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eox/itemfilter",
3
- "version": "1.13.2",
3
+ "version": "1.14.0",
4
4
  "type": "module",
5
5
  "repository": {
6
6
  "type": "git",
@@ -54,6 +54,6 @@
54
54
  },
55
55
  "peerDependencies": {
56
56
  "@eox/layout": "*",
57
- "@eox/map": ">=2.0.0"
57
+ "@eox/map": ">=2.0.0 || >=2.1.0-dev.1"
58
58
  }
59
59
  }
@@ -16,9 +16,11 @@ async function filterExternal(items, filters, config) {
16
16
  typeof functionResult === "string" || functionResult instanceof String
17
17
  ? functionResult
18
18
  : functionResult.url;
19
- // Generate the URL for the external API based on the provided items and filters
20
- const response = await fetch(url);
21
- const jsonData = await response.json();
19
+
20
+ const jsonData =
21
+ typeof functionResult === "object" && "fetchFn" in functionResult
22
+ ? await functionResult.fetchFn(url)
23
+ : await fetch(url).then(async (response) => await response.json());
22
24
 
23
25
  // Return the array from the parsed JSON data
24
26
  return functionResult.key ? getValue(functionResult.key, jsonData) : jsonData;
package/src/main.js CHANGED
@@ -164,9 +164,12 @@ export class EOxItemFilter extends LitElement {
164
164
 
165
165
  /**
166
166
  * Use an external search endpoint instead of fuse search.
167
- * Passed properties: input string, filters object
167
+ * Passed properties: input string, filters object.
168
+ * The function can return a URL string, or an object containing a `url,
169
+ * an optional `fetchFn` to handle the request, or/and an optional `key` to
170
+ * return a specific property from the fetched data.
168
171
  *
169
- * @type Function
172
+ * @type {() => string| (() => {url:string;key?:string;fetchFn?:string})}
170
173
  */
171
174
  this.externalFilter = null;
172
175
 
@@ -120,6 +120,8 @@ export function createItemListMethod(
120
120
  getValue(config.imageProperty, item)
121
121
  ? html`
122
122
  <img
123
+ loading="lazy"
124
+ fetchpriority="low"
123
125
  class="image"
124
126
  src="${getValue(config.imageProperty, item)}"
125
127
  />
@@ -143,6 +145,8 @@ export function createItemListMethod(
143
145
  ${getValue(config.imageProperty, item)
144
146
  ? html`
145
147
  <img
148
+ loading="lazy"
149
+ fetchpriority="low"
146
150
  class="image"
147
151
  src="${getValue(config.imageProperty, item)}"
148
152
  />
@@ -1 +1 @@
1
- {"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CAiBlC"}
1
+ {"version":3,"file":"filter-external.d.ts","sourceRoot":"","sources":["../../src/helpers/filter-external.js"],"names":[],"mappings":";AACA;;;;;;;GAOG;AACH,uCALW,KAAK,KAAQ,8BAGX,OAAO,CAAC,KAAK,KAAQ,CAAC,CAmBlC"}
package/types/main.d.ts CHANGED
@@ -171,11 +171,18 @@ export class EOxItemFilter extends LitElement {
171
171
  enableHighlighting: boolean;
172
172
  /**
173
173
  * Use an external search endpoint instead of fuse search.
174
- * Passed properties: input string, filters object
174
+ * Passed properties: input string, filters object.
175
+ * The function can return a URL string, or an object containing a `url,
176
+ * an optional `fetchFn` to handle the request, or/and an optional `key` to
177
+ * return a specific property from the fetched data.
175
178
  *
176
- * @type Function
179
+ * @type {() => string| (() => {url:string;key?:string;fetchFn?:string})}
177
180
  */
178
- externalFilter: Function;
181
+ externalFilter: () => string | (() => {
182
+ url: string;
183
+ key?: string;
184
+ fetchFn?: string;
185
+ });
179
186
  /**
180
187
  * The filter properties.
181
188
  * @type Array<{key?: String, keys?: Array<String>, title: String, type: String, placeholder?: String, format?: String, state?: Object}>
@@ -1 +1 @@
1
- {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC;IAoBC;;OAEG;IACH,OAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,aAAiB;IAEjB;;;OAGG;IACH,SAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,oBAA0B;IAE1B;;;OAGG;IACH,eAEE;IAEF;;;;OAIG;IACH,yBAAiC;IAEjC;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;;OAKG;IACH,yBAA0B;IAE1B;;;OAGG;IACH,kBAFS,KAAK,CAAC;QAAC,GAAG,CAAC,SAAS;QAAC,IAAI,CAAC,EAAE,KAAK,QAAQ,CAAC;QAAC,KAAK,SAAS;QAAC,IAAI,SAAS;QAAC,WAAW,CAAC,SAAS;QAAC,MAAM,CAAC,SAAS;QAAC,KAAK,CAAC,MAAQ;KAAC,CAAC,CAE9G;IAE1B;;;;OAIG;IACH,gBAAoB;IAEpB;;;;;OAKG;IACH,oBAAuB;IAEvB;;;;OAIG;IACH,2BAA6B;IAE7B;;;;OAIG;IACH,qBAAuB;IAEvB;;;;;OAKG;IACH,eAFS,iBAAe,CAEI;IAE5B;;;;;OAKG;IACH,kBAFS,iBAAe,CAES;IAEjC;;;;;OAKG;IACH,eAFS,iBAAe,CAEM;IAE9B;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,uBAAyB;IACzB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,mBAAwB;IAExB;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,yBAC65B;IAE75B;;;OAGG;IACH,sBAAuB;IAEvB;;OAEG;IACH,kBAAqB;IAGvB;;OAEG;IACH,cAOC;IAED;;;OAGG;IACH,+BAoBC;IAED;;;;;OAKG;IACH,mBAHW,KAAK,CAAC,MAAM,CAAC,GACX,KAAK,CAAC,MAAM,CAAC,CAIzB;IAwBD;;OAEG;IACH,qBAEC;IAED;;;;;OAKG;IACH,sDAcC;IAED;;;;;OAKG;IACH,gDAQC;IAED;;;;OAIG;IACH,kBAFW;QAAC,MAAM,MAAQ;KAAC,QAe1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;OAEG;IACH,+CAyIC;;CACF;2BA9mByC,KAAK"}
1
+ {"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.js"],"names":[],"mappings":"AA8BA;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH;IAEE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC;IAoBC;;OAEG;IACH,OAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,aAAiB;IAEjB;;;OAGG;IACH,SAFS,KAAK,KAAQ,CAEL;IAEjB;;;OAGG;IACH,oBAA0B;IAE1B;;;OAGG;IACH,eAEE;IAEF;;;;OAIG;IACH,yBAAiC;IAEjC;;;;;OAKG;IACH,0BAA6B;IAE7B;;;;OAIG;IACH,4BAA+B;IAE/B;;;;;;;;OAQG;IACH,gBAFU,MAAM,MAAM,GAAE,CAAC,MAAM;QAAC,GAAG,EAAC,MAAM,CAAC;QAAA,GAAG,CAAC,EAAC,MAAM,CAAC;QAAA,OAAO,CAAC,EAAC,MAAM,CAAA;KAAC,CAAC,CAE9C;IAE1B;;;OAGG;IACH,kBAFS,KAAK,CAAC;QAAC,GAAG,CAAC,SAAS;QAAC,IAAI,CAAC,EAAE,KAAK,QAAQ,CAAC;QAAC,KAAK,SAAS;QAAC,IAAI,SAAS;QAAC,WAAW,CAAC,SAAS;QAAC,MAAM,CAAC,SAAS;QAAC,KAAK,CAAC,MAAQ;KAAC,CAAC,CAE9G;IAE1B;;;;OAIG;IACH,gBAAoB;IAEpB;;;;;OAKG;IACH,oBAAuB;IAEvB;;;;OAIG;IACH,2BAA6B;IAE7B;;;;OAIG;IACH,qBAAuB;IAEvB;;;;;OAKG;IACH,eAFS,iBAAe,CAEI;IAE5B;;;;;OAKG;IACH,kBAFS,iBAAe,CAES;IAEjC;;;;;OAKG;IACH,eAFS,iBAAe,CAEM;IAE9B;;;;OAIG;IACH,mBAAsB;IAEtB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,uBAAyB;IACzB;;;;OAIG;IACH,+BAAiC;IAEjC;;;;OAIG;IACH,mBAAwB;IAExB;;;;OAIG;IACH,4BAA+B;IAE/B;;;;OAIG;IACH,yBAC65B;IAE75B;;;OAGG;IACH,sBAAuB;IAEvB;;OAEG;IACH,kBAAqB;IAGvB;;OAEG;IACH,cAOC;IAED;;;OAGG;IACH,+BAoBC;IAED;;;;;OAKG;IACH,mBAHW,KAAK,CAAC,MAAM,CAAC,GACX,KAAK,CAAC,MAAM,CAAC,CAIzB;IAwBD;;OAEG;IACH,qBAEC;IAED;;;;;OAKG;IACH,sDAcC;IAED;;;;;OAKG;IACH,gDAQC;IAED;;;;OAIG;IACH,kBAFW;QAAC,MAAM,MAAQ;KAAC,QAe1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;;;OAIG;IACH,sBAFW;QAAC,MAAM,MAAQ;KAAC,QAa1B;IAED;;OAEG;IACH,+CAyIC;;CACF;2BAjnByC,KAAK"}
@@ -1 +1 @@
1
- {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,8BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,sFAHW,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CA2KxC"}
1
+ {"version":3,"file":"create.d.ts","sourceRoot":"","sources":["../../../src/methods/results/create.js"],"names":[],"mappings":"AAOA;;;;;;GAMG;AACH,6DAJW,MAAM,8BAEJ,OAAO,KAAK,EAAE,kBAAkB,CAuC5C;AAED;;;;;;GAMG;AACH,sFAHW,MAAM,GACJ,OAAO,KAAK,EAAE,cAAc,CA+KxC"}