{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Hbc0lxqGSRzFG6uMT9yO/OPmIEDVRw3amYB3GBzWp/GoogleMaps.js", "ssg:https://framerusercontent.com/modules/eLJQ5wFPhGtUz3b6vybq/C9hXY2X5T6c2UQMI8wPl/CustomH2.js"],
  "sourcesContent": ["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,motion}from\"framer\";import{containerStyles,useRadius,borderRadiusControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useMemo}from\"react\";const coordinatesRegex=/^((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?),\\s*((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?)$/;/**\n * GOOGLE MAPS\n *\n * @framerIntrinsicWidth 600\n * @framerIntrinsicHeight 400\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export default function GoogleMaps({coordinates,zoom,style,...props}){const borderRadius=useRadius(props);const[latitude1,longitude1]=useMemo(()=>{var ref;const[,latitude,longitude]=(ref=coordinates.match(coordinatesRegex))!==null&&ref!==void 0?ref:[null,\"\",\"\",];return[latitude,longitude];},[coordinates]);return(/*#__PURE__*/ _jsx(motion.div,{style:{...style,...containerStyles,overflow:\"hidden\",borderRadius},...props,children:/*#__PURE__*/ _jsx(\"iframe\",{style:{height:\"100%\",width:\"100%\",border:0},src:`https://maps.google.com/maps?q=${latitude1},${longitude1}&z=${zoom}&output=embed`})}));};addPropertyControls(GoogleMaps,{coordinates:{type:ControlType.String,title:\"Coordinates\",placeholder:\"52.37588, 4.891295\",defaultValue:\"52.37588, 4.891295\",description:\"GPS coordinates can be found directly in [Google Maps](https://maps.google.com).\"},zoom:{type:ControlType.Number,step:1,min:0,max:25,title:\"Zoom\",defaultValue:15},...borderRadiusControl});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GoogleMaps\",\"slots\":[],\"annotations\":{\"framerIntrinsicWidth\":\"600\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicHeight\":\"400\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GoogleMaps.map", "// Welcome to Code in Framer\n// Get Started: https://www.framer.com/developers/\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,addPropertyControls}from\"framer\";export function CustomH2({titlePart1,titlePart2,fontSize,textAlign,oneLine}){return /*#__PURE__*/_jsx(\"div\",{children:/*#__PURE__*/_jsxs(\"h2\",{style:{fontSize:`${fontSize}px`,fontWeight:\"bold\",lineHeight:\"1.2\",margin:0,textAlign},children:[/*#__PURE__*/_jsx(\"span\",{children:titlePart1}),oneLine?\" \":/*#__PURE__*/_jsx(\"br\",{}),/*#__PURE__*/_jsx(\"span\",{children:titlePart2})]})});}addPropertyControls(CustomH2,{titlePart1:{type:ControlType.String,title:\"Title Part 1\",defaultValue:\"First Part\"},titlePart2:{type:ControlType.String,title:\"Title Part 2\",defaultValue:\"Second Part\"},fontSize:{type:ControlType.Number,title:\"Font Size\",defaultValue:40},textAlign:{type:ControlType.Enum,displaySegmentedControl:true,defaultValue:\"left\",segmentedControlDirection:\"vertical\",options:[\"left\",\"center\"],optionTitles:[\"Left\",\"Center\"]},oneLine:{type:ControlType.Boolean,title:\"One Line\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"CustomH2Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"CustomH2\":{\"type\":\"reactComponent\",\"name\":\"CustomH2\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CustomH2.map"],
  "mappings": "qKAAiP,IAAMA,EAAiB,+DAQrP,SAARC,EAA4B,CAAC,YAAAC,EAAY,KAAAC,EAAK,MAAAC,EAAM,GAAGC,CAAK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,EAAS,CAAC,WAAW,CAAC,KAAKS,EAAY,OAAO,MAAM,eAAe,aAAa,YAAY,EAAE,WAAW,CAAC,KAAKA,EAAY,OAAO,MAAM,eAAe,aAAa,aAAa,EAAE,SAAS,CAAC,KAAKA,EAAY,OAAO,MAAM,YAAY,aAAa,EAAE,EAAE,UAAU,CAAC,KAAKA,EAAY,KAAK,wBAAwB,GAAK,aAAa,OAAO,0BAA0B,WAAW,QAAQ,CAAC,OAAO,QAAQ,EAAE,aAAa,CAAC,OAAO,QAAQ,CAAC,EAAE,QAAQ,CAAC,KAAKA,EAAY,QAAQ,MAAM,WAAW,aAAa,EAAK,CAAC,CAAC",
  "names": ["coordinatesRegex", "GoogleMaps", "coordinates", "zoom", "style", "props", "borderRadius", "useRadius", "latitude1", "longitude1", "se", "ref", "latitude", "longitude", "p", "motion", "containerStyles", "addPropertyControls", "ControlType", "borderRadiusControl", "CustomH2", "titlePart1", "titlePart2", "fontSize", "textAlign", "oneLine", "p", "u", "addPropertyControls", "ControlType"]
}
