import{V as o}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a55.js";import{u as e}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a524.js";import{r as t}from"./v_7_4_3_73_d3c9bac7-c74e-47f6-ac42-499f067843a523.js";const r=()=>{const{user:a,session:s}=o.getState();s.is_auth&&a.start_form?e.setState({active:!1}):(e.setState({active:!0}),t.navigate({to:"/welcome-form"}))},c=()=>{e.setState({active:!1}),t.navigate({to:"/"})},f=()=>{switch(t.state.location.pathname){case"/":r();break;case"/welcome-form":c();break;default:e.setState({active:!1});break}};export{f as a,r as n};
