diff --git a/CNAME b/CNAME new file mode 100644 index 00000000..58725c3e --- /dev/null +++ b/CNAME @@ -0,0 +1 @@ +syrphidaeitaly.com \ No newline at end of file diff --git a/Logo.png b/Logo.png new file mode 100644 index 00000000..3127f9d8 Binary files /dev/null and b/Logo.png differ diff --git a/README.md b/README.md new file mode 100644 index 00000000..e3cc6cd4 --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +Assets in this directory will be served at root path. diff --git a/assets/DataType-CYGrde7r.js b/assets/DataType-CYGrde7r.js new file mode 100644 index 00000000..35084124 --- /dev/null +++ b/assets/DataType-CYGrde7r.js @@ -0,0 +1 @@ +import{g as d,p as v,o as i,c as f,t as _,f as x,k as y,q as h,a as r,d as p,w as g}from"./index-PgYLuv1t.js";const w={__name:"AnimateNumber",props:{number:{type:Number,default:100},duration:{type:Number,default:1e3}},emits:["animation:start","animation:end"],setup(t,{emit:l}){const s=t,n=d(0),o=d(0),c=l;v(()=>s.number,(e,a)=>{e!==a&&b()},{immediate:!0});function b(){let e=null;c("animation:start");const a=u=>{e||(e=u);const m=Math.min((u-e)/s.duration,1);n.value=Math.floor(m*(s.number-o.value)+o.value),m<1?window.requestAnimationFrame(a):(o.value=n.value,c("animation:end"))};window.requestAnimationFrame(a)}return(e,a)=>(i(),f("div",null,_(n.value.toLocaleString()),1))}},N={class:"flex items-center bg-base-foreground flex-col relative"},k={class:"leading-3 text-center mt-5"},q={class:"font-medium text-2xl block line"},C={class:"uppercase text-sm"},A={__name:"DataType",props:{icon:{type:Object,required:!0},count:{type:Number,default:0},label:{type:String,required:!0}},setup(t){return(l,s)=>{const n=x("ClientOnly");return i(),f("div",N,[(i(),y(h(t.icon),{class:"h-14 w-14 z-10 text-primary-color dark:text-base-content"})),r("div",k,[r("span",q,[p(n,null,{default:g(()=>[p(w,{number:t.count},null,8,["number"])]),_:1})]),r("span",C,_(t.label),1)])])}}};export{A as default}; diff --git a/assets/IconAudio-BhFYLG-S.js b/assets/IconAudio-BhFYLG-S.js new file mode 100644 index 00000000..ab40e76b --- /dev/null +++ b/assets/IconAudio-BhFYLG-S.js @@ -0,0 +1 @@ +import{_ as a,o as e,c as o,e as p}from"./index-PgYLuv1t.js";const h={},r={width:"37",height:"37",viewBox:"0 0 37 37",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function s(c,t){return e(),o("svg",r,t[0]||(t[0]=[p('',6)]))}const d=a(h,[["render",s]]);export{d as default}; diff --git a/assets/IconBug-Z-ZYU1FI.js b/assets/IconBug-Z-ZYU1FI.js new file mode 100644 index 00000000..11a9e3ee --- /dev/null +++ b/assets/IconBug-Z-ZYU1FI.js @@ -0,0 +1,10 @@ +import{_ as n,o as t,c as e,a as s}from"./index-PgYLuv1t.js";const o={},r={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",fill:"currentColor",viewBox:"0 0 40 40",style:{"enable-background":"new 0 0 40 40"},"xml:space":"preserve"};function l(a,c){return t(),e("svg",r,c[0]||(c[0]=[s("path",{d:`M32.5,37.3c-0.6,0-1-0.4-1-1c0-2.3-0.8-3.8-2.3-5.2c-2,3-5.3,4.9-9.2,4.9s-7.2-2-9.2-4.9 + c-1.5,1.4-2.3,2.8-2.3,5.2c0,0.6-0.4,1-1,1s-1-0.4-1-1c0-3.2,1.3-5.2,3.4-7C9.3,28,9,26.5,9,25v-1.5H3.8c-0.6,0-1-0.4-1-1s0.4-1,1-1 + H9v-4c0-0.3,0-0.6,0-0.9c-2.3-2.1-2.5-4.8-2.5-7.8c0-0.6,0.4-1,1-1s1,0.4,1,1c0,2.6,0.2,4.2,1.1,5.5c0.6-1.5,1.7-2.7,3.2-3.6 + c0-0.2-0.1-0.5-0.1-0.7c0-2,0.8-3.8,2.1-5.2c1.4-1.4,3.2-2.1,5.1-2.1c2,0,3.8,0.8,5.1,2.1c1.4,1.4,2.1,3.2,2.1,5.1 + c0,0.2,0,0.4-0.1,0.6c1.5,0.9,2.6,2.1,3.3,3.7c0.9-1.3,1.1-3.1,1.1-5.6c0-0.6,0.4-1,1-1s1,0.4,1,1c0,3-0.2,5.9-2.5,8 + c0,0.2,0,0.5,0,0.8v4h5.2c0.6,0,1,0.4,1,1s-0.4,1-1,1H31V25c0,1.5-0.3,3-0.9,4.3c2,1.8,3.4,3.8,3.4,7C33.5,36.8,33.1,37.3,32.5,37.3 + z M20,14c0.6,0,1,0.4,1,1v18.9c3-0.3,5.6-2.2,7-4.8c0-0.1,0.1-0.1,0.1-0.2c0.6-1.2,0.9-2.6,0.9-4v-7.5c0-2.9-1.4-4.5-3.3-5.4 + c0,0,0,0-0.1,0c0,0-0.1,0-0.1-0.1c-1.6-0.7-3.6-1-5.5-1c-4.4,0-9,1.7-9,6.5V25c0,1.4,0.3,2.8,0.9,4c0,0.1,0.1,0.1,0.1,0.2 + c1.4,2.6,3.9,4.4,7,4.8V15C19,14.4,19.4,14,20,14z M20,4.8c-1.4,0-2.7,0.5-3.7,1.5c-1,1-1.5,2.2-1.5,3.5C16.3,9.3,18,9,20,9 + c2,0,3.8,0.3,5.2,0.7c-0.1-1.3-0.6-2.5-1.5-3.4C22.7,5.3,21.4,4.8,20,4.8z`},null,-1)]))}const p=n(o,[["render",l]]);export{p as default}; diff --git a/assets/IconImage-Dxp2H1nK.js b/assets/IconImage-Dxp2H1nK.js new file mode 100644 index 00000000..611fdf7e --- /dev/null +++ b/assets/IconImage-Dxp2H1nK.js @@ -0,0 +1,10 @@ +import{_ as t,o as e,c as s,a as c}from"./index-PgYLuv1t.js";const l={},o={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 42 42",style:{"enable-background":"new 0 0 42 42"},"xml:space":"preserve",fill:"currentColor"};function r(a,n){return e(),s("svg",o,n[0]||(n[0]=[c("path",{d:`M31.5,39.5h-21c-2.1,0-4.1-0.8-5.7-2.3c-1.5-1.5-2.3-3.5-2.3-5.7v-21c0-2.1,0.8-4.1,2.3-5.7 + c1.5-1.5,3.5-2.3,5.7-2.3h21c2.1,0,4.1,0.8,5.7,2.3c1.5,1.5,2.3,3.5,2.3,5.7v21c0,2.1-0.8,4.1-2.3,5.7 + C35.6,38.7,33.6,39.5,31.5,39.5z M10.5,4.5c-1.6,0-3.1,0.6-4.2,1.8c-1.1,1.1-1.8,2.6-1.8,4.2v21c0,1.6,0.6,3.1,1.8,4.2 + c1.1,1.1,2.6,1.8,4.2,1.8h21c1.6,0,3.1-0.6,4.2-1.8c1.1-1.1,1.8-2.6,1.8-4.2v-21c0-1.6-0.6-3.1-1.8-4.2c-1.1-1.1-2.6-1.8-4.2-1.8 + H10.5z`},null,-1),c("path",{d:`M14.9,20.3c-3,0-5.4-2.4-5.4-5.4s2.4-5.4,5.4-5.4s5.4,2.4,5.4,5.4S17.8,20.3,14.9,20.3z M14.9,11.5 + c-1.9,0-3.4,1.5-3.4,3.4s1.5,3.4,3.4,3.4s3.4-1.5,3.4-3.4S16.7,11.5,14.9,11.5z`},null,-1),c("path",{d:`M31.7,39.5H10.5c-0.4,0-0.8-0.2-0.9-0.6c-0.2-0.4-0.1-0.8,0.2-1.1l14.9-16.4c0.4-0.5,0.9-0.8,1.5-1.1 + c0.6-0.3,1.2-0.4,1.8-0.4c0.7,0,1.2,0.1,1.8,0.4c0.6,0.3,1.1,0.6,1.5,1.1l7.1,7.7c0.6,0.7,1.1,1.2,1.1,2.4v0.2c0,2.1-0.8,4-2.3,5.5 + C35.8,38.7,33.8,39.5,31.7,39.5z M12.8,37.5h19c1.5,0,3-0.6,4.1-1.7c1.1-1.1,1.7-2.5,1.7-4.1v-0.2c0-0.4-0.1-0.5-0.6-1l-7.1-7.7 + c-0.2-0.3-0.5-0.5-0.8-0.6c-0.3-0.1-0.7-0.2-1-0.2c0,0,0,0,0,0c-0.3,0-0.7,0.1-1,0.2s-0.6,0.3-0.8,0.6v0L12.8,37.5z M25.4,22.1 + L25.4,22.1L25.4,22.1z`},null,-1)]))}const v=t(l,[["render",r]]);export{v as default}; diff --git a/assets/IconMicroscope-D68TOQKx.js b/assets/IconMicroscope-D68TOQKx.js new file mode 100644 index 00000000..7a02e123 --- /dev/null +++ b/assets/IconMicroscope-D68TOQKx.js @@ -0,0 +1 @@ +import{_ as e,o,c as t,a as r}from"./index-PgYLuv1t.js";const s={},c={width:"37",height:"37",viewBox:"0 0 37 37",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function n(H,C){return o(),t("svg",c,C[0]||(C[0]=[r("path",{d:"M12.3333 4.23975C12.3333 3.93309 12.4552 3.63899 12.672 3.42215C12.8888 3.20531 13.1829 3.0835 13.4896 3.0835H15.8021C16.1087 3.0835 16.4028 3.20531 16.6197 3.42215C16.8365 3.63899 16.9583 3.93309 16.9583 4.23975V4.62516H18.8854C19.1921 4.62516 19.4862 4.74698 19.703 4.96382C19.9198 5.18066 20.0417 5.47476 20.0417 5.78141V8.53329C20.054 8.53329 20.0679 8.53329 20.0802 8.53637C22.6695 8.78073 25.1216 9.81299 27.1061 11.494C29.0906 13.1751 30.512 15.4241 31.1788 17.9379C31.8456 20.4518 31.7258 23.1096 30.8354 25.5532C29.945 27.9968 28.3268 30.1088 26.1991 31.6043H31.2188C31.5254 31.6043 31.8195 31.7261 32.0363 31.943C32.2532 32.1598 32.375 32.4539 32.375 32.7606C32.375 33.0672 32.2532 33.3613 32.0363 33.5782C31.8195 33.795 31.5254 33.9168 31.2188 33.9168H5.78125C5.47459 33.9168 5.1805 33.795 4.96366 33.5782C4.74682 33.3613 4.625 33.0672 4.625 32.7606C4.625 32.4539 4.74682 32.1598 4.96366 31.943C5.1805 31.7261 5.47459 31.6043 5.78125 31.6043H18.927C21.5828 31.5932 24.1337 30.5671 26.0575 28.7363C27.9812 26.9054 29.1322 24.4083 29.2747 21.7564C29.4172 19.1045 28.5403 16.4985 26.8238 14.4721C25.1073 12.4456 22.6809 11.1522 20.0417 10.8566V18.8856C20.0417 19.1922 19.9198 19.4863 19.703 19.7032C19.4862 19.92 19.1921 20.0418 18.8854 20.0418H17.7292V21.5835C17.7292 22.4012 17.4043 23.1855 16.8261 23.7637C16.2478 24.342 15.4636 24.6668 14.6458 24.6668C13.8281 24.6668 13.0438 24.342 12.4656 23.7637C11.8874 23.1855 11.5625 22.4012 11.5625 21.5835V20.0418H10.4062C10.0996 20.0418 9.8055 19.92 9.58866 19.7032C9.37182 19.4863 9.25 19.1922 9.25 18.8856V5.78141C9.25 5.47476 9.37182 5.18066 9.58866 4.96382C9.8055 4.74698 10.0996 4.62516 10.4062 4.62516H12.3333V4.23975ZM13.875 20.0418V21.5835C13.875 21.7879 13.9562 21.984 14.1008 22.1286C14.2453 22.2731 14.4414 22.3543 14.6458 22.3543C14.8503 22.3543 15.0463 22.2731 15.1909 22.1286C15.3355 21.984 15.4167 21.7879 15.4167 21.5835V20.0418H13.875ZM11.5625 17.7293H17.7292V6.93766H11.5625V17.7293ZM8.86458 26.9793C8.55793 26.9793 8.26383 27.1011 8.04699 27.318C7.83015 27.5348 7.70833 27.8289 7.70833 28.1356C7.70833 28.4422 7.83015 28.7363 8.04699 28.9532C8.26383 29.17 8.55793 29.2918 8.86458 29.2918H20.4271C20.7337 29.2918 21.0278 29.17 21.2447 28.9532C21.4615 28.7363 21.5833 28.4422 21.5833 28.1356C21.5833 27.8289 21.4615 27.5348 21.2447 27.318C21.0278 27.1011 20.7337 26.9793 20.4271 26.9793H8.86458Z"},null,-1)]))}const a=e(s,[["render",n]]);export{a as default}; diff --git a/assets/IconOk-CfoceHSK.js b/assets/IconOk-CfoceHSK.js new file mode 100644 index 00000000..fc4f2c7c --- /dev/null +++ b/assets/IconOk-CfoceHSK.js @@ -0,0 +1 @@ +import{_ as o,o as c,c as r,a as t}from"./index-PgYLuv1t.js";const i={},l={width:"37",height:"37",viewBox:"0 0 37 37",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function s(n,e){return c(),r("svg",l,e[0]||(e[0]=[t("g",{"clip-path":"url(#clip0_318_33)"},[t("path",{d:"M18.5 0C8.28276 0 0 8.28276 0 18.5C0 28.7172 8.28276 37 18.5 37C28.7172 37 37 28.7172 37 18.5C37 8.28276 28.7172 0 18.5 0ZM18.5 4.01977C26.4972 4.01977 32.978 10.5048 32.978 18.5C32.978 26.4952 26.4972 32.978 18.5 32.978C10.5028 32.978 4.02202 26.4952 4.02202 18.5C4.02205 10.5048 10.5028 4.01977 18.5 4.01977ZM25.5888 9.71521L14.8664 20.4399L11.3886 16.9621L7.97631 20.3721L11.4541 23.8499L14.889 27.2848L18.299 23.8725L29.0237 13.1501L25.5888 9.71521Z"})],-1),t("defs",null,[t("clipPath",{id:"clip0_318_33"},[t("rect",{width:"37",height:"37",fill:"white"})])],-1)]))}const _=o(i,[["render",s]]);export{_ as default}; diff --git a/assets/IconReference-Cf274XHb.js b/assets/IconReference-Cf274XHb.js new file mode 100644 index 00000000..cfccef5d --- /dev/null +++ b/assets/IconReference-Cf274XHb.js @@ -0,0 +1 @@ +import{_ as t,o,c as n,a as e}from"./index-PgYLuv1t.js";const r={},s={width:"29",height:"39",viewBox:"0 0 29 39",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"};function c(a,C){return o(),n("svg",s,C[0]||(C[0]=[e("path",{d:"M5.0999 0.699951H23.8999C25.1464 0.699951 26.3419 1.19513 27.2233 2.07655C28.1047 2.95797 28.5999 4.15343 28.5999 5.39995V33.5999C28.5999 34.8465 28.1047 36.0419 27.2233 36.9233C26.3419 37.8048 25.1464 38.2999 23.8999 38.2999H5.0999C3.85339 38.2999 2.65792 37.8048 1.7765 36.9233C0.895079 36.0419 0.399902 34.8465 0.399902 33.5999V5.39995C0.399902 4.15343 0.895079 2.95797 1.7765 2.07655C2.65792 1.19513 3.85339 0.699951 5.0999 0.699951ZM5.0999 3.04995C4.47664 3.04995 3.87891 3.29754 3.4382 3.73825C2.99749 4.17896 2.7499 4.77669 2.7499 5.39995V33.5999C2.7499 34.2232 2.99749 34.8209 3.4382 35.2616C3.87891 35.7024 4.47664 35.9499 5.0999 35.9499H23.8999C24.5232 35.9499 25.1209 35.7024 25.5616 35.2616C26.0023 34.8209 26.2499 34.2232 26.2499 33.5999V5.39995C26.2499 4.77669 26.0023 4.17896 25.5616 3.73825C25.1209 3.29754 24.5232 3.04995 23.8999 3.04995H5.0999Z"},null,-1),e("path",{d:"M21.5499 11.2749C21.55 11.5499 21.4536 11.8162 21.2776 12.0275C21.1015 12.2387 20.8569 12.3816 20.5864 12.4311L20.3749 12.4499H8.62492C8.3313 12.4504 8.04811 12.341 7.83113 12.1432C7.61415 11.9453 7.47909 11.6734 7.45256 11.381C7.42603 11.0886 7.50995 10.7968 7.68779 10.5632C7.86562 10.3296 8.12449 10.171 8.41342 10.1187L8.62492 10.0999H20.3749C20.6865 10.0999 20.9854 10.2236 21.2058 10.444C21.4261 10.6644 21.5499 10.9632 21.5499 11.2749ZM21.5499 19.4998C21.55 19.7749 21.4536 20.0412 21.2776 20.2525C21.1015 20.4637 20.8569 20.6065 20.5864 20.656L20.3749 20.6748H8.62492C8.3313 20.6754 8.04811 20.566 7.83113 20.3682C7.61415 20.1703 7.47909 19.8984 7.45256 19.606C7.42603 19.3136 7.50995 19.0218 7.68779 18.7882C7.86562 18.5546 8.12449 18.396 8.41342 18.3437L8.62492 18.3249H20.3749C20.6865 18.3249 20.9854 18.4486 21.2058 18.669C21.4261 18.8894 21.5499 19.1882 21.5499 19.4998ZM21.5499 27.7248C21.55 27.9999 21.4536 28.2662 21.2776 28.4775C21.1015 28.6887 20.8569 28.8315 20.5864 28.881L20.3749 28.8998H8.62492C8.3313 28.9004 8.04811 28.791 7.83113 28.5932C7.61415 28.3953 7.47909 28.1234 7.45256 27.831C7.42603 27.5386 7.50995 27.2468 7.68779 27.0132C7.86562 26.7796 8.12449 26.621 8.41342 26.5686L8.62492 26.5498H20.3749C20.6865 26.5498 20.9854 26.6736 21.2058 26.894C21.4261 27.1143 21.5499 27.4132 21.5499 27.7248Z"},null,-1)]))}const H=t(r,[["render",c]]);export{H as default}; diff --git a/assets/SectionAuthor-rlq_74ds.js b/assets/SectionAuthor-rlq_74ds.js new file mode 100644 index 00000000..02a01417 --- /dev/null +++ b/assets/SectionAuthor-rlq_74ds.js @@ -0,0 +1,111 @@ +import{_ as g,o as s,c as e,a as c,F as a,r as i,t as o,b as r,d as C}from"./index-PgYLuv1t.js";const _={},h={version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",fill:"currentColor",viewBox:"0 0 593 495",style:{"enable-background":"new 0 0 593 495"},"xml:space":"preserve"};function b(z,l){return s(),e("svg",h,l[0]||(l[0]=[c("path",{class:"st0",d:`M378.4,86.7c18.9-17.2,38.6-31.4,48.5-54.7c0.4-1.1,0.8-2.3,1.3-3.3c4.8-11,13.4-16.7,20.5-12.8 + c10,5.4,7.8,14.4,5.1,22.8c-6.4,20.1-21.7,59.6-21.7,59.6s-4.2,9-3.8,9.8c1.4,2.1,6,1.2,9.2,0.8c24.2-2.7,48.9-3.3,72.4-9 + c34.7-8.4,56.7,11.2,79.5,30.4c8,6.8,0.8,10.9-5,13.6c-16.2,7.8-34,9-51.5,11.4c-40.1,5.3-80.5,8.4-120.9,11.2 + c-3.5,0.2-9.4-1.3-9.8,3.8c-0.4,5.9,6,5.4,9.8,6c27.8,3.9,55.9,6.7,83.6,11.3c19.1,3.1,38.4,5.1,57,11c2.8,0.9,7.1,0.6,6.9,4.9 + c-0.2,3.2-3.7,3.3-6.2,4.4c-38.6,16.7-79,18-120.1,14.1c-15.6-1.5-31.3-2.6-47-4.1c-3.7-0.3-7.3-0.4-8.7,3.8 + c-1.5,4.2,1.2,7.4,4.3,8.6c26.5,11.4,36.7,37.1,45,60.1c7.7,21.2,9.8,45.7,6.9,69.3c-10.9,87.4-84.6,144.9-172.1,134.1 + c-71.6-8.8-129.6-75.9-128.6-148.8c0.1-4.7-0.1-4.5-5.8-10.2c-1.2-1.2-0.7-4.5-0.1-6.7c2.2-7.6,4.9-14.9,7-22.5 + c2.5-8.8,2.5-17.8-0.5-26.7c-1.1-3.3-2.1-6.8-2.8-10.2c-4.5-17.8-6.4-34.8,9.8-48.5c2.9-2.5,4.9-6.1,6.9-9.5 + c4.7-8.1,5.2-13.5-1.9-23.2c-12.6-17.4-31.6-29.3-40.6-49.4c-1.4-3.1-4.8-10.1-8.5-1.7c-10.4,24.3-28.3,44.2-39.2,68.3 + c-6.5,14.2-14.8,27.7-22,41.6c-7.1,13.6-11.4,28.2-16.3,42.8c-0.1-20.6,5.7-39.7,14.9-58c13.3-26.3,26.8-52.4,40.1-78.7 + c1.7-3.2,5.9-7.2,2.4-10.4c-3.1-2.8-7.5,0.6-10.7,2.4C41.1,157.5,19.1,174.4,0,197.4c-0.1-9.2,4.6-14.6,9.1-19.3 + c22.5-23.2,48.6-41.8,77.2-57c5.8-3,6.1-5.7,4.1-10.9c-3.3-8.7,0.4-11.8,9-10.1c14.7,2.8,30.2,5.8,42.1,14.5 + c13.5,9.8,28,10.2,43,12.3c38.9,5.3,77.4,0.6,116.1-2.5c9.1-0.7,13.6-5.2,17.4-12.9c15.4-30.9,26.3-62.9,27.9-97.6 + c0.4-7.6,3.1-14.7,12.4-13.8c8.8,0.8,10.2,7.6,10.6,15.5C369.9,38.8,372.8,61.6,378.4,86.7z M369.1,134.4c-0.8-0.8-3-2.4-4.2-2.4 + c-6-0.3-10.2,2.7-11.8,3.9c-1,0.8-3,2.3-2.7,3.5c0.1,0.3,0.3,0.6,0.7,0.8c4.7,2.9,10.7,3.4,15.6,1.4c1.6-0.7,2.6-1.7,3-2.9 + c0.6-1.9-0.5-3.9-0.8-4.4c-0.6-1-1.3-1.7-1.8-2.1c0.5-0.1-0.8-0.9,0.2-1.1c2.8-0.7,7.1-0.5,8.6-2.3c1.3-1.6,1.5-3.4,1.6-4.1 + c0.3-2.3-1.2-3.7-3-4.4c-3.6-1.3-7.2-1.7-10.6,6c-0.7,1.5,3.1,4,5.8,4.4C370.7,130.9,368.7,134,369.1,134.4z M238.5,478.5 + c0.9-1.7,16.2-18.1,17.4-19.5c20.4-23.5,36.5-50,49-78.4c7.7-17.4,8.1-18.7,8.1-18.7s-28.4-12.4-28.6-12.3c0,0-4.7,8.9-5.1,10.2 + c-1.8,5.6-4.8,10.7-7.3,16c-13.8,29.8-27.6,59.6-41.3,89.4c-1.6,3.5-6.4,8.1-1.9,11.5c3.6,2.6,7.7-2.1,11.4-4 + c4.4-2.3,6.4-4.2,9.8-7.3c1.6-1.4,2.5-1.3,3.6-1.6c-0.3,0.9-1.1,1.7-2,3c-1.3,1.9-3,3.2-3.9,3.8c-1.6,1.2-3.2,3.5-4.7,8 + c9.2-0.4,17-2.8,24.5-6.3c33.4-15.4,54.5-42.7,71.1-74.1c1.5-2.9,10.1-20.6,10.1-20.6c0,0.1-21.5-9.4-21.5-9.4 + c-1.2-0.6-8.4-3.6-8.4-3.6l-2.2-1c0,0-4.4,8.6-4.9,9.6c-9.5,21.5-20.4,42.4-33.7,61.8C270.9,445.4,249.9,471.4,238.5,478.5z + M409.6,161.4c52.3-2.5,101.1-7.3,149.7-14.6c6.8-1,12.8-3.6,18.7-6.8c5.7-2.9,6.6-6.5,0.8-10.4c-10.7-7.2-21-15.3-32.5-21.2 + c-7.2-3.7-16.6-8.8-24.3-3.4c-5.9,4.2-11.9,5.5-18.2,6.9c-44.7,11-51.4,10.7-77.1,16.2c-7.3,1.3-7-0.4-11.6,7.6 + c-2.6,5.6-11.1,20.1-9.5,24.1C406.5,162,408.9,161.4,409.6,161.4z M210.1,463.9c1.9-3.7,2.8-4.7,2.8-5.7 + c0.7-36.8,14.1-70.2,27.3-103.7c0.8-2,8.1-20.5,8.1-20.5c-0.1-0.3-8.4-3.7-20.9-9.2c-0.7-0.3-10-4.3-10-4.3s-4.3,8-5.1,9.8 + c-8.7,21.9-15.8,44.2-17.1,67.9C193.8,420.6,197.6,442.1,210.1,463.9z M358.7,229.3c-3.7,3.3-3.4,5.9-3.4,8 + c-0.6,39.6-20.8,74.1-28.9,111.8l-5.9,11.3l29.9,13.3c0,0,0.8-1.5,3.4-8.3c11.7-30.2,19.8-61,17.3-93.7 + C370,257.1,366.9,242.7,358.7,229.3z M215.7,454.9c0.8,6.1-1.5,16.5,4.4,17.8c4,1.1,10.2-14.6,10.2-14.6c0.7-1,1.2-2.1,1.7-3.1 + c14.9-32.4,30-64.7,44.8-97.1c1.8-3.9,4.4-9.6,4.4-9.6l-28.9-12.5c-0.5,1.1-9.5,20.7-9.9,21.8C230,389,217.6,420.2,215.7,454.9z + M249.9,330.3c0,0,4-7,5.8-11.1c14.2-30.1,29.6-59.4,51-85.3c2.1-2.6,6.2-5.2,3.6-8.9c-2.9-4.1-7.6-3.3-11.7-1.7 + c-2.8,1.2-5.7,2.6-8.3,4.3c-31,20.4-51.4,49.8-68.2,82c-1.5,2.8-3.6,7.2-3.6,7.2S243,326.9,249.9,330.3z M264.8,485.6 + c1.8,0.5,3.6,1.2,5.5,1.3c4.7,0.4,9.4,0.9,14.1,0.6c51.8-3.3,89.8-27.9,113.6-74c3-5.8,5.6-12.6,5.8-12.5l-25.2-10.8l-5.2,10.6 + c-8.7,20.7-32.4,50.2-59.1,65.8C299,475.8,282.1,480.2,264.8,485.6z M317.7,261.6c-0.7-4-1.8-10.2-2.8-16.3c-0.5-3,0.4-7.2-2.9-8.3 + c-4.3-1.6-5.9,3-7.9,5.6c-18.8,24.2-32.6,51.3-46.1,78.7l-4.9,10.4c0,0,26.9,11.7,29.6,12.7l4.3-8.8c9-20.8,18.8-41.2,28.3-61.8 + C317.1,270.7,318.4,267.5,317.7,261.6z M378.9,241.2c6.1,13.9,11.4,24.7,14.1,36.3c8.1,34.5,2.1,67.7-9.9,100.1 + c-0.6,1.6-3.2,8.7-3.2,8.7l25.6,10.8c1-2.4,2.4-5.8,3.9-9.9c15.1-43,13.9-84.5-10.2-124.2C394.6,255.7,390.4,247.7,378.9,241.2z + M280.4,217.2c-2.8,1-6.1,2-9.3,3.3c-34.7,14.2-58.7,39.6-75.5,72.4c-2.7,5.1-6.1,11.1-6.1,11.1l25.7,11.3 + c16.4-30.7,41.6-68.9,70.9-88.9c1.8-1.2,5.1-2.1,4-4.9C288.8,217.6,284.5,218.3,280.4,217.2z M368.8,235.2c-2.5,3.1-0.9,5.5-0.2,7.6 + c8.2,26.6,6.9,53.4,1.4,80.1c-3.1,15.4-8.1,30.3-13.7,44.9c-0.4,1.1-2.9,7.2-2.9,7.2l23.5,10.3c0.7-1.6,1.6-4.2,2.8-7.3 + c13.3-34.9,19.2-70.4,8.2-107C383.9,258.1,378.8,245.4,368.8,235.2z M199,450.7c-0.6-2.6-1-5.2-1.7-7.7c-0.8-3-1.8-6-2.4-9 + c-7.4-37.2,0.4-72.4,15.3-106.3c0.4-1,3.5-8.5,3.5-8.5c0,0-4.2-2.2-25.8-11l0,0c0,0-0.3,0.1-3.4,8.9c-8.6,24.2-14.5,48.8-11.5,74.7 + C175.6,413.6,182.1,434.2,199,450.7z M271.2,214.7c0.2-3.6-4.4-5.2-11.9-3.5c-41.7,9.6-73.3,32.4-92.9,70.8 + c-2.8,5.3-4.7,10.5-4.7,10.5l24.3,10.2c16.2-33.3,45.5-68.3,80.1-83.6C268.3,218.1,270.6,217.4,271.2,214.7z M182.4,441.7 + c0.5-2.1,1-2.7,0.9-3.4c-0.2-1.2-0.6-2.3-1.1-3.3c-17.7-37.4-15.9-75.3-2.5-113.2c0.6-1.6,5-15.1,4.9-15.3c0,0-13.7-5.8-24-10.5 + c0,0-1.1,1.4-3.4,8.5c-10.4,31.5-12.3,63.2-0.6,94.5C162.2,414.4,169.2,429.6,182.4,441.7z M268.3,475.9c6.4,3.7,11.1,1.6,15.4,0.4 + c41.7-12.1,68.6-40.5,87.6-78.1c3.8-7.6,4.4-9.3,4.4-9.3L352,378.8c0,0-4,7.7-4.3,8.4C330.5,424.1,307.9,456.3,268.3,475.9z + M188.3,212.7c-6.6,0.6-10.6-3.4-15-6.1c-3.6-2.2-6.7-2.7-8.1,2.4c-2.8,10.6-6,21.1-8.4,31.8c-0.9,3.8,1,8.1,4.7,10.1 + c4.4,2.3,6.2-2.3,8.4-4.6c16.6-18.2,35.8-32.9,59.2-41.6c2.4-0.9,5.5-1,6.7-5.2c-7-3.2-14.5-2.1-21.6-2.5 + c-11.6-0.7-20.2-3.4-19-17.6c0.3-3.5-1.5-6-5.4-6.3c-4.3-0.3-8,0.8-8.9,5.6c-0.9,4.2-2,8.2-5.5,11.3c-6.4,5.4-3.2,9.4,2.5,12.7 + C181.6,205,187.4,205.4,188.3,212.7z M170.6,129.7c-9.3-0.7-11.9,0-8.8,10.1c6.8,22.8,18,31.8,36.2,26.6 + c11.7-3.3,14.6-15.4,21.6-23.3c6.1-6.9,3.1-8.5-4.9-9.3C200.1,132.2,185.4,131.1,170.6,129.7z M319.1,276.4 + c-2.2,1.3-2.7,4.3-3.1,5.1c-9.2,19.5-20.9,44.7-29.9,64.2l3.7,1.6l23.4,10.2c0,0,2.2-11.2,5.2-15.8c0.4-0.7,0.6-1.5,0.9-2.2 + C327.5,319.6,322.1,297.2,319.1,276.4z M331.8,317.9c0,0,3.5-8.5,4.5-11.3c6.4-18,11.9-36.4,14.8-55.3c1.5-9.3,2.2-18.6,0.1-28 + c-0.5-2.3-0.9-5-3.5-5.5c-2.9-0.6-3.5,2.4-4.8,4.1c0,0-18.6,43.6-18.7,44.4C324.2,266.5,327.6,299.5,331.8,317.9z M370.3,69.1 + c-0.9-8.9-1.7-17.9-2.9-26.8c-0.3-2.7-1.8-5.4-5-5.7c-2.9-0.3-3.8,2.4-4.7,4.4c-8.5,20.8-12.9,42.5-14.4,64.8 + c-0.2,2.3-0.7,10.1,0,10.6c0.6,0.5,9.3-6.6,11.4-8.6C367.6,95.9,372.2,86.5,370.3,69.1z M158.4,291c0,0,2.1-4.4,3.4-7.3 + c18.1-37.6,47.6-61.5,87.4-73.3c2.5-0.7,6.6-0.5,6-4.1c-0.6-3.3-4.5-4-7.7-4.1c-1.9,0-3.7,0.9-5.7,1.5c-40.1,12-68.6,36.1-93.9,82.9 + L158.4,291z M305.8,145.7c7.7,3.1,13.6-2.4,18.7-9.5c1.7-2.4,6.2-3.7,4.2-7.5c-1.8-3.3-5.7-1.7-8.6-1.5c-27.7,2.3-55.4,4.6-83.2,7.1 + c-3.1,0.3-8.3-0.4-8,4.3c0.2,3.8,5,2.9,7.9,3.1C259,143.3,281.3,144.3,305.8,145.7z M169.1,434.7c-25-42.2-30.7-86.1-14.4-132.5 + c0-0.1,2.4-7.6,2.4-7.6s-4.5-2-5.2-2.3c-2-0.7-4.6-2.1-5-2.1c0,0-3.3,9.2-3.3,9.2c-1.2,9.8-6.8,17.1-7.5,41.7 + c-0.3,9.7,0.5,19.4,2.2,29.1C142.5,394.2,151.8,416.4,169.1,434.7z M417.6,276.4c-13.7-27.6-22.6-27.9-23.6-27.6 + c0,1.1,10.3,15.4,20.8,39.6c10.3,34.6,8.5,68.8-3.6,102.6c0,0-3.2,7.3-3.2,7.3l11,4.7c0,0,3.2-8,3.2-8c9.6-31.4,10.7-42.9,8.6-72.8 + C429.4,302.1,423.9,288.3,417.6,276.4z M400.4,112.6c13.2-2,17.9-1.9,19.4-4.3c5.3-10.8,13.5-33.3,17.4-44c1.1-2.9,4.4-7.1,0.3-9.4 + c-4.5-2.6-7.2,2.1-9.3,5c-10.9,14.9-21.5,29.9-32.1,45c-1.3,1.9-3.1,3.9-1.8,6.4C395.5,113.6,398.2,112.9,400.4,112.6z M135.5,119 + c0.6,1.6,3.8,6.3,5,9.9c2.8,8.7,4.1,17.3-3.6,23.7c-8.3,7-8.5,10.1,1.8,15.4c6.8,3.5,14.9,8.2,20.8-1 + C168.4,152.9,153.1,122.6,135.5,119z M225.5,146.1c-0.2,0.7-0.3,1.5-0.5,2.2c14.2,3.8,28.5,7.5,42.6,11.5c10.7,3,21.6,3.2,32.5,2.9 + c6.1-0.1,9.9-4.4,10.4-9.3c0.6-6.4-5.9-4.9-9.7-5.2c-11.3-1-22.6-1.7-33.9-2C253.1,145.8,239.4,146.1,225.5,146.1z M394.1,161.5 + c1.6-0.4,12.7-18.6,14.4-27.9c0.5-1.9-0.5-2.8-0.4-2.7c-6.8,0.6-30.6,4.6-33.8,10.9c-2.9,5.8-11.1,11.4-7.8,17.2 + C369.6,164.1,391.4,161.5,394.1,161.5z M368.9,191c0.8-9.3,4-18.6-9.3-19.3c-6.5-0.3-18.3,9.6-18.8,16.3 + c-0.8,9.1,10.1,21.9,19.1,21.4C374.3,208.6,365.7,196.2,368.9,191z M340,478c1.8,0.5,2.6,1.1,3.1,0.9c2.9-1.1,5.9-2.2,8.6-3.6 + c26.6-13.4,46.6-33.8,61.2-59.5c2-3.5,4.6-8.8,4.6-8.8s-10.5-4.7-10.8-4.6c0,0-4,8.3-4,8.3c-1.6,4.5-21.4,39.1-46.5,56.2 + C351.1,470.5,345.8,474.1,340,478z M459.4,200.1c-0.3-6.2,3.6-12.9-9.2-14.9c-13.9-2.2-16.4,2.8-18.2,20.5 + c-1.1,11,4.8,12.2,13.2,12.5C457.9,218.6,458.4,218.1,459.4,200.1z M140.2,294c1.1,0.2-0.7,0.8,0.5,1c4.2-8.5,7.9-17.5,13-25.5 + c4.4-7,3.8-13.4,0.4-19.9c-2.6-4.9-4.6-12.3-12.2-10.3c-6.9,1.8-8,8.4-7.1,14.4C136.7,267.1,141.7,280.1,140.2,294z M408.3,198.7 + c-0.9,9-3.2,16.2,9,17.8c13.4,1.9,11.2-7,12.4-14.2c0.5-2.6,0.4-5.2,1.1-8.3c0.6-9.6,0.9-11.2-8-11.9c-8.1-0.6-12.3-2.4-14,2.6 + C408.7,187.4,408.3,197,408.3,198.7z M137.6,139c0.3-10.2-7.1-20.8-16.8-24.4c-5.7-2.2-8.5,0.1-8.5,5.5c-0.3,9.2,2.6,17.7,8.7,24.6 + c3.1,3.5,7.5,4.1,11.9,2.7C136.9,146.1,137.5,142.6,137.6,139z M471.8,188.9c-14,0.1-8.8,12.3-10.3,19.9c-1.9,9.4,5.3,10.6,11.8,9.6 + c10.7-1.1,6.6-16.3,8.1-22.8C482.3,190.2,477.5,189.3,471.8,188.9z M421,123.8c27.2-2,53.3-8.6,79.2-16.3 + c-23.7,1.3-49.6,4.3-72.9,7.3C424.4,115.2,421.3,122.1,421,123.8z M404.1,73c-6.9,2.8-24.2,20.5-24.7,20.4c-6.9,6.5-6.6,12.5-5,19.7 + c1,4.6,4.7,5.9,7.6,2C390.7,103.2,398.8,87.5,404.1,73z M342.6,75.8c-1.1-0.2-2.2-0.4-3.1-0.7c-5.6,12.4-11.4,24.6-16.8,37.1 + c-1.4,3.2-6.5,8.5,1.3,9.9c5.2,0.9,13.6,2.2,14.2-5.9C339.4,102.7,339.9,89.1,342.6,75.8z M388.8,191.2c-1.5,4.1-6.7,14.2-5.5,17.9 + c1.3,5.8,6.8,4.3,10.6,5c4.2,0.8,9.2,1.5,10.1-4.6c0.8-5.4,1.4-20.5,1.6-26c0.2-5-10.3-4-11.2-2.6 + C391.4,185.2,390.6,187.2,388.8,191.2z M231.2,157.5c-4.9,1.2-4.1,4.2-2.9,7.3c3.1,8.3,9,14.4,16.4,19c4.7,2.9,10.8,6,14.8,1.1 + c4.9-5.9-2.8-8.5-5.8-11.7C247.4,166.5,239.7,161.3,231.2,157.5z M318.8,231.9c0.6,3.8,0.9,7.7,1.7,11.6c0.6,2.6,2.6,15.1,2.6,15.1 + s4.7-11.5,5.9-13.7c2.9-5.6,5.3-11.3,7.9-17c1.3-2.8,3.4-6,0.4-8.5c-2.9-2.5-6.7-2.1-9.9-0.2C322.4,222,318,225.3,318.8,231.9z + M484.4,206.5c0.1,5.7-0.9,12.4,6.1,12c12.3-0.7,9.5-11.8,10.7-19.1c0.3-6.1-2.9-7.5-7.7-7.6C482,191.5,485.1,204.2,484.4,206.5z + M374.8,207.9c3.7-7.6,7.6-15.2,11.1-22.9c1.9-3.9,4.2-8.2-2.4-10.2c-5.5-1.7-10.7-1.3-11.4,5.8 + C371.4,189.5,369.8,198.3,374.8,207.9z M393.7,128.8c4.7-0.7,9.4-1.9,14.1-2.7c1.5-0.2,3.9-0.6,5.3-2.4c0.6-0.7,0.5-1.1,1.6-3.9 + c1.3-3.3,1.7-3.7,1.5-4.1c-0.7-1.2-4.3,0.3-10.9,1.2c-5.2,0.7-7.6,0.4-14.1,1.7c-3.1,0.6-3.8,0.9-4.5,1.4c-3.1,2-4.8,7.4-3.9,10.7 + C384.3,131.4,391,129.2,393.7,128.8z M426.4,49.5c10.6-4.5,18-7.1,21.6-14.8c2.3-4.8,1.4-9.5-3.1-12.3c-5.2-3.1-8,1.5-9.7,5.1 + C432.1,33.7,430,40.1,426.4,49.5z M548.7,202.4c-7-2.6-17.1-4.5-23.3-5.8c-3.4-1.1-5.1,0.5-6.2,3.8c-1.1,3.3-2.8,7.1-0.8,10.1 + c2.4,3.8,7.1,1.4,9.9,0.5C530,210,542,207.3,548.7,202.4z M327.5,181c7.2,1.4,12.9-0.7,14.2-6.6c1.2-5.1-4.5-3.9-7.6-4.1 + c-6.5-0.4-14.4,0.2-15.6,7.1C317.5,183.4,325.1,179.6,327.5,181z M360.5,15.1c-0.3-3.8,0-8.5-4.2-9c-4.2-0.5-5.2,3.8-5.9,7.5 + c-0.2,1.2-0.5,2.4-0.3,3.5c1,5.4-4.8,15.2,0.6,15.3C358.8,32.4,359.2,22,360.5,15.1z M515.5,203.4c0.5-2.6,1.3-7.7-4.1-8.5 + c-8.5-1.9-7.8,10.1-8.6,17.3c-0.3,3.9,0,5.3,3.3,5.1C515.2,216.7,513.9,209.1,515.5,203.4z M352.5,144.8c-6-1-11.2,0-12.5,6.1 + c-1.3,6.1,4.3,5.1,7.9,5.4c6,0.6,13,0.9,13.9-6.7C362.5,143.3,355.5,146.1,352.5,144.8z M211,189.6c3.5-0.9,7.9-1.9,6.6-6.4 + c-1.4-5-5.2-8.8-10.8-9.2c-4.2-0.3-6.6,2.9-6.3,6.7C200.8,186.8,205.9,188.4,211,189.6z M265.9,172.8c3.2-0.7,8.6-0.3,7.8-4.8 + c-1.3-6.7-8.5-5.6-13.5-6.7c-3.2-0.7-7.3,0.3-6.4,4.4C255.1,171.8,260.7,172.4,265.9,172.8z M361.3,120.4c0.3-2.4,0-6.6-4.1-6.1 + c-5.2,1-9.3,4.8-10.4,9.9c-0.7,3.3,2.1,7.7,6,7.2C358.7,130.7,360.4,125.4,361.3,120.4z M330,141.2c-4.4,1.4-7.6,4.3-7.4,9.1 + c0.1,3.4,1.7,7.6,5.9,7.5c4.9-0.3,7.2-4.4,7.5-8.9C336.2,144.9,333.9,142.4,330,141.2z M110.3,114.9c1.7-7-2.1-8.8-7.4-9.4 + c-2.8-0.3-6.6-0.1-5.3,3.6c1.9,5.6,3,13.4,9.3,14.5C111.6,124.6,108.9,117.5,110.3,114.9z M327.9,187.4c-0.7-4.2-3.7-4-6.4-3.8 + c-6.7,0.4-10.8,4.6-12.7,10.4c-0.8,2.5,3.1,3.2,5.3,2.8C320,195.6,324.8,192.4,327.9,187.4z M301.9,192.6c5.3-2.8,9.8-6.8,9.4-14 + c-0.1-2.4-1-6-3.2-5c-6.8,2.7-8.1,9.8-10,15.9C297.4,191.3,298.7,193.2,301.9,192.6z M278.6,198.5c-3.8,0.6-9.5-2.8-10,2.7 + c-0.4,4.6,5.5,4.9,9.2,4.3c4.6-0.7,13,2.5,13.1-3.1C291,196,282.4,200.7,278.6,198.5z M328.5,166.1c8.5,0.7,15.6,4.5,22.2-1.4 + c1.2-1,1.1-3.3-0.7-3.9C342.7,158.3,335.6,157.4,328.5,166.1z M282.2,194.2c2.6-0.5,7.6,1,6.7-3.5c-0.9-5-6.5-6.2-11-7 + c-2.8-0.5-5.7,1.3-5.4,4.5C273,194.1,277.7,194.1,282.2,194.2z M232,177.7c-3.7-3.9-6.2-10-12.2-12.6c-2.2-0.9-3.3,1.5-2.8,3.6 + c1.8,6.5,5.8,10.8,12.3,12.6C230.9,181.9,232.1,180.5,232,177.7z M311.3,165.4c0.6,2.5,0.8,6,4.1,6c5.5,0,6.5-4.5,7-8.8 + c0.3-2.7-0.4-6.4-3.4-6.3C313.6,156.5,313,161.5,311.3,165.4z M327.7,198.5c1.8,4.5,5.9,4.6,9.6,5c3,0.3,4.1-2.1,2.9-4.5 + c-1.4-2.7-1.4-7.7-6.4-6.5C330.9,193.1,328.1,194.8,327.7,198.5z M339.7,142.1c3.7-0.7,5.1-3.7,5.8-7.4c0.6-2.9-0.1-6-3.6-6 + c-4.4,0.1-7,3.4-7.7,7.5C333.8,139.2,336.4,140.9,339.7,142.1z`},null,-1)]))}const M=g(_,[["render",b]]),x={class:"bg-base-foreground"},f={class:"container mx-auto p-4 sm:pb-10 relative box-border"},v={class:"prose !container dark:prose-invert"},E={class:"my-4"},A={class:"block"},y={class:"font-bold"},S={class:"font-bold"},m={class:"my-4"},k={class:"font-bold"},w={class:"font-bold"},P={class:"flex flex-col justify-center items-center"},O={__name:"SectionAuthor",setup(z){const l=[{person:"Maria Marta Cigliano",position:"Project Director & Author",location:"División Entomología. Museo de La Plata, CEPAVE - CONICET, Argentina"},{person:"Holger Braun",position:"Author & Editor",location:"División Entomología, Museo de La Plata, Argentina"},{person:"David C. Eades",position:"Founder of the Species File Group, Data base Developer of Species File Software",location:"Illinois Natural History Survey, USA"},{person:"Daniel Otte",position:"Founder and Original Author",location:"Academy of Natural Sciences of Philadelphia, USA"}],p=[{person:"Piotr Naskrecki",location:"Museum of Comparative Zoology, Harvard University"},{person:"Martina Eugenia Pocco",location:"CEPAVE - CONICET, División Entomología, Museo de La Plata, Argentina"}],d=[{person:"María Belén Cabrera",location:"División Entomología, Museo de La Plata, Argentina"}],u=[{person:"Hernán Lucas Pereira",location:"CEPAVE - CONICET, Argentina"},{person:"José Luis Pereira",location:"División Entomología, Museo de La Plata, Argentina"}];return(D,t)=>(s(),e("section",x,[c("div",f,[c("div",v,[t[5]||(t[5]=c("h2",null,"Authors",-1)),c("ul",E,[(s(),e(a,null,i(l,n=>c("li",{key:n.person},[c("span",A,[c("span",y,o(n.person),1),r(" - "+o(n.position),1)]),c("span",null,o(n.location),1)])),64))]),c("div",null,[t[0]||(t[0]=c("h3",null,"Major Contributors",-1)),c("ul",null,[(s(),e(a,null,i(p,n=>c("li",{key:n.person},[c("span",S,o(n.person),1),r(" - "+o(n.location),1)])),64))])]),c("div",m,[t[2]||(t[2]=c("h3",null,"Assistant editor",-1)),c("ul",null,[(s(),e(a,null,i(d,n=>c("li",{key:n.person},[c("span",k,o(n.person),1),r(" - "+o(n.location),1)])),64))]),t[3]||(t[3]=c("h3",null,"Developers",-1)),c("ul",null,[(s(),e(a,null,i(u,n=>c("li",{key:n.person},[c("span",w,o(n.person),1),r(" - "+o(n.location),1)])),64))]),t[4]||(t[4]=c("hr",{class:"border-b-base-border"},null,-1)),c("div",P,[C(M,{class:"xl:hidden w-40 text-primary-color right-0 dark:text-base-content"}),t[1]||(t[1]=c("p",{class:"text-center"},[r(" With the cooperation of "),c("a",{class:"whitespace-nowrap",href:"https://orthsoc.org/"},"The Orthopterists' Society")],-1))])])]),C(M,{class:"hidden xl:block opacity-10 w-[40rem] text-primary-color absolute right-0 bottom-56 dark:text-base-content"})])]))}};export{O as default}; diff --git a/assets/SectionData-Hdsg-b9F.js b/assets/SectionData-Hdsg-b9F.js new file mode 100644 index 00000000..44f4bdad --- /dev/null +++ b/assets/SectionData-Hdsg-b9F.js @@ -0,0 +1 @@ +import{s as d,m as s,n as l,o as i,c as r,a as c,F as f,r as g,k as x}from"./index-PgYLuv1t.js";import _ from"./IconBug-Z-ZYU1FI.js";import v from"./IconImage-Dxp2H1nK.js";import b from"./IconMicroscope-D68TOQKx.js";import S from"./IconReference-Cf274XHb.js";import u from"./IconOk-CfoceHSK.js";import I from"./iconCitation-Dqi5ebiw.js";import k from"./DataType-CYGrde7r.js";const y={class:"bg-base-foreground"},j={class:"container mx-auto"},N={class:"max-h-max grid grid-cols-2 sm:grid-cols-4 grid-col auto-cols-fr xl:grid-flow-col lg:py-18 xl:py-28 py-10 gap-10"},F={__name:"SectionData",setup(h){const e={validSpecies:"Valid species",validExtantSpecies:"Valid extant species",taxonNames:"Taxon names",projectSources:"Project sources",collectionObjects:"Collection objects",citations:"Citations",images:"Images"},a=d({[e.validSpecies]:{icon:u,label:"Valid species",count:29410},[e.validExtantSpecies]:{icon:u,label:"Valid extant species",count:28955},[e.taxonNames]:{icon:b,label:"Scientific names",count:47350},[e.projectSources]:{icon:S,label:"References",count:15500},[e.citations]:{icon:I,label:"Citations",count:25e4},[e.images]:{icon:v,label:"Images",count:100},[e.collectionObjects]:{icon:_,label:"Specimen records",count:108e3}});s("/stats").then(n=>{const{data:t}=n.data;for(const o in t)a.value[o]&&(a.value[o].count=t[o]);l(a)});async function p(){await s("/taxon_names.json",{params:{page:1,per:1,validity:!0,rank:["NomenclaturalRank::Iczn::SpeciesGroup::Species"]}}).then(({headers:n})=>{a.value[e.validSpecies].count=Number(n["pagination-total"])}),await s("/taxon_names.json",{params:{page:1,per:1,taxon_name_id:[],taxon_name_classification:["TaxonNameClassification::Iczn::Fossil"],validity:!0,descendants:!0,nomenclature_group:["Species"],rank:["NomenclaturalRank::Iczn::SpeciesGroup::Species"]}}).then(({headers:n})=>{a.value[e.validExtantSpecies].count=a.value[e.validSpecies].count-Number(n["pagination-total"])}),l(a)}return p(),(n,t)=>(i(),r("section",null,[c("div",y,[c("div",j,[c("div",N,[(i(!0),r(f,null,g(a.value,(o,m)=>(i(),x(k,{class:"px-4",key:m,icon:o.icon,label:o.label,count:o.count},null,8,["icon","label","count"]))),128))])])]),t[0]||(t[0]=c("div",{class:"bg-base-foreground"},[c("div",{class:"container mx-auto"})],-1))]))}};export{F as default}; diff --git a/assets/SectionDescription-C8R0I9A7.js b/assets/SectionDescription-C8R0I9A7.js new file mode 100644 index 00000000..af77bd64 --- /dev/null +++ b/assets/SectionDescription-C8R0I9A7.js @@ -0,0 +1 @@ +import{_ as t,o as s,c as n,a as e,b as o}from"./index-PgYLuv1t.js";const i={},r={class:"bg-base-foreground"};function l(c,a){return s(),n("section",r,a[0]||(a[0]=[e("div",{class:"container mx-auto p-4 sm:pt-10 sm:pb-2 relative box-border"},[e("div",{class:"prose !container dark:prose-invert"},[e("div",null,[e("p",null,[e("b",null,"Syrphidae of Italy (SoI)"),o(" is a comprehensive database created to include all available information on Italian hoverflies (Diptera, Syrphidae). In this database, manages in "),e("a",{href:"https://taxonworks.org"}," TaxonWorks"),o(", you can find information about distribution, nomenclature, and biology of hoverflies species. ")]),e("p",null," The growing interest in hoverflies, thanks also to the many ecological services provided such as pollination or pest biological control, has increased interest and research focused on these insects in Italy. The purpose of the database is to merge and make available historical data with new observations. "),e("p",null,[e("b",null,"Syrphidae of Italy"),o(" is open to contribution from anyone with specimen records, images or even just with the desire to get closer to this fantastic group of insects. ")])])])],-1)]))}const p=t(i,[["render",l]]);export{p as default}; diff --git a/assets/SectionHighlights-DKZPZ6cV.js b/assets/SectionHighlights-DKZPZ6cV.js new file mode 100644 index 00000000..80a02648 --- /dev/null +++ b/assets/SectionHighlights-DKZPZ6cV.js @@ -0,0 +1 @@ +import{_ as d,f as n,o as m,c as u,a as t,d as s,w as o,b as a}from"./index-PgYLuv1t.js";const f={},c={class:"mx-auto py-6 prose !container dark:prose-invert"},p={class:"flex gap-4 flex-col"};function x(g,e){const r=n("VCardContent"),i=n("VCard"),l=n("address-maker");return m(),u("section",null,[t("div",c,[e[6]||(e[6]=t("h2",{class:"px-4 sm:px-0"},"Highlights",-1)),t("div",p,[s(i,null,{default:o(()=>[s(r,null,{default:o(()=>e[0]||(e[0]=[t("h3",{class:"mt-2 mb-0"},"Taxa Completed",-1),t("span",{class:"text-base-soft"},"2023-10-09",-1),t("p",null," Not all the subfamilies are completed, menaing that some names are missing. Therefore, before citing the contents, make sure to take a look at the document here ",-1)])),_:1})]),_:1}),s(i,null,{default:o(()=>[s(r,null,{default:o(()=>[e[4]||(e[4]=t("h3",{class:"mt-2 mb-0"},"OSF Powered by TaxonWorks",-1)),e[5]||(e[5]=t("span",{class:"text-base-soft"},"2023-04-17",-1)),t("p",null,[e[1]||(e[1]=a(" OSF lives in TaxonWorks, the new infrastructure that powers OSF. The interfaces of TaxonWorks include a wide range of additional filtering and reporting functionalities. Please contact us (")),s(l,{class:"font-medium",items:["daniele.sommaggio","unimore","it"]}),e[2]||(e[2]=a("; ")),s(l,{class:"font-medium",items:["davide.dalpos","ucf","edu"]}),e[3]||(e[3]=a(") if you need extended access to the data. Over time we expect this site to gradually mirror these extended functionalities of TaxonWorks. "))])]),_:1})]),_:1})])])])}const _=d(f,[["render",x]]);export{_ as default}; diff --git a/assets/SectionLandscape-BM7QvRL1.css b/assets/SectionLandscape-BM7QvRL1.css new file mode 100644 index 00000000..1b442110 --- /dev/null +++ b/assets/SectionLandscape-BM7QvRL1.css @@ -0,0 +1 @@ +.fade-enter-active[data-v-5411d794],.fade-leave-active[data-v-5411d794]{transition:opacity 1s ease-in-out}.fade-enter-from[data-v-5411d794]{opacity:0}.fade-enter-to[data-v-5411d794]{opacity:1}.fade-enter[data-v-5411d794],.fade-leave-to[data-v-5411d794]{opacity:0} diff --git a/assets/SectionLandscape-BPYHq1lA.js b/assets/SectionLandscape-BPYHq1lA.js new file mode 100644 index 00000000..3f753914 --- /dev/null +++ b/assets/SectionLandscape-BPYHq1lA.js @@ -0,0 +1 @@ +import{_ as m,g as _,h as g,i as h,f as p,o,c as r,a as t,j as b,k as f,w as c,t as l,b as x,l as y,d as i,u as v}from"./index-PgYLuv1t.js";const w="/assets/scaeva-DCrimYPY.jpg",k={class:"overflow-hidden h-[550px] w-full"},I=["src"],S={class:"bg-black bg-opacity-25 absolute h-full w-full top-0"},j={class:"absolute bottom-2 right-4"},C={class:"z-10 text-white text-sm drop-shadow"},B={__name:"ImageCarrousel",props:{duration:{type:Number,default:5e3}},setup(u){const a=[{label:"Scaeva",copyright:"Serena Magagnoli",src:w,otuId:356}],s=_(null),e=g(()=>a[s.value]||{});return h(()=>{s.value=Math.floor(Math.random()*a.length)}),(n,L)=>{const d=p("RouterLink");return o(),r("div",k,[(o(),r("img",{class:"object-cover overflow-hidden h-[550px] w-full absolute",key:e.value.src,src:e.value.src,alt:"Dichroplus maculipennis"},null,8,I)),t("div",S,[b(n.$slots,"default",{},void 0,!0)]),t("div",j,[t("span",C,[e.value.otuId?(o(),f(d,{key:0,class:"text-white",to:{name:"otus-id",params:{id:e.value.otuId}}},{default:c(()=>[t("i",null,l(e.value.label),1),x(" © "+l(e.value.copyright),1)]),_:1},8,["to"])):y("",!0)])])])}}},G=m(B,[["__scopeId","data-v-5411d794"]]);var N={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const M={class:"relative box-border"},A={class:"flex flex-col justify-center sm:items-center w-full h-full gap-4 bg-black bg-opacity-10"},$={class:"text-3xl sm:text-4xl px-4 font-medium text-white"},E={class:"p-3 bg-black bg-opacity-20 w-full max-w-lg box-border rounded-lg"},V={__name:"SectionLandscape",setup(u){const{project_name:a}=N;return(s,e)=>{const n=p("AutocompleteOtu");return o(),r("section",null,[t("div",M,[i(G,null,{default:c(()=>[t("div",A,[t("span",$,l(v(a)),1),e[0]||(e[0]=t("span",{class:"text-lg sm:text-xl text-white px-4"},"A comprehensive database for the Italian fauna of Hoverflies",-1)),t("div",E,[i(n,{autofocus:"",class:"w-full",placeholder:"Search by taxon name..."})])])]),_:1})])])}}};export{V as default}; diff --git a/assets/SectionTerms-CFJRFJlv.js b/assets/SectionTerms-CFJRFJlv.js new file mode 100644 index 00000000..a7959170 --- /dev/null +++ b/assets/SectionTerms-CFJRFJlv.js @@ -0,0 +1 @@ +import{f as s,o as i,c as l,a as t,b as o,u as r,t as p,d as u,w as m}from"./index-PgYLuv1t.js";var d={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const g={class:"bg-base-foreground p-4 py-10"},c={class:"prose !container mx-auto dark:prose-invert"},h=["href"],w={__name:"SectionTerms",setup(b){const{project_url:a}=d;return(f,e)=>{const n=s("RouterLink");return i(),l("section",g,[t("div",c,[e[7]||(e[7]=t("h2",null,"Referencing this website",-1)),t("p",null,[e[0]||(e[0]=o(" When referencing this website, please use our published data paper: Sommaggio, D. & Dal Pos, D. (2024). Sryphidae of Italy (SoI): a comprehensive database for the Italian fauna of Hoverflies. *Nature*, XX: XXX–XXX. [retrieval date]. < ")),t("a",{href:r(a)},p(r(a)),9,h),e[1]||(e[1]=o(" > "))]),e[8]||(e[8]=t("h2",null,"Terms of use",-1)),e[9]||(e[9]=t("p",null,[o(" Except where otherwise noted, content on this site is licensed under a the terms of the "),t("a",{href:"https://creativecommons.org/licenses/by/4.0/"},"Creative Commons Attribution License (CC-BY)"),o(". Images are by default open-access under the terms of the "),t("a",{href:"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"CC BY-NC-SA license"),o(", unless stated otherwise ")],-1)),e[10]||(e[10]=t("h2",null,"Find out more",-1)),t("p",null,[e[3]||(e[3]=o(" Learn how to collaborate with ")),e[4]||(e[4]=t("b",null,"Syrphidae of Italy",-1)),e[5]||(e[5]=o(". Contact information, technical details, and more are available ")),u(n,{to:"about"},{default:m(()=>e[2]||(e[2]=[o("here")])),_:1}),e[6]||(e[6]=o(". "))])])])}}};export{w as default}; diff --git a/assets/about-1yZ2w7WU.js b/assets/about-1yZ2w7WU.js new file mode 100644 index 00000000..e27acf10 --- /dev/null +++ b/assets/about-1yZ2w7WU.js @@ -0,0 +1 @@ +import{f as i,o as s,k as p,w as f,a as e,t as a,b as o}from"./index-PgYLuv1t.js";const d={class:"markdown-body"},u={id:"%7B%7Bfrontmatter.title%7D%7D",tabindex:"-1"},y="About",b="user@example.com",x="All content is CC 0 so that it maybe be shared throughout the world in places like Wikipedia.",k="Syrphidae of Italy (SoI) project",w={__name:"about",setup(g,{expose:l}){const r={title:"About",contact_email:"user@example.com",copyright:"All content is CC 0 so that it maybe be shared throughout the world in places like Wikipedia.",citation:"Syrphidae of Italy (SoI) project"};return l({frontmatter:r}),(h,t)=>{const n=i("markdown-layout");return s(),p(n,{frontmatter:r},{default:f(()=>[e("div",d,[e("h1",u,a(r.title),1),t[2]||(t[2]=e("p",null,"The Syrphidae of Italy (SoI) is a virtual space developed to try to fill the many gaps relating to the knowledge of hoverflies in Italy. The collaboration of multiple actors is fundamental for the realization of this project and for this reason we hope that the team will soon be able to expand.",-1)),t[3]||(t[3]=e("h2",{id:"meet-the-team",tabindex:"-1"},"Meet the team",-1)),t[4]||(t[4]=e("p",null,[e("em",null,"Please contact us if you would like to join this effort")],-1)),t[5]||(t[5]=e("h3",{id:"curators",tabindex:"-1"},"Curators",-1)),t[6]||(t[6]=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"}},[e("a",{href:"https://scholar.google.com/citations?user=kHS8y3sAAAAJ&hl=it",rel:"noopener noreferrer",target:"_blank"},"Daniele Sommaggio")]),e("td",{style:{"text-align":"left"}},"University of Modena and Reggio Emilia (Italy)"),e("td",{style:{"text-align":"left"}},"Founder, Administrator & Curator"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:daniele.sommaggio@unimore.it",rel:"noopener noreferrer",target:"_blank"},"daniele.sommaggio@unimore.it")])]),e("tr",null,[e("td",{style:{"text-align":"left"}},[e("a",{href:"https://www.researchgate.net/profile/Davide-Dal-Pos-2",rel:"noopener noreferrer",target:"_blank"},"Davide Dal Pos")]),e("td",{style:{"text-align":"left"}},"University of Central Florida, Orlando, FL (USA)"),e("td",{style:{"text-align":"left"}},"Curator"),e("td",{style:{"text-align":"left"}},[e("a",{href:"mailto:daveliga@gmail.com",rel:"noopener noreferrer",target:"_blank"},"daveliga@gmail.com")])]),e("tr",null,[e("td",{style:{"text-align":"left"}}),e("td",{style:{"text-align":"left"}}),e("td",{style:{"text-align":"left"}}),e("td",{style:{"text-align":"left"}})])])],-1)),t[7]||(t[7]=e("h2",{id:"get-in-contact",tabindex:"-1"},"Get in contact",-1)),t[8]||(t[8]=e("p",null,"If you have questions, want to report an issue with the database, or have suggestions, feel free to contact any of the above curators.",-1)),t[9]||(t[9]=e("h2",{id:"how-to-cite",tabindex:"-1"},"How to cite",-1)),e("p",null,[t[0]||(t[0]=o("To cite data from ")),e("strong",null,a(r.citation),1),t[1]||(t[1]=o(", please use our published data paper:"))]),t[10]||(t[10]=e("ul",null,[e("li",null,[e("strong",null,"Sommaggio, D. & Dal Pos, D."),o(" (2024). Sryphidae of Italy (SoI): a comprehensive database for the Italian fauna of Hoverflies. "),e("em",null,"Nature"),o(", XX: XXX–XXX. [retrieval date]. Available at: "),e("a",{href:"https://syrphidaeitaly.com",rel:"noopener noreferrer",target:"_blank"},"syrphidaeitaly.com"),o(".")])],-1)),t[11]||(t[11]=e("h2",{id:"the-species-file-group-(sfg)",tabindex:"-1"},"The Species File Group (SFG)",-1)),t[12]||(t[12]=e("p",null,[o("The WID is made possible by the technical and intellectual help from the "),e("a",{href:"https://speciesfilegroup.org/index.html",rel:"noopener noreferrer",target:"_blank"},"Species File Group (SFG)"),o(", which 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)),t[13]||(t[13]=e("ul",null,[e("li",null,[e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),o(" - 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"),o(" - 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"),o(" - 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)),t[14]||(t[14]=e("h2",{id:"data",tabindex:"-1"},"Data",-1)),t[15]||(t[15]=e("p",null,[o("Data for these pages is collaboratively curated online in a "),e("a",{href:"https://taxonworks",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),o(" project. All data behind this site served as JSON through calls to a "),e("a",{href:"https://api.taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks API"),o(". You can follow along by using the Console of your browser to explore the Network tab.")],-1)),t[16]||(t[16]=e("h2",{id:"technical",tabindex:"-1"},"Technical",-1)),t[17]||(t[17]=e("p",null,[o("Want to create your own site? This website is built completely on open-source software. There is a "),e("a",{href:"https://github.com/SpeciesFileGroup/%3Csomething%3E",rel:"noopener noreferrer",target:"_blank"},"site template"),o(" with more information. Data are curated in a "),e("a",{href:"https://taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks"),o(" project then shared via a "),e("a",{href:"https://api.taxonworks.org",rel:"noopener noreferrer",target:"_blank"},"TaxonWorks API"),o(". Come "),e("a",{href:"https://gitter.im/SpeciesFileGroup/taxonworks",rel:"noopener noreferrer",target:"_blank"},"chat"),o(" with the TaxonWorks community at any time.")],-1)),t[18]||(t[18]=e("h2",{id:"copyright",tabindex:"-1"},"Copyright",-1)),e("p",null,[e("em",null,a(r.copyright),1)])])]),_:1})}}};export{k as citation,b as contact_email,x as copyright,w as default,y as title}; diff --git a/assets/home-DQSmM9Zi.js b/assets/home-DQSmM9Zi.js new file mode 100644 index 00000000..8909e678 --- /dev/null +++ b/assets/home-DQSmM9Zi.js @@ -0,0 +1 @@ +import m from"./SectionData-Hdsg-b9F.js";import i from"./SectionLandscape-BPYHq1lA.js";import c from"./SectionDescription-C8R0I9A7.js";import a from"./SectionTerms-CFJRFJlv.js";import p from"./SectionHighlights-DKZPZ6cV.js";import{f as e,o as l,c as _,d as o,a as r}from"./index-PgYLuv1t.js";import"./IconBug-Z-ZYU1FI.js";import"./IconImage-Dxp2H1nK.js";import"./IconMicroscope-D68TOQKx.js";import"./IconReference-Cf274XHb.js";import"./IconOk-CfoceHSK.js";import"./iconCitation-Dqi5ebiw.js";import"./DataType-CYGrde7r.js";const d={class:"h-full"},C={__name:"home",setup(f){return(u,t)=>{const s=e("SectionAuthor"),n=e("SectionAnnouncements");return l(),_("div",d,[o(i),o(m),t[0]||(t[0]=r("hr",{class:"border-base-muted"},null,-1)),o(c),o(s,{class:"shadow-sm"}),t[1]||(t[1]=r("hr",{class:"border-base-muted"},null,-1)),o(p),o(n),o(a,{class:"drop-shadow"})])}}};export{C as default}; diff --git a/assets/iconCitation-Dqi5ebiw.js b/assets/iconCitation-Dqi5ebiw.js new file mode 100644 index 00000000..25fde021 --- /dev/null +++ b/assets/iconCitation-Dqi5ebiw.js @@ -0,0 +1,7 @@ +import{_ as n,o as e,c as o,a as t}from"./index-PgYLuv1t.js";const r={},s={version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"0 0 25.6 25.6",style:{"enable-background":"new 0 0 25.6 25.6"},"xml:space":"preserve",fill:"currentColor"};function l(a,c){return e(),o("svg",s,c[0]||(c[0]=[t("g",null,[t("path",{d:`M16.1,23.8c-0.2,0-0.4-0.1-0.6-0.2c-0.2-0.2-0.4-0.5-0.4-0.8v-3.4c0-0.4,0.2-0.7,0.5-0.9l0,0c2.2-1.2,3.4-3,3.6-5.5h-3.1 + c-0.6,0-1-0.5-1-1V3.6c0-0.6,0.5-1,1-1h8.5c0.6,0,1,0.5,1,1V12c0,6.9-2.9,10.5-9.3,11.8L16.1,23.8z M16.6,19.7v2.5 + C21.9,21,24.1,18,24.1,12V4h-7.5v7.5h4.2l0,0.8C20.7,15.7,19.3,18.2,16.6,19.7z M16.3,19.9L16.3,19.9 + C16.3,19.9,16.3,19.9,16.3,19.9C16.3,19.9,16.3,19.9,16.3,19.9z`}),t("path",{d:`M1.1,23.8c-0.3,0-0.5-0.1-0.7-0.3c-0.2-0.2-0.3-0.5-0.3-0.7v-3.4c0-0.4,0.2-0.7,0.5-0.9l0,0c2.2-1.2,3.4-3,3.6-5.5H1.1 + c-0.6,0-1-0.5-1-1V3.6c0-0.6,0.5-1,1-1h8.5c0.6,0,1,0.5,1,1V12c0,7-3.2,11.1-9.4,11.8L1.1,23.8z M1.6,19.7v2.5 + c5.1-0.8,7.5-4.2,7.5-10.2V4H1.6v7.5h4.2l0,0.8C5.6,15.7,4.2,18.2,1.6,19.7z M1.3,19.9C1.3,19.9,1.3,19.9,1.3,19.9L1.3,19.9 + C1.3,19.9,1.3,19.9,1.3,19.9z`})],-1)]))}const i=n(r,[["render",l]]);export{i as default}; diff --git a/assets/index-CoiQDE5v.css b/assets/index-CoiQDE5v.css new file mode 100644 index 00000000..e36c0573 --- /dev/null +++ b/assets/index-CoiQDE5v.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{--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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::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: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,: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;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([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]:where(:not([hidden=until-found])){display:none}.\!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:1.25em;margin-bottom:1.25em}.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-inline-start: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:1.25em;margin-bottom:1.25em;padding-inline-start: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-inline-start-width:.25rem;border-inline-start-color:var(--tw-prose-quote-borders);quotes:"“""”""‘""’";margin-top:1.6em;margin-bottom:1.6em;padding-inline-start: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:.8888889em;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:2em;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:1.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(video):not(:where([class~=not-prose],[class~=not-prose] *)){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-top:.1875em;padding-inline-end:.375em;padding-bottom:.1875em;padding-inline-start:.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-top:.8571429em;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-inline-start: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;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-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.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(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}.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(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;margin-bottom:.5em}.prose :where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}.prose :where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.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>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}.prose :where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}.prose :where(.prose>ol>li>p: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-inline-start: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-inline-start:0}.prose :where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}.prose :where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-top:.5714286em;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em}.prose :where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}.prose :where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end: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\.5{left:-.625rem}.-right-full{right:-100%}.bottom-0{bottom:0}.bottom-2{bottom:.5rem}.bottom-44{bottom:11rem}.bottom-56{bottom:14rem}.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}.right-4{right:1rem}.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-4{margin-top:1rem;margin-bottom:1rem}.my-8{margin-top:2rem;margin-bottom:2rem}.my-auto{margin-top:auto;margin-bottom:auto}.mb-0{margin-bottom:0}.mb-2{margin-bottom:.5rem}.mb-24{margin-bottom:6rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.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\.5{margin-right:.125rem}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-\[5px\]{margin-right:5px}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.mt-\[5px\]{margin-top:5px}.box-border{box-sizing:border-box}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.contents{display:contents}.hidden{display:none}.h-10{height:2.5rem}.h-12{height:3rem}.h-14{height:3.5rem}.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-\[550px\]{height:550px}.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-max{max-height:-moz-max-content;max-height:max-content}.max-h-screen{max-height:100vh}.min-h-\[3\.5rem\]{min-height:3.5rem}.min-h-\[6rem\]{min-height:6rem}.min-h-screen{min-height:100vh}.w-1{width:.25rem}.w-12{width:3rem}.w-14{width:3.5rem}.w-24{width:6rem}.w-3{width:.75rem}.w-4{width:1rem}.w-40{width:10rem}.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-\[40rem\]{width:40rem}.w-auto{width:auto}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.w-screen{width:100vw}.min-w-80{min-width:20rem}.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-lg{max-width:32rem}.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}.auto-cols-fr{grid-auto-columns:minmax(0,1fr)}.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))}.grid-cols-2{grid-template-columns:repeat(2,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-10{gap:2.5rem}.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-none{border-radius:0}.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-10{--tw-bg-opacity: .1}.bg-opacity-20{--tw-bg-opacity: .2}.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\.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-10{padding-top:2.5rem;padding-bottom:2.5rem}.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}.py-6{padding-top:1.5rem;padding-bottom:1.5rem}.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-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.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-bold{font-weight:700}.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-3{line-height:.75rem}.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-color{--tw-text-opacity: 1;color:rgba(var(--color-primary),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-10{opacity:.1}.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)}.leaflet-fade-anim .leaflet-popup{transition:none}.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}.dark\:prose-invert:is(.dark *){--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}.dark\:border-slate-700:is(.dark *){--tw-border-opacity: 1;border-color:rgb(51 65 85 / var(--tw-border-opacity))}.dark\:bg-gray-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(17 24 39 / var(--tw-bg-opacity))}.dark\:bg-slate-900:is(.dark *){--tw-bg-opacity: 1;background-color:rgb(15 23 42 / var(--tw-bg-opacity))}.dark\:text-base-content:is(.dark *){--tw-text-opacity: 1;color:rgba(var(--color-base-content),var(--tw-text-opacity))}.dark\:text-gray-100:is(.dark *){--tw-text-opacity: 1;color:rgb(243 244 246 / var(--tw-text-opacity))}.dark\:text-gray-400:is(.dark *){--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.dark\:text-white:is(.dark *){--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.dark\:placeholder\:text-slate-400:is(.dark *)::-moz-placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark\:placeholder\:text-slate-400:is(.dark *)::placeholder{--tw-text-opacity: 1;color:rgb(148 163 184 / var(--tw-text-opacity))}.dark\:hover\:text-gray-500:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity))}.dark\:hover\:text-slate-300:hover:is(.dark *){--tw-text-opacity: 1;color:rgb(203 213 225 / var(--tw-text-opacity))}@media (min-width: 640px){.sm\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:items-center{align-items:center}.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\:pb-10{padding-bottom:2.5rem}.sm\:pb-2{padding-bottom:.5rem}.sm\:pt-10{padding-top:2.5rem}.sm\:text-4xl{font-size:2.25rem;line-height:2.5rem}.sm\:text-5xl{font-size:3rem;line-height:1}.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}}@media (min-width: 1024px){.lg\:flex-row{flex-direction:row}}@media (min-width: 1280px){.xl\:block{display:block}.xl\:hidden{display:none}.xl\:grid-flow-col{grid-auto-flow:column}.xl\:py-28{padding-top:7rem;padding-bottom:7rem}}@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: 250, 208, 44;--color-primary-content: 0, 0, 0;--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}.distinguish-menu-list{display:flex;list-style:none;align-items:center;margin:0}.distinguish-menu-list li:first-child{padding-left:0}.distinguish-list-item{justify-content:center;padding-left:1em;padding-right:1em;border-right:1px solid #e5e5e5}.distinguish-row-filter-buttons{display:flex;flex-direction:row;gap:.5rem}:root{--distinguish-primary-content-color: #ffffff;--distinguish-bg-color: #f7f8fc;--distinguish-bg-panel-color: #ffffff;--distinguish-bg-modal-color: #ffffff;--distinguish-bg-disabled-color: #e5e5e5;--distinguish-disabled-color: #999;--distinguish-error-color: #ff0000;--distinguish-primary-color: #5d9ece;--distinguish-border-color: #cccccc;--distinguish-link-color: #5d9ece;--distinguish-btn-medium-size: 28px}.distinguish-link{color:var(--distinguish-link-color);cursor:pointer}.distinguish-btn{border-radius:8px;border:none;cursor:pointer}.distinguish-btn-primary-color{background-color:var(--distinguish-primary-color);color:var(--distinguish-primary-content-color)}.distinguish-btn-medium-size{min-height:var(--distinguish-btn-medium-size)}.distinguish-btn:disabled{background-color:var(--distinguish-bg-disabled-color);color:var(--distinguish-disabled-color)}.distinguish-panel{background-color:var(--distinguish-bg-panel-color);padding:1rem;overflow-y:scroll}.distinguish-spinner-container{display:flex;position:fixed;justify-content:center;width:100vw;height:100vh;background-color:var(--distinguish-bg-color);align-items:center;z-index:9999;height:100%;opacity:.9;top:0;left:0}.distinguish-spinner{border:5px solid rgba(0,0,0,.3);width:36px;height:36px;border-radius:50%;border-left-color:var(--distinguish-primary-color);margin:20px auto 0;animation:spin 1s ease infinite}.distinguish-spinner-legend{margin:1rem 0;font-size:1rem}@keyframes spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.distinguish-modal-mask{position:fixed;z-index:1099;top:0;left:0;width:100%;height:100%;background-color:#00000080;display:table;transition:opacity .3s ease}.distinguish-modal-wrapper{display:table-cell;vertical-align:middle}.distinguish-modal-container{position:relative;width:600px;margin:0 auto;padding:20px 30px;background-color:var(--distinguish-bg-modal-color);border-radius:2px;box-shadow:0 2px 8px #00000054;transition:all .3s ease;max-height:90vh;overflow-y:auto}.distinguish-modal-close{position:absolute;cursor:pointer;top:26px;right:30px;width:10px;height:10px;background-size:10px 10px;opacity:.4}.distinguish-modal-close:hover{opacity:1}.distinguish-modal-header h3{margin-top:0}.distinguish-modal-body{margin:20px 0}.distinguish-modal-default-button{float:right}.distinguish-modal-enter,.distinguish-modal-leave-active{opacity:0}.distinguish-modal-enter .distinguish-modal-container,.distinguish-modal-leave-active .distinguish-modal-container{transform:scale(1.1)}.distinguish-transparent-modal{background-color:#000c!important}.distinguish-transparent-modal .distinguish-modal-header h3{margin:0 0 2em 2em;padding:6px 6px 6px 12px;border-radius:3px;background-color:#0000004d;color:#ffffff80}.distinguish-transparent-modal .distinguish-modal-close{right:42px;top:30px;color:#ffffff80}.distinguish-transparent-modal .distinguish-modal-container{width:70%;position:relative;background-color:transparent!important;box-shadow:none}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body{overflow:auto;margin-right:1em;max-height:80vh}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body::-webkit-scrollbar{position:absolute;right:40px;-webkit-appearance:none}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body::-webkit-scrollbar:vertical{width:6px}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body::-webkit-scrollbar:horizontal{height:6px}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body::-webkit-scrollbar-thumb{border-radius:8px;width:11px;height:5px;border:rgba(255,255,255,.5);background-color:#ffffff80}.distinguish-transparent-modal .distinguish-modal-container .distinguish-modal-body::-webkit-scrollbar-track{background-color:#0000004d;border-radius:8px}.distinguish-grid{width:100%;grid-template-rows:1fr;height:100%;overflow:hidden}.distinguish-layout-mode-1 .distinguish-panel-descriptors{grid-area:1/1/2/3}.distinguish-layout-mode-1 .distinguish-panel-remaining{grid-area:2/1/3/2}.distinguish-layout-mode-1 .distinguish-panel-eliminated{grid-area:2/2/3/3}.distinguish-layout-mode-2 .distinguish-panel-descriptors{grid-area:1/1/3/2}.distinguish-layout-mode-2 .distinguish-panel-remaining{grid-area:1/2/2/3}.distinguish-layout-mode-2 .distinguish-panel-eliminated{grid-area:2/2/3/3}.distinguish-app-container{display:flex;flex-direction:column;height:100%;max-height:100%;font-family:Arial,Helvetica,sans-serif;font-size:13px}.distinguish-app-container input,.distinguish-app-container select{padding:.5em 1em;border:1px solid;border-radius:2px;border-color:var(--distinguish-border-color)}.distinguish-app-container .distinguish-header-error-message{color:var(--distinguish-error-color)}.distinguish-depiction-box{display:flex;align-items:center;justify-content:center;border:1px solid black;height:300px;width:300px}.distinguish-row-item-error{cursor:pointer}.distinguish-character-descriptor__cell{display:flex;align-items:flex-end}.distinguish-character-states-grid{display:grid;grid-template-columns:repeat(3,minmax(33.33%,1fr));gap:1em}.distinguish-list-checkboxes{list-style:none;padding:0}.distinguish-input-label{display:block}.distinguish-header-bar{background-color:var(--distinguish-bg-panel-color);padding:1em;box-shadow:#24252614 4px 4px 15px;border-bottom:1px solid var(--distinguish-border-color);display:flex;justify-content:space-between;align-items:center}.distinguish-header-bar__buttons{display:flex;align-items:center}.distinguish-title-section{display:flex;justify-content:space-between;align-items:center}.distinguish-header-bar__buttons{display:flex;flex-direction:row;align-items:center;gap:.5em}.distinguish-descriptor-modal{width:1000px;max-height:90vh;overflow-y:scroll}.distinguish-descriptor-modal__depiction{display:flex;justify-content:center}.distinguish-grid-icon{width:20px;height:12px;border:2px solid transparent;background-color:transparent;grid-gap:2px}.distinguish-grid-icon>div{background-color:#fff}.distinguish-grid{display:grid;grid-template-columns:repeat(2,1fr);grid-template-rows:repeat(2,1fr);grid-column-gap:0px;grid-row-gap:0px;grid-gap:1px;background-color:var(--distinguish-border-color);box-shadow:0 1px 1px #0003}:root{--distinguish-primary-content-color: rgb(var(--color-primary-content));--distinguish-bg-color: rgb(var(--color-base-foreground));--distinguish-bg-panel-color: rgb(var(--color-base-foreground));--distinguish-bg-modal-color: rgb(var(--color-base-foreground));--distinguish-bg-disabled-color: #e5e5e5;--distinguish-disabled-color: #999;--distinguish-error-color: rgb(var(--color-danger));--distinguish-primary-color: rgb(var(--color-primary));--distinguish-border-color: #cccccc;--distinguish-link-color: rgb(var(--color-secondary));--distinguish-btn-medium-size: 20px}.interactive-key-container{max-height:calc(100vh - 12rem)}.interactive-key-container hr{margin-top:1rem;margin-bottom:1rem}.distinguish-grid{border-radius:.25rem;--tw-border-opacity: 1;border-color:rgba(var(--color-base-muted),var(--tw-border-opacity));--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)}.distinguish-header-bar{border-top-left-radius:.375rem;border-top-right-radius:.375rem}.distinguish-app-container h2{margin-top:.5rem;margin-bottom:.5rem;font-size:1.125rem;line-height:1.75rem}.distinguish-app-container{color:rgb(var(--color-base-content))}.distinguish-modal-header h3{font-size:1.125rem;line-height:1.75rem}.distinguish-btn{border-radius:0;padding:.25rem 1rem;font-size:.875rem;line-height:1.25rem}.distinguish-title{margin-top:1rem;margin-bottom:1rem;font-size:1.25rem;line-height:1.75rem}.distinguish-row-filter-buttons{margin-top:1rem;margin-bottom:1rem}.panel-content-list ul{list-style:disc;margin:1rem 0 1rem 1rem}.panel-content-list ol{list-style-type:decimal;margin-left:1rem}.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-fd5dad5c]{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-a99dffa5] .disable-zoom-out .leaflet-control-zoom-out{display:none!important}.marker-icon{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{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,%0A%0A %0A Atoms/Icons/Tools/Marker%0A Created with Sketch.%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-polygon{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-polyline{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-circle{background-image:url('data:image/svg+xml,%0A%0A %0A Atoms/Icons/Tools/Circle%0A Created with Sketch.%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-circle-marker{background-image:url('data:image/svg+xml,%0A%0A%0A%0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-rectangle{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-delete{background-image:url('data:image/svg+xml,%0A%0A %0A Atoms/Icons/Tools/Eraser%0A Created with Sketch.%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-edit{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-drag{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-cut{background-image:url('data:image/svg+xml,%0A%0A %0A Atoms/Icons/Tools/Scissors%0A Created with Sketch.%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-snapping{background-image:url('data:image/svg+xml,%0A%0A %0A Atoms/Icons/Tools/Magnet%0A Created with Sketch.%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A')}.leaflet-pm-toolbar .leaflet-pm-icon-rotate{background-image:url('data:image/svg+xml,%0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A %0A%0A')}.leaflet-pm-toolbar .leaflet-pm-icon-text{background-image:url('data:image/svg+xml,Text')}.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;vertical-align:middle}.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/index-PgYLuv1t.js b/assets/index-PgYLuv1t.js new file mode 100644 index 00000000..32b4693f --- /dev/null +++ b/assets/index-PgYLuv1t.js @@ -0,0 +1,51 @@ +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SectionLandscape-BPYHq1lA.js","assets/SectionLandscape-BM7QvRL1.css","assets/SectionData-Hdsg-b9F.js","assets/IconBug-Z-ZYU1FI.js","assets/IconImage-Dxp2H1nK.js","assets/IconMicroscope-D68TOQKx.js","assets/IconReference-Cf274XHb.js","assets/IconOk-CfoceHSK.js","assets/iconCitation-Dqi5ebiw.js","assets/DataType-CYGrde7r.js","assets/home-DQSmM9Zi.js","assets/SectionDescription-C8R0I9A7.js","assets/SectionTerms-CFJRFJlv.js","assets/SectionHighlights-DKZPZ6cV.js"])))=>i.map(i=>d[i]); +var i0=Object.defineProperty;var r0=(t,e,i)=>e in t?i0(t,e,{enumerable:!0,configurable:!0,writable:!0,value:i}):t[e]=i;var le=(t,e,i)=>r0(t,typeof e!="symbol"?e+"":e,i);(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const c of document.querySelectorAll('link[rel="modulepreload"]'))o(c);new MutationObserver(c=>{for(const s of c)if(s.type==="childList")for(const u of s.addedNodes)u.tagName==="LINK"&&u.rel==="modulepreload"&&o(u)}).observe(document,{childList:!0,subtree:!0});function i(c){const s={};return c.integrity&&(s.integrity=c.integrity),c.referrerPolicy&&(s.referrerPolicy=c.referrerPolicy),c.crossOrigin==="use-credentials"?s.credentials="include":c.crossOrigin==="anonymous"?s.credentials="omit":s.credentials="same-origin",s}function o(c){if(c.ep)return;c.ep=!0;const s=i(c);fetch(c.href,s)}})();/** +* @vue/shared v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**//*! #__NO_SIDE_EFFECTS__ */function Zh(t){const e=Object.create(null);for(const i of t.split(","))e[i]=1;return i=>i in e}const We={},cs=[],Ji=()=>{},o0=()=>!1,Ga=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),qh=t=>t.startsWith("onUpdate:"),wn=Object.assign,Kh=(t,e)=>{const i=t.indexOf(e);i>-1&&t.splice(i,1)},s0=Object.prototype.hasOwnProperty,Ge=(t,e)=>s0.call(t,e),he=Array.isArray,hs=t=>Ua(t)==="[object Map]",ys=t=>Ua(t)==="[object Set]",Fd=t=>Ua(t)==="[object Date]",ye=t=>typeof t=="function",an=t=>typeof t=="string",Ii=t=>typeof t=="symbol",Je=t=>t!==null&&typeof t=="object",Bf=t=>(Je(t)||ye(t))&&ye(t.then)&&ye(t.catch),Tf=Object.prototype.toString,Ua=t=>Tf.call(t),a0=t=>Ua(t).slice(8,-1),Af=t=>Ua(t)==="[object Object]",Wh=t=>an(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,ds=Zh(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xu=t=>{const e=Object.create(null);return i=>e[i]||(e[i]=t(i))},l0=/-(\w)/g,Si=xu(t=>t.replace(l0,(e,i)=>i?i.toUpperCase():"")),u0=/\B([A-Z])/g,Ur=xu(t=>t.replace(u0,"-$1").toLowerCase()),wu=xu(t=>t.charAt(0).toUpperCase()+t.slice(1)),Fc=xu(t=>t?`on${wu(t)}`:""),Vr=(t,e)=>!Object.is(t,e),Jl=(t,...e)=>{for(let i=0;i{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:o,value:i})},ou=t=>{const e=parseFloat(t);return isNaN(e)?t:e},c0=t=>{const e=an(t)?Number(t):NaN;return isNaN(e)?t:e};let Nd;const Lu=()=>Nd||(Nd=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function ki(t){if(he(t)){const e={};for(let i=0;i{if(i){const o=i.split(d0);o.length>1&&(e[o[0].trim()]=o[1].trim())}}),e}function en(t){let e="";if(an(t))e=t;else if(he(t))for(let i=0;i$a(i,e))}const Df=t=>!!(t&&t.__v_isRef===!0),It=t=>an(t)?t:t==null?"":he(t)||Je(t)&&(t.toString===Tf||!ye(t.toString))?Df(t)?It(t.value):JSON.stringify(t,If,2):String(t),If=(t,e)=>Df(e)?If(t,e.value):hs(e)?{[`Map(${e.size})`]:[...e.entries()].reduce((i,[o,c],s)=>(i[Nc(o,s)+" =>"]=c,i),{})}:ys(e)?{[`Set(${e.size})`]:[...e.values()].map(i=>Nc(i))}:Ii(e)?Nc(e):Je(e)&&!he(e)&&!Af(e)?String(e):e,Nc=(t,e="")=>{var i;return Ii(t)?`Symbol(${(i=t.description)!=null?i:e})`:t};/** +* @vue/reactivity v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let Wn;class Ff{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Wn,!e&&Wn&&(this.index=(Wn.scopes||(Wn.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let e,i;if(this.scopes)for(e=0,i=this.scopes.length;e0)return;if(ga){let e=ga;for(ga=void 0;e;){const i=e.next;e.next=void 0,e.flags&=-9,e=i}}let t;for(;_a;){let e=_a;for(_a=void 0;e;){const i=e.next;if(e.next=void 0,e.flags&=-9,e.flags&1)try{e.trigger()}catch(o){t||(t=o)}e=i}}if(t)throw t}function Uf(t){for(let e=t.deps;e;e=e.nextDep)e.version=-1,e.prevActiveLink=e.dep.activeLink,e.dep.activeLink=e}function $f(t){let e,i=t.depsTail,o=i;for(;o;){const c=o.prevDep;o.version===-1?(o===i&&(i=c),Qh(o),v0(o)):e=o,o.dep.activeLink=o.prevActiveLink,o.prevActiveLink=void 0,o=c}t.deps=e,t.depsTail=i}function hh(t){for(let e=t.deps;e;e=e.nextDep)if(e.dep.version!==e.version||e.dep.computed&&(Hf(e.dep.computed)||e.dep.version!==e.version))return!0;return!!t._dirty}function Hf(t){if(t.flags&4&&!(t.flags&16)||(t.flags&=-17,t.globalVersion===Ma))return;t.globalVersion=Ma;const e=t.dep;if(t.flags|=2,e.version>0&&!t.isSSR&&t.deps&&!hh(t)){t.flags&=-3;return}const i=Xe,o=Di;Xe=t,Di=!0;try{Uf(t);const c=t.fn(t._value);(e.version===0||Vr(c,t._value))&&(t._value=c,e.version++)}catch(c){throw e.version++,c}finally{Xe=i,Di=o,$f(t),t.flags&=-3}}function Qh(t,e=!1){const{dep:i,prevSub:o,nextSub:c}=t;if(o&&(o.nextSub=c,t.prevSub=void 0),c&&(c.prevSub=o,t.nextSub=void 0),i.subs===t&&(i.subs=o,!o&&i.computed)){i.computed.flags&=-5;for(let s=i.computed.deps;s;s=s.nextDep)Qh(s,!0)}!e&&!--i.sc&&i.map&&i.map.delete(i.key)}function v0(t){const{prevDep:e,nextDep:i}=t;e&&(e.nextDep=i,t.prevDep=void 0),i&&(i.prevDep=e,t.nextDep=void 0)}let Di=!0;const Zf=[];function $r(){Zf.push(Di),Di=!1}function Hr(){const t=Zf.pop();Di=t===void 0?!0:t}function jd(t){const{cleanup:e}=t;if(t.cleanup=void 0,e){const i=Xe;Xe=void 0;try{e()}finally{Xe=i}}}let Ma=0;class b0{constructor(e,i){this.sub=e,this.dep=i,this.version=i.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class td{constructor(e){this.computed=e,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0}track(e){if(!Xe||!Di||Xe===this.computed)return;let i=this.activeLink;if(i===void 0||i.sub!==Xe)i=this.activeLink=new b0(Xe,this),Xe.deps?(i.prevDep=Xe.depsTail,Xe.depsTail.nextDep=i,Xe.depsTail=i):Xe.deps=Xe.depsTail=i,qf(i);else if(i.version===-1&&(i.version=this.version,i.nextDep)){const o=i.nextDep;o.prevDep=i.prevDep,i.prevDep&&(i.prevDep.nextDep=o),i.prevDep=Xe.depsTail,i.nextDep=void 0,Xe.depsTail.nextDep=i,Xe.depsTail=i,Xe.deps===i&&(Xe.deps=o)}return i}trigger(e){this.version++,Ma++,this.notify(e)}notify(e){Yh();try{for(let i=this.subs;i;i=i.prevSub)i.sub.notify()&&i.sub.dep.notify()}finally{Xh()}}}function qf(t){if(t.dep.sc++,t.sub.flags&4){const e=t.dep.computed;if(e&&!t.dep.subs){e.flags|=20;for(let o=e.deps;o;o=o.nextDep)qf(o)}const i=t.dep.subs;i!==t&&(t.prevSub=i,i&&(i.nextSub=t)),t.dep.subs=t}}const su=new WeakMap,go=Symbol(""),dh=Symbol(""),Sa=Symbol("");function Vn(t,e,i){if(Di&&Xe){let o=su.get(t);o||su.set(t,o=new Map);let c=o.get(i);c||(o.set(i,c=new td),c.map=o,c.key=i),c.track()}}function dr(t,e,i,o,c,s){const u=su.get(t);if(!u){Ma++;return}const f=_=>{_&&_.trigger()};if(Yh(),e==="clear")u.forEach(f);else{const _=he(t),v=_&&Wh(i);if(_&&i==="length"){const b=Number(o);u.forEach((w,B)=>{(B==="length"||B===Sa||!Ii(B)&&B>=b)&&f(w)})}else switch((i!==void 0||u.has(void 0))&&f(u.get(i)),v&&f(u.get(Sa)),e){case"add":_?v&&f(u.get("length")):(f(u.get(go)),hs(t)&&f(u.get(dh)));break;case"delete":_||(f(u.get(go)),hs(t)&&f(u.get(dh)));break;case"set":hs(t)&&f(u.get(go));break}}Xh()}function x0(t,e){const i=su.get(t);return i&&i.get(e)}function is(t){const e=Fe(t);return e===t?e:(Vn(e,"iterate",Sa),Ei(t)?e:e.map(Gn))}function Cu(t){return Vn(t=Fe(t),"iterate",Sa),t}const w0={__proto__:null,[Symbol.iterator](){return zc(this,Symbol.iterator,Gn)},concat(...t){return is(this).concat(...t.map(e=>he(e)?is(e):e))},entries(){return zc(this,"entries",t=>(t[1]=Gn(t[1]),t))},every(t,e){return ur(this,"every",t,e,void 0,arguments)},filter(t,e){return ur(this,"filter",t,e,i=>i.map(Gn),arguments)},find(t,e){return ur(this,"find",t,e,Gn,arguments)},findIndex(t,e){return ur(this,"findIndex",t,e,void 0,arguments)},findLast(t,e){return ur(this,"findLast",t,e,Gn,arguments)},findLastIndex(t,e){return ur(this,"findLastIndex",t,e,void 0,arguments)},forEach(t,e){return ur(this,"forEach",t,e,void 0,arguments)},includes(...t){return Vc(this,"includes",t)},indexOf(...t){return Vc(this,"indexOf",t)},join(t){return is(this).join(t)},lastIndexOf(...t){return Vc(this,"lastIndexOf",t)},map(t,e){return ur(this,"map",t,e,void 0,arguments)},pop(){return aa(this,"pop")},push(...t){return aa(this,"push",t)},reduce(t,...e){return zd(this,"reduce",t,e)},reduceRight(t,...e){return zd(this,"reduceRight",t,e)},shift(){return aa(this,"shift")},some(t,e){return ur(this,"some",t,e,void 0,arguments)},splice(...t){return aa(this,"splice",t)},toReversed(){return is(this).toReversed()},toSorted(t){return is(this).toSorted(t)},toSpliced(...t){return is(this).toSpliced(...t)},unshift(...t){return aa(this,"unshift",t)},values(){return zc(this,"values",Gn)}};function zc(t,e,i){const o=Cu(t),c=o[e]();return o!==t&&!Ei(t)&&(c._next=c.next,c.next=()=>{const s=c._next();return s.value&&(s.value=i(s.value)),s}),c}const L0=Array.prototype;function ur(t,e,i,o,c,s){const u=Cu(t),f=u!==t&&!Ei(t),_=u[e];if(_!==L0[e]){const w=_.apply(t,s);return f?Gn(w):w}let v=i;u!==t&&(f?v=function(w,B){return i.call(this,Gn(w),B,t)}:i.length>2&&(v=function(w,B){return i.call(this,w,B,t)}));const b=_.call(u,v,o);return f&&c?c(b):b}function zd(t,e,i,o){const c=Cu(t);let s=i;return c!==t&&(Ei(t)?i.length>3&&(s=function(u,f,_){return i.call(this,u,f,_,t)}):s=function(u,f,_){return i.call(this,u,Gn(f),_,t)}),c[e](s,...o)}function Vc(t,e,i){const o=Fe(t);Vn(o,"iterate",Sa);const c=o[e](...i);return(c===-1||c===!1)&&id(i[0])?(i[0]=Fe(i[0]),o[e](...i)):c}function aa(t,e,i=[]){$r(),Yh();const o=Fe(t)[e].apply(t,i);return Xh(),Hr(),o}const C0=Zh("__proto__,__v_isRef,__isVue"),Kf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Ii));function k0(t){Ii(t)||(t=String(t));const e=Fe(this);return Vn(e,"has",t),e.hasOwnProperty(t)}class Wf{constructor(e=!1,i=!1){this._isReadonly=e,this._isShallow=i}get(e,i,o){const c=this._isReadonly,s=this._isShallow;if(i==="__v_isReactive")return!c;if(i==="__v_isReadonly")return c;if(i==="__v_isShallow")return s;if(i==="__v_raw")return o===(c?s?D0:Qf:s?Xf:Yf).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(o)?e:void 0;const u=he(e);if(!c){let _;if(u&&(_=w0[i]))return _;if(i==="hasOwnProperty")return k0}const f=Reflect.get(e,i,mn(e)?e:o);return(Ii(i)?Kf.has(i):C0(i))||(c||Vn(e,"get",i),s)?f:mn(f)?u&&Wh(i)?f:f.value:Je(f)?c?em(f):Ha(f):f}}class Jf extends Wf{constructor(e=!1){super(!1,e)}set(e,i,o,c){let s=e[i];if(!this._isShallow){const _=Lo(s);if(!Ei(o)&&!Lo(o)&&(s=Fe(s),o=Fe(o)),!he(e)&&mn(s)&&!mn(o))return _?!1:(s.value=o,!0)}const u=he(e)&&Wh(i)?Number(i)t,Ul=t=>Reflect.getPrototypeOf(t);function B0(t,e,i){return function(...o){const c=this.__v_raw,s=Fe(c),u=hs(s),f=t==="entries"||t===Symbol.iterator&&u,_=t==="keys"&&u,v=c[t](...o),b=i?ph:e?fh:Gn;return!e&&Vn(s,"iterate",_?dh:go),{next(){const{value:w,done:B}=v.next();return B?{value:w,done:B}:{value:f?[b(w[0]),b(w[1])]:b(w),done:B}},[Symbol.iterator](){return this}}}}function $l(t){return function(...e){return t==="delete"?!1:t==="clear"?void 0:this}}function T0(t,e){const i={get(c){const s=this.__v_raw,u=Fe(s),f=Fe(c);t||(Vr(c,f)&&Vn(u,"get",c),Vn(u,"get",f));const{has:_}=Ul(u),v=e?ph:t?fh:Gn;if(_.call(u,c))return v(s.get(c));if(_.call(u,f))return v(s.get(f));s!==u&&s.get(c)},get size(){const c=this.__v_raw;return!t&&Vn(Fe(c),"iterate",go),Reflect.get(c,"size",c)},has(c){const s=this.__v_raw,u=Fe(s),f=Fe(c);return t||(Vr(c,f)&&Vn(u,"has",c),Vn(u,"has",f)),c===f?s.has(c):s.has(c)||s.has(f)},forEach(c,s){const u=this,f=u.__v_raw,_=Fe(f),v=e?ph:t?fh:Gn;return!t&&Vn(_,"iterate",go),f.forEach((b,w)=>c.call(s,v(b),v(w),u))}};return wn(i,t?{add:$l("add"),set:$l("set"),delete:$l("delete"),clear:$l("clear")}:{add(c){!e&&!Ei(c)&&!Lo(c)&&(c=Fe(c));const s=Fe(this);return Ul(s).has.call(s,c)||(s.add(c),dr(s,"add",c,c)),this},set(c,s){!e&&!Ei(s)&&!Lo(s)&&(s=Fe(s));const u=Fe(this),{has:f,get:_}=Ul(u);let v=f.call(u,c);v||(c=Fe(c),v=f.call(u,c));const b=_.call(u,c);return u.set(c,s),v?Vr(s,b)&&dr(u,"set",c,s):dr(u,"add",c,s),this},delete(c){const s=Fe(this),{has:u,get:f}=Ul(s);let _=u.call(s,c);_||(c=Fe(c),_=u.call(s,c)),f&&f.call(s,c);const v=s.delete(c);return _&&dr(s,"delete",c,void 0),v},clear(){const c=Fe(this),s=c.size!==0,u=c.clear();return s&&dr(c,"clear",void 0,void 0),u}}),["keys","values","entries",Symbol.iterator].forEach(c=>{i[c]=B0(c,t,e)}),i}function ed(t,e){const i=T0(t,e);return(o,c,s)=>c==="__v_isReactive"?!t:c==="__v_isReadonly"?t:c==="__v_raw"?o:Reflect.get(Ge(i,c)&&c in o?i:o,c,s)}const A0={get:ed(!1,!1)},O0={get:ed(!1,!0)},R0={get:ed(!0,!1)};const Yf=new WeakMap,Xf=new WeakMap,Qf=new WeakMap,D0=new WeakMap;function I0(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function F0(t){return t.__v_skip||!Object.isExtensible(t)?0:I0(a0(t))}function Ha(t){return Lo(t)?t:nd(t,!1,M0,A0,Yf)}function tm(t){return nd(t,!1,P0,O0,Xf)}function em(t){return nd(t,!0,S0,R0,Qf)}function nd(t,e,i,o,c){if(!Je(t)||t.__v_raw&&!(e&&t.__v_isReactive))return t;const s=c.get(t);if(s)return s;const u=F0(t);if(u===0)return t;const f=new Proxy(t,u===2?o:i);return c.set(t,f),f}function fr(t){return Lo(t)?fr(t.__v_raw):!!(t&&t.__v_isReactive)}function Lo(t){return!!(t&&t.__v_isReadonly)}function Ei(t){return!!(t&&t.__v_isShallow)}function id(t){return t?!!t.__v_raw:!1}function Fe(t){const e=t&&t.__v_raw;return e?Fe(e):t}function rd(t){return!Ge(t,"__v_skip")&&Object.isExtensible(t)&&Of(t,"__v_skip",!0),t}const Gn=t=>Je(t)?Ha(t):t,fh=t=>Je(t)?em(t):t;function mn(t){return t?t.__v_isRef===!0:!1}function Ut(t){return nm(t,!1)}function N0(t){return nm(t,!0)}function nm(t,e){return mn(t)?t:new j0(t,e)}class j0{constructor(e,i){this.dep=new td,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=i?e:Fe(e),this._value=i?e:Gn(e),this.__v_isShallow=i}get value(){return this.dep.track(),this._value}set value(e){const i=this._rawValue,o=this.__v_isShallow||Ei(e)||Lo(e);e=o?e:Fe(e),Vr(e,i)&&(this._rawValue=e,this._value=o?e:Gn(e),this.dep.trigger())}}function GT(t){t.dep&&t.dep.trigger()}function zt(t){return mn(t)?t.value:t}const z0={get:(t,e,i)=>e==="__v_raw"?t:zt(Reflect.get(t,e,i)),set:(t,e,i,o)=>{const c=t[e];return mn(c)&&!mn(i)?(c.value=i,!0):Reflect.set(t,e,i,o)}};function im(t){return fr(t)?t:new Proxy(t,z0)}function V0(t){const e=he(t)?new Array(t.length):{};for(const i in t)e[i]=U0(t,i);return e}class G0{constructor(e,i,o){this._object=e,this._key=i,this._defaultValue=o,this.__v_isRef=!0,this._value=void 0}get value(){const e=this._object[this._key];return this._value=e===void 0?this._defaultValue:e}set value(e){this._object[this._key]=e}get dep(){return x0(Fe(this._object),this._key)}}function U0(t,e,i){const o=t[e];return mn(o)?o:new G0(t,e,i)}class $0{constructor(e,i,o){this.fn=e,this.setter=i,this._value=void 0,this.dep=new td(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Ma-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!i,this.isSSR=o}notify(){if(this.flags|=16,!(this.flags&8)&&Xe!==this)return Gf(this,!0),!0}get value(){const e=this.dep.track();return Hf(this),e&&(e.version=this.dep.version),this._value}set value(e){this.setter&&this.setter(e)}}function H0(t,e,i=!1){let o,c;return ye(t)?o=t:(o=t.get,c=t.set),new $0(o,c,i)}const Hl={},au=new WeakMap;let po;function Z0(t,e=!1,i=po){if(i){let o=au.get(i);o||au.set(i,o=[]),o.push(t)}}function q0(t,e,i=We){const{immediate:o,deep:c,once:s,scheduler:u,augmentJob:f,call:_}=i,v=tt=>c?tt:Ei(tt)||c===!1||c===0?pr(tt,1):pr(tt);let b,w,B,A,F=!1,V=!1;if(mn(t)?(w=()=>t.value,F=Ei(t)):fr(t)?(w=()=>v(t),F=!0):he(t)?(V=!0,F=t.some(tt=>fr(tt)||Ei(tt)),w=()=>t.map(tt=>{if(mn(tt))return tt.value;if(fr(tt))return v(tt);if(ye(tt))return _?_(tt,2):tt()})):ye(t)?e?w=_?()=>_(t,2):t:w=()=>{if(B){$r();try{B()}finally{Hr()}}const tt=po;po=b;try{return _?_(t,3,[A]):t(A)}finally{po=tt}}:w=Ji,e&&c){const tt=w,pt=c===!0?1/0:c;w=()=>pr(tt(),pt)}const ot=jf(),rt=()=>{b.stop(),ot&&Kh(ot.effects,b)};if(s&&e){const tt=e;e=(...pt)=>{tt(...pt),rt()}}let Q=V?new Array(t.length).fill(Hl):Hl;const z=tt=>{if(!(!(b.flags&1)||!b.dirty&&!tt))if(e){const pt=b.run();if(c||F||(V?pt.some((Tt,Ft)=>Vr(Tt,Q[Ft])):Vr(pt,Q))){B&&B();const Tt=po;po=b;try{const Ft=[pt,Q===Hl?void 0:V&&Q[0]===Hl?[]:Q,A];_?_(e,3,Ft):e(...Ft),Q=pt}finally{po=Tt}}}else b.run()};return f&&f(z),b=new zf(w),b.scheduler=u?()=>u(z,!1):z,A=tt=>Z0(tt,!1,b),B=b.onStop=()=>{const tt=au.get(b);if(tt){if(_)_(tt,4);else for(const pt of tt)pt();au.delete(b)}},e?o?z(!0):Q=b.run():u?u(z.bind(null,!0),!0):b.run(),rt.pause=b.pause.bind(b),rt.resume=b.resume.bind(b),rt.stop=rt,rt}function pr(t,e=1/0,i){if(e<=0||!Je(t)||t.__v_skip||(i=i||new Set,i.has(t)))return t;if(i.add(t),e--,mn(t))pr(t.value,e,i);else if(he(t))for(let o=0;o{pr(o,e,i)});else if(Af(t)){for(const o in t)pr(t[o],e,i);for(const o of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,o)&&pr(t[o],e,i)}return t}/** +* @vue/runtime-core v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/function Za(t,e,i,o){try{return o?t(...o):t()}catch(c){ku(c,e,i)}}function Fi(t,e,i,o){if(ye(t)){const c=Za(t,e,i,o);return c&&Bf(c)&&c.catch(s=>{ku(s,e,i)}),c}if(he(t)){const c=[];for(let s=0;s>>1,c=Jn[o],s=Pa(c);s=Pa(i)?Jn.push(t):Jn.splice(W0(e),0,t),t.flags|=1,om()}}function om(){lu||(lu=rm.then(sm))}function J0(t){he(t)?ps.push(...t):Ir&&t.id===-1?Ir.splice(as+1,0,t):t.flags&1||(ps.push(t),t.flags|=1),om()}function Vd(t,e,i=Ki+1){for(;iPa(i)-Pa(o));if(ps.length=0,Ir){Ir.push(...e);return}for(Ir=e,as=0;ast.id==null?t.flags&2?-1:1/0:t.id;function sm(t){try{for(Ki=0;Ki{o._d&&Qd(-1);const s=cu(e);let u;try{u=t(...c)}finally{cu(s),o._d&&Qd(1)}return u};return o._n=!0,o._c=!0,o._d=!0,o}function On(t,e){if(Sn===null)return t;const i=Pu(Sn),o=t.dirs||(t.dirs=[]);for(let c=0;ct.__isTeleport,Fr=Symbol("_leaveCb"),Zl=Symbol("_enterCb");function X0(){const t={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return Cn(()=>{t.isMounted=!0}),Yi(()=>{t.isUnmounting=!0}),t}const wi=[Function,Array],um={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:wi,onEnter:wi,onAfterEnter:wi,onEnterCancelled:wi,onBeforeLeave:wi,onLeave:wi,onAfterLeave:wi,onLeaveCancelled:wi,onBeforeAppear:wi,onAppear:wi,onAfterAppear:wi,onAppearCancelled:wi},cm=t=>{const e=t.subTree;return e.component?cm(e.component):e},Q0={name:"BaseTransition",props:um,setup(t,{slots:e}){const i=$m(),o=X0();return()=>{const c=e.default&&pm(e.default(),!0);if(!c||!c.length)return;const s=hm(c),u=Fe(t),{mode:f}=u;if(o.isLeaving)return Gc(s);const _=Gd(s);if(!_)return Gc(s);let v=mh(_,u,o,i,B=>v=B);_.type!==Un&&Ba(_,v);const b=i.subTree,w=b&&Gd(b);if(w&&w.type!==Un&&!fo(_,w)&&cm(i).type!==Un){const B=mh(w,u,o,i);if(Ba(w,B),f==="out-in"&&_.type!==Un)return o.isLeaving=!0,B.afterLeave=()=>{o.isLeaving=!1,i.job.flags&8||i.update(),delete B.afterLeave},Gc(s);f==="in-out"&&_.type!==Un&&(B.delayLeave=(A,F,V)=>{const ot=dm(o,w);ot[String(w.key)]=w,A[Fr]=()=>{F(),A[Fr]=void 0,delete v.delayedLeave},v.delayedLeave=V})}return s}}};function hm(t){let e=t[0];if(t.length>1){for(const i of t)if(i.type!==Un){e=i;break}}return e}const ty=Q0;function dm(t,e){const{leavingVNodes:i}=t;let o=i.get(e.type);return o||(o=Object.create(null),i.set(e.type,o)),o}function mh(t,e,i,o,c){const{appear:s,mode:u,persisted:f=!1,onBeforeEnter:_,onEnter:v,onAfterEnter:b,onEnterCancelled:w,onBeforeLeave:B,onLeave:A,onAfterLeave:F,onLeaveCancelled:V,onBeforeAppear:ot,onAppear:rt,onAfterAppear:Q,onAppearCancelled:z}=e,tt=String(t.key),pt=dm(i,t),Tt=(Lt,Dt)=>{Lt&&Fi(Lt,o,9,Dt)},Ft=(Lt,Dt)=>{const qt=Dt[1];Tt(Lt,Dt),he(Lt)?Lt.every(At=>At.length<=1)&&qt():Lt.length<=1&&qt()},Mt={mode:u,persisted:f,beforeEnter(Lt){let Dt=_;if(!i.isMounted)if(s)Dt=ot||_;else return;Lt[Fr]&&Lt[Fr](!0);const qt=pt[tt];qt&&fo(t,qt)&&qt.el[Fr]&&qt.el[Fr](),Tt(Dt,[Lt])},enter(Lt){let Dt=v,qt=b,At=w;if(!i.isMounted)if(s)Dt=rt||v,qt=Q||b,At=z||w;else return;let ae=!1;const Ce=Lt[Zl]=Ue=>{ae||(ae=!0,Ue?Tt(At,[Lt]):Tt(qt,[Lt]),Mt.delayedLeave&&Mt.delayedLeave(),Lt[Zl]=void 0)};Dt?Ft(Dt,[Lt,Ce]):Ce()},leave(Lt,Dt){const qt=String(t.key);if(Lt[Zl]&&Lt[Zl](!0),i.isUnmounting)return Dt();Tt(B,[Lt]);let At=!1;const ae=Lt[Fr]=Ce=>{At||(At=!0,Dt(),Ce?Tt(V,[Lt]):Tt(F,[Lt]),Lt[Fr]=void 0,pt[qt]===t&&delete pt[qt])};pt[qt]=t,A?Ft(A,[Lt,ae]):ae()},clone(Lt){const Dt=mh(Lt,e,i,o,c);return c&&c(Dt),Dt}};return Mt}function Gc(t){if(Eu(t))return t=Gr(t),t.children=null,t}function Gd(t){if(!Eu(t))return lm(t.type)&&t.children?hm(t.children):t;const{shapeFlag:e,children:i}=t;if(i){if(e&16)return i[0];if(e&32&&ye(i.default))return i.default()}}function Ba(t,e){t.shapeFlag&6&&t.component?(t.transition=e,Ba(t.component.subTree,e)):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}function pm(t,e=!1,i){let o=[],c=0;for(let s=0;s1)for(let s=0;shu(F,e&&(he(e)?e[V]:e),i,o,c));return}if(yo(o)&&!c)return;const s=o.shapeFlag&4?Pu(o.component):o.el,u=c?null:s,{i:f,r:_}=t,v=e&&e.r,b=f.refs===We?f.refs={}:f.refs,w=f.setupState,B=Fe(w),A=w===We?()=>!1:F=>Ge(B,F);if(v!=null&&v!==_&&(an(v)?(b[v]=null,A(v)&&(w[v]=null)):mn(v)&&(v.value=null)),ye(_))Za(_,f,12,[u,b]);else{const F=an(_),V=mn(_);if(F||V){const ot=()=>{if(t.f){const rt=F?A(_)?w[_]:b[_]:_.value;c?he(rt)&&Kh(rt,s):he(rt)?rt.includes(s)||rt.push(s):F?(b[_]=[s],A(_)&&(w[_]=b[_])):(_.value=[s],t.k&&(b[t.k]=_.value))}else F?(b[_]=u,A(_)&&(w[_]=u)):V&&(_.value=u,t.k&&(b[t.k]=u))};u?(ot.id=-1,hi(ot,i)):ot()}}}let Ud=!1;const rs=()=>{Ud||(console.error("Hydration completed but contains mismatches."),Ud=!0)},ey=t=>t.namespaceURI.includes("svg")&&t.tagName!=="foreignObject",ny=t=>t.namespaceURI.includes("MathML"),ql=t=>{if(t.nodeType===1){if(ey(t))return"svg";if(ny(t))return"mathml"}},Kl=t=>t.nodeType===8;function iy(t){const{mt:e,p:i,o:{patchProp:o,createText:c,nextSibling:s,parentNode:u,remove:f,insert:_,createComment:v}}=t,b=(z,tt)=>{if(!tt.hasChildNodes()){i(null,z,tt),uu(),tt._vnode=z;return}w(tt.firstChild,z,null,null,null),uu(),tt._vnode=z},w=(z,tt,pt,Tt,Ft,Mt=!1)=>{Mt=Mt||!!tt.dynamicChildren;const Lt=Kl(z)&&z.data==="[",Dt=()=>V(z,tt,pt,Tt,Ft,Lt),{type:qt,ref:At,shapeFlag:ae,patchFlag:Ce}=tt;let Ue=z.nodeType;tt.el=z,Ce===-2&&(Mt=!1,tt.dynamicChildren=null);let Ht=null;switch(qt){case bo:Ue!==3?tt.children===""?(_(tt.el=c(""),u(z),z),Ht=z):Ht=Dt():(z.data!==tt.children&&(rs(),z.data=tt.children),Ht=s(z));break;case Un:Q(z)?(Ht=s(z),rt(tt.el=z.content.firstChild,z,pt)):Ue!==8||Lt?Ht=Dt():Ht=s(z);break;case va:if(Lt&&(z=s(z),Ue=z.nodeType),Ue===1||Ue===3){Ht=z;const ie=!tt.children.length;for(let Et=0;Et{Mt=Mt||!!tt.dynamicChildren;const{type:Lt,props:Dt,patchFlag:qt,shapeFlag:At,dirs:ae,transition:Ce}=tt,Ue=Lt==="input"||Lt==="option";if(Ue||qt!==-1){ae&&Wi(tt,null,pt,"created");let Ht=!1;if(Q(z)){Ht=Om(null,Ce)&&pt&&pt.vnode.props&&pt.vnode.props.appear;const Et=z.content.firstChild;Ht&&Ce.beforeEnter(Et),rt(Et,z,pt),tt.el=z=Et}if(At&16&&!(Dt&&(Dt.innerHTML||Dt.textContent))){let Et=A(z.firstChild,tt,z,pt,Tt,Ft,Mt);for(;Et;){Wl(z,1)||rs();const Qe=Et;Et=Et.nextSibling,f(Qe)}}else if(At&8){let Et=tt.children;Et[0]===` +`&&(z.tagName==="PRE"||z.tagName==="TEXTAREA")&&(Et=Et.slice(1)),z.textContent!==Et&&(Wl(z,0)||rs(),z.textContent=tt.children)}if(Dt){if(Ue||!Mt||qt&48){const Et=z.tagName.includes("-");for(const Qe in Dt)(Ue&&(Qe.endsWith("value")||Qe==="indeterminate")||Ga(Qe)&&!ds(Qe)||Qe[0]==="."||Et)&&o(z,Qe,null,Dt[Qe],void 0,pt)}else if(Dt.onClick)o(z,"onClick",null,Dt.onClick,void 0,pt);else if(qt&4&&fr(Dt.style))for(const Et in Dt.style)Dt.style[Et]}let ie;(ie=Dt&&Dt.onVnodeBeforeMount)&&Li(ie,pt,tt),ae&&Wi(tt,null,pt,"beforeMount"),((ie=Dt&&Dt.onVnodeMounted)||ae||Ht)&&zm(()=>{ie&&Li(ie,pt,tt),Ht&&Ce.enter(z),ae&&Wi(tt,null,pt,"mounted")},Tt)}return z.nextSibling},A=(z,tt,pt,Tt,Ft,Mt,Lt)=>{Lt=Lt||!!tt.dynamicChildren;const Dt=tt.children,qt=Dt.length;for(let At=0;At{const{slotScopeIds:Lt}=tt;Lt&&(Ft=Ft?Ft.concat(Lt):Lt);const Dt=u(z),qt=A(s(z),tt,Dt,pt,Tt,Ft,Mt);return qt&&Kl(qt)&&qt.data==="]"?s(tt.anchor=qt):(rs(),_(tt.anchor=v("]"),Dt,qt),qt)},V=(z,tt,pt,Tt,Ft,Mt)=>{if(Wl(z.parentElement,1)||rs(),tt.el=null,Mt){const qt=ot(z);for(;;){const At=s(z);if(At&&At!==qt)f(At);else break}}const Lt=s(z),Dt=u(z);return f(z),i(null,tt,Dt,Lt,pt,Tt,ql(Dt),Ft),Lt},ot=(z,tt="[",pt="]")=>{let Tt=0;for(;z;)if(z=s(z),z&&Kl(z)&&(z.data===tt&&Tt++,z.data===pt)){if(Tt===0)return s(z);Tt--}return z},rt=(z,tt,pt)=>{const Tt=tt.parentNode;Tt&&Tt.replaceChild(z,tt);let Ft=pt;for(;Ft;)Ft.vnode.el===tt&&(Ft.vnode.el=Ft.subTree.el=z),Ft=Ft.parent},Q=z=>z.nodeType===1&&z.tagName==="TEMPLATE";return[b,w]}const $d="data-allow-mismatch",ry={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Wl(t,e){if(e===0||e===1)for(;t&&!t.hasAttribute($d);)t=t.parentElement;const i=t&&t.getAttribute($d);if(i==null)return!1;if(i==="")return!0;{const o=i.split(",");return e===0&&o.includes("children")?!0:i.split(",").includes(ry[e])}}Lu().requestIdleCallback;Lu().cancelIdleCallback;const yo=t=>!!t.type.__asyncLoader,Eu=t=>t.type.__isKeepAlive;function oy(t,e){mm(t,"a",e)}function sy(t,e){mm(t,"da",e)}function mm(t,e,i=An){const o=t.__wdc||(t.__wdc=()=>{let c=i;for(;c;){if(c.isDeactivated)return;c=c.parent}return t()});if(Mu(e,o,i),i){let c=i.parent;for(;c&&c.parent;)Eu(c.parent.vnode)&&ay(o,e,i,c),c=c.parent}}function ay(t,e,i,o){const c=Mu(e,t,o,!0);yr(()=>{Kh(o[e],c)},i)}function Mu(t,e,i=An,o=!1){if(i){const c=i[t]||(i[t]=[]),s=e.__weh||(e.__weh=(...u)=>{$r();const f=Ka(i),_=Fi(e,i,t,u);return f(),Hr(),_});return o?c.unshift(s):c.push(s),s}}const gr=t=>(e,i=An)=>{(!Oa||t==="sp")&&Mu(t,(...o)=>e(...o),i)},_m=gr("bm"),Cn=gr("m"),ly=gr("bu"),uy=gr("u"),Yi=gr("bum"),yr=gr("um"),sd=gr("sp"),cy=gr("rtg"),hy=gr("rtc");function dy(t,e=An){Mu("ec",t,e)}const gm="components";function dt(t,e){return vm(gm,t,!0,e)||t}const ym=Symbol.for("v-ndc");function Eo(t){return an(t)?vm(gm,t,!1)||t:t||ym}function vm(t,e,i=!0,o=!1){const c=Sn||An;if(c){const s=c.type;{const f=Yy(s,!1);if(f&&(f===e||f===Si(e)||f===wu(Si(e))))return s}const u=Hd(c[t]||s[t],e)||Hd(c.appContext[t],e);return!u&&o?s:u}}function Hd(t,e){return t&&(t[e]||t[Si(e)]||t[wu(Si(e))])}function de(t,e,i,o){let c;const s=i,u=he(t);if(u||an(t)){const f=u&&fr(t);let _=!1;f&&(_=!Ei(t),t=Cu(t)),c=new Array(t.length);for(let v=0,b=t.length;ve(f,_,void 0,s));else{const f=Object.keys(t);c=new Array(f.length);for(let _=0,v=f.length;_Aa(e)?!(e.type===Un||e.type===jt&&!bm(e.children)):!0)?t:null}const _h=t=>t?Hm(t)?Pu(t):_h(t.parent):null,ya=wn(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=>_h(t.parent),$root:t=>_h(t.root),$host:t=>t.ce,$emit:t=>t.emit,$options:t=>ad(t),$forceUpdate:t=>t.f||(t.f=()=>{od(t.update)}),$nextTick:t=>t.n||(t.n=qa.bind(t.proxy)),$watch:t=>Dy.bind(t)}),Uc=(t,e)=>t!==We&&!t.__isScriptSetup&&Ge(t,e),py={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:i,setupState:o,data:c,props:s,accessCache:u,type:f,appContext:_}=t;let v;if(e[0]!=="$"){const A=u[e];if(A!==void 0)switch(A){case 1:return o[e];case 2:return c[e];case 4:return i[e];case 3:return s[e]}else{if(Uc(o,e))return u[e]=1,o[e];if(c!==We&&Ge(c,e))return u[e]=2,c[e];if((v=t.propsOptions[0])&&Ge(v,e))return u[e]=3,s[e];if(i!==We&&Ge(i,e))return u[e]=4,i[e];gh&&(u[e]=0)}}const b=ya[e];let w,B;if(b)return e==="$attrs"&&Vn(t.attrs,"get",""),b(t);if((w=f.__cssModules)&&(w=w[e]))return w;if(i!==We&&Ge(i,e))return u[e]=4,i[e];if(B=_.config.globalProperties,Ge(B,e))return B[e]},set({_:t},e,i){const{data:o,setupState:c,ctx:s}=t;return Uc(c,e)?(c[e]=i,!0):o!==We&&Ge(o,e)?(o[e]=i,!0):Ge(t.props,e)||e[0]==="$"&&e.slice(1)in t?!1:(s[e]=i,!0)},has({_:{data:t,setupState:e,accessCache:i,ctx:o,appContext:c,propsOptions:s}},u){let f;return!!i[u]||t!==We&&Ge(t,u)||Uc(e,u)||(f=s[0])&&Ge(f,u)||Ge(o,u)||Ge(ya,u)||Ge(c.config.globalProperties,u)},defineProperty(t,e,i){return i.get!=null?t._.accessCache[e]=0:Ge(i,"value")&&this.set(t,e,i.value,null),Reflect.defineProperty(t,e,i)}};function fy(){return my().slots}function my(){const t=$m();return t.setupContext||(t.setupContext=qm(t))}function Zd(t){return he(t)?t.reduce((e,i)=>(e[i]=null,e),{}):t}let gh=!0;function _y(t){const e=ad(t),i=t.proxy,o=t.ctx;gh=!1,e.beforeCreate&&qd(e.beforeCreate,t,"bc");const{data:c,computed:s,methods:u,watch:f,provide:_,inject:v,created:b,beforeMount:w,mounted:B,beforeUpdate:A,updated:F,activated:V,deactivated:ot,beforeDestroy:rt,beforeUnmount:Q,destroyed:z,unmounted:tt,render:pt,renderTracked:Tt,renderTriggered:Ft,errorCaptured:Mt,serverPrefetch:Lt,expose:Dt,inheritAttrs:qt,components:At,directives:ae,filters:Ce}=e;if(v&&gy(v,o,null),u)for(const ie in u){const Et=u[ie];ye(Et)&&(o[ie]=Et.bind(i))}if(c){const ie=c.call(i,i);Je(ie)&&(t.data=Ha(ie))}if(gh=!0,s)for(const ie in s){const Et=s[ie],Qe=ye(Et)?Et.bind(i,i):ye(Et.get)?Et.get.bind(i,i):Ji,oe=!ye(Et)&&ye(Et.set)?Et.set.bind(i):Ji,Se=Jt({get:Qe,set:oe});Object.defineProperty(o,ie,{enumerable:!0,configurable:!0,get:()=>Se.value,set:je=>Se.value=je})}if(f)for(const ie in f)xm(f[ie],o,i,ie);if(_){const ie=ye(_)?_.call(i):_;Reflect.ownKeys(ie).forEach(Et=>{Yl(Et,ie[Et])})}b&&qd(b,t,"c");function Ht(ie,Et){he(Et)?Et.forEach(Qe=>ie(Qe.bind(i))):Et&&ie(Et.bind(i))}if(Ht(_m,w),Ht(Cn,B),Ht(ly,A),Ht(uy,F),Ht(oy,V),Ht(sy,ot),Ht(dy,Mt),Ht(hy,Tt),Ht(cy,Ft),Ht(Yi,Q),Ht(yr,tt),Ht(sd,Lt),he(Dt))if(Dt.length){const ie=t.exposed||(t.exposed={});Dt.forEach(Et=>{Object.defineProperty(ie,Et,{get:()=>i[Et],set:Qe=>i[Et]=Qe})})}else t.exposed||(t.exposed={});pt&&t.render===Ji&&(t.render=pt),qt!=null&&(t.inheritAttrs=qt),At&&(t.components=At),ae&&(t.directives=ae),Lt&&fm(t)}function gy(t,e,i=Ji){he(t)&&(t=yh(t));for(const o in t){const c=t[o];let s;Je(c)?"default"in c?s=Mi(c.from||o,c.default,!0):s=Mi(c.from||o):s=Mi(c),mn(s)?Object.defineProperty(e,o,{enumerable:!0,configurable:!0,get:()=>s.value,set:u=>s.value=u}):e[o]=s}}function qd(t,e,i){Fi(he(t)?t.map(o=>o.bind(e.proxy)):t.bind(e.proxy),e,i)}function xm(t,e,i,o){let c=o.includes(".")?Fm(i,o):()=>i[o];if(an(t)){const s=e[t];ye(s)&&xn(c,s)}else if(ye(t))xn(c,t.bind(i));else if(Je(t))if(he(t))t.forEach(s=>xm(s,e,i,o));else{const s=ye(t.handler)?t.handler.bind(i):e[t.handler];ye(s)&&xn(c,s,t)}}function ad(t){const e=t.type,{mixins:i,extends:o}=e,{mixins:c,optionsCache:s,config:{optionMergeStrategies:u}}=t.appContext,f=s.get(e);let _;return f?_=f:!c.length&&!i&&!o?_=e:(_={},c.length&&c.forEach(v=>du(_,v,u,!0)),du(_,e,u)),Je(e)&&s.set(e,_),_}function du(t,e,i,o=!1){const{mixins:c,extends:s}=e;s&&du(t,s,i,!0),c&&c.forEach(u=>du(t,u,i,!0));for(const u in e)if(!(o&&u==="expose")){const f=yy[u]||i&&i[u];t[u]=f?f(t[u],e[u]):e[u]}return t}const yy={data:Kd,props:Wd,emits:Wd,methods:pa,computed:pa,beforeCreate:Kn,created:Kn,beforeMount:Kn,mounted:Kn,beforeUpdate:Kn,updated:Kn,beforeDestroy:Kn,beforeUnmount:Kn,destroyed:Kn,unmounted:Kn,activated:Kn,deactivated:Kn,errorCaptured:Kn,serverPrefetch:Kn,components:pa,directives:pa,watch:by,provide:Kd,inject:vy};function Kd(t,e){return e?t?function(){return wn(ye(t)?t.call(this,this):t,ye(e)?e.call(this,this):e)}:e:t}function vy(t,e){return pa(yh(t),yh(e))}function yh(t){if(he(t)){const e={};for(let i=0;i1)return i&&ye(e)?e.call(o&&o.proxy):e}}function Ly(){return!!(An||Sn||vo)}const Lm={},Cm=()=>Object.create(Lm),km=t=>Object.getPrototypeOf(t)===Lm;function Cy(t,e,i,o=!1){const c={},s=Cm();t.propsDefaults=Object.create(null),Em(t,e,c,s);for(const u in t.propsOptions[0])u in c||(c[u]=void 0);i?t.props=o?c:tm(c):t.type.props?t.props=c:t.props=s,t.attrs=s}function ky(t,e,i,o){const{props:c,attrs:s,vnode:{patchFlag:u}}=t,f=Fe(c),[_]=t.propsOptions;let v=!1;if((o||u>0)&&!(u&16)){if(u&8){const b=t.vnode.dynamicProps;for(let w=0;w{_=!0;const[B,A]=Mm(w,e,!0);wn(u,B),A&&f.push(...A)};!i&&e.mixins.length&&e.mixins.forEach(b),t.extends&&b(t.extends),t.mixins&&t.mixins.forEach(b)}if(!s&&!_)return Je(t)&&o.set(t,cs),cs;if(he(s))for(let b=0;bt[0]==="_"||t==="$stable",ld=t=>he(t)?t.map(Ci):[Ci(t)],My=(t,e,i)=>{if(e._n)return e;const o=nt((...c)=>ld(e(...c)),i);return o._c=!1,o},Pm=(t,e,i)=>{const o=t._ctx;for(const c in t){if(Sm(c))continue;const s=t[c];if(ye(s))e[c]=My(c,s,o);else if(s!=null){const u=ld(s);e[c]=()=>u}}},Bm=(t,e)=>{const i=ld(e);t.slots.default=()=>i},Tm=(t,e,i)=>{for(const o in e)(i||o!=="_")&&(t[o]=e[o])},Sy=(t,e,i)=>{const o=t.slots=Cm();if(t.vnode.shapeFlag&32){const c=e._;c?(Tm(o,e,i),i&&Of(o,"_",c,!0)):Pm(e,o)}else e&&Bm(t,e)},Py=(t,e,i)=>{const{vnode:o,slots:c}=t;let s=!0,u=We;if(o.shapeFlag&32){const f=e._;f?i&&f===1?s=!1:Tm(c,e,i):(s=!e.$stable,Pm(e,c)),u=e}else e&&(Bm(t,e),u={default:1});if(s)for(const f in c)!Sm(f)&&u[f]==null&&delete c[f]},hi=zm;function By(t){return Am(t)}function Ty(t){return Am(t,iy)}function Am(t,e){const i=Lu();i.__VUE__=!0;const{insert:o,remove:c,patchProp:s,createElement:u,createText:f,createComment:_,setText:v,setElementText:b,parentNode:w,nextSibling:B,setScopeId:A=Ji,insertStaticContent:F}=t,V=(G,q,ft,St=null,wt=null,Pt=null,$t=void 0,Vt=null,Nt=!!q.dynamicChildren)=>{if(G===q)return;G&&!fo(G,q)&&(St=xt(G),je(G,wt,Pt,!0),G=null),q.patchFlag===-2&&(Nt=!1,q.dynamicChildren=null);const{type:Rt,ref:ce,shapeFlag:Wt}=q;switch(Rt){case bo:ot(G,q,ft,St);break;case Un:rt(G,q,ft,St);break;case va:G==null&&Q(q,ft,St,$t);break;case jt:At(G,q,ft,St,wt,Pt,$t,Vt,Nt);break;default:Wt&1?pt(G,q,ft,St,wt,Pt,$t,Vt,Nt):Wt&6?ae(G,q,ft,St,wt,Pt,$t,Vt,Nt):(Wt&64||Wt&128)&&Rt.process(G,q,ft,St,wt,Pt,$t,Vt,Nt,ee)}ce!=null&&wt&&hu(ce,G&&G.ref,Pt,q||G,!q)},ot=(G,q,ft,St)=>{if(G==null)o(q.el=f(q.children),ft,St);else{const wt=q.el=G.el;q.children!==G.children&&v(wt,q.children)}},rt=(G,q,ft,St)=>{G==null?o(q.el=_(q.children||""),ft,St):q.el=G.el},Q=(G,q,ft,St)=>{[G.el,G.anchor]=F(G.children,q,ft,St,G.el,G.anchor)},z=({el:G,anchor:q},ft,St)=>{let wt;for(;G&&G!==q;)wt=B(G),o(G,ft,St),G=wt;o(q,ft,St)},tt=({el:G,anchor:q})=>{let ft;for(;G&&G!==q;)ft=B(G),c(G),G=ft;c(q)},pt=(G,q,ft,St,wt,Pt,$t,Vt,Nt)=>{q.type==="svg"?$t="svg":q.type==="math"&&($t="mathml"),G==null?Tt(q,ft,St,wt,Pt,$t,Vt,Nt):Lt(G,q,wt,Pt,$t,Vt,Nt)},Tt=(G,q,ft,St,wt,Pt,$t,Vt)=>{let Nt,Rt;const{props:ce,shapeFlag:Wt,transition:re,dirs:pe}=G;if(Nt=G.el=u(G.type,Pt,ce&&ce.is,ce),Wt&8?b(Nt,G.children):Wt&16&&Mt(G.children,Nt,null,St,wt,$c(G,Pt),$t,Vt),pe&&Wi(G,null,St,"created"),Ft(Nt,G,G.scopeId,$t,St),ce){for(const ze in ce)ze!=="value"&&!ds(ze)&&s(Nt,ze,null,ce[ze],Pt,St);"value"in ce&&s(Nt,"value",null,ce.value,Pt),(Rt=ce.onVnodeBeforeMount)&&Li(Rt,St,G)}pe&&Wi(G,null,St,"beforeMount");const Ee=Om(wt,re);Ee&&re.beforeEnter(Nt),o(Nt,q,ft),((Rt=ce&&ce.onVnodeMounted)||Ee||pe)&&hi(()=>{Rt&&Li(Rt,St,G),Ee&&re.enter(Nt),pe&&Wi(G,null,St,"mounted")},wt)},Ft=(G,q,ft,St,wt)=>{if(ft&&A(G,ft),St)for(let Pt=0;Pt{for(let Rt=Nt;Rt{const Vt=q.el=G.el;let{patchFlag:Nt,dynamicChildren:Rt,dirs:ce}=q;Nt|=G.patchFlag&16;const Wt=G.props||We,re=q.props||We;let pe;if(ft&&lo(ft,!1),(pe=re.onVnodeBeforeUpdate)&&Li(pe,ft,q,G),ce&&Wi(q,G,ft,"beforeUpdate"),ft&&lo(ft,!0),(Wt.innerHTML&&re.innerHTML==null||Wt.textContent&&re.textContent==null)&&b(Vt,""),Rt?Dt(G.dynamicChildren,Rt,Vt,ft,St,$c(q,wt),Pt):$t||Et(G,q,Vt,null,ft,St,$c(q,wt),Pt,!1),Nt>0){if(Nt&16)qt(Vt,Wt,re,ft,wt);else if(Nt&2&&Wt.class!==re.class&&s(Vt,"class",null,re.class,wt),Nt&4&&s(Vt,"style",Wt.style,re.style,wt),Nt&8){const Ee=q.dynamicProps;for(let ze=0;ze{pe&&Li(pe,ft,q,G),ce&&Wi(q,G,ft,"updated")},St)},Dt=(G,q,ft,St,wt,Pt,$t)=>{for(let Vt=0;Vt{if(q!==ft){if(q!==We)for(const Pt in q)!ds(Pt)&&!(Pt in ft)&&s(G,Pt,q[Pt],null,wt,St);for(const Pt in ft){if(ds(Pt))continue;const $t=ft[Pt],Vt=q[Pt];$t!==Vt&&Pt!=="value"&&s(G,Pt,Vt,$t,wt,St)}"value"in ft&&s(G,"value",q.value,ft.value,wt)}},At=(G,q,ft,St,wt,Pt,$t,Vt,Nt)=>{const Rt=q.el=G?G.el:f(""),ce=q.anchor=G?G.anchor:f("");let{patchFlag:Wt,dynamicChildren:re,slotScopeIds:pe}=q;pe&&(Vt=Vt?Vt.concat(pe):pe),G==null?(o(Rt,ft,St),o(ce,ft,St),Mt(q.children||[],ft,ce,wt,Pt,$t,Vt,Nt)):Wt>0&&Wt&64&&re&&G.dynamicChildren?(Dt(G.dynamicChildren,re,ft,wt,Pt,$t,Vt),(q.key!=null||wt&&q===wt.subTree)&&Rm(G,q,!0)):Et(G,q,ft,ce,wt,Pt,$t,Vt,Nt)},ae=(G,q,ft,St,wt,Pt,$t,Vt,Nt)=>{q.slotScopeIds=Vt,G==null?q.shapeFlag&512?wt.ctx.activate(q,ft,St,$t,Nt):Ce(q,ft,St,wt,Pt,$t,Nt):Ue(G,q,Nt)},Ce=(G,q,ft,St,wt,Pt,$t)=>{const Vt=G.component=qy(G,St,wt);if(Eu(G)&&(Vt.ctx.renderer=ee),Ky(Vt,!1,$t),Vt.asyncDep){if(wt&&wt.registerDep(Vt,Ht,$t),!G.el){const Nt=Vt.subTree=X(Un);rt(null,Nt,q,ft)}}else Ht(Vt,G,q,ft,wt,Pt,$t)},Ue=(G,q,ft)=>{const St=q.component=G.component;if(zy(G,q,ft))if(St.asyncDep&&!St.asyncResolved){ie(St,q,ft);return}else St.next=q,St.update();else q.el=G.el,St.vnode=q},Ht=(G,q,ft,St,wt,Pt,$t)=>{const Vt=()=>{if(G.isMounted){let{next:Wt,bu:re,u:pe,parent:Ee,vnode:ze}=G;{const Pn=Dm(G);if(Pn){Wt&&(Wt.el=ze.el,ie(G,Wt,$t)),Pn.asyncDep.then(()=>{G.isUnmounted||Vt()});return}}let Re=Wt,kn;lo(G,!1),Wt?(Wt.el=ze.el,ie(G,Wt,$t)):Wt=ze,re&&Jl(re),(kn=Wt.props&&Wt.props.onVnodeBeforeUpdate)&&Li(kn,Ee,Wt,ze),lo(G,!0);const dn=Hc(G),gn=G.subTree;G.subTree=dn,V(gn,dn,w(gn.el),xt(gn),G,wt,Pt),Wt.el=dn.el,Re===null&&Vy(G,dn.el),pe&&hi(pe,wt),(kn=Wt.props&&Wt.props.onVnodeUpdated)&&hi(()=>Li(kn,Ee,Wt,ze),wt)}else{let Wt;const{el:re,props:pe}=q,{bm:Ee,m:ze,parent:Re,root:kn,type:dn}=G,gn=yo(q);if(lo(G,!1),Ee&&Jl(Ee),!gn&&(Wt=pe&&pe.onVnodeBeforeMount)&&Li(Wt,Re,q),lo(G,!0),re&&Ne){const Pn=()=>{G.subTree=Hc(G),Ne(re,G.subTree,G,wt,null)};gn&&dn.__asyncHydrate?dn.__asyncHydrate(re,G,Pn):Pn()}else{kn.ce&&kn.ce._injectChildStyle(dn);const Pn=G.subTree=Hc(G);V(null,Pn,ft,St,G,wt,Pt),q.el=Pn.el}if(ze&&hi(ze,wt),!gn&&(Wt=pe&&pe.onVnodeMounted)){const Pn=q;hi(()=>Li(Wt,Re,Pn),wt)}(q.shapeFlag&256||Re&&yo(Re.vnode)&&Re.vnode.shapeFlag&256)&&G.a&&hi(G.a,wt),G.isMounted=!0,q=ft=St=null}};G.scope.on();const Nt=G.effect=new zf(Vt);G.scope.off();const Rt=G.update=Nt.run.bind(Nt),ce=G.job=Nt.runIfDirty.bind(Nt);ce.i=G,ce.id=G.uid,Nt.scheduler=()=>od(ce),lo(G,!0),Rt()},ie=(G,q,ft)=>{q.component=G;const St=G.vnode.props;G.vnode=q,G.next=null,ky(G,q.props,St,ft),Py(G,q.children,ft),$r(),Vd(G),Hr()},Et=(G,q,ft,St,wt,Pt,$t,Vt,Nt=!1)=>{const Rt=G&&G.children,ce=G?G.shapeFlag:0,Wt=q.children,{patchFlag:re,shapeFlag:pe}=q;if(re>0){if(re&128){oe(Rt,Wt,ft,St,wt,Pt,$t,Vt,Nt);return}else if(re&256){Qe(Rt,Wt,ft,St,wt,Pt,$t,Vt,Nt);return}}pe&8?(ce&16&&me(Rt,wt,Pt),Wt!==Rt&&b(ft,Wt)):ce&16?pe&16?oe(Rt,Wt,ft,St,wt,Pt,$t,Vt,Nt):me(Rt,wt,Pt,!0):(ce&8&&b(ft,""),pe&16&&Mt(Wt,ft,St,wt,Pt,$t,Vt,Nt))},Qe=(G,q,ft,St,wt,Pt,$t,Vt,Nt)=>{G=G||cs,q=q||cs;const Rt=G.length,ce=q.length,Wt=Math.min(Rt,ce);let re;for(re=0;rece?me(G,wt,Pt,!0,!1,Wt):Mt(q,ft,St,wt,Pt,$t,Vt,Nt,Wt)},oe=(G,q,ft,St,wt,Pt,$t,Vt,Nt)=>{let Rt=0;const ce=q.length;let Wt=G.length-1,re=ce-1;for(;Rt<=Wt&&Rt<=re;){const pe=G[Rt],Ee=q[Rt]=Nt?Nr(q[Rt]):Ci(q[Rt]);if(fo(pe,Ee))V(pe,Ee,ft,null,wt,Pt,$t,Vt,Nt);else break;Rt++}for(;Rt<=Wt&&Rt<=re;){const pe=G[Wt],Ee=q[re]=Nt?Nr(q[re]):Ci(q[re]);if(fo(pe,Ee))V(pe,Ee,ft,null,wt,Pt,$t,Vt,Nt);else break;Wt--,re--}if(Rt>Wt){if(Rt<=re){const pe=re+1,Ee=pere)for(;Rt<=Wt;)je(G[Rt],wt,Pt,!0),Rt++;else{const pe=Rt,Ee=Rt,ze=new Map;for(Rt=Ee;Rt<=re;Rt++){const Bn=q[Rt]=Nt?Nr(q[Rt]):Ci(q[Rt]);Bn.key!=null&&ze.set(Bn.key,Rt)}let Re,kn=0;const dn=re-Ee+1;let gn=!1,Pn=0;const mi=new Array(dn);for(Rt=0;Rt=dn){je(Bn,wt,Pt,!0);continue}let yn;if(Bn.key!=null)yn=ze.get(Bn.key);else for(Re=Ee;Re<=re;Re++)if(mi[Re-Ee]===0&&fo(Bn,q[Re])){yn=Re;break}yn===void 0?je(Bn,wt,Pt,!0):(mi[yn-Ee]=Rt+1,yn>=Pn?Pn=yn:gn=!0,V(Bn,q[yn],ft,null,wt,Pt,$t,Vt,Nt),kn++)}const Pi=gn?Ay(mi):cs;for(Re=Pi.length-1,Rt=dn-1;Rt>=0;Rt--){const Bn=Ee+Rt,yn=q[Bn],Po=Bn+1{const{el:Pt,type:$t,transition:Vt,children:Nt,shapeFlag:Rt}=G;if(Rt&6){Se(G.component.subTree,q,ft,St);return}if(Rt&128){G.suspense.move(q,ft,St);return}if(Rt&64){$t.move(G,q,ft,ee);return}if($t===jt){o(Pt,q,ft);for(let Wt=0;WtVt.enter(Pt),wt);else{const{leave:Wt,delayLeave:re,afterLeave:pe}=Vt,Ee=()=>o(Pt,q,ft),ze=()=>{Wt(Pt,()=>{Ee(),pe&&pe()})};re?re(Pt,Ee,ze):ze()}else o(Pt,q,ft)},je=(G,q,ft,St=!1,wt=!1)=>{const{type:Pt,props:$t,ref:Vt,children:Nt,dynamicChildren:Rt,shapeFlag:ce,patchFlag:Wt,dirs:re,cacheIndex:pe}=G;if(Wt===-2&&(wt=!1),Vt!=null&&hu(Vt,null,ft,G,!0),pe!=null&&(q.renderCache[pe]=void 0),ce&256){q.ctx.deactivate(G);return}const Ee=ce&1&&re,ze=!yo(G);let Re;if(ze&&(Re=$t&&$t.onVnodeBeforeUnmount)&&Li(Re,q,G),ce&6)Be(G.component,ft,St);else{if(ce&128){G.suspense.unmount(ft,St);return}Ee&&Wi(G,null,q,"beforeUnmount"),ce&64?G.type.remove(G,q,ft,ee,St):Rt&&!Rt.hasOnce&&(Pt!==jt||Wt>0&&Wt&64)?me(Rt,q,ft,!1,!0):(Pt===jt&&Wt&384||!wt&&ce&16)&&me(Nt,q,ft),St&&rn(G)}(ze&&(Re=$t&&$t.onVnodeUnmounted)||Ee)&&hi(()=>{Re&&Li(Re,q,G),Ee&&Wi(G,null,q,"unmounted")},ft)},rn=G=>{const{type:q,el:ft,anchor:St,transition:wt}=G;if(q===jt){$e(ft,St);return}if(q===va){tt(G);return}const Pt=()=>{c(ft),wt&&!wt.persisted&&wt.afterLeave&&wt.afterLeave()};if(G.shapeFlag&1&&wt&&!wt.persisted){const{leave:$t,delayLeave:Vt}=wt,Nt=()=>$t(ft,Pt);Vt?Vt(G.el,Pt,Nt):Nt()}else Pt()},$e=(G,q)=>{let ft;for(;G!==q;)ft=B(G),c(G),G=ft;c(q)},Be=(G,q,ft)=>{const{bum:St,scope:wt,job:Pt,subTree:$t,um:Vt,m:Nt,a:Rt}=G;Yd(Nt),Yd(Rt),St&&Jl(St),wt.stop(),Pt&&(Pt.flags|=8,je($t,G,q,ft)),Vt&&hi(Vt,q),hi(()=>{G.isUnmounted=!0},q),q&&q.pendingBranch&&!q.isUnmounted&&G.asyncDep&&!G.asyncResolved&&G.suspenseId===q.pendingId&&(q.deps--,q.deps===0&&q.resolve())},me=(G,q,ft,St=!1,wt=!1,Pt=0)=>{for(let $t=Pt;$t{if(G.shapeFlag&6)return xt(G.component.subTree);if(G.shapeFlag&128)return G.suspense.next();const q=B(G.anchor||G.el),ft=q&&q[Y0];return ft?B(ft):q};let Zt=!1;const Gt=(G,q,ft)=>{G==null?q._vnode&&je(q._vnode,null,null,!0):V(q._vnode||null,G,q,null,null,null,ft),q._vnode=G,Zt||(Zt=!0,Vd(),uu(),Zt=!1)},ee={p:V,um:je,m:Se,r:rn,mt:Ce,mc:Mt,pc:Et,pbc:Dt,n:xt,o:t};let Pe,Ne;return e&&([Pe,Ne]=e(ee)),{render:Gt,hydrate:Pe,createApp:wy(Gt,Pe)}}function $c({type:t,props:e},i){return i==="svg"&&t==="foreignObject"||i==="mathml"&&t==="annotation-xml"&&e&&e.encoding&&e.encoding.includes("html")?void 0:i}function lo({effect:t,job:e},i){i?(t.flags|=32,e.flags|=4):(t.flags&=-33,e.flags&=-5)}function Om(t,e){return(!t||t&&!t.pendingBranch)&&e&&!e.persisted}function Rm(t,e,i=!1){const o=t.children,c=e.children;if(he(o)&&he(c))for(let s=0;s>1,t[i[f]]0&&(e[o]=i[s-1]),i[s]=o)}}for(s=i.length,u=i[s-1];s-- >0;)i[s]=u,u=e[u];return i}function Dm(t){const e=t.subTree.component;if(e)return e.asyncDep&&!e.asyncResolved?e:Dm(e)}function Yd(t){if(t)for(let e=0;eMi(Oy);function xn(t,e,i){return Im(t,e,i)}function Im(t,e,i=We){const{immediate:o,deep:c,flush:s,once:u}=i,f=wn({},i),_=e&&o||!e&&s!=="post";let v;if(Oa){if(s==="sync"){const A=Ry();v=A.__watcherHandles||(A.__watcherHandles=[])}else if(!_){const A=()=>{};return A.stop=Ji,A.resume=Ji,A.pause=Ji,A}}const b=An;f.call=(A,F,V)=>Fi(A,b,F,V);let w=!1;s==="post"?f.scheduler=A=>{hi(A,b&&b.suspense)}:s!=="sync"&&(w=!0,f.scheduler=(A,F)=>{F?A():od(A)}),f.augmentJob=A=>{e&&(A.flags|=4),w&&(A.flags|=2,b&&(A.id=b.uid,A.i=b))};const B=q0(t,e,f);return Oa&&(v?v.push(B):_&&B()),B}function Dy(t,e,i){const o=this.proxy,c=an(t)?t.includes(".")?Fm(o,t):()=>o[t]:t.bind(o,o);let s;ye(e)?s=e:(s=e.handler,i=e);const u=Ka(this),f=Im(c,s.bind(o),i);return u(),f}function Fm(t,e){const i=e.split(".");return()=>{let o=t;for(let c=0;ce==="modelValue"||e==="model-value"?t.modelModifiers:t[`${e}Modifiers`]||t[`${Si(e)}Modifiers`]||t[`${Ur(e)}Modifiers`];function Fy(t,e,...i){if(t.isUnmounted)return;const o=t.vnode.props||We;let c=i;const s=e.startsWith("update:"),u=s&&Iy(o,e.slice(7));u&&(u.trim&&(c=i.map(b=>an(b)?b.trim():b)),u.number&&(c=i.map(ou)));let f,_=o[f=Fc(e)]||o[f=Fc(Si(e))];!_&&s&&(_=o[f=Fc(Ur(e))]),_&&Fi(_,t,6,c);const v=o[f+"Once"];if(v){if(!t.emitted)t.emitted={};else if(t.emitted[f])return;t.emitted[f]=!0,Fi(v,t,6,c)}}function Nm(t,e,i=!1){const o=e.emitsCache,c=o.get(t);if(c!==void 0)return c;const s=t.emits;let u={},f=!1;if(!ye(t)){const _=v=>{const b=Nm(v,e,!0);b&&(f=!0,wn(u,b))};!i&&e.mixins.length&&e.mixins.forEach(_),t.extends&&_(t.extends),t.mixins&&t.mixins.forEach(_)}return!s&&!f?(Je(t)&&o.set(t,null),null):(he(s)?s.forEach(_=>u[_]=null):wn(u,s),Je(t)&&o.set(t,u),u)}function Su(t,e){return!t||!Ga(e)?!1:(e=e.slice(2).replace(/Once$/,""),Ge(t,e[0].toLowerCase()+e.slice(1))||Ge(t,Ur(e))||Ge(t,e))}function Hc(t){const{type:e,vnode:i,proxy:o,withProxy:c,propsOptions:[s],slots:u,attrs:f,emit:_,render:v,renderCache:b,props:w,data:B,setupState:A,ctx:F,inheritAttrs:V}=t,ot=cu(t);let rt,Q;try{if(i.shapeFlag&4){const tt=c||o,pt=tt;rt=Ci(v.call(pt,tt,b,w,A,B,F)),Q=f}else{const tt=e;rt=Ci(tt.length>1?tt(w,{attrs:f,slots:u,emit:_}):tt(w,null)),Q=e.props?f:Ny(f)}}catch(tt){ba.length=0,ku(tt,t,1),rt=X(Un)}let z=rt;if(Q&&V!==!1){const tt=Object.keys(Q),{shapeFlag:pt}=z;tt.length&&pt&7&&(s&&tt.some(qh)&&(Q=jy(Q,s)),z=Gr(z,Q,!1,!0))}return i.dirs&&(z=Gr(z,null,!1,!0),z.dirs=z.dirs?z.dirs.concat(i.dirs):i.dirs),i.transition&&Ba(z,i.transition),rt=z,cu(ot),rt}const Ny=t=>{let e;for(const i in t)(i==="class"||i==="style"||Ga(i))&&((e||(e={}))[i]=t[i]);return e},jy=(t,e)=>{const i={};for(const o in t)(!qh(o)||!(o.slice(9)in e))&&(i[o]=t[o]);return i};function zy(t,e,i){const{props:o,children:c,component:s}=t,{props:u,children:f,patchFlag:_}=e,v=s.emitsOptions;if(e.dirs||e.transition)return!0;if(i&&_>=0){if(_&1024)return!0;if(_&16)return o?Xd(o,u,v):!!u;if(_&8){const b=e.dynamicProps;for(let w=0;wt.__isSuspense;function zm(t,e){e&&e.pendingBranch?he(t)?e.effects.push(...t):e.effects.push(t):J0(t)}const jt=Symbol.for("v-fgt"),bo=Symbol.for("v-txt"),Un=Symbol.for("v-cmt"),va=Symbol.for("v-stc"),ba=[];let di=null;function P(t=!1){ba.push(di=t?null:[])}function Gy(){ba.pop(),di=ba[ba.length-1]||null}let Ta=1;function Qd(t){Ta+=t,t<0&&di&&(di.hasOnce=!0)}function Vm(t){return t.dynamicChildren=Ta>0?di||cs:null,Gy(),Ta>0&&di&&di.push(t),t}function Z(t,e,i,o,c,s){return Vm($(t,e,i,o,c,s,!0))}function bt(t,e,i,o,c){return Vm(X(t,e,i,o,c,!0))}function Aa(t){return t?t.__v_isVNode===!0:!1}function fo(t,e){return t.type===e.type&&t.key===e.key}const Gm=({key:t})=>t??null,Xl=({ref:t,ref_key:e,ref_for:i})=>(typeof t=="number"&&(t=""+t),t!=null?an(t)||mn(t)||ye(t)?{i:Sn,r:t,k:e,f:!!i}:t:null);function $(t,e=null,i=null,o=0,c=null,s=t===jt?0:1,u=!1,f=!1){const _={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Gm(e),ref:e&&Xl(e),scopeId:am,slotScopeIds:null,children:i,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:s,patchFlag:o,dynamicProps:c,dynamicChildren:null,appContext:null,ctx:Sn};return f?(ud(_,i),s&128&&t.normalize(_)):i&&(_.shapeFlag|=an(i)?8:16),Ta>0&&!u&&di&&(_.patchFlag>0||s&6)&&_.patchFlag!==32&&di.push(_),_}const X=Uy;function Uy(t,e=null,i=null,o=0,c=null,s=!1){if((!t||t===ym)&&(t=Un),Aa(t)){const f=Gr(t,e,!0);return i&&ud(f,i),Ta>0&&!s&&di&&(f.shapeFlag&6?di[di.indexOf(t)]=f:di.push(f)),f.patchFlag=-2,f}if(Xy(t)&&(t=t.__vccOpts),e){e=pu(e);let{class:f,style:_}=e;f&&!an(f)&&(e.class=en(f)),Je(_)&&(id(_)&&!he(_)&&(_=wn({},_)),e.style=ki(_))}const u=an(t)?1:jm(t)?128:lm(t)?64:Je(t)?4:ye(t)?2:0;return $(t,e,i,o,c,u,s,!0)}function pu(t){return t?id(t)||km(t)?wn({},t):t:null}function Gr(t,e,i=!1,o=!1){const{props:c,ref:s,patchFlag:u,children:f,transition:_}=t,v=e?Um(c||{},e):c,b={__v_isVNode:!0,__v_skip:!0,type:t.type,props:v,key:v&&Gm(v),ref:e&&e.ref?i&&s?he(s)?s.concat(Xl(e)):[s,Xl(e)]:Xl(e):s,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:f,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==jt?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:_,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&Gr(t.ssContent),ssFallback:t.ssFallback&&Gr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return _&&o&&Ba(b,_.clone(b)),b}function Xt(t=" ",e=0){return X(bo,null,t,e)}function $y(t,e){const i=X(va,null,t);return i.staticCount=e,i}function Ot(t="",e=!1){return e?(P(),bt(Un,null,t)):X(Un,null,t)}function Ci(t){return t==null||typeof t=="boolean"?X(Un):he(t)?X(jt,null,t.slice()):Aa(t)?Nr(t):X(bo,null,String(t))}function Nr(t){return t.el===null&&t.patchFlag!==-1||t.memo?t:Gr(t)}function ud(t,e){let i=0;const{shapeFlag:o}=t;if(e==null)e=null;else if(he(e))i=16;else if(typeof e=="object")if(o&65){const c=e.default;c&&(c._c&&(c._d=!1),ud(t,c()),c._c&&(c._d=!0));return}else{i=32;const c=e._;!c&&!km(e)?e._ctx=Sn:c===3&&Sn&&(Sn.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else ye(e)?(e={default:e,_ctx:Sn},i=32):(e=String(e),o&64?(i=16,e=[Xt(e)]):i=8);t.children=e,t.shapeFlag|=i}function Um(...t){const e={};for(let i=0;iAn||Sn;let fu,bh;{const t=Lu(),e=(i,o)=>{let c;return(c=t[i])||(c=t[i]=[]),c.push(o),s=>{c.length>1?c.forEach(u=>u(s)):c[0](s)}};fu=e("__VUE_INSTANCE_SETTERS__",i=>An=i),bh=e("__VUE_SSR_SETTERS__",i=>Oa=i)}const Ka=t=>{const e=An;return fu(t),t.scope.on(),()=>{t.scope.off(),fu(e)}},tp=()=>{An&&An.scope.off(),fu(null)};function Hm(t){return t.vnode.shapeFlag&4}let Oa=!1;function Ky(t,e=!1,i=!1){e&&bh(e);const{props:o,children:c}=t.vnode,s=Hm(t);Cy(t,o,s,e),Sy(t,c,i);const u=s?Wy(t,e):void 0;return e&&bh(!1),u}function Wy(t,e){const i=t.type;t.accessCache=Object.create(null),t.proxy=new Proxy(t.ctx,py);const{setup:o}=i;if(o){$r();const c=t.setupContext=o.length>1?qm(t):null,s=Ka(t),u=Za(o,t,0,[t.props,c]),f=Bf(u);if(Hr(),s(),(f||t.sp)&&!yo(t)&&fm(t),f){if(u.then(tp,tp),e)return u.then(_=>{ep(t,_,e)}).catch(_=>{ku(_,t,0)});t.asyncDep=u}else ep(t,u,e)}else Zm(t,e)}function ep(t,e,i){ye(e)?t.type.__ssrInlineRender?t.ssrRender=e:t.render=e:Je(e)&&(t.setupState=im(e)),Zm(t,i)}let np;function Zm(t,e,i){const o=t.type;if(!t.render){if(!e&&np&&!o.render){const c=o.template||ad(t).template;if(c){const{isCustomElement:s,compilerOptions:u}=t.appContext.config,{delimiters:f,compilerOptions:_}=o,v=wn(wn({isCustomElement:s,delimiters:f},u),_);o.render=np(c,v)}}t.render=o.render||Ji}{const c=Ka(t);$r();try{_y(t)}finally{Hr(),c()}}}const Jy={get(t,e){return Vn(t,"get",""),t[e]}};function qm(t){const e=i=>{t.exposed=i||{}};return{attrs:new Proxy(t.attrs,Jy),slots:t.slots,emit:t.emit,expose:e}}function Pu(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(im(rd(t.exposed)),{get(e,i){if(i in e)return e[i];if(i in ya)return ya[i](t)},has(e,i){return i in e||i in ya}})):t.proxy}function Yy(t,e=!0){return ye(t)?t.displayName||t.name:t.name||e&&t.__name}function Xy(t){return ye(t)&&"__vccOpts"in t}const Jt=(t,e)=>H0(t,e,Oa);function cd(t,e,i){const o=arguments.length;return o===2?Je(e)&&!he(e)?Aa(e)?X(t,null,[e]):X(t,e):X(t,null,e):(o>3?i=Array.prototype.slice.call(arguments,2):o===3&&Aa(i)&&(i=[i]),X(t,e,i))}const Qy="3.5.12";/** +* @vue/runtime-dom v3.5.12 +* (c) 2018-present Yuxi (Evan) You and Vue contributors +* @license MIT +**/let xh;const ip=typeof window<"u"&&window.trustedTypes;if(ip)try{xh=ip.createPolicy("vue",{createHTML:t=>t})}catch{}const Km=xh?t=>xh.createHTML(t):t=>t,tv="http://www.w3.org/2000/svg",ev="http://www.w3.org/1998/Math/MathML",hr=typeof document<"u"?document:null,rp=hr&&hr.createElement("template"),nv={insert:(t,e,i)=>{e.insertBefore(t,i||null)},remove:t=>{const e=t.parentNode;e&&e.removeChild(t)},createElement:(t,e,i,o)=>{const c=e==="svg"?hr.createElementNS(tv,t):e==="mathml"?hr.createElementNS(ev,t):i?hr.createElement(t,{is:i}):hr.createElement(t);return t==="select"&&o&&o.multiple!=null&&c.setAttribute("multiple",o.multiple),c},createText:t=>hr.createTextNode(t),createComment:t=>hr.createComment(t),setText:(t,e)=>{t.nodeValue=e},setElementText:(t,e)=>{t.textContent=e},parentNode:t=>t.parentNode,nextSibling:t=>t.nextSibling,querySelector:t=>hr.querySelector(t),setScopeId(t,e){t.setAttribute(e,"")},insertStaticContent(t,e,i,o,c,s){const u=i?i.previousSibling:e.lastChild;if(c&&(c===s||c.nextSibling))for(;e.insertBefore(c.cloneNode(!0),i),!(c===s||!(c=c.nextSibling)););else{rp.innerHTML=Km(o==="svg"?`${t}`:o==="mathml"?`${t}`:t);const f=rp.content;if(o==="svg"||o==="mathml"){const _=f.firstChild;for(;_.firstChild;)f.appendChild(_.firstChild);f.removeChild(_)}e.insertBefore(f,i)}return[u?u.nextSibling:e.firstChild,i?i.previousSibling:e.lastChild]}},Br="transition",la="animation",Ra=Symbol("_vtc"),Wm={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},iv=wn({},um,Wm),rv=t=>(t.displayName="Transition",t.props=iv,t),Bu=rv((t,{slots:e})=>cd(ty,ov(t),e)),uo=(t,e=[])=>{he(t)?t.forEach(i=>i(...e)):t&&t(...e)},op=t=>t?he(t)?t.some(e=>e.length>1):t.length>1:!1;function ov(t){const e={};for(const At in t)At in Wm||(e[At]=t[At]);if(t.css===!1)return e;const{name:i="v",type:o,duration:c,enterFromClass:s=`${i}-enter-from`,enterActiveClass:u=`${i}-enter-active`,enterToClass:f=`${i}-enter-to`,appearFromClass:_=s,appearActiveClass:v=u,appearToClass:b=f,leaveFromClass:w=`${i}-leave-from`,leaveActiveClass:B=`${i}-leave-active`,leaveToClass:A=`${i}-leave-to`}=t,F=sv(c),V=F&&F[0],ot=F&&F[1],{onBeforeEnter:rt,onEnter:Q,onEnterCancelled:z,onLeave:tt,onLeaveCancelled:pt,onBeforeAppear:Tt=rt,onAppear:Ft=Q,onAppearCancelled:Mt=z}=e,Lt=(At,ae,Ce)=>{co(At,ae?b:f),co(At,ae?v:u),Ce&&Ce()},Dt=(At,ae)=>{At._isLeaving=!1,co(At,w),co(At,A),co(At,B),ae&&ae()},qt=At=>(ae,Ce)=>{const Ue=At?Ft:Q,Ht=()=>Lt(ae,At,Ce);uo(Ue,[ae,Ht]),sp(()=>{co(ae,At?_:s),Tr(ae,At?b:f),op(Ue)||ap(ae,o,V,Ht)})};return wn(e,{onBeforeEnter(At){uo(rt,[At]),Tr(At,s),Tr(At,u)},onBeforeAppear(At){uo(Tt,[At]),Tr(At,_),Tr(At,v)},onEnter:qt(!1),onAppear:qt(!0),onLeave(At,ae){At._isLeaving=!0;const Ce=()=>Dt(At,ae);Tr(At,w),Tr(At,B),uv(),sp(()=>{At._isLeaving&&(co(At,w),Tr(At,A),op(tt)||ap(At,o,ot,Ce))}),uo(tt,[At,Ce])},onEnterCancelled(At){Lt(At,!1),uo(z,[At])},onAppearCancelled(At){Lt(At,!0),uo(Mt,[At])},onLeaveCancelled(At){Dt(At),uo(pt,[At])}})}function sv(t){if(t==null)return null;if(Je(t))return[Zc(t.enter),Zc(t.leave)];{const e=Zc(t);return[e,e]}}function Zc(t){return c0(t)}function Tr(t,e){e.split(/\s+/).forEach(i=>i&&t.classList.add(i)),(t[Ra]||(t[Ra]=new Set)).add(e)}function co(t,e){e.split(/\s+/).forEach(o=>o&&t.classList.remove(o));const i=t[Ra];i&&(i.delete(e),i.size||(t[Ra]=void 0))}function sp(t){requestAnimationFrame(()=>{requestAnimationFrame(t)})}let av=0;function ap(t,e,i,o){const c=t._endId=++av,s=()=>{c===t._endId&&o()};if(i!=null)return setTimeout(s,i);const{type:u,timeout:f,propCount:_}=lv(t,e);if(!u)return o();const v=u+"end";let b=0;const w=()=>{t.removeEventListener(v,B),s()},B=A=>{A.target===t&&++b>=_&&w()};setTimeout(()=>{b<_&&w()},f+1),t.addEventListener(v,B)}function lv(t,e){const i=window.getComputedStyle(t),o=F=>(i[F]||"").split(", "),c=o(`${Br}Delay`),s=o(`${Br}Duration`),u=lp(c,s),f=o(`${la}Delay`),_=o(`${la}Duration`),v=lp(f,_);let b=null,w=0,B=0;e===Br?u>0&&(b=Br,w=u,B=s.length):e===la?v>0&&(b=la,w=v,B=_.length):(w=Math.max(u,v),b=w>0?u>v?Br:la:null,B=b?b===Br?s.length:_.length:0);const A=b===Br&&/\b(transform|all)(,|$)/.test(o(`${Br}Property`).toString());return{type:b,timeout:w,propCount:B,hasTransform:A}}function lp(t,e){for(;t.lengthup(i)+up(t[o])))}function up(t){return t==="auto"?0:Number(t.slice(0,-1).replace(",","."))*1e3}function uv(){return document.body.offsetHeight}function cv(t,e,i){const o=t[Ra];o&&(e=(e?[e,...o]:[...o]).join(" ")),e==null?t.removeAttribute("class"):i?t.setAttribute("class",e):t.className=e}const mu=Symbol("_vod"),Jm=Symbol("_vsh"),Tu={beforeMount(t,{value:e},{transition:i}){t[mu]=t.style.display==="none"?"":t.style.display,i&&e?i.beforeEnter(t):ua(t,e)},mounted(t,{value:e},{transition:i}){i&&e&&i.enter(t)},updated(t,{value:e,oldValue:i},{transition:o}){!e!=!i&&(o?e?(o.beforeEnter(t),ua(t,!0),o.enter(t)):o.leave(t,()=>{ua(t,!1)}):ua(t,e))},beforeUnmount(t,{value:e}){ua(t,e)}};function ua(t,e){t.style.display=e?t[mu]:"none",t[Jm]=!e}const hv=Symbol(""),dv=/(^|;)\s*display\s*:/;function pv(t,e,i){const o=t.style,c=an(i);let s=!1;if(i&&!c){if(e)if(an(e))for(const u of e.split(";")){const f=u.slice(0,u.indexOf(":")).trim();i[f]==null&&Ql(o,f,"")}else for(const u in e)i[u]==null&&Ql(o,u,"");for(const u in i)u==="display"&&(s=!0),Ql(o,u,i[u])}else if(c){if(e!==i){const u=o[hv];u&&(i+=";"+u),o.cssText=i,s=dv.test(i)}}else e&&t.removeAttribute("style");mu in t&&(t[mu]=s?o.display:"",t[Jm]&&(o.display="none"))}const cp=/\s*!important$/;function Ql(t,e,i){if(he(i))i.forEach(o=>Ql(t,e,o));else if(i==null&&(i=""),e.startsWith("--"))t.setProperty(e,i);else{const o=fv(t,e);cp.test(i)?t.setProperty(Ur(o),i.replace(cp,""),"important"):t[o]=i}}const hp=["Webkit","Moz","ms"],qc={};function fv(t,e){const i=qc[e];if(i)return i;let o=Si(e);if(o!=="filter"&&o in t)return qc[e]=o;o=wu(o);for(let c=0;cKc||(yv.then(()=>Kc=0),Kc=Date.now());function bv(t,e){const i=o=>{if(!o._vts)o._vts=Date.now();else if(o._vts<=i.attached)return;Fi(xv(o,i.value),e,5,[o])};return i.value=t,i.attached=vv(),i}function xv(t,e){if(he(e)){const i=t.stopImmediatePropagation;return t.stopImmediatePropagation=()=>{i.call(t),t._stopped=!0},e.map(o=>c=>!c._stopped&&o&&o(c))}else return e}const gp=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)>96&&t.charCodeAt(2)<123,wv=(t,e,i,o,c,s)=>{const u=c==="svg";e==="class"?cv(t,o,u):e==="style"?pv(t,i,o):Ga(e)?qh(e)||_v(t,e,i,o,s):(e[0]==="."?(e=e.slice(1),!0):e[0]==="^"?(e=e.slice(1),!1):Lv(t,e,o,u))?(fp(t,e,o),!t.tagName.includes("-")&&(e==="value"||e==="checked"||e==="selected")&&pp(t,e,o,u,s,e!=="value")):t._isVueCE&&(/[A-Z]/.test(e)||!an(o))?fp(t,Si(e),o,s,e):(e==="true-value"?t._trueValue=o:e==="false-value"&&(t._falseValue=o),pp(t,e,o,u))};function Lv(t,e,i,o){if(o)return!!(e==="innerHTML"||e==="textContent"||e in t&&gp(e)&&ye(i));if(e==="spellcheck"||e==="draggable"||e==="translate"||e==="form"||e==="list"&&t.tagName==="INPUT"||e==="type"&&t.tagName==="TEXTAREA")return!1;if(e==="width"||e==="height"){const c=t.tagName;if(c==="IMG"||c==="VIDEO"||c==="CANVAS"||c==="SOURCE")return!1}return gp(e)&&an(i)?!1:e in t}const ms=t=>{const e=t.props["onUpdate:modelValue"]||!1;return he(e)?i=>Jl(e,i):e};function Cv(t){t.target.composing=!0}function yp(t){const e=t.target;e.composing&&(e.composing=!1,e.dispatchEvent(new Event("input")))}const mr=Symbol("_assign"),hd={created(t,{modifiers:{lazy:e,trim:i,number:o}},c){t[mr]=ms(c);const s=o||c.props&&c.props.type==="number";zr(t,e?"change":"input",u=>{if(u.target.composing)return;let f=t.value;i&&(f=f.trim()),s&&(f=ou(f)),t[mr](f)}),i&&zr(t,"change",()=>{t.value=t.value.trim()}),e||(zr(t,"compositionstart",Cv),zr(t,"compositionend",yp),zr(t,"change",yp))},mounted(t,{value:e}){t.value=e??""},beforeUpdate(t,{value:e,oldValue:i,modifiers:{lazy:o,trim:c,number:s}},u){if(t[mr]=ms(u),t.composing)return;const f=(s||t.type==="number")&&!/^0\d/.test(t.value)?ou(t.value):t.value,_=e??"";f!==_&&(document.activeElement===t&&t.type!=="range"&&(o&&e===i||c&&t.value.trim()===_)||(t.value=_))}},vs={deep:!0,created(t,e,i){t[mr]=ms(i),zr(t,"change",()=>{const o=t._modelValue,c=Da(t),s=t.checked,u=t[mr];if(he(o)){const f=Jh(o,c),_=f!==-1;if(s&&!_)u(o.concat(c));else if(!s&&_){const v=[...o];v.splice(f,1),u(v)}}else if(ys(o)){const f=new Set(o);s?f.add(c):f.delete(c),u(f)}else u(Ym(t,s))})},mounted:vp,beforeUpdate(t,e,i){t[mr]=ms(i),vp(t,e,i)}};function vp(t,{value:e,oldValue:i},o){t._modelValue=e;let c;if(he(e))c=Jh(e,o.props.value)>-1;else if(ys(e))c=e.has(o.props.value);else{if(e===i)return;c=$a(e,Ym(t,!0))}t.checked!==c&&(t.checked=c)}const Wa={deep:!0,created(t,{value:e,modifiers:{number:i}},o){const c=ys(e);zr(t,"change",()=>{const s=Array.prototype.filter.call(t.options,u=>u.selected).map(u=>i?ou(Da(u)):Da(u));t[mr](t.multiple?c?new Set(s):s:s[0]),t._assigning=!0,qa(()=>{t._assigning=!1})}),t[mr]=ms(o)},mounted(t,{value:e}){bp(t,e)},beforeUpdate(t,e,i){t[mr]=ms(i)},updated(t,{value:e}){t._assigning||bp(t,e)}};function bp(t,e){const i=t.multiple,o=he(e);if(!(i&&!o&&!ys(e))){for(let c=0,s=t.options.length;cString(v)===String(f)):u.selected=Jh(e,f)>-1}else u.selected=e.has(f);else if($a(Da(u),e)){t.selectedIndex!==c&&(t.selectedIndex=c);return}}!i&&t.selectedIndex!==-1&&(t.selectedIndex=-1)}}function Da(t){return"_value"in t?t._value:t.value}function Ym(t,e){const i=e?"_trueValue":"_falseValue";return i in t?t[i]:e}const kv=["ctrl","shift","alt","meta"],Ev={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,e)=>kv.some(i=>t[`${i}Key`]&&!e.includes(i))},Ia=(t,e)=>{const i=t._withMods||(t._withMods={}),o=e.join(".");return i[o]||(i[o]=(c,...s)=>{for(let u=0;u{const i=t._withKeys||(t._withKeys={}),o=e.join(".");return i[o]||(i[o]=c=>{if(!("key"in c))return;const s=Ur(c.key);if(e.some(u=>u===s||Mv[u]===s))return t(c)})},Qm=wn({patchProp:wv},nv);let xa,xp=!1;function Sv(){return xa||(xa=By(Qm))}function Pv(){return xa=xp?xa:Ty(Qm),xp=!0,xa}const Bv=(...t)=>{const e=Sv().createApp(...t),{mount:i}=e;return e.mount=o=>{const c=e_(o);if(!c)return;const s=e._component;!ye(s)&&!s.render&&!s.template&&(s.template=c.innerHTML),c.nodeType===1&&(c.textContent="");const u=i(c,!1,t_(c));return c instanceof Element&&(c.removeAttribute("v-cloak"),c.setAttribute("data-v-app","")),u},e},Tv=(...t)=>{const e=Pv().createApp(...t),{mount:i}=e;return e.mount=o=>{const c=e_(o);if(c)return i(c,!0,t_(c))},e};function t_(t){if(t instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&t instanceof MathMLElement)return"mathml"}function e_(t){return an(t)?document.querySelector(t):t}let Av;function Ov(){return Av}function dd(t,e={}){const i=e.head||Ov();return i==null?void 0:i.push(t,e)}const Rv=["title"],Dv={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"},Iv={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"},n_={__name:"SwitchTheme",setup(t){const e={dark:"dark",light:"light"},i=Ut(null);window!==void 0&&(localStorage.theme==="dark"||!("theme"in localStorage)&&window.matchMedia("(prefers-color-scheme: dark)").matches?i.value="dark":i.value="light",xn(i,(c,s)=>{document.documentElement.classList.add(c),document.documentElement.classList.remove(s),localStorage.setItem("theme",c)},{immediate:!0}));const o=()=>{i.value===e.dark?i.value=e.light:i.value=e.dark};return(c,s)=>(P(),Z("button",{type:"button",onClick:o,title:i.value===e.light?"Change to dark mode":"Change to light mode"},[i.value===e.dark?(P(),Z("svg",Dv,s[0]||(s[0]=[$("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)]))):(P(),Z("svg",Iv,s[1]||(s[1]=[$("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)])))],8,Rv))}};var Fv={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const Nv=["aria-expanded"],jv={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"},zv={class:"font-normal container mx-auto"},Vv={class:"flex flex-col m-0 p-0 border-t border-base-border"},Gv={__name:"NavbarMobile",setup(t){const{header_links:e}=Fv,i=Ut(!1),o=()=>{i.value=!i.value};return(c,s)=>{const u=dt("IconClose"),f=dt("IconHamburger"),_=dt("router-link"),v=dt("ClientOnly"),b=dt("TrackerReport"),w=dt("AnimationOpacity");return P(),Z(jt,null,[$("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":i.value,onClick:o},[s[0]||(s[0]=$("span",{class:"sr-only"},"Open main menu",-1)),i.value?(P(),bt(u,{key:0})):(P(),bt(f,{key:1,class:"w-6 h-6"}))],8,Nv),X(w,null,{default:nt(()=>[i.value?(P(),Z("div",jv,[$("nav",zv,[$("ul",Vv,[(P(!0),Z(jt,null,de(zt(e),(B,A)=>(P(),Z("li",{key:A,class:"border-b border-base-border"},[X(_,{to:B.link,class:"text-base-content w-full p-4 pt-3 pb-3 block box-border"},{default:nt(()=>[Xt(It(B.label),1)]),_:2},1032,["to"])]))),128)),$("li",null,[X(v,null,{default:nt(()=>[X(n_,{class:"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})]),_:1})]),$("li",null,[X(b,{icon:"","button-class":"text-base-content w-full p-4 pt-3 pb-3 block box-border border-b border-b-base-border"})])])])])):Ot("",!0)]),_:1})],64)}}};function Uv(t){try{return new URL(t),!0}catch{return!1}}var $v={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const Hv={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"},Zv={class:"container flex flex-wrap justify-between items-center mx-auto font-medium text-secondary-content"},qv=["src","alt"],Kv={class:"relative hidden md:flex items-center ml-auto"},Wv={class:"text-sm leading-6 font-normal"},Jv={class:"flex space-x-8"},Yv={class:"flex items-center border-l ml-6 pl-6 border-base-muted border-opacity-50"},Xv={class:"flex items-center ml-2 border-base-muted"},Qv={__name:"LayoutHeader",setup(t){const{header_links:e,header_logo_text:i,header_logo_url:o,base_url:c,project_name:s}=$v,u=Uv(o)?o:(c+o).replace("//","/");return(f,_)=>{const v=dt("RouterLink"),b=dt("router-link"),w=dt("ClientOnly"),B=dt("TrackerReport");return P(),Z("header",Hv,[$("div",Zv,[X(v,{to:"/",class:"flex items-center text-primary-content"},{default:nt(()=>[zt(o)?(P(),Z("img",{key:0,class:"mr-3 h-10",src:zt(u),alt:zt(i)},null,8,qv)):Ot("",!0),$("span",null,It(zt(i)||zt(s)),1)]),_:1}),X(Gv),$("div",Kv,[$("nav",Wv,[$("ul",Jv,[(P(!0),Z(jt,null,de(zt(e),(A,F)=>(P(),Z("li",{key:F},[X(b,{to:A.link,class:"hover:text-primary-content text-primary-content"},{default:nt(()=>[Xt(It(A.label),1)]),_:2},1032,["to"])]))),128))])]),$("div",Yv,[X(w,null,{default:nt(()=>[X(n_,{class:"text-primary-content"})]),_:1})]),$("div",Xv,[X(B,{icon:""})])])])])}}};/*! + * vue-router v4.4.5 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */const ls=typeof document<"u";function i_(t){return typeof t=="object"||"displayName"in t||"props"in t||"__vccOpts"in t}function tb(t){return t.__esModule||t[Symbol.toStringTag]==="Module"||t.default&&i_(t.default)}const He=Object.assign;function Wc(t,e){const i={};for(const o in e){const c=e[o];i[o]=Ni(c)?c.map(t):t(c)}return i}const wa=()=>{},Ni=Array.isArray,r_=/#/g,eb=/&/g,nb=/\//g,ib=/=/g,rb=/\?/g,o_=/\+/g,ob=/%5B/g,sb=/%5D/g,s_=/%5E/g,ab=/%60/g,a_=/%7B/g,lb=/%7C/g,l_=/%7D/g,ub=/%20/g;function pd(t){return encodeURI(""+t).replace(lb,"|").replace(ob,"[").replace(sb,"]")}function cb(t){return pd(t).replace(a_,"{").replace(l_,"}").replace(s_,"^")}function wh(t){return pd(t).replace(o_,"%2B").replace(ub,"+").replace(r_,"%23").replace(eb,"%26").replace(ab,"`").replace(a_,"{").replace(l_,"}").replace(s_,"^")}function hb(t){return wh(t).replace(ib,"%3D")}function db(t){return pd(t).replace(r_,"%23").replace(rb,"%3F")}function pb(t){return t==null?"":db(t).replace(nb,"%2F")}function Fa(t){try{return decodeURIComponent(""+t)}catch{}return""+t}const fb=/\/$/,mb=t=>t.replace(fb,"");function Jc(t,e,i="/"){let o,c={},s="",u="";const f=e.indexOf("#");let _=e.indexOf("?");return f<_&&f>=0&&(_=-1),_>-1&&(o=e.slice(0,_),s=e.slice(_+1,f>-1?f:e.length),c=t(s)),f>-1&&(o=o||e.slice(0,f),u=e.slice(f,e.length)),o=vb(o??e,i),{fullPath:o+(s&&"?")+s+u,path:o,query:c,hash:Fa(u)}}function _b(t,e){const i=e.query?t(e.query):"";return e.path+(i&&"?")+i+(e.hash||"")}function wp(t,e){return!e||!t.toLowerCase().startsWith(e.toLowerCase())?t:t.slice(e.length)||"/"}function gb(t,e,i){const o=e.matched.length-1,c=i.matched.length-1;return o>-1&&o===c&&_s(e.matched[o],i.matched[c])&&u_(e.params,i.params)&&t(e.query)===t(i.query)&&e.hash===i.hash}function _s(t,e){return(t.aliasOf||t)===(e.aliasOf||e)}function u_(t,e){if(Object.keys(t).length!==Object.keys(e).length)return!1;for(const i in t)if(!yb(t[i],e[i]))return!1;return!0}function yb(t,e){return Ni(t)?Lp(t,e):Ni(e)?Lp(e,t):t===e}function Lp(t,e){return Ni(e)?t.length===e.length&&t.every((i,o)=>i===e[o]):t.length===1&&t[0]===e}function vb(t,e){if(t.startsWith("/"))return t;if(!t)return e;const i=e.split("/"),o=t.split("/"),c=o[o.length-1];(c===".."||c===".")&&o.push("");let s=i.length-1,u,f;for(u=0;u1&&s--;else break;return i.slice(0,s).join("/")+"/"+o.slice(u).join("/")}const Ar={path:"/",name:void 0,params:{},query:{},hash:"",fullPath:"/",matched:[],meta:{},redirectedFrom:void 0};var Na;(function(t){t.pop="pop",t.push="push"})(Na||(Na={}));var La;(function(t){t.back="back",t.forward="forward",t.unknown=""})(La||(La={}));function bb(t){if(!t)if(ls){const e=document.querySelector("base");t=e&&e.getAttribute("href")||"/",t=t.replace(/^\w+:\/\/[^\/]+/,"")}else t="/";return t[0]!=="/"&&t[0]!=="#"&&(t="/"+t),mb(t)}const xb=/^[^#]+#/;function wb(t,e){return t.replace(xb,"#")+e}function Lb(t,e){const i=document.documentElement.getBoundingClientRect(),o=t.getBoundingClientRect();return{behavior:e.behavior,left:o.left-i.left-(e.left||0),top:o.top-i.top-(e.top||0)}}const Au=()=>({left:window.scrollX,top:window.scrollY});function Cb(t){let e;if("el"in t){const i=t.el,o=typeof i=="string"&&i.startsWith("#"),c=typeof i=="string"?o?document.getElementById(i.slice(1)):document.querySelector(i):i;if(!c)return;e=Lb(c,t)}else e=t;"scrollBehavior"in document.documentElement.style?window.scrollTo(e):window.scrollTo(e.left!=null?e.left:window.scrollX,e.top!=null?e.top:window.scrollY)}function Cp(t,e){return(history.state?history.state.position-e:-1)+t}const Lh=new Map;function kb(t,e){Lh.set(t,e)}function Eb(t){const e=Lh.get(t);return Lh.delete(t),e}let Mb=()=>location.protocol+"//"+location.host;function c_(t,e){const{pathname:i,search:o,hash:c}=e,s=t.indexOf("#");if(s>-1){let f=c.includes(t.slice(s))?t.slice(s).length:1,_=c.slice(f);return _[0]!=="/"&&(_="/"+_),wp(_,"")}return wp(i,t)+o+c}function Sb(t,e,i,o){let c=[],s=[],u=null;const f=({state:B})=>{const A=c_(t,location),F=i.value,V=e.value;let ot=0;if(B){if(i.value=A,e.value=B,u&&u===F){u=null;return}ot=V?B.position-V.position:0}else o(A);c.forEach(rt=>{rt(i.value,F,{delta:ot,type:Na.pop,direction:ot?ot>0?La.forward:La.back:La.unknown})})};function _(){u=i.value}function v(B){c.push(B);const A=()=>{const F=c.indexOf(B);F>-1&&c.splice(F,1)};return s.push(A),A}function b(){const{history:B}=window;B.state&&B.replaceState(He({},B.state,{scroll:Au()}),"")}function w(){for(const B of s)B();s=[],window.removeEventListener("popstate",f),window.removeEventListener("beforeunload",b)}return window.addEventListener("popstate",f),window.addEventListener("beforeunload",b,{passive:!0}),{pauseListeners:_,listen:v,destroy:w}}function kp(t,e,i,o=!1,c=!1){return{back:t,current:e,forward:i,replaced:o,position:window.history.length,scroll:c?Au():null}}function Pb(t){const{history:e,location:i}=window,o={value:c_(t,i)},c={value:e.state};c.value||s(o.value,{back:null,current:o.value,forward:null,position:e.length-1,replaced:!0,scroll:null},!0);function s(_,v,b){const w=t.indexOf("#"),B=w>-1?(i.host&&document.querySelector("base")?t:t.slice(w))+_:Mb()+t+_;try{e[b?"replaceState":"pushState"](v,"",B),c.value=v}catch(A){console.error(A),i[b?"replace":"assign"](B)}}function u(_,v){const b=He({},e.state,kp(c.value.back,_,c.value.forward,!0),v,{position:c.value.position});s(_,b,!0),o.value=_}function f(_,v){const b=He({},c.value,e.state,{forward:_,scroll:Au()});s(b.current,b,!0);const w=He({},kp(o.value,_,null),{position:b.position+1},v);s(_,w,!1),o.value=_}return{location:o,state:c,push:f,replace:u}}function h_(t){t=bb(t);const e=Pb(t),i=Sb(t,e.state,e.location,e.replace);function o(s,u=!0){u||i.pauseListeners(),history.go(s)}const c=He({location:"",base:t,go:o,createHref:wb.bind(null,t)},e,i);return Object.defineProperty(c,"location",{enumerable:!0,get:()=>e.location.value}),Object.defineProperty(c,"state",{enumerable:!0,get:()=>e.state.value}),c}function Bb(t){return t=location.host?t||location.pathname+location.search:"",t.includes("#")||(t+="#"),h_(t)}function Tb(t){return typeof t=="string"||t&&typeof t=="object"}function d_(t){return typeof t=="string"||typeof t=="symbol"}const p_=Symbol("");var Ep;(function(t){t[t.aborted=4]="aborted",t[t.cancelled=8]="cancelled",t[t.duplicated=16]="duplicated"})(Ep||(Ep={}));function gs(t,e){return He(new Error,{type:t,[p_]:!0},e)}function cr(t,e){return t instanceof Error&&p_ in t&&(e==null||!!(t.type&e))}const Mp="[^/]+?",Ab={sensitive:!1,strict:!1,start:!0,end:!0},Ob=/[.+*?^${}()[\]/\\]/g;function Rb(t,e){const i=He({},Ab,e),o=[];let c=i.start?"^":"";const s=[];for(const v of t){const b=v.length?[]:[90];i.strict&&!v.length&&(c+="/");for(let w=0;we.length?e.length===1&&e[0]===80?1:-1:0}function f_(t,e){let i=0;const o=t.score,c=e.score;for(;i0&&e[e.length-1]<0}const Ib={type:0,value:""},Fb=/[a-zA-Z0-9_]/;function Nb(t){if(!t)return[[]];if(t==="/")return[[Ib]];if(!t.startsWith("/"))throw new Error(`Invalid path "${t}"`);function e(A){throw new Error(`ERR (${i})/"${v}": ${A}`)}let i=0,o=i;const c=[];let s;function u(){s&&c.push(s),s=[]}let f=0,_,v="",b="";function w(){v&&(i===0?s.push({type:0,value:v}):i===1||i===2||i===3?(s.length>1&&(_==="*"||_==="+")&&e(`A repeatable param (${v}) must be alone in its segment. eg: '/:ids+.`),s.push({type:1,value:v,regexp:b,repeatable:_==="*"||_==="+",optional:_==="*"||_==="?"})):e("Invalid state to consume buffer"),v="")}function B(){v+=_}for(;f{u(z)}:wa}function u(w){if(d_(w)){const B=o.get(w);B&&(o.delete(w),i.splice(i.indexOf(B),1),B.children.forEach(u),B.alias.forEach(u))}else{const B=i.indexOf(w);B>-1&&(i.splice(B,1),w.record.name&&o.delete(w.record.name),w.children.forEach(u),w.alias.forEach(u))}}function f(){return i}function _(w){const B=Ub(w,i);i.splice(B,0,w),w.record.name&&!Tp(w)&&o.set(w.record.name,w)}function v(w,B){let A,F={},V,ot;if("name"in w&&w.name){if(A=o.get(w.name),!A)throw gs(1,{location:w});ot=A.record.name,F=He(Pp(B.params,A.keys.filter(z=>!z.optional).concat(A.parent?A.parent.keys.filter(z=>z.optional):[]).map(z=>z.name)),w.params&&Pp(w.params,A.keys.map(z=>z.name))),V=A.stringify(F)}else if(w.path!=null)V=w.path,A=i.find(z=>z.re.test(V)),A&&(F=A.parse(V),ot=A.record.name);else{if(A=B.name?o.get(B.name):i.find(z=>z.re.test(B.path)),!A)throw gs(1,{location:w,currentLocation:B});ot=A.record.name,F=He({},B.params,w.params),V=A.stringify(F)}const rt=[];let Q=A;for(;Q;)rt.unshift(Q.record),Q=Q.parent;return{name:ot,path:V,params:F,matched:rt,meta:Gb(rt)}}t.forEach(w=>s(w));function b(){i.length=0,o.clear()}return{addRoute:s,resolve:v,removeRoute:u,clearRoutes:b,getRoutes:f,getRecordMatcher:c}}function Pp(t,e){const i={};for(const o of e)o in t&&(i[o]=t[o]);return i}function Bp(t){const e={path:t.path,redirect:t.redirect,name:t.name,meta:t.meta||{},aliasOf:t.aliasOf,beforeEnter:t.beforeEnter,props:Vb(t),children:t.children||[],instances:{},leaveGuards:new Set,updateGuards:new Set,enterCallbacks:{},components:"components"in t?t.components||null:t.component&&{default:t.component}};return Object.defineProperty(e,"mods",{value:{}}),e}function Vb(t){const e={},i=t.props||!1;if("component"in t)e.default=i;else for(const o in t.components)e[o]=typeof i=="object"?i[o]:i;return e}function Tp(t){for(;t;){if(t.record.aliasOf)return!0;t=t.parent}return!1}function Gb(t){return t.reduce((e,i)=>He(e,i.meta),{})}function Ap(t,e){const i={};for(const o in t)i[o]=o in e?e[o]:t[o];return i}function Ub(t,e){let i=0,o=e.length;for(;i!==o;){const s=i+o>>1;f_(t,e[s])<0?o=s:i=s+1}const c=$b(t);return c&&(o=e.lastIndexOf(c,o-1)),o}function $b(t){let e=t;for(;e=e.parent;)if(m_(e)&&f_(t,e)===0)return e}function m_({record:t}){return!!(t.name||t.components&&Object.keys(t.components).length||t.redirect)}function Hb(t){const e={};if(t===""||t==="?")return e;const o=(t[0]==="?"?t.slice(1):t).split("&");for(let c=0;cs&&wh(s)):[o&&wh(o)]).forEach(s=>{s!==void 0&&(e+=(e.length?"&":"")+i,s!=null&&(e+="="+s))})}return e}function Zb(t){const e={};for(const i in t){const o=t[i];o!==void 0&&(e[i]=Ni(o)?o.map(c=>c==null?null:""+c):o==null?o:""+o)}return e}const qb=Symbol(""),Rp=Symbol(""),Ou=Symbol(""),fd=Symbol(""),Ch=Symbol("");function ca(){let t=[];function e(o){return t.push(o),()=>{const c=t.indexOf(o);c>-1&&t.splice(c,1)}}function i(){t=[]}return{add:e,list:()=>t.slice(),reset:i}}function jr(t,e,i,o,c,s=u=>u()){const u=o&&(o.enterCallbacks[c]=o.enterCallbacks[c]||[]);return()=>new Promise((f,_)=>{const v=B=>{B===!1?_(gs(4,{from:i,to:e})):B instanceof Error?_(B):Tb(B)?_(gs(2,{from:e,to:B})):(u&&o.enterCallbacks[c]===u&&typeof B=="function"&&u.push(B),f())},b=s(()=>t.call(o&&o.instances[c],e,i,v));let w=Promise.resolve(b);t.length<3&&(w=w.then(v)),w.catch(B=>_(B))})}function Yc(t,e,i,o,c=s=>s()){const s=[];for(const u of t)for(const f in u.components){let _=u.components[f];if(!(e!=="beforeRouteEnter"&&!u.instances[f]))if(i_(_)){const b=(_.__vccOpts||_)[e];b&&s.push(jr(b,i,o,u,f,c))}else{let v=_();s.push(()=>v.then(b=>{if(!b)throw new Error(`Couldn't resolve component "${f}" at "${u.path}"`);const w=tb(b)?b.default:b;u.mods[f]=b,u.components[f]=w;const A=(w.__vccOpts||w)[e];return A&&jr(A,i,o,u,f,c)()}))}}return s}function Dp(t){const e=Mi(Ou),i=Mi(fd),o=Jt(()=>{const _=zt(t.to);return e.resolve(_)}),c=Jt(()=>{const{matched:_}=o.value,{length:v}=_,b=_[v-1],w=i.matched;if(!b||!w.length)return-1;const B=w.findIndex(_s.bind(null,b));if(B>-1)return B;const A=Ip(_[v-2]);return v>1&&Ip(b)===A&&w[w.length-1].path!==A?w.findIndex(_s.bind(null,_[v-2])):B}),s=Jt(()=>c.value>-1&&Yb(i.params,o.value.params)),u=Jt(()=>c.value>-1&&c.value===i.matched.length-1&&u_(i.params,o.value.params));function f(_={}){return Jb(_)?e[zt(t.replace)?"replace":"push"](zt(t.to)).catch(wa):Promise.resolve()}return{route:o,href:Jt(()=>o.value.href),isActive:s,isExactActive:u,navigate:f}}const Kb=Oe({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:Dp,setup(t,{slots:e}){const i=Ha(Dp(t)),{options:o}=Mi(Ou),c=Jt(()=>({[Fp(t.activeClass,o.linkActiveClass,"router-link-active")]:i.isActive,[Fp(t.exactActiveClass,o.linkExactActiveClass,"router-link-exact-active")]:i.isExactActive}));return()=>{const s=e.default&&e.default(i);return t.custom?s:cd("a",{"aria-current":i.isExactActive?t.ariaCurrentValue:null,href:i.href,onClick:i.navigate,class:c.value},s)}}}),Wb=Kb;function Jb(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 e=t.currentTarget.getAttribute("target");if(/\b_blank\b/i.test(e))return}return t.preventDefault&&t.preventDefault(),!0}}function Yb(t,e){for(const i in e){const o=e[i],c=t[i];if(typeof o=="string"){if(o!==c)return!1}else if(!Ni(c)||c.length!==o.length||o.some((s,u)=>s!==c[u]))return!1}return!0}function Ip(t){return t?t.aliasOf?t.aliasOf.path:t.path:""}const Fp=(t,e,i)=>t??e??i,Xb=Oe({name:"RouterView",inheritAttrs:!1,props:{name:{type:String,default:"default"},route:Object},compatConfig:{MODE:3},setup(t,{attrs:e,slots:i}){const o=Mi(Ch),c=Jt(()=>t.route||o.value),s=Mi(Rp,0),u=Jt(()=>{let v=zt(s);const{matched:b}=c.value;let w;for(;(w=b[v])&&!w.components;)v++;return v}),f=Jt(()=>c.value.matched[u.value]);Yl(Rp,Jt(()=>u.value+1)),Yl(qb,f),Yl(Ch,c);const _=Ut();return xn(()=>[_.value,f.value,t.name],([v,b,w],[B,A,F])=>{b&&(b.instances[w]=v,A&&A!==b&&v&&v===B&&(b.leaveGuards.size||(b.leaveGuards=A.leaveGuards),b.updateGuards.size||(b.updateGuards=A.updateGuards))),v&&b&&(!A||!_s(b,A)||!B)&&(b.enterCallbacks[w]||[]).forEach(V=>V(v))},{flush:"post"}),()=>{const v=c.value,b=t.name,w=f.value,B=w&&w.components[b];if(!B)return Np(i.default,{Component:B,route:v});const A=w.props[b],F=A?A===!0?v.params:typeof A=="function"?A(v):A:null,ot=cd(B,He({},F,e,{onVnodeUnmounted:rt=>{rt.component.isUnmounted&&(w.instances[b]=null)},ref:_}));return Np(i.default,{Component:ot,route:v})||ot}}});function Np(t,e){if(!t)return null;const i=t(e);return i.length===1?i[0]:i}const Qb=Xb;function t1(t){const e=zb(t.routes,t),i=t.parseQuery||Hb,o=t.stringifyQuery||Op,c=t.history,s=ca(),u=ca(),f=ca(),_=N0(Ar);let v=Ar;ls&&t.scrollBehavior&&"scrollRestoration"in history&&(history.scrollRestoration="manual");const b=Wc.bind(null,xt=>""+xt),w=Wc.bind(null,pb),B=Wc.bind(null,Fa);function A(xt,Zt){let Gt,ee;return d_(xt)?(Gt=e.getRecordMatcher(xt),ee=Zt):ee=xt,e.addRoute(ee,Gt)}function F(xt){const Zt=e.getRecordMatcher(xt);Zt&&e.removeRoute(Zt)}function V(){return e.getRoutes().map(xt=>xt.record)}function ot(xt){return!!e.getRecordMatcher(xt)}function rt(xt,Zt){if(Zt=He({},Zt||_.value),typeof xt=="string"){const q=Jc(i,xt,Zt.path),ft=e.resolve({path:q.path},Zt),St=c.createHref(q.fullPath);return He(q,ft,{params:B(ft.params),hash:Fa(q.hash),redirectedFrom:void 0,href:St})}let Gt;if(xt.path!=null)Gt=He({},xt,{path:Jc(i,xt.path,Zt.path).path});else{const q=He({},xt.params);for(const ft in q)q[ft]==null&&delete q[ft];Gt=He({},xt,{params:w(q)}),Zt.params=w(Zt.params)}const ee=e.resolve(Gt,Zt),Pe=xt.hash||"";ee.params=b(B(ee.params));const Ne=_b(o,He({},xt,{hash:cb(Pe),path:ee.path})),G=c.createHref(Ne);return He({fullPath:Ne,hash:Pe,query:o===Op?Zb(xt.query):xt.query||{}},ee,{redirectedFrom:void 0,href:G})}function Q(xt){return typeof xt=="string"?Jc(i,xt,_.value.path):He({},xt)}function z(xt,Zt){if(v!==xt)return gs(8,{from:Zt,to:xt})}function tt(xt){return Ft(xt)}function pt(xt){return tt(He(Q(xt),{replace:!0}))}function Tt(xt){const Zt=xt.matched[xt.matched.length-1];if(Zt&&Zt.redirect){const{redirect:Gt}=Zt;let ee=typeof Gt=="function"?Gt(xt):Gt;return typeof ee=="string"&&(ee=ee.includes("?")||ee.includes("#")?ee=Q(ee):{path:ee},ee.params={}),He({query:xt.query,hash:xt.hash,params:ee.path!=null?{}:xt.params},ee)}}function Ft(xt,Zt){const Gt=v=rt(xt),ee=_.value,Pe=xt.state,Ne=xt.force,G=xt.replace===!0,q=Tt(Gt);if(q)return Ft(He(Q(q),{state:typeof q=="object"?He({},Pe,q.state):Pe,force:Ne,replace:G}),Zt||Gt);const ft=Gt;ft.redirectedFrom=Zt;let St;return!Ne&&gb(o,ee,Gt)&&(St=gs(16,{to:ft,from:ee}),Se(ee,ee,!0,!1)),(St?Promise.resolve(St):Dt(ft,ee)).catch(wt=>cr(wt)?cr(wt,2)?wt:oe(wt):Et(wt,ft,ee)).then(wt=>{if(wt){if(cr(wt,2))return Ft(He({replace:G},Q(wt.to),{state:typeof wt.to=="object"?He({},Pe,wt.to.state):Pe,force:Ne}),Zt||ft)}else wt=At(ft,ee,!0,G,Pe);return qt(ft,ee,wt),wt})}function Mt(xt,Zt){const Gt=z(xt,Zt);return Gt?Promise.reject(Gt):Promise.resolve()}function Lt(xt){const Zt=$e.values().next().value;return Zt&&typeof Zt.runWithContext=="function"?Zt.runWithContext(xt):xt()}function Dt(xt,Zt){let Gt;const[ee,Pe,Ne]=e1(xt,Zt);Gt=Yc(ee.reverse(),"beforeRouteLeave",xt,Zt);for(const q of ee)q.leaveGuards.forEach(ft=>{Gt.push(jr(ft,xt,Zt))});const G=Mt.bind(null,xt,Zt);return Gt.push(G),me(Gt).then(()=>{Gt=[];for(const q of s.list())Gt.push(jr(q,xt,Zt));return Gt.push(G),me(Gt)}).then(()=>{Gt=Yc(Pe,"beforeRouteUpdate",xt,Zt);for(const q of Pe)q.updateGuards.forEach(ft=>{Gt.push(jr(ft,xt,Zt))});return Gt.push(G),me(Gt)}).then(()=>{Gt=[];for(const q of Ne)if(q.beforeEnter)if(Ni(q.beforeEnter))for(const ft of q.beforeEnter)Gt.push(jr(ft,xt,Zt));else Gt.push(jr(q.beforeEnter,xt,Zt));return Gt.push(G),me(Gt)}).then(()=>(xt.matched.forEach(q=>q.enterCallbacks={}),Gt=Yc(Ne,"beforeRouteEnter",xt,Zt,Lt),Gt.push(G),me(Gt))).then(()=>{Gt=[];for(const q of u.list())Gt.push(jr(q,xt,Zt));return Gt.push(G),me(Gt)}).catch(q=>cr(q,8)?q:Promise.reject(q))}function qt(xt,Zt,Gt){f.list().forEach(ee=>Lt(()=>ee(xt,Zt,Gt)))}function At(xt,Zt,Gt,ee,Pe){const Ne=z(xt,Zt);if(Ne)return Ne;const G=Zt===Ar,q=ls?history.state:{};Gt&&(ee||G?c.replace(xt.fullPath,He({scroll:G&&q&&q.scroll},Pe)):c.push(xt.fullPath,Pe)),_.value=xt,Se(xt,Zt,Gt,G),oe()}let ae;function Ce(){ae||(ae=c.listen((xt,Zt,Gt)=>{if(!Be.listening)return;const ee=rt(xt),Pe=Tt(ee);if(Pe){Ft(He(Pe,{replace:!0}),ee).catch(wa);return}v=ee;const Ne=_.value;ls&&kb(Cp(Ne.fullPath,Gt.delta),Au()),Dt(ee,Ne).catch(G=>cr(G,12)?G:cr(G,2)?(Ft(G.to,ee).then(q=>{cr(q,20)&&!Gt.delta&&Gt.type===Na.pop&&c.go(-1,!1)}).catch(wa),Promise.reject()):(Gt.delta&&c.go(-Gt.delta,!1),Et(G,ee,Ne))).then(G=>{G=G||At(ee,Ne,!1),G&&(Gt.delta&&!cr(G,8)?c.go(-Gt.delta,!1):Gt.type===Na.pop&&cr(G,20)&&c.go(-1,!1)),qt(ee,Ne,G)}).catch(wa)}))}let Ue=ca(),Ht=ca(),ie;function Et(xt,Zt,Gt){oe(xt);const ee=Ht.list();return ee.length?ee.forEach(Pe=>Pe(xt,Zt,Gt)):console.error(xt),Promise.reject(xt)}function Qe(){return ie&&_.value!==Ar?Promise.resolve():new Promise((xt,Zt)=>{Ue.add([xt,Zt])})}function oe(xt){return ie||(ie=!xt,Ce(),Ue.list().forEach(([Zt,Gt])=>xt?Gt(xt):Zt()),Ue.reset()),xt}function Se(xt,Zt,Gt,ee){const{scrollBehavior:Pe}=t;if(!ls||!Pe)return Promise.resolve();const Ne=!Gt&&Eb(Cp(xt.fullPath,0))||(ee||!Gt)&&history.state&&history.state.scroll||null;return qa().then(()=>Pe(xt,Zt,Ne)).then(G=>G&&Cb(G)).catch(G=>Et(G,xt,Zt))}const je=xt=>c.go(xt);let rn;const $e=new Set,Be={currentRoute:_,listening:!0,addRoute:A,removeRoute:F,clearRoutes:e.clearRoutes,hasRoute:ot,getRoutes:V,resolve:rt,options:t,push:tt,replace:pt,go:je,back:()=>je(-1),forward:()=>je(1),beforeEach:s.add,beforeResolve:u.add,afterEach:f.add,onError:Ht.add,isReady:Qe,install(xt){const Zt=this;xt.component("RouterLink",Wb),xt.component("RouterView",Qb),xt.config.globalProperties.$router=Zt,Object.defineProperty(xt.config.globalProperties,"$route",{enumerable:!0,get:()=>zt(_)}),ls&&!rn&&_.value===Ar&&(rn=!0,tt(c.location).catch(Pe=>{}));const Gt={};for(const Pe in Ar)Object.defineProperty(Gt,Pe,{get:()=>_.value[Pe],enumerable:!0});xt.provide(Ou,Zt),xt.provide(fd,tm(Gt)),xt.provide(Ch,_);const ee=xt.unmount;$e.add(xt),xt.unmount=function(){$e.delete(xt),$e.size<1&&(v=Ar,ae&&ae(),ae=null,_.value=Ar,rn=!1,ie=!1),ee()}}};function me(xt){return xt.reduce((Zt,Gt)=>Zt.then(()=>Lt(Gt)),Promise.resolve())}return Be}function e1(t,e){const i=[],o=[],c=[],s=Math.max(e.matched.length,t.matched.length);for(let u=0;u_s(v,f))?o.push(f):i.push(f));const _=t.matched[u];_&&(e.matched.find(v=>_s(v,_))||c.push(_))}return[i,o,c]}function Ja(){return Mi(Ou)}function Ya(t){return Mi(fd)}var n1=!1;/*! + * pinia v2.2.4 + * (c) 2024 Eduardo San Martin Morote + * @license MIT + */let __;const Ru=t=>__=t,g_=Symbol();function kh(t){return t&&typeof t=="object"&&Object.prototype.toString.call(t)==="[object Object]"&&typeof t.toJSON!="function"}var Ca;(function(t){t.direct="direct",t.patchObject="patch object",t.patchFunction="patch function"})(Ca||(Ca={}));function y_(){const t=Nf(!0),e=t.run(()=>Ut({}));let i=[],o=[];const c=rd({install(s){Ru(c),c._a=s,s.provide(g_,c),s.config.globalProperties.$pinia=c,o.forEach(u=>i.push(u)),o=[]},use(s){return!this._a&&!n1?o.push(s):i.push(s),this},_p:i,_a:null,_e:t,_s:new Map,state:e});return c}const v_=()=>{};function jp(t,e,i,o=v_){t.push(e);const c=()=>{const s=t.indexOf(e);s>-1&&(t.splice(s,1),o())};return!i&&jf()&&y0(c),c}function os(t,...e){t.slice().forEach(i=>{i(...e)})}const i1=t=>t(),zp=Symbol(),Xc=Symbol();function Eh(t,e){t instanceof Map&&e instanceof Map?e.forEach((i,o)=>t.set(o,i)):t instanceof Set&&e instanceof Set&&e.forEach(t.add,t);for(const i in e){if(!e.hasOwnProperty(i))continue;const o=e[i],c=t[i];kh(c)&&kh(o)&&t.hasOwnProperty(i)&&!mn(o)&&!fr(o)?t[i]=Eh(c,o):t[i]=o}return t}const r1=Symbol();function o1(t){return!kh(t)||!t.hasOwnProperty(r1)}const{assign:Dr}=Object;function s1(t){return!!(mn(t)&&t.effect)}function a1(t,e,i,o){const{state:c,actions:s,getters:u}=e,f=i.state.value[t];let _;function v(){f||(i.state.value[t]=c?c():{});const b=V0(i.state.value[t]);return Dr(b,s,Object.keys(u||{}).reduce((w,B)=>(w[B]=rd(Jt(()=>{Ru(i);const A=i._s.get(t);return u[B].call(A,A)})),w),{}))}return _=b_(t,v,e,i,o,!0),_}function b_(t,e,i={},o,c,s){let u;const f=Dr({actions:{}},i),_={deep:!0};let v,b,w=[],B=[],A;const F=o.state.value[t];!s&&!F&&(o.state.value[t]={}),Ut({});let V;function ot(Mt){let Lt;v=b=!1,typeof Mt=="function"?(Mt(o.state.value[t]),Lt={type:Ca.patchFunction,storeId:t,events:A}):(Eh(o.state.value[t],Mt),Lt={type:Ca.patchObject,payload:Mt,storeId:t,events:A});const Dt=V=Symbol();qa().then(()=>{V===Dt&&(v=!0)}),b=!0,os(w,Lt,o.state.value[t])}const rt=s?function(){const{state:Lt}=i,Dt=Lt?Lt():{};this.$patch(qt=>{Dr(qt,Dt)})}:v_;function Q(){u.stop(),w=[],B=[],o._s.delete(t)}const z=(Mt,Lt="")=>{if(zp in Mt)return Mt[Xc]=Lt,Mt;const Dt=function(){Ru(o);const qt=Array.from(arguments),At=[],ae=[];function Ce(ie){At.push(ie)}function Ue(ie){ae.push(ie)}os(B,{args:qt,name:Dt[Xc],store:pt,after:Ce,onError:Ue});let Ht;try{Ht=Mt.apply(this&&this.$id===t?this:pt,qt)}catch(ie){throw os(ae,ie),ie}return Ht instanceof Promise?Ht.then(ie=>(os(At,ie),ie)).catch(ie=>(os(ae,ie),Promise.reject(ie))):(os(At,Ht),Ht)};return Dt[zp]=!0,Dt[Xc]=Lt,Dt},tt={_p:o,$id:t,$onAction:jp.bind(null,B),$patch:ot,$reset:rt,$subscribe(Mt,Lt={}){const Dt=jp(w,Mt,Lt.detached,()=>qt()),qt=u.run(()=>xn(()=>o.state.value[t],At=>{(Lt.flush==="sync"?b:v)&&Mt({storeId:t,type:Ca.direct,events:A},At)},Dr({},_,Lt)));return Dt},$dispose:Q},pt=Ha(tt);o._s.set(t,pt);const Ft=(o._a&&o._a.runWithContext||i1)(()=>o._e.run(()=>(u=Nf()).run(()=>e({action:z}))));for(const Mt in Ft){const Lt=Ft[Mt];if(mn(Lt)&&!s1(Lt)||fr(Lt))s||(F&&o1(Lt)&&(mn(Lt)?Lt.value=F[Mt]:Eh(Lt,F[Mt])),o.state.value[t][Mt]=Lt);else if(typeof Lt=="function"){const Dt=z(Lt,Mt);Ft[Mt]=Dt,f.actions[Mt]=Lt}}return Dr(pt,Ft),Dr(Fe(pt),Ft),Object.defineProperty(pt,"$state",{get:()=>o.state.value[t],set:Mt=>{ot(Lt=>{Dr(Lt,Mt)})}}),o._p.forEach(Mt=>{Dr(pt,u.run(()=>Mt({store:pt,app:o._a,pinia:o,options:f})))}),F&&s&&i.hydrate&&i.hydrate(pt.$state,F),v=!0,b=!0,pt}function Zr(t,e,i){let o,c;const s=typeof e=="function";typeof t=="string"?(o=t,c=s?i:e):(c=t,o=t.id);function u(f,_){const v=Ly();return f=f||(v?Mi(g_,null):null),f&&Ru(f),f=__,f._s.has(o)||(s?b_(o,e,c,f):a1(o,c,f)),f._s.get(o)}return u.$id=o,u}const md=Zr("footerStore",{state:()=>({nextAuthor:""}),actions:{async setNextAuthorText(t){this.nextAuthor=t}}});var l1={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const u1={key:0},c1={__name:"FooterAnalytics",setup(t){const e={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"},o=Object.keys(l1.analytics_services||{}).map(c=>e[c]).filter(Boolean).join("; ");return(c,s)=>zt(o)?(P(),Z("span",u1,"This site uses "+It(zt(o))+".",1)):Ot("",!0)}};var h1={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const d1={class:"footer text-white bottom-0 border-gray-200 bg-zinc-800 pl-4 pr-4"},p1={class:"container mx-auto text-sm pt-2 pb-4"},f1={class:"pt-4 pb-2 break-words"},m1=["innerHTML"],_1={key:0},g1=["href"],y1={class:"flex items-center text-xs gap-2"},v1=["src"],b1={class:"flex flex-col sm:flex-row justify-between gap-4"},x1={class:"[&>*:not(:last-child)]:after:content-['|'] [&>*:not(:last-child)]:after:mx-1"},w1={__name:"LayoutFooter",setup(t){const{project_authors:e,project_citation:i,project_url:o,copyright_text:c,copyright_image:s,copyright_image_link:u,hash_mode:f}=h1,_=md(),v=new Date().toISOString().split("T")[0],b=Ya(),w=Jt(()=>{const B=(o||"").replace(/\/$/,"");return B.length?f?B+"/#"+b.fullPath:B+b.fullPath:""});return(B,A)=>{const F=dt("ClientOnly"),V=dt("TrackerReport");return P(),Z("footer",d1,[$("div",p1,[$("div",f1,[Xt(It(zt(e))+" ",1),X(F,null,{default:nt(()=>[$("span",{innerHTML:zt(_).nextAuthor},null,8,m1)]),_:1}),Xt(" "+It(zt(i))+". ",1),X(F,null,{default:nt(()=>[$("span",null,"Retrieved on "+It(zt(v)),1)]),_:1}),w.value?(P(),Z("span",_1,[A[0]||(A[0]=Xt(" at ")),$("a",{class:"text-secondary-color",href:w.value},It(w.value),9,g1)])):Ot("",!0)]),$("div",y1,[(P(),bt(Eo(zt(u)?"a":"span"),{href:zt(u),class:"min-w-fit"},{default:nt(()=>[zt(s)?(P(),Z("img",{key:0,src:zt(s),alt:"copyright"},null,8,v1)):Ot("",!0)]),_:1},8,["href"])),$("span",null,It(zt(c)),1)]),A[4]||(A[4]=$("hr",{class:"mt-3 mb-3 border-gray-500"},null,-1)),$("div",b1,[$("div",x1,[A[1]||(A[1]=$("span",null,[Xt(" Data provided by "),$("a",{class:"text-slate-400 hover:text-slate-500 dark:hover:text-slate-300 font-medium",target:"_blank",href:"https://taxonworks.org/"}," TaxonWorks ")],-1)),A[2]||(A[2]=$("span",null,[Xt(" Pages by "),$("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)),A[3]||(A[3]=$("span",null,[Xt(" Support (Services) by "),$("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)),X(c1,{class:"italic"})]),X(V,{icon:"",label:"Report a problem","button-class":"flex gap-2 items-center pl-0 pr-0 pt-0 pb-0 self-end"})])])])}}},L1={class:"min-h-screen h-screen flex flex-col justify-between"},C1={class:"flex flex-col flex-grow"},k1={__name:"Application",setup(t){return(e,i)=>(P(),Z("div",L1,[$("div",C1,[X(Qv),be(e.$slots,"default")]),X(w1)]))}};var Vp={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const E1={__name:"App",setup(t){return dd({title:Vp.project_name,meta:Vp.metadata}),(e,i)=>{const o=dt("router-view");return P(),bt(k1,null,{default:nt(()=>[X(o)]),_:1})}}},xe=(t,e)=>{const i=t.__vccOpts||t;for(const[o,c]of e)i[o]=c;return i},M1={},S1={class:"mx-auto"};function P1(t,e){return P(),Z("div",S1,e[0]||(e[0]=[$("div",{class:"container mx-auto flex flex-col items-center h-screen justify-center"},[$("h1",{class:"text-4xl font-medium"}," Welcome to TaxonPages "),$("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)]))}const B1=xe(M1,[["render",P1]]),T1={},A1={class:"container mx-auto text-center relative top-1/4"};function O1(t,e){return P(),Z("div",A1,e[0]||(e[0]=[$("h1",{class:"text-4xl sm:text-5xl text-base-lighter"}," Welcome to TaxonPages ",-1),$("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)]))}const R1=xe(T1,[["render",O1]]),D1=[{name:"homepage",path:"/",alias:"/home",component:R1}],I1={},F1={class:"container mx-auto text-center relative top-1/4"};function N1(t,e){return P(),Z("div",F1,e[0]||(e[0]=[$("h1",{class:"text-7xl text-base-lighter"},"500",-1),$("p",null,"Internal Server Error.",-1),$("p",{class:"m-4 my-10 text-xl"},[Xt(" Uh oh, looks like something went wrong!"),$("br"),Xt(" We track these errors automatically, but if the problem persists feel free to contact us. ")],-1)]))}const j1=xe(I1,[["render",N1]]),z1={},V1={class:"container mx-auto text-center relative top-1/4"};function G1(t,e){return P(),Z("div",V1,e[0]||(e[0]=[$("h1",{class:"text-7xl text-base-lighter"},"404",-1),$("p",null,"Page not found.",-1),$("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)]))}const U1=xe(z1,[["render",G1]]),$1=[{path:"/500",name:"httpError500",component:j1,meta:{statusCode:500}},{path:"/:pathMatch(.*)*",name:"httpError404",component:U1,meta:{statusCode:404}}],H1="TypeMaterial",x_="CollectionObject",Z1="AssertedDistribution",q1="Georeference",K1="Aggregate",Gp="Otu";function w_(t,e){return function(){return t.apply(e,arguments)}}const{toString:W1}=Object.prototype,{getPrototypeOf:_d}=Object,Du=(t=>e=>{const i=W1.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),ji=t=>(t=t.toLowerCase(),e=>Du(e)===t),Iu=t=>e=>typeof e===t,{isArray:bs}=Array,ja=Iu("undefined");function J1(t){return t!==null&&!ja(t)&&t.constructor!==null&&!ja(t.constructor)&&pi(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const L_=ji("ArrayBuffer");function Y1(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&L_(t.buffer),e}const X1=Iu("string"),pi=Iu("function"),C_=Iu("number"),Fu=t=>t!==null&&typeof t=="object",Q1=t=>t===!0||t===!1,tu=t=>{if(Du(t)!=="object")return!1;const e=_d(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},t4=ji("Date"),e4=ji("File"),n4=ji("Blob"),i4=ji("FileList"),r4=t=>Fu(t)&&pi(t.pipe),o4=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||pi(t.append)&&((e=Du(t))==="formdata"||e==="object"&&pi(t.toString)&&t.toString()==="[object FormData]"))},s4=ji("URLSearchParams"),[a4,l4,u4,c4]=["ReadableStream","Request","Response","Headers"].map(ji),h4=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Xa(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let o,c;if(typeof t!="object"&&(t=[t]),bs(t))for(o=0,c=t.length;o0;)if(c=i[o],e===c.toLowerCase())return c;return null}const mo=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,E_=t=>!ja(t)&&t!==mo;function Mh(){const{caseless:t}=E_(this)&&this||{},e={},i=(o,c)=>{const s=t&&k_(e,c)||c;tu(e[s])&&tu(o)?e[s]=Mh(e[s],o):tu(o)?e[s]=Mh({},o):bs(o)?e[s]=o.slice():e[s]=o};for(let o=0,c=arguments.length;o(Xa(e,(c,s)=>{i&&pi(c)?t[s]=w_(c,i):t[s]=c},{allOwnKeys:o}),t),p4=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),f4=(t,e,i,o)=>{t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},m4=(t,e,i,o)=>{let c,s,u;const f={};if(e=e||{},t==null)return e;do{for(c=Object.getOwnPropertyNames(t),s=c.length;s-- >0;)u=c[s],(!o||o(u,t,e))&&!f[u]&&(e[u]=t[u],f[u]=!0);t=i!==!1&&_d(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},_4=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;const o=t.indexOf(e,i);return o!==-1&&o===i},g4=t=>{if(!t)return null;if(bs(t))return t;let e=t.length;if(!C_(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},y4=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&_d(Uint8Array)),v4=(t,e)=>{const i=(t&&t[Symbol.iterator]).call(t);let o;for(;(o=i.next())&&!o.done;){const c=o.value;e.call(t,c[0],c[1])}},b4=(t,e)=>{let i;const o=[];for(;(i=t.exec(e))!==null;)o.push(i);return o},x4=ji("HTMLFormElement"),w4=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,i,o){return i.toUpperCase()+o}),Up=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),L4=ji("RegExp"),M_=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),o={};Xa(i,(c,s)=>{let u;(u=e(c,s,t))!==!1&&(o[s]=u||c)}),Object.defineProperties(t,o)},C4=t=>{M_(t,(e,i)=>{if(pi(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const o=t[i];if(pi(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},k4=(t,e)=>{const i={},o=c=>{c.forEach(s=>{i[s]=!0})};return bs(t)?o(t):o(String(t).split(e)),i},E4=()=>{},M4=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,Qc="abcdefghijklmnopqrstuvwxyz",$p="0123456789",S_={DIGIT:$p,ALPHA:Qc,ALPHA_DIGIT:Qc+Qc.toUpperCase()+$p},S4=(t=16,e=S_.ALPHA_DIGIT)=>{let i="";const{length:o}=e;for(;t--;)i+=e[Math.random()*o|0];return i};function P4(t){return!!(t&&pi(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const B4=t=>{const e=new Array(10),i=(o,c)=>{if(Fu(o)){if(e.indexOf(o)>=0)return;if(!("toJSON"in o)){e[c]=o;const s=bs(o)?[]:{};return Xa(o,(u,f)=>{const _=i(u,c+1);!ja(_)&&(s[f]=_)}),e[c]=void 0,s}}return o};return i(t,0)},T4=ji("AsyncFunction"),A4=t=>t&&(Fu(t)||pi(t))&&pi(t.then)&&pi(t.catch),P_=((t,e)=>t?setImmediate:e?((i,o)=>(mo.addEventListener("message",({source:c,data:s})=>{c===mo&&s===i&&o.length&&o.shift()()},!1),c=>{o.push(c),mo.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",pi(mo.postMessage)),O4=typeof queueMicrotask<"u"?queueMicrotask.bind(mo):typeof process<"u"&&process.nextTick||P_,yt={isArray:bs,isArrayBuffer:L_,isBuffer:J1,isFormData:o4,isArrayBufferView:Y1,isString:X1,isNumber:C_,isBoolean:Q1,isObject:Fu,isPlainObject:tu,isReadableStream:a4,isRequest:l4,isResponse:u4,isHeaders:c4,isUndefined:ja,isDate:t4,isFile:e4,isBlob:n4,isRegExp:L4,isFunction:pi,isStream:r4,isURLSearchParams:s4,isTypedArray:y4,isFileList:i4,forEach:Xa,merge:Mh,extend:d4,trim:h4,stripBOM:p4,inherits:f4,toFlatObject:m4,kindOf:Du,kindOfTest:ji,endsWith:_4,toArray:g4,forEachEntry:v4,matchAll:b4,isHTMLForm:x4,hasOwnProperty:Up,hasOwnProp:Up,reduceDescriptors:M_,freezeMethods:C4,toObjectSet:k4,toCamelCase:w4,noop:E4,toFiniteNumber:M4,findKey:k_,global:mo,isContextDefined:E_,ALPHABET:S_,generateString:S4,isSpecCompliantForm:P4,toJSONObject:B4,isAsyncFn:T4,isThenable:A4,setImmediate:P_,asap:O4};function we(t,e,i,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),o&&(this.request=o),c&&(this.response=c,this.status=c.status?c.status:null)}yt.inherits(we,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:yt.toJSONObject(this.config),code:this.code,status:this.status}}});const B_=we.prototype,T_={};["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=>{T_[t]={value:t}});Object.defineProperties(we,T_);Object.defineProperty(B_,"isAxiosError",{value:!0});we.from=(t,e,i,o,c,s)=>{const u=Object.create(B_);return yt.toFlatObject(t,u,function(f){return f!==Error.prototype},f=>f!=="isAxiosError"),we.call(u,t.message,e,i,o,c),u.cause=t,u.name=t.name,s&&Object.assign(u,s),u};const R4=null;function Sh(t){return yt.isPlainObject(t)||yt.isArray(t)}function A_(t){return yt.endsWith(t,"[]")?t.slice(0,-2):t}function Hp(t,e,i){return t?t.concat(e).map(function(o,c){return o=A_(o),!i&&c?"["+o+"]":o}).join(i?".":""):e}function D4(t){return yt.isArray(t)&&!t.some(Sh)}const I4=yt.toFlatObject(yt,{},null,function(t){return/^is[A-Z]/.test(t)});function Nu(t,e,i){if(!yt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,i=yt.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(A,F){return!yt.isUndefined(F[A])});const o=i.metaTokens,c=i.visitor||v,s=i.dots,u=i.indexes,f=(i.Blob||typeof Blob<"u"&&Blob)&&yt.isSpecCompliantForm(e);if(!yt.isFunction(c))throw new TypeError("visitor must be a function");function _(A){if(A===null)return"";if(yt.isDate(A))return A.toISOString();if(!f&&yt.isBlob(A))throw new we("Blob is not supported. Use a Buffer instead.");return yt.isArrayBuffer(A)||yt.isTypedArray(A)?f&&typeof Blob=="function"?new Blob([A]):Buffer.from(A):A}function v(A,F,V){let ot=A;if(A&&!V&&typeof A=="object"){if(yt.endsWith(F,"{}"))F=o?F:F.slice(0,-2),A=JSON.stringify(A);else if(yt.isArray(A)&&D4(A)||(yt.isFileList(A)||yt.endsWith(F,"[]"))&&(ot=yt.toArray(A)))return F=A_(F),ot.forEach(function(rt,Q){!(yt.isUndefined(rt)||rt===null)&&e.append(u===!0?Hp([F],Q,s):u===null?F:F+"[]",_(rt))}),!1}return Sh(A)?!0:(e.append(Hp(V,F,s),_(A)),!1)}const b=[],w=Object.assign(I4,{defaultVisitor:v,convertValue:_,isVisitable:Sh});function B(A,F){if(!yt.isUndefined(A)){if(b.indexOf(A)!==-1)throw Error("Circular reference detected in "+F.join("."));b.push(A),yt.forEach(A,function(V,ot){(!(yt.isUndefined(V)||V===null)&&c.call(e,V,yt.isString(ot)?ot.trim():ot,F,w))===!0&&B(V,F?F.concat(ot):[ot])}),b.pop()}}if(!yt.isObject(t))throw new TypeError("data must be an object");return B(t),e}function Zp(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(i){return e[i]})}function gd(t,e){this._pairs=[],t&&Nu(t,this,e)}const O_=gd.prototype;O_.append=function(t,e){this._pairs.push([t,e])};O_.toString=function(t){const e=t?function(i){return t.call(this,i,Zp)}:Zp;return this._pairs.map(function(i){return e(i[0])+"="+e(i[1])},"").join("&")};function F4(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function R_(t,e,i){if(!e)return t;const o=i&&i.encode||F4,c=i&&i.serialize;let s;if(c?s=c(e,i):s=yt.isURLSearchParams(e)?e.toString():new gd(e,i).toString(o),s){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class qp{constructor(){this.handlers=[]}use(e,i,o){return this.handlers.push({fulfilled:e,rejected:i,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){yt.forEach(this.handlers,function(i){i!==null&&e(i)})}}const D_={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},N4=typeof URLSearchParams<"u"?URLSearchParams:gd,j4=typeof FormData<"u"?FormData:null,z4=typeof Blob<"u"?Blob:null,V4={isBrowser:!0,classes:{URLSearchParams:N4,FormData:j4,Blob:z4},protocols:["http","https","file","blob","url","data"]},yd=typeof window<"u"&&typeof document<"u",Ph=typeof navigator=="object"&&navigator||void 0,G4=yd&&(!Ph||["ReactNative","NativeScript","NS"].indexOf(Ph.product)<0),U4=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",$4=yd&&window.location.href||"http://localhost",H4=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:yd,hasStandardBrowserEnv:G4,hasStandardBrowserWebWorkerEnv:U4,navigator:Ph,origin:$4},Symbol.toStringTag,{value:"Module"})),ri={...H4,...V4};function Z4(t,e){return Nu(t,new ri.classes.URLSearchParams,Object.assign({visitor:function(i,o,c,s){return ri.isNode&&yt.isBuffer(i)?(this.append(o,i.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function q4(t){return yt.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function K4(t){const e={},i=Object.keys(t);let o;const c=i.length;let s;for(o=0;o=i.length;return u=!u&&yt.isArray(c)?c.length:u,_?(yt.hasOwnProp(c,u)?c[u]=[c[u],o]:c[u]=o,!f):((!c[u]||!yt.isObject(c[u]))&&(c[u]=[]),e(i,o,c[u],s)&&yt.isArray(c[u])&&(c[u]=K4(c[u])),!f)}if(yt.isFormData(t)&&yt.isFunction(t.entries)){const i={};return yt.forEachEntry(t,(o,c)=>{e(q4(o),c,i,0)}),i}return null}function W4(t,e,i){if(yt.isString(t))try{return(e||JSON.parse)(t),yt.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(t)}const Qa={transitional:D_,adapter:["xhr","http","fetch"],transformRequest:[function(t,e){const i=e.getContentType()||"",o=i.indexOf("application/json")>-1,c=yt.isObject(t);if(c&&yt.isHTMLForm(t)&&(t=new FormData(t)),yt.isFormData(t))return o?JSON.stringify(I_(t)):t;if(yt.isArrayBuffer(t)||yt.isBuffer(t)||yt.isStream(t)||yt.isFile(t)||yt.isBlob(t)||yt.isReadableStream(t))return t;if(yt.isArrayBufferView(t))return t.buffer;if(yt.isURLSearchParams(t))return e.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let s;if(c){if(i.indexOf("application/x-www-form-urlencoded")>-1)return Z4(t,this.formSerializer).toString();if((s=yt.isFileList(t))||i.indexOf("multipart/form-data")>-1){const u=this.env&&this.env.FormData;return Nu(s?{"files[]":t}:t,u&&new u,this.formSerializer)}}return c||o?(e.setContentType("application/json",!1),W4(t)):t}],transformResponse:[function(t){const e=this.transitional||Qa.transitional,i=e&&e.forcedJSONParsing,o=this.responseType==="json";if(yt.isResponse(t)||yt.isReadableStream(t))return t;if(t&&yt.isString(t)&&(i&&!this.responseType||o)){const c=!(e&&e.silentJSONParsing)&&o;try{return JSON.parse(t)}catch(s){if(c)throw s.name==="SyntaxError"?we.from(s,we.ERR_BAD_RESPONSE,this,null,this.response):s}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ri.classes.FormData,Blob:ri.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};yt.forEach(["delete","get","head","post","put","patch"],t=>{Qa.headers[t]={}});const J4=yt.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"]),Y4=t=>{const e={};let i,o,c;return t&&t.split(` +`).forEach(function(s){c=s.indexOf(":"),i=s.substring(0,c).trim().toLowerCase(),o=s.substring(c+1).trim(),!(!i||e[i]&&J4[i])&&(i==="set-cookie"?e[i]?e[i].push(o):e[i]=[o]:e[i]=e[i]?e[i]+", "+o:o)}),e},Kp=Symbol("internals");function ha(t){return t&&String(t).trim().toLowerCase()}function eu(t){return t===!1||t==null?t:yt.isArray(t)?t.map(eu):String(t)}function X4(t){const e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=i.exec(t);)e[o[1]]=o[2];return e}const Q4=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function th(t,e,i,o,c){if(yt.isFunction(o))return o.call(this,e,i);if(c&&(e=i),!!yt.isString(e)){if(yt.isString(o))return e.indexOf(o)!==-1;if(yt.isRegExp(o))return o.test(e)}}function tx(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,o)=>i.toUpperCase()+o)}function ex(t,e){const i=yt.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(c,s,u){return this[o].call(this,e,c,s,u)},configurable:!0})})}class oi{constructor(e){e&&this.set(e)}set(e,i,o){const c=this;function s(f,_,v){const b=ha(_);if(!b)throw new Error("header name must be a non-empty string");const w=yt.findKey(c,b);(!w||c[w]===void 0||v===!0||v===void 0&&c[w]!==!1)&&(c[w||_]=eu(f))}const u=(f,_)=>yt.forEach(f,(v,b)=>s(v,b,_));if(yt.isPlainObject(e)||e instanceof this.constructor)u(e,i);else if(yt.isString(e)&&(e=e.trim())&&!Q4(e))u(Y4(e),i);else if(yt.isHeaders(e))for(const[f,_]of e.entries())s(_,f,o);else e!=null&&s(i,e,o);return this}get(e,i){if(e=ha(e),e){const o=yt.findKey(this,e);if(o){const c=this[o];if(!i)return c;if(i===!0)return X4(c);if(yt.isFunction(i))return i.call(this,c,o);if(yt.isRegExp(i))return i.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=ha(e),e){const o=yt.findKey(this,e);return!!(o&&this[o]!==void 0&&(!i||th(this,this[o],o,i)))}return!1}delete(e,i){const o=this;let c=!1;function s(u){if(u=ha(u),u){const f=yt.findKey(o,u);f&&(!i||th(o,o[f],f,i))&&(delete o[f],c=!0)}}return yt.isArray(e)?e.forEach(s):s(e),c}clear(e){const i=Object.keys(this);let o=i.length,c=!1;for(;o--;){const s=i[o];(!e||th(this,this[s],s,e,!0))&&(delete this[s],c=!0)}return c}normalize(e){const i=this,o={};return yt.forEach(this,(c,s)=>{const u=yt.findKey(o,s);if(u){i[u]=eu(c),delete i[s];return}const f=e?tx(s):String(s).trim();f!==s&&delete i[s],i[f]=eu(c),o[f]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const i=Object.create(null);return yt.forEach(this,(o,c)=>{o!=null&&o!==!1&&(i[c]=e&&yt.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){const o=new this(e);return i.forEach(c=>o.set(c)),o}static accessor(e){const i=(this[Kp]=this[Kp]={accessors:{}}).accessors,o=this.prototype;function c(s){const u=ha(s);i[u]||(ex(o,s),i[u]=!0)}return yt.isArray(e)?e.forEach(c):c(e),this}}oi.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);yt.reduceDescriptors(oi.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(o){this[i]=o}}});yt.freezeMethods(oi);function eh(t,e){const i=this||Qa,o=e||i,c=oi.from(o.headers);let s=o.data;return yt.forEach(t,function(u){s=u.call(i,s,c.normalize(),e?e.status:void 0)}),c.normalize(),s}function F_(t){return!!(t&&t.__CANCEL__)}function xs(t,e,i){we.call(this,t??"canceled",we.ERR_CANCELED,e,i),this.name="CanceledError"}yt.inherits(xs,we,{__CANCEL__:!0});function N_(t,e,i){const o=i.config.validateStatus;!i.status||!o||o(i.status)?t(i):e(new we("Request failed with status code "+i.status,[we.ERR_BAD_REQUEST,we.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function nx(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function ix(t,e){t=t||10;const i=new Array(t),o=new Array(t);let c=0,s=0,u;return e=e!==void 0?e:1e3,function(f){const _=Date.now(),v=o[s];u||(u=_),i[c]=f,o[c]=_;let b=s,w=0;for(;b!==c;)w+=i[b++],b=b%t;if(c=(c+1)%t,c===s&&(s=(s+1)%t),_-u{i=_,c=null,s&&(clearTimeout(s),s=null),t.apply(null,f)};return[(...f)=>{const _=Date.now(),v=_-i;v>=o?u(f,_):(c=f,s||(s=setTimeout(()=>{s=null,u(c)},o-v)))},()=>c&&u(c)]}const _u=(t,e,i=3)=>{let o=0;const c=ix(50,250);return rx(s=>{const u=s.loaded,f=s.lengthComputable?s.total:void 0,_=u-o,v=c(_),b=u<=f;o=u;const w={loaded:u,total:f,progress:f?u/f:void 0,bytes:_,rate:v||void 0,estimated:v&&f&&b?(f-u)/v:void 0,event:s,lengthComputable:f!=null,[e?"download":"upload"]:!0};t(w)},i)},Wp=(t,e)=>{const i=t!=null;return[o=>e[0]({lengthComputable:i,total:t,loaded:o}),e[1]]},Jp=t=>(...e)=>yt.asap(()=>t(...e)),ox=ri.hasStandardBrowserEnv?function(){const t=ri.navigator&&/(msie|trident)/i.test(ri.navigator.userAgent),e=document.createElement("a");let i;function o(c){let s=c;return t&&(e.setAttribute("href",s),s=e.href),e.setAttribute("href",s),{href:e.href,protocol:e.protocol?e.protocol.replace(/:$/,""):"",host:e.host,search:e.search?e.search.replace(/^\?/,""):"",hash:e.hash?e.hash.replace(/^#/,""):"",hostname:e.hostname,port:e.port,pathname:e.pathname.charAt(0)==="/"?e.pathname:"/"+e.pathname}}return i=o(window.location.href),function(c){const s=yt.isString(c)?o(c):c;return s.protocol===i.protocol&&s.host===i.host}}():function(){return function(){return!0}}(),sx=ri.hasStandardBrowserEnv?{write(t,e,i,o,c,s){const u=[t+"="+encodeURIComponent(e)];yt.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),yt.isString(o)&&u.push("path="+o),yt.isString(c)&&u.push("domain="+c),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function ax(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function lx(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function j_(t,e){return t&&!ax(e)?lx(t,e):e}const Yp=t=>t instanceof oi?{...t}:t;function Co(t,e){e=e||{};const i={};function o(v,b,w){return yt.isPlainObject(v)&&yt.isPlainObject(b)?yt.merge.call({caseless:w},v,b):yt.isPlainObject(b)?yt.merge({},b):yt.isArray(b)?b.slice():b}function c(v,b,w){if(yt.isUndefined(b)){if(!yt.isUndefined(v))return o(void 0,v,w)}else return o(v,b,w)}function s(v,b){if(!yt.isUndefined(b))return o(void 0,b)}function u(v,b){if(yt.isUndefined(b)){if(!yt.isUndefined(v))return o(void 0,v)}else return o(void 0,b)}function f(v,b,w){if(w in e)return o(v,b);if(w in t)return o(void 0,v)}const _={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(v,b)=>c(Yp(v),Yp(b),!0)};return yt.forEach(Object.keys(Object.assign({},t,e)),function(v){const b=_[v]||c,w=b(t[v],e[v],v);yt.isUndefined(w)&&b!==f||(i[v]=w)}),i}const z_=t=>{const e=Co({},t);let{data:i,withXSRFToken:o,xsrfHeaderName:c,xsrfCookieName:s,headers:u,auth:f}=e;e.headers=u=oi.from(u),e.url=R_(j_(e.baseURL,e.url),t.params,t.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):"")));let _;if(yt.isFormData(i)){if(ri.hasStandardBrowserEnv||ri.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((_=u.getContentType())!==!1){const[v,...b]=_?_.split(";").map(w=>w.trim()).filter(Boolean):[];u.setContentType([v||"multipart/form-data",...b].join("; "))}}if(ri.hasStandardBrowserEnv&&(o&&yt.isFunction(o)&&(o=o(e)),o||o!==!1&&ox(e.url))){const v=c&&s&&sx.read(s);v&&u.set(c,v)}return e},ux=typeof XMLHttpRequest<"u",cx=ux&&function(t){return new Promise(function(e,i){const o=z_(t);let c=o.data;const s=oi.from(o.headers).normalize();let{responseType:u,onUploadProgress:f,onDownloadProgress:_}=o,v,b,w,B,A;function F(){B&&B(),A&&A(),o.cancelToken&&o.cancelToken.unsubscribe(v),o.signal&&o.signal.removeEventListener("abort",v)}let V=new XMLHttpRequest;V.open(o.method.toUpperCase(),o.url,!0),V.timeout=o.timeout;function ot(){if(!V)return;const Q=oi.from("getAllResponseHeaders"in V&&V.getAllResponseHeaders()),z={data:!u||u==="text"||u==="json"?V.responseText:V.response,status:V.status,statusText:V.statusText,headers:Q,config:t,request:V};N_(function(tt){e(tt),F()},function(tt){i(tt),F()},z),V=null}"onloadend"in V?V.onloadend=ot:V.onreadystatechange=function(){!V||V.readyState!==4||V.status===0&&!(V.responseURL&&V.responseURL.indexOf("file:")===0)||setTimeout(ot)},V.onabort=function(){V&&(i(new we("Request aborted",we.ECONNABORTED,t,V)),V=null)},V.onerror=function(){i(new we("Network Error",we.ERR_NETWORK,t,V)),V=null},V.ontimeout=function(){let Q=o.timeout?"timeout of "+o.timeout+"ms exceeded":"timeout exceeded";const z=o.transitional||D_;o.timeoutErrorMessage&&(Q=o.timeoutErrorMessage),i(new we(Q,z.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,t,V)),V=null},c===void 0&&s.setContentType(null),"setRequestHeader"in V&&yt.forEach(s.toJSON(),function(Q,z){V.setRequestHeader(z,Q)}),yt.isUndefined(o.withCredentials)||(V.withCredentials=!!o.withCredentials),u&&u!=="json"&&(V.responseType=o.responseType),_&&([w,A]=_u(_,!0),V.addEventListener("progress",w)),f&&V.upload&&([b,B]=_u(f),V.upload.addEventListener("progress",b),V.upload.addEventListener("loadend",B)),(o.cancelToken||o.signal)&&(v=Q=>{V&&(i(!Q||Q.type?new xs(null,t,V):Q),V.abort(),V=null)},o.cancelToken&&o.cancelToken.subscribe(v),o.signal&&(o.signal.aborted?v():o.signal.addEventListener("abort",v)));const rt=nx(o.url);if(rt&&ri.protocols.indexOf(rt)===-1){i(new we("Unsupported protocol "+rt+":",we.ERR_BAD_REQUEST,t));return}V.send(c||null)})},hx=(t,e)=>{const{length:i}=t=t?t.filter(Boolean):[];if(e||i){let o=new AbortController,c;const s=function(v){if(!c){c=!0,f();const b=v instanceof Error?v:this.reason;o.abort(b instanceof we?b:new xs(b instanceof Error?b.message:b))}};let u=e&&setTimeout(()=>{u=null,s(new we(`timeout ${e} of ms exceeded`,we.ETIMEDOUT))},e);const f=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(v=>{v.unsubscribe?v.unsubscribe(s):v.removeEventListener("abort",s)}),t=null)};t.forEach(v=>v.addEventListener("abort",s));const{signal:_}=o;return _.unsubscribe=()=>yt.asap(f),_}},dx=function*(t,e){let i=t.byteLength;if(i{const c=px(t,e);let s=0,u,f=_=>{u||(u=!0,o&&o(_))};return new ReadableStream({async pull(_){try{const{done:v,value:b}=await c.next();if(v){f(),_.close();return}let w=b.byteLength;if(i){let B=s+=w;i(B)}_.enqueue(new Uint8Array(b))}catch(v){throw f(v),v}},cancel(_){return f(_),c.return()}},{highWaterMark:2})},ju=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",V_=ju&&typeof ReadableStream=="function",mx=ju&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),G_=(t,...e)=>{try{return!!t(...e)}catch{return!1}},_x=V_&&G_(()=>{let t=!1;const e=new Request(ri.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),Qp=64*1024,Bh=V_&&G_(()=>yt.isReadableStream(new Response("").body)),gu={stream:Bh&&(t=>t.body)};ju&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!gu[e]&&(gu[e]=yt.isFunction(t[e])?i=>i[e]():(i,o)=>{throw new we(`Response type '${e}' is not supported`,we.ERR_NOT_SUPPORT,o)})})})(new Response);const gx=async t=>{if(t==null)return 0;if(yt.isBlob(t))return t.size;if(yt.isSpecCompliantForm(t))return(await new Request(ri.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(yt.isArrayBufferView(t)||yt.isArrayBuffer(t))return t.byteLength;if(yt.isURLSearchParams(t)&&(t=t+""),yt.isString(t))return(await mx(t)).byteLength},yx=async(t,e)=>yt.toFiniteNumber(t.getContentLength())??gx(e),vx=ju&&(async t=>{let{url:e,method:i,data:o,signal:c,cancelToken:s,timeout:u,onDownloadProgress:f,onUploadProgress:_,responseType:v,headers:b,withCredentials:w="same-origin",fetchOptions:B}=z_(t);v=v?(v+"").toLowerCase():"text";let A=hx([c,s&&s.toAbortSignal()],u),F;const V=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let ot;try{if(_&&_x&&i!=="get"&&i!=="head"&&(ot=await yx(b,o))!==0){let pt=new Request(e,{method:"POST",body:o,duplex:"half"}),Tt;if(yt.isFormData(o)&&(Tt=pt.headers.get("content-type"))&&b.setContentType(Tt),pt.body){const[Ft,Mt]=Wp(ot,_u(Jp(_)));o=Xp(pt.body,Qp,Ft,Mt)}}yt.isString(w)||(w=w?"include":"omit");const rt="credentials"in Request.prototype;F=new Request(e,{...B,signal:A,method:i.toUpperCase(),headers:b.normalize().toJSON(),body:o,duplex:"half",credentials:rt?w:void 0});let Q=await fetch(F);const z=Bh&&(v==="stream"||v==="response");if(Bh&&(f||z&&V)){const pt={};["status","statusText","headers"].forEach(Lt=>{pt[Lt]=Q[Lt]});const Tt=yt.toFiniteNumber(Q.headers.get("content-length")),[Ft,Mt]=f&&Wp(Tt,_u(Jp(f),!0))||[];Q=new Response(Xp(Q.body,Qp,Ft,()=>{Mt&&Mt(),V&&V()}),pt)}v=v||"text";let tt=await gu[yt.findKey(gu,v)||"text"](Q,t);return!z&&V&&V(),await new Promise((pt,Tt)=>{N_(pt,Tt,{data:tt,headers:oi.from(Q.headers),status:Q.status,statusText:Q.statusText,config:t,request:F})})}catch(rt){throw V&&V(),rt&&rt.name==="TypeError"&&/fetch/i.test(rt.message)?Object.assign(new we("Network Error",we.ERR_NETWORK,t,F),{cause:rt.cause||rt}):we.from(rt,rt&&rt.code,t,F)}}),Th={http:R4,xhr:cx,fetch:vx};yt.forEach(Th,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const tf=t=>`- ${t}`,bx=t=>yt.isFunction(t)||t===null||t===!1,U_={getAdapter:t=>{t=yt.isArray(t)?t:[t];const{length:e}=t;let i,o;const c={};for(let s=0;s`adapter ${f} `+(_===!1?"is not supported by the environment":"is not available in the build"));let u=e?s.length>1?`since : +`+s.map(tf).join(` +`):" "+tf(s[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return o},adapters:Th};function nh(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new xs(null,t)}function ef(t){return nh(t),t.headers=oi.from(t.headers),t.data=eh.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),U_.getAdapter(t.adapter||Qa.adapter)(t).then(function(e){return nh(t),e.data=eh.call(t,t.transformResponse,e),e.headers=oi.from(e.headers),e},function(e){return F_(e)||(nh(t),e&&e.response&&(e.response.data=eh.call(t,t.transformResponse,e.response),e.response.headers=oi.from(e.response.headers))),Promise.reject(e)})}const $_="1.7.7",vd={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{vd[t]=function(i){return typeof i===t||"a"+(e<1?"n ":" ")+t}});const nf={};vd.transitional=function(t,e,i){function o(c,s){return"[Axios v"+$_+"] Transitional option '"+c+"'"+s+(i?". "+i:"")}return(c,s,u)=>{if(t===!1)throw new we(o(s," has been removed"+(e?" in "+e:"")),we.ERR_DEPRECATED);return e&&!nf[s]&&(nf[s]=!0,console.warn(o(s," has been deprecated since v"+e+" and will be removed in the near future"))),t?t(c,s,u):!0}};function xx(t,e,i){if(typeof t!="object")throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let c=o.length;for(;c-- >0;){const s=o[c],u=e[s];if(u){const f=t[s],_=f===void 0||u(f,s,t);if(_!==!0)throw new we("option "+s+" must be "+_,we.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new we("Unknown option "+s,we.ERR_BAD_OPTION)}}const Ah={assertOptions:xx,validators:vd},Or=Ah.validators;class xo{constructor(e){this.defaults=e,this.interceptors={request:new qp,response:new qp}}async request(e,i){try{return await this._request(e,i)}catch(o){if(o instanceof Error){let c;Error.captureStackTrace?Error.captureStackTrace(c={}):c=new Error;const s=c.stack?c.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=` +`+s):o.stack=s}catch{}}throw o}}_request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=Co(this.defaults,i);const{transitional:o,paramsSerializer:c,headers:s}=i;o!==void 0&&Ah.assertOptions(o,{silentJSONParsing:Or.transitional(Or.boolean),forcedJSONParsing:Or.transitional(Or.boolean),clarifyTimeoutError:Or.transitional(Or.boolean)},!1),c!=null&&(yt.isFunction(c)?i.paramsSerializer={serialize:c}:Ah.assertOptions(c,{encode:Or.function,serialize:Or.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=s&&yt.merge(s.common,s[i.method]);s&&yt.forEach(["delete","get","head","post","put","patch","common"],F=>{delete s[F]}),i.headers=oi.concat(u,s);const f=[];let _=!0;this.interceptors.request.forEach(function(F){typeof F.runWhen=="function"&&F.runWhen(i)===!1||(_=_&&F.synchronous,f.unshift(F.fulfilled,F.rejected))});const v=[];this.interceptors.response.forEach(function(F){v.push(F.fulfilled,F.rejected)});let b,w=0,B;if(!_){const F=[ef.bind(this),void 0];for(F.unshift.apply(F,f),F.push.apply(F,v),B=F.length,b=Promise.resolve(i);w{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](c);o._listeners=null}),this.promise.then=c=>{let s;const u=new Promise(f=>{o.subscribe(f),s=f}).then(c);return u.cancel=function(){o.unsubscribe(s)},u},e(function(c,s,u){o.reason||(o.reason=new xs(c,s,u),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const e=new AbortController,i=o=>{e.abort(o)};return this.subscribe(i),e.signal.unsubscribe=()=>this.unsubscribe(i),e.signal}static source(){let e;return{token:new bd(function(i){e=i}),cancel:e}}}function wx(t){return function(e){return t.apply(null,e)}}function Lx(t){return yt.isObject(t)&&t.isAxiosError===!0}const Oh={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(Oh).forEach(([t,e])=>{Oh[e]=t});function H_(t){const e=new xo(t),i=w_(xo.prototype.request,e);return yt.extend(i,xo.prototype,e,{allOwnKeys:!0}),yt.extend(i,e,null,{allOwnKeys:!0}),i.create=function(o){return H_(Co(t,o))},i}const Ln=H_(Qa);Ln.Axios=xo;Ln.CanceledError=xs;Ln.CancelToken=bd;Ln.isCancel=F_;Ln.VERSION=$_;Ln.toFormData=Nu;Ln.AxiosError=we;Ln.Cancel=Ln.CanceledError;Ln.all=function(t){return Promise.all(t)};Ln.spread=wx;Ln.isAxiosError=Lx;Ln.mergeConfig=Co;Ln.AxiosHeaders=oi;Ln.formToJSON=t=>I_(yt.isHTMLForm(t)?new FormData(t):t);Ln.getAdapter=U_.getAdapter;Ln.HttpStatusCode=Oh;Ln.default=Ln;const Z_=(t={})=>{const e=Mo(),{baseURL:i,projectId:o,projectToken:c,userToken:s,csrfToken:u}=e.getAPIConfig,f={baseURL:i,params:{project_id:o,project_token:c,token:s},...t};return(!c||!(o&&s)&&u)&&Object.assign(f,{headers:{"X-CSRF-Token":u}}),Ln.create({...f})};class Cx{static key(e,i){return Z_().get(`/observation_matrices/${e}/key`,i)}}const ka={Used:"used",Useful:"useful",Useless:"useless"},kx=t=>({characterStateId:t.id,depictionIds:t.depiction_ids,label:t.label,position:t.position,...q_(t)}),Ex=t=>({depictionId:t.id,caption:t.caption,figureLabel:t.figure_label,imageUrl:t.image.medium}),fa={Qualitative:"Descriptor::Qualitative",Continuous:"Descriptor::Continuous",Sample:"Descriptor::Sample",PresenceAbsence:"Descriptor::PresenceAbsence"},tl=t=>({descriptorId:t.id,name:t.name,description:t.description,position:t.position,status:t.status,type:t.type,depictionIds:t.depiction_ids,usefulness:t.usefulness,weight:t.weight}),Mx=t=>({...tl(t),defaultUnit:t.default_unit,max:t.max,min:t.min}),Sx=t=>({...tl(t),defaultUnit:t.default_unit,max:t.max,min:t.min}),Px=t=>({...tl(t),states:t.states.map(e=>q_(e))}),Bx=t=>({...tl(t),characterStates:t.states.map(e=>kx(e))}),Tx=t=>{switch(t.type){case fa.Continuous:return Mx(t);case fa.Sample:return Sx(t);case fa.PresenceAbsence:return Px(t);case fa.Qualitative:return Bx(t);default:return tl(t)}},Ax=t=>({observationMatrixId:t.observation_matrix_id,name:t.observation_matrix.name,globalId:t.observation_matrix.global_id}),q_=t=>({name:t.name,numberOfObjects:t.number_of_objects,status:t.status}),rf=t=>({errorDescriptors:t.error_descriptors,errors:t.errors,objectLabel:t.object.object_label,objectTag:t.object.object_tag,observationObjectId:t.object.observation_object_id,observationObjectType:t.object.observation_object_type,rowId:t.object.id}),Ox=t=>({keywordId:t.id,definition:t.description,name:t.name}),Rx=t=>({languageId:t.id,name:t.english_name}),vr=Zr("observationMatrix",{state:()=>({observationMatrix:void 0,citation:void 0,descriptors:[],eliminated:[],remaining:[],availableKeywords:[],availableLanguages:[]}),getters:{getCitation:t=>t.citation,getObservationMatrix:t=>t.observationMatrix,getDescriptors:t=>t.descriptors,getDescriptorById:t=>e=>t.descriptors.find(i=>i.descriptorId===e),getDescriptorsUsed:t=>t.descriptors.filter(e=>e.status===ka.Used),getDescriptorsUseless:t=>t.descriptors.filter(e=>e.status===ka.Useless),getDescriptorsUseful:t=>t.descriptors.filter(e=>e.status===ka.Useful),getEliminated:t=>t.eliminated,getKeywords:t=>t.availableKeywords,getLanguages:t=>t.availableLanguages,getRemaining:t=>t.remaining},actions:{setDescriptors(t){this.descriptors=t},setEliminated(t){this.eliminated=t},setRemaining(t){this.remaining=t},setLanguages(t){this.availableLanguages=t},setKeywords(t){this.availableKeywords=t},setObservationMatrix(t){this.observationMatrix=t},async requestInteractiveKey({observationMatrixId:t,params:e={},opt:i={}}){const o=await Cx.key(t,{params:e}),{data:c}=o;return i.refreshOnlyTaxa||(this.setObservationMatrix(Ax(c)),this.setDescriptors(c.list_of_descriptors.map(s=>Tx(s))),this.setKeywords(c.descriptor_available_keywords.map(s=>Ox(s))),this.setLanguages(c.descriptor_available_languages.map(s=>Rx(s)))),this.setEliminated(c.eliminated.map(s=>rf(s))),this.setRemaining(c.remaining.map(s=>rf(s))),o}}}),In=Zr("filter",{state:()=>({descriptors:{},eliminateUnknown:void 0,rowFilter:!0,errorTolerance:void 0,identifiedToRank:void 0,keywordIds:[],languageId:void 0,rowIds:[],sorting:void 0}),getters:{getKeywordIds:t=>t.keywordIds,getLanguageId:t=>t.languageId,getRowIds:t=>t.rowIds,getRowFilter:t=>t.rowFilter,getDescriptors:t=>t.descriptors,getIdentifiedToRank:t=>t.identifiedToRank,getEliminateUknown:t=>t.eliminateUnknown,getErrorTolerance:t=>t.errorTolerance,getSorting:t=>t.sorting,getDescriptorValueById:t=>e=>{const i=t.descriptors[e];return typeof i=="boolean"?i:i||""},getFilterParams:t=>({selected_descriptors:Object.entries(t.descriptors).map(([e,i])=>Array.isArray(i)?`${e}:${i.join("|")}`:`${e}:${i}`).join("||"),language_id:t.languageId,keyword_ids:t.keywordIds,sorting:t.sorting,identified_to_rank:t.identifiedToRank,error_tolerance:t.errorTolerance,eliminate_unknown:t.eliminateUnknown,row_filter:t.rowFilter?t.rowIds.join("|"):[]})},actions:{setDescriptor({descriptorId:t,value:e}){this.descriptors[t]=e},removeDescriptor(t){delete this.descriptors[t]},removeKeywordId(t){const e=this.keywordIds.findIndex(i=>i===t);e>-1&&this.keywordIds.splice(e,1)},addKeywordId(t){this.keywordIds.push(t)},setLanguageId(t){this.languageId=t},setErrorTolerance(t){this.errorTolerance=t},setEliminateUnknown(t){this.eliminateUnknown=t}}}),Mo=Zr("settings",{state:()=>({gridLayout:"distinguish-layout-mode-1",isLoading:!1,isRefreshing:!1,refreshOnlyTaxa:!1,shouldUpdate:!0,observationMatrixId:void 0,errorMessage:"",apiConfig:{baseURL:"",projectId:void 0,projectToken:void 0,userToken:void 0}}),getters:{getErrorMessage:t=>t.errorMessage,getIsLoading:t=>t.isLoading,getLayout:t=>t.gridLayout,getRefreshOnlyTaxa:t=>t.refreshOnlyTaxa,getShouldUpdate:t=>t.shouldUpdate,getObservationMatrixId:t=>t.observationMatrixId,getAPIConfig:t=>t.apiConfig},actions:{setObservationMatrixId(t){this.observationMatrixId=t},setShouldUpdate(t){this.shouldUpdate=t},setRefreshOnlyTaxa(t){this.refreshOnlyTaxa=t},setAPIConfig(t){this.apiConfig=t},checkUpdate(){const t=In(),e=vr(),i=this.observationMatrixId;this.shouldUpdate&&i&&(this.isLoading=!0,e.requestInteractiveKey({observationMatrixId:i,params:t.getFilterParams,opt:{refreshOnlyTaxa:this.refreshOnlyTaxa}}).then(o=>this.errorMessage="").catch(o=>this.errorMessage=o.message).finally(()=>this.isLoading=!1))}}}),Dx=Oe({__name:"FilterEliminateUnknowns",setup(t){const e=In(),i=Jt({get:()=>!!e.getEliminateUknown,set:o=>{e.setEliminateUnknown(o)}});return(o,c)=>(P(),Z("label",null,[On($("input",{"onUpdate:modelValue":c[0]||(c[0]=s=>i.value=s),type:"checkbox"},null,512),[[vs,i.value]]),c[1]||(c[1]=Xt(" Eliminate unknowns "))]))}}),Ix=["value"],Fx=Oe({__name:"FilterErrorTolerance",setup(t){const e=[0,1,2],i=In(),o=Jt({get:()=>i.getErrorTolerance,set:c=>{i.setErrorTolerance(c)}});return(c,s)=>(P(),Z("div",null,[s[2]||(s[2]=$("label",{for:"languages",class:"distinguish-input-label"}," Error tolerance ",-1)),On($("select",{"onUpdate:modelValue":s[0]||(s[0]=u=>o.value=u),name:"languages",role:"listbox"},[s[1]||(s[1]=$("option",{value:""},null,-1)),(P(),Z(jt,null,de(e,u=>$("option",{key:u,value:u},It(u),9,Ix)),64))],512),[[Wa,o.value]])]))}}),Nx=["otu","subspecies","species","subgenus","genus","subtribe","tribe","subfamily","family"],jx=Oe({__name:"FilterRank",setup(t){const e=In(),i=Jt({get(){return e.getIdentifiedToRank},set(o){e.$patch({identifiedToRank:o})}});return(o,c)=>(P(),Z("div",null,[c[2]||(c[2]=$("label",{class:"distinguish-input-label"},"Identified to rank",-1)),On($("select",{"onUpdate:modelValue":c[0]||(c[0]=s=>i.value=s)},[c[1]||(c[1]=$("option",{value:void 0},null,-1)),(P(!0),Z(jt,null,de(zt(Nx),s=>(P(),Z("option",{key:s},It(s),1))),128))],512),[[Wa,i.value]])]))}}),zx=Oe({__name:"FilterSort",setup(t){const e=["ordered","weighted","optimized"],i=In(),o=Jt({get(){return i.getSorting},set(c){i.$patch({sorting:c})}});return(c,s)=>(P(),Z("div",null,[s[2]||(s[2]=$("label",{class:"distinguish-input-label"},"Descriptor sorting",-1)),On($("select",{"onUpdate:modelValue":s[0]||(s[0]=u=>o.value=u)},[s[1]||(s[1]=$("option",{value:void 0},null,-1)),(P(),Z(jt,null,de(e,u=>$("option",{key:u},It(u),1)),64))],512),[[Wa,o.value]])]))}}),Vx=["value"],Gx=Oe({__name:"FilterLanguage",setup(t){const e=In(),i=vr(),o=Jt({get:()=>e.getLanguageId,set:c=>{e.setLanguageId(Number(c))}});return(c,s)=>(P(),Z("div",null,[s[1]||(s[1]=$("label",{for:"languages",class:"distinguish-input-label"}," Languages ",-1)),On($("select",{"onUpdate:modelValue":s[0]||(s[0]=u=>o.value=u),name:"languages",role:"listbox"},[(P(!0),Z(jt,null,de(zt(i).getLanguages,({languageId:u,name:f})=>(P(),Z("option",{key:u,value:u},It(f),9,Vx))),128))],512),[[Wa,o.value]])]))}}),Ux=["disabled"],fs=Oe({__name:"VBtn",props:{color:{default:"primary"},size:{default:"medium"},disabled:{type:Boolean}},setup(t){const e=t,i=Jt(()=>[`distinguish-btn-${e.color}-color`,`distinguish-btn-${e.size}-size`]);return(o,c)=>(P(),Z("button",{type:"button",class:en(["distinguish-btn",i.value]),disabled:o.disabled},[be(o.$slots,"default")],10,Ux))}}),$x={class:"distinguish-modal-wrapper"},Hx={class:"distinguish-modal-header"},Zx={class:"distinguish-modal-body"},qx={class:"distinguish-modal-footer"},xd=Oe({__name:"VModal",props:{containerClass:{},containerStyle:{}},emits:["close"],setup(t,{emit:e}){const i=e,o=c=>{c.preventDefault(),c.key==="Escape"&&i("close")};return Cn(()=>document.addEventListener("keydown",o)),yr(()=>document.removeEventListener("keydown",o)),(c,s)=>(P(),bt(Bu,{name:"distinguish-modal"},{default:nt(()=>[$("div",{class:"distinguish-modal-mask",onClick:s[2]||(s[2]=u=>i("close")),onKey:s[3]||(s[3]=u=>i("close"))},[$("div",$x,[$("div",{class:en(["distinguish-modal-container",c.containerClass]),style:ki({...c.containerStyle}),onClick:s[1]||(s[1]=Ia(()=>{},["stop"]))},[$("div",Hx,[$("div",{class:"distinguish-modal-close",onClick:s[0]||(s[0]=u=>i("close"))}),be(c.$slots,"header")]),$("div",Zx,[be(c.$slots,"body")]),$("div",qx,[be(c.$slots,"footer")])],6)])],32)]),_:3}))}}),Kx={class:"distinguish-list-checkboxes"},Wx=["value"],Jx=Oe({__name:"FilterKeywords",setup(t){const e=vr(),i=In(),o=Ut(!1),c=Jt({get:()=>i.getKeywordIds,set:s=>{i.$patch({keywordIds:s})}});return(s,u)=>(P(),Z(jt,null,[X(fs,{color:"primary",size:"medium",disabled:!zt(e).getKeywords.length,title:zt(e).getKeywords.length?"":"No tags defined.",onClick:u[0]||(u[0]=f=>o.value=!0)},{default:nt(()=>u[3]||(u[3]=[Xt(" Keyword ")])),_:1},8,["disabled","title"]),o.value?(P(),bt(xd,{key:0,onClose:u[2]||(u[2]=f=>o.value=!1)},{header:nt(()=>u[4]||(u[4]=[$("h3",null,"Keywords",-1)])),body:nt(()=>[$("ul",Kx,[(P(!0),Z(jt,null,de(zt(e).getKeywords,({keywordId:f,name:_})=>(P(),Z("li",{key:f},[$("label",null,[On($("input",{"onUpdate:modelValue":u[1]||(u[1]=v=>c.value=v),value:f,type:"checkbox"},null,8,Wx),[[vs,c.value]]),Xt(" "+It(_),1)])]))),128))])]),_:1})):Ot("",!0)],64))}}),Yx=Oe({__name:"SettingRefresh",setup(t){const e=Mo(),i=Jt({get:()=>e.getRefreshOnlyTaxa,set:o=>{e.setRefreshOnlyTaxa(o)}});return(o,c)=>(P(),Z("label",null,[On($("input",{"onUpdate:modelValue":c[0]||(c[0]=s=>i.value=s),type:"checkbox"},null,512),[[vs,i.value]]),c[1]||(c[1]=Xt(" Refresh only taxa "))]))}}),zu=(t,e)=>{const i=t.__vccOpts||t;for(const[o,c]of e)i[o]=c;return i},Xx={},Qx={class:"distinguish-menu-list"};function tw(t,e){return P(),Z("ul",Qx,[be(t.$slots,"default")])}const ew=zu(Xx,[["render",tw]]),nw={},iw={class:"distinguish-list-item"};function rw(t,e){return P(),Z("li",iw,[be(t.$slots,"default")])}const ho=zu(nw,[["render",rw]]),of={"distinguish-layout-mode-1":"distinguish-layout-mode-2","distinguish-layout-mode-2":"distinguish-layout-mode-1"},ow={},sw={class:"distinguish-grid"};function aw(t,e){return P(),Z("div",sw,[be(t.$slots,"default")])}const K_=zu(ow,[["render",aw]]),lw=Oe({__name:"GridToggle",setup(t){const e=Mo(),i=Jt(()=>e.getLayout),o=()=>{e.$patch({gridLayout:of[i.value]})};return(c,s)=>(P(),bt(fs,{class:en(zt(of)[i.value]),onClick:o},{default:nt(()=>[X(K_,{class:"distinguish-grid-icon"},{default:nt(()=>s[0]||(s[0]=[$("div",{class:"distinguish-panel-descriptors"},null,-1),$("div",{class:"distinguish-panel-remaining"},null,-1),$("div",{class:"distinguish-panel-eliminated"},null,-1)])),_:1})]),_:1},8,["class"]))}}),uw=Oe({__name:"ResetButton",setup(t){const e=In();return(i,o)=>(P(),bt(fs,{color:"primary",size:"medium",onClick:o[0]||(o[0]=c=>zt(e).$reset())},{default:nt(()=>o[1]||(o[1]=[Xt(" Reset ")])),_:1}))}}),cw={class:"distinguish-header-error-message"},hw=Oe({__name:"ErrorMessage",setup(t){const e=Mo();return(i,o)=>(P(),Z("span",cw,It(zt(e).getErrorMessage),1))}}),dw={class:"distinguish-header-bar"},pw={class:"distinguish-header-bar__buttons"},fw=Oe({__name:"HeaderBar",setup(t){return(e,i)=>(P(),Z("div",dw,[X(hw),X(ew,null,{default:nt(()=>[X(ho,null,{default:nt(()=>[X(Yx)]),_:1}),X(ho,null,{default:nt(()=>[X(Dx)]),_:1}),X(ho,null,{default:nt(()=>[X(Fx)]),_:1}),X(ho,null,{default:nt(()=>[X(jx)]),_:1}),X(ho,null,{default:nt(()=>[X(Gx)]),_:1}),X(ho,null,{default:nt(()=>[X(zx)]),_:1}),X(ho,null,{default:nt(()=>[X(Jx)]),_:1})]),_:1}),$("div",pw,[X(uw),X(lw)])]))}}),mw={},_w={class:"distinguish-panel"};function gw(t,e){return P(),Z("div",_w,[be(t.$slots,"default")])}const wd=zu(mw,[["render",gw]]),yw=["innerHTML"],vw=Oe({__name:"PanelEliminated",props:{render:{type:Function}},setup(t){const e=vr(),i=Jt(()=>e.getEliminated);return(o,c)=>(P(),bt(wd,{class:"distinguish-panel-eliminated"},{default:nt(()=>[$("h2",null,"Eliminated ("+It(i.value.length)+")",1),$("ul",null,[(P(!0),Z(jt,null,de(i.value,s=>(P(),Z("li",{key:s.rowId,class:"distinguish-row-item"},[be(o.$slots,"default",{item:s},()=>[$("span",{innerHTML:o.render?o.render(s):s.objectTag},null,8,yw)])]))),128))])]),_:3}))}}),bw={class:"distinguish-row-filter-buttons"},xw={class:"distinguish-list-checkboxes"},ww=["value"],Lw=Oe({__name:"FilterRow",setup(t){const e=vr(),i=Mo(),o=In(),c=Ut(!1),s=Ut([]),u=Jt(()=>{const _=o.getRowIds,v=s.value;return _.length!==v.length||!_.every(b=>v.includes(b))}),f=Jt({get:()=>o.getRowIds,set:_=>{o.$patch({rowIds:_})}});return xn(c,_=>{i.setShouldUpdate(!_),!_&&u.value&&(o.rowFilter=!0,i.checkUpdate()),s.value=o.getRowIds}),(_,v)=>(P(),Z(jt,null,[X(fs,{color:"primary",size:"medium",onClick:v[0]||(v[0]=b=>c.value=!0)},{default:nt(()=>v[5]||(v[5]=[Xt(" Select ")])),_:1}),c.value?(P(),bt(xd,{key:0,onClose:v[4]||(v[4]=b=>c.value=!1)},{header:nt(()=>v[6]||(v[6]=[$("h3",null,"Filter row",-1)])),body:nt(()=>[$("div",null,[$("div",bw,[zt(e).getRemaining.length!==f.value.length||f.value.length==0?(P(),bt(fs,{key:0,color:"primary",size:"medium",onClick:v[1]||(v[1]=()=>f.value=zt(e).getRemaining.map(b=>b.rowId))},{default:nt(()=>v[7]||(v[7]=[Xt(" Select all ")])),_:1})):(P(),bt(fs,{key:1,color:"primary",size:"medium",onClick:v[2]||(v[2]=()=>f.value=[])},{default:nt(()=>v[8]||(v[8]=[Xt(" Unselect all ")])),_:1}))]),$("ul",xw,[(P(!0),Z(jt,null,de(zt(e).getRemaining,b=>(P(),Z("li",{key:b.rowId},[$("label",null,[On($("input",{"onUpdate:modelValue":v[3]||(v[3]=w=>f.value=w),value:b.rowId,type:"checkbox"},null,8,ww),[[vs,f.value]]),Xt(" "+It(b.objectLabel),1)])]))),128))])])]),_:1})):Ot("",!0)],64))}}),Cw={class:"distinguish-title-section"},kw=["innerHTML"],Ew=Oe({__name:"PanelRemaining",props:{render:{type:Function}},setup(t){const e=vr(),i=Jt(()=>e.getRemaining);return(o,c)=>(P(),bt(wd,{class:"distinguish-panel-remaining"},{default:nt(()=>[$("div",Cw,[$("h2",null,"Remaining ("+It(i.value.length)+")",1),X(Lw)]),$("ul",null,[(P(!0),Z(jt,null,de(i.value,s=>(P(),Z("li",{key:s.rowId,class:"distinguish-row-item"},[be(o.$slots,"default",{item:s},()=>[$("span",{innerHTML:o.render?o.render(s):s.objectTag},null,8,kw)])]))),128))])]),_:3}))}});class Mw{static find(e){return Z_().get(`/depictions/${e}.json`,{params:{extend:["image"]}})}}const Sw={key:0,class:"distinguish-depiction-box"},Pw=["src"],W_=Oe({__name:"VDepiction",props:{depictionId:{}},setup(t){const e=t,i=Ut();return Mw.find(e.depictionId).then(({data:o})=>{i.value=Ex(o)}),(o,c)=>i.value?(P(),Z("div",Sw,[$("img",{src:i.value.imageUrl},null,8,Pw)])):Ot("",!0)}}),Bw={class:"distinguish-character-descriptor__cell"},Tw=["value"],Aw=Oe({__name:"CharacterStateCell",props:{characterState:{},descriptorId:{}},setup(t){const e=t,i=In(),o=Jt({get:()=>i.getDescriptorValueById(e.descriptorId)||[],set:c=>{c.length?i.setDescriptor({descriptorId:e.descriptorId,value:c}):i.removeDescriptor(e.descriptorId)}});return(c,s)=>(P(),Z("div",Bw,[$("label",null,[(P(!0),Z(jt,null,de(c.characterState.depictionIds,u=>(P(),bt(W_,{key:u,"depiction-id":u},null,8,["depiction-id"]))),128)),On($("input",{"onUpdate:modelValue":s[0]||(s[0]=u=>o.value=u),value:c.characterState.characterStateId,type:"checkbox"},null,8,Tw),[[vs,o.value]]),Xt(" "+It(c.characterState.name),1)])]))}}),Ow={class:"distinguish-character-states-grid"},Rw=Oe({__name:"CharacterStateGrid",props:{descriptor:{}},setup(t){const e=t,i=In(),o=Mo(),c=Ut(),s=Jt(()=>{const u=i.getDescriptorValueById(e.descriptor.descriptorId)||[],f=c.value||[];return u.length!==f.length||!u.every(_=>f.includes(_))});return Cn(()=>{o.setShouldUpdate(!1),c.value=i.getDescriptorValueById(e.descriptor.descriptorId)}),yr(()=>{o.setShouldUpdate(!0),s.value&&o.checkUpdate()}),(u,f)=>(P(),Z("div",Ow,[(P(!0),Z(jt,null,de(u.descriptor.characterStates,_=>(P(),bt(Aw,{key:_.characterStateId,"descriptor-id":u.descriptor.descriptorId,"character-state":_},null,8,["descriptor-id","character-state"]))),128))]))}}),Dw={key:0},Iw={key:1},Fw={class:"descriptor-modal__depiction"},Nw=Oe({__name:"DescriptorModal",props:{descriptor:{}},setup(t){return(e,i)=>(P(),bt(xd,{"container-class":"distinguish-descriptor-modal"},{header:nt(()=>[$("h3",null,It(e.descriptor.name),1),e.descriptor.description?(P(),Z("span",Dw,It(e.descriptor.description),1)):(P(),Z("i",Iw," No further description available. "))]),body:nt(()=>[$("div",Fw,[(P(!0),Z(jt,null,de(e.descriptor.depictionIds,o=>(P(),bt(W_,{key:o,"depiction-id":o},null,8,["depiction-id"]))),128))]),i[0]||(i[0]=$("hr",null,null,-1)),e.descriptor.type===zt(fa).Qualitative?(P(),bt(Rw,{key:0,descriptor:e.descriptor},null,8,["descriptor"])):Ot("",!0)]),_:1}))}}),jw=["id"],zw={class:"distinguish-input-label"},Vu=Oe({__name:"DescriptorContainer",props:{descriptor:{}},setup(t){const e=Ut(!1);return(i,o)=>(P(),Z("div",{id:`descriptor-${i.descriptor.descriptorId}`,class:"distinguish-descriptor-container"},[$("div",zw,[$("span",{class:"distinguish-link",onClick:o[0]||(o[0]=c=>e.value=!0)},[be(i.$slots,"title",{},()=>[Xt(It(i.descriptor.name),1)])])]),be(i.$slots,"default"),e.value?(P(),bt(Nw,{key:0,descriptor:i.descriptor,onClose:o[1]||(o[1]=c=>e.value=!1)},null,8,["descriptor"])):Ot("",!0)],8,jw))}}),Vw=Oe({__name:"DescriptorContinuous",props:{descriptor:{}},setup(t){const e=t,i=In(),o=Ut(String(i.getDescriptorValueById(e.descriptor.descriptorId))),c=()=>{const{descriptorId:s}=e.descriptor,u=o.value.trim();u?i.setDescriptor({descriptorId:s,value:u}):i.removeDescriptor(s)};return(s,u)=>(P(),bt(Vu,{class:"distinguish-descriptor-continuous",descriptor:s.descriptor},{title:nt(()=>[Xt(It(s.descriptor.name)+" ("+It(s.descriptor.min)+"-"+It(s.descriptor.max)+" "+It(s.descriptor.defaultUnit)+") ",1)]),default:nt(()=>[On($("input",{"onUpdate:modelValue":u[0]||(u[0]=f=>o.value=f),type:"text",onBlur:c,onKeyup:Xm(c,["enter"])},null,544),[[hd,o.value]])]),_:1},8,["descriptor"]))}}),Gw=["value"],Uw={key:0},$w=Oe({__name:"DescriptorPresenceAbsence",props:{descriptor:{}},setup(t){const e={Presence:!0,Absent:!1},i=t,o=In(),c=Jt({get:()=>o.getDescriptorValueById(i.descriptor.descriptorId),set:u=>{const{descriptorId:f}=i.descriptor;typeof u=="boolean"?o.setDescriptor({descriptorId:f,value:!!u}):o.removeDescriptor(f)}}),s=u=>{var f;const{states:_}=i.descriptor;return((f=_.find(v=>v.name===String(u)))==null?void 0:f.numberOfObjects)||0};return(u,f)=>(P(),bt(Vu,{class:"distinguish-descriptor-presence-absence",descriptor:u.descriptor},{default:nt(()=>[On($("select",{"onUpdate:modelValue":f[0]||(f[0]=_=>c.value=_)},[f[1]||(f[1]=$("option",null,null,-1)),(P(),Z(jt,null,de(e,(_,v)=>$("option",{key:v,value:_},[u.descriptor.status===zt(ka).Useless?(P(),Z("span",Uw,"-")):Ot("",!0),Xt(" "+It(v)+" ("+It(s(_))+") ",1)],8,Gw)),64))],512),[[Wa,c.value]])]),_:1},8,["descriptor"]))}}),Hw=["value","selected"],Zw={key:0},qw={key:1},Kw=Oe({__name:"DescriptorQualitative",props:{descriptor:{}},setup(t){const e=t,i=In(),o=s=>{const u=s.target,{descriptorId:f}=e.descriptor;u.value?i.setDescriptor({descriptorId:f,value:[Number(u.value)]}):i.removeDescriptor(f)},c=s=>i.getDescriptorValueById(e.descriptor.descriptorId).includes(s.characterStateId);return(s,u)=>(P(),bt(Vu,{class:"distinguish-descriptor-qualitative",descriptor:s.descriptor},{default:nt(()=>[$("select",{name:"listbox",onChange:o},[u[0]||(u[0]=$("option",{value:""},null,-1)),(P(!0),Z(jt,null,de(s.descriptor.characterStates,f=>(P(),Z("option",{key:f.characterStateId,value:f.characterStateId,selected:c(f)},[c(f)?(P(),Z("span",Zw,">")):Ot("",!0),f.status===zt(ka).Useless?(P(),Z("span",qw,"-")):Ot("",!0),Xt(" "+It(f.name)+" ("+It(f.numberOfObjects)+") ",1)],8,Hw))),128))],32)]),_:1},8,["descriptor"]))}}),Ww=Oe({__name:"DescriptorSample",props:{descriptor:{}},setup(t){const e=t,i=In(),o=Ut(String(i.getDescriptorValueById(e.descriptor.descriptorId))),c=()=>{const{descriptorId:s}=e.descriptor,u=o.value.trim();u?i.setDescriptor({descriptorId:s,value:u}):i.removeDescriptor(s)};return(s,u)=>(P(),bt(Vu,{class:"distinguish-descriptor-sample",descriptor:s.descriptor},{title:nt(()=>[Xt(It(s.descriptor.name)+" ("+It(s.descriptor.min)+"-"+It(s.descriptor.max)+" "+It(s.descriptor.defaultUnit)+") ",1)]),default:nt(()=>[On($("input",{"onUpdate:modelValue":u[0]||(u[0]=f=>o.value=f),type:"text",onBlur:c,onKeyup:Xm(c,["enter"])},null,544),[[hd,o.value]])]),_:1},8,["descriptor"]))}}),ih=Oe({__name:"DescriptorsList",props:{title:{},descriptors:{}},setup(t){const e={DescriptorContinuous:Vw,DescriptorPresenceAbsence:$w,DescriptorQualitative:Kw,DescriptorSample:Ww},i=o=>{const c=o.replace("::","");return e[c]};return(o,c)=>(P(),Z(jt,null,[$("h2",null,It(o.title),1),$("ol",null,[(P(!0),Z(jt,null,de(o.descriptors,s=>(P(),Z("li",{key:s.descriptorId},[(P(),bt(Eo(i(s.type)),{descriptor:s},null,8,["descriptor"]))]))),128))])],64))}}),Jw={key:0},Yw=Oe({__name:"FilterRowCheckbox",setup(t){const e=In(),i=Jt({get:()=>e.getRowFilter,set:o=>e.$patch({rowFilter:o})});return(o,c)=>zt(e).rowIds.length?(P(),Z("label",Jw,[On($("input",{"onUpdate:modelValue":c[0]||(c[0]=s=>i.value=s),type:"checkbox"},null,512),[[vs,i.value]]),c[1]||(c[1]=Xt(" Filter "))])):Ot("",!0)}}),Xw=Oe({__name:"PanelDescriptors",setup(t){const e=vr();return(i,o)=>(P(),bt(wd,{class:"distinguish-panel-descriptors"},{default:nt(()=>[X(Yw),zt(e).getDescriptorsUsed.length?(P(),bt(ih,{key:0,descriptors:zt(e).getDescriptorsUsed,title:"Used Descriptors"},null,8,["descriptors"])):Ot("",!0),zt(e).getDescriptorsUseful.length?(P(),bt(ih,{key:1,descriptors:zt(e).getDescriptorsUseful,title:"Descriptors Useful for Identification"},null,8,["descriptors"])):Ot("",!0),zt(e).getDescriptorsUseless.length?(P(),bt(ih,{key:2,descriptors:zt(e).getDescriptorsUseless,title:"Descriptors no longer relevant for identification"},null,8,["descriptors"])):Ot("",!0)]),_:1}))}}),Qw={class:"distinguish-spinner-container"},tL={class:"distinguish-spinner-legend"},eL=["innerHTML"],nL=Oe({__name:"VSpinner",props:{legend:{type:String,default:"Loading, please wait."}},setup(t){return(e,i)=>(P(),bt(Bu,{name:"fade"},{default:nt(()=>[$("div",Qw,[$("div",null,[i[0]||(i[0]=$("div",{class:"distinguish-spinner"},null,-1)),$("div",tL,[$("span",{innerHTML:t.legend},null,8,eL),be(e.$slots,"default")])])])]),_:3}))}}),iL={class:"distinguish-title"},rL={key:0},oL=Oe({__name:"TitleMatrix",setup(t){const e=vr();return(i,o)=>(P(),Z("h1",iL,[o[0]||(o[0]=Xt(" Interactive key ")),zt(e).getObservationMatrix?(P(),Z("span",rL,"| "+It(zt(e).getObservationMatrix.name),1)):Ot("",!0)]))}}),sL=["title"],aL=Oe({__name:"TitleMatrixCitation",setup(t){const e=vr(),i=Jt(()=>{const o=e.getCitation;return Object.values(o||{}).filter(Boolean).join(", ")});return(o,c)=>(P(),Z("span",{class:"distinguish-title-citation",title:i.value},It(i.value),9,sL))}}),lL={class:"distinguish-title-section"},uL=Oe({__name:"TitleKey",setup(t){return(e,i)=>(P(),Z("div",lL,[X(oL),X(aL)]))}}),cL={class:"distinguish-app-container"},J_=Oe({name:"Distinguish",__name:"App",props:{observationMatrixId:{},apiConfig:{},renderItem:{type:Function}},setup(t){const e=t,i=Mo(),o=In(),c=Jt(()=>i.getIsLoading),s=Jt(()=>i.getLayout);return i.setAPIConfig(e.apiConfig),i.setObservationMatrixId(e.observationMatrixId),i.checkUpdate(),o.$subscribe(u=>{i.shouldUpdate&&i.checkUpdate()}),(u,f)=>(P(),Z("div",cL,[X(uL),X(fw),X(K_,{class:en(s.value)},{default:nt(()=>[X(Xw),X(Ew,{render:e.renderItem},{default:nt(_=>[be(u.$slots,"remaining-item",ch(pu(_)))]),_:3},8,["render"]),X(vw,{render:e.renderItem},{default:nt(_=>[be(u.$slots,"eliminated-item",ch(pu(_)))]),_:3},8,["render"])]),_:3},8,["class"]),c.value?(P(),bt(nL,{key:0,legend:"Loading interactive key..."})):Ot("",!0)]))}});function hL(t){return[...document.querySelectorAll('[data-interactive-key="true"]')].map(i=>fL(i,pL(i)))}function dL(){hL()}function pL(t){return{observationMatrixId:Number(t.getAttribute("data-observation-matrix-id")),apiConfig:{baseURL:t.getAttribute("data-base-url")||"",projectToken:t.getAttribute("data-project-token")||void 0,projectId:Number(t.getAttribute("data-project-id"))||void 0,userToken:t.getAttribute("data-user-token")||void 0,csrfToken:t.getAttribute("data-csrf-token")||void 0}}}function fL(t,e){const{apiConfig:i,observationMatrixId:o}=e;if(!o)throw"Missing observation matrix ID";if(!i||!i.projectToken&&!i.csrfToken&&!(i.projectId&&i.userToken))throw"Missing API configuration";const c=Bv(J_,{observationMatrixId:o,apiConfig:i});return c.use(y_()),c.mount(t),c}typeof window<"u"&&window.addEventListener("DOMContentLoaded",dL);var sf={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const mL={class:"flex flex-col h-full overflow-y-hidden container mx-auto interactive-key-container"},_L=["innerHTML"],gL=["innerHTML"],yL={__name:"InteractiveKey",setup(t){const e=Ya(),i=Ut({observationMatrixId:e.params.id,apiConfig:{baseURL:sf.url,projectToken:sf.project_token}});return(o,c)=>{const s=dt("RouterLink"),u=dt("ClientOnly");return P(),Z("div",mL,[X(u,null,{default:nt(()=>[X(zt(J_),ch(pu(i.value)),{"remaining-item":nt(({item:f})=>[f.observationObjectType===zt(Gp)?(P(),bt(s,{key:0,to:{name:"otus-id",params:{id:f.observationObjectId}},innerHTML:f.objectTag},null,8,["to","innerHTML"])):(P(),Z("span",{key:1,innerHTML:f.objectTag},null,8,_L))]),"eliminated-item":nt(({item:f})=>[f.observationObjectType===zt(Gp)?(P(),bt(s,{key:0,to:{name:"otus-id",params:{id:f.observationObjectId}},innerHTML:f.objectTag},null,8,["to","innerHTML"])):(P(),Z("span",{key:1,innerHTML:f.objectTag},null,8,gL))]),_:1},16)]),_:1})])}}},vL=[{name:"interactive-keys-id",path:"/interactive_keys/:id",component:yL}],Gu=Zr("otuPageRequest",{state:()=>({requests:{}}),getters:{getRequest:t=>e=>t.requests[e],datamap:t=>{const e=Object.keys(t.requests).sort();return Object.fromEntries(e.map(i=>[i,t.requests[i].url]))}},actions:{setRequest(t,{data:e,request:i}){var c;const o=((c=i.res)==null?void 0:c.responseUrl)||i.responseURL;this.requests[t]={url:o,data:e}}}}),bL="FamilyGroup",xL="GenusGroup",wL="SpeciesGroup",LL="SpeciesAndInfraspeciesGroup",za={CanceledError:"CanceledError"},af=["neotype","holotype","neolectotype","lectotype","syntype","paralectotype","paratype","paratypes"];function _r(t,e){const i=Gu(),o=e();return o.then(c=>{i.setRequest(t,c)}).catch(c=>{c.name!==za.CanceledError&&i.setRequest(t,c.response)}),o}function Y_(t,e){return function(){return t.apply(e,arguments)}}const{toString:CL}=Object.prototype,{getPrototypeOf:Ld}=Object,Uu=(t=>e=>{const i=CL.call(e);return t[i]||(t[i]=i.slice(8,-1).toLowerCase())})(Object.create(null)),zi=t=>(t=t.toLowerCase(),e=>Uu(e)===t),$u=t=>e=>typeof e===t,{isArray:ws}=Array,Va=$u("undefined");function kL(t){return t!==null&&!Va(t)&&t.constructor!==null&&!Va(t.constructor)&&fi(t.constructor.isBuffer)&&t.constructor.isBuffer(t)}const X_=zi("ArrayBuffer");function EL(t){let e;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?e=ArrayBuffer.isView(t):e=t&&t.buffer&&X_(t.buffer),e}const ML=$u("string"),fi=$u("function"),Q_=$u("number"),Hu=t=>t!==null&&typeof t=="object",SL=t=>t===!0||t===!1,nu=t=>{if(Uu(t)!=="object")return!1;const e=Ld(t);return(e===null||e===Object.prototype||Object.getPrototypeOf(e)===null)&&!(Symbol.toStringTag in t)&&!(Symbol.iterator in t)},PL=zi("Date"),BL=zi("File"),TL=zi("Blob"),AL=zi("FileList"),OL=t=>Hu(t)&&fi(t.pipe),RL=t=>{let e;return t&&(typeof FormData=="function"&&t instanceof FormData||fi(t.append)&&((e=Uu(t))==="formdata"||e==="object"&&fi(t.toString)&&t.toString()==="[object FormData]"))},DL=zi("URLSearchParams"),[IL,FL,NL,jL]=["ReadableStream","Request","Response","Headers"].map(zi),zL=t=>t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function el(t,e,{allOwnKeys:i=!1}={}){if(t===null||typeof t>"u")return;let o,c;if(typeof t!="object"&&(t=[t]),ws(t))for(o=0,c=t.length;o0;)if(c=i[o],e===c.toLowerCase())return c;return null}const _o=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,eg=t=>!Va(t)&&t!==_o;function Rh(){const{caseless:t}=eg(this)&&this||{},e={},i=(o,c)=>{const s=t&&tg(e,c)||c;nu(e[s])&&nu(o)?e[s]=Rh(e[s],o):nu(o)?e[s]=Rh({},o):ws(o)?e[s]=o.slice():e[s]=o};for(let o=0,c=arguments.length;o(el(e,(c,s)=>{i&&fi(c)?t[s]=Y_(c,i):t[s]=c},{allOwnKeys:o}),t),GL=t=>(t.charCodeAt(0)===65279&&(t=t.slice(1)),t),UL=(t,e,i,o)=>{t.prototype=Object.create(e.prototype,o),t.prototype.constructor=t,Object.defineProperty(t,"super",{value:e.prototype}),i&&Object.assign(t.prototype,i)},$L=(t,e,i,o)=>{let c,s,u;const f={};if(e=e||{},t==null)return e;do{for(c=Object.getOwnPropertyNames(t),s=c.length;s-- >0;)u=c[s],(!o||o(u,t,e))&&!f[u]&&(e[u]=t[u],f[u]=!0);t=i!==!1&&Ld(t)}while(t&&(!i||i(t,e))&&t!==Object.prototype);return e},HL=(t,e,i)=>{t=String(t),(i===void 0||i>t.length)&&(i=t.length),i-=e.length;const o=t.indexOf(e,i);return o!==-1&&o===i},ZL=t=>{if(!t)return null;if(ws(t))return t;let e=t.length;if(!Q_(e))return null;const i=new Array(e);for(;e-- >0;)i[e]=t[e];return i},qL=(t=>e=>t&&e instanceof t)(typeof Uint8Array<"u"&&Ld(Uint8Array)),KL=(t,e)=>{const o=(t&&t[Symbol.iterator]).call(t);let c;for(;(c=o.next())&&!c.done;){const s=c.value;e.call(t,s[0],s[1])}},WL=(t,e)=>{let i;const o=[];for(;(i=t.exec(e))!==null;)o.push(i);return o},JL=zi("HTMLFormElement"),YL=t=>t.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(i,o,c){return o.toUpperCase()+c}),lf=(({hasOwnProperty:t})=>(e,i)=>t.call(e,i))(Object.prototype),XL=zi("RegExp"),ng=(t,e)=>{const i=Object.getOwnPropertyDescriptors(t),o={};el(i,(c,s)=>{let u;(u=e(c,s,t))!==!1&&(o[s]=u||c)}),Object.defineProperties(t,o)},QL=t=>{ng(t,(e,i)=>{if(fi(t)&&["arguments","caller","callee"].indexOf(i)!==-1)return!1;const o=t[i];if(fi(o)){if(e.enumerable=!1,"writable"in e){e.writable=!1;return}e.set||(e.set=()=>{throw Error("Can not rewrite read-only method '"+i+"'")})}})},tC=(t,e)=>{const i={},o=c=>{c.forEach(s=>{i[s]=!0})};return ws(t)?o(t):o(String(t).split(e)),i},eC=()=>{},nC=(t,e)=>t!=null&&Number.isFinite(t=+t)?t:e,rh="abcdefghijklmnopqrstuvwxyz",uf="0123456789",ig={DIGIT:uf,ALPHA:rh,ALPHA_DIGIT:rh+rh.toUpperCase()+uf},iC=(t=16,e=ig.ALPHA_DIGIT)=>{let i="";const{length:o}=e;for(;t--;)i+=e[Math.random()*o|0];return i};function rC(t){return!!(t&&fi(t.append)&&t[Symbol.toStringTag]==="FormData"&&t[Symbol.iterator])}const oC=t=>{const e=new Array(10),i=(o,c)=>{if(Hu(o)){if(e.indexOf(o)>=0)return;if(!("toJSON"in o)){e[c]=o;const s=ws(o)?[]:{};return el(o,(u,f)=>{const _=i(u,c+1);!Va(_)&&(s[f]=_)}),e[c]=void 0,s}}return o};return i(t,0)},sC=zi("AsyncFunction"),aC=t=>t&&(Hu(t)||fi(t))&&fi(t.then)&&fi(t.catch),rg=((t,e)=>t?setImmediate:e?((i,o)=>(_o.addEventListener("message",({source:c,data:s})=>{c===_o&&s===i&&o.length&&o.shift()()},!1),c=>{o.push(c),_o.postMessage(i,"*")}))(`axios@${Math.random()}`,[]):i=>setTimeout(i))(typeof setImmediate=="function",fi(_o.postMessage)),lC=typeof queueMicrotask<"u"?queueMicrotask.bind(_o):typeof process<"u"&&process.nextTick||rg,vt={isArray:ws,isArrayBuffer:X_,isBuffer:kL,isFormData:RL,isArrayBufferView:EL,isString:ML,isNumber:Q_,isBoolean:SL,isObject:Hu,isPlainObject:nu,isReadableStream:IL,isRequest:FL,isResponse:NL,isHeaders:jL,isUndefined:Va,isDate:PL,isFile:BL,isBlob:TL,isRegExp:XL,isFunction:fi,isStream:OL,isURLSearchParams:DL,isTypedArray:qL,isFileList:AL,forEach:el,merge:Rh,extend:VL,trim:zL,stripBOM:GL,inherits:UL,toFlatObject:$L,kindOf:Uu,kindOfTest:zi,endsWith:HL,toArray:ZL,forEachEntry:KL,matchAll:WL,isHTMLForm:JL,hasOwnProperty:lf,hasOwnProp:lf,reduceDescriptors:ng,freezeMethods:QL,toObjectSet:tC,toCamelCase:YL,noop:eC,toFiniteNumber:nC,findKey:tg,global:_o,isContextDefined:eg,ALPHABET:ig,generateString:iC,isSpecCompliantForm:rC,toJSONObject:oC,isAsyncFn:sC,isThenable:aC,setImmediate:rg,asap:lC};function Le(t,e,i,o,c){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=t,this.name="AxiosError",e&&(this.code=e),i&&(this.config=i),o&&(this.request=o),c&&(this.response=c,this.status=c.status?c.status:null)}vt.inherits(Le,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:vt.toJSONObject(this.config),code:this.code,status:this.status}}});const og=Le.prototype,sg={};["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=>{sg[t]={value:t}});Object.defineProperties(Le,sg);Object.defineProperty(og,"isAxiosError",{value:!0});Le.from=(t,e,i,o,c,s)=>{const u=Object.create(og);return vt.toFlatObject(t,u,function(_){return _!==Error.prototype},f=>f!=="isAxiosError"),Le.call(u,t.message,e,i,o,c),u.cause=t,u.name=t.name,s&&Object.assign(u,s),u};const uC=null;function Dh(t){return vt.isPlainObject(t)||vt.isArray(t)}function ag(t){return vt.endsWith(t,"[]")?t.slice(0,-2):t}function cf(t,e,i){return t?t.concat(e).map(function(c,s){return c=ag(c),!i&&s?"["+c+"]":c}).join(i?".":""):e}function cC(t){return vt.isArray(t)&&!t.some(Dh)}const hC=vt.toFlatObject(vt,{},null,function(e){return/^is[A-Z]/.test(e)});function Zu(t,e,i){if(!vt.isObject(t))throw new TypeError("target must be an object");e=e||new FormData,i=vt.toFlatObject(i,{metaTokens:!0,dots:!1,indexes:!1},!1,function(V,ot){return!vt.isUndefined(ot[V])});const o=i.metaTokens,c=i.visitor||b,s=i.dots,u=i.indexes,_=(i.Blob||typeof Blob<"u"&&Blob)&&vt.isSpecCompliantForm(e);if(!vt.isFunction(c))throw new TypeError("visitor must be a function");function v(F){if(F===null)return"";if(vt.isDate(F))return F.toISOString();if(!_&&vt.isBlob(F))throw new Le("Blob is not supported. Use a Buffer instead.");return vt.isArrayBuffer(F)||vt.isTypedArray(F)?_&&typeof Blob=="function"?new Blob([F]):Buffer.from(F):F}function b(F,V,ot){let rt=F;if(F&&!ot&&typeof F=="object"){if(vt.endsWith(V,"{}"))V=o?V:V.slice(0,-2),F=JSON.stringify(F);else if(vt.isArray(F)&&cC(F)||(vt.isFileList(F)||vt.endsWith(V,"[]"))&&(rt=vt.toArray(F)))return V=ag(V),rt.forEach(function(z,tt){!(vt.isUndefined(z)||z===null)&&e.append(u===!0?cf([V],tt,s):u===null?V:V+"[]",v(z))}),!1}return Dh(F)?!0:(e.append(cf(ot,V,s),v(F)),!1)}const w=[],B=Object.assign(hC,{defaultVisitor:b,convertValue:v,isVisitable:Dh});function A(F,V){if(!vt.isUndefined(F)){if(w.indexOf(F)!==-1)throw Error("Circular reference detected in "+V.join("."));w.push(F),vt.forEach(F,function(rt,Q){(!(vt.isUndefined(rt)||rt===null)&&c.call(e,rt,vt.isString(Q)?Q.trim():Q,V,B))===!0&&A(rt,V?V.concat(Q):[Q])}),w.pop()}}if(!vt.isObject(t))throw new TypeError("data must be an object");return A(t),e}function hf(t){const e={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(t).replace(/[!'()~]|%20|%00/g,function(o){return e[o]})}function Cd(t,e){this._pairs=[],t&&Zu(t,this,e)}const lg=Cd.prototype;lg.append=function(e,i){this._pairs.push([e,i])};lg.toString=function(e){const i=e?function(o){return e.call(this,o,hf)}:hf;return this._pairs.map(function(c){return i(c[0])+"="+i(c[1])},"").join("&")};function dC(t){return encodeURIComponent(t).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ug(t,e,i){if(!e)return t;const o=i&&i.encode||dC,c=i&&i.serialize;let s;if(c?s=c(e,i):s=vt.isURLSearchParams(e)?e.toString():new Cd(e,i).toString(o),s){const u=t.indexOf("#");u!==-1&&(t=t.slice(0,u)),t+=(t.indexOf("?")===-1?"?":"&")+s}return t}class df{constructor(){this.handlers=[]}use(e,i,o){return this.handlers.push({fulfilled:e,rejected:i,synchronous:o?o.synchronous:!1,runWhen:o?o.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){vt.forEach(this.handlers,function(o){o!==null&&e(o)})}}const cg={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},pC=typeof URLSearchParams<"u"?URLSearchParams:Cd,fC=typeof FormData<"u"?FormData:null,mC=typeof Blob<"u"?Blob:null,_C={isBrowser:!0,classes:{URLSearchParams:pC,FormData:fC,Blob:mC},protocols:["http","https","file","blob","url","data"]},kd=typeof window<"u"&&typeof document<"u",Ih=typeof navigator=="object"&&navigator||void 0,gC=kd&&(!Ih||["ReactNative","NativeScript","NS"].indexOf(Ih.product)<0),yC=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vC=kd&&window.location.href||"http://localhost",bC=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:kd,hasStandardBrowserEnv:gC,hasStandardBrowserWebWorkerEnv:yC,navigator:Ih,origin:vC},Symbol.toStringTag,{value:"Module"})),si={...bC,..._C};function xC(t,e){return Zu(t,new si.classes.URLSearchParams,Object.assign({visitor:function(i,o,c,s){return si.isNode&&vt.isBuffer(i)?(this.append(o,i.toString("base64")),!1):s.defaultVisitor.apply(this,arguments)}},e))}function wC(t){return vt.matchAll(/\w+|\[(\w*)]/g,t).map(e=>e[0]==="[]"?"":e[1]||e[0])}function LC(t){const e={},i=Object.keys(t);let o;const c=i.length;let s;for(o=0;o=i.length;return u=!u&&vt.isArray(c)?c.length:u,_?(vt.hasOwnProp(c,u)?c[u]=[c[u],o]:c[u]=o,!f):((!c[u]||!vt.isObject(c[u]))&&(c[u]=[]),e(i,o,c[u],s)&&vt.isArray(c[u])&&(c[u]=LC(c[u])),!f)}if(vt.isFormData(t)&&vt.isFunction(t.entries)){const i={};return vt.forEachEntry(t,(o,c)=>{e(wC(o),c,i,0)}),i}return null}function CC(t,e,i){if(vt.isString(t))try{return(e||JSON.parse)(t),vt.trim(t)}catch(o){if(o.name!=="SyntaxError")throw o}return(0,JSON.stringify)(t)}const nl={transitional:cg,adapter:["xhr","http","fetch"],transformRequest:[function(e,i){const o=i.getContentType()||"",c=o.indexOf("application/json")>-1,s=vt.isObject(e);if(s&&vt.isHTMLForm(e)&&(e=new FormData(e)),vt.isFormData(e))return c?JSON.stringify(hg(e)):e;if(vt.isArrayBuffer(e)||vt.isBuffer(e)||vt.isStream(e)||vt.isFile(e)||vt.isBlob(e)||vt.isReadableStream(e))return e;if(vt.isArrayBufferView(e))return e.buffer;if(vt.isURLSearchParams(e))return i.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let f;if(s){if(o.indexOf("application/x-www-form-urlencoded")>-1)return xC(e,this.formSerializer).toString();if((f=vt.isFileList(e))||o.indexOf("multipart/form-data")>-1){const _=this.env&&this.env.FormData;return Zu(f?{"files[]":e}:e,_&&new _,this.formSerializer)}}return s||c?(i.setContentType("application/json",!1),CC(e)):e}],transformResponse:[function(e){const i=this.transitional||nl.transitional,o=i&&i.forcedJSONParsing,c=this.responseType==="json";if(vt.isResponse(e)||vt.isReadableStream(e))return e;if(e&&vt.isString(e)&&(o&&!this.responseType||c)){const u=!(i&&i.silentJSONParsing)&&c;try{return JSON.parse(e)}catch(f){if(u)throw f.name==="SyntaxError"?Le.from(f,Le.ERR_BAD_RESPONSE,this,null,this.response):f}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:si.classes.FormData,Blob:si.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};vt.forEach(["delete","get","head","post","put","patch"],t=>{nl.headers[t]={}});const kC=vt.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"]),EC=t=>{const e={};let i,o,c;return t&&t.split(` +`).forEach(function(u){c=u.indexOf(":"),i=u.substring(0,c).trim().toLowerCase(),o=u.substring(c+1).trim(),!(!i||e[i]&&kC[i])&&(i==="set-cookie"?e[i]?e[i].push(o):e[i]=[o]:e[i]=e[i]?e[i]+", "+o:o)}),e},pf=Symbol("internals");function da(t){return t&&String(t).trim().toLowerCase()}function iu(t){return t===!1||t==null?t:vt.isArray(t)?t.map(iu):String(t)}function MC(t){const e=Object.create(null),i=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let o;for(;o=i.exec(t);)e[o[1]]=o[2];return e}const SC=t=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(t.trim());function oh(t,e,i,o,c){if(vt.isFunction(o))return o.call(this,e,i);if(c&&(e=i),!!vt.isString(e)){if(vt.isString(o))return e.indexOf(o)!==-1;if(vt.isRegExp(o))return o.test(e)}}function PC(t){return t.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,i,o)=>i.toUpperCase()+o)}function BC(t,e){const i=vt.toCamelCase(" "+e);["get","set","has"].forEach(o=>{Object.defineProperty(t,o+i,{value:function(c,s,u){return this[o].call(this,e,c,s,u)},configurable:!0})})}class ai{constructor(e){e&&this.set(e)}set(e,i,o){const c=this;function s(f,_,v){const b=da(_);if(!b)throw new Error("header name must be a non-empty string");const w=vt.findKey(c,b);(!w||c[w]===void 0||v===!0||v===void 0&&c[w]!==!1)&&(c[w||_]=iu(f))}const u=(f,_)=>vt.forEach(f,(v,b)=>s(v,b,_));if(vt.isPlainObject(e)||e instanceof this.constructor)u(e,i);else if(vt.isString(e)&&(e=e.trim())&&!SC(e))u(EC(e),i);else if(vt.isHeaders(e))for(const[f,_]of e.entries())s(_,f,o);else e!=null&&s(i,e,o);return this}get(e,i){if(e=da(e),e){const o=vt.findKey(this,e);if(o){const c=this[o];if(!i)return c;if(i===!0)return MC(c);if(vt.isFunction(i))return i.call(this,c,o);if(vt.isRegExp(i))return i.exec(c);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,i){if(e=da(e),e){const o=vt.findKey(this,e);return!!(o&&this[o]!==void 0&&(!i||oh(this,this[o],o,i)))}return!1}delete(e,i){const o=this;let c=!1;function s(u){if(u=da(u),u){const f=vt.findKey(o,u);f&&(!i||oh(o,o[f],f,i))&&(delete o[f],c=!0)}}return vt.isArray(e)?e.forEach(s):s(e),c}clear(e){const i=Object.keys(this);let o=i.length,c=!1;for(;o--;){const s=i[o];(!e||oh(this,this[s],s,e,!0))&&(delete this[s],c=!0)}return c}normalize(e){const i=this,o={};return vt.forEach(this,(c,s)=>{const u=vt.findKey(o,s);if(u){i[u]=iu(c),delete i[s];return}const f=e?PC(s):String(s).trim();f!==s&&delete i[s],i[f]=iu(c),o[f]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const i=Object.create(null);return vt.forEach(this,(o,c)=>{o!=null&&o!==!1&&(i[c]=e&&vt.isArray(o)?o.join(", "):o)}),i}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,i])=>e+": "+i).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...i){const o=new this(e);return i.forEach(c=>o.set(c)),o}static accessor(e){const o=(this[pf]=this[pf]={accessors:{}}).accessors,c=this.prototype;function s(u){const f=da(u);o[f]||(BC(c,u),o[f]=!0)}return vt.isArray(e)?e.forEach(s):s(e),this}}ai.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);vt.reduceDescriptors(ai.prototype,({value:t},e)=>{let i=e[0].toUpperCase()+e.slice(1);return{get:()=>t,set(o){this[i]=o}}});vt.freezeMethods(ai);function sh(t,e){const i=this||nl,o=e||i,c=ai.from(o.headers);let s=o.data;return vt.forEach(t,function(f){s=f.call(i,s,c.normalize(),e?e.status:void 0)}),c.normalize(),s}function dg(t){return!!(t&&t.__CANCEL__)}function Ls(t,e,i){Le.call(this,t??"canceled",Le.ERR_CANCELED,e,i),this.name="CanceledError"}vt.inherits(Ls,Le,{__CANCEL__:!0});function pg(t,e,i){const o=i.config.validateStatus;!i.status||!o||o(i.status)?t(i):e(new Le("Request failed with status code "+i.status,[Le.ERR_BAD_REQUEST,Le.ERR_BAD_RESPONSE][Math.floor(i.status/100)-4],i.config,i.request,i))}function TC(t){const e=/^([-+\w]{1,25})(:?\/\/|:)/.exec(t);return e&&e[1]||""}function AC(t,e){t=t||10;const i=new Array(t),o=new Array(t);let c=0,s=0,u;return e=e!==void 0?e:1e3,function(_){const v=Date.now(),b=o[s];u||(u=v),i[c]=_,o[c]=v;let w=s,B=0;for(;w!==c;)B+=i[w++],w=w%t;if(c=(c+1)%t,c===s&&(s=(s+1)%t),v-u{i=b,c=null,s&&(clearTimeout(s),s=null),t.apply(null,v)};return[(...v)=>{const b=Date.now(),w=b-i;w>=o?u(v,b):(c=v,s||(s=setTimeout(()=>{s=null,u(c)},o-w)))},()=>c&&u(c)]}const yu=(t,e,i=3)=>{let o=0;const c=AC(50,250);return OC(s=>{const u=s.loaded,f=s.lengthComputable?s.total:void 0,_=u-o,v=c(_),b=u<=f;o=u;const w={loaded:u,total:f,progress:f?u/f:void 0,bytes:_,rate:v||void 0,estimated:v&&f&&b?(f-u)/v:void 0,event:s,lengthComputable:f!=null,[e?"download":"upload"]:!0};t(w)},i)},ff=(t,e)=>{const i=t!=null;return[o=>e[0]({lengthComputable:i,total:t,loaded:o}),e[1]]},mf=t=>(...e)=>vt.asap(()=>t(...e)),RC=si.hasStandardBrowserEnv?function(){const e=si.navigator&&/(msie|trident)/i.test(si.navigator.userAgent),i=document.createElement("a");let o;function c(s){let u=s;return e&&(i.setAttribute("href",u),u=i.href),i.setAttribute("href",u),{href:i.href,protocol:i.protocol?i.protocol.replace(/:$/,""):"",host:i.host,search:i.search?i.search.replace(/^\?/,""):"",hash:i.hash?i.hash.replace(/^#/,""):"",hostname:i.hostname,port:i.port,pathname:i.pathname.charAt(0)==="/"?i.pathname:"/"+i.pathname}}return o=c(window.location.href),function(u){const f=vt.isString(u)?c(u):u;return f.protocol===o.protocol&&f.host===o.host}}():function(){return function(){return!0}}(),DC=si.hasStandardBrowserEnv?{write(t,e,i,o,c,s){const u=[t+"="+encodeURIComponent(e)];vt.isNumber(i)&&u.push("expires="+new Date(i).toGMTString()),vt.isString(o)&&u.push("path="+o),vt.isString(c)&&u.push("domain="+c),s===!0&&u.push("secure"),document.cookie=u.join("; ")},read(t){const e=document.cookie.match(new RegExp("(^|;\\s*)("+t+")=([^;]*)"));return e?decodeURIComponent(e[3]):null},remove(t){this.write(t,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function IC(t){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)}function FC(t,e){return e?t.replace(/\/?\/$/,"")+"/"+e.replace(/^\/+/,""):t}function fg(t,e){return t&&!IC(e)?FC(t,e):e}const _f=t=>t instanceof ai?{...t}:t;function ko(t,e){e=e||{};const i={};function o(v,b,w){return vt.isPlainObject(v)&&vt.isPlainObject(b)?vt.merge.call({caseless:w},v,b):vt.isPlainObject(b)?vt.merge({},b):vt.isArray(b)?b.slice():b}function c(v,b,w){if(vt.isUndefined(b)){if(!vt.isUndefined(v))return o(void 0,v,w)}else return o(v,b,w)}function s(v,b){if(!vt.isUndefined(b))return o(void 0,b)}function u(v,b){if(vt.isUndefined(b)){if(!vt.isUndefined(v))return o(void 0,v)}else return o(void 0,b)}function f(v,b,w){if(w in e)return o(v,b);if(w in t)return o(void 0,v)}const _={url:s,method:s,data:s,baseURL:u,transformRequest:u,transformResponse:u,paramsSerializer:u,timeout:u,timeoutMessage:u,withCredentials:u,withXSRFToken:u,adapter:u,responseType:u,xsrfCookieName:u,xsrfHeaderName:u,onUploadProgress:u,onDownloadProgress:u,decompress:u,maxContentLength:u,maxBodyLength:u,beforeRedirect:u,transport:u,httpAgent:u,httpsAgent:u,cancelToken:u,socketPath:u,responseEncoding:u,validateStatus:f,headers:(v,b)=>c(_f(v),_f(b),!0)};return vt.forEach(Object.keys(Object.assign({},t,e)),function(b){const w=_[b]||c,B=w(t[b],e[b],b);vt.isUndefined(B)&&w!==f||(i[b]=B)}),i}const mg=t=>{const e=ko({},t);let{data:i,withXSRFToken:o,xsrfHeaderName:c,xsrfCookieName:s,headers:u,auth:f}=e;e.headers=u=ai.from(u),e.url=ug(fg(e.baseURL,e.url),t.params,t.paramsSerializer),f&&u.set("Authorization","Basic "+btoa((f.username||"")+":"+(f.password?unescape(encodeURIComponent(f.password)):"")));let _;if(vt.isFormData(i)){if(si.hasStandardBrowserEnv||si.hasStandardBrowserWebWorkerEnv)u.setContentType(void 0);else if((_=u.getContentType())!==!1){const[v,...b]=_?_.split(";").map(w=>w.trim()).filter(Boolean):[];u.setContentType([v||"multipart/form-data",...b].join("; "))}}if(si.hasStandardBrowserEnv&&(o&&vt.isFunction(o)&&(o=o(e)),o||o!==!1&&RC(e.url))){const v=c&&s&&DC.read(s);v&&u.set(c,v)}return e},NC=typeof XMLHttpRequest<"u",jC=NC&&function(t){return new Promise(function(i,o){const c=mg(t);let s=c.data;const u=ai.from(c.headers).normalize();let{responseType:f,onUploadProgress:_,onDownloadProgress:v}=c,b,w,B,A,F;function V(){A&&A(),F&&F(),c.cancelToken&&c.cancelToken.unsubscribe(b),c.signal&&c.signal.removeEventListener("abort",b)}let ot=new XMLHttpRequest;ot.open(c.method.toUpperCase(),c.url,!0),ot.timeout=c.timeout;function rt(){if(!ot)return;const z=ai.from("getAllResponseHeaders"in ot&&ot.getAllResponseHeaders()),pt={data:!f||f==="text"||f==="json"?ot.responseText:ot.response,status:ot.status,statusText:ot.statusText,headers:z,config:t,request:ot};pg(function(Ft){i(Ft),V()},function(Ft){o(Ft),V()},pt),ot=null}"onloadend"in ot?ot.onloadend=rt:ot.onreadystatechange=function(){!ot||ot.readyState!==4||ot.status===0&&!(ot.responseURL&&ot.responseURL.indexOf("file:")===0)||setTimeout(rt)},ot.onabort=function(){ot&&(o(new Le("Request aborted",Le.ECONNABORTED,t,ot)),ot=null)},ot.onerror=function(){o(new Le("Network Error",Le.ERR_NETWORK,t,ot)),ot=null},ot.ontimeout=function(){let tt=c.timeout?"timeout of "+c.timeout+"ms exceeded":"timeout exceeded";const pt=c.transitional||cg;c.timeoutErrorMessage&&(tt=c.timeoutErrorMessage),o(new Le(tt,pt.clarifyTimeoutError?Le.ETIMEDOUT:Le.ECONNABORTED,t,ot)),ot=null},s===void 0&&u.setContentType(null),"setRequestHeader"in ot&&vt.forEach(u.toJSON(),function(tt,pt){ot.setRequestHeader(pt,tt)}),vt.isUndefined(c.withCredentials)||(ot.withCredentials=!!c.withCredentials),f&&f!=="json"&&(ot.responseType=c.responseType),v&&([B,F]=yu(v,!0),ot.addEventListener("progress",B)),_&&ot.upload&&([w,A]=yu(_),ot.upload.addEventListener("progress",w),ot.upload.addEventListener("loadend",A)),(c.cancelToken||c.signal)&&(b=z=>{ot&&(o(!z||z.type?new Ls(null,t,ot):z),ot.abort(),ot=null)},c.cancelToken&&c.cancelToken.subscribe(b),c.signal&&(c.signal.aborted?b():c.signal.addEventListener("abort",b)));const Q=TC(c.url);if(Q&&si.protocols.indexOf(Q)===-1){o(new Le("Unsupported protocol "+Q+":",Le.ERR_BAD_REQUEST,t));return}ot.send(s||null)})},zC=(t,e)=>{const{length:i}=t=t?t.filter(Boolean):[];if(e||i){let o=new AbortController,c;const s=function(v){if(!c){c=!0,f();const b=v instanceof Error?v:this.reason;o.abort(b instanceof Le?b:new Ls(b instanceof Error?b.message:b))}};let u=e&&setTimeout(()=>{u=null,s(new Le(`timeout ${e} of ms exceeded`,Le.ETIMEDOUT))},e);const f=()=>{t&&(u&&clearTimeout(u),u=null,t.forEach(v=>{v.unsubscribe?v.unsubscribe(s):v.removeEventListener("abort",s)}),t=null)};t.forEach(v=>v.addEventListener("abort",s));const{signal:_}=o;return _.unsubscribe=()=>vt.asap(f),_}},VC=function*(t,e){let i=t.byteLength;if(i{const c=GC(t,e);let s=0,u,f=_=>{u||(u=!0,o&&o(_))};return new ReadableStream({async pull(_){try{const{done:v,value:b}=await c.next();if(v){f(),_.close();return}let w=b.byteLength;if(i){let B=s+=w;i(B)}_.enqueue(new Uint8Array(b))}catch(v){throw f(v),v}},cancel(_){return f(_),c.return()}},{highWaterMark:2})},qu=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",_g=qu&&typeof ReadableStream=="function",$C=qu&&(typeof TextEncoder=="function"?(t=>e=>t.encode(e))(new TextEncoder):async t=>new Uint8Array(await new Response(t).arrayBuffer())),gg=(t,...e)=>{try{return!!t(...e)}catch{return!1}},HC=_g&&gg(()=>{let t=!1;const e=new Request(si.origin,{body:new ReadableStream,method:"POST",get duplex(){return t=!0,"half"}}).headers.has("Content-Type");return t&&!e}),yf=64*1024,Fh=_g&&gg(()=>vt.isReadableStream(new Response("").body)),vu={stream:Fh&&(t=>t.body)};qu&&(t=>{["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!vu[e]&&(vu[e]=vt.isFunction(t[e])?i=>i[e]():(i,o)=>{throw new Le(`Response type '${e}' is not supported`,Le.ERR_NOT_SUPPORT,o)})})})(new Response);const ZC=async t=>{if(t==null)return 0;if(vt.isBlob(t))return t.size;if(vt.isSpecCompliantForm(t))return(await new Request(si.origin,{method:"POST",body:t}).arrayBuffer()).byteLength;if(vt.isArrayBufferView(t)||vt.isArrayBuffer(t))return t.byteLength;if(vt.isURLSearchParams(t)&&(t=t+""),vt.isString(t))return(await $C(t)).byteLength},qC=async(t,e)=>{const i=vt.toFiniteNumber(t.getContentLength());return i??ZC(e)},KC=qu&&(async t=>{let{url:e,method:i,data:o,signal:c,cancelToken:s,timeout:u,onDownloadProgress:f,onUploadProgress:_,responseType:v,headers:b,withCredentials:w="same-origin",fetchOptions:B}=mg(t);v=v?(v+"").toLowerCase():"text";let A=zC([c,s&&s.toAbortSignal()],u),F;const V=A&&A.unsubscribe&&(()=>{A.unsubscribe()});let ot;try{if(_&&HC&&i!=="get"&&i!=="head"&&(ot=await qC(b,o))!==0){let pt=new Request(e,{method:"POST",body:o,duplex:"half"}),Tt;if(vt.isFormData(o)&&(Tt=pt.headers.get("content-type"))&&b.setContentType(Tt),pt.body){const[Ft,Mt]=ff(ot,yu(mf(_)));o=gf(pt.body,yf,Ft,Mt)}}vt.isString(w)||(w=w?"include":"omit");const rt="credentials"in Request.prototype;F=new Request(e,{...B,signal:A,method:i.toUpperCase(),headers:b.normalize().toJSON(),body:o,duplex:"half",credentials:rt?w:void 0});let Q=await fetch(F);const z=Fh&&(v==="stream"||v==="response");if(Fh&&(f||z&&V)){const pt={};["status","statusText","headers"].forEach(Lt=>{pt[Lt]=Q[Lt]});const Tt=vt.toFiniteNumber(Q.headers.get("content-length")),[Ft,Mt]=f&&ff(Tt,yu(mf(f),!0))||[];Q=new Response(gf(Q.body,yf,Ft,()=>{Mt&&Mt(),V&&V()}),pt)}v=v||"text";let tt=await vu[vt.findKey(vu,v)||"text"](Q,t);return!z&&V&&V(),await new Promise((pt,Tt)=>{pg(pt,Tt,{data:tt,headers:ai.from(Q.headers),status:Q.status,statusText:Q.statusText,config:t,request:F})})}catch(rt){throw V&&V(),rt&&rt.name==="TypeError"&&/fetch/i.test(rt.message)?Object.assign(new Le("Network Error",Le.ERR_NETWORK,t,F),{cause:rt.cause||rt}):Le.from(rt,rt&&rt.code,t,F)}}),Nh={http:uC,xhr:jC,fetch:KC};vt.forEach(Nh,(t,e)=>{if(t){try{Object.defineProperty(t,"name",{value:e})}catch{}Object.defineProperty(t,"adapterName",{value:e})}});const vf=t=>`- ${t}`,WC=t=>vt.isFunction(t)||t===null||t===!1,yg={getAdapter:t=>{t=vt.isArray(t)?t:[t];const{length:e}=t;let i,o;const c={};for(let s=0;s`adapter ${f} `+(_===!1?"is not supported by the environment":"is not available in the build"));let u=e?s.length>1?`since : +`+s.map(vf).join(` +`):" "+vf(s[0]):"as no adapter specified";throw new Le("There is no suitable adapter to dispatch the request "+u,"ERR_NOT_SUPPORT")}return o},adapters:Nh};function ah(t){if(t.cancelToken&&t.cancelToken.throwIfRequested(),t.signal&&t.signal.aborted)throw new Ls(null,t)}function bf(t){return ah(t),t.headers=ai.from(t.headers),t.data=sh.call(t,t.transformRequest),["post","put","patch"].indexOf(t.method)!==-1&&t.headers.setContentType("application/x-www-form-urlencoded",!1),yg.getAdapter(t.adapter||nl.adapter)(t).then(function(o){return ah(t),o.data=sh.call(t,t.transformResponse,o),o.headers=ai.from(o.headers),o},function(o){return dg(o)||(ah(t),o&&o.response&&(o.response.data=sh.call(t,t.transformResponse,o.response),o.response.headers=ai.from(o.response.headers))),Promise.reject(o)})}const vg="1.7.7",Ed={};["object","boolean","number","function","string","symbol"].forEach((t,e)=>{Ed[t]=function(o){return typeof o===t||"a"+(e<1?"n ":" ")+t}});const xf={};Ed.transitional=function(e,i,o){function c(s,u){return"[Axios v"+vg+"] Transitional option '"+s+"'"+u+(o?". "+o:"")}return(s,u,f)=>{if(e===!1)throw new Le(c(u," has been removed"+(i?" in "+i:"")),Le.ERR_DEPRECATED);return i&&!xf[u]&&(xf[u]=!0,console.warn(c(u," has been deprecated since v"+i+" and will be removed in the near future"))),e?e(s,u,f):!0}};function JC(t,e,i){if(typeof t!="object")throw new Le("options must be an object",Le.ERR_BAD_OPTION_VALUE);const o=Object.keys(t);let c=o.length;for(;c-- >0;){const s=o[c],u=e[s];if(u){const f=t[s],_=f===void 0||u(f,s,t);if(_!==!0)throw new Le("option "+s+" must be "+_,Le.ERR_BAD_OPTION_VALUE);continue}if(i!==!0)throw new Le("Unknown option "+s,Le.ERR_BAD_OPTION)}}const jh={assertOptions:JC,validators:Ed},Rr=jh.validators;class wo{constructor(e){this.defaults=e,this.interceptors={request:new df,response:new df}}async request(e,i){try{return await this._request(e,i)}catch(o){if(o instanceof Error){let c;Error.captureStackTrace?Error.captureStackTrace(c={}):c=new Error;const s=c.stack?c.stack.replace(/^.+\n/,""):"";try{o.stack?s&&!String(o.stack).endsWith(s.replace(/^.+\n.+\n/,""))&&(o.stack+=` +`+s):o.stack=s}catch{}}throw o}}_request(e,i){typeof e=="string"?(i=i||{},i.url=e):i=e||{},i=ko(this.defaults,i);const{transitional:o,paramsSerializer:c,headers:s}=i;o!==void 0&&jh.assertOptions(o,{silentJSONParsing:Rr.transitional(Rr.boolean),forcedJSONParsing:Rr.transitional(Rr.boolean),clarifyTimeoutError:Rr.transitional(Rr.boolean)},!1),c!=null&&(vt.isFunction(c)?i.paramsSerializer={serialize:c}:jh.assertOptions(c,{encode:Rr.function,serialize:Rr.function},!0)),i.method=(i.method||this.defaults.method||"get").toLowerCase();let u=s&&vt.merge(s.common,s[i.method]);s&&vt.forEach(["delete","get","head","post","put","patch","common"],F=>{delete s[F]}),i.headers=ai.concat(u,s);const f=[];let _=!0;this.interceptors.request.forEach(function(V){typeof V.runWhen=="function"&&V.runWhen(i)===!1||(_=_&&V.synchronous,f.unshift(V.fulfilled,V.rejected))});const v=[];this.interceptors.response.forEach(function(V){v.push(V.fulfilled,V.rejected)});let b,w=0,B;if(!_){const F=[bf.bind(this),void 0];for(F.unshift.apply(F,f),F.push.apply(F,v),B=F.length,b=Promise.resolve(i);w{if(!o._listeners)return;let s=o._listeners.length;for(;s-- >0;)o._listeners[s](c);o._listeners=null}),this.promise.then=c=>{let s;const u=new Promise(f=>{o.subscribe(f),s=f}).then(c);return u.cancel=function(){o.unsubscribe(s)},u},e(function(s,u,f){o.reason||(o.reason=new Ls(s,u,f),i(o.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){if(this.reason){e(this.reason);return}this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const i=this._listeners.indexOf(e);i!==-1&&this._listeners.splice(i,1)}toAbortSignal(){const e=new AbortController,i=o=>{e.abort(o)};return this.subscribe(i),e.signal.unsubscribe=()=>this.unsubscribe(i),e.signal}static source(){let e;return{token:new Md(function(c){e=c}),cancel:e}}}function YC(t){return function(i){return t.apply(null,i)}}function XC(t){return vt.isObject(t)&&t.isAxiosError===!0}const zh={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(zh).forEach(([t,e])=>{zh[e]=t});function bg(t){const e=new wo(t),i=Y_(wo.prototype.request,e);return vt.extend(i,wo.prototype,e,{allOwnKeys:!0}),vt.extend(i,e,null,{allOwnKeys:!0}),i.create=function(c){return bg(ko(t,c))},i}const _n=bg(nl);_n.Axios=wo;_n.CanceledError=Ls;_n.CancelToken=Md;_n.isCancel=dg;_n.VERSION=vg;_n.toFormData=Zu;_n.AxiosError=Le;_n.Cancel=_n.CanceledError;_n.all=function(e){return Promise.all(e)};_n.spread=YC;_n.isAxiosError=XC;_n.mergeConfig=ko;_n.AxiosHeaders=ai;_n.formToJSON=t=>hg(vt.isHTMLForm(t)?new FormData(t):t);_n.getAdapter=yg.getAdapter;_n.HttpStatusCode=zh;_n.default=_n;var QC={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const{url:tk,project_token:ek}=QC,fn=_n.create({baseURL:tk,params:{project_token:ek}});class Yn{static getTaxonNameCitations(e,i){return fn.get(`/taxon_names/${e}/inventory/catalog`,i)}static getOtu(e){return fn.get(`/otus/${e}`,{params:{extend:["parents"]}})}static getOtus(e){return fn.get("/otus.json",{params:e})}static getTaxon(e,i){return fn.get(`/taxon_names/${e}`,i)}static summary(e,i){return fn.get(`/taxon_names/${e}/inventory/summary`,i)}static getTaxonTypeDesignation(e){return fn.get(`/taxon_names/${e}`,{params:{extend:["type_taxon_name_relationship"]}})}static getOtuImages(e,i){return fn.get(`/otus/${e}/inventory/images.json`,i)}static getTaxonomy(e,i){return fn.get(`/otus/${e}/inventory/taxonomy.json`,i)}static getOtuTypeMaterial(e){return fn.get(`/otus/${e}/inventory/type_material.json`)}static getOtuDistribution(e,i={}){return fn.get(`/otus/${e}/inventory/distribution.json`,i)}static getOtuGeoJSONDistribution(e){return fn.get(`/otus/${e}/inventory/distribution.geojson`)}static getCachedMap(e,i){return fn.get(`/cached_maps/${e}`,i)}static getOtuContent(e,i){return fn.get(`/otus/${e}/inventory/content`,i)}static getCachedMap(e){return fn.get(`/cached_maps/${e}`)}static getKeys(e){return fn.get(`/otus/${e}/inventory/keys`)}}const So=Zr("otuStore",{state:()=>({otu:null,taxon:null,images:null,catalog:{sources:[],stats:{},timeline:[],isLoading:!1},taxonomy:{commonNames:[],synonyms:[]}}),actions:{async loadTaxon(t,{signal:e}){const i=md(),o=await Promise.all([Yn.getTaxon(t,{params:{extend:["type_taxon_name_relationship"]}}),_r("summary",()=>Yn.summary(t,{signal:e}))]);this.taxon=Object.assign({},...o.map(c=>c.data)),i.setNextAuthorText(this.taxon.full_name_tag+".")},async loadOtu(t,{signal:e}){const i=await Yn.getOtu(t,{signal:e});this.otu=i.data},async loadTaxonomy(t,{signal:e}){const{data:i}=await Yn.getTaxonomy(t,{params:{max_descendants_depth:0,extend:["common_names"]},signal:e});this.taxonomy={commonNames:i.common_names,synonyms:i.nomenclatural_synonyms}},async loadCatalog(t,{signal:e}){this.catalog.isLoading=!0;const i=await _r("taxonomy",()=>Yn.getTaxonNameCitations(t,{signal:e}));this.catalog={...i.data,sources:i.data.sources.map(({cached:o,url:c})=>o.replace(c,`${c}`)),isLoading:!1}},async loadInit({otuId:t,controller:e}){Gu().$reset();try{await this.loadOtu(t,e),await this.loadTaxon(this.otu.taxon_name_id,e),await this.loadCatalog(this.otu.taxon_name_id,e),await this.loadTaxonomy(t,e)}catch(o){return Promise.reject(o)}}}});function nk(t,e){return t||(t={}),t._resolver=e,t}function ik(t){return nk(t,"taxon")}function rk(t){return dd({script:[{type:"application/ld+json",key:"schema-org-graph",nodes:t}]})}function Vh(t,e){return!t.length||t.some(i=>e==null?void 0:e.includes(i))}function ok(t){return t.replace(/^[\s_]+|[\s_]+$/g,"").replace(/[_\s]+/g," ").replace(/^[a-z]/,e=>e.toUpperCase())}function sk(){const t=Ja(),e=Ya(),i=Ut();xn(e,()=>{i.value=o()},{immediate:!0});function o(){const{children:c}=t.getRoutes().find(s=>s.name==="otus-id");return c.map(({path:s,name:u,meta:f})=>({label:s&&(f.label||ok(s)),path:s,name:u,meta:f}))}return i}const ss=Object.values(Object.assign({}))[0];function ak({taxon:t,otu:e}){const i=Ya(),c={router:Ja(),route:i,taxon:t,otu:e};return{onCreatePage:()=>ss==null?void 0:ss.onCreatePage(c),onSSRCreatePage:()=>ss==null?void 0:ss.onSSRCreatePage(c)}}const lk={class:"p-4 pt-0"},uk=["href"],ck={__name:"DataMap",setup(t){const e=Ut(!1),i=Gu();return(o,c)=>{const s=dt("IconJson"),u=dt("VButton"),f=dt("VTableHeaderCell"),_=dt("VTableHeaderRow"),v=dt("VTableHeader"),b=dt("VTableBodyCell"),w=dt("VTableBodyRow"),B=dt("VTableBody"),A=dt("VTable"),F=dt("VModal");return P(),Z("div",null,[X(u,{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]=V=>e.value=!0)},{default:nt(()=>[X(s,{class:"w-4 h-4"}),c[2]||(c[2]=Xt(" Datamap "))]),_:1}),e.value?(P(),bt(F,{key:0,onClose:c[1]||(c[1]=V=>e.value=!1)},{header:nt(()=>c[3]||(c[3]=[$("h3",{class:"font-medium"},"Datamap",-1)])),default:nt(()=>[$("div",lk,[c[6]||(c[6]=$("p",{class:"text-sm mb-2"}," The following links provide the information present on this page in JSON format. ",-1)),X(A,null,{default:nt(()=>[X(v,null,{default:nt(()=>[X(_,null,{default:nt(()=>[X(f,null,{default:nt(()=>c[4]||(c[4]=[Xt(" Request Key ")])),_:1}),X(f,null,{default:nt(()=>c[5]||(c[5]=[Xt(" URL ")])),_:1})]),_:1})]),_:1}),X(B,null,{default:nt(()=>[(P(!0),Z(jt,null,de(zt(i).datamap,(V,ot)=>(P(),bt(w,{key:ot},{default:nt(()=>[X(b,{class:"capitalize"},{default:nt(()=>[Xt(It(ot.replaceAll(":"," ")),1)]),_:2},1024),X(b,null,{default:nt(()=>[$("a",{href:V},It(V),9,uk)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})])]),_:1})):Ot("",!0)])}}},hk={class:"relative"},dk={key:1,class:"absolute right-0 py-2 bg-white dark:bg-gray-900 rounded-md shadow-xl z-20"},pk={__name:"BreadcrumbDropdown",props:{list:{type:Array,required:!0}},setup(t){const e=Ut(!1);return(i,o)=>{const c=dt("router-link");return P(),Z("div",hk,[$("div",null,[$("button",{class:"inline-flex items-center text-sm hover:text-gray-900 text-primary-500 dark:hover:text-gray-500",onClick:o[0]||(o[0]=s=>e.value=!e.value)},[be(i.$slots,"default"),o[2]||(o[2]=$("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"},[$("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))]),e.value?(P(),Z("div",{key:0,class:"fixed inset-0 h-full w-full z-10",onClick:o[1]||(o[1]=s=>e.value=!1)})):Ot("",!0),e.value?(P(),Z("div",dk,[(P(!0),Z(jt,null,de(t.list,s=>(P(),bt(c,{key:s.id,class:"block px-4 py-2 text-sm capitalize hover:bg-secondary-color hover:bg-opacity-5",to:{name:"otus-id",params:{id:s.id}}},{default:nt(()=>[Xt(It(s.name||i.key),1)]),_:2},1032,["to"]))),128))])):Ot("",!0)])])}}},fk={class:"inline-flex items-center flex-wrap"},mk={class:"inline-flex items-center ml-0 text-sm"},_k=["innerHTML"],gk={__name:"Breadcrumb",props:{list:{type:Object,default:()=>({})},current:{type:Object,required:!0}},setup(t){return(e,i)=>{const o=dt("IconArrowRight"),c=dt("router-link");return P(),Z("ul",fk,[(P(!0),Z(jt,null,de(t.list,(s,u,f)=>(P(),Z("li",{key:s.id,class:"inline-flex items-center"},[f?(P(),bt(o,{key:0,class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"})):Ot("",!0),s.length===1?(P(),bt(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:s[0].id}}},{default:nt(()=>[Xt(It(u),1)]),_:2},1032,["to"])):(P(),bt(pk,{key:2,list:s.map(_=>({..._,name:_.name||u}))},{default:nt(()=>[Xt(It(u),1)]),_:2},1032,["list"]))]))),128)),$("li",mk,[X(o,{class:"w-3 h-3 mr-0.5 ml-0.5 opacity-50"}),$("span",{innerHTML:t.current.full_name_tag},null,8,_k)])])}}},yk={__name:"CommonNames",setup(t){const e=So(),i=Jt(()=>e.taxonomy.commonNames.map(o=>o.name).join("; "));return(o,c)=>(P(),Z("span",null,It(i.value),1))}},vk={class:"text-1xl capitalize"},bk={class:"text-xl dark:text-gray-100"},xk=["title","innerHTML"],wk={key:0,class:"ml-1 text-red-600",title:"Invalid"},Lk={class:"text-1xl"},Ck={__name:"TaxaInfo",setup(t){const e=So();return(i,o)=>(P(),Z("div",null,[$("h2",vk,It(zt(e).taxon.rank||"Combination"),1),$("h1",bk,[$("span",null,[$("span",{title:zt(e).taxon.short_status,innerHTML:zt(e).taxon.full_name_tag},null,8,xk),zt(e).taxon.is_valid?Ot("",!0):(P(),Z("span",wk," ✕ "))])]),$("h2",Lk,[X(yk)])]))}};var kk={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const Ek={__name:"DWCDownload",props:{otu:{type:Object,required:!0}},setup(t){const{url:e,project_token:i}=kk,o=t;function c(){window.open(`${e}/otus/${o.otu.id}/inventory/dwc.csv?project_token=${i}`,"_self")}return(s,u)=>{const f=dt("IconDownload"),_=dt("VButton");return P(),bt(_,{primary:"",class:"text-sm flex items-center",title:"Download DwC Occurrences",onClick:u[0]||(u[0]=()=>{c()})},{default:nt(()=>[X(f,{class:"w-4 h-4 mr-1"}),u[1]||(u[1]=Xt(" DwC "))]),_:1})}}};var Mk={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const Sk={class:"bg-base-foreground border-b border-base-muted pl-4 pr-4"},Pk={class:"container mx-auto"},Bk={class:"pt-6 pb-6"},Tk={class:"flex flex-col-reverse md:flex-row justify-between items-start"},Ak={class:"mt-8 flex justify-between items-end"},Ok={class:"flex flex-row gap-2"},Rk={class:"pt-3 pb-4"},Dk={class:"container mx-auto box-border"},Ik={__name:"Index",setup(t){const e=Ya(),i=Ja(),o=Ut(e.params),c=sk(),s=So(),u=md();let f=new AbortController;i.afterEach(Q=>{o.value=Q.params});const _=Jt(()=>s.otu),v=Jt(()=>s.taxon),b=Jt(()=>{var Q,z;return((Q=_.value)==null?void 0:Q.id)&&((z=v.value)==null?void 0:z.id)}),w=Jt(()=>c.value.filter(Q=>Vh(Q.meta.rankGroup,v.value.rank_string))),{onCreatePage:B,onSSRCreatePage:A}=ak({taxon:v,otu:_});sd(async()=>{await F(),await A()}),B(),xn(()=>e.params.id,async()=>{f.abort(),f=new AbortController,F()}),Cn(async()=>{var Q,z;((Q=_.value)==null?void 0:Q.id)!==Number(e.params.id)||!((z=v.value)!=null&&z.id)?await F():ot()}),Yi(()=>{s.$reset(),u.$reset()});async function F(){s.$reset(),u.$reset();try{await s.loadInit({otuId:e.params.id,controller:f}),ot()}catch(Q){Q.name!==za.CanceledError&&V(Q)}}function V(Q){var z;switch((z=Q==null?void 0:Q.response)==null?void 0:z.status){case 404:i.replace({name:"httpError404"});break;case 500:i.replace({name:"httpError500"});break}}function ot(){dd({title:`${Mk.project_name} - ${v.value.full_name}`}),rk([ik({id:e.fullPath,name:v.value.full_name,scientificName:{name:v.value.full_name,author:v.value.author,taxonRank:v.value.rank},parentTaxon:{name:v.value.parent.full_name,taxonRank:v.value.parent.rank},commonNames:s.taxonomy.commonNames,alternateName:s.taxonomy.synonyms})])}function rt({id:Q,otu_valid_id:z}){i.push({name:"otus-id-overview",params:{id:z||Q}})}return(Q,z)=>{const tt=dt("VSkeleton"),pt=dt("Autocomplete"),Tt=dt("ClientOnly"),Ft=dt("TabItem"),Mt=dt("TabMenu"),Lt=dt("RouterView");return P(),Z("main",null,[$("div",Sk,[$("div",Pk,[$("div",Bk,[$("div",Tk,[X(tt,{class:"w-full md:w-3/4"},{default:nt(()=>{var Dt;return[b.value?(P(),bt(gk,{key:0,class:"w-full md:w-3/4",list:((Dt=_.value)==null?void 0:Dt.parents)||{},current:v.value},null,8,["list","current"])):Ot("",!0)]}),_:1}),X(pt,{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:rt})]),$("div",Ak,[X(tt,{lines:2,class:"w-96"},{default:nt(()=>[b.value?(P(),bt(Ck,{key:0})):Ot("",!0)]),_:1}),$("div",Ok,[X(Tt,null,{default:nt(()=>[X(ck)]),_:1}),b.value?(P(),bt(Ek,{key:0,otu:_.value},null,8,["otu"])):Ot("",!0)])])]),b.value&&zt(c).length>1?(P(),bt(Mt,{key:0,class:"m-[-1px] print:hidden"},{default:nt(()=>[(P(!0),Z(jt,null,de(w.value,({name:Dt,label:qt})=>(P(),bt(Ft,{key:Dt,to:{name:Dt}},{default:nt(()=>[Xt(It(qt),1)]),_:2},1032,["to"]))),128))]),_:1})):Ot("",!0)])]),$("div",Rk,[$("div",Dk,[b.value?(P(),bt(Lt,{key:zt(e).fullPath,"taxon-id":v.value.id,taxon:v.value,"taxon-rank":v.value.rank_string,"otu-id":_.value.id,otu:_.value},null,8,["taxon-id","taxon","taxon-rank","otu-id","otu"])):Ot("",!0)])])])}}},Fk=["title"],Nk=["alt","src"],jk={__name:"GalleryThumbnail",props:{image:{type:Object,required:!0},title:{type:String,default:void 0}},setup(t){return(e,i)=>(P(),Z("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},[$("img",{class:"max-h-20 max-w-24 h-20 w-24 object-contain rounded",alt:t.title,src:t.image.thumb},null,8,Nk)],8,Fk))}},zk={class:"flex flex-row overflow-x-auto print:flex-wrap gap-1.5"},bu={__name:"GalleryThumbnailList",props:{images:{type:Array,default:()=>[]},current:{type:Number,default:void 0}},emits:["selectIndex"],setup(t,{emit:e}){const i=e;return(o,c)=>(P(),Z("div",zk,[(P(!0),Z(jt,null,de(t.images,(s,u)=>{var f;return P(),Z("div",{key:s.id},[X(jk,{image:s,class:en({"border border-secondary-color":t.current===u}),title:(f=s.depictions)==null?void 0:f.map(_=>_.label).join(";"),onClick:_=>i("selectIndex",u)},null,8,["image","class","title","onClick"])])}),128))]))}},Vk={class:"flex justify-between flex-col gap-2 text-sm px-2 py-4"},Gk={class:"flex flex-col"},Uk={class:"font-medium"},$k=["innerHTML"],Hk={class:"flex flex-col justify-between text-sm px-2 py-4 gap-2"},Zk={class:"flex flex-col"},qk=["innerHTML"],Kk={__name:"PanelSpecimenRecords",props:{otuId:{type:Number,required:!0}},setup(t){const e=t,i=Ut(0),o=Ut([]),c=Ut(!1),s=Ut(!1),u=Ut([]),f=Jt(()=>u.value.filter(rt=>rt.dwc_occurrence_object_type==="CollectionObject"&&!rt.typeStatus)),_=Jt(()=>u.value.filter(rt=>rt.dwc_occurrence_object_type==="CollectionObject"&&rt.typeStatus));function v(rt){return[rt.country,rt.stateProvince,rt.county,rt.verbatimLocality].filter(Boolean).join(", ")}function b(rt){return[B(rt),w(rt),rt.catalogNumber,v(rt),F(rt),A(rt)].filter(Boolean).join("; ")}function w(rt){const{institutionCode:Q,institutionID:z}=rt;if(Q)return z?`${Q}`:`${Q}`}function B({individualCount:rt,sex:Q}){return Q?`${rt} ${Q}`:`${rt} specimen${rt>1?"s":""}`}function A({recordedBy:rt}){return rt?`Col. ${rt}`:""}function F({verbatimCoordinates:rt}){const Q=rt==null?void 0:rt.split(" ").join(", ");return Q?`(${Q})`:""}Cn(()=>{s.value=!0,fn.get(`/otus/${e.otuId}/inventory/dwc.json`).then(async rt=>{for(let Q=0;Q{s.value=!1})});async function V(rt){const Q=rt.associatedMedia.split("|"),z=[];return Q.forEach(tt=>{z.push(fn.get(tt.trim(),{params:{extend:["attribution","depictions","source"]}}))}),await Promise.all(z).then(tt=>tt.map(pt=>pt.data))}function ot(rt,Q){o.value=rt,i.value=Q,c.value=!0}return(rt,Q)=>{const z=dt("VCardHeader"),tt=dt("VSpinner"),pt=dt("ImageViewer"),Tt=dt("VCardContent"),Ft=dt("VCard");return P(),Z(jt,null,[X(Ft,null,{default:nt(()=>[X(z,null,{default:nt(()=>Q[8]||(Q[8]=[Xt("Type specimens")])),_:1}),X(Tt,{class:en(s.value&&"min-h-[6rem]")},{default:nt(()=>[s.value?(P(),bt(tt,{key:0})):Ot("",!0),(P(!0),Z(jt,null,de(_.value,Mt=>(P(),Z(jt,{key:Mt.id},[$("div",Vk,[$("div",Gk,[$("span",Uk,It(Mt.typeStatus),1),$("span",{innerHTML:b(Mt)},null,8,$k)]),Mt.associatedMedia?(P(),bt(bu,{key:0,images:Mt.associatedMedia,class:"flex-row flex-wrap gap-2",onSelectIndex:Lt=>ot(Mt.associatedMedia,Lt)},null,8,["images","onSelectIndex"])):Ot("",!0)]),Q[9]||(Q[9]=$("hr",null,null,-1))],64))),128)),c.value?(P(),bt(pt,{key:1,images:o.value,index:i.value,next:o.value.length-1>i.value,previous:i.value>0,onSelectIndex:Q[0]||(Q[0]=Mt=>i.value=Mt),onNext:Q[1]||(Q[1]=()=>i.value++),onPrevious:Q[2]||(Q[2]=()=>i.value--),onClose:Q[3]||(Q[3]=()=>c.value=!1)},null,8,["images","index","next","previous"])):Ot("",!0)]),_:1},8,["class"])]),_:1}),f.value.length?(P(),bt(Ft,{key:0},{default:nt(()=>[X(z,null,{default:nt(()=>Q[10]||(Q[10]=[Xt("Specimen records")])),_:1}),X(Tt,{class:en(s.value&&"min-h-[6rem]")},{default:nt(()=>[s.value?(P(),bt(tt,{key:0})):Ot("",!0),(P(!0),Z(jt,null,de(f.value,Mt=>(P(),Z(jt,{key:Mt.id},[$("div",Hk,[$("div",Zk,[$("span",null,It(Mt.typeStatus),1),$("span",{innerHTML:b(Mt)},null,8,qk)]),Mt.associatedMedia?(P(),bt(bu,{key:0,images:Mt.associatedMedia,class:"lg:flex-row gap-2 flex-wrap",onSelectIndex:Lt=>ot(Mt.associatedMedia,Lt)},null,8,["images","onSelectIndex"])):Ot("",!0)]),Q[11]||(Q[11]=$("hr",null,null,-1))],64))),128)),c.value?(P(),bt(pt,{key:1,images:o.value,index:i.value,next:o.value.length-1>i.value,previous:i.value>0,onSelectIndex:Q[4]||(Q[4]=Mt=>i.value=Mt),onNext:Q[5]||(Q[5]=()=>i.value++),onPrevious:Q[6]||(Q[6]=()=>i.value--),onClose:Q[7]||(Q[7]=()=>c.value=!1)},null,8,["images","index","next","previous"])):Ot("",!0)]),_:1},8,["class"])]),_:1})):Ot("",!0)],64)}}},Wk={id:"panel:specimen-records",component:Kk},Jk=["href"],Yk=["src"],Xk={__name:"PaneliNaturalist",props:{taxon:{type:Object,required:!0},perPage:{type:Number,default:60}},setup(t){const e=t,i=Ut(!1),o=Ut([]),c=Ut({page:1,per_page:e.perPage,total_results:0});function s(u={}){i.value=!0,_n.get("https://api.inaturalist.org/v1/observations",{params:{q:e.taxon.expanded_name,...u}}).then(({data:f})=>{o.value=f.results,c.value={page:f.page,per_page:f.per_page,total_results:f.total_results}}).finally(()=>{i.value=!1})}return Cn(()=>{s({per_page:e.perPage})}),(u,f)=>{const _=dt("VCardHeader"),v=dt("VSpinner"),b=dt("VPagination"),w=dt("VCardContent"),B=dt("VCard");return P(),bt(B,null,{default:nt(()=>[X(_,null,{default:nt(()=>f[2]||(f[2]=[Xt("Observations")])),_:1}),X(w,null,{default:nt(()=>[i.value?(P(),bt(v,{key:0})):Ot("",!0),$("div",{class:en(["flex flex-row flex-wrap gap-2 mb-4",i.value&&"min-h-[3.5rem]"])},[(P(!0),Z(jt,null,de(o.value,A=>(P(),Z("div",{key:A.id,class:"flex flex-row flex-wrap gap-2"},[A!=null&&A.observation_photos[0]?(P(),Z("a",{key:0,href:`https://www.inaturalist.org/observations/${A.id}`,target:"_blank"},[(P(),Z("img",{key:A.observation_photos[0].photo.id,src:A.observation_photos[0].photo.url},null,8,Yk))],8,Jk)):Ot("",!0)]))),128))],2),X(b,{modelValue:c.value.page,"onUpdate:modelValue":[f[0]||(f[0]=A=>c.value.page=A),f[1]||(f[1]=A=>{s({page:A,per_page:t.perPage})})],total:c.value.total_results,per:c.value.per_page},null,8,["modelValue","total","per"])]),_:1})]),_:1})}}},Qk={id:"panel:inaturalist",component:Xk,rankGroup:["GenusGroup","SpeciesGroup"]},t3=["innerHTML"],e3={__name:"PanelContentTopic",props:{title:{type:String,required:!0},textList:{type:Array,required:!0}},setup(t){return(e,i)=>{const o=dt("VCardHeader"),c=dt("VCardContent");return P(),Z(jt,null,[X(o,{class:"border-t border-base-muted first:border-t-0"},{default:nt(()=>[Xt(It(t.title),1)]),_:1}),X(c,{class:"panel-content-list"},{default:nt(()=>[(P(!0),Z(jt,null,de(t.textList,(s,u)=>(P(),Z("div",{key:u,class:"pt-1 text-sm",innerHTML:s},null,8,t3))),128))]),_:1})],64)}}},n3={__name:"PanelContent",props:{otuId:{type:Number,required:!0}},setup(t){const e=t,i=Ut([]),o=new AbortController,c=Jt(()=>i.value.reduce((s,u)=>(s[u.name]?s[u.name].push(u.text):s[u.name]=[u.text],s),{}));return _m(()=>{_r("panel:content",()=>Yn.getOtuContent(e.otuId,{params:{extend:["depiction"]},signal:o.signal})).then(({data:s})=>{i.value=s}).catch(s=>{})}),Yi(()=>{o.abort()}),(s,u)=>{const f=dt("VCard");return i.value.length?(P(),bt(f,{key:0},{default:nt(()=>[(P(!0),Z(jt,null,de(c.value,(_,v)=>(P(),bt(e3,{key:v,title:v,"text-list":_},null,8,["title","text-list"]))),128))]),_:1})):Ot("",!0)}}},i3={id:"panel:content",component:n3},r3={class:"synonyms"},o3=["innerHTML"],s3={__name:"DescendantsSynonymList",props:{list:{type:Array,required:!0}},setup(t){const e=t;return(i,o)=>(P(),Z("ul",r3,[(P(!0),Z(jt,null,de(e.list,c=>(P(),Z("li",{key:c},[o[0]||(o[0]=$("span",{class:"text-orange-500 mr-1"},"=",-1)),$("span",{innerHTML:c},null,8,o3)]))),128))]))}},a3={key:0,class:"tree"},l3={__name:"DescendantsTree",props:{taxonomy:{type:Object,required:!0},level:{type:Number,default:1}},setup(t){const e=t,i=Ut(!!e.taxonomy.descendants.length),o=Ut([...e.taxonomy.descendants]);xn(i,s=>{s&&c()});const c=()=>{o.value.length||Yn.getTaxonomy(e.taxonomy.otu_id,{params:{max_descendants_depth:1}}).then(({data:s})=>{o.value=s.descendants})};return(s,u)=>{const f=dt("button-expand"),_=dt("router-link"),v=dt("AnimationOpacity");return Object.keys(t.taxonomy).length?(P(),Z("li",{key:t.taxonomy.otu_id},[t.taxonomy.leaf_node?Ot("",!0):(P(),bt(f,{key:0,modelValue:i.value,"onUpdate:modelValue":u[0]||(u[0]=b=>i.value=b),class:"absolute -left-2.5"},null,8,["modelValue"])),X(_,{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?(P(),bt(s3,{key:1,class:"pb-4",list:t.taxonomy.nomenclatural_synonyms},null,8,["list"])):Ot("",!0),X(v,null,{default:nt(()=>[o.value.length?(P(),Z("ul",a3,[(P(!0),Z(jt,null,de(o.value,b=>(P(),bt(v,{key:b.otu_id},{default:nt(()=>[i.value?(P(),bt(xg,{key:0,taxonomy:b},null,8,["taxonomy"])):Ot("",!0)]),_:2},1024))),128))])):Ot("",!0)]),_:1})])):Ot("",!0)}}},xg=xe(l3,[["__scopeId","data-v-b79ba271"]]),u3={key:0,class:"p-5 font-normal"},c3={class:"pb-2 text-sm"},h3=["href"],d3={class:"relative"},p3=["innerHTML"],Cs={__name:"PanelDropdown",props:{panelKey:{type:String,required:!0},menuOptions:{type:Array,default:()=>[]}},setup(t){const e=t,i=Jt(()=>o.getRequest(e.panelKey)),o=Gu(),c=Ut(!1),s=Jt(()=>[...e.menuOptions,{label:"JSON Data",action:()=>c.value=!0}]);return(u,f)=>{const _=dt("IconHamburger"),v=dt("Dropdown"),b=dt("VClipboard"),w=dt("VModal");return P(),Z(jt,null,[X(v,{items:s.value},{button:nt(()=>[X(_,{class:"text-base-soft h-4"})]),_:1},8,["items"]),c.value?(P(),bt(w,{key:0,onClose:f[0]||(f[0]=B=>c.value=!1)},{header:nt(()=>f[1]||(f[1]=[$("h3",null,"JSON Data",-1)])),default:nt(()=>[i.value?(P(),Z("div",u3,[$("h3",c3,[f[2]||(f[2]=Xt(" URL: ")),$("a",{href:i.value.url},It(i.value.url),9,h3)]),$("div",d3,[$("p",{class:"bg-base-background p-2 text-sm font-normal whitespace-pre-wrap",innerHTML:JSON.stringify(i.value.data,null,4)},null,8,p3),X(b,{class:"absolute right-2 top-2 opacity-75",text:JSON.stringify(i.value.data,null,2)},null,8,["text"])])])):Ot("",!0)]),_:1})):Ot("",!0)],64)}}},f3={class:"tree ml-2"},m3={key:0},_3={__name:"PanelDescendants",props:{otuId:{type:[String,Number],required:!0}},setup(t){const e=t,i=Ut(null),o=Ut(!1),c=Jt(()=>i.value&&(i.value.nomenclatural_synonyms.length||i.value.descendants.length));return xn(()=>e.otuId,async()=>{e.otuId&&(o.value=!0,_r("panel:descendants",()=>Yn.getTaxonomy(e.otuId,{params:{max_descendants_depth:1}})).then(({data:s})=>{i.value=s}).finally(()=>o.value=!1))},{immediate:!0}),(s,u)=>{const f=dt("VSpinner"),_=dt("ClientOnly"),v=dt("VCardHeader"),b=dt("AnimationOpacity"),w=dt("VCardContent"),B=dt("VCard");return P(),bt(B,null,{default:nt(()=>[X(_,null,{default:nt(()=>[o.value?(P(),bt(f,{key:0,"logo-class":"w-8 h-8",legend:""})):Ot("",!0)]),_:1}),X(v,{class:"flex justify-between"},{default:nt(()=>[u[0]||(u[0]=$("h2",{class:"text-md"},"Descendants and synonyms",-1)),X(Cs,{"panel-key":"panel:descendants"})]),_:1}),X(w,{class:"text-sm"},{default:nt(()=>[$("ul",f3,[X(b,null,{default:nt(()=>[c.value?(P(),bt(xg,{key:0,taxonomy:i.value},null,8,["taxonomy"])):Ot("",!0)]),_:1})]),!c.value&&!o.value?(P(),Z("span",m3,"No records found.")):Ot("",!0)]),_:1})]),_:1})}}},g3=xe(_3,[["__scopeId","data-v-fd5dad5c"]]),y3={id:"panel:descendants",component:g3};var v3={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const b3=Zr("imageStore",{state:()=>({images:null,controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},async loadImages(t){const e=["image/tiff"],i={extend:["depictions","attribution","source","citations"],otu_scope:["all","coordinate_otus"]};this.controller=new AbortController;try{const o=await _r("panel:images",()=>Yn.getOtuImages(t,{params:i,signal:this.controller.signal}));this.images=o.data.map(c=>{var _;const s={...c},{url:u,project_token:f}=v3;return e.includes(s.content_type)&&c.original_png&&(s.original=`${u}/${(_=c.original_png)==null?void 0:_.substring(8)}?project_token=${f}`),s}),this.controller=null}catch(o){o.name!==za.CanceledError&&(this.controller=null)}}}}),x3={__name:"PanelGallery",props:{otuId:{type:[String,Number],required:!0}},setup(t){const e=t,i=b3(),o=Jt(()=>i.images||[]);return sd(async()=>{await i.loadImages(e.otuId)}),Cn(()=>{i.images||i.loadImages(e.otuId)}),Yi(()=>{i.resetRequest(),i.$reset()}),(c,s)=>{const u=dt("GalleryImage"),f=dt("VCardContent"),_=dt("VCard");return o.value.length?(P(),bt(_,{key:0},{default:nt(()=>[X(f,null,{default:nt(()=>[X(u,{images:o.value},null,8,["images"])]),_:1})]),_:1})):Ot("",!0)}}},w3={id:"panel:gallery",component:x3,rankGroup:[]},L3={key:0},C3={__name:"PanelKeys",props:{otuId:{type:Number}},setup(t){const e=t,i=new AbortController,o=Ut({to:{},in:{}}),c=Jt(()=>[].concat(...Object.values(o.value)).filter(s=>Object.keys(s).length).length);return Cn(()=>{const s={otu_id:e.otuId};_r("panel keys",()=>Yn.getKeys(e.otuId,{signal:i.signal,params:s})).then(({data:u})=>{o.value={to:u.observation_matrices.scoped,in:u.observation_matrices.in}}).catch(()=>{})}),Yi(()=>{i==null||i.abort()}),(s,u)=>{const f=dt("VCardHeader"),_=dt("VTableHeaderCell"),v=dt("VTableHeaderRow"),b=dt("VTableHeader"),w=dt("RouterLink"),B=dt("VTableBodyCell"),A=dt("VTableBodyRow"),F=dt("VTableBody"),V=dt("VTable"),ot=dt("VCardContent"),rt=dt("VCard");return c.value?(P(),bt(rt,{key:0},{default:nt(()=>[X(f,null,{default:nt(()=>[Xt("Keys ("+It(c.value)+")",1)]),_:1}),X(ot,null,{default:nt(()=>[(P(!0),Z(jt,null,de(o.value,(Q,z)=>(P(),Z(jt,{key:z},[Object.keys(Q).length?(P(),Z("div",L3,[X(V,null,{default:nt(()=>[X(b,null,{default:nt(()=>[X(v,null,{default:nt(()=>[X(_,null,{default:nt(()=>[Xt(It(z),1)]),_:2},1024)]),_:2},1024)]),_:2},1024),X(F,null,{default:nt(()=>[(P(!0),Z(jt,null,de(Q,(tt,pt)=>(P(),bt(A,null,{default:nt(()=>[X(B,null,{default:nt(()=>[X(w,{to:{name:"interactive-keys-id",params:{id:pt}},textContent:It(tt)},null,8,["to","textContent"])]),_:2},1024)]),_:2},1024))),256))]),_:2},1024)]),_:2},1024)])):Ot("",!0)],64))),128))]),_:1})]),_:1})):Ot("",!0)}}},k3={id:"panel:keys",component:C3};function E3(t,e){return e.split("::").at(2)===t}function M3(t,e){return{type:"Feature",geometry:t,properties:{base:[{type:e}]}}}function S3(t){const e=[],i=[];return t.forEach(o=>{const c=o.properties.shape.id,s=o.properties.shape.type;i.includes(o.properties.base.type)||i.push(o.properties.base.type);const u=e.findIndex(f=>f.properties.shape.id===c&&f.properties.shape.type===s);if(u>-1){const f=e[u];f.properties.base.push(o.properties.base),f.properties.target.push(o.properties.target)}else{const f=structuredClone(o);f.properties.base=[f.properties.base],f.properties.target=[f.properties.target],e.push(f)}}),i.sort(),{shapeTypes:i,features:e}}const Gh={Aggregate:{label:"Aggregate (Asserted distribution & Georeference)",background:"bg-map-aggregate"},AssertedDistribution:{label:"Asserted distribution",background:"bg-map-asserted"},Georeference:{label:"Georeference",background:"bg-map-georeference"},CollectionObject:{label:"Collection object",background:"bg-map-collection-object"},TypeMaterial:{label:"Type material",background:"bg-map-type-material"}};function P3(t,e){const i=new Map;return e.forEach((o,c)=>{i.set(o,c)}),t.toSorted((o,c)=>{const s=i.has(o.properties.base.type)?i.get(o.properties.base.type):1/0,u=i.has(c.properties.base.type)?i.get(c.properties.base.type):1/0;return s-u})}const B3=Zr("distributionStore",{state:()=>({distribution:{geojson:null,errorMessage:null,currentShapeTypes:[],cachedMap:null},controller:null}),actions:{resetRequest(){var t;(t=this.controller)==null||t.abort()},loadCachedMap(t){Yn.getCachedMap(t,{signal:this.controller.signal}).then(e=>{this.distribution.cachedMap=e.data})},async getAggregateShape(t){_r("panel:map",()=>Yn.getOtuDistribution(t,{signal:this.controller.signal})).then(({data:e})=>{const i=JSON.parse(e.cached_map.geo_json);this.distribution.currentShapeTypes=["Aggregate"],this.distribution.geojson={features:[M3(i,"Aggregate")]},this.loadCachedMap(e.cached_map.id)}).catch(e=>{e.name!=za.CanceledError&&(this.distribution.errorMessage=e.response.data.error,this.distribution.currentShapeTypes=[],this.distribution.geojson=[])})},async loadDistribution({otuId:t,rankString:e}){const i=e&&E3("SpeciesGroup",e);this.controller=new AbortController,i?_r("panel:map",()=>Yn.getOtuGeoJSONDistribution(t,{signal:this.controller.signal})).then(({data:o})=>{if(o.request_too_large)this.distribution.geojson=null,this.distribution.errorMessage=o.message;else{const{features:c,shapeTypes:s}=S3(P3(o.features,Object.keys(Gh)));this.distribution.currentShapeTypes=s,this.distribution.geojson={features:c}}}).catch(o=>{o.name!==za.CanceledError&&this.getAggregateShape(t)}):this.getAggregateShape(t)}}});function wg(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 Lg(t){return{html:` +
+
+
+
+
+
+
+ + ${t.getChildCount()} + +
`,className:"leaflet-marker-icon leaflet-zoom-animated leaflet-interactive",iconSize:[40,40]}}function T3(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 A3=Object.freeze(Object.defineProperty({__proto__:null,CollectionObject:wg,Mixed:Lg,TypeMaterial:T3},Symbol.toStringTag,{value:"Module"}));function O3({L:t,cluster:e}){const i=e.getAllChildMarkers().map(u=>u.feature.properties.base.map(f=>f.type)).flat(),o=[...new Set(i)],c=o.pop(),s=o.length?Lg:A3[c]||wg;return t.divIcon(s(e))}const Uh={allowEditing:!1,allowRemoval:!1,allowCutting:!1,allowRotation:!1,draggable:!1};function R3({popupElement:t,popupItem:e}){return function(){return{onEachFeature:(i,o)=>{o.pm.setOptions(Uh),o.pm.disable(),o.on("popupopen",()=>e.value=i.properties),o.on("popupclose",()=>e.value=null),o.bindPopup(t.value,{minWidth:400,maxWidth:400})}}}}function Cg({popupElement:t}){const e=Ut(null);return{geojsonOptions:Jt(()=>R3({popupElement:t,popupItem:e})),popupItem:e}}const D3={class:"max-h-32 overflow-y-auto text-xs min-w-80"},I3={class:"py-2 last:border-0 truncate border-b",title:"label"},F3=["textContent","onClick"],N3={key:1},kg={__name:"MapPopup",props:{items:{type:Array,required:!0}},emits:["selected"],setup(t,{emit:e}){const i=e;return(o,c)=>(P(),Z("div",D3,[$("ul",null,[(P(!0),Z(jt,null,de(t.items,s=>(P(),Z("li",I3,[s.type===zt(x_)?(P(),Z("span",{key:0,class:"cursor-pointer text-secondary-color",textContent:It(s.label),onClick:()=>i("selected",s)},null,8,F3)):(P(),Z("span",N3,It(s.label),1))]))),256))])]))}},j3={class:"p-4 pt-0"},z3={key:0,class:"text-success flex text-sm items-center"},V3={key:1,class:"text-warning flex text-sm items-center"},G3={__name:"CachedMap",props:{cachedMap:{type:Object,required:!0}},setup(t){const e=Ut(!1);return(i,o)=>{const c=dt("IconCheck"),s=dt("IconWarning"),u=dt("VButton"),f=dt("VTableHeaderCell"),_=dt("VTableHeaderRow"),v=dt("VTableHeader"),b=dt("VTableBodyCell"),w=dt("VTableBodyRow"),B=dt("VTableBody"),A=dt("VTable"),F=dt("VModal");return P(),Z(jt,null,[X(u,{class:"left-2 bottom-2 !px-2 py-2 rounded-full absolute z-[1500]",primary:"",title:"Cached map",onClick:o[0]||(o[0]=V=>e.value=!0)},{default:nt(()=>[t.cachedMap.synced?(P(),bt(c,{key:0,class:"w-4 h-4"})):(P(),bt(s,{key:1,class:"w-4 h-4"}))]),_:1}),e.value?(P(),bt(F,{key:0,onClose:o[1]||(o[1]=()=>e.value=!1)},{header:nt(()=>o[2]||(o[2]=[$("h3",{class:"font-medium"},"Cached map",-1)])),default:nt(()=>[$("div",j3,[X(A,null,{default:nt(()=>[X(v,null,{default:nt(()=>[X(_,null,{default:nt(()=>[X(f,null,{default:nt(()=>o[3]||(o[3]=[Xt("Data")])),_:1}),X(f)]),_:1})]),_:1}),X(B,null,{default:nt(()=>[X(w,null,{default:nt(()=>[X(b,null,{default:nt(()=>o[4]||(o[4]=[Xt(" Is synced ")])),_:1}),X(b,null,{default:nt(()=>[t.cachedMap.synced?(P(),Z("p",z3,[X(c,{class:"w-4 h-4"}),o[5]||(o[5]=$("span",{class:"ml-1"}," Map is synchronized with the latest changes * ",-1))])):(P(),Z("p",V3,[X(s,{class:"w-4 h-4"}),o[6]||(o[6]=$("span",{class:"ml-1"}," Map is not synchronized with the latest changes * ",-1))]))]),_:1})]),_:1}),X(w,null,{default:nt(()=>[X(b,null,{default:nt(()=>o[7]||(o[7]=[Xt(" Last update ")])),_:1}),X(b,null,{default:nt(()=>[Xt(It(new Date(t.cachedMap.updated_at)),1)]),_:1})]),_:1})]),_:1}),X(v,null,{default:nt(()=>[X(_,null,{default:nt(()=>[X(f,null,{default:nt(()=>o[8]||(o[8]=[Xt("Source")])),_:1}),X(f,null,{default:nt(()=>o[9]||(o[9]=[Xt("Total")])),_:1})]),_:1})]),_:1}),X(B,null,{default:nt(()=>[(P(!0),Z(jt,null,de(t.cachedMap.source_scope,(V,ot)=>(P(),bt(w,{key:ot},{default:nt(()=>[X(b,{class:"capitalize"},{default:nt(()=>[Xt(It(ot.replaceAll("_"," ")),1)]),_:2},1024),X(b,null,{default:nt(()=>[Xt(It(V),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),o[10]||(o[10]=$("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))])]),_:1})):Ot("",!0)],64)}}},U3={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"},$3=["innerHTML"],H3={__name:"SearchBar",props:{label:{type:String,required:!0}},emits:["close"],setup(t,{emit:e}){const i=e;return(o,c)=>{const s=dt("IconClose");return P(),Z("div",U3,[$("div",null,[$("span",{class:"ml-2",innerHTML:t.label},null,8,$3)]),X(s,{class:"cursor-pointer",onClick:c[0]||(c[0]=()=>i("close"))})])}}},Z3={key:1,class:"text-lg text-center text-base-lighter align-middle p-4"},q3={__name:"ListResults",props:{list:{type:Array,default:()=>[]}},emits:["close","close:table"],setup(t,{emit:e}){const i=e;return(o,c)=>{const s=dt("IconArrowRight"),u=dt("VTableHeaderCell"),f=dt("VTableHeaderRow"),_=dt("VTableHeader"),v=dt("RouterLink"),b=dt("VTableBodyCell"),w=dt("VTableBodyRow"),B=dt("VTableBody"),A=dt("VTable");return t.list.length?(P(),bt(A,{key:0,class:"shadow-md"},{default:nt(()=>[X(_,null,{default:nt(()=>[X(f,null,{default:nt(()=>[X(u,{class:"w-full flex justify-between box-border items-center"},{default:nt(()=>[$("span",null,"OTU ("+It(t.list.length)+")",1),X(s,{class:"opacity-50 cursor-pointer w-4 h-4",onClick:c[0]||(c[0]=F=>i("close:table"))})]),_:1})]),_:1})]),_:1}),X(B,null,{default:nt(()=>[(P(!0),Z(jt,null,de(t.list,F=>(P(),bt(w,{key:F.id},{default:nt(()=>[X(b,null,{default:nt(()=>[X(v,{innerHTML:F.object_tag,to:{name:"otus-id",params:{id:F.id}},onClick:c[1]||(c[1]=()=>i("close"))},null,8,["innerHTML","to"])]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})):(P(),Z("div",Z3," No OTUs found in this area "))}}},K3={class:"font-medium"},Eg={__name:"DwcTable",setup(t,{expose:e}){const i=Ut(!1),o=Ut(!1),c=Ut({}),s=Ut();function u({label:f,id:_}){o.value=!0,i.value=!0,c.value={},s.value=f,fn(`/collection_objects/${_}/dwc`).then(({data:v})=>{c.value=v}).catch(()=>{}).finally(()=>{i.value=!1})}return e({show:u}),(f,_)=>{const v=dt("VTableHeaderCell"),b=dt("VTableHeaderRow"),w=dt("VTableHeader"),B=dt("VTableBodyCell"),A=dt("VTableBodyRow"),F=dt("VTableBody"),V=dt("VTable"),ot=dt("VSpinner"),rt=dt("VModal");return o.value?(P(),bt(rt,{key:0,onClose:_[0]||(_[0]=()=>o.value=!1)},{header:nt(()=>[$("h3",K3,It(s.value),1)]),default:nt(()=>[X(V,{class:"p-4 pt-0"},{default:nt(()=>[X(w,null,{default:nt(()=>[X(b,null,{default:nt(()=>[X(v,null,{default:nt(()=>_[1]||(_[1]=[Xt("Field")])),_:1}),X(v,null,{default:nt(()=>_[2]||(_[2]=[Xt("Value")])),_:1})]),_:1})]),_:1}),X(F,null,{default:nt(()=>[(P(!0),Z(jt,null,de(c.value,(Q,z)=>(P(),bt(A,{key:z},{default:nt(()=>[X(B,null,{default:nt(()=>[Xt(It(z),1)]),_:2},1024),X(B,null,{default:nt(()=>[Xt(It(Q),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1}),i.value?(P(),bt(ot,{key:0})):Ot("",!0)]),_:1})):Ot("",!0)}}},W3={class:"w-screen h-screen fixed top-0 left-0 z-[5000] flex flex-col"},J3={__name:"OtuSearch",props:{shapes:{type:Object,default:()=>[]},otu:{type:Object,default:void 0}},emits:["close"],setup(t,{emit:e}){const i=t,o=e,c=Ut(null),s=Ut(null),u=Ut(null),f=Ut([]),_=Ut(!1),v=Ut(),b=Ut(6),w=Ut(6),{popupItem:B,geojsonOptions:A}=Cg({popupElement:c}),F=Jt(()=>!!i.shapes&&w.value<=b.value);Cn(()=>{document.addEventListener("keyup",V),document.body.classList.add("overflow-hidden")}),yr(()=>{document.removeEventListener("keyup",V),document.body.classList.remove("overflow-hidden")});const V=({key:tt})=>{switch(tt){case"Escape":o("close");break}};function ot(tt){const pt={geo_json:tt,taxon_name_id:[i.otu.taxon_name_id],descendants:!0,per:5e3};v.value=!0,Yn.getOtus(pt).then(({data:Tt})=>{f.value=Tt,_.value=!0}).finally(Tt=>{v.value=!1})}function rt(tt){Q(),F.value&&u.value.resizeMap()}function Q(){w.value=u.value.getMapObject().getZoom()}function z(){b.value=u.value.getMapObject().getZoom(),Q()}return(tt,pt)=>{const Tt=dt("VSpinner"),Ft=dt("VMap");return P(),Z("div",W3,[v.value?(P(),bt(Tt,{key:0})):Ot("",!0),X(H3,{label:t.otu.object_tag,onClose:pt[0]||(pt[0]=()=>o("close"))},null,8,["label"]),$("div",{class:en(["w-full","h-full","relative",{"disable-zoom-out":F.value}])},[X(Ft,{ref_key:"mapRef",ref:u,class:"w-full h-full",controls:"",dragging:!F.value,"zoom-bounds":b.value,geojson:t.shapes,geojsonOptions:zt(A),"onGeojson:ready":z,"onAdd:layer":pt[1]||(pt[1]=Mt=>ot(JSON.stringify(Mt.geometry))),"onEdit:layer":pt[2]||(pt[2]=Mt=>ot(JSON.stringify(Mt.geometry))),"onDrag:layer":pt[3]||(pt[3]=Mt=>ot(JSON.stringify(Mt.geometry))),"onZoom:change":rt,zoom:4},null,8,["dragging","zoom-bounds","geojson","geojsonOptions"]),$("div",{ref_key:"popupElement",ref:c},[zt(B)?(P(),bt(kg,{key:0,items:zt(B).base,onSelected:s.value.show},null,8,["items","onSelected"])):Ot("",!0)],512),$("div",{class:en(["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":!_.value,"right-0":_.value}])},[_.value?(P(),bt(q3,{key:0,list:f.value,onClose:pt[4]||(pt[4]=()=>o("close")),"onClose:table":pt[5]||(pt[5]=()=>_.value=!1)},null,8,["list"])):Ot("",!0)],2)],2),X(Eg,{ref_key:"dwcTableRef",ref:s},null,512)])}}},Y3=xe(J3,[["__scopeId","data-v-a99dffa5"]]),X3={class:"relative"},Q3={key:0,class:"flex flex-row p-2 text-xs italic"},tE={key:1,class:"flex flex-row p-2 gap-2 text-xs"},eE=2,nE={__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 e=t,i=Ut(!0),o=Ut(!1),c=Ut(null),s=B3(),u=Ut(null),{popupItem:f,geojsonOptions:_}=Cg({popupElement:u});return Cn(()=>{i.value=!0,s.loadDistribution({otuId:e.otuId,rankString:e.taxon.rank_string})}),Yi(()=>{s.resetRequest(),s.$reset()}),(v,b)=>{const w=dt("VSpinner"),B=dt("VMap"),A=dt("VButton"),F=dt("ClientOnly"),V=dt("VCard");return P(),bt(V,null,{default:nt(()=>[$("div",X3,[X(F,null,{default:nt(()=>[i.value?(P(),bt(w,{key:0})):Ot("",!0),X(B,{class:"h-96 max-h-96",dragging:"",cluster:t.cluster,zoom:eE,"zoom-bounds":8,geojson:zt(s).distribution.geojson,"cluster-icon-create-function":zt(O3),"geojson-options":zt(_),"onGeojson:ready":b[0]||(b[0]=()=>i.value=!1)},null,8,["cluster","geojson","cluster-icon-create-function","geojson-options"]),$("div",{ref_key:"popupElement",ref:u},[zt(f)?(P(),bt(kg,{key:0,items:zt(f).base,onSelected:c.value.show},null,8,["items","onSelected"])):Ot("",!0)],512),X(A,{class:"h-6 text-sm absolute right-3 top-3 z-[400]",primary:"",onClick:b[1]||(b[1]=()=>o.value=!0)},{default:nt(()=>b[3]||(b[3]=[Xt(" Search ")])),_:1}),o.value?(P(),bt(Y3,{key:1,otu:t.otu,shapes:zt(s).distribution.geojson,onClose:b[2]||(b[2]=()=>o.value=!1)},null,8,["otu","shapes"])):Ot("",!0),zt(s).distribution.cachedMap?(P(),bt(G3,{key:2,"cached-map":zt(s).distribution.cachedMap},null,8,["cached-map"])):Ot("",!0)]),_:1})]),zt(s).distribution.errorMessage?(P(),Z("div",Q3," * "+It(zt(s).distribution.errorMessage),1)):Ot("",!0),zt(s).distribution.currentShapeTypes.length?(P(),Z("div",tE,[(P(!0),Z(jt,null,de(zt(s).distribution.currentShapeTypes,ot=>(P(),Z("div",{key:ot,class:"flex flex-row items-center"},[$("div",{class:en(["w-3","h-3","m-1","rounded-sm",zt(Gh)[ot].background])},null,2),$("span",null,It(zt(Gh)[ot].label),1)]))),128))])):Ot("",!0),X(Eg,{ref_key:"dwcTableRef",ref:c},null,512)]),_:1})}}},iE={id:"panel:map",component:nE};function Mg(t,e){const i=t.slice(),o=i.splice(0,e),c=i.splice(-e);return{first:o,middle:i,last:c}}const rE={class:"border-b border-base-muted p-3 px-5"},oE=["title","innerHTML"],sE=["innerHTML"],lh={__name:"PanelCitationRow",props:{citation:{type:Object,required:!0}},setup(t){return(e,i)=>(P(),Z("li",rE,[$("span",{class:"break-all block",title:t.citation.label,innerHTML:t.citation.label},null,8,oE),t.citation.type_label?(P(),Z("p",{key:0,class:"ml-4 text-base-soft",innerHTML:t.citation.type_label},null,8,sE)):Ot("",!0)]))}},aE={class:"flex justify-start border-b p-3 px-4 cursor-pointer border-base-muted"},Sg={__name:"PanelNomenclatureShowMore",props:{count:{type:Number,required:!0}},setup(t){return(e,i)=>{const o=dt("IconPlusCircle");return P(),Z("li",aE,[$("div",{class:"h-5 w-5 text-secondary-color opacity-60 mr-2 cursor-pointer",onClick:i[0]||(i[0]=()=>e.isExpanded=!e.isExpanded)},[X(o,{class:"h-5 w-5"})]),$("span",null,"... Show all ... ("+It(t.count)+")",1)])}}},lE={class:"text-md"},uE={class:"text-sm"},cE={class:"text-sm"},hE={class:"text-sm"},dE=2,pE={__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 e=So(),i=Ut(!1),o=Jt(()=>Mg(e.catalog.timeline,dE)),c=Jt(()=>[{label:i.value?"Show less":"Show all",action:()=>i.value=!i.value}]);return(s,u)=>{const f=dt("VSpinner"),_=dt("VCardHeader"),v=dt("AnimationOpacity"),b=dt("VCard");return P(),bt(b,null,{default:nt(()=>[zt(e).catalog.isLoading?(P(),bt(f,{key:0,"logo-class":"w-8 h-8",legend:""})):Ot("",!0),X(_,{class:"flex justify-between"},{default:nt(()=>[$("h2",lE," Nomenclature ("+It(zt(e).catalog.timeline.length)+") ",1),X(Cs,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),$("ul",uE,[(P(!0),Z(jt,null,de(o.value.first,w=>(P(),bt(lh,{key:w.label,citation:w},null,8,["citation"]))),128)),!i.value&&o.value.middle.length?(P(),bt(Sg,{key:0,count:o.value.middle.length,onClick:u[0]||(u[0]=w=>i.value=!0)},null,8,["count"])):Ot("",!0)]),X(v,null,{default:nt(()=>[On($("ul",cE,[(P(!0),Z(jt,null,de(o.value.middle,w=>(P(),bt(lh,{key:w.label,citation:w},null,8,["citation"]))),128))],512),[[Tu,i.value]])]),_:1}),$("ul",hE,[(P(!0),Z(jt,null,de(o.value.last,w=>(P(),bt(lh,{key:w.label,citation:w},null,8,["citation"]))),128))])]),_:1})}}},fE={id:"panel:nomenclature",component:pE},mE={class:"border-b border-base-muted p-3 px-5"},_E=["title","innerHTML"],uh={__name:"PanelReferenceRow",props:{reference:{type:String,required:!0}},setup(t){return(e,i)=>(P(),Z("li",mE,[$("span",{class:"[&>a]:break-all block",title:t.reference,innerHTML:t.reference},null,8,_E)]))}},gE={class:"text-md"},yE={class:"text-sm"},vE=2,bE={__name:"PanelNomenclatureReferences",setup(t){const e=So(),i=Ut(!1),o=Jt(()=>Mg(e.catalog.sources,vE)),c=Jt(()=>[{label:i.value?"Show less":"Show all",action:()=>i.value=!i.value}]);return(s,u)=>{const f=dt("VSpinner"),_=dt("VCardHeader"),v=dt("AnimationOpacity"),b=dt("VCard");return P(),bt(b,null,{default:nt(()=>[zt(e).catalog.isLoading?(P(),bt(f,{key:0,"logo-class":"w-8 h-8",legend:""})):Ot("",!0),X(_,{class:"flex justify-between"},{default:nt(()=>[$("h2",gE," Nomenclature references ("+It(zt(e).catalog.sources.length)+") ",1),X(Cs,{"menu-options":c.value,"panel-key":"taxonomy"},null,8,["menu-options"])]),_:1}),$("ul",yE,[(P(!0),Z(jt,null,de(o.value.first,w=>(P(),bt(uh,{key:w,reference:w},null,8,["reference"]))),128)),!i.value&&o.value.middle.length?(P(),bt(Sg,{key:0,count:o.value.middle.length,onClick:u[0]||(u[0]=w=>i.value=!0)},null,8,["count"])):Ot("",!0),X(v,null,{default:nt(()=>[On($("div",null,[(P(!0),Z(jt,null,de(o.value.middle,w=>(P(),bt(uh,{key:w,reference:w},null,8,["reference"]))),128))],512),[[Tu,i.value]])]),_:1}),(P(!0),Z(jt,null,de(o.value.last,w=>(P(),bt(uh,{key:w,reference:w},null,8,["reference"]))),128))])]),_:1})}}},xE={id:"panel:nomenclature-references",component:bE},wE={__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 e=So(),i=Ut(!1),o=Jt(()=>[{label:i.value?"Hide taxa":"Show taxa",action:()=>i.value=!i.value}]);return(c,s)=>{const u=dt("VSpinner"),f=dt("VCardHeader"),_=dt("VTableHeaderCell"),v=dt("VTableHeaderRow"),b=dt("VTableHeader"),w=dt("VTableBodyCell"),B=dt("VTableBodyRow"),A=dt("VTableBody"),F=dt("VTable"),V=dt("VCardContent"),ot=dt("VCard");return P(),bt(ot,null,{default:nt(()=>[zt(e).catalog.isLoading?(P(),bt(u,{key:0,"logo-class":"w-8 h-8",legend:""})):Ot("",!0),X(f,{class:"flex justify-between"},{default:nt(()=>[s[0]||(s[0]=$("h2",{class:"text-md"},"Stats",-1)),X(Cs,{"panel-key":"taxonomy","menu-options":o.value},null,8,["menu-options"])]),_:1}),X(V,{class:"text-sm"},{default:nt(()=>[X(F,null,{default:nt(()=>[X(b,null,{default:nt(()=>[X(v,null,{default:nt(()=>[X(_,{class:"bg-base-foreground"}),i.value?(P(),bt(_,{key:0,title:"OTUs linked to valid protonyms"},{default:nt(()=>s[1]||(s[1]=[Xt(" Taxa ")])),_:1})):Ot("",!0),X(_,{title:"Taxon names",class:"border-l border-base-border"},{default:nt(()=>s[2]||(s[2]=[Xt(" Names ")])),_:1}),X(_,{colspan:"2",class:"bg-base-foreground"})]),_:1}),X(v,null,{default:nt(()=>[X(_,null,{default:nt(()=>s[3]||(s[3]=[Xt("Rank")])),_:1}),i.value?(P(),bt(_,{key:0,title:"OTUs linked to valid protonyms"},{default:nt(()=>s[4]||(s[4]=[Xt("Total")])),_:1})):Ot("",!0),X(_,{title:"Taxon names",class:"border-l border-base-border"},{default:nt(()=>s[5]||(s[5]=[Xt(" Total ")])),_:1}),X(_,null,{default:nt(()=>s[6]||(s[6]=[Xt(" Valid ")])),_:1}),X(_,null,{default:nt(()=>s[7]||(s[7]=[Xt(" Invalid ")])),_:1})]),_:1})]),_:1}),X(A,null,{default:nt(()=>[(P(!0),Z(jt,null,de(zt(e).catalog.stats,({rank:rt,taxa:Q,names:z})=>(P(),bt(B,{key:rt},{default:nt(()=>[X(w,{class:"capitalize"},{default:nt(()=>[Xt(It(rt),1)]),_:2},1024),i.value?(P(),bt(w,{key:0},{default:nt(()=>[Xt(It(Q),1)]),_:2},1024)):Ot("",!0),X(w,{class:"border-l border-base-border"},{default:nt(()=>[Xt(It(z.invalid+z.valid),1)]),_:2},1024),X(w,null,{default:nt(()=>[Xt(It(z.valid),1)]),_:2},1024),X(w,null,{default:nt(()=>[Xt(It(z.invalid),1)]),_:2},1024)]),_:2},1024))),128))]),_:1})]),_:1})]),_:1})]),_:1})}}},LE={id:"panel:statistics",component:wE},CE=["innerHTML"],kE={__name:"PanelTypeDesignation",props:{taxonId:{type:[String,Number],required:!0}},setup(t){const e=So(),i=Jt(()=>{var c;return((c=e.taxon)==null?void 0:c.type_taxon_name_relationship)||{}}),o=Jt(()=>[i.value.subject_object_tag||"",i.value.subject_status_tag||"",i.value.object_object_tag||""].join(" "));return(c,s)=>{const u=dt("VCardHeader"),f=dt("VCardContent"),_=dt("VCard");return P(),bt(_,null,{default:nt(()=>[X(u,{class:"flex justify-between"},{default:nt(()=>[s[0]||(s[0]=$("h2",{class:"text-md"},"Type",-1)),X(Cs,{"panel-key":"panel:type"})]),_:1}),X(f,{class:"text-sm"},{default:nt(()=>[$("p",{innerHTML:o.value},null,8,CE)]),_:1})]),_:1})}}},EE={id:"panel:type",component:kE,rankGroup:[bL,xL]},ME={__name:"PanelTypeSpecimen",props:{otuId:{type:[String,Number],required:!0}},setup(t){const e=t,i=Ut([]);return xn(()=>e.otuId,()=>{e.otuId&&_r("panel:typeMaterial",()=>Yn.getOtuTypeMaterial(e.otuId)).then(({data:o})=>{i.value=o.type_materials_catalog_labels.sort((c,s)=>af.indexOf(c.type_type)-af.indexOf(s.type_type))})},{immediate:!0}),(o,c)=>{const s=dt("VCardHeader"),u=dt("VCardContent"),f=dt("VCard");return i.value.length?(P(),bt(f,{key:0},{default:nt(()=>[X(s,{class:"flex justify-between"},{default:nt(()=>[c[0]||(c[0]=$("h2",{class:"text-md"},"Type specimen",-1)),X(Cs,{"panel-key":"panel:typeMaterial"})]),_:1}),X(u,{class:"text-sm"},{default:nt(()=>[$("p",null,It(i.value[0].label),1)]),_:1})]),_:1})):Ot("",!0)}}},SE={id:"panel:type-specimen",component:ME,rankGroup:[wL,LL]},PE={overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:keys","panel:statistics"]]]}};var BE={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const TE=Object.values(Object.assign({"/panels/PanelSpecimenRecords/main.js":Wk,"/panels/PaneliNaturalist/main.js":Qk,"/src/modules/otus/components/Panel/PanelContent/main.js":i3,"/src/modules/otus/components/Panel/PanelDescendants/main.js":y3,"/src/modules/otus/components/Panel/PanelGallery/main.js":w3,"/src/modules/otus/components/Panel/PanelKeys/main.js":k3,"/src/modules/otus/components/Panel/PanelMap/main.js":iE,"/src/modules/otus/components/Panel/PanelNomenclature/main.js":fE,"/src/modules/otus/components/Panel/PanelNomenclatureReferences/main.js":xE,"/src/modules/otus/components/Panel/PanelStats/main.js":LE,"/src/modules/otus/components/Panel/PanelTypeDesignation/main.js":EE,"/src/modules/otus/components/Panel/PanelTypeSpecimen/main.js":SE})),{taxa_page:AE}=BE,wf=Object.assign({...PE,...AE});function OE(t){return t.map(e=>e.map(i=>i.map(o=>{const s=typeof o=="string"?{id:o}:{...o};return{...TE.find(f=>f.id===s.id),...s}})))}const Ea={};for(const t in wf){const e=wf[t];Ea[t]={panels:OE((e==null?void 0:e.panels)||{}),rankGroup:e.rank_group||[],label:e.label}}const RE={class:"grid gap-3"},DE={__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 s;const e=t,i=Ja(),o=Ea[i.currentRoute.value.meta.tab],c={1:["md:grid-cols-1"],2:["md:grid-cols-2"],3:["md:grid-cols-3"]};return(s=o.rankGroup)!=null&&s.length&&!Vh(o.rankGroup,e.taxonRank)&&i.replace({name:"otus-id-overview"}),(u,f)=>(P(),Z("div",RE,[(P(!0),Z(jt,null,de(zt(o).panels,_=>(P(),Z("div",{class:en(["grid","grid-cols-1","gap-3",c[_.length]])},[(P(!0),Z(jt,null,de(_,(v,b)=>(P(),Z("div",{class:"grid grid-cols-1 gap-3 auto-rows-min",key:b},[(P(!0),Z(jt,null,de(v,({component:w,rankGroup:B,id:A,bind:F})=>(P(),Z(jt,{key:A},[!B||zt(Vh)(B,t.taxonRank)?(P(),bt(Eo(w),Um({key:0,"otu-id":t.otuId,otu:t.otu,"taxon-id":t.taxonId,taxon:t.taxon,"panel-key":A,ref_for:!0},F),null,16,["otu-id","otu","taxon-id","taxon","panel-key"])):Ot("",!0)],64))),128))]))),128))],2))),256))]))}};function IE(){return Object.keys(Ea||{}).map(e=>({path:e,name:`otus-id-${e}`,component:DE,meta:{tab:e,rankGroup:Ea[e].rankGroup,label:Ea[e].label}}))}const FE=[{name:"otus-id",path:"/otus/:id",component:Ik,redirect:{name:"otus-id-overview"},children:IE()}],NE="modulepreload",jE=function(t){return"/"+t},Lf={},$n=function(e,i,o){let c=Promise.resolve();if(i&&i.length>0){document.getElementsByTagName("link");const u=document.querySelector("meta[property=csp-nonce]"),f=(u==null?void 0:u.nonce)||(u==null?void 0:u.getAttribute("nonce"));c=Promise.allSettled(i.map(_=>{if(_=jE(_),_ in Lf)return;Lf[_]=!0;const v=_.endsWith(".css"),b=v?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${_}"]${b}`))return;const w=document.createElement("link");if(w.rel=v?"stylesheet":NE,v||(w.as="script"),w.crossOrigin="",w.href=_,f&&w.setAttribute("nonce",f),document.head.appendChild(w),v)return new Promise((B,A)=>{w.addEventListener("load",B),w.addEventListener("error",()=>A(new Error(`Unable to preload CSS for ${_}`)))})}))}function s(u){const f=new Event("vite:preloadError",{cancelable:!0});if(f.payload=u,window.dispatchEvent(f),!f.defaultPrevented)throw u}return c.then(u=>{for(const f of u||[])f.status==="rejected"&&s(f.reason);return e().catch(s)})},zE=()=>$n(()=>import("./DataType-CYGrde7r.js"),[]),VE=()=>$n(()=>import("./SectionTerms-CFJRFJlv.js"),[]),GE=()=>$n(()=>import("./SectionLandscape-BPYHq1lA.js"),__vite__mapDeps([0,1])),UE=()=>$n(()=>import("./SectionHighlights-DKZPZ6cV.js"),[]),$E=()=>$n(()=>import("./SectionDescription-C8R0I9A7.js"),[]),HE=()=>$n(()=>import("./SectionData-Hdsg-b9F.js"),__vite__mapDeps([2,3,4,5,6,7,8,9])),ZE=()=>$n(()=>import("./SectionAuthor-rlq_74ds.js"),[]),qE=()=>$n(()=>import("./iconCitation-Dqi5ebiw.js"),[]),KE=()=>$n(()=>import("./IconReference-Cf274XHb.js"),[]),WE=()=>$n(()=>import("./IconOk-CfoceHSK.js"),[]),JE=()=>$n(()=>import("./IconMicroscope-D68TOQKx.js"),[]),YE=()=>$n(()=>import("./IconImage-Dxp2H1nK.js"),[]),XE=()=>$n(()=>import("./IconBug-Z-ZYU1FI.js"),[]),QE=()=>$n(()=>import("./IconAudio-BhFYLG-S.js"),[]),tM=()=>$n(()=>import("./home-DQSmM9Zi.js"),__vite__mapDeps([10,2,3,4,5,6,7,8,9,0,1,11,12,13])),eM=()=>$n(()=>import("./about-1yZ2w7WU.js"),[]),nM=[{name:"components-Section-Data-DataType",path:"/components/section/data/datatype",component:zE,props:!0},{name:"components-Section-SectionTerms",path:"/components/section/sectionterms",component:VE,props:!0},{name:"components-Section-SectionLandscape",path:"/components/section/sectionlandscape",component:GE,props:!0},{name:"components-Section-SectionHighlights",path:"/components/section/sectionhighlights",component:UE,props:!0},{name:"components-Section-SectionDescription",path:"/components/section/sectiondescription",component:$E,props:!0},{name:"components-Section-SectionData",path:"/components/section/sectiondata",component:HE,props:!0},{name:"components-Section-SectionAuthor",path:"/components/section/sectionauthor",component:ZE,props:!0},{name:"components-Icon-iconCitation",path:"/components/icon/iconcitation",component:qE,props:!0},{name:"components-Icon-IconReference",path:"/components/icon/iconreference",component:KE,props:!0},{name:"components-Icon-IconOk",path:"/components/icon/iconok",component:WE,props:!0},{name:"components-Icon-IconMicroscope",path:"/components/icon/iconmicroscope",component:JE,props:!0},{name:"components-Icon-IconImage",path:"/components/icon/iconimage",component:YE,props:!0},{name:"components-Icon-IconBug",path:"/components/icon/iconbug",component:XE,props:!0},{name:"components-Icon-IconAudio",path:"/components/icon/iconaudio",component:QE,props:!0},{name:"home",path:"/",component:tM,props:!0,alias:"/home"},{name:"about",path:"/about",component:eM,props:!0}];var iM={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const rM=Object.assign({"/src/modules/home/router/index.js":D1,"/src/modules/httpErrorPages/router/index.js":$1,"/src/modules/interactiveKeys/router/index.js":vL,"/src/modules/otus/router/index.js":FE}),oM=Object.assign({}),{base_url:Cf,hash_mode:sM}=iM,aM=[].concat(...Object.values(rM),...Object.values(oM)),lM=[...nM,...aM];function uM(){return sM?Bb(Cf):h_(Cf)}function cM(){return t1({history:uM(),routes:lM,scrollBehavior(t,e,i){return t.hash?{el:t.hash}:{top:0}}})}var hM={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};function dM({originUrl:t}){const{url:e,project_token:i}=hM,c=Tv(e&&i?E1:B1),s=cM(),u=y_();return c.use(s),c.use(u),{app:c,router:s,store:u}}var pM={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const{map_tile_server:fM,map_tile_attribution:mM,map_tiles:_M}=pM;function gM(t,e){return Object.fromEntries((_M||[{label:"tile",server:fM,attribution:mM}]).map(({server:o,attribution:c,label:s})=>[s,t.tileLayer(o,{...e,attribution:c})]))}var us=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function yM(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}var $h={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,e){(function(i,o){o(e)})(us,function(i){var o="1.9.4";function c(n){var l,p,y,C;for(p=1,y=arguments.length;p"u"||!L||!L.Mixin)){n=z(n)?n:[n];for(var l=0;l0?Math.floor(n):Math.ceil(n)};Et.prototype={clone:function(){return new Et(this.x,this.y)},add:function(n){return this.clone()._add(oe(n))},_add:function(n){return this.x+=n.x,this.y+=n.y,this},subtract:function(n){return this.clone()._subtract(oe(n))},_subtract:function(n){return this.x-=n.x,this.y-=n.y,this},divideBy:function(n){return this.clone()._divideBy(n)},_divideBy:function(n){return this.x/=n,this.y/=n,this},multiplyBy:function(n){return this.clone()._multiplyBy(n)},_multiplyBy:function(n){return this.x*=n,this.y*=n,this},scaleBy:function(n){return new Et(this.x*n.x,this.y*n.y)},unscaleBy:function(n){return new Et(this.x/n.x,this.y/n.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=Qe(this.x),this.y=Qe(this.y),this},distanceTo:function(n){n=oe(n);var l=n.x-this.x,p=n.y-this.y;return Math.sqrt(l*l+p*p)},equals:function(n){return n=oe(n),n.x===this.x&&n.y===this.y},contains:function(n){return n=oe(n),Math.abs(n.x)<=Math.abs(this.x)&&Math.abs(n.y)<=Math.abs(this.y)},toString:function(){return"Point("+B(this.x)+", "+B(this.y)+")"}};function oe(n,l,p){return n instanceof Et?n:z(n)?new Et(n[0],n[1]):n==null?n:typeof n=="object"&&"x"in n&&"y"in n?new Et(n.x,n.y):new Et(n,l,p)}function Se(n,l){if(n)for(var p=l?[n,l]:n,y=0,C=p.length;y=this.min.x&&p.x<=this.max.x&&l.y>=this.min.y&&p.y<=this.max.y},intersects:function(n){n=je(n);var l=this.min,p=this.max,y=n.min,C=n.max,T=C.x>=l.x&&y.x<=p.x,K=C.y>=l.y&&y.y<=p.y;return T&&K},overlaps:function(n){n=je(n);var l=this.min,p=this.max,y=n.min,C=n.max,T=C.x>l.x&&y.xl.y&&y.y=l.lat&&C.lat<=p.lat&&y.lng>=l.lng&&C.lng<=p.lng},intersects:function(n){n=$e(n);var l=this._southWest,p=this._northEast,y=n.getSouthWest(),C=n.getNorthEast(),T=C.lat>=l.lat&&y.lat<=p.lat,K=C.lng>=l.lng&&y.lng<=p.lng;return T&&K},overlaps:function(n){n=$e(n);var l=this._southWest,p=this._northEast,y=n.getSouthWest(),C=n.getNorthEast(),T=C.lat>l.lat&&y.latl.lng&&y.lng1,Yu=function(){var n=!1;try{var l=Object.defineProperty({},"passive",{get:function(){n=!0}});window.addEventListener("testPassiveEventSupport",w,l),window.removeEventListener("testPassiveEventSupport",w,l)}catch{}return n}(),Xu=function(){return!!document.createElement("canvas").getContext}(),Es=!!(document.createElementNS&&ft("svg").createSVGRect),al=!!Es&&function(){var n=document.createElement("div");return n.innerHTML="",(n.firstChild&&n.firstChild.namespaceURI)==="http://www.w3.org/2000/svg"}(),Qu=!Es&&function(){try{var n=document.createElement("div");n.innerHTML='';var l=n.firstChild;return l.style.behavior="url(#default#VML)",l&&typeof l.adj=="object"}catch{return!1}}(),tc=navigator.platform.indexOf("Mac")===0,ec=navigator.platform.indexOf("Linux")===0;function li(n){return navigator.userAgent.toLowerCase().indexOf(n)>=0}var se={ie:Pt,ielt9:$t,edge:Vt,webkit:Nt,android:Rt,android23:ce,androidStock:re,opera:pe,chrome:Ee,gecko:ze,safari:Re,phantom:kn,opera12:dn,win:gn,ie3d:Pn,webkit3d:mi,gecko3d:Pi,any3d:Bn,mobile:yn,mobileWebkit:Po,mobileWebkit3d:Ku,msPointer:ks,pointer:il,touch:Wu,touchNative:rl,mobileOpera:Ju,mobileGecko:ol,retina:sl,passiveEvents:Yu,canvas:Xu,svg:Es,vml:Qu,inlineSvg:al,mac:tc,linux:ec},ll=se.msPointer?"MSPointerDown":"pointerdown",ul=se.msPointer?"MSPointerMove":"pointermove",Ms=se.msPointer?"MSPointerUp":"pointerup",cl=se.msPointer?"MSPointerCancel":"pointercancel",Ss={touchstart:ll,touchmove:ul,touchend:Ms,touchcancel:cl},hl={touchstart:sc,touchmove:To,touchend:To,touchcancel:To},br={},dl=!1;function nc(n,l,p){return l==="touchstart"&&Ps(),hl[l]?(p=hl[l].bind(this,p),n.addEventListener(Ss[l],p,!1),p):(console.warn("wrong event specified:",l),w)}function ic(n,l,p){if(!Ss[l]){console.warn("wrong event specified:",l);return}n.removeEventListener(Ss[l],p,!1)}function rc(n){br[n.pointerId]=n}function oc(n){br[n.pointerId]&&(br[n.pointerId]=n)}function Bo(n){delete br[n.pointerId]}function Ps(){dl||(document.addEventListener(ll,rc,!0),document.addEventListener(ul,oc,!0),document.addEventListener(Ms,Bo,!0),document.addEventListener(cl,Bo,!0),dl=!0)}function To(n,l){if(l.pointerType!==(l.MSPOINTER_TYPE_MOUSE||"mouse")){l.touches=[];for(var p in br)l.touches.push(br[p]);l.changedTouches=[l],n(l)}}function sc(n,l){l.MSPOINTER_TYPE_TOUCH&&l.pointerType===l.MSPOINTER_TYPE_TOUCH&&En(l),To(n,l)}function ac(n){var l={},p,y;for(y in n)p=n[y],l[y]=p&&p.bind?p.bind(n):p;return n=l,l.type="dblclick",l.detail=2,l.isTrusted=!1,l._simulated=!0,l}var lc=200;function uc(n,l){n.addEventListener("dblclick",l);var p=0,y;function C(T){if(T.detail!==1){y=T.detail;return}if(!(T.pointerType==="mouse"||T.sourceCapabilities&&!T.sourceCapabilities.firesTouchEvents)){var K=gl(T);if(!(K.some(function(gt){return gt instanceof HTMLLabelElement&>.attributes.for})&&!K.some(function(gt){return gt instanceof HTMLInputElement||gt instanceof HTMLSelectElement}))){var ct=Date.now();ct-p<=lc?(y++,y===2&&l(ac(T))):y=1,p=ct}}}return n.addEventListener("click",C),{dblclick:l,simDblclick:C}}function cc(n,l){n.removeEventListener("dblclick",l.dblclick),n.removeEventListener("click",l.simDblclick)}var Bs=Oo(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),qr=Oo(["webkitTransition","transition","OTransition","MozTransition","msTransition"]),pl=qr==="webkitTransition"||qr==="OTransition"?qr+"End":"transitionend";function fl(n){return typeof n=="string"?document.getElementById(n):n}function Vi(n,l){var p=n.style[l]||n.currentStyle&&n.currentStyle[l];if((!p||p==="auto")&&document.defaultView){var y=document.defaultView.getComputedStyle(n,null);p=y?y[l]:null}return p==="auto"?null:p}function De(n,l,p){var y=document.createElement(n);return y.className=l||"",p&&p.appendChild(y),y}function Ye(n){var l=n.parentNode;l&&l.removeChild(n)}function Kr(n){for(;n.firstChild;)n.removeChild(n.firstChild)}function xr(n){var l=n.parentNode;l&&l.lastChild!==n&&l.appendChild(n)}function Xi(n){var l=n.parentNode;l&&l.firstChild!==n&&l.insertBefore(n,l.firstChild)}function Ts(n,l){if(n.classList!==void 0)return n.classList.contains(l);var p=Ao(n);return p.length>0&&new RegExp("(^|\\s)"+l+"(\\s|$)").test(p)}function ve(n,l){if(n.classList!==void 0)for(var p=F(l),y=0,C=p.length;y0?2*window.devicePixelRatio:1;function vl(n){return se.edge?n.wheelDeltaY/2:n.deltaY&&n.deltaMode===0?-n.deltaY/pc:n.deltaY&&n.deltaMode===1?-n.deltaY*20:n.deltaY&&n.deltaMode===2?-n.deltaY*60:n.deltaX||n.deltaZ?0:n.wheelDelta?(n.wheelDeltaY||n.wheelDelta)/2:n.detail&&Math.abs(n.detail)<32765?-n.detail*20:n.detail?n.detail/-32765*60:0}function wr(n,l){var p=l.relatedTarget;if(!p)return!0;try{for(;p&&p!==n;)p=p.parentNode}catch{return!1}return p!==n}var fc={__proto__:null,on:ge,off:Ze,stopPropagation:nr,disableScrollPropagation:Vs,disableClickPropagation:Xr,preventDefault:En,stop:ir,getPropagationPath:gl,getMousePosition:yl,getWheelDelta:vl,isExternalTarget:wr,addListener:ge,removeListener:Ze},bl=ie.extend({run:function(n,l,p,y){this.stop(),this._el=n,this._inProgress=!0,this._duration=p||.25,this._easeOutPower=1/Math.max(y||.5,.2),this._startPos=tr(n),this._offset=l.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=qt(this._animate,this),this._step()},_step:function(n){var l=+new Date-this._startTime,p=this._duration*1e3;lthis.options.maxZoom)?this.setZoom(n):this},panInsideBounds:function(n,l){this._enforcingBounds=!0;var p=this.getCenter(),y=this._limitCenter(p,this._zoom,$e(n));return p.equals(y)||this.panTo(y,l),this._enforcingBounds=!1,this},panInside:function(n,l){l=l||{};var p=oe(l.paddingTopLeft||l.padding||[0,0]),y=oe(l.paddingBottomRight||l.padding||[0,0]),C=this.project(this.getCenter()),T=this.project(n),K=this.getPixelBounds(),ct=je([K.min.add(p),K.max.subtract(y)]),gt=ct.getSize();if(!ct.contains(T)){this._enforcingBounds=!0;var kt=T.subtract(ct.getCenter()),Yt=ct.extend(T).getSize().subtract(gt);C.x+=kt.x<0?-Yt.x:Yt.x,C.y+=kt.y<0?-Yt.y:Yt.y,this.panTo(this.unproject(C),l),this._enforcingBounds=!1}return this},invalidateSize:function(n){if(!this._loaded)return this;n=c({animate:!1,pan:!0},n===!0?{animate:!0}:n);var l=this.getSize();this._sizeChanged=!0,this._lastCenter=null;var p=this.getSize(),y=l.divideBy(2).round(),C=p.divideBy(2).round(),T=y.subtract(C);return!T.x&&!T.y?this:(n.animate&&n.pan?this.panBy(T):(n.pan&&this._rawPanBy(T),this.fire("move"),n.debounceMoveend?(clearTimeout(this._sizeTimer),this._sizeTimer=setTimeout(u(this.fire,this,"moveend"),200)):this.fire("moveend")),this.fire("resize",{oldSize:l,newSize:p}))},stop:function(){return this.setZoom(this._limitZoom(this._zoom)),this.options.zoomSnap||this.fire("viewreset"),this._stop()},locate:function(n){if(n=this._locateOptions=c({timeout:1e4,watch:!1},n),!("geolocation"in navigator))return this._handleGeolocationError({code:0,message:"Geolocation not supported."}),this;var l=u(this._handleGeolocationResponse,this),p=u(this._handleGeolocationError,this);return n.watch?this._locationWatchId=navigator.geolocation.watchPosition(l,p,n):navigator.geolocation.getCurrentPosition(l,p,n),this},stopLocate:function(){return navigator.geolocation&&navigator.geolocation.clearWatch&&navigator.geolocation.clearWatch(this._locationWatchId),this._locateOptions&&(this._locateOptions.setView=!1),this},_handleGeolocationError:function(n){if(this._container._leaflet_id){var l=n.code,p=n.message||(l===1?"permission denied":l===2?"position unavailable":"timeout");this._locateOptions.setView&&!this._loaded&&this.fitWorld(),this.fire("locationerror",{code:l,message:"Geolocation error: "+p+"."})}},_handleGeolocationResponse:function(n){if(this._container._leaflet_id){var l=n.coords.latitude,p=n.coords.longitude,y=new Be(l,p),C=y.toBounds(n.coords.accuracy*2),T=this._locateOptions;if(T.setView){var K=this.getBoundsZoom(C);this.setView(y,T.maxZoom?Math.min(K,T.maxZoom):K)}var ct={latlng:y,bounds:C,timestamp:n.timestamp};for(var gt in n.coords)typeof n.coords[gt]=="number"&&(ct[gt]=n.coords[gt]);this.fire("locationfound",ct)}},addHandler:function(n,l){if(!l)return this;var p=this[n]=new l(this);return this._handlers.push(p),this.options[n]&&p.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(),Ye(this._mapPane),this._clearControlPos&&this._clearControlPos(),this._resizeRequest&&(At(this._resizeRequest),this._resizeRequest=null),this._clearHandlers(),this._loaded&&this.fire("unload");var n;for(n in this._layers)this._layers[n].remove();for(n in this._panes)Ye(this._panes[n]);return this._layers=[],this._panes=[],delete this._mapPane,delete this._renderer,this},createPane:function(n,l){var p="leaflet-pane"+(n?" leaflet-"+n.replace("Pane","")+"-pane":""),y=De("div",p,l||this._mapPane);return n&&(this._panes[n]=y),y},getCenter:function(){return this._checkIfLoaded(),this._lastCenter&&!this._moved()?this._lastCenter.clone():this.layerPointToLatLng(this._getCenterLayerPoint())},getZoom:function(){return this._zoom},getBounds:function(){var n=this.getPixelBounds(),l=this.unproject(n.getBottomLeft()),p=this.unproject(n.getTopRight());return new rn(l,p)},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(n,l,p){n=$e(n),p=oe(p||[0,0]);var y=this.getZoom()||0,C=this.getMinZoom(),T=this.getMaxZoom(),K=n.getNorthWest(),ct=n.getSouthEast(),gt=this.getSize().subtract(p),kt=je(this.project(ct,y),this.project(K,y)).getSize(),Yt=se.any3d?this.options.zoomSnap:1,fe=gt.x/kt.x,ke=gt.y/kt.y,Dn=l?Math.max(fe,ke):Math.min(fe,ke);return y=this.getScaleZoom(Dn,y),Yt&&(y=Math.round(y/(Yt/100))*(Yt/100),y=l?Math.ceil(y/Yt)*Yt:Math.floor(y/Yt)*Yt),Math.max(C,Math.min(T,y))},getSize:function(){return(!this._size||this._sizeChanged)&&(this._size=new Et(this._container.clientWidth||0,this._container.clientHeight||0),this._sizeChanged=!1),this._size.clone()},getPixelBounds:function(n,l){var p=this._getTopLeftPoint(n,l);return new Se(p,p.add(this.getSize()))},getPixelOrigin:function(){return this._checkIfLoaded(),this._pixelOrigin},getPixelWorldBounds:function(n){return this.options.crs.getProjectedBounds(n===void 0?this.getZoom():n)},getPane:function(n){return typeof n=="string"?this._panes[n]:n},getPanes:function(){return this._panes},getContainer:function(){return this._container},getZoomScale:function(n,l){var p=this.options.crs;return l=l===void 0?this._zoom:l,p.scale(n)/p.scale(l)},getScaleZoom:function(n,l){var p=this.options.crs;l=l===void 0?this._zoom:l;var y=p.zoom(n*p.scale(l));return isNaN(y)?1/0:y},project:function(n,l){return l=l===void 0?this._zoom:l,this.options.crs.latLngToPoint(me(n),l)},unproject:function(n,l){return l=l===void 0?this._zoom:l,this.options.crs.pointToLatLng(oe(n),l)},layerPointToLatLng:function(n){var l=oe(n).add(this.getPixelOrigin());return this.unproject(l)},latLngToLayerPoint:function(n){var l=this.project(me(n))._round();return l._subtract(this.getPixelOrigin())},wrapLatLng:function(n){return this.options.crs.wrapLatLng(me(n))},wrapLatLngBounds:function(n){return this.options.crs.wrapLatLngBounds($e(n))},distance:function(n,l){return this.options.crs.distance(me(n),me(l))},containerPointToLayerPoint:function(n){return oe(n).subtract(this._getMapPanePos())},layerPointToContainerPoint:function(n){return oe(n).add(this._getMapPanePos())},containerPointToLatLng:function(n){var l=this.containerPointToLayerPoint(oe(n));return this.layerPointToLatLng(l)},latLngToContainerPoint:function(n){return this.layerPointToContainerPoint(this.latLngToLayerPoint(me(n)))},mouseEventToContainerPoint:function(n){return yl(n,this._container)},mouseEventToLayerPoint:function(n){return this.containerPointToLayerPoint(this.mouseEventToContainerPoint(n))},mouseEventToLatLng:function(n){return this.layerPointToLatLng(this.mouseEventToLayerPoint(n))},_initContainer:function(n){var l=this._container=fl(n);if(l){if(l._leaflet_id)throw new Error("Map container is already initialized.")}else throw new Error("Map container not found.");ge(l,"scroll",this._onScroll,this),this._containerId=_(l)},_initLayout:function(){var n=this._container;this._fadeAnimated=this.options.fadeAnimation&&se.any3d,ve(n,"leaflet-container"+(se.touch?" leaflet-touch":"")+(se.retina?" leaflet-retina":"")+(se.ielt9?" leaflet-oldie":"")+(se.safari?" leaflet-safari":"")+(this._fadeAnimated?" leaflet-fade-anim":""));var l=Vi(n,"position");l!=="absolute"&&l!=="relative"&&l!=="fixed"&&l!=="sticky"&&(n.style.position="relative"),this._initPanes(),this._initControlPos&&this._initControlPos()},_initPanes:function(){var n=this._panes={};this._paneRenderers={},this._mapPane=this.createPane("mapPane",this._container),ln(this._mapPane,new Et(0,0)),this.createPane("tilePane"),this.createPane("overlayPane"),this.createPane("shadowPane"),this.createPane("markerPane"),this.createPane("tooltipPane"),this.createPane("popupPane"),this.options.markerZoomAnimation||(ve(n.markerPane,"leaflet-zoom-hide"),ve(n.shadowPane,"leaflet-zoom-hide"))},_resetView:function(n,l,p){ln(this._mapPane,new Et(0,0));var y=!this._loaded;this._loaded=!0,l=this._limitZoom(l),this.fire("viewprereset");var C=this._zoom!==l;this._moveStart(C,p)._move(n,l)._moveEnd(C),this.fire("viewreset"),y&&this.fire("load")},_moveStart:function(n,l){return n&&this.fire("zoomstart"),l||this.fire("movestart"),this},_move:function(n,l,p,y){l===void 0&&(l=this._zoom);var C=this._zoom!==l;return this._zoom=l,this._lastCenter=n,this._pixelOrigin=this._getNewPixelOrigin(n),y?p&&p.pinch&&this.fire("zoom",p):((C||p&&p.pinch)&&this.fire("zoom",p),this.fire("move",p)),this},_moveEnd:function(n){return n&&this.fire("zoomend"),this.fire("moveend")},_stop:function(){return At(this._flyToFrame),this._panAnim&&this._panAnim.stop(),this},_rawPanBy:function(n){ln(this._mapPane,this._getMapPanePos().subtract(n))},_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(n){this._targets={},this._targets[_(this._container)]=this;var l=n?Ze:ge;l(this._container,"click dblclick mousedown mouseup mouseover mouseout mousemove contextmenu keypress keydown keyup",this._handleDOMEvent,this),this.options.trackResize&&l(window,"resize",this._onResize,this),se.any3d&&this.options.transform3DLimit&&(n?this.off:this.on).call(this,"moveend",this._onMoveEnd)},_onResize:function(){At(this._resizeRequest),this._resizeRequest=qt(function(){this.invalidateSize({debounceMoveend:!0})},this)},_onScroll:function(){this._container.scrollTop=0,this._container.scrollLeft=0},_onMoveEnd:function(){var n=this._getMapPanePos();Math.max(Math.abs(n.x),Math.abs(n.y))>=this.options.transform3DLimit&&this._resetView(this.getCenter(),this.getZoom())},_findEventTargets:function(n,l){for(var p=[],y,C=l==="mouseout"||l==="mouseover",T=n.target||n.srcElement,K=!1;T;){if(y=this._targets[_(T)],y&&(l==="click"||l==="preclick")&&this._draggableMoved(y)){K=!0;break}if(y&&y.listens(l,!0)&&(C&&!wr(T,n)||(p.push(y),C))||T===this._container)break;T=T.parentNode}return!p.length&&!K&&!C&&this.listens(l,!0)&&(p=[this]),p},_isClickDisabled:function(n){for(;n&&n!==this._container;){if(n._leaflet_disable_click)return!0;n=n.parentNode}},_handleDOMEvent:function(n){var l=n.target||n.srcElement;if(!(!this._loaded||l._leaflet_disable_events||n.type==="click"&&this._isClickDisabled(l))){var p=n.type;p==="mousedown"&&Fs(l),this._fireDOMEvent(n,p)}},_mouseEvents:["click","dblclick","mouseover","mouseout","contextmenu"],_fireDOMEvent:function(n,l,p){if(n.type==="click"){var y=c({},n);y.type="preclick",this._fireDOMEvent(y,y.type,p)}var C=this._findEventTargets(n,l);if(p){for(var T=[],K=0;K0?Math.round(n-l)/2:Math.max(0,Math.ceil(n))-Math.max(0,Math.floor(l))},_limitZoom:function(n){var l=this.getMinZoom(),p=this.getMaxZoom(),y=se.any3d?this.options.zoomSnap:1;return y&&(n=Math.round(n/y)*y),Math.max(l,Math.min(p,n))},_onPanTransitionStep:function(){this.fire("move")},_onPanTransitionEnd:function(){on(this._mapPane,"leaflet-pan-anim"),this.fire("moveend")},_tryAnimatedPan:function(n,l){var p=this._getCenterOffset(n)._trunc();return(l&&l.animate)!==!0&&!this.getSize().contains(p)?!1:(this.panBy(p,l),!0)},_createAnimProxy:function(){var n=this._proxy=De("div","leaflet-proxy leaflet-zoom-animated");this._panes.mapPane.appendChild(n),this.on("zoomanim",function(l){var p=Bs,y=this._proxy.style[p];Qi(this._proxy,this.project(l.center,l.zoom),this.getZoomScale(l.zoom,1)),y===this._proxy.style[p]&&this._animatingZoom&&this._onZoomTransitionEnd()},this),this.on("load moveend",this._animMoveEnd,this),this._on("unload",this._destroyAnimProxy,this)},_destroyAnimProxy:function(){Ye(this._proxy),this.off("load moveend",this._animMoveEnd,this),delete this._proxy},_animMoveEnd:function(){var n=this.getCenter(),l=this.getZoom();Qi(this._proxy,this.project(n,l),this.getZoomScale(l,1))},_catchTransitionEnd:function(n){this._animatingZoom&&n.propertyName.indexOf("transform")>=0&&this._onZoomTransitionEnd()},_nothingToAnimate:function(){return!this._container.getElementsByClassName("leaflet-zoom-animated").length},_tryAnimatedZoom:function(n,l,p){if(this._animatingZoom)return!0;if(p=p||{},!this._zoomAnimated||p.animate===!1||this._nothingToAnimate()||Math.abs(l-this._zoom)>this.options.zoomAnimationThreshold)return!1;var y=this.getZoomScale(l),C=this._getCenterOffset(n)._divideBy(1-1/y);return p.animate!==!0&&!this.getSize().contains(C)?!1:(qt(function(){this._moveStart(!0,p.noMoveStart||!1)._animateZoom(n,l,!0)},this),!0)},_animateZoom:function(n,l,p,y){this._mapPane&&(p&&(this._animatingZoom=!0,this._animateToCenter=n,this._animateToZoom=l,ve(this._mapPane,"leaflet-zoom-anim")),this.fire("zoomanim",{center:n,zoom:l,noUpdate:y}),this._tempFireZoomEvent||(this._tempFireZoomEvent=this._zoom!==this._animateToZoom),this._move(this._animateToCenter,this._animateToZoom,void 0,!0),setTimeout(u(this._onZoomTransitionEnd,this),250))},_onZoomTransitionEnd:function(){this._animatingZoom&&(this._mapPane&&on(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 Te(n,l){return new Me(n,l)}var Hn=Ce.extend({options:{position:"topright"},initialize:function(n){V(this,n)},getPosition:function(){return this.options.position},setPosition:function(n){var l=this._map;return l&&l.removeControl(this),this.options.position=n,l&&l.addControl(this),this},getContainer:function(){return this._container},addTo:function(n){this.remove(),this._map=n;var l=this._container=this.onAdd(n),p=this.getPosition(),y=n._controlCorners[p];return ve(l,"leaflet-control"),p.indexOf("bottom")!==-1?y.insertBefore(l,y.firstChild):y.appendChild(l),this._map.on("unload",this.remove,this),this},remove:function(){return this._map?(Ye(this._container),this.onRemove&&this.onRemove(this._map),this._map.off("unload",this.remove,this),this._map=null,this):this},_refocusOnMap:function(n){this._map&&n&&n.screenX>0&&n.screenY>0&&this._map.getContainer().focus()}}),Gi=function(n){return new Hn(n)};Me.include({addControl:function(n){return n.addTo(this),this},removeControl:function(n){return n.remove(),this},_initControlPos:function(){var n=this._controlCorners={},l="leaflet-",p=this._controlContainer=De("div",l+"control-container",this._container);function y(C,T){var K=l+C+" "+l+T;n[C+T]=De("div",K,p)}y("top","left"),y("top","right"),y("bottom","left"),y("bottom","right")},_clearControlPos:function(){for(var n in this._controlCorners)Ye(this._controlCorners[n]);Ye(this._controlContainer),delete this._controlCorners,delete this._controlContainer}});var xl=Hn.extend({options:{collapsed:!0,position:"topright",autoZIndex:!0,hideSingleBase:!1,sortLayers:!1,sortFunction:function(n,l,p,y){return p1,this._baseLayersList.style.display=n?"":"none"),this._separator.style.display=l&&n?"":"none",this},_onLayerChange:function(n){this._handlingClick||this._update();var l=this._getLayer(_(n.target)),p=l.overlay?n.type==="add"?"overlayadd":"overlayremove":n.type==="add"?"baselayerchange":null;p&&this._map.fire(p,l)},_createRadioElement:function(n,l){var p='",y=document.createElement("div");return y.innerHTML=p,y.firstChild},_addItem:function(n){var l=document.createElement("label"),p=this._map.hasLayer(n.layer),y;n.overlay?(y=document.createElement("input"),y.type="checkbox",y.className="leaflet-control-layers-selector",y.defaultChecked=p):y=this._createRadioElement("leaflet-base-layers_"+_(this),p),this._layerControlInputs.push(y),y.layerId=_(n.layer),ge(y,"click",this._onInputClick,this);var C=document.createElement("span");C.innerHTML=" "+n.name;var T=document.createElement("span");l.appendChild(T),T.appendChild(y),T.appendChild(C);var K=n.overlay?this._overlaysList:this._baseLayersList;return K.appendChild(l),this._checkDisabledLayers(),l},_onInputClick:function(){if(!this._preventClick){var n=this._layerControlInputs,l,p,y=[],C=[];this._handlingClick=!0;for(var T=n.length-1;T>=0;T--)l=n[T],p=this._getLayer(l.layerId).layer,l.checked?y.push(p):l.checked||C.push(p);for(T=0;T=0;C--)l=n[C],p=this._getLayer(l.layerId).layer,l.disabled=p.options.minZoom!==void 0&&yp.options.maxZoom},_expandIfNotCollapsed:function(){return this._map&&!this.options.collapsed&&this.expand(),this},_expandSafely:function(){var n=this._section;this._preventClick=!0,ge(n,"click",En),this.expand();var l=this;setTimeout(function(){Ze(n,"click",En),l._preventClick=!1})}}),wl=function(n,l,p){return new xl(n,l,p)},Gs=Hn.extend({options:{position:"topleft",zoomInText:'',zoomInTitle:"Zoom in",zoomOutText:'',zoomOutTitle:"Zoom out"},onAdd:function(n){var l="leaflet-control-zoom",p=De("div",l+" leaflet-bar"),y=this.options;return this._zoomInButton=this._createButton(y.zoomInText,y.zoomInTitle,l+"-in",p,this._zoomIn),this._zoomOutButton=this._createButton(y.zoomOutText,y.zoomOutTitle,l+"-out",p,this._zoomOut),this._updateDisabled(),n.on("zoomend zoomlevelschange",this._updateDisabled,this),p},onRemove:function(n){n.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(n){!this._disabled&&this._map._zoomthis._map.getMinZoom()&&this._map.zoomOut(this._map.options.zoomDelta*(n.shiftKey?3:1))},_createButton:function(n,l,p,y,C){var T=De("a",p,y);return T.innerHTML=n,T.href="#",T.title=l,T.setAttribute("role","button"),T.setAttribute("aria-label",l),Xr(T),ge(T,"click",ir),ge(T,"click",C,this),ge(T,"click",this._refocusOnMap,this),T},_updateDisabled:function(){var n=this._map,l="leaflet-disabled";on(this._zoomInButton,l),on(this._zoomOutButton,l),this._zoomInButton.setAttribute("aria-disabled","false"),this._zoomOutButton.setAttribute("aria-disabled","false"),(this._disabled||n._zoom===n.getMinZoom())&&(ve(this._zoomOutButton,l),this._zoomOutButton.setAttribute("aria-disabled","true")),(this._disabled||n._zoom===n.getMaxZoom())&&(ve(this._zoomInButton,l),this._zoomInButton.setAttribute("aria-disabled","true"))}});Me.mergeOptions({zoomControl:!0}),Me.addInitHook(function(){this.options.zoomControl&&(this.zoomControl=new Gs,this.addControl(this.zoomControl))});var Us=function(n){return new Gs(n)},Qr=Hn.extend({options:{position:"bottomleft",maxWidth:100,metric:!0,imperial:!0},onAdd:function(n){var l="leaflet-control-scale",p=De("div",l),y=this.options;return this._addScales(y,l+"-line",p),n.on(y.updateWhenIdle?"moveend":"move",this._update,this),n.whenReady(this._update,this),p},onRemove:function(n){n.off(this.options.updateWhenIdle?"moveend":"move",this._update,this)},_addScales:function(n,l,p){n.metric&&(this._mScale=De("div",l,p)),n.imperial&&(this._iScale=De("div",l,p))},_update:function(){var n=this._map,l=n.getSize().y/2,p=n.distance(n.containerPointToLatLng([0,l]),n.containerPointToLatLng([this.options.maxWidth,l]));this._updateScales(p)},_updateScales:function(n){this.options.metric&&n&&this._updateMetric(n),this.options.imperial&&n&&this._updateImperial(n)},_updateMetric:function(n){var l=this._getRoundNum(n),p=l<1e3?l+" m":l/1e3+" km";this._updateScale(this._mScale,p,l/n)},_updateImperial:function(n){var l=n*3.2808399,p,y,C;l>5280?(p=l/5280,y=this._getRoundNum(p),this._updateScale(this._iScale,y+" mi",y/p)):(C=this._getRoundNum(l),this._updateScale(this._iScale,C+" ft",C/l))},_updateScale:function(n,l,p){n.style.width=Math.round(this.options.maxWidth*p)+"px",n.innerHTML=l},_getRoundNum:function(n){var l=Math.pow(10,(Math.floor(n)+"").length-1),p=n/l;return p=p>=10?10:p>=5?5:p>=3?3:p>=2?2:1,l*p}}),mc=function(n){return new Qr(n)},Ui='',Io=Hn.extend({options:{position:"bottomright",prefix:''+(se.inlineSvg?Ui+" ":"")+"Leaflet"},initialize:function(n){V(this,n),this._attributions={}},onAdd:function(n){n.attributionControl=this,this._container=De("div","leaflet-control-attribution"),Xr(this._container);for(var l in n._layers)n._layers[l].getAttribution&&this.addAttribution(n._layers[l].getAttribution());return this._update(),n.on("layeradd",this._addAttribution,this),this._container},onRemove:function(n){n.off("layeradd",this._addAttribution,this)},_addAttribution:function(n){n.layer.getAttribution&&(this.addAttribution(n.layer.getAttribution()),n.layer.once("remove",function(){this.removeAttribution(n.layer.getAttribution())},this))},setPrefix:function(n){return this.options.prefix=n,this._update(),this},addAttribution:function(n){return n?(this._attributions[n]||(this._attributions[n]=0),this._attributions[n]++,this._update(),this):this},removeAttribution:function(n){return n?(this._attributions[n]&&(this._attributions[n]--,this._update()),this):this},_update:function(){if(this._map){var n=[];for(var l in this._attributions)this._attributions[l]&&n.push(l);var p=[];this.options.prefix&&p.push(this.options.prefix),n.length&&p.push(n.join(", ")),this._container.innerHTML=p.join(' ')}}});Me.mergeOptions({attributionControl:!0}),Me.addInitHook(function(){this.options.attributionControl&&new Io().addTo(this)});var Lr=function(n){return new Io(n)};Hn.Layers=xl,Hn.Zoom=Gs,Hn.Scale=Qr,Hn.Attribution=Io,Gi.layers=wl,Gi.zoom=Us,Gi.scale=mc,Gi.attribution=Lr;var gi=Ce.extend({initialize:function(n){this._map=n},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}});gi.addTo=function(n,l){return n.addHandler(l,this),this};var _c={Events:Ht},Ll=se.touch?"touchstart mousedown":"mousedown",$i=ie.extend({options:{clickTolerance:3},initialize:function(n,l,p,y){V(this,y),this._element=n,this._dragStartTarget=l||n,this._preventOutline=p},enable:function(){this._enabled||(ge(this._dragStartTarget,Ll,this._onDown,this),this._enabled=!0)},disable:function(){this._enabled&&($i._dragging===this&&this.finishDrag(!0),Ze(this._dragStartTarget,Ll,this._onDown,this),this._enabled=!1,this._moved=!1)},_onDown:function(n){if(this._enabled&&(this._moved=!1,!Ts(this._element,"leaflet-zoom-anim"))){if(n.touches&&n.touches.length!==1){$i._dragging===this&&this.finishDrag();return}if(!($i._dragging||n.shiftKey||n.which!==1&&n.button!==1&&!n.touches)&&($i._dragging=this,this._preventOutline&&Fs(this._element),Rs(),Wr(),!this._moving)){this.fire("down");var l=n.touches?n.touches[0]:n,p=ml(this._element);this._startPoint=new Et(l.clientX,l.clientY),this._startPos=tr(this._element),this._parentScale=Ns(p);var y=n.type==="mousedown";ge(document,y?"mousemove":"touchmove",this._onMove,this),ge(document,y?"mouseup":"touchend touchcancel",this._onUp,this)}}},_onMove:function(n){if(this._enabled){if(n.touches&&n.touches.length>1){this._moved=!0;return}var l=n.touches&&n.touches.length===1?n.touches[0]:n,p=new Et(l.clientX,l.clientY)._subtract(this._startPoint);!p.x&&!p.y||Math.abs(p.x)+Math.abs(p.y)T&&(K=ct,T=gt);T>p&&(l[K]=1,Fo(n,l,p,y,K),Fo(n,l,p,K,C))}function Cr(n,l){for(var p=[n[0]],y=1,C=0,T=n.length;yl&&(p.push(n[y]),C=y);return Cl.max.x&&(p|=2),n.yl.max.y&&(p|=8),p}function yc(n,l){var p=l.x-n.x,y=l.y-n.y;return p*p+y*y}function sr(n,l,p,y){var C=l.x,T=l.y,K=p.x-C,ct=p.y-T,gt=K*K+ct*ct,kt;return gt>0&&(kt=((n.x-C)*K+(n.y-T)*ct)/gt,kt>1?(C=p.x,T=p.y):kt>0&&(C+=K*kt,T+=ct*kt)),K=n.x-C,ct=n.y-T,y?K*K+ct*ct:new Et(C,T)}function nn(n){return!z(n[0])||typeof n[0][0]!="object"&&typeof n[0][0]<"u"}function Zs(n){return console.warn("Deprecated use of _flat, please use L.LineUtil.isFlat instead."),nn(n)}function to(n,l){var p,y,C,T,K,ct,gt,kt;if(!n||n.length===0)throw new Error("latlngs not passed");nn(n)||(console.warn("latlngs are not flat! Only the first ring will be used"),n=n[0]);var Yt=me([0,0]),fe=$e(n),ke=fe.getNorthWest().distanceTo(fe.getSouthWest())*fe.getNorthEast().distanceTo(fe.getNorthWest());ke<1700&&(Yt=$s(n));var Dn=n.length,un=[];for(p=0;py){gt=(T-y)/C,kt=[ct.x-gt*(ct.x-K.x),ct.y-gt*(ct.y-K.y)];break}var bn=l.unproject(oe(kt));return me([bn.lat+Yt.lat,bn.lng+Yt.lng])}var vc={__proto__:null,simplify:Hs,pointToSegmentDistance:El,closestPointOnSegment:Mn,clipSegment:kr,_getEdgeIntersection:ui,_getBitCode:or,_sqClosestPointOnSegment:sr,isFlat:nn,_flat:Zs,polylineCenter:to},Qn={project:function(n){return new Et(n.lng,n.lat)},unproject:function(n){return new Be(n.y,n.x)},bounds:new Se([-180,-90],[180,90])},ti={R:6378137,R_MINOR:6356752314245179e-9,bounds:new Se([-2003750834279e-5,-1549657073972e-5],[2003750834279e-5,1876465623138e-5]),project:function(n){var l=Math.PI/180,p=this.R,y=n.lat*l,C=this.R_MINOR/p,T=Math.sqrt(1-C*C),K=T*Math.sin(y),ct=Math.tan(Math.PI/4-y/2)/Math.pow((1-K)/(1+K),T/2);return y=-p*Math.log(Math.max(ct,1e-10)),new Et(n.lng*l*p,y)},unproject:function(n){for(var l=180/Math.PI,p=this.R,y=this.R_MINOR/p,C=Math.sqrt(1-y*y),T=Math.exp(-n.y/p),K=Math.PI/2-2*Math.atan(T),ct=0,gt=.1,kt;ct<15&&Math.abs(gt)>1e-7;ct++)kt=C*Math.sin(K),kt=Math.pow((1-kt)/(1+kt),C/2),gt=Math.PI/2-2*Math.atan(T*kt)-K,K+=gt;return new Be(K*l,n.x*l/p)}},No={__proto__:null,LonLat:Qn,Mercator:ti,SphericalMercator:ee},Ml=c({},Zt,{code:"EPSG:3395",projection:ti,transformation:function(){var n=.5/(Math.PI*ti.R);return Ne(n,.5,-n,.5)}()}),jo=c({},Zt,{code:"EPSG:4326",projection:Qn,transformation:Ne(1/180,1,-1/180,.5)}),eo=c({},xt,{projection:Qn,transformation:Ne(1,0,-1,0),scale:function(n){return Math.pow(2,n)},zoom:function(n){return Math.log(n)/Math.LN2},distance:function(n,l){var p=l.lng-n.lng,y=l.lat-n.lat;return Math.sqrt(p*p+y*y)},infinite:!0});xt.Earth=Zt,xt.EPSG3395=Ml,xt.EPSG3857=G,xt.EPSG900913=q,xt.EPSG4326=jo,xt.Simple=eo;var ci=ie.extend({options:{pane:"overlayPane",attribution:null,bubblingMouseEvents:!0},addTo:function(n){return n.addLayer(this),this},remove:function(){return this.removeFrom(this._map||this._mapToAdd)},removeFrom:function(n){return n&&n.removeLayer(this),this},getPane:function(n){return this._map.getPane(n?this.options[n]||n:this.options.pane)},addInteractiveTarget:function(n){return this._map._targets[_(n)]=this,this},removeInteractiveTarget:function(n){return delete this._map._targets[_(n)],this},getAttribution:function(){return this.options.attribution},_layerAdd:function(n){var l=n.target;if(l.hasLayer(this)){if(this._map=l,this._zoomAnimated=l._zoomAnimated,this.getEvents){var p=this.getEvents();l.on(p,this),this.once("remove",function(){l.off(p,this)},this)}this.onAdd(l),this.fire("add"),l.fire("layeradd",{layer:this})}}});Me.include({addLayer:function(n){if(!n._layerAdd)throw new Error("The provided object is not a Layer.");var l=_(n);return this._layers[l]?this:(this._layers[l]=n,n._mapToAdd=this,n.beforeAdd&&n.beforeAdd(this),this.whenReady(n._layerAdd,n),this)},removeLayer:function(n){var l=_(n);return this._layers[l]?(this._loaded&&n.onRemove(this),delete this._layers[l],this._loaded&&(this.fire("layerremove",{layer:n}),n.fire("remove")),n._map=n._mapToAdd=null,this):this},hasLayer:function(n){return _(n)in this._layers},eachLayer:function(n,l){for(var p in this._layers)n.call(l,this._layers[p]);return this},_addLayers:function(n){n=n?z(n)?n:[n]:[];for(var l=0,p=n.length;lthis._layersMaxZoom&&this.setZoom(this._layersMaxZoom),this.options.minZoom===void 0&&this._layersMinZoom&&this.getZoom()=2&&l[0]instanceof Be&&l[0].equals(l[p-1])&&l.pop(),l},_setLatLngs:function(n){Ai.prototype._setLatLngs.call(this,n),nn(this._latlngs)&&(this._latlngs=[this._latlngs])},_defaultShape:function(){return nn(this._latlngs[0])?this._latlngs[0]:this._latlngs[0][0]},_clipPoints:function(){var n=this._renderer._bounds,l=this.options.weight,p=new Et(l,l);if(n=new Se(n.min.subtract(p),n.max.add(p)),this._parts=[],!(!this._pxBounds||!this._pxBounds.intersects(n))){if(this.options.noClip){this._parts=this._rings;return}for(var y=0,C=this._rings.length,T;yn.y!=C.y>n.y&&n.x<(C.x-y.x)*(n.y-y.y)/(C.y-y.y)+y.x&&(l=!l);return l||Ai.prototype._containsPoint.call(this,n,!0)}});function Cc(n,l){return new yi(n,l)}var Oi=Bi.extend({initialize:function(n,l){V(this,l),this._layers={},n&&this.addData(n)},addData:function(n){var l=z(n)?n:n.features,p,y,C;if(l){for(p=0,y=l.length;p0&&C.push(C[0].slice()),C}function Sr(n,l){return n.feature?c({},n.feature,{geometry:l}):ro(l)}function ro(n){return n.type==="Feature"||n.type==="FeatureCollection"?n:{type:"Feature",properties:{},geometry:n}}var oo={toGeoJSON:function(n){return Sr(this,{type:"Point",coordinates:Ys(this.getLatLng(),n)})}};zo.include(oo),Ti.include(oo),no.include(oo),Ai.include({toGeoJSON:function(n){var l=!nn(this._latlngs),p=Go(this._latlngs,l?1:0,!1,n);return Sr(this,{type:(l?"Multi":"")+"LineString",coordinates:p})}}),yi.include({toGeoJSON:function(n){var l=!nn(this._latlngs),p=l&&!nn(this._latlngs[0]),y=Go(this._latlngs,p?2:l?1:0,!0,n);return l||(y=[y]),Sr(this,{type:(p?"Multi":"")+"Polygon",coordinates:y})}}),Er.include({toMultiPoint:function(n){var l=[];return this.eachLayer(function(p){l.push(p.toGeoJSON(n).geometry.coordinates)}),Sr(this,{type:"MultiPoint",coordinates:l})},toGeoJSON:function(n){var l=this.feature&&this.feature.geometry&&this.feature.geometry.type;if(l==="MultiPoint")return this.toMultiPoint(n);var p=l==="GeometryCollection",y=[];return this.eachLayer(function(C){if(C.toGeoJSON){var T=C.toGeoJSON(n);if(p)y.push(T.geometry);else{var K=ro(T);K.type==="FeatureCollection"?y.push.apply(y,K.features):y.push(K)}}}),p?Sr(this,{geometries:y,type:"GeometryCollection"}):{type:"FeatureCollection",features:y}}});function Xs(n,l){return new Oi(n,l)}var Qs=Xs,Uo=ci.extend({options:{opacity:1,alt:"",interactive:!1,crossOrigin:!1,errorOverlayUrl:"",zIndex:1,className:""},initialize:function(n,l,p){this._url=n,this._bounds=$e(l),V(this,p)},onAdd:function(){this._image||(this._initImage(),this.options.opacity<1&&this._updateOpacity()),this.options.interactive&&(ve(this._image,"leaflet-interactive"),this.addInteractiveTarget(this._image)),this.getPane().appendChild(this._image),this._reset()},onRemove:function(){Ye(this._image),this.options.interactive&&this.removeInteractiveTarget(this._image)},setOpacity:function(n){return this.options.opacity=n,this._image&&this._updateOpacity(),this},setStyle:function(n){return n.opacity&&this.setOpacity(n.opacity),this},bringToFront:function(){return this._map&&xr(this._image),this},bringToBack:function(){return this._map&&Xi(this._image),this},setUrl:function(n){return this._url=n,this._image&&(this._image.src=n),this},setBounds:function(n){return this._bounds=$e(n),this._map&&this._reset(),this},getEvents:function(){var n={zoom:this._reset,viewreset:this._reset};return this._zoomAnimated&&(n.zoomanim=this._animateZoom),n},setZIndex:function(n){return this.options.zIndex=n,this._updateZIndex(),this},getBounds:function(){return this._bounds},getElement:function(){return this._image},_initImage:function(){var n=this._url.tagName==="IMG",l=this._image=n?this._url:De("img");if(ve(l,"leaflet-image-layer"),this._zoomAnimated&&ve(l,"leaflet-zoom-animated"),this.options.className&&ve(l,this.options.className),l.onselectstart=w,l.onmousemove=w,l.onload=u(this.fire,this,"load"),l.onerror=u(this._overlayOnError,this,"error"),(this.options.crossOrigin||this.options.crossOrigin==="")&&(l.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),this.options.zIndex&&this._updateZIndex(),n){this._url=l.src;return}l.src=this._url,l.alt=this.options.alt},_animateZoom:function(n){var l=this._map.getZoomScale(n.zoom),p=this._map._latLngBoundsToNewLayerBounds(this._bounds,n.zoom,n.center).min;Qi(this._image,p,l)},_reset:function(){var n=this._image,l=new Se(this._map.latLngToLayerPoint(this._bounds.getNorthWest()),this._map.latLngToLayerPoint(this._bounds.getSouthEast())),p=l.getSize();ln(n,l.min),n.style.width=p.x+"px",n.style.height=p.y+"px"},_updateOpacity:function(){Xn(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 n=this.options.errorOverlayUrl;n&&this._url!==n&&(this._url=n,this._image.src=n)},getCenter:function(){return this._bounds.getCenter()}}),$o=function(n,l,p){return new Uo(n,l,p)},ta=Uo.extend({options:{autoplay:!0,loop:!0,keepAspectRatio:!0,muted:!1,playsInline:!0},_initImage:function(){var n=this._url.tagName==="VIDEO",l=this._image=n?this._url:De("video");if(ve(l,"leaflet-image-layer"),this._zoomAnimated&&ve(l,"leaflet-zoom-animated"),this.options.className&&ve(l,this.options.className),l.onselectstart=w,l.onmousemove=w,l.onloadeddata=u(this.fire,this,"load"),n){for(var p=l.getElementsByTagName("source"),y=[],C=0;C0?y:[l.src];return}z(this._url)||(this._url=[this._url]),!this.options.keepAspectRatio&&Object.prototype.hasOwnProperty.call(l.style,"objectFit")&&(l.style.objectFit="fill"),l.autoplay=!!this.options.autoplay,l.loop=!!this.options.loop,l.muted=!!this.options.muted,l.playsInline=!!this.options.playsInline;for(var T=0;TC?(l.height=C+"px",ve(n,T)):on(n,T),this._containerWidth=this._container.offsetWidth},_animateZoom:function(n){var l=this._map._latLngToNewLayerPoint(this._latlng,n.zoom,n.center),p=this._getAnchor();ln(this._container,l.add(p))},_adjustPan:function(){if(this.options.autoPan){if(this._map._panAnim&&this._map._panAnim.stop(),this._autopanning){this._autopanning=!1;return}var n=this._map,l=parseInt(Vi(this._container,"marginBottom"),10)||0,p=this._container.offsetHeight+l,y=this._containerWidth,C=new Et(this._containerLeft,-p-this._containerBottom);C._add(tr(this._container));var T=n.layerPointToContainerPoint(C),K=oe(this.options.autoPanPadding),ct=oe(this.options.autoPanPaddingTopLeft||K),gt=oe(this.options.autoPanPaddingBottomRight||K),kt=n.getSize(),Yt=0,fe=0;T.x+y+gt.x>kt.x&&(Yt=T.x+y-kt.x+gt.x),T.x-Yt-ct.x<0&&(Yt=T.x-ct.x),T.y+p+gt.y>kt.y&&(fe=T.y+p-kt.y+gt.y),T.y-fe-ct.y<0&&(fe=T.y-ct.y),(Yt||fe)&&(this.options.keepInView&&(this._autopanning=!0),n.fire("autopanstart").panBy([Yt,fe]))}},_getAnchor:function(){return oe(this._source&&this._source._getPopupAnchor?this._source._getPopupAnchor():[0,0])}}),Mc=function(n,l){return new Ho(n,l)};Me.mergeOptions({closePopupOnClick:!0}),Me.include({openPopup:function(n,l,p){return this._initOverlay(Ho,n,l,p).openOn(this),this},closePopup:function(n){return n=arguments.length?n:this._popup,n&&n.close(),this}}),ci.include({bindPopup:function(n,l){return this._popup=this._initOverlay(Ho,this._popup,n,l),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(n){return this._popup&&(this instanceof Bi||(this._popup._source=this),this._popup._prepareOpen(n||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(n){return this._popup&&this._popup.setContent(n),this},getPopup:function(){return this._popup},_openPopup:function(n){if(!(!this._popup||!this._map)){ir(n);var l=n.layer||n.target;if(this._popup._source===l&&!(l instanceof Nn)){this._map.hasLayer(this._popup)?this.closePopup():this.openPopup(n.latlng);return}this._popup._source=l,this.openPopup(n.latlng)}},_movePopup:function(n){this._popup.setLatLng(n.latlng)},_onKeyPress:function(n){n.originalEvent.keyCode===13&&this._openPopup(n)}});var Zo=jn.extend({options:{pane:"tooltipPane",offset:[0,0],direction:"auto",permanent:!1,sticky:!1,opacity:.9},onAdd:function(n){jn.prototype.onAdd.call(this,n),this.setOpacity(this.options.opacity),n.fire("tooltipopen",{tooltip:this}),this._source&&(this.addEventParent(this._source),this._source.fire("tooltipopen",{tooltip:this},!0))},onRemove:function(n){jn.prototype.onRemove.call(this,n),n.fire("tooltipclose",{tooltip:this}),this._source&&(this.removeEventParent(this._source),this._source.fire("tooltipclose",{tooltip:this},!0))},getEvents:function(){var n=jn.prototype.getEvents.call(this);return this.options.permanent||(n.preclick=this.close),n},_initLayout:function(){var n="leaflet-tooltip",l=n+" "+(this.options.className||"")+" leaflet-zoom-"+(this._zoomAnimated?"animated":"hide");this._contentNode=this._container=De("div",l),this._container.setAttribute("role","tooltip"),this._container.setAttribute("id","leaflet-tooltip-"+_(this))},_updateLayout:function(){},_adjustPan:function(){},_setPosition:function(n){var l,p,y=this._map,C=this._container,T=y.latLngToContainerPoint(y.getCenter()),K=y.layerPointToContainerPoint(n),ct=this.options.direction,gt=C.offsetWidth,kt=C.offsetHeight,Yt=oe(this.options.offset),fe=this._getAnchor();ct==="top"?(l=gt/2,p=kt):ct==="bottom"?(l=gt/2,p=0):ct==="center"?(l=gt/2,p=kt/2):ct==="right"?(l=0,p=kt/2):ct==="left"?(l=gt,p=kt/2):K.xthis.options.maxZoom||py?this._retainParent(C,T,K,y):!1)},_retainChildren:function(n,l,p,y){for(var C=2*n;C<2*n+2;C++)for(var T=2*l;T<2*l+2;T++){var K=new Et(C,T);K.z=p+1;var ct=this._tileCoordsToKey(K),gt=this._tiles[ct];if(gt&>.active){gt.retain=!0;continue}else gt&>.loaded&&(gt.retain=!0);p+1this.options.maxZoom||this.options.minZoom!==void 0&&C1){this._setView(n,p);return}for(var fe=C.min.y;fe<=C.max.y;fe++)for(var ke=C.min.x;ke<=C.max.x;ke++){var Dn=new Et(ke,fe);if(Dn.z=this._tileZoom,!!this._isValidTile(Dn)){var un=this._tiles[this._tileCoordsToKey(Dn)];un?un.current=!0:K.push(Dn)}}if(K.sort(function(bn,Zi){return bn.distanceTo(T)-Zi.distanceTo(T)}),K.length!==0){this._loading||(this._loading=!0,this.fire("loading"));var cn=document.createDocumentFragment();for(ke=0;kep.max.x)||!l.wrapLat&&(n.yp.max.y))return!1}if(!this.options.bounds)return!0;var y=this._tileCoordsToBounds(n);return $e(this.options.bounds).overlaps(y)},_keyToBounds:function(n){return this._tileCoordsToBounds(this._keyToTileCoords(n))},_tileCoordsToNwSe:function(n){var l=this._map,p=this.getTileSize(),y=n.scaleBy(p),C=y.add(p),T=l.unproject(y,n.z),K=l.unproject(C,n.z);return[T,K]},_tileCoordsToBounds:function(n){var l=this._tileCoordsToNwSe(n),p=new rn(l[0],l[1]);return this.options.noWrap||(p=this._map.wrapLatLngBounds(p)),p},_tileCoordsToKey:function(n){return n.x+":"+n.y+":"+n.z},_keyToTileCoords:function(n){var l=n.split(":"),p=new Et(+l[0],+l[1]);return p.z=+l[2],p},_removeTile:function(n){var l=this._tiles[n];l&&(Ye(l.el),delete this._tiles[n],this.fire("tileunload",{tile:l.el,coords:this._keyToTileCoords(n)}))},_initTile:function(n){ve(n,"leaflet-tile");var l=this.getTileSize();n.style.width=l.x+"px",n.style.height=l.y+"px",n.onselectstart=w,n.onmousemove=w,se.ielt9&&this.options.opacity<1&&Xn(n,this.options.opacity)},_addTile:function(n,l){var p=this._getTilePos(n),y=this._tileCoordsToKey(n),C=this.createTile(this._wrapCoords(n),u(this._tileReady,this,n));this._initTile(C),this.createTile.length<2&&qt(u(this._tileReady,this,n,null,C)),ln(C,p),this._tiles[y]={el:C,coords:n,current:!0},l.appendChild(C),this.fire("tileloadstart",{tile:C,coords:n})},_tileReady:function(n,l,p){l&&this.fire("tileerror",{error:l,tile:p,coords:n});var y=this._tileCoordsToKey(n);p=this._tiles[y],p&&(p.loaded=+new Date,this._map._fadeAnimated?(Xn(p.el,0),At(this._fadeFrame),this._fadeFrame=qt(this._updateOpacity,this)):(p.active=!0,this._pruneTiles()),l||(ve(p.el,"leaflet-tile-loaded"),this.fire("tileload",{tile:p.el,coords:n})),this._noTilesToLoad()&&(this._loading=!1,this.fire("load"),se.ielt9||!this._map._fadeAnimated?qt(this._pruneTiles,this):setTimeout(u(this._pruneTiles,this),250)))},_getTilePos:function(n){return n.scaleBy(this.getTileSize()).subtract(this._level.origin)},_wrapCoords:function(n){var l=new Et(this._wrapX?b(n.x,this._wrapX):n.x,this._wrapY?b(n.y,this._wrapY):n.y);return l.z=n.z,l},_pxBoundsToTileRange:function(n){var l=this.getTileSize();return new Se(n.min.unscaleBy(l).floor(),n.max.unscaleBy(l).ceil().subtract([1,1]))},_noTilesToLoad:function(){for(var n in this._tiles)if(!this._tiles[n].loaded)return!1;return!0}});function Bc(n){return new so(n)}var lr=so.extend({options:{minZoom:0,maxZoom:18,subdomains:"abc",errorTileUrl:"",zoomOffset:0,tms:!1,zoomReverse:!1,detectRetina:!1,crossOrigin:!1,referrerPolicy:!1},initialize:function(n,l){this._url=n,l=V(this,l),l.detectRetina&&se.retina&&l.maxZoom>0?(l.tileSize=Math.floor(l.tileSize/2),l.zoomReverse?(l.zoomOffset--,l.minZoom=Math.min(l.maxZoom,l.minZoom+1)):(l.zoomOffset++,l.maxZoom=Math.max(l.minZoom,l.maxZoom-1)),l.minZoom=Math.max(0,l.minZoom)):l.zoomReverse?l.minZoom=Math.min(l.maxZoom,l.minZoom):l.maxZoom=Math.max(l.minZoom,l.maxZoom),typeof l.subdomains=="string"&&(l.subdomains=l.subdomains.split("")),this.on("tileunload",this._onTileRemove)},setUrl:function(n,l){return this._url===n&&l===void 0&&(l=!0),this._url=n,l||this.redraw(),this},createTile:function(n,l){var p=document.createElement("img");return ge(p,"load",u(this._tileOnLoad,this,l,p)),ge(p,"error",u(this._tileOnError,this,l,p)),(this.options.crossOrigin||this.options.crossOrigin==="")&&(p.crossOrigin=this.options.crossOrigin===!0?"":this.options.crossOrigin),typeof this.options.referrerPolicy=="string"&&(p.referrerPolicy=this.options.referrerPolicy),p.alt="",p.src=this.getTileUrl(n),p},getTileUrl:function(n){var l={r:se.retina?"@2x":"",s:this._getSubdomain(n),x:n.x,y:n.y,z:this._getZoomForUrl()};if(this._map&&!this._map.options.crs.infinite){var p=this._globalTileRange.max.y-n.y;this.options.tms&&(l.y=p),l["-y"]=p}return Q(this._url,c(l,this.options))},_tileOnLoad:function(n,l){se.ielt9?setTimeout(u(n,this,null,l),0):n(null,l)},_tileOnError:function(n,l,p){var y=this.options.errorTileUrl;y&&l.getAttribute("src")!==y&&(l.src=y),n(p,l)},_onTileRemove:function(n){n.tile.onload=null},_getZoomForUrl:function(){var n=this._tileZoom,l=this.options.maxZoom,p=this.options.zoomReverse,y=this.options.zoomOffset;return p&&(n=l-n),n+y},_getSubdomain:function(n){var l=Math.abs(n.x+n.y)%this.options.subdomains.length;return this.options.subdomains[l]},_abortLoading:function(){var n,l;for(n in this._tiles)if(this._tiles[n].coords.z!==this._tileZoom&&(l=this._tiles[n].el,l.onload=w,l.onerror=w,!l.complete)){l.src=pt;var p=this._tiles[n].coords;Ye(l),delete this._tiles[n],this.fire("tileabort",{tile:l,coords:p})}},_removeTile:function(n){var l=this._tiles[n];if(l)return l.el.setAttribute("src",pt),so.prototype._removeTile.call(this,n)},_tileReady:function(n,l,p){if(!(!this._map||p&&p.getAttribute("src")===pt))return so.prototype._tileReady.call(this,n,l,p)}});function qo(n,l){return new lr(n,l)}var Al=lr.extend({defaultWmsParams:{service:"WMS",request:"GetMap",layers:"",styles:"",format:"image/jpeg",transparent:!1,version:"1.1.1"},options:{crs:null,uppercase:!1},initialize:function(n,l){this._url=n;var p=c({},this.defaultWmsParams);for(var y in l)y in this.options||(p[y]=l[y]);l=V(this,l);var C=l.detectRetina&&se.retina?2:1,T=this.getTileSize();p.width=T.x*C,p.height=T.y*C,this.wmsParams=p},onAdd:function(n){this._crs=this.options.crs||n.options.crs,this._wmsVersion=parseFloat(this.wmsParams.version);var l=this._wmsVersion>=1.3?"crs":"srs";this.wmsParams[l]=this._crs.code,lr.prototype.onAdd.call(this,n)},getTileUrl:function(n){var l=this._tileCoordsToNwSe(n),p=this._crs,y=je(p.project(l[0]),p.project(l[1])),C=y.min,T=y.max,K=(this._wmsVersion>=1.3&&this._crs===jo?[C.y,C.x,T.y,T.x]:[C.x,C.y,T.x,T.y]).join(","),ct=lr.prototype.getTileUrl.call(this,n);return ct+ot(this.wmsParams,ct,this.options.uppercase)+(this.options.uppercase?"&BBOX=":"&bbox=")+K},setParams:function(n,l){return c(this.wmsParams,n),l||this.redraw(),this}});function Tc(n,l){return new Al(n,l)}lr.WMS=Al,qo.wms=Tc;var vi=ci.extend({options:{padding:.1},initialize:function(n){V(this,n),_(this),this._layers=this._layers||{}},onAdd:function(){this._container||(this._initContainer(),ve(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 n={viewreset:this._reset,zoom:this._onZoom,moveend:this._update,zoomend:this._onZoomEnd};return this._zoomAnimated&&(n.zoomanim=this._onAnimZoom),n},_onAnimZoom:function(n){this._updateTransform(n.center,n.zoom)},_onZoom:function(){this._updateTransform(this._map.getCenter(),this._map.getZoom())},_updateTransform:function(n,l){var p=this._map.getZoomScale(l,this._zoom),y=this._map.getSize().multiplyBy(.5+this.options.padding),C=this._map.project(this._center,l),T=y.multiplyBy(-p).add(C).subtract(this._map._getNewPixelOrigin(n,l));se.any3d?Qi(this._container,T,p):ln(this._container,T)},_reset:function(){this._update(),this._updateTransform(this._center,this._zoom);for(var n in this._layers)this._layers[n]._reset()},_onZoomEnd:function(){for(var n in this._layers)this._layers[n]._project()},_updatePaths:function(){for(var n in this._layers)this._layers[n]._update()},_update:function(){var n=this.options.padding,l=this._map.getSize(),p=this._map.containerPointToLayerPoint(l.multiplyBy(-n)).round();this._bounds=new Se(p,p.add(l.multiplyBy(1+n*2)).round()),this._center=this._map.getCenter(),this._zoom=this._map.getZoom()}}),Ko=vi.extend({options:{tolerance:0},getEvents:function(){var n=vi.prototype.getEvents.call(this);return n.viewprereset=this._onViewPreReset,n},_onViewPreReset:function(){this._postponeUpdatePaths=!0},onAdd:function(){vi.prototype.onAdd.call(this),this._draw()},_initContainer:function(){var n=this._container=document.createElement("canvas");ge(n,"mousemove",this._onMouseMove,this),ge(n,"click dblclick mousedown mouseup contextmenu",this._onClick,this),ge(n,"mouseout",this._handleMouseOut,this),n._leaflet_disable_events=!0,this._ctx=n.getContext("2d")},_destroyContainer:function(){At(this._redrawRequest),delete this._ctx,Ye(this._container),Ze(this._container),delete this._container},_updatePaths:function(){if(!this._postponeUpdatePaths){var n;this._redrawBounds=null;for(var l in this._layers)n=this._layers[l],n._update();this._redraw()}},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){vi.prototype._update.call(this);var n=this._bounds,l=this._container,p=n.getSize(),y=se.retina?2:1;ln(l,n.min),l.width=y*p.x,l.height=y*p.y,l.style.width=p.x+"px",l.style.height=p.y+"px",se.retina&&this._ctx.scale(2,2),this._ctx.translate(-n.min.x,-n.min.y),this.fire("update")}},_reset:function(){vi.prototype._reset.call(this),this._postponeUpdatePaths&&(this._postponeUpdatePaths=!1,this._updatePaths())},_initPath:function(n){this._updateDashArray(n),this._layers[_(n)]=n;var l=n._order={layer:n,prev:this._drawLast,next:null};this._drawLast&&(this._drawLast.next=l),this._drawLast=l,this._drawFirst=this._drawFirst||this._drawLast},_addPath:function(n){this._requestRedraw(n)},_removePath:function(n){var l=n._order,p=l.next,y=l.prev;p?p.prev=y:this._drawLast=y,y?y.next=p:this._drawFirst=p,delete n._order,delete this._layers[_(n)],this._requestRedraw(n)},_updatePath:function(n){this._extendRedrawBounds(n),n._project(),n._update(),this._requestRedraw(n)},_updateStyle:function(n){this._updateDashArray(n),this._requestRedraw(n)},_updateDashArray:function(n){if(typeof n.options.dashArray=="string"){var l=n.options.dashArray.split(/[, ]+/),p=[],y,C;for(C=0;C')}}catch{}return function(n){return document.createElement("<"+n+' xmlns="urn:schemas-microsoft.com:vml" class="lvml">')}}(),ea={_initContainer:function(){this._container=De("div","leaflet-vml-container")},_update:function(){this._map._animatingZoom||(vi.prototype._update.call(this),this.fire("update"))},_initPath:function(n){var l=n._container=ao("shape");ve(l,"leaflet-vml-shape "+(this.options.className||"")),l.coordsize="1 1",n._path=ao("path"),l.appendChild(n._path),this._updateStyle(n),this._layers[_(n)]=n},_addPath:function(n){var l=n._container;this._container.appendChild(l),n.options.interactive&&n.addInteractiveTarget(l)},_removePath:function(n){var l=n._container;Ye(l),n.removeInteractiveTarget(l),delete this._layers[_(n)]},_updateStyle:function(n){var l=n._stroke,p=n._fill,y=n.options,C=n._container;C.stroked=!!y.stroke,C.filled=!!y.fill,y.stroke?(l||(l=n._stroke=ao("stroke")),C.appendChild(l),l.weight=y.weight+"px",l.color=y.color,l.opacity=y.opacity,y.dashArray?l.dashStyle=z(y.dashArray)?y.dashArray.join(" "):y.dashArray.replace(/( *, *)/g," "):l.dashStyle="",l.endcap=y.lineCap.replace("butt","flat"),l.joinstyle=y.lineJoin):l&&(C.removeChild(l),n._stroke=null),y.fill?(p||(p=n._fill=ao("fill")),C.appendChild(p),p.color=y.fillColor||y.color,p.opacity=y.fillOpacity):p&&(C.removeChild(p),n._fill=null)},_updateCircle:function(n){var l=n._point.round(),p=Math.round(n._radius),y=Math.round(n._radiusY||p);this._setPath(n,n._empty()?"M0 0":"AL "+l.x+","+l.y+" "+p+","+y+" 0,"+65535*360)},_setPath:function(n,l){n._path.v=l},_bringToFront:function(n){xr(n._container)},_bringToBack:function(n){Xi(n._container)}},Rn=se.vml?ao:ft,vn=vi.extend({_initContainer:function(){this._container=Rn("svg"),this._container.setAttribute("pointer-events","none"),this._rootGroup=Rn("g"),this._container.appendChild(this._rootGroup)},_destroyContainer:function(){Ye(this._container),Ze(this._container),delete this._container,delete this._rootGroup,delete this._svgSize},_update:function(){if(!(this._map._animatingZoom&&this._bounds)){vi.prototype._update.call(this);var n=this._bounds,l=n.getSize(),p=this._container;(!this._svgSize||!this._svgSize.equals(l))&&(this._svgSize=l,p.setAttribute("width",l.x),p.setAttribute("height",l.y)),ln(p,n.min),p.setAttribute("viewBox",[n.min.x,n.min.y,l.x,l.y].join(" ")),this.fire("update")}},_initPath:function(n){var l=n._path=Rn("path");n.options.className&&ve(l,n.options.className),n.options.interactive&&ve(l,"leaflet-interactive"),this._updateStyle(n),this._layers[_(n)]=n},_addPath:function(n){this._rootGroup||this._initContainer(),this._rootGroup.appendChild(n._path),n.addInteractiveTarget(n._path)},_removePath:function(n){Ye(n._path),n.removeInteractiveTarget(n._path),delete this._layers[_(n)]},_updatePath:function(n){n._project(),n._update()},_updateStyle:function(n){var l=n._path,p=n.options;l&&(p.stroke?(l.setAttribute("stroke",p.color),l.setAttribute("stroke-opacity",p.opacity),l.setAttribute("stroke-width",p.weight),l.setAttribute("stroke-linecap",p.lineCap),l.setAttribute("stroke-linejoin",p.lineJoin),p.dashArray?l.setAttribute("stroke-dasharray",p.dashArray):l.removeAttribute("stroke-dasharray"),p.dashOffset?l.setAttribute("stroke-dashoffset",p.dashOffset):l.removeAttribute("stroke-dashoffset")):l.setAttribute("stroke","none"),p.fill?(l.setAttribute("fill",p.fillColor||p.color),l.setAttribute("fill-opacity",p.fillOpacity),l.setAttribute("fill-rule",p.fillRule||"evenodd")):l.setAttribute("fill","none"))},_updatePoly:function(n,l){this._setPath(n,St(n._parts,l))},_updateCircle:function(n){var l=n._point,p=Math.max(Math.round(n._radius),1),y=Math.max(Math.round(n._radiusY),1)||p,C="a"+p+","+y+" 0 1,0 ",T=n._empty()?"M0 0":"M"+(l.x-p)+","+l.y+C+p*2+",0 "+C+-p*2+",0 ";this._setPath(n,T)},_setPath:function(n,l){n._path.setAttribute("d",l)},_bringToFront:function(n){xr(n._path)},_bringToBack:function(n){Xi(n._path)}});se.vml&&vn.include(ea);function na(n){return se.svg||se.vml?new vn(n):null}Me.include({getRenderer:function(n){var l=n.options.renderer||this._getPaneRenderer(n.options.pane)||this.options.renderer||this._renderer;return l||(l=this._renderer=this._createRenderer()),this.hasLayer(l)||this.addLayer(l),l},_getPaneRenderer:function(n){if(n==="overlayPane"||n===void 0)return!1;var l=this._paneRenderers[n];return l===void 0&&(l=this._createRenderer({pane:n}),this._paneRenderers[n]=l),l},_createRenderer:function(n){return this.options.preferCanvas&&Ol(n)||na(n)}});var ei=yi.extend({initialize:function(n,l){yi.prototype.initialize.call(this,this._boundsToLatLngs(n),l)},setBounds:function(n){return this.setLatLngs(this._boundsToLatLngs(n))},_boundsToLatLngs:function(n){return n=$e(n),[n.getSouthWest(),n.getNorthWest(),n.getNorthEast(),n.getSouthEast()]}});function _e(n,l){return new ei(n,l)}vn.create=Rn,vn.pointsToPath=St,Oi.geometryToLayer=Vo,Oi.coordsToLatLng=Js,Oi.coordsToLatLngs=io,Oi.latLngToCoords=Ys,Oi.latLngsToCoords=Go,Oi.getFeature=Sr,Oi.asFeature=ro,Me.mergeOptions({boxZoom:!0});var Wo=gi.extend({initialize:function(n){this._map=n,this._container=n._container,this._pane=n._panes.overlayPane,this._resetStateTimeout=0,n.on("unload",this._destroy,this)},addHooks:function(){ge(this._container,"mousedown",this._onMouseDown,this)},removeHooks:function(){Ze(this._container,"mousedown",this._onMouseDown,this)},moved:function(){return this._moved},_destroy:function(){Ye(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(n){if(!n.shiftKey||n.which!==1&&n.button!==1)return!1;this._clearDeferredResetState(),this._resetState(),Wr(),Rs(),this._startPoint=this._map.mouseEventToContainerPoint(n),ge(document,{contextmenu:ir,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseMove:function(n){this._moved||(this._moved=!0,this._box=De("div","leaflet-zoom-box",this._container),ve(this._container,"leaflet-crosshair"),this._map.fire("boxzoomstart")),this._point=this._map.mouseEventToContainerPoint(n);var l=new Se(this._point,this._startPoint),p=l.getSize();ln(this._box,l.min),this._box.style.width=p.x+"px",this._box.style.height=p.y+"px"},_finish:function(){this._moved&&(Ye(this._box),on(this._container,"leaflet-crosshair")),Jr(),Ds(),Ze(document,{contextmenu:ir,mousemove:this._onMouseMove,mouseup:this._onMouseUp,keydown:this._onKeyDown},this)},_onMouseUp:function(n){if(!(n.which!==1&&n.button!==1)&&(this._finish(),!!this._moved)){this._clearDeferredResetState(),this._resetStateTimeout=setTimeout(u(this._resetState,this),0);var l=new rn(this._map.containerPointToLatLng(this._startPoint),this._map.containerPointToLatLng(this._point));this._map.fitBounds(l).fire("boxzoomend",{boxZoomBounds:l})}},_onKeyDown:function(n){n.keyCode===27&&(this._finish(),this._clearDeferredResetState(),this._resetState())}});Me.addInitHook("addHandler","boxZoom",Wo),Me.mergeOptions({doubleClickZoom:!0});var Jo=gi.extend({addHooks:function(){this._map.on("dblclick",this._onDoubleClick,this)},removeHooks:function(){this._map.off("dblclick",this._onDoubleClick,this)},_onDoubleClick:function(n){var l=this._map,p=l.getZoom(),y=l.options.zoomDelta,C=n.originalEvent.shiftKey?p-y:p+y;l.options.doubleClickZoom==="center"?l.setZoom(C):l.setZoomAround(n.containerPoint,C)}});Me.addInitHook("addHandler","doubleClickZoom",Jo),Me.mergeOptions({dragging:!0,inertia:!0,inertiaDeceleration:3400,inertiaMaxSpeed:1/0,easeLinearity:.2,worldCopyJump:!1,maxBoundsViscosity:0});var Ri=gi.extend({addHooks:function(){if(!this._draggable){var n=this._map;this._draggable=new $i(n._mapPane,n._container),this._draggable.on({dragstart:this._onDragStart,drag:this._onDrag,dragend:this._onDragEnd},this),this._draggable.on("predrag",this._onPreDragLimit,this),n.options.worldCopyJump&&(this._draggable.on("predrag",this._onPreDragWrap,this),n.on("zoomend",this._onZoomEnd,this),n.whenReady(this._onZoomEnd,this))}ve(this._map._container,"leaflet-grab leaflet-touch-drag"),this._draggable.enable(),this._positions=[],this._times=[]},removeHooks:function(){on(this._map._container,"leaflet-grab"),on(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 n=this._map;if(n._stop(),this._map.options.maxBounds&&this._map.options.maxBoundsViscosity){var l=$e(this._map.options.maxBounds);this._offsetLimit=je(this._map.latLngToContainerPoint(l.getNorthWest()).multiplyBy(-1),this._map.latLngToContainerPoint(l.getSouthEast()).multiplyBy(-1).add(this._map.getSize())),this._viscosity=Math.min(1,Math.max(0,this._map.options.maxBoundsViscosity))}else this._offsetLimit=null;n.fire("movestart").fire("dragstart"),n.options.inertia&&(this._positions=[],this._times=[])},_onDrag:function(n){if(this._map.options.inertia){var l=this._lastTime=+new Date,p=this._lastPos=this._draggable._absPos||this._draggable._newPos;this._positions.push(p),this._times.push(l),this._prunePositions(l)}this._map.fire("move",n).fire("drag",n)},_prunePositions:function(n){for(;this._positions.length>1&&n-this._times[0]>50;)this._positions.shift(),this._times.shift()},_onZoomEnd:function(){var n=this._map.getSize().divideBy(2),l=this._map.latLngToLayerPoint([0,0]);this._initialWorldOffset=l.subtract(n).x,this._worldWidth=this._map.getPixelWorldBounds().getSize().x},_viscousLimit:function(n,l){return n-(n-l)*this._viscosity},_onPreDragLimit:function(){if(!(!this._viscosity||!this._offsetLimit)){var n=this._draggable._newPos.subtract(this._draggable._startPos),l=this._offsetLimit;n.xl.max.x&&(n.x=this._viscousLimit(n.x,l.max.x)),n.y>l.max.y&&(n.y=this._viscousLimit(n.y,l.max.y)),this._draggable._newPos=this._draggable._startPos.add(n)}},_onPreDragWrap:function(){var n=this._worldWidth,l=Math.round(n/2),p=this._initialWorldOffset,y=this._draggable._newPos.x,C=(y-l+p)%n+l-p,T=(y+l+p)%n-l-p,K=Math.abs(C+p)0?T:-T))-l;this._delta=0,this._startTime=null,K&&(n.options.scrollWheelZoom==="center"?n.setZoom(l+K):n.setZoomAround(this._lastMousePos,l+K))}});Me.addInitHook("addHandler","scrollWheelZoom",ia);var ni=600;Me.mergeOptions({tapHold:se.touchNative&&se.safari&&se.mobile,tapTolerance:15});var Zn=gi.extend({addHooks:function(){ge(this._map._container,"touchstart",this._onDown,this)},removeHooks:function(){Ze(this._map._container,"touchstart",this._onDown,this)},_onDown:function(n){if(clearTimeout(this._holdTimeout),n.touches.length===1){var l=n.touches[0];this._startPos=this._newPos=new Et(l.clientX,l.clientY),this._holdTimeout=setTimeout(u(function(){this._cancel(),this._isTapValid()&&(ge(document,"touchend",En),ge(document,"touchend touchcancel",this._cancelClickPrevent),this._simulateEvent("contextmenu",l))},this),ni),ge(document,"touchend touchcancel contextmenu",this._cancel,this),ge(document,"touchmove",this._onMove,this)}},_cancelClickPrevent:function n(){Ze(document,"touchend",En),Ze(document,"touchend touchcancel",n)},_cancel:function(){clearTimeout(this._holdTimeout),Ze(document,"touchend touchcancel contextmenu",this._cancel,this),Ze(document,"touchmove",this._onMove,this)},_onMove:function(n){var l=n.touches[0];this._newPos=new Et(l.clientX,l.clientY)},_isTapValid:function(){return this._newPos.distanceTo(this._startPos)<=this._map.options.tapTolerance},_simulateEvent:function(n,l){var p=new MouseEvent(n,{bubbles:!0,cancelable:!0,view:window,screenX:l.screenX,screenY:l.screenY,clientX:l.clientX,clientY:l.clientY});p._simulated=!0,l.target.dispatchEvent(p)}});Me.addInitHook("addHandler","tapHold",Zn),Me.mergeOptions({touchZoom:se.touch,bounceAtZoomLimits:!0});var Hi=gi.extend({addHooks:function(){ve(this._map._container,"leaflet-touch-zoom"),ge(this._map._container,"touchstart",this._onTouchStart,this)},removeHooks:function(){on(this._map._container,"leaflet-touch-zoom"),Ze(this._map._container,"touchstart",this._onTouchStart,this)},_onTouchStart:function(n){var l=this._map;if(!(!n.touches||n.touches.length!==2||l._animatingZoom||this._zooming)){var p=l.mouseEventToContainerPoint(n.touches[0]),y=l.mouseEventToContainerPoint(n.touches[1]);this._centerPoint=l.getSize()._divideBy(2),this._startLatLng=l.containerPointToLatLng(this._centerPoint),l.options.touchZoom!=="center"&&(this._pinchStartLatLng=l.containerPointToLatLng(p.add(y)._divideBy(2))),this._startDist=p.distanceTo(y),this._startZoom=l.getZoom(),this._moved=!1,this._zooming=!0,l._stop(),ge(document,"touchmove",this._onTouchMove,this),ge(document,"touchend touchcancel",this._onTouchEnd,this),En(n)}},_onTouchMove:function(n){if(!(!n.touches||n.touches.length!==2||!this._zooming)){var l=this._map,p=l.mouseEventToContainerPoint(n.touches[0]),y=l.mouseEventToContainerPoint(n.touches[1]),C=p.distanceTo(y)/this._startDist;if(this._zoom=l.getScaleZoom(C,this._startZoom),!l.options.bounceAtZoomLimits&&(this._zooml.getMaxZoom()&&C>1)&&(this._zoom=l._limitZoom(this._zoom)),l.options.touchZoom==="center"){if(this._center=this._startLatLng,C===1)return}else{var T=p._add(y)._divideBy(2)._subtract(this._centerPoint);if(C===1&&T.x===0&&T.y===0)return;this._center=l.unproject(l.project(this._pinchStartLatLng,this._zoom).subtract(T),this._zoom)}this._moved||(l._moveStart(!0,!1),this._moved=!0),At(this._animRequest);var K=u(l._move,l,this._center,this._zoom,{pinch:!0,round:!1},void 0);this._animRequest=qt(K,this,!0),En(n)}},_onTouchEnd:function(){if(!this._moved||!this._zooming){this._zooming=!1;return}this._zooming=!1,At(this._animRequest),Ze(document,"touchmove",this._onTouchMove,this),Ze(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))}});Me.addInitHook("addHandler","touchZoom",Hi),Me.BoxZoom=Wo,Me.DoubleClickZoom=Jo,Me.Drag=Ri,Me.Keyboard=pn,Me.ScrollWheelZoom=ia,Me.TapHold=Zn,Me.TouchZoom=Hi,i.Bounds=Se,i.Browser=se,i.CRS=xt,i.Canvas=Ko,i.Circle=Ti,i.CircleMarker=no,i.Class=Ce,i.Control=Hn,i.DivIcon=Tl,i.DivOverlay=jn,i.DomEvent=fc,i.DomUtil=dc,i.Draggable=$i,i.Evented=ie,i.FeatureGroup=Bi,i.GeoJSON=Oi,i.GridLayer=so,i.Handler=gi,i.Icon=Mr,i.ImageOverlay=Uo,i.LatLng=Be,i.LatLngBounds=rn,i.Layer=ci,i.LayerGroup=Er,i.LineUtil=vc,i.Map=Me,i.Marker=zo,i.Mixin=_c,i.Path=Nn,i.Point=Et,i.PolyUtil=gc,i.Polygon=yi,i.Polyline=Ai,i.Popup=Ho,i.PosAnimation=bl,i.Projection=No,i.Rectangle=ei,i.Renderer=vi,i.SVG=vn,i.SVGOverlay=Bl,i.TileLayer=lr,i.Tooltip=Zo,i.Transformation=Pe,i.Util=ae,i.VideoOverlay=ta,i.bind=u,i.bounds=je,i.canvas=Ol,i.circle=Lc,i.circleMarker=wc,i.control=Gi,i.divIcon=Pc,i.extend=c,i.featureGroup=bc,i.geoJSON=Xs,i.geoJson=Qs,i.gridLayer=Bc,i.icon=xc,i.imageOverlay=$o,i.latLng=me,i.latLngBounds=$e,i.layerGroup=qs,i.map=Te,i.marker=Pl,i.point=oe,i.polygon=Cc,i.polyline=Ks,i.popup=Mc,i.rectangle=_e,i.setOptions=V,i.stamp=_,i.svg=na,i.svgOverlay=Ec,i.tileLayer=qo,i.tooltip=Sc,i.transformation=Ne,i.version=o,i.videoOverlay=kc;var tn=window.L;i.noConflict=function(){return window.L=tn,this},window.L=i})})($h,$h.exports);var vM=$h.exports;const ii=yM(vM),bM="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==",xM="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=",wM="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACkAAAApCAQAAAACach9AAACMUlEQVR4Ae3ShY7jQBAE0Aoz/f9/HTMzhg1zrdKUrJbdx+Kd2nD8VNudfsL/Th///dyQN2TH6f3y/BGpC379rV+S+qqetBOxImNQXL8JCAr2V4iMQXHGNJxeCfZXhSRBcQMfvkOWUdtfzlLgAENmZDcmo2TVmt8OSM2eXxBp3DjHSMFutqS7SbmemzBiR+xpKCNUIRkdkkYxhAkyGoBvyQFEJEefwSmmvBfJuJ6aKqKWnAkvGZOaZXTUgFqYULWNSHUckZuR1HIIimUExutRxwzOLROIG4vKmCKQt364mIlhSyzAf1m9lHZHJZrlAOMMztRRiKimp/rpdJDc9Awry5xTZCte7FHtuS8wJgeYGrex28xNTd086Dik7vUMscQOa8y4DoGtCCSkAKlNwpgNtphjrC6MIHUkR6YWxxs6Sc5xqn222mmCRFzIt8lEdKx+ikCtg91qS2WpwVfBelJCiQJwvzixfI9cxZQWgiSJelKnwBElKYtDOb2MFbhmUigbReQBV0Cg4+qMXSxXSyGUn4UbF8l+7qdSGnTC0XLCmahIgUHLhLOhpVCtw4CzYXvLQWQbJNmxoCsOKAxSgBJno75avolkRw8iIAFcsdc02e9iyCd8tHwmeSSoKTowIgvscSGZUOA7PuCN5b2BX9mQM7S0wYhMNU74zgsPBj3HU7wguAfnxxjFQGBE6pwN+GjME9zHY7zGp8wVxMShYX9NXvEWD3HbwJf4giO4CFIQxXScH1/TM+04kkBiAAAAAElFTkSuQmCC",LM={className:"bg-map-asserted rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},CM={className:"bg-map-collection-object rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},Pg={className:"bg-map-georeference rounded-full map-point-marker",iconSize:[8,8],iconAnchor:[4,4]},kM={className:"bg-map-type-material map-point-marker rounded-full",iconSize:[8,8],iconAnchor:[4,4]},EM=Object.freeze(Object.defineProperty({__proto__:null,AssertedDistribution:LM,CollectionObject:CM,Georeference:Pg,TypeMaterial:kM},Symbol.toStringTag,{value:"Module"})),MM={color:"rgb(var(--color-map-aggregate))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},SM={color:"rgb(var(--color-map-asserted))",weight:1,dashArray:"3",dashOffset:"3",fillOpacity:"var(--color-map-shape-opacity)"},PM={color:"rgb(var(--color-map-collection-object))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},BM={color:"rgb(var(--color-map-type-material))",weight:1,fillOpacity:"var(--color-map-shape-opacity)"},kf=Object.freeze(Object.defineProperty({__proto__:null,Aggregate:MM,AssertedDistribution:SM,CollectionObject:PM,TypeMaterial:BM},Symbol.toStringTag,{value:"Module"})),Ef=[H1,x_,Z1,q1,K1];function Mf(t){const e=t.map(i=>i.type);return e.sort((i,o)=>Ef.indexOf(i)-Ef.indexOf(o)),e[0]}const TM=({L:t})=>({onEachFeature:(e,i)=>{i.pm.setOptions(Uh),i.pm.disable()},pointToLayer:(e,i)=>{const o=Mf(e.properties.base),c=EM[o]||Pg,s=t.marker(i,{icon:t.divIcon(c)});return s.pm.setOptions(Uh),s},style:e=>{var o;const i=Mf((o=e.properties)==null?void 0:o.base);if(kf[i])return kf[i]}});(()=>{var Dd,Id;var t=Object.create,e=Object.defineProperty,i=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,c=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,u=(r,a)=>()=>(a||r((a={exports:{}}).exports,a),a.exports),f=(r,a,h,d)=>{if(a&&typeof a=="object"||typeof a=="function")for(let m of o(a))!s.call(r,m)&&m!==h&&e(r,m,{get:()=>a[m],enumerable:!(d=i(a,m))||d.enumerable});return r},_=(r,a,h)=>(h=r!=null?t(c(r)):{},f(a||!r||!r.__esModule?e(h,"default",{value:r,enumerable:!0}):h,r)),v=u((r,a)=>{function h(){this.__data__=[],this.size=0}a.exports=h}),b=u((r,a)=>{function h(d,m){return d===m||d!==d&&m!==m}a.exports=h}),w=u((r,a)=>{var h=b();function d(m,g){for(var x=m.length;x--;)if(h(m[x][0],g))return x;return-1}a.exports=d}),B=u((r,a)=>{var h=w(),d=Array.prototype,m=d.splice;function g(x){var k=this.__data__,E=h(k,x);if(E<0)return!1;var S=k.length-1;return E==S?k.pop():m.call(k,E,1),--this.size,!0}a.exports=g}),A=u((r,a)=>{var h=w();function d(m){var g=this.__data__,x=h(g,m);return x<0?void 0:g[x][1]}a.exports=d}),F=u((r,a)=>{var h=w();function d(m){return h(this.__data__,m)>-1}a.exports=d}),V=u((r,a)=>{var h=w();function d(m,g){var x=this.__data__,k=h(x,m);return k<0?(++this.size,x.push([m,g])):x[k][1]=g,this}a.exports=d}),ot=u((r,a)=>{var h=v(),d=B(),m=A(),g=F(),x=V();function k(E){var S=-1,H=E==null?0:E.length;for(this.clear();++S{var h=ot();function d(){this.__data__=new h,this.size=0}a.exports=d}),Q=u((r,a)=>{function h(d){var m=this.__data__,g=m.delete(d);return this.size=m.size,g}a.exports=h}),z=u((r,a)=>{function h(d){return this.__data__.get(d)}a.exports=h}),tt=u((r,a)=>{function h(d){return this.__data__.has(d)}a.exports=h}),pt=u((r,a)=>{var h=typeof us=="object"&&us&&us.Object===Object&&us;a.exports=h}),Tt=u((r,a)=>{var h=pt(),d=typeof self=="object"&&self&&self.Object===Object&&self,m=h||d||Function("return this")();a.exports=m}),Ft=u((r,a)=>{var h=Tt(),d=h.Symbol;a.exports=d}),Mt=u((r,a)=>{var h=Ft(),d=Object.prototype,m=d.hasOwnProperty,g=d.toString,x=h?h.toStringTag:void 0;function k(E){var S=m.call(E,x),H=E[x];try{E[x]=void 0;var j=!0}catch{}var ut=g.call(E);return j&&(S?E[x]=H:delete E[x]),ut}a.exports=k}),Lt=u((r,a)=>{var h=Object.prototype,d=h.toString;function m(g){return d.call(g)}a.exports=m}),Dt=u((r,a)=>{var h=Ft(),d=Mt(),m=Lt(),g="[object Null]",x="[object Undefined]",k=h?h.toStringTag:void 0;function E(S){return S==null?S===void 0?x:g:k&&k in Object(S)?d(S):m(S)}a.exports=E}),qt=u((r,a)=>{function h(d){var m=typeof d;return d!=null&&(m=="object"||m=="function")}a.exports=h}),At=u((r,a)=>{var h=Dt(),d=qt(),m="[object AsyncFunction]",g="[object Function]",x="[object GeneratorFunction]",k="[object Proxy]";function E(S){if(!d(S))return!1;var H=h(S);return H==g||H==x||H==m||H==k}a.exports=E}),ae=u((r,a)=>{var h=Tt(),d=h["__core-js_shared__"];a.exports=d}),Ce=u((r,a)=>{var h=ae(),d=function(){var g=/[^.]+$/.exec(h&&h.keys&&h.keys.IE_PROTO||"");return g?"Symbol(src)_1."+g:""}();function m(g){return!!d&&d in g}a.exports=m}),Ue=u((r,a)=>{var h=Function.prototype,d=h.toString;function m(g){if(g!=null){try{return d.call(g)}catch{}try{return g+""}catch{}}return""}a.exports=m}),Ht=u((r,a)=>{var h=At(),d=Ce(),m=qt(),g=Ue(),x=/[\\^$.*+?()[\]{}|]/g,k=/^\[object .+?Constructor\]$/,E=Function.prototype,S=Object.prototype,H=E.toString,j=S.hasOwnProperty,ut=RegExp("^"+H.call(j).replace(x,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function _t(Bt){if(!m(Bt)||d(Bt))return!1;var Kt=h(Bt)?ut:k;return Kt.test(g(Bt))}a.exports=_t}),ie=u((r,a)=>{function h(d,m){return d==null?void 0:d[m]}a.exports=h}),Et=u((r,a)=>{var h=Ht(),d=ie();function m(g,x){var k=d(g,x);return h(k)?k:void 0}a.exports=m}),Qe=u((r,a)=>{var h=Et(),d=Tt(),m=h(d,"Map");a.exports=m}),oe=u((r,a)=>{var h=Et(),d=h(Object,"create");a.exports=d}),Se=u((r,a)=>{var h=oe();function d(){this.__data__=h?h(null):{},this.size=0}a.exports=d}),je=u((r,a)=>{function h(d){var m=this.has(d)&&delete this.__data__[d];return this.size-=m?1:0,m}a.exports=h}),rn=u((r,a)=>{var h=oe(),d="__lodash_hash_undefined__",m=Object.prototype,g=m.hasOwnProperty;function x(k){var E=this.__data__;if(h){var S=E[k];return S===d?void 0:S}return g.call(E,k)?E[k]:void 0}a.exports=x}),$e=u((r,a)=>{var h=oe(),d=Object.prototype,m=d.hasOwnProperty;function g(x){var k=this.__data__;return h?k[x]!==void 0:m.call(k,x)}a.exports=g}),Be=u((r,a)=>{var h=oe(),d="__lodash_hash_undefined__";function m(g,x){var k=this.__data__;return this.size+=this.has(g)?0:1,k[g]=h&&x===void 0?d:x,this}a.exports=m}),me=u((r,a)=>{var h=Se(),d=je(),m=rn(),g=$e(),x=Be();function k(E){var S=-1,H=E==null?0:E.length;for(this.clear();++S{var h=me(),d=ot(),m=Qe();function g(){this.size=0,this.__data__={hash:new h,map:new(m||d),string:new h}}a.exports=g}),Zt=u((r,a)=>{function h(d){var m=typeof d;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?d!=="__proto__":d===null}a.exports=h}),Gt=u((r,a)=>{var h=Zt();function d(m,g){var x=m.__data__;return h(g)?x[typeof g=="string"?"string":"hash"]:x.map}a.exports=d}),ee=u((r,a)=>{var h=Gt();function d(m){var g=h(this,m).delete(m);return this.size-=g?1:0,g}a.exports=d}),Pe=u((r,a)=>{var h=Gt();function d(m){return h(this,m).get(m)}a.exports=d}),Ne=u((r,a)=>{var h=Gt();function d(m){return h(this,m).has(m)}a.exports=d}),G=u((r,a)=>{var h=Gt();function d(m,g){var x=h(this,m),k=x.size;return x.set(m,g),this.size+=x.size==k?0:1,this}a.exports=d}),q=u((r,a)=>{var h=xt(),d=ee(),m=Pe(),g=Ne(),x=G();function k(E){var S=-1,H=E==null?0:E.length;for(this.clear();++S{var h=ot(),d=Qe(),m=q(),g=200;function x(k,E){var S=this.__data__;if(S instanceof h){var H=S.__data__;if(!d||H.length{var h=ot(),d=rt(),m=Q(),g=z(),x=tt(),k=ft();function E(S){var H=this.__data__=new h(S);this.size=H.size}E.prototype.clear=d,E.prototype.delete=m,E.prototype.get=g,E.prototype.has=x,E.prototype.set=k,a.exports=E}),wt=u((r,a)=>{var h=Et(),d=function(){try{var m=h(Object,"defineProperty");return m({},"",{}),m}catch{}}();a.exports=d}),Pt=u((r,a)=>{var h=wt();function d(m,g,x){g=="__proto__"&&h?h(m,g,{configurable:!0,enumerable:!0,value:x,writable:!0}):m[g]=x}a.exports=d}),$t=u((r,a)=>{var h=Pt(),d=b();function m(g,x,k){(k!==void 0&&!d(g[x],k)||k===void 0&&!(x in g))&&h(g,x,k)}a.exports=m}),Vt=u((r,a)=>{function h(d){return function(m,g,x){for(var k=-1,E=Object(m),S=x(m),H=S.length;H--;){var j=S[d?H:++k];if(g(E[j],j,E)===!1)break}return m}}a.exports=h}),Nt=u((r,a)=>{var h=Vt(),d=h();a.exports=d}),Rt=u((r,a)=>{var h=Tt(),d=typeof r=="object"&&r&&!r.nodeType&&r,m=d&&typeof a=="object"&&a&&!a.nodeType&&a,g=m&&m.exports===d,x=g?h.Buffer:void 0,k=x?x.allocUnsafe:void 0;function E(S,H){if(H)return S.slice();var j=S.length,ut=k?k(j):new S.constructor(j);return S.copy(ut),ut}a.exports=E}),ce=u((r,a)=>{var h=Tt(),d=h.Uint8Array;a.exports=d}),Wt=u((r,a)=>{var h=ce();function d(m){var g=new m.constructor(m.byteLength);return new h(g).set(new h(m)),g}a.exports=d}),re=u((r,a)=>{var h=Wt();function d(m,g){var x=g?h(m.buffer):m.buffer;return new m.constructor(x,m.byteOffset,m.length)}a.exports=d}),pe=u((r,a)=>{function h(d,m){var g=-1,x=d.length;for(m||(m=Array(x));++g{var h=qt(),d=Object.create,m=function(){function g(){}return function(x){if(!h(x))return{};if(d)return d(x);g.prototype=x;var k=new g;return g.prototype=void 0,k}}();a.exports=m}),ze=u((r,a)=>{function h(d,m){return function(g){return d(m(g))}}a.exports=h}),Re=u((r,a)=>{var h=ze(),d=h(Object.getPrototypeOf,Object);a.exports=d}),kn=u((r,a)=>{var h=Object.prototype;function d(m){var g=m&&m.constructor,x=typeof g=="function"&&g.prototype||h;return m===x}a.exports=d}),dn=u((r,a)=>{var h=Ee(),d=Re(),m=kn();function g(x){return typeof x.constructor=="function"&&!m(x)?h(d(x)):{}}a.exports=g}),gn=u((r,a)=>{function h(d){return d!=null&&typeof d=="object"}a.exports=h}),Pn=u((r,a)=>{var h=Dt(),d=gn(),m="[object Arguments]";function g(x){return d(x)&&h(x)==m}a.exports=g}),mi=u((r,a)=>{var h=Pn(),d=gn(),m=Object.prototype,g=m.hasOwnProperty,x=m.propertyIsEnumerable,k=h(function(){return arguments}())?h:function(E){return d(E)&&g.call(E,"callee")&&!x.call(E,"callee")};a.exports=k}),Pi=u((r,a)=>{var h=Array.isArray;a.exports=h}),Bn=u((r,a)=>{var h=9007199254740991;function d(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=h}a.exports=d}),yn=u((r,a)=>{var h=At(),d=Bn();function m(g){return g!=null&&d(g.length)&&!h(g)}a.exports=m}),Po=u((r,a)=>{var h=yn(),d=gn();function m(g){return d(g)&&h(g)}a.exports=m}),Ku=u((r,a)=>{function h(){return!1}a.exports=h}),ks=u((r,a)=>{var h=Tt(),d=Ku(),m=typeof r=="object"&&r&&!r.nodeType&&r,g=m&&typeof a=="object"&&a&&!a.nodeType&&a,x=g&&g.exports===m,k=x?h.Buffer:void 0,E=k?k.isBuffer:void 0,S=E||d;a.exports=S}),il=u((r,a)=>{var h=Dt(),d=Re(),m=gn(),g="[object Object]",x=Function.prototype,k=Object.prototype,E=x.toString,S=k.hasOwnProperty,H=E.call(Object);function j(ut){if(!m(ut)||h(ut)!=g)return!1;var _t=d(ut);if(_t===null)return!0;var Bt=S.call(_t,"constructor")&&_t.constructor;return typeof Bt=="function"&&Bt instanceof Bt&&E.call(Bt)==H}a.exports=j}),rl=u((r,a)=>{var h=Dt(),d=Bn(),m=gn(),g="[object Arguments]",x="[object Array]",k="[object Boolean]",E="[object Date]",S="[object Error]",H="[object Function]",j="[object Map]",ut="[object Number]",_t="[object Object]",Bt="[object RegExp]",Kt="[object Set]",te="[object String]",Ae="[object WeakMap]",U="[object ArrayBuffer]",W="[object DataView]",it="[object Float32Array]",mt="[object Float64Array]",st="[object Int8Array]",ht="[object Int16Array]",M="[object Int32Array]",O="[object Uint8Array]",D="[object Uint8ClampedArray]",R="[object Uint16Array]",I="[object Uint32Array]",N={};N[it]=N[mt]=N[st]=N[ht]=N[M]=N[O]=N[D]=N[R]=N[I]=!0,N[g]=N[x]=N[U]=N[k]=N[W]=N[E]=N[S]=N[H]=N[j]=N[ut]=N[_t]=N[Bt]=N[Kt]=N[te]=N[Ae]=!1;function Y(J){return m(J)&&d(J.length)&&!!N[h(J)]}a.exports=Y}),Wu=u((r,a)=>{function h(d){return function(m){return d(m)}}a.exports=h}),Ju=u((r,a)=>{var h=pt(),d=typeof r=="object"&&r&&!r.nodeType&&r,m=d&&typeof a=="object"&&a&&!a.nodeType&&a,g=m&&m.exports===d,x=g&&h.process,k=function(){try{var E=m&&m.require&&m.require("util").types;return E||x&&x.binding&&x.binding("util")}catch{}}();a.exports=k}),ol=u((r,a)=>{var h=rl(),d=Wu(),m=Ju(),g=m&&m.isTypedArray,x=g?d(g):h;a.exports=x}),sl=u((r,a)=>{function h(d,m){if(!(m==="constructor"&&typeof d[m]=="function")&&m!="__proto__")return d[m]}a.exports=h}),Yu=u((r,a)=>{var h=Pt(),d=b(),m=Object.prototype,g=m.hasOwnProperty;function x(k,E,S){var H=k[E];(!(g.call(k,E)&&d(H,S))||S===void 0&&!(E in k))&&h(k,E,S)}a.exports=x}),Xu=u((r,a)=>{var h=Yu(),d=Pt();function m(g,x,k,E){var S=!k;k||(k={});for(var H=-1,j=x.length;++H{function h(d,m){for(var g=-1,x=Array(d);++g{var h=9007199254740991,d=/^(?:0|[1-9]\d*)$/;function m(g,x){var k=typeof g;return x=x??h,!!x&&(k=="number"||k!="symbol"&&d.test(g))&&g>-1&&g%1==0&&g{var h=Es(),d=mi(),m=Pi(),g=ks(),x=al(),k=ol(),E=Object.prototype,S=E.hasOwnProperty;function H(j,ut){var _t=m(j),Bt=!_t&&d(j),Kt=!_t&&!Bt&&g(j),te=!_t&&!Bt&&!Kt&&k(j),Ae=_t||Bt||Kt||te,U=Ae?h(j.length,String):[],W=U.length;for(var it in j)(ut||S.call(j,it))&&!(Ae&&(it=="length"||Kt&&(it=="offset"||it=="parent")||te&&(it=="buffer"||it=="byteLength"||it=="byteOffset")||x(it,W)))&&U.push(it);return U}a.exports=H}),tc=u((r,a)=>{function h(d){var m=[];if(d!=null)for(var g in Object(d))m.push(g);return m}a.exports=h}),ec=u((r,a)=>{var h=qt(),d=kn(),m=tc(),g=Object.prototype,x=g.hasOwnProperty;function k(E){if(!h(E))return m(E);var S=d(E),H=[];for(var j in E)j=="constructor"&&(S||!x.call(E,j))||H.push(j);return H}a.exports=k}),li=u((r,a)=>{var h=Qu(),d=ec(),m=yn();function g(x){return m(x)?h(x,!0):d(x)}a.exports=g}),se=u((r,a)=>{var h=Xu(),d=li();function m(g){return h(g,d(g))}a.exports=m}),ll=u((r,a)=>{var h=$t(),d=Rt(),m=re(),g=pe(),x=dn(),k=mi(),E=Pi(),S=Po(),H=ks(),j=At(),ut=qt(),_t=il(),Bt=ol(),Kt=sl(),te=se();function Ae(U,W,it,mt,st,ht,M){var O=Kt(U,it),D=Kt(W,it),R=M.get(D);if(R){h(U,it,R);return}var I=ht?ht(O,D,it+"",U,W,M):void 0,N=I===void 0;if(N){var Y=E(D),J=!Y&&H(D),et=!Y&&!J&&Bt(D);I=D,Y||J||et?E(O)?I=O:S(O)?I=g(O):J?(N=!1,I=d(D,!0)):et?(N=!1,I=m(D,!0)):I=[]:_t(D)||k(D)?(I=O,k(O)?I=te(O):(!ut(O)||j(O))&&(I=x(D))):N=!1}N&&(M.set(D,I),st(I,D,mt,ht,M),M.delete(D)),h(U,it,I)}a.exports=Ae}),ul=u((r,a)=>{var h=St(),d=$t(),m=Nt(),g=ll(),x=qt(),k=li(),E=sl();function S(H,j,ut,_t,Bt){H!==j&&m(j,function(Kt,te){if(Bt||(Bt=new h),x(Kt))g(H,j,te,ut,S,_t,Bt);else{var Ae=_t?_t(E(H,te),Kt,te+"",H,j,Bt):void 0;Ae===void 0&&(Ae=Kt),d(H,te,Ae)}},k)}a.exports=S}),Ms=u((r,a)=>{function h(d){return d}a.exports=h}),cl=u((r,a)=>{function h(d,m,g){switch(g.length){case 0:return d.call(m);case 1:return d.call(m,g[0]);case 2:return d.call(m,g[0],g[1]);case 3:return d.call(m,g[0],g[1],g[2])}return d.apply(m,g)}a.exports=h}),Ss=u((r,a)=>{var h=cl(),d=Math.max;function m(g,x,k){return x=d(x===void 0?g.length-1:x,0),function(){for(var E=arguments,S=-1,H=d(E.length-x,0),j=Array(H);++S{function h(d){return function(){return d}}a.exports=h}),br=u((r,a)=>{var h=hl(),d=wt(),m=Ms(),g=d?function(x,k){return d(x,"toString",{configurable:!0,enumerable:!1,value:h(k),writable:!0})}:m;a.exports=g}),dl=u((r,a)=>{var h=800,d=16,m=Date.now;function g(x){var k=0,E=0;return function(){var S=m(),H=d-(S-E);if(E=S,H>0){if(++k>=h)return arguments[0]}else k=0;return x.apply(void 0,arguments)}}a.exports=g}),nc=u((r,a)=>{var h=br(),d=dl(),m=d(h);a.exports=m}),ic=u((r,a)=>{var h=Ms(),d=Ss(),m=nc();function g(x,k){return m(d(x,k,h),x+"")}a.exports=g}),rc=u((r,a)=>{var h=b(),d=yn(),m=al(),g=qt();function x(k,E,S){if(!g(S))return!1;var H=typeof E;return(H=="number"?d(S)&&m(E,S.length):H=="string"&&E in S)?h(S[E],k):!1}a.exports=x}),oc=u((r,a)=>{var h=ic(),d=rc();function m(g){return h(function(x,k){var E=-1,S=k.length,H=S>1?k[S-1]:void 0,j=S>2?k[2]:void 0;for(H=g.length>3&&typeof H=="function"?(S--,H):void 0,j&&d(k[0],k[1],j)&&(H=S<3?void 0:H,S=1),x=Object(x);++E{var h=ul(),d=oc(),m=d(function(g,x,k){h(g,x,k)});a.exports=m}),Ps=u((r,a)=>{var h=Dt(),d=gn(),m="[object Symbol]";function g(x){return typeof x=="symbol"||d(x)&&h(x)==m}a.exports=g}),To=u((r,a)=>{var h=Pi(),d=Ps(),m=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,g=/^\w*$/;function x(k,E){if(h(k))return!1;var S=typeof k;return S=="number"||S=="symbol"||S=="boolean"||k==null||d(k)?!0:g.test(k)||!m.test(k)||E!=null&&k in Object(E)}a.exports=x}),sc=u((r,a)=>{var h=q(),d="Expected a function";function m(g,x){if(typeof g!="function"||x!=null&&typeof x!="function")throw new TypeError(d);var k=function(){var E=arguments,S=x?x.apply(this,E):E[0],H=k.cache;if(H.has(S))return H.get(S);var j=g.apply(this,E);return k.cache=H.set(S,j)||H,j};return k.cache=new(m.Cache||h),k}m.Cache=h,a.exports=m}),ac=u((r,a)=>{var h=sc(),d=500;function m(g){var x=h(g,function(E){return k.size===d&&k.clear(),E}),k=x.cache;return x}a.exports=m}),lc=u((r,a)=>{var h=ac(),d=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m=/\\(\\)?/g,g=h(function(x){var k=[];return x.charCodeAt(0)===46&&k.push(""),x.replace(d,function(E,S,H,j){k.push(H?j.replace(m,"$1"):S||E)}),k});a.exports=g}),uc=u((r,a)=>{function h(d,m){for(var g=-1,x=d==null?0:d.length,k=Array(x);++g{var h=Ft(),d=uc(),m=Pi(),g=Ps(),x=1/0,k=h?h.prototype:void 0,E=k?k.toString:void 0;function S(H){if(typeof H=="string")return H;if(m(H))return d(H,S)+"";if(g(H))return E?E.call(H):"";var j=H+"";return j=="0"&&1/H==-x?"-0":j}a.exports=S}),Bs=u((r,a)=>{var h=cc();function d(m){return m==null?"":h(m)}a.exports=d}),qr=u((r,a)=>{var h=Pi(),d=To(),m=lc(),g=Bs();function x(k,E){return h(k)?k:d(k,E)?[k]:m(g(k))}a.exports=x}),pl=u((r,a)=>{var h=Ps(),d=1/0;function m(g){if(typeof g=="string"||h(g))return g;var x=g+"";return x=="0"&&1/g==-d?"-0":x}a.exports=m}),fl=u((r,a)=>{var h=qr(),d=pl();function m(g,x){x=h(x,g);for(var k=0,E=x.length;g!=null&&k{var h=fl();function d(m,g,x){var k=m==null?void 0:h(m,g);return k===void 0?x:k}a.exports=d}),De=u((r,a)=>{(function(h,d){typeof r=="object"&&typeof a<"u"?a.exports=d():(h=h||self).RBush=d()})(r,function(){function h(U,W,it,mt,st){(function ht(M,O,D,R,I){for(;R>D;){if(R-D>600){var N=R-D+1,Y=O-D+1,J=Math.log(N),et=.5*Math.exp(2*J/3),lt=.5*Math.sqrt(J*et*(N-et)/N)*(Y-N/2<0?-1:1),at=Math.max(D,Math.floor(O-Y*et/N+lt)),Ct=Math.min(R,Math.floor(O+(N-Y)*et/N+lt));ht(M,O,at,Ct,I)}var Qt=M[O],ne=D,ue=R;for(d(M,D,O),I(M[R],Qt)>0&&d(M,D,R);ne0;)ue--}I(M[D],Qt)===0?d(M,D,ue):d(M,++ue,R),ue<=O&&(D=ue+1),O<=ue&&(R=ue-1)}})(U,W,it||0,mt||U.length-1,st||m)}function d(U,W,it){var mt=U[W];U[W]=U[it],U[it]=mt}function m(U,W){return UW?1:0}var g=function(U){U===void 0&&(U=9),this._maxEntries=Math.max(4,U),this._minEntries=Math.max(2,Math.ceil(.4*this._maxEntries)),this.clear()};function x(U,W,it){if(!it)return W.indexOf(U);for(var mt=0;mt=U.minX&&W.maxY>=U.minY}function te(U){return{children:U,height:1,leaf:!0,minX:1/0,minY:1/0,maxX:-1/0,maxY:-1/0}}function Ae(U,W,it,mt,st){for(var ht=[W,it];ht.length;)if(!((it=ht.pop())-(W=ht.pop())<=mt)){var M=W+Math.ceil((it-W)/mt/2)*mt;h(U,M,W,it,st),ht.push(W,M,M,it)}}return g.prototype.all=function(){return this._all(this.data,[])},g.prototype.search=function(U){var W=this.data,it=[];if(!Kt(U,W))return it;for(var mt=this.toBBox,st=[];W;){for(var ht=0;ht=0&&st[W].children.length>this._maxEntries;)this._split(st,W),W--;this._adjustParentBBoxes(mt,st,W)},g.prototype._split=function(U,W){var it=U[W],mt=it.children.length,st=this._minEntries;this._chooseSplitAxis(it,st,mt);var ht=this._chooseSplitIndex(it,st,mt),M=te(it.children.splice(ht,it.children.length-ht));M.height=it.height,M.leaf=it.leaf,k(it,this.toBBox),k(M,this.toBBox),W?U[W-1].children.push(M):this._splitRoot(it,M)},g.prototype._splitRoot=function(U,W){this.data=te([U,W]),this.data.height=U.height+1,this.data.leaf=!1,k(this.data,this.toBBox)},g.prototype._chooseSplitIndex=function(U,W,it){for(var mt,st,ht,M,O,D,R,I=1/0,N=1/0,Y=W;Y<=it-W;Y++){var J=E(U,0,Y,this.toBBox),et=E(U,Y,it,this.toBBox),lt=(st=J,ht=et,M=void 0,O=void 0,D=void 0,R=void 0,M=Math.max(st.minX,ht.minX),O=Math.max(st.minY,ht.minY),D=Math.min(st.maxX,ht.maxX),R=Math.min(st.maxY,ht.maxY),Math.max(0,D-M)*Math.max(0,R-O)),at=ut(J)+ut(et);lt=W;I--){var N=U.children[I];S(M,U.leaf?st(N):N),O+=_t(M)}return O},g.prototype._adjustParentBBoxes=function(U,W,it){for(var mt=it;mt>=0;mt--)S(W[mt],U)},g.prototype._condense=function(U){for(var W=U.length-1,it=void 0;W>=0;W--)U[W].children.length===0?W>0?(it=U[W-1].children).splice(it.indexOf(U[W]),1):this.clear():k(U[W],this.toBBox)},g})}),Ye=u(r=>{Object.defineProperty(r,"__esModule",{value:!0}),r.earthRadius=63710088e-1,r.factors={centimeters:r.earthRadius*100,centimetres:r.earthRadius*100,degrees:r.earthRadius/111325,feet:r.earthRadius*3.28084,inches:r.earthRadius*39.37,kilometers:r.earthRadius/1e3,kilometres:r.earthRadius/1e3,meters:r.earthRadius,metres:r.earthRadius,miles:r.earthRadius/1609.344,millimeters:r.earthRadius*1e3,millimetres:r.earthRadius*1e3,nauticalmiles:r.earthRadius/1852,radians:1,yards:r.earthRadius*1.0936},r.unitsFactors={centimeters:100,centimetres:100,degrees:1/111325,feet:3.28084,inches:39.37,kilometers:1/1e3,kilometres:1/1e3,meters:1,metres:1,miles:1/1609.344,millimeters:1e3,millimetres:1e3,nauticalmiles:1/1852,radians:1/r.earthRadius,yards:1.0936133},r.areaFactors={acres:247105e-9,centimeters:1e4,centimetres:1e4,feet:10.763910417,hectares:1e-4,inches:1550.003100006,kilometers:1e-6,kilometres:1e-6,meters:1,metres:1,miles:386e-9,millimeters:1e6,millimetres:1e6,yards:1.195990046};function a(R,I,N){N===void 0&&(N={});var Y={type:"Feature"};return(N.id===0||N.id)&&(Y.id=N.id),N.bbox&&(Y.bbox=N.bbox),Y.properties=I||{},Y.geometry=R,Y}r.feature=a;function h(R,I,N){switch(R){case"Point":return d(I).geometry;case"LineString":return k(I).geometry;case"Polygon":return g(I).geometry;case"MultiPoint":return j(I).geometry;case"MultiLineString":return H(I).geometry;case"MultiPolygon":return ut(I).geometry;default:throw new Error(R+" is invalid")}}r.geometry=h;function d(R,I,N){if(N===void 0&&(N={}),!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(!ht(R[0])||!ht(R[1]))throw new Error("coordinates must contain numbers");var Y={type:"Point",coordinates:R};return a(Y,I,N)}r.point=d;function m(R,I,N){return N===void 0&&(N={}),S(R.map(function(Y){return d(Y,I)}),N)}r.points=m;function g(R,I,N){N===void 0&&(N={});for(var Y=0,J=R;Y=0))throw new Error("precision must be a positive number");var N=Math.pow(10,I||0);return Math.round(R*N)/N}r.round=Bt;function Kt(R,I){I===void 0&&(I="kilometers");var N=r.factors[I];if(!N)throw new Error(I+" units is invalid");return R*N}r.radiansToLength=Kt;function te(R,I){I===void 0&&(I="kilometers");var N=r.factors[I];if(!N)throw new Error(I+" units is invalid");return R/N}r.lengthToRadians=te;function Ae(R,I){return W(te(R,I))}r.lengthToDegrees=Ae;function U(R){var I=R%360;return I<0&&(I+=360),I}r.bearingToAzimuth=U;function W(R){var I=R%(2*Math.PI);return I*180/Math.PI}r.radiansToDegrees=W;function it(R){var I=R%360;return I*Math.PI/180}r.degreesToRadians=it;function mt(R,I,N){if(I===void 0&&(I="kilometers"),N===void 0&&(N="kilometers"),!(R>=0))throw new Error("length must be a positive number");return Kt(te(R,I),N)}r.convertLength=mt;function st(R,I,N){if(I===void 0&&(I="meters"),N===void 0&&(N="kilometers"),!(R>=0))throw new Error("area must be a positive number");var Y=r.areaFactors[I];if(!Y)throw new Error("invalid original units");var J=r.areaFactors[N];if(!J)throw new Error("invalid final units");return R/Y*J}r.convertArea=st;function ht(R){return!isNaN(R)&&R!==null&&!Array.isArray(R)}r.isNumber=ht;function M(R){return!!R&&R.constructor===Object}r.isObject=M;function O(R){if(!R)throw new Error("bbox is required");if(!Array.isArray(R))throw new Error("bbox must be an Array");if(R.length!==4&&R.length!==6)throw new Error("bbox must be an Array of 4 or 6 numbers");R.forEach(function(I){if(!ht(I))throw new Error("bbox must only contain numbers")})}r.validateBBox=O;function D(R){if(!R)throw new Error("id is required");if(["string","number"].indexOf(typeof R)===-1)throw new Error("id must be a number or a string")}r.validateId=D}),Kr=u(r=>{Object.defineProperty(r,"__esModule",{value:!0});var a=Ye();function h(W,it,mt){if(W!==null)for(var st,ht,M,O,D,R,I,N=0,Y=0,J,et=W.type,lt=et==="FeatureCollection",at=et==="Feature",Ct=lt?W.features.length:1,Qt=0;QtR||lt>I||at>N){D=Y,R=st,I=lt,N=at,M=0;return}var Ct=a.lineString([D,Y],mt.properties);if(it(Ct,st,ht,at,M)===!1)return!1;M++,D=Y})===!1)return!1}}})}function Bt(W,it,mt){var st=mt,ht=!1;return _t(W,function(M,O,D,R,I){ht===!1&&mt===void 0?st=M:st=it(st,M,O,D,R,I),ht=!0}),st}function Kt(W,it){if(!W)throw new Error("geojson is required");j(W,function(mt,st,ht){if(mt.geometry!==null){var M=mt.geometry.type,O=mt.geometry.coordinates;switch(M){case"LineString":if(it(mt,st,ht,0,0)===!1)return!1;break;case"Polygon":for(var D=0;D{Object.defineProperty(r,"__esModule",{value:!0});var a=Kr();function h(d){var m=[1/0,1/0,-1/0,-1/0];return a.coordEach(d,function(g){m[0]>g[0]&&(m[0]=g[0]),m[1]>g[1]&&(m[1]=g[1]),m[2]{var h=De(),d=Ye(),m=Kr(),g=xr().default,x=m.featureEach;m.coordEach,d.polygon;var k=d.featureCollection;function E(S){var H=new h(S);return H.insert=function(j){if(j.type!=="Feature")throw new Error("invalid feature");return j.bbox=j.bbox?j.bbox:g(j),h.prototype.insert.call(this,j)},H.load=function(j){var ut=[];return Array.isArray(j)?j.forEach(function(_t){if(_t.type!=="Feature")throw new Error("invalid features");_t.bbox=_t.bbox?_t.bbox:g(_t),ut.push(_t)}):x(j,function(_t){if(_t.type!=="Feature")throw new Error("invalid features");_t.bbox=_t.bbox?_t.bbox:g(_t),ut.push(_t)}),h.prototype.load.call(this,ut)},H.remove=function(j,ut){if(j.type!=="Feature")throw new Error("invalid feature");return j.bbox=j.bbox?j.bbox:g(j),h.prototype.remove.call(this,j,ut)},H.clear=function(){return h.prototype.clear.call(this)},H.search=function(j){var ut=h.prototype.search.call(this,this.toBBox(j));return k(ut)},H.collides=function(j){return h.prototype.collides.call(this,this.toBBox(j))},H.all=function(){var j=h.prototype.all.call(this);return k(j)},H.toJSON=function(){return h.prototype.toJSON.call(this)},H.fromJSON=function(j){return h.prototype.fromJSON.call(this,j)},H.toBBox=function(j){var ut;if(j.bbox)ut=j.bbox;else if(Array.isArray(j)&&j.length===4)ut=j;else if(Array.isArray(j)&&j.length===6)ut=[j[0],j[1],j[3],j[4]];else if(j.type==="Feature")ut=g(j);else if(j.type==="FeatureCollection")ut=g(j);else throw new Error("invalid geojson");return{minX:ut[0],minY:ut[1],maxX:ut[2],maxY:ut[3]}},H}a.exports=E,a.exports.default=E});Array.prototype.findIndex=Array.prototype.findIndex||function(r){if(this===null)throw new TypeError("Array.prototype.findIndex called on null or undefined");if(typeof r!="function")throw new TypeError("callback must be a function");for(var a=Object(this),h=a.length>>>0,d=arguments[1],m=0;m>>0,d=arguments[1],m=0;m>>0;if(d===0)return!1;var m=a|0,g=Math.max(m>=0?m:d-Math.abs(m),0);function x(k,E){return k===E||typeof k=="number"&&typeof E=="number"&&isNaN(k)&&isNaN(E)}for(;g{this._isRelevantForEdit(h)&&h.pm.enable(a)}),this.throttledReInitEdit||(this.throttledReInitEdit=L.Util.throttle(this.handleLayerAdditionInGlobalEditMode,100,this)),this._addedLayersEdit={},this.map.on("layeradd",this._layerAddedEdit,this),this.map.on("layeradd",this.throttledReInitEdit,this),this._fireGlobalEditModeToggled(!0)},disableGlobalEditMode(){this._globalEditModeEnabled=!1,L.PM.Utils.findLayers(this.map).forEach(r=>{r.pm.disable()}),this.map.off("layeradd",this._layerAddedEdit,this),this.map.off("layeradd",this.throttledReInitEdit,this),this.Toolbar.toggleButton("editMode",this.globalEditModeEnabled()),this._fireGlobalEditModeToggled(!1)},globalEditEnabled(){return this.globalEditModeEnabled()},globalEditModeEnabled(){return this._globalEditModeEnabled},toggleGlobalEditMode(r=this.globalOptions){this.globalEditModeEnabled()?this.disableGlobalEditMode():this.enableGlobalEditMode(r)},handleLayerAdditionInGlobalEditMode(){let r=this._addedLayersEdit;if(this._addedLayersEdit={},this.globalEditModeEnabled())for(let a in r){let h=r[a];this._isRelevantForEdit(h)&&h.pm.enable({...this.globalOptions})}},_layerAddedEdit({layer:r}){this._addedLayersEdit[L.stamp(r)]=r},_isRelevantForEdit(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}},nr=zs,Vs={_globalDragModeEnabled:!1,enableGlobalDragMode(){let r=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!0,this._addedLayersDrag={},r.forEach(a=>{this._isRelevantForDrag(a)&&a.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(){let r=L.PM.Utils.findLayers(this.map);this._globalDragModeEnabled=!1,r.forEach(a=>{a.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(){return!!this._globalDragModeEnabled},toggleGlobalDragMode(){this.globalDragModeEnabled()?this.disableGlobalDragMode():this.enableGlobalDragMode()},reinitGlobalDragMode(){let r=this._addedLayersDrag;if(this._addedLayersDrag={},this.globalDragModeEnabled())for(let a in r){let h=r[a];this._isRelevantForDrag(h)&&h.pm.enableLayerDrag()}},_layerAddedDrag({layer:r}){this._addedLayersDrag[L.stamp(r)]=r},_isRelevantForDrag(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}},Xr=Vs,En={_globalRemovalModeEnabled:!1,enableGlobalRemovalMode(){this._globalRemovalModeEnabled=!0,this.map.eachLayer(r=>{this._isRelevantForRemoval(r)&&(r.pm.enabled()&&r.pm.disable(),r.on("click",this.removeLayer,this))}),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(){this._globalRemovalModeEnabled=!1,this.map.eachLayer(r=>{r.off("click",this.removeLayer,this)}),this.map.off("layeradd",this._layerAddedRemoval,this),this.map.off("layeradd",this.throttledReInitRemoval,this),this.Toolbar.toggleButton("removalMode",this.globalRemovalModeEnabled()),this._fireGlobalRemovalModeToggled(!1)},globalRemovalEnabled(){return this.globalRemovalModeEnabled()},globalRemovalModeEnabled(){return!!this._globalRemovalModeEnabled},toggleGlobalRemovalMode(){this.globalRemovalModeEnabled()?this.disableGlobalRemovalMode():this.enableGlobalRemovalMode()},removeLayer(r){let a=r.target;this._isRelevantForRemoval(a)&&!a.pm.dragging()&&(a.removeFrom(this.map.pm._getContainingLayer()),a.remove(),a instanceof L.LayerGroup?(this._fireRemoveLayerGroup(a),this._fireRemoveLayerGroup(this.map,a)):(a.pm._fireRemove(a),a.pm._fireRemove(this.map,a)))},_isRelevantForRemoval(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(){let r=this._addedLayersRemoval;if(this._addedLayersRemoval={},this.globalRemovalModeEnabled())for(let a in r){let h=r[a];this._isRelevantForRemoval(h)&&(h.pm.enabled()&&h.pm.disable(),h.on("click",this.removeLayer,this))}},_layerAddedRemoval({layer:r}){this._addedLayersRemoval[L.stamp(r)]=r}},ir=En,gl={_globalRotateModeEnabled:!1,enableGlobalRotateMode(){this._globalRotateModeEnabled=!0,L.PM.Utils.findLayers(this.map).filter(r=>r instanceof L.Polyline).forEach(r=>{this._isRelevantForRotate(r)&&r.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(){this._globalRotateModeEnabled=!1,L.PM.Utils.findLayers(this.map).filter(r=>r instanceof L.Polyline).forEach(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(){return!!this._globalRotateModeEnabled},toggleGlobalRotateMode(){this.globalRotateModeEnabled()?this.disableGlobalRotateMode():this.enableGlobalRotateMode()},_isRelevantForRotate(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(){let r=this._addedLayersRotate;if(this._addedLayersRotate={},this.globalRotateModeEnabled())for(let a in r){let h=r[a];this._isRelevantForRemoval(h)&&h.pm.enableRotate()}},_layerAddedRotate({layer:r}){this._addedLayersRotate[L.stamp(r)]=r}},yl=gl,pc=_(Bo()),vl={_fireDrawStart(r="Draw",a={}){this.__fire(this._map,"pm:drawstart",{shape:this._shape,workingLayer:this._layer},r,a)},_fireDrawEnd(r="Draw",a={}){this.__fire(this._map,"pm:drawend",{shape:this._shape},r,a)},_fireCreate(r,a="Draw",h={}){this.__fire(this._map,"pm:create",{shape:this._shape,marker:r,layer:r},a,h)},_fireCenterPlaced(r="Draw",a={}){let h=r==="Draw"?this._layer:void 0,d=r!=="Draw"?this._layer:void 0;this.__fire(this._layer,"pm:centerplaced",{shape:this._shape,workingLayer:h,layer:d,latlng:this._layer.getLatLng()},r,a)},_fireCut(r,a,h,d="Draw",m={}){this.__fire(r,"pm:cut",{shape:this._shape,layer:a,originalLayer:h},d,m)},_fireEdit(r=this._layer,a="Edit",h={}){this.__fire(r,"pm:edit",{layer:this._layer,shape:this.getShape()},a,h)},_fireEnable(r="Edit",a={}){this.__fire(this._layer,"pm:enable",{layer:this._layer,shape:this.getShape()},r,a)},_fireDisable(r="Edit",a={}){this.__fire(this._layer,"pm:disable",{layer:this._layer,shape:this.getShape()},r,a)},_fireUpdate(r="Edit",a={}){this.__fire(this._layer,"pm:update",{layer:this._layer,shape:this.getShape()},r,a)},_fireMarkerDragStart(r,a=void 0,h="Edit",d={}){this.__fire(this._layer,"pm:markerdragstart",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:a},h,d)},_fireMarkerDrag(r,a=void 0,h="Edit",d={}){this.__fire(this._layer,"pm:markerdrag",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:a},h,d)},_fireMarkerDragEnd(r,a=void 0,h=void 0,d="Edit",m={}){this.__fire(this._layer,"pm:markerdragend",{layer:this._layer,markerEvent:r,shape:this.getShape(),indexPath:a,intersectionReset:h},d,m)},_fireDragStart(r="Edit",a={}){this.__fire(this._layer,"pm:dragstart",{layer:this._layer,shape:this.getShape()},r,a)},_fireDrag(r,a="Edit",h={}){this.__fire(this._layer,"pm:drag",{...r,shape:this.getShape()},a,h)},_fireDragEnd(r="Edit",a={}){this.__fire(this._layer,"pm:dragend",{layer:this._layer,shape:this.getShape()},r,a)},_fireDragEnable(r="Edit",a={}){this.__fire(this._layer,"pm:dragenable",{layer:this._layer,shape:this.getShape()},r,a)},_fireDragDisable(r="Edit",a={}){this.__fire(this._layer,"pm:dragdisable",{layer:this._layer,shape:this.getShape()},r,a)},_fireRemove(r,a=r,h="Edit",d={}){this.__fire(r,"pm:remove",{layer:a,shape:this.getShape()},h,d)},_fireVertexAdded(r,a,h,d="Edit",m={}){this.__fire(this._layer,"pm:vertexadded",{layer:this._layer,workingLayer:this._layer,marker:r,indexPath:a,latlng:h,shape:this.getShape()},d,m)},_fireVertexRemoved(r,a,h="Edit",d={}){this.__fire(this._layer,"pm:vertexremoved",{layer:this._layer,marker:r,indexPath:a,shape:this.getShape()},h,d)},_fireVertexClick(r,a,h="Edit",d={}){this.__fire(this._layer,"pm:vertexclick",{layer:this._layer,markerEvent:r,indexPath:a,shape:this.getShape()},h,d)},_fireIntersect(r,a=this._layer,h="Edit",d={}){this.__fire(a,"pm:intersect",{layer:this._layer,intersection:r,shape:this.getShape()},h,d)},_fireLayerReset(r,a,h="Edit",d={}){this.__fire(this._layer,"pm:layerreset",{layer:this._layer,markerEvent:r,indexPath:a,shape:this.getShape()},h,d)},_fireChange(r,a="Edit",h={}){this.__fire(this._layer,"pm:change",{layer:this._layer,latlngs:r,shape:this.getShape()},a,h)},_fireTextChange(r,a="Edit",h={}){this.__fire(this._layer,"pm:textchange",{layer:this._layer,text:r,shape:this.getShape()},a,h)},_fireTextFocus(r="Edit",a={}){this.__fire(this._layer,"pm:textfocus",{layer:this._layer,shape:this.getShape()},r,a)},_fireTextBlur(r="Edit",a={}){this.__fire(this._layer,"pm:textblur",{layer:this._layer,shape:this.getShape()},r,a)},_fireSnapDrag(r,a,h="Snapping",d={}){this.__fire(r,"pm:snapdrag",a,h,d)},_fireSnap(r,a,h="Snapping",d={}){this.__fire(r,"pm:snap",a,h,d)},_fireUnsnap(r,a,h="Snapping",d={}){this.__fire(r,"pm:unsnap",a,h,d)},_fireRotationEnable(r,a,h="Rotation",d={}){this.__fire(r,"pm:rotateenable",{layer:this._layer,helpLayer:this._rotatePoly,shape:this.getShape()},h,d)},_fireRotationDisable(r,a="Rotation",h={}){this.__fire(r,"pm:rotatedisable",{layer:this._layer,shape:this.getShape()},a,h)},_fireRotationStart(r,a,h="Rotation",d={}){this.__fire(r,"pm:rotatestart",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:this._startAngle,originLatLngs:a},h,d)},_fireRotation(r,a,h,d=this._rotationLayer,m="Rotation",g={}){this.__fire(r,"pm:rotate",{layer:d,helpLayer:this._layer,startAngle:this._startAngle,angle:d.pm.getAngle(),angleDiff:a,oldLatLngs:h,newLatLngs:d.getLatLngs()},m,g)},_fireRotationEnd(r,a,h,d="Rotation",m={}){this.__fire(r,"pm:rotateend",{layer:this._rotationLayer,helpLayer:this._layer,startAngle:a,angle:this._rotationLayer.pm.getAngle(),originLatLngs:h,newLatLngs:this._rotationLayer.getLatLngs()},d,m)},_fireActionClick(r,a,h,d="Toolbar",m={}){this.__fire(this._map,"pm:actionclick",{text:r.text,action:r,btnName:a,button:h},d,m)},_fireButtonClick(r,a,h="Toolbar",d={}){this.__fire(this._map,"pm:buttonclick",{btnName:r,button:a},h,d)},_fireLangChange(r,a,h,d,m="Global",g={}){this.__fire(this.map,"pm:langchange",{oldLang:r,activeLang:a,fallback:h,translations:d},m,g)},_fireGlobalDragModeToggled(r,a="Global",h={}){this.__fire(this.map,"pm:globaldragmodetoggled",{enabled:r,map:this.map},a,h)},_fireGlobalEditModeToggled(r,a="Global",h={}){this.__fire(this.map,"pm:globaleditmodetoggled",{enabled:r,map:this.map},a,h)},_fireGlobalRemovalModeToggled(r,a="Global",h={}){this.__fire(this.map,"pm:globalremovalmodetoggled",{enabled:r,map:this.map},a,h)},_fireGlobalCutModeToggled(r="Global",a={}){this.__fire(this._map,"pm:globalcutmodetoggled",{enabled:!!this._enabled,map:this._map},r,a)},_fireGlobalDrawModeToggled(r="Global",a={}){this.__fire(this._map,"pm:globaldrawmodetoggled",{enabled:this._enabled,shape:this._shape,map:this._map},r,a)},_fireGlobalRotateModeToggled(r="Global",a={}){this.__fire(this.map,"pm:globalrotatemodetoggled",{enabled:this.globalRotateModeEnabled(),map:this.map},r,a)},_fireRemoveLayerGroup(r,a=r,h="Edit",d={}){this.__fire(r,"pm:remove",{layer:a,shape:void 0},h,d)},_fireKeyeventEvent(r,a,h,d="Global",m={}){this.__fire(this.map,"pm:keyevent",{event:r,eventType:a,focusOn:h},d,m)},__fire(r,a,h,d,m={}){h=(0,pc.default)(h,m,{source:d}),L.PM.Utils._fireEvent(r,a,h)}},wr=vl,fc=()=>({_lastEvents:{keydown:void 0,keyup:void 0,current:void 0},_initKeyListener(r){this.map=r,L.DomEvent.on(document,"keydown keyup",this._onKeyListener,this),L.DomEvent.on(window,"blur",this._onBlur,this),r.once("unload",this._unbindKeyListenerEvents,this)},_unbindKeyListenerEvents(){L.DomEvent.off(document,"keydown keyup",this._onKeyListener,this),L.DomEvent.off(window,"blur",this._onBlur,this)},_onKeyListener(r){let a="document";this.map.getContainer().contains(r.target)&&(a="map");let h={event:r,eventType:r.type,focusOn:a};this._lastEvents[r.type]=h,this._lastEvents.current=h,this.map.pm._fireKeyeventEvent(r,r.type,a)},_onBlur(r){r.altKey=!1;let a={event:r,eventType:r.type,focusOn:"document"};this._lastEvents[r.type]=a,this._lastEvents.current=a},getLastKeyEvent(r="current"){return this._lastEvents[r]},isShiftKeyPressed(){var r;return(r=this._lastEvents.current)==null?void 0:r.event.shiftKey},isAltKeyPressed(){var r;return(r=this._lastEvents.current)==null?void 0:r.event.altKey},isCtrlKeyPressed(){var r;return(r=this._lastEvents.current)==null?void 0:r.event.ctrlKey},isMetaKeyPressed(){var r;return(r=this._lastEvents.current)==null?void 0:r.event.metaKey},getPressedKey(){var r;return(r=this._lastEvents.current)==null?void 0:r.event.key}}),bl=fc,Me=_(Vi());function Te(r){let a=L.PM.activeLang;return(0,Me.default)(er[a],r)||(0,Me.default)(er.en,r)||r}function Hn(r){for(let a=0;a{if(h.length!==0){let d=Array.isArray(h)?Gi(h):h;Array.isArray(d)?d.length!==0&&a.push(d):a.push(d)}return a},[])}function xl(r,a,h){let d={a:L.CRS.Earth.R,b:63567523142e-4,f:.0033528106647474805},{a:m,b:g,f:x}=d,k=r.lng,E=r.lat,S=h,H=Math.PI,j=a*H/180,ut=Math.sin(j),_t=Math.cos(j),Bt=(1-x)*Math.tan(E*H/180),Kt=1/Math.sqrt(1+Bt*Bt),te=Bt*Kt,Ae=Math.atan2(Bt,_t),U=Kt*ut,W=1-U*U,it=W*(m*m-g*g)/(g*g),mt=1+it/16384*(4096+it*(-768+it*(320-175*it))),st=it/1024*(256+it*(-128+it*(74-47*it))),ht=S/(g*mt),M=2*Math.PI,O,D,R;for(;Math.abs(ht-M)>1e-12;){O=Math.cos(2*Ae+ht),D=Math.sin(ht),R=Math.cos(ht);let Ct=st*D*(O+st/4*(R*(-1+2*O*O)-st/6*O*(-3+4*D*D)*(-3+4*O*O)));M=ht,ht=S/(g*mt)+Ct}let I=te*D-Kt*R*_t,N=Math.atan2(te*R+Kt*D*_t,(1-x)*Math.sqrt(U*U+I*I)),Y=Math.atan2(D*ut,Kt*R-te*D*_t),J=x/16*W*(4+x*(4-3*W)),et=Y-(1-J)*x*U*(ht+J*D*(O+J*R*(-1+2*O*O))),lt=k+et*180/H,at=N*180/H;return L.latLng(lt,at)}function wl(r,a,h,d,m=!0){let g,x,k,E=[];for(let S=0;S180?Kt:te,L.latLng([_t*m,Bt])}function Us(r,a,h){let d=r.latLngToContainerPoint(a),m=r.latLngToContainerPoint(h),g=Math.atan2(m.y-d.y,m.x-d.x)*180/Math.PI+90;return g+=g<0?360:0,g}function Qr(r,a,h,d){let m=Us(r,a,h);return Gs(a,m,d)}function mc(r,a,h="asc"){if(!a||Object.keys(a).length===0)return(E,S)=>E-S;let d=Object.keys(a),m,g=d.length-1,x={};for(;g>=0;)m=d[g],x[m.toLowerCase()]=a[m],g-=1;function k(E){if(E instanceof L.Marker)return"Marker";if(E instanceof L.Circle)return"Circle";if(E instanceof L.CircleMarker)return"CircleMarker";if(E instanceof L.Rectangle)return"Rectangle";if(E instanceof L.Polygon)return"Polygon";if(E instanceof L.Polyline)return"Line"}return(E,S)=>{let H,j;if(H=k(E.layer).toLowerCase(),j=k(S.layer).toLowerCase(),!H||!j)return 0;let ut=H in x?x[H]:Number.MAX_SAFE_INTEGER,_t=j in x?x[j]:Number.MAX_SAFE_INTEGER,Bt=0;return ut<_t?Bt=-1:ut>_t&&(Bt=1),h==="desc"?Bt*-1:Bt}}function Ui(r,a=r.getLatLngs()){return r instanceof L.Polygon?L.polygon(a).getLatLngs():L.polyline(a).getLatLngs()}function Io(r,a){var h,d,m,g;if((d=(h=a.options.crs)==null?void 0:h.projection)!=null&&d.MAX_LATITUDE){let x=(g=(m=a.options.crs)==null?void 0:m.projection)==null?void 0:g.MAX_LATITUDE;r.lat=Math.max(Math.min(x,r.lat),-x)}return r}function Lr(r){return r.options.renderer||r._map&&(r._map._getPaneRenderer(r.options.pane)||r._map.options.renderer||r._map._renderer)||r._renderer}var gi=L.Class.extend({includes:[nr,Xr,ir,yl,wr],initialize(r){this.map=r,this.Draw=new L.PM.Draw(r),this.Toolbar=new L.PM.Toolbar(r),this.Keyboard=bl(),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(r="en",a,h="en"){let d=L.PM.activeLang;a&&(er[r]=(0,ve.default)(er[h],a)),L.PM.activeLang=r,this.map.pm.Toolbar.reinit(),this._fireLangChange(d,r,h,er[r])},addControls(r){this.Toolbar.addControls(r)},removeControls(){this.Toolbar.removeControls()},toggleControls(){this.Toolbar.toggleControls()},controlsVisible(){return this.Toolbar.isVisible},enableDraw(r="Polygon",a){r==="Poly"&&(r="Polygon"),this.Draw.enable(r,a)},disableDraw(r="Polygon"){r==="Poly"&&(r="Polygon"),this.Draw.disable(r)},setPathOptions(r,a={}){let h=a.ignoreShapes||[],d=a.merge||!1;this.map.pm.Draw.shapes.forEach(m=>{h.indexOf(m)===-1&&this.map.pm.Draw[m].setPathOptions(r,d)})},getGlobalOptions(){return this.globalOptions},setGlobalOptions(r){let a=(0,ve.default)(this.globalOptions,r);a.editable&&(a.resizeableCircleMarker=a.editable,delete a.editable);let h=!1;this.map.pm.Draw.CircleMarker.enabled()&&!!this.map.pm.Draw.CircleMarker.options.resizeableCircleMarker!=!!a.resizeableCircleMarker&&(this.map.pm.Draw.CircleMarker.disable(),h=!0);let d=!1;this.map.pm.Draw.Circle.enabled()&&!!this.map.pm.Draw.Circle.options.resizableCircle!=!!a.resizableCircle&&(this.map.pm.Draw.Circle.disable(),d=!0),this.map.pm.Draw.shapes.forEach(m=>{this.map.pm.Draw[m].setOptions(a)}),h&&this.map.pm.Draw.CircleMarker.enable(),d&&this.map.pm.Draw.Circle.enable(),L.PM.Utils.findLayers(this.map).forEach(m=>{m.pm.setOptions(a)}),this.map.fire("pm:globaloptionschanged"),this.globalOptions=a,this.applyGlobalOptions()},applyGlobalOptions(){L.PM.Utils.findLayers(this.map).forEach(r=>{r.pm.enabled()&&r.pm.applyOptions()})},globalDrawModeEnabled(){return!!this.Draw.getActiveShape()},globalCutModeEnabled(){return!!this.Draw.Cut.enabled()},enableGlobalCutMode(r){return this.Draw.Cut.enable(r)},toggleGlobalCutMode(r){return this.Draw.Cut.toggle(r)},disableGlobalCutMode(){return this.Draw.Cut.disable()},getGeomanLayers(r=!1){let a=L.PM.Utils.findLayers(this.map);if(!r)return a;let h=L.featureGroup();return h._pmTempLayer=!0,a.forEach(d=>{h.addLayer(d)}),h},getGeomanDrawLayers(r=!1){let a=L.PM.Utils.findLayers(this.map).filter(d=>d._drawnByGeoman===!0);if(!r)return a;let h=L.featureGroup();return h._pmTempLayer=!0,a.forEach(d=>{h.addLayer(d)}),h},_getContainingLayer(){return this.globalOptions.layerGroup&&this.globalOptions.layerGroup instanceof L.LayerGroup?this.globalOptions.layerGroup:this.map},_isCRSSimple(){return this.map.options.crs===L.CRS.Simple},_touchEventCounter:0,_addTouchEvents(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(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(r){Lr(this.map)._onMouseMove(this._createMouseEvent("mousemove",r))},_canvasTouchClick(r){let a="";r.type==="touchstart"||r.type==="pointerdown"?a="mousedown":(r.type==="touchend"||r.type==="pointerup"||r.type==="touchcancel"||r.type==="pointercancel")&&(a="mouseup"),a&&Lr(this.map)._onClick(this._createMouseEvent(a,r))},_createMouseEvent(r,a){let h,d=a.touches[0]||a.changedTouches[0];try{h=new MouseEvent(r,{bubbles:a.bubbles,cancelable:a.cancelable,view:a.view,detail:d.detail,screenX:d.screenX,screenY:d.screenY,clientX:d.clientX,clientY:d.clientY,ctrlKey:a.ctrlKey,altKey:a.altKey,shiftKey:a.shiftKey,metaKey:a.metaKey,button:a.button,relatedTarget:a.relatedTarget})}catch{h=document.createEvent("MouseEvents"),h.initMouseEvent(r,a.bubbles,a.cancelable,a.view,d.detail,d.screenX,d.screenY,d.clientX,d.clientY,a.ctrlKey,a.altKey,a.shiftKey,a.metaKey,a.button,a.relatedTarget)}return h}}),_c=gi,Ll=L.Control.extend({includes:[wr],options:{position:"topleft",disableByOtherButtons:!0},initialize(r){this._button=L.Util.extend({},this.options,r)},onAdd(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._renderButton(),this._container},_renderButton(){let r=this.buttonsDomNode;this.buttonsDomNode=this._makeButton(this._button),r?r.replaceWith(this.buttonsDomNode):this._container.appendChild(this.buttonsDomNode)},onRemove(){return this.buttonsDomNode.remove(),this._container},getText(){return this._button.text},getIconUrl(){return this._button.iconUrl},destroy(){this._button={},this._update()},toggle(r){return typeof r=="boolean"?this._button.toggleStatus=r:this._button.toggleStatus=!this._button.toggleStatus,this._applyStyleClasses(),this._button.toggleStatus},toggled(){return this._button.toggleStatus},onCreate(){this.toggle(!1)},disable(){this.toggle(!1),this._button.disabled=!0,this._updateDisabled()},enable(){this._button.disabled=!1,this._updateDisabled()},_triggerClick(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(r){let a=this.options.position.indexOf("right")>-1?"pos-right":"",h=L.DomUtil.create("div",`button-container ${a}`,this._container);r.title&&h.setAttribute("title",r.title);let d=L.DomUtil.create("a","leaflet-buttons-control-button",h);d.setAttribute("role","button"),d.setAttribute("tabindex","0"),d.href="#";let m=L.DomUtil.create("div",`leaflet-pm-actions-container ${a}`,h),g=r.actions,x={cancel:{text:Te("actions.cancel"),title:Te("actions.cancel"),onClick(){this._triggerClick()}},finishMode:{text:Te("actions.finish"),title:Te("actions.finish"),onClick(){this._triggerClick()}},removeLastVertex:{text:Te("actions.removeLastVertex"),title:Te("actions.removeLastVertex"),onClick(){this._map.pm.Draw[r.jsClass]._removeLastVertex()}},finish:{text:Te("actions.finish"),title:Te("actions.finish"),onClick(E){this._map.pm.Draw[r.jsClass]._finishShape(E)}}};g.forEach(E=>{let S=typeof E=="string"?E:E.name,H;if(x[S])H=x[S];else if(E.text)H=E;else return;let j=L.DomUtil.create("a",`leaflet-pm-action ${a} action-${S}`,m);if(j.setAttribute("role","button"),j.setAttribute("tabindex","0"),j.href="#",H.title&&(j.title=H.title),j.innerHTML=H.text,L.DomEvent.disableClickPropagation(j),L.DomEvent.on(j,"click",L.DomEvent.stop),!r.disabled&&H.onClick){let ut=_t=>{_t.preventDefault();let Bt="",{buttons:Kt}=this._map.pm.Toolbar;for(let te in Kt)if(Kt[te]._button===r){Bt=te;break}this._fireActionClick(H,Bt,r)};L.DomEvent.addListener(j,"click",ut,this),L.DomEvent.addListener(j,"click",H.onClick,this)}}),r.toggleStatus&&L.DomUtil.addClass(h,"active");let k=L.DomUtil.create("div","control-icon",d);return r.iconUrl&&k.setAttribute("src",r.iconUrl),r.className&&L.DomUtil.addClass(k,r.className),L.DomEvent.disableClickPropagation(d),L.DomEvent.on(d,"click",L.DomEvent.stop),r.disabled||(L.DomEvent.addListener(d,"click",this._onBtnClick,this),L.DomEvent.addListener(d,"click",this._triggerClick,this)),r.disabled&&(L.DomUtil.addClass(d,"pm-disabled"),d.setAttribute("aria-disabled","true")),h},_applyStyleClasses(){this._container&&(!this._button.toggleStatus||this._button.cssToggle===!1?(L.DomUtil.removeClass(this.buttonsDomNode,"active"),L.DomUtil.removeClass(this._container,"activeChild")):(L.DomUtil.addClass(this.buttonsDomNode,"active"),L.DomUtil.addClass(this._container,"activeChild")))},_onBtnClick(){if(this._button.disabled)return;this._button.disableOtherButtons&&this._map.pm.Toolbar.triggerClickOnToggledButtons(this);let r="",{buttons:a}=this._map.pm.Toolbar;for(let h in a)if(a[h]._button===this._button){r=h;break}this._fireButtonClick(r,this._button)},_clicked(){this._button.doToggle&&this.toggle()},_updateDisabled(){if(!this._container)return;let r="pm-disabled",a=this.buttonsDomNode.children[0];this._button.disabled?(L.DomUtil.addClass(a,r),a.setAttribute("aria-disabled","true")):(L.DomUtil.removeClass(a,r),a.setAttribute("aria-disabled","false"))}}),$i=Ll;L.Control.PMButton=$i;var Cl=L.Class.extend({options:{drawMarker:!0,drawRectangle:!0,drawPolyline:!0,drawPolygon:!0,drawCircle:!0,drawCircleMarker:!0,drawText:!0,editMode:!0,dragMode:!0,cutPolygon:!0,removalMode:!0,rotateMode:!0,snappingOption:!0,drawControls:!0,editControls:!0,optionsControls:!0,customControls:!0,oneBlock:!1,position:"topleft",positions:{draw:"",edit:"",options:"",custom:""}},customButtons:[],initialize(r){this.customButtons=[],this.options.positions={draw:"",edit:"",options:"",custom:""},this.init(r)},reinit(){let r=this.isVisible;this.removeControls(),this._defineButtons(),r&&this.addControls()},init(r){this.map=r,this.buttons={},this.isVisible=!1,this.drawContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-draw leaflet-bar leaflet-control"),this.editContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-edit leaflet-bar leaflet-control"),this.optionsContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-options leaflet-bar leaflet-control"),this.customContainer=L.DomUtil.create("div","leaflet-pm-toolbar leaflet-pm-custom leaflet-bar leaflet-control"),this._defineButtons()},_createContainer(r){let a=`${r}Container`;return this[a]||(this[a]=L.DomUtil.create("div",`leaflet-pm-toolbar leaflet-pm-${r} leaflet-bar leaflet-control`)),this[a]},getButtons(){return this.buttons},addControls(r=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(){let r=this.getButtons(),a={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(let h in r){let d=r[h];L.Util.setOptions(d,{className:a.geomanIcons[h]})}},removeControls(){let r=this.getButtons();for(let a in r)r[a].remove();this.isVisible=!1},toggleControls(r=this.options){this.isVisible?this.removeControls():this.addControls(r)},_addButton(r,a){return this.buttons[r]=a,this.options[r]=!!this.options[r]||!1,this.buttons[r]},triggerClickOnToggledButtons(r){for(let a in this.buttons){let h=this.buttons[a];h._button.disableByOtherButtons&&h!==r&&h.toggled()&&h._triggerClick()}},toggleButton(r,a,h=!0){return r==="editPolygon"&&(r="editMode"),r==="deleteLayer"&&(r="removalMode"),h&&this.triggerClickOnToggledButtons(this.buttons[r]),this.buttons[r]?this.buttons[r].toggle(a):!1},_defineButtons(){let r={className:"control-icon leaflet-pm-icon-marker",title:Te("buttonTitles.drawMarkerButton"),jsClass:"Marker",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},a={title:Te("buttonTitles.drawPolyButton"),className:"control-icon leaflet-pm-icon-polygon",jsClass:"Polygon",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},h={className:"control-icon leaflet-pm-icon-polyline",title:Te("buttonTitles.drawLineButton"),jsClass:"Line",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["finish","removeLastVertex","cancel"]},d={title:Te("buttonTitles.drawCircleButton"),className:"control-icon leaflet-pm-icon-circle",jsClass:"Circle",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},m={title:Te("buttonTitles.drawCircleMarkerButton"),className:"control-icon leaflet-pm-icon-circle-marker",jsClass:"CircleMarker",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},g={title:Te("buttonTitles.drawRectButton"),className:"control-icon leaflet-pm-icon-rectangle",jsClass:"Rectangle",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]},x={title:Te("buttonTitles.editButton"),className:"control-icon leaflet-pm-icon-edit",onClick:()=>{},afterClick:()=>{this.map.pm.toggleGlobalEditMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},k={title:Te("buttonTitles.dragButton"),className:"control-icon leaflet-pm-icon-drag",onClick:()=>{},afterClick:()=>{this.map.pm.toggleGlobalDragMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},E={title:Te("buttonTitles.cutButton"),className:"control-icon leaflet-pm-icon-cut",jsClass:"Cut",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.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"]},S={title:Te("buttonTitles.deleteButton"),className:"control-icon leaflet-pm-icon-delete",onClick:()=>{},afterClick:()=>{this.map.pm.toggleGlobalRemovalMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},H={title:Te("buttonTitles.rotateButton"),className:"control-icon leaflet-pm-icon-rotate",onClick:()=>{},afterClick:()=>{this.map.pm.toggleGlobalRotateMode()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,tool:"edit",actions:["finishMode"]},j={className:"control-icon leaflet-pm-icon-text",title:Te("buttonTitles.drawTextButton"),jsClass:"Text",onClick:()=>{},afterClick:(ut,_t)=>{this.map.pm.Draw[_t.button._button.jsClass].toggle()},doToggle:!0,toggleStatus:!1,disableOtherButtons:!0,position:this.options.position,actions:["cancel"]};this._addButton("drawMarker",new L.Control.PMButton(r)),this._addButton("drawPolyline",new L.Control.PMButton(h)),this._addButton("drawRectangle",new L.Control.PMButton(g)),this._addButton("drawPolygon",new L.Control.PMButton(a)),this._addButton("drawCircle",new L.Control.PMButton(d)),this._addButton("drawCircleMarker",new L.Control.PMButton(m)),this._addButton("drawText",new L.Control.PMButton(j)),this._addButton("editMode",new L.Control.PMButton(x)),this._addButton("dragMode",new L.Control.PMButton(k)),this._addButton("cutPolygon",new L.Control.PMButton(E)),this._addButton("removalMode",new L.Control.PMButton(S)),this._addButton("rotateMode",new L.Control.PMButton(H))},_showHideButtons(){if(!this.isVisible)return;this.removeControls(),this.isVisible=!0;let r=this.getButtons(),a=[];this.options.drawControls===!1&&(a=a.concat(Object.keys(r).filter(h=>!r[h]._button.tool))),this.options.editControls===!1&&(a=a.concat(Object.keys(r).filter(h=>r[h]._button.tool==="edit"))),this.options.optionsControls===!1&&(a=a.concat(Object.keys(r).filter(h=>r[h]._button.tool==="options"))),this.options.customControls===!1&&(a=a.concat(Object.keys(r).filter(h=>r[h]._button.tool==="custom")));for(let h in r)if(this.options[h]&&a.indexOf(h)===-1){let d=r[h]._button.tool;d||(d="draw"),r[h].setPosition(this._getBtnPosition(d)),r[h].addTo(this.map)}},_getBtnPosition(r){return this.options.positions&&this.options.positions[r]?this.options.positions[r]:this.options.position},setBlockPosition(r,a){this.options.positions[r]=a,this._showHideButtons(),this.changeControlOrder()},getBlockPositions(){return this.options.positions},copyDrawControl(r,a){if(a)typeof a!="object"&&(a={name:a});else throw new TypeError("Button has no name");let h=this._btnNameMapping(r);if(!a.name)throw new TypeError("Button has no name");if(this.buttons[a.name])throw new TypeError("Button with this name already exists");let d=this.map.pm.Draw.createNewDrawInstance(a.name,h);a={...this.buttons[h]._button,...a};let m=this.createCustomControl(a);return{drawInstance:d,control:m}},createCustomControl(r){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=()=>{}),r.afterClick||(r.afterClick=()=>{}),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 ${r.className}`):r.className="control-icon";let a={tool:r.block,className:r.className,title:r.title||"",jsClass:r.name,onClick:r.onClick,afterClick:r.afterClick,doToggle:r.toggle,toggleStatus:!1,disableOtherButtons:r.disableOtherButtons??!0,disableByOtherButtons:r.disableByOtherButtons??!0,cssToggle:r.toggle,position:this.options.position,actions:r.actions||[],disabled:!!r.disabled};this.options[r.name]!==!1&&(this.options[r.name]=!0);let h=this._addButton(r.name,new L.Control.PMButton(a));return this.changeControlOrder(),h},controlExists(r){return!!this.getButton(r)},getButton(r){return this.getButtons()[r]},getButtonsInBlock(r){let a={};if(r)for(let h in this.getButtons()){let d=this.getButtons()[h];(d._button.tool===r||r==="draw"&&!d._button.tool)&&(a[h]=d)}return a},changeControlOrder(r=[]){let a=this._shapeMapping(),h=[];r.forEach(g=>{a[g]?h.push(a[g]):h.push(g)});let d=this.getButtons(),m={};h.forEach(g=>{d[g]&&(m[g]=d[g])}),Object.keys(d).filter(g=>!d[g]._button.tool).forEach(g=>{h.indexOf(g)===-1&&(m[g]=d[g])}),Object.keys(d).filter(g=>d[g]._button.tool==="edit").forEach(g=>{h.indexOf(g)===-1&&(m[g]=d[g])}),Object.keys(d).filter(g=>d[g]._button.tool==="options").forEach(g=>{h.indexOf(g)===-1&&(m[g]=d[g])}),Object.keys(d).filter(g=>d[g]._button.tool==="custom").forEach(g=>{h.indexOf(g)===-1&&(m[g]=d[g])}),Object.keys(d).forEach(g=>{h.indexOf(g)===-1&&(m[g]=d[g])}),this.map.pm.Toolbar.buttons=m,this._showHideButtons()},getControlOrder(){let r=this.getButtons(),a=[];for(let h in r)a.push(h);return a},changeActionsOfControl(r,a){let h=this._btnNameMapping(r);if(!h)throw new TypeError("No name passed");if(!a)throw new TypeError("No actions passed");if(!this.buttons[h])throw new TypeError("Button with this name not exists");this.buttons[h]._button.actions=a,this.changeControlOrder()},setButtonDisabled(r,a){let h=this._btnNameMapping(r);a?this.buttons[h].disable():this.buttons[h].enable()},_shapeMapping(){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(r){let a=this._shapeMapping();return a[r]?a[r]:r}}),kl=Cl,$s=_(Bo()),gc={_initSnappableMarkers(){this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0?!0:this.options.snapSegment,this._assignEvents(this._markers),this._layer.off("pm:dragstart",this._unsnap,this),this._layer.on("pm:dragstart",this._unsnap,this)},_disableSnapping(){this._layer.off("pm:dragstart",this._unsnap,this)},_assignEvents(r){r.forEach(a=>{if(Array.isArray(a)){this._assignEvents(a);return}a.off("drag",this._handleSnapping,this),a.on("drag",this._handleSnapping,this),a.off("dragend",this._cleanupSnapping,this),a.on("dragend",this._cleanupSnapping,this)})},_cleanupSnapping(r){if(r){let a=r.target;a._snapped=!1}delete this._snapList,this.throttledList&&(this._map.off("layeradd",this.throttledList,this),this.throttledList=void 0),this._map.off("layerremove",this._handleSnapLayerRemoval,this),this.debugIndicatorLines&&this.debugIndicatorLines.forEach(a=>{a.remove()})},_handleThrottleSnapping(){this.throttledList&&this._createSnapList()},_handleSnapping(r){var k,E,S;let a=r.target;if(a._snapped=!1,this.throttledList||(this.throttledList=L.Util.throttle(this._handleThrottleSnapping,100,this)),((k=r==null?void 0:r.originalEvent)==null?void 0:k.altKey)||((S=(E=this._map)==null?void 0:E.pm)==null?void 0:S.Keyboard.isAltKeyPressed())||(this._snapList===void 0&&(this._createSnapList(),this._map.off("layeradd",this.throttledList,this),this._map.on("layeradd",this.throttledList,this)),this._snapList.length<=0))return!1;let h=this._calcClosestLayer(a.getLatLng(),this._snapList);if(Object.keys(h).length===0)return!1;let d=h.layer instanceof L.Marker||h.layer instanceof L.CircleMarker||!this.options.snapSegment,m;d?m=h.latlng:m=this._checkPrioritiySnapping(h);let g=this.options.snapDistance,x={marker:a,shape:this._shape,snapLatLng:m,segment:h.segment,layer:this._layer,workingLayer:this._layer,layerInteractedWith:h.layer,distance:h.distance};if(this._fireSnapDrag(x.marker,x),this._fireSnapDrag(this._layer,x),h.distance{this._snapLatLng=m,this._fireSnap(a,x),this._fireSnap(this._layer,x)},j=this._snapLatLng||{},ut=m||{};(j.lat!==ut.lat||j.lng!==ut.lng)&&H()}else this._snapLatLng&&(this._unsnap(x),a._snapped=!1,a._snapInfo=void 0,this._fireUnsnap(x.marker,x),this._fireUnsnap(this._layer,x));return!0},_createSnapList(){let r=[],a=[],h=this._map;h.off("layerremove",this._handleSnapLayerRemoval,this),h.on("layerremove",this._handleSnapLayerRemoval,this),h.eachLayer(d=>{if((d instanceof L.Polyline||d instanceof L.Marker||d instanceof L.CircleMarker||d instanceof L.ImageOverlay)&&d.options.snapIgnore!==!0){if(d.options.snapIgnore===void 0&&(!L.PM.optIn&&d.options.pmIgnore===!0||L.PM.optIn&&d.options.pmIgnore!==!1))return;(d instanceof L.Circle||d instanceof L.CircleMarker)&&d.pm&&d.pm._hiddenPolyCircle?r.push(d.pm._hiddenPolyCircle):d instanceof L.ImageOverlay&&(d=L.rectangle(d.getBounds())),r.push(d);let m=L.polyline([],{color:"red",pmIgnore:!0});m._pmTempLayer=!0,a.push(m),(d instanceof L.Circle||d instanceof L.CircleMarker)&&a.push(m)}}),r=r.filter(d=>this._layer!==d),r=r.filter(d=>d._latlng||d._latlngs&&Hn(d._latlngs)),r=r.filter(d=>!d._pmTempLayer),this._otherSnapLayers?(this._otherSnapLayers.forEach(()=>{let d=L.polyline([],{color:"red",pmIgnore:!0});d._pmTempLayer=!0,a.push(d)}),this._snapList=r.concat(this._otherSnapLayers)):this._snapList=r,this.debugIndicatorLines=a},_handleSnapLayerRemoval({layer:r}){if(!r._leaflet_id)return;let a=this._snapList.findIndex(h=>h._leaflet_id===r._leaflet_id);a>-1&&this._snapList.splice(a,1)},_calcClosestLayer(r,a){return this._calcClosestLayers(r,a,1)[0]},_calcClosestLayers(r,a,h=1){let d=[],m={};a.forEach((x,k)=>{if(x._parentCopy&&x._parentCopy===this._layer)return;let E=this._calcLayerDistances(r,x);if(E.distance=Math.floor(E.distance),this.debugIndicatorLines){if(!this.debugIndicatorLines[k]){let S=L.polyline([],{color:"red",pmIgnore:!0});S._pmTempLayer=!0,this.debugIndicatorLines[k]=S}this.debugIndicatorLines[k].setLatLngs([r,E.latlng])}h===1&&(m.distance===void 0||E.distance-5<=m.distance)?(E.distance+5x.distance-k.distance)),h===-1&&(h=d.length);let g=this._getClosestLayerByPriority(d,h);return L.Util.isArray(g)?g:[g]},_calcLayerDistances(r,a){let h=this._map,d=a instanceof L.Marker||a instanceof L.CircleMarker,m=a instanceof L.Polygon,g=r;if(d){let x=a.getLatLng();return{latlng:{...x},distance:this._getDistance(h,x,g)}}return this._calcLatLngDistances(g,a.getLatLngs(),h,m)},_calcLatLngDistances(r,a,h,d=!1){let m,g,x,k=E=>{E.forEach((S,H)=>{if(Array.isArray(S)){k(S);return}if(this.options.snapSegment){let j=S,ut;d?ut=H+1===E.length?0:H+1:ut=H+1===E.length?void 0:H+1;let _t=E[ut];if(_t){let Bt=this._getDistanceToSegment(h,r,j,_t);(g===void 0||Btx._leaflet_id-k._leaflet_id);let h=["Marker","CircleMarker","Circle","Line","Polygon","Rectangle"],d=this._map.pm.globalOptions.snappingOrder||[],m=0,g={};return d.concat(h).forEach(x=>{g[x]||(m+=1,g[x]=m)}),r.sort(mc("instanceofShape",g)),a===1?r[0]||{}:r.slice(0,a)},_checkPrioritiySnapping(r){let a=this._map,h=r.segment[0],d=r.segment[1],m=r.latlng,g=this._getDistance(a,h,m),x=this._getDistance(a,d,m),k=g{this[h]=new L.PM.Draw[h](this._map)}),this.Marker.setOptions({continueDrawing:!0}),this.CircleMarker.setOptions({continueDrawing:!0})},setPathOptions(r,a=!1){a?this.options.pathOptions=(0,$s.default)(this.options.pathOptions,r):this.options.pathOptions=r},getShapes(){return this.shapes},getShape(){return this._shape},enable(r,a){if(!r)throw new Error(`Error: Please pass a shape as a parameter. Possible shapes are: ${this.getShapes().join(",")}`);this.disable(),this[r].enable(a)},disable(){this.shapes.forEach(r=>{this[r].disable()})},addControls(){this.shapes.forEach(r=>{this[r].addButton()})},getActiveShape(){let r;return this.shapes.forEach(a=>{this[a]._enabled&&(r=a)}),r},_setGlobalDrawMode(){this._shape==="Cut"?this._fireGlobalCutModeToggled():this._fireGlobalDrawModeToggled();let r=[];this._map.eachLayer(a=>{(a instanceof L.Polyline||a instanceof L.Marker||a instanceof L.Circle||a instanceof L.CircleMarker||a instanceof L.ImageOverlay)&&(a._pmTempLayer||r.push(a))}),this._enabled?r.forEach(a=>{L.PM.Utils.disablePopup(a)}):r.forEach(a=>{L.PM.Utils.enablePopup(a)})},createNewDrawInstance(r,a){let h=this._getShapeFromBtnName(a);if(this[r])throw new TypeError("Draw Type already exists");if(!L.PM.Draw[h])throw new TypeError(`There is no class L.PM.Draw.${h}`);return this[r]=new L.PM.Draw[h](this._map),this[r].toolbarButtonName=r,this[r]._shape=r,this.shapes.push(r),this[a]&&this[r].setOptions(this[a].options),this[r].setOptions(this[r].options),this[r]},_getShapeFromBtnName(r){let a={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 a[r]?a[r]:this[r]?this[r]._shape:r},_finishLayer(r){r.pm&&(r.pm.setOptions(this.options),r.pm._shape=this._shape,r.pm._map=this._map),this._addDrawnLayerProp(r)},_addDrawnLayerProp(r){r._drawnByGeoman=!0},_setPane(r,a){a==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":a==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":a==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},_isFirstLayer(){return(this._map||this._layer._map).pm.getGeomanLayers().length===0}}),Mn=El;Mn.Marker=Mn.extend({initialize(r){this._map=r,this._shape="Marker",this.toolbarButtonName="drawMarker"},enable(r){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(Te("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(a=>{this.isRelevantMarker(a)&&a.pm.enable()}),this._fireDrawStart(),this._setGlobalDrawMode()},disable(){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(r=>{this.isRelevantMarker(r)&&r.pm.disable()}),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled(){return this._enabled},toggle(r){this.enabled()?this.disable():this.enable(r)},isRelevantMarker(r){return r instanceof L.Marker&&r.pm&&!r._pmTempLayer&&!r.pm._initTextMarker},_syncHintMarker(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){let a=r;a.target=this._hintMarker,this._handleSnapping(a)}this._fireChange(this._hintMarker.getLatLng(),"Draw")},_createMarker(r){if(!r.latlng||this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng(),h=new L.Marker(a,this.options.markerStyle);this._setPane(h,"markerPane"),this._finishLayer(h),h.pm||(h.options.draggable=!1),h.addTo(this._map.pm._getContainingLayer()),h.pm&&this.options.markerEditable?h.pm.enable():h.dragging&&h.dragging.disable(),this._fireCreate(h),this._cleanupSnapping(),this.options.continueDrawing||this.disable()},setStyle(){var r,a;(r=this.options.markerStyle)!=null&&r.icon&&((a=this._hintMarker)==null||a.setIcon(this.options.markerStyle.icon))}});var Fn=63710088e-1,Fo={centimeters:Fn*100,centimetres:Fn*100,degrees:Fn/111325,feet:Fn*3.28084,inches:Fn*39.37,kilometers:Fn/1e3,kilometres:Fn/1e3,meters:Fn,metres:Fn,miles:Fn/1609.344,millimeters:Fn*1e3,millimetres:Fn*1e3,nauticalmiles:Fn/1852,radians:1,yards:Fn*1.0936};function Cr(r,a,h){h===void 0&&(h={});var d={type:"Feature"};return(h.id===0||h.id)&&(d.id=h.id),h.bbox&&(d.bbox=h.bbox),d.properties=a||{},d.geometry=r,d}function rr(r,a,h){if(h===void 0&&(h={}),!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(!Zs(r[0])||!Zs(r[1]))throw new Error("coordinates must contain numbers");var d={type:"Point",coordinates:r};return Cr(d,a,h)}function kr(r,a,h){if(h===void 0&&(h={}),r.length<2)throw new Error("coordinates must be an array of two or more positions");var d={type:"LineString",coordinates:r};return Cr(d,a,h)}function ui(r,a){a===void 0&&(a={});var h={type:"FeatureCollection"};return a.id&&(h.id=a.id),a.bbox&&(h.bbox=a.bbox),h.features=r,h}function or(r,a){a===void 0&&(a="kilometers");var h=Fo[a];if(!h)throw new Error(a+" units is invalid");return r*h}function yc(r,a){a===void 0&&(a="kilometers");var h=Fo[a];if(!h)throw new Error(a+" units is invalid");return r/h}function sr(r){var a=r%(2*Math.PI);return a*180/Math.PI}function nn(r){var a=r%360;return a*Math.PI/180}function Zs(r){return!isNaN(r)&&r!==null&&!Array.isArray(r)}function to(r){var a,h,d={type:"FeatureCollection",features:[]};if(r.type==="Feature"?h=r.geometry:h=r,h.type==="LineString")a=[h.coordinates];else if(h.type==="MultiLineString")a=h.coordinates;else if(h.type==="MultiPolygon")a=[].concat.apply([],h.coordinates);else if(h.type==="Polygon")a=h.coordinates;else throw new Error("Input must be a LineString, MultiLineString, Polygon, or MultiPolygon Feature or Geometry");return a.forEach(function(m){a.forEach(function(g){for(var x=0;x=0&&S<=1&&(_t.onLine1=!0),H>=0&&H<=1&&(_t.onLine2=!0),_t.onLine1&&_t.onLine2?[_t.x,_t.y]:!1)}Mn.Line=Mn.extend({initialize(r){this._map=r,this._shape="Line",this.toolbarButtonName="drawPolyline",this._doesSelfIntersect=!1},enable(r){L.Util.setOptions(this,r),this._enabled=!0,this._markers=[],this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=L.polyline([],{...this.options.templineStyle,pmIgnore:!1}),this._setPane(this._layer,"layerPane"),this._layer._pmTempLayer=!0,this._layerGroup.addLayer(this._layer),this._hintline=L.polyline([],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._layerGroup.addLayer(this._hintline),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._layerGroup.addLayer(this._hintMarker),this.options.cursorMarker&&L.DomUtil.addClass(this._hintMarker._icon,"visible"),this.options.tooltips&&this._hintMarker.bindTooltip(Te("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this._map.getContainer().classList.add("geoman-draw-cursor"),this._map.on("click",this._createVertex,this),this.options.finishOn&&this.options.finishOn!=="snap"&&this._map.on(this.options.finishOn,this._finishShape,this),this.options.finishOn==="dblclick"&&(this.tempMapDoubleClickZoomState=this._map.doubleClickZoom._enabled,this.tempMapDoubleClickZoomState&&this._map.doubleClickZoom.disable()),this._map.on("mousemove",this._syncHintMarker,this),this._hintMarker.on("move",this._syncHintLine,this),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!0),this._otherSnapLayers=[],this.isRed=!1,this._fireDrawStart(),this._setGlobalDrawMode()},disable(){this._enabled&&(this._enabled=!1,this._map.getContainer().classList.remove("geoman-draw-cursor"),this._map.off("click",this._createVertex,this),this._map.off("mousemove",this._syncHintMarker,this),this.options.finishOn&&this.options.finishOn!=="snap"&&this._map.off(this.options.finishOn,this._finishShape,this),this.tempMapDoubleClickZoomState&&this._map.doubleClickZoom.enable(),this._map.removeLayer(this._layerGroup),this._map.pm.Toolbar.toggleButton(this.toolbarButtonName,!1),this.options.snappable&&this._cleanupSnapping(),this._fireDrawEnd(),this._setGlobalDrawMode())},enabled(){return this._enabled},toggle(r){this.enabled()?this.disable():this.enable(r)},_syncHintLine(){let r=this._layer.getLatLngs();if(r.length>0){let a=r[r.length-1];this._hintline.setLatLngs([a,this._hintMarker.getLatLng()])}},_syncHintMarker(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){let h=r;h.target=this._hintMarker,this._handleSnapping(h)}this.options.allowSelfIntersection||this._handleSelfIntersection(!0,this._hintMarker.getLatLng());let a=this._layer._defaultShape().slice();a.push(this._hintMarker.getLatLng()),this._change(a)},hasSelfIntersection(){return to(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersection(r,a){let h=L.polyline(this._layer.getLatLngs());r&&(a||(a=this._hintMarker.getLatLng()),h.addLatLng(a));let d=to(h.toGeoJSON(15));this._doesSelfIntersect=d.features.length>0,this._doesSelfIntersect?this.isRed||(this.isRed=!0,this._hintline.setStyle({color:"#f00000ff"}),this._fireIntersect(d,this._map,"Draw")):this._hintline.isEmpty()||(this.isRed=!1,this._hintline.setStyle(this.options.hintlineStyle))},_createVertex(r){if(!this.options.allowSelfIntersection&&(this._handleSelfIntersection(!0,r.latlng),this._doesSelfIntersect))return;this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng(),h=this._layer.getLatLngs(),d=h[h.length-1];if(a.equals(h[0])||h.length>0&&a.equals(d)){this._finishShape();return}this._layer._latlngInfo=this._layer._latlngInfo||[],this._layer._latlngInfo.push({latlng:a,snapInfo:this._hintMarker._snapInfo}),this._layer.addLatLng(a);let m=this._createMarker(a);this._setTooltipText(),this._setHintLineAfterNewVertex(a),this._fireVertexAdded(m,void 0,a,"Draw"),this._change(this._layer.getLatLngs()),this.options.finishOn==="snap"&&this._hintMarker._snapped&&this._finishShape(r)},_setHintLineAfterNewVertex(r){this._hintline.setLatLngs([r,r])},_removeLastVertex(){let r=this._markers;if(r.length<=1){this.disable();return}let a=this._layer.getLatLngs(),h=r[r.length-1],{indexPath:d}=L.PM.Utils.findDeepMarkerIndex(r,h);r.pop(),this._layerGroup.removeLayer(h);let m=r[r.length-1],g=a.indexOf(m.getLatLng());a=a.slice(0,g+1),this._layer.setLatLngs(a),this._layer._latlngInfo.pop(),this._syncHintLine(),this._setTooltipText(),this._fireVertexRemoved(h,d,"Draw"),this._change(this._layer.getLatLngs())},_finishShape(){if(!this.options.allowSelfIntersection&&(this._handleSelfIntersection(!1),this._doesSelfIntersect)||this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;let r=this._layer.getLatLngs();if(r.length<=1)return;let a=L.polyline(r,this.options.pathOptions);this._setPane(a,"layerPane"),this._finishLayer(a),a.addTo(this._map.pm._getContainingLayer()),this._fireCreate(a),this.options.snappable&&this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()},_createMarker(r){let a=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(a,"vertexPane"),a._pmTempLayer=!0,this._layerGroup.addLayer(a),this._markers.push(a),a.on("click",this._finishShape,this),a},_setTooltipText(){let{length:r}=this._layer.getLatLngs().flat(),a="";r<=1?a=Te("tooltips.continueLine"):a=Te("tooltips.finishLine"),this._hintMarker.setTooltipContent(a)},_change(r){this._fireChange(r,"Draw")},setStyle(){var r,a;(r=this._layer)==null||r.setStyle(this.options.templineStyle),(a=this._hintline)==null||a.setStyle(this.options.hintlineStyle)}}),Mn.Polygon=Mn.Line.extend({initialize(r){this._map=r,this._shape="Polygon",this.toolbarButtonName="drawPolygon"},enable(r){L.PM.Draw.Line.prototype.enable.call(this,r),this._layer.pm._shape="Polygon"},_createMarker(r){let a=new L.Marker(r,{draggable:!1,icon:L.divIcon({className:"marker-icon"})});return this._setPane(a,"vertexPane"),a._pmTempLayer=!0,this._layerGroup.addLayer(a),this._markers.push(a),this._layer.getLatLngs().flat().length===1?(a.on("click",this._finishShape,this),this._tempSnapLayerIndex=this._otherSnapLayers.push(a)-1,this.options.snappable&&this._cleanupSnapping()):a.on("click",()=>1),a},_setTooltipText(){let{length:r}=this._layer.getLatLngs().flat(),a="";r<=2?a=Te("tooltips.continueLine"):a=Te("tooltips.finishPoly"),this._hintMarker.setTooltipContent(a)},_finishShape(){if(!this.options.allowSelfIntersection&&(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),this._doesSelfIntersect)||this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;let r=this._layer.getLatLngs();if(r.length<=2)return;let a=L.polygon(r,this.options.pathOptions);this._setPane(a,"layerPane"),this._finishLayer(a),a.addTo(this._map.pm._getContainingLayer()),this._fireCreate(a),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this.disable(),this.options.continueDrawing&&this.enable()}}),Mn.Rectangle=Mn.extend({initialize(r){this._map=r,this._shape="Rectangle",this.toolbarButtonName="drawRectangle"},enable(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(Te("tooltips.firstVertex"),{permanent:!0,offset:L.point(0,10),direction:"bottom",opacity:.8}).openTooltip(),this.options.cursorMarker){this._styleMarkers=[];for(let a=0;a<2;a+=1){let h=L.marker(this._map.getCenter(),{icon:L.divIcon({className:"marker-icon rect-style-marker"}),draggable:!1,zIndexOffset:100});this._setPane(h,"vertexPane"),h._pmTempLayer=!0,this._layerGroup.addLayer(h),this._styleMarkers.push(h)}}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(){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(){return this._enabled},toggle(r){this.enabled()?this.disable():this.enable(r)},_placeStartingMarkers(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng();L.DomUtil.addClass(this._startMarker._icon,"visible"),this._startMarker.setLatLng(a),this.options.cursorMarker&&this._styleMarkers&&this._styleMarkers.forEach(h=>{L.DomUtil.addClass(h._icon,"visible"),h.setLatLng(a)}),this._map.off("click",this._placeStartingMarkers,this),this._map.on("click",this._finishShape,this),this._hintMarker.setTooltipContent(Te("tooltips.finishRect")),this._setRectangleOrigin()},_setRectangleOrigin(){let r=this._startMarker.getLatLng();r&&(this._layerGroup.addLayer(this._layer),this._layer.setLatLngs([r,r]),this._hintMarker.on("move",this._syncRectangleSize,this))},_syncHintMarker(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){let h=r;h.target=this._hintMarker,this._handleSnapping(h)}let a=this._layerGroup&&this._layerGroup.hasLayer(this._layer)?this._layer.getLatLngs():[this._hintMarker.getLatLng()];this._fireChange(a,"Draw")},_syncRectangleSize(){let r=Io(this._startMarker.getLatLng(),this._map),a=Io(this._hintMarker.getLatLng(),this._map),h=L.PM.Utils._getRotatedRectangle(r,a,this.options.rectangleAngle||0,this._map);if(this._layer.setLatLngs(h),this.options.cursorMarker&&this._styleMarkers){let d=[];h.forEach(m=>{!m.equals(r,1e-8)&&!m.equals(a,1e-8)&&d.push(m)}),d.forEach((m,g)=>{try{this._styleMarkers[g].setLatLng(m)}catch{}})}},_findCorners(){let r=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(r[0],r[2],this.options.rectangleAngle||0,this._map)},_finishShape(r){this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng(),h=this._startMarker.getLatLng();if(this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer()||h.equals(a))return;let d=L.rectangle([h,a],this.options.pathOptions);if(this.options.rectangleAngle){let m=L.PM.Utils._getRotatedRectangle(h,a,this.options.rectangleAngle||0,this._map);d.setLatLngs(m),d.pm&&d.pm._setAngle(this.options.rectangleAngle||0)}this._setPane(d,"layerPane"),this._finishLayer(d),d.addTo(this._map.pm._getContainingLayer()),this._fireCreate(d),this.disable(),this.options.continueDrawing&&this.enable()},setStyle(){var r;(r=this._layer)==null||r.setStyle(this.options.pathOptions)}}),Mn.CircleMarker=Mn.extend({initialize(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(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]){let a={};L.extend(a,this.options.templineStyle),a.radius=0,this._layerGroup=new L.FeatureGroup,this._layerGroup._pmTempLayer=!0,this._layerGroup.addTo(this._map),this._layer=new this._BaseCircleClass(this._map.getCenter(),a),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(Te("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(),{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(Te("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(){!this.options[this._editableOption]&&this.options.markerEditable&&this._map.eachLayer(r=>{this.isRelevantMarker(r)&&r.pm.enable()}),this._layer.bringToBack()},disable(){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(){this._map.eachLayer(r=>{this.isRelevantMarker(r)&&r.pm.disable()})},enabled(){return this._enabled},toggle(r){this.enabled()?this.disable():this.enable(r)},_placeCenterMarker(r){this._layerGroup.addLayer(this._layer),this._layerGroup.addLayer(this._centerMarker),this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng();this._layerGroup.addLayer(this._layer),this._centerMarker.setLatLng(a),this._map.off("click",this._placeCenterMarker,this),this._map.on("click",this._finishShape,this),this._placeCircleCenter()},_placeCircleCenter(){let 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(Te("tooltips.finishCircle")),this._fireCenterPlaced(),this._fireChange(this._layer.getLatLng(),"Draw"))},_syncHintLine(){let r=this._centerMarker.getLatLng(),a=this._getNewDestinationOfHintMarker();this._hintline.setLatLngs([r,a])},_syncCircleRadius(){let r=this._centerMarker.getLatLng(),a=this._hintMarker.getLatLng(),h=this._distanceCalculation(r,a);this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]?this._layer.setRadius(this.options[this._maxRadiusOption]):this._layer.setRadius(h)},_syncHintMarker(r){if(this._hintMarker.setLatLng(r.latlng),this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker()),this.options.snappable){let h=r;h.target=this._hintMarker,this._handleSnapping(h)}this._handleHintMarkerSnapping();let a=this._layerGroup&&this._layerGroup.hasLayer(this._centerMarker)?this._centerMarker.getLatLng():this._hintMarker.getLatLng();this._fireChange(a,"Draw")},isRelevantMarker(r){return r instanceof L.CircleMarker&&!(r instanceof L.Circle)&&r.pm&&!r._pmTempLayer},_createMarker(r){if(this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer()||!r.latlng||this._layerIsDragging)return;this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng(),h=new this._BaseCircleClass(a,{radius:this._defaultRadius,...this.options.pathOptions});this._setPane(h,"layerPane"),this._finishLayer(h),h.addTo(this._map.pm._getContainingLayer()),this._extendingCreateMarker(h),this._fireCreate(h),this._cleanupSnapping(),this.options.continueDrawing||this.disable()},_extendingCreateMarker(r){r.pm&&this.options.markerEditable&&r.pm.enable()},_finishShape(r){if(this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._centerMarker.getLatLng(),h=this._defaultRadius;if(this.options[this._editableOption]){let g=this._hintMarker.getLatLng();h=this._distanceCalculation(a,g),this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]&&(h=this.options[this._maxRadiusOption])}let d={...this.options.pathOptions,radius:h},m=new this._BaseCircleClass(a,d);this._setPane(m,"layerPane"),this._finishLayer(m),m.addTo(this._map.pm._getContainingLayer()),m.pm&&m.pm._updateHiddenPolyCircle(),this._fireCreate(m),this.disable(),this.options.continueDrawing&&this.enable()},_getNewDestinationOfHintMarker(){let r=this._hintMarker.getLatLng();if(this.options[this._editableOption]){if(!this._layerGroup.hasLayer(this._centerMarker))return r;let a=this._centerMarker.getLatLng(),h=this._distanceCalculation(a,r);this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]&&(r=Qr(this._map,a,r,this._getMaxDistanceInMeter()))}return r},_getMinDistanceInMeter(){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._minRadiusOption],this._map,this._centerMarker.getLatLng())},_getMaxDistanceInMeter(){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._maxRadiusOption],this._map,this._centerMarker.getLatLng())},_handleHintMarkerSnapping(){if(this.options[this._editableOption]){if(this._hintMarker._snapped){let r=this._centerMarker.getLatLng(),a=this._hintMarker.getLatLng(),h=this._distanceCalculation(r,a);this._layerGroup.hasLayer(this._centerMarker)&&(this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]&&this._hintMarker.setLatLng(this._hintMarker._orgLatLng))}this._hintMarker.setLatLng(this._getNewDestinationOfHintMarker())}},setStyle(){var a,h;let r={};L.extend(r,this.options.templineStyle),this.options[this._editableOption]&&(r.radius=0),(a=this._layer)==null||a.setStyle(r),(h=this._hintline)==null||h.setStyle(this.options.hintlineStyle)},_distanceCalculation(r,a){return this._map.project(r).distanceTo(this._map.project(a))}}),Mn.Circle=Mn.CircleMarker.extend({initialize(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(){},_extendingDisable(){},_extendingCreateMarker(){},isRelevantMarker(){},_getMinDistanceInMeter(){return this.options[this._minRadiusOption]},_getMaxDistanceInMeter(){return this.options[this._maxRadiusOption]},_distanceCalculation(r,a){return this._map.distance(r,a)}});function Qn(r){if(!r)throw new Error("coord is required");if(!Array.isArray(r)){if(r.type==="Feature"&&r.geometry!==null&&r.geometry.type==="Point")return r.geometry.coordinates;if(r.type==="Point")return r.coordinates}if(Array.isArray(r)&&r.length>=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 ti(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 No(r){return r.type==="Feature"?r.geometry:r}function Ml(r,a){return r.type==="FeatureCollection"?"FeatureCollection":r.type==="GeometryCollection"?"GeometryCollection":r.type==="Feature"&&r.geometry!==null?r.geometry.type:r.type}function jo(r,a,h){if(r!==null)for(var d,m,g,x,k,E,S,H=0,j=0,ut,_t=r.type,Bt=_t==="FeatureCollection",Kt=_t==="Feature",te=Bt?r.features.length:1,Ae=0;Aem?h:m,S=d>g?d:g;return[x,k,E,S]}var ar=Bi,Sl=_(Xi(),1);function zo(r,a){var h={},d=[];if(r.type==="LineString"&&(r=Cr(r)),a.type==="LineString"&&(a=Cr(a)),r.type==="Feature"&&a.type==="Feature"&&r.geometry!==null&&a.geometry!==null&&r.geometry.type==="LineString"&&a.geometry.type==="LineString"&&r.geometry.coordinates.length===2&&a.geometry.coordinates.length===2){var m=Pl(r,a);return m&&d.push(m),ui(d)}var g=(0,Sl.default)();return g.load(ar(a)),eo(ar(r),function(x){eo(g.search(x),function(k){var E=Pl(x,k);if(E){var S=ti(E).join(",");h[S]||(h[S]=!0,d.push(E))}})}),ui(d)}function Pl(r,a){var h=ti(r),d=ti(a);if(h.length!==2)throw new Error(" line1 must only contain 2 coordinates");if(d.length!==2)throw new Error(" line2 must only contain 2 coordinates");var m=h[0][0],g=h[0][1],x=h[1][0],k=h[1][1],E=d[0][0],S=d[0][1],H=d[1][0],j=d[1][1],ut=(j-S)*(x-m)-(H-E)*(k-g),_t=(H-E)*(g-S)-(j-S)*(m-E),Bt=(x-m)*(g-S)-(k-g)*(m-E);if(ut===0)return null;var Kt=_t/ut,te=Bt/ut;if(Kt>=0&&Kt<=1&&te>=0&&te<=1){var Ae=m+Kt*(x-m),U=g+Kt*(k-g);return rr([Ae,U])}return null}var Nn=zo,no=_(Xi(),1);function wc(r,a,h){h===void 0&&(h={});var d=Qn(r),m=Qn(a),g=nn(m[1]-d[1]),x=nn(m[0]-d[0]),k=nn(d[1]),E=nn(m[1]),S=Math.pow(Math.sin(g/2),2)+Math.pow(Math.sin(x/2),2)*Math.cos(k)*Math.cos(E);return or(2*Math.atan2(Math.sqrt(S),Math.sqrt(1-S)),h.units)}var Ti=wc;function Lc(r){var a=r[0],h=r[1],d=r[2],m=r[3],g=Ti(r.slice(0,2),[d,h]),x=Ti(r.slice(0,2),[a,m]);if(g>=x){var k=(h+m)/2;return[a,k-(d-a)/2,d,k+(d-a)/2]}else{var E=(a+d)/2;return[E-(m-h)/2,h,E+(m-h)/2,m]}}var Ai=Lc;function Ks(r){var a=[1/0,1/0,-1/0,-1/0];return jo(r,function(h){a[0]>h[0]&&(a[0]=h[0]),a[1]>h[1]&&(a[1]=h[1]),a[2] is required");if(typeof h!="number")throw new Error(" must be a number");if(typeof d!="number")throw new Error(" must be a number");(m===!1||m===void 0)&&(r=JSON.parse(JSON.stringify(r)));var g=Math.pow(10,h);return jo(r,function(x){Oi(x,g,d)}),r}function Oi(r,a,h){r.length>h&&r.splice(h,r.length);for(var d=0;d0&&(te=Kt.features[0],te.properties.dist=Ti(a,te,h),te.properties.location=m+Ti(E,te,h)),E.properties.dist1&&h.push(kr(H)),ui(h)}function Xs(r,a){if(!a.features.length)throw new Error("lines must contain features");if(a.features.length===1)return a.features[0];var h,d=1/0;return eo(a,function(m){var g=Go(m,r),x=g.properties.dist;xr[1]!=S>r[1]&&r[0]<(E-x)*(r[1]-k)/(S-k)+x;j&&(d=!d)}return d}function kc(r,a){return a[0]<=r[0]&&a[1]<=r[1]&&a[2]>=r[0]&&a[3]>=r[1]}function Bl(r,a,h){h===void 0&&(h={});for(var d=Qn(r),m=ti(a),g=0;g"u"?null:h.epsilon))return!0}return!1}function Ec(r,a,h,d,m){var g=h[0],x=h[1],k=r[0],E=r[1],S=a[0],H=a[1],j=h[0]-k,ut=h[1]-E,_t=S-k,Bt=H-E,Kt=j*Bt-ut*_t;if(m!==null){if(Math.abs(Kt)>m)return!1}else if(Kt!==0)return!1;if(d){if(d==="start")return Math.abs(_t)>=Math.abs(Bt)?_t>0?k0?E=Math.abs(Bt)?_t>0?k<=g&&g0?E<=x&&x=Math.abs(Bt)?_t>0?k0?E=Math.abs(Bt)?_t>0?k<=g&&g<=S:S<=g&&g<=k:Bt>0?E<=x&&x<=H:H<=x&&x<=E;return!1}var jn=Bl;function Ho(r,a){var h=No(r),d=No(a),m=h.type,g=d.type,x=h.coordinates,k=d.coordinates;switch(m){case"Point":switch(g){case"Point":return qo(x,k);default:throw new Error("feature2 "+g+" geometry not supported")}case"MultiPoint":switch(g){case"Point":return Mc(h,d);case"MultiPoint":return Zo(h,d);default:throw new Error("feature2 "+g+" geometry not supported")}case"LineString":switch(g){case"Point":return jn(d,h,{ignoreEndVertices:!0});case"LineString":return Pc(h,d);case"MultiPoint":return Sc(h,d);default:throw new Error("feature2 "+g+" geometry not supported")}case"Polygon":switch(g){case"Point":return $o(d,h,{ignoreBoundary:!0});case"LineString":return so(h,d);case"Polygon":return Bc(h,d);case"MultiPoint":return Tl(h,d);default:throw new Error("feature2 "+g+" geometry not supported")}default:throw new Error("feature1 "+m+" geometry not supported")}}function Mc(r,a){var h,d=!1;for(h=0;ha[0]||r[2]a[1]||r[3]()=>r,Ko=r=>{let a=r?(h,d)=>d.minus(h).abs().isLessThanOrEqualTo(r):vi(!1);return(h,d)=>a(h,d)?0:h.comparedTo(d)};function Ol(r){let a=r?(h,d,m,g,x)=>h.exponentiatedBy(2).isLessThanOrEqualTo(g.minus(d).exponentiatedBy(2).plus(x.minus(m).exponentiatedBy(2)).times(r)):vi(!1);return(h,d,m)=>{let g=h.x,x=h.y,k=m.x,E=m.y,S=x.minus(E).times(d.x.minus(k)).minus(g.minus(k).times(d.y.minus(E)));return a(S,g,x,k,E)?0:S.comparedTo(0)}}var ao=/^-?(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?$/i,ea=Math.ceil,Rn=Math.floor,vn="[BigNumber Error] ",na=vn+"Number primitive has more than 15 significant digits: ",ei=1e14,_e=14,Wo=9007199254740991,Jo=[1,10,100,1e3,1e4,1e5,1e6,1e7,1e8,1e9,1e10,1e11,1e12,1e13],Ri=1e7,pn=1e9;function ia(r){var a,h,d,m=U.prototype={constructor:U,toString:null,valueOf:null},g=new U(1),x=20,k=4,E=-7,S=21,H=-1e7,j=1e7,ut=!1,_t=1,Bt=0,Kt={prefix:"",groupSize:3,secondaryGroupSize:0,groupSeparator:",",decimalSeparator:".",fractionGroupSize:0,fractionGroupSeparator:" ",suffix:""},te="0123456789abcdefghijklmnopqrstuvwxyz",Ae=!0;function U(M,O){var D,R,I,N,Y,J,et,lt,at=this;if(!(at instanceof U))return new U(M,O);if(O==null){if(M&&M._isBigNumber===!0){at.s=M.s,!M.c||M.e>j?at.c=at.e=null:M.e=10;Y/=10,N++);N>j?at.c=at.e=null:(at.e=N,at.c=[M]);return}lt=String(M)}else{if(!ao.test(lt=String(M)))return d(at,lt,J);at.s=lt.charCodeAt(0)==45?(lt=lt.slice(1),-1):1}(N=lt.indexOf("."))>-1&&(lt=lt.replace(".","")),(Y=lt.search(/e/i))>0?(N<0&&(N=Y),N+=+lt.slice(Y+1),lt=lt.substring(0,Y)):N<0&&(N=lt.length)}else{if(tn(O,2,te.length,"Base"),O==10&&Ae)return at=new U(M),st(at,x+at.e+1,k);if(lt=String(M),J=typeof M=="number"){if(M*0!=0)return d(at,lt,J,O);if(at.s=1/M<0?(lt=lt.slice(1),-1):1,U.DEBUG&<.replace(/^0\.0*|\./,"").length>15)throw Error(na+M)}else at.s=lt.charCodeAt(0)===45?(lt=lt.slice(1),-1):1;for(D=te.slice(0,O),N=Y=0,et=lt.length;YN){N=et;continue}}else if(!I&&(lt==lt.toUpperCase()&&(lt=lt.toLowerCase())||lt==lt.toLowerCase()&&(lt=lt.toUpperCase()))){I=!0,Y=-1,N=0;continue}return d(at,String(M),J,O)}J=!1,lt=h(lt,O,10,at.s),(N=lt.indexOf("."))>-1?lt=lt.replace(".",""):N=lt.length}for(Y=0;lt.charCodeAt(Y)===48;Y++);for(et=lt.length;lt.charCodeAt(--et)===48;);if(lt=lt.slice(Y,++et)){if(et-=Y,J&&U.DEBUG&&et>15&&(M>Wo||M!==Rn(M)))throw Error(na+at.s*M);if((N=N-Y-1)>j)at.c=at.e=null;else if(N=-pn&&I<=pn&&I===Rn(I)){if(R[0]===0){if(I===0&&R.length===1)return!0;break t}if(O=(I+1)%_e,O<1&&(O+=_e),String(R[0]).length==O){for(O=0;O=ei||D!==Rn(D))break t;if(D!==0)return!0}}}else if(R===null&&I===null&&(N===null||N===1||N===-1))return!0;throw Error(vn+"Invalid BigNumber: "+M)},U.maximum=U.max=function(){return it(arguments,-1)},U.minimum=U.min=function(){return it(arguments,1)},U.random=function(){var M=9007199254740992,O=Math.random()*M&2097151?function(){return Rn(Math.random()*M)}:function(){return(Math.random()*1073741824|0)*8388608+(Math.random()*8388608|0)};return function(D){var R,I,N,Y,J,et=0,lt=[],at=new U(g);if(D==null?D=x:tn(D,0,pn),Y=ea(D/_e),ut)if(crypto.getRandomValues){for(R=crypto.getRandomValues(new Uint32Array(Y*=2));et>>11),J>=9e15?(I=crypto.getRandomValues(new Uint32Array(2)),R[et]=I[0],R[et+1]=I[1]):(lt.push(J%1e14),et+=2);et=Y/2}else if(crypto.randomBytes){for(R=crypto.randomBytes(Y*=7);et=9e15?crypto.randomBytes(7).copy(R,et):(lt.push(J%1e14),et+=7);et=Y/7}else throw ut=!1,Error(vn+"crypto unavailable");if(!ut)for(;et=10;J/=10,et++);et<_e&&(N-=_e-et)}return at.e=N,at.c=lt,at}}(),U.sum=function(){for(var M=1,O=arguments,D=new U(O[0]);MI-1&&(J[Y+1]==null&&(J[Y+1]=0),J[Y+1]+=J[Y]/I|0,J[Y]%=I)}return J.reverse()}return function(D,R,I,N,Y){var J,et,lt,at,Ct,Qt,ne,ue,Ve=D.indexOf("."),qe=x,Ie=k;for(Ve>=0&&(at=Bt,Bt=0,D=D.replace(".",""),ue=new U(R),Qt=ue.pow(D.length-Ve),Bt=at,ue.c=O(p(Zn(Qt.c),Qt.e,"0"),10,I,M),ue.e=ue.c.length),ne=O(D,R,I,Y?(J=te,M):(J=M,te)),lt=at=ne.length;ne[--at]==0;ne.pop());if(!ne[0])return J.charAt(0);if(Ve<0?--lt:(Qt.c=ne,Qt.e=lt,Qt.s=N,Qt=a(Qt,ue,qe,Ie,I),ne=Qt.c,Ct=Qt.r,lt=Qt.e),et=lt+qe+1,Ve=ne[et],at=I/2,Ct=Ct||et<0||ne[et+1]!=null,Ct=Ie<4?(Ve!=null||Ct)&&(Ie==0||Ie==(Qt.s<0?3:2)):Ve>at||Ve==at&&(Ie==4||Ct||Ie==6&&ne[et-1]&1||Ie==(Qt.s<0?8:7)),et<1||!ne[0])D=Ct?p(J.charAt(1),-qe,J.charAt(0)):J.charAt(0);else{if(ne.length=et,Ct)for(--I;++ne[--et]>I;)ne[et]=0,et||(++lt,ne=[1].concat(ne));for(at=ne.length;!ne[--at];);for(Ve=0,D="";Ve<=at;D+=J.charAt(ne[Ve++]));D=p(D,lt,J.charAt(0))}return D}}(),a=function(){function M(R,I,N){var Y,J,et,lt,at=0,Ct=R.length,Qt=I%Ri,ne=I/Ri|0;for(R=R.slice();Ct--;)et=R[Ct]%Ri,lt=R[Ct]/Ri|0,Y=ne*et+lt*Qt,J=Qt*et+Y%Ri*Ri+at,at=(J/N|0)+(Y/Ri|0)+ne*lt,R[Ct]=J%N;return at&&(R=[at].concat(R)),R}function O(R,I,N,Y){var J,et;if(N!=Y)et=N>Y?1:-1;else for(J=et=0;JI[J]?1:-1;break}return et}function D(R,I,N,Y){for(var J=0;N--;)R[N]-=J,J=R[N]1;R.splice(0,1));}return function(R,I,N,Y,J){var et,lt,at,Ct,Qt,ne,ue,Ve,qe,Ie,Ke,zn,Gl,Dc,Ic,qi,sa,xi=R.s==I.s?1:-1,qn=R.c,hn=I.c;if(!qn||!qn[0]||!hn||!hn[0])return new U(!R.s||!I.s||(qn?hn&&qn[0]==hn[0]:!hn)?NaN:qn&&qn[0]==0||!hn?xi*0:xi/0);for(Ve=new U(xi),qe=Ve.c=[],lt=R.e-I.e,xi=N+lt+1,J||(J=ei,lt=ni(R.e/_e)-ni(I.e/_e),xi=xi/_e|0),at=0;hn[at]==(qn[at]||0);at++);if(hn[at]>(qn[at]||0)&<--,xi<0)qe.push(1),Ct=!0;else{for(Dc=qn.length,qi=hn.length,at=0,xi+=2,Qt=Rn(J/(hn[0]+1)),Qt>1&&(hn=M(hn,Qt,J),qn=M(qn,Qt,J),qi=hn.length,Dc=qn.length),Gl=qi,Ie=qn.slice(0,qi),Ke=Ie.length;Ke=J/2&&Ic++;do{if(Qt=0,et=O(hn,Ie,qi,Ke),et<0){if(zn=Ie[0],qi!=Ke&&(zn=zn*J+(Ie[1]||0)),Qt=Rn(zn/Ic),Qt>1)for(Qt>=J&&(Qt=J-1),ne=M(hn,Qt,J),ue=ne.length,Ke=Ie.length;O(ne,Ie,ue,Ke)==1;)Qt--,D(ne,qi=10;xi/=10,at++);st(Ve,N+(Ve.e=at+lt*_e-1)+1,Y,Ct)}else Ve.e=lt,Ve.r=+Ct;return Ve}}();function W(M,O,D,R){var I,N,Y,J,et;if(D==null?D=k:tn(D,0,8),!M.c)return M.toString();if(I=M.c[0],Y=M.e,O==null)et=Zn(M.c),et=R==1||R==2&&(Y<=E||Y>=S)?l(et,Y):p(et,Y,"0");else if(M=st(new U(M),O,D),N=M.e,et=Zn(M.c),J=et.length,R==1||R==2&&(O<=N||N<=E)){for(;JJ){if(--O>0)for(et+=".";O--;et+="0");}else if(O+=N-J,O>0)for(N+1==J&&(et+=".");O--;et+="0");return M.s<0&&I?"-"+et:et}function it(M,O){for(var D,R,I=1,N=new U(M[0]);I=10;I/=10,R++);return(D=R+D*_e-1)>j?M.c=M.e=null:D=10;J/=10,I++);if(N=O-I,N<0)N+=_e,Y=O,et=Ct[lt=0],at=Rn(et/Qt[I-Y-1]%10);else if(lt=ea((N+1)/_e),lt>=Ct.length)if(R){for(;Ct.length<=lt;Ct.push(0));et=at=0,I=1,N%=_e,Y=N-_e+1}else break t;else{for(et=J=Ct[lt],I=1;J>=10;J/=10,I++);N%=_e,Y=N-_e+I,at=Y<0?0:Rn(et/Qt[I-Y-1]%10)}if(R=R||O<0||Ct[lt+1]!=null||(Y<0?et:et%Qt[I-Y-1]),R=D<4?(at||R)&&(D==0||D==(M.s<0?3:2)):at>5||at==5&&(D==4||R||D==6&&(N>0?Y>0?et/Qt[I-Y]:0:Ct[lt-1])%10&1||D==(M.s<0?8:7)),O<1||!Ct[0])return Ct.length=0,R?(O-=M.e+1,Ct[0]=Qt[(_e-O%_e)%_e],M.e=-O||0):Ct[0]=M.e=0,M;if(N==0?(Ct.length=lt,J=1,lt--):(Ct.length=lt+1,J=Qt[_e-N],Ct[lt]=Y>0?Rn(et/Qt[I-Y]%Qt[Y])*J:0),R)for(;;)if(lt==0){for(N=1,Y=Ct[0];Y>=10;Y/=10,N++);for(Y=Ct[0]+=J,J=1;Y>=10;Y/=10,J++);N!=J&&(M.e++,Ct[0]==ei&&(Ct[0]=1));break}else{if(Ct[lt]+=J,Ct[lt]!=ei)break;Ct[lt--]=0,J=1}for(N=Ct.length;Ct[--N]===0;Ct.pop());}M.e>j?M.c=M.e=null:M.e=S?l(O,D):p(O,D,"0"),M.s<0?"-"+O:O)}return m.absoluteValue=m.abs=function(){var M=new U(this);return M.s<0&&(M.s=1),M},m.comparedTo=function(M,O){return Hi(this,new U(M,O))},m.decimalPlaces=m.dp=function(M,O){var D,R,I,N=this;if(M!=null)return tn(M,0,pn),O==null?O=k:tn(O,0,8),st(new U(N),M+N.e+1,O);if(!(D=N.c))return null;if(R=((I=D.length-1)-ni(this.e/_e))*_e,I=D[I])for(;I%10==0;I/=10,R--);return R<0&&(R=0),R},m.dividedBy=m.div=function(M,O){return a(this,new U(M,O),x,k)},m.dividedToIntegerBy=m.idiv=function(M,O){return a(this,new U(M,O),0,1)},m.exponentiatedBy=m.pow=function(M,O){var D,R,I,N,Y,J,et,lt,at,Ct=this;if(M=new U(M),M.c&&!M.isInteger())throw Error(vn+"Exponent not an integer: "+ht(M));if(O!=null&&(O=new U(O)),J=M.e>14,!Ct.c||!Ct.c[0]||Ct.c[0]==1&&!Ct.e&&Ct.c.length==1||!M.c||!M.c[0])return at=new U(Math.pow(+ht(Ct),J?M.s*(2-n(M)):+ht(M))),O?at.mod(O):at;if(et=M.s<0,O){if(O.c?!O.c[0]:!O.s)return new U(NaN);R=!et&&Ct.isInteger()&&O.isInteger(),R&&(Ct=Ct.mod(O))}else{if(M.e>9&&(Ct.e>0||Ct.e<-1||(Ct.e==0?Ct.c[0]>1||J&&Ct.c[1]>=24e7:Ct.c[0]<8e13||J&&Ct.c[0]<=9999975e7)))return N=Ct.s<0&&n(M)?-0:0,Ct.e>-1&&(N=1/N),new U(et?1/N:N);Bt&&(N=ea(Bt/_e+2))}for(J?(D=new U(.5),et&&(M.s=1),lt=n(M)):(I=Math.abs(+ht(M)),lt=I%2),at=new U(g);;){if(lt){if(at=at.times(Ct),!at.c)break;N?at.c.length>N&&(at.c.length=N):R&&(at=at.mod(O))}if(I){if(I=Rn(I/2),I===0)break;lt=I%2}else if(M=M.times(D),st(M,M.e+1,1),M.e>14)lt=n(M);else{if(I=+ht(M),I===0)break;lt=I%2}Ct=Ct.times(Ct),N?Ct.c&&Ct.c.length>N&&(Ct.c.length=N):R&&(Ct=Ct.mod(O))}return R?at:(et&&(at=g.div(at)),O?at.mod(O):N?st(at,Bt,k,Y):at)},m.integerValue=function(M){var O=new U(this);return M==null?M=k:tn(M,0,8),st(O,O.e+1,M)},m.isEqualTo=m.eq=function(M,O){return Hi(this,new U(M,O))===0},m.isFinite=function(){return!!this.c},m.isGreaterThan=m.gt=function(M,O){return Hi(this,new U(M,O))>0},m.isGreaterThanOrEqualTo=m.gte=function(M,O){return(O=Hi(this,new U(M,O)))===1||O===0},m.isInteger=function(){return!!this.c&&ni(this.e/_e)>this.c.length-2},m.isLessThan=m.lt=function(M,O){return Hi(this,new U(M,O))<0},m.isLessThanOrEqualTo=m.lte=function(M,O){return(O=Hi(this,new U(M,O)))===-1||O===0},m.isNaN=function(){return!this.s},m.isNegative=function(){return this.s<0},m.isPositive=function(){return this.s>0},m.isZero=function(){return!!this.c&&this.c[0]==0},m.minus=function(M,O){var D,R,I,N,Y=this,J=Y.s;if(M=new U(M,O),O=M.s,!J||!O)return new U(NaN);if(J!=O)return M.s=-O,Y.plus(M);var et=Y.e/_e,lt=M.e/_e,at=Y.c,Ct=M.c;if(!et||!lt){if(!at||!Ct)return at?(M.s=-O,M):new U(Ct?Y:NaN);if(!at[0]||!Ct[0])return Ct[0]?(M.s=-O,M):new U(at[0]?Y:k==3?-0:0)}if(et=ni(et),lt=ni(lt),at=at.slice(),J=et-lt){for((N=J<0)?(J=-J,I=at):(lt=et,I=Ct),I.reverse(),O=J;O--;I.push(0));I.reverse()}else for(R=(N=(J=at.length)<(O=Ct.length))?J:O,J=O=0;O0)for(;O--;at[D++]=0);for(O=ei-1;R>J;){if(at[--R]=0;){for(D=0,Qt=zn[I]%qe,ne=zn[I]/qe|0,Y=et,N=I+Y;N>I;)lt=Ke[--Y]%qe,at=Ke[Y]/qe|0,J=ne*lt+at*Qt,lt=Qt*lt+J%qe*qe+ue[N]+D,D=(lt/Ve|0)+(J/qe|0)+ne*at,ue[N--]=lt%Ve;ue[N]=D}return D?++R:ue.splice(0,1),mt(M,ue,R)},m.negated=function(){var M=new U(this);return M.s=-M.s||null,M},m.plus=function(M,O){var D,R=this,I=R.s;if(M=new U(M,O),O=M.s,!I||!O)return new U(NaN);if(I!=O)return M.s=-O,R.minus(M);var N=R.e/_e,Y=M.e/_e,J=R.c,et=M.c;if(!N||!Y){if(!J||!et)return new U(I/0);if(!J[0]||!et[0])return et[0]?M:new U(J[0]?R:I*0)}if(N=ni(N),Y=ni(Y),J=J.slice(),I=N-Y){for(I>0?(Y=N,D=et):(I=-I,D=J),D.reverse();I--;D.push(0));D.reverse()}for(I=J.length,O=et.length,I-O<0&&(D=et,et=J,J=D,O=I),I=0;O;)I=(J[--O]=J[O]+et[O]+I)/ei|0,J[O]=ei===J[O]?0:J[O]%ei;return I&&(J=[I].concat(J),++Y),mt(M,J,Y)},m.precision=m.sd=function(M,O){var D,R,I,N=this;if(M!=null&&M!==!!M)return tn(M,1,pn),O==null?O=k:tn(O,0,8),st(new U(N),M,O);if(!(D=N.c))return null;if(I=D.length-1,R=I*_e+1,I=D[I]){for(;I%10==0;I/=10,R--);for(I=D[0];I>=10;I/=10,R++);}return M&&N.e+1>R&&(R=N.e+1),R},m.shiftedBy=function(M){return tn(M,-Wo,Wo),this.times("1e"+M)},m.squareRoot=m.sqrt=function(){var M,O,D,R,I,N=this,Y=N.c,J=N.s,et=N.e,lt=x+4,at=new U("0.5");if(J!==1||!Y||!Y[0])return new U(!J||J<0&&(!Y||Y[0])?NaN:Y?N:1/0);if(J=Math.sqrt(+ht(N)),J==0||J==1/0?(O=Zn(Y),(O.length+et)%2==0&&(O+="0"),J=Math.sqrt(+O),et=ni((et+1)/2)-(et<0||et%2),J==1/0?O="5e"+et:(O=J.toExponential(),O=O.slice(0,O.indexOf("e")+1)+et),D=new U(O)):D=new U(J+""),D.c[0]){for(et=D.e,J=et+lt,J<3&&(J=0);;)if(I=D,D=at.times(I.plus(a(N,I,lt,1))),Zn(I.c).slice(0,J)===(O=Zn(D.c)).slice(0,J))if(D.e0&&ue>0){for(N=ue%J||J,at=ne.substr(0,N);N0&&(at+=lt+ne.slice(N)),Qt&&(at="-"+at)}R=Ct?at+(D.decimalSeparator||"")+((et=+D.fractionGroupSize)?Ct.replace(new RegExp("\\d{"+et+"}\\B","g"),"$&"+(D.fractionGroupSeparator||"")):Ct):at}return(D.prefix||"")+R+(D.suffix||"")},m.toFraction=function(M){var O,D,R,I,N,Y,J,et,lt,at,Ct,Qt,ne=this,ue=ne.c;if(M!=null&&(J=new U(M),!J.isInteger()&&(J.c||J.s!==1)||J.lt(g)))throw Error(vn+"Argument "+(J.isInteger()?"out of range: ":"not an integer: ")+ht(J));if(!ue)return new U(ne);for(O=new U(g),lt=D=new U(g),R=et=new U(g),Qt=Zn(ue),N=O.e=Qt.length-ne.e-1,O.c[0]=Jo[(Y=N%_e)<0?_e+Y:Y],M=!M||J.comparedTo(O)>0?N>0?O:lt:J,Y=j,j=1/0,J=new U(Qt),et.c[0]=0;at=a(J,O,0,1),I=D.plus(at.times(R)),I.comparedTo(M)!=1;)D=R,R=I,lt=et.plus(at.times(I=lt)),et=I,O=J.minus(at.times(I=O)),J=I;return I=a(M.minus(D),R,0,1),et=et.plus(I.times(lt)),D=D.plus(I.times(R)),et.s=lt.s=ne.s,N=N*2,Ct=a(lt,R,N,k).minus(ne).abs().comparedTo(a(et,D,N,k).minus(ne).abs())<1?[lt,R]:[et,D],j=Y,Ct},m.toNumber=function(){return+ht(this)},m.toPrecision=function(M,O){return M!=null&&tn(M,1,pn),W(this,M,O,2)},m.toString=function(M){var O,D=this,R=D.s,I=D.e;return I===null?R?(O="Infinity",R<0&&(O="-"+O)):O="NaN":(M==null?O=I<=E||I>=S?l(Zn(D.c),I):p(Zn(D.c),I,"0"):M===10&&Ae?(D=st(new U(D),x+I+1,k),O=p(Zn(D.c),D.e,"0")):(tn(M,2,te.length,"Base"),O=h(p(Zn(D.c),I,"0"),10,M,R,!0)),R<0&&D.c[0]&&(O="-"+O)),O},m.valueOf=m.toJSON=function(){return ht(this)},m._isBigNumber=!0,m[Symbol.toStringTag]="BigNumber",m[Symbol.for("nodejs.util.inspect.custom")]=m.valueOf,r!=null&&U.set(r),U}function ni(r){var a=r|0;return r>0||r===a?a:a-1}function Zn(r){for(var a,h,d=1,m=r.length,g=r[0]+"";dS^h?1:-1;for(k=(E=m.length)<(S=g.length)?E:S,x=0;xg[x]^h?1:-1;return E==S?0:E>S^h?1:-1}function tn(r,a,h,d){if(rh||r!==Rn(r))throw Error(vn+(d||"Argument")+(typeof r=="number"?rh?" out of range: ":" not an integer: ":" not a primitive number: ")+String(r))}function n(r){var a=r.c.length-1;return ni(r.e/_e)==a&&r.c[a]%2!=0}function l(r,a){return(r.length>1?r.charAt(0)+"."+r.slice(1):r)+(a<0?"e":"e+")+a}function p(r,a,h){var d,m;if(a<0){for(m=h+".";++a;m+=h);r=m+r}else if(d=r.length,++a>d){for(m=h,a-=d;--a;m+=h);r+=m}else a0){let S=x.left;if(S==null||(E=k(S.key,r),E>0&&(x.left=S.right,S.right=x,x=S,S=x.left,S==null)))break;h==null?d=x:h.left=x,h=x,x=S}else if(E<0){let S=x.right;if(S==null||(E=k(S.key,r),E<0&&(x.right=S.left,S.left=x,x=S,S=x.right,S==null)))break;m==null?g=x:m.right=x,m=x,x=S}else break;return m!=null&&(m.right=x.left,x.left=g),h!=null&&(h.left=x.right,x.right=d),this.root!==x&&(this.root=x,this.splayCount++),E}splayMin(r){let a=r,h=a.left;for(;h!=null;){let d=h;a.left=d.right,d.right=a,a=d,h=a.left}return a}splayMax(r){let a=r,h=a.right;for(;h!=null;){let d=h;a.right=d.left,d.left=a,a=d,h=a.right}return a}_delete(r){if(this.root==null||this.splay(r)!=0)return null;let a=this.root,h=a,d=a.left;if(this.size--,d==null)this.root=a.right;else{let m=a.right;a=this.splayMax(d),a.right=m,this.root=a}return this.modificationCount++,h}addNewRoot(r,a){this.size++,this.modificationCount++;let h=this.root;if(h==null){this.root=r;return}a<0?(r.left=h,r.right=h.right,h.right=null):(r.right=h,r.left=h.left,h.left=null),this.root=r}_first(){let r=this.root;return r==null?null:(this.root=this.splayMin(r),this.root)}_last(){let r=this.root;return r==null?null:(this.root=this.splayMax(r),this.root)}clear(){this.root=null,this.size=0,this.modificationCount++}has(r){return this.validKey(r)&&this.splay(r)==0}defaultCompare(){return(r,a)=>ra?1:0}wrap(){return{getRoot:()=>this.root,setRoot:r=>{this.root=r},getSize:()=>this.size,getModificationCount:()=>this.modificationCount,getSplayCount:()=>this.splayCount,setSplayCount:r=>{this.splayCount=r},splay:r=>this.splay(r),has:r=>this.has(r)}}},gt=class ma extends ct{constructor(h,d){super();le(this,"root",null);le(this,"compare");le(this,"validKey");le(this,Dd,"[object Set]");this.compare=h??this.defaultCompare(),this.validKey=d??(m=>m!=null&&m!=null)}delete(h){return this.validKey(h)?this._delete(h)!=null:!1}deleteAll(h){for(let d of h)this.delete(d)}forEach(h){let d=this[Symbol.iterator](),m;for(;m=d.next(),!m.done;)h(m.value,m.value,this)}add(h){let d=this.splay(h);return d!=0&&this.addNewRoot(new K(h),d),this}addAndReturn(h){let d=this.splay(h);return d!=0&&this.addNewRoot(new K(h),d),this.root.key}addAll(h){for(let d of h)this.add(d)}isEmpty(){return this.root==null}isNotEmpty(){return this.root!=null}single(){if(this.size==0)throw"Bad state: No element";if(this.size>1)throw"Bad state: Too many element";return this.root.key}first(){if(this.size==0)throw"Bad state: No element";return this._first().key}last(){if(this.size==0)throw"Bad state: No element";return this._last().key}lastBefore(h){if(h==null)throw"Invalid arguments(s)";if(this.root==null)return null;if(this.splay(h)<0)return this.root.key;let d=this.root.left;if(d==null)return null;let m=d.right;for(;m!=null;)d=m,m=d.right;return d.key}firstAfter(h){if(h==null)throw"Invalid arguments(s)";if(this.root==null)return null;if(this.splay(h)>0)return this.root.key;let d=this.root.right;if(d==null)return null;let m=d.left;for(;m!=null;)d=m,m=d.left;return d.key}retainAll(h){let d=new ma(this.compare,this.validKey),m=this.modificationCount;for(let g of h){if(m!=this.modificationCount)throw"Concurrent modification during iteration.";this.validKey(g)&&this.splay(g)==0&&d.add(this.root.key)}d.size!=this.size&&(this.root=d.root,this.size=d.size,this.modificationCount++)}lookup(h){return!this.validKey(h)||this.splay(h)!=0?null:this.root.key}intersection(h){let d=new ma(this.compare,this.validKey);for(let m of this)h.has(m)&&d.add(m);return d}difference(h){let d=new ma(this.compare,this.validKey);for(let m of this)h.has(m)||d.add(m);return d}union(h){let d=this.clone();return d.addAll(h),d}clone(){let h=new ma(this.compare,this.validKey);return h.size=this.size,h.root=this.copyNode(this.root),h}copyNode(h){if(h==null)return null;function d(g,x){let k,E;do{if(k=g.left,E=g.right,k!=null){let S=new K(k.key);x.left=S,d(k,S)}if(E!=null){let S=new K(E.key);x.right=S,g=E,x=S}}while(E!=null)}let m=new K(h.key);return d(h,m),m}toSet(){return this.clone()}entries(){return new fe(this.wrap())}keys(){return this[Symbol.iterator]()}values(){return this[Symbol.iterator]()}[(Id=Symbol.iterator,Dd=Symbol.toStringTag,Id)](){return new Yt(this.wrap())}},kt=class{constructor(r){le(this,"tree");le(this,"path",new Array);le(this,"modificationCount",null);le(this,"splayCount");this.tree=r,this.splayCount=r.getSplayCount()}[Symbol.iterator](){return this}next(){return this.moveNext()?{done:!1,value:this.current()}:{done:!0,value:null}}current(){if(!this.path.length)return null;let r=this.path[this.path.length-1];return this.getValue(r)}rebuildPath(r){this.path.splice(0,this.path.length),this.tree.splay(r),this.path.push(this.tree.getRoot()),this.splayCount=this.tree.getSplayCount()}findLeftMostDescendent(r){for(;r!=null;)this.path.push(r),r=r.left}moveNext(){if(this.modificationCount!=this.tree.getModificationCount()){if(this.modificationCount==null){this.modificationCount=this.tree.getModificationCount();let h=this.tree.getRoot();for(;h!=null;)this.path.push(h),h=h.left;return this.path.length>0}throw"Concurrent modification during iteration."}if(!this.path.length)return!1;this.splayCount!=this.tree.getSplayCount()&&this.rebuildPath(this.path[this.path.length-1].key);let r=this.path[this.path.length-1],a=r.right;if(a!=null){for(;a!=null;)this.path.push(a),a=a.left;return!0}for(this.path.pop();this.path.length&&this.path[this.path.length-1].right===r;)r=this.path.pop();return this.path.length>0}},Yt=class extends kt{getValue(r){return r.key}},fe=class extends kt{getValue(r){return[r.key,r.key]}},ke=r=>r,Dn=r=>{if(r){let a=new gt(Ko(r)),h=new gt(Ko(r)),d=(g,x)=>x.addAndReturn(g),m=g=>({x:d(g.x,a),y:d(g.y,h)});return m({x:new C(0),y:new C(0)}),m}return ke},un=r=>({set:a=>{cn=un(a)},reset:()=>un(r),compare:Ko(r),snap:Dn(r),orient:Ol(r)}),cn=un(),bn=(r,a)=>r.ll.x.isLessThanOrEqualTo(a.x)&&a.x.isLessThanOrEqualTo(r.ur.x)&&r.ll.y.isLessThanOrEqualTo(a.y)&&a.y.isLessThanOrEqualTo(r.ur.y),Zi=(r,a)=>{if(a.ur.x.isLessThan(r.ll.x)||r.ur.x.isLessThan(a.ll.x)||a.ur.y.isLessThan(r.ll.y)||r.ur.y.isLessThan(a.ll.y))return null;let h=r.ll.x.isLessThan(a.ll.x)?a.ll.x:r.ll.x,d=r.ur.x.isLessThan(a.ur.x)?r.ur.x:a.ur.x,m=r.ll.y.isLessThan(a.ll.y)?a.ll.y:r.ll.y,g=r.ur.y.isLessThan(a.ur.y)?r.ur.y:a.ur.y;return{ll:{x:h,y:m},ur:{x:d,y:g}}},Yo=(r,a)=>r.x.times(a.y).minus(r.y.times(a.x)),Rl=(r,a)=>r.x.times(a.x).plus(r.y.times(a.y)),Xo=r=>Rl(r,r).sqrt(),Dl=(r,a,h)=>{let d={x:a.x.minus(r.x),y:a.y.minus(r.y)},m={x:h.x.minus(r.x),y:h.y.minus(r.y)};return Yo(m,d).div(Xo(m)).div(Xo(d))},Ac=(r,a,h)=>{let d={x:a.x.minus(r.x),y:a.y.minus(r.y)},m={x:h.x.minus(r.x),y:h.y.minus(r.y)};return Rl(m,d).div(Xo(m)).div(Xo(d))},ra=(r,a,h)=>a.y.isZero()?null:{x:r.x.plus(a.x.div(a.y).times(h.minus(r.y))),y:h},sn=(r,a,h)=>a.x.isZero()?null:{x:h,y:r.y.plus(a.y.div(a.x).times(h.minus(r.x)))},Qo=(r,a,h,d)=>{if(a.x.isZero())return sn(h,d,r.x);if(d.x.isZero())return sn(r,a,h.x);if(a.y.isZero())return ra(h,d,r.y);if(d.y.isZero())return ra(r,a,h.y);let m=Yo(a,d);if(m.isZero())return null;let g={x:h.x.minus(r.x),y:h.y.minus(r.y)},x=Yo(g,a).div(m),k=Yo(g,d).div(m),E=r.x.plus(k.times(a.x)),S=h.x.plus(x.times(d.x)),H=r.y.plus(k.times(a.y)),j=h.y.plus(x.times(d.y)),ut=E.plus(S).div(2),_t=H.plus(j).div(2);return{x:ut,y:_t}},bi=class Bg{constructor(a,h){le(this,"point");le(this,"isLeft");le(this,"segment");le(this,"otherSE");le(this,"consumedBy");a.events===void 0?a.events=[this]:a.events.push(this),this.point=a,this.isLeft=h}static compare(a,h){let d=Bg.comparePoints(a.point,h.point);return d!==0?d:(a.point!==h.point&&a.link(h),a.isLeft!==h.isLeft?a.isLeft?1:-1:ts.compare(a.segment,h.segment))}static comparePoints(a,h){return a.x.isLessThan(h.x)?-1:a.x.isGreaterThan(h.x)?1:a.y.isLessThan(h.y)?-1:a.y.isGreaterThan(h.y)?1:0}link(a){if(a.point===this.point)throw new Error("Tried to link already linked events");let h=a.point.events;for(let d=0,m=h.length;d{let g=m.otherSE;h.set(m,{sine:Dl(this.point,a.point,g.point),cosine:Ac(this.point,a.point,g.point)})};return(m,g)=>{h.has(m)||d(m),h.has(g)||d(g);let{sine:x,cosine:k}=h.get(m),{sine:E,cosine:S}=h.get(g);return x.isGreaterThanOrEqualTo(0)&&E.isGreaterThanOrEqualTo(0)?k.isLessThan(S)?1:k.isGreaterThan(S)?-1:0:x.isLessThan(0)&&E.isLessThan(0)?k.isLessThan(S)?-1:k.isGreaterThan(S)?1:0:E.isLessThan(x)?-1:E.isGreaterThan(x)?1:0}}},Oc=0,ts=class ru{constructor(a,h,d,m){le(this,"id");le(this,"leftSE");le(this,"rightSE");le(this,"rings");le(this,"windings");le(this,"ringOut");le(this,"consumedBy");le(this,"prev");le(this,"_prevInResult");le(this,"_beforeState");le(this,"_afterState");le(this,"_isInResult");this.id=++Oc,this.leftSE=a,a.segment=this,a.otherSE=h,this.rightSE=h,h.segment=this,h.otherSE=a,this.rings=d,this.windings=m}static compare(a,h){let d=a.leftSE.point.x,m=h.leftSE.point.x,g=a.rightSE.point.x,x=h.rightSE.point.x;if(x.isLessThan(d))return 1;if(g.isLessThan(m))return-1;let k=a.leftSE.point.y,E=h.leftSE.point.y,S=a.rightSE.point.y,H=h.rightSE.point.y;if(d.isLessThan(m)){if(E.isLessThan(k)&&E.isLessThan(S))return 1;if(E.isGreaterThan(k)&&E.isGreaterThan(S))return-1;let j=a.comparePoint(h.leftSE.point);if(j<0)return 1;if(j>0)return-1;let ut=h.comparePoint(a.rightSE.point);return ut!==0?ut:-1}if(d.isGreaterThan(m)){if(k.isLessThan(E)&&k.isLessThan(H))return-1;if(k.isGreaterThan(E)&&k.isGreaterThan(H))return 1;let j=h.comparePoint(a.leftSE.point);if(j!==0)return j;let ut=a.comparePoint(h.rightSE.point);return ut<0?1:ut>0?-1:1}if(k.isLessThan(E))return-1;if(k.isGreaterThan(E))return 1;if(g.isLessThan(x)){let j=h.comparePoint(a.rightSE.point);if(j!==0)return j}if(g.isGreaterThan(x)){let j=a.comparePoint(h.rightSE.point);if(j<0)return 1;if(j>0)return-1}if(!g.eq(x)){let j=S.minus(k),ut=g.minus(d),_t=H.minus(E),Bt=x.minus(m);if(j.isGreaterThan(ut)&&_t.isLessThan(Bt))return 1;if(j.isLessThan(ut)&&_t.isGreaterThan(Bt))return-1}return g.isGreaterThan(x)?1:g.isLessThan(x)||S.isLessThan(H)?-1:S.isGreaterThan(H)?1:a.idh.id?1:0}static fromRing(a,h,d){let m,g,x,k=bi.comparePoints(a,h);if(k<0)m=a,g=h,x=1;else if(k>0)m=h,g=a,x=-1;else throw new Error(`Tried to create degenerate segment at [${a.x}, ${a.y}]`);let E=new bi(m,!0),S=new bi(g,!1);return new ru(E,S,[d],[x])}replaceRightSE(a){this.rightSE=a,this.rightSE.segment=this,this.rightSE.otherSE=this.leftSE,this.leftSE.otherSE=this.rightSE}bbox(){let a=this.leftSE.point.y,h=this.rightSE.point.y;return{ll:{x:this.leftSE.point.x,y:a.isLessThan(h)?a:h},ur:{x:this.rightSE.point.x,y:a.isGreaterThan(h)?a:h}}}vector(){return{x:this.rightSE.point.x.minus(this.leftSE.point.x),y:this.rightSE.point.y.minus(this.leftSE.point.y)}}isAnEndpoint(a){return a.x.eq(this.leftSE.point.x)&&a.y.eq(this.leftSE.point.y)||a.x.eq(this.rightSE.point.x)&&a.y.eq(this.rightSE.point.y)}comparePoint(a){return cn.orient(this.leftSE.point,a,this.rightSE.point)}getIntersection(a){let h=this.bbox(),d=a.bbox(),m=Zi(h,d);if(m===null)return null;let g=this.leftSE.point,x=this.rightSE.point,k=a.leftSE.point,E=a.rightSE.point,S=bn(h,k)&&this.comparePoint(k)===0,H=bn(d,g)&&a.comparePoint(g)===0,j=bn(h,E)&&this.comparePoint(E)===0,ut=bn(d,x)&&a.comparePoint(x)===0;if(H&&S)return ut&&!j?x:!ut&&j?E:null;if(H)return j&&g.x.eq(E.x)&&g.y.eq(E.y)?null:g;if(S)return ut&&x.x.eq(k.x)&&x.y.eq(k.y)?null:k;if(ut&&j)return null;if(ut)return x;if(j)return E;let _t=Qo(g,this.vector(),k,a.vector());return _t===null||!bn(m,_t)?null:cn.snap(_t)}split(a){let h=[],d=a.events!==void 0,m=new bi(a,!0),g=new bi(a,!1),x=this.rightSE;this.replaceRightSE(g),h.push(g),h.push(m);let k=new ru(m,x,this.rings.slice(),this.windings.slice());return bi.comparePoints(k.leftSE.point,k.rightSE.point)>0&&k.swapEvents(),bi.comparePoints(this.leftSE.point,this.rightSE.point)>0&&this.swapEvents(),d&&(m.checkForConsuming(),g.checkForConsuming()),h}swapEvents(){let a=this.rightSE;this.rightSE=this.leftSE,this.leftSE=a,this.leftSE.isLeft=!0,this.rightSE.isLeft=!1;for(let h=0,d=this.windings.length;h0){let g=h;h=d,d=g}if(h.prev===d){let g=h;h=d,d=g}for(let g=0,x=d.rings.length;gm.length===1&&m[0].isSubject;this._isInResult=d(a)!==d(h);break}}return this._isInResult}},es=class{constructor(r,a,h){le(this,"poly");le(this,"isExterior");le(this,"segments");le(this,"bbox");if(!Array.isArray(r)||r.length===0)throw new Error("Input geometry is not a valid Polygon or MultiPolygon");if(this.poly=a,this.isExterior=h,this.segments=[],typeof r[0][0]!="number"||typeof r[0][1]!="number")throw new Error("Input geometry is not a valid Polygon or MultiPolygon");let d=cn.snap({x:new C(r[0][0]),y:new C(r[0][1])});this.bbox={ll:{x:d.x,y:d.y},ur:{x:d.x,y:d.y}};let m=d;for(let g=1,x=r.length;g0&&(a=E)}let h=a.segment.prevInResult(),d=h?h.prevInResult():null;for(;;){if(!h)return null;if(!d)return h.ringOut;if(d.ringOut!==h.ringOut)return((m=d.ringOut)==null?void 0:m.enclosingRing())!==h.ringOut?h.ringOut:(g=h.ringOut)==null?void 0:g.enclosingRing();h=d.prevInResult(),d=h?h.prevInResult():null}}},Pd=class{constructor(r){le(this,"exteriorRing");le(this,"interiorRings");this.exteriorRing=r,r.poly=this,this.interiorRings=[]}addInterior(r){this.interiorRings.push(r),r.poly=this}getGeom(){let r=this.exteriorRing.getGeom();if(r===null)return null;let a=[r];for(let h=0,d=this.interiorRings.length;h0?(this.tree.delete(a),h.push(r)):(this.segments.push(a),a.prev=d)}else{if(d&&m){let g=d.getIntersection(m);if(g!==null){if(!d.isAnEndpoint(g)){let x=this._splitSafely(d,g);for(let k=0,E=x.length;kNl.run("intersection",r,a),Ng=(r,...a)=>Nl.run("difference",r,a);cn.set;function jl(r){let a={type:"Feature"};return a.geometry=r,a}function zl(r){return r.type==="Feature"?r.geometry:r}function Bd(r){return r&&r.geometry&&r.geometry.coordinates?r.geometry.coordinates:r}function jg(r){return jl({type:"LineString",coordinates:r})}function zg(r){return jl({type:"MultiLineString",coordinates:r})}function Td(r){return jl({type:"Polygon",coordinates:r})}function Ad(r){return jl({type:"MultiPolygon",coordinates:r})}function Vg(r,a){let h=zl(r),d=zl(a),m=Fg(h.coordinates,d.coordinates);return m.length===0?null:m.length===1?Td(m[0]):Ad(m)}function Gg(r,a){let h=zl(r),d=zl(a),m=Ng(h.coordinates,d.coordinates);return m.length===0?null:m.length===1?Td(m[0]):Ad(m)}function Od(r){return Array.isArray(r)?1+Od(r[0]):-1}function Ug(r){r instanceof L.Polyline&&(r=r.toGeoJSON(15));let a=Bd(r),h=Od(a),d=[];return h>1?a.forEach(m=>{d.push(jg(m))}):d.push(r),d}function $g(r){let a=[];return r.eachLayer(h=>{a.push(Bd(h.toGeoJSON(15)))}),zg(a)}Mn.Cut=Mn.Polygon.extend({initialize(r){this._map=r,this._shape="Cut",this.toolbarButtonName="cutPolygon"},_finishShape(){if(this._editedLayers=[],!this.options.allowSelfIntersection&&(this._handleSelfIntersection(!0,this._layer.getLatLngs()[0]),this._doesSelfIntersect)||this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;let r=this._layer.getLatLngs();if(r.length<=2)return;let a=L.polygon(r,this.options.pathOptions);a._latlngInfos=this._layer._latlngInfo,this.cut(a),this._cleanupSnapping(),this._otherSnapLayers.splice(this._tempSnapLayerIndex,1),delete this._tempSnapLayerIndex,this._editedLayers.forEach(({layer:h,originalLayer:d})=>{this._fireCut(d,h,d),this._fireCut(this._map,h,d),d.pm._fireEdit()}),this._editedLayers=[],this.disable(),this.options.continueDrawing&&this.enable()},cut(r){let a=this._map._layers,h=r._latlngInfos||[];Object.keys(a).map(d=>a[d]).filter(d=>d.pm).filter(d=>!d._pmTempLayer).filter(d=>!L.PM.optIn&&!d.options.pmIgnore||L.PM.optIn&&d.options.pmIgnore===!1).filter(d=>d instanceof L.Polyline).filter(d=>d!==r).filter(d=>d.pm.options.allowCutting).filter(d=>this.options.layersToCut&&L.Util.isArray(this.options.layersToCut)&&this.options.layersToCut.length>0?this.options.layersToCut.indexOf(d)>-1:!0).filter(d=>!this._layerGroup.hasLayer(d)).filter(d=>{try{let m=!!Nn(r.toGeoJSON(15),d.toGeoJSON(15)).features.length>0;return m||d instanceof L.Polyline&&!(d instanceof L.Polygon)?m:!!Vg(r.toGeoJSON(15),d.toGeoJSON(15))}catch{return d instanceof L.Polygon&&console.error("You can't cut polygons with self-intersections"),!1}}).forEach(d=>{let m;if(d instanceof L.Polygon){m=L.polygon(d.getLatLngs());let E=m.getLatLngs();h.forEach(S=>{if(S&&S.snapInfo){let{latlng:H}=S,j=this._calcClosestLayer(H,[m]);if(j&&j.segment&&j.distance1?(0,Tc.default)(E,Bt):E).splice(Kt,0,H)}}}})}else m=d;let g=this._cutLayer(r,m),x=L.geoJSON(g,d.options);x.getLayers().length===1&&([x]=x.getLayers()),this._setPane(x,"layerPane");let k=x.addTo(this._map.pm._getContainingLayer());if(k.pm.enable(d.pm.options),k.pm.disable(),d._pmTempLayer=!0,r._pmTempLayer=!0,d.remove(),d.removeFrom(this._map.pm._getContainingLayer()),r.remove(),r.removeFrom(this._map.pm._getContainingLayer()),k.getLayers&&k.getLayers().length===0&&this._map.pm.removeLayer({target:k}),k instanceof L.LayerGroup?(k.eachLayer(E=>{this._addDrawnLayerProp(E)}),this._addDrawnLayerProp(k)):this._addDrawnLayerProp(k),this.options.layersToCut&&L.Util.isArray(this.options.layersToCut)&&this.options.layersToCut.length>0){let E=this.options.layersToCut.indexOf(d);E>-1&&this.options.layersToCut.splice(E,1)}this._editedLayers.push({layer:k,originalLayer:d})})},_cutLayer(r,a){let h=L.geoJSON(),d;if(a instanceof L.Polygon)d=Gg(a.toGeoJSON(15),r.toGeoJSON(15));else{let m=Ug(a);m.forEach(g=>{let x=Uo(g,r.toGeoJSON(15)),k;x&&x.features.length>0?k=L.geoJSON(x):k=L.geoJSON(g),k.getLayers().forEach(E=>{Ho(r.toGeoJSON(15),E.toGeoJSON(15))||E.addTo(h)})}),m.length>1?d=$g(h):d=h.toGeoJSON(15)}return d},_change:L.Util.falseFn}),Mn.Text=Mn.extend({initialize(r){this._map=r,this._shape="Text",this.toolbarButtonName="drawText"},enable(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(Te("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(){var r;this._enabled&&(this._enabled=!1,this._map.off("click",this._createMarker,this),(r=this._hintMarker)==null||r.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(){return this._enabled},toggle(r){this.enabled()?this.disable():this.enable(r)},_syncHintMarker(r){if(this._hintMarker.setLatLng(r.latlng),this.options.snappable){let a=r;a.target=this._hintMarker,this._handleSnapping(a)}},_createMarker(r){var m,g,x,k;if(!r.latlng||this.options.requireSnapToFinish&&!this._hintMarker._snapped&&!this._isFirstLayer())return;this._hintMarker._snapped||this._hintMarker.setLatLng(r.latlng);let a=this._hintMarker.getLatLng();if(this.textArea=this._createTextArea(),(m=this.options.textOptions)==null?void 0:m.className){let E=this.options.textOptions.className.split(" ");this.textArea.classList.add(...E)}let h=this._createTextIcon(this.textArea),d=new L.Marker(a,{textMarker:!0,_textMarkerOverPM:!0,icon:h});if(this._setPane(d,"markerPane"),this._finishLayer(d),d.pm||(d.options.draggable=!1),d.addTo(this._map.pm._getContainingLayer()),d.pm){d.pm.textArea=this.textArea,L.setOptions(d.pm,{removeIfEmpty:((g=this.options.textOptions)==null?void 0:g.removeIfEmpty)??!0});let E=((x=this.options.textOptions)==null?void 0:x.focusAfterDraw)??!0;d.pm._createTextMarker(E),(k=this.options.textOptions)!=null&&k.text&&d.pm.setText(this.options.textOptions.text)}this._fireCreate(d),this._cleanupSnapping(),this.disable(),this.options.continueDrawing&&this.enable()},_createTextArea(){let r=document.createElement("textarea");return r.readOnly=!0,r.classList.add("pm-textarea","pm-disabled"),r},_createTextIcon(r){return L.divIcon({className:"pm-text-marker",html:r})}});var Hg={enableLayerDrag(){if(!this.options.draggable||!this._layer._map)return;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,Lr(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;let r=this._getDOMElem();r&&(Lr(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(){this._layerDragEnabled=!1,Lr(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();let r=this._getDOMElem();r&&(Lr(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(){return this._dragging},layerDragEnabled(){return!!this._layerDragEnabled},_simulateMouseDownEvent(r){let a=r.touches?r.touches[0]:r,h={originalEvent:a,target:this._layer};return h.containerPoint=this._map.mouseEventToContainerPoint(a),h.latlng=this._map.containerPointToLatLng(h.containerPoint),this._dragMixinOnMouseDown(h),!1},_simulateMouseMoveEvent(r){let a=r.touches?r.touches[0]:r,h={originalEvent:a,target:this._layer};return h.containerPoint=this._map.mouseEventToContainerPoint(a),h.latlng=this._map.containerPointToLatLng(h.containerPoint),this._dragMixinOnMouseMove(h),!1},_simulateMouseUpEvent(r){let a={originalEvent:r.touches?r.touches[0]:r,target:this._layer};return r.type.indexOf("touch")===-1&&(a.containerPoint=this._map.mouseEventToContainerPoint(r),a.latlng=this._map.containerPointToLatLng(a.containerPoint)),this._dragMixinOnMouseUp(a),!1},_dragMixinOnMouseDown(r){if(r.originalEvent.button>0)return;this._overwriteEventIfItComesFromMarker(r);let a=r._fromLayerSync,h=this._syncLayers("_dragMixinOnMouseDown",r);if(this._layer instanceof L.Marker&&(this.options.snappable&&!a&&!h?this._initSnappableMarkers():this._disableSnapping()),this._layer instanceof L.CircleMarker){let d="resizeableCircleMarker";this._layer instanceof L.Circle&&(d="resizableCircle"),this.options.snappable&&!a&&!h?this._layer.pm.options[d]||this._initSnappableMarkersDrag():this._layer.pm.options[d]?this._layer.pm._disableSnapping():this._layer.pm._disableSnappingDrag()}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(r){this._overwriteEventIfItComesFromMarker(r);let a=this._getDOMElem();this._syncLayers("_dragMixinOnMouseMove",r),this._dragging||(this._dragging=!0,L.DomUtil.addClass(a,"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(r){let a=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(()=>{this._dragging=!1,a&&L.DomUtil.removeClass(a,"leaflet-pm-dragging"),this._fireDragEnd(),this._fireEdit(),this._layerEdited=!0},10),!0):!1},_onLayerDrag(r){let{latlng:a}=r,h={lat:a.lat-this._tempDragCoord.lat,lng:a.lng-this._tempDragCoord.lng},d=m=>m.map(g=>{if(Array.isArray(g))return d(g);let x={lat:g.lat+h.lat,lng:g.lng+h.lng};return(g.alt||g.alt===0)&&(x.alt=g.alt),x});if(this._layer instanceof L.Circle&&this._layer.options.resizableCircle||this._layer instanceof L.CircleMarker&&this._layer.options.resizeableCircleMarker){let m=d([this._layer.getLatLng()]);this._layer.setLatLng(m[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.CircleMarker||this._layer instanceof L.Marker){let m=this._layer.getLatLng();this._layer._snapped&&(m=this._layer._orgLatLng);let g=d([m]);this._layer.setLatLng(g[0]),this._fireChange(this._layer.getLatLng(),"Edit")}else if(this._layer instanceof L.ImageOverlay){let m=d([this._layer.getBounds().getNorthWest(),this._layer.getBounds().getSouthEast()]);this._layer.setBounds(m),this._fireChange(this._layer.getBounds(),"Edit")}else{let m=d(this._layer.getLatLngs());this._layer.setLatLngs(m),this._fireChange(this._layer.getLatLngs(),"Edit")}this._tempDragCoord=a,r.layer=this._layer,this._fireDrag(r)},addDraggingClass(){let r=this._getDOMElem();r&&L.DomUtil.addClass(r,"leaflet-pm-draggable")},removeDraggingClass(){let r=this._getDOMElem();r&&L.DomUtil.removeClass(r,"leaflet-pm-draggable")},_getDOMElem(){let 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(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(r,a){if(this.enabled())return!1;if(!a._fromLayerSync&&this._layer===a.target&&this.options.syncLayersOnDrag){a._fromLayerSync=!0;let h=[];if(L.Util.isArray(this.options.syncLayersOnDrag))h=this.options.syncLayersOnDrag,this.options.syncLayersOnDrag.forEach(d=>{d instanceof L.LayerGroup&&(h=h.concat(d.pm.getLayers(!0)))});else if(this.options.syncLayersOnDrag===!0&&this._parentLayerGroup)for(let d in this._parentLayerGroup){let m=this._parentLayerGroup[d];m.pm&&(h=m.pm.getLayers(!0))}return L.Util.isArray(h)&&h.length>0&&(h=h.filter(d=>!!d.pm).filter(d=>!!d.pm.options.draggable),h.forEach(d=>{d!==this._layer&&d.pm[r]&&(d._snapped=!1,d.pm[r](a))})),h.length>0}return!1},_stopDOMImageDrag(r){return r.preventDefault(),!1}},Zg=Hg,qg=_(Vi());function Kg(r,a,h,d){return h.unproject(a.transform(h.project(r,d)),d)}function Rd(r,a,h){let d=h.getMaxZoom();if(d===1/0&&(d=h.getZoom()),L.Util.isArray(r)){let m=[];return r.forEach(g=>{m.push(Rd(g,a,h))}),m}return r instanceof L.LatLng?Kg(r,a,h,d):null}function ns(r,a){a instanceof L.Layer&&(a=a.getLatLng());let h=r.getMaxZoom();return h===1/0&&(h=r.getZoom()),r.project(a,h)}function Vl(r,a){let h=r.getMaxZoom();return h===1/0&&(h=r.getZoom()),r.unproject(a,h)}var Wg={_onRotateStart(r){this._preventRenderingMarkers(!0),this._rotationOriginLatLng=this._getRotationCenter().clone(),this._rotationOriginPoint=ns(this._map,this._rotationOriginLatLng),this._rotationStartPoint=ns(this._map,r.target.getLatLng()),this._initialRotateLatLng=Ui(this._layer),this._startAngle=this.getAngle();let a=Ui(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._fireRotationStart(this._rotationLayer,a),this._fireRotationStart(this._map,a)},_onRotate(r){let a=ns(this._map,r.target.getLatLng()),h=this._rotationStartPoint,d=this._rotationOriginPoint,m=Math.atan2(a.y-d.y,a.x-d.x)-Math.atan2(h.y-d.y,h.x-d.x);this._layer.setLatLngs(this._rotateLayer(m,this._initialRotateLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));let g=this;function x(H,j=[],ut=-1){if(ut>-1&&j.push(ut),L.Util.isArray(H[0]))H.forEach((_t,Bt)=>x(_t,j.slice(),Bt));else{let _t=(0,qg.default)(g._markers,j);H.forEach((Bt,Kt)=>{_t[Kt].setLatLng(Bt)})}}x(this._layer.getLatLngs());let k=Ui(this._rotationLayer);this._rotationLayer.setLatLngs(this._rotateLayer(m,this._rotationLayer.pm._rotateOrgLatLng,this._rotationOriginLatLng,L.PM.Matrix.init(),this._map));let E=m*180/Math.PI;E=E<0?E+360:E;let S=E+this._startAngle;this._setAngle(S),this._rotationLayer.pm._setAngle(S),this._fireRotation(this._rotationLayer,E,k),this._fireRotation(this._map,E,k),this._rotationLayer.pm._fireChange(this._rotationLayer.getLatLngs(),"Rotation")},_onRotateEnd(){let r=this._startAngle;delete this._rotationOriginLatLng,delete this._rotationOriginPoint,delete this._rotationStartPoint,delete this._initialRotateLatLng,delete this._startAngle;let a=Ui(this._rotationLayer,this._rotationLayer.pm._rotateOrgLatLng);this._rotationLayer.pm._rotateOrgLatLng=Ui(this._rotationLayer),this._fireRotationEnd(this._rotationLayer,r,a),this._fireRotationEnd(this._map,r,a),this._rotationLayer.pm._fireEdit(this._rotationLayer,"Rotation"),this._preventRenderingMarkers(!1),this._layerRotated=!0},_rotateLayer(r,a,h,d,m){let g=ns(m,h);return this._matrix=d.clone().rotate(r,g).flip(),Rd(a,this._matrix,m)},_setAngle(r){r=r<0?r+360:r,this._angle=r%360},_getRotationCenter(){if(this._rotationCenter)return this._rotationCenter;let r=L.polygon(this._layer.getLatLngs(),{stroke:!1,fill:!1,pmIgnore:!0}).addTo(this._layer._map),a=r.getCenter();return r.removeFrom(this._layer._map),a},enableRotate(){if(!this.options.allowRotation){this.disableRotate();return}this.rotateEnabled()&&this.disableRotate(),this._layer instanceof L.Rectangle&&this._angle===void 0&&this.setInitAngle(Us(this._layer._map,this._layer.getLatLngs()[0][0],this._layer.getLatLngs()[0][1])||0);let r={fill:!1,stroke:!1,pmIgnore:!1,snapIgnore:!0};this._rotatePoly=L.polygon(this._layer.getLatLngs(),r),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=Ui(this._layer),this._rotateEnabled=!0,this._layer.on("remove",this.disableRotate,this),this._fireRotationEnable(this._layer),this._fireRotationEnable(this._layer._map)},disableRotate(){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(){return!!this._rotateEnabled},rotateLayer(r){let a=this.getAngle(),h=this._layer.getLatLngs(),d=r*(Math.PI/180);this._layer.setLatLngs(this._rotateLayer(d,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(d,this._rotatePoly.getLatLngs(),this._getRotationCenter(),L.PM.Matrix.init(),this._rotatePoly._map)),this._rotatePoly.pm._initMarkers());let m=this.getAngle()-a;m=m<0?m+360:m,this._startAngle=a,this._fireRotation(this._layer,m,h,this._layer),this._fireRotation(this._map||this._layer._map,m,h,this._layer),delete this._startAngle,this._fireChange(this._layer.getLatLngs(),"Rotation")},rotateLayerToAngle(r){let a=r-this.getAngle();this.rotateLayer(a)},getAngle(){return this._angle||0},setInitAngle(r){this._setAngle(r)},getRotationCenter(){return this._getRotationCenter()},setRotationCenter(r){this._rotationCenter=r,this._rotatePoly&&this._rotatePoly.pm.setRotationCenter(r)}},Jg=Wg,Yg=L.Class.extend({includes:[Zg,Hs,Jg,wr],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(r){L.Util.setOptions(this,r)},getOptions(){return this.options},applyOptions(){},isPolygon(){return this._layer instanceof L.Polygon},getShape(){return this._shape},_setPane(r,a){a==="layerPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.layerPane||"overlayPane":a==="vertexPane"?r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.vertexPane||"markerPane":a==="markerPane"&&(r.options.pane=this._map.pm.globalOptions.panes&&this._map.pm.globalOptions.panes.markerPane||"markerPane")},remove(){(this._map||this._layer._map).pm.removeLayer({target:this._layer})},_vertexValidation(r,a){let h=a.target,d={layer:this._layer,marker:h,event:a},m="";return r==="move"?m="moveVertexValidation":r==="add"?m="addVertexValidation":r==="remove"&&(m="removeVertexValidation"),this.options[m]&&typeof this.options[m]=="function"&&!this.options[m](d)?(r==="move"&&(h._cancelDragEventChain=h.getLatLng()),!1):(h._cancelDragEventChain=null,!0)},_vertexValidationDrag(r){return r._cancelDragEventChain?(r._latlng=r._cancelDragEventChain,r.update(),!1):!0},_vertexValidationDragEnd(r){return r._cancelDragEventChain?(r._cancelDragEventChain=null,!1):!0}}),Tn=Yg;Tn.LayerGroup=L.Class.extend({initialize(r){this._layerGroup=r,this._layers=this.getLayers(),this._getMap(),this._layers.forEach(d=>this._initLayer(d));let a=d=>{if(d.layer._pmTempLayer)return;this._layers=this.getLayers();let m=this._layers.filter(g=>!g.pm._parentLayerGroup||!(this._layerGroup._leaflet_id in g.pm._parentLayerGroup));m.forEach(g=>{this._initLayer(g)}),m.length>0&&this._getMap()&&this._getMap().pm.globalEditModeEnabled()&&this.enabled()&&this.enable(this.getOptions())};this._layerGroup.on("layeradd",L.Util.throttle(a,100,this),this),this._layerGroup.on("layerremove",d=>{this._removeLayerFromGroup(d.target)},this);let h=d=>{d.target._pmTempLayer||(this._layers=this.getLayers())};this._layerGroup.on("layerremove",L.Util.throttle(h,100,this),this)},enable(r,a=[]){a.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(h=>{h instanceof L.LayerGroup?a.indexOf(h._leaflet_id)===-1&&(a.push(h._leaflet_id),h.pm.enable(r,a)):h.pm.enable(r)})},disable(r=[]){r.length===0&&(this._layers=this.getLayers()),this._layers.forEach(a=>{a instanceof L.LayerGroup?r.indexOf(a._leaflet_id)===-1&&(r.push(a._leaflet_id),a.pm.disable(r)):a.pm.disable()})},enabled(r=[]){return r.length===0&&(this._layers=this.getLayers()),!!this._layers.find(a=>a instanceof L.LayerGroup?r.indexOf(a._leaflet_id)===-1?(r.push(a._leaflet_id),a.pm.enabled(r)):!1:a.pm.enabled())},toggleEdit(r,a=[]){a.length===0&&(this._layers=this.getLayers()),this._options=r,this._layers.forEach(h=>{h instanceof L.LayerGroup?a.indexOf(h._leaflet_id)===-1&&(a.push(h._leaflet_id),h.pm.toggleEdit(r,a)):h.pm.toggleEdit(r)})},_initLayer(r){let a=L.Util.stamp(this._layerGroup);r.pm._parentLayerGroup||(r.pm._parentLayerGroup={}),r.pm._parentLayerGroup[a]=this._layerGroup},_removeLayerFromGroup(r){if(r.pm&&r.pm._layerGroup){let a=L.Util.stamp(this._layerGroup);delete r.pm._layerGroup[a]}},dragging(){return this._layers=this.getLayers(),this._layers?!!this._layers.find(r=>r.pm.dragging()):!1},getOptions(){return this.options},_getMap(){var r;return this._map||((r=this._layers.find(a=>!!a._map))==null?void 0:r._map)||null},getLayers(r=!1,a=!0,h=!0,d=[]){let m=[];return r?this._layerGroup.getLayers().forEach(g=>{m.push(g),g instanceof L.LayerGroup&&d.indexOf(g._leaflet_id)===-1&&(d.push(g._leaflet_id),m=m.concat(g.pm.getLayers(!0,!0,!0,d)))}):m=this._layerGroup.getLayers(),h&&(m=m.filter(g=>!(g instanceof L.LayerGroup))),a&&(m=m.filter(g=>!!g.pm),m=m.filter(g=>!g._pmTempLayer),m=m.filter(g=>!L.PM.optIn&&!g.options.pmIgnore||L.PM.optIn&&g.options.pmIgnore===!1)),m},setOptions(r,a=[]){a.length===0&&(this._layers=this.getLayers()),this.options=r,this._layers.forEach(h=>{h.pm&&(h instanceof L.LayerGroup?a.indexOf(h._leaflet_id)===-1&&(a.push(h._leaflet_id),h.pm.setOptions(r,a)):h.pm.setOptions(r))})}}),Tn.Marker=Tn.extend({_shape:"Marker",initialize(r){this._layer=r,this._enabled=!1,this._layer.on("dragend",this._onDragEnd,this)},enable(r={draggable:!0}){if(L.Util.setOptions(this,r),!this.options.allowEditing||!this._layer._map){this.disable();return}this._map=this._layer._map,this.enabled()&&this.disable(),this.applyOptions(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._fireEnable()},disable(){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(){return this._enabled},toggleEdit(r){this.enabled()?this.disable():this.enable(r)},applyOptions(){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(r){let a=r.target;a.remove(),this._fireRemove(a),this._fireRemove(this._map,a)},_onDragEnd(){this._fireEdit(),this._layerEdited=!0},_initSnappableMarkers(){let r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0?!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(){let r=this._layer;r.off("pm:drag",this._handleSnapping,this),r.off("pm:dragend",this._cleanupSnapping,this),r.off("pm:dragstart",this._unsnap,this)}});var Pr=_(Vi()),Xg={filterMarkerGroup(){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._layer.on("remove",this._removeMarkerLimitEvents,this),this.options.limitMarkersToCount>-1&&(this._layer.on("pm:vertexremoved",this._initMarkers,this),this._map.on("mousemove",this.throttledApplyLimitFilters,this))},_removeMarkerLimitEvents(){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(){let r=[...this._markerGroup.getLayers(),...this.markerCache];this.markerCache=r.filter((a,h,d)=>d.indexOf(a)===h)},_removeFromCache(r){let a=this.markerCache.indexOf(r);a>-1&&this.markerCache.splice(a,1)},renderLimits(r){this.markerCache.forEach(a=>{r.includes(a)?this._markerGroup.addLayer(a):this._markerGroup.removeLayer(a)})},applyLimitFilters({latlng:r={lat:0,lng:0}}){if(this._preventRenderMarkers)return;let a=[...this._filterClosestMarkers(r)];this.renderLimits(a)},_filterClosestMarkers(r){let a=[...this.markerCache],h=this.options.limitMarkersToCount;return h===-1?a:(a.sort((d,m)=>{let g=d._latlng.distanceTo(r),x=m._latlng.distanceTo(r);return g-x}),a.filter((d,m)=>h>-1?m{if(Array.isArray(d[0]))return d.map(h,this);let m=d.map(this._createMarker,this);return this.options.hideMiddleMarkers!==!0&&d.map((g,x)=>{let k=this.isPolygon()?(x+1)%d.length:x+1;return this._createMiddleMarker(m[x],m[k])}),m};this._markers=h(a),this.filterMarkerGroup(),r.addLayer(this._markerGroup)},_createMarker(r){let a=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(a,"vertexPane"),a._pmTempLayer=!0,this.options.rotate?(a.on("dragstart",this._onRotateStart,this),a.on("drag",this._onRotate,this),a.on("dragend",this._onRotateEnd,this)):(a.on("click",this._onVertexClick,this),a.on("dragstart",this._onMarkerDragStart,this),a.on("move",this._onMarkerDrag,this),a.on("dragend",this._onMarkerDragEnd,this),this.options.preventMarkerRemoval||a.on(this.options.removeVertexOn,this._removeMarker,this)),this._markerGroup.addLayer(a),a},_createMiddleMarker(r,a){if(!r||!a)return!1;let h=L.PM.Utils.calcMiddleLatLng(this._map,r.getLatLng(),a.getLatLng()),d=this._createMarker(h),m=L.divIcon({className:"marker-icon marker-icon-middle"});return d.setIcon(m),d.leftM=r,d.rightM=a,r._middleMarkerNext=d,a._middleMarkerPrev=d,d.on(this.options.addVertexOn,this._onMiddleMarkerClick,this),d.on("movestart",this._onMiddleMarkerMoveStart,this),d},_onMiddleMarkerClick(r){let a=r.target;if(!this._vertexValidation("add",r))return;let h=L.divIcon({className:"marker-icon"});a.setIcon(h),this._addMarker(a,a.leftM,a.rightM)},_onMiddleMarkerMoveStart(r){let a=r.target;if(a.on("moveend",this._onMiddleMarkerMoveEnd,this),!this._vertexValidation("add",r)){a.on("move",this._onMiddleMarkerMovePrevent,this);return}a._dragging=!0,this._addMarker(a,a.leftM,a.rightM)},_onMiddleMarkerMovePrevent(r){let a=r.target;this._vertexValidationDrag(a)},_onMiddleMarkerMoveEnd(r){let a=r.target;if(a.off("move",this._onMiddleMarkerMovePrevent,this),a.off("moveend",this._onMiddleMarkerMoveEnd,this),!this._vertexValidationDragEnd(a))return;let h=L.divIcon({className:"marker-icon"});a.setIcon(h),setTimeout(()=>{delete a._dragging},100)},_addMarker(r,a,h){r.off("movestart",this._onMiddleMarkerMoveStart,this),r.off(this.options.addVertexOn,this._onMiddleMarkerClick,this);let d=r.getLatLng(),m=this._layer._latlngs;delete r.leftM,delete r.rightM;let{indexPath:g,index:x,parentPath:k}=L.PM.Utils.findDeepMarkerIndex(this._markers,a),E=g.length>1?(0,Pr.default)(m,k):m,S=g.length>1?(0,Pr.default)(this._markers,k):this._markers;E.splice(x+1,0,d),S.splice(x+1,0,r),this._layer.setLatLngs(m),this.options.hideMiddleMarkers!==!0&&(this._createMiddleMarker(a,r),this._createMiddleMarker(r,h)),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit"),this._fireVertexAdded(r,L.PM.Utils.findDeepMarkerIndex(this._markers,r).indexPath,d),this.options.snappable&&this._initSnappableMarkers()},hasSelfIntersection(){return to(this._layer.toGeoJSON(15)).features.length>0},_handleSelfIntersectionOnVertexRemoval(){this._handleLayerStyle(!0)&&(this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers())},_handleLayerStyle(r){let a=this._layer,h,d;if(this.options.allowSelfIntersection?h=!1:(d=to(this._layer.toGeoJSON(15)),h=d.features.length>0),h){if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!0),this.isRed)return h;r?this._flashLayer():(a.setStyle({color:"#f00000ff"}),this.isRed=!0),this._fireIntersect(d)}else a.setStyle({color:this.cachedColor}),this.isRed=!1,!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._updateDisabledMarkerStyle(this._markers,!1);return h},_flashLayer(){this.cachedColor||(this.cachedColor=this._layer.options.color),this._layer.setStyle({color:"#f00000ff"}),this.isRed=!0,window.setTimeout(()=>{this._layer.setStyle({color:this.cachedColor}),this.isRed=!1},200)},_updateDisabledMarkerStyle(r,a){r.forEach(h=>{Array.isArray(h)?this._updateDisabledMarkerStyle(h,a):h._icon&&(a&&!this._checkMarkerAllowedToDrag(h)?L.DomUtil.addClass(h._icon,"vertexmarker-disabled"):L.DomUtil.removeClass(h._icon,"vertexmarker-disabled"))})},_removeMarker(r){let a=r.target;if(!this._vertexValidation("remove",r))return;this.options.allowSelfIntersection||(this._coordsBeforeEdit=Ui(this._layer,this._layer.getLatLngs()));let h=this._layer.getLatLngs(),{indexPath:d,index:m,parentPath:g}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);if(!d)return;let x=d.length>1?(0,Pr.default)(h,g):h,k=d.length>1?(0,Pr.default)(this._markers,g):this._markers;if(!this.options.removeLayerBelowMinVertexCount&&(x.length<=2||this.isPolygon()&&x.length<=3)){this._flashLayer();return}x.splice(m,1),this._layer.setLatLngs(h),this.isPolygon()&&x.length<=2&&x.splice(0,x.length);let E=!1;if(x.length<=1&&(x.splice(0,x.length),g.length>1&&d.length>1&&(h=Gi(h)),this._layer.setLatLngs(h),this._initMarkers(),E=!0),Hn(h)||this._layer.remove(),h=Gi(h),this._layer.setLatLngs(h),this._markers=Gi(this._markers),!E&&(k=d.length>1?(0,Pr.default)(this._markers,g):this._markers,a._middleMarkerPrev&&(this._markerGroup.removeLayer(a._middleMarkerPrev),this._removeFromCache(a._middleMarkerPrev)),a._middleMarkerNext&&(this._markerGroup.removeLayer(a._middleMarkerNext),this._removeFromCache(a._middleMarkerNext)),this._markerGroup.removeLayer(a),this._removeFromCache(a),k)){let S,H;if(this.isPolygon()?(S=(m+1)%k.length,H=(m+(k.length-1))%k.length):(H=m-1<0?void 0:m-1,S=m+1>=k.length?void 0:m+1),S!==H){let j=k[H],ut=k[S];this.options.hideMiddleMarkers!==!0&&this._createMiddleMarker(j,ut)}k.splice(m,1)}this._fireEdit(),this._layerEdited=!0,this._fireVertexRemoved(a,d),this._fireChange(this._layer.getLatLngs(),"Edit")},updatePolygonCoordsFromMarkerDrag(r){let a=this._layer.getLatLngs(),h=r.getLatLng(),{indexPath:d,index:m,parentPath:g}=L.PM.Utils.findDeepMarkerIndex(this._markers,r);(d.length>1?(0,Pr.default)(a,g):a).splice(m,1,h),this._layer.setLatLngs(a)},_getNeighborMarkers(r){let{indexPath:a,index:h,parentPath:d}=L.PM.Utils.findDeepMarkerIndex(this._markers,r),m=a.length>1?(0,Pr.default)(this._markers,d):this._markers,g=(h+1)%m.length,x=(h+(m.length-1))%m.length,k=m[x],E=m[g];return{prevMarker:k,nextMarker:E}},_checkMarkerAllowedToDrag(r){let{prevMarker:a,nextMarker:h}=this._getNeighborMarkers(r),d=L.polyline([a.getLatLng(),r.getLatLng()]),m=L.polyline([r.getLatLng(),h.getLatLng()]),g=Nn(this._layer.toGeoJSON(15),d.toGeoJSON(15)).features.length,x=Nn(this._layer.toGeoJSON(15),m.toGeoJSON(15)).features.length;return r.getLatLng()===this._markers[0][0].getLatLng()?x+=1:r.getLatLng()===this._markers[0][this._markers[0].length-1].getLatLng()&&(g+=1),!(g<=2&&x<=2)},_onMarkerDragStart(r){let a=r.target;if(this.cachedColor||(this.cachedColor=this._layer.options.color),!this._vertexValidation("move",r))return;let{indexPath:h}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);this._fireMarkerDragStart(r,h),this.options.allowSelfIntersection||(this._coordsBeforeEdit=Ui(this._layer,this._layer.getLatLngs())),!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()?this._markerAllowedToDrag=this._checkMarkerAllowedToDrag(a):this._markerAllowedToDrag=null},_onMarkerDrag(r){let a=r.target;if(!this._vertexValidationDrag(a))return;let{indexPath:h,index:d,parentPath:m}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);if(!h)return;if(!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this.hasSelfIntersection()&&this._markerAllowedToDrag===!1){this._layer.setLatLngs(this._coordsBeforeEdit),this._initMarkers(),this._handleLayerStyle();return}this.updatePolygonCoordsFromMarkerDrag(a);let g=h.length>1?(0,Pr.default)(this._markers,m):this._markers,x=(d+1)%g.length,k=(d+(g.length-1))%g.length,E=a.getLatLng(),S=g[k].getLatLng(),H=g[x].getLatLng();if(a._middleMarkerNext){let j=L.PM.Utils.calcMiddleLatLng(this._map,E,H);a._middleMarkerNext.setLatLng(j)}if(a._middleMarkerPrev){let j=L.PM.Utils.calcMiddleLatLng(this._map,E,S);a._middleMarkerPrev.setLatLng(j)}this.options.allowSelfIntersection||this._handleLayerStyle(),this._fireMarkerDrag(r,h),this._fireChange(this._layer.getLatLngs(),"Edit")},_onMarkerDragEnd(r){let a=r.target;if(!this._vertexValidationDragEnd(a))return;let{indexPath:h}=L.PM.Utils.findDeepMarkerIndex(this._markers,a),d=this.hasSelfIntersection();d&&this.options.allowSelfIntersectionEdit&&this._markerAllowedToDrag&&(d=!1);let m=!this.options.allowSelfIntersection&&d;if(this._fireMarkerDragEnd(r,h,m),m){this._layer.setLatLngs(this._coordsBeforeEdit),this._coordsBeforeEdit=null,this._initMarkers(),this.options.snappable&&this._initSnappableMarkers(),this._handleLayerStyle(),this._fireLayerReset(r,h);return}!this.options.allowSelfIntersection&&this.options.allowSelfIntersectionEdit&&this._handleLayerStyle(),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit")},_onVertexClick(r){let a=r.target;if(a._dragging)return;let{indexPath:h}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);this._fireVertexClick(r,h)}}),Tn.Polygon=Tn.Line.extend({_shape:"Polygon",_checkMarkerAllowedToDrag(r){let{prevMarker:a,nextMarker:h}=this._getNeighborMarkers(r),d=L.polyline([a.getLatLng(),r.getLatLng()]),m=L.polyline([r.getLatLng(),h.getLatLng()]),g=Nn(this._layer.toGeoJSON(15),d.toGeoJSON(15)).features.length,x=Nn(this._layer.toGeoJSON(15),m.toGeoJSON(15)).features.length;return!(g<=2&&x<=2)}}),Tn.Rectangle=Tn.Polygon.extend({_shape:"Rectangle",_initMarkers(){let r=this._map,a=this._findCorners();this._markerGroup&&this._markerGroup.clearLayers(),this._markerGroup=new L.FeatureGroup,this._markerGroup._pmTempLayer=!0,r.addLayer(this._markerGroup),this._markers=[],this._markers[0]=a.map(this._createMarker,this),[this._cornerMarkers]=this._markers,this._layer.getLatLngs()[0].forEach((h,d)=>{let m=this._cornerMarkers.find(g=>g._index===d);m&&m.setLatLng(h)})},applyOptions(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping(),this._addMarkerEvents()},_createMarker(r,a){let h=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(h,"vertexPane"),h._origLatLng=r,h._index=a,h._pmTempLayer=!0,h.on("click",this._onVertexClick,this),this._markerGroup.addLayer(h),h},_addMarkerEvents(){this._markers[0].forEach(r=>{r.on("dragstart",this._onMarkerDragStart,this),r.on("drag",this._onMarkerDrag,this),r.on("dragend",this._onMarkerDragEnd,this),this.options.preventMarkerRemoval||r.on("contextmenu",this._removeMarker,this)})},_removeMarker(){return null},_onMarkerDragStart(r){if(!this._vertexValidation("move",r))return;let a=r.target,h=this._cornerMarkers;a._oppositeCornerLatLng=h.find(m=>m._index===(a._index+2)%4).getLatLng(),a._snapped=!1;let{indexPath:d}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);this._fireMarkerDragStart(r,d)},_onMarkerDrag(r){let a=r.target;if(!this._vertexValidationDrag(a)||a._index===void 0)return;this._adjustRectangleForMarkerMove(a);let{indexPath:h}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);this._fireMarkerDrag(r,h),this._fireChange(this._layer.getLatLngs(),"Edit")},_onMarkerDragEnd(r){let a=r.target;if(!this._vertexValidationDragEnd(a))return;this._cornerMarkers.forEach(d=>{delete d._oppositeCornerLatLng});let{indexPath:h}=L.PM.Utils.findDeepMarkerIndex(this._markers,a);this._fireMarkerDragEnd(r,h),this._fireEdit(),this._layerEdited=!0,this._fireChange(this._layer.getLatLngs(),"Edit")},_adjustRectangleForMarkerMove(r){L.extend(r._origLatLng,r._latlng);let a=L.PM.Utils._getRotatedRectangle(r.getLatLng(),r._oppositeCornerLatLng,this.getAngle(),this._map);this._layer.setLatLngs(a),this._adjustAllMarkers(),this._layer.redraw()},_adjustAllMarkers(){let r=this._layer.getLatLngs()[0];r&&r.length!==4&&r.length>0?(r.forEach((a,h)=>{this._cornerMarkers[h].setLatLng(a)}),this._cornerMarkers.slice(r.length).forEach(a=>{a.setLatLng(r[0])})):!r||!r.length?console.error("The layer has no LatLngs"):this._cornerMarkers.forEach(a=>{a.setLatLng(r[a._index])})},_findCorners(){this._angle===void 0&&this.setInitAngle(Us(this._map,this._layer.getLatLngs()[0][0],this._layer.getLatLngs()[0][1])||0);let r=this._layer.getLatLngs()[0];return L.PM.Utils._getRotatedRectangle(r[0],r[2],this.getAngle(),this._map||this)}}),Tn.CircleMarker=Tn.extend({_shape:"CircleMarker",initialize(r){this._layer=r,this._enabled=!1,this._minRadiusOption="minRadiusCircleMarker",this._maxRadiusOption="maxRadiusCircleMarker",this._editableOption="resizeableCircleMarker",this._updateHiddenPolyCircle()},enable(r={draggable:!0,snappable:!0}){if(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.disable();return}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()},_extendingEnable(){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(){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(){this._layer.off("contextmenu",this._removeMarker,this)},enabled(){return this._enabled},toggleEdit(r){this.enabled()?this.disable():this.enable(r)},applyOptions(){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(){this.options.preventMarkerRemoval||this._layer.on("contextmenu",this._removeMarker,this)},_initMarkers(){let r=this._map;this._helperLayers&&this._helperLayers.clearLayers(),this._helperLayers=new L.FeatureGroup,this._helperLayers._pmTempLayer=!0,this._helperLayers.addTo(r);let a=this._layer.getLatLng(),h=this._layer._radius,d=this._getLatLngOnCircle(a,h);this._centerMarker=this._createCenterMarker(a),this._outerMarker=this._createOuterMarker(d),this._markers=[this._centerMarker,this._outerMarker],this._createHintLine(this._centerMarker,this._outerMarker)},_getLatLngOnCircle(r,a){let h=this._map.project(r),d=L.point(h.x+a,h.y);return this._map.unproject(d)},_createHintLine(r,a){let h=r.getLatLng(),d=a.getLatLng();this._hintline=L.polyline([h,d],this.options.hintlineStyle),this._setPane(this._hintline,"layerPane"),this._hintline._pmTempLayer=!0,this._helperLayers.addLayer(this._hintline)},_createCenterMarker(r){let a=this._createMarker(r);return this.options.draggable?L.DomUtil.addClass(a._icon,"leaflet-pm-draggable"):a.dragging.disable(),a},_createOuterMarker(r){let a=this._createMarker(r);return a.on("drag",this._resizeCircle,this),a},_createMarker(r){let a=new L.Marker(r,{draggable:!0,icon:L.divIcon({className:"marker-icon"})});return this._setPane(a,"vertexPane"),a._origLatLng=r,a._pmTempLayer=!0,a.on("dragstart",this._onMarkerDragStart,this),a.on("drag",this._onMarkerDrag,this),a.on("dragend",this._onMarkerDragEnd,this),a.on("click",this._onVertexClick,this),this._helperLayers.addLayer(a),a},_moveCircle(r){if(r.target._cancelDragEventChain)return;let a=this._centerMarker.getLatLng();this._layer.setLatLng(a);let h=this._layer._radius,d=this._getLatLngOnCircle(a,h);this._outerMarker._latlng=d,this._outerMarker.update(),this._syncHintLine(),this._updateHiddenPolyCircle(),this._fireCenterPlaced("Edit"),this._fireChange(this._layer.getLatLng(),"Edit")},_syncMarkers(){let r=this._layer.getLatLng(),a=this._layer._radius,h=this._getLatLngOnCircle(r,a);this._outerMarker.setLatLng(h),this._centerMarker.setLatLng(r),this._syncHintLine(),this._updateHiddenPolyCircle()},_resizeCircle(){this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker()),this._syncHintLine(),this._syncCircleRadius()},_syncCircleRadius(){let r=this._centerMarker.getLatLng(),a=this._outerMarker.getLatLng(),h=this._distanceCalculation(r,a);this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]?this._layer.setRadius(this.options[this._maxRadiusOption]):this._layer.setRadius(h),this._updateHiddenPolyCircle(),this._fireChange(this._layer.getLatLng(),"Edit")},_syncHintLine(){let r=this._centerMarker.getLatLng(),a=this._outerMarker.getLatLng();this._hintline.setLatLngs([r,a])},_removeMarker(){this.options[this._editableOption]&&this.disable(),this._layer.remove(),this._fireRemove(this._layer),this._fireRemove(this._map,this._layer)},_onDragStart(){this._map.pm.Draw.CircleMarker._layerIsDragging=!0},_onMarkerDragStart(r){this._vertexValidation("move",r)&&this._fireMarkerDragStart(r)},_onMarkerDrag(r){let a=r.target;a instanceof L.Marker&&!this._vertexValidationDrag(a)||this._fireMarkerDrag(r)},_onMarkerDragEnd(r){this._extedingMarkerDragEnd();let a=r.target;this._vertexValidationDragEnd(a)&&(this.options[this._editableOption]&&(this._fireEdit(),this._layerEdited=!0),this._fireMarkerDragEnd(r))},_extedingMarkerDragEnd(){this._map.pm.Draw.CircleMarker._layerIsDragging=!1},_initSnappableMarkersDrag(){let r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0?!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(){let 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(){let r=this._layer._map||this._map;if(r){let a=L.PM.Utils.pxRadiusToMeterRadius(this._layer.getRadius(),r,this._layer.getLatLng()),h=L.circle(this._layer.getLatLng(),this._layer.options);h.setRadius(a);let d=r&&r.pm._isCRSSimple();this._hiddenPolyCircle?this._hiddenPolyCircle.setLatLngs(L.PM.Utils.circleToPolygon(h,200,!d).getLatLngs()):this._hiddenPolyCircle=L.PM.Utils.circleToPolygon(h,200,!d),this._hiddenPolyCircle._parentCopy||(this._hiddenPolyCircle._parentCopy=this._layer)}},_getNewDestinationOfOuterMarker(){let r=this._centerMarker.getLatLng(),a=this._outerMarker.getLatLng(),h=this._distanceCalculation(r,a);return this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]&&(a=Qr(this._map,r,a,this._getMaxDistanceInMeter(r))),a},_handleOuterMarkerSnapping(){if(this._outerMarker._snapped){let r=this._centerMarker.getLatLng(),a=this._outerMarker.getLatLng(),h=this._distanceCalculation(r,a);this.options[this._minRadiusOption]&&hthis.options[this._maxRadiusOption]&&this._outerMarker.setLatLng(this._outerMarker._orgLatLng)}this._outerMarker.setLatLng(this._getNewDestinationOfOuterMarker())},_distanceCalculation(r,a){return this._map.project(r).distanceTo(this._map.project(a))},_getMinDistanceInMeter(r){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._minRadiusOption],this._map,r)},_getMaxDistanceInMeter(r){return L.PM.Utils.pxRadiusToMeterRadius(this.options[this._maxRadiusOption],this._map,r)},_onVertexClick(r){r.target._dragging||this._fireVertexClick(r,void 0)}}),Tn.Circle=Tn.CircleMarker.extend({_shape:"Circle",initialize(r){this._layer=r,this._enabled=!1,this._minRadiusOption="minRadiusCircle",this._maxRadiusOption="maxRadiusCircle",this._editableOption="resizableCircle",this._updateHiddenPolyCircle()},enable(r){L.PM.Edit.CircleMarker.prototype.enable.call(this,r||{})},_extendingEnable(){},_extendingDisable(){this._layer.off("remove",this.disable,this);let r=this._layer._path?this._layer._path:this._layer._renderer._container;L.DomUtil.removeClass(r,"leaflet-pm-draggable")},_extendingApplyOptions(){},_syncMarkers(){},_removeMarker(){},_onDragStart(){},_extedingMarkerDragEnd(){},_updateHiddenPolyCircle(){let 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(r,a){return this._map.distance(r,a)},_getMinDistanceInMeter(){return this.options[this._minRadiusOption]},_getMaxDistanceInMeter(){return this.options[this._maxRadiusOption]},_onVertexClick(r){r.target._dragging||this._fireVertexClick(r,void 0)}}),Tn.ImageOverlay=Tn.extend({_shape:"ImageOverlay",initialize(r){this._layer=r,this._enabled=!1},toggleEdit(r){this.enabled()?this.disable():this.enable(r)},enabled(){return this._enabled},enable(r={draggable:!0,snappable:!0}){if(L.Util.setOptions(this,r),this._map=this._layer._map,!!this._map){if(!this.options.allowEditing){this.disable();return}this.enabled()||this.disable(),this.enableLayerDrag(),this._layer.on("remove",this.disable,this),this._enabled=!0,this._otherSnapLayers=this._findCorners(),this._fireEnable()}},disable(){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(){let r=this._layer.getBounds(),a=r.getNorthWest(),h=r.getNorthEast(),d=r.getSouthEast(),m=r.getSouthWest();return[a,h,d,m]}}),Tn.Text=Tn.extend({_shape:"Text",initialize(r){this._layer=r,this._enabled=!1},enable(r){if(L.Util.setOptions(this,r),!!this.textArea){if(!this.options.allowEditing||!this._layer._map){this.disable();return}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()}},disable(){if(!this.enabled())return;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");let 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(){return this._enabled},toggleEdit(r){this.enabled()?this.disable():this.enable(r)},applyOptions(){this.options.snappable?this._initSnappableMarkers():this._disableSnapping()},_initSnappableMarkers(){let r=this._layer;this.options.snapDistance=this.options.snapDistance||30,this.options.snapSegment=this.options.snapSegment===void 0?!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(){let 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(){this.textArea.style.height="1px",this.textArea.style.width="1px";let r=this.textArea.scrollHeight>21?this.textArea.scrollHeight:21,a=this.textArea.scrollWidth>16?this.textArea.scrollWidth:16;this.textArea.style.height=`${r}px`,this.textArea.style.width=`${a}px`,this._layer.options.text=this.getText(),this._fireTextChange(this.getText())},_disableOnBlur(){this._disableOnBlurActive=!0,setTimeout(()=>{this.enabled()&&L.DomEvent.on(document,"click",this._documentClick,this)},100)},_documentClick(r){r.target!==this.textArea&&(this.disable(),!this.getText()&&this.options.removeIfEmpty&&this.remove())},_focusChange(r={}){let a=this._hasFocus;this._hasFocus=r.type==="focus",!a!=!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(){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(){this._map.dragging&&(this._originalMapDragState&&this._map.dragging.enable(),this._safeToCacheDragState=!0),this.textArea.classList.remove("pm-hasfocus")},focus(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.focus()},blur(){if(!this.enabled())throw new TypeError("Layer is not enabled");this.textArea.blur(),this._disableOnBlurActive&&this.disable()},hasFocus(){return this._hasFocus},getElement(){return this.textArea},setText(r){this.textArea.value=r,this._autoResize()},getText(){return this.textArea.value},_initTextMarker(){if(this.textArea=L.PM.Draw.Text.prototype._createTextArea.call(this),this.options.className){let a=this.options.className.split(" ");this.textArea.classList.add(...a)}let r=L.PM.Draw.Text.prototype._createTextIcon.call(this,this.textArea);this._layer.setIcon(r),this._layer.once("add",this._createTextMarker,this)},_createTextMarker(r=!1){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(r){r.preventDefault()}});var Rc=function(r,a,h,d,m,g){this._matrix=[r,a,h,d,m,g]};Rc.init=()=>new L.PM.Matrix(1,0,0,1,0,0),Rc.prototype={transform(r){return this._transform(r.clone())},_transform(r){let a=this._matrix,{x:h,y:d}=r;return r.x=a[0]*h+a[1]*d+a[4],r.y=a[2]*h+a[3]*d+a[5],r},untransform(r){let a=this._matrix;return new L.Point((r.x/a[0]-a[4])/a[0],(r.y/a[2]-a[5])/a[2])},clone(){let r=this._matrix;return new L.PM.Matrix(r[0],r[1],r[2],r[3],r[4],r[5])},translate(r){if(r===void 0)return new L.Point(this._matrix[4],this._matrix[5]);let a,h;return typeof r=="number"?(a=r,h=r):(a=r.x,h=r.y),this._add(1,0,0,1,a,h)},scale(r,a){if(r===void 0)return new L.Point(this._matrix[0],this._matrix[3]);let h,d;return a=a||L.point(0,0),typeof r=="number"?(h=r,d=r):(h=r.x,d=r.y),this._add(h,0,0,d,a.x,a.y)._add(1,0,0,1,-a.x,-a.y)},rotate(r,a){let h=Math.cos(r),d=Math.sin(r);return a=a||new L.Point(0,0),this._add(h,d,-d,h,a.x,a.y)._add(1,0,0,1,-a.x,-a.y)},flip(){return this._matrix[1]*=-1,this._matrix[2]*=-1,this},_add(r,a,h,d,m,g){let x=[[],[],[]],k=this._matrix,E=[[k[0],k[2],k[4]],[k[1],k[3],k[5]],[0,0,1]],S=[[r,h,m],[a,d,g],[0,0,1]],H;r&&r instanceof L.PM.Matrix&&(k=r._matrix,S=[[k[0],k[2],k[4]],[k[1],k[3],k[5]],[0,0,1]]);for(let j=0;j<3;j+=1)for(let ut=0;ut<3;ut+=1){H=0;for(let _t=0;_t<3;_t+=1)H+=E[j][_t]*S[_t][ut];x[j][ut]=H}return this._matrix=[x[0][0],x[1][0],x[0][1],x[1][1],x[0][2],x[1][2]],this}};var t0=Rc,e0={calcMiddleLatLng(r,a,h){let d=r.project(a),m=r.project(h);return r.unproject(d._add(m)._divideBy(2))},findLayers(r){let a=[];return r.eachLayer(h=>{(h instanceof L.Polyline||h instanceof L.Marker||h instanceof L.Circle||h instanceof L.CircleMarker||h instanceof L.ImageOverlay)&&a.push(h)}),a=a.filter(h=>!!h.pm),a=a.filter(h=>!h._pmTempLayer),a=a.filter(h=>!L.PM.optIn&&!h.options.pmIgnore||L.PM.optIn&&h.options.pmIgnore===!1),a},circleToPolygon(r,a=60,h=!0){let d=r.getLatLng(),m=r.getRadius(),g=wl(d,m,a,0,h),x=[];for(let k=0;k{g.fire(a,h,d)})},getAllParentGroups(r){let a=[],h=[],d=m=>{for(let g in m._eventParents)if(a.indexOf(g)===-1){a.push(g);let x=m._eventParents[g];h.push(x),d(x)}};return!r._pmLastGroupFetch||!r._pmLastGroupFetch.time||new Date().getTime()-r._pmLastGroupFetch.time>1e3?(d(r),r._pmLastGroupFetch={time:new Date().getTime(),groups:h,groupIds:a},{groupIds:a,groups:h}):{groups:r._pmLastGroupFetch.groups,groupIds:r._pmLastGroupFetch.groupIds}},createGeodesicPolygon:wl,getTranslation:Te,findDeepCoordIndex(r,a,h=!0){let d,m=x=>(k,E)=>{let S=x.concat(E);if(h){if(k.lat&&k.lat===a.lat&&k.lng===a.lng)return d=S,!0}else if(k.lat&&L.latLng(k).equals(a))return d=S,!0;return Array.isArray(k)&&k.some(m(S))};r.some(m([]));let g={};return d&&(g={indexPath:d,index:d[d.length-1],parentPath:d.slice(0,d.length-1)}),g},findDeepMarkerIndex(r,a){let h,d=g=>(x,k)=>{let E=g.concat(k);return x._leaflet_id===a._leaflet_id?(h=E,!0):Array.isArray(x)&&x.some(d(E))};r.some(d([]));let m={};return h&&(m={indexPath:h,index:h[h.length-1],parentPath:h.slice(0,h.length-1)}),m},_getIndexFromSegment(r,a){if(a&&a.length===2){let h=this.findDeepCoordIndex(r,a[0]),d=this.findDeepCoordIndex(r,a[1]),m=Math.max(h.index,d.index);return(h.index===0||d.index===0)&&m!==1&&(m+=1),{indexA:h,indexB:d,newIndex:m,indexPath:h.indexPath,parentPath:h.parentPath}}return null},_getRotatedRectangle(r,a,h,d){let m=ns(d,r),g=ns(d,a),x=h*Math.PI/180,k=Math.cos(x),E=Math.sin(x),S=(g.x-m.x)*k+(g.y-m.y)*E,H=(g.y-m.y)*k-(g.x-m.x)*E,j=S*k+m.x,ut=S*E+m.y,_t=-H*E+m.x,Bt=H*k+m.y,Kt=Vl(d,m),te=Vl(d,{x:j,y:ut}),Ae=Vl(d,g),U=Vl(d,{x:_t,y:Bt});return[Kt,te,Ae,U]},pxRadiusToMeterRadius(r,a,h){let d=a.project(h),m=L.point(d.x+r,d.y);return a.distance(a.unproject(m),h)}},n0=e0;L.PM=L.PM||{version:Ts.version,Map:_c,Toolbar:kl,Draw:Mn,Edit:Tn,Utils:n0,Matrix:t0,activeLang:"en",optIn:!1,initialize(r){this.addInitHooks(r)},setOptIn(r){this.optIn=!!r},addInitHooks(){function r(){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.Map.addInitHook(r);function a(){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.LayerGroup.addInitHook(a);function h(){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.Marker.addInitHook(h);function d(){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.CircleMarker.addInitHook(d);function m(){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.Polyline.addInitHook(m);function g(){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.Polygon.addInitHook(g);function x(){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.Rectangle.addInitHook(x);function k(){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.Circle.addInitHook(k);function E(){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))}L.ImageOverlay.addInitHook(E)},reInitLayer(r){r instanceof L.LayerGroup&&r.eachLayer(a=>{this.reInitLayer(a)}),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(r){let a=this._map.mouseEventToLayerPoint(r),h,d;for(let m=this._drawFirst;m;m=m.next)h=m.layer,h.options.interactive&&h._containsPoint(a)&&(!(r.type==="click"||r.type==="preclick")||!this._map._draggableMoved(h))&&(d=h);d&&(L.DomEvent.fakeStop(r),this._fireEvent([d],r))}}),L.PM.initialize()})();var Sf={exports:{}};(function(t,e){(function(i,o){o(e)})(us,function(i){var o=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(s){L.Util.setOptions(this,s),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 u=L.DomUtil.TRANSITION&&this.options.animate;L.extend(this,u?this._withAnimation:this._noAnimation),this._markerCluster=u?L.MarkerCluster:L.MarkerClusterNonAnimated},addLayer:function(s){if(s instanceof L.LayerGroup)return this.addLayers([s]);if(!s.getLatLng)return this._nonPointGroup.addLayer(s),this.fire("layeradd",{layer:s}),this;if(!this._map)return this._needsClustering.push(s),this.fire("layeradd",{layer:s}),this;if(this.hasLayer(s))return this;this._unspiderfy&&this._unspiderfy(),this._addLayer(s,this._maxZoom),this.fire("layeradd",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons();var u=s,f=this._zoom;if(s.__parent)for(;u.__parent._zoom>=f;)u=u.__parent;return this._currentShownBounds.contains(u.getLatLng())&&(this.options.animateAddingMarkers?this._animationAddLayer(s,u):this._animationAddLayerNonAnimated(s,u)),this},removeLayer:function(s){return s instanceof L.LayerGroup?this.removeLayers([s]):(s.getLatLng?this._map?s.__parent&&(this._unspiderfy&&(this._unspiderfy(),this._unspiderfyLayer(s)),this._removeLayer(s,!0),this.fire("layerremove",{layer:s}),this._topClusterLevel._recalculateBounds(),this._refreshClustersIcons(),s.off(this._childMarkerEventHandlers,this),this._featureGroup.hasLayer(s)&&(this._featureGroup.removeLayer(s),s.clusterShow&&s.clusterShow())):(!this._arraySplice(this._needsClustering,s)&&this.hasLayer(s)&&this._needsRemoving.push({layer:s,latlng:s._latlng}),this.fire("layerremove",{layer:s})):(this._nonPointGroup.removeLayer(s),this.fire("layerremove",{layer:s})),this)},addLayers:function(s,u){if(!L.Util.isArray(s))return this.addLayer(s);var f,_=this._featureGroup,v=this._nonPointGroup,b=this.options.chunkedLoading,w=this.options.chunkInterval,B=this.options.chunkProgress,A=s.length,F=0,V=!0;if(this._map){var ot=new Date().getTime(),rt=L.bind(function(){var z=new Date().getTime();for(this._map&&this._unspiderfy&&this._unspiderfy();F"+u+"",className:"marker-cluster"+f,iconSize:new L.Point(40,40)})},_bindEvents:function(){var s=this._map,u=this.options.spiderfyOnMaxZoom,f=this.options.showCoverageOnHover,_=this.options.zoomToBoundsOnClick,v=this.options.spiderfyOnEveryZoom;(u||_||v)&&this.on("clusterclick clusterkeypress",this._zoomOrSpiderfy,this),f&&(this.on("clustermouseover",this._showCoverage,this),this.on("clustermouseout",this._hideCoverage,this),s.on("zoomend",this._hideCoverage,this))},_zoomOrSpiderfy:function(s){var u=s.layer,f=u;if(s.type!=="clusterkeypress"||!s.originalEvent||s.originalEvent.keyCode===13){for(;f._childClusters.length===1;)f=f._childClusters[0];f._zoom===this._maxZoom&&f._childCount===u._childCount&&this.options.spiderfyOnMaxZoom?u.spiderfy():this.options.zoomToBoundsOnClick&&u.zoomToBounds(),this.options.spiderfyOnEveryZoom&&u.spiderfy(),s.originalEvent&&s.originalEvent.keyCode===13&&this._map._container.focus()}},_showCoverage:function(s){var u=this._map;this._inZoomAnimation||(this._shownPolygon&&u.removeLayer(this._shownPolygon),2A._zoom;_--)V=new this._markerCluster(this,_,V),v[_].addObject(V,this._map.project(B.getLatLng(),_));return A._addChild(V),void this._removeFromGridUnclustered(B,u)}b[u].addObject(s,f)}this._topClusterLevel._addChild(s),s.__parent=this._topClusterLevel},_refreshClustersIcons:function(){this._featureGroup.eachLayer(function(s){s instanceof L.MarkerCluster&&s._iconNeedsUpdate&&s._updateIcon()})},_enqueue:function(s){this._queue.push(s),this._queueTimeout||(this._queueTimeout=setTimeout(L.bind(this._processQueue,this),300))},_processQueue:function(){for(var s=0;ss?(this._animationStart(),this._animationZoomOut(this._zoom,s)):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(s){var u=this._maxLat;return u!==void 0&&(s.getNorth()>=u&&(s._northEast.lat=1/0),s.getSouth()<=-u&&(s._southWest.lat=-1/0)),s},_animationAddLayerNonAnimated:function(s,u){if(u===s)this._featureGroup.addLayer(s);else if(u._childCount===2){u._addToMap();var f=u.getAllChildMarkers();this._featureGroup.removeLayer(f[0]),this._featureGroup.removeLayer(f[1])}else u._updateIcon()},_extractNonGroupLayers:function(s,u){var f,_=s.getLayers(),v=0;for(u=u||[];v<_.length;v++)(f=_[v])instanceof L.LayerGroup?this._extractNonGroupLayers(f,u):u.push(f);return u},_overrideMarkerIcon:function(s){return s.options.icon=this.options.iconCreateFunction({getChildCount:function(){return 1},getAllChildMarkers:function(){return[s]}})}});L.MarkerClusterGroup.include({_mapBoundsInfinite:new L.LatLngBounds(new L.LatLng(-1/0,-1/0),new L.LatLng(1/0,1/0))}),L.MarkerClusterGroup.include({_noAnimation:{_animationStart:function(){},_animationZoomIn:function(s,u){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),s),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationZoomOut:function(s,u){this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),s),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this.fire("animationend")},_animationAddLayer:function(s,u){this._animationAddLayerNonAnimated(s,u)}},_withAnimation:{_animationStart:function(){this._map._mapPane.className+=" leaflet-cluster-anim",this._inZoomAnimation++},_animationZoomIn:function(s,u){var f,_=this._getExpandedVisibleBounds(),v=this._featureGroup,b=Math.floor(this._map.getMinZoom());this._ignoreMove=!0,this._topClusterLevel._recursively(_,s,b,function(w){var B,A=w._latlng,F=w._markers;for(_.contains(A)||(A=null),w._isSingleParent()&&s+1===u?(v.removeLayer(w),w._recursivelyAddChildrenToMap(null,u,_)):(w.clusterHide(),w._recursivelyAddChildrenToMap(A,u,_)),f=F.length-1;0<=f;f--)B=F[f],_.contains(B._latlng)||v.removeLayer(B)}),this._forceLayout(),this._topClusterLevel._recursivelyBecomeVisible(_,u),v.eachLayer(function(w){w instanceof L.MarkerCluster||!w._icon||w.clusterShow()}),this._topClusterLevel._recursively(_,s,u,function(w){w._recursivelyRestoreChildPositions(u)}),this._ignoreMove=!1,this._enqueue(function(){this._topClusterLevel._recursively(_,s,b,function(w){v.removeLayer(w),w.clusterShow()}),this._animationEnd()})},_animationZoomOut:function(s,u){this._animationZoomOutSingle(this._topClusterLevel,s-1,u),this._topClusterLevel._recursivelyAddChildrenToMap(null,u,this._getExpandedVisibleBounds()),this._topClusterLevel._recursivelyRemoveChildrenFromMap(this._currentShownBounds,Math.floor(this._map.getMinZoom()),s,this._getExpandedVisibleBounds())},_animationAddLayer:function(s,u){var f=this,_=this._featureGroup;_.addLayer(s),u!==s&&(2f)&&(f=(w=rt).lat),(_===!1||rt.lat<_)&&(_=(B=rt).lat),(v===!1||rt.lng>v)&&(v=(A=rt).lng),(b===!1||rt.lng=this._circleSpiralSwitchover?this._generatePointsSpiral(u.length,f):(f.y+=10,this._generatePointsCircle(u.length,f)),this._animationSpiderfy(u,s)}},unspiderfy:function(s){this._group._inZoomAnimation||(this._animationUnspiderfy(s),this._group._spiderfied=null)},_generatePointsCircle:function(s,u){var f,_,v=this._group.options.spiderfyDistanceMultiplier*this._circleFootSeparation*(2+s)/this._2PI,b=this._2PI/s,w=[];for(v=Math.max(v,35),w.length=s,f=0;f[0,0]},geojson:{type:Object,default:void 0},zoomBounds:{type:Number,default:void 0},geojsonOptions:{type:Function,default:()=>({})},prefix:{type:[String,Boolean],default:!1},cluster:{type:Boolean,default:!1},maxClusterRadius:{type:Number,default:20},clusterIconCreateFunction:{type:Function,default:void 0}},emits:["add:layer","drag:layer","draw:start","edit:layer","geojson","geojson:ready","zoom:change","zoom:start"],setup(t,{expose:e,emit:i}){delete ii.Icon.Default.prototype._getIconUrl,ii.Icon.Default.mergeOptions({iconRetinaUrl:bM,iconUrl:xM,shadowUrl:wM});const o=t,c=i;let s,u,f,_;const v=Ut(null),b=Jt(()=>({maxZoom:o.zoomBounds,zoom:{animate:o.zoomAnimate}}));xn(()=>o.geojson,z=>{_.clearLayers(),rt(z)},{deep:!0}),xn(()=>o.dragging,z=>{z?s.dragging.enable():s.dragging.disable()});function w(){const z={maxClusterRadius:o.maxClusterRadius};return o.clusterIconCreateFunction&&Object.assign(z,{iconCreateFunction:tt=>o.clusterIconCreateFunction({L:ii,cluster:tt})}),z}Cn(()=>{const z=gM(ii,{maxZoom:o.maxZoom,minZoom:o.minZoom,className:"map-tiles"}),[tt]=Object.values(z),pt={center:o.center,zoom:o.zoom,worldCopyJump:!0,dragging:o.dragging,maxZoom:o.maxZoom};o.disableZoom&&Object.assign(pt,{scrollWheelZoom:!1,zoomControl:!1,doubleClickZoom:!1,touchZoom:!1,boxZoom:!1}),f=new ii.FeatureGroup,_=o.cluster?new ii.markerClusterGroup(w()):new ii.FeatureGroup,s=ii.map(v.value,pt),s.attributionControl.setPrefix(o.prefix),s.pm.setGlobalOptions({layerGroup:f}),_.addTo(s),s.addLayer(f),s.addLayer(_),o.geojson&&rt(o.geojson),o.controls&&(s.pm.addControls({position:"topleft",drawText:!1,drawCircle:!1,drawPolyline:!1,drawCircleMarker:!1,drawMarker:!1,cutPolygon:!1}),s.on("pm:create",Tt=>{c("geojson",B()),c("add:layer",F(Tt.layer))}),f.on("pm:edit",Tt=>{c("geojson",B()),c("edit:layer",F(Tt.layer))}),s.on("pm:drawstart",Tt=>{A(),c("draw:start",Tt)}),s.on("zoom",Tt=>c("zoom:change",Tt)),s.on("zoomstart",Tt=>c("zoom:start",Tt))),tt.addTo(s),Object.keys(z).length>1&&ii.control.layers(z,{},{position:"topleft",collapsed:!1}).addTo(s),ot()});function B(){const z=ii.featureGroup();return f.eachLayer(tt=>{(tt instanceof ii.Path||tt instanceof ii.Marker)&&tt.pm&&z.addLayer(tt)}),z.toGeoJSON()}function A(){f.clearLayers()}function F(z){const tt=z.toGeoJSON();return typeof z.getRadius=="function"&&(tt.properties.radius=z.getRadius()),tt}const V=()=>{if(!_)return;const z=_.getBounds();s.invalidateSize(),qa(()=>{Object.keys(z).length&&s.fitBounds(z,b.value)})},ot=()=>{u=new ResizeObserver(z=>{z[0].contentRect,V()}),u.observe(v.value)};yr(()=>{_.clearLayers(),u==null||u.disconnect()});function rt(z){if(z){const tt={L:ii};ii.geoJSON(z,{...TM(tt),...o.geojsonOptions(tt)}).addTo(_);const pt=_.getBounds();pt.isValid()&&s.fitBounds(pt,b.value)}c("geojson:ready",_)}function Q(){return s}return e({clearDrawLayers:A,getMapObject:Q,resizeMap:V}),(z,tt)=>(P(),Z("div",{ref_key:"leafletMap",ref:v,style:ki({width:o.width,height:o.height})},null,4))}};function OM(t){RM(t,Object.assign({"/src/components/Map/VMap.client.vue":AM}))}function RM(t,e){Object.entries(e).forEach(([o,c])=>{const s=o.split("/").pop().replace(/\.client.\w+$/,"");t.component(s,c)})}const DM=["innerHTML"],IM={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"},FM={key:1,class:"inline h-4 w-1"},NM=["innerHTML"],jM={__name:"AddressMaker.global",props:{items:{type:Array,required:!0}},setup(t){const e=t,i=Jt(()=>{const[c,...s]=e.items;return{username:c,host:s}});function o(){const[c,...s]=e.items;document.location.href=`mailto:${c}@${s.join(".")}`}return(c,s)=>(P(),Z("span",{class:"text-secondary-color cursor-pointer whitespace-nowrap",onClick:o},[$("span",{innerHTML:i.value.username},null,8,DM),(P(!0),Z(jt,null,de(i.value.host,(u,f)=>(P(),Z(jt,null,[f===0?(P(),Z("svg",IM,s[0]||(s[0]=[$("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)]))):(P(),Z("svg",FM,s[1]||(s[1]=[$("circle",{cy:"calc(100% - 5px)",cx:"2.5",r:"1",fill:"currentColor"},null,-1)]))),$("span",{innerHTML:u},null,8,NM)],64))),256))]))}},zM={};function VM(t,e){return P(),bt(Bu,{"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:nt(()=>[be(t.$slots,"default")]),_:3})}const GM=xe(zM,[["render",VM]]),UM={},$M={viewBox:"0 0 38 38",xmlns:"http://www.w3.org/2000/svg",stroke:"green"};function HM(t,e){return P(),Z("svg",$M,e[0]||(e[0]=[$y('',1)]))}const ZM=xe(UM,[["render",HM]]),qM={class:"autocomplete md:block md:mr-0 mr-3 relative w-fit"},KM={class:"flex absolute inset-y-0 left-0 items-center pl-3 pointer-events-none"},WM=["placeholder"],JM={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"},YM=["onClick"],XM=["innerHTML"],QM=500,tS={__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:e}){const i=t,o=e,c=Ut(""),s=Ut([]),u=Ut(!1),f=Ut(null);let _;xn(c,b=>{clearTimeout(_),b.length?_=setTimeout(()=>{u.value=!0,fn.get(i.url,{params:{...i.params,[i.queryParam]:c.value}}).then(({data:w})=>{u.value=!1,s.value=w})},QM):s.value=[]});const v=b=>{o("select",b),c.value=""};return Cn(()=>{i.autofocus&&f.value.focus()}),(b,w)=>{const B=dt("IconSearch");return P(),Z("div",qM,[$("div",KM,[X(B,{class:"w-4 h-4 text-gray-500"})]),On($("input",{"onUpdate:modelValue":w[0]||(w[0]=A=>c.value=A),type:"text",autocomplete:"none",class:"autocomplete__input block box-border min-w-full p-1.5 pl-10 text-base-content rounded border sm:text-sm placeholder:text-sm dark:border-slate-700 border-gray-300 dark:placeholder:text-slate-400 focus:ring-primary-500 focus:border-primary-500",placeholder:t.placeholder,ref_key:"inputElement",ref:f},null,8,WM),[[hd,c.value]]),u.value?(P(),bt(ZM,{key:0,class:"absolute top-1/2 -translate-y-1/2 right-2 h-5 w-5"})):Ot("",!0),s.value.length?(P(),Z("ul",JM,[(P(!0),Z(jt,null,de(s.value,A=>(P(),Z("li",{key:A.id,class:"autocomplete__item px-3 py-2 border-b text-xs text-base-content cursor-pointer hover:bg-secondary-color hover:bg-opacity-5 border-base-border truncate",onClick:F=>v(A)},[$("span",{innerHTML:A[t.label]},null,8,XM)],8,YM))),128))])):Ot("",!0)])}}},Tg=xe(tS,[["__scopeId","data-v-bd0dac97"]]),eS={__name:"AutocompleteOtu.global",props:{autofocus:{type:Boolean,default:!1}},setup(t){const e=Ja(),i=({id:o,otu_valid_id:c})=>{e.push({name:"otus-id-overview",params:{id:c||o}})};return(o,c)=>(P(),bt(Tg,{url:"/otus/autocomplete","query-param":"term",label:"label_html",autofocus:t.autofocus,params:{having_taxon_name_only:!0},onSelect:i},null,8,["autofocus"]))}},nS=["title"],iS={__name:"ButtonExpand.global",props:{modelValue:{type:Boolean,required:!0}},emits:["update:modelValue"],setup(t,{emit:e}){const i=t,o=e,c=Jt({get(){return i.modelValue},set(s){o("update:modelValue",s)}});return(s,u)=>{const f=dt("IconMinusCircle"),_=dt("IconPlusCircle");return P(),Z("button",{type:"button",title:c.value?"Close":"Expand",class:"button-expand bg-base-foreground text-secondary-color w-5 h-5",onClick:u[0]||(u[0]=v=>c.value=!c.value)},[c.value?(P(),bt(f,{key:0,class:"w-5 h-5"})):(P(),bt(_,{key:1,class:"w-5 h-5"}))],8,nS)}}},rS={__name:"VButton.global",props:{primary:{type:Boolean,default:!1},secondary:{type:Boolean,default:!1}},setup(t){return(e,i)=>(P(),Z("button",{type:"button",class:en(["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}])},[be(e.$slots,"default")],2))}},oS={},sS={class:"border-1 card border-base-muted bg-base-foreground print:shadow-none print:border-0 rounded"};function aS(t,e){return P(),Z("div",sS,[be(t.$slots,"default")])}const lS=xe(oS,[["render",aS]]),uS={},cS={class:"p-4 pl-5 pr-5"};function hS(t,e){return P(),Z("div",cS,[be(t.$slots,"default")])}const dS=xe(uS,[["render",hS]]),pS={},fS={class:"p-4 pl-5 pr-5 border-b font-medium border-base-muted"};function mS(t,e){return P(),Z("div",fS,[be(t.$slots,"default")])}const _S=xe(pS,[["render",mS]]),gS={__name:"VClipboard.global",props:{text:{type:String,required:!0},delay:{type:Number,default:2e3}},setup(t){const e=t,i=Ut(!1);let o;function c(){navigator.clipboard.writeText(e.text).then(()=>{i.value=!0,o=setTimeout(()=>{i.value=!1},e.delay)})}return Yi(()=>{clearTimeout(o)}),(s,u)=>{const f=dt("IconCheck"),_=dt("IconClipboard"),v=dt("VButton");return P(),bt(v,{class:"px-2 py-2 rounded-full",primary:"",onClick:c},{default:nt(()=>[i.value?(P(),bt(f,{key:0,class:"w-4 h-4"})):(P(),bt(_,{key:1,class:"w-4 h-4"}))]),_:1})}}},yS={class:"relative inline"},vS=["onClick"],bS={__name:"Dropdown.global",props:{items:{type:Array,default:()=>[]}},setup(t){const e=Ut(null),i=Ut(!1),o=()=>{i.value=!i.value},c=u=>{i.value=!1,u.action()};function s(u){var f;(!u.target||!((f=e.value)!=null&&f.contains(u.target)))&&(i.value=!1)}return Cn(()=>{document.addEventListener("pointerdown",s,{passive:!0,capture:!0})}),Yi(()=>{document.removeEventListener("pointerdown",s,{capture:!0})}),(u,f)=>(P(),Z("div",yS,[$("button",{title:"Menu",onClick:o},[be(u.$slots,"button")]),i.value?(P(),Z("ul",{key:0,ref_key:"element",ref:e,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"},[(P(!0),Z(jt,null,de(t.items,_=>(P(),Z("li",{key:_.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:v=>c(_)},It(_.label),9,vS))),128))],512)):Ot("",!0)]))}};function Ag({props:t}){const e=Ut([]);function i(o){var c,s;return{id:o.id,objectId:o.depiction_object_id,objectType:o.depiction_object_type,objectLabel:o.depiction_object.label,label:o.label,imageOriginal:o.image.original,imageMedium:o.image.medium,attribution:((c=o.attribution)==null?void 0:c.label)||"",labelAttribution:[o.depiction_object.label,((s=o.attribution)==null?void 0:s.label)||""].join(" ")}}return xn(()=>t.depictionId,o=>{o.length&&fn.get("/depictions/gallery",{params:{depiction_id:o}}).then(({data:c})=>{e.value=c.map(i).sort((s,u)=>t.depictionId.indexOf(s.id)-t.depictionId.indexOf(u.id))})},{immediate:!0}),{depictions:e}}const xS=["src","alt"],wS={class:"bg-black bg-opacity-25 absolute h-full w-full"},LS={key:0,class:"z-10 text-white text-sm drop-shadow absolute bottom-2 right-0 px-4"},CS=["innerHTML"],kS={__name:"GalleryCarousel.global",props:{depictionId:{type:Array,default:()=>[]},interval:{type:Number,default:1e4},height:{type:String,default:"550px"}},setup(t){const e=t,{depictions:i}=Ag({props:e}),o=Ut(0),c=Jt(()=>({height:e.height})),s=Jt(()=>i.value[o.value]||{}),u=Jt(()=>s.value.objectType==="Otu"),f=Jt(()=>[s.value.objectLabel,s.value.attribution].join(" "));let _=null;function v(){o.value=(o.value+1)%i.value.length}return xn(i,()=>{e.interval?(clearInterval(_),_=setInterval(v,e.interval)):o.value=Math.floor(Math.random()*i.value.length)}),Yi(()=>{clearInterval(_)}),(b,w)=>{const B=dt("RouterLink");return P(),Z("div",{class:"w-full relative",style:ki(c.value)},[X(Bu,{name:"fade"},{default:nt(()=>[s.value.imageOriginal?(P(),Z("img",{key:s.value.imageOriginal,class:"object-cover overflow-hidden h-full w-full absolute top-0 my-0",src:s.value.imageOriginal,alt:s.value.label},null,8,xS)):Ot("",!0)]),_:1}),$("div",wS,[be(b.$slots,"default",{},void 0,!0)]),s.value.objectId?(P(),Z("span",LS,[u.value?(P(),bt(B,{key:0,class:"text-white decoration-transparent",to:{name:"otus-id",params:{id:s.value.objectId}},innerHTML:f.value},null,8,["to","innerHTML"])):(P(),Z("span",{key:1,innerHTML:f.value},null,8,CS))])):Ot("",!0)],4)}}},ES=xe(kS,[["__scopeId","data-v-0e946aee"]]),MS={class:"h-80 max-h-80 flex items-center justify-center"},SS=["textContent"],PS=["src","alt"],BS={__name:"GalleryMainImage",props:{image:{type:Object,required:!0}},emits:["open:viewer"],setup(t,{emit:e}){const i=t,o=e,c=Ut(!1),s=Ut(null),u=Ut(null);xn(()=>i.image,v=>{v.original&&(u.value=null,c.value=!0)});function f(v){v.preventDefault(),c.value=!1,u.value="Image was not found or format is not supported"}function _(){c.value=!1}return Cn(()=>{s.value.addEventListener("load",_),s.value.addEventListener("error",f)}),(v,b)=>{var A;const w=dt("VSpinner"),B=dt("ClientOnly");return P(),Z("div",MS,[X(B,null,{default:nt(()=>[c.value?(P(),bt(w,{key:0})):Ot("",!0)]),_:1}),u.value?(P(),Z("span",{key:0,textContent:It(u.value)},null,8,SS)):Ot("",!0),On($("img",{ref_key:"imageElement",ref:s,class:"max-h-80 h-max w-100 cursor-zoom-in m-auto object-contain",src:t.image.original,alt:(A=t.image.depictions)==null?void 0:A.map(F=>F.label).join(";"),onClick:b[0]||(b[0]=F=>o("open:viewer"))},null,8,PS),[[Tu,!u.value]])])}}},TS={class:"flex flex-col"},AS={class:"flex justify-center border print:hidden bg-base-0 border-base-muted"},OS={__name:"GalleryImage.global",props:{images:{type:Array,default:()=>[]}},setup(t){const e=t,i=Ut(!1),o=Ut(0),c=Jt(()=>e.images[o.value]||{}),s=()=>{o.value--},u=()=>{o.value++};return xn(()=>e.images,()=>{o.value=0},{immediate:!0}),(f,_)=>{const v=dt("ImageViewer");return P(),Z(jt,null,[$("div",TS,[$("div",AS,[X(BS,{image:c.value,"onOpen:viewer":_[0]||(_[0]=()=>i.value=!0)},null,8,["image"])]),X(bu,{class:"pt-2 pb-2",images:t.images,onSelectIndex:_[1]||(_[1]=b=>{o.value=b})},null,8,["images"])]),i.value?(P(),bt(v,{key:0,index:o.value,images:t.images,next:o.value0,onSelectIndex:_[2]||(_[2]=b=>o.value=b),onNext:_[3]||(_[3]=b=>u()),onPrevious:_[4]||(_[4]=b=>s()),onClose:_[5]||(_[5]=b=>i.value=!1)},null,8,["index","images","next","previous"])):Ot("",!0)],64)}}},RS=["src"],DS=["innerHTML"],IS={__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 e=t,i=Jt(()=>({height:e.imageHeight}));function o(s){return s.objectType==="Otu"?"RouterLink":"div"}const{depictions:c}=Ag({props:e});return(s,u)=>(P(),Z("div",{class:en(["grid","gap-2",{"grid-flow-col":!e.wrap}]),style:ki(e.wrap&&`grid-template-columns: repeat(auto-fit, minmax(${e.imageWidth}, 1fr))`)},[(P(!0),Z(jt,null,de(zt(c),f=>(P(),bt(Eo(o(f)),{key:f.id,to:{name:"otus-id",params:{id:f.objectId}}},{default:nt(()=>[$("img",{src:f.imageMedium,style:ki(i.value),class:"max-w-full my-0 object-cover w-full"},null,12,RS),t.label?(P(),Z("span",{key:0,class:"text-sm",innerHTML:f.labelAttribution},null,8,DS)):Ot("",!0)]),_:2},1032,["to"]))),128))],6))}},FS={},NS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function jS(t,e){return P(),Z("svg",NS,e[0]||(e[0]=[$("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M19 9l-7 7-7-7"},null,-1)]))}const zS=xe(FS,[["render",jS]]),VS={},GS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function US(t,e){return P(),Z("svg",GS,e[0]||(e[0]=[$("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M15 19l-7-7 7-7"},null,-1)]))}const $S=xe(VS,[["render",US]]),HS={},ZS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function qS(t,e){return P(),Z("svg",ZS,e[0]||(e[0]=[$("path",{class:"drop-shadow","stroke-linecap":"round","stroke-linejoin":"round",d:"M9 5l7 7-7 7"},null,-1)]))}const KS=xe(HS,[["render",qS]]),WS={},JS={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"};function YS(t,e){return P(),Z("svg",JS,e[0]||(e[0]=[$("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4.5 12.75l6 6 9-13.5"},null,-1)]))}const XS=xe(WS,[["render",YS]]),QS={},tP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"};function eP(t,e){return P(),Z("svg",tP,e[0]||(e[0]=[$("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)]))}const nP=xe(QS,[["render",eP]]),iP={},rP={xmlns:"http://www.w3.org/2000/svg",class:"h-6 w-6",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function oP(t,e){return P(),Z("svg",rP,e[0]||(e[0]=[$("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M6 18L18 6M6 6l12 12"},null,-1)]))}const sP=xe(iP,[["render",oP]]),aP={},lP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function uP(t,e){return P(),Z("svg",lP,e[0]||(e[0]=[$("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)]))}const cP=xe(aP,[["render",uP]]),hP={},dP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"};function pP(t,e){return P(),Z("svg",dP,e[0]||(e[0]=[$("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)]))}const fP=xe(hP,[["render",pP]]),mP={},_P={viewBox:"0 0 16 16",fill:"currentColor","aria-hidden":"true"};function gP(t,e){return P(),Z("svg",_P,e[0]||(e[0]=[$("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)]))}const yP=xe(mP,[["render",gP]]),vP={},bP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function xP(t,e){return P(),Z("svg",bP,e[0]||(e[0]=[$("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M4 6h16M4 12h16M4 18h16"},null,-1)]))}const wP=xe(vP,[["render",xP]]),LP={},CP={xmlns:"http://www.w3.org/2000/svg",width:"32",height:"32",viewBox:"0 0 24 24"};function kP(t,e){return P(),Z("svg",CP,e[0]||(e[0]=[$("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)]))}const EP=xe(LP,[["render",kP]]),MP={},SP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function PP(t,e){return P(),Z("svg",SP,e[0]||(e[0]=[$("path",{"stroke-linecap":"round","stroke-linejoin":"round",d:"M15 12H9m12 0a9 9 0 11-18 0 9 9 0 0118 0z"},null,-1)]))}const BP=xe(MP,[["render",PP]]),TP={},AP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function OP(t,e){return P(),Z("svg",AP,e[0]||(e[0]=[$("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)]))}const RP=xe(TP,[["render",OP]]),DP={},IP={xmlns:"http://www.w3.org/2000/svg",class:"text-gray-500",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor","stroke-width":"2"};function FP(t,e){return P(),Z("svg",IP,e[0]||(e[0]=[$("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)]))}const NP=xe(DP,[["render",FP]]),jP={},zP={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"};function VP(t,e){return P(),Z("svg",zP,e[0]||(e[0]=[$("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)]))}const GP=xe(jP,[["render",VP]]),UP={},$P={xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24","stroke-width":"1.5",stroke:"currentColor"};function HP(t,e){return P(),Z("svg",$P,e[0]||(e[0]=[$("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)]))}const ZP=xe(UP,[["render",HP]]),qP={__name:"ImageAttribution",props:{attribution:{type:Object,default:()=>({})}},setup(t){return(e,i)=>(P(),Z("div",null,[$("p",null,It(t.attribution.label),1)]))}},KP={__name:"ImageDepictions",props:{depictions:{type:Array,default:()=>[]}},setup(t){return(e,i)=>(P(),Z("div",null,[(P(!0),Z(jt,null,de(t.depictions,o=>(P(),Z("div",{key:o.id},[$("p",null,It(o.label),1)]))),128))]))}},WP=["innerHTML"],JP={__name:"ImageSource",props:{source:{type:Object,default:()=>({})}},setup(t){return(e,i)=>(P(),Z("div",null,[$("p",{innerHTML:t.source.label},null,8,WP)]))}},YP={class:"p-2 text-black dark:text-white opacity-50"},XP={__name:"ImageViewerCounter",props:{currentImage:{type:Number,required:!0},totalImages:{type:Number,required:!0}},setup(t){return(e,i)=>(P(),Z("span",YP,It(t.currentImage+1)+"/"+It(t.totalImages),1))}},QP={},tB={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Next image"};function eB(t,e){const i=dt("IconArrowRight");return P(),Z("button",tB,[X(i,{class:"h-8 w-8"})])}const nB=xe(QP,[["render",eB]]),iB={},rB={type:"button",class:"p-2 cursor-pointer opacity-50 bg-base-content text-base-background",title:"Previous image"};function oB(t,e){const i=dt("IconArrowLeft");return P(),Z("button",rB,[X(i,{class:"h-8 w-8"})])}const sB=xe(iB,[["render",oB]]),aB={},lB={class:"p-2 box-border flex justify-between"};function uB(t,e){return P(),Z("div",lB,[$("div",null,[be(t.$slots,"default")]),$("div",null,[be(t.$slots,"right")])])}const cB=xe(aB,[["render",uB]]),hB={},dB={type:"button",class:"p-2 cursor-pointer opacity-50 text-base-content"};function pB(t,e){const i=dt("IconClose");return P(),Z("button",dB,[X(i)])}const fB=xe(hB,[["render",pB]]),mB={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"},_B={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"},gB=["textContent"],yB=["alt","src"],vB={class:"bottom-0 fixed max-w-full w-full"},bB={class:"text-base-content text-sm attributions p-6 align-middle flex justify-between flex-col text-center"},xB={class:"flex justify-center"},wB={__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:e}){const i=t,o=e,c=({key:w})=>{switch(w){case"ArrowLeft":i.previous&&o("previous");break;case"ArrowRight":i.next&&o("next");break;case"Escape":o("close");break}},s=Ut(null),u=Ut(!1),f=Ut(null),_=Jt(()=>i.images[i.index]);document.addEventListener("keyup",c);function v(){u.value=!1,f.value="Image was not found or format is not supported"}function b(){u.value=!1}return Cn(()=>{s.value.addEventListener("load",b),s.value.addEventListener("error",v),document.body.classList.add("overflow-hidden")}),yr(()=>{document.removeEventListener("keyup",c),document.body.classList.remove("overflow-hidden")}),xn(()=>i.index,()=>{f.value=null,u.value=!0}),(w,B)=>{var F,V;const A=dt("VSpinner");return P(),Z("div",mB,[$("div",{class:"min-w-96 dark:bg-slate-900 rounded-lg shadow-sm mb-24",onClick:B[3]||(B[3]=Ia(()=>{},["stop"]))},[$("div",_B,[u.value?(P(),bt(A,{key:0})):Ot("",!0),f.value?(P(),Z("div",{key:1,class:"flex flex-col justify-center",textContent:It(f.value)},null,8,gB)):Ot("",!0),On($("img",{ref_key:"imageElement",ref:s,class:"mx-auto cursor-zoom-out w-auto max-w-full max-h-full h-auto my-auto",alt:(V=(F=_.value)==null?void 0:F.depictions)==null?void 0:V.map(ot=>ot.label).join(";"),src:_.value.original,onClick:B[0]||(B[0]=ot=>o("close"))},null,8,yB),[[Tu,!f.value]]),t.next?(P(),bt(nB,{key:2,class:"right-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:B[1]||(B[1]=ot=>o("next"))})):Ot("",!0),t.previous?(P(),bt(sB,{key:3,class:"left-0 absolute my-auto top-1/2 -translate-y-1/2",onClick:B[2]||(B[2]=ot=>o("previous"))})):Ot("",!0)])]),$("div",vB,[$("div",bB,[X(KP,{class:"my-auto",depictions:_.value.depictions},null,8,["depictions"]),X(qP,{class:"my-auto",attribution:_.value.attribution},null,8,["attribution"]),X(JP,{class:"my-auto",source:_.value.source},null,8,["source"])]),$("div",xB,[X(bu,{class:"pb-2",current:t.index,images:t.images,onSelectIndex:B[4]||(B[4]=ot=>o("selectIndex",ot)),onClick:B[5]||(B[5]=Ia(()=>{},["stop"]))},null,8,["current","images"])])]),X(cB,{class:"w-full absolute top-0 h-12 left-0 items-center"},{right:nt(()=>[X(fB,{onClick:B[6]||(B[6]=ot=>o("close"))})]),default:nt(()=>[X(XP,{"current-image":t.index,"total-images":t.images.length},null,8,["current-image","total-images"])]),_:1})])}}},LB="!container mx-auto p-4 sm:px-0 prose dark:prose-invert box-border",CB={__name:"MarkdownLayout.global",props:{tag:{type:String,default:"div"},frontmatter:{type:Object,required:!0}},setup(t){const e=t,i={fullwidth:"p-4 sm:px-0 prose dark:prose-invert max-w-none",blank:"sm:px-0 prose dark:prose-invert max-w-none"},o=Jt(()=>i[e.frontmatter.layout]||LB);return(c,s)=>(P(),bt(Eo(t.tag),{class:en(o.value)},{default:nt(()=>[be(c.$slots,"default")]),_:3},8,["class"]))}},kB={class:"w-full p-4 md:p-4 flex flex-row box-border justify-between items-center"},EB={class:"bg-base-foreground overflow-x-auto h-full md:h-auto max-h-full"},MB={__name:"VModal.global",emits:["close"],setup(t,{emit:e}){const i=e,o=c=>{c.key==="Escape"&&(c.stopPropagation(),i("close"))};return Cn(()=>{document.addEventListener("keydown",o),document.body.classList.add("overflow-hidden")}),yr(()=>{document.removeEventListener("keydown",o),document.body.classList.remove("overflow-hidden")}),(c,s)=>{const u=dt("IconClose");return P(),Z("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:s[2]||(s[2]=f=>i("close")),onKey:s[3]||(s[3]=Ia(f=>i("close"),["stop"]))},[$("div",{class:"h-full md:h-auto mx-auto md:max-h-[70vh] bg-base-foreground container",onClick:s[1]||(s[1]=Ia(()=>{},["stop"]))},[$("div",kB,[be(c.$slots,"header",{},()=>[s[4]||(s[4]=$("span",null,null,-1))]),X(u,{class:"w-6 h-6 cursor-pointer opacity-50",onClick:s[0]||(s[0]=()=>i("close"))})]),$("div",EB,[be(c.$slots,"default")]),$("div",null,[be(c.$slots,"footer")])])],32)}}},SB={"aria-disabled":"false","aria-label":"Pagination",class:"flex flex-row text-sm"},PB=["disabled"],BB={role:"presentation",class:"page-item"},TB=["disabled"],AB={key:0,class:"border border-base-border px-2 py-1.5"},OB={key:0,class:"page-item"},RB=["disabled","onClick"],DB={key:1,class:"border border-base-border px-2 py-1.5"},IB={class:"page-item"},FB=["disabled"],NB={role:"presentation"},jB=["disabled"],zB={__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:e}){const i=t,o=e,c=Jt(()=>Math.ceil(i.total/i.per)),s=Jt({get:()=>i.modelValue,set:_=>{o("update:modelValue",_)}}),u=Jt(()=>i.modelValue+i.rangePages),f=Jt(()=>i.modelValue-i.rangePages);return(_,v)=>(P(),Z("ul",SB,[$("li",null,[$("button",{type:"button",disabled:s.value<2||!c.value,"aria-label":"Go to first page",class:"border border-base-border rounded-l-md px-2 py-1.5",onClick:v[0]||(v[0]=b=>s.value=1)}," « ",8,PB)]),$("li",BB,[$("button",{type:"button",disabled:s.value<2||!c.value,"aria-label":"Go to previous page",class:"border border-base-border px-2 py-1.5",onClick:v[1]||(v[1]=b=>s.value--)}," ‹ ",8,TB)]),t.modelValue>i.rangePages?(P(),Z("li",AB," ... ")):Ot("",!0),(P(!0),Z(jt,null,de(c.value,b=>(P(),Z(jt,{key:b},[bs.value=b},It(b),11,RB)])):Ot("",!0)],64))),128)),c.value-t.modelValue>=t.rangePages?(P(),Z("li",DB," ... ")):Ot("",!0),$("li",IB,[$("button",{type:"button","aria-label":"Go to next page",class:"border border-base-border px-2 py-1.5",disabled:s.value===c.value||!c.value,onClick:v[2]||(v[2]=()=>s.value++)}," › ",8,FB)]),$("li",NB,[$("button",{type:"button",disabled:s.value===c.value||!c.value,"aria-label":"Go to last page",class:"border border-base-border rounded-r-md px-2 py-1.5",onClick:v[3]||(v[3]=()=>s.value=c.value)}," » ",8,jB)])]))}},VB={__name:"ProjectStats.global",props:{data:{type:Array,default:()=>[]},tag:{type:String,default:"span"}},setup(t){const e=t,i=Ut({data:[]}),o=Jt(()=>e.data.map(u=>u.toLowerCase())),c=Jt(()=>{const u=i.value.data;return u.length?s(u):o.value.map(f=>[f,"??"])});function s(u){const f=e.data.length?u.filter(([_])=>o.value.includes(_)):u;return f.sort(([_],[v])=>o.value.indexOf(_)-o.value.indexOf(v)),f}return Cn(()=>{fn.get("/stats").then(u=>{const f=Object.entries(u.data.data).map(([_,v])=>[_.toLowerCase(),v.toLocaleString()]);i.value.data=f})}),(u,f)=>(P(),bt(Eo(t.tag),null,{default:nt(()=>[(P(!0),Z(jt,null,de(c.value,([_,v],b)=>be(u.$slots,"default",{type:_,value:v},()=>[$("span",null,It(_)+": "+It(v)+It(b{e.value=!0}),(i,o)=>e.value?be(i.$slots,"default",{key:0}):(P(),Z("div",GB))}},$B={class:"inline-flex items-center text-sm"},HB={__name:"TabItem.global",props:{to:{type:[String,Object],required:!0}},setup(t){return(e,i)=>{const o=dt("router-link");return P(),Z("li",$B,[X(o,{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:nt(()=>[be(e.$slots,"default")]),_:3},8,["to"])])}}},ZB={},qB={class:"inline-flex items-center space-x-1 md:space-x-3"};function KB(t,e){return P(),Z("ul",qB,[be(t.$slots,"default")])}const WB=xe(ZB,[["render",KB]]),JB={},YB={class:"relative sm:rounded-lg"},XB={class:"w-full text-sm text-left text-gray-500 dark:text-gray-400"};function QB(t,e){return P(),Z("div",YB,[$("table",XB,[be(t.$slots,"default")])])}const tT=xe(JB,[["render",QB]]),eT={},nT={class:"normal-case text-xs"};function iT(t,e){return P(),Z("tbody",nT,[be(t.$slots,"default")])}const rT=xe(eT,[["render",iT]]),oT={},sT={class:"px-4 py-4"};function aT(t,e){return P(),Z("td",sT,[be(t.$slots,"default")])}const lT=xe(oT,[["render",aT]]),uT={},cT={class:"bg-base-foreground border-b border-base-border"};function hT(t,e){return P(),Z("tr",cT,[be(t.$slots,"default")])}const dT=xe(uT,[["render",hT]]),pT={},fT={class:"text-xs text-base-content uppercase bg-base-background"};function mT(t,e){return P(),Z("thead",fT,[be(t.$slots,"default")])}const _T=xe(pT,[["render",mT]]),gT={},yT={class:"px-4 py-3"};function vT(t,e){return P(),Z("th",yT,[be(t.$slots,"default")])}const bT=xe(gT,[["render",vT]]),xT={};function wT(t,e){return P(),Z("tr",null,[be(t.$slots,"default")])}const LT=xe(xT,[["render",wT]]);var CT={base_url:"/",hash_mode:!0,map_tile_server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",map_tile_attribution:'© OpenStreetMap contributors',issue_trackers:[{label:"Data",description:"E.g. missing data that I'd like to add, misspellings, or invalid data",url:"http://www.github.com"},{label:"Website",description:"E.g. a link, panel, or other feature is not working as expected",url:"http://www.github.com"}],taxa_page:{overview:{panels:[[["panel:gallery","panel:type","panel:type-specimen","panel:nomenclature","panel:nomenclature-references"],["panel:map","panel:descendants","panel:content","panel:statistics"]]]},specimen_record:{rank_group:["SpeciesGroup"],panels:[[["panel:specimen-records"]]]},iNaturalist:{label:"iNaturalist",rank_group:["GenusGroup","SpeciesGroup"],panels:[[["panel:inaturalist"]]]}},project_name:"Syrphidae of Italy",project_citation:"Syrphidae of Italy",project_url:"syrphidaeitaly.com",project_authors:"Sommaggio et al. (2023)",metadata:[{name:"description",content:"TaxonPages is a tool to serve taxon pages."},{name:"keywords",content:"taxonpages, species, sfg"},{name:"robots",content:"follow"}],map_tiles:[{label:"OpenStreetMap",attribution:'© OpenStreetMap contributors',server:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png"},{label:"GBIF",attribution:'© GBIF.org',server:"https://tile.gbif.org/3857/omt/{z}/{x}/{y}@1x.png?style=gbif-natural-en"}],header_logo_url:"/images/Logo.png",header_logo_text:"Syrphidae of Italy (SoI)",header_links:[{label:"Home",link:"/"},{label:"About",link:"/about"}],copyright_image:"http://licensebuttons.net/l/by/4.0/80x15.png",copyright_image_link:"http://creativecommons.org/licenses/by/4.0/",copyright_text:"Except where otherwise noted, content on this site is licensed under a Creative Commons Attribution License. (CC-BY)",url:"https://sfg.taxonworks.org/api/v1",project_token:"pfqGdynettFI9-mB48_oGQ"};const kT={key:1},ET={class:"font-normal p-5 pt-0 text-base"},MT={class:"mx-5 my-2"},ST=["href"],PT={key:0,class:"text-sm"},BT="https://github.com/SpeciesFileGroup/taxonpages/issues/new/choose",TT={__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:e}=CT,i=Ut(!1);function o(){e?i.value=!0:window.open(BT,"_blank")}return(c,s)=>{const u=dt("IconGithub"),f=dt("VModal");return P(),Z(jt,null,[(P(),bt(Eo(t.tag),{type:"button",title:"Report a problem",class:en(t.buttonClass),onClick:o},{default:nt(()=>[t.icon?(P(),bt(u,{key:0,class:"w-5 h-5"})):Ot("",!0),t.label?(P(),Z("span",kT,It(t.label),1)):Ot("",!0)]),_:1},8,["class"])),i.value?(P(),bt(f,{key:0,class:"text-base-content",onClose:s[0]||(s[0]=_=>i.value=!1)},{header:nt(()=>s[1]||(s[1]=[$("h1",{class:"font-medium text-base px-1"},"Report a problem",-1)])),default:nt(()=>[$("div",ET,[s[2]||(s[2]=$("span",null,"My issue is with:",-1)),$("ul",MT,[(P(!0),Z(jt,null,de(zt(e),_=>(P(),Z("li",null,[$("a",{href:_.url,target:"_blank"},It(_.label),9,ST),_.description?(P(),Z("span",PT," - "+It(_.description),1)):Ot("",!0)]))),256))])])]),_:1})):Ot("",!0)],64)}}},AT={__name:"VSkeleton.global",props:{class:{type:String,default:"w-full"},lines:{type:Number,default:1}},setup(t){const e=fy(),i=Jt(()=>{var s;const c=(s=e.default)==null?void 0:s.call(e);return o(c)});function o(c){if(!c)return!0;const[s]=c;let u=s.children;return s.el!==null||u!==null}return(c,s)=>(P(),Z(jt,null,[be(c.$slots,"default"),i.value?(P(),Z("span",{key:0,class:en(t.class)},[(P(!0),Z(jt,null,de(t.lines,u=>(P(),Z("span",{key:u,class:"inline-block w-full rounded-sm bg-base-muted leading-5 animate-pulse"}," ‌ "))),128))],2)):Ot("",!0)],64))}},OT=["innerHTML"],RT={__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 e={position:"fixed",width:"100vw",height:"100vh",top:"0px",left:"0px"},i=t,o=Ut(null),c=Ut({}),s=Ut(void 0);Cn(()=>{u(),i.resize&&!i.fullScreen&&_()}),yr(()=>clearInterval(s.value));const u=()=>{const v=i.target?document.querySelector(i.target):o.value.parentNode;Object.assign(c.value,i.fullScreen?e:f(v))},f=v=>{const b=v.getBoundingClientRect(),w=window.getComputedStyle(v,null),B=parseInt(w.getPropertyValue("padding-left"),10),A=parseInt(w.getPropertyValue("padding-right"),10),F=parseInt(w.getPropertyValue("padding-top"),10),V=parseInt(w.getPropertyValue("padding-bottom"),10);return{position:"absolute",width:b.width-B-A+"px",height:b.height-F-V+"px"}},_=()=>{s.value=setInterval(u(),500)};return(v,b)=>(P(),Z("div",{ref_key:"spinnerElement",ref:o,class:"box-spinner mx-spinner absolute bg-base-foreground opacity-90 h-full flex items-center",style:ki(c.value)},[$("div",{class:en(["tw-spinner",`tw-spinner-${t.spinnerPosition}`])},[t.showSpinner?(P(),Z("svg",{key:0,style:ki(t.logoSize),"aria-hidden":"true",class:en(["text-base-lighter","animate-spin fill-primary-color",t.logoClass]),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg"},b[0]||(b[0]=[$("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),$("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)]),6)):Ot("",!0),b[1]||(b[1]=$("span",{class:"sr-only"},"Loading...",-1)),t.legend.length?(P(),Z("div",{key:1,class:en(["text-base-content","text-center",t.legendClass]),style:ki(t.legendStyle)},[t.showLegend?(P(),Z("span",{key:0,innerHTML:t.legend},null,8,OT)):Ot("",!0),be(v.$slots,"default",{},void 0,!0)],6)):Ot("",!0)],2)],4))}},DT=xe(RT,[["__scopeId","data-v-3927b18d"]]);function IT(t){FT(t,Object.assign({"/src/components/AddressMaker.global.vue":jM,"/src/components/Animation/AnimationOpacity.global.vue":GM,"/src/components/Autocomplete/Autocomplete.global.vue":Tg,"/src/components/Autocomplete/AutocompleteOtu.global.vue":eS,"/src/components/Button/ButtonExpand.global.vue":iS,"/src/components/Button/VButton.global.vue":rS,"/src/components/Card/VCard.global.vue":lS,"/src/components/Card/VCardContent.global.vue":dS,"/src/components/Card/VCardHeader.global.vue":_S,"/src/components/Clipboard/VClipboard.global.vue":gS,"/src/components/Dropdown/Dropdown.global.vue":bS,"/src/components/Gallery/GalleryCarousel/GalleryCarousel.global.vue":ES,"/src/components/Gallery/GalleryImage.global.vue":OS,"/src/components/Gallery/GalleryMosaic/GalleryMosaic.global.vue":IS,"/src/components/Icon/IconArrowDown.global.vue":zS,"/src/components/Icon/IconArrowLeft.global.vue":$S,"/src/components/Icon/IconArrowRight.global.vue":KS,"/src/components/Icon/IconCheck.global.vue":XS,"/src/components/Icon/IconClipboard.global.vue":nP,"/src/components/Icon/IconClose.global.vue":sP,"/src/components/Icon/IconDocument.global.vue":cP,"/src/components/Icon/IconDownload.global.vue":fP,"/src/components/Icon/IconGithub.global.vue":yP,"/src/components/Icon/IconHamburger.global.vue":wP,"/src/components/Icon/IconJson.global.vue":EP,"/src/components/Icon/IconMinusCircle.global.vue":BP,"/src/components/Icon/IconPlusCircle.global.vue":RP,"/src/components/Icon/IconSearch.global.vue":NP,"/src/components/Icon/IconTrash.global.vue":GP,"/src/components/Icon/IconWarning.global.vue":ZP,"/src/components/ImageViewer/ImageViewer.global.vue":wB,"/src/components/Markdown/MarkdownLayout.global.vue":CB,"/src/components/Modal/VModal.global.vue":MB,"/src/components/Pagination/VPagination.global.vue":zB,"/src/components/ProjectStats.global.vue":VB,"/src/components/Ssr/ClientOnly.global.vue":UB,"/src/components/Tab/TabItem.global.vue":HB,"/src/components/Tab/TabMenu.global.vue":WB,"/src/components/Table/VTable.global.vue":tT,"/src/components/Table/VTableBody.global.vue":rT,"/src/components/Table/VTableBodyCell.global.vue":lT,"/src/components/Table/VTableBodyRow.global.vue":dT,"/src/components/Table/VTableHeader.global.vue":_T,"/src/components/Table/VTableHeaderCell.global.vue":bT,"/src/components/Table/VTableHeaderRow.global.vue":LT,"/src/components/TrackerReport.global.vue":TT,"/src/components/VSkeleton.global.vue":AT,"/src/components/VSpinner.global.vue":DT}))}function FT(t,e){Object.entries(e).forEach(([o,c])=>{const s=o.split("/").pop().replace(/\.client.global.\w+$/,"").replace(/\.global.\w+$/,"");t.component(s,c)})}const NT=window.location.origin,Pf=window.initialState,{app:Sd,router:jT,store:zT}=dM({originUrl:NT});Pf&&(zT.state.value=Pf);OM(Sd);IT(Sd);jT.isReady().then(()=>{Sd.mount("#app")});export{jt as F,xe as _,$ as a,Xt as b,Z as c,X as d,$y as e,dt as f,Ut as g,Jt as h,Cn as i,be as j,bt as k,Ot as l,fn as m,GT as n,P as o,xn as p,Eo as q,de as r,N0 as s,It as t,zt as u,nt as w}; diff --git a/assets/scaeva-DCrimYPY.jpg b/assets/scaeva-DCrimYPY.jpg new file mode 100644 index 00000000..3245df77 Binary files /dev/null and b/assets/scaeva-DCrimYPY.jpg differ diff --git a/favicon.ico b/favicon.ico new file mode 100644 index 00000000..2b6c06eb Binary files /dev/null and b/favicon.ico differ diff --git a/images/DolomitiBellunesi.png b/images/DolomitiBellunesi.png new file mode 100644 index 00000000..44dcd154 Binary files /dev/null and b/images/DolomitiBellunesi.png differ diff --git a/images/Logo.png b/images/Logo.png new file mode 100644 index 00000000..83546174 Binary files /dev/null and b/images/Logo.png differ diff --git a/index.html b/index.html new file mode 100644 index 00000000..a7ddbf3a --- /dev/null +++ b/index.html @@ -0,0 +1,20 @@ + + + + + + + + + + + + + +
+ + + diff --git a/robots.txt b/robots.txt new file mode 100644 index 00000000..c2a49f4f --- /dev/null +++ b/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /