import{u,o as p,c as i,a as l,b as m}from"./index-9b4667b6.js";const b={__name:"index",setup(_){const t=u(),a=l(),r=m(),{params:s,query:o}=a,{path:c}=s,{roles:n}=t;let e="";switch(n[0]){case"leader":e="/leader-home";break;case"investigator":e="/Investigator";break;case"admin":e="/";break}return r.replace({path:e+c,query:o}),(d,h)=>(p(),i("div"))}};export{b as default};