{"version":3,"file":"TodayLabel.D8BayAWz.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/COyHbEF9OLxtjWtogi9P/dxqyZVaHCeiiKzBhIf8U/TodayLabel.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{motion}from\"framer-motion\";import{useMemo}from\"react\";/**\n * @framerDisableUnlink\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function TodayInlineLabel(props){const{textColor,font,style}=props;const today=new Date;const weekDays=[\"Dom\",\"Seg\",\"Ter\",\"Qua\",\"Qui\",\"Sex\",\"S\\xe1b\"];const months=[\"Jan\",\"Fev\",\"Mar\",\"Abr\",\"Mai\",\"Jun\",\"Jul\",\"Ago\",\"Set\",\"Out\",\"Nov\",\"Dez\"];const formattedDate=useMemo(()=>{const dayName=weekDays[today.getDay()];const dayNumber=today.getDate().toString().padStart(2,\"0\");const monthName=months[today.getMonth()];return`${dayName}, ${dayNumber} ${monthName}`;},[today]);return /*#__PURE__*/_jsx(motion.div,{style:{...style,color:textColor,whiteSpace:\"nowrap\",...font},children:formattedDate});}/* ---------- DEFAULT PROPS ---------- */TodayInlineLabel.defaultProps={textColor:\"#000000\",font:{family:\"Inter, sans-serif\",size:14,weight:600,lineHeight:\"1.2em\"}};/* ---------- PROPERTY CONTROLS ---------- */addPropertyControls(TodayInlineLabel,{textColor:{type:ControlType.Color,title:\"Cor do Texto\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Fonte\",controls:\"extended\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TodayInlineLabel\",\"slots\":[],\"annotations\":{\"framerDisableUnlink\":\"* @framerSupportedLayoutWidth auto\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TodayLabel.map"],"mappings":"2NAIG,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,YAAU,OAAK,SAAO,EAAY,EAAM,IAAI,KAAW,EAAS,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAS,CAAO,EAAO,CAAC,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,MAAM,CAAO,EAAcA,MAA8J,GAAnI,EAAS,EAAM,QAAQ,EAAuH,IAArG,EAAM,SAAS,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAyE,GAAxD,EAAO,EAAM,UAAU,IAAkD,CAAC,EAAM,CAAC,CAAC,OAAoB,EAAK,EAAO,IAAI,CAAC,MAAM,CAAC,GAAG,EAAM,MAAM,EAAU,WAAW,SAAS,GAAG,EAAK,CAAC,SAAS,EAAc,CAAC,kBAJnjB,IAAoD,IAAkC,IAA2B,CAI6e,EAAiB,aAAa,CAAC,UAAU,UAAU,KAAK,CAAC,OAAO,oBAAoB,KAAK,GAAG,OAAO,IAAI,WAAW,QAAQ,CAAC,CAA8C,EAAoB,EAAiB,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,eAAe,aAAa,UAAU,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,QAAQ,SAAS,WAAW,CAAC,CAAC"}