{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./base/components/mensajes.js","webpack:///./base/components/alertModal.js","webpack:///./base/components/tools.js","webpack:///./salidaGraficaRed/miRedDeAtencion/sedesAtencion/src/components/sedes.js","webpack:///./planComplementario/miRedDeAtencion/especialidadesAccesoDirecto/src/components/listadoEspecialistas.js","webpack:///./planComplementario/miRedDeAtencion/especialidadesAccesoDirecto/src/components/especialidadesAccesoDirecto.js","webpack:///./planComplementario/miRedDeAtencion/especialidadesAccesoDirecto/src/index.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","Mensajes","React","Component","props","handleHide","handleShow","state","showModal","undefined","nextProps","this","setState","sessionStorage","setItem","id","Modal","show","container","onHide","bsSize","backdrop","aria-labelledby","Header","type","className","onClick","Body","aria-hidden","msg","ReactBootstrap","AlertModal","message","Footer","Button","onClickAgreeButton","Tools","getDaysInMonth","validateWholeDate","data","fieldName","newData","map","item","toLowerCase","split","word","charAt","toUpperCase","slice","join","push","upperCaseName","contentType","compTools","autenticadoWindows","estaAutenticado","authenticatedUser","obtenerInformacionUsuario","Error","validarDerechosCliente","Programa","validationService","ServicioProxy","Promise","resolve","reject","getElements","then","isAsesor","error","file","reader","FileReader","base64File","readAsDataURL","onload","result","onerror","event","inputValue","target","checked","selected","field","month","year","y","param","splitParam","location","protocol","window","origin","pathname","document","href","text","test","list","order","sort","a","b","propsTabIndex","addClass","el","classList","add","removeClass","remove","replace","RegExp","$","hide","tabIndex","actualId","itemScroll","querySelectorAll","scrollLeftMax","scrollWidth","clientWidth","dist","Math","round","scrollLeft","min","activeDots","forEach","dot","element","duration","animate","scrollTop","position","top","separator","String","Sedes","e","preventDefault","locations","showMap","renderMap","mapOptions","center","lat","lng","zoom","showingInfoWindow","activeMarker","selectedPlace","areaOptions","areaSelected","areas","currentLatLng","infowindow","markers","directionsDisplay","googleChecker","renderInfoWindow","filterLocationsByArea","openLocationFromList","getAreas","area","indexOf","getLocations","successCallback","ServicioPnp","getList","CSSaliRedCodigoSedeText","CSSaliRedZonaChoise","plan","areaFilter","sedesFilter","Id","code","CodigoSede","NombreSede","Latitud","Longitud","address","Direccion","phone","Telefono","schedule","Horario","parking","Parqueadero","url","TituloUrl","image","srcWithQuotes","match","substring","length","configurations","locationLatLng","marker","open","setCenter","getPosition","howToArriveSelect","getElementById","querySelector","addEventListener","close","panTo","navigator","geolocation","getCurrentPosition","coords","latitude","longitude","directionsService","google","maps","DirectionsService","setMap","route","destination","travelMode","TravelMode","response","status","setDirections","setOptions","polylineOptions","strokeWeight","strokeOpacity","strokeColor","console","log","latLng","parseFloat","Marker","animation","Animation","DROP","title","addListener","getItemAsHtml","Imagen","setContent","openLocation","Map","refs","mapContainer","DirectionsRenderer","InfoWindow","maxWidth","Geocoder","renderLocations","find","style","padding","margin","borderTop","borderBottom","DropdownButton","bsStyle","onSelect","MenuItem","eventKey","ref","height","src","_spPageContextInfo","siteAbsoluteUrl","alt","activeMap","width","cursor","overflowY","ListadoEspecialistas","specialistsList","NombreEspecialista","DireccionEspecilista","EspecialidadesAccesoDirecto","patientType","specialties","handleSelect","pnpService","getSpecialties","getSpecialistsList","capitalizeName","modal","JSON","parse","specialtiesList","CodigoStatusError","errorMessage","specialty","speacialtyData","onContextMenu","UrlImagen","CSIdDocumentoText","CSDocumentoIdentidadText","form","identificationType","App","isAuthenticatedBoolean","typeUser","currentAlert","currentComponentToRender","tools","ApiKey","filename","createElement","setAttribute","getElementsByTagName","appendChild","setTimeout","loadApiKey","getListWithTop","CSNombreText","CSValorNote","CSVisibleBool","isAuthenticated","userInfo","DerechoPrestacion","loginURL","keys","getLoginURL","appId","ReactDOM","render"],"mappings":"aACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC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Kf,OAHGtV,OAAOuV,KAAKvT,KAAKJ,MAAM6L,gBAAgBD,SACxC8H,EAAWtT,KAAKsS,MAAMkB,YAAYxT,KAAKJ,MAAM6L,eAAX,YAGlC,+BACE,+BAAOzL,KAAKJ,MAAMwS,cAClB,2BAAKtR,UAAU,wBACb,2BAAKA,UAAU,OACb,2BAAKA,UAAU,aACb,0BAAIA,UAAU,SAASd,KAAKJ,MAAM6L,eAAX,mCACvB,6BAAIzL,KAAKJ,MAAM6L,eAAX,iDAGNzL,KAAKJ,MAAMsS,uBACTlS,KAAKJ,MAAMyS,yBAEb,+BACE,2BAAKvR,UAAU,OACb,2BAAKA,UAAU,aACb,2BAAKA,UAAU,aACb,qEACA,2MACA,2BAAKA,UAAU,eAAc,yBAAGA,UAAU,kBAAkBuE,KAAMiO,GAArC,sBAIpCtT,KAAKJ,MAAMyS,iC,kCAUlBoB,GAAQrO,SAAS4G,eAAe,sCACtC0H,SAASC,OAAO,oBAAC,GAAD,MAASF,K","file":"index.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 0);\n","class Mensajes extends React.Component {\n constructor(props) {\n super(props);\n this.handleHide = this.handleHide.bind(this);\n this.handleShow = this.handleShow.bind(this);\n\n this.state = {\n showModal:\n this.props.showModal === undefined ? true : this.props.showModal\n };\n }\n\n componentWillReceiveProps(nextProps) {\n if (nextProps.showModal) {\n this.setState({ showModal: true });\n }\n if (!nextProps.showModal && this.state.showModal && this.props.showModal) {\n this.handleHide();\n }\n }\n\n handleHide() {\n this.setState({ showModal: false });\n if (this.props.handleHide) {\n this.props.handleHide();\n }\n sessionStorage.setItem('modalState', false);\n }\n\n handleShow() {\n this.setState({ showModal: true });\n }\n\n render() {\n return (\n
\n \n \n \n \n \n \n \n
\n
\n \n
\n
\n {this.props.msg || \"Discúlpenos, por favor intente más tarde\"}\n
\n
\n
\n \n
\n );\n }\n}\n\nconst Modal = ReactBootstrap.Modal;\n\nexport default Mensajes;","class AlertModal extends React.Component {\n \n constructor(props) {\n super(props);\n this.handleHide = this.handleHide.bind(this);\n this.handleShow = this.handleShow.bind(this);\n\n this.state = {\n showModal: true\n };\n \n }\n\n handleHide() {\n this.setState({ showModal: false });\n }\n \n handleShow() {\n this.setState({ showModal: true });\n }\n\n render() {\n return (\n\n
\n
\n \n \n \n \n \n

\n { this.props.message }\n

\n
\n \n \n \n \n
\n
\n );\n }\n}\n\nconst Modal = ReactBootstrap.Modal;\nconst Button = ReactBootstrap.Button;\n\nexport default AlertModal;","class Tools {\n constructor() {\n\n this.getDaysInMonth = this.getDaysInMonth.bind(this);\n this.validateWholeDate = this.validateWholeDate.bind(this);\n }\n\n capitalizeName(data, fieldName) {\n let newData = [];\n let name = '';\n data.map((item) => {\n if (item[fieldName]) {\n name = item[fieldName].toLowerCase().split(' ')\n .map((word) => {\n return (word.charAt(0).toUpperCase() + word.slice(1));\n });\n item[fieldName] = name.join(' ');\n newData.push(item);\n }\n });\n return newData;\n }\n\n setNameToCapitalize(upperCaseName) {\n let name = '';\n name = upperCaseName.toLowerCase().split(' ')\n .map((word) => {\n return (word.charAt(0).toUpperCase() + word.slice(1));\n });\n upperCaseName = name.join(' ');\n return upperCaseName;\n }\n\n setContentType() {\n let contentType = 'Anonimo';\n if (!compTools.autenticadoWindows() && compTools.estaAutenticado()) {\n const authenticatedUser = compTools.obtenerInformacionUsuario();\n if (authenticatedUser['ValidacionDerechos'] && authenticatedUser.Error === null) {\n const validarDerechosCliente = authenticatedUser['ValidacionDerechos'];\n contentType = validarDerechosCliente.Programa !== 'CE' || validarDerechosCliente.Programa !== 'EP' ? validarDerechosCliente.Programa : 'Anonimo';\n }\n }\n return contentType;\n }\n\n isAuthenticated() {\n if (compTools.estaAutenticado()) {\n return true;\n }\n return false;\n }\n\n isAsesor() {\n const validationService = new ServicioProxy('ObtenerTipoUsuario', 'ServicioConsorcio.svc'); return new Promise((resolve, reject) => {\n validationService.getElements('POST', {})\n .then(isAsesor => {\n resolve(isAsesor);\n })\n .catch(error => reject(error));\n })\n }\n\n getBase64(file) {\n const reader = new FileReader();\n let base64File = '';\n reader.readAsDataURL(file);\n\n return new Promise((resolve, reject) => {\n reader.onload = function () {\n base64File = reader.result;\n\n resolve(base64File);\n }\n\n reader.onerror = function (error) {\n reject(error);\n }\n\n });\n }\n\n handleInputChange(event) {\n let inputValue = '';\n if (event) {\n const target = event.target;\n const value = target.type === 'checkbox' ? target.checked : target.value;\n const name = target.name;\n inputValue = value;\n }\n return inputValue;\n }\n\n handleSwitch(selected, field) {\n const valueSelected = selected ? true : false;\n return valueSelected;\n }\n\n getDaysInMonth(month, year) {\n switch (month) {\n case 2:\n return (year % 4 == 0 && year % 100) || year % 400 == 0 ? 29 : 28;\n case 9: case 4: case 6: case 11:\n return 30;\n default:\n return 31\n }\n }\n validateWholeDate(d, m, y) {\n return m >= 0 && m <= 12 && y >= 0 && d >= 0 && d <= this.getDaysInMonth(m, y);\n }\n\n getLoginURL(param) {\n if (param) {\n const splitParam = param.split('|');\n\n return location.protocol == 'https:' ? (window.location.origin + '/_trust/default.aspx?trust=' + splitParam[1] + '&ReturnUrl=' + window.location.pathname) : (window.location.origin + '/_layouts/15/Authenticate.aspx?Source=' + document.location.href);\n } else {\n return '';\n }\n }\n isOnlyNumbers(text) {\n if (/^[0-9]*$/.test(text) && text !== '') {\n return true;\n } else {\n return false;\n }\n }\n isOnlyNumbersWithCurrency(text) {\n if (/^[0-9$.]*$/.test(text) && text !== '') {\n return true;\n } else {\n return false;\n }\n }\n /*\n Funcion que ordena una lista de objetos por una propiedad especifica dada, y en un orden dado\n @params list - Array a ordenar\n @params property - String de la propiedad de cada objeto item del arreglo por la que se quiere ordenar\n @params order - boolean: true - ordenar ascendentemente, false - ordenar descendentemente\n @return orderedArray - Array ordenado\n */\n sortByProperty(list, property, order) {\n let value = 0;\n return list.sort((a, b) => {\n if (typeof a[property] === 'string' && typeof b[property] === 'string') {\n a[property] = a[property].toUpperCase();\n b[property] = b[property].toUpperCase();\n }\n\n if (a[property] < b[property]) {\n value = order ? -1 : 1;\n }\n if (a[property] > b[property]) {\n value = order ? 1 : -1;\n }\n\n return value;\n })\n }\n\n\n /* Handle scroll */\n handleScroll(event, propsTabIndex = 1, id = '') {\n const addClass = (el, className) => {\n if (el.classList)\n el.classList.add(className);\n else\n el.className += ' ' + className;\n }\n const removeClass = (el, className) => {\n if (el.classList)\n el.classList.remove(className);\n else\n el.className = el.className.replace(new RegExp('(^|\\\\b)' + className.split(' ').join('|') + '(\\\\b|$)', 'gi'), ' ');\n }\n $('.popover').hide();\n const tabIndex = !id ? propsTabIndex - 1 : 0;\n const actualId = id ? `#${id}` : '';\n const itemScroll = document.querySelectorAll(`${actualId}.tableContentBorder`)[tabIndex];\n\n const scrollLeftMax = itemScroll.scrollWidth - itemScroll.clientWidth;\n const dist = Math.round(2 * itemScroll.scrollLeft / scrollLeftMax);\n const min = dist === 0 ? 'first' : dist === 1 ? 'second' : 'third';\n const activeDots = document.querySelectorAll(`.scroll_item.tab_${propsTabIndex}`);\n activeDots.forEach(dot => {\n if (dot.id === min) {\n addClass(dot, 'scroll_active');\n } else {\n removeClass(dot, 'scroll_active');\n }\n })\n }\n\n /*\n Funcion que realiza un scroll a un elemento dado, con un tiempo de animación dado\n @params elemnt - string con el elemento para hacer scroll\n @params duration - number con la cantidad de milisegundos que se quiere que dura la animación\n */\n scrollToDiv(element, duration) {\n $('html, body').animate({\n scrollTop: $(`#${element}`).position().top\n }, duration);\n }\n /*\n Funcion que formatea un string dandole un formato de moneda: agrega el signo $ y le pone un separador de miles\n @params text - string numero a formatear\n @params separator - string con el separador de miles que se quiere poner. por defecto = '.'\n @return formattedString - string con el numero formatead\n */\n textToCurrency(text, separator = '.') {\n return text ? `$${text.replace(/\\B(?=(\\d{3})+(?!\\d))/g, separator)}` : '';\n }\n validateEmailInput(text) {\n const re = /^(([^<>()[\\]{\\}\\\\\\/.,;:#$%&=~+¿?¡!^*¨'`´áéíóúñÁÉÍÓÚÑ\\s@\\\"]+(\\.[^<>()[\\]{\\}\\\\\\/.,;:#$%&=~+¿?¡!^*¨'`´áéíóúñÁÉÍÓÚ\\s@\\\"]+)*)|(\\\".+\\\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/i;\n\n return re.test(String(text).toLowerCase());\n }\n}\n\nexport default Tools;","class Sedes extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n mapOptions: {\n center: {\n lat: 4.6489681,\n lng: -74.1325349\n },\n zoom: 12\n },\n showingInfoWindow: false,\n activeMarker: {},\n selectedPlace: {},\n areaOptions: [],\n areaSelected: \"Todas\",\n locations: [],\n showMap: false,\n areas: []\n };\n this.map = undefined;\n this.currentLatLng = undefined;\n this.infowindow = undefined;\n this.markers = [];\n this.directionsDisplay = undefined;\n this.googleChecker = this.googleChecker.bind(this);\n this.renderMap = this.renderMap.bind(this);\n this.renderInfoWindow = this.renderInfoWindow.bind(this);\n this.filterLocationsByArea = this.filterLocationsByArea.bind(this);\n this.openLocationFromList = this.openLocationFromList.bind(this);\n }\n\n componentDidMount() {\n this.googleChecker();\n }\n\n googleChecker() {\n /* if(!window.google || !window.google.maps) {\n setTimeout(this.googleChecker, 200);\n } else { */\n this.getAreas(areas => {\n const areaOptions = [];\n areas.forEach(area => {\n if (areaOptions.indexOf(area.name) == -1) areaOptions.push(area.name);\n });\n this.setState({ areaOptions, areas }, () => {\n this.getLocations(null, locations => {\n this.setState({ locations });\n //this.renderMap(locations);\n });\n });\n });\n //}\n }\n\n getAreas(successCallback) {\n const pnpService = new ServicioPnp();\n pnpService.getList(\n \"sedesSalud\",\n list => {\n let areas = list.map(item => {\n return {\n id: item.CSSaliRedCodigoSedeText,\n name: item.CSSaliRedZonaChoise\n };\n });\n successCallback(areas);\n },\n \"CSSaliRedEstadoChoise eq 'Activo' and CSSaliRedServicioChoise eq '\" +\n this.props.plan +\n \"' or CSSaliRedServicioChoise eq 'MX'\",\n \"CSSaliRedCodigoSedeText\",\n \"CSSaliRedCodigoSedeSaludText\",\n \"CSSaliRedZonaChoise\",\n \"CSSaliRedServicioChoise\"\n );\n }\n\n getLocations(areaFilter, successCallback) {\n let sedesFilter = [];\n if (areaFilter) {\n this.state.areas.forEach(area => {\n if (area.name == areaFilter)\n sedesFilter.push(\"CodigoSede eq \" + area.id);\n });\n } else {\n sedesFilter = this.state.areas.map(area => {\n return \"CodigoSede eq \" + area.id;\n });\n }\n sedesFilter = sedesFilter.join(\" or \");\n const pnpService = new ServicioPnp();\n pnpService.getList(\n \"sedes\",\n list => {\n const locations = list.map(location => {\n return {\n id: location.Id,\n code: location.CodigoSede,\n name: location.NombreSede,\n lat: location.Latitud,\n lng: location.Longitud,\n address: location.Direccion,\n phone: location.Telefono,\n schedule: location.Horario,\n parking: location.Parqueadero,\n url: location.TituloUrl\n };\n });\n successCallback(locations);\n },\n sedesFilter /*, 'CodigoSede', 'Direccion', 'Telefono', 'Latitud', 'Longitud', 'NombreSede', 'FileRef/Imagen', 'FieldValuesAsText/MetaInfo'*/\n );\n }\n\n filterLocationsByArea(area) {\n this.getLocations(area == \"Todas\" ? null : area, locations => {\n this.setState({ locations, areaSelected: area });\n this.renderMap(locations);\n });\n }\n\n renderInfoWindow(location) {\n const image = location.image;\n let srcWithQuotes = image.match(/src\\=([^\\s]*)\\s/)[1];\n srcWithQuotes.substring(1, srcWithQuotes.length - 1);\n const locImage =\n '\"\"';\n return (\n '
' +\n image +\n '
' +\n \"

\" +\n location.name +\n \"

\" +\n (location.phone ? '

' + location.phone + \"

\" : \"\") +\n (location.address\n ? '

' + location.address + \"

\"\n : \"\") +\n '' +\n (location.url\n ? 'Más información'\n : \"\") +\n '
Médico Personal' +\n '' +\n \"
\" +\n \"
\"\n );\n }\n\n openLocation(locationLatLng, marker) {\n this.infowindow.open(this.map, marker);\n this.map.setCenter(marker.getPosition());\n const howToArriveSelect = document.getElementById(\"how-to-arrive-select\");\n const closeMarker = document.querySelector(\".cerrarCaja\");\n closeMarker.addEventListener(\"click\", e => {\n this.infowindow.close();\n });\n this.map.panTo(marker.getPosition());\n howToArriveSelect.addEventListener(\"change\", e => {\n if (howToArriveSelect.value) {\n navigator.geolocation.getCurrentPosition(\n position => {\n this.currentLatLng = {\n lat: position.coords.latitude,\n lng: position.coords.longitude\n };\n this.infowindow.close();\n const directionsService = new google.maps.DirectionsService();\n this.directionsDisplay.setMap(this.map);\n directionsService.route(\n {\n origin: {\n lat: this.currentLatLng.lat,\n lng: this.currentLatLng.lng\n },\n destination: {\n lat: locationLatLng.lat,\n lng: locationLatLng.lng\n },\n travelMode: google.maps.TravelMode[e.target.value]\n },\n (response, status) => {\n if (status == \"OK\") {\n this.directionsDisplay.setDirections(response);\n this.directionsDisplay.setOptions({\n polylineOptions: {\n strokeWeight: 4,\n strokeOpacity: 1,\n strokeColor: \"red\"\n }\n });\n } else {\n console.log(\"Directions request failed due to \" + status);\n }\n }\n );\n },\n error => {\n console.log(\"The user did not allowed geolocation\");\n }\n );\n }\n });\n }\n\n renderLocations(locations) {\n this.markers = [];\n locations.forEach(location => {\n let latLng = {\n lat: parseFloat(location.lat),\n lng: parseFloat(location.lng)\n };\n let marker = new google.maps.Marker({\n position: latLng,\n map: this.map,\n animation: google.maps.Animation.DROP,\n title: location.name,\n location: location\n });\n this.markers.push(marker);\n marker.addListener(\"click\", () => {\n this.map.panTo(marker.getPosition());\n const pnpService = new ServicioPnp();\n pnpService.getItemAsHtml(marker.location.id, \"sedes\", item => {\n marker.location.image = item.Imagen;\n this.infowindow.setContent(this.renderInfoWindow(marker.location));\n this.openLocation(latLng, marker);\n });\n });\n });\n }\n\n renderMap(locations) {\n this.map = new google.maps.Map(\n this.refs.mapContainer,\n this.state.mapOptions\n );\n this.directionsDisplay = new google.maps.DirectionsRenderer();\n\n this.infowindow = new google.maps.InfoWindow({\n maxWidth: 280\n });\n\n const geocoder = new google.maps.Geocoder();\n\n this.renderLocations(locations);\n }\n\n activeMap = e => {\n e.preventDefault();\n if (this.state.locations) {\n const showMap = true;\n this.setState({ showMap }, () => this.renderMap(this.state.locations));\n }\n };\n\n openLocationFromList(event, location) {\n const latLng = {\n lat: parseFloat(location.lat),\n lng: parseFloat(location.lng)\n };\n const marker = this.markers.find(marker => {\n return marker.location.id == location.id;\n });\n const pnpService = new ServicioPnp();\n pnpService.getItemAsHtml(location.id, \"sedes\", item => {\n marker.location.image = item.Imagen;\n this.infowindow.setContent(this.renderInfoWindow(marker.location));\n this.openLocation(latLng, marker);\n });\n }\n\n render() {\n return (\n
\n
\n
\n \n
\n
\n {this.state.showMap ? (\n
\n Zona\n this.filterLocationsByArea(value)}\n >\n \n Todas\n \n {this.state.areaOptions.map(area => {\n return (\n \n {area}\n \n );\n })}\n \n
\n ) : (\n \n \n
\n )}\n
\n
\n \n
\n
\n {this.state.showMap ? (\n
\n
\n

Sedes asignadas

\n
\n
    \n {this.state.locations.map(location => {\n return (\n \n this.openLocationFromList(event, location)\n }\n >\n {location.name}\n
    \n {location.address}\n
    \n Teléfono {location.phone}\n
    \n \n );\n })}\n
\n
\n
\n
\n
\n
\n
\n ) : (\n \"\"\n )}\n
\n );\n }\n}\n\n/******************** BUILD ********************/\nlet DropdownButton = ReactBootstrap.DropdownButton;\nlet MenuItem = ReactBootstrap.MenuItem;\n/******************** BUILD ********************/\n\nexport default Sedes;\n","class ListadoEspecialistas extends React.Component {\n \n constructor(props) {\n super(props);\n this.handleHide = this.handleHide.bind(this);\n this.handleShow = this.handleShow.bind(this);\n\n this.state = {\n showModal: false\n };\n \n }\n\n handleHide() {\n this.setState({ showModal: false });\n }\n \n handleShow() {\n this.setState({ showModal: true });\n }\n\n render() {\n return (\n
\n
\n \n \n \n \n \n
\n \n \n \n \n \n \n \n \n {\n this.props.specialistsList.length > 0 ?\n this.props.specialistsList.map(item => {\n return (\n \n \n \n \n )\n })\n : null\n }\n \n
EspecialistaDirección
{ item.NombreEspecialista }{ item.DireccionEspecilista }
\n
\n
\n \n
\n
\n );\n }\n}\n\n\n/******************** BUILD ********************/\nconst Modal = ReactBootstrap.Modal;\n/******************** BUILD ********************/\n\nexport default ListadoEspecialistas;","import ListadoEspecialistas from './listadoEspecialistas';\nimport Tools from '../../../../../base/components/tools';\nimport Mensajes from '../../../../../base/components/mensajes';\n \nclass EspecialidadesAccesoDirecto extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n patientType: [],\n selected: '',\n specialties: [],\n specialistsList: []\n };\n //this.tools = new Tools(); \n this.handleSelect = this.handleSelect.bind(this);\n this.pnpService = new ServicioPnp();\n this.showModal = this.showModal.bind(this);\n this.getSpecialties = this.getSpecialties.bind(this);\n this.getSpecialistsList = this.getSpecialistsList.bind(this);\n this.capitalizeName = this.capitalizeName.bind(this);\n }\n \n componentDidMount() {\n this.getSpecialties();\n }\n \n handleSelect(item){\n }\n\n showModal (item) {\n this.refs.modal.handleShow();\n this.getSpecialistsList(item);\n }\n\n capitalizeName(data, fieldName){\n let newData = [];\n let name = '';\n data.map( (item) => {\n if(item[fieldName]){\n name = item[fieldName].toLowerCase().split(' ')\n .map( (word) => {\n return (word.charAt(0).toUpperCase() + word.slice(1));\n });\n item[fieldName] = name.join(' ');\n newData.push(item);\n }\n });\n return newData;\n }\n\n getSpecialties(){\n const specialtiesService = new ServicioProxy('ObtenerEspecialidadesAccesoDirectoPC'); \n specialtiesService.getElements('POST', {}).then((response) => {\n const data = JSON.parse(response);\n const specialtiesList = data['Especialidades'];\n\n let specialties = [];\n if(!data.Error.CodigoStatusError && specialtiesList.length > 0){\n specialtiesList.map((item) => {\n const url = item['UrlImagen'].split('/salud/');\n item['UrlImagen'] = _spPageContextInfo.siteAbsoluteUrl + '/' + url[1];\n specialties.push(item);\n });\n this.setState({ specialties: specialties });\n }else{\n this.props.errorMessage();\n }\n }).catch(error => {\n this.props.errorMessage();\n }); \n }\n\n getSpecialistsList(specialty){\n const specialistsListService = new ServicioProxy('/ObtenerEspecialistas?codigoEspecialidad='+ specialty['Codigo']); \n specialistsListService.getElements('POST', {}).then((response) => {\n const data = JSON.parse(response);\n const speacialtyData = this.capitalizeName(data['Especialistas'], 'NombreEspecialista');\n this.setState({ specialistsList: speacialtyData });\n }).catch(error => {\n this.props.errorMessage();\n });\n }\n \n render() {\n return (\n
\n {\n this.state.specialties.length > 0 ?\n
\n {\n this.state.specialties.map(item => {\n return (\n
\n
\n

{ item['NombreEspecialidad'] }

\n
\n {e.preventDefault(); return false;}} src={item.UrlImagen} />\n
\n
\n
\n

{ item['NombreEspecialidad'] }

\n

{ item['DescripcionEspecialidad'] }

\n {\n this.props.configurations['BotonConsultarEspecialistaCSVisibleBool'] ?\n
\n \n \n
\n : null\n }\n {\n this.props.configurations['SeleccionarPacienteCSVisibleBool'] ?\n
\n \n {\n this.state.patientType.map(item => {\n return (\n this.handleSelect(item)}>\n {item.CSDocumentoIdentidadText}\n \n )\n })\n }\n \n
\n : null\n }\n {\n this.props.configurations['BotonAgendarCitaEspecialidadesCSVisibleBool'] ?\n
\n \n
\n : null\n }\n
\n
\n )\n })\n }\n
\n : null\n }\n
\n );\n }\n}\n\n/******************** BUILD ********************/\nconst DropdownButton = ReactBootstrap.DropdownButton;\nconst MenuItem = ReactBootstrap.MenuItem;\nconst Button = ReactBootstrap.Button;\n/******************** BUILD ********************/\n\nexport default EspecialidadesAccesoDirecto;","import Mensajes from '../../../../base/components/mensajes';\nimport AlertModal from '../../../../base/components/alertModal';\nimport Tools from '../../../../base/components/tools';\nimport Sedes from '../../../../salidaGraficaRed/miRedDeAtencion/sedesAtencion/src/components/sedes';\nimport EspecialidadesAccesoDirecto from './components/especialidadesAccesoDirecto';\n\n/******************** BUILD ********************/\nimport less from '../index.less';\n/******************** BUILD ********************/\n\nclass App extends React.Component {\n constructor(props) {\n super(props);\n this.state = {\n configurations: {},\n isAuthenticatedBoolean: false,\n typeUser: null,\n currentAlert: '',\n currentComponentToRender: '',\n };\n this.pnpService = new ServicioPnp();\n this.errorMessage = this.errorMessage.bind(this);\n this.onClickAgreeButton = this.onClickAgreeButton.bind(this);\n\n this.tools = new Tools();\n }\n \n loadApiKey() {\n const ApiKey = this.state.configurations.ApiKey;\n if(!ApiKey) {\n setTimeout(() => this.loadApiKey(), 200);\n return;\n }\n const filename = `https://maps.googleapis.com/maps/api/js?key=${ApiKey}`;\n const file = document.createElement('script');\n file.setAttribute('type', 'text/javascript');\n file.setAttribute('src', filename);\n document.getElementsByTagName(\"head\")[0].appendChild(file)\n }\n\n componentDidMount() {\n this.pnpService.getListWithTop('configuraciones', (list) => {\n const configurations = {};\n list.forEach((item) => {\n configurations[item.CSNombreText] = item.CSValorNote;\n });\n this.setState({ configurations: {...configurations, ...this.state.configurations} }, this.loadApiKey);\n }, 200, \"CSNombreText eq 'MensajeErrorDeServicios' or CSNombreText eq 'MensajeNegacionDeServicio' or CSNombreText eq 'FBA_CLAIM' or CSNombreText eq 'ApiKey'\", 'CSNombreText', 'CSValorNote');\n\n this.pnpService.getListWithTop('parametrosPaginas', (list) => {\n const configurations = {};\n list.forEach((item) => {\n configurations[item.CSNombreText] = item.CSValorNote == 'false' ? false : item.CSValorNote;\n configurations[item.CSNombreText + 'CSVisibleBool'] = item.CSVisibleBool;\n });\n this.setState({ configurations: {...configurations, ...this.state.configurations} }, () => this.isAuthenticated());\n }, 200,\n \"CSNombreText eq 'MensajeErrorDeServicios' or CSNombreText eq 'MensajeNegacionUsuarioCaja' or CSNombreText eq 'MensajeNegacionDeServicio' or CSFormularioChoice eq 'PC RA Especialidades de Acceso Directo'\",\n 'CSDescripcionNote', 'CSFormularioChoice', 'CSNombreText', 'CSValorNote', 'CSVisibleBool');\n \n //setTimeout(() => { this.isAuthenticated() }, 500);\n }\n \n isAuthenticated() {\n if (!compTools.autenticadoWindows() && compTools.estaAutenticado()) {\n const authenticatedUser = compTools.obtenerInformacionUsuario();\n if(authenticatedUser['LegalID'] && authenticatedUser['TipoIdentificacion']){ \n this.setState({ isAuthenticatedBoolean: true, userInfo: authenticatedUser });\n if(authenticatedUser['ValidacionDerechos'] && authenticatedUser.Error.CodigoStatusError === null){\n const validarDerechosCliente = authenticatedUser['ValidacionDerechos'];\n const allowed = validarDerechosCliente && validarDerechosCliente.DerechoPrestacion && validarDerechosCliente.DerechoPrestacion === 'SI' && validarDerechosCliente.Programa === 'CE' ? true : false;\n if(allowed){\n const currentComponentToRender = ();\n this.setState({currentComponentToRender});\n }else{\n if(validarDerechosCliente && validarDerechosCliente.Programa !== 'EP' && validarDerechosCliente.Programa !== 'CE') {\n this.setState({ currentAlert: this.onClickAgreeButton() } /> });\n }else if(validarDerechosCliente && validarDerechosCliente.DerechoPrestacion && validarDerechosCliente.DerechoPrestacion === 'NO'){\n this.setState({ currentAlert: this.onClickAgreeButton() } /> });\n }else if(validarDerechosCliente.Programa !== 'CE'){\n this.setState({ currentAlert: this.onClickAgreeButton() } /> });\n }else {\n this.setState({ currentAlert: });\n }\n }\n }else{\n this.setState({ currentAlert: });\n };\n }else{\n this.setState({ currentAlert: });\n }\n }else{\n this.setState({ currentComponentToRender: });\n }\n }\n\n onClickAgreeButton(){\n window.location.href = \"/salud/plan-complementario\";\n }\n\n errorMessage(){\n this.setState({ currentAlert: });\n }\n \n render() {\n let loginURL = '';\n \n if(Object.keys(this.state.configurations).length) {\n loginURL = this.tools.getLoginURL(this.state.configurations['FBA_CLAIM']);\n }\n return (\n
\n
{ this.state.currentAlert }
\n
\n
\n
\n

{this.state.configurations['EspecialidadesAccesoDirectoTitulo']}

\n

{this.state.configurations['EspecialidadesAccesoDirectoTextoIntroductorio']}

\n
\n
\n { this.state.isAuthenticatedBoolean ? ( \n this.state.currentComponentToRender \n ) : (\n
\n
\n
\n
\n

RECIBE TU INFORMACIÓN PERSONALIZADA

\n

Para recibir tu información personalizada es necesario que ingreses con tu usuario Compensar, asì te podremos mostrar la información personalizada para ti y de tu familia

\n \n
\n
\n
\n {this.state.currentComponentToRender }\n
\n ) } \n
\n
\n );\n }\n}\n\n/******************** BUILD ********************/\nconst appId = document.getElementById('appPcRaEspecialidadesAccesoDirecto');\nReactDOM.render(, appId);\n/******************** BUILD ********************/\n"],"sourceRoot":""}