{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/Hbc0lxqGSRzFG6uMT9yO/OPmIEDVRw3amYB3GBzWp/GoogleMaps.js", "ssg:https://framerusercontent.com/modules/R9QcaVccHNGCHkxnW6Fy/KGtwEfTNxGMS3wYJqXS8/AMMgMKGsr.js"],
  "sourcesContent": ["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport { addPropertyControls, ControlType, motion } from \"framer\";\nimport { containerStyles, useRadius, borderRadiusControl } from \"https://framer.com/m/framer/default-utils.js@^0.45.0\";\nimport { useMemo } from \"react\";\nconst coordinatesRegex = /^((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?),\\s*((?:\\-?|\\+?)?\\d+(?:\\.\\d+)?)$/; /**\n                                                                                         * GOOGLE MAPS\n                                                                                         *\n                                                                                         * @framerIntrinsicWidth 600\n                                                                                         * @framerIntrinsicHeight 400\n                                                                                         *\n                                                                                         * @framerSupportedLayoutWidth fixed\n                                                                                         * @framerSupportedLayoutHeight fixed\n                                                                                         */\nexport default function GoogleMaps({\n  coordinates,\n  zoom,\n  style,\n  ...props\n}) {\n  const borderRadius = useRadius(props);\n  const [latitude1, longitude1] = useMemo(() => {\n    var ref;\n    const [, latitude, longitude] = (ref = coordinates.match(coordinatesRegex)) !== null && ref !== void 0 ? ref : [null, \"\", \"\"];\n    return [latitude, longitude];\n  }, [coordinates]);\n  return /*#__PURE__*/_jsx(motion.div, {\n    style: {\n      ...style,\n      ...containerStyles,\n      overflow: \"hidden\",\n      borderRadius\n    },\n    ...props,\n    children: /*#__PURE__*/_jsx(\"iframe\", {\n      style: {\n        height: \"100%\",\n        width: \"100%\",\n        border: 0\n      },\n      src: `https://maps.google.com/maps?q=${latitude1},${longitude1}&z=${zoom}&output=embed`\n    })\n  });\n}\n;\naddPropertyControls(GoogleMaps, {\n  coordinates: {\n    type: ControlType.String,\n    title: \"Coordinates\",\n    placeholder: \"52.37588, 4.891295\",\n    defaultValue: \"52.37588, 4.891295\",\n    description: \"GPS coordinates can be found directly in [Google Maps](https://maps.google.com).\"\n  },\n  zoom: {\n    type: ControlType.Number,\n    step: 1,\n    min: 0,\n    max: 25,\n    title: \"Zoom\",\n    defaultValue: 15\n  },\n  ...borderRadiusControl\n});\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"default\": {\n      \"type\": \"reactComponent\",\n      \"name\": \"GoogleMaps\",\n      \"slots\": [],\n      \"annotations\": {\n        \"framerIntrinsicWidth\": \"600\",\n        \"framerSupportedLayoutWidth\": \"fixed\",\n        \"framerIntrinsicHeight\": \"400\",\n        \"framerContractVersion\": \"1\",\n        \"framerSupportedLayoutHeight\": \"fixed\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};\n//# sourceMappingURL=./GoogleMaps.map", "import { fontStore } from \"framer\";\nfontStore.loadWebFontsFromSelectors([]);\nexport const fonts = [];\nexport const css = [\".framer-dFXkY .framer-styles-preset-1abk2gc:not(.rich-text-wrapper), .framer-dFXkY .framer-styles-preset-1abk2gc.rich-text-wrapper a { --framer-link-current-text-color: #111111; --framer-link-current-text-decoration: underline; --framer-link-hover-text-color: #0088ff; --framer-link-hover-text-decoration: underline; --framer-link-text-color: #0099ff; --framer-link-text-decoration: none; }\"];\nexport const className = \"framer-dFXkY\";\nexport const __FramerMetadata__ = {\n  \"exports\": {\n    \"className\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"css\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"fonts\": {\n      \"type\": \"variable\",\n      \"annotations\": {\n        \"framerContractVersion\": \"1\"\n      }\n    },\n    \"__FramerMetadata__\": {\n      \"type\": \"variable\"\n    }\n  }\n};"],
  "mappings": "iKAIA,IAAMA,EAAmB,+DASV,SAARC,EAA4B,CACjC,YAAAC,EACA,KAAAC,EACA,MAAAC,EACA,GAAGC,CACL,EAAG,CACD,IAAMC,EAAeC,EAAUF,CAAK,EAC9B,CAACG,EAAWC,CAAU,EAAIC,EAAQ,IAAM,CAC5C,IAAIC,EACJ,GAAM,CAAC,CAAEC,EAAUC,CAAS,GAAKF,EAAMT,EAAY,MAAMF,CAAgB,KAAO,MAAQW,IAAQ,OAASA,EAAM,CAAC,KAAM,GAAI,EAAE,EAC5H,MAAO,CAACC,EAAUC,CAAS,CAC7B,EAAG,CAACX,CAAW,CAAC,EAChB,OAAoBY,EAAKC,EAAO,IAAK,CACnC,MAAO,CACL,GAAGX,EACH,GAAGY,EACH,SAAU,SACV,aAAAV,CACF,EACA,GAAGD,EACH,SAAuBS,EAAK,SAAU,CACpC,MAAO,CACL,OAAQ,OACR,MAAO,OACP,OAAQ,CACV,EACA,IAAK,kCAAkCN,KAAaC,OAAgBN,gBACtE,CAAC,CACH,CAAC,CACH,CAEAc,EAAoBhB,EAAY,CAC9B,YAAa,CACX,KAAMiB,EAAY,OAClB,MAAO,cACP,YAAa,qBACb,aAAc,qBACd,YAAa,kFACf,EACA,KAAM,CACJ,KAAMA,EAAY,OAClB,KAAM,EACN,IAAK,EACL,IAAK,GACL,MAAO,OACP,aAAc,EAChB,EACA,GAAGC,CACL,CAAC,EC5DDC,EAAU,0BAA0B,CAAC,CAAC,EAC/B,IAAMC,EAAQ,CAAC,EACTC,EAAM,CAAC,wYAAwY,EAC/YC,EAAY",
  "names": ["coordinatesRegex", "GoogleMaps", "coordinates", "zoom", "style", "props", "borderRadius", "useRadius", "latitude1", "longitude1", "se", "ref", "latitude", "longitude", "p", "motion", "containerStyles", "addPropertyControls", "ControlType", "borderRadiusControl", "fontStore", "fonts", "css", "className"]
}
