@eox/itemfilter 1.0.2 → 1.1.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,30 +1,30 @@
1
- (function(ge,he){typeof exports=="object"&&typeof module<"u"?he(exports):typeof define=="function"&&define.amd?define(["exports"],he):(ge=typeof globalThis<"u"?globalThis:ge||self,he(ge["eox-itemfilter"]={}))})(this,function(ge){"use strict";var A1=Object.defineProperty;var Rp=ge=>{throw TypeError(ge)};var _1=(ge,he,Ce)=>he in ge?A1(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:Ce}):ge[he]=Ce;var ui=(ge,he,Ce)=>_1(ge,typeof he!="symbol"?he+"":he,Ce),Ja=(ge,he,Ce)=>he.has(ge)||Rp("Cannot "+Ce);var ut=(ge,he,Ce)=>(Ja(ge,he,"read from private field"),Ce?Ce.call(ge):he.get(ge)),nt=(ge,he,Ce)=>he.has(ge)?Rp("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ge):he.set(ge,Ce),Lo=(ge,he,Ce,wn)=>(Ja(ge,he,"write to private field"),wn?wn.call(ge,Ce):he.set(ge,Ce),Ce),pe=(ge,he,Ce)=>(Ja(ge,he,"access private method"),Ce);/**
1
+ (function(ue,ce){typeof exports=="object"&&typeof module<"u"?ce(exports):typeof define=="function"&&define.amd?define(["exports"],ce):(ue=typeof globalThis<"u"?globalThis:ue||self,ce(ue["eox-itemfilter"]={}))})(this,function(ue){"use strict";var Gh=Object.defineProperty;var la=ue=>{throw TypeError(ue)};var Yh=(ue,ce,Ee)=>ce in ue?Gh(ue,ce,{enumerable:!0,configurable:!0,writable:!0,value:Ee}):ue[ce]=Ee;var hr=(ue,ce,Ee)=>Yh(ue,typeof ce!="symbol"?ce+"":ce,Ee),ys=(ue,ce,Ee)=>ce.has(ue)||la("Cannot "+Ee);var nt=(ue,ce,Ee)=>(ys(ue,ce,"read from private field"),Ee?Ee.call(ue):ce.get(ue)),Ze=(ue,ce,Ee)=>ce.has(ue)?la("Cannot add the same private member more than once"):ce instanceof WeakSet?ce.add(ue):ce.set(ue,Ee),oi=(ue,ce,Ee,Rn)=>(ys(ue,ce,"write to private field"),Rn?Rn.call(ue,Ee):ce.set(ue,Ee),Ee),le=(ue,ce,Ee)=>(ys(ue,ce,"access private method"),Ee);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */var Tp,oo,Dp,xe,Ip,Xa,Za,jp,Qa,el,Bp,tl,Np,Hp,so,xr,rl,Up,rr,Fp,Wp,zp,Sr,qp,nl,ao,Gp,lo,Vp,Ar,il,Kp,Gn,tn,ht,rn,Yp,Jp;const he=globalThis,Ce=he.ShadowRoot&&(he.ShadyCSS===void 0||he.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,wn=Symbol(),ol=new WeakMap;let Xp=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==wn)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(Ce&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=ol.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&ol.set(r,e))}return e}toString(){return this.cssText}};const Zp=t=>new Xp(typeof t=="string"?t:t+"",void 0,wn),Qp=(t,e)=>{if(Ce)t.adoptedStyleSheets=e.map(r=>r instanceof CSSStyleSheet?r:r.styleSheet);else for(const r of e){const n=document.createElement("style"),i=he.litNonce;i!==void 0&&n.setAttribute("nonce",i),n.textContent=r.cssText,t.appendChild(n)}},sl=Ce?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return Zp(r)})(t):t;/**
5
+ */var aa,Or,ua,me,ha,bs,ms,da,vs,ws,fa,xs,pa,ga,Dr,Kt,$s,ya,Pt,ba,ma,va,Gt,wa,_s,jr,xa,Nr,$a,Yt,As,_a,Gn,gn,it,yn,Aa,Ma;const ce=globalThis,Ee=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Rn=Symbol(),Ms=new WeakMap;let Sa=class{constructor(e,n,r){if(this._$cssResult$=!0,r!==Rn)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=n}get styleSheet(){let e=this.o;const n=this.t;if(Ee&&e===void 0){const r=n!==void 0&&n.length===1;r&&(e=Ms.get(n)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Ms.set(n,e))}return e}toString(){return this.cssText}};const Ea=t=>new Sa(typeof t=="string"?t:t+"",void 0,Rn),Ca=(t,e)=>{if(Ee)t.adoptedStyleSheets=e.map(n=>n instanceof CSSStyleSheet?n:n.styleSheet);else for(const n of e){const r=document.createElement("style"),i=ce.litNonce;i!==void 0&&r.setAttribute("nonce",i),r.textContent=n.cssText,t.appendChild(r)}},Ss=Ee?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let n="";for(const r of e.cssRules)n+=r.cssText;return Ea(n)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:eh,defineProperty:th,getOwnPropertyDescriptor:rh,getOwnPropertyNames:nh,getOwnPropertySymbols:ih,getPrototypeOf:oh}=Object,Wt=globalThis,al=Wt.trustedTypes,sh=al?al.emptyScript:"",To=Wt.reactiveElementPolyfillSupport,$n=(t,e)=>t,Ro={toAttribute(t,e){switch(e){case Boolean:t=t?sh: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}},ll=(t,e)=>!eh(t,e),cl={attribute:!0,type:String,converter:Ro,reflect:!1,hasChanged:ll};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Wt.litPropertyMetadata??(Wt.litPropertyMetadata=new WeakMap);class Dr extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,r=cl){if(r.state&&(r.attribute=!1),this._$Ei(),this.elementProperties.set(e,r),!r.noAccessor){const n=Symbol(),i=this.getPropertyDescriptor(e,n,r);i!==void 0&&th(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:o}=rh(this.prototype,e)??{get(){return this[r]},set(s){this[r]=s}};return{get(){return i==null?void 0:i.call(this)},set(s){const l=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,l,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??cl}static _$Ei(){if(this.hasOwnProperty($n("elementProperties")))return;const e=oh(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty($n("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty($n("properties"))){const r=this.properties,n=[...nh(r),...ih(r)];for(const i of n)this.createProperty(i,r[i])}const e=this[Symbol.metadata];if(e!==null){const r=litPropertyMetadata.get(e);if(r!==void 0)for(const[n,i]of r)this.elementProperties.set(n,i)}this._$Eh=new Map;for(const[r,n]of this.elementProperties){const i=this._$Eu(r,n);i!==void 0&&this._$Eh.set(i,r)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const r=[];if(Array.isArray(e)){const n=new Set(e.flat(1/0).reverse());for(const i of n)r.unshift(sl(i))}else e!==void 0&&r.push(sl(e));return r}static _$Eu(e,r){const n=r.attribute;return n===!1?void 0:typeof n=="string"?n: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(){var e;this._$ES=new Promise(r=>this.enableUpdating=r),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(r=>r(this))}addController(e){var r;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((r=e.hostConnected)==null||r.call(e))}removeController(e){var r;(r=this._$EO)==null||r.delete(e)}_$E_(){const e=new Map,r=this.constructor.elementProperties;for(const n of r.keys())this.hasOwnProperty(n)&&(e.set(n,this[n]),delete this[n]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Qp(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(r=>{var n;return(n=r.hostConnected)==null?void 0:n.call(r)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(r=>{var n;return(n=r.hostDisconnected)==null?void 0:n.call(r)})}attributeChangedCallback(e,r,n){this._$AK(e,n)}_$EC(e,r){var o;const n=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,n);if(i!==void 0&&n.reflect===!0){const s=(((o=n.converter)==null?void 0:o.toAttribute)!==void 0?n.converter:Ro).toAttribute(r,n.type);this._$Em=e,s==null?this.removeAttribute(i):this.setAttribute(i,s),this._$Em=null}}_$AK(e,r){var o;const n=this.constructor,i=n._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const s=n.getPropertyOptions(i),l=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:Ro;this._$Em=i,this[i]=l.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??ll)(this[e],r))return;this.P(e,r,n)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,r,n){this._$AL.has(e)||this._$AL.set(e,r),n.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){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(){var n;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[o,s]of this._$Ep)this[o]=s;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[o,s]of i)s.wrapped!==!0||this._$AL.has(o)||this[o]===void 0||this.P(o,this[o],s)}let e=!1;const r=this._$AL;try{e=this.shouldUpdate(r),e?(this.willUpdate(r),(n=this._$EO)==null||n.forEach(i=>{var o;return(o=i.hostUpdate)==null?void 0:o.call(i)}),this.update(r)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(r)}willUpdate(e){}_$AE(e){var r;(r=this._$EO)==null||r.forEach(n=>{var i;return(i=n.hostUpdated)==null?void 0:i.call(n)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(r=>this._$EC(r,this[r]))),this._$EU()}updated(e){}firstUpdated(e){}}Dr.elementStyles=[],Dr.shadowRootOptions={mode:"open"},Dr[$n("elementProperties")]=new Map,Dr[$n("finalized")]=new Map,To==null||To({ReactiveElement:Dr}),(Wt.reactiveElementVersions??(Wt.reactiveElementVersions=[])).push("2.0.4");/**
9
+ */const{is:ka,defineProperty:La,getOwnPropertyDescriptor:Pa,getOwnPropertyNames:Ta,getOwnPropertySymbols:Ra,getPrototypeOf:Oa}=Object,Mt=globalThis,Es=Mt.trustedTypes,Da=Es?Es.emptyScript:"",ai=Mt.reactiveElementPolyfillSupport,On=(t,e)=>t,li={toAttribute(t,e){switch(e){case Boolean:t=t?Da:null;break;case Object:case Array:t=t==null?t:JSON.stringify(t)}return t},fromAttribute(t,e){let n=t;switch(e){case Boolean:n=t!==null;break;case Number:n=t===null?null:Number(t);break;case Object:case Array:try{n=JSON.parse(t)}catch{n=null}}return n}},Cs=(t,e)=>!ka(t,e),ks={attribute:!0,type:String,converter:li,reflect:!1,hasChanged:Cs};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Mt.litPropertyMetadata??(Mt.litPropertyMetadata=new WeakMap);class an extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??(this.l=[])).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,n=ks){if(n.state&&(n.attribute=!1),this._$Ei(),this.elementProperties.set(e,n),!n.noAccessor){const r=Symbol(),i=this.getPropertyDescriptor(e,r,n);i!==void 0&&La(this.prototype,e,i)}}static getPropertyDescriptor(e,n,r){const{get:i,set:s}=Pa(this.prototype,e)??{get(){return this[n]},set(o){this[n]=o}};return{get(){return i==null?void 0:i.call(this)},set(o){const l=i==null?void 0:i.call(this);s.call(this,o),this.requestUpdate(e,l,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ks}static _$Ei(){if(this.hasOwnProperty(On("elementProperties")))return;const e=Oa(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(On("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(On("properties"))){const n=this.properties,r=[...Ta(n),...Ra(n)];for(const i of r)this.createProperty(i,n[i])}const e=this[Symbol.metadata];if(e!==null){const n=litPropertyMetadata.get(e);if(n!==void 0)for(const[r,i]of n)this.elementProperties.set(r,i)}this._$Eh=new Map;for(const[n,r]of this.elementProperties){const i=this._$Eu(n,r);i!==void 0&&this._$Eh.set(i,n)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const n=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const i of r)n.unshift(Ss(i))}else e!==void 0&&n.push(Ss(e));return n}static _$Eu(e,n){const r=n.attribute;return r===!1?void 0:typeof r=="string"?r: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(){var e;this._$ES=new Promise(n=>this.enableUpdating=n),this._$AL=new Map,this._$E_(),this.requestUpdate(),(e=this.constructor.l)==null||e.forEach(n=>n(this))}addController(e){var n;(this._$EO??(this._$EO=new Set)).add(e),this.renderRoot!==void 0&&this.isConnected&&((n=e.hostConnected)==null||n.call(e))}removeController(e){var n;(n=this._$EO)==null||n.delete(e)}_$E_(){const e=new Map,n=this.constructor.elementProperties;for(const r of n.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Ca(e,this.constructor.elementStyles),e}connectedCallback(){var e;this.renderRoot??(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),(e=this._$EO)==null||e.forEach(n=>{var r;return(r=n.hostConnected)==null?void 0:r.call(n)})}enableUpdating(e){}disconnectedCallback(){var e;(e=this._$EO)==null||e.forEach(n=>{var r;return(r=n.hostDisconnected)==null?void 0:r.call(n)})}attributeChangedCallback(e,n,r){this._$AK(e,r)}_$EC(e,n){var s;const r=this.constructor.elementProperties.get(e),i=this.constructor._$Eu(e,r);if(i!==void 0&&r.reflect===!0){const o=(((s=r.converter)==null?void 0:s.toAttribute)!==void 0?r.converter:li).toAttribute(n,r.type);this._$Em=e,o==null?this.removeAttribute(i):this.setAttribute(i,o),this._$Em=null}}_$AK(e,n){var s;const r=this.constructor,i=r._$Eh.get(e);if(i!==void 0&&this._$Em!==i){const o=r.getPropertyOptions(i),l=typeof o.converter=="function"?{fromAttribute:o.converter}:((s=o.converter)==null?void 0:s.fromAttribute)!==void 0?o.converter:li;this._$Em=i,this[i]=l.fromAttribute(n,o.type),this._$Em=null}}requestUpdate(e,n,r){if(e!==void 0){if(r??(r=this.constructor.getPropertyOptions(e)),!(r.hasChanged??Cs)(this[e],n))return;this.P(e,n,r)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(e,n,r){this._$AL.has(e)||this._$AL.set(e,n),r.reflect===!0&&this._$Em!==e&&(this._$Ej??(this._$Ej=new Set)).add(e)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(n){Promise.reject(n)}const e=this.scheduleUpdate();return e!=null&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var r;if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??(this.renderRoot=this.createRenderRoot()),this._$Ep){for(const[s,o]of this._$Ep)this[s]=o;this._$Ep=void 0}const i=this.constructor.elementProperties;if(i.size>0)for(const[s,o]of i)o.wrapped!==!0||this._$AL.has(s)||this[s]===void 0||this.P(s,this[s],o)}let e=!1;const n=this._$AL;try{e=this.shouldUpdate(n),e?(this.willUpdate(n),(r=this._$EO)==null||r.forEach(i=>{var s;return(s=i.hostUpdate)==null?void 0:s.call(i)}),this.update(n)):this._$EU()}catch(i){throw e=!1,this._$EU(),i}e&&this._$AE(n)}willUpdate(e){}_$AE(e){var n;(n=this._$EO)==null||n.forEach(r=>{var i;return(i=r.hostUpdated)==null?void 0:i.call(r)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Ej&&(this._$Ej=this._$Ej.forEach(n=>this._$EC(n,this[n]))),this._$EU()}updated(e){}firstUpdated(e){}}an.elementStyles=[],an.shadowRootOptions={mode:"open"},an[On("elementProperties")]=new Map,an[On("finalized")]=new Map,ai==null||ai({ReactiveElement:an}),(Mt.reactiveElementVersions??(Mt.reactiveElementVersions=[])).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const xn=globalThis,fi=xn.trustedTypes,ul=fi?fi.createPolicy("lit-html",{createHTML:t=>t}):void 0,Do="$lit$",Tt=`lit$${Math.random().toFixed(9).slice(2)}$`,Io="?"+Tt,ah=`<${Io}>`,lr=document,Sn=()=>lr.createComment(""),An=t=>t===null||typeof t!="object"&&typeof t!="function",fl=Array.isArray,pl=t=>fl(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",jo=`[
14
- \f\r]`,_n=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,hl=/-->/g,dl=/>/g,cr=RegExp(`>|${jo}(?:([^\\s"'>=/]+)(${jo}*=${jo}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),gl=/'/g,yl=/"/g,vl=/^(?:script|style|textarea|title)$/i,lh=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),Z=lh(1),zt=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),ml=new WeakMap,ur=lr.createTreeWalker(lr,129);function bl(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return ul!==void 0?ul.createHTML(e):e}const wl=(t,e)=>{const r=t.length-1,n=[];let i,o=e===2?"<svg>":"",s=_n;for(let l=0;l<r;l++){const a=t[l];let u,p,d=-1,m=0;for(;m<a.length&&(s.lastIndex=m,p=s.exec(a),p!==null);)m=s.lastIndex,s===_n?p[1]==="!--"?s=hl:p[1]!==void 0?s=dl:p[2]!==void 0?(vl.test(p[2])&&(i=RegExp("</"+p[2],"g")),s=cr):p[3]!==void 0&&(s=cr):s===cr?p[0]===">"?(s=i??_n,d=-1):p[1]===void 0?d=-2:(d=s.lastIndex-p[2].length,u=p[1],s=p[3]===void 0?cr:p[3]==='"'?yl:gl):s===yl||s===gl?s=cr:s===hl||s===dl?s=_n:(s=cr,i=void 0);const v=s===cr&&t[l+1].startsWith("/>")?" ":"";o+=s===_n?a+ah:d>=0?(n.push(u),a.slice(0,d)+Do+a.slice(d)+Tt+v):a+Tt+(d===-2?l:v)}return[bl(t,o+(t[r]||"<?>")+(e===2?"</svg>":"")),n]};class En{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let o=0,s=0;const l=e.length-1,a=this.parts,[u,p]=wl(e,r);if(this.el=En.createElement(u,n),ur.currentNode=this.el.content,r===2){const d=this.el.content.firstChild;d.replaceWith(...d.childNodes)}for(;(i=ur.nextNode())!==null&&a.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const d of i.getAttributeNames())if(d.endsWith(Do)){const m=p[s++],v=i.getAttribute(d).split(Tt),S=/([.?@])?(.*)/.exec(m);a.push({type:1,index:o,name:S[2],strings:v,ctor:S[1]==="."?xl:S[1]==="?"?Sl:S[1]==="@"?Al:Mn}),i.removeAttribute(d)}else d.startsWith(Tt)&&(a.push({type:6,index:o}),i.removeAttribute(d));if(vl.test(i.tagName)){const d=i.textContent.split(Tt),m=d.length-1;if(m>0){i.textContent=fi?fi.emptyScript:"";for(let v=0;v<m;v++)i.append(d[v],Sn()),ur.nextNode(),a.push({type:2,index:++o});i.append(d[m],Sn())}}}else if(i.nodeType===8)if(i.data===Io)a.push({type:2,index:o});else{let d=-1;for(;(d=i.data.indexOf(Tt,d+1))!==-1;)a.push({type:7,index:o}),d+=Tt.length-1}o++}}static createElement(e,r){const n=lr.createElement("template");return n.innerHTML=e,n}}function fr(t,e,r=t,n){var s,l;if(e===zt)return e;let i=n!==void 0?(s=r._$Co)==null?void 0:s[n]:r._$Cl;const o=An(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),o===void 0?i=void 0:(i=new o(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=fr(t,i._$AS(t,e.values),i,n)),e}class $l{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:n}=this._$AD,i=((e==null?void 0:e.creationScope)??lr).importNode(r,!0);ur.currentNode=i;let o=ur.nextNode(),s=0,l=0,a=n[0];for(;a!==void 0;){if(s===a.index){let u;a.type===2?u=new Ir(o,o.nextSibling,this,e):a.type===1?u=new a.ctor(o,a.name,a.strings,this,e):a.type===6&&(u=new _l(o,this,e)),this._$AV.push(u),a=n[++l]}s!==(a==null?void 0:a.index)&&(o=ur.nextNode(),s++)}return ur.currentNode=lr,i}p(e){let r=0;for(const n of this._$AV)n!==void 0&&(n.strings!==void 0?(n._$AI(e,n,r),r+=n.strings.length-2):n._$AI(e[r])),r++}}class Ir{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this._$Cv}constructor(e,r,n,i){this.type=2,this._$AH=be,this._$AN=void 0,this._$AA=e,this._$AB=r,this._$AM=n,this.options=i,this._$Cv=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const r=this._$AM;return r!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=r.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,r=this){e=fr(this,e,r),An(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==zt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):pl(e)?this.k(e):this._(e)}S(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.S(e))}_(e){this._$AH!==be&&An(this._$AH)?this._$AA.nextSibling.data=e:this.T(lr.createTextNode(e)),this._$AH=e}$(e){var o;const{values:r,_$litType$:n}=e,i=typeof n=="number"?this._$AC(e):(n.el===void 0&&(n.el=En.createElement(bl(n.h,n.h[0]),this.options)),n);if(((o=this._$AH)==null?void 0:o._$AD)===i)this._$AH.p(r);else{const s=new $l(i,this),l=s.u(this.options);s.p(r),this.T(l),this._$AH=s}}_$AC(e){let r=ml.get(e.strings);return r===void 0&&ml.set(e.strings,r=new En(e)),r}k(e){fl(this._$AH)||(this._$AH=[],this._$AR());const r=this._$AH;let n,i=0;for(const o of e)i===r.length?r.push(n=new Ir(this.S(Sn()),this.S(Sn()),this,this.options)):n=r[i],n._$AI(o),i++;i<r.length&&(this._$AR(n&&n._$AB.nextSibling,i),r.length=i)}_$AR(e=this._$AA.nextSibling,r){var n;for((n=this._$AP)==null?void 0:n.call(this,!1,!0,r);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var r;this._$AM===void 0&&(this._$Cv=e,(r=this._$AP)==null||r.call(this,e))}}class Mn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,r,n,i,o){this.type=1,this._$AH=be,this._$AN=void 0,this.element=e,this.name=r,this._$AM=i,this.options=o,n.length>2||n[0]!==""||n[1]!==""?(this._$AH=Array(n.length-1).fill(new String),this.strings=n):this._$AH=be}_$AI(e,r=this,n,i){const o=this.strings;let s=!1;if(o===void 0)e=fr(this,e,r,0),s=!An(e)||e!==this._$AH&&e!==zt,s&&(this._$AH=e);else{const l=e;let a,u;for(e=o[0],a=0;a<o.length-1;a++)u=fr(this,l[n+a],r,a),u===zt&&(u=this._$AH[a]),s||(s=!An(u)||u!==this._$AH[a]),u===be?e=be:e!==be&&(e+=(u??"")+o[a+1]),this._$AH[a]=u}s&&!i&&this.j(e)}j(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class xl extends Mn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===be?void 0:e}}class Sl extends Mn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}}class Al extends Mn{constructor(e,r,n,i,o){super(e,r,n,i,o),this.type=5}_$AI(e,r=this){if((e=fr(this,e,r,0)??be)===zt)return;const n=this._$AH,i=e===be&&n!==be||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==be&&(n===be||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var r;typeof this._$AH=="function"?this._$AH.call(((r=this.options)==null?void 0:r.host)??this.element,e):this._$AH.handleEvent(e)}}class _l{constructor(e,r,n){this.element=e,this.type=6,this._$AN=void 0,this._$AM=r,this.options=n}get _$AU(){return this._$AM._$AU}_$AI(e){fr(this,e)}}const ch={P:Do,A:Tt,C:Io,M:1,L:wl,R:$l,D:pl,V:fr,I:Ir,H:Mn,N:Sl,U:Al,B:xl,F:_l},Bo=xn.litHtmlPolyfillSupport;Bo==null||Bo(En,Ir),(xn.litHtmlVersions??(xn.litHtmlVersions=[])).push("3.1.4");const uh=(t,e,r)=>{const n=(r==null?void 0:r.renderBefore)??e;let i=n._$litPart$;if(i===void 0){const o=(r==null?void 0:r.renderBefore)??null;n._$litPart$=i=new Ir(e.insertBefore(Sn(),o),o,void 0,r??{})}return i._$AI(t),i};/**
13
+ */const Dn=globalThis,dr=Dn.trustedTypes,Ls=dr?dr.createPolicy("lit-html",{createHTML:t=>t}):void 0,ci="$lit$",yt=`lit$${Math.random().toFixed(9).slice(2)}$`,ui="?"+yt,ja=`<${ui}>`,Nt=document,jn=()=>Nt.createComment(""),Nn=t=>t===null||typeof t!="object"&&typeof t!="function",hi=Array.isArray,Ps=t=>hi(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",di=`[
14
+ \f\r]`,Hn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ts=/-->/g,Rs=/>/g,Ht=RegExp(`>|${di}(?:([^\\s"'>=/]+)(${di}*=${di}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Os=/'/g,Ds=/"/g,js=/^(?:script|style|textarea|title)$/i,Na=t=>(e,...n)=>({_$litType$:t,strings:e,values:n}),Y=Na(1),St=Symbol.for("lit-noChange"),ge=Symbol.for("lit-nothing"),Ns=new WeakMap,It=Nt.createTreeWalker(Nt,129);function Hs(t,e){if(!hi(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ls!==void 0?Ls.createHTML(e):e}const Is=(t,e)=>{const n=t.length-1,r=[];let i,s=e===2?"<svg>":e===3?"<math>":"",o=Hn;for(let l=0;l<n;l++){const c=t[l];let h,p,y=-1,w=0;for(;w<c.length&&(o.lastIndex=w,p=o.exec(c),p!==null);)w=o.lastIndex,o===Hn?p[1]==="!--"?o=Ts:p[1]!==void 0?o=Rs:p[2]!==void 0?(js.test(p[2])&&(i=RegExp("</"+p[2],"g")),o=Ht):p[3]!==void 0&&(o=Ht):o===Ht?p[0]===">"?(o=i??Hn,y=-1):p[1]===void 0?y=-2:(y=o.lastIndex-p[2].length,h=p[1],o=p[3]===void 0?Ht:p[3]==='"'?Ds:Os):o===Ds||o===Os?o=Ht:o===Ts||o===Rs?o=Hn:(o=Ht,i=void 0);const m=o===Ht&&t[l+1].startsWith("/>")?" ":"";s+=o===Hn?c+ja:y>=0?(r.push(h),c.slice(0,y)+ci+c.slice(y)+yt+m):c+yt+(y===-2?l:m)}return[Hs(t,s+(t[n]||"<?>")+(e===2?"</svg>":e===3?"</math>":"")),r]};class In{constructor({strings:e,_$litType$:n},r){let i;this.parts=[];let s=0,o=0;const l=e.length-1,c=this.parts,[h,p]=Is(e,n);if(this.el=In.createElement(h,r),It.currentNode=this.el.content,n===2||n===3){const y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=It.nextNode())!==null&&c.length<l;){if(i.nodeType===1){if(i.hasAttributes())for(const y of i.getAttributeNames())if(y.endsWith(ci)){const w=p[o++],m=i.getAttribute(y).split(yt),A=/([.?@])?(.*)/.exec(w);c.push({type:1,index:s,name:A[2],strings:m,ctor:A[1]==="."?Us:A[1]==="?"?zs:A[1]==="@"?qs:Bn}),i.removeAttribute(y)}else y.startsWith(yt)&&(c.push({type:6,index:s}),i.removeAttribute(y));if(js.test(i.tagName)){const y=i.textContent.split(yt),w=y.length-1;if(w>0){i.textContent=dr?dr.emptyScript:"";for(let m=0;m<w;m++)i.append(y[m],jn()),It.nextNode(),c.push({type:2,index:++s});i.append(y[w],jn())}}}else if(i.nodeType===8)if(i.data===ui)c.push({type:2,index:s});else{let y=-1;for(;(y=i.data.indexOf(yt,y+1))!==-1;)c.push({type:7,index:s}),y+=yt.length-1}s++}}static createElement(e,n){const r=Nt.createElement("template");return r.innerHTML=e,r}}function Bt(t,e,n=t,r){var o,l;if(e===St)return e;let i=r!==void 0?(o=n.o)==null?void 0:o[r]:n.l;const s=Nn(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==s&&((l=i==null?void 0:i._$AO)==null||l.call(i,!1),s===void 0?i=void 0:(i=new s(t),i._$AT(t,n,r)),r!==void 0?(n.o??(n.o=[]))[r]=i:n.l=i),i!==void 0&&(e=Bt(t,i._$AS(t,e.values),i,r)),e}class Bs{constructor(e,n){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=n}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:n},parts:r}=this._$AD,i=((e==null?void 0:e.creationScope)??Nt).importNode(n,!0);It.currentNode=i;let s=It.nextNode(),o=0,l=0,c=r[0];for(;c!==void 0;){if(o===c.index){let h;c.type===2?h=new fr(s,s.nextSibling,this,e):c.type===1?h=new c.ctor(s,c.name,c.strings,this,e):c.type===6&&(h=new Ws(s,this,e)),this._$AV.push(h),c=r[++l]}o!==(c==null?void 0:c.index)&&(s=It.nextNode(),o++)}return It.currentNode=Nt,i}p(e){let n=0;for(const r of this._$AV)r!==void 0&&(r.strings!==void 0?(r._$AI(e,r,n),n+=r.strings.length-2):r._$AI(e[n])),n++}}let fr=class ca{get _$AU(){var e;return((e=this._$AM)==null?void 0:e._$AU)??this.v}constructor(e,n,r,i){this.type=2,this._$AH=ge,this._$AN=void 0,this._$AA=e,this._$AB=n,this._$AM=r,this.options=i,this.v=(i==null?void 0:i.isConnected)??!0}get parentNode(){let e=this._$AA.parentNode;const n=this._$AM;return n!==void 0&&(e==null?void 0:e.nodeType)===11&&(e=n.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,n=this){e=Bt(this,e,n),Nn(e)?e===ge||e==null||e===""?(this._$AH!==ge&&this._$AR(),this._$AH=ge):e!==this._$AH&&e!==St&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ps(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!==ge&&Nn(this._$AH)?this._$AA.nextSibling.data=e:this.T(Nt.createTextNode(e)),this._$AH=e}$(e){var s;const{values:n,_$litType$:r}=e,i=typeof r=="number"?this._$AC(e):(r.el===void 0&&(r.el=In.createElement(Hs(r.h,r.h[0]),this.options)),r);if(((s=this._$AH)==null?void 0:s._$AD)===i)this._$AH.p(n);else{const o=new Bs(i,this),l=o.u(this.options);o.p(n),this.T(l),this._$AH=o}}_$AC(e){let n=Ns.get(e.strings);return n===void 0&&Ns.set(e.strings,n=new In(e)),n}k(e){hi(this._$AH)||(this._$AH=[],this._$AR());const n=this._$AH;let r,i=0;for(const s of e)i===n.length?n.push(r=new ca(this.O(jn()),this.O(jn()),this,this.options)):r=n[i],r._$AI(s),i++;i<n.length&&(this._$AR(r&&r._$AB.nextSibling,i),n.length=i)}_$AR(e=this._$AA.nextSibling,n){var r;for((r=this._$AP)==null?void 0:r.call(this,!1,!0,n);e&&e!==this._$AB;){const i=e.nextSibling;e.remove(),e=i}}setConnected(e){var n;this._$AM===void 0&&(this.v=e,(n=this._$AP)==null||n.call(this,e))}};class Bn{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,n,r,i,s){this.type=1,this._$AH=ge,this._$AN=void 0,this.element=e,this.name=n,this._$AM=i,this.options=s,r.length>2||r[0]!==""||r[1]!==""?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=ge}_$AI(e,n=this,r,i){const s=this.strings;let o=!1;if(s===void 0)e=Bt(this,e,n,0),o=!Nn(e)||e!==this._$AH&&e!==St,o&&(this._$AH=e);else{const l=e;let c,h;for(e=s[0],c=0;c<s.length-1;c++)h=Bt(this,l[r+c],n,c),h===St&&(h=this._$AH[c]),o||(o=!Nn(h)||h!==this._$AH[c]),h===ge?e=ge:e!==ge&&(e+=(h??"")+s[c+1]),this._$AH[c]=h}o&&!i&&this.j(e)}j(e){e===ge?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Us extends Bn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===ge?void 0:e}}class zs extends Bn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==ge)}}class qs extends Bn{constructor(e,n,r,i,s){super(e,n,r,i,s),this.type=5}_$AI(e,n=this){if((e=Bt(this,e,n,0)??ge)===St)return;const r=this._$AH,i=e===ge&&r!==ge||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,s=e!==ge&&(r===ge||i);i&&this.element.removeEventListener(this.name,this,r),s&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var n;typeof this._$AH=="function"?this._$AH.call(((n=this.options)==null?void 0:n.host)??this.element,e):this._$AH.handleEvent(e)}}class Ws{constructor(e,n,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=n,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){Bt(this,e)}}const Ha={M:ci,P:yt,A:ui,C:1,L:Is,R:Bs,D:Ps,V:Bt,I:fr,H:Bn,N:zs,U:qs,B:Us,F:Ws},fi=Dn.litHtmlPolyfillSupport;fi==null||fi(In,fr),(Dn.litHtmlVersions??(Dn.litHtmlVersions=[])).push("3.2.0");const Ia=(t,e,n)=>{const r=(n==null?void 0:n.renderBefore)??e;let i=r._$litPart$;if(i===void 0){const s=(n==null?void 0:n.renderBefore)??null;r._$litPart$=i=new fr(e.insertBefore(jn(),s),s,void 0,n??{})}return i._$AI(t),i};/**
16
16
  * @license
17
17
  * Copyright 2017 Google LLC
18
18
  * SPDX-License-Identifier: BSD-3-Clause
19
- */let it=class extends Dr{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var r;const e=super.createRenderRoot();return(r=this.renderOptions).renderBefore??(r.renderBefore=e.firstChild),e}update(e){const r=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=uh(r,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this._$Do)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this._$Do)==null||e.setConnected(!1)}render(){return zt}};it._$litElement$=!0,it.finalized=!0,(Tp=globalThis.litElementHydrateSupport)==null||Tp.call(globalThis,{LitElement:it});const No=globalThis.litElementPolyfillSupport;No==null||No({LitElement:it}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.6");/**
19
+ */class Xe extends an{constructor(){super(...arguments),this.renderOptions={host:this},this.o=void 0}createRenderRoot(){var n;const e=super.createRenderRoot();return(n=this.renderOptions).renderBefore??(n.renderBefore=e.firstChild),e}update(e){const n=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this.o=Ia(n,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),(e=this.o)==null||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.o)==null||e.setConnected(!1)}render(){return St}}Xe._$litElement$=!0,Xe.finalized=!0,(aa=globalThis.litElementHydrateSupport)==null||aa.call(globalThis,{LitElement:Xe});const pi=globalThis.litElementPolyfillSupport;pi==null||pi({LitElement:Xe}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.1.0");/**
20
20
  * @license
21
21
  * Copyright 2021 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
23
- */function*pi(t,e){if(t!==void 0){let r=0;for(const n of t)yield e(n,r++)}}/**
23
+ */function*pr(t,e){if(t!==void 0){let n=0;for(const r of t)yield e(r,n++)}}/**
24
24
  * @license
25
25
  * Copyright 2021 Google LLC
26
26
  * SPDX-License-Identifier: BSD-3-Clause
27
- */function qe(t,e,r){return t?e(t):r==null?void 0:r(t)}const fh=`
27
+ */function Ie(t,e,n){return t?e(t):n==null?void 0:n(t)}const Ba=`
28
28
  :host {
29
29
  display: flex;
30
30
  box-sizing: border-box;
@@ -49,7 +49,7 @@ form#itemfilter:not(.inline) {
49
49
  details {
50
50
  width: 100%;
51
51
  }
52
- `,Pn=`
52
+ `,Un=`
53
53
  :host, :root {
54
54
  --item-color: color-mix(
55
55
  in srgb,
@@ -61,6 +61,7 @@ details {
61
61
  var(--secondary-color) 30%,
62
62
  transparent
63
63
  );
64
+ --item-select-color: var(--primary-color);
64
65
  --inline-bg-color: color-mix(
65
66
  in srgb,
66
67
  var(--secondary-color) 10%,
@@ -428,11 +429,15 @@ button.icon {
428
429
  flex-wrap: nowrap;
429
430
  gap: 4px;
430
431
  }
431
- li.highlighted,
432
- .select-container li:hover,
433
- .highlight-item {
432
+ .select li:hover,
433
+ .multiselect li:hover,
434
+ eox-itemfilter-results li:hover {
434
435
  background: var(--item-hover-color);
435
436
  }
437
+ eox-itemfilter-results li.highlighted {
438
+ color: var(--background-color);
439
+ background: var(--item-select-color);
440
+ }
436
441
  .selected-item span {
437
442
  margin-right: 8px;
438
443
  }
@@ -478,15 +483,15 @@ li.highlighted,
478
483
  .input-container.dirty-filter-input {
479
484
  margin-left: 25px;
480
485
  }
481
- `,ph=`:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;class hh extends it{constructor(){super();nt(this,oo);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return Z`
486
+ `,Ua=`:root,:host { --spacing: 1rem; --block-spacing-vertical: calc(var(--spacing) * 2); --block-spacing-horizontal: var(--spacing); --background-color: var(--eox-background-color, white); --color: var(--eox-color, #2c3d49); --h-color: var(--eox-h-color, var(--color)); --hover-transparency: var(--eox-hover-transparency, 20%); --bg-hover-transparency: var(--eox-bg-hover-transparency, 40%); --btn-hover-transparency: var(--eox-btn-hover-transparency, 80%); --primary-color: var(--eox-primary-color, #004170); --primary-color-hover: color-mix( in srgb, var(--primary-color) var(--hover-transparency), transparent ); --primary-bg-color-hover: color-mix( in srgb, var(--primary-color) var(--bg-hover-transparency), transparent ); --primary-btn-color-hover: color-mix( in srgb, var(--primary-color) var(--btn-hover-transparency), transparent ); --secondary-color: var(--eox-secondary-color, #c6d4df); --secondary-color-hover: color-mix( in srgb, var(--secondary-color) var(--hover-transparency), transparent ); --secondary-bg-color-hover: color-mix( in srgb, var(--secondary-color) var(--bg-hover-transparency), transparent ); --secondary-btn-color-hover: color-mix( in srgb, var(--secondary-color) var(--btn-hover-transparency), transparent ); --success: var(--eox-success, #26cc0f); --warning: var(--eox-warning, #f18e32); --error: var(--eox-error, #ff5252); --header-font-family: var(--eox-header-font-family, "Roboto", sans-serif); --body-font-family: var(--eox-body-font-family, "Roboto", sans-serif);}* { font-size: normal; font-family: var(--body-font-family); color: var(--eox-color);}h1,h2,h3,h4,h5,h6 { font-family: var(--header-font-family);}span,p,div,main,label { font-family: var(--body-font-family);}@media (min-width: 576px) { .container { max-width: 510px; padding-right: 0; padding-left: 0; --block-spacing-vertical: calc(var(--spacing) * 2.5); }}@media (min-width: 768px) { .container { max-width: 700px; --block-spacing-vertical: calc(var(--spacing) * 3); }}@media (min-width: 992px) { .container { max-width: 920px; --block-spacing-vertical: calc(var(--spacing) * 3.5); }}@media (min-width: 1200px) { .container { max-width: 1130px; --block-spacing-vertical: calc(var(--spacing) * 4); }}.container { width: 100%; margin-right: auto; margin-left: auto; display: block; padding: var(--block-spacing-vertical) var(--block-spacing-horizontal);}h1,h2,h3 { line-height: 120%; margin-top: 0.8rem; margin-bottom: 0.8rem;}p { --font-size: 1rem; font-weight: 400; line-height: 170%; margin-top: 0.8rem; margin-bottom: 1.6rem; font-size: var(--font-size);}body { padding: 0; margin: 0;}.sb-show-main.sb-main-padded { padding: 0;}h1,h2,h3,h4,h5,h6 { --font-weight: 700;}h1 { --font-size: 3rem; --typography-spacing-vertical: 0.5rem;}h2 { --font-size: 2rem; --typography-spacing-vertical: 0.5rem;}h3 { --font-size: 1.75rem; --typography-spacing-vertical: 0.5rem;}h4 { --font-size: 1.5rem; --typography-spacing-vertical: 0.5rem;}h5 { --font-size: 1.25rem; --typography-spacing-vertical: 0.5rem;}h1,h2,h3,h4,h5,h6 { margin-top: 0; margin-bottom: var(--typography-spacing-vertical); color: var(--h-color); font-weight: var(--font-weight); font-size: var(--font-size); font-family: var(--header-font-family);}button,.button { display: inline-flex; position: relative; align-items: center; color: #fff; border-width: 0; outline: none; border-radius: 4px; padding: 16px; height: 36px; cursor: pointer; font-family: inherit; font-size: 0.875rem; text-transform: uppercase; letter-spacing: 1.25px; font-weight: 500; box-shadow: 0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12); transition-property: box-shadow, transform, opacity, background; transition-duration: 0.28s; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);}button:hover:not([disabled]):not(.icon):not(.json-editor-btntype-*),.button:hover:not([disabled]):not(.icon) { box-shadow: 0px 2px 4px -1px rgba(0, 0, 0, 0.2), 0px 4px 5px 0px rgba(0, 0, 0, 0.14), 0px 1px 10px 0px rgba(0, 0, 0, 0.12); background: var(--primary-btn-color-hover);}button,button:active,.button,.button:active { background: var(--primary-color);}button[disabled],.button[disabled] { opacity: 0.5; cursor: not-allowed;}button.block,.button.block { display: block;}button.outline,.button.outline { background: transparent; box-shadow: none; color: var(--primary-color); outline: 1px solid var(--primary-color);}button.outline:hover,.button.outline:hover { background: transparent;}button.icon,.button.icon,button[class*="json-editor-btntype-"] { background: transparent; border: none; box-shadow: none; padding: 0; border-radius: 50%; width: 24px; height: 24px; text-indent: -9999px;}button.icon-text,.button.icon-text { text-indent: 26px;}button.icon-text.block,.button.icon-text.block { text-indent: 20px;}button.icon:before,button.icon-text:before,.button.icon:before,.button.icon-text:before { position: absolute; text-indent: 0; line-height: initial;}button.icon-text.block:before,.button.icon-text.block:before { text-indent: -54px;}button.icon:before,.button.icon:before,button[class*="json-editor-btntype-"]::before { width: 24px; height: 24px; margin-right: 0;}button.icon-text:before,.button.icon-text:before { width: 18px; height: 18px;}button.small,.button.small { height: 28px; padding: 12.4px; font-size: 0.75rem;}button.smallest.icon,button.smallest.icon::before { height: 16px; width: 16px; padding: 0;}input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}textarea { height: 90px; resize: none; border-radius: 4px; box-sizing: border-box !important; width: 100%; padding: 5px 7px; border: 1px solid var(--secondary-color); font-size: smaller; background: var(--background-color);}input[type="text"],input[type="url"],input[type="email"],input[type="password"],input[type="text"],input[type="number"],input[type="search"],input[type="tel"],select { box-sizing: border-box; width: 100%; margin-top: 0.5rem; margin-bottom: 0.5rem; padding: 5px 7px; border-radius: 4px; border: 1px solid #0004;}ul.list-wrap { padding: 0;}ul.list-wrap li:hover,ul.list-wrap li.selected { background: var(--secondary-bg-color-hover);}ul.list-wrap li { list-style: none; padding: 4px;}ul.list-wrap li { border-bottom: 1.2px solid var(--secondary-color);}ul.list-wrap li:first-child { border-top: 1.2px solid var(--secondary-color);}ul.list-wrap li .list { width: 100%; align-items: center; justify-content: space-between; display: flex; align-items: center; cursor: pointer; font-size: small; gap: 10px;}ul.list-wrap li .list span { display: flex; align-items: center; cursor: pointer; font-size: small; flex-grow: 1;}input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}input[type="range"] { -webkit-appearance: none; width: 90%; margin-left: 5%; height: 6px; border-radius: 5px; background: #d7dcdf; outline: none; padding: 0;}input[type="range"]::-webkit-slider-thumb { appearance: none; width: 15px; height: 15px; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}.range-slider { margin: 60px 0 0 0;}.range-slider { width: 100%;}input[type="range"]::-webkit-slider-thumb:hover { background: #00416f;}input[type="range"]:active::-webkit-slider-thumb { background: #00416f;}input[type="range"]::-moz-range-thumb { width: 15px; height: 15px; border: 0; border-radius: 50%; background: #2c3e50; cursor: pointer; transition: background 0.15s ease-in-out;}input[type="range"]::-moz-range-thumb:hover { background: #00416f;}input[type="range"]:active::-moz-range-thumb { background: #00416f;}input[type="range"]:focus::-webkit-slider-thumb { box-shadow: 0 0 0 3px #fff0, 0 0 0 6px #00416f00;}.range-slider__value { display: inline-block; position: relative; width: 60px; color: #fff; line-height: 20px; text-align: center; border-radius: 3px; background: #2c3e50; padding: 5px 10px; margin-left: 8px;}.range-slider__value:after { position: absolute; top: 8px; left: -7px; width: 0; height: 0; border-top: 7px solid transparent; border-right: 7px solid #2c3e50; border-bottom: 7px solid transparent; content: "";}input::-moz-focus-inner,input::-moz-focus-outer { border: 0;}`;class za extends Xe{constructor(){super();Ze(this,Or);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return Y`
482
487
  <style>
483
- ${!this.unstyled&&Pn}
488
+ ${!this.unstyled&&Un}
484
489
  </style>
485
490
 
486
- ${qe(this.filterObject.featured,()=>Z`<slot name="filter"></slot>`,()=>Z`<details
487
- @toggle="${pe(this,oo,Dp)}"
491
+ ${Ie(this.filterObject.featured,()=>Y`<slot name="filter"></slot>`,()=>Y`<details
492
+ @toggle="${le(this,Or,ua)}"
488
493
  class="details-filter"
489
- ?open=${this.filterObject.expanded||be}
494
+ ?open=${this.filterObject.expanded||ge}
490
495
  >
491
496
  <summary>
492
497
  <span
@@ -501,30 +506,27 @@ li.highlighted,
501
506
  <slot name="filter"></slot>
502
507
  </div>
503
508
  </details>`)}
504
- `}}oo=new WeakSet,Dp=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",hh);function Rt(t){return Array.isArray?Array.isArray(t):Pl(t)==="[object Array]"}const dh=1/0;function gh(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-dh?"-0":e}function yh(t){return t==null?"":gh(t)}function xt(t){return typeof t=="string"}function El(t){return typeof t=="number"}function vh(t){return t===!0||t===!1||mh(t)&&Pl(t)=="[object Boolean]"}function Ml(t){return typeof t=="object"}function mh(t){return Ml(t)&&t!==null}function ot(t){return t!=null}function Ho(t){return!t.trim().length}function Pl(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const E1="Extended search is not available",bh="Incorrect 'index' type",wh=t=>`Invalid value for key ${t}`,$h=t=>`Pattern length exceeds max of ${t}.`,xh=t=>`Missing ${t} property in key`,Sh=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ol=Object.prototype.hasOwnProperty;class Ah{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=Cl(n);this._keys.push(i),this._keyMap[i.id]=i,r+=i.weight}),this._keys.forEach(n=>{n.weight/=r})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Cl(t){let e=null,r=null,n=null,i=1,o=null;if(xt(t)||Rt(t))n=t,e=kl(t),r=Uo(t);else{if(!Ol.call(t,"name"))throw new Error(xh("name"));const s=t.name;if(n=s,Ol.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Sh(s));e=kl(s),r=Uo(s),o=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:o}}function kl(t){return Rt(t)?t:t.split(".")}function Uo(t){return Rt(t)?t.join("."):t}function _h(t,e){let r=[],n=!1;const i=(o,s,l)=>{if(ot(o))if(!s[l])r.push(o);else{let a=s[l];const u=o[a];if(!ot(u))return;if(l===s.length-1&&(xt(u)||El(u)||vh(u)))r.push(yh(u));else if(Rt(u)){n=!0;for(let p=0,d=u.length;p<d;p+=1)i(u[p],s,l+1)}else s.length&&i(u,s,l+1)}};return i(t,xt(e)?e.split("."):e,0),n?r:r[0]}var Y={...{isCaseSensitive:!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:_h,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Eh=/[^ ]+/g;function Mh(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const o=i.match(Eh).length;if(r.has(o))return r.get(o);const s=1/Math.pow(o,.5*t),l=parseFloat(Math.round(s*n)/n);return r.set(o,l),l},clear(){r.clear()}}}class Fo{constructor({getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){this.norm=Mh(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,n)=>{this._keysMap[r.id]=n})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,xt(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();xt(e)?this._addString(e,r):this._addObject(e,r)}removeAt(e){this.records.splice(e,1);for(let r=e,n=this.size();r<n;r+=1)this.records[r].i-=1}getValueForItemAtKeyId(e,r){return e[this._keysMap[r]]}size(){return this.records.length}_addString(e,r){if(!ot(e)||Ho(e))return;let n={v:e,i:r,n:this.norm.get(e)};this.records.push(n)}_addObject(e,r){let n={i:r,$:{}};this.keys.forEach((i,o)=>{let s=i.getFn?i.getFn(e):this.getFn(e,i.path);if(ot(s)){if(Rt(s)){let l=[];const a=[{nestedArrIndex:-1,value:s}];for(;a.length;){const{nestedArrIndex:u,value:p}=a.pop();if(ot(p))if(xt(p)&&!Ho(p)){let d={v:p,i:u,n:this.norm.get(p)};l.push(d)}else Rt(p)&&p.forEach((d,m)=>{a.push({nestedArrIndex:m,value:d})})}n.$[o]=l}else if(xt(s)&&!Ho(s)){let l={v:s,n:this.norm.get(s)};n.$[o]=l}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function Ll(t,e,{getFn:r=Y.getFn,fieldNormWeight:n=Y.fieldNormWeight}={}){const i=new Fo({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(Cl)),i.setSources(e),i.create(),i}function Ph(t,{getFn:e=Y.getFn,fieldNormWeight:r=Y.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new Fo({getFn:e,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(i),o}function hi(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=Y.distance,ignoreLocation:o=Y.ignoreLocation}={}){const s=e/t.length;if(o)return s;const l=Math.abs(n-r);return i?s+l/i:l?1:s}function Oh(t=[],e=Y.minMatchCharLength){let r=[],n=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let l=t[o];l&&n===-1?n=o:!l&&n!==-1&&(i=o-1,i-n+1>=e&&r.push([n,i]),n=-1)}return t[o-1]&&o-n>=e&&r.push([n,o-1]),r}const pr=32;function Ch(t,e,r,{location:n=Y.location,distance:i=Y.distance,threshold:o=Y.threshold,findAllMatches:s=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,includeMatches:a=Y.includeMatches,ignoreLocation:u=Y.ignoreLocation}={}){if(e.length>pr)throw new Error($h(pr));const p=e.length,d=t.length,m=Math.max(0,Math.min(n,d));let v=o,S=m;const _=l>1||a,D=_?Array(d):[];let I;for(;(I=t.indexOf(e,S))>-1;){let ee=hi(e,{currentLocation:I,expectedLocation:m,distance:i,ignoreLocation:u});if(v=Math.min(ee,v),S=I+p,_){let oe=0;for(;oe<p;)D[I+oe]=1,oe+=1}}S=-1;let H=[],W=1,Q=p+d;const z=1<<p-1;for(let ee=0;ee<p;ee+=1){let oe=0,we=Q;for(;oe<we;)hi(e,{errors:ee,currentLocation:m+we,expectedLocation:m,distance:i,ignoreLocation:u})<=v?oe=we:Q=we,we=Math.floor((Q-oe)/2+oe);Q=we;let de=Math.max(1,m-we+1),ne=s?d:Math.min(m+we,d)+p,je=Array(ne+2);je[ne+1]=(1<<ee)-1;for(let R=ne;R>=de;R-=1){let M=R-1,E=r[t.charAt(M)];if(_&&(D[M]=+!!E),je[R]=(je[R+1]<<1|1)&E,ee&&(je[R]|=(H[R+1]|H[R])<<1|1|H[R+1]),je[R]&z&&(W=hi(e,{errors:ee,currentLocation:M,expectedLocation:m,distance:i,ignoreLocation:u}),W<=v)){if(v=W,S=M,S<=m)break;de=Math.max(1,2*m-S)}}if(hi(e,{errors:ee+1,currentLocation:m,expectedLocation:m,distance:i,ignoreLocation:u})>v)break;H=je}const U={isMatch:S>=0,score:Math.max(.001,W)};if(_){const ee=Oh(D,l);ee.length?a&&(U.indices=ee):U.isMatch=!1}return U}function kh(t){let e={};for(let r=0,n=t.length;r<n;r+=1){const i=t.charAt(r);e[i]=(e[i]||0)|1<<n-r-1}return e}class Tl{constructor(e,{location:r=Y.location,threshold:n=Y.threshold,distance:i=Y.distance,includeMatches:o=Y.includeMatches,findAllMatches:s=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,isCaseSensitive:a=Y.isCaseSensitive,ignoreLocation:u=Y.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u},this.pattern=a?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const p=(m,v)=>{this.chunks.push({pattern:m,alphabet:kh(m),startIndex:v})},d=this.pattern.length;if(d>pr){let m=0;const v=d%pr,S=d-v;for(;m<S;)p(this.pattern.substr(m,pr),m),m+=pr;if(v){const _=d-pr;p(this.pattern.substr(_),_)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let S={isMatch:!0,score:0};return n&&(S.indices=[[0,e.length-1]]),S}const{location:i,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,ignoreLocation:u}=this.options;let p=[],d=0,m=!1;this.chunks.forEach(({pattern:S,alphabet:_,startIndex:D})=>{const{isMatch:I,score:H,indices:W}=Ch(e,S,_,{location:i+D,distance:o,threshold:s,findAllMatches:l,minMatchCharLength:a,includeMatches:n,ignoreLocation:u});I&&(m=!0),d+=H,I&&W&&(p=[...p,...W])});let v={isMatch:m,score:m?d/this.chunks.length:1};return m&&n&&(v.indices=p),v}}class qt{constructor(e){this.pattern=e}static isMultiMatch(e){return Rl(e,this.multiRegex)}static isSingleMatch(e){return Rl(e,this.singleRegex)}search(){}}function Rl(t,e){const r=t.match(e);return r?r[1]:null}class Lh extends qt{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 Th extends qt{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const n=e.indexOf(this.pattern)===-1;return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class Rh extends qt{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 Dh extends qt{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 Ih extends qt{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 jh extends qt{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 Dl extends qt{constructor(e,{location:r=Y.location,threshold:n=Y.threshold,distance:i=Y.distance,includeMatches:o=Y.includeMatches,findAllMatches:s=Y.findAllMatches,minMatchCharLength:l=Y.minMatchCharLength,isCaseSensitive:a=Y.isCaseSensitive,ignoreLocation:u=Y.ignoreLocation}={}){super(e),this._bitapSearch=new Tl(e,{location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:l,isCaseSensitive:a,ignoreLocation:u})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class Il extends qt{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let r=0,n;const i=[],o=this.pattern.length;for(;(n=e.indexOf(this.pattern,r))>-1;)r=n+o,i.push([n,r-1]);const s=!!i.length;return{isMatch:s,score:s?0:1,indices:i}}}const Wo=[Lh,Il,Rh,Dh,jh,Ih,Th,Dl],jl=Wo.length,Bh=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Nh="|";function Hh(t,e={}){return t.split(Nh).map(r=>{let n=r.trim().split(Bh).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=n.length;o<s;o+=1){const l=n[o];let a=!1,u=-1;for(;!a&&++u<jl;){const p=Wo[u];let d=p.isMultiMatch(l);d&&(i.push(new p(d,e)),a=!0)}if(!a)for(u=-1;++u<jl;){const p=Wo[u];let d=p.isSingleMatch(l);if(d){i.push(new p(d,e));break}}}return i})}const Uh=new Set([Dl.type,Il.type]);class Fh{constructor(e,{isCaseSensitive:r=Y.isCaseSensitive,includeMatches:n=Y.includeMatches,minMatchCharLength:i=Y.minMatchCharLength,ignoreLocation:o=Y.ignoreLocation,findAllMatches:s=Y.findAllMatches,location:l=Y.location,threshold:a=Y.threshold,distance:u=Y.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:l,threshold:a,distance:u},this.pattern=r?e:e.toLowerCase(),this.query=Hh(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:n,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let o=0,s=[],l=0;for(let a=0,u=r.length;a<u;a+=1){const p=r[a];s.length=0,o=0;for(let d=0,m=p.length;d<m;d+=1){const v=p[d],{isMatch:S,indices:_,score:D}=v.search(e);if(S){if(o+=1,l+=D,n){const I=v.constructor.type;Uh.has(I)?s=[...s,..._]:s.push(_)}}else{l=0,o=0,s.length=0;break}}if(o){let d={isMatch:!0,score:l/o};return n&&(d.indices=s),d}}return{isMatch:!1,score:1}}}const zo=[];function Wh(...t){zo.push(...t)}function qo(t,e){for(let r=0,n=zo.length;r<n;r+=1){let i=zo[r];if(i.condition(t,e))return new i(t,e)}return new Tl(t,e)}const di={AND:"$and",OR:"$or"},Go={PATH:"$path",PATTERN:"$val"},Vo=t=>!!(t[di.AND]||t[di.OR]),zh=t=>!!t[Go.PATH],qh=t=>!Rt(t)&&Ml(t)&&!Vo(t),Bl=t=>({[di.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function Nl(t,e,{auto:r=!0}={}){const n=i=>{let o=Object.keys(i);const s=zh(i);if(!s&&o.length>1&&!Vo(i))return n(Bl(i));if(qh(i)){const a=s?i[Go.PATH]:o[0],u=s?i[Go.PATTERN]:i[a];if(!xt(u))throw new Error(wh(a));const p={keyId:Uo(a),pattern:u};return r&&(p.searcher=qo(u,e)),p}let l={children:[],operator:o[0]};return o.forEach(a=>{const u=i[a];Rt(u)&&u.forEach(p=>{l.children.push(n(p))})}),l};return Vo(t)||(t=Bl(t)),n(t)}function Gh(t,{ignoreFieldNorm:e=Y.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:o,score:s})=>{const l=i?i.weight:null;n*=Math.pow(s===0&&l?Number.EPSILON:s,(l||1)*(e?1:o))}),r.score=n})}function Vh(t,e){const r=t.matches;e.matches=[],ot(r)&&r.forEach(n=>{if(!ot(n.indices)||!n.indices.length)return;const{indices:i,value:o}=n;let s={indices:i,value:o};n.key&&(s.key=n.key.src),n.idx>-1&&(s.refIndex=n.idx),e.matches.push(s)})}function Kh(t,e){e.score=t.score}function Yh(t,e,{includeMatches:r=Y.includeMatches,includeScore:n=Y.includeScore}={}){const i=[];return r&&i.push(Vh),n&&i.push(Kh),t.map(o=>{const{idx:s}=o,l={item:e[s],refIndex:s};return i.length&&i.forEach(a=>{a(o,l)}),l})}class Gt{constructor(e,r={},n){this.options={...Y,...r},this.options.useExtendedSearch,this._keyStore=new Ah(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Fo))throw new Error(bh);this._myIndex=r||Ll(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){ot(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const r=[];for(let n=0,i=this._docs.length;n<i;n+=1){const o=this._docs[n];e(o,n)&&(this.removeAt(n),n-=1,i-=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:n,includeScore:i,shouldSort:o,sortFn:s,ignoreFieldNorm:l}=this.options;let a=xt(e)?xt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return Gh(a,{ignoreFieldNorm:l}),o&&a.sort(s),El(r)&&r>-1&&(a=a.slice(0,r)),Yh(a,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=qo(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:s,n:l})=>{if(!ot(o))return;const{isMatch:a,score:u,indices:p}=r.searchIn(o);a&&i.push({item:o,idx:s,matches:[{score:u,value:o,norm:l,indices:p}]})}),i}_searchLogical(e){const r=Nl(e,this.options),n=(l,a,u)=>{if(!l.children){const{keyId:d,searcher:m}=l,v=this._findMatches({key:this._keyStore.get(d),value:this._myIndex.getValueForItemAtKeyId(a,d),searcher:m});return v&&v.length?[{idx:u,item:a,matches:v}]:[]}const p=[];for(let d=0,m=l.children.length;d<m;d+=1){const v=l.children[d],S=n(v,a,u);if(S.length)p.push(...S);else if(l.operator===di.AND)return[]}return p},i=this._myIndex.records,o={},s=[];return i.forEach(({$:l,i:a})=>{if(ot(l)){let u=n(r,l,a);u.length&&(o[a]||(o[a]={idx:a,item:l,matches:[]},s.push(o[a])),u.forEach(({matches:p})=>{o[a].matches.push(...p)}))}}),s}_searchObjectList(e){const r=qo(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:l})=>{if(!ot(s))return;let a=[];n.forEach((u,p)=>{a.push(...this._findMatches({key:u,value:s[p],searcher:r}))}),a.length&&o.push({idx:l,item:s,matches:a})}),o}_findMatches({key:e,value:r,searcher:n}){if(!ot(r))return[];let i=[];if(Rt(r))r.forEach(({v:o,i:s,n:l})=>{if(!ot(o))return;const{isMatch:a,score:u,indices:p}=n.searchIn(o);a&&i.push({score:u,key:e,value:o,idx:s,norm:l,indices:p})});else{const{v:o,n:s}=r,{isMatch:l,score:a,indices:u}=n.searchIn(o);l&&i.push({score:a,key:e,value:o,norm:s,indices:u})}return i}}Gt.version="7.0.0",Gt.createIndex=Ll,Gt.parseIndex=Ph,Gt.config=Y,Gt.parseQuery=Nl,Wh(Fh);function Hl(t,e){const r=new Gt(e.filterProperties,{keys:["title"]}),n=t.target.value,o=r.search(n).map(s=>s.item.key||s.item.keys.join("|"));Object.keys(e.filters).forEach(s=>{e.querySelector(`[data-details="${s}"]`).parentElement.style.display=o.includes(s)||!n?"":"none"})}function Jh(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const Ko=Math.min,jr=Math.max,gi=Math.round,yi=Math.floor,Vt=t=>({x:t,y:t});function Ul(t){return t.split("-")[0]}function Xh(t){return t.split("-")[1]}function Zh(t){return t==="x"?"y":"x"}function Qh(t){return t==="y"?"height":"width"}function Fl(t){return["top","bottom"].includes(Ul(t))?"y":"x"}function ed(t){return Zh(Fl(t))}function Wl(t){const{x:e,y:r,width:n,height:i}=t;return{width:n,height:i,top:r,left:e,right:e+n,bottom:r+i,x:e,y:r}}function zl(t,e,r){let{reference:n,floating:i}=t;const o=Fl(e),s=ed(e),l=Qh(s),a=Ul(e),u=o==="y",p=n.x+n.width/2-i.width/2,d=n.y+n.height/2-i.height/2,m=n[l]/2-i[l]/2;let v;switch(a){case"top":v={x:p,y:n.y-i.height};break;case"bottom":v={x:p,y:n.y+n.height};break;case"right":v={x:n.x+n.width,y:d};break;case"left":v={x:n.x-i.width,y:d};break;default:v={x:n.x,y:n.y}}switch(Xh(e)){case"start":v[s]-=m*(r&&u?-1:1);break;case"end":v[s]+=m*(r&&u?-1:1);break}return v}const td=async(t,e,r)=>{const{placement:n="bottom",strategy:i="absolute",middleware:o=[],platform:s}=r,l=o.filter(Boolean),a=await(s.isRTL==null?void 0:s.isRTL(e));let u=await s.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y:d}=zl(u,n,a),m=n,v={},S=0;for(let _=0;_<l.length;_++){const{name:D,fn:I}=l[_],{x:H,y:W,data:Q,reset:z}=await I({x:p,y:d,initialPlacement:n,placement:m,strategy:i,middlewareData:v,rects:u,platform:s,elements:{reference:t,floating:e}});p=H??p,d=W??d,v={...v,[D]:{...v[D],...Q}},z&&S<=50&&(S++,typeof z=="object"&&(z.placement&&(m=z.placement),z.rects&&(u=z.rects===!0?await s.getElementRects({reference:t,floating:e,strategy:i}):z.rects),{x:p,y:d}=zl(u,m,a)),_=-1)}return{x:p,y:d,placement:m,strategy:i,middlewareData:v}};function Br(t){return ql(t)?(t.nodeName||"").toLowerCase():"#document"}function st(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function Dt(t){var e;return(e=(ql(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function ql(t){return t instanceof Node||t instanceof st(t).Node}function gt(t){return t instanceof Element||t instanceof st(t).Element}function St(t){return t instanceof HTMLElement||t instanceof st(t).HTMLElement}function Gl(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof st(t).ShadowRoot}function On(t){const{overflow:e,overflowX:r,overflowY:n,display:i}=yt(t);return/auto|scroll|overlay|hidden|clip/.test(e+n+r)&&!["inline","contents"].includes(i)}function rd(t){return["table","td","th"].includes(Br(t))}function vi(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Yo(t){const e=Jo(),r=gt(t)?yt(t):t;return r.transform!=="none"||r.perspective!=="none"||(r.containerType?r.containerType!=="normal":!1)||!e&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!e&&(r.filter?r.filter!=="none":!1)||["transform","perspective","filter"].some(n=>(r.willChange||"").includes(n))||["paint","layout","strict","content"].some(n=>(r.contain||"").includes(n))}function nd(t){let e=Kt(t);for(;St(e)&&!Nr(e);){if(Yo(e))return e;if(vi(e))return null;e=Kt(e)}return null}function Jo(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Nr(t){return["html","body","#document"].includes(Br(t))}function yt(t){return st(t).getComputedStyle(t)}function mi(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Kt(t){if(Br(t)==="html")return t;const e=t.assignedSlot||t.parentNode||Gl(t)&&t.host||Dt(t);return Gl(e)?e.host:e}function Vl(t){const e=Kt(t);return Nr(e)?t.ownerDocument?t.ownerDocument.body:t.body:St(e)&&On(e)?e:Vl(e)}function Cn(t,e,r){var n;e===void 0&&(e=[]),r===void 0&&(r=!0);const i=Vl(t),o=i===((n=t.ownerDocument)==null?void 0:n.body),s=st(i);return o?e.concat(s,s.visualViewport||[],On(i)?i:[],s.frameElement&&r?Cn(s.frameElement):[]):e.concat(i,Cn(i,[],r))}function Kl(t){const e=yt(t);let r=parseFloat(e.width)||0,n=parseFloat(e.height)||0;const i=St(t),o=i?t.offsetWidth:r,s=i?t.offsetHeight:n,l=gi(r)!==o||gi(n)!==s;return l&&(r=o,n=s),{width:r,height:n,$:l}}function Xo(t){return gt(t)?t:t.contextElement}function Hr(t){const e=Xo(t);if(!St(e))return Vt(1);const r=e.getBoundingClientRect(),{width:n,height:i,$:o}=Kl(e);let s=(o?gi(r.width):r.width)/n,l=(o?gi(r.height):r.height)/i;return(!s||!Number.isFinite(s))&&(s=1),(!l||!Number.isFinite(l))&&(l=1),{x:s,y:l}}const id=Vt(0);function Yl(t){const e=st(t);return!Jo()||!e.visualViewport?id:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function od(t,e,r){return e===void 0&&(e=!1),!r||e&&r!==st(t)?!1:e}function hr(t,e,r,n){e===void 0&&(e=!1),r===void 0&&(r=!1);const i=t.getBoundingClientRect(),o=Xo(t);let s=Vt(1);e&&(n?gt(n)&&(s=Hr(n)):s=Hr(t));const l=od(o,r,n)?Yl(o):Vt(0);let a=(i.left+l.x)/s.x,u=(i.top+l.y)/s.y,p=i.width/s.x,d=i.height/s.y;if(o){const m=st(o),v=n&&gt(n)?st(n):n;let S=m,_=S.frameElement;for(;_&&n&&v!==S;){const D=Hr(_),I=_.getBoundingClientRect(),H=yt(_),W=I.left+(_.clientLeft+parseFloat(H.paddingLeft))*D.x,Q=I.top+(_.clientTop+parseFloat(H.paddingTop))*D.y;a*=D.x,u*=D.y,p*=D.x,d*=D.y,a+=W,u+=Q,S=st(_),_=S.frameElement}}return Wl({width:p,height:d,x:a,y:u})}function sd(t){let{elements:e,rect:r,offsetParent:n,strategy:i}=t;const o=i==="fixed",s=Dt(n),l=e?vi(e.floating):!1;if(n===s||l&&o)return r;let a={scrollLeft:0,scrollTop:0},u=Vt(1);const p=Vt(0),d=St(n);if((d||!d&&!o)&&((Br(n)!=="body"||On(s))&&(a=mi(n)),St(n))){const m=hr(n);u=Hr(n),p.x=m.x+n.clientLeft,p.y=m.y+n.clientTop}return{width:r.width*u.x,height:r.height*u.y,x:r.x*u.x-a.scrollLeft*u.x+p.x,y:r.y*u.y-a.scrollTop*u.y+p.y}}function ad(t){return Array.from(t.getClientRects())}function Jl(t){return hr(Dt(t)).left+mi(t).scrollLeft}function ld(t){const e=Dt(t),r=mi(t),n=t.ownerDocument.body,i=jr(e.scrollWidth,e.clientWidth,n.scrollWidth,n.clientWidth),o=jr(e.scrollHeight,e.clientHeight,n.scrollHeight,n.clientHeight);let s=-r.scrollLeft+Jl(t);const l=-r.scrollTop;return yt(n).direction==="rtl"&&(s+=jr(e.clientWidth,n.clientWidth)-i),{width:i,height:o,x:s,y:l}}function cd(t,e){const r=st(t),n=Dt(t),i=r.visualViewport;let o=n.clientWidth,s=n.clientHeight,l=0,a=0;if(i){o=i.width,s=i.height;const u=Jo();(!u||u&&e==="fixed")&&(l=i.offsetLeft,a=i.offsetTop)}return{width:o,height:s,x:l,y:a}}function ud(t,e){const r=hr(t,!0,e==="fixed"),n=r.top+t.clientTop,i=r.left+t.clientLeft,o=St(t)?Hr(t):Vt(1),s=t.clientWidth*o.x,l=t.clientHeight*o.y,a=i*o.x,u=n*o.y;return{width:s,height:l,x:a,y:u}}function Xl(t,e,r){let n;if(e==="viewport")n=cd(t,r);else if(e==="document")n=ld(Dt(t));else if(gt(e))n=ud(e,r);else{const i=Yl(t);n={...e,x:e.x-i.x,y:e.y-i.y}}return Wl(n)}function Zl(t,e){const r=Kt(t);return r===e||!gt(r)||Nr(r)?!1:yt(r).position==="fixed"||Zl(r,e)}function fd(t,e){const r=e.get(t);if(r)return r;let n=Cn(t,[],!1).filter(l=>gt(l)&&Br(l)!=="body"),i=null;const o=yt(t).position==="fixed";let s=o?Kt(t):t;for(;gt(s)&&!Nr(s);){const l=yt(s),a=Yo(s);!a&&l.position==="fixed"&&(i=null),(o?!a&&!i:!a&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||On(s)&&!a&&Zl(t,s))?n=n.filter(p=>p!==s):i=l,s=Kt(s)}return e.set(t,n),n}function pd(t){let{element:e,boundary:r,rootBoundary:n,strategy:i}=t;const s=[...r==="clippingAncestors"?vi(e)?[]:fd(e,this._c):[].concat(r),n],l=s[0],a=s.reduce((u,p)=>{const d=Xl(e,p,i);return u.top=jr(d.top,u.top),u.right=Ko(d.right,u.right),u.bottom=Ko(d.bottom,u.bottom),u.left=jr(d.left,u.left),u},Xl(e,l,i));return{width:a.right-a.left,height:a.bottom-a.top,x:a.left,y:a.top}}function hd(t){const{width:e,height:r}=Kl(t);return{width:e,height:r}}function dd(t,e,r){const n=St(e),i=Dt(e),o=r==="fixed",s=hr(t,!0,o,e);let l={scrollLeft:0,scrollTop:0};const a=Vt(0);if(n||!n&&!o)if((Br(e)!=="body"||On(i))&&(l=mi(e)),n){const d=hr(e,!0,o,e);a.x=d.x+e.clientLeft,a.y=d.y+e.clientTop}else i&&(a.x=Jl(i));const u=s.left+l.scrollLeft-a.x,p=s.top+l.scrollTop-a.y;return{x:u,y:p,width:s.width,height:s.height}}function Zo(t){return yt(t).position==="static"}function Ql(t,e){return!St(t)||yt(t).position==="fixed"?null:e?e(t):t.offsetParent}function ec(t,e){const r=st(t);if(vi(t))return r;if(!St(t)){let i=Kt(t);for(;i&&!Nr(i);){if(gt(i)&&!Zo(i))return i;i=Kt(i)}return r}let n=Ql(t,e);for(;n&&rd(n)&&Zo(n);)n=Ql(n,e);return n&&Nr(n)&&Zo(n)&&!Yo(n)?r:n||nd(t)||r}const gd=async function(t){const e=this.getOffsetParent||ec,r=this.getDimensions,n=await r(t.floating);return{reference:dd(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:n.width,height:n.height}}};function yd(t){return yt(t).direction==="rtl"}const vd={convertOffsetParentRelativeRectToViewportRelativeRect:sd,getDocumentElement:Dt,getClippingRect:pd,getOffsetParent:ec,getElementRects:gd,getClientRects:ad,getDimensions:hd,getScale:Hr,isElement:gt,isRTL:yd};function md(t,e){let r=null,n;const i=Dt(t);function o(){var l;clearTimeout(n),(l=r)==null||l.disconnect(),r=null}function s(l,a){l===void 0&&(l=!1),a===void 0&&(a=1),o();const{left:u,top:p,width:d,height:m}=t.getBoundingClientRect();if(l||e(),!d||!m)return;const v=yi(p),S=yi(i.clientWidth-(u+d)),_=yi(i.clientHeight-(p+m)),D=yi(u),H={rootMargin:-v+"px "+-S+"px "+-_+"px "+-D+"px",threshold:jr(0,Ko(1,a))||1};let W=!0;function Q(z){const U=z[0].intersectionRatio;if(U!==a){if(!W)return s();U?s(!1,U):n=setTimeout(()=>{s(!1,1e-7)},1e3)}W=!1}try{r=new IntersectionObserver(Q,{...H,root:i.ownerDocument})}catch{r=new IntersectionObserver(Q,H)}r.observe(t)}return s(!0),o}function bd(t,e,r,n){n===void 0&&(n={});const{ancestorScroll:i=!0,ancestorResize:o=!0,elementResize:s=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:a=!1}=n,u=Xo(t),p=i||o?[...u?Cn(u):[],...Cn(e)]:[];p.forEach(I=>{i&&I.addEventListener("scroll",r,{passive:!0}),o&&I.addEventListener("resize",r)});const d=u&&l?md(u,r):null;let m=-1,v=null;s&&(v=new ResizeObserver(I=>{let[H]=I;H&&H.target===u&&v&&(v.unobserve(e),cancelAnimationFrame(m),m=requestAnimationFrame(()=>{var W;(W=v)==null||W.observe(e)})),r()}),u&&!a&&v.observe(u),v.observe(e));let S,_=a?hr(t):null;a&&D();function D(){const I=hr(t);_&&(I.x!==_.x||I.y!==_.y||I.width!==_.width||I.height!==_.height)&&r(),_=I,S=requestAnimationFrame(D)}return r(),()=>{var I;p.forEach(H=>{i&&H.removeEventListener("scroll",r),o&&H.removeEventListener("resize",r)}),d==null||d(),(I=v)==null||I.disconnect(),v=null,a&&cancelAnimationFrame(S)}}const wd=(t,e,r)=>{const n=new Map,i={platform:vd,...r},o={...i.platform,_c:n};return td(t,e,{...i,platform:o})};function $d(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),r=t.renderRoot.querySelector("[popover]");return bd(e,r,()=>{r.matches(":popover-open")&&wd(e,r,{strategy:"fixed"}).then(({x:i,y:o})=>{Object.assign(r.style,{left:`${i}px`,top:`${o}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function tc(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",Hl({target:{value:""}},t)}function xd(t,e){e.inlineMode&&t.stopPropagation()}function Sd(t){t.inlineMode&&(t.showDropdown=!0)}function Ad(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function _d(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(tc(e),e.showDropdown=!1)}function Ed(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(tc(e),e.showDropdown=!1)}function Md(t,e){var r=0,n=0,i=0,o=0,s=0,l=0,a=0,u=0,p=null,d=null,m=t[0],v=t[1],S=e.length;for(r;r<S;r++){n=0;var _=e[r].length-1,D=e[r];if(p=D[0],p[0]!==D[_][0]&&p[1]!==D[_][1])throw new Error("First and last coordinates in a ring must be the same");for(s=p[0]-m,l=p[1]-v,n;n<_;n++){if(d=D[n+1],u=d[1]-v,l<0&&u<0||l>0&&u>0){p=d,l=u,s=p[0]-m;continue}if(a=d[0]-t[0],u>0&&l<=0){if(o=s*u-a*l,o>0)i=i+1;else if(o===0)return 0}else if(l>0&&u<=0){if(o=s*u-a*l,o<0)i=i+1;else if(o===0)return 0}else if(u===0&&l<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u<0){if(o=s*u-a*l,o===0)return 0}else if(l===0&&u===0){if(a<=0&&s>=0)return 0;if(s<=0&&a>=0)return 0}p=d,l=u,s=a}}return i%2!==0}var Fe=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function kn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function Pd(t){if(t.__esModule)return t;var e=t.default;if(typeof e=="function"){var r=function n(){return this instanceof n?Reflect.construct(e,arguments,this.constructor):e.apply(this,arguments)};r.prototype=e.prototype}else r={};return Object.defineProperty(r,"__esModule",{value:!0}),Object.keys(t).forEach(function(n){var i=Object.getOwnPropertyDescriptor(t,n);Object.defineProperty(r,n,i.get?i:{enumerable:!0,get:function(){return t[n]}})}),r}var rc=Object.prototype.toString,nc=function(e){var r=rc.call(e),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&rc.call(e.callee)==="[object Function]"),n},Qo,ic;function Od(){if(ic)return Qo;ic=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=nc,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),l=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],a=function(m){var v=m.constructor;return v&&v.prototype===m},u={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},p=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!u["$"+m]&&e.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{a(window[m])}catch{return!0}}catch{return!0}return!1}(),d=function(m){if(typeof window>"u"||!p)return a(m);try{return a(m)}catch{return!1}};t=function(v){var S=v!==null&&typeof v=="object",_=r.call(v)==="[object Function]",D=n(v),I=S&&r.call(v)==="[object String]",H=[];if(!S&&!_&&!D)throw new TypeError("Object.keys called on a non-object");var W=s&&_;if(I&&v.length>0&&!e.call(v,0))for(var Q=0;Q<v.length;++Q)H.push(String(Q));if(D&&v.length>0)for(var z=0;z<v.length;++z)H.push(String(z));else for(var U in v)!(W&&U==="prototype")&&e.call(v,U)&&H.push(String(U));if(o)for(var ee=d(v),oe=0;oe<l.length;++oe)!(ee&&l[oe]==="constructor")&&e.call(v,l[oe])&&H.push(l[oe]);return H}}return Qo=t,Qo}var Cd=Array.prototype.slice,kd=nc,oc=Object.keys,bi=oc?function(e){return oc(e)}:Od(),sc=Object.keys;bi.shim=function(){if(Object.keys){var e=function(){var r=Object.keys(arguments);return r&&r.length===arguments.length}(1,2);e||(Object.keys=function(n){return kd(n)?sc(Cd.call(n)):sc(n)})}else Object.keys=bi;return Object.keys||bi};var es=bi,Ld=Error,Td=EvalError,Rd=RangeError,Dd=ReferenceError,ac=SyntaxError,Yt=TypeError,Id=URIError,wi=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var e={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;e[r]=i;for(r in e)return!1;if(typeof Object.keys=="function"&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(e).length!==0)return!1;var o=Object.getOwnPropertySymbols(e);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(e,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var s=Object.getOwnPropertyDescriptor(e,r);if(s.value!==i||s.enumerable!==!0)return!1}return!0},lc=typeof Symbol<"u"&&Symbol,jd=wi,ts=function(){return typeof lc!="function"||typeof Symbol!="function"||typeof lc("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:jd()},rs={__proto__:null,foo:{}},Bd=Object,Nd=function(){return{__proto__:rs}.foo===rs.foo&&!(rs instanceof Bd)},Hd="Function.prototype.bind called on incompatible ",Ud=Object.prototype.toString,Fd=Math.max,Wd="[object Function]",cc=function(e,r){for(var n=[],i=0;i<e.length;i+=1)n[i]=e[i];for(var o=0;o<r.length;o+=1)n[o+e.length]=r[o];return n},zd=function(e,r){for(var n=[],i=r,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},qd=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},Gd=function(e){var r=this;if(typeof r!="function"||Ud.apply(r)!==Wd)throw new TypeError(Hd+r);for(var n=zd(arguments,1),i,o=function(){if(this instanceof i){var p=r.apply(this,cc(n,arguments));return Object(p)===p?p:this}return r.apply(e,cc(n,arguments))},s=Fd(0,r.length-n.length),l=[],a=0;a<s;a++)l[a]="$"+a;if(i=Function("binder","return function ("+qd(l,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var u=function(){};u.prototype=r.prototype,i.prototype=new u,u.prototype=null}return i},Vd=Gd,ns=Function.prototype.bind||Vd,Kd=Function.prototype.call,Yd=Object.prototype.hasOwnProperty,Jd=ns,uc=Jd.call(Kd,Yd),le,Xd=Ld,Zd=Td,Qd=Rd,eg=Dd,Ur=ac,Fr=Yt,tg=Id,fc=Function,is=function(t){try{return fc('"use strict"; return ('+t+").constructor;")()}catch{}},dr=Object.getOwnPropertyDescriptor;if(dr)try{dr({},"")}catch{dr=null}var os=function(){throw new Fr},rg=dr?function(){try{return arguments.callee,os}catch{try{return dr(arguments,"callee").get}catch{return os}}}():os,Wr=ts(),ng=Nd(),Ne=Object.getPrototypeOf||(ng?function(t){return t.__proto__}:null),zr={},ig=typeof Uint8Array>"u"||!Ne?le:Ne(Uint8Array),gr={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?le:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?le:ArrayBuffer,"%ArrayIteratorPrototype%":Wr&&Ne?Ne([][Symbol.iterator]()):le,"%AsyncFromSyncIteratorPrototype%":le,"%AsyncFunction%":zr,"%AsyncGenerator%":zr,"%AsyncGeneratorFunction%":zr,"%AsyncIteratorPrototype%":zr,"%Atomics%":typeof Atomics>"u"?le:Atomics,"%BigInt%":typeof BigInt>"u"?le:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?le:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?le:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?le:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Xd,"%eval%":eval,"%EvalError%":Zd,"%Float32Array%":typeof Float32Array>"u"?le:Float32Array,"%Float64Array%":typeof Float64Array>"u"?le:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?le:FinalizationRegistry,"%Function%":fc,"%GeneratorFunction%":zr,"%Int8Array%":typeof Int8Array>"u"?le:Int8Array,"%Int16Array%":typeof Int16Array>"u"?le:Int16Array,"%Int32Array%":typeof Int32Array>"u"?le:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":Wr&&Ne?Ne(Ne([][Symbol.iterator]())):le,"%JSON%":typeof JSON=="object"?JSON:le,"%Map%":typeof Map>"u"?le:Map,"%MapIteratorPrototype%":typeof Map>"u"||!Wr||!Ne?le:Ne(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?le:Promise,"%Proxy%":typeof Proxy>"u"?le:Proxy,"%RangeError%":Qd,"%ReferenceError%":eg,"%Reflect%":typeof Reflect>"u"?le:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?le:Set,"%SetIteratorPrototype%":typeof Set>"u"||!Wr||!Ne?le:Ne(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?le:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":Wr&&Ne?Ne(""[Symbol.iterator]()):le,"%Symbol%":Wr?Symbol:le,"%SyntaxError%":Ur,"%ThrowTypeError%":rg,"%TypedArray%":ig,"%TypeError%":Fr,"%Uint8Array%":typeof Uint8Array>"u"?le:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?le:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?le:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?le:Uint32Array,"%URIError%":tg,"%WeakMap%":typeof WeakMap>"u"?le:WeakMap,"%WeakRef%":typeof WeakRef>"u"?le:WeakRef,"%WeakSet%":typeof WeakSet>"u"?le:WeakSet};if(Ne)try{null.error}catch(t){var og=Ne(Ne(t));gr["%Error.prototype%"]=og}var sg=function t(e){var r;if(e==="%AsyncFunction%")r=is("async function () {}");else if(e==="%GeneratorFunction%")r=is("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=is("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ne&&(r=Ne(i.prototype))}return gr[e]=r,r},pc={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},Ln=ns,$i=uc,ag=Ln.call(Function.call,Array.prototype.concat),lg=Ln.call(Function.apply,Array.prototype.splice),hc=Ln.call(Function.call,String.prototype.replace),xi=Ln.call(Function.call,String.prototype.slice),cg=Ln.call(Function.call,RegExp.prototype.exec),ug=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,fg=/\\(\\)?/g,pg=function(e){var r=xi(e,0,1),n=xi(e,-1);if(r==="%"&&n!=="%")throw new Ur("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Ur("invalid intrinsic syntax, expected opening `%`");var i=[];return hc(e,ug,function(o,s,l,a){i[i.length]=l?hc(a,fg,"$1"):s||o}),i},hg=function(e,r){var n=e,i;if($i(pc,n)&&(i=pc[n],n="%"+i[0]+"%"),$i(gr,n)){var o=gr[n];if(o===zr&&(o=sg(n)),typeof o>"u"&&!r)throw new Fr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Ur("intrinsic "+e+" does not exist!")},At=function(e,r){if(typeof e!="string"||e.length===0)throw new Fr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Fr('"allowMissing" argument must be a boolean');if(cg(/^%?[^%]*%?$/,e)===null)throw new Ur("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=pg(e),i=n.length>0?n[0]:"",o=hg("%"+i+"%",r),s=o.name,l=o.value,a=!1,u=o.alias;u&&(i=u[0],lg(n,ag([0,1],u)));for(var p=1,d=!0;p<n.length;p+=1){var m=n[p],v=xi(m,0,1),S=xi(m,-1);if((v==='"'||v==="'"||v==="`"||S==='"'||S==="'"||S==="`")&&v!==S)throw new Ur("property names with quotes must have matching quotes");if((m==="constructor"||!d)&&(a=!0),i+="."+m,s="%"+i+"%",$i(gr,s))l=gr[s];else if(l!=null){if(!(m in l)){if(!r)throw new Fr("base intrinsic for "+e+" exists, but the property is not available.");return}if(dr&&p+1>=n.length){var _=dr(l,m);d=!!_,d&&"get"in _&&!("originalValue"in _.get)?l=_.get:l=l[m]}else d=$i(l,m),l=l[m];d&&!a&&(gr[s]=l)}}return l},dg=At,Si=dg("%Object.defineProperty%",!0)||!1;if(Si)try{Si({},"a",{value:1})}catch{Si=!1}var ss=Si,gg=At,Ai=gg("%Object.getOwnPropertyDescriptor%",!0);if(Ai)try{Ai([],"length")}catch{Ai=null}var as=Ai,dc=ss,yg=ac,qr=Yt,gc=as,ls=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new qr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new qr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new qr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new qr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new qr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new qr("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,o=arguments.length>4?arguments[4]:null,s=arguments.length>5?arguments[5]:null,l=arguments.length>6?arguments[6]:!1,a=!!gc&&gc(e,r);if(dc)dc(e,r,{configurable:s===null&&a?a.configurable:!s,enumerable:i===null&&a?a.enumerable:!i,value:n,writable:o===null&&a?a.writable:!o});else if(l||!i&&!o&&!s)e[r]=n;else throw new yg("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},cs=ss,yc=function(){return!!cs};yc.hasArrayLengthDefineBug=function(){if(!cs)return null;try{return cs([],"length",{value:1}).length!==1}catch{return!0}};var us=yc,vg=es,mg=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",bg=Object.prototype.toString,wg=Array.prototype.concat,vc=ls,$g=function(t){return typeof t=="function"&&bg.call(t)==="[object Function]"},mc=us(),xg=function(t,e,r,n){if(e in t){if(n===!0){if(t[e]===r)return}else if(!$g(n)||!n())return}mc?vc(t,e,r,!0):vc(t,e,r)},bc=function(t,e){var r=arguments.length>2?arguments[2]:{},n=vg(e);mg&&(n=wg.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)xg(t,n[i],e[n[i]],r[n[i]])};bc.supportsDescriptors=!!mc;var yr=bc,wc={exports:{}},Sg=At,$c=ls,Ag=us(),xc=as,Sc=Yt,_g=Sg("%Math.floor%"),Eg=function(e,r){if(typeof e!="function")throw new Sc("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||_g(r)!==r)throw new Sc("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&xc){var s=xc(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&(Ag?$c(e,"length",r,!0,!0):$c(e,"length",r)),e};(function(t){var e=ns,r=At,n=Eg,i=Yt,o=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),l=r("%Reflect.apply%",!0)||e.call(s,o),a=ss,u=r("%Math.max%");t.exports=function(m){if(typeof m!="function")throw new i("a function is required");var v=l(e,s,arguments);return n(v,1+u(0,m.length-(arguments.length-1)),!0)};var p=function(){return l(e,o,arguments)};a?a(t.exports,"apply",{value:p}):t.exports.apply=p})(wc);var Gr=wc.exports,Ac=At,_c=Gr,Mg=_c(Ac("String.prototype.indexOf")),ft=function(e,r){var n=Ac(e,!!r);return typeof n=="function"&&Mg(e,".prototype.")>-1?_c(n):n},Pg=es,Ec=wi(),Mc=ft,Pc=Object,Og=Mc("Array.prototype.push"),Oc=Mc("Object.prototype.propertyIsEnumerable"),Cg=Ec?Object.getOwnPropertySymbols:null,Cc=function(e,r){if(e==null)throw new TypeError("target must be an object");var n=Pc(e);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=Pc(arguments[i]),s=Pg(o),l=Ec&&(Object.getOwnPropertySymbols||Cg);if(l)for(var a=l(o),u=0;u<a.length;++u){var p=a[u];Oc(o,p)&&Og(s,p)}for(var d=0;d<s.length;++d){var m=s[d];if(Oc(o,m)){var v=o[m];n[m]=v}}}return n},fs=Cc,kg=function(){if(!Object.assign)return!1;for(var t="abcdefghijklmnopqrst",e=t.split(""),r={},n=0;n<e.length;++n)r[e[n]]=e[n];var i=Object.assign({},r),o="";for(var s in i)o+=s;return t!==o},Lg=function(){if(!Object.assign||!Object.preventExtensions)return!1;var t=Object.preventExtensions({1:2});try{Object.assign(t,"xy")}catch{return t[1]==="y"}return!1},kc=function(){return!Object.assign||kg()||Lg()?fs:Object.assign},Tg=yr,Rg=kc,Dg=function(){var e=Rg();return Tg(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},Ig=yr,jg=Gr,Bg=Cc,Lc=kc,Ng=Dg,Hg=jg.apply(Lc()),Tc=function(e,r){return Hg(Object,arguments)};Ig(Tc,{getPolyfill:Lc,implementation:Bg,shim:Ng});var Ug=Tc,Tn=function(){return typeof(function(){}).name=="string"},Rn=Object.getOwnPropertyDescriptor;if(Rn)try{Rn([],"length")}catch{Rn=null}Tn.functionsHaveConfigurableNames=function(){if(!Tn()||!Rn)return!1;var e=Rn(function(){},"name");return!!e&&!!e.configurable};var Fg=Function.prototype.bind;Tn.boundFunctionsHaveNames=function(){return Tn()&&typeof Fg=="function"&&(function(){}).bind().name!==""};var Wg=Tn,Rc=ls,zg=us(),qg=Wg.functionsHaveConfigurableNames(),Gg=Yt,Vg=function(e,r){if(typeof e!="function")throw new Gg("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||qg)&&(zg?Rc(e,"name",r,!0,!0):Rc(e,"name",r)),e},Kg=Vg,Yg=Yt,Jg=Object,Dc=Kg(function(){if(this==null||this!==Jg(this))throw new Yg("RegExp.prototype.flags getter called on non-object");var e="";return this.hasIndices&&(e+="d"),this.global&&(e+="g"),this.ignoreCase&&(e+="i"),this.multiline&&(e+="m"),this.dotAll&&(e+="s"),this.unicode&&(e+="u"),this.unicodeSets&&(e+="v"),this.sticky&&(e+="y"),e},"get flags",!0),Xg=Dc,Zg=yr.supportsDescriptors,Qg=Object.getOwnPropertyDescriptor,Ic=function(){if(Zg&&/a/mig.flags==="gim"){var e=Qg(RegExp.prototype,"flags");if(e&&typeof e.get=="function"&&typeof RegExp.prototype.dotAll=="boolean"&&typeof RegExp.prototype.hasIndices=="boolean"){var r="",n={};if(Object.defineProperty(n,"hasIndices",{get:function(){r+="d"}}),Object.defineProperty(n,"sticky",{get:function(){r+="y"}}),r==="dy")return e.get}}return Xg},ey=yr.supportsDescriptors,ty=Ic,ry=Object.getOwnPropertyDescriptor,ny=Object.defineProperty,iy=TypeError,jc=Object.getPrototypeOf,oy=/a/,sy=function(){if(!ey||!jc)throw new iy("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=ty(),r=jc(oy),n=ry(r,"flags");return(!n||n.get!==e)&&ny(r,"flags",{configurable:!0,enumerable:!1,get:e}),e},ay=yr,ly=Gr,cy=Dc,Bc=Ic,uy=sy,Nc=ly(Bc());ay(Nc,{getPolyfill:Bc,implementation:cy,shim:uy});var fy=Nc,_i={exports:{}},py=wi,vr=function(){return py()&&!!Symbol.toStringTag},hy=vr(),dy=ft,ps=dy("Object.prototype.toString"),Ei=function(e){return hy&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:ps(e)==="[object Arguments]"},Hc=function(e){return Ei(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&ps(e)!=="[object Array]"&&ps(e.callee)==="[object Function]"},gy=function(){return Ei(arguments)}();Ei.isLegacyArguments=Hc;var Uc=gy?Ei:Hc;const yy=Pd(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var hs=typeof Map=="function"&&Map.prototype,ds=Object.getOwnPropertyDescriptor&&hs?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,Mi=hs&&ds&&typeof ds.get=="function"?ds.get:null,Fc=hs&&Map.prototype.forEach,gs=typeof Set=="function"&&Set.prototype,ys=Object.getOwnPropertyDescriptor&&gs?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,Pi=gs&&ys&&typeof ys.get=="function"?ys.get:null,Wc=gs&&Set.prototype.forEach,vy=typeof WeakMap=="function"&&WeakMap.prototype,Dn=vy?WeakMap.prototype.has:null,my=typeof WeakSet=="function"&&WeakSet.prototype,In=my?WeakSet.prototype.has:null,by=typeof WeakRef=="function"&&WeakRef.prototype,zc=by?WeakRef.prototype.deref:null,wy=Boolean.prototype.valueOf,$y=Object.prototype.toString,xy=Function.prototype.toString,Sy=String.prototype.match,vs=String.prototype.slice,Jt=String.prototype.replace,Ay=String.prototype.toUpperCase,qc=String.prototype.toLowerCase,Gc=RegExp.prototype.test,Vc=Array.prototype.concat,_t=Array.prototype.join,_y=Array.prototype.slice,Kc=Math.floor,ms=typeof BigInt=="function"?BigInt.prototype.valueOf:null,bs=Object.getOwnPropertySymbols,ws=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Vr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ge=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Vr||!0)?Symbol.toStringTag:null,Yc=Object.prototype.propertyIsEnumerable,Jc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function Xc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||Gc.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-Kc(-t):Kc(t);if(n!==t){var i=String(n),o=vs.call(e,i.length+1);return Jt.call(i,r,"$&_")+"."+Jt.call(Jt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Jt.call(e,r,"$&_")}var $s=yy,Zc=$s.custom,Qc=ru(Zc)?Zc:null,Ey=function t(e,r,n,i){var o=r||{};if(Xt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(Xt(o,"maxStringLength")&&(typeof o.maxStringLength=="number"?o.maxStringLength<0&&o.maxStringLength!==1/0:o.maxStringLength!==null))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var s=Xt(o,"customInspect")?o.customInspect:!0;if(typeof s!="boolean"&&s!=="symbol")throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if(Xt(o,"indent")&&o.indent!==null&&o.indent!==" "&&!(parseInt(o.indent,10)===o.indent&&o.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if(Xt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var l=o.numericSeparator;if(typeof e>"u")return"undefined";if(e===null)return"null";if(typeof e=="boolean")return e?"true":"false";if(typeof e=="string")return iu(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var a=String(e);return l?Xc(e,a):a}if(typeof e=="bigint"){var u=String(e)+"n";return l?Xc(e,u):u}var p=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=p&&p>0&&typeof e=="object")return xs(e)?"[Array]":"[Object]";var d=zy(o,n);if(typeof i>"u")i=[];else if(nu(i,e)>=0)return"[Circular]";function m(et,R,M){if(R&&(i=_y.call(i),i.push(R)),M){var E={depth:o.depth};return Xt(o,"quoteStyle")&&(E.quoteStyle=o.quoteStyle),t(et,E,n+1,i)}return t(et,o,n+1,i)}if(typeof e=="function"&&!tu(e)){var v=Dy(e),S=Oi(e,m);return"[Function"+(v?": "+v:" (anonymous)")+"]"+(S.length>0?" { "+_t.call(S,", ")+" }":"")}if(ru(e)){var _=Vr?Jt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):ws.call(e);return typeof e=="object"&&!Vr?jn(_):_}if(Uy(e)){for(var D="<"+qc.call(String(e.nodeName)),I=e.attributes||[],H=0;H<I.length;H++)D+=" "+I[H].name+"="+eu(My(I[H].value),"double",o);return D+=">",e.childNodes&&e.childNodes.length&&(D+="..."),D+="</"+qc.call(String(e.nodeName))+">",D}if(xs(e)){if(e.length===0)return"[]";var W=Oi(e,m);return d&&!Wy(W)?"["+As(W,d)+"]":"[ "+_t.call(W,", ")+" ]"}if(Oy(e)){var Q=Oi(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!Yc.call(e,"cause")?"{ ["+String(e)+"] "+_t.call(Vc.call("[cause]: "+m(e.cause),Q),", ")+" }":Q.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+_t.call(Q,", ")+" }"}if(typeof e=="object"&&s){if(Qc&&typeof e[Qc]=="function"&&$s)return $s(e,{depth:p-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Iy(e)){var z=[];return Fc&&Fc.call(e,function(et,R){z.push(m(R,e,!0)+" => "+m(et,e))}),ou("Map",Mi.call(e),z,d)}if(Ny(e)){var U=[];return Wc&&Wc.call(e,function(et){U.push(m(et,e))}),ou("Set",Pi.call(e),U,d)}if(jy(e))return Ss("WeakMap");if(Hy(e))return Ss("WeakSet");if(By(e))return Ss("WeakRef");if(ky(e))return jn(m(Number(e)));if(Ty(e))return jn(m(ms.call(e)));if(Ly(e))return jn(wy.call(e));if(Cy(e))return jn(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(typeof globalThis<"u"&&e===globalThis||typeof Fe<"u"&&e===Fe)return"{ [object globalThis] }";if(!Py(e)&&!tu(e)){var ee=Oi(e,m),oe=Jc?Jc(e)===Object.prototype:e instanceof Object||e.constructor===Object,we=e instanceof Object?"":"null prototype",de=!oe&&Ge&&Object(e)===e&&Ge in e?vs.call(Zt(e),8,-1):we?"Object":"",ne=oe||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",je=ne+(de||we?"["+_t.call(Vc.call([],de||[],we||[]),": ")+"] ":"");return ee.length===0?je+"{}":d?je+"{"+As(ee,d)+"}":je+"{ "+_t.call(ee,", ")+" }"}return String(e)};function eu(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function My(t){return Jt.call(String(t),/"/g,"&quot;")}function xs(t){return Zt(t)==="[object Array]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function Py(t){return Zt(t)==="[object Date]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function tu(t){return Zt(t)==="[object RegExp]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function Oy(t){return Zt(t)==="[object Error]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function Cy(t){return Zt(t)==="[object String]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function ky(t){return Zt(t)==="[object Number]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function Ly(t){return Zt(t)==="[object Boolean]"&&(!Ge||!(typeof t=="object"&&Ge in t))}function ru(t){if(Vr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!ws)return!1;try{return ws.call(t),!0}catch{}return!1}function Ty(t){if(!t||typeof t!="object"||!ms)return!1;try{return ms.call(t),!0}catch{}return!1}var Ry=Object.prototype.hasOwnProperty||function(t){return t in this};function Xt(t,e){return Ry.call(t,e)}function Zt(t){return $y.call(t)}function Dy(t){if(t.name)return t.name;var e=Sy.call(xy.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function nu(t,e){if(t.indexOf)return t.indexOf(e);for(var r=0,n=t.length;r<n;r++)if(t[r]===e)return r;return-1}function Iy(t){if(!Mi||!t||typeof t!="object")return!1;try{Mi.call(t);try{Pi.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function jy(t){if(!Dn||!t||typeof t!="object")return!1;try{Dn.call(t,Dn);try{In.call(t,In)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function By(t){if(!zc||!t||typeof t!="object")return!1;try{return zc.call(t),!0}catch{}return!1}function Ny(t){if(!Pi||!t||typeof t!="object")return!1;try{Pi.call(t);try{Mi.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Hy(t){if(!In||!t||typeof t!="object")return!1;try{In.call(t,In);try{Dn.call(t,Dn)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Uy(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function iu(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return iu(vs.call(t,0,e.maxStringLength),e)+n}var i=Jt.call(Jt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Fy);return eu(i,"single",e)}function Fy(t){var e=t.charCodeAt(0),r={8:"b",9:"t",10:"n",12:"f",13:"r"}[e];return r?"\\"+r:"\\x"+(e<16?"0":"")+Ay.call(e.toString(16))}function jn(t){return"Object("+t+")"}function Ss(t){return t+" { ? }"}function ou(t,e,r,n){var i=n?As(r,n):_t.call(r,", ");return t+" ("+e+") {"+i+"}"}function Wy(t){for(var e=0;e<t.length;e++)if(nu(t[e],`
505
- `)>=0)return!1;return!0}function zy(t,e){var r;if(t.indent===" ")r=" ";else if(typeof t.indent=="number"&&t.indent>0)r=_t.call(Array(t.indent+1)," ");else return null;return{base:r,prev:_t.call(Array(e+1),r)}}function As(t,e){if(t.length===0)return"";var r=`
506
- `+e.prev+e.base;return r+_t.call(t,","+r)+`
507
- `+e.prev}function Oi(t,e){var r=xs(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=Xt(t,i)?e(t[i],t):""}var o=typeof bs=="function"?bs(t):[],s;if(Vr){s={};for(var l=0;l<o.length;l++)s["$"+o[l]]=o[l]}for(var a in t)Xt(t,a)&&(r&&String(Number(a))===a&&a<t.length||Vr&&s["$"+a]instanceof Symbol||(Gc.call(/[^\w$]/,a)?n.push(e(a,t)+": "+e(t[a],t)):n.push(a+": "+e(t[a],t))));if(typeof bs=="function")for(var u=0;u<o.length;u++)Yc.call(t,o[u])&&n.push("["+e(o[u])+"]: "+e(t[o[u]],t));return n}var su=At,Kr=ft,qy=Ey,Gy=Yt,Ci=su("%WeakMap%",!0),ki=su("%Map%",!0),Vy=Kr("WeakMap.prototype.get",!0),Ky=Kr("WeakMap.prototype.set",!0),Yy=Kr("WeakMap.prototype.has",!0),Jy=Kr("Map.prototype.get",!0),Xy=Kr("Map.prototype.set",!0),Zy=Kr("Map.prototype.has",!0),_s=function(t,e){for(var r=t,n;(n=r.next)!==null;r=n)if(n.key===e)return r.next=n.next,n.next=t.next,t.next=n,n},Qy=function(t,e){var r=_s(t,e);return r&&r.value},ev=function(t,e,r){var n=_s(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},tv=function(t,e){return!!_s(t,e)},au=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new Gy("Side channel does not contain "+qy(o))},get:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Vy(e,o)}else if(ki){if(r)return Jy(r,o)}else if(n)return Qy(n,o)},has:function(o){if(Ci&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Yy(e,o)}else if(ki){if(r)return Zy(r,o)}else if(n)return tv(n,o);return!1},set:function(o,s){Ci&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new Ci),Ky(e,o,s)):ki?(r||(r=new ki),Xy(r,o,s)):(n||(n={key:{},next:null}),ev(n,o,s))}};return i},rv=uc,Bn=au(),It=Yt,Es={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");if(Bn.assert(t),!Es.has(t,e))throw new It("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var r=Bn.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var r=Bn.get(t);return!!r&&rv(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new It("`O` is not an object");if(typeof e!="string")throw new It("`slot` must be a string");var n=Bn.get(t);n||(n={},Bn.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(Es);var nv=Es,Nn=nv,iv=SyntaxError,lu=typeof StopIteration=="object"?StopIteration:null,ov=function(e){if(!lu)throw new iv("this environment lacks StopIteration");Nn.set(e,"[[Done]]",!1);var r={next:function(){var i=Nn.get(this,"[[Iterator]]"),o=Nn.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(Nn.set(i,"[[Done]]",!0),s!==lu)throw s;return{done:!0,value:void 0}}}};return Nn.set(r,"[[Iterator]]",e),r},sv={}.toString,cu=Array.isArray||function(t){return sv.call(t)=="[object Array]"},av=String.prototype.valueOf,lv=function(e){try{return av.call(e),!0}catch{return!1}},cv=Object.prototype.toString,uv="[object String]",fv=vr(),uu=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:fv?lv(e):cv.call(e)===uv},Ms=typeof Map=="function"&&Map.prototype?Map:null,pv=typeof Set=="function"&&Set.prototype?Set:null,Li;Ms||(Li=function(e){return!1});var fu=Ms?Map.prototype.has:null,pu=pv?Set.prototype.has:null;!Li&&!fu&&(Li=function(e){return!1});var hu=Li||function(e){if(!e||typeof e!="object")return!1;try{if(fu.call(e),pu)try{pu.call(e)}catch{return!0}return e instanceof Ms}catch{}return!1},hv=typeof Map=="function"&&Map.prototype?Map:null,Ps=typeof Set=="function"&&Set.prototype?Set:null,Ti;Ps||(Ti=function(e){return!1});var du=hv?Map.prototype.has:null,gu=Ps?Set.prototype.has:null;!Ti&&!gu&&(Ti=function(e){return!1});var yu=Ti||function(e){if(!e||typeof e!="object")return!1;try{if(gu.call(e),du)try{du.call(e)}catch{return!0}return e instanceof Ps}catch{}return!1},vu=Uc,mu=ov;if(ts()||wi()){var Os=Symbol.iterator;_i.exports=function(e){if(e!=null&&typeof e[Os]<"u")return e[Os]();if(vu(e))return Array.prototype[Os].call(e)}}else{var dv=cu,gv=uu,bu=At,yv=bu("%Map%",!0),vv=bu("%Set%",!0),vt=ft,wu=vt("Array.prototype.push"),$u=vt("String.prototype.charCodeAt"),mv=vt("String.prototype.slice"),bv=function(e,r){var n=e.length;if(r+1>=n)return r+1;var i=$u(e,r);if(i<55296||i>56319)return r+1;var o=$u(e,r+1);return o<56320||o>57343?r+1:r+2},Cs=function(e){var r=0;return{next:function(){var i=r>=e.length,o;return i||(o=e[r],r+=1),{done:i,value:o}}}},xu=function(e,r){if(dv(e)||vu(e))return Cs(e);if(gv(e)){var n=0;return{next:function(){var o=bv(e,n),s=mv(e,n,o);return n=o,{done:o>e.length,value:s}}}}if(r&&typeof e["_es6-shim iterator_"]<"u")return e["_es6-shim iterator_"]()};if(!yv&&!vv)_i.exports=function(e){if(e!=null)return xu(e,!0)};else{var wv=hu,$v=yu,Su=vt("Map.prototype.forEach",!0),Au=vt("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var _u=vt("Map.prototype.iterator",!0),Eu=vt("Set.prototype.iterator",!0);var Mu=vt("Map.prototype.@@iterator",!0)||vt("Map.prototype._es6-shim iterator_",!0),Pu=vt("Set.prototype.@@iterator",!0)||vt("Set.prototype._es6-shim iterator_",!0),xv=function(e){if(wv(e)){if(_u)return mu(_u(e));if(Mu)return Mu(e);if(Su){var r=[];return Su(e,function(i,o){wu(r,[o,i])}),Cs(r)}}if($v(e)){if(Eu)return mu(Eu(e));if(Pu)return Pu(e);if(Au){var n=[];return Au(e,function(i){wu(n,i)}),Cs(n)}}};_i.exports=function(e){return xv(e)||xu(e)}}}var Sv=_i.exports,Ou=function(t){return t!==t},Cu=function(e,r){return e===0&&r===0?1/e===1/r:!!(e===r||Ou(e)&&Ou(r))},Av=Cu,ku=function(){return typeof Object.is=="function"?Object.is:Av},_v=ku,Ev=yr,Mv=function(){var e=_v();return Ev(Object,{is:e},{is:function(){return Object.is!==e}}),e},Pv=yr,Ov=Gr,Cv=Cu,Lu=ku,kv=Mv,Tu=Ov(Lu(),Object);Pv(Tu,{getPolyfill:Lu,implementation:Cv,shim:kv});var Lv=Tu,Tv=Gr,Ru=ft,Rv=At,ks=Rv("%ArrayBuffer%",!0),Ri=Ru("ArrayBuffer.prototype.byteLength",!0),Dv=Ru("Object.prototype.toString"),Du=!!ks&&!Ri&&new ks(0).slice,Iu=!!Du&&Tv(Du),ju=Ri||Iu?function(e){if(!e||typeof e!="object")return!1;try{return Ri?Ri(e):Iu(e,0),!0}catch{return!1}}:ks?function(e){return Dv(e)==="[object ArrayBuffer]"}:function(e){return!1},Iv=Date.prototype.getDay,jv=function(e){try{return Iv.call(e),!0}catch{return!1}},Bv=Object.prototype.toString,Nv="[object Date]",Hv=vr(),Uv=function(e){return typeof e!="object"||e===null?!1:Hv?jv(e):Bv.call(e)===Nv},Ls=ft,Bu=vr(),Nu,Hu,Ts,Rs;if(Bu){Nu=Ls("Object.prototype.hasOwnProperty"),Hu=Ls("RegExp.prototype.exec"),Ts={};var Ds=function(){throw Ts};Rs={toString:Ds,valueOf:Ds},typeof Symbol.toPrimitive=="symbol"&&(Rs[Symbol.toPrimitive]=Ds)}var Fv=Ls("Object.prototype.toString"),Wv=Object.getOwnPropertyDescriptor,zv="[object RegExp]",qv=Bu?function(e){if(!e||typeof e!="object")return!1;var r=Wv(e,"lastIndex"),n=r&&Nu(r,"value");if(!n)return!1;try{Hu(e,Rs)}catch(i){return i===Ts}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Fv(e)===zv},Gv=ft,Uu=Gv("SharedArrayBuffer.prototype.byteLength",!0),Vv=Uu?function(e){if(!e||typeof e!="object")return!1;try{return Uu(e),!0}catch{return!1}}:function(e){return!1},Kv=Number.prototype.toString,Yv=function(e){try{return Kv.call(e),!0}catch{return!1}},Jv=Object.prototype.toString,Xv="[object Number]",Zv=vr(),Qv=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:Zv?Yv(e):Jv.call(e)===Xv},Fu=ft,em=Fu("Boolean.prototype.toString"),tm=Fu("Object.prototype.toString"),rm=function(e){try{return em(e),!0}catch{return!1}},nm="[object Boolean]",im=vr(),om=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:im&&Symbol.toStringTag in e?rm(e):tm(e)===nm},Is={exports:{}},sm=Object.prototype.toString,am=ts();if(am){var lm=Symbol.prototype.toString,cm=/^Symbol\(.*\)$/,um=function(e){return typeof e.valueOf()!="symbol"?!1:cm.test(lm.call(e))};Is.exports=function(e){if(typeof e=="symbol")return!0;if(sm.call(e)!=="[object Symbol]")return!1;try{return um(e)}catch{return!1}}}else Is.exports=function(e){return!1};var fm=Is.exports,js={exports:{}},Wu=typeof BigInt<"u"&&BigInt,pm=function(){return typeof Wu=="function"&&typeof BigInt=="function"&&typeof Wu(42)=="bigint"&&typeof BigInt(42)=="bigint"},hm=pm();if(hm){var dm=BigInt.prototype.valueOf,gm=function(e){try{return dm.call(e),!0}catch{}return!1};js.exports=function(e){return e===null||typeof e>"u"||typeof e=="boolean"||typeof e=="string"||typeof e=="number"||typeof e=="symbol"||typeof e=="function"?!1:typeof e=="bigint"?!0:gm(e)}}else js.exports=function(e){return!1};var ym=js.exports,vm=uu,mm=Qv,bm=om,wm=fm,$m=ym,xm=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(vm(e))return"String";if(mm(e))return"Number";if(bm(e))return"Boolean";if(wm(e))return"Symbol";if($m(e))return"BigInt"},Di=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,zu=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,Ii;Di||(Ii=function(e){return!1});var Bs=Di?Di.prototype.has:null,Ns=zu?zu.prototype.has:null;!Ii&&!Bs&&(Ii=function(e){return!1});var Sm=Ii||function(e){if(!e||typeof e!="object")return!1;try{if(Bs.call(e,Bs),Ns)try{Ns.call(e,Ns)}catch{return!0}return e instanceof Di}catch{}return!1},Hs={exports:{}},Am=At,qu=ft,_m=Am("%WeakSet%",!0),Us=qu("WeakSet.prototype.has",!0);if(Us){var Fs=qu("WeakMap.prototype.has",!0);Hs.exports=function(e){if(!e||typeof e!="object")return!1;try{if(Us(e,Us),Fs)try{Fs(e,Fs)}catch{return!0}return e instanceof _m}catch{}return!1}}else Hs.exports=function(e){return!1};var Em=Hs.exports,Mm=hu,Pm=yu,Om=Sm,Cm=Em,km=function(e){if(e&&typeof e=="object"){if(Mm(e))return"Map";if(Pm(e))return"Set";if(Om(e))return"WeakMap";if(Cm(e))return"WeakSet"}return!1},Gu=Function.prototype.toString,Yr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,Ws,ji;if(typeof Yr=="function"&&typeof Object.defineProperty=="function")try{Ws=Object.defineProperty({},"length",{get:function(){throw ji}}),ji={},Yr(function(){throw 42},null,Ws)}catch(t){t!==ji&&(Yr=null)}else Yr=null;var Lm=/^\s*class\b/,zs=function(e){try{var r=Gu.call(e);return Lm.test(r)}catch{return!1}},qs=function(e){try{return zs(e)?!1:(Gu.call(e),!0)}catch{return!1}},Bi=Object.prototype.toString,Tm="[object Object]",Rm="[object Function]",Dm="[object GeneratorFunction]",Im="[object HTMLAllCollection]",jm="[object HTML document.all class]",Bm="[object HTMLCollection]",Nm=typeof Symbol=="function"&&!!Symbol.toStringTag,Hm=!(0 in[,]),Gs=function(){return!1};if(typeof document=="object"){var Um=document.all;Bi.call(Um)===Bi.call(document.all)&&(Gs=function(e){if((Hm||!e)&&(typeof e>"u"||typeof e=="object"))try{var r=Bi.call(e);return(r===Im||r===jm||r===Bm||r===Tm)&&e("")==null}catch{}return!1})}var Fm=Yr?function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{Yr(e,null,Ws)}catch(r){if(r!==ji)return!1}return!zs(e)&&qs(e)}:function(e){if(Gs(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Nm)return qs(e);if(zs(e))return!1;var r=Bi.call(e);return r!==Rm&&r!==Dm&&!/^\[object HTML/.test(r)?!1:qs(e)},Wm=Fm,zm=Object.prototype.toString,Vu=Object.prototype.hasOwnProperty,qm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)Vu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Gm=function(e,r,n){for(var i=0,o=e.length;i<o;i++)n==null?r(e.charAt(i),i,e):r.call(n,e.charAt(i),i,e)},Vm=function(e,r,n){for(var i in e)Vu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Km=function(e,r,n){if(!Wm(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),zm.call(e)==="[object Array]"?qm(e,r,i):typeof e=="string"?Gm(e,r,i):Vm(e,r,i)},Ym=Km,Jm=["Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"],Vs=Jm,Xm=typeof globalThis>"u"?Fe:globalThis,Zm=function(){for(var e=[],r=0;r<Vs.length;r++)typeof Xm[Vs[r]]=="function"&&(e[e.length]=Vs[r]);return e},Ni=Ym,Qm=Zm,Ku=Gr,Ks=ft,Hi=as,eb=Ks("Object.prototype.toString"),Yu=vr(),Ju=typeof globalThis>"u"?Fe:globalThis,Ys=Qm(),Js=Ks("String.prototype.slice"),Xs=Object.getPrototypeOf,tb=Ks("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return-1},Ui={__proto__:null};Yu&&Hi&&Xs?Ni(Ys,function(t){var e=new Ju[t];if(Symbol.toStringTag in e){var r=Xs(e),n=Hi(r,Symbol.toStringTag);if(!n){var i=Xs(r);n=Hi(i,Symbol.toStringTag)}Ui["$"+t]=Ku(n.get)}}):Ni(Ys,function(t){var e=new Ju[t],r=e.slice||e.set;r&&(Ui["$"+t]=Ku(r))});var rb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{"$"+n(e)===i&&(r=Js(i,1))}catch{}}),r},nb=function(e){var r=!1;return Ni(Ui,function(n,i){if(!r)try{n(e),r=Js(i,1)}catch{}}),r},ib=function(e){if(!e||typeof e!="object")return!1;if(!Yu){var r=Js(eb(e),8,-1);return tb(Ys,r)>-1?r:r!=="Object"?!1:nb(e)}return Hi?rb(e):null},ob=ft,Xu=ob("ArrayBuffer.prototype.byteLength",!0),sb=ju,ab=function(e){return sb(e)?Xu?Xu(e):e.byteLength:NaN},Zu=Ug,Et=ft,Qu=fy,lb=At,Jr=Sv,cb=au,ef=Lv,tf=Uc,rf=cu,nf=ju,of=Uv,sf=qv,af=Vv,lf=es,cf=xm,uf=km,ff=ib,pf=ab,hf=Et("SharedArrayBuffer.prototype.byteLength",!0),df=Et("Date.prototype.getTime"),Zs=Object.getPrototypeOf,gf=Et("Object.prototype.toString"),Fi=lb("%Set%",!0),Qs=Et("Map.prototype.has",!0),Wi=Et("Map.prototype.get",!0),yf=Et("Map.prototype.size",!0),zi=Et("Set.prototype.add",!0),vf=Et("Set.prototype.delete",!0),qi=Et("Set.prototype.has",!0),Gi=Et("Set.prototype.size",!0);function mf(t,e,r,n){for(var i=Jr(t),o;(o=i.next())&&!o.done;)if(mt(e,o.value,r,n))return vf(t,o.value),!0;return!1}function bf(t){if(typeof t>"u")return null;if(typeof t!="object")return typeof t=="symbol"?!1:typeof t=="string"||typeof t=="number"?+t==+t:!0}function ub(t,e,r,n,i,o){var s=bf(r);if(s!=null)return s;var l=Wi(e,s),a=Zu({},i,{strict:!1});return typeof l>"u"&&!Qs(e,s)||!mt(n,l,a,o)?!1:!Qs(t,s)&&mt(n,l,a,o)}function fb(t,e,r){var n=bf(r);return n??(qi(e,n)&&!qi(t,n))}function wf(t,e,r,n,i,o){for(var s=Jr(t),l,a;(l=s.next())&&!l.done;)if(a=l.value,mt(r,a,i,o)&&mt(n,Wi(e,a),i,o))return vf(t,a),!0;return!1}function mt(t,e,r,n){var i=r||{};if(i.strict?ef(t,e):t===e)return!0;var o=cf(t),s=cf(e);if(o!==s)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?ef(t,e):t==e;var l=n.has(t),a=n.has(e),u;if(l&&a){if(n.get(t)===n.get(e))return!0}else u={};return l||n.set(t,u),a||n.set(e,u),db(t,e,i,n)}function $f(t){return!t||typeof t!="object"||typeof t.length!="number"||typeof t.copy!="function"||typeof t.slice!="function"||t.length>0&&typeof t[0]!="number"?!1:!!(t.constructor&&t.constructor.isBuffer&&t.constructor.isBuffer(t))}function pb(t,e,r,n){if(Gi(t)!==Gi(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")a||(a=new Fi),zi(a,s.value);else if(!qi(e,s.value)){if(r.strict||!fb(t,e,s.value))return!1;a||(a=new Fi),zi(a,s.value)}if(a){for(;(l=o.next())&&!l.done;)if(l.value&&typeof l.value=="object"){if(!mf(a,l.value,r.strict,n))return!1}else if(!r.strict&&!qi(t,l.value)&&!mf(a,l.value,r.strict,n))return!1;return Gi(a)===0}return!0}function hb(t,e,r,n){if(yf(t)!==yf(e))return!1;for(var i=Jr(t),o=Jr(e),s,l,a,u,p,d;(s=i.next())&&!s.done;)if(u=s.value[0],p=s.value[1],u&&typeof u=="object")a||(a=new Fi),zi(a,u);else if(d=Wi(e,u),typeof d>"u"&&!Qs(e,u)||!mt(p,d,r,n)){if(r.strict||!ub(t,e,u,p,r,n))return!1;a||(a=new Fi),zi(a,u)}if(a){for(;(l=o.next())&&!l.done;)if(u=l.value[0],d=l.value[1],u&&typeof u=="object"){if(!wf(a,t,u,d,r,n))return!1}else if(!r.strict&&(!t.has(u)||!mt(Wi(t,u),d,r,n))&&!wf(a,t,u,d,Zu({},r,{strict:!1}),n))return!1;return Gi(a)===0}return!0}function db(t,e,r,n){var i,o;if(typeof t!=typeof e||t==null||e==null||gf(t)!==gf(e)||tf(t)!==tf(e))return!1;var s=rf(t),l=rf(e);if(s!==l)return!1;var a=t instanceof Error,u=e instanceof Error;if(a!==u||(a||u)&&(t.name!==e.name||t.message!==e.message))return!1;var p=sf(t),d=sf(e);if(p!==d||(p||d)&&(t.source!==e.source||Qu(t)!==Qu(e)))return!1;var m=of(t),v=of(e);if(m!==v||(m||v)&&df(t)!==df(e)||r.strict&&Zs&&Zs(t)!==Zs(e))return!1;var S=ff(t),_=ff(e);if(S!==_)return!1;if(S||_){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var D=$f(t),I=$f(e);if(D!==I)return!1;if(D||I){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var H=nf(t),W=nf(e);if(H!==W)return!1;if(H||W)return pf(t)!==pf(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);var Q=af(t),z=af(e);if(Q!==z)return!1;if(Q||z)return hf(t)!==hf(e)?!1:typeof Uint8Array=="function"&&mt(new Uint8Array(t),new Uint8Array(e),r,n);if(typeof t!=typeof e)return!1;var U=lf(t),ee=lf(e);if(U.length!==ee.length)return!1;for(U.sort(),ee.sort(),i=U.length-1;i>=0;i--)if(U[i]!=ee[i])return!1;for(i=U.length-1;i>=0;i--)if(o=U[i],!mt(t[o],e[o],r,n))return!1;var oe=uf(t),we=uf(e);return oe!==we?!1:oe==="Set"||we==="Set"?pb(t,e,r,n):oe==="Map"?hb(t,e,r,n):!0}var gb=function(e,r,n){return mt(e,r,n,cb())};const yb=kn(gb);var vb=Object.defineProperty,ve=(t,e)=>vb(t,"name",{value:e,configurable:!0}),mb=class{constructor(e){this.direction=!1,this.compareProperties=!0;var r,n,i;this.precision=10**-((r=e==null?void 0:e.precision)!=null?r:17),this.direction=(n=e==null?void 0:e.direction)!=null?n:!1,this.compareProperties=(i=e==null?void 0:e.compareProperties)!=null?i:!0}compare(e,r){if(e.type!==r.type||!Hn(e,r))return!1;switch(e.type){case"Point":return this.compareCoord(e.coordinates,r.coordinates);case"LineString":return this.compareLine(e.coordinates,r.coordinates);case"Polygon":return this.comparePolygon(e,r);case"GeometryCollection":return this.compareGeometryCollection(e,r);case"Feature":return this.compareFeature(e,r);case"FeatureCollection":return this.compareFeatureCollection(e,r);default:if(e.type.startsWith("Multi")){const n=ea(e),i=ea(r);return n.every(o=>i.some(s=>this.compare(o,s)))}}return!1}compareCoord(e,r){return e.length===r.length&&e.every((n,i)=>Math.abs(n-r[i])<this.precision)}compareLine(e,r,n=0,i=!1){if(!Hn(e,r))return!1;const o=e;let s=r;if(i&&!this.compareCoord(o[0],s[0])){const a=this.fixStartIndex(s,o);if(a)s=a;else return!1}const l=this.compareCoord(o[n],s[n]);return this.direction||l?this.comparePath(o,s):this.compareCoord(o[n],s[s.length-(1+n)])?this.comparePath(o.slice().reverse(),s):!1}fixStartIndex(e,r){let n,i=-1;for(let o=0;o<e.length;o++)if(this.compareCoord(e[o],r[0])){i=o;break}return i>=0&&(n=[].concat(e.slice(i,e.length),e.slice(1,i+1))),n}comparePath(e,r){return e.every((n,i)=>this.compareCoord(n,r[i]))}comparePolygon(e,r){if(this.compareLine(e.coordinates[0],r.coordinates[0],1,!0)){const n=e.coordinates.slice(1,e.coordinates.length),i=r.coordinates.slice(1,r.coordinates.length);return n.every(o=>i.some(s=>this.compareLine(o,s,1,!0)))}return!1}compareGeometryCollection(e,r){return Hn(e.geometries,r.geometries)&&this.compareBBox(e,r)&&e.geometries.every((n,i)=>this.compare(n,r.geometries[i]))}compareFeature(e,r){return e.id===r.id&&(this.compareProperties?yb(e.properties,r.properties):!0)&&this.compareBBox(e,r)&&this.compare(e.geometry,r.geometry)}compareFeatureCollection(e,r){return Hn(e.features,r.features)&&this.compareBBox(e,r)&&e.features.every((n,i)=>this.compare(n,r.features[i]))}compareBBox(e,r){return!e.bbox&&!r.bbox||(e.bbox&&r.bbox?this.compareCoord(e.bbox,r.bbox):!1)}};ve(mb,"GeojsonEquality");function Hn(t,e){return t.coordinates?t.coordinates.length===e.coordinates.length:t.length===e.length}ve(Hn,"sameLength");function ea(t){return t.coordinates.map(e=>({type:t.type.replace("Multi",""),coordinates:e}))}ve(ea,"explode");var at=63710088e-1,xf={centimeters:at*100,centimetres:at*100,degrees:360/(2*Math.PI),feet:at*3.28084,inches:at*39.37,kilometers:at/1e3,kilometres:at/1e3,meters:at,metres:at,miles:at/1609.344,millimeters:at*1e3,millimetres:at*1e3,nauticalmiles:at/1852,radians:1,yards:at*1.0936},Sf={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,nauticalmiles:29155334959812285e-23,millimeters:1e6,millimetres:1e6,yards:1.195990046};function pt(t,e,r={}){const n={type:"Feature"};return(r.id===0||r.id)&&(n.id=r.id),r.bbox&&(n.bbox=r.bbox),n.properties=e||{},n.geometry=t,n}ve(pt,"feature");function bb(t,e,r={}){switch(t){case"Point":return Mt(e).geometry;case"LineString":return Pt(e).geometry;case"Polygon":return ta(e).geometry;case"MultiPoint":return Af(e).geometry;case"MultiLineString":return ra(e).geometry;case"MultiPolygon":return _f(e).geometry;default:throw new Error(t+" is invalid")}}ve(bb,"geometry");function Mt(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(!Xr(t[0])||!Xr(t[1]))throw new Error("coordinates must contain numbers");return pt({type:"Point",coordinates:t},e,r)}ve(Mt,"point");function wb(t,e,r={}){return mr(t.map(n=>Mt(n,e)),r)}ve(wb,"points");function ta(t,e,r={}){for(const i of t){if(i.length<4)throw new Error("Each LinearRing of a Polygon must have 4 or more Positions.");if(i[i.length-1].length!==i[0].length)throw new Error("First and last Position are not equivalent.");for(let o=0;o<i[i.length-1].length;o++)if(i[i.length-1][o]!==i[0][o])throw new Error("First and last Position are not equivalent.")}return pt({type:"Polygon",coordinates:t},e,r)}ve(ta,"polygon");function $b(t,e,r={}){return mr(t.map(n=>ta(n,e)),r)}ve($b,"polygons");function Pt(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return pt({type:"LineString",coordinates:t},e,r)}ve(Pt,"lineString");function xb(t,e,r={}){return mr(t.map(n=>Pt(n,e)),r)}ve(xb,"lineStrings");function mr(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}ve(mr,"featureCollection");function ra(t,e,r={}){return pt({type:"MultiLineString",coordinates:t},e,r)}ve(ra,"multiLineString");function Af(t,e,r={}){return pt({type:"MultiPoint",coordinates:t},e,r)}ve(Af,"multiPoint");function _f(t,e,r={}){return pt({type:"MultiPolygon",coordinates:t},e,r)}ve(_f,"multiPolygon");function Sb(t,e,r={}){return pt({type:"GeometryCollection",geometries:t},e,r)}ve(Sb,"geometryCollection");function Ab(t,e=0){if(e&&!(e>=0))throw new Error("precision must be a positive number");const r=Math.pow(10,e||0);return Math.round(t*r)/r}ve(Ab,"round");function Ef(t,e="kilometers"){const r=xf[e];if(!r)throw new Error(e+" units is invalid");return t*r}ve(Ef,"radiansToLength");function na(t,e="kilometers"){const r=xf[e];if(!r)throw new Error(e+" units is invalid");return t/r}ve(na,"lengthToRadians");function _b(t,e){return Mf(na(t,e))}ve(_b,"lengthToDegrees");function Eb(t){let e=t%360;return e<0&&(e+=360),e}ve(Eb,"bearingToAzimuth");function Mf(t){return t%(2*Math.PI)*180/Math.PI}ve(Mf,"radiansToDegrees");function Mb(t){return t%360*Math.PI/180}ve(Mb,"degreesToRadians");function Pb(t,e="kilometers",r="kilometers"){if(!(t>=0))throw new Error("length must be a positive number");return Ef(na(t,e),r)}ve(Pb,"convertLength");function Ob(t,e="meters",r="kilometers"){if(!(t>=0))throw new Error("area must be a positive number");const n=Sf[e];if(!n)throw new Error("invalid original units");const i=Sf[r];if(!i)throw new Error("invalid final units");return t/n*i}ve(Ob,"convertArea");function Xr(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}ve(Xr,"isNumber");function ia(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}ve(ia,"isObject");function Cb(t){if(!t)throw new Error("bbox is required");if(!Array.isArray(t))throw new Error("bbox must be an Array");if(t.length!==4&&t.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");t.forEach(e=>{if(!Xr(e))throw new Error("bbox must only contain numbers")})}ve(Cb,"validateBBox");function kb(t){if(!t)throw new Error("id is required");if(["string","number"].indexOf(typeof t)===-1)throw new Error("id must be a number or a string")}ve(kb,"validateId");var Lb=Object.defineProperty,Qt=(t,e)=>Lb(t,"name",{value:e,configurable:!0});function oa(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")}Qt(oa,"getCoord");function Pf(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")}Qt(Pf,"getCoords");function Of(t){if(t.length>1&&Xr(t[0])&&Xr(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return Of(t[0]);throw new Error("coordinates must only contain numbers")}Qt(Of,"containsNumber");function Tb(t,e,r){if(!e||!r)throw new Error("type and name required");if(!t||t.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.type)}Qt(Tb,"geojsonType");function Rb(t,e,r){if(!t)throw new Error("No feature passed");if(!r)throw new Error(".featureOf() requires a name");if(!t||t.type!=="Feature"||!t.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!t.geometry||t.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+t.geometry.type)}Qt(Rb,"featureOf");function Db(t,e,r){if(!t)throw new Error("No featureCollection passed");if(!r)throw new Error(".collectionOf() requires a name");if(!t||t.type!=="FeatureCollection")throw new Error("Invalid input to "+r+", FeatureCollection required");for(const n of t.features){if(!n||n.type!=="Feature"||!n.geometry)throw new Error("Invalid input to "+r+", Feature with geometry required");if(!n.geometry||n.geometry.type!==e)throw new Error("Invalid input to "+r+": must be a "+e+", given "+n.geometry.type)}}Qt(Db,"collectionOf");function br(t){return t.type==="Feature"?t.geometry:t}Qt(br,"getGeom");function Ib(t,e){return t.type==="FeatureCollection"?"FeatureCollection":t.type==="GeometryCollection"?"GeometryCollection":t.type==="Feature"&&t.geometry!==null?t.geometry.type:t.type}Qt(Ib,"getType");var jb=Object.defineProperty,Cf=(t,e)=>jb(t,"name",{value:e,configurable:!0});function lt(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=oa(t),i=br(e),o=i.type,s=e.bbox;let l=i.coordinates;if(s&&kf(n,s)===!1)return!1;o==="Polygon"&&(l=[l]);let a=!1;for(var u=0;u<l.length;++u){const p=Md(n,l[u]);if(p===0)return!r.ignoreBoundary;p&&(a=!0)}return a}Cf(lt,"booleanPointInPolygon");function kf(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}Cf(kf,"inBBox");class Lf{constructor(e=[],r=Bb){if(this.data=e,this.length=this.data.length,this.compare=r,this.length>0)for(let n=(this.length>>1)-1;n>=0;n--)this._down(n)}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:n}=this,i=r[e];for(;e>0;){const o=e-1>>1,s=r[o];if(n(i,s)>=0)break;r[e]=s,e=o}r[e]=i}_down(e){const{data:r,compare:n}=this,i=this.length>>1,o=r[e];for(;e<i;){let s=(e<<1)+1,l=r[s];const a=s+1;if(a<this.length&&n(r[a],l)<0&&(s=a,l=r[a]),n(l,o)>=0)break;r[e]=l,e=s}r[e]=o}}function Bb(t,e){return t<e?-1:t>e?1:0}function Tf(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 Nb(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 Rf{constructor(e,r,n,i){this.p={x:e[0],y:e[1]},this.featureId=r,this.ringId=n,this.eventId=i,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function Hb(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)Df(r[n],e)}else Df(t,e)}let Vi=0,Ki=0,Yi=0;function Df(t,e){const r=t.type==="Feature"?t.geometry:t;let n=r.coordinates;(r.type==="Polygon"||r.type==="MultiLineString")&&(n=[n]),r.type==="LineString"&&(n=[[n]]);for(let i=0;i<n.length;i++)for(let o=0;o<n[i].length;o++){let s=n[i][o][0],l=null;Ki=Ki+1;for(let a=0;a<n[i][o].length-1;a++){l=n[i][o][a+1];const u=new Rf(s,Vi,Ki,Yi),p=new Rf(l,Vi,Ki,Yi+1);u.otherEvent=p,p.otherEvent=u,Tf(u,p)>0?(p.isLeftEndpoint=!0,u.isLeftEndpoint=!1):(u.isLeftEndpoint=!0,p.isLeftEndpoint=!1),e.push(u),e.push(p),s=l,Yi=Yi+1}}Vi=Vi+1}class Ub{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Fb(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,n=t.leftSweepEvent.p.y,i=t.rightSweepEvent.p.x,o=t.rightSweepEvent.p.y,s=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,a=e.rightSweepEvent.p.x,u=e.rightSweepEvent.p.y,p=(u-l)*(i-r)-(a-s)*(o-n),d=(a-s)*(n-l)-(u-l)*(r-s),m=(i-r)*(n-l)-(o-n)*(r-s);if(p===0)return!1;const v=d/p,S=m/p;if(v>=0&&v<=1&&S>=0&&S<=1){const _=r+v*(i-r),D=n+v*(o-n);return[_,D]}return!1}function Wb(t,e){e=e||!1;const r=[],n=new Lf([],Nb);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const o=new Ub(i);for(let s=0;s<n.data.length;s++){const l=n.data[s];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const a=Fb(o,l);a!==!1&&r.push(a)}n.push(o)}else i.isLeftEndpoint===!1&&n.pop()}return r}function zb(t,e){const r=new Lf([],Tf);return Hb(t,r),Wb(r,e)}var qb=Object.defineProperty,Gb=(t,e)=>qb(t,"name",{value:e,configurable:!0}),Vb=zb;function Ji(t,e,r={}){const{removeDuplicates:n=!0,ignoreSelfIntersections:i=!1}=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(pt(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(pt(e));const s=Vb(mr(o),i);let l=[];if(n){const a={};s.forEach(u=>{const p=u.join(",");a[p]||(a[p]=!0,l.push(u))})}else l=s;return mr(l.map(a=>Mt(a)))}Gb(Ji,"lineIntersect");var Kb=Object.defineProperty,We=(t,e)=>Kb(t,"name",{value:e,configurable:!0});function Zr(t,e,r){if(t!==null)for(var n,i,o,s,l,a,u,p=0,d=0,m,v=t.type,S=v==="FeatureCollection",_=v==="Feature",D=S?t.features.length:1,I=0;I<D;I++){u=S?t.features[I].geometry:_?t.geometry:t,m=u?u.type==="GeometryCollection":!1,l=m?u.geometries.length:1;for(var H=0;H<l;H++){var W=0,Q=0;if(s=m?u.geometries[H]:u,s!==null){a=s.coordinates;var z=s.type;switch(p=r&&(z==="Polygon"||z==="MultiPolygon")?1:0,z){case null:break;case"Point":if(e(a,d,I,W,Q)===!1)return!1;d++,W++;break;case"LineString":case"MultiPoint":for(n=0;n<a.length;n++){if(e(a[n],d,I,W,Q)===!1)return!1;d++,z==="MultiPoint"&&W++}z==="LineString"&&W++;break;case"Polygon":case"MultiLineString":for(n=0;n<a.length;n++){for(i=0;i<a[n].length-p;i++){if(e(a[n][i],d,I,W,Q)===!1)return!1;d++}z==="MultiLineString"&&W++,z==="Polygon"&&Q++}z==="Polygon"&&W++;break;case"MultiPolygon":for(n=0;n<a.length;n++){for(Q=0,i=0;i<a[n].length;i++){for(o=0;o<a[n][i].length-p;o++){if(e(a[n][i][o],d,I,W,Q)===!1)return!1;d++}Q++}W++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(Zr(s.geometries[n],e,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}We(Zr,"coordEach");function Yb(t,e,r,n){var i=r;return Zr(t,function(o,s,l,a,u){s===0&&r===void 0?i=o:i=e(i,o,s,l,a,u)},n),i}We(Yb,"coordReduce");function If(t,e){var r;switch(t.type){case"FeatureCollection":for(r=0;r<t.features.length&&e(t.features[r].properties,r)!==!1;r++);break;case"Feature":e(t.properties,0);break}}We(If,"propEach");function Jb(t,e,r){var n=r;return If(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Jb,"propReduce");function jf(t,e){if(t.type==="Feature")e(t,0);else if(t.type==="FeatureCollection")for(var r=0;r<t.features.length&&e(t.features[r],r)!==!1;r++);}We(jf,"featureEach");function Xb(t,e,r){var n=r;return jf(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Xb,"featureReduce");function Zb(t){var e=[];return Zr(t,function(r){e.push(r)}),e}We(Zb,"coordAll");function sa(t,e){var r,n,i,o,s,l,a,u,p,d,m=0,v=t.type==="FeatureCollection",S=t.type==="Feature",_=v?t.features.length:1;for(r=0;r<_;r++){for(l=v?t.features[r].geometry:S?t.geometry:t,u=v?t.features[r].properties:S?t.properties:{},p=v?t.features[r].bbox:S?t.bbox:void 0,d=v?t.features[r].id:S?t.id:void 0,a=l?l.type==="GeometryCollection":!1,s=a?l.geometries.length:1,i=0;i<s;i++){if(o=a?l.geometries[i]:l,o===null){if(e(null,m,u,p,d)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,m,u,p,d)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<o.geometries.length;n++)if(e(o.geometries[n],m,u,p,d)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}m++}}We(sa,"geomEach");function Qb(t,e,r){var n=r;return sa(t,function(i,o,s,l,a){o===0&&r===void 0?n=i:n=e(n,i,o,s,l,a)}),n}We(Qb,"geomReduce");function er(t,e){sa(t,function(r,n,i,o,s){var l=r===null?null:r.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(pt(r,i,{bbox:o,id:s}),n,0)===!1?!1:void 0}var a;switch(l){case"MultiPoint":a="Point";break;case"MultiLineString":a="LineString";break;case"MultiPolygon":a="Polygon";break}for(var u=0;u<r.coordinates.length;u++){var p=r.coordinates[u],d={type:a,coordinates:p};if(e(pt(d,i),n,u)===!1)return!1}})}We(er,"flattenEach");function e0(t,e,r){var n=r;return er(t,function(i,o,s){o===0&&s===0&&r===void 0?n=i:n=e(n,i,o,s)}),n}We(e0,"flattenReduce");function Bf(t,e){er(t,function(r,n,i){var o=0;if(r.geometry){var s=r.geometry.type;if(!(s==="Point"||s==="MultiPoint")){var l,a=0,u=0,p=0;if(Zr(r,function(d,m,v,S,_){if(l===void 0||n>a||S>u||_>p){l=d,a=n,u=S,p=_,o=0;return}var D=Pt([l,d],r.properties);if(e(D,n,i,_,o)===!1)return!1;o++,l=d})===!1)return!1}}})}We(Bf,"segmentEach");function t0(t,e,r){var n=r,i=!1;return Bf(t,function(o,s,l,a,u){i===!1&&r===void 0?n=o:n=e(n,o,s,l,a,u),i=!0}),n}We(t0,"segmentReduce");function Nf(t,e){if(!t)throw new Error("geojson is required");er(t,function(r,n,i){if(r.geometry!==null){var o=r.geometry.type,s=r.geometry.coordinates;switch(o){case"LineString":if(e(r,n,i,0,0)===!1)return!1;break;case"Polygon":for(var l=0;l<s.length;l++)if(e(Pt(s[l],r.properties),n,i,l)===!1)return!1;break}}})}We(Nf,"lineEach");function r0(t,e,r){var n=r;return Nf(t,function(i,o,s,l){o===0&&r===void 0?n=i:n=e(n,i,o,s,l)}),n}We(r0,"lineReduce");function n0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.segmentIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":case"MultiPoint":return null;case"LineString":return o<0&&(o=a.length+o-1),Pt([a[o],a[o+1]],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o-1),Pt([a[i][o],a[i][o+1]],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o-1),Pt([a[n][o],a[n][o+1]],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o-1),Pt([a[n][i][o],a[n][i][o+1]],s,e)}throw new Error("geojson is invalid")}We(n0,"findSegment");function i0(t,e){if(e=e||{},!ia(e))throw new Error("options is invalid");var r=e.featureIndex||0,n=e.multiFeatureIndex||0,i=e.geometryIndex||0,o=e.coordIndex||0,s=e.properties,l;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,l=t.features[r].geometry;break;case"Feature":s=s||t.properties,l=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":l=t;break;default:throw new Error("geojson is invalid")}if(l===null)return null;var a=l.coordinates;switch(l.type){case"Point":return Mt(a,s,e);case"MultiPoint":return n<0&&(n=a.length+n),Mt(a[n],s,e);case"LineString":return o<0&&(o=a.length+o),Mt(a[o],s,e);case"Polygon":return i<0&&(i=a.length+i),o<0&&(o=a[i].length+o),Mt(a[i][o],s,e);case"MultiLineString":return n<0&&(n=a.length+n),o<0&&(o=a[n].length+o),Mt(a[n][o],s,e);case"MultiPolygon":return n<0&&(n=a.length+n),i<0&&(i=a[n].length+i),o<0&&(o=a[n][i].length-o),Mt(a[n][i][o],s,e)}throw new Error("geojson is invalid")}We(i0,"findPoint");var o0=Object.defineProperty,Xi=(t,e)=>o0(t,"name",{value:e,configurable:!0});function Zi(t,e={}){const r=br(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return Hf(r,e);case"MultiPolygon":return Uf(r,e);default:throw new Error("invalid poly")}}Xi(Zi,"polygonToLine");function Hf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return aa(n,i)}Xi(Hf,"singlePolygonToLine");function Uf(t,e={}){const n=br(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return n.forEach(s=>{o.push(aa(s,i))}),mr(o)}Xi(Uf,"multiPolygonToLine");function aa(t,e){return t.length>1?ra(t,e):Pt(t[0],e)}Xi(aa,"coordsToLine");var s0=Object.defineProperty,tr=(t,e)=>s0(t,"name",{value:e,configurable:!0});function Ff(t,e){let r=!0;return er(t,n=>{er(e,i=>{if(r===!1)return!1;r=Wf(n.geometry,i.geometry)})}),r}tr(Ff,"booleanDisjoint");function Wf(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!Vf(t.coordinates,e.coordinates);case"LineString":return!la(e,t);case"Polygon":return!lt(t,e)}break;case"LineString":switch(e.type){case"Point":return!la(t,e);case"LineString":return!zf(t,e);case"Polygon":return!ca(e,t)}break;case"Polygon":switch(e.type){case"Point":return!lt(e,t);case"LineString":return!ca(t,e);case"Polygon":return!qf(e,t)}}return!1}tr(Wf,"disjoint");function la(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(Gf(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}tr(la,"isPointOnLine");function zf(t,e){return Ji(t,e).features.length>0}tr(zf,"isLineOnLine");function ca(t,e){for(const n of e.coordinates)if(lt(n,t))return!0;return Ji(e,Zi(t)).features.length>0}tr(ca,"isLineInPoly");function qf(t,e){for(const n of t.coordinates[0])if(lt(n,e))return!0;for(const n of e.coordinates[0])if(lt(n,t))return!0;return Ji(Zi(t),Zi(e)).features.length>0}tr(qf,"isPolyInPoly");function Gf(t,e,r){const n=r[0]-t[0],i=r[1]-t[1],o=e[0]-t[0],s=e[1]-t[1];return n*s-i*o!==0?!1:Math.abs(o)>=Math.abs(s)?o>0?t[0]<=r[0]&&r[0]<=e[0]:e[0]<=r[0]&&r[0]<=t[0]:s>0?t[1]<=r[1]&&r[1]<=e[1]:e[1]<=r[1]&&r[1]<=t[1]}tr(Gf,"isPointOnLineSegment");function Vf(t,e){return t[0]===e[0]&&t[1]===e[1]}tr(Vf,"compareCoords");var a0=Object.defineProperty,l0=(t,e)=>a0(t,"name",{value:e,configurable:!0});function Kf(t,e){let r=!1;return er(t,n=>{er(e,i=>{if(r===!0)return!0;r=!Ff(n.geometry,i.geometry)})}),r}l0(Kf,"booleanIntersects");var c0=Kf,u0=Object.defineProperty,f0=(t,e)=>u0(t,"name",{value:e,configurable:!0});function Un(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Zr(t,n=>{r[0]>n[0]&&(r[0]=n[0]),r[1]>n[1]&&(r[1]=n[1]),r[2]<n[0]&&(r[2]=n[0]),r[3]<n[1]&&(r[3]=n[1])}),r}f0(Un,"bbox");var p0=Object.defineProperty,Yf=(t,e)=>p0(t,"name",{value:e,configurable:!0});function Fn(t,e,r={}){const n=oa(t),i=Pf(e);for(let o=0;o<i.length-1;o++){let s=!1;if(r.ignoreEndVertices&&(o===0&&(s="start"),o===i.length-2&&(s="end"),o===0&&o+1===i.length-1&&(s="both")),Jf(i[o],i[o+1],n,s,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}Yf(Fn,"booleanPointOnLine");function Jf(t,e,r,n,i){const o=r[0],s=r[1],l=t[0],a=t[1],u=e[0],p=e[1],d=r[0]-l,m=r[1]-a,v=u-l,S=p-a,_=d*S-m*v;if(i!==null){if(Math.abs(_)>i)return!1}else if(_!==0)return!1;if(n){if(n==="start")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<=u:u<=o&&o<l:S>0?a<s&&s<=p:p<=s&&s<a;if(n==="end")return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<u:u<o&&o<=l:S>0?a<=s&&s<p:p<s&&s<=a;if(n==="both")return Math.abs(v)>=Math.abs(S)?v>0?l<o&&o<u:u<o&&o<l:S>0?a<s&&s<p:p<s&&s<a}else return Math.abs(v)>=Math.abs(S)?v>0?l<=o&&o<=u:u<=o&&o<=l:S>0?a<=s&&s<=p:p<=s&&s<=a;return!1}Yf(Jf,"isPointOnLineSegment");var h0=Object.defineProperty,bt=(t,e)=>h0(t,"name",{value:e,configurable:!0});function Xf(t,e){var r=br(t),n=br(e),i=r.type,o=n.type;switch(i){case"Point":switch(o){case"MultiPoint":return Zf(r,n);case"LineString":return Fn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return lt(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return Qf(r,n);case"LineString":return ep(r,n);case"Polygon":case"MultiPolygon":return tp(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return rp(r,n);case"Polygon":case"MultiPolygon":return np(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return ip(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}bt(Xf,"booleanWithin");function Zf(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(fa(e.coordinates[r],t.coordinates)){n=!0;break}return n}bt(Zf,"isPointInMultiPoint");function Qf(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)fa(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}bt(Qf,"isMultiPointInMultiPoint");function ep(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Fn(t.coordinates[n],e))return!1;r||(r=Fn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}bt(ep,"isMultiPointOnLine");function tp(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=lt(t.coordinates[i],e),!n){r=!1;break}n=lt(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}bt(tp,"isMultiPointInPoly");function rp(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Fn(t.coordinates[r],e))return!1;return!0}bt(rp,"isLineOnLine");function np(t,e){var r=Un(e),n=Un(t);if(!ua(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length;o++){if(!lt(t.coordinates[o],e))return!1;if(i||(i=lt(t.coordinates[o],e,{ignoreBoundary:!0})),!i&&o<t.coordinates.length-1){var s=op(t.coordinates[o],t.coordinates[o+1]);i=lt(s,e,{ignoreBoundary:!0})}}return i}bt(np,"isLineInPoly");function ip(t,e){var r=Un(t),n=Un(e);if(!ua(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!lt(t.coordinates[0][i],e))return!1;return!0}bt(ip,"isPolyInPoly");function ua(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}bt(ua,"doBBoxOverlap");function fa(t,e){return t[0]===e[0]&&t[1]===e[1]}bt(fa,"compareCoords");function op(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}bt(op,"getMidpoint");var d0=Xf;const g0=(t,e)=>e?c0(t,e):!0,y0=(t,e)=>e?d0(t,e):!0;function v0(t,e="highlight",r="title"){const n=(o,s,l)=>{const a=s.split(".");let u;for(u=0;u<a.length-1;u++)o=o[a[u]];o[a[u]]=l},i=(o,s=[])=>{let l="",a=0;return s.forEach(u=>{const p=u[1]+1;l+=[o.substring(a,u[0]),`<mark class="${e}">`,o.substring(u[0],p),"</mark>"].join(""),a=p}),l+=o.substring(a),l};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:s})=>{const l={...o};return s.forEach(a=>{a.key===r&&n(l,a.key,i(a.value,a.indices))}),l})}var sp={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Fe,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",s="second",l="minute",a="hour",u="day",p="week",d="month",m="quarter",v="year",S="date",_="Invalid Date",D=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,I=/\[([^\]]+)]|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,H={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(R){var M=["th","st","nd","rd"],E=R%100;return"["+R+(M[(E-20)%10]||M[E]||M[0])+"]"}},W=function(R,M,E){var B=String(R);return!B||B.length>=M?R:""+Array(M+1-B.length).join(E)+R},Q={s:W,z:function(R){var M=-R.utcOffset(),E=Math.abs(M),B=Math.floor(E/60),O=E%60;return(M<=0?"+":"-")+W(B,2,"0")+":"+W(O,2,"0")},m:function R(M,E){if(M.date()<E.date())return-R(E,M);var B=12*(E.year()-M.year())+(E.month()-M.month()),O=M.clone().add(B,d),J=E-O<0,X=M.clone().add(B+(J?-1:1),d);return+(-(B+(E-O)/(J?O-X:X-O))||0)},a:function(R){return R<0?Math.ceil(R)||0:Math.floor(R)},p:function(R){return{M:d,y:v,w:p,d:u,D:S,h:a,m:l,s,ms:o,Q:m}[R]||String(R||"").toLowerCase().replace(/s$/,"")},u:function(R){return R===void 0}},z="en",U={};U[z]=H;var ee="$isDayjsObject",oe=function(R){return R instanceof je||!(!R||!R[ee])},we=function R(M,E,B){var O;if(!M)return z;if(typeof M=="string"){var J=M.toLowerCase();U[J]&&(O=J),E&&(U[J]=E,O=J);var X=M.split("-");if(!O&&X.length>1)return R(X[0])}else{var ye=M.name;U[ye]=M,O=ye}return!B&&O&&(z=O),O||!B&&z},de=function(R,M){if(oe(R))return R.clone();var E=typeof M=="object"?M:{};return E.date=R,E.args=arguments,new je(E)},ne=Q;ne.l=we,ne.i=oe,ne.w=function(R,M){return de(R,{locale:M.$L,utc:M.$u,x:M.$x,$offset:M.$offset})};var je=function(){function R(E){this.$L=we(E.locale,null,!0),this.parse(E),this.$x=this.$x||E.x||{},this[ee]=!0}var M=R.prototype;return M.parse=function(E){this.$d=function(B){var O=B.date,J=B.utc;if(O===null)return new Date(NaN);if(ne.u(O))return new Date;if(O instanceof Date)return new Date(O);if(typeof O=="string"&&!/Z$/i.test(O)){var X=O.match(D);if(X){var ye=X[2]-1||0,Ee=(X[7]||"0").substring(0,3);return J?new Date(Date.UTC(X[1],ye,X[3]||1,X[4]||0,X[5]||0,X[6]||0,Ee)):new Date(X[1],ye,X[3]||1,X[4]||0,X[5]||0,X[6]||0,Ee)}}return new Date(O)}(E),this.init()},M.init=function(){var E=this.$d;this.$y=E.getFullYear(),this.$M=E.getMonth(),this.$D=E.getDate(),this.$W=E.getDay(),this.$H=E.getHours(),this.$m=E.getMinutes(),this.$s=E.getSeconds(),this.$ms=E.getMilliseconds()},M.$utils=function(){return ne},M.isValid=function(){return this.$d.toString()!==_},M.isSame=function(E,B){var O=de(E);return this.startOf(B)<=O&&O<=this.endOf(B)},M.isAfter=function(E,B){return de(E)<this.startOf(B)},M.isBefore=function(E,B){return this.endOf(B)<de(E)},M.$g=function(E,B,O){return ne.u(E)?this[B]:this.set(O,E)},M.unix=function(){return Math.floor(this.valueOf()/1e3)},M.valueOf=function(){return this.$d.getTime()},M.startOf=function(E,B){var O=this,J=!!ne.u(B)||B,X=ne.p(E),ye=function(Re,se){var De=ne.w(O.$u?Date.UTC(O.$y,se,Re):new Date(O.$y,se,Re),O);return J?De:De.endOf(u)},Ee=function(Re,se){return ne.w(O.toDate()[Re].apply(O.toDate("s"),(J?[0,0,0,0]:[23,59,59,999]).slice(se)),O)},Oe=this.$W,ke=this.$M,Ve=this.$D,Te="set"+(this.$u?"UTC":"");switch(X){case v:return J?ye(1,0):ye(31,11);case d:return J?ye(1,ke):ye(0,ke+1);case p:var Ke=this.$locale().weekStart||0,ce=(Oe<Ke?Oe+7:Oe)-Ke;return ye(J?Ve-ce:Ve+(6-ce),ke);case u:case S:return Ee(Te+"Hours",0);case a:return Ee(Te+"Minutes",1);case l:return Ee(Te+"Seconds",2);case s:return Ee(Te+"Milliseconds",3);default:return this.clone()}},M.endOf=function(E){return this.startOf(E,!1)},M.$set=function(E,B){var O,J=ne.p(E),X="set"+(this.$u?"UTC":""),ye=(O={},O[u]=X+"Date",O[S]=X+"Date",O[d]=X+"Month",O[v]=X+"FullYear",O[a]=X+"Hours",O[l]=X+"Minutes",O[s]=X+"Seconds",O[o]=X+"Milliseconds",O)[J],Ee=J===u?this.$D+(B-this.$W):B;if(J===d||J===v){var Oe=this.clone().set(S,1);Oe.$d[ye](Ee),Oe.init(),this.$d=Oe.set(S,Math.min(this.$D,Oe.daysInMonth())).$d}else ye&&this.$d[ye](Ee);return this.init(),this},M.set=function(E,B){return this.clone().$set(E,B)},M.get=function(E){return this[ne.p(E)]()},M.add=function(E,B){var O,J=this;E=Number(E);var X=ne.p(B),ye=function(ke){var Ve=de(J);return ne.w(Ve.date(Ve.date()+Math.round(ke*E)),J)};if(X===d)return this.set(d,this.$M+E);if(X===v)return this.set(v,this.$y+E);if(X===u)return ye(1);if(X===p)return ye(7);var Ee=(O={},O[l]=n,O[a]=i,O[s]=r,O)[X]||1,Oe=this.$d.getTime()+E*Ee;return ne.w(Oe,this)},M.subtract=function(E,B){return this.add(-1*E,B)},M.format=function(E){var B=this,O=this.$locale();if(!this.isValid())return O.invalidDate||_;var J=E||"YYYY-MM-DDTHH:mm:ssZ",X=ne.z(this),ye=this.$H,Ee=this.$m,Oe=this.$M,ke=O.weekdays,Ve=O.months,Te=O.meridiem,Ke=function(se,De,Ot,Me){return se&&(se[De]||se(B,J))||Ot[De].slice(0,Me)},ce=function(se){return ne.s(ye%12||12,se,"0")},Re=Te||function(se,De,Ot){var Me=se<12?"AM":"PM";return Ot?Me.toLowerCase():Me};return J.replace(I,function(se,De){return De||function(Ot){switch(Ot){case"YY":return String(B.$y).slice(-2);case"YYYY":return ne.s(B.$y,4,"0");case"M":return Oe+1;case"MM":return ne.s(Oe+1,2,"0");case"MMM":return Ke(O.monthsShort,Oe,Ve,3);case"MMMM":return Ke(Ve,Oe);case"D":return B.$D;case"DD":return ne.s(B.$D,2,"0");case"d":return String(B.$W);case"dd":return Ke(O.weekdaysMin,B.$W,ke,2);case"ddd":return Ke(O.weekdaysShort,B.$W,ke,3);case"dddd":return ke[B.$W];case"H":return String(ye);case"HH":return ne.s(ye,2,"0");case"h":return ce(1);case"hh":return ce(2);case"a":return Re(ye,Ee,!0);case"A":return Re(ye,Ee,!1);case"m":return String(Ee);case"mm":return ne.s(Ee,2,"0");case"s":return String(B.$s);case"ss":return ne.s(B.$s,2,"0");case"SSS":return ne.s(B.$ms,3,"0");case"Z":return X}return null}(se)||X.replace(":","")})},M.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},M.diff=function(E,B,O){var J,X=this,ye=ne.p(B),Ee=de(E),Oe=(Ee.utcOffset()-this.utcOffset())*n,ke=this-Ee,Ve=function(){return ne.m(X,Ee)};switch(ye){case v:J=Ve()/12;break;case d:J=Ve();break;case m:J=Ve()/3;break;case p:J=(ke-Oe)/6048e5;break;case u:J=(ke-Oe)/864e5;break;case a:J=ke/i;break;case l:J=ke/n;break;case s:J=ke/r;break;default:J=ke}return O?J:ne.a(J)},M.daysInMonth=function(){return this.endOf(d).$D},M.$locale=function(){return U[this.$L]},M.locale=function(E,B){if(!E)return this.$L;var O=this.clone(),J=we(E,B,!0);return J&&(O.$L=J),O},M.clone=function(){return ne.w(this.$d,this)},M.toDate=function(){return new Date(this.valueOf())},M.toJSON=function(){return this.isValid()?this.toISOString():null},M.toISOString=function(){return this.$d.toISOString()},M.toString=function(){return this.$d.toUTCString()},R}(),et=je.prototype;return de.prototype=et,[["$ms",o],["$s",s],["$m",l],["$H",a],["$W",u],["$M",d],["$y",v],["$D",S]].forEach(function(R){et[R[1]]=function(M){return this.$g(M,R[0],R[1])}}),de.extend=function(R,M){return R.$i||(R(M,je,de),R.$i=!0),de},de.locale=we,de.isDayjs=oe,de.unix=function(R){return de(1e3*R)},de.en=U[z],de.Ls=U,de.p={},de})})(sp);var m0=sp.exports;const Wn=kn(m0);let ap;const b0=(t,e)=>{ap=new Gt(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},w0=async(t,e,r)=>{const n=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[a,u])=>{const p="$or",d=[],m=(v,S)=>{const _={};u.type==="text"?_[v]=`${S}`:_[a]=`="${v}"`,d.push(_)};return Object.entries(u.state).filter(([,v])=>v).forEach(([v,S])=>m(v,S)),d.length>0&&l.push({[p]:d}),l},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...n]},a=ap.search(l);i=r.enableHighlighting?v0(a,"highlight",r.titleProperty):a.map(u=>u.item)}const o=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[a,u])=>(l[a]={min:u.state.min,max:u.state.max,format:u.format},l),{});if(Object.keys(o).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const[p,d]of Object.entries(o)){const m=v=>d.format==="date"?Wn(v).unix():v;Object.prototype.hasOwnProperty.call(i[a],p)?Array.isArray(i[a][p])?u[p]=o[p].min<=m(i[a][p][1])&&m(i[a][p][0])<=o[p].max:m(i[a][p])>=o[p].min&&m(i[a][p])<=o[p].max?u[p]=!0:u[p]=!1:u[p]=!0}Object.values(u).every(p=>!!p)&&l.push(i[a])}i=[...l]}const s=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[a,u])=>(l[a]={geometry:u.state.geometry,mode:u.state.mode},l),{});if(Object.values(s).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let a=0;a<i.length;a++){const u={};for(const p of Object.keys(s)){const d=s[p].mode||"within";Object.prototype.hasOwnProperty.call(i[a],p)&&(d==="within"?y0(i[a][p],s[p].geometry):g0(i[a][p],s[p].geometry))?u[p]=!0:u[p]=!1}Object.values(u).every(p=>!!p)&&l.push(i[a])}i=[...l]}return i};function $0(t,e){return[{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}}]},{type:"Tile",source:{type:"XYZ",url:"https://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Qi(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 lp(t,e){return t*2+e}function x0(t){return Object.keys(t).map(e=>({title:Z`${t[e].title}:
508
- <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function pa(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function S0(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}function cp(t,e,r){let n;if(t.detail?n=t.detail.target:n=t.target,n!=null&&n.classList.contains("details-filter")){if(!n.open||e!=null&&e.expandMultipleFilters)return;r.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(i=>{const o=i.shadowRoot.querySelector(".details-filter");o&&o!==n&&o.removeAttribute("open")})}else{if(!(n!=null&&n.open)||e!=null&&e.expandMultipleResults)return;r.querySelectorAll("details").forEach(i=>{i!==n&&i.removeAttribute("open")})}}class A0 extends it{constructor(){super();nt(this,xe);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=pe(this,xe,jp).bind(this),this._handleKeyDown=pe(this,xe,Qa).bind(this)}static get properties(){return{filterProperties:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},unstyled:{type:Boolean},filters:{state:!0,type:Object}}}set showDropdown(r){this.renderRoot.querySelector("[popover]").togglePopover(r)}get showDropdown(){var r;return(r=this.renderRoot.querySelector("[popover]"))==null?void 0:r.matches(":popover-open")}connectedCallback(){super.connectedCallback(),this.inlineMode&&pe(this,xe,Xa).call(this)}disconnectedCallback(){this.inlineMode&&pe(this,xe,Za).call(this),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}updated(r){r.has("inlineMode")&&(this.inlineMode?pe(this,xe,Xa).call(this):pe(this,xe,Za).call(this))}render(){return Z`
509
+ `}}Or=new WeakSet,ua=function(n){this.dispatchEvent(new CustomEvent("details-toggled",{detail:n,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",za);function bt(t){return Array.isArray?Array.isArray(t):Gs(t)==="[object Array]"}const qa=1/0;function Wa(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-qa?"-0":e}function Va(t){return t==null?"":Wa(t)}function ut(t){return typeof t=="string"}function Vs(t){return typeof t=="number"}function Ka(t){return t===!0||t===!1||Ga(t)&&Gs(t)=="[object Boolean]"}function Ks(t){return typeof t=="object"}function Ga(t){return Ks(t)&&t!==null}function Je(t){return t!=null}function gi(t){return!t.trim().length}function Gs(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const Fh="Extended search is not available",Ya="Incorrect 'index' type",Fa=t=>`Invalid value for key ${t}`,Za=t=>`Pattern length exceeds max of ${t}.`,Xa=t=>`Missing ${t} property in key`,Ja=t=>`Property 'weight' in key '${t}' must be a positive integer`,Ys=Object.prototype.hasOwnProperty;class Qa{constructor(e){this._keys=[],this._keyMap={};let n=0;e.forEach(r=>{let i=Fs(r);this._keys.push(i),this._keyMap[i.id]=i,n+=i.weight}),this._keys.forEach(r=>{r.weight/=n})}get(e){return this._keyMap[e]}keys(){return this._keys}toJSON(){return JSON.stringify(this._keys)}}function Fs(t){let e=null,n=null,r=null,i=1,s=null;if(ut(t)||bt(t))r=t,e=Zs(t),n=yi(t);else{if(!Ys.call(t,"name"))throw new Error(Xa("name"));const o=t.name;if(r=o,Ys.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Ja(o));e=Zs(o),n=yi(o),s=t.getFn}return{path:e,id:n,weight:i,src:r,getFn:s}}function Zs(t){return bt(t)?t:t.split(".")}function yi(t){return bt(t)?t.join("."):t}function el(t,e){let n=[],r=!1;const i=(s,o,l)=>{if(Je(s))if(!o[l])n.push(s);else{let c=o[l];const h=s[c];if(!Je(h))return;if(l===o.length-1&&(ut(h)||Vs(h)||Ka(h)))n.push(Va(h));else if(bt(h)){r=!0;for(let p=0,y=h.length;p<y;p+=1)i(h[p],o,l+1)}else o.length&&i(h,o,l+1)}};return i(t,ut(e)?e.split("."):e,0),r?n:n[0]}var V={...{isCaseSensitive:!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:el,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const tl=/[^ ]+/g;function nl(t=1,e=3){const n=new Map,r=Math.pow(10,e);return{get(i){const s=i.match(tl).length;if(n.has(s))return n.get(s);const o=1/Math.pow(s,.5*t),l=parseFloat(Math.round(o*r)/r);return n.set(s,l),l},clear(){n.clear()}}}class bi{constructor({getFn:e=V.getFn,fieldNormWeight:n=V.fieldNormWeight}={}){this.norm=nl(n,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((n,r)=>{this._keysMap[n.id]=r})}create(){this.isCreated||!this.docs.length||(this.isCreated=!0,ut(this.docs[0])?this.docs.forEach((e,n)=>{this._addString(e,n)}):this.docs.forEach((e,n)=>{this._addObject(e,n)}),this.norm.clear())}add(e){const n=this.size();ut(e)?this._addString(e,n):this._addObject(e,n)}removeAt(e){this.records.splice(e,1);for(let n=e,r=this.size();n<r;n+=1)this.records[n].i-=1}getValueForItemAtKeyId(e,n){return e[this._keysMap[n]]}size(){return this.records.length}_addString(e,n){if(!Je(e)||gi(e))return;let r={v:e,i:n,n:this.norm.get(e)};this.records.push(r)}_addObject(e,n){let r={i:n,$:{}};this.keys.forEach((i,s)=>{let o=i.getFn?i.getFn(e):this.getFn(e,i.path);if(Je(o)){if(bt(o)){let l=[];const c=[{nestedArrIndex:-1,value:o}];for(;c.length;){const{nestedArrIndex:h,value:p}=c.pop();if(Je(p))if(ut(p)&&!gi(p)){let y={v:p,i:h,n:this.norm.get(p)};l.push(y)}else bt(p)&&p.forEach((y,w)=>{c.push({nestedArrIndex:w,value:y})})}r.$[s]=l}else if(ut(o)&&!gi(o)){let l={v:o,n:this.norm.get(o)};r.$[s]=l}}}),this.records.push(r)}toJSON(){return{keys:this.keys,records:this.records}}}function Xs(t,e,{getFn:n=V.getFn,fieldNormWeight:r=V.fieldNormWeight}={}){const i=new bi({getFn:n,fieldNormWeight:r});return i.setKeys(t.map(Fs)),i.setSources(e),i.create(),i}function rl(t,{getFn:e=V.getFn,fieldNormWeight:n=V.fieldNormWeight}={}){const{keys:r,records:i}=t,s=new bi({getFn:e,fieldNormWeight:n});return s.setKeys(r),s.setIndexRecords(i),s}function gr(t,{errors:e=0,currentLocation:n=0,expectedLocation:r=0,distance:i=V.distance,ignoreLocation:s=V.ignoreLocation}={}){const o=e/t.length;if(s)return o;const l=Math.abs(r-n);return i?o+l/i:l?1:o}function il(t=[],e=V.minMatchCharLength){let n=[],r=-1,i=-1,s=0;for(let o=t.length;s<o;s+=1){let l=t[s];l&&r===-1?r=s:!l&&r!==-1&&(i=s-1,i-r+1>=e&&n.push([r,i]),r=-1)}return t[s-1]&&s-r>=e&&n.push([r,s-1]),n}const Ut=32;function sl(t,e,n,{location:r=V.location,distance:i=V.distance,threshold:s=V.threshold,findAllMatches:o=V.findAllMatches,minMatchCharLength:l=V.minMatchCharLength,includeMatches:c=V.includeMatches,ignoreLocation:h=V.ignoreLocation}={}){if(e.length>Ut)throw new Error(Za(Ut));const p=e.length,y=t.length,w=Math.max(0,Math.min(r,y));let m=s,A=w;const E=l>1||c,z=E?Array(y):[];let H;for(;(H=t.indexOf(e,A))>-1;){let fe=gr(e,{currentLocation:H,expectedLocation:w,distance:i,ignoreLocation:h});if(m=Math.min(fe,m),A=H+p,E){let Ae=0;for(;Ae<p;)z[H+Ae]=1,Ae+=1}}A=-1;let Z=[],F=1,de=p+y;const te=1<<p-1;for(let fe=0;fe<p;fe+=1){let Ae=0,Ce=de;for(;Ae<Ce;)gr(e,{errors:fe,currentLocation:w+Ce,expectedLocation:w,distance:i,ignoreLocation:h})<=m?Ae=Ce:de=Ce,Ce=Math.floor((de-Ae)/2+Ae);de=Ce;let ye=Math.max(1,w-Ce+1),ie=o?y:Math.min(w+Ce,y)+p,Ge=Array(ie+2);Ge[ie+1]=(1<<fe)-1;for(let D=ie;D>=ye;D-=1){let S=D-1,M=n[t.charAt(S)];if(E&&(z[S]=+!!M),Ge[D]=(Ge[D+1]<<1|1)&M,fe&&(Ge[D]|=(Z[D+1]|Z[D])<<1|1|Z[D+1]),Ge[D]&te&&(F=gr(e,{errors:fe,currentLocation:S,expectedLocation:w,distance:i,ignoreLocation:h}),F<=m)){if(m=F,A=S,A<=w)break;ye=Math.max(1,2*w-A)}}if(gr(e,{errors:fe+1,currentLocation:w,expectedLocation:w,distance:i,ignoreLocation:h})>m)break;Z=Ge}const X={isMatch:A>=0,score:Math.max(.001,F)};if(E){const fe=il(z,l);fe.length?c&&(X.indices=fe):X.isMatch=!1}return X}function ol(t){let e={};for(let n=0,r=t.length;n<r;n+=1){const i=t.charAt(n);e[i]=(e[i]||0)|1<<r-n-1}return e}class Js{constructor(e,{location:n=V.location,threshold:r=V.threshold,distance:i=V.distance,includeMatches:s=V.includeMatches,findAllMatches:o=V.findAllMatches,minMatchCharLength:l=V.minMatchCharLength,isCaseSensitive:c=V.isCaseSensitive,ignoreLocation:h=V.ignoreLocation}={}){if(this.options={location:n,threshold:r,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:h},this.pattern=c?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const p=(w,m)=>{this.chunks.push({pattern:w,alphabet:ol(w),startIndex:m})},y=this.pattern.length;if(y>Ut){let w=0;const m=y%Ut,A=y-m;for(;w<A;)p(this.pattern.substr(w,Ut),w),w+=Ut;if(m){const E=y-Ut;p(this.pattern.substr(E),E)}}else p(this.pattern,0)}searchIn(e){const{isCaseSensitive:n,includeMatches:r}=this.options;if(n||(e=e.toLowerCase()),this.pattern===e){let A={isMatch:!0,score:0};return r&&(A.indices=[[0,e.length-1]]),A}const{location:i,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:c,ignoreLocation:h}=this.options;let p=[],y=0,w=!1;this.chunks.forEach(({pattern:A,alphabet:E,startIndex:z})=>{const{isMatch:H,score:Z,indices:F}=sl(e,A,E,{location:i+z,distance:s,threshold:o,findAllMatches:l,minMatchCharLength:c,includeMatches:r,ignoreLocation:h});H&&(w=!0),y+=Z,H&&F&&(p=[...p,...F])});let m={isMatch:w,score:w?y/this.chunks.length:1};return w&&r&&(m.indices=p),m}}class Et{constructor(e){this.pattern=e}static isMultiMatch(e){return Qs(e,this.multiRegex)}static isSingleMatch(e){return Qs(e,this.singleRegex)}search(){}}function Qs(t,e){const n=t.match(e);return n?n[1]:null}class al extends Et{constructor(e){super(e)}static get type(){return"exact"}static get multiRegex(){return/^="(.*)"$/}static get singleRegex(){return/^=(.*)$/}search(e){const n=e===this.pattern;return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ll extends Et{constructor(e){super(e)}static get type(){return"inverse-exact"}static get multiRegex(){return/^!"(.*)"$/}static get singleRegex(){return/^!(.*)$/}search(e){const r=e.indexOf(this.pattern)===-1;return{isMatch:r,score:r?0:1,indices:[0,e.length-1]}}}class cl extends Et{constructor(e){super(e)}static get type(){return"prefix-exact"}static get multiRegex(){return/^\^"(.*)"$/}static get singleRegex(){return/^\^(.*)$/}search(e){const n=e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,this.pattern.length-1]}}}class ul extends Et{constructor(e){super(e)}static get type(){return"inverse-prefix-exact"}static get multiRegex(){return/^!\^"(.*)"$/}static get singleRegex(){return/^!\^(.*)$/}search(e){const n=!e.startsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class hl extends Et{constructor(e){super(e)}static get type(){return"suffix-exact"}static get multiRegex(){return/^"(.*)"\$$/}static get singleRegex(){return/^(.*)\$$/}search(e){const n=e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[e.length-this.pattern.length,e.length-1]}}}class dl extends Et{constructor(e){super(e)}static get type(){return"inverse-suffix-exact"}static get multiRegex(){return/^!"(.*)"\$$/}static get singleRegex(){return/^!(.*)\$$/}search(e){const n=!e.endsWith(this.pattern);return{isMatch:n,score:n?0:1,indices:[0,e.length-1]}}}class eo extends Et{constructor(e,{location:n=V.location,threshold:r=V.threshold,distance:i=V.distance,includeMatches:s=V.includeMatches,findAllMatches:o=V.findAllMatches,minMatchCharLength:l=V.minMatchCharLength,isCaseSensitive:c=V.isCaseSensitive,ignoreLocation:h=V.ignoreLocation}={}){super(e),this._bitapSearch=new Js(e,{location:n,threshold:r,distance:i,includeMatches:s,findAllMatches:o,minMatchCharLength:l,isCaseSensitive:c,ignoreLocation:h})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class to extends Et{constructor(e){super(e)}static get type(){return"include"}static get multiRegex(){return/^'"(.*)"$/}static get singleRegex(){return/^'(.*)$/}search(e){let n=0,r;const i=[],s=this.pattern.length;for(;(r=e.indexOf(this.pattern,n))>-1;)n=r+s,i.push([r,n-1]);const o=!!i.length;return{isMatch:o,score:o?0:1,indices:i}}}const mi=[al,to,cl,ul,dl,hl,ll,eo],no=mi.length,fl=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,pl="|";function gl(t,e={}){return t.split(pl).map(n=>{let r=n.trim().split(fl).filter(s=>s&&!!s.trim()),i=[];for(let s=0,o=r.length;s<o;s+=1){const l=r[s];let c=!1,h=-1;for(;!c&&++h<no;){const p=mi[h];let y=p.isMultiMatch(l);y&&(i.push(new p(y,e)),c=!0)}if(!c)for(h=-1;++h<no;){const p=mi[h];let y=p.isSingleMatch(l);if(y){i.push(new p(y,e));break}}}return i})}const yl=new Set([eo.type,to.type]);class bl{constructor(e,{isCaseSensitive:n=V.isCaseSensitive,includeMatches:r=V.includeMatches,minMatchCharLength:i=V.minMatchCharLength,ignoreLocation:s=V.ignoreLocation,findAllMatches:o=V.findAllMatches,location:l=V.location,threshold:c=V.threshold,distance:h=V.distance}={}){this.query=null,this.options={isCaseSensitive:n,includeMatches:r,minMatchCharLength:i,findAllMatches:o,ignoreLocation:s,location:l,threshold:c,distance:h},this.pattern=n?e:e.toLowerCase(),this.query=gl(this.pattern,this.options)}static condition(e,n){return n.useExtendedSearch}searchIn(e){const n=this.query;if(!n)return{isMatch:!1,score:1};const{includeMatches:r,isCaseSensitive:i}=this.options;e=i?e:e.toLowerCase();let s=0,o=[],l=0;for(let c=0,h=n.length;c<h;c+=1){const p=n[c];o.length=0,s=0;for(let y=0,w=p.length;y<w;y+=1){const m=p[y],{isMatch:A,indices:E,score:z}=m.search(e);if(A){if(s+=1,l+=z,r){const H=m.constructor.type;yl.has(H)?o=[...o,...E]:o.push(E)}}else{l=0,s=0,o.length=0;break}}if(s){let y={isMatch:!0,score:l/s};return r&&(y.indices=o),y}}return{isMatch:!1,score:1}}}const vi=[];function ml(...t){vi.push(...t)}function wi(t,e){for(let n=0,r=vi.length;n<r;n+=1){let i=vi[n];if(i.condition(t,e))return new i(t,e)}return new Js(t,e)}const yr={AND:"$and",OR:"$or"},xi={PATH:"$path",PATTERN:"$val"},$i=t=>!!(t[yr.AND]||t[yr.OR]),vl=t=>!!t[xi.PATH],wl=t=>!bt(t)&&Ks(t)&&!$i(t),ro=t=>({[yr.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function io(t,e,{auto:n=!0}={}){const r=i=>{let s=Object.keys(i);const o=vl(i);if(!o&&s.length>1&&!$i(i))return r(ro(i));if(wl(i)){const c=o?i[xi.PATH]:s[0],h=o?i[xi.PATTERN]:i[c];if(!ut(h))throw new Error(Fa(c));const p={keyId:yi(c),pattern:h};return n&&(p.searcher=wi(h,e)),p}let l={children:[],operator:s[0]};return s.forEach(c=>{const h=i[c];bt(h)&&h.forEach(p=>{l.children.push(r(p))})}),l};return $i(t)||(t=ro(t)),r(t)}function xl(t,{ignoreFieldNorm:e=V.ignoreFieldNorm}){t.forEach(n=>{let r=1;n.matches.forEach(({key:i,norm:s,score:o})=>{const l=i?i.weight:null;r*=Math.pow(o===0&&l?Number.EPSILON:o,(l||1)*(e?1:s))}),n.score=r})}function $l(t,e){const n=t.matches;e.matches=[],Je(n)&&n.forEach(r=>{if(!Je(r.indices)||!r.indices.length)return;const{indices:i,value:s}=r;let o={indices:i,value:s};r.key&&(o.key=r.key.src),r.idx>-1&&(o.refIndex=r.idx),e.matches.push(o)})}function _l(t,e){e.score=t.score}function Al(t,e,{includeMatches:n=V.includeMatches,includeScore:r=V.includeScore}={}){const i=[];return n&&i.push($l),r&&i.push(_l),t.map(s=>{const{idx:o}=s,l={item:e[o],refIndex:o};return i.length&&i.forEach(c=>{c(s,l)}),l})}class Ct{constructor(e,n={},r){this.options={...V,...n},this.options.useExtendedSearch,this._keyStore=new Qa(this.options.keys),this.setCollection(e,r)}setCollection(e,n){if(this._docs=e,n&&!(n instanceof bi))throw new Error(Ya);this._myIndex=n||Xs(this.options.keys,this._docs,{getFn:this.options.getFn,fieldNormWeight:this.options.fieldNormWeight})}add(e){Je(e)&&(this._docs.push(e),this._myIndex.add(e))}remove(e=()=>!1){const n=[];for(let r=0,i=this._docs.length;r<i;r+=1){const s=this._docs[r];e(s,r)&&(this.removeAt(r),r-=1,i-=1,n.push(s))}return n}removeAt(e){this._docs.splice(e,1),this._myIndex.removeAt(e)}getIndex(){return this._myIndex}search(e,{limit:n=-1}={}){const{includeMatches:r,includeScore:i,shouldSort:s,sortFn:o,ignoreFieldNorm:l}=this.options;let c=ut(e)?ut(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return xl(c,{ignoreFieldNorm:l}),s&&c.sort(o),Vs(n)&&n>-1&&(c=c.slice(0,n)),Al(c,this._docs,{includeMatches:r,includeScore:i})}_searchStringList(e){const n=wi(e,this.options),{records:r}=this._myIndex,i=[];return r.forEach(({v:s,i:o,n:l})=>{if(!Je(s))return;const{isMatch:c,score:h,indices:p}=n.searchIn(s);c&&i.push({item:s,idx:o,matches:[{score:h,value:s,norm:l,indices:p}]})}),i}_searchLogical(e){const n=io(e,this.options),r=(l,c,h)=>{if(!l.children){const{keyId:y,searcher:w}=l,m=this._findMatches({key:this._keyStore.get(y),value:this._myIndex.getValueForItemAtKeyId(c,y),searcher:w});return m&&m.length?[{idx:h,item:c,matches:m}]:[]}const p=[];for(let y=0,w=l.children.length;y<w;y+=1){const m=l.children[y],A=r(m,c,h);if(A.length)p.push(...A);else if(l.operator===yr.AND)return[]}return p},i=this._myIndex.records,s={},o=[];return i.forEach(({$:l,i:c})=>{if(Je(l)){let h=r(n,l,c);h.length&&(s[c]||(s[c]={idx:c,item:l,matches:[]},o.push(s[c])),h.forEach(({matches:p})=>{s[c].matches.push(...p)}))}}),o}_searchObjectList(e){const n=wi(e,this.options),{keys:r,records:i}=this._myIndex,s=[];return i.forEach(({$:o,i:l})=>{if(!Je(o))return;let c=[];r.forEach((h,p)=>{c.push(...this._findMatches({key:h,value:o[p],searcher:n}))}),c.length&&s.push({idx:l,item:o,matches:c})}),s}_findMatches({key:e,value:n,searcher:r}){if(!Je(n))return[];let i=[];if(bt(n))n.forEach(({v:s,i:o,n:l})=>{if(!Je(s))return;const{isMatch:c,score:h,indices:p}=r.searchIn(s);c&&i.push({score:h,key:e,value:s,idx:o,norm:l,indices:p})});else{const{v:s,n:o}=n,{isMatch:l,score:c,indices:h}=r.searchIn(s);l&&i.push({score:c,key:e,value:s,norm:o,indices:h})}return i}}Ct.version="7.0.0",Ct.createIndex=Xs,Ct.parseIndex=rl,Ct.config=V,Ct.parseQuery=io,ml(bl);function so(t,e){const n=new Ct(e.filterProperties,{keys:["title"]}),r=t.target.value,s=n.search(r).map(o=>o.item.key||o.item.keys.join("|"));Object.keys(e.filters).forEach(o=>{e.querySelector(`[data-details="${o}"]`).parentElement.style.display=s.includes(o)||!r?"":"none"})}function Ml(t,e){const n=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${n}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}const _i=Math.min,ln=Math.max,br=Math.round,mr=Math.floor,kt=t=>({x:t,y:t});function oo(t){return t.split("-")[0]}function Sl(t){return t.split("-")[1]}function El(t){return t==="x"?"y":"x"}function Cl(t){return t==="y"?"height":"width"}function ao(t){return["top","bottom"].includes(oo(t))?"y":"x"}function kl(t){return El(ao(t))}function lo(t){const{x:e,y:n,width:r,height:i}=t;return{width:r,height:i,top:n,left:e,right:e+r,bottom:n+i,x:e,y:n}}function co(t,e,n){let{reference:r,floating:i}=t;const s=ao(e),o=kl(e),l=Cl(o),c=oo(e),h=s==="y",p=r.x+r.width/2-i.width/2,y=r.y+r.height/2-i.height/2,w=r[l]/2-i[l]/2;let m;switch(c){case"top":m={x:p,y:r.y-i.height};break;case"bottom":m={x:p,y:r.y+r.height};break;case"right":m={x:r.x+r.width,y};break;case"left":m={x:r.x-i.width,y};break;default:m={x:r.x,y:r.y}}switch(Sl(e)){case"start":m[o]-=w*(n&&h?-1:1);break;case"end":m[o]+=w*(n&&h?-1:1);break}return m}const Ll=async(t,e,n)=>{const{placement:r="bottom",strategy:i="absolute",middleware:s=[],platform:o}=n,l=s.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(e));let h=await o.getElementRects({reference:t,floating:e,strategy:i}),{x:p,y}=co(h,r,c),w=r,m={},A=0;for(let E=0;E<l.length;E++){const{name:z,fn:H}=l[E],{x:Z,y:F,data:de,reset:te}=await H({x:p,y,initialPlacement:r,placement:w,strategy:i,middlewareData:m,rects:h,platform:o,elements:{reference:t,floating:e}});p=Z??p,y=F??y,m={...m,[z]:{...m[z],...de}},te&&A<=50&&(A++,typeof te=="object"&&(te.placement&&(w=te.placement),te.rects&&(h=te.rects===!0?await o.getElementRects({reference:t,floating:e,strategy:i}):te.rects),{x:p,y}=co(h,w,c)),E=-1)}return{x:p,y,placement:w,strategy:i,middlewareData:m}};function cn(t){return uo(t)?(t.nodeName||"").toLowerCase():"#document"}function Qe(t){var e;return(t==null||(e=t.ownerDocument)==null?void 0:e.defaultView)||window}function mt(t){var e;return(e=(uo(t)?t.ownerDocument:t.document)||window.document)==null?void 0:e.documentElement}function uo(t){return t instanceof Node||t instanceof Qe(t).Node}function ot(t){return t instanceof Element||t instanceof Qe(t).Element}function ht(t){return t instanceof HTMLElement||t instanceof Qe(t).HTMLElement}function ho(t){return typeof ShadowRoot>"u"?!1:t instanceof ShadowRoot||t instanceof Qe(t).ShadowRoot}function zn(t){const{overflow:e,overflowX:n,overflowY:r,display:i}=at(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+n)&&!["inline","contents"].includes(i)}function Pl(t){return["table","td","th"].includes(cn(t))}function vr(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch{return!1}})}function Ai(t){const e=Mi(),n=ot(t)?at(t):t;return n.transform!=="none"||n.perspective!=="none"||(n.containerType?n.containerType!=="normal":!1)||!e&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!e&&(n.filter?n.filter!=="none":!1)||["transform","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function Tl(t){let e=Lt(t);for(;ht(e)&&!un(e);){if(Ai(e))return e;if(vr(e))return null;e=Lt(e)}return null}function Mi(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function un(t){return["html","body","#document"].includes(cn(t))}function at(t){return Qe(t).getComputedStyle(t)}function wr(t){return ot(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Lt(t){if(cn(t)==="html")return t;const e=t.assignedSlot||t.parentNode||ho(t)&&t.host||mt(t);return ho(e)?e.host:e}function fo(t){const e=Lt(t);return un(e)?t.ownerDocument?t.ownerDocument.body:t.body:ht(e)&&zn(e)?e:fo(e)}function qn(t,e,n){var r;e===void 0&&(e=[]),n===void 0&&(n=!0);const i=fo(t),s=i===((r=t.ownerDocument)==null?void 0:r.body),o=Qe(i);if(s){const l=Si(o);return e.concat(o,o.visualViewport||[],zn(i)?i:[],l&&n?qn(l):[])}return e.concat(i,qn(i,[],n))}function Si(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function po(t){const e=at(t);let n=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const i=ht(t),s=i?t.offsetWidth:n,o=i?t.offsetHeight:r,l=br(n)!==s||br(r)!==o;return l&&(n=s,r=o),{width:n,height:r,$:l}}function Ei(t){return ot(t)?t:t.contextElement}function hn(t){const e=Ei(t);if(!ht(e))return kt(1);const n=e.getBoundingClientRect(),{width:r,height:i,$:s}=po(e);let o=(s?br(n.width):n.width)/r,l=(s?br(n.height):n.height)/i;return(!o||!Number.isFinite(o))&&(o=1),(!l||!Number.isFinite(l))&&(l=1),{x:o,y:l}}const Rl=kt(0);function go(t){const e=Qe(t);return!Mi()||!e.visualViewport?Rl:{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}}function Ol(t,e,n){return e===void 0&&(e=!1),!n||e&&n!==Qe(t)?!1:e}function zt(t,e,n,r){e===void 0&&(e=!1),n===void 0&&(n=!1);const i=t.getBoundingClientRect(),s=Ei(t);let o=kt(1);e&&(r?ot(r)&&(o=hn(r)):o=hn(t));const l=Ol(s,n,r)?go(s):kt(0);let c=(i.left+l.x)/o.x,h=(i.top+l.y)/o.y,p=i.width/o.x,y=i.height/o.y;if(s){const w=Qe(s),m=r&&ot(r)?Qe(r):r;let A=w,E=Si(A);for(;E&&r&&m!==A;){const z=hn(E),H=E.getBoundingClientRect(),Z=at(E),F=H.left+(E.clientLeft+parseFloat(Z.paddingLeft))*z.x,de=H.top+(E.clientTop+parseFloat(Z.paddingTop))*z.y;c*=z.x,h*=z.y,p*=z.x,y*=z.y,c+=F,h+=de,A=Qe(E),E=Si(A)}}return lo({width:p,height:y,x:c,y:h})}function Dl(t){let{elements:e,rect:n,offsetParent:r,strategy:i}=t;const s=i==="fixed",o=mt(r),l=e?vr(e.floating):!1;if(r===o||l&&s)return n;let c={scrollLeft:0,scrollTop:0},h=kt(1);const p=kt(0),y=ht(r);if((y||!y&&!s)&&((cn(r)!=="body"||zn(o))&&(c=wr(r)),ht(r))){const w=zt(r);h=hn(r),p.x=w.x+r.clientLeft,p.y=w.y+r.clientTop}return{width:n.width*h.x,height:n.height*h.y,x:n.x*h.x-c.scrollLeft*h.x+p.x,y:n.y*h.y-c.scrollTop*h.y+p.y}}function jl(t){return Array.from(t.getClientRects())}function yo(t){return zt(mt(t)).left+wr(t).scrollLeft}function Nl(t){const e=mt(t),n=wr(t),r=t.ownerDocument.body,i=ln(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),s=ln(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+yo(t);const l=-n.scrollTop;return at(r).direction==="rtl"&&(o+=ln(e.clientWidth,r.clientWidth)-i),{width:i,height:s,x:o,y:l}}function Hl(t,e){const n=Qe(t),r=mt(t),i=n.visualViewport;let s=r.clientWidth,o=r.clientHeight,l=0,c=0;if(i){s=i.width,o=i.height;const h=Mi();(!h||h&&e==="fixed")&&(l=i.offsetLeft,c=i.offsetTop)}return{width:s,height:o,x:l,y:c}}function Il(t,e){const n=zt(t,!0,e==="fixed"),r=n.top+t.clientTop,i=n.left+t.clientLeft,s=ht(t)?hn(t):kt(1),o=t.clientWidth*s.x,l=t.clientHeight*s.y,c=i*s.x,h=r*s.y;return{width:o,height:l,x:c,y:h}}function bo(t,e,n){let r;if(e==="viewport")r=Hl(t,n);else if(e==="document")r=Nl(mt(t));else if(ot(e))r=Il(e,n);else{const i=go(t);r={...e,x:e.x-i.x,y:e.y-i.y}}return lo(r)}function mo(t,e){const n=Lt(t);return n===e||!ot(n)||un(n)?!1:at(n).position==="fixed"||mo(n,e)}function Bl(t,e){const n=e.get(t);if(n)return n;let r=qn(t,[],!1).filter(l=>ot(l)&&cn(l)!=="body"),i=null;const s=at(t).position==="fixed";let o=s?Lt(t):t;for(;ot(o)&&!un(o);){const l=at(o),c=Ai(o);!c&&l.position==="fixed"&&(i=null),(s?!c&&!i:!c&&l.position==="static"&&!!i&&["absolute","fixed"].includes(i.position)||zn(o)&&!c&&mo(t,o))?r=r.filter(p=>p!==o):i=l,o=Lt(o)}return e.set(t,r),r}function Ul(t){let{element:e,boundary:n,rootBoundary:r,strategy:i}=t;const o=[...n==="clippingAncestors"?vr(e)?[]:Bl(e,this._c):[].concat(n),r],l=o[0],c=o.reduce((h,p)=>{const y=bo(e,p,i);return h.top=ln(y.top,h.top),h.right=_i(y.right,h.right),h.bottom=_i(y.bottom,h.bottom),h.left=ln(y.left,h.left),h},bo(e,l,i));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function zl(t){const{width:e,height:n}=po(t);return{width:e,height:n}}function ql(t,e,n){const r=ht(e),i=mt(e),s=n==="fixed",o=zt(t,!0,s,e);let l={scrollLeft:0,scrollTop:0};const c=kt(0);if(r||!r&&!s)if((cn(e)!=="body"||zn(i))&&(l=wr(e)),r){const y=zt(e,!0,s,e);c.x=y.x+e.clientLeft,c.y=y.y+e.clientTop}else i&&(c.x=yo(i));const h=o.left+l.scrollLeft-c.x,p=o.top+l.scrollTop-c.y;return{x:h,y:p,width:o.width,height:o.height}}function Ci(t){return at(t).position==="static"}function vo(t,e){return!ht(t)||at(t).position==="fixed"?null:e?e(t):t.offsetParent}function wo(t,e){const n=Qe(t);if(vr(t))return n;if(!ht(t)){let i=Lt(t);for(;i&&!un(i);){if(ot(i)&&!Ci(i))return i;i=Lt(i)}return n}let r=vo(t,e);for(;r&&Pl(r)&&Ci(r);)r=vo(r,e);return r&&un(r)&&Ci(r)&&!Ai(r)?n:r||Tl(t)||n}const Wl=async function(t){const e=this.getOffsetParent||wo,n=this.getDimensions,r=await n(t.floating);return{reference:ql(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function Vl(t){return at(t).direction==="rtl"}const Kl={convertOffsetParentRelativeRectToViewportRelativeRect:Dl,getDocumentElement:mt,getClippingRect:Ul,getOffsetParent:wo,getElementRects:Wl,getClientRects:jl,getDimensions:zl,getScale:hn,isElement:ot,isRTL:Vl};function Gl(t,e){let n=null,r;const i=mt(t);function s(){var l;clearTimeout(r),(l=n)==null||l.disconnect(),n=null}function o(l,c){l===void 0&&(l=!1),c===void 0&&(c=1),s();const{left:h,top:p,width:y,height:w}=t.getBoundingClientRect();if(l||e(),!y||!w)return;const m=mr(p),A=mr(i.clientWidth-(h+y)),E=mr(i.clientHeight-(p+w)),z=mr(h),Z={rootMargin:-m+"px "+-A+"px "+-E+"px "+-z+"px",threshold:ln(0,_i(1,c))||1};let F=!0;function de(te){const X=te[0].intersectionRatio;if(X!==c){if(!F)return o();X?o(!1,X):r=setTimeout(()=>{o(!1,1e-7)},1e3)}F=!1}try{n=new IntersectionObserver(de,{...Z,root:i.ownerDocument})}catch{n=new IntersectionObserver(de,Z)}n.observe(t)}return o(!0),s}function Yl(t,e,n,r){r===void 0&&(r={});const{ancestorScroll:i=!0,ancestorResize:s=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,h=Ei(t),p=i||s?[...h?qn(h):[],...qn(e)]:[];p.forEach(H=>{i&&H.addEventListener("scroll",n,{passive:!0}),s&&H.addEventListener("resize",n)});const y=h&&l?Gl(h,n):null;let w=-1,m=null;o&&(m=new ResizeObserver(H=>{let[Z]=H;Z&&Z.target===h&&m&&(m.unobserve(e),cancelAnimationFrame(w),w=requestAnimationFrame(()=>{var F;(F=m)==null||F.observe(e)})),n()}),h&&!c&&m.observe(h),m.observe(e));let A,E=c?zt(t):null;c&&z();function z(){const H=zt(t);E&&(H.x!==E.x||H.y!==E.y||H.width!==E.width||H.height!==E.height)&&n(),E=H,A=requestAnimationFrame(z)}return n(),()=>{var H;p.forEach(Z=>{i&&Z.removeEventListener("scroll",n),s&&Z.removeEventListener("resize",n)}),y==null||y(),(H=m)==null||H.disconnect(),m=null,c&&cancelAnimationFrame(A)}}const Fl=(t,e,n)=>{const r=new Map,i={platform:Kl,...n},s={...i.platform,_c:r};return Ll(t,e,{...i,platform:s})};function Zl(t){const e=t.renderRoot.querySelector(".inline-container-wrapper"),n=t.renderRoot.querySelector("[popover]");return Yl(e,n,()=>{n.matches(":popover-open")&&Fl(e,n,{strategy:"fixed"}).then(({x:i,y:s})=>{Object.assign(n.style,{left:`${i}px`,top:`${s}px`,width:`${e.getBoundingClientRect().width}px`})})},{animationFrame:!0})}function xo(t){t.renderRoot.querySelector("#eox-itemfilter-input-search").value="",so({target:{value:""}},t)}function Xl(t,e){e.inlineMode&&t.stopPropagation()}function Jl(t){t.inlineMode&&(t.showDropdown=!0)}function Ql(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0)}function ec(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(xo(e),e.showDropdown=!1)}function tc(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(xo(e),e.showDropdown=!1)}function nc(t,e){var n=0,r=0,i=0,s=0,o=0,l=0,c=0,h=0,p=null,y=null,w=t[0],m=t[1],A=e.length;for(n;n<A;n++){r=0;var E=e[n].length-1,z=e[n];if(p=z[0],p[0]!==z[E][0]&&p[1]!==z[E][1])throw new Error("First and last coordinates in a ring must be the same");for(o=p[0]-w,l=p[1]-m,r;r<E;r++){if(y=z[r+1],h=y[1]-m,l<0&&h<0||l>0&&h>0){p=y,l=h,o=p[0]-w;continue}if(c=y[0]-t[0],h>0&&l<=0){if(s=o*h-c*l,s>0)i=i+1;else if(s===0)return 0}else if(l>0&&h<=0){if(s=o*h-c*l,s<0)i=i+1;else if(s===0)return 0}else if(h===0&&l<0){if(s=o*h-c*l,s===0)return 0}else if(l===0&&h<0){if(s=o*h-c*l,s===0)return 0}else if(l===0&&h===0){if(c<=0&&o>=0)return 0;if(o<=0&&c>=0)return 0}p=y,l=h,o=c}}return i%2!==0}function qt(t,e,n={}){const r={type:"Feature"};return(n.id===0||n.id)&&(r.id=n.id),n.bbox&&(r.bbox=n.bbox),r.properties=e||{},r.geometry=t,r}function rc(t,e,n={}){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(!$o(t[0])||!$o(t[1]))throw new Error("coordinates must contain numbers");return qt({type:"Point",coordinates:t},e,n)}function ic(t,e,n={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return qt({type:"LineString",coordinates:t},e,n)}function ki(t,e={}){const n={type:"FeatureCollection"};return e.id&&(n.id=e.id),e.bbox&&(n.bbox=e.bbox),n.features=t,n}function sc(t,e,n={}){return qt({type:"MultiLineString",coordinates:t},e,n)}function $o(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}function _o(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 oc(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 dn(t){return t.type==="Feature"?t.geometry:t}function rt(t,e,n={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const r=_o(t),i=dn(e),s=i.type,o=e.bbox;let l=i.coordinates;if(o&&ac(r,o)===!1)return!1;s==="Polygon"&&(l=[l]);let c=!1;for(var h=0;h<l.length;++h){const p=nc(r,l[h]);if(p===0)return!n.ignoreBoundary;p&&(c=!0)}return c}function ac(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}class Ao{constructor(e=[],n=lc){if(this.data=e,this.length=this.data.length,this.compare=n,this.length>0)for(let r=(this.length>>1)-1;r>=0;r--)this._down(r)}push(e){this.data.push(e),this.length++,this._up(this.length-1)}pop(){if(this.length===0)return;const e=this.data[0],n=this.data.pop();return this.length--,this.length>0&&(this.data[0]=n,this._down(0)),e}peek(){return this.data[0]}_up(e){const{data:n,compare:r}=this,i=n[e];for(;e>0;){const s=e-1>>1,o=n[s];if(r(i,o)>=0)break;n[e]=o,e=s}n[e]=i}_down(e){const{data:n,compare:r}=this,i=this.length>>1,s=n[e];for(;e<i;){let o=(e<<1)+1,l=n[o];const c=o+1;if(c<this.length&&r(n[c],l)<0&&(o=c,l=n[c]),r(l,s)>=0)break;n[e]=l,e=o}n[e]=s}}function lc(t,e){return t<e?-1:t>e?1:0}function Mo(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 cc(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 So{constructor(e,n,r,i){this.p={x:e[0],y:e[1]},this.featureId=n,this.ringId=r,this.eventId=i,this.otherEvent=null,this.isLeftEndpoint=null}isSamePoint(e){return this.p.x===e.p.x&&this.p.y===e.p.y}}function uc(t,e){if(t.type==="FeatureCollection"){const n=t.features;for(let r=0;r<n.length;r++)Eo(n[r],e)}else Eo(t,e)}let xr=0,$r=0,_r=0;function Eo(t,e){const n=t.type==="Feature"?t.geometry:t;let r=n.coordinates;(n.type==="Polygon"||n.type==="MultiLineString")&&(r=[r]),n.type==="LineString"&&(r=[[r]]);for(let i=0;i<r.length;i++)for(let s=0;s<r[i].length;s++){let o=r[i][s][0],l=null;$r=$r+1;for(let c=0;c<r[i][s].length-1;c++){l=r[i][s][c+1];const h=new So(o,xr,$r,_r),p=new So(l,xr,$r,_r+1);h.otherEvent=p,p.otherEvent=h,Mo(h,p)>0?(p.isLeftEndpoint=!0,h.isLeftEndpoint=!1):(h.isLeftEndpoint=!0,p.isLeftEndpoint=!1),e.push(h),e.push(p),o=l,_r=_r+1}}xr=xr+1}class hc{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function dc(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 n=t.leftSweepEvent.p.x,r=t.leftSweepEvent.p.y,i=t.rightSweepEvent.p.x,s=t.rightSweepEvent.p.y,o=e.leftSweepEvent.p.x,l=e.leftSweepEvent.p.y,c=e.rightSweepEvent.p.x,h=e.rightSweepEvent.p.y,p=(h-l)*(i-n)-(c-o)*(s-r),y=(c-o)*(r-l)-(h-l)*(n-o),w=(i-n)*(r-l)-(s-r)*(n-o);if(p===0)return!1;const m=y/p,A=w/p;if(m>=0&&m<=1&&A>=0&&A<=1){const E=n+m*(i-n),z=r+m*(s-r);return[E,z]}return!1}function fc(t,e){e=e||!1;const n=[],r=new Ao([],cc);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const s=new hc(i);for(let o=0;o<r.data.length;o++){const l=r.data[o];if(e&&l.leftSweepEvent.featureId===i.featureId)continue;const c=dc(s,l);c!==!1&&n.push(c)}r.push(s)}else i.isLeftEndpoint===!1&&r.pop()}return n}function pc(t,e){const n=new Ao([],Mo);return uc(t,n),fc(n,e)}var gc=pc;function Li(t,e,n={}){const{removeDuplicates:r=!0,ignoreSelfIntersections:i=!1}=n;let s=[];t.type==="FeatureCollection"?s=s.concat(t.features):t.type==="Feature"?s.push(t):(t.type==="LineString"||t.type==="Polygon"||t.type==="MultiLineString"||t.type==="MultiPolygon")&&s.push(qt(t)),e.type==="FeatureCollection"?s=s.concat(e.features):e.type==="Feature"?s.push(e):(e.type==="LineString"||e.type==="Polygon"||e.type==="MultiLineString"||e.type==="MultiPolygon")&&s.push(qt(e));const o=gc(ki(s),i);let l=[];if(r){const c={};o.forEach(h=>{const p=h.join(",");c[p]||(c[p]=!0,l.push(h))})}else l=o;return ki(l.map(c=>rc(c)))}function Co(t,e,n){if(t!==null)for(var r,i,s,o,l,c,h,p=0,y=0,w,m=t.type,A=m==="FeatureCollection",E=m==="Feature",z=A?t.features.length:1,H=0;H<z;H++){h=A?t.features[H].geometry:E?t.geometry:t,w=h?h.type==="GeometryCollection":!1,l=w?h.geometries.length:1;for(var Z=0;Z<l;Z++){var F=0,de=0;if(o=w?h.geometries[Z]:h,o!==null){c=o.coordinates;var te=o.type;switch(p=0,te){case null:break;case"Point":if(e(c,y,H,F,de)===!1)return!1;y++,F++;break;case"LineString":case"MultiPoint":for(r=0;r<c.length;r++){if(e(c[r],y,H,F,de)===!1)return!1;y++,te==="MultiPoint"&&F++}te==="LineString"&&F++;break;case"Polygon":case"MultiLineString":for(r=0;r<c.length;r++){for(i=0;i<c[r].length-p;i++){if(e(c[r][i],y,H,F,de)===!1)return!1;y++}te==="MultiLineString"&&F++,te==="Polygon"&&de++}te==="Polygon"&&F++;break;case"MultiPolygon":for(r=0;r<c.length;r++){for(de=0,i=0;i<c[r].length;i++){for(s=0;s<c[r][i].length-p;s++){if(e(c[r][i][s],y,H,F,de)===!1)return!1;y++}de++}F++}break;case"GeometryCollection":for(r=0;r<o.geometries.length;r++)if(Co(o.geometries[r],e)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}function yc(t,e){var n,r,i,s,o,l,c,h,p,y,w=0,m=t.type==="FeatureCollection",A=t.type==="Feature",E=m?t.features.length:1;for(n=0;n<E;n++){for(l=m?t.features[n].geometry:A?t.geometry:t,h=m?t.features[n].properties:A?t.properties:{},p=m?t.features[n].bbox:A?t.bbox:void 0,y=m?t.features[n].id:A?t.id:void 0,c=l?l.type==="GeometryCollection":!1,o=c?l.geometries.length:1,i=0;i<o;i++){if(s=c?l.geometries[i]:l,s===null){if(e(null,w,h,p,y)===!1)return!1;continue}switch(s.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(s,w,h,p,y)===!1)return!1;break}case"GeometryCollection":{for(r=0;r<s.geometries.length;r++)if(e(s.geometries[r],w,h,p,y)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}w++}}function Ar(t,e){yc(t,function(n,r,i,s,o){var l=n===null?null:n.type;switch(l){case null:case"Point":case"LineString":case"Polygon":return e(qt(n,i,{bbox:s,id:o}),r,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 h=0;h<n.coordinates.length;h++){var p=n.coordinates[h],y={type:c,coordinates:p};if(e(qt(y,i),r,h)===!1)return!1}})}function Pi(t,e={}){const n=dn(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),n.type){case"Polygon":return bc(n,e);case"MultiPolygon":return mc(n,e);default:throw new Error("invalid poly")}}function bc(t,e={}){const r=dn(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return ko(r,i)}function mc(t,e={}){const r=dn(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},s=[];return r.forEach(o=>{s.push(ko(o,i))}),ki(s)}function ko(t,e){return t.length>1?sc(t,e):ic(t[0],e)}function vc(t,e,n={}){var r;const i=(r=n.ignoreSelfIntersections)!=null?r:!1;let s=!0;return Ar(t,o=>{Ar(e,l=>{if(s===!1)return!1;s=wc(o.geometry,l.geometry,i)})}),s}function wc(t,e,n){switch(t.type){case"Point":switch(e.type){case"Point":return!Ac(t.coordinates,e.coordinates);case"LineString":return!Lo(e,t);case"Polygon":return!rt(t,e)}break;case"LineString":switch(e.type){case"Point":return!Lo(t,e);case"LineString":return!xc(t,e,n);case"Polygon":return!Po(e,t,n)}break;case"Polygon":switch(e.type){case"Point":return!rt(e,t);case"LineString":return!Po(t,e,n);case"Polygon":return!$c(e,t,n)}}return!1}function Lo(t,e){for(let n=0;n<t.coordinates.length-1;n++)if(_c(t.coordinates[n],t.coordinates[n+1],e.coordinates))return!0;return!1}function xc(t,e,n){return Li(t,e,{ignoreSelfIntersections:n}).features.length>0}function Po(t,e,n){for(const i of e.coordinates)if(rt(i,t))return!0;return Li(e,Pi(t),{ignoreSelfIntersections:n}).features.length>0}function $c(t,e,n){for(const i of t.coordinates[0])if(rt(i,e))return!0;for(const i of e.coordinates[0])if(rt(i,t))return!0;return Li(Pi(t),Pi(e),{ignoreSelfIntersections:n}).features.length>0}function _c(t,e,n){const r=n[0]-t[0],i=n[1]-t[1],s=e[0]-t[0],o=e[1]-t[1];return r*o-i*s!==0?!1:Math.abs(s)>=Math.abs(o)?s>0?t[0]<=n[0]&&n[0]<=e[0]:e[0]<=n[0]&&n[0]<=t[0]:o>0?t[1]<=n[1]&&n[1]<=e[1]:e[1]<=n[1]&&n[1]<=t[1]}function Ac(t,e){return t[0]===e[0]&&t[1]===e[1]}function Mc(t,e,n={}){var r;const i=(r=n.ignoreSelfIntersections)!=null?r:!1;let s=!1;return Ar(t,o=>{Ar(e,l=>{if(s===!0)return!0;s=!vc(o.geometry,l.geometry,{ignoreSelfIntersections:i})})}),s}var Sc=Mc;function Mr(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const n=[1/0,1/0,-1/0,-1/0];return Co(t,r=>{n[0]>r[0]&&(n[0]=r[0]),n[1]>r[1]&&(n[1]=r[1]),n[2]<r[0]&&(n[2]=r[0]),n[3]<r[1]&&(n[3]=r[1])}),n}function Sr(t,e,n={}){const r=_o(t),i=oc(e);for(let s=0;s<i.length-1;s++){let o=!1;if(n.ignoreEndVertices&&(s===0&&(o="start"),s===i.length-2&&(o="end"),s===0&&s+1===i.length-1&&(o="both")),Ec(i[s],i[s+1],r,o,typeof n.epsilon>"u"?null:n.epsilon))return!0}return!1}function Ec(t,e,n,r,i){const s=n[0],o=n[1],l=t[0],c=t[1],h=e[0],p=e[1],y=n[0]-l,w=n[1]-c,m=h-l,A=p-c,E=y*A-w*m;if(i!==null){if(Math.abs(E)>i)return!1}else if(E!==0)return!1;if(r){if(r==="start")return Math.abs(m)>=Math.abs(A)?m>0?l<s&&s<=h:h<=s&&s<l:A>0?c<o&&o<=p:p<=o&&o<c;if(r==="end")return Math.abs(m)>=Math.abs(A)?m>0?l<=s&&s<h:h<s&&s<=l:A>0?c<=o&&o<p:p<o&&o<=c;if(r==="both")return Math.abs(m)>=Math.abs(A)?m>0?l<s&&s<h:h<s&&s<l:A>0?c<o&&o<p:p<o&&o<c}else return Math.abs(m)>=Math.abs(A)?m>0?l<=s&&s<=h:h<=s&&s<=l:A>0?c<=o&&o<=p:p<=o&&o<=c;return!1}function Cc(t,e){var n=dn(t),r=dn(e),i=n.type,s=r.type;switch(i){case"Point":switch(s){case"MultiPoint":return kc(n,r);case"LineString":return Sr(n,r,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return rt(n,r,{ignoreBoundary:!0});default:throw new Error("feature2 "+s+" geometry not supported")}case"MultiPoint":switch(s){case"MultiPoint":return Lc(n,r);case"LineString":return Pc(n,r);case"Polygon":case"MultiPolygon":return Tc(n,r);default:throw new Error("feature2 "+s+" geometry not supported")}case"LineString":switch(s){case"LineString":return Rc(n,r);case"Polygon":case"MultiPolygon":return Oc(n,r);default:throw new Error("feature2 "+s+" geometry not supported")}case"Polygon":switch(s){case"Polygon":case"MultiPolygon":return Dc(n,r);default:throw new Error("feature2 "+s+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}function kc(t,e){var n,r=!1;for(n=0;n<e.coordinates.length;n++)if(Ro(e.coordinates[n],t.coordinates)){r=!0;break}return r}function Lc(t,e){for(var n=0;n<t.coordinates.length;n++){for(var r=!1,i=0;i<e.coordinates.length;i++)Ro(t.coordinates[n],e.coordinates[i])&&(r=!0);if(!r)return!1}return!0}function Pc(t,e){for(var n=!1,r=0;r<t.coordinates.length;r++){if(!Sr(t.coordinates[r],e))return!1;n||(n=Sr(t.coordinates[r],e,{ignoreEndVertices:!0}))}return n}function Tc(t,e){for(var n=!0,r=!1,i=0;i<t.coordinates.length;i++){if(r=rt(t.coordinates[i],e),!r){n=!1;break}r=rt(t.coordinates[i],e,{ignoreBoundary:!0})}return n&&r}function Rc(t,e){for(var n=0;n<t.coordinates.length;n++)if(!Sr(t.coordinates[n],e))return!1;return!0}function Oc(t,e){var n=Mr(e),r=Mr(t);if(!To(n,r))return!1;for(var i=!1,s=0;s<t.coordinates.length;s++){if(!rt(t.coordinates[s],e))return!1;if(i||(i=rt(t.coordinates[s],e,{ignoreBoundary:!0})),!i&&s<t.coordinates.length-1){var o=jc(t.coordinates[s],t.coordinates[s+1]);i=rt(o,e,{ignoreBoundary:!0})}}return i}function Dc(t,e){var n=Mr(t),r=Mr(e);if(!To(r,n))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!rt(t.coordinates[0][i],e))return!1;return!0}function To(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}function Ro(t,e){return t[0]===e[0]&&t[1]===e[1]}function jc(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}var Nc=Cc;const Hc=(t,e)=>e?Sc(t,e):!0,Ic=(t,e)=>e?Nc(t,e):!0;function Bc(t,e="highlight",n="title"){const r=(s,o,l)=>{const c=o.split(".");let h;for(h=0;h<c.length-1;h++)s=s[c[h]];s[c[h]]=l},i=(s,o=[])=>{let l="",c=0;return o.forEach(h=>{const p=h[1]+1;l+=[s.substring(c,h[0]),`<mark class="${e}">`,s.substring(h[0],p),"</mark>"].join(""),c=p}),l+=s.substring(c),l};return t.filter(({matches:s})=>s&&s.length).map(({item:s,matches:o})=>{const l={...s};return o.forEach(c=>{c.key===n&&r(l,c.key,i(c.value,c.indices))}),l})}var et=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Er(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var Oo={exports:{}};(function(t,e){(function(n,r){t.exports=r()})(et,function(){var n=1e3,r=6e4,i=36e5,s="millisecond",o="second",l="minute",c="hour",h="day",p="week",y="month",w="quarter",m="year",A="date",E="Invalid Date",z=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,H=/\[([^\]]+)]|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,Z={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 S=["th","st","nd","rd"],M=D%100;return"["+D+(S[(M-20)%10]||S[M]||S[0])+"]"}},F=function(D,S,M){var j=String(D);return!j||j.length>=S?D:""+Array(S+1-j.length).join(M)+D},de={s:F,z:function(D){var S=-D.utcOffset(),M=Math.abs(S),j=Math.floor(M/60),k=M%60;return(S<=0?"+":"-")+F(j,2,"0")+":"+F(k,2,"0")},m:function D(S,M){if(S.date()<M.date())return-D(M,S);var j=12*(M.year()-S.year())+(M.month()-S.month()),k=S.clone().add(j,y),K=M-k<0,G=S.clone().add(j+(K?-1:1),y);return+(-(j+(M-k)/(K?k-G:G-k))||0)},a:function(D){return D<0?Math.ceil(D)||0:Math.floor(D)},p:function(D){return{M:y,y:m,w:p,d:h,D:A,h:c,m:l,s:o,ms:s,Q:w}[D]||String(D||"").toLowerCase().replace(/s$/,"")},u:function(D){return D===void 0}},te="en",X={};X[te]=Z;var fe="$isDayjsObject",Ae=function(D){return D instanceof Ge||!(!D||!D[fe])},Ce=function D(S,M,j){var k;if(!S)return te;if(typeof S=="string"){var K=S.toLowerCase();X[K]&&(k=K),M&&(X[K]=M,k=K);var G=S.split("-");if(!k&&G.length>1)return D(G[0])}else{var he=S.name;X[he]=S,k=he}return!j&&k&&(te=k),k||!j&&te},ye=function(D,S){if(Ae(D))return D.clone();var M=typeof S=="object"?S:{};return M.date=D,M.args=arguments,new Ge(M)},ie=de;ie.l=Ce,ie.i=Ae,ie.w=function(D,S){return ye(D,{locale:S.$L,utc:S.$u,x:S.$x,$offset:S.$offset})};var Ge=function(){function D(M){this.$L=Ce(M.locale,null,!0),this.parse(M),this.$x=this.$x||M.x||{},this[fe]=!0}var S=D.prototype;return S.parse=function(M){this.$d=function(j){var k=j.date,K=j.utc;if(k===null)return new Date(NaN);if(ie.u(k))return new Date;if(k instanceof Date)return new Date(k);if(typeof k=="string"&&!/Z$/i.test(k)){var G=k.match(z);if(G){var he=G[2]-1||0,$e=(G[7]||"0").substring(0,3);return K?new Date(Date.UTC(G[1],he,G[3]||1,G[4]||0,G[5]||0,G[6]||0,$e)):new Date(G[1],he,G[3]||1,G[4]||0,G[5]||0,G[6]||0,$e)}}return new Date(k)}(M),this.init()},S.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()},S.$utils=function(){return ie},S.isValid=function(){return this.$d.toString()!==E},S.isSame=function(M,j){var k=ye(M);return this.startOf(j)<=k&&k<=this.endOf(j)},S.isAfter=function(M,j){return ye(M)<this.startOf(j)},S.isBefore=function(M,j){return this.endOf(j)<ye(M)},S.$g=function(M,j,k){return ie.u(M)?this[j]:this.set(k,M)},S.unix=function(){return Math.floor(this.valueOf()/1e3)},S.valueOf=function(){return this.$d.getTime()},S.startOf=function(M,j){var k=this,K=!!ie.u(j)||j,G=ie.p(M),he=function(Te,ne){var Re=ie.w(k.$u?Date.UTC(k.$y,ne,Te):new Date(k.$y,ne,Te),k);return K?Re:Re.endOf(h)},$e=function(Te,ne){return ie.w(k.toDate()[Te].apply(k.toDate("s"),(K?[0,0,0,0]:[23,59,59,999]).slice(ne)),k)},Se=this.$W,ke=this.$M,Be=this.$D,Pe="set"+(this.$u?"UTC":"");switch(G){case m:return K?he(1,0):he(31,11);case y:return K?he(1,ke):he(0,ke+1);case p:var Ue=this.$locale().weekStart||0,se=(Se<Ue?Se+7:Se)-Ue;return he(K?Be-se:Be+(6-se),ke);case h:case A:return $e(Pe+"Hours",0);case c:return $e(Pe+"Minutes",1);case l:return $e(Pe+"Seconds",2);case o:return $e(Pe+"Milliseconds",3);default:return this.clone()}},S.endOf=function(M){return this.startOf(M,!1)},S.$set=function(M,j){var k,K=ie.p(M),G="set"+(this.$u?"UTC":""),he=(k={},k[h]=G+"Date",k[A]=G+"Date",k[y]=G+"Month",k[m]=G+"FullYear",k[c]=G+"Hours",k[l]=G+"Minutes",k[o]=G+"Seconds",k[s]=G+"Milliseconds",k)[K],$e=K===h?this.$D+(j-this.$W):j;if(K===y||K===m){var Se=this.clone().set(A,1);Se.$d[he]($e),Se.init(),this.$d=Se.set(A,Math.min(this.$D,Se.daysInMonth())).$d}else he&&this.$d[he]($e);return this.init(),this},S.set=function(M,j){return this.clone().$set(M,j)},S.get=function(M){return this[ie.p(M)]()},S.add=function(M,j){var k,K=this;M=Number(M);var G=ie.p(j),he=function(ke){var Be=ye(K);return ie.w(Be.date(Be.date()+Math.round(ke*M)),K)};if(G===y)return this.set(y,this.$M+M);if(G===m)return this.set(m,this.$y+M);if(G===h)return he(1);if(G===p)return he(7);var $e=(k={},k[l]=r,k[c]=i,k[o]=n,k)[G]||1,Se=this.$d.getTime()+M*$e;return ie.w(Se,this)},S.subtract=function(M,j){return this.add(-1*M,j)},S.format=function(M){var j=this,k=this.$locale();if(!this.isValid())return k.invalidDate||E;var K=M||"YYYY-MM-DDTHH:mm:ssZ",G=ie.z(this),he=this.$H,$e=this.$m,Se=this.$M,ke=k.weekdays,Be=k.months,Pe=k.meridiem,Ue=function(ne,Re,dt,_e){return ne&&(ne[Re]||ne(j,K))||dt[Re].slice(0,_e)},se=function(ne){return ie.s(he%12||12,ne,"0")},Te=Pe||function(ne,Re,dt){var _e=ne<12?"AM":"PM";return dt?_e.toLowerCase():_e};return K.replace(H,function(ne,Re){return Re||function(dt){switch(dt){case"YY":return String(j.$y).slice(-2);case"YYYY":return ie.s(j.$y,4,"0");case"M":return Se+1;case"MM":return ie.s(Se+1,2,"0");case"MMM":return Ue(k.monthsShort,Se,Be,3);case"MMMM":return Ue(Be,Se);case"D":return j.$D;case"DD":return ie.s(j.$D,2,"0");case"d":return String(j.$W);case"dd":return Ue(k.weekdaysMin,j.$W,ke,2);case"ddd":return Ue(k.weekdaysShort,j.$W,ke,3);case"dddd":return ke[j.$W];case"H":return String(he);case"HH":return ie.s(he,2,"0");case"h":return se(1);case"hh":return se(2);case"a":return Te(he,$e,!0);case"A":return Te(he,$e,!1);case"m":return String($e);case"mm":return ie.s($e,2,"0");case"s":return String(j.$s);case"ss":return ie.s(j.$s,2,"0");case"SSS":return ie.s(j.$ms,3,"0");case"Z":return G}return null}(ne)||G.replace(":","")})},S.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},S.diff=function(M,j,k){var K,G=this,he=ie.p(j),$e=ye(M),Se=($e.utcOffset()-this.utcOffset())*r,ke=this-$e,Be=function(){return ie.m(G,$e)};switch(he){case m:K=Be()/12;break;case y:K=Be();break;case w:K=Be()/3;break;case p:K=(ke-Se)/6048e5;break;case h:K=(ke-Se)/864e5;break;case c:K=ke/i;break;case l:K=ke/r;break;case o:K=ke/n;break;default:K=ke}return k?K:ie.a(K)},S.daysInMonth=function(){return this.endOf(y).$D},S.$locale=function(){return X[this.$L]},S.locale=function(M,j){if(!M)return this.$L;var k=this.clone(),K=Ce(M,j,!0);return K&&(k.$L=K),k},S.clone=function(){return ie.w(this.$d,this)},S.toDate=function(){return new Date(this.valueOf())},S.toJSON=function(){return this.isValid()?this.toISOString():null},S.toISOString=function(){return this.$d.toISOString()},S.toString=function(){return this.$d.toUTCString()},D}(),Ft=Ge.prototype;return ye.prototype=Ft,[["$ms",s],["$s",o],["$m",l],["$H",c],["$W",h],["$M",y],["$y",m],["$D",A]].forEach(function(D){Ft[D[1]]=function(S){return this.$g(S,D[0],D[1])}}),ye.extend=function(D,S){return D.$i||(D(S,Ge,ye),D.$i=!0),ye},ye.locale=Ce,ye.isDayjs=Ae,ye.unix=function(D){return ye(1e3*D)},ye.en=X[te],ye.Ls=X,ye.p={},ye})})(Oo);var Uc=Oo.exports;const Wn=Er(Uc);let Do;const zc=(t,e)=>{Do=new Ct(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},qc=async(t,e,n)=>{const r=Object.entries(e).filter(([,l])=>l.type==="text"||l.type==="select"||l.type==="multiselect").reduce((l,[c,h])=>{const p="$or",y=[],w=(m,A)=>{const E={};h.type==="text"?E[m]=`${A}`:E[c]=`="${m}"`,y.push(E)};return Object.entries(h.state).filter(([,m])=>m).forEach(([m,A])=>w(m,A)),y.length>0&&l.push({[p]:y}),l},[]);let i;if(!(r.length>0)&&n.matchAllWhenEmpty!==!1)i=t;else{const l={$and:[...r]},c=Do.search(l);i=n.enableHighlighting?Bc(c,"highlight",n.titleProperty):c.map(h=>h.item)}const s=Object.entries(e).filter(([,l])=>l.type==="range").reduce((l,[c,h])=>(l[c]={min:h.state.min,max:h.state.max,format:h.format},l),{});if(Object.keys(s).length>0){const l=[];for(let c=0;c<i.length;c++){const h={};for(const[p,y]of Object.entries(s)){const w=m=>y.format==="date"?Wn(m).unix():m;Object.prototype.hasOwnProperty.call(i[c],p)?Array.isArray(i[c][p])?h[p]=s[p].min<=w(i[c][p][1])&&w(i[c][p][0])<=s[p].max:w(i[c][p])>=s[p].min&&w(i[c][p])<=s[p].max?h[p]=!0:h[p]=!1:h[p]=!0}Object.values(h).every(p=>!!p)&&l.push(i[c])}i=[...l]}const o=Object.entries(e).filter(([,l])=>l.type==="spatial").reduce((l,[c,h])=>(l[c]={geometry:h.state.geometry,mode:h.state.mode},l),{});if(Object.values(o).map(l=>l.geometry).filter(l=>!!l).length>0){const l=[];for(let c=0;c<i.length;c++){const h={};for(const p of Object.keys(o)){const y=o[p].mode||"within";Object.prototype.hasOwnProperty.call(i[c],p)&&(y==="within"?Ic(i[c][p],o[p].geometry):Hc(i[c][p],o[p].geometry))?h[p]=!0:h[p]=!1}Object.values(h).every(p=>!!p)&&l.push(i[c])}i=[...l]}return i};function Wc(t,e){return[{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}}]},{type:"Tile",source:{type:"XYZ",url:"https://s2maps-tiles.eu/wmts/1.0.0/osm_3857/default/g/{z}/{y}/{x}.jpg",attribution:"{ OSM: Data &copy; OpenStreetMap contributors and others, Rendering &copy; EOX }"}}]}function Cr(t){if(!t.dirty)return null;switch(t.type){case"multiselect":for(const n in t.state)t.state.hasOwnProperty(n)&&(t.state[n]=!1);break;case"range":t.state.min=t.min,t.state.max=t.max;break;case"select":for(const n in t.state)t.state.hasOwnProperty(n)&&(t.state[n]=!1);break;case"spatial":t.state.geometry=void 0;break;case"text":t.keys.forEach(n=>{t.state[n]=void 0});break}return delete t.stringifiedState,delete t.dirty,t}function jo(t,e){return t*2+e}function Vc(t){return Object.keys(t).map(e=>({title:Y`${t[e].title}:
510
+ <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function Ti(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function Kc(t,e,n){return await(await fetch(`${n.externalFilter(t,e)}`)).json()}function No(t,e,n){let r;if(t.detail?r=t.detail.target:r=t.target,r!=null&&r.classList.contains("details-filter")){if(!r.open||e!=null&&e.expandMultipleFilters)return;n.shadowRoot.querySelectorAll("eox-itemfilter-expandcontainer").forEach(i=>{const s=i.shadowRoot.querySelector(".details-filter");s&&s!==r&&s.removeAttribute("open")})}else{if(!(r!=null&&r.open)||e!=null&&e.expandMultipleResults)return;n.querySelectorAll("details").forEach(i=>{i!==r&&i.removeAttribute("open")})}}class Gc extends Xe{constructor(){super();Ze(this,me);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.filters={},this._handleClickOutside=le(this,me,da).bind(this),this._handleKeyDown=le(this,me,vs).bind(this)}static get properties(){return{filterProperties:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},unstyled:{type:Boolean},filters:{state:!0,type:Object}}}set showDropdown(n){this.renderRoot.querySelector("[popover]").togglePopover(n)}get showDropdown(){var n;return(n=this.renderRoot.querySelector("[popover]"))==null?void 0:n.matches(":popover-open")}connectedCallback(){super.connectedCallback(),this.inlineMode&&le(this,me,bs).call(this)}disconnectedCallback(){this.inlineMode&&le(this,me,ms).call(this),super.disconnectedCallback()}_overlayCleanup(){}updateInline(){this.inlineMode&&this.requestUpdate()}updated(n){n.has("inlineMode")&&(this.inlineMode?le(this,me,bs).call(this):le(this,me,ms).call(this))}render(){return Y`
509
511
  <style>
510
- ${!this.unstyled&&Pn}
512
+ ${!this.unstyled&&Un}
511
513
  </style>
512
- ${this.inlineMode?Z`
514
+ ${this.inlineMode?Y`
513
515
  <div
514
516
  class="inline-container-wrapper"
515
- @click="${pe(this,xe,el)}"
517
+ @click="${le(this,me,ws)}"
516
518
  >
517
519
  <div class="inline-container" part="container">
518
520
  <div class="chip-container">
519
521
  <div class="chip-wrapper">
520
522
  <eox-itemfilter-chips
521
- .items=${x0(this.filters)}
522
- .controller=${{remove:r=>pe(this,xe,Np).call(this,r)}}
523
+ .items=${Vc(this.filters)}
524
+ .controller=${{remove:n=>le(this,me,pa).call(this,n)}}
523
525
  >
524
526
  </eox-itemfilter-chips>
525
527
  </div>
526
528
 
527
- ${qe(pa(this.filters),()=>Z`
529
+ ${Ie(Ti(this.filters),()=>Y`
528
530
  <span
529
531
  class="chip-close"
530
532
  @click=${()=>this.dispatchEvent(new CustomEvent("reset"))}
@@ -532,15 +534,15 @@ li.highlighted,
532
534
  `)}
533
535
  </div>
534
536
  <div
535
- class="input-container ${pa(this.filters)?"dirty-filter-input":""}"
537
+ class="input-container ${Ti(this.filters)?"dirty-filter-input":""}"
536
538
  >
537
539
  <input
538
540
  autocomplete="off"
539
541
  id="eox-itemfilter-input-search"
540
542
  type="text"
541
- @click="${pe(this,xe,el)}"
542
- @focus="${pe(this,xe,Bp)}"
543
- @input="${pe(this,xe,Hp)}"
543
+ @click="${le(this,me,ws)}"
544
+ @focus="${le(this,me,fa)}"
545
+ @input="${le(this,me,ga)}"
544
546
  placeholder="Search and add filter"
545
547
  aria-haspopup="true"
546
548
  aria-expanded="${this.showDropdown}"
@@ -551,16 +553,16 @@ li.highlighted,
551
553
  <div
552
554
  class="inline-content"
553
555
  slot="content"
554
- @keydown="${pe(this,xe,Qa)}"
555
- @click="${pe(this,xe,tl)}"
556
- @focus="${pe(this,xe,tl)}"
556
+ @keydown="${le(this,me,vs)}"
557
+ @click="${le(this,me,xs)}"
558
+ @focus="${le(this,me,xs)}"
557
559
  >
558
560
  <slot name="section"></slot>
559
561
  </div>
560
562
  </div>
561
563
  </div>
562
- `:Z`<slot name="section"></slot>`}
563
- `}}xe=new WeakSet,Ip=function(){setTimeout(()=>this._overlayCleanup=$d(this))},Xa=function(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),pe(this,xe,Ip).call(this)},Za=function(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()},jp=function(r){Ed(r,this)},Qa=function(r){_d(r,this)},el=function(r){Ad(r,this)},Bp=function(){Sd(this)},tl=function(r){xd(r,this)},Np=function(r){Jh(r,this)},Hp=function(r){Hl(r,this)},customElements.define("eox-itemfilter-container",A0);var _0="Expected a function",up=NaN,E0="[object Symbol]",M0=/^\s+|\s+$/g,P0=/^[-+]0x[0-9a-f]+$/i,O0=/^0b[01]+$/i,C0=/^0o[0-7]+$/i,k0=parseInt,L0=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,T0=typeof self=="object"&&self&&self.Object===Object&&self,R0=L0||T0||Function("return this")(),D0=Object.prototype,I0=D0.toString,j0=Math.max,B0=Math.min,ha=function(){return R0.Date.now()};function N0(t,e,r){var n,i,o,s,l,a,u=0,p=!1,d=!1,m=!0;if(typeof t!="function")throw new TypeError(_0);e=fp(e)||0,da(r)&&(p=!!r.leading,d="maxWait"in r,o=d?j0(fp(r.maxWait)||0,e):o,m="trailing"in r?!!r.trailing:m);function v(U){var ee=n,oe=i;return n=i=void 0,u=U,s=t.apply(oe,ee),s}function S(U){return u=U,l=setTimeout(I,e),p?v(U):s}function _(U){var ee=U-a,oe=U-u,we=e-ee;return d?B0(we,o-oe):we}function D(U){var ee=U-a,oe=U-u;return a===void 0||ee>=e||ee<0||d&&oe>=o}function I(){var U=ha();if(D(U))return H(U);l=setTimeout(I,_(U))}function H(U){return l=void 0,m&&n?v(U):(n=i=void 0,s)}function W(){l!==void 0&&clearTimeout(l),u=0,n=a=i=l=void 0}function Q(){return l===void 0?s:H(ha())}function z(){var U=ha(),ee=D(U);if(n=arguments,i=this,a=U,ee){if(l===void 0)return S(a);if(d)return l=setTimeout(I,e),v(a)}return l===void 0&&(l=setTimeout(I,e)),s}return z.cancel=W,z.flush=Q,z}function da(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function H0(t){return!!t&&typeof t=="object"}function U0(t){return typeof t=="symbol"||H0(t)&&I0.call(t)==E0}function fp(t){if(typeof t=="number")return t;if(U0(t))return up;if(da(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=da(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(M0,"");var r=O0.test(t);return r||C0.test(t)?k0(t.slice(2),r?2:8):P0.test(t)?up:+t}var F0=N0;const eo=kn(F0);function W0(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Qi(t.filterObject),t.requestUpdate()}function z0(t){const e=t.renderRoot.querySelector("input[type='text']");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()}function q0(t){Qi(t.filterObject),t.requestUpdate()}function G0(t,e){const[r,n]=t.detail.values;(r!==e.filterObject.state.min||n!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[r,n],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${Wn(r)} - ${Wn(n)}`:`${r} - ${n}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function V0(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],o=n?Wn.unix(i):i;return Z`<div class="range-${e}">${o}</div>`}function K0(t){Y0(-1,t),Qi(t.filterObject),t.requestUpdate()}function Y0(t,e){e.selectedItems=[],ga(e),hp(e)}function pp(t,e){const r=e.selectedItems.indexOf(t);r>=0?e.selectedItems=e.selectedItems.filter((n,i)=>i!==r):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),ga(e),hp(e)}function J0(t,e){e.query=t.target.value,e.showSuggestions=!0}function X0(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&&pp(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function Z0(t,e){(t.has("suggestions")||t.has("query"))&&ga(e)}function Q0(t,e){var n;const r=((n=t.filterObject)==null?void 0:n.sort)||((i,o)=>i.localeCompare(o));return e.sort(r).map(i=>i)}function ga(t){var r,n,i;let e;t.query&&(e=new Gt(t.suggestions,{threshold:.4}).search(t.query).map(s=>s.item)),t.filteredSuggestions=Q0(t,e||t.suggestions),(r=t.filterObject)!=null&&r.filterKeys&&(t.filteredSuggestions=(n=t.filterObject)==null?void 0:n.filterKeys.map(o=>`${o}`),t.filterObject.state=(i=t.filterObject)==null?void 0:i.filterKeys.map(o=>`${o}`).reduce((o,s)=>(s in o||(o[s]=void 0),o),t.filterObject.state)),t.highlightedIndex=-1}function hp(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 ew(t){Qi(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function tw(t){t.renderRoot.querySelector("#eox-map").innerHTML="",dp(t)}function rw(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function dp(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&&nw(t.geometry),n=$0(t.geometry,r);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=n;const i=o=>{const s=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:o.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(s)};t.eoxMap.interactions.drawInteraction.on("drawend",o=>{i(o.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",o=>{i(o.features.getArray()[0])})},1e3)}function nw(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class iw extends it{constructor(){super();nt(this,so,()=>{z0(this)});ui(this,"debouncedInputHandler",eo(ut(this,so),500,{leading:!0}));this.filterObject={},this.unstyled=!1,this.tabIndex=0}static get properties(){return{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean}}}reset(){W0(this)}createRenderRoot(){return this}render(){return qe(this.filterObject,()=>Z`
564
+ `:Y`<slot name="section"></slot>`}
565
+ `}}me=new WeakSet,ha=function(){setTimeout(()=>this._overlayCleanup=Zl(this))},bs=function(){document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown),le(this,me,ha).call(this)},ms=function(){document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown),this._overlayCleanup()},da=function(n){tc(n,this)},vs=function(n){ec(n,this)},ws=function(n){Ql(n,this)},fa=function(){Jl(this)},xs=function(n){Xl(n,this)},pa=function(n){Ml(n,this)},ga=function(n){so(n,this)},customElements.define("eox-itemfilter-container",Gc);var Yc="Expected a function",Ho=NaN,Fc="[object Symbol]",Zc=/^\s+|\s+$/g,Xc=/^[-+]0x[0-9a-f]+$/i,Jc=/^0b[01]+$/i,Qc=/^0o[0-7]+$/i,eu=parseInt,tu=typeof et=="object"&&et&&et.Object===Object&&et,nu=typeof self=="object"&&self&&self.Object===Object&&self,ru=tu||nu||Function("return this")(),iu=Object.prototype,su=iu.toString,ou=Math.max,au=Math.min,Ri=function(){return ru.Date.now()};function lu(t,e,n){var r,i,s,o,l,c,h=0,p=!1,y=!1,w=!0;if(typeof t!="function")throw new TypeError(Yc);e=Io(e)||0,Oi(n)&&(p=!!n.leading,y="maxWait"in n,s=y?ou(Io(n.maxWait)||0,e):s,w="trailing"in n?!!n.trailing:w);function m(X){var fe=r,Ae=i;return r=i=void 0,h=X,o=t.apply(Ae,fe),o}function A(X){return h=X,l=setTimeout(H,e),p?m(X):o}function E(X){var fe=X-c,Ae=X-h,Ce=e-fe;return y?au(Ce,s-Ae):Ce}function z(X){var fe=X-c,Ae=X-h;return c===void 0||fe>=e||fe<0||y&&Ae>=s}function H(){var X=Ri();if(z(X))return Z(X);l=setTimeout(H,E(X))}function Z(X){return l=void 0,w&&r?m(X):(r=i=void 0,o)}function F(){l!==void 0&&clearTimeout(l),h=0,r=c=i=l=void 0}function de(){return l===void 0?o:Z(Ri())}function te(){var X=Ri(),fe=z(X);if(r=arguments,i=this,c=X,fe){if(l===void 0)return A(c);if(y)return l=setTimeout(H,e),m(c)}return l===void 0&&(l=setTimeout(H,e)),o}return te.cancel=F,te.flush=de,te}function Oi(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function cu(t){return!!t&&typeof t=="object"}function uu(t){return typeof t=="symbol"||cu(t)&&su.call(t)==Fc}function Io(t){if(typeof t=="number")return t;if(uu(t))return Ho;if(Oi(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Oi(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(Zc,"");var n=Jc.test(t);return n||Qc.test(t)?eu(t.slice(2),n?2:8):Xc.test(t)?Ho:+t}var hu=lu;const kr=Er(hu);function du(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Cr(t.filterObject),t.requestUpdate()}function fu(t){const e=t.renderRoot.querySelector("input[type='text']");t.filterObject.keys.forEach(n=>{t.filterObject.state[n]=e.value}),t.filterObject.dirty=!0,t.filterObject.stringifiedState=e.value,t.dispatchEvent(new CustomEvent("filter")),e.value===""&&t.reset()}function pu(t){Cr(t.filterObject),t.requestUpdate()}function gu(t,e){const[n,r]=t.detail.values;(n!==e.filterObject.state.min||r!==e.filterObject.state.max)&&([e.filterObject.state.min,e.filterObject.state.max]=[n,r],e.filterObject.dirty=!0),e.filterObject.dirty&&(e.filterObject.stringifiedState=e.filterObject.format==="date"?`${Wn(n)} - ${Wn(r)}`:`${n} - ${r}`),e.dispatchEvent(new CustomEvent("filter")),n===e.filterObject.min&&r===e.filterObject.max?e.reset():e.requestUpdate()}function yu(t,e,n){const r=n.filterObject.format==="date",i=n.filterObject.state[t],s=r?Wn.unix(i):i;return Y`<div class="range-${e}">${s}</div>`}function bu(t){mu(-1,t),Cr(t.filterObject),t.requestUpdate()}function mu(t,e){e.selectedItems=[],Di(e),Uo(e)}function Bo(t,e){const n=e.selectedItems.indexOf(t);n>=0?e.selectedItems=e.selectedItems.filter((r,i)=>i!==n):e.type==="multiselect"?e.selectedItems=[...e.selectedItems,t]:(e.selectedItems=[t],e.showSuggestions=!1),Di(e),Uo(e)}function vu(t,e){e.query=t.target.value,e.showSuggestions=!0}function wu(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&&Bo(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function xu(t,e){(t.has("suggestions")||t.has("query"))&&Di(e)}function $u(t,e){var r;const n=((r=t.filterObject)==null?void 0:r.sort)||((i,s)=>i.localeCompare(s));return e.sort(n).map(i=>i)}function Di(t){var n,r,i;let e;t.query&&(e=new Ct(t.suggestions,{threshold:.4}).search(t.query).map(o=>o.item)),t.filteredSuggestions=$u(t,e||t.suggestions),(n=t.filterObject)!=null&&n.filterKeys&&(t.filteredSuggestions=(r=t.filterObject)==null?void 0:r.filterKeys.map(s=>`${s}`),t.filterObject.state=(i=t.filterObject)==null?void 0:i.filterKeys.map(s=>`${s}`).reduce((s,o)=>(o in s||(s[o]=void 0),s),t.filterObject.state)),t.highlightedIndex=-1}function Uo(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 _u(t){Cr(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function Au(t){t.renderRoot.querySelector("#eox-map").innerHTML="",zo(t)}function Mu(t,e){e.filterObject.state.mode=t;const n=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(n)}function zo(t){const e=t.renderRoot.querySelector("#eox-map");e.innerHTML===""&&(e.innerHTML='<eox-map part="map" style="height: 400px"></eox-map>');const n=t.geometry&&Su(t.geometry),r=Wc(t.geometry,n);t.eoxMap=t.renderRoot.querySelector("eox-map"),setTimeout(()=>{t.eoxMap.layers=r;const i=s=>{const o=new CustomEvent("filter",{detail:{geometry:{type:"Polygon",coordinates:s.getGeometry().clone().transform("EPSG:3857","EPSG:4326").getCoordinates()}}});t.dispatchEvent(o)};t.eoxMap.interactions.drawInteraction.on("drawend",s=>{i(s.feature),t.eoxMap.removeInteraction("drawInteraction")}),t.eoxMap.interactions.drawInteraction_modify.on("modifyend",s=>{i(s.features.getArray()[0])})},1e3)}function Su(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class Eu extends Xe{constructor(){super();Ze(this,Dr,()=>{fu(this)});hr(this,"debouncedInputHandler",kr(nt(this,Dr),500,{leading:!0}));this.filterObject={},this.unstyled=!1,this.tabIndex=0}static get properties(){return{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number},unstyled:{type:Boolean}}}reset(){du(this)}createRenderRoot(){return this}render(){return Ie(this.filterObject,()=>Y`
564
566
  <style></style>
565
567
  <div class="text-container">
566
568
  <div class="text-container-wrapper">
@@ -573,31 +575,31 @@ li.highlighted,
573
575
  value="${Object.values(this.filterObject.state)[0]}"
574
576
  tabindex=${this.tabIndex}
575
577
  @input="${this.debouncedInputHandler}"
576
- @click=${r=>r.stopPropagation()}
578
+ @click=${n=>n.stopPropagation()}
577
579
  />
578
580
  </div>
579
581
  </div>
580
- `)}}so=new WeakMap,customElements.define("eox-itemfilter-text",iw);class gp extends it{constructor(){super(...arguments),this.templates={},this._renderedTemplates={}}setBindingSyntax(e,r){this._startExpression=e,this._endExpression=r;const n=this.escapeRegex(this._startExpression),i=this.escapeRegex(this._endExpression);this._expression=new RegExp(`${n}\\s*([$\\w\\.,'"\\s()\\[\\]]+)\\s*${i}`,"g")}hasTemplate(e){return this.templates&&!!this.templates[e]}renderTemplate(e,r,n){if(!this.hasTemplate(e))return null;n=n||e;const i=Z` <slot name=${n}></slot> `,o={[e]:{...r}};if(this._renderedTemplates.hasOwnProperty(n)){const{slot:l}=this._renderedTemplates[n];this.contains(l)&&this.removeChild(l)}const s=document.createElement("div");return s.slot=n,s.dataset.generated="template",this._renderTemplate(s,this.templates[e],o),this.appendChild(s),this._renderedTemplates[n]={context:o,slot:s},i}getTemplates(){const e={};for(let r=0;r<this.children.length;r++){const n=this.children[r];if(n.nodeName==="RENDER-TEMPLATE"){const i=n;i.dataset.type?e[i.dataset.type]=i:e.default=i,i.templateOrder=r}}return e}_renderTemplate(e,r,n){let i;if(r&&r.childNodes.length){const o=r.cloneNode(!0);i=this.renderNode(o,e,n)}i&&e.appendChild(i)}expandExpressionsAsString(e,r){return e.replace(this.expression,(n,i)=>{const o=this.evalInContext(i||this.trimExpression(n),r);return o?typeof o=="object"?JSON.stringify(o):o.toString():""})}get expression(){return this._expression||this.setBindingSyntax("{{","}}"),this._expression}escapeRegex(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}evalInContext(e,r){r={...r};const n=new Function("with(this) { return "+e+";}");let i;try{i=n.call(r)}catch{}return i}trimExpression(e){return e=e.trim(),e.startsWith(this._startExpression)&&e.endsWith(this._endExpression)&&(e=e.substr(this._startExpression.length,e.length-this._startExpression.length-this._endExpression.length),e=e.trim()),e}renderNode(e,r,n){if(e.nodeName==="#text")return e.textContent=this.expandExpressionsAsString(e.textContent,n),e;if(e.nodeName==="TEMPLATE")return e.$parentTemplateContext=n,e;for(let i=0;i<e.childNodes.length;i++){const o=e.childNodes[i];this.renderNode(o,r,n)}return e}firstUpdated(){this.templates=this.getTemplates()}}function ow(t,e,r){return t.filter(n=>{const i=n[r.config.aggregateResults];let o;return r.filters[r.config.aggregateResults]&&(o=Object.keys(r.filters[r.config.aggregateResults]).filter(l=>r.filters[r.config.aggregateResults].state[l])),(o!=null&&o.length?o.includes(e):!0)&&Array.isArray(i)?i.includes(e):i===e})}/**
582
+ `)}}Dr=new WeakMap,customElements.define("eox-itemfilter-text",Eu);class qo extends Xe{constructor(){super(...arguments),this.templates={},this._renderedTemplates={}}setBindingSyntax(e,n){this._startExpression=e,this._endExpression=n;const r=this.escapeRegex(this._startExpression),i=this.escapeRegex(this._endExpression);this._expression=new RegExp(`${r}\\s*([$\\w\\.,'"\\s()\\[\\]]+)\\s*${i}`,"g")}hasTemplate(e){return this.templates&&!!this.templates[e]}renderTemplate(e,n,r){if(!this.hasTemplate(e))return null;r=r||e;const i=Y` <slot name=${r}></slot> `,s={[e]:{...n}};if(this._renderedTemplates.hasOwnProperty(r)){const{slot:l}=this._renderedTemplates[r];this.contains(l)&&this.removeChild(l)}const o=document.createElement("div");return o.slot=r,o.dataset.generated="template",this._renderTemplate(o,this.templates[e],s),this.appendChild(o),this._renderedTemplates[r]={context:s,slot:o},i}getTemplates(){const e={};for(let n=0;n<this.children.length;n++){const r=this.children[n];if(r.nodeName==="RENDER-TEMPLATE"){const i=r;i.dataset.type?e[i.dataset.type]=i:e.default=i,i.templateOrder=n}}return e}_renderTemplate(e,n,r){let i;if(n&&n.childNodes.length){const s=n.cloneNode(!0);i=this.renderNode(s,e,r)}i&&e.appendChild(i)}expandExpressionsAsString(e,n){return e.replace(this.expression,(r,i)=>{const s=this.evalInContext(i||this.trimExpression(r),n);return s?typeof s=="object"?JSON.stringify(s):s.toString():""})}get expression(){return this._expression||this.setBindingSyntax("{{","}}"),this._expression}escapeRegex(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}evalInContext(e,n){n={...n};const r=new Function("with(this) { return "+e+";}");let i;try{i=r.call(n)}catch{}return i}trimExpression(e){return e=e.trim(),e.startsWith(this._startExpression)&&e.endsWith(this._endExpression)&&(e=e.substr(this._startExpression.length,e.length-this._startExpression.length-this._endExpression.length),e=e.trim()),e}renderNode(e,n,r){if(e.nodeName==="#text")return e.textContent=this.expandExpressionsAsString(e.textContent,r),e;if(e.nodeName==="TEMPLATE")return e.$parentTemplateContext=r,e;for(let i=0;i<e.childNodes.length;i++){const s=e.childNodes[i];this.renderNode(s,n,r)}return e}firstUpdated(){this.templates=this.getTemplates()}}function Cu(t,e,n){return t.filter(r=>{const i=r[n.config.aggregateResults];let s;return n.filters[n.config.aggregateResults]&&(s=Object.keys(n.filters[n.config.aggregateResults]).filter(l=>n.filters[n.config.aggregateResults].state[l])),(s!=null&&s.length?s.includes(e):!0)&&Array.isArray(i)?i.includes(e):i===e})}/**
581
583
  * @license
582
584
  * Copyright 2017 Google LLC
583
585
  * SPDX-License-Identifier: BSD-3-Clause
584
- */const yp={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},vp=t=>(...e)=>({_$litDirective$:t,values:e});class mp{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,r,n){this._$Ct=e,this._$AM=r,this._$Ci=n}_$AS(e,r){return this.update(e,r)}update(e,r){return this.render(...r)}}/**
586
+ */const Wo={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},Vo=t=>(...e)=>({_$litDirective$:t,values:e});class Ko{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,n,r){this.t=e,this._$AM=n,this.i=r}_$AS(e,n){return this.update(e,n)}update(e,n){return this.render(...n)}}/**
585
587
  * @license
586
588
  * Copyright 2020 Google LLC
587
589
  * SPDX-License-Identifier: BSD-3-Clause
588
- */const{I:sw}=ch,bp=()=>document.createComment(""),zn=(t,e,r)=>{var o;const n=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(r===void 0){const s=n.insertBefore(bp(),i),l=n.insertBefore(bp(),i);r=new sw(s,l,t,t.options)}else{const s=r._$AB.nextSibling,l=r._$AM,a=l!==t;if(a){let u;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(u=t._$AU)!==l._$AU&&r._$AP(u)}if(s!==i||a){let u=r._$AA;for(;u!==s;){const p=u.nextSibling;n.insertBefore(u,i),u=p}}}return r},wr=(t,e,r=t)=>(t._$AI(e,r),t),aw={},lw=(t,e=aw)=>t._$AH=e,cw=t=>t._$AH,ya=t=>{var n;(n=t._$AP)==null||n.call(t,!1,!0);let e=t._$AA;const r=t._$AB.nextSibling;for(;e!==r;){const i=e.nextSibling;e.remove(),e=i}};/**
590
+ */const{I:ku}=Ha,Go=()=>document.createComment(""),Vn=(t,e,n)=>{var s;const r=t._$AA.parentNode,i=e===void 0?t._$AB:e._$AA;if(n===void 0){const o=r.insertBefore(Go(),i),l=r.insertBefore(Go(),i);n=new ku(o,l,t,t.options)}else{const o=n._$AB.nextSibling,l=n._$AM,c=l!==t;if(c){let h;(s=n._$AQ)==null||s.call(n,t),n._$AM=t,n._$AP!==void 0&&(h=t._$AU)!==l._$AU&&n._$AP(h)}if(o!==i||c){let h=n._$AA;for(;h!==o;){const p=h.nextSibling;r.insertBefore(h,i),h=p}}}return n},Wt=(t,e,n=t)=>(t._$AI(e,n),t),Lu={},Pu=(t,e=Lu)=>t._$AH=e,Tu=t=>t._$AH,ji=t=>{var r;(r=t._$AP)==null||r.call(t,!1,!0);let e=t._$AA;const n=t._$AB.nextSibling;for(;e!==n;){const i=e.nextSibling;e.remove(),e=i}};/**
589
591
  * @license
590
592
  * Copyright 2017 Google LLC
591
593
  * SPDX-License-Identifier: BSD-3-Clause
592
- */const wp=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},uw=vp(class extends mp{constructor(t){if(super(t),t.type!==yp.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,r){let n;r===void 0?r=e:e!==void 0&&(n=e);const i=[],o=[];let s=0;for(const l of t)i[s]=n?n(l,s):s,o[s]=r(l,s),s++;return{values:o,keys:i}}render(t,e,r){return this.dt(t,e,r).values}update(t,[e,r,n]){const i=cw(t),{values:o,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,o;const l=this.ut??(this.ut=[]),a=[];let u,p,d=0,m=i.length-1,v=0,S=o.length-1;for(;d<=m&&v<=S;)if(i[d]===null)d++;else if(i[m]===null)m--;else if(l[d]===s[v])a[v]=wr(i[d],o[v]),d++,v++;else if(l[m]===s[S])a[S]=wr(i[m],o[S]),m--,S--;else if(l[d]===s[S])a[S]=wr(i[d],o[S]),zn(t,a[S+1],i[d]),d++,S--;else if(l[m]===s[v])a[v]=wr(i[m],o[v]),zn(t,i[d],i[m]),m--,v++;else if(u===void 0&&(u=wp(s,v,S),p=wp(l,d,m)),u.has(l[d]))if(u.has(l[m])){const _=p.get(s[v]),D=_!==void 0?i[_]:null;if(D===null){const I=zn(t,i[d]);wr(I,o[v]),a[v]=I}else a[v]=wr(D,o[v]),zn(t,i[d],D),i[_]=null;v++}else ya(i[m]),m--;else ya(i[d]),d++;for(;v<=S;){const _=zn(t,a[S+1]);wr(_,o[v]),a[v++]=_}for(;d<=m;){const _=i[d++];_!==null&&ya(_)}return this.ut=s,lw(t,a),zt}});/**
594
+ */const Yo=(t,e,n)=>{const r=new Map;for(let i=e;i<=n;i++)r.set(t[i],i);return r},Ru=Vo(class extends Ko{constructor(t){if(super(t),t.type!==Wo.CHILD)throw Error("repeat() can only be used in text expressions")}dt(t,e,n){let r;n===void 0?n=e:e!==void 0&&(r=e);const i=[],s=[];let o=0;for(const l of t)i[o]=r?r(l,o):o,s[o]=n(l,o),o++;return{values:s,keys:i}}render(t,e,n){return this.dt(t,e,n).values}update(t,[e,n,r]){const i=Tu(t),{values:s,keys:o}=this.dt(e,n,r);if(!Array.isArray(i))return this.ut=o,s;const l=this.ut??(this.ut=[]),c=[];let h,p,y=0,w=i.length-1,m=0,A=s.length-1;for(;y<=w&&m<=A;)if(i[y]===null)y++;else if(i[w]===null)w--;else if(l[y]===o[m])c[m]=Wt(i[y],s[m]),y++,m++;else if(l[w]===o[A])c[A]=Wt(i[w],s[A]),w--,A--;else if(l[y]===o[A])c[A]=Wt(i[y],s[A]),Vn(t,c[A+1],i[y]),y++,A--;else if(l[w]===o[m])c[m]=Wt(i[w],s[m]),Vn(t,i[y],i[w]),w--,m++;else if(h===void 0&&(h=Yo(o,m,A),p=Yo(l,y,w)),h.has(l[y]))if(h.has(l[w])){const E=p.get(o[m]),z=E!==void 0?i[E]:null;if(z===null){const H=Vn(t,i[y]);Wt(H,s[m]),c[m]=H}else c[m]=Wt(z,s[m]),Vn(t,i[y],z),i[E]=null;m++}else ji(i[w]),w--;else ji(i[y]),y++;for(;m<=A;){const E=Vn(t,c[A+1]);Wt(E,s[m]),c[m++]=E}for(;y<=w;){const E=i[y++];E!==null&&ji(E)}return this.ut=o,Pu(t,c),St}});/**
593
595
  * @license
594
596
  * Copyright 2017 Google LLC
595
597
  * SPDX-License-Identifier: BSD-3-Clause
596
- */class va extends mp{constructor(e){if(super(e),this.it=be,e.type!==yp.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===be||e==null)return this._t=void 0,this.it=e;if(e===zt)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const r=[e];return r.raw=r,this._t={_$litType$:this.constructor.resultType,strings:r,values:[]}}}va.directiveName="unsafeHTML",va.resultType=1;const ma=vp(va);function fw(t,e){return Z`
598
+ */class Ni extends Ko{constructor(e){if(super(e),this.it=ge,e.type!==Wo.CHILD)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===ge||e==null)return this._t=void 0,this.it=e;if(e===St)return e;if(typeof e!="string")throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.it)return this._t;this.it=e;const n=[e];return n.raw=n,this._t={_$litType$:this.constructor.resultType,strings:n,values:[]}}}Ni.directiveName="unsafeHTML",Ni.resultType=1;const Hi=Vo(Ni);function Ou(t,e){return Y`
597
599
  <details
598
600
  class="details-results"
599
601
  @toggle=${e.handleAccordion}
600
- ?open=${e.config.expandResults||be}
602
+ ?open=${e.config.expandResults||ge}
601
603
  >
602
604
  <summary>
603
605
  <span class="title">
@@ -608,30 +610,30 @@ li.highlighted,
608
610
  </span>
609
611
  </summary>
610
612
  <div>
611
- ${$p(t,e)}
613
+ ${Fo(t,e)}
612
614
  </div>
613
615
  </details>
614
- `}function $p(t,e){const r=e.results,n=t?e.aggregateResults(r,t):r,i=e.config,o=s=>{var l;return((l=e.selectedResult)==null?void 0:l[i.idProperty])===s[i.idProperty]?"highlighted":be};return Z`
616
+ `}function Fo(t,e){const n=e.results,r=t?e.aggregateResults(n,t):n,i=e.config,s=o=>{var l;return((l=e.selectedResult)==null?void 0:l[i.idProperty])===o[i.idProperty]?"highlighted":ge};return Y`
615
617
  <ul>
616
- ${uw(n,s=>s.id,s=>Z`
617
- <li class=${o(s)}>
618
+ ${Ru(r,o=>o.id,o=>Y`
619
+ <li class=${s(o)}>
618
620
  <span
619
- id="${s.id}"
620
- @click=${()=>{e.selectedResult===s?e.selectedResult=null:e.selectedResult=s,e.dispatchEvent(new CustomEvent("result",{detail:e.selectedResult}))}}
621
+ id="${o.id}"
622
+ @click=${()=>{e.selectedResult===o?e.selectedResult=null:e.selectedResult=o,e.dispatchEvent(new CustomEvent("result",{detail:e.selectedResult}))}}
621
623
  >
622
- ${qe(e.hasTemplate("result"),()=>e.renderTemplate("result",s,`result-${s.id}`),()=>Z`
623
- ${qe(i.subTitleProperty,()=>Z`
624
+ ${Ie(e.hasTemplate("result"),()=>e.renderTemplate("result",o,`result-${o.id}`),()=>Y`
625
+ ${Ie(i.subTitleProperty,()=>Y`
624
626
  <div class="title-container">
625
627
  <span class="title"
626
- >${ma(s[i.titleProperty])}</span
628
+ >${Hi(o[i.titleProperty])}</span
627
629
  >
628
630
  <span class="subtitle"
629
- >${ma(s[i.subTitleProperty])}</span
631
+ >${Hi(o[i.subTitleProperty])}</span
630
632
  >
631
633
  </div>
632
- `,()=>Z`
634
+ `,()=>Y`
633
635
  <span class="title"
634
- >${ma(s[i.titleProperty])}</span
636
+ >${Hi(o[i.titleProperty])}</span
635
637
  >
636
638
  `)}
637
639
  `)}
@@ -639,27 +641,27 @@ li.highlighted,
639
641
  </li>
640
642
  `)}
641
643
  </ul>
642
- `}class pw extends gp{constructor(){super();nt(this,xr);this.config=null,this.filters={},this.resultAggregation=[],this.selectedResult=null}static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Object},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object}}}aggregateResults(r,n){return ow(r,n,this)}createRenderRoot(){return this}handleAccordion(r){cp(r,this.config,this)}render(){return Z`
644
+ `}class Du extends qo{constructor(){super();Ze(this,Kt);this.config=null,this.filters={},this.resultAggregation=[],this.selectedResult=null}static get properties(){return{config:{attribute:!1,type:Object},results:{state:!0,type:Object},filters:{state:!0,type:Object},resultAggregation:{attribute:!1,type:Array},selectedResult:{state:!0,type:Object}}}aggregateResults(n,r){return Cu(n,r,this)}createRenderRoot(){return this}handleAccordion(n){No(n,this.config,this)}render(){return Y`
643
645
  <section id="section-results">
644
646
  <div>
645
647
  <h6 style="padding: 8px 0px;">Results</h6>
646
648
  </div>
647
649
  <div id="container-results" class="scroll">
648
- ${qe(this.results.length<1,()=>Z`<small class="no-results">No matching items</small>`,()=>be)}
650
+ ${Ie(this.results.length<1,()=>Y`<small class="no-results">No matching items</small>`,()=>ge)}
649
651
  <ul id="results" part="results">
650
- ${qe(this.config.aggregateResults,()=>pi(this.resultAggregation.filter(r=>this.aggregateResults(this.results,r).length),r=>Z`${qe(this.aggregateResults(this.results,r).length===1&&this.config.autoSpreadSingle,()=>Z`<div style="margin-left: -8px">
651
- ${pe(this,xr,rl).call(this,r)}
652
- </div>`,()=>pe(this,xr,Up).call(this,r))}`),()=>pe(this,xr,rl).call(this))}
652
+ ${Ie(this.config.aggregateResults,()=>pr(this.resultAggregation.filter(n=>this.aggregateResults(this.results,n).length),n=>Y`${Ie(this.aggregateResults(this.results,n).length===1&&this.config.autoSpreadSingle,()=>Y`<div style="margin-left: -8px">
653
+ ${le(this,Kt,$s).call(this,n)}
654
+ </div>`,()=>le(this,Kt,ya).call(this,n))}`),()=>le(this,Kt,$s).call(this))}
653
655
  </ul>
654
656
  </div>
655
657
  </section>
656
- `}}xr=new WeakSet,rl=function(r){return $p(r,this)},Up=function(r){return fw(r,this)},customElements.define("eox-itemfilter-results",pw);const hw=`input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`,dw=`input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`;class xp extends it{constructor(){super();nt(this,rr);ui(this,"debouncedInputHandler",eo(pe(this,rr,zp),500,{leading:!0}));this.filterObject={},this.suggestions=[],this.selectedItems=[],this.query="",this.showSuggestions=!1,this.highlightedIndex=-1,this.filteredSuggestions=[],this.type="select",this.unstyled=!1,this.tabIndex=0,this.inlineMode=!1}updated(r){Z0(r,this)}reset(){K0(this)}firstUpdated(){this.filterObject.state&&(this.selectedItems=Object.keys(this.filterObject.state).map(r=>this.filterObject.state[r]?r:null).filter(r=>!!r),this.filterObject.stringifiedState=this.selectedItems.join(", ")||"",this.requestUpdate())}render(){const r=this.type.includes("multi")?"checkbox":"radio",n=this.filteredSuggestions.length>5?"select-overflow":be;return Z`
658
+ `}}Kt=new WeakSet,$s=function(n){return Fo(n,this)},ya=function(n){return Ou(n,this)},customElements.define("eox-itemfilter-results",Du);const ju=`input[type="checkbox"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}input[type="checkbox"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-blank-outline%3C/title%3E%3Cpath d='M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="checkbox"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Echeckbox-marked%3C/title%3E%3Cpath d='M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z' /%3E%3C/svg%3E");}`,Nu=`input[type="radio"] { appearance: none; -webkit-appearance: none; margin: 0; cursor: pointer; display: flex; flex-direction: row; align-items: center; width: 24px; height: 24px;}label span { font-size: small;}input[type="radio"]:after { display: block; content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-blank%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z' /%3E%3C/svg%3E"); width: 20px; height: 20px; margin-right: 4px;}input[type="radio"]:checked:after { content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23004170' viewBox='0 0 24 24'%3E%3Ctitle%3Eradiobox-marked%3C/title%3E%3Cpath d='M12,20A8,8 0 0,1 4,12A8,8 0 0,1 12,4A8,8 0 0,1 20,12A8,8 0 0,1 12,20M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2M12,7A5,5 0 0,0 7,12A5,5 0 0,0 12,17A5,5 0 0,0 17,12A5,5 0 0,0 12,7Z' /%3E%3C/svg%3E");}`;class Zo extends Xe{constructor(){super();Ze(this,Pt);hr(this,"debouncedInputHandler",kr(le(this,Pt,va),500,{leading:!0}));this.filterObject={},this.suggestions=[],this.selectedItems=[],this.query="",this.showSuggestions=!1,this.highlightedIndex=-1,this.filteredSuggestions=[],this.type="select",this.unstyled=!1,this.tabIndex=0,this.inlineMode=!1}updated(n){xu(n,this)}reset(){bu(this)}firstUpdated(){this.filterObject.state&&(this.selectedItems=Object.keys(this.filterObject.state).map(n=>this.filterObject.state[n]?n:null).filter(n=>!!n),this.filterObject.stringifiedState=this.selectedItems.join(", ")||"",this.requestUpdate())}render(){const n=this.type.includes("multi")?"checkbox":"radio",r=this.filteredSuggestions.length>5?"select-overflow":ge;return Y`
657
659
  <style>
658
- ${!this.unstyled&&Pn}
659
- ${!this.unstyled&&hw}
660
- ${!this.unstyled&&dw}
660
+ ${!this.unstyled&&Un}
661
+ ${!this.unstyled&&ju}
662
+ ${!this.unstyled&&Nu}
661
663
  </style>
662
- ${qe(this.suggestions.length>10,()=>Z`<div class="autocomplete-container">
664
+ ${Ie(this.suggestions.length>10,()=>Y`<div class="autocomplete-container">
663
665
  <div class="autocomplete-container-wrapper">
664
666
  <input
665
667
  autocomplete="off"
@@ -668,27 +670,27 @@ li.highlighted,
668
670
  type="text"
669
671
  .value=${this.query}
670
672
  placeholder="${this.filterObject.placeholder||""}"
671
- @input=${pe(this,rr,Fp)}
672
- @keydown=${pe(this,rr,Wp)}
673
+ @input=${le(this,Pt,ba)}
674
+ @keydown=${le(this,Pt,ma)}
673
675
  @blur=${()=>this.showSuggestions=!1}
674
676
  @focus=${()=>this.showSuggestions=!0}
675
677
  />
676
678
  </div>
677
679
  </div>`)}
678
- <div class="select-container ${n}">
680
+ <div class="select-container ${r}">
679
681
  <ul class="${this.type}">
680
- ${this.filteredSuggestions.map(i=>Z`
682
+ ${this.filteredSuggestions.map(i=>Y`
681
683
  <li
682
684
  data-identifier="${i.toString().toLowerCase()}"
683
685
  data-title="${i}"
684
686
  >
685
687
  <label>
686
688
  <input
687
- type="${r}"
689
+ type="${n}"
688
690
  name=${i}
689
691
  .checked=${this.selectedItems.includes(i)}
690
692
  @change=${()=>this.debouncedInputHandler(i)}
691
- @keydown=${o=>{o.key===" "&&this.inlineMode&&this.debouncedInputHandler(i)}}
693
+ @keydown=${s=>{s.key===" "&&this.inlineMode&&this.debouncedInputHandler(i)}}
692
694
  tabindex=${this.tabIndex+1}
693
695
  />
694
696
  <span class="title">${i}</span>
@@ -697,120 +699,120 @@ li.highlighted,
697
699
  `)}
698
700
  </ul>
699
701
  </div>
700
- `}}rr=new WeakSet,Fp=function(r){J0(r,this)},Wp=function(r){X0(r,this)},zp=function(r){pp(r,this)},ui(xp,"properties",{filterObject:{attribute:!1,type:Object},suggestions:{attribute:!1,type:Array},selectedItems:{state:!0,type:Array},query:{state:!0,type:String},showSuggestions:{state:!0,type:Boolean},highlightedIndex:{state:!0,type:Number},filteredSuggestions:{state:!0,type:Array},type:{attribute:!0,type:String},unstyled:{type:Boolean},tabIndex:{attribute:!1,type:Number},inlineMode:{attribute:"inline-mode",type:Boolean}}),customElements.define("eox-itemfilter-select",xp),(()=>{var t=Object.defineProperty,e=Math.pow,r=(f,y,x)=>y in f?t(f,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):f[y]=x,n=(f,y,x)=>(r(f,typeof y!="symbol"?y+"":y,x),x),i=(f,y)=>` ${y&&y.length>0?y.map(x=>`<link rel="stylesheet" href="${x}" />`).join(""):""} <style> ${f} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`,o=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",s="pointers-overlap",l="pointers-min-distance",a="pointers-max-distance",u="range-dragging",p="data",d="min",m="max",v="step",S="round",_="type",D="theme",I="rtl",H="btt",W="disabled",Q="keyboard-disabled",z="mousewheel-disabled",U="slider-width",ee="slider-height",oe="slider-radius",we="slider-bg",de="slider-bg-hover",ne="slider-bg-fill",je="pointer-width",et="pointer-height",R="pointer-radius",M="pointer-bg",E="pointer-bg-hover",B="pointer-bg-focus",O="pointer-shadow",J="pointer-shadow-hover",X="pointer-shadow-focus",ye="pointer-border",Ee="pointer-border-hover",Oe="pointer-border-focus",ke="animate-onclick",Ve="css-links",Te="vertical",Ke="horizontal",ce=(f,y,x,w,P)=>{let q=y-f;return q===0?x:(w-x)*(P-f)/q+x},Re=f=>!isNaN(parseFloat(f))&&isFinite(f),se=(f,y)=>Re(f)?Number(f):y,De=(f,y)=>y===0?0:Math.round(f/y)*y,Ot=(f,y=1/0)=>{if(y===1/0)return f;let x=e(10,y);return Math.round(f*x)/x},Me=f=>f==null?!1:typeof f=="boolean"?f:f.trim().toLowerCase()==="true",_a=(f,y)=>{f.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:y}}))},co=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:y}}))},uo=(f,y)=>{f.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:y}}))},fo=(f,y)=>{f.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:y}}))},Ea=(f,y)=>{if(!y||y.length<=0)return;let x=y.map(P=>Re(P)?se(P,P):P),w={values:x||[]};w.value=x[0],w.value0=x[0],w.value1=x[0];for(let P=1;P<x.length;P++)w[`value${P+1}`]=x[P];f.dispatchEvent(new CustomEvent("change",{detail:w}))},Vn=(f,y,x)=>{let w=0,P,q,G,C,L=!1,te=(V,$e,Ie,Le,Pe,Ae)=>{let Ye=w;Ie!==void 0&&V>Ie&&(V=Ie),$e!==void 0&&V<$e&&(V=$e),w=V;let Je=w;return(Le===Te&&Ae||Le===Ke&&Pe)&&(Je=100-Je),Le===Te?y.style.top=`${Je}%`:y.style.left=`${Je}%`,Ye!==w},ae=V=>V===y||y.contains(V),F=(V,$e,Ie,Le)=>{P=V,q=$e,G=Ie,C=Le},ue=V=>{L=V,y.classList.toggle("disabled",L),L?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},rt=(V,$e)=>{$e==null?y.removeAttribute(V):y.setAttribute(V,$e)},He=V=>y.getAttribute(V),N=V=>{if(!L){switch(V.key){case"ArrowLeft":{V.preventDefault(),typeof P=="function"&&P(x);break}case"ArrowRight":{V.preventDefault(),typeof q=="function"&&q(x);break}case"ArrowUp":{V.preventDefault(),typeof G=="function"&&G(x);break}case"ArrowDown":{V.preventDefault(),typeof C=="function"&&C(x);break}}fo(f,V)}},ie=()=>{L||_a(f,y)};return y.className=`pointer pointer-${x}`,y.addEventListener("keydown",N),y.addEventListener("click",ie),{$pointer:y,get percent(){return w},get disabled(){return L},set disabled(V){ue(V)},updatePosition:te,isClicked:ae,setCallbacks:F,setAttr:rt,getAttr:He,destroy:()=>{y.removeEventListener("keydown",N),y.removeEventListener("click",ie),y.remove()}}},Ma=f=>{if(f==null)return;if(Array.isArray(f))return f;if(f.trim()==="")return;let y=f.split(","),x=[],w=!0;for(let P=0;P<y.length;P++){let q=y[P].trim();q!==""&&(x.push(q),Re(q)||(w=!1))}return w?x.map(P=>Number(P)):x},Pa=(f,y)=>y?y.findIndex(x=>x===f||x.toString().trim()===f.toString().trim()):-1,Oa=f=>({updatePosition:(y,x,w,P)=>{if(x.length<=0)return;let q=x.length===1,G=x[0],C=x[x.length-1];y===Te?(f.style.removeProperty("width"),f.style.removeProperty("right"),f.style.removeProperty("left"),q?f.style.height=`${G}%`:f.style.height=`${Math.abs(G-C)}%`,P?(f.style.bottom="0%",q?f.style.top="auto":f.style.top=`${Math.min(100-C,100-G)}%`):(f.style.bottom="auto",q?f.style.top="0%":f.style.top=`${Math.min(G,C)}%`)):(f.style.removeProperty("height"),f.style.removeProperty("top"),f.style.removeProperty("bottom"),q?f.style.width=`${G}%`:f.style.width=`${Math.abs(G-C)}%`,w?(f.style.right="0%",q?f.style.left="auto":f.style.left=`${Math.min(100-C,100-G)}%`):(f.style.right="auto",q?f.style.left="0%":f.style.left=`${Math.min(G,C)}%`))}}),po="--animate-onclick",Ca="--width",Kn="--height",ka="--panel-bg-border-radius",La="--panel-bg",Ta="--panel-bg-hover",Ra="--panel-bg-fill",Da="--pointer-width",nn="--pointer-height",Yn="--pointer-border-radius",ho="--pointer-bg",go="--pointer-bg-hover",wt="--pointer-bg-focus",nr="--pointer-shadow",Ia="--pointer-shadow-hover",on="--pointer-shadow-focus",yo="--pointer-border",ja="--pointer-border-hover",Ba="--pointer-border-focus",_r=(f,y,x)=>{let w=new Map;for(let P of f.attributes){let q=P.nodeName.trim().toLowerCase();if(!y.test(q))continue;let G=q.replace(/\D/g,"").trim(),C=G===""||G==="0"||G==="1"?0:se(G,0)-1,L=x&&typeof x=="function"?x(P.value):P.value;w.set(C,L)}return w},Na=f=>{if(!f)return null;let y=f.getAttribute(Ve);if(!y)return null;let x=y.split(";"),w=[];for(let P of x)P.trim()!==""&&w.push(P.trim());return w},sn=[[Ca,U,"sliderWidth",null],[Kn,ee,"sliderHeight",null],[ka,oe,"sliderRadius",null],[La,we,"sliderBg",null],[Ta,de,"sliderBgHover",null],[Ra,ne,"sliderBgFill",null],[Da,je,"pointer#Width",/^pointer([0-9]*)-width$/],[nn,et,"pointer#Height",/^pointer([0-9]*)-height$/],[Yn,R,"pointer#Radius",/^pointer([0-9]*)-radius$/],[ho,M,"pointer#Bg",/^pointer([0-9]*)-bg$/],[go,E,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[wt,B,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[nr,O,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[Ia,J,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[on,X,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[yo,ye,"pointer#Border",/^pointer([0-9]*)-border$/],[ja,Ee,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[Ba,Oe,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],Er=(f,y,x)=>{let w=null,P=[],q=new Map,G=(N,ie=y)=>{let V=[...ie.classList];for(let $e of V)$e.startsWith(N)&&y.classList.remove($e)},C=()=>{G("shape");let N=y.querySelectorAll(".pointer");for(let ie of N)G("shape",ie)},L=N=>{w=N,G("theme-"),typeof N=="string"&&y.classList.add(`theme-${N}`)},te=()=>{if(C(),!(P.length<=0)){y.classList.add("shape",`shape-${P[0]}`);for(let N=1;N<P.length;N++){let ie=P[N];if(!ie)continue;let V=y.querySelector(`.pointer-${N}`);!V||V.classList.add("shape",`shape-${ie}`)}}},ae=(N,ie)=>{P[N]=ie,te()},F=()=>{C();let N=_r(f,/^pointer([0-9]*)-shape$/);if(!(N.size<=0)){for(let ie of N){let V=ie[0];P[V]=ie[1]}te()}},ue=(N,ie)=>`${N}-${ie}`,rt=(N,ie,V)=>{let $e=x[V];if(!$e)return;let Ie=V===0?y:$e.$pointer;if(ie==null){q.has(ue(N,V))&&q.delete(ue(N,V)),Ie.style.removeProperty(N);return}q.set(ue(N,V),ie),Ie.style.setProperty(N,ie)},He=(N,ie)=>q.get(ue(N,ie));return(()=>{for(let N of sn){let[ie,V,$e,Ie]=N;if(Ie){let Pe=_r(f,Ie);for(let Ae of Pe){let Ye=Ae[0],Je=Ae[1];rt(ie,Je,Ye)}}else{let Pe=f.getAttribute(V);rt(ie,Pe,0)}let Le=[];if($e.indexOf("#")===-1)Le.push([$e,0]);else{Le.push([$e.replace("#",""),0]),Le.push([$e.replace("#","0"),0]),Le.push([$e.replace("#","1"),0]);for(let Pe=1;Pe<x.length;Pe++)Le.push([$e.replace("#",(Pe+1).toString()),Pe])}for(let Pe of Le)try{let Ae=Pe[0],Ye=Pe[1];Object.prototype.hasOwnProperty.call(f,Ae)||Object.defineProperty(f,Ae,{get(){return He(ie,Ye)},set:Je=>{rt(ie,Je,Ye)}})}catch(Ae){console.error(Ae)}}L(f.getAttribute(D)),F()})(),{setStyle:rt,getStyle:He,get theme(){return w},set theme(N){L(N)},get pointerShapes(){return P},setPointerShape:ae}},Ct="animate-on-click",an="range-dragging",Jn=(f,y,x,w)=>{let P=[],q=ae=>{for(let F of P)F.update&&typeof F.update=="function"&&F.update(ae)},G=()=>{for(let ae of P)ae.destroy&&typeof ae.destroy=="function"&&ae.destroy()},C=(ae,F)=>{for(let ue of P)ue.onAttrChange&&typeof ue.onAttrChange=="function"&&ue.onAttrChange(ae,F)},L=ae=>{if(ae.gettersAndSetters){for(let F of ae.gettersAndSetters)if(!(!F.name||!F.attributes))try{Object.prototype.hasOwnProperty.call(f,F.name)||Object.defineProperty(f,F.name,F.attributes)}catch(ue){console.error("defineSettersGetters error:",ue)}}},te=ae=>{var F;if(!ae.css)return;let ue=(F=f.shadowRoot)==null?void 0:F.querySelector("style");!ue||(ue.innerHTML+=ae.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let ae of window.tcRangeSliderPlugins){let F=ae();P.push(F),F.init&&typeof F.init=="function"&&(F.init(f,y,x,w),L(F),te(F))}},update:q,onAttrChange:C,destroy:G}},Mr=10,vo=20,Ha=(f,y)=>{let x=new Map,w=/^value([0-9]*)$/;for(let C of f.attributes){let L=C.nodeName.trim().toLowerCase();if(!w.test(L))continue;let te=L.replace("value","").trim(),ae=te===""||te==="0"||te==="1"?0:se(te,0)-1,F=Re(C.value)?se(C.value,0):C.value;x.set(ae,F)}let P=Math.max(...Array.from(x.keys())),q=[];q.push([Vn(f,y,0),x.get(0)]);let G=y;for(let C=1;C<=P;C++){let L=y.cloneNode(!0);G.after(L),G=L,q.push([Vn(f,L,C),x.get(C)])}return q},mo=(f,y,x,w,P,q,G)=>{try{Object.defineProperty(f,w,{configurable:!0,get(){if(!y)return;let C=y.pointers[x];if(!C)return;let L=y.getTextValue(C.percent);return Re(L)?se(L,L):L},set:C=>{y.pointers[x]?y==null||y.setValue(C,x):y==null||y.addPointer(C)}}),Object.defineProperty(f,P,{configurable:!0,get(){var C,L;return(L=(C=y==null?void 0:y.pointers[x])==null?void 0:C.getAttr("aria-label"))!=null?L:void 0},set:C=>{!y||y.setAriaLabel(x,C)}}),Object.defineProperty(f,q,{configurable:!0,get(){var C,L;return(L=(C=y==null?void 0:y.styles)==null?void 0:C.pointerShapes[x])!=null?L:null},set:C=>{!y||!y.styles||y.styles.setPointerShape(x,C)}}),Object.defineProperty(f,G,{configurable:!0,get(){var C;return(C=y==null?void 0:y.pointers[x].disabled)!=null?C:!1},set:C=>{if(!y)return;let L=y==null?void 0:y.pointers[x];!L||(L.disabled=C)}})}catch(C){console.error(C)}},Ua=(f,y)=>{let x=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<Mr;w++)x.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of x)mo(f,y,w[4],w[0],w[1],w[2],w[3])},bo=(f,y,x)=>{var w;let P=(w=x.shadowRoot)==null?void 0:w.querySelector(".container");if(P)for(let q of f)y?P.prepend(q.$pointer):P.append(q.$pointer)},ln=(f,y)=>{if(!(!y||f.length<=1)){for(let x of f)x.$pointer.style.zIndex=vo.toString();y.$pointer.style.zIndex=(vo*2).toString()}},Pr=0,ir=100,tt=2,wo="0.3s",Fa=(f,y,x)=>{let w=x.map(g=>g[0]),P=null,q=null,G=null,C=null,L=Pr,te=ir,ae,F,ue=Ke,rt=tt,He=!1,N=!1,ie=!1,V=0,$e=1/0,Ie=!1,Le,Pe,Ae=!1,Ye=!1,Je=!1,kt=wo,$o=[],Zn=g=>{Ae||(g.preventDefault&&g.preventDefault(),jt(g),window.addEventListener("mousemove",jt),window.addEventListener("mouseup",cn),co(f,g))},cn=g=>{Ae||(Le=void 0,Pe=void 0,window.removeEventListener("mousemove",jt),window.removeEventListener("mouseup",cn),kt&&y.classList.add(Ct),uo(f,g))},qa=(g,$)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(g)&&kt&&y.classList.remove(Ct),w[0];let T=Va(g);if(Ie){let fe=$,Qe=kr(fe);Qe!==void 0&&(fe=De(fe,Qe)),T?(Le=fe,Pe=0,kt&&y.classList.remove(Ct)):Le!==void 0&&(Pe=fe-Le,Le=fe)}if(!Ga(g)&&!T){for(let fe of w)if(!(!fe.isClicked(g)||fe.disabled))return kt&&y.classList.remove(Ct),fe;for(let fe of w)if(P===fe)return fe}let re=1/0,me=null;for(let fe of w){if(fe.disabled)continue;let Qe=Math.abs($-fe.percent);Qe<re&&(re=Qe,me=fe)}return me},un=()=>w.findIndex(g=>P===g&&!g.disabled),jt=g=>{let $;if(ue===Te){let{height:re,top:me}=y.getBoundingClientRect(),fe=g.type.indexOf("mouse")!==-1?g.clientY:g.touches[0].clientY;$=Math.min(Math.max(0,fe-me),re)*100/re}else{let{width:re,left:me}=y.getBoundingClientRect(),fe=g.type.indexOf("mouse")!==-1?g.clientX:g.touches[0].clientX;$=Math.min(Math.max(0,fe-me),re)*100/re}if((He||N)&&($=100-$),P=qa(g.target,$),P&&ln(w,P),Ie&&w.length>1&&Pe!==void 0){let re=w[0],me=w[w.length-1],fe=re.percent+Pe<0,Qe=me.percent+Pe>100;if(fe||Qe)return;for(let Ft=0;Ft<w.length;Ft++)Be(Ft,w[Ft].percent+Pe);return}let T=un();T!==-1&&(Be(T,$),P==null||P.$pointer.focus())},fn=g=>{if(Ae||document.activeElement!==f||P!=null&&P.disabled)return;g.stopPropagation(),g.preventDefault();let $=g.deltaY<0,T=He||N,re=$?!T:T,me=un();me!==-1&&(re?Or(me,w[me].percent):Cr(me,w[me].percent))},xo=g=>{Ae||Ye||(ue===Te?N?Be(g,100):Be(g,0):He?Cr(g,w[g].percent):Or(g,w[g].percent))},So=g=>{Ae||Ye||(ue===Te?N?Be(g,0):Be(g,100):He?Or(g,w[g].percent):Cr(g,w[g].percent))},Ao=g=>{Ae||Ye||(ue===Te?N?Cr(g,w[g].percent):Or(g,w[g].percent):He?Be(g,100):Be(g,0))},_o=g=>{Ae||Ye||(ue===Te?N?Or(g,w[g].percent):Cr(g,w[g].percent):He?Be(g,0):Be(g,100))},Ga=g=>g.classList.contains("panel"),Va=g=>g.classList.contains("panel-fill"),Or=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$-=T,$<0&&($=0),Be(g,$)},Cr=(g,$)=>{if($===void 0)return;let T=kr($);T==null&&(T=1),$+=T,$>100&&($=100),Be(g,$)},Bt=()=>{!C||C.update({percents:Mo(),values:Po(),$pointers:ei(),min:Lr(),max:Oo(),data:ti(),step:Qn(),round:hn(),type:ri(),textMin:pn(),textMax:Nt(),rightToLeft:$t(),bottomToTop:ii(),pointersOverlap:Rr(),pointersMinDistance:dn(),pointersMaxDistance:ni(),rangeDragging:ct(),disabled:oi(),keyboardDisabled:Tr(),mousewheelDisabled:yn()})},Eo=()=>{Bt()},Ka=g=>{if(!(ie||w.length<=1||te===L))if(g===0){let $=$e*100/(te-L);return Math.max(0,w[g+1].percent-$)}else{let $=V*100/(te-L);return Math.min(w[g-1].percent+$,100)}},Ya=g=>{if(!(ie||w.length<=1||te===L))if(g===w.length-1){let $=$e*100/(te-L);return Math.min(w[g-1].percent+$,100)}else{let $=V*100/(te-L);return Math.max(0,w[g+1].percent-$)}},kr=g=>{let $;if(typeof ae=="function"){let T=ce(0,100,L,te,g);$=ae(T,g)}else $=ae;if(Re($)){let T=te-L;return $=T===0?0:$*100/T,$}},or=g=>{if(g===void 0)return;let $=ce(0,100,L,te,g);return F!==void 0?F[Math.round($)]:Ot($,rt)},pn=()=>F!==void 0?F[L]:L,Nt=()=>F!==void 0?F[te]:te,Qn=()=>ae,sr=g=>{var $;return g<=0||ie?pn():($=or(w[g-1].percent))!=null?$:""},Lt=g=>{var $;return w.length<=1||g>=w.length-1||ie?Nt():($=or(w[g+1].percent))!=null?$:""},Mo=()=>w.map(g=>g.percent),Po=()=>w.map(g=>or(g.percent)),ei=()=>w.map(g=>g.$pointer),Lr=()=>L,Oo=()=>te,ti=()=>F,ri=()=>ue,hn=()=>rt,dn=()=>V,ni=()=>$e,gn=g=>$o[g],$t=()=>He,ii=()=>N,oi=()=>Ae,Tr=()=>Ye,yn=()=>Je,Rr=()=>ie,ct=()=>Ie,Be=(g,$)=>{if($===void 0)return;let T=kr($);T!==void 0&&($=De($,T));let re=w[g];if(!re)return;let me=re.updatePosition($,Ka(g),Ya(g),ue,He,N);q==null||q.updatePosition(ue,w.map(fe=>fe.percent),He,N),Bt();for(let fe of w){let Qe=or(fe.percent);Qe!==void 0&&(fe.setAttr("aria-valuenow",Qe.toString()),fe.setAttr("aria-valuetext",Qe.toString()))}si(),me&&Ea(f,w.map(fe=>or(fe.percent)))},dt=()=>{for(let g=0;g<w.length;g++)Be(g,w[g].percent)},Co=(g,$)=>{L=F!==void 0?0:se(g,Pr),te=F!==void 0?F.length-1:se($,ir),Ht(L),Ut(te)},si=()=>{var g,$;for(let T=0;T<w.length;T++){let re=w[T];re.setAttr("aria-valuemin",((g=sr(T))!=null?g:"").toString()),re.setAttr("aria-valuemax",(($=Lt(T))!=null?$:"").toString())}},Ht=g=>{L=se(g,Pr),L>te&&(te=L+ir),dt()},Ut=g=>{te=se(g,ir),te<L&&(te=L+ir),dt()},vn=g=>{ie=!0;for(let $=0;$<g.length;$++)mn(g[$],$);ie=!1;for(let $=0;$<g.length;$++)mn(g[$],$)},mn=(g,$)=>{let T;F!==void 0?(T=g==null?0:Pa(g,F),T===-1&&(T=0)):(T=se(g,L),T<L&&(T=L),T>te&&(T=te));let re=ce(L,te,0,100,T);Be($,re)},bn=g=>{if(g==null){ae=void 0;return}if(typeof g=="function"){ae=g,dt();return}if(Re(g)){ae=se(g,1);let $=Math.abs(te-L);ae>$&&(ae=void 0),dt();return}ae=void 0},ai=g=>{ie=g,dt()},li=g=>{(!Re(g)||g<0)&&(g=0),V=g},ar=g=>{(!Re(g)||g<0)&&(g=1/0),$e=g},ci=g=>{Ae=g,y.classList.toggle("disabled",Ae),Ae?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},ko=g=>{Ye=g},c=g=>{Je=g,Je?document.removeEventListener("wheel",fn):document.addEventListener("wheel",fn,{passive:!1})},h=g=>{if(g==null){F=void 0;return}if(F=Ma(g),F===void 0||F.length<=0){F=void 0;return}Ht(0),Ut(F.length-1),ae===void 0&&bn(1)},b=g=>{var $;typeof g=="string"?ue=g.trim().toLowerCase()===Te?Te:Ke:ue=Ke;let T=($=f.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!T)return;T.className=`range-slider-box type-${ue}`,dt();let re=ue===Te?"vertical":"horizontal";for(let me of w)me.setAttr("aria-orientation",re)},A=g=>{He=g,w.length>1&&bo(w,He,f),dt(),Bt()},j=g=>{N=g,w.length>1&&bo(w,N,f),dt(),Bt()},k=g=>{rt=se(g,tt),rt<0&&(rt=tt),Bt()},K=g=>{g==null||g.toString().trim().toLowerCase()==="false"?(kt=void 0,y.style.removeProperty(po),y.classList.remove(Ct)):(kt=g.toString(),y.style.setProperty(po,kt),y.classList.add(Ct))},_e=(g,$)=>{let T=w[g];!T||(T.setAttr("aria-label",$),$o[g]=$)},Se=g=>{if(Le=void 0,w.length<=1){Ie=!1,y.classList.remove(an);return}Ie=g,y.classList.toggle(an,Ie)},Ue=()=>{ci(Me(f.getAttribute(W))),Ye=Me(f.getAttribute(Q)),Je=Me(f.getAttribute(z));let g=_r(f,/^pointer([0-9]*)-disabled$/,$=>Me($));for(let $ of g){let T=$[0];!w[T]||(w[T].disabled=$[1])}},Xe=()=>{let g=_r(f,/^aria-label([0-9]*)$/);for(let $ of g){let T=$[0];_e(T,$[1])}},Ze=g=>{let $=w.length,T=w[$-1].$pointer,re=T.cloneNode(!0);T.after(re);let me=Vn(f,re,$);return me.setCallbacks(xo,So,Ao,_o),w.push(me),mn(g,$),dt(),Bt(),$},ze=()=>{let g=w.length,$=w[g-1];return $?($.destroy(),w.pop(),w.length<=1&&Se(!1),dt(),Bt(),g-1):-1};return(()=>{var g,$;for(let re of w)re.setCallbacks(xo,So,Ao,_o);let T=(g=f.shadowRoot)==null?void 0:g.querySelector(".panel-fill");T&&(q=Oa(T)),b(f.getAttribute(_)),A(Me(f.getAttribute(I))),j(Me(f.getAttribute(H))),Co(f.getAttribute(d),f.getAttribute(m)),bn(f.getAttribute(v)),h(f.getAttribute(p)),vn(x.map(re=>re[1])),ai(Me(f.getAttribute(s))),li(se(f.getAttribute(l),0)),ar(se(f.getAttribute(a),1/0)),Se(Me(f.getAttribute(u))),k(se(f.getAttribute(S),tt)),Ue(),Xe(),G=Er(f,y,w),K(($=f.getAttribute(ke))!=null?$:wo),y.addEventListener("mousedown",Zn),y.addEventListener("mouseup",cn),y.addEventListener("touchmove",jt),y.addEventListener("touchstart",jt),Je||document.addEventListener("wheel",fn,{passive:!1}),C=Jn(f,Eo,{setValues:vn,setMin:Ht,setMax:Ut,setStep:bn,setPointersOverlap:ai,setPointersMinDistance:li,setPointersMaxDistance:ar,setDisabled:ci,setType:b,setRightToLeft:A,setBottomToTop:j,setRound:k,setKeyboardDisabled:ko,setMousewheelDisabled:c,setRangeDragging:Se,setData:h},{getPercents:Mo,getValues:Po,getPointerElements:ei,getMin:Lr,getMax:Oo,getStep:Qn,getData:ti,getType:ri,getRound:hn,getTextMin:pn,getTextMax:Nt,isRightToLeft:$t,isBottomToTop:ii,isDisabled:oi,isKeyboardDisabled:Tr,isMousewheelDisabled:yn,isPointersOverlap:Rr,isRangeDraggingEnabled:ct,getPointersMinDistance:dn,getPointersMaxDistance:ni}),C.init()})(),{get pointers(){return w},get styles(){return G},get pluginsManager(){return C},get min(){return pn()},get max(){return Nt()},get step(){return Qn()},get pointersOverlap(){return Rr()},set pointersOverlap(g){ai(g)},get pointersMinDistance(){return dn()},set pointersMinDistance(g){li(g)},get pointersMaxDistance(){return ni()},set pointersMaxDistance(g){ar(g)},get disabled(){return oi()},set disabled(g){ci(g)},get data(){return ti()},get type(){return ri()},set type(g){b(g)},get rightToLeft(){return $t()},set rightToLeft(g){A(g)},get bottomToTop(){return ii()},set bottomToTop(g){j(g)},get round(){return hn()},set round(g){k(g)},get animateOnClick(){return kt},set animateOnClick(g){K(g)},get keyboardDisabled(){return Tr()},set keyboardDisabled(g){ko(g)},get mousewheelDisabled(){return yn()},set mousewheelDisabled(g){c(g)},get rangeDragging(){return ct()},set rangeDragging(g){Se(g)},setMin:Ht,setMax:Ut,setValue:mn,setStep:bn,setData:h,getTextValue:or,setAriaLabel:_e,getAriaLabel:gn,addPointer:Ze,removePointer:ze,destroy:()=>{y.removeEventListener("mousedown",Zn),y.removeEventListener("mouseup",cn),y.removeEventListener("touchmove",jt),y.removeEventListener("touchstart",jt),document.removeEventListener("wheel",fn);for(let g of w)g.destroy();C==null||C.destroy()}}},Wa=(f,y,x)=>{let w=sn.find(([C,L,te,ae])=>L.replace("#","")===y.replace(/\d+/g,""));if(w&&f.styles){let[C,L,te,ae]=w,F=y.replace(/\D/g,"").trim(),ue=F===""||F==="0"||F==="1"?0:se(F,0)-1;f.styles.setStyle(C,x,ue);return}switch(f&&f.pluginsManager&&f.pluginsManager.onAttrChange(y,x),y){case d:{f.setMin(x);break}case m:{f.setMax(x);break}case v:{f.setStep(x);break}case s:{f.pointersOverlap=Me(x);break}case l:{f.pointersMinDistance=se(x,0);break}case u:{f.rangeDragging=Me(x);break}case a:{f.pointersMaxDistance=se(x,1/0);break}case W:{f.disabled=Me(x);break}case Q:{f.keyboardDisabled=Me(x);break}case z:{f.mousewheelDisabled=Me(x);break}case p:{f.setData(x);break}case _:{f.type=x;break}case I:{f.rightToLeft=Me(x);break}case H:{f.bottomToTop=Me(x);break}case S:{f.round=se(x,tt);break}case D:{f.styles&&(f.styles.theme=x);break}case ke:{f.animateOnClick=x;break}}let P=null;if(/^value([0-9]*)$/.test(y)&&(P="value"),/^pointer([0-9]*)-disabled$/.test(y)&&(P="pointer-disabled"),/^aria-label([0-9]*)$/.test(y)&&(P="aria-label"),/^pointer([0-9]*)-shape$/.test(y)&&(P="pointer-shape"),!P)return;let q=y.replace(/\D/g,"").trim(),G=q===""||q==="0"||q==="1"?0:se(q,0)-1;switch(P){case"value":{f.setValue(x,G);break}case"pointer-disabled":{let C=f==null?void 0:f.pointers[G];if(!C)return;C.disabled=Me(x);break}case"aria-label":{f.setAriaLabel(G,x);break}case"pointer-shape":{f.styles&&f.styles.setPointerShape(G,x);break}}},za=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(this,"_observer",null),this.attachShadow({mode:"open"})}set step(f){this.slider&&this.slider.setStep(f)}get step(){var f;return(f=this.slider)==null?void 0:f.step}set disabled(f){this.slider&&(this.slider.disabled=f)}get disabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.disabled)!=null?y:!1}set data(f){var y;(y=this.slider)==null||y.setData(f)}get data(){var f;return(f=this.slider)==null?void 0:f.data}set min(f){var y;(y=this.slider)==null||y.setMin(f)}get min(){var f;return(f=this.slider)==null?void 0:f.min}set max(f){var y;(y=this.slider)==null||y.setMax(f)}get max(){var f;return(f=this.slider)==null?void 0:f.max}set round(f){!this.slider||(this.slider.round=f)}get round(){var f,y;return(y=(f=this.slider)==null?void 0:f.round)!=null?y:tt}set type(f){!this.slider||(this.slider.type=f??Ke)}get type(){var f;return((f=this.slider)==null?void 0:f.type)||Ke}set pointersOverlap(f){!this.slider||(this.slider.pointersOverlap=f)}get pointersOverlap(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersOverlap)!=null?y:!1}set pointersMinDistance(f){!this.slider||(this.slider.pointersMinDistance=f)}get pointersMinDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMinDistance)!=null?y:0}set pointersMaxDistance(f){!this.slider||(this.slider.pointersMaxDistance=f)}get pointersMaxDistance(){var f,y;return(y=(f=this.slider)==null?void 0:f.pointersMaxDistance)!=null?y:1/0}set theme(f){!this.slider||!this.slider.styles||(this.slider.styles.theme=f)}get theme(){var f,y,x;return(x=(y=(f=this.slider)==null?void 0:f.styles)==null?void 0:y.theme)!=null?x:null}set rtl(f){!this.slider||(this.slider.rightToLeft=f)}get rtl(){var f,y;return(y=(f=this.slider)==null?void 0:f.rightToLeft)!=null?y:!1}set btt(f){!this.slider||(this.slider.bottomToTop=f)}get btt(){var f,y;return(y=(f=this.slider)==null?void 0:f.bottomToTop)!=null?y:!1}set keyboardDisabled(f){!this.slider||(this.slider.keyboardDisabled=f)}get keyboardDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.keyboardDisabled)!=null?y:!1}set mousewheelDisabled(f){!this.slider||(this.slider.mousewheelDisabled=f)}get mousewheelDisabled(){var f,y;return(y=(f=this.slider)==null?void 0:f.mousewheelDisabled)!=null?y:!1}set animateOnClick(f){!this.slider||(this.slider.animateOnClick=f)}get animateOnClick(){var f;return(f=this.slider)==null?void 0:f.animateOnClick}get rangeDragging(){var f,y;return(y=(f=this.slider)==null?void 0:f.rangeDragging)!=null?y:!1}set rangeDragging(f){this.slider&&(this.slider.rangeDragging=Me(f))}get externalCSSList(){return this._externalCSSList}addPointer(f){var y,x;if(!this.slider)return;let w=(x=(y=this.slider)==null?void 0:y.addPointer(f))!=null?x:0;mo(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var f;!this.slider||(f=this.slider)==null||f.removePointer()}addCSS(f){if(!this.shadowRoot)return;let y=document.createElement("style");y.textContent=f,this.shadowRoot.appendChild(y)}connectedCallback(){var f,y;if(!this.shadowRoot)return;this._externalCSSList=Na(this),this.shadowRoot.innerHTML=i(o,this._externalCSSList);let x=(f=this.shadowRoot)==null?void 0:f.querySelector(".pointer");if(!x)return;let w=(y=this.shadowRoot)==null?void 0:y.getElementById("range-slider");if(!w)return;let P=Ha(this,x);this.slider=Fa(this,w,P),Ua(this,this.slider),this._observer=new MutationObserver(q=>{q.forEach(G=>{var C;if(!this.slider||G.type!=="attributes")return;let L=G.attributeName;!L||Wa(this.slider,L,(C=this.getAttribute(L))!=null?C:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},Xn=za;window.tcRangeSlider=Xn,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",Xn),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends Xn{})})();class Sp extends it{constructor(){super();nt(this,Sr);this.filterObject={},this.tabIndex=0,this.inputHandler=pe(this,Sr,qp).bind(this),this.debouncedInputHandler=eo(this.inputHandler,0,{leading:!0})}reset(){q0(this)}createRenderRoot(){return this}render(){return qe(this.filterObject,()=>Z`
701
- ${pe(this,Sr,nl).call(this,"min","before")}
702
+ `}}Pt=new WeakSet,ba=function(n){vu(n,this)},ma=function(n){wu(n,this)},va=function(n){Bo(n,this)},hr(Zo,"properties",{filterObject:{attribute:!1,type:Object},suggestions:{attribute:!1,type:Array},selectedItems:{state:!0,type:Array},query:{state:!0,type:String},showSuggestions:{state:!0,type:Boolean},highlightedIndex:{state:!0,type:Number},filteredSuggestions:{state:!0,type:Array},type:{attribute:!0,type:String},unstyled:{type:Boolean},tabIndex:{attribute:!1,type:Number},inlineMode:{attribute:"inline-mode",type:Boolean}}),customElements.define("eox-itemfilter-select",Zo),(()=>{var t=Object.defineProperty,e=Math.pow,n=(u,g,$)=>g in u?t(u,g,{enumerable:!0,configurable:!0,writable:!0,value:$}):u[g]=$,r=(u,g,$)=>(n(u,typeof g!="symbol"?g+"":g,$),$),i=(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>`,s=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",o="pointers-overlap",l="pointers-min-distance",c="pointers-max-distance",h="range-dragging",p="data",y="min",w="max",m="step",A="round",E="type",z="theme",H="rtl",Z="btt",F="disabled",de="keyboard-disabled",te="mousewheel-disabled",X="slider-width",fe="slider-height",Ae="slider-radius",Ce="slider-bg",ye="slider-bg-hover",ie="slider-bg-fill",Ge="pointer-width",Ft="pointer-height",D="pointer-radius",S="pointer-bg",M="pointer-bg-hover",j="pointer-bg-focus",k="pointer-shadow",K="pointer-shadow-hover",G="pointer-shadow-focus",he="pointer-border",$e="pointer-border-hover",Se="pointer-border-focus",ke="animate-onclick",Be="css-links",Pe="vertical",Ue="horizontal",se=(u,g,$,v,C)=>{let B=g-u;return B===0?$:(v-$)*(C-u)/B+$},Te=u=>!isNaN(parseFloat(u))&&isFinite(u),ne=(u,g)=>Te(u)?Number(u):g,Re=(u,g)=>g===0?0:Math.round(u/g)*g,dt=(u,g=1/0)=>{if(g===1/0)return u;let $=e(10,g);return Math.round(u*$)/$},_e=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",Vi=(u,g)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:g}}))},Hr=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:g}}))},Ir=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:g}}))},Br=(u,g)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:g}}))},Ki=(u,g)=>{if(!g||g.length<=0)return;let $=g.map(C=>Te(C)?ne(C,C):C),v={values:$||[]};v.value=$[0],v.value0=$[0],v.value1=$[0];for(let C=1;C<$.length;C++)v[`value${C+1}`]=$[C];u.dispatchEvent(new CustomEvent("change",{detail:v}))},Yn=(u,g,$)=>{let v=0,C,B,U,L,T=!1,J=(q,be,Oe,Le,Me,we)=>{let ze=v;Oe!==void 0&&q>Oe&&(q=Oe),be!==void 0&&q<be&&(q=be),v=q;let qe=v;return(Le===Pe&&we||Le===Ue&&Me)&&(qe=100-qe),Le===Pe?g.style.top=`${qe}%`:g.style.left=`${qe}%`,ze!==v},re=q=>q===g||g.contains(q),I=(q,be,Oe,Le)=>{C=q,B=be,U=Oe,L=Le},oe=q=>{T=q,g.classList.toggle("disabled",T),T?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},Fe=(q,be)=>{be==null?g.removeAttribute(q):g.setAttribute(q,be)},je=q=>g.getAttribute(q),N=q=>{if(!T){switch(q.key){case"ArrowLeft":{q.preventDefault(),typeof C=="function"&&C($);break}case"ArrowRight":{q.preventDefault(),typeof B=="function"&&B($);break}case"ArrowUp":{q.preventDefault(),typeof U=="function"&&U($);break}case"ArrowDown":{q.preventDefault(),typeof L=="function"&&L($);break}}Br(u,q)}},ee=()=>{T||Vi(u,g)};return g.className=`pointer pointer-${$}`,g.addEventListener("keydown",N),g.addEventListener("click",ee),{$pointer:g,get percent(){return v},get disabled(){return T},set disabled(q){oe(q)},updatePosition:J,isClicked:re,setCallbacks:I,setAttr:Fe,getAttr:je,destroy:()=>{g.removeEventListener("keydown",N),g.removeEventListener("click",ee),g.remove()}}},Gi=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let g=u.split(","),$=[],v=!0;for(let C=0;C<g.length;C++){let B=g[C].trim();B!==""&&($.push(B),Te(B)||(v=!1))}return v?$.map(C=>Number(C)):$},Yi=(u,g)=>g?g.findIndex($=>$===u||$.toString().trim()===u.toString().trim()):-1,Fi=u=>({updatePosition:(g,$,v,C)=>{if($.length<=0)return;let B=$.length===1,U=$[0],L=$[$.length-1];g===Pe?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),B?u.style.height=`${U}%`:u.style.height=`${Math.abs(U-L)}%`,C?(u.style.bottom="0%",B?u.style.top="auto":u.style.top=`${Math.min(100-L,100-U)}%`):(u.style.bottom="auto",B?u.style.top="0%":u.style.top=`${Math.min(U,L)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),B?u.style.width=`${U}%`:u.style.width=`${Math.abs(U-L)}%`,v?(u.style.right="0%",B?u.style.left="auto":u.style.left=`${Math.min(100-L,100-U)}%`):(u.style.right="auto",B?u.style.left="0%":u.style.left=`${Math.min(U,L)}%`))}}),Ur="--animate-onclick",Zi="--width",Fn="--height",Xi="--panel-bg-border-radius",Ji="--panel-bg",Qi="--panel-bg-hover",es="--panel-bg-fill",ts="--pointer-width",bn="--pointer-height",Zn="--pointer-border-radius",zr="--pointer-bg",qr="--pointer-bg-hover",lt="--pointer-bg-focus",Tt="--pointer-shadow",ns="--pointer-shadow-hover",mn="--pointer-shadow-focus",Wr="--pointer-border",rs="--pointer-border-hover",is="--pointer-border-focus",Zt=(u,g,$)=>{let v=new Map;for(let C of u.attributes){let B=C.nodeName.trim().toLowerCase();if(!g.test(B))continue;let U=B.replace(/\D/g,"").trim(),L=U===""||U==="0"||U==="1"?0:ne(U,0)-1,T=$&&typeof $=="function"?$(C.value):C.value;v.set(L,T)}return v},ss=u=>{if(!u)return null;let g=u.getAttribute(Be);if(!g)return null;let $=g.split(";"),v=[];for(let C of $)C.trim()!==""&&v.push(C.trim());return v},vn=[[Zi,X,"sliderWidth",null],[Fn,fe,"sliderHeight",null],[Xi,Ae,"sliderRadius",null],[Ji,Ce,"sliderBg",null],[Qi,ye,"sliderBgHover",null],[es,ie,"sliderBgFill",null],[ts,Ge,"pointer#Width",/^pointer([0-9]*)-width$/],[bn,Ft,"pointer#Height",/^pointer([0-9]*)-height$/],[Zn,D,"pointer#Radius",/^pointer([0-9]*)-radius$/],[zr,S,"pointer#Bg",/^pointer([0-9]*)-bg$/],[qr,M,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[lt,j,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[Tt,k,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[ns,K,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[mn,G,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Wr,he,"pointer#Border",/^pointer([0-9]*)-border$/],[rs,$e,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[is,Se,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],Xt=(u,g,$)=>{let v=null,C=[],B=new Map,U=(N,ee=g)=>{let q=[...ee.classList];for(let be of q)be.startsWith(N)&&g.classList.remove(be)},L=()=>{U("shape");let N=g.querySelectorAll(".pointer");for(let ee of N)U("shape",ee)},T=N=>{v=N,U("theme-"),typeof N=="string"&&g.classList.add(`theme-${N}`)},J=()=>{if(L(),!(C.length<=0)){g.classList.add("shape",`shape-${C[0]}`);for(let N=1;N<C.length;N++){let ee=C[N];if(!ee)continue;let q=g.querySelector(`.pointer-${N}`);!q||q.classList.add("shape",`shape-${ee}`)}}},re=(N,ee)=>{C[N]=ee,J()},I=()=>{L();let N=Zt(u,/^pointer([0-9]*)-shape$/);if(!(N.size<=0)){for(let ee of N){let q=ee[0];C[q]=ee[1]}J()}},oe=(N,ee)=>`${N}-${ee}`,Fe=(N,ee,q)=>{let be=$[q];if(!be)return;let Oe=q===0?g:be.$pointer;if(ee==null){B.has(oe(N,q))&&B.delete(oe(N,q)),Oe.style.removeProperty(N);return}B.set(oe(N,q),ee),Oe.style.setProperty(N,ee)},je=(N,ee)=>B.get(oe(N,ee));return(()=>{for(let N of vn){let[ee,q,be,Oe]=N;if(Oe){let Me=Zt(u,Oe);for(let we of Me){let ze=we[0],qe=we[1];Fe(ee,qe,ze)}}else{let Me=u.getAttribute(q);Fe(ee,Me,0)}let Le=[];if(be.indexOf("#")===-1)Le.push([be,0]);else{Le.push([be.replace("#",""),0]),Le.push([be.replace("#","0"),0]),Le.push([be.replace("#","1"),0]);for(let Me=1;Me<$.length;Me++)Le.push([be.replace("#",(Me+1).toString()),Me])}for(let Me of Le)try{let we=Me[0],ze=Me[1];Object.prototype.hasOwnProperty.call(u,we)||Object.defineProperty(u,we,{get(){return je(ee,ze)},set:qe=>{Fe(ee,qe,ze)}})}catch(we){console.error(we)}}T(u.getAttribute(z)),I()})(),{setStyle:Fe,getStyle:je,get theme(){return v},set theme(N){T(N)},get pointerShapes(){return C},setPointerShape:re}},ft="animate-on-click",wn="range-dragging",Xn=(u,g,$,v)=>{let C=[],B=re=>{for(let I of C)I.update&&typeof I.update=="function"&&I.update(re)},U=()=>{for(let re of C)re.destroy&&typeof re.destroy=="function"&&re.destroy()},L=(re,I)=>{for(let oe of C)oe.onAttrChange&&typeof oe.onAttrChange=="function"&&oe.onAttrChange(re,I)},T=re=>{if(re.gettersAndSetters){for(let I of re.gettersAndSetters)if(!(!I.name||!I.attributes))try{Object.prototype.hasOwnProperty.call(u,I.name)||Object.defineProperty(u,I.name,I.attributes)}catch(oe){console.error("defineSettersGetters error:",oe)}}},J=re=>{var I;if(!re.css)return;let oe=(I=u.shadowRoot)==null?void 0:I.querySelector("style");!oe||(oe.innerHTML+=re.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let re of window.tcRangeSliderPlugins){let I=re();C.push(I),I.init&&typeof I.init=="function"&&(I.init(u,g,$,v),T(I),J(I))}},update:B,onAttrChange:L,destroy:U}},Jt=10,Vr=20,os=(u,g)=>{let $=new Map,v=/^value([0-9]*)$/;for(let L of u.attributes){let T=L.nodeName.trim().toLowerCase();if(!v.test(T))continue;let J=T.replace("value","").trim(),re=J===""||J==="0"||J==="1"?0:ne(J,0)-1,I=Te(L.value)?ne(L.value,0):L.value;$.set(re,I)}let C=Math.max(...Array.from($.keys())),B=[];B.push([Yn(u,g,0),$.get(0)]);let U=g;for(let L=1;L<=C;L++){let T=g.cloneNode(!0);U.after(T),U=T,B.push([Yn(u,T,L),$.get(L)])}return B},Kr=(u,g,$,v,C,B,U)=>{try{Object.defineProperty(u,v,{configurable:!0,get(){if(!g)return;let L=g.pointers[$];if(!L)return;let T=g.getTextValue(L.percent);return Te(T)?ne(T,T):T},set:L=>{g.pointers[$]?g==null||g.setValue(L,$):g==null||g.addPointer(L)}}),Object.defineProperty(u,C,{configurable:!0,get(){var L,T;return(T=(L=g==null?void 0:g.pointers[$])==null?void 0:L.getAttr("aria-label"))!=null?T:void 0},set:L=>{!g||g.setAriaLabel($,L)}}),Object.defineProperty(u,B,{configurable:!0,get(){var L,T;return(T=(L=g==null?void 0:g.styles)==null?void 0:L.pointerShapes[$])!=null?T:null},set:L=>{!g||!g.styles||g.styles.setPointerShape($,L)}}),Object.defineProperty(u,U,{configurable:!0,get(){var L;return(L=g==null?void 0:g.pointers[$].disabled)!=null?L:!1},set:L=>{if(!g)return;let T=g==null?void 0:g.pointers[$];!T||(T.disabled=L)}})}catch(L){console.error(L)}},as=(u,g)=>{let $=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let v=2;v<Jt;v++)$.push([`value${v}`,`ariaLabel${v}`,`pointer${v}Shape`,`pointer${v}Disabled`,v-1]);for(let v of $)Kr(u,g,v[4],v[0],v[1],v[2],v[3])},Gr=(u,g,$)=>{var v;let C=(v=$.shadowRoot)==null?void 0:v.querySelector(".container");if(C)for(let B of u)g?C.prepend(B.$pointer):C.append(B.$pointer)},xn=(u,g)=>{if(!(!g||u.length<=1)){for(let $ of u)$.$pointer.style.zIndex=Vr.toString();g.$pointer.style.zIndex=(Vr*2).toString()}},Qt=0,Rt=100,Ye=2,Yr="0.3s",ls=(u,g,$)=>{let v=$.map(f=>f[0]),C=null,B=null,U=null,L=null,T=Qt,J=Rt,re,I,oe=Ue,Fe=Ye,je=!1,N=!1,ee=!1,q=0,be=1/0,Oe=!1,Le,Me,we=!1,ze=!1,qe=!1,pt=Yr,Fr=[],Qn=f=>{we||(f.preventDefault&&f.preventDefault(),vt(f),window.addEventListener("mousemove",vt),window.addEventListener("mouseup",$n),Hr(u,f))},$n=f=>{we||(Le=void 0,Me=void 0,window.removeEventListener("mousemove",vt),window.removeEventListener("mouseup",$n),pt&&g.classList.add(ft),Ir(u,f))},hs=(f,x)=>{if(v.length<=0)return;if(v.length===1)return v[0].isClicked(f)&&pt&&g.classList.remove(ft),v[0];let R=fs(f);if(Oe){let ae=x,Ke=nn(ae);Ke!==void 0&&(ae=Re(ae,Ke)),R?(Le=ae,Me=0,pt&&g.classList.remove(ft)):Le!==void 0&&(Me=ae-Le,Le=ae)}if(!ds(f)&&!R){for(let ae of v)if(!(!ae.isClicked(f)||ae.disabled))return pt&&g.classList.remove(ft),ae;for(let ae of v)if(C===ae)return ae}let Q=1/0,pe=null;for(let ae of v){if(ae.disabled)continue;let Ke=Math.abs(x-ae.percent);Ke<Q&&(Q=Ke,pe=ae)}return pe},_n=()=>v.findIndex(f=>C===f&&!f.disabled),vt=f=>{let x;if(oe===Pe){let{height:Q,top:pe}=g.getBoundingClientRect(),ae=f.type.indexOf("mouse")!==-1?f.clientY:f.touches[0].clientY;x=Math.min(Math.max(0,ae-pe),Q)*100/Q}else{let{width:Q,left:pe}=g.getBoundingClientRect(),ae=f.type.indexOf("mouse")!==-1?f.clientX:f.touches[0].clientX;x=Math.min(Math.max(0,ae-pe),Q)*100/Q}if((je||N)&&(x=100-x),C=hs(f.target,x),C&&xn(v,C),Oe&&v.length>1&&Me!==void 0){let Q=v[0],pe=v[v.length-1],ae=Q.percent+Me<0,Ke=pe.percent+Me>100;if(ae||Ke)return;for(let At=0;At<v.length;At++)De(At,v[At].percent+Me);return}let R=_n();R!==-1&&(De(R,x),C==null||C.$pointer.focus())},An=f=>{if(we||document.activeElement!==u||C!=null&&C.disabled)return;f.stopPropagation(),f.preventDefault();let x=f.deltaY<0,R=je||N,Q=x?!R:R,pe=_n();pe!==-1&&(Q?en(pe,v[pe].percent):tn(pe,v[pe].percent))},Zr=f=>{we||ze||(oe===Pe?N?De(f,100):De(f,0):je?tn(f,v[f].percent):en(f,v[f].percent))},Xr=f=>{we||ze||(oe===Pe?N?De(f,0):De(f,100):je?en(f,v[f].percent):tn(f,v[f].percent))},Jr=f=>{we||ze||(oe===Pe?N?tn(f,v[f].percent):en(f,v[f].percent):je?De(f,100):De(f,0))},Qr=f=>{we||ze||(oe===Pe?N?en(f,v[f].percent):tn(f,v[f].percent):je?De(f,0):De(f,100))},ds=f=>f.classList.contains("panel"),fs=f=>f.classList.contains("panel-fill"),en=(f,x)=>{if(x===void 0)return;let R=nn(x);R==null&&(R=1),x-=R,x<0&&(x=0),De(f,x)},tn=(f,x)=>{if(x===void 0)return;let R=nn(x);R==null&&(R=1),x+=R,x>100&&(x=100),De(f,x)},wt=()=>{!L||L.update({percents:ti(),values:ni(),$pointers:tr(),min:rn(),max:ri(),data:nr(),step:er(),round:Sn(),type:rr(),textMin:Mn(),textMax:xt(),rightToLeft:ct(),bottomToTop:sr(),pointersOverlap:on(),pointersMinDistance:En(),pointersMaxDistance:ir(),rangeDragging:tt(),disabled:or(),keyboardDisabled:sn(),mousewheelDisabled:kn()})},ei=()=>{wt()},ps=f=>{if(!(ee||v.length<=1||J===T))if(f===0){let x=be*100/(J-T);return Math.max(0,v[f+1].percent-x)}else{let x=q*100/(J-T);return Math.min(v[f-1].percent+x,100)}},gs=f=>{if(!(ee||v.length<=1||J===T))if(f===v.length-1){let x=be*100/(J-T);return Math.min(v[f-1].percent+x,100)}else{let x=q*100/(J-T);return Math.max(0,v[f+1].percent-x)}},nn=f=>{let x;if(typeof re=="function"){let R=se(0,100,T,J,f);x=re(R,f)}else x=re;if(Te(x)){let R=J-T;return x=R===0?0:x*100/R,x}},Ot=f=>{if(f===void 0)return;let x=se(0,100,T,J,f);return I!==void 0?I[Math.round(x)]:dt(x,Fe)},Mn=()=>I!==void 0?I[T]:T,xt=()=>I!==void 0?I[J]:J,er=()=>re,Dt=f=>{var x;return f<=0||ee?Mn():(x=Ot(v[f-1].percent))!=null?x:""},gt=f=>{var x;return v.length<=1||f>=v.length-1||ee?xt():(x=Ot(v[f+1].percent))!=null?x:""},ti=()=>v.map(f=>f.percent),ni=()=>v.map(f=>Ot(f.percent)),tr=()=>v.map(f=>f.$pointer),rn=()=>T,ri=()=>J,nr=()=>I,rr=()=>oe,Sn=()=>Fe,En=()=>q,ir=()=>be,Cn=f=>Fr[f],ct=()=>je,sr=()=>N,or=()=>we,sn=()=>ze,kn=()=>qe,on=()=>ee,tt=()=>Oe,De=(f,x)=>{if(x===void 0)return;let R=nn(x);R!==void 0&&(x=Re(x,R));let Q=v[f];if(!Q)return;let pe=Q.updatePosition(x,ps(f),gs(f),oe,je,N);B==null||B.updatePosition(oe,v.map(ae=>ae.percent),je,N),wt();for(let ae of v){let Ke=Ot(ae.percent);Ke!==void 0&&(ae.setAttr("aria-valuenow",Ke.toString()),ae.setAttr("aria-valuetext",Ke.toString()))}ar(),pe&&Ki(u,v.map(ae=>Ot(ae.percent)))},st=()=>{for(let f=0;f<v.length;f++)De(f,v[f].percent)},ii=(f,x)=>{T=I!==void 0?0:ne(f,Qt),J=I!==void 0?I.length-1:ne(x,Rt),$t(T),_t(J)},ar=()=>{var f,x;for(let R=0;R<v.length;R++){let Q=v[R];Q.setAttr("aria-valuemin",((f=Dt(R))!=null?f:"").toString()),Q.setAttr("aria-valuemax",((x=gt(R))!=null?x:"").toString())}},$t=f=>{T=ne(f,Qt),T>J&&(J=T+Rt),st()},_t=f=>{J=ne(f,Rt),J<T&&(J=T+Rt),st()},Ln=f=>{ee=!0;for(let x=0;x<f.length;x++)Pn(f[x],x);ee=!1;for(let x=0;x<f.length;x++)Pn(f[x],x)},Pn=(f,x)=>{let R;I!==void 0?(R=f==null?0:Yi(f,I),R===-1&&(R=0)):(R=ne(f,T),R<T&&(R=T),R>J&&(R=J));let Q=se(T,J,0,100,R);De(x,Q)},Tn=f=>{if(f==null){re=void 0;return}if(typeof f=="function"){re=f,st();return}if(Te(f)){re=ne(f,1);let x=Math.abs(J-T);re>x&&(re=void 0),st();return}re=void 0},lr=f=>{ee=f,st()},cr=f=>{(!Te(f)||f<0)&&(f=0),q=f},jt=f=>{(!Te(f)||f<0)&&(f=1/0),be=f},ur=f=>{we=f,g.classList.toggle("disabled",we),we?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},si=f=>{ze=f},a=f=>{qe=f,qe?document.removeEventListener("wheel",An):document.addEventListener("wheel",An,{passive:!1})},d=f=>{if(f==null){I=void 0;return}if(I=Gi(f),I===void 0||I.length<=0){I=void 0;return}$t(0),_t(I.length-1),re===void 0&&Tn(1)},b=f=>{var x;typeof f=="string"?oe=f.trim().toLowerCase()===Pe?Pe:Ue:oe=Ue;let R=(x=u.shadowRoot)==null?void 0:x.querySelector(".range-slider-box");if(!R)return;R.className=`range-slider-box type-${oe}`,st();let Q=oe===Pe?"vertical":"horizontal";for(let pe of v)pe.setAttr("aria-orientation",Q)},_=f=>{je=f,v.length>1&&Gr(v,je,u),st(),wt()},O=f=>{N=f,v.length>1&&Gr(v,N,u),st(),wt()},P=f=>{Fe=ne(f,Ye),Fe<0&&(Fe=Ye),wt()},W=f=>{f==null||f.toString().trim().toLowerCase()==="false"?(pt=void 0,g.style.removeProperty(Ur),g.classList.remove(ft)):(pt=f.toString(),g.style.setProperty(Ur,pt),g.classList.add(ft))},xe=(f,x)=>{let R=v[f];!R||(R.setAttr("aria-label",x),Fr[f]=x)},ve=f=>{if(Le=void 0,v.length<=1){Oe=!1,g.classList.remove(wn);return}Oe=f,g.classList.toggle(wn,Oe)},Ne=()=>{ur(_e(u.getAttribute(F))),ze=_e(u.getAttribute(de)),qe=_e(u.getAttribute(te));let f=Zt(u,/^pointer([0-9]*)-disabled$/,x=>_e(x));for(let x of f){let R=x[0];!v[R]||(v[R].disabled=x[1])}},We=()=>{let f=Zt(u,/^aria-label([0-9]*)$/);for(let x of f){let R=x[0];xe(R,x[1])}},Ve=f=>{let x=v.length,R=v[x-1].$pointer,Q=R.cloneNode(!0);R.after(Q);let pe=Yn(u,Q,x);return pe.setCallbacks(Zr,Xr,Jr,Qr),v.push(pe),Pn(f,x),st(),wt(),x},He=()=>{let f=v.length,x=v[f-1];return x?(x.destroy(),v.pop(),v.length<=1&&ve(!1),st(),wt(),f-1):-1};return(()=>{var f,x;for(let Q of v)Q.setCallbacks(Zr,Xr,Jr,Qr);let R=(f=u.shadowRoot)==null?void 0:f.querySelector(".panel-fill");R&&(B=Fi(R)),b(u.getAttribute(E)),_(_e(u.getAttribute(H))),O(_e(u.getAttribute(Z))),ii(u.getAttribute(y),u.getAttribute(w)),Tn(u.getAttribute(m)),d(u.getAttribute(p)),Ln($.map(Q=>Q[1])),lr(_e(u.getAttribute(o))),cr(ne(u.getAttribute(l),0)),jt(ne(u.getAttribute(c),1/0)),ve(_e(u.getAttribute(h))),P(ne(u.getAttribute(A),Ye)),Ne(),We(),U=Xt(u,g,v),W((x=u.getAttribute(ke))!=null?x:Yr),g.addEventListener("mousedown",Qn),g.addEventListener("mouseup",$n),g.addEventListener("touchmove",vt),g.addEventListener("touchstart",vt),qe||document.addEventListener("wheel",An,{passive:!1}),L=Xn(u,ei,{setValues:Ln,setMin:$t,setMax:_t,setStep:Tn,setPointersOverlap:lr,setPointersMinDistance:cr,setPointersMaxDistance:jt,setDisabled:ur,setType:b,setRightToLeft:_,setBottomToTop:O,setRound:P,setKeyboardDisabled:si,setMousewheelDisabled:a,setRangeDragging:ve,setData:d},{getPercents:ti,getValues:ni,getPointerElements:tr,getMin:rn,getMax:ri,getStep:er,getData:nr,getType:rr,getRound:Sn,getTextMin:Mn,getTextMax:xt,isRightToLeft:ct,isBottomToTop:sr,isDisabled:or,isKeyboardDisabled:sn,isMousewheelDisabled:kn,isPointersOverlap:on,isRangeDraggingEnabled:tt,getPointersMinDistance:En,getPointersMaxDistance:ir}),L.init()})(),{get pointers(){return v},get styles(){return U},get pluginsManager(){return L},get min(){return Mn()},get max(){return xt()},get step(){return er()},get pointersOverlap(){return on()},set pointersOverlap(f){lr(f)},get pointersMinDistance(){return En()},set pointersMinDistance(f){cr(f)},get pointersMaxDistance(){return ir()},set pointersMaxDistance(f){jt(f)},get disabled(){return or()},set disabled(f){ur(f)},get data(){return nr()},get type(){return rr()},set type(f){b(f)},get rightToLeft(){return ct()},set rightToLeft(f){_(f)},get bottomToTop(){return sr()},set bottomToTop(f){O(f)},get round(){return Sn()},set round(f){P(f)},get animateOnClick(){return pt},set animateOnClick(f){W(f)},get keyboardDisabled(){return sn()},set keyboardDisabled(f){si(f)},get mousewheelDisabled(){return kn()},set mousewheelDisabled(f){a(f)},get rangeDragging(){return tt()},set rangeDragging(f){ve(f)},setMin:$t,setMax:_t,setValue:Pn,setStep:Tn,setData:d,getTextValue:Ot,setAriaLabel:xe,getAriaLabel:Cn,addPointer:Ve,removePointer:He,destroy:()=>{g.removeEventListener("mousedown",Qn),g.removeEventListener("mouseup",$n),g.removeEventListener("touchmove",vt),g.removeEventListener("touchstart",vt),document.removeEventListener("wheel",An);for(let f of v)f.destroy();L==null||L.destroy()}}},cs=(u,g,$)=>{let v=vn.find(([L,T,J,re])=>T.replace("#","")===g.replace(/\d+/g,""));if(v&&u.styles){let[L,T,J,re]=v,I=g.replace(/\D/g,"").trim(),oe=I===""||I==="0"||I==="1"?0:ne(I,0)-1;u.styles.setStyle(L,$,oe);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(g,$),g){case y:{u.setMin($);break}case w:{u.setMax($);break}case m:{u.setStep($);break}case o:{u.pointersOverlap=_e($);break}case l:{u.pointersMinDistance=ne($,0);break}case h:{u.rangeDragging=_e($);break}case c:{u.pointersMaxDistance=ne($,1/0);break}case F:{u.disabled=_e($);break}case de:{u.keyboardDisabled=_e($);break}case te:{u.mousewheelDisabled=_e($);break}case p:{u.setData($);break}case E:{u.type=$;break}case H:{u.rightToLeft=_e($);break}case Z:{u.bottomToTop=_e($);break}case A:{u.round=ne($,Ye);break}case z:{u.styles&&(u.styles.theme=$);break}case ke:{u.animateOnClick=$;break}}let C=null;if(/^value([0-9]*)$/.test(g)&&(C="value"),/^pointer([0-9]*)-disabled$/.test(g)&&(C="pointer-disabled"),/^aria-label([0-9]*)$/.test(g)&&(C="aria-label"),/^pointer([0-9]*)-shape$/.test(g)&&(C="pointer-shape"),!C)return;let B=g.replace(/\D/g,"").trim(),U=B===""||B==="0"||B==="1"?0:ne(B,0)-1;switch(C){case"value":{u.setValue($,U);break}case"pointer-disabled":{let L=u==null?void 0:u.pointers[U];if(!L)return;L.disabled=_e($);break}case"aria-label":{u.setAriaLabel(U,$);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(U,$);break}}},us=class extends HTMLElement{constructor(){super(),r(this,"slider"),r(this,"_externalCSSList",[]),r(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:Ye}set type(u){!this.slider||(this.slider.type=u??Ue)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||Ue}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=_e(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var g,$;if(!this.slider)return;let v=($=(g=this.slider)==null?void 0:g.addPointer(u))!=null?$:0;Kr(this,this.slider,v,`value${v+1}`,`ariaLabel${v+1}`,`pointerShape${v+1}`,`pointer${v+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=ss(this),this.shadowRoot.innerHTML=i(s,this._externalCSSList);let $=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!$)return;let v=(g=this.shadowRoot)==null?void 0:g.getElementById("range-slider");if(!v)return;let C=os(this,$);this.slider=ls(this,v,C),as(this,this.slider),this._observer=new MutationObserver(B=>{B.forEach(U=>{var L;if(!this.slider||U.type!=="attributes")return;let T=U.attributeName;!T||cs(this.slider,T,(L=this.getAttribute(T))!=null?L:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},Jn=us;window.tcRangeSlider=Jn,customElements.get("toolcool-range-slider")||customElements.define("toolcool-range-slider",Jn),customElements.get("tc-range-slider")||customElements.define("tc-range-slider",class extends Jn{})})();class Xo extends Xe{constructor(){super();Ze(this,Gt);this.filterObject={},this.tabIndex=0,this.inputHandler=le(this,Gt,wa).bind(this),this.debouncedInputHandler=kr(this.inputHandler,0,{leading:!0})}reset(){pu(this)}createRenderRoot(){return this}render(){return Ie(this.filterObject,()=>Y`
703
+ ${le(this,Gt,_s).call(this,"min","before")}
702
704
  <tc-range-slider
703
705
  min="${this.filterObject.min}"
704
706
  max="${this.filterObject.max}"
705
- value1="${this.filterObject.state.min}"
706
- value2="${this.filterObject.state.max}"
707
- step="1"
707
+ value1="${this.filterObject.min||this.filterObject.state.min}"
708
+ value2="${this.filterObject.max||this.filterObject.state.max}"
709
+ step="${this.filterObject.step||1}"
708
710
  @change=${this.debouncedInputHandler}
709
711
  ></tc-range-slider>
710
- ${pe(this,Sr,nl).call(this,"max","after")}
711
- `)}}Sr=new WeakSet,qp=function(r){G0(r,this)},nl=function(r,n){return V0(r,n,this)},ui(Sp,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",Sp);class gw extends it{constructor(){super();nt(this,ao);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){ew(this)}createRenderRoot(){return this}render(){return qe(this.filterObject,()=>{var r;return Z`
712
+ ${le(this,Gt,_s).call(this,"max","after")}
713
+ `)}}Gt=new WeakSet,wa=function(n){gu(n,this)},_s=function(n,r){return yu(n,r,this)},hr(Xo,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",Xo);class Hu extends Xe{constructor(){super();Ze(this,jr);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){_u(this)}createRenderRoot(){return this}render(){return Ie(this.filterObject,()=>{var n;return Y`
712
714
  <form style="display: inline">
713
- ${pi(["intersects","within"],n=>Z`
715
+ ${pr(["intersects","within"],r=>Y`
714
716
  <label>
715
717
  <input
716
718
  tabindex=${this.tabIndex}
717
719
  type="radio"
718
720
  name="mode"
719
- .checked="${(this.filterObject.state.mode||"")===n||be}"
720
- value="${n}"
721
- @click=${()=>pe(this,ao,Gp).call(this,n)}
721
+ .checked="${(this.filterObject.state.mode||"")===r||ge}"
722
+ value="${r}"
723
+ @click=${()=>le(this,jr,xa).call(this,r)}
722
724
  />
723
- <small>${n} filter geometry</small>
725
+ <small>${r} filter geometry</small>
724
726
  </label>
725
727
  `)}
726
728
  </form>
727
729
  <eox-itemfilter-spatial-filter
728
730
  exportparts="map: spatial-filter-map"
729
- .geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
730
- @filter="${n=>{this.filterObject.state.geometry=n.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
731
+ .geometry="${(n=this.filterObject.state)==null?void 0:n.geometry}"
732
+ @filter="${r=>{this.filterObject.state.geometry=r.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
731
733
  ></eox-itemfilter-spatial>
732
- `})}}ao=new WeakSet,Gp=function(r){rw(r,this)},customElements.define("eox-itemfilter-spatial",gw);class yw extends it{constructor(){super();nt(this,lo);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){pe(this,lo,Vp).call(this)}reset(){tw(this)}render(){return Z`<div id="eox-map"></div>`}}lo=new WeakSet,Vp=function(){dp(this)},customElements.define("eox-itemfilter-spatial-filter",yw);function vw(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function mw(t,e){const{code:r,target:n}=t;n.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)&&bw(r,t.target.value??"",e)))}function bw(t,e,r){const n=r.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&n&&n.classList.remove("highlighted"),t==="Backspace"&&!e){if(r.items.length){n&&(n.querySelector(".chip-item-close").click(),r.items.splice(Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(n),1));const i=r.renderRoot.querySelectorAll(".chip")[r.renderRoot.querySelectorAll(".chip").length-1];i.classList.contains("highlighted")||i.classList.add("highlighted"),r.requestUpdate()}r._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(r.renderRoot.querySelectorAll(".chip").length<1)return;let i=0;const o=r.renderRoot.querySelector(".chip.highlighted");o&&(i=Array.from(r.renderRoot.querySelectorAll(".chip")).indexOf(o),o.classList.remove("highlighted")),i=i+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&i<0&&(i=r.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&i>r.renderRoot.querySelectorAll(".chip").length-1&&(i=0),Array.from(r.renderRoot.querySelectorAll(".chip"))[i].classList.add("highlighted")}}class ww extends it{constructor(){super();nt(this,Ar);this.items={},this.controller={}}static get properties(){return{items:{attribute:!1,type:Object},controller:{attribute:!1,type:Object}}}connectedCallback(){super.connectedCallback(),this.getRootNode().addEventListener("keydown",pe(this,Ar,il).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",pe(this,Ar,il).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return Z`
734
+ `})}}jr=new WeakSet,xa=function(n){Mu(n,this)},customElements.define("eox-itemfilter-spatial",Hu);class Iu extends Xe{constructor(){super();Ze(this,Nr);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){le(this,Nr,$a).call(this)}reset(){Au(this)}render(){return Y`<div id="eox-map"></div>`}}Nr=new WeakSet,$a=function(){zo(this)},customElements.define("eox-itemfilter-spatial-filter",Iu);function Bu(t,e){e.renderRoot.querySelectorAll(".chip").forEach(n=>{n.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function Uu(t,e){const{code:n,target:r}=t;r.id==="eox-itemfilter-input-search"&&(e.parentElement.classList.contains("hidden")&&["ArrowLeft","ArrowRight","Backspace"].includes(n)||(n==="Space"&&t.preventDefault(),["Escape","Space","Enter"].includes(n)||t.stopPropagation(),["ArrowLeft","ArrowRight","Escape","Backspace"].includes(n)&&zu(n,t.target.value??"",e)))}function zu(t,e,n){const r=n.renderRoot.querySelector(".chip.highlighted");if((t==="Escape"||e)&&r&&r.classList.remove("highlighted"),t==="Backspace"&&!e){if(n.items.length){r&&(r.querySelector(".chip-item-close").click(),n.items.splice(Array.from(n.renderRoot.querySelectorAll(".chip")).indexOf(r),1));const i=n.renderRoot.querySelectorAll(".chip")[n.renderRoot.querySelectorAll(".chip").length-1];i.classList.contains("highlighted")||i.classList.add("highlighted"),n.requestUpdate()}n._dispatchEvent()}if((t==="ArrowLeft"||t==="ArrowRight")&&!e){if(n.renderRoot.querySelectorAll(".chip").length<1)return;let i=0;const s=n.renderRoot.querySelector(".chip.highlighted");s&&(i=Array.from(n.renderRoot.querySelectorAll(".chip")).indexOf(s),s.classList.remove("highlighted")),i=i+(t==="ArrowLeft"?-1:1),t==="ArrowLeft"&&i<0&&(i=n.renderRoot.querySelectorAll(".chip").length-1),t==="ArrowRight"&&i>n.renderRoot.querySelectorAll(".chip").length-1&&(i=0),Array.from(n.renderRoot.querySelectorAll(".chip"))[i].classList.add("highlighted")}}class qu extends Xe{constructor(){super();Ze(this,Yt);this.items={},this.controller={}}static get properties(){return{items:{attribute:!1,type:Object},controller:{attribute:!1,type:Object}}}connectedCallback(){super.connectedCallback(),this.getRootNode().addEventListener("keydown",le(this,Yt,As).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",le(this,Yt,As).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return Y`
733
735
  <style>
734
- ${Pn}
736
+ ${Un}
735
737
  </style>
736
738
  <span class="chip-container">
737
- ${pi(this.items,r=>Z`
738
- <span class="chip" @click=${pe(this,Ar,Kp).bind(this)}>
739
- <span class="chip-title">${r.title}</span>
739
+ ${pr(this.items,n=>Y`
740
+ <span class="chip" @click=${le(this,Yt,_a).bind(this)}>
741
+ <span class="chip-title">${n.title}</span>
740
742
  <span
741
743
  class="chip-item-close hidden"
742
- data-close=${r.key}
743
- @click=${n=>{n.stopPropagation(),this.controller.remove(n),this.requestUpdate()}}
744
+ data-close=${n.key}
745
+ @click=${r=>{r.stopPropagation(),this.controller.remove(r),this.requestUpdate()}}
744
746
  ></span>
745
747
  </span>
746
748
  </span>
747
749
  `)}
748
750
  </span>
749
- `}}Ar=new WeakSet,il=function(r){mw(r,this)},Kp=function(r){vw(r,this)},customElements.define("eox-itemfilter-chips",ww);const $w=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,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),Ap=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var xw=200,ba="__lodash_hash_undefined__",Sw=1/0,Aw="[object Function]",_w="[object GeneratorFunction]",Ew=/[\\^$.*+?()[\]{}|]/g,Mw=/^\[object .+?Constructor\]$/,Pw=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,Ow=typeof self=="object"&&self&&self.Object===Object&&self,wa=Pw||Ow||Function("return this")();function Cw(t,e){var r=t?t.length:0;return!!r&&Lw(t,e,0)>-1}function kw(t,e,r,n){for(var i=t.length,o=r+-1;++o<i;)if(e(t[o],o,t))return o;return-1}function Lw(t,e,r){if(e!==e)return kw(t,Tw,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function Tw(t){return t!==t}function Rw(t,e){return t.has(e)}function Dw(t,e){return t==null?void 0:t[e]}function Iw(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function _p(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var jw=Array.prototype,Bw=Function.prototype,Ep=Object.prototype,$a=wa["__core-js_shared__"],Mp=function(){var t=/[^.]+$/.exec($a&&$a.keys&&$a.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Pp=Bw.toString,xa=Ep.hasOwnProperty,Nw=Ep.toString,Hw=RegExp("^"+Pp.call(xa).replace(Ew,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Uw=jw.splice,Fw=Aa(wa,"Map"),Sa=Aa(wa,"Set"),qn=Aa(Object,"create");function $r(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Ww(){this.__data__=qn?qn(null):{}}function zw(t){return this.has(t)&&delete this.__data__[t]}function qw(t){var e=this.__data__;if(qn){var r=e[t];return r===ba?void 0:r}return xa.call(e,t)?e[t]:void 0}function Gw(t){var e=this.__data__;return qn?e[t]!==void 0:xa.call(e,t)}function Vw(t,e){var r=this.__data__;return r[t]=qn&&e===void 0?ba:e,this}$r.prototype.clear=Ww,$r.prototype.delete=zw,$r.prototype.get=qw,$r.prototype.has=Gw,$r.prototype.set=Vw;function Qr(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Kw(){this.__data__=[]}function Yw(t){var e=this.__data__,r=ro(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():Uw.call(e,r,1),!0}function Jw(t){var e=this.__data__,r=ro(e,t);return r<0?void 0:e[r][1]}function Xw(t){return ro(this.__data__,t)>-1}function Zw(t,e){var r=this.__data__,n=ro(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}Qr.prototype.clear=Kw,Qr.prototype.delete=Yw,Qr.prototype.get=Jw,Qr.prototype.has=Xw,Qr.prototype.set=Zw;function en(t){var e=-1,r=t?t.length:0;for(this.clear();++e<r;){var n=t[e];this.set(n[0],n[1])}}function Qw(){this.__data__={hash:new $r,map:new(Fw||Qr),string:new $r}}function e1(t){return no(this,t).delete(t)}function t1(t){return no(this,t).get(t)}function r1(t){return no(this,t).has(t)}function n1(t,e){return no(this,t).set(t,e),this}en.prototype.clear=Qw,en.prototype.delete=e1,en.prototype.get=t1,en.prototype.has=r1,en.prototype.set=n1;function to(t){var e=-1,r=t?t.length:0;for(this.__data__=new en;++e<r;)this.add(t[e])}function i1(t){return this.__data__.set(t,ba),this}function o1(t){return this.__data__.has(t)}to.prototype.add=to.prototype.push=i1,to.prototype.has=o1;function ro(t,e){for(var r=t.length;r--;)if(h1(t[r][0],e))return r;return-1}function s1(t){if(!Op(t)||u1(t))return!1;var e=d1(t)||Iw(t)?Hw:Mw;return e.test(f1(t))}function a1(t,e,r){var n=-1,i=Cw,o=t.length,s=!0,l=[],a=l;if(o>=xw){var u=l1(t);if(u)return _p(u);s=!1,i=Rw,a=new to}else a=l;e:for(;++n<o;){var p=t[n],d=p;if(p=p!==0?p:0,s&&d===d){for(var m=a.length;m--;)if(a[m]===d)continue e;l.push(p)}else i(a,d,r)||(a!==l&&a.push(d),l.push(p))}return l}var l1=Sa&&1/_p(new Sa([,-0]))[1]==Sw?function(t){return new Sa(t)}:g1;function no(t,e){var r=t.__data__;return c1(e)?r[typeof e=="string"?"string":"hash"]:r.map}function Aa(t,e){var r=Dw(t,e);return s1(r)?r:void 0}function c1(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function u1(t){return!!Mp&&Mp in t}function f1(t){if(t!=null){try{return Pp.call(t)}catch{}try{return t+""}catch{}}return""}function p1(t){return t&&t.length?a1(t):[]}function h1(t,e){return t===e||t!==t&&e!==e}function d1(t){var e=Op(t)?Nw.call(t):"";return e==Aw||e==_w}function Op(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function g1(){}var y1=p1;const Cp=kn(y1);var io={exports:{}};io.exports,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",o=1,s=2,l=1/0,a=9007199254740991,u="[object Arguments]",p="[object Array]",d="[object Boolean]",m="[object Date]",v="[object Error]",S="[object Function]",_="[object GeneratorFunction]",D="[object Map]",I="[object Number]",H="[object Object]",W="[object Promise]",Q="[object RegExp]",z="[object Set]",U="[object String]",ee="[object Symbol]",oe="[object WeakMap]",we="[object ArrayBuffer]",de="[object DataView]",ne="[object Float32Array]",je="[object Float64Array]",et="[object Int8Array]",R="[object Int16Array]",M="[object Int32Array]",E="[object Uint8Array]",B="[object Uint8ClampedArray]",O="[object Uint16Array]",J="[object Uint32Array]",X=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,Ee=/^\./,Oe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ke=/[\\^$.*+?()[\]{}|]/g,Ve=/\\(\\)?/g,Te=/^\[object .+?Constructor\]$/,Ke=/^(?:0|[1-9]\d*)$/,ce={};ce[ne]=ce[je]=ce[et]=ce[R]=ce[M]=ce[E]=ce[B]=ce[O]=ce[J]=!0,ce[u]=ce[p]=ce[we]=ce[d]=ce[de]=ce[m]=ce[v]=ce[S]=ce[D]=ce[I]=ce[H]=ce[Q]=ce[z]=ce[U]=ce[oe]=!1;var Re=typeof Fe=="object"&&Fe&&Fe.Object===Object&&Fe,se=typeof self=="object"&&self&&self.Object===Object&&self,De=Re||se||Function("return this")(),Ot=e&&!e.nodeType&&e,Me=Ot&&!0&&t&&!t.nodeType&&t,_a=Me&&Me.exports===Ot,co=_a&&Re.process,uo=function(){try{return co&&co.binding("util")}catch{}}(),fo=uo&&uo.isTypedArray;function Ea(c,h){for(var b=-1,A=c?c.length:0,j=Array(A);++b<A;)j[b]=h(c[b],b,c);return j}function Vn(c,h){for(var b=-1,A=h.length,j=c.length;++b<A;)c[j+b]=h[b];return c}function Ma(c,h){for(var b=-1,A=c?c.length:0;++b<A;)if(h(c[b],b,c))return!0;return!1}function Pa(c){return function(h){return h==null?void 0:h[c]}}function Oa(c,h){for(var b=-1,A=Array(c);++b<c;)A[b]=h(b);return A}function po(c){return function(h){return c(h)}}function Ca(c,h){return c==null?void 0:c[h]}function Kn(c){var h=!1;if(c!=null&&typeof c.toString!="function")try{h=!!(c+"")}catch{}return h}function ka(c){var h=-1,b=Array(c.size);return c.forEach(function(A,j){b[++h]=[j,A]}),b}function La(c,h){return function(b){return c(h(b))}}function Ta(c){var h=-1,b=Array(c.size);return c.forEach(function(A){b[++h]=A}),b}var Ra=Array.prototype,Da=Function.prototype,nn=Object.prototype,Yn=De["__core-js_shared__"],ho=function(){var c=/[^.]+$/.exec(Yn&&Yn.keys&&Yn.keys.IE_PROTO||"");return c?"Symbol(src)_1."+c:""}(),go=Da.toString,wt=nn.hasOwnProperty,nr=nn.toString,Ia=RegExp("^"+go.call(wt).replace(ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),on=De.Symbol,yo=De.Uint8Array,ja=nn.propertyIsEnumerable,Ba=Ra.splice,_r=on?on.isConcatSpreadable:void 0,Na=La(Object.keys,Object),sn=sr(De,"DataView"),Er=sr(De,"Map"),Ct=sr(De,"Promise"),an=sr(De,"Set"),Jn=sr(De,"WeakMap"),Mr=sr(Object,"create"),vo=$t(sn),Ha=$t(Er),mo=$t(Ct),Ua=$t(an),bo=$t(Jn),ln=on?on.prototype:void 0,Pr=ln?ln.valueOf:void 0,ir=ln?ln.toString:void 0;function tt(c){var h=-1,b=c?c.length:0;for(this.clear();++h<b;){var A=c[h];this.set(A[0],A[1])}}function wo(){this.__data__=Mr?Mr(null):{}}function Fa(c){return this.has(c)&&delete this.__data__[c]}function Wa(c){var h=this.__data__;if(Mr){var b=h[c];return b===i?void 0:b}return wt.call(h,c)?h[c]:void 0}function za(c){var h=this.__data__;return Mr?h[c]!==void 0:wt.call(h,c)}function Xn(c,h){var b=this.__data__;return b[c]=Mr&&h===void 0?i:h,this}tt.prototype.clear=wo,tt.prototype.delete=Fa,tt.prototype.get=Wa,tt.prototype.has=za,tt.prototype.set=Xn;function f(c){var h=-1,b=c?c.length:0;for(this.clear();++h<b;){var A=c[h];this.set(A[0],A[1])}}function y(){this.__data__=[]}function x(c){var h=this.__data__,b=Ae(h,c);if(b<0)return!1;var A=h.length-1;return b==A?h.pop():Ba.call(h,b,1),!0}function w(c){var h=this.__data__,b=Ae(h,c);return b<0?void 0:h[b][1]}function P(c){return Ae(this.__data__,c)>-1}function q(c,h){var b=this.__data__,A=Ae(b,c);return A<0?b.push([c,h]):b[A][1]=h,this}f.prototype.clear=y,f.prototype.delete=x,f.prototype.get=w,f.prototype.has=P,f.prototype.set=q;function G(c){var h=-1,b=c?c.length:0;for(this.clear();++h<b;){var A=c[h];this.set(A[0],A[1])}}function C(){this.__data__={hash:new tt,map:new(Er||f),string:new tt}}function L(c){return Nt(this,c).delete(c)}function te(c){return Nt(this,c).get(c)}function ae(c){return Nt(this,c).has(c)}function F(c,h){return Nt(this,c).set(c,h),this}G.prototype.clear=C,G.prototype.delete=L,G.prototype.get=te,G.prototype.has=ae,G.prototype.set=F;function ue(c){var h=-1,b=c?c.length:0;for(this.__data__=new G;++h<b;)this.add(c[h])}function rt(c){return this.__data__.set(c,i),this}function He(c){return this.__data__.has(c)}ue.prototype.add=ue.prototype.push=rt,ue.prototype.has=He;function N(c){this.__data__=new f(c)}function ie(){this.__data__=new f}function V(c){return this.__data__.delete(c)}function $e(c){return this.__data__.get(c)}function Ie(c){return this.__data__.has(c)}function Le(c,h){var b=this.__data__;if(b instanceof f){var A=b.__data__;if(!Er||A.length<r-1)return A.push([c,h]),this;b=this.__data__=new G(A)}return b.set(c,h),this}N.prototype.clear=ie,N.prototype.delete=V,N.prototype.get=$e,N.prototype.has=Ie,N.prototype.set=Le;function Pe(c,h){var b=ct(c)||Rr(c)?Oa(c.length,String):[],A=b.length,j=!!A;for(var k in c)wt.call(c,k)&&!(j&&(k=="length"||ei(k,A)))&&b.push(k);return b}function Ae(c,h){for(var b=c.length;b--;)if(yn(c[b][0],h))return b;return-1}var Ye=Ka($o);function Je(c,h,b,A,j){var k=-1,K=c.length;for(b||(b=Po),j||(j=[]);++k<K;){var _e=c[k];b(_e)?Vn(j,_e):j[j.length]=_e}return j}var kt=Ya();function $o(c,h){return c&&kt(c,h,ar)}function Zn(c,h){h=Lr(h,c)?[h]:Eo(h);for(var b=0,A=h.length;c!=null&&b<A;)c=c[gn(h[b++])];return b&&b==A?c:void 0}function cn(c){return nr.call(c)}function qa(c,h){return c!=null&&h in Object(c)}function un(c,h,b,A,j){return c===h?!0:c==null||h==null||!Ht(c)&&!Ut(h)?c!==c&&h!==h:jt(c,h,un,b,A,j)}function jt(c,h,b,A,j,k){var K=ct(c),_e=ct(h),Se=p,Ue=p;K||(Se=Lt(c),Se=Se==u?H:Se),_e||(Ue=Lt(h),Ue=Ue==u?H:Ue);var Xe=Se==H&&!Kn(c),Ze=Ue==H&&!Kn(h),ze=Se==Ue;if(ze&&!Xe)return k||(k=new N),K||mn(c)?kr(c,h,b,A,j,k):or(c,h,Se,b,A,j,k);if(!(j&s)){var g=Xe&&wt.call(c,"__wrapped__"),$=Ze&&wt.call(h,"__wrapped__");if(g||$){var T=g?c.value():c,re=$?h.value():h;return k||(k=new N),b(T,re,A,j,k)}}return ze?(k||(k=new N),pn(c,h,b,A,j,k)):!1}function fn(c,h,b,A){var j=b.length,k=j;if(c==null)return!k;for(c=Object(c);j--;){var K=b[j];if(K[2]?K[1]!==c[K[0]]:!(K[0]in c))return!1}for(;++j<k;){K=b[j];var _e=K[0],Se=c[_e],Ue=K[1];if(K[2]){if(Se===void 0&&!(_e in c))return!1}else{var Xe=new N,Ze;if(!(Ze===void 0?un(Ue,Se,A,o|s,Xe):Ze))return!1}}return!0}function xo(c){if(!Ht(c)||ti(c))return!1;var h=Co(c)||Kn(c)?Ia:Te;return h.test($t(c))}function So(c){return Ut(c)&&si(c.length)&&!!ce[nr.call(c)]}function Ao(c){return typeof c=="function"?c:c==null?ci:typeof c=="object"?ct(c)?Or(c[0],c[1]):Va(c):ko(c)}function _o(c){if(!ri(c))return Na(c);var h=[];for(var b in Object(c))wt.call(c,b)&&b!="constructor"&&h.push(b);return h}function Ga(c,h){var b=-1,A=Be(c)?Array(c.length):[];return Ye(c,function(j,k,K){A[++b]=h(j,k,K)}),A}function Va(c){var h=Qn(c);return h.length==1&&h[0][2]?dn(h[0][0],h[0][1]):function(b){return b===c||fn(b,c,h)}}function Or(c,h){return Lr(c)&&hn(h)?dn(gn(c),h):function(b){var A=ai(b,c);return A===void 0&&A===h?li(b,c):un(h,A,void 0,o|s)}}function Cr(c){return function(h){return Zn(h,c)}}function Bt(c){if(typeof c=="string")return c;if(vn(c))return ir?ir.call(c):"";var h=c+"";return h=="0"&&1/c==-l?"-0":h}function Eo(c){return ct(c)?c:ni(c)}function Ka(c,h){return function(b,A){if(b==null)return b;if(!Be(b))return c(b,A);for(var j=b.length,k=-1,K=Object(b);++k<j&&A(K[k],k,K)!==!1;);return b}}function Ya(c){return function(h,b,A){for(var j=-1,k=Object(h),K=A(h),_e=K.length;_e--;){var Se=K[++j];if(b(k[Se],Se,k)===!1)break}return h}}function kr(c,h,b,A,j,k){var K=j&s,_e=c.length,Se=h.length;if(_e!=Se&&!(K&&Se>_e))return!1;var Ue=k.get(c);if(Ue&&k.get(h))return Ue==h;var Xe=-1,Ze=!0,ze=j&o?new ue:void 0;for(k.set(c,h),k.set(h,c);++Xe<_e;){var g=c[Xe],$=h[Xe];if(A)var T=K?A($,g,Xe,h,c,k):A(g,$,Xe,c,h,k);if(T!==void 0){if(T)continue;Ze=!1;break}if(ze){if(!Ma(h,function(re,me){if(!ze.has(me)&&(g===re||b(g,re,A,j,k)))return ze.add(me)})){Ze=!1;break}}else if(!(g===$||b(g,$,A,j,k))){Ze=!1;break}}return k.delete(c),k.delete(h),Ze}function or(c,h,b,A,j,k,K){switch(b){case de:if(c.byteLength!=h.byteLength||c.byteOffset!=h.byteOffset)return!1;c=c.buffer,h=h.buffer;case we:return!(c.byteLength!=h.byteLength||!A(new yo(c),new yo(h)));case d:case m:case I:return yn(+c,+h);case v:return c.name==h.name&&c.message==h.message;case Q:case U:return c==h+"";case D:var _e=ka;case z:var Se=k&s;if(_e||(_e=Ta),c.size!=h.size&&!Se)return!1;var Ue=K.get(c);if(Ue)return Ue==h;k|=o,K.set(c,h);var Xe=kr(_e(c),_e(h),A,j,k,K);return K.delete(c),Xe;case ee:if(Pr)return Pr.call(c)==Pr.call(h)}return!1}function pn(c,h,b,A,j,k){var K=j&s,_e=ar(c),Se=_e.length,Ue=ar(h),Xe=Ue.length;if(Se!=Xe&&!K)return!1;for(var Ze=Se;Ze--;){var ze=_e[Ze];if(!(K?ze in h:wt.call(h,ze)))return!1}var g=k.get(c);if(g&&k.get(h))return g==h;var $=!0;k.set(c,h),k.set(h,c);for(var T=K;++Ze<Se;){ze=_e[Ze];var re=c[ze],me=h[ze];if(A)var fe=K?A(me,re,ze,h,c,k):A(re,me,ze,c,h,k);if(!(fe===void 0?re===me||b(re,me,A,j,k):fe)){$=!1;break}T||(T=ze=="constructor")}if($&&!T){var Qe=c.constructor,Ft=h.constructor;Qe!=Ft&&"constructor"in c&&"constructor"in h&&!(typeof Qe=="function"&&Qe instanceof Qe&&typeof Ft=="function"&&Ft instanceof Ft)&&($=!1)}return k.delete(c),k.delete(h),$}function Nt(c,h){var b=c.__data__;return Oo(h)?b[typeof h=="string"?"string":"hash"]:b.map}function Qn(c){for(var h=ar(c),b=h.length;b--;){var A=h[b],j=c[A];h[b]=[A,j,hn(j)]}return h}function sr(c,h){var b=Ca(c,h);return xo(b)?b:void 0}var Lt=cn;(sn&&Lt(new sn(new ArrayBuffer(1)))!=de||Er&&Lt(new Er)!=D||Ct&&Lt(Ct.resolve())!=W||an&&Lt(new an)!=z||Jn&&Lt(new Jn)!=oe)&&(Lt=function(c){var h=nr.call(c),b=h==H?c.constructor:void 0,A=b?$t(b):void 0;if(A)switch(A){case vo:return de;case Ha:return D;case mo:return W;case Ua:return z;case bo:return oe}return h});function Mo(c,h,b){h=Lr(h,c)?[h]:Eo(h);for(var A,j=-1,K=h.length;++j<K;){var k=gn(h[j]);if(!(A=c!=null&&b(c,k)))break;c=c[k]}if(A)return A;var K=c?c.length:0;return!!K&&si(K)&&ei(k,K)&&(ct(c)||Rr(c))}function Po(c){return ct(c)||Rr(c)||!!(_r&&c&&c[_r])}function ei(c,h){return h=h??a,!!h&&(typeof c=="number"||Ke.test(c))&&c>-1&&c%1==0&&c<h}function Lr(c,h){if(ct(c))return!1;var b=typeof c;return b=="number"||b=="symbol"||b=="boolean"||c==null||vn(c)?!0:ye.test(c)||!X.test(c)||h!=null&&c in Object(h)}function Oo(c){var h=typeof c;return h=="string"||h=="number"||h=="symbol"||h=="boolean"?c!=="__proto__":c===null}function ti(c){return!!ho&&ho in c}function ri(c){var h=c&&c.constructor,b=typeof h=="function"&&h.prototype||nn;return c===b}function hn(c){return c===c&&!Ht(c)}function dn(c,h){return function(b){return b==null?!1:b[c]===h&&(h!==void 0||c in Object(b))}}var ni=Tr(function(c){c=bn(c);var h=[];return Ee.test(c)&&h.push(""),c.replace(Oe,function(b,A,j,k){h.push(j?k.replace(Ve,"$1"):A||b)}),h});function gn(c){if(typeof c=="string"||vn(c))return c;var h=c+"";return h=="0"&&1/c==-l?"-0":h}function $t(c){if(c!=null){try{return go.call(c)}catch{}try{return c+""}catch{}}return""}function ii(c,h){return Je(oi(c,h))}function oi(c,h){var b=ct(c)?Ea:Ga;return b(c,Ao(h))}function Tr(c,h){if(typeof c!="function"||h&&typeof h!="function")throw new TypeError(n);var b=function(){var A=arguments,j=h?h.apply(this,A):A[0],k=b.cache;if(k.has(j))return k.get(j);var K=c.apply(this,A);return b.cache=k.set(j,K),K};return b.cache=new(Tr.Cache||G),b}Tr.Cache=G;function yn(c,h){return c===h||c!==c&&h!==h}function Rr(c){return dt(c)&&wt.call(c,"callee")&&(!ja.call(c,"callee")||nr.call(c)==u)}var ct=Array.isArray;function Be(c){return c!=null&&si(c.length)&&!Co(c)}function dt(c){return Ut(c)&&Be(c)}function Co(c){var h=Ht(c)?nr.call(c):"";return h==S||h==_}function si(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=a}function Ht(c){var h=typeof c;return!!c&&(h=="object"||h=="function")}function Ut(c){return!!c&&typeof c=="object"}function vn(c){return typeof c=="symbol"||Ut(c)&&nr.call(c)==ee}var mn=fo?po(fo):So;function bn(c){return c==null?"":Bt(c)}function ai(c,h,b){var A=c==null?void 0:Zn(c,h);return A===void 0?b:A}function li(c,h){return c!=null&&Mo(c,h,qa)}function ar(c){return Be(c)?Pe(c):_o(c)}function ci(c){return c}function ko(c){return Lr(c)?Pa(gn(c)):Cr(c)}t.exports=ii}(io,io.exports);var v1=io.exports;const kp=kn(v1);function m1(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const s={},l=u=>o.format==="date"?Wn(u).unix():parseInt(u,10);e.forEach(u=>{var p;if(o.type==="range"){if(Array.isArray(u[o.key])){const d=[l(u[o.key][0]),l(u[o.key][1])];s.min=s.min!==void 0?Math.min(s.min,d[0]):d[0],s.max=s.max!==void 0?Math.max(s.max,d[1]):d[1]}else{const d=l(u[o.key]);s.min=s.min!==void 0?Math.min(s.min,d):d,s.max=s.max!==void 0?Math.max(s.max,d):d}return}Array.isArray(u[o.key])?u[o.key].forEach(d=>{s[d]=void 0}):o.type==="spatial"?(s.geometry=void 0,s.mode=o.mode||"intersects"):(p=o.key)!=null&&p.includes(".")?Cp(kp(r.items,o.key)).filter(d=>d).forEach(d=>{s[d]=void 0}):s[u[o.key]]=void 0});const a=o.key||o.keys.join("|");r.filters[a]=Object.assign({type:o.type||"multiselect",dirty:o.state?!1:void 0,key:a},o.type==="range"?{min:s.min,max:s.max,format:o.format}:{},o),r.filters[a].state=Object.assign({},s,o.state)}),t.matchAllWhenEmpty!==!1&&(r.results=r.sortResults(e),r.requestUpdate()),t.aggregateResults&&(n=Array.from(new Set(e.reduce((o,s)=>o.concat(s[t.aggregateResults]),[]))).sort((o,s)=>o.localeCompare(s)));const i=[];return Object.values(r.filters).forEach(o=>{o.type==="text"?o.keys.forEach(s=>{i.includes(s)||i.push(s)}):(o.type==="select"||o.type==="multiselect")&&(i.includes(o.key)||i.push(o.key))}),b0(e,Object.assign({keys:i},t.fuseConfig)),n}async function b1(t,e,r){let n;r.externalFilter?n=await S0(e,r.filters,t):n=await w0(e,r.filters,t),r.results=r.sortResults(n)}function w1(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return Z`<eox-itemfilter-text
751
+ `}}Yt=new WeakSet,As=function(n){Uu(n,this)},_a=function(n){Bu(n,this)},customElements.define("eox-itemfilter-chips",qu);const Wu=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,expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0}),Jo=["aggregateResults","autoSpreadSingle","enableHighlighting","externalFilter","filterProperties","fuseConfig","inlineMode","matchAllWhenEmpty","showResults","titleProperty","subTitleProperty","idProperty","expandMultipleFilters","expandResults","expandMultipleResults","items"];var Vu=200,Ii="__lodash_hash_undefined__",Ku=1/0,Gu="[object Function]",Yu="[object GeneratorFunction]",Fu=/[\\^$.*+?()[\]{}|]/g,Zu=/^\[object .+?Constructor\]$/,Xu=typeof et=="object"&&et&&et.Object===Object&&et,Ju=typeof self=="object"&&self&&self.Object===Object&&self,Bi=Xu||Ju||Function("return this")();function Qu(t,e){var n=t?t.length:0;return!!n&&th(t,e,0)>-1}function eh(t,e,n,r){for(var i=t.length,s=n+-1;++s<i;)if(e(t[s],s,t))return s;return-1}function th(t,e,n){if(e!==e)return eh(t,nh,n);for(var r=n-1,i=t.length;++r<i;)if(t[r]===e)return r;return-1}function nh(t){return t!==t}function rh(t,e){return t.has(e)}function ih(t,e){return t==null?void 0:t[e]}function sh(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Qo(t){var e=-1,n=Array(t.size);return t.forEach(function(r){n[++e]=r}),n}var oh=Array.prototype,ah=Function.prototype,ea=Object.prototype,Ui=Bi["__core-js_shared__"],ta=function(){var t=/[^.]+$/.exec(Ui&&Ui.keys&&Ui.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),na=ah.toString,zi=ea.hasOwnProperty,lh=ea.toString,ch=RegExp("^"+na.call(zi).replace(Fu,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),uh=oh.splice,hh=Wi(Bi,"Map"),qi=Wi(Bi,"Set"),Kn=Wi(Object,"create");function Vt(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function dh(){this.__data__=Kn?Kn(null):{}}function fh(t){return this.has(t)&&delete this.__data__[t]}function ph(t){var e=this.__data__;if(Kn){var n=e[t];return n===Ii?void 0:n}return zi.call(e,t)?e[t]:void 0}function gh(t){var e=this.__data__;return Kn?e[t]!==void 0:zi.call(e,t)}function yh(t,e){var n=this.__data__;return n[t]=Kn&&e===void 0?Ii:e,this}Vt.prototype.clear=dh,Vt.prototype.delete=fh,Vt.prototype.get=ph,Vt.prototype.has=gh,Vt.prototype.set=yh;function fn(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function bh(){this.__data__=[]}function mh(t){var e=this.__data__,n=Pr(e,t);if(n<0)return!1;var r=e.length-1;return n==r?e.pop():uh.call(e,n,1),!0}function vh(t){var e=this.__data__,n=Pr(e,t);return n<0?void 0:e[n][1]}function wh(t){return Pr(this.__data__,t)>-1}function xh(t,e){var n=this.__data__,r=Pr(n,t);return r<0?n.push([t,e]):n[r][1]=e,this}fn.prototype.clear=bh,fn.prototype.delete=mh,fn.prototype.get=vh,fn.prototype.has=wh,fn.prototype.set=xh;function pn(t){var e=-1,n=t?t.length:0;for(this.clear();++e<n;){var r=t[e];this.set(r[0],r[1])}}function $h(){this.__data__={hash:new Vt,map:new(hh||fn),string:new Vt}}function _h(t){return Tr(this,t).delete(t)}function Ah(t){return Tr(this,t).get(t)}function Mh(t){return Tr(this,t).has(t)}function Sh(t,e){return Tr(this,t).set(t,e),this}pn.prototype.clear=$h,pn.prototype.delete=_h,pn.prototype.get=Ah,pn.prototype.has=Mh,pn.prototype.set=Sh;function Lr(t){var e=-1,n=t?t.length:0;for(this.__data__=new pn;++e<n;)this.add(t[e])}function Eh(t){return this.__data__.set(t,Ii),this}function Ch(t){return this.__data__.has(t)}Lr.prototype.add=Lr.prototype.push=Eh,Lr.prototype.has=Ch;function Pr(t,e){for(var n=t.length;n--;)if(jh(t[n][0],e))return n;return-1}function kh(t){if(!ra(t)||Rh(t))return!1;var e=Nh(t)||sh(t)?ch:Zu;return e.test(Oh(t))}function Lh(t,e,n){var r=-1,i=Qu,s=t.length,o=!0,l=[],c=l;if(s>=Vu){var h=Ph(t);if(h)return Qo(h);o=!1,i=rh,c=new Lr}else c=l;e:for(;++r<s;){var p=t[r],y=p;if(p=p!==0?p:0,o&&y===y){for(var w=c.length;w--;)if(c[w]===y)continue e;l.push(p)}else i(c,y,n)||(c!==l&&c.push(y),l.push(p))}return l}var Ph=qi&&1/Qo(new qi([,-0]))[1]==Ku?function(t){return new qi(t)}:Hh;function Tr(t,e){var n=t.__data__;return Th(e)?n[typeof e=="string"?"string":"hash"]:n.map}function Wi(t,e){var n=ih(t,e);return kh(n)?n:void 0}function Th(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function Rh(t){return!!ta&&ta in t}function Oh(t){if(t!=null){try{return na.call(t)}catch{}try{return t+""}catch{}}return""}function Dh(t){return t&&t.length?Lh(t):[]}function jh(t,e){return t===e||t!==t&&e!==e}function Nh(t){var e=ra(t)?lh.call(t):"";return e==Gu||e==Yu}function ra(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function Hh(){}var Ih=Dh;const ia=Er(Ih);var Rr={exports:{}};Rr.exports,function(t,e){var n=200,r="Expected a function",i="__lodash_hash_undefined__",s=1,o=2,l=1/0,c=9007199254740991,h="[object Arguments]",p="[object Array]",y="[object Boolean]",w="[object Date]",m="[object Error]",A="[object Function]",E="[object GeneratorFunction]",z="[object Map]",H="[object Number]",Z="[object Object]",F="[object Promise]",de="[object RegExp]",te="[object Set]",X="[object String]",fe="[object Symbol]",Ae="[object WeakMap]",Ce="[object ArrayBuffer]",ye="[object DataView]",ie="[object Float32Array]",Ge="[object Float64Array]",Ft="[object Int8Array]",D="[object Int16Array]",S="[object Int32Array]",M="[object Uint8Array]",j="[object Uint8ClampedArray]",k="[object Uint16Array]",K="[object Uint32Array]",G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,he=/^\w*$/,$e=/^\./,Se=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ke=/[\\^$.*+?()[\]{}|]/g,Be=/\\(\\)?/g,Pe=/^\[object .+?Constructor\]$/,Ue=/^(?:0|[1-9]\d*)$/,se={};se[ie]=se[Ge]=se[Ft]=se[D]=se[S]=se[M]=se[j]=se[k]=se[K]=!0,se[h]=se[p]=se[Ce]=se[y]=se[ye]=se[w]=se[m]=se[A]=se[z]=se[H]=se[Z]=se[de]=se[te]=se[X]=se[Ae]=!1;var Te=typeof et=="object"&&et&&et.Object===Object&&et,ne=typeof self=="object"&&self&&self.Object===Object&&self,Re=Te||ne||Function("return this")(),dt=e&&!e.nodeType&&e,_e=dt&&!0&&t&&!t.nodeType&&t,Vi=_e&&_e.exports===dt,Hr=Vi&&Te.process,Ir=function(){try{return Hr&&Hr.binding("util")}catch{}}(),Br=Ir&&Ir.isTypedArray;function Ki(a,d){for(var b=-1,_=a?a.length:0,O=Array(_);++b<_;)O[b]=d(a[b],b,a);return O}function Yn(a,d){for(var b=-1,_=d.length,O=a.length;++b<_;)a[O+b]=d[b];return a}function Gi(a,d){for(var b=-1,_=a?a.length:0;++b<_;)if(d(a[b],b,a))return!0;return!1}function Yi(a){return function(d){return d==null?void 0:d[a]}}function Fi(a,d){for(var b=-1,_=Array(a);++b<a;)_[b]=d(b);return _}function Ur(a){return function(d){return a(d)}}function Zi(a,d){return a==null?void 0:a[d]}function Fn(a){var d=!1;if(a!=null&&typeof a.toString!="function")try{d=!!(a+"")}catch{}return d}function Xi(a){var d=-1,b=Array(a.size);return a.forEach(function(_,O){b[++d]=[O,_]}),b}function Ji(a,d){return function(b){return a(d(b))}}function Qi(a){var d=-1,b=Array(a.size);return a.forEach(function(_){b[++d]=_}),b}var es=Array.prototype,ts=Function.prototype,bn=Object.prototype,Zn=Re["__core-js_shared__"],zr=function(){var a=/[^.]+$/.exec(Zn&&Zn.keys&&Zn.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),qr=ts.toString,lt=bn.hasOwnProperty,Tt=bn.toString,ns=RegExp("^"+qr.call(lt).replace(ke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),mn=Re.Symbol,Wr=Re.Uint8Array,rs=bn.propertyIsEnumerable,is=es.splice,Zt=mn?mn.isConcatSpreadable:void 0,ss=Ji(Object.keys,Object),vn=Dt(Re,"DataView"),Xt=Dt(Re,"Map"),ft=Dt(Re,"Promise"),wn=Dt(Re,"Set"),Xn=Dt(Re,"WeakMap"),Jt=Dt(Object,"create"),Vr=ct(vn),os=ct(Xt),Kr=ct(ft),as=ct(wn),Gr=ct(Xn),xn=mn?mn.prototype:void 0,Qt=xn?xn.valueOf:void 0,Rt=xn?xn.toString:void 0;function Ye(a){var d=-1,b=a?a.length:0;for(this.clear();++d<b;){var _=a[d];this.set(_[0],_[1])}}function Yr(){this.__data__=Jt?Jt(null):{}}function ls(a){return this.has(a)&&delete this.__data__[a]}function cs(a){var d=this.__data__;if(Jt){var b=d[a];return b===i?void 0:b}return lt.call(d,a)?d[a]:void 0}function us(a){var d=this.__data__;return Jt?d[a]!==void 0:lt.call(d,a)}function Jn(a,d){var b=this.__data__;return b[a]=Jt&&d===void 0?i:d,this}Ye.prototype.clear=Yr,Ye.prototype.delete=ls,Ye.prototype.get=cs,Ye.prototype.has=us,Ye.prototype.set=Jn;function u(a){var d=-1,b=a?a.length:0;for(this.clear();++d<b;){var _=a[d];this.set(_[0],_[1])}}function g(){this.__data__=[]}function $(a){var d=this.__data__,b=we(d,a);if(b<0)return!1;var _=d.length-1;return b==_?d.pop():is.call(d,b,1),!0}function v(a){var d=this.__data__,b=we(d,a);return b<0?void 0:d[b][1]}function C(a){return we(this.__data__,a)>-1}function B(a,d){var b=this.__data__,_=we(b,a);return _<0?b.push([a,d]):b[_][1]=d,this}u.prototype.clear=g,u.prototype.delete=$,u.prototype.get=v,u.prototype.has=C,u.prototype.set=B;function U(a){var d=-1,b=a?a.length:0;for(this.clear();++d<b;){var _=a[d];this.set(_[0],_[1])}}function L(){this.__data__={hash:new Ye,map:new(Xt||u),string:new Ye}}function T(a){return xt(this,a).delete(a)}function J(a){return xt(this,a).get(a)}function re(a){return xt(this,a).has(a)}function I(a,d){return xt(this,a).set(a,d),this}U.prototype.clear=L,U.prototype.delete=T,U.prototype.get=J,U.prototype.has=re,U.prototype.set=I;function oe(a){var d=-1,b=a?a.length:0;for(this.__data__=new U;++d<b;)this.add(a[d])}function Fe(a){return this.__data__.set(a,i),this}function je(a){return this.__data__.has(a)}oe.prototype.add=oe.prototype.push=Fe,oe.prototype.has=je;function N(a){this.__data__=new u(a)}function ee(){this.__data__=new u}function q(a){return this.__data__.delete(a)}function be(a){return this.__data__.get(a)}function Oe(a){return this.__data__.has(a)}function Le(a,d){var b=this.__data__;if(b instanceof u){var _=b.__data__;if(!Xt||_.length<n-1)return _.push([a,d]),this;b=this.__data__=new U(_)}return b.set(a,d),this}N.prototype.clear=ee,N.prototype.delete=q,N.prototype.get=be,N.prototype.has=Oe,N.prototype.set=Le;function Me(a,d){var b=tt(a)||on(a)?Fi(a.length,String):[],_=b.length,O=!!_;for(var P in a)lt.call(a,P)&&!(O&&(P=="length"||tr(P,_)))&&b.push(P);return b}function we(a,d){for(var b=a.length;b--;)if(kn(a[b][0],d))return b;return-1}var ze=ps(Fr);function qe(a,d,b,_,O){var P=-1,W=a.length;for(b||(b=ni),O||(O=[]);++P<W;){var xe=a[P];b(xe)?Yn(O,xe):O[O.length]=xe}return O}var pt=gs();function Fr(a,d){return a&&pt(a,d,jt)}function Qn(a,d){d=rn(d,a)?[d]:ei(d);for(var b=0,_=d.length;a!=null&&b<_;)a=a[Cn(d[b++])];return b&&b==_?a:void 0}function $n(a){return Tt.call(a)}function hs(a,d){return a!=null&&d in Object(a)}function _n(a,d,b,_,O){return a===d?!0:a==null||d==null||!$t(a)&&!_t(d)?a!==a&&d!==d:vt(a,d,_n,b,_,O)}function vt(a,d,b,_,O,P){var W=tt(a),xe=tt(d),ve=p,Ne=p;W||(ve=gt(a),ve=ve==h?Z:ve),xe||(Ne=gt(d),Ne=Ne==h?Z:Ne);var We=ve==Z&&!Fn(a),Ve=Ne==Z&&!Fn(d),He=ve==Ne;if(He&&!We)return P||(P=new N),W||Pn(a)?nn(a,d,b,_,O,P):Ot(a,d,ve,b,_,O,P);if(!(O&o)){var f=We&&lt.call(a,"__wrapped__"),x=Ve&&lt.call(d,"__wrapped__");if(f||x){var R=f?a.value():a,Q=x?d.value():d;return P||(P=new N),b(R,Q,_,O,P)}}return He?(P||(P=new N),Mn(a,d,b,_,O,P)):!1}function An(a,d,b,_){var O=b.length,P=O;if(a==null)return!P;for(a=Object(a);O--;){var W=b[O];if(W[2]?W[1]!==a[W[0]]:!(W[0]in a))return!1}for(;++O<P;){W=b[O];var xe=W[0],ve=a[xe],Ne=W[1];if(W[2]){if(ve===void 0&&!(xe in a))return!1}else{var We=new N,Ve;if(!(Ve===void 0?_n(Ne,ve,_,s|o,We):Ve))return!1}}return!0}function Zr(a){if(!$t(a)||nr(a))return!1;var d=ii(a)||Fn(a)?ns:Pe;return d.test(ct(a))}function Xr(a){return _t(a)&&ar(a.length)&&!!se[Tt.call(a)]}function Jr(a){return typeof a=="function"?a:a==null?ur:typeof a=="object"?tt(a)?en(a[0],a[1]):fs(a):si(a)}function Qr(a){if(!rr(a))return ss(a);var d=[];for(var b in Object(a))lt.call(a,b)&&b!="constructor"&&d.push(b);return d}function ds(a,d){var b=-1,_=De(a)?Array(a.length):[];return ze(a,function(O,P,W){_[++b]=d(O,P,W)}),_}function fs(a){var d=er(a);return d.length==1&&d[0][2]?En(d[0][0],d[0][1]):function(b){return b===a||An(b,a,d)}}function en(a,d){return rn(a)&&Sn(d)?En(Cn(a),d):function(b){var _=lr(b,a);return _===void 0&&_===d?cr(b,a):_n(d,_,void 0,s|o)}}function tn(a){return function(d){return Qn(d,a)}}function wt(a){if(typeof a=="string")return a;if(Ln(a))return Rt?Rt.call(a):"";var d=a+"";return d=="0"&&1/a==-l?"-0":d}function ei(a){return tt(a)?a:ir(a)}function ps(a,d){return function(b,_){if(b==null)return b;if(!De(b))return a(b,_);for(var O=b.length,P=-1,W=Object(b);++P<O&&_(W[P],P,W)!==!1;);return b}}function gs(a){return function(d,b,_){for(var O=-1,P=Object(d),W=_(d),xe=W.length;xe--;){var ve=W[++O];if(b(P[ve],ve,P)===!1)break}return d}}function nn(a,d,b,_,O,P){var W=O&o,xe=a.length,ve=d.length;if(xe!=ve&&!(W&&ve>xe))return!1;var Ne=P.get(a);if(Ne&&P.get(d))return Ne==d;var We=-1,Ve=!0,He=O&s?new oe:void 0;for(P.set(a,d),P.set(d,a);++We<xe;){var f=a[We],x=d[We];if(_)var R=W?_(x,f,We,d,a,P):_(f,x,We,a,d,P);if(R!==void 0){if(R)continue;Ve=!1;break}if(He){if(!Gi(d,function(Q,pe){if(!He.has(pe)&&(f===Q||b(f,Q,_,O,P)))return He.add(pe)})){Ve=!1;break}}else if(!(f===x||b(f,x,_,O,P))){Ve=!1;break}}return P.delete(a),P.delete(d),Ve}function Ot(a,d,b,_,O,P,W){switch(b){case ye:if(a.byteLength!=d.byteLength||a.byteOffset!=d.byteOffset)return!1;a=a.buffer,d=d.buffer;case Ce:return!(a.byteLength!=d.byteLength||!_(new Wr(a),new Wr(d)));case y:case w:case H:return kn(+a,+d);case m:return a.name==d.name&&a.message==d.message;case de:case X:return a==d+"";case z:var xe=Xi;case te:var ve=P&o;if(xe||(xe=Qi),a.size!=d.size&&!ve)return!1;var Ne=W.get(a);if(Ne)return Ne==d;P|=s,W.set(a,d);var We=nn(xe(a),xe(d),_,O,P,W);return W.delete(a),We;case fe:if(Qt)return Qt.call(a)==Qt.call(d)}return!1}function Mn(a,d,b,_,O,P){var W=O&o,xe=jt(a),ve=xe.length,Ne=jt(d),We=Ne.length;if(ve!=We&&!W)return!1;for(var Ve=ve;Ve--;){var He=xe[Ve];if(!(W?He in d:lt.call(d,He)))return!1}var f=P.get(a);if(f&&P.get(d))return f==d;var x=!0;P.set(a,d),P.set(d,a);for(var R=W;++Ve<ve;){He=xe[Ve];var Q=a[He],pe=d[He];if(_)var ae=W?_(pe,Q,He,d,a,P):_(Q,pe,He,a,d,P);if(!(ae===void 0?Q===pe||b(Q,pe,_,O,P):ae)){x=!1;break}R||(R=He=="constructor")}if(x&&!R){var Ke=a.constructor,At=d.constructor;Ke!=At&&"constructor"in a&&"constructor"in d&&!(typeof Ke=="function"&&Ke instanceof Ke&&typeof At=="function"&&At instanceof At)&&(x=!1)}return P.delete(a),P.delete(d),x}function xt(a,d){var b=a.__data__;return ri(d)?b[typeof d=="string"?"string":"hash"]:b.map}function er(a){for(var d=jt(a),b=d.length;b--;){var _=d[b],O=a[_];d[b]=[_,O,Sn(O)]}return d}function Dt(a,d){var b=Zi(a,d);return Zr(b)?b:void 0}var gt=$n;(vn&&gt(new vn(new ArrayBuffer(1)))!=ye||Xt&&gt(new Xt)!=z||ft&&gt(ft.resolve())!=F||wn&&gt(new wn)!=te||Xn&&gt(new Xn)!=Ae)&&(gt=function(a){var d=Tt.call(a),b=d==Z?a.constructor:void 0,_=b?ct(b):void 0;if(_)switch(_){case Vr:return ye;case os:return z;case Kr:return F;case as:return te;case Gr:return Ae}return d});function ti(a,d,b){d=rn(d,a)?[d]:ei(d);for(var _,O=-1,W=d.length;++O<W;){var P=Cn(d[O]);if(!(_=a!=null&&b(a,P)))break;a=a[P]}if(_)return _;var W=a?a.length:0;return!!W&&ar(W)&&tr(P,W)&&(tt(a)||on(a))}function ni(a){return tt(a)||on(a)||!!(Zt&&a&&a[Zt])}function tr(a,d){return d=d??c,!!d&&(typeof a=="number"||Ue.test(a))&&a>-1&&a%1==0&&a<d}function rn(a,d){if(tt(a))return!1;var b=typeof a;return b=="number"||b=="symbol"||b=="boolean"||a==null||Ln(a)?!0:he.test(a)||!G.test(a)||d!=null&&a in Object(d)}function ri(a){var d=typeof a;return d=="string"||d=="number"||d=="symbol"||d=="boolean"?a!=="__proto__":a===null}function nr(a){return!!zr&&zr in a}function rr(a){var d=a&&a.constructor,b=typeof d=="function"&&d.prototype||bn;return a===b}function Sn(a){return a===a&&!$t(a)}function En(a,d){return function(b){return b==null?!1:b[a]===d&&(d!==void 0||a in Object(b))}}var ir=sn(function(a){a=Tn(a);var d=[];return $e.test(a)&&d.push(""),a.replace(Se,function(b,_,O,P){d.push(O?P.replace(Be,"$1"):_||b)}),d});function Cn(a){if(typeof a=="string"||Ln(a))return a;var d=a+"";return d=="0"&&1/a==-l?"-0":d}function ct(a){if(a!=null){try{return qr.call(a)}catch{}try{return a+""}catch{}}return""}function sr(a,d){return qe(or(a,d))}function or(a,d){var b=tt(a)?Ki:ds;return b(a,Jr(d))}function sn(a,d){if(typeof a!="function"||d&&typeof d!="function")throw new TypeError(r);var b=function(){var _=arguments,O=d?d.apply(this,_):_[0],P=b.cache;if(P.has(O))return P.get(O);var W=a.apply(this,_);return b.cache=P.set(O,W),W};return b.cache=new(sn.Cache||U),b}sn.Cache=U;function kn(a,d){return a===d||a!==a&&d!==d}function on(a){return st(a)&&lt.call(a,"callee")&&(!rs.call(a,"callee")||Tt.call(a)==h)}var tt=Array.isArray;function De(a){return a!=null&&ar(a.length)&&!ii(a)}function st(a){return _t(a)&&De(a)}function ii(a){var d=$t(a)?Tt.call(a):"";return d==A||d==E}function ar(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=c}function $t(a){var d=typeof a;return!!a&&(d=="object"||d=="function")}function _t(a){return!!a&&typeof a=="object"}function Ln(a){return typeof a=="symbol"||_t(a)&&Tt.call(a)==fe}var Pn=Br?Ur(Br):Xr;function Tn(a){return a==null?"":wt(a)}function lr(a,d,b){var _=a==null?void 0:Qn(a,d);return _===void 0?b:_}function cr(a,d){return a!=null&&ti(a,d,hs)}function jt(a){return De(a)?Me(a):Qr(a)}function ur(a){return a}function si(a){return rn(a)?Yi(Cn(a)):tn(a)}t.exports=sr}(Rr,Rr.exports);var Bh=Rr.exports;const sa=Er(Bh);function Uh(t,e,n){let r=[];t.filterProperties.length&&t.filterProperties.forEach(s=>{const o={},l=h=>s.format==="date"?Wn(h).unix():parseFloat(h);e.forEach(h=>{var p;if(s.type==="range"){if(Array.isArray(h[s.key])){const y=[l(h[s.key][0]),l(h[s.key][1])];o.min=o.min!==void 0?Math.min(o.min,y[0]):y[0],o.max=o.max!==void 0?Math.max(o.max,y[1]):y[1]}else{const y=l(h[s.key]);o.min=o.min!==void 0?Math.min(o.min,y):y,o.max=o.max!==void 0?Math.max(o.max,y):y}return}Array.isArray(h[s.key])?h[s.key].forEach(y=>{o[y]=void 0}):s.type==="spatial"?(o.geometry=void 0,o.mode=s.mode||"intersects"):(p=s.key)!=null&&p.includes(".")?ia(sa(n.items,s.key)).filter(y=>y).forEach(y=>{o[y]=void 0}):o[h[s.key]]=void 0});const c=s.key||s.keys.join("|");n.filters[c]=Object.assign({type:s.type||"multiselect",dirty:s.state?!1:void 0,key:c},s.type==="range"?{min:o.min,max:o.max,format:s.format}:{},s),n.filters[c].state=Object.assign({},o,s.state)}),t.matchAllWhenEmpty!==!1&&(n.results=n.sortResults(e),n.requestUpdate()),t.aggregateResults&&(r=Array.from(new Set(e.reduce((s,o)=>s.concat(o[t.aggregateResults]),[]))).sort((s,o)=>s.localeCompare(o)));const i=[];return Object.values(n.filters).forEach(s=>{s.type==="text"?s.keys.forEach(o=>{i.includes(o)||i.push(o)}):(s.type==="select"||s.type==="multiselect")&&(i.includes(s.key)||i.push(s.key))}),zc(e,Object.assign({keys:i},t.fuseConfig)),r}async function zh(t,e,n){let r;n.externalFilter?r=await Kc(e,n.filters,t):r=await qc(e,n.filters,t),n.results=n.sortResults(r)}function qh(t,e,n){const r=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return Y`<eox-itemfilter-text
750
752
  data-type="filter"
751
753
  slot="filter"
752
- id="${n}"
754
+ id="${r}"
753
755
  .tabIndex=${e}
754
756
  .filterObject=${t}
755
- .unstyled=${r.unstyled}
756
- @filter=${()=>r.search()}
757
- ></eox-itemfilter-text>`;case"multiselect":case"select":return Z`
757
+ .unstyled=${n.unstyled}
758
+ @filter=${()=>n.search()}
759
+ ></eox-itemfilter-text>`;case"multiselect":case"select":return Y`
758
760
  <eox-itemfilter-select
759
- .inlineMode=${r.inlineMode||!1}
761
+ .inlineMode=${n.inlineMode||!1}
760
762
  data-type="filter"
761
- id="${n}"
763
+ id="${r}"
762
764
  .tabIndex=${e}
763
765
  .filterObject=${t}
764
766
  slot="filter"
765
- .suggestions="${Cp(kp(r.items,t.key)).filter(i=>i)}"
767
+ .suggestions="${ia(sa(n.items,t.key)).filter(i=>i)}"
766
768
  type="${t.type}"
767
- .unstyled=${r.unstyled}
768
- @filter=${()=>r.search()}
769
+ .unstyled=${n.unstyled}
770
+ @filter=${()=>n.search()}
769
771
  ></eox-itemfilter-select>
770
- `;case"range":return Z`
772
+ `;case"range":return Y`
771
773
  <eox-itemfilter-range
772
- id="${n}"
774
+ id="${r}"
773
775
  data-type="filter"
774
776
  .tabIndex=${e}
775
777
  .filterObject=${t}
776
778
  slot="filter"
777
- .unstyled=${r.unstyled}
778
- @filter=${()=>r.search()}
779
+ .unstyled=${n.unstyled}
780
+ @filter=${()=>n.search()}
779
781
  ></eox-itemfilter-range>
780
- `;case"spatial":return Z`
782
+ `;case"spatial":return Y`
781
783
  <eox-itemfilter-spatial
782
- id="${n}"
784
+ id="${r}"
783
785
  data-type="filter"
784
786
  .tabIndex=${e}
785
787
  .filterObject=${t}
786
788
  slot="filter"
787
- @filter=${()=>r.search()}
789
+ @filter=${()=>n.search()}
788
790
  ></eox-itemfilter-spatial>
789
- `;default:return Z``}}function $1(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function x1(t,e,r){return Z`
790
- ${qe(t.dirty,()=>Z`
791
+ `;default:return Y``}}function Wh(t,e){return[...t].sort((n,r)=>n[e.titleProperty].localeCompare(r[e.titleProperty]))}function Vh(t,e,n){return Y`
792
+ ${Ie(t.dirty,()=>Y`
791
793
  <button
792
794
  type="button"
793
795
  tabindex=${e}
794
796
  slot="reset-button"
795
797
  class="reset-icon icon"
796
- @click=${n=>{const i=n.target.parentElement.querySelector("[slot=filter]");i&&typeof i.reset=="function"&&i.reset(),r.search(),r.requestUpdate()}}
798
+ @click=${r=>{const i=r.target.parentElement.querySelector("[slot=filter]");i&&typeof i.reset=="function"&&i.reset(),n.search(),n.requestUpdate()}}
797
799
  >
798
- ${r.unstyled?"Reset":be}
800
+ ${n.unstyled?"Reset":ge}
799
801
  </button>
800
802
  `)}
801
- `}function S1(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class Lp extends gp{constructor(){super();nt(this,rn);nt(this,Gn,[]);nt(this,tn,[]);nt(this,ht,$w);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=eo(this.searchHandler,100,{leading:!0}),this.aggregateResults=void 0,this.autoSpreadSingle=!1,this.enableHighlighting=!1,this.externalFilter=null,this.filterProperties=[],this.fuseConfig={},this.inlineMode=!1,this.matchAllWhenEmpty=!0,this.showResults=!0,this.titleProperty="title",this.subTitleProperty=void 0,this.idProperty="id",this.expandMultipleFilters=!0,this.expandResults=!0,this.expandMultipleResults=!0,this.unstyled=!1}static get properties(){return{items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object},aggregateResults:{attribute:"aggregate-results",type:String},autoSpreadSingle:{attribute:"auto-spread-single",type:Boolean},enableHighlighting:{attribute:"enable-highlighting",type:Boolean},filterProperties:{attribute:!1,type:Array},fuseConfig:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},matchAllWhenEmpty:{attribute:"match-all-when-empty",type:Boolean},showResults:{attribute:"show-result",type:Boolean},idProperty:{attribute:"id-property",type:String},titleProperty:{attribute:"title-property",type:String},subTitleProperty:{attribute:"sub-title-property",type:String},expandMultipleFilters:{attribute:"enable-multiple-filter",type:Boolean},expandResults:{attribute:"expand-result",type:Boolean},expandMultipleResults:{attribute:"expand-multiple-results",type:Boolean},externalFilter:{attribute:!1,type:Function},unstyled:{type:Boolean}}}apply(){Lo(this,Gn,m1(ut(this,ht),ut(this,tn),this)),this.search()}async searchHandler(){await b1(ut(this,ht),ut(this,tn),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),this.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(r){return $1(r,ut(this,ht))}resetFilters(){S1(this)}firstUpdated(r){var i;let n={};Ap.map(o=>{n={...n,[o]:this[o]}}),Lo(this,ht,n),Lo(this,tn,((i=this.items)==null?void 0:i.map((o,s)=>Object.assign({id:o[this.idProperty]||`item-${s}`},o)))||[]),this.apply()}updated(r){Ap.map(n=>{if(r.has(n))return this.firstUpdated(),!0})}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var r;return Z`
803
+ `}function Kh(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class oa extends qo{constructor(){super();Ze(this,yn);Ze(this,Gn,[]);Ze(this,gn,[]);Ze(this,it,Wu);this.items=null,this.filters={},this.results=[],this.selectedResult=null,this.search=kr(this.searchHandler,100,{leading:!0}),this.aggregateResults=void 0,this.autoSpreadSingle=!1,this.enableHighlighting=!1,this.externalFilter=null,this.filterProperties=[],this.fuseConfig={},this.inlineMode=!1,this.matchAllWhenEmpty=!0,this.showResults=!0,this.titleProperty="title",this.subTitleProperty=void 0,this.idProperty="id",this.expandMultipleFilters=!0,this.expandResults=!0,this.expandMultipleResults=!0,this.unstyled=!1}static get properties(){return{items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object},aggregateResults:{attribute:"aggregate-results",type:String},autoSpreadSingle:{attribute:"auto-spread-single",type:Boolean},enableHighlighting:{attribute:"enable-highlighting",type:Boolean},filterProperties:{attribute:!1,type:Array},fuseConfig:{attribute:!1,type:Object},inlineMode:{attribute:"inline-mode",type:Boolean},matchAllWhenEmpty:{attribute:"match-all-when-empty",type:Boolean},showResults:{attribute:"show-result",type:Boolean},idProperty:{attribute:"id-property",type:String},titleProperty:{attribute:"title-property",type:String},subTitleProperty:{attribute:"sub-title-property",type:String},expandMultipleFilters:{attribute:"enable-multiple-filter",type:Boolean},expandResults:{attribute:"expand-result",type:Boolean},expandMultipleResults:{attribute:"expand-multiple-results",type:Boolean},externalFilter:{attribute:!1,type:Function},unstyled:{type:Boolean}}}apply(){oi(this,Gn,Uh(nt(this,it),nt(this,gn),this)),this.search()}async searchHandler(){await zh(nt(this,it),nt(this,gn),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),this.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(n){return Wh(n,nt(this,it))}resetFilters(){Kh(this)}firstUpdated(n){var i;let r={};Jo.map(s=>{r={...r,[s]:this[s]}}),oi(this,it,r),oi(this,gn,((i=this.items)==null?void 0:i.map((s,o)=>Object.assign({id:s[this.idProperty]||`item-${o}`},s)))||[]),this.apply()}updated(n){Jo.map(r=>{if(n.has(r))return this.firstUpdated(),!0})}updateResult(n){this.selectedResult=n.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var n;return Y`
802
804
  <style>
803
- ${fh}
804
- ${!this.unstyled&&Pn}
805
- ${!this.unstyled&&ph}
805
+ ${Ba}
806
+ ${!this.unstyled&&Un}
807
+ ${!this.unstyled&&Ua}
806
808
  ${this.styleOverride}
807
809
  </style>
808
810
  <form
809
811
  id="itemfilter"
810
- class=${this.inlineMode?"inline":be}
811
- @submit="${n=>n.preventDefault()}"
812
+ class=${this.inlineMode?"inline":ge}
813
+ @submit="${r=>r.preventDefault()}"
812
814
  >
813
- ${qe(this.filterProperties,()=>Z`
815
+ ${Ie(this.filterProperties,()=>Y`
814
816
  <eox-itemfilter-container
815
817
  .filters=${this.filters}
816
818
  .filterProperties=${this.filterProperties}
@@ -819,24 +821,24 @@ li.highlighted,
819
821
  @filter=${()=>this.search()}
820
822
  >
821
823
  <section slot="section">
822
- ${qe(!this.inlineMode,()=>Z`
824
+ ${Ie(!this.inlineMode,()=>Y`
823
825
  <slot name="filterstitle"
824
826
  ><h6 class="main-heading">Filters</h6></slot
825
827
  >
826
828
  `)}
827
829
  <ul id="filters">
828
- ${pi(Object.values(this.filters),(n,i)=>Z` <li>
830
+ ${pr(Object.values(this.filters),(r,i)=>Y` <li>
829
831
  <eox-itemfilter-expandcontainer
830
- .filterObject=${n}
831
- @details-toggled=${o=>cp(o,ut(this,ht),this)}
832
- data-details="${n.key}"
832
+ .filterObject=${r}
833
+ @details-toggled=${s=>No(s,nt(this,it),this)}
834
+ data-details="${r.key}"
833
835
  >
834
- ${pe(this,rn,Jp).call(this,n,lp(i,1))}
835
- ${pe(this,rn,Yp).call(this,n,lp(i,2))}
836
+ ${le(this,yn,Ma).call(this,r,jo(i,1))}
837
+ ${le(this,yn,Aa).call(this,r,jo(i,2))}
836
838
  </eox-itemfilter-expandcontainer>
837
839
  </li>`)}
838
840
  </ul>
839
- ${qe(!this.inlineMode&&ut(this,ht).filterProperties&&!this.inlineMode&&ut(this,ht).filterProperties&&pa(this.filters),()=>Z`
841
+ ${Ie(!this.inlineMode&&nt(this,it).filterProperties&&!this.inlineMode&&nt(this,it).filterProperties&&Ti(this.filters),()=>Y`
840
842
  <button
841
843
  type="button"
842
844
  id="filter-reset"
@@ -850,15 +852,15 @@ li.highlighted,
850
852
  </section>
851
853
  </eox-itemfilter-container>
852
854
  `)}
853
- ${qe(((r=ut(this,ht))==null?void 0:r.showResults)&&this.results,()=>Z`
855
+ ${Ie(((n=nt(this,it))==null?void 0:n.showResults)&&this.results,()=>Y`
854
856
  <eox-itemfilter-results
855
- .config=${ut(this,ht)}
857
+ .config=${nt(this,it)}
856
858
  .results=${this.results}
857
859
  .filters=${this.filters}
858
- .resultAggregation=${ut(this,Gn)}
860
+ .resultAggregation=${nt(this,Gn)}
859
861
  .selectedResult=${this.selectedResult}
860
862
  @result=${this.updateResult}
861
863
  ></eox-itemfilter-results>
862
864
  `)}
863
865
  </form>
864
- `}}Gn=new WeakMap,tn=new WeakMap,ht=new WeakMap,rn=new WeakSet,Yp=function(r,n){return w1(r,n,this)},Jp=function(r,n){return x1(r,n,this)},customElements.define("eox-itemfilter",Lp),ge.EOxItemFilter=Lp,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})});
866
+ `}}Gn=new WeakMap,gn=new WeakMap,it=new WeakMap,yn=new WeakSet,Aa=function(n,r){return qh(n,r,this)},Ma=function(n,r){return Vh(n,r,this)},customElements.define("eox-itemfilter",oa),ue.EOxItemFilter=oa,Object.defineProperty(ue,Symbol.toStringTag,{value:"Module"})});