{"version":3,"sources":["redux/actions/types.js","redux/reducers/InmuebleReducer.js","redux/reducers/userReducer.js","redux/reducers/rootReducer.js","redux/store.js","services/index.js","redux/actions/inmuebleActions.js","components/TopBar.js","img/logo.png","components/NavMenu.js","components/InmuebleFiltro.js","helpers/index.js","components/InmuebleItem.js","img/defaultInmueble.jpg","components/MostrarError.jsx","components/modalShareLink.js","views/detallesInmueble.js","views/modalInmueble.js","components/Layout.js","redux/actions/userActions.js","App.js","index.js"],"names":["userTypes","inmuebleTypes","_PENDING","_REJECTED","_FULFILLED","initialState","list","byId","isFetching","isPending","fulfilled","error","showModal","data","combineReducers","user","state","action","type","payload","response","status","inmuebles","results","filter","e","inmId","new","unshift","showDetailsModal","inmEstado","estEstado","inmEstadoDescripcion","estDescripcion","id","totalRecordCount","composeEnhancers","window","__REDUX_DEVTOOLS_EXTENSION_COMPOSE__","compose","store","createStore","rootReducer","applyMiddleware","promise","thunk","API","require","create","baseURL","headers","getInmuebles","params","get","getUser","userName","mostrarInmuebleById","dispatch","parseInt","interceptors","use","Promise","reject","connect","auth","withRouter","props","className","onClick","onToggle","placeholder","name","value","searcValue","onChange","onSearch","aria-hidden","src","usuAvatar","logo","alt","Object","keys","length","usuNombres","usuApellidos","children","InmuebleFiltro","tipo","numHab","numBanos","estado","precioMin","precioMax","asp-action","submit","reset","currency","valor","country","countryCode","localMoneda","localStorage","getItem","monedas","Intl","NumberFormat","forEach","toLocaleString","style","toFixed","replace","InmuebleItem","item","backgroundImage","urlImage","inmReferencia","inmDescripcion","substr","inmPrecioAlquiler","paiCodeMoneda","inmPrecioVenta","OverlayTrigger","placement","overlay","Tooltip","inmHabitaciones","Button","variant","size","inmBanos","inmEstacionamientos","inmAreaConstruida","inmAreaTotal","MostrarError","errors","fixed","useState","mensaje","setMensaje","errorsList","setErrorsList","useEffect","title","errores","contrato","inquilino","Inquilino","Contrato","Alert","show","onClose","dismissible","map","key","join","styleInput","border","width","background","color","padding","ModalShareLink","setShow","link","btnText","Modal","onHide","centered","Header","closeButton","Title","defaultValue","readOnly","Body","href","target","rel","document","getElementById","select","execCommand","textContent","InmuebleDetalles","zoomImg","bind","toggleForm","handleSubmit","handleChange","showAlert","msjSent","showForm","sendingMsj","captcha","form","nombre","telefono","comentario","this","match","urlId","setState","prevState","event","preventDefault","obj","inmueble","cleanObj","_","omitBy","v","post","then","catch","console","log","finally","adjuntos","images","adj","fileExt","elements","url","GLightbox","open","inmTipoDescripcion","inmAnoConstruccion","inmDirCalle","inmDirNumeroCalle","inmDirResidencial","inmDirApartamento","inmDirSector","inmDirCiudad","inmDirProvincia","caracteristicas","dir","to","Carousel","i","Item","descripcion","car","carDescripcion","carId","onSubmit","required","disabled","Component","USER","location","pathname","split","ModalInmueble","onCloseModal","Layout","drawerToggle","classList","toggle","querySelector","outerWidth","inputFilterChange","getItems","resetFilter","loading","view","page","banos","mostrarUsuario","mostrarInmuebles","pageNumber","isEmpty","opacity","pageCount","innerclassName","activePage","itemsCountPerPage","pageSize","totalItemsCount","handlePageChange","itemclassName","linkclassName","hideFirstLastPages","toggleModal","getState","App","path","component","exact","DetallesInmueble","rootElement","ReactDOM","render"],"mappings":"sNAIaA,EACQ,kBAGRC,EACU,oBADVA,EAEgB,0BAFhBA,EAGgB,0BAHhBA,EAIU,qBAJVA,EAKkB,4BALlBA,EAMgB,0BANhBA,EAOc,wBAKdC,EAAW,WACXC,EAAY,YACZC,EAAa,aCpBpBC,EAAe,CACjBC,KAAM,GACNC,KAAM,GACNC,YAAY,EACZC,WAAW,EACXC,WAAW,EACXC,MAAO,GACPC,WAAW,GCPTP,EAAe,CACjBC,KAAM,GACNO,KAAM,GACNL,YAAY,EACZG,MAAO,ICDIG,cAAgB,CAC3BC,KDEW,WAAwC,IAAvCC,EAAsC,uDAA9BX,EAAcY,EAAgB,uDAAP,GAC3C,OAAQA,EAAOC,MACX,KAAKlB,EAA4BE,EAC7B,OAAO,2BACAc,GADP,IAEIR,YAAY,EACZK,KAAM,GACNF,MAAO,KAGf,K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K","file":"static/js/main.edd0360a.chunk.js","sourcesContent":["\r\nexport const SET_CURRENT_USER = 'SET_CURRENT_USER';\r\nexport const CHANGE_CURRENT_USER_INFO = 'CHANGE_CURRENT_USER_INFO';\r\n\r\nexport const userTypes = {\r\n MOSTRAR_USUARIO: 'MOSTRAR_USUARIO',\r\n\r\n}\r\nexport const inmuebleTypes = {\r\n MOSTRAR_INMUEBLES: 'MOSTRAR_INMUEBLES',\r\n MOSTRAR_INMUEBLE_POR_ID: 'MOSTRAR_INMUEBLE_POR_ID',\r\n AGREGAR_EDITAR_INMUEBLE: 'AGREGAR_EDITAR_INMUEBLE',\r\n ELIMINAR_INMUEBLE: 'ELIMINAR_INMUEBLES',\r\n MOSTRAR_INMUEBLE_DETALLES: 'MOSTRAR_INMUEBLE_DETALLES',\r\n CAMBIAR_INMUEBLE_ESTADO: 'CAMBIAR_INMUEBLE_ESTADO',\r\n TOGGLE_MODAL_INMUEBLE: 'TOGGLE_MODAL_INMUEBLE',\r\n\r\n}\r\n\r\n//COMPARTIDOS\r\nexport const _PENDING = '_PENDING';\r\nexport const _REJECTED = '_REJECTED';\r\nexport const _FULFILLED = '_FULFILLED';","import {inmuebleTypes, _PENDING, _REJECTED, _FULFILLED} from '../actions/types';\r\n \r\nconst initialState = {\r\n list: {},\r\n byId: {},\r\n isFetching: false,\r\n isPending: false,\r\n fulfilled: false,\r\n error: {},\r\n showModal: false\r\n}\r\nexport default (state = initialState, action = {}) => {\r\n switch (action.type) {\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n fulfilled: false, \r\n byId: {},\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _FULFILLED: {\r\n return {\r\n ...state,\r\n list: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLES + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status}\r\n }\r\n }\r\n //toggle Modal\r\n case inmuebleTypes.TOGGLE_MODAL_INMUEBLE: {\r\n return {\r\n ...state,\r\n showModal: !state.showModal,\r\n byId: action.payload? action.payload: {},\r\n error: {}\r\n }\r\n }\r\n //mostrar por id\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n fulfilled: false, \r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _FULFILLED: {\r\n return {\r\n ...state,\r\n byId: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //agregar o editar\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _PENDING: {\r\n return {\r\n ...state,\r\n fulfilled: false, \r\n isPending: true,\r\n byId:{},\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _FULFILLED: {\r\n const { data } = action.payload;\r\n let list = state.list;\r\n list.results?\r\n list.results = list.results.filter(e => e.inmId !== data.inmId): list.results = [];\r\n data.new = true\r\n //var list = state.list.filter(e => e.carId !== data.carId)\r\n list.results.unshift(data)\r\n\r\n return {\r\n ...state,\r\n // list,\r\n fulfilled: true, \r\n isPending: false,\r\n showDetailsModal: false,\r\n byId: data,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.AGREGAR_EDITAR_INMUEBLE + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isPending: false,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //Cambiar Estado\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _PENDING: {\r\n return {\r\n ...state,\r\n fulfilled: false,\r\n isPending: true,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _FULFILLED: {\r\n const { data } = action.payload;\r\n let byId = state.byId;\r\n if (byId.inmId && byId.inmId === data.inmId){\r\n byId.inmEstado = data.estEstado;\r\n byId.inmEstadoDescripcion = data.estDescripcion;\r\n }\r\n // list.results ?\r\n // list.results = list.results.filter(e => e.inmId !== data.inmId) : list.results = [];\r\n // data.new = true\r\n // //var list = state.list.filter(e => e.carId !== data.carId)\r\n // list.results.unshift(data)\r\n\r\n return {\r\n ...state,\r\n // list,\r\n byId,\r\n fulfilled: true,\r\n isPending: false,\r\n isFetching: false,\r\n showDetailsModal: false,\r\n error: {}\r\n }\r\n }\r\n case inmuebleTypes.CAMBIAR_INMUEBLE_ESTADO + _REJECTED: {\r\n const { data, status } = action.payload.response || { data: \"Error no definido\" };\r\n return {\r\n ...state,\r\n isPending: false,\r\n isFetching: false,\r\n error: { data, status }\r\n }\r\n }\r\n //Eliminar\r\n\r\n case inmuebleTypes.ELIMINAR_INMUEBLE + _FULFILLED: {\r\n const { data: id } = action.payload;\r\n let list = state.list\r\n list.results = list.results.filter(e => e.inmId !== id)\r\n --list.totalRecordCount\r\n return {\r\n ...state,\r\n list,\r\n isPending: false,\r\n showDetailsModal: false,\r\n byId:{},\r\n error: {}\r\n }\r\n }\r\n \r\n //modal details\r\n\r\n case inmuebleTypes.MOSTRAR_INMUEBLE_DETALLES + _FULFILLED: {\r\n const { data } = action.payload;\r\n return {\r\n ...state,\r\n showDetailsModal: true,\r\n byId: data\r\n }\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n","import {userTypes, _PENDING, _REJECTED, _FULFILLED} from '../actions/types';\r\n \r\nconst initialState = {\r\n list: {},\r\n data: {},\r\n isFetching: false,\r\n error: {},\r\n}\r\nexport default (state = initialState, action = {}) => {\r\n switch (action.type) {\r\n case userTypes.MOSTRAR_USUARIO + _PENDING: {\r\n return {\r\n ...state,\r\n isFetching: true,\r\n data: {},\r\n error: {}\r\n }\r\n }\r\n case userTypes.MOSTRAR_USUARIO + _FULFILLED: {\r\n return {\r\n ...state,\r\n data: action.payload.data,\r\n isFetching: false,\r\n error: {}\r\n }\r\n }\r\n case userTypes.MOSTRAR_USUARIO + _REJECTED: {\r\n const { data, status } = action.payload.response || { data:\"Error no definido\"};\r\n return {\r\n ...state,\r\n isFetching: false,\r\n error: { data, status}\r\n }\r\n }\r\n default:\r\n return state;\r\n }\r\n};\r\n\r\n","import { combineReducers } from 'redux';\r\nimport inmuebles from './InmuebleReducer';\r\nimport user from './userReducer';\r\n\r\n\r\nexport default combineReducers({\r\n user,\r\n inmuebles\r\n});","import { createStore, applyMiddleware,compose } from 'redux';\r\nimport thunk from 'redux-thunk';\r\nimport rootReducer from './reducers/rootReducer';\r\nimport promise from \"redux-promise-middleware\";\r\n\r\n\r\nconst inititalState = {};\r\n\r\nconst composeEnhancers = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ || compose;\r\nconst store = createStore(rootReducer, inititalState, composeEnhancers(\r\n applyMiddleware(promise, thunk)\r\n ));\r\n\r\nexport default store;\r\n","const axios = require('axios');\r\n//var online = window.navigator.onLine;\r\n\r\nconst base_url = \"https://api.gestinmueble.com/\"\r\nexport const API = axios.create({\r\n baseURL: base_url,\r\n // timeout: 1000,\r\n headers: {\r\n 'contentType': 'application/json; charset=utf-8',\r\n 'Key': '2B48009E-0E67-40DD-ABDE-0A3C182E6165'\r\n\r\n // 'Authorization': 'Bearer '+ getIdToken(),\r\n }\r\n})\r\nAPI.interceptors.response.use(function (response) {\r\n //console.log(response.data)\r\n //PouchDB_AddCliente(response.data)\r\n return response;\r\n \r\n}, function (error) {\r\n return Promise.reject(error);\r\n});\r\n\r\n//Inmuebles\r\nexport function getInmuebles(params) {\r\n if(typeof params == 'number'){\r\n return API.get(`Publico/Inmuebles/${params}`);\r\n }else{\r\n return API.get('Publico/Inmuebles',{params});\r\n }\r\n}\r\n//usuarios\r\nexport function getUser(userName) {\r\n return API.get('/Publico/Usuario/' + userName);\r\n}\r\n//solicitud\r\nexport function sentMsj(obj) {\r\n return API.post('/Publico/Solicitud', obj);\r\n}","import {inmuebleTypes} from './types';\r\nimport {getInmuebles} from '../../services';\r\n\r\n\r\nexport function mostrarInmuebles(obj) {\r\n return (dispatch) => {\r\n // if (Object.keys(getState().inmuebles.list).length) return false;\r\n dispatch({\r\n type: inmuebleTypes.MOSTRAR_INMUEBLES,\r\n payload: getInmuebles(obj)\r\n })\r\n }\r\n}\r\nexport function mostrarInmuebleById(params) {\r\n return dispatch => {\r\n if(params.inmId)\r\n dispatch({ type: inmuebleTypes.TOGGLE_MODAL_INMUEBLE, payload:params });\r\n\r\n dispatch({\r\n type: inmuebleTypes.MOSTRAR_INMUEBLE_POR_ID,\r\n payload: getInmuebles(params.inmId ? params.inmId : parseInt(params))\r\n })\r\n }\r\n}\r\nexport function toggleModal() {\r\n return (dispatch) => {\r\n dispatch({ type: inmuebleTypes.TOGGLE_MODAL_INMUEBLE })\r\n }\r\n}\r\n","import React from 'react';\r\nimport { compose } from 'redux';\r\nimport { connect } from 'react-redux';\r\n\r\nimport { withRouter } from 'react-router-dom';\r\n\r\n\r\nfunction TopBar(props){\r\n return (\r\n \r\n );\r\n}\r\nconst mapStateToprops = (state) => ({\r\n auth: state.auth\r\n })\r\nexport default compose( connect(mapStateToprops )(withRouter(TopBar)));\r\n \r\n ","export default __webpack_public_path__ + \"static/media/logo.2ab3f61d.png\";","import React from 'react';\r\nimport { compose } from 'redux';\r\nimport { connect } from 'react-redux';\r\nimport logo from \"../img/logo.png\"\r\nfunction NavMenu(props) {\r\n // const [mantMenu, setMantMenu] = useState(false);\r\n const {user, isFetching} = props\r\n return (\r\n <>\r\n
\r\n \r\n \r\n );\r\n}\r\nconst mapStateToprops = (state) => ({\r\n user: state.user.data,\r\n isFetching: state.user.isFetching\r\n})\r\nexport default compose(connect(mapStateToprops))(NavMenu);\r\n\r\n","import React from 'react';\r\n\r\nimport \"../sass/components/imuebleItem.scss\"\r\nexport default function InmuebleFiltro(props) {\r\n const { tipo, name, numHab, numBanos, estado, precioMin, precioMax } = props.value;\r\n\r\n return (\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n {/* \r\n */}\r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n
\r\n \r\n \r\n \r\n \r\n
\r\n
\r\n
\r\n \r\n \r\n
\r\n
\r\n
\r\n
\r\n );\r\n}\r\n","import moment from \"moment\";\r\n//import 'moment/locale/es-do';\r\nimport Swal from 'sweetalert2'\r\n\r\nexport function currency(value = 0, country) {\r\n let countryCode = country;\r\n let valor;\r\n const localMoneda = localStorage.getItem('moneda');\r\n\r\n if (!country && localMoneda){\r\n countryCode = localMoneda\r\n }\r\n const monedas = [\r\n [\"es-DO\", \"DOP\"],\r\n [\"en-US\", \"USA\"],\r\n [\"es-ES\", \"EUR\"],\r\n [\"es-BO\", \"BOB\"],\r\n [\"es-CO\", \"COP\"],\r\n [\"es-CR\", \"CRC\"],\r\n [\"es-PY\", \"PYG\"],\r\n [\"es-GT\", \"GTQ\"],\r\n [\"es-VE\", \"VES\"],\r\n [\"es-PE\", \"PEN\"],\r\n [\"es-HN\", \"HNL\"],\r\n [\"es-NI\", \"NIO\"],\r\n [\"es-PA\", \"PAB\"],\r\n [\"es-MX\", \"MXN\"],\r\n [\"es-AR\", \"ARS\"],\r\n [\"es-CL\", \"CLP\"],\r\n [\"es-UY\", \"UYU\"]\r\n ]\r\n if (countryCode && typeof Intl == 'object' && typeof Intl.NumberFormat == 'function'){\r\n monedas.forEach(e => {\r\n if (e[0] === countryCode) {\r\n valor = value.toLocaleString(countryCode, {\r\n style: 'currency',\r\n currency: e[1],\r\n });\r\n }\r\n })\r\n }else{\r\n valor = '$' + parseInt(value)\r\n .toFixed(1)\r\n .replace(/(\\d)(?=(\\d{3})+\\.)/g, '$1,')\r\n }\r\n\r\n return valor;\r\n}\r\nexport function showMsj(msj) { \r\n Swal.fire({\r\n text: msj,\r\n showCloseButton: true,\r\n showConfirmButton: false,\r\n })\r\n}\r\nexport function doneMsj(msj, type) {\r\n const Toast = Swal.mixin({\r\n toast: true,\r\n position: 'bottom-end',\r\n // animation: false,\r\n showConfirmButton: false,\r\n timer: 5000\r\n })\r\n\r\n Toast.fire({\r\n type: 'success',\r\n title: msj\r\n })\r\n // Swal.fire({\r\n // type: 'success',\r\n // text: msj,\r\n // showCloseButton: true,\r\n // showConfirmButton: false,\r\n // })\r\n}\r\nexport function date(date, format = 'DD/MM/YYYY') { //h:mm a\r\n if(!date)\r\n date = Date.now();\r\n return moment(date).format(format);\r\n}\r\n// open new windows\r\nexport function openNewWindows(url, width, height) {\r\n\r\n if (url.length > 3) {\r\n var W_width = parseInt(width, 10) > 0 ? parseInt(width, 10) : 1061;\r\n var W_height = parseInt(height, 10) > 0 ? parseInt(height, 10) : 850;\r\n\r\n var center_left = (window.screen.width / 2) - (W_width / 2);\r\n var center_top = (window.screen.height / 2) - (W_width / 2);\r\n try {\r\n var my_window = window.open(url, \"Title\", \"directories=0,titlebar=0,toolbar=0,location=0,status=0,menubar=0,scrollbars=1, width=\" + W_width + \", height=\" + W_height + \", left=\" + center_left + \", top=\" + center_top);\r\n if (my_window)\r\n my_window.focus();\r\n }\r\n catch (error) {\r\n console.error(error);\r\n }\r\n }\r\n\r\n}\r\nexport function nullTostring(obj) {\r\n Object.keys(obj).forEach(function (key) {\r\n if (obj[key] === null) {\r\n obj[key] = '';\r\n }\r\n })\r\n return obj;\r\n}","import React from 'react';\r\nimport { Button, OverlayTrigger, Tooltip } from 'react-bootstrap';\r\nimport { currency } from '../helpers';\r\nimport \"../sass/components/imuebleItem.scss\"\r\n\r\nimport defaultInmueble from '../img/defaultInmueble.jpg';\r\n\r\nexport default function InmuebleItem(props){\r\n const { item } = props;\r\n // var backgroundImage = {\r\n // backgroundImage: \"url(\" + { Background } + \")\"\r\n // };\r\n return (\r\n
\r\n
\r\n
{item.inmEstadoDescripcion}
\r\n {/* \"...\" */}\r\n
\r\n
\r\n
{item.inmReferencia}
\r\n

