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-BPgmpSZF.js b/assets/about-BPgmpSZF.js new file mode 100644 index 0000000..67a98ed --- /dev/null +++ b/assets/about-BPgmpSZF.js @@ -0,0 +1 @@ +import{r as a,o as u,c as h,w as n,a as e,d as t,b as o}from"./index-BAu2Hi4r.js";const p={class:"markdown-body"},f=e("h1",{id:"about",tabindex:"-1"},"About",-1),g=e("p",null,[e("em",null,"Building community around and gathering knowledge about the world’s stoneflies")],-1),m=e("h2",{id:"overview",tabindex:"-1"},"Overview",-1),y=e("p",null,"Our site seeks to include and serve an expanding group of stakeholders such as taxonomists, ecologists, policy makers, and educators.",-1),b=e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks",-1),_=e("a",{href:"https://speciesfilegroup.org",rel:"noopener noreferrer",target:"_blank"},"Species File Group",-1),x=e("a",{href:"https://github.com/SpeciesFileGroup/taxonpages",rel:"noopener noreferrer",target:"_blank"},"learn more and get help",-1),w=e("h2",{id:"gaps-as-opportunity",tabindex:"-1"},"Gaps as Opportunity",-1),k=e("h2",{id:"history",tabindex:"-1"},"History",-1),v=e("p",null,[e("em",null,[t("Our old website is now a read-only resource available at "),e("a",{href:"http://plecoptera.archive.speciesfile.org",rel:"noopener noreferrer",target:"_blank"},"http://plecoptera.archive.speciesfile.org"),t(".")])],-1),S=e("p",null,[t("Species File Software, used to curate the Plecoptera SF during its origin and for over a decade thereafter, was developed by David Eades as a taxonomic workbench. For more information about Species File Software at the "),e("a",{href:"https://speciesfilegroup.org/",rel:"noopener noreferrer",target:"_blank"},"Species File Group Homepage"),t(" .")],-1),I=e("p",null,[t("Plecoptera SF started with the acquisition of a database of stonefly nomenclature, taxonomy, and distribution from Peter Zwick (His contributors were U. Neu-Becker and G. Stueber, hence their authorship. Zwick declined authorship of this version) in 2007. The data were imported by Marilyn Beckman, Rich Flood, and James Tucker into the original Species File Software. Elizabeth Frank’s difference tool allowed Ed DeWalt and Mike Maehr to check import quality and completeness. In 2009 Plecoptera SF was accepted by "),e("a",{href:"https://www.catalogueoflife.org/",rel:"noopener noreferrer",target:"_blank"},"Catalogue of Life"),t(" as the global source of stonefly names and the "),e("a",{href:"http://GBIF.org",rel:"noopener noreferrer",target:"_blank"},"Global Biodiversity Information Facility"),t(". Maehr and DeWalt continued data entry until Heidi Hopkins took over most duties in 2017. August 14, 2023 saw data entry into the old Species File Software suspended. The data were ported to our replacement TaxonWorks platform and the setup of a new public user interface in Taxon Pages began. The new website went live on Friday, 29 September 2023. Be aware that that most but not all functionality from the old site is present in the new. Some information about a taxon is now available as a standard data set in Darwin Core. If you think there is a bug or some critical data are missing, then add your request to the Issue Tracker (see Contribute or get help below, or click on the links at the bottom of this page). If you still need more information, one option is to become a collaborator with us. Send a note to DeWalt if you wish to contribute to Plecoptera SF or to use TaxonWorks as your research workbench.")],-1),F=e("h2",{id:"team",tabindex:"-1"},"Team",-1),T=e("h3",{id:"contribute-or-get-help",tabindex:"-1"},"Contribute or get help",-1),P=e("p",null,[e("em",null,"We welcome you to join us in our efforts! Projects of this nature require expertise in many different areas, not only on the taxa being treated. Collaboration is key. Please see below how to best reach our team with your questions, concerns, suggestions, and ideas:")],-1),N=e("li",null,[t("Enquire about joining the researchers building this Species File: "),e("a",{href:"mailto:dewalt@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"Contact R.E. DeWalt directly"),t(".")],-1),A=e("li",null,[e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),t(" and TaxonPages are open-source efforts that are "),e("a",{href:"https://docs.taxonworks.org/develop/contributing.html",rel:"noopener noreferrer",target:"_blank"},"opportunities for you and others to join"),t(" to request new features, report bugs, or discuss use among other things.")],-1),E=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"}},"Email")])]),e("tbody",null,[e("tr",null,[e("td",{style:{"text-align":"left"}},"R. Edward DeWalt"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:dewalt@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"dewalt@illinois.edu")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Heidi Hopkins"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural HIstory Survey"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:cockroachdoc@gmail.com",rel:"noopener noreferrer",target:"_blank"},"cockroachdoc@gmail.com")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Mike Maehr*"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"U. Neu-Becker"),e("td",{style:{"text-align":"left"}},"Max-Planck Institute"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"G. Stueber"),e("td",{style:{"text-align":"left"}},"Max-Planck Institute"),e("td",{style:{"text-align":"left"}},"Author"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Lily Hart"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Editor"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:lvhart2@illinois.edu",rel:"noopener noreferrer",target:"_blank"},"lvhart2@illinois.edu")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Matt Yoder"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Rich Flood"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Elizabeth Frank*"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Jim Tucker*"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})]),e("tr",null,[e("td",{style:{"text-align":"left"}},"Marilyn Beckman*"),e("td",{style:{"text-align":"left"}},"University of Illinois, Illinois Natural History Survey"),e("td",{style:{"text-align":"left"}},"Facilitator"),e("td",{style:{"text-align":"left"}})])])],-1),H=e("p",null,[e("em",null,"* Past contributor, now inactive.")],-1),R=e("h3",{id:"cite-this-website",tabindex:"-1"},"Cite this website",-1),W=e("p",null,[e("em",null,"please use the following format:")],-1),D=e("p",null,[t("DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G. 2023. Plecoptera Species File. [retrieval date]. "),e("a",{href:"https://plecoptera.speciesfile.org",rel:"noopener noreferrer",target:"_blank"},"https://plecoptera.speciesfile.org")],-1),G=e("h3",{id:"support-and-cooperation",tabindex:"-1"},"Support and Cooperation",-1),M=e("p",null,[e("em",null,"Plecoptera Species File functionality and content are made possible through services from:")],-1),U=e("ul",null,[e("li",null,"Species File Group"),e("li",null,"University of Illinois, Illinois Natural History Survey"),e("li",null,"National Science Foundation (NSF) under Grant DEB 09–18805 ARRA. Any opinions, findings, and conclusions or recommendations expressed in this material are those of the author(s) and do not necessarily reflect the views of the NSF.")],-1),B=e("h3",{id:"the-species-file-group",tabindex:"-1"},"The Species File Group",-1),L=e("p",null,[t("The "),e("a",{href:"https://speciesfilegroup.org/index.html",rel:"noopener noreferrer",target:"_blank"},"Species File Group (SFG)"),t(" is an endowment-funded collective of specialists whose broader goal is the advancement of biodiversity informatics. We are located at the University of Illinois, Illinois Natural History Survey. Our group supports the following software/activities:")],-1),O=e("ul",null,[e("li",null,[e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),t(" - a workbench for taxonomists and natural history museums.")]),e("li",null,[e("a",{href:"https://globalnames.org/",rel:"noopener noreferrer",target:"_blank"},"Global Names Architecture"),t(" - finding, parsing, and resolving taxon names from literature. Lead Developer: Dmitry Mozzherin.")]),e("li",null,[e("a",{href:"https://catalogueoflife.org/",rel:"noopener noreferrer",target:"_blank"},"Catalogue of Life"),t(" - editorial group, and data assembly hub. Executive Editor Yury Roskov and Database Manager Geoff Ower.")]),e("li",null,"Taxonomic/Systematic Research supporting several insect groups.")],-1),j=e("h4",{id:"the-taxonworks-community",tabindex:"-1"},"The TaxonWorks Community",-1),q=e("p",null,[t("Everyone joining us at our weekly meetings, everyone who invests efforts to capture, study, and share knowledge using and developing our software, and building on or connecting to our services, enriches our goal to support evolving our broader community efforts to describe life, together. The work revealed on this website comes from many community meetings, many hours of research, a lot of software and data model development. This includes considerable effort to support impactful culture change and potentially enhanced standards of practice for data capture, sharing resources, knowledge, and workload. Please join us any Wednesday to add your voice to our community and learn more (see "),e("a",{href:"https://speciesfilegroup.org/events.html",rel:"noopener noreferrer",target:"_blank"},"Events"),t(").")],-1),z=e("h2",{id:"extended-access",tabindex:"-1"},"Extended access",-1),J=e("p",null,[e("em",null,"A goal of these pages is to ensure that the underlying data behind them are accessible in their digital format. By diversifying the ways the data are accessible (e.g. on the web page, in JSON, in Darwin Core standard), we increase the opportunities to both spot errors and provide new services and portals.")],-1),V=e("ul",null,[e("li",null,"Researchers working on this project use their rich, multi-faceted access to the data via TaxonWorks’ interfaces (e.g. filters, reporting, downloads). Access requires a project account, see [Contacts][#contact]."),e("li",null,[t("Data behind individual panels can be seen via the "),e("em",null,"SiteMap"),t(" functionality.")]),e("li",null,[t("Each page offers an option to download a "),e("em",null,"DarwinCore formatted table"),t(" containing all data for this taxon and its children.")]),e("li",null,[t("Panel data (each section on a page) and other data not available here are accessible via a "),e("a",{href:"https://api.taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks API"),t(" at "),e("a",{href:"https://sfg.taxonworks.org/api/v1",rel:"noopener noreferrer",target:"_blank"},"https://sfg.taxonworks.org/api/v1"),t(",")]),e("li",null,[t("Core taxonomic data are exported to and available at the "),e("a",{href:"https://www.catalogueoflife.org/data/taxon/62372",rel:"noopener noreferrer",target:"_blank"},"Catalogue of Life"),t(" and its "),e("a",{href:"https://api.checklistbank.org/dataset/3LR/taxon/62372",rel:"noopener noreferrer",target:"_blank"},"associated API"),t(".")])],-1),Y=e("h3",{id:"websites",tabindex:"-1"},"Websites",-1),X=e("ul",null,[e("li",null,[e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/PerlaList.aspx",rel:"noopener noreferrer",target:"_blank"},"PERLA Annual News Letter")]),e("li",null,[e("a",{href:"http://illiesia.speciesfile.org/",rel:"noopener noreferrer",target:"_blank"},"ILLIESIA International Journal of Stonefly Research")])],-1),Z=e("h3",{id:"past-meetings",tabindex:"-1"},"Past meetings",-1),K=e("h4",{id:"2022-xvith-international-conference-on-ephemeroptera-and-xxth-international-symposium-on-plecoptera",tabindex:"-1"},"2022 XVIth INTERNATIONAL CONFERENCE ON EPHEMEROPTERA AND XXth INTERNATIONAL SYMPOSIUM ON PLECOPTERA",-1),Q=e("p",null,[e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/MF_SF 2022 Program and Schedule.pdf",target:"naps"},"Download PDF of 2022 Program"),t(".")],-1),$=e("h2",{id:"terms-of-use-(copyright-guidance)",tabindex:"-1"},"Terms of Use (Copyright Guidance)",-1),ee=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://licensebuttons.net/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),re={__name:"about",setup(te,{expose:l}){const i={};return l({frontmatter:i}),(oe,ae)=>{const s=a("ProjectStats"),r=a("router-link"),d=a("TrackerReport"),c=a("markdown-layout");return u(),h(c,{frontmatter:i},{default:n(()=>[e("div",p,[f,g,m,e("p",null,[t("The Plecoptera Species File (Plecoptera SF) offers a community-curated collection of richly-cited and annotated data on the taxonomy of Earth’s stoneflies. Information includes valid names, their synonyms, bibliographic data, specimen data, images, sounds, and distributions for stoneflies of the world. The project currently includes the following- "),o(s,{data:["Taxon names","Collection objects","Project sources","Documents","Citations","Images","Asserted distributions"]}),t(", along with many annotations and related data.")]),y,e("p",null,[t("Plecoptera SF is curated in an instance of "),b,t(" managed by the "),_,t(". See "),o(r,{to:"#contribute-or-get-help"},{default:n(()=>[t("Contribute or get help")]),_:1}),t(" below for how you can participate. This site is built using TaxonPages, "),x,t(".")]),w,e("p",null,[t("The Earth’s biodiversity is vast, the data captured to describe it are minimal in comparison, but still immense. All projects of this nature contain gaps, i.e. opportunities for collaboration on future work, grants, and research. "),o(r,{to:"#contribute-or-get-help"},{default:n(()=>[t("Contact us")]),_:1}),t(" if you would like to help us address these.")]),k,v,S,I,e("p",null,[t("As of August 2023 all data in the former Species File Websites were frozen and shortly thereafter migrated to TaxonWorks. As with all migrations of this nature the process is both lossy (e.g. some data could not be mapped with certainty) and improved (e.g. semantics of the new models have more precision and clarity). The old website remains an excellent resource for fact-checking this migration. If you spot something that needs attention, please see "),o(r,{to:"about#contribute-or-get-help"},{default:n(()=>[t("contribute or get help")]),_:1}),t(".")]),F,T,P,e("ul",null,[N,e("li",null,[o(d,{label:"Report a problem or offer data",tag:"a","button-class":"cursor-pointer"}),t(" (bugs or data issues) on our issue tracker.")]),A]),E,C,H,R,W,D,G,M,U,B,L,O,j,q,z,J,V,Y,X,Z,K,Q,$,ee])]),_:1})}}};export{re as default}; diff --git a/assets/home-vZvnukV_.js b/assets/home-vZvnukV_.js new file mode 100644 index 0000000..50c4c94 --- /dev/null +++ b/assets/home-vZvnukV_.js @@ -0,0 +1 @@ +import{r as s,o as d,c as p,w as o,a as t,b as n,d as e}from"./index-BAu2Hi4r.js";const m={class:"markdown-body"},_={class:"flex flex-col justify-center items-center w-full h-full bg-black bg-opacity-25 text-white gap-4 px-4 box-border"},h=t("span",{class:"text-4xl font-medium"},"Plecoptera Species File",-1),f=t("p",{class:"text-lg sm:text-xl"},"A comprehensive source of knowledge on the world’s stoneflies, curated by the Plecoptera Species File group",-1),b={class:"mx-auto flex flex-col items-center mt-6 sm:mt-10 w-full"},x={class:"text-sm sm:text-base"},y={class:"container mx-auto my-8 px-4 md:px-0 box-border"},w=t("h2",{id:"discover-more",tabindex:"-1"},"Discover more",-1),g=t("em",null,"you",-1),k=t("em",null,"We encourage you to join us in our efforts.",-1),v=t("h2",{id:"announcements",tabindex:"-1"},"Announcements",-1),I=t("h3",{id:"welcome-to-our-new-plecoptera-species-file-website",tabindex:"-1"},"Welcome to our new Plecoptera Species File Website",-1),S=t("p",null,[t("em",null,"Ed DeWalt, Lily Hart, Heidi Hopkins, 2023-09-28")],-1),A=t("p",null,"As of Septemeber 2023, we would like to welcome you to our new Plecoptera Species File website. We’re glad you’re here and look forward to hearing from you about your experiences with our new features and how you use the information you find here. ",-1),C=t("h3",{id:"2024-joint-meeting-of-the-xvii-international-conference-on-ephemeroptera-and-xxi-international-symposium-on-plecoptera-in-july-2024",tabindex:"-1"},"2024 Joint Meeting of the XVII International Conference on Ephemeroptera and XXI International Symposium on Plecoptera in July 2024",-1),J=t("em",null,"Ed DeWalt, Lily Hart, Heidi Hopkins, 2023-08-15",-1),P=t("a",{href:"/plecoptera/docs/First_Announcement_IJM_2024.pdf",target:"_blank"},"First Announcement",-1),W=t("a",{href:"/plecoptera/docs/Second_Announcement_IJM_2024.pdf",target:"_blank"},"Second Announcement",-1),j="blank",M={__name:"home",setup(F,{expose:r}){const l={layout:"blank"};return r({frontmatter:l}),(H,T)=>{const i=s("autocomplete-otu"),a=s("router-link"),c=s("GalleryCarousel"),u=s("markdown-layout");return d(),p(u,{frontmatter:l},{default:o(()=>[t("div",m,[n(c,{"depiction-id":[1106932,1106926,1106927,1106931,1106937,1106929,1106936,1106924,1106925,1106930,1106933,1106934,1106935,1058997,1059008,1059047,1106921],height:"470px"},{default:o(()=>[t("div",_,[h,f,t("div",b,[n(i,{class:"w-full sm:w-96 text-base-content ml-2 sm:ml-0",placeholder:"Search by taxon name",autofocus:""}),t("p",x,[t("em",null,[e("Try searching any taxa from order "),n(a,{to:"/otus/890815"},{default:o(()=>[e("Plecoptera")]),_:1}),e(" to subspecies!")])])])])]),_:1}),t("div",y,[w,t("p",null,[e("Welcome! Our "),n(a,{to:"about"},{default:o(()=>[e("About")]),_:1}),e(" page contains an "),n(a,{to:"about#overview"},{default:o(()=>[e("overview")]),_:1}),e(" and "),n(a,{to:"about#history"},{default:o(()=>[e("history")]),_:1}),e(" of the project and its data, and information about the "),n(a,{to:"about#team"},{default:o(()=>[e("team")]),_:1}),e(" and how "),g,e(" can "),n(a,{to:"about#contribute"},{default:o(()=>[e("contribute")]),_:1}),e(". You can also "),n(a,{to:"about#contribute"},{default:o(()=>[e("contact us")]),_:1}),e(" or "),n(a,{to:"about#contribute-or-get-help"},{default:o(()=>[e("get help")]),_:1}),e(". "),k]),v,I,S,A,C,t("p",null,[J,e(" The 2024 Joint Meeting of the XVII International Conference on Ephemeroptera and XXI International Symposium on Plecoptera will take place in Turin, Italy, from 21 - 26 July 2024. The conference will be held at the University of Turin, Italy. Click here for "),P,e(" or here for the subsequent "),W,e(" with scholarship details (due 30 November 2023). Click here for "),n(a,{to:"about#past-meetings"},{default:o(()=>[e("2022 Joint Meeting program and presentation links")]),_:1}),e(".")])])])]),_:1})}}};export{M as default,j as layout}; diff --git a/assets/index-BAu2Hi4r.js b/assets/index-BAu2Hi4r.js new file mode 100644 index 0000000..1a0daa4 --- /dev/null +++ b/assets/index-BAu2Hi4r.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:"),Ve=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]",Ec=t=>ms(t)==="[object Set]",re=t=>typeof t=="function",Ie=t=>typeof t=="string",br=t=>typeof t=="symbol",Re=t=>t!==null&&typeof t=="object",Tc=t=>(Re(t)||re(t))&&re(t.then)&&re(t.catch),Oc=Object.prototype.toString,ms=t=>Oc.call(t),wf=t=>ms(t).slice(8,-1),Rc=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,Gn=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 ru;const Bc=()=>ru||(ru=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)||Re(t)&&(t.toString===Oc||!re(t.toString))?JSON.stringify(t,Ic,2):String(t),Ic=(t,n)=>n&&n.__v_isRef?Ic(t,n.value):cr(n)?{[`Map(${n.size})`]:[...n.entries()].reduce((a,[s,c],i)=>(a[ra(s,i)+" =>"]=c,a),{})}:Ec(n)?{[`Set(${n.size})`]:[...n.values()].map(a=>ra(a))}:br(n)?ra(n):Re(n)&&!Wt(n)&&!Rc(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 Dc{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),$i()}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++,ou(this),this.fn()}finally{su(this),this._runnings--,Fi=a,bi=n}}stop(){var n;this.active&&(ou(this),su(this),(n=this.onStop)==null||n.call(this),this.active=!1)}}function If(t){return t.value}function ou(t){t._trackId++,t._depsLength=0}function su(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,Gi=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))),Gc(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(Gi)),cr(t)&&h.push(l.get(Ca)));break;case"delete":Wt(t)||(h.push(l.get(Gi)),cr(t)&&h.push(l.get(Ca)));break;case"set":cr(t)&&h.push(l.get(Gi));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 zf=Ka("__proto__,__v_isRef,__isVue"),Hc=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(br)),au=jf();function jf(){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){Vi(),Qa();const s=_e(this)[n].apply(this,a);return tl(),$i(),s}}),t}function Nf(t){const n=_e(this);return un(n,"has",t),n.hasOwnProperty(t)}class Uc{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:Wc:i?Kc:qc).get(n)||Object.getPrototypeOf(n)===Object.getPrototypeOf(s)?n:void 0;const l=Wt(n);if(!c){if(l&&ye(au,a))return Reflect.get(au,a,s);if(a==="hasOwnProperty")return Nf}const h=Reflect.get(n,a,s);return(br(a)?Hc.has(a):zf(a))||(c||un(n,"get",a),i)?h:$e(h)?l&&Ya(a)?h:h.value:Re(h)?c?Yc(h):_o(h):h}}class Zc extends Uc{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)&&$e(i)&&!$e(s))return p?!1:(i.value=s,!0)}const l=Wt(n)&&Ya(a)?Number(a)t,vs=t=>Reflect.getPrototypeOf(t);function Vo(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 $o(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",Gi),Reflect.get(t,"size",t)}function lu(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 uu(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 cu(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 hu(){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",Gi),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:Gi),{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 Vo(this,i)},get size(){return Ho(this)},has:$o,add:lu,set:uu,delete:cu,clear:hu,forEach:Uo(!1,!1)},n={get(i){return Vo(this,i,!1,!0)},get size(){return Ho(this)},has:$o,add:lu,set:uu,delete:cu,clear:hu,forEach:Uo(!1,!0)},a={get(i){return Vo(this,i,!0)},get size(){return Ho(this,!0)},has(i){return $o.call(this,i,!0)},add:li("add"),set:li("set"),delete:li("delete"),clear:li("clear"),forEach:Uo(!0,!1)},s={get(i){return Vo(this,i,!0,!0)},get size(){return Ho(this,!0)},has(i){return $o.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)},qc=new WeakMap,Kc=new WeakMap,Wc=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,Gf,Wf,qc)}function Jc(t){return il(t,!1,$f,Jf,Kc)}function Yc(t){return il(t,!0,Vf,Yf,Wc)}function il(t,n,a,s,c){if(!Re(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 Xc(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=>Re(t)?_o(t):t,rl=t=>Re(t)?Yc(t):t;class Qc{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),th(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 Qc(s,c,i||!c,a)}function th(t){var n;bi&&Fi&&(t=_e(t),Gc(Fi,(n=t.dep)!=null?n:t.dep=$c(()=>t.dep=void 0,t instanceof Qc?t:void 0)))}function Xo(t,n=4,a){t=_e(t);const s=t.dep;s&&Vc(s,n)}function $e(t){return!!(t&&t.__v_isRef===!0)}function Zt(t){return eh(t,!1)}function np(t){return eh(t,!0)}function eh(t,n){return $e(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 th(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 $e(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 $e(c)&&!$e(a)?(c.value=a,!0):Reflect.set(t,n,a,s)}};function nh(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 $e(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&&Tc(i)&&i.catch(l=>{xs(l,n,a)}),i}const c=[];for(let i=0;i>>1,c=Xe[s],i=so(c);ijn&&Xe.splice(n,1)}function hp(t){Wt(t)?dr.push(...t):(!_i||!_i.includes(t,t.allowRecurse?zi+1:zi))&&dr.push(t),rh()}function du(t,n,a=oo?jn+1:0){for(;aso(a)-so(s));if(dr.length=0,_i){_i.push(...n);return}for(_i=n,zi=0;zi<_i.length;zi++)_i[zi]();_i=null,zi=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 oh(t){Pa=!1,oo=!0,Xe.sort(dp);try{for(jn=0;jnIe(R)?R.trim():R)),v&&(c=a.map(wa))}let h,p=s[h=ia(n)]||s[h=ia(Gn(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 sh(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=sh(_,n,!0);g&&(h=!0,Ve(l,g))};!a&&n.mixins.length&&n.mixins.forEach(p),t.extends&&p(t.extends),t.mixins&&t.mixins.forEach(p)}return!i&&!h?(Re(t)&&s.set(t,null),null):(Wt(i)?i.forEach(p=>l[p]=null):Ve(l,i),Re(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 ah(t){ks=t}function lh(){ks=null}function mt(t,n=Ne,a){if(!n||t._n)return t;const s=(...c)=>{s._d&&ku(-1);const i=ls(n);let l;try{l=t(...c)}finally{ls(i),s._d&&ku(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:R,ctx:P,inheritAttrs:S}=t;let N,A;const F=ls(t);try{if(a.shapeFlag&4){const C=c||s,I=C;N=En(g.call(I,C,v,i,R,M,P)),A=p}else{const C=n;N=En(C.length>1?C(i,{attrs:p,slots:h,emit:_}):C(i,null)),A=n.props?p:pp(p)}}catch(C){Qr.length=0,xs(C,t,1),N=st(dn)}let O=N;if(A&&S!==!1){const C=Object.keys(A),{shapeFlag:I}=O;C.length&&I&7&&(l&&C.some(Wa)&&(A=_p(A,l)),O=ki(O,A))}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?fu(s,l,_):!!l;if(p&8){const g=n.dynamicProps;for(let v=0;vt.__isSuspense;function hh(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 dh(t,n,a)}function dh(t,n,{immediate:a,deep:s,flush:c,once:i,onTrack:l,onTrigger:h}=Oe){if(n&&i){const V=n;n=(...rt)=>{V(...rt),I()}}const p=Ue,_=V=>s===!0?V:Ni(V,s===!1?1:void 0);let g,v=!1,M=!1;if($e(t)?(g=()=>t.value,v=ss(t)):xi(t)?(g=()=>_(t),v=!0):Wt(t)?(M=!0,v=t.some(V=>xi(V)||ss(V)),g=()=>t.map(V=>{if($e(V))return V.value;if(xi(V))return _(V);if(re(V))return Li(V,p,2)})):re(t)?n?g=()=>Li(t,p,2):g=()=>(R&&R(),bn(t,p,3,[P])):g=vn,n&&s){const V=g;g=()=>Ni(V())}let R,P=V=>{R=O.onStop=()=>{Li(V,p,4),R=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 V=bp();S=V.__watcherHandles||(V.__watcherHandles=[])}else return vn;let N=M?new Array(t.length).fill(qo):qo;const A=()=>{if(!(!O.active||!O.dirty))if(n){const V=O.run();(s||v||(M?V.some((rt,X)=>wi(rt,N[X])):wi(V,N)))&&(R&&R(),bn(n,p,3,[V,N===qo?void 0:M&&N[0]===qo?[]:N,P]),N=V)}else O.run()};A.allowRecurse=!!n;let F;c==="sync"?F=A:c==="post"?F=()=>an(A,p&&p.suspense):(A.pre=!0,p&&(A.id=p.uid),F=()=>sl(A));const O=new Xa(g,vn,F),C=jc(),I=()=>{O.stop(),C&&Ja(C.effects,O)};return n?a?A():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(".")?fh(s,t):()=>s[t]:t.bind(s,s);let i;re(n)?i=n:(i=n.handler,a=n);const l=go(this),h=dh(c,i.bind(s),a);return l(),h}function fh(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),$e(t))Ni(t.value,n,a,s);else if(Wt(t))for(let c=0;c{Ni(c,n,a,s)});else if(Rc(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],ph={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:ph,setup(t,{slots:n}){const a=Ah(),s=Lp();let c;return()=>{const i=n.default&&mh(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 _=_u(l);if(!_)return sa(l);const g=Sa(_,h,s,a);Ea(_,g);const v=a.subTree,M=v&&_u(v);let R=!1;const{getTransitionKey:P}=_.type;if(P){const S=P();c===void 0?c=S:S!==c&&(c=S,R=!0)}if(M&&M.type!==dn&&(!ji(_,M)||R)){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,A,F)=>{const O=_h(s,M);O[String(M.key)]=M,N[mi]=()=>{A(),N[mi]=void 0,delete g.delayedLeave},g.delayedLeave=F})}return l}}},kp=wp;function _h(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:R,onLeaveCancelled:P,onBeforeAppear:S,onAppear:N,onAfterAppear:A,onAppearCancelled:F}=n,O=String(t.key),C=_h(a,t),I=(X,nt)=>{X&&bn(X,s,9,nt)},V=(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&&ji(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=A||_,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?V(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(R,[X]),X[mi]=void 0,C[ut]===t&&delete C[ut])};C[ut]=t,M?V(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 _u(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 mh(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){yh(t,"a",n)}function Cp(t,n){yh(t,"da",n)}function yh(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;Vi();const h=go(a),p=bn(n,a,t,l);return h(),$i(),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),vh=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 Rp(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===$t&&!bh(n.children)):!0)?t:null}const Ta=t=>t?Ih(t)?Es(t)||t.proxy:Ta(t.parent):null,Yr=Ve(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),Bp={get({_:t},n){const{ctx:a,setupState:s,data:c,props:i,accessCache:l,type:h,appContext:p}=t;let _;if(n[0]!=="$"){const R=l[n];if(R!==void 0)switch(R){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 Ap(){return Ip().slots}function Ip(){const t=Ah();return t.setupContext||(t.setupContext=zh(t))}function mu(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&&gu(n.beforeCreate,t,"bc");const{data:c,computed:i,methods:l,watch:h,provide:p,inject:_,created:g,beforeMount:v,mounted:M,beforeUpdate:R,updated:P,activated:S,deactivated:N,beforeDestroy:A,beforeUnmount:F,destroyed:O,unmounted:C,render:I,renderTracked:V,renderTriggered:rt,errorCaptured:X,serverPrefetch:nt,expose:ut,inheritAttrs:vt,components:ot,directives:Lt,filters:Dt}=n;if(_&&zp(_,s,null),l)for(const Rt in l){const at=l[Rt];re(at)&&(s[Rt]=at.bind(a))}if(c){const Rt=c.call(a,a);Re(Rt)&&(t.data=_o(Rt))}if(Oa=!0,i)for(const Rt in i){const at=i[Rt],oe=re(at)?at.bind(a,a):re(at.get)?at.get.bind(a,a):vn,Bt=!re(at)&&re(at.set)?at.set.bind(a):vn,Xt=Yt({get:oe,set:Bt});Object.defineProperty(s,Rt,{enumerable:!0,configurable:!0,get:()=>Xt.value,set:Ht=>Xt.value=Ht})}if(h)for(const Rt in h)xh(h[Rt],s,a,Rt);if(p){const Rt=re(p)?p.call(a):p;Reflect.ownKeys(Rt).forEach(at=>{Qo(at,Rt[at])})}g&&gu(g,t,"c");function yt(Rt,at){Wt(at)?at.forEach(oe=>Rt(oe.bind(a))):at&&Rt(at.bind(a))}if(yt(vh,v),yt(rn,M),yt(Sp,R),yt(Ep,P),yt(Mp,S),yt(Cp,N),yt(Rp,X),yt(Op,V),yt(Tp,rt),yt(ei,F),yt(Hi,C),yt(ll,nt),Wt(ut))if(ut.length){const Rt=t.exposed||(t.exposed={});ut.forEach(at=>{Object.defineProperty(Rt,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 zp(t,n,a=vn){Wt(t)&&(t=Ra(t));for(const s in t){const c=t[s];let i;Re(c)?"default"in c?i=xn(c.from||s,c.default,!0):i=xn(c.from||s):i=xn(c),$e(i)?Object.defineProperty(n,s,{enumerable:!0,configurable:!0,get:()=>i.value,set:l=>i.value=l}):n[s]=i}}function gu(t,n,a){bn(Wt(t)?t.map(s=>s.bind(n.proxy)):t.bind(n.proxy),n,a)}function xh(t,n,a,s){const c=s.includes(".")?fh(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(Re(t))if(Wt(t))t.forEach(i=>xh(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)),Re(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=jp[l]||a&&a[l];t[l]=h?h(t[l],n[l]):n[l]}return t}const jp={data:yu,props:vu,emits:vu,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:yu,inject:Np};function yu(t,n){return n?t?function(){return Ve(re(t)?t.call(this,this):t,re(n)?n.call(this,this):n)}:n:t}function Np(t,n){return Jr(Ra(t),Ra(n))}function Ra(t){if(Wt(t)){const n={};for(let a=0;a1)return a&&re(n)?n.call(s&&s.proxy):n}}function $p(){return!!(Ue||Ne||pr)}function Hp(t,n,a,s=!1){const c={},i={};rs(i,Ps,1),t.propsDefaults=Object.create(null),wh(t,n,c,i);for(const l in t.propsOptions[0])l in c||(c[l]=void 0);a?t.props=s?c:Jc(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,R]=kh(v,n,!0);Ve(l,M),R&&h.push(...R)};!a&&n.mixins.length&&n.mixins.forEach(g),t.extends&&g(t.extends),t.mixins&&t.mixins.forEach(g)}if(!i&&!p)return Re(t)&&s.set(t,ur),ur;if(Wt(i))for(let g=0;g-1,R[1]=S<0||P-1||ye(R,"default"))&&h.push(v)}}}const _=[l,h];return Re(t)&&s.set(t,_),_}function bu(t){return t[0]!=="$"&&!hr(t)}function xu(t){return t===null?"null":typeof t=="function"?t.name||"":typeof t=="object"&&t.constructor&&t.constructor.name||""}function Lu(t,n){return xu(t)===xu(n)}function wu(t,n){return Wt(n)?n.findIndex(a=>Lu(a,t)):re(n)&&Lu(n,t)?0:-1}const Mh=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},Ch=(t,n,a)=>{const s=t._ctx;for(const c in t){if(Mh(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}}},Ph=(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)):Ch(n,t.slots={})}else t.slots={},n&&Ph(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:(Ve(c,n),!a&&h===1&&delete c._):(i=!n.$stable,Ch(n,c)),l=n}else n&&(Ph(t,n),l={default:1});if(i)for(const h in c)!Mh(h)&&l[h]==null&&delete c[h]};function cs(t,n,a,s,c=!1){if(Wt(t)){t.forEach((M,R)=>cs(M,n&&(Wt(n)?n[R]: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)):$e(_)&&(_.value=null)),re(p))Li(p,h,12,[l,g]);else{const M=Ie(p),R=$e(p);if(M||R){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)):R&&(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,V,rt,X=!1)=>{const nt=Jo(O)&&O.data==="[",ut=()=>S(O,C,I,V,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),A(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 Rt=!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&&zn(C,null,I,"created");let yt=!1;if(F(O)){yt=Sh(V,Dt)&&I&&I.vnode.props&&I.vnode.props.appear;const at=O.content.firstChild;yt&&Dt.beforeEnter(at),A(at,O,I),C.el=O=at}if(ot&16&&!(ut&&(ut.innerHTML||ut.textContent))){let at=R(O.firstChild,C,O,I,V,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 Rt;(Rt=ut&&ut.onVnodeBeforeMount)&&yn(Rt,I,C),Lt&&zn(C,null,I,"beforeMount"),((Rt=ut&&ut.onVnodeMounted)||Lt||yt)&&hh(()=>{Rt&&yn(Rt,I,C),yt&&Dt.enter(O),Lt&&zn(C,null,I,"mounted")},V)}return O.nextSibling},R=(O,C,I,V,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=R(i(O),C,ut,I,V,rt,X);return vt&&Jo(vt)&&vt.data==="]"?i(C.anchor=vt):(ui=!0,p(C.anchor=_("]"),ut,vt),vt)},S=(O,C,I,V,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,V,Wo(ut),rt),nt},N=(O,C="[",I="]")=>{let V=0;for(;O;)if(O=i(O),O&&Jo(O)&&(O.data===C&&V++,O.data===I)){if(V===0)return i(O);V--}return O},A=(O,C,I)=>{const V=C.parentNode;V&&V.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=hh;function Xp(t){return Qp(t,Yp)}function Qp(t,n){const a=Bc();a.__VUE__=!0;const{insert:s,remove:c,patchProp:i,createElement:l,createText:h,createComment:p,setText:_,setElementText:g,parentNode:v,nextSibling:M,setScopeId:R=vn,insertStaticContent:P}=t,S=(G,Z,lt,bt=null,pt=null,Ct=null,D=void 0,b=null,k=!!Z.dynamicChildren)=>{if(G===Z)return;G&&!ji(G,Z)&&(bt=ft(G),Ht(G,pt,Ct,!0),G=null),Z.patchFlag===-2&&(k=!1,Z.dynamicChildren=null);const{type:E,ref:j,shapeFlag:$}=Z;switch(E){case mr:N(G,Z,lt,bt);break;case dn:A(G,Z,lt,bt);break;case Xr:G==null&&F(Z,lt,bt,D);break;case $t:ot(G,Z,lt,bt,pt,Ct,D,b,k);break;default:$&1?I(G,Z,lt,bt,pt,Ct,D,b,k):$&6?Lt(G,Z,lt,bt,pt,Ct,D,b,k):($&64||$&128)&&E.process(G,Z,lt,bt,pt,Ct,D,b,k,zt)}j!=null&&pt&&cs(j,G&&G.ref,Ct,Z||G,!Z)},N=(G,Z,lt,bt)=>{if(G==null)s(Z.el=h(Z.children),lt,bt);else{const pt=Z.el=G.el;Z.children!==G.children&&_(pt,Z.children)}},A=(G,Z,lt,bt)=>{G==null?s(Z.el=p(Z.children||""),lt,bt):Z.el=G.el},F=(G,Z,lt,bt)=>{[G.el,G.anchor]=P(G.children,Z,lt,bt,G.el,G.anchor)},O=({el:G,anchor:Z},lt,bt)=>{let pt;for(;G&&G!==Z;)pt=M(G),s(G,lt,bt),G=pt;s(Z,lt,bt)},C=({el:G,anchor:Z})=>{let lt;for(;G&&G!==Z;)lt=M(G),c(G),G=lt;c(Z)},I=(G,Z,lt,bt,pt,Ct,D,b,k)=>{Z.type==="svg"?D="svg":Z.type==="math"&&(D="mathml"),G==null?V(Z,lt,bt,pt,Ct,D,b,k):nt(G,Z,pt,Ct,D,b,k)},V=(G,Z,lt,bt,pt,Ct,D,b)=>{let k,E;const{props:j,shapeFlag:$,transition:J,dirs:it}=G;if(k=G.el=l(G.type,Ct,j&&j.is,j),$&8?g(k,G.children):$&16&&X(G.children,k,null,bt,pt,la(G,Ct),D,b),it&&zn(G,null,bt,"created"),rt(k,G,G.scopeId,D,bt),j){for(const Ot in j)Ot!=="value"&&!hr(Ot)&&i(k,Ot,null,j[Ot],Ct,G.children,bt,pt,jt);"value"in j&&i(k,"value",null,j.value,Ct),(E=j.onVnodeBeforeMount)&&yn(E,bt,G)}it&&zn(G,null,bt,"beforeMount");const _t=Sh(pt,J);_t&&J.beforeEnter(k),s(k,Z,lt),((E=j&&j.onVnodeMounted)||_t||it)&&an(()=>{E&&yn(E,bt,G),_t&&J.enter(k),it&&zn(G,null,bt,"mounted")},pt)},rt=(G,Z,lt,bt,pt)=>{if(lt&&R(G,lt),bt)for(let Ct=0;Ct{for(let E=k;E{const b=Z.el=G.el;let{patchFlag:k,dynamicChildren:E,dirs:j}=Z;k|=G.patchFlag&16;const $=G.props||Oe,J=Z.props||Oe;let it;if(lt&&Ai(lt,!1),(it=J.onVnodeBeforeUpdate)&&yn(it,lt,Z,G),j&&zn(Z,G,lt,"beforeUpdate"),lt&&Ai(lt,!0),E?ut(G.dynamicChildren,E,b,lt,bt,la(Z,pt),Ct):D||at(G,Z,b,null,lt,bt,la(Z,pt),Ct,!1),k>0){if(k&16)vt(b,Z,$,J,lt,bt,pt);else if(k&2&&$.class!==J.class&&i(b,"class",null,J.class,pt),k&4&&i(b,"style",$.style,J.style,pt),k&8){const _t=Z.dynamicProps;for(let Ot=0;Ot<_t.length;Ot++){const Nt=_t[Ot],Vt=$[Nt],Ft=J[Nt];(Ft!==Vt||Nt==="value")&&i(b,Nt,Vt,Ft,pt,G.children,lt,bt,jt)}}k&1&&G.children!==Z.children&&g(b,Z.children)}else!D&&E==null&&vt(b,Z,$,J,lt,bt,pt);((it=J.onVnodeUpdated)||j)&&an(()=>{it&&yn(it,lt,Z,G),j&&zn(Z,G,lt,"updated")},bt)},ut=(G,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(G,b,lt[b],null,D,Z.children,pt,Ct,jt);for(const b in bt){if(hr(b))continue;const k=bt[b],E=lt[b];k!==E&&b!=="value"&&i(G,b,E,k,D,Z.children,pt,Ct,jt)}"value"in bt&&i(G,"value",lt.value,bt.value,D)}},ot=(G,Z,lt,bt,pt,Ct,D,b,k)=>{const E=Z.el=G?G.el:h(""),j=Z.anchor=G?G.anchor:h("");let{patchFlag:$,dynamicChildren:J,slotScopeIds:it}=Z;it&&(b=b?b.concat(it):it),G==null?(s(E,lt,bt),s(j,lt,bt),X(Z.children||[],lt,j,pt,Ct,D,b,k)):$>0&&$&64&&J&&G.dynamicChildren?(ut(G.dynamicChildren,J,lt,pt,Ct,D,b),(Z.key!=null||pt&&Z===pt.subTree)&&Eh(G,Z,!0)):at(G,Z,lt,j,pt,Ct,D,b,k)},Lt=(G,Z,lt,bt,pt,Ct,D,b,k)=>{Z.slotScopeIds=b,G==null?Z.shapeFlag&512?pt.ctx.activate(Z,lt,bt,D,k):Dt(Z,lt,bt,pt,Ct,D,k):Mt(G,Z,k)},Dt=(G,Z,lt,bt,pt,Ct,D)=>{const b=G.component=l_(G,bt,pt);if(Ms(G)&&(b.ctx.renderer=zt),u_(b),b.asyncDep){if(pt&&pt.registerDep(b,yt),!G.el){const k=b.subTree=st(dn);A(null,k,Z,lt)}}else yt(b,G,Z,lt,pt,Ct,D)},Mt=(G,Z,lt)=>{const bt=Z.component=G.component;if(mp(G,Z,lt))if(bt.asyncDep&&!bt.asyncResolved){Rt(bt,Z,lt);return}else bt.next=Z,cp(bt.update),bt.effect.dirty=!0,bt.update();else Z.el=G.el,bt.vnode=Z},yt=(G,Z,lt,bt,pt,Ct,D)=>{const b=()=>{if(G.isMounted){let{next:j,bu:$,u:J,parent:it,vnode:_t}=G;{const me=Th(G);if(me){j&&(j.el=_t.el,Rt(G,j,D)),me.asyncDep.then(()=>{G.isUnmounted||b()});return}}let Ot=j,Nt;Ai(G,!1),j?(j.el=_t.el,Rt(G,j,D)):j=_t,$&&Yo($),(Nt=j.props&&j.props.onVnodeBeforeUpdate)&&yn(Nt,it,j,_t),Ai(G,!0);const Vt=oa(G),Ft=G.subTree;G.subTree=Vt,S(Ft,Vt,v(Ft.el),ft(Ft),G,pt,Ct),j.el=Vt.el,Ot===null&&gp(G,Vt.el),J&&an(J,pt),(Nt=j.props&&j.props.onVnodeUpdated)&&an(()=>yn(Nt,it,j,_t),pt)}else{let j;const{el:$,props:J}=Z,{bm:it,m:_t,parent:Ot}=G,Nt=fr(Z);if(Ai(G,!1),it&&Yo(it),!Nt&&(j=J&&J.onVnodeBeforeMount)&&yn(j,Ot,Z),Ai(G,!0),$&&he){const Vt=()=>{G.subTree=oa(G),he($,G.subTree,G,pt,null)};Nt?Z.type.__asyncLoader().then(()=>!G.isUnmounted&&Vt()):Vt()}else{const Vt=G.subTree=oa(G);S(null,Vt,lt,bt,G,pt,Ct),Z.el=Vt.el}if(_t&&an(_t,pt),!Nt&&(j=J&&J.onVnodeMounted)){const Vt=Z;an(()=>yn(j,Ot,Vt),pt)}(Z.shapeFlag&256||Ot&&fr(Ot.vnode)&&Ot.vnode.shapeFlag&256)&&G.a&&an(G.a,pt),G.isMounted=!0,Z=lt=bt=null}},k=G.effect=new Xa(b,vn,()=>sl(E),G.scope),E=G.update=()=>{k.dirty&&k.run()};E.id=G.uid,Ai(G,!0),E()},Rt=(G,Z,lt)=>{Z.component=G;const bt=G.vnode.props;G.vnode=Z,G.next=null,Up(G,Z.props,bt,lt),Kp(G,Z.children,lt),Vi(),du(G),$i()},at=(G,Z,lt,bt,pt,Ct,D,b,k=!1)=>{const E=G&&G.children,j=G?G.shapeFlag:0,$=Z.children,{patchFlag:J,shapeFlag:it}=Z;if(J>0){if(J&128){Bt(E,$,lt,bt,pt,Ct,D,b,k);return}else if(J&256){oe(E,$,lt,bt,pt,Ct,D,b,k);return}}it&8?(j&16&&jt(E,pt,Ct),$!==E&&g(lt,$)):j&16?it&16?Bt(E,$,lt,bt,pt,Ct,D,b,k):jt(E,pt,Ct,!0):(j&8&&g(lt,""),it&16&&X($,lt,bt,pt,Ct,D,b,k))},oe=(G,Z,lt,bt,pt,Ct,D,b,k)=>{G=G||ur,Z=Z||ur;const E=G.length,j=Z.length,$=Math.min(E,j);let J;for(J=0;J<$;J++){const it=Z[J]=k?gi(Z[J]):En(Z[J]);S(G[J],it,lt,null,pt,Ct,D,b,k)}E>j?jt(G,pt,Ct,!0,!1,$):X(Z,lt,bt,pt,Ct,D,b,k,$)},Bt=(G,Z,lt,bt,pt,Ct,D,b,k)=>{let E=0;const j=Z.length;let $=G.length-1,J=j-1;for(;E<=$&&E<=J;){const it=G[E],_t=Z[E]=k?gi(Z[E]):En(Z[E]);if(ji(it,_t))S(it,_t,lt,null,pt,Ct,D,b,k);else break;E++}for(;E<=$&&E<=J;){const it=G[$],_t=Z[J]=k?gi(Z[J]):En(Z[J]);if(ji(it,_t))S(it,_t,lt,null,pt,Ct,D,b,k);else break;$--,J--}if(E>$){if(E<=J){const it=J+1,_t=itJ)for(;E<=$;)Ht(G[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,Vt=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&&ji(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),Vt++)}const Be=me?t_(ge):ur;for(Nt=Be.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}=G;if(E&6){Xt(G.component.subTree,Z,lt,bt);return}if(E&128){G.suspense.move(Z,lt,bt);return}if(E&64){D.move(G,Z,lt,zt);return}if(D===$t){s(Ct,Z,lt);for(let $=0;$b.enter(Ct),pt);else{const{leave:$,delayLeave:J,afterLeave:it}=b,_t=()=>s(Ct,Z,lt),Ot=()=>{$(Ct,()=>{_t(),it&&it()})};J?J(Ct,_t,Ot):Ot()}else s(Ct,Z,lt)},Ht=(G,Z,lt,bt=!1,pt=!1)=>{const{type:Ct,props:D,ref:b,children:k,dynamicChildren:E,shapeFlag:j,patchFlag:$,dirs:J}=G;if(b!=null&&cs(b,null,lt,G,!0),j&256){Z.ctx.deactivate(G);return}const it=j&1&&J,_t=!fr(G);let Ot;if(_t&&(Ot=D&&D.onVnodeBeforeUnmount)&&yn(Ot,Z,G),j&6)ae(G.component,lt,bt);else{if(j&128){G.suspense.unmount(lt,bt);return}it&&zn(G,null,Z,"beforeUnmount"),j&64?G.type.remove(G,Z,lt,pt,zt,bt):E&&(Ct!==$t||$>0&&$&64)?jt(E,Z,lt,!1,!0):(Ct===$t&&$&384||!pt&&j&16)&&jt(k,Z,lt),bt&&Me(G)}(_t&&(Ot=D&&D.onVnodeUnmounted)||it)&&an(()=>{Ot&&yn(Ot,Z,G),it&&zn(G,null,Z,"unmounted")},lt)},Me=G=>{const{type:Z,el:lt,anchor:bt,transition:pt}=G;if(Z===$t){ce(lt,bt);return}if(Z===Xr){C(G);return}const Ct=()=>{c(lt),pt&&!pt.persisted&&pt.afterLeave&&pt.afterLeave()};if(G.shapeFlag&1&&pt&&!pt.persisted){const{leave:D,delayLeave:b}=pt,k=()=>D(lt,Ct);b?b(G.el,Ct,k):k()}else Ct()},ce=(G,Z)=>{let lt;for(;G!==Z;)lt=M(G),c(G),G=lt;c(Z)},ae=(G,Z,lt)=>{const{bum:bt,scope:pt,update:Ct,subTree:D,um:b}=G;bt&&Yo(bt),pt.stop(),Ct&&(Ct.active=!1,Ht(D,G,Z,lt)),b&&an(b,Z),an(()=>{G.isUnmounted=!0},Z),Z&&Z.pendingBranch&&!Z.isUnmounted&&G.asyncDep&&!G.asyncResolved&&G.suspenseId===Z.pendingId&&(Z.deps--,Z.deps===0&&Z.resolve())},jt=(G,Z,lt,bt=!1,pt=!1,Ct=0)=>{for(let D=Ct;DG.shapeFlag&6?ft(G.component.subTree):G.shapeFlag&128?G.suspense.next():M(G.anchor||G.el);let St=!1;const Tt=(G,Z,lt)=>{G==null?Z._vnode&&Ht(Z._vnode,null,null,!0):S(Z._vnode||null,G,Z,null,null,null,lt),St||(St=!0,du(),as(),St=!1),Z._vnode=G},zt={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(zt)),{render:Tt,hydrate:se,createApp:Vp(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 Ai({effect:t,update:n},a){t.allowRecurse=n.allowRecurse=a}function Sh(t,n){return(!t||t&&!t.pendingBranch)&&n&&!n.persisted}function Eh(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 Th(t){const n=t.subTree.component;if(n)return n.asyncDep&&!n.asyncResolved?n:Th(n)}const e_=t=>t.__isTeleport,$t=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 ku(t){ao+=t}function Oh(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 Oh(Y(t,n,a,s,c,i,!0))}function Et(t,n,a,s,c){return Oh(st(t,n,a,s,c,!0))}function hs(t){return t?t.__v_isVNode===!0:!1}function ji(t,n){return t.type===n.type&&t.key===n.key}const Ps="__vInternal",Rh=({key:t})=>t??null,ts=({ref:t,ref_key:n,ref_for:a})=>(typeof t=="number"&&(t=""+t),t!=null?Ie(t)||$e(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===$t?0:1,l=!1,h=!1){const p={__v_isVNode:!0,__v_skip:!0,type:t,props:n,key:n&&Rh(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===uh)&&(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)),Re(p)&&(Xc(p)&&!Wt(p)&&(p=Ve({},p)),n.style=Fn(p))}const l=Ie(t)?1:yp(t)?128:e_(t)?64:Re(t)?4:re(t)?2:0;return Y(t,n,a,s,c,l,i,!0)}function r_(t){return t?Xc(t)||Ps in t?Ve({},t):t:null}function ki(t,n,a=!1){const{props:s,ref:c,patchFlag:i,children:l}=t,h=n?Bh(s||{},n):s;return{__v_isVNode:!0,__v_skip:!0,type:t.type,props:h,key:h&&Rh(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!==$t?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($t,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 Bh(...t){const n={};for(let a=0;aUe||Ne;let ds,Aa;{const t=Bc(),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),Aa=n("__VUE_SSR_SETTERS__",a=>Ss=a)}const go=t=>{const n=Ue;return ds(t),t.scope.on(),()=>{t.scope.off(),ds(n)}},Mu=()=>{Ue&&Ue.scope.off(),ds(null)};function Ih(t){return t.vnode.shapeFlag&4}let Ss=!1;function u_(t,n=!1){n&&Aa(n);const{props:a,children:s}=t.vnode,c=Ih(t);Hp(t,a,c,n),qp(t,s);const i=c?c_(t,n):void 0;return n&&Aa(!1),i}function c_(t,n){const a=t.type;t.accessCache=Object.create(null),t.proxy=bs(new Proxy(t.ctx,Bp));const{setup:s}=a;if(s){const c=t.setupContext=s.length>1?zh(t):null,i=go(t);Vi();const l=Li(s,t,0,[t.props,c]);if($i(),i(),Tc(l)){if(l.then(Mu,Mu),n)return l.then(h=>{Cu(t,h,n)}).catch(h=>{xs(h,t,0)});t.asyncDep=l}else Cu(t,l,n)}else Dh(t,n)}function Cu(t,n,a){re(n)?t.type.__ssrInlineRender?t.ssrRender=n:t.render=n:Re(n)&&(t.setupState=nh(n)),Dh(t,a)}let Pu;function Dh(t,n,a){const s=t.type;if(!t.render){if(!n&&Pu&&!s.render){const c=s.template||ul(t).template;if(c){const{isCustomElement:i,compilerOptions:l}=t.appContext.config,{delimiters:h,compilerOptions:p}=s,_=Ve(Ve({isCustomElement:i,delimiters:h},l),p);s.render=Pu(c,_)}}t.render=s.render||vn}{const c=go(t);Vi();try{Dp(t)}finally{$i(),c()}}}function h_(t){return t.attrsProxy||(t.attrsProxy=new Proxy(t.attrs,{get(n,a){return un(t,"get","$attrs"),n[a]}}))}function zh(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(nh(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?Re(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,Su=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{Su.innerHTML=s==="svg"?`${t}`:s==="mathml"?`${t}`:t;const h=Su.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=Ve({},ph,jh);const Ii=(t,n=[])=>{Wt(t)?t.forEach(a=>a(...n)):t&&t(...n)},Eu=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:R=`${a}-leave-to`}=t,P=v_(c),S=P&&P[0],N=P&&P[1],{onBeforeEnter:A,onEnter:F,onEnterCancelled:O,onLeave:C,onLeaveCancelled:I,onBeforeAppear:V=A,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,R),Di(ot,M),Lt&&Lt()},vt=ot=>(Lt,Dt)=>{const Mt=ot?rt:F,yt=()=>nt(Lt,ot,Dt);Ii(Mt,[Lt,yt]),Tu(()=>{Di(Lt,ot?p:i),hi(Lt,ot?g:h),Eu(Mt)||Ou(Lt,s,S,yt)})};return Ve(n,{onBeforeEnter(ot){Ii(A,[ot]),hi(ot,i),hi(ot,l)},onBeforeAppear(ot){Ii(V,[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),Tu(()=>{ot._isLeaving&&(Di(ot,v),hi(ot,R),Eu(C)||Ou(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(Re(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 Tu(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let b_=0;function Ou(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=R=>{R.target===t&&++g>=p&&v()};setTimeout(()=>{g(a[P]||"").split(", "),c=s(`${ci}Delay`),i=s(`${ci}Duration`),l=Ru(c,i),h=s(`${Zr}Delay`),p=s(`${Zr}Duration`),_=Ru(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 R=g===ci&&/\b(transform|all)(,|$)/.test(s(`${ci}Property`).toString());return{type:g,timeout:v,propCount:M,hasTransform:R}}function Ru(t,n){for(;t.lengthBu(a)+Bu(t[s])))}function Bu(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 Au=/\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);Au.test(a)?t.setProperty(xr(s),a.replace(Au,""),"important"):t[s]=a}}const Iu=["Webkit","Moz","ms"],ca={};function P_(t,n){const a=ca[n];if(a)return a;let s=Gn(n);if(s!=="filter"&&s in t)return ca[n]=s;s=ys(s);for(let c=0;cha||(B_.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=A_(),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 Nu=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,z_=(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):j_(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 j_(t,n,a,s){if(s)return!!(n==="innerHTML"||n==="textContent"||n in t&&Nu(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 Nu(n)&&Ie(a)?!1:n in t}const Fu=t=>{const n=t.props["onUpdate:modelValue"]||!1;return Wt(n)?a=>Yo(n,a):n};function N_(t){t.target.composing=!0}function Gu(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]=Fu(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",Gu),ar(t,"change",Gu))},mounted(t,{value:n}){t.value=n??""},beforeUpdate(t,{value:n,modifiers:{lazy:a,trim:s,number:c}},i){if(t[da]=Fu(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))}},G_=["ctrl","shift","alt","meta"],V_={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)=>G_.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],Nh={__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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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($t,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($t,null,ve(qt(n),(M,R)=>(H(),tt("li",{key:R,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(Nh,{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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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($t,null,ve(qt(n),(R,P)=>(H(),tt("li",{key:P},[st(g,{to:R.link,class:"hover:text-primary-content text-primary-content"},{default:mt(()=>[te(Jt(R.label),1)]),_:2},1032,["to"])]))),128))])]),Y("div",ym,[st(v,null,{default:mt(()=>[st(Nh,{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])&&Fh(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 Fh(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)?Hu(t,n):On(n)?Hu(n,t):t===n}function Hu(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 Rs=()=>({left:window.pageXOffset,top:window.pageYOffset});function Rm(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 Uu(t,n){return(history.state?history.state.position-n:-1)+t}const Da=new Map;function Bm(t,n){Da.set(t,n)}function Am(t){const n=Da.get(t);return Da.delete(t),n}let Im=()=>location.protocol+"//"+location.host;function Gh(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 R=Gh(t,location),P=a.value,S=n.value;let N=0;if(M){if(a.value=R,n.value=M,l&&l===P){l=null;return}N=S?M.position-S.position:0}else s(R);c.forEach(A=>{A(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 R=()=>{const P=c.indexOf(M);P>-1&&c.splice(P,1)};return i.push(R),R}function g(){const{history:M}=window;M.state&&M.replaceState(we({},M.state,{scroll:Rs()}),"")}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 Zu(t,n,a,s=!1,c=!1){return{back:t,current:n,forward:a,replaced:s,position:window.history.length,scroll:c?Rs():null}}function zm(t){const{history:n,location:a}=window,s={value:Gh(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(R){console.error(R),a[g?"replace":"assign"](M)}}function l(p,_){const g=we({},n.state,Zu(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:Rs()});i(g.current,g,!0);const v=we({},Zu(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=zm(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 jm(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},Hh=Symbol("");var qu;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(qu||(qu={}));function yr(t,n){return we(new Error,{type:t,[Hh]:!0},n)}function Yn(t,n){return t instanceof Error&&Hh in t&&(n==null||!!(t.type&n))}const Ku="[^/]+?",Fm={sensitive:!1,strict:!1,start:!0,end:!0},Gm=/[.+*?^${}()[\]/\\]/g;function Vm(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 R=40+(a.sensitive?.25:0);if(M.type===0)v||(c+="/"),c+=M.value.replace(Gm,"\\$&"),R+=40;else if(M.type===1){const{value:P,repeatable:S,optional:N,regexp:A}=M;i.push({name:P,repeatable:S,optional:N});const F=A||Ku;if(F!==Ku){R+=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,R+=20,N&&(R+=-8),S&&(R+=-20),F===".*"&&(R+=-50)}g.push(R)}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(R){throw new Error(`ERR (${a})/"${_}": ${R}`)}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||!Uh(g,a[v]));)v++;a.splice(v,0,g),g.record.name&&!Yu(g)&&s.set(g.record.name,g)}function _(g,v){let M,R={},P,S;if("name"in g&&g.name){if(M=s.get(g.name),!M)throw yr(1,{location:g});S=M.record.name,R=we(Ju(v.params,M.keys.filter(F=>!F.optional).map(F=>F.name)),g.params&&Ju(g.params,M.keys.map(F=>F.name))),P=M.stringify(R)}else if("path"in g)P=g.path,M=a.find(F=>F.re.test(P)),M&&(R=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,R=we({},v.params,g.params),P=M.stringify(R)}const N=[];let A=M;for(;A;)N.unshift(A.record),A=A.parent;return{name:S,path:P,params:R,matched:N,meta:Xm(N)}}return t.forEach(g=>i(g)),{addRoute:i,resolve:_,removeRoute:l,getRoutes:h,getRecordMatcher:c}}function Ju(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 Yu(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 Xu(t,n){const a={};for(const s in t)a[s]=s in n?n[s]:t[s];return a}function Uh(t,n){return n.children.some(a=>a===t||Uh(t,a))}const Zh=/#/g,Qm=/&/g,tg=/\//g,eg=/=/g,ng=/\?/g,qh=/\+/g,ig=/%5B/g,rg=/%5D/g,Kh=/%5E/g,og=/%60/g,Wh=/%7B/g,sg=/%7C/g,Jh=/%7D/g,ag=/%20/g;function pl(t){return encodeURI(""+t).replace(sg,"|").replace(ig,"[").replace(rg,"]")}function lg(t){return pl(t).replace(Wh,"{").replace(Jh,"}").replace(Kh,"^")}function za(t){return pl(t).replace(qh,"%2B").replace(ag,"+").replace(Zh,"%23").replace(Qm,"%26").replace(og,"`").replace(Wh,"{").replace(Jh,"}").replace(Kh,"^")}function ug(t){return za(t).replace(eg,"%3D")}function cg(t){return pl(t).replace(Zh,"%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&&za(i)):[s&&za(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(""),tc=Symbol(""),Bs=Symbol(""),_l=Symbol(""),ja=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 ec(t){const n=xn(Bs),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 R=nc(p[_-2]);return _>1&&nc(g)===R&&v[v.length-1].path!==R?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&&Fh(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=gh({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:ec,setup(t,{slots:n}){const a=_o(ec(t)),{options:s}=xn(Bs),c=Yt(()=>({[ic(t.activeClass,s.linkActiveClass,"router-link-active")]:a.isActive,[ic(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 nc(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const ic=(t,n,a)=>t??n??a,bg=gh({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:n,slots:a}){const s=xn(ja),c=Yt(()=>t.route||s.value),i=xn(tc,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(tc,Yt(()=>l.value+1)),Qo(pg,h),Qo(ja,c);const p=Zt();return Ze(()=>[p.value,h.value,t.name],([_,g,v],[M,R,P])=>{g&&(g.instances[v]=_,R&&R!==g&&_&&_===M&&(g.leaveGuards.size||(g.leaveGuards=R.leaveGuards),g.updateGuards.size||(g.updateGuards=R.updateGuards))),_&&g&&(!R||!gr(g,R)||!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 rc(a.default,{Component:M,route:_});const R=v.props[g],P=R?R===!0?_.params:typeof R=="function"?R(_):R:null,N=dl(M,we({},P,n,{onVnodeUnmounted:A=>{A.component.isUnmounted&&(v.instances[g]=null)},ref:p}));return rc(a.default,{Component:N,route:_})||N}}});function rc(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||Qu,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 R(ft,St){let Tt,zt;return $h(ft)?(Tt=n.getRecordMatcher(ft),zt=St):zt=ft,n.addRoute(zt,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 A(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 zt=n.resolve(Tt,St),se=ft.hash||"";zt.params=g(M(zt.params));const he=km(s,we({},ft,{hash:lg(se),path:zt.path})),G=c.createHref(he);return we({fullPath:he,hash:se,query:s===Qu?fg(ft.query):ft.query||{}},zt,{redirectedFrom:void 0,href:G})}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 V(ft){const St=ft.matched[ft.matched.length-1];if(St&&St.redirect){const{redirect:Tt}=St;let zt=typeof Tt=="function"?Tt(ft):Tt;return typeof zt=="string"&&(zt=zt.includes("?")||zt.includes("#")?zt=F(zt):{path:zt},zt.params={}),we({query:ft.query,hash:ft.hash,params:"path"in zt?{}:ft.params},zt)}}function rt(ft,St){const Tt=_=A(ft),zt=p.value,se=ft.state,he=ft.force,G=ft.replace===!0,Z=V(Tt);if(Z)return rt(we(F(Z),{state:typeof Z=="object"?we({},se,Z.state):se,force:he,replace:G}),St||Tt);const lt=Tt;lt.redirectedFrom=St;let bt;return!he&&Mm(s,zt,Tt)&&(bt=yr(16,{to:lt,from:zt}),Xt(zt,zt,!0,!1)),(bt?Promise.resolve(bt):ut(lt,zt)).catch(pt=>Yn(pt)?Yn(pt,2)?pt:Bt(pt):at(pt,lt,zt)).then(pt=>{if(pt){if(Yn(pt,2))return rt(we({replace:G},F(pt.to),{state:typeof pt.to=="object"?we({},se,pt.to.state):se,force:he}),St||lt)}else pt=ot(lt,zt,!0,G,se);return vt(lt,zt,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[zt,se,he]=wg(ft,St);Tt=ma(zt.reverse(),"beforeRouteLeave",ft,St);for(const Z of zt)Z.leaveGuards.forEach(lt=>{Tt.push(vi(lt,ft,St))});const G=X.bind(null,ft,St);return Tt.push(G),jt(Tt).then(()=>{Tt=[];for(const Z of i.list())Tt.push(vi(Z,ft,St));return Tt.push(G),jt(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(G),jt(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(G),jt(Tt)}).then(()=>(ft.matched.forEach(Z=>Z.enterCallbacks={}),Tt=ma(he,"beforeRouteEnter",ft,St),Tt.push(G),jt(Tt))).then(()=>{Tt=[];for(const Z of l.list())Tt.push(vi(Z,ft,St));return Tt.push(G),jt(Tt)}).catch(Z=>Yn(Z,8)?Z:Promise.reject(Z))}function vt(ft,St,Tt){h.list().forEach(zt=>nt(()=>zt(ft,St,Tt)))}function ot(ft,St,Tt,zt,se){const he=O(ft,St);if(he)return he;const G=St===di,Z=lr?history.state:{};Tt&&(zt||G?c.replace(ft.fullPath,we({scroll:G&&Z&&Z.scroll},se)):c.push(ft.fullPath,se)),p.value=ft,Xt(ft,St,Tt,G),Bt()}let Lt;function Dt(){Lt||(Lt=c.listen((ft,St,Tt)=>{if(!ae.listening)return;const zt=A(ft),se=V(zt);if(se){rt(we(se,{replace:!0}),zt).catch(to);return}_=zt;const he=p.value;lr&&Bm(Uu(he.fullPath,Tt.delta),Rs()),ut(zt,he).catch(G=>Yn(G,12)?G:Yn(G,2)?(rt(G.to,zt).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(G,zt,he))).then(G=>{G=G||ot(zt,he,!1),G&&(Tt.delta&&!Yn(G,8)?c.go(-Tt.delta,!1):Tt.type===co.pop&&Yn(G,20)&&c.go(-1,!1)),vt(zt,he,G)}).catch(to)}))}let Mt=Kr(),yt=Kr(),Rt;function at(ft,St,Tt){Bt(ft);const zt=yt.list();return zt.length?zt.forEach(se=>se(ft,St,Tt)):console.error(ft),Promise.reject(ft)}function oe(){return Rt&&p.value!==di?Promise.resolve():new Promise((ft,St)=>{Mt.add([ft,St])})}function Bt(ft){return Rt||(Rt=!ft,Dt(),Mt.list().forEach(([St,Tt])=>ft?Tt(ft):St()),Mt.reset()),ft}function Xt(ft,St,Tt,zt){const{scrollBehavior:se}=t;if(!lr||!se)return Promise.resolve();const he=!Tt&&Am(Uu(ft.fullPath,0))||(zt||!Tt)&&history.state&&history.state.scroll||null;return Ls().then(()=>se(ft,St,he)).then(G=>G&&Rm(G)).catch(G=>at(G,ft,St))}const Ht=ft=>c.go(ft);let Me;const ce=new Set,ae={currentRoute:p,listening:!0,addRoute:R,removeRoute:P,hasRoute:N,getRoutes:S,resolve:A,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(Bs,St),ft.provide(_l,Jc(Tt)),ft.provide(ja,p);const zt=ft.unmount;ce.add(ft),ft.unmount=function(){ce.delete(ft),ce.size<1&&(_=di,Lt&&Lt(),Lt=null,p.value=di,Me=!1,Rt=!1),zt()}}};function jt(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 As(){return xn(Bs)}function Yh(){return xn(_l)}var kg=!1;/*! + * pinia v2.1.7 + * (c) 2023 Eduardo San Martin Morote + * @license MIT + */let Xh;const Is=t=>Xh=t,Qh=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=zc(!0),n=t.run(()=>Zt({}));let a=[],s=[];const c=bs({install(i){Is(c),c._a=i,i.provide(Qh,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 td=()=>{};function oc(t,n,a,s=td){t.push(n);const c=()=>{const i=t.indexOf(n);i>-1&&(t.splice(i,1),s())};return!a&&jc()&&Af(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)&&!$e(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!!($e(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 R=a._s.get(t);return l[M].call(R,R)})),v),{}))}return p=ed(t,_,n,a,s,!0),p}function ed(t,n,a={},s,c,i){let l;const h=pi({actions:{}},a),p={deep:!0};let _,g,v=[],M=[],R;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:R}):(Fa(s.state.value[t],X),nt={type:no.patchObject,payload:X,storeId:t,events:R});const ut=S=Symbol();Ls().then(()=>{S===ut&&(_=!0)}),g=!0,sr(v,nt,s.state.value[t])}const A=i?function(){const{state:nt}=a,ut=nt?nt():{};this.$patch(vt=>{pi(vt,ut)})}:td;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:oc.bind(null,M),$patch:N,$reset:A,$subscribe(X,nt={}){const ut=oc(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:R},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=zc()).run(n)));for(const X in rt){const nt=rt[X];if($e(nt)&&!Eg(nt)||xi(nt))i||(P&&Sg(nt)&&($e(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 _=$p();return h=h||(_?xn(Qh,null):null),h&&Is(h),h=Xh,h._s.has(s)||(i?ed(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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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 Rg={key:0},Bg={__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",Rg,"This site uses "+Jt(qt(s))+".",1)):It("",!0)}};var Ag={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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"},zg={class:"pt-4 pb-2 break-words"},jg=["innerHTML"],Ng={key:0},Fg=["href"],Gg={class:"flex items-center text-xs gap-2"},Vg=["src"],$g=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}=Ag,p=ml(),_=new Date().toISOString().split("T")[0],g=Yh(),v=Yt(()=>{const M=(s||"").replace(/\/$/,"");return M.length?h?M+"/#"+g.fullPath:M+g.fullPath:""});return(M,R)=>{const P=gt("ClientOnly"),S=gt("TrackerReport");return H(),tt("footer",Ig,[Y("div",Dg,[Y("div",zg,[te(Jt(qt(n))+" ",1),st(P,null,{default:mt(()=>[Y("span",{innerHTML:qt(p).nextAuthor},null,8,jg)]),_: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",Gg,[(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,Vg)):It("",!0)]),_:1},8,["href"])),Y("span",null,Jt(qt(c)),1)]),$g,Y("div",Hg,[Y("div",Ug,[Zg,qg,Kg,st(Bg,{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 sc={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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:sc.project_name,meta:sc.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",Ry="GenusGroup",By="SpeciesGroup",Ay="SpeciesAndInfraspeciesGroup",ho={CanceledError:"CanceledError"},ac=["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 nd(t,n){return function(){return t.apply(n,arguments)}}const{toString:Iy}=Object.prototype,{getPrototypeOf:gl}=Object,zs=(t=>n=>{const a=Iy.call(n);return t[a]||(t[a]=a.slice(8,-1).toLowerCase())})(Object.create(null)),Vn=t=>(t=t.toLowerCase(),n=>zs(n)===t),js=t=>n=>typeof n===t,{isArray:wr}=Array,fo=js("undefined");function Dy(t){return t!==null&&!fo(t)&&t.constructor!==null&&!fo(t.constructor)&&Ln(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const id=Vn("ArrayBuffer");function zy(t){let n;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?n=ArrayBuffer.isView(t):n=t&&t.buffer&&id(t.buffer),n}const jy=js("string"),Ln=js("function"),rd=js("number"),Ns=t=>t!==null&&typeof t=="object",Ny=t=>t===!0||t===!1,es=t=>{if(zs(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=Vn("Date"),Gy=Vn("File"),Vy=Vn("Blob"),$y=Vn("FileList"),Hy=t=>Ns(t)&&Ln(t.pipe),Uy=t=>{let n;return t&&(typeof FormData=="function"&&t instanceof FormData||Ln(t.append)&&((n=zs(t))==="formdata"||n==="object"&&Ln(t.toString)&&t.toString()==="[object FormData]"))},Zy=Vn("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 sd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ad=t=>!fo(t)&&t!==sd;function Ga(){const{caseless:t}=ad(this)&&this||{},n={},a=(s,c)=>{const i=t&&od(n,c)||c;es(n[i])&&es(s)?n[i]=Ga(n[i],s):es(s)?n[i]=Ga({},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]=nd(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(!rd(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=Vn("HTMLFormElement"),rv=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(a,s,c){return s.toUpperCase()+c}),lc=(({hasOwnProperty:t})=>(n,a)=>t.call(n,a))(Object.prototype),ov=Vn("RegExp"),ld=(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=>{ld(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",uc="0123456789",ud={DIGIT:uc,ALPHA:ga,ALPHA_DIGIT:ga+ga.toUpperCase()+uc},cv=(t=16,n=ud.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=Vn("AsyncFunction"),pv=t=>t&&(Ns(t)||Ln(t))&&Ln(t.then)&&Ln(t.catch),xt={isArray:wr,isArrayBuffer:id,isBuffer:Dy,isFormData:Uy,isArrayBufferView:zy,isString:jy,isNumber:rd,isBoolean:Ny,isObject:Ns,isPlainObject:es,isUndefined:fo,isDate:Fy,isFile:Gy,isBlob:Vy,isRegExp:ov,isFunction:Ln,isStream:Hy,isURLSearchParams:Zy,isTypedArray:tv,isFileList:$y,forEach:vo,merge:Ga,extend:Ky,trim:qy,stripBOM:Wy,inherits:Jy,toFlatObject:Yy,kindOf:zs,kindOfTest:Vn,endsWith:Xy,toArray:Qy,forEachEntry:ev,matchAll:nv,isHTMLForm:iv,hasOwnProperty:lc,hasOwnProp:lc,reduceDescriptors:ld,freezeMethods:sv,toObjectSet:av,toCamelCase:rv,noop:lv,toFiniteNumber:uv,findKey:od,global:sd,isContextDefined:ad,ALPHABET:ud,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 cd=pe.prototype,hd={};["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=>{hd[t]={value:t}});Object.defineProperties(pe,hd);Object.defineProperty(cd,"isAxiosError",{value:!0});pe.from=(t,n,a,s,c,i)=>{const l=Object.create(cd);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 Va(t){return xt.isPlainObject(t)||xt.isArray(t)}function dd(t){return xt.endsWith(t,"[]")?t.slice(0,-2):t}function cc(t,n,a){return t?t.concat(n).map(function(c,i){return c=dd(c),!a&&i?"["+c+"]":c}).join(a?".":""):n}function mv(t){return xt.isArray(t)&&!t.some(Va)}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 A=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,"[]"))&&(A=xt.toArray(P)))return S=dd(S),A.forEach(function(O,C){!(xt.isUndefined(O)||O===null)&&n.append(l===!0?cc([S],C,i):l===null?S:S+"[]",_(O))}),!1}return Va(P)?!0:(n.append(cc(N,S,i),_(P)),!1)}const v=[],M=Object.assign(gv,{defaultVisitor:g,convertValue:_,isVisitable:Va});function R(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(A,F){(!(xt.isUndefined(A)||A===null)&&c.call(n,A,xt.isString(F)?F.trim():F,S,M))===!0&&R(A,S?S.concat(F):[F])}),v.pop()}}if(!xt.isObject(t))throw new TypeError("data must be an object");return R(t),n}function hc(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 fd=yl.prototype;fd.append=function(n,a){this._pairs.push([n,a])};fd.toString=function(n){const a=n?function(s){return n.call(this,s,hc)}:hc;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 pd(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 dc{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 _d={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"]},md=typeof window<"u"&&typeof document<"u",wv=(t=>md&&["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:md,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:_d,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(gd(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},fc=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 Rv(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 Bv=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 Av(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 Gs{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())&&!Bv(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 Rv(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?Av(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[fc]=this[fc]={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}}Gs.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);xt.reduceDescriptors(Gs.prototype,({value:t},n)=>{let a=n[0].toUpperCase()+n.slice(1);return{get:()=>t,set(s){this[a]=s}}});xt.freezeMethods(Gs);const Qn=Gs;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 yd(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 zv=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 jv(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function Nv(t,n){return n?t.replace(/\/?\/$/,"")+"/"+n.replace(/^\/+/,""):t}function vd(t,n){return t&&!jv(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 Gv(t){const n=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return n&&n[1]||""}function Vv(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 $v=typeof XMLHttpRequest<"u",Hv=$v&&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(A=>A.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=vd(t.baseURL,t.url);v.open(t.method.toUpperCase(),pd(M,t.params,t.paramsSerializer),!0),v.timeout=t.timeout;function R(){if(!v)return;const S=Qn.from("getAllResponseHeaders"in v&&v.getAllResponseHeaders()),A={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),_()},A),v=null}if("onloadend"in v?v.onloadend=R:v.onreadystatechange=function(){!v||v.readyState!==4||v.status===0&&!(v.responseURL&&v.responseURL.indexOf("file:")===0)||setTimeout(R)},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 A=t.transitional||_d;t.timeoutErrorMessage&&(N=t.timeoutErrorMessage),s(new pe(N,A.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&&zv.read(t.xsrfCookieName);S&&i.set(t.xsrfHeaderName,S)}c===void 0&&i.setContentType(null),"setRequestHeader"in v&&xt.forEach(i.toJSON(),function(N,A){v.setRequestHeader(A,N)}),xt.isUndefined(t.withCredentials)||(v.withCredentials=!!t.withCredentials),l&&l!=="json"&&(v.responseType=t.responseType),typeof t.onDownloadProgress=="function"&&v.addEventListener("progress",pc(t.onDownloadProgress,!0)),typeof t.onUploadProgress=="function"&&v.upload&&v.upload.addEventListener("progress",pc(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=Gv(M);if(P&&Nn.protocols.indexOf(P)===-1){s(new pe("Unsupported protocol "+P+":",pe.ERR_BAD_REQUEST,t));return}v.send(c||null)})},$a={http:_v,xhr:Hv};xt.forEach($a,(t,n)=>{if(t){try{Object.defineProperty(t,"name",{value:n})}catch{}Object.defineProperty(t,"adapterName",{value:n})}});const _c=t=>`- ${t}`,Uv=t=>xt.isFunction(t)||t===null||t===!1,bd={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(_c).join(` +`):" "+_c(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:$a};function ba(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new bo(null,t)}function mc(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),bd.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 yd(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 gc=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(gc(_),gc(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 xd="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 yc={};xl.transitional=function(n,a,s){function c(i,l){return"[Axios v"+xd+"] 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&&!yc[l]&&(yc[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 dc,response:new dc}}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=[mc.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 Ld(t){const n=new is(t),a=nd(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 Ld(vr(t,c))},a}const Fe=Ld(bl);Fe.Axios=is;Fe.CanceledError=bo;Fe.CancelToken=qv;Fe.isCancel=yd;Fe.VERSION=xd;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=>gd(xt.isHTMLForm(t)?new FormData(t):t);Fe.getAdapter=bd.getAdapter;Fe.HttpStatusCode=Jv;Fe.default=Fe;var Yv={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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"),R=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(R,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($t,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($t,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($t,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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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=As(),{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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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"},Rb={class:"container mx-auto"},Bb={class:"pt-6 pb-6"},Ab={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"},zb={class:"pt-3 pb-4"},jb={class:"container mx-auto box-border"},Nb={__name:"Index",setup(t){const n=Yh(),a=As(),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,A;return((N=p.value)==null?void 0:N.id)&&((A=_.value)==null?void 0:A.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,A;((N=p.value)==null?void 0:N.id)!==Number(n.params.id)||!((A=_.value)!=null&&A.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&&R(N)}}function R(N){var A;switch((A=N==null?void 0:N.response)==null?void 0:A.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:A}){a.push({name:"otus-id-overview",params:{id:A||N}})}return(N,A)=>{const F=gt("VSkeleton"),O=gt("Autocomplete"),C=gt("ClientOnly"),I=gt("TabItem"),V=gt("TabMenu"),rt=gt("RouterView");return H(),tt("main",null,[Y("div",Ob,[Y("div",Rb,[Y("div",Bb,[Y("div",Ab,[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(V,{key:0,class:"m-[-1px] print:hidden"},{default:mt(()=>[(H(!0),tt($t,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",zb,[Y("div",jb,[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"],Gb={__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($t,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($t,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)}}},Vb={__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 vh(()=>{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($t,null,ve(c.value,(p,_)=>(H(),Et(Gb,{key:_,title:_,"text-list":p},null,8,["title","text-list"]))),128))]),_:1})):It("",!0)}}},$b={id:"panel:content",component:Vb},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($t,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($t,null,ve(s.value,g=>(H(),Et(_,{key:g.otu_id},{default:mt(()=>[a.value?(H(),Et(wd,{key:0,taxonomy:g},null,8,["taxonomy"])):It("",!0)]),_:2},1024))),128))])):It("",!0)]),_:1})])):It("",!0)}}},wd=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($t,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=>(ah("data-v-91511d41"),t=t(),lh(),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(wd,{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 kd(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 Md(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:kd,Mixed:Md,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?Md:f0[c]||kd;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"),R=gt("VTable"),P=gt("VModal");return H(),tt($t,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(R,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($t,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"),R=gt("VTable");return t.list.length?(H(),Et(R,{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($t,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:A})=>{switch(A){case"Escape":c("close");break}};function R(A){const F={geo_json:A,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(A){S(),v.value&&i.value.resizeMap()}function S(){g.value=i.value.getMapObject().getZoom()}function N(){_.value=i.value.getMapObject().getZoom(),S()}return(A,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=>R(JSON.stringify(I.geometry))),"onEdit:layer":F[2]||(F[2]=I=>R(JSON.stringify(I.geometry))),"onDrag:layer":F[3]||(F[3]=I=>R(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"},R0={key:1,class:"flex flex-row p-2 gap-2 text-xs"},B0=2,A0={__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:B0,"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",R0,[(H(!0),tt($t,null,ve(qt(c).distribution.currentShapeTypes,R=>(H(),tt("div",{key:R,class:"flex flex-row items-center"},[Y("div",{class:We(["w-3","h-3","m-1","rounded-sm",i[R].background])},null,2),Y("span",null,Jt(i[R].label),1)]))),128))])):It("",!0)]),_:1})}}},I0={id:"panel:map",component:A0};function Cd(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"},z0=["title","innerHTML"],j0=["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,z0),t.citation.type_label?(H(),tt("p",{key:0,class:"ml-4 text-base-soft",innerHTML:t.citation.type_label},null,8,j0)):It("",!0)]))}},N0={class:"flex justify-start border-b p-3 px-4 cursor-pointer border-base-muted"},Pd={__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"},G0={class:"text-sm"},V0={class:"text-sm"},$0={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(()=>Cd(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",G0,[(H(!0),tt($t,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(Pd,{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",V0,[(H(!0),tt($t,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",$0,[(H(!0),tt($t,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(()=>Cd(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($t,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(Pd,{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($t,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($t,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"),R=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(R,null,{default:mt(()=>[(H(!0),tt($t,null,ve(qt(n).catalog.stats,({rank:A,taxa:F,names:O})=>(H(),Et(M,{key:A},{default:mt(()=>[st(v,{class:"capitalize"},{default:mt(()=>[te(Jt(A),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,Ry]},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)=>ac.indexOf(c.type_type)-ac.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:[By,Ay]},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:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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":$b,"/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,vc=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 vc){const n=vc[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=As(),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($t,null,ve(qt(s).panels,p=>(H(),tt("div",{class:We(["grid","grid-cols-1","gap-3",c[p.length]])},[(H(!0),tt($t,null,ve(p,(_,g)=>(H(),tt("div",{class:"grid grid-cols-1 gap-3 auto-rows-min",key:g},[(H(!0),tt($t,null,ve(_,({component:v,rankGroup:M,id:R,bind:P})=>(H(),tt($t,{key:R},[!M||qt(Za)(M,t.taxonRank)?(H(),Et(Lr(v),Bh({key:0,"otu-id":t.otuId,otu:t.otu,"taxon-id":t.taxonId,taxon:t.taxon,"panel-key":R},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"/plecoptera/"+t},bc={},wl=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 bc)return;bc[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=()=>wl(()=>import("./perla-F0klxveF.js"),__vite__mapDeps([])),Lx=()=>wl(()=>import("./home-vZvnukV_.js"),__vite__mapDeps([])),wx=()=>wl(()=>import("./about-BPgmpSZF.js"),__vite__mapDeps([])),kx=[{name:"perla",path:"/perla",component:xx,props:!0},{name:"home",path:"/",component:Lx,props:!0,alias:"/home"},{name:"about",path:"/about",component:wx,props:!0}];var Mx={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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 Cx=Object.assign({"/src/modules/home/router/index.js":fy,"/src/modules/httpErrorPages/router/index.js":Ty,"/src/modules/otus/router/index.js":yx}),Px=Object.assign({}),{base_url:xc,hash_mode:Sx}=Mx,Ex=[].concat(...Object.values(Cx),...Object.values(Px)),Tx=[...kx,...Ex];function Ox(){return Sx?jm(xc):Vh(xc)}function Rx(){return Lg({history:Ox(),routes:Tx,scrollBehavior(t,n,a){return t.hash?{el:t.hash}:{top:0}}})}var Bx={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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 Ax({originUrl:t}){const{url:n,project_token:a}=Bx,c=U_(n&&a?Qg:oy),i=Rx(),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 Ix(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(Bt(e))},_add:function(e){return this.x+=e.x,this.y+=e.y,this},subtract:function(e){return this.clone()._subtract(Bt(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=Bt(e);var o=e.x-this.x,d=e.y-this.y;return Math.sqrt(o*o+d*d)},equals:function(e){return e=Bt(e),e.x===this.x&&e.y===this.y},contains:function(e){return e=Bt(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 Bt(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,Rn=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}(),$n=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 Gt={ie:Ct,ielt9:D,edge:b,webkit:k,android:E,android23:j,androidStock:J,opera:it,chrome:_t,gecko:Ot,safari:Nt,phantom:Vt,opera12:Ft,win:me,ie3d:le,webkit3d:ge,gecko3d:Be,any3d:fe,mobile:be,mobileWebkit:De,mobileWebkit3d:ze,msPointer:wn,pointer:Ge,touch:Qe,touchNative:Pe,mobileOpera:kn,mobileGecko:Mn,retina:fn,passiveEvents:Rn,canvas:$n,svg:Ci,vml:xo,inlineSvg:Mr,mac:Hn,linux:Un},ni=Gt.msPointer?"MSPointerDown":"pointerdown",Lo=Gt.msPointer?"MSPointerMove":"pointermove",Cr=Gt.msPointer?"MSPointerUp":"pointerup",Pr=Gt.msPointer?"MSPointerCancel":"pointercancel",Sr={touchstart:ni,touchmove:Lo,touchend:Cr,touchcancel:Pr},Er={touchstart:Mo,touchmove:qi,touchend:qi,touchcancel:qi},Bn={},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 Vs(e,o,d){if(!Sr[o]){console.warn("wrong event specified:",o);return}e.removeEventListener(Sr[o],d,!1)}function Zi(e){Bn[e.pointerId]=e}function wo(e){Bn[e.pointerId]&&(Bn[e.pointerId]=e)}function ko(e){delete Bn[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 Bn)o.touches.push(Bn[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 Rr(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 $s=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<=$s?(m++,m===2&&o(Rr(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"]),An=Ji(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),Br=An==="webkitTransition"||An==="OTransition"?An+"End":"transitionend";function Ar(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 Gt.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:z,stopPropagation:dt,disableScrollPropagation:ht,disableClickPropagation:kt,preventDefault:Pt,stop:Ut,getPropagationPath:ee,getMousePosition:Le,getWheelDelta:Te,isExternalTarget:Je,addListener:w,removeListener:z},Qi=Rt.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=Bt(o.paddingTopLeft||o.padding||[0,0]),m=Bt(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()),At=et.extend(T).getSize().subtract(ct);x.x+=wt.x<0?-At.x:At.x,x.y+=wt.y<0?-At.y:At.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=Bt(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(),At=Gt.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),At&&(m=Math.round(m/(At/100))*(At/100),m=o?Math.ceil(m/At)*At:Math.floor(m/At)*At),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(jt(e),o)},unproject:function(e,o){return o=o===void 0?this._zoom:o,this.options.crs.pointToLatLng(Bt(e),o)},layerPointToLatLng:function(e){var o=Bt(e).add(this.getPixelOrigin());return this.unproject(o)},latLngToLayerPoint:function(e){var o=this.project(jt(e))._round();return o._subtract(this.getPixelOrigin())},wrapLatLng:function(e){return this.options.crs.wrapLatLng(jt(e))},wrapLatLngBounds:function(e){return this.options.crs.wrapLatLngBounds(ce(e))},distance:function(e,o){return this.options.crs.distance(jt(e),jt(o))},containerPointToLayerPoint:function(e){return Bt(e).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(e){return Bt(e).add(this._getMapPanePos())},containerPointToLatLng:function(e){var o=this.containerPointToLayerPoint(Bt(e));return this.layerPointToLatLng(o)},latLngToContainerPoint:function(e){return this.layerPointToContainerPoint(this.latLngToLayerPoint(jt(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=Ar(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&&Gt.any3d,Qt(e,"leaflet-container"+(Gt.touch?" leaflet-touch":"")+(Gt.retina?" leaflet-retina":"")+(Gt.ielt9?" leaflet-oldie":"")+(Gt.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?z: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),Gt.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"&&zr(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=Gt.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(){Ae(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&&Ae(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 jr=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(){z(e,"click",Pt),o._preventClick=!1})}}),So=function(e,o,d){return new jr(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";Ae(this._zoomInButton,o),Ae(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)},Bd='',qs=tn.extend({options:{position:"bottomright",prefix:''+(Gt.inlineSvg?Bd+" ":"")+"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 Ad=function(e){return new qs(e)};tn.Layers=jr,tn.Zoom=Nr,tn.Scale=Eo,tn.Attribution=qs,cn.layers=So,cn.zoom=Fr,cn.scale=Zs,cn.attribution=Ad;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},Cl=Gt.touch?"touchstart mousedown":"mousedown",si=Rt.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,Cl,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&(si._dragging===this&&this.finishDrag(!0),z(this._dragStartTarget,Cl,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&&zr(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 Gr(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 Bl(e){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),_n(e)}function Al(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 At=jt([0,0]),Kt=ce(e),ue=Kt.getNorthWest().distanceTo(Kt.getSouthWest())*Kt.getNorthEast().distanceTo(Kt.getNorthWest());ue<1700&&(At=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(Bt(wt));return jt([on.lat+At.lat,on.lng+At.lng])}var Gd={__proto__:null,simplify:El,pointToSegmentDistance:Tl,closestPointOnSegment:zd,clipSegment:Rl,_getEdgeIntersection:To,_getBitCode:Bi,_sqClosestPointOnSegment:Gr,isFlat:_n,_flat:Bl,polylineCenter:Al},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)}},Vd={__proto__:null,LonLat:Js,Mercator:Ys,SphericalMercator:zt},$d=c({},St,{code:"EPSG:3395",projection:Ys,transformation:function(){var e=.5/(Math.PI*Ys.R);return he(e,.5,-e,.5)}()}),Il=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=$d,ft.EPSG3857=G,ft.EPSG900913=Z,ft.EPSG4326=Il,ft.Simple=Hd;var Sn=Rt.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),Ro.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,zo=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 zo(e,o,d)},Nl=zo.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)):Ae(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=Bt(this.options.autoPanPadding),et=Bt(this.options.autoPanPaddingTopLeft||K),ct=Bt(this.options.autoPanPaddingBottomRight||K),wt=e.getSize(),At=0,Kt=0;T.x+m+ct.x>wt.x&&(At=T.x+m-wt.x+ct.x),T.x-At-et.x<0&&(At=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),(At||Kt)&&(this.options.keepInView&&(this._autopanning=!0),e.fire("autopanstart").panBy([At,Kt]))}},_getAnchor:function(){return Bt(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),rf=function(e,o){return new jo(e,o)};ne.mergeOptions({closePopupOnClick:!0}),ne.include({openPopup:function(e,o,d){return this._initOverlay(jo,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(jo,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,At=Bt(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,Gt.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"),Gt.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 $r(e)}var rr=$r.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&&Gt.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:Gt.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){Gt.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),$r.prototype._removeTile.call(this,e)},_tileReady:function(e,o,d){if(!(!this._map||d&&d.getAttribute("src")===I))return $r.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&&Gt.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===Il?[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));Gt.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()}}),Hl=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),z(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=Gt.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",Gt.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=Gt.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),z(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)}});Gt.vml&&Ur.include(uf);function Zl(e){return Gt.svg||Gt.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&&Ul(e)||Zl(e)}});var ql=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 ql(e,o)}Ur.create=Fo,Ur.pointsToPath=bt,Wn.geometryToLayer=Bo,Wn.coordsToLatLng=Qs,Wn.coordsToLatLngs=Ao,Wn.latLngToCoords=ta,Wn.latLngsToCoords=Io,Wn.getFeature=ir,Wn.asFeature=Do,ne.mergeOptions({boxZoom:!0});var Kl=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(){z(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),Ae(this._container,"leaflet-crosshair")),Ei(),Ri(),z(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",Kl),ne.mergeOptions({doubleClickZoom:!0});var Wl=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",Wl),ne.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Jl=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(){Ae(this._map._container,"leaflet-grab"),Ae(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",Xl);var hf=600;ne.mergeOptions({tapHold:Gt.touchNative&&Gt.safari&&Gt.mobile,tapTolerance:15});var Ql=In.extend({addHooks:function(){w(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){z(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(){z(document,"touchend",Pt),z(document,"touchend touchcancel",e)},_cancel:function(){clearTimeout(this._holdTimeout),z(document,"touchend touchcancel contextmenu",this._cancel,this),z(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",Ql),ne.mergeOptions({touchZoom:Gt.touch,bounceAtZoomLimits:!0});var tu=In.extend({addHooks:function(){Qt(this._map._container,"leaflet-touch-zoom"),w(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){Ae(this._map._container,"leaflet-touch-zoom"),z(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),z(document,"touchmove",this._onTouchMove,this),z(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",tu),ne.BoxZoom=Kl,ne.DoubleClickZoom=Wl,ne.Drag=Jl,ne.Keyboard=Yl,ne.ScrollWheelZoom=Xl,ne.TapHold=Ql,ne.TouchZoom=tu,a.Bounds=Xt,a.Browser=Gt,a.CRS=ft,a.Canvas=Hl,a.Circle=Xs,a.CircleMarker=Ro,a.Class=Dt,a.Control=tn,a.DivIcon=Gl,a.DivOverlay=Dn,a.DomEvent=Ye,a.DomUtil=y,a.Draggable=si,a.Evented=Rt,a.FeatureGroup=qn,a.GeoJSON=Wn,a.GridLayer=$r,a.Handler=In,a.Icon=er,a.ImageOverlay=zo,a.LatLng=ae,a.LatLngBounds=Me,a.Layer=Sn,a.LayerGroup=tr,a.LineUtil=Gd,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=jo,a.PosAnimation=Qi,a.Projection=Vd,a.Rectangle=ql,a.Renderer=Jn,a.SVG=Ur,a.SVGOverlay=Fl,a.TileLayer=rr,a.Tooltip=No,a.Transformation=se,a.Util=Lt,a.VideoOverlay=Nl,a.bind=l,a.bounds=Ht,a.canvas=Ul,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=jt,a.latLngBounds=ce,a.layerGroup=Ud,a.map=Po,a.marker=Kd,a.point=Bt,a.polygon=Xd,a.polyline=Yd,a.popup=rf,a.rectangle=cf,a.setOptions=S,a.stamp=p,a.svg=Zl,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 Dx=qa.exports;const sn=Ix(Dx),zx="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=",Nx="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",Fx={className:"bg-map-asserted rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Gx={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:Fx,CollectionObject:Gx,Georeference:Ed,TypeMaterial:Vx},Symbol.toStringTag,{value:"Module"})),Hx={color:"rgb(var(--color-map-aggregate))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},Ux={color:"rgb(var(--color-map-asserted))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},Zx={color:"rgb(var(--color-map-collection-object))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},qx={color:"rgb(var(--color-map-type-material))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},Lc=Object.freeze(Object.defineProperty({__proto__:null,Aggregate:Hx,AssertedDistribution:Ux,CollectionObject:Zx,TypeMaterial:qx},Symbol.toStringTag,{value:"Module"})),wc=["TypeMaterial","CollectionObject","AssertedDistribution","Georeference","Aggregate"],kc={allowEditing:!1,allowRemoval:!1,allowCutting:!1,allowRotation:!1,draggable:!1};function Mc(t){const n=t.map(a=>a.type);return n.sort((a,s)=>wc.indexOf(a)-wc.indexOf(s)),n[0]}const Kx=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(kc),a.pm.disable(),a.bindPopup(c)},pointToLayer:(n,a)=>{const s=Mc(n.properties.base),c=$x[s]||Ed,i=t.marker(a,{icon:t.divIcon(c)});return i.pm.setOptions(kc),i},style:n=>{var s;const a=Mc((s=n.properties)==null?void 0:s.base);if(Lc[a])return Lc[a]}});var Wx={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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:Jx,map_tile_attribution:Yx,map_tiles:Xx}=Wx;function Qx(t,n){return Object.fromEntries((Xx||[{label:"tile",server:Jx,attribution:Yx}]).map(({server:s,attribution:c,label:i})=>[i,t.tileLayer(s,{...n,attribution:c})]))}var Cc={};(()=>{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(A,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=A,C}function l(A,F,O){if(O===void 0&&(O={}),!A)throw new Error("coordinates is required");if(!Array.isArray(A))throw new Error("coordinates must be an Array");if(A.length<2)throw new Error("coordinates must be at least 2 numbers long");if(!N(A[0])||!N(A[1]))throw new Error("coordinates must contain numbers");return i({type:"Point",coordinates:A},F,O)}function h(A,F,O){O===void 0&&(O={});for(var C=0,I=A;C=0))throw new Error("precision must be a positive number");var O=Math.pow(10,F||0);return Math.round(A*O)/O},c.radiansToLength=R,c.lengthToRadians=P,c.lengthToDegrees=function(A,F){return S(P(A,F))},c.bearingToAzimuth=function(A){var F=A%360;return F<0&&(F+=360),F},c.radiansToDegrees=S,c.degreesToRadians=function(A){return A%360*Math.PI/180},c.convertLength=function(A,F,O){if(F===void 0&&(F="kilometers"),O===void 0&&(O="kilometers"),!(A>=0))throw new Error("length must be a positive number");return R(P(A,F),O)},c.convertArea=function(A,F,O){if(F===void 0&&(F="meters"),O===void 0&&(O="kilometers"),!(A>=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 A/C*I},c.isNumber=N,c.isObject=function(A){return!!A&&A.constructor===Object},c.validateBBox=function(A){if(!A)throw new Error("bbox is required");if(!Array.isArray(A))throw new Error("bbox must be an Array");if(A.length!==4&&A.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");A.forEach(function(F){if(!N(F))throw new Error("bbox must only contain numbers")})},c.validateId=function(A){if(!A)throw new Error("id is required");if(["string","number"].indexOf(typeof A)===-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 A,F,O,C,I,V,rt,X,nt=0,ut=0,vt=P.type,ot=vt==="FeatureCollection",Lt=vt==="Feature",Dt=ot?P.features.length:1,Mt=0;MtV||ot>rt||Lt>X)return I=nt,V=A,rt=ot,X=Lt,void(O=0);var Dt=l.lineString([I,nt],N.properties);if(S(Dt,A,F,Lt,O)===!1)return!1;O++,I=nt})!==!1&&void 0}}})}function R(P,S){if(!P)throw new Error("geojson is required");v(P,function(N,A,F){if(N.geometry!==null){var O=N.geometry.type,C=N.geometry.coordinates;switch(O){case"LineString":if(S(N,A,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(R){var P=new l(R);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(A){if(A.type!=="Feature")throw new Error("invalid features");A.bbox=A.bbox?A.bbox:_(A),N.push(A)}):g(S,function(A){if(A.type!=="Feature")throw new Error("invalid features");A.bbox=A.bbox?A.bbox:_(A),N.push(A)}),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 R=-1,P=M==null?0:M.length;for(this.clear();++R{var l=i(7040),h=i(4125),p=i(2117),_=i(7518),g=i(4705);function v(M){var R=-1,P=M==null?0:M.length;for(this.clear();++R{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 R=-1,P=M==null?0:M.length;for(this.clear();++R{var l=i(8407),h=i(7465),p=i(3779),_=i(7599),g=i(4758),v=i(4309);function M(R){var P=this.__data__=new l(R);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(R,P){var S=p(R),N=!S&&h(R),A=!S&&!N&&_(R),F=!S&&!N&&!A&&v(R),O=S||N||A||F,C=O?l(R.length,String):[],I=C.length;for(var V in R)!P&&!M.call(R,V)||O&&(V=="length"||A&&(V=="offset"||V=="parent")||F&&(V=="buffer"||V=="byteLength"||V=="byteOffset")||g(V,I))||C.push(V);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,R=v.toString,P=M.hasOwnProperty,S=RegExp("^"+R.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 R in g)(R!="constructor"||!v&&_.call(g,R))&&M.push(R);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 R(P,S,N,A,F){P!==S&&p(S,function(O,C){if(F||(F=new l),g(O))_(P,S,C,N,R,A,F);else{var I=A?A(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),R=i(9246),P=i(4144),S=i(3560),N=i(3218),A=i(8630),F=i(6719),O=i(6390),C=i(9881);s.exports=function(I,V,rt,X,nt,ut,vt){var ot=O(I,rt),Lt=O(V,rt),Dt=vt.get(Lt);if(Dt)l(I,rt,Dt);else{var Mt=ut?ut(ot,Lt,rt+"",I,V,vt):void 0,yt=Mt===void 0;if(yt){var Rt=M(Lt),at=!Rt&&P(Lt),oe=!Rt&&!at&&F(Lt);Mt=Lt,Rt||at||oe?M(ot)?Mt=ot:R(ot)?Mt=_(ot):at?(yt=!1,Mt=h(Lt,!0)):oe?(yt=!1,Mt=p(Lt,!0)):Mt=[]:A(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(R){if(typeof R=="string")return R;if(p(R))return h(R,M)+"";if(_(R))return v?v.call(R):"";var P=R+"";return P=="0"&&1/R==-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 R=v.length,P=g?g(R):new v.constructor(R);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 R=-1,P=_.length;++R{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,R=M>1?g[M-1]:void 0,P=M>2?g[2]:void 0;for(R=p.length>3&&typeof R=="function"?(M--,R):void 0,P&&h(g[0],g[1],P)&&(R=M<3?void 0:R,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),R=v[g];try{v[g]=void 0;var P=!0}catch{}var S=_.call(v);return P&&(M?v[g]=R: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,R,P){for(var S=-1,N=(R=l(R,M)).length,A=!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 R=typeof v;return!!(R=="number"?h(M)&&p(v,M.length):R=="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,R=h(v.length-_,0),P=Array(R);++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,R,P,S){v.push(P?S.replace(p,"$1"):R||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,R=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)==R}},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],R=g.cache;if(R.has(M))return R.get(M);var P=p.apply(this,v);return g.cache=R.set(M,P)||R,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;j.right=b,j=b,b=b.right}}return j.right=b.left,$.left=b.right,b.left=E.right,b.right=E.left,b}function g(D,b,k,E){var j=new h(D,b);if(k===null)return j.left=j.right=null,j;var $=E(D,(k=_(D,k,E)).key);return $<0?(j.left=k.left,j.right=k,k.left=null):$>=0&&(j.right=k.right,j.left=k,k.right=null),j}function v(D,b,k){var E=null,j=null;if(b){var $=k((b=_(D,b,k)).key,D);$===0?(E=b.left,j=b.right):$<0?(j=b.right,b.right=null,E=b):(E=b.left,b.left=null,j=b)}return{left:E,right:j}}function M(D,b,k){return b===null?D:(D===null||((b=_(D.key,b,k)).left=D),b)}function R(D,b,k,E,j){if(D){E(b+(k?"└── ":"├── ")+j(D)+` +`);var $=b+(k?" ":"│ ");D.left&&R(D.left,$,!1,E,j),D.right&&R(D.right,$,!0,E,j)}}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 j=this._comparator,$=_(b,this._root,j),J=j(b,$.key);return J===0?this._root=$:(J<0?(E.left=$.left,E.right=$,$.left=null):J>0&&(E.right=$.right,E.left=$,$.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 j;return k===null?null:E(b,(k=_(b,k,E)).key)===0?(k.left===null?j=k.right:(j=_(b,k.left,E)).right=k.right,this._size--,j):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 j=E(b,k.key);if(j===0)return k;k=j<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 j=E(b,k.key);if(j===0)return!0;k=j<0?k.left:k.right}return!1},D.prototype.forEach=function(b,k){for(var E=this._root,j=[],$=!1;!$;)E!==null?(j.push(E),E=E.left):j.length!==0?(E=j.pop(),b.call(k,E),E=E.right):$=!0;return this},D.prototype.range=function(b,k,E,j){for(var $=[],J=this._comparator,it=this._root;$.length!==0||it;)if(it)$.push(it),it=it.left;else{if(J((it=$.pop()).key,k)>0)break;if(J(it.key,b)>=0&&E.call(j,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,j=0,$=[];!E;)if(k)$.push(k),k=k.left;else if($.length>0){if(k=$.pop(),j===b)return k;j++,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 j=this._comparator;k;){var $=j(b.key,k.key);if($===0)break;$<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 j=this._comparator;k;){var $=j(b.key,k.key);if($===0)break;$<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 A(this._root)},D.prototype.load=function(b,k,E){k===void 0&&(k=[]),E===void 0&&(E=!1);var j=b.length,$=this._comparator;if(E&&C(b,k,0,j-1,$),this._root===null)this._root=S(b,k,0,j),this._size=j;else{var J=O(this.toList(),N(b,k),$);j=this._size+j,this._root=F({head:J},0,j)}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 R(this._root,"",!0,function(E){return k.push(E)},b),k.join("")},D.prototype.update=function(b,k,E){var j=this._comparator,$=v(b,this._root,j),J=$.left,it=$.right;j(b,k)<0?it=g(k,E,it,j):J=g(k,E,J,j),this._root=M(J,it,j)},D.prototype.split=function(b){return v(b,this._root,this._comparator)},D}();function S(D,b,k,E){var j=E-k;if(j>0){var $=k+Math.floor(j/2),J=D[$],it=b[$],_t=new h(J,it);return _t.left=S(D,b,k,$),_t.right=S(D,b,$+1,E),_t}return null}function N(D,b){for(var k=new h(null,null),E=k,j=0;j0?b=(b=$=$.next=k.pop()).right:E=!0;return $.next=null,j.next}function F(D,b,k){var E=k-b;if(E>0){var j=b+Math.floor(E/2),$=F(D,b,j),J=D.head;return J.left=$,D.head=D.head.next,J.right=F(D,j+1,k),J}return null}function O(D,b,k){for(var E=new h(null,null),j=E,$=D,J=b;$!==null&&J!==null;)k($.key,J.key)<0?(j.next=$,$=$.next):(j.next=J,J=J.next),j=j.next;return $!==null?j.next=$:J!==null&&(j.next=J),E.next}function C(D,b,k,E,j){if(!(k>=E)){for(var $=D[k+E>>1],J=k-1,it=E+1;;){do J++;while(j(D[J],$)<0);do it--;while(j(D[it],$)>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,j),C(D,b,it+1,E,j)}}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},V=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,j=k.length;E=0&&Vt>=0?OtFt?-1:0:_t<0&&Vt<0?OtFt?1:0:Vt<_t?-1:Vt>_t?1:0}}}]),D}(),Me=0,ce=function(){function D(b,k,E,j){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=j}return l(D,null,[{key:"compare",value:function(b,k){var E=b.leftSE.point.x,j=k.leftSE.point.x,$=b.rightSE.point.x,J=k.rightSE.point.x;if(Jit&&_t>Ot)return-1;var Vt=b.comparePoint(k.leftSE.point);if(Vt<0)return 1;if(Vt>0)return-1;var Ft=k.comparePoint(b.rightSE.point);return Ft!==0?Ft:-1}if(E>j){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($J){var Be=b.comparePoint(k.rightSE.point);if(Be<0)return 1;if(Be>0)return-1}if($!==J){var fe=Ot-it,be=$-E,De=Nt-_t,ze=J-j;if(fe>be&&Deze)return-1}return $>J?1:$Nt?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,j=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&&(j.checkForConsuming(),$.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 $=k;k=E,E=$}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],Vt=k.rings.indexOf(Ot);Vt===-1?(k.rings.push(Ot),k.windings.push(Nt)):k.windings[Vt]+=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,j=this._afterState.multiPolys,$=0,J=this.rings.length;$0))throw new Error("Tried to create degenerate segment at [".concat(b.x,", ").concat(b.y,"]"));j=k,$=b,J=-1}return new D(new Ht(j,!0),new Ht($,!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 j=ot.round(b[0][0],b[0][1]);this.bbox={ll:{x:j.x,y:j.y},ur:{x:j.x,y:j.y}};for(var $=j,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),$=_t)}j.x===$.x&&j.y===$.y||this.segments.push(ce.fromRing($,j,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=$.bbox.ur.x),$.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=$.bbox.ur.y),this.interiorRings.push($)}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=$.bbox.ur.x),$.bbox.ur.y>this.bbox.ur.y&&(this.bbox.ur.y=$.bbox.ur.y),this.polys.push($)}this.isSubject=k}return l(D,[{key:"getSweepEvents",value:function(){for(var b=[],k=0,E=this.polys.length;k0&&(b=j)}for(var $=b.segment.prevInResult(),J=$?$.prevInResult():null;;){if(!$)return null;if(!J)return $.ringOut;if(J.ringOut!==$.ringOut)return J.ringOut.enclosingRing()!==$.ringOut?$.ringOut:$.ringOut.enclosingRing();$=J.prevInResult(),J=$?$.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 j=b.isLeft?this.tree.insert(k):this.tree.find(k);if(!j)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 $=j,J=j,it=void 0,_t=void 0;it===void 0;)($=this.tree.prev($))===null?it=null:$.key.consumedBy===void 0&&(it=$.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 Vt=this._splitSafely(it,Nt),Ft=0,me=Vt.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 ze=new se(le),wn=le.size,Ge=le.pop();Ge;){var Pe=Ge.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(ze.segments.length>G)throw new Error("Infinite loop when passing sweep line over endpoints (too many sweep line segments). Please file a bug report.");for(var kn=ze.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,Rt=Math.log(Mt),at=.5*Math.exp(2*Rt/3),oe=.5*Math.sqrt(Rt*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 Bt=ut[vt],Xt=ot,Ht=Lt;for(i(ut,ot,vt),Dt(ut[Lt],Bt)>0&&i(ut,ot,Lt);Xt0;)Ht--}Dt(ut[ot],Bt)===0?i(ut,ot,Ht):i(ut,++Ht,Lt),Ht<=vt&&(ot=Ht+1),vt<=Ht&&(Lt=Ht-1)}})(C,I,V||0,rt||C.length-1,X||l)}function i(C,I,V){var rt=C[I];C[I]=C[V],C[V]=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,V){if(!V)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,V,rt,X){for(var nt=[I,V];nt.length;)if(!((V=nt.pop())-(I=nt.pop())<=rt)){var ut=I+Math.ceil((V-I)/rt/2)*rt;c(C,ut,I,V,X),nt.push(I,ut,ut,V)}}return h.prototype.all=function(){return this._all(this.data,[])},h.prototype.search=function(C){var I=this.data,V=[];if(!A(C,I))return V;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 V=C[I],rt=V.children.length,X=this._minEntries;this._chooseSplitAxis(V,X,rt);var nt=this._chooseSplitIndex(V,X,rt),ut=F(V.children.splice(nt,V.children.length-nt));ut.height=V.height,ut.leaf=V.leaf,_(V,this.toBBox),_(ut,this.toBBox),I?C[I-1].children.push(ut):this._splitRoot(V,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,V){for(var rt,X,nt,ut,vt,ot,Lt,Dt=1/0,Mt=1/0,yt=I;yt<=V-I;yt++){var Rt=g(C,0,yt,this.toBBox),at=g(C,yt,V,this.toBBox),oe=(X=Rt,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)),Bt=P(Rt)+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,V){for(var rt=V;rt>=0;rt--)v(I[rt],C)},h.prototype._condense=function(C){for(var I=C.length-1,V=void 0;I>=0;I--)C[I].children.length===0?I>0?(V=C[I-1].children).splice(V.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"}}'),R=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:R,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 A(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}},V={_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",B=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,B)},_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",B=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{};this.__fire(this.map,"pm:langchange",{oldLang:r,activeLang:u,fallback:f,translations:y},w,B)},_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),Rt=a.n(yt);function at(r){var u=L.PM.activeLang;return Rt()(N,u)||(u="en"),Mt()(N[u],r)}function oe(r){for(var u=0;u1e-12;)y=Math.cos(2*Je+cn),jr=cn,cn=ht/(U*Po)+tn*(w=Math.sin(cn))*(y+tn/4*((B=Math.cos(cn))*(2*y*y-1)-tn/6*y*(4*w*w-3)*(4*y*y-3)));var So=Te*w-xe*B*ee,Nr=Math.atan2(Te*B+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*B-Te*w*ee)-(1-Fr)*W*Ye*(cn+Fr*w*(y+Fr*B*(2*y*y-1))))/kt,Zs=180*Nr/kt;return L.latLng(Eo,Zs)}function Ht(r,u,f,y){for(var w,B,z=!(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),B=w.length-1,z={};B>=0;)y=w[B],z[y.toLowerCase()]=u[y],B-=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 z?z[Q]:Number.MAX_SAFE_INTEGER,kt=dt in z?z[dt]:Number.MAX_SAFE_INTEGER,Pt=0;return htkt&&(Pt=1),f==="desc"?-1*Pt:Pt}}function jt(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,B,z=(w=u.options.crs)===null||w===void 0||(B=w.projection)===null||B===void 0?void 0:B.MAX_LATITUDE;r.lat=Math.max(Math.min(z,r.lat),-z)}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,V,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(B){y.indexOf(B)===-1&&u.map.pm.Draw[B].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(B){u.map.pm.Draw[B].setOptions(f)}),y&&this.map.pm.Draw.CircleMarker.enable(),w&&this.map.pm.Draw.Circle.enable(),L.PM.Utils.findLayers(this.map).forEach(function(B){B.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}}),zt=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 B=L.DomUtil.create("div","leaflet-pm-actions-container ".concat(f),y),z=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)}}};z.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),B);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"]},B={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"]},z={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(z)),this._addButton("drawPolygon",new L.Control.PMButton(f)),this._addButton("drawCircle",new L.Control.PMButton(w)),this._addButton("drawCircleMarker",new L.Control.PMButton(B)),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 B=Object.keys(y).filter(function(W){return!y[W]._button.tool});B.forEach(function(W){f.indexOf(W)===-1&&(w[W]=y[W])});var z=Object.keys(y).filter(function(W){return y[W]._button.tool==="edit"});z.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=[],B={};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&&(B.distance===void 0||W.distance<=B.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(z.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=z._getDistanceToSegment(f,r,Ut,ee);(w===void 0||Le1&&arguments[1]!==void 0?arguments[1]:1;r=r.sort(function(z,q){return z._leaflet_id-q._leaflet_id});var f=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],y=this._map.pm.globalOptions.snappingOrder||[],w=0,B={};return y.concat(f).forEach(function(z){B[z]||(w+=1,B[z]=w)}),r.sort(ae("instanceofShape",B)),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,B=this._getDistance(u,f,w),z=this._getDistance(u,y,w),q=B1&&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,j={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 $(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 $({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 $({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=j[u];if(!f)throw new Error(u+" units is invalid");return r*f}function Nt(r,u){u===void 0&&(u="kilometers");var f=j[u];if(!f)throw new Error(u+" units is invalid");return r/f}function Vt(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(B){for(var z=0;z=0&&W<=1&&(ht.onLine1=!0),Q>=0&&Q<=1&&(ht.onLine2=!0),!(!ht.onLine1||!ht.onLine2)&&[ht.x,ht.y])}function Be(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,B,z,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],B=u.indexOf(w.getLatLng());u=u.slice(0,B+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(B){B.equals(u,1e-8)||B.equals(f,1e-8)||w.push(B)}),w.forEach(function(B,z){try{r._styleMarkers[z].setLatLng(B)}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(),ze({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,ze({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=ze(ze({},this.options.pathOptions),{},{radius:f}),B=new this._BaseCircleClass(u,w);this._setPane(B,"layerPane"),this._finishLayer(B),B.addTo(this._map.pm._getContainingLayer()),B.pm&&B.pm._updateHiddenPolyCircle(),this._fireCreate(B),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 $n(r,function(f){(function(y,w){var B=[],z=y.geometry;if(z!==null){switch(z.type){case"Polygon":B=Pe(z);break;case"LineString":B=[Pe(z)]}B.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],B=f[0][1],z=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)*(z-w)-(Q-U)*(q-B),kt=(Q-U)*(B-W)-(dt-W)*(w-U),Pt=(z-w)*(B-W)-(q-B)*(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*(z-w),B+Ut*(q-B)]):null}const Hn=function(r,u){var f={},y=[];if(r.type==="LineString"&&(r=$(r)),u.type==="LineString"&&(u=$(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 B=Mr();return B.load(Ci(u)),fn(Ci(r),function(z){fn(B.search(z),function(q){var U=xo(z,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=Ge(r),w=Ge(u),B=Ft(w[1]-y[1]),z=Ft(w[0]-y[0]),q=Ft(y[1]),U=Ft(w[1]),W=Math.pow(Math.sin(B/2),2)+Math.pow(Math.sin(z/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 B=(f+w)/2;return[u,B-(y-u)/2,y,B+(y-u)/2]}var z=(u+y)/2;return[z-(w-f)/2,f,z+(w-f)/2,w]};function Gt(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 B=Math.pow(10,f);return Mn(r,function(z){(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 B=Sr(w,r).properties.dist;B=ht[0]&&kt[3]>=ht[1]}(y,z)===!1)return!1;B==="Polygon"&&(q=[q]);for(var U=!1,W=0;Wr[1]!=W>r[1]&&r[0]<(U-z)*(r[1]-q)/(W-q)+z&&(y=!y)}return y}function ko(r,u,f,y,w){var B=f[0],z=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<=B&&B0?U<=z&&z=Math.abs(ht)?dt>0?q0?U=Math.abs(ht)?dt>0?q<=B&&B<=W:W<=B&&B<=q:ht>0?U<=z&&z<=Q:Q<=z&&z<=U}const Pi=function(r,u,f){f===void 0&&(f={});for(var y=Ge(r),w=Pe(u),B=0;B"u"?null:f.epsilon))return!0}return!1};function qi(r,u){var f=Qe(r),y=Qe(u),w=f.type,B=y.type,z=f.coordinates,q=y.coordinates;switch(w){case"Point":if(B==="Point")return Rr(z,q);throw new Error("feature2 "+B+" geometry not supported");case"MultiPoint":switch(B){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(B){return ii({type:"LineString",coordinates:B})}(w))}):y.push(r),y}function Ki(r){var u=[];return r.eachLayer(function(f){u.push(Br(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 B,z,q=[],U=!0,W=!1;try{for(w=w.call(f);!(U=(B=w.next()).done)&&(q.push(B.value),!y||q.length!==y);U=!0);}catch(Q){W=!0,z=Q}finally{try{U||w.return==null||w.return()}finally{if(W)throw z}}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 B=!!Hn(r.toGeoJSON(15),w.toGeoJSON(15)).features.length>0;return B||w instanceof L.Polyline&&!(w instanceof L.Polygon)?B:(z=r.toGeoJSON(15),q=w.toGeoJSON(15),U=An(z),W=An(q),!((Q=Co().intersection(U.coordinates,W.coordinates)).length===0||!(Q.length===1?Ar(Q[0]):ri(Q))))}catch{return w instanceof L.Polygon&&console.error("You can't cut polygons with self-intersections"),!1}var z,q,U,W,Q}).forEach(function(w){var B;if(w instanceof L.Polygon){var z=(B=L.polygon(w.getLatLngs())).getLatLngs();y.forEach(function(ht){if(ht&&ht.snapInfo){var kt=ht.latlng,Pt=u._calcClosestLayer(kt,[B]);if(Pt&&Pt.segment&&Pt.distance1?Mt()(z,xe):z).splice(Te,0,kt)}}}})}else B=w;var q=u._cutLayer(r,B),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,B,z,q,U=L.geoJSON();if(u instanceof L.Polygon)y=u.toGeoJSON(15),w=r.toGeoJSON(15),B=An(y),z=An(w),f=(q=Co().difference(B.coordinates,z.coordinates)).length===0?null:q.length===1?Ar(q[0]):ri(q);else{var W=Se(u);W.forEach(function(Q){var dt=Vs(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 B=this._createTextIcon(this.textArea),z=new L.Marker(f,{textMarker:!0,_textMarkerOverPM:!0,icon:B});if(this._setPane(z,"markerPane"),this._finishLayer(z),z.pm||(z.options.draggable=!1),z.addTo(this._map.pm._getContainingLayer()),z.pm){var q,U,W,Q,dt;z.pm.textArea=this.textArea,L.setOptions(z.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;z.pm._createTextMarker(ht),(dt=this.options.textOptions)!==null&&dt!==void 0&&dt.text&&z.pm.setText(this.options.textOptions.text)}this._fireCreate(z),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 Ae={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 B=w([this._layer.getLatLng()]);this._layer.setLatLng(B[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.CircleMarker||this._layer instanceof L.Marker){var z=this._layer.getLatLng();this._layer._snapped&&(z=this._layer._orgLatLng);var q=w([z]);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(z){z instanceof L.LayerGroup&&(y=y.concat(z.pm.getLayers(!0)))});else if(this.options.syncLayersOnDrag===!0&&this._parentLayerGroup)for(var w in this._parentLayerGroup){var B=this._parentLayerGroup[w];B.pm&&(y=B.pm.getLayers(!0))}return L.Util.isArray(y)&&y.length>0&&(y=y.filter(function(z){return!!z.pm}).filter(function(z){return!!z.pm.options.draggable})).forEach(function(z){z!==f._layer&&z.pm[r]&&(z._snapped=!1,z.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(B){w.push(Wi(B,u,f))}),w}return r instanceof L.LatLng?function(B,z,q,U){return q.unproject(z.transform(q.project(B,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=jt(this._layer),this._startAngle=this.getAngle();var u=jt(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 B=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()(B._markers,dt);Q.forEach(function(Pt,Ut){kt[Ut].setLatLng(Pt)})}})(this._layer.getLatLngs());var z=jt(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,z),this._fireRotation(this._map,q,z),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=jt(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._rotationLayer.pm._rotateOrgLatLng=jt(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 B=Cn(w,f);return this._matrix=y.clone().rotate(r,B).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=jt(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:[Ae,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(B){w.push(B),B instanceof L.LayerGroup&&y.indexOf(B._leaflet_id)===-1&&(y.push(B._leaflet_id),w=w.concat(B.pm.getLayers(!0,!0,!0,y)))}):w=this._layerGroup.getLayers(),f&&(w=w.filter(function(B){return!(B instanceof L.LayerGroup)})),u&&(w=(w=(w=w.filter(function(B){return!!B.pm})).filter(function(B){return!B._pmTempLayer})).filter(function(B){return!L.PM.optIn&&!B.options.pmIgnore||L.PM.optIn&&B.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=z.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=jt(this._layer,this._layer.getLatLngs()));var f=this._layer.getLatLngs(),y=L.PM.Utils.findDeepMarkerIndex(this._markers,u),w=y.indexPath,B=y.index,z=y.parentPath;if(w){var q=w.length>1?Mt()(f,z):f,U=w.length>1?Mt()(this._markers,z):this._markers;if(this.options.removeLayerBelowMinVertexCount||!(q.length<=2||this.isPolygon()&&q.length<=3)){q.splice(B,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),z.length>1&&w.length>1&&(f=Bt(f)),this._layer.setLatLngs(f),this._initMarkers(),W=!0),oe(f)||this._layer.remove(),f=Bt(f),this._layer.setLatLngs(f),this._markers=Bt(this._markers),!W&&(U=w.length>1?Mt()(this._markers,z):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=(B+1)%U.length,dt=(B+(U.length-1))%U.length):(dt=B-1<0?void 0:B-1,Q=B+1>=U.length?void 0:B+1),Q!==dt){var ht=U[dt],kt=U[Q];this.options.hideMiddleMarkers!==!0&&this._createMiddleMarker(ht,kt)}U.splice(B,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,B=y.index,z=y.parentPath;(w.length>1?Mt()(u,z):u).splice(B,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,B=f.length>1?Mt()(this._markers,w):this._markers,z=(y+1)%B.length;return{prevMarker:B[(y+(B.length-1))%B.length],nextMarker:B[z]}},_checkMarkerAllowedToDrag:function(r){var u=this._getNeighborMarkers(r),f=u.prevMarker,y=u.nextMarker,w=L.polyline([f.getLatLng(),r.getLatLng()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),z=Hn(this._layer.toGeoJSON(15),w.toGeoJSON(15)).features.length,q=Hn(this._layer.toGeoJSON(15),B.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()&&(z+=1),!(z<=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=jt(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,B=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 z=y.length>1?Mt()(this._markers,B):this._markers,q=(w+1)%z.length,U=(w+(z.length-1))%z.length,W=u.getLatLng(),Q=z[U].getLatLng(),dt=z[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()]),B=L.polyline([r.getLatLng(),y.getLatLng()]),z=Hn(this._layer.toGeoJSON(15),w.toGeoJSON(15)).features.length,q=Hn(this._layer.toGeoJSON(15),B.toGeoJSON(15)).features.length;return!(z<=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,B){var z=r._cornerMarkers.find(function(q){return q._index===B});z&&z.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 Ri=function(r,u,f,y,w,B){this._matrix=[r,u,f,y,w,B]};Ri.init=function(){return new L.PM.Matrix(1,0,0,1,0,0)},Ri.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,B){var z,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,B],[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){z=0;for(var kt=0;kt<3;kt+=1)z+=W[dt][kt]*Q[kt][ht];q[dt][ht]=z}return this._matrix=[q[0][0],q[1][0],q[0][1],q[1][1],q[0][2],q[1][2]],this}};const Xi=Ri;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(),B=Ht(y,w,u,0,f),z=[],q=0;q3&&arguments[3]!==void 0&&arguments[3];r.fire(u,f,y);var w=this.getAllParentGroups(r),B=w.groups;B.forEach(function(z){z.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 B in w._eventParents)if(u.indexOf(B)===-1){u.push(B);var z=w._eventParents[B];f.push(z),y(z)}}(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 z(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(z(Q))}};r.some(w([]));var B={};return f&&(B={indexPath:f,index:f[f.length-1],parentPath:f.slice(0,f.length-1)}),B},findDeepMarkerIndex:function(r,u){var f;r.some(function w(B){return function(z,q){var U=B.concat(q);return z._leaflet_id===u._leaflet_id?(f=U,!0):Array.isArray(z)&&z.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),B=Cn(y,u),z=f*Math.PI/180,q=Math.cos(z),U=Math.sin(z),W=(B.x-w.x)*q+(B.y-w.y)*U,Q=(B.y-w.y)*q-(B.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,B),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 zr=Dr;L.PM=L.PM||{version:"2.15.0",Map:Tt,Toolbar:lt,Draw:k,Edit:Ce,Utils:zr,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 Pc={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,R=i.length,P=0,S=!0;if(this._map){var N=new Date().getTime(),A=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),2R._zoom;p--)S=new this._markerCluster(this,p,S),_[p].addObject(S,this._map.project(M.getLatLng(),p));return R._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=A).lat),(p===!1||A.lat_)&&(_=(R=A).lng),(g===!1||A.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:zx,iconUrl:jx,shadowUrl:Nx});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(),A(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=Qx(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&&A(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",V=>{c("geojson",M()),c("add:layer",P(V.layer))}),h.on("pm:edit",V=>{c("geojson",M()),c("edit:layer",P(V.layer))}),i.on("pm:drawstart",V=>{R(),c("draw:start",V)}),i.on("zoom",V=>c("zoom:change",V)),i.on("zoomstart",V=>c("zoom:start",V))),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 R(){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 A(O){if(O){sn.geoJSON(O,{...Kx(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:R,getMapObject:F,resizeMap:S}),(O,C)=>(H(),tt("div",{ref_key:"leafletMap",ref:_,style:Fn({width:s.width,height:s.height})},null,4))}};function eL(t){nL(t,Object.assign({"/src/components/Map/VMap.client.vue":tL}))}function nL(t,n){Object.entries(n).forEach(([s,c])=>{const i=s.split("/").pop().replace(/\.client.\w+$/,"");t.component(i,c)})}const iL=["innerHTML"],rL={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"},oL=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),sL=[oL],aL={key:1,class:"inline h-4 w-1"},lL=Y("circle",{cy:"calc(100% - 5px)",cx:"2.5",r:"1",fill:"currentColor"},null,-1),uL=[lL],cL=["innerHTML"],hL={__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,iL),(H(!0),tt($t,null,ve(a.value.host,(l,h)=>(H(),tt($t,null,[h===0?(H(),tt("svg",rL,sL)):(H(),tt("svg",aL,uL)),Y("span",{innerHTML:l},null,8,cL)],64))),256))]))}},dL={};function fL(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 pL=ie(dL,[["render",fL]]),_L={},mL={viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"green"},gL=o_('',1),yL=[gL];function vL(t,n){return H(),tt("svg",mL,yL)}const bL=ie(_L,[["render",vL]]),xL={class:"autocomplete md:block md:mr-0 mr-3 relative w-fit"},LL={class:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},wL=["placeholder"],kL={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"},ML=["onClick"],CL=["innerHTML"],PL=500,SL={__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})},PL):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",xL,[Y("div",LL,[st(M,{class:"w-4 h-4 text-gray-500"})]),mo(Y("input",{"onUpdate:modelValue":v[0]||(v[0]=R=>c.value=R),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,wL),[[F_,c.value]]),l.value?(H(),Et(bL,{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",kL,[(H(!0),tt($t,null,ve(i.value,R=>(H(),tt("li",{key:R.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=>_(R)},[Y("span",{innerHTML:R[t.label]},null,8,CL)],8,ML))),128))])):It("",!0)])}}},Td=ie(SL,[["__scopeId","data-v-bd0dac97"]]),EL={__name:"AutocompleteOtu.global",props:{autofocus:{type:Boolean,default:!1}},setup(t){const n=As(),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"]))}},TL=["title"],OL={__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,TL)}}},RL={__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))}},BL={},AL={class:"border-1 card border-base-muted bg-base-foreground print:shadow-none print:border-0 rounded"};function IL(t,n){return H(),tt("div",AL,[ke(t.$slots,"default")])}const DL=ie(BL,[["render",IL]]),zL={},jL={class:"p-4 pl-5 pr-5"};function NL(t,n){return H(),tt("div",jL,[ke(t.$slots,"default")])}const FL=ie(zL,[["render",NL]]),GL={},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 HL=ie(GL,[["render",$L]]),UL={__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})}}},ZL={class:"relative inline"},qL=["onClick"],KL={__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",ZL,[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($t,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,qL))),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 WL=["src","alt"],JL={class:"bg-black bg-opacity-25 absolute h-full w-full"},YL={key:0,class:"z-10 text-white text-sm drop-shadow absolute bottom-2 right-0 px-4"},XL=["innerHTML"],QL={__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,WL)):It("",!0)]),_:1}),Y("div",JL,[ke(g.$slots,"default",{},void 0,!0)]),i.value.objectId?(H(),tt("span",YL,[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,XL))])):It("",!0)],4)}}},tw=ie(QL,[["__scopeId","data-v-0e946aee"]]),ew=["title"],nw=["alt","src"],iw={__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,nw)],8,ew))}},rw={class:"flex flex-row overflow-x-auto print:flex-wrap gap-1.5"},Rd={__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",rw,[(H(!0),tt($t,null,ve(t.images,(i,l)=>{var h;return H(),tt("div",{key:i.id},[st(iw,{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))]))}},ow={class:"h-80 max-h-80 flex items-center justify-center"},sw=["textContent"],aw=["src","alt"],lw={__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 R;const v=gt("VSpinner"),M=gt("ClientOnly");return H(),tt("div",ow,[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,sw)):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:(R=t.image.depictions)==null?void 0:R.map(P=>P.label).join(";"),onClick:g[0]||(g[0]=P=>s("open:viewer"))},null,8,aw),[[Os,!l.value]])])}}},uw={class:"flex flex-col"},cw={class:"flex justify-center border print:hidden bg-base-0 border-base-muted"},hw={__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($t,null,[Y("div",uw,[Y("div",cw,[st(lw,{image:c.value,"onOpen:viewer":p[0]||(p[0]=()=>a.value=!0)},null,8,["image"])]),st(Rd,{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)}}},dw=["src"],fw=["innerHTML"],pw={__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($t,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,dw),t.label?(H(),tt("span",{key:0,class:"text-sm",innerHTML:h.labelAttribution},null,8,fw)):It("",!0)]),_:2},1032,["to"]))),128))],6))}},_w={},mw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},gw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 9l-7 7-7-7"},null,-1),yw=[gw];function vw(t,n){return H(),tt("svg",mw,yw)}const bw=ie(_w,[["render",vw]]),xw={},Lw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},ww=Y("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19l-7-7 7-7"},null,-1),kw=[ww];function Mw(t,n){return H(),tt("svg",Lw,kw)}const Cw=ie(xw,[["render",Mw]]),Pw={},Sw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Ew=Y("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 5l7 7-7 7"},null,-1),Tw=[Ew];function Ow(t,n){return H(),tt("svg",Sw,Tw)}const Rw=ie(Pw,[["render",Ow]]),Bw={},Aw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Iw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1),Dw=[Iw];function zw(t,n){return H(),tt("svg",Aw,Dw)}const jw=ie(Bw,[["render",zw]]),Nw={},Fw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Gw=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=[Gw];function $w(t,n){return H(),tt("svg",Fw,Vw)}const Hw=ie(Nw,[["render",$w]]),Uw={},Zw={xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},qw=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"},null,-1),Kw=[qw];function Ww(t,n){return H(),tt("svg",Zw,Kw)}const Jw=ie(Uw,[["render",Ww]]),Yw={},Xw={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Qw=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),tk=[Qw];function ek(t,n){return H(),tt("svg",Xw,tk)}const nk=ie(Yw,[["render",ek]]),ik={},rk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},ok=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),sk=[ok];function ak(t,n){return H(),tt("svg",rk,sk)}const lk=ie(ik,[["render",ak]]),uk={},ck={viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true"},hk=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),dk=[hk];function fk(t,n){return H(),tt("svg",ck,dk)}const pk=ie(uk,[["render",fk]]),_k={},mk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},gk=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"},null,-1),yk=[gk];function vk(t,n){return H(),tt("svg",mk,yk)}const bk=ie(_k,[["render",vk]]),xk={},Lk={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24"},wk=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),kk=[wk];function Mk(t,n){return H(),tt("svg",Lk,kk)}const Ck=ie(xk,[["render",Mk]]),Pk={},Sk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Ek=Y("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1),Tk=[Ek];function Ok(t,n){return H(),tt("svg",Sk,Tk)}const Rk=ie(Pk,[["render",Ok]]),Bk={},Ak={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Ik=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),Dk=[Ik];function zk(t,n){return H(),tt("svg",Ak,Dk)}const jk=ie(Bk,[["render",zk]]),Nk={},Fk={xmlns:"http://www.w3.org/2000/svg",class:"text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"},Gk=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=[Gk];function $k(t,n){return H(),tt("svg",Fk,Vk)}const Hk=ie(Nk,[["render",$k]]),Uk={},Zk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},qk=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),Kk=[qk];function Wk(t,n){return H(),tt("svg",Zk,Kk)}const Jk=ie(Uk,[["render",Wk]]),Yk={},Xk={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"},Qk=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),t1=[Qk];function e1(t,n){return H(),tt("svg",Xk,t1)}const n1=ie(Yk,[["render",e1]]),i1={__name:"ImageAttribution",props:{attribution:{type:Object,default:()=>({})}},setup(t){return(n,a)=>(H(),tt("div",null,[Y("p",null,Jt(t.attribution.label),1)]))}},r1={__name:"ImageDepictions",props:{depictions:{type:Array,default:()=>[]}},setup(t){return(n,a)=>(H(),tt("div",null,[(H(!0),tt($t,null,ve(t.depictions,s=>(H(),tt("div",{key:s.id},[Y("p",null,Jt(s.label),1)]))),128))]))}},o1=["innerHTML"],s1={__name:"ImageSource",props:{source:{type:Object,default:()=>({})}},setup(t){return(n,a)=>(H(),tt("div",null,[Y("p",{innerHTML:t.source.label},null,8,o1)]))}},a1={class:"p-2 text-black dark:text-white opacity-50"},l1={__name:"ImageViewerCounter",props:{currentImage:{type:Number,required:!0},totalImages:{type:Number,required:!0}},setup(t){return(n,a)=>(H(),tt("span",a1,Jt(t.currentImage+1)+"/"+Jt(t.totalImages),1))}},u1={},c1={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Next image"};function h1(t,n){const a=gt("IconArrowRight");return H(),tt("button",c1,[st(a,{class:"h-8 w-8"})])}const d1=ie(u1,[["render",h1]]),f1={},p1={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Previous image"};function _1(t,n){const a=gt("IconArrowLeft");return H(),tt("button",p1,[st(a,{class:"h-8 w-8"})])}const m1=ie(f1,[["render",_1]]),g1={},y1={class:"p-2 box-border flex justify-between"};function v1(t,n){return H(),tt("div",y1,[Y("div",null,[ke(t.$slots,"default")]),Y("div",null,[ke(t.$slots,"right")])])}const b1=ie(g1,[["render",v1]]),x1={},L1={type:"button",class:"p-2 cursor-pointer opacity-50 text-base-content"};function w1(t,n){const a=gt("IconClose");return H(),tt("button",L1,[st(a)])}const k1=ie(x1,[["render",w1]]),M1={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"},C1={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"},P1=["textContent"],S1=["alt","src"],E1={class:"bottom-0 fixed max-w-full w-full"},T1={class:"text-base-content text-sm attributions p-6 align-middle flex justify-between flex-col text-center"},O1={class:"flex justify-center"},R1={__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 R=gt("VSpinner");return H(),tt("div",M1,[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",C1,[l.value?(H(),Et(R,{key:0})):It("",!0),h.value?(H(),tt("div",{key:1,class:"flex flex-col justify-center",textContent:Jt(h.value)},null,8,P1)):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,S1),[[Os,!h.value]]),t.next?(H(),Et(d1,{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(m1,{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",E1,[Y("div",T1,[st(r1,{class:"my-auto",depictions:p.value.depictions},null,8,["depictions"]),st(i1,{class:"my-auto",attribution:p.value.attribution},null,8,["attribution"]),st(s1,{class:"my-auto",source:p.value.source},null,8,["source"])]),Y("div",O1,[st(Rd,{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(b1,{class:"w-full absolute top-0 h-12 left-0 items-center"},{right:mt(()=>[st(k1,{onClick:M[6]||(M[6]=N=>s("close"))})]),default:mt(()=>[st(l1,{"current-image":t.index,"total-images":t.images.length},null,8,["current-image","total-images"])]),_:1})])}}},B1="!container mx-auto p-4 sm:px-0 prose dark:prose-invert box-border",A1={__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]||B1);return(c,i)=>(H(),Et(Lr(t.tag),{class:We(s.value)},{default:mt(()=>[ke(c.$slots,"default")]),_:3},8,["class"]))}},I1={class:"w-full p-4 md:p-4 flex flex-row box-border justify-between items-center"},D1=Y("span",null,null,-1),z1={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",I1,[ke(c.$slots,"header",{},()=>[D1]),st(l,{class:"w-6 h-6 cursor-pointer opacity-50",onClick:i[0]||(i[0]=()=>a("close"))})]),Y("div",z1,[ke(c.$slots,"default")]),Y("div",null,[ke(c.$slots,"footer")])])],32)}}},N1={"aria-disabled":"false","aria-label":"Pagination",class:"flex flex-row text-sm"},F1=["disabled"],G1={role:"presentation",class:"page-item"},V1=["disabled"],$1={key:0,class:"border border-base-border px-2 py-1.5"},H1={key:0,class:"page-item"},U1=["disabled","onClick"],Z1={key:1,class:"border border-base-border px-2 py-1.5"},q1={class:"page-item"},K1=["disabled"],W1={role:"presentation"},J1=["disabled"],Y1={__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",N1,[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,F1)]),Y("li",G1,[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($t,null,ve(c.value,g=>(H(),tt($t,{key:g},[gi.value=g},Jt(g),11,U1)])):It("",!0)],64))),128)),c.value-t.modelValue>=t.rangePages?(H(),tt("li",Z1," ... ")):It("",!0),Y("li",q1,[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,K1)]),Y("li",W1,[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,J1)])]))}},X1={__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($t,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",Q1))}},eM={class:"inline-flex items-center text-sm"},nM={__name:"TabItem.global",props:{to:{type:[String,Object],required:!0}},setup(t){return(n,a)=>{const s=gt("router-link");return H(),tt("li",eM,[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"])])}}},iM={},rM={class:"inline-flex items-center space-x-1 md:space-x-3"};function oM(t,n){return H(),tt("ul",rM,[ke(t.$slots,"default")])}const sM=ie(iM,[["render",oM]]),aM={},lM={class:"relative sm:rounded-lg"},uM={class:"w-full text-sm text-left text-gray-500 dark:text-gray-400"};function cM(t,n){return H(),tt("div",lM,[Y("table",uM,[ke(t.$slots,"default")])])}const hM=ie(aM,[["render",cM]]),dM={},fM={class:"normal-case text-xs"};function pM(t,n){return H(),tt("tbody",fM,[ke(t.$slots,"default")])}const _M=ie(dM,[["render",pM]]),mM={},gM={class:"px-4 py-4"};function yM(t,n){return H(),tt("td",gM,[ke(t.$slots,"default")])}const vM=ie(mM,[["render",yM]]),bM={},xM={class:"bg-base-foreground border-b border-base-border"};function LM(t,n){return H(),tt("tr",xM,[ke(t.$slots,"default")])}const wM=ie(bM,[["render",LM]]),kM={},MM={class:"text-xs text-base-content uppercase bg-base-background"};function CM(t,n){return H(),tt("thead",MM,[ke(t.$slots,"default")])}const PM=ie(kM,[["render",CM]]),SM={},EM={class:"px-4 py-3"};function TM(t,n){return H(),tt("th",EM,[ke(t.$slots,"default")])}const OM=ie(SM,[["render",TM]]),RM={};function BM(t,n){return H(),tt("tr",null,[ke(t.$slots,"default")])}const AM=ie(RM,[["render",BM]]);var IM={base_url:"/plecoptera/",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-H53ZZMB5HP"}]},url:"https://sfg.taxonworks.org/api/v1",project_token:"7JgzFyTsllL_1WuwvcQ_Zw",copyright_image:"https://licensebuttons.net/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/78q89i",header_logo_text:"Plecoptera Species File",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"},{label:"Perla",link:"/perla"}],map_tiles:[{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],metadata:[{name:"description",content:"The Plecoptera Species File is a taxonomic, nomenclatural, and bibliographic database of the stoneflies of the world, including all extant and fossil taxa."},{name:"keywords",content:"taxonomy, species, Species File Group, Plecoptera, stoneflies, taxonpages, Plecoptera Species File"},{name:"robots",content:"follow"}],project_name:"Plecoptera Species File",project_citation:"Plecoptera Species File",project_authors:"DeWalt RE, Hopkins H, Neu-Becker U, and Stueber G.",project_url:"https://plecoptera.speciesfile.org",project_old_url:"http://plecoptera.archive.speciesfile.org",focal_taxon:"Plecoptera",focal_taxon_common_name:"stoneflies",contact_email:"dewalt@illinois.edu",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/plecoptera/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={key:1},zM=Y("h1",{class:"font-medium text-base px-1"},"Report a problem",-1),jM={class:"font-normal p-5 pt-0 text-base"},NM=Y("span",null,"My issue is with:",-1),FM={class:"mx-5 my-2"},GM=["href"],VM={key:0,class:"text-sm"},$M="https://github.com/SpeciesFileGroup/taxonpages/issues/new/choose",HM={__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}=IM,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($t,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",DM,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(()=>[zM]),default:mt(()=>[Y("div",jM,[NM,Y("ul",FM,[(H(!0),tt($t,null,ve(qt(n),p=>(H(),tt("li",null,[Y("a",{href:p.url,target:"_blank"},Jt(p.label),9,GM),p.description?(H(),tt("span",VM," - "+Jt(p.description),1)):It("",!0)]))),256))])])]),_:1})):It("",!0)],64)}}},UM={__name:"VSkeleton.global",props:{class:{type:String,default:"w-full"},lines:{type:Number,default:1}},setup(t){const n=Ap(),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($t,null,[ke(c.$slots,"default"),a.value?(H(),tt("span",{key:0,class:We(t.class)},[(H(!0),tt($t,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))}},kl=t=>(ah("data-v-3927b18d"),t=t(),lh(),t),ZM=kl(()=>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)),qM=kl(()=>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)),KM=[ZM,qM],WM=kl(()=>Y("span",{class:"sr-only"},"Loading...",-1)),JM=["innerHTML"],YM={__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),R=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-R+"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"},KM,6)):It("",!0),WM,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,JM)):It("",!0),ke(_.$slots,"default",{},void 0,!0)],6)):It("",!0)],2)],4))}},XM=ie(YM,[["__scopeId","data-v-3927b18d"]]);function QM(t){tC(t,Object.assign({"/src/components/AddressMaker.global.vue":hL,"/src/components/Animation/AnimationOpacity.global.vue":pL,"/src/components/Autocomplete/Autocomplete.global.vue":Td,"/src/components/Autocomplete/AutocompleteOtu.global.vue":EL,"/src/components/Button/ButtonExpand.global.vue":OL,"/src/components/Button/VButton.global.vue":RL,"/src/components/Card/VCard.global.vue":DL,"/src/components/Card/VCardContent.global.vue":FL,"/src/components/Card/VCardHeader.global.vue":HL,"/src/components/Clipboard/VClipboard.global.vue":UL,"/src/components/Dropdown/Dropdown.global.vue":KL,"/src/components/Gallery/GalleryCarousel/GalleryCarousel.global.vue":tw,"/src/components/Gallery/GalleryImage.global.vue":hw,"/src/components/Gallery/GalleryMosaic/GalleryMosaic.global.vue":pw,"/src/components/Icon/IconArrowDown.global.vue":bw,"/src/components/Icon/IconArrowLeft.global.vue":Cw,"/src/components/Icon/IconArrowRight.global.vue":Rw,"/src/components/Icon/IconCheck.global.vue":jw,"/src/components/Icon/IconClipboard.global.vue":Hw,"/src/components/Icon/IconClose.global.vue":Jw,"/src/components/Icon/IconDocument.global.vue":nk,"/src/components/Icon/IconDownload.global.vue":lk,"/src/components/Icon/IconGithub.global.vue":pk,"/src/components/Icon/IconHamburger.global.vue":bk,"/src/components/Icon/IconJson.global.vue":Ck,"/src/components/Icon/IconMinusCircle.global.vue":Rk,"/src/components/Icon/IconPlusCircle.global.vue":jk,"/src/components/Icon/IconSearch.global.vue":Hk,"/src/components/Icon/IconTrash.global.vue":Jk,"/src/components/Icon/IconWarning.global.vue":n1,"/src/components/ImageViewer/ImageViewer.global.vue":R1,"/src/components/Markdown/MarkdownLayout.global.vue":A1,"/src/components/Modal/VModal.global.vue":j1,"/src/components/Pagination/VPagination.global.vue":Y1,"/src/components/ProjectStats.global.vue":X1,"/src/components/Ssr/ClientOnly.global.vue":tM,"/src/components/Tab/TabItem.global.vue":nM,"/src/components/Tab/TabMenu.global.vue":sM,"/src/components/Table/VTable.global.vue":hM,"/src/components/Table/VTableBody.global.vue":_M,"/src/components/Table/VTableBodyCell.global.vue":vM,"/src/components/Table/VTableBodyRow.global.vue":wM,"/src/components/Table/VTableHeader.global.vue":PM,"/src/components/Table/VTableHeaderCell.global.vue":OM,"/src/components/Table/VTableHeaderRow.global.vue":AM,"/src/components/TrackerReport.global.vue":HM,"/src/components/VSkeleton.global.vue":UM,"/src/components/VSpinner.global.vue":XM}))}function tC(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 eC=window.location.origin,Sc=window.initialState,{app:Ml,router:nC,store:iC}=Ax({originUrl:eC});Sc&&(iC.state.value=Sc);eL(Ml);QM(Ml);nC.isReady().then(()=>{Ml.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-Bb1CP8r4.css b/assets/index-Bb1CP8r4.css new file mode 100644 index 0000000..5cb6b78 --- /dev/null +++ b/assets/index-Bb1CP8r4.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:100%;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-6{margin-top:1.5rem}.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-28{width:7rem}.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\:ml-0{margin-left:0}.sm\:mt-10{margin-top:2.5rem}.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-base{font-size:1rem;line-height:1.5rem}.sm\:text-sm{font-size:.875rem;line-height:1.25rem}.sm\:text-xl{font-size:1.25rem;line-height:1.75rem}}@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}.md\:px-0{padding-left:0;padding-right:0}}@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/assets/perla-F0klxveF.js b/assets/perla-F0klxveF.js new file mode 100644 index 0000000..cf9ff1f --- /dev/null +++ b/assets/perla-F0klxveF.js @@ -0,0 +1 @@ +import{r as a,o as l,c as n,w as c,a as e,b as p,d as o}from"./index-BAu2Hi4r.js";const d={class:"markdown-body"},_={class:"container mx-auto my-8 px-4 md:px-0 box-border"},h=e("h1",{id:"perla",tabindex:"-1"},"PERLA",-1),m=e("p",null,"PERLA is the Annual Newsletter and Bibliography of the International Society of Plecopterologists. It is edited and published at the University of Illinois, Illinois Natural History Survey, Champaign, Illinois, USA, 61820. The managing editor is R. Edward DeWalt.",-1),u=e("h2",{id:"most-recent",tabindex:"-1"},"Most recent",-1),f=e("p",null,[e("a",{href:"/plecoptera/perla/Perla_vol_41_10-02-23.pdf",target:"_blank"},"Perla No. 41. 2023.")],-1),x=e("h2",{id:"past-issues",tabindex:"-1"},"Past issues",-1),b=e("p",null,[o("The Perla newsletter is presently still available at the archived Plecoptera Species File site: "),e("a",{href:"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/PerlaList.aspx",rel:"noopener noreferrer",target:"_blank"},"http://plecoptera.archive.speciesfile.org/HomePage/Plecoptera/PerlaList.aspx"),o(".")],-1),w="blank",k={__name:"perla",setup(y,{expose:s}){const t={layout:"blank"};return s({frontmatter:t}),(P,g)=>{const r=a("GalleryMosaic"),i=a("markdown-layout");return l(),n(i,{frontmatter:t},{default:c(()=>[e("div",d,[e("div",_,[h,m,u,p(r,{"depiction-id":[1106924],"image-width":"100px",class:"w-28"}),f,x,b])])]),_:1})}}};export{k as default,w as layout}; diff --git a/docs/First_Announcement_IJM_2024.pdf b/docs/First_Announcement_IJM_2024.pdf new file mode 100644 index 0000000..cf801b3 Binary files /dev/null and b/docs/First_Announcement_IJM_2024.pdf differ diff --git a/docs/Second_Announcement_IJM_2024.pdf b/docs/Second_Announcement_IJM_2024.pdf new file mode 100644 index 0000000..9a9f811 Binary files /dev/null and b/docs/Second_Announcement_IJM_2024.pdf differ 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..485c22f --- /dev/null +++ b/index.html @@ -0,0 +1,27 @@ + + + + + + + + + + + + + + + + +
+ + + diff --git a/perla/Perla_vol_41_10-02-23.pdf b/perla/Perla_vol_41_10-02-23.pdf new file mode 100644 index 0000000..b424c4b Binary files /dev/null and b/perla/Perla_vol_41_10-02-23.pdf differ 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: /