{"version":3,"file":"YearDisplay.DLBWAfCK.mjs","names":[],"sources":["https:/framerusercontent.com/modules/8KyhocS8VHNQ3nOKJC7f/VcYP7sJOSHYtQtSx8F10/YearDisplay.js"],"sourcesContent":["// Fixes year display to current year\nimport{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * YearDisplay Display\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function YearDisplay(props){const{prefix,suffix,font,color,width,height,style}=props;const year=typeof window!==\"undefined\"?new Date().getFullYear():2024;return /*#__PURE__*/_jsxs(\"span\",{style:{...font,color,...style,width:width?width:\"max-content\",minWidth:width?width:\"max-content\",height:height?height:undefined,display:width||height?\"inline-block\":undefined},children:[prefix,year,suffix]});}addPropertyControls(YearDisplay,{prefix:{type:ControlType.String,title:\"Prefix\",defaultValue:\"\\xa9 \"},suffix:{type:ControlType.String,title:\"Suffix\",defaultValue:\"\"},font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},width:{type:ControlType.Number,title:\"Width\",defaultValue:0,min:0,max:1e3,unit:\"px\",displayStepper:true},height:{type:ControlType.Number,title:\"Height\",defaultValue:0,min:0,max:500,unit:\"px\",displayStepper:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"YearDisplay\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./YearDisplay.map"],"mappings":"2KAMG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,SAAO,SAAO,OAAK,QAAM,QAAM,SAAO,SAAO,EAAY,EAAY,IAAS,OAAqC,KAAzB,IAAI,KAAK,CAAA,CAAE,YAAY,EAAO,OAAoB,EAAM,OAAO,CAAC,MAAM,CAAC,GAAG,EAAK,QAAM,GAAG,EAAM,MAAM,GAAY,cAAc,SAAS,GAAY,cAAc,OAAO,GAAc,IAAA,GAAU,QAAQ,GAAO,EAAO,eAAe,IAAA,EAAS,EAAE,SAAS,CAAC,EAAO,EAAK,CAAM,CAAC,CAAC,CAAE,qBALlX,IAAoD,EAK+T,EAAoB,EAAY,CAAC,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,IAAO,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,EAAE,KAAK,CAAC,KAAK,EAAY,KAAK,MAAM,OAAO,SAAS,WAAW,gBAAgB,aAAa,aAAa,CAAC,SAAS,OAAO,QAAQ,SAAS,cAAc,UAAU,WAAW,OAAO,CAAC,EAAE,MAAM,CAAC,KAAK,EAAY,MAAM,MAAM,QAAQ,aAAa,SAAS,EAAE,MAAM,CAAC,KAAK,EAAY,OAAO,MAAM,QAAQ,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,KAAK,eAAe,EAAI,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,SAAS,aAAa,EAAE,IAAI,EAAE,IAAI,IAAI,KAAK,KAAK,eAAe,EAAI,CAAC,CAAC"}