PageSourceSearch

https://myside.com.br/_next/static/chunks/5648.8dd3465ca67783e3.js

js myside.com.br collected 2026-09-24 20:10:50 UTC 11,210 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},a=(new e.Error).stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="c49a7cd4-906a-45a1-9103-da40a27d65fb",e._sentryDebugIdIdentifier="sentry-dbid-c49a7cd4-906a-45a1-9103-da40a27d65fb")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5648],{23763:(e,a,t)=>{t.d(a,{A:()=>d});var l=t(65394);let d=function(e,a){let[t,d]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{if(e){d(!1);let e=setTimeout(()=>{d(!0)},a);return()=>clearTimeout(e)}},[e]),t}},43267:(e,a,t)=>{t.r(a),t.d(a,{default:()=>H});var l=t(19962),d=t(47343),n=t.n(d),i=t(65394),o=t(99446),s=t(15975),r=t(54409),u=t.n(r),c=t(63634),m=t(73411),p=t(16979),b=t(77311),v=t(36189),h=t(69448),T=t(56204),f=t(1361),_=t(23763),y=t(95047),x=t(24617),E=t(42814),C=t(8932),N=t(42342),g=t(23670),I=t(62308),P=t(79973),j=t(43215),w=t(1609),S=t.n(w);let M=(0,s.default)(()=>Promise.all([t.e(1869),t.e(3237)]).then(t.bind(t,43237)),{loadableGenerated:{webpack:()=>[43237]}});function B(e){let{unitType:a,setClickOnTheScreen:t,clickOnTheScreen:d,landscape:n}=e,{isTablet:o}=(0,j.A)(),s=(0,i.useMemo)(()=>{var e,t,l,d,n;return o?null==a||null==(l=a.medias)||null==(t=l[0])||null==(e=t.alternativesSizes)?void 0:e["1152x768"]:null==a||null==(n=a.medias)||null==(d=n[0])?void 0:d.url},[null==a?void 0:a.medias,o]),r=()=>{t(!d)},c=e=>{2===e.touches.length&&t(!0)};return(0,l.jsx)("div",{className:S().imageContainer,children:(0,l.jsx)(I.GT,{children:e=>{var i,o,m,p,b,v,h,T,f;let{zoomIn:_,zoomOut:y,resetTransform:x}=e;return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(I.WZ,{wrapperClass:S().zoomImageComponent,children:s&&(null==a||null==(m=a.medias)||null==(o=m[0])||null==(i=o.alternativesSizes)?void 0:i["1152x768"])&&(null==a||null==(b=a.medias)||null==(p=b[0])?void 0:p.url)?(0,l.jsx)("button",{type:"button",className:S().imageZoomButton,onClick:r,onTouchStart:c,"data-testid":"button-image-rendered",children:(0,l.jsx)(P.default,{"data-testid":"image-rendered",src:s,alt:null==a||null==(h=a.medias)||null==(v=h[0])?void 0:v.altText,title:null==a||null==(f=a.medias)||null==(T=f[0])?void 0:T.altText,className:S().image,fill:!0})}):(0,l.jsx)(M,{wrapperClass:S().missingImageZoomWrapper})}),(0,l.jsxs)("div",{className:u()(S().imageZoomTools,{[S().hideButtons]:d&&n}),"data-testid":"image-zoom-tools",children:[(0,l.jsx)("button",{type:"button","aria-label":"Bot\xe3o para adicionar zoom da planta",onClick:()=>{_(.3),t(!0)},className:S().zoomPlusIcon,children:"+"}),(0,l.jsx)("hr",{className:S().zoomToolsDivider}),(0,l.jsx)("button",{type:"button","aria-label":"Bot\xe3o para diminuir zoom da planta",onClick:()=>{y(.3),t(!0)},className:S().zoomMinusIcon,children:(0,l.jsx)(N.YJx,{"aria-hidden":!0})}),(0,l.jsx)("hr",{className:S().zoomToolsDivider}),(0,l.jsx)("button",{type:"button","aria-label":"Bot\xe3o para remover zoom da planta",onClick:()=>{x(),t(!0)},children:(0,l.jsx)(g.vZw,{size:22,"aria-hidden":!0})})]})]})}})})}var L=t(17334),O=t.n(L);let z=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(9667),t.e(7704)]).then(t.bind(t,34432)),{loadableGenerated:{webpack:()=>[34432]},ssr:!1}),A=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(3269),t.e(4121)]).then(t.bind(t,46187)),{loadableGenerated:{webpack:()=>[46187]},ssr:!1}),R=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(1092),t.e(7143)]).then(t.bind(t,91092)),{loadableGenerated:{webpack:()=>[91092]},ssr:!1}),k=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(3269),t.e(7740)]).then(t.bind(t,30308)),{loadableGenerated:{webpack:()=>[30308]},ssr:!1}),D=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(2155),t.e(2869)]).then(t.bind(t,2155)),{loadableGenerated:{webpack:()=>[2155]},ssr:!1}),G=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(7226),t.e(2174),t.e(4465),t.e(2003),t.e(8029)]).then(t.bind(t,21988)),{loadableGenerated:{webpack:()=>[21988]},ssr:!1}),Z=(0,s.default)(()=>Promise.all([t.e(1869),t.e(4997),t.e(7486),t.e(6988),t.e(8270),t.e(5073),t.e(7226),t.e(2174),t.e(4465),t.e(6422),t.e(9524)]).then(t.bind(t,56422)),{loadableGenerated:{webpack:()=>[56422]},ssr:!1});function H(e){let{unitType:a,results:t,modalZoomImage:d,totalUnitsAvailable:s,ctaButtonText:r,isOffer:N=!1}=e,{localization:g}=(0,i.useContext)(v.xt),{cityId:I}=(null==g?void 0:g.city)||{},P=(0,m.p)(),j=(0,m.p)(),w=(0,m.p)(),S=(0,m.p)(),M=(0,m.p)(),L=(0,m.p)(),H=(0,m.p)(),{costPrice:V,developmentPriceType:F,hasNoRi:U}=t||{},{setIsModalOpen:q}=(0,i.useContext)(v.Vs),[Y,Q]=(0,i.useState)(!1),[W,$]=(0,i.useState)(!1),{name:J,address:K}=null!=t?t:{},{neighborhood:X}=null!=K?K:{},ee=(0,i.useMemo)(()=>(0,x.h$)(F,U,V),[V,F,U]),ea=(0,x.IB)(F,U,V),et=(0,x.UR)(null==t?void 0:t.estimatedPrice),el=(0,x.Sb)(ea,et),ed=V?"cost_price":ee?"regular_price_and_hasNoRi":el?"valid_price_and_estimated_value":N?"offer":F||"default",en=Math.round(Number(null==a?void 0:a.area));(0,T.A)(d);let ei=(0,i.useMemo)(()=>({cost_price:{imageZoomCtaButtonText:"Receber detalhes e valores",modal:j,ctaType:C.zG.PROPERTY_PRICE_COST_DETAILS,Mod
1alToBeLoaded:(0,l.jsx)(R,{development:t,unitType:a,modalReceiveDetailsAndValues:j,isInPurchaseIntentCostPrice:W,setIsInPurchaseIntentStep:$})},price_on_request:{imageZoomCtaButtonText:"Consulte o pre\xe7o para mim",modal:w,ctaType:C.zG.PRICE_CONSULTATION,ModalToBeLoaded:(0,l.jsx)(A,{results:t,unitType:a,modalPriceOnRequest:w})},undisclosed_price:{imageZoomCtaButtonText:"Receber pre\xe7os e parcelas",modal:S,ctaType:C.zG.PRICE_ALERT_DISCLOSED,ModalToBeLoaded:(0,l.jsx)(k,{results:t,unitType:a,modalUndisclosedPrice:S})},offer:{imageZoomCtaButtonText:"Ver detalhes da oferta",modal:L,ctaType:C.zG.RECEIVE_OFFER,ModalToBeLoaded:(0,l.jsx)(G,{results:t,unitType:a,modalReceiveOffer:L}),modalTitle:"Planta ".concat(en,"m\xb2")},regular_price_and_hasNoRi:{imageZoomCtaButtonText:"Receber estimativa completa",modal:H,ctaType:C.zG.ESTIMATE_PRICE,ModalToBeLoaded:(0,l.jsx)(Z,{unitType:a,development:t,modalReceiveEstimate:H})},valid_price_and_estimated_value:{imageZoomCtaButtonText:"Receber estimativa completa",modal:H,ctaType:C.zG.ESTIMATE_PRICE,ModalToBeLoaded:(0,l.jsx)(Z,{unitType:a,development:t,modalReceiveEstimate:H})},default:{imageZoomCtaButtonText:"Simule o plano de pagamento",modal:P,ctaType:C.zG.PAYMENT_PLAN,ModalToBeLoaded:(0,l.jsx)(z,{results:t,unitType:a,modalPaymentSimulator:P,isInPurchaseIntentStep:Y,setIsInPurchaseIntentStep:Q})}}),[j,t,a,w,S,L,H,P]),eo=(0,i.useMemo)(()=>ei[ed],[ei,ed]),es=(0,E.mM)(Number(null==a?void 0:a.bedrooms),"quarto",!0),er="Planta de ".concat(es," e ").concat(en,"m\xb2"),eu=(0,i.useMemo)(()=>V?"Encontre uma unidade e verifique o pre\xe7o para mim":"Avise-me quando estiver dispon\xedvel",[V]),ec=(0,h.A)(),[em,ep]=(0,i.useState)(!1);(0,i.useEffect)(()=>((null==d?void 0:d.visible)&&(document.body.style.overflow="hidden"),()=>{document.body.style.overflow="unset"}),[null==d?void 0:d.visible]);let eb=(0,_.A)(em,6e4);return(0,i.useEffect)(()=>{eb&&ep(!1)},[eb]),(0,f.g)(()=>{q(!1)}),(0,i.useEffect)(()=>{!P.visible&&Y&&(0,y.d)({eventName:C.MN.CTA_PURCHASE_INTENT_MODAL_CLOSE,payload:{cta_location:C.Qm.DEVELOPMENTS_HOTSITE,cta_type:C.zG.PAYMENT_PLAN,city_ids:I||"",development_name:null!=J?J:"",neighborhood:null!=X?X:""}}),!j.visible&&W&&(0,y.d)({eventName:C.MN.CTA_PURCHASE_INTENT_MODAL_CLOSE,payload:{cta_location:C.Qm.DEVELOPMENTS_HOTSITE,cta_type:C.zG.PROPERTY_PRICE_COST_DETAILS,city_ids:I||"",development_name:null!=J?J:"",neighborhood:null!=X?X:""}})},[I,X,J,Y,W,P.visible,j.visible]),(0,l.jsxs)(p.l,{...d,tabIndex:0,className:u()(O().modalWrapper),"data-aos":"fade-up","data-aos-delay":150,"aria-label":"Modal de zoom da imagem da planta","data-testid":"modal-plant-image-zoom",onMouseDown:e=>{e.currentTarget.dataset.startClick=e.target.className},hideOnClickOutside:!1,preventBodyScroll:!1,children:[(0,l.jsxs)("div",{className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(O().content||""),children:[(0,l.jsxs)("div",{"data-testid":"headline",className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(u()(O().headline,{[O().headLineOffer]:N,[O().headLineLandscape]:ec,[O().hideTop]:em&&ec})||""),children:[(0,l.jsx)("h4",{"data-testid":"title",className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(u()(O().windowTitle,{[O().windowTitleOffer]:N})||""),children:(0,l.jsx)("span",{"data-testid":"windowTitle",className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]]),children:er})}),(0,l.jsx)(c.$,{"data-testid":"button-with-handle",onClick:()=>{d.hide()},"aria-label":"Fechar modal",className:O().buttonHide,children:(0,l.jsx)(o.dCQ,{size:24,className:O().iconClose,"aria-hidden":!0})})]}),(0,l.jsxs)("div",{className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(O().body||""),children:[(0,l.jsx)(B,{unitType:a,setClickOnTheScreen:ep,clickOnTheScreen:em,landscape:ec}),(0,l.jsx)("div",{"data-testid":"button-cta-wrapper",className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(u()(O().ctaContainer,{[O().ctaContainerLandscape]:ec,[O().hideBottom]:em&&ec})||""),children:s&&s>0?(0,l.jsx)(b.m,{"data-testid":"button-cta-plant-imagem-zoom",className:u()(O().dialogDisclosureStyle,O().leadButton,{[O().leadButtonOffer]:N}),...eo.modal,onClick:()=>{(0,y.d)({eventName:C.MN.CTA_CLICK_MODAL_OPEN,payload:{cta_location:C.Qm.DEVELOPMENTS_HOTSITE,cta_type:eo.ctaType,city_ids:null!=I?I:"",development_name:null!=J?J:"",neighborhood:null!=X?X:""}})},children:(0,l.jsx)("span",{className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(O().textButton||""),children:r||eo.imageZoomCtaButtonText})}):(0,l.jsx)(b.m,{...M,className:u()(O().dialogDisclosureStyle,O().leadButton,O().leadButtonUnavailable),children:(0,l.jsx)("span",{className:n().dynamic([["6f4c560dbd16de2f",[(null==d?void 0:d.visible)?"hidden":"auto"]]])+" "+(O().textButton||""),children:eu})})})]})]}),eo.modal.visible&&s&&s>
10&&eo.ModalToBeLoaded,"number"==typeof s&&(null==M?void 0:M.visible)&&s<=0&&(0,l.jsx)(D,{results:t,unitType:a,modalFindApartamentForMe:M}),(0,l.jsx)(n(),{id:"6f4c560dbd16de2f",dynamic:[(null==d?void 0:d.visible)?"hidden":"auto"],children:"body{overflow:".concat((null==d?void 0:d.visible)?"hidden":"auto","!important}")})]})}},69448:(e,a,t)=>{t.d(a,{A:()=>d});var l=t(65394);let d=function(){let[e,a]=(0,l.useState)(!1);return(0,l.useEffect)(()=>{let e=()=>{let e=window.matchMedia("(orientation: landscape)").matches,t=window.innerHeight<=500;a(e&&t)};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}},[]),e}}}]);

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.