{item.inmDescripcion && item.inmDescripcion.substr(0, 86)}...

\r\n\r\n {!!item.inmPrecioAlquiler &&
Alquiler: {currency(item.inmPrecioAlquiler,item.paiCodeMoneda)}
}\r\n {!!item.inmPrecioVenta &&
Venta: {currency(item.inmPrecioVenta,item.paiCodeMoneda)}
}\r\n\r\n
\r\n
\r\n \r\n
\r\n
\r\n );\r\n}\r\n","export default \"data:image/jpeg;base64,/9j/4QAYRXhpZgAASUkqAAgAAAAAAAAAAAAAAP/sABFEdWNreQABAAQAAABkAAD/4QMdaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wLwA8P3hwYWNrZXQgYmVnaW49Iu+7vyIgaWQ9Ilc1TTBNcENlaGlIenJlU3pOVGN6a2M5ZCI/PiA8eDp4bXBtZXRhIHhtbG5zOng9ImFkb2JlOm5zOm1ldGEvIiB4OnhtcHRrPSJBZG9iZSBYTVAgQ29yZSA1LjYtYzE0NSA3OS4xNjM0OTksIDIwMTgvMDgvMTMtMTY6NDA6MjIgICAgICAgICI+IDxyZGY6UkRGIHhtbG5zOnJkZj0iaHR0cDovL3d3dy53My5vcmcvMTk5OS8wMi8yMi1yZGYtc3ludGF4LW5zIyI+IDxyZGY6RGVzY3JpcHRpb24gcmRmOmFib3V0PSIiIHhtbG5zOnhtcE1NPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvbW0vIiB4bWxuczpzdFJlZj0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL3NUeXBlL1Jlc291cmNlUmVmIyIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB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ZDGo1QFb3lqLGfeDBLBGSzqyXEhlY2LqzALVfRH6ksFJ0ynojXBFxriQ3agS2Fghm5DLAWMIgvrjnoQrSgCYprTLXCs4aCBd7dR7GCQhSuq4ZGj/HtLapAaZrN9eNK2kQRoUVArFCzY3pGQ7oXJIoAIUAECixhi4BJKEGtXVZPIDX+fhRATt6fpQ5iVzXVoskOHOokRWY2B1aWGzMhUq0iCbTqrGymiqdatcEb6/xR7eEMRVXwDxgg4z2Q3/dBH//aAAgBAgMBPxD/AITP/9oACAEDAwE/EP8AhM//2Q==\"","import React, {useState, useEffect} from 'react';\r\nimport { Alert } from 'react-bootstrap';\r\n\r\n// import PropTypes from 'prop-types';\r\n\r\nexport function MostrarError(props) {\r\n const { errors, fixed=true} = props\r\n const [mensaje, setMensaje] = useState(\"\");\r\n const [errorsList, setErrorsList] = useState([]);\r\n useEffect(() => {\r\n if (errors && errors.data) {\r\n let tipo = typeof errors.data;\r\n\r\n if (tipo === \"string\"){\r\n setMensaje(errors.data)\r\n\r\n }else if (tipo === \"object\"){\r\n let { title, errors: errores, contrato, error, inquilino} = errors.data;\r\n if (title){\r\n setMensaje(title)\r\n setErrorsList(errores)\r\n } else if (contrato){\r\n setMensaje(error)\r\n setErrorsList({ Inquilino: inquilino, Contrato: contrato})\r\n }\r\n\r\n }\r\n }\r\n\r\n }, [setErrorsList, setMensaje, errors]);\r\n\r\n\r\n /// if (!errors || !Object.keys(errors).length) return false\r\n\r\n //if (errors.data && typeof errors.data === 'string')\r\n return (\r\n //
\r\n // {errors.data}\r\n //
\r\n 0} variant=\"danger\" onClose={() => setMensaje(\"\")} dismissible className={fixed?\"fixed\":\"\"}>\r\n {mensaje}\r\n {Object.keys(errorsList).length > 0 && \r\n \r\n }\r\n \r\n );\r\n}\r\n\r\n// MostrarError.propTypes = {\r\n// errors: PropTypes.ojb,\r\n// }","import React, {useState} from 'react';\r\nimport '../sass/_modalPago.scss';\r\nimport { Modal } from 'react-bootstrap';\r\n\r\nfunction copyLink() {\r\n document.getElementById(\"formLink\").select();\r\n document.execCommand(\"copy\");\r\n document.getElementById(\"linkCpBtn\").textContent=\"Copiado!\";\r\n}\r\nconst styleInput = { border: \"1px solid #d0d0d0\", width: \"100%\", background: \"white\", color: \"#8e8e8e\",padding: \"0px 15px\"}\r\nexport default function ModalShareLink (props) {\r\n\r\n const [show, setShow] = useState(false);\r\n\r\n const handleClose = () => setShow(false);\r\n const handleShow = () => setShow(true);\r\n const {link, btnText = \"Compartir\"} = props\r\n return (\r\n <>\r\n \r\n \r\n \r\n Compartir\r\n \r\n \r\n \r\n \r\n\r\n \r\n Whatapp\r\n Messenger\r\n SMS\r\n
\r\n
\r\n \r\n Abrir\r\n\r\n
\r\n
\r\n \r\n );\r\n}\r\n","import React, { Component } from 'react';\r\nimport {Link} from \"react-router-dom\";\r\nimport { MostrarError } from \"../components/MostrarError\";\r\nimport { connect } from 'react-redux';\r\nimport { mostrarInmuebleById } from '../redux/actions/inmuebleActions';\r\nimport { Carousel,Alert,Button } from 'react-bootstrap';\r\nimport { currency } from '../helpers';\r\nimport GLightbox from 'glightbox';\r\nimport _ from 'lodash';\r\n//import { loadReCaptcha,ReCaptcha } from 'react-recaptcha-v3'\r\nimport {sentMsj} from '../services'\r\nimport ModalShareLink from \"../components/modalShareLink\"\r\nimport \"glightbox/dist/css/glightbox.min.css\";\r\nimport '../sass/components/inmuebleDetalles.scss';\r\n\r\n\r\nclass InmuebleDetalles extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.zoomImg = this.zoomImg.bind(this);\r\n this.toggleForm = this.toggleForm.bind(this);\r\n this.handleSubmit = this.handleSubmit.bind(this)\r\n this.handleChange = this.handleChange.bind(this)\r\n\r\n this.state = {\r\n showAlert:false,\r\n msjSent: false,\r\n showForm: false,\r\n sendingMsj: false,\r\n user:\"inm\",\r\n captcha: null,\r\n form:{\r\n nombre:\"\",\r\n telefono:\"\",\r\n comentario:\"\",\r\n userName:\"\"\r\n }\r\n }\r\n\r\n }\r\n componentDidMount() {\r\n // loadReCaptcha(\"AIzaSyCAAANcxJEHA9dXZqfgbZ7mUl_ElArIwwE\");\r\n if(this.props.match){\r\n const urlId = parseInt(this.props.match.params.id);\r\n if (urlId > 0)\r\n this.props.mostrarInmuebleById(urlId);\r\n this.setState({user: this.props.match.params.user})\r\n }else{\r\n if(this.props.user){\r\n this.setState({user: this.props.user})\r\n }\r\n }\r\n\r\n }\r\n toggleForm(){\r\n this.setState((prevState)=>({showForm: !prevState.showForm}))\r\n }\r\n\r\n handleChange(e) {\r\n const { name, value } = e.target;\r\n this.setState({ form: { ...this.state.form, [name]: value } });\r\n }\r\n handleSubmit(event) {\r\n event.preventDefault();\r\n const {inmId } =this.props.inmueble\r\n let cleanObj = _.omitBy(this.state.form, (v) => !v);\r\n cleanObj.captcha = this.state.captcha;\r\n cleanObj.user = this.state.user === \"inm\"? null: this.state.user\r\n cleanObj.inmId = inmId\r\n\r\n this.setState({sendingMsj: true})\r\n sentMsj(cleanObj)\r\n .then(({data}) => {\r\n if (data)\r\n this.setState({\r\n showAlert:true,\r\n msjSent:true,\r\n form:{\r\n nombre:\"\",\r\n telefono:\"\",\r\n comentario:\"\",\r\n userName:\"\"\r\n }\r\n });\r\n })\r\n .catch(({ response}) => {\r\n console.log(response)\r\n\r\n // if (response.data)\r\n // this.setState({ errors: { data: response.data, status: response.status }});\r\n })\r\n .finally(()=> this.setState({ showForm: false, sendingMsj:false }));\r\n }\r\n zoomImg(e) {\r\n const { adjuntos = [] } = this.props.inmueble;\r\n let images = adjuntos.filter(adj => adj.fileExt !== \"pdf\");\r\n\r\n if (!images.length) return false;\r\n\r\n var elements = images.map(function (item) {\r\n return {\r\n href: item.url.replace(\"-small\",\"\"),\r\n type: \"image\"\r\n };\r\n })\r\n const lightbox = GLightbox({\r\n elements\r\n });\r\n lightbox.open();\r\n }\r\n\r\n render() {\r\n const { nombre, telefono, comentario } = this.state.form;\r\n const { sendingMsj, msjSent, showAlert} = this.state;\r\n\r\n const { inmId, inmEstadoDescripcion, inmTipoDescripcion, inmAnoConstruccion,\r\n inmReferencia, inmDescripcion, inmPrecioVenta,inmPrecioAlquiler, paiCodeMoneda, inmAreaTotal, inmAreaConstruida, inmHabitaciones, inmBanos,\r\n inmEstacionamientos, inmDirCalle, inmDirNumeroCalle, inmDirResidencial, inmDirApartamento, inmDirSector, inmDirCiudad,\r\n inmDirProvincia, caracteristicas, adjuntos= []} = this.props.inmueble;\r\n const images = adjuntos.filter(adj => adj.fileExt !== \"pdf\");\r\n const { isFetching, error } = this.props;\r\n \r\n let dir = \"\";\r\n dir += inmDirCalle ? inmDirCalle : \"\";\r\n dir += inmDirNumeroCalle ? \" #\" + inmDirNumeroCalle : \"\";\r\n dir += inmDirResidencial ? \", \" + inmDirResidencial : \"\";\r\n dir += inmDirApartamento ? \", \" + inmDirApartamento : \"\";\r\n dir += inmDirSector ? \", \" + inmDirSector : \"\";\r\n dir += inmDirCiudad ? \", \" + inmDirCiudad : \"\";\r\n dir += inmDirProvincia ? \", \" + inmDirProvincia : \"\";\r\n dir = dir.replace(/(^,)|(,$)/g, \"\");\r\n return (\r\n <>\r\n\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n\r\n {isFetching && this.props.match &&\r\n
\r\n }\r\n \r\n
\r\n
\r\n
\r\n {images.length > 0 && }\r\n
\r\n
{inmEstadoDescripcion}
\r\n

