import{r as t}from"./router.chunk.YsRm4bSN.js";import{ai as r}from"./main.chunk.N-eZ2ybB.js";import{u as s}from"./template-layout-context.chunk.B1U8ZWnY.js";const e=s=>{const{setIsCurrentFormDirty:e}=r(),{isDirty:o}=s.formState;return t.useEffect(()=>{e(o)},[o,e]),{isDirty:o}},o=r=>{const{setIsCurrentFormDirty:e}=s(),{isDirty:o}=r.formState;return t.useEffect(()=>{e(o)},[o,e]),{isDirty:o}};export{o as a,e as u};
