@eox/itemfilter 0.14.2-dev.0 → 0.14.2-dev.1721300053.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,22 +1,22 @@
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 d1=Object.defineProperty;var Gf=ge=>{throw TypeError(ge)};var g1=(ge,he,Oe)=>he in ge?d1(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ge[he]=Oe;var Jn=(ge,he,Oe)=>g1(ge,typeof he!="symbol"?he+"":he,Oe),Ea=(ge,he,Oe)=>he.has(ge)||Gf("Cannot "+Oe);var pt=(ge,he,Oe)=>(Ea(ge,he,"read from private field"),Oe?Oe.call(ge):he.get(ge)),nt=(ge,he,Oe)=>he.has(ge)?Gf("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ge):he.set(ge,Oe),go=(ge,he,Oe,ln)=>(Ea(ge,he,"write to private field"),ln?ln.call(ge,Oe):he.set(ge,Oe),Oe),Se=(ge,he,Oe)=>(Ea(ge,he,"access private method"),Oe);/**
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 d1=Object.defineProperty;var Kf=ge=>{throw TypeError(ge)};var g1=(ge,he,Oe)=>he in ge?d1(ge,he,{enumerable:!0,configurable:!0,writable:!0,value:Oe}):ge[he]=Oe;var Jn=(ge,he,Oe)=>g1(ge,typeof he!="symbol"?he+"":he,Oe),Ea=(ge,he,Oe)=>he.has(ge)||Kf("Cannot "+Oe);var pt=(ge,he,Oe)=>(Ea(ge,he,"read from private field"),Oe?Oe.call(ge):he.get(ge)),nt=(ge,he,Oe)=>he.has(ge)?Kf("Cannot add the same private member more than once"):he instanceof WeakSet?he.add(ge):he.set(ge,Oe),ho=(ge,he,Oe,ln)=>(Ea(ge,he,"write to private field"),ln?ln.call(ge,Oe):he.set(ge,Oe),Oe),Se=(ge,he,Oe)=>(Ea(ge,he,"access private method"),Oe);/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause
5
- */var qf,Fi,Vf,Be,Kf,Ma,Pa,Yf,Oa,Jf,Zf,Wi,dr,Ca,Xf,Yt,Qf,ep,tp,gr,rp,ka,zi,np,qi,ip,yr,La,op,Ln,Wr,yt,zr,sp,ap;const he=globalThis,Oe=he.ShadowRoot&&(he.ShadyCSS===void 0||he.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ln=Symbol(),Ta=new WeakMap;let lp=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ln)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(Oe&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=Ta.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ta.set(r,e))}return e}toString(){return this.cssText}};const cp=t=>new lp(typeof t=="string"?t:t+"",void 0,ln),up=(t,e)=>{if(Oe)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)}},Ia=Oe?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return cp(r)})(t):t;/**
5
+ */var Vf,Ui,Yf,Be,Jf,Ma,Pa,Zf,Oa,Xf,Qf,Fi,dr,Ca,ep,Yt,tp,rp,np,gr,ip,ka,Wi,op,zi,sp,yr,La,ap,Ln,Wr,yt,zr,lp,cp;const he=globalThis,Oe=he.ShadowRoot&&(he.ShadyCSS===void 0||he.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,ln=Symbol(),Ta=new WeakMap;let up=class{constructor(e,r,n){if(this._$cssResult$=!0,n!==ln)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(Oe&&e===void 0){const n=r!==void 0&&r.length===1;n&&(e=Ta.get(r)),e===void 0&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),n&&Ta.set(r,e))}return e}toString(){return this.cssText}};const fp=t=>new up(typeof t=="string"?t:t+"",void 0,ln),pp=(t,e)=>{if(Oe)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)}},Ia=Oe?t=>t:t=>t instanceof CSSStyleSheet?(e=>{let r="";for(const n of e.cssRules)r+=n.cssText;return fp(r)})(t):t;/**
6
6
  * @license
7
7
  * Copyright 2017 Google LLC
8
8
  * SPDX-License-Identifier: BSD-3-Clause
9
- */const{is:fp,defineProperty:pp,getOwnPropertyDescriptor:hp,getOwnPropertyNames:dp,getOwnPropertySymbols:gp,getPrototypeOf:yp}=Object,Nt=globalThis,Da=Nt.trustedTypes,vp=Da?Da.emptyScript:"",yo=Nt.reactiveElementPolyfillSupport,cn=(t,e)=>t,vo={toAttribute(t,e){switch(e){case Boolean:t=t?vp: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}},Ra=(t,e)=>!fp(t,e),ja={attribute:!0,type:String,converter:vo,reflect:!1,hasChanged:Ra};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Nt.litPropertyMetadata??(Nt.litPropertyMetadata=new WeakMap);class Mr 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=ja){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&&pp(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:o}=hp(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 c=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ja}static _$Ei(){if(this.hasOwnProperty(cn("elementProperties")))return;const e=yp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(cn("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(cn("properties"))){const r=this.properties,n=[...dp(r),...gp(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(Ia(i))}else e!==void 0&&r.push(Ia(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 up(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:vo).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),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:vo;this._$Em=i,this[i]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??Ra)(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){}}Mr.elementStyles=[],Mr.shadowRootOptions={mode:"open"},Mr[cn("elementProperties")]=new Map,Mr[cn("finalized")]=new Map,yo==null||yo({ReactiveElement:Mr}),(Nt.reactiveElementVersions??(Nt.reactiveElementVersions=[])).push("2.0.4");/**
9
+ */const{is:hp,defineProperty:dp,getOwnPropertyDescriptor:gp,getOwnPropertyNames:yp,getOwnPropertySymbols:vp,getPrototypeOf:mp}=Object,Bt=globalThis,Da=Bt.trustedTypes,bp=Da?Da.emptyScript:"",go=Bt.reactiveElementPolyfillSupport,cn=(t,e)=>t,yo={toAttribute(t,e){switch(e){case Boolean:t=t?bp: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}},Ra=(t,e)=>!hp(t,e),ja={attribute:!0,type:String,converter:yo,reflect:!1,hasChanged:Ra};Symbol.metadata??(Symbol.metadata=Symbol("metadata")),Bt.litPropertyMetadata??(Bt.litPropertyMetadata=new WeakMap);class Mr 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=ja){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&&dp(this.prototype,e,i)}}static getPropertyDescriptor(e,r,n){const{get:i,set:o}=gp(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 c=i==null?void 0:i.call(this);o.call(this,s),this.requestUpdate(e,c,n)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??ja}static _$Ei(){if(this.hasOwnProperty(cn("elementProperties")))return;const e=mp(this);e.finalize(),e.l!==void 0&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(cn("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(cn("properties"))){const r=this.properties,n=[...yp(r),...vp(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(Ia(i))}else e!==void 0&&r.push(Ia(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 pp(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:yo).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),c=typeof s.converter=="function"?{fromAttribute:s.converter}:((o=s.converter)==null?void 0:o.fromAttribute)!==void 0?s.converter:yo;this._$Em=i,this[i]=c.fromAttribute(r,s.type),this._$Em=null}}requestUpdate(e,r,n){if(e!==void 0){if(n??(n=this.constructor.getPropertyOptions(e)),!(n.hasChanged??Ra)(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){}}Mr.elementStyles=[],Mr.shadowRootOptions={mode:"open"},Mr[cn("elementProperties")]=new Map,Mr[cn("finalized")]=new Map,go==null||go({ReactiveElement:Mr}),(Bt.reactiveElementVersions??(Bt.reactiveElementVersions=[])).push("2.0.4");/**
10
10
  * @license
11
11
  * Copyright 2017 Google LLC
12
12
  * SPDX-License-Identifier: BSD-3-Clause
13
- */const un=globalThis,Zn=un.trustedTypes,Ba=Zn?Zn.createPolicy("lit-html",{createHTML:t=>t}):void 0,mo="$lit$",Ot=`lit$${(Math.random()+"").slice(9)}$`,bo="?"+Ot,mp=`<${bo}>`,tr=document,fn=()=>tr.createComment(""),pn=t=>t===null||typeof t!="object"&&typeof t!="function",Na=Array.isArray,Ha=t=>Na(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",wo=`[
14
- \f\r]`,hn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ua=/-->/g,Fa=/>/g,rr=RegExp(`>|${wo}(?:([^\\s"'>=/]+)(${wo}*=${wo}*(?:[^
15
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Wa=/'/g,za=/"/g,qa=/^(?:script|style|textarea|title)$/i,bp=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),K=bp(1),Ht=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),Ga=new WeakMap,nr=tr.createTreeWalker(tr,129);function Va(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ba!==void 0?Ba.createHTML(e):e}const Ka=(t,e)=>{const r=t.length-1,n=[];let i,o=e===2?"<svg>":"",s=hn;for(let c=0;c<r;c++){const l=t[c];let f,h,y=-1,m=0;for(;m<l.length&&(s.lastIndex=m,h=s.exec(l),h!==null);)m=s.lastIndex,s===hn?h[1]==="!--"?s=Ua:h[1]!==void 0?s=Fa:h[2]!==void 0?(qa.test(h[2])&&(i=RegExp("</"+h[2],"g")),s=rr):h[3]!==void 0&&(s=rr):s===rr?h[0]===">"?(s=i??hn,y=-1):h[1]===void 0?y=-2:(y=s.lastIndex-h[2].length,f=h[1],s=h[3]===void 0?rr:h[3]==='"'?za:Wa):s===za||s===Wa?s=rr:s===Ua||s===Fa?s=hn:(s=rr,i=void 0);const b=s===rr&&t[c+1].startsWith("/>")?" ":"";o+=s===hn?l+mp:y>=0?(n.push(f),l.slice(0,y)+mo+l.slice(y)+Ot+b):l+Ot+(y===-2?c:b)}return[Va(t,o+(t[r]||"<?>")+(e===2?"</svg>":"")),n]};class dn{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let o=0,s=0;const c=e.length-1,l=this.parts,[f,h]=Ka(e,r);if(this.el=dn.createElement(f,n),nr.currentNode=this.el.content,r===2){const y=this.el.content.firstChild;y.replaceWith(...y.childNodes)}for(;(i=nr.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const y of i.getAttributeNames())if(y.endsWith(mo)){const m=h[s++],b=i.getAttribute(y).split(Ot),A=/([.?@])?(.*)/.exec(m);l.push({type:1,index:o,name:A[2],strings:b,ctor:A[1]==="."?Ja:A[1]==="?"?Za:A[1]==="@"?Xa:gn}),i.removeAttribute(y)}else y.startsWith(Ot)&&(l.push({type:6,index:o}),i.removeAttribute(y));if(qa.test(i.tagName)){const y=i.textContent.split(Ot),m=y.length-1;if(m>0){i.textContent=Zn?Zn.emptyScript:"";for(let b=0;b<m;b++)i.append(y[b],fn()),nr.nextNode(),l.push({type:2,index:++o});i.append(y[m],fn())}}}else if(i.nodeType===8)if(i.data===bo)l.push({type:2,index:o});else{let y=-1;for(;(y=i.data.indexOf(Ot,y+1))!==-1;)l.push({type:7,index:o}),y+=Ot.length-1}o++}}static createElement(e,r){const n=tr.createElement("template");return n.innerHTML=e,n}}function ir(t,e,r=t,n){var s,c;if(e===Ht)return e;let i=n!==void 0?(s=r._$Co)==null?void 0:s[n]:r._$Cl;const o=pn(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),o===void 0?i=void 0:(i=new o(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=ir(t,i._$AS(t,e.values),i,n)),e}class Ya{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)??tr).importNode(r,!0);nr.currentNode=i;let o=nr.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Pr(o,o.nextSibling,this,e):l.type===1?f=new l.ctor(o,l.name,l.strings,this,e):l.type===6&&(f=new Qa(o,this,e)),this._$AV.push(f),l=n[++c]}s!==(l==null?void 0:l.index)&&(o=nr.nextNode(),s++)}return nr.currentNode=tr,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 Pr{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=ir(this,e,r),pn(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==Ht&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ha(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&&pn(this._$AH)?this._$AA.nextSibling.data=e:this.T(tr.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=dn.createElement(Va(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 Ya(i,this),c=s.u(this.options);s.p(r),this.T(c),this._$AH=s}}_$AC(e){let r=Ga.get(e.strings);return r===void 0&&Ga.set(e.strings,r=new dn(e)),r}k(e){Na(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 Pr(this.S(fn()),this.S(fn()),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 gn{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=ir(this,e,r,0),s=!pn(e)||e!==this._$AH&&e!==Ht,s&&(this._$AH=e);else{const c=e;let l,f;for(e=o[0],l=0;l<o.length-1;l++)f=ir(this,c[n+l],r,l),f===Ht&&(f=this._$AH[l]),s||(s=!pn(f)||f!==this._$AH[l]),f===be?e=be:e!==be&&(e+=(f??"")+o[l+1]),this._$AH[l]=f}s&&!i&&this.j(e)}j(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Ja extends gn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===be?void 0:e}}class Za extends gn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}}class Xa extends gn{constructor(e,r,n,i,o){super(e,r,n,i,o),this.type=5}_$AI(e,r=this){if((e=ir(this,e,r,0)??be)===Ht)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 Qa{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){ir(this,e)}}const wp={P:mo,A:Ot,C:bo,M:1,L:Ka,R:Ya,D:Ha,V:ir,I:Pr,H:gn,N:Za,U:Xa,B:Ja,F:Qa},$o=un.litHtmlPolyfillSupport;$o==null||$o(dn,Pr),(un.litHtmlVersions??(un.litHtmlVersions=[])).push("3.1.2");const $p=(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 Pr(e.insertBefore(fn(),o),o,void 0,r??{})}return i._$AI(t),i};/**
13
+ */const un=globalThis,Zn=un.trustedTypes,Ba=Zn?Zn.createPolicy("lit-html",{createHTML:t=>t}):void 0,vo="$lit$",Ot=`lit$${(Math.random()+"").slice(9)}$`,mo="?"+Ot,wp=`<${mo}>`,tr=document,fn=()=>tr.createComment(""),pn=t=>t===null||typeof t!="object"&&typeof t!="function",Na=Array.isArray,Ha=t=>Na(t)||typeof(t==null?void 0:t[Symbol.iterator])=="function",bo=`[
14
+ \f\r]`,hn=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Ua=/-->/g,Fa=/>/g,rr=RegExp(`>|${bo}(?:([^\\s"'>=/]+)(${bo}*=${bo}*(?:[^
15
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Wa=/'/g,za=/"/g,qa=/^(?:script|style|textarea|title)$/i,$p=t=>(e,...r)=>({_$litType$:t,strings:e,values:r}),K=$p(1),Nt=Symbol.for("lit-noChange"),be=Symbol.for("lit-nothing"),Ga=new WeakMap,nr=tr.createTreeWalker(tr,129);function Va(t,e){if(!Array.isArray(t)||!t.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ba!==void 0?Ba.createHTML(e):e}const Ka=(t,e)=>{const r=t.length-1,n=[];let i,o=e===2?"<svg>":"",s=hn;for(let c=0;c<r;c++){const l=t[c];let f,d,g=-1,m=0;for(;m<l.length&&(s.lastIndex=m,d=s.exec(l),d!==null);)m=s.lastIndex,s===hn?d[1]==="!--"?s=Ua:d[1]!==void 0?s=Fa:d[2]!==void 0?(qa.test(d[2])&&(i=RegExp("</"+d[2],"g")),s=rr):d[3]!==void 0&&(s=rr):s===rr?d[0]===">"?(s=i??hn,g=-1):d[1]===void 0?g=-2:(g=s.lastIndex-d[2].length,f=d[1],s=d[3]===void 0?rr:d[3]==='"'?za:Wa):s===za||s===Wa?s=rr:s===Ua||s===Fa?s=hn:(s=rr,i=void 0);const b=s===rr&&t[c+1].startsWith("/>")?" ":"";o+=s===hn?l+wp:g>=0?(n.push(f),l.slice(0,g)+vo+l.slice(g)+Ot+b):l+Ot+(g===-2?c:b)}return[Va(t,o+(t[r]||"<?>")+(e===2?"</svg>":"")),n]};class dn{constructor({strings:e,_$litType$:r},n){let i;this.parts=[];let o=0,s=0;const c=e.length-1,l=this.parts,[f,d]=Ka(e,r);if(this.el=dn.createElement(f,n),nr.currentNode=this.el.content,r===2){const g=this.el.content.firstChild;g.replaceWith(...g.childNodes)}for(;(i=nr.nextNode())!==null&&l.length<c;){if(i.nodeType===1){if(i.hasAttributes())for(const g of i.getAttributeNames())if(g.endsWith(vo)){const m=d[s++],b=i.getAttribute(g).split(Ot),A=/([.?@])?(.*)/.exec(m);l.push({type:1,index:o,name:A[2],strings:b,ctor:A[1]==="."?Ja:A[1]==="?"?Za:A[1]==="@"?Xa:gn}),i.removeAttribute(g)}else g.startsWith(Ot)&&(l.push({type:6,index:o}),i.removeAttribute(g));if(qa.test(i.tagName)){const g=i.textContent.split(Ot),m=g.length-1;if(m>0){i.textContent=Zn?Zn.emptyScript:"";for(let b=0;b<m;b++)i.append(g[b],fn()),nr.nextNode(),l.push({type:2,index:++o});i.append(g[m],fn())}}}else if(i.nodeType===8)if(i.data===mo)l.push({type:2,index:o});else{let g=-1;for(;(g=i.data.indexOf(Ot,g+1))!==-1;)l.push({type:7,index:o}),g+=Ot.length-1}o++}}static createElement(e,r){const n=tr.createElement("template");return n.innerHTML=e,n}}function ir(t,e,r=t,n){var s,c;if(e===Nt)return e;let i=n!==void 0?(s=r._$Co)==null?void 0:s[n]:r._$Cl;const o=pn(e)?void 0:e._$litDirective$;return(i==null?void 0:i.constructor)!==o&&((c=i==null?void 0:i._$AO)==null||c.call(i,!1),o===void 0?i=void 0:(i=new o(t),i._$AT(t,r,n)),n!==void 0?(r._$Co??(r._$Co=[]))[n]=i:r._$Cl=i),i!==void 0&&(e=ir(t,i._$AS(t,e.values),i,n)),e}class Ya{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)??tr).importNode(r,!0);nr.currentNode=i;let o=nr.nextNode(),s=0,c=0,l=n[0];for(;l!==void 0;){if(s===l.index){let f;l.type===2?f=new Pr(o,o.nextSibling,this,e):l.type===1?f=new l.ctor(o,l.name,l.strings,this,e):l.type===6&&(f=new Qa(o,this,e)),this._$AV.push(f),l=n[++c]}s!==(l==null?void 0:l.index)&&(o=nr.nextNode(),s++)}return nr.currentNode=tr,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 Pr{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=ir(this,e,r),pn(e)?e===be||e==null||e===""?(this._$AH!==be&&this._$AR(),this._$AH=be):e!==this._$AH&&e!==Nt&&this._(e):e._$litType$!==void 0?this.$(e):e.nodeType!==void 0?this.T(e):Ha(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&&pn(this._$AH)?this._$AA.nextSibling.data=e:this.T(tr.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=dn.createElement(Va(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 Ya(i,this),c=s.u(this.options);s.p(r),this.T(c),this._$AH=s}}_$AC(e){let r=Ga.get(e.strings);return r===void 0&&Ga.set(e.strings,r=new dn(e)),r}k(e){Na(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 Pr(this.S(fn()),this.S(fn()),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 gn{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=ir(this,e,r,0),s=!pn(e)||e!==this._$AH&&e!==Nt,s&&(this._$AH=e);else{const c=e;let l,f;for(e=o[0],l=0;l<o.length-1;l++)f=ir(this,c[n+l],r,l),f===Nt&&(f=this._$AH[l]),s||(s=!pn(f)||f!==this._$AH[l]),f===be?e=be:e!==be&&(e+=(f??"")+o[l+1]),this._$AH[l]=f}s&&!i&&this.j(e)}j(e){e===be?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class Ja extends gn{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===be?void 0:e}}class Za extends gn{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==be)}}class Xa extends gn{constructor(e,r,n,i,o){super(e,r,n,i,o),this.type=5}_$AI(e,r=this){if((e=ir(this,e,r,0)??be)===Nt)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 Qa{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){ir(this,e)}}const xp={P:vo,A:Ot,C:mo,M:1,L:Ka,R:Ya,D:Ha,V:ir,I:Pr,H:gn,N:Za,U:Xa,B:Ja,F:Qa},wo=un.litHtmlPolyfillSupport;wo==null||wo(dn,Pr),(un.litHtmlVersions??(un.litHtmlVersions=[])).push("3.1.2");const Sp=(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 Pr(e.insertBefore(fn(),o),o,void 0,r??{})}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 Mr{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=$p(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 Ht}};it._$litElement$=!0,it.finalized=!0,(qf=globalThis.litElementHydrateSupport)==null||qf.call(globalThis,{LitElement:it});const xo=globalThis.litElementPolyfillSupport;xo==null||xo({LitElement:it}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.4");/**
19
+ */let it=class extends Mr{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=Sp(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 Nt}};it._$litElement$=!0,it.finalized=!0,(Vf=globalThis.litElementHydrateSupport)==null||Vf.call(globalThis,{LitElement:it});const $o=globalThis.litElementPolyfillSupport;$o==null||$o({LitElement:it}),(globalThis.litElementVersions??(globalThis.litElementVersions=[])).push("4.0.4");/**
20
20
  * @license
21
21
  * Copyright 2021 Google LLC
22
22
  * SPDX-License-Identifier: BSD-3-Clause
@@ -24,7 +24,7 @@
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 xp=`
27
+ */function Qe(t,e,r){return t?e(t):r==null?void 0:r(t)}const Ap=`
28
28
  :host {
29
29
  display: flex;
30
30
  box-sizing: border-box;
@@ -68,6 +68,7 @@ details {
68
68
  #000000 20%,
69
69
  transparent
70
70
  );
71
+ --background-color: #fff;
71
72
  }
72
73
  * {
73
74
  font-family: Roboto, sans-serif;
@@ -179,6 +180,8 @@ ul li {
179
180
  }
180
181
  section {
181
182
  position: relative;
183
+ background-color: var(--background-color);
184
+ padding: 4px;
182
185
  }
183
186
  button#filter-reset {
184
187
  position: absolute;
@@ -227,11 +230,10 @@ eox-itemfilter-expandcontainer button.reset-icon:before {
227
230
  width: 14px;
228
231
  }
229
232
  .inline-content {
230
- padding: 4px;
231
233
  border: 1.5px solid var(--secondary-color);
232
234
  border-radius: 4px;
233
235
  position: absolute;
234
- width: calc(100% - 10px);
236
+ width: calc(100% - 3px);
235
237
  max-height: 300px;
236
238
  overflow-y: auto;
237
239
  background: var(--inline-bg-color);
@@ -458,13 +460,13 @@ li.highlighted,
458
460
  .input-container.dirty-filter-input {
459
461
  margin-left: 25px;
460
462
  }
461
- `,Sp=`: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 Ap extends it{constructor(){super();nt(this,Fi);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return K`
463
+ `,_p=`: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 Ep extends it{constructor(){super();nt(this,Ui);this.filterObject={},this.unstyled=!1}static get properties(){return{filterObject:{attribute:!1,type:Object},unstyled:{type:Boolean}}}render(){return K`
462
464
  <style>
463
465
  ${!this.unstyled&&yn}
464
466
  </style>
465
467
 
466
468
  ${Qe(this.filterObject.featured,()=>K`<slot name="filter"></slot>`,()=>K`<details
467
- @toggle="${Se(this,Fi,Vf)}"
469
+ @toggle="${Se(this,Ui,Yf)}"
468
470
  class="details-filter"
469
471
  ?open=${this.filterObject.expanded||be}
470
472
  >
@@ -481,11 +483,11 @@ li.highlighted,
481
483
  <slot name="filter"></slot>
482
484
  </div>
483
485
  </details>`)}
484
- `}}Fi=new WeakSet,Vf=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",Ap);function Ct(t){return Array.isArray?Array.isArray(t):rl(t)==="[object Array]"}const _p=1/0;function Ep(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-_p?"-0":e}function Mp(t){return t==null?"":Ep(t)}function bt(t){return typeof t=="string"}function el(t){return typeof t=="number"}function Pp(t){return t===!0||t===!1||Op(t)&&rl(t)=="[object Boolean]"}function tl(t){return typeof t=="object"}function Op(t){return tl(t)&&t!==null}function ot(t){return t!=null}function So(t){return!t.trim().length}function rl(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const y1="Extended search is not available",Cp="Incorrect 'index' type",kp=t=>`Invalid value for key ${t}`,Lp=t=>`Pattern length exceeds max of ${t}.`,Tp=t=>`Missing ${t} property in key`,Ip=t=>`Property 'weight' in key '${t}' must be a positive integer`,nl=Object.prototype.hasOwnProperty;class Dp{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=il(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 il(t){let e=null,r=null,n=null,i=1,o=null;if(bt(t)||Ct(t))n=t,e=ol(t),r=Ao(t);else{if(!nl.call(t,"name"))throw new Error(Tp("name"));const s=t.name;if(n=s,nl.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Ip(s));e=ol(s),r=Ao(s),o=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:o}}function ol(t){return Ct(t)?t:t.split(".")}function Ao(t){return Ct(t)?t.join("."):t}function Rp(t,e){let r=[],n=!1;const i=(o,s,c)=>{if(ot(o))if(!s[c])r.push(o);else{let l=s[c];const f=o[l];if(!ot(f))return;if(c===s.length-1&&(bt(f)||el(f)||Pp(f)))r.push(Mp(f));else if(Ct(f)){n=!0;for(let h=0,y=f.length;h<y;h+=1)i(f[h],s,c+1)}else s.length&&i(f,s,c+1)}};return i(t,bt(e)?e.split("."):e,0),n?r:r[0]}var z={...{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:Rp,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const jp=/[^ ]+/g;function Bp(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const o=i.match(jp).length;if(r.has(o))return r.get(o);const s=1/Math.pow(o,.5*t),c=parseFloat(Math.round(s*n)/n);return r.set(o,c),c},clear(){r.clear()}}}class _o{constructor({getFn:e=z.getFn,fieldNormWeight:r=z.fieldNormWeight}={}){this.norm=Bp(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,bt(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();bt(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)||So(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(Ct(s)){let c=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:f,value:h}=l.pop();if(ot(h))if(bt(h)&&!So(h)){let y={v:h,i:f,n:this.norm.get(h)};c.push(y)}else Ct(h)&&h.forEach((y,m)=>{l.push({nestedArrIndex:m,value:y})})}n.$[o]=c}else if(bt(s)&&!So(s)){let c={v:s,n:this.norm.get(s)};n.$[o]=c}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function sl(t,e,{getFn:r=z.getFn,fieldNormWeight:n=z.fieldNormWeight}={}){const i=new _o({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(il)),i.setSources(e),i.create(),i}function Np(t,{getFn:e=z.getFn,fieldNormWeight:r=z.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new _o({getFn:e,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(i),o}function Qn(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=z.distance,ignoreLocation:o=z.ignoreLocation}={}){const s=e/t.length;if(o)return s;const c=Math.abs(n-r);return i?s+c/i:c?1:s}function Hp(t=[],e=z.minMatchCharLength){let r=[],n=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let c=t[o];c&&n===-1?n=o:!c&&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 or=32;function Up(t,e,r,{location:n=z.location,distance:i=z.distance,threshold:o=z.threshold,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,includeMatches:l=z.includeMatches,ignoreLocation:f=z.ignoreLocation}={}){if(e.length>or)throw new Error(Lp(or));const h=e.length,y=t.length,m=Math.max(0,Math.min(n,y));let b=o,A=m;const L=c>1||l,W=L?Array(y):[];let V;for(;(V=t.indexOf(e,A))>-1;){let X=Qn(e,{currentLocation:V,expectedLocation:m,distance:i,ignoreLocation:f});if(b=Math.min(X,b),A=V+h,L){let ie=0;for(;ie<h;)W[V+ie]=1,ie+=1}}A=-1;let J=[],Z=1,pe=h+y;const te=1<<h-1;for(let X=0;X<h;X+=1){let ie=0,we=pe;for(;ie<we;)Qn(e,{errors:X,currentLocation:m+we,expectedLocation:m,distance:i,ignoreLocation:f})<=b?ie=we:pe=we,we=Math.floor((pe-ie)/2+ie);pe=we;let de=Math.max(1,m-we+1),re=s?y:Math.min(m+we,y)+h,Ne=Array(re+2);Ne[re+1]=(1<<X)-1;for(let I=re;I>=de;I-=1){let E=I-1,_=r[t.charAt(E)];if(L&&(W[E]=+!!_),Ne[I]=(Ne[I+1]<<1|1)&_,X&&(Ne[I]|=(J[I+1]|J[I])<<1|1|J[I+1]),Ne[I]&te&&(Z=Qn(e,{errors:X,currentLocation:E,expectedLocation:m,distance:i,ignoreLocation:f}),Z<=b)){if(b=Z,A=E,A<=m)break;de=Math.max(1,2*m-A)}}if(Qn(e,{errors:X+1,currentLocation:m,expectedLocation:m,distance:i,ignoreLocation:f})>b)break;J=Ne}const N={isMatch:A>=0,score:Math.max(.001,Z)};if(L){const X=Hp(W,c);X.length?l&&(N.indices=X):N.isMatch=!1}return N}function Fp(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 al{constructor(e,{location:r=z.location,threshold:n=z.threshold,distance:i=z.distance,includeMatches:o=z.includeMatches,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,isCaseSensitive:l=z.isCaseSensitive,ignoreLocation:f=z.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:c,isCaseSensitive:l,ignoreLocation:f},this.pattern=l?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const h=(m,b)=>{this.chunks.push({pattern:m,alphabet:Fp(m),startIndex:b})},y=this.pattern.length;if(y>or){let m=0;const b=y%or,A=y-b;for(;m<A;)h(this.pattern.substr(m,or),m),m+=or;if(b){const L=y-or;h(this.pattern.substr(L),L)}}else h(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let A={isMatch:!0,score:0};return n&&(A.indices=[[0,e.length-1]]),A}const{location:i,distance:o,threshold:s,findAllMatches:c,minMatchCharLength:l,ignoreLocation:f}=this.options;let h=[],y=0,m=!1;this.chunks.forEach(({pattern:A,alphabet:L,startIndex:W})=>{const{isMatch:V,score:J,indices:Z}=Up(e,A,L,{location:i+W,distance:o,threshold:s,findAllMatches:c,minMatchCharLength:l,includeMatches:n,ignoreLocation:f});V&&(m=!0),y+=J,V&&Z&&(h=[...h,...Z])});let b={isMatch:m,score:m?y/this.chunks.length:1};return m&&n&&(b.indices=h),b}}class Ut{constructor(e){this.pattern=e}static isMultiMatch(e){return ll(e,this.multiRegex)}static isSingleMatch(e){return ll(e,this.singleRegex)}search(){}}function ll(t,e){const r=t.match(e);return r?r[1]:null}class Wp extends Ut{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 zp extends Ut{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 qp extends Ut{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 Gp extends Ut{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 Vp extends Ut{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 Kp extends Ut{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 cl extends Ut{constructor(e,{location:r=z.location,threshold:n=z.threshold,distance:i=z.distance,includeMatches:o=z.includeMatches,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,isCaseSensitive:l=z.isCaseSensitive,ignoreLocation:f=z.ignoreLocation}={}){super(e),this._bitapSearch=new al(e,{location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:c,isCaseSensitive:l,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class ul extends Ut{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 Eo=[Wp,ul,qp,Gp,Kp,Vp,zp,cl],fl=Eo.length,Yp=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Jp="|";function Zp(t,e={}){return t.split(Jp).map(r=>{let n=r.trim().split(Yp).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=n.length;o<s;o+=1){const c=n[o];let l=!1,f=-1;for(;!l&&++f<fl;){const h=Eo[f];let y=h.isMultiMatch(c);y&&(i.push(new h(y,e)),l=!0)}if(!l)for(f=-1;++f<fl;){const h=Eo[f];let y=h.isSingleMatch(c);if(y){i.push(new h(y,e));break}}}return i})}const Xp=new Set([cl.type,ul.type]);class Qp{constructor(e,{isCaseSensitive:r=z.isCaseSensitive,includeMatches:n=z.includeMatches,minMatchCharLength:i=z.minMatchCharLength,ignoreLocation:o=z.ignoreLocation,findAllMatches:s=z.findAllMatches,location:c=z.location,threshold:l=z.threshold,distance:f=z.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:c,threshold:l,distance:f},this.pattern=r?e:e.toLowerCase(),this.query=Zp(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=[],c=0;for(let l=0,f=r.length;l<f;l+=1){const h=r[l];s.length=0,o=0;for(let y=0,m=h.length;y<m;y+=1){const b=h[y],{isMatch:A,indices:L,score:W}=b.search(e);if(A){if(o+=1,c+=W,n){const V=b.constructor.type;Xp.has(V)?s=[...s,...L]:s.push(L)}}else{c=0,o=0,s.length=0;break}}if(o){let y={isMatch:!0,score:c/o};return n&&(y.indices=s),y}}return{isMatch:!1,score:1}}}const Mo=[];function eh(...t){Mo.push(...t)}function Po(t,e){for(let r=0,n=Mo.length;r<n;r+=1){let i=Mo[r];if(i.condition(t,e))return new i(t,e)}return new al(t,e)}const ei={AND:"$and",OR:"$or"},Oo={PATH:"$path",PATTERN:"$val"},Co=t=>!!(t[ei.AND]||t[ei.OR]),th=t=>!!t[Oo.PATH],rh=t=>!Ct(t)&&tl(t)&&!Co(t),pl=t=>({[ei.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function hl(t,e,{auto:r=!0}={}){const n=i=>{let o=Object.keys(i);const s=th(i);if(!s&&o.length>1&&!Co(i))return n(pl(i));if(rh(i)){const l=s?i[Oo.PATH]:o[0],f=s?i[Oo.PATTERN]:i[l];if(!bt(f))throw new Error(kp(l));const h={keyId:Ao(l),pattern:f};return r&&(h.searcher=Po(f,e)),h}let c={children:[],operator:o[0]};return o.forEach(l=>{const f=i[l];Ct(f)&&f.forEach(h=>{c.children.push(n(h))})}),c};return Co(t)||(t=pl(t)),n(t)}function nh(t,{ignoreFieldNorm:e=z.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:o,score:s})=>{const c=i?i.weight:null;n*=Math.pow(s===0&&c?Number.EPSILON:s,(c||1)*(e?1:o))}),r.score=n})}function ih(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 oh(t,e){e.score=t.score}function sh(t,e,{includeMatches:r=z.includeMatches,includeScore:n=z.includeScore}={}){const i=[];return r&&i.push(ih),n&&i.push(oh),t.map(o=>{const{idx:s}=o,c={item:e[s],refIndex:s};return i.length&&i.forEach(l=>{l(o,c)}),c})}class kt{constructor(e,r={},n){this.options={...z,...r},this.options.useExtendedSearch,this._keyStore=new Dp(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof _o))throw new Error(Cp);this._myIndex=r||sl(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:c}=this.options;let l=bt(e)?bt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return nh(l,{ignoreFieldNorm:c}),o&&l.sort(s),el(r)&&r>-1&&(l=l.slice(0,r)),sh(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Po(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:s,n:c})=>{if(!ot(o))return;const{isMatch:l,score:f,indices:h}=r.searchIn(o);l&&i.push({item:o,idx:s,matches:[{score:f,value:o,norm:c,indices:h}]})}),i}_searchLogical(e){const r=hl(e,this.options),n=(c,l,f)=>{if(!c.children){const{keyId:y,searcher:m}=c,b=this._findMatches({key:this._keyStore.get(y),value:this._myIndex.getValueForItemAtKeyId(l,y),searcher:m});return b&&b.length?[{idx:f,item:l,matches:b}]:[]}const h=[];for(let y=0,m=c.children.length;y<m;y+=1){const b=c.children[y],A=n(b,l,f);if(A.length)h.push(...A);else if(c.operator===ei.AND)return[]}return h},i=this._myIndex.records,o={},s=[];return i.forEach(({$:c,i:l})=>{if(ot(c)){let f=n(r,c,l);f.length&&(o[l]||(o[l]={idx:l,item:c,matches:[]},s.push(o[l])),f.forEach(({matches:h})=>{o[l].matches.push(...h)}))}}),s}_searchObjectList(e){const r=Po(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:c})=>{if(!ot(s))return;let l=[];n.forEach((f,h)=>{l.push(...this._findMatches({key:f,value:s[h],searcher:r}))}),l.length&&o.push({idx:c,item:s,matches:l})}),o}_findMatches({key:e,value:r,searcher:n}){if(!ot(r))return[];let i=[];if(Ct(r))r.forEach(({v:o,i:s,n:c})=>{if(!ot(o))return;const{isMatch:l,score:f,indices:h}=n.searchIn(o);l&&i.push({score:f,key:e,value:o,idx:s,norm:c,indices:h})});else{const{v:o,n:s}=r,{isMatch:c,score:l,indices:f}=n.searchIn(o);c&&i.push({score:l,key:e,value:o,norm:s,indices:f})}return i}}kt.version="7.0.0",kt.createIndex=sl,kt.parseIndex=Np,kt.config=z,kt.parseQuery=hl,eh(Qp);function dl(t,e){const r=new kt(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 ah(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}function gl(t){t.renderRoot.querySelector("#itemfilter-input-search").value="",dl({target:{value:""}},t)}function lh(t,e){e.inlineMode&&t.stopPropagation()}function ch(t){t.inlineMode&&(t.showDropdown=!0,t.requestUpdate())}function uh(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0,e.requestUpdate())}function fh(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(gl(e),e.showDropdown=!1,e.requestUpdate())}function ph(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(gl(e),e.showDropdown=!1,e.requestUpdate())}function hh(t,e){var r=0,n=0,i=0,o=0,s=0,c=0,l=0,f=0,h=null,y=null,m=t[0],b=t[1],A=e.length;for(r;r<A;r++){n=0;var L=e[r].length-1,W=e[r];if(h=W[0],h[0]!==W[L][0]&&h[1]!==W[L][1])throw new Error("First and last coordinates in a ring must be the same");for(s=h[0]-m,c=h[1]-b,n;n<L;n++){if(y=W[n+1],f=y[1]-b,c<0&&f<0||c>0&&f>0){h=y,c=f,s=h[0]-m;continue}if(l=y[0]-t[0],f>0&&c<=0){if(o=s*f-l*c,o>0)i=i+1;else if(o===0)return 0}else if(c>0&&f<=0){if(o=s*f-l*c,o<0)i=i+1;else if(o===0)return 0}else if(f===0&&c<0){if(o=s*f-l*c,o===0)return 0}else if(c===0&&f<0){if(o=s*f-l*c,o===0)return 0}else if(c===0&&f===0){if(l<=0&&s>=0)return 0;if(s<=0&&l>=0)return 0}h=y,c=f,s=l}}return i%2!==0}var Ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function dh(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 yl=Object.prototype.toString,vl=function(e){var r=yl.call(e),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&yl.call(e.callee)==="[object Function]"),n},ko,ml;function gh(){if(ml)return ko;ml=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=vl,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(m){var b=m.constructor;return b&&b.prototype===m},f={$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},h=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!f["$"+m]&&e.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{l(window[m])}catch{return!0}}catch{return!0}return!1}(),y=function(m){if(typeof window>"u"||!h)return l(m);try{return l(m)}catch{return!1}};t=function(b){var A=b!==null&&typeof b=="object",L=r.call(b)==="[object Function]",W=n(b),V=A&&r.call(b)==="[object String]",J=[];if(!A&&!L&&!W)throw new TypeError("Object.keys called on a non-object");var Z=s&&L;if(V&&b.length>0&&!e.call(b,0))for(var pe=0;pe<b.length;++pe)J.push(String(pe));if(W&&b.length>0)for(var te=0;te<b.length;++te)J.push(String(te));else for(var N in b)!(Z&&N==="prototype")&&e.call(b,N)&&J.push(String(N));if(o)for(var X=y(b),ie=0;ie<c.length;++ie)!(X&&c[ie]==="constructor")&&e.call(b,c[ie])&&J.push(c[ie]);return J}}return ko=t,ko}var yh=Array.prototype.slice,vh=vl,bl=Object.keys,ti=bl?function(e){return bl(e)}:gh(),wl=Object.keys;ti.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 vh(n)?wl(yh.call(n)):wl(n)})}else Object.keys=ti;return Object.keys||ti};var Lo=ti,mh=Error,bh=EvalError,wh=RangeError,$h=ReferenceError,$l=SyntaxError,Ft=TypeError,xh=URIError,ri=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},xl=typeof Symbol<"u"&&Symbol,Sh=ri,To=function(){return typeof xl!="function"||typeof Symbol!="function"||typeof xl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:Sh()},Sl={foo:{}},Ah=Object,_h=function(){return{__proto__:Sl}.foo===Sl.foo&&!({__proto__:null}instanceof Ah)},Eh="Function.prototype.bind called on incompatible ",Mh=Object.prototype.toString,Ph=Math.max,Oh="[object Function]",Al=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},Ch=function(e,r){for(var n=[],i=r||0,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},kh=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},Lh=function(e){var r=this;if(typeof r!="function"||Mh.apply(r)!==Oh)throw new TypeError(Eh+r);for(var n=Ch(arguments,1),i,o=function(){if(this instanceof i){var h=r.apply(this,Al(n,arguments));return Object(h)===h?h:this}return r.apply(e,Al(n,arguments))},s=Ph(0,r.length-n.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(i=Function("binder","return function ("+kh(c,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var f=function(){};f.prototype=r.prototype,i.prototype=new f,f.prototype=null}return i},Th=Lh,Io=Function.prototype.bind||Th,Ih=Function.prototype.call,Dh=Object.prototype.hasOwnProperty,Rh=Io,_l=Rh.call(Ih,Dh),ae,jh=mh,Bh=bh,Nh=wh,Hh=$h,Or=$l,Cr=Ft,Uh=xh,El=Function,Do=function(t){try{return El('"use strict"; return ('+t+").constructor;")()}catch{}},sr=Object.getOwnPropertyDescriptor;if(sr)try{sr({},"")}catch{sr=null}var Ro=function(){throw new Cr},Fh=sr?function(){try{return arguments.callee,Ro}catch{try{return sr(arguments,"callee").get}catch{return Ro}}}():Ro,kr=To(),Wh=_h(),Ue=Object.getPrototypeOf||(Wh?function(t){return t.__proto__}:null),Lr={},zh=typeof Uint8Array>"u"||!Ue?ae:Ue(Uint8Array),ar={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":kr&&Ue?Ue([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":Lr,"%AsyncGenerator%":Lr,"%AsyncGeneratorFunction%":Lr,"%AsyncIteratorPrototype%":Lr,"%Atomics%":typeof Atomics>"u"?ae:Atomics,"%BigInt%":typeof BigInt>"u"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":jh,"%eval%":eval,"%EvalError%":Bh,"%Float32Array%":typeof Float32Array>"u"?ae:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ae:FinalizationRegistry,"%Function%":El,"%GeneratorFunction%":Lr,"%Int8Array%":typeof Int8Array>"u"?ae:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ae:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":kr&&Ue?Ue(Ue([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map>"u"?ae:Map,"%MapIteratorPrototype%":typeof Map>"u"||!kr||!Ue?ae:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ae:Promise,"%Proxy%":typeof Proxy>"u"?ae:Proxy,"%RangeError%":Nh,"%ReferenceError%":Hh,"%Reflect%":typeof Reflect>"u"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ae:Set,"%SetIteratorPrototype%":typeof Set>"u"||!kr||!Ue?ae:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":kr&&Ue?Ue(""[Symbol.iterator]()):ae,"%Symbol%":kr?Symbol:ae,"%SyntaxError%":Or,"%ThrowTypeError%":Fh,"%TypedArray%":zh,"%TypeError%":Cr,"%Uint8Array%":typeof Uint8Array>"u"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ae:Uint32Array,"%URIError%":Uh,"%WeakMap%":typeof WeakMap>"u"?ae:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ae:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ae:WeakSet};if(Ue)try{null.error}catch(t){var qh=Ue(Ue(t));ar["%Error.prototype%"]=qh}var Gh=function t(e){var r;if(e==="%AsyncFunction%")r=Do("async function () {}");else if(e==="%GeneratorFunction%")r=Do("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Do("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ue&&(r=Ue(i.prototype))}return ar[e]=r,r},Ml={__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"]},mn=Io,ni=_l,Vh=mn.call(Function.call,Array.prototype.concat),Kh=mn.call(Function.apply,Array.prototype.splice),Pl=mn.call(Function.call,String.prototype.replace),ii=mn.call(Function.call,String.prototype.slice),Yh=mn.call(Function.call,RegExp.prototype.exec),Jh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Zh=/\\(\\)?/g,Xh=function(e){var r=ii(e,0,1),n=ii(e,-1);if(r==="%"&&n!=="%")throw new Or("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Or("invalid intrinsic syntax, expected opening `%`");var i=[];return Pl(e,Jh,function(o,s,c,l){i[i.length]=c?Pl(l,Zh,"$1"):s||o}),i},Qh=function(e,r){var n=e,i;if(ni(Ml,n)&&(i=Ml[n],n="%"+i[0]+"%"),ni(ar,n)){var o=ar[n];if(o===Lr&&(o=Gh(n)),typeof o>"u"&&!r)throw new Cr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Or("intrinsic "+e+" does not exist!")},wt=function(e,r){if(typeof e!="string"||e.length===0)throw new Cr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Cr('"allowMissing" argument must be a boolean');if(Yh(/^%?[^%]*%?$/,e)===null)throw new Or("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=Xh(e),i=n.length>0?n[0]:"",o=Qh("%"+i+"%",r),s=o.name,c=o.value,l=!1,f=o.alias;f&&(i=f[0],Kh(n,Vh([0,1],f)));for(var h=1,y=!0;h<n.length;h+=1){var m=n[h],b=ii(m,0,1),A=ii(m,-1);if((b==='"'||b==="'"||b==="`"||A==='"'||A==="'"||A==="`")&&b!==A)throw new Or("property names with quotes must have matching quotes");if((m==="constructor"||!y)&&(l=!0),i+="."+m,s="%"+i+"%",ni(ar,s))c=ar[s];else if(c!=null){if(!(m in c)){if(!r)throw new Cr("base intrinsic for "+e+" exists, but the property is not available.");return}if(sr&&h+1>=n.length){var L=sr(c,m);y=!!L,y&&"get"in L&&!("originalValue"in L.get)?c=L.get:c=c[m]}else y=ni(c,m),c=c[m];y&&!l&&(ar[s]=c)}}return c},ed=wt,oi=ed("%Object.defineProperty%",!0)||!1;if(oi)try{oi({},"a",{value:1})}catch{oi=!1}var jo=oi,td=wt,si=td("%Object.getOwnPropertyDescriptor%",!0);if(si)try{si([],"length")}catch{si=null}var Bo=si,Ol=jo,rd=$l,Tr=Ft,Cl=Bo,No=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Tr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Tr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Tr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Tr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Tr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Tr("`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,c=arguments.length>6?arguments[6]:!1,l=!!Cl&&Cl(e,r);if(Ol)Ol(e,r,{configurable:s===null&&l?l.configurable:!s,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(c||!i&&!o&&!s)e[r]=n;else throw new rd("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},Ho=jo,kl=function(){return!!Ho};kl.hasArrayLengthDefineBug=function(){if(!Ho)return null;try{return Ho([],"length",{value:1}).length!==1}catch{return!0}};var Uo=kl,nd=Lo,id=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",od=Object.prototype.toString,sd=Array.prototype.concat,Ll=No,ad=function(t){return typeof t=="function"&&od.call(t)==="[object Function]"},Tl=Uo(),ld=function(t,e,r,n){if(e in t){if(n===!0){if(t[e]===r)return}else if(!ad(n)||!n())return}Tl?Ll(t,e,r,!0):Ll(t,e,r)},Il=function(t,e){var r=arguments.length>2?arguments[2]:{},n=nd(e);id&&(n=sd.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)ld(t,n[i],e[n[i]],r[n[i]])};Il.supportsDescriptors=!!Tl;var lr=Il,Dl={exports:{}},cd=wt,Rl=No,ud=Uo(),jl=Bo,Bl=Ft,fd=cd("%Math.floor%"),pd=function(e,r){if(typeof e!="function")throw new Bl("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||fd(r)!==r)throw new Bl("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&jl){var s=jl(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&(ud?Rl(e,"length",r,!0,!0):Rl(e,"length",r)),e};(function(t){var e=Io,r=wt,n=pd,i=Ft,o=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||e.call(s,o),l=jo,f=r("%Math.max%");t.exports=function(m){if(typeof m!="function")throw new i("a function is required");var b=c(e,s,arguments);return n(b,1+f(0,m.length-(arguments.length-1)),!0)};var h=function(){return c(e,o,arguments)};l?l(t.exports,"apply",{value:h}):t.exports.apply=h})(Dl);var Ir=Dl.exports,Nl=wt,Hl=Ir,hd=Hl(Nl("String.prototype.indexOf")),ct=function(e,r){var n=Nl(e,!!r);return typeof n=="function"&&hd(e,".prototype.")>-1?Hl(n):n},dd=Lo,Ul=ri(),Fl=ct,Wl=Object,gd=Fl("Array.prototype.push"),zl=Fl("Object.prototype.propertyIsEnumerable"),yd=Ul?Object.getOwnPropertySymbols:null,ql=function(e,r){if(e==null)throw new TypeError("target must be an object");var n=Wl(e);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=Wl(arguments[i]),s=dd(o),c=Ul&&(Object.getOwnPropertySymbols||yd);if(c)for(var l=c(o),f=0;f<l.length;++f){var h=l[f];zl(o,h)&&gd(s,h)}for(var y=0;y<s.length;++y){var m=s[y];if(zl(o,m)){var b=o[m];n[m]=b}}}return n},Fo=ql,vd=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},md=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},Gl=function(){return!Object.assign||vd()||md()?Fo:Object.assign},bd=lr,wd=Gl,$d=function(){var e=wd();return bd(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},xd=lr,Sd=Ir,Ad=ql,Vl=Gl,_d=$d,Ed=Sd.apply(Vl()),Kl=function(e,r){return Ed(Object,arguments)};xd(Kl,{getPolyfill:Vl,implementation:Ad,shim:_d});var Md=Kl,bn=function(){return typeof(function(){}).name=="string"},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn([],"length")}catch{wn=null}bn.functionsHaveConfigurableNames=function(){if(!bn()||!wn)return!1;var e=wn(function(){},"name");return!!e&&!!e.configurable};var Pd=Function.prototype.bind;bn.boundFunctionsHaveNames=function(){return bn()&&typeof Pd=="function"&&(function(){}).bind().name!==""};var Od=bn,Yl=No,Cd=Uo(),kd=Od.functionsHaveConfigurableNames(),Ld=Ft,Td=function(e,r){if(typeof e!="function")throw new Ld("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||kd)&&(Cd?Yl(e,"name",r,!0,!0):Yl(e,"name",r)),e},Id=Td,Dd=Ft,Rd=Object,Jl=Id(function(){if(this==null||this!==Rd(this))throw new Dd("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),jd=Jl,Bd=lr.supportsDescriptors,Nd=Object.getOwnPropertyDescriptor,Zl=function(){if(Bd&&/a/mig.flags==="gim"){var e=Nd(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 jd},Hd=lr.supportsDescriptors,Ud=Zl,Fd=Object.getOwnPropertyDescriptor,Wd=Object.defineProperty,zd=TypeError,Xl=Object.getPrototypeOf,qd=/a/,Gd=function(){if(!Hd||!Xl)throw new zd("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Ud(),r=Xl(qd),n=Fd(r,"flags");return(!n||n.get!==e)&&Wd(r,"flags",{configurable:!0,enumerable:!1,get:e}),e},Vd=lr,Kd=Ir,Yd=Jl,Ql=Zl,Jd=Gd,ec=Kd(Ql());Vd(ec,{getPolyfill:Ql,implementation:Yd,shim:Jd});var Zd=ec,ai={exports:{}},Xd=ri,cr=function(){return Xd()&&!!Symbol.toStringTag},Qd=cr(),eg=ct,Wo=eg("Object.prototype.toString"),li=function(e){return Qd&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Wo(e)==="[object Arguments]"},tc=function(e){return li(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Wo(e)!=="[object Array]"&&Wo(e.callee)==="[object Function]"},tg=function(){return li(arguments)}();li.isLegacyArguments=tc;var rc=tg?li:tc;const rg=dh(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var zo=typeof Map=="function"&&Map.prototype,qo=Object.getOwnPropertyDescriptor&&zo?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ci=zo&&qo&&typeof qo.get=="function"?qo.get:null,nc=zo&&Map.prototype.forEach,Go=typeof Set=="function"&&Set.prototype,Vo=Object.getOwnPropertyDescriptor&&Go?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ui=Go&&Vo&&typeof Vo.get=="function"?Vo.get:null,ic=Go&&Set.prototype.forEach,ng=typeof WeakMap=="function"&&WeakMap.prototype,$n=ng?WeakMap.prototype.has:null,ig=typeof WeakSet=="function"&&WeakSet.prototype,xn=ig?WeakSet.prototype.has:null,og=typeof WeakRef=="function"&&WeakRef.prototype,oc=og?WeakRef.prototype.deref:null,sg=Boolean.prototype.valueOf,ag=Object.prototype.toString,lg=Function.prototype.toString,cg=String.prototype.match,Ko=String.prototype.slice,Wt=String.prototype.replace,ug=String.prototype.toUpperCase,sc=String.prototype.toLowerCase,ac=RegExp.prototype.test,lc=Array.prototype.concat,$t=Array.prototype.join,fg=Array.prototype.slice,cc=Math.floor,Yo=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Jo=Object.getOwnPropertySymbols,Zo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Dr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Dr||!0)?Symbol.toStringTag:null,uc=Object.prototype.propertyIsEnumerable,fc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function pc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ac.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-cc(-t):cc(t);if(n!==t){var i=String(n),o=Ko.call(e,i.length+1);return Wt.call(i,r,"$&_")+"."+Wt.call(Wt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Wt.call(e,r,"$&_")}var Xo=rg,hc=Xo.custom,dc=vc(hc)?hc:null,pg=function t(e,r,n,i){var o=r||{};if(zt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zt(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=zt(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(zt(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(zt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=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 bc(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return c?pc(e,l):l}if(typeof e=="bigint"){var f=String(e)+"n";return c?pc(e,f):f}var h=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=h&&h>0&&typeof e=="object")return Qo(e)?"[Array]":"[Object]";var y=Cg(o,n);if(typeof i>"u")i=[];else if(mc(i,e)>=0)return"[Circular]";function m(et,I,E){if(I&&(i=fg.call(i),i.push(I)),E){var _={depth:o.depth};return zt(o,"quoteStyle")&&(_.quoteStyle=o.quoteStyle),t(et,_,n+1,i)}return t(et,o,n+1,i)}if(typeof e=="function"&&!yc(e)){var b=$g(e),A=fi(e,m);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(A.length>0?" { "+$t.call(A,", ")+" }":"")}if(vc(e)){var L=Dr?Wt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Zo.call(e);return typeof e=="object"&&!Dr?Sn(L):L}if(Mg(e)){for(var W="<"+sc.call(String(e.nodeName)),V=e.attributes||[],J=0;J<V.length;J++)W+=" "+V[J].name+"="+gc(hg(V[J].value),"double",o);return W+=">",e.childNodes&&e.childNodes.length&&(W+="..."),W+="</"+sc.call(String(e.nodeName))+">",W}if(Qo(e)){if(e.length===0)return"[]";var Z=fi(e,m);return y&&!Og(Z)?"["+ts(Z,y)+"]":"[ "+$t.call(Z,", ")+" ]"}if(gg(e)){var pe=fi(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!uc.call(e,"cause")?"{ ["+String(e)+"] "+$t.call(lc.call("[cause]: "+m(e.cause),pe),", ")+" }":pe.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$t.call(pe,", ")+" }"}if(typeof e=="object"&&s){if(dc&&typeof e[dc]=="function"&&Xo)return Xo(e,{depth:h-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(xg(e)){var te=[];return nc&&nc.call(e,function(et,I){te.push(m(I,e,!0)+" => "+m(et,e))}),wc("Map",ci.call(e),te,y)}if(_g(e)){var N=[];return ic&&ic.call(e,function(et){N.push(m(et,e))}),wc("Set",ui.call(e),N,y)}if(Sg(e))return es("WeakMap");if(Eg(e))return es("WeakSet");if(Ag(e))return es("WeakRef");if(vg(e))return Sn(m(Number(e)));if(bg(e))return Sn(m(Yo.call(e)));if(mg(e))return Sn(sg.call(e));if(yg(e))return Sn(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ge)return"{ [object globalThis] }";if(!dg(e)&&!yc(e)){var X=fi(e,m),ie=fc?fc(e)===Object.prototype:e instanceof Object||e.constructor===Object,we=e instanceof Object?"":"null prototype",de=!ie&&Ve&&Object(e)===e&&Ve in e?Ko.call(qt(e),8,-1):we?"Object":"",re=ie||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Ne=re+(de||we?"["+$t.call(lc.call([],de||[],we||[]),": ")+"] ":"");return X.length===0?Ne+"{}":y?Ne+"{"+ts(X,y)+"}":Ne+"{ "+$t.call(X,", ")+" }"}return String(e)};function gc(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function hg(t){return Wt.call(String(t),/"/g,"&quot;")}function Qo(t){return qt(t)==="[object Array]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function dg(t){return qt(t)==="[object Date]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function yc(t){return qt(t)==="[object RegExp]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function gg(t){return qt(t)==="[object Error]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function yg(t){return qt(t)==="[object String]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function vg(t){return qt(t)==="[object Number]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function mg(t){return qt(t)==="[object Boolean]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function vc(t){if(Dr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Zo)return!1;try{return Zo.call(t),!0}catch{}return!1}function bg(t){if(!t||typeof t!="object"||!Yo)return!1;try{return Yo.call(t),!0}catch{}return!1}var wg=Object.prototype.hasOwnProperty||function(t){return t in this};function zt(t,e){return wg.call(t,e)}function qt(t){return ag.call(t)}function $g(t){if(t.name)return t.name;var e=cg.call(lg.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function mc(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 xg(t){if(!ci||!t||typeof t!="object")return!1;try{ci.call(t);try{ui.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function Sg(t){if(!$n||!t||typeof t!="object")return!1;try{$n.call(t,$n);try{xn.call(t,xn)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Ag(t){if(!oc||!t||typeof t!="object")return!1;try{return oc.call(t),!0}catch{}return!1}function _g(t){if(!ui||!t||typeof t!="object")return!1;try{ui.call(t);try{ci.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Eg(t){if(!xn||!t||typeof t!="object")return!1;try{xn.call(t,xn);try{$n.call(t,$n)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Mg(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function bc(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bc(Ko.call(t,0,e.maxStringLength),e)+n}var i=Wt.call(Wt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Pg);return gc(i,"single",e)}function Pg(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":"")+ug.call(e.toString(16))}function Sn(t){return"Object("+t+")"}function es(t){return t+" { ? }"}function wc(t,e,r,n){var i=n?ts(r,n):$t.call(r,", ");return t+" ("+e+") {"+i+"}"}function Og(t){for(var e=0;e<t.length;e++)if(mc(t[e],`
485
- `)>=0)return!1;return!0}function Cg(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 ts(t,e){if(t.length===0)return"";var r=`
486
+ `}}Ui=new WeakSet,Yf=function(r){this.dispatchEvent(new CustomEvent("details-toggled",{detail:r,bubbles:!0,composed:!0}))},customElements.define("eox-itemfilter-expandcontainer",Ep);function Ct(t){return Array.isArray?Array.isArray(t):rl(t)==="[object Array]"}const Mp=1/0;function Pp(t){if(typeof t=="string")return t;let e=t+"";return e=="0"&&1/t==-Mp?"-0":e}function Op(t){return t==null?"":Pp(t)}function bt(t){return typeof t=="string"}function el(t){return typeof t=="number"}function Cp(t){return t===!0||t===!1||kp(t)&&rl(t)=="[object Boolean]"}function tl(t){return typeof t=="object"}function kp(t){return tl(t)&&t!==null}function ot(t){return t!=null}function xo(t){return!t.trim().length}function rl(t){return t==null?t===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(t)}const y1="Extended search is not available",Lp="Incorrect 'index' type",Tp=t=>`Invalid value for key ${t}`,Ip=t=>`Pattern length exceeds max of ${t}.`,Dp=t=>`Missing ${t} property in key`,Rp=t=>`Property 'weight' in key '${t}' must be a positive integer`,nl=Object.prototype.hasOwnProperty;class jp{constructor(e){this._keys=[],this._keyMap={};let r=0;e.forEach(n=>{let i=il(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 il(t){let e=null,r=null,n=null,i=1,o=null;if(bt(t)||Ct(t))n=t,e=ol(t),r=So(t);else{if(!nl.call(t,"name"))throw new Error(Dp("name"));const s=t.name;if(n=s,nl.call(t,"weight")&&(i=t.weight,i<=0))throw new Error(Rp(s));e=ol(s),r=So(s),o=t.getFn}return{path:e,id:r,weight:i,src:n,getFn:o}}function ol(t){return Ct(t)?t:t.split(".")}function So(t){return Ct(t)?t.join("."):t}function Bp(t,e){let r=[],n=!1;const i=(o,s,c)=>{if(ot(o))if(!s[c])r.push(o);else{let l=s[c];const f=o[l];if(!ot(f))return;if(c===s.length-1&&(bt(f)||el(f)||Cp(f)))r.push(Op(f));else if(Ct(f)){n=!0;for(let d=0,g=f.length;d<g;d+=1)i(f[d],s,c+1)}else s.length&&i(f,s,c+1)}};return i(t,bt(e)?e.split("."):e,0),n?r:r[0]}var z={...{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:Bp,ignoreLocation:!1,ignoreFieldNorm:!1,fieldNormWeight:1}};const Np=/[^ ]+/g;function Hp(t=1,e=3){const r=new Map,n=Math.pow(10,e);return{get(i){const o=i.match(Np).length;if(r.has(o))return r.get(o);const s=1/Math.pow(o,.5*t),c=parseFloat(Math.round(s*n)/n);return r.set(o,c),c},clear(){r.clear()}}}class Ao{constructor({getFn:e=z.getFn,fieldNormWeight:r=z.fieldNormWeight}={}){this.norm=Hp(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,bt(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();bt(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)||xo(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(Ct(s)){let c=[];const l=[{nestedArrIndex:-1,value:s}];for(;l.length;){const{nestedArrIndex:f,value:d}=l.pop();if(ot(d))if(bt(d)&&!xo(d)){let g={v:d,i:f,n:this.norm.get(d)};c.push(g)}else Ct(d)&&d.forEach((g,m)=>{l.push({nestedArrIndex:m,value:g})})}n.$[o]=c}else if(bt(s)&&!xo(s)){let c={v:s,n:this.norm.get(s)};n.$[o]=c}}}),this.records.push(n)}toJSON(){return{keys:this.keys,records:this.records}}}function sl(t,e,{getFn:r=z.getFn,fieldNormWeight:n=z.fieldNormWeight}={}){const i=new Ao({getFn:r,fieldNormWeight:n});return i.setKeys(t.map(il)),i.setSources(e),i.create(),i}function Up(t,{getFn:e=z.getFn,fieldNormWeight:r=z.fieldNormWeight}={}){const{keys:n,records:i}=t,o=new Ao({getFn:e,fieldNormWeight:r});return o.setKeys(n),o.setIndexRecords(i),o}function Qn(t,{errors:e=0,currentLocation:r=0,expectedLocation:n=0,distance:i=z.distance,ignoreLocation:o=z.ignoreLocation}={}){const s=e/t.length;if(o)return s;const c=Math.abs(n-r);return i?s+c/i:c?1:s}function Fp(t=[],e=z.minMatchCharLength){let r=[],n=-1,i=-1,o=0;for(let s=t.length;o<s;o+=1){let c=t[o];c&&n===-1?n=o:!c&&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 or=32;function Wp(t,e,r,{location:n=z.location,distance:i=z.distance,threshold:o=z.threshold,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,includeMatches:l=z.includeMatches,ignoreLocation:f=z.ignoreLocation}={}){if(e.length>or)throw new Error(Ip(or));const d=e.length,g=t.length,m=Math.max(0,Math.min(n,g));let b=o,A=m;const L=c>1||l,W=L?Array(g):[];let V;for(;(V=t.indexOf(e,A))>-1;){let X=Qn(e,{currentLocation:V,expectedLocation:m,distance:i,ignoreLocation:f});if(b=Math.min(X,b),A=V+d,L){let ie=0;for(;ie<d;)W[V+ie]=1,ie+=1}}A=-1;let J=[],Z=1,pe=d+g;const te=1<<d-1;for(let X=0;X<d;X+=1){let ie=0,we=pe;for(;ie<we;)Qn(e,{errors:X,currentLocation:m+we,expectedLocation:m,distance:i,ignoreLocation:f})<=b?ie=we:pe=we,we=Math.floor((pe-ie)/2+ie);pe=we;let de=Math.max(1,m-we+1),re=s?g:Math.min(m+we,g)+d,Ne=Array(re+2);Ne[re+1]=(1<<X)-1;for(let I=re;I>=de;I-=1){let E=I-1,_=r[t.charAt(E)];if(L&&(W[E]=+!!_),Ne[I]=(Ne[I+1]<<1|1)&_,X&&(Ne[I]|=(J[I+1]|J[I])<<1|1|J[I+1]),Ne[I]&te&&(Z=Qn(e,{errors:X,currentLocation:E,expectedLocation:m,distance:i,ignoreLocation:f}),Z<=b)){if(b=Z,A=E,A<=m)break;de=Math.max(1,2*m-A)}}if(Qn(e,{errors:X+1,currentLocation:m,expectedLocation:m,distance:i,ignoreLocation:f})>b)break;J=Ne}const N={isMatch:A>=0,score:Math.max(.001,Z)};if(L){const X=Fp(W,c);X.length?l&&(N.indices=X):N.isMatch=!1}return N}function zp(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 al{constructor(e,{location:r=z.location,threshold:n=z.threshold,distance:i=z.distance,includeMatches:o=z.includeMatches,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,isCaseSensitive:l=z.isCaseSensitive,ignoreLocation:f=z.ignoreLocation}={}){if(this.options={location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:c,isCaseSensitive:l,ignoreLocation:f},this.pattern=l?e:e.toLowerCase(),this.chunks=[],!this.pattern.length)return;const d=(m,b)=>{this.chunks.push({pattern:m,alphabet:zp(m),startIndex:b})},g=this.pattern.length;if(g>or){let m=0;const b=g%or,A=g-b;for(;m<A;)d(this.pattern.substr(m,or),m),m+=or;if(b){const L=g-or;d(this.pattern.substr(L),L)}}else d(this.pattern,0)}searchIn(e){const{isCaseSensitive:r,includeMatches:n}=this.options;if(r||(e=e.toLowerCase()),this.pattern===e){let A={isMatch:!0,score:0};return n&&(A.indices=[[0,e.length-1]]),A}const{location:i,distance:o,threshold:s,findAllMatches:c,minMatchCharLength:l,ignoreLocation:f}=this.options;let d=[],g=0,m=!1;this.chunks.forEach(({pattern:A,alphabet:L,startIndex:W})=>{const{isMatch:V,score:J,indices:Z}=Wp(e,A,L,{location:i+W,distance:o,threshold:s,findAllMatches:c,minMatchCharLength:l,includeMatches:n,ignoreLocation:f});V&&(m=!0),g+=J,V&&Z&&(d=[...d,...Z])});let b={isMatch:m,score:m?g/this.chunks.length:1};return m&&n&&(b.indices=d),b}}class Ht{constructor(e){this.pattern=e}static isMultiMatch(e){return ll(e,this.multiRegex)}static isSingleMatch(e){return ll(e,this.singleRegex)}search(){}}function ll(t,e){const r=t.match(e);return r?r[1]:null}class qp extends Ht{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 Gp extends Ht{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 Vp extends Ht{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 Kp extends Ht{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 Yp extends Ht{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 Jp extends Ht{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 cl extends Ht{constructor(e,{location:r=z.location,threshold:n=z.threshold,distance:i=z.distance,includeMatches:o=z.includeMatches,findAllMatches:s=z.findAllMatches,minMatchCharLength:c=z.minMatchCharLength,isCaseSensitive:l=z.isCaseSensitive,ignoreLocation:f=z.ignoreLocation}={}){super(e),this._bitapSearch=new al(e,{location:r,threshold:n,distance:i,includeMatches:o,findAllMatches:s,minMatchCharLength:c,isCaseSensitive:l,ignoreLocation:f})}static get type(){return"fuzzy"}static get multiRegex(){return/^"(.*)"$/}static get singleRegex(){return/^(.*)$/}search(e){return this._bitapSearch.searchIn(e)}}class ul extends Ht{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 _o=[qp,ul,Vp,Kp,Jp,Yp,Gp,cl],fl=_o.length,Zp=/ +(?=(?:[^\"]*\"[^\"]*\")*[^\"]*$)/,Xp="|";function Qp(t,e={}){return t.split(Xp).map(r=>{let n=r.trim().split(Zp).filter(o=>o&&!!o.trim()),i=[];for(let o=0,s=n.length;o<s;o+=1){const c=n[o];let l=!1,f=-1;for(;!l&&++f<fl;){const d=_o[f];let g=d.isMultiMatch(c);g&&(i.push(new d(g,e)),l=!0)}if(!l)for(f=-1;++f<fl;){const d=_o[f];let g=d.isSingleMatch(c);if(g){i.push(new d(g,e));break}}}return i})}const eh=new Set([cl.type,ul.type]);class th{constructor(e,{isCaseSensitive:r=z.isCaseSensitive,includeMatches:n=z.includeMatches,minMatchCharLength:i=z.minMatchCharLength,ignoreLocation:o=z.ignoreLocation,findAllMatches:s=z.findAllMatches,location:c=z.location,threshold:l=z.threshold,distance:f=z.distance}={}){this.query=null,this.options={isCaseSensitive:r,includeMatches:n,minMatchCharLength:i,findAllMatches:s,ignoreLocation:o,location:c,threshold:l,distance:f},this.pattern=r?e:e.toLowerCase(),this.query=Qp(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=[],c=0;for(let l=0,f=r.length;l<f;l+=1){const d=r[l];s.length=0,o=0;for(let g=0,m=d.length;g<m;g+=1){const b=d[g],{isMatch:A,indices:L,score:W}=b.search(e);if(A){if(o+=1,c+=W,n){const V=b.constructor.type;eh.has(V)?s=[...s,...L]:s.push(L)}}else{c=0,o=0,s.length=0;break}}if(o){let g={isMatch:!0,score:c/o};return n&&(g.indices=s),g}}return{isMatch:!1,score:1}}}const Eo=[];function rh(...t){Eo.push(...t)}function Mo(t,e){for(let r=0,n=Eo.length;r<n;r+=1){let i=Eo[r];if(i.condition(t,e))return new i(t,e)}return new al(t,e)}const ei={AND:"$and",OR:"$or"},Po={PATH:"$path",PATTERN:"$val"},Oo=t=>!!(t[ei.AND]||t[ei.OR]),nh=t=>!!t[Po.PATH],ih=t=>!Ct(t)&&tl(t)&&!Oo(t),pl=t=>({[ei.AND]:Object.keys(t).map(e=>({[e]:t[e]}))});function hl(t,e,{auto:r=!0}={}){const n=i=>{let o=Object.keys(i);const s=nh(i);if(!s&&o.length>1&&!Oo(i))return n(pl(i));if(ih(i)){const l=s?i[Po.PATH]:o[0],f=s?i[Po.PATTERN]:i[l];if(!bt(f))throw new Error(Tp(l));const d={keyId:So(l),pattern:f};return r&&(d.searcher=Mo(f,e)),d}let c={children:[],operator:o[0]};return o.forEach(l=>{const f=i[l];Ct(f)&&f.forEach(d=>{c.children.push(n(d))})}),c};return Oo(t)||(t=pl(t)),n(t)}function oh(t,{ignoreFieldNorm:e=z.ignoreFieldNorm}){t.forEach(r=>{let n=1;r.matches.forEach(({key:i,norm:o,score:s})=>{const c=i?i.weight:null;n*=Math.pow(s===0&&c?Number.EPSILON:s,(c||1)*(e?1:o))}),r.score=n})}function sh(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 ah(t,e){e.score=t.score}function lh(t,e,{includeMatches:r=z.includeMatches,includeScore:n=z.includeScore}={}){const i=[];return r&&i.push(sh),n&&i.push(ah),t.map(o=>{const{idx:s}=o,c={item:e[s],refIndex:s};return i.length&&i.forEach(l=>{l(o,c)}),c})}class Ut{constructor(e,r={},n){this.options={...z,...r},this.options.useExtendedSearch,this._keyStore=new jp(this.options.keys),this.setCollection(e,n)}setCollection(e,r){if(this._docs=e,r&&!(r instanceof Ao))throw new Error(Lp);this._myIndex=r||sl(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:c}=this.options;let l=bt(e)?bt(this._docs[0])?this._searchStringList(e):this._searchObjectList(e):this._searchLogical(e);return oh(l,{ignoreFieldNorm:c}),o&&l.sort(s),el(r)&&r>-1&&(l=l.slice(0,r)),lh(l,this._docs,{includeMatches:n,includeScore:i})}_searchStringList(e){const r=Mo(e,this.options),{records:n}=this._myIndex,i=[];return n.forEach(({v:o,i:s,n:c})=>{if(!ot(o))return;const{isMatch:l,score:f,indices:d}=r.searchIn(o);l&&i.push({item:o,idx:s,matches:[{score:f,value:o,norm:c,indices:d}]})}),i}_searchLogical(e){const r=hl(e,this.options),n=(c,l,f)=>{if(!c.children){const{keyId:g,searcher:m}=c,b=this._findMatches({key:this._keyStore.get(g),value:this._myIndex.getValueForItemAtKeyId(l,g),searcher:m});return b&&b.length?[{idx:f,item:l,matches:b}]:[]}const d=[];for(let g=0,m=c.children.length;g<m;g+=1){const b=c.children[g],A=n(b,l,f);if(A.length)d.push(...A);else if(c.operator===ei.AND)return[]}return d},i=this._myIndex.records,o={},s=[];return i.forEach(({$:c,i:l})=>{if(ot(c)){let f=n(r,c,l);f.length&&(o[l]||(o[l]={idx:l,item:c,matches:[]},s.push(o[l])),f.forEach(({matches:d})=>{o[l].matches.push(...d)}))}}),s}_searchObjectList(e){const r=Mo(e,this.options),{keys:n,records:i}=this._myIndex,o=[];return i.forEach(({$:s,i:c})=>{if(!ot(s))return;let l=[];n.forEach((f,d)=>{l.push(...this._findMatches({key:f,value:s[d],searcher:r}))}),l.length&&o.push({idx:c,item:s,matches:l})}),o}_findMatches({key:e,value:r,searcher:n}){if(!ot(r))return[];let i=[];if(Ct(r))r.forEach(({v:o,i:s,n:c})=>{if(!ot(o))return;const{isMatch:l,score:f,indices:d}=n.searchIn(o);l&&i.push({score:f,key:e,value:o,idx:s,norm:c,indices:d})});else{const{v:o,n:s}=r,{isMatch:c,score:l,indices:f}=n.searchIn(o);c&&i.push({score:l,key:e,value:o,norm:s,indices:f})}return i}}Ut.version="7.0.0",Ut.createIndex=sl,Ut.parseIndex=Up,Ut.config=z,Ut.parseQuery=hl,rh(th);function dl(t,e){const r=new Ut(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 ch(t,e){const r=t.target.getAttribute("data-close").replace("|","-");e.querySelector(`#filter-${r}`).reset(),e.dispatchEvent(new CustomEvent("filter")),e.requestUpdate()}function gl(t){t.renderRoot.querySelector("#itemfilter-input-search").value="",dl({target:{value:""}},t)}function uh(t,e){e.inlineMode&&t.stopPropagation()}function fh(t){t.inlineMode&&(t.showDropdown=!0,t.requestUpdate())}function ph(t,e){e.inlineMode&&(t.stopPropagation(),e.showDropdown=!0,e.requestUpdate())}function hh(t,e){e.inlineMode&&t.key==="Escape"&&e.showDropdown&&(gl(e),e.showDropdown=!1,e.requestUpdate())}function dh(t,e){e.inlineMode&&t.target.tagName!=="DROPDOWN-FORM"&&t.target.tagName!=="EOX-ITEMFILTER"&&e.showDropdown&&(gl(e),e.showDropdown=!1,e.requestUpdate())}function gh(t,e){var r=0,n=0,i=0,o=0,s=0,c=0,l=0,f=0,d=null,g=null,m=t[0],b=t[1],A=e.length;for(r;r<A;r++){n=0;var L=e[r].length-1,W=e[r];if(d=W[0],d[0]!==W[L][0]&&d[1]!==W[L][1])throw new Error("First and last coordinates in a ring must be the same");for(s=d[0]-m,c=d[1]-b,n;n<L;n++){if(g=W[n+1],f=g[1]-b,c<0&&f<0||c>0&&f>0){d=g,c=f,s=d[0]-m;continue}if(l=g[0]-t[0],f>0&&c<=0){if(o=s*f-l*c,o>0)i=i+1;else if(o===0)return 0}else if(c>0&&f<=0){if(o=s*f-l*c,o<0)i=i+1;else if(o===0)return 0}else if(f===0&&c<0){if(o=s*f-l*c,o===0)return 0}else if(c===0&&f<0){if(o=s*f-l*c,o===0)return 0}else if(c===0&&f===0){if(l<=0&&s>=0)return 0;if(s<=0&&l>=0)return 0}d=g,c=f,s=l}}return i%2!==0}var Ge=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function vn(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}function yh(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 yl=Object.prototype.toString,vl=function(e){var r=yl.call(e),n=r==="[object Arguments]";return n||(n=r!=="[object Array]"&&e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&yl.call(e.callee)==="[object Function]"),n},Co,ml;function vh(){if(ml)return Co;ml=1;var t;if(!Object.keys){var e=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=vl,i=Object.prototype.propertyIsEnumerable,o=!i.call({toString:null},"toString"),s=i.call(function(){},"prototype"),c=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],l=function(m){var b=m.constructor;return b&&b.prototype===m},f={$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},d=function(){if(typeof window>"u")return!1;for(var m in window)try{if(!f["$"+m]&&e.call(window,m)&&window[m]!==null&&typeof window[m]=="object")try{l(window[m])}catch{return!0}}catch{return!0}return!1}(),g=function(m){if(typeof window>"u"||!d)return l(m);try{return l(m)}catch{return!1}};t=function(b){var A=b!==null&&typeof b=="object",L=r.call(b)==="[object Function]",W=n(b),V=A&&r.call(b)==="[object String]",J=[];if(!A&&!L&&!W)throw new TypeError("Object.keys called on a non-object");var Z=s&&L;if(V&&b.length>0&&!e.call(b,0))for(var pe=0;pe<b.length;++pe)J.push(String(pe));if(W&&b.length>0)for(var te=0;te<b.length;++te)J.push(String(te));else for(var N in b)!(Z&&N==="prototype")&&e.call(b,N)&&J.push(String(N));if(o)for(var X=g(b),ie=0;ie<c.length;++ie)!(X&&c[ie]==="constructor")&&e.call(b,c[ie])&&J.push(c[ie]);return J}}return Co=t,Co}var mh=Array.prototype.slice,bh=vl,bl=Object.keys,ti=bl?function(e){return bl(e)}:vh(),wl=Object.keys;ti.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 bh(n)?wl(mh.call(n)):wl(n)})}else Object.keys=ti;return Object.keys||ti};var ko=ti,wh=Error,$h=EvalError,xh=RangeError,Sh=ReferenceError,$l=SyntaxError,Ft=TypeError,Ah=URIError,ri=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},xl=typeof Symbol<"u"&&Symbol,_h=ri,Lo=function(){return typeof xl!="function"||typeof Symbol!="function"||typeof xl("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:_h()},Sl={foo:{}},Eh=Object,Mh=function(){return{__proto__:Sl}.foo===Sl.foo&&!({__proto__:null}instanceof Eh)},Ph="Function.prototype.bind called on incompatible ",Oh=Object.prototype.toString,Ch=Math.max,kh="[object Function]",Al=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},Lh=function(e,r){for(var n=[],i=r||0,o=0;i<e.length;i+=1,o+=1)n[o]=e[i];return n},Th=function(t,e){for(var r="",n=0;n<t.length;n+=1)r+=t[n],n+1<t.length&&(r+=e);return r},Ih=function(e){var r=this;if(typeof r!="function"||Oh.apply(r)!==kh)throw new TypeError(Ph+r);for(var n=Lh(arguments,1),i,o=function(){if(this instanceof i){var d=r.apply(this,Al(n,arguments));return Object(d)===d?d:this}return r.apply(e,Al(n,arguments))},s=Ch(0,r.length-n.length),c=[],l=0;l<s;l++)c[l]="$"+l;if(i=Function("binder","return function ("+Th(c,",")+"){ return binder.apply(this,arguments); }")(o),r.prototype){var f=function(){};f.prototype=r.prototype,i.prototype=new f,f.prototype=null}return i},Dh=Ih,To=Function.prototype.bind||Dh,Rh=Function.prototype.call,jh=Object.prototype.hasOwnProperty,Bh=To,_l=Bh.call(Rh,jh),ae,Nh=wh,Hh=$h,Uh=xh,Fh=Sh,Or=$l,Cr=Ft,Wh=Ah,El=Function,Io=function(t){try{return El('"use strict"; return ('+t+").constructor;")()}catch{}},sr=Object.getOwnPropertyDescriptor;if(sr)try{sr({},"")}catch{sr=null}var Do=function(){throw new Cr},zh=sr?function(){try{return arguments.callee,Do}catch{try{return sr(arguments,"callee").get}catch{return Do}}}():Do,kr=Lo(),qh=Mh(),Ue=Object.getPrototypeOf||(qh?function(t){return t.__proto__}:null),Lr={},Gh=typeof Uint8Array>"u"||!Ue?ae:Ue(Uint8Array),ar={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?ae:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?ae:ArrayBuffer,"%ArrayIteratorPrototype%":kr&&Ue?Ue([][Symbol.iterator]()):ae,"%AsyncFromSyncIteratorPrototype%":ae,"%AsyncFunction%":Lr,"%AsyncGenerator%":Lr,"%AsyncGeneratorFunction%":Lr,"%AsyncIteratorPrototype%":Lr,"%Atomics%":typeof Atomics>"u"?ae:Atomics,"%BigInt%":typeof BigInt>"u"?ae:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?ae:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?ae:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?ae:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Nh,"%eval%":eval,"%EvalError%":Hh,"%Float32Array%":typeof Float32Array>"u"?ae:Float32Array,"%Float64Array%":typeof Float64Array>"u"?ae:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?ae:FinalizationRegistry,"%Function%":El,"%GeneratorFunction%":Lr,"%Int8Array%":typeof Int8Array>"u"?ae:Int8Array,"%Int16Array%":typeof Int16Array>"u"?ae:Int16Array,"%Int32Array%":typeof Int32Array>"u"?ae:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":kr&&Ue?Ue(Ue([][Symbol.iterator]())):ae,"%JSON%":typeof JSON=="object"?JSON:ae,"%Map%":typeof Map>"u"?ae:Map,"%MapIteratorPrototype%":typeof Map>"u"||!kr||!Ue?ae:Ue(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?ae:Promise,"%Proxy%":typeof Proxy>"u"?ae:Proxy,"%RangeError%":Uh,"%ReferenceError%":Fh,"%Reflect%":typeof Reflect>"u"?ae:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?ae:Set,"%SetIteratorPrototype%":typeof Set>"u"||!kr||!Ue?ae:Ue(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?ae:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":kr&&Ue?Ue(""[Symbol.iterator]()):ae,"%Symbol%":kr?Symbol:ae,"%SyntaxError%":Or,"%ThrowTypeError%":zh,"%TypedArray%":Gh,"%TypeError%":Cr,"%Uint8Array%":typeof Uint8Array>"u"?ae:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?ae:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?ae:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?ae:Uint32Array,"%URIError%":Wh,"%WeakMap%":typeof WeakMap>"u"?ae:WeakMap,"%WeakRef%":typeof WeakRef>"u"?ae:WeakRef,"%WeakSet%":typeof WeakSet>"u"?ae:WeakSet};if(Ue)try{null.error}catch(t){var Vh=Ue(Ue(t));ar["%Error.prototype%"]=Vh}var Kh=function t(e){var r;if(e==="%AsyncFunction%")r=Io("async function () {}");else if(e==="%GeneratorFunction%")r=Io("function* () {}");else if(e==="%AsyncGeneratorFunction%")r=Io("async function* () {}");else if(e==="%AsyncGenerator%"){var n=t("%AsyncGeneratorFunction%");n&&(r=n.prototype)}else if(e==="%AsyncIteratorPrototype%"){var i=t("%AsyncGenerator%");i&&Ue&&(r=Ue(i.prototype))}return ar[e]=r,r},Ml={__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"]},mn=To,ni=_l,Yh=mn.call(Function.call,Array.prototype.concat),Jh=mn.call(Function.apply,Array.prototype.splice),Pl=mn.call(Function.call,String.prototype.replace),ii=mn.call(Function.call,String.prototype.slice),Zh=mn.call(Function.call,RegExp.prototype.exec),Xh=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Qh=/\\(\\)?/g,ed=function(e){var r=ii(e,0,1),n=ii(e,-1);if(r==="%"&&n!=="%")throw new Or("invalid intrinsic syntax, expected closing `%`");if(n==="%"&&r!=="%")throw new Or("invalid intrinsic syntax, expected opening `%`");var i=[];return Pl(e,Xh,function(o,s,c,l){i[i.length]=c?Pl(l,Qh,"$1"):s||o}),i},td=function(e,r){var n=e,i;if(ni(Ml,n)&&(i=Ml[n],n="%"+i[0]+"%"),ni(ar,n)){var o=ar[n];if(o===Lr&&(o=Kh(n)),typeof o>"u"&&!r)throw new Cr("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:i,name:n,value:o}}throw new Or("intrinsic "+e+" does not exist!")},wt=function(e,r){if(typeof e!="string"||e.length===0)throw new Cr("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof r!="boolean")throw new Cr('"allowMissing" argument must be a boolean');if(Zh(/^%?[^%]*%?$/,e)===null)throw new Or("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=ed(e),i=n.length>0?n[0]:"",o=td("%"+i+"%",r),s=o.name,c=o.value,l=!1,f=o.alias;f&&(i=f[0],Jh(n,Yh([0,1],f)));for(var d=1,g=!0;d<n.length;d+=1){var m=n[d],b=ii(m,0,1),A=ii(m,-1);if((b==='"'||b==="'"||b==="`"||A==='"'||A==="'"||A==="`")&&b!==A)throw new Or("property names with quotes must have matching quotes");if((m==="constructor"||!g)&&(l=!0),i+="."+m,s="%"+i+"%",ni(ar,s))c=ar[s];else if(c!=null){if(!(m in c)){if(!r)throw new Cr("base intrinsic for "+e+" exists, but the property is not available.");return}if(sr&&d+1>=n.length){var L=sr(c,m);g=!!L,g&&"get"in L&&!("originalValue"in L.get)?c=L.get:c=c[m]}else g=ni(c,m),c=c[m];g&&!l&&(ar[s]=c)}}return c},rd=wt,oi=rd("%Object.defineProperty%",!0)||!1;if(oi)try{oi({},"a",{value:1})}catch{oi=!1}var Ro=oi,nd=wt,si=nd("%Object.getOwnPropertyDescriptor%",!0);if(si)try{si([],"length")}catch{si=null}var jo=si,Ol=Ro,id=$l,Tr=Ft,Cl=jo,Bo=function(e,r,n){if(!e||typeof e!="object"&&typeof e!="function")throw new Tr("`obj` must be an object or a function`");if(typeof r!="string"&&typeof r!="symbol")throw new Tr("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new Tr("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new Tr("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new Tr("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new Tr("`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,c=arguments.length>6?arguments[6]:!1,l=!!Cl&&Cl(e,r);if(Ol)Ol(e,r,{configurable:s===null&&l?l.configurable:!s,enumerable:i===null&&l?l.enumerable:!i,value:n,writable:o===null&&l?l.writable:!o});else if(c||!i&&!o&&!s)e[r]=n;else throw new id("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},No=Ro,kl=function(){return!!No};kl.hasArrayLengthDefineBug=function(){if(!No)return null;try{return No([],"length",{value:1}).length!==1}catch{return!0}};var Ho=kl,od=ko,sd=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",ad=Object.prototype.toString,ld=Array.prototype.concat,Ll=Bo,cd=function(t){return typeof t=="function"&&ad.call(t)==="[object Function]"},Tl=Ho(),ud=function(t,e,r,n){if(e in t){if(n===!0){if(t[e]===r)return}else if(!cd(n)||!n())return}Tl?Ll(t,e,r,!0):Ll(t,e,r)},Il=function(t,e){var r=arguments.length>2?arguments[2]:{},n=od(e);sd&&(n=ld.call(n,Object.getOwnPropertySymbols(e)));for(var i=0;i<n.length;i+=1)ud(t,n[i],e[n[i]],r[n[i]])};Il.supportsDescriptors=!!Tl;var lr=Il,Dl={exports:{}},fd=wt,Rl=Bo,pd=Ho(),jl=jo,Bl=Ft,hd=fd("%Math.floor%"),dd=function(e,r){if(typeof e!="function")throw new Bl("`fn` is not a function");if(typeof r!="number"||r<0||r>4294967295||hd(r)!==r)throw new Bl("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],i=!0,o=!0;if("length"in e&&jl){var s=jl(e,"length");s&&!s.configurable&&(i=!1),s&&!s.writable&&(o=!1)}return(i||o||!n)&&(pd?Rl(e,"length",r,!0,!0):Rl(e,"length",r)),e};(function(t){var e=To,r=wt,n=dd,i=Ft,o=r("%Function.prototype.apply%"),s=r("%Function.prototype.call%"),c=r("%Reflect.apply%",!0)||e.call(s,o),l=Ro,f=r("%Math.max%");t.exports=function(m){if(typeof m!="function")throw new i("a function is required");var b=c(e,s,arguments);return n(b,1+f(0,m.length-(arguments.length-1)),!0)};var d=function(){return c(e,o,arguments)};l?l(t.exports,"apply",{value:d}):t.exports.apply=d})(Dl);var Ir=Dl.exports,Nl=wt,Hl=Ir,gd=Hl(Nl("String.prototype.indexOf")),ct=function(e,r){var n=Nl(e,!!r);return typeof n=="function"&&gd(e,".prototype.")>-1?Hl(n):n},yd=ko,Ul=ri(),Fl=ct,Wl=Object,vd=Fl("Array.prototype.push"),zl=Fl("Object.prototype.propertyIsEnumerable"),md=Ul?Object.getOwnPropertySymbols:null,ql=function(e,r){if(e==null)throw new TypeError("target must be an object");var n=Wl(e);if(arguments.length===1)return n;for(var i=1;i<arguments.length;++i){var o=Wl(arguments[i]),s=yd(o),c=Ul&&(Object.getOwnPropertySymbols||md);if(c)for(var l=c(o),f=0;f<l.length;++f){var d=l[f];zl(o,d)&&vd(s,d)}for(var g=0;g<s.length;++g){var m=s[g];if(zl(o,m)){var b=o[m];n[m]=b}}}return n},Uo=ql,bd=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},wd=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},Gl=function(){return!Object.assign||bd()||wd()?Uo:Object.assign},$d=lr,xd=Gl,Sd=function(){var e=xd();return $d(Object,{assign:e},{assign:function(){return Object.assign!==e}}),e},Ad=lr,_d=Ir,Ed=ql,Vl=Gl,Md=Sd,Pd=_d.apply(Vl()),Kl=function(e,r){return Pd(Object,arguments)};Ad(Kl,{getPolyfill:Vl,implementation:Ed,shim:Md});var Od=Kl,bn=function(){return typeof(function(){}).name=="string"},wn=Object.getOwnPropertyDescriptor;if(wn)try{wn([],"length")}catch{wn=null}bn.functionsHaveConfigurableNames=function(){if(!bn()||!wn)return!1;var e=wn(function(){},"name");return!!e&&!!e.configurable};var Cd=Function.prototype.bind;bn.boundFunctionsHaveNames=function(){return bn()&&typeof Cd=="function"&&(function(){}).bind().name!==""};var kd=bn,Yl=Bo,Ld=Ho(),Td=kd.functionsHaveConfigurableNames(),Id=Ft,Dd=function(e,r){if(typeof e!="function")throw new Id("`fn` is not a function");var n=arguments.length>2&&!!arguments[2];return(!n||Td)&&(Ld?Yl(e,"name",r,!0,!0):Yl(e,"name",r)),e},Rd=Dd,jd=Ft,Bd=Object,Jl=Rd(function(){if(this==null||this!==Bd(this))throw new jd("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),Nd=Jl,Hd=lr.supportsDescriptors,Ud=Object.getOwnPropertyDescriptor,Zl=function(){if(Hd&&/a/mig.flags==="gim"){var e=Ud(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 Nd},Fd=lr.supportsDescriptors,Wd=Zl,zd=Object.getOwnPropertyDescriptor,qd=Object.defineProperty,Gd=TypeError,Xl=Object.getPrototypeOf,Vd=/a/,Kd=function(){if(!Fd||!Xl)throw new Gd("RegExp.prototype.flags requires a true ES5 environment that supports property descriptors");var e=Wd(),r=Xl(Vd),n=zd(r,"flags");return(!n||n.get!==e)&&qd(r,"flags",{configurable:!0,enumerable:!1,get:e}),e},Yd=lr,Jd=Ir,Zd=Jl,Ql=Zl,Xd=Kd,ec=Jd(Ql());Yd(ec,{getPolyfill:Ql,implementation:Zd,shim:Xd});var Qd=ec,ai={exports:{}},eg=ri,cr=function(){return eg()&&!!Symbol.toStringTag},tg=cr(),rg=ct,Fo=rg("Object.prototype.toString"),li=function(e){return tg&&e&&typeof e=="object"&&Symbol.toStringTag in e?!1:Fo(e)==="[object Arguments]"},tc=function(e){return li(e)?!0:e!==null&&typeof e=="object"&&typeof e.length=="number"&&e.length>=0&&Fo(e)!=="[object Array]"&&Fo(e.callee)==="[object Function]"},ng=function(){return li(arguments)}();li.isLegacyArguments=tc;var rc=ng?li:tc;const ig=yh(Object.freeze(Object.defineProperty({__proto__:null,default:{}},Symbol.toStringTag,{value:"Module"})));var Wo=typeof Map=="function"&&Map.prototype,zo=Object.getOwnPropertyDescriptor&&Wo?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,ci=Wo&&zo&&typeof zo.get=="function"?zo.get:null,nc=Wo&&Map.prototype.forEach,qo=typeof Set=="function"&&Set.prototype,Go=Object.getOwnPropertyDescriptor&&qo?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,ui=qo&&Go&&typeof Go.get=="function"?Go.get:null,ic=qo&&Set.prototype.forEach,og=typeof WeakMap=="function"&&WeakMap.prototype,$n=og?WeakMap.prototype.has:null,sg=typeof WeakSet=="function"&&WeakSet.prototype,xn=sg?WeakSet.prototype.has:null,ag=typeof WeakRef=="function"&&WeakRef.prototype,oc=ag?WeakRef.prototype.deref:null,lg=Boolean.prototype.valueOf,cg=Object.prototype.toString,ug=Function.prototype.toString,fg=String.prototype.match,Vo=String.prototype.slice,Wt=String.prototype.replace,pg=String.prototype.toUpperCase,sc=String.prototype.toLowerCase,ac=RegExp.prototype.test,lc=Array.prototype.concat,$t=Array.prototype.join,hg=Array.prototype.slice,cc=Math.floor,Ko=typeof BigInt=="function"?BigInt.prototype.valueOf:null,Yo=Object.getOwnPropertySymbols,Jo=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?Symbol.prototype.toString:null,Dr=typeof Symbol=="function"&&typeof Symbol.iterator=="object",Ve=typeof Symbol=="function"&&Symbol.toStringTag&&(typeof Symbol.toStringTag===Dr||!0)?Symbol.toStringTag:null,uc=Object.prototype.propertyIsEnumerable,fc=(typeof Reflect=="function"?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(t){return t.__proto__}:null);function pc(t,e){if(t===1/0||t===-1/0||t!==t||t&&t>-1e3&&t<1e3||ac.call(/e/,e))return e;var r=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if(typeof t=="number"){var n=t<0?-cc(-t):cc(t);if(n!==t){var i=String(n),o=Vo.call(e,i.length+1);return Wt.call(i,r,"$&_")+"."+Wt.call(Wt.call(o,/([0-9]{3})/g,"$&_"),/_$/,"")}}return Wt.call(e,r,"$&_")}var Zo=ig,hc=Zo.custom,dc=vc(hc)?hc:null,dg=function t(e,r,n,i){var o=r||{};if(zt(o,"quoteStyle")&&o.quoteStyle!=="single"&&o.quoteStyle!=="double")throw new TypeError('option "quoteStyle" must be "single" or "double"');if(zt(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=zt(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(zt(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(zt(o,"numericSeparator")&&typeof o.numericSeparator!="boolean")throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var c=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 bc(e,o);if(typeof e=="number"){if(e===0)return 1/0/e>0?"0":"-0";var l=String(e);return c?pc(e,l):l}if(typeof e=="bigint"){var f=String(e)+"n";return c?pc(e,f):f}var d=typeof o.depth>"u"?5:o.depth;if(typeof n>"u"&&(n=0),n>=d&&d>0&&typeof e=="object")return Xo(e)?"[Array]":"[Object]";var g=Lg(o,n);if(typeof i>"u")i=[];else if(mc(i,e)>=0)return"[Circular]";function m(et,I,E){if(I&&(i=hg.call(i),i.push(I)),E){var _={depth:o.depth};return zt(o,"quoteStyle")&&(_.quoteStyle=o.quoteStyle),t(et,_,n+1,i)}return t(et,o,n+1,i)}if(typeof e=="function"&&!yc(e)){var b=Sg(e),A=fi(e,m);return"[Function"+(b?": "+b:" (anonymous)")+"]"+(A.length>0?" { "+$t.call(A,", ")+" }":"")}if(vc(e)){var L=Dr?Wt.call(String(e),/^(Symbol\(.*\))_[^)]*$/,"$1"):Jo.call(e);return typeof e=="object"&&!Dr?Sn(L):L}if(Og(e)){for(var W="<"+sc.call(String(e.nodeName)),V=e.attributes||[],J=0;J<V.length;J++)W+=" "+V[J].name+"="+gc(gg(V[J].value),"double",o);return W+=">",e.childNodes&&e.childNodes.length&&(W+="..."),W+="</"+sc.call(String(e.nodeName))+">",W}if(Xo(e)){if(e.length===0)return"[]";var Z=fi(e,m);return g&&!kg(Z)?"["+es(Z,g)+"]":"[ "+$t.call(Z,", ")+" ]"}if(vg(e)){var pe=fi(e,m);return!("cause"in Error.prototype)&&"cause"in e&&!uc.call(e,"cause")?"{ ["+String(e)+"] "+$t.call(lc.call("[cause]: "+m(e.cause),pe),", ")+" }":pe.length===0?"["+String(e)+"]":"{ ["+String(e)+"] "+$t.call(pe,", ")+" }"}if(typeof e=="object"&&s){if(dc&&typeof e[dc]=="function"&&Zo)return Zo(e,{depth:d-n});if(s!=="symbol"&&typeof e.inspect=="function")return e.inspect()}if(Ag(e)){var te=[];return nc&&nc.call(e,function(et,I){te.push(m(I,e,!0)+" => "+m(et,e))}),wc("Map",ci.call(e),te,g)}if(Mg(e)){var N=[];return ic&&ic.call(e,function(et){N.push(m(et,e))}),wc("Set",ui.call(e),N,g)}if(_g(e))return Qo("WeakMap");if(Pg(e))return Qo("WeakSet");if(Eg(e))return Qo("WeakRef");if(bg(e))return Sn(m(Number(e)));if($g(e))return Sn(m(Ko.call(e)));if(wg(e))return Sn(lg.call(e));if(mg(e))return Sn(m(String(e)));if(typeof window<"u"&&e===window)return"{ [object Window] }";if(e===Ge)return"{ [object globalThis] }";if(!yg(e)&&!yc(e)){var X=fi(e,m),ie=fc?fc(e)===Object.prototype:e instanceof Object||e.constructor===Object,we=e instanceof Object?"":"null prototype",de=!ie&&Ve&&Object(e)===e&&Ve in e?Vo.call(qt(e),8,-1):we?"Object":"",re=ie||typeof e.constructor!="function"?"":e.constructor.name?e.constructor.name+" ":"",Ne=re+(de||we?"["+$t.call(lc.call([],de||[],we||[]),": ")+"] ":"");return X.length===0?Ne+"{}":g?Ne+"{"+es(X,g)+"}":Ne+"{ "+$t.call(X,", ")+" }"}return String(e)};function gc(t,e,r){var n=(r.quoteStyle||e)==="double"?'"':"'";return n+t+n}function gg(t){return Wt.call(String(t),/"/g,"&quot;")}function Xo(t){return qt(t)==="[object Array]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function yg(t){return qt(t)==="[object Date]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function yc(t){return qt(t)==="[object RegExp]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function vg(t){return qt(t)==="[object Error]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function mg(t){return qt(t)==="[object String]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function bg(t){return qt(t)==="[object Number]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function wg(t){return qt(t)==="[object Boolean]"&&(!Ve||!(typeof t=="object"&&Ve in t))}function vc(t){if(Dr)return t&&typeof t=="object"&&t instanceof Symbol;if(typeof t=="symbol")return!0;if(!t||typeof t!="object"||!Jo)return!1;try{return Jo.call(t),!0}catch{}return!1}function $g(t){if(!t||typeof t!="object"||!Ko)return!1;try{return Ko.call(t),!0}catch{}return!1}var xg=Object.prototype.hasOwnProperty||function(t){return t in this};function zt(t,e){return xg.call(t,e)}function qt(t){return cg.call(t)}function Sg(t){if(t.name)return t.name;var e=fg.call(ug.call(t),/^function\s*([\w$]+)/);return e?e[1]:null}function mc(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 Ag(t){if(!ci||!t||typeof t!="object")return!1;try{ci.call(t);try{ui.call(t)}catch{return!0}return t instanceof Map}catch{}return!1}function _g(t){if(!$n||!t||typeof t!="object")return!1;try{$n.call(t,$n);try{xn.call(t,xn)}catch{return!0}return t instanceof WeakMap}catch{}return!1}function Eg(t){if(!oc||!t||typeof t!="object")return!1;try{return oc.call(t),!0}catch{}return!1}function Mg(t){if(!ui||!t||typeof t!="object")return!1;try{ui.call(t);try{ci.call(t)}catch{return!0}return t instanceof Set}catch{}return!1}function Pg(t){if(!xn||!t||typeof t!="object")return!1;try{xn.call(t,xn);try{$n.call(t,$n)}catch{return!0}return t instanceof WeakSet}catch{}return!1}function Og(t){return!t||typeof t!="object"?!1:typeof HTMLElement<"u"&&t instanceof HTMLElement?!0:typeof t.nodeName=="string"&&typeof t.getAttribute=="function"}function bc(t,e){if(t.length>e.maxStringLength){var r=t.length-e.maxStringLength,n="... "+r+" more character"+(r>1?"s":"");return bc(Vo.call(t,0,e.maxStringLength),e)+n}var i=Wt.call(Wt.call(t,/(['\\])/g,"\\$1"),/[\x00-\x1f]/g,Cg);return gc(i,"single",e)}function Cg(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":"")+pg.call(e.toString(16))}function Sn(t){return"Object("+t+")"}function Qo(t){return t+" { ? }"}function wc(t,e,r,n){var i=n?es(r,n):$t.call(r,", ");return t+" ("+e+") {"+i+"}"}function kg(t){for(var e=0;e<t.length;e++)if(mc(t[e],`
487
+ `)>=0)return!1;return!0}function Lg(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 es(t,e){if(t.length===0)return"";var r=`
486
488
  `+e.prev+e.base;return r+$t.call(t,","+r)+`
487
- `+e.prev}function fi(t,e){var r=Qo(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=zt(t,i)?e(t[i],t):""}var o=typeof Jo=="function"?Jo(t):[],s;if(Dr){s={};for(var c=0;c<o.length;c++)s["$"+o[c]]=o[c]}for(var l in t)zt(t,l)&&(r&&String(Number(l))===l&&l<t.length||Dr&&s["$"+l]instanceof Symbol||(ac.call(/[^\w$]/,l)?n.push(e(l,t)+": "+e(t[l],t)):n.push(l+": "+e(t[l],t))));if(typeof Jo=="function")for(var f=0;f<o.length;f++)uc.call(t,o[f])&&n.push("["+e(o[f])+"]: "+e(t[o[f]],t));return n}var $c=wt,Rr=ct,kg=pg,Lg=Ft,pi=$c("%WeakMap%",!0),hi=$c("%Map%",!0),Tg=Rr("WeakMap.prototype.get",!0),Ig=Rr("WeakMap.prototype.set",!0),Dg=Rr("WeakMap.prototype.has",!0),Rg=Rr("Map.prototype.get",!0),jg=Rr("Map.prototype.set",!0),Bg=Rr("Map.prototype.has",!0),rs=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},Ng=function(t,e){var r=rs(t,e);return r&&r.value},Hg=function(t,e,r){var n=rs(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Ug=function(t,e){return!!rs(t,e)},xc=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new Lg("Side channel does not contain "+kg(o))},get:function(o){if(pi&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Tg(e,o)}else if(hi){if(r)return Rg(r,o)}else if(n)return Ng(n,o)},has:function(o){if(pi&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Dg(e,o)}else if(hi){if(r)return Bg(r,o)}else if(n)return Ug(n,o);return!1},set:function(o,s){pi&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new pi),Ig(e,o,s)):hi?(r||(r=new hi),jg(r,o,s)):(n||(n={key:{},next:null}),Hg(n,o,s))}};return i},Fg=_l,An=xc(),Lt=Ft,ns={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Lt("`O` is not an object");if(typeof e!="string")throw new Lt("`slot` must be a string");if(An.assert(t),!ns.has(t,e))throw new Lt("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Lt("`O` is not an object");if(typeof e!="string")throw new Lt("`slot` must be a string");var r=An.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new Lt("`O` is not an object");if(typeof e!="string")throw new Lt("`slot` must be a string");var r=An.get(t);return!!r&&Fg(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new Lt("`O` is not an object");if(typeof e!="string")throw new Lt("`slot` must be a string");var n=An.get(t);n||(n={},An.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(ns);var Wg=ns,_n=Wg,zg=SyntaxError,Sc=typeof StopIteration=="object"?StopIteration:null,qg=function(e){if(!Sc)throw new zg("this environment lacks StopIteration");_n.set(e,"[[Done]]",!1);var r={next:function(){var i=_n.get(this,"[[Iterator]]"),o=_n.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(_n.set(i,"[[Done]]",!0),s!==Sc)throw s;return{done:!0,value:void 0}}}};return _n.set(r,"[[Iterator]]",e),r},is,Ac;function Gg(){if(Ac)return is;Ac=1;var t={}.toString;return is=Array.isArray||function(e){return t.call(e)=="[object Array]"},is}var Vg=String.prototype.valueOf,Kg=function(e){try{return Vg.call(e),!0}catch{return!1}},Yg=Object.prototype.toString,Jg="[object String]",Zg=cr(),_c=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:Zg?Kg(e):Yg.call(e)===Jg},os=typeof Map=="function"&&Map.prototype?Map:null,Xg=typeof Set=="function"&&Set.prototype?Set:null,di;os||(di=function(e){return!1});var Ec=os?Map.prototype.has:null,Mc=Xg?Set.prototype.has:null;!di&&!Ec&&(di=function(e){return!1});var Pc=di||function(e){if(!e||typeof e!="object")return!1;try{if(Ec.call(e),Mc)try{Mc.call(e)}catch{return!0}return e instanceof os}catch{}return!1},Qg=typeof Map=="function"&&Map.prototype?Map:null,ss=typeof Set=="function"&&Set.prototype?Set:null,gi;ss||(gi=function(e){return!1});var Oc=Qg?Map.prototype.has:null,Cc=ss?Set.prototype.has:null;!gi&&!Cc&&(gi=function(e){return!1});var kc=gi||function(e){if(!e||typeof e!="object")return!1;try{if(Cc.call(e),Oc)try{Oc.call(e)}catch{return!0}return e instanceof ss}catch{}return!1},Lc=rc,Tc=qg;if(To()||ri()){var as=Symbol.iterator;ai.exports=function(e){if(e!=null&&typeof e[as]<"u")return e[as]();if(Lc(e))return Array.prototype[as].call(e)}}else{var ey=Gg(),ty=_c,Ic=wt,ry=Ic("%Map%",!0),ny=Ic("%Set%",!0),ht=ct,Dc=ht("Array.prototype.push"),Rc=ht("String.prototype.charCodeAt"),iy=ht("String.prototype.slice"),oy=function(e,r){var n=e.length;if(r+1>=n)return r+1;var i=Rc(e,r);if(i<55296||i>56319)return r+1;var o=Rc(e,r+1);return o<56320||o>57343?r+1:r+2},ls=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}}}},jc=function(e,r){if(ey(e)||Lc(e))return ls(e);if(ty(e)){var n=0;return{next:function(){var o=oy(e,n),s=iy(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(!ry&&!ny)ai.exports=function(e){if(e!=null)return jc(e,!0)};else{var sy=Pc,ay=kc,Bc=ht("Map.prototype.forEach",!0),Nc=ht("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Hc=ht("Map.prototype.iterator",!0),Uc=ht("Set.prototype.iterator",!0);var Fc=ht("Map.prototype.@@iterator",!0)||ht("Map.prototype._es6-shim iterator_",!0),Wc=ht("Set.prototype.@@iterator",!0)||ht("Set.prototype._es6-shim iterator_",!0),ly=function(e){if(sy(e)){if(Hc)return Tc(Hc(e));if(Fc)return Fc(e);if(Bc){var r=[];return Bc(e,function(i,o){Dc(r,[o,i])}),ls(r)}}if(ay(e)){if(Uc)return Tc(Uc(e));if(Wc)return Wc(e);if(Nc){var n=[];return Nc(e,function(i){Dc(n,i)}),ls(n)}}};ai.exports=function(e){return ly(e)||jc(e)}}}var cy=ai.exports,zc=function(t){return t!==t},qc=function(e,r){return e===0&&r===0?1/e===1/r:!!(e===r||zc(e)&&zc(r))},uy=qc,Gc=function(){return typeof Object.is=="function"?Object.is:uy},fy=Gc,py=lr,hy=function(){var e=fy();return py(Object,{is:e},{is:function(){return Object.is!==e}}),e},dy=lr,gy=Ir,yy=qc,Vc=Gc,vy=hy,Kc=gy(Vc(),Object);dy(Kc,{getPolyfill:Vc,implementation:yy,shim:vy});var my=Kc,by={}.toString,wy=Array.isArray||function(t){return by.call(t)=="[object Array]"},$y=Ir,Yc=ct,xy=wt,cs=xy("%ArrayBuffer%",!0),yi=Yc("ArrayBuffer.prototype.byteLength",!0),Sy=Yc("Object.prototype.toString"),Jc=!!cs&&!yi&&new cs(0).slice,Zc=!!Jc&&$y(Jc),Xc=yi||Zc?function(e){if(!e||typeof e!="object")return!1;try{return yi?yi(e):Zc(e,0),!0}catch{return!1}}:cs?function(e){return Sy(e)==="[object ArrayBuffer]"}:function(e){return!1},Ay=Date.prototype.getDay,_y=function(e){try{return Ay.call(e),!0}catch{return!1}},Ey=Object.prototype.toString,My="[object Date]",Py=cr(),Oy=function(e){return typeof e!="object"||e===null?!1:Py?_y(e):Ey.call(e)===My},us=ct,Qc=cr(),eu,tu,fs,ps;if(Qc){eu=us("Object.prototype.hasOwnProperty"),tu=us("RegExp.prototype.exec"),fs={};var hs=function(){throw fs};ps={toString:hs,valueOf:hs},typeof Symbol.toPrimitive=="symbol"&&(ps[Symbol.toPrimitive]=hs)}var Cy=us("Object.prototype.toString"),ky=Object.getOwnPropertyDescriptor,Ly="[object RegExp]",Ty=Qc?function(e){if(!e||typeof e!="object")return!1;var r=ky(e,"lastIndex"),n=r&&eu(r,"value");if(!n)return!1;try{tu(e,ps)}catch(i){return i===fs}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Cy(e)===Ly},Iy=ct,ru=Iy("SharedArrayBuffer.prototype.byteLength",!0),Dy=ru?function(e){if(!e||typeof e!="object")return!1;try{return ru(e),!0}catch{return!1}}:function(e){return!1},Ry=Number.prototype.toString,jy=function(e){try{return Ry.call(e),!0}catch{return!1}},By=Object.prototype.toString,Ny="[object Number]",Hy=cr(),Uy=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:Hy?jy(e):By.call(e)===Ny},nu=ct,Fy=nu("Boolean.prototype.toString"),Wy=nu("Object.prototype.toString"),zy=function(e){try{return Fy(e),!0}catch{return!1}},qy="[object Boolean]",Gy=cr(),Vy=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:Gy&&Symbol.toStringTag in e?zy(e):Wy(e)===qy},ds={exports:{}},Ky=Object.prototype.toString,Yy=To();if(Yy){var Jy=Symbol.prototype.toString,Zy=/^Symbol\(.*\)$/,Xy=function(e){return typeof e.valueOf()!="symbol"?!1:Zy.test(Jy.call(e))};ds.exports=function(e){if(typeof e=="symbol")return!0;if(Ky.call(e)!=="[object Symbol]")return!1;try{return Xy(e)}catch{return!1}}}else ds.exports=function(e){return!1};var Qy=ds.exports,gs={exports:{}},iu=typeof BigInt<"u"&&BigInt,ev=function(){return typeof iu=="function"&&typeof BigInt=="function"&&typeof iu(42)=="bigint"&&typeof BigInt(42)=="bigint"},tv=ev();if(tv){var rv=BigInt.prototype.valueOf,nv=function(e){try{return rv.call(e),!0}catch{}return!1};gs.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:nv(e)}}else gs.exports=function(e){return!1};var iv=gs.exports,ov=_c,sv=Uy,av=Vy,lv=Qy,cv=iv,uv=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(ov(e))return"String";if(sv(e))return"Number";if(av(e))return"Boolean";if(lv(e))return"Symbol";if(cv(e))return"BigInt"},vi=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,ou=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,mi;vi||(mi=function(e){return!1});var ys=vi?vi.prototype.has:null,vs=ou?ou.prototype.has:null;!mi&&!ys&&(mi=function(e){return!1});var fv=mi||function(e){if(!e||typeof e!="object")return!1;try{if(ys.call(e,ys),vs)try{vs.call(e,vs)}catch{return!0}return e instanceof vi}catch{}return!1},ms={exports:{}},pv=wt,su=ct,hv=pv("%WeakSet%",!0),bs=su("WeakSet.prototype.has",!0);if(bs){var ws=su("WeakMap.prototype.has",!0);ms.exports=function(e){if(!e||typeof e!="object")return!1;try{if(bs(e,bs),ws)try{ws(e,ws)}catch{return!0}return e instanceof hv}catch{}return!1}}else ms.exports=function(e){return!1};var dv=ms.exports,gv=Pc,yv=kc,vv=fv,mv=dv,bv=function(e){if(e&&typeof e=="object"){if(gv(e))return"Map";if(yv(e))return"Set";if(vv(e))return"WeakMap";if(mv(e))return"WeakSet"}return!1},au=Function.prototype.toString,jr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,$s,bi;if(typeof jr=="function"&&typeof Object.defineProperty=="function")try{$s=Object.defineProperty({},"length",{get:function(){throw bi}}),bi={},jr(function(){throw 42},null,$s)}catch(t){t!==bi&&(jr=null)}else jr=null;var wv=/^\s*class\b/,xs=function(e){try{var r=au.call(e);return wv.test(r)}catch{return!1}},Ss=function(e){try{return xs(e)?!1:(au.call(e),!0)}catch{return!1}},wi=Object.prototype.toString,$v="[object Object]",xv="[object Function]",Sv="[object GeneratorFunction]",Av="[object HTMLAllCollection]",_v="[object HTML document.all class]",Ev="[object HTMLCollection]",Mv=typeof Symbol=="function"&&!!Symbol.toStringTag,Pv=!(0 in[,]),As=function(){return!1};if(typeof document=="object"){var Ov=document.all;wi.call(Ov)===wi.call(document.all)&&(As=function(e){if((Pv||!e)&&(typeof e>"u"||typeof e=="object"))try{var r=wi.call(e);return(r===Av||r===_v||r===Ev||r===$v)&&e("")==null}catch{}return!1})}var Cv=jr?function(e){if(As(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{jr(e,null,$s)}catch(r){if(r!==bi)return!1}return!xs(e)&&Ss(e)}:function(e){if(As(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Mv)return Ss(e);if(xs(e))return!1;var r=wi.call(e);return r!==xv&&r!==Sv&&!/^\[object HTML/.test(r)?!1:Ss(e)},kv=Cv,Lv=Object.prototype.toString,lu=Object.prototype.hasOwnProperty,Tv=function(e,r,n){for(var i=0,o=e.length;i<o;i++)lu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Iv=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)},Dv=function(e,r,n){for(var i in e)lu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Rv=function(e,r,n){if(!kv(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Lv.call(e)==="[object Array]"?Tv(e,r,i):typeof e=="string"?Iv(e,r,i):Dv(e,r,i)},jv=Rv,_s=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Bv=typeof globalThis>"u"?Ge:globalThis,Nv=function(){for(var e=[],r=0;r<_s.length;r++)typeof Bv[_s[r]]=="function"&&(e[e.length]=_s[r]);return e},$i=jv,Hv=Nv,cu=Ir,Es=ct,xi=Bo,Uv=Es("Object.prototype.toString"),uu=cr(),fu=typeof globalThis>"u"?Ge:globalThis,Ms=Hv(),Ps=Es("String.prototype.slice"),Os=Object.getPrototypeOf,Fv=Es("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return-1},Si={__proto__:null};uu&&xi&&Os?$i(Ms,function(t){var e=new fu[t];if(Symbol.toStringTag in e){var r=Os(e),n=xi(r,Symbol.toStringTag);if(!n){var i=Os(r);n=xi(i,Symbol.toStringTag)}Si["$"+t]=cu(n.get)}}):$i(Ms,function(t){var e=new fu[t],r=e.slice||e.set;r&&(Si["$"+t]=cu(r))});var Wv=function(e){var r=!1;return $i(Si,function(n,i){if(!r)try{"$"+n(e)===i&&(r=Ps(i,1))}catch{}}),r},zv=function(e){var r=!1;return $i(Si,function(n,i){if(!r)try{n(e),r=Ps(i,1)}catch{}}),r},qv=function(e){if(!e||typeof e!="object")return!1;if(!uu){var r=Ps(Uv(e),8,-1);return Fv(Ms,r)>-1?r:r!=="Object"?!1:zv(e)}return xi?Wv(e):null},Gv=ct,pu=Gv("ArrayBuffer.prototype.byteLength",!0),Vv=Xc,Kv=function(e){return Vv(e)?pu?pu(e):e.byteLength:NaN},hu=Md,xt=ct,du=Zd,Yv=wt,Br=cy,Jv=xc,gu=my,yu=rc,vu=wy,mu=Xc,bu=Oy,wu=Ty,$u=Dy,xu=Lo,Su=uv,Au=bv,_u=qv,Eu=Kv,Mu=xt("SharedArrayBuffer.prototype.byteLength",!0),Pu=xt("Date.prototype.getTime"),Cs=Object.getPrototypeOf,Ou=xt("Object.prototype.toString"),Ai=Yv("%Set%",!0),ks=xt("Map.prototype.has",!0),_i=xt("Map.prototype.get",!0),Cu=xt("Map.prototype.size",!0),Ei=xt("Set.prototype.add",!0),ku=xt("Set.prototype.delete",!0),Mi=xt("Set.prototype.has",!0),Pi=xt("Set.prototype.size",!0);function Lu(t,e,r,n){for(var i=Br(t),o;(o=i.next())&&!o.done;)if(dt(e,o.value,r,n))return ku(t,o.value),!0;return!1}function Tu(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 Zv(t,e,r,n,i,o){var s=Tu(r);if(s!=null)return s;var c=_i(e,s),l=hu({},i,{strict:!1});return typeof c>"u"&&!ks(e,s)||!dt(n,c,l,o)?!1:!ks(t,s)&&dt(n,c,l,o)}function Xv(t,e,r){var n=Tu(r);return n??(Mi(e,n)&&!Mi(t,n))}function Iu(t,e,r,n,i,o){for(var s=Br(t),c,l;(c=s.next())&&!c.done;)if(l=c.value,dt(r,l,i,o)&&dt(n,_i(e,l),i,o))return ku(t,l),!0;return!1}function dt(t,e,r,n){var i=r||{};if(i.strict?gu(t,e):t===e)return!0;var o=Su(t),s=Su(e);if(o!==s)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?gu(t,e):t==e;var c=n.has(t),l=n.has(e),f;if(c&&l){if(n.get(t)===n.get(e))return!0}else f={};return c||n.set(t,f),l||n.set(e,f),tm(t,e,i,n)}function Du(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 Qv(t,e,r,n){if(Pi(t)!==Pi(e))return!1;for(var i=Br(t),o=Br(e),s,c,l;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new Ai),Ei(l,s.value);else if(!Mi(e,s.value)){if(r.strict||!Xv(t,e,s.value))return!1;l||(l=new Ai),Ei(l,s.value)}if(l){for(;(c=o.next())&&!c.done;)if(c.value&&typeof c.value=="object"){if(!Lu(l,c.value,r.strict,n))return!1}else if(!r.strict&&!Mi(t,c.value)&&!Lu(l,c.value,r.strict,n))return!1;return Pi(l)===0}return!0}function em(t,e,r,n){if(Cu(t)!==Cu(e))return!1;for(var i=Br(t),o=Br(e),s,c,l,f,h,y;(s=i.next())&&!s.done;)if(f=s.value[0],h=s.value[1],f&&typeof f=="object")l||(l=new Ai),Ei(l,f);else if(y=_i(e,f),typeof y>"u"&&!ks(e,f)||!dt(h,y,r,n)){if(r.strict||!Zv(t,e,f,h,r,n))return!1;l||(l=new Ai),Ei(l,f)}if(l){for(;(c=o.next())&&!c.done;)if(f=c.value[0],y=c.value[1],f&&typeof f=="object"){if(!Iu(l,t,f,y,r,n))return!1}else if(!r.strict&&(!t.has(f)||!dt(_i(t,f),y,r,n))&&!Iu(l,t,f,y,hu({},r,{strict:!1}),n))return!1;return Pi(l)===0}return!0}function tm(t,e,r,n){var i,o;if(typeof t!=typeof e||t==null||e==null||Ou(t)!==Ou(e)||yu(t)!==yu(e))return!1;var s=vu(t),c=vu(e);if(s!==c)return!1;var l=t instanceof Error,f=e instanceof Error;if(l!==f||(l||f)&&(t.name!==e.name||t.message!==e.message))return!1;var h=wu(t),y=wu(e);if(h!==y||(h||y)&&(t.source!==e.source||du(t)!==du(e)))return!1;var m=bu(t),b=bu(e);if(m!==b||(m||b)&&Pu(t)!==Pu(e)||r.strict&&Cs&&Cs(t)!==Cs(e))return!1;var A=_u(t),L=_u(e);if(A!==L)return!1;if(A||L){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var W=Du(t),V=Du(e);if(W!==V)return!1;if(W||V){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var J=mu(t),Z=mu(e);if(J!==Z)return!1;if(J||Z)return Eu(t)!==Eu(e)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(t),new Uint8Array(e),r,n);var pe=$u(t),te=$u(e);if(pe!==te)return!1;if(pe||te)return Mu(t)!==Mu(e)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(t),new Uint8Array(e),r,n);if(typeof t!=typeof e)return!1;var N=xu(t),X=xu(e);if(N.length!==X.length)return!1;for(N.sort(),X.sort(),i=N.length-1;i>=0;i--)if(N[i]!=X[i])return!1;for(i=N.length-1;i>=0;i--)if(o=N[i],!dt(t[o],e[o],r,n))return!1;var ie=Au(t),we=Au(e);return ie!==we?!1:ie==="Set"||we==="Set"?Qv(t,e,r,n):ie==="Map"?em(t,e,r,n):!0}var rm=function(e,r,n){return dt(e,r,n,Jv())};const nm=vn(rm);var im=Object.defineProperty,ve=(t,e)=>im(t,"name",{value:e,configurable:!0}),om=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||!En(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=Ls(e),i=Ls(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(!En(e,r))return!1;const o=e;let s=r;if(i&&!this.compareCoord(o[0],s[0])){const l=this.fixStartIndex(s,o);if(l)s=l;else return!1}const c=this.compareCoord(o[n],s[n]);return this.direction||c?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 En(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?nm(e.properties,r.properties):!0)&&this.compareBBox(e,r)&&this.compare(e.geometry,r.geometry)}compareFeatureCollection(e,r){return En(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(om,"GeojsonEquality");function En(t,e){return t.coordinates?t.coordinates.length===e.coordinates.length:t.length===e.length}ve(En,"sameLength");function Ls(t){return t.coordinates.map(e=>({type:t.type.replace("Multi",""),coordinates:e}))}ve(Ls,"explode");var st=63710088e-1,Ru={centimeters:st*100,centimetres:st*100,degrees:360/(2*Math.PI),feet:st*3.28084,inches:st*39.37,kilometers:st/1e3,kilometres:st/1e3,meters:st,metres:st,miles:st/1609.344,millimeters:st*1e3,millimetres:st*1e3,nauticalmiles:st/1852,radians:1,yards:st*1.0936},ju={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 ut(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(ut,"feature");function sm(t,e,r={}){switch(t){case"Point":return St(e).geometry;case"LineString":return At(e).geometry;case"Polygon":return Ts(e).geometry;case"MultiPoint":return Bu(e).geometry;case"MultiLineString":return Is(e).geometry;case"MultiPolygon":return Nu(e).geometry;default:throw new Error(t+" is invalid")}}ve(sm,"geometry");function St(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(!Nr(t[0])||!Nr(t[1]))throw new Error("coordinates must contain numbers");return ut({type:"Point",coordinates:t},e,r)}ve(St,"point");function am(t,e,r={}){return ur(t.map(n=>St(n,e)),r)}ve(am,"points");function Ts(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 ut({type:"Polygon",coordinates:t},e,r)}ve(Ts,"polygon");function lm(t,e,r={}){return ur(t.map(n=>Ts(n,e)),r)}ve(lm,"polygons");function At(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return ut({type:"LineString",coordinates:t},e,r)}ve(At,"lineString");function cm(t,e,r={}){return ur(t.map(n=>At(n,e)),r)}ve(cm,"lineStrings");function ur(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}ve(ur,"featureCollection");function Is(t,e,r={}){return ut({type:"MultiLineString",coordinates:t},e,r)}ve(Is,"multiLineString");function Bu(t,e,r={}){return ut({type:"MultiPoint",coordinates:t},e,r)}ve(Bu,"multiPoint");function Nu(t,e,r={}){return ut({type:"MultiPolygon",coordinates:t},e,r)}ve(Nu,"multiPolygon");function um(t,e,r={}){return ut({type:"GeometryCollection",geometries:t},e,r)}ve(um,"geometryCollection");function fm(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(fm,"round");function Hu(t,e="kilometers"){const r=Ru[e];if(!r)throw new Error(e+" units is invalid");return t*r}ve(Hu,"radiansToLength");function Ds(t,e="kilometers"){const r=Ru[e];if(!r)throw new Error(e+" units is invalid");return t/r}ve(Ds,"lengthToRadians");function pm(t,e){return Uu(Ds(t,e))}ve(pm,"lengthToDegrees");function hm(t){let e=t%360;return e<0&&(e+=360),e}ve(hm,"bearingToAzimuth");function Uu(t){return t%(2*Math.PI)*180/Math.PI}ve(Uu,"radiansToDegrees");function dm(t){return t%360*Math.PI/180}ve(dm,"degreesToRadians");function gm(t,e="kilometers",r="kilometers"){if(!(t>=0))throw new Error("length must be a positive number");return Hu(Ds(t,e),r)}ve(gm,"convertLength");function ym(t,e="meters",r="kilometers"){if(!(t>=0))throw new Error("area must be a positive number");const n=ju[e];if(!n)throw new Error("invalid original units");const i=ju[r];if(!i)throw new Error("invalid final units");return t/n*i}ve(ym,"convertArea");function Nr(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}ve(Nr,"isNumber");function Rs(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}ve(Rs,"isObject");function vm(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(!Nr(e))throw new Error("bbox must only contain numbers")})}ve(vm,"validateBBox");function mm(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(mm,"validateId");var bm=Object.defineProperty,Gt=(t,e)=>bm(t,"name",{value:e,configurable:!0});function js(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")}Gt(js,"getCoord");function Fu(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")}Gt(Fu,"getCoords");function Wu(t){if(t.length>1&&Nr(t[0])&&Nr(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return Wu(t[0]);throw new Error("coordinates must only contain numbers")}Gt(Wu,"containsNumber");function wm(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)}Gt(wm,"geojsonType");function $m(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)}Gt($m,"featureOf");function xm(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)}}Gt(xm,"collectionOf");function fr(t){return t.type==="Feature"?t.geometry:t}Gt(fr,"getGeom");function Sm(t,e){return t.type==="FeatureCollection"?"FeatureCollection":t.type==="GeometryCollection"?"GeometryCollection":t.type==="Feature"&&t.geometry!==null?t.geometry.type:t.type}Gt(Sm,"getType");var Am=Object.defineProperty,zu=(t,e)=>Am(t,"name",{value:e,configurable:!0});function at(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=js(t),i=fr(e),o=i.type,s=e.bbox;let c=i.coordinates;if(s&&qu(n,s)===!1)return!1;o==="Polygon"&&(c=[c]);let l=!1;for(var f=0;f<c.length;++f){const h=hh(n,c[f]);if(h===0)return!r.ignoreBoundary;h&&(l=!0)}return l}zu(at,"booleanPointInPolygon");function qu(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}zu(qu,"inBBox");class Gu{constructor(e=[],r=_m){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,c=r[s];const l=s+1;if(l<this.length&&n(r[l],c)<0&&(s=l,c=r[l]),n(c,o)>=0)break;r[e]=c,e=s}r[e]=o}}function _m(t,e){return t<e?-1:t>e?1:0}function Vu(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 Em(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 Ku{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 Mm(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)Yu(r[n],e)}else Yu(t,e)}let Oi=0,Ci=0,ki=0;function Yu(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],c=null;Ci=Ci+1;for(let l=0;l<n[i][o].length-1;l++){c=n[i][o][l+1];const f=new Ku(s,Oi,Ci,ki),h=new Ku(c,Oi,Ci,ki+1);f.otherEvent=h,h.otherEvent=f,Vu(f,h)>0?(h.isLeftEndpoint=!0,f.isLeftEndpoint=!1):(f.isLeftEndpoint=!0,h.isLeftEndpoint=!1),e.push(f),e.push(h),s=c,ki=ki+1}}Oi=Oi+1}class Pm{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function Om(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,c=e.leftSweepEvent.p.y,l=e.rightSweepEvent.p.x,f=e.rightSweepEvent.p.y,h=(f-c)*(i-r)-(l-s)*(o-n),y=(l-s)*(n-c)-(f-c)*(r-s),m=(i-r)*(n-c)-(o-n)*(r-s);if(h===0)return!1;const b=y/h,A=m/h;if(b>=0&&b<=1&&A>=0&&A<=1){const L=r+b*(i-r),W=n+b*(o-n);return[L,W]}return!1}function Cm(t,e){e=e||!1;const r=[],n=new Gu([],Em);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const o=new Pm(i);for(let s=0;s<n.data.length;s++){const c=n.data[s];if(e&&c.leftSweepEvent.featureId===i.featureId)continue;const l=Om(o,c);l!==!1&&r.push(l)}n.push(o)}else i.isLeftEndpoint===!1&&n.pop()}return r}function km(t,e){const r=new Gu([],Vu);return Mm(t,r),Cm(r,e)}var Lm=Object.defineProperty,Tm=(t,e)=>Lm(t,"name",{value:e,configurable:!0}),Im=km;function Li(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(ut(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(ut(e));const s=Im(ur(o),i);let c=[];if(n){const l={};s.forEach(f=>{const h=f.join(",");l[h]||(l[h]=!0,c.push(f))})}else c=s;return ur(c.map(l=>St(l)))}Tm(Li,"lineIntersect");var Dm=Object.defineProperty,We=(t,e)=>Dm(t,"name",{value:e,configurable:!0});function Hr(t,e,r){if(t!==null)for(var n,i,o,s,c,l,f,h=0,y=0,m,b=t.type,A=b==="FeatureCollection",L=b==="Feature",W=A?t.features.length:1,V=0;V<W;V++){f=A?t.features[V].geometry:L?t.geometry:t,m=f?f.type==="GeometryCollection":!1,c=m?f.geometries.length:1;for(var J=0;J<c;J++){var Z=0,pe=0;if(s=m?f.geometries[J]:f,s!==null){l=s.coordinates;var te=s.type;switch(h=r&&(te==="Polygon"||te==="MultiPolygon")?1:0,te){case null:break;case"Point":if(e(l,y,V,Z,pe)===!1)return!1;y++,Z++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(e(l[n],y,V,Z,pe)===!1)return!1;y++,te==="MultiPoint"&&Z++}te==="LineString"&&Z++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(i=0;i<l[n].length-h;i++){if(e(l[n][i],y,V,Z,pe)===!1)return!1;y++}te==="MultiLineString"&&Z++,te==="Polygon"&&pe++}te==="Polygon"&&Z++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(pe=0,i=0;i<l[n].length;i++){for(o=0;o<l[n][i].length-h;o++){if(e(l[n][i][o],y,V,Z,pe)===!1)return!1;y++}pe++}Z++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(Hr(s.geometries[n],e,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}We(Hr,"coordEach");function Rm(t,e,r,n){var i=r;return Hr(t,function(o,s,c,l,f){s===0&&r===void 0?i=o:i=e(i,o,s,c,l,f)},n),i}We(Rm,"coordReduce");function Ju(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(Ju,"propEach");function jm(t,e,r){var n=r;return Ju(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(jm,"propReduce");function Zu(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(Zu,"featureEach");function Bm(t,e,r){var n=r;return Zu(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Bm,"featureReduce");function Nm(t){var e=[];return Hr(t,function(r){e.push(r)}),e}We(Nm,"coordAll");function Bs(t,e){var r,n,i,o,s,c,l,f,h,y,m=0,b=t.type==="FeatureCollection",A=t.type==="Feature",L=b?t.features.length:1;for(r=0;r<L;r++){for(c=b?t.features[r].geometry:A?t.geometry:t,f=b?t.features[r].properties:A?t.properties:{},h=b?t.features[r].bbox:A?t.bbox:void 0,y=b?t.features[r].id:A?t.id:void 0,l=c?c.type==="GeometryCollection":!1,s=l?c.geometries.length:1,i=0;i<s;i++){if(o=l?c.geometries[i]:c,o===null){if(e(null,m,f,h,y)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,m,f,h,y)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<o.geometries.length;n++)if(e(o.geometries[n],m,f,h,y)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}m++}}We(Bs,"geomEach");function Hm(t,e,r){var n=r;return Bs(t,function(i,o,s,c,l){o===0&&r===void 0?n=i:n=e(n,i,o,s,c,l)}),n}We(Hm,"geomReduce");function Vt(t,e){Bs(t,function(r,n,i,o,s){var c=r===null?null:r.type;switch(c){case null:case"Point":case"LineString":case"Polygon":return e(ut(r,i,{bbox:o,id:s}),n,0)===!1?!1:void 0}var l;switch(c){case"MultiPoint":l="Point";break;case"MultiLineString":l="LineString";break;case"MultiPolygon":l="Polygon";break}for(var f=0;f<r.coordinates.length;f++){var h=r.coordinates[f],y={type:l,coordinates:h};if(e(ut(y,i),n,f)===!1)return!1}})}We(Vt,"flattenEach");function Um(t,e,r){var n=r;return Vt(t,function(i,o,s){o===0&&s===0&&r===void 0?n=i:n=e(n,i,o,s)}),n}We(Um,"flattenReduce");function Xu(t,e){Vt(t,function(r,n,i){var o=0;if(r.geometry){var s=r.geometry.type;if(!(s==="Point"||s==="MultiPoint")){var c,l=0,f=0,h=0;if(Hr(r,function(y,m,b,A,L){if(c===void 0||n>l||A>f||L>h){c=y,l=n,f=A,h=L,o=0;return}var W=At([c,y],r.properties);if(e(W,n,i,L,o)===!1)return!1;o++,c=y})===!1)return!1}}})}We(Xu,"segmentEach");function Fm(t,e,r){var n=r,i=!1;return Xu(t,function(o,s,c,l,f){i===!1&&r===void 0?n=o:n=e(n,o,s,c,l,f),i=!0}),n}We(Fm,"segmentReduce");function Qu(t,e){if(!t)throw new Error("geojson is required");Vt(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 c=0;c<s.length;c++)if(e(At(s[c],r.properties),n,i,c)===!1)return!1;break}}})}We(Qu,"lineEach");function Wm(t,e,r){var n=r;return Qu(t,function(i,o,s,c){o===0&&r===void 0?n=i:n=e(n,i,o,s,c)}),n}We(Wm,"lineReduce");function zm(t,e){if(e=e||{},!Rs(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,c;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,c=t.features[r].geometry;break;case"Feature":s=s||t.properties,c=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":c=t;break;default:throw new Error("geojson is invalid")}if(c===null)return null;var l=c.coordinates;switch(c.type){case"Point":case"MultiPoint":return null;case"LineString":return o<0&&(o=l.length+o-1),At([l[o],l[o+1]],s,e);case"Polygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o-1),At([l[i][o],l[i][o+1]],s,e);case"MultiLineString":return n<0&&(n=l.length+n),o<0&&(o=l[n].length+o-1),At([l[n][o],l[n][o+1]],s,e);case"MultiPolygon":return n<0&&(n=l.length+n),i<0&&(i=l[n].length+i),o<0&&(o=l[n][i].length-o-1),At([l[n][i][o],l[n][i][o+1]],s,e)}throw new Error("geojson is invalid")}We(zm,"findSegment");function qm(t,e){if(e=e||{},!Rs(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,c;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,c=t.features[r].geometry;break;case"Feature":s=s||t.properties,c=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":c=t;break;default:throw new Error("geojson is invalid")}if(c===null)return null;var l=c.coordinates;switch(c.type){case"Point":return St(l,s,e);case"MultiPoint":return n<0&&(n=l.length+n),St(l[n],s,e);case"LineString":return o<0&&(o=l.length+o),St(l[o],s,e);case"Polygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o),St(l[i][o],s,e);case"MultiLineString":return n<0&&(n=l.length+n),o<0&&(o=l[n].length+o),St(l[n][o],s,e);case"MultiPolygon":return n<0&&(n=l.length+n),i<0&&(i=l[n].length+i),o<0&&(o=l[n][i].length-o),St(l[n][i][o],s,e)}throw new Error("geojson is invalid")}We(qm,"findPoint");var Gm=Object.defineProperty,Ti=(t,e)=>Gm(t,"name",{value:e,configurable:!0});function Ii(t,e={}){const r=fr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return ef(r,e);case"MultiPolygon":return tf(r,e);default:throw new Error("invalid poly")}}Ti(Ii,"polygonToLine");function ef(t,e={}){const n=fr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return Ns(n,i)}Ti(ef,"singlePolygonToLine");function tf(t,e={}){const n=fr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return n.forEach(s=>{o.push(Ns(s,i))}),ur(o)}Ti(tf,"multiPolygonToLine");function Ns(t,e){return t.length>1?Is(t,e):At(t[0],e)}Ti(Ns,"coordsToLine");var Vm=Object.defineProperty,Kt=(t,e)=>Vm(t,"name",{value:e,configurable:!0});function rf(t,e){let r=!0;return Vt(t,n=>{Vt(e,i=>{if(r===!1)return!1;r=nf(n.geometry,i.geometry)})}),r}Kt(rf,"booleanDisjoint");function nf(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!lf(t.coordinates,e.coordinates);case"LineString":return!Hs(e,t);case"Polygon":return!at(t,e)}break;case"LineString":switch(e.type){case"Point":return!Hs(t,e);case"LineString":return!of(t,e);case"Polygon":return!Us(e,t)}break;case"Polygon":switch(e.type){case"Point":return!at(e,t);case"LineString":return!Us(t,e);case"Polygon":return!sf(e,t)}}return!1}Kt(nf,"disjoint");function Hs(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(af(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}Kt(Hs,"isPointOnLine");function of(t,e){return Li(t,e).features.length>0}Kt(of,"isLineOnLine");function Us(t,e){for(const n of e.coordinates)if(at(n,t))return!0;return Li(e,Ii(t)).features.length>0}Kt(Us,"isLineInPoly");function sf(t,e){for(const n of t.coordinates[0])if(at(n,e))return!0;for(const n of e.coordinates[0])if(at(n,t))return!0;return Li(Ii(t),Ii(e)).features.length>0}Kt(sf,"isPolyInPoly");function af(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]}Kt(af,"isPointOnLineSegment");function lf(t,e){return t[0]===e[0]&&t[1]===e[1]}Kt(lf,"compareCoords");var Km=Object.defineProperty,Ym=(t,e)=>Km(t,"name",{value:e,configurable:!0});function cf(t,e){let r=!1;return Vt(t,n=>{Vt(e,i=>{if(r===!0)return!0;r=!rf(n.geometry,i.geometry)})}),r}Ym(cf,"booleanIntersects");var Jm=cf,Zm=Object.defineProperty,Xm=(t,e)=>Zm(t,"name",{value:e,configurable:!0});function Mn(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Hr(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}Xm(Mn,"bbox");var Qm=Object.defineProperty,uf=(t,e)=>Qm(t,"name",{value:e,configurable:!0});function Pn(t,e,r={}){const n=js(t),i=Fu(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")),ff(i[o],i[o+1],n,s,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}uf(Pn,"booleanPointOnLine");function ff(t,e,r,n,i){const o=r[0],s=r[1],c=t[0],l=t[1],f=e[0],h=e[1],y=r[0]-c,m=r[1]-l,b=f-c,A=h-l,L=y*A-m*b;if(i!==null){if(Math.abs(L)>i)return!1}else if(L!==0)return!1;if(n){if(n==="start")return Math.abs(b)>=Math.abs(A)?b>0?c<o&&o<=f:f<=o&&o<c:A>0?l<s&&s<=h:h<=s&&s<l;if(n==="end")return Math.abs(b)>=Math.abs(A)?b>0?c<=o&&o<f:f<o&&o<=c:A>0?l<=s&&s<h:h<s&&s<=l;if(n==="both")return Math.abs(b)>=Math.abs(A)?b>0?c<o&&o<f:f<o&&o<c:A>0?l<s&&s<h:h<s&&s<l}else return Math.abs(b)>=Math.abs(A)?b>0?c<=o&&o<=f:f<=o&&o<=c:A>0?l<=s&&s<=h:h<=s&&s<=l;return!1}uf(ff,"isPointOnLineSegment");var e0=Object.defineProperty,gt=(t,e)=>e0(t,"name",{value:e,configurable:!0});function pf(t,e){var r=fr(t),n=fr(e),i=r.type,o=n.type;switch(i){case"Point":switch(o){case"MultiPoint":return hf(r,n);case"LineString":return Pn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return at(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return df(r,n);case"LineString":return gf(r,n);case"Polygon":case"MultiPolygon":return yf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return vf(r,n);case"Polygon":case"MultiPolygon":return mf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return bf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}gt(pf,"booleanWithin");function hf(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(Ws(e.coordinates[r],t.coordinates)){n=!0;break}return n}gt(hf,"isPointInMultiPoint");function df(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)Ws(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}gt(df,"isMultiPointInMultiPoint");function gf(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Pn(t.coordinates[n],e))return!1;r||(r=Pn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}gt(gf,"isMultiPointOnLine");function yf(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=at(t.coordinates[i],e),!n){r=!1;break}n=at(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}gt(yf,"isMultiPointInPoly");function vf(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Pn(t.coordinates[r],e))return!1;return!0}gt(vf,"isLineOnLine");function mf(t,e){var r=Mn(e),n=Mn(t);if(!Fs(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length;o++){if(!at(t.coordinates[o],e))return!1;if(i||(i=at(t.coordinates[o],e,{ignoreBoundary:!0})),!i&&o<t.coordinates.length-1){var s=wf(t.coordinates[o],t.coordinates[o+1]);i=at(s,e,{ignoreBoundary:!0})}}return i}gt(mf,"isLineInPoly");function bf(t,e){var r=Mn(t),n=Mn(e);if(!Fs(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!at(t.coordinates[0][i],e))return!1;return!0}gt(bf,"isPolyInPoly");function Fs(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}gt(Fs,"doBBoxOverlap");function Ws(t,e){return t[0]===e[0]&&t[1]===e[1]}gt(Ws,"compareCoords");function wf(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}gt(wf,"getMidpoint");var t0=pf;const r0=(t,e)=>e?Jm(t,e):!0,n0=(t,e)=>e?t0(t,e):!0;function i0(t,e="highlight",r="title"){const n=(o,s,c)=>{const l=s.split(".");let f;for(f=0;f<l.length-1;f++)o=o[l[f]];o[l[f]]=c},i=(o,s=[])=>{let c="",l=0;return s.forEach(f=>{const h=f[1]+1;c+=[o.substring(l,f[0]),`<mark class="${e}">`,o.substring(f[0],h),"</mark>"].join(""),l=h}),c+=o.substring(l),c};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:s})=>{const c={...o};return s.forEach(l=>{l.key===r&&n(c,l.key,i(l.value,l.indices))}),c})}var $f={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ge,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",s="second",c="minute",l="hour",f="day",h="week",y="month",m="quarter",b="year",A="date",L="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,J={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var E=["th","st","nd","rd"],_=I%100;return"["+I+(E[(_-20)%10]||E[_]||E[0])+"]"}},Z=function(I,E,_){var R=String(I);return!R||R.length>=E?I:""+Array(E+1-R.length).join(_)+I},pe={s:Z,z:function(I){var E=-I.utcOffset(),_=Math.abs(E),R=Math.floor(_/60),P=_%60;return(E<=0?"+":"-")+Z(R,2,"0")+":"+Z(P,2,"0")},m:function I(E,_){if(E.date()<_.date())return-I(_,E);var R=12*(_.year()-E.year())+(_.month()-E.month()),P=E.clone().add(R,y),q=_-P<0,G=E.clone().add(R+(q?-1:1),y);return+(-(R+(_-P)/(q?P-G:G-P))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:y,y:b,w:h,d:f,D:A,h:l,m:c,s,ms:o,Q:m}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},te="en",N={};N[te]=J;var X="$isDayjsObject",ie=function(I){return I instanceof Ne||!(!I||!I[X])},we=function I(E,_,R){var P;if(!E)return te;if(typeof E=="string"){var q=E.toLowerCase();N[q]&&(P=q),_&&(N[q]=_,P=q);var G=E.split("-");if(!P&&G.length>1)return I(G[0])}else{var ye=E.name;N[ye]=E,P=ye}return!R&&P&&(te=P),P||!R&&te},de=function(I,E){if(ie(I))return I.clone();var _=typeof E=="object"?E:{};return _.date=I,_.args=arguments,new Ne(_)},re=pe;re.l=we,re.i=ie,re.w=function(I,E){return de(I,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var Ne=function(){function I(_){this.$L=we(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[X]=!0}var E=I.prototype;return E.parse=function(_){this.$d=function(R){var P=R.date,q=R.utc;if(P===null)return new Date(NaN);if(re.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var G=P.match(W);if(G){var ye=G[2]-1||0,_e=(G[7]||"0").substring(0,3);return q?new Date(Date.UTC(G[1],ye,G[3]||1,G[4]||0,G[5]||0,G[6]||0,_e)):new Date(G[1],ye,G[3]||1,G[4]||0,G[5]||0,G[6]||0,_e)}}return new Date(P)}(_),this.init()},E.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},E.$utils=function(){return re},E.isValid=function(){return this.$d.toString()!==L},E.isSame=function(_,R){var P=de(_);return this.startOf(R)<=P&&P<=this.endOf(R)},E.isAfter=function(_,R){return de(_)<this.startOf(R)},E.isBefore=function(_,R){return this.endOf(R)<de(_)},E.$g=function(_,R,P){return re.u(_)?this[R]:this.set(P,_)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(_,R){var P=this,q=!!re.u(R)||R,G=re.p(_),ye=function(Te,oe){var Ie=re.w(P.$u?Date.UTC(P.$y,oe,Te):new Date(P.$y,oe,Te),P);return q?Ie:Ie.endOf(f)},_e=function(Te,oe){return re.w(P.toDate()[Te].apply(P.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(oe)),P)},Pe=this.$W,Ce=this.$M,Ke=this.$D,Le="set"+(this.$u?"UTC":"");switch(G){case b:return q?ye(1,0):ye(31,11);case y:return q?ye(1,Ce):ye(0,Ce+1);case h:var Ye=this.$locale().weekStart||0,le=(Pe<Ye?Pe+7:Pe)-Ye;return ye(q?Ke-le:Ke+(6-le),Ce);case f:case A:return _e(Le+"Hours",0);case l:return _e(Le+"Minutes",1);case c:return _e(Le+"Seconds",2);case s:return _e(Le+"Milliseconds",3);default:return this.clone()}},E.endOf=function(_){return this.startOf(_,!1)},E.$set=function(_,R){var P,q=re.p(_),G="set"+(this.$u?"UTC":""),ye=(P={},P[f]=G+"Date",P[A]=G+"Date",P[y]=G+"Month",P[b]=G+"FullYear",P[l]=G+"Hours",P[c]=G+"Minutes",P[s]=G+"Seconds",P[o]=G+"Milliseconds",P)[q],_e=q===f?this.$D+(R-this.$W):R;if(q===y||q===b){var Pe=this.clone().set(A,1);Pe.$d[ye](_e),Pe.init(),this.$d=Pe.set(A,Math.min(this.$D,Pe.daysInMonth())).$d}else ye&&this.$d[ye](_e);return this.init(),this},E.set=function(_,R){return this.clone().$set(_,R)},E.get=function(_){return this[re.p(_)]()},E.add=function(_,R){var P,q=this;_=Number(_);var G=re.p(R),ye=function(Ce){var Ke=de(q);return re.w(Ke.date(Ke.date()+Math.round(Ce*_)),q)};if(G===y)return this.set(y,this.$M+_);if(G===b)return this.set(b,this.$y+_);if(G===f)return ye(1);if(G===h)return ye(7);var _e=(P={},P[c]=n,P[l]=i,P[s]=r,P)[G]||1,Pe=this.$d.getTime()+_*_e;return re.w(Pe,this)},E.subtract=function(_,R){return this.add(-1*_,R)},E.format=function(_){var R=this,P=this.$locale();if(!this.isValid())return P.invalidDate||L;var q=_||"YYYY-MM-DDTHH:mm:ssZ",G=re.z(this),ye=this.$H,_e=this.$m,Pe=this.$M,Ce=P.weekdays,Ke=P.months,Le=P.meridiem,Ye=function(oe,Ie,_t,Ee){return oe&&(oe[Ie]||oe(R,q))||_t[Ie].slice(0,Ee)},le=function(oe){return re.s(ye%12||12,oe,"0")},Te=Le||function(oe,Ie,_t){var Ee=oe<12?"AM":"PM";return _t?Ee.toLowerCase():Ee};return q.replace(V,function(oe,Ie){return Ie||function(_t){switch(_t){case"YY":return String(R.$y).slice(-2);case"YYYY":return re.s(R.$y,4,"0");case"M":return Pe+1;case"MM":return re.s(Pe+1,2,"0");case"MMM":return Ye(P.monthsShort,Pe,Ke,3);case"MMMM":return Ye(Ke,Pe);case"D":return R.$D;case"DD":return re.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Ye(P.weekdaysMin,R.$W,Ce,2);case"ddd":return Ye(P.weekdaysShort,R.$W,Ce,3);case"dddd":return Ce[R.$W];case"H":return String(ye);case"HH":return re.s(ye,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Te(ye,_e,!0);case"A":return Te(ye,_e,!1);case"m":return String(_e);case"mm":return re.s(_e,2,"0");case"s":return String(R.$s);case"ss":return re.s(R.$s,2,"0");case"SSS":return re.s(R.$ms,3,"0");case"Z":return G}return null}(oe)||G.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(_,R,P){var q,G=this,ye=re.p(R),_e=de(_),Pe=(_e.utcOffset()-this.utcOffset())*n,Ce=this-_e,Ke=function(){return re.m(G,_e)};switch(ye){case b:q=Ke()/12;break;case y:q=Ke();break;case m:q=Ke()/3;break;case h:q=(Ce-Pe)/6048e5;break;case f:q=(Ce-Pe)/864e5;break;case l:q=Ce/i;break;case c:q=Ce/n;break;case s:q=Ce/r;break;default:q=Ce}return P?q:re.a(q)},E.daysInMonth=function(){return this.endOf(y).$D},E.$locale=function(){return N[this.$L]},E.locale=function(_,R){if(!_)return this.$L;var P=this.clone(),q=we(_,R,!0);return q&&(P.$L=q),P},E.clone=function(){return re.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},I}(),et=Ne.prototype;return de.prototype=et,[["$ms",o],["$s",s],["$m",c],["$H",l],["$W",f],["$M",y],["$y",b],["$D",A]].forEach(function(I){et[I[1]]=function(E){return this.$g(E,I[0],I[1])}}),de.extend=function(I,E){return I.$i||(I(E,Ne,de),I.$i=!0),de},de.locale=we,de.isDayjs=ie,de.unix=function(I){return de(1e3*I)},de.en=N[te],de.Ls=N,de.p={},de})})($f);var o0=$f.exports;const On=vn(o0);let xf;const s0=(t,e)=>{xf=new kt(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},a0=async(t,e,r)=>{const n=Object.entries(e).filter(([,c])=>c.type==="text"||c.type==="select"||c.type==="multiselect").reduce((c,[l,f])=>{const h="$or",y=[],m=(b,A)=>{const L={};f.type==="text"?L[b]=`${A}`:L[l]=`="${b}"`,y.push(L)};return Object.entries(f.state).filter(([,b])=>b).forEach(([b,A])=>m(b,A)),y.length>0&&c.push({[h]:y}),c},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const c={$and:[...n]},l=xf.search(c);i=r.enableHighlighting?i0(l,"highlight",r.titleProperty):l.map(f=>f.item)}const o=Object.entries(e).filter(([,c])=>c.type==="range").reduce((c,[l,f])=>(c[l]={min:f.state.min,max:f.state.max,format:f.format},c),{});if(Object.keys(o).length>0){const c=[];for(let l=0;l<i.length;l++){const f={};for(const[h,y]of Object.entries(o)){const m=b=>y.format==="date"?On(b).unix():b;Object.prototype.hasOwnProperty.call(i[l],h)?Array.isArray(i[l][h])?f[h]=o[h].min<=m(i[l][h][1])&&m(i[l][h][0])<=o[h].max:m(i[l][h])>=o[h].min&&m(i[l][h])<=o[h].max?f[h]=!0:f[h]=!1:f[h]=!0}Object.values(f).every(h=>!!h)&&c.push(i[l])}i=[...c]}const s=Object.entries(e).filter(([,c])=>c.type==="spatial").reduce((c,[l,f])=>(c[l]={geometry:f.state.geometry,mode:f.state.mode},c),{});if(Object.values(s).map(c=>c.geometry).filter(c=>!!c).length>0){const c=[];for(let l=0;l<i.length;l++){const f={};for(const h of Object.keys(s)){const y=s[h].mode||"within";Object.prototype.hasOwnProperty.call(i[l],h)&&(y==="within"?n0(i[l][h],s[h].geometry):r0(i[l][h],s[h].geometry))?f[h]=!0:f[h]=!1}Object.values(f).every(h=>!!h)&&c.push(i[l])}i=[...c]}return i};function l0(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 Di(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 Sf(t,e){return t*2+e}function c0(t){return Object.keys(t).map(e=>({title:K`${e}:
488
- <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function zs(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function u0(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}class f0 extends it{constructor(){super();nt(this,Be);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.showDropdown=!1,this.filters={},this._handleClickOutside=Se(this,Be,Kf).bind(this),this._handleKeyDown=Se(this,Be,Ma).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}}}connectedCallback(){super.connectedCallback(),this.inlineMode&&(document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown))}disconnectedCallback(){this.inlineMode&&(document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown)),super.disconnectedCallback()}updateInline(){this.inlineMode&&this.requestUpdate()}render(){return K`
489
+ `+e.prev}function fi(t,e){var r=Xo(t),n=[];if(r){n.length=t.length;for(var i=0;i<t.length;i++)n[i]=zt(t,i)?e(t[i],t):""}var o=typeof Yo=="function"?Yo(t):[],s;if(Dr){s={};for(var c=0;c<o.length;c++)s["$"+o[c]]=o[c]}for(var l in t)zt(t,l)&&(r&&String(Number(l))===l&&l<t.length||Dr&&s["$"+l]instanceof Symbol||(ac.call(/[^\w$]/,l)?n.push(e(l,t)+": "+e(t[l],t)):n.push(l+": "+e(t[l],t))));if(typeof Yo=="function")for(var f=0;f<o.length;f++)uc.call(t,o[f])&&n.push("["+e(o[f])+"]: "+e(t[o[f]],t));return n}var $c=wt,Rr=ct,Tg=dg,Ig=Ft,pi=$c("%WeakMap%",!0),hi=$c("%Map%",!0),Dg=Rr("WeakMap.prototype.get",!0),Rg=Rr("WeakMap.prototype.set",!0),jg=Rr("WeakMap.prototype.has",!0),Bg=Rr("Map.prototype.get",!0),Ng=Rr("Map.prototype.set",!0),Hg=Rr("Map.prototype.has",!0),ts=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},Ug=function(t,e){var r=ts(t,e);return r&&r.value},Fg=function(t,e,r){var n=ts(t,e);n?n.value=r:t.next={key:e,next:t.next,value:r}},Wg=function(t,e){return!!ts(t,e)},xc=function(){var e,r,n,i={assert:function(o){if(!i.has(o))throw new Ig("Side channel does not contain "+Tg(o))},get:function(o){if(pi&&o&&(typeof o=="object"||typeof o=="function")){if(e)return Dg(e,o)}else if(hi){if(r)return Bg(r,o)}else if(n)return Ug(n,o)},has:function(o){if(pi&&o&&(typeof o=="object"||typeof o=="function")){if(e)return jg(e,o)}else if(hi){if(r)return Hg(r,o)}else if(n)return Wg(n,o);return!1},set:function(o,s){pi&&o&&(typeof o=="object"||typeof o=="function")?(e||(e=new pi),Rg(e,o,s)):hi?(r||(r=new hi),Ng(r,o,s)):(n||(n={key:{},next:null}),Fg(n,o,s))}};return i},zg=_l,An=xc(),kt=Ft,rs={assert:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new kt("`O` is not an object");if(typeof e!="string")throw new kt("`slot` must be a string");if(An.assert(t),!rs.has(t,e))throw new kt("`"+e+"` is not present on `O`")},get:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new kt("`O` is not an object");if(typeof e!="string")throw new kt("`slot` must be a string");var r=An.get(t);return r&&r["$"+e]},has:function(t,e){if(!t||typeof t!="object"&&typeof t!="function")throw new kt("`O` is not an object");if(typeof e!="string")throw new kt("`slot` must be a string");var r=An.get(t);return!!r&&zg(r,"$"+e)},set:function(t,e,r){if(!t||typeof t!="object"&&typeof t!="function")throw new kt("`O` is not an object");if(typeof e!="string")throw new kt("`slot` must be a string");var n=An.get(t);n||(n={},An.set(t,n)),n["$"+e]=r}};Object.freeze&&Object.freeze(rs);var qg=rs,_n=qg,Gg=SyntaxError,Sc=typeof StopIteration=="object"?StopIteration:null,Vg=function(e){if(!Sc)throw new Gg("this environment lacks StopIteration");_n.set(e,"[[Done]]",!1);var r={next:function(){var i=_n.get(this,"[[Iterator]]"),o=_n.get(i,"[[Done]]");try{return{done:o,value:o?void 0:i.next()}}catch(s){if(_n.set(i,"[[Done]]",!0),s!==Sc)throw s;return{done:!0,value:void 0}}}};return _n.set(r,"[[Iterator]]",e),r},ns,Ac;function Kg(){if(Ac)return ns;Ac=1;var t={}.toString;return ns=Array.isArray||function(e){return t.call(e)=="[object Array]"},ns}var Yg=String.prototype.valueOf,Jg=function(e){try{return Yg.call(e),!0}catch{return!1}},Zg=Object.prototype.toString,Xg="[object String]",Qg=cr(),_c=function(e){return typeof e=="string"?!0:typeof e!="object"?!1:Qg?Jg(e):Zg.call(e)===Xg},is=typeof Map=="function"&&Map.prototype?Map:null,ey=typeof Set=="function"&&Set.prototype?Set:null,di;is||(di=function(e){return!1});var Ec=is?Map.prototype.has:null,Mc=ey?Set.prototype.has:null;!di&&!Ec&&(di=function(e){return!1});var Pc=di||function(e){if(!e||typeof e!="object")return!1;try{if(Ec.call(e),Mc)try{Mc.call(e)}catch{return!0}return e instanceof is}catch{}return!1},ty=typeof Map=="function"&&Map.prototype?Map:null,os=typeof Set=="function"&&Set.prototype?Set:null,gi;os||(gi=function(e){return!1});var Oc=ty?Map.prototype.has:null,Cc=os?Set.prototype.has:null;!gi&&!Cc&&(gi=function(e){return!1});var kc=gi||function(e){if(!e||typeof e!="object")return!1;try{if(Cc.call(e),Oc)try{Oc.call(e)}catch{return!0}return e instanceof os}catch{}return!1},Lc=rc,Tc=Vg;if(Lo()||ri()){var ss=Symbol.iterator;ai.exports=function(e){if(e!=null&&typeof e[ss]<"u")return e[ss]();if(Lc(e))return Array.prototype[ss].call(e)}}else{var ry=Kg(),ny=_c,Ic=wt,iy=Ic("%Map%",!0),oy=Ic("%Set%",!0),ht=ct,Dc=ht("Array.prototype.push"),Rc=ht("String.prototype.charCodeAt"),sy=ht("String.prototype.slice"),ay=function(e,r){var n=e.length;if(r+1>=n)return r+1;var i=Rc(e,r);if(i<55296||i>56319)return r+1;var o=Rc(e,r+1);return o<56320||o>57343?r+1:r+2},as=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}}}},jc=function(e,r){if(ry(e)||Lc(e))return as(e);if(ny(e)){var n=0;return{next:function(){var o=ay(e,n),s=sy(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(!iy&&!oy)ai.exports=function(e){if(e!=null)return jc(e,!0)};else{var ly=Pc,cy=kc,Bc=ht("Map.prototype.forEach",!0),Nc=ht("Set.prototype.forEach",!0);if(typeof process>"u"||!process.versions||!process.versions.node)var Hc=ht("Map.prototype.iterator",!0),Uc=ht("Set.prototype.iterator",!0);var Fc=ht("Map.prototype.@@iterator",!0)||ht("Map.prototype._es6-shim iterator_",!0),Wc=ht("Set.prototype.@@iterator",!0)||ht("Set.prototype._es6-shim iterator_",!0),uy=function(e){if(ly(e)){if(Hc)return Tc(Hc(e));if(Fc)return Fc(e);if(Bc){var r=[];return Bc(e,function(i,o){Dc(r,[o,i])}),as(r)}}if(cy(e)){if(Uc)return Tc(Uc(e));if(Wc)return Wc(e);if(Nc){var n=[];return Nc(e,function(i){Dc(n,i)}),as(n)}}};ai.exports=function(e){return uy(e)||jc(e)}}}var fy=ai.exports,zc=function(t){return t!==t},qc=function(e,r){return e===0&&r===0?1/e===1/r:!!(e===r||zc(e)&&zc(r))},py=qc,Gc=function(){return typeof Object.is=="function"?Object.is:py},hy=Gc,dy=lr,gy=function(){var e=hy();return dy(Object,{is:e},{is:function(){return Object.is!==e}}),e},yy=lr,vy=Ir,my=qc,Vc=Gc,by=gy,Kc=vy(Vc(),Object);yy(Kc,{getPolyfill:Vc,implementation:my,shim:by});var wy=Kc,$y={}.toString,xy=Array.isArray||function(t){return $y.call(t)=="[object Array]"},Sy=Ir,Yc=ct,Ay=wt,ls=Ay("%ArrayBuffer%",!0),yi=Yc("ArrayBuffer.prototype.byteLength",!0),_y=Yc("Object.prototype.toString"),Jc=!!ls&&!yi&&new ls(0).slice,Zc=!!Jc&&Sy(Jc),Xc=yi||Zc?function(e){if(!e||typeof e!="object")return!1;try{return yi?yi(e):Zc(e,0),!0}catch{return!1}}:ls?function(e){return _y(e)==="[object ArrayBuffer]"}:function(e){return!1},Ey=Date.prototype.getDay,My=function(e){try{return Ey.call(e),!0}catch{return!1}},Py=Object.prototype.toString,Oy="[object Date]",Cy=cr(),ky=function(e){return typeof e!="object"||e===null?!1:Cy?My(e):Py.call(e)===Oy},cs=ct,Qc=cr(),eu,tu,us,fs;if(Qc){eu=cs("Object.prototype.hasOwnProperty"),tu=cs("RegExp.prototype.exec"),us={};var ps=function(){throw us};fs={toString:ps,valueOf:ps},typeof Symbol.toPrimitive=="symbol"&&(fs[Symbol.toPrimitive]=ps)}var Ly=cs("Object.prototype.toString"),Ty=Object.getOwnPropertyDescriptor,Iy="[object RegExp]",Dy=Qc?function(e){if(!e||typeof e!="object")return!1;var r=Ty(e,"lastIndex"),n=r&&eu(r,"value");if(!n)return!1;try{tu(e,fs)}catch(i){return i===us}}:function(e){return!e||typeof e!="object"&&typeof e!="function"?!1:Ly(e)===Iy},Ry=ct,ru=Ry("SharedArrayBuffer.prototype.byteLength",!0),jy=ru?function(e){if(!e||typeof e!="object")return!1;try{return ru(e),!0}catch{return!1}}:function(e){return!1},By=Number.prototype.toString,Ny=function(e){try{return By.call(e),!0}catch{return!1}},Hy=Object.prototype.toString,Uy="[object Number]",Fy=cr(),Wy=function(e){return typeof e=="number"?!0:typeof e!="object"?!1:Fy?Ny(e):Hy.call(e)===Uy},nu=ct,zy=nu("Boolean.prototype.toString"),qy=nu("Object.prototype.toString"),Gy=function(e){try{return zy(e),!0}catch{return!1}},Vy="[object Boolean]",Ky=cr(),Yy=function(e){return typeof e=="boolean"?!0:e===null||typeof e!="object"?!1:Ky&&Symbol.toStringTag in e?Gy(e):qy(e)===Vy},hs={exports:{}},Jy=Object.prototype.toString,Zy=Lo();if(Zy){var Xy=Symbol.prototype.toString,Qy=/^Symbol\(.*\)$/,ev=function(e){return typeof e.valueOf()!="symbol"?!1:Qy.test(Xy.call(e))};hs.exports=function(e){if(typeof e=="symbol")return!0;if(Jy.call(e)!=="[object Symbol]")return!1;try{return ev(e)}catch{return!1}}}else hs.exports=function(e){return!1};var tv=hs.exports,ds={exports:{}},iu=typeof BigInt<"u"&&BigInt,rv=function(){return typeof iu=="function"&&typeof BigInt=="function"&&typeof iu(42)=="bigint"&&typeof BigInt(42)=="bigint"},nv=rv();if(nv){var iv=BigInt.prototype.valueOf,ov=function(e){try{return iv.call(e),!0}catch{}return!1};ds.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:ov(e)}}else ds.exports=function(e){return!1};var sv=ds.exports,av=_c,lv=Wy,cv=Yy,uv=tv,fv=sv,pv=function(e){if(e==null||typeof e!="object"&&typeof e!="function")return null;if(av(e))return"String";if(lv(e))return"Number";if(cv(e))return"Boolean";if(uv(e))return"Symbol";if(fv(e))return"BigInt"},vi=typeof WeakMap=="function"&&WeakMap.prototype?WeakMap:null,ou=typeof WeakSet=="function"&&WeakSet.prototype?WeakSet:null,mi;vi||(mi=function(e){return!1});var gs=vi?vi.prototype.has:null,ys=ou?ou.prototype.has:null;!mi&&!gs&&(mi=function(e){return!1});var hv=mi||function(e){if(!e||typeof e!="object")return!1;try{if(gs.call(e,gs),ys)try{ys.call(e,ys)}catch{return!0}return e instanceof vi}catch{}return!1},vs={exports:{}},dv=wt,su=ct,gv=dv("%WeakSet%",!0),ms=su("WeakSet.prototype.has",!0);if(ms){var bs=su("WeakMap.prototype.has",!0);vs.exports=function(e){if(!e||typeof e!="object")return!1;try{if(ms(e,ms),bs)try{bs(e,bs)}catch{return!0}return e instanceof gv}catch{}return!1}}else vs.exports=function(e){return!1};var yv=vs.exports,vv=Pc,mv=kc,bv=hv,wv=yv,$v=function(e){if(e&&typeof e=="object"){if(vv(e))return"Map";if(mv(e))return"Set";if(bv(e))return"WeakMap";if(wv(e))return"WeakSet"}return!1},au=Function.prototype.toString,jr=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,ws,bi;if(typeof jr=="function"&&typeof Object.defineProperty=="function")try{ws=Object.defineProperty({},"length",{get:function(){throw bi}}),bi={},jr(function(){throw 42},null,ws)}catch(t){t!==bi&&(jr=null)}else jr=null;var xv=/^\s*class\b/,$s=function(e){try{var r=au.call(e);return xv.test(r)}catch{return!1}},xs=function(e){try{return $s(e)?!1:(au.call(e),!0)}catch{return!1}},wi=Object.prototype.toString,Sv="[object Object]",Av="[object Function]",_v="[object GeneratorFunction]",Ev="[object HTMLAllCollection]",Mv="[object HTML document.all class]",Pv="[object HTMLCollection]",Ov=typeof Symbol=="function"&&!!Symbol.toStringTag,Cv=!(0 in[,]),Ss=function(){return!1};if(typeof document=="object"){var kv=document.all;wi.call(kv)===wi.call(document.all)&&(Ss=function(e){if((Cv||!e)&&(typeof e>"u"||typeof e=="object"))try{var r=wi.call(e);return(r===Ev||r===Mv||r===Pv||r===Sv)&&e("")==null}catch{}return!1})}var Lv=jr?function(e){if(Ss(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;try{jr(e,null,ws)}catch(r){if(r!==bi)return!1}return!$s(e)&&xs(e)}:function(e){if(Ss(e))return!0;if(!e||typeof e!="function"&&typeof e!="object")return!1;if(Ov)return xs(e);if($s(e))return!1;var r=wi.call(e);return r!==Av&&r!==_v&&!/^\[object HTML/.test(r)?!1:xs(e)},Tv=Lv,Iv=Object.prototype.toString,lu=Object.prototype.hasOwnProperty,Dv=function(e,r,n){for(var i=0,o=e.length;i<o;i++)lu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Rv=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)},jv=function(e,r,n){for(var i in e)lu.call(e,i)&&(n==null?r(e[i],i,e):r.call(n,e[i],i,e))},Bv=function(e,r,n){if(!Tv(r))throw new TypeError("iterator must be a function");var i;arguments.length>=3&&(i=n),Iv.call(e)==="[object Array]"?Dv(e,r,i):typeof e=="string"?Rv(e,r,i):jv(e,r,i)},Nv=Bv,As=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],Hv=typeof globalThis>"u"?Ge:globalThis,Uv=function(){for(var e=[],r=0;r<As.length;r++)typeof Hv[As[r]]=="function"&&(e[e.length]=As[r]);return e},$i=Nv,Fv=Uv,cu=Ir,_s=ct,xi=jo,Wv=_s("Object.prototype.toString"),uu=cr(),fu=typeof globalThis>"u"?Ge:globalThis,Es=Fv(),Ms=_s("String.prototype.slice"),Ps=Object.getPrototypeOf,zv=_s("Array.prototype.indexOf",!0)||function(e,r){for(var n=0;n<e.length;n+=1)if(e[n]===r)return n;return-1},Si={__proto__:null};uu&&xi&&Ps?$i(Es,function(t){var e=new fu[t];if(Symbol.toStringTag in e){var r=Ps(e),n=xi(r,Symbol.toStringTag);if(!n){var i=Ps(r);n=xi(i,Symbol.toStringTag)}Si["$"+t]=cu(n.get)}}):$i(Es,function(t){var e=new fu[t],r=e.slice||e.set;r&&(Si["$"+t]=cu(r))});var qv=function(e){var r=!1;return $i(Si,function(n,i){if(!r)try{"$"+n(e)===i&&(r=Ms(i,1))}catch{}}),r},Gv=function(e){var r=!1;return $i(Si,function(n,i){if(!r)try{n(e),r=Ms(i,1)}catch{}}),r},Vv=function(e){if(!e||typeof e!="object")return!1;if(!uu){var r=Ms(Wv(e),8,-1);return zv(Es,r)>-1?r:r!=="Object"?!1:Gv(e)}return xi?qv(e):null},Kv=ct,pu=Kv("ArrayBuffer.prototype.byteLength",!0),Yv=Xc,Jv=function(e){return Yv(e)?pu?pu(e):e.byteLength:NaN},hu=Od,xt=ct,du=Qd,Zv=wt,Br=fy,Xv=xc,gu=wy,yu=rc,vu=xy,mu=Xc,bu=ky,wu=Dy,$u=jy,xu=ko,Su=pv,Au=$v,_u=Vv,Eu=Jv,Mu=xt("SharedArrayBuffer.prototype.byteLength",!0),Pu=xt("Date.prototype.getTime"),Os=Object.getPrototypeOf,Ou=xt("Object.prototype.toString"),Ai=Zv("%Set%",!0),Cs=xt("Map.prototype.has",!0),_i=xt("Map.prototype.get",!0),Cu=xt("Map.prototype.size",!0),Ei=xt("Set.prototype.add",!0),ku=xt("Set.prototype.delete",!0),Mi=xt("Set.prototype.has",!0),Pi=xt("Set.prototype.size",!0);function Lu(t,e,r,n){for(var i=Br(t),o;(o=i.next())&&!o.done;)if(dt(e,o.value,r,n))return ku(t,o.value),!0;return!1}function Tu(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 Qv(t,e,r,n,i,o){var s=Tu(r);if(s!=null)return s;var c=_i(e,s),l=hu({},i,{strict:!1});return typeof c>"u"&&!Cs(e,s)||!dt(n,c,l,o)?!1:!Cs(t,s)&&dt(n,c,l,o)}function em(t,e,r){var n=Tu(r);return n??(Mi(e,n)&&!Mi(t,n))}function Iu(t,e,r,n,i,o){for(var s=Br(t),c,l;(c=s.next())&&!c.done;)if(l=c.value,dt(r,l,i,o)&&dt(n,_i(e,l),i,o))return ku(t,l),!0;return!1}function dt(t,e,r,n){var i=r||{};if(i.strict?gu(t,e):t===e)return!0;var o=Su(t),s=Su(e);if(o!==s)return!1;if(!t||!e||typeof t!="object"&&typeof e!="object")return i.strict?gu(t,e):t==e;var c=n.has(t),l=n.has(e),f;if(c&&l){if(n.get(t)===n.get(e))return!0}else f={};return c||n.set(t,f),l||n.set(e,f),nm(t,e,i,n)}function Du(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 tm(t,e,r,n){if(Pi(t)!==Pi(e))return!1;for(var i=Br(t),o=Br(e),s,c,l;(s=i.next())&&!s.done;)if(s.value&&typeof s.value=="object")l||(l=new Ai),Ei(l,s.value);else if(!Mi(e,s.value)){if(r.strict||!em(t,e,s.value))return!1;l||(l=new Ai),Ei(l,s.value)}if(l){for(;(c=o.next())&&!c.done;)if(c.value&&typeof c.value=="object"){if(!Lu(l,c.value,r.strict,n))return!1}else if(!r.strict&&!Mi(t,c.value)&&!Lu(l,c.value,r.strict,n))return!1;return Pi(l)===0}return!0}function rm(t,e,r,n){if(Cu(t)!==Cu(e))return!1;for(var i=Br(t),o=Br(e),s,c,l,f,d,g;(s=i.next())&&!s.done;)if(f=s.value[0],d=s.value[1],f&&typeof f=="object")l||(l=new Ai),Ei(l,f);else if(g=_i(e,f),typeof g>"u"&&!Cs(e,f)||!dt(d,g,r,n)){if(r.strict||!Qv(t,e,f,d,r,n))return!1;l||(l=new Ai),Ei(l,f)}if(l){for(;(c=o.next())&&!c.done;)if(f=c.value[0],g=c.value[1],f&&typeof f=="object"){if(!Iu(l,t,f,g,r,n))return!1}else if(!r.strict&&(!t.has(f)||!dt(_i(t,f),g,r,n))&&!Iu(l,t,f,g,hu({},r,{strict:!1}),n))return!1;return Pi(l)===0}return!0}function nm(t,e,r,n){var i,o;if(typeof t!=typeof e||t==null||e==null||Ou(t)!==Ou(e)||yu(t)!==yu(e))return!1;var s=vu(t),c=vu(e);if(s!==c)return!1;var l=t instanceof Error,f=e instanceof Error;if(l!==f||(l||f)&&(t.name!==e.name||t.message!==e.message))return!1;var d=wu(t),g=wu(e);if(d!==g||(d||g)&&(t.source!==e.source||du(t)!==du(e)))return!1;var m=bu(t),b=bu(e);if(m!==b||(m||b)&&Pu(t)!==Pu(e)||r.strict&&Os&&Os(t)!==Os(e))return!1;var A=_u(t),L=_u(e);if(A!==L)return!1;if(A||L){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var W=Du(t),V=Du(e);if(W!==V)return!1;if(W||V){if(t.length!==e.length)return!1;for(i=0;i<t.length;i++)if(t[i]!==e[i])return!1;return!0}var J=mu(t),Z=mu(e);if(J!==Z)return!1;if(J||Z)return Eu(t)!==Eu(e)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(t),new Uint8Array(e),r,n);var pe=$u(t),te=$u(e);if(pe!==te)return!1;if(pe||te)return Mu(t)!==Mu(e)?!1:typeof Uint8Array=="function"&&dt(new Uint8Array(t),new Uint8Array(e),r,n);if(typeof t!=typeof e)return!1;var N=xu(t),X=xu(e);if(N.length!==X.length)return!1;for(N.sort(),X.sort(),i=N.length-1;i>=0;i--)if(N[i]!=X[i])return!1;for(i=N.length-1;i>=0;i--)if(o=N[i],!dt(t[o],e[o],r,n))return!1;var ie=Au(t),we=Au(e);return ie!==we?!1:ie==="Set"||we==="Set"?tm(t,e,r,n):ie==="Map"?rm(t,e,r,n):!0}var im=function(e,r,n){return dt(e,r,n,Xv())};const om=vn(im);var sm=Object.defineProperty,ve=(t,e)=>sm(t,"name",{value:e,configurable:!0}),am=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||!En(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=ks(e),i=ks(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(!En(e,r))return!1;const o=e;let s=r;if(i&&!this.compareCoord(o[0],s[0])){const l=this.fixStartIndex(s,o);if(l)s=l;else return!1}const c=this.compareCoord(o[n],s[n]);return this.direction||c?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 En(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?om(e.properties,r.properties):!0)&&this.compareBBox(e,r)&&this.compare(e.geometry,r.geometry)}compareFeatureCollection(e,r){return En(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(am,"GeojsonEquality");function En(t,e){return t.coordinates?t.coordinates.length===e.coordinates.length:t.length===e.length}ve(En,"sameLength");function ks(t){return t.coordinates.map(e=>({type:t.type.replace("Multi",""),coordinates:e}))}ve(ks,"explode");var st=63710088e-1,Ru={centimeters:st*100,centimetres:st*100,degrees:360/(2*Math.PI),feet:st*3.28084,inches:st*39.37,kilometers:st/1e3,kilometres:st/1e3,meters:st,metres:st,miles:st/1609.344,millimeters:st*1e3,millimetres:st*1e3,nauticalmiles:st/1852,radians:1,yards:st*1.0936},ju={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 ut(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(ut,"feature");function lm(t,e,r={}){switch(t){case"Point":return St(e).geometry;case"LineString":return At(e).geometry;case"Polygon":return Ls(e).geometry;case"MultiPoint":return Bu(e).geometry;case"MultiLineString":return Ts(e).geometry;case"MultiPolygon":return Nu(e).geometry;default:throw new Error(t+" is invalid")}}ve(lm,"geometry");function St(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(!Nr(t[0])||!Nr(t[1]))throw new Error("coordinates must contain numbers");return ut({type:"Point",coordinates:t},e,r)}ve(St,"point");function cm(t,e,r={}){return ur(t.map(n=>St(n,e)),r)}ve(cm,"points");function Ls(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 ut({type:"Polygon",coordinates:t},e,r)}ve(Ls,"polygon");function um(t,e,r={}){return ur(t.map(n=>Ls(n,e)),r)}ve(um,"polygons");function At(t,e,r={}){if(t.length<2)throw new Error("coordinates must be an array of two or more positions");return ut({type:"LineString",coordinates:t},e,r)}ve(At,"lineString");function fm(t,e,r={}){return ur(t.map(n=>At(n,e)),r)}ve(fm,"lineStrings");function ur(t,e={}){const r={type:"FeatureCollection"};return e.id&&(r.id=e.id),e.bbox&&(r.bbox=e.bbox),r.features=t,r}ve(ur,"featureCollection");function Ts(t,e,r={}){return ut({type:"MultiLineString",coordinates:t},e,r)}ve(Ts,"multiLineString");function Bu(t,e,r={}){return ut({type:"MultiPoint",coordinates:t},e,r)}ve(Bu,"multiPoint");function Nu(t,e,r={}){return ut({type:"MultiPolygon",coordinates:t},e,r)}ve(Nu,"multiPolygon");function pm(t,e,r={}){return ut({type:"GeometryCollection",geometries:t},e,r)}ve(pm,"geometryCollection");function hm(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(hm,"round");function Hu(t,e="kilometers"){const r=Ru[e];if(!r)throw new Error(e+" units is invalid");return t*r}ve(Hu,"radiansToLength");function Is(t,e="kilometers"){const r=Ru[e];if(!r)throw new Error(e+" units is invalid");return t/r}ve(Is,"lengthToRadians");function dm(t,e){return Uu(Is(t,e))}ve(dm,"lengthToDegrees");function gm(t){let e=t%360;return e<0&&(e+=360),e}ve(gm,"bearingToAzimuth");function Uu(t){return t%(2*Math.PI)*180/Math.PI}ve(Uu,"radiansToDegrees");function ym(t){return t%360*Math.PI/180}ve(ym,"degreesToRadians");function vm(t,e="kilometers",r="kilometers"){if(!(t>=0))throw new Error("length must be a positive number");return Hu(Is(t,e),r)}ve(vm,"convertLength");function mm(t,e="meters",r="kilometers"){if(!(t>=0))throw new Error("area must be a positive number");const n=ju[e];if(!n)throw new Error("invalid original units");const i=ju[r];if(!i)throw new Error("invalid final units");return t/n*i}ve(mm,"convertArea");function Nr(t){return!isNaN(t)&&t!==null&&!Array.isArray(t)}ve(Nr,"isNumber");function Ds(t){return t!==null&&typeof t=="object"&&!Array.isArray(t)}ve(Ds,"isObject");function bm(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(!Nr(e))throw new Error("bbox must only contain numbers")})}ve(bm,"validateBBox");function wm(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(wm,"validateId");var $m=Object.defineProperty,Gt=(t,e)=>$m(t,"name",{value:e,configurable:!0});function Rs(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")}Gt(Rs,"getCoord");function Fu(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")}Gt(Fu,"getCoords");function Wu(t){if(t.length>1&&Nr(t[0])&&Nr(t[1]))return!0;if(Array.isArray(t[0])&&t[0].length)return Wu(t[0]);throw new Error("coordinates must only contain numbers")}Gt(Wu,"containsNumber");function xm(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)}Gt(xm,"geojsonType");function Sm(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)}Gt(Sm,"featureOf");function Am(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)}}Gt(Am,"collectionOf");function fr(t){return t.type==="Feature"?t.geometry:t}Gt(fr,"getGeom");function _m(t,e){return t.type==="FeatureCollection"?"FeatureCollection":t.type==="GeometryCollection"?"GeometryCollection":t.type==="Feature"&&t.geometry!==null?t.geometry.type:t.type}Gt(_m,"getType");var Em=Object.defineProperty,zu=(t,e)=>Em(t,"name",{value:e,configurable:!0});function at(t,e,r={}){if(!t)throw new Error("point is required");if(!e)throw new Error("polygon is required");const n=Rs(t),i=fr(e),o=i.type,s=e.bbox;let c=i.coordinates;if(s&&qu(n,s)===!1)return!1;o==="Polygon"&&(c=[c]);let l=!1;for(var f=0;f<c.length;++f){const d=gh(n,c[f]);if(d===0)return!r.ignoreBoundary;d&&(l=!0)}return l}zu(at,"booleanPointInPolygon");function qu(t,e){return e[0]<=t[0]&&e[1]<=t[1]&&e[2]>=t[0]&&e[3]>=t[1]}zu(qu,"inBBox");class Gu{constructor(e=[],r=Mm){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,c=r[s];const l=s+1;if(l<this.length&&n(r[l],c)<0&&(s=l,c=r[l]),n(c,o)>=0)break;r[e]=c,e=s}r[e]=o}}function Mm(t,e){return t<e?-1:t>e?1:0}function Vu(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 Pm(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 Ku{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 Om(t,e){if(t.type==="FeatureCollection"){const r=t.features;for(let n=0;n<r.length;n++)Yu(r[n],e)}else Yu(t,e)}let Oi=0,Ci=0,ki=0;function Yu(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],c=null;Ci=Ci+1;for(let l=0;l<n[i][o].length-1;l++){c=n[i][o][l+1];const f=new Ku(s,Oi,Ci,ki),d=new Ku(c,Oi,Ci,ki+1);f.otherEvent=d,d.otherEvent=f,Vu(f,d)>0?(d.isLeftEndpoint=!0,f.isLeftEndpoint=!1):(f.isLeftEndpoint=!0,d.isLeftEndpoint=!1),e.push(f),e.push(d),s=c,ki=ki+1}}Oi=Oi+1}class Cm{constructor(e){this.leftSweepEvent=e,this.rightSweepEvent=e.otherEvent}}function km(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,c=e.leftSweepEvent.p.y,l=e.rightSweepEvent.p.x,f=e.rightSweepEvent.p.y,d=(f-c)*(i-r)-(l-s)*(o-n),g=(l-s)*(n-c)-(f-c)*(r-s),m=(i-r)*(n-c)-(o-n)*(r-s);if(d===0)return!1;const b=g/d,A=m/d;if(b>=0&&b<=1&&A>=0&&A<=1){const L=r+b*(i-r),W=n+b*(o-n);return[L,W]}return!1}function Lm(t,e){e=e||!1;const r=[],n=new Gu([],Pm);for(;t.length;){const i=t.pop();if(i.isLeftEndpoint){const o=new Cm(i);for(let s=0;s<n.data.length;s++){const c=n.data[s];if(e&&c.leftSweepEvent.featureId===i.featureId)continue;const l=km(o,c);l!==!1&&r.push(l)}n.push(o)}else i.isLeftEndpoint===!1&&n.pop()}return r}function Tm(t,e){const r=new Gu([],Vu);return Om(t,r),Lm(r,e)}var Im=Object.defineProperty,Dm=(t,e)=>Im(t,"name",{value:e,configurable:!0}),Rm=Tm;function Li(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(ut(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(ut(e));const s=Rm(ur(o),i);let c=[];if(n){const l={};s.forEach(f=>{const d=f.join(",");l[d]||(l[d]=!0,c.push(f))})}else c=s;return ur(c.map(l=>St(l)))}Dm(Li,"lineIntersect");var jm=Object.defineProperty,We=(t,e)=>jm(t,"name",{value:e,configurable:!0});function Hr(t,e,r){if(t!==null)for(var n,i,o,s,c,l,f,d=0,g=0,m,b=t.type,A=b==="FeatureCollection",L=b==="Feature",W=A?t.features.length:1,V=0;V<W;V++){f=A?t.features[V].geometry:L?t.geometry:t,m=f?f.type==="GeometryCollection":!1,c=m?f.geometries.length:1;for(var J=0;J<c;J++){var Z=0,pe=0;if(s=m?f.geometries[J]:f,s!==null){l=s.coordinates;var te=s.type;switch(d=r&&(te==="Polygon"||te==="MultiPolygon")?1:0,te){case null:break;case"Point":if(e(l,g,V,Z,pe)===!1)return!1;g++,Z++;break;case"LineString":case"MultiPoint":for(n=0;n<l.length;n++){if(e(l[n],g,V,Z,pe)===!1)return!1;g++,te==="MultiPoint"&&Z++}te==="LineString"&&Z++;break;case"Polygon":case"MultiLineString":for(n=0;n<l.length;n++){for(i=0;i<l[n].length-d;i++){if(e(l[n][i],g,V,Z,pe)===!1)return!1;g++}te==="MultiLineString"&&Z++,te==="Polygon"&&pe++}te==="Polygon"&&Z++;break;case"MultiPolygon":for(n=0;n<l.length;n++){for(pe=0,i=0;i<l[n].length;i++){for(o=0;o<l[n][i].length-d;o++){if(e(l[n][i][o],g,V,Z,pe)===!1)return!1;g++}pe++}Z++}break;case"GeometryCollection":for(n=0;n<s.geometries.length;n++)if(Hr(s.geometries[n],e,r)===!1)return!1;break;default:throw new Error("Unknown Geometry Type")}}}}}We(Hr,"coordEach");function Bm(t,e,r,n){var i=r;return Hr(t,function(o,s,c,l,f){s===0&&r===void 0?i=o:i=e(i,o,s,c,l,f)},n),i}We(Bm,"coordReduce");function Ju(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(Ju,"propEach");function Nm(t,e,r){var n=r;return Ju(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Nm,"propReduce");function Zu(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(Zu,"featureEach");function Hm(t,e,r){var n=r;return Zu(t,function(i,o){o===0&&r===void 0?n=i:n=e(n,i,o)}),n}We(Hm,"featureReduce");function Um(t){var e=[];return Hr(t,function(r){e.push(r)}),e}We(Um,"coordAll");function js(t,e){var r,n,i,o,s,c,l,f,d,g,m=0,b=t.type==="FeatureCollection",A=t.type==="Feature",L=b?t.features.length:1;for(r=0;r<L;r++){for(c=b?t.features[r].geometry:A?t.geometry:t,f=b?t.features[r].properties:A?t.properties:{},d=b?t.features[r].bbox:A?t.bbox:void 0,g=b?t.features[r].id:A?t.id:void 0,l=c?c.type==="GeometryCollection":!1,s=l?c.geometries.length:1,i=0;i<s;i++){if(o=l?c.geometries[i]:c,o===null){if(e(null,m,f,d,g)===!1)return!1;continue}switch(o.type){case"Point":case"LineString":case"MultiPoint":case"Polygon":case"MultiLineString":case"MultiPolygon":{if(e(o,m,f,d,g)===!1)return!1;break}case"GeometryCollection":{for(n=0;n<o.geometries.length;n++)if(e(o.geometries[n],m,f,d,g)===!1)return!1;break}default:throw new Error("Unknown Geometry Type")}}m++}}We(js,"geomEach");function Fm(t,e,r){var n=r;return js(t,function(i,o,s,c,l){o===0&&r===void 0?n=i:n=e(n,i,o,s,c,l)}),n}We(Fm,"geomReduce");function Vt(t,e){js(t,function(r,n,i,o,s){var c=r===null?null:r.type;switch(c){case null:case"Point":case"LineString":case"Polygon":return e(ut(r,i,{bbox:o,id:s}),n,0)===!1?!1:void 0}var l;switch(c){case"MultiPoint":l="Point";break;case"MultiLineString":l="LineString";break;case"MultiPolygon":l="Polygon";break}for(var f=0;f<r.coordinates.length;f++){var d=r.coordinates[f],g={type:l,coordinates:d};if(e(ut(g,i),n,f)===!1)return!1}})}We(Vt,"flattenEach");function Wm(t,e,r){var n=r;return Vt(t,function(i,o,s){o===0&&s===0&&r===void 0?n=i:n=e(n,i,o,s)}),n}We(Wm,"flattenReduce");function Xu(t,e){Vt(t,function(r,n,i){var o=0;if(r.geometry){var s=r.geometry.type;if(!(s==="Point"||s==="MultiPoint")){var c,l=0,f=0,d=0;if(Hr(r,function(g,m,b,A,L){if(c===void 0||n>l||A>f||L>d){c=g,l=n,f=A,d=L,o=0;return}var W=At([c,g],r.properties);if(e(W,n,i,L,o)===!1)return!1;o++,c=g})===!1)return!1}}})}We(Xu,"segmentEach");function zm(t,e,r){var n=r,i=!1;return Xu(t,function(o,s,c,l,f){i===!1&&r===void 0?n=o:n=e(n,o,s,c,l,f),i=!0}),n}We(zm,"segmentReduce");function Qu(t,e){if(!t)throw new Error("geojson is required");Vt(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 c=0;c<s.length;c++)if(e(At(s[c],r.properties),n,i,c)===!1)return!1;break}}})}We(Qu,"lineEach");function qm(t,e,r){var n=r;return Qu(t,function(i,o,s,c){o===0&&r===void 0?n=i:n=e(n,i,o,s,c)}),n}We(qm,"lineReduce");function Gm(t,e){if(e=e||{},!Ds(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,c;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,c=t.features[r].geometry;break;case"Feature":s=s||t.properties,c=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":c=t;break;default:throw new Error("geojson is invalid")}if(c===null)return null;var l=c.coordinates;switch(c.type){case"Point":case"MultiPoint":return null;case"LineString":return o<0&&(o=l.length+o-1),At([l[o],l[o+1]],s,e);case"Polygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o-1),At([l[i][o],l[i][o+1]],s,e);case"MultiLineString":return n<0&&(n=l.length+n),o<0&&(o=l[n].length+o-1),At([l[n][o],l[n][o+1]],s,e);case"MultiPolygon":return n<0&&(n=l.length+n),i<0&&(i=l[n].length+i),o<0&&(o=l[n][i].length-o-1),At([l[n][i][o],l[n][i][o+1]],s,e)}throw new Error("geojson is invalid")}We(Gm,"findSegment");function Vm(t,e){if(e=e||{},!Ds(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,c;switch(t.type){case"FeatureCollection":r<0&&(r=t.features.length+r),s=s||t.features[r].properties,c=t.features[r].geometry;break;case"Feature":s=s||t.properties,c=t.geometry;break;case"Point":case"MultiPoint":return null;case"LineString":case"Polygon":case"MultiLineString":case"MultiPolygon":c=t;break;default:throw new Error("geojson is invalid")}if(c===null)return null;var l=c.coordinates;switch(c.type){case"Point":return St(l,s,e);case"MultiPoint":return n<0&&(n=l.length+n),St(l[n],s,e);case"LineString":return o<0&&(o=l.length+o),St(l[o],s,e);case"Polygon":return i<0&&(i=l.length+i),o<0&&(o=l[i].length+o),St(l[i][o],s,e);case"MultiLineString":return n<0&&(n=l.length+n),o<0&&(o=l[n].length+o),St(l[n][o],s,e);case"MultiPolygon":return n<0&&(n=l.length+n),i<0&&(i=l[n].length+i),o<0&&(o=l[n][i].length-o),St(l[n][i][o],s,e)}throw new Error("geojson is invalid")}We(Vm,"findPoint");var Km=Object.defineProperty,Ti=(t,e)=>Km(t,"name",{value:e,configurable:!0});function Ii(t,e={}){const r=fr(t);switch(!e.properties&&t.type==="Feature"&&(e.properties=t.properties),r.type){case"Polygon":return ef(r,e);case"MultiPolygon":return tf(r,e);default:throw new Error("invalid poly")}}Ti(Ii,"polygonToLine");function ef(t,e={}){const n=fr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{};return Bs(n,i)}Ti(ef,"singlePolygonToLine");function tf(t,e={}){const n=fr(t).coordinates,i=e.properties?e.properties:t.type==="Feature"?t.properties:{},o=[];return n.forEach(s=>{o.push(Bs(s,i))}),ur(o)}Ti(tf,"multiPolygonToLine");function Bs(t,e){return t.length>1?Ts(t,e):At(t[0],e)}Ti(Bs,"coordsToLine");var Ym=Object.defineProperty,Kt=(t,e)=>Ym(t,"name",{value:e,configurable:!0});function rf(t,e){let r=!0;return Vt(t,n=>{Vt(e,i=>{if(r===!1)return!1;r=nf(n.geometry,i.geometry)})}),r}Kt(rf,"booleanDisjoint");function nf(t,e){switch(t.type){case"Point":switch(e.type){case"Point":return!lf(t.coordinates,e.coordinates);case"LineString":return!Ns(e,t);case"Polygon":return!at(t,e)}break;case"LineString":switch(e.type){case"Point":return!Ns(t,e);case"LineString":return!of(t,e);case"Polygon":return!Hs(e,t)}break;case"Polygon":switch(e.type){case"Point":return!at(e,t);case"LineString":return!Hs(t,e);case"Polygon":return!sf(e,t)}}return!1}Kt(nf,"disjoint");function Ns(t,e){for(let r=0;r<t.coordinates.length-1;r++)if(af(t.coordinates[r],t.coordinates[r+1],e.coordinates))return!0;return!1}Kt(Ns,"isPointOnLine");function of(t,e){return Li(t,e).features.length>0}Kt(of,"isLineOnLine");function Hs(t,e){for(const n of e.coordinates)if(at(n,t))return!0;return Li(e,Ii(t)).features.length>0}Kt(Hs,"isLineInPoly");function sf(t,e){for(const n of t.coordinates[0])if(at(n,e))return!0;for(const n of e.coordinates[0])if(at(n,t))return!0;return Li(Ii(t),Ii(e)).features.length>0}Kt(sf,"isPolyInPoly");function af(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]}Kt(af,"isPointOnLineSegment");function lf(t,e){return t[0]===e[0]&&t[1]===e[1]}Kt(lf,"compareCoords");var Jm=Object.defineProperty,Zm=(t,e)=>Jm(t,"name",{value:e,configurable:!0});function cf(t,e){let r=!1;return Vt(t,n=>{Vt(e,i=>{if(r===!0)return!0;r=!rf(n.geometry,i.geometry)})}),r}Zm(cf,"booleanIntersects");var Xm=cf,Qm=Object.defineProperty,e0=(t,e)=>Qm(t,"name",{value:e,configurable:!0});function Mn(t,e={}){if(t.bbox!=null&&e.recompute!==!0)return t.bbox;const r=[1/0,1/0,-1/0,-1/0];return Hr(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}e0(Mn,"bbox");var t0=Object.defineProperty,uf=(t,e)=>t0(t,"name",{value:e,configurable:!0});function Pn(t,e,r={}){const n=Rs(t),i=Fu(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")),ff(i[o],i[o+1],n,s,typeof r.epsilon>"u"?null:r.epsilon))return!0}return!1}uf(Pn,"booleanPointOnLine");function ff(t,e,r,n,i){const o=r[0],s=r[1],c=t[0],l=t[1],f=e[0],d=e[1],g=r[0]-c,m=r[1]-l,b=f-c,A=d-l,L=g*A-m*b;if(i!==null){if(Math.abs(L)>i)return!1}else if(L!==0)return!1;if(n){if(n==="start")return Math.abs(b)>=Math.abs(A)?b>0?c<o&&o<=f:f<=o&&o<c:A>0?l<s&&s<=d:d<=s&&s<l;if(n==="end")return Math.abs(b)>=Math.abs(A)?b>0?c<=o&&o<f:f<o&&o<=c:A>0?l<=s&&s<d:d<s&&s<=l;if(n==="both")return Math.abs(b)>=Math.abs(A)?b>0?c<o&&o<f:f<o&&o<c:A>0?l<s&&s<d:d<s&&s<l}else return Math.abs(b)>=Math.abs(A)?b>0?c<=o&&o<=f:f<=o&&o<=c:A>0?l<=s&&s<=d:d<=s&&s<=l;return!1}uf(ff,"isPointOnLineSegment");var r0=Object.defineProperty,gt=(t,e)=>r0(t,"name",{value:e,configurable:!0});function pf(t,e){var r=fr(t),n=fr(e),i=r.type,o=n.type;switch(i){case"Point":switch(o){case"MultiPoint":return hf(r,n);case"LineString":return Pn(r,n,{ignoreEndVertices:!0});case"Polygon":case"MultiPolygon":return at(r,n,{ignoreBoundary:!0});default:throw new Error("feature2 "+o+" geometry not supported")}case"MultiPoint":switch(o){case"MultiPoint":return df(r,n);case"LineString":return gf(r,n);case"Polygon":case"MultiPolygon":return yf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"LineString":switch(o){case"LineString":return vf(r,n);case"Polygon":case"MultiPolygon":return mf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}case"Polygon":switch(o){case"Polygon":case"MultiPolygon":return bf(r,n);default:throw new Error("feature2 "+o+" geometry not supported")}default:throw new Error("feature1 "+i+" geometry not supported")}}gt(pf,"booleanWithin");function hf(t,e){var r,n=!1;for(r=0;r<e.coordinates.length;r++)if(Fs(e.coordinates[r],t.coordinates)){n=!0;break}return n}gt(hf,"isPointInMultiPoint");function df(t,e){for(var r=0;r<t.coordinates.length;r++){for(var n=!1,i=0;i<e.coordinates.length;i++)Fs(t.coordinates[r],e.coordinates[i])&&(n=!0);if(!n)return!1}return!0}gt(df,"isMultiPointInMultiPoint");function gf(t,e){for(var r=!1,n=0;n<t.coordinates.length;n++){if(!Pn(t.coordinates[n],e))return!1;r||(r=Pn(t.coordinates[n],e,{ignoreEndVertices:!0}))}return r}gt(gf,"isMultiPointOnLine");function yf(t,e){for(var r=!0,n=!1,i=0;i<t.coordinates.length;i++){if(n=at(t.coordinates[i],e),!n){r=!1;break}n=at(t.coordinates[i],e,{ignoreBoundary:!0})}return r&&n}gt(yf,"isMultiPointInPoly");function vf(t,e){for(var r=0;r<t.coordinates.length;r++)if(!Pn(t.coordinates[r],e))return!1;return!0}gt(vf,"isLineOnLine");function mf(t,e){var r=Mn(e),n=Mn(t);if(!Us(r,n))return!1;for(var i=!1,o=0;o<t.coordinates.length;o++){if(!at(t.coordinates[o],e))return!1;if(i||(i=at(t.coordinates[o],e,{ignoreBoundary:!0})),!i&&o<t.coordinates.length-1){var s=wf(t.coordinates[o],t.coordinates[o+1]);i=at(s,e,{ignoreBoundary:!0})}}return i}gt(mf,"isLineInPoly");function bf(t,e){var r=Mn(t),n=Mn(e);if(!Us(n,r))return!1;for(var i=0;i<t.coordinates[0].length;i++)if(!at(t.coordinates[0][i],e))return!1;return!0}gt(bf,"isPolyInPoly");function Us(t,e){return!(t[0]>e[0]||t[2]<e[2]||t[1]>e[1]||t[3]<e[3])}gt(Us,"doBBoxOverlap");function Fs(t,e){return t[0]===e[0]&&t[1]===e[1]}gt(Fs,"compareCoords");function wf(t,e){return[(t[0]+e[0])/2,(t[1]+e[1])/2]}gt(wf,"getMidpoint");var n0=pf;const i0=(t,e)=>e?Xm(t,e):!0,o0=(t,e)=>e?n0(t,e):!0;function s0(t,e="highlight",r="title"){const n=(o,s,c)=>{const l=s.split(".");let f;for(f=0;f<l.length-1;f++)o=o[l[f]];o[l[f]]=c},i=(o,s=[])=>{let c="",l=0;return s.forEach(f=>{const d=f[1]+1;c+=[o.substring(l,f[0]),`<mark class="${e}">`,o.substring(f[0],d),"</mark>"].join(""),l=d}),c+=o.substring(l),c};return t.filter(({matches:o})=>o&&o.length).map(({item:o,matches:s})=>{const c={...o};return s.forEach(l=>{l.key===r&&n(c,l.key,i(l.value,l.indices))}),c})}var $f={exports:{}};(function(t,e){(function(r,n){t.exports=n()})(Ge,function(){var r=1e3,n=6e4,i=36e5,o="millisecond",s="second",c="minute",l="hour",f="day",d="week",g="month",m="quarter",b="year",A="date",L="Invalid Date",W=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,V=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,J={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(I){var E=["th","st","nd","rd"],_=I%100;return"["+I+(E[(_-20)%10]||E[_]||E[0])+"]"}},Z=function(I,E,_){var R=String(I);return!R||R.length>=E?I:""+Array(E+1-R.length).join(_)+I},pe={s:Z,z:function(I){var E=-I.utcOffset(),_=Math.abs(E),R=Math.floor(_/60),P=_%60;return(E<=0?"+":"-")+Z(R,2,"0")+":"+Z(P,2,"0")},m:function I(E,_){if(E.date()<_.date())return-I(_,E);var R=12*(_.year()-E.year())+(_.month()-E.month()),P=E.clone().add(R,g),q=_-P<0,G=E.clone().add(R+(q?-1:1),g);return+(-(R+(_-P)/(q?P-G:G-P))||0)},a:function(I){return I<0?Math.ceil(I)||0:Math.floor(I)},p:function(I){return{M:g,y:b,w:d,d:f,D:A,h:l,m:c,s,ms:o,Q:m}[I]||String(I||"").toLowerCase().replace(/s$/,"")},u:function(I){return I===void 0}},te="en",N={};N[te]=J;var X="$isDayjsObject",ie=function(I){return I instanceof Ne||!(!I||!I[X])},we=function I(E,_,R){var P;if(!E)return te;if(typeof E=="string"){var q=E.toLowerCase();N[q]&&(P=q),_&&(N[q]=_,P=q);var G=E.split("-");if(!P&&G.length>1)return I(G[0])}else{var ye=E.name;N[ye]=E,P=ye}return!R&&P&&(te=P),P||!R&&te},de=function(I,E){if(ie(I))return I.clone();var _=typeof E=="object"?E:{};return _.date=I,_.args=arguments,new Ne(_)},re=pe;re.l=we,re.i=ie,re.w=function(I,E){return de(I,{locale:E.$L,utc:E.$u,x:E.$x,$offset:E.$offset})};var Ne=function(){function I(_){this.$L=we(_.locale,null,!0),this.parse(_),this.$x=this.$x||_.x||{},this[X]=!0}var E=I.prototype;return E.parse=function(_){this.$d=function(R){var P=R.date,q=R.utc;if(P===null)return new Date(NaN);if(re.u(P))return new Date;if(P instanceof Date)return new Date(P);if(typeof P=="string"&&!/Z$/i.test(P)){var G=P.match(W);if(G){var ye=G[2]-1||0,_e=(G[7]||"0").substring(0,3);return q?new Date(Date.UTC(G[1],ye,G[3]||1,G[4]||0,G[5]||0,G[6]||0,_e)):new Date(G[1],ye,G[3]||1,G[4]||0,G[5]||0,G[6]||0,_e)}}return new Date(P)}(_),this.init()},E.init=function(){var _=this.$d;this.$y=_.getFullYear(),this.$M=_.getMonth(),this.$D=_.getDate(),this.$W=_.getDay(),this.$H=_.getHours(),this.$m=_.getMinutes(),this.$s=_.getSeconds(),this.$ms=_.getMilliseconds()},E.$utils=function(){return re},E.isValid=function(){return this.$d.toString()!==L},E.isSame=function(_,R){var P=de(_);return this.startOf(R)<=P&&P<=this.endOf(R)},E.isAfter=function(_,R){return de(_)<this.startOf(R)},E.isBefore=function(_,R){return this.endOf(R)<de(_)},E.$g=function(_,R,P){return re.u(_)?this[R]:this.set(P,_)},E.unix=function(){return Math.floor(this.valueOf()/1e3)},E.valueOf=function(){return this.$d.getTime()},E.startOf=function(_,R){var P=this,q=!!re.u(R)||R,G=re.p(_),ye=function(Te,oe){var Ie=re.w(P.$u?Date.UTC(P.$y,oe,Te):new Date(P.$y,oe,Te),P);return q?Ie:Ie.endOf(f)},_e=function(Te,oe){return re.w(P.toDate()[Te].apply(P.toDate("s"),(q?[0,0,0,0]:[23,59,59,999]).slice(oe)),P)},Pe=this.$W,Ce=this.$M,Ke=this.$D,Le="set"+(this.$u?"UTC":"");switch(G){case b:return q?ye(1,0):ye(31,11);case g:return q?ye(1,Ce):ye(0,Ce+1);case d:var Ye=this.$locale().weekStart||0,le=(Pe<Ye?Pe+7:Pe)-Ye;return ye(q?Ke-le:Ke+(6-le),Ce);case f:case A:return _e(Le+"Hours",0);case l:return _e(Le+"Minutes",1);case c:return _e(Le+"Seconds",2);case s:return _e(Le+"Milliseconds",3);default:return this.clone()}},E.endOf=function(_){return this.startOf(_,!1)},E.$set=function(_,R){var P,q=re.p(_),G="set"+(this.$u?"UTC":""),ye=(P={},P[f]=G+"Date",P[A]=G+"Date",P[g]=G+"Month",P[b]=G+"FullYear",P[l]=G+"Hours",P[c]=G+"Minutes",P[s]=G+"Seconds",P[o]=G+"Milliseconds",P)[q],_e=q===f?this.$D+(R-this.$W):R;if(q===g||q===b){var Pe=this.clone().set(A,1);Pe.$d[ye](_e),Pe.init(),this.$d=Pe.set(A,Math.min(this.$D,Pe.daysInMonth())).$d}else ye&&this.$d[ye](_e);return this.init(),this},E.set=function(_,R){return this.clone().$set(_,R)},E.get=function(_){return this[re.p(_)]()},E.add=function(_,R){var P,q=this;_=Number(_);var G=re.p(R),ye=function(Ce){var Ke=de(q);return re.w(Ke.date(Ke.date()+Math.round(Ce*_)),q)};if(G===g)return this.set(g,this.$M+_);if(G===b)return this.set(b,this.$y+_);if(G===f)return ye(1);if(G===d)return ye(7);var _e=(P={},P[c]=n,P[l]=i,P[s]=r,P)[G]||1,Pe=this.$d.getTime()+_*_e;return re.w(Pe,this)},E.subtract=function(_,R){return this.add(-1*_,R)},E.format=function(_){var R=this,P=this.$locale();if(!this.isValid())return P.invalidDate||L;var q=_||"YYYY-MM-DDTHH:mm:ssZ",G=re.z(this),ye=this.$H,_e=this.$m,Pe=this.$M,Ce=P.weekdays,Ke=P.months,Le=P.meridiem,Ye=function(oe,Ie,_t,Ee){return oe&&(oe[Ie]||oe(R,q))||_t[Ie].slice(0,Ee)},le=function(oe){return re.s(ye%12||12,oe,"0")},Te=Le||function(oe,Ie,_t){var Ee=oe<12?"AM":"PM";return _t?Ee.toLowerCase():Ee};return q.replace(V,function(oe,Ie){return Ie||function(_t){switch(_t){case"YY":return String(R.$y).slice(-2);case"YYYY":return re.s(R.$y,4,"0");case"M":return Pe+1;case"MM":return re.s(Pe+1,2,"0");case"MMM":return Ye(P.monthsShort,Pe,Ke,3);case"MMMM":return Ye(Ke,Pe);case"D":return R.$D;case"DD":return re.s(R.$D,2,"0");case"d":return String(R.$W);case"dd":return Ye(P.weekdaysMin,R.$W,Ce,2);case"ddd":return Ye(P.weekdaysShort,R.$W,Ce,3);case"dddd":return Ce[R.$W];case"H":return String(ye);case"HH":return re.s(ye,2,"0");case"h":return le(1);case"hh":return le(2);case"a":return Te(ye,_e,!0);case"A":return Te(ye,_e,!1);case"m":return String(_e);case"mm":return re.s(_e,2,"0");case"s":return String(R.$s);case"ss":return re.s(R.$s,2,"0");case"SSS":return re.s(R.$ms,3,"0");case"Z":return G}return null}(oe)||G.replace(":","")})},E.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},E.diff=function(_,R,P){var q,G=this,ye=re.p(R),_e=de(_),Pe=(_e.utcOffset()-this.utcOffset())*n,Ce=this-_e,Ke=function(){return re.m(G,_e)};switch(ye){case b:q=Ke()/12;break;case g:q=Ke();break;case m:q=Ke()/3;break;case d:q=(Ce-Pe)/6048e5;break;case f:q=(Ce-Pe)/864e5;break;case l:q=Ce/i;break;case c:q=Ce/n;break;case s:q=Ce/r;break;default:q=Ce}return P?q:re.a(q)},E.daysInMonth=function(){return this.endOf(g).$D},E.$locale=function(){return N[this.$L]},E.locale=function(_,R){if(!_)return this.$L;var P=this.clone(),q=we(_,R,!0);return q&&(P.$L=q),P},E.clone=function(){return re.w(this.$d,this)},E.toDate=function(){return new Date(this.valueOf())},E.toJSON=function(){return this.isValid()?this.toISOString():null},E.toISOString=function(){return this.$d.toISOString()},E.toString=function(){return this.$d.toUTCString()},I}(),et=Ne.prototype;return de.prototype=et,[["$ms",o],["$s",s],["$m",c],["$H",l],["$W",f],["$M",g],["$y",b],["$D",A]].forEach(function(I){et[I[1]]=function(E){return this.$g(E,I[0],I[1])}}),de.extend=function(I,E){return I.$i||(I(E,Ne,de),I.$i=!0),de},de.locale=we,de.isDayjs=ie,de.unix=function(I){return de(1e3*I)},de.en=N[te],de.Ls=N,de.p={},de})})($f);var a0=$f.exports;const On=vn(a0);let xf;const l0=(t,e)=>{xf=new Ut(t,{threshold:.4,distance:50,includeMatches:!0,useExtendedSearch:!0,...e})},c0=async(t,e,r)=>{const n=Object.entries(e).filter(([,c])=>c.type==="text"||c.type==="select"||c.type==="multiselect").reduce((c,[l,f])=>{const d="$or",g=[],m=(b,A)=>{const L={};f.type==="text"?L[b]=`${A}`:L[l]=`="${b}"`,g.push(L)};return Object.entries(f.state).filter(([,b])=>b).forEach(([b,A])=>m(b,A)),g.length>0&&c.push({[d]:g}),c},[]);let i;if(!(n.length>0)&&r.matchAllWhenEmpty!==!1)i=t;else{const c={$and:[...n]},l=xf.search(c);i=r.enableHighlighting?s0(l,"highlight",r.titleProperty):l.map(f=>f.item)}const o=Object.entries(e).filter(([,c])=>c.type==="range").reduce((c,[l,f])=>(c[l]={min:f.state.min,max:f.state.max,format:f.format},c),{});if(Object.keys(o).length>0){const c=[];for(let l=0;l<i.length;l++){const f={};for(const[d,g]of Object.entries(o)){const m=b=>g.format==="date"?On(b).unix():b;Object.prototype.hasOwnProperty.call(i[l],d)?Array.isArray(i[l][d])?f[d]=o[d].min<=m(i[l][d][1])&&m(i[l][d][0])<=o[d].max:m(i[l][d])>=o[d].min&&m(i[l][d])<=o[d].max?f[d]=!0:f[d]=!1:f[d]=!0}Object.values(f).every(d=>!!d)&&c.push(i[l])}i=[...c]}const s=Object.entries(e).filter(([,c])=>c.type==="spatial").reduce((c,[l,f])=>(c[l]={geometry:f.state.geometry,mode:f.state.mode},c),{});if(Object.values(s).map(c=>c.geometry).filter(c=>!!c).length>0){const c=[];for(let l=0;l<i.length;l++){const f={};for(const d of Object.keys(s)){const g=s[d].mode||"within";Object.prototype.hasOwnProperty.call(i[l],d)&&(g==="within"?o0(i[l][d],s[d].geometry):i0(i[l][d],s[d].geometry))?f[d]=!0:f[d]=!1}Object.values(f).every(d=>!!d)&&c.push(i[l])}i=[...c]}return i};function u0(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 Di(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 Sf(t,e){return t*2+e}function f0(t){return Object.keys(t).map(e=>({title:K`${e}:
490
+ <strong>${t[e].stringifiedState}</strong>`,key:e})).filter(e=>t[e.key].dirty)}function Ws(t){return Object.values(t).map(e=>e.dirty).filter(e=>e).length>0}async function p0(t,e,r){return await(await fetch(`${r.externalFilter(t,e)}`)).json()}class h0 extends it{constructor(){super();nt(this,Be);this.filterProperties={},this.unstyled=!1,this.inlineMode=!1,this.showDropdown=!1,this.filters={},this._handleClickOutside=Se(this,Be,Jf).bind(this),this._handleKeyDown=Se(this,Be,Ma).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}}}connectedCallback(){super.connectedCallback(),this.inlineMode&&(document.addEventListener("click",this._handleClickOutside),document.addEventListener("focusout",this._handleClickOutside),document.addEventListener("keydown",this._handleKeyDown))}disconnectedCallback(){this.inlineMode&&(document.removeEventListener("click",this._handleClickOutside),document.removeEventListener("focusout",this._handleClickOutside),document.removeEventListener("keydown",this._handleKeyDown)),super.disconnectedCallback()}updateInline(){this.inlineMode&&this.requestUpdate()}render(){return K`
489
491
  <style>
490
492
  ${!this.unstyled&&yn} .inline-content {
491
493
  display: ${this.showDropdown?"block":"none"};
@@ -500,13 +502,13 @@ li.highlighted,
500
502
  <div class="chip-container">
501
503
  <div class="chip-wrapper">
502
504
  <eox-itemfilter-chips
503
- .items=${c0(this.filters)}
504
- .controller=${{remove:r=>Se(this,Be,Jf).call(this,r)}}
505
+ .items=${f0(this.filters)}
506
+ .controller=${{remove:r=>Se(this,Be,Xf).call(this,r)}}
505
507
  >
506
508
  </eox-itemfilter-chips>
507
509
  </div>
508
510
 
509
- ${Qe(zs(this.filters),()=>K`
511
+ ${Qe(Ws(this.filters),()=>K`
510
512
  <span
511
513
  class="chip-close"
512
514
  @click=${()=>this.dispatchEvent(new CustomEvent("reset"))}
@@ -514,15 +516,15 @@ li.highlighted,
514
516
  `)}
515
517
  </div>
516
518
  <div
517
- class="input-container ${zs(this.filters)?"dirty-filter-input":""}"
519
+ class="input-container ${Ws(this.filters)?"dirty-filter-input":""}"
518
520
  >
519
521
  <input
520
522
  autocomplete="off"
521
- id="itemfilter-input-search"
523
+ id="eox-itemfilter-input-search"
522
524
  type="text"
523
525
  @click="${Se(this,Be,Pa)}"
524
- @focus="${Se(this,Be,Yf)}"
525
- @input="${Se(this,Be,Zf)}"
526
+ @focus="${Se(this,Be,Zf)}"
527
+ @input="${Se(this,Be,Qf)}"
526
528
  placeholder="Search and add filter"
527
529
  aria-haspopup="true"
528
530
  aria-expanded="${this.showDropdown}"
@@ -540,7 +542,7 @@ li.highlighted,
540
542
  </div>
541
543
  </div>
542
544
  `:K`<slot name="section"></slot>`}
543
- `}}Be=new WeakSet,Kf=function(r){ph(r,this)},Ma=function(r){fh(r,this)},Pa=function(r){uh(r,this)},Yf=function(){ch(this)},Oa=function(r){lh(r,this)},Jf=function(r){ah(r,this)},Zf=function(r){dl(r,this)},customElements.define("eox-itemfilter-container",f0);var p0="Expected a function",Af=NaN,h0="[object Symbol]",d0=/^\s+|\s+$/g,g0=/^[-+]0x[0-9a-f]+$/i,y0=/^0b[01]+$/i,v0=/^0o[0-7]+$/i,m0=parseInt,b0=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,w0=typeof self=="object"&&self&&self.Object===Object&&self,$0=b0||w0||Function("return this")(),x0=Object.prototype,S0=x0.toString,A0=Math.max,_0=Math.min,qs=function(){return $0.Date.now()};function E0(t,e,r){var n,i,o,s,c,l,f=0,h=!1,y=!1,m=!0;if(typeof t!="function")throw new TypeError(p0);e=_f(e)||0,Gs(r)&&(h=!!r.leading,y="maxWait"in r,o=y?A0(_f(r.maxWait)||0,e):o,m="trailing"in r?!!r.trailing:m);function b(N){var X=n,ie=i;return n=i=void 0,f=N,s=t.apply(ie,X),s}function A(N){return f=N,c=setTimeout(V,e),h?b(N):s}function L(N){var X=N-l,ie=N-f,we=e-X;return y?_0(we,o-ie):we}function W(N){var X=N-l,ie=N-f;return l===void 0||X>=e||X<0||y&&ie>=o}function V(){var N=qs();if(W(N))return J(N);c=setTimeout(V,L(N))}function J(N){return c=void 0,m&&n?b(N):(n=i=void 0,s)}function Z(){c!==void 0&&clearTimeout(c),f=0,n=l=i=c=void 0}function pe(){return c===void 0?s:J(qs())}function te(){var N=qs(),X=W(N);if(n=arguments,i=this,l=N,X){if(c===void 0)return A(l);if(y)return c=setTimeout(V,e),b(l)}return c===void 0&&(c=setTimeout(V,e)),s}return te.cancel=Z,te.flush=pe,te}function Gs(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function M0(t){return!!t&&typeof t=="object"}function P0(t){return typeof t=="symbol"||M0(t)&&S0.call(t)==h0}function _f(t){if(typeof t=="number")return t;if(P0(t))return Af;if(Gs(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=Gs(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(d0,"");var r=y0.test(t);return r||v0.test(t)?m0(t.slice(2),r?2:8):g0.test(t)?Af:+t}var O0=E0;const Ri=vn(O0);function C0(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Di(t.filterObject),t.requestUpdate()}function k0(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 L0(t){Di(t.filterObject),t.requestUpdate()}function T0(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=`${On(r)} - ${On(n)}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function I0(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],o=n?On.unix(i):i;return K`<div class="range-${e}">${o}</div>`}function D0(t){R0(-1,t),Di(t.filterObject),t.requestUpdate()}function R0(t,e){e.selectedItems=t===-1?[]:e.selectedItems.filter((r,n)=>n!==t),ji(e),Mf(e)}function Ef(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),e.query="",ji(e),Mf(e)}function j0(t,e){e.query=t.target.value,e.showSuggestions=!0}function B0(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&&Ef(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function N0(t,e){t.has("suggestions")&&(e.fuse=new kt(e.suggestions,{threshold:.3}),ji(e)),t.has("query")&&ji(e)}function H0(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 ji(t){let e=t.suggestions;t.query&&(e=t.fuse.search(t.query).map(r=>r.item)),t.filteredSuggestions=H0(t,e),t.highlightedIndex=-1}function Mf(t){Object.keys(t.filterObject.state).forEach(e=>{t.filterObject.state[e]=t.selectedItems.map(r=>r).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 U0(t){Di(t.filterObject),t.renderRoot.querySelector("itemfilter-spatial-filter").reset(),t.requestUpdate()}function F0(t){t.renderRoot.querySelector("#eox-map").innerHTML="",Pf(t)}function W0(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function Pf(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&&z0(t.geometry),n=l0(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 z0(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class q0 extends it{constructor(){super();nt(this,Wi,()=>{k0(this)});Jn(this,"debouncedInputHandler",Ri(pt(this,Wi),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(){C0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>K`
545
+ `}}Be=new WeakSet,Jf=function(r){dh(r,this)},Ma=function(r){hh(r,this)},Pa=function(r){ph(r,this)},Zf=function(){fh(this)},Oa=function(r){uh(r,this)},Xf=function(r){ch(r,this)},Qf=function(r){dl(r,this)},customElements.define("eox-itemfilter-container",h0);var d0="Expected a function",Af=NaN,g0="[object Symbol]",y0=/^\s+|\s+$/g,v0=/^[-+]0x[0-9a-f]+$/i,m0=/^0b[01]+$/i,b0=/^0o[0-7]+$/i,w0=parseInt,$0=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,x0=typeof self=="object"&&self&&self.Object===Object&&self,S0=$0||x0||Function("return this")(),A0=Object.prototype,_0=A0.toString,E0=Math.max,M0=Math.min,zs=function(){return S0.Date.now()};function P0(t,e,r){var n,i,o,s,c,l,f=0,d=!1,g=!1,m=!0;if(typeof t!="function")throw new TypeError(d0);e=_f(e)||0,qs(r)&&(d=!!r.leading,g="maxWait"in r,o=g?E0(_f(r.maxWait)||0,e):o,m="trailing"in r?!!r.trailing:m);function b(N){var X=n,ie=i;return n=i=void 0,f=N,s=t.apply(ie,X),s}function A(N){return f=N,c=setTimeout(V,e),d?b(N):s}function L(N){var X=N-l,ie=N-f,we=e-X;return g?M0(we,o-ie):we}function W(N){var X=N-l,ie=N-f;return l===void 0||X>=e||X<0||g&&ie>=o}function V(){var N=zs();if(W(N))return J(N);c=setTimeout(V,L(N))}function J(N){return c=void 0,m&&n?b(N):(n=i=void 0,s)}function Z(){c!==void 0&&clearTimeout(c),f=0,n=l=i=c=void 0}function pe(){return c===void 0?s:J(zs())}function te(){var N=zs(),X=W(N);if(n=arguments,i=this,l=N,X){if(c===void 0)return A(l);if(g)return c=setTimeout(V,e),b(l)}return c===void 0&&(c=setTimeout(V,e)),s}return te.cancel=Z,te.flush=pe,te}function qs(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function O0(t){return!!t&&typeof t=="object"}function C0(t){return typeof t=="symbol"||O0(t)&&_0.call(t)==g0}function _f(t){if(typeof t=="number")return t;if(C0(t))return Af;if(qs(t)){var e=typeof t.valueOf=="function"?t.valueOf():t;t=qs(e)?e+"":e}if(typeof t!="string")return t===0?t:+t;t=t.replace(y0,"");var r=m0.test(t);return r||b0.test(t)?w0(t.slice(2),r?2:8):v0.test(t)?Af:+t}var k0=P0;const Ri=vn(k0);function L0(t){const e=t.renderRoot.querySelector("input[type='text']");e.value="",Di(t.filterObject),t.requestUpdate()}function T0(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 I0(t){Di(t.filterObject),t.requestUpdate()}function D0(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=`${On(r)} - ${On(n)}`),e.dispatchEvent(new CustomEvent("filter")),r===e.filterObject.min&&n===e.filterObject.max?e.reset():e.requestUpdate()}function R0(t,e,r){const n=r.filterObject.format==="date",i=r.filterObject.state[t],o=n?On.unix(i):i;return K`<div class="range-${e}">${o}</div>`}function j0(t){B0(-1,t),Di(t.filterObject),t.requestUpdate()}function B0(t,e){e.selectedItems=t===-1?[]:e.selectedItems.filter((r,n)=>n!==t),Gs(e),Mf(e)}function Ef(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),Gs(e),Mf(e)}function N0(t,e){e.query=t.target.value,e.showSuggestions=!0}function H0(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&&Ef(e.filteredSuggestions[e.highlightedIndex],e);break;case"Escape":e.showSuggestions=!1;break}}function U0(t,e){(t.has("suggestions")||t.has("query"))&&Gs(e)}function F0(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 Gs(t){let e;t.query&&(e=new Ut(t.suggestions,{threshold:.4}).search(t.query).map(n=>n.item)),t.filteredSuggestions=F0(t,e||t.suggestions),t.highlightedIndex=-1}function Mf(t){Object.keys(t.filterObject.state).forEach(e=>{t.filterObject.state[e]=t.selectedItems.map(r=>r).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 W0(t){Di(t.filterObject),t.renderRoot.querySelector("eox-itemfilter-spatial-filter").reset(),t.requestUpdate()}function z0(t){t.renderRoot.querySelector("#eox-map").innerHTML="",Pf(t)}function q0(t,e){e.filterObject.state.mode=t;const r=new CustomEvent("filter",{detail:{[e.filterObject.key]:{}}});e.dispatchEvent(r)}function Pf(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&&G0(t.geometry),n=u0(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 G0(t){return`data:text/json,${encodeURIComponent(JSON.stringify({type:"FeatureCollection",features:[{type:"Feature",properties:null,geometry:t}]}))}`}class V0 extends it{constructor(){super();nt(this,Fi,()=>{T0(this)});Jn(this,"debouncedInputHandler",Ri(pt(this,Fi),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(){L0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>K`
544
546
  <style></style>
545
547
  <div class="text-container">
546
548
  <div class="text-container-wrapper">
@@ -557,7 +559,7 @@ li.highlighted,
557
559
  />
558
560
  </div>
559
561
  </div>
560
- `)}}Wi=new WeakMap,customElements.define("eox-itemfilter-text",q0);class Of 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=K` <slot name=${n}></slot> `,o={[e]:{...r}};if(this._renderedTemplates.hasOwnProperty(n)){const{slot:c}=this._renderedTemplates[n];this.contains(c)&&this.removeChild(c)}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 G0(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(c=>r.filters[r.config.aggregateResults].state[c])),(o!=null&&o.length?o.includes(e):!0)&&Array.isArray(i)?i.includes(e):i===e})}/**
562
+ `)}}Fi=new WeakMap,customElements.define("eox-itemfilter-text",V0);class Of 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=K` <slot name=${n}></slot> `,o={[e]:{...r}};if(this._renderedTemplates.hasOwnProperty(n)){const{slot:c}=this._renderedTemplates[n];this.contains(c)&&this.removeChild(c)}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 K0(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(c=>r.filters[r.config.aggregateResults].state[c])),(o!=null&&o.length?o.includes(e):!0)&&Array.isArray(i)?i.includes(e):i===e})}/**
561
563
  * @license
562
564
  * Copyright 2017 Google LLC
563
565
  * SPDX-License-Identifier: BSD-3-Clause
@@ -565,15 +567,15 @@ li.highlighted,
565
567
  * @license
566
568
  * Copyright 2020 Google LLC
567
569
  * SPDX-License-Identifier: BSD-3-Clause
568
- */const{I:V0}=wp,Tf=()=>document.createComment(""),Cn=(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(Tf(),i),c=n.insertBefore(Tf(),i);r=new V0(s,c,t,t.options)}else{const s=r._$AB.nextSibling,c=r._$AM,l=c!==t;if(l){let f;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(f=t._$AU)!==c._$AU&&r._$AP(f)}if(s!==i||l){let f=r._$AA;for(;f!==s;){const h=f.nextSibling;n.insertBefore(f,i),f=h}}}return r},pr=(t,e,r=t)=>(t._$AI(e,r),t),K0={},Y0=(t,e=K0)=>t._$AH=e,J0=t=>t._$AH,Vs=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}};/**
570
+ */const{I:Y0}=xp,Tf=()=>document.createComment(""),Cn=(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(Tf(),i),c=n.insertBefore(Tf(),i);r=new Y0(s,c,t,t.options)}else{const s=r._$AB.nextSibling,c=r._$AM,l=c!==t;if(l){let f;(o=r._$AQ)==null||o.call(r,t),r._$AM=t,r._$AP!==void 0&&(f=t._$AU)!==c._$AU&&r._$AP(f)}if(s!==i||l){let f=r._$AA;for(;f!==s;){const d=f.nextSibling;n.insertBefore(f,i),f=d}}}return r},pr=(t,e,r=t)=>(t._$AI(e,r),t),J0={},Z0=(t,e=J0)=>t._$AH=e,X0=t=>t._$AH,Vs=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}};/**
569
571
  * @license
570
572
  * Copyright 2017 Google LLC
571
573
  * SPDX-License-Identifier: BSD-3-Clause
572
- */const If=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Z0=kf(class extends Lf{constructor(t){if(super(t),t.type!==Cf.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 c of t)i[s]=n?n(c,s):s,o[s]=r(c,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=J0(t),{values:o,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,o;const c=this.ut??(this.ut=[]),l=[];let f,h,y=0,m=i.length-1,b=0,A=o.length-1;for(;y<=m&&b<=A;)if(i[y]===null)y++;else if(i[m]===null)m--;else if(c[y]===s[b])l[b]=pr(i[y],o[b]),y++,b++;else if(c[m]===s[A])l[A]=pr(i[m],o[A]),m--,A--;else if(c[y]===s[A])l[A]=pr(i[y],o[A]),Cn(t,l[A+1],i[y]),y++,A--;else if(c[m]===s[b])l[b]=pr(i[m],o[b]),Cn(t,i[y],i[m]),m--,b++;else if(f===void 0&&(f=If(s,b,A),h=If(c,y,m)),f.has(c[y]))if(f.has(c[m])){const L=h.get(s[b]),W=L!==void 0?i[L]:null;if(W===null){const V=Cn(t,i[y]);pr(V,o[b]),l[b]=V}else l[b]=pr(W,o[b]),Cn(t,i[y],W),i[L]=null;b++}else Vs(i[m]),m--;else Vs(i[y]),y++;for(;b<=A;){const L=Cn(t,l[A+1]);pr(L,o[b]),l[b++]=L}for(;y<=m;){const L=i[y++];L!==null&&Vs(L)}return this.ut=s,Y0(t,l),Ht}});/**
574
+ */const If=(t,e,r)=>{const n=new Map;for(let i=e;i<=r;i++)n.set(t[i],i);return n},Q0=kf(class extends Lf{constructor(t){if(super(t),t.type!==Cf.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 c of t)i[s]=n?n(c,s):s,o[s]=r(c,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=X0(t),{values:o,keys:s}=this.dt(e,r,n);if(!Array.isArray(i))return this.ut=s,o;const c=this.ut??(this.ut=[]),l=[];let f,d,g=0,m=i.length-1,b=0,A=o.length-1;for(;g<=m&&b<=A;)if(i[g]===null)g++;else if(i[m]===null)m--;else if(c[g]===s[b])l[b]=pr(i[g],o[b]),g++,b++;else if(c[m]===s[A])l[A]=pr(i[m],o[A]),m--,A--;else if(c[g]===s[A])l[A]=pr(i[g],o[A]),Cn(t,l[A+1],i[g]),g++,A--;else if(c[m]===s[b])l[b]=pr(i[m],o[b]),Cn(t,i[g],i[m]),m--,b++;else if(f===void 0&&(f=If(s,b,A),d=If(c,g,m)),f.has(c[g]))if(f.has(c[m])){const L=d.get(s[b]),W=L!==void 0?i[L]:null;if(W===null){const V=Cn(t,i[g]);pr(V,o[b]),l[b]=V}else l[b]=pr(W,o[b]),Cn(t,i[g],W),i[L]=null;b++}else Vs(i[m]),m--;else Vs(i[g]),g++;for(;b<=A;){const L=Cn(t,l[A+1]);pr(L,o[b]),l[b++]=L}for(;g<=m;){const L=i[g++];L!==null&&Vs(L)}return this.ut=s,Z0(t,l),Nt}});/**
573
575
  * @license
574
576
  * Copyright 2017 Google LLC
575
577
  * SPDX-License-Identifier: BSD-3-Clause
576
- */class Ks extends Lf{constructor(e){if(super(e),this.it=be,e.type!==Cf.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===Ht)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:[]}}}Ks.directiveName="unsafeHTML",Ks.resultType=1;const X0=kf(Ks);function Q0(t,e){return K`
578
+ */class Ks extends Lf{constructor(e){if(super(e),this.it=be,e.type!==Cf.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===Nt)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:[]}}}Ks.directiveName="unsafeHTML",Ks.resultType=1;const eb=kf(Ks);function tb(t,e){return K`
577
579
  <details
578
580
  class="details-results"
579
581
  @toggle=${e.toggleAccordion}
@@ -593,7 +595,7 @@ li.highlighted,
593
595
  </details>
594
596
  `}function Df(t,e){const r=e.results,n=t?e.aggregateResults(r,t):r,i=e.config,o=s=>{var c;return((c=e.selectedResult)==null?void 0:c[i.titleProperty])===s[i.titleProperty]?"highlighted":be};return K`
595
597
  <ul>
596
- ${Z0(n,s=>s.id,s=>{var c;return K`
598
+ ${Q0(n,s=>s.id,s=>{var c;return K`
597
599
  <li class=${o(s)}>
598
600
  <label>
599
601
  <input
@@ -607,14 +609,14 @@ li.highlighted,
607
609
  />
608
610
  ${Qe(e.hasTemplate("result"),()=>e.renderTemplate("result",s,`result-${s.id}`),()=>K`
609
611
  <span class="title"
610
- >${X0(s[i.titleProperty])}</span
612
+ >${eb(s[i.titleProperty])}</span
611
613
  >
612
614
  `)}
613
615
  </label>
614
616
  </li>
615
617
  `})}
616
618
  </ul>
617
- `}class eb extends Of{constructor(){super();nt(this,dr);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 G0(r,n,this)}createRenderRoot(){return this}render(){return K`
619
+ `}class rb extends Of{constructor(){super();nt(this,dr);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 K0(r,n,this)}createRenderRoot(){return this}render(){return K`
618
620
  <section id="section-results">
619
621
  <div>
620
622
  <h6 style="padding: 8px 0px;">Results</h6>
@@ -624,15 +626,15 @@ li.highlighted,
624
626
  <ul id="results" part="results">
625
627
  ${Qe(this.config.aggregateResults,()=>Xn(this.resultAggregation.filter(r=>this.aggregateResults(this.results,r).length),r=>K`${Qe(this.aggregateResults(this.results,r).length===1&&this.config.autoSpreadSingle,()=>K`<div style="margin-left: -8px">
626
628
  ${Se(this,dr,Ca).call(this,r)}
627
- </div>`,()=>Se(this,dr,Xf).call(this,r))}`),()=>Se(this,dr,Ca).call(this))}
629
+ </div>`,()=>Se(this,dr,ep).call(this,r))}`),()=>Se(this,dr,Ca).call(this))}
628
630
  </ul>
629
631
  </div>
630
632
  </section>
631
- `}}dr=new WeakSet,Ca=function(r){return Df(r,this)},Xf=function(r){return Q0(r,this)},customElements.define("eox-itemfilter-results",eb);const tb=`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");}`,rb=`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 Rf extends it{constructor(){super();nt(this,Yt);Jn(this,"debouncedInputHandler",Ri(Se(this,Yt,tp),500,{leading:!0}));this.filterObject={},this.suggestions=[],this.selectedItems=[],this.query="",this.showSuggestions=!1,this.highlightedIndex=-1,this.filteredSuggestions=[],this.type="select",this.fuse=new kt(this.suggestions,{threshold:.3}),this.unstyled=!1,this.tabIndex=0,this.inlineMode=!1}updated(r){N0(r,this)}reset(){D0(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 K`
633
+ `}}dr=new WeakSet,Ca=function(r){return Df(r,this)},ep=function(r){return tb(r,this)},customElements.define("eox-itemfilter-results",rb);const nb=`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");}`,ib=`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 Rf extends it{constructor(){super();nt(this,Yt);Jn(this,"debouncedInputHandler",Ri(Se(this,Yt,np),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){U0(r,this)}reset(){j0(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 K`
632
634
  <style>
633
635
  ${!this.unstyled&&yn}
634
- ${!this.unstyled&&tb}
635
- ${!this.unstyled&&rb}
636
+ ${!this.unstyled&&nb}
637
+ ${!this.unstyled&&ib}
636
638
  </style>
637
639
  ${Qe(this.suggestions.length>10,()=>K`<div class="autocomplete-container">
638
640
  <div class="autocomplete-container-wrapper">
@@ -643,8 +645,8 @@ li.highlighted,
643
645
  type="text"
644
646
  .value=${this.query}
645
647
  placeholder="${this.filterObject.placeholder||""}"
646
- @input=${Se(this,Yt,Qf)}
647
- @keydown=${Se(this,Yt,ep)}
648
+ @input=${Se(this,Yt,tp)}
649
+ @keydown=${Se(this,Yt,rp)}
648
650
  @blur=${()=>this.showSuggestions=!1}
649
651
  @focus=${()=>this.showSuggestions=!0}
650
652
  />
@@ -673,7 +675,7 @@ li.highlighted,
673
675
  `)}
674
676
  </ul>
675
677
  </div>
676
- `}}Yt=new WeakSet,Qf=function(r){j0(r,this)},ep=function(r){B0(r,this)},tp=function(r){Ef(r,this)},Jn(Rf,"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",Rf),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,g,x)=>g in u?t(u,g,{enumerable:!0,configurable:!0,writable:!0,value:x}):u[g]=x,n=(u,g,x)=>(r(u,typeof g!="symbol"?g+"":g,x),x),i=(u,g)=>` ${g&&g.length>0?g.map(x=>`<link rel="stylesheet" href="${x}" />`).join(""):""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`,o=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",s="pointers-overlap",c="pointers-min-distance",l="pointers-max-distance",f="range-dragging",h="data",y="min",m="max",b="step",A="round",L="type",W="theme",V="rtl",J="btt",Z="disabled",pe="keyboard-disabled",te="mousewheel-disabled",N="slider-width",X="slider-height",ie="slider-radius",we="slider-bg",de="slider-bg-hover",re="slider-bg-fill",Ne="pointer-width",et="pointer-height",I="pointer-radius",E="pointer-bg",_="pointer-bg-hover",R="pointer-bg-focus",P="pointer-shadow",q="pointer-shadow-hover",G="pointer-shadow-focus",ye="pointer-border",_e="pointer-border-hover",Pe="pointer-border-focus",Ce="animate-onclick",Ke="css-links",Le="vertical",Ye="horizontal",le=(u,g,x,w,M)=>{let H=g-u;return H===0?x:(w-x)*(M-u)/H+x},Te=u=>!isNaN(parseFloat(u))&&isFinite(u),oe=(u,g)=>Te(u)?Number(u):g,Ie=(u,g)=>g===0?0:Math.round(u/g)*g,_t=(u,g=1/0)=>{if(g===1/0)return u;let x=e(10,g);return Math.round(u*x)/x},Ee=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",ta=(u,g)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:g}}))},Gi=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:g}}))},Vi=(u,g)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:g}}))},Ki=(u,g)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:g}}))},ra=(u,g)=>{if(!g||g.length<=0)return;let x=g.map(M=>Te(M)?oe(M,M):M),w={values:x||[]};w.value=x[0],w.value0=x[0],w.value1=x[0];for(let M=1;M<x.length;M++)w[`value${M+1}`]=x[M];u.dispatchEvent(new CustomEvent("change",{detail:w}))},Tn=(u,g,x)=>{let w=0,M,H,U,C,k=!1,Q=(F,$e,De,ke,Me,Ae)=>{let Je=w;De!==void 0&&F>De&&(F=De),$e!==void 0&&F<$e&&(F=$e),w=F;let ze=w;return(ke===Le&&Ae||ke===Ye&&Me)&&(ze=100-ze),ke===Le?g.style.top=`${ze}%`:g.style.left=`${ze}%`,Je!==w},se=F=>F===g||g.contains(F),B=(F,$e,De,ke)=>{M=F,H=$e,U=De,C=ke},ce=F=>{k=F,g.classList.toggle("disabled",k),k?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},rt=(F,$e)=>{$e==null?g.removeAttribute(F):g.setAttribute(F,$e)},Fe=F=>g.getAttribute(F),j=F=>{if(!k){switch(F.key){case"ArrowLeft":{F.preventDefault(),typeof M=="function"&&M(x);break}case"ArrowRight":{F.preventDefault(),typeof H=="function"&&H(x);break}case"ArrowUp":{F.preventDefault(),typeof U=="function"&&U(x);break}case"ArrowDown":{F.preventDefault(),typeof C=="function"&&C(x);break}}Ki(u,F)}},ne=()=>{k||ta(u,g)};return g.className=`pointer pointer-${x}`,g.addEventListener("keydown",j),g.addEventListener("click",ne),{$pointer:g,get percent(){return w},get disabled(){return k},set disabled(F){ce(F)},updatePosition:Q,isClicked:se,setCallbacks:B,setAttr:rt,getAttr:Fe,destroy:()=>{g.removeEventListener("keydown",j),g.removeEventListener("click",ne),g.remove()}}},na=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let g=u.split(","),x=[],w=!0;for(let M=0;M<g.length;M++){let H=g[M].trim();H!==""&&(x.push(H),Te(H)||(w=!1))}return w?x.map(M=>Number(M)):x},ia=(u,g)=>g?g.findIndex(x=>x===u||x.toString().trim()===u.toString().trim()):-1,oa=u=>({updatePosition:(g,x,w,M)=>{if(x.length<=0)return;let H=x.length===1,U=x[0],C=x[x.length-1];g===Le?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),H?u.style.height=`${U}%`:u.style.height=`${Math.abs(U-C)}%`,M?(u.style.bottom="0%",H?u.style.top="auto":u.style.top=`${Math.min(100-C,100-U)}%`):(u.style.bottom="auto",H?u.style.top="0%":u.style.top=`${Math.min(U,C)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),H?u.style.width=`${U}%`:u.style.width=`${Math.abs(U-C)}%`,w?(u.style.right="0%",H?u.style.left="auto":u.style.left=`${Math.min(100-C,100-U)}%`):(u.style.right="auto",H?u.style.left="0%":u.style.left=`${Math.min(U,C)}%`))}}),Yi="--animate-onclick",sa="--width",In="--height",aa="--panel-bg-border-radius",la="--panel-bg",ca="--panel-bg-hover",ua="--panel-bg-fill",fa="--pointer-width",qr="--pointer-height",Dn="--pointer-border-radius",Ji="--pointer-bg",Zi="--pointer-bg-hover",vt="--pointer-bg-focus",Jt="--pointer-shadow",pa="--pointer-shadow-hover",Gr="--pointer-shadow-focus",Xi="--pointer-border",ha="--pointer-border-hover",da="--pointer-border-focus",vr=(u,g,x)=>{let w=new Map;for(let M of u.attributes){let H=M.nodeName.trim().toLowerCase();if(!g.test(H))continue;let U=H.replace(/\D/g,"").trim(),C=U===""||U==="0"||U==="1"?0:oe(U,0)-1,k=x&&typeof x=="function"?x(M.value):M.value;w.set(C,k)}return w},ga=u=>{if(!u)return null;let g=u.getAttribute(Ke);if(!g)return null;let x=g.split(";"),w=[];for(let M of x)M.trim()!==""&&w.push(M.trim());return w},Vr=[[sa,N,"sliderWidth",null],[In,X,"sliderHeight",null],[aa,ie,"sliderRadius",null],[la,we,"sliderBg",null],[ca,de,"sliderBgHover",null],[ua,re,"sliderBgFill",null],[fa,Ne,"pointer#Width",/^pointer([0-9]*)-width$/],[qr,et,"pointer#Height",/^pointer([0-9]*)-height$/],[Dn,I,"pointer#Radius",/^pointer([0-9]*)-radius$/],[Ji,E,"pointer#Bg",/^pointer([0-9]*)-bg$/],[Zi,_,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[vt,R,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[Jt,P,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[pa,q,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[Gr,G,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Xi,ye,"pointer#Border",/^pointer([0-9]*)-border$/],[ha,_e,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[da,Pe,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],mr=(u,g,x)=>{let w=null,M=[],H=new Map,U=(j,ne=g)=>{let F=[...ne.classList];for(let $e of F)$e.startsWith(j)&&g.classList.remove($e)},C=()=>{U("shape");let j=g.querySelectorAll(".pointer");for(let ne of j)U("shape",ne)},k=j=>{w=j,U("theme-"),typeof j=="string"&&g.classList.add(`theme-${j}`)},Q=()=>{if(C(),!(M.length<=0)){g.classList.add("shape",`shape-${M[0]}`);for(let j=1;j<M.length;j++){let ne=M[j];if(!ne)continue;let F=g.querySelector(`.pointer-${j}`);!F||F.classList.add("shape",`shape-${ne}`)}}},se=(j,ne)=>{M[j]=ne,Q()},B=()=>{C();let j=vr(u,/^pointer([0-9]*)-shape$/);if(!(j.size<=0)){for(let ne of j){let F=ne[0];M[F]=ne[1]}Q()}},ce=(j,ne)=>`${j}-${ne}`,rt=(j,ne,F)=>{let $e=x[F];if(!$e)return;let De=F===0?g:$e.$pointer;if(ne==null){H.has(ce(j,F))&&H.delete(ce(j,F)),De.style.removeProperty(j);return}H.set(ce(j,F),ne),De.style.setProperty(j,ne)},Fe=(j,ne)=>H.get(ce(j,ne));return(()=>{for(let j of Vr){let[ne,F,$e,De]=j;if(De){let Me=vr(u,De);for(let Ae of Me){let Je=Ae[0],ze=Ae[1];rt(ne,ze,Je)}}else{let Me=u.getAttribute(F);rt(ne,Me,0)}let ke=[];if($e.indexOf("#")===-1)ke.push([$e,0]);else{ke.push([$e.replace("#",""),0]),ke.push([$e.replace("#","0"),0]),ke.push([$e.replace("#","1"),0]);for(let Me=1;Me<x.length;Me++)ke.push([$e.replace("#",(Me+1).toString()),Me])}for(let Me of ke)try{let Ae=Me[0],Je=Me[1];Object.prototype.hasOwnProperty.call(u,Ae)||Object.defineProperty(u,Ae,{get(){return Fe(ne,Je)},set:ze=>{rt(ne,ze,Je)}})}catch(Ae){console.error(Ae)}}k(u.getAttribute(W)),B()})(),{setStyle:rt,getStyle:Fe,get theme(){return w},set theme(j){k(j)},get pointerShapes(){return M},setPointerShape:se}},Et="animate-on-click",Kr="range-dragging",Rn=(u,g,x,w)=>{let M=[],H=se=>{for(let B of M)B.update&&typeof B.update=="function"&&B.update(se)},U=()=>{for(let se of M)se.destroy&&typeof se.destroy=="function"&&se.destroy()},C=(se,B)=>{for(let ce of M)ce.onAttrChange&&typeof ce.onAttrChange=="function"&&ce.onAttrChange(se,B)},k=se=>{if(se.gettersAndSetters){for(let B of se.gettersAndSetters)if(!(!B.name||!B.attributes))try{Object.prototype.hasOwnProperty.call(u,B.name)||Object.defineProperty(u,B.name,B.attributes)}catch(ce){console.error("defineSettersGetters error:",ce)}}},Q=se=>{var B;if(!se.css)return;let ce=(B=u.shadowRoot)==null?void 0:B.querySelector("style");!ce||(ce.innerHTML+=se.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let se of window.tcRangeSliderPlugins){let B=se();M.push(B),B.init&&typeof B.init=="function"&&(B.init(u,g,x,w),k(B),Q(B))}},update:H,onAttrChange:C,destroy:U}},br=10,Qi=20,ya=(u,g)=>{let x=new Map,w=/^value([0-9]*)$/;for(let C of u.attributes){let k=C.nodeName.trim().toLowerCase();if(!w.test(k))continue;let Q=k.replace("value","").trim(),se=Q===""||Q==="0"||Q==="1"?0:oe(Q,0)-1,B=Te(C.value)?oe(C.value,0):C.value;x.set(se,B)}let M=Math.max(...Array.from(x.keys())),H=[];H.push([Tn(u,g,0),x.get(0)]);let U=g;for(let C=1;C<=M;C++){let k=g.cloneNode(!0);U.after(k),U=k,H.push([Tn(u,k,C),x.get(C)])}return H},eo=(u,g,x,w,M,H,U)=>{try{Object.defineProperty(u,w,{configurable:!0,get(){if(!g)return;let C=g.pointers[x];if(!C)return;let k=g.getTextValue(C.percent);return Te(k)?oe(k,k):k},set:C=>{g.pointers[x]?g==null||g.setValue(C,x):g==null||g.addPointer(C)}}),Object.defineProperty(u,M,{configurable:!0,get(){var C,k;return(k=(C=g==null?void 0:g.pointers[x])==null?void 0:C.getAttr("aria-label"))!=null?k:void 0},set:C=>{!g||g.setAriaLabel(x,C)}}),Object.defineProperty(u,H,{configurable:!0,get(){var C,k;return(k=(C=g==null?void 0:g.styles)==null?void 0:C.pointerShapes[x])!=null?k:null},set:C=>{!g||!g.styles||g.styles.setPointerShape(x,C)}}),Object.defineProperty(u,U,{configurable:!0,get(){var C;return(C=g==null?void 0:g.pointers[x].disabled)!=null?C:!1},set:C=>{if(!g)return;let k=g==null?void 0:g.pointers[x];!k||(k.disabled=C)}})}catch(C){console.error(C)}},va=(u,g)=>{let x=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<br;w++)x.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of x)eo(u,g,w[4],w[0],w[1],w[2],w[3])},to=(u,g,x)=>{var w;let M=(w=x.shadowRoot)==null?void 0:w.querySelector(".container");if(M)for(let H of u)g?M.prepend(H.$pointer):M.append(H.$pointer)},Yr=(u,g)=>{if(!(!g||u.length<=1)){for(let x of u)x.$pointer.style.zIndex=Qi.toString();g.$pointer.style.zIndex=(Qi*2).toString()}},wr=0,Zt=100,tt=2,ro="0.3s",ma=(u,g,x)=>{let w=x.map(d=>d[0]),M=null,H=null,U=null,C=null,k=wr,Q=Zt,se,B,ce=Ye,rt=tt,Fe=!1,j=!1,ne=!1,F=0,$e=1/0,De=!1,ke,Me,Ae=!1,Je=!1,ze=!1,Mt=ro,no=[],Bn=d=>{Ae||(d.preventDefault&&d.preventDefault(),Tt(d),window.addEventListener("mousemove",Tt),window.addEventListener("mouseup",Jr),Gi(u,d))},Jr=d=>{Ae||(ke=void 0,Me=void 0,window.removeEventListener("mousemove",Tt),window.removeEventListener("mouseup",Jr),Mt&&g.classList.add(Et),Vi(u,d))},$a=(d,$)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(d)&&Mt&&g.classList.remove(Et),w[0];let T=Sa(d);if(De){let fe=$,Xe=Sr(fe);Xe!==void 0&&(fe=Ie(fe,Xe)),T?(ke=fe,Me=0,Mt&&g.classList.remove(Et)):ke!==void 0&&(Me=fe-ke,ke=fe)}if(!xa(d)&&!T){for(let fe of w)if(!(!fe.isClicked(d)||fe.disabled))return Mt&&g.classList.remove(Et),fe;for(let fe of w)if(M===fe)return fe}let ee=1/0,me=null;for(let fe of w){if(fe.disabled)continue;let Xe=Math.abs($-fe.percent);Xe<ee&&(ee=Xe,me=fe)}return me},Zr=()=>w.findIndex(d=>M===d&&!d.disabled),Tt=d=>{let $;if(ce===Le){let{height:ee,top:me}=g.getBoundingClientRect(),fe=d.type.indexOf("mouse")!==-1?d.clientY:d.touches[0].clientY;$=Math.min(Math.max(0,fe-me),ee)*100/ee}else{let{width:ee,left:me}=g.getBoundingClientRect(),fe=d.type.indexOf("mouse")!==-1?d.clientX:d.touches[0].clientX;$=Math.min(Math.max(0,fe-me),ee)*100/ee}if((Fe||j)&&($=100-$),M=$a(d.target,$),M&&Yr(w,M),De&&w.length>1&&Me!==void 0){let ee=w[0],me=w[w.length-1],fe=ee.percent+Me<0,Xe=me.percent+Me>100;if(fe||Xe)return;for(let Bt=0;Bt<w.length;Bt++)He(Bt,w[Bt].percent+Me);return}let T=Zr();T!==-1&&(He(T,$),M==null||M.$pointer.focus())},Xr=d=>{if(Ae||document.activeElement!==u||M!=null&&M.disabled)return;d.stopPropagation(),d.preventDefault();let $=d.deltaY<0,T=Fe||j,ee=$?!T:T,me=Zr();me!==-1&&(ee?$r(me,w[me].percent):xr(me,w[me].percent))},io=d=>{Ae||Je||(ce===Le?j?He(d,100):He(d,0):Fe?xr(d,w[d].percent):$r(d,w[d].percent))},oo=d=>{Ae||Je||(ce===Le?j?He(d,0):He(d,100):Fe?$r(d,w[d].percent):xr(d,w[d].percent))},so=d=>{Ae||Je||(ce===Le?j?xr(d,w[d].percent):$r(d,w[d].percent):Fe?He(d,100):He(d,0))},ao=d=>{Ae||Je||(ce===Le?j?$r(d,w[d].percent):xr(d,w[d].percent):Fe?He(d,0):He(d,100))},xa=d=>d.classList.contains("panel"),Sa=d=>d.classList.contains("panel-fill"),$r=(d,$)=>{if($===void 0)return;let T=Sr($);T==null&&(T=1),$-=T,$<0&&($=0),He(d,$)},xr=(d,$)=>{if($===void 0)return;let T=Sr($);T==null&&(T=1),$+=T,$>100&&($=100),He(d,$)},It=()=>{!C||C.update({percents:co(),values:uo(),$pointers:Hn(),min:Ar(),max:fo(),data:Un(),step:Nn(),round:en(),type:Fn(),textMin:Qr(),textMax:Dt(),rightToLeft:mt(),bottomToTop:zn(),pointersOverlap:Er(),pointersMinDistance:tn(),pointersMaxDistance:Wn(),rangeDragging:lt(),disabled:qn(),keyboardDisabled:_r(),mousewheelDisabled:nn()})},lo=()=>{It()},Aa=d=>{if(!(ne||w.length<=1||Q===k))if(d===0){let $=$e*100/(Q-k);return Math.max(0,w[d+1].percent-$)}else{let $=F*100/(Q-k);return Math.min(w[d-1].percent+$,100)}},_a=d=>{if(!(ne||w.length<=1||Q===k))if(d===w.length-1){let $=$e*100/(Q-k);return Math.min(w[d-1].percent+$,100)}else{let $=F*100/(Q-k);return Math.max(0,w[d+1].percent-$)}},Sr=d=>{let $;if(typeof se=="function"){let T=le(0,100,k,Q,d);$=se(T,d)}else $=se;if(Te($)){let T=Q-k;return $=T===0?0:$*100/T,$}},Xt=d=>{if(d===void 0)return;let $=le(0,100,k,Q,d);return B!==void 0?B[Math.round($)]:_t($,rt)},Qr=()=>B!==void 0?B[k]:k,Dt=()=>B!==void 0?B[Q]:Q,Nn=()=>se,Qt=d=>{var $;return d<=0||ne?Qr():($=Xt(w[d-1].percent))!=null?$:""},Pt=d=>{var $;return w.length<=1||d>=w.length-1||ne?Dt():($=Xt(w[d+1].percent))!=null?$:""},co=()=>w.map(d=>d.percent),uo=()=>w.map(d=>Xt(d.percent)),Hn=()=>w.map(d=>d.$pointer),Ar=()=>k,fo=()=>Q,Un=()=>B,Fn=()=>ce,en=()=>rt,tn=()=>F,Wn=()=>$e,rn=d=>no[d],mt=()=>Fe,zn=()=>j,qn=()=>Ae,_r=()=>Je,nn=()=>ze,Er=()=>ne,lt=()=>De,He=(d,$)=>{if($===void 0)return;let T=Sr($);T!==void 0&&($=Ie($,T));let ee=w[d];if(!ee)return;let me=ee.updatePosition($,Aa(d),_a(d),ce,Fe,j);H==null||H.updatePosition(ce,w.map(fe=>fe.percent),Fe,j),It();for(let fe of w){let Xe=Xt(fe.percent);Xe!==void 0&&(fe.setAttr("aria-valuenow",Xe.toString()),fe.setAttr("aria-valuetext",Xe.toString()))}Gn(),me&&ra(u,w.map(fe=>Xt(fe.percent)))},ft=()=>{for(let d=0;d<w.length;d++)He(d,w[d].percent)},po=(d,$)=>{k=B!==void 0?0:oe(d,wr),Q=B!==void 0?B.length-1:oe($,Zt),Rt(k),jt(Q)},Gn=()=>{var d,$;for(let T=0;T<w.length;T++){let ee=w[T];ee.setAttr("aria-valuemin",((d=Qt(T))!=null?d:"").toString()),ee.setAttr("aria-valuemax",(($=Pt(T))!=null?$:"").toString())}},Rt=d=>{k=oe(d,wr),k>Q&&(Q=k+Zt),ft()},jt=d=>{Q=oe(d,Zt),Q<k&&(Q=k+Zt),ft()},on=d=>{ne=!0;for(let $=0;$<d.length;$++)sn(d[$],$);ne=!1;for(let $=0;$<d.length;$++)sn(d[$],$)},sn=(d,$)=>{let T;B!==void 0?(T=d==null?0:ia(d,B),T===-1&&(T=0)):(T=oe(d,k),T<k&&(T=k),T>Q&&(T=Q));let ee=le(k,Q,0,100,T);He($,ee)},an=d=>{if(d==null){se=void 0;return}if(typeof d=="function"){se=d,ft();return}if(Te(d)){se=oe(d,1);let $=Math.abs(Q-k);se>$&&(se=void 0),ft();return}se=void 0},Vn=d=>{ne=d,ft()},Kn=d=>{(!Te(d)||d<0)&&(d=0),F=d},er=d=>{(!Te(d)||d<0)&&(d=1/0),$e=d},Yn=d=>{Ae=d,g.classList.toggle("disabled",Ae),Ae?g.setAttribute("aria-disabled","true"):g.hasAttribute("aria-disabled")&&g.removeAttribute("aria-disabled")},ho=d=>{Je=d},a=d=>{ze=d,ze?document.removeEventListener("wheel",Xr):document.addEventListener("wheel",Xr,{passive:!1})},p=d=>{if(d==null){B=void 0;return}if(B=na(d),B===void 0||B.length<=0){B=void 0;return}Rt(0),jt(B.length-1),se===void 0&&an(1)},v=d=>{var $;typeof d=="string"?ce=d.trim().toLowerCase()===Le?Le:Ye:ce=Ye;let T=($=u.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!T)return;T.className=`range-slider-box type-${ce}`,ft();let ee=ce===Le?"vertical":"horizontal";for(let me of w)me.setAttr("aria-orientation",ee)},S=d=>{Fe=d,w.length>1&&to(w,Fe,u),ft(),It()},D=d=>{j=d,w.length>1&&to(w,j,u),ft(),It()},O=d=>{rt=oe(d,tt),rt<0&&(rt=tt),It()},Y=d=>{d==null||d.toString().trim().toLowerCase()==="false"?(Mt=void 0,g.style.removeProperty(Yi),g.classList.remove(Et)):(Mt=d.toString(),g.style.setProperty(Yi,Mt),g.classList.add(Et))},ue=(d,$)=>{let T=w[d];!T||(T.setAttr("aria-label",$),no[d]=$)},xe=d=>{if(ke=void 0,w.length<=1){De=!1,g.classList.remove(Kr);return}De=d,g.classList.toggle(Kr,De)},Re=()=>{Yn(Ee(u.getAttribute(Z))),Je=Ee(u.getAttribute(pe)),ze=Ee(u.getAttribute(te));let d=vr(u,/^pointer([0-9]*)-disabled$/,$=>Ee($));for(let $ of d){let T=$[0];!w[T]||(w[T].disabled=$[1])}},qe=()=>{let d=vr(u,/^aria-label([0-9]*)$/);for(let $ of d){let T=$[0];ue(T,$[1])}},Ze=d=>{let $=w.length,T=w[$-1].$pointer,ee=T.cloneNode(!0);T.after(ee);let me=Tn(u,ee,$);return me.setCallbacks(io,oo,so,ao),w.push(me),sn(d,$),ft(),It(),$},je=()=>{let d=w.length,$=w[d-1];return $?($.destroy(),w.pop(),w.length<=1&&xe(!1),ft(),It(),d-1):-1};return(()=>{var d,$;for(let ee of w)ee.setCallbacks(io,oo,so,ao);let T=(d=u.shadowRoot)==null?void 0:d.querySelector(".panel-fill");T&&(H=oa(T)),v(u.getAttribute(L)),S(Ee(u.getAttribute(V))),D(Ee(u.getAttribute(J))),po(u.getAttribute(y),u.getAttribute(m)),an(u.getAttribute(b)),p(u.getAttribute(h)),on(x.map(ee=>ee[1])),Vn(Ee(u.getAttribute(s))),Kn(oe(u.getAttribute(c),0)),er(oe(u.getAttribute(l),1/0)),xe(Ee(u.getAttribute(f))),O(oe(u.getAttribute(A),tt)),Re(),qe(),U=mr(u,g,w),Y(($=u.getAttribute(Ce))!=null?$:ro),g.addEventListener("mousedown",Bn),g.addEventListener("mouseup",Jr),g.addEventListener("touchmove",Tt),g.addEventListener("touchstart",Tt),ze||document.addEventListener("wheel",Xr,{passive:!1}),C=Rn(u,lo,{setValues:on,setMin:Rt,setMax:jt,setStep:an,setPointersOverlap:Vn,setPointersMinDistance:Kn,setPointersMaxDistance:er,setDisabled:Yn,setType:v,setRightToLeft:S,setBottomToTop:D,setRound:O,setKeyboardDisabled:ho,setMousewheelDisabled:a,setRangeDragging:xe,setData:p},{getPercents:co,getValues:uo,getPointerElements:Hn,getMin:Ar,getMax:fo,getStep:Nn,getData:Un,getType:Fn,getRound:en,getTextMin:Qr,getTextMax:Dt,isRightToLeft:mt,isBottomToTop:zn,isDisabled:qn,isKeyboardDisabled:_r,isMousewheelDisabled:nn,isPointersOverlap:Er,isRangeDraggingEnabled:lt,getPointersMinDistance:tn,getPointersMaxDistance:Wn}),C.init()})(),{get pointers(){return w},get styles(){return U},get pluginsManager(){return C},get min(){return Qr()},get max(){return Dt()},get step(){return Nn()},get pointersOverlap(){return Er()},set pointersOverlap(d){Vn(d)},get pointersMinDistance(){return tn()},set pointersMinDistance(d){Kn(d)},get pointersMaxDistance(){return Wn()},set pointersMaxDistance(d){er(d)},get disabled(){return qn()},set disabled(d){Yn(d)},get data(){return Un()},get type(){return Fn()},set type(d){v(d)},get rightToLeft(){return mt()},set rightToLeft(d){S(d)},get bottomToTop(){return zn()},set bottomToTop(d){D(d)},get round(){return en()},set round(d){O(d)},get animateOnClick(){return Mt},set animateOnClick(d){Y(d)},get keyboardDisabled(){return _r()},set keyboardDisabled(d){ho(d)},get mousewheelDisabled(){return nn()},set mousewheelDisabled(d){a(d)},get rangeDragging(){return lt()},set rangeDragging(d){xe(d)},setMin:Rt,setMax:jt,setValue:sn,setStep:an,setData:p,getTextValue:Xt,setAriaLabel:ue,getAriaLabel:rn,addPointer:Ze,removePointer:je,destroy:()=>{g.removeEventListener("mousedown",Bn),g.removeEventListener("mouseup",Jr),g.removeEventListener("touchmove",Tt),g.removeEventListener("touchstart",Tt),document.removeEventListener("wheel",Xr);for(let d of w)d.destroy();C==null||C.destroy()}}},ba=(u,g,x)=>{let w=Vr.find(([C,k,Q,se])=>k.replace("#","")===g.replace(/\d+/g,""));if(w&&u.styles){let[C,k,Q,se]=w,B=g.replace(/\D/g,"").trim(),ce=B===""||B==="0"||B==="1"?0:oe(B,0)-1;u.styles.setStyle(C,x,ce);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(g,x),g){case y:{u.setMin(x);break}case m:{u.setMax(x);break}case b:{u.setStep(x);break}case s:{u.pointersOverlap=Ee(x);break}case c:{u.pointersMinDistance=oe(x,0);break}case f:{u.rangeDragging=Ee(x);break}case l:{u.pointersMaxDistance=oe(x,1/0);break}case Z:{u.disabled=Ee(x);break}case pe:{u.keyboardDisabled=Ee(x);break}case te:{u.mousewheelDisabled=Ee(x);break}case h:{u.setData(x);break}case L:{u.type=x;break}case V:{u.rightToLeft=Ee(x);break}case J:{u.bottomToTop=Ee(x);break}case A:{u.round=oe(x,tt);break}case W:{u.styles&&(u.styles.theme=x);break}case Ce:{u.animateOnClick=x;break}}let M=null;if(/^value([0-9]*)$/.test(g)&&(M="value"),/^pointer([0-9]*)-disabled$/.test(g)&&(M="pointer-disabled"),/^aria-label([0-9]*)$/.test(g)&&(M="aria-label"),/^pointer([0-9]*)-shape$/.test(g)&&(M="pointer-shape"),!M)return;let H=g.replace(/\D/g,"").trim(),U=H===""||H==="0"||H==="1"?0:oe(H,0)-1;switch(M){case"value":{u.setValue(x,U);break}case"pointer-disabled":{let C=u==null?void 0:u.pointers[U];if(!C)return;C.disabled=Ee(x);break}case"aria-label":{u.setAriaLabel(U,x);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(U,x);break}}},wa=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(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:tt}set type(u){!this.slider||(this.slider.type=u??Ye)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||Ye}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,x;return(x=(g=(u=this.slider)==null?void 0:u.styles)==null?void 0:g.theme)!=null?x: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=Ee(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var g,x;if(!this.slider)return;let w=(x=(g=this.slider)==null?void 0:g.addPointer(u))!=null?x:0;eo(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let g=document.createElement("style");g.textContent=u,this.shadowRoot.appendChild(g)}connectedCallback(){var u,g;if(!this.shadowRoot)return;this._externalCSSList=ga(this),this.shadowRoot.innerHTML=i(o,this._externalCSSList);let x=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!x)return;let w=(g=this.shadowRoot)==null?void 0:g.getElementById("range-slider");if(!w)return;let M=ya(this,x);this.slider=ma(this,w,M),va(this,this.slider),this._observer=new MutationObserver(H=>{H.forEach(U=>{var C;if(!this.slider||U.type!=="attributes")return;let k=U.attributeName;!k||ba(this.slider,k,(C=this.getAttribute(k))!=null?C:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},jn=wa;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 jf extends it{constructor(){super();nt(this,gr);this.filterObject={},this.tabIndex=0,this.inputHandler=Se(this,gr,rp).bind(this),this.debouncedInputHandler=Ri(this.inputHandler,0,{leading:!0})}reset(){L0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>K`
678
+ `}}Yt=new WeakSet,tp=function(r){N0(r,this)},rp=function(r){H0(r,this)},np=function(r){Ef(r,this)},Jn(Rf,"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",Rf),(()=>{var t=Object.defineProperty,e=Math.pow,r=(u,y,x)=>y in u?t(u,y,{enumerable:!0,configurable:!0,writable:!0,value:x}):u[y]=x,n=(u,y,x)=>(r(u,typeof y!="symbol"?y+"":y,x),x),i=(u,y)=>` ${y&&y.length>0?y.map(x=>`<link rel="stylesheet" href="${x}" />`).join(""):""} <style> ${u} </style> <div class="range-slider-box"> <div class="row"> <div id="range-slider" class="range-slider"> <div class="container"> <div class="panel"></div> <div class="panel-fill"></div> <div class="container"> <div class="pointer" tabindex="0" role="slider"> <div class="pointer-shape"></div> </div> </div> </div> </div> </div> </div>`,o=":host{--width:300px;--height:.25rem;--opacity:.4;--panel-bg:#cbd5e1;--panel-bg-hover:#94a3b8;--panel-bg-fill:#475569;--panel-bg-border-radius:1rem;--pointer-width:1rem;--pointer-height:1rem;--pointer-bg:#fff;--pointer-bg-hover:#dcdcdc;--pointer-bg-focus:#dcdcdc;--pointer-shadow:0 0 2px rgba(0,0,0,0.8);--pointer-shadow-hover:0 0 2px #000;--pointer-shadow-focus:var(--pointer-shadow-hover);--pointer-border:1px solid hsla(0,0%,88%,0.5);--pointer-border-hover:1px solid #94a3b8;--pointer-border-focus:var(--pointer-border-hover);--pointer-border-radius:100%;--animate-onclick:.3s}:host{max-width:100%}.range-slider-box{display:flex;position:relative;flex-direction:column}.range-slider{position:relative;width:var(--width,100%);height:var(--height,0.25rem);touch-action:none;max-width:100%;box-sizing:border-box;cursor:pointer}.row{width:100%;display:flex;align-items:center}.range-slider.disabled{opacity:var(--opacity,0.4);cursor:default}.pointer.disabled{-webkit-filter:brightness(0.8);filter:brightness(0.8);cursor:default}.range-slider *{box-sizing:border-box}.container{position:absolute;width:100%;height:100%}.panel{position:absolute;z-index:10;width:100%;height:100%;background:var(--panel-bg,#2d4373);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;transition:.3s all ease}.panel-fill{background:var(--panel-bg-fill,#000);border-radius:var(--panel-bg-border-radius,1rem);overflow:hidden;height:100%;position:absolute;z-index:10}.panel:hover{background:var(--panel-bg-hover,#5f79b7)}.disabled .panel:hover{background:var(--panel-bg,#5f79b7)}.pointer{position:absolute;z-index:20;outline:0;top:50%;-webkit-transform:translateY(-50%);transform:translateY(-50%)}.pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;box-shadow:var(--pointer-shadow);border:var(--pointer-border);border-radius:var(--pointer-border-radius,100%);-webkit-transform:translateX(-50%);transform:translateX(-50%);width:var(--pointer-width,15px);height:var(--pointer-height,15px);transition:.3s all ease}.pointer-shape:hover{background:var(--pointer-bg-hover,#fff);background-size:contain;border:var(--pointer-border-hover);box-shadow:var(--pointer-shadow-hover)}.disabled .pointer-shape:hover{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.pointer:focus .pointer-shape{background:var(--pointer-bg-focus,#fff);background-size:contain;border:var(--pointer-border-focus);box-shadow:var(--pointer-shadow-focus)}.disabled .pointer:focus .pointer-shape{background:var(--pointer-bg,#fff);background-size:contain;border:var(--pointer-border);box-shadow:var(--pointer-shadow)}.type-vertical .range-slider{--width:.25rem;--height:300px;max-height:100%}.type-vertical .range-slider .pointer{left:50%}.type-vertical .range-slider .panel-fill{width:100%}.type-vertical.range-slider-box{flex-direction:row}.type-vertical .row{flex-direction:column}.animate-on-click .pointer,.animate-on-click .panel-fill{transition:all var(--animate-onclick)}.range-dragging .panel-fill{cursor:move}",s="pointers-overlap",c="pointers-min-distance",l="pointers-max-distance",f="range-dragging",d="data",g="min",m="max",b="step",A="round",L="type",W="theme",V="rtl",J="btt",Z="disabled",pe="keyboard-disabled",te="mousewheel-disabled",N="slider-width",X="slider-height",ie="slider-radius",we="slider-bg",de="slider-bg-hover",re="slider-bg-fill",Ne="pointer-width",et="pointer-height",I="pointer-radius",E="pointer-bg",_="pointer-bg-hover",R="pointer-bg-focus",P="pointer-shadow",q="pointer-shadow-hover",G="pointer-shadow-focus",ye="pointer-border",_e="pointer-border-hover",Pe="pointer-border-focus",Ce="animate-onclick",Ke="css-links",Le="vertical",Ye="horizontal",le=(u,y,x,w,M)=>{let H=y-u;return H===0?x:(w-x)*(M-u)/H+x},Te=u=>!isNaN(parseFloat(u))&&isFinite(u),oe=(u,y)=>Te(u)?Number(u):y,Ie=(u,y)=>y===0?0:Math.round(u/y)*y,_t=(u,y=1/0)=>{if(y===1/0)return u;let x=e(10,y);return Math.round(u*x)/x},Ee=u=>u==null?!1:typeof u=="boolean"?u:u.trim().toLowerCase()==="true",ta=(u,y)=>{u.dispatchEvent(new CustomEvent("onPointerClicked",{detail:{$pointer:y}}))},qi=(u,y)=>{u.dispatchEvent(new CustomEvent("onMouseDown",{detail:{nativeEvent:y}}))},Gi=(u,y)=>{u.dispatchEvent(new CustomEvent("onMouseUp",{detail:{nativeEvent:y}}))},Vi=(u,y)=>{u.dispatchEvent(new CustomEvent("onKeyDown",{detail:{nativeEvent:y}}))},ra=(u,y)=>{if(!y||y.length<=0)return;let x=y.map(M=>Te(M)?oe(M,M):M),w={values:x||[]};w.value=x[0],w.value0=x[0],w.value1=x[0];for(let M=1;M<x.length;M++)w[`value${M+1}`]=x[M];u.dispatchEvent(new CustomEvent("change",{detail:w}))},Tn=(u,y,x)=>{let w=0,M,H,U,C,k=!1,Q=(F,$e,De,ke,Me,Ae)=>{let Je=w;De!==void 0&&F>De&&(F=De),$e!==void 0&&F<$e&&(F=$e),w=F;let ze=w;return(ke===Le&&Ae||ke===Ye&&Me)&&(ze=100-ze),ke===Le?y.style.top=`${ze}%`:y.style.left=`${ze}%`,Je!==w},se=F=>F===y||y.contains(F),B=(F,$e,De,ke)=>{M=F,H=$e,U=De,C=ke},ce=F=>{k=F,y.classList.toggle("disabled",k),k?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},rt=(F,$e)=>{$e==null?y.removeAttribute(F):y.setAttribute(F,$e)},Fe=F=>y.getAttribute(F),j=F=>{if(!k){switch(F.key){case"ArrowLeft":{F.preventDefault(),typeof M=="function"&&M(x);break}case"ArrowRight":{F.preventDefault(),typeof H=="function"&&H(x);break}case"ArrowUp":{F.preventDefault(),typeof U=="function"&&U(x);break}case"ArrowDown":{F.preventDefault(),typeof C=="function"&&C(x);break}}Vi(u,F)}},ne=()=>{k||ta(u,y)};return y.className=`pointer pointer-${x}`,y.addEventListener("keydown",j),y.addEventListener("click",ne),{$pointer:y,get percent(){return w},get disabled(){return k},set disabled(F){ce(F)},updatePosition:Q,isClicked:se,setCallbacks:B,setAttr:rt,getAttr:Fe,destroy:()=>{y.removeEventListener("keydown",j),y.removeEventListener("click",ne),y.remove()}}},na=u=>{if(u==null)return;if(Array.isArray(u))return u;if(u.trim()==="")return;let y=u.split(","),x=[],w=!0;for(let M=0;M<y.length;M++){let H=y[M].trim();H!==""&&(x.push(H),Te(H)||(w=!1))}return w?x.map(M=>Number(M)):x},ia=(u,y)=>y?y.findIndex(x=>x===u||x.toString().trim()===u.toString().trim()):-1,oa=u=>({updatePosition:(y,x,w,M)=>{if(x.length<=0)return;let H=x.length===1,U=x[0],C=x[x.length-1];y===Le?(u.style.removeProperty("width"),u.style.removeProperty("right"),u.style.removeProperty("left"),H?u.style.height=`${U}%`:u.style.height=`${Math.abs(U-C)}%`,M?(u.style.bottom="0%",H?u.style.top="auto":u.style.top=`${Math.min(100-C,100-U)}%`):(u.style.bottom="auto",H?u.style.top="0%":u.style.top=`${Math.min(U,C)}%`)):(u.style.removeProperty("height"),u.style.removeProperty("top"),u.style.removeProperty("bottom"),H?u.style.width=`${U}%`:u.style.width=`${Math.abs(U-C)}%`,w?(u.style.right="0%",H?u.style.left="auto":u.style.left=`${Math.min(100-C,100-U)}%`):(u.style.right="auto",H?u.style.left="0%":u.style.left=`${Math.min(U,C)}%`))}}),Ki="--animate-onclick",sa="--width",In="--height",aa="--panel-bg-border-radius",la="--panel-bg",ca="--panel-bg-hover",ua="--panel-bg-fill",fa="--pointer-width",qr="--pointer-height",Dn="--pointer-border-radius",Yi="--pointer-bg",Ji="--pointer-bg-hover",vt="--pointer-bg-focus",Jt="--pointer-shadow",pa="--pointer-shadow-hover",Gr="--pointer-shadow-focus",Zi="--pointer-border",ha="--pointer-border-hover",da="--pointer-border-focus",vr=(u,y,x)=>{let w=new Map;for(let M of u.attributes){let H=M.nodeName.trim().toLowerCase();if(!y.test(H))continue;let U=H.replace(/\D/g,"").trim(),C=U===""||U==="0"||U==="1"?0:oe(U,0)-1,k=x&&typeof x=="function"?x(M.value):M.value;w.set(C,k)}return w},ga=u=>{if(!u)return null;let y=u.getAttribute(Ke);if(!y)return null;let x=y.split(";"),w=[];for(let M of x)M.trim()!==""&&w.push(M.trim());return w},Vr=[[sa,N,"sliderWidth",null],[In,X,"sliderHeight",null],[aa,ie,"sliderRadius",null],[la,we,"sliderBg",null],[ca,de,"sliderBgHover",null],[ua,re,"sliderBgFill",null],[fa,Ne,"pointer#Width",/^pointer([0-9]*)-width$/],[qr,et,"pointer#Height",/^pointer([0-9]*)-height$/],[Dn,I,"pointer#Radius",/^pointer([0-9]*)-radius$/],[Yi,E,"pointer#Bg",/^pointer([0-9]*)-bg$/],[Ji,_,"pointer#BgHover",/^pointer([0-9]*)-bg-hover$/],[vt,R,"pointer#BgFocus",/^pointer([0-9]*)-bg-focus$/],[Jt,P,"pointer#Shadow",/^pointer([0-9]*)-shadow$/],[pa,q,"pointer#ShadowHover",/^pointer([0-9]*)-shadow-hover$/],[Gr,G,"pointer#ShadowFocus",/^pointer([0-9]*)-shadow-focus$/],[Zi,ye,"pointer#Border",/^pointer([0-9]*)-border$/],[ha,_e,"pointer#BorderHover",/^pointer([0-9]*)-border-hover$/],[da,Pe,"pointer#BorderFocus",/^pointer([0-9]*)-border-focus$/]],mr=(u,y,x)=>{let w=null,M=[],H=new Map,U=(j,ne=y)=>{let F=[...ne.classList];for(let $e of F)$e.startsWith(j)&&y.classList.remove($e)},C=()=>{U("shape");let j=y.querySelectorAll(".pointer");for(let ne of j)U("shape",ne)},k=j=>{w=j,U("theme-"),typeof j=="string"&&y.classList.add(`theme-${j}`)},Q=()=>{if(C(),!(M.length<=0)){y.classList.add("shape",`shape-${M[0]}`);for(let j=1;j<M.length;j++){let ne=M[j];if(!ne)continue;let F=y.querySelector(`.pointer-${j}`);!F||F.classList.add("shape",`shape-${ne}`)}}},se=(j,ne)=>{M[j]=ne,Q()},B=()=>{C();let j=vr(u,/^pointer([0-9]*)-shape$/);if(!(j.size<=0)){for(let ne of j){let F=ne[0];M[F]=ne[1]}Q()}},ce=(j,ne)=>`${j}-${ne}`,rt=(j,ne,F)=>{let $e=x[F];if(!$e)return;let De=F===0?y:$e.$pointer;if(ne==null){H.has(ce(j,F))&&H.delete(ce(j,F)),De.style.removeProperty(j);return}H.set(ce(j,F),ne),De.style.setProperty(j,ne)},Fe=(j,ne)=>H.get(ce(j,ne));return(()=>{for(let j of Vr){let[ne,F,$e,De]=j;if(De){let Me=vr(u,De);for(let Ae of Me){let Je=Ae[0],ze=Ae[1];rt(ne,ze,Je)}}else{let Me=u.getAttribute(F);rt(ne,Me,0)}let ke=[];if($e.indexOf("#")===-1)ke.push([$e,0]);else{ke.push([$e.replace("#",""),0]),ke.push([$e.replace("#","0"),0]),ke.push([$e.replace("#","1"),0]);for(let Me=1;Me<x.length;Me++)ke.push([$e.replace("#",(Me+1).toString()),Me])}for(let Me of ke)try{let Ae=Me[0],Je=Me[1];Object.prototype.hasOwnProperty.call(u,Ae)||Object.defineProperty(u,Ae,{get(){return Fe(ne,Je)},set:ze=>{rt(ne,ze,Je)}})}catch(Ae){console.error(Ae)}}k(u.getAttribute(W)),B()})(),{setStyle:rt,getStyle:Fe,get theme(){return w},set theme(j){k(j)},get pointerShapes(){return M},setPointerShape:se}},Et="animate-on-click",Kr="range-dragging",Rn=(u,y,x,w)=>{let M=[],H=se=>{for(let B of M)B.update&&typeof B.update=="function"&&B.update(se)},U=()=>{for(let se of M)se.destroy&&typeof se.destroy=="function"&&se.destroy()},C=(se,B)=>{for(let ce of M)ce.onAttrChange&&typeof ce.onAttrChange=="function"&&ce.onAttrChange(se,B)},k=se=>{if(se.gettersAndSetters){for(let B of se.gettersAndSetters)if(!(!B.name||!B.attributes))try{Object.prototype.hasOwnProperty.call(u,B.name)||Object.defineProperty(u,B.name,B.attributes)}catch(ce){console.error("defineSettersGetters error:",ce)}}},Q=se=>{var B;if(!se.css)return;let ce=(B=u.shadowRoot)==null?void 0:B.querySelector("style");!ce||(ce.innerHTML+=se.css)};return{init:()=>{if(window.tcRangeSliderPlugins)for(let se of window.tcRangeSliderPlugins){let B=se();M.push(B),B.init&&typeof B.init=="function"&&(B.init(u,y,x,w),k(B),Q(B))}},update:H,onAttrChange:C,destroy:U}},br=10,Xi=20,ya=(u,y)=>{let x=new Map,w=/^value([0-9]*)$/;for(let C of u.attributes){let k=C.nodeName.trim().toLowerCase();if(!w.test(k))continue;let Q=k.replace("value","").trim(),se=Q===""||Q==="0"||Q==="1"?0:oe(Q,0)-1,B=Te(C.value)?oe(C.value,0):C.value;x.set(se,B)}let M=Math.max(...Array.from(x.keys())),H=[];H.push([Tn(u,y,0),x.get(0)]);let U=y;for(let C=1;C<=M;C++){let k=y.cloneNode(!0);U.after(k),U=k,H.push([Tn(u,k,C),x.get(C)])}return H},Qi=(u,y,x,w,M,H,U)=>{try{Object.defineProperty(u,w,{configurable:!0,get(){if(!y)return;let C=y.pointers[x];if(!C)return;let k=y.getTextValue(C.percent);return Te(k)?oe(k,k):k},set:C=>{y.pointers[x]?y==null||y.setValue(C,x):y==null||y.addPointer(C)}}),Object.defineProperty(u,M,{configurable:!0,get(){var C,k;return(k=(C=y==null?void 0:y.pointers[x])==null?void 0:C.getAttr("aria-label"))!=null?k:void 0},set:C=>{!y||y.setAriaLabel(x,C)}}),Object.defineProperty(u,H,{configurable:!0,get(){var C,k;return(k=(C=y==null?void 0:y.styles)==null?void 0:C.pointerShapes[x])!=null?k:null},set:C=>{!y||!y.styles||y.styles.setPointerShape(x,C)}}),Object.defineProperty(u,U,{configurable:!0,get(){var C;return(C=y==null?void 0:y.pointers[x].disabled)!=null?C:!1},set:C=>{if(!y)return;let k=y==null?void 0:y.pointers[x];!k||(k.disabled=C)}})}catch(C){console.error(C)}},va=(u,y)=>{let x=[["value","ariaLabel","pointerShape","pointerDisabled",0],["value0","ariaLabel0","pointerShape0","pointer0Disabled",0],["value1","ariaLabel1","pointerShape1","pointer1Disabled",0]];for(let w=2;w<br;w++)x.push([`value${w}`,`ariaLabel${w}`,`pointer${w}Shape`,`pointer${w}Disabled`,w-1]);for(let w of x)Qi(u,y,w[4],w[0],w[1],w[2],w[3])},eo=(u,y,x)=>{var w;let M=(w=x.shadowRoot)==null?void 0:w.querySelector(".container");if(M)for(let H of u)y?M.prepend(H.$pointer):M.append(H.$pointer)},Yr=(u,y)=>{if(!(!y||u.length<=1)){for(let x of u)x.$pointer.style.zIndex=Xi.toString();y.$pointer.style.zIndex=(Xi*2).toString()}},wr=0,Zt=100,tt=2,to="0.3s",ma=(u,y,x)=>{let w=x.map(h=>h[0]),M=null,H=null,U=null,C=null,k=wr,Q=Zt,se,B,ce=Ye,rt=tt,Fe=!1,j=!1,ne=!1,F=0,$e=1/0,De=!1,ke,Me,Ae=!1,Je=!1,ze=!1,Mt=to,ro=[],Bn=h=>{Ae||(h.preventDefault&&h.preventDefault(),Lt(h),window.addEventListener("mousemove",Lt),window.addEventListener("mouseup",Jr),qi(u,h))},Jr=h=>{Ae||(ke=void 0,Me=void 0,window.removeEventListener("mousemove",Lt),window.removeEventListener("mouseup",Jr),Mt&&y.classList.add(Et),Gi(u,h))},$a=(h,$)=>{if(w.length<=0)return;if(w.length===1)return w[0].isClicked(h)&&Mt&&y.classList.remove(Et),w[0];let T=Sa(h);if(De){let fe=$,Xe=Sr(fe);Xe!==void 0&&(fe=Ie(fe,Xe)),T?(ke=fe,Me=0,Mt&&y.classList.remove(Et)):ke!==void 0&&(Me=fe-ke,ke=fe)}if(!xa(h)&&!T){for(let fe of w)if(!(!fe.isClicked(h)||fe.disabled))return Mt&&y.classList.remove(Et),fe;for(let fe of w)if(M===fe)return fe}let ee=1/0,me=null;for(let fe of w){if(fe.disabled)continue;let Xe=Math.abs($-fe.percent);Xe<ee&&(ee=Xe,me=fe)}return me},Zr=()=>w.findIndex(h=>M===h&&!h.disabled),Lt=h=>{let $;if(ce===Le){let{height:ee,top:me}=y.getBoundingClientRect(),fe=h.type.indexOf("mouse")!==-1?h.clientY:h.touches[0].clientY;$=Math.min(Math.max(0,fe-me),ee)*100/ee}else{let{width:ee,left:me}=y.getBoundingClientRect(),fe=h.type.indexOf("mouse")!==-1?h.clientX:h.touches[0].clientX;$=Math.min(Math.max(0,fe-me),ee)*100/ee}if((Fe||j)&&($=100-$),M=$a(h.target,$),M&&Yr(w,M),De&&w.length>1&&Me!==void 0){let ee=w[0],me=w[w.length-1],fe=ee.percent+Me<0,Xe=me.percent+Me>100;if(fe||Xe)return;for(let jt=0;jt<w.length;jt++)He(jt,w[jt].percent+Me);return}let T=Zr();T!==-1&&(He(T,$),M==null||M.$pointer.focus())},Xr=h=>{if(Ae||document.activeElement!==u||M!=null&&M.disabled)return;h.stopPropagation(),h.preventDefault();let $=h.deltaY<0,T=Fe||j,ee=$?!T:T,me=Zr();me!==-1&&(ee?$r(me,w[me].percent):xr(me,w[me].percent))},no=h=>{Ae||Je||(ce===Le?j?He(h,100):He(h,0):Fe?xr(h,w[h].percent):$r(h,w[h].percent))},io=h=>{Ae||Je||(ce===Le?j?He(h,0):He(h,100):Fe?$r(h,w[h].percent):xr(h,w[h].percent))},oo=h=>{Ae||Je||(ce===Le?j?xr(h,w[h].percent):$r(h,w[h].percent):Fe?He(h,100):He(h,0))},so=h=>{Ae||Je||(ce===Le?j?$r(h,w[h].percent):xr(h,w[h].percent):Fe?He(h,0):He(h,100))},xa=h=>h.classList.contains("panel"),Sa=h=>h.classList.contains("panel-fill"),$r=(h,$)=>{if($===void 0)return;let T=Sr($);T==null&&(T=1),$-=T,$<0&&($=0),He(h,$)},xr=(h,$)=>{if($===void 0)return;let T=Sr($);T==null&&(T=1),$+=T,$>100&&($=100),He(h,$)},Tt=()=>{!C||C.update({percents:lo(),values:co(),$pointers:Hn(),min:Ar(),max:uo(),data:Un(),step:Nn(),round:en(),type:Fn(),textMin:Qr(),textMax:It(),rightToLeft:mt(),bottomToTop:zn(),pointersOverlap:Er(),pointersMinDistance:tn(),pointersMaxDistance:Wn(),rangeDragging:lt(),disabled:qn(),keyboardDisabled:_r(),mousewheelDisabled:nn()})},ao=()=>{Tt()},Aa=h=>{if(!(ne||w.length<=1||Q===k))if(h===0){let $=$e*100/(Q-k);return Math.max(0,w[h+1].percent-$)}else{let $=F*100/(Q-k);return Math.min(w[h-1].percent+$,100)}},_a=h=>{if(!(ne||w.length<=1||Q===k))if(h===w.length-1){let $=$e*100/(Q-k);return Math.min(w[h-1].percent+$,100)}else{let $=F*100/(Q-k);return Math.max(0,w[h+1].percent-$)}},Sr=h=>{let $;if(typeof se=="function"){let T=le(0,100,k,Q,h);$=se(T,h)}else $=se;if(Te($)){let T=Q-k;return $=T===0?0:$*100/T,$}},Xt=h=>{if(h===void 0)return;let $=le(0,100,k,Q,h);return B!==void 0?B[Math.round($)]:_t($,rt)},Qr=()=>B!==void 0?B[k]:k,It=()=>B!==void 0?B[Q]:Q,Nn=()=>se,Qt=h=>{var $;return h<=0||ne?Qr():($=Xt(w[h-1].percent))!=null?$:""},Pt=h=>{var $;return w.length<=1||h>=w.length-1||ne?It():($=Xt(w[h+1].percent))!=null?$:""},lo=()=>w.map(h=>h.percent),co=()=>w.map(h=>Xt(h.percent)),Hn=()=>w.map(h=>h.$pointer),Ar=()=>k,uo=()=>Q,Un=()=>B,Fn=()=>ce,en=()=>rt,tn=()=>F,Wn=()=>$e,rn=h=>ro[h],mt=()=>Fe,zn=()=>j,qn=()=>Ae,_r=()=>Je,nn=()=>ze,Er=()=>ne,lt=()=>De,He=(h,$)=>{if($===void 0)return;let T=Sr($);T!==void 0&&($=Ie($,T));let ee=w[h];if(!ee)return;let me=ee.updatePosition($,Aa(h),_a(h),ce,Fe,j);H==null||H.updatePosition(ce,w.map(fe=>fe.percent),Fe,j),Tt();for(let fe of w){let Xe=Xt(fe.percent);Xe!==void 0&&(fe.setAttr("aria-valuenow",Xe.toString()),fe.setAttr("aria-valuetext",Xe.toString()))}Gn(),me&&ra(u,w.map(fe=>Xt(fe.percent)))},ft=()=>{for(let h=0;h<w.length;h++)He(h,w[h].percent)},fo=(h,$)=>{k=B!==void 0?0:oe(h,wr),Q=B!==void 0?B.length-1:oe($,Zt),Dt(k),Rt(Q)},Gn=()=>{var h,$;for(let T=0;T<w.length;T++){let ee=w[T];ee.setAttr("aria-valuemin",((h=Qt(T))!=null?h:"").toString()),ee.setAttr("aria-valuemax",(($=Pt(T))!=null?$:"").toString())}},Dt=h=>{k=oe(h,wr),k>Q&&(Q=k+Zt),ft()},Rt=h=>{Q=oe(h,Zt),Q<k&&(Q=k+Zt),ft()},on=h=>{ne=!0;for(let $=0;$<h.length;$++)sn(h[$],$);ne=!1;for(let $=0;$<h.length;$++)sn(h[$],$)},sn=(h,$)=>{let T;B!==void 0?(T=h==null?0:ia(h,B),T===-1&&(T=0)):(T=oe(h,k),T<k&&(T=k),T>Q&&(T=Q));let ee=le(k,Q,0,100,T);He($,ee)},an=h=>{if(h==null){se=void 0;return}if(typeof h=="function"){se=h,ft();return}if(Te(h)){se=oe(h,1);let $=Math.abs(Q-k);se>$&&(se=void 0),ft();return}se=void 0},Vn=h=>{ne=h,ft()},Kn=h=>{(!Te(h)||h<0)&&(h=0),F=h},er=h=>{(!Te(h)||h<0)&&(h=1/0),$e=h},Yn=h=>{Ae=h,y.classList.toggle("disabled",Ae),Ae?y.setAttribute("aria-disabled","true"):y.hasAttribute("aria-disabled")&&y.removeAttribute("aria-disabled")},po=h=>{Je=h},a=h=>{ze=h,ze?document.removeEventListener("wheel",Xr):document.addEventListener("wheel",Xr,{passive:!1})},p=h=>{if(h==null){B=void 0;return}if(B=na(h),B===void 0||B.length<=0){B=void 0;return}Dt(0),Rt(B.length-1),se===void 0&&an(1)},v=h=>{var $;typeof h=="string"?ce=h.trim().toLowerCase()===Le?Le:Ye:ce=Ye;let T=($=u.shadowRoot)==null?void 0:$.querySelector(".range-slider-box");if(!T)return;T.className=`range-slider-box type-${ce}`,ft();let ee=ce===Le?"vertical":"horizontal";for(let me of w)me.setAttr("aria-orientation",ee)},S=h=>{Fe=h,w.length>1&&eo(w,Fe,u),ft(),Tt()},D=h=>{j=h,w.length>1&&eo(w,j,u),ft(),Tt()},O=h=>{rt=oe(h,tt),rt<0&&(rt=tt),Tt()},Y=h=>{h==null||h.toString().trim().toLowerCase()==="false"?(Mt=void 0,y.style.removeProperty(Ki),y.classList.remove(Et)):(Mt=h.toString(),y.style.setProperty(Ki,Mt),y.classList.add(Et))},ue=(h,$)=>{let T=w[h];!T||(T.setAttr("aria-label",$),ro[h]=$)},xe=h=>{if(ke=void 0,w.length<=1){De=!1,y.classList.remove(Kr);return}De=h,y.classList.toggle(Kr,De)},Re=()=>{Yn(Ee(u.getAttribute(Z))),Je=Ee(u.getAttribute(pe)),ze=Ee(u.getAttribute(te));let h=vr(u,/^pointer([0-9]*)-disabled$/,$=>Ee($));for(let $ of h){let T=$[0];!w[T]||(w[T].disabled=$[1])}},qe=()=>{let h=vr(u,/^aria-label([0-9]*)$/);for(let $ of h){let T=$[0];ue(T,$[1])}},Ze=h=>{let $=w.length,T=w[$-1].$pointer,ee=T.cloneNode(!0);T.after(ee);let me=Tn(u,ee,$);return me.setCallbacks(no,io,oo,so),w.push(me),sn(h,$),ft(),Tt(),$},je=()=>{let h=w.length,$=w[h-1];return $?($.destroy(),w.pop(),w.length<=1&&xe(!1),ft(),Tt(),h-1):-1};return(()=>{var h,$;for(let ee of w)ee.setCallbacks(no,io,oo,so);let T=(h=u.shadowRoot)==null?void 0:h.querySelector(".panel-fill");T&&(H=oa(T)),v(u.getAttribute(L)),S(Ee(u.getAttribute(V))),D(Ee(u.getAttribute(J))),fo(u.getAttribute(g),u.getAttribute(m)),an(u.getAttribute(b)),p(u.getAttribute(d)),on(x.map(ee=>ee[1])),Vn(Ee(u.getAttribute(s))),Kn(oe(u.getAttribute(c),0)),er(oe(u.getAttribute(l),1/0)),xe(Ee(u.getAttribute(f))),O(oe(u.getAttribute(A),tt)),Re(),qe(),U=mr(u,y,w),Y(($=u.getAttribute(Ce))!=null?$:to),y.addEventListener("mousedown",Bn),y.addEventListener("mouseup",Jr),y.addEventListener("touchmove",Lt),y.addEventListener("touchstart",Lt),ze||document.addEventListener("wheel",Xr,{passive:!1}),C=Rn(u,ao,{setValues:on,setMin:Dt,setMax:Rt,setStep:an,setPointersOverlap:Vn,setPointersMinDistance:Kn,setPointersMaxDistance:er,setDisabled:Yn,setType:v,setRightToLeft:S,setBottomToTop:D,setRound:O,setKeyboardDisabled:po,setMousewheelDisabled:a,setRangeDragging:xe,setData:p},{getPercents:lo,getValues:co,getPointerElements:Hn,getMin:Ar,getMax:uo,getStep:Nn,getData:Un,getType:Fn,getRound:en,getTextMin:Qr,getTextMax:It,isRightToLeft:mt,isBottomToTop:zn,isDisabled:qn,isKeyboardDisabled:_r,isMousewheelDisabled:nn,isPointersOverlap:Er,isRangeDraggingEnabled:lt,getPointersMinDistance:tn,getPointersMaxDistance:Wn}),C.init()})(),{get pointers(){return w},get styles(){return U},get pluginsManager(){return C},get min(){return Qr()},get max(){return It()},get step(){return Nn()},get pointersOverlap(){return Er()},set pointersOverlap(h){Vn(h)},get pointersMinDistance(){return tn()},set pointersMinDistance(h){Kn(h)},get pointersMaxDistance(){return Wn()},set pointersMaxDistance(h){er(h)},get disabled(){return qn()},set disabled(h){Yn(h)},get data(){return Un()},get type(){return Fn()},set type(h){v(h)},get rightToLeft(){return mt()},set rightToLeft(h){S(h)},get bottomToTop(){return zn()},set bottomToTop(h){D(h)},get round(){return en()},set round(h){O(h)},get animateOnClick(){return Mt},set animateOnClick(h){Y(h)},get keyboardDisabled(){return _r()},set keyboardDisabled(h){po(h)},get mousewheelDisabled(){return nn()},set mousewheelDisabled(h){a(h)},get rangeDragging(){return lt()},set rangeDragging(h){xe(h)},setMin:Dt,setMax:Rt,setValue:sn,setStep:an,setData:p,getTextValue:Xt,setAriaLabel:ue,getAriaLabel:rn,addPointer:Ze,removePointer:je,destroy:()=>{y.removeEventListener("mousedown",Bn),y.removeEventListener("mouseup",Jr),y.removeEventListener("touchmove",Lt),y.removeEventListener("touchstart",Lt),document.removeEventListener("wheel",Xr);for(let h of w)h.destroy();C==null||C.destroy()}}},ba=(u,y,x)=>{let w=Vr.find(([C,k,Q,se])=>k.replace("#","")===y.replace(/\d+/g,""));if(w&&u.styles){let[C,k,Q,se]=w,B=y.replace(/\D/g,"").trim(),ce=B===""||B==="0"||B==="1"?0:oe(B,0)-1;u.styles.setStyle(C,x,ce);return}switch(u&&u.pluginsManager&&u.pluginsManager.onAttrChange(y,x),y){case g:{u.setMin(x);break}case m:{u.setMax(x);break}case b:{u.setStep(x);break}case s:{u.pointersOverlap=Ee(x);break}case c:{u.pointersMinDistance=oe(x,0);break}case f:{u.rangeDragging=Ee(x);break}case l:{u.pointersMaxDistance=oe(x,1/0);break}case Z:{u.disabled=Ee(x);break}case pe:{u.keyboardDisabled=Ee(x);break}case te:{u.mousewheelDisabled=Ee(x);break}case d:{u.setData(x);break}case L:{u.type=x;break}case V:{u.rightToLeft=Ee(x);break}case J:{u.bottomToTop=Ee(x);break}case A:{u.round=oe(x,tt);break}case W:{u.styles&&(u.styles.theme=x);break}case Ce:{u.animateOnClick=x;break}}let M=null;if(/^value([0-9]*)$/.test(y)&&(M="value"),/^pointer([0-9]*)-disabled$/.test(y)&&(M="pointer-disabled"),/^aria-label([0-9]*)$/.test(y)&&(M="aria-label"),/^pointer([0-9]*)-shape$/.test(y)&&(M="pointer-shape"),!M)return;let H=y.replace(/\D/g,"").trim(),U=H===""||H==="0"||H==="1"?0:oe(H,0)-1;switch(M){case"value":{u.setValue(x,U);break}case"pointer-disabled":{let C=u==null?void 0:u.pointers[U];if(!C)return;C.disabled=Ee(x);break}case"aria-label":{u.setAriaLabel(U,x);break}case"pointer-shape":{u.styles&&u.styles.setPointerShape(U,x);break}}},wa=class extends HTMLElement{constructor(){super(),n(this,"slider"),n(this,"_externalCSSList",[]),n(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,y;return(y=(u=this.slider)==null?void 0:u.disabled)!=null?y:!1}set data(u){var y;(y=this.slider)==null||y.setData(u)}get data(){var u;return(u=this.slider)==null?void 0:u.data}set min(u){var y;(y=this.slider)==null||y.setMin(u)}get min(){var u;return(u=this.slider)==null?void 0:u.min}set max(u){var y;(y=this.slider)==null||y.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,y;return(y=(u=this.slider)==null?void 0:u.round)!=null?y:tt}set type(u){!this.slider||(this.slider.type=u??Ye)}get type(){var u;return((u=this.slider)==null?void 0:u.type)||Ye}set pointersOverlap(u){!this.slider||(this.slider.pointersOverlap=u)}get pointersOverlap(){var u,y;return(y=(u=this.slider)==null?void 0:u.pointersOverlap)!=null?y:!1}set pointersMinDistance(u){!this.slider||(this.slider.pointersMinDistance=u)}get pointersMinDistance(){var u,y;return(y=(u=this.slider)==null?void 0:u.pointersMinDistance)!=null?y:0}set pointersMaxDistance(u){!this.slider||(this.slider.pointersMaxDistance=u)}get pointersMaxDistance(){var u,y;return(y=(u=this.slider)==null?void 0:u.pointersMaxDistance)!=null?y:1/0}set theme(u){!this.slider||!this.slider.styles||(this.slider.styles.theme=u)}get theme(){var u,y,x;return(x=(y=(u=this.slider)==null?void 0:u.styles)==null?void 0:y.theme)!=null?x:null}set rtl(u){!this.slider||(this.slider.rightToLeft=u)}get rtl(){var u,y;return(y=(u=this.slider)==null?void 0:u.rightToLeft)!=null?y:!1}set btt(u){!this.slider||(this.slider.bottomToTop=u)}get btt(){var u,y;return(y=(u=this.slider)==null?void 0:u.bottomToTop)!=null?y:!1}set keyboardDisabled(u){!this.slider||(this.slider.keyboardDisabled=u)}get keyboardDisabled(){var u,y;return(y=(u=this.slider)==null?void 0:u.keyboardDisabled)!=null?y:!1}set mousewheelDisabled(u){!this.slider||(this.slider.mousewheelDisabled=u)}get mousewheelDisabled(){var u,y;return(y=(u=this.slider)==null?void 0:u.mousewheelDisabled)!=null?y:!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,y;return(y=(u=this.slider)==null?void 0:u.rangeDragging)!=null?y:!1}set rangeDragging(u){this.slider&&(this.slider.rangeDragging=Ee(u))}get externalCSSList(){return this._externalCSSList}addPointer(u){var y,x;if(!this.slider)return;let w=(x=(y=this.slider)==null?void 0:y.addPointer(u))!=null?x:0;Qi(this,this.slider,w,`value${w+1}`,`ariaLabel${w+1}`,`pointerShape${w+1}`,`pointer${w+1}Disabled`)}removePointer(){var u;!this.slider||(u=this.slider)==null||u.removePointer()}addCSS(u){if(!this.shadowRoot)return;let y=document.createElement("style");y.textContent=u,this.shadowRoot.appendChild(y)}connectedCallback(){var u,y;if(!this.shadowRoot)return;this._externalCSSList=ga(this),this.shadowRoot.innerHTML=i(o,this._externalCSSList);let x=(u=this.shadowRoot)==null?void 0:u.querySelector(".pointer");if(!x)return;let w=(y=this.shadowRoot)==null?void 0:y.getElementById("range-slider");if(!w)return;let M=ya(this,x);this.slider=ma(this,w,M),va(this,this.slider),this._observer=new MutationObserver(H=>{H.forEach(U=>{var C;if(!this.slider||U.type!=="attributes")return;let k=U.attributeName;!k||ba(this.slider,k,(C=this.getAttribute(k))!=null?C:"")})}),this._observer.observe(this,{attributes:!0})}disconnectedCallback(){this._observer&&this._observer.disconnect(),this.slider&&this.slider.destroy()}},jn=wa;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 jf extends it{constructor(){super();nt(this,gr);this.filterObject={},this.tabIndex=0,this.inputHandler=Se(this,gr,ip).bind(this),this.debouncedInputHandler=Ri(this.inputHandler,0,{leading:!0})}reset(){I0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>K`
677
679
  ${Se(this,gr,ka).call(this,"min","before")}
678
680
  <tc-range-slider
679
681
  min="${this.filterObject.min}"
@@ -684,7 +686,7 @@ li.highlighted,
684
686
  @change=${this.debouncedInputHandler}
685
687
  ></tc-range-slider>
686
688
  ${Se(this,gr,ka).call(this,"max","after")}
687
- `)}}gr=new WeakSet,rp=function(r){T0(r,this)},ka=function(r,n){return I0(r,n,this)},Jn(jf,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",jf);class nb extends it{constructor(){super();nt(this,zi);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){U0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>{var r;return K`
689
+ `)}}gr=new WeakSet,ip=function(r){D0(r,this)},ka=function(r,n){return R0(r,n,this)},Jn(jf,"properties",{filterObject:{attribute:!1,type:Object},tabIndex:{attribute:!1,type:Number}}),customElements.define("eox-itemfilter-range",jf);class ob extends it{constructor(){super();nt(this,Wi);this.filterObject={},this.tabIndex=0}static get properties(){return{filterObject:{type:Object},tabIndex:{attribute:!1,type:Number}}}reset(){W0(this)}createRenderRoot(){return this}render(){return Qe(this.filterObject,()=>{var r;return K`
688
690
  <form style="display: inline">
689
691
  ${Xn(["intersects","within"],n=>K`
690
692
  <label>
@@ -694,7 +696,7 @@ li.highlighted,
694
696
  name="mode"
695
697
  .checked="${(this.filterObject.state.mode||"")===n||be}"
696
698
  value="${n}"
697
- @click=${()=>Se(this,zi,np).call(this,n)}
699
+ @click=${()=>Se(this,Wi,op).call(this,n)}
698
700
  />
699
701
  <small>${n} filter geometry</small>
700
702
  </label>
@@ -705,13 +707,13 @@ li.highlighted,
705
707
  .geometry="${(r=this.filterObject.state)==null?void 0:r.geometry}"
706
708
  @filter="${n=>{this.filterObject.state.geometry=n.detail.geometry,this.filterObject.dirty=!0,this.filterObject.stringifiedState="Polygon",this.dispatchEvent(new CustomEvent("filter"))}}"
707
709
  ></eox-itemfilter-spatial>
708
- `})}}zi=new WeakSet,np=function(r){W0(r,this)},customElements.define("eox-itemfilter-spatial",nb);class ib extends it{constructor(){super();nt(this,qi);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){Se(this,qi,ip).call(this)}reset(){F0(this)}render(){return K`<div id="eox-map"></div>`}}qi=new WeakSet,ip=function(){Pf(this)},customElements.define("eox-itemfilter-spatial-filter",ib);function ob(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function sb(t,e){const{code:r}=t;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)&&ab(r,t.target.value??"",e))}function ab(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 lb extends it{constructor(){super();nt(this,yr);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",Se(this,yr,La).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",Se(this,yr,La).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return K`
710
+ `})}}Wi=new WeakSet,op=function(r){q0(r,this)},customElements.define("eox-itemfilter-spatial",ob);class sb extends it{constructor(){super();nt(this,zi);this.geometry=null,this.eoxMap=null}static get properties(){return{geometry:{type:Object},eoxMap:{type:Object}}}firstUpdated(){Se(this,zi,sp).call(this)}reset(){z0(this)}render(){return K`<div id="eox-map"></div>`}}zi=new WeakSet,sp=function(){Pf(this)},customElements.define("eox-itemfilter-spatial-filter",sb);function ab(t,e){e.renderRoot.querySelectorAll(".chip").forEach(r=>{r.classList.remove("highlighted")}),t.target.classList.add("highlighted"),e.requestUpdate()}function lb(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)&&cb(r,t.target.value??"",e)))}function cb(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 ub extends it{constructor(){super();nt(this,yr);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",Se(this,yr,La).bind(this))}disconnectedCallback(){super.disconnectedCallback(),this.getRootNode().removeEventListener("keydown",Se(this,yr,La).bind(this))}_dispatchEvent(){this.dispatchEvent(new CustomEvent("items-selected",{detail:this.items}))}render(){return K`
709
711
  <style>
710
712
  ${yn}
711
713
  </style>
712
714
  <span class="chip-container">
713
715
  ${Xn(this.items,r=>K`
714
- <span class="chip" @click=${Se(this,yr,op).bind(this)}>
716
+ <span class="chip" @click=${Se(this,yr,ap).bind(this)}>
715
717
  <span class="chip-title">${r.title}</span>
716
718
  <span
717
719
  class="chip-item-close hidden"
@@ -722,7 +724,7 @@ li.highlighted,
722
724
  </span>
723
725
  `)}
724
726
  </span>
725
- `}}yr=new WeakSet,La=function(r){sb(r,this)},op=function(r){ob(r,this)},customElements.define("eox-itemfilter-chips",lb);const Bf=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,titleProperty:"title",expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0});function cb(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const s={},c=f=>o.format==="date"?On(f).unix():parseInt(f,10);e.forEach(f=>{if(o.type==="range"){if(Array.isArray(f[o.key])){const h=[c(f[o.key][0]),c(f[o.key][1])];s.min=s.min!==void 0?Math.min(s.min,h[0]):h[0],s.max=s.max!==void 0?Math.max(s.max,h[1]):h[1]}else{const h=c(f[o.key]);s.min=s.min!==void 0?Math.min(s.min,h):h,s.max=s.max!==void 0?Math.max(s.max,h):h}return}Array.isArray(f[o.key])?f[o.key].forEach(h=>{s[h]=void 0}):o.type==="spatial"?(s.geometry=void 0,s.mode=o.mode||"intersects"):s[f[o.key]]=void 0});const l=o.key||o.keys.join("|");r.filters[l]=Object.assign({type:o.type||"multiselect",dirty:o.state?!1:void 0,key:l},o.type==="range"?{min:s.min,max:s.max,format:o.format}:{},o),r.filters[l].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))}),s0(e,Object.assign({keys:i},t.fuseConfig)),n}async function ub(t,e,r){var i;let n;(i=r.config)!=null&&i.externalFilter?n=await u0(e,r.filters,t):n=await a0(e,r.filters,t),r.results=r.sortResults(n)}var fb=200,Ys="__lodash_hash_undefined__",pb=1/0,hb="[object Function]",db="[object GeneratorFunction]",gb=/[\\^$.*+?()[\]{}|]/g,yb=/^\[object .+?Constructor\]$/,vb=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,mb=typeof self=="object"&&self&&self.Object===Object&&self,Js=vb||mb||Function("return this")();function bb(t,e){var r=t?t.length:0;return!!r&&xb(t,e,0)>-1}function wb(t,e,r){for(var n=-1,i=t?t.length:0;++n<i;)if(r(e,t[n]))return!0;return!1}function $b(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function xb(t,e,r){if(e!==e)return $b(t,Sb,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function Sb(t){return t!==t}function Ab(t,e){return t.has(e)}function _b(t,e){return t==null?void 0:t[e]}function Eb(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Nf(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Mb=Array.prototype,Pb=Function.prototype,Hf=Object.prototype,Zs=Js["__core-js_shared__"],Uf=function(){var t=/[^.]+$/.exec(Zs&&Zs.keys&&Zs.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ff=Pb.toString,Xs=Hf.hasOwnProperty,Ob=Hf.toString,Cb=RegExp("^"+Ff.call(Xs).replace(gb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kb=Mb.splice,Lb=ea(Js,"Map"),Qs=ea(Js,"Set"),kn=ea(Object,"create");function hr(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 Tb(){this.__data__=kn?kn(null):{}}function Ib(t){return this.has(t)&&delete this.__data__[t]}function Db(t){var e=this.__data__;if(kn){var r=e[t];return r===Ys?void 0:r}return Xs.call(e,t)?e[t]:void 0}function Rb(t){var e=this.__data__;return kn?e[t]!==void 0:Xs.call(e,t)}function jb(t,e){var r=this.__data__;return r[t]=kn&&e===void 0?Ys:e,this}hr.prototype.clear=Tb,hr.prototype.delete=Ib,hr.prototype.get=Db,hr.prototype.has=Rb,hr.prototype.set=jb;function Ur(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 Bb(){this.__data__=[]}function Nb(t){var e=this.__data__,r=Ni(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():kb.call(e,r,1),!0}function Hb(t){var e=this.__data__,r=Ni(e,t);return r<0?void 0:e[r][1]}function Ub(t){return Ni(this.__data__,t)>-1}function Fb(t,e){var r=this.__data__,n=Ni(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}Ur.prototype.clear=Bb,Ur.prototype.delete=Nb,Ur.prototype.get=Hb,Ur.prototype.has=Ub,Ur.prototype.set=Fb;function Fr(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 Wb(){this.__data__={hash:new hr,map:new(Lb||Ur),string:new hr}}function zb(t){return Hi(this,t).delete(t)}function qb(t){return Hi(this,t).get(t)}function Gb(t){return Hi(this,t).has(t)}function Vb(t,e){return Hi(this,t).set(t,e),this}Fr.prototype.clear=Wb,Fr.prototype.delete=zb,Fr.prototype.get=qb,Fr.prototype.has=Gb,Fr.prototype.set=Vb;function Bi(t){var e=-1,r=t?t.length:0;for(this.__data__=new Fr;++e<r;)this.add(t[e])}function Kb(t){return this.__data__.set(t,Ys),this}function Yb(t){return this.__data__.has(t)}Bi.prototype.add=Bi.prototype.push=Kb,Bi.prototype.has=Yb;function Ni(t,e){for(var r=t.length;r--;)if(n1(t[r][0],e))return r;return-1}function Jb(t){if(!Wf(t)||e1(t))return!1;var e=i1(t)||Eb(t)?Cb:yb;return e.test(t1(t))}function Zb(t,e,r){var n=-1,i=bb,o=t.length,s=!0,c=[],l=c;if(r)s=!1,i=wb;else if(o>=fb){var f=e?null:Xb(t);if(f)return Nf(f);s=!1,i=Ab,l=new Bi}else l=e?[]:c;e:for(;++n<o;){var h=t[n],y=e?e(h):h;if(h=r||h!==0?h:0,s&&y===y){for(var m=l.length;m--;)if(l[m]===y)continue e;e&&l.push(y),c.push(h)}else i(l,y,r)||(l!==c&&l.push(y),c.push(h))}return c}var Xb=Qs&&1/Nf(new Qs([,-0]))[1]==pb?function(t){return new Qs(t)}:o1;function Hi(t,e){var r=t.__data__;return Qb(e)?r[typeof e=="string"?"string":"hash"]:r.map}function ea(t,e){var r=_b(t,e);return Jb(r)?r:void 0}function Qb(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function e1(t){return!!Uf&&Uf in t}function t1(t){if(t!=null){try{return Ff.call(t)}catch{}try{return t+""}catch{}}return""}function r1(t){return t&&t.length?Zb(t):[]}function n1(t,e){return t===e||t!==t&&e!==e}function i1(t){var e=Wf(t)?Ob.call(t):"";return e==hb||e==db}function Wf(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function o1(){}var s1=r1;const a1=vn(s1);var Ui={exports:{}};Ui.exports,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",o=1,s=2,c=1/0,l=9007199254740991,f="[object Arguments]",h="[object Array]",y="[object Boolean]",m="[object Date]",b="[object Error]",A="[object Function]",L="[object GeneratorFunction]",W="[object Map]",V="[object Number]",J="[object Object]",Z="[object Promise]",pe="[object RegExp]",te="[object Set]",N="[object String]",X="[object Symbol]",ie="[object WeakMap]",we="[object ArrayBuffer]",de="[object DataView]",re="[object Float32Array]",Ne="[object Float64Array]",et="[object Int8Array]",I="[object Int16Array]",E="[object Int32Array]",_="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",q="[object Uint32Array]",G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,_e=/^\./,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ce=/[\\^$.*+?()[\]{}|]/g,Ke=/\\(\\)?/g,Le=/^\[object .+?Constructor\]$/,Ye=/^(?:0|[1-9]\d*)$/,le={};le[re]=le[Ne]=le[et]=le[I]=le[E]=le[_]=le[R]=le[P]=le[q]=!0,le[f]=le[h]=le[we]=le[y]=le[de]=le[m]=le[b]=le[A]=le[W]=le[V]=le[J]=le[pe]=le[te]=le[N]=le[ie]=!1;var Te=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,oe=typeof self=="object"&&self&&self.Object===Object&&self,Ie=Te||oe||Function("return this")(),_t=e&&!e.nodeType&&e,Ee=_t&&!0&&t&&!t.nodeType&&t,ta=Ee&&Ee.exports===_t,Gi=ta&&Te.process,Vi=function(){try{return Gi&&Gi.binding("util")}catch{}}(),Ki=Vi&&Vi.isTypedArray;function ra(a,p){for(var v=-1,S=a?a.length:0,D=Array(S);++v<S;)D[v]=p(a[v],v,a);return D}function Tn(a,p){for(var v=-1,S=p.length,D=a.length;++v<S;)a[D+v]=p[v];return a}function na(a,p){for(var v=-1,S=a?a.length:0;++v<S;)if(p(a[v],v,a))return!0;return!1}function ia(a){return function(p){return p==null?void 0:p[a]}}function oa(a,p){for(var v=-1,S=Array(a);++v<a;)S[v]=p(v);return S}function Yi(a){return function(p){return a(p)}}function sa(a,p){return a==null?void 0:a[p]}function In(a){var p=!1;if(a!=null&&typeof a.toString!="function")try{p=!!(a+"")}catch{}return p}function aa(a){var p=-1,v=Array(a.size);return a.forEach(function(S,D){v[++p]=[D,S]}),v}function la(a,p){return function(v){return a(p(v))}}function ca(a){var p=-1,v=Array(a.size);return a.forEach(function(S){v[++p]=S}),v}var ua=Array.prototype,fa=Function.prototype,qr=Object.prototype,Dn=Ie["__core-js_shared__"],Ji=function(){var a=/[^.]+$/.exec(Dn&&Dn.keys&&Dn.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Zi=fa.toString,vt=qr.hasOwnProperty,Jt=qr.toString,pa=RegExp("^"+Zi.call(vt).replace(Ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gr=Ie.Symbol,Xi=Ie.Uint8Array,ha=qr.propertyIsEnumerable,da=ua.splice,vr=Gr?Gr.isConcatSpreadable:void 0,ga=la(Object.keys,Object),Vr=Qt(Ie,"DataView"),mr=Qt(Ie,"Map"),Et=Qt(Ie,"Promise"),Kr=Qt(Ie,"Set"),Rn=Qt(Ie,"WeakMap"),br=Qt(Object,"create"),Qi=mt(Vr),ya=mt(mr),eo=mt(Et),va=mt(Kr),to=mt(Rn),Yr=Gr?Gr.prototype:void 0,wr=Yr?Yr.valueOf:void 0,Zt=Yr?Yr.toString:void 0;function tt(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function ro(){this.__data__=br?br(null):{}}function ma(a){return this.has(a)&&delete this.__data__[a]}function ba(a){var p=this.__data__;if(br){var v=p[a];return v===i?void 0:v}return vt.call(p,a)?p[a]:void 0}function wa(a){var p=this.__data__;return br?p[a]!==void 0:vt.call(p,a)}function jn(a,p){var v=this.__data__;return v[a]=br&&p===void 0?i:p,this}tt.prototype.clear=ro,tt.prototype.delete=ma,tt.prototype.get=ba,tt.prototype.has=wa,tt.prototype.set=jn;function u(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function g(){this.__data__=[]}function x(a){var p=this.__data__,v=Ae(p,a);if(v<0)return!1;var S=p.length-1;return v==S?p.pop():da.call(p,v,1),!0}function w(a){var p=this.__data__,v=Ae(p,a);return v<0?void 0:p[v][1]}function M(a){return Ae(this.__data__,a)>-1}function H(a,p){var v=this.__data__,S=Ae(v,a);return S<0?v.push([a,p]):v[S][1]=p,this}u.prototype.clear=g,u.prototype.delete=x,u.prototype.get=w,u.prototype.has=M,u.prototype.set=H;function U(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function C(){this.__data__={hash:new tt,map:new(mr||u),string:new tt}}function k(a){return Dt(this,a).delete(a)}function Q(a){return Dt(this,a).get(a)}function se(a){return Dt(this,a).has(a)}function B(a,p){return Dt(this,a).set(a,p),this}U.prototype.clear=C,U.prototype.delete=k,U.prototype.get=Q,U.prototype.has=se,U.prototype.set=B;function ce(a){var p=-1,v=a?a.length:0;for(this.__data__=new U;++p<v;)this.add(a[p])}function rt(a){return this.__data__.set(a,i),this}function Fe(a){return this.__data__.has(a)}ce.prototype.add=ce.prototype.push=rt,ce.prototype.has=Fe;function j(a){this.__data__=new u(a)}function ne(){this.__data__=new u}function F(a){return this.__data__.delete(a)}function $e(a){return this.__data__.get(a)}function De(a){return this.__data__.has(a)}function ke(a,p){var v=this.__data__;if(v instanceof u){var S=v.__data__;if(!mr||S.length<r-1)return S.push([a,p]),this;v=this.__data__=new U(S)}return v.set(a,p),this}j.prototype.clear=ne,j.prototype.delete=F,j.prototype.get=$e,j.prototype.has=De,j.prototype.set=ke;function Me(a,p){var v=lt(a)||Er(a)?oa(a.length,String):[],S=v.length,D=!!S;for(var O in a)(p||vt.call(a,O))&&!(D&&(O=="length"||Hn(O,S)))&&v.push(O);return v}function Ae(a,p){for(var v=a.length;v--;)if(nn(a[v][0],p))return v;return-1}var Je=Aa(no);function ze(a,p,v,S,D){var O=-1,Y=a.length;for(v||(v=uo),D||(D=[]);++O<Y;){var ue=a[O];p>0&&v(ue)?p>1?ze(ue,p-1,v,S,D):Tn(D,ue):S||(D[D.length]=ue)}return D}var Mt=_a();function no(a,p){return a&&Mt(a,p,er)}function Bn(a,p){p=Ar(p,a)?[p]:lo(p);for(var v=0,S=p.length;a!=null&&v<S;)a=a[rn(p[v++])];return v&&v==S?a:void 0}function Jr(a){return Jt.call(a)}function $a(a,p){return a!=null&&p in Object(a)}function Zr(a,p,v,S,D){return a===p?!0:a==null||p==null||!Rt(a)&&!jt(p)?a!==a&&p!==p:Tt(a,p,Zr,v,S,D)}function Tt(a,p,v,S,D,O){var Y=lt(a),ue=lt(p),xe=h,Re=h;Y||(xe=Pt(a),xe=xe==f?J:xe),ue||(Re=Pt(p),Re=Re==f?J:Re);var qe=xe==J&&!In(a),Ze=Re==J&&!In(p),je=xe==Re;if(je&&!qe)return O||(O=new j),Y||sn(a)?Sr(a,p,v,S,D,O):Xt(a,p,xe,v,S,D,O);if(!(D&s)){var d=qe&&vt.call(a,"__wrapped__"),$=Ze&&vt.call(p,"__wrapped__");if(d||$){var T=d?a.value():a,ee=$?p.value():p;return O||(O=new j),v(T,ee,S,D,O)}}return je?(O||(O=new j),Qr(a,p,v,S,D,O)):!1}function Xr(a,p,v,S){var D=v.length,O=D,Y=!S;if(a==null)return!O;for(a=Object(a);D--;){var ue=v[D];if(Y&&ue[2]?ue[1]!==a[ue[0]]:!(ue[0]in a))return!1}for(;++D<O;){ue=v[D];var xe=ue[0],Re=a[xe],qe=ue[1];if(Y&&ue[2]){if(Re===void 0&&!(xe in a))return!1}else{var Ze=new j;if(S)var je=S(Re,qe,xe,a,p,Ze);if(!(je===void 0?Zr(qe,Re,S,o|s,Ze):je))return!1}}return!0}function io(a){if(!Rt(a)||Un(a))return!1;var p=po(a)||In(a)?pa:Le;return p.test(mt(a))}function oo(a){return jt(a)&&Gn(a.length)&&!!le[Jt.call(a)]}function so(a){return typeof a=="function"?a:a==null?Yn:typeof a=="object"?lt(a)?$r(a[0],a[1]):Sa(a):ho(a)}function ao(a){if(!Fn(a))return ga(a);var p=[];for(var v in Object(a))vt.call(a,v)&&v!="constructor"&&p.push(v);return p}function xa(a,p){var v=-1,S=He(a)?Array(a.length):[];return Je(a,function(D,O,Y){S[++v]=p(D,O,Y)}),S}function Sa(a){var p=Nn(a);return p.length==1&&p[0][2]?tn(p[0][0],p[0][1]):function(v){return v===a||Xr(v,a,p)}}function $r(a,p){return Ar(a)&&en(p)?tn(rn(a),p):function(v){var S=Vn(v,a);return S===void 0&&S===p?Kn(v,a):Zr(p,S,void 0,o|s)}}function xr(a){return function(p){return Bn(p,a)}}function It(a){if(typeof a=="string")return a;if(on(a))return Zt?Zt.call(a):"";var p=a+"";return p=="0"&&1/a==-c?"-0":p}function lo(a){return lt(a)?a:Wn(a)}function Aa(a,p){return function(v,S){if(v==null)return v;if(!He(v))return a(v,S);for(var D=v.length,O=p?D:-1,Y=Object(v);(p?O--:++O<D)&&S(Y[O],O,Y)!==!1;);return v}}function _a(a){return function(p,v,S){for(var D=-1,O=Object(p),Y=S(p),ue=Y.length;ue--;){var xe=Y[a?ue:++D];if(v(O[xe],xe,O)===!1)break}return p}}function Sr(a,p,v,S,D,O){var Y=D&s,ue=a.length,xe=p.length;if(ue!=xe&&!(Y&&xe>ue))return!1;var Re=O.get(a);if(Re&&O.get(p))return Re==p;var qe=-1,Ze=!0,je=D&o?new ce:void 0;for(O.set(a,p),O.set(p,a);++qe<ue;){var d=a[qe],$=p[qe];if(S)var T=Y?S($,d,qe,p,a,O):S(d,$,qe,a,p,O);if(T!==void 0){if(T)continue;Ze=!1;break}if(je){if(!na(p,function(ee,me){if(!je.has(me)&&(d===ee||v(d,ee,S,D,O)))return je.add(me)})){Ze=!1;break}}else if(!(d===$||v(d,$,S,D,O))){Ze=!1;break}}return O.delete(a),O.delete(p),Ze}function Xt(a,p,v,S,D,O,Y){switch(v){case de:if(a.byteLength!=p.byteLength||a.byteOffset!=p.byteOffset)return!1;a=a.buffer,p=p.buffer;case we:return!(a.byteLength!=p.byteLength||!S(new Xi(a),new Xi(p)));case y:case m:case V:return nn(+a,+p);case b:return a.name==p.name&&a.message==p.message;case pe:case N:return a==p+"";case W:var ue=aa;case te:var xe=O&s;if(ue||(ue=ca),a.size!=p.size&&!xe)return!1;var Re=Y.get(a);if(Re)return Re==p;O|=o,Y.set(a,p);var qe=Sr(ue(a),ue(p),S,D,O,Y);return Y.delete(a),qe;case X:if(wr)return wr.call(a)==wr.call(p)}return!1}function Qr(a,p,v,S,D,O){var Y=D&s,ue=er(a),xe=ue.length,Re=er(p),qe=Re.length;if(xe!=qe&&!Y)return!1;for(var Ze=xe;Ze--;){var je=ue[Ze];if(!(Y?je in p:vt.call(p,je)))return!1}var d=O.get(a);if(d&&O.get(p))return d==p;var $=!0;O.set(a,p),O.set(p,a);for(var T=Y;++Ze<xe;){je=ue[Ze];var ee=a[je],me=p[je];if(S)var fe=Y?S(me,ee,je,p,a,O):S(ee,me,je,a,p,O);if(!(fe===void 0?ee===me||v(ee,me,S,D,O):fe)){$=!1;break}T||(T=je=="constructor")}if($&&!T){var Xe=a.constructor,Bt=p.constructor;Xe!=Bt&&"constructor"in a&&"constructor"in p&&!(typeof Xe=="function"&&Xe instanceof Xe&&typeof Bt=="function"&&Bt instanceof Bt)&&($=!1)}return O.delete(a),O.delete(p),$}function Dt(a,p){var v=a.__data__;return fo(p)?v[typeof p=="string"?"string":"hash"]:v.map}function Nn(a){for(var p=er(a),v=p.length;v--;){var S=p[v],D=a[S];p[v]=[S,D,en(D)]}return p}function Qt(a,p){var v=sa(a,p);return io(v)?v:void 0}var Pt=Jr;(Vr&&Pt(new Vr(new ArrayBuffer(1)))!=de||mr&&Pt(new mr)!=W||Et&&Pt(Et.resolve())!=Z||Kr&&Pt(new Kr)!=te||Rn&&Pt(new Rn)!=ie)&&(Pt=function(a){var p=Jt.call(a),v=p==J?a.constructor:void 0,S=v?mt(v):void 0;if(S)switch(S){case Qi:return de;case ya:return W;case eo:return Z;case va:return te;case to:return ie}return p});function co(a,p,v){p=Ar(p,a)?[p]:lo(p);for(var S,D=-1,Y=p.length;++D<Y;){var O=rn(p[D]);if(!(S=a!=null&&v(a,O)))break;a=a[O]}if(S)return S;var Y=a?a.length:0;return!!Y&&Gn(Y)&&Hn(O,Y)&&(lt(a)||Er(a))}function uo(a){return lt(a)||Er(a)||!!(vr&&a&&a[vr])}function Hn(a,p){return p=p??l,!!p&&(typeof a=="number"||Ye.test(a))&&a>-1&&a%1==0&&a<p}function Ar(a,p){if(lt(a))return!1;var v=typeof a;return v=="number"||v=="symbol"||v=="boolean"||a==null||on(a)?!0:ye.test(a)||!G.test(a)||p!=null&&a in Object(p)}function fo(a){var p=typeof a;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?a!=="__proto__":a===null}function Un(a){return!!Ji&&Ji in a}function Fn(a){var p=a&&a.constructor,v=typeof p=="function"&&p.prototype||qr;return a===v}function en(a){return a===a&&!Rt(a)}function tn(a,p){return function(v){return v==null?!1:v[a]===p&&(p!==void 0||a in Object(v))}}var Wn=_r(function(a){a=an(a);var p=[];return _e.test(a)&&p.push(""),a.replace(Pe,function(v,S,D,O){p.push(D?O.replace(Ke,"$1"):S||v)}),p});function rn(a){if(typeof a=="string"||on(a))return a;var p=a+"";return p=="0"&&1/a==-c?"-0":p}function mt(a){if(a!=null){try{return Zi.call(a)}catch{}try{return a+""}catch{}}return""}function zn(a,p){return ze(qn(a,p),1)}function qn(a,p){var v=lt(a)?ra:xa;return v(a,so(p))}function _r(a,p){if(typeof a!="function"||p&&typeof p!="function")throw new TypeError(n);var v=function(){var S=arguments,D=p?p.apply(this,S):S[0],O=v.cache;if(O.has(D))return O.get(D);var Y=a.apply(this,S);return v.cache=O.set(D,Y),Y};return v.cache=new(_r.Cache||U),v}_r.Cache=U;function nn(a,p){return a===p||a!==a&&p!==p}function Er(a){return ft(a)&&vt.call(a,"callee")&&(!ha.call(a,"callee")||Jt.call(a)==f)}var lt=Array.isArray;function He(a){return a!=null&&Gn(a.length)&&!po(a)}function ft(a){return jt(a)&&He(a)}function po(a){var p=Rt(a)?Jt.call(a):"";return p==A||p==L}function Gn(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=l}function Rt(a){var p=typeof a;return!!a&&(p=="object"||p=="function")}function jt(a){return!!a&&typeof a=="object"}function on(a){return typeof a=="symbol"||jt(a)&&Jt.call(a)==X}var sn=Ki?Yi(Ki):oo;function an(a){return a==null?"":It(a)}function Vn(a,p,v){var S=a==null?void 0:Bn(a,p);return S===void 0?v:S}function Kn(a,p){return a!=null&&co(a,p,$a)}function er(a){return He(a)?Me(a):ao(a)}function Yn(a){return a}function ho(a){return Ar(a)?ia(rn(a)):xr(a)}t.exports=zn}(Ui,Ui.exports);var l1=Ui.exports;const c1=vn(l1);function u1(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return K`<eox-itemfilter-text
727
+ `}}yr=new WeakSet,La=function(r){lb(r,this)},ap=function(r){ab(r,this)},customElements.define("eox-itemfilter-chips",ub);const Bf=Object.freeze({aggregateResults:void 0,autoSpreadSingle:!1,enableHighlighting:!1,externalFilter:()=>{},filterProperties:[],fuseConfig:{},inlineMode:!1,matchAllWhenEmpty:!0,showResults:!0,titleProperty:"title",expandMultipleFilters:!0,expandResults:!0,expandMultipleResults:!0});var fb=200,Ys="__lodash_hash_undefined__",pb=1/0,hb="[object Function]",db="[object GeneratorFunction]",gb=/[\\^$.*+?()[\]{}|]/g,yb=/^\[object .+?Constructor\]$/,vb=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,mb=typeof self=="object"&&self&&self.Object===Object&&self,Js=vb||mb||Function("return this")();function bb(t,e){var r=t?t.length:0;return!!r&&xb(t,e,0)>-1}function wb(t,e,r){for(var n=-1,i=t?t.length:0;++n<i;)if(r(e,t[n]))return!0;return!1}function $b(t,e,r,n){for(var i=t.length,o=r+(n?1:-1);n?o--:++o<i;)if(e(t[o],o,t))return o;return-1}function xb(t,e,r){if(e!==e)return $b(t,Sb,r);for(var n=r-1,i=t.length;++n<i;)if(t[n]===e)return n;return-1}function Sb(t){return t!==t}function Ab(t,e){return t.has(e)}function _b(t,e){return t==null?void 0:t[e]}function Eb(t){var e=!1;if(t!=null&&typeof t.toString!="function")try{e=!!(t+"")}catch{}return e}function Nf(t){var e=-1,r=Array(t.size);return t.forEach(function(n){r[++e]=n}),r}var Mb=Array.prototype,Pb=Function.prototype,Hf=Object.prototype,Zs=Js["__core-js_shared__"],Uf=function(){var t=/[^.]+$/.exec(Zs&&Zs.keys&&Zs.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Ff=Pb.toString,Xs=Hf.hasOwnProperty,Ob=Hf.toString,Cb=RegExp("^"+Ff.call(Xs).replace(gb,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),kb=Mb.splice,Lb=ea(Js,"Map"),Qs=ea(Js,"Set"),kn=ea(Object,"create");function hr(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 Tb(){this.__data__=kn?kn(null):{}}function Ib(t){return this.has(t)&&delete this.__data__[t]}function Db(t){var e=this.__data__;if(kn){var r=e[t];return r===Ys?void 0:r}return Xs.call(e,t)?e[t]:void 0}function Rb(t){var e=this.__data__;return kn?e[t]!==void 0:Xs.call(e,t)}function jb(t,e){var r=this.__data__;return r[t]=kn&&e===void 0?Ys:e,this}hr.prototype.clear=Tb,hr.prototype.delete=Ib,hr.prototype.get=Db,hr.prototype.has=Rb,hr.prototype.set=jb;function Ur(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 Bb(){this.__data__=[]}function Nb(t){var e=this.__data__,r=Bi(e,t);if(r<0)return!1;var n=e.length-1;return r==n?e.pop():kb.call(e,r,1),!0}function Hb(t){var e=this.__data__,r=Bi(e,t);return r<0?void 0:e[r][1]}function Ub(t){return Bi(this.__data__,t)>-1}function Fb(t,e){var r=this.__data__,n=Bi(r,t);return n<0?r.push([t,e]):r[n][1]=e,this}Ur.prototype.clear=Bb,Ur.prototype.delete=Nb,Ur.prototype.get=Hb,Ur.prototype.has=Ub,Ur.prototype.set=Fb;function Fr(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 Wb(){this.__data__={hash:new hr,map:new(Lb||Ur),string:new hr}}function zb(t){return Ni(this,t).delete(t)}function qb(t){return Ni(this,t).get(t)}function Gb(t){return Ni(this,t).has(t)}function Vb(t,e){return Ni(this,t).set(t,e),this}Fr.prototype.clear=Wb,Fr.prototype.delete=zb,Fr.prototype.get=qb,Fr.prototype.has=Gb,Fr.prototype.set=Vb;function ji(t){var e=-1,r=t?t.length:0;for(this.__data__=new Fr;++e<r;)this.add(t[e])}function Kb(t){return this.__data__.set(t,Ys),this}function Yb(t){return this.__data__.has(t)}ji.prototype.add=ji.prototype.push=Kb,ji.prototype.has=Yb;function Bi(t,e){for(var r=t.length;r--;)if(n1(t[r][0],e))return r;return-1}function Jb(t){if(!Wf(t)||e1(t))return!1;var e=i1(t)||Eb(t)?Cb:yb;return e.test(t1(t))}function Zb(t,e,r){var n=-1,i=bb,o=t.length,s=!0,c=[],l=c;if(r)s=!1,i=wb;else if(o>=fb){var f=e?null:Xb(t);if(f)return Nf(f);s=!1,i=Ab,l=new ji}else l=e?[]:c;e:for(;++n<o;){var d=t[n],g=e?e(d):d;if(d=r||d!==0?d:0,s&&g===g){for(var m=l.length;m--;)if(l[m]===g)continue e;e&&l.push(g),c.push(d)}else i(l,g,r)||(l!==c&&l.push(g),c.push(d))}return c}var Xb=Qs&&1/Nf(new Qs([,-0]))[1]==pb?function(t){return new Qs(t)}:o1;function Ni(t,e){var r=t.__data__;return Qb(e)?r[typeof e=="string"?"string":"hash"]:r.map}function ea(t,e){var r=_b(t,e);return Jb(r)?r:void 0}function Qb(t){var e=typeof t;return e=="string"||e=="number"||e=="symbol"||e=="boolean"?t!=="__proto__":t===null}function e1(t){return!!Uf&&Uf in t}function t1(t){if(t!=null){try{return Ff.call(t)}catch{}try{return t+""}catch{}}return""}function r1(t){return t&&t.length?Zb(t):[]}function n1(t,e){return t===e||t!==t&&e!==e}function i1(t){var e=Wf(t)?Ob.call(t):"";return e==hb||e==db}function Wf(t){var e=typeof t;return!!t&&(e=="object"||e=="function")}function o1(){}var s1=r1;const zf=vn(s1);var Hi={exports:{}};Hi.exports,function(t,e){var r=200,n="Expected a function",i="__lodash_hash_undefined__",o=1,s=2,c=1/0,l=9007199254740991,f="[object Arguments]",d="[object Array]",g="[object Boolean]",m="[object Date]",b="[object Error]",A="[object Function]",L="[object GeneratorFunction]",W="[object Map]",V="[object Number]",J="[object Object]",Z="[object Promise]",pe="[object RegExp]",te="[object Set]",N="[object String]",X="[object Symbol]",ie="[object WeakMap]",we="[object ArrayBuffer]",de="[object DataView]",re="[object Float32Array]",Ne="[object Float64Array]",et="[object Int8Array]",I="[object Int16Array]",E="[object Int32Array]",_="[object Uint8Array]",R="[object Uint8ClampedArray]",P="[object Uint16Array]",q="[object Uint32Array]",G=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,ye=/^\w*$/,_e=/^\./,Pe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Ce=/[\\^$.*+?()[\]{}|]/g,Ke=/\\(\\)?/g,Le=/^\[object .+?Constructor\]$/,Ye=/^(?:0|[1-9]\d*)$/,le={};le[re]=le[Ne]=le[et]=le[I]=le[E]=le[_]=le[R]=le[P]=le[q]=!0,le[f]=le[d]=le[we]=le[g]=le[de]=le[m]=le[b]=le[A]=le[W]=le[V]=le[J]=le[pe]=le[te]=le[N]=le[ie]=!1;var Te=typeof Ge=="object"&&Ge&&Ge.Object===Object&&Ge,oe=typeof self=="object"&&self&&self.Object===Object&&self,Ie=Te||oe||Function("return this")(),_t=e&&!e.nodeType&&e,Ee=_t&&!0&&t&&!t.nodeType&&t,ta=Ee&&Ee.exports===_t,qi=ta&&Te.process,Gi=function(){try{return qi&&qi.binding("util")}catch{}}(),Vi=Gi&&Gi.isTypedArray;function ra(a,p){for(var v=-1,S=a?a.length:0,D=Array(S);++v<S;)D[v]=p(a[v],v,a);return D}function Tn(a,p){for(var v=-1,S=p.length,D=a.length;++v<S;)a[D+v]=p[v];return a}function na(a,p){for(var v=-1,S=a?a.length:0;++v<S;)if(p(a[v],v,a))return!0;return!1}function ia(a){return function(p){return p==null?void 0:p[a]}}function oa(a,p){for(var v=-1,S=Array(a);++v<a;)S[v]=p(v);return S}function Ki(a){return function(p){return a(p)}}function sa(a,p){return a==null?void 0:a[p]}function In(a){var p=!1;if(a!=null&&typeof a.toString!="function")try{p=!!(a+"")}catch{}return p}function aa(a){var p=-1,v=Array(a.size);return a.forEach(function(S,D){v[++p]=[D,S]}),v}function la(a,p){return function(v){return a(p(v))}}function ca(a){var p=-1,v=Array(a.size);return a.forEach(function(S){v[++p]=S}),v}var ua=Array.prototype,fa=Function.prototype,qr=Object.prototype,Dn=Ie["__core-js_shared__"],Yi=function(){var a=/[^.]+$/.exec(Dn&&Dn.keys&&Dn.keys.IE_PROTO||"");return a?"Symbol(src)_1."+a:""}(),Ji=fa.toString,vt=qr.hasOwnProperty,Jt=qr.toString,pa=RegExp("^"+Ji.call(vt).replace(Ce,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),Gr=Ie.Symbol,Zi=Ie.Uint8Array,ha=qr.propertyIsEnumerable,da=ua.splice,vr=Gr?Gr.isConcatSpreadable:void 0,ga=la(Object.keys,Object),Vr=Qt(Ie,"DataView"),mr=Qt(Ie,"Map"),Et=Qt(Ie,"Promise"),Kr=Qt(Ie,"Set"),Rn=Qt(Ie,"WeakMap"),br=Qt(Object,"create"),Xi=mt(Vr),ya=mt(mr),Qi=mt(Et),va=mt(Kr),eo=mt(Rn),Yr=Gr?Gr.prototype:void 0,wr=Yr?Yr.valueOf:void 0,Zt=Yr?Yr.toString:void 0;function tt(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function to(){this.__data__=br?br(null):{}}function ma(a){return this.has(a)&&delete this.__data__[a]}function ba(a){var p=this.__data__;if(br){var v=p[a];return v===i?void 0:v}return vt.call(p,a)?p[a]:void 0}function wa(a){var p=this.__data__;return br?p[a]!==void 0:vt.call(p,a)}function jn(a,p){var v=this.__data__;return v[a]=br&&p===void 0?i:p,this}tt.prototype.clear=to,tt.prototype.delete=ma,tt.prototype.get=ba,tt.prototype.has=wa,tt.prototype.set=jn;function u(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function y(){this.__data__=[]}function x(a){var p=this.__data__,v=Ae(p,a);if(v<0)return!1;var S=p.length-1;return v==S?p.pop():da.call(p,v,1),!0}function w(a){var p=this.__data__,v=Ae(p,a);return v<0?void 0:p[v][1]}function M(a){return Ae(this.__data__,a)>-1}function H(a,p){var v=this.__data__,S=Ae(v,a);return S<0?v.push([a,p]):v[S][1]=p,this}u.prototype.clear=y,u.prototype.delete=x,u.prototype.get=w,u.prototype.has=M,u.prototype.set=H;function U(a){var p=-1,v=a?a.length:0;for(this.clear();++p<v;){var S=a[p];this.set(S[0],S[1])}}function C(){this.__data__={hash:new tt,map:new(mr||u),string:new tt}}function k(a){return It(this,a).delete(a)}function Q(a){return It(this,a).get(a)}function se(a){return It(this,a).has(a)}function B(a,p){return It(this,a).set(a,p),this}U.prototype.clear=C,U.prototype.delete=k,U.prototype.get=Q,U.prototype.has=se,U.prototype.set=B;function ce(a){var p=-1,v=a?a.length:0;for(this.__data__=new U;++p<v;)this.add(a[p])}function rt(a){return this.__data__.set(a,i),this}function Fe(a){return this.__data__.has(a)}ce.prototype.add=ce.prototype.push=rt,ce.prototype.has=Fe;function j(a){this.__data__=new u(a)}function ne(){this.__data__=new u}function F(a){return this.__data__.delete(a)}function $e(a){return this.__data__.get(a)}function De(a){return this.__data__.has(a)}function ke(a,p){var v=this.__data__;if(v instanceof u){var S=v.__data__;if(!mr||S.length<r-1)return S.push([a,p]),this;v=this.__data__=new U(S)}return v.set(a,p),this}j.prototype.clear=ne,j.prototype.delete=F,j.prototype.get=$e,j.prototype.has=De,j.prototype.set=ke;function Me(a,p){var v=lt(a)||Er(a)?oa(a.length,String):[],S=v.length,D=!!S;for(var O in a)(p||vt.call(a,O))&&!(D&&(O=="length"||Hn(O,S)))&&v.push(O);return v}function Ae(a,p){for(var v=a.length;v--;)if(nn(a[v][0],p))return v;return-1}var Je=Aa(ro);function ze(a,p,v,S,D){var O=-1,Y=a.length;for(v||(v=co),D||(D=[]);++O<Y;){var ue=a[O];p>0&&v(ue)?p>1?ze(ue,p-1,v,S,D):Tn(D,ue):S||(D[D.length]=ue)}return D}var Mt=_a();function ro(a,p){return a&&Mt(a,p,er)}function Bn(a,p){p=Ar(p,a)?[p]:ao(p);for(var v=0,S=p.length;a!=null&&v<S;)a=a[rn(p[v++])];return v&&v==S?a:void 0}function Jr(a){return Jt.call(a)}function $a(a,p){return a!=null&&p in Object(a)}function Zr(a,p,v,S,D){return a===p?!0:a==null||p==null||!Dt(a)&&!Rt(p)?a!==a&&p!==p:Lt(a,p,Zr,v,S,D)}function Lt(a,p,v,S,D,O){var Y=lt(a),ue=lt(p),xe=d,Re=d;Y||(xe=Pt(a),xe=xe==f?J:xe),ue||(Re=Pt(p),Re=Re==f?J:Re);var qe=xe==J&&!In(a),Ze=Re==J&&!In(p),je=xe==Re;if(je&&!qe)return O||(O=new j),Y||sn(a)?Sr(a,p,v,S,D,O):Xt(a,p,xe,v,S,D,O);if(!(D&s)){var h=qe&&vt.call(a,"__wrapped__"),$=Ze&&vt.call(p,"__wrapped__");if(h||$){var T=h?a.value():a,ee=$?p.value():p;return O||(O=new j),v(T,ee,S,D,O)}}return je?(O||(O=new j),Qr(a,p,v,S,D,O)):!1}function Xr(a,p,v,S){var D=v.length,O=D,Y=!S;if(a==null)return!O;for(a=Object(a);D--;){var ue=v[D];if(Y&&ue[2]?ue[1]!==a[ue[0]]:!(ue[0]in a))return!1}for(;++D<O;){ue=v[D];var xe=ue[0],Re=a[xe],qe=ue[1];if(Y&&ue[2]){if(Re===void 0&&!(xe in a))return!1}else{var Ze=new j;if(S)var je=S(Re,qe,xe,a,p,Ze);if(!(je===void 0?Zr(qe,Re,S,o|s,Ze):je))return!1}}return!0}function no(a){if(!Dt(a)||Un(a))return!1;var p=fo(a)||In(a)?pa:Le;return p.test(mt(a))}function io(a){return Rt(a)&&Gn(a.length)&&!!le[Jt.call(a)]}function oo(a){return typeof a=="function"?a:a==null?Yn:typeof a=="object"?lt(a)?$r(a[0],a[1]):Sa(a):po(a)}function so(a){if(!Fn(a))return ga(a);var p=[];for(var v in Object(a))vt.call(a,v)&&v!="constructor"&&p.push(v);return p}function xa(a,p){var v=-1,S=He(a)?Array(a.length):[];return Je(a,function(D,O,Y){S[++v]=p(D,O,Y)}),S}function Sa(a){var p=Nn(a);return p.length==1&&p[0][2]?tn(p[0][0],p[0][1]):function(v){return v===a||Xr(v,a,p)}}function $r(a,p){return Ar(a)&&en(p)?tn(rn(a),p):function(v){var S=Vn(v,a);return S===void 0&&S===p?Kn(v,a):Zr(p,S,void 0,o|s)}}function xr(a){return function(p){return Bn(p,a)}}function Tt(a){if(typeof a=="string")return a;if(on(a))return Zt?Zt.call(a):"";var p=a+"";return p=="0"&&1/a==-c?"-0":p}function ao(a){return lt(a)?a:Wn(a)}function Aa(a,p){return function(v,S){if(v==null)return v;if(!He(v))return a(v,S);for(var D=v.length,O=p?D:-1,Y=Object(v);(p?O--:++O<D)&&S(Y[O],O,Y)!==!1;);return v}}function _a(a){return function(p,v,S){for(var D=-1,O=Object(p),Y=S(p),ue=Y.length;ue--;){var xe=Y[a?ue:++D];if(v(O[xe],xe,O)===!1)break}return p}}function Sr(a,p,v,S,D,O){var Y=D&s,ue=a.length,xe=p.length;if(ue!=xe&&!(Y&&xe>ue))return!1;var Re=O.get(a);if(Re&&O.get(p))return Re==p;var qe=-1,Ze=!0,je=D&o?new ce:void 0;for(O.set(a,p),O.set(p,a);++qe<ue;){var h=a[qe],$=p[qe];if(S)var T=Y?S($,h,qe,p,a,O):S(h,$,qe,a,p,O);if(T!==void 0){if(T)continue;Ze=!1;break}if(je){if(!na(p,function(ee,me){if(!je.has(me)&&(h===ee||v(h,ee,S,D,O)))return je.add(me)})){Ze=!1;break}}else if(!(h===$||v(h,$,S,D,O))){Ze=!1;break}}return O.delete(a),O.delete(p),Ze}function Xt(a,p,v,S,D,O,Y){switch(v){case de:if(a.byteLength!=p.byteLength||a.byteOffset!=p.byteOffset)return!1;a=a.buffer,p=p.buffer;case we:return!(a.byteLength!=p.byteLength||!S(new Zi(a),new Zi(p)));case g:case m:case V:return nn(+a,+p);case b:return a.name==p.name&&a.message==p.message;case pe:case N:return a==p+"";case W:var ue=aa;case te:var xe=O&s;if(ue||(ue=ca),a.size!=p.size&&!xe)return!1;var Re=Y.get(a);if(Re)return Re==p;O|=o,Y.set(a,p);var qe=Sr(ue(a),ue(p),S,D,O,Y);return Y.delete(a),qe;case X:if(wr)return wr.call(a)==wr.call(p)}return!1}function Qr(a,p,v,S,D,O){var Y=D&s,ue=er(a),xe=ue.length,Re=er(p),qe=Re.length;if(xe!=qe&&!Y)return!1;for(var Ze=xe;Ze--;){var je=ue[Ze];if(!(Y?je in p:vt.call(p,je)))return!1}var h=O.get(a);if(h&&O.get(p))return h==p;var $=!0;O.set(a,p),O.set(p,a);for(var T=Y;++Ze<xe;){je=ue[Ze];var ee=a[je],me=p[je];if(S)var fe=Y?S(me,ee,je,p,a,O):S(ee,me,je,a,p,O);if(!(fe===void 0?ee===me||v(ee,me,S,D,O):fe)){$=!1;break}T||(T=je=="constructor")}if($&&!T){var Xe=a.constructor,jt=p.constructor;Xe!=jt&&"constructor"in a&&"constructor"in p&&!(typeof Xe=="function"&&Xe instanceof Xe&&typeof jt=="function"&&jt instanceof jt)&&($=!1)}return O.delete(a),O.delete(p),$}function It(a,p){var v=a.__data__;return uo(p)?v[typeof p=="string"?"string":"hash"]:v.map}function Nn(a){for(var p=er(a),v=p.length;v--;){var S=p[v],D=a[S];p[v]=[S,D,en(D)]}return p}function Qt(a,p){var v=sa(a,p);return no(v)?v:void 0}var Pt=Jr;(Vr&&Pt(new Vr(new ArrayBuffer(1)))!=de||mr&&Pt(new mr)!=W||Et&&Pt(Et.resolve())!=Z||Kr&&Pt(new Kr)!=te||Rn&&Pt(new Rn)!=ie)&&(Pt=function(a){var p=Jt.call(a),v=p==J?a.constructor:void 0,S=v?mt(v):void 0;if(S)switch(S){case Xi:return de;case ya:return W;case Qi:return Z;case va:return te;case eo:return ie}return p});function lo(a,p,v){p=Ar(p,a)?[p]:ao(p);for(var S,D=-1,Y=p.length;++D<Y;){var O=rn(p[D]);if(!(S=a!=null&&v(a,O)))break;a=a[O]}if(S)return S;var Y=a?a.length:0;return!!Y&&Gn(Y)&&Hn(O,Y)&&(lt(a)||Er(a))}function co(a){return lt(a)||Er(a)||!!(vr&&a&&a[vr])}function Hn(a,p){return p=p??l,!!p&&(typeof a=="number"||Ye.test(a))&&a>-1&&a%1==0&&a<p}function Ar(a,p){if(lt(a))return!1;var v=typeof a;return v=="number"||v=="symbol"||v=="boolean"||a==null||on(a)?!0:ye.test(a)||!G.test(a)||p!=null&&a in Object(p)}function uo(a){var p=typeof a;return p=="string"||p=="number"||p=="symbol"||p=="boolean"?a!=="__proto__":a===null}function Un(a){return!!Yi&&Yi in a}function Fn(a){var p=a&&a.constructor,v=typeof p=="function"&&p.prototype||qr;return a===v}function en(a){return a===a&&!Dt(a)}function tn(a,p){return function(v){return v==null?!1:v[a]===p&&(p!==void 0||a in Object(v))}}var Wn=_r(function(a){a=an(a);var p=[];return _e.test(a)&&p.push(""),a.replace(Pe,function(v,S,D,O){p.push(D?O.replace(Ke,"$1"):S||v)}),p});function rn(a){if(typeof a=="string"||on(a))return a;var p=a+"";return p=="0"&&1/a==-c?"-0":p}function mt(a){if(a!=null){try{return Ji.call(a)}catch{}try{return a+""}catch{}}return""}function zn(a,p){return ze(qn(a,p),1)}function qn(a,p){var v=lt(a)?ra:xa;return v(a,oo(p))}function _r(a,p){if(typeof a!="function"||p&&typeof p!="function")throw new TypeError(n);var v=function(){var S=arguments,D=p?p.apply(this,S):S[0],O=v.cache;if(O.has(D))return O.get(D);var Y=a.apply(this,S);return v.cache=O.set(D,Y),Y};return v.cache=new(_r.Cache||U),v}_r.Cache=U;function nn(a,p){return a===p||a!==a&&p!==p}function Er(a){return ft(a)&&vt.call(a,"callee")&&(!ha.call(a,"callee")||Jt.call(a)==f)}var lt=Array.isArray;function He(a){return a!=null&&Gn(a.length)&&!fo(a)}function ft(a){return Rt(a)&&He(a)}function fo(a){var p=Dt(a)?Jt.call(a):"";return p==A||p==L}function Gn(a){return typeof a=="number"&&a>-1&&a%1==0&&a<=l}function Dt(a){var p=typeof a;return!!a&&(p=="object"||p=="function")}function Rt(a){return!!a&&typeof a=="object"}function on(a){return typeof a=="symbol"||Rt(a)&&Jt.call(a)==X}var sn=Vi?Ki(Vi):io;function an(a){return a==null?"":Tt(a)}function Vn(a,p,v){var S=a==null?void 0:Bn(a,p);return S===void 0?v:S}function Kn(a,p){return a!=null&&lo(a,p,$a)}function er(a){return He(a)?Me(a):so(a)}function Yn(a){return a}function po(a){return Ar(a)?ia(rn(a)):xr(a)}t.exports=zn}(Hi,Hi.exports);var a1=Hi.exports;const qf=vn(a1);function l1(t,e,r){let n=[];t.filterProperties.length&&t.filterProperties.forEach(o=>{const s={},c=f=>o.format==="date"?On(f).unix():parseInt(f,10);e.forEach(f=>{var d;if(o.type==="range"){if(Array.isArray(f[o.key])){const g=[c(f[o.key][0]),c(f[o.key][1])];s.min=s.min!==void 0?Math.min(s.min,g[0]):g[0],s.max=s.max!==void 0?Math.max(s.max,g[1]):g[1]}else{const g=c(f[o.key]);s.min=s.min!==void 0?Math.min(s.min,g):g,s.max=s.max!==void 0?Math.max(s.max,g):g}return}Array.isArray(f[o.key])?f[o.key].forEach(g=>{s[g]=void 0}):o.type==="spatial"?(s.geometry=void 0,s.mode=o.mode||"intersects"):(d=o.key)!=null&&d.includes(".")?zf(qf(r.items,o.key)).filter(g=>g).forEach(g=>{s[g]=void 0}):s[f[o.key]]=void 0});const l=o.key||o.keys.join("|");r.filters[l]=Object.assign({type:o.type||"multiselect",dirty:o.state?!1:void 0,key:l},o.type==="range"?{min:s.min,max:s.max,format:o.format}:{},o),r.filters[l].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))}),l0(e,Object.assign({keys:i},t.fuseConfig)),n}async function c1(t,e,r){var i;let n;(i=r.config)!=null&&i.externalFilter?n=await p0(e,r.filters,t):n=await c0(e,r.filters,t),r.results=r.sortResults(n)}function u1(t,e,r){const n=`filter-${t.key}`.replace("|","-");switch(t.type){case"text":return K`<eox-itemfilter-text
726
728
  data-type="filter"
727
729
  slot="filter"
728
730
  id="${n}"
@@ -738,7 +740,7 @@ li.highlighted,
738
740
  .tabIndex=${e}
739
741
  .filterObject=${t}
740
742
  slot="filter"
741
- .suggestions="${a1(c1(r.items,t.key))}"
743
+ .suggestions="${zf(qf(r.items,t.key)).filter(i=>i)}"
742
744
  type="${t.type}"
743
745
  .unstyled=${r.unstyled}
744
746
  @filter=${()=>r.search()}
@@ -765,6 +767,7 @@ li.highlighted,
765
767
  `;default:return K``}}function f1(t,e){return[...t].sort((r,n)=>r[e.titleProperty].localeCompare(n[e.titleProperty]))}function p1(t,e,r){return K`
766
768
  ${Qe(t.dirty,()=>K`
767
769
  <button
770
+ type="button"
768
771
  tabindex=${e}
769
772
  slot="reset-button"
770
773
  class="reset-icon icon"
@@ -773,11 +776,11 @@ li.highlighted,
773
776
  ${r.unstyled?"Reset":be}
774
777
  </button>
775
778
  `)}
776
- `}function h1(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class zf extends Of{constructor(){super();nt(this,zr);nt(this,Ln,[]);nt(this,Wr,[]);nt(this,yt,Bf);this.config=null,this.items=null,this.filters={},this.selectedResult=null,this.search=Ri(this.searchHandler,100,{leading:!0})}static get properties(){return{config:{attribute:!1,type:Object},items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object}}}apply(){go(this,Ln,cb(pt(this,yt),pt(this,Wr),this)),this.search()}async searchHandler(){var r;await ub(pt(this,yt),pt(this,Wr),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),(r=this.config)!=null&&r.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(r){return f1(r,pt(this,yt))}resetFilters(){h1(this)}firstUpdated(r){var n;go(this,yt,{...Bf,...this.config}),go(this,Wr,((n=this.items)==null?void 0:n.map((i,o)=>Object.assign({id:`item-${o}`},i)))||[]),this.apply()}updated(r){(r.has("config")||r.has("items"))&&this.firstUpdated()}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var r,n;return K`
779
+ `}function h1(t){t.renderRoot.querySelectorAll("[data-type='filter']").forEach(e=>{typeof e.reset=="function"&&e.reset()}),t.search()}class Gf extends Of{constructor(){super();nt(this,zr);nt(this,Ln,[]);nt(this,Wr,[]);nt(this,yt,Bf);this.config=null,this.items=null,this.filters={},this.selectedResult=null,this.search=Ri(this.searchHandler,100,{leading:!0})}static get properties(){return{config:{attribute:!1,type:Object},items:{attribute:!1,type:Object},results:{state:!0,attribute:!1,type:Object},filters:{state:!0,attribute:!1,type:Object},selectedResult:{attribute:!1,type:Object}}}apply(){ho(this,Ln,l1(pt(this,yt),pt(this,Wr),this)),this.search()}async searchHandler(){var r;await c1(pt(this,yt),pt(this,Wr),this),this.dispatchEvent(new CustomEvent("filter",{detail:{results:this.results,filters:this.filters},bubbles:!0,composed:!0})),(r=this.config)!=null&&r.inlineMode&&this.renderRoot.querySelector("eox-itemfilter-container").updateInline(),this.requestUpdate()}sortResults(r){return f1(r,pt(this,yt))}resetFilters(){h1(this)}firstUpdated(r){var n;ho(this,yt,{...Bf,...this.config}),ho(this,Wr,((n=this.items)==null?void 0:n.map((i,o)=>Object.assign({id:`item-${o}`},i)))||[]),this.apply()}updated(r){(r.has("config")||r.has("items"))&&this.firstUpdated()}updateResult(r){this.selectedResult=r.detail,this.dispatchEvent(new CustomEvent("select",{detail:this.selectedResult,bubbles:!0,composed:!0})),this.requestUpdate()}render(){var r,n;return K`
777
780
  <style>
778
- ${xp}
781
+ ${Ap}
779
782
  ${!this.unstyled&&yn}
780
- ${!this.unstyled&&Sp}
783
+ ${!this.unstyled&&_p}
781
784
  ${this.styleOverride}
782
785
  </style>
783
786
  <form id="itemfilter" @submit="${i=>i.preventDefault()}">
@@ -801,13 +804,14 @@ li.highlighted,
801
804
  .filterObject=${i}
802
805
  data-details="${i.key}"
803
806
  >
804
- ${Se(this,zr,ap).call(this,i,Sf(o,1))}
805
- ${Se(this,zr,sp).call(this,i,Sf(o,2))}
807
+ ${Se(this,zr,cp).call(this,i,Sf(o,1))}
808
+ ${Se(this,zr,lp).call(this,i,Sf(o,2))}
806
809
  </eox-itemfilter-expandcontainer>
807
810
  </li>`)}
808
811
  </ul>
809
- ${Qe(!this.config.inlineMode&&pt(this,yt).filterProperties&&!this.config.inlineMode&&pt(this,yt).filterProperties&&zs(this.filters),()=>K`
812
+ ${Qe(!this.config.inlineMode&&pt(this,yt).filterProperties&&!this.config.inlineMode&&pt(this,yt).filterProperties&&Ws(this.filters),()=>K`
810
813
  <button
814
+ type="button"
811
815
  id="filter-reset"
812
816
  class="outline small icon-text reset-icon"
813
817
  data-cy="filter-reset"
@@ -830,4 +834,4 @@ li.highlighted,
830
834
  ></eox-itemfilter-results>
831
835
  `)}
832
836
  </form>
833
- `}}Ln=new WeakMap,Wr=new WeakMap,yt=new WeakMap,zr=new WeakSet,sp=function(r,n){return u1(r,n,this)},ap=function(r,n){return p1(r,n,this)},customElements.define("eox-itemfilter",zf),ge.EOxItemFilter=zf,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})});
837
+ `}}Ln=new WeakMap,Wr=new WeakMap,yt=new WeakMap,zr=new WeakSet,lp=function(r,n){return u1(r,n,this)},cp=function(r,n){return p1(r,n,this)},customElements.define("eox-itemfilter",Gf),ge.EOxItemFilter=Gf,Object.defineProperty(ge,Symbol.toStringTag,{value:"Module"})});