import{J as a,ao as n,ap as r,W as c}from"./index-B-YXshIJ.js";const u=()=>{const{collection:e,project:t}=a();return{collectionName:e,project:t}},l=()=>{const{startDate:e,endDate:t}=n();return Math.round((t.getTime()-e.getTime())/r)},i=()=>{const{collectionName:e,project:t}=u(),{startDate:o,endDate:s}=n();return[e,t,o,s]},m=()=>{const{startDate:e,endDate:t}=n();return[e,t]},p=()=>c?m():i();export{u as a,i as b,p as c,l as u};
