PageSourceSearch

https://static.quintoandar.com.br/regions-webapp/_next/static/chunks/pages/condominios-f553fdfc1a6553a3.js

js quintoandar.com.br collected 2026-09-24 09:26:36 UTC 11,683 bytes, 4 lines download raw bytes

1
2!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},n=(new e.Error).stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="ad3c877a-4696-54ba-962a-fedc95ea711f")}catch(e){}}();
3(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1892,2136,8287],{25396:(e,r,t)=>{"use strict";t.d(r,{A:()=>s}),t(53239);var n=t(17648),a=t(19642),o=t(24627);function s(){let e=(0,n.A)(a.A);return e[o.A]||e}},26065:(e,r,t)=>{"use strict";t.d(r,{A:()=>i});var n=t(41765),a=t(53239),o=t(93916),s=function(e){return a.createElement(o.Ay,(0,n.A)({fill:"none"},e),a.createElement("path",{fill:"currentColor",d:"M4.7197 9.6507l7.2804 7.2803 7.2803-7.2803L18.2197 8.59l-6.2196 6.2197L5.7804 8.59 4.7197 9.6507z"}))};s.propTypes={},s.defaultProps={viewBox:"0 0 24 24"};let i=s},31887:(e,r,t)=>{"use strict";t.r(r),t.d(r,{__N_SSP:()=>U,default:()=>K});var n=t(49204),a=t(7738),o=t(53689),s=t.n(o),i=t(14506),l=t.n(i),c=t(53239),d=t(88146),u=t(1211),p=t(17788),m=t(15692),f=t(9072),g=t(44983),x=t(52907),b=t(10288),h=t.n(b),y=t(28132),v=t.n(y),C=t(71734),j=t(80263);let w=({title:e,condos:r,city:t})=>r?(0,j.jsx)("div",{className:v().wrapper,children:(0,j.jsx)(C.p,{title:e,condos:r,city:t,marginArrow:h().alias.spacing.small,padding:h().alias.spacing.small,href:`/condominios/${t.slug}`},t.slug)}):null;var _=t(48005),A=t(87707),O=t(34404),N=t(70239),P=t(34678),k=t(1816),M=t(24671),E=t.n(M),H=t(36217),T=t(33091),R=t(5245),S=t(62358),B=t(3331);let I=(0,B.YK)({title:{id:"regions.Condominium.components.HomeHero.title",defaultMessage:[{type:0,value:"Encontre um condom\xednio perfeito pra voc\xea"}]},subtitle:{id:"regions.Condominium.components.HomeHero.subtitle",defaultMessage:[{type:0,value:"Descubra como \xe9 morar nos condom\xednios mais desejados do Brasil"}]},cta:{id:"regions.Condominium.components.HomeHero.cta",defaultMessage:[{type:0,value:"Mostrar locais"}]}});var $=t(66995),G=t.n($);function L(e,r){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);r&&(n=n.filter(function(r){return Object.getOwnPropertyDescriptor(e,r).enumerable})),t.push.apply(t,n)}return t}function W(e){for(var r=1;r<arguments.length;r++){var t=null!=arguments[r]?arguments[r]:{};r%2?L(Object(t),!0).forEach(function(r){(0,O.A)(e,r,t[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):L(Object(t)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(t,r))})}return e}let D=({isMobile:e,handleHeroCta:r})=>{let t=(0,N.b)({src:"hero-image-condominium-desktop.png",assetPrefix:"regions-webapp"}),n=(0,N.b)({src:"hero-image-condominium-mobile.png",assetPrefix:"regions-webapp"}),{handleTrackingEvent:a}=(0,c.useContext)(S.cG),o=(0,c.useCallback)(()=>{r&&r(),a&&a({type:R.BJ,eventName:R.sb})},[r,a]);return(0,j.jsxs)(P.A,{className:G().externalContainer,style:{"--background-image":e?"none":`url(${t})`},"data-testid":"home-hero-background-container",component:"section",children:[e&&(0,j.jsx)(P.A,{className:G().imageContainer,children:(0,j.jsx)(E(),{src:n,alt:"",fill:!0,style:{objectFit:"cover",objectPosition:"top"}})}),(0,j.jsx)("div",{className:G().container,children:(0,j.jsxs)("div",{className:G().textContainer,"data-testid":"home-hero-text-container",children:[(0,j.jsx)(T.O,{mobileLevel:"display",desktopLevel:"heroSmall",breakpoint:"sm",as:"h1",children:(0,j.jsx)(H.A,W({},I.title))}),(0,j.jsx)(T.O,{mobileLevel:"body",desktopLevel:"title",breakpoint:"sm",as:"h2",children:(0,j.jsx)(H.A,W({},I.subtitle))}),r&&(0,j.jsx)(P.A,{mt:h().alias.spacing.small,children:(0,j.jsx)(k.A,{variant:"primary",fullWidth:!0,"data-testid":"home-hero-button",onClick:o,children:(0,j.jsx)(H.A,W({},I.cta))})})]})})]})};var F=t(2566),X=t(67190),Y=t.n(X),z=t(78953),J=t(94951),V=t(42898);let q=(0,B.YK)({title:{id:"regions.Condominium.Pages.Home.title",defaultMessage:[{type:0,value:"Melhores Condom\xednios do Brasil para Morar - "},{type:1,value:"companyName"}]},description:{id:"regions.Condominium.Pages.Home.description",defaultMessage:[{type:0,value:"Conhe\xe7a os melhores condom\xednios do Brasil no "},{type:1,value:"companyName"},{type:0,value:"! Encontre op\xe7\xf5es com seguran\xe7a, lazer e localiza\xe7\xe3o ideal. Acesse agora!"}]}
3,cityCondoCarouselTitle:{id:"regions.Condominium.Pages.Home.cityCondoCarouselTitle",defaultMessage:[{type:0,value:"Condom\xednios em "},{type:1,value:"regionName"}]}}),K=e=>{let r=(0,d.A)(),t=(0,p.J)(r.locale),{isMobile:o}=(0,a.Y)(),i=(0,J.V)(),{supportedRegions:b,multipleCityInfo:h}=e.info,y=(0,z.lf)(b),v=l()(y,e=>s()(e.primaryText)),C=h?h.slice().sort((e,r)=>{let t=R.YJ.findIndex(r=>r.slug===e.slug),n=R.YJ.findIndex(e=>e.slug===r.slug);return(-1===t?1/0:t)-(-1===n?1/0:n)}):void 0,{sectionsWithRefs:O,scrollToSection:N}=(0,g.F)(["featured_cities"],-120),P=(0,c.useCallback)(()=>{N(O[0].ref)},[O,N]);return(0,j.jsxs)(j.Fragment,{children:[(0,j.jsx)(u.A,{title:q.title,titleValues:{companyName:t},description:q.description,descriptionValues:{companyName:t}}),(0,j.jsx)("div",{className:Y().wrapper,"data-testid":"home-page",children:(0,j.jsxs)(S.dN,{origin:V.$e.CONDOMINIUM_HOME,prefix:"condo_home",children:[(0,j.jsx)(n.A,{trackingPage:"condominium",handleLoginRedirect:i}),(0,j.jsx)(D,{isMobile:o,handleHeroCta:P}),(0,j.jsx)(m.F,{argsToHandlerTracking:"2",cities:y,ref:O[0]?.ref,isCondoPage:!0}),(0,j.jsx)(x.P,{argsToHandlerTracking:"3",cities:v,showCtas:!1,isCondoPage:!0}),(0,j.jsx)(f.H,{argsToHandlerTracking:"4",places:y,isCondoPage:!0}),C?.map((e,t)=>(0,j.jsxs)(c.Fragment,{children:[2===t&&(0,j.jsx)(_.e,{promoCreative:A.C.Home}),(0,j.jsx)("div",{className:Y().homeCarouselSection,children:(0,j.jsx)(w,{withoutMargin:!0,title:r.formatMessage(q.cityCondoCarouselTitle,{regionName:e.name}),condos:e.topCondos,city:{name:e.name,slug:e.slug}})})]},e.slug)),(0,j.jsx)(F.c,{})]})})]})};var U=!0},34678:(e,r,t)=>{"use strict";t.d(r,{A:()=>j});var n=t(41765),a=t(95356),o=t(53239),s=t(64590),i=t(3638),l=t(29330),c=t(31771),d=t(39997),u=t(17648),p=t(80263);let m=["className","component"];var f=t(86579),g=t(20806),x=t(24627);let b=(0,t(66377).A)("MuiBox",["root"]),h=(0,g.A)(),y=function(e={}){let{themeId:r,defaultTheme:t,defaultClassName:a="MuiBox-root",generateClassName:f}=e,g=(0,l.default)("div",{shouldForwardProp:e=>"theme"!==e&&"sx"!==e&&"as"!==e})(c.A);return o.forwardRef(function(e,o){let l=(0,u.A)(t),c=(0,d.A)(e),{className:x,component:b="div"}=c,h=(0,s.A)(c,m);return(0,p.jsx)(g,(0,n.A)({as:b,ref:o,className:(0,i.A)(x,f?f(a):a),theme:r&&l[r]||l},h))})}({themeId:x.A,defaultTheme:h,defaultClassName:b.root,generateClassName:f.A.generate});var v=["borderRadius","gridGap","gridColumnGap","gridRowGap","gridgap"],C=o.forwardRef(function(e,r){var t=e.borderRadius,s=e.gridGap,i=e.gridColumnGap,l=e.gridRowGap,c=e.gridgap,d=void 0===c?0:c,u=(0,a.A)(e,v);return o.createElement(y,(0,n.A)({ref:r,borderRadius:"number"==typeof t?"".concat(t,"px"):t,gap:s||("number"==typeof d?"".concat(8*d,"px"):void 0),columnGap:i,rowGap:l},u))});C.propTypes={};let j=C},36015:e=>{e.exports={wrapper:"CustomCarousel_wrapper__Ljx4B",swiperWrapper:"CustomCarousel_swiperWrapper__5OICW",swiperSlide:"CustomCarousel_swiperSlide__24r0I",topElement:"CustomCarousel_topElement__HpWfb"}},40273:(e,r,t)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/condominios",function(){return t(31887)}])},48005:(e,r,t)=>{"use strict";t.d(r,{e:()=>n.e});var n=t(10612)},66995:e=>{e.exports={externalContainer:"styles_externalContainer__cnwG_",container:"styles_container__6xfPg",imageContainer:"styles_imageContainer__reMXy",boxContainer:"styles_boxContainer__0jadz",textContainer:"styles_textContainer__BjORi"}},70239:(e,r,t)=>{"use strict";t.d(r,{b:()=>a});var n=t(23727);let a=({src:e,assetPrefix:r})=>{let t=["dev","env"].includes("production")||"hermetic"===n.env.NEXT_PUBLIC_BROWSER_TEST?"":`https://static.quintoandar.com.br/${r}`;return`${t}/images/${e}`}},74252:(e,r,t)=>{"use strict";function n(e,r){if(null==e)return{};var t,n,a=function(e,r){if(null==e)return{};var t={};for(var n in e)if(({}).hasOwnProperty.call(e,n)){if(-1!==r.indexOf(n))continue;t[n]=e[n]}return t}(e,r);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)t=o[n],-1===r.indexOf(t)&&({}).propertyIsEnumerable.call(e,t)&&(a[t]=e[t])}return a}t.d(r,{A:()=>n})},76702:(e,r,t)=>{"use strict";t.d(r,{q:()=>g});var n=t(34678),a=t(37893),o=t(10288),s=t.n(o),i=t(53239);t(23547);
3var l=t(75286),c=t(90752),d=t.n(c),u=t(80263);let p=(0,i.memo)(({children:e,index:r,hideArrows:t,elementWidth:a})=>t?(0,u.jsx)(n.A,{className:d().scrollableContainer,width:a,children:e},`card-carousel-${r}`):(0,u.jsx)(n.A,{width:a,children:e},`card-carousel-${r}`));var m=t(36015),f=t.n(m);let g=(0,i.forwardRef)(function({elementsList:e=[],hideArrows:r=!1,elementWidth:t=312,padding:o=0,marginArrow:c=0,key:d,topElement:m,gap:g=24},x){let b=(0,i.useRef)(null);return(0,i.useImperativeHandle)(x,()=>({slideToStart:()=>{b.current&&b.current.swiper&&b.current.swiper.slideTo(0)}})),(0,u.jsx)("div",{className:f().wrapper,children:(0,u.jsxs)(l.RC,{ref:b,className:f().swiperWrapper,spaceBetween:g,slidesPerView:"auto",children:[m&&(0,u.jsx)("div",{className:f().topElement,children:m}),e.map((e,n)=>(0,u.jsx)(l.qr,{className:f().swiperSlide,style:{"--width":`${t}px`,"--padding":o},children:(0,u.jsx)(p,{index:n,hideArrows:r,elementWidth:t,children:e})},`swiper-${d}-${n}`)),r?null:(0,u.jsx)(n.A,{justifyContent:"flex-end",display:"flex",mt:s().alias.spacing.small,pr:0,gridArea:"bottomElement",children:(0,u.jsx)(n.A,{width:"128px",mr:c,children:(0,u.jsx)(a.A,{})})})]})})})},78942:(e,r,t)=>{"use strict";t.d(r,{A:()=>s});var n=t(34678),a=t(10288),o=t.n(a);let s=(0,t(7930).Ay)(n.A).withConfig({componentId:"sc-yay8i6-0"})(["width:100%;display:flex;list-style:none;gap:",";overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;::-webkit-scrollbar{display:none;}"],o().alias.spacing.xsmall)},81305:(e,r,t)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"useMergedRef",{enumerable:!0,get:function(){return a}});let n=t(53239);function a(e,r){let t=(0,n.useRef)(null),a=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let e=t.current;e&&(t.current=null,e());let r=a.current;r&&(a.current=null,r())}else e&&(t.current=o(e,n)),r&&(a.current=o(r,n))},[e,r])}function o(e,r){if("function"!=typeof e)return e.current=r,()=>{e.current=null};{let t=e(r);return"function"==typeof t?t:()=>e(null)}}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),e.exports=r.default)},84361:(e,r,t)=>{"use strict";t.d(r,{g:()=>o});var n=t(10288),a=t.n(n);let o=(0,t(7930).AH)(["::-webkit-scrollbar{width:",";}::-webkit-scrollbar-thumb{background:",";border-radius:0;width:",";}::-webkit-scroller{background:",";border-radius:0;width:",";}scrollbar-color:"," transparent;scrollbar-width:",";"],a().alias.spacing.xxsmall,a().alias.color.surface.interaction.default,a().alias.spacing.xxsmall,a().alias.color.surface.interaction.default,a().alias.spacing.xxsmall,a().alias.color.surface.interaction.default,a().alias.spacing.xxsmall)},90752:e=>{e.exports={scrollableContainer:"CarouselCard_scrollableContainer__s_LXy"}}},e=>{e.O(0,[1816,7930,1778,7390,151,7580,6326,9177,7357,3619,2686,4671,7179,9111,1083,4163,541,3244,6287,4165,1161,1989,5809,7831,7993,8435,4248,5752,8796,5188,5295,636,6593,8963,9966,8792],()=>e(e.s=40273)),_N_E=e.O()}]);
4//# debugId=ad3c877a-4696-54ba-962a-fedc95ea711f

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.