PageSourceSearch

https://www.gistaquaritinga.com.br/_next/static/chunks/9058.5735061328c49008.js

js gistaquaritinga.com.br collected 2026-10-06 04:48:04 UTC 8,259 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9058],{19058:function(e,a,t){"use strict";t.r(a);var l=t(85893),o=t(67294),n=t(65768),r=t(63327),s=t(33586),i=t(85246),c=t(72920),d=t(52699),u=t(8303),m=t(26603),_=t(3386),h=t(17921),p=t(54190),f=t(47991),x=t(91746),b=t(97461),y=t(5969),g=t(6308),v=t(23572),j=t(36777),w=t.n(j);let N=e=>{let{isOpen:a,imovel:t,onClose:j,urlImovel:N}=e,[Z,F]=(0,o.useState)(!1),[k,C]=(0,o.useState)(null),[G]=(0,u.Z)(),{config:{imb_whatsapp_widget:B}}=(0,d.Z)(),{watermark:M,imbSite:S}=(0,m.Z)(t),A=(0,o.useRef)(null),T=t.fotos.map((e,a,t)=>({id:a,caption:"".concat(a+1,"/").concat(t.length)})),z=t.fotos.map((e,a)=>{let{imvft_url:t,imvft_watermark:l}=e,o=M?(0,b.Z)((0,h.Z)(l,"640x480"),S):(0,h.Z)(t,"640x480"),n=M?(0,b.Z)((0,h.Z)(l,"max"),S):(0,h.Z)(t,"max"),r=(0,h.Z)(t,"max");return{id:"".concat(e.imvft_id,"-").concat(a),width:e.width||1,height:e.height||1,thumbnail:o,fallback:r,fullsize:n,...e}}),E=()=>{F(!1),C(null)},W=()=>{C("contact"),F(!0)},H=null==B?void 0:B.phone,D=H?(0,_.Z)(H,"Ol\xe1, me interessei por esse im\xf3vel e gostaria de saber mais informa\xe7\xf5es.\nIm\xf3vel: ".concat(N)):null,L=e=>{let{photo:a,left:o,top:n}=e;return(0,l.jsx)("div",{id:a.id,className:w().item,style:{width:a.width,height:a.height,left:o,top:n},children:(0,l.jsx)("a",{href:a.fullsize,className:"w-100",children:(0,l.jsx)("img",{alt:(0,p.Z)(t),className:w().image,src:a.thumbnail,"data-fullsize":a.fullsize,"data-fallback":a.fallback,onError:e=>(0,f.Z)(e,!0),loading:"lazy"})},a.tfoto_id)},a.id)},P=()=>G?null:(0,l.jsxs)("div",{className:w().headerActionsWrapper,children:[(0,l.jsx)("div",{className:w().headerActions,children:(0,l.jsx)(v.Z,{imovel:t})}),(0,l.jsxs)("button",{type:"button",className:w().closeButton,onClick:j,"aria-label":"Close",children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"\xd7"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]})]}),R=()=>G?(0,l.jsxs)("button",{type:"button",className:w().closeButton,onClick:j,"aria-label":"Close",children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"\xd7"}),(0,l.jsx)("span",{className:"sr-only",children:"Close"})]}):null,q=()=>G?(0,l.jsx)("div",{className:w().modalActionsContainer,children:(0,l.jsx)(v.Z,{imovel:t})}):null;return(0,l.jsxs)(n.Z,{show:a,className:w().modal,dialogClassName:w().fullScreen,onHide:j,children:[(0,l.jsxs)(n.Z.Header,{className:w().header,children:[(0,l.jsx)(r.Z,{className:w().title,children:"Galeria de fotos"}),(0,l.jsx)(P,{}),(0,l.jsx)(R,{})]}),(0,l.jsxs)(n.Z.Body,{className:w().modalBody,children:[(0,l.jsx)(q,{}),(0,l.jsx)(i.ZP,{children:(0,l.jsx)(i.Iv,{options:(0,x.Z)(G),customCaptions:T,children:(0,l.jsx)("div",{className:w().gallery,children:(0,l.jsx)(s.Z,{ref:A,photos:z,direction:"column",renderImage:L})})})},1)]}),G?(0,l.jsx)("div",{className:"w-100 d-flex align-items-center p-3 ".concat(w().ctasContainer),children:(0,l.jsxs)("div",{className:"d-flex w-100 justify-content-center ".concat(w().ctasWrapper),children:[B&&B.active&&D&&(0,l.jsxs)("button",{type:"button",onClick:()=>window.open(D,"_blank"),className:"btn btn-outline-success ".concat(w().button," ").concat(w().whatsappButton),children:[(0,l.jsx)(y.Z,{icon:["fab","whatsapp"],style:{marginRight:"8px"}}),"WhatsApp"]}),(0,l.jsx)("button",{type:"button",onClick:W,className:"btn btn-primary ".concat(w().button),children:"Solicitar contato"})]})}):(0,l.jsxs)("div",{className:"w-100 d-flex flex-column align-items-center p-3 ".concat(w().ctasContainerDesktop),children:[(0,l.jsx)("h2",{className:w().contentTitle,children:"Quer conhecer o im\xf3vel?"}),(0,l.jsx)("p",{className:w().subtitle,children:"Entre em contato e agende sua visita!"}),(0,l.jsx)("button",{type:"button",onClick:W,className:"btn btn-primary mb-5 ".concat(w().button),style:{height:"43px",maxWidth:"316px"},children:"Solicitar contato"})]}),(0,l.jsxs)(n.Z,{show:Z,onHide:E,style:{zIndex:19999},backdropClassName:w().backdrop,centered:!0,dialogClassName:w().formModalDialog,children:[(0,l.jsxs)(n.Z.Header,{className:w().formModalHeader,children:[(0,l.jsx)(r.Z,{className:w().formModalTitle,children:"Solicitar contato"}),(0,l.jsxs)("button",{type:"button",className:w().formCloseButton,onClick:E,"aria-label":"Fechar formul\xe1rio",children:[(0,l.jsx)("span",{"aria-hidden":"true",children:"\xd7"}),(0,l.jsx)("span",{className:"sr-only",children:"Fechar"})]})]}),(0,l.jsx)(n.Z.Body,{className:w().formModalBody,children:(0,l.jsx)(c.G,{children:(0,l.jsx)(g.Z,{imovel:t,mobile:!1,isFormOpen:Z,actionType:k})})})]})]})};a.default=N},26603:function(e,a,t){"use strict";var l=t(52699);a.Z=function(e){var a,t,o,n;
1let{config:{isArbo:r,imb_config_site:s={}}}=(0,l.Z)(),{watermark:i=!1}=s,c=r?null!==(n=null==e?void 0:null===(a=e.imobiliaria)||void 0===a?void 0:a.imb_config_site)&&void 0!==n?n:{}:s,d=r?(null==e?void 0:null===(t=e.imobiliaria)||void 0===t?void 0:null===(o=t.imb_config_site)||void 0===o?void 0:o.watermark)||!1:i;return{watermark:d,imbSite:c}}},54190:function(e,a,t){"use strict";let l=e=>{if(!e||"object"!=typeof e)return"Foto do im\xf3vel";let{tipo_imovel:a,imv_area_total:t,imv_qtd_dorm:l,imv_qtd_banheiros:o,imv_preco_venda:n,imv_preco_locacao:r,imv_bairro:s,imv_cidade:i}=e,c=null==a?void 0:a.timv_nome;if(!c||!s||!i)return"Foto do im\xf3vel";let d="";d=n&&r?"\xe0 venda ou para alugar":n?"\xe0 venda":r?"para alugar":"dispon\xedvel";let u=t?"".concat(Math.round(t),"m\xb2"):"";return l&&o&&l>0&&o>0?"".concat(c," ").concat(u?"com ".concat(u," "):"").concat(1===l?"1 quarto":"".concat(l," quartos")," e ").concat(1===o?"1 banheiro":"".concat(o," banheiros"),", ").concat(d,", no bairro ").concat(s," em ").concat(i):"".concat(c," ").concat(u?"com ".concat(u,", "):"").concat(d,", no bairro ").concat(s," em ").concat(i)};a.Z=l},47991:function(e,a,t){"use strict";var l=t(79146);let o=(e,a)=>{let t=e.target.dataset.error,{fbError:o}=e.target.dataset;t?o?(e.target.src="".concat(l.Pe),e.target.parentElement.href="",e.target.dataset.fullsize="",e.target.dataset.fallback=""):(e.target.dataset.fbError=!0,e.target.src=e.target.dataset.fallback,a&&(e.target.parentElement.href=e.target.dataset.fallback)):(e.target.dataset.error=!0,e.target.src=e.target.dataset.fullsize,a&&(e.target.parentElement.href=e.target.dataset.fullsize))};a.Z=o},91746:function(e,a){"use strict";let t=e=>({settings:{overlayColor:"rgba(0, 0, 0, 1)",slideTransitionSpeed:0,disablePanzoom:!e},buttons:{showAutoplayButton:!1,showCloseButton:!0,showDownloadButton:!1,showFullscreenButton:!1,showNextButton:!0,showPrevButton:!0,showThumbnailsButton:!1,size:e?"45px":"35px"},thumbnails:{showThumbnails:!0}});a.Z=t},97461:function(e,a,t){"use strict";function l(e){return!0===e||1===e||"1"===e||"true"===e}a.Z=function(e){let a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||"string"!=typeof e||!e.includes("/wmk/"))return e;try{let t=new URL(e);return l(a.is_custom_watermark)&&t.searchParams.set("is_custom_watermark","1"),l(a.watermark_opacity_crm_aligned)&&t.searchParams.set("wm_opacity_crm","1"),t.toString()}catch(a){return console.warn("[withWatermarkLambdaQuery] URL parse failed:",e,a),e}}},36777:function(e){e.exports={modal:"FullGallery_modal__CoTN6",fullScreen:"FullGallery_fullScreen__s7cgV",modalBody:"FullGallery_modalBody__vFgAS",item:"FullGallery_item__MJgu5",image:"FullGallery_image__6xY5y",title:"FullGallery_title__UV5Ko",contentTitle:"FullGallery_contentTitle__XO0H7",gallery:"FullGallery_gallery__5TozL",subtitle:"FullGallery_subtitle__Ath2_",button:"FullGallery_button__RuI3x",ctasContainer:"FullGallery_ctasContainer__8Qm5h",ctasContainerDesktop:"FullGallery_ctasContainerDesktop__oAEsU",ctasWrapper:"FullGallery_ctasWrapper__J_999",whatsappButton:"FullGallery_whatsappButton__fNHSI",header:"FullGallery_header__nvP7B",headerActionsWrapper:"FullGallery_headerActionsWrapper__R5g77",closeButton:"FullGallery_closeButton__bhqDj",backdrop:"FullGallery_backdrop__jQFqQ",divider:"FullGallery_divider__iMWeV",modalActionsContainer:"FullGallery_modalActionsContainer__y_b9K",formModalDialog:"FullGallery_formModalDialog__j_7wr",formModalHeader:"FullGallery_formModalHeader__ESkZL",formModalTitle:"FullGallery_formModalTitle__VueRi",formCloseButton:"FullGallery_formCloseButton__bLbmQ",formModalBody:"FullGallery_formModalBody__w28Lo"}}}]);

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.