{"version":3,"file":"NotionCETTime.DYAh_OXV.mjs","names":["useMemo","__esmMin","pe","c","init_jsx_runtime","init_npm_react_18_3_1","init_framer_BEr93sCn","addPropertyControls","ControlType","NotionCETTime","props","correctedDate","parsed","date","formattedTime","dateTimeValue","init_NotionCETTime"],"sources":["https:/framerusercontent.com/modules/2UQJFjWzSfYy1zBHlli0/e8bCvhQ8o4dmNQ0kGqYJ/NotionCETTime.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useMemo}from\"react\";/**\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function NotionCETTime(props){const{date,fontSize=32,fontFamily=\"Inter\",fontWeight=500,color=\"#000000\",letterSpacing=\"-0.02em\",lineHeight=1.4}=props;const correctedDate=useMemo(()=>{const parsed=new Date(date);if(Number.isNaN(parsed.getTime()))return null;return new Date(parsed.getTime()+60*60*1e3);},[date]);const formattedTime=useMemo(()=>{if(!correctedDate)return\"--:--\";return new Intl.DateTimeFormat(\"en-GB\",{hour:\"2-digit\",minute:\"2-digit\",hour12:false,timeZone:\"UTC\"}).format(correctedDate);},[correctedDate]);const dateTimeValue=useMemo(()=>correctedDate?.toISOString(),[correctedDate]);return /*#__PURE__*/_jsx(\"time\",{dateTime:dateTimeValue,\"aria-label\":`Central European schedule time ${formattedTime}`,style:{position:\"relative\",display:\"inline-block\",width:\"max-content\",minWidth:\"max-content\",fontSize,fontFamily,fontWeight,color,letterSpacing,fontFeatureSettings:'\"cv01\" 1, \"cv09\" 1',whiteSpace:\"nowrap\",margin:0,padding:0,lineHeight},children:formattedTime});}addPropertyControls(NotionCETTime,{date:{type:ControlType.Date,title:\"Date\",defaultValue:\"2026-01-01T08:00:00.000Z\",displayTime:true},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:32,min:8,max:120,unit:\"px\",step:1},fontFamily:{type:ControlType.String,title:\"Font Family\",defaultValue:\"Inter\"},fontWeight:{type:ControlType.Number,title:\"Weight\",defaultValue:500,min:100,max:900,step:100},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},letterSpacing:{type:ControlType.String,title:\"Tracking\",defaultValue:\"-0.02em\"},lineHeight:{type:ControlType.Number,title:\"Line Height\",defaultValue:1,min:.5,max:2,step:.01}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"NotionCETTime\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"auto\",\"framerSupportedLayoutWidth\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./NotionCETTime.map"],"mappings":"A,0KAGG,SAAwBS,EAAc,EAAM,CAAC,GAAK,CAAC,OAAK,WAAS,GAAG,aAAW,QAAQ,aAAW,IAAI,QAAM,UAAU,gBAAc,UAAU,aAAW,KAAKC,EAAYC,EAAcX,MAAY,CAAC,IAAMY,EAAO,IAAI,KAAKC,CAAI,EAAgD,OAA3C,OAAO,MAAMD,EAAO,QAAQ,CAAC,EAAS,KAAY,IAAI,KAAKA,EAAO,QAAQ,EAAE,IAAS,CAAE,EAAE,CAACC,CAAI,CAAC,EAAQC,EAAcd,MAAiBW,EAAmC,IAAI,KAAK,eAAe,QAAQ,CAAC,KAAK,UAAU,OAAO,UAAU,OAAO,GAAM,SAAS,KAAK,CAAC,CAAC,CAAC,OAAOA,CAAa,EAAlI,QAAsI,CAACA,CAAa,CAAC,EAAQI,EAAcf,MAAYW,GAAe,YAAY,EAAE,CAACA,CAAa,CAAC,EAAE,MAAoB,gBAAK,OAAO,CAAC,SAASI,EAAc,aAAa,kCAAkCD,IAAgB,MAAM,CAAC,SAAS,WAAW,QAAQ,eAAe,MAAM,cAAc,SAAS,cAAc,WAAS,aAAW,aAAW,QAAM,gBAAc,oBAAoB,qBAAqB,WAAW,SAAS,OAAO,EAAE,QAAQ,EAAE,YAAU,EAAE,SAASA,CAAa,CAAC,CAAE,C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