{"version":3,"file":"ApplyToday.B49cfdRb.mjs","names":[],"sources":["https:/framerusercontent.com/modules/NbKdi8w4vfJChuFuZkxI/Txn9N5DBPeus5GoB0NO4/ApplyToday.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";//@ts-ignore\nimport{useRouter}from\"framer\";export function withTodaysDate(Component){return props=>{const today=new Date().toISOString().split(\"T\")[0]// YYYY-MM-DD format\n;return /*#__PURE__*/_jsx(Component,{...props,today:today});};}export function withCurrentPath(Component){return props=>{const router=useRouter();const currentPath=router.pathname;return /*#__PURE__*/_jsx(Component,{...props,currentpath:currentPath});};}export function RedirectToHome(Component){return props=>{return /*#__PURE__*/_jsx(Component,{...props,onSubmit:()=>{window.location.href=\"/\";}});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withCurrentPath\":{\"type\":\"reactHoc\",\"name\":\"withCurrentPath\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTodaysDate\":{\"type\":\"reactHoc\",\"name\":\"withTodaysDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"RedirectToHome\":{\"type\":\"reactHoc\",\"name\":\"RedirectToHome\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ApplyToday.map"],"mappings":"4JAC8B,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAM,IAAI,MAAM,CAAC,aAAa,CAAC,MAAM,IAAI,CAAC,GACtI,OAAoB,EAAK,EAAU,CAAC,GAAG,EAAY,QAAM,CAAC,EAAmM,SAAgB,EAAe,EAAU,CAAC,MAAO,IAA4B,EAAK,EAAU,CAAC,GAAG,EAAM,aAAa,CAAC,EAAO,SAAS,KAAK,KAAM,CAAC,sBAFnW,IACb"}