import{r as i}from"./vendor-react-wBh_31cN.js";import{g as c,r as n}from"./index-dNe6i2rS.js";import{c as u,u as m}from"./vendor-router-D1GqFWiT.js";const l=()=>{const{id:t}=u(),r=m();return i.useCallback((e,o,s)=>{if(typeof e=="string"){const a=c(e,n.project.value,{...o,id:t});r(a,s)}else{const a=c(e.pathname,n.project.value,{...o,id:t});r({...e,pathname:a},s)}},[r,t])};export{l as u};
