diff --git a/README.md b/README.md new file mode 100644 index 0000000..e3cc6cd --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Assets in this directory will be served at root path. diff --git a/assets/about-DlYMlV3l.js b/assets/about-DlYMlV3l.js new file mode 100644 index 0000000..ddd99fc --- /dev/null +++ b/assets/about-DlYMlV3l.js @@ -0,0 +1 @@ +import{r as o,o as s,c as d,w as i,a as e,d as t,b as h}from"./index-BkCZgrCZ.js";const c={class:"markdown-body"},p=e("h1",{id:"about",tabindex:"-1"},"About",-1),u=e("p",null,[e("em",null,"Aphid Species File is a community-built open resource on the aphids of the world.")],-1),g=e("h3",{id:"overview",tabindex:"-1"},"Overview",-1),f=e("p",null,[e("em",null,"Aphid Species File"),t(" is collection of cited and annotated information on the taxonomy of Earth’s living and fossil aphids, including adelgids, blackflies, greenflies, plant lice, and phylloxerans. Data found here come from a compiled database originating in an instance of "),e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),t(" managed by the "),e("a",{href:"https://speciesfilegroup.org",rel:"noopener noreferrer",target:"_blank"},"Species File Group"),t(". This site is built using TaxonPages, "),e("a",{href:"https://github.com/SpeciesFileGroup/taxonpages",rel:"noopener noreferrer",target:"_blank"},"learn more and get help"),t(".")],-1),m=e("h3",{id:"citation",tabindex:"-1"},"Citation",-1),y=e("p",null,[t("Cite this resource as follows: "),e("strong",null,[e("em",null,[t("Favret, C. [this year]. Aphid Species File. [retrieval date]. "),e("a",{href:"http://Aphid.SpeciesFile.org",rel:"noopener noreferrer",target:"_blank"},"http://Aphid.SpeciesFile.org")])])],-1),b=e("h3",{id:"gaps-as-opportunity",tabindex:"-1"},"Gaps as opportunity",-1),_=e("p",null,"The Earth’s biodiversity is vast and the data captured to describe it are immense and growing. All projects of this nature contain gaps providing opportunities for collaboration. Although most of the nomenclature is established, a particularly important gap in this project concerns specimen data. With specimen data, we can fill in other gaps such as biological associations (especially host plants) and geographic distributions. Please contact us if you would like to help us address these and other knowledge gaps.",-1),x=e("h3",{id:"contribute-or-get-help",tabindex:"-1"},"Contribute or get help",-1),w=e("p",null,[e("em",null,"Projects of this nature require expertise in many different areas, not only on the taxa being treated. If you can imagine a way to contribute we’d love to hear about it.")],-1),k=e("ul",null,[e("li",null,[e("strong",null,"Provide new data or identify a problem with existing data"),t(" by "),e("a",{href:"https://github.com/sfg-taxonpages/aphid/issues",rel:"noopener noreferrer",target:"_blank"},[t("submitting an "),e("em",null,"Issue"),t(" on GitHub")]),t(".")]),e("li",null,[e("strong",null,"Something is broken with the website or the software?"),t(" Use the "),e("a",{href:"https://github.com/SpeciesFileGroup/taxonpages/issues",rel:"noopener noreferrer",target:"_blank"},"TaxonPages Issue Tracker"),t(".")]),e("li",null,[e("strong",null,[e("a",{href:"mailto:ColinFavret@AphidNet.org"},"Email")]),t(" is the primary way to contact us, including enquiries about "),e("strong",null,"joining"),t(" the researchers building "),e("em",null,"Aphid Species File"),t(".")]),e("li",null,[e("strong",null,[e("a",{href:"https://groups.google.com/g/systemaphid/about",rel:"noopener noreferrer",target:"_blank"},"The Aphid Systematics Group")]),t(" is an email forum to facilitate the exchange of ideas and information among the world’s aphid systematists and anyone interested in aphid systematics, including but not necessarily restricted to taxonomy, classification, nomenclature, phylogenetics, and basic aphid biology. Click on the "),e("em",null,"Contact owners and managers"),t(" link to join.")])],-1),A=e("h3",{id:"contributors",tabindex:"-1"},"Contributors",-1),C=e("table",null,[e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"name"),e("th",{style:{"text-align":"left"}},"affiliation"),e("th",{style:{"text-align":"left"}},"role"),e("th",{style:{"text-align":"left"}},"identifier")])]),e("tbody",null,[e("tr",null,[e("td",{style:{"text-align":"left"}},"Colin FAVRET"),e("td",{style:{"text-align":"left"}},"University of Montreal, Canada"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}},[e("a",{href:"https://orcid.org/0000-0001-6243-3184",rel:"noopener noreferrer",target:"_blank"},"ORCiD")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Gary L. MILLER"),e("td",{style:{"text-align":"left"}},"Systematic Entomology Laboratory, US Department of Agriculture, retired"),e("td",{style:{"text-align":"left"}},"Contributor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"https://orcid.org/0000-0001-5456-8097",rel:"noopener noreferrer",target:"_blank"},"ORCiD")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"QIAO Gexia"),e("td",{style:{"text-align":"left"}},"Institute of Zoology, Chinese Academy of Sciences"),e("td",{style:{"text-align":"left"}},"Contributor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"https://orcid.org/0000-0002-7300-6812",rel:"noopener noreferrer",target:"_blank"},"ORCiD")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Masakazu SANO"),e("td",{style:{"text-align":"left"}},"Hokkaido Agricultural Research Center, NARO, Japan"),e("td",{style:{"text-align":"left"}},"Contributor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"https://orcid.org/0000-0001-7477-2570",rel:"noopener noreferrer",target:"_blank"},"ORCiD")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Andrey V. STEKOLSHCHIKOV"),e("td",{style:{"text-align":"left"}},"Zoological Institute, Russian Academy of Sciences"),e("td",{style:{"text-align":"left"}},"Contributor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"https://orcid.org/0000-0003-4168-7649",rel:"noopener noreferrer",target:"_blank"},"ORCiD")])])])],-1),v=e("h3",{id:"history",tabindex:"-1"},"History",-1),S=e("p",null,[e("em",null,"Aphid Species File"),t(" started in 2008 and was introduced to the aphid knowledge community in 2009 at the 8th International Symposium on Aphids in Catania, Italy: Favret C, Eades DC. 2009. Introduction to Aphid Species File, "),e("a",{href:"http://Aphid.SpeciesFile.org",rel:"noopener noreferrer",target:"_blank"},"http://Aphid.SpeciesFile.org"),t(". Redia, 92: 115-117. "),e("a",{href:"https://www.redia.it/images/stories/pdf2009/21%20Favret.pdf",rel:"noopener noreferrer",target:"_blank"},"(PDF)")],-1),F=e("em",null,"Aphid Species File",-1),R=e("a",{href:"http://favret.aphidnet.org/en/principal-investigator/",rel:"noopener noreferrer",target:"_blank"},"Colin FAVRET",-1),T=e("em",null,"Aphid Species File",-1),I=e("p",null,[e("em",null,[t("Our old website, with data frozen as of 14 August 2023, is now a read-only resource available at "),e("a",{href:"http://aphid.archive.speciesfile.org",rel:"noopener noreferrer",target:"_blank"},"http://aphid.archive.speciesfile.org"),t(".")])],-1),O=e("h3",{id:"companion-resource",tabindex:"-1"},"Companion resource",-1),E=e("table",null,[e("thead",null,[e("tr",null,[e("th",{style:{"text-align":"left"}},"Name"),e("th",{style:{"text-align":"left"}},"URL"),e("th",{style:{"text-align":"left"}},"Note")])]),e("tbody",null,[e("tr",null,[e("td",{style:{"text-align":"left"}},"Aphids on the World’s Plants: an online identification and information guide"),e("td",{style:{"text-align":"left"}},[e("a",{href:"http://www.aphidsonworldsplants.info/",rel:"noopener noreferrer",target:"_blank"},"Aphids on the World’s Plants")]),e("td",{style:{"text-align":"left"}},[t("created by "),e("a",{href:"https://doi.org/10.11646/zootaxa.5183.1.4",rel:"noopener noreferrer",target:"_blank"},"Roger BLACKMAN"),t(", maintained by Colin FAVRET")])])])],-1),D=e("h3",{id:"terms-of-use-and-copyright-guidance",tabindex:"-1"},"Terms of use and copyright guidance",-1),N=e("div",{class:"flex items-center gap-2"},[e("a",{class:"min-w-fit",href:"http://creativecommons.org/licenses/by/4.0"},[e("img",{src:"https://i.creativecommons.org/l/by/4.0/80x15.png",alt:"copyright",class:"m-0"})]),e("span",null,"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)")],-1),U={__name:"about",setup(G,{expose:a}){const n={};return a({frontmatter:n}),(L,P)=>{const r=o("router-link"),l=o("markdown-layout");return s(),d(l,{frontmatter:n},{default:i(()=>[e("div",c,[p,u,g,f,m,y,b,_,x,w,k,A,C,v,S,e("p",null,[t("Until August 2023, "),F,t(" was almost entirely curated by "),R,t(". At that time, all data in "),T,t(" were frozen and migrated to TaxonWorks. With this renewal, the call is out to colleagues worldwide: please contact us if you would like to contribute! "),h(r,{to:"#contribute-or-get-help"},{default:i(()=>[t("Contribute or get help")]),_:1}),t(".")]),I,O,E,D,N])]),_:1})}}};export{U as default}; diff --git a/assets/home-DJzm-rke.js b/assets/home-DJzm-rke.js new file mode 100644 index 0000000..73ee867 --- /dev/null +++ b/assets/home-DJzm-rke.js @@ -0,0 +1 @@ +import{r as t,o as u,c as d,w as a,a as e,b as n,d as o}from"./index-BkCZgrCZ.js";const h={class:"markdown-body"},_=e("h1",{id:"aphid-species-file",tabindex:"-1"},"Aphid Species File",-1),p=e("h3",{id:"welcome-to-the-new-website!",tabindex:"-1"},"Welcome to the new website!",-1),m=e("strong",null,[e("em",null,"you")],-1),f=e("p",null,[o("We’re glad you’re here and look forward to hearing from you about your experiences with the new features and how you use the information you find here. "),e("em",null,"Stay tuned for new features and data!")],-1),k={__name:"home",setup(w,{expose:c}){const r={};return c({frontmatter:r}),(y,b)=>{const i=t("autocomplete-otu"),s=t("router-link"),l=t("markdown-layout");return u(),d(l,{frontmatter:r},{default:a(()=>[e("div",h,[_,n(i,{class:"w-full sm:w-96",placeholder:"Search by taxon name"}),e("p",null,[o("Search for your aphid taxon of choice or start "),n(s,{to:"/otus/901309/overview"},{default:a(()=>[o("at the top")]),_:1}),o("!")]),p,e("p",null,[o("Our "),e("em",null,[n(s,{to:"about"},{default:a(()=>[o("About")]),_:1})]),o(" page contains an overview and history of the project, a list of contributors, and information on how "),m,o(" can participate.")]),f])]),_:1})}}};export{k as default}; diff --git a/assets/index-BkCZgrCZ.js b/assets/index-BkCZgrCZ.js new file mode 100644 index 0000000..094b66a --- /dev/null +++ b/assets/index-BkCZgrCZ.js @@ -0,0 +1,68 @@ +(function(){const n=document.createElement("link").relList;if(n&&n.supports&&n.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))s(c);new MutationObserver(c=>{for(const i of c)if(i.type==="childList")for(const l of i.addedNodes)l.tagName==="LINK"&&l.rel==="modulepreload"&&s(l)}).observe(document,{childList:!0,subtree:!0});function a(c){const i={};return c.integrity&&(i.integrity=c.integrity),c.referrerPolicy&&(i.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?i.credentials="include":c.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function s(c){if(c.ep)return;c.ep=!0;const i=a(c);fetch(c.href,i)}})();/** +* @vue/shared v3.4.19 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Ka(t,n){const a=new Set(t.split(","));return n?s=>a.has(s.toLowerCase()):s=>a.has(s)}const Oe={},ur=[],vn=()=>{},xf=()=>!1,po=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),Wa=t=>t.startsWith("onUpdate:"),$e=Object.assign,Ja=(t,n)=>{const a=t.indexOf(n);a>-1&&t.splice(a,1)},Lf=Object.prototype.hasOwnProperty,ye=(t,n)=>Lf.call(t,n),Wt=Array.isArray,cr=t=>ms(t)==="[object Map]",Sc=t=>ms(t)==="[object Set]",re=t=>typeof t=="function",Ie=t=>typeof t=="string",br=t=>typeof t=="symbol",Ae=t=>t!==null&&typeof t=="object",Ec=t=>(Ae(t)||re(t))&&re(t.then)&&re(t.catch),Tc=Object.prototype.toString,ms=t=>Tc.call(t),wf=t=>ms(t).slice(8,-1),Oc=t=>ms(t)==="[object Object]",Ya=t=>Ie(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,hr=Ka(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),gs=t=>{const n=Object.create(null);return a=>n[a]||(n[a]=t(a))},kf=/-(\w)/g,Vn=gs(t=>t.replace(kf,(n,a)=>a?a.toUpperCase():"")),Mf=/\B([A-Z])/g,xr=gs(t=>t.replace(Mf,"-$1").toLowerCase()),ys=gs(t=>t.charAt(0).toUpperCase()+t.slice(1)),ia=gs(t=>t?`on${ys(t)}`:""),wi=(t,n)=>!Object.is(t,n),Yo=(t,n)=>{for(let a=0;a{Object.defineProperty(t,n,{configurable:!0,enumerable:!1,value:a})},wa=t=>{const n=parseFloat(t);return isNaN(n)?t:n},Cf=t=>{const n=Ie(t)?Number(t):NaN;return isNaN(n)?t:n};let iu;const Ac=()=>iu||(iu=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Fn(t){if(Wt(t)){const n={};for(let a=0;a{if(a){const s=a.split(Sf);s.length>1&&(n[s[0].trim()]=s[1].trim())}}),n}function We(t){let n="";if(Ie(t))n=t;else if(Wt(t))for(let a=0;aIe(t)?t:t==null?"":Wt(t)||Ae(t)&&(t.toString===Tc||!re(t.toString))?JSON.stringify(t,Bc,2):String(t),Bc=(t,n)=>n&&n.__v_isRef?Bc(t,n.value):cr(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((a,[s,c],i)=>(a[ra(s,i)+" =>"]=c,a),{})}:Sc(n)?{[`Set(${n.size})`]:[...n.values()].map(a=>ra(a))}:br(n)?ra(n):Ae(n)&&!Wt(n)&&!Oc(n)?String(n):n,ra=(t,n="")=>{var a;return br(t)?`Symbol(${(a=t.description)!=null?a:n})`:t};/** +* @vue/reactivity v3.4.19 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let hn;class Ic{constructor(n=!1){this.detached=n,this._active=!0,this.effects=[],this.cleanups=[],this.parent=hn,!n&&hn&&(this.index=(hn.scopes||(hn.scopes=[])).push(this)-1)}get active(){return this._active}run(n){if(this._active){const a=hn;try{return hn=this,n()}finally{hn=a}}}on(){hn=this}off(){hn=this.parent}stop(n){if(this._active){let a,s;for(a=0,s=this.effects.length;a=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Gi()}return this._dirtyLevel>=4}set dirty(n){this._dirtyLevel=n?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let n=bi,a=Fi;try{return bi=!0,Fi=this,this._runnings++,ru(this),this.fn()}finally{ou(this),this._runnings--,Fi=a,bi=n}}stop(){var n;this.active&&(ru(this),ou(this),(n=this.onStop)==null||n.call(this),this.active=!1)}}function If(t){return t.value}function ru(t){t._trackId++,t._depsLength=0}function ou(t){if(t.deps.length>t._depsLength){for(let n=t._depsLength;n{const a=new Map;return a.cleanup=t,a.computed=n,a},os=new WeakMap,Vi=Symbol(""),Ca=Symbol("");function un(t,n,a){if(bi&&Fi){let s=os.get(t);s||os.set(t,s=new Map);let c=s.get(a);c||s.set(a,c=$c(()=>s.delete(a))),Fc(Fi,c)}}function Xn(t,n,a,s,c,i){const l=os.get(t);if(!l)return;let h=[];if(n==="clear")h=[...l.values()];else if(a==="length"&&Wt(t)){const p=Number(s);l.forEach((_,g)=>{(g==="length"||!br(g)&&g>=p)&&h.push(_)})}else switch(a!==void 0&&h.push(l.get(a)),n){case"add":Wt(t)?Ya(a)&&h.push(l.get("length")):(h.push(l.get(Vi)),cr(t)&&h.push(l.get(Ca)));break;case"delete":Wt(t)||(h.push(l.get(Vi)),cr(t)&&h.push(l.get(Ca)));break;case"set":cr(t)&&h.push(l.get(Vi));break}Qa();for(const p of h)p&&Vc(p,4);tl()}function Df(t,n){var a;return(a=os.get(t))==null?void 0:a.get(n)}const jf=Ka("__proto__,__v_isRef,__isVue"),Gc=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(br)),su=zf();function zf(){const t={};return["includes","indexOf","lastIndexOf"].forEach(n=>{t[n]=function(...a){const s=_e(this);for(let i=0,l=this.length;i{t[n]=function(...a){$i(),Qa();const s=_e(this)[n].apply(this,a);return tl(),Gi(),s}}),t}function Nf(t){const n=_e(this);return un(n,"has",t),n.hasOwnProperty(t)}class Hc{constructor(n=!1,a=!1){this._isReadonly=n,this._shallow=a}get(n,a,s){const c=this._isReadonly,i=this._shallow;if(a==="__v_isReactive")return!c;if(a==="__v_isReadonly")return c;if(a==="__v_isShallow")return i;if(a==="__v_raw")return s===(c?i?Xf:Kc:i?qc:Zc).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(s)?n:void 0;const l=Wt(n);if(!c){if(l&&ye(su,a))return Reflect.get(su,a,s);if(a==="hasOwnProperty")return Nf}const h=Reflect.get(n,a,s);return(br(a)?Gc.has(a):jf(a))||(c||un(n,"get",a),i)?h:Ge(h)?l&&Ya(a)?h:h.value:Ae(h)?c?Jc(h):_o(h):h}}class Uc extends Hc{constructor(n=!1){super(!1,n)}set(n,a,s,c){let i=n[a];if(!this._shallow){const p=_r(i);if(!ss(s)&&!_r(s)&&(i=_e(i),s=_e(s)),!Wt(n)&&Ge(i)&&!Ge(s))return p?!1:(i.value=s,!0)}const l=Wt(n)&&Ya(a)?Number(a)t,vs=t=>Reflect.getPrototypeOf(t);function $o(t,n,a=!1,s=!1){t=t.__v_raw;const c=_e(t),i=_e(n);a||(wi(n,i)&&un(c,"get",n),un(c,"get",i));const{has:l}=vs(c),h=s?el:a?rl:ro;if(l.call(c,n))return h(t.get(n));if(l.call(c,i))return h(t.get(i));t!==c&&t.get(n)}function Go(t,n=!1){const a=this.__v_raw,s=_e(a),c=_e(t);return n||(wi(t,c)&&un(s,"has",t),un(s,"has",c)),t===c?a.has(t):a.has(t)||a.has(c)}function Ho(t,n=!1){return t=t.__v_raw,!n&&un(_e(t),"iterate",Vi),Reflect.get(t,"size",t)}function au(t){t=_e(t);const n=_e(this);return vs(n).has.call(n,t)||(n.add(t),Xn(n,"add",t,t)),this}function lu(t,n){n=_e(n);const a=_e(this),{has:s,get:c}=vs(a);let i=s.call(a,t);i||(t=_e(t),i=s.call(a,t));const l=c.call(a,t);return a.set(t,n),i?wi(n,l)&&Xn(a,"set",t,n):Xn(a,"add",t,n),this}function uu(t){const n=_e(this),{has:a,get:s}=vs(n);let c=a.call(n,t);c||(t=_e(t),c=a.call(n,t)),s&&s.call(n,t);const i=n.delete(t);return c&&Xn(n,"delete",t,void 0),i}function cu(){const t=_e(this),n=t.size!==0,a=t.clear();return n&&Xn(t,"clear",void 0,void 0),a}function Uo(t,n){return function(s,c){const i=this,l=i.__v_raw,h=_e(l),p=n?el:t?rl:ro;return!t&&un(h,"iterate",Vi),l.forEach((_,g)=>s.call(c,p(_),p(g),i))}}function Zo(t,n,a){return function(...s){const c=this.__v_raw,i=_e(c),l=cr(i),h=t==="entries"||t===Symbol.iterator&&l,p=t==="keys"&&l,_=c[t](...s),g=a?el:n?rl:ro;return!n&&un(i,"iterate",p?Ca:Vi),{next(){const{value:v,done:M}=_.next();return M?{value:v,done:M}:{value:h?[g(v[0]),g(v[1])]:g(v),done:M}},[Symbol.iterator](){return this}}}}function li(t){return function(...n){return t==="delete"?!1:t==="clear"?void 0:this}}function Hf(){const t={get(i){return $o(this,i)},get size(){return Ho(this)},has:Go,add:au,set:lu,delete:uu,clear:cu,forEach:Uo(!1,!1)},n={get(i){return $o(this,i,!1,!0)},get size(){return Ho(this)},has:Go,add:au,set:lu,delete:uu,clear:cu,forEach:Uo(!1,!0)},a={get(i){return $o(this,i,!0)},get size(){return Ho(this,!0)},has(i){return Go.call(this,i,!0)},add:li("add"),set:li("set"),delete:li("delete"),clear:li("clear"),forEach:Uo(!0,!1)},s={get(i){return $o(this,i,!0,!0)},get size(){return Ho(this,!0)},has(i){return Go.call(this,i,!0)},add:li("add"),set:li("set"),delete:li("delete"),clear:li("clear"),forEach:Uo(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(i=>{t[i]=Zo(i,!1,!1),a[i]=Zo(i,!0,!1),n[i]=Zo(i,!1,!0),s[i]=Zo(i,!0,!0)}),[t,a,n,s]}const[Uf,Zf,qf,Kf]=Hf();function nl(t,n){const a=n?t?Kf:qf:t?Zf:Uf;return(s,c,i)=>c==="__v_isReactive"?!t:c==="__v_isReadonly"?t:c==="__v_raw"?s:Reflect.get(ye(a,c)&&c in s?a:s,c,i)}const Wf={get:nl(!1,!1)},Jf={get:nl(!1,!0)},Yf={get:nl(!0,!1)},Zc=new WeakMap,qc=new WeakMap,Kc=new WeakMap,Xf=new WeakMap;function Qf(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function tp(t){return t.__v_skip||!Object.isExtensible(t)?0:Qf(wf(t))}function _o(t){return _r(t)?t:il(t,!1,Vf,Wf,Zc)}function Wc(t){return il(t,!1,Gf,Jf,qc)}function Jc(t){return il(t,!0,$f,Yf,Kc)}function il(t,n,a,s,c){if(!Ae(t)||t.__v_raw&&!(n&&t.__v_isReactive))return t;const i=c.get(t);if(i)return i;const l=tp(t);if(l===0)return t;const h=new Proxy(t,l===2?s:a);return c.set(t,h),h}function xi(t){return _r(t)?xi(t.__v_raw):!!(t&&t.__v_isReactive)}function _r(t){return!!(t&&t.__v_isReadonly)}function ss(t){return!!(t&&t.__v_isShallow)}function Yc(t){return xi(t)||_r(t)}function _e(t){const n=t&&t.__v_raw;return n?_e(n):t}function bs(t){return Object.isExtensible(t)&&rs(t,"__v_skip",!0),t}const ro=t=>Ae(t)?_o(t):t,rl=t=>Ae(t)?Jc(t):t;class Xc{constructor(n,a,s,c){this._setter=a,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new Xa(()=>n(this._value),()=>Xo(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!c,this.__v_isReadonly=s}get value(){const n=_e(this);return(!n._cacheable||n.effect.dirty)&&wi(n._value,n._value=n.effect.run())&&Xo(n,4),Qc(n),n.effect._dirtyLevel>=2&&Xo(n,2),n._value}set value(n){this._setter(n)}get _dirty(){return this.effect.dirty}set _dirty(n){this.effect.dirty=n}}function ep(t,n,a=!1){let s,c;const i=re(t);return i?(s=t,c=vn):(s=t.get,c=t.set),new Xc(s,c,i||!c,a)}function Qc(t){var n;bi&&Fi&&(t=_e(t),Fc(Fi,(n=t.dep)!=null?n:t.dep=$c(()=>t.dep=void 0,t instanceof Xc?t:void 0)))}function Xo(t,n=4,a){t=_e(t);const s=t.dep;s&&Vc(s,n)}function Ge(t){return!!(t&&t.__v_isRef===!0)}function Zt(t){return th(t,!1)}function np(t){return th(t,!0)}function th(t,n){return Ge(t)?t:new ip(t,n)}class ip{constructor(n,a){this.__v_isShallow=a,this.dep=void 0,this.__v_isRef=!0,this._rawValue=a?n:_e(n),this._value=a?n:ro(n)}get value(){return Qc(this),this._value}set value(n){const a=this.__v_isShallow||ss(n)||_r(n);n=a?n:_e(n),wi(n,this._rawValue)&&(this._rawValue=n,this._value=a?n:ro(n),Xo(this,4))}}function qt(t){return Ge(t)?t.value:t}const rp={get:(t,n,a)=>qt(Reflect.get(t,n,a)),set:(t,n,a,s)=>{const c=t[n];return Ge(c)&&!Ge(a)?(c.value=a,!0):Reflect.set(t,n,a,s)}};function eh(t){return xi(t)?t:new Proxy(t,rp)}function op(t){const n=Wt(t)?new Array(t.length):{};for(const a in t)n[a]=ap(t,a);return n}class sp{constructor(n,a,s){this._object=n,this._key=a,this._defaultValue=s,this.__v_isRef=!0}get value(){const n=this._object[this._key];return n===void 0?this._defaultValue:n}set value(n){this._object[this._key]=n}get dep(){return Df(_e(this._object),this._key)}}function ap(t,n,a){const s=t[n];return Ge(s)?s:new sp(t,n,a)}/** +* @vue/runtime-core v3.4.19 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Li(t,n,a,s){try{return s?t(...s):t()}catch(c){xs(c,n,a)}}function bn(t,n,a,s){if(re(t)){const i=Li(t,n,a,s);return i&&Ec(i)&&i.catch(l=>{xs(l,n,a)}),i}const c=[];for(let i=0;i>>1,c=Xe[s],i=so(c);izn&&Xe.splice(n,1)}function hp(t){Wt(t)?dr.push(...t):(!_i||!_i.includes(t,t.allowRecurse?ji+1:ji))&&dr.push(t),ih()}function hu(t,n,a=oo?zn+1:0){for(;aso(a)-so(s));if(dr.length=0,_i){_i.push(...n);return}for(_i=n,ji=0;ji<_i.length;ji++)_i[ji]();_i=null,ji=0}}const so=t=>t.id==null?1/0:t.id,dp=(t,n)=>{const a=so(t)-so(n);if(a===0){if(t.pre&&!n.pre)return-1;if(n.pre&&!t.pre)return 1}return a};function rh(t){Pa=!1,oo=!0,Xe.sort(dp);try{for(zn=0;znIe(A)?A.trim():A)),v&&(c=a.map(wa))}let h,p=s[h=ia(n)]||s[h=ia(Vn(n))];!p&&i&&(p=s[h=ia(xr(n))]),p&&bn(p,t,6,c);const _=s[h+"Once"];if(_){if(!t.emitted)t.emitted={};else if(t.emitted[h])return;t.emitted[h]=!0,bn(_,t,6,c)}}function oh(t,n,a=!1){const s=n.emitsCache,c=s.get(t);if(c!==void 0)return c;const i=t.emits;let l={},h=!1;if(!re(t)){const p=_=>{const g=oh(_,n,!0);g&&(h=!0,$e(l,g))};!a&&n.mixins.length&&n.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}return!i&&!h?(Ae(t)&&s.set(t,null),null):(Wt(i)?i.forEach(p=>l[p]=null):$e(l,i),Ae(t)&&s.set(t,l),l)}function ws(t,n){return!t||!po(n)?!1:(n=n.slice(2).replace(/Once$/,""),ye(t,n[0].toLowerCase()+n.slice(1))||ye(t,xr(n))||ye(t,n))}let Ne=null,ks=null;function ls(t){const n=Ne;return Ne=t,ks=t&&t.type.__scopeId||null,n}function sh(t){ks=t}function ah(){ks=null}function mt(t,n=Ne,a){if(!n||t._n)return t;const s=(...c)=>{s._d&&wu(-1);const i=ls(n);let l;try{l=t(...c)}finally{ls(i),s._d&&wu(1)}return l};return s._n=!0,s._c=!0,s._d=!0,s}function oa(t){const{type:n,vnode:a,proxy:s,withProxy:c,props:i,propsOptions:[l],slots:h,attrs:p,emit:_,render:g,renderCache:v,data:M,setupState:A,ctx:P,inheritAttrs:S}=t;let N,B;const F=ls(t);try{if(a.shapeFlag&4){const C=c||s,I=C;N=En(g.call(I,C,v,i,A,M,P)),B=p}else{const C=n;N=En(C.length>1?C(i,{attrs:p,slots:h,emit:_}):C(i,null)),B=n.props?p:pp(p)}}catch(C){Qr.length=0,xs(C,t,1),N=st(dn)}let O=N;if(B&&S!==!1){const C=Object.keys(B),{shapeFlag:I}=O;C.length&&I&7&&(l&&C.some(Wa)&&(B=_p(B,l)),O=ki(O,B))}return a.dirs&&(O=ki(O),O.dirs=O.dirs?O.dirs.concat(a.dirs):a.dirs),a.transition&&(O.transition=a.transition),N=O,ls(F),N}const pp=t=>{let n;for(const a in t)(a==="class"||a==="style"||po(a))&&((n||(n={}))[a]=t[a]);return n},_p=(t,n)=>{const a={};for(const s in t)(!Wa(s)||!(s.slice(9)in n))&&(a[s]=t[s]);return a};function mp(t,n,a){const{props:s,children:c,component:i}=t,{props:l,children:h,patchFlag:p}=n,_=i.emitsOptions;if(n.dirs||n.transition)return!0;if(a&&p>=0){if(p&1024)return!0;if(p&16)return s?du(s,l,_):!!l;if(p&8){const g=n.dynamicProps;for(let v=0;vt.__isSuspense;function ch(t,n){n&&n.pendingBranch?Wt(t)?n.effects.push(...t):n.effects.push(t):hp(t)}const vp=Symbol.for("v-scx"),bp=()=>xn(vp),qo={};function Ze(t,n,a){return hh(t,n,a)}function hh(t,n,{immediate:a,deep:s,flush:c,once:i,onTrack:l,onTrigger:h}=Oe){if(n&&i){const $=n;n=(...rt)=>{$(...rt),I()}}const p=Ue,_=$=>s===!0?$:Ni($,s===!1?1:void 0);let g,v=!1,M=!1;if(Ge(t)?(g=()=>t.value,v=ss(t)):xi(t)?(g=()=>_(t),v=!0):Wt(t)?(M=!0,v=t.some($=>xi($)||ss($)),g=()=>t.map($=>{if(Ge($))return $.value;if(xi($))return _($);if(re($))return Li($,p,2)})):re(t)?n?g=()=>Li(t,p,2):g=()=>(A&&A(),bn(t,p,3,[P])):g=vn,n&&s){const $=g;g=()=>Ni($())}let A,P=$=>{A=O.onStop=()=>{Li($,p,4),A=O.onStop=void 0}},S;if(Ss)if(P=vn,n?a&&bn(n,p,3,[g(),M?[]:void 0,P]):g(),c==="sync"){const $=bp();S=$.__watcherHandles||($.__watcherHandles=[])}else return vn;let N=M?new Array(t.length).fill(qo):qo;const B=()=>{if(!(!O.active||!O.dirty))if(n){const $=O.run();(s||v||(M?$.some((rt,X)=>wi(rt,N[X])):wi($,N)))&&(A&&A(),bn(n,p,3,[$,N===qo?void 0:M&&N[0]===qo?[]:N,P]),N=$)}else O.run()};B.allowRecurse=!!n;let F;c==="sync"?F=B:c==="post"?F=()=>an(B,p&&p.suspense):(B.pre=!0,p&&(B.id=p.uid),F=()=>sl(B));const O=new Xa(g,vn,F),C=jc(),I=()=>{O.stop(),C&&Ja(C.effects,O)};return n?a?B():N=O.run():c==="post"?an(O.run.bind(O),p&&p.suspense):O.run(),S&&S.push(I),I}function xp(t,n,a){const s=this.proxy,c=Ie(t)?t.includes(".")?dh(s,t):()=>s[t]:t.bind(s,s);let i;re(n)?i=n:(i=n.handler,a=n);const l=go(this),h=hh(c,i.bind(s),a);return l(),h}function dh(t,n){const a=n.split(".");return()=>{let s=t;for(let c=0;c0){if(a>=n)return t;a++}if(s=s||new Set,s.has(t))return t;if(s.add(t),Ge(t))Ni(t.value,n,a,s);else if(Wt(t))for(let c=0;c{Ni(c,n,a,s)});else if(Oc(t))for(const c in t)Ni(t[c],n,a,s);return t}function mo(t,n){if(Ne===null)return t;const a=Es(Ne)||Ne.proxy,s=t.dirs||(t.dirs=[]);for(let c=0;c{t.isMounted=!0}),ei(()=>{t.isUnmounting=!0}),t}const gn=[Function,Array],fh={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:gn,onEnter:gn,onAfterEnter:gn,onEnterCancelled:gn,onBeforeLeave:gn,onLeave:gn,onAfterLeave:gn,onLeaveCancelled:gn,onBeforeAppear:gn,onAppear:gn,onAfterAppear:gn,onAppearCancelled:gn},wp={name:"BaseTransition",props:fh,setup(t,{slots:n}){const a=Rh(),s=Lp();let c;return()=>{const i=n.default&&_h(n.default(),!0);if(!i||!i.length)return;let l=i[0];if(i.length>1){for(const S of i)if(S.type!==dn){l=S;break}}const h=_e(t),{mode:p}=h;if(s.isLeaving)return sa(l);const _=pu(l);if(!_)return sa(l);const g=Sa(_,h,s,a);Ea(_,g);const v=a.subTree,M=v&&pu(v);let A=!1;const{getTransitionKey:P}=_.type;if(P){const S=P();c===void 0?c=S:S!==c&&(c=S,A=!0)}if(M&&M.type!==dn&&(!zi(_,M)||A)){const S=Sa(M,h,s,a);if(Ea(M,S),p==="out-in")return s.isLeaving=!0,S.afterLeave=()=>{s.isLeaving=!1,a.update.active!==!1&&(a.effect.dirty=!0,a.update())},sa(l);p==="in-out"&&_.type!==dn&&(S.delayLeave=(N,B,F)=>{const O=ph(s,M);O[String(M.key)]=M,N[mi]=()=>{B(),N[mi]=void 0,delete g.delayedLeave},g.delayedLeave=F})}return l}}},kp=wp;function ph(t,n){const{leavingVNodes:a}=t;let s=a.get(n.type);return s||(s=Object.create(null),a.set(n.type,s)),s}function Sa(t,n,a,s){const{appear:c,mode:i,persisted:l=!1,onBeforeEnter:h,onEnter:p,onAfterEnter:_,onEnterCancelled:g,onBeforeLeave:v,onLeave:M,onAfterLeave:A,onLeaveCancelled:P,onBeforeAppear:S,onAppear:N,onAfterAppear:B,onAppearCancelled:F}=n,O=String(t.key),C=ph(a,t),I=(X,nt)=>{X&&bn(X,s,9,nt)},$=(X,nt)=>{const ut=nt[1];I(X,nt),Wt(X)?X.every(vt=>vt.length<=1)&&ut():X.length<=1&&ut()},rt={mode:i,persisted:l,beforeEnter(X){let nt=h;if(!a.isMounted)if(c)nt=S||h;else return;X[mi]&&X[mi](!0);const ut=C[O];ut&&zi(t,ut)&&ut.el[mi]&&ut.el[mi](),I(nt,[X])},enter(X){let nt=p,ut=_,vt=g;if(!a.isMounted)if(c)nt=N||p,ut=B||_,vt=F||g;else return;let ot=!1;const Lt=X[Ko]=Dt=>{ot||(ot=!0,Dt?I(vt,[X]):I(ut,[X]),rt.delayedLeave&&rt.delayedLeave(),X[Ko]=void 0)};nt?$(nt,[X,Lt]):Lt()},leave(X,nt){const ut=String(t.key);if(X[Ko]&&X[Ko](!0),a.isUnmounting)return nt();I(v,[X]);let vt=!1;const ot=X[mi]=Lt=>{vt||(vt=!0,nt(),Lt?I(P,[X]):I(A,[X]),X[mi]=void 0,C[ut]===t&&delete C[ut])};C[ut]=t,M?$(M,[X,ot]):ot()},clone(X){return Sa(X,n,a,s)}};return rt}function sa(t){if(Ms(t))return t=ki(t),t.children=null,t}function pu(t){return Ms(t)?t.children?t.children[0]:void 0:t}function Ea(t,n){t.shapeFlag&6&&t.component?Ea(t.component.subTree,n):t.shapeFlag&128?(t.ssContent.transition=n.clone(t.ssContent),t.ssFallback.transition=n.clone(t.ssFallback)):t.transition=n}function _h(t,n=!1,a){let s=[],c=0;for(let i=0;i1)for(let i=0;i!!t.type.__asyncLoader,Ms=t=>t.type.__isKeepAlive;function Mp(t,n){gh(t,"a",n)}function Cp(t,n){gh(t,"da",n)}function gh(t,n,a=Ue){const s=t.__wdc||(t.__wdc=()=>{let c=a;for(;c;){if(c.isDeactivated)return;c=c.parent}return t()});if(Cs(n,s,a),a){let c=a.parent;for(;c&&c.parent;)Ms(c.parent.vnode)&&Pp(s,n,a,c),c=c.parent}}function Pp(t,n,a,s){const c=Cs(n,t,s,!0);Hi(()=>{Ja(s[n],c)},a)}function Cs(t,n,a=Ue,s=!1){if(a){const c=a[t]||(a[t]=[]),i=n.__weh||(n.__weh=(...l)=>{if(a.isUnmounted)return;$i();const h=go(a),p=bn(n,a,t,l);return h(),Gi(),p});return s?c.unshift(i):c.push(i),i}}const ti=t=>(n,a=Ue)=>(!Ss||t==="sp")&&Cs(t,(...s)=>n(...s),a),yh=ti("bm"),rn=ti("m"),Sp=ti("bu"),Ep=ti("u"),ei=ti("bum"),Hi=ti("um"),ll=ti("sp"),Tp=ti("rtg"),Op=ti("rtc");function Ap(t,n=Ue){Cs("ec",t,n)}function ve(t,n,a,s){let c;const i=a&&a[s];if(Wt(t)||Ie(t)){c=new Array(t.length);for(let l=0,h=t.length;ln(l,h,void 0,i&&i[h]));else{const l=Object.keys(t);c=new Array(l.length);for(let h=0,p=l.length;hhs(n)?!(n.type===dn||n.type===Gt&&!vh(n.children)):!0)?t:null}const Ta=t=>t?Bh(t)?Es(t)||t.proxy:Ta(t.parent):null,Yr=$e(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>t.props,$attrs:t=>t.attrs,$slots:t=>t.slots,$refs:t=>t.refs,$parent:t=>Ta(t.parent),$root:t=>Ta(t.root),$emit:t=>t.emit,$options:t=>ul(t),$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,sl(t.update)}),$nextTick:t=>t.n||(t.n=Ls.bind(t.proxy)),$watch:t=>xp.bind(t)}),aa=(t,n)=>t!==Oe&&!t.__isScriptSetup&&ye(t,n),Rp={get({_:t},n){const{ctx:a,setupState:s,data:c,props:i,accessCache:l,type:h,appContext:p}=t;let _;if(n[0]!=="$"){const A=l[n];if(A!==void 0)switch(A){case 1:return s[n];case 2:return c[n];case 4:return a[n];case 3:return i[n]}else{if(aa(s,n))return l[n]=1,s[n];if(c!==Oe&&ye(c,n))return l[n]=2,c[n];if((_=t.propsOptions[0])&&ye(_,n))return l[n]=3,i[n];if(a!==Oe&&ye(a,n))return l[n]=4,a[n];Oa&&(l[n]=0)}}const g=Yr[n];let v,M;if(g)return n==="$attrs"&&un(t,"get",n),g(t);if((v=h.__cssModules)&&(v=v[n]))return v;if(a!==Oe&&ye(a,n))return l[n]=4,a[n];if(M=p.config.globalProperties,ye(M,n))return M[n]},set({_:t},n,a){const{data:s,setupState:c,ctx:i}=t;return aa(c,n)?(c[n]=a,!0):s!==Oe&&ye(s,n)?(s[n]=a,!0):ye(t.props,n)||n[0]==="$"&&n.slice(1)in t?!1:(i[n]=a,!0)},has({_:{data:t,setupState:n,accessCache:a,ctx:s,appContext:c,propsOptions:i}},l){let h;return!!a[l]||t!==Oe&&ye(t,l)||aa(n,l)||(h=i[0])&&ye(h,l)||ye(s,l)||ye(Yr,l)||ye(c.config.globalProperties,l)},defineProperty(t,n,a){return a.get!=null?t._.accessCache[n]=0:ye(a,"value")&&this.set(t,n,a.value,null),Reflect.defineProperty(t,n,a)}};function Bp(){return Ip().slots}function Ip(){const t=Rh();return t.setupContext||(t.setupContext=Dh(t))}function _u(t){return Wt(t)?t.reduce((n,a)=>(n[a]=null,n),{}):t}let Oa=!0;function Dp(t){const n=ul(t),a=t.proxy,s=t.ctx;Oa=!1,n.beforeCreate&&mu(n.beforeCreate,t,"bc");const{data:c,computed:i,methods:l,watch:h,provide:p,inject:_,created:g,beforeMount:v,mounted:M,beforeUpdate:A,updated:P,activated:S,deactivated:N,beforeDestroy:B,beforeUnmount:F,destroyed:O,unmounted:C,render:I,renderTracked:$,renderTriggered:rt,errorCaptured:X,serverPrefetch:nt,expose:ut,inheritAttrs:vt,components:ot,directives:Lt,filters:Dt}=n;if(_&&jp(_,s,null),l)for(const At in l){const at=l[At];re(at)&&(s[At]=at.bind(a))}if(c){const At=c.call(a,a);Ae(At)&&(t.data=_o(At))}if(Oa=!0,i)for(const At in i){const at=i[At],oe=re(at)?at.bind(a,a):re(at.get)?at.get.bind(a,a):vn,Rt=!re(at)&&re(at.set)?at.set.bind(a):vn,Xt=Yt({get:oe,set:Rt});Object.defineProperty(s,At,{enumerable:!0,configurable:!0,get:()=>Xt.value,set:Ht=>Xt.value=Ht})}if(h)for(const At in h)bh(h[At],s,a,At);if(p){const At=re(p)?p.call(a):p;Reflect.ownKeys(At).forEach(at=>{Qo(at,At[at])})}g&&mu(g,t,"c");function yt(At,at){Wt(at)?at.forEach(oe=>At(oe.bind(a))):at&&At(at.bind(a))}if(yt(yh,v),yt(rn,M),yt(Sp,A),yt(Ep,P),yt(Mp,S),yt(Cp,N),yt(Ap,X),yt(Op,$),yt(Tp,rt),yt(ei,F),yt(Hi,C),yt(ll,nt),Wt(ut))if(ut.length){const At=t.exposed||(t.exposed={});ut.forEach(at=>{Object.defineProperty(At,at,{get:()=>a[at],set:oe=>a[at]=oe})})}else t.exposed||(t.exposed={});I&&t.render===vn&&(t.render=I),vt!=null&&(t.inheritAttrs=vt),ot&&(t.components=ot),Lt&&(t.directives=Lt)}function jp(t,n,a=vn){Wt(t)&&(t=Aa(t));for(const s in t){const c=t[s];let i;Ae(c)?"default"in c?i=xn(c.from||s,c.default,!0):i=xn(c.from||s):i=xn(c),Ge(i)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):n[s]=i}}function mu(t,n,a){bn(Wt(t)?t.map(s=>s.bind(n.proxy)):t.bind(n.proxy),n,a)}function bh(t,n,a,s){const c=s.includes(".")?dh(a,s):()=>a[s];if(Ie(t)){const i=n[t];re(i)&&Ze(c,i)}else if(re(t))Ze(c,t.bind(a));else if(Ae(t))if(Wt(t))t.forEach(i=>bh(i,n,a,s));else{const i=re(t.handler)?t.handler.bind(a):n[t.handler];re(i)&&Ze(c,i,t)}}function ul(t){const n=t.type,{mixins:a,extends:s}=n,{mixins:c,optionsCache:i,config:{optionMergeStrategies:l}}=t.appContext,h=i.get(n);let p;return h?p=h:!c.length&&!a&&!s?p=n:(p={},c.length&&c.forEach(_=>us(p,_,l,!0)),us(p,n,l)),Ae(n)&&i.set(n,p),p}function us(t,n,a,s=!1){const{mixins:c,extends:i}=n;i&&us(t,i,a,!0),c&&c.forEach(l=>us(t,l,a,!0));for(const l in n)if(!(s&&l==="expose")){const h=zp[l]||a&&a[l];t[l]=h?h(t[l],n[l]):n[l]}return t}const zp={data:gu,props:yu,emits:yu,methods:Jr,computed:Jr,beforeCreate:nn,created:nn,beforeMount:nn,mounted:nn,beforeUpdate:nn,updated:nn,beforeDestroy:nn,beforeUnmount:nn,destroyed:nn,unmounted:nn,activated:nn,deactivated:nn,errorCaptured:nn,serverPrefetch:nn,components:Jr,directives:Jr,watch:Fp,provide:gu,inject:Np};function gu(t,n){return n?t?function(){return $e(re(t)?t.call(this,this):t,re(n)?n.call(this,this):n)}:n:t}function Np(t,n){return Jr(Aa(t),Aa(n))}function Aa(t){if(Wt(t)){const n={};for(let a=0;a1)return a&&re(n)?n.call(s&&s.proxy):n}}function Gp(){return!!(Ue||Ne||pr)}function Hp(t,n,a,s=!1){const c={},i={};rs(i,Ps,1),t.propsDefaults=Object.create(null),Lh(t,n,c,i);for(const l in t.propsOptions[0])l in c||(c[l]=void 0);a?t.props=s?c:Wc(c):t.type.props?t.props=c:t.props=i,t.attrs=i}function Up(t,n,a,s){const{props:c,attrs:i,vnode:{patchFlag:l}}=t,h=_e(c),[p]=t.propsOptions;let _=!1;if((s||l>0)&&!(l&16)){if(l&8){const g=t.vnode.dynamicProps;for(let v=0;v{p=!0;const[M,A]=wh(v,n,!0);$e(l,M),A&&h.push(...A)};!a&&n.mixins.length&&n.mixins.forEach(g),t.extends&&g(t.extends),t.mixins&&t.mixins.forEach(g)}if(!i&&!p)return Ae(t)&&s.set(t,ur),ur;if(Wt(i))for(let g=0;g-1,A[1]=S<0||P-1||ye(A,"default"))&&h.push(v)}}}const _=[l,h];return Ae(t)&&s.set(t,_),_}function vu(t){return t[0]!=="$"&&!hr(t)}function bu(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function xu(t,n){return bu(t)===bu(n)}function Lu(t,n){return Wt(n)?n.findIndex(a=>xu(a,t)):re(n)&&xu(n,t)?0:-1}const kh=t=>t[0]==="_"||t==="$stable",cl=t=>Wt(t)?t.map(En):[En(t)],Zp=(t,n,a)=>{if(n._n)return n;const s=mt((...c)=>cl(n(...c)),a);return s._c=!1,s},Mh=(t,n,a)=>{const s=t._ctx;for(const c in t){if(kh(c))continue;const i=t[c];if(re(i))n[c]=Zp(c,i,s);else if(i!=null){const l=cl(i);n[c]=()=>l}}},Ch=(t,n)=>{const a=cl(n);t.slots.default=()=>a},qp=(t,n)=>{if(t.vnode.shapeFlag&32){const a=n._;a?(t.slots=_e(n),rs(n,"_",a)):Mh(n,t.slots={})}else t.slots={},n&&Ch(t,n);rs(t.slots,Ps,1)},Kp=(t,n,a)=>{const{vnode:s,slots:c}=t;let i=!0,l=Oe;if(s.shapeFlag&32){const h=n._;h?a&&h===1?i=!1:($e(c,n),!a&&h===1&&delete c._):(i=!n.$stable,Mh(n,c)),l=n}else n&&(Ch(t,n),l={default:1});if(i)for(const h in c)!kh(h)&&l[h]==null&&delete c[h]};function cs(t,n,a,s,c=!1){if(Wt(t)){t.forEach((M,A)=>cs(M,n&&(Wt(n)?n[A]:n),a,s,c));return}if(fr(s)&&!c)return;const i=s.shapeFlag&4?Es(s.component)||s.component.proxy:s.el,l=c?null:i,{i:h,r:p}=t,_=n&&n.r,g=h.refs===Oe?h.refs={}:h.refs,v=h.setupState;if(_!=null&&_!==p&&(Ie(_)?(g[_]=null,ye(v,_)&&(v[_]=null)):Ge(_)&&(_.value=null)),re(p))Li(p,h,12,[l,g]);else{const M=Ie(p),A=Ge(p);if(M||A){const P=()=>{if(t.f){const S=M?ye(v,p)?v[p]:g[p]:p.value;c?Wt(S)&&Ja(S,i):Wt(S)?S.includes(i)||S.push(i):M?(g[p]=[i],ye(v,p)&&(v[p]=g[p])):(p.value=[i],t.k&&(g[t.k]=p.value))}else M?(g[p]=l,ye(v,p)&&(v[p]=l)):A&&(p.value=l,t.k&&(g[t.k]=l))};l?(P.id=-1,an(P,a)):P()}}}let ui=!1;const Wp=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",Jp=t=>t.namespaceURI.includes("MathML"),Wo=t=>{if(Wp(t))return"svg";if(Jp(t))return"mathml"},Jo=t=>t.nodeType===8;function Yp(t){const{mt:n,p:a,o:{patchProp:s,createText:c,nextSibling:i,parentNode:l,remove:h,insert:p,createComment:_}}=t,g=(O,C)=>{if(!C.hasChildNodes()){a(null,O,C),as(),C._vnode=O;return}ui=!1,v(C.firstChild,O,null,null,null),as(),C._vnode=O,ui&&console.error("Hydration completed but contains mismatches.")},v=(O,C,I,$,rt,X=!1)=>{const nt=Jo(O)&&O.data==="[",ut=()=>S(O,C,I,$,rt,nt),{type:vt,ref:ot,shapeFlag:Lt,patchFlag:Dt}=C;let Mt=O.nodeType;C.el=O,Dt===-2&&(X=!1,C.dynamicChildren=null);let yt=null;switch(vt){case mr:Mt!==3?C.children===""?(p(C.el=c(""),l(O),O),yt=O):yt=ut():(O.data!==C.children&&(ui=!0,O.data=C.children),yt=i(O));break;case dn:F(O)?(yt=i(O),B(C.el=O.content.firstChild,O,I)):Mt!==8||nt?yt=ut():yt=i(O);break;case Xr:if(nt&&(O=i(O),Mt=O.nodeType),Mt===1||Mt===3){yt=O;const At=!C.children.length;for(let at=0;at{X=X||!!C.dynamicChildren;const{type:nt,props:ut,patchFlag:vt,shapeFlag:ot,dirs:Lt,transition:Dt}=C,Mt=nt==="input"||nt==="option";if(Mt||vt!==-1){Lt&&jn(C,null,I,"created");let yt=!1;if(F(O)){yt=Ph($,Dt)&&I&&I.vnode.props&&I.vnode.props.appear;const at=O.content.firstChild;yt&&Dt.beforeEnter(at),B(at,O,I),C.el=O=at}if(ot&16&&!(ut&&(ut.innerHTML||ut.textContent))){let at=A(O.firstChild,C,O,I,$,rt,X);for(;at;){ui=!0;const oe=at;at=at.nextSibling,h(oe)}}else ot&8&&O.textContent!==C.children&&(ui=!0,O.textContent=C.children);if(ut)if(Mt||!X||vt&48)for(const at in ut)(Mt&&(at.endsWith("value")||at==="indeterminate")||po(at)&&!hr(at)||at[0]===".")&&s(O,at,null,ut[at],void 0,void 0,I);else ut.onClick&&s(O,"onClick",null,ut.onClick,void 0,void 0,I);let At;(At=ut&&ut.onVnodeBeforeMount)&&yn(At,I,C),Lt&&jn(C,null,I,"beforeMount"),((At=ut&&ut.onVnodeMounted)||Lt||yt)&&ch(()=>{At&&yn(At,I,C),yt&&Dt.enter(O),Lt&&jn(C,null,I,"mounted")},$)}return O.nextSibling},A=(O,C,I,$,rt,X,nt)=>{nt=nt||!!C.dynamicChildren;const ut=C.children,vt=ut.length;for(let ot=0;ot{const{slotScopeIds:nt}=C;nt&&(rt=rt?rt.concat(nt):nt);const ut=l(O),vt=A(i(O),C,ut,I,$,rt,X);return vt&&Jo(vt)&&vt.data==="]"?i(C.anchor=vt):(ui=!0,p(C.anchor=_("]"),ut,vt),vt)},S=(O,C,I,$,rt,X)=>{if(ui=!0,C.el=null,X){const vt=N(O);for(;;){const ot=i(O);if(ot&&ot!==vt)h(ot);else break}}const nt=i(O),ut=l(O);return h(O),a(null,C,ut,nt,I,$,Wo(ut),rt),nt},N=(O,C="[",I="]")=>{let $=0;for(;O;)if(O=i(O),O&&Jo(O)&&(O.data===C&&$++,O.data===I)){if($===0)return i(O);$--}return O},B=(O,C,I)=>{const $=C.parentNode;$&&$.replaceChild(O,C);let rt=I;for(;rt;)rt.vnode.el===C&&(rt.vnode.el=rt.subTree.el=O),rt=rt.parent},F=O=>O.nodeType===1&&O.tagName.toLowerCase()==="template";return[g,v]}const an=ch;function Xp(t){return Qp(t,Yp)}function Qp(t,n){const a=Ac();a.__VUE__=!0;const{insert:s,remove:c,patchProp:i,createElement:l,createText:h,createComment:p,setText:_,setElementText:g,parentNode:v,nextSibling:M,setScopeId:A=vn,insertStaticContent:P}=t,S=(V,Z,lt,bt=null,pt=null,Ct=null,D=void 0,b=null,k=!!Z.dynamicChildren)=>{if(V===Z)return;V&&!zi(V,Z)&&(bt=ft(V),Ht(V,pt,Ct,!0),V=null),Z.patchFlag===-2&&(k=!1,Z.dynamicChildren=null);const{type:E,ref:z,shapeFlag:G}=Z;switch(E){case mr:N(V,Z,lt,bt);break;case dn:B(V,Z,lt,bt);break;case Xr:V==null&&F(Z,lt,bt,D);break;case Gt:ot(V,Z,lt,bt,pt,Ct,D,b,k);break;default:G&1?I(V,Z,lt,bt,pt,Ct,D,b,k):G&6?Lt(V,Z,lt,bt,pt,Ct,D,b,k):(G&64||G&128)&&E.process(V,Z,lt,bt,pt,Ct,D,b,k,jt)}z!=null&&pt&&cs(z,V&&V.ref,Ct,Z||V,!Z)},N=(V,Z,lt,bt)=>{if(V==null)s(Z.el=h(Z.children),lt,bt);else{const pt=Z.el=V.el;Z.children!==V.children&&_(pt,Z.children)}},B=(V,Z,lt,bt)=>{V==null?s(Z.el=p(Z.children||""),lt,bt):Z.el=V.el},F=(V,Z,lt,bt)=>{[V.el,V.anchor]=P(V.children,Z,lt,bt,V.el,V.anchor)},O=({el:V,anchor:Z},lt,bt)=>{let pt;for(;V&&V!==Z;)pt=M(V),s(V,lt,bt),V=pt;s(Z,lt,bt)},C=({el:V,anchor:Z})=>{let lt;for(;V&&V!==Z;)lt=M(V),c(V),V=lt;c(Z)},I=(V,Z,lt,bt,pt,Ct,D,b,k)=>{Z.type==="svg"?D="svg":Z.type==="math"&&(D="mathml"),V==null?$(Z,lt,bt,pt,Ct,D,b,k):nt(V,Z,pt,Ct,D,b,k)},$=(V,Z,lt,bt,pt,Ct,D,b)=>{let k,E;const{props:z,shapeFlag:G,transition:J,dirs:it}=V;if(k=V.el=l(V.type,Ct,z&&z.is,z),G&8?g(k,V.children):G&16&&X(V.children,k,null,bt,pt,la(V,Ct),D,b),it&&jn(V,null,bt,"created"),rt(k,V,V.scopeId,D,bt),z){for(const Ot in z)Ot!=="value"&&!hr(Ot)&&i(k,Ot,null,z[Ot],Ct,V.children,bt,pt,zt);"value"in z&&i(k,"value",null,z.value,Ct),(E=z.onVnodeBeforeMount)&&yn(E,bt,V)}it&&jn(V,null,bt,"beforeMount");const _t=Ph(pt,J);_t&&J.beforeEnter(k),s(k,Z,lt),((E=z&&z.onVnodeMounted)||_t||it)&&an(()=>{E&&yn(E,bt,V),_t&&J.enter(k),it&&jn(V,null,bt,"mounted")},pt)},rt=(V,Z,lt,bt,pt)=>{if(lt&&A(V,lt),bt)for(let Ct=0;Ct{for(let E=k;E{const b=Z.el=V.el;let{patchFlag:k,dynamicChildren:E,dirs:z}=Z;k|=V.patchFlag&16;const G=V.props||Oe,J=Z.props||Oe;let it;if(lt&&Bi(lt,!1),(it=J.onVnodeBeforeUpdate)&&yn(it,lt,Z,V),z&&jn(Z,V,lt,"beforeUpdate"),lt&&Bi(lt,!0),E?ut(V.dynamicChildren,E,b,lt,bt,la(Z,pt),Ct):D||at(V,Z,b,null,lt,bt,la(Z,pt),Ct,!1),k>0){if(k&16)vt(b,Z,G,J,lt,bt,pt);else if(k&2&&G.class!==J.class&&i(b,"class",null,J.class,pt),k&4&&i(b,"style",G.style,J.style,pt),k&8){const _t=Z.dynamicProps;for(let Ot=0;Ot<_t.length;Ot++){const Nt=_t[Ot],$t=G[Nt],Ft=J[Nt];(Ft!==$t||Nt==="value")&&i(b,Nt,$t,Ft,pt,V.children,lt,bt,zt)}}k&1&&V.children!==Z.children&&g(b,Z.children)}else!D&&E==null&&vt(b,Z,G,J,lt,bt,pt);((it=J.onVnodeUpdated)||z)&&an(()=>{it&&yn(it,lt,Z,V),z&&jn(Z,V,lt,"updated")},bt)},ut=(V,Z,lt,bt,pt,Ct,D)=>{for(let b=0;b{if(lt!==bt){if(lt!==Oe)for(const b in lt)!hr(b)&&!(b in bt)&&i(V,b,lt[b],null,D,Z.children,pt,Ct,zt);for(const b in bt){if(hr(b))continue;const k=bt[b],E=lt[b];k!==E&&b!=="value"&&i(V,b,E,k,D,Z.children,pt,Ct,zt)}"value"in bt&&i(V,"value",lt.value,bt.value,D)}},ot=(V,Z,lt,bt,pt,Ct,D,b,k)=>{const E=Z.el=V?V.el:h(""),z=Z.anchor=V?V.anchor:h("");let{patchFlag:G,dynamicChildren:J,slotScopeIds:it}=Z;it&&(b=b?b.concat(it):it),V==null?(s(E,lt,bt),s(z,lt,bt),X(Z.children||[],lt,z,pt,Ct,D,b,k)):G>0&&G&64&&J&&V.dynamicChildren?(ut(V.dynamicChildren,J,lt,pt,Ct,D,b),(Z.key!=null||pt&&Z===pt.subTree)&&Sh(V,Z,!0)):at(V,Z,lt,z,pt,Ct,D,b,k)},Lt=(V,Z,lt,bt,pt,Ct,D,b,k)=>{Z.slotScopeIds=b,V==null?Z.shapeFlag&512?pt.ctx.activate(Z,lt,bt,D,k):Dt(Z,lt,bt,pt,Ct,D,k):Mt(V,Z,k)},Dt=(V,Z,lt,bt,pt,Ct,D)=>{const b=V.component=l_(V,bt,pt);if(Ms(V)&&(b.ctx.renderer=jt),u_(b),b.asyncDep){if(pt&&pt.registerDep(b,yt),!V.el){const k=b.subTree=st(dn);B(null,k,Z,lt)}}else yt(b,V,Z,lt,pt,Ct,D)},Mt=(V,Z,lt)=>{const bt=Z.component=V.component;if(mp(V,Z,lt))if(bt.asyncDep&&!bt.asyncResolved){At(bt,Z,lt);return}else bt.next=Z,cp(bt.update),bt.effect.dirty=!0,bt.update();else Z.el=V.el,bt.vnode=Z},yt=(V,Z,lt,bt,pt,Ct,D)=>{const b=()=>{if(V.isMounted){let{next:z,bu:G,u:J,parent:it,vnode:_t}=V;{const me=Eh(V);if(me){z&&(z.el=_t.el,At(V,z,D)),me.asyncDep.then(()=>{V.isUnmounted||b()});return}}let Ot=z,Nt;Bi(V,!1),z?(z.el=_t.el,At(V,z,D)):z=_t,G&&Yo(G),(Nt=z.props&&z.props.onVnodeBeforeUpdate)&&yn(Nt,it,z,_t),Bi(V,!0);const $t=oa(V),Ft=V.subTree;V.subTree=$t,S(Ft,$t,v(Ft.el),ft(Ft),V,pt,Ct),z.el=$t.el,Ot===null&&gp(V,$t.el),J&&an(J,pt),(Nt=z.props&&z.props.onVnodeUpdated)&&an(()=>yn(Nt,it,z,_t),pt)}else{let z;const{el:G,props:J}=Z,{bm:it,m:_t,parent:Ot}=V,Nt=fr(Z);if(Bi(V,!1),it&&Yo(it),!Nt&&(z=J&&J.onVnodeBeforeMount)&&yn(z,Ot,Z),Bi(V,!0),G&&he){const $t=()=>{V.subTree=oa(V),he(G,V.subTree,V,pt,null)};Nt?Z.type.__asyncLoader().then(()=>!V.isUnmounted&&$t()):$t()}else{const $t=V.subTree=oa(V);S(null,$t,lt,bt,V,pt,Ct),Z.el=$t.el}if(_t&&an(_t,pt),!Nt&&(z=J&&J.onVnodeMounted)){const $t=Z;an(()=>yn(z,Ot,$t),pt)}(Z.shapeFlag&256||Ot&&fr(Ot.vnode)&&Ot.vnode.shapeFlag&256)&&V.a&&an(V.a,pt),V.isMounted=!0,Z=lt=bt=null}},k=V.effect=new Xa(b,vn,()=>sl(E),V.scope),E=V.update=()=>{k.dirty&&k.run()};E.id=V.uid,Bi(V,!0),E()},At=(V,Z,lt)=>{Z.component=V;const bt=V.vnode.props;V.vnode=Z,V.next=null,Up(V,Z.props,bt,lt),Kp(V,Z.children,lt),$i(),hu(V),Gi()},at=(V,Z,lt,bt,pt,Ct,D,b,k=!1)=>{const E=V&&V.children,z=V?V.shapeFlag:0,G=Z.children,{patchFlag:J,shapeFlag:it}=Z;if(J>0){if(J&128){Rt(E,G,lt,bt,pt,Ct,D,b,k);return}else if(J&256){oe(E,G,lt,bt,pt,Ct,D,b,k);return}}it&8?(z&16&&zt(E,pt,Ct),G!==E&&g(lt,G)):z&16?it&16?Rt(E,G,lt,bt,pt,Ct,D,b,k):zt(E,pt,Ct,!0):(z&8&&g(lt,""),it&16&&X(G,lt,bt,pt,Ct,D,b,k))},oe=(V,Z,lt,bt,pt,Ct,D,b,k)=>{V=V||ur,Z=Z||ur;const E=V.length,z=Z.length,G=Math.min(E,z);let J;for(J=0;Jz?zt(V,pt,Ct,!0,!1,G):X(Z,lt,bt,pt,Ct,D,b,k,G)},Rt=(V,Z,lt,bt,pt,Ct,D,b,k)=>{let E=0;const z=Z.length;let G=V.length-1,J=z-1;for(;E<=G&&E<=J;){const it=V[E],_t=Z[E]=k?gi(Z[E]):En(Z[E]);if(zi(it,_t))S(it,_t,lt,null,pt,Ct,D,b,k);else break;E++}for(;E<=G&&E<=J;){const it=V[G],_t=Z[J]=k?gi(Z[J]):En(Z[J]);if(zi(it,_t))S(it,_t,lt,null,pt,Ct,D,b,k);else break;G--,J--}if(E>G){if(E<=J){const it=J+1,_t=itJ)for(;E<=G;)Ht(V[E],pt,Ct,!0),E++;else{const it=E,_t=E,Ot=new Map;for(E=_t;E<=J;E++){const fe=Z[E]=k?gi(Z[E]):En(Z[E]);fe.key!=null&&Ot.set(fe.key,E)}let Nt,$t=0;const Ft=J-_t+1;let me=!1,le=0;const ge=new Array(Ft);for(E=0;E=Ft){Ht(fe,pt,Ct,!0);continue}let be;if(fe.key!=null)be=Ot.get(fe.key);else for(Nt=_t;Nt<=J;Nt++)if(ge[Nt-_t]===0&&zi(fe,Z[Nt])){be=Nt;break}be===void 0?Ht(fe,pt,Ct,!0):(ge[be-_t]=E+1,be>=le?le=be:me=!0,S(fe,Z[be],lt,null,pt,Ct,D,b,k),$t++)}const Re=me?t_(ge):ur;for(Nt=Re.length-1,E=Ft-1;E>=0;E--){const fe=_t+E,be=Z[fe],De=fe+1{const{el:Ct,type:D,transition:b,children:k,shapeFlag:E}=V;if(E&6){Xt(V.component.subTree,Z,lt,bt);return}if(E&128){V.suspense.move(Z,lt,bt);return}if(E&64){D.move(V,Z,lt,jt);return}if(D===Gt){s(Ct,Z,lt);for(let G=0;Gb.enter(Ct),pt);else{const{leave:G,delayLeave:J,afterLeave:it}=b,_t=()=>s(Ct,Z,lt),Ot=()=>{G(Ct,()=>{_t(),it&&it()})};J?J(Ct,_t,Ot):Ot()}else s(Ct,Z,lt)},Ht=(V,Z,lt,bt=!1,pt=!1)=>{const{type:Ct,props:D,ref:b,children:k,dynamicChildren:E,shapeFlag:z,patchFlag:G,dirs:J}=V;if(b!=null&&cs(b,null,lt,V,!0),z&256){Z.ctx.deactivate(V);return}const it=z&1&&J,_t=!fr(V);let Ot;if(_t&&(Ot=D&&D.onVnodeBeforeUnmount)&&yn(Ot,Z,V),z&6)ae(V.component,lt,bt);else{if(z&128){V.suspense.unmount(lt,bt);return}it&&jn(V,null,Z,"beforeUnmount"),z&64?V.type.remove(V,Z,lt,pt,jt,bt):E&&(Ct!==Gt||G>0&&G&64)?zt(E,Z,lt,!1,!0):(Ct===Gt&&G&384||!pt&&z&16)&&zt(k,Z,lt),bt&&Me(V)}(_t&&(Ot=D&&D.onVnodeUnmounted)||it)&&an(()=>{Ot&&yn(Ot,Z,V),it&&jn(V,null,Z,"unmounted")},lt)},Me=V=>{const{type:Z,el:lt,anchor:bt,transition:pt}=V;if(Z===Gt){ce(lt,bt);return}if(Z===Xr){C(V);return}const Ct=()=>{c(lt),pt&&!pt.persisted&&pt.afterLeave&&pt.afterLeave()};if(V.shapeFlag&1&&pt&&!pt.persisted){const{leave:D,delayLeave:b}=pt,k=()=>D(lt,Ct);b?b(V.el,Ct,k):k()}else Ct()},ce=(V,Z)=>{let lt;for(;V!==Z;)lt=M(V),c(V),V=lt;c(Z)},ae=(V,Z,lt)=>{const{bum:bt,scope:pt,update:Ct,subTree:D,um:b}=V;bt&&Yo(bt),pt.stop(),Ct&&(Ct.active=!1,Ht(D,V,Z,lt)),b&&an(b,Z),an(()=>{V.isUnmounted=!0},Z),Z&&Z.pendingBranch&&!Z.isUnmounted&&V.asyncDep&&!V.asyncResolved&&V.suspenseId===Z.pendingId&&(Z.deps--,Z.deps===0&&Z.resolve())},zt=(V,Z,lt,bt=!1,pt=!1,Ct=0)=>{for(let D=Ct;DV.shapeFlag&6?ft(V.component.subTree):V.shapeFlag&128?V.suspense.next():M(V.anchor||V.el);let St=!1;const Tt=(V,Z,lt)=>{V==null?Z._vnode&&Ht(Z._vnode,null,null,!0):S(Z._vnode||null,V,Z,null,null,null,lt),St||(St=!0,hu(),as(),St=!1),Z._vnode=V},jt={p:S,um:Ht,m:Xt,r:Me,mt:Dt,mc:X,pc:at,pbc:ut,n:ft,o:t};let se,he;return n&&([se,he]=n(jt)),{render:Tt,hydrate:se,createApp:$p(Tt,se)}}function la({type:t,props:n},a){return a==="svg"&&t==="foreignObject"||a==="mathml"&&t==="annotation-xml"&&n&&n.encoding&&n.encoding.includes("html")?void 0:a}function Bi({effect:t,update:n},a){t.allowRecurse=n.allowRecurse=a}function Ph(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function Sh(t,n,a=!1){const s=t.children,c=n.children;if(Wt(s)&&Wt(c))for(let i=0;i>1,t[a[h]]<_?i=h+1:l=h;_0&&(n[s]=a[i-1]),a[i]=s)}}for(i=a.length,l=a[i-1];i-- >0;)a[i]=l,l=n[l];return a}function Eh(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Eh(n)}const e_=t=>t.__isTeleport,Gt=Symbol.for("v-fgt"),mr=Symbol.for("v-txt"),dn=Symbol.for("v-cmt"),Xr=Symbol.for("v-stc"),Qr=[];let Tn=null;function H(t=!1){Qr.push(Tn=t?null:[])}function n_(){Qr.pop(),Tn=Qr[Qr.length-1]||null}let ao=1;function wu(t){ao+=t}function Th(t){return t.dynamicChildren=ao>0?Tn||ur:null,n_(),ao>0&&Tn&&Tn.push(t),t}function tt(t,n,a,s,c,i){return Th(Y(t,n,a,s,c,i,!0))}function Et(t,n,a,s,c){return Th(st(t,n,a,s,c,!0))}function hs(t){return t?t.__v_isVNode===!0:!1}function zi(t,n){return t.type===n.type&&t.key===n.key}const Ps="__vInternal",Oh=({key:t})=>t??null,ts=({ref:t,ref_key:n,ref_for:a})=>(typeof t=="number"&&(t=""+t),t!=null?Ie(t)||Ge(t)||re(t)?{i:Ne,r:t,k:n,f:!!a}:t:null);function Y(t,n=null,a=null,s=0,c=null,i=t===Gt?0:1,l=!1,h=!1){const p={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Oh(n),ref:n&&ts(n),scopeId:ks,slotScopeIds:null,children:a,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:i,patchFlag:s,dynamicProps:c,dynamicChildren:null,appContext:null,ctx:Ne};return h?(hl(p,a),i&128&&t.normalize(p)):a&&(p.shapeFlag|=Ie(a)?8:16),ao>0&&!l&&Tn&&(p.patchFlag>0||i&6)&&p.patchFlag!==32&&Tn.push(p),p}const st=i_;function i_(t,n=null,a=null,s=0,c=null,i=!1){if((!t||t===lh)&&(t=dn),hs(t)){const h=ki(t,n,!0);return a&&hl(h,a),ao>0&&!i&&Tn&&(h.shapeFlag&6?Tn[Tn.indexOf(t)]=h:Tn.push(h)),h.patchFlag|=-2,h}if(f_(t)&&(t=t.__vccOpts),n){n=r_(n);let{class:h,style:p}=n;h&&!Ie(h)&&(n.class=We(h)),Ae(p)&&(Yc(p)&&!Wt(p)&&(p=$e({},p)),n.style=Fn(p))}const l=Ie(t)?1:yp(t)?128:e_(t)?64:Ae(t)?4:re(t)?2:0;return Y(t,n,a,s,c,l,i,!0)}function r_(t){return t?Yc(t)||Ps in t?$e({},t):t:null}function ki(t,n,a=!1){const{props:s,ref:c,patchFlag:i,children:l}=t,h=n?Ah(s||{},n):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&Oh(h),ref:n&&n.ref?a&&c?Wt(c)?c.concat(ts(n)):[c,ts(n)]:ts(n):c,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:l,target:t.target,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:n&&t.type!==Gt?i===-1?16:i|16:i,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:t.transition,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&ki(t.ssContent),ssFallback:t.ssFallback&&ki(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce}}function te(t=" ",n=0){return st(mr,null,t,n)}function o_(t,n){const a=st(Xr,null,t);return a.staticCount=n,a}function It(t="",n=!1){return n?(H(),Et(dn,null,t)):st(dn,null,t)}function En(t){return t==null||typeof t=="boolean"?st(dn):Wt(t)?st(Gt,null,t.slice()):typeof t=="object"?gi(t):st(mr,null,String(t))}function gi(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:ki(t)}function hl(t,n){let a=0;const{shapeFlag:s}=t;if(n==null)n=null;else if(Wt(n))a=16;else if(typeof n=="object")if(s&65){const c=n.default;c&&(c._c&&(c._d=!1),hl(t,c()),c._c&&(c._d=!0));return}else{a=32;const c=n._;!c&&!(Ps in n)?n._ctx=Ne:c===3&&Ne&&(Ne.slots._===1?n._=1:(n._=2,t.patchFlag|=1024))}else re(n)?(n={default:n,_ctx:Ne},a=32):(n=String(n),s&64?(a=16,n=[te(n)]):a=8);t.children=n,t.shapeFlag|=a}function Ah(...t){const n={};for(let a=0;aUe||Ne;let ds,Ba;{const t=Ac(),n=(a,s)=>{let c;return(c=t[a])||(c=t[a]=[]),c.push(s),i=>{c.length>1?c.forEach(l=>l(i)):c[0](i)}};ds=n("__VUE_INSTANCE_SETTERS__",a=>Ue=a),Ba=n("__VUE_SSR_SETTERS__",a=>Ss=a)}const go=t=>{const n=Ue;return ds(t),t.scope.on(),()=>{t.scope.off(),ds(n)}},ku=()=>{Ue&&Ue.scope.off(),ds(null)};function Bh(t){return t.vnode.shapeFlag&4}let Ss=!1;function u_(t,n=!1){n&&Ba(n);const{props:a,children:s}=t.vnode,c=Bh(t);Hp(t,a,c,n),qp(t,s);const i=c?c_(t,n):void 0;return n&&Ba(!1),i}function c_(t,n){const a=t.type;t.accessCache=Object.create(null),t.proxy=bs(new Proxy(t.ctx,Rp));const{setup:s}=a;if(s){const c=t.setupContext=s.length>1?Dh(t):null,i=go(t);$i();const l=Li(s,t,0,[t.props,c]);if(Gi(),i(),Ec(l)){if(l.then(ku,ku),n)return l.then(h=>{Mu(t,h,n)}).catch(h=>{xs(h,t,0)});t.asyncDep=l}else Mu(t,l,n)}else Ih(t,n)}function Mu(t,n,a){re(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:Ae(n)&&(t.setupState=eh(n)),Ih(t,a)}let Cu;function Ih(t,n,a){const s=t.type;if(!t.render){if(!n&&Cu&&!s.render){const c=s.template||ul(t).template;if(c){const{isCustomElement:i,compilerOptions:l}=t.appContext.config,{delimiters:h,compilerOptions:p}=s,_=$e($e({isCustomElement:i,delimiters:h},l),p);s.render=Cu(c,_)}}t.render=s.render||vn}{const c=go(t);$i();try{Dp(t)}finally{Gi(),c()}}}function h_(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(n,a){return un(t,"get","$attrs"),n[a]}}))}function Dh(t){const n=a=>{t.exposed=a||{}};return{get attrs(){return h_(t)},slots:t.slots,emit:t.emit,expose:n}}function Es(t){if(t.exposed)return t.exposeProxy||(t.exposeProxy=new Proxy(eh(bs(t.exposed)),{get(n,a){if(a in n)return n[a];if(a in Yr)return Yr[a](t)},has(n,a){return a in n||a in Yr}}))}function d_(t,n=!0){return re(t)?t.displayName||t.name:t.name||n&&t.__name}function f_(t){return re(t)&&"__vccOpts"in t}const Yt=(t,n)=>ep(t,n,Ss);function dl(t,n,a){const s=arguments.length;return s===2?Ae(n)&&!Wt(n)?hs(n)?st(t,null,[n]):st(t,n):st(t,null,n):(s>3?a=Array.prototype.slice.call(arguments,2):s===3&&hs(a)&&(a=[a]),st(t,n,a))}const p_="3.4.19";/** +* @vue/runtime-dom v3.4.19 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/const __="http://www.w3.org/2000/svg",m_="http://www.w3.org/1998/Math/MathML",yi=typeof document<"u"?document:null,Pu=yi&&yi.createElement("template"),g_={insert:(t,n,a)=>{n.insertBefore(t,a||null)},remove:t=>{const n=t.parentNode;n&&n.removeChild(t)},createElement:(t,n,a,s)=>{const c=n==="svg"?yi.createElementNS(__,t):n==="mathml"?yi.createElementNS(m_,t):yi.createElement(t,a?{is:a}:void 0);return t==="select"&&s&&s.multiple!=null&&c.setAttribute("multiple",s.multiple),c},createText:t=>yi.createTextNode(t),createComment:t=>yi.createComment(t),setText:(t,n)=>{t.nodeValue=n},setElementText:(t,n)=>{t.textContent=n},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>yi.querySelector(t),setScopeId(t,n){t.setAttribute(n,"")},insertStaticContent(t,n,a,s,c,i){const l=a?a.previousSibling:n.lastChild;if(c&&(c===i||c.nextSibling))for(;n.insertBefore(c.cloneNode(!0),a),!(c===i||!(c=c.nextSibling)););else{Pu.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const h=Pu.content;if(s==="svg"||s==="mathml"){const p=h.firstChild;for(;p.firstChild;)h.appendChild(p.firstChild);h.removeChild(p)}n.insertBefore(h,a)}return[l?l.nextSibling:n.firstChild,a?a.previousSibling:n.lastChild]}},ci="transition",Zr="animation",lo=Symbol("_vtc"),Ts=(t,{slots:n})=>dl(kp,y_(t),n);Ts.displayName="Transition";const jh={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String};Ts.props=$e({},fh,jh);const Ii=(t,n=[])=>{Wt(t)?t.forEach(a=>a(...n)):t&&t(...n)},Su=t=>t?Wt(t)?t.some(n=>n.length>1):t.length>1:!1;function y_(t){const n={};for(const ot in t)ot in jh||(n[ot]=t[ot]);if(t.css===!1)return n;const{name:a="v",type:s,duration:c,enterFromClass:i=`${a}-enter-from`,enterActiveClass:l=`${a}-enter-active`,enterToClass:h=`${a}-enter-to`,appearFromClass:p=i,appearActiveClass:_=l,appearToClass:g=h,leaveFromClass:v=`${a}-leave-from`,leaveActiveClass:M=`${a}-leave-active`,leaveToClass:A=`${a}-leave-to`}=t,P=v_(c),S=P&&P[0],N=P&&P[1],{onBeforeEnter:B,onEnter:F,onEnterCancelled:O,onLeave:C,onLeaveCancelled:I,onBeforeAppear:$=B,onAppear:rt=F,onAppearCancelled:X=O}=n,nt=(ot,Lt,Dt)=>{Di(ot,Lt?g:h),Di(ot,Lt?_:l),Dt&&Dt()},ut=(ot,Lt)=>{ot._isLeaving=!1,Di(ot,v),Di(ot,A),Di(ot,M),Lt&&Lt()},vt=ot=>(Lt,Dt)=>{const Mt=ot?rt:F,yt=()=>nt(Lt,ot,Dt);Ii(Mt,[Lt,yt]),Eu(()=>{Di(Lt,ot?p:i),hi(Lt,ot?g:h),Su(Mt)||Tu(Lt,s,S,yt)})};return $e(n,{onBeforeEnter(ot){Ii(B,[ot]),hi(ot,i),hi(ot,l)},onBeforeAppear(ot){Ii($,[ot]),hi(ot,p),hi(ot,_)},onEnter:vt(!1),onAppear:vt(!0),onLeave(ot,Lt){ot._isLeaving=!0;const Dt=()=>ut(ot,Lt);hi(ot,v),L_(),hi(ot,M),Eu(()=>{ot._isLeaving&&(Di(ot,v),hi(ot,A),Su(C)||Tu(ot,s,N,Dt))}),Ii(C,[ot,Dt])},onEnterCancelled(ot){nt(ot,!1),Ii(O,[ot])},onAppearCancelled(ot){nt(ot,!0),Ii(X,[ot])},onLeaveCancelled(ot){ut(ot),Ii(I,[ot])}})}function v_(t){if(t==null)return null;if(Ae(t))return[ua(t.enter),ua(t.leave)];{const n=ua(t);return[n,n]}}function ua(t){return Cf(t)}function hi(t,n){n.split(/\s+/).forEach(a=>a&&t.classList.add(a)),(t[lo]||(t[lo]=new Set)).add(n)}function Di(t,n){n.split(/\s+/).forEach(s=>s&&t.classList.remove(s));const a=t[lo];a&&(a.delete(n),a.size||(t[lo]=void 0))}function Eu(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let b_=0;function Tu(t,n,a,s){const c=t._endId=++b_,i=()=>{c===t._endId&&s()};if(a)return setTimeout(i,a);const{type:l,timeout:h,propCount:p}=x_(t,n);if(!l)return s();const _=l+"end";let g=0;const v=()=>{t.removeEventListener(_,M),i()},M=A=>{A.target===t&&++g>=p&&v()};setTimeout(()=>{g(a[P]||"").split(", "),c=s(`${ci}Delay`),i=s(`${ci}Duration`),l=Ou(c,i),h=s(`${Zr}Delay`),p=s(`${Zr}Duration`),_=Ou(h,p);let g=null,v=0,M=0;n===ci?l>0&&(g=ci,v=l,M=i.length):n===Zr?_>0&&(g=Zr,v=_,M=p.length):(v=Math.max(l,_),g=v>0?l>_?ci:Zr:null,M=g?g===ci?i.length:p.length:0);const A=g===ci&&/\b(transform|all)(,|$)/.test(s(`${ci}Property`).toString());return{type:g,timeout:v,propCount:M,hasTransform:A}}function Ou(t,n){for(;t.lengthAu(a)+Au(t[s])))}function Au(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function L_(){return document.body.offsetHeight}function w_(t,n,a){const s=t[lo];s&&(n=(n?[n,...s]:[...s]).join(" ")),n==null?t.removeAttribute("class"):a?t.setAttribute("class",n):t.className=n}const uo=Symbol("_vod"),Os={beforeMount(t,{value:n},{transition:a}){t[uo]=t.style.display==="none"?"":t.style.display,a&&n?a.beforeEnter(t):qr(t,n)},mounted(t,{value:n},{transition:a}){a&&n&&a.enter(t)},updated(t,{value:n,oldValue:a},{transition:s}){!n==!a&&(t.style.display===t[uo]||!n)||(s?n?(s.beforeEnter(t),qr(t,!0),s.enter(t)):s.leave(t,()=>{qr(t,!1)}):qr(t,n))},beforeUnmount(t,{value:n}){qr(t,n)}};function qr(t,n){t.style.display=n?t[uo]:"none"}const k_=Symbol(""),M_=/(^|;)\s*display\s*:/;function C_(t,n,a){const s=t.style,c=Ie(a),i=s.display;let l=!1;if(a&&!c){if(n&&!Ie(n))for(const h in n)a[h]==null&&Ia(s,h,"");for(const h in a)h==="display"&&(l=!0),Ia(s,h,a[h])}else if(c){if(n!==a){const h=s[k_];h&&(a+=";"+h),s.cssText=a,l=M_.test(a)}}else n&&t.removeAttribute("style");uo in t&&(t[uo]=l?s.display:"",s.display=i)}const Ru=/\s*!important$/;function Ia(t,n,a){if(Wt(a))a.forEach(s=>Ia(t,n,s));else if(a==null&&(a=""),n.startsWith("--"))t.setProperty(n,a);else{const s=P_(t,n);Ru.test(a)?t.setProperty(xr(s),a.replace(Ru,""),"important"):t[s]=a}}const Bu=["Webkit","Moz","ms"],ca={};function P_(t,n){const a=ca[n];if(a)return a;let s=Vn(n);if(s!=="filter"&&s in t)return ca[n]=s;s=ys(s);for(let c=0;cha||(R_.then(()=>ha=0),ha=Date.now());function I_(t,n){const a=s=>{if(!s._vts)s._vts=Date.now();else if(s._vts<=a.attached)return;bn(D_(s,a.value),n,5,[s])};return a.value=t,a.attached=B_(),a}function D_(t,n){if(Wt(n)){const a=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{a.call(t),t._stopped=!0},n.map(s=>c=>!c._stopped&&s&&s(c))}else return n}const zu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,j_=(t,n,a,s,c,i,l,h,p)=>{const _=c==="svg";n==="class"?w_(t,s,_):n==="style"?C_(t,a,s):po(n)?Wa(n)||O_(t,n,a,s,l):(n[0]==="."?(n=n.slice(1),!0):n[0]==="^"?(n=n.slice(1),!1):z_(t,n,s,_))?E_(t,n,s,i,l,h,p):(n==="true-value"?t._trueValue=s:n==="false-value"&&(t._falseValue=s),S_(t,n,s,_))};function z_(t,n,a,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in t&&zu(n)&&re(a));if(n==="spellcheck"||n==="draggable"||n==="translate"||n==="form"||n==="list"&&t.tagName==="INPUT"||n==="type"&&t.tagName==="TEXTAREA")return!1;if(n==="width"||n==="height"){const c=t.tagName;if(c==="IMG"||c==="VIDEO"||c==="CANVAS"||c==="SOURCE")return!1}return zu(n)&&Ie(a)?!1:n in t}const Nu=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Wt(n)?a=>Yo(n,a):n};function N_(t){t.target.composing=!0}function Fu(t){const n=t.target;n.composing&&(n.composing=!1,n.dispatchEvent(new Event("input")))}const da=Symbol("_assign"),F_={created(t,{modifiers:{lazy:n,trim:a,number:s}},c){t[da]=Nu(c);const i=s||c.props&&c.props.type==="number";ar(t,n?"change":"input",l=>{if(l.target.composing)return;let h=t.value;a&&(h=h.trim()),i&&(h=wa(h)),t[da](h)}),a&&ar(t,"change",()=>{t.value=t.value.trim()}),n||(ar(t,"compositionstart",N_),ar(t,"compositionend",Fu),ar(t,"change",Fu))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,modifiers:{lazy:a,trim:s,number:c}},i){if(t[da]=Nu(i),t.composing)return;const l=c||t.type==="number"?wa(t.value):t.value,h=n??"";l!==h&&(document.activeElement===t&&t.type!=="range"&&(a||s&&t.value.trim()===h)||(t.value=h))}},V_=["ctrl","shift","alt","meta"],$_={stop:t=>t.stopPropagation(),prevent:t=>t.preventDefault(),self:t=>t.target!==t.currentTarget,ctrl:t=>!t.ctrlKey,shift:t=>!t.shiftKey,alt:t=>!t.altKey,meta:t=>!t.metaKey,left:t=>"button"in t&&t.button!==0,middle:t=>"button"in t&&t.button!==1,right:t=>"button"in t&&t.button!==2,exact:(t,n)=>V_.some(a=>t[`${a}Key`]&&!n.includes(a))},fs=(t,n)=>{const a=t._withMods||(t._withMods={}),s=n.join(".");return a[s]||(a[s]=(c,...i)=>{for(let l=0;l{const n=H_().createApp(...t),{mount:a}=n;return n.mount=s=>{const c=q_(s);if(c)return a(c,!0,Z_(c))},n};function Z_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function q_(t){return Ie(t)?document.querySelector(t):t}let K_;function W_(){return K_}function fl(t,n={}){const a=n.head||W_();return a==null?void 0:a.push(t,n)}const J_=["title"],Y_={key:0,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},X_=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 3v1m0 16v1m9-9h-1M4 12H3m15.364 6.364l-.707-.707M6.343 6.343l-.707-.707m12.728 0l-.707.707M6.343 17.657l-.707.707M16 12a4 4 0 11-8 0 4 4 0 018 0z"},null,-1),Q_=[X_],tm={key:1,xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},em=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M20.354 15.354A9 9 0 018.646 3.646 9.003 9.003 0 0012 21a9.003 9.003 0 008.354-5.646z"},null,-1),nm=[em],zh={__name:"SwitchTheme",setup(t){const n={dark:"dark",light:"light"},a=Zt(null);window!==void 0&&(localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?a.value="dark":a.value="light",Ze(a,(c,i)=>{document.documentElement.classList.add(c),document.documentElement.classList.remove(i),localStorage.setItem("theme",c)},{immediate:!0}));const s=()=>{a.value===n.dark?a.value=n.light:a.value=n.dark};return(c,i)=>(H(),tt("button",{type:"button",onClick:s,title:a.value===n.light?"Change to dark mode":"Change to light mode"},[a.value===n.dark?(H(),tt("svg",Y_,Q_)):(H(),tt("svg",tm,nm))],8,J_))}};var im={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const rm=["aria-expanded"],om=Y("span",{class:"sr-only"},"Open main menu",-1),sm={key:0,class:"absolute top-full left-0 w-full z-50 bg-base-foreground text-base-content block shadow-md md:hidden print:hidden"},am={class:"font-normal container mx-auto"},lm={class:"flex flex-col m-0 p-0 border-t border-base-border"},um={__name:"NavbarMobile",setup(t){const{header_links:n}=im,a=Zt(!1),s=()=>{a.value=!a.value};return(c,i)=>{const l=gt("IconClose"),h=gt("IconHamburger"),p=gt("router-link"),_=gt("ClientOnly"),g=gt("TrackerReport"),v=gt("AnimationOpacity");return H(),tt(Gt,null,[Y("button",{type:"button",class:"inline-flex items-center p-2 z-50 ml-3 text-sm text-primary-content rounded-lg md:hidden print:hidden",title:"Menu","aria-controls":"mobile-menu","aria-expanded":a.value,onClick:s},[om,a.value?(H(),Et(l,{key:0})):(H(),Et(h,{key:1,class:"w-6 h-6"}))],8,rm),st(v,null,{default:mt(()=>[a.value?(H(),tt("div",sm,[Y("nav",am,[Y("ul",lm,[(H(!0),tt(Gt,null,ve(qt(n),(M,A)=>(H(),tt("li",{key:A,class:"border-b border-base-border"},[st(p,{to:M.link,class:"text-base-content w-full p-4 pt-3 pb-3 block box-border"},{default:mt(()=>[te(Jt(M.label),1)]),_:2},1032,["to"])]))),128)),Y("li",null,[st(_,null,{default:mt(()=>[st(zh,{class:"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})]),_:1})]),Y("li",null,[st(g,{icon:"","button-class":"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})])])])])):It("",!0)]),_:1})],64)}}};function cm(t){try{return new URL(t),!0}catch{return!1}}var hm={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const dm={class:"relative bg-header px-2 sm:px-4 py-2.5 shadow-sm shadow-base-muted pl-4 pr-4 h-9 align-middle flex items-center bg-primary-color"},fm={class:"container flex flex-wrap justify-between items-center mx-auto font-medium text-secondary-content"},pm=["src","alt"],_m={class:"relative hidden md:flex items-center ml-auto"},mm={class:"text-sm leading-6 font-normal"},gm={class:"flex space-x-8"},ym={class:"flex items-center border-l ml-6 pl-6 border-base-muted border-opacity-50"},vm={class:"flex items-center ml-2 border-base-muted"},bm={__name:"LayoutHeader",setup(t){const{header_links:n,header_logo_text:a,header_logo_url:s,base_url:c,project_name:i}=hm,l=cm(s)?s:(c+s).replace("//","/");return(h,p)=>{const _=gt("RouterLink"),g=gt("router-link"),v=gt("ClientOnly"),M=gt("TrackerReport");return H(),tt("header",dm,[Y("div",fm,[st(_,{to:"/",class:"flex items-center text-primary-content"},{default:mt(()=>[qt(s)?(H(),tt("img",{key:0,class:"mr-3 h-10",src:qt(l),alt:qt(a)},null,8,pm)):It("",!0),Y("span",null,Jt(qt(a)||qt(i)),1)]),_:1}),st(um),Y("div",_m,[Y("nav",mm,[Y("ul",gm,[(H(!0),tt(Gt,null,ve(qt(n),(A,P)=>(H(),tt("li",{key:P},[st(g,{to:A.link,class:"hover:text-primary-content text-primary-content"},{default:mt(()=>[te(Jt(A.label),1)]),_:2},1032,["to"])]))),128))])]),Y("div",ym,[st(v,null,{default:mt(()=>[st(zh,{class:"text-primary-content"})]),_:1})]),Y("div",vm,[st(M,{icon:""})])])])])}}};/*! + * vue-router v4.2.5 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */const lr=typeof window<"u";function xm(t){return t.__esModule||t[Symbol.toStringTag]==="Module"}const we=Object.assign;function pa(t,n){const a={};for(const s in n){const c=n[s];a[s]=On(c)?c.map(t):t(c)}return a}const to=()=>{},On=Array.isArray,Lm=/\/$/,wm=t=>t.replace(Lm,"");function _a(t,n,a="/"){let s,c={},i="",l="";const h=n.indexOf("#");let p=n.indexOf("?");return h=0&&(p=-1),p>-1&&(s=n.slice(0,p),i=n.slice(p+1,h>-1?h:n.length),c=t(i)),h>-1&&(s=s||n.slice(0,h),l=n.slice(h,n.length)),s=Pm(s??n,a),{fullPath:s+(i&&"?")+i+l,path:s,query:c,hash:l}}function km(t,n){const a=n.query?t(n.query):"";return n.path+(a&&"?")+a+(n.hash||"")}function $u(t,n){return!n||!t.toLowerCase().startsWith(n.toLowerCase())?t:t.slice(n.length)||"/"}function Mm(t,n,a){const s=n.matched.length-1,c=a.matched.length-1;return s>-1&&s===c&&gr(n.matched[s],a.matched[c])&&Nh(n.params,a.params)&&t(n.query)===t(a.query)&&n.hash===a.hash}function gr(t,n){return(t.aliasOf||t)===(n.aliasOf||n)}function Nh(t,n){if(Object.keys(t).length!==Object.keys(n).length)return!1;for(const a in t)if(!Cm(t[a],n[a]))return!1;return!0}function Cm(t,n){return On(t)?Gu(t,n):On(n)?Gu(n,t):t===n}function Gu(t,n){return On(n)?t.length===n.length&&t.every((a,s)=>a===n[s]):t.length===1&&t[0]===n}function Pm(t,n){if(t.startsWith("/"))return t;if(!t)return n;const a=n.split("/"),s=t.split("/"),c=s[s.length-1];(c===".."||c===".")&&s.push("");let i=a.length-1,l,h;for(l=0;l1&&i--;else break;return a.slice(0,i).join("/")+"/"+s.slice(l-(l===s.length?1:0)).join("/")}var co;(function(t){t.pop="pop",t.push="push"})(co||(co={}));var eo;(function(t){t.back="back",t.forward="forward",t.unknown=""})(eo||(eo={}));function Sm(t){if(!t)if(lr){const n=document.querySelector("base");t=n&&n.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),wm(t)}const Em=/^[^#]+#/;function Tm(t,n){return t.replace(Em,"#")+n}function Om(t,n){const a=document.documentElement.getBoundingClientRect(),s=t.getBoundingClientRect();return{behavior:n.behavior,left:s.left-a.left-(n.left||0),top:s.top-a.top-(n.top||0)}}const As=()=>({left:window.pageXOffset,top:window.pageYOffset});function Am(t){let n;if("el"in t){const a=t.el,s=typeof a=="string"&&a.startsWith("#"),c=typeof a=="string"?s?document.getElementById(a.slice(1)):document.querySelector(a):a;if(!c)return;n=Om(c,t)}else n=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(n):window.scrollTo(n.left!=null?n.left:window.pageXOffset,n.top!=null?n.top:window.pageYOffset)}function Hu(t,n){return(history.state?history.state.position-n:-1)+t}const Da=new Map;function Rm(t,n){Da.set(t,n)}function Bm(t){const n=Da.get(t);return Da.delete(t),n}let Im=()=>location.protocol+"//"+location.host;function Fh(t,n){const{pathname:a,search:s,hash:c}=n,i=t.indexOf("#");if(i>-1){let h=c.includes(t.slice(i))?t.slice(i).length:1,p=c.slice(h);return p[0]!=="/"&&(p="/"+p),$u(p,"")}return $u(a,t)+s+c}function Dm(t,n,a,s){let c=[],i=[],l=null;const h=({state:M})=>{const A=Fh(t,location),P=a.value,S=n.value;let N=0;if(M){if(a.value=A,n.value=M,l&&l===P){l=null;return}N=S?M.position-S.position:0}else s(A);c.forEach(B=>{B(a.value,P,{delta:N,type:co.pop,direction:N?N>0?eo.forward:eo.back:eo.unknown})})};function p(){l=a.value}function _(M){c.push(M);const A=()=>{const P=c.indexOf(M);P>-1&&c.splice(P,1)};return i.push(A),A}function g(){const{history:M}=window;M.state&&M.replaceState(we({},M.state,{scroll:As()}),"")}function v(){for(const M of i)M();i=[],window.removeEventListener("popstate",h),window.removeEventListener("beforeunload",g)}return window.addEventListener("popstate",h),window.addEventListener("beforeunload",g,{passive:!0}),{pauseListeners:p,listen:_,destroy:v}}function Uu(t,n,a,s=!1,c=!1){return{back:t,current:n,forward:a,replaced:s,position:window.history.length,scroll:c?As():null}}function jm(t){const{history:n,location:a}=window,s={value:Fh(t,a)},c={value:n.state};c.value||i(s.value,{back:null,current:s.value,forward:null,position:n.length-1,replaced:!0,scroll:null},!0);function i(p,_,g){const v=t.indexOf("#"),M=v>-1?(a.host&&document.querySelector("base")?t:t.slice(v))+p:Im()+t+p;try{n[g?"replaceState":"pushState"](_,"",M),c.value=_}catch(A){console.error(A),a[g?"replace":"assign"](M)}}function l(p,_){const g=we({},n.state,Uu(c.value.back,p,c.value.forward,!0),_,{position:c.value.position});i(p,g,!0),s.value=p}function h(p,_){const g=we({},c.value,n.state,{forward:p,scroll:As()});i(g.current,g,!0);const v=we({},Uu(s.value,p,null),{position:g.position+1},_);i(p,v,!1),s.value=p}return{location:s,state:c,push:h,replace:l}}function Vh(t){t=Sm(t);const n=jm(t),a=Dm(t,n.state,n.location,n.replace);function s(i,l=!0){l||a.pauseListeners(),history.go(i)}const c=we({location:"",base:t,go:s,createHref:Tm.bind(null,t)},n,a);return Object.defineProperty(c,"location",{enumerable:!0,get:()=>n.location.value}),Object.defineProperty(c,"state",{enumerable:!0,get:()=>n.state.value}),c}function zm(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),Vh(t)}function Nm(t){return typeof t=="string"||t&&typeof t=="object"}function $h(t){return typeof t=="string"||typeof t=="symbol"}const di={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0},Gh=Symbol("");var Zu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Zu||(Zu={}));function yr(t,n){return we(new Error,{type:t,[Gh]:!0},n)}function Yn(t,n){return t instanceof Error&&Gh in t&&(n==null||!!(t.type&n))}const qu="[^/]+?",Fm={sensitive:!1,strict:!1,start:!0,end:!0},Vm=/[.+*?^${}()[\]/\\]/g;function $m(t,n){const a=we({},Fm,n),s=[];let c=a.start?"^":"";const i=[];for(const _ of t){const g=_.length?[]:[90];a.strict&&!_.length&&(c+="/");for(let v=0;v<_.length;v++){const M=_[v];let A=40+(a.sensitive?.25:0);if(M.type===0)v||(c+="/"),c+=M.value.replace(Vm,"\\$&"),A+=40;else if(M.type===1){const{value:P,repeatable:S,optional:N,regexp:B}=M;i.push({name:P,repeatable:S,optional:N});const F=B||qu;if(F!==qu){A+=10;try{new RegExp(`(${F})`)}catch(C){throw new Error(`Invalid custom RegExp for param "${P}" (${F}): `+C.message)}}let O=S?`((?:${F})(?:/(?:${F}))*)`:`(${F})`;v||(O=N&&_.length<2?`(?:/${O})`:"/"+O),N&&(O+="?"),c+=O,A+=20,N&&(A+=-8),S&&(A+=-20),F===".*"&&(A+=-50)}g.push(A)}s.push(g)}if(a.strict&&a.end){const _=s.length-1;s[_][s[_].length-1]+=.7000000000000001}a.strict||(c+="/?"),a.end?c+="$":a.strict&&(c+="(?:/|$)");const l=new RegExp(c,a.sensitive?"":"i");function h(_){const g=_.match(l),v={};if(!g)return null;for(let M=1;Mn.length?n.length===1&&n[0]===80?1:-1:0}function Hm(t,n){let a=0;const s=t.score,c=n.score;for(;a0&&n[n.length-1]<0}const Um={type:0,value:""},Zm=/[a-zA-Z0-9_]/;function qm(t){if(!t)return[[]];if(t==="/")return[[Um]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function n(A){throw new Error(`ERR (${a})/"${_}": ${A}`)}let a=0,s=a;const c=[];let i;function l(){i&&c.push(i),i=[]}let h=0,p,_="",g="";function v(){_&&(a===0?i.push({type:0,value:_}):a===1||a===2||a===3?(i.length>1&&(p==="*"||p==="+")&&n(`A repeatable param (${_}) must be alone in its segment. eg: '/:ids+.`),i.push({type:1,value:_,regexp:g,repeatable:p==="*"||p==="+",optional:p==="*"||p==="?"})):n("Invalid state to consume buffer"),_="")}function M(){_+=p}for(;h{l(F)}:to}function l(g){if($h(g)){const v=s.get(g);v&&(s.delete(g),a.splice(a.indexOf(v),1),v.children.forEach(l),v.alias.forEach(l))}else{const v=a.indexOf(g);v>-1&&(a.splice(v,1),g.record.name&&s.delete(g.record.name),g.children.forEach(l),g.alias.forEach(l))}}function h(){return a}function p(g){let v=0;for(;v=0&&(g.record.path!==a[v].record.path||!Hh(g,a[v]));)v++;a.splice(v,0,g),g.record.name&&!Ju(g)&&s.set(g.record.name,g)}function _(g,v){let M,A={},P,S;if("name"in g&&g.name){if(M=s.get(g.name),!M)throw yr(1,{location:g});S=M.record.name,A=we(Wu(v.params,M.keys.filter(F=>!F.optional).map(F=>F.name)),g.params&&Wu(g.params,M.keys.map(F=>F.name))),P=M.stringify(A)}else if("path"in g)P=g.path,M=a.find(F=>F.re.test(P)),M&&(A=M.parse(P),S=M.record.name);else{if(M=v.name?s.get(v.name):a.find(F=>F.re.test(v.path)),!M)throw yr(1,{location:g,currentLocation:v});S=M.record.name,A=we({},v.params,g.params),P=M.stringify(A)}const N=[];let B=M;for(;B;)N.unshift(B.record),B=B.parent;return{name:S,path:P,params:A,matched:N,meta:Xm(N)}}return t.forEach(g=>i(g)),{addRoute:i,resolve:_,removeRoute:l,getRoutes:h,getRecordMatcher:c}}function Wu(t,n){const a={};for(const s of n)s in t&&(a[s]=t[s]);return a}function Jm(t){return{path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:void 0,beforeEnter:t.beforeEnter,props:Ym(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}}}function Ym(t){const n={},a=t.props||!1;if("component"in t)n.default=a;else for(const s in t.components)n[s]=typeof a=="object"?a[s]:a;return n}function Ju(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Xm(t){return t.reduce((n,a)=>we(n,a.meta),{})}function Yu(t,n){const a={};for(const s in t)a[s]=s in n?n[s]:t[s];return a}function Hh(t,n){return n.children.some(a=>a===t||Hh(t,a))}const Uh=/#/g,Qm=/&/g,tg=/\//g,eg=/=/g,ng=/\?/g,Zh=/\+/g,ig=/%5B/g,rg=/%5D/g,qh=/%5E/g,og=/%60/g,Kh=/%7B/g,sg=/%7C/g,Wh=/%7D/g,ag=/%20/g;function pl(t){return encodeURI(""+t).replace(sg,"|").replace(ig,"[").replace(rg,"]")}function lg(t){return pl(t).replace(Kh,"{").replace(Wh,"}").replace(qh,"^")}function ja(t){return pl(t).replace(Zh,"%2B").replace(ag,"+").replace(Uh,"%23").replace(Qm,"%26").replace(og,"`").replace(Kh,"{").replace(Wh,"}").replace(qh,"^")}function ug(t){return ja(t).replace(eg,"%3D")}function cg(t){return pl(t).replace(Uh,"%23").replace(ng,"%3F")}function hg(t){return t==null?"":cg(t).replace(tg,"%2F")}function ps(t){try{return decodeURIComponent(""+t)}catch{}return""+t}function dg(t){const n={};if(t===""||t==="?")return n;const s=(t[0]==="?"?t.slice(1):t).split("&");for(let c=0;ci&&ja(i)):[s&&ja(s)]).forEach(i=>{i!==void 0&&(n+=(n.length?"&":"")+a,i!=null&&(n+="="+i))})}return n}function fg(t){const n={};for(const a in t){const s=t[a];s!==void 0&&(n[a]=On(s)?s.map(c=>c==null?null:""+c):s==null?s:""+s)}return n}const pg=Symbol(""),Qu=Symbol(""),Rs=Symbol(""),_l=Symbol(""),za=Symbol("");function Kr(){let t=[];function n(s){return t.push(s),()=>{const c=t.indexOf(s);c>-1&&t.splice(c,1)}}function a(){t=[]}return{add:n,list:()=>t.slice(),reset:a}}function vi(t,n,a,s,c){const i=s&&(s.enterCallbacks[c]=s.enterCallbacks[c]||[]);return()=>new Promise((l,h)=>{const p=v=>{v===!1?h(yr(4,{from:a,to:n})):v instanceof Error?h(v):Nm(v)?h(yr(2,{from:n,to:v})):(i&&s.enterCallbacks[c]===i&&typeof v=="function"&&i.push(v),l())},_=t.call(s&&s.instances[c],n,a,p);let g=Promise.resolve(_);t.length<3&&(g=g.then(p)),g.catch(v=>h(v))})}function ma(t,n,a,s){const c=[];for(const i of t)for(const l in i.components){let h=i.components[l];if(!(n!=="beforeRouteEnter"&&!i.instances[l]))if(_g(h)){const _=(h.__vccOpts||h)[n];_&&c.push(vi(_,a,s,i,l))}else{let p=h();c.push(()=>p.then(_=>{if(!_)return Promise.reject(new Error(`Couldn't resolve component "${l}" at "${i.path}"`));const g=xm(_)?_.default:_;i.components[l]=g;const M=(g.__vccOpts||g)[n];return M&&vi(M,a,s,i,l)()}))}}return c}function _g(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function tc(t){const n=xn(Rs),a=xn(_l),s=Yt(()=>n.resolve(qt(t.to))),c=Yt(()=>{const{matched:p}=s.value,{length:_}=p,g=p[_-1],v=a.matched;if(!g||!v.length)return-1;const M=v.findIndex(gr.bind(null,g));if(M>-1)return M;const A=ec(p[_-2]);return _>1&&ec(g)===A&&v[v.length-1].path!==A?v.findIndex(gr.bind(null,p[_-2])):M}),i=Yt(()=>c.value>-1&&vg(a.params,s.value.params)),l=Yt(()=>c.value>-1&&c.value===a.matched.length-1&&Nh(a.params,s.value.params));function h(p={}){return yg(p)?n[qt(t.replace)?"replace":"push"](qt(t.to)).catch(to):Promise.resolve()}return{route:s,href:Yt(()=>s.value.href),isActive:i,isExactActive:l,navigate:h}}const mg=mh({name:"RouterLink",compatConfig:{MODE:3},props:{to:{type:[String,Object],required:!0},replace:Boolean,activeClass:String,exactActiveClass:String,custom:Boolean,ariaCurrentValue:{type:String,default:"page"}},useLink:tc,setup(t,{slots:n}){const a=_o(tc(t)),{options:s}=xn(Rs),c=Yt(()=>({[nc(t.activeClass,s.linkActiveClass,"router-link-active")]:a.isActive,[nc(t.exactActiveClass,s.linkExactActiveClass,"router-link-exact-active")]:a.isExactActive}));return()=>{const i=n.default&&n.default(a);return t.custom?i:dl("a",{"aria-current":a.isExactActive?t.ariaCurrentValue:null,href:a.href,onClick:a.navigate,class:c.value},i)}}}),gg=mg;function yg(t){if(!(t.metaKey||t.altKey||t.ctrlKey||t.shiftKey)&&!t.defaultPrevented&&!(t.button!==void 0&&t.button!==0)){if(t.currentTarget&&t.currentTarget.getAttribute){const n=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(n))return}return t.preventDefault&&t.preventDefault(),!0}}function vg(t,n){for(const a in n){const s=n[a],c=t[a];if(typeof s=="string"){if(s!==c)return!1}else if(!On(c)||c.length!==s.length||s.some((i,l)=>i!==c[l]))return!1}return!0}function ec(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const nc=(t,n,a)=>t??n??a,bg=mh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:a}){const s=xn(za),c=Yt(()=>t.route||s.value),i=xn(Qu,0),l=Yt(()=>{let _=qt(i);const{matched:g}=c.value;let v;for(;(v=g[_])&&!v.components;)_++;return _}),h=Yt(()=>c.value.matched[l.value]);Qo(Qu,Yt(()=>l.value+1)),Qo(pg,h),Qo(za,c);const p=Zt();return Ze(()=>[p.value,h.value,t.name],([_,g,v],[M,A,P])=>{g&&(g.instances[v]=_,A&&A!==g&&_&&_===M&&(g.leaveGuards.size||(g.leaveGuards=A.leaveGuards),g.updateGuards.size||(g.updateGuards=A.updateGuards))),_&&g&&(!A||!gr(g,A)||!M)&&(g.enterCallbacks[v]||[]).forEach(S=>S(_))},{flush:"post"}),()=>{const _=c.value,g=t.name,v=h.value,M=v&&v.components[g];if(!M)return ic(a.default,{Component:M,route:_});const A=v.props[g],P=A?A===!0?_.params:typeof A=="function"?A(_):A:null,N=dl(M,we({},P,n,{onVnodeUnmounted:B=>{B.component.isUnmounted&&(v.instances[g]=null)},ref:p}));return ic(a.default,{Component:N,route:_})||N}}});function ic(t,n){if(!t)return null;const a=t(n);return a.length===1?a[0]:a}const xg=bg;function Lg(t){const n=Wm(t.routes,t),a=t.parseQuery||dg,s=t.stringifyQuery||Xu,c=t.history,i=Kr(),l=Kr(),h=Kr(),p=np(di);let _=di;lr&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const g=pa.bind(null,ft=>""+ft),v=pa.bind(null,hg),M=pa.bind(null,ps);function A(ft,St){let Tt,jt;return $h(ft)?(Tt=n.getRecordMatcher(ft),jt=St):jt=ft,n.addRoute(jt,Tt)}function P(ft){const St=n.getRecordMatcher(ft);St&&n.removeRoute(St)}function S(){return n.getRoutes().map(ft=>ft.record)}function N(ft){return!!n.getRecordMatcher(ft)}function B(ft,St){if(St=we({},St||p.value),typeof ft=="string"){const Z=_a(a,ft,St.path),lt=n.resolve({path:Z.path},St),bt=c.createHref(Z.fullPath);return we(Z,lt,{params:M(lt.params),hash:ps(Z.hash),redirectedFrom:void 0,href:bt})}let Tt;if("path"in ft)Tt=we({},ft,{path:_a(a,ft.path,St.path).path});else{const Z=we({},ft.params);for(const lt in Z)Z[lt]==null&&delete Z[lt];Tt=we({},ft,{params:v(Z)}),St.params=v(St.params)}const jt=n.resolve(Tt,St),se=ft.hash||"";jt.params=g(M(jt.params));const he=km(s,we({},ft,{hash:lg(se),path:jt.path})),V=c.createHref(he);return we({fullPath:he,hash:se,query:s===Xu?fg(ft.query):ft.query||{}},jt,{redirectedFrom:void 0,href:V})}function F(ft){return typeof ft=="string"?_a(a,ft,p.value.path):we({},ft)}function O(ft,St){if(_!==ft)return yr(8,{from:St,to:ft})}function C(ft){return rt(ft)}function I(ft){return C(we(F(ft),{replace:!0}))}function $(ft){const St=ft.matched[ft.matched.length-1];if(St&&St.redirect){const{redirect:Tt}=St;let jt=typeof Tt=="function"?Tt(ft):Tt;return typeof jt=="string"&&(jt=jt.includes("?")||jt.includes("#")?jt=F(jt):{path:jt},jt.params={}),we({query:ft.query,hash:ft.hash,params:"path"in jt?{}:ft.params},jt)}}function rt(ft,St){const Tt=_=B(ft),jt=p.value,se=ft.state,he=ft.force,V=ft.replace===!0,Z=$(Tt);if(Z)return rt(we(F(Z),{state:typeof Z=="object"?we({},se,Z.state):se,force:he,replace:V}),St||Tt);const lt=Tt;lt.redirectedFrom=St;let bt;return!he&&Mm(s,jt,Tt)&&(bt=yr(16,{to:lt,from:jt}),Xt(jt,jt,!0,!1)),(bt?Promise.resolve(bt):ut(lt,jt)).catch(pt=>Yn(pt)?Yn(pt,2)?pt:Rt(pt):at(pt,lt,jt)).then(pt=>{if(pt){if(Yn(pt,2))return rt(we({replace:V},F(pt.to),{state:typeof pt.to=="object"?we({},se,pt.to.state):se,force:he}),St||lt)}else pt=ot(lt,jt,!0,V,se);return vt(lt,jt,pt),pt})}function X(ft,St){const Tt=O(ft,St);return Tt?Promise.reject(Tt):Promise.resolve()}function nt(ft){const St=ce.values().next().value;return St&&typeof St.runWithContext=="function"?St.runWithContext(ft):ft()}function ut(ft,St){let Tt;const[jt,se,he]=wg(ft,St);Tt=ma(jt.reverse(),"beforeRouteLeave",ft,St);for(const Z of jt)Z.leaveGuards.forEach(lt=>{Tt.push(vi(lt,ft,St))});const V=X.bind(null,ft,St);return Tt.push(V),zt(Tt).then(()=>{Tt=[];for(const Z of i.list())Tt.push(vi(Z,ft,St));return Tt.push(V),zt(Tt)}).then(()=>{Tt=ma(se,"beforeRouteUpdate",ft,St);for(const Z of se)Z.updateGuards.forEach(lt=>{Tt.push(vi(lt,ft,St))});return Tt.push(V),zt(Tt)}).then(()=>{Tt=[];for(const Z of he)if(Z.beforeEnter)if(On(Z.beforeEnter))for(const lt of Z.beforeEnter)Tt.push(vi(lt,ft,St));else Tt.push(vi(Z.beforeEnter,ft,St));return Tt.push(V),zt(Tt)}).then(()=>(ft.matched.forEach(Z=>Z.enterCallbacks={}),Tt=ma(he,"beforeRouteEnter",ft,St),Tt.push(V),zt(Tt))).then(()=>{Tt=[];for(const Z of l.list())Tt.push(vi(Z,ft,St));return Tt.push(V),zt(Tt)}).catch(Z=>Yn(Z,8)?Z:Promise.reject(Z))}function vt(ft,St,Tt){h.list().forEach(jt=>nt(()=>jt(ft,St,Tt)))}function ot(ft,St,Tt,jt,se){const he=O(ft,St);if(he)return he;const V=St===di,Z=lr?history.state:{};Tt&&(jt||V?c.replace(ft.fullPath,we({scroll:V&&Z&&Z.scroll},se)):c.push(ft.fullPath,se)),p.value=ft,Xt(ft,St,Tt,V),Rt()}let Lt;function Dt(){Lt||(Lt=c.listen((ft,St,Tt)=>{if(!ae.listening)return;const jt=B(ft),se=$(jt);if(se){rt(we(se,{replace:!0}),jt).catch(to);return}_=jt;const he=p.value;lr&&Rm(Hu(he.fullPath,Tt.delta),As()),ut(jt,he).catch(V=>Yn(V,12)?V:Yn(V,2)?(rt(V.to,jt).then(Z=>{Yn(Z,20)&&!Tt.delta&&Tt.type===co.pop&&c.go(-1,!1)}).catch(to),Promise.reject()):(Tt.delta&&c.go(-Tt.delta,!1),at(V,jt,he))).then(V=>{V=V||ot(jt,he,!1),V&&(Tt.delta&&!Yn(V,8)?c.go(-Tt.delta,!1):Tt.type===co.pop&&Yn(V,20)&&c.go(-1,!1)),vt(jt,he,V)}).catch(to)}))}let Mt=Kr(),yt=Kr(),At;function at(ft,St,Tt){Rt(ft);const jt=yt.list();return jt.length?jt.forEach(se=>se(ft,St,Tt)):console.error(ft),Promise.reject(ft)}function oe(){return At&&p.value!==di?Promise.resolve():new Promise((ft,St)=>{Mt.add([ft,St])})}function Rt(ft){return At||(At=!ft,Dt(),Mt.list().forEach(([St,Tt])=>ft?Tt(ft):St()),Mt.reset()),ft}function Xt(ft,St,Tt,jt){const{scrollBehavior:se}=t;if(!lr||!se)return Promise.resolve();const he=!Tt&&Bm(Hu(ft.fullPath,0))||(jt||!Tt)&&history.state&&history.state.scroll||null;return Ls().then(()=>se(ft,St,he)).then(V=>V&&Am(V)).catch(V=>at(V,ft,St))}const Ht=ft=>c.go(ft);let Me;const ce=new Set,ae={currentRoute:p,listening:!0,addRoute:A,removeRoute:P,hasRoute:N,getRoutes:S,resolve:B,options:t,push:C,replace:I,go:Ht,back:()=>Ht(-1),forward:()=>Ht(1),beforeEach:i.add,beforeResolve:l.add,afterEach:h.add,onError:yt.add,isReady:oe,install(ft){const St=this;ft.component("RouterLink",gg),ft.component("RouterView",xg),ft.config.globalProperties.$router=St,Object.defineProperty(ft.config.globalProperties,"$route",{enumerable:!0,get:()=>qt(p)}),lr&&!Me&&p.value===di&&(Me=!0,C(c.location).catch(se=>{}));const Tt={};for(const se in di)Object.defineProperty(Tt,se,{get:()=>p.value[se],enumerable:!0});ft.provide(Rs,St),ft.provide(_l,Wc(Tt)),ft.provide(za,p);const jt=ft.unmount;ce.add(ft),ft.unmount=function(){ce.delete(ft),ce.size<1&&(_=di,Lt&&Lt(),Lt=null,p.value=di,Me=!1,At=!1),jt()}}};function zt(ft){return ft.reduce((St,Tt)=>St.then(()=>nt(Tt)),Promise.resolve())}return ae}function wg(t,n){const a=[],s=[],c=[],i=Math.max(n.matched.length,t.matched.length);for(let l=0;lgr(_,h))?s.push(h):a.push(h));const p=t.matched[l];p&&(n.matched.find(_=>gr(_,p))||c.push(p))}return[a,s,c]}function Bs(){return xn(Rs)}function Jh(){return xn(_l)}var kg=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Yh;const Is=t=>Yh=t,Xh=Symbol();function Na(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var no;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(no||(no={}));function Mg(){const t=Dc(!0),n=t.run(()=>Zt({}));let a=[],s=[];const c=bs({install(i){Is(c),c._a=i,i.provide(Xh,c),i.config.globalProperties.$pinia=c,s.forEach(l=>a.push(l)),s=[]},use(i){return!this._a&&!kg?s.push(i):a.push(i),this},_p:a,_a:null,_e:t,_s:new Map,state:n});return c}const Qh=()=>{};function rc(t,n,a,s=Qh){t.push(n);const c=()=>{const i=t.indexOf(n);i>-1&&(t.splice(i,1),s())};return!a&&jc()&&Bf(c),c}function sr(t,...n){t.slice().forEach(a=>{a(...n)})}const Cg=t=>t();function Fa(t,n){t instanceof Map&&n instanceof Map&&n.forEach((a,s)=>t.set(s,a)),t instanceof Set&&n instanceof Set&&n.forEach(t.add,t);for(const a in n){if(!n.hasOwnProperty(a))continue;const s=n[a],c=t[a];Na(c)&&Na(s)&&t.hasOwnProperty(a)&&!Ge(s)&&!xi(s)?t[a]=Fa(c,s):t[a]=s}return t}const Pg=Symbol();function Sg(t){return!Na(t)||!t.hasOwnProperty(Pg)}const{assign:pi}=Object;function Eg(t){return!!(Ge(t)&&t.effect)}function Tg(t,n,a,s){const{state:c,actions:i,getters:l}=n,h=a.state.value[t];let p;function _(){h||(a.state.value[t]=c?c():{});const g=op(a.state.value[t]);return pi(g,i,Object.keys(l||{}).reduce((v,M)=>(v[M]=bs(Yt(()=>{Is(a);const A=a._s.get(t);return l[M].call(A,A)})),v),{}))}return p=td(t,_,n,a,s,!0),p}function td(t,n,a={},s,c,i){let l;const h=pi({actions:{}},a),p={deep:!0};let _,g,v=[],M=[],A;const P=s.state.value[t];!i&&!P&&(s.state.value[t]={}),Zt({});let S;function N(X){let nt;_=g=!1,typeof X=="function"?(X(s.state.value[t]),nt={type:no.patchFunction,storeId:t,events:A}):(Fa(s.state.value[t],X),nt={type:no.patchObject,payload:X,storeId:t,events:A});const ut=S=Symbol();Ls().then(()=>{S===ut&&(_=!0)}),g=!0,sr(v,nt,s.state.value[t])}const B=i?function(){const{state:nt}=a,ut=nt?nt():{};this.$patch(vt=>{pi(vt,ut)})}:Qh;function F(){l.stop(),v=[],M=[],s._s.delete(t)}function O(X,nt){return function(){Is(s);const ut=Array.from(arguments),vt=[],ot=[];function Lt(yt){vt.push(yt)}function Dt(yt){ot.push(yt)}sr(M,{args:ut,name:X,store:I,after:Lt,onError:Dt});let Mt;try{Mt=nt.apply(this&&this.$id===t?this:I,ut)}catch(yt){throw sr(ot,yt),yt}return Mt instanceof Promise?Mt.then(yt=>(sr(vt,yt),yt)).catch(yt=>(sr(ot,yt),Promise.reject(yt))):(sr(vt,Mt),Mt)}}const C={_p:s,$id:t,$onAction:rc.bind(null,M),$patch:N,$reset:B,$subscribe(X,nt={}){const ut=rc(v,X,nt.detached,()=>vt()),vt=l.run(()=>Ze(()=>s.state.value[t],ot=>{(nt.flush==="sync"?g:_)&&X({storeId:t,type:no.direct,events:A},ot)},pi({},p,nt)));return ut},$dispose:F},I=_o(C);s._s.set(t,I);const rt=(s._a&&s._a.runWithContext||Cg)(()=>s._e.run(()=>(l=Dc()).run(n)));for(const X in rt){const nt=rt[X];if(Ge(nt)&&!Eg(nt)||xi(nt))i||(P&&Sg(nt)&&(Ge(nt)?nt.value=P[X]:Fa(nt,P[X])),s.state.value[t][X]=nt);else if(typeof nt=="function"){const ut=O(X,nt);rt[X]=ut,h.actions[X]=nt}}return pi(I,rt),pi(_e(I),rt),Object.defineProperty(I,"$state",{get:()=>s.state.value[t],set:X=>{N(nt=>{pi(nt,X)})}}),s._p.forEach(X=>{pi(I,l.run(()=>X({store:I,app:s._a,pinia:s,options:h})))}),P&&i&&a.hydrate&&a.hydrate(I.$state,P),_=!0,g=!0,I}function yo(t,n,a){let s,c;const i=typeof n=="function";typeof t=="string"?(s=t,c=i?a:n):(c=t,s=t.id);function l(h,p){const _=Gp();return h=h||(_?xn(Xh,null):null),h&&Is(h),h=Yh,h._s.has(s)||(i?td(s,n,c,h):Tg(s,c,h)),h._s.get(s)}return l.$id=s,l}const ml=yo("footerStore",{state:()=>({nextAuthor:""}),actions:{async setNextAuthorText(t){this.nextAuthor=t}}});var Og={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Ag={key:0},Rg={__name:"FooterAnalytics",setup(t){const n={analytics:"Google Analytics",gtm:"Google Tag Manager",pixel:"Facebook Pixel",retargeting:"VK Retargeting",linkedin:"Linkedin Insight",tongji:"Baidu Tongji",metrica:"Yandex Metrica",microsoft:"Microsoft Analytics",hotjar:"Hotjar Analytics",fullStory:"Full story Analytics",unbounce:"Unbounce conversion analytics",tiktok:"TikTok Pixel Analytics"},s=Object.keys(Og.analytics_services||{}).map(c=>n[c]).filter(Boolean).join("; ");return(c,i)=>qt(s)?(H(),tt("span",Ag,"This site uses "+Jt(qt(s))+".",1)):It("",!0)}};var Bg={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Ig={class:"footer text-white bottom-0 border-gray-200 bg-zinc-800 pl-4 pr-4"},Dg={class:"container mx-auto text-sm pt-2 pb-4"},jg={class:"pt-4 pb-2 break-words"},zg=["innerHTML"],Ng={key:0},Fg=["href"],Vg={class:"flex items-center text-xs gap-2"},$g=["src"],Gg=Y("hr",{class:"mt-3 mb-3 border-gray-500"},null,-1),Hg={class:"flex flex-col sm:flex-row justify-between gap-4"},Ug={class:"[&>*:not(:last-child)]:after:content-['|'] [&>*:not(:last-child)]:after:mx-1"},Zg=Y("span",null,[te(" Data provided by "),Y("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://taxonworks.org/"}," TaxonWorks ")],-1),qg=Y("span",null,[te(" Pages by "),Y("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://github.com/SpeciesFileGroup/taxonpages"}," TaxonPages ")],-1),Kg=Y("span",null,[te(" Support (Services) by "),Y("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://speciesfilegroup.org"}," Species File Group ")],-1),Wg={__name:"LayoutFooter",setup(t){const{project_authors:n,project_citation:a,project_url:s,copyright_text:c,copyright_image:i,copyright_image_link:l,hash_mode:h}=Bg,p=ml(),_=new Date().toISOString().split("T")[0],g=Jh(),v=Yt(()=>{const M=(s||"").replace(/\/$/,"");return M.length?h?M+"/#"+g.fullPath:M+g.fullPath:""});return(M,A)=>{const P=gt("ClientOnly"),S=gt("TrackerReport");return H(),tt("footer",Ig,[Y("div",Dg,[Y("div",jg,[te(Jt(qt(n))+" ",1),st(P,null,{default:mt(()=>[Y("span",{innerHTML:qt(p).nextAuthor},null,8,zg)]),_:1}),te(" "+Jt(qt(a))+". ",1),st(P,null,{default:mt(()=>[Y("span",null,"Retrieved on "+Jt(qt(_)),1)]),_:1}),v.value?(H(),tt("span",Ng,[te(" at "),Y("a",{class:"text-secondary-color",href:v.value},Jt(v.value),9,Fg)])):It("",!0)]),Y("div",Vg,[(H(),Et(Lr(qt(l)?"a":"span"),{href:qt(l),class:"min-w-fit"},{default:mt(()=>[qt(i)?(H(),tt("img",{key:0,src:qt(i),alt:"copyright"},null,8,$g)):It("",!0)]),_:1},8,["href"])),Y("span",null,Jt(qt(c)),1)]),Gg,Y("div",Hg,[Y("div",Ug,[Zg,qg,Kg,st(Rg,{class:"italic"})]),st(S,{icon:"",label:"Report a problem","button-class":"flex gap-2 items-center pl-0 pr-0 pt-0 pb-0 self-end"})])])])}}},Jg={class:"min-h-screen h-screen flex flex-col justify-between"},Yg={class:"flex flex-col flex-grow"},Xg={__name:"Application",setup(t){return(n,a)=>(H(),tt("div",Jg,[Y("div",Yg,[st(bm),ke(n.$slots,"default")]),st(Wg)]))}};var oc={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Qg={__name:"App",setup(t){return fl({title:oc.project_name,meta:oc.metadata}),(n,a)=>{const s=gt("router-view");return H(),Et(Xg,null,{default:mt(()=>[st(s)]),_:1})}}},ie=(t,n)=>{const a=t.__vccOpts||t;for(const[s,c]of n)a[s]=c;return a},ty={},ey={class:"mx-auto"},ny=Y("div",{class:"container mx-auto flex flex-col items-center h-screen justify-center"},[Y("h1",{class:"text-4xl font-medium"}," Welcome to TaxonPages "),Y("p",{class:"text-xl p-4"}," We're almost there! If you're seeing this, it's because you haven't configured API access yet. ")],-1),iy=[ny];function ry(t,n){return H(),tt("div",ey,iy)}const oy=ie(ty,[["render",ry]]),sy={},ay={class:"container mx-auto text-center relative top-1/4"},ly=Y("h1",{class:"text-4xl sm:text-5xl text-base-lighter"}," Welcome to TaxonPages ",-1),uy=Y("p",{class:"m-4 my-8 text-xl"}," It seems you don't have a index or home file in your /pages folder, create one to replace this page. ",-1),cy=[ly,uy];function hy(t,n){return H(),tt("div",ay,cy)}const dy=ie(sy,[["render",hy]]),fy=[{name:"homepage",path:"/",alias:"/home",component:dy}],py={},_y={class:"container mx-auto text-center relative top-1/4"},my=Y("h1",{class:"text-7xl text-base-lighter"},"500",-1),gy=Y("p",null,"Internal Server Error.",-1),yy=Y("p",{class:"m-4 my-10 text-xl"},[te(" Uh oh, looks like something went wrong!"),Y("br"),te(" We track these errors automatically, but if the problem persists feel free to contact us. ")],-1),vy=[my,gy,yy];function by(t,n){return H(),tt("div",_y,vy)}const xy=ie(py,[["render",by]]),Ly={},wy={class:"container mx-auto text-center relative top-1/4"},ky=Y("h1",{class:"text-7xl text-base-lighter"},"404",-1),My=Y("p",null,"Page not found.",-1),Cy=Y("p",{class:"m-4 my-10 text-xl"}," Uh oh, we can't seem to find the page you're looking for. Try going back to the previous page. ",-1),Py=[ky,My,Cy];function Sy(t,n){return H(),tt("div",wy,Py)}const Ey=ie(Ly,[["render",Sy]]),Ty=[{path:"/500",name:"httpError500",component:xy,meta:{statusCode:500}},{path:"/:pathMatch(.*)*",name:"httpError404",component:Ey,meta:{statusCode:404}}],Ds=yo("otuPageRequest",{state:()=>({requests:{}}),getters:{getRequest:t=>n=>t.requests[n],sitemap:t=>{const n=Object.keys(t.requests).sort();return Object.fromEntries(n.map(a=>[a,t.requests[a].url]))}},actions:{setRequest(t,{data:n,request:a}){var c;const s=((c=a.res)==null?void 0:c.responseUrl)||a.responseURL;this.requests[t]={url:s,data:n}}}}),Oy="FamilyGroup",Ay="GenusGroup",Ry="SpeciesGroup",By="SpeciesAndInfraspeciesGroup",ho={CanceledError:"CanceledError"},sc=["neotype","holotype","neolectotype","lectotype","syntype","paralectotype","paratype","paratypes"];function Mi(t,n){const a=Ds(),s=n();return s.then(c=>{a.setRequest(t,c)}).catch(c=>{c.name!==ho.CanceledError&&a.setRequest(t,c.response)}),s}function ed(t,n){return function(){return t.apply(n,arguments)}}const{toString:Iy}=Object.prototype,{getPrototypeOf:gl}=Object,js=(t=>n=>{const a=Iy.call(n);return t[a]||(t[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),$n=t=>(t=t.toLowerCase(),n=>js(n)===t),zs=t=>n=>typeof n===t,{isArray:wr}=Array,fo=zs("undefined");function Dy(t){return t!==null&&!fo(t)&&t.constructor!==null&&!fo(t.constructor)&&Ln(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const nd=$n("ArrayBuffer");function jy(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&nd(t.buffer),n}const zy=zs("string"),Ln=zs("function"),id=zs("number"),Ns=t=>t!==null&&typeof t=="object",Ny=t=>t===!0||t===!1,es=t=>{if(js(t)!=="object")return!1;const n=gl(t);return(n===null||n===Object.prototype||Object.getPrototypeOf(n)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},Fy=$n("Date"),Vy=$n("File"),$y=$n("Blob"),Gy=$n("FileList"),Hy=t=>Ns(t)&&Ln(t.pipe),Uy=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||Ln(t.append)&&((n=js(t))==="formdata"||n==="object"&&Ln(t.toString)&&t.toString()==="[object FormData]"))},Zy=$n("URLSearchParams"),qy=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function vo(t,n,{allOwnKeys:a=!1}={}){if(t===null||typeof t>"u")return;let s,c;if(typeof t!="object"&&(t=[t]),wr(t))for(s=0,c=t.length;s0;)if(c=a[s],n===c.toLowerCase())return c;return null}const od=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,sd=t=>!fo(t)&&t!==od;function Va(){const{caseless:t}=sd(this)&&this||{},n={},a=(s,c)=>{const i=t&&rd(n,c)||c;es(n[i])&&es(s)?n[i]=Va(n[i],s):es(s)?n[i]=Va({},s):wr(s)?n[i]=s.slice():n[i]=s};for(let s=0,c=arguments.length;s(vo(n,(c,i)=>{a&&Ln(c)?t[i]=ed(c,a):t[i]=c},{allOwnKeys:s}),t),Wy=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),Jy=(t,n,a,s)=>{t.prototype=Object.create(n.prototype,s),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:n.prototype}),a&&Object.assign(t.prototype,a)},Yy=(t,n,a,s)=>{let c,i,l;const h={};if(n=n||{},t==null)return n;do{for(c=Object.getOwnPropertyNames(t),i=c.length;i-- >0;)l=c[i],(!s||s(l,t,n))&&!h[l]&&(n[l]=t[l],h[l]=!0);t=a!==!1&&gl(t)}while(t&&(!a||a(t,n))&&t!==Object.prototype);return n},Xy=(t,n,a)=>{t=String(t),(a===void 0||a>t.length)&&(a=t.length),a-=n.length;const s=t.indexOf(n,a);return s!==-1&&s===a},Qy=t=>{if(!t)return null;if(wr(t))return t;let n=t.length;if(!id(n))return null;const a=new Array(n);for(;n-- >0;)a[n]=t[n];return a},tv=(t=>n=>t&&n instanceof t)(typeof Uint8Array<"u"&&gl(Uint8Array)),ev=(t,n)=>{const s=(t&&t[Symbol.iterator]).call(t);let c;for(;(c=s.next())&&!c.done;){const i=c.value;n.call(t,i[0],i[1])}},nv=(t,n)=>{let a;const s=[];for(;(a=t.exec(n))!==null;)s.push(a);return s},iv=$n("HTMLFormElement"),rv=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,c){return s.toUpperCase()+c}),ac=(({hasOwnProperty:t})=>(n,a)=>t.call(n,a))(Object.prototype),ov=$n("RegExp"),ad=(t,n)=>{const a=Object.getOwnPropertyDescriptors(t),s={};vo(a,(c,i)=>{let l;(l=n(c,i,t))!==!1&&(s[i]=l||c)}),Object.defineProperties(t,s)},sv=t=>{ad(t,(n,a)=>{if(Ln(t)&&["arguments","caller","callee"].indexOf(a)!==-1)return!1;const s=t[a];if(Ln(s)){if(n.enumerable=!1,"writable"in n){n.writable=!1;return}n.set||(n.set=()=>{throw Error("Can not rewrite read-only method '"+a+"'")})}})},av=(t,n)=>{const a={},s=c=>{c.forEach(i=>{a[i]=!0})};return wr(t)?s(t):s(String(t).split(n)),a},lv=()=>{},uv=(t,n)=>(t=+t,Number.isFinite(t)?t:n),ga="abcdefghijklmnopqrstuvwxyz",lc="0123456789",ld={DIGIT:lc,ALPHA:ga,ALPHA_DIGIT:ga+ga.toUpperCase()+lc},cv=(t=16,n=ld.ALPHA_DIGIT)=>{let a="";const{length:s}=n;for(;t--;)a+=n[Math.random()*s|0];return a};function hv(t){return!!(t&&Ln(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const dv=t=>{const n=new Array(10),a=(s,c)=>{if(Ns(s)){if(n.indexOf(s)>=0)return;if(!("toJSON"in s)){n[c]=s;const i=wr(s)?[]:{};return vo(s,(l,h)=>{const p=a(l,c+1);!fo(p)&&(i[h]=p)}),n[c]=void 0,i}}return s};return a(t,0)},fv=$n("AsyncFunction"),pv=t=>t&&(Ns(t)||Ln(t))&&Ln(t.then)&&Ln(t.catch),xt={isArray:wr,isArrayBuffer:nd,isBuffer:Dy,isFormData:Uy,isArrayBufferView:jy,isString:zy,isNumber:id,isBoolean:Ny,isObject:Ns,isPlainObject:es,isUndefined:fo,isDate:Fy,isFile:Vy,isBlob:$y,isRegExp:ov,isFunction:Ln,isStream:Hy,isURLSearchParams:Zy,isTypedArray:tv,isFileList:Gy,forEach:vo,merge:Va,extend:Ky,trim:qy,stripBOM:Wy,inherits:Jy,toFlatObject:Yy,kindOf:js,kindOfTest:$n,endsWith:Xy,toArray:Qy,forEachEntry:ev,matchAll:nv,isHTMLForm:iv,hasOwnProperty:ac,hasOwnProp:ac,reduceDescriptors:ad,freezeMethods:sv,toObjectSet:av,toCamelCase:rv,noop:lv,toFiniteNumber:uv,findKey:rd,global:od,isContextDefined:sd,ALPHABET:ld,generateString:cv,isSpecCompliantForm:hv,toJSONObject:dv,isAsyncFn:fv,isThenable:pv};function pe(t,n,a,s,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",n&&(this.code=n),a&&(this.config=a),s&&(this.request=s),c&&(this.response=c)}xt.inherits(pe,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:xt.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const ud=pe.prototype,cd={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(t=>{cd[t]={value:t}});Object.defineProperties(pe,cd);Object.defineProperty(ud,"isAxiosError",{value:!0});pe.from=(t,n,a,s,c,i)=>{const l=Object.create(ud);return xt.toFlatObject(t,l,function(p){return p!==Error.prototype},h=>h!=="isAxiosError"),pe.call(l,t.message,n,a,s,c),l.cause=t,l.name=t.name,i&&Object.assign(l,i),l};const _v=null;function $a(t){return xt.isPlainObject(t)||xt.isArray(t)}function hd(t){return xt.endsWith(t,"[]")?t.slice(0,-2):t}function uc(t,n,a){return t?t.concat(n).map(function(c,i){return c=hd(c),!a&&i?"["+c+"]":c}).join(a?".":""):n}function mv(t){return xt.isArray(t)&&!t.some($a)}const gv=xt.toFlatObject(xt,{},null,function(n){return/^is[A-Z]/.test(n)});function Fs(t,n,a){if(!xt.isObject(t))throw new TypeError("target must be an object");n=n||new FormData,a=xt.toFlatObject(a,{metaTokens:!0,dots:!1,indexes:!1},!1,function(S,N){return!xt.isUndefined(N[S])});const s=a.metaTokens,c=a.visitor||g,i=a.dots,l=a.indexes,p=(a.Blob||typeof Blob<"u"&&Blob)&&xt.isSpecCompliantForm(n);if(!xt.isFunction(c))throw new TypeError("visitor must be a function");function _(P){if(P===null)return"";if(xt.isDate(P))return P.toISOString();if(!p&&xt.isBlob(P))throw new pe("Blob is not supported. Use a Buffer instead.");return xt.isArrayBuffer(P)||xt.isTypedArray(P)?p&&typeof Blob=="function"?new Blob([P]):Buffer.from(P):P}function g(P,S,N){let B=P;if(P&&!N&&typeof P=="object"){if(xt.endsWith(S,"{}"))S=s?S:S.slice(0,-2),P=JSON.stringify(P);else if(xt.isArray(P)&&mv(P)||(xt.isFileList(P)||xt.endsWith(S,"[]"))&&(B=xt.toArray(P)))return S=hd(S),B.forEach(function(O,C){!(xt.isUndefined(O)||O===null)&&n.append(l===!0?uc([S],C,i):l===null?S:S+"[]",_(O))}),!1}return $a(P)?!0:(n.append(uc(N,S,i),_(P)),!1)}const v=[],M=Object.assign(gv,{defaultVisitor:g,convertValue:_,isVisitable:$a});function A(P,S){if(!xt.isUndefined(P)){if(v.indexOf(P)!==-1)throw Error("Circular reference detected in "+S.join("."));v.push(P),xt.forEach(P,function(B,F){(!(xt.isUndefined(B)||B===null)&&c.call(n,B,xt.isString(F)?F.trim():F,S,M))===!0&&A(B,S?S.concat(F):[F])}),v.pop()}}if(!xt.isObject(t))throw new TypeError("data must be an object");return A(t),n}function cc(t){const n={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(s){return n[s]})}function yl(t,n){this._pairs=[],t&&Fs(t,this,n)}const dd=yl.prototype;dd.append=function(n,a){this._pairs.push([n,a])};dd.toString=function(n){const a=n?function(s){return n.call(this,s,cc)}:cc;return this._pairs.map(function(c){return a(c[0])+"="+a(c[1])},"").join("&")};function yv(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function fd(t,n,a){if(!n)return t;const s=a&&a.encode||yv,c=a&&a.serialize;let i;if(c?i=c(n,a):i=xt.isURLSearchParams(n)?n.toString():new yl(n,a).toString(s),i){const l=t.indexOf("#");l!==-1&&(t=t.slice(0,l)),t+=(t.indexOf("?")===-1?"?":"&")+i}return t}class hc{constructor(){this.handlers=[]}use(n,a,s){return this.handlers.push({fulfilled:n,rejected:a,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(n){this.handlers[n]&&(this.handlers[n]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(n){xt.forEach(this.handlers,function(s){s!==null&&n(s)})}}const pd={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},vv=typeof URLSearchParams<"u"?URLSearchParams:yl,bv=typeof FormData<"u"?FormData:null,xv=typeof Blob<"u"?Blob:null,Lv={isBrowser:!0,classes:{URLSearchParams:vv,FormData:bv,Blob:xv},protocols:["http","https","file","blob","url","data"]},_d=typeof window<"u"&&typeof document<"u",wv=(t=>_d&&["ReactNative","NativeScript","NS"].indexOf(t)<0)(typeof navigator<"u"&&navigator.product),kv=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",Mv=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:_d,hasStandardBrowserEnv:wv,hasStandardBrowserWebWorkerEnv:kv},Symbol.toStringTag,{value:"Module"})),Nn={...Mv,...Lv};function Cv(t,n){return Fs(t,new Nn.classes.URLSearchParams,Object.assign({visitor:function(a,s,c,i){return Nn.isNode&&xt.isBuffer(a)?(this.append(s,a.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},n))}function Pv(t){return xt.matchAll(/\w+|\[(\w*)]/g,t).map(n=>n[0]==="[]"?"":n[1]||n[0])}function Sv(t){const n={},a=Object.keys(t);let s;const c=a.length;let i;for(s=0;s=a.length;return l=!l&&xt.isArray(c)?c.length:l,p?(xt.hasOwnProp(c,l)?c[l]=[c[l],s]:c[l]=s,!h):((!c[l]||!xt.isObject(c[l]))&&(c[l]=[]),n(a,s,c[l],i)&&xt.isArray(c[l])&&(c[l]=Sv(c[l])),!h)}if(xt.isFormData(t)&&xt.isFunction(t.entries)){const a={};return xt.forEachEntry(t,(s,c)=>{n(Pv(s),c,a,0)}),a}return null}function Ev(t,n,a){if(xt.isString(t))try{return(n||JSON.parse)(t),xt.trim(t)}catch(s){if(s.name!=="SyntaxError")throw s}return(a||JSON.stringify)(t)}const vl={transitional:pd,adapter:["xhr","http"],transformRequest:[function(n,a){const s=a.getContentType()||"",c=s.indexOf("application/json")>-1,i=xt.isObject(n);if(i&&xt.isHTMLForm(n)&&(n=new FormData(n)),xt.isFormData(n))return c?JSON.stringify(md(n)):n;if(xt.isArrayBuffer(n)||xt.isBuffer(n)||xt.isStream(n)||xt.isFile(n)||xt.isBlob(n))return n;if(xt.isArrayBufferView(n))return n.buffer;if(xt.isURLSearchParams(n))return a.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),n.toString();let h;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return Cv(n,this.formSerializer).toString();if((h=xt.isFileList(n))||s.indexOf("multipart/form-data")>-1){const p=this.env&&this.env.FormData;return Fs(h?{"files[]":n}:n,p&&new p,this.formSerializer)}}return i||c?(a.setContentType("application/json",!1),Ev(n)):n}],transformResponse:[function(n){const a=this.transitional||vl.transitional,s=a&&a.forcedJSONParsing,c=this.responseType==="json";if(n&&xt.isString(n)&&(s&&!this.responseType||c)){const l=!(a&&a.silentJSONParsing)&&c;try{return JSON.parse(n)}catch(h){if(l)throw h.name==="SyntaxError"?pe.from(h,pe.ERR_BAD_RESPONSE,this,null,this.response):h}}return n}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Nn.classes.FormData,Blob:Nn.classes.Blob},validateStatus:function(n){return n>=200&&n<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};xt.forEach(["delete","get","head","post","put","patch"],t=>{vl.headers[t]={}});const bl=vl,Tv=xt.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Ov=t=>{const n={};let a,s,c;return t&&t.split(` +`).forEach(function(l){c=l.indexOf(":"),a=l.substring(0,c).trim().toLowerCase(),s=l.substring(c+1).trim(),!(!a||n[a]&&Tv[a])&&(a==="set-cookie"?n[a]?n[a].push(s):n[a]=[s]:n[a]=n[a]?n[a]+", "+s:s)}),n},dc=Symbol("internals");function Wr(t){return t&&String(t).trim().toLowerCase()}function ns(t){return t===!1||t==null?t:xt.isArray(t)?t.map(ns):String(t)}function Av(t){const n=Object.create(null),a=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=a.exec(t);)n[s[1]]=s[2];return n}const Rv=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function ya(t,n,a,s,c){if(xt.isFunction(s))return s.call(this,n,a);if(c&&(n=a),!!xt.isString(n)){if(xt.isString(s))return n.indexOf(s)!==-1;if(xt.isRegExp(s))return s.test(n)}}function Bv(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(n,a,s)=>a.toUpperCase()+s)}function Iv(t,n){const a=xt.toCamelCase(" "+n);["get","set","has"].forEach(s=>{Object.defineProperty(t,s+a,{value:function(c,i,l){return this[s].call(this,n,c,i,l)},configurable:!0})})}class Vs{constructor(n){n&&this.set(n)}set(n,a,s){const c=this;function i(h,p,_){const g=Wr(p);if(!g)throw new Error("header name must be a non-empty string");const v=xt.findKey(c,g);(!v||c[v]===void 0||_===!0||_===void 0&&c[v]!==!1)&&(c[v||p]=ns(h))}const l=(h,p)=>xt.forEach(h,(_,g)=>i(_,g,p));return xt.isPlainObject(n)||n instanceof this.constructor?l(n,a):xt.isString(n)&&(n=n.trim())&&!Rv(n)?l(Ov(n),a):n!=null&&i(a,n,s),this}get(n,a){if(n=Wr(n),n){const s=xt.findKey(this,n);if(s){const c=this[s];if(!a)return c;if(a===!0)return Av(c);if(xt.isFunction(a))return a.call(this,c,s);if(xt.isRegExp(a))return a.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(n,a){if(n=Wr(n),n){const s=xt.findKey(this,n);return!!(s&&this[s]!==void 0&&(!a||ya(this,this[s],s,a)))}return!1}delete(n,a){const s=this;let c=!1;function i(l){if(l=Wr(l),l){const h=xt.findKey(s,l);h&&(!a||ya(s,s[h],h,a))&&(delete s[h],c=!0)}}return xt.isArray(n)?n.forEach(i):i(n),c}clear(n){const a=Object.keys(this);let s=a.length,c=!1;for(;s--;){const i=a[s];(!n||ya(this,this[i],i,n,!0))&&(delete this[i],c=!0)}return c}normalize(n){const a=this,s={};return xt.forEach(this,(c,i)=>{const l=xt.findKey(s,i);if(l){a[l]=ns(c),delete a[i];return}const h=n?Bv(i):String(i).trim();h!==i&&delete a[i],a[h]=ns(c),s[h]=!0}),this}concat(...n){return this.constructor.concat(this,...n)}toJSON(n){const a=Object.create(null);return xt.forEach(this,(s,c)=>{s!=null&&s!==!1&&(a[c]=n&&xt.isArray(s)?s.join(", "):s)}),a}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([n,a])=>n+": "+a).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(n){return n instanceof this?n:new this(n)}static concat(n,...a){const s=new this(n);return a.forEach(c=>s.set(c)),s}static accessor(n){const s=(this[dc]=this[dc]={accessors:{}}).accessors,c=this.prototype;function i(l){const h=Wr(l);s[h]||(Iv(c,l),s[h]=!0)}return xt.isArray(n)?n.forEach(i):i(n),this}}Vs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);xt.reduceDescriptors(Vs.prototype,({value:t},n)=>{let a=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(s){this[a]=s}}});xt.freezeMethods(Vs);const Qn=Vs;function va(t,n){const a=this||bl,s=n||a,c=Qn.from(s.headers);let i=s.data;return xt.forEach(t,function(h){i=h.call(a,i,c.normalize(),n?n.status:void 0)}),c.normalize(),i}function gd(t){return!!(t&&t.__CANCEL__)}function bo(t,n,a){pe.call(this,t??"canceled",pe.ERR_CANCELED,n,a),this.name="CanceledError"}xt.inherits(bo,pe,{__CANCEL__:!0});function Dv(t,n,a){const s=a.config.validateStatus;!a.status||!s||s(a.status)?t(a):n(new pe("Request failed with status code "+a.status,[pe.ERR_BAD_REQUEST,pe.ERR_BAD_RESPONSE][Math.floor(a.status/100)-4],a.config,a.request,a))}const jv=Nn.hasStandardBrowserEnv?{write(t,n,a,s,c,i){const l=[t+"="+encodeURIComponent(n)];xt.isNumber(a)&&l.push("expires="+new Date(a).toGMTString()),xt.isString(s)&&l.push("path="+s),xt.isString(c)&&l.push("domain="+c),i===!0&&l.push("secure"),document.cookie=l.join("; ")},read(t){const n=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return n?decodeURIComponent(n[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function zv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Nv(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function yd(t,n){return t&&!zv(n)?Nv(t,n):n}const Fv=Nn.hasStandardBrowserEnv?function(){const n=/(msie|trident)/i.test(navigator.userAgent),a=document.createElement("a");let s;function c(i){let l=i;return n&&(a.setAttribute("href",l),l=a.href),a.setAttribute("href",l),{href:a.href,protocol:a.protocol?a.protocol.replace(/:$/,""):"",host:a.host,search:a.search?a.search.replace(/^\?/,""):"",hash:a.hash?a.hash.replace(/^#/,""):"",hostname:a.hostname,port:a.port,pathname:a.pathname.charAt(0)==="/"?a.pathname:"/"+a.pathname}}return s=c(window.location.href),function(l){const h=xt.isString(l)?c(l):l;return h.protocol===s.protocol&&h.host===s.host}}():function(){return function(){return!0}}();function Vv(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function $v(t,n){t=t||10;const a=new Array(t),s=new Array(t);let c=0,i=0,l;return n=n!==void 0?n:1e3,function(p){const _=Date.now(),g=s[i];l||(l=_),a[c]=p,s[c]=_;let v=i,M=0;for(;v!==c;)M+=a[v++],v=v%t;if(c=(c+1)%t,c===i&&(i=(i+1)%t),_-l{const i=c.loaded,l=c.lengthComputable?c.total:void 0,h=i-a,p=s(h),_=i<=l;a=i;const g={loaded:i,total:l,progress:l?i/l:void 0,bytes:h,rate:p||void 0,estimated:p&&l&&_?(l-i)/p:void 0,event:c};g[n?"download":"upload"]=!0,t(g)}}const Gv=typeof XMLHttpRequest<"u",Hv=Gv&&function(t){return new Promise(function(a,s){let c=t.data;const i=Qn.from(t.headers).normalize();let{responseType:l,withXSRFToken:h}=t,p;function _(){t.cancelToken&&t.cancelToken.unsubscribe(p),t.signal&&t.signal.removeEventListener("abort",p)}let g;if(xt.isFormData(c)){if(Nn.hasStandardBrowserEnv||Nn.hasStandardBrowserWebWorkerEnv)i.setContentType(!1);else if((g=i.getContentType())!==!1){const[S,...N]=g?g.split(";").map(B=>B.trim()).filter(Boolean):[];i.setContentType([S||"multipart/form-data",...N].join("; "))}}let v=new XMLHttpRequest;if(t.auth){const S=t.auth.username||"",N=t.auth.password?unescape(encodeURIComponent(t.auth.password)):"";i.set("Authorization","Basic "+btoa(S+":"+N))}const M=yd(t.baseURL,t.url);v.open(t.method.toUpperCase(),fd(M,t.params,t.paramsSerializer),!0),v.timeout=t.timeout;function A(){if(!v)return;const S=Qn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),B={data:!l||l==="text"||l==="json"?v.responseText:v.response,status:v.status,statusText:v.statusText,headers:S,config:t,request:v};Dv(function(O){a(O),_()},function(O){s(O),_()},B),v=null}if("onloadend"in v?v.onloadend=A:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(A)},v.onabort=function(){v&&(s(new pe("Request aborted",pe.ECONNABORTED,t,v)),v=null)},v.onerror=function(){s(new pe("Network Error",pe.ERR_NETWORK,t,v)),v=null},v.ontimeout=function(){let N=t.timeout?"timeout of "+t.timeout+"ms exceeded":"timeout exceeded";const B=t.transitional||pd;t.timeoutErrorMessage&&(N=t.timeoutErrorMessage),s(new pe(N,B.clarifyTimeoutError?pe.ETIMEDOUT:pe.ECONNABORTED,t,v)),v=null},Nn.hasStandardBrowserEnv&&(h&&xt.isFunction(h)&&(h=h(t)),h||h!==!1&&Fv(M))){const S=t.xsrfHeaderName&&t.xsrfCookieName&&jv.read(t.xsrfCookieName);S&&i.set(t.xsrfHeaderName,S)}c===void 0&&i.setContentType(null),"setRequestHeader"in v&&xt.forEach(i.toJSON(),function(N,B){v.setRequestHeader(B,N)}),xt.isUndefined(t.withCredentials)||(v.withCredentials=!!t.withCredentials),l&&l!=="json"&&(v.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&v.addEventListener("progress",fc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",fc(t.onUploadProgress)),(t.cancelToken||t.signal)&&(p=S=>{v&&(s(!S||S.type?new bo(null,t,v):S),v.abort(),v=null)},t.cancelToken&&t.cancelToken.subscribe(p),t.signal&&(t.signal.aborted?p():t.signal.addEventListener("abort",p)));const P=Vv(M);if(P&&Nn.protocols.indexOf(P)===-1){s(new pe("Unsupported protocol "+P+":",pe.ERR_BAD_REQUEST,t));return}v.send(c||null)})},Ga={http:_v,xhr:Hv};xt.forEach(Ga,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const pc=t=>`- ${t}`,Uv=t=>xt.isFunction(t)||t===null||t===!1,vd={getAdapter:t=>{t=xt.isArray(t)?t:[t];const{length:n}=t;let a,s;const c={};for(let i=0;i`adapter ${h} `+(p===!1?"is not supported by the environment":"is not available in the build"));let l=n?i.length>1?`since : +`+i.map(pc).join(` +`):" "+pc(i[0]):"as no adapter specified";throw new pe("There is no suitable adapter to dispatch the request "+l,"ERR_NOT_SUPPORT")}return s},adapters:Ga};function ba(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new bo(null,t)}function _c(t){return ba(t),t.headers=Qn.from(t.headers),t.data=va.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),vd.getAdapter(t.adapter||bl.adapter)(t).then(function(s){return ba(t),s.data=va.call(t,t.transformResponse,s),s.headers=Qn.from(s.headers),s},function(s){return gd(s)||(ba(t),s&&s.response&&(s.response.data=va.call(t,t.transformResponse,s.response),s.response.headers=Qn.from(s.response.headers))),Promise.reject(s)})}const mc=t=>t instanceof Qn?t.toJSON():t;function vr(t,n){n=n||{};const a={};function s(_,g,v){return xt.isPlainObject(_)&&xt.isPlainObject(g)?xt.merge.call({caseless:v},_,g):xt.isPlainObject(g)?xt.merge({},g):xt.isArray(g)?g.slice():g}function c(_,g,v){if(xt.isUndefined(g)){if(!xt.isUndefined(_))return s(void 0,_,v)}else return s(_,g,v)}function i(_,g){if(!xt.isUndefined(g))return s(void 0,g)}function l(_,g){if(xt.isUndefined(g)){if(!xt.isUndefined(_))return s(void 0,_)}else return s(void 0,g)}function h(_,g,v){if(v in n)return s(_,g);if(v in t)return s(void 0,_)}const p={url:i,method:i,data:i,baseURL:l,transformRequest:l,transformResponse:l,paramsSerializer:l,timeout:l,timeoutMessage:l,withCredentials:l,withXSRFToken:l,adapter:l,responseType:l,xsrfCookieName:l,xsrfHeaderName:l,onUploadProgress:l,onDownloadProgress:l,decompress:l,maxContentLength:l,maxBodyLength:l,beforeRedirect:l,transport:l,httpAgent:l,httpsAgent:l,cancelToken:l,socketPath:l,responseEncoding:l,validateStatus:h,headers:(_,g)=>c(mc(_),mc(g),!0)};return xt.forEach(Object.keys(Object.assign({},t,n)),function(g){const v=p[g]||c,M=v(t[g],n[g],g);xt.isUndefined(M)&&v!==h||(a[g]=M)}),a}const bd="1.6.7",xl={};["object","boolean","number","function","string","symbol"].forEach((t,n)=>{xl[t]=function(s){return typeof s===t||"a"+(n<1?"n ":" ")+t}});const gc={};xl.transitional=function(n,a,s){function c(i,l){return"[Axios v"+bd+"] Transitional option '"+i+"'"+l+(s?". "+s:"")}return(i,l,h)=>{if(n===!1)throw new pe(c(l," has been removed"+(a?" in "+a:"")),pe.ERR_DEPRECATED);return a&&!gc[l]&&(gc[l]=!0,console.warn(c(l," has been deprecated since v"+a+" and will be removed in the near future"))),n?n(i,l,h):!0}};function Zv(t,n,a){if(typeof t!="object")throw new pe("options must be an object",pe.ERR_BAD_OPTION_VALUE);const s=Object.keys(t);let c=s.length;for(;c-- >0;){const i=s[c],l=n[i];if(l){const h=t[i],p=h===void 0||l(h,i,t);if(p!==!0)throw new pe("option "+i+" must be "+p,pe.ERR_BAD_OPTION_VALUE);continue}if(a!==!0)throw new pe("Unknown option "+i,pe.ERR_BAD_OPTION)}}const Ha={assertOptions:Zv,validators:xl},fi=Ha.validators;class _s{constructor(n){this.defaults=n,this.interceptors={request:new hc,response:new hc}}async request(n,a){try{return await this._request(n,a)}catch(s){if(s instanceof Error){let c;Error.captureStackTrace?Error.captureStackTrace(c={}):c=new Error;const i=c.stack?c.stack.replace(/^.+\n/,""):"";s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+i):s.stack=i}throw s}}_request(n,a){typeof n=="string"?(a=a||{},a.url=n):a=n||{},a=vr(this.defaults,a);const{transitional:s,paramsSerializer:c,headers:i}=a;s!==void 0&&Ha.assertOptions(s,{silentJSONParsing:fi.transitional(fi.boolean),forcedJSONParsing:fi.transitional(fi.boolean),clarifyTimeoutError:fi.transitional(fi.boolean)},!1),c!=null&&(xt.isFunction(c)?a.paramsSerializer={serialize:c}:Ha.assertOptions(c,{encode:fi.function,serialize:fi.function},!0)),a.method=(a.method||this.defaults.method||"get").toLowerCase();let l=i&&xt.merge(i.common,i[a.method]);i&&xt.forEach(["delete","get","head","post","put","patch","common"],P=>{delete i[P]}),a.headers=Qn.concat(l,i);const h=[];let p=!0;this.interceptors.request.forEach(function(S){typeof S.runWhen=="function"&&S.runWhen(a)===!1||(p=p&&S.synchronous,h.unshift(S.fulfilled,S.rejected))});const _=[];this.interceptors.response.forEach(function(S){_.push(S.fulfilled,S.rejected)});let g,v=0,M;if(!p){const P=[_c.bind(this),void 0];for(P.unshift.apply(P,h),P.push.apply(P,_),M=P.length,g=Promise.resolve(a);v{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](c);s._listeners=null}),this.promise.then=c=>{let i;const l=new Promise(h=>{s.subscribe(h),i=h}).then(c);return l.cancel=function(){s.unsubscribe(i)},l},n(function(i,l,h){s.reason||(s.reason=new bo(i,l,h),a(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(n){if(this.reason){n(this.reason);return}this._listeners?this._listeners.push(n):this._listeners=[n]}unsubscribe(n){if(!this._listeners)return;const a=this._listeners.indexOf(n);a!==-1&&this._listeners.splice(a,1)}static source(){let n;return{token:new Ll(function(c){n=c}),cancel:n}}}const qv=Ll;function Kv(t){return function(a){return t.apply(null,a)}}function Wv(t){return xt.isObject(t)&&t.isAxiosError===!0}const Ua={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Ua).forEach(([t,n])=>{Ua[n]=t});const Jv=Ua;function xd(t){const n=new is(t),a=ed(is.prototype.request,n);return xt.extend(a,is.prototype,n,{allOwnKeys:!0}),xt.extend(a,n,null,{allOwnKeys:!0}),a.create=function(c){return xd(vr(t,c))},a}const Fe=xd(bl);Fe.Axios=is;Fe.CanceledError=bo;Fe.CancelToken=qv;Fe.isCancel=gd;Fe.VERSION=bd;Fe.toFormData=Fs;Fe.AxiosError=pe;Fe.Cancel=Fe.CanceledError;Fe.all=function(n){return Promise.all(n)};Fe.spread=Kv;Fe.isAxiosError=Wv;Fe.mergeConfig=vr;Fe.AxiosHeaders=Qn;Fe.formToJSON=t=>md(xt.isHTMLForm(t)?new FormData(t):t);Fe.getAdapter=vd.getAdapter;Fe.HttpStatusCode=Jv;Fe.default=Fe;var Yv={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const{url:Xv,project_token:Qv}=Yv,Ke=Fe.create({baseURL:Xv,params:{project_token:Qv}});class ln{static getTaxonNameCitations(n,a){return Ke.get(`/taxon_names/${n}/inventory/catalog`,a)}static getOtu(n){return Ke.get(`/otus/${n}`,{params:{extend:["parents"]}})}static getOtus(n){return Ke.get("/otus.json",{params:n})}static getTaxon(n,a){return Ke.get(`/taxon_names/${n}`,a)}static summary(n,a){return Ke.get(`/taxon_names/${n}/inventory/summary`,a)}static getTaxonTypeDesignation(n){return Ke.get(`/taxon_names/${n}`,{params:{extend:["type_taxon_name_relationship"]}})}static getOtuImages(n,a){return Ke.get(`/otus/${n}/inventory/images.json`,a)}static getTaxonomy(n,a){return Ke.get(`/otus/${n}/inventory/taxonomy.json`,a)}static getOtuTypeMaterial(n){return Ke.get(`/otus/${n}/inventory/type_material.json`)}static getOtuDistribution(n,a={}){return Ke.get(`/otus/${n}/inventory/distribution.json`,a)}static getOtuGeoJSONDistribution(n){return Ke.get(`/otus/${n}/inventory/distribution.geojson`)}static getCachedMap(n,a){return Ke.get(`/cached_maps/${n}`,a)}static getOtuContent(n,a){return Ke.get(`/otus/${n}/inventory/content`,a)}static getCachedMap(n){return Ke.get(`/cached_maps/${n}`)}}const Ui=yo("otuStore",{state:()=>({otu:null,taxon:null,images:null,catalog:{sources:[],stats:{},timeline:[],isLoading:!1},taxonomy:{commonNames:[],synonyms:[]}}),actions:{async loadTaxon(t,{signal:n}){const a=ml(),s=await Promise.all([ln.getTaxon(t,{params:{extend:["type_taxon_name_relationship"]}}),Mi("summary",()=>ln.summary(t,{signal:n}))]);this.taxon=Object.assign({},...s.map(c=>c.data)),a.setNextAuthorText(this.taxon.full_name_tag+".")},async loadOtu(t,{signal:n}){const a=await ln.getOtu(t,{signal:n});this.otu=a.data},async loadTaxonomy(t,{signal:n}){const{data:a}=await ln.getTaxonomy(t,{params:{max_descendants_depth:0,extend:["common_names"]},signal:n});this.taxonomy={commonNames:a.common_names,synonyms:a.nomenclatural_synonyms}},async loadCatalog(t,{signal:n}){this.catalog.isLoading=!0;const a=await Mi("taxonomy",()=>ln.getTaxonNameCitations(t,{signal:n}));this.catalog={...a.data,sources:a.data.sources.map(({cached:s,url:c})=>s.replace(c,`${c}`)),isLoading:!1}},async loadInit({otuId:t,controller:n}){Ds().$reset();try{await this.loadOtu(t,n),await this.loadTaxon(this.otu.taxon_name_id,n),await this.loadCatalog(this.otu.taxon_name_id,n),await this.loadTaxonomy(t,n)}catch(s){return Promise.reject(s)}}}});function tb(t,n){return t||(t={}),t._resolver=n,t}function eb(t){return tb(t,"taxon")}function nb(t){return fl({script:[{type:"application/ld+json",key:"schema-org-graph",nodes:t}]})}function Za(t,n){return!t.length||t.some(a=>n==null?void 0:n.includes(a))}function ib(t,n){return n.split("::").at(2)===t}function rb(t,n){return{type:"Feature",geometry:t,properties:{base:[{type:n}]}}}function ob(t){const n=[],a=[];return t.features.forEach(s=>{const c=s.properties.shape.id,i=s.properties.shape.type;a.includes(s.properties.base.type)||a.push(s.properties.base.type);const l=n.findIndex(h=>h.properties.shape.id===c&&h.properties.shape.type===i);if(l>-1){const h=n[l];h.properties.base.push(s.properties.base),h.properties.target.push(s.properties.target)}else{const h=structuredClone(s);h.properties.base=[h.properties.base],h.properties.target=[h.properties.target],n.push(h)}}),a.sort(),{shapeTypes:a,features:n}}const sb=Y("h3",{class:"font-medium"},"Sitemap",-1),ab={class:"p-4 pt-0"},lb=Y("p",{class:"text-sm mb-2"}," The following links provide the information present on this page in JSON format. ",-1),ub=["href"],cb={__name:"SiteMap",setup(t){const n=Zt(!1),a=Ds();return(s,c)=>{const i=gt("IconJson"),l=gt("VButton"),h=gt("VTableHeaderCell"),p=gt("VTableHeaderRow"),_=gt("VTableHeader"),g=gt("VTableBodyCell"),v=gt("VTableBodyRow"),M=gt("VTableBody"),A=gt("VTable"),P=gt("VModal");return H(),tt("div",null,[st(l,{primary:"",class:"text-sm md:flex items-center gap-1 hidden",title:"Links used to obtain the information present on this page in JSON format.",onClick:c[0]||(c[0]=S=>n.value=!0)},{default:mt(()=>[st(i,{class:"w-4 h-4"}),te(" Sitemap ")]),_:1}),n.value?(H(),Et(P,{key:0,onClose:c[1]||(c[1]=S=>n.value=!1)},{header:mt(()=>[sb]),default:mt(()=>[Y("div",ab,[lb,st(A,null,{default:mt(()=>[st(_,null,{default:mt(()=>[st(p,null,{default:mt(()=>[st(h,null,{default:mt(()=>[te(" Request Key ")]),_:1}),st(h,null,{default:mt(()=>[te(" URL ")]),_:1})]),_:1})]),_:1}),st(M,null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(qt(a).sitemap,(S,N)=>(H(),Et(v,{key:N},{default:mt(()=>[st(g,{class:"capitalize"},{default:mt(()=>[te(Jt(N.replaceAll(":"," ")),1)]),_:2},1024),st(g,null,{default:mt(()=>[Y("a",{href:S},Jt(S),9,ub)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])]),_:1})):It("",!0)])}}},hb={class:"relative"},db=Y("svg",{class:"h-5 w-5 text-primary-500 print:hidden",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"},[Y("path",{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"})],-1),fb={key:1,class:"absolute right-0 py-2 bg-white dark:bg-gray-900 rounded-md shadow-xl z-20"},pb={__name:"BreadcrumbDropdown",props:{list:{type:Array,required:!0}},setup(t){const n=Zt(!1);return(a,s)=>{const c=gt("router-link");return H(),tt("div",hb,[Y("div",null,[Y("button",{class:"inline-flex items-center text-sm hover:text-gray-900 text-primary-500 dark:hover:text-gray-500",onClick:s[0]||(s[0]=i=>n.value=!n.value)},[ke(a.$slots,"default"),db]),n.value?(H(),tt("div",{key:0,class:"fixed inset-0 h-full w-full z-10",onClick:s[1]||(s[1]=i=>n.value=!1)})):It("",!0),n.value?(H(),tt("div",fb,[(H(!0),tt(Gt,null,ve(t.list,i=>(H(),Et(c,{key:i.id,class:"block px-4 py-2 text-sm capitalize hover:bg-secondary-color hover:bg-opacity-5",to:{name:"otus-id",params:{id:i.id}}},{default:mt(()=>[te(Jt(i.name||a.key),1)]),_:2},1032,["to"]))),128))])):It("",!0)])])}}},_b={class:"inline-flex items-center flex-wrap"},mb={class:"inline-flex items-center ml-0 text-sm"},gb=["innerHTML"],yb={__name:"Breadcrumb",props:{list:{type:Object,default:()=>({})},current:{type:Object,required:!0}},setup(t){return(n,a)=>{const s=gt("IconArrowRight"),c=gt("router-link");return H(),tt("ul",_b,[(H(!0),tt(Gt,null,ve(t.list,(i,l,h)=>(H(),tt("li",{key:i.id,class:"inline-flex items-center"},[h?(H(),Et(s,{key:0,class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"})):It("",!0),i.length===1?(H(),Et(c,{key:1,class:"inline-flex items-center text-sm text-accent-100 hover:text-gray-900 dark:hover:text-gray-500 text-secondary-color",to:{name:"otus-id",params:{id:i[0].id}}},{default:mt(()=>[te(Jt(l),1)]),_:2},1032,["to"])):(H(),Et(pb,{key:2,list:i.map(p=>({...p,name:p.name||l}))},{default:mt(()=>[te(Jt(l),1)]),_:2},1032,["list"]))]))),128)),Y("li",mb,[st(s,{class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"}),Y("span",{innerHTML:t.current.full_name_tag},null,8,gb)])])}}},vb={__name:"CommonNames",setup(t){const n=Ui(),a=Yt(()=>n.taxonomy.commonNames.map(s=>s.name).join("; "));return(s,c)=>(H(),tt("span",null,Jt(a.value),1))}},bb={class:"text-1xl capitalize"},xb={class:"text-xl dark:text-gray-100"},Lb=["title","innerHTML"],wb={key:0,class:"ml-1 text-red-600",title:"Invalid"},kb={class:"text-1xl"},Mb={__name:"TaxaInfo",setup(t){const n=Ui();return(a,s)=>(H(),tt("div",null,[Y("h2",bb,Jt(qt(n).taxon.rank||"Combination"),1),Y("h1",xb,[Y("span",null,[Y("span",{title:qt(n).taxon.short_status,innerHTML:qt(n).taxon.full_name_tag},null,8,Lb),qt(n).taxon.is_valid?It("",!0):(H(),tt("span",wb," ✕ "))])]),Y("h2",kb,[st(vb)])]))}};var Cb={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Pb={__name:"DWCDownload",props:{otu:{type:Object,required:!0}},setup(t){const{url:n,project_token:a}=Cb,s=t;function c(){window.open(`${n}/otus/${s.otu.id}/inventory/dwc.csv?project_token=${a}`,"_self")}return(i,l)=>{const h=gt("IconDownload"),p=gt("VButton");return H(),Et(p,{primary:"",class:"text-sm flex items-center",title:"Download DwC Occurrences",onClick:l[0]||(l[0]=()=>{c()})},{default:mt(()=>[st(h,{class:"w-4 h-4 mr-1"}),te(" DwC ")]),_:1})}}};function Sb(t){return t.replace(/^[\s_]+|[\s_]+$/g,"").replace(/[_\s]+/g," ").replace(/^[a-z]/,n=>n.toUpperCase())}function Eb(){const t=Bs(),{children:n}=t.getRoutes().find(a=>a.name==="otus-id");return n.map(({path:a,name:s,meta:c})=>({label:a&&(c.label||Sb(a)),path:a,name:s,meta:c}))}var Tb={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Ob={class:"bg-base-foreground border-b border-base-muted pl-4 pr-4"},Ab={class:"container mx-auto"},Rb={class:"pt-6 pb-6"},Bb={class:"flex flex-col-reverse md:flex-row justify-between items-start"},Ib={class:"mt-8 flex justify-between items-end"},Db={class:"flex flex-row gap-2"},jb={class:"pt-3 pb-4"},zb={class:"container mx-auto box-border"},Nb={__name:"Index",setup(t){const n=Jh(),a=Bs(),s=Zt(n.params),c=Eb(),i=Ui(),l=ml();let h=new AbortController;a.afterEach(N=>{s.value=N.params});const p=Yt(()=>i.otu),_=Yt(()=>i.taxon),g=Yt(()=>{var N,B;return((N=p.value)==null?void 0:N.id)&&((B=_.value)==null?void 0:B.id)}),v=Yt(()=>c.filter(N=>Za(N.meta.rankGroup,_.value.rank_string)));ll(async()=>{await M()}),Ze(()=>n.params.id,async()=>{h.abort(),h=new AbortController,M()}),rn(async()=>{var N,B;((N=p.value)==null?void 0:N.id)!==Number(n.params.id)||!((B=_.value)!=null&&B.id)?await M():P()}),ei(()=>{i.$reset(),l.$reset()});async function M(){i.$reset(),l.$reset();try{await i.loadInit({otuId:n.params.id,controller:h}),P()}catch(N){N.name!==ho.CanceledError&&A(N)}}function A(N){var B;switch((B=N==null?void 0:N.response)==null?void 0:B.status){case 404:a.replace({name:"httpError404"});break;case 500:a.replace({name:"httpError500"});break}}function P(){fl({title:`${Tb.project_name} - ${_.value.full_name}`}),nb([eb({id:n.fullPath,name:_.value.full_name,scientificName:{name:_.value.full_name,author:_.value.author,taxonRank:_.value.rank},parentTaxon:{name:_.value.parent.full_name,taxonRank:_.value.parent.rank},commonNames:i.taxonomy.commonNames,alternateName:i.taxonomy.synonyms})])}function S({id:N,otu_valid_id:B}){a.push({name:"otus-id-overview",params:{id:B||N}})}return(N,B)=>{const F=gt("VSkeleton"),O=gt("Autocomplete"),C=gt("ClientOnly"),I=gt("TabItem"),$=gt("TabMenu"),rt=gt("RouterView");return H(),tt("main",null,[Y("div",Ob,[Y("div",Ab,[Y("div",Rb,[Y("div",Bb,[st(F,{class:"w-full md:w-3/4"},{default:mt(()=>{var X;return[g.value?(H(),Et(yb,{key:0,class:"w-full md:w-3/4",list:((X=p.value)==null?void 0:X.parents)||{},current:_.value},null,8,["list","current"])):It("",!0)]}),_:1}),st(O,{class:"print:hidden min-w-full mb-2 md:min-w-fit md:ml-2 md:mb-0 md:w-96",url:"/otus/autocomplete","query-param":"term",label:"label_html",placeholder:"Search name...",params:{having_taxon_name_only:!0},onSelect:S})]),Y("div",Ib,[st(F,{lines:2,class:"w-96"},{default:mt(()=>[g.value?(H(),Et(Mb,{key:0})):It("",!0)]),_:1}),Y("div",Db,[st(C,null,{default:mt(()=>[st(cb)]),_:1}),g.value?(H(),Et(Pb,{key:0,otu:p.value},null,8,["otu"])):It("",!0)])])]),g.value&&qt(c).length>1?(H(),Et($,{key:0,class:"m-[-1px] print:hidden"},{default:mt(()=>[(H(!0),tt(Gt,null,ve(v.value,({name:X,label:nt})=>(H(),Et(I,{key:X,to:{name:X}},{default:mt(()=>[te(Jt(nt),1)]),_:2},1032,["to"]))),128))]),_:1})):It("",!0)])]),Y("div",jb,[Y("div",zb,[g.value?(H(),Et(rt,{key:qt(n).fullPath,"taxon-id":_.value.id,taxon:_.value,"taxon-rank":_.value.rank_string,"otu-id":p.value.id,otu:p.value},null,8,["taxon-id","taxon","taxon-rank","otu-id","otu"])):It("",!0)])])])}}},Fb=["innerHTML"],Vb={__name:"PanelContentTopic",props:{title:{type:String,required:!0},textList:{type:Array,required:!0}},setup(t){return(n,a)=>{const s=gt("VCardHeader"),c=gt("VCardContent");return H(),tt(Gt,null,[st(s,{class:"border-t border-base-muted first:border-t-0"},{default:mt(()=>[te(Jt(t.title),1)]),_:1}),st(c,null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(t.textList,(i,l)=>(H(),tt("ul",{key:l,class:"pt-1 text-sm"},[Y("li",{innerHTML:i},null,8,Fb)]))),128))]),_:1})],64)}}},$b={__name:"PanelContent",props:{otuId:{type:Number,required:!0}},setup(t){const n=t,a=Zt([]),s=new AbortController,c=Yt(()=>a.value.reduce((i,l)=>(i[l.name]?i[l.name].push(l.text):i[l.name]=[l.text],i),{}));return yh(()=>{Mi("panel:content",()=>ln.getOtuContent(n.otuId,{params:{extend:["depiction"]},signal:s.signal})).then(({data:i})=>{a.value=i}).catch(i=>{})}),ei(()=>{s.abort()}),(i,l)=>{const h=gt("VCard");return a.value.length?(H(),Et(h,{key:0},{default:mt(()=>[(H(!0),tt(Gt,null,ve(c.value,(p,_)=>(H(),Et(Vb,{key:_,title:_,"text-list":p},null,8,["title","text-list"]))),128))]),_:1})):It("",!0)}}},Gb={id:"panel:content",component:$b},Hb={class:"synonyms"},Ub=Y("span",{class:"text-orange-500 mr-1"},"=",-1),Zb=["innerHTML"],qb={__name:"DescendantsSynonymList",props:{list:{type:Array,required:!0}},setup(t){const n=t;return(a,s)=>(H(),tt("ul",Hb,[(H(!0),tt(Gt,null,ve(n.list,c=>(H(),tt("li",{key:c},[Ub,Y("span",{innerHTML:c},null,8,Zb)]))),128))]))}},Kb={key:0,class:"tree"},Wb={__name:"DescendantsTree",props:{taxonomy:{type:Object,required:!0},level:{type:Number,default:1}},setup(t){const n=t,a=Zt(!!n.taxonomy.descendants.length),s=Zt([...n.taxonomy.descendants]);Ze(a,i=>{i&&c()});const c=()=>{s.value.length||ln.getTaxonomy(n.taxonomy.otu_id,{params:{max_descendants_depth:1}}).then(({data:i})=>{s.value=i.descendants})};return(i,l)=>{const h=gt("button-expand"),p=gt("router-link"),_=gt("AnimationOpacity");return Object.keys(t.taxonomy).length?(H(),tt("li",{key:t.taxonomy.otu_id},[t.taxonomy.leaf_node?It("",!0):(H(),Et(h,{key:0,modelValue:a.value,"onUpdate:modelValue":l[0]||(l[0]=g=>a.value=g),class:"absolute -left-2.5"},null,8,["modelValue"])),st(p,{class:"text-primary-500",to:{name:"otus-id",params:{id:t.taxonomy.otu_id}},innerHTML:t.taxonomy.name},null,8,["to","innerHTML"]),t.taxonomy.nomenclatural_synonyms.length?(H(),Et(qb,{key:1,class:"pb-4",list:t.taxonomy.nomenclatural_synonyms},null,8,["list"])):It("",!0),st(_,null,{default:mt(()=>[s.value.length?(H(),tt("ul",Kb,[(H(!0),tt(Gt,null,ve(s.value,g=>(H(),Et(_,{key:g.otu_id},{default:mt(()=>[a.value?(H(),Et(Ld,{key:0,taxonomy:g},null,8,["taxonomy"])):It("",!0)]),_:2},1024))),128))])):It("",!0)]),_:1})])):It("",!0)}}},Ld=ie(Wb,[["__scopeId","data-v-b79ba271"]]),Jb=Y("h3",null,"JSON Data",-1),Yb={key:0,class:"p-5 font-normal"},Xb={class:"pb-2 text-sm"},Qb=["href"],t0={class:"relative"},e0=["innerHTML"],kr={__name:"PanelDropdown",props:{panelKey:{type:String,required:!0},menuOptions:{type:Array,default:()=>[]}},setup(t){const n=t,a=Yt(()=>s.getRequest(n.panelKey)),s=Ds(),c=Zt(!1),i=Yt(()=>[...n.menuOptions,{label:"JSON Data",action:()=>c.value=!0}]);return(l,h)=>{const p=gt("IconHamburger"),_=gt("Dropdown"),g=gt("VClipboard"),v=gt("VModal");return H(),tt(Gt,null,[st(_,{items:i.value},{button:mt(()=>[st(p,{class:"text-base-soft h-4"})]),_:1},8,["items"]),c.value?(H(),Et(v,{key:0,onClose:h[0]||(h[0]=M=>c.value=!1)},{header:mt(()=>[Jb]),default:mt(()=>[a.value?(H(),tt("div",Yb,[Y("h3",Xb,[te(" URL: "),Y("a",{href:a.value.url},Jt(a.value.url),9,Qb)]),Y("div",t0,[Y("p",{class:"bg-base-background p-2 text-sm font-normal whitespace-pre-wrap",innerHTML:JSON.stringify(a.value.data,null,4)},null,8,e0),st(g,{class:"absolute right-2 top-2 opacity-75",text:JSON.stringify(a.value.data,null,2)},null,8,["text"])])])):It("",!0)]),_:1})):It("",!0)],64)}}},n0=t=>(sh("data-v-91511d41"),t=t(),ah(),t),i0=n0(()=>Y("h2",{class:"text-md"},"Descendants and synonyms",-1)),r0={class:"tree ml-2"},o0={__name:"PanelDescendants",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,a=Zt(null),s=Zt(!1);return Ze(()=>n.otuId,async()=>{n.otuId&&(s.value=!0,Mi("panel:descendants",()=>ln.getTaxonomy(n.otuId,{params:{max_descendants_depth:1}})).then(({data:c})=>{a.value=c}).finally(()=>s.value=!1))},{immediate:!0}),(c,i)=>{const l=gt("VSpinner"),h=gt("ClientOnly"),p=gt("VCardHeader"),_=gt("AnimationOpacity"),g=gt("VCardContent"),v=gt("VCard");return H(),Et(v,null,{default:mt(()=>[st(h,null,{default:mt(()=>[s.value?(H(),Et(l,{key:0,"logo-class":"w-8 h-8",legend:""})):It("",!0)]),_:1}),st(p,{class:"flex justify-between"},{default:mt(()=>[i0,st(kr,{"panel-key":"panel:descendants"})]),_:1}),st(g,{class:"text-sm"},{default:mt(()=>[Y("ul",r0,[st(_,null,{default:mt(()=>[a.value&&(a.value.nomenclatural_synonyms.length||a.value.descendants.length)?(H(),Et(Ld,{key:0,taxonomy:a.value},null,8,["taxonomy"])):It("",!0)]),_:1})])]),_:1})]),_:1})}}},s0=ie(o0,[["__scopeId","data-v-91511d41"]]),a0={id:"panel:descendants",component:s0},l0=yo("imageStore",{state:()=>({images:null,controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},async loadImages(t){const n=["image/tiff"],a={extend:["depictions","attribution","source","citations"],otu_scope:["all"]};this.controller=new AbortController;try{const s=await Mi("panel:images",()=>ln.getOtuImages(t,{params:a,signal:this.controller.signal}));this.images=s.data.map(c=>{const i={...c};return n.includes(i.content_type)&&(i.original=c.original_png||c.original),i}),this.controller=null}catch(s){s.name!==ho.CanceledError&&(this.controller=null)}}}}),u0={__name:"PanelGallery",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,a=l0(),s=Yt(()=>a.images||[]);return ll(async()=>{await a.loadImages(n.otuId)}),rn(()=>{a.images||a.loadImages(n.otuId)}),ei(()=>{a.resetRequest(),a.$reset()}),(c,i)=>{const l=gt("GalleryImage"),h=gt("VCardContent"),p=gt("VCard");return s.value.length?(H(),Et(p,{key:0},{default:mt(()=>[st(h,null,{default:mt(()=>[st(l,{images:s.value},null,8,["images"])]),_:1})]),_:1})):It("",!0)}}},c0={id:"panel:gallery",component:u0,rankGroup:[]},h0=yo("distributionStore",{state:()=>({distribution:{geojson:null,errorMessage:null,currentShapeTypes:[],cachedMap:null},controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},loadCachedMap(t){ln.getCachedMap(t,{signal:this.controller.signal}).then(n=>{this.distribution.cachedMap=n.data})},async getAggregateShape(t){Mi("panel:map",()=>ln.getOtuDistribution(t,{signal:this.controller.signal})).then(({data:n})=>{const a=JSON.parse(n.cached_map.geo_json);this.distribution.currentShapeTypes=["Aggregate"],this.distribution.geojson={features:[rb(a,"Aggregate")]},this.loadCachedMap(n.cached_map.id)}).catch(n=>{n.name!=ho.CanceledError&&(this.distribution.errorMessage=n.response.data.error,this.distribution.currentShapeTypes=[],this.distribution.geojson=[])})},async loadDistribution({otuId:t,rankString:n}){const a=n&&ib("SpeciesGroup",n);this.controller=new AbortController,a?Mi("panel:map",()=>ln.getOtuGeoJSONDistribution(t,{signal:this.controller.signal})).then(({data:s})=>{if(s.request_too_large)this.distribution.geojson=null,this.distribution.errorMessage=s.message;else{const{features:c,shapeTypes:i}=ob(s);this.distribution.currentShapeTypes=i,this.distribution.geojson={features:c}}}).catch(s=>{s.name!==ho.CanceledError&&this.getAggregateShape(t)}):this.getAggregateShape(t)}}});function wd(t){return{html:`
${t.getChildCount()}
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive bg-map-collection-object bg-opacity-60 marker-cluster text-white",iconSize:[40,40]}}function kd(t){return{html:` +
+
+
+
+
+
+
+ + ${t.getChildCount()} + +
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive",iconSize:[40,40]}}function d0(t){return{html:`
${t.getChildCount()}
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive marker-cluster bg-map-type-material bg-opacity-60 text-white",iconSize:[40,40]}}const f0=Object.freeze(Object.defineProperty({__proto__:null,CollectionObject:wd,Mixed:kd,TypeMaterial:d0},Symbol.toStringTag,{value:"Module"}));function p0({L:t,cluster:n}){const a=n.getAllChildMarkers().map(l=>l.feature.properties.base.map(h=>h.type)).flat(),s=[...new Set(a)],c=s.pop(),i=s.length?kd:f0[c]||wd;return t.divIcon(i(n))}const _0=Y("h3",{class:"font-medium"},"Cached map",-1),m0={class:"p-4 pt-0"},g0={key:0,class:"text-success flex text-sm items-center"},y0=Y("span",{class:"ml-1"}," Map is synchronized with the latest changes * ",-1),v0={key:1,class:"text-warning flex text-sm items-center"},b0=Y("span",{class:"ml-1"}," Map is not synchronized with the latest changes * ",-1),x0=Y("p",{class:"italic text-xs pt-4"}," * Aggregate maps are generated from georeference and asserted distribution data. Map computation takes time, and as such they are re-calculated periodically rather than when individual georeferences and asserted distributions are created, destroyed, or updated. When a warning notice is present then the map is not syncronized with the latest changes to the underlying data. ",-1),L0={__name:"CachedMap",props:{cachedMap:{type:Object,required:!0}},setup(t){const n=Zt(!1);return(a,s)=>{const c=gt("IconCheck"),i=gt("IconWarning"),l=gt("VButton"),h=gt("VTableHeaderCell"),p=gt("VTableHeaderRow"),_=gt("VTableHeader"),g=gt("VTableBodyCell"),v=gt("VTableBodyRow"),M=gt("VTableBody"),A=gt("VTable"),P=gt("VModal");return H(),tt(Gt,null,[st(l,{class:"left-2 bottom-2 !px-2 py-2 rounded-full absolute z-[1500]",primary:"",title:"Cached map",onClick:s[0]||(s[0]=S=>n.value=!0)},{default:mt(()=>[t.cachedMap.synced?(H(),Et(c,{key:0,class:"w-4 h-4"})):(H(),Et(i,{key:1,class:"w-4 h-4"}))]),_:1}),n.value?(H(),Et(P,{key:0,onClose:s[1]||(s[1]=()=>n.value=!1)},{header:mt(()=>[_0]),default:mt(()=>[Y("div",m0,[st(A,null,{default:mt(()=>[st(_,null,{default:mt(()=>[st(p,null,{default:mt(()=>[st(h,null,{default:mt(()=>[te("Data")]),_:1}),st(h)]),_:1})]),_:1}),st(M,null,{default:mt(()=>[st(v,null,{default:mt(()=>[st(g,null,{default:mt(()=>[te(" Is synced ")]),_:1}),st(g,null,{default:mt(()=>[t.cachedMap.synced?(H(),tt("p",g0,[st(c,{class:"w-4 h-4"}),y0])):(H(),tt("p",v0,[st(i,{class:"w-4 h-4"}),b0]))]),_:1})]),_:1}),st(v,null,{default:mt(()=>[st(g,null,{default:mt(()=>[te(" Last update ")]),_:1}),st(g,null,{default:mt(()=>[te(Jt(new Date(t.cachedMap.updated_at)),1)]),_:1})]),_:1})]),_:1}),st(_,null,{default:mt(()=>[st(p,null,{default:mt(()=>[st(h,null,{default:mt(()=>[te("Source")]),_:1}),st(h,null,{default:mt(()=>[te("Total")]),_:1})]),_:1})]),_:1}),st(M,null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(t.cachedMap.source_scope,(S,N)=>(H(),Et(v,{key:N},{default:mt(()=>[st(g,{class:"capitalize"},{default:mt(()=>[te(Jt(N.replaceAll("_"," ")),1)]),_:2},1024),st(g,null,{default:mt(()=>[te(Jt(S),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),x0])]),_:1})):It("",!0)],64)}}},w0={class:"bottom-0 w-screen bg-base-foreground z-[1000] left-0 p-4 text-sm flex flex-row justify-between align-middle box-border border-b border-base-muted"},k0=["innerHTML"],M0={__name:"SearchBar",props:{label:{type:String,required:!0}},emits:["close"],setup(t,{emit:n}){const a=n;return(s,c)=>{const i=gt("IconClose");return H(),tt("div",w0,[Y("div",null,[Y("span",{class:"ml-2",innerHTML:t.label},null,8,k0)]),st(i,{class:"cursor-pointer",onClick:c[0]||(c[0]=()=>a("close"))})])}}},C0={key:1,class:"text-lg text-center text-base-lighter align-middle p-4"},P0={__name:"ListResults",props:{list:{type:Array,default:()=>[]}},emits:["close","close:table"],setup(t,{emit:n}){const a=n;return(s,c)=>{const i=gt("IconArrowRight"),l=gt("VTableHeaderCell"),h=gt("VTableHeaderRow"),p=gt("VTableHeader"),_=gt("RouterLink"),g=gt("VTableBodyCell"),v=gt("VTableBodyRow"),M=gt("VTableBody"),A=gt("VTable");return t.list.length?(H(),Et(A,{key:0,class:"shadow-md"},{default:mt(()=>[st(p,null,{default:mt(()=>[st(h,null,{default:mt(()=>[st(l,{class:"w-full flex justify-between box-border items-center"},{default:mt(()=>[Y("span",null,"OTU ("+Jt(t.list.length)+")",1),st(i,{class:"opacity-50 cursor-pointer w-4 h-4",onClick:c[0]||(c[0]=P=>a("close:table"))})]),_:1})]),_:1})]),_:1}),st(M,null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(t.list,P=>(H(),Et(v,{key:P.id},{default:mt(()=>[st(g,null,{default:mt(()=>[st(_,{innerHTML:P.object_tag,to:{name:"otus-id",params:{id:P.id}},onClick:c[1]||(c[1]=()=>a("close"))},null,8,["innerHTML","to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(H(),tt("div",C0," No OTUs found in this area "))}}},S0={__name:"OtuSearch",props:{otu:{type:Array,default:()=>[]},shapes:{type:Object,default:void 0}},emits:["close"],setup(t,{emit:n}){const a=t,s=Zt(),c=n,i=Zt(null),l=Zt([]),h=Zt(!1),p=Zt(),_=Zt(6),g=Zt(6),v=Yt(()=>!!a.shapes&&g.value<=_.value);rn(()=>{document.addEventListener("keyup",M),document.body.classList.add("overflow-hidden")}),Hi(()=>{document.removeEventListener("keyup",M),document.body.classList.remove("overflow-hidden")});const M=({key:B})=>{switch(B){case"Escape":c("close");break}};function A(B){const F={geo_json:B,taxon_name_id:[a.otu.taxon_name_id],descendants:!0,per:5e3};p.value=!0,ln.getOtus(F).then(({data:O})=>{l.value=O,h.value=!0}).finally(O=>{p.value=!1})}function P(B){S(),v.value&&i.value.resizeMap()}function S(){g.value=i.value.getMapObject().getZoom()}function N(){_.value=i.value.getMapObject().getZoom(),S()}return(B,F)=>{const O=gt("VSpinner"),C=gt("VMap");return H(),tt("div",{ref_key:"root",ref:s,class:"w-screen h-screen fixed top-0 left-0 z-[5000] flex flex-col"},[p.value?(H(),Et(O,{key:0})):It("",!0),st(M0,{label:t.otu.object_tag,onClose:F[0]||(F[0]=()=>c("close"))},null,8,["label"]),Y("div",{class:We(["w-full","h-full","relative",{"disable-zoom-out":v.value}])},[st(C,{ref_key:"mapRef",ref:i,class:"w-full h-full",controls:"",dragging:!v.value,"zoom-bounds":_.value,geojson:t.shapes,"onGeojson:ready":N,"onAdd:layer":F[1]||(F[1]=I=>A(JSON.stringify(I.geometry))),"onEdit:layer":F[2]||(F[2]=I=>A(JSON.stringify(I.geometry))),"onDrag:layer":F[3]||(F[3]=I=>A(JSON.stringify(I.geometry))),"onZoom:change":P,zoom:4},null,8,["dragging","zoom-bounds","geojson"]),Y("div",{class:We(["h-full","md:w-96","absolute","top-0","bg-base-background","z-[2000]","overflow-auto","ease-in-out","duration-300","w-full",{"md:-right-96 -right-full":!h.value,"right-0":h.value}])},[h.value?(H(),Et(P0,{key:0,list:l.value,onClose:F[4]||(F[4]=()=>c("close")),"onClose:table":F[5]||(F[5]=()=>h.value=!1)},null,8,["list"])):It("",!0)],2)],2)],512)}}},E0=ie(S0,[["__scopeId","data-v-030a0bac"]]),T0={class:"relative"},O0={key:0,class:"flex flex-row p-2 text-xs italic"},A0={key:1,class:"flex flex-row p-2 gap-2 text-xs"},R0=2,B0={__name:"PanelMap",props:{otuId:{type:[String,Number],required:!0},otu:{type:Object,required:!0},taxon:{type:Object,required:!0},cluster:{type:Boolean,default:!0}},setup(t){const n=t,a=Zt(!0),s=Zt(!1),c=h0(),i={AssertedDistribution:{label:"Asserted distribution",background:"bg-map-asserted"},Georeference:{label:"Georeference",background:"bg-map-georeference"},TypeMaterial:{label:"Type material",background:"bg-map-type-material"},CollectionObject:{label:"Collection object",background:"bg-map-collection-object"},Aggregate:{label:"Aggregate (Asserted distribution & Georeference)",background:"bg-map-aggregate"}};return rn(()=>{a.value=!0,c.loadDistribution({otuId:n.otuId,rankString:n.taxon.rank_string})}),ei(()=>{c.resetRequest(),c.$reset()}),(l,h)=>{const p=gt("VSpinner"),_=gt("VMap"),g=gt("VButton"),v=gt("ClientOnly"),M=gt("VCard");return H(),Et(M,null,{default:mt(()=>[Y("div",T0,[st(v,null,{default:mt(()=>[a.value?(H(),Et(p,{key:0})):It("",!0),st(_,{class:"h-96 max-h-96",dragging:"",cluster:t.cluster,zoom:R0,"zoom-bounds":8,geojson:qt(c).distribution.geojson,"cluster-icon-create-function":qt(p0),"onGeojson:ready":h[0]||(h[0]=()=>a.value=!1)},null,8,["cluster","geojson","cluster-icon-create-function"]),st(g,{class:"h-6 text-sm absolute right-3 top-3 z-[400]",primary:"",onClick:h[1]||(h[1]=()=>s.value=!0)},{default:mt(()=>[te(" Search ")]),_:1}),s.value?(H(),Et(E0,{key:1,otu:t.otu,shapes:qt(c).distribution.geojson,onClose:h[2]||(h[2]=()=>s.value=!1)},null,8,["otu","shapes"])):It("",!0),qt(c).distribution.cachedMap?(H(),Et(L0,{key:2,"cached-map":qt(c).distribution.cachedMap},null,8,["cached-map"])):It("",!0)]),_:1})]),qt(c).distribution.errorMessage?(H(),tt("div",O0," * "+Jt(qt(c).distribution.errorMessage),1)):It("",!0),qt(c).distribution.currentShapeTypes.length?(H(),tt("div",A0,[(H(!0),tt(Gt,null,ve(qt(c).distribution.currentShapeTypes,A=>(H(),tt("div",{key:A,class:"flex flex-row items-center"},[Y("div",{class:We(["w-3","h-3","m-1","rounded-sm",i[A].background])},null,2),Y("span",null,Jt(i[A].label),1)]))),128))])):It("",!0)]),_:1})}}},I0={id:"panel:map",component:B0};function Md(t,n){const a=t.slice(),s=a.splice(0,n),c=a.splice(-n);return{first:s,middle:a,last:c}}const D0={class:"border-b border-base-muted p-3 px-5"},j0=["title","innerHTML"],z0=["innerHTML"],xa={__name:"PanelCitationRow",props:{citation:{type:Object,required:!0}},setup(t){return(n,a)=>(H(),tt("li",D0,[Y("span",{class:"break-all block",title:t.citation.label,innerHTML:t.citation.label},null,8,j0),t.citation.type_label?(H(),tt("p",{key:0,class:"ml-4 text-base-soft",innerHTML:t.citation.type_label},null,8,z0)):It("",!0)]))}},N0={class:"flex justify-start border-b p-3 px-4 cursor-pointer border-base-muted"},Cd={__name:"PanelNomenclatureShowMore",props:{count:{type:Number,required:!0}},setup(t){return(n,a)=>{const s=gt("IconPlusCircle");return H(),tt("li",N0,[Y("div",{class:"h-5 w-5 text-secondary-color opacity-60 mr-2 cursor-pointer",onClick:a[0]||(a[0]=()=>n.isExpanded=!n.isExpanded)},[st(s,{class:"h-5 w-5"})]),Y("span",null,"... Show all ... ("+Jt(t.count)+")",1)])}}},F0={class:"text-md"},V0={class:"text-sm"},$0={class:"text-sm"},G0={class:"text-sm"},H0=2,U0={__name:"PanelNomenclature",props:{otuId:{type:[Number,String],required:!0},taxonId:{type:[Number,String],required:!0},taxon:{type:Object,default:void 0},otu:{type:Object,default:void 0}},setup(t){const n=Ui(),a=Zt(!1),s=Yt(()=>Md(n.catalog.timeline,H0)),c=Yt(()=>[{label:a.value?"Show less":"Show all",action:()=>a.value=!a.value}]);return(i,l)=>{const h=gt("VSpinner"),p=gt("VCardHeader"),_=gt("AnimationOpacity"),g=gt("VCard");return H(),Et(g,null,{default:mt(()=>[qt(n).catalog.isLoading?(H(),Et(h,{key:0,"logo-class":"w-8 h-8",legend:""})):It("",!0),st(p,{class:"flex justify-between"},{default:mt(()=>[Y("h2",F0," Nomenclature ("+Jt(qt(n).catalog.timeline.length)+") ",1),st(kr,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),Y("ul",V0,[(H(!0),tt(Gt,null,ve(s.value.first,v=>(H(),Et(xa,{key:v.label,citation:v},null,8,["citation"]))),128)),!a.value&&s.value.middle.length?(H(),Et(Cd,{key:0,count:s.value.middle.length,onClick:l[0]||(l[0]=v=>a.value=!0)},null,8,["count"])):It("",!0)]),st(_,null,{default:mt(()=>[mo(Y("ul",$0,[(H(!0),tt(Gt,null,ve(s.value.middle,v=>(H(),Et(xa,{key:v.label,citation:v},null,8,["citation"]))),128))],512),[[Os,a.value]])]),_:1}),Y("ul",G0,[(H(!0),tt(Gt,null,ve(s.value.last,v=>(H(),Et(xa,{key:v.label,citation:v},null,8,["citation"]))),128))])]),_:1})}}},Z0={id:"panel:nomenclature",component:U0},q0={class:"border-b border-base-muted p-3 px-5"},K0=["title","innerHTML"],La={__name:"PanelReferenceRow",props:{reference:{type:String,required:!0}},setup(t){return(n,a)=>(H(),tt("li",q0,[Y("span",{class:"[&>a]:break-all block",title:t.reference,innerHTML:t.reference},null,8,K0)]))}},W0={class:"text-md"},J0={class:"text-sm"},Y0=2,X0={__name:"PanelNomenclatureReferences",setup(t){const n=Ui(),a=Zt(!1),s=Yt(()=>Md(n.catalog.sources,Y0)),c=Yt(()=>[{label:a.value?"Show less":"Show all",action:()=>a.value=!a.value}]);return(i,l)=>{const h=gt("VSpinner"),p=gt("VCardHeader"),_=gt("AnimationOpacity"),g=gt("VCard");return H(),Et(g,null,{default:mt(()=>[qt(n).catalog.isLoading?(H(),Et(h,{key:0,"logo-class":"w-8 h-8",legend:""})):It("",!0),st(p,{class:"flex justify-between"},{default:mt(()=>[Y("h2",W0," Nomenclature references ("+Jt(qt(n).catalog.sources.length)+") ",1),st(kr,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),Y("ul",J0,[(H(!0),tt(Gt,null,ve(s.value.first,v=>(H(),Et(La,{key:v,reference:v},null,8,["reference"]))),128)),!a.value&&s.value.middle.length?(H(),Et(Cd,{key:0,count:s.value.middle.length,onClick:l[0]||(l[0]=v=>a.value=!0)},null,8,["count"])):It("",!0),st(_,null,{default:mt(()=>[mo(Y("div",null,[(H(!0),tt(Gt,null,ve(s.value.middle,v=>(H(),Et(La,{key:v,reference:v},null,8,["reference"]))),128))],512),[[Os,a.value]])]),_:1}),(H(!0),tt(Gt,null,ve(s.value.last,v=>(H(),Et(La,{key:v,reference:v},null,8,["reference"]))),128))])]),_:1})}}},Q0={id:"panel:nomenclature-references",component:X0},tx=Y("h2",{class:"text-md"},"Stats",-1),ex={__name:"PanelStats",props:{otuId:{type:[Number,String],required:!0},taxonId:{type:[Number,String],required:!0},taxon:{type:Object,default:void 0},otu:{type:Object,default:void 0}},setup(t){const n=Ui(),a=Zt(!1),s=Yt(()=>[{label:a.value?"Hide taxa":"Show taxa",action:()=>a.value=!a.value}]);return(c,i)=>{const l=gt("VSpinner"),h=gt("VCardHeader"),p=gt("VTableHeaderCell"),_=gt("VTableHeaderRow"),g=gt("VTableHeader"),v=gt("VTableBodyCell"),M=gt("VTableBodyRow"),A=gt("VTableBody"),P=gt("VTable"),S=gt("VCardContent"),N=gt("VCard");return H(),Et(N,null,{default:mt(()=>[qt(n).catalog.isLoading?(H(),Et(l,{key:0,"logo-class":"w-8 h-8",legend:""})):It("",!0),st(h,{class:"flex justify-between"},{default:mt(()=>[tx,st(kr,{"panel-key":"taxonomy","menu-options":s.value},null,8,["menu-options"])]),_:1}),st(S,{class:"text-sm"},{default:mt(()=>[st(P,null,{default:mt(()=>[st(g,null,{default:mt(()=>[st(_,null,{default:mt(()=>[st(p,{class:"bg-base-foreground"}),a.value?(H(),Et(p,{key:0,title:"OTUs linked to valid protonyms"},{default:mt(()=>[te(" Taxa ")]),_:1})):It("",!0),st(p,{title:"Taxon names",class:"border-l border-base-border"},{default:mt(()=>[te(" Names ")]),_:1}),st(p,{colspan:"2",class:"bg-base-foreground"})]),_:1}),st(_,null,{default:mt(()=>[st(p,null,{default:mt(()=>[te("Rank")]),_:1}),a.value?(H(),Et(p,{key:0,title:"OTUs linked to valid protonyms"},{default:mt(()=>[te("Total")]),_:1})):It("",!0),st(p,{title:"Taxon names",class:"border-l border-base-border"},{default:mt(()=>[te(" Total ")]),_:1}),st(p,null,{default:mt(()=>[te(" Valid ")]),_:1}),st(p,null,{default:mt(()=>[te(" Invalid ")]),_:1})]),_:1})]),_:1}),st(A,null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(qt(n).catalog.stats,({rank:B,taxa:F,names:O})=>(H(),Et(M,{key:B},{default:mt(()=>[st(v,{class:"capitalize"},{default:mt(()=>[te(Jt(B),1)]),_:2},1024),a.value?(H(),Et(v,{key:0},{default:mt(()=>[te(Jt(F),1)]),_:2},1024)):It("",!0),st(v,{class:"border-l border-base-border"},{default:mt(()=>[te(Jt(O.invalid+O.valid),1)]),_:2},1024),st(v,null,{default:mt(()=>[te(Jt(O.valid),1)]),_:2},1024),st(v,null,{default:mt(()=>[te(Jt(O.invalid),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}}},nx={id:"panel:statistics",component:ex},ix=Y("h2",{class:"text-md"},"Type",-1),rx=["innerHTML"],ox={__name:"PanelTypeDesignation",props:{taxonId:{type:[String,Number],required:!0}},setup(t){const n=Ui(),a=Yt(()=>{var c;return((c=n.taxon)==null?void 0:c.type_taxon_name_relationship)||{}}),s=Yt(()=>[a.value.subject_object_tag||"",a.value.subject_status_tag||"",a.value.object_object_tag||""].join(" "));return(c,i)=>{const l=gt("VCardHeader"),h=gt("VCardContent"),p=gt("VCard");return H(),Et(p,null,{default:mt(()=>[st(l,{class:"flex justify-between"},{default:mt(()=>[ix,st(kr,{"panel-key":"panel:type"})]),_:1}),st(h,{class:"text-sm"},{default:mt(()=>[Y("p",{innerHTML:s.value},null,8,rx)]),_:1})]),_:1})}}},sx={id:"panel:type",component:ox,rankGroup:[Oy,Ay]},ax=Y("h2",{class:"text-md"},"Type specimen",-1),lx={__name:"PanelTypeSpecimen",props:{otuId:{type:[String,Number],required:!0}},setup(t){const n=t,a=Zt([]);return Ze(()=>n.otuId,()=>{n.otuId&&Mi("panel:typeMaterial",()=>ln.getOtuTypeMaterial(n.otuId)).then(({data:s})=>{a.value=s.type_materials_catalog_labels.sort((c,i)=>sc.indexOf(c.type_type)-sc.indexOf(i.type_type))})},{immediate:!0}),(s,c)=>{const i=gt("VCardHeader"),l=gt("VCardContent"),h=gt("VCard");return a.value.length?(H(),Et(h,{key:0},{default:mt(()=>[st(i,{class:"flex justify-between"},{default:mt(()=>[ax,st(kr,{"panel-key":"panel:typeMaterial"})]),_:1}),st(l,{class:"text-sm"},{default:mt(()=>[Y("p",null,Jt(a.value[0].label),1)]),_:1})]),_:1})):It("",!0)}}},ux={id:"panel:type-specimen",component:lx,rankGroup:[Ry,By]},cx={overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]}};var hx={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const dx=Object.values(Object.assign({"/src/modules/otus/components/Panel/PanelContent/main.js":Gb,"/src/modules/otus/components/Panel/PanelDescendants/main.js":a0,"/src/modules/otus/components/Panel/PanelGallery/main.js":c0,"/src/modules/otus/components/Panel/PanelMap/main.js":I0,"/src/modules/otus/components/Panel/PanelNomenclature/main.js":Z0,"/src/modules/otus/components/Panel/PanelNomenclatureReferences/main.js":Q0,"/src/modules/otus/components/Panel/PanelStats/main.js":nx,"/src/modules/otus/components/Panel/PanelTypeDesignation/main.js":sx,"/src/modules/otus/components/Panel/PanelTypeSpecimen/main.js":ux})),{taxa_page:fx}=hx,yc=Object.assign({...cx,...fx});function px(t){return t.map(n=>n.map(a=>a.map(s=>{const i=typeof s=="string"?{id:s}:{...s};return{...dx.find(h=>h.id===i.id),...i}})))}const io={};for(const t in yc){const n=yc[t];io[t]={panels:px((n==null?void 0:n.panels)||{}),rankGroup:n.rank_group||[],label:n.label}}const _x={class:"grid gap-3"},mx={__name:"PageLayout",props:{taxonId:{type:[Number,String],required:!0},taxonRank:{type:[String,null],required:!0},otuId:{type:[Number,String],required:!0},otu:{type:Object,required:!0},taxon:{type:Object,required:!0}},setup(t){var i;const n=t,a=Bs(),s=io[a.currentRoute.value.meta.tab],c={1:["md:grid-cols-1"],2:["md:grid-cols-2"],3:["md:grid-cols-3"]};return(i=s.rankGroup)!=null&&i.length&&!Za(s.rankGroup,n.taxonRank)&&a.replace({name:"otus-id-overview"}),(l,h)=>(H(),tt("div",_x,[(H(!0),tt(Gt,null,ve(qt(s).panels,p=>(H(),tt("div",{class:We(["grid","grid-cols-1","gap-3",c[p.length]])},[(H(!0),tt(Gt,null,ve(p,(_,g)=>(H(),tt("div",{class:"grid grid-cols-1 gap-3 auto-rows-min",key:g},[(H(!0),tt(Gt,null,ve(_,({component:v,rankGroup:M,id:A,bind:P})=>(H(),tt(Gt,{key:A},[!M||qt(Za)(M,t.taxonRank)?(H(),Et(Lr(v),Ah({key:0,"otu-id":t.otuId,otu:t.otu,"taxon-id":t.taxonId,taxon:t.taxon,"panel-key":A},P),null,16,["otu-id","otu","taxon-id","taxon","panel-key"])):It("",!0)],64))),128))]))),128))],2))),256))]))}};function gx(){return Object.keys(io||{}).map(n=>({path:n,name:`otus-id-${n}`,component:mx,meta:{tab:n,rankGroup:io[n].rankGroup,label:io[n].label}}))}const yx=[{name:"otus-id",path:"/otus/:id",component:Nb,redirect:{name:"otus-id-overview"},children:gx()}],vx="modulepreload",bx=function(t){return"/aphid/"+t},vc={},Pd=function(n,a,s){let c=Promise.resolve();if(a&&a.length>0){const i=document.getElementsByTagName("link");c=Promise.all(a.map(l=>{if(l=bx(l),l in vc)return;vc[l]=!0;const h=l.endsWith(".css"),p=h?'[rel="stylesheet"]':"";if(!!s)for(let v=i.length-1;v>=0;v--){const M=i[v];if(M.href===l&&(!h||M.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${l}"]${p}`))return;const g=document.createElement("link");if(g.rel=h?"stylesheet":vx,h||(g.as="script",g.crossOrigin=""),g.href=l,document.head.appendChild(g),h)return new Promise((v,M)=>{g.addEventListener("load",v),g.addEventListener("error",()=>M(new Error(`Unable to preload CSS for ${l}`)))})}))}return c.then(()=>n()).catch(i=>{const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=i,window.dispatchEvent(l),!l.defaultPrevented)throw i})},xx=()=>Pd(()=>import("./home-DJzm-rke.js"),__vite__mapDeps([])),Lx=()=>Pd(()=>import("./about-DlYMlV3l.js"),__vite__mapDeps([])),wx=[{name:"home",path:"/",component:xx,props:!0,alias:"/home"},{name:"about",path:"/about",component:Lx,props:!0}];var kx={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const Mx=Object.assign({"/src/modules/home/router/index.js":fy,"/src/modules/httpErrorPages/router/index.js":Ty,"/src/modules/otus/router/index.js":yx}),Cx=Object.assign({}),{base_url:bc,hash_mode:Px}=kx,Sx=[].concat(...Object.values(Mx),...Object.values(Cx)),Ex=[...wx,...Sx];function Tx(){return Px?zm(bc):Vh(bc)}function Ox(){return Lg({history:Tx(),routes:Ex,scrollBehavior(t,n,a){return t.hash?{el:t.hash}:{top:0}}})}var Ax={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};function Rx({originUrl:t}){const{url:n,project_token:a}=Ax,c=U_(n&&a?Qg:oy),i=Ox(),l=Mg();return c.use(i),c.use(l),{app:c,router:i,store:l}}var Sd=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function Bx(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var qa={exports:{}};/* @preserve + * Leaflet 1.9.4, a JS library for interactive maps. https://leafletjs.com + * (c) 2010-2023 Vladimir Agafonkin, (c) 2010-2011 CloudMade + */(function(t,n){(function(a,s){s(n)})(Sd,function(a){var s="1.9.4";function c(e){var o,d,m,x;for(d=1,m=arguments.length;d"u"||!L||!L.Mixin)){e=O(e)?e:[e];for(var o=0;o0?Math.floor(e):Math.ceil(e)};at.prototype={clone:function(){return new at(this.x,this.y)},add:function(e){return this.clone()._add(Rt(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(Rt(e))},_subtract:function(e){return this.x-=e.x,this.y-=e.y,this},divideBy:function(e){return this.clone()._divideBy(e)},_divideBy:function(e){return this.x/=e,this.y/=e,this},multiplyBy:function(e){return this.clone()._multiplyBy(e)},_multiplyBy:function(e){return this.x*=e,this.y*=e,this},scaleBy:function(e){return new at(this.x*e.x,this.y*e.y)},unscaleBy:function(e){return new at(this.x/e.x,this.y/e.y)},round:function(){return this.clone()._round()},_round:function(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this},floor:function(){return this.clone()._floor()},_floor:function(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this},ceil:function(){return this.clone()._ceil()},_ceil:function(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this},trunc:function(){return this.clone()._trunc()},_trunc:function(){return this.x=oe(this.x),this.y=oe(this.y),this},distanceTo:function(e){e=Rt(e);var o=e.x-this.x,d=e.y-this.y;return Math.sqrt(o*o+d*d)},equals:function(e){return e=Rt(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=Rt(e),Math.abs(e.x)<=Math.abs(this.x)&&Math.abs(e.y)<=Math.abs(this.y)},toString:function(){return"Point("+M(this.x)+", "+M(this.y)+")"}};function Rt(e,o,d){return e instanceof at?e:O(e)?new at(e[0],e[1]):e==null?e:typeof e=="object"&&"x"in e&&"y"in e?new at(e.x,e.y):new at(e,o,d)}function Xt(e,o){if(e)for(var d=o?[e,o]:e,m=0,x=d.length;m=this.min.x&&d.x<=this.max.x&&o.y>=this.min.y&&d.y<=this.max.y},intersects:function(e){e=Ht(e);var o=this.min,d=this.max,m=e.min,x=e.max,T=x.x>=o.x&&m.x<=d.x,K=x.y>=o.y&&m.y<=d.y;return T&&K},overlaps:function(e){e=Ht(e);var o=this.min,d=this.max,m=e.min,x=e.max,T=x.x>o.x&&m.xo.y&&m.y=o.lat&&x.lat<=d.lat&&m.lng>=o.lng&&x.lng<=d.lng},intersects:function(e){e=ce(e);var o=this._southWest,d=this._northEast,m=e.getSouthWest(),x=e.getNorthEast(),T=x.lat>=o.lat&&m.lat<=d.lat,K=x.lng>=o.lng&&m.lng<=d.lng;return T&&K},overlaps:function(e){e=ce(e);var o=this._southWest,d=this._northEast,m=e.getSouthWest(),x=e.getNorthEast(),T=x.lat>o.lat&&m.lato.lng&&m.lng1,An=function(){var e=!1;try{var o=Object.defineProperty({},"passive",{get:function(){e=!0}});window.addEventListener("testPassiveEventSupport",v,o),window.removeEventListener("testPassiveEventSupport",v,o)}catch{}return e}(),Gn=function(){return!!document.createElement("canvas").getContext}(),Ci=!!(document.createElementNS&<("svg").createSVGRect),Mr=!!Ci&&function(){var e=document.createElement("div");return e.innerHTML="",(e.firstChild&&e.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),xo=!Ci&&function(){try{var e=document.createElement("div");e.innerHTML='';var o=e.firstChild;return o.style.behavior="url(#default#VML)",o&&typeof o.adj=="object"}catch{return!1}}(),Hn=navigator.platform.indexOf("Mac")===0,Un=navigator.platform.indexOf("Linux")===0;function pn(e){return navigator.userAgent.toLowerCase().indexOf(e)>=0}var Vt={ie:Ct,ielt9:D,edge:b,webkit:k,android:E,android23:z,androidStock:J,opera:it,chrome:_t,gecko:Ot,safari:Nt,phantom:$t,opera12:Ft,win:me,ie3d:le,webkit3d:ge,gecko3d:Re,any3d:fe,mobile:be,mobileWebkit:De,mobileWebkit3d:je,msPointer:wn,pointer:Ve,touch:Qe,touchNative:Pe,mobileOpera:kn,mobileGecko:Mn,retina:fn,passiveEvents:An,canvas:Gn,svg:Ci,vml:xo,inlineSvg:Mr,mac:Hn,linux:Un},ni=Vt.msPointer?"MSPointerDown":"pointerdown",Lo=Vt.msPointer?"MSPointerMove":"pointermove",Cr=Vt.msPointer?"MSPointerUp":"pointerup",Pr=Vt.msPointer?"MSPointerCancel":"pointercancel",Sr={touchstart:ni,touchmove:Lo,touchend:Cr,touchcancel:Pr},Er={touchstart:Mo,touchmove:qi,touchend:qi,touchcancel:qi},Rn={},Tr=!1;function Or(e,o,d){return o==="touchstart"&&Pi(),Er[o]?(d=Er[o].bind(this,d),e.addEventListener(Sr[o],d,!1),d):(console.warn("wrong event specified:",o),v)}function $s(e,o,d){if(!Sr[o]){console.warn("wrong event specified:",o);return}e.removeEventListener(Sr[o],d,!1)}function Zi(e){Rn[e.pointerId]=e}function wo(e){Rn[e.pointerId]&&(Rn[e.pointerId]=e)}function ko(e){delete Rn[e.pointerId]}function Pi(){Tr||(document.addEventListener(ni,Zi,!0),document.addEventListener(Lo,wo,!0),document.addEventListener(Cr,ko,!0),document.addEventListener(Pr,ko,!0),Tr=!0)}function qi(e,o){if(o.pointerType!==(o.MSPOINTER_TYPE_MOUSE||"mouse")){o.touches=[];for(var d in Rn)o.touches.push(Rn[d]);o.changedTouches=[o],e(o)}}function Mo(e,o){o.MSPOINTER_TYPE_TOUCH&&o.pointerType===o.MSPOINTER_TYPE_TOUCH&&Pt(o),qi(e,o)}function Ar(e){var o={},d,m;for(m in e)d=e[m],o[m]=d&&d.bind?d.bind(e):d;return e=o,o.type="dblclick",o.detail=2,o.isTrusted=!1,o._simulated=!0,o}var Gs=200;function Hs(e,o){e.addEventListener("dblclick",o);var d=0,m;function x(T){if(T.detail!==1){m=T.detail;return}if(!(T.pointerType==="mouse"||T.sourceCapabilities&&!T.sourceCapabilities.firesTouchEvents)){var K=ee(T);if(!(K.some(function(ct){return ct instanceof HTMLLabelElement&&ct.attributes.for})&&!K.some(function(ct){return ct instanceof HTMLInputElement||ct instanceof HTMLSelectElement}))){var et=Date.now();et-d<=Gs?(m++,m===2&&o(Ar(T))):m=1,d=et}}}return e.addEventListener("click",x),{dblclick:o,simDblclick:x}}function Co(e,o){e.removeEventListener("dblclick",o.dblclick),e.removeEventListener("click",o.simDblclick)}var ii=Ji(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),Bn=Ji(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Rr=Bn==="webkitTransition"||Bn==="OTransition"?Bn+"End":"transitionend";function Br(e){return typeof e=="string"?document.getElementById(e):e}function ri(e,o){var d=e.style[o]||e.currentStyle&&e.currentStyle[o];if((!d||d==="auto")&&document.defaultView){var m=document.defaultView.getComputedStyle(e,null);d=m?m[o]:null}return d==="auto"?null:d}function de(e,o,d){var m=document.createElement(e);return m.className=o||"",d&&d.appendChild(m),m}function Se(e){var o=e.parentNode;o&&o.removeChild(e)}function Ki(e){for(;e.firstChild;)e.removeChild(e.firstChild)}function oi(e){var o=e.parentNode;o&&o.lastChild!==e&&o.appendChild(e)}function Zn(e){var o=e.parentNode;o&&o.firstChild!==e&&o.insertBefore(e,o.firstChild)}function Ir(e,o){if(e.classList!==void 0)return e.classList.contains(o);var d=Cn(e);return d.length>0&&new RegExp("(^|\\s)"+o+"(\\s|$)").test(d)}function Qt(e,o){if(e.classList!==void 0)for(var d=P(o),m=0,x=d.length;m0?2*window.devicePixelRatio:1;function Te(e){return Vt.edge?e.wheelDeltaY/2:e.deltaY&&e.deltaMode===0?-e.deltaY/xe:e.deltaY&&e.deltaMode===1?-e.deltaY*20:e.deltaY&&e.deltaMode===2?-e.deltaY*60:e.deltaX||e.deltaZ?0:e.wheelDelta?(e.wheelDeltaY||e.wheelDelta)/2:e.detail&&Math.abs(e.detail)<32765?-e.detail*20:e.detail?e.detail/-32765*60:0}function Je(e,o){var d=o.relatedTarget;if(!d)return!0;try{for(;d&&d!==e;)d=d.parentNode}catch{return!1}return d!==e}var Ye={__proto__:null,on:w,off:j,stopPropagation:dt,disableScrollPropagation:ht,disableClickPropagation:kt,preventDefault:Pt,stop:Ut,getPropagationPath:ee,getMousePosition:Le,getWheelDelta:Te,isExternalTarget:Je,addListener:w,removeListener:j},Qi=At.extend({run:function(e,o,d,m){this.stop(),this._el=e,this._inProgress=!0,this._duration=d||.25,this._easeOutPower=1/Math.max(m||.5,.2),this._startPos=Pn(e),this._offset=o.subtract(this._startPos),this._startTime=+new Date,this.fire("start"),this._animate()},stop:function(){this._inProgress&&(this._step(!0),this._complete())},_animate:function(){this._animId=vt(this._animate,this),this._step()},_step:function(e){var o=+new Date-this._startTime,d=this._duration*1e3;othis.options.maxZoom)?this.setZoom(e):this},panInsideBounds:function(e,o){this._enforcingBounds=!0;var d=this.getCenter(),m=this._limitCenter(d,this._zoom,ce(e));return d.equals(m)||this.panTo(m,o),this._enforcingBounds=!1,this},panInside:function(e,o){o=o||{};var d=Rt(o.paddingTopLeft||o.padding||[0,0]),m=Rt(o.paddingBottomRight||o.padding||[0,0]),x=this.project(this.getCenter()),T=this.project(e),K=this.getPixelBounds(),et=Ht([K.min.add(d),K.max.subtract(m)]),ct=et.getSize();if(!et.contains(T)){this._enforcingBounds=!0;var wt=T.subtract(et.getCenter()),Bt=et.extend(T).getSize().subtract(ct);x.x+=wt.x<0?-Bt.x:Bt.x,x.y+=wt.y<0?-Bt.y:Bt.y,this.panTo(this.unproject(x),o),this._enforcingBounds=!1}return this},invalidateSize:function(e){if(!this._loaded)return this;e=c({animate:!1,pan:!0},e===!0?{animate:!0}:e);var o=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var d=this.getSize(),m=o.divideBy(2).round(),x=d.divideBy(2).round(),T=m.subtract(x);return!T.x&&!T.y?this:(e.animate&&e.pan?this.panBy(T):(e.pan&&this._rawPanBy(T),this.fire("move"),e.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(l(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:o,newSize:d}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(e){if(e=this._locateOptions=c({timeout:1e4,watch:!1},e),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var o=l(this._handleGeolocationResponse,this),d=l(this._handleGeolocationError,this);return e.watch?this._locationWatchId=navigator.geolocation.watchPosition(o,d,e):navigator.geolocation.getCurrentPosition(o,d,e),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(e){if(this._container._leaflet_id){var o=e.code,d=e.message||(o===1?"permission denied":o===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:o,message:"Geolocation error: "+d+"."})}},_handleGeolocationResponse:function(e){if(this._container._leaflet_id){var o=e.coords.latitude,d=e.coords.longitude,m=new ae(o,d),x=m.toBounds(e.coords.accuracy*2),T=this._locateOptions;if(T.setView){var K=this.getBoundsZoom(x);this.setView(m,T.maxZoom?Math.min(K,T.maxZoom):K)}var et={latlng:m,bounds:x,timestamp:e.timestamp};for(var ct in e.coords)typeof e.coords[ct]=="number"&&(et[ct]=e.coords[ct]);this.fire("locationfound",et)}},addHandler:function(e,o){if(!o)return this;var d=this[e]=new o(this);return this._handlers.push(d),this.options[e]&&d.enable(),this},remove:function(){if(this._initEvents(!0),this.options.maxBounds&&this.off("moveend",this._panInsideMaxBounds),this._containerId!==this._container._leaflet_id)throw new Error("Map container is being reused by another instance");try{delete this._container._leaflet_id,delete this._containerId}catch{this._container._leaflet_id=void 0,this._containerId=void 0}this._locationWatchId!==void 0&&this.stopLocate(),this._stop(),Se(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(ot(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var e;for(e in this._layers)this._layers[e].remove();for(e in this._panes)Se(this._panes[e]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(e,o){var d="leaflet-pane"+(e?" leaflet-"+e.replace("Pane","")+"-pane":""),m=de("div",d,o||this._mapPane);return e&&(this._panes[e]=m),m},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var e=this.getPixelBounds(),o=this.unproject(e.getBottomLeft()),d=this.unproject(e.getTopRight());return new Me(o,d)},getMinZoom:function(){return this.options.minZoom===void 0?this._layersMinZoom||0:this.options.minZoom},getMaxZoom:function(){return this.options.maxZoom===void 0?this._layersMaxZoom===void 0?1/0:this._layersMaxZoom:this.options.maxZoom},getBoundsZoom:function(e,o,d){e=ce(e),d=Rt(d||[0,0]);var m=this.getZoom()||0,x=this.getMinZoom(),T=this.getMaxZoom(),K=e.getNorthWest(),et=e.getSouthEast(),ct=this.getSize().subtract(d),wt=Ht(this.project(et,m),this.project(K,m)).getSize(),Bt=Vt.any3d?this.options.zoomSnap:1,Kt=ct.x/wt.x,ue=ct.y/wt.y,en=o?Math.max(Kt,ue):Math.min(Kt,ue);return m=this.getScaleZoom(en,m),Bt&&(m=Math.round(m/(Bt/100))*(Bt/100),m=o?Math.ceil(m/Bt)*Bt:Math.floor(m/Bt)*Bt),Math.max(x,Math.min(T,m))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new at(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(e,o){var d=this._getTopLeftPoint(e,o);return new Xt(d,d.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(e){return this.options.crs.getProjectedBounds(e===void 0?this.getZoom():e)},getPane:function(e){return typeof e=="string"?this._panes[e]:e},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(e,o){var d=this.options.crs;return o=o===void 0?this._zoom:o,d.scale(e)/d.scale(o)},getScaleZoom:function(e,o){var d=this.options.crs;o=o===void 0?this._zoom:o;var m=d.zoom(e*d.scale(o));return isNaN(m)?1/0:m},project:function(e,o){return o=o===void 0?this._zoom:o,this.options.crs.latLngToPoint(zt(e),o)},unproject:function(e,o){return o=o===void 0?this._zoom:o,this.options.crs.pointToLatLng(Rt(e),o)},layerPointToLatLng:function(e){var o=Rt(e).add(this.getPixelOrigin());return this.unproject(o)},latLngToLayerPoint:function(e){var o=this.project(zt(e))._round();return o._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(zt(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ce(e))},distance:function(e,o){return this.options.crs.distance(zt(e),zt(o))},containerPointToLayerPoint:function(e){return Rt(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return Rt(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var o=this.containerPointToLayerPoint(Rt(e));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(zt(e)))},mouseEventToContainerPoint:function(e){return Le(e,this._container)},mouseEventToLayerPoint:function(e){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(e))},mouseEventToLatLng:function(e){return this.layerPointToLatLng(this.mouseEventToLayerPoint(e))},_initContainer:function(e){var o=this._container=Br(e);if(o){if(o._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");w(o,"scroll",this._onScroll,this),this._containerId=p(o)},_initLayout:function(){var e=this._container;this._fadeAnimated=this.options.fadeAnimation&&Vt.any3d,Qt(e,"leaflet-container"+(Vt.touch?" leaflet-touch":"")+(Vt.retina?" leaflet-retina":"")+(Vt.ielt9?" leaflet-oldie":"")+(Vt.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var o=ri(e,"position");o!=="absolute"&&o!=="relative"&&o!=="fixed"&&o!=="sticky"&&(e.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var e=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),Ee(this._mapPane,new at(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(Qt(e.markerPane,"leaflet-zoom-hide"),Qt(e.shadowPane,"leaflet-zoom-hide"))},_resetView:function(e,o,d){Ee(this._mapPane,new at(0,0));var m=!this._loaded;this._loaded=!0,o=this._limitZoom(o),this.fire("viewprereset");var x=this._zoom!==o;this._moveStart(x,d)._move(e,o)._moveEnd(x),this.fire("viewreset"),m&&this.fire("load")},_moveStart:function(e,o){return e&&this.fire("zoomstart"),o||this.fire("movestart"),this},_move:function(e,o,d,m){o===void 0&&(o=this._zoom);var x=this._zoom!==o;return this._zoom=o,this._lastCenter=e,this._pixelOrigin=this._getNewPixelOrigin(e),m?d&&d.pinch&&this.fire("zoom",d):((x||d&&d.pinch)&&this.fire("zoom",d),this.fire("move",d)),this},_moveEnd:function(e){return e&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return ot(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(e){Ee(this._mapPane,this._getMapPanePos().subtract(e))},_getZoomSpan:function(){return this.getMaxZoom()-this.getMinZoom()},_panInsideMaxBounds:function(){this._enforcingBounds||this.panInsideBounds(this.options.maxBounds)},_checkIfLoaded:function(){if(!this._loaded)throw new Error("Set map center and zoom first.")},_initEvents:function(e){this._targets={},this._targets[p(this._container)]=this;var o=e?j:w;o(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&o(window,"resize",this._onResize,this),Vt.any3d&&this.options.transform3DLimit&&(e?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){ot(this._resizeRequest),this._resizeRequest=vt(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var e=this._getMapPanePos();Math.max(Math.abs(e.x),Math.abs(e.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(e,o){for(var d=[],m,x=o==="mouseout"||o==="mouseover",T=e.target||e.srcElement,K=!1;T;){if(m=this._targets[p(T)],m&&(o==="click"||o==="preclick")&&this._draggableMoved(m)){K=!0;break}if(m&&m.listens(o,!0)&&(x&&!Je(T,e)||(d.push(m),x))||T===this._container)break;T=T.parentNode}return!d.length&&!K&&!x&&this.listens(o,!0)&&(d=[this]),d},_isClickDisabled:function(e){for(;e&&e!==this._container;){if(e._leaflet_disable_click)return!0;e=e.parentNode}},_handleDOMEvent:function(e){var o=e.target||e.srcElement;if(!(!this._loaded||o._leaflet_disable_events||e.type==="click"&&this._isClickDisabled(o))){var d=e.type;d==="mousedown"&&jr(o),this._fireDOMEvent(e,d)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(e,o,d){if(e.type==="click"){var m=c({},e);m.type="preclick",this._fireDOMEvent(m,m.type,d)}var x=this._findEventTargets(e,o);if(d){for(var T=[],K=0;K0?Math.round(e-o)/2:Math.max(0,Math.ceil(e))-Math.max(0,Math.floor(o))},_limitZoom:function(e){var o=this.getMinZoom(),d=this.getMaxZoom(),m=Vt.any3d?this.options.zoomSnap:1;return m&&(e=Math.round(e/m)*m),Math.max(o,Math.min(d,e))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){Be(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(e,o){var d=this._getCenterOffset(e)._trunc();return(o&&o.animate)!==!0&&!this.getSize().contains(d)?!1:(this.panBy(d,o),!0)},_createAnimProxy:function(){var e=this._proxy=de("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(e),this.on("zoomanim",function(o){var d=ii,m=this._proxy.style[d];Ce(this._proxy,this.project(o.center,o.zoom),this.getZoomScale(o.zoom,1)),m===this._proxy.style[d]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Se(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var e=this.getCenter(),o=this.getZoom();Ce(this._proxy,this.project(e,o),this.getZoomScale(o,1))},_catchTransitionEnd:function(e){this._animatingZoom&&e.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(e,o,d){if(this._animatingZoom)return!0;if(d=d||{},!this._zoomAnimated||d.animate===!1||this._nothingToAnimate()||Math.abs(o-this._zoom)>this.options.zoomAnimationThreshold)return!1;var m=this.getZoomScale(o),x=this._getCenterOffset(e)._divideBy(1-1/m);return d.animate!==!0&&!this.getSize().contains(x)?!1:(vt(function(){this._moveStart(!0,d.noMoveStart||!1)._animateZoom(e,o,!0)},this),!0)},_animateZoom:function(e,o,d,m){this._mapPane&&(d&&(this._animatingZoom=!0,this._animateToCenter=e,this._animateToZoom=o,Qt(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:e,zoom:o,noUpdate:m}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(l(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&Be(this._mapPane,"leaflet-zoom-anim"),this._animatingZoom=!1,this._move(this._animateToCenter,this._animateToZoom,void 0,!0),this._tempFireZoomEvent&&this.fire("zoom"),delete this._tempFireZoomEvent,this.fire("move"),this._moveEnd(!0))}});function Po(e,o){return new ne(e,o)}var tn=Dt.extend({options:{position:"topright"},initialize:function(e){S(this,e)},getPosition:function(){return this.options.position},setPosition:function(e){var o=this._map;return o&&o.removeControl(this),this.options.position=e,o&&o.addControl(this),this},getContainer:function(){return this._container},addTo:function(e){this.remove(),this._map=e;var o=this._container=this.onAdd(e),d=this.getPosition(),m=e._controlCorners[d];return Qt(o,"leaflet-control"),d.indexOf("bottom")!==-1?m.insertBefore(o,m.firstChild):m.appendChild(o),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Se(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(e){this._map&&e&&e.screenX>0&&e.screenY>0&&this._map.getContainer().focus()}}),cn=function(e){return new tn(e)};ne.include({addControl:function(e){return e.addTo(this),this},removeControl:function(e){return e.remove(),this},_initControlPos:function(){var e=this._controlCorners={},o="leaflet-",d=this._controlContainer=de("div",o+"control-container",this._container);function m(x,T){var K=o+x+" "+o+T;e[x+T]=de("div",K,d)}m("top","left"),m("top","right"),m("bottom","left"),m("bottom","right")},_clearControlPos:function(){for(var e in this._controlCorners)Se(this._controlCorners[e]);Se(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var zr=tn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(e,o,d,m){return d1,this._baseLayersList.style.display=e?"":"none"),this._separator.style.display=o&&e?"":"none",this},_onLayerChange:function(e){this._handlingClick||this._update();var o=this._getLayer(p(e.target)),d=o.overlay?e.type==="add"?"overlayadd":"overlayremove":e.type==="add"?"baselayerchange":null;d&&this._map.fire(d,o)},_createRadioElement:function(e,o){var d='",m=document.createElement("div");return m.innerHTML=d,m.firstChild},_addItem:function(e){var o=document.createElement("label"),d=this._map.hasLayer(e.layer),m;e.overlay?(m=document.createElement("input"),m.type="checkbox",m.className="leaflet-control-layers-selector",m.defaultChecked=d):m=this._createRadioElement("leaflet-base-layers_"+p(this),d),this._layerControlInputs.push(m),m.layerId=p(e.layer),w(m,"click",this._onInputClick,this);var x=document.createElement("span");x.innerHTML=" "+e.name;var T=document.createElement("span");o.appendChild(T),T.appendChild(m),T.appendChild(x);var K=e.overlay?this._overlaysList:this._baseLayersList;return K.appendChild(o),this._checkDisabledLayers(),o},_onInputClick:function(){if(!this._preventClick){var e=this._layerControlInputs,o,d,m=[],x=[];this._handlingClick=!0;for(var T=e.length-1;T>=0;T--)o=e[T],d=this._getLayer(o.layerId).layer,o.checked?m.push(d):o.checked||x.push(d);for(T=0;T=0;x--)o=e[x],d=this._getLayer(o.layerId).layer,o.disabled=d.options.minZoom!==void 0&&md.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var e=this._section;this._preventClick=!0,w(e,"click",Pt),this.expand();var o=this;setTimeout(function(){j(e,"click",Pt),o._preventClick=!1})}}),So=function(e,o,d){return new zr(e,o,d)},Nr=tn.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(e){var o="leaflet-control-zoom",d=de("div",o+" leaflet-bar"),m=this.options;return this._zoomInButton=this._createButton(m.zoomInText,m.zoomInTitle,o+"-in",d,this._zoomIn),this._zoomOutButton=this._createButton(m.zoomOutText,m.zoomOutTitle,o+"-out",d,this._zoomOut),this._updateDisabled(),e.on("zoomend zoomlevelschange",this._updateDisabled,this),d},onRemove:function(e){e.off("zoomend zoomlevelschange",this._updateDisabled,this)},disable:function(){return this._disabled=!0,this._updateDisabled(),this},enable:function(){return this._disabled=!1,this._updateDisabled(),this},_zoomIn:function(e){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(e.shiftKey?3:1))},_createButton:function(e,o,d,m,x){var T=de("a",d,m);return T.innerHTML=e,T.href="#",T.title=o,T.setAttribute("role","button"),T.setAttribute("aria-label",o),kt(T),w(T,"click",Ut),w(T,"click",x,this),w(T,"click",this._refocusOnMap,this),T},_updateDisabled:function(){var e=this._map,o="leaflet-disabled";Be(this._zoomInButton,o),Be(this._zoomOutButton,o),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||e._zoom===e.getMinZoom())&&(Qt(this._zoomOutButton,o),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||e._zoom===e.getMaxZoom())&&(Qt(this._zoomInButton,o),this._zoomInButton.setAttribute("aria-disabled","true"))}});ne.mergeOptions({zoomControl:!0}),ne.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Nr,this.addControl(this.zoomControl))});var Fr=function(e){return new Nr(e)},Eo=tn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(e){var o="leaflet-control-scale",d=de("div",o),m=this.options;return this._addScales(m,o+"-line",d),e.on(m.updateWhenIdle?"moveend":"move",this._update,this),e.whenReady(this._update,this),d},onRemove:function(e){e.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(e,o,d){e.metric&&(this._mScale=de("div",o,d)),e.imperial&&(this._iScale=de("div",o,d))},_update:function(){var e=this._map,o=e.getSize().y/2,d=e.distance(e.containerPointToLatLng([0,o]),e.containerPointToLatLng([this.options.maxWidth,o]));this._updateScales(d)},_updateScales:function(e){this.options.metric&&e&&this._updateMetric(e),this.options.imperial&&e&&this._updateImperial(e)},_updateMetric:function(e){var o=this._getRoundNum(e),d=o<1e3?o+" m":o/1e3+" km";this._updateScale(this._mScale,d,o/e)},_updateImperial:function(e){var o=e*3.2808399,d,m,x;o>5280?(d=o/5280,m=this._getRoundNum(d),this._updateScale(this._iScale,m+" mi",m/d)):(x=this._getRoundNum(o),this._updateScale(this._iScale,x+" ft",x/o))},_updateScale:function(e,o,d){e.style.width=Math.round(this.options.maxWidth*d)+"px",e.innerHTML=o},_getRoundNum:function(e){var o=Math.pow(10,(Math.floor(e)+"").length-1),d=e/o;return d=d>=10?10:d>=5?5:d>=3?3:d>=2?2:1,o*d}}),Zs=function(e){return new Eo(e)},Rd='',qs=tn.extend({options:{position:"bottomright",prefix:''+(Vt.inlineSvg?Rd+" ":"")+"Leaflet"},initialize:function(e){S(this,e),this._attributions={}},onAdd:function(e){e.attributionControl=this,this._container=de("div","leaflet-control-attribution"),kt(this._container);for(var o in e._layers)e._layers[o].getAttribution&&this.addAttribution(e._layers[o].getAttribution());return this._update(),e.on("layeradd",this._addAttribution,this),this._container},onRemove:function(e){e.off("layeradd",this._addAttribution,this)},_addAttribution:function(e){e.layer.getAttribution&&(this.addAttribution(e.layer.getAttribution()),e.layer.once("remove",function(){this.removeAttribution(e.layer.getAttribution())},this))},setPrefix:function(e){return this.options.prefix=e,this._update(),this},addAttribution:function(e){return e?(this._attributions[e]||(this._attributions[e]=0),this._attributions[e]++,this._update(),this):this},removeAttribution:function(e){return e?(this._attributions[e]&&(this._attributions[e]--,this._update()),this):this},_update:function(){if(this._map){var e=[];for(var o in this._attributions)this._attributions[o]&&e.push(o);var d=[];this.options.prefix&&d.push(this.options.prefix),e.length&&d.push(e.join(", ")),this._container.innerHTML=d.join(' ')}}});ne.mergeOptions({attributionControl:!0}),ne.addInitHook(function(){this.options.attributionControl&&new qs().addTo(this)});var Bd=function(e){return new qs(e)};tn.Layers=zr,tn.Zoom=Nr,tn.Scale=Eo,tn.Attribution=qs,cn.layers=So,cn.zoom=Fr,cn.scale=Zs,cn.attribution=Bd;var In=Dt.extend({initialize:function(e){this._map=e},enable:function(){return this._enabled?this:(this._enabled=!0,this.addHooks(),this)},disable:function(){return this._enabled?(this._enabled=!1,this.removeHooks(),this):this},enabled:function(){return!!this._enabled}});In.addTo=function(e,o){return e.addHandler(o,this),this};var Id={Events:yt},Ml=Vt.touch?"touchstart mousedown":"mousedown",si=At.extend({options:{clickTolerance:3},initialize:function(e,o,d,m){S(this,m),this._element=e,this._dragStartTarget=o||e,this._preventOutline=d},enable:function(){this._enabled||(w(this._dragStartTarget,Ml,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(si._dragging===this&&this.finishDrag(!0),j(this._dragStartTarget,Ml,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(e){if(this._enabled&&(this._moved=!1,!Ir(this._element,"leaflet-zoom-anim"))){if(e.touches&&e.touches.length!==1){si._dragging===this&&this.finishDrag();return}if(!(si._dragging||e.shiftKey||e.which!==1&&e.button!==1&&!e.touches)&&(si._dragging=this,this._preventOutline&&jr(this._element),Oi(),Si(),!this._moving)){this.fire("down");var o=e.touches?e.touches[0]:e,d=u(this._element);this._startPoint=new at(o.clientX,o.clientY),this._startPos=Pn(this._element),this._parentScale=f(d);var m=e.type==="mousedown";w(document,m?"mousemove":"touchmove",this._onMove,this),w(document,m?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(e){if(this._enabled){if(e.touches&&e.touches.length>1){this._moved=!0;return}var o=e.touches&&e.touches.length===1?e.touches[0]:e,d=new at(o.clientX,o.clientY)._subtract(this._startPoint);!d.x&&!d.y||Math.abs(d.x)+Math.abs(d.y)T&&(K=et,T=ct);T>d&&(o[K]=1,Ws(e,o,d,m,K),Ws(e,o,d,K,x))}function Nd(e,o){for(var d=[e[0]],m=1,x=0,T=e.length;mo&&(d.push(e[m]),x=m);return xo.max.x&&(d|=2),e.yo.max.y&&(d|=8),d}function Fd(e,o){var d=o.x-e.x,m=o.y-e.y;return d*d+m*m}function Vr(e,o,d,m){var x=o.x,T=o.y,K=d.x-x,et=d.y-T,ct=K*K+et*et,wt;return ct>0&&(wt=((e.x-x)*K+(e.y-T)*et)/ct,wt>1?(x=d.x,T=d.y):wt>0&&(x+=K*wt,T+=et*wt)),K=e.x-x,et=e.y-T,m?K*K+et*et:new at(x,T)}function _n(e){return!O(e[0])||typeof e[0][0]!="object"&&typeof e[0][0]<"u"}function Al(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),_n(e)}function Rl(e,o){var d,m,x,T,K,et,ct,wt;if(!e||e.length===0)throw new Error("latlngs not passed");_n(e)||(console.warn("latlngs are not flat! Only the first ring will be used"),e=e[0]);var Bt=zt([0,0]),Kt=ce(e),ue=Kt.getNorthWest().distanceTo(Kt.getSouthWest())*Kt.getNorthEast().distanceTo(Kt.getNorthWest());ue<1700&&(Bt=Ks(e));var en=e.length,He=[];for(d=0;dm){ct=(T-m)/x,wt=[et.x-ct*(et.x-K.x),et.y-ct*(et.y-K.y)];break}var on=o.unproject(Rt(wt));return zt([on.lat+Bt.lat,on.lng+Bt.lng])}var Vd={__proto__:null,simplify:Sl,pointToSegmentDistance:El,closestPointOnSegment:jd,clipSegment:Ol,_getEdgeIntersection:To,_getBitCode:Ri,_sqClosestPointOnSegment:Vr,isFlat:_n,_flat:Al,polylineCenter:Rl},Js={project:function(e){return new at(e.lng,e.lat)},unproject:function(e){return new ae(e.y,e.x)},bounds:new Xt([-180,-90],[180,90])},Ys={R:6378137,R_MINOR:6356752314245179e-9,bounds:new Xt([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(e){var o=Math.PI/180,d=this.R,m=e.lat*o,x=this.R_MINOR/d,T=Math.sqrt(1-x*x),K=T*Math.sin(m),et=Math.tan(Math.PI/4-m/2)/Math.pow((1-K)/(1+K),T/2);return m=-d*Math.log(Math.max(et,1e-10)),new at(e.lng*o*d,m)},unproject:function(e){for(var o=180/Math.PI,d=this.R,m=this.R_MINOR/d,x=Math.sqrt(1-m*m),T=Math.exp(-e.y/d),K=Math.PI/2-2*Math.atan(T),et=0,ct=.1,wt;et<15&&Math.abs(ct)>1e-7;et++)wt=x*Math.sin(K),wt=Math.pow((1-wt)/(1+wt),x/2),ct=Math.PI/2-2*Math.atan(T*wt)-K,K+=ct;return new ae(K*o,e.x*o/d)}},$d={__proto__:null,LonLat:Js,Mercator:Ys,SphericalMercator:jt},Gd=c({},St,{code:"EPSG:3395",projection:Ys,transformation:function(){var e=.5/(Math.PI*Ys.R);return he(e,.5,-e,.5)}()}),Bl=c({},St,{code:"EPSG:4326",projection:Js,transformation:he(1/180,1,-1/180,.5)}),Hd=c({},ft,{projection:Js,transformation:he(1,0,-1,0),scale:function(e){return Math.pow(2,e)},zoom:function(e){return Math.log(e)/Math.LN2},distance:function(e,o){var d=o.lng-e.lng,m=o.lat-e.lat;return Math.sqrt(d*d+m*m)},infinite:!0});ft.Earth=St,ft.EPSG3395=Gd,ft.EPSG3857=V,ft.EPSG900913=Z,ft.EPSG4326=Bl,ft.Simple=Hd;var Sn=At.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(e){return e.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(e){return e&&e.removeLayer(this),this},getPane:function(e){return this._map.getPane(e?this.options[e]||e:this.options.pane)},addInteractiveTarget:function(e){return this._map._targets[p(e)]=this,this},removeInteractiveTarget:function(e){return delete this._map._targets[p(e)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(e){var o=e.target;if(o.hasLayer(this)){if(this._map=o,this._zoomAnimated=o._zoomAnimated,this.getEvents){var d=this.getEvents();o.on(d,this),this.once("remove",function(){o.off(d,this)},this)}this.onAdd(o),this.fire("add"),o.fire("layeradd",{layer:this})}}});ne.include({addLayer:function(e){if(!e._layerAdd)throw new Error("The provided object is not a Layer.");var o=p(e);return this._layers[o]?this:(this._layers[o]=e,e._mapToAdd=this,e.beforeAdd&&e.beforeAdd(this),this.whenReady(e._layerAdd,e),this)},removeLayer:function(e){var o=p(e);return this._layers[o]?(this._loaded&&e.onRemove(this),delete this._layers[o],this._loaded&&(this.fire("layerremove",{layer:e}),e.fire("remove")),e._map=e._mapToAdd=null,this):this},hasLayer:function(e){return p(e)in this._layers},eachLayer:function(e,o){for(var d in this._layers)e.call(o,this._layers[d]);return this},_addLayers:function(e){e=e?O(e)?e:[e]:[];for(var o=0,d=e.length;othis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&o[0]instanceof ae&&o[0].equals(o[d-1])&&o.pop(),o},_setLatLngs:function(e){Kn.prototype._setLatLngs.call(this,e),_n(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return _n(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var e=this._renderer._bounds,o=this.options.weight,d=new at(o,o);if(e=new Xt(e.min.subtract(d),e.max.add(d)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(e))){if(this.options.noClip){this._parts=this._rings;return}for(var m=0,x=this._rings.length,T;me.y!=x.y>e.y&&e.x<(x.x-m.x)*(e.y-m.y)/(x.y-m.y)+m.x&&(o=!o);return o||Kn.prototype._containsPoint.call(this,e,!0)}});function Xd(e,o){return new nr(e,o)}var Wn=qn.extend({initialize:function(e,o){S(this,o),this._layers={},e&&this.addData(e)},addData:function(e){var o=O(e)?e:e.features,d,m,x;if(o){for(d=0,m=o.length;d0&&x.push(x[0].slice()),x}function ir(e,o){return e.feature?c({},e.feature,{geometry:o}):Do(o)}function Do(e){return e.type==="Feature"||e.type==="FeatureCollection"?e:{type:"Feature",properties:{},geometry:e}}var ea={toGeoJSON:function(e){return ir(this,{type:"Point",coordinates:ta(this.getLatLng(),e)})}};Oo.include(ea),Xs.include(ea),Ao.include(ea),Kn.include({toGeoJSON:function(e){var o=!_n(this._latlngs),d=Io(this._latlngs,o?1:0,!1,e);return ir(this,{type:(o?"Multi":"")+"LineString",coordinates:d})}}),nr.include({toGeoJSON:function(e){var o=!_n(this._latlngs),d=o&&!_n(this._latlngs[0]),m=Io(this._latlngs,d?2:o?1:0,!0,e);return o||(m=[m]),ir(this,{type:(d?"Multi":"")+"Polygon",coordinates:m})}}),tr.include({toMultiPoint:function(e){var o=[];return this.eachLayer(function(d){o.push(d.toGeoJSON(e).geometry.coordinates)}),ir(this,{type:"MultiPoint",coordinates:o})},toGeoJSON:function(e){var o=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(o==="MultiPoint")return this.toMultiPoint(e);var d=o==="GeometryCollection",m=[];return this.eachLayer(function(x){if(x.toGeoJSON){var T=x.toGeoJSON(e);if(d)m.push(T.geometry);else{var K=Do(T);K.type==="FeatureCollection"?m.push.apply(m,K.features):m.push(K)}}}),d?ir(this,{geometries:m,type:"GeometryCollection"}):{type:"FeatureCollection",features:m}}});function jl(e,o){return new Wn(e,o)}var Qd=jl,jo=Sn.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(e,o,d){this._url=e,this._bounds=ce(o),S(this,d)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(Qt(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Se(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(e){return this.options.opacity=e,this._image&&this._updateOpacity(),this},setStyle:function(e){return e.opacity&&this.setOpacity(e.opacity),this},bringToFront:function(){return this._map&&oi(this._image),this},bringToBack:function(){return this._map&&Zn(this._image),this},setUrl:function(e){return this._url=e,this._image&&(this._image.src=e),this},setBounds:function(e){return this._bounds=ce(e),this._map&&this._reset(),this},getEvents:function(){var e={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(e.zoomanim=this._animateZoom),e},setZIndex:function(e){return this.options.zIndex=e,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var e=this._url.tagName==="IMG",o=this._image=e?this._url:de("img");if(Qt(o,"leaflet-image-layer"),this._zoomAnimated&&Qt(o,"leaflet-zoom-animated"),this.options.className&&Qt(o,this.options.className),o.onselectstart=v,o.onmousemove=v,o.onload=l(this.fire,this,"load"),o.onerror=l(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(o.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),e){this._url=o.src;return}o.src=this._url,o.alt=this.options.alt},_animateZoom:function(e){var o=this._map.getZoomScale(e.zoom),d=this._map._latLngBoundsToNewLayerBounds(this._bounds,e.zoom,e.center).min;Ce(this._image,d,o)},_reset:function(){var e=this._image,o=new Xt(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),d=o.getSize();Ee(e,o.min),e.style.width=d.x+"px",e.style.height=d.y+"px"},_updateOpacity:function(){qe(this._image,this.options.opacity)},_updateZIndex:function(){this._image&&this.options.zIndex!==void 0&&this.options.zIndex!==null&&(this._image.style.zIndex=this.options.zIndex)},_overlayOnError:function(){this.fire("error");var e=this.options.errorOverlayUrl;e&&this._url!==e&&(this._url=e,this._image.src=e)},getCenter:function(){return this._bounds.getCenter()}}),tf=function(e,o,d){return new jo(e,o,d)},zl=jo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var e=this._url.tagName==="VIDEO",o=this._image=e?this._url:de("video");if(Qt(o,"leaflet-image-layer"),this._zoomAnimated&&Qt(o,"leaflet-zoom-animated"),this.options.className&&Qt(o,this.options.className),o.onselectstart=v,o.onmousemove=v,o.onloadeddata=l(this.fire,this,"load"),e){for(var d=o.getElementsByTagName("source"),m=[],x=0;x0?m:[o.src];return}O(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(o.style,"objectFit")&&(o.style.objectFit="fill"),o.autoplay=!!this.options.autoplay,o.loop=!!this.options.loop,o.muted=!!this.options.muted,o.playsInline=!!this.options.playsInline;for(var T=0;Tx?(o.height=x+"px",Qt(e,T)):Be(e,T),this._containerWidth=this._container.offsetWidth},_animateZoom:function(e){var o=this._map._latLngToNewLayerPoint(this._latlng,e.zoom,e.center),d=this._getAnchor();Ee(this._container,o.add(d))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var e=this._map,o=parseInt(ri(this._container,"marginBottom"),10)||0,d=this._container.offsetHeight+o,m=this._containerWidth,x=new at(this._containerLeft,-d-this._containerBottom);x._add(Pn(this._container));var T=e.layerPointToContainerPoint(x),K=Rt(this.options.autoPanPadding),et=Rt(this.options.autoPanPaddingTopLeft||K),ct=Rt(this.options.autoPanPaddingBottomRight||K),wt=e.getSize(),Bt=0,Kt=0;T.x+m+ct.x>wt.x&&(Bt=T.x+m-wt.x+ct.x),T.x-Bt-et.x<0&&(Bt=T.x-et.x),T.y+d+ct.y>wt.y&&(Kt=T.y+d-wt.y+ct.y),T.y-Kt-et.y<0&&(Kt=T.y-et.y),(Bt||Kt)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([Bt,Kt]))}},_getAnchor:function(){return Rt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),rf=function(e,o){return new zo(e,o)};ne.mergeOptions({closePopupOnClick:!0}),ne.include({openPopup:function(e,o,d){return this._initOverlay(zo,e,o,d).openOn(this),this},closePopup:function(e){return e=arguments.length?e:this._popup,e&&e.close(),this}}),Sn.include({bindPopup:function(e,o){return this._popup=this._initOverlay(zo,this._popup,e,o),this._popupHandlersAdded||(this.on({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!0),this},unbindPopup:function(){return this._popup&&(this.off({click:this._openPopup,keypress:this._onKeyPress,remove:this.closePopup,move:this._movePopup}),this._popupHandlersAdded=!1,this._popup=null),this},openPopup:function(e){return this._popup&&(this instanceof qn||(this._popup._source=this),this._popup._prepareOpen(e||this._latlng)&&this._popup.openOn(this._map)),this},closePopup:function(){return this._popup&&this._popup.close(),this},togglePopup:function(){return this._popup&&this._popup.toggle(this),this},isPopupOpen:function(){return this._popup?this._popup.isOpen():!1},setPopupContent:function(e){return this._popup&&this._popup.setContent(e),this},getPopup:function(){return this._popup},_openPopup:function(e){if(!(!this._popup||!this._map)){Ut(e);var o=e.layer||e.target;if(this._popup._source===o&&!(o instanceof ai)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(e.latlng);return}this._popup._source=o,this.openPopup(e.latlng)}},_movePopup:function(e){this._popup.setLatLng(e.latlng)},_onKeyPress:function(e){e.originalEvent.keyCode===13&&this._openPopup(e)}});var No=Dn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(e){Dn.prototype.onAdd.call(this,e),this.setOpacity(this.options.opacity),e.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(e){Dn.prototype.onRemove.call(this,e),e.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var e=Dn.prototype.getEvents.call(this);return this.options.permanent||(e.preclick=this.close),e},_initLayout:function(){var e="leaflet-tooltip",o=e+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=de("div",o),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+p(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(e){var o,d,m=this._map,x=this._container,T=m.latLngToContainerPoint(m.getCenter()),K=m.layerPointToContainerPoint(e),et=this.options.direction,ct=x.offsetWidth,wt=x.offsetHeight,Bt=Rt(this.options.offset),Kt=this._getAnchor();et==="top"?(o=ct/2,d=wt):et==="bottom"?(o=ct/2,d=0):et==="center"?(o=ct/2,d=wt/2):et==="right"?(o=0,d=wt/2):et==="left"?(o=ct,d=wt/2):K.xthis.options.maxZoom||dm?this._retainParent(x,T,K,m):!1)},_retainChildren:function(e,o,d,m){for(var x=2*e;x<2*e+2;x++)for(var T=2*o;T<2*o+2;T++){var K=new at(x,T);K.z=d+1;var et=this._tileCoordsToKey(K),ct=this._tiles[et];if(ct&&ct.active){ct.retain=!0;continue}else ct&&ct.loaded&&(ct.retain=!0);d+1this.options.maxZoom||this.options.minZoom!==void 0&&x1){this._setView(e,d);return}for(var Kt=x.min.y;Kt<=x.max.y;Kt++)for(var ue=x.min.x;ue<=x.max.x;ue++){var en=new at(ue,Kt);if(en.z=this._tileZoom,!!this._isValidTile(en)){var He=this._tiles[this._tileCoordsToKey(en)];He?He.current=!0:K.push(en)}}if(K.sort(function(on,or){return on.distanceTo(T)-or.distanceTo(T)}),K.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var mn=document.createDocumentFragment();for(ue=0;ued.max.x)||!o.wrapLat&&(e.yd.max.y))return!1}if(!this.options.bounds)return!0;var m=this._tileCoordsToBounds(e);return ce(this.options.bounds).overlaps(m)},_keyToBounds:function(e){return this._tileCoordsToBounds(this._keyToTileCoords(e))},_tileCoordsToNwSe:function(e){var o=this._map,d=this.getTileSize(),m=e.scaleBy(d),x=m.add(d),T=o.unproject(m,e.z),K=o.unproject(x,e.z);return[T,K]},_tileCoordsToBounds:function(e){var o=this._tileCoordsToNwSe(e),d=new Me(o[0],o[1]);return this.options.noWrap||(d=this._map.wrapLatLngBounds(d)),d},_tileCoordsToKey:function(e){return e.x+":"+e.y+":"+e.z},_keyToTileCoords:function(e){var o=e.split(":"),d=new at(+o[0],+o[1]);return d.z=+o[2],d},_removeTile:function(e){var o=this._tiles[e];o&&(Se(o.el),delete this._tiles[e],this.fire("tileunload",{tile:o.el,coords:this._keyToTileCoords(e)}))},_initTile:function(e){Qt(e,"leaflet-tile");var o=this.getTileSize();e.style.width=o.x+"px",e.style.height=o.y+"px",e.onselectstart=v,e.onmousemove=v,Vt.ielt9&&this.options.opacity<1&&qe(e,this.options.opacity)},_addTile:function(e,o){var d=this._getTilePos(e),m=this._tileCoordsToKey(e),x=this.createTile(this._wrapCoords(e),l(this._tileReady,this,e));this._initTile(x),this.createTile.length<2&&vt(l(this._tileReady,this,e,null,x)),Ee(x,d),this._tiles[m]={el:x,coords:e,current:!0},o.appendChild(x),this.fire("tileloadstart",{tile:x,coords:e})},_tileReady:function(e,o,d){o&&this.fire("tileerror",{error:o,tile:d,coords:e});var m=this._tileCoordsToKey(e);d=this._tiles[m],d&&(d.loaded=+new Date,this._map._fadeAnimated?(qe(d.el,0),ot(this._fadeFrame),this._fadeFrame=vt(this._updateOpacity,this)):(d.active=!0,this._pruneTiles()),o||(Qt(d.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:d.el,coords:e})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),Vt.ielt9||!this._map._fadeAnimated?vt(this._pruneTiles,this):setTimeout(l(this._pruneTiles,this),250)))},_getTilePos:function(e){return e.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(e){var o=new at(this._wrapX?g(e.x,this._wrapX):e.x,this._wrapY?g(e.y,this._wrapY):e.y);return o.z=e.z,o},_pxBoundsToTileRange:function(e){var o=this.getTileSize();return new Xt(e.min.unscaleBy(o).floor(),e.max.unscaleBy(o).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var e in this._tiles)if(!this._tiles[e].loaded)return!1;return!0}});function af(e){return new Gr(e)}var rr=Gr.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(e,o){this._url=e,o=S(this,o),o.detectRetina&&Vt.retina&&o.maxZoom>0?(o.tileSize=Math.floor(o.tileSize/2),o.zoomReverse?(o.zoomOffset--,o.minZoom=Math.min(o.maxZoom,o.minZoom+1)):(o.zoomOffset++,o.maxZoom=Math.max(o.minZoom,o.maxZoom-1)),o.minZoom=Math.max(0,o.minZoom)):o.zoomReverse?o.minZoom=Math.min(o.maxZoom,o.minZoom):o.maxZoom=Math.max(o.minZoom,o.maxZoom),typeof o.subdomains=="string"&&(o.subdomains=o.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(e,o){return this._url===e&&o===void 0&&(o=!0),this._url=e,o||this.redraw(),this},createTile:function(e,o){var d=document.createElement("img");return w(d,"load",l(this._tileOnLoad,this,o,d)),w(d,"error",l(this._tileOnError,this,o,d)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(d.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(d.referrerPolicy=this.options.referrerPolicy),d.alt="",d.src=this.getTileUrl(e),d},getTileUrl:function(e){var o={r:Vt.retina?"@2x":"",s:this._getSubdomain(e),x:e.x,y:e.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var d=this._globalTileRange.max.y-e.y;this.options.tms&&(o.y=d),o["-y"]=d}return F(this._url,c(o,this.options))},_tileOnLoad:function(e,o){Vt.ielt9?setTimeout(l(e,this,null,o),0):e(null,o)},_tileOnError:function(e,o,d){var m=this.options.errorTileUrl;m&&o.getAttribute("src")!==m&&(o.src=m),e(d,o)},_onTileRemove:function(e){e.tile.onload=null},_getZoomForUrl:function(){var e=this._tileZoom,o=this.options.maxZoom,d=this.options.zoomReverse,m=this.options.zoomOffset;return d&&(e=o-e),e+m},_getSubdomain:function(e){var o=Math.abs(e.x+e.y)%this.options.subdomains.length;return this.options.subdomains[o]},_abortLoading:function(){var e,o;for(e in this._tiles)if(this._tiles[e].coords.z!==this._tileZoom&&(o=this._tiles[e].el,o.onload=v,o.onerror=v,!o.complete)){o.src=I;var d=this._tiles[e].coords;Se(o),delete this._tiles[e],this.fire("tileabort",{tile:o,coords:d})}},_removeTile:function(e){var o=this._tiles[e];if(o)return o.el.setAttribute("src",I),Gr.prototype._removeTile.call(this,e)},_tileReady:function(e,o,d){if(!(!this._map||d&&d.getAttribute("src")===I))return Gr.prototype._tileReady.call(this,e,o,d)}});function Vl(e,o){return new rr(e,o)}var $l=rr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(e,o){this._url=e;var d=c({},this.defaultWmsParams);for(var m in o)m in this.options||(d[m]=o[m]);o=S(this,o);var x=o.detectRetina&&Vt.retina?2:1,T=this.getTileSize();d.width=T.x*x,d.height=T.y*x,this.wmsParams=d},onAdd:function(e){this._crs=this.options.crs||e.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var o=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[o]=this._crs.code,rr.prototype.onAdd.call(this,e)},getTileUrl:function(e){var o=this._tileCoordsToNwSe(e),d=this._crs,m=Ht(d.project(o[0]),d.project(o[1])),x=m.min,T=m.max,K=(this._wmsVersion>=1.3&&this._crs===Bl?[x.y,x.x,T.y,T.x]:[x.x,x.y,T.x,T.y]).join(","),et=rr.prototype.getTileUrl.call(this,e);return et+N(this.wmsParams,et,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+K},setParams:function(e,o){return c(this.wmsParams,e),o||this.redraw(),this}});function lf(e,o){return new $l(e,o)}rr.WMS=$l,Vl.wms=lf;var Jn=Sn.extend({options:{padding:.1},initialize:function(e){S(this,e),p(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),Qt(this._container,"leaflet-zoom-animated")),this.getPane().appendChild(this._container),this._update(),this.on("update",this._updatePaths,this)},onRemove:function(){this.off("update",this._updatePaths,this),this._destroyContainer()},getEvents:function(){var e={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(e.zoomanim=this._onAnimZoom),e},_onAnimZoom:function(e){this._updateTransform(e.center,e.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(e,o){var d=this._map.getZoomScale(o,this._zoom),m=this._map.getSize().multiplyBy(.5+this.options.padding),x=this._map.project(this._center,o),T=m.multiplyBy(-d).add(x).subtract(this._map._getNewPixelOrigin(e,o));Vt.any3d?Ce(this._container,T,d):Ee(this._container,T)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var e in this._layers)this._layers[e]._reset()},_onZoomEnd:function(){for(var e in this._layers)this._layers[e]._project()},_updatePaths:function(){for(var e in this._layers)this._layers[e]._update()},_update:function(){var e=this.options.padding,o=this._map.getSize(),d=this._map.containerPointToLayerPoint(o.multiplyBy(-e)).round();this._bounds=new Xt(d,d.add(o.multiplyBy(1+e*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Gl=Jn.extend({options:{tolerance:0},getEvents:function(){var e=Jn.prototype.getEvents.call(this);return e.viewprereset=this._onViewPreReset,e},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){Jn.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var e=this._container=document.createElement("canvas");w(e,"mousemove",this._onMouseMove,this),w(e,"click dblclick mousedown mouseup contextmenu",this._onClick,this),w(e,"mouseout",this._handleMouseOut,this),e._leaflet_disable_events=!0,this._ctx=e.getContext("2d")},_destroyContainer:function(){ot(this._redrawRequest),delete this._ctx,Se(this._container),j(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var e;this._redrawBounds=null;for(var o in this._layers)e=this._layers[o],e._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Jn.prototype._update.call(this);var e=this._bounds,o=this._container,d=e.getSize(),m=Vt.retina?2:1;Ee(o,e.min),o.width=m*d.x,o.height=m*d.y,o.style.width=d.x+"px",o.style.height=d.y+"px",Vt.retina&&this._ctx.scale(2,2),this._ctx.translate(-e.min.x,-e.min.y),this.fire("update")}},_reset:function(){Jn.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(e){this._updateDashArray(e),this._layers[p(e)]=e;var o=e._order={layer:e,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=o),this._drawLast=o,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(e){this._requestRedraw(e)},_removePath:function(e){var o=e._order,d=o.next,m=o.prev;d?d.prev=m:this._drawLast=m,m?m.next=d:this._drawFirst=d,delete e._order,delete this._layers[p(e)],this._requestRedraw(e)},_updatePath:function(e){this._extendRedrawBounds(e),e._project(),e._update(),this._requestRedraw(e)},_updateStyle:function(e){this._updateDashArray(e),this._requestRedraw(e)},_updateDashArray:function(e){if(typeof e.options.dashArray=="string"){var o=e.options.dashArray.split(/[, ]+/),d=[],m,x;for(x=0;x')}}catch{}return function(e){return document.createElement("<"+e+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),uf={_initContainer:function(){this._container=de("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(Jn.prototype._update.call(this),this.fire("update"))},_initPath:function(e){var o=e._container=Hr("shape");Qt(o,"leaflet-vml-shape "+(this.options.className||"")),o.coordsize="1 1",e._path=Hr("path"),o.appendChild(e._path),this._updateStyle(e),this._layers[p(e)]=e},_addPath:function(e){var o=e._container;this._container.appendChild(o),e.options.interactive&&e.addInteractiveTarget(o)},_removePath:function(e){var o=e._container;Se(o),e.removeInteractiveTarget(o),delete this._layers[p(e)]},_updateStyle:function(e){var o=e._stroke,d=e._fill,m=e.options,x=e._container;x.stroked=!!m.stroke,x.filled=!!m.fill,m.stroke?(o||(o=e._stroke=Hr("stroke")),x.appendChild(o),o.weight=m.weight+"px",o.color=m.color,o.opacity=m.opacity,m.dashArray?o.dashStyle=O(m.dashArray)?m.dashArray.join(" "):m.dashArray.replace(/( *, *)/g," "):o.dashStyle="",o.endcap=m.lineCap.replace("butt","flat"),o.joinstyle=m.lineJoin):o&&(x.removeChild(o),e._stroke=null),m.fill?(d||(d=e._fill=Hr("fill")),x.appendChild(d),d.color=m.fillColor||m.color,d.opacity=m.fillOpacity):d&&(x.removeChild(d),e._fill=null)},_updateCircle:function(e){var o=e._point.round(),d=Math.round(e._radius),m=Math.round(e._radiusY||d);this._setPath(e,e._empty()?"M0 0":"AL "+o.x+","+o.y+" "+d+","+m+" 0,"+65535*360)},_setPath:function(e,o){e._path.v=o},_bringToFront:function(e){oi(e._container)},_bringToBack:function(e){Zn(e._container)}},Fo=Vt.vml?Hr:lt,Ur=Jn.extend({_initContainer:function(){this._container=Fo("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Fo("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Se(this._container),j(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){Jn.prototype._update.call(this);var e=this._bounds,o=e.getSize(),d=this._container;(!this._svgSize||!this._svgSize.equals(o))&&(this._svgSize=o,d.setAttribute("width",o.x),d.setAttribute("height",o.y)),Ee(d,e.min),d.setAttribute("viewBox",[e.min.x,e.min.y,o.x,o.y].join(" ")),this.fire("update")}},_initPath:function(e){var o=e._path=Fo("path");e.options.className&&Qt(o,e.options.className),e.options.interactive&&Qt(o,"leaflet-interactive"),this._updateStyle(e),this._layers[p(e)]=e},_addPath:function(e){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(e._path),e.addInteractiveTarget(e._path)},_removePath:function(e){Se(e._path),e.removeInteractiveTarget(e._path),delete this._layers[p(e)]},_updatePath:function(e){e._project(),e._update()},_updateStyle:function(e){var o=e._path,d=e.options;o&&(d.stroke?(o.setAttribute("stroke",d.color),o.setAttribute("stroke-opacity",d.opacity),o.setAttribute("stroke-width",d.weight),o.setAttribute("stroke-linecap",d.lineCap),o.setAttribute("stroke-linejoin",d.lineJoin),d.dashArray?o.setAttribute("stroke-dasharray",d.dashArray):o.removeAttribute("stroke-dasharray"),d.dashOffset?o.setAttribute("stroke-dashoffset",d.dashOffset):o.removeAttribute("stroke-dashoffset")):o.setAttribute("stroke","none"),d.fill?(o.setAttribute("fill",d.fillColor||d.color),o.setAttribute("fill-opacity",d.fillOpacity),o.setAttribute("fill-rule",d.fillRule||"evenodd")):o.setAttribute("fill","none"))},_updatePoly:function(e,o){this._setPath(e,bt(e._parts,o))},_updateCircle:function(e){var o=e._point,d=Math.max(Math.round(e._radius),1),m=Math.max(Math.round(e._radiusY),1)||d,x="a"+d+","+m+" 0 1,0 ",T=e._empty()?"M0 0":"M"+(o.x-d)+","+o.y+x+d*2+",0 "+x+-d*2+",0 ";this._setPath(e,T)},_setPath:function(e,o){e._path.setAttribute("d",o)},_bringToFront:function(e){oi(e._path)},_bringToBack:function(e){Zn(e._path)}});Vt.vml&&Ur.include(uf);function Ul(e){return Vt.svg||Vt.vml?new Ur(e):null}ne.include({getRenderer:function(e){var o=e.options.renderer||this._getPaneRenderer(e.options.pane)||this.options.renderer||this._renderer;return o||(o=this._renderer=this._createRenderer()),this.hasLayer(o)||this.addLayer(o),o},_getPaneRenderer:function(e){if(e==="overlayPane"||e===void 0)return!1;var o=this._paneRenderers[e];return o===void 0&&(o=this._createRenderer({pane:e}),this._paneRenderers[e]=o),o},_createRenderer:function(e){return this.options.preferCanvas&&Hl(e)||Ul(e)}});var Zl=nr.extend({initialize:function(e,o){nr.prototype.initialize.call(this,this._boundsToLatLngs(e),o)},setBounds:function(e){return this.setLatLngs(this._boundsToLatLngs(e))},_boundsToLatLngs:function(e){return e=ce(e),[e.getSouthWest(),e.getNorthWest(),e.getNorthEast(),e.getSouthEast()]}});function cf(e,o){return new Zl(e,o)}Ur.create=Fo,Ur.pointsToPath=bt,Wn.geometryToLayer=Ro,Wn.coordsToLatLng=Qs,Wn.coordsToLatLngs=Bo,Wn.latLngToCoords=ta,Wn.latLngsToCoords=Io,Wn.getFeature=ir,Wn.asFeature=Do,ne.mergeOptions({boxZoom:!0});var ql=In.extend({initialize:function(e){this._map=e,this._container=e._container,this._pane=e._panes.overlayPane,this._resetStateTimeout=0,e.on("unload",this._destroy,this)},addHooks:function(){w(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){j(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Se(this._pane),delete this._pane},_resetState:function(){this._resetStateTimeout=0,this._moved=!1},_clearDeferredResetState:function(){this._resetStateTimeout!==0&&(clearTimeout(this._resetStateTimeout),this._resetStateTimeout=0)},_onMouseDown:function(e){if(!e.shiftKey||e.which!==1&&e.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Si(),Oi(),this._startPoint=this._map.mouseEventToContainerPoint(e),w(document,{contextmenu:Ut,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(e){this._moved||(this._moved=!0,this._box=de("div","leaflet-zoom-box",this._container),Qt(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(e);var o=new Xt(this._point,this._startPoint),d=o.getSize();Ee(this._box,o.min),this._box.style.width=d.x+"px",this._box.style.height=d.y+"px"},_finish:function(){this._moved&&(Se(this._box),Be(this._container,"leaflet-crosshair")),Ei(),Ai(),j(document,{contextmenu:Ut,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(e){if(!(e.which!==1&&e.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(l(this._resetState,this),0);var o=new Me(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(o).fire("boxzoomend",{boxZoomBounds:o})}},_onKeyDown:function(e){e.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});ne.addInitHook("addHandler","boxZoom",ql),ne.mergeOptions({doubleClickZoom:!0});var Kl=In.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(e){var o=this._map,d=o.getZoom(),m=o.options.zoomDelta,x=e.originalEvent.shiftKey?d-m:d+m;o.options.doubleClickZoom==="center"?o.setZoom(x):o.setZoomAround(e.containerPoint,x)}});ne.addInitHook("addHandler","doubleClickZoom",Kl),ne.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Wl=In.extend({addHooks:function(){if(!this._draggable){var e=this._map;this._draggable=new si(e._mapPane,e._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),e.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),e.on("zoomend",this._onZoomEnd,this),e.whenReady(this._onZoomEnd,this))}Qt(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){Be(this._map._container,"leaflet-grab"),Be(this._map._container,"leaflet-touch-drag"),this._draggable.disable()},moved:function(){return this._draggable&&this._draggable._moved},moving:function(){return this._draggable&&this._draggable._moving},_onDragStart:function(){var e=this._map;if(e._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var o=ce(this._map.options.maxBounds);this._offsetLimit=Ht(this._map.latLngToContainerPoint(o.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(o.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;e.fire("movestart").fire("dragstart"),e.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(e){if(this._map.options.inertia){var o=this._lastTime=+new Date,d=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(d),this._times.push(o),this._prunePositions(o)}this._map.fire("move",e).fire("drag",e)},_prunePositions:function(e){for(;this._positions.length>1&&e-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var e=this._map.getSize().divideBy(2),o=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=o.subtract(e).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(e,o){return e-(e-o)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var e=this._draggable._newPos.subtract(this._draggable._startPos),o=this._offsetLimit;e.xo.max.x&&(e.x=this._viscousLimit(e.x,o.max.x)),e.y>o.max.y&&(e.y=this._viscousLimit(e.y,o.max.y)),this._draggable._newPos=this._draggable._startPos.add(e)}},_onPreDragWrap:function(){var e=this._worldWidth,o=Math.round(e/2),d=this._initialWorldOffset,m=this._draggable._newPos.x,x=(m-o+d)%e+o-d,T=(m+o+d)%e-o-d,K=Math.abs(x+d)0?T:-T))-o;this._delta=0,this._startTime=null,K&&(e.options.scrollWheelZoom==="center"?e.setZoom(o+K):e.setZoomAround(this._lastMousePos,o+K))}});ne.addInitHook("addHandler","scrollWheelZoom",Yl);var hf=600;ne.mergeOptions({tapHold:Vt.touchNative&&Vt.safari&&Vt.mobile,tapTolerance:15});var Xl=In.extend({addHooks:function(){w(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){j(this._map._container,"touchstart",this._onDown,this)},_onDown:function(e){if(clearTimeout(this._holdTimeout),e.touches.length===1){var o=e.touches[0];this._startPos=this._newPos=new at(o.clientX,o.clientY),this._holdTimeout=setTimeout(l(function(){this._cancel(),this._isTapValid()&&(w(document,"touchend",Pt),w(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",o))},this),hf),w(document,"touchend touchcancel contextmenu",this._cancel,this),w(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function e(){j(document,"touchend",Pt),j(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),j(document,"touchend touchcancel contextmenu",this._cancel,this),j(document,"touchmove",this._onMove,this)},_onMove:function(e){var o=e.touches[0];this._newPos=new at(o.clientX,o.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(e,o){var d=new MouseEvent(e,{bubbles:!0,cancelable:!0,view:window,screenX:o.screenX,screenY:o.screenY,clientX:o.clientX,clientY:o.clientY});d._simulated=!0,o.target.dispatchEvent(d)}});ne.addInitHook("addHandler","tapHold",Xl),ne.mergeOptions({touchZoom:Vt.touch,bounceAtZoomLimits:!0});var Ql=In.extend({addHooks:function(){Qt(this._map._container,"leaflet-touch-zoom"),w(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Be(this._map._container,"leaflet-touch-zoom"),j(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(e){var o=this._map;if(!(!e.touches||e.touches.length!==2||o._animatingZoom||this._zooming)){var d=o.mouseEventToContainerPoint(e.touches[0]),m=o.mouseEventToContainerPoint(e.touches[1]);this._centerPoint=o.getSize()._divideBy(2),this._startLatLng=o.containerPointToLatLng(this._centerPoint),o.options.touchZoom!=="center"&&(this._pinchStartLatLng=o.containerPointToLatLng(d.add(m)._divideBy(2))),this._startDist=d.distanceTo(m),this._startZoom=o.getZoom(),this._moved=!1,this._zooming=!0,o._stop(),w(document,"touchmove",this._onTouchMove,this),w(document,"touchend touchcancel",this._onTouchEnd,this),Pt(e)}},_onTouchMove:function(e){if(!(!e.touches||e.touches.length!==2||!this._zooming)){var o=this._map,d=o.mouseEventToContainerPoint(e.touches[0]),m=o.mouseEventToContainerPoint(e.touches[1]),x=d.distanceTo(m)/this._startDist;if(this._zoom=o.getScaleZoom(x,this._startZoom),!o.options.bounceAtZoomLimits&&(this._zoomo.getMaxZoom()&&x>1)&&(this._zoom=o._limitZoom(this._zoom)),o.options.touchZoom==="center"){if(this._center=this._startLatLng,x===1)return}else{var T=d._add(m)._divideBy(2)._subtract(this._centerPoint);if(x===1&&T.x===0&&T.y===0)return;this._center=o.unproject(o.project(this._pinchStartLatLng,this._zoom).subtract(T),this._zoom)}this._moved||(o._moveStart(!0,!1),this._moved=!0),ot(this._animRequest);var K=l(o._move,o,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=vt(K,this,!0),Pt(e)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,ot(this._animRequest),j(document,"touchmove",this._onTouchMove,this),j(document,"touchend touchcancel",this._onTouchEnd,this),this._map.options.zoomAnimation?this._map._animateZoom(this._center,this._map._limitZoom(this._zoom),!0,this._map.options.zoomSnap):this._map._resetView(this._center,this._map._limitZoom(this._zoom))}});ne.addInitHook("addHandler","touchZoom",Ql),ne.BoxZoom=ql,ne.DoubleClickZoom=Kl,ne.Drag=Wl,ne.Keyboard=Jl,ne.ScrollWheelZoom=Yl,ne.TapHold=Xl,ne.TouchZoom=Ql,a.Bounds=Xt,a.Browser=Vt,a.CRS=ft,a.Canvas=Gl,a.Circle=Xs,a.CircleMarker=Ao,a.Class=Dt,a.Control=tn,a.DivIcon=Fl,a.DivOverlay=Dn,a.DomEvent=Ye,a.DomUtil=y,a.Draggable=si,a.Evented=At,a.FeatureGroup=qn,a.GeoJSON=Wn,a.GridLayer=Gr,a.Handler=In,a.Icon=er,a.ImageOverlay=jo,a.LatLng=ae,a.LatLngBounds=Me,a.Layer=Sn,a.LayerGroup=tr,a.LineUtil=Vd,a.Map=ne,a.Marker=Oo,a.Mixin=Id,a.Path=ai,a.Point=at,a.PolyUtil=Dd,a.Polygon=nr,a.Polyline=Kn,a.Popup=zo,a.PosAnimation=Qi,a.Projection=$d,a.Rectangle=Zl,a.Renderer=Jn,a.SVG=Ur,a.SVGOverlay=Nl,a.TileLayer=rr,a.Tooltip=No,a.Transformation=se,a.Util=Lt,a.VideoOverlay=zl,a.bind=l,a.bounds=Ht,a.canvas=Hl,a.circle=Jd,a.circleMarker=Wd,a.control=cn,a.divIcon=sf,a.extend=c,a.featureGroup=Zd,a.geoJSON=jl,a.geoJson=Qd,a.gridLayer=af,a.icon=qd,a.imageOverlay=tf,a.latLng=zt,a.latLngBounds=ce,a.layerGroup=Ud,a.map=Po,a.marker=Kd,a.point=Rt,a.polygon=Xd,a.polyline=Yd,a.popup=rf,a.rectangle=cf,a.setOptions=S,a.stamp=p,a.svg=Ul,a.svgOverlay=nf,a.tileLayer=Vl,a.tooltip=of,a.transformation=he,a.version=s,a.videoOverlay=ef;var df=window.L;a.noConflict=function(){return window.L=df,this},window.L=a})})(qa,qa.exports);var Ix=qa.exports;const sn=Bx(Ix),Dx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAABSCAMAAAAhFXfZAAAC91BMVEVMaXEzeak2f7I4g7g3g7cua5gzeKg8hJo3grY4g7c3grU0gLI2frE0daAubJc2gbQwd6QzeKk2gLMtd5sxdKIua5g1frA2f7IydaM0e6w2fq41fK01eqo3grgubJgta5cxdKI1f7AydaQydaMxc6EubJgvbJkwcZ4ubZkwcJwubZgubJcydqUydKIxapgubJctbJcubZcubJcvbJYubJcvbZkubJctbJctbZcubJg2f7AubJcrbZcubJcubJcua5g3grY0fq8ubJcubJdEkdEwhsw6i88vhswuhcsuhMtBjMgthMsrg8srgss6is8qgcs8i9A9iMYtg8spgcoogMo7hcMngMonf8olfso4gr8kfck5iM8jfMk4iM8he8k1fro7itAgesk2hs8eecgzfLcofssdeMg0hc4cd8g2hcsxeLQbdsgZdcgxeLImfcszhM0vda4xgckzhM4xg84wf8Yxgs4udKsvfcQucqhUndROmdM1fK0wcZ8vb5w0eqpQm9MzeKhXoNVcpdYydKNWn9VZotVKltJFjsIwcJ1Rms9OlslLmtH///8+kc9epdYzd6dbo9VHkMM2f7FHmNBClM8ydqVcpNY9hro3gLM9hLczealQmcw3fa46f7A8gLMxc6I3eagyc6FIldJMl9JSnNRSntNNl9JPnNJFi75UnM9ZodVKksg8kM45jc09e6ZHltFBk883gbRBh7pDk9EwcaBzn784g7dKkcY2i81Om9M7j85Llc81is09g7Q4grY/j9A0eqxKmdFFltBEjcXf6fFImdBCiLxJl9FGlNFBi78yiMxVndEvbpo6js74+vx+psPP3+o/ks5HkcpGmNCjwdZCkNDM3ehYoNJEls+lxNkxh8xHks0+jdC1zd5Lg6r+/v/H2ufz9/o3jM3t8/edvdM/k89Th61OiLBSjbZklbaTt9BfptdjmL1AicBHj8hGk9FAgK1dkLNTjLRekrdClc/k7fM0icy0y9tgp9c4jc2NtM9Dlc8zicxeXZn3AAAAQ3RSTlMAHDdTb4yPA+LtnEQmC4L2EmHqB7XA0d0sr478x4/Yd5i1zOfyPkf1sLVq4Nh3FvjxopQ2/STNuFzUwFIwxKaejILpIBEV9wAABhVJREFUeF6s1NdyFEcYBeBeoQIhRAkLlRDGrhIgY3BJL8CVeKzuyXFzzjkn5ZxzzuScg3PO8cKzu70JkO0LfxdTU//pM9vTu7Xgf6KqOVTb9X7toRrVEfBf1HTVjZccrT/2by1VV928Yty9ZbVuucdz90frG8DBjl9pVApbOstvmMuvVgaNXSfAAd6pGxpy6yxf5ph43pS/4f3uoaGm2rdu72S9xzOvMymkZFq/ptDrk90mhW7e4zl7HLzhxGWPR20xmSxJ/VqldG5m9XhaVOA1DadsNh3Pu5L2N6QtPO/32JpqQBVVk20oy/Pi2s23WEvyfHbe1thadVQttvm7Llf65gGmXK67XtupyoM7HQhmXdLS8oGWJNeOJ3C5fG5XCEJnkez3/oFdsvgJ4l2ANZwhrJKk/7OSXa+3Vw2WJMlKnGkobouYk6T0TyX30klOUnTD9HJ5qpckL3EW/w4XF3Xd0FGywXUrstrclVsqz5Pd/sXFYyDnPdrLcQODmGOK47IZb4CmibmMn+MYRzFZ5jg33ZL/EJrWcszHmANy3ARBK/IXtciJy8VsitPSdE3uuHxzougojcUdr8/32atnz/ev3f/K5wtpxUTpcaI45zusVDpYtZi+jg0oU9b3x74h7+n9ABvYEZeKaVq0sh0AtLKsFtqNBdeT0MrSzwwlq9+x6xAO4tgOtSzbCjrNQQiNvQUbUEubvzBUeGw26yDCsRHCoLkTHDa7IdOLIThs/gHvChszh2CimE8peRs47cxANI0lYNB5y1DljpOF0IhzBDPOZnDOqYYbeGKECbPzWnXludPphw5c2YBq5zlwXphIbO4VDCZ0gnPfUO1TwZoYwAs2ExPCedAu9DAjfQUjzITQb3jNj0KG2Sgt6BHaQUdYzWz+XmBktOHwanXjaSTcwwziBcuMOtwBmqPrTOxFQR/DRKKPqyur0aiW6cULYsx6tBm0jXpR/AUWR6HRq9WVW6MRhIq5jLyjbaCTDCijyYJNpCajdyobP/eTw0iexBAKkJ3gA5KcQb2zBXsIBckn+xVv8jkZSaEFHE+jFEleAEfayRU0MouNoBmB/L50Ai/HSLIHxcrpCvnhSQAuakKp2C/YbCylJjXRVy/z3+Kv/RrNcCo+WUzlVEhzKffnTQnxeN9fWF88fiNCUdSTsaufaChKWInHeysygfpIqagoakW+vV20J8uyl6TyNKEZWV4oRSPyCkWpgOLSbkCObT8o2r6tlG58HQquf6O0v50tB7JM7F4EORd2dx/K0w/KHsVkLPaoYrwgP/y7krr3SSMA4zj+OBgmjYkxcdIJQyQRKgg2viX9Hddi9UBb29LrKR7CVVEEEXWojUkXNyfTNDE14W9gbHJNuhjDettN3ZvbOvdOqCD3Jp/9l+/wJE+9PkYGjx/fqkys3S2rMozM/o2106rfMUINo6hVqz+eu/hd1c4xTg0TAfy5kV+4UG6+IthHTU9woWmxuKNbTfuCSfovBCxq7EtHqvYL4Sm6F8GVxsSXHMQ07TOi1DKtZxjWaaIyi4CXWjxPccUw8WVbMYY5wxC1mzEyXMJWkllpRloi+Kkoq69sxBTlElF6aAxYUbjXNlhlDZilDnM4U5SlN5biRsRHnbx3mbeWjEh4mEyiuJDl5XcWVmX5GvNkFgLWZM5qwsop4/AWfLhU1cR7k1VVvcYCWRkOI6Xy5gmnphCYIkvzuNYzHzosq2oNk2RtSs8khfUOfHIDgR6ysYBaMpl4uEgk2U/oJTs9AaTSwma7dT69geAE2ZpEjUsn2ieJNHeKfrI3EcAGJ2ZaNgVuC8EBctCLc57P5u5led6IOBkIYkuQMrmmjChs4VkfOerHqSBkPzZlhe06RslZ3zMjk2sscqKwY0RcjKK+LWbzd7KiHhkncs/siFJ+V5eXxD34B8nVuJEpGJNmxN2gH3vSvp7J70tF+D1Ej8qUJD1TkErAND2GZwTFg/LubvmgiBG3SOvdlsqFQrkEzJCL1rstlnVFROixZoDDSuXQFHESwVGlcuQcMb/b42NgjLowh5MTDFE3vNB5qStRIErdCQEh6pLPR92anSUb/wAIhldAaDMpGgAAAABJRU5ErkJggg==",jx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=",zx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",Nx={className:"bg-map-asserted rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Fx={className:"bg-map-collection-object rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Ed={className:"bg-map-georeference rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Vx={className:"bg-map-type-material map-point-marker rounded-full",iconSize:[8,8],iconAnchor:[4,4]},$x=Object.freeze(Object.defineProperty({__proto__:null,AssertedDistribution:Nx,CollectionObject:Fx,Georeference:Ed,TypeMaterial:Vx},Symbol.toStringTag,{value:"Module"})),Gx={color:"rgb(var(--color-map-aggregate))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},Hx={color:"rgb(var(--color-map-asserted))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},Ux={color:"rgb(var(--color-map-collection-object))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},Zx={color:"rgb(var(--color-map-type-material))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},xc=Object.freeze(Object.defineProperty({__proto__:null,Aggregate:Gx,AssertedDistribution:Hx,CollectionObject:Ux,TypeMaterial:Zx},Symbol.toStringTag,{value:"Module"})),Lc=["TypeMaterial","CollectionObject","AssertedDistribution","Georeference","Aggregate"],wc={allowEditing:!1,allowRemoval:!1,allowCutting:!1,allowRotation:!1,draggable:!1};function kc(t){const n=t.map(a=>a.type);return n.sort((a,s)=>Lc.indexOf(a)-Lc.indexOf(s)),n[0]}const qx=t=>({onEachFeature:(n,a)=>{const s=(n.properties.base||[]).map(i=>i.label).filter(Boolean);if(!s.length)return;const c=` +
+
    + ${s.map(i=>` +
  • + ${i} +
  • + `).join("")} +
+
`;a.pm.setOptions(wc),a.pm.disable(),a.bindPopup(c)},pointToLayer:(n,a)=>{const s=kc(n.properties.base),c=$x[s]||Ed,i=t.marker(a,{icon:t.divIcon(c)});return i.pm.setOptions(wc),i},style:n=>{var s;const a=kc((s=n.properties)==null?void 0:s.base);if(xc[a])return xc[a]}});var Kx={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const{map_tile_server:Wx,map_tile_attribution:Jx,map_tiles:Yx}=Kx;function Xx(t,n){return Object.fromEntries((Yx||[{label:"tile",server:Wx,attribution:Jx}]).map(({server:s,attribution:c,label:i})=>[i,t.tileLayer(s,{...n,attribution:c})]))}var Mc={};(()=>{var t={9705:(s,c,i)=>{var l=i(1540);function h(p){var _=[1/0,1/0,-1/0,-1/0];return l.coordEach(p,function(g){_[0]>g[0]&&(_[0]=g[0]),_[1]>g[1]&&(_[1]=g[1]),_[2]{function i(B,F,O){O===void 0&&(O={});var C={type:"Feature"};return(O.id===0||O.id)&&(C.id=O.id),O.bbox&&(C.bbox=O.bbox),C.properties=F||{},C.geometry=B,C}function l(B,F,O){if(O===void 0&&(O={}),!B)throw new Error("coordinates is required");if(!Array.isArray(B))throw new Error("coordinates must be an Array");if(B.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!N(B[0])||!N(B[1]))throw new Error("coordinates must contain numbers");return i({type:"Point",coordinates:B},F,O)}function h(B,F,O){O===void 0&&(O={});for(var C=0,I=B;C=0))throw new Error("precision must be a positive number");var O=Math.pow(10,F||0);return Math.round(B*O)/O},c.radiansToLength=A,c.lengthToRadians=P,c.lengthToDegrees=function(B,F){return S(P(B,F))},c.bearingToAzimuth=function(B){var F=B%360;return F<0&&(F+=360),F},c.radiansToDegrees=S,c.degreesToRadians=function(B){return B%360*Math.PI/180},c.convertLength=function(B,F,O){if(F===void 0&&(F="kilometers"),O===void 0&&(O="kilometers"),!(B>=0))throw new Error("length must be a positive number");return A(P(B,F),O)},c.convertArea=function(B,F,O){if(F===void 0&&(F="meters"),O===void 0&&(O="kilometers"),!(B>=0))throw new Error("area must be a positive number");var C=c.areaFactors[F];if(!C)throw new Error("invalid original units");var I=c.areaFactors[O];if(!I)throw new Error("invalid final units");return B/C*I},c.isNumber=N,c.isObject=function(B){return!!B&&B.constructor===Object},c.validateBBox=function(B){if(!B)throw new Error("bbox is required");if(!Array.isArray(B))throw new Error("bbox must be an Array");if(B.length!==4&&B.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");B.forEach(function(F){if(!N(F))throw new Error("bbox must only contain numbers")})},c.validateId=function(B){if(!B)throw new Error("id is required");if(["string","number"].indexOf(typeof B)===-1)throw new Error("id must be a number or a string")}},1540:(s,c,i)=>{Object.defineProperty(c,"__esModule",{value:!0});var l=i(4102);function h(P,S,N){if(P!==null)for(var B,F,O,C,I,$,rt,X,nt=0,ut=0,vt=P.type,ot=vt==="FeatureCollection",Lt=vt==="Feature",Dt=ot?P.features.length:1,Mt=0;Mt$||ot>rt||Lt>X)return I=nt,$=B,rt=ot,X=Lt,void(O=0);var Dt=l.lineString([I,nt],N.properties);if(S(Dt,B,F,Lt,O)===!1)return!1;O++,I=nt})!==!1&&void 0}}})}function A(P,S){if(!P)throw new Error("geojson is required");v(P,function(N,B,F){if(N.geometry!==null){var O=N.geometry.type,C=N.geometry.coordinates;switch(O){case"LineString":if(S(N,B,F,0,0)===!1)return!1;break;case"Polygon":for(var I=0;I{Array.prototype.findIndex=Array.prototype.findIndex||function(s){if(this===null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof s!="function")throw new TypeError("callback must be a function");for(var c=Object(this),i=c.length>>>0,l=arguments[1],h=0;h>>0,l=arguments[1],h=0;h>>0;if(l===0)return!1;for(var h,p,_=0|c,g=Math.max(_>=0?_:l-Math.abs(_),0);g{var l=i(2582),h=i(4102),p=i(1540),_=i(9705).Z,g=p.featureEach,v=(p.coordEach,h.polygon,h.featureCollection);function M(A){var P=new l(A);return P.insert=function(S){if(S.type!=="Feature")throw new Error("invalid feature");return S.bbox=S.bbox?S.bbox:_(S),l.prototype.insert.call(this,S)},P.load=function(S){var N=[];return Array.isArray(S)?S.forEach(function(B){if(B.type!=="Feature")throw new Error("invalid features");B.bbox=B.bbox?B.bbox:_(B),N.push(B)}):g(S,function(B){if(B.type!=="Feature")throw new Error("invalid features");B.bbox=B.bbox?B.bbox:_(B),N.push(B)}),l.prototype.load.call(this,N)},P.remove=function(S,N){if(S.type!=="Feature")throw new Error("invalid feature");return S.bbox=S.bbox?S.bbox:_(S),l.prototype.remove.call(this,S,N)},P.clear=function(){return l.prototype.clear.call(this)},P.search=function(S){var N=l.prototype.search.call(this,this.toBBox(S));return v(N)},P.collides=function(S){return l.prototype.collides.call(this,this.toBBox(S))},P.all=function(){var S=l.prototype.all.call(this);return v(S)},P.toJSON=function(){return l.prototype.toJSON.call(this)},P.fromJSON=function(S){return l.prototype.fromJSON.call(this,S)},P.toBBox=function(S){var N;if(S.bbox)N=S.bbox;else if(Array.isArray(S)&&S.length===4)N=S;else if(Array.isArray(S)&&S.length===6)N=[S[0],S[1],S[3],S[4]];else if(S.type==="Feature")N=_(S);else{if(S.type!=="FeatureCollection")throw new Error("invalid geojson");N=_(S)}return{minX:N[0],minY:N[1],maxX:N[2],maxY:N[3]}},P}s.exports=M,s.exports.default=M},1989:(s,c,i)=>{var l=i(1789),h=i(401),p=i(7667),_=i(1327),g=i(1866);function v(M){var A=-1,P=M==null?0:M.length;for(this.clear();++A{var l=i(7040),h=i(4125),p=i(2117),_=i(7518),g=i(4705);function v(M){var A=-1,P=M==null?0:M.length;for(this.clear();++A{var l=i(852)(i(5639),"Map");s.exports=l},3369:(s,c,i)=>{var l=i(4785),h=i(1285),p=i(6e3),_=i(9916),g=i(5265);function v(M){var A=-1,P=M==null?0:M.length;for(this.clear();++A{var l=i(8407),h=i(7465),p=i(3779),_=i(7599),g=i(4758),v=i(4309);function M(A){var P=this.__data__=new l(A);this.size=P.size}M.prototype.clear=h,M.prototype.delete=p,M.prototype.get=_,M.prototype.has=g,M.prototype.set=v,s.exports=M},2705:(s,c,i)=>{var l=i(5639).Symbol;s.exports=l},1149:(s,c,i)=>{var l=i(5639).Uint8Array;s.exports=l},6874:s=>{s.exports=function(c,i,l){switch(l.length){case 0:return c.call(i);case 1:return c.call(i,l[0]);case 2:return c.call(i,l[0],l[1]);case 3:return c.call(i,l[0],l[1],l[2])}return c.apply(i,l)}},4636:(s,c,i)=>{var l=i(2545),h=i(5694),p=i(1469),_=i(4144),g=i(5776),v=i(6719),M=Object.prototype.hasOwnProperty;s.exports=function(A,P){var S=p(A),N=!S&&h(A),B=!S&&!N&&_(A),F=!S&&!N&&!B&&v(A),O=S||N||B||F,C=O?l(A.length,String):[],I=C.length;for(var $ in A)!P&&!M.call(A,$)||O&&($=="length"||B&&($=="offset"||$=="parent")||F&&($=="buffer"||$=="byteLength"||$=="byteOffset")||g($,I))||C.push($);return C}},9932:s=>{s.exports=function(c,i){for(var l=-1,h=c==null?0:c.length,p=Array(h);++l{var l=i(9465),h=i(7813);s.exports=function(p,_,g){(g!==void 0&&!h(p[_],g)||g===void 0&&!(_ in p))&&l(p,_,g)}},4865:(s,c,i)=>{var l=i(9465),h=i(7813),p=Object.prototype.hasOwnProperty;s.exports=function(_,g,v){var M=_[g];p.call(_,g)&&h(M,v)&&(v!==void 0||g in _)||l(_,g,v)}},8470:(s,c,i)=>{var l=i(7813);s.exports=function(h,p){for(var _=h.length;_--;)if(l(h[_][0],p))return _;return-1}},9465:(s,c,i)=>{var l=i(8777);s.exports=function(h,p,_){p=="__proto__"&&l?l(h,p,{configurable:!0,enumerable:!0,value:_,writable:!0}):h[p]=_}},3118:(s,c,i)=>{var l=i(3218),h=Object.create,p=function(){function _(){}return function(g){if(!l(g))return{};if(h)return h(g);_.prototype=g;var v=new _;return _.prototype=void 0,v}}();s.exports=p},8483:(s,c,i)=>{var l=i(5063)();s.exports=l},7786:(s,c,i)=>{var l=i(1811),h=i(327);s.exports=function(p,_){for(var g=0,v=(_=l(_,p)).length;p!=null&&g{var l=i(2705),h=i(9607),p=i(2333),_=l?l.toStringTag:void 0;s.exports=function(g){return g==null?g===void 0?"[object Undefined]":"[object Null]":_&&_ in Object(g)?h(g):p(g)}},8565:s=>{var c=Object.prototype.hasOwnProperty;s.exports=function(i,l){return i!=null&&c.call(i,l)}},9454:(s,c,i)=>{var l=i(4239),h=i(7005);s.exports=function(p){return h(p)&&l(p)=="[object Arguments]"}},8458:(s,c,i)=>{var l=i(3560),h=i(5346),p=i(3218),_=i(346),g=/^\[object .+?Constructor\]$/,v=Function.prototype,M=Object.prototype,A=v.toString,P=M.hasOwnProperty,S=RegExp("^"+A.call(P).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");s.exports=function(N){return!(!p(N)||h(N))&&(l(N)?S:g).test(_(N))}},8749:(s,c,i)=>{var l=i(4239),h=i(1780),p=i(7005),_={};_["[object Float32Array]"]=_["[object Float64Array]"]=_["[object Int8Array]"]=_["[object Int16Array]"]=_["[object Int32Array]"]=_["[object Uint8Array]"]=_["[object Uint8ClampedArray]"]=_["[object Uint16Array]"]=_["[object Uint32Array]"]=!0,_["[object Arguments]"]=_["[object Array]"]=_["[object ArrayBuffer]"]=_["[object Boolean]"]=_["[object DataView]"]=_["[object Date]"]=_["[object Error]"]=_["[object Function]"]=_["[object Map]"]=_["[object Number]"]=_["[object Object]"]=_["[object RegExp]"]=_["[object Set]"]=_["[object String]"]=_["[object WeakMap]"]=!1,s.exports=function(g){return p(g)&&h(g.length)&&!!_[l(g)]}},313:(s,c,i)=>{var l=i(3218),h=i(5726),p=i(3498),_=Object.prototype.hasOwnProperty;s.exports=function(g){if(!l(g))return p(g);var v=h(g),M=[];for(var A in g)(A!="constructor"||!v&&_.call(g,A))&&M.push(A);return M}},2980:(s,c,i)=>{var l=i(6384),h=i(6556),p=i(8483),_=i(9783),g=i(3218),v=i(1704),M=i(6390);s.exports=function A(P,S,N,B,F){P!==S&&p(S,function(O,C){if(F||(F=new l),g(O))_(P,S,C,N,A,B,F);else{var I=B?B(M(P,C),O,C+"",P,S,F):void 0;I===void 0&&(I=O),h(P,C,I)}},v)}},9783:(s,c,i)=>{var l=i(6556),h=i(4626),p=i(7133),_=i(278),g=i(8517),v=i(5694),M=i(1469),A=i(9246),P=i(4144),S=i(3560),N=i(3218),B=i(8630),F=i(6719),O=i(6390),C=i(9881);s.exports=function(I,$,rt,X,nt,ut,vt){var ot=O(I,rt),Lt=O($,rt),Dt=vt.get(Lt);if(Dt)l(I,rt,Dt);else{var Mt=ut?ut(ot,Lt,rt+"",I,$,vt):void 0,yt=Mt===void 0;if(yt){var At=M(Lt),at=!At&&P(Lt),oe=!At&&!at&&F(Lt);Mt=Lt,At||at||oe?M(ot)?Mt=ot:A(ot)?Mt=_(ot):at?(yt=!1,Mt=h(Lt,!0)):oe?(yt=!1,Mt=p(Lt,!0)):Mt=[]:B(Lt)||v(Lt)?(Mt=ot,v(ot)?Mt=C(ot):N(ot)&&!S(ot)||(Mt=g(Lt))):yt=!1}yt&&(vt.set(Lt,Mt),nt(Mt,Lt,X,ut,vt),vt.delete(Lt)),l(I,rt,Mt)}}},5976:(s,c,i)=>{var l=i(6557),h=i(5357),p=i(61);s.exports=function(_,g){return p(h(_,g,l),_+"")}},6560:(s,c,i)=>{var l=i(5703),h=i(8777),p=i(6557),_=h?function(g,v){return h(g,"toString",{configurable:!0,enumerable:!1,value:l(v),writable:!0})}:p;s.exports=_},2545:s=>{s.exports=function(c,i){for(var l=-1,h=Array(c);++l{var l=i(2705),h=i(9932),p=i(1469),_=i(3448),g=l?l.prototype:void 0,v=g?g.toString:void 0;s.exports=function M(A){if(typeof A=="string")return A;if(p(A))return h(A,M)+"";if(_(A))return v?v.call(A):"";var P=A+"";return P=="0"&&1/A==-1/0?"-0":P}},1717:s=>{s.exports=function(c){return function(i){return c(i)}}},1811:(s,c,i)=>{var l=i(1469),h=i(5403),p=i(5514),_=i(9833);s.exports=function(g,v){return l(g)?g:h(g,v)?[g]:p(_(g))}},4318:(s,c,i)=>{var l=i(1149);s.exports=function(h){var p=new h.constructor(h.byteLength);return new l(p).set(new l(h)),p}},4626:(s,c,i)=>{s=i.nmd(s);var l=i(5639),h=c&&!c.nodeType&&c,p=h&&s&&!s.nodeType&&s,_=p&&p.exports===h?l.Buffer:void 0,g=_?_.allocUnsafe:void 0;s.exports=function(v,M){if(M)return v.slice();var A=v.length,P=g?g(A):new v.constructor(A);return v.copy(P),P}},7133:(s,c,i)=>{var l=i(4318);s.exports=function(h,p){var _=p?l(h.buffer):h.buffer;return new h.constructor(_,h.byteOffset,h.length)}},278:s=>{s.exports=function(c,i){var l=-1,h=c.length;for(i||(i=Array(h));++l{var l=i(4865),h=i(9465);s.exports=function(p,_,g,v){var M=!g;g||(g={});for(var A=-1,P=_.length;++A{var l=i(5639)["__core-js_shared__"];s.exports=l},1463:(s,c,i)=>{var l=i(5976),h=i(6612);s.exports=function(p){return l(function(_,g){var v=-1,M=g.length,A=M>1?g[M-1]:void 0,P=M>2?g[2]:void 0;for(A=p.length>3&&typeof A=="function"?(M--,A):void 0,P&&h(g[0],g[1],P)&&(A=M<3?void 0:A,M=1),_=Object(_);++v{s.exports=function(c){return function(i,l,h){for(var p=-1,_=Object(i),g=h(i),v=g.length;v--;){var M=g[c?v:++p];if(l(_[M],M,_)===!1)break}return i}}},8777:(s,c,i)=>{var l=i(852),h=function(){try{var p=l(Object,"defineProperty");return p({},"",{}),p}catch{}}();s.exports=h},1957:(s,c,i)=>{var l=typeof i.g=="object"&&i.g&&i.g.Object===Object&&i.g;s.exports=l},5050:(s,c,i)=>{var l=i(7019);s.exports=function(h,p){var _=h.__data__;return l(p)?_[typeof p=="string"?"string":"hash"]:_.map}},852:(s,c,i)=>{var l=i(8458),h=i(7801);s.exports=function(p,_){var g=h(p,_);return l(g)?g:void 0}},5924:(s,c,i)=>{var l=i(5569)(Object.getPrototypeOf,Object);s.exports=l},9607:(s,c,i)=>{var l=i(2705),h=Object.prototype,p=h.hasOwnProperty,_=h.toString,g=l?l.toStringTag:void 0;s.exports=function(v){var M=p.call(v,g),A=v[g];try{v[g]=void 0;var P=!0}catch{}var S=_.call(v);return P&&(M?v[g]=A:delete v[g]),S}},7801:s=>{s.exports=function(c,i){return c==null?void 0:c[i]}},222:(s,c,i)=>{var l=i(1811),h=i(5694),p=i(1469),_=i(5776),g=i(1780),v=i(327);s.exports=function(M,A,P){for(var S=-1,N=(A=l(A,M)).length,B=!1;++S{var l=i(4536);s.exports=function(){this.__data__=l?l(null):{},this.size=0}},401:s=>{s.exports=function(c){var i=this.has(c)&&delete this.__data__[c];return this.size-=i?1:0,i}},7667:(s,c,i)=>{var l=i(4536),h=Object.prototype.hasOwnProperty;s.exports=function(p){var _=this.__data__;if(l){var g=_[p];return g==="__lodash_hash_undefined__"?void 0:g}return h.call(_,p)?_[p]:void 0}},1327:(s,c,i)=>{var l=i(4536),h=Object.prototype.hasOwnProperty;s.exports=function(p){var _=this.__data__;return l?_[p]!==void 0:h.call(_,p)}},1866:(s,c,i)=>{var l=i(4536);s.exports=function(h,p){var _=this.__data__;return this.size+=this.has(h)?0:1,_[h]=l&&p===void 0?"__lodash_hash_undefined__":p,this}},8517:(s,c,i)=>{var l=i(3118),h=i(5924),p=i(5726);s.exports=function(_){return typeof _.constructor!="function"||p(_)?{}:l(h(_))}},5776:s=>{var c=/^(?:0|[1-9]\d*)$/;s.exports=function(i,l){var h=typeof i;return!!(l=l??9007199254740991)&&(h=="number"||h!="symbol"&&c.test(i))&&i>-1&&i%1==0&&i{var l=i(7813),h=i(8612),p=i(5776),_=i(3218);s.exports=function(g,v,M){if(!_(M))return!1;var A=typeof v;return!!(A=="number"?h(M)&&p(v,M.length):A=="string"&&v in M)&&l(M[v],g)}},5403:(s,c,i)=>{var l=i(1469),h=i(3448),p=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,_=/^\w*$/;s.exports=function(g,v){if(l(g))return!1;var M=typeof g;return!(M!="number"&&M!="symbol"&&M!="boolean"&&g!=null&&!h(g))||_.test(g)||!p.test(g)||v!=null&&g in Object(v)}},7019:s=>{s.exports=function(c){var i=typeof c;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?c!=="__proto__":c===null}},5346:(s,c,i)=>{var l,h=i(4429),p=(l=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||""))?"Symbol(src)_1."+l:"";s.exports=function(_){return!!p&&p in _}},5726:s=>{var c=Object.prototype;s.exports=function(i){var l=i&&i.constructor;return i===(typeof l=="function"&&l.prototype||c)}},7040:s=>{s.exports=function(){this.__data__=[],this.size=0}},4125:(s,c,i)=>{var l=i(8470),h=Array.prototype.splice;s.exports=function(p){var _=this.__data__,g=l(_,p);return!(g<0)&&(g==_.length-1?_.pop():h.call(_,g,1),--this.size,!0)}},2117:(s,c,i)=>{var l=i(8470);s.exports=function(h){var p=this.__data__,_=l(p,h);return _<0?void 0:p[_][1]}},7518:(s,c,i)=>{var l=i(8470);s.exports=function(h){return l(this.__data__,h)>-1}},4705:(s,c,i)=>{var l=i(8470);s.exports=function(h,p){var _=this.__data__,g=l(_,h);return g<0?(++this.size,_.push([h,p])):_[g][1]=p,this}},4785:(s,c,i)=>{var l=i(1989),h=i(8407),p=i(7071);s.exports=function(){this.size=0,this.__data__={hash:new l,map:new(p||h),string:new l}}},1285:(s,c,i)=>{var l=i(5050);s.exports=function(h){var p=l(this,h).delete(h);return this.size-=p?1:0,p}},6e3:(s,c,i)=>{var l=i(5050);s.exports=function(h){return l(this,h).get(h)}},9916:(s,c,i)=>{var l=i(5050);s.exports=function(h){return l(this,h).has(h)}},5265:(s,c,i)=>{var l=i(5050);s.exports=function(h,p){var _=l(this,h),g=_.size;return _.set(h,p),this.size+=_.size==g?0:1,this}},4523:(s,c,i)=>{var l=i(8306);s.exports=function(h){var p=l(h,function(g){return _.size===500&&_.clear(),g}),_=p.cache;return p}},4536:(s,c,i)=>{var l=i(852)(Object,"create");s.exports=l},3498:s=>{s.exports=function(c){var i=[];if(c!=null)for(var l in Object(c))i.push(l);return i}},1167:(s,c,i)=>{s=i.nmd(s);var l=i(1957),h=c&&!c.nodeType&&c,p=h&&s&&!s.nodeType&&s,_=p&&p.exports===h&&l.process,g=function(){try{var v=p&&p.require&&p.require("util").types;return v||_&&_.binding&&_.binding("util")}catch{}}();s.exports=g},2333:s=>{var c=Object.prototype.toString;s.exports=function(i){return c.call(i)}},5569:s=>{s.exports=function(c,i){return function(l){return c(i(l))}}},5357:(s,c,i)=>{var l=i(6874),h=Math.max;s.exports=function(p,_,g){return _=h(_===void 0?p.length-1:_,0),function(){for(var v=arguments,M=-1,A=h(v.length-_,0),P=Array(A);++M{var l=i(1957),h=typeof self=="object"&&self&&self.Object===Object&&self,p=l||h||Function("return this")();s.exports=p},6390:s=>{s.exports=function(c,i){if((i!=="constructor"||typeof c[i]!="function")&&i!="__proto__")return c[i]}},61:(s,c,i)=>{var l=i(6560),h=i(1275)(l);s.exports=h},1275:s=>{var c=Date.now;s.exports=function(i){var l=0,h=0;return function(){var p=c(),_=16-(p-h);if(h=p,_>0){if(++l>=800)return arguments[0]}else l=0;return i.apply(void 0,arguments)}}},7465:(s,c,i)=>{var l=i(8407);s.exports=function(){this.__data__=new l,this.size=0}},3779:s=>{s.exports=function(c){var i=this.__data__,l=i.delete(c);return this.size=i.size,l}},7599:s=>{s.exports=function(c){return this.__data__.get(c)}},4758:s=>{s.exports=function(c){return this.__data__.has(c)}},4309:(s,c,i)=>{var l=i(8407),h=i(7071),p=i(3369);s.exports=function(_,g){var v=this.__data__;if(v instanceof l){var M=v.__data__;if(!h||M.length<199)return M.push([_,g]),this.size=++v.size,this;v=this.__data__=new p(M)}return v.set(_,g),this.size=v.size,this}},5514:(s,c,i)=>{var l=i(4523),h=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,p=/\\(\\)?/g,_=l(function(g){var v=[];return g.charCodeAt(0)===46&&v.push(""),g.replace(h,function(M,A,P,S){v.push(P?S.replace(p,"$1"):A||M)}),v});s.exports=_},327:(s,c,i)=>{var l=i(3448);s.exports=function(h){if(typeof h=="string"||l(h))return h;var p=h+"";return p=="0"&&1/h==-1/0?"-0":p}},346:s=>{var c=Function.prototype.toString;s.exports=function(i){if(i!=null){try{return c.call(i)}catch{}try{return i+""}catch{}}return""}},5703:s=>{s.exports=function(c){return function(){return c}}},7813:s=>{s.exports=function(c,i){return c===i||c!=c&&i!=i}},7361:(s,c,i)=>{var l=i(7786);s.exports=function(h,p,_){var g=h==null?void 0:l(h,p);return g===void 0?_:g}},8721:(s,c,i)=>{var l=i(8565),h=i(222);s.exports=function(p,_){return p!=null&&h(p,_,l)}},6557:s=>{s.exports=function(c){return c}},5694:(s,c,i)=>{var l=i(9454),h=i(7005),p=Object.prototype,_=p.hasOwnProperty,g=p.propertyIsEnumerable,v=l(function(){return arguments}())?l:function(M){return h(M)&&_.call(M,"callee")&&!g.call(M,"callee")};s.exports=v},1469:s=>{var c=Array.isArray;s.exports=c},8612:(s,c,i)=>{var l=i(3560),h=i(1780);s.exports=function(p){return p!=null&&h(p.length)&&!l(p)}},9246:(s,c,i)=>{var l=i(8612),h=i(7005);s.exports=function(p){return h(p)&&l(p)}},4144:(s,c,i)=>{s=i.nmd(s);var l=i(5639),h=i(5062),p=c&&!c.nodeType&&c,_=p&&s&&!s.nodeType&&s,g=_&&_.exports===p?l.Buffer:void 0,v=(g?g.isBuffer:void 0)||h;s.exports=v},3560:(s,c,i)=>{var l=i(4239),h=i(3218);s.exports=function(p){if(!h(p))return!1;var _=l(p);return _=="[object Function]"||_=="[object GeneratorFunction]"||_=="[object AsyncFunction]"||_=="[object Proxy]"}},1780:s=>{s.exports=function(c){return typeof c=="number"&&c>-1&&c%1==0&&c<=9007199254740991}},3218:s=>{s.exports=function(c){var i=typeof c;return c!=null&&(i=="object"||i=="function")}},7005:s=>{s.exports=function(c){return c!=null&&typeof c=="object"}},8630:(s,c,i)=>{var l=i(4239),h=i(5924),p=i(7005),_=Function.prototype,g=Object.prototype,v=_.toString,M=g.hasOwnProperty,A=v.call(Object);s.exports=function(P){if(!p(P)||l(P)!="[object Object]")return!1;var S=h(P);if(S===null)return!0;var N=M.call(S,"constructor")&&S.constructor;return typeof N=="function"&&N instanceof N&&v.call(N)==A}},3448:(s,c,i)=>{var l=i(4239),h=i(7005);s.exports=function(p){return typeof p=="symbol"||h(p)&&l(p)=="[object Symbol]"}},6719:(s,c,i)=>{var l=i(8749),h=i(1717),p=i(1167),_=p&&p.isTypedArray,g=_?h(_):l;s.exports=g},1704:(s,c,i)=>{var l=i(4636),h=i(313),p=i(8612);s.exports=function(_){return p(_)?l(_,!0):h(_)}},8306:(s,c,i)=>{var l=i(3369);function h(p,_){if(typeof p!="function"||_!=null&&typeof _!="function")throw new TypeError("Expected a function");var g=function(){var v=arguments,M=_?_.apply(this,v):v[0],A=g.cache;if(A.has(M))return A.get(M);var P=p.apply(this,v);return g.cache=A.set(M,P)||A,P};return g.cache=new(h.Cache||l),g}h.Cache=l,s.exports=h},2492:(s,c,i)=>{var l=i(2980),h=i(1463)(function(p,_,g){l(p,_,g)});s.exports=h},5062:s=>{s.exports=function(){return!1}},9881:(s,c,i)=>{var l=i(8363),h=i(1704);s.exports=function(p){return l(p,h(p))}},9833:(s,c,i)=>{var l=i(531);s.exports=function(h){return h==null?"":l(h)}},2676:function(s){s.exports=function(){function c(D,b){if(!(D instanceof b))throw new TypeError("Cannot call a class as a function")}function i(D,b){for(var k=0;kb?1:D0)||b.right===null||k(D,b.right.key)>0&&(it=b.right,b.right=it.left,it.left=b,(b=it).right===null))break;z.right=b,z=b,b=b.right}}return z.right=b.left,G.left=b.right,b.left=E.right,b.right=E.left,b}function g(D,b,k,E){var z=new h(D,b);if(k===null)return z.left=z.right=null,z;var G=E(D,(k=_(D,k,E)).key);return G<0?(z.left=k.left,z.right=k,k.left=null):G>=0&&(z.right=k.right,z.left=k,k.right=null),z}function v(D,b,k){var E=null,z=null;if(b){var G=k((b=_(D,b,k)).key,D);G===0?(E=b.left,z=b.right):G<0?(z=b.right,b.right=null,E=b):(E=b.left,b.left=null,z=b)}return{left:E,right:z}}function M(D,b,k){return b===null?D:(D===null||((b=_(D.key,b,k)).left=D),b)}function A(D,b,k,E,z){if(D){E(b+(k?"└── ":"├── ")+z(D)+` +`);var G=b+(k?" ":"│ ");D.left&&A(D.left,G,!1,E,z),D.right&&A(D.right,G,!0,E,z)}}var P=function(){function D(b){b===void 0&&(b=p),this._root=null,this._size=0,this._comparator=b}return D.prototype.insert=function(b,k){return this._size++,this._root=g(b,k,this._root,this._comparator)},D.prototype.add=function(b,k){var E=new h(b,k);this._root===null&&(E.left=E.right=null,this._size++,this._root=E);var z=this._comparator,G=_(b,this._root,z),J=z(b,G.key);return J===0?this._root=G:(J<0?(E.left=G.left,E.right=G,G.left=null):J>0&&(E.right=G.right,E.left=G,G.right=null),this._size++,this._root=E),this._root},D.prototype.remove=function(b){this._root=this._remove(b,this._root,this._comparator)},D.prototype._remove=function(b,k,E){var z;return k===null?null:E(b,(k=_(b,k,E)).key)===0?(k.left===null?z=k.right:(z=_(b,k.left,E)).right=k.right,this._size--,z):k},D.prototype.pop=function(){var b=this._root;if(b){for(;b.left;)b=b.left;return this._root=_(b.key,this._root,this._comparator),this._root=this._remove(b.key,this._root,this._comparator),{key:b.key,data:b.data}}return null},D.prototype.findStatic=function(b){for(var k=this._root,E=this._comparator;k;){var z=E(b,k.key);if(z===0)return k;k=z<0?k.left:k.right}return null},D.prototype.find=function(b){return this._root&&(this._root=_(b,this._root,this._comparator),this._comparator(b,this._root.key)!==0)?null:this._root},D.prototype.contains=function(b){for(var k=this._root,E=this._comparator;k;){var z=E(b,k.key);if(z===0)return!0;k=z<0?k.left:k.right}return!1},D.prototype.forEach=function(b,k){for(var E=this._root,z=[],G=!1;!G;)E!==null?(z.push(E),E=E.left):z.length!==0?(E=z.pop(),b.call(k,E),E=E.right):G=!0;return this},D.prototype.range=function(b,k,E,z){for(var G=[],J=this._comparator,it=this._root;G.length!==0||it;)if(it)G.push(it),it=it.left;else{if(J((it=G.pop()).key,k)>0)break;if(J(it.key,b)>=0&&E.call(z,it))return this;it=it.right}return this},D.prototype.keys=function(){var b=[];return this.forEach(function(k){var E=k.key;return b.push(E)}),b},D.prototype.values=function(){var b=[];return this.forEach(function(k){var E=k.data;return b.push(E)}),b},D.prototype.min=function(){return this._root?this.minNode(this._root).key:null},D.prototype.max=function(){return this._root?this.maxNode(this._root).key:null},D.prototype.minNode=function(b){if(b===void 0&&(b=this._root),b)for(;b.left;)b=b.left;return b},D.prototype.maxNode=function(b){if(b===void 0&&(b=this._root),b)for(;b.right;)b=b.right;return b},D.prototype.at=function(b){for(var k=this._root,E=!1,z=0,G=[];!E;)if(k)G.push(k),k=k.left;else if(G.length>0){if(k=G.pop(),z===b)return k;z++,k=k.right}else E=!0;return null},D.prototype.next=function(b){var k=this._root,E=null;if(b.right){for(E=b.right;E.left;)E=E.left;return E}for(var z=this._comparator;k;){var G=z(b.key,k.key);if(G===0)break;G<0?(E=k,k=k.left):k=k.right}return E},D.prototype.prev=function(b){var k=this._root,E=null;if(b.left!==null){for(E=b.left;E.right;)E=E.right;return E}for(var z=this._comparator;k;){var G=z(b.key,k.key);if(G===0)break;G<0?k=k.left:(E=k,k=k.right)}return E},D.prototype.clear=function(){return this._root=null,this._size=0,this},D.prototype.toList=function(){return B(this._root)},D.prototype.load=function(b,k,E){k===void 0&&(k=[]),E===void 0&&(E=!1);var z=b.length,G=this._comparator;if(E&&C(b,k,0,z-1,G),this._root===null)this._root=S(b,k,0,z),this._size=z;else{var J=O(this.toList(),N(b,k),G);z=this._size+z,this._root=F({head:J},0,z)}return this},D.prototype.isEmpty=function(){return this._root===null},Object.defineProperty(D.prototype,"size",{get:function(){return this._size},enumerable:!0,configurable:!0}),Object.defineProperty(D.prototype,"root",{get:function(){return this._root},enumerable:!0,configurable:!0}),D.prototype.toString=function(b){b===void 0&&(b=function(E){return String(E.key)});var k=[];return A(this._root,"",!0,function(E){return k.push(E)},b),k.join("")},D.prototype.update=function(b,k,E){var z=this._comparator,G=v(b,this._root,z),J=G.left,it=G.right;z(b,k)<0?it=g(k,E,it,z):J=g(k,E,J,z),this._root=M(J,it,z)},D.prototype.split=function(b){return v(b,this._root,this._comparator)},D}();function S(D,b,k,E){var z=E-k;if(z>0){var G=k+Math.floor(z/2),J=D[G],it=b[G],_t=new h(J,it);return _t.left=S(D,b,k,G),_t.right=S(D,b,G+1,E),_t}return null}function N(D,b){for(var k=new h(null,null),E=k,z=0;z0?b=(b=G=G.next=k.pop()).right:E=!0;return G.next=null,z.next}function F(D,b,k){var E=k-b;if(E>0){var z=b+Math.floor(E/2),G=F(D,b,z),J=D.head;return J.left=G,D.head=D.head.next,J.right=F(D,z+1,k),J}return null}function O(D,b,k){for(var E=new h(null,null),z=E,G=D,J=b;G!==null&&J!==null;)k(G.key,J.key)<0?(z.next=G,G=G.next):(z.next=J,J=J.next),z=z.next;return G!==null?z.next=G:J!==null&&(z.next=J),E.next}function C(D,b,k,E,z){if(!(k>=E)){for(var G=D[k+E>>1],J=k-1,it=E+1;;){do J++;while(z(D[J],G)<0);do it--;while(z(D[it],G)>0);if(J>=it)break;var _t=D[J];D[J]=D[it],D[it]=_t,_t=b[J],b[J]=b[it],b[it]=_t}C(D,b,k,it,z),C(D,b,it+1,E,z)}}var I=function(D,b){return D.ll.x<=b.x&&b.x<=D.ur.x&&D.ll.y<=b.y&&b.y<=D.ur.y},$=function(D,b){if(b.ur.xk.x?1:b.yk.y?1:0}}]),l(D,[{key:"link",value:function(b){if(b.point===this.point)throw new Error("Tried to link already linked events");for(var k=b.point.events,E=0,z=k.length;E=0&&$t>=0?OtFt?-1:0:_t<0&&$t<0?OtFt?1:0:$t<_t?-1:$t>_t?1:0}}}]),D}(),Me=0,ce=function(){function D(b,k,E,z){c(this,D),this.id=++Me,this.leftSE=b,b.segment=this,b.otherSE=k,this.rightSE=k,k.segment=this,k.otherSE=b,this.rings=E,this.windings=z}return l(D,null,[{key:"compare",value:function(b,k){var E=b.leftSE.point.x,z=k.leftSE.point.x,G=b.rightSE.point.x,J=k.rightSE.point.x;if(Jit&&_t>Ot)return-1;var $t=b.comparePoint(k.leftSE.point);if($t<0)return 1;if($t>0)return-1;var Ft=k.comparePoint(b.rightSE.point);return Ft!==0?Ft:-1}if(E>z){if(it<_t&&it_t&&it>Nt)return 1;var me=k.comparePoint(b.leftSE.point);if(me!==0)return me;var le=b.comparePoint(k.rightSE.point);return le<0?1:le>0?-1:1}if(it<_t)return-1;if(it>_t)return 1;if(GJ){var Re=b.comparePoint(k.rightSE.point);if(Re<0)return 1;if(Re>0)return-1}if(G!==J){var fe=Ot-it,be=G-E,De=Nt-_t,je=J-z;if(fe>be&&Deje)return-1}return G>J?1:GNt?1:b.idk.id?1:0}}]),l(D,[{key:"replaceRightSE",value:function(b){this.rightSE=b,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}},{key:"bbox",value:function(){var b=this.leftSE.point.y,k=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:bk?b:k}}}},{key:"vector",value:function(){return{x:this.rightSE.point.x-this.leftSE.point.x,y:this.rightSE.point.y-this.leftSE.point.y}}},{key:"isAnEndpoint",value:function(b){return b.x===this.leftSE.point.x&&b.y===this.leftSE.point.y||b.x===this.rightSE.point.x&&b.y===this.rightSE.point.y}},{key:"comparePoint",value:function(b){if(this.isAnEndpoint(b))return 0;var k=this.leftSE.point,E=this.rightSE.point,z=this.vector();if(k.x===E.x)return b.x===k.x?0:b.x0&&it.swapEvents(),Ht.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),E&&(z.checkForConsuming(),G.checkForConsuming()),k}},{key:"swapEvents",value:function(){var b=this.rightSE;this.rightSE=this.leftSE,this.leftSE=b,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(var k=0,E=this.windings.length;k0){var G=k;k=E,E=G}if(k.prev===E){var J=k;k=E,E=J}for(var it=0,_t=E.rings.length;it<_t;it++){var Ot=E.rings[it],Nt=E.windings[it],$t=k.rings.indexOf(Ot);$t===-1?(k.rings.push(Ot),k.windings.push(Nt)):k.windings[$t]+=Nt}E.rings=null,E.windings=null,E.consumedBy=k,E.leftSE.consumedBy=k.leftSE,E.rightSE.consumedBy=k.rightSE}}},{key:"prevInResult",value:function(){return this._prevInResult!==void 0||(this.prev?this.prev.isInResult()?this._prevInResult=this.prev:this._prevInResult=this.prev.prevInResult():this._prevInResult=null),this._prevInResult}},{key:"beforeState",value:function(){if(this._beforeState!==void 0)return this._beforeState;if(this.prev){var b=this.prev.consumedBy||this.prev;this._beforeState=b.afterState()}else this._beforeState={rings:[],windings:[],multiPolys:[]};return this._beforeState}},{key:"afterState",value:function(){if(this._afterState!==void 0)return this._afterState;var b=this.beforeState();this._afterState={rings:b.rings.slice(0),windings:b.windings.slice(0),multiPolys:[]};for(var k=this._afterState.rings,E=this._afterState.windings,z=this._afterState.multiPolys,G=0,J=this.rings.length;G0))throw new Error("Tried to create degenerate segment at [".concat(b.x,", ").concat(b.y,"]"));z=k,G=b,J=-1}return new D(new Ht(z,!0),new Ht(G,!1),[E],[J])}}]),D}(),ae=function(){function D(b,k,E){if(c(this,D),!Array.isArray(b)||b.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=k,this.isExterior=E,this.segments=[],typeof b[0][0]!="number"||typeof b[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");var z=ot.round(b[0][0],b[0][1]);this.bbox={ll:{x:z.x,y:z.y},ur:{x:z.x,y:z.y}};for(var G=z,J=1,it=b.length;Jthis.bbox.ur.x&&(this.bbox.ur.x=_t.x),_t.y>this.bbox.ur.y&&(this.bbox.ur.y=_t.y),G=_t)}z.x===G.x&&z.y===G.y||this.segments.push(ce.fromRing(G,z,this))}return l(D,[{key:"getSweepEvents",value:function(){for(var b=[],k=0,E=this.segments.length;kthis.bbox.ur.x&&(this.bbox.ur.x=G.bbox.ur.x),G.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=G.bbox.ur.y),this.interiorRings.push(G)}this.multiPoly=k}return l(D,[{key:"getSweepEvents",value:function(){for(var b=this.exteriorRing.getSweepEvents(),k=0,E=this.interiorRings.length;kthis.bbox.ur.x&&(this.bbox.ur.x=G.bbox.ur.x),G.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=G.bbox.ur.y),this.polys.push(G)}this.isSubject=k}return l(D,[{key:"getSweepEvents",value:function(){for(var b=[],k=0,E=this.polys.length;k0&&(b=z)}for(var G=b.segment.prevInResult(),J=G?G.prevInResult():null;;){if(!G)return null;if(!J)return G.ringOut;if(J.ringOut!==G.ringOut)return J.ringOut.enclosingRing()!==G.ringOut?G.ringOut:G.ringOut.enclosingRing();G=J.prevInResult(),J=G?G.prevInResult():null}}}]),D}(),Tt=function(){function D(b){c(this,D),this.exteriorRing=b,b.poly=this,this.interiorRings=[]}return l(D,[{key:"addInterior",value:function(b){this.interiorRings.push(b),b.poly=this}},{key:"getGeom",value:function(){var b=[this.exteriorRing.getGeom()];if(b[0]===null)return null;for(var k=0,E=this.interiorRings.length;k1&&arguments[1]!==void 0?arguments[1]:ce.compare;c(this,D),this.queue=b,this.tree=new P(k),this.segments=[]}return l(D,[{key:"process",value:function(b){var k=b.segment,E=[];if(b.consumedBy)return b.isLeft?this.queue.remove(b.otherSE):this.tree.remove(k),E;var z=b.isLeft?this.tree.insert(k):this.tree.find(k);if(!z)throw new Error("Unable to find segment #".concat(k.id," ")+"[".concat(k.leftSE.point.x,", ").concat(k.leftSE.point.y,"] -> ")+"[".concat(k.rightSE.point.x,", ").concat(k.rightSE.point.y,"] ")+"in SweepLine tree. Please submit a bug report.");for(var G=z,J=z,it=void 0,_t=void 0;it===void 0;)(G=this.tree.prev(G))===null?it=null:G.key.consumedBy===void 0&&(it=G.key);for(;_t===void 0;)(J=this.tree.next(J))===null?_t=null:J.key.consumedBy===void 0&&(_t=J.key);if(b.isLeft){var Ot=null;if(it){var Nt=it.getIntersection(k);if(Nt!==null&&(k.isAnEndpoint(Nt)||(Ot=Nt),!it.isAnEndpoint(Nt)))for(var $t=this._splitSafely(it,Nt),Ft=0,me=$t.length;Ft0?(this.tree.remove(k),E.push(b)):(this.segments.push(k),k.prev=it)}else{if(it&&_t){var Pe=it.getIntersection(_t);if(Pe!==null){if(!it.isAnEndpoint(Pe))for(var Qe=this._splitSafely(it,Pe),kn=0,Mn=Qe.length;knhe)throw new Error("Infinite loop when putting segment endpoints in a priority queue (queue size too big). Please file a bug report.");for(var je=new se(le),wn=le.size,Ve=le.pop();Ve;){var Pe=Ve.key;if(le.size===wn){var Qe=Pe.segment;throw new Error("Unable to pop() ".concat(Pe.isLeft?"left":"right"," SweepEvent ")+"[".concat(Pe.point.x,", ").concat(Pe.point.y,"] from segment #").concat(Qe.id," ")+"[".concat(Qe.leftSE.point.x,", ").concat(Qe.leftSE.point.y,"] -> ")+"[".concat(Qe.rightSE.point.x,", ").concat(Qe.rightSE.point.y,"] from queue. ")+"Please file a bug report.")}if(le.size>he)throw new Error("Infinite loop when passing sweep line over endpoints (queue size too big). Please file a bug report.");if(je.segments.length>V)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");for(var kn=je.process(Pe),Mn=0,fn=kn.length;Mn1?b-1:0),E=1;E1?b-1:0),E=1;E1?b-1:0),E=1;E1?b-1:0),E=1;Eot;){if(Lt-ot>600){var Mt=Lt-ot+1,yt=vt-ot+1,At=Math.log(Mt),at=.5*Math.exp(2*At/3),oe=.5*Math.sqrt(At*at*(Mt-at)/Mt)*(yt-Mt/2<0?-1:1);nt(ut,vt,Math.max(ot,Math.floor(vt-yt*at/Mt+oe)),Math.min(Lt,Math.floor(vt+(Mt-yt)*at/Mt+oe)),Dt)}var Rt=ut[vt],Xt=ot,Ht=Lt;for(i(ut,ot,vt),Dt(ut[Lt],Rt)>0&&i(ut,ot,Lt);Xt0;)Ht--}Dt(ut[ot],Rt)===0?i(ut,ot,Ht):i(ut,++Ht,Lt),Ht<=vt&&(ot=Ht+1),vt<=Ht&&(Lt=Ht-1)}})(C,I,$||0,rt||C.length-1,X||l)}function i(C,I,$){var rt=C[I];C[I]=C[$],C[$]=rt}function l(C,I){return CI?1:0}var h=function(C){C===void 0&&(C=9),this._maxEntries=Math.max(4,C),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function p(C,I,$){if(!$)return I.indexOf(C);for(var rt=0;rt=C.minX&&I.maxY>=C.minY}function F(C){return{children:C,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function O(C,I,$,rt,X){for(var nt=[I,$];nt.length;)if(!(($=nt.pop())-(I=nt.pop())<=rt)){var ut=I+Math.ceil(($-I)/rt/2)*rt;c(C,ut,I,$,X),nt.push(I,ut,ut,$)}}return h.prototype.all=function(){return this._all(this.data,[])},h.prototype.search=function(C){var I=this.data,$=[];if(!B(C,I))return $;for(var rt=this.toBBox,X=[];I;){for(var nt=0;nt=0&&X[I].children.length>this._maxEntries;)this._split(X,I),I--;this._adjustParentBBoxes(rt,X,I)},h.prototype._split=function(C,I){var $=C[I],rt=$.children.length,X=this._minEntries;this._chooseSplitAxis($,X,rt);var nt=this._chooseSplitIndex($,X,rt),ut=F($.children.splice(nt,$.children.length-nt));ut.height=$.height,ut.leaf=$.leaf,_($,this.toBBox),_(ut,this.toBBox),I?C[I-1].children.push(ut):this._splitRoot($,ut)},h.prototype._splitRoot=function(C,I){this.data=F([C,I]),this.data.height=C.height+1,this.data.leaf=!1,_(this.data,this.toBBox)},h.prototype._chooseSplitIndex=function(C,I,$){for(var rt,X,nt,ut,vt,ot,Lt,Dt=1/0,Mt=1/0,yt=I;yt<=$-I;yt++){var At=g(C,0,yt,this.toBBox),at=g(C,yt,$,this.toBBox),oe=(X=At,nt=at,ut=void 0,vt=void 0,ot=void 0,Lt=void 0,ut=Math.max(X.minX,nt.minX),vt=Math.max(X.minY,nt.minY),ot=Math.min(X.maxX,nt.maxX),Lt=Math.min(X.maxY,nt.maxY),Math.max(0,ot-ut)*Math.max(0,Lt-vt)),Rt=P(At)+P(at);oe=I;Dt--){var Mt=C.children[Dt];v(ut,C.leaf?X(Mt):Mt),vt+=S(ut)}return vt},h.prototype._adjustParentBBoxes=function(C,I,$){for(var rt=$;rt>=0;rt--)v(I[rt],C)},h.prototype._condense=function(C){for(var I=C.length-1,$=void 0;I>=0;I--)C[I].children.length===0?I>0?($=C[I-1].children).splice($.indexOf(C[I]),1):this.clear():_(C[I],this.toBBox)},h}()}},n={};function a(s){var c=n[s];if(c!==void 0)return c.exports;var i=n[s]={id:s,loaded:!1,exports:{}};return t[s].call(i.exports,i,i.exports,a),i.loaded=!0,i.exports}a.n=s=>{var c=s&&s.__esModule?()=>s.default:()=>s;return a.d(c,{a:c}),c},a.d=(s,c)=>{for(var i in c)a.o(c,i)&&!a.o(s,i)&&Object.defineProperty(s,i,{enumerable:!0,get:c[i]})},a.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),a.o=(s,c)=>Object.prototype.hasOwnProperty.call(s,c),a.nmd=s=>(s.paths=[],s.children||(s.children=[]),s),(()=>{a(7107);var s=a(2492),c=a.n(s);const i=JSON.parse('{"tooltips":{"placeMarker":"Click to place marker","firstVertex":"Click to place first vertex","continueLine":"Click to continue drawing","finishLine":"Click any existing marker to finish","finishPoly":"Click first marker to finish","finishRect":"Click to finish","startCircle":"Click to place circle center","finishCircle":"Click to finish circle","placeCircleMarker":"Click to place circle marker","placeText":"Click to place text"},"actions":{"finish":"Finish","cancel":"Cancel","removeLastVertex":"Remove Last Vertex"},"buttonTitles":{"drawMarkerButton":"Draw Marker","drawPolyButton":"Draw Polygons","drawLineButton":"Draw Polyline","drawCircleButton":"Draw Circle","drawRectButton":"Draw Rectangle","editButton":"Edit Layers","dragButton":"Drag Layers","cutButton":"Cut Layers","deleteButton":"Remove Layers","drawCircleMarkerButton":"Draw Circle Marker","snappingButton":"Snap dragged marker to other layers and vertices","pinningButton":"Pin shared vertices together","rotateButton":"Rotate Layers","drawTextButton":"Draw Text","scaleButton":"Scale Layers","autoTracingButton":"Auto trace Line"},"measurements":{"totalLength":"Length","segmentLength":"Segment length","area":"Area","radius":"Radius","perimeter":"Perimeter","height":"Height","width":"Width","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),l=JSON.parse('{"tooltips":{"placeMarker":"Platziere den Marker mit Klick","firstVertex":"Platziere den ersten Marker mit Klick","continueLine":"Klicke, um weiter zu zeichnen","finishLine":"Beende mit Klick auf existierenden Marker","finishPoly":"Beende mit Klick auf ersten Marker","finishRect":"Beende mit Klick","startCircle":"Platziere das Kreiszentrum mit Klick","finishCircle":"Beende den Kreis mit Klick","placeCircleMarker":"Platziere den Kreismarker mit Klick","placeText":"Platziere den Text mit Klick"},"actions":{"finish":"Beenden","cancel":"Abbrechen","removeLastVertex":"Letzten Vertex löschen"},"buttonTitles":{"drawMarkerButton":"Marker zeichnen","drawPolyButton":"Polygon zeichnen","drawLineButton":"Polyline zeichnen","drawCircleButton":"Kreis zeichnen","drawRectButton":"Rechteck zeichnen","editButton":"Layer editieren","dragButton":"Layer bewegen","cutButton":"Layer schneiden","deleteButton":"Layer löschen","drawCircleMarkerButton":"Kreismarker zeichnen","snappingButton":"Bewegter Layer an andere Layer oder Vertexe einhacken","pinningButton":"Vertexe an der gleichen Position verknüpfen","rotateButton":"Layer drehen","drawTextButton":"Text zeichnen","scaleButton":"Layer skalieren","autoTracingButton":"Linie automatisch nachzeichen"},"measurements":{"totalLength":"Länge","segmentLength":"Segment Länge","area":"Fläche","radius":"Radius","perimeter":"Umfang","height":"Höhe","width":"Breite","coordinates":"Position","coordinatesMarker":"Position Marker"}}'),h=JSON.parse(`{"tooltips":{"placeMarker":"Clicca per posizionare un Marker","firstVertex":"Clicca per posizionare il primo vertice","continueLine":"Clicca per continuare a disegnare","finishLine":"Clicca qualsiasi marker esistente per terminare","finishPoly":"Clicca il primo marker per terminare","finishRect":"Clicca per terminare","startCircle":"Clicca per posizionare il punto centrale del cerchio","finishCircle":"Clicca per terminare il cerchio","placeCircleMarker":"Clicca per posizionare un Marker del cherchio"},"actions":{"finish":"Termina","cancel":"Annulla","removeLastVertex":"Rimuovi l'ultimo vertice"},"buttonTitles":{"drawMarkerButton":"Disegna Marker","drawPolyButton":"Disegna Poligoni","drawLineButton":"Disegna Polilinea","drawCircleButton":"Disegna Cerchio","drawRectButton":"Disegna Rettangolo","editButton":"Modifica Livelli","dragButton":"Sposta Livelli","cutButton":"Ritaglia Livelli","deleteButton":"Elimina Livelli","drawCircleMarkerButton":"Disegna Marker del Cerchio","snappingButton":"Snap ha trascinato il pennarello su altri strati e vertici","pinningButton":"Pin condiviso vertici insieme"}}`),p=JSON.parse('{"tooltips":{"placeMarker":"Klik untuk menempatkan marker","firstVertex":"Klik untuk menempatkan vertex pertama","continueLine":"Klik untuk meneruskan digitasi","finishLine":"Klik pada sembarang marker yang ada untuk mengakhiri","finishPoly":"Klik marker pertama untuk mengakhiri","finishRect":"Klik untuk mengakhiri","startCircle":"Klik untuk menempatkan titik pusat lingkaran","finishCircle":"Klik untuk mengakhiri lingkaran","placeCircleMarker":"Klik untuk menempatkan penanda lingkarann"},"actions":{"finish":"Selesai","cancel":"Batal","removeLastVertex":"Hilangkan Vertex Terakhir"},"buttonTitles":{"drawMarkerButton":"Digitasi Marker","drawPolyButton":"Digitasi Polygon","drawLineButton":"Digitasi Polyline","drawCircleButton":"Digitasi Lingkaran","drawRectButton":"Digitasi Segi Empat","editButton":"Edit Layer","dragButton":"Geser Layer","cutButton":"Potong Layer","deleteButton":"Hilangkan Layer","drawCircleMarkerButton":"Digitasi Penanda Lingkaran","snappingButton":"Jepretkan penanda yang ditarik ke lapisan dan simpul lain","pinningButton":"Sematkan simpul bersama bersama"}}'),_=JSON.parse('{"tooltips":{"placeMarker":"Adaugă un punct","firstVertex":"Apasă aici pentru a adăuga primul Vertex","continueLine":"Apasă aici pentru a continua desenul","finishLine":"Apasă pe orice obiect pentru a finisa desenul","finishPoly":"Apasă pe primul obiect pentru a finisa","finishRect":"Apasă pentru a finisa","startCircle":"Apasă pentru a desena un cerc","finishCircle":"Apasă pentru a finisa un cerc","placeCircleMarker":"Adaugă un punct"},"actions":{"finish":"Termină","cancel":"Anulează","removeLastVertex":"Șterge ultimul Vertex"},"buttonTitles":{"drawMarkerButton":"Adaugă o bulină","drawPolyButton":"Desenează un poligon","drawLineButton":"Desenează o linie","drawCircleButton":"Desenează un cerc","drawRectButton":"Desenează un dreptunghi","editButton":"Editează straturile","dragButton":"Mută straturile","cutButton":"Taie straturile","deleteButton":"Șterge straturile","drawCircleMarkerButton":"Desenează marcatorul cercului","snappingButton":"Fixați marcatorul glisat pe alte straturi și vârfuri","pinningButton":"Fixați vârfurile partajate împreună"}}'),g=JSON.parse('{"tooltips":{"placeMarker":"Нажмите, чтобы нанести маркер","firstVertex":"Нажмите, чтобы нанести первый объект","continueLine":"Нажмите, чтобы продолжить рисование","finishLine":"Нажмите любой существующий маркер для завершения","finishPoly":"Выберите первую точку, чтобы закончить","finishRect":"Нажмите, чтобы закончить","startCircle":"Нажмите, чтобы добавить центр круга","finishCircle":"Нажмите, чтобы задать радиус","placeCircleMarker":"Нажмите, чтобы нанести круговой маркер"},"actions":{"finish":"Завершить","cancel":"Отменить","removeLastVertex":"Отменить последнее действие"},"buttonTitles":{"drawMarkerButton":"Добавить маркер","drawPolyButton":"Рисовать полигон","drawLineButton":"Рисовать кривую","drawCircleButton":"Рисовать круг","drawRectButton":"Рисовать прямоугольник","editButton":"Редактировать слой","dragButton":"Перенести слой","cutButton":"Вырезать слой","deleteButton":"Удалить слой","drawCircleMarkerButton":"Добавить круговой маркер","snappingButton":"Привязать перетаскиваемый маркер к другим слоям и вершинам","pinningButton":"Связать общие точки вместе"}}'),v=JSON.parse('{"tooltips":{"placeMarker":"Presiona para colocar un marcador","firstVertex":"Presiona para colocar el primer vértice","continueLine":"Presiona para continuar dibujando","finishLine":"Presiona cualquier marcador existente para finalizar","finishPoly":"Presiona el primer marcador para finalizar","finishRect":"Presiona para finalizar","startCircle":"Presiona para colocar el centro del círculo","finishCircle":"Presiona para finalizar el círculo","placeCircleMarker":"Presiona para colocar un marcador de círculo"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Eliminar último vértice"},"buttonTitles":{"drawMarkerButton":"Dibujar Marcador","drawPolyButton":"Dibujar Polígono","drawLineButton":"Dibujar Línea","drawCircleButton":"Dibujar Círculo","drawRectButton":"Dibujar Rectángulo","editButton":"Editar Capas","dragButton":"Arrastrar Capas","cutButton":"Cortar Capas","deleteButton":"Eliminar Capas","drawCircleMarkerButton":"Dibujar Marcador de Círculo","snappingButton":"El marcador de Snap arrastrado a otras capas y vértices","pinningButton":"Fijar juntos los vértices compartidos"}}'),M=JSON.parse('{"tooltips":{"placeMarker":"Klik om een marker te plaatsen","firstVertex":"Klik om het eerste punt te plaatsen","continueLine":"Klik om te blijven tekenen","finishLine":"Klik op een bestaand punt om te beëindigen","finishPoly":"Klik op het eerst punt om te beëindigen","finishRect":"Klik om te beëindigen","startCircle":"Klik om het middelpunt te plaatsen","finishCircle":"Klik om de cirkel te beëindigen","placeCircleMarker":"Klik om een marker te plaatsen"},"actions":{"finish":"Bewaar","cancel":"Annuleer","removeLastVertex":"Verwijder laatste punt"},"buttonTitles":{"drawMarkerButton":"Plaats Marker","drawPolyButton":"Teken een vlak","drawLineButton":"Teken een lijn","drawCircleButton":"Teken een cirkel","drawRectButton":"Teken een vierkant","editButton":"Bewerk","dragButton":"Verplaats","cutButton":"Knip","deleteButton":"Verwijder","drawCircleMarkerButton":"Plaats Marker","snappingButton":"Snap gesleepte marker naar andere lagen en hoekpunten","pinningButton":"Speld gedeelde hoekpunten samen"}}'),A=JSON.parse(`{"tooltips":{"placeMarker":"Cliquez pour placer un marqueur","firstVertex":"Cliquez pour placer le premier sommet","continueLine":"Cliquez pour continuer à dessiner","finishLine":"Cliquez sur n'importe quel marqueur pour terminer","finishPoly":"Cliquez sur le premier marqueur pour terminer","finishRect":"Cliquez pour terminer","startCircle":"Cliquez pour placer le centre du cercle","finishCircle":"Cliquez pour finir le cercle","placeCircleMarker":"Cliquez pour placer le marqueur circulaire"},"actions":{"finish":"Terminer","cancel":"Annuler","removeLastVertex":"Retirer le dernier sommet"},"buttonTitles":{"drawMarkerButton":"Placer des marqueurs","drawPolyButton":"Dessiner des polygones","drawLineButton":"Dessiner des polylignes","drawCircleButton":"Dessiner un cercle","drawRectButton":"Dessiner un rectangle","editButton":"Éditer des calques","dragButton":"Déplacer des calques","cutButton":"Couper des calques","deleteButton":"Supprimer des calques","drawCircleMarkerButton":"Dessiner un marqueur circulaire","snappingButton":"Glisser le marqueur vers d'autres couches et sommets","pinningButton":"Épingler ensemble les sommets partagés","rotateButton":"Tourner des calques"}}`),P=JSON.parse('{"tooltips":{"placeMarker":"单击放置标记","firstVertex":"单击放置首个顶点","continueLine":"单击继续绘制","finishLine":"单击任何存在的标记以完成","finishPoly":"单击第一个标记以完成","finishRect":"单击完成","startCircle":"单击放置圆心","finishCircle":"单击完成圆形","placeCircleMarker":"点击放置圆形标记"},"actions":{"finish":"完成","cancel":"取消","removeLastVertex":"移除最后的顶点"},"buttonTitles":{"drawMarkerButton":"绘制标记","drawPolyButton":"绘制多边形","drawLineButton":"绘制线段","drawCircleButton":"绘制圆形","drawRectButton":"绘制长方形","editButton":"编辑图层","dragButton":"拖拽图层","cutButton":"剪切图层","deleteButton":"删除图层","drawCircleMarkerButton":"画圆圈标记","snappingButton":"将拖动的标记捕捉到其他图层和顶点","pinningButton":"将共享顶点固定在一起"}}'),S=JSON.parse('{"tooltips":{"placeMarker":"單擊放置標記","firstVertex":"單擊放置第一個頂點","continueLine":"單擊繼續繪製","finishLine":"單擊任何存在的標記以完成","finishPoly":"單擊第一個標記以完成","finishRect":"單擊完成","startCircle":"單擊放置圓心","finishCircle":"單擊完成圓形","placeCircleMarker":"點擊放置圓形標記"},"actions":{"finish":"完成","cancel":"取消","removeLastVertex":"移除最後一個頂點"},"buttonTitles":{"drawMarkerButton":"放置標記","drawPolyButton":"繪製多邊形","drawLineButton":"繪製線段","drawCircleButton":"繪製圓形","drawRectButton":"繪製方形","editButton":"編輯圖形","dragButton":"移動圖形","cutButton":"裁切圖形","deleteButton":"刪除圖形","drawCircleMarkerButton":"畫圓圈標記","snappingButton":"將拖動的標記對齊到其他圖層和頂點","pinningButton":"將共享頂點固定在一起"}}'),N={en:i,de:l,it:h,id:p,ro:_,ru:g,es:v,nl:M,fr:A,pt_br:JSON.parse('{"tooltips":{"placeMarker":"Clique para posicionar o marcador","firstVertex":"Clique para posicionar o primeiro vértice","continueLine":"Clique para continuar desenhando","finishLine":"Clique em qualquer marcador existente para finalizar","finishPoly":"Clique no primeiro ponto para fechar o polígono","finishRect":"Clique para finalizar","startCircle":"Clique para posicionar o centro do círculo","finishCircle":"Clique para fechar o círculo","placeCircleMarker":"Clique para posicionar o marcador circular"},"actions":{"finish":"Finalizar","cancel":"Cancelar","removeLastVertex":"Remover último vértice"},"buttonTitles":{"drawMarkerButton":"Desenhar um marcador","drawPolyButton":"Desenhar um polígono","drawLineButton":"Desenhar uma polilinha","drawCircleButton":"Desenhar um círculo","drawRectButton":"Desenhar um retângulo","editButton":"Editar camada(s)","dragButton":"Mover camada(s)","cutButton":"Recortar camada(s)","deleteButton":"Remover camada(s)","drawCircleMarkerButton":"Marcador de círculos de desenho","snappingButton":"Marcador arrastado para outras camadas e vértices","pinningButton":"Vértices compartilhados de pinos juntos"}}'),zh:P,zh_tw:S,pl:JSON.parse('{"tooltips":{"placeMarker":"Kliknij, aby umieścić znacznik","firstVertex":"Kliknij, aby umieścić pierwszy wierzchołek","continueLine":"Kliknij, aby kontynuować rysowanie","finishLine":"Kliknij dowolny istniejący znacznik, aby zakończyć","finishPoly":"Kliknij pierwszy znacznik, aby zakończyć","finishRect":"Kliknij, aby zakończyć","startCircle":"Kliknij, aby umieścić środek okręgu","finishCircle":"Kliknij, aby zakończyć okrąg","placeCircleMarker":"Kliknij, aby umieścić znacznik okręgu","placeText":"Kliknij, aby umieścić tekst"},"actions":{"finish":"Zakończ","cancel":"Anuluj","removeLastVertex":"Usuń ostatni wierzchołek"},"buttonTitles":{"drawMarkerButton":"Rysuj znacznik","drawPolyButton":"Rysuj wielokąt","drawLineButton":"Rysuj linię","drawCircleButton":"Rysuj okrąg","drawRectButton":"Rysuj prostokąt","editButton":"Edytuj warstwy","dragButton":"Przeciągnij warstwy","cutButton":"Wytnij warstwy","deleteButton":"Usuń warstwy","drawCircleMarkerButton":"Rysuj znacznik okrągły","snappingButton":"Przyciągnij przenoszony znacznik do innych warstw i wierzchołków","pinningButton":"Przypnij wspólne wierzchołki razem","rotateButton":"Obróć warstwy","drawTextButton":"Rysuj tekst","scaleButton":"Skaluj warstwy","autoTracingButton":"Automatyczne śledzenie linii"},"measurements":{"totalLength":"Długość","segmentLength":"Długość odcinka","area":"Obszar","radius":"Promień","perimeter":"Obwód","height":"Wysokość","width":"Szerokość","coordinates":"Pozycja","coordinatesMarker":"Znacznik pozycji"}}'),sv:JSON.parse('{"tooltips":{"placeMarker":"Klicka för att placera markör","firstVertex":"Klicka för att placera första hörnet","continueLine":"Klicka för att fortsätta rita","finishLine":"Klicka på en existerande punkt för att slutföra","finishPoly":"Klicka på den första punkten för att slutföra","finishRect":"Klicka för att slutföra","startCircle":"Klicka för att placera cirkelns centrum","finishCircle":"Klicka för att slutföra cirkeln","placeCircleMarker":"Klicka för att placera cirkelmarkör"},"actions":{"finish":"Slutför","cancel":"Avbryt","removeLastVertex":"Ta bort sista hörnet"},"buttonTitles":{"drawMarkerButton":"Rita Markör","drawPolyButton":"Rita Polygoner","drawLineButton":"Rita Linje","drawCircleButton":"Rita Cirkel","drawRectButton":"Rita Rektangel","editButton":"Redigera Lager","dragButton":"Dra Lager","cutButton":"Klipp i Lager","deleteButton":"Ta bort Lager","drawCircleMarkerButton":"Rita Cirkelmarkör","snappingButton":"Snäpp dra markören till andra lager och hörn","pinningButton":"Fäst delade hörn tillsammans"}}'),el:JSON.parse('{"tooltips":{"placeMarker":"Κάντε κλικ για να τοποθετήσετε Δείκτη","firstVertex":"Κάντε κλικ για να τοποθετήσετε το πρώτο σημείο","continueLine":"Κάντε κλικ για να συνεχίσετε να σχεδιάζετε","finishLine":"Κάντε κλικ σε οποιονδήποτε υπάρχον σημείο για να ολοκληρωθεί","finishPoly":"Κάντε κλικ στο πρώτο σημείο για να τελειώσετε","finishRect":"Κάντε κλικ για να τελειώσετε","startCircle":"Κάντε κλικ για να τοποθετήσετε κέντρο Κύκλου","finishCircle":"Κάντε κλικ για να ολοκληρώσετε τον Κύκλο","placeCircleMarker":"Κάντε κλικ για να τοποθετήσετε Κυκλικό Δείκτη"},"actions":{"finish":"Τέλος","cancel":"Ακύρωση","removeLastVertex":"Κατάργηση τελευταίου σημείου"},"buttonTitles":{"drawMarkerButton":"Σχεδίαση Δείκτη","drawPolyButton":"Σχεδίαση Πολυγώνου","drawLineButton":"Σχεδίαση Γραμμής","drawCircleButton":"Σχεδίαση Κύκλου","drawRectButton":"Σχεδίαση Ορθογωνίου","editButton":"Επεξεργασία Επιπέδων","dragButton":"Μεταφορά Επιπέδων","cutButton":"Αποκοπή Επιπέδων","deleteButton":"Κατάργηση Επιπέδων","drawCircleMarkerButton":"Σχεδίαση Κυκλικού Δείκτη","snappingButton":"Προσκόλληση του Δείκτη μεταφοράς σε άλλα Επίπεδα και Κορυφές","pinningButton":"Περικοπή κοινών κορυφών μαζί"}}'),hu:JSON.parse('{"tooltips":{"placeMarker":"Kattintson a jelölő elhelyezéséhez","firstVertex":"Kattintson az első pont elhelyezéséhez","continueLine":"Kattintson a következő pont elhelyezéséhez","finishLine":"A befejezéshez kattintson egy meglévő pontra","finishPoly":"A befejezéshez kattintson az első pontra","finishRect":"Kattintson a befejezéshez","startCircle":"Kattintson a kör középpontjának elhelyezéséhez","finishCircle":"Kattintson a kör befejezéséhez","placeCircleMarker":"Kattintson a körjelölő elhelyezéséhez"},"actions":{"finish":"Befejezés","cancel":"Mégse","removeLastVertex":"Utolsó pont eltávolítása"},"buttonTitles":{"drawMarkerButton":"Jelölő rajzolása","drawPolyButton":"Poligon rajzolása","drawLineButton":"Vonal rajzolása","drawCircleButton":"Kör rajzolása","drawRectButton":"Négyzet rajzolása","editButton":"Elemek szerkesztése","dragButton":"Elemek mozgatása","cutButton":"Elemek vágása","deleteButton":"Elemek törlése","drawCircleMarkerButton":"Kör jelölő rajzolása","snappingButton":"Kapcsolja a jelöltőt másik elemhez vagy ponthoz","pinningButton":"Közös pontok összekötése"}}'),da:JSON.parse('{"tooltips":{"placeMarker":"Tryk for at placere en markør","firstVertex":"Tryk for at placere det første punkt","continueLine":"Tryk for at fortsætte linjen","finishLine":"Tryk på et eksisterende punkt for at afslutte","finishPoly":"Tryk på det første punkt for at afslutte","finishRect":"Tryk for at afslutte","startCircle":"Tryk for at placere cirklens center","finishCircle":"Tryk for at afslutte cirklen","placeCircleMarker":"Tryk for at placere en cirkelmarkør"},"actions":{"finish":"Afslut","cancel":"Afbryd","removeLastVertex":"Fjern sidste punkt"},"buttonTitles":{"drawMarkerButton":"Placer markør","drawPolyButton":"Tegn polygon","drawLineButton":"Tegn linje","drawCircleButton":"Tegn cirkel","drawRectButton":"Tegn firkant","editButton":"Rediger","dragButton":"Træk","cutButton":"Klip","deleteButton":"Fjern","drawCircleMarkerButton":"Tegn cirkelmarkør","snappingButton":"Fastgør trukket markør til andre elementer","pinningButton":"Sammenlæg delte elementer"}}'),no:JSON.parse('{"tooltips":{"placeMarker":"Klikk for å plassere punkt","firstVertex":"Klikk for å plassere første punkt","continueLine":"Klikk for å tegne videre","finishLine":"Klikk på et eksisterende punkt for å fullføre","finishPoly":"Klikk første punkt for å fullføre","finishRect":"Klikk for å fullføre","startCircle":"Klikk for å sette sirkel midtpunkt","finishCircle":"Klikk for å fullføre sirkel","placeCircleMarker":"Klikk for å plassere sirkel","placeText":"Klikk for å plassere tekst"},"actions":{"finish":"Fullfør","cancel":"Kanseller","removeLastVertex":"Fjern forrige punkt"},"buttonTitles":{"drawMarkerButton":"Tegn punkt","drawPolyButton":"Tegn flate","drawLineButton":"Tegn linje","drawCircleButton":"Tegn sirkel","drawRectButton":"Tegn rektangel","editButton":"Rediger objekter","dragButton":"Dra objekter","cutButton":"Kutt objekter","deleteButton":"Fjern objekter","drawCircleMarkerButton":"Tegn sirkel-punkt","snappingButton":"Fest dratt punkt til andre objekter og punkt","pinningButton":"Pin delte punkter sammen","rotateButton":"Rotér objekter","drawTextButton":"Tegn tekst","scaleButton":"Skalér objekter","autoTracingButton":"Automatisk sporing av linje"},"measurements":{"totalLength":"Lengde","segmentLength":"Segmentlengde","area":"Område","radius":"Radius","perimeter":"Omriss","height":"Høyde","width":"Bredde","coordinates":"Posisjon","coordinatesMarker":"Posisjonsmarkør"}}'),fa:JSON.parse('{"tooltips":{"placeMarker":"کلیک برای جانمایی نشان","firstVertex":"کلیک برای رسم اولین رأس","continueLine":"کلیک برای ادامه رسم","finishLine":"کلیک روی هر نشان موجود برای پایان","finishPoly":"کلیک روی اولین نشان برای پایان","finishRect":"کلیک برای پایان","startCircle":"کلیک برای رسم مرکز دایره","finishCircle":"کلیک برای پایان رسم دایره","placeCircleMarker":"کلیک برای رسم نشان دایره","placeText":"کلیک برای نوشتن متن"},"actions":{"finish":"پایان","cancel":"لفو","removeLastVertex":"حذف آخرین رأس"},"buttonTitles":{"drawMarkerButton":"درج نشان","drawPolyButton":"رسم چندضلعی","drawLineButton":"رسم خط","drawCircleButton":"رسم دایره","drawRectButton":"رسم چهارضلعی","editButton":"ویرایش لایه‌ها","dragButton":"جابجایی لایه‌ها","cutButton":"برش لایه‌ها","deleteButton":"حذف لایه‌ها","drawCircleMarkerButton":"رسم نشان دایره","snappingButton":"نشانگر را به لایه‌ها و رئوس دیگر بکشید","pinningButton":"رئوس مشترک را با هم پین کنید","rotateButton":"چرخش لایه","drawTextButton":"رسم متن","scaleButton":"مقیاس‌گذاری","autoTracingButton":"ردیاب خودکار"},"measurements":{"totalLength":"طول","segmentLength":"طول بخش","area":"ناحیه","radius":"شعاع","perimeter":"محیط","height":"ارتفاع","width":"عرض","coordinates":"موقعیت","coordinatesMarker":"موقعیت نشان"}}'),ua:JSON.parse(`{"tooltips":{"placeMarker":"Натисніть, щоб нанести маркер","firstVertex":"Натисніть, щоб нанести першу вершину","continueLine":"Натисніть, щоб продовжити малювати","finishLine":"Натисніть будь-який існуючий маркер для завершення","finishPoly":"Виберіть перший маркер, щоб завершити","finishRect":"Натисніть, щоб завершити","startCircle":"Натисніть, щоб додати центр кола","finishCircle":"Натисніть, щоб завершити коло","placeCircleMarker":"Натисніть, щоб нанести круговий маркер"},"actions":{"finish":"Завершити","cancel":"Відмінити","removeLastVertex":"Видалити попередню вершину"},"buttonTitles":{"drawMarkerButton":"Малювати маркер","drawPolyButton":"Малювати полігон","drawLineButton":"Малювати криву","drawCircleButton":"Малювати коло","drawRectButton":"Малювати прямокутник","editButton":"Редагувати шари","dragButton":"Перенести шари","cutButton":"Вирізати шари","deleteButton":"Видалити шари","drawCircleMarkerButton":"Малювати круговий маркер","snappingButton":"Прив’язати перетягнутий маркер до інших шарів та вершин","pinningButton":"Зв'язати спільні вершини разом"}}`),tr:JSON.parse('{"tooltips":{"placeMarker":"İşaretçi yerleştirmek için tıklayın","firstVertex":"İlk tepe noktasını yerleştirmek için tıklayın","continueLine":"Çizime devam etmek için tıklayın","finishLine":"Bitirmek için mevcut herhangi bir işaretçiyi tıklayın","finishPoly":"Bitirmek için ilk işaretçiyi tıklayın","finishRect":"Bitirmek için tıklayın","startCircle":"Daire merkezine yerleştirmek için tıklayın","finishCircle":"Daireyi bitirmek için tıklayın","placeCircleMarker":"Daire işaretçisi yerleştirmek için tıklayın"},"actions":{"finish":"Bitir","cancel":"İptal","removeLastVertex":"Son köşeyi kaldır"},"buttonTitles":{"drawMarkerButton":"Çizim İşaretçisi","drawPolyButton":"Çokgenler çiz","drawLineButton":"Çoklu çizgi çiz","drawCircleButton":"Çember çiz","drawRectButton":"Dikdörtgen çiz","editButton":"Katmanları düzenle","dragButton":"Katmanları sürükle","cutButton":"Katmanları kes","deleteButton":"Katmanları kaldır","drawCircleMarkerButton":"Daire işaretçisi çiz","snappingButton":"Sürüklenen işaretçiyi diğer katmanlara ve köşelere yapıştır","pinningButton":"Paylaşılan köşeleri birbirine sabitle"}}'),cz:JSON.parse('{"tooltips":{"placeMarker":"Kliknutím vytvoříte značku","firstVertex":"Kliknutím vytvoříte první objekt","continueLine":"Kliknutím pokračujte v kreslení","finishLine":"Kliknutí na libovolnou existující značku pro dokončení","finishPoly":"Vyberte první bod pro dokončení","finishRect":"Klikněte pro dokončení","startCircle":"Kliknutím přidejte střed kruhu","finishCircle":"Нажмите, чтобы задать радиус","placeCircleMarker":"Kliknutím nastavte poloměr"},"actions":{"finish":"Dokončit","cancel":"Zrušit","removeLastVertex":"Zrušit poslední akci"},"buttonTitles":{"drawMarkerButton":"Přidat značku","drawPolyButton":"Nakreslit polygon","drawLineButton":"Nakreslit křivku","drawCircleButton":"Nakreslit kruh","drawRectButton":"Nakreslit obdélník","editButton":"Upravit vrstvu","dragButton":"Přeneste vrstvu","cutButton":"Vyjmout vrstvu","deleteButton":"Smazat vrstvu","drawCircleMarkerButton":"Přidat kruhovou značku","snappingButton":"Navázat tažnou značku k dalším vrstvám a vrcholům","pinningButton":"Spojit společné body dohromady"}}'),ja:JSON.parse('{"tooltips":{"placeMarker":"クリックしてマーカーを配置","firstVertex":"クリックして最初の頂点を配置","continueLine":"クリックして描画を続ける","finishLine":"任意のマーカーをクリックして終了","finishPoly":"最初のマーカーをクリックして終了","finishRect":"クリックして終了","startCircle":"クリックして円の中心を配置","finishCircle":"クリックして円の描画を終了","placeCircleMarker":"クリックして円マーカーを配置","placeText":"クリックしてテキストを配置"},"actions":{"finish":"終了","cancel":"キャンセル","removeLastVertex":"最後の頂点を削除"},"buttonTitles":{"drawMarkerButton":"マーカーを描画","drawPolyButton":"ポリゴンを描画","drawLineButton":"折れ線を描画","drawCircleButton":"円を描画","drawRectButton":"矩形を描画","editButton":"レイヤーを編集","dragButton":"レイヤーをドラッグ","cutButton":"レイヤーを切り取り","deleteButton":"レイヤーを削除","drawCircleMarkerButton":"円マーカーを描画","snappingButton":"ドラッグしたマーカーを他のレイヤーや頂点にスナップする","pinningButton":"共有する頂点を同時に動かす","rotateButton":"レイヤーを回転","drawTextButton":"テキストを描画"}}'),fi:JSON.parse('{"tooltips":{"placeMarker":"Klikkaa asettaaksesi merkin","firstVertex":"Klikkaa asettaakseni ensimmäisen osuuden","continueLine":"Klikkaa jatkaaksesi piirtämistä","finishLine":"Klikkaa olemassa olevaa merkkiä lopettaaksesi","finishPoly":"Klikkaa ensimmäistä merkkiä lopettaaksesi","finishRect":"Klikkaa lopettaaksesi","startCircle":"Klikkaa asettaaksesi ympyrän keskipisteen","finishCircle":"Klikkaa lopettaaksesi ympyrän","placeCircleMarker":"Klikkaa asettaaksesi ympyrämerkin","placeText":"Klikkaa asettaaksesi tekstin"},"actions":{"finish":"Valmis","cancel":"Peruuta","removeLastVertex":"Poista viimeinen osuus"},"buttonTitles":{"drawMarkerButton":"Piirrä merkkejä","drawPolyButton":"Piirrä monikulmioita","drawLineButton":"Piirrä viivoja","drawCircleButton":"Piirrä ympyrä","drawRectButton":"Piirrä neliskulmioita","editButton":"Muokkaa","dragButton":"Siirrä","cutButton":"Leikkaa","deleteButton":"Poista","drawCircleMarkerButton":"Piirrä ympyrämerkki","snappingButton":"Kiinnitä siirrettävä merkki toisiin muotoihin","pinningButton":"Kiinnitä jaetut muodot yhteen","rotateButton":"Käännä","drawTextButton":"Piirrä tekstiä"}}'),ko:JSON.parse('{"tooltips":{"placeMarker":"마커 위치를 클릭하세요","firstVertex":"첫번째 꼭지점 위치을 클릭하세요","continueLine":"계속 그리려면 클릭하세요","finishLine":"끝내려면 기존 마커를 클릭하세요","finishPoly":"끝내려면 처음 마커를 클릭하세요","finishRect":"끝내려면 클릭하세요","startCircle":"원의 중심이 될 위치를 클릭하세요","finishCircle":"원을 끝내려면 클릭하세요","placeCircleMarker":"원 마커 위치를 클릭하세요","placeText":"텍스트 위치를 클릭하세요"},"actions":{"finish":"끝내기","cancel":"취소","removeLastVertex":"마지막 꼭지점 제거"},"buttonTitles":{"drawMarkerButton":"마커 그리기","drawPolyButton":"다각형 그리기","drawLineButton":"다각선 그리기","drawCircleButton":"원 그리기","drawRectButton":"직사각형 그리기","editButton":"레이어 편집하기","dragButton":"레이어 끌기","cutButton":"레이어 자르기","deleteButton":"레이어 제거하기","drawCircleMarkerButton":"원 마커 그리기","snappingButton":"잡아끈 마커를 다른 레이어 및 꼭지점에 들러붙게 하기","pinningButton":"공유 꼭지점을 함께 찍기","rotateButton":"레이어 회전하기","drawTextButton":"텍스트 그리기"}}')};function B(r,u){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);u&&(y=y.filter(function(w){return Object.getOwnPropertyDescriptor(r,w).enumerable})),f.push.apply(f,y)}return f}function F(r){for(var u=1;u0&&arguments[0]!==void 0?arguments[0]:this.globalOptions;this.globalEditModeEnabled()?this.disableGlobalEditMode():this.enableGlobalEditMode(r)},handleLayerAdditionInGlobalEditMode:function(){var r=this._addedLayersEdit;if(this._addedLayersEdit={},this.globalEditModeEnabled())for(var u in r){var f=r[u];this._isRelevantForEdit(f)&&f.pm.enable(F({},this.globalOptions))}},_layerAddedEdit:function(r){var u=r.layer;this._addedLayersEdit[L.stamp(u)]=u},_isRelevantForEdit:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowEditing}},I={_globalDragModeEnabled:!1,enableGlobalDragMode:function(){var r=this,u=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!0,this._addedLayersDrag={},u.forEach(function(f){r._isRelevantForDrag(f)&&f.pm.enableLayerDrag()}),this.throttledReInitDrag||(this.throttledReInitDrag=L.Util.throttle(this.reinitGlobalDragMode,100,this)),this.map.on("layeradd",this._layerAddedDrag,this),this.map.on("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!0)},disableGlobalDragMode:function(){var r=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!1,r.forEach(function(u){u.pm.disableLayerDrag()}),this.map.off("layeradd",this._layerAddedDrag,this),this.map.off("layeradd",this.throttledReInitDrag,this),this.Toolbar.toggleButton("dragMode",this.globalDragModeEnabled()),this._fireGlobalDragModeToggled(!1)},globalDragModeEnabled:function(){return!!this._globalDragModeEnabled},toggleGlobalDragMode:function(){this.globalDragModeEnabled()?this.disableGlobalDragMode():this.enableGlobalDragMode()},reinitGlobalDragMode:function(){var r=this._addedLayersDrag;if(this._addedLayersDrag={},this.globalDragModeEnabled())for(var u in r){var f=r[u];this._isRelevantForDrag(f)&&f.pm.enableLayerDrag()}},_layerAddedDrag:function(r){var u=r.layer;this._addedLayersDrag[L.stamp(u)]=u},_isRelevantForDrag:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.draggable}},$={_globalRemovalModeEnabled:!1,enableGlobalRemovalMode:function(){var r=this;this._globalRemovalModeEnabled=!0,this.map.eachLayer(function(u){r._isRelevantForRemoval(u)&&(u.pm.enabled()&&u.pm.disable(),u.on("click",r.removeLayer,r))}),this.throttledReInitRemoval||(this.throttledReInitRemoval=L.Util.throttle(this.handleLayerAdditionInGlobalRemovalMode,100,this)),this._addedLayersRemoval={},this.map.on("layeradd",this._layerAddedRemoval,this),this.map.on("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!0)},disableGlobalRemovalMode:function(){var r=this;this._globalRemovalModeEnabled=!1,this.map.eachLayer(function(u){u.off("click",r.removeLayer,r)}),this.map.off("layeradd",this._layerAddedRemoval,this),this.map.off("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!1)},globalRemovalEnabled:function(){return this.globalRemovalModeEnabled()},globalRemovalModeEnabled:function(){return!!this._globalRemovalModeEnabled},toggleGlobalRemovalMode:function(){this.globalRemovalModeEnabled()?this.disableGlobalRemovalMode():this.enableGlobalRemovalMode()},removeLayer:function(r){var u=r.target;this._isRelevantForRemoval(u)&&!u.pm.dragging()&&(u.removeFrom(this.map.pm._getContainingLayer()),u.remove(),u instanceof L.LayerGroup?(this._fireRemoveLayerGroup(u),this._fireRemoveLayerGroup(this.map,u)):(u.pm._fireRemove(u),u.pm._fireRemove(this.map,u)))},_isRelevantForRemoval:function(r){return r.pm&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowRemoval},handleLayerAdditionInGlobalRemovalMode:function(){var r=this._addedLayersRemoval;if(this._addedLayersRemoval={},this.globalRemovalModeEnabled())for(var u in r){var f=r[u];this._isRelevantForRemoval(f)&&(f.pm.enabled()&&f.pm.disable(),f.on("click",this.removeLayer,this))}},_layerAddedRemoval:function(r){var u=r.layer;this._addedLayersRemoval[L.stamp(u)]=u}},rt={_globalRotateModeEnabled:!1,enableGlobalRotateMode:function(){var r=this;this._globalRotateModeEnabled=!0,L.PM.Utils.findLayers(this.map).filter(function(u){return u instanceof L.Polyline}).forEach(function(u){r._isRelevantForRotate(u)&&u.pm.enableRotate()}),this.throttledReInitRotate||(this.throttledReInitRotate=L.Util.throttle(this.handleLayerAdditionInGlobalRotateMode,100,this)),this._addedLayersRotate={},this.map.on("layeradd",this._layerAddedRotate,this),this.map.on("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},disableGlobalRotateMode:function(){this._globalRotateModeEnabled=!1,L.PM.Utils.findLayers(this.map).filter(function(r){return r instanceof L.Polyline}).forEach(function(r){r.pm.disableRotate()}),this.map.off("layeradd",this._layerAddedRotate,this),this.map.off("layeradd",this.throttledReInitRotate,this),this.Toolbar.toggleButton("rotateMode",this.globalRotateModeEnabled()),this._fireGlobalRotateModeToggled()},globalRotateModeEnabled:function(){return!!this._globalRotateModeEnabled},toggleGlobalRotateMode:function(){this.globalRotateModeEnabled()?this.disableGlobalRotateMode():this.enableGlobalRotateMode()},_isRelevantForRotate:function(r){return r.pm&&r instanceof L.Polyline&&!(r instanceof L.LayerGroup)&&(!L.PM.optIn&&!r.options.pmIgnore||L.PM.optIn&&r.options.pmIgnore===!1)&&!r._pmTempLayer&&r.pm.options.allowRotation},handleLayerAdditionInGlobalRotateMode:function(){var r=this._addedLayersRotate;if(this._addedLayersRotate={},this.globalRotateModeEnabled())for(var u in r){var f=r[u];this._isRelevantForRemoval(f)&&f.pm.enableRotate()}},_layerAddedRotate:function(r){var u=r.layer;this._addedLayersRotate[L.stamp(u)]=u}};function X(r,u){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);u&&(y=y.filter(function(w){return Object.getOwnPropertyDescriptor(r,w).enumerable})),f.push.apply(f,y)}return f}function nt(r){for(var u=1;u0&&arguments[0]!==void 0?arguments[0]:"Draw",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:drawstart",{shape:this._shape,workingLayer:this._layer},r,u)},_fireDrawEnd:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Draw",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:drawend",{shape:this._shape},r,u)},_fireCreate:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Draw",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._map,"pm:create",{shape:this._shape,marker:r,layer:r},u,f)},_fireCenterPlaced:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Draw",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},f=r==="Draw"?this._layer:void 0,y=r!=="Draw"?this._layer:void 0;this.__fire(this._layer,"pm:centerplaced",{shape:this._shape,workingLayer:f,layer:y,latlng:this._layer.getLatLng()},r,u)},_fireCut:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Draw",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(r,"pm:cut",{shape:this._shape,layer:u,originalLayer:f},y,w)},_fireEdit:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this._layer,u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:edit",{layer:this._layer,shape:this.getShape()},u,f)},_fireEnable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:enable",{layer:this._layer,shape:this.getShape()},r,u)},_fireDisable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:disable",{layer:this._layer,shape:this.getShape()},r,u)},_fireUpdate:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:update",{layer:this._layer,shape:this.getShape()},r,u)},_fireMarkerDragStart:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:markerdragstart",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:u},f,y)},_fireMarkerDrag:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:markerdrag",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:u},f,y)},_fireMarkerDragEnd:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:void 0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:void 0,y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Edit",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._layer,"pm:markerdragend",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:u,intersectionReset:f},y,w)},_fireDragStart:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragstart",{layer:this._layer,shape:this.getShape()},r,u)},_fireDrag:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:drag",nt(nt({},r),{},{shape:this.getShape()}),u,f)},_fireDragEnd:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragend",{layer:this._layer,shape:this.getShape()},r,u)},_fireDragEnable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragenable",{layer:this._layer,shape:this.getShape()},r,u)},_fireDragDisable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:dragdisable",{layer:this._layer,shape:this.getShape()},r,u)},_fireRemove:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:remove",{layer:u,shape:this.getShape()},f,y)},_fireVertexAdded:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Edit",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._layer,"pm:vertexadded",{layer:this._layer,workingLayer:this._layer,marker:r,indexPath:u,latlng:f,shape:this.getShape()},y,w)},_fireVertexRemoved:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:vertexremoved",{layer:this._layer,marker:r,indexPath:u,shape:this.getShape()},f,y)},_fireVertexClick:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:vertexclick",{layer:this._layer,markerEvent:r,indexPath:u,shape:this.getShape()},f,y)},_fireIntersect:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._layer,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(u,"pm:intersect",{layer:this._layer,intersection:r,shape:this.getShape()},f,y)},_fireLayerReset:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._layer,"pm:layerreset",{layer:this._layer,markerEvent:r,indexPath:u,shape:this.getShape()},f,y)},_fireChange:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:change",{layer:this._layer,latlngs:r,shape:this.getShape()},u,f)},_fireTextChange:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Edit",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this._layer,"pm:textchange",{layer:this._layer,text:r,shape:this.getShape()},u,f)},_fireTextFocus:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:textfocus",{layer:this._layer,shape:this.getShape()},r,u)},_fireTextBlur:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Edit",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._layer,"pm:textblur",{layer:this._layer,shape:this.getShape()},r,u)},_fireSnapDrag:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:snapdrag",u,f,y)},_fireSnap:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:snap",u,f,y)},_fireUnsnap:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Snapping",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:unsnap",u,f,y)},_fireRotationEnable:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Rotation",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:rotateenable",{layer:this._layer,helpLayer:this._rotatePoly,shape:this.getShape()},f,y)},_fireRotationDisable:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Rotation",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(r,"pm:rotatedisable",{layer:this._layer,shape:this.getShape()},u,f)},_fireRotationStart:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Rotation",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:rotatestart",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:this._startAngle,originLatLngs:u},f,y)},_fireRotation:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:this._rotationLayer,w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"Rotation",R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.__fire(r,"pm:rotate",{layer:y,helpLayer:this._layer,startAngle:this._startAngle,angle:y.pm.getAngle(),angleDiff:u,oldLatLngs:f,newLatLngs:y.getLatLngs()},w,R)},_fireRotationEnd:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Rotation",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(r,"pm:rotateend",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:u,angle:this._rotationLayer.pm.getAngle(),originLatLngs:f,newLatLngs:this._rotationLayer.getLatLngs()},y,w)},_fireActionClick:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Toolbar",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this._map,"pm:actionclick",{text:r.text,action:r,btnName:u,button:f},y,w)},_fireButtonClick:function(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Toolbar",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(this._map,"pm:buttonclick",{btnName:r,button:u},f,y)},_fireLangChange:function(r,u,f,y){var w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:"Global",R=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.__fire(this.map,"pm:langchange",{oldLang:r,activeLang:u,fallback:f,translations:y},w,R)},_fireGlobalDragModeToggled:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaldragmodetoggled",{enabled:r,map:this.map},u,f)},_fireGlobalEditModeToggled:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globaleditmodetoggled",{enabled:r,map:this.map},u,f)},_fireGlobalRemovalModeToggled:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"Global",f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};this.__fire(this.map,"pm:globalremovalmodetoggled",{enabled:r,map:this.map},u,f)},_fireGlobalCutModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:globalcutmodetoggled",{enabled:!!this._enabled,map:this._map},r,u)},_fireGlobalDrawModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this._map,"pm:globaldrawmodetoggled",{enabled:this._enabled,shape:this._shape,map:this._map},r,u)},_fireGlobalRotateModeToggled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Global",u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.__fire(this.map,"pm:globalrotatemodetoggled",{enabled:this.globalRotateModeEnabled(),map:this.map},r,u)},_fireRemoveLayerGroup:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"Edit",y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};this.__fire(r,"pm:remove",{layer:u,shape:void 0},f,y)},_fireKeyeventEvent:function(r,u,f){var y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:"Global",w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};this.__fire(this.map,"pm:keyevent",{event:r,eventType:u,focusOn:f},y,w)},__fire:function(r,u,f,y){var w=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{};f=c()(f,w,{source:y}),L.PM.Utils._fireEvent(r,u,f)}};const ot=vt,Lt={_lastEvents:{keydown:void 0,keyup:void 0,current:void 0},_initKeyListener:function(r){this.map=r,L.DomEvent.on(document,"keydown keyup",this._onKeyListener,this),L.DomEvent.on(window,"blur",this._onBlur,this)},_onKeyListener:function(r){var u="document";this.map.getContainer().contains(r.target)&&(u="map");var f={event:r,eventType:r.type,focusOn:u};this._lastEvents[r.type]=f,this._lastEvents.current=f,this.map.pm._fireKeyeventEvent(r,r.type,u)},_onBlur:function(r){r.altKey=!1;var u={event:r,eventType:r.type,focusOn:"document"};this._lastEvents[r.type]=u,this._lastEvents.current=u},getLastKeyEvent:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"current";return this._lastEvents[r]},isShiftKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.shiftKey},isAltKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.altKey},isCtrlKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.ctrlKey},isMetaKeyPressed:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.metaKey},getPressedKey:function(){var r;return(r=this._lastEvents.current)===null||r===void 0?void 0:r.event.key}};var Dt=a(7361),Mt=a.n(Dt),yt=a(8721),At=a.n(yt);function at(r){var u=L.PM.activeLang;return At()(N,u)||(u="en"),Mt()(N[u],r)}function oe(r){for(var u=0;u1e-12;)y=Math.cos(2*Je+cn),zr=cn,cn=ht/(U*Po)+tn*(w=Math.sin(cn))*(y+tn/4*((R=Math.cos(cn))*(2*y*y-1)-tn/6*y*(4*w*w-3)*(4*y*y-3)));var So=Te*w-xe*R*ee,Nr=Math.atan2(Te*R+xe*w*ee,(1-W)*Math.sqrt(Ye*Ye+So*So)),Fr=W/16*Qi*(4+W*(4-3*Qi)),Eo=Q+180*(Math.atan2(w*Ut,xe*R-Te*w*ee)-(1-Fr)*W*Ye*(cn+Fr*w*(y+Fr*R*(2*y*y-1))))/kt,Zs=180*Nr/kt;return L.latLng(Eo,Zs)}function Ht(r,u,f,y){for(var w,R,j=!(arguments.length>4&&arguments[4]!==void 0)||arguments[4],q=[],U=0;U180?xe-360:xe<-180?xe+360:xe,L.latLng([Le*U,xe])}(u,Me(r,u,f),y)}function ae(r,u){var f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"asc";if(!u||Object.keys(u).length===0)return function(U,W){return U-W};for(var y,w=Object.keys(u),R=w.length-1,j={};R>=0;)y=w[R],j[y.toLowerCase()]=u[y],R-=1;function q(U){return U instanceof L.Marker?"Marker":U instanceof L.Circle?"Circle":U instanceof L.CircleMarker?"CircleMarker":U instanceof L.Rectangle?"Rectangle":U instanceof L.Polygon?"Polygon":U instanceof L.Polyline?"Line":void 0}return function(U,W){var Q,dt;if(r==="instanceofShape"){if(Q=q(U.layer).toLowerCase(),dt=q(W.layer).toLowerCase(),!Q||!dt)return 0}else{if(!U.hasOwnProperty(r)||!W.hasOwnProperty(r))return 0;Q=U[r].toLowerCase(),dt=W[r].toLowerCase()}var ht=Q in j?j[Q]:Number.MAX_SAFE_INTEGER,kt=dt in j?j[dt]:Number.MAX_SAFE_INTEGER,Pt=0;return htkt&&(Pt=1),f==="desc"?-1*Pt:Pt}}function zt(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:r.getLatLngs();return r instanceof L.Polygon?L.polygon(u).getLatLngs():L.polyline(u).getLatLngs()}function ft(r,u){var f,y;if((f=u.options.crs)!==null&&f!==void 0&&(y=f.projection)!==null&&y!==void 0&&y.MAX_LATITUDE){var w,R,j=(w=u.options.crs)===null||w===void 0||(R=w.projection)===null||R===void 0?void 0:R.MAX_LATITUDE;r.lat=Math.max(Math.min(j,r.lat),-j)}return r}function St(r){return r.options.renderer||r._map&&(r._map._getPaneRenderer(r.options.pane)||r._map.options.renderer||r._map._renderer)||r._renderer}const Tt=L.Class.extend({includes:[C,I,$,rt,ot],initialize:function(r){this.map=r,this.Draw=new L.PM.Draw(r),this.Toolbar=new L.PM.Toolbar(r),this.Keyboard=Lt,this.globalOptions={snappable:!0,layerGroup:void 0,snappingOrder:["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],panes:{vertexPane:"markerPane",layerPane:"overlayPane",markerPane:"markerPane"},draggable:!0},this.Keyboard._initKeyListener(r)},setLang:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"en",u=arguments.length>1?arguments[1]:void 0,f=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"en",y=L.PM.activeLang;u&&(N[r]=c()(N[f],u)),L.PM.activeLang=r,this.map.pm.Toolbar.reinit(),this._fireLangChange(y,r,f,N[r])},addControls:function(r){this.Toolbar.addControls(r)},removeControls:function(){this.Toolbar.removeControls()},toggleControls:function(){this.Toolbar.toggleControls()},controlsVisible:function(){return this.Toolbar.isVisible},enableDraw:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Polygon",u=arguments.length>1?arguments[1]:void 0;r==="Poly"&&(r="Polygon"),this.Draw.enable(r,u)},disableDraw:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"Polygon";r==="Poly"&&(r="Polygon"),this.Draw.disable(r)},setPathOptions:function(r){var u=this,f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},y=f.ignoreShapes||[],w=f.merge||!1;this.map.pm.Draw.shapes.forEach(function(R){y.indexOf(R)===-1&&u.map.pm.Draw[R].setPathOptions(r,w)})},getGlobalOptions:function(){return this.globalOptions},setGlobalOptions:function(r){var u=this,f=c()(this.globalOptions,r);f.editable&&(f.resizeableCircleMarker=f.editable,delete f.editable);var y=!1;this.map.pm.Draw.CircleMarker.enabled()&&!!this.map.pm.Draw.CircleMarker.options.resizeableCircleMarker!=!!f.resizeableCircleMarker&&(this.map.pm.Draw.CircleMarker.disable(),y=!0);var w=!1;this.map.pm.Draw.Circle.enabled()&&!!this.map.pm.Draw.Circle.options.resizableCircle!=!!f.resizableCircle&&(this.map.pm.Draw.Circle.disable(),w=!0),this.map.pm.Draw.shapes.forEach(function(R){u.map.pm.Draw[R].setOptions(f)}),y&&this.map.pm.Draw.CircleMarker.enable(),w&&this.map.pm.Draw.Circle.enable(),L.PM.Utils.findLayers(this.map).forEach(function(R){R.pm.setOptions(f)}),this.map.fire("pm:globaloptionschanged"),this.globalOptions=f,this.applyGlobalOptions()},applyGlobalOptions:function(){L.PM.Utils.findLayers(this.map).forEach(function(r){r.pm.enabled()&&r.pm.applyOptions()})},globalDrawModeEnabled:function(){return!!this.Draw.getActiveShape()},globalCutModeEnabled:function(){return!!this.Draw.Cut.enabled()},enableGlobalCutMode:function(r){return this.Draw.Cut.enable(r)},toggleGlobalCutMode:function(r){return this.Draw.Cut.toggle(r)},disableGlobalCutMode:function(){return this.Draw.Cut.disable()},getGeomanLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=L.PM.Utils.findLayers(this.map);if(!r)return u;var f=L.featureGroup();return f._pmTempLayer=!0,u.forEach(function(y){f.addLayer(y)}),f},getGeomanDrawLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=L.PM.Utils.findLayers(this.map).filter(function(y){return y._drawnByGeoman===!0});if(!r)return u;var f=L.featureGroup();return f._pmTempLayer=!0,u.forEach(function(y){f.addLayer(y)}),f},_getContainingLayer:function(){return this.globalOptions.layerGroup&&this.globalOptions.layerGroup instanceof L.LayerGroup?this.globalOptions.layerGroup:this.map},_isCRSSimple:function(){return this.map.options.crs===L.CRS.Simple},_touchEventCounter:0,_addTouchEvents:function(r){this._touchEventCounter===0&&(L.DomEvent.on(r,"touchmove",this._canvasTouchMove,this),L.DomEvent.on(r,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter+=1},_removeTouchEvents:function(r){this._touchEventCounter===1&&(L.DomEvent.off(r,"touchmove",this._canvasTouchMove,this),L.DomEvent.off(r,"touchstart touchend touchcancel",this._canvasTouchClick,this)),this._touchEventCounter=this._touchEventCounter<=1?0:this._touchEventCounter-1},_canvasTouchMove:function(r){St(this.map)._onMouseMove(this._createMouseEvent("mousemove",r))},_canvasTouchClick:function(r){var u="";r.type==="touchstart"||r.type==="pointerdown"?u="mousedown":r.type==="touchend"||r.type==="pointerup"?u="mouseup":r.type!=="touchcancel"&&r.type!=="pointercancel"||(u="mouseup"),u&&St(this.map)._onClick(this._createMouseEvent(u,r))},_createMouseEvent:function(r,u){var f,y=u.touches[0]||u.changedTouches[0];try{f=new MouseEvent(r,{bubbles:u.bubbles,cancelable:u.cancelable,view:u.view,detail:y.detail,screenX:y.screenX,screenY:y.screenY,clientX:y.clientX,clientY:y.clientY,ctrlKey:u.ctrlKey,altKey:u.altKey,shiftKey:u.shiftKey,metaKey:u.metaKey,button:u.button,relatedTarget:u.relatedTarget})}catch{(f=document.createEvent("MouseEvents")).initMouseEvent(r,u.bubbles,u.cancelable,u.view,y.detail,y.screenX,y.screenY,y.clientX,y.clientY,u.ctrlKey,u.altKey,u.shiftKey,u.metaKey,u.button,u.relatedTarget)}return f}}),jt=L.Control.extend({includes:[ot],options:{position:"topleft",disableByOtherButtons:!0},initialize:function(r){this._button=L.Util.extend({},this.options,r)},onAdd:function(r){return this._map=r,this._map.pm.Toolbar.options.oneBlock?this._container=this._map.pm.Toolbar._createContainer(this.options.position):this._button.tool==="edit"?this._container=this._map.pm.Toolbar.editContainer:this._button.tool==="options"?this._container=this._map.pm.Toolbar.optionsContainer:this._button.tool==="custom"?this._container=this._map.pm.Toolbar.customContainer:this._container=this._map.pm.Toolbar.drawContainer,this.buttonsDomNode=this._makeButton(this._button),this._container.appendChild(this.buttonsDomNode),this._container},onRemove:function(){return this.buttonsDomNode.remove(),this._container},getText:function(){return this._button.text},getIconUrl:function(){return this._button.iconUrl},destroy:function(){this._button={},this._update()},toggle:function(r){return this._button.toggleStatus=typeof r=="boolean"?r:!this._button.toggleStatus,this._applyStyleClasses(),this._button.toggleStatus},toggled:function(){return this._button.toggleStatus},onCreate:function(){this.toggle(!1)},disable:function(){this.toggle(!1),this._button.disabled=!0,this._updateDisabled()},enable:function(){this._button.disabled=!1,this._updateDisabled()},_triggerClick:function(r){r&&r.preventDefault(),this._button.disabled||(this._button.onClick(r,{button:this,event:r}),this._clicked(r),this._button.afterClick(r,{button:this,event:r}))},_makeButton:function(r){var u=this,f=this.options.position.indexOf("right")>-1?"pos-right":"",y=L.DomUtil.create("div","button-container ".concat(f),this._container);r.title&&y.setAttribute("title",r.title);var w=L.DomUtil.create("a","leaflet-buttons-control-button",y);w.setAttribute("role","button"),w.setAttribute("tabindex","0"),w.href="#";var R=L.DomUtil.create("div","leaflet-pm-actions-container ".concat(f),y),j=r.actions,q={cancel:{text:at("actions.cancel"),onClick:function(){this._triggerClick()}},finishMode:{text:at("actions.finish"),onClick:function(){this._triggerClick()}},removeLastVertex:{text:at("actions.removeLastVertex"),onClick:function(){this._map.pm.Draw[r.jsClass]._removeLastVertex()}},finish:{text:at("actions.finish"),onClick:function(W){this._map.pm.Draw[r.jsClass]._finishShape(W)}}};j.forEach(function(W){var Q,dt=typeof W=="string"?W:W.name;if(q[dt])Q=q[dt];else{if(!W.text)return;Q=W}var ht=L.DomUtil.create("a","leaflet-pm-action ".concat(f," action-").concat(dt),R);ht.setAttribute("role","button"),ht.setAttribute("tabindex","0"),ht.href="#",ht.innerHTML=Q.text,L.DomEvent.disableClickPropagation(ht),L.DomEvent.on(ht,"click",L.DomEvent.stop),!r.disabled&&Q.onClick&&(L.DomEvent.addListener(ht,"click",function(kt){kt.preventDefault();var Pt="",Ut=u._map.pm.Toolbar.buttons;for(var ee in Ut)if(Ut[ee]._button===r){Pt=ee;break}u._fireActionClick(Q,Pt,r)},u),L.DomEvent.addListener(ht,"click",Q.onClick,u))}),r.toggleStatus&&L.DomUtil.addClass(y,"active");var U=L.DomUtil.create("div","control-icon",w);return r.iconUrl&&U.setAttribute("src",r.iconUrl),r.className&&L.DomUtil.addClass(U,r.className),L.DomEvent.disableClickPropagation(w),L.DomEvent.on(w,"click",L.DomEvent.stop),r.disabled||(L.DomEvent.addListener(w,"click",this._onBtnClick,this),L.DomEvent.addListener(w,"click",this._triggerClick,this)),r.disabled&&(L.DomUtil.addClass(w,"pm-disabled"),w.setAttribute("aria-disabled","true")),y},_applyStyleClasses:function(){this._container&&(this._button.toggleStatus&&this._button.cssToggle!==!1?(L.DomUtil.addClass(this.buttonsDomNode,"active"),L.DomUtil.addClass(this._container,"activeChild")):(L.DomUtil.removeClass(this.buttonsDomNode,"active"),L.DomUtil.removeClass(this._container,"activeChild")))},_onBtnClick:function(){this._button.disableOtherButtons&&this._map.pm.Toolbar.triggerClickOnToggledButtons(this);var r="",u=this._map.pm.Toolbar.buttons;for(var f in u)if(u[f]._button===this._button){r=f;break}this._fireButtonClick(r,this._button)},_clicked:function(){this._button.doToggle&&this.toggle()},_updateDisabled:function(){if(this._container){var r="pm-disabled",u=this.buttonsDomNode.children[0];this._button.disabled?(L.DomUtil.addClass(u,r),u.setAttribute("aria-disabled","true"),L.DomEvent.off(u,"click",this._triggerClick,this),L.DomEvent.off(u,"click",this._onBtnClick,this)):(L.DomUtil.removeClass(u,r),u.setAttribute("aria-disabled","false"),L.DomEvent.on(u,"click",this._triggerClick,this),L.DomEvent.on(u,"click",this._onBtnClick,this))}}});function se(r,u){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);u&&(y=y.filter(function(w){return Object.getOwnPropertyDescriptor(r,w).enumerable})),f.push.apply(f,y)}return f}function he(r){for(var u=1;u0&&arguments[0]!==void 0?arguments[0]:this.options;typeof r.editPolygon<"u"&&(r.editMode=r.editPolygon),typeof r.deleteLayer<"u"&&(r.removalMode=r.deleteLayer),L.Util.setOptions(this,r),this.applyIconStyle(),this.isVisible=!0,this._showHideButtons()},applyIconStyle:function(){var r=this.getButtons(),u={geomanIcons:{drawMarker:"control-icon leaflet-pm-icon-marker",drawPolyline:"control-icon leaflet-pm-icon-polyline",drawRectangle:"control-icon leaflet-pm-icon-rectangle",drawPolygon:"control-icon leaflet-pm-icon-polygon",drawCircle:"control-icon leaflet-pm-icon-circle",drawCircleMarker:"control-icon leaflet-pm-icon-circle-marker",editMode:"control-icon leaflet-pm-icon-edit",dragMode:"control-icon leaflet-pm-icon-drag",cutPolygon:"control-icon leaflet-pm-icon-cut",removalMode:"control-icon leaflet-pm-icon-delete",drawText:"control-icon leaflet-pm-icon-text"}};for(var f in r){var y=r[f];L.Util.setOptions(y,{className:u.geomanIcons[f]})}},removeControls:function(){var r=this.getButtons();for(var u in r)r[u].remove();this.isVisible=!1},toggleControls:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:this.options;this.isVisible?this.removeControls():this.addControls(r)},_addButton:function(r,u){return this.buttons[r]=u,this.options[r]=this.options[r]||!1,this.buttons[r]},triggerClickOnToggledButtons:function(r){for(var u in this.buttons){var f=this.buttons[u];f._button.disableByOtherButtons&&f!==r&&f.toggled()&&f._triggerClick()}},toggleButton:function(r,u){var f=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2];return r==="editPolygon"&&(r="editMode"),r==="deleteLayer"&&(r="removalMode"),f&&this.triggerClickOnToggledButtons(this.buttons[r]),!!this.buttons[r]&&this.buttons[r].toggle(u)},_defineButtons:function(){var r=this,u={className:"control-icon leaflet-pm-icon-marker",title:at("buttonTitles.drawMarkerButton"),jsClass:"Marker",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},f={title:at("buttonTitles.drawPolyButton"),className:"control-icon leaflet-pm-icon-polygon",jsClass:"Polygon",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},y={className:"control-icon leaflet-pm-icon-polyline",title:at("buttonTitles.drawLineButton"),jsClass:"Line",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},w={title:at("buttonTitles.drawCircleButton"),className:"control-icon leaflet-pm-icon-circle",jsClass:"Circle",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},R={title:at("buttonTitles.drawCircleMarkerButton"),className:"control-icon leaflet-pm-icon-circle-marker",jsClass:"CircleMarker",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},j={title:at("buttonTitles.drawRectButton"),className:"control-icon leaflet-pm-icon-rectangle",jsClass:"Rectangle",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},q={title:at("buttonTitles.editButton"),className:"control-icon leaflet-pm-icon-edit",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalEditMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},U={title:at("buttonTitles.dragButton"),className:"control-icon leaflet-pm-icon-drag",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalDragMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},W={title:at("buttonTitles.cutButton"),className:"control-icon leaflet-pm-icon-cut",jsClass:"Cut",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle({snappable:!0,cursorMarker:!0,allowSelfIntersection:!1})},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finish","removeLastVertex","cancel"]},Q={title:at("buttonTitles.deleteButton"),className:"control-icon leaflet-pm-icon-delete",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalRemovalMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},dt={title:at("buttonTitles.rotateButton"),className:"control-icon leaflet-pm-icon-rotate",onClick:function(){},afterClick:function(){r.map.pm.toggleGlobalRotateMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},ht={className:"control-icon leaflet-pm-icon-text",title:at("buttonTitles.drawTextButton"),jsClass:"Text",onClick:function(){},afterClick:function(kt,Pt){r.map.pm.Draw[Pt.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]};this._addButton("drawMarker",new L.Control.PMButton(u)),this._addButton("drawPolyline",new L.Control.PMButton(y)),this._addButton("drawRectangle",new L.Control.PMButton(j)),this._addButton("drawPolygon",new L.Control.PMButton(f)),this._addButton("drawCircle",new L.Control.PMButton(w)),this._addButton("drawCircleMarker",new L.Control.PMButton(R)),this._addButton("drawText",new L.Control.PMButton(ht)),this._addButton("editMode",new L.Control.PMButton(q)),this._addButton("dragMode",new L.Control.PMButton(U)),this._addButton("cutPolygon",new L.Control.PMButton(W)),this._addButton("removalMode",new L.Control.PMButton(Q)),this._addButton("rotateMode",new L.Control.PMButton(dt))},_showHideButtons:function(){if(this.isVisible){this.removeControls(),this.isVisible=!0;var r=this.getButtons(),u=[];for(var f in this.options.drawControls===!1&&(u=u.concat(Object.keys(r).filter(function(w){return!r[w]._button.tool}))),this.options.editControls===!1&&(u=u.concat(Object.keys(r).filter(function(w){return r[w]._button.tool==="edit"}))),this.options.optionsControls===!1&&(u=u.concat(Object.keys(r).filter(function(w){return r[w]._button.tool==="options"}))),this.options.customControls===!1&&(u=u.concat(Object.keys(r).filter(function(w){return r[w]._button.tool==="custom"}))),r)if(this.options[f]&&u.indexOf(f)===-1){var y=r[f]._button.tool;y||(y="draw"),r[f].setPosition(this._getBtnPosition(y)),r[f].addTo(this.map)}}},_getBtnPosition:function(r){return this.options.positions&&this.options.positions[r]?this.options.positions[r]:this.options.position},setBlockPosition:function(r,u){this.options.positions[r]=u,this._showHideButtons(),this.changeControlOrder()},getBlockPositions:function(){return this.options.positions},copyDrawControl:function(r,u){if(!u)throw new TypeError("Button has no name");Z(u)!=="object"&&(u={name:u});var f=this._btnNameMapping(r);if(!u.name)throw new TypeError("Button has no name");if(this.buttons[u.name])throw new TypeError("Button with this name already exists");var y=this.map.pm.Draw.createNewDrawInstance(u.name,f);return u=he(he({},this.buttons[f]._button),u),{drawInstance:y,control:this.createCustomControl(u)}},createCustomControl:function(r){var u,f;if(!r.name)throw new TypeError("Button has no name");if(this.buttons[r.name])throw new TypeError("Button with this name already exists");r.onClick||(r.onClick=function(){}),r.afterClick||(r.afterClick=function(){}),r.toggle!==!1&&(r.toggle=!0),r.block&&(r.block=r.block.toLowerCase()),r.block&&r.block!=="draw"||(r.block=""),r.className?r.className.indexOf("control-icon")===-1&&(r.className="control-icon ".concat(r.className)):r.className="control-icon";var y={tool:r.block,className:r.className,title:r.title||"",jsClass:r.name,onClick:r.onClick,afterClick:r.afterClick,doToggle:r.toggle,toggleStatus:!1,disableOtherButtons:(u=r.disableOtherButtons)===null||u===void 0||u,disableByOtherButtons:(f=r.disableByOtherButtons)===null||f===void 0||f,cssToggle:r.toggle,position:this.options.position,actions:r.actions||[],disabled:!!r.disabled};this.options[r.name]!==!1&&(this.options[r.name]=!0);var w=this._addButton(r.name,new L.Control.PMButton(y));return this.changeControlOrder(),w},changeControlOrder:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],u=this._shapeMapping(),f=[];r.forEach(function(W){u[W]?f.push(u[W]):f.push(W)});var y=this.getButtons(),w={};f.forEach(function(W){y[W]&&(w[W]=y[W])});var R=Object.keys(y).filter(function(W){return!y[W]._button.tool});R.forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])});var j=Object.keys(y).filter(function(W){return y[W]._button.tool==="edit"});j.forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])});var q=Object.keys(y).filter(function(W){return y[W]._button.tool==="options"});q.forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])});var U=Object.keys(y).filter(function(W){return y[W]._button.tool==="custom"});U.forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])}),Object.keys(y).forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])}),this.map.pm.Toolbar.buttons=w,this._showHideButtons()},getControlOrder:function(){var r=this.getButtons(),u=[];for(var f in r)u.push(f);return u},changeActionsOfControl:function(r,u){var f=this._btnNameMapping(r);if(!f)throw new TypeError("No name passed");if(!u)throw new TypeError("No actions passed");if(!this.buttons[f])throw new TypeError("Button with this name not exists");this.buttons[f]._button.actions=u,this.changeControlOrder()},setButtonDisabled:function(r,u){var f=this._btnNameMapping(r);u?this.buttons[f].disable():this.buttons[f].enable()},_shapeMapping:function(){return{Marker:"drawMarker",Circle:"drawCircle",Polygon:"drawPolygon",Rectangle:"drawRectangle",Polyline:"drawPolyline",Line:"drawPolyline",CircleMarker:"drawCircleMarker",Edit:"editMode",Drag:"dragMode",Cut:"cutPolygon",Removal:"removalMode",Rotate:"rotateMode",Text:"drawText"}},_btnNameMapping:function(r){var u=this._shapeMapping();return u[r]?u[r]:r}});function bt(r,u){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);u&&(y=y.filter(function(w){return Object.getOwnPropertyDescriptor(r,w).enumerable})),f.push.apply(f,y)}return f}function pt(r){for(var u=1;u-1&&this._snapList.splice(f,1)}},_calcClosestLayer:function(r,u){return this._calcClosestLayers(r,u,1)[0]},_calcClosestLayers:function(r,u){var f=this,y=arguments.length>2&&arguments[2]!==void 0?arguments[2]:1,w=[],R={};u.forEach(function(q,U){if(!q._parentCopy||q._parentCopy!==f._layer){var W=f._calcLayerDistances(r,q);if(W.distance=Math.floor(W.distance),f.debugIndicatorLines){if(!f.debugIndicatorLines[U]){var Q=L.polyline([],{color:"red",pmIgnore:!0});Q._pmTempLayer=!0,f.debugIndicatorLines[U]=Q}f.debugIndicatorLines[U].setLatLngs([r,W.latlng])}y===1&&(R.distance===void 0||W.distance<=R.distance)?(W.distance3&&arguments[3]!==void 0&&arguments[3],U=function Q(dt){dt.forEach(function(ht,kt){if(Array.isArray(ht))Q(ht);else if(j.options.snapSegment){var Pt,Ut=ht;Pt=q?kt+1===dt.length?0:kt+1:kt+1===dt.length?void 0:kt+1;var ee=dt[Pt];if(ee){var Le=j._getDistanceToSegment(f,r,Ut,ee);(w===void 0||Le1&&arguments[1]!==void 0?arguments[1]:1;r=r.sort(function(j,q){return j._leaflet_id-q._leaflet_id});var f=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],y=this._map.pm.globalOptions.snappingOrder||[],w=0,R={};return y.concat(f).forEach(function(j){R[j]||(w+=1,R[j]=w)}),r.sort(ae("instanceofShape",R)),u===1?r[0]||{}:r.slice(0,u)},_checkPrioritiySnapping:function(r){var u=this._map,f=r.segment[0],y=r.segment[1],w=r.latlng,R=this._getDistance(u,f,w),j=this._getDistance(u,y,w),q=R1&&arguments[1]!==void 0&&arguments[1];this.options.pathOptions=u?c()(this.options.pathOptions,r):r},getShapes:function(){return this.shapes},getShape:function(){return this._shape},enable:function(r,u){if(!r)throw new Error("Error: Please pass a shape as a parameter. Possible shapes are: ".concat(this.getShapes().join(",")));this.disable(),this[r].enable(u)},disable:function(){var r=this;this.shapes.forEach(function(u){r[u].disable()})},addControls:function(){var r=this;this.shapes.forEach(function(u){r[u].addButton()})},getActiveShape:function(){var r,u=this;return this.shapes.forEach(function(f){u[f]._enabled&&(r=f)}),r},_setGlobalDrawMode:function(){this._shape==="Cut"?this._fireGlobalCutModeToggled():this._fireGlobalDrawModeToggled();var r=L.PM.Utils.findLayers(this._map);this._enabled?r.forEach(function(u){L.PM.Utils.disablePopup(u)}):r.forEach(function(u){L.PM.Utils.enablePopup(u)})},createNewDrawInstance:function(r,u){var f=this._getShapeFromBtnName(u);if(this[r])throw new TypeError("Draw Type already exists");if(!L.PM.Draw[f])throw new TypeError("There is no class L.PM.Draw.".concat(f));return this[r]=new L.PM.Draw[f](this._map),this[r].toolbarButtonName=r,this[r]._shape=r,this.shapes.push(r),this[u]&&this[r].setOptions(this[u].options),this[r].setOptions(this[r].options),this[r]},_getShapeFromBtnName:function(r){var u={drawMarker:"Marker",drawCircle:"Circle",drawPolygon:"Polygon",drawPolyline:"Line",drawRectangle:"Rectangle",drawCircleMarker:"CircleMarker",editMode:"Edit",dragMode:"Drag",cutPolygon:"Cut",removalMode:"Removal",rotateMode:"Rotate",drawText:"Text"};return u[r]?u[r]:this[r]?this[r]._shape:r},_finishLayer:function(r){r.pm&&(r.pm.setOptions(this.options),r.pm._shape=this._shape,r.pm._map=this._map),this._addDrawnLayerProp(r)},_addDrawnLayerProp:function(r){r._drawnByGeoman=!0},_setPane:function(r,u){u==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":u==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":u==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},_isFirstLayer:function(){return(this._map||this._layer._map).pm.getGeomanLayers().length===0}});k.Marker=k.extend({initialize:function(r){this._map=r,this._shape="Marker",this.toolbarButtonName="drawMarker"},enable:function(r){var u=this;L.Util.setOptions(this,r),this._enabled=!0,this._map.getContainer().classList.add("geoman-draw-cursor"),this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),this.options.markerStyle),this._setPane(this._hintMarker,"markerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.tooltips&&this._hintMarker.bindTooltip(at("tooltips.placeMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this.options.markerEditable&&this._map.eachLayer(function(f){u.isRelevantMarker(f)&&f.pm.enable()}),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){var r=this;this._enabled&&(this._enabled=!1,this._map.getContainer().classList.remove("geoman-draw-cursor"),this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.off("mousemove",this._syncHintMarker,this),this._map.eachLayer(function(u){r.isRelevantMarker(u)&&u.pm.disable()}),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},isRelevantMarker:function(r){return r instanceof L.Marker&&r.pm&&!r._pmTempLayer&&!r.pm._initTextMarker},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var u=r;u.target=this._hintMarker,this._handleSnapping(u)}this._fireChange(this._hintMarker.getLatLng(),"Draw")},_createMarker:function(r){if(r.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng(),f=new L.Marker(u,this.options.markerStyle);this._setPane(f,"markerPane"),this._finishLayer(f),f.pm||(f.options.draggable=!1),f.addTo(this._map.pm._getContainingLayer()),f.pm&&this.options.markerEditable?f.pm.enable():f.dragging&&f.dragging.disable(),this._fireCreate(f),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},setStyle:function(){var r,u;(r=this.options.markerStyle)!==null&&r!==void 0&&r.icon&&((u=this._hintMarker)===null||u===void 0||u.setIcon(this.options.markerStyle.icon))}});var E=63710088e-1,z={centimeters:637100880,centimetres:637100880,degrees:57.22891354143274,feet:20902260511392e-6,inches:39.37*E,kilometers:6371.0088,kilometres:6371.0088,meters:E,metres:E,miles:3958.761333810546,millimeters:6371008800,millimetres:6371008800,nauticalmiles:E/1852,radians:1,yards:6967335223679999e-9};function G(r,u,f){f===void 0&&(f={});var y={type:"Feature"};return(f.id===0||f.id)&&(y.id=f.id),f.bbox&&(y.bbox=f.bbox),y.properties=u||{},y.geometry=r,y}function J(r,u,f){if(f===void 0&&(f={}),!r)throw new Error("coordinates is required");if(!Array.isArray(r))throw new Error("coordinates must be an Array");if(r.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!me(r[0])||!me(r[1]))throw new Error("coordinates must contain numbers");return G({type:"Point",coordinates:r},u,f)}function it(r,u,f){if(f===void 0&&(f={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");return G({type:"LineString",coordinates:r},u,f)}function _t(r,u){u===void 0&&(u={});var f={type:"FeatureCollection"};return u.id&&(f.id=u.id),u.bbox&&(f.bbox=u.bbox),f.features=r,f}function Ot(r,u){u===void 0&&(u="kilometers");var f=z[u];if(!f)throw new Error(u+" units is invalid");return r*f}function Nt(r,u){u===void 0&&(u="kilometers");var f=z[u];if(!f)throw new Error(u+" units is invalid");return r/f}function $t(r){return 180*(r%(2*Math.PI))/Math.PI}function Ft(r){return r%360*Math.PI/180}function me(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function le(r){var u,f,y={type:"FeatureCollection",features:[]};if((f=r.type==="Feature"?r.geometry:r).type==="LineString")u=[f.coordinates];else if(f.type==="MultiLineString")u=f.coordinates;else if(f.type==="MultiPolygon")u=[].concat.apply([],f.coordinates);else{if(f.type!=="Polygon")throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");u=f.coordinates}return u.forEach(function(w){u.forEach(function(R){for(var j=0;j=0&&W<=1&&(ht.onLine1=!0),Q>=0&&Q<=1&&(ht.onLine2=!0),!(!ht.onLine1||!ht.onLine2)&&[ht.x,ht.y])}function Re(r,u){var f=Object.keys(r);if(Object.getOwnPropertySymbols){var y=Object.getOwnPropertySymbols(r);u&&(y=y.filter(function(w){return Object.getOwnPropertyDescriptor(r,w).enumerable})),f.push.apply(f,y)}return f}function fe(r){for(var u=1;u=2&&!Array.isArray(r[0])&&!Array.isArray(r[1]))return r;throw new Error("coord must be GeoJSON Point or an Array of numbers")}function Pe(r){if(Array.isArray(r))return r;if(r.type==="Feature"){if(r.geometry!==null)return r.geometry.coordinates}else if(r.coordinates)return r.coordinates;throw new Error("coords must be GeoJSON Feature, Geometry Object or an Array")}function Qe(r){return r.type==="Feature"?r.geometry:r}function kn(r,u){return r.type==="FeatureCollection"?"FeatureCollection":r.type==="GeometryCollection"?"GeometryCollection":r.type==="Feature"&&r.geometry!==null?r.geometry.type:r.type}function Mn(r,u,f){if(r!==null)for(var y,w,R,j,q,U,W,Q,dt=0,ht=0,kt=r.type,Pt=kt==="FeatureCollection",Ut=kt==="Feature",ee=Pt?r.features.length:1,Le=0;Le0){var u=r[r.length-1];this._hintline.setLatLngs([u,this._hintMarker.getLatLng()])}},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var u=r;u.target=this._hintMarker,this._handleSnapping(u)}this.options.allowSelfIntersection||this._handleSelfIntersection(!0,this._hintMarker.getLatLng());var f=this._layer._defaultShape().slice();f.push(this._hintMarker.getLatLng()),this._change(f)},hasSelfIntersection:function(){return le(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersection:function(r,u){var f=L.polyline(this._layer.getLatLngs());r&&(u||(u=this._hintMarker.getLatLng()),f.addLatLng(u));var y=le(f.toGeoJSON(15));this._doesSelfIntersect=y.features.length>0,this._doesSelfIntersect?this.isRed||(this.isRed=!0,this._hintline.setStyle({color:"#f00000ff"}),this._fireIntersect(y,this._map,"Draw")):this._hintline.isEmpty()||(this.isRed=!1,this._hintline.setStyle(this.options.hintlineStyle))},_createVertex:function(r){if(this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,r.latlng),!this._doesSelfIntersect)){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng(),f=this._layer.getLatLngs(),y=f[f.length-1];if(u.equals(f[0])||f.length>0&&u.equals(y))this._finishShape();else{this._layer._latlngInfo=this._layer._latlngInfo||[],this._layer._latlngInfo.push({latlng:u,snapInfo:this._hintMarker._snapInfo}),this._layer.addLatLng(u);var w=this._createMarker(u);this._setTooltipText(),this._setHintLineAfterNewVertex(u),this._fireVertexAdded(w,void 0,u,"Draw"),this._change(this._layer.getLatLngs()),this.options.finishOn==="snap"&&this._hintMarker._snapped&&this._finishShape(r)}}},_setHintLineAfterNewVertex:function(r){this._hintline.setLatLngs([r,r])},_removeLastVertex:function(){var r=this._markers;if(r.length<=1)this.disable();else{var u=this._layer.getLatLngs(),f=r[r.length-1],y=L.PM.Utils.findDeepMarkerIndex(r,f).indexPath;r.pop(),this._layerGroup.removeLayer(f);var w=r[r.length-1],R=u.indexOf(w.getLatLng());u=u.slice(0,R+1),this._layer.setLatLngs(u),this._layer._latlngInfo.pop(),this._syncHintLine(),this._setTooltipText(),this._fireVertexRemoved(f,y,"Draw"),this._change(this._layer.getLatLngs())}},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!1),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var r=this._layer.getLatLngs();if(!(r.length<=1)){var u=L.polyline(r,this.options.pathOptions);this._setPane(u,"layerPane"),this._finishLayer(u),u.addTo(this._map.pm._getContainingLayer()),this._fireCreate(u),this.options.snappable&&this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}}},_createMarker:function(r){var u=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(u,"vertexPane"),u._pmTempLayer=!0,this._layerGroup.addLayer(u),this._markers.push(u),u.on("click",this._finishShape,this),u},_setTooltipText:function(){var r="";r=at(this._layer.getLatLngs().flat().length<=1?"tooltips.continueLine":"tooltips.finishLine"),this._hintMarker.setTooltipContent(r)},_change:function(r){this._fireChange(r,"Draw")},setStyle:function(){var r,u;(r=this._layer)===null||r===void 0||r.setStyle(this.options.templineStyle),(u=this._hintline)===null||u===void 0||u.setStyle(this.options.hintlineStyle)}}),k.Polygon=k.Line.extend({initialize:function(r){this._map=r,this._shape="Polygon",this.toolbarButtonName="drawPolygon"},enable:function(r){L.PM.Draw.Line.prototype.enable.call(this,r),this._layer.pm._shape="Polygon"},_createMarker:function(r){var u=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(u,"vertexPane"),u._pmTempLayer=!0,this._layerGroup.addLayer(u),this._markers.push(u),this._layer.getLatLngs().flat().length===1?(u.on("click",this._finishShape,this),this._tempSnapLayerIndex=this._otherSnapLayers.push(u)-1,this.options.snappable&&this._cleanupSnapping()):u.on("click",function(){return 1}),u},_setTooltipText:function(){var r="";r=at(this._layer.getLatLngs().flat().length<=2?"tooltips.continueLine":"tooltips.finishPoly"),this._hintMarker.setTooltipContent(r)},_finishShape:function(){if((this.options.allowSelfIntersection||(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),!this._doesSelfIntersect))&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){var r=this._layer.getLatLngs();if(!(r.length<=2)){var u=L.polygon(r,this.options.pathOptions);this._setPane(u,"layerPane"),this._finishLayer(u),u.addTo(this._map.pm._getContainingLayer()),this._fireCreate(u),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this.disable(),this.options.continueDrawing&&this.enable()}}}}),k.Rectangle=k.extend({initialize:function(r){this._map=r,this._shape="Rectangle",this.toolbarButtonName="drawRectangle"},enable:function(r){if(L.Util.setOptions(this,r),this._enabled=!0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.rectangle([[0,0],[0,0]],this.options.pathOptions),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._startMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-start-marker"}),draggable:!1,zIndexOffset:-100,opacity:this.options.cursorMarker?1:0}),this._setPane(this._startMarker,"vertexPane"),this._startMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._startMarker),this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:150,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(at("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this.options.cursorMarker){this._styleMarkers=[];for(var u=0;u<2;u+=1){var f=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-style-marker"}),draggable:!1,zIndexOffset:100});this._setPane(f,"vertexPane"),f._pmTempLayer=!0,this._layerGroup.addLayer(f),this._styleMarkers.push(f)}}this._map.getContainer().classList.add("geoman-draw-cursor"),this._map.on("click",this._placeStartingMarkers,this),this._map.on("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map.getContainer().classList.remove("geoman-draw-cursor"),this._map.off("click",this._finishShape,this),this._map.off("click",this._placeStartingMarkers,this),this._map.off("mousemove",this._syncHintMarker,this),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_placeStartingMarkers:function(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng();L.DomUtil.addClass(this._startMarker._icon,"visible"),this._startMarker.setLatLng(u),this.options.cursorMarker&&this._styleMarkers&&this._styleMarkers.forEach(function(f){L.DomUtil.addClass(f._icon,"visible"),f.setLatLng(u)}),this._map.off("click",this._placeStartingMarkers,this),this._map.on("click",this._finishShape,this),this._hintMarker.setTooltipContent(at("tooltips.finishRect")),this._setRectangleOrigin()},_setRectangleOrigin:function(){var r=this._startMarker.getLatLng();r&&(this._layerGroup.addLayer(this._layer),this._layer.setLatLngs([r,r]),this._hintMarker.on("move",this._syncRectangleSize,this))},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var u=r;u.target=this._hintMarker,this._handleSnapping(u)}var f=this._layerGroup&&this._layerGroup.hasLayer(this._layer)?this._layer.getLatLngs():[this._hintMarker.getLatLng()];this._fireChange(f,"Draw")},_syncRectangleSize:function(){var r=this,u=ft(this._startMarker.getLatLng(),this._map),f=ft(this._hintMarker.getLatLng(),this._map),y=L.PM.Utils._getRotatedRectangle(u,f,this.options.rectangleAngle||0,this._map);if(this._layer.setLatLngs(y),this.options.cursorMarker&&this._styleMarkers){var w=[];y.forEach(function(R){R.equals(u,1e-8)||R.equals(f,1e-8)||w.push(R)}),w.forEach(function(R,j){try{r._styleMarkers[j].setLatLng(R)}catch{}})}},_findCorners:function(){var r=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(r[0],r[2],this.options.rectangleAngle||0,this._map)},_finishShape:function(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng(),f=this._startMarker.getLatLng();if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){var y=L.rectangle([f,u],this.options.pathOptions);if(this.options.rectangleAngle){var w=L.PM.Utils._getRotatedRectangle(f,u,this.options.rectangleAngle||0,this._map);y.setLatLngs(w),y.pm&&y.pm._setAngle(this.options.rectangleAngle||0)}this._setPane(y,"layerPane"),this._finishLayer(y),y.addTo(this._map.pm._getContainingLayer()),this._fireCreate(y),this.disable(),this.options.continueDrawing&&this.enable()}},setStyle:function(){var r;(r=this._layer)===null||r===void 0||r.setStyle(this.options.pathOptions)}}),k.CircleMarker=k.extend({initialize:function(r){this._map=r,this._shape="CircleMarker",this.toolbarButtonName="drawCircleMarker",this._layerIsDragging=!1,this._BaseCircleClass=L.CircleMarker,this._minRadiusOption="minRadiusCircleMarker",this._maxRadiusOption="maxRadiusCircleMarker",this._editableOption="resizeableCircleMarker",this._defaultRadius=10},enable:function(r){if(L.Util.setOptions(this,r),this.options.editable&&(this.options.resizeableCircleMarker=this.options.editable,delete this.options.editable),this._enabled=!0,this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._map.getContainer().classList.add("geoman-draw-cursor"),this.options[this._editableOption]){var u={};L.extend(u,this.options.templineStyle),u.radius=0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=new this._BaseCircleClass(this._map.getCenter(),u),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._centerMarker=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon"}),draggable:!1,zIndexOffset:100}),this._setPane(this._centerMarker,"vertexPane"),this._centerMarker._pmTempLayer=!0,this._hintMarker=L.marker(this._map.getCenter(),{zIndexOffset:110,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(at("tooltips.startCircle"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),this._map.on("click",this._placeCenterMarker,this)}else this._map.on("click",this._createMarker,this),this._hintMarker=new this._BaseCircleClass(this._map.getCenter(),je({radius:this._defaultRadius},this.options.templineStyle)),this._setPane(this._hintMarker,"layerPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this._layer=this._hintMarker,this.options.tooltips&&this._hintMarker.bindTooltip(at("tooltips.placeCircleMarker"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip();this._map.on("mousemove",this._syncHintMarker,this),this._extendingEnable(),this._otherSnapLayers=[],this._fireDrawStart(),this._setGlobalDrawMode()},_extendingEnable:function(){var r=this;!this.options[this._editableOption]&&this.options.markerEditable&&this._map.eachLayer(function(u){r.isRelevantMarker(u)&&u.pm.enable()}),this._layer.bringToBack()},disable:function(){this._enabled&&(this._enabled=!1,this._map.getContainer().classList.remove("geoman-draw-cursor"),this.options[this._editableOption]?(this._map.off("click",this._finishShape,this),this._map.off("click",this._placeCenterMarker,this),this._map.removeLayer(this._layerGroup)):(this._map.off("click",this._createMarker,this),this._extendingDisable(),this._hintMarker.remove()),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},_extendingDisable:function(){var r=this;this._map.eachLayer(function(u){r.isRelevantMarker(u)&&u.pm.disable()})},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_placeCenterMarker:function(r){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(u),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter:function(){var r=this._centerMarker.getLatLng();r&&(this._layer.setLatLng(r),this._hintMarker.on("move",this._syncHintLine,this),this._hintMarker.on("move",this._syncCircleRadius,this),this._hintMarker.setTooltipContent(at("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),u=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([r,u])},_syncCircleRadius:function(){var r=this._centerMarker.getLatLng(),u=this._hintMarker.getLatLng(),f=this._distanceCalculation(r,u);this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption]?this._layer.setRadius(this.options[this._maxRadiusOption]):this._layer.setRadius(f)},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){var u=r;u.target=this._hintMarker,this._handleSnapping(u)}this._handleHintMarkerSnapping();var f=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(f,"Draw")},isRelevantMarker:function(r){return r instanceof L.CircleMarker&&!(r instanceof L.Circle)&&r.pm&&!r._pmTempLayer},_createMarker:function(r){if((!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())&&r.latlng&&!this._layerIsDragging){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._hintMarker.getLatLng(),f=new this._BaseCircleClass(u,je({radius:this._defaultRadius},this.options.pathOptions));this._setPane(f,"layerPane"),this._finishLayer(f),f.addTo(this._map.pm._getContainingLayer()),this._extendingCreateMarker(f),this._fireCreate(f),this._cleanupSnapping(),this.options.continueDrawing||this.disable()}},_extendingCreateMarker:function(r){r.pm&&this.options.markerEditable&&r.pm.enable()},_finishShape:function(r){if(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer()){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var u=this._centerMarker.getLatLng(),f=this._defaultRadius;if(this.options[this._editableOption]){var y=this._hintMarker.getLatLng();f=this._distanceCalculation(u,y),this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption]&&(f=this.options[this._maxRadiusOption])}var w=je(je({},this.options.pathOptions),{},{radius:f}),R=new this._BaseCircleClass(u,w);this._setPane(R,"layerPane"),this._finishLayer(R),R.addTo(this._map.pm._getContainingLayer()),R.pm&&R.pm._updateHiddenPolyCircle(),this._fireCreate(R),this.disable(),this.options.continueDrawing&&this.enable()}},_getNewDestinationOfHintMarker:function(){var r=this._hintMarker.getLatLng();if(this.options[this._editableOption]){if(!this._layerGroup.hasLayer(this._centerMarker))return r;var u=this._centerMarker.getLatLng(),f=this._distanceCalculation(u,r);this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption]&&(r=ce(this._map,u,r,this._getMaxDistanceInMeter()))}return r},_getMinDistanceInMeter:function(){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._minRadiusOption],this._map,this._centerMarker.getLatLng())},_getMaxDistanceInMeter:function(){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._maxRadiusOption],this._map,this._centerMarker.getLatLng())},_handleHintMarkerSnapping:function(){if(this.options[this._editableOption]){if(this._hintMarker._snapped){var r=this._centerMarker.getLatLng(),u=this._hintMarker.getLatLng(),f=this._distanceCalculation(r,u);this._layerGroup.hasLayer(this._centerMarker)&&(this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption])&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng)}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())}},setStyle:function(){var r,u,f={};L.extend(f,this.options.templineStyle),this.options[this._editableOption]&&(f.radius=0),(r=this._layer)===null||r===void 0||r.setStyle(f),(u=this._hintline)===null||u===void 0||u.setStyle(this.options.hintlineStyle)},_distanceCalculation:function(r,u){return this._map.project(r).distanceTo(this._map.project(u))}}),k.Circle=k.CircleMarker.extend({initialize:function(r){this._map=r,this._shape="Circle",this.toolbarButtonName="drawCircle",this._BaseCircleClass=L.Circle,this._minRadiusOption="minRadiusCircle",this._maxRadiusOption="maxRadiusCircle",this._editableOption="resizableCircle",this._defaultRadius=100},_extendingEnable:function(){},_extendingDisable:function(){},_extendingCreateMarker:function(){},isRelevantMarker:function(){},_getMinDistanceInMeter:function(){return this.options[this._minRadiusOption]},_getMaxDistanceInMeter:function(){return this.options[this._maxRadiusOption]},_distanceCalculation:function(r,u){return this._map.distance(r,u)}});const Ci=function(r){if(!r)throw new Error("geojson is required");var u=[];return Gn(r,function(f){(function(y,w){var R=[],j=y.geometry;if(j!==null){switch(j.type){case"Polygon":R=Pe(j);break;case"LineString":R=[Pe(j)]}R.forEach(function(q){var U=function(W,Q){var dt=[];return W.reduce(function(ht,kt){var Pt,Ut,ee,Le,xe,Te,Je=it([ht,kt],Q);return Je.bbox=(Ut=kt,ee=(Pt=ht)[0],Le=Pt[1],xe=Ut[0],Te=Ut[1],[eexe?ee:xe,Le>Te?Le:Te]),dt.push(Je),kt}),dt}(q,y.properties);U.forEach(function(W){W.id=w.length,w.push(W)})})}})(f,u)}),_t(u)};var Mr=a(1787);function xo(r,u){var f=Pe(r),y=Pe(u);if(f.length!==2)throw new Error(" line1 must only contain 2 coordinates");if(y.length!==2)throw new Error(" line2 must only contain 2 coordinates");var w=f[0][0],R=f[0][1],j=f[1][0],q=f[1][1],U=y[0][0],W=y[0][1],Q=y[1][0],dt=y[1][1],ht=(dt-W)*(j-w)-(Q-U)*(q-R),kt=(Q-U)*(R-W)-(dt-W)*(w-U),Pt=(j-w)*(R-W)-(q-R)*(w-U);if(ht===0)return null;var Ut=kt/ht,ee=Pt/ht;return Ut>=0&&Ut<=1&&ee>=0&&ee<=1?J([w+Ut*(j-w),R+Ut*(q-R)]):null}const Hn=function(r,u){var f={},y=[];if(r.type==="LineString"&&(r=G(r)),u.type==="LineString"&&(u=G(u)),r.type==="Feature"&&u.type==="Feature"&&r.geometry!==null&&u.geometry!==null&&r.geometry.type==="LineString"&&u.geometry.type==="LineString"&&r.geometry.coordinates.length===2&&u.geometry.coordinates.length===2){var w=xo(r,u);return w&&y.push(w),_t(y)}var R=Mr();return R.load(Ci(u)),fn(Ci(r),function(j){fn(R.search(j),function(q){var U=xo(j,q);if(U){var W=Pe(U).join(",");f[W]||(f[W]=!0,y.push(U))}})}),_t(y)},Un=function(r,u,f){f===void 0&&(f={});var y=Ve(r),w=Ve(u),R=Ft(w[1]-y[1]),j=Ft(w[0]-y[0]),q=Ft(y[1]),U=Ft(w[1]),W=Math.pow(Math.sin(R/2),2)+Math.pow(Math.sin(j/2),2)*Math.cos(q)*Math.cos(U);return Ot(2*Math.atan2(Math.sqrt(W),Math.sqrt(1-W)),f.units)},pn=function(r){var u=r[0],f=r[1],y=r[2],w=r[3];if(Un(r.slice(0,2),[y,f])>=Un(r.slice(0,2),[u,w])){var R=(f+w)/2;return[u,R-(y-u)/2,y,R+(y-u)/2]}var j=(u+y)/2;return[j-(w-f)/2,f,j+(w-f)/2,w]};function Vt(r){var u=[1/0,1/0,-1/0,-1/0];return Mn(r,function(f){u[0]>f[0]&&(u[0]=f[0]),u[1]>f[1]&&(u[1]=f[1]),u[2] is required");if(typeof f!="number")throw new Error(" must be a number");if(typeof y!="number")throw new Error(" must be a number");w!==!1&&w!==void 0||(r=JSON.parse(JSON.stringify(r)));var R=Math.pow(10,f);return Mn(r,function(j){(function(q,U,W){q.length>W&&q.splice(W,q.length);for(var Q=0;Q0&&((ee=Ut.features[0]).properties.dist=Un(u,ee,f),ee.properties.location=w+Un(U,ee,f)),U.properties.dist1&&f.push(it(W)),_t(f)}function Tr(r,u){if(!u.features.length)throw new Error("lines must contain features");if(u.features.length===1)return u.features[0];var f,y=1/0;return fn(u,function(w){var R=Sr(w,r).properties.dist;R=ht[0]&&kt[3]>=ht[1]}(y,j)===!1)return!1;R==="Polygon"&&(q=[q]);for(var U=!1,W=0;Wr[1]!=W>r[1]&&r[0]<(U-j)*(r[1]-q)/(W-q)+j&&(y=!y)}return y}function ko(r,u,f,y,w){var R=f[0],j=f[1],q=r[0],U=r[1],W=u[0],Q=u[1],dt=W-q,ht=Q-U,kt=(f[0]-q)*ht-(f[1]-U)*dt;if(w!==null){if(Math.abs(kt)>w)return!1}else if(kt!==0)return!1;return y?y==="start"?Math.abs(dt)>=Math.abs(ht)?dt>0?q0?U=Math.abs(ht)?dt>0?q<=R&&R0?U<=j&&j=Math.abs(ht)?dt>0?q0?U=Math.abs(ht)?dt>0?q<=R&&R<=W:W<=R&&R<=q:ht>0?U<=j&&j<=Q:Q<=j&&j<=U}const Pi=function(r,u,f){f===void 0&&(f={});for(var y=Ve(r),w=Pe(u),R=0;R"u"?null:f.epsilon))return!0}return!1};function qi(r,u){var f=Qe(r),y=Qe(u),w=f.type,R=y.type,j=f.coordinates,q=y.coordinates;switch(w){case"Point":if(R==="Point")return Ar(j,q);throw new Error("feature2 "+R+" geometry not supported");case"MultiPoint":switch(R){case"Point":return function(U,W){var Q,dt=!1;for(Q=0;Qu[0])&&!(r[2]u[1])&&!(r[3]1?u.forEach(function(w){y.push(function(R){return ii({type:"LineString",coordinates:R})}(w))}):y.push(r),y}function Ki(r){var u=[];return r.eachLayer(function(f){u.push(Rr(f.toGeoJSON(15)))}),function(f){return ii({type:"MultiLineString",coordinates:f})}(u)}function oi(r,u){return function(f){if(Array.isArray(f))return f}(r)||function(f,y){var w=f==null?null:typeof Symbol<"u"&&f[Symbol.iterator]||f["@@iterator"];if(w!=null){var R,j,q=[],U=!0,W=!1;try{for(w=w.call(f);!(U=(R=w.next()).done)&&(q.push(R.value),!y||q.length!==y);U=!0);}catch(Q){W=!0,j=Q}finally{try{U||w.return==null||w.return()}finally{if(W)throw j}}return q}}(r,u)||function(f,y){if(f){if(typeof f=="string")return Zn(f,y);var w=Object.prototype.toString.call(f).slice(8,-1);if(w==="Object"&&f.constructor&&(w=f.constructor.name),w==="Map"||w==="Set")return Array.from(f);if(w==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(w))return Zn(f,y)}}(r,u)||function(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Zn(r,u){(u==null||u>r.length)&&(u=r.length);for(var f=0,y=new Array(u);fr.length)&&(u=r.length);for(var f=0,y=new Array(u);f0)||u.options.layersToCut.indexOf(w)>-1}).filter(function(w){return!u._layerGroup.hasLayer(w)}).filter(function(w){try{var R=!!Hn(r.toGeoJSON(15),w.toGeoJSON(15)).features.length>0;return R||w instanceof L.Polyline&&!(w instanceof L.Polygon)?R:(j=r.toGeoJSON(15),q=w.toGeoJSON(15),U=Bn(j),W=Bn(q),!((Q=Co().intersection(U.coordinates,W.coordinates)).length===0||!(Q.length===1?Br(Q[0]):ri(Q))))}catch{return w instanceof L.Polygon&&console.error("You can't cut polygons with self-intersections"),!1}var j,q,U,W,Q}).forEach(function(w){var R;if(w instanceof L.Polygon){var j=(R=L.polygon(w.getLatLngs())).getLatLngs();y.forEach(function(ht){if(ht&&ht.snapInfo){var kt=ht.latlng,Pt=u._calcClosestLayer(kt,[R]);if(Pt&&Pt.segment&&Pt.distance1?Mt()(j,xe):j).splice(Te,0,kt)}}}})}else R=w;var q=u._cutLayer(r,R),U=L.geoJSON(q,w.options);if(U.getLayers().length===1){var W=U.getLayers();U=oi(W,1)[0]}u._setPane(U,"layerPane");var Q=U.addTo(u._map.pm._getContainingLayer());if(Q.pm.enable(w.pm.options),Q.pm.disable(),w._pmTempLayer=!0,r._pmTempLayer=!0,w.remove(),w.removeFrom(u._map.pm._getContainingLayer()),r.remove(),r.removeFrom(u._map.pm._getContainingLayer()),Q.getLayers&&Q.getLayers().length===0&&u._map.pm.removeLayer({target:Q}),Q instanceof L.LayerGroup&&Q.eachLayer(function(ht){u._addDrawnLayerProp(ht)}),u._addDrawnLayerProp(Q),u.options.layersToCut&&L.Util.isArray(u.options.layersToCut)&&u.options.layersToCut.length>0){var dt=u.options.layersToCut.indexOf(w);dt>-1&&u.options.layersToCut.splice(dt,1)}u._editedLayers.push({layer:Q,originalLayer:w})})},_cutLayer:function(r,u){var f,y,w,R,j,q,U=L.geoJSON();if(u instanceof L.Polygon)y=u.toGeoJSON(15),w=r.toGeoJSON(15),R=Bn(y),j=Bn(w),f=(q=Co().difference(R.coordinates,j.coordinates)).length===0?null:q.length===1?Br(q[0]):ri(q);else{var W=Se(u);W.forEach(function(Q){var dt=$s(Q,r.toGeoJSON(15));(dt&&dt.features.length>0?L.geoJSON(dt):L.geoJSON(Q)).getLayers().forEach(function(ht){qi(r.toGeoJSON(15),ht.toGeoJSON(15))||ht.addTo(U)})}),f=W.length>1?Ki(U):U.toGeoJSON(15)}return f},_change:L.Util.falseFn}),k.Text=k.extend({initialize:function(r){this._map=r,this._shape="Text",this.toolbarButtonName="drawText"},enable:function(r){L.Util.setOptions(this,r),this._enabled=!0,this._map.on("click",this._createMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._hintMarker=L.marker(this._map.getCenter(),{interactive:!1,zIndexOffset:100,icon:L.divIcon({className:"marker-icon cursor-marker"})}),this._setPane(this._hintMarker,"vertexPane"),this._hintMarker._pmTempLayer=!0,this._hintMarker.addTo(this._map),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(at("tooltips.placeText"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._layer=this._hintMarker,this._map.on("mousemove",this._syncHintMarker,this),this._map.getContainer().classList.add("geoman-draw-cursor"),this._fireDrawStart(),this._setGlobalDrawMode()},disable:function(){this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),this._hintMarker.remove(),this._map.getContainer().classList.remove("geoman-draw-cursor"),this._map.off("mousemove",this._syncHintMarker,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled:function(){return this._enabled},toggle:function(r){this.enabled()?this.disable():this.enable(r)},_syncHintMarker:function(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){var u=r;u.target=this._hintMarker,this._handleSnapping(u)}},_createMarker:function(r){var u;if(r.latlng&&(!this.options.requireSnapToFinish||this._hintMarker._snapped||this._isFirstLayer())){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);var f=this._hintMarker.getLatLng();if(this.textArea=this._createTextArea(),(u=this.options.textOptions)!==null&&u!==void 0&&u.className){var y,w=this.options.textOptions.className.split(" ");(y=this.textArea.classList).add.apply(y,Ir(w))}var R=this._createTextIcon(this.textArea),j=new L.Marker(f,{textMarker:!0,_textMarkerOverPM:!0,icon:R});if(this._setPane(j,"markerPane"),this._finishLayer(j),j.pm||(j.options.draggable=!1),j.addTo(this._map.pm._getContainingLayer()),j.pm){var q,U,W,Q,dt;j.pm.textArea=this.textArea,L.setOptions(j.pm,{removeIfEmpty:(q=(U=this.options.textOptions)===null||U===void 0?void 0:U.removeIfEmpty)===null||q===void 0||q});var ht=(W=(Q=this.options.textOptions)===null||Q===void 0?void 0:Q.focusAfterDraw)===null||W===void 0||W;j.pm._createTextMarker(ht),(dt=this.options.textOptions)!==null&&dt!==void 0&&dt.text&&j.pm.setText(this.options.textOptions.text)}this._fireCreate(j),this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()}},_createTextArea:function(){var r=document.createElement("textarea");return r.readOnly=!0,r.classList.add("pm-textarea","pm-disabled"),r},_createTextIcon:function(r){return L.divIcon({className:"pm-text-marker",html:r})}});const Be={enableLayerDrag:function(){if(this.options.draggable&&this._layer._map){this.disable(),this._layerDragEnabled=!0,this._map||(this._map=this._layer._map),(this._layer instanceof L.Marker||this._layer instanceof L.ImageOverlay)&&L.DomEvent.on(this._getDOMElem(),"dragstart",this._stopDOMImageDrag),this._layer.dragging&&this._layer.dragging.disable(),this._tempDragCoord=null,St(this._layer)instanceof L.Canvas?(this._layer.on("mouseout",this.removeDraggingClass,this),this._layer.on("mouseover",this.addDraggingClass,this)):this.addDraggingClass(),this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!0;var r=this._getDOMElem();r&&(St(this._layer)instanceof L.Canvas?(this._layer.on("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._addTouchEvents(r)):L.DomEvent.on(r,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._fireDragEnable()}},disableLayerDrag:function(){this._layerDragEnabled=!1,St(this._layer)instanceof L.Canvas?(this._layer.off("mouseout",this.removeDraggingClass,this),this._layer.off("mouseover",this.addDraggingClass,this)):this.removeDraggingClass(),this._originalMapDragState&&this._dragging&&this._map.dragging.enable(),this._safeToCacheDragState=!1,this._layer.dragging&&this._layer.dragging.disable();var r=this._getDOMElem();r&&(St(this._layer)instanceof L.Canvas?(this._layer.off("touchstart mousedown",this._dragMixinOnMouseDown,this),this._map.pm._removeTouchEvents(r)):L.DomEvent.off(r,"touchstart mousedown",this._simulateMouseDownEvent,this)),this._layerDragged&&this._fireUpdate(),this._layerDragged=!1,this._fireDragDisable()},dragging:function(){return this._dragging},layerDragEnabled:function(){return!!this._layerDragEnabled},_simulateMouseDownEvent:function(r){var u=r.touches?r.touches[0]:r,f={originalEvent:u,target:this._layer};return f.containerPoint=this._map.mouseEventToContainerPoint(u),f.latlng=this._map.containerPointToLatLng(f.containerPoint),this._dragMixinOnMouseDown(f),!1},_simulateMouseMoveEvent:function(r){var u=r.touches?r.touches[0]:r,f={originalEvent:u,target:this._layer};return f.containerPoint=this._map.mouseEventToContainerPoint(u),f.latlng=this._map.containerPointToLatLng(f.containerPoint),this._dragMixinOnMouseMove(f),!1},_simulateMouseUpEvent:function(r){var u={originalEvent:r.touches?r.touches[0]:r,target:this._layer};return r.type.indexOf("touch")===-1&&(u.containerPoint=this._map.mouseEventToContainerPoint(r),u.latlng=this._map.containerPointToLatLng(u.containerPoint)),this._dragMixinOnMouseUp(u),!1},_dragMixinOnMouseDown:function(r){if(!(r.originalEvent.button>0)){this._overwriteEventIfItComesFromMarker(r);var u=r._fromLayerSync,f=this._syncLayers("_dragMixinOnMouseDown",r);if(this._layer instanceof L.Marker&&(!this.options.snappable||u||f?this._disableSnapping():this._initSnappableMarkers()),this._layer instanceof L.CircleMarker){var y="resizeableCircleMarker";this._layer instanceof L.Circle&&(y="resizableCircle"),!this.options.snappable||u||f?this._layer.pm.options[y]?this._layer.pm._disableSnapping():this._layer.pm._disableSnappingDrag():this._layer.pm.options[y]||this._initSnappableMarkersDrag()}this._safeToCacheDragState&&(this._originalMapDragState=this._layer._map.dragging._enabled,this._safeToCacheDragState=!1),this._tempDragCoord=r.latlng,L.DomEvent.on(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),L.DomEvent.on(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this)}},_dragMixinOnMouseMove:function(r){this._overwriteEventIfItComesFromMarker(r);var u=this._getDOMElem();this._syncLayers("_dragMixinOnMouseMove",r),this._dragging||(this._dragging=!0,L.DomUtil.addClass(u,"leaflet-pm-dragging"),this._layer instanceof L.Marker||this._layer.bringToFront(),this._originalMapDragState&&this._map.dragging.disable(),this._fireDragStart()),this._tempDragCoord||(this._tempDragCoord=r.latlng),this._onLayerDrag(r),this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle()},_dragMixinOnMouseUp:function(r){var u=this,f=this._getDOMElem();return this._syncLayers("_dragMixinOnMouseUp",r),this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0,L.DomEvent.off(this._map.getContainer(),"touchmove mousemove",this._simulateMouseMoveEvent,this),L.DomEvent.off(this._map.getContainer(),"touchend mouseup",this._simulateMouseUpEvent,this),!!this._dragging&&(this._layer instanceof L.CircleMarker&&this._layer.pm._updateHiddenPolyCircle(),this._layerDragged=!0,window.setTimeout(function(){u._dragging=!1,f&&L.DomUtil.removeClass(f,"leaflet-pm-dragging"),u._fireDragEnd(),u._fireEdit(),u._layerEdited=!0},10),!0)},_onLayerDrag:function(r){var u=r.latlng,f=u.lat-this._tempDragCoord.lat,y=u.lng-this._tempDragCoord.lng,w=function Q(dt){return dt.map(function(ht){if(Array.isArray(ht))return Q(ht);var kt={lat:ht.lat+f,lng:ht.lng+y};return(ht.alt||ht.alt===0)&&(kt.alt=ht.alt),kt})};if(this._layer instanceof L.Circle&&this._layer.options.resizableCircle||this._layer instanceof L.CircleMarker&&this._layer.options.resizeableCircleMarker){var R=w([this._layer.getLatLng()]);this._layer.setLatLng(R[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.CircleMarker||this._layer instanceof L.Marker){var j=this._layer.getLatLng();this._layer._snapped&&(j=this._layer._orgLatLng);var q=w([j]);this._layer.setLatLng(q[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.ImageOverlay){var U=w([this._layer.getBounds().getNorthWest(),this._layer.getBounds().getSouthEast()]);this._layer.setBounds(U),this._fireChange(this._layer.getBounds(),"Edit")}else{var W=w(this._layer.getLatLngs());this._layer.setLatLngs(W),this._fireChange(this._layer.getLatLngs(),"Edit")}this._tempDragCoord=u,r.layer=this._layer,this._fireDrag(r)},addDraggingClass:function(){var r=this._getDOMElem();r&&L.DomUtil.addClass(r,"leaflet-pm-draggable")},removeDraggingClass:function(){var r=this._getDOMElem();r&&L.DomUtil.removeClass(r,"leaflet-pm-draggable")},_getDOMElem:function(){var r=null;return this._layer._path?r=this._layer._path:this._layer._renderer&&this._layer._renderer._container?r=this._layer._renderer._container:this._layer._image?r=this._layer._image:this._layer._icon&&(r=this._layer._icon),r},_overwriteEventIfItComesFromMarker:function(r){r.target.getLatLng&&(!r.target._radius||r.target._radius<=10)&&(r.containerPoint=this._map.mouseEventToContainerPoint(r.originalEvent),r.latlng=this._map.containerPointToLatLng(r.containerPoint))},_syncLayers:function(r,u){var f=this;if(this.enabled())return!1;if(!u._fromLayerSync&&this._layer===u.target&&this.options.syncLayersOnDrag){u._fromLayerSync=!0;var y=[];if(L.Util.isArray(this.options.syncLayersOnDrag))y=this.options.syncLayersOnDrag,this.options.syncLayersOnDrag.forEach(function(j){j instanceof L.LayerGroup&&(y=y.concat(j.pm.getLayers(!0)))});else if(this.options.syncLayersOnDrag===!0&&this._parentLayerGroup)for(var w in this._parentLayerGroup){var R=this._parentLayerGroup[w];R.pm&&(y=R.pm.getLayers(!0))}return L.Util.isArray(y)&&y.length>0&&(y=y.filter(function(j){return!!j.pm}).filter(function(j){return!!j.pm.options.draggable})).forEach(function(j){j!==f._layer&&j.pm[r]&&(j._snapped=!1,j.pm[r](u))}),y.length>0}return!1},_stopDOMImageDrag:function(r){return r.preventDefault(),!1}};function Wi(r,u,f){var y=f.getMaxZoom();if(y===1/0&&(y=f.getZoom()),L.Util.isArray(r)){var w=[];return r.forEach(function(R){w.push(Wi(R,u,f))}),w}return r instanceof L.LatLng?function(R,j,q,U){return q.unproject(j.transform(q.project(R,U)),U)}(r,u,f,y):null}function Cn(r,u){u instanceof L.Layer&&(u=u.getLatLng());var f=r.getMaxZoom();return f===1/0&&(f=r.getZoom()),r.project(u,f)}function qe(r,u){var f=r.getMaxZoom();return f===1/0&&(f=r.getZoom()),r.unproject(u,f)}var Us={_onRotateStart:function(r){this._preventRenderingMarkers(!0),this._rotationOriginLatLng=this._getRotationCenter().clone(),this._rotationOriginPoint=Cn(this._map,this._rotationOriginLatLng),this._rotationStartPoint=Cn(this._map,r.target.getLatLng()),this._initialRotateLatLng=zt(this._layer),this._startAngle=this.getAngle();var u=zt(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._fireRotationStart(this._rotationLayer,u),this._fireRotationStart(this._map,u)},_onRotate:function(r){var u=Cn(this._map,r.target.getLatLng()),f=this._rotationStartPoint,y=this._rotationOriginPoint,w=Math.atan2(u.y-y.y,u.x-y.x)-Math.atan2(f.y-y.y,f.x-y.x);this._layer.setLatLngs(this._rotateLayer(w,this._initialRotateLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var R=this;(function W(Q){var dt=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[],ht=arguments.length>2&&arguments[2]!==void 0?arguments[2]:-1;if(ht>-1&&dt.push(ht),L.Util.isArray(Q[0]))Q.forEach(function(Pt,Ut){return W(Pt,dt.slice(),Ut)});else{var kt=Mt()(R._markers,dt);Q.forEach(function(Pt,Ut){kt[Ut].setLatLng(Pt)})}})(this._layer.getLatLngs());var j=zt(this._rotationLayer);this._rotationLayer.setLatLngs(this._rotateLayer(w,this._rotationLayer.pm._rotateOrgLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));var q=180*w/Math.PI,U=(q=q<0?q+360:q)+this._startAngle;this._setAngle(U),this._rotationLayer.pm._setAngle(U),this._fireRotation(this._rotationLayer,q,j),this._fireRotation(this._map,q,j),this._rotationLayer.pm._fireChange(this._rotationLayer.getLatLngs(),"Rotation")},_onRotateEnd:function(){var r=this._startAngle;delete this._rotationOriginLatLng,delete this._rotationOriginPoint,delete this._rotationStartPoint,delete this._initialRotateLatLng,delete this._startAngle;var u=zt(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._rotationLayer.pm._rotateOrgLatLng=zt(this._rotationLayer),this._fireRotationEnd(this._rotationLayer,r,u),this._fireRotationEnd(this._map,r,u),this._rotationLayer.pm._fireEdit(this._rotationLayer,"Rotation"),this._preventRenderingMarkers(!1),this._layerRotated=!0},_rotateLayer:function(r,u,f,y,w){var R=Cn(w,f);return this._matrix=y.clone().rotate(r,R).flip(),Wi(u,this._matrix,w)},_setAngle:function(r){r=r<0?r+360:r,this._angle=r%360},_getRotationCenter:function(){if(this._rotationCenter)return this._rotationCenter;var r=L.polygon(this._layer.getLatLngs(),{stroke:!1,fill:!1,pmIgnore:!0}).addTo(this._layer._map),u=r.getCenter();return r.removeFrom(this._layer._map),u},enableRotate:function(){this.options.allowRotation?(this.rotateEnabled()&&this.disableRotate(),this._layer instanceof L.Rectangle&&this._angle===void 0&&this.setInitAngle(Me(this._layer._map,this._layer.getLatLngs()[0][0],this._layer.getLatLngs()[0][1])||0),this._rotatePoly=L.polygon(this._layer.getLatLngs(),{fill:!1,stroke:!1,pmIgnore:!1,snapIgnore:!0}),this._rotatePoly._pmTempLayer=!0,this._rotatePoly.addTo(this._layer._map),this._rotatePoly.pm._setAngle(this.getAngle()),this._rotatePoly.pm.setRotationCenter(this.getRotationCenter()),this._rotatePoly.pm.setOptions(this._layer._map.pm.getGlobalOptions()),this._rotatePoly.pm.setOptions({rotate:!0,snappable:!1,hideMiddleMarkers:!0}),this._rotatePoly.pm._rotationLayer=this._layer,this._rotatePoly.pm.enable(),this._rotateOrgLatLng=zt(this._layer),this._rotateEnabled=!0,this._layer.on("remove",this.disableRotate,this),this._fireRotationEnable(this._layer),this._fireRotationEnable(this._layer._map)):this.disableRotate()},disableRotate:function(){this.rotateEnabled()&&(this._rotatePoly.pm._layerRotated&&this._fireUpdate(),this._rotatePoly.pm._layerRotated=!1,this._rotatePoly.pm.disable(),this._rotatePoly.remove(),this._rotatePoly.pm.setOptions({rotate:!1}),this._rotatePoly=void 0,this._rotateOrgLatLng=void 0,this._layer.off("remove",this.disableRotate,this),this._rotateEnabled=!1,this._fireRotationDisable(this._layer),this._fireRotationDisable(this._layer._map))},rotateEnabled:function(){return this._rotateEnabled},rotateLayer:function(r){var u=this.getAngle(),f=this._layer.getLatLngs(),y=r*(Math.PI/180);this._layer.setLatLngs(this._rotateLayer(y,this._layer.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._layer._map)),this._rotateOrgLatLng=L.polygon(this._layer.getLatLngs()).getLatLngs(),this._setAngle(this.getAngle()+r),this.rotateEnabled()&&this._rotatePoly&&this._rotatePoly.pm.enabled()&&(this._rotatePoly.setLatLngs(this._rotateLayer(y,this._rotatePoly.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._rotatePoly._map)),this._rotatePoly.pm._initMarkers());var w=this.getAngle()-u;w=w<0?w+360:w,this._startAngle=u,this._fireRotation(this._layer,w,f,this._layer),this._fireRotation(this._map||this._layer._map,w,f,this._layer),delete this._startAngle,this._fireChange(this._layer.getLatLngs(),"Rotation")},rotateLayerToAngle:function(r){var u=r-this.getAngle();this.rotateLayer(u)},getAngle:function(){return this._angle||0},setInitAngle:function(r){this._setAngle(r)},getRotationCenter:function(){return this._getRotationCenter()},setRotationCenter:function(r){this._rotationCenter=r,this._rotatePoly&&this._rotatePoly.pm.setRotationCenter(r)}};const Ji=Us,Ce=L.Class.extend({includes:[Be,b,Ji,ot],options:{snappable:!0,snapDistance:20,allowSelfIntersection:!0,allowSelfIntersectionEdit:!1,preventMarkerRemoval:!1,removeLayerBelowMinVertexCount:!0,limitMarkersToCount:-1,hideMiddleMarkers:!1,snapSegment:!0,syncLayersOnDrag:!1,draggable:!0,allowEditing:!0,allowRemoval:!0,allowCutting:!0,allowRotation:!0,addVertexOn:"click",removeVertexOn:"contextmenu",removeVertexValidation:void 0,addVertexValidation:void 0,moveVertexValidation:void 0,resizeableCircleMarker:!1,resizableCircle:!0},setOptions:function(r){L.Util.setOptions(this,r)},getOptions:function(){return this.options},applyOptions:function(){},isPolygon:function(){return this._layer instanceof L.Polygon},getShape:function(){return this._shape},_setPane:function(r,u){u==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":u==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":u==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},remove:function(){(this._map||this._layer._map).pm.removeLayer({target:this._layer})},_vertexValidation:function(r,u){var f=u.target,y={layer:this._layer,marker:f,event:u},w="";return r==="move"?w="moveVertexValidation":r==="add"?w="addVertexValidation":r==="remove"&&(w="removeVertexValidation"),this.options[w]&&typeof this.options[w]=="function"&&!this.options[w](y)?(r==="move"&&(f._cancelDragEventChain=f.getLatLng()),!1):(f._cancelDragEventChain=null,!0)},_vertexValidationDrag:function(r){return!r._cancelDragEventChain||(r._latlng=r._cancelDragEventChain,r.update(),!1)},_vertexValidationDragEnd:function(r){return!r._cancelDragEventChain||(r._cancelDragEventChain=null,!1)}});function Ee(r){return function(u){if(Array.isArray(u))return Pn(u)}(r)||function(u){if(typeof Symbol<"u"&&u[Symbol.iterator]!=null||u["@@iterator"]!=null)return Array.from(u)}(r)||function(u,f){if(u){if(typeof u=="string")return Pn(u,f);var y=Object.prototype.toString.call(u).slice(8,-1);if(y==="Object"&&u.constructor&&(y=u.constructor.name),y==="Map"||y==="Set")return Array.from(u);if(y==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(y))return Pn(u,f)}}(r)||function(){throw new TypeError(`Invalid attempt to spread non-iterable instance. +In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}()}function Pn(r,u){(u==null||u>r.length)&&(u=r.length);for(var f=0,y=new Array(u);f0&&u._getMap()&&u._getMap().pm.globalEditModeEnabled()&&u.enabled()&&u.enable(u.getOptions())}},100,this),this),this._layerGroup.on("layerremove",function(f){u._removeLayerFromGroup(f.target)},this),this._layerGroup.on("layerremove",L.Util.throttle(function(f){f.target._pmTempLayer||(u._layers=u.getLayers())},100,this),this)},enable:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];u.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(function(f){f instanceof L.LayerGroup?u.indexOf(f._leaflet_id)===-1&&(u.push(f._leaflet_id),f.pm.enable(r,u)):f.pm.enable(r)})},disable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.length===0&&(this._layers=this.getLayers()),this._layers.forEach(function(u){u instanceof L.LayerGroup?r.indexOf(u._leaflet_id)===-1&&(r.push(u._leaflet_id),u.pm.disable(r)):u.pm.disable()})},enabled:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];r.length===0&&(this._layers=this.getLayers());var u=this._layers.find(function(f){return f instanceof L.LayerGroup?r.indexOf(f._leaflet_id)===-1&&(r.push(f._leaflet_id),f.pm.enabled(r)):f.pm.enabled()});return!!u},toggleEdit:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];u.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(function(f){f instanceof L.LayerGroup?u.indexOf(f._leaflet_id)===-1&&(u.push(f._leaflet_id),f.pm.toggleEdit(r,u)):f.pm.toggleEdit(r)})},_initLayer:function(r){var u=L.Util.stamp(this._layerGroup);r.pm._parentLayerGroup||(r.pm._parentLayerGroup={}),r.pm._parentLayerGroup[u]=this._layerGroup},_removeLayerFromGroup:function(r){if(r.pm&&r.pm._layerGroup){var u=L.Util.stamp(this._layerGroup);delete r.pm._layerGroup[u]}},dragging:function(){if(this._layers=this.getLayers(),this._layers){var r=this._layers.find(function(u){return u.pm.dragging()});return!!r}return!1},getOptions:function(){return this.options},_getMap:function(){var r;return this._map||((r=this._layers.find(function(u){return!!u._map}))===null||r===void 0?void 0:r._map)||null},getLayers:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0],u=!(arguments.length>1&&arguments[1]!==void 0)||arguments[1],f=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],y=arguments.length>3&&arguments[3]!==void 0?arguments[3]:[],w=[];return r?this._layerGroup.getLayers().forEach(function(R){w.push(R),R instanceof L.LayerGroup&&y.indexOf(R._leaflet_id)===-1&&(y.push(R._leaflet_id),w=w.concat(R.pm.getLayers(!0,!0,!0,y)))}):w=this._layerGroup.getLayers(),f&&(w=w.filter(function(R){return!(R instanceof L.LayerGroup)})),u&&(w=(w=(w=w.filter(function(R){return!!R.pm})).filter(function(R){return!R._pmTempLayer})).filter(function(R){return!L.PM.optIn&&!R.options.pmIgnore||L.PM.optIn&&R.options.pmIgnore===!1})),w},setOptions:function(r){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];u.length===0&&(this._layers=this.getLayers()),this.options=r,this._layers.forEach(function(f){f.pm&&(f instanceof L.LayerGroup?u.indexOf(f._leaflet_id)===-1&&(u.push(f._leaflet_id),f.pm.setOptions(r,u)):f.pm.setOptions(r))})}}),Ce.Marker=Ce.extend({_shape:"Marker",initialize:function(r){this._layer=r,this._enabled=!1,this._layer.on("dragend",this._onDragEnd,this)},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0};L.Util.setOptions(this,r),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._fireEnable()):this.disable()},disable:function(){this.enabled()&&(this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this._layer.off("contextmenu",this._removeMarker,this),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1)},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this.options.draggable?this.enableLayerDrag():this.disableLayerDrag(),this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_removeMarker:function(r){var u=r.target;u.remove(),this._fireRemove(u),this._fireRemove(this._map,u)},_onDragEnd:function(){this._fireEdit(),this._layerEdited=!0},_initSnappableMarkers:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)}});const Si={filterMarkerGroup:function(){this.markerCache=[],this.createCache(),this._layer.on("pm:edit",this.createCache,this),this.applyLimitFilters({}),this.throttledApplyLimitFilters||(this.throttledApplyLimitFilters=L.Util.throttle(this.applyLimitFilters,100,this)),this._layer.on("pm:disable",this._removeMarkerLimitEvents,this),this.options.limitMarkersToCount>-1&&(this._layer.on("pm:vertexremoved",this._initMarkers,this),this._map.on("mousemove",this.throttledApplyLimitFilters,this))},_removeMarkerLimitEvents:function(){this._map.off("mousemove",this.throttledApplyLimitFilters,this),this._layer.off("pm:edit",this.createCache,this),this._layer.off("pm:disable",this._removeMarkerLimitEvents,this),this._layer.off("pm:vertexremoved",this._initMarkers,this)},createCache:function(){var r=[].concat(Ee(this._markerGroup.getLayers()),Ee(this.markerCache));this.markerCache=r.filter(function(u,f,y){return y.indexOf(u)===f})},renderLimits:function(r){var u=this;this.markerCache.forEach(function(f){r.includes(f)?u._markerGroup.addLayer(f):u._markerGroup.removeLayer(f)})},applyLimitFilters:function(r){var u=r.latlng,f=u===void 0?{lat:0,lng:0}:u;if(!this._preventRenderMarkers){var y=Ee(this._filterClosestMarkers(f));this.renderLimits(y)}},_filterClosestMarkers:function(r){var u=Ee(this.markerCache),f=this.options.limitMarkersToCount;return f===-1?u:(u.sort(function(y,w){return y._latlng.distanceTo(r)-w._latlng.distanceTo(r)}),u.filter(function(y,w){return!(f>-1)||wr.length)&&(u=r.length);for(var f=0,y=new Array(u);fr.length)&&(u=r.length);for(var f=0,y=new Array(u);f1?Mt()(w,U):w,Q=j.length>1?Mt()(this._markers,U):this._markers;W.splice(q+1,0,y),Q.splice(q+1,0,r),this._layer.setLatLngs(w),this.options.hideMiddleMarkers!==!0&&(this._createMiddleMarker(u,r),this._createMiddleMarker(r,f)),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"),this._fireVertexAdded(r,L.PM.Utils.findDeepMarkerIndex(this._markers,r).indexPath,y),this.options.snappable&&this._initSnappableMarkers()},hasSelfIntersection:function(){return le(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersectionOnVertexRemoval:function(){this._handleLayerStyle(!0)&&(this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers())},_handleLayerStyle:function(r){var u,f,y=this._layer;if(u=!this.options.allowSelfIntersection&&(f=le(this._layer.toGeoJSON(15))).features.length>0){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!0),this.isRed)return u;r?this._flashLayer():(y.setStyle({color:"#f00000ff"}),this.isRed=!0),this._fireIntersect(f)}else y.setStyle({color:this.cachedColor}),this.isRed=!1,!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!1);return u},_flashLayer:function(){var r=this;this.cachedColor||(this.cachedColor=this._layer.options.color),this._layer.setStyle({color:"#f00000ff"}),this.isRed=!0,window.setTimeout(function(){r._layer.setStyle({color:r.cachedColor}),r.isRed=!1},200)},_updateDisabledMarkerStyle:function(r,u){var f=this;r.forEach(function(y){Array.isArray(y)?f._updateDisabledMarkerStyle(y,u):y._icon&&(u&&!f._checkMarkerAllowedToDrag(y)?L.DomUtil.addClass(y._icon,"vertexmarker-disabled"):L.DomUtil.removeClass(y._icon,"vertexmarker-disabled"))})},_removeMarker:function(r){var u=r.target;if(this._vertexValidation("remove",r)){this.options.allowSelfIntersection||(this._coordsBeforeEdit=zt(this._layer,this._layer.getLatLngs()));var f=this._layer.getLatLngs(),y=L.PM.Utils.findDeepMarkerIndex(this._markers,u),w=y.indexPath,R=y.index,j=y.parentPath;if(w){var q=w.length>1?Mt()(f,j):f,U=w.length>1?Mt()(this._markers,j):this._markers;if(this.options.removeLayerBelowMinVertexCount||!(q.length<=2||this.isPolygon()&&q.length<=3)){q.splice(R,1),this._layer.setLatLngs(f),this.isPolygon()&&q.length<=2&&q.splice(0,q.length);var W=!1;if(q.length<=1&&(q.splice(0,q.length),j.length>1&&w.length>1&&(f=Rt(f)),this._layer.setLatLngs(f),this._initMarkers(),W=!0),oe(f)||this._layer.remove(),f=Rt(f),this._layer.setLatLngs(f),this._markers=Rt(this._markers),!W&&(U=w.length>1?Mt()(this._markers,j):this._markers,u._middleMarkerPrev&&this._markerGroup.removeLayer(u._middleMarkerPrev),u._middleMarkerNext&&this._markerGroup.removeLayer(u._middleMarkerNext),this._markerGroup.removeLayer(u),U)){var Q,dt;if(this.isPolygon()?(Q=(R+1)%U.length,dt=(R+(U.length-1))%U.length):(dt=R-1<0?void 0:R-1,Q=R+1>=U.length?void 0:R+1),Q!==dt){var ht=U[dt],kt=U[Q];this.options.hideMiddleMarkers!==!0&&this._createMiddleMarker(ht,kt)}U.splice(R,1)}this._fireEdit(),this._layerEdited=!0,this._fireVertexRemoved(u,w),this._fireChange(this._layer.getLatLngs(),"Edit")}else this._flashLayer()}}},updatePolygonCoordsFromMarkerDrag:function(r){var u=this._layer.getLatLngs(),f=r.getLatLng(),y=L.PM.Utils.findDeepMarkerIndex(this._markers,r),w=y.indexPath,R=y.index,j=y.parentPath;(w.length>1?Mt()(u,j):u).splice(R,1,f),this._layer.setLatLngs(u)},_getNeighborMarkers:function(r){var u=L.PM.Utils.findDeepMarkerIndex(this._markers,r),f=u.indexPath,y=u.index,w=u.parentPath,R=f.length>1?Mt()(this._markers,w):this._markers,j=(y+1)%R.length;return{prevMarker:R[(y+(R.length-1))%R.length],nextMarker:R[j]}},_checkMarkerAllowedToDrag:function(r){var u=this._getNeighborMarkers(r),f=u.prevMarker,y=u.nextMarker,w=L.polyline([f.getLatLng(),r.getLatLng()]),R=L.polyline([r.getLatLng(),y.getLatLng()]),j=Hn(this._layer.toGeoJSON(15),w.toGeoJSON(15)).features.length,q=Hn(this._layer.toGeoJSON(15),R.toGeoJSON(15)).features.length;return r.getLatLng()===this._markers[0][0].getLatLng()?q+=1:r.getLatLng()===this._markers[0][this._markers[0].length-1].getLatLng()&&(j+=1),!(j<=2&&q<=2)},_onMarkerDragStart:function(r){var u=r.target;if(this.cachedColor||(this.cachedColor=this._layer.options.color),this._vertexValidation("move",r)){var f=L.PM.Utils.findDeepMarkerIndex(this._markers,u).indexPath;this._fireMarkerDragStart(r,f),this.options.allowSelfIntersection||(this._coordsBeforeEdit=zt(this._layer,this._layer.getLatLngs())),!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()?this._markerAllowedToDrag=this._checkMarkerAllowedToDrag(u):this._markerAllowedToDrag=null}},_onMarkerDrag:function(r){var u=r.target;if(this._vertexValidationDrag(u)){var f=L.PM.Utils.findDeepMarkerIndex(this._markers,u),y=f.indexPath,w=f.index,R=f.parentPath;if(y){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()&&this._markerAllowedToDrag===!1)return this._layer.setLatLngs(this._coordsBeforeEdit),this._initMarkers(),void this._handleLayerStyle();this.updatePolygonCoordsFromMarkerDrag(u);var j=y.length>1?Mt()(this._markers,R):this._markers,q=(w+1)%j.length,U=(w+(j.length-1))%j.length,W=u.getLatLng(),Q=j[U].getLatLng(),dt=j[q].getLatLng();if(u._middleMarkerNext){var ht=L.PM.Utils.calcMiddleLatLng(this._map,W,dt);u._middleMarkerNext.setLatLng(ht)}if(u._middleMarkerPrev){var kt=L.PM.Utils.calcMiddleLatLng(this._map,W,Q);u._middleMarkerPrev.setLatLng(kt)}this.options.allowSelfIntersection||this._handleLayerStyle(),this._fireMarkerDrag(r,y),this._fireChange(this._layer.getLatLngs(),"Edit")}}},_onMarkerDragEnd:function(r){var u=r.target;if(this._vertexValidationDragEnd(u)){var f=L.PM.Utils.findDeepMarkerIndex(this._markers,u).indexPath,y=this.hasSelfIntersection();y&&this.options.allowSelfIntersectionEdit&&this._markerAllowedToDrag&&(y=!1);var w=!this.options.allowSelfIntersection&&y;if(this._fireMarkerDragEnd(r,f,w),w)return this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers(),this.options.snappable&&this._initSnappableMarkers(),this._handleLayerStyle(),void this._fireLayerReset(r,f);!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._handleLayerStyle(),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit")}},_onVertexClick:function(r){var u=r.target;if(!u._dragging){var f=L.PM.Utils.findDeepMarkerIndex(this._markers,u).indexPath;this._fireVertexClick(r,f)}}}),Ce.Polygon=Ce.Line.extend({_shape:"Polygon",_checkMarkerAllowedToDrag:function(r){var u=this._getNeighborMarkers(r),f=u.prevMarker,y=u.nextMarker,w=L.polyline([f.getLatLng(),r.getLatLng()]),R=L.polyline([r.getLatLng(),y.getLatLng()]),j=Hn(this._layer.toGeoJSON(15),w.toGeoJSON(15)).features.length,q=Hn(this._layer.toGeoJSON(15),R.toGeoJSON(15)).features.length;return!(j<=2&&q<=2)}}),Ce.Rectangle=Ce.Polygon.extend({_shape:"Rectangle",_initMarkers:function(){var r=this,u=this._map,f=this._findCorners();this._markerGroup&&this._markerGroup.clearLayers(),this._markerGroup=new L.FeatureGroup,this._markerGroup._pmTempLayer=!0,u.addLayer(this._markerGroup),this._markers=[],this._markers[0]=f.map(this._createMarker,this);var y=Ei(this._markers,1);this._cornerMarkers=y[0],this._layer.getLatLngs()[0].forEach(function(w,R){var j=r._cornerMarkers.find(function(q){return q._index===R});j&&j.setLatLng(w)})},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this._addMarkerEvents()},_createMarker:function(r,u){var f=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(f,"vertexPane"),f._origLatLng=r,f._index=u,f._pmTempLayer=!0,f.on("click",this._onVertexClick,this),this._markerGroup.addLayer(f),f},_addMarkerEvents:function(){var r=this;this._markers[0].forEach(function(u){u.on("dragstart",r._onMarkerDragStart,r),u.on("drag",r._onMarkerDrag,r),u.on("dragend",r._onMarkerDragEnd,r),r.options.preventMarkerRemoval||u.on("contextmenu",r._removeMarker,r)})},_removeMarker:function(){return null},_onMarkerDragStart:function(r){if(this._vertexValidation("move",r)){var u=r.target,f=this._cornerMarkers;u._oppositeCornerLatLng=f.find(function(y){return y._index===(u._index+2)%4}).getLatLng(),u._snapped=!1,this._fireMarkerDragStart(r)}},_onMarkerDrag:function(r){var u=r.target;this._vertexValidationDrag(u)&&u._index!==void 0&&(this._adjustRectangleForMarkerMove(u),this._fireMarkerDrag(r),this._fireChange(this._layer.getLatLngs(),"Edit"))},_onMarkerDragEnd:function(r){var u=r.target;this._vertexValidationDragEnd(u)&&(this._cornerMarkers.forEach(function(f){delete f._oppositeCornerLatLng}),this._fireMarkerDragEnd(r),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"))},_adjustRectangleForMarkerMove:function(r){L.extend(r._origLatLng,r._latlng);var u=L.PM.Utils._getRotatedRectangle(r.getLatLng(),r._oppositeCornerLatLng,this.getAngle(),this._map);this._layer.setLatLngs(u),this._adjustAllMarkers(),this._layer.redraw()},_adjustAllMarkers:function(){var r=this,u=this._layer.getLatLngs()[0];u&&u.length!==4&&u.length>0?(u.forEach(function(f,y){r._cornerMarkers[y].setLatLng(f)}),this._cornerMarkers.slice(u.length).forEach(function(f){f.setLatLng(u[0])})):u&&u.length?this._cornerMarkers.forEach(function(f){f.setLatLng(u[f._index])}):console.error("The layer has no LatLngs")},_findCorners:function(){this._angle===void 0&&this.setInitAngle(Me(this._map,this._layer.getLatLngs()[0][0],this._layer.getLatLngs()[0][1])||0);var r=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(r[0],r[2],this.getAngle(),this._map||this)}}),Ce.CircleMarker=Ce.extend({_shape:"CircleMarker",initialize:function(r){this._layer=r,this._enabled=!1,this._minRadiusOption="minRadiusCircleMarker",this._maxRadiusOption="maxRadiusCircleMarker",this._editableOption="resizeableCircleMarker",this._updateHiddenPolyCircle()},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,r),this.options.editable&&(this.options.resizeableCircleMarker=this.options.editable,delete this.options.editable),this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._extendingEnable(),this._updateHiddenPolyCircle(),this._fireEnable()):this.disable()},_extendingEnable:function(){this._layer.on("pm:dragstart",this._onDragStart,this),this._layer.on("pm:drag",this._onMarkerDrag,this),this._layer.on("pm:dragend",this._onMarkerDragEnd,this)},disable:function(){this.dragging()||(this._map||(this._map=this._layer._map),this._map&&this.enabled()&&(this.layerDragEnabled()&&this.disableLayerDrag(),this.options[this._editableOption]?(this._helperLayers&&this._helperLayers.clearLayers(),this._map.off("move",this._syncMarkers,this),this._outerMarker.off("drag",this._handleOuterMarkerSnapping,this)):this._map.off("move",this._updateHiddenPolyCircle,this),this._extendingDisable(),this._layer.off("remove",this.disable,this),this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1))},_extendingDisable:function(){this._layer.off("contextmenu",this._removeMarker,this)},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){this.options[this._editableOption]?(this._initMarkers(),this._map.on("move",this._syncMarkers,this),this.options.snappable?(this._initSnappableMarkers(),this._outerMarker.on("drag",this._handleOuterMarkerSnapping,this),this._outerMarker.on("move",this._syncHintLine,this),this._outerMarker.on("move",this._syncCircleRadius,this),this._centerMarker.on("move",this._moveCircle,this)):this._disableSnapping()):(this.options.draggable&&this.enableLayerDrag(),this._map.on("move",this._updateHiddenPolyCircle,this),this.options.snappable?this._initSnappableMarkersDrag():this._disableSnappingDrag()),this._extendingApplyOptions()},_extendingApplyOptions:function(){this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_initMarkers:function(){var r=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(r);var u=this._layer.getLatLng(),f=this._layer._radius,y=this._getLatLngOnCircle(u,f);this._centerMarker=this._createCenterMarker(u),this._outerMarker=this._createOuterMarker(y),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},_getLatLngOnCircle:function(r,u){var f=this._map.project(r),y=L.point(f.x+u,f.y);return this._map.unproject(y)},_createHintLine:function(r,u){var f=r.getLatLng(),y=u.getLatLng();this._hintline=L.polyline([f,y],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker:function(r){var u=this._createMarker(r);return this.options.draggable?L.DomUtil.addClass(u._icon,"leaflet-pm-draggable"):u.dragging.disable(),u},_createOuterMarker:function(r){var u=this._createMarker(r);return u.on("drag",this._resizeCircle,this),u},_createMarker:function(r){var u=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(u,"vertexPane"),u._origLatLng=r,u._pmTempLayer=!0,u.on("dragstart",this._onMarkerDragStart,this),u.on("drag",this._onMarkerDrag,this),u.on("dragend",this._onMarkerDragEnd,this),u.on("click",this._onVertexClick,this),this._helperLayers.addLayer(u),u},_moveCircle:function(r){if(!r.target._cancelDragEventChain){var u=this._centerMarker.getLatLng();this._layer.setLatLng(u);var f=this._layer._radius,y=this._getLatLngOnCircle(u,f);this._outerMarker._latlng=y,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")}},_syncMarkers:function(){var r=this._layer.getLatLng(),u=this._layer._radius,f=this._getLatLngOnCircle(r,u);this._outerMarker.setLatLng(f),this._centerMarker.setLatLng(r),this._syncHintLine(),this._updateHiddenPolyCircle()},_resizeCircle:function(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_syncCircleRadius:function(){var r=this._centerMarker.getLatLng(),u=this._outerMarker.getLatLng(),f=this._distanceCalculation(r,u);this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption]?this._layer.setRadius(this.options[this._maxRadiusOption]):this._layer.setRadius(f),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine:function(){var r=this._centerMarker.getLatLng(),u=this._outerMarker.getLatLng();this._hintline.setLatLngs([r,u])},_removeMarker:function(){this.options[this._editableOption]&&this.disable(),this._layer.remove(),this._fireRemove(this._layer),this._fireRemove(this._map,this._layer)},_onDragStart:function(){this._map.pm.Draw.CircleMarker._layerIsDragging=!0},_onMarkerDragStart:function(r){this._vertexValidation("move",r)&&this._fireMarkerDragStart(r)},_onMarkerDrag:function(r){var u=r.target;u instanceof L.Marker&&!this._vertexValidationDrag(u)||this._fireMarkerDrag(r)},_onMarkerDragEnd:function(r){this._extedingMarkerDragEnd();var u=r.target;this._vertexValidationDragEnd(u)&&(this.options[this._editableOption]&&(this._fireEdit(),this._layerEdited=!0),this._fireMarkerDragEnd(r))},_extedingMarkerDragEnd:function(){this._map.pm.Draw.CircleMarker._layerIsDragging=!1},_initSnappableMarkersDrag:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnappingDrag:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)},_updateHiddenPolyCircle:function(){var r=this._layer._map||this._map;if(r){var u=L.PM.Utils.pxRadiusToMeterRadius(this._layer.getRadius(),r,this._layer.getLatLng()),f=L.circle(this._layer.getLatLng(),this._layer.options);f.setRadius(u);var y=r&&r.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(f,200,!y).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(f,200,!y),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)}},_getNewDestinationOfOuterMarker:function(){var r=this._centerMarker.getLatLng(),u=this._outerMarker.getLatLng(),f=this._distanceCalculation(r,u);return this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption]&&(u=ce(this._map,r,u,this._getMaxDistanceInMeter(r))),u},_handleOuterMarkerSnapping:function(){if(this._outerMarker._snapped){var r=this._centerMarker.getLatLng(),u=this._outerMarker.getLatLng(),f=this._distanceCalculation(r,u);(this.options[this._minRadiusOption]&&fthis.options[this._maxRadiusOption])&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())},_distanceCalculation:function(r,u){return this._map.project(r).distanceTo(this._map.project(u))},_getMinDistanceInMeter:function(r){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._minRadiusOption],this._map,r)},_getMaxDistanceInMeter:function(r){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._maxRadiusOption],this._map,r)},_onVertexClick:function(r){r.target._dragging||this._fireVertexClick(r,void 0)}}),Ce.Circle=Ce.CircleMarker.extend({_shape:"Circle",initialize:function(r){this._layer=r,this._enabled=!1,this._minRadiusOption="minRadiusCircle",this._maxRadiusOption="maxRadiusCircle",this._editableOption="resizableCircle",this._updateHiddenPolyCircle()},enable:function(r){L.PM.Edit.CircleMarker.prototype.enable.call(this,r||{})},_extendingEnable:function(){},_extendingDisable:function(){this._layer.off("remove",this.disable,this);var r=this._layer._path?this._layer._path:this._layer._renderer._container;L.DomUtil.removeClass(r,"leaflet-pm-draggable")},_extendingApplyOptions:function(){},_syncMarkers:function(){},_removeMarker:function(){},_onDragStart:function(){},_extedingMarkerDragEnd:function(){},_updateHiddenPolyCircle:function(){var r=this._map&&this._map.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(this._layer,200,!r).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(this._layer,200,!r),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)},_distanceCalculation:function(r,u){return this._map.distance(r,u)},_getMinDistanceInMeter:function(){return this.options[this._minRadiusOption]},_getMaxDistanceInMeter:function(){return this.options[this._maxRadiusOption]},_onVertexClick:function(r){r.target._dragging||this._fireVertexClick(r,void 0)}}),Ce.ImageOverlay=Ce.extend({_shape:"ImageOverlay",initialize:function(r){this._layer=r,this._enabled=!1},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},enabled:function(){return this._enabled},enable:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{draggable:!0,snappable:!0};L.Util.setOptions(this,r),this._map=this._layer._map,this._map&&(this.options.allowEditing?(this.enabled()||this.disable(),this.enableLayerDrag(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._otherSnapLayers=this._findCorners(),this._fireEnable()):this.disable())},disable:function(){this._dragging||(this._map||(this._map=this._layer._map),this.disableLayerDrag(),this._layer.off("remove",this.disable,this),this.enabled()||(this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable()),this._enabled=!1)},_findCorners:function(){var r=this._layer.getBounds();return[r.getNorthWest(),r.getNorthEast(),r.getSouthEast(),r.getSouthWest()]}}),Ce.Text=Ce.extend({_shape:"Text",initialize:function(r){this._layer=r,this._enabled=!1},enable:function(r){L.Util.setOptions(this,r),this.textArea&&(this.options.allowEditing&&this._layer._map?(this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._safeToCacheDragState=!0,this._focusChange(),this.textArea.readOnly=!1,this.textArea.classList.remove("pm-disabled"),this._layer.on("remove",this.disable,this),L.DomEvent.on(this.textArea,"input",this._autoResize,this),L.DomEvent.on(this.textArea,"focus",this._focusChange,this),L.DomEvent.on(this.textArea,"blur",this._focusChange,this),this._layer.on("dblclick",L.DomEvent.stop),L.DomEvent.off(this.textArea,"mousedown",this._preventTextSelection),this._enabled=!0,this._fireEnable()):this.disable())},disable:function(){if(this.enabled()){this._layer.off("remove",this.disable,this),L.DomEvent.off(this.textArea,"input",this._autoResize,this),L.DomEvent.off(this.textArea,"focus",this._focusChange,this),L.DomEvent.off(this.textArea,"blur",this._focusChange,this),L.DomEvent.off(document,"click",this._documentClick,this),this._focusChange(),this.textArea.readOnly=!0,this.textArea.classList.add("pm-disabled");var r=document.activeElement;this.textArea.focus(),this.textArea.selectionStart=0,this.textArea.selectionEnd=0,L.DomEvent.on(this.textArea,"mousedown",this._preventTextSelection),r.focus(),this._disableOnBlurActive=!1,this._layerEdited&&this._fireUpdate(),this._layerEdited=!1,this._fireDisable(),this._enabled=!1}},enabled:function(){return this._enabled},toggleEdit:function(r){this.enabled()?this.disable():this.enable(r)},applyOptions:function(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping()},_initSnappableMarkers:function(){var r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0||this.options.snapSegment,r.off("pm:drag",this._handleSnapping,this),r.on("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.on("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this),r.on("pm:dragstart",this._unsnap,this)},_disableSnapping:function(){var r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)},_autoResize:function(){this.textArea.style.height="1px",this.textArea.style.width="1px";var r=this.textArea.scrollHeight>21?this.textArea.scrollHeight:21,u=this.textArea.scrollWidth>16?this.textArea.scrollWidth:16;this.textArea.style.height="".concat(r,"px"),this.textArea.style.width="".concat(u,"px"),this._layer.options.text=this.getText(),this._fireTextChange(this.getText())},_disableOnBlur:function(){var r=this;this._disableOnBlurActive=!0,setTimeout(function(){r.enabled()&&L.DomEvent.on(document,"click",r._documentClick,r)},100)},_documentClick:function(r){r.target!==this.textArea&&(this.disable(),!this.getText()&&this.options.removeIfEmpty&&this.remove())},_focusChange:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=this._hasFocus;this._hasFocus=r.type==="focus",!u!=!this._hasFocus&&(this._hasFocus?(this._applyFocus(),this._focusText=this.getText(),this._fireTextFocus()):(this._removeFocus(),this._fireTextBlur(),this._focusText!==this.getText()&&(this._fireEdit(),this._layerEdited=!0)))},_applyFocus:function(){this.textArea.classList.add("pm-hasfocus"),this._map.dragging&&(this._safeToCacheDragState&&(this._originalMapDragState=this._map.dragging._enabled,this._safeToCacheDragState=!1),this._map.dragging.disable())},_removeFocus:function(){this._map.dragging&&(this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0),this.textArea.classList.remove("pm-hasfocus")},focus:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.focus()},blur:function(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.blur(),this._disableOnBlurActive&&this.disable()},hasFocus:function(){return this._hasFocus},getElement:function(){return this.textArea},setText:function(r){this.textArea.value=r,this._autoResize()},getText:function(){return this.textArea.value},_initTextMarker:function(){if(this.textArea=L.PM.Draw.Text.prototype._createTextArea.call(this),this.options.className){var r,u=this.options.className.split(" ");(r=this.textArea.classList).add.apply(r,Ti(u))}var f=L.PM.Draw.Text.prototype._createTextIcon.call(this,this.textArea);this._layer.setIcon(f),this._layer.once("add",this._createTextMarker,this)},_createTextMarker:function(){var r=arguments.length>0&&arguments[0]!==void 0&&arguments[0];this._layer.off("add",this._createTextMarker,this),this._layer.getElement().tabIndex=-1,this.textArea.wrap="off",this.textArea.style.overflow="hidden",this.textArea.style.height=L.DomUtil.getStyle(this.textArea,"font-size"),this.textArea.style.width="1px",this._layer.options.text&&this.setText(this._layer.options.text),this._autoResize(),r===!0&&(this.enable(),this.focus(),this._disableOnBlur())},_preventTextSelection:function(r){r.preventDefault()}});var Ai=function(r,u,f,y,w,R){this._matrix=[r,u,f,y,w,R]};Ai.init=function(){return new L.PM.Matrix(1,0,0,1,0,0)},Ai.prototype={transform:function(r){return this._transform(r.clone())},_transform:function(r){var u=this._matrix,f=r.x,y=r.y;return r.x=u[0]*f+u[1]*y+u[4],r.y=u[2]*f+u[3]*y+u[5],r},untransform:function(r){var u=this._matrix;return new L.Point((r.x/u[0]-u[4])/u[0],(r.y/u[2]-u[5])/u[2])},clone:function(){var r=this._matrix;return new L.PM.Matrix(r[0],r[1],r[2],r[3],r[4],r[5])},translate:function(r){return r===void 0?new L.Point(this._matrix[4],this._matrix[5]):(typeof r=="number"?(u=r,f=r):(u=r.x,f=r.y),this._add(1,0,0,1,u,f));var u,f},scale:function(r,u){return r===void 0?new L.Point(this._matrix[0],this._matrix[3]):(u=u||L.point(0,0),typeof r=="number"?(f=r,y=r):(f=r.x,y=r.y),this._add(f,0,0,y,u.x,u.y)._add(1,0,0,1,-u.x,-u.y));var f,y},rotate:function(r,u){var f=Math.cos(r),y=Math.sin(r);return u=u||new L.Point(0,0),this._add(f,y,-y,f,u.x,u.y)._add(1,0,0,1,-u.x,-u.y)},flip:function(){return this._matrix[1]*=-1,this._matrix[2]*=-1,this},_add:function(r,u,f,y,w,R){var j,q=[[],[],[]],U=this._matrix,W=[[U[0],U[2],U[4]],[U[1],U[3],U[5]],[0,0,1]],Q=[[r,f,w],[u,y,R],[0,0,1]];r&&r instanceof L.PM.Matrix&&(Q=[[(U=r._matrix)[0],U[2],U[4]],[U[1],U[3],U[5]],[0,0,1]]);for(var dt=0;dt<3;dt+=1)for(var ht=0;ht<3;ht+=1){j=0;for(var kt=0;kt<3;kt+=1)j+=W[dt][kt]*Q[kt][ht];q[dt][ht]=j}return this._matrix=[q[0][0],q[1][0],q[0][1],q[1][1],q[0][2],q[1][2]],this}};const Xi=Ai;var Dr={calcMiddleLatLng:function(r,u,f){var y=r.project(u),w=r.project(f);return r.unproject(y._add(w)._divideBy(2))},findLayers:function(r){var u=[];return r.eachLayer(function(f){(f instanceof L.Polyline||f instanceof L.Marker||f instanceof L.Circle||f instanceof L.CircleMarker||f instanceof L.ImageOverlay)&&u.push(f)}),u=(u=(u=u.filter(function(f){return!!f.pm})).filter(function(f){return!f._pmTempLayer})).filter(function(f){return!L.PM.optIn&&!f.options.pmIgnore||L.PM.optIn&&f.options.pmIgnore===!1})},circleToPolygon:function(r){for(var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:60,f=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],y=r.getLatLng(),w=r.getRadius(),R=Ht(y,w,u,0,f),j=[],q=0;q3&&arguments[3]!==void 0&&arguments[3];r.fire(u,f,y);var w=this.getAllParentGroups(r),R=w.groups;R.forEach(function(j){j.fire(u,f,y)})},getAllParentGroups:function(r){var u=[],f=[];return!r._pmLastGroupFetch||!r._pmLastGroupFetch.time||new Date().getTime()-r._pmLastGroupFetch.time>1e3?(function y(w){for(var R in w._eventParents)if(u.indexOf(R)===-1){u.push(R);var j=w._eventParents[R];f.push(j),y(j)}}(r),r._pmLastGroupFetch={time:new Date().getTime(),groups:f,groupIds:u},{groupIds:u,groups:f}):{groups:r._pmLastGroupFetch.groups,groupIds:r._pmLastGroupFetch.groupIds}},createGeodesicPolygon:Ht,getTranslation:at,findDeepCoordIndex:function(r,u){var f,y=!(arguments.length>2&&arguments[2]!==void 0)||arguments[2],w=function j(q){return function(U,W){var Q=q.concat(W);if(y){if(U.lat&&U.lat===u.lat&&U.lng===u.lng)return f=Q,!0}else if(U.lat&&L.latLng(U).equals(u))return f=Q,!0;return Array.isArray(U)&&U.some(j(Q))}};r.some(w([]));var R={};return f&&(R={indexPath:f,index:f[f.length-1],parentPath:f.slice(0,f.length-1)}),R},findDeepMarkerIndex:function(r,u){var f;r.some(function w(R){return function(j,q){var U=R.concat(q);return j._leaflet_id===u._leaflet_id?(f=U,!0):Array.isArray(j)&&j.some(w(U))}}([]));var y={};return f&&(y={indexPath:f,index:f[f.length-1],parentPath:f.slice(0,f.length-1)}),y},_getIndexFromSegment:function(r,u){if(u&&u.length===2){var f=this.findDeepCoordIndex(r,u[0]),y=this.findDeepCoordIndex(r,u[1]),w=Math.max(f.index,y.index);return f.index!==0&&y.index!==0||w===1||(w+=1),{indexA:f,indexB:y,newIndex:w,indexPath:f.indexPath,parentPath:f.parentPath}}return null},_getRotatedRectangle:function(r,u,f,y){var w=Cn(y,r),R=Cn(y,u),j=f*Math.PI/180,q=Math.cos(j),U=Math.sin(j),W=(R.x-w.x)*q+(R.y-w.y)*U,Q=(R.y-w.y)*q-(R.x-w.x)*U,dt=W*q+w.x,ht=W*U+w.y,kt=-Q*U+w.x,Pt=Q*q+w.y;return[qe(y,w),qe(y,{x:dt,y:ht}),qe(y,R),qe(y,{x:kt,y:Pt})]},pxRadiusToMeterRadius:function(r,u,f){var y=u.project(f),w=L.point(y.x+r,y.y);return u.distance(u.unproject(w),f)}};const jr=Dr;L.PM=L.PM||{version:"2.15.0",Map:Tt,Toolbar:lt,Draw:k,Edit:Ce,Utils:jr,Matrix:Xi,activeLang:"en",optIn:!1,initialize:function(r){this.addInitHooks(r)},setOptIn:function(r){this.optIn=!!r},addInitHooks:function(){L.Map.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Map(this)):this.options.pmIgnore||(this.pm=new L.PM.Map(this)),this.pm&&this.pm.setGlobalOptions({})}),L.LayerGroup.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.LayerGroup(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.LayerGroup(this))}),L.Marker.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this)):this.options.pmIgnore||(this.options.textMarker?(this.pm=new L.PM.Edit.Text(this),this.options._textMarkerOverPM||this.pm._initTextMarker(),delete this.options._textMarkerOverPM):this.pm=new L.PM.Edit.Marker(this))}),L.CircleMarker.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.CircleMarker(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.CircleMarker(this))}),L.Polyline.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Line(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Line(this))}),L.Polygon.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Polygon(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Polygon(this))}),L.Rectangle.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Rectangle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Rectangle(this))}),L.Circle.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.Circle(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.Circle(this))}),L.ImageOverlay.addInitHook(function(){this.pm=void 0,L.PM.optIn?this.options.pmIgnore===!1&&(this.pm=new L.PM.Edit.ImageOverlay(this)):this.options.pmIgnore||(this.pm=new L.PM.Edit.ImageOverlay(this))})},reInitLayer:function(r){var u=this;r instanceof L.LayerGroup&&r.eachLayer(function(f){u.reInitLayer(f)}),r.pm||L.PM.optIn&&r.options.pmIgnore!==!1||r.options.pmIgnore||(r instanceof L.Map?r.pm=new L.PM.Map(r):r instanceof L.Marker?r.options.textMarker?(r.pm=new L.PM.Edit.Text(r),r.pm._initTextMarker(),r.pm._createTextMarker(!1)):r.pm=new L.PM.Edit.Marker(r):r instanceof L.Circle?r.pm=new L.PM.Edit.Circle(r):r instanceof L.CircleMarker?r.pm=new L.PM.Edit.CircleMarker(r):r instanceof L.Rectangle?r.pm=new L.PM.Edit.Rectangle(r):r instanceof L.Polygon?r.pm=new L.PM.Edit.Polygon(r):r instanceof L.Polyline?r.pm=new L.PM.Edit.Line(r):r instanceof L.LayerGroup?r.pm=new L.PM.Edit.LayerGroup(r):r instanceof L.ImageOverlay&&(r.pm=new L.PM.Edit.ImageOverlay(r)))}},L.version==="1.7.1"&&L.Canvas.include({_onClick:function(r){for(var u,f,y=this._map.mouseEventToLayerPoint(r),w=this._drawFirst;w;w=w.next)(u=w.layer).options.interactive&&u._containsPoint(y)&&(r.type!=="click"&&r.type!=="preclick"||!this._map._draggableMoved(u))&&(f=u);f&&(L.DomEvent.fakeStop(r),this._fireEvent([f],r))}}),L.PM.initialize()})()})();var Cc={exports:{}};(function(t,n){(function(a,s){s(n)})(Sd,function(a){var s=L.MarkerClusterGroup=L.FeatureGroup.extend({options:{maxClusterRadius:80,iconCreateFunction:null,clusterPane:L.Marker.prototype.options.pane,spiderfyOnEveryZoom:!1,spiderfyOnMaxZoom:!0,showCoverageOnHover:!0,zoomToBoundsOnClick:!0,singleMarkerMode:!1,disableClusteringAtZoom:null,removeOutsideVisibleBounds:!0,animate:!0,animateAddingMarkers:!1,spiderfyShapePositions:null,spiderfyDistanceMultiplier:1,spiderLegPolylineOptions:{weight:1.5,color:"#222",opacity:.5},chunkedLoading:!1,chunkInterval:200,chunkDelay:50,chunkProgress:null,polygonOptions:{}},initialize:function(i){L.Util.setOptions(this,i),this.options.iconCreateFunction||(this.options.iconCreateFunction=this._defaultIconCreateFunction),this._featureGroup=L.featureGroup(),this._featureGroup.addEventParent(this),this._nonPointGroup=L.featureGroup(),this._nonPointGroup.addEventParent(this),this._inZoomAnimation=0,this._needsClustering=[],this._needsRemoving=[],this._currentShownBounds=null,this._queue=[],this._childMarkerEventHandlers={dragstart:this._childMarkerDragStart,move:this._childMarkerMoved,dragend:this._childMarkerDragEnd};var l=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,l?this._withAnimation:this._noAnimation),this._markerCluster=l?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(i){if(i instanceof L.LayerGroup)return this.addLayers([i]);if(!i.getLatLng)return this._nonPointGroup.addLayer(i),this.fire("layeradd",{layer:i}),this;if(!this._map)return this._needsClustering.push(i),this.fire("layeradd",{layer:i}),this;if(this.hasLayer(i))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(i,this._maxZoom),this.fire("layeradd",{layer:i}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var l=i,h=this._zoom;if(i.__parent)for(;l.__parent._zoom>=h;)l=l.__parent;return this._currentShownBounds.contains(l.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(i,l):this._animationAddLayerNonAnimated(i,l)),this},removeLayer:function(i){return i instanceof L.LayerGroup?this.removeLayers([i]):(i.getLatLng?this._map?i.__parent&&(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(i)),this._removeLayer(i,!0),this.fire("layerremove",{layer:i}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),i.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(i)&&(this._featureGroup.removeLayer(i),i.clusterShow&&i.clusterShow())):(!this._arraySplice(this._needsClustering,i)&&this.hasLayer(i)&&this._needsRemoving.push({layer:i,latlng:i._latlng}),this.fire("layerremove",{layer:i})):(this._nonPointGroup.removeLayer(i),this.fire("layerremove",{layer:i})),this)},addLayers:function(i,l){if(!L.Util.isArray(i))return this.addLayer(i);var h,p=this._featureGroup,_=this._nonPointGroup,g=this.options.chunkedLoading,v=this.options.chunkInterval,M=this.options.chunkProgress,A=i.length,P=0,S=!0;if(this._map){var N=new Date().getTime(),B=L.bind(function(){var O=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();P"+l+"",className:"marker-cluster"+h,iconSize:new L.Point(40,40)})},_bindEvents:function(){var i=this._map,l=this.options.spiderfyOnMaxZoom,h=this.options.showCoverageOnHover,p=this.options.zoomToBoundsOnClick,_=this.options.spiderfyOnEveryZoom;(l||p||_)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),h&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),i.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(i){var l=i.layer,h=l;if(i.type!=="clusterkeypress"||!i.originalEvent||i.originalEvent.keyCode===13){for(;h._childClusters.length===1;)h=h._childClusters[0];h._zoom===this._maxZoom&&h._childCount===l._childCount&&this.options.spiderfyOnMaxZoom?l.spiderfy():this.options.zoomToBoundsOnClick&&l.zoomToBounds(),this.options.spiderfyOnEveryZoom&&l.spiderfy(),i.originalEvent&&i.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(i){var l=this._map;this._inZoomAnimation||(this._shownPolygon&&l.removeLayer(this._shownPolygon),2A._zoom;p--)S=new this._markerCluster(this,p,S),_[p].addObject(S,this._map.project(M.getLatLng(),p));return A._addChild(S),void this._removeFromGridUnclustered(M,l)}g[l].addObject(i,h)}this._topClusterLevel._addChild(i),i.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(i){i instanceof L.MarkerCluster&&i._iconNeedsUpdate&&i._updateIcon()})},_enqueue:function(i){this._queue.push(i),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var i=0;ii?(this._animationStart(),this._animationZoomOut(this._zoom,i)):this._moveEnd()},_getExpandedVisibleBounds:function(){return this.options.removeOutsideVisibleBounds?L.Browser.mobile?this._checkBoundsMaxLat(this._map.getBounds()):this._checkBoundsMaxLat(this._map.getBounds().pad(1)):this._mapBoundsInfinite},_checkBoundsMaxLat:function(i){var l=this._maxLat;return l!==void 0&&(i.getNorth()>=l&&(i._northEast.lat=1/0),i.getSouth()<=-l&&(i._southWest.lat=-1/0)),i},_animationAddLayerNonAnimated:function(i,l){if(l===i)this._featureGroup.addLayer(i);else if(l._childCount===2){l._addToMap();var h=l.getAllChildMarkers();this._featureGroup.removeLayer(h[0]),this._featureGroup.removeLayer(h[1])}else l._updateIcon()},_extractNonGroupLayers:function(i,l){var h,p=i.getLayers(),_=0;for(l=l||[];_h)&&(h=(v=B).lat),(p===!1||B.lat_)&&(_=(A=B).lng),(g===!1||B.lng=this._circleSpiralSwitchover?this._generatePointsSpiral(l.length,h):(h.y+=10,this._generatePointsCircle(l.length,h)),this._animationSpiderfy(l,i)}},unspiderfy:function(i){this._group._inZoomAnimation||(this._animationUnspiderfy(i),this._group._spiderfied=null)},_generatePointsCircle:function(i,l){var h,p,_=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+i)/this._2PI,g=this._2PI/i,v=[];for(_=Math.max(_,35),v.length=i,h=0;h[0,0]},geojson:{type:Object,default:void 0},zoomBounds:{type:Number,default:void 0},geojsonOptions:{type:Object,default:()=>({})},prefix:{type:[String,Boolean],default:!1},cluster:{type:Boolean,default:!1},maxClusterRadius:{type:Number,default:20},clusterIconCreateFunction:{type:Function,default:void 0}},emits:["geojson:ready","geojson","add:layer","draw:start","edit:layer","drag:layer","zoom:change","zoom:start"],setup(t,{expose:n,emit:a}){delete sn.Icon.Default.prototype._getIconUrl,sn.Icon.Default.mergeOptions({iconRetinaUrl:Dx,iconUrl:jx,shadowUrl:zx});const s=t,c=a;let i,l,h,p;const _=Zt(null),g=Yt(()=>({maxZoom:s.zoomBounds,zoom:{animate:s.zoomAnimate}}));Ze(()=>s.geojson,O=>{p.clearLayers(),B(O)},{deep:!0}),Ze(()=>s.dragging,O=>{O?i.dragging.enable():i.dragging.disable()});function v(){const O={maxClusterRadius:s.maxClusterRadius};return s.clusterIconCreateFunction&&Object.assign(O,{iconCreateFunction:C=>s.clusterIconCreateFunction({L:sn,cluster:C})}),O}rn(()=>{const O=Xx(sn,{maxZoom:s.maxZoom,minZoom:s.minZoom,className:"map-tiles"}),[C]=Object.values(O),I={center:s.center,zoom:s.zoom,worldCopyJump:!0,dragging:s.dragging,maxZoom:s.maxZoom};s.disableZoom&&Object.assign(I,{scrollWheelZoom:!1,zoomControl:!1,doubleClickZoom:!1,touchZoom:!1,boxZoom:!1}),h=new sn.FeatureGroup,p=s.cluster?new sn.markerClusterGroup(v()):new sn.FeatureGroup,i=sn.map(_.value,I),i.attributionControl.setPrefix(s.prefix),i.pm.setGlobalOptions({layerGroup:h}),p.addTo(i),i.addLayer(h),i.addLayer(p),s.geojson&&B(s.geojson),s.controls&&(i.pm.addControls({position:"topleft",drawText:!1,drawCircle:!1,drawPolyline:!1,drawCircleMarker:!1,drawMarker:!1,cutPolygon:!1}),i.on("pm:create",$=>{c("geojson",M()),c("add:layer",P($.layer))}),h.on("pm:edit",$=>{c("geojson",M()),c("edit:layer",P($.layer))}),i.on("pm:drawstart",$=>{A(),c("draw:start",$)}),i.on("zoom",$=>c("zoom:change",$)),i.on("zoomstart",$=>c("zoom:start",$))),C.addTo(i),Object.keys(O).length>1&&sn.control.layers(O,{},{position:"topleft",collapsed:!1}).addTo(i),N()});function M(){const O=sn.featureGroup();return h.eachLayer(C=>{(C instanceof sn.Path||C instanceof sn.Marker)&&C.pm&&O.addLayer(C)}),O.toGeoJSON()}function A(){h.clearLayers()}function P(O){const C=O.toGeoJSON();return typeof O.getRadius=="function"&&(C.properties.radius=O.getRadius()),C}const S=()=>{if(!p)return;const O=p.getBounds();i.invalidateSize(),Ls(()=>{Object.keys(O).length&&i.fitBounds(O,g.value)})},N=()=>{l=new ResizeObserver(O=>{O[0].contentRect,S()}),l.observe(_.value)};Hi(()=>{p.clearLayers(),l==null||l.disconnect()});function B(O){if(O){sn.geoJSON(O,{...qx(sn),...s.geojsonOptions}).addTo(p);const C=p.getBounds();C.isValid()&&i.fitBounds(C,g.value)}c("geojson:ready",p)}function F(){return i}return n({clearDrawLayers:A,getMapObject:F,resizeMap:S}),(O,C)=>(H(),tt("div",{ref_key:"leafletMap",ref:_,style:Fn({width:s.width,height:s.height})},null,4))}};function tL(t){eL(t,Object.assign({"/src/components/Map/VMap.client.vue":Qx}))}function eL(t,n){Object.entries(n).forEach(([s,c])=>{const i=s.split("/").pop().replace(/\.client.\w+$/,"");t.component(i,c)})}const nL=["innerHTML"],iL={key:0,class:"h-4 inline",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},rL=Y("path",{"stroke-linecap":"round",d:"M16.5 12a4.5 4.5 0 11-9 0 4.5 4.5 0 019 0zm0 0c0 1.657 1.007 3 2.25 3S21 13.657 21 12a9 9 0 10-2.636 6.364M16.5 12V8.25"},null,-1),oL=[rL],sL={key:1,class:"inline h-4 w-1"},aL=Y("circle",{cy:"calc(100% - 5px)",cx:"2.5",r:"1",fill:"currentColor"},null,-1),lL=[aL],uL=["innerHTML"],cL={__name:"AddressMaker.global",props:{items:{type:Array,required:!0}},setup(t){const n=t,a=Yt(()=>{const[c,...i]=n.items;return{username:c,host:i}});function s(){const[c,...i]=n.items;document.location.href=`mailto:${c}@${i.join(".")}`}return(c,i)=>(H(),tt("span",{class:"text-secondary-color cursor-pointer whitespace-nowrap",onClick:s},[Y("span",{innerHTML:a.value.username},null,8,nL),(H(!0),tt(Gt,null,ve(a.value.host,(l,h)=>(H(),tt(Gt,null,[h===0?(H(),tt("svg",iL,oL)):(H(),tt("svg",sL,lL)),Y("span",{innerHTML:l},null,8,uL)],64))),256))]))}},hL={};function dL(t,n){return H(),Et(Ts,{"enter-active-class":"duration-500 ease-out origin-top","enter-from-class":"transform opacity-0 scale-y-0","enter-to-class":"opacity-100 scale-y-100","leave-active-class":"duration-200 ease-in origin-top","leave-from-class":"opacity-100 scale-y-100","leave-to-class":"transform opacity-0 scale-y-0"},{default:mt(()=>[ke(t.$slots,"default")]),_:3})}const fL=ie(hL,[["render",dL]]),pL={},_L={viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"green"},mL=o_('',1),gL=[mL];function yL(t,n){return H(),tt("svg",_L,gL)}const vL=ie(pL,[["render",yL]]),bL={class:"autocomplete md:block md:mr-0 mr-3 relative w-fit"},xL={class:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},LL=["placeholder"],wL={key:1,class:"autocomplete__list list absolute z-[500] max-h-52 w-full overflow-y-auto border bg-base-foreground border-base-border !m-0 shadow-md"},kL=["onClick"],ML=["innerHTML"],CL=500,PL={__name:"Autocomplete.global",props:{autofocus:{type:Boolean,default:!1},placeholder:{type:String,default:"Search..."},url:{type:String,required:!0},queryParam:{type:String,default:"term"},params:{type:Object,default:()=>({})},label:{type:String,default:"label"}},emits:["select"],setup(t,{emit:n}){const a=t,s=n,c=Zt(""),i=Zt([]),l=Zt(!1),h=Zt(null);let p;Ze(c,g=>{clearTimeout(p),g.length?p=setTimeout(()=>{l.value=!0,Ke.get(a.url,{params:{...a.params,[a.queryParam]:c.value}}).then(({data:v})=>{l.value=!1,i.value=v})},CL):i.value=[]});const _=g=>{s("select",g),c.value=""};return rn(()=>{a.autofocus&&h.value.focus()}),(g,v)=>{const M=gt("IconSearch");return H(),tt("div",bL,[Y("div",xL,[st(M,{class:"w-4 h-4 text-gray-500"})]),mo(Y("input",{"onUpdate:modelValue":v[0]||(v[0]=A=>c.value=A),type:"text",autocomplete:"none",class:"autocomplete__input block box-border min-w-full p-1.5 pl-10 text-base-content rounded border sm:text-sm placeholder:text-sm dark:border-slate-700 border-gray-300 dark:placeholder:text-slate-400 focus:ring-primary-500 focus:border-primary-500",placeholder:t.placeholder,ref_key:"inputElement",ref:h},null,8,LL),[[F_,c.value]]),l.value?(H(),Et(vL,{key:0,class:"absolute top-1/2 -translate-y-1/2 right-2 h-5 w-5"})):It("",!0),i.value.length?(H(),tt("ul",wL,[(H(!0),tt(Gt,null,ve(i.value,A=>(H(),tt("li",{key:A.id,class:"autocomplete__item px-3 py-2 border-b text-xs text-base-content cursor-pointer hover:bg-secondary-color hover:bg-opacity-5 border-base-border truncate",onClick:P=>_(A)},[Y("span",{innerHTML:A[t.label]},null,8,ML)],8,kL))),128))])):It("",!0)])}}},Td=ie(PL,[["__scopeId","data-v-bd0dac97"]]),SL={__name:"AutocompleteOtu.global",props:{autofocus:{type:Boolean,default:!1}},setup(t){const n=Bs(),a=({id:s,otu_valid_id:c})=>{n.push({name:"otus-id-overview",params:{id:c||s}})};return(s,c)=>(H(),Et(Td,{url:"/otus/autocomplete","query-param":"term",label:"label_html",autofocus:t.autofocus,params:{having_taxon_name_only:!0},onSelect:a},null,8,["autofocus"]))}},EL=["title"],TL={__name:"ButtonExpand.global",props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(t,{emit:n}){const a=t,s=n,c=Yt({get(){return a.modelValue},set(i){s("update:modelValue",i)}});return(i,l)=>{const h=gt("IconMinusCircle"),p=gt("IconPlusCircle");return H(),tt("button",{type:"button",title:c.value?"Close":"Expand",class:"button-expand bg-base-foreground text-secondary-color w-5 h-5",onClick:l[0]||(l[0]=_=>c.value=!c.value)},[c.value?(H(),Et(h,{key:0,class:"w-5 h-5"})):(H(),Et(p,{key:1,class:"w-5 h-5"}))],8,EL)}}},OL={__name:"VButton.global",props:{primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(t){return(n,a)=>(H(),tt("button",{type:"button",class:We(["px-3","py-1","hover:bg-opacity-80",{"bg-primary-color":t.primary,"bg-secondary-color":t.secondary,"text-primary-content":t.primary,"text-secondary-content":t.secondary}])},[ke(n.$slots,"default")],2))}},AL={},RL={class:"border-1 card border-base-muted bg-base-foreground print:shadow-none print:border-0 rounded"};function BL(t,n){return H(),tt("div",RL,[ke(t.$slots,"default")])}const IL=ie(AL,[["render",BL]]),DL={},jL={class:"p-4 pl-5 pr-5"};function zL(t,n){return H(),tt("div",jL,[ke(t.$slots,"default")])}const NL=ie(DL,[["render",zL]]),FL={},VL={class:"p-4 pl-5 pr-5 border-b font-medium border-base-muted"};function $L(t,n){return H(),tt("div",VL,[ke(t.$slots,"default")])}const GL=ie(FL,[["render",$L]]),HL={__name:"VClipboard.global",props:{text:{type:String,required:!0},delay:{type:Number,default:2e3}},setup(t){const n=t,a=Zt(!1);let s;function c(){navigator.clipboard.writeText(n.text).then(()=>{a.value=!0,s=setTimeout(()=>{a.value=!1},n.delay)})}return ei(()=>{clearTimeout(s)}),(i,l)=>{const h=gt("IconCheck"),p=gt("IconClipboard"),_=gt("VButton");return H(),Et(_,{class:"px-2 py-2 rounded-full",primary:"",onClick:c},{default:mt(()=>[a.value?(H(),Et(h,{key:0,class:"w-4 h-4"})):(H(),Et(p,{key:1,class:"w-4 h-4"}))]),_:1})}}},UL={class:"relative inline"},ZL=["onClick"],qL={__name:"Dropdown.global",props:{items:{type:Array,default:()=>[]}},setup(t){const n=Zt(null),a=Zt(!1),s=()=>{a.value=!a.value},c=l=>{a.value=!1,l.action()};function i(l){var h;(!l.target||!((h=n.value)!=null&&h.contains(l.target)))&&(a.value=!1)}return rn(()=>{document.addEventListener("pointerdown",i,{passive:!0,capture:!0})}),ei(()=>{document.removeEventListener("pointerdown",i,{capture:!0})}),(l,h)=>(H(),tt("div",UL,[Y("button",{title:"Menu",onClick:s},[ke(l.$slots,"button")]),a.value?(H(),tt("ul",{key:0,ref_key:"element",ref:n,class:"bg-base-foreground absolute font-normal text-sm text-base-lighter right-0 z-10 mt-2 w-56 origin-top-right rounded-md shadow-lg ring-1 ring-black ring-opacity-5 focus:outline-none"},[(H(!0),tt(Gt,null,ve(t.items,p=>(H(),tt("li",{key:p.label,class:"block w-full px-4 py-2 text-left cursor-pointer hover:bg-secondary-color hover:bg-opacity-5 box-border border-b border-base-border last:border-b-0",onClick:_=>c(p)},Jt(p.label),9,ZL))),128))],512)):It("",!0)]))}};function Od({props:t}){const n=Zt([]);function a(s){var c,i;return{id:s.id,objectId:s.depiction_object_id,objectType:s.depiction_object_type,objectLabel:s.depiction_object.label,label:s.label,imageOriginal:s.image.original,imageMedium:s.image.medium,attribution:((c=s.attribution)==null?void 0:c.label)||"",labelAttribution:[s.depiction_object.label,((i=s.attribution)==null?void 0:i.label)||""].join(" ")}}return Ze(()=>t.depictionId,s=>{s.length&&Ke.get("/depictions/gallery",{params:{depiction_id:s}}).then(({data:c})=>{n.value=c.map(a).sort((i,l)=>t.depictionId.indexOf(i.id)-t.depictionId.indexOf(l.id))})},{immediate:!0}),{depictions:n}}const KL=["src","alt"],WL={class:"bg-black bg-opacity-25 absolute h-full w-full"},JL={key:0,class:"z-10 text-white text-sm drop-shadow absolute bottom-2 right-0 px-4"},YL=["innerHTML"],XL={__name:"GalleryCarousel.global",props:{depictionId:{type:Array,default:()=>[]},interval:{type:Number,default:1e4},height:{type:String,default:"550px"}},setup(t){const n=t,{depictions:a}=Od({props:n}),s=Zt(0),c=Yt(()=>({height:n.height})),i=Yt(()=>a.value[s.value]||{}),l=Yt(()=>i.value.objectType==="Otu"),h=Yt(()=>[i.value.objectLabel,i.value.attribution].join(" "));let p=null;function _(){s.value=(s.value+1)%a.value.length}return Ze(a,()=>{n.interval?(clearInterval(p),p=setInterval(_,n.interval)):s.value=Math.floor(Math.random()*a.value.length)}),ei(()=>{clearInterval(p)}),(g,v)=>{const M=gt("RouterLink");return H(),tt("div",{class:"w-full relative",style:Fn(c.value)},[st(Ts,{name:"fade"},{default:mt(()=>[i.value.imageOriginal?(H(),tt("img",{key:i.value.imageOriginal,class:"object-cover overflow-hidden h-full w-full absolute top-0 my-0",src:i.value.imageOriginal,alt:i.value.label},null,8,KL)):It("",!0)]),_:1}),Y("div",WL,[ke(g.$slots,"default",{},void 0,!0)]),i.value.objectId?(H(),tt("span",JL,[l.value?(H(),Et(M,{key:0,class:"text-white decoration-transparent",to:{name:"otus-id",params:{id:i.value.objectId}},innerHTML:h.value},null,8,["to","innerHTML"])):(H(),tt("span",{key:1,innerHTML:h.value},null,8,YL))])):It("",!0)],4)}}},QL=ie(XL,[["__scopeId","data-v-0e946aee"]]),tw=["title"],ew=["alt","src"],nw={__name:"GalleryThumbnail",props:{image:{type:Object,required:!0},title:{type:String,default:void 0}},setup(t){return(n,a)=>(H(),tt("div",{class:"bg-base-background flex flex-col justify-center cursor-pointer w-24 max-h-20 h-20 border-base-muted rounded-md border",title:t.title},[Y("img",{class:"max-h-20 max-w-24 h-20 w-24 object-contain rounded",alt:t.title,src:t.image.thumb},null,8,ew)],8,tw))}},iw={class:"flex flex-row overflow-x-auto print:flex-wrap gap-1.5"},Ad={__name:"GalleryThumbnailList",props:{images:{type:Array,default:()=>[]},current:{type:Number,default:void 0}},emits:["selectIndex"],setup(t,{emit:n}){const a=n;return(s,c)=>(H(),tt("div",iw,[(H(!0),tt(Gt,null,ve(t.images,(i,l)=>{var h;return H(),tt("div",{key:i.id},[st(nw,{image:i,class:We({"border border-secondary-color":t.current===l}),title:(h=i.depictions)==null?void 0:h.map(p=>p.label).join(";"),onClick:p=>a("selectIndex",l)},null,8,["image","class","title","onClick"])])}),128))]))}},rw={class:"h-80 max-h-80 flex items-center justify-center"},ow=["textContent"],sw=["src","alt"],aw={__name:"GalleryMainImage",props:{image:{type:Object,required:!0}},emits:["open:viewer"],setup(t,{emit:n}){const a=t,s=n,c=Zt(!1),i=Zt(null),l=Zt(null);Ze(()=>a.image,_=>{_.original&&(l.value=null,c.value=!0)});function h(_){_.preventDefault(),c.value=!1,l.value="Image was not found or format is not supported"}function p(){c.value=!1}return rn(()=>{i.value.addEventListener("load",p),i.value.addEventListener("error",h)}),(_,g)=>{var A;const v=gt("VSpinner"),M=gt("ClientOnly");return H(),tt("div",rw,[st(M,null,{default:mt(()=>[c.value?(H(),Et(v,{key:0})):It("",!0)]),_:1}),l.value?(H(),tt("span",{key:0,textContent:Jt(l.value)},null,8,ow)):It("",!0),mo(Y("img",{ref_key:"imageElement",ref:i,class:"max-h-80 h-max w-100 cursor-zoom-in m-auto object-contain",src:t.image.original,alt:(A=t.image.depictions)==null?void 0:A.map(P=>P.label).join(";"),onClick:g[0]||(g[0]=P=>s("open:viewer"))},null,8,sw),[[Os,!l.value]])])}}},lw={class:"flex flex-col"},uw={class:"flex justify-center border print:hidden bg-base-0 border-base-muted"},cw={__name:"GalleryImage.global",props:{images:{type:Array,default:()=>[]}},setup(t){const n=t,a=Zt(!1),s=Zt(0),c=Yt(()=>n.images[s.value]||{}),i=()=>{s.value--},l=()=>{s.value++};return Ze(()=>n.images,()=>{s.value=0},{immediate:!0}),(h,p)=>{const _=gt("ImageViewer");return H(),tt(Gt,null,[Y("div",lw,[Y("div",uw,[st(aw,{image:c.value,"onOpen:viewer":p[0]||(p[0]=()=>a.value=!0)},null,8,["image"])]),st(Ad,{class:"pt-2 pb-2",images:t.images,onSelectIndex:p[1]||(p[1]=g=>{s.value=g})},null,8,["images"])]),a.value?(H(),Et(_,{key:0,index:s.value,images:t.images,next:s.value0,onSelectIndex:p[2]||(p[2]=g=>s.value=g),onNext:p[3]||(p[3]=g=>l()),onPrevious:p[4]||(p[4]=g=>i()),onClose:p[5]||(p[5]=g=>a.value=!1)},null,8,["index","images","next","previous"])):It("",!0)],64)}}},hw=["src"],dw=["innerHTML"],fw={__name:"GalleryMosaic.global",props:{depictionId:{type:Array,default:()=>[]},imageHeight:{type:String,default:"112px"},imageWidth:{type:String,default:"200px"},wrap:{type:Boolean,default:!1},label:{type:Boolean,default:!1}},setup(t){const n=t,a=Yt(()=>({height:n.imageHeight}));function s(i){return i.objectType==="Otu"?"RouterLink":"div"}const{depictions:c}=Od({props:n});return(i,l)=>(H(),tt("div",{class:We(["grid","gap-2",{"grid-flow-col":!n.wrap}]),style:Fn(n.wrap&&`grid-template-columns: repeat(auto-fit, minmax(${n.imageWidth}, 1fr))`)},[(H(!0),tt(Gt,null,ve(qt(c),h=>(H(),Et(Lr(s(h)),{key:h.id,to:{name:"otus-id",params:{id:h.objectId}}},{default:mt(()=>[Y("img",{src:h.imageMedium,style:Fn(a.value),class:"max-w-full my-0 object-cover w-full"},null,12,hw),t.label?(H(),tt("span",{key:0,class:"text-sm",innerHTML:h.labelAttribution},null,8,dw)):It("",!0)]),_:2},1032,["to"]))),128))],6))}},pw={},_w={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},mw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 9l-7 7-7-7"},null,-1),gw=[mw];function yw(t,n){return H(),tt("svg",_w,gw)}const vw=ie(pw,[["render",yw]]),bw={},xw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Lw=Y("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19l-7-7 7-7"},null,-1),ww=[Lw];function kw(t,n){return H(),tt("svg",xw,ww)}const Mw=ie(bw,[["render",kw]]),Cw={},Pw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Sw=Y("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 5l7 7-7 7"},null,-1),Ew=[Sw];function Tw(t,n){return H(),tt("svg",Pw,Ew)}const Ow=ie(Cw,[["render",Tw]]),Aw={},Rw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Bw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1),Iw=[Bw];function Dw(t,n){return H(),tt("svg",Rw,Iw)}const jw=ie(Aw,[["render",Dw]]),zw={},Nw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Fw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h3.75M9 15h3.75M9 18h3.75m3 .75H18a2.25 2.25 0 002.25-2.25V6.108c0-1.135-.845-2.098-1.976-2.192a48.424 48.424 0 00-1.123-.08m-5.801 0c-.065.21-.1.433-.1.664 0 .414.336.75.75.75h4.5a.75.75 0 00.75-.75 2.25 2.25 0 00-.1-.664m-5.8 0A2.251 2.251 0 0113.5 2.25H15c1.012 0 1.867.668 2.15 1.586m-5.8 0c-.376.023-.75.05-1.124.08C9.095 4.01 8.25 4.973 8.25 6.108V8.25m0 0H4.875c-.621 0-1.125.504-1.125 1.125v11.25c0 .621.504 1.125 1.125 1.125h9.75c.621 0 1.125-.504 1.125-1.125V9.375c0-.621-.504-1.125-1.125-1.125H8.25zM6.75 12h.008v.008H6.75V12zm0 3h.008v.008H6.75V15zm0 3h.008v.008H6.75V18z"},null,-1),Vw=[Fw];function $w(t,n){return H(),tt("svg",Nw,Vw)}const Gw=ie(zw,[["render",$w]]),Hw={},Uw={xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Zw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"},null,-1),qw=[Zw];function Kw(t,n){return H(),tt("svg",Uw,qw)}const Ww=ie(Hw,[["render",Kw]]),Jw={},Yw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Xw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M9 12h6m-6 4h6m2 5H7a2 2 0 01-2-2V5a2 2 0 012-2h5.586a1 1 0 01.707.293l5.414 5.414a1 1 0 01.293.707V19a2 2 0 01-2 2z"},null,-1),Qw=[Xw];function tk(t,n){return H(),tt("svg",Yw,Qw)}const ek=ie(Jw,[["render",tk]]),nk={},ik={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},rk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M3 16.5v2.25A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75V16.5M16.5 12L12 16.5m0 0L7.5 12m4.5 4.5V3"},null,-1),ok=[rk];function sk(t,n){return H(),tt("svg",ik,ok)}const ak=ie(nk,[["render",sk]]),lk={},uk={viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true"},ck=Y("path",{d:"M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"},null,-1),hk=[ck];function dk(t,n){return H(),tt("svg",uk,hk)}const fk=ie(lk,[["render",dk]]),pk={},_k={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},mk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"},null,-1),gk=[mk];function yk(t,n){return H(),tt("svg",_k,gk)}const vk=ie(pk,[["render",yk]]),bk={},xk={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24"},Lk=Y("path",{fill:"currentColor",d:"M5 3h2v2H5v5a2 2 0 0 1-2 2a2 2 0 0 1 2 2v5h2v2H5c-1.07-.27-2-.9-2-2v-4a2 2 0 0 0-2-2H0v-2h1a2 2 0 0 0 2-2V5a2 2 0 0 1 2-2m14 0a2 2 0 0 1 2 2v4a2 2 0 0 0 2 2h1v2h-1a2 2 0 0 0-2 2v4a2 2 0 0 1-2 2h-2v-2h2v-5a2 2 0 0 1 2-2a2 2 0 0 1-2-2V5h-2V3h2m-7 12a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m-4 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1m8 0a1 1 0 0 1 1 1a1 1 0 0 1-1 1a1 1 0 0 1-1-1a1 1 0 0 1 1-1Z"},null,-1),wk=[Lk];function kk(t,n){return H(),tt("svg",xk,wk)}const Mk=ie(bk,[["render",kk]]),Ck={},Pk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Sk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),Ek=[Sk];function Tk(t,n){return H(),tt("svg",Pk,Ek)}const Ok=ie(Ck,[["render",Tk]]),Ak={},Rk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Bk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3m0 0v3m0-3h3m-3 0H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),Ik=[Bk];function Dk(t,n){return H(),tt("svg",Rk,Ik)}const jk=ie(Ak,[["render",Dk]]),zk={},Nk={xmlns:"http://www.w3.org/2000/svg",class:"text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Fk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"},null,-1),Vk=[Fk];function $k(t,n){return H(),tt("svg",Nk,Vk)}const Gk=ie(zk,[["render",$k]]),Hk={},Uk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Zk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0"},null,-1),qk=[Zk];function Kk(t,n){return H(),tt("svg",Uk,qk)}const Wk=ie(Hk,[["render",Kk]]),Jk={},Yk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Xk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M12 9v3.75m-9.303 3.376c-.866 1.5.217 3.374 1.948 3.374h14.71c1.73 0 2.813-1.874 1.948-3.374L13.949 3.378c-.866-1.5-3.032-1.5-3.898 0L2.697 16.126zM12 15.75h.007v.008H12v-.008z"},null,-1),Qk=[Xk];function t1(t,n){return H(),tt("svg",Yk,Qk)}const e1=ie(Jk,[["render",t1]]),n1={__name:"ImageAttribution",props:{attribution:{type:Object,default:()=>({})}},setup(t){return(n,a)=>(H(),tt("div",null,[Y("p",null,Jt(t.attribution.label),1)]))}},i1={__name:"ImageDepictions",props:{depictions:{type:Array,default:()=>[]}},setup(t){return(n,a)=>(H(),tt("div",null,[(H(!0),tt(Gt,null,ve(t.depictions,s=>(H(),tt("div",{key:s.id},[Y("p",null,Jt(s.label),1)]))),128))]))}},r1=["innerHTML"],o1={__name:"ImageSource",props:{source:{type:Object,default:()=>({})}},setup(t){return(n,a)=>(H(),tt("div",null,[Y("p",{innerHTML:t.source.label},null,8,r1)]))}},s1={class:"p-2 text-black dark:text-white opacity-50"},a1={__name:"ImageViewerCounter",props:{currentImage:{type:Number,required:!0},totalImages:{type:Number,required:!0}},setup(t){return(n,a)=>(H(),tt("span",s1,Jt(t.currentImage+1)+"/"+Jt(t.totalImages),1))}},l1={},u1={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Next image"};function c1(t,n){const a=gt("IconArrowRight");return H(),tt("button",u1,[st(a,{class:"h-8 w-8"})])}const h1=ie(l1,[["render",c1]]),d1={},f1={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Previous image"};function p1(t,n){const a=gt("IconArrowLeft");return H(),tt("button",f1,[st(a,{class:"h-8 w-8"})])}const _1=ie(d1,[["render",p1]]),m1={},g1={class:"p-2 box-border flex justify-between"};function y1(t,n){return H(),tt("div",g1,[Y("div",null,[ke(t.$slots,"default")]),Y("div",null,[ke(t.$slots,"right")])])}const v1=ie(m1,[["render",y1]]),b1={},x1={type:"button",class:"p-2 cursor-pointer opacity-50 text-base-content"};function L1(t,n){const a=gt("IconClose");return H(),tt("button",x1,[st(a)])}const w1=ie(b1,[["render",L1]]),k1={class:"fixed z-[10000] h-full overflow-y-hidden overflow-x-hidden w-full top-0 left-0 flex flex-col items-center justify-center backdrop-blur-md bg-base-foreground"},M1={class:"absolute rounded-t-lg w-auto max-h-full h-auto top-12 bottom-44 left-0 right-0 flex justify-center align-middle"},C1=["textContent"],P1=["alt","src"],S1={class:"bottom-0 fixed max-w-full w-full"},E1={class:"text-base-content text-sm attributions p-6 align-middle flex justify-between flex-col text-center"},T1={class:"flex justify-center"},O1={__name:"ImageViewer.global",props:{index:{type:Number,required:!0},images:{type:Array,default:()=>[]},next:{type:Boolean,default:!1},previous:{type:Boolean,default:!1}},emits:["close","previous","next","selectIndex"],setup(t,{emit:n}){const a=t,s=n,c=({key:v})=>{switch(v){case"ArrowLeft":a.previous&&s("previous");break;case"ArrowRight":a.next&&s("next");break;case"Escape":s("close");break}},i=Zt(null),l=Zt(!1),h=Zt(null),p=Yt(()=>a.images[a.index]);document.addEventListener("keyup",c);function _(){l.value=!1,h.value="Image was not found or format is not supported"}function g(){l.value=!1}return rn(()=>{i.value.addEventListener("load",g),i.value.addEventListener("error",_),document.body.classList.add("overflow-hidden")}),Hi(()=>{document.removeEventListener("keyup",c),document.body.classList.remove("overflow-hidden")}),Ze(()=>a.index,()=>{h.value=null,l.value=!0}),(v,M)=>{var P,S;const A=gt("VSpinner");return H(),tt("div",k1,[Y("div",{class:"min-w-96 dark:bg-slate-900 rounded-lg shadow-sm mb-24",onClick:M[3]||(M[3]=fs(()=>{},["stop"]))},[Y("div",M1,[l.value?(H(),Et(A,{key:0})):It("",!0),h.value?(H(),tt("div",{key:1,class:"flex flex-col justify-center",textContent:Jt(h.value)},null,8,C1)):It("",!0),mo(Y("img",{ref_key:"imageElement",ref:i,class:"mx-auto cursor-zoom-out w-auto max-w-full max-h-full h-auto my-auto",alt:(S=(P=p.value)==null?void 0:P.depictions)==null?void 0:S.map(N=>N.label).join(";"),src:p.value.original,onClick:M[0]||(M[0]=N=>s("close"))},null,8,P1),[[Os,!h.value]]),t.next?(H(),Et(h1,{key:2,class:"right-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:M[1]||(M[1]=N=>s("next"))})):It("",!0),t.previous?(H(),Et(_1,{key:3,class:"left-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:M[2]||(M[2]=N=>s("previous"))})):It("",!0)])]),Y("div",S1,[Y("div",E1,[st(i1,{class:"my-auto",depictions:p.value.depictions},null,8,["depictions"]),st(n1,{class:"my-auto",attribution:p.value.attribution},null,8,["attribution"]),st(o1,{class:"my-auto",source:p.value.source},null,8,["source"])]),Y("div",T1,[st(Ad,{class:"pb-2",current:t.index,images:t.images,onSelectIndex:M[4]||(M[4]=N=>s("selectIndex",N)),onClick:M[5]||(M[5]=fs(()=>{},["stop"]))},null,8,["current","images"])])]),st(v1,{class:"w-full absolute top-0 h-12 left-0 items-center"},{right:mt(()=>[st(w1,{onClick:M[6]||(M[6]=N=>s("close"))})]),default:mt(()=>[st(a1,{"current-image":t.index,"total-images":t.images.length},null,8,["current-image","total-images"])]),_:1})])}}},A1="!container mx-auto p-4 sm:px-0 prose dark:prose-invert box-border",R1={__name:"MarkdownLayout.global",props:{tag:{type:String,default:"div"},frontmatter:{type:Object,required:!0}},setup(t){const n=t,a={fullwidth:"p-4 sm:px-0 prose dark:prose-invert max-w-none",blank:"sm:px-0 prose dark:prose-invert max-w-none"},s=Yt(()=>a[n.frontmatter.layout]||A1);return(c,i)=>(H(),Et(Lr(t.tag),{class:We(s.value)},{default:mt(()=>[ke(c.$slots,"default")]),_:3},8,["class"]))}},B1={class:"w-full p-4 md:p-4 flex flex-row box-border justify-between items-center"},I1=Y("span",null,null,-1),D1={class:"bg-base-foreground overflow-x-auto h-full md:h-auto max-h-full"},j1={__name:"VModal.global",emits:["close"],setup(t,{emit:n}){const a=n,s=c=>{c.key==="Escape"&&(c.stopPropagation(),a("close"))};return rn(()=>{document.addEventListener("keydown",s),document.body.classList.add("overflow-hidden")}),Hi(()=>{document.removeEventListener("keydown",s),document.body.classList.remove("overflow-hidden")}),(c,i)=>{const l=gt("IconClose");return H(),tt("div",{class:"fixed top-0 left-0 w-full h-screen max-h-screen flex flex-col justify-center bg-black bg-opacity-50 z-[2000]",onClick:i[2]||(i[2]=h=>a("close")),onKey:i[3]||(i[3]=fs(h=>a("close"),["stop"]))},[Y("div",{class:"h-full md:h-auto mx-auto md:max-h-[70vh] bg-base-foreground container",onClick:i[1]||(i[1]=fs(()=>{},["stop"]))},[Y("div",B1,[ke(c.$slots,"header",{},()=>[I1]),st(l,{class:"w-6 h-6 cursor-pointer opacity-50",onClick:i[0]||(i[0]=()=>a("close"))})]),Y("div",D1,[ke(c.$slots,"default")]),Y("div",null,[ke(c.$slots,"footer")])])],32)}}},z1={"aria-disabled":"false","aria-label":"Pagination",class:"flex flex-row text-sm"},N1=["disabled"],F1={role:"presentation",class:"page-item"},V1=["disabled"],$1={key:0,class:"border border-base-border px-2 py-1.5"},G1={key:0,class:"page-item"},H1=["disabled","onClick"],U1={key:1,class:"border border-base-border px-2 py-1.5"},Z1={class:"page-item"},q1=["disabled"],K1={role:"presentation"},W1=["disabled"],J1={__name:"VPagination.global",props:{modelValue:{type:Number,required:!0},total:{type:Number,required:!0},per:{type:Number,required:!0},rangePages:{type:Number,default:5}},emits:["update:modelValue"],setup(t,{emit:n}){const a=t,s=n,c=Yt(()=>Math.ceil(a.total/a.per)),i=Yt({get:()=>a.modelValue,set:p=>{s("update:modelValue",p)}}),l=Yt(()=>a.modelValue+a.rangePages),h=Yt(()=>a.modelValue-a.rangePages);return(p,_)=>(H(),tt("ul",z1,[Y("li",null,[Y("button",{type:"button",disabled:i.value<2,"aria-label":"Go to first page",class:"border border-base-border rounded-l-md px-2 py-1.5",onClick:_[0]||(_[0]=g=>i.value=1)}," « ",8,N1)]),Y("li",F1,[Y("button",{type:"button",disabled:i.value<2,"aria-label":"Go to previous page",class:"border border-base-border px-2 py-1.5",onClick:_[1]||(_[1]=g=>i.value--)}," ‹ ",8,V1)]),t.modelValue>a.rangePages?(H(),tt("li",$1," ... ")):It("",!0),(H(!0),tt(Gt,null,ve(c.value,g=>(H(),tt(Gt,{key:g},[gi.value=g},Jt(g),11,H1)])):It("",!0)],64))),128)),c.value-t.modelValue>=t.rangePages?(H(),tt("li",U1," ... ")):It("",!0),Y("li",Z1,[Y("button",{type:"button","aria-label":"Go to next page",class:"border border-base-border px-2 py-1.5",disabled:i.value===c.value,onClick:_[2]||(_[2]=()=>i.value++)}," › ",8,q1)]),Y("li",K1,[Y("button",{type:"button",disabled:i.value===c.value,"aria-label":"Go to last page",class:"border border-base-border rounded-r-md px-2 py-1.5",onClick:_[3]||(_[3]=()=>i.value=c.value)}," » ",8,W1)])]))}},Y1={__name:"ProjectStats.global",props:{data:{type:Array,default:()=>[]},tag:{type:String,default:"span"}},setup(t){const n=t,a=Zt({data:[]}),s=Yt(()=>n.data.map(l=>l.toLowerCase())),c=Yt(()=>{const l=a.value.data;return l.length?i(l):s.value.map(h=>[h,"??"])});function i(l){const h=n.data.length?l.filter(([p])=>s.value.includes(p)):l;return h.sort(([p],[_])=>s.value.indexOf(p)-s.value.indexOf(_)),h}return rn(()=>{Ke.get("/stats").then(l=>{const h=Object.entries(l.data.data).map(([p,_])=>[p.toLowerCase(),_.toLocaleString()]);a.value.data=h})}),(l,h)=>(H(),Et(Lr(t.tag),null,{default:mt(()=>[(H(!0),tt(Gt,null,ve(c.value,([p,_],g)=>ke(l.$slots,"default",{type:p,value:_},()=>[Y("span",null,Jt(p)+": "+Jt(_)+Jt(g{n.value=!0}),(a,s)=>n.value?ke(a.$slots,"default",{key:0}):(H(),tt("div",X1))}},tM={class:"inline-flex items-center text-sm"},eM={__name:"TabItem.global",props:{to:{type:[String,Object],required:!0}},setup(t){return(n,a)=>{const s=gt("router-link");return H(),tt("li",tM,[st(s,{class:"p-2 pb-2 block py-2 pr-4 pl-3 text-base-content border-b-2 border-transparent","active-class":"border-b-2 !border-secondary-color font-medium",to:t.to},{default:mt(()=>[ke(n.$slots,"default")]),_:3},8,["to"])])}}},nM={},iM={class:"inline-flex items-center space-x-1 md:space-x-3"};function rM(t,n){return H(),tt("ul",iM,[ke(t.$slots,"default")])}const oM=ie(nM,[["render",rM]]),sM={},aM={class:"relative sm:rounded-lg"},lM={class:"w-full text-sm text-left text-gray-500 dark:text-gray-400"};function uM(t,n){return H(),tt("div",aM,[Y("table",lM,[ke(t.$slots,"default")])])}const cM=ie(sM,[["render",uM]]),hM={},dM={class:"normal-case text-xs"};function fM(t,n){return H(),tt("tbody",dM,[ke(t.$slots,"default")])}const pM=ie(hM,[["render",fM]]),_M={},mM={class:"px-4 py-4"};function gM(t,n){return H(),tt("td",mM,[ke(t.$slots,"default")])}const yM=ie(_M,[["render",gM]]),vM={},bM={class:"bg-base-foreground border-b border-base-border"};function xM(t,n){return H(),tt("tr",bM,[ke(t.$slots,"default")])}const LM=ie(vM,[["render",xM]]),wM={},kM={class:"text-xs text-base-content uppercase bg-base-background"};function MM(t,n){return H(),tt("thead",kM,[ke(t.$slots,"default")])}const CM=ie(wM,[["render",MM]]),PM={},SM={class:"px-4 py-3"};function EM(t,n){return H(),tt("th",SM,[ke(t.$slots,"default")])}const TM=ie(PM,[["render",EM]]),OM={};function AM(t,n){return H(),tt("tr",null,[ke(t.$slots,"default")])}const RM=ie(OM,[["render",AM]]);var BM={base_url:"/aphid/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',analytics_services:{enableDev:!0,analytics:[{id:"G-FQ220J1V5R"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"2_njyXetAKy0N1nPmcxSbg",copyright_image:"https://i.creativecommons.org/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0",copyright_text:"Unless otherwise noted (e.g. image licenses may vary) all content is licensed under a Creative Commons Attribution 4.0 International License. (CC-BY)",header_logo_url:"https://sfg.taxonworks.org/s/3wx9g8",header_logo_text:"Aphid Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"}],metadata:[{name:"description",content:"The Aphid Species File is a taxonomic, nomenclatural, and bibliographic database of the aphids of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonpages, aphid, plant lice, taxonomy, species, Species File Group, sfg, Aphid Species File, aphid species file"},{name:"robots",content:"follow"}],project_name:"Aphid Species File",project_citation:"Aphid Species File",project_authors:"Colin FAVRET",project_url:"https://Aphid.SpeciesFile.org",project_old_url:"https://Aphid.Archive.SpeciesFile.org",focal_taxon:"aphid",focal_taxon_common_name:"adelgids, blackflies, greenflies, plant lice, and phylloxerans",contact_email:"ColinFavret@AphidNet.org",issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"https://github.com/sfg-taxonpages/aphid/issues"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"https://github.com/SpeciesFileGroup/taxonpages/issues"}]};const IM={key:1},DM=Y("h1",{class:"font-medium text-base px-1"},"Report a problem",-1),jM={class:"font-normal p-5 pt-0 text-base"},zM=Y("span",null,"My issue is with:",-1),NM={class:"mx-5 my-2"},FM=["href"],VM={key:0,class:"text-sm"},$M="https://github.com/SpeciesFileGroup/taxonpages/issues/new/choose",GM={__name:"TrackerReport.global",props:{buttonClass:{type:String,default:void 0},label:{type:String,default:void 0},icon:{type:Boolean,default:!1},tag:{type:String,default:"VButton"}},setup(t){const{issue_trackers:n}=BM,a=Zt(!1);function s(){n?a.value=!0:window.open($M,"_blank")}return(c,i)=>{const l=gt("IconGithub"),h=gt("VModal");return H(),tt(Gt,null,[(H(),Et(Lr(t.tag),{type:"button",title:"Report a problem",class:We(t.buttonClass),onClick:s},{default:mt(()=>[t.icon?(H(),Et(l,{key:0,class:"w-5 h-5"})):It("",!0),t.label?(H(),tt("span",IM,Jt(t.label),1)):It("",!0)]),_:1},8,["class"])),a.value?(H(),Et(h,{key:0,class:"text-base-content",onClose:i[0]||(i[0]=p=>a.value=!1)},{header:mt(()=>[DM]),default:mt(()=>[Y("div",jM,[zM,Y("ul",NM,[(H(!0),tt(Gt,null,ve(qt(n),p=>(H(),tt("li",null,[Y("a",{href:p.url,target:"_blank"},Jt(p.label),9,FM),p.description?(H(),tt("span",VM," - "+Jt(p.description),1)):It("",!0)]))),256))])])]),_:1})):It("",!0)],64)}}},HM={__name:"VSkeleton.global",props:{class:{type:String,default:"w-full"},lines:{type:Number,default:1}},setup(t){const n=Bp(),a=Yt(()=>{var i;const c=(i=n.default)==null?void 0:i.call(n);return s(c)});function s(c){if(!c)return!0;const[i]=c;let l=i.children;return i.el!==null||l!==null}return(c,i)=>(H(),tt(Gt,null,[ke(c.$slots,"default"),a.value?(H(),tt("span",{key:0,class:We(t.class)},[(H(!0),tt(Gt,null,ve(t.lines,l=>(H(),tt("span",{key:l,class:"inline-block w-full rounded-sm bg-base-muted leading-5 animate-pulse"}," ‌ "))),128))],2)):It("",!0)],64))}},wl=t=>(sh("data-v-3927b18d"),t=t(),ah(),t),UM=wl(()=>Y("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"},null,-1)),ZM=wl(()=>Y("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"},null,-1)),qM=[UM,ZM],KM=wl(()=>Y("span",{class:"sr-only"},"Loading...",-1)),WM=["innerHTML"],JM={__name:"VSpinner.global",props:{target:{type:String,default:void 0},fullScreen:{type:Boolean,default:!1},legend:{type:String,default:"Loading, please wait."},resize:{type:Boolean,default:!0},legendStyle:{type:Object,default:()=>({})},legendClass:{type:String,default:"mt-5"},showLegend:{type:Boolean,default:!0},showSpinner:{type:Boolean,default:!0},spinnerPosition:{type:String,default:"top"},logoSize:{type:Object,default:()=>({})},logoClass:{type:String,default:"w-12 h-12"}},setup(t){const n={position:"fixed",width:"100vw",height:"100vh",top:"0px",left:"0px"},a=t,s=Zt(null),c=Zt({}),i=Zt(void 0);rn(()=>{l(),a.resize&&!a.fullScreen&&p()}),Hi(()=>clearInterval(i.value));const l=()=>{const _=a.target?document.querySelector(a.target):s.value.parentNode;Object.assign(c.value,a.fullScreen?n:h(_))},h=_=>{const g=_.getBoundingClientRect(),v=window.getComputedStyle(_,null),M=parseInt(v.getPropertyValue("padding-left"),10),A=parseInt(v.getPropertyValue("padding-right"),10),P=parseInt(v.getPropertyValue("padding-top"),10),S=parseInt(v.getPropertyValue("padding-bottom"),10);return{position:"absolute",width:g.width-M-A+"px",height:g.height-P-S+"px"}},p=()=>{i.value=setInterval(l(),500)};return(_,g)=>(H(),tt("div",{ref_key:"spinnerElement",ref:s,class:"box-spinner mx-spinner absolute bg-base-foreground opacity-90 h-full flex items-center",style:Fn(c.value)},[Y("div",{class:We(["tw-spinner",`tw-spinner-${t.spinnerPosition}`])},[t.showSpinner?(H(),tt("svg",{key:0,style:Fn(t.logoSize),"aria-hidden":"true",class:We(["text-base-lighter","animate-spin fill-primary-color",t.logoClass]),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},qM,6)):It("",!0),KM,t.legend.length?(H(),tt("div",{key:1,class:We(["text-base-content","text-center",t.legendClass]),style:Fn(t.legendStyle)},[t.showLegend?(H(),tt("span",{key:0,innerHTML:t.legend},null,8,WM)):It("",!0),ke(_.$slots,"default",{},void 0,!0)],6)):It("",!0)],2)],4))}},YM=ie(JM,[["__scopeId","data-v-3927b18d"]]);function XM(t){QM(t,Object.assign({"/src/components/AddressMaker.global.vue":cL,"/src/components/Animation/AnimationOpacity.global.vue":fL,"/src/components/Autocomplete/Autocomplete.global.vue":Td,"/src/components/Autocomplete/AutocompleteOtu.global.vue":SL,"/src/components/Button/ButtonExpand.global.vue":TL,"/src/components/Button/VButton.global.vue":OL,"/src/components/Card/VCard.global.vue":IL,"/src/components/Card/VCardContent.global.vue":NL,"/src/components/Card/VCardHeader.global.vue":GL,"/src/components/Clipboard/VClipboard.global.vue":HL,"/src/components/Dropdown/Dropdown.global.vue":qL,"/src/components/Gallery/GalleryCarousel/GalleryCarousel.global.vue":QL,"/src/components/Gallery/GalleryImage.global.vue":cw,"/src/components/Gallery/GalleryMosaic/GalleryMosaic.global.vue":fw,"/src/components/Icon/IconArrowDown.global.vue":vw,"/src/components/Icon/IconArrowLeft.global.vue":Mw,"/src/components/Icon/IconArrowRight.global.vue":Ow,"/src/components/Icon/IconCheck.global.vue":jw,"/src/components/Icon/IconClipboard.global.vue":Gw,"/src/components/Icon/IconClose.global.vue":Ww,"/src/components/Icon/IconDocument.global.vue":ek,"/src/components/Icon/IconDownload.global.vue":ak,"/src/components/Icon/IconGithub.global.vue":fk,"/src/components/Icon/IconHamburger.global.vue":vk,"/src/components/Icon/IconJson.global.vue":Mk,"/src/components/Icon/IconMinusCircle.global.vue":Ok,"/src/components/Icon/IconPlusCircle.global.vue":jk,"/src/components/Icon/IconSearch.global.vue":Gk,"/src/components/Icon/IconTrash.global.vue":Wk,"/src/components/Icon/IconWarning.global.vue":e1,"/src/components/ImageViewer/ImageViewer.global.vue":O1,"/src/components/Markdown/MarkdownLayout.global.vue":R1,"/src/components/Modal/VModal.global.vue":j1,"/src/components/Pagination/VPagination.global.vue":J1,"/src/components/ProjectStats.global.vue":Y1,"/src/components/Ssr/ClientOnly.global.vue":Q1,"/src/components/Tab/TabItem.global.vue":eM,"/src/components/Tab/TabMenu.global.vue":oM,"/src/components/Table/VTable.global.vue":cM,"/src/components/Table/VTableBody.global.vue":pM,"/src/components/Table/VTableBodyCell.global.vue":yM,"/src/components/Table/VTableBodyRow.global.vue":LM,"/src/components/Table/VTableHeader.global.vue":CM,"/src/components/Table/VTableHeaderCell.global.vue":TM,"/src/components/Table/VTableHeaderRow.global.vue":RM,"/src/components/TrackerReport.global.vue":GM,"/src/components/VSkeleton.global.vue":HM,"/src/components/VSpinner.global.vue":YM}))}function QM(t,n){Object.entries(n).forEach(([s,c])=>{const i=s.split("/").pop().replace(/\.client.global.\w+$/,"").replace(/\.global.\w+$/,"");t.component(i,c)})}const tC=window.location.origin,Pc=window.initialState,{app:kl,router:eC,store:nC}=Rx({originUrl:tC});Pc&&(nC.state.value=Pc);tL(kl);XM(kl);eC.isReady().then(()=>{kl.mount("#app")});export{Y as a,st as b,Et as c,te as d,H as o,gt as r,mt as w}; +function __vite__mapDeps(indexes) { + if (!__vite__mapDeps.viteFileDeps) { + __vite__mapDeps.viteFileDeps = [] + } + return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) +} diff --git a/assets/index-C5DOl78h.css b/assets/index-C5DOl78h.css new file mode 100644 index 0000000..130334e --- /dev/null +++ b/assets/index-C5DOl78h.css @@ -0,0 +1 @@ +@import"https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,400;0,500;0,900;1,100;1,400&display=swap";:root{--color-primary: 0, 0, 0;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-success: 34, 197, 94;--color-warning: 245, 158, 11;--color-danger: 239, 68, 68;--color-base-foreground: 255, 255, 255;--color-base-background: 245, 247, 251;--color-base-muted: 226, 232, 240;--color-base-soft: 156, 163, 175;--color-base-lighter: 55, 65, 81;--color-base-border: 203, 213, 225;--color-base-content: 0, 0, 0;--color-map-georeference: 239, 68, 68;--color-map-aggregate: 3, 115, 22;--color-map-asserted: 249, 115, 22;--color-map-type-material: 51, 136, 255;--color-map-collection-object: 239, 68, 68;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 229, 231, 235;--color-map-shape-opacity: .5;--color-map-marker-opacity: .75}.dark{--color-primary: 23, 23, 23;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-success: 22, 163, 74;--color-warning: 217, 119, 6;--color-danger: 185, 28, 28;--color-base-background: 23, 23, 23;--color-base-foreground: 38, 38, 38;--color-base-muted: 48, 48, 48;--color-base-soft: 200, 200, 200;--color-base-lighter: 220, 220, 220;--color-base-border: 70, 70, 70;--color-base-content: 255, 255, 255;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 55, 65, 81}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.\!container{width:100%!important}.container{width:100%}@media (min-width: 640px){.\!container{max-width:640px!important}.container{max-width:640px}}@media (min-width: 768px){.\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width: 1024px){.\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width: 1280px){.\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width: 1536px){.\!container{max-width:1536px!important}.container{max-width:1536px}}.prose{color:var(--tw-prose-body);max-width:65ch}.prose :where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em;line-height:1.5}.prose :where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-top:1.2em;margin-bottom:1.2em}.prose :where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);text-decoration:underline;font-weight:500}.prose :where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}.prose :where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-top:1.25em;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}.prose :where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}.prose :where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}.prose :where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}.prose :where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}.prose :where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-top:0;margin-bottom:1.25em;padding-left:1.625em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{font-weight:400;color:var(--tw-prose-counters)}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}.prose :where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}.prose :where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-top:3em;margin-bottom:3em}.prose :where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-style:italic;color:var(--tw-prose-quotes);border-left-width:.25rem;border-left-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-left:1em}.prose :where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}.prose :where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}.prose :where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:800;font-size:2.25em;margin-top:0;margin-bottom:.7777778em;line-height:1.1111111}.prose :where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:900;color:inherit}.prose :where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:700;font-size:1.5em;margin-top:1em;margin-bottom:1em;line-height:1.3333333}.prose :where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:800;color:inherit}.prose :where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;font-size:1.25em;margin-top:.6em;margin-bottom:.6em;line-height:1.6}.prose :where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.5em;margin-bottom:.5em;line-height:1.5}.prose :where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:700;color:inherit}.prose :where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-top:2em;margin-bottom:2em}.prose :where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){font-weight:500;font-family:inherit;color:var(--tw-prose-kbd);box-shadow:0 0 0 1px rgb(var(--tw-prose-kbd-shadows) / 10%),0 3px rgb(var(--tw-prose-kbd-shadows) / 10%);font-size:.875em;border-radius:.3125rem;padding:.1875em .375em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-weight:600;font-size:.875em}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"`"}.prose :where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"`"}.prose :where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}.prose :where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}.prose :where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}.prose :where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-pre-code);background-color:var(--tw-prose-pre-bg);overflow-x:auto;font-weight:400;font-size:.875em;line-height:1.7142857;margin-top:1.7142857em;margin-bottom:1.7142857em;border-radius:.375rem;padding:.8571429em 1.1428571em}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-width:0;border-radius:0;padding:0;font-weight:inherit;color:inherit;font-size:inherit;font-family:inherit;line-height:inherit}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}.prose :where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}.prose :where(table):not(:where([class~=not-prose],[class~=not-prose] *)){width:auto;table-layout:auto;text-align:left;margin-top:2em;margin-bottom:2em;font-size:.875em;line-height:1.7142857}.prose :where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-th-borders)}.prose :where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;vertical-align:bottom;padding-right:.5714286em;padding-bottom:.5714286em;padding-left:.5714286em}.prose :where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:1px;border-bottom-color:var(--tw-prose-td-borders)}.prose :where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}.prose :where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}.prose :where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-width:1px;border-top-color:var(--tw-prose-th-borders)}.prose :where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}.prose :where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}.prose{--tw-prose-body: #374151;--tw-prose-headings: #111827;--tw-prose-lead: #4b5563;--tw-prose-links: rgb(var(--color-secondary));--tw-prose-bold: #111827;--tw-prose-counters: #6b7280;--tw-prose-bullets: #d1d5db;--tw-prose-hr: #e5e7eb;--tw-prose-quotes: #111827;--tw-prose-quote-borders: #e5e7eb;--tw-prose-captions: #6b7280;--tw-prose-kbd: #111827;--tw-prose-kbd-shadows: 17 24 39;--tw-prose-code: #111827;--tw-prose-pre-code: #e5e7eb;--tw-prose-pre-bg: #1f2937;--tw-prose-th-borders: #d1d5db;--tw-prose-td-borders: #e5e7eb;--tw-prose-invert-body: #d1d5db;--tw-prose-invert-headings: #fff;--tw-prose-invert-lead: #9ca3af;--tw-prose-invert-links: #fff;--tw-prose-invert-bold: #fff;--tw-prose-invert-counters: #9ca3af;--tw-prose-invert-bullets: #4b5563;--tw-prose-invert-hr: #374151;--tw-prose-invert-quotes: #f3f4f6;--tw-prose-invert-quote-borders: #374151;--tw-prose-invert-captions: #9ca3af;--tw-prose-invert-kbd: #fff;--tw-prose-invert-kbd-shadows: 255 255 255;--tw-prose-invert-code: #fff;--tw-prose-invert-pre-code: #d1d5db;--tw-prose-invert-pre-bg: rgb(0 0 0 / 50%);--tw-prose-invert-th-borders: #4b5563;--tw-prose-invert-td-borders: #374151;font-size:1rem;line-height:1.75}.prose :where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0;margin-bottom:0}.prose :where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.1428571em;margin-bottom:.1428571em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:.375em}.prose :where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(.prose>ul>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>*:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>*:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.75em;margin-bottom:.75em}.prose :where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em;margin-bottom:1.25em}.prose :where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-left:1.625em}.prose :where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-left:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-right:0}.prose :where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:2em;margin-bottom:2em}.prose :where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}.prose :where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-y-0{top:0;bottom:0}.-left-2{left:-.5rem}.-left-2\.5{left:-.625rem}.-right-full{right:-100%}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-44{bottom:11rem}.left-0{left:0}.left-1\/2{left:50%}.left-2{left:.5rem}.right-0{right:0}.right-2{right:.5rem}.right-3{right:.75rem}.top-0{top:0}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-12{top:3rem}.top-2{top:.5rem}.top-3{top:.75rem}.top-full{top:100%}.z-10{z-index:10}.z-20{z-index:20}.z-50{z-index:50}.z-\[10000\]{z-index:10000}.z-\[1000\]{z-index:1000}.z-\[1500\]{z-index:1500}.z-\[2000\]{z-index:2000}.z-\[400\]{z-index:400}.z-\[5000\]{z-index:5000}.z-\[500\]{z-index:500}.\!m-0{margin:0!important}.m-0{margin:0}.m-1{margin:.25rem}.m-4{margin:1rem}.m-\[-1px\]{margin:-1px}.m-auto{margin:auto}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-0{margin-top:0;margin-bottom:0}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-2{margin-top:.5rem;margin-bottom:.5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-2{margin-bottom:.5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.ml-0{margin-left:0}.ml-0\.5{margin-left:.125rem}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-3{margin-left:.75rem}.ml-4{margin-left:1rem}.ml-6{margin-left:1.5rem}.ml-\[5px\]{margin-left:5px}.ml-auto{margin-left:auto}.mr-0{margin-right:0}.mr-0\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[5px\]{margin-right:5px}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[5px\]{margin-top:5px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-20{height:5rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-80{height:20rem}.h-9{height:2.25rem}.h-96{height:24rem}.h-\[30px\]{height:30px}.h-\[40px\]{height:40px}.h-auto{height:auto}.h-full{height:100%}.h-max{height:-moz-max-content;height:max-content}.h-screen{height:100vh}.max-h-20{max-height:5rem}.max-h-32{max-height:8rem}.max-h-52{max-height:13rem}.max-h-80{max-height:20rem}.max-h-96{max-height:24rem}.max-h-full{max-height:100%}.max-h-screen{max-height:100vh}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-12{width:3rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-56{width:14rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-96{width:24rem}.w-\[15px\]{width:15px}.w-\[40px\]{width:40px}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-96{min-width:24rem}.min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.min-w-full{min-width:100%}.max-w-24{max-width:6rem}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-grow{flex-grow:1}.origin-top{transform-origin:top}.origin-top-right{transform-origin:top right}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-0{--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-y-100{--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.cursor-pointer{cursor:pointer}.cursor-zoom-in{cursor:zoom-in}.cursor-zoom-out{cursor:zoom-out}.resize{resize:both}.grid-flow-col{grid-auto-flow:column}.auto-rows-min{grid-auto-rows:min-content}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.flex-wrap{flex-wrap:wrap}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:.25rem}.gap-1\.5{gap:.375rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.space-x-1>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.25rem * var(--tw-space-x-reverse));margin-left:calc(.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-8>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(2rem * var(--tw-space-x-reverse));margin-left:calc(2rem * calc(1 - var(--tw-space-x-reverse)))}.self-end{align-self:flex-end}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.overflow-y-hidden{overflow-y:hidden}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-wrap{white-space:pre-wrap}.break-words{overflow-wrap:break-word}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.rounded-full{border-radius:9999px}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.rounded-sm{border-radius:.125rem}.rounded-l-full{border-top-left-radius:9999px;border-bottom-left-radius:9999px}.rounded-l-md{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}.rounded-r-full{border-top-right-radius:9999px;border-bottom-right-radius:9999px}.rounded-r-md{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}.rounded-t-lg{border-top-left-radius:.5rem;border-top-right-radius:.5rem}.border{border-width:1px}.border-b{border-bottom-width:1px}.border-b-2{border-bottom-width:2px}.border-l{border-left-width:1px}.border-t{border-top-width:1px}.\!border-secondary-color{--tw-border-opacity: 1 !important;border-color:rgba(var(--color-secondary),var(--tw-border-opacity))!important}.border-base-border{--tw-border-opacity: 1;border-color:rgba(var(--color-base-border),var(--tw-border-opacity))}.border-base-muted{--tw-border-opacity: 1;border-color:rgba(var(--color-base-muted),var(--tw-border-opacity))}.border-gray-200{--tw-border-opacity: 1;border-color:rgb(229 231 235 / var(--tw-border-opacity))}.border-gray-300{--tw-border-opacity: 1;border-color:rgb(209 213 219 / var(--tw-border-opacity))}.border-gray-500{--tw-border-opacity: 1;border-color:rgb(107 114 128 / var(--tw-border-opacity))}.border-secondary-color{--tw-border-opacity: 1;border-color:rgba(var(--color-secondary),var(--tw-border-opacity))}.border-transparent{border-color:transparent}.border-b-base-border{--tw-border-opacity: 1;border-bottom-color:rgba(var(--color-base-border),var(--tw-border-opacity))}.border-opacity-50{--tw-border-opacity: .5}.bg-base-background{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-background),var(--tw-bg-opacity))}.bg-base-content{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-content),var(--tw-bg-opacity))}.bg-base-foreground{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-foreground),var(--tw-bg-opacity))}.bg-base-muted{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-muted),var(--tw-bg-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-map-aggregate{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-aggregate),var(--tw-bg-opacity))}.bg-map-asserted{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-asserted),var(--tw-bg-opacity))}.bg-map-collection-object{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-collection-object),var(--tw-bg-opacity))}.bg-map-georeference{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-georeference),var(--tw-bg-opacity))}.bg-map-type-material{--tw-bg-opacity: 1;background-color:rgba(var(--color-map-type-material),var(--tw-bg-opacity))}.bg-primary-color{--tw-bg-opacity: 1;background-color:rgba(var(--color-primary),var(--tw-bg-opacity))}.bg-secondary-color{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary),var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.bg-zinc-800{--tw-bg-opacity: 1;background-color:rgb(39 39 42 / var(--tw-bg-opacity))}.bg-opacity-25{--tw-bg-opacity: .25}.bg-opacity-50{--tw-bg-opacity: .5}.bg-opacity-60{--tw-bg-opacity: .6}.fill-primary-color{fill:rgb(var(--color-primary))}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:0}.p-1{padding:.25rem}.p-1\.5{padding:.375rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-5{padding:1.25rem}.p-6{padding:1.5rem}.\!px-2{padding-left:.5rem!important;padding-right:.5rem!important}.px-1{padding-left:.25rem;padding-right:.25rem}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}.py-4{padding-top:1rem;padding-bottom:1rem}.pb-0{padding-bottom:0}.pb-2{padding-bottom:.5rem}.pb-3{padding-bottom:.75rem}.pb-4{padding-bottom:1rem}.pb-6{padding-bottom:1.5rem}.pl-0{padding-left:0}.pl-10{padding-left:2.5rem}.pl-3{padding-left:.75rem}.pl-4{padding-left:1rem}.pl-5{padding-left:1.25rem}.pl-6{padding-left:1.5rem}.pr-0{padding-right:0}.pr-4{padding-right:1rem}.pr-5{padding-right:1.25rem}.pt-0{padding-top:0}.pt-1{padding-top:.25rem}.pt-2{padding-top:.5rem}.pt-3{padding-top:.75rem}.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.text-left{text-align:left}.text-center{text-align:center}.align-middle{vertical-align:middle}.text-4xl{font-size:2.25rem;line-height:2.5rem}.text-7xl{font-size:4.5rem;line-height:1}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-medium{font-weight:500}.font-normal{font-weight:400}.uppercase{text-transform:uppercase}.capitalize{text-transform:capitalize}.normal-case{text-transform:none}.italic{font-style:italic}.leading-5{line-height:1.25rem}.leading-6{line-height:1.5rem}.text-base-background{--tw-text-opacity: 1;color:rgba(var(--color-base-background),var(--tw-text-opacity))}.text-base-content{--tw-text-opacity: 1;color:rgba(var(--color-base-content),var(--tw-text-opacity))}.text-base-lighter{--tw-text-opacity: 1;color:rgba(var(--color-base-lighter),var(--tw-text-opacity))}.text-base-soft{--tw-text-opacity: 1;color:rgba(var(--color-base-soft),var(--tw-text-opacity))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.text-orange-500{--tw-text-opacity: 1;color:rgb(249 115 22 / var(--tw-text-opacity))}.text-primary-content{--tw-text-opacity: 1;color:rgba(var(--color-primary-content),var(--tw-text-opacity))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity))}.text-secondary-color{--tw-text-opacity: 1;color:rgba(var(--color-secondary),var(--tw-text-opacity))}.text-secondary-content{--tw-text-opacity: 1;color:rgba(var(--color-secondary-content),var(--tw-text-opacity))}.text-slate-400{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.text-success{--tw-text-opacity: 1;color:rgba(var(--color-success),var(--tw-text-opacity))}.text-warning{--tw-text-opacity: 1;color:rgba(var(--color-warning),var(--tw-text-opacity))}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.decoration-transparent{text-decoration-color:transparent}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-50{opacity:.5}.opacity-60{opacity:.6}.opacity-75{opacity:.75}.opacity-90{opacity:.9}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-base-muted{--tw-shadow-color: rgb(var(--color-base-muted));--tw-shadow: var(--tw-shadow-colored)}.ring-1{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.ring-black{--tw-ring-opacity: 1;--tw-ring-color: rgb(0 0 0 / var(--tw-ring-opacity))}.ring-opacity-5{--tw-ring-opacity: .05}.drop-shadow{--tw-drop-shadow: drop-shadow(0 1px 2px rgb(0 0 0 / .1)) drop-shadow(0 1px 1px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.backdrop-blur-md{--tw-backdrop-blur: blur(12px);-webkit-backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.leaflet-pane,.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-tile-container,.leaflet-pane>svg,.leaflet-pane>canvas,.leaflet-zoom-box,.leaflet-image-layer,.leaflet-layer{position:absolute;left:0;top:0}.leaflet-container{overflow:hidden}.leaflet-tile,.leaflet-marker-icon,.leaflet-marker-shadow{-webkit-user-select:none;-moz-user-select:none;user-select:none;-webkit-user-drag:none}.leaflet-tile::-moz-selection{background:transparent}.leaflet-tile::selection{background:transparent}.leaflet-safari .leaflet-tile{image-rendering:-webkit-optimize-contrast}.leaflet-safari .leaflet-tile-container{width:1600px;height:1600px;-webkit-transform-origin:0 0}.leaflet-marker-icon,.leaflet-marker-shadow{display:block}.leaflet-container .leaflet-overlay-pane svg{max-width:none!important;max-height:none!important}.leaflet-container .leaflet-marker-pane img,.leaflet-container .leaflet-shadow-pane img,.leaflet-container .leaflet-tile-pane img,.leaflet-container img.leaflet-image-layer,.leaflet-container .leaflet-tile{max-width:none!important;max-height:none!important;width:auto;padding:0}.leaflet-container img.leaflet-tile{mix-blend-mode:plus-lighter}.leaflet-container.leaflet-touch-zoom{touch-action:pan-x pan-y}.leaflet-container.leaflet-touch-drag{touch-action:none;touch-action:pinch-zoom}.leaflet-container.leaflet-touch-drag.leaflet-touch-zoom{touch-action:none}.leaflet-container{-webkit-tap-highlight-color:transparent}.leaflet-container a{-webkit-tap-highlight-color:rgba(51,181,229,.4)}.leaflet-tile{filter:inherit;visibility:hidden}.leaflet-tile-loaded{visibility:inherit}.leaflet-zoom-box{width:0;height:0;box-sizing:border-box;z-index:800}.leaflet-overlay-pane svg{-moz-user-select:none}.leaflet-pane{z-index:400}.leaflet-tile-pane{z-index:200}.leaflet-overlay-pane{z-index:400}.leaflet-shadow-pane{z-index:500}.leaflet-marker-pane{z-index:600}.leaflet-tooltip-pane{z-index:650}.leaflet-popup-pane{z-index:700}.leaflet-map-pane canvas{z-index:100}.leaflet-map-pane svg{z-index:200}.leaflet-vml-shape{width:1px;height:1px}.lvml{behavior:url(#default#VML);display:inline-block;position:absolute}.leaflet-control{position:relative;z-index:800;pointer-events:visiblePainted;pointer-events:auto}.leaflet-top,.leaflet-bottom{position:absolute;z-index:1000;pointer-events:none}.leaflet-top{top:0}.leaflet-right{right:0}.leaflet-bottom{bottom:0}.leaflet-left{left:0}.leaflet-control{float:left;clear:both}.leaflet-right .leaflet-control{float:right}.leaflet-top .leaflet-control{margin-top:10px}.leaflet-bottom .leaflet-control{margin-bottom:10px}.leaflet-left .leaflet-control{margin-left:10px}.leaflet-right .leaflet-control{margin-right:10px}.leaflet-fade-anim .leaflet-popup{opacity:0;transition:opacity .2s linear}.leaflet-fade-anim .leaflet-map-pane .leaflet-popup{opacity:1}.leaflet-zoom-animated{transform-origin:0 0}svg.leaflet-zoom-animated{will-change:transform}.leaflet-zoom-anim .leaflet-zoom-animated{transition:transform .25s cubic-bezier(0,0,.25,1)}.leaflet-zoom-anim .leaflet-tile,.leaflet-pan-anim .leaflet-tile{transition:none}.leaflet-zoom-anim .leaflet-zoom-hide{visibility:hidden}.leaflet-interactive{cursor:pointer}.leaflet-grab{cursor:grab}.leaflet-crosshair,.leaflet-crosshair .leaflet-interactive{cursor:crosshair}.leaflet-popup-pane,.leaflet-control{cursor:auto}.leaflet-dragging .leaflet-grab,.leaflet-dragging .leaflet-grab .leaflet-interactive,.leaflet-dragging .leaflet-marker-draggable{cursor:move;cursor:grabbing}.leaflet-marker-icon,.leaflet-marker-shadow,.leaflet-image-layer,.leaflet-pane>svg path,.leaflet-tile-container{pointer-events:none}.leaflet-marker-icon.leaflet-interactive,.leaflet-image-layer.leaflet-interactive,.leaflet-pane>svg path.leaflet-interactive,svg.leaflet-image-layer.leaflet-interactive path{pointer-events:visiblePainted;pointer-events:auto}.leaflet-container{background:#ddd;outline-offset:1px}.leaflet-container a{color:#0078a8}.leaflet-zoom-box{border:2px dotted #38f;background:#ffffff80}.leaflet-container{font-family:Helvetica Neue,Arial,Helvetica,sans-serif;font-size:12px;font-size:.75rem;line-height:1.5}.leaflet-bar{box-shadow:0 1px 5px #000000a6;border-radius:4px}.leaflet-bar a{background-color:#fff;border-bottom:1px solid #ccc;width:26px;height:26px;line-height:26px;display:block;text-align:center;text-decoration:none;color:#000}.leaflet-bar a,.leaflet-control-layers-toggle{background-position:50% 50%;background-repeat:no-repeat;display:block}.leaflet-bar a:hover,.leaflet-bar a:focus{background-color:#f4f4f4}.leaflet-bar a:first-child{border-top-left-radius:4px;border-top-right-radius:4px}.leaflet-bar a:last-child{border-bottom-left-radius:4px;border-bottom-right-radius:4px;border-bottom:none}.leaflet-bar a.leaflet-disabled{cursor:default;background-color:#f4f4f4;color:#bbb}.leaflet-touch .leaflet-bar a{width:30px;height:30px;line-height:30px}.leaflet-touch .leaflet-bar a:first-child{border-top-left-radius:2px;border-top-right-radius:2px}.leaflet-touch .leaflet-bar a:last-child{border-bottom-left-radius:2px;border-bottom-right-radius:2px}.leaflet-control-zoom-in,.leaflet-control-zoom-out{font:700 18px Lucida Console,Monaco,monospace;text-indent:1px}.leaflet-touch .leaflet-control-zoom-in,.leaflet-touch .leaflet-control-zoom-out{font-size:22px}.leaflet-control-layers{box-shadow:0 1px 5px #0006;background:#fff;border-radius:5px}.leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABoAAAAaCAQAAAADQ4RFAAACf0lEQVR4AY1UM3gkARTePdvdoTxXKc+qTl3aU5U6b2Kbkz3Gtq3Zw6ziLGNPzrYx7946Tr6/ee/XeCQ4D3ykPtL5tHno4n0d/h3+xfuWHGLX81cn7r0iTNzjr7LrlxCqPtkbTQEHeqOrTy4Yyt3VCi/IOB0v7rVC7q45Q3Gr5K6jt+3Gl5nCoDD4MtO+j96Wu8atmhGqcNGHObuf8OM/x3AMx38+4Z2sPqzCxRFK2aF2e5Jol56XTLyggAMTL56XOMoS1W4pOyjUcGGQdZxU6qRh7B9Zp+PfpOFlqt0zyDZckPi1ttmIp03jX8gyJ8a/PG2yutpS/Vol7peZIbZcKBAEEheEIAgFbDkz5H6Zrkm2hVWGiXKiF4Ycw0RWKdtC16Q7qe3X4iOMxruonzegJzWaXFrU9utOSsLUmrc0YjeWYjCW4PDMADElpJSSQ0vQvA1Tm6/JlKnqFs1EGyZiFCqnRZTEJJJiKRYzVYzJck2Rm6P4iH+cmSY0YzimYa8l0EtTODFWhcMIMVqdsI2uiTvKmTisIDHJ3od5GILVhBCarCfVRmo4uTjkhrhzkiBV7SsaqS+TzrzM1qpGGUFt28pIySQHR6h7F6KSwGWm97ay+Z+ZqMcEjEWebE7wxCSQwpkhJqoZA5ivCdZDjJepuJ9IQjGGUmuXJdBFUygxVqVsxFsLMbDe8ZbDYVCGKxs+W080max1hFCarCfV+C1KATwcnvE9gRRuMP2prdbWGowm1KB1y+zwMMENkM755cJ2yPDtqhTI6ED1M/82yIDtC/4j4BijjeObflpO9I9MwXTCsSX8jWAFeHr05WoLTJ5G8IQVS/7vwR6ohirYM7f6HzYpogfS3R2OAAAAAElFTkSuQmCC);width:36px;height:36px}.leaflet-retina .leaflet-control-layers-toggle{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAQAAABvcdNgAAAEsklEQVR4AWL4TydIhpZK1kpWOlg0w3ZXP6D2soBtG42jeI6ZmQTHzAxiTbSJsYLjO9HhP+WOmcuhciVnmHVQcJnp7DFvScowZorad/+V/fVzMdMT2g9Cv9guXGv/7pYOrXh2U+RRR3dSd9JRx6bIFc/ekqHI29JC6pJ5ZEh1yWkhkbcFeSjxgx3L2m1cb1C7bceyxA+CNjT/Ifff+/kDk2u/w/33/IeCMOSaWZ4glosqT3DNnNZQ7Cs58/3Ce5HL78iZH/vKVIaYlqzfdLu8Vi7dnvUbEza5Idt36tquZFldl6N5Z/POLof0XLK61mZCmJSWjVF9tEjUluu74IUXvgttuVIHE7YxSkaYhJZam7yiM9Pv82JYfl9nptxZaxMJE4YSPty+vF0+Y2up9d3wwijfjZbabqm/3bZ9ecKHsiGmRflnn1MW4pjHf9oLufyn2z3y1D6n8g8TZhxyzipLNPnAUpsOiuWimg52psrTZYnOWYNDTMuWBWa0tJb4rgq1UvmutpaYEbZlwU3CLJm/ayYjHW5/h7xWLn9Hh1vepDkyf7dE7MtT5LR4e7yYpHrkhOUpEfssBLq2pPhAqoSWKUkk7EDqkmK6RrCEzqDjhNDWNE+XSMvkJRDWlZTmCW0l0PHQGRZY5t1L83kT0Y3l2SItk5JAWHl2dCOBm+fPu3fo5/3v61RMCO9Jx2EEYYhb0rmNQMX/vm7gqOEJLcXTGw3CAuRNeyaPWwjR8PRqKQ1PDA/dpv+on9Shox52WFnx0KY8onHayrJzm87i5h9xGw/tfkev0jGsQizqezUKjk12hBMKJ4kbCqGPVNXudyyrShovGw5CgxsRICxF6aRmSjlBnHRzg7Gx8fKqEubI2rahQYdR1YgDIRQO7JvQyD52hoIQx0mxa0ODtW2Iozn1le2iIRdzwWewedyZzewidueOGqlsn1MvcnQpuVwLGG3/IR1hIKxCjelIDZ8ldqWz25jWAsnldEnK0Zxro19TGVb2ffIZEsIO89EIEDvKMPrzmBOQcKQ+rroye6NgRRxqR4U8EAkz0CL6uSGOm6KQCdWjvjRiSP1BPalCRS5iQYiEIvxuBMJEWgzSoHADcVMuN7IuqqTeyUPq22qFimFtxDyBBJEwNyt6TM88blFHao/6tWWhuuOM4SAK4EI4QmFHA+SEyWlp4EQoJ13cYGzMu7yszEIBOm2rVmHUNqwAIQabISNMRstmdhNWcFLsSm+0tjJH1MdRxO5Nx0WDMhCtgD6OKgZeljJqJKc9po8juskR9XN0Y1lZ3mWjLR9JCO1jRDMd0fpYC2VnvjBSEFg7wBENc0R9HFlb0xvF1+TBEpF68d+DHR6IOWVv2BECtxo46hOFUBd/APU57WIoEwJhIi2CdpyZX0m93BZicktMj1AS9dClteUFAUNUIEygRZCtik5zSxI9MubTBH1GOiHsiLJ3OCoSZkILa9PxiN0EbvhsAo8tdAf9Seepd36lGWHmtNANTv5Jd0z4QYyeo/UEJqxKRpg5LZx6btLPsOaEmdMyxYdlc8LMaJnikDlhclqmPiQnTEpLUIZEwkRagjYkEibQErwhkTAKCLQEbUgkzJQWc/0PstHHcfEdQ+UAAAAASUVORK5CYII=);background-size:26px 26px}.leaflet-touch .leaflet-control-layers-toggle{width:44px;height:44px}.leaflet-control-layers .leaflet-control-layers-list,.leaflet-control-layers-expanded .leaflet-control-layers-toggle{display:none}.leaflet-control-layers-expanded .leaflet-control-layers-list{display:block;position:relative}.leaflet-control-layers-expanded{padding:6px 10px 6px 6px;color:#333;background:#fff}.leaflet-control-layers-scrollbar{overflow-y:scroll;overflow-x:hidden;padding-right:5px}.leaflet-control-layers-selector{margin-top:2px;position:relative;top:1px}.leaflet-control-layers label{display:block;font-size:13px;font-size:1.08333em}.leaflet-control-layers-separator{height:0;border-top:1px solid #ddd;margin:5px -10px 5px -6px}.leaflet-default-icon-path{background-image:url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABkAAAApCAYAAADAk4LOAAAFgUlEQVR4Aa1XA5BjWRTN2oW17d3YaZtr2962HUzbDNpjszW24mRt28p47v7zq/bXZtrp/lWnXr337j3nPCe85NcypgSFdugCpW5YoDAMRaIMqRi6aKq5E3YqDQO3qAwjVWrD8Ncq/RBpykd8oZUb/kaJutow8r1aP9II0WmLKLIsJyv1w/kqw9Ch2MYdB++12Onxee/QMwvf4/Dk/Lfp/i4nxTXtOoQ4pW5Aj7wpici1A9erdAN2OH64x8OSP9j3Ft3b7aWkTg/Fm91siTra0f9on5sQr9INejH6CUUUpavjFNq1B+Oadhxmnfa8RfEmN8VNAsQhPqF55xHkMzz3jSmChWU6f7/XZKNH+9+hBLOHYozuKQPxyMPUKkrX/K0uWnfFaJGS1QPRtZsOPtr3NsW0uyh6NNCOkU3Yz+bXbT3I8G3xE5EXLXtCXbbqwCO9zPQYPRTZ5vIDXD7U+w7rFDEoUUf7ibHIR4y6bLVPXrz8JVZEql13trxwue/uDivd3fkWRbS6/IA2bID4uk0UpF1N8qLlbBlXs4Ee7HLTfV1j54APvODnSfOWBqtKVvjgLKzF5YdEk5ewRkGlK0i33Eofffc7HT56jD7/6U+qH3Cx7SBLNntH5YIPvODnyfIXZYRVDPqgHtLs5ABHD3YzLuespb7t79FY34DjMwrVrcTuwlT55YMPvOBnRrJ4VXTdNnYug5ucHLBjEpt30701A3Ts+HEa73u6dT3FNWwflY86eMHPk+Yu+i6pzUpRrW7SNDg5JHR4KapmM5Wv2E8Tfcb1HoqqHMHU+uWDD7zg54mz5/2BSnizi9T1Dg4QQXLToGNCkb6tb1NU+QAlGr1++eADrzhn/u8Q2YZhQVlZ5+CAOtqfbhmaUCS1ezNFVm2imDbPmPng5wmz+gwh+oHDce0eUtQ6OGDIyR0uUhUsoO3vfDmmgOezH0mZN59x7MBi++WDL1g/eEiU3avlidO671bkLfwbw5XV2P8Pzo0ydy4t2/0eu33xYSOMOD8hTf4CrBtGMSoXfPLchX+J0ruSePw3LZeK0juPJbYzrhkH0io7B3k164hiGvawhOKMLkrQLyVpZg8rHFW7E2uHOL888IBPlNZ1FPzstSJM694fWr6RwpvcJK60+0HCILTBzZLFNdtAzJaohze60T8qBzyh5ZuOg5e7uwQppofEmf2++DYvmySqGBuKaicF1blQjhuHdvCIMvp8whTTfZzI7RldpwtSzL+F1+wkdZ2TBOW2gIF88PBTzD/gpeREAMEbxnJcaJHNHrpzji0gQCS6hdkEeYt9DF/2qPcEC8RM28Hwmr3sdNyht00byAut2k3gufWNtgtOEOFGUwcXWNDbdNbpgBGxEvKkOQsxivJx33iow0Vw5S6SVTrpVq11ysA2Rp7gTfPfktc6zhtXBBC+adRLshf6sG2RfHPZ5EAc4sVZ83yCN00Fk/4kggu40ZTvIEm5g24qtU4KjBrx/BTTH8ifVASAG7gKrnWxJDcU7x8X6Ecczhm3o6YicvsLXWfh3Ch1W0k8x0nXF+0fFxgt4phz8QvypiwCCFKMqXCnqXExjq10beH+UUA7+nG6mdG/Pu0f3LgFcGrl2s0kNNjpmoJ9o4B29CMO8dMT4Q5ox8uitF6fqsrJOr8qnwNbRzv6hSnG5wP+64C7h9lp30hKNtKdWjtdkbuPA19nJ7Tz3zR/ibgARbhb4AlhavcBebmTHcFl2fvYEnW0ox9xMxKBS8btJ+KiEbq9zA4RthQXDhPa0T9TEe69gWupwc6uBUphquXgf+/FrIjweHQS4/pduMe5ERUMHUd9xv8ZR98CxkS4F2n3EUrUZ10EYNw7BWm9x1GiPssi3GgiGRDKWRYZfXlON+dfNbM+GgIwYdwAAAAASUVORK5CYII=)}.leaflet-container .leaflet-control-attribution{background:#fff;background:#fffc;margin:0}.leaflet-control-attribution,.leaflet-control-scale-line{padding:0 5px;color:#333;line-height:1.4}.leaflet-control-attribution a{text-decoration:none}.leaflet-control-attribution a:hover,.leaflet-control-attribution a:focus{text-decoration:underline}.leaflet-attribution-flag{display:inline!important;vertical-align:baseline!important;width:1em;height:.6669em}.leaflet-left .leaflet-control-scale{margin-left:5px}.leaflet-bottom .leaflet-control-scale{margin-bottom:5px}.leaflet-control-scale-line{border:2px solid #777;border-top:none;line-height:1.1;padding:2px 5px 1px;white-space:nowrap;box-sizing:border-box;background:#fffc;text-shadow:1px 1px #fff}.leaflet-control-scale-line:not(:first-child){border-top:2px solid #777;border-bottom:none;margin-top:-2px}.leaflet-control-scale-line:not(:first-child):not(:last-child){border-bottom:2px solid #777}.leaflet-touch .leaflet-control-attribution,.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{box-shadow:none}.leaflet-touch .leaflet-control-layers,.leaflet-touch .leaflet-bar{border:2px solid rgba(0,0,0,.2);background-clip:padding-box}.leaflet-popup{position:absolute;text-align:center;margin-bottom:20px}.leaflet-popup-content-wrapper{padding:1px;text-align:left;border-radius:12px}.leaflet-popup-content{margin:13px 24px 13px 20px;line-height:1.3;font-size:13px;font-size:1.08333em;min-height:1px}.leaflet-popup-content p{margin:1.3em 0}.leaflet-popup-tip-container{width:40px;height:20px;position:absolute;left:50%;margin-top:-1px;margin-left:-20px;overflow:hidden;pointer-events:none}.leaflet-popup-tip{width:17px;height:17px;padding:1px;margin:-10px auto 0;pointer-events:auto;transform:rotate(45deg)}.leaflet-popup-content-wrapper,.leaflet-popup-tip{background:#fff;color:#333;box-shadow:0 3px 14px #0006}.leaflet-container a.leaflet-popup-close-button{position:absolute;top:0;right:0;border:none;text-align:center;width:24px;height:24px;font:16px/24px Tahoma,Verdana,sans-serif;color:#757575;text-decoration:none;background:transparent}.leaflet-container a.leaflet-popup-close-button:hover,.leaflet-container a.leaflet-popup-close-button:focus{color:#585858}.leaflet-popup-scrolled{overflow:auto}.leaflet-oldie .leaflet-popup-content-wrapper{-ms-zoom:1}.leaflet-oldie .leaflet-popup-tip{width:24px;margin:0 auto;-ms-filter:"progid:DXImageTransform.Microsoft.Matrix(M11=0.70710678, M12=0.70710678, M21=-0.70710678, M22=0.70710678)";filter:progid:DXImageTransform.Microsoft.Matrix(M11=.70710678,M12=.70710678,M21=-.70710678,M22=.70710678)}.leaflet-oldie .leaflet-control-zoom,.leaflet-oldie .leaflet-control-layers,.leaflet-oldie .leaflet-popup-content-wrapper,.leaflet-oldie .leaflet-popup-tip{border:1px solid #999}.leaflet-div-icon{background:#fff;border:1px solid #666}.leaflet-tooltip{position:absolute;padding:6px;background-color:#fff;border:1px solid #fff;border-radius:3px;color:#222;white-space:nowrap;-webkit-user-select:none;-moz-user-select:none;user-select:none;pointer-events:none;box-shadow:0 1px 3px #0006}.leaflet-tooltip.leaflet-interactive{cursor:pointer;pointer-events:auto}.leaflet-tooltip-top:before,.leaflet-tooltip-bottom:before,.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{position:absolute;pointer-events:none;border:6px solid transparent;background:transparent;content:""}.leaflet-tooltip-bottom{margin-top:6px}.leaflet-tooltip-top{margin-top:-6px}.leaflet-tooltip-bottom:before,.leaflet-tooltip-top:before{left:50%;margin-left:-6px}.leaflet-tooltip-top:before{bottom:0;margin-bottom:-12px;border-top-color:#fff}.leaflet-tooltip-bottom:before{top:0;margin-top:-12px;margin-left:-6px;border-bottom-color:#fff}.leaflet-tooltip-left{margin-left:-6px}.leaflet-tooltip-right{margin-left:6px}.leaflet-tooltip-left:before,.leaflet-tooltip-right:before{top:50%;margin-top:-6px}.leaflet-tooltip-left:before{right:0;margin-right:-12px;border-left-color:#fff}.leaflet-tooltip-right:before{left:0;margin-left:-12px;border-right-color:#fff}@media print{.leaflet-control{-webkit-print-color-adjust:exact;print-color-adjust:exact}}:root{--map-tiles-filter: brightness(.6) invert(1) contrast(3) hue-rotate(200deg) saturate(.3) brightness(.7)}.map-point-marker{opacity:var(--color-map-marker-opacity)}.dark .map-tiles{filter:var(--map-tiles-filter, none)}::-webkit-scrollbar{width:6px;height:6px;-webkit-transition:background .3s;transition:background .3s}::-webkit-scrollbar-corner{background:0 0}::-webkit-scrollbar-thumb{border-radius:.25rem;background-color:rgb(var(--color-scrollbar-thumb))}::-webkit-scrollbar-track{background-color:rgb(var(--color-scrollbar-track))}*{box-sizing:content-box}body{--tw-bg-opacity: 1;background-color:rgba(var(--color-base-background),var(--tw-bg-opacity));font-family:Roboto,sans-serif}a{--tw-text-opacity: 1;color:rgba(var(--color-secondary),var(--tw-text-opacity))}.dark{color-scheme:dark}:is(.dark .dark\:prose-invert){--tw-prose-body: var(--tw-prose-invert-body);--tw-prose-headings: var(--tw-prose-invert-headings);--tw-prose-lead: var(--tw-prose-invert-lead);--tw-prose-links: rgb(var(--color-secondary));--tw-prose-bold: var(--tw-prose-invert-bold);--tw-prose-counters: var(--tw-prose-invert-counters);--tw-prose-bullets: var(--tw-prose-invert-bullets);--tw-prose-hr: var(--tw-prose-invert-hr);--tw-prose-quotes: var(--tw-prose-invert-quotes);--tw-prose-quote-borders: var(--tw-prose-invert-quote-borders);--tw-prose-captions: var(--tw-prose-invert-captions);--tw-prose-kbd: var(--tw-prose-invert-kbd);--tw-prose-kbd-shadows: var(--tw-prose-invert-kbd-shadows);--tw-prose-code: var(--tw-prose-invert-code);--tw-prose-pre-code: var(--tw-prose-invert-pre-code);--tw-prose-pre-bg: var(--tw-prose-invert-pre-bg);--tw-prose-th-borders: var(--tw-prose-invert-th-borders);--tw-prose-td-borders: var(--tw-prose-invert-td-borders)}.placeholder\:text-sm::-moz-placeholder{font-size:.875rem;line-height:1.25rem}.placeholder\:text-sm::placeholder{font-size:.875rem;line-height:1.25rem}.first\:border-t-0:first-child{border-top-width:0px}.last\:border-0:last-child{border-width:0px}.last\:border-b-0:last-child{border-bottom-width:0px}.hover\:bg-secondary-color:hover{--tw-bg-opacity: 1;background-color:rgba(var(--color-secondary),var(--tw-bg-opacity))}.hover\:bg-opacity-5:hover{--tw-bg-opacity: .05}.hover\:bg-opacity-80:hover{--tw-bg-opacity: .8}.hover\:text-gray-900:hover{--tw-text-opacity: 1;color:rgb(17 24 39 / var(--tw-text-opacity))}.hover\:text-primary-content:hover{--tw-text-opacity: 1;color:rgba(var(--color-primary-content),var(--tw-text-opacity))}.hover\:text-slate-500:hover{--tw-text-opacity: 1;color:rgb(100 116 139 / var(--tw-text-opacity))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}:is(.dark .dark\:border-slate-700){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}:is(.dark .dark\:bg-gray-900){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}:is(.dark .dark\:bg-slate-900){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}:is(.dark .dark\:text-gray-100){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}:is(.dark .dark\:text-gray-400){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}:is(.dark .dark\:text-white){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-slate-400)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:placeholder\:text-slate-400)::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-gray-500:hover){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}:is(.dark .dark\:hover\:text-slate-300:hover){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:w-96{width:24rem}.sm\:flex-row{flex-direction:row}.sm\:rounded-lg{border-radius:.5rem}.sm\:px-0{padding-left:0;padding-right:0}.sm\:px-4{padding-left:1rem;padding-right:1rem}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}}@media (min-width: 768px){.md\:-right-96{right:-24rem}.md\:mb-0{margin-bottom:0}.md\:ml-2{margin-left:.5rem}.md\:mr-0{margin-right:0}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:h-auto{height:auto}.md\:max-h-\[70vh\]{max-height:70vh}.md\:w-3\/4{width:75%}.md\:w-96{width:24rem}.md\:min-w-fit{min-width:-moz-fit-content;min-width:fit-content}.md\:grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.md\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.md\:p-4{padding:1rem}}@media print{.print\:hidden{display:none}.print\:flex-wrap{flex-wrap:wrap}.print\:border-0{border-width:0px}.print\:shadow-none{--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}}.\[\&\>\*\:not\(\:last-child\)\]\:after\:mx-1>*:not(:last-child):after{content:var(--tw-content);margin-left:.25rem;margin-right:.25rem}.\[\&\>\*\:not\(\:last-child\)\]\:after\:content-\[\'\|\'\]>*:not(:last-child):after{--tw-content: "|";content:var(--tw-content)}.\[\&\>a\]\:break-all>a{word-break:break-all}:root{--color-primary: 0, 0, 0;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-base-foreground: 255, 255, 255;--color-base-background: 245, 247, 251;--color-base-muted: 226, 232, 240;--color-base-soft: 156, 163, 175;--color-base-lighter: 55, 65, 81;--color-base-border: 203, 213, 225;--color-base-content: 0, 0, 0;--color-map-georeference: 239, 68, 68;--color-map-aggregate: 3, 115, 22;--color-map-asserted: 249, 115, 22;--color-map-type-material: 51, 136, 255;--color-map-collection-object: 239, 68, 68;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 229, 231, 235;--color-map-shape-opacity: .5;--color-map-marker-opacity: .75}.dark{--color-primary: 23, 23, 23;--color-primary-content: 255, 255, 255;--color-secondary: 14, 165, 233;--color-secondary-content: 255, 255, 255;--color-base-background: 23, 23, 23;--color-base-foreground: 38,38,38;--color-base-muted: 48, 48, 48;--color-base-soft: 200, 200, 200;--color-base-lighter: 220, 220, 220;--color-base-border: 38, 38, 38;--color-base-content: 255, 255, 255;--color-scrollbar-thumb: 156, 163, 175;--color-scrollbar-track: 55, 65, 81}.tree[data-v-b79ba271]{list-style:none;margin:0;padding:0}.tree ul[data-v-b79ba271]{margin-left:14px}.tree li[data-v-b79ba271]{position:relative;margin:0;padding:0 6px;border-left:1px solid rgb(100,100,100)}.tree li[data-v-b79ba271]:last-child{border-left:none}.tree li[data-v-b79ba271]:before{position:relative;top:-.3em;height:1em;width:12px;color:#fff;border-bottom:1px solid rgb(100,100,100);content:"";display:inline-block;left:-6px}.tree li[data-v-b79ba271]:last-child:before{border-left:1px solid rgb(100,100,100)}.otu-synonyms[data-v-91511d41]{list-style:none;border-left:1px solid rgb(100,100,100);padding-left:8px;padding-bottom:8px}.cached-map-icon{right:20px;top:20px;z-index:1098}[data-v-030a0bac] .disable-zoom-out .leaflet-control-zoom-out{display:none!important}.marker-icon,.marker-icon:focus{background-color:#fff;border:1px solid #3388ff;border-radius:50%;margin:-8px 0 0 -8px!important;width:14px!important;height:14px!important;outline:0;transition:opacity ease .3s}.marker-icon-middle,.marker-icon-middle:focus{opacity:.7;margin:-6px 0 0 -6px!important;width:10px!important;height:10px!important}.leaflet-pm-draggable{cursor:move!important}.cursor-marker{cursor:crosshair;pointer-events:none;opacity:0}.cursor-marker.visible{opacity:1!important}.geoman-draw-cursor{cursor:crosshair}.rect-style-marker,.rect-start-marker{opacity:0}.rect-style-marker.visible,.rect-start-marker.visible{opacity:1!important}.vertexmarker-disabled{opacity:.7}.pm-text-marker{width:0;height:0}.pm-textarea{background-color:#fff;color:#000;resize:none;border:none;outline:0;cursor:pointer;border-radius:3px;padding-left:7px;padding-bottom:0;padding-top:4px}.leaflet-pm-draggable .pm-textarea{cursor:move}.pm-textarea:focus,.pm-textarea:focus-within,.pm-textarea:focus-visible,.pm-textarea:active{border:2px solid #000;outline:0}.pm-textarea.pm-disabled{border:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}.pm-textarea.pm-hasfocus{cursor:auto}.leaflet-pm-toolbar .leaflet-buttons-control-button{padding:5px;box-sizing:border-box;position:relative;z-index:3}.leaflet-pm-toolbar .leaflet-pm-actions-container a.leaflet-pm-action:first-child:not(.pos-right),.leaflet-pm-toolbar .leaflet-pm-actions-container a.leaflet-pm-action:last-child.pos-right{border-radius:0}.leaflet-pm-toolbar .button-container a.leaflet-buttons-control-button{border-radius:0}.leaflet-pm-toolbar .button-container:last-child a.leaflet-buttons-control-button{border-radius:0 0 2px 2px}.leaflet-pm-toolbar .button-container:first-child a.leaflet-buttons-control-button{border-radius:2px 2px 0 0}.leaflet-pm-toolbar .button-container:last-child a.leaflet-buttons-control-button{border-bottom:none}.leaflet-pm-toolbar .control-fa-icon{font-size:19px;line-height:24px}.leaflet-pm-toolbar .control-icon{width:100%;height:100%;box-sizing:border-box;background-size:contain;background-repeat:no-repeat;background-position:center center}.leaflet-pm-toolbar .leaflet-pm-icon-marker{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9NYXJrZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTUuNSwyNC44NzgyOTU5IEMxNS4yOTA5MjAxLDI0Ljg3NzIyMTkgMTUuMTc0NDg1NywyNC44NDY3ODE3IDE0LjY1OTA4NjYsMjQuMjM1NDE2MyBDMTAuMjE5Njk1NSwxOS40MTE4MDU0IDgsMTUuNTAxNDM5MiA4LDEyLjUwNDMxNzcgQzgsOC4zNTk3OTc0NiAxMS4zNTc4NjQ0LDUgMTUuNSw1IEMxOS42NDIxMzU2LDUgMjMsOC4zNTk3OTc0NiAyMywxMi41MDQzMTc3IEMyMywxNyAxOC4yODc4MjE3LDIxLjkyNjgzNzggMTYuMzMzNjYwMSwyNC4yNDQwMTg2IEMxNS44MjI0NjIyLDI0Ljg1MDE4MDIgMTUuNzA5MDc5OSwyNC44NzkzNjk5IDE1LjUsMjQuODc4Mjk1OSBaIE0xNS41LDE1LjUzMjY5NDggQzE3LjI3NTIwMSwxNS41MzI2OTQ4IDE4LjcxNDI4NTcsMTQuMTE4MDAwNCAxOC43MTQyODU3LDEyLjM3Mjg4NjQgQzE4LjcxNDI4NTcsMTAuNjI3NzcyMyAxNy4yNzUyMDEsOS4yMTMwNzc5MiAxNS41LDkuMjEzMDc3OTIgQzEzLjcyNDc5OSw5LjIxMzA3NzkyIDEyLjI4NTcxNDMsMTAuNjI3NzcyMyAxMi4yODU3MTQzLDEyLjM3Mjg4NjQgQzEyLjI4NTcxNDMsMTQuMTE4MDAwNCAxMy43MjQ3OTksMTUuNTMyNjk0OCAxNS41LDE1LjUzMjY5NDggWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9IlN5bWJvbHMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJBdG9tcy9JY29ucy9Ub29scy9NYXJrZXIiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zLjAwMDAwMCwgLTMuMDAwMDAwKSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-polygon{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0icG9seWdvbi1hIiBkPSJNMTkuNDIwNjg5Miw5LjE2NTA5NzI1IEMxOS4xNTIzNjgxLDguNjY5OTI5MTQgMTksOC4xMDI3NTgzMSAxOSw3LjUgQzE5LDUuNTY3MDAzMzggMjAuNTY3MDAzNCw0IDIyLjUsNCBDMjQuNDMyOTk2Niw0IDI2LDUuNTY3MDAzMzggMjYsNy41IEMyNiw5LjI2MzIzNTk1IDI0LjY5NjE0NzEsMTAuNzIxOTQwNyAyMywxMC45NjQ1NTU2IEwyMywxOS4wMzU0NDQ0IEMyNC42OTYxNDcxLDE5LjI3ODA1OTMgMjYsMjAuNzM2NzY0IDI2LDIyLjUgQzI2LDI0LjQzMjk5NjYgMjQuNDMyOTk2NiwyNiAyMi41LDI2IEMyMC43MzY3NjQsMjYgMTkuMjc4MDU5MywyNC42OTYxNDcxIDE5LjAzNTQ0NDQsMjMgTDEwLjk2NDU1NTYsMjMgQzEwLjcyMTk0MDcsMjQuNjk2MTQ3MSA5LjI2MzIzNTk1LDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjU2NzAwMzQgNS41NjcwMDMzOCwxOSA3LjUsMTkgQzguMTAyNzU4MzEsMTkgOC42Njk5MjkxNCwxOS4xNTIzNjgxIDkuMTY1MDk3MjUsMTkuNDIwNjg5MiBMMTkuNDIwNjg5Miw5LjE2NTA5NzI1IFogTTIwLjgzNDkwNzMsMTAuNTc5MzA2MyBMMTAuNTc5MzEwOCwyMC44MzQ5MDI3IEMxMC42MDg2NzMxLDIwLjg4OTA4ODggMTAuNjM2NjQ2OSwyMC45NDQxMzcyIDEwLjY2MzE4NDQsMjEgTDE5LjMzNjgxNTYsMjEgQzE5LjY4MjU3NzUsMjAuMjcyMTU0IDIwLjI3MjE1NCwxOS42ODI1Nzc1IDIxLDE5LjMzNjgxNTYgTDIxLDEwLjY2MzE4NDQgQzIwLjk0NDEzNzIsMTAuNjM2NjQ2OSAyMC44ODkwODg4LDEwLjYwODY3MzEgMjAuODM0OTAyNywxMC41NzkzMTA4IFogTTIyLjUsOSBDMjMuMzI4NDI3MSw5IDI0LDguMzI4NDI3MTIgMjQsNy41IEMyNCw2LjY3MTU3Mjg4IDIzLjMyODQyNzEsNiAyMi41LDYgQzIxLjY3MTU3MjksNiAyMSw2LjY3MTU3Mjg4IDIxLDcuNSBDMjEsOC4zMjg0MjcxMiAyMS42NzE1NzI5LDkgMjIuNSw5IFogTTIyLjUsMjQgQzIzLjMyODQyNzEsMjQgMjQsMjMuMzI4NDI3MSAyNCwyMi41IEMyNCwyMS42NzE1NzI5IDIzLjMyODQyNzEsMjEgMjIuNSwyMSBDMjEuNjcxNTcyOSwyMSAyMSwyMS42NzE1NzI5IDIxLDIyLjUgQzIxLDIzLjMyODQyNzEgMjEuNjcxNTcyOSwyNCAyMi41LDI0IFogTTcuNSwyNCBDOC4zMjg0MjcxMiwyNCA5LDIzLjMyODQyNzEgOSwyMi41IEM5LDIxLjY3MTU3MjkgOC4zMjg0MjcxMiwyMSA3LjUsMjEgQzYuNjcxNTcyODgsMjEgNiwyMS42NzE1NzI5IDYsMjIuNSBDNiwyMy4zMjg0MjcxIDYuNjcxNTcyODgsMjQgNy41LDI0IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9InBvbHlnb24tYiIgZmlsbD0iI2ZmZiI+CiAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BvbHlnb24tYSIvPgogICAgPC9tYXNrPgogICAgPHVzZSBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwb2x5Z29uLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjcG9seWdvbi1iKSI+CiAgICAgIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPgogICAgPC9nPgogIDwvZz4KPC9zdmc+Cg==)}.leaflet-pm-toolbar .leaflet-pm-icon-polyline{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0ibGluZS1hIiBkPSJNOS4xNjUwOTcyNSwxOS40MjA2ODkyIEwxOC40MjA2ODkyLDEwLjE2NTA5NzMgQzE4LjE1MjM2ODEsOS42Njk5MjkxNCAxOCw5LjEwMjc1ODMxIDE4LDguNSBDMTgsNi41NjcwMDMzOCAxOS41NjcwMDM0LDUgMjEuNSw1IEMyMy40MzI5OTY2LDUgMjUsNi41NjcwMDMzOCAyNSw4LjUgQzI1LDEwLjQzMjk5NjYgMjMuNDMyOTk2NiwxMiAyMS41LDEyIEMyMC44OTcyNDE3LDEyIDIwLjMzMDA3MDksMTEuODQ3NjMxOSAxOS44MzQ5MDI3LDExLjU3OTMxMDggTDEwLjU3OTMxMDgsMjAuODM0OTAyNyBDMTAuODQ3NjMxOSwyMS4zMzAwNzA5IDExLDIxLjg5NzI0MTcgMTEsMjIuNSBDMTEsMjQuNDMyOTk2NiA5LjQzMjk5NjYyLDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjU2NzAwMzQgNS41NjcwMDMzOCwxOSA3LjUsMTkgQzguMTAyNzU4MzEsMTkgOC42Njk5MjkxNCwxOS4xNTIzNjgxIDkuMTY1MDk3MjUsMTkuNDIwNjg5MiBaIE0yMS41LDEwIEMyMi4zMjg0MjcxLDEwIDIzLDkuMzI4NDI3MTIgMjMsOC41IEMyMyw3LjY3MTU3Mjg4IDIyLjMyODQyNzEsNyAyMS41LDcgQzIwLjY3MTU3MjksNyAyMCw3LjY3MTU3Mjg4IDIwLDguNSBDMjAsOS4zMjg0MjcxMiAyMC42NzE1NzI5LDEwIDIxLjUsMTAgWiBNNy41LDI0IEM4LjMyODQyNzEyLDI0IDksMjMuMzI4NDI3MSA5LDIyLjUgQzksMjEuNjcxNTcyOSA4LjMyODQyNzEyLDIxIDcuNSwyMSBDNi42NzE1NzI4OCwyMSA2LDIxLjY3MTU3MjkgNiwyMi41IEM2LDIzLjMyODQyNzEgNi42NzE1NzI4OCwyNCA3LjUsMjQgWiIvPgogIDwvZGVmcz4KICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zIC0zKSI+CiAgICA8bWFzayBpZD0ibGluZS1iIiBmaWxsPSIjZmZmIj4KICAgICAgPHVzZSB4bGluazpocmVmPSIjbGluZS1hIi8+CiAgICA8L21hc2s+CiAgICA8dXNlIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgeGxpbms6aHJlZj0iI2xpbmUtYSIvPgogICAgPGcgZmlsbD0iIzVCNUI1QiIgbWFzaz0idXJsKCNsaW5lLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-circle{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9DaXJjbGU8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTguMjg5Nzc1MSw2Ljc4NjAyMjc1IEMxOC44OTI0MTMxLDYuMjk0NjQ5ODEgMTkuNjYxNzk3LDYgMjAuNSw2IEMyMi40MzI5OTY2LDYgMjQsNy41NjcwMDMzOCAyNCw5LjUgQzI0LDEwLjMzODIwMyAyMy43MDUzNTAyLDExLjEwNzU4NjkgMjMuMjEzOTc3MiwxMS43MTAyMjQ5IEMyMy43MTk1OTksMTIuODcxMjA1MyAyNCwxNC4xNTI4NTcxIDI0LDE1LjUgQzI0LDIwLjc0NjcwNTEgMTkuNzQ2NzA1MSwyNSAxNC41LDI1IEM5LjI1MzI5NDg4LDI1IDUsMjAuNzQ2NzA1MSA1LDE1LjUgQzUsMTAuMjUzMjk0OSA5LjI1MzI5NDg4LDYgMTQuNSw2IEMxNS44NDcxNDI5LDYgMTcuMTI4Nzk0Nyw2LjI4MDQwMDk4IDE4LjI4OTc3NTEsNi43ODYwMjI3NSBaIE0xNy4xNTA0MjI4LDguNDgxNzU4NiBDMTYuMzI2MzU4MSw4LjE3MDM5MjM2IDE1LjQzMzA3NzcsOCAxNC41LDggQzEwLjM1Nzg2NDQsOCA3LDExLjM1Nzg2NDQgNywxNS41IEM3LDE5LjY0MjEzNTYgMTAuMzU3ODY0NCwyMyAxNC41LDIzIEMxOC42NDIxMzU2LDIzIDIyLDE5LjY0MjEzNTYgMjIsMTUuNSBDMjIsMTQuNTY2OTIyMyAyMS44Mjk2MDc2LDEzLjY3MzY0MTkgMjEuNTE4MjQxNCwxMi44NDk1NzcyIEMyMS4xOTYwMzgzLDEyLjk0NzM5NjggMjAuODU0MTYyMiwxMyAyMC41LDEzIEMxOC41NjcwMDM0LDEzIDE3LDExLjQzMjk5NjYgMTcsOS41IEMxNyw5LjE0NTgzNzc4IDE3LjA1MjYwMzIsOC44MDM5NjE2OSAxNy4xNTA0MjI4LDguNDgxNzU4NiBaIE0xNC41LDE3IEMxMy42NzE1NzI5LDE3IDEzLDE2LjMyODQyNzEgMTMsMTUuNSBDMTMsMTQuNjcxNTcyOSAxMy42NzE1NzI5LDE0IDE0LjUsMTQgQzE1LjMyODQyNzEsMTQgMTYsMTQuNjcxNTcyOSAxNiwxNS41IEMxNiwxNi4zMjg0MjcxIDE1LjMyODQyNzEsMTcgMTQuNSwxNyBaIE0yMC41LDExIEMyMS4zMjg0MjcxLDExIDIyLDEwLjMyODQyNzEgMjIsOS41IEMyMiw4LjY3MTU3Mjg4IDIxLjMyODQyNzEsOCAyMC41LDggQzE5LjY3MTU3MjksOCAxOSw4LjY3MTU3Mjg4IDE5LDkuNSBDMTksMTAuMzI4NDI3MSAxOS42NzE1NzI5LDExIDIwLjUsMTEgWiIgaWQ9InBhdGgtMSI+PC9wYXRoPgogICAgPC9kZWZzPgogICAgPGcgaWQ9IlN5bWJvbHMiIHN0cm9rZT0ibm9uZSIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiPgogICAgICAgIDxnIGlkPSJBdG9tcy9JY29ucy9Ub29scy9DaXJjbGUiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0zLjAwMDAwMCwgLTMuMDAwMDAwKSI+CiAgICAgICAgICAgIDxtYXNrIGlkPSJtYXNrLTIiIGZpbGw9IndoaXRlIj4KICAgICAgICAgICAgICAgIDx1c2UgeGxpbms6aHJlZj0iI3BhdGgtMSI+PC91c2U+CiAgICAgICAgICAgIDwvbWFzaz4KICAgICAgICAgICAgPHVzZSBpZD0iTWFzayIgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPGcgaWQ9IkF0b21zL0NvbG9yL0dyZXkiIG1hc2s9InVybCgjbWFzay0yKSIgZmlsbD0iIzVCNUI1QiI+CiAgICAgICAgICAgICAgICA8cmVjdCBpZD0iUmVjdGFuZ2xlIiB4PSIwIiB5PSIwIiB3aWR0aD0iMzAiIGhlaWdodD0iMzAiPjwvcmVjdD4KICAgICAgICAgICAgPC9nPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.leaflet-pm-toolbar .leaflet-pm-icon-circle-marker{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KCjxzdmcgdmlld0JveD0iMCAwIDEwMCAxMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjNUI1QjVCIiBzdHJva2Utd2lkdGg9IjgiCiAgICAgZmlsbD0ibm9uZSI+CjxjaXJjbGUgY3g9IjUwIiBjeT0iNTAiIHI9IjM1Ii8+CiAgPGNpcmNsZSBjeD0iNTAiIGN5PSI1MCIgcj0iMyIgZmlsbD0iIzVCNUI1QiIvPgo8L3N2Zz4=)}.leaflet-pm-toolbar .leaflet-pm-icon-rectangle{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0icmVjdGFuZ2xlLWEiIGQ9Ik0yMywxMC45NjQ1NTU2IEwyMywxOS4wMzU0NDQ0IEMyNC42OTYxNDcxLDE5LjI3ODA1OTMgMjYsMjAuNzM2NzY0IDI2LDIyLjUgQzI2LDI0LjQzMjk5NjYgMjQuNDMyOTk2NiwyNiAyMi41LDI2IEMyMC43MzY3NjQsMjYgMTkuMjc4MDU5MywyNC42OTYxNDcxIDE5LjAzNTQ0NDQsMjMgTDEwLjk2NDU1NTYsMjMgQzEwLjcyMTk0MDcsMjQuNjk2MTQ3MSA5LjI2MzIzNTk1LDI2IDcuNSwyNiBDNS41NjcwMDMzOCwyNiA0LDI0LjQzMjk5NjYgNCwyMi41IEM0LDIwLjczNjc2NCA1LjMwMzg1MjkzLDE5LjI3ODA1OTMgNywxOS4wMzU0NDQ0IEw3LDEwLjk2NDU1NTYgQzUuMzAzODUyOTMsMTAuNzIxOTQwNyA0LDkuMjYzMjM1OTUgNCw3LjUgQzQsNS41NjcwMDMzOCA1LjU2NzAwMzM4LDQgNy41LDQgQzkuMjYzMjM1OTUsNCAxMC43MjE5NDA3LDUuMzAzODUyOTMgMTAuOTY0NTU1Niw3IEwxOS4wMzU0NDQ0LDcgQzE5LjI3ODA1OTMsNS4zMDM4NTI5MyAyMC43MzY3NjQsNCAyMi41LDQgQzI0LjQzMjk5NjYsNCAyNiw1LjU2NzAwMzM4IDI2LDcuNSBDMjYsOS4yNjMyMzU5NSAyNC42OTYxNDcxLDEwLjcyMTk0MDcgMjMsMTAuOTY0NTU1NiBaIE0yMSwxMC42NjMxODQ0IEMyMC4yNzIxNTQsMTAuMzE3NDIyNSAxOS42ODI1Nzc1LDkuNzI3ODQ1OTggMTkuMzM2ODE1Niw5IEwxMC42NjMxODQ0LDkgQzEwLjMxNzQyMjUsOS43Mjc4NDU5OCA5LjcyNzg0NTk4LDEwLjMxNzQyMjUgOSwxMC42NjMxODQ0IEw5LDE5LjMzNjgxNTYgQzkuNzI3ODQ1OTgsMTkuNjgyNTc3NSAxMC4zMTc0MjI1LDIwLjI3MjE1NCAxMC42NjMxODQ0LDIxIEwxOS4zMzY4MTU2LDIxIEMxOS42ODI1Nzc1LDIwLjI3MjE1NCAyMC4yNzIxNTQsMTkuNjgyNTc3NSAyMSwxOS4zMzY4MTU2IEwyMSwxMC42NjMxODQ0IFogTTcuNSw5IEM4LjMyODQyNzEyLDkgOSw4LjMyODQyNzEyIDksNy41IEM5LDYuNjcxNTcyODggOC4zMjg0MjcxMiw2IDcuNSw2IEM2LjY3MTU3Mjg4LDYgNiw2LjY3MTU3Mjg4IDYsNy41IEM2LDguMzI4NDI3MTIgNi42NzE1NzI4OCw5IDcuNSw5IFogTTIyLjUsOSBDMjMuMzI4NDI3MSw5IDI0LDguMzI4NDI3MTIgMjQsNy41IEMyNCw2LjY3MTU3Mjg4IDIzLjMyODQyNzEsNiAyMi41LDYgQzIxLjY3MTU3MjksNiAyMSw2LjY3MTU3Mjg4IDIxLDcuNSBDMjEsOC4zMjg0MjcxMiAyMS42NzE1NzI5LDkgMjIuNSw5IFogTTIyLjUsMjQgQzIzLjMyODQyNzEsMjQgMjQsMjMuMzI4NDI3MSAyNCwyMi41IEMyNCwyMS42NzE1NzI5IDIzLjMyODQyNzEsMjEgMjIuNSwyMSBDMjEuNjcxNTcyOSwyMSAyMSwyMS42NzE1NzI5IDIxLDIyLjUgQzIxLDIzLjMyODQyNzEgMjEuNjcxNTcyOSwyNCAyMi41LDI0IFogTTcuNSwyNCBDOC4zMjg0MjcxMiwyNCA5LDIzLjMyODQyNzEgOSwyMi41IEM5LDIxLjY3MTU3MjkgOC4zMjg0MjcxMiwyMSA3LjUsMjEgQzYuNjcxNTcyODgsMjEgNiwyMS42NzE1NzI5IDYsMjIuNSBDNiwyMy4zMjg0MjcxIDYuNjcxNTcyODgsMjQgNy41LDI0IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9InJlY3RhbmdsZS1iIiBmaWxsPSIjZmZmIj4KICAgICAgPHVzZSB4bGluazpocmVmPSIjcmVjdGFuZ2xlLWEiLz4KICAgIDwvbWFzaz4KICAgIDx1c2UgZmlsbD0iIzVCNUI1QiIgZmlsbC1ydWxlPSJub256ZXJvIiB4bGluazpocmVmPSIjcmVjdGFuZ2xlLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjcmVjdGFuZ2xlLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-delete{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9FcmFzZXI8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMTcuNzg3NDIxOSwxOC40ODEyNTUyIEwxMS42NDgwMDc5LDEzLjM0OTgxODQgTDYuNDA0NjYwMDksMTkuMzgxNjAwMSBMMTAuNTUzOTE1NiwyMi45ODg0OTI5IEwxMy44NjkzNCwyMi45ODg0OTI5IEwxNy43ODc0MjE5LDE4LjQ4MTI1NTIgWiBNMTYuNTA3NDI1MiwyMi45ODg0OTI5IEwyNi4wMDAwMDAyLDIyLjk4ODQ5MjkgTDI2LjAwMDAwMDIsMjQuOTg4NDkyOSBMMTAuMDAwMDAwMiwyNC45ODg0OTI5IEw5LjgwNzA4MzEzLDI0Ljk4ODQ5MjkgTDUuMDkyNTQyMDQsMjAuODkxMDE5MiBDNC4yNTg5MTI4NSwyMC4xNjYzNTY0IDQuMTcwNTc4MTQsMTguOTAzMTExMiA0Ljg5NTI0MDkzLDE4LjA2OTQ4MiBMMTYuMDQ4MjQ0NCw1LjIzOTQxOTE2IEMxNi43NzI5MDcyLDQuNDA1Nzg5OTggMTguMDM2MTUyNSw0LjMxNzQ1NTI2IDE4Ljg2OTc4MTYsNS4wNDIxMTgwNiBMMjQuOTA3NDU4MywxMC4yOTA1OTAzIEMyNS43NDEwODc1LDExLjAxNTI1MzEgMjUuODI5NDIyMiwxMi4yNzg0OTgzIDI1LjEwNDc1OTQsMTMuMTEyMTI3NSBMMTYuNTA3NDI1MiwyMi45ODg0OTI5IFoiIGlkPSJwYXRoLTEiPjwvcGF0aD4KICAgIDwvZGVmcz4KICAgIDxnIGlkPSJTeW1ib2xzIiBzdHJva2U9Im5vbmUiIHN0cm9rZS13aWR0aD0iMSIgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIj4KICAgICAgICA8ZyBpZD0iQXRvbXMvSWNvbnMvVG9vbHMvRXJhc2VyIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy4wMDAwMDAsIC0zLjAwMDAwMCkiPgogICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDx1c2UgaWQ9IkNvbWJpbmVkLVNoYXBlIiBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+)}.leaflet-pm-toolbar .leaflet-pm-icon-edit{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0iZWRpdF9hbmNob3ItYSIgZD0iTTEzLjUsMTEgQzExLjU2NzAwMzQsMTEgMTAsOS40MzI5OTY2MiAxMCw3LjUgQzEwLDUuNTY3MDAzMzggMTEuNTY3MDAzNCw0IDEzLjUsNCBDMTUuNDMyOTk2Niw0IDE3LDUuNTY3MDAzMzggMTcsNy41IEMxNyw5LjQzMjk5NjYyIDE1LjQzMjk5NjYsMTEgMTMuNSwxMSBaIE0xMy41LDkgQzE0LjMyODQyNzEsOSAxNSw4LjMyODQyNzEyIDE1LDcuNSBDMTUsNi42NzE1NzI4OCAxNC4zMjg0MjcxLDYgMTMuNSw2IEMxMi42NzE1NzI5LDYgMTIsNi42NzE1NzI4OCAxMiw3LjUgQzEyLDguMzI4NDI3MTIgMTIuNjcxNTcyOSw5IDEzLjUsOSBaIE0xMi4wMDAyODg5LDcuNTI5NzM4OTMgQzEyLjAxMjU5ODMsOC4xNjI3MzY3MiAxMi40MTcwMTk3LDguNjk5NjY0MyAxMi45ODA3MTExLDguOTA3Njc5NjYgTDMsMTUgTDMsMTMgTDEyLjAwMDI4ODksNy41Mjk3Mzg5MyBaIE0xNC4yMTcyNzIyLDYuMTgyMjg0NzIgTDE5LjQ1MzEyNSwzIEwyMi42NTg5MzU1LDMgTDE0Ljk4OTEwMiw3LjY4MTczODg1IEMxNC45OTYyOTcxLDcuNjIyMTY0NTkgMTUsNy41NjE1MTQ3MiAxNSw3LjUgQzE1LDYuOTMxMzgzODEgMTQuNjgzNjA5OCw2LjQzNjY2NDUgMTQuMjE3MjcyMiw2LjE4MjI4NDcyIFogTTIzLjQ0MzQwNDIsMTkuMjg1MTczNiBMMjAuMTI4Mjc5OSwxOS4yODUxNzM2IEwyMS44NzI5OTgzLDIzLjUzNDk1MjUgQzIxLjk5NDUyOTYsMjMuODI5NTc3MyAyMS44NTU2NTQ2LDI0LjE1OTkyMDkgMjEuNTc3ODczNCwyNC4yODQ5MjA4IEwyMC4wNDE0Njc1LDI0Ljk1NDUxNDIgQzE5Ljc1NTA2MTMsMjUuMDc5NTE0MSAxOS40MzM4NzM4LDI0LjkzNjY3MDQgMTkuMzEyMzQyNiwyNC42NTA5NTE4IEwxNy42NTQ0MzY3LDIwLjYxNTQ1NDEgTDE0Ljk0NjE4NzMsMjMuNDAxMDE1MSBDMTQuNTg1MjgxMSwyMy43NzIxNzExIDE0LDIzLjQ4NjA0NjMgMTQsMjIuOTk5MjY1MyBMMTQsOS41NzE4MzUzMyBDMTQsOS4wNTkzMzU2MSAxNC42MjI1MzExLDguODA5NDkyIDE0Ljk0NjE1Niw5LjE3MDA4NTU1IEwyMy44MzQwMjkyLDE4LjMxMjAxNzkgQzI0LjE5MjUyOTEsMTguNjYxMzYxNSAyMy45Mjc5OTc5LDE5LjI4NTE3MzYgMjMuNDQzNDA0MiwxOS4yODUxNzM2IFoiLz4KICA8L2RlZnM+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMyAtMykiPgogICAgPG1hc2sgaWQ9ImVkaXRfYW5jaG9yLWIiIGZpbGw9IiNmZmYiPgogICAgICA8dXNlIHhsaW5rOmhyZWY9IiNlZGl0X2FuY2hvci1hIi8+CiAgICA8L21hc2s+CiAgICA8dXNlIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgeGxpbms6aHJlZj0iI2VkaXRfYW5jaG9yLWEiLz4KICAgIDxnIGZpbGw9IiM1QjVCNUIiIG1hc2s9InVybCgjZWRpdF9hbmNob3ItYikiPgogICAgICA8cmVjdCB3aWR0aD0iMzAiIGhlaWdodD0iMzAiLz4KICAgIDwvZz4KICA8L2c+Cjwvc3ZnPgo=)}.leaflet-pm-toolbar .leaflet-pm-icon-drag{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgPGRlZnM+CiAgICA8cGF0aCBpZD0ibW92ZS1hIiBkPSJNMjEsMTQgTDIxLDEwIEwyNywxNSBMMjEsMjAgTDIxLDE2IEwxNiwxNiBMMTYsMjEgTDIwLDIxIEwxNSwyNyBMMTAsMjEgTDE0LDIxIEwxNCwxNiBMOSwxNiBMOSwyMCBMMywxNSBMOSwxMCBMOSwxNCBMMTQsMTQgTDE0LDkgTDEwLDkgTDE1LDMgTDIwLDkgTDE2LDkgTDE2LDE0IEwyMSwxNCBaIi8+CiAgPC9kZWZzPgogIDxnIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMgLTMpIj4KICAgIDxtYXNrIGlkPSJtb3ZlLWIiIGZpbGw9IiNmZmYiPgogICAgICA8dXNlIHhsaW5rOmhyZWY9IiNtb3ZlLWEiLz4KICAgIDwvbWFzaz4KICAgIDx1c2UgZmlsbD0iI0Q4RDhEOCIgeGxpbms6aHJlZj0iI21vdmUtYSIvPgogICAgPGcgZmlsbD0iIzVCNUI1QiIgbWFzaz0idXJsKCNtb3ZlLWIpIj4KICAgICAgPHJlY3Qgd2lkdGg9IjMwIiBoZWlnaHQ9IjMwIi8+CiAgICA8L2c+CiAgPC9nPgo8L3N2Zz4K)}.leaflet-pm-toolbar .leaflet-pm-icon-cut{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDUyLjUgKDY3NDY5KSAtIGh0dHA6Ly93d3cuYm9oZW1pYW5jb2RpbmcuY29tL3NrZXRjaCAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9TY2lzc29yczwvdGl0bGU+CiAgICA8ZGVzYz5DcmVhdGVkIHdpdGggU2tldGNoLjwvZGVzYz4KICAgIDxkZWZzPgogICAgICAgIDxwYXRoIGQ9Ik0xMi45NjkxNTc0LDEzLjQ5Mzk0MzUgTDIxLjAzMTcwMzIsNS41NDE2NzAxMyBMMjMuNDY0OTQ5OSw1LjY3NzIyOTU3IEwxNy4wNDcwNzEzLDE0LjUxMDY4MTYgTDI3LjU2NjAzMzYsMTcuMTMzMzUzNSBMMjUuNzg5MTk0NCwxOC44MDEyNTg4IEwxNC41ODU0OTUxLDE3Ljg5ODc1MDYgTDEzLjY0ODc5NTUsMTkuMTg4MDA3IEMxMy43OTQ2MzksMTkuMjY1MDk1OCAxMy45MzY3OTg1LDE5LjM1MzQ0MTcgMTQuMDc0MTM3NywxOS40NTMyMjQ1IEMxNS42Mzc5NjQ4LDIwLjU4OTQxMTQgMTUuOTg0NjM1NywyMi43NzgyMDUyIDE0Ljg0ODQ0ODgsMjQuMzQyMDMyNCBDMTMuNzEyMjYxOSwyNS45MDU4NTk1IDExLjUyMzQ2ODEsMjYuMjUyNTMwNCA5Ljk1OTY0MDk2LDI1LjExNjM0MzUgQzguMzk1ODEzODQsMjMuOTgwMTU2NSA4LjA0OTE0Mjk2LDIxLjc5MTM2MjcgOS4xODUzMjk4NiwyMC4yMjc1MzU2IEM5Ljc0NTg3Mjc2LDE5LjQ1NjAxNDUgMTAuNTYyNjE4OCwxOC45ODA3NDc1IDExLjQzNDEyMTgsMTguODMzNjQwNyBMMTIuNjgwNTY1NiwxNy4xMTgwNTc5IEwxMi41MjM5NzI0LDE2LjM3NDcyMTYgTDExLjk1MDY5MzIsMTUuMzAxMjM5MSBMOS44OTMxMDY0NiwxNC43ODgyMjUxIEM5LjEzMDkzNzk2LDE1LjIzNTcyNjEgOC4xOTk3Nzg1NCwxNS4zOTY2NDQ3IDcuMjc0NDUzNTUsMTUuMTY1OTM1MiBDNS4zOTg4NzUxOSwxNC42OTgzMDEgNC4yNTc1MTA5NCwxMi43OTg3NTE5IDQuNzI1MTQ1MTUsMTAuOTIzMTczNiBDNS4xOTI3NzkzNSw5LjA0NzU5NTE5IDcuMDkyMzI4NDYsNy45MDYyMzA5NCA4Ljk2NzkwNjgyLDguMzczODY1MTUgQzEwLjg0MzQ4NTIsOC44NDE0OTkzNSAxMS45ODQ4NDk0LDEwLjc0MTA0ODUgMTEuNTE3MjE1MiwxMi42MTY2MjY4IEMxMS40NzYxNDY0LDEyLjc4MTM0NDkgMTEuNDI0MDMzNSwxMi45NDA0MDAxIDExLjM2MTg2MjcsMTMuMDkzMTk5OSBMMTIuOTY5MTU3NCwxMy40OTM5NDM1IFogTTcuNzU4Mjk3MzUsMTMuMjI1MzQzOCBDOC41NjIxMTY2NCwxMy40MjU3NTg0IDkuMzc2MjA5MTIsMTIuOTM2NjAyMyA5LjU3NjYyMzc4LDEyLjEzMjc4MyBDOS43NzcwMzg0NCwxMS4zMjg5NjM3IDkuMjg3ODgyMzMsMTAuNTE0ODcxMyA4LjQ4NDA2MzAzLDEwLjMxNDQ1NjYgQzcuNjgwMjQzNzMsMTAuMTE0MDQxOSA2Ljg2NjE1MTI2LDEwLjYwMzE5OCA2LjY2NTczNjYsMTEuNDA3MDE3MyBDNi40NjUzMjE5NCwxMi4yMTA4MzY2IDYuOTU0NDc4MDUsMTMuMDI0OTI5MSA3Ljc1ODI5NzM1LDEzLjIyNTM0MzggWiBNMTAuODAzMzYzOSwyMS40MDMxMDYxIEMxMC4zMTY0MjY2LDIyLjA3MzMxNzcgMTAuNDY0OTk5OCwyMy4wMTEzNzIyIDExLjEzNTIxMTUsMjMuNDk4MzA5NSBDMTEuODA1NDIzMSwyMy45ODUyNDY3IDEyLjc0MzQ3NzYsMjMuODM2NjczNSAxMy4yMzA0MTQ4LDIzLjE2NjQ2MTkgQzEzLjcxNzM1MjEsMjIuNDk2MjUwMiAxMy41Njg3Nzg4LDIxLjU1ODE5NTcgMTIuODk4NTY3MiwyMS4wNzEyNTg1IEMxMi4yMjgzNTU2LDIwLjU4NDMyMTIgMTEuMjkwMzAxMSwyMC43MzI4OTQ1IDEwLjgwMzM2MzksMjEuNDAzMTA2MSBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iU3ltYm9scyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkF0b21zL0ljb25zL1Rvb2xzL1NjaXNzb3JzIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgtMy4wMDAwMDAsIC0zLjAwMDAwMCkiPgogICAgICAgICAgICA8bWFzayBpZD0ibWFzay0yIiBmaWxsPSJ3aGl0ZSI+CiAgICAgICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNwYXRoLTEiPjwvdXNlPgogICAgICAgICAgICA8L21hc2s+CiAgICAgICAgICAgIDx1c2UgaWQ9Ik1hc2siIGZpbGw9IiM1QjVCNUIiIGZpbGwtcnVsZT0ibm9uemVybyIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTYuMDkzMTk0LCAxNS42NjMzNTEpIHJvdGF0ZSgtMzIuMDAwMDAwKSB0cmFuc2xhdGUoLTE2LjA5MzE5NCwgLTE1LjY2MzM1MSkgIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-snapping{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iMjRweCIgaGVpZ2h0PSIyNHB4IiB2aWV3Qm94PSIwIDAgMjQgMjQiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8IS0tIEdlbmVyYXRvcjogU2tldGNoIDU3LjEgKDgzMDg4KSAtIGh0dHBzOi8vc2tldGNoLmNvbSAtLT4KICAgIDx0aXRsZT5BdG9tcy9JY29ucy9Ub29scy9NYWduZXQ8L3RpdGxlPgogICAgPGRlc2M+Q3JlYXRlZCB3aXRoIFNrZXRjaC48L2Rlc2M+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBkPSJNMjEuOTk5NDc1OSwxMC45NDI4MTgzIEwyMS45OTk5OTg1LDE2LjM3MTA0MTcgQzIyLDE2LjY4NzIwMDcgMjIsMTcuMDA1ODI3OCAyMiwxNy4zMjY5NDExIEMyMiwyMS41NjQ2NTQ1IDE4LjY0MjEzNTYsMjUgMTQuNSwyNSBDMTAuMzU3ODY0NCwyNSA3LDIxLjU2NDY1NDUgNywxNy4zMjY5NDExIEw3LjAwMDg3NTA4LDEwLjk5MDc1MDcgTDExLjAwMjI4MDgsMTAuOTk4NDEyNSBDMTEuMDAxNzAzMywxMS42OTgwMTE0IDExLjAwMTI0NywxMi40MTY4MjQ4IDExLjAwMDg5OTIsMTMuMTU1NDg4NyBMMTEsMTcuMzI2OTQxMSBDMTEsMTkuMzc1NjgwOSAxMi41ODc2ODQxLDIxIDE0LjUsMjEgQzE2LjQxMjMxNTksMjEgMTgsMTkuMzc1NjgwOSAxOCwxNy4zMjY5NDExIEMxOCwxNS4wNzAyMDMyIDE3Ljk5OTU2OTYsMTIuOTYxOTY2OCAxNy45OTg1MzksMTAuOTkxMDAzMiBMMjEuOTk5NDc1OSwxMC45NDI4MTgzIFogTTEwLDcgQzEwLjU1MjI4NDcsNyAxMSw3LjQ0NzcxNTI1IDExLDggTDExLDEwIEw3LDEwIEw3LDggQzcsNy40NDc3MTUyNSA3LjQ0NzcxNTI1LDcgOCw3IEwxMCw3IFogTTIxLDcgQzIxLjU1MjI4NDcsNyAyMiw3LjQ0NzcxNTI1IDIyLDggTDIyLDEwIEwxOCwxMCBMMTgsOCBDMTgsNy40NDc3MTUyNSAxOC40NDc3MTUzLDcgMTksNyBMMjEsNyBaIiBpZD0icGF0aC0xIj48L3BhdGg+CiAgICA8L2RlZnM+CiAgICA8ZyBpZD0iU3ltYm9scyIgc3Ryb2tlPSJub25lIiBzdHJva2Utd2lkdGg9IjEiIGZpbGw9Im5vbmUiIGZpbGwtcnVsZT0iZXZlbm9kZCI+CiAgICAgICAgPGcgaWQ9IkF0b21zL0ljb25zL1Rvb2xzL01hZ25ldCIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoLTMuMDAwMDAwLCAtMy4wMDAwMDApIj4KICAgICAgICAgICAgPG1hc2sgaWQ9Im1hc2stMiIgZmlsbD0id2hpdGUiPgogICAgICAgICAgICAgICAgPHVzZSB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICAgICAgPC9tYXNrPgogICAgICAgICAgICA8dXNlIGlkPSJNYXNrIiBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHRyYW5zZm9ybT0idHJhbnNsYXRlKDE0LjUwMDAwMCwgMTYuMDAwMDAwKSByb3RhdGUoNDUuMDAwMDAwKSB0cmFuc2xhdGUoLTE0LjUwMDAwMCwgLTE2LjAwMDAwMCkgIiB4bGluazpocmVmPSIjcGF0aC0xIj48L3VzZT4KICAgICAgICA8L2c+CiAgICA8L2c+Cjwvc3ZnPg==)}.leaflet-pm-toolbar .leaflet-pm-icon-rotate{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHhtbG5zOnhsaW5rPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hsaW5rIiB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCI+CiAgICA8ZGVmcz4KICAgICAgICA8cGF0aCBpZD0icm90YXRlIiBkPSJNMjEuMiw1LjhjLTAuMS0wLjItMC4yLTAuMy0wLjMtMC41bC0wLjEtMC4yYy0wLjEtMC4yLTAuMi0wLjMtMC4zLTAuNWwtMC4xLTAuMmMtMC4xLTAuMi0wLjItMC4zLTAuNC0wLjVsLTAuMi0wLjNsMi44LTMuMUwxOCwwLjZsLTQuNiwwLjFsMC41LDQuNWwwLjUsNC41bDMuMi0zLjZ2MC4xbDAuMSwwLjJjMC4xLDAuMSwwLjEsMC4yLDAuMiwwLjJsMC4xLDAuMkMxOCw3LDE4LDcuMSwxOC4xLDcuMmMwLjMsMC43LDAuNiwxLjQsMC43LDIuMWMwLjIsMS40LDAsMi45LTAuNiw0LjJMMTgsMTMuOUwxNy45LDE0bC0wLjMsMC41bC0wLjEsMC4yYy0wLjIsMC4yLTAuNCwwLjUtMC42LDAuN2MtMC41LDAuNS0xLjEsMS0xLjcsMS4zYy0wLjYsMC40LTEuMywwLjYtMi4xLDAuOGMtMC43LDAuMS0xLjUsMC4yLTIuMiwwLjFjLTAuOC0wLjEtMS41LTAuMy0yLjItMC41Yy0wLjctMC4zLTEuMy0wLjctMS45LTEuMmwtMC40LTAuNGwtMC4yLTAuM0w2LDE1Yy0wLjEtMC4xLTAuMi0wLjItMC4yLTAuM2wtMC4zLTAuNGwtMC4xLTAuMWwtMC4yLTAuNGMwLTAuMS0wLjEtMC4xLTAuMS0wLjJsLTAuMy0wLjVsLTAuMS0wLjJjLTAuMS0wLjMtMC4yLTAuNi0wLjMtMC45Yy0wLjItMC44LTAuMy0xLjYtMC4zLTIuNGMwLTAuMiwwLTAuMywwLTAuNVY4LjljMC0wLjIsMC0wLjMsMC4xLTAuNGwwLjEtMC42bDAuMi0wLjZjMC4zLTAuOCwwLjctMS41LDEuMi0yLjJjMC41LTAuNywxLjEtMS4zLDEuOC0xLjhjMC4yLTAuMSwwLjMtMC40LDAuMS0wLjZDNy41LDIuNiw3LjQsMi41LDcuMywyLjVINy4xTDcsMi42QzYuMSwzLDUuNCwzLjYsNC43LDQuMkM0LDQuOSwzLjUsNS43LDMsNi42Yy0wLjksMS44LTEuMiwzLjgtMC44LDUuOGMwLjEsMC41LDAuMiwwLjksMC4zLDEuNGwwLjMsMC44QzIuOSwxNC43LDMsMTQuOCwzLDE1bDAuMiwwLjRjMCwwLjEsMC4xLDAuMiwwLjEsMC4ybDAuMywwLjVjMC4xLDAuMiwwLjIsMC4zLDAuMywwLjVsMC4xLDAuMmMwLjEsMC4xLDAuMiwwLjMsMC4zLDAuNEw1LDE3LjhjMC43LDAuNywxLjYsMS4zLDIuNSwxLjhjMC45LDAuNSwxLjksMC44LDMsMC45YzAuNSwwLjEsMSwwLjEsMS41LDAuMWMwLjYsMCwxLjEsMCwxLjYtMC4xYzEtMC4yLDIuMS0wLjUsMy0xbDAuMi0wLjFjMC4yLTAuMSwwLjMtMC4yLDAuNS0wLjNsMC43LTAuNGMwLjItMC4xLDAuMy0wLjIsMC40LTAuM2wwLjItMC4yYzAuMi0wLjEsMC40LTAuMywwLjUtMC41bDAuMS0wLjFjMC4zLTAuMywwLjctMC43LDAuOS0xbDAuNi0wLjlsMC40LTAuNmMxLTEuOSwxLjQtNC4xLDEuMS02LjJDMjIsNy44LDIxLjcsNi43LDIxLjIsNS44eiIvPgogICAgPC9kZWZzPgogICAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJldmVub2RkIiB0cmFuc2Zvcm09InRyYW5zbGF0ZSgwIDIpIj4KICAgICAgICA8bWFzayBpZD0icm90YXRlLWIiIGZpbGw9IiNmZmYiPgogICAgICAgICAgICA8dXNlIHhsaW5rOmhyZWY9IiNyb3RhdGUiLz4KICAgICAgICA8L21hc2s+CiAgICAgICAgPHVzZSBmaWxsPSIjNUI1QjVCIiBmaWxsLXJ1bGU9Im5vbnplcm8iIHhsaW5rOmhyZWY9IiNyb3RhdGUiLz4KICAgICAgICA8ZyBmaWxsPSIjNUI1QjVCIiBtYXNrPSJ1cmwoI3JvdGF0ZS1iKSI+CiAgICAgICAgICAgIDxyZWN0IHdpZHRoPSIzMCIgaGVpZ2h0PSIzMCIvPgogICAgICAgIDwvZz4KICAgIDwvZz4KPC9zdmc+Cg==)}.leaflet-pm-toolbar .leaflet-pm-icon-text{background-image:url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5jbHMtMXtmaWxsOm5vbmU7c3Ryb2tlOiM1YjViNWI7c3Ryb2tlLWxpbmVjYXA6cm91bmQ7c3Ryb2tlLWxpbmVqb2luOnJvdW5kO3N0cm9rZS13aWR0aDoyLjVweDt9PC9zdHlsZT48L2RlZnM+PHRpdGxlPlRleHQ8L3RpdGxlPjxnIGlkPSJFYmVuZV8yIiBkYXRhLW5hbWU9IkViZW5lIDIiPjxwb2x5bGluZSBjbGFzcz0iY2xzLTEiIHBvaW50cz0iMTkuNjQgNy4yNyAxOS42NCA0IDEyIDQgMTIgMjAgMTUuOTEgMjAgOC4wOSAyMCAxMiAyMCAxMiA0IDQuMzYgNCA0LjM2IDcuMjciLz48L2c+PC9zdmc+)}.leaflet-buttons-control-button:hover,.leaflet-buttons-control-button:focus{cursor:pointer;background-color:#f4f4f4}.active>.leaflet-buttons-control-button{box-shadow:inset 0 -1px 5px 2px #514d4d4f}.leaflet-buttons-control-text-hide{display:none}.button-container{position:relative}.button-container .leaflet-pm-actions-container{z-index:2;position:absolute;top:0;left:100%;display:none;white-space:nowrap;direction:ltr}.leaflet-right .leaflet-pm-toolbar .button-container .leaflet-pm-actions-container{right:100%;left:auto}.button-container.active .leaflet-pm-actions-container{display:block}.button-container .leaflet-pm-actions-container:not(.pos-right) a.leaflet-pm-action:last-child{border-radius:0 3px 3px 0;border-right:0}.button-container .leaflet-pm-actions-container.pos-right a.leaflet-pm-action:first-child{border-radius:3px 0 0 3px}.button-container .leaflet-pm-actions-container.pos-right a.leaflet-pm-action:last-child{border-right:0}.button-container .leaflet-pm-actions-container .leaflet-pm-action{padding:0 10px;background-color:#666;color:#fff;display:inline-block;width:auto;border-right:1px solid #eee;-webkit-user-select:none;-moz-user-select:none;user-select:none;border-bottom:none;height:29px;line-height:29px}.leaflet-pm-toolbar .button-container:first-child.pos-right.active a.leaflet-buttons-control-button{border-top-left-radius:0}.leaflet-pm-toolbar .button-container:first-child.active:not(.pos-right) a.leaflet-buttons-control-button{border-top-right-radius:0}.button-container .leaflet-pm-actions-container .leaflet-pm-action:hover,.button-container .leaflet-pm-actions-container .leaflet-pm-action:focus{cursor:pointer;background-color:#777}.leaflet-pm-toolbar.activeChild{z-index:801}.leaflet-buttons-control-button.pm-disabled{background-color:#f4f4f4}.leaflet-buttons-control-button.pm-disabled>.control-icon{filter:opacity(.6)}.leaflet-cluster-anim .leaflet-marker-icon,.leaflet-cluster-anim .leaflet-marker-shadow{transition:transform .3s ease-out,opacity .3s ease-in}.leaflet-cluster-spider-leg{transition:stroke-dashoffset .3s ease-out,stroke-opacity .3s ease-in}.marker-cluster-small{background-color:#b5e28c99}.marker-cluster-small div{background-color:#6ecc3999}.marker-cluster-medium{background-color:#f1d35799}.marker-cluster-medium div{background-color:#f0c20c99}.marker-cluster-large{background-color:#fd9c7399}.marker-cluster-large div{background-color:#f1801799}.leaflet-oldie .marker-cluster-small{background-color:#b5e28c}.leaflet-oldie .marker-cluster-small div{background-color:#6ecc39}.leaflet-oldie .marker-cluster-medium{background-color:#f1d357}.leaflet-oldie .marker-cluster-medium div{background-color:#f0c20c}.leaflet-oldie .marker-cluster-large{background-color:#fd9c73}.leaflet-oldie .marker-cluster-large div{background-color:#f18017}.marker-cluster{background-clip:padding-box;border-radius:20px}.marker-cluster div{width:30px;height:30px;margin-left:5px;margin-top:5px;text-align:center;border-radius:15px;font:12px Helvetica Neue,Arial,Helvetica,sans-serif}.marker-cluster span{line-height:30px}.autocomplete__list[data-v-bd0dac97]{display:none;padding:0}.autocomplete__item[data-v-bd0dac97]{margin:0}.autocomplete__input:focus~.autocomplete__list[data-v-bd0dac97]{display:block}.autocomplete__list[data-v-bd0dac97]:hover{display:block}.card{box-shadow:#1e293b0a 0 2px 4px;border:1px solid rgba(98,105,118,.16);transition:transform .3s ease-out,opacity .3s ease-out,box-shadow .3s ease-out}.fade-enter-active[data-v-0e946aee],.fade-leave-active[data-v-0e946aee]{transition:opacity 1s ease-in-out}.fade-enter-from[data-v-0e946aee]{opacity:0}.fade-enter-to[data-v-0e946aee]{opacity:1}.fade-enter[data-v-0e946aee],.fade-leave-to[data-v-0e946aee]{opacity:0}.tw-spinner[data-v-3927b18d]{display:flex;margin:0 auto;height:auto;width:auto;align-items:center;justify-content:center}.fade-enter-active[data-v-3927b18d],.fade-leave-active[data-v-3927b18d]{transition:opacity .5s}.fade-enter[data-v-3927b18d],.fade-leave-to[data-v-3927b18d]{opacity:0}.tw-spinner-left[data-v-3927b18d]{flex-direction:row}.tw-spinner-right[data-v-3927b18d]{flex-direction:row-reverse}.tw-spinner-top[data-v-3927b18d]{flex-direction:column}.tw-spinner-bottom[data-v-3927b18d]{flex-direction:column-reverse}.box-spinner[data-v-3927b18d]{z-index:4000}.tw-spinner[data-v-3927b18d]{font-size:20px;overflow:hidden;width:100%;position:relative}.tw-spinner svg[data-v-3927b18d]{display:block;position:relative;margin:0 auto}.tw-spinner #Tail[data-v-3927b18d]{opacity:0;animation:tail-3927b18d 2s ease infinite;fill:#41ba8d}.tw-spinner #LeftBottom[data-v-3927b18d]{fill:#00845d;opacity:0;animation:spinner-3927b18d 1s ease alternate infinite;animation-delay:0s}.tw-spinner #LeftMid[data-v-3927b18d]{fill:#28221b;opacity:0;animation:spinner-3927b18d 1s ease alternate infinite;animation-delay:.2s}.tw-spinner #LeftTop[data-v-3927b18d]{fill:#342d25;opacity:0;animation:spinner-3927b18d 1s ease alternate infinite;animation-delay:.4s}.tw-spinner #Head[data-v-3927b18d]{fill:#342d25;opacity:0;animation:spinner-3927b18d 1s ease alternate infinite;animation-delay:.6s}@keyframes spinner-3927b18d{0%{opacity:0}30%{opacity:0}90%{opacity:1}to{opacity:1}}@keyframes tail-3927b18d{0%{opacity:0}30%{opacity:1}50%{opacity:1}90%{opacity:0}to{opacity:0}} diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 0000000..df36fcf Binary files /dev/null and b/favicon.ico differ diff --git a/index.html b/index.html new file mode 100644 index 0000000..67ea689 --- /dev/null +++ b/index.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + +
+ + + diff --git a/robots.txt b/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /