import{u as f}from"./zbMs9D6X.js";import{a0 as g}from"./UpFGpe05.js";const C=()=>{const{get:t}=f();function o(e,n={}){const a=Object.entries(n).reduce((u,[p,r])=>(r!=null&&r!==""&&(u[p]=r),u),{});if(Object.keys(a).length===0)return t(`/mapas/${e}/DEM/DEM`);const m=new URLSearchParams(a).toString();return t(`/mapas/${e}/DEM/DEM?${m}`)}function s(e={}){const n={lat:e.lat,lng:e.lng};return t(`mapas/localizacaoCoordenadas?latitude=${n.lat}&longitude=${n.lng}`)}function i(e){return t(`mapas/${e}/kmzData/DEM/DEM`)}function c(e){return t(`mapas/${e}/trechos/coordenadas`)}function d(e,n,a){return t(n!==void 0&&a!==void 0?`mapas/${e}/demandas/coordenada?latitude=${n}&longitude=${a}`:`mapas/${e}/demandas/coordenada`)}function l(e,n){return t(`mapas/coordenadasPorKm?idTrecho=${e}&km=${n}`)}return{getDemandsLocations:o,getCoordenatesInfo:s,getKmzData:i,getTrechosComCoordenadas:c,getDemandasByCoordenada:d,getCoordenadasPorKm:l}},D=Object.freeze(Object.defineProperty({__proto__:null,default:C},Symbol.toStringTag,{value:"Module"})),b=()=>{const t=g(),o=["visualization","places","marker"];return{getMapConfig:()=>({apiKey:t.public.googleMapsApiKey,libraries:o}),getDefaultMapOptions:()=>({mapTypeControl:!0,streetViewControl:!0,fullscreenControl:!0,zoomControl:!0}),standardLibraries:o}};export{D as a,C as m,b as u};
