1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[22],{"/00n":function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/imovel/[slug]",function(){return n("bZuf")}])},"1D5R":function(e,t,n){"use strict";var o=n("rePB"),a=n("nKUr"),c=n("q1tI"),i=n.n(c),r=n("IP2g"),s=n("wHSu"),l=n("oXlV"),f=n("qGRf"),p=n("o0o1"),u=n.n(p),d=n("HaE+"),m=n("1OyB"),j=n("vuIU"),b=n("Ji7U"),h=n("md7G"),O=n("foSv");function g(e){var t=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=Object(O.a)(e);if(t){var a=Object(O.a)(this).constructor;n=Reflect.construct(o,arguments,a)}else n=o.apply(this,arguments);return Object(h.a)(this,n)}}var w=function(e){Object(b.a)(n,e);var t=g(n);function n(e){var o;return Object(m.a)(this,n),(o=t.call(this,e)).wrapperRef=i.a.createRef(),o}return Object(j.a)(n,[{key:"componentDidMount",value:function(){var e=this;!function(e){var t=document.getElementById("googleMaps");if(!t){var n=document.createElement("script");n.src="https://maps.googleapis.com/maps/api/js?key=AIzaSyBGlOqYiEs8oFt4SA-ZwLNiwgv1iikd7To",n.id="googleMaps",document.body.appendChild(n),n.onload=function(){e&&e()}}t&&e&&e()}((function(){e.buildMap()}))}},{key:"buildMap",value:function(){var e=Object(d.a)(u.a.mark((function e(){var t,n,o,a,c,i,r,s;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,this.waitMap();case 2:t=this.props,n=t.lat,o=t.lng,a=t.zoom,c=new window.google.maps.DirectionsRenderer,i={zoom:a?parseInt(a):16,mapTypeId:window.google.maps.MapTypeId.ROADMAP,center:new window.google.maps.LatLng(n,o),disableDefaultUI:!0,mapTypeControl:!1,zoomControl:!0,scrollwheel:!1,zoomControlOptions:{style:window.google.maps.ZoomControlStyle.LARGE,position:window.google.maps.ControlPosition.RIGHT}},r=new window.google.maps.Map(this.wrapperRef.current,i),c.setMap(r),c.setPanel(document.getElementById("directions")),s=new window.google.maps.LatLng(n,o),new window.google.maps.Marker({position:s,map:r,icon:"https://images2.nogueirense.com.br/assets2/map-marker.png"});case 10:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"waitMap",value:function(){var e=Object(d.a)(u.a.mark((function e(){var t,n,o=arguments;return u.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.length>0&&void 0!==o[0]?o[0]:30,!window.google){e.next=5;break}return e.abrupt("return",!0);case 5:if(0!==t){e.next=9;break}return e.abrupt("return",console.error("Google maps not found"));case 9:return n=2e3,e.next=12,new Promise((function(e){return setTimeout(e,n)}));case 12:return e.abrupt("return",this.waitMap(t-1));case 13:case"end":return e.stop()}}),e,this)})));return function(){return e.apply(this,arguments)}}()},{key:"render",value:function(){return Object(a.jsx)("div",{className:"map-container",children:Object(a.jsx)("div",{className:"embed-responsive embed-responsive-16by9",children:Object(a.jsx)("div",{id:"mapa",className:"embed-responsive-item",ref:this.wrapperRef})})})}}]),n}(i.a.Component);function _(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function v(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?_(Object(n),!0).forEach((function(t){Object(o.a)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):_(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.a=function(e){var t=e.post,n=[];return t.acf_info&&(n.push(t.acf_info.capa),n.push(t.acf_info.image2),n.push(t.acf_info.image3),n.push(t.acf_info.image4),n.push(t.acf_info.image5),n.push(t.acf_info.image6),n=n.filter((function(e){return e}))),Object(a.jsxs)("div",{className:"comercio",children:[Object(a.jsx)("div",{className:"page-title",children:Object(a.jsx)("h1",{className:"post-title",children:t.title})}),Object(a.jsxs)("div",{className:"row",children:[Object(a.jsxs)("div",{className:"col-md-6",children:[Object(a.jsx)("div",{className:"description",dangerouslySetInnerHTML:{__html:t.content}}),Object(a.jsxs)("div",{className:"info",children:[t.acf_info&&t.acf_info.endereco2&&Object(a.jsxs)("div",{className:"item location",children:[Object(a.jsx)("span",{className:"icon",children:Object(a.jsx)(r.a,{icon:s.e})}),Object(a.jsx)("p",{dangerouslySetInnerHTML:{__html:t.acf_info.endereco2}})]}),t.acf_info&&t.acf_info.fones&&Object(a.jsxs)("div",{className:"item phone",children:[Object(a.jsx)("span",{className:"icon",children:Object(a.jsx)(r.a,{icon:s.f})}),Object(a.jsx)("p",{dangerouslySetInnerHTML:{__html:t.acf_info.fones}})]}),t.acf_info&&(t.acf_info.site||t.acf_info.email)&&Object(a.jsxs)("div",{className:"item web",children:[Object(a.jsx)("span",{className:"icon",children:Object(a.jsx)(r.a,{icon:s.d})}),Object(a.jsxs)("p",{children:[t.acf_info.site&&Object(a.jsx)("a",{href:"http://".concat(t.acf_info.site),target:"_blank",rel:"noopener noreferrer",children:t.acf_info.site}),t.acf_info.email&&Object(a.jsxs)(a.Fragment,{children:[Object(a.jsx)("br",{}),Object(a.jsx)("a",{href:"emailto:".concat(t.acf_info.email),target:"_blank",rel:"noopener noreferrer",children:t.acf_info.email})]})]})]})]})]}),Object(a.jsx)("div",{className:"col-md-6",children:n&&Object(a.jsx)("div",{className:"block-slide block",children:Object(a.jsx)("div",{className:"slide",children:Object(a.jsx)(f.a,v(v({},{dots:!1,infinite:!0,speed:500,slidesToShow:1,slidesToScroll:1,adaptiveHeight:!0}),{},{children:n.map((function(e,n){return Object(a.jsx)("div",{className:"item",children:Object(a.jsx)("img",{className:"placeholder",src:l.a.imageSlide
1Url(e),alt:t.title})},n)}))}))})})})]}),t.acf_info&&t.acf_info.localizacao&&t.acf_info.localizacao.latitude&&t.acf_info.localizacao.longitude&&Object(a.jsx)(w,{lat:t.acf_info.localizacao.latitude,lng:t.acf_info.localizacao.longitude,zoom:t.acf_info.localizacao.zoom})]})}},bZuf:function(e,t,n){"use strict";n.r(t),n.d(t,"__N_SSG",(function(){return s}));var o=n("nKUr"),a=(n("q1tI"),n("CafY")),c=n("UkKX"),i=n("1D5R"),r=n("obyI"),s=!0;t.default=function(e){var t=e.post,n=e.mainMenu;return Object(o.jsxs)(a.a,{show_guia:r.SHOW_GUIA,mainMenu:n,children:[Object(o.jsx)(c.a,{post:t,importGoogleMaps:!0}),Object(o.jsx)(i.a,{post:t})]})}}},[["/00n",0,2,5,4,1,3,6]]]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.