{"version":3,"file":"ServiceBaseMap.Dtr8IRuu.mjs","names":["React.useRef","React.useState","__esmMin","init_npm_react_18_3_1","init_ssg_sandbox_shims","window","_e","p","ce","de","init_framer_Bf4_tcb2","addPropertyControls","ControlType","ServiceBaseMap","mapRef","zoom","setZoom","map","measure","resize","props","init_ServiceBaseMap","init_jsx_runtime"],"sources":["https:/framerusercontent.com/modules/kqW9XR1U5ezTr8M5IPAb/lO7vzBmQ3qRsSUslu3fU/ServiceBaseMap.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import*as React from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 514\n */export default function ServiceBaseMap(props){const mapRef=React.useRef(null);const[zoom,setZoom]=React.useState(()=>typeof window!==\"undefined\"&&window.innerWidth<700?8:9);React.useEffect(()=>{const map=mapRef.current;if(!map)return;const measure=()=>setZoom(map.clientWidth<700?8:9);measure();const resize=new ResizeObserver(measure);resize.observe(map);return()=>resize.disconnect();},[]);return /*#__PURE__*/_jsxs(\"div\",{ref:mapRef,style:{...props.style,width:\"100%\",height:\"100%\",minHeight:240,position:\"relative\",background:\"#eef2f5\",fontFamily:'\"DM Sans\",sans-serif'},children:[/*#__PURE__*/_jsx(\"iframe\",{src:\"https://maps.google.com/maps?q=Little%20Elm%2C%20TX&ll=32.98%2C-97.00&z=\"+(props.metroplexView?8:zoom)+\"&output=embed\",title:\"Dallas–Fort Worth service area — Little Elm service base, not a walk-in shop\",loading:\"lazy\",referrerPolicy:\"strict-origin-when-cross-origin\",style:{width:\"100%\",height:\"100%\",border:0,display:\"block\"}}),/*#__PURE__*/_jsx(\"a\",{href:\"https://www.google.com/maps/search/?api=1&query=Little+Elm+TX\",target:\"_blank\",rel:\"noopener noreferrer\",style:{position:\"absolute\",right:12,bottom:36,background:\"white\",color:\"#036b9b\",padding:\"10px 14px\",borderRadius:8,fontSize:13,fontWeight:600,textDecoration:\"none\",boxShadow:\"0 2px 12px #0002\"},children:\"Little Elm service base ↗\"})]});}addPropertyControls(ServiceBaseMap,{metroplexView:{type:ControlType.Boolean,title:\"Metroplex View\",defaultValue:false}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ServiceBaseMap\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any\",\"framerIntrinsicHeight\":\"514\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"800\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ServiceBaseMap.map"],"mappings":"A,mMAKG,SAAwBa,EAAe,EAAM,CAAC,IAAMC,EAAOd,EAAa,IAAI,EAAO,CAACe,EAAKC,GAASf,MAA0BI,IAAS,QAAaA,EAAO,WAAW,IAAI,EAAE,CAAC,EAA6N,OAA3NG,MAAoB,CAAC,IAAMS,EAAIH,EAAO,QAAQ,GAAG,CAACG,EAAI,OAAO,IAAMC,MAAYF,EAAQC,EAAI,YAAY,IAAI,EAAE,CAAC,EAAEC,EAAQ,EAAE,IAAMC,EAAO,IAAI,eAAeD,CAAO,EAAsB,OAApBC,EAAO,QAAQF,CAAG,MAAYE,EAAO,WAAW,CAAE,EAAE,CAAC,CAAC,EAAsB,gBAAM,MAAM,CAAC,IAAIL,EAAO,MAAM,CAAC,GAAGM,EAAM,MAAM,MAAM,OAAO,OAAO,OAAO,UAAU,IAAI,SAAS,WAAW,WAAW,UAAU,WAAW,sBAAsB,EAAE,SAAS,CAAc,gBAAK,SAAS,CAAC,IAAI,4EAA4EA,EAAM,cAAc,EAAEL,GAAM,gBAAgB,MAAM,+EAA+E,QAAQ,OAAO,eAAe,kCAAkC,MAAM,CAAC,MAAM,OAAO,OAAO,OAAO,OAAO,EAAE,QAAQ,OAAO,CAAC,CAAC,EAAe,gBAAK,IAAI,CAAC,KAAK,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