"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[78558,15507],{7211:function(e,n,t){t.d(n,{WU:function(){return l},Wl:function(){return d},wC:function(){return a},wQ:function(){return s},wf:function(){return u},wx:function(){return c}});var i=t(43812),r=t(65885);let o=new r.Z;function s(e){let n=o.get("aeid");return(0,i.b)("/properties/filter/?"+e,{headers:{"distinct-id":n}})}function c(e){return(0,i.b)("/properties/filter/code/?cid="+e)}function a(e){return(0,i.b)("/properties/favorites/"+e+"/")}function u(e,n,t,r){switch(t){case"referer":return(0,i.b)("/properties/view/".concat(n,"/?referer=").concat(r),{headers:{domain:e}});case"round_robin":return(0,i.b)("/properties/view/".concat(n,"/?round=").concat(r),{headers:{domain:e}});default:return(0,i.b)("/properties/view/".concat(n,"/"),{headers:{domain:e}})}}function d(e,n){return i.b.patch("/properties/stats/"+e+"/",n)}function l(e){return(0,i.b)("/properties/sitemap/",{headers:{domain:e}})}},15507:function(e,n,t){t.r(n),t.d(n,{default:function(){return O}});var i=t(7297),r=t(85893),o=t(67294),s=t(11163),c=t(10267),a=t(51252),u=t(67066),d=t(62802),l=t(94217),p=t(48010),h=t(62838),f=t(53349),m=t(95062),g=t(98403),x=t(11407);function v(){let e=(0,i.Z)(["\n    padding: 0 !important;\n    .card-body {\n        padding: 15px;\n    }\n"]);return v=function(){return e},e}let j=u.default.div.withConfig({componentId:"sc-bb498806-0"})(v());var y=function(e){let{lang:n}=e;return(0,r.jsxs)(j,{className:"card",children:[(0,r.jsxs)("div",{className:"card-header",children:[(0,r.jsx)(m.Z,{size:20,icon:"search"})," ",x.XR[n].labelSearch]}),(0,r.jsx)("div",{className:"card-body",children:(0,r.jsx)(g.Z,{page:e.page})})]})};function b(){let e=(0,i.Z)(["\n    display: flex !important;\n    justify-content: center;\n    align-items: center;\n    width: 100%;\n    margin-top: 5rem;\n    margin-bottom: 5rem;\n"]);return b=function(){return e},e}function _(){let e=(0,i.Z)(["\n    text-align: center !important;\n    min-height: 50vh;\n    opacity: 0.6;\n    margin-top: 4rem;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    h4 {\n        font-size: 2rem;\n        margin-top: 1rem;\n        margin-bottom: 0.5rem;\n    }\n    span {\n        font-size: 1rem;\n    }\n"]);return _=function(){return e},e}let w=u.default.div.withConfig({componentId:"sc-e66a4412-0"})(b()),C=u.default.div.withConfig({componentId:"sc-e66a4412-1"})(_());var O=(0,s.withRouter)(function(e){let{state:n}=(0,o.useContext)(f.Z),{page:t,lang:i}=e;return(0,r.jsxs)("div",{children:[(0,r.jsx)(p.h4,{page:t,title:t.name,description:t.description,active:t.slug,url:"/".concat(t.slug),mainTitle:t.title,subtitle:t.sub_title}),(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)(c.Z,{children:[(0,r.jsx)(a.Z,{xs:12,md:3,className:"d-none d-sm-block",children:(0,r.jsx)(y,{page:t,lang:i})}),(0,r.jsxs)(a.Z,{xs:12,md:9,children:[n.loading?(0,r.jsx)(w,{children:(0,r.jsx)(d.$j,{intent:"primary",size:60})}):(0,r.jsxs)(c.Z,{className:"property-holder",children:[(0,r.jsx)(a.Z,{xs:12,children:(0,r.jsxs)("p",{children:[(0,r.jsx)("strong",{children:n.count})," ",x.XR[i].found]})}),n.properties.map((e,n)=>(0,r.jsx)(a.Z,{xs:12,md:4,className:"controlled",children:(0,r.jsx)(h.default,{medium:!0,property:e})},n)),n.notFound&&(0,r.jsx)(a.Z,{xs:12,children:(0,r.jsx)(C,{children:(0,r.jsxs)("div",{children:[(0,r.jsx)("img",{src:"https://image.flaticon.com/icons/svg/214/214340.svg",height:"80"}),(0,r.jsx)("h4",{className:"d-block",children:"\xa1Oops!"}),(0,r.jsx)("span",{children:"No encontramos resultados."})]})})})]}),(0,r.jsx)(c.Z,{className:"pagination text-center",children:(0,r.jsx)(a.Z,{children:(0,r.jsx)(l.Z,{className:"pagination-center",qtyPerPage:30})})})]})]})}),(0,r.jsx)(p.$_,{})]})})},65885:function(e,n,t){t.d(n,{Z:function(){return s}});var i=t(76489);function r(e,n){void 0===n&&(n={});var t,i=e&&"j"===e[0]&&":"===e[1]?e.substr(2):e;if(void 0===(t=n.doNotParse)&&(t=!i||"{"!==i[0]&&"["!==i[0]&&'"'!==i[0]),!t)try{return JSON.parse(i)}catch(r){}return e}var o=function(){return(o=Object.assign||function(e){for(var n,t=1,i=arguments.length;t<i;t++)for(var r in n=arguments[t])Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);return e}).apply(this,arguments)},s=function(){function e(e,n){var t=this;this.changeListeners=[],this.HAS_DOCUMENT_COOKIE=!1,this.cookies="string"==typeof e?i.parse(e,n):"object"==typeof e&&null!==e?e:{},new Promise(function(){t.HAS_DOCUMENT_COOKIE="object"==typeof document&&"string"==typeof document.cookie}).catch(function(){})}return e.prototype._updateBrowserValues=function(e){this.HAS_DOCUMENT_COOKIE&&(this.cookies=i.parse(document.cookie,e))},e.prototype._emitChange=function(e){for(var n=0;n<this.changeListeners.length;++n)this.changeListeners[n](e)},e.prototype.get=function(e,n,t){return void 0===n&&(n={}),this._updateBrowserValues(t),r(this.cookies[e],n)},e.prototype.getAll=function(e,n){void 0===e&&(e={}),this._updateBrowserValues(n);var t={};for(var i in this.cookies)t[i]=r(this.cookies[i],e);return t},e.prototype.set=function(e,n,t){var r;"object"==typeof n&&(n=JSON.stringify(n)),this.cookies=o(o({},this.cookies),((r={})[e]=n,r)),this.HAS_DOCUMENT_COOKIE&&(document.cookie=i.serialize(e,n,t)),this._emitChange({name:e,value:n,options:t})},e.prototype.remove=function(e,n){var t=n=o(o({},n),{expires:new Date(1970,1,1,0,0,1),maxAge:0});this.cookies=o({},this.cookies),delete this.cookies[e],this.HAS_DOCUMENT_COOKIE&&(document.cookie=i.serialize(e,"",t)),this._emitChange({name:e,value:void 0,options:n})},e.prototype.addChangeListener=function(e){this.changeListeners.push(e)},e.prototype.removeChangeListener=function(e){var n=this.changeListeners.indexOf(e);n>=0&&this.changeListeners.splice(n,1)},e}()}}]);