{currency(inmPrecioVenta, paiCodeMoneda)}

\r\n
\r\n {images.length > 0 &&\r\n \r\n {images.map((adj,i)=>\r\n \r\n \r\n )}\r\n \r\n }\r\n
\r\n
\r\n
\r\n

Tipo: {inmTipoDescripcion} / Código: {inmReferencia}

\r\n

{inmDescripcion}

\r\n\r\n {!!inmPrecioAlquiler &&
Alquiler: {currency(inmPrecioAlquiler,paiCodeMoneda)}
}\r\n {!!inmPrecioVenta &&
Venta: {currency(inmPrecioVenta,paiCodeMoneda)}
}\r\n\r\n {dir.length > 0 &&\r\n

{dir}

\r\n }\r\n
\r\n
\r\n {inmAnoConstruccion > 0 &&\r\n
\r\n \r\n {inmAnoConstruccion}\r\n
}\r\n {inmHabitaciones > 0 &&\r\n
\r\n {inmHabitaciones}\r\n
}\r\n {inmBanos > 0 &&\r\n
\r\n {inmBanos}\r\n
}\r\n {inmEstacionamientos > 0 &&\r\n
\r\n {inmEstacionamientos}\r\n
}\r\n {inmAreaConstruida > 0 &&\r\n
\r\n {inmAreaConstruida}\r\n
}\r\n {inmAreaTotal > 0 &&\r\n
\r\n {inmAreaTotal}\r\n
}\r\n
\r\n {caracteristicas && caracteristicas.length > 0 &&\r\n
\r\n
\r\n
\r\n {caracteristicas.map(car =>\r\n
\r\n {car.carDescripcion}\r\n
\r\n )}\r\n
\r\n
\r\n }\r\n
\r\n
\r\n
\r\n
\r\n
\r\n \r\n
\r\n
\r\n \r\n
\r\n
\r\n