{"version":3,"file":"CurrentYearDisplay.CUpaOGac.mjs","names":["useMemo"],"sources":["https:/framerusercontent.com/modules/G4JlfBkBTxbj8X4qpWoW/MSq2m7j3J5YbrCeyfmnh/CurrentYearDisplay.js"],"sourcesContent":["// Dynamic year text component with font control\nimport{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * Dynamic Year Text\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function CurrentYearDisplay(props){const{font,color,prefix,suffix,style}=props;const year=useMemo(()=>new Date().getFullYear(),[]);return /*#__PURE__*/_jsxs(\"span\",{style:{...font,color:color,...style,width:\"max-content\",minWidth:\"max-content\",display:\"inline-block\"},children:[prefix,year,suffix]});}addPropertyControls(CurrentYearDisplay,{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"22px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.2em\"}},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\",placeholder:\"e.g. \\xa9 \"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\",placeholder:\"e.g. Company Name\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"CurrentYearDisplay\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CurrentYearDisplay.map"],"mappings":"0KAMG,SAAwB,EAAmB,EAAM,CAAC,GAAK,CAAC,OAAK,QAAM,SAAO,SAAO,SAAO,EAAY,EAAKA,MAAY,IAAI,MAAM,CAAC,aAAa,CAAC,EAAE,CAAC,CAAC,OAAoB,EAAM,OAAO,CAAC,MAAM,CAAC,GAAG,EAAW,QAAM,GAAG,EAAM,MAAM,cAAc,SAAS,cAAc,QAAQ,eAAe,CAAC,SAAS,CAAC,EAAO,EAAK,EAAO,CAAC,CAAC,kBALhR,IAAoD,IAA2B,CAKmM,EAAoB,EAAmB,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,WAAW,cAAc,UAAU,WAAW,QAAQ,CAAC,CAAC,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,UAAU,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,YAAY,UAAa,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,GAAG,YAAY,oBAAoB,CAAC,CAAC"}