{"version":3,"file":"shared-lib.B4s_86Xb.mjs","names":["useState","fonts","css","className"],"sources":["https:/framerusercontent.com/modules/YLaa8d1qFbxTy5CePxwo/JZRhMT6za7NihspWh4ta/Clock.js","https:/framerusercontent.com/modules/od9RCK8rBZo5cRQcNcJJ/FdtEoZA9InGvmYy4MteG/ro7OPezbn.js","https:/framerusercontent.com/modules/PDlzoEXFHgfngnQRHNJw/xEDZlMQ099HHe1m54d4A/zARxukgkB.js","https:/framerusercontent.com/modules/8LIbIz8MDUXIi65M1Tuy/cK9s5uOPf4AXsPcDXK46/siteMetadata.js"],"sourcesContent":["import{jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect}from\"react\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */ export default function Clock(props){const[currentTime,setCurrentTime]=useState(new Date);useEffect(()=>{const timerID=setInterval(()=>updateCurrentTime(),1e3);return()=>{clearInterval(timerID);};},[]);const updateCurrentTime=()=>{setCurrentTime(new Date);};let text=\"\";const ampmText=props.ampmCase==\"uppercase\"?[\"AM\",\"PM\"]:[\"am\",\"pm\"];const hours=props.is12hour?currentTime.getHours()%12||12:currentTime.getHours();const minutes=currentTime.getMinutes().toString().padStart(2,\"0\");const ampm=props.is12hour?currentTime.getHours()>=12?\" \"+ampmText[1]:\" \"+ampmText[0]:\"\";if(props.seconds){const seconds=currentTime.getSeconds().toString().padStart(2,\"0\");text=`${hours}:${minutes}:${seconds}${ampm}`;}else{text=`${hours}:${minutes}${ampm}`;}if(props.timeZone){const timeZoneAbbreviation=new Intl.DateTimeFormat(\"en-US\",{timeZoneName:\"short\"}).formatToParts(new Date).find(part=>part.type===\"timeZoneName\").value;text+=\" \"+timeZoneAbbreviation;}return /*#__PURE__*/ _jsxs(\"p\",{style:{color:props.color,userSelect:props.textSelect?\"auto\":\"none\",margin:0,...props.font},children:[props.prefix,text,props.suffix]});};addPropertyControls(Clock,{seconds:{type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},timeZone:{type:ControlType.Boolean,defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},is12hour:{type:ControlType.Boolean,defaultValue:true,enabledTitle:\"12 Hour\",disabledTitle:\"24 Hour\",title:\"Mode\"},ampmCase:{type:ControlType.Enum,defaultValue:\"uppercase\",options:[\"uppercase\",\"lowercase\"],optionTitles:[\"AM / PM\",\"am / pm\"],title:\"Case\",hidden(props){return!props.is12hour;}},color:{type:ControlType.Color,defaultValue:\"#000\",title:\"Font Color\"},font:{type:\"font\",controls:\"extended\"},prefix:{type:ControlType.String},suffix:{type:ControlType.String},textSelect:{type:ControlType.Boolean,defaultValue:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Clock\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutWidth\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Clock.map","// Generated by Framer (5bbf1f3)\nimport{fontStore}from\"framer\";fontStore.loadFonts([]);export const fonts=[{explicitInter:true,fonts:[]}];export const css=['.framer-wq5F3 .framer-styles-preset-1wicq5s:not(.rich-text-wrapper), .framer-wq5F3 .framer-styles-preset-1wicq5s.rich-text-wrapper a { --framer-link-current-text-color: #898989; --framer-link-current-text-decoration: none; --framer-link-hover-text-color: var(--token-bc022ad3-ec13-4512-aa4a-febffb20d789, #898989) /* {\"name\":\"Text/mid\"} */; --framer-link-hover-text-decoration: none; --framer-link-text-color: var(--token-769b2b36-b762-451a-9ad9-f333c17dfad0, #1a1a1a); --framer-link-text-decoration: none; transition: color 0.25s cubic-bezier(0.12, 0.23, 0.5, 1) 0s; }'];export const className=\"framer-wq5F3\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (5bbf1f3)\nimport{fontStore}from\"framer\";fontStore.loadFonts([\"CUSTOM;Suisse Intl Regular\"]);export const fonts=[{explicitInter:true,fonts:[{family:\"Suisse Intl Regular\",source:\"custom\",url:\"https://framerusercontent.com/assets/FFhsDP9FU9Xr9axmyejZDaWwE.woff2\"}]}];export const css=['.framer-BAsGF .framer-styles-preset-jsqj8q:not(.rich-text-wrapper), .framer-BAsGF .framer-styles-preset-jsqj8q.rich-text-wrapper p { --framer-font-family: \"Suisse Intl Regular\", \"Suisse Intl Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 20px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 1.2px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; }','@media (max-width: 2559px) and (min-width: 1200px) { .framer-BAsGF .framer-styles-preset-jsqj8q:not(.rich-text-wrapper), .framer-BAsGF .framer-styles-preset-jsqj8q.rich-text-wrapper p { --framer-font-family: \"Suisse Intl Regular\", \"Suisse Intl Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 1.2px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 1199px) and (min-width: 1000px) { .framer-BAsGF .framer-styles-preset-jsqj8q:not(.rich-text-wrapper), .framer-BAsGF .framer-styles-preset-jsqj8q.rich-text-wrapper p { --framer-font-family: \"Suisse Intl Regular\", \"Suisse Intl Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 1.2px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 999px) and (min-width: 810px) { .framer-BAsGF .framer-styles-preset-jsqj8q:not(.rich-text-wrapper), .framer-BAsGF .framer-styles-preset-jsqj8q.rich-text-wrapper p { --framer-font-family: \"Suisse Intl Regular\", \"Suisse Intl Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 1.2px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }','@media (max-width: 809px) and (min-width: 0px) { .framer-BAsGF .framer-styles-preset-jsqj8q:not(.rich-text-wrapper), .framer-BAsGF .framer-styles-preset-jsqj8q.rich-text-wrapper p { --framer-font-family: \"Suisse Intl Regular\", \"Suisse Intl Regular Placeholder\", sans-serif; --framer-font-open-type-features: normal; --framer-font-size: 16px; --framer-font-style: normal; --framer-font-variation-axes: normal; --framer-font-weight: 400; --framer-letter-spacing: 0.03em; --framer-line-height: 1.2em; --framer-paragraph-spacing: 1.2px; --framer-text-alignment: start; --framer-text-color: #000000; --framer-text-decoration: none; --framer-text-stroke-color: initial; --framer-text-stroke-width: initial; --framer-text-transform: none; } }'];export const className=\"framer-BAsGF\";\nexport const __FramerMetadata__ = {\"exports\":{\"fonts\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"css\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"className\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","// Generated by Framer (9f55354)\nexport default function metadata(params,activeLocale){return{description:\"Adam Pusztai is a Visual & UI designer, with a conceptual and strategic approach.\",favicon:\"https://framerusercontent.com/assets/2ssDr1EvfJsUG6sZqdftC9tCxDY.png\",robots:\"max-image-preview:large\",socialImage:\"https://framerusercontent.com/assets/vm6gnZDa6hh85awmkS8wlfFSD7Q.png\",title:\"Adam's Portfolio\"};}export const metadataVersion=1;\nexport const __FramerMetadata__ = {\"exports\":{\"metadataVersion\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}"],"mappings":"wLAGI,SAAwB,EAAM,EAAM,CAAC,GAAK,CAAC,EAAY,GAAgBA,EAAS,IAAI,KAAK,CAAC,MAAc,CAAC,IAAM,EAAQ,gBAAgB,GAAmB,CAAC,IAAI,CAAC,UAAU,CAAC,cAAc,EAAQ,GAAK,EAAE,CAAC,CAAC,IAAM,MAAsB,CAAC,EAAe,IAAI,KAAK,EAAO,EAAK,GAAS,EAAS,EAAM,UAAU,YAAY,CAAC,KAAK,KAAK,CAAC,CAAC,KAAK,KAAK,CAAO,EAAM,EAAM,SAAS,EAAY,UAAU,CAAC,IAAI,GAAG,EAAY,UAAU,CAAO,EAAQ,EAAY,YAAY,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,CAAO,EAAK,EAAM,SAAS,EAAY,UAAU,EAAE,GAAG,IAAI,EAAS,GAAG,IAAI,EAAS,GAAG,GAA6K,GAA1K,AAAuI,EAApI,EAAM,QAAgF,GAAG,EAAM,GAAG,EAAQ,GAA7E,EAAY,YAAY,CAAC,UAAU,CAAC,SAAS,EAAE,IAAI,GAAuC,IAA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