{"version":3,"file":"DynamicYearDisplay.DRk02Y1e.mjs","names":[],"sources":["https:/framerusercontent.com/modules/IFbjdz6pm2BHRRyp3GAP/JF3vLnlq7xWzSqIfdKou/DynamicYearDisplay.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Dynamic Year Minus One\n *\n * Displays the current year minus 1, styled according to user-provided font property control.\n *\n * @framerIntrinsicWidth 96\n * @framerIntrinsicHeight 60\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */function DynamicYearDisplay(props){const{textColor,font,style}=props;const displayYear=(typeof window!==\"undefined\"?new Date().getFullYear():2025)-1;return /*#__PURE__*/_jsx(\"span\",{style:{color:textColor,...font,...style,width:\"max-content\",minWidth:\"max-content\",position:\"relative\"},children:`2017 - ${displayYear}`});}addPropertyControls(DynamicYearDisplay,{textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:\"#000000\"},font:{type:ControlType.Font,title:\"Font\",defaultValue:{fontSize:\"60px\",variant:\"Bold\",letterSpacing:\"-0.04em\",lineHeight:\"1em\"},controls:\"extended\",defaultFontType:\"sans-serif\"}});export default DynamicYearDisplay;\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DynamicYearDisplay\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"60\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"96\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DynamicYearDisplay.map"],"mappings":"2KAUG,SAAS,EAAmB,EAAM,CAAC,GAAK,CAAC,YAAU,OAAK,SAAO,EAAY,GAAoB,IAAS,OAAqC,KAAzB,IAAI,MAAM,CAAC,aAAa,EAAO,EAAE,OAAoB,EAAK,OAAO,CAAC,MAAM,CAAC,MAAM,EAAU,GAAG,EAAK,GAAG,EAAM,MAAM,cAAc,SAAS,cAAc,SAAS,WAAW,CAAC,SAAS,UAAU,IAAc,CAAC,wBAVxR,IAAoD,CAUsO,EAAoB,EAAmB,CAAC,UAAU,CAAC,KAAK,EAAY,MAAM,MAAM,aAAa,aAAa,UAAU,CAAC,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,aAAa,CAAC,SAAS,OAAO,QAAQ,OAAO,cAAc,UAAU,WAAW,MAAM,CAAC,SAAS,WAAW,gBAAgB,aAAa,CAAC,CAAC,GAAgB"}