{"version":3,"file":"ApplyToday.ff9KyPpf.mjs","names":["p"],"sources":["https:/framerusercontent.com/modules/u3Dm1uxt5XigFB0PGwMA/YYBMKYDfB3Hy9LTKBZSC/ApplyToday.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";export function withTodaysDate(Component){return props=>{const date=new Date;const formatter=new Intl.DateTimeFormat(\"en-US\",{timeZone:\"America/Los_Angeles\",year:\"numeric\",month:\"2-digit\",day:\"2-digit\"});const parts=formatter.formatToParts(date);const year=parts.find(p=>p.type===\"year\")?.value;const month=parts.find(p=>p.type===\"month\")?.value;const day=parts.find(p=>p.type===\"day\")?.value;const today=`${year}-${month}-${day}`// YYYY-MM-DD in Pacific Time\n;console.log(today);return /*#__PURE__*/_jsx(Component,{...props,today:today});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTodaysDate\":{\"type\":\"reactHoc\",\"name\":\"withTodaysDate\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ApplyToday.map"],"mappings":"oGAA2C,SAAgB,EAAe,EAAU,CAAC,MAAO,IAAO,CAAC,IAAM,EAAK,IAAI,KAA0I,EAArH,IAAI,KAAK,eAAe,QAAQ,CAAC,SAAS,sBAAsB,KAAK,UAAU,MAAM,UAAU,IAAI,UAAU,CAAC,CAAuB,cAAc,EAAK,CAA0J,EAAM,GAApJ,EAAM,KAAK,GAAGA,EAAE,OAAO,OAAO,EAAE,MAA4H,GAA1G,EAAM,KAAK,GAAGA,EAAE,OAAO,QAAQ,EAAE,MAAkF,GAAlE,EAAM,KAAK,GAAGA,EAAE,OAAO,MAAM,EAAE,QAC1Z,OAAnB,QAAQ,IAAI,EAAM,CAAqB,EAAK,EAAU,CAAC,GAAG,EAAY,QAAM,CAAC,mBADnC"}