PageSourceSearch

https://www.lavvi.com.br/_next/static/chunks/2a7f30dd25d31756.js

js lavvi.com.br collected 2026-10-02 19:08:44 UTC 16,362 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,39202,e=>{"use strict";var t=e.i(22857),r=e.i(97538),a=e.i(18471);function i({pageData:e}){let i=(0,t.usePathname)(),s=(0,r.useRef)("");return(0,r.useEffect)(()=>{let t,r=e&&Object.keys(t=Object.fromEntries(Object.entries(e).filter(([,e])=>void 0!==e))).length>0?t:void 0,l=r?`${i}:data`:i;if(s.current===l||!r&&window.__gtmPageViewFired===i)return;s.current=l,window.__gtmPageViewFired=i;let n="/"===i?"home":"/contato"===i?"contato":i.startsWith("/empreendimentos")?"empreendimento":i.startsWith("/blog")?"blog":"institucional";(0,a.trackPageView)({page_type:n,...r})},[i,e]),null}e.s(["GTMPageViewTracker",()=>i])},73485,e=>{"use strict";var t=e.i(29605),r=e.i(97538),a=e.i(61653);function i({productId:e,productName:i}){let s=(0,t.useSetAtom)(a.productIdAtom),l=(0,t.useSetAtom)(a.productNameAtom);return(0,r.useEffect)(()=>{s(e),l(i??"")},[e,i,s,l]),null}e.s(["PageTracker",()=>i])},66690,e=>{"use strict";let t=(0,e.i(8977).default)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]);e.s(["default",()=>t])},58925,e=>{"use strict";var t=e.i(66690);e.s(["ChevronRight",()=>t.default])},11337,e=>{"use strict";var t=e.i(20910);function r({as:e="div",children:r,className:a,...i}){return(0,t.jsx)(e,{className:a,...i,children:r})}e.s(["CustomTag",()=>r])},89069,e=>{"use strict";var t=e.i(20910),r=e.i(58925),a=e.i(34127),i=e.i(19455),s=e.i(11337),l=e.i(75157);function n({icon:e=(0,t.jsx)(r.ChevronRight,{className:"size-4 transition-colors group-hover:text-white"}),text:n,className:o,href:u,children:c,...d}){return(0,t.jsx)(i.Button,{title:n,className:(0,l.cn)("group",o),asChild:!!u,...d,children:(0,t.jsx)(s.CustomTag,{as:u?a.default:"span",href:u,children:(0,t.jsxs)("span",{className:"relative inline-block duration-500 group-hover:-translate-x-2.5",children:[(0,t.jsx)("span",{className:"transition-colors group-hover:text-white",children:c??n}),(0,t.jsx)("span",{className:"absolute top-1/2 right-0 -translate-y-1/2 opacity-0 duration-500 group-hover:-right-5 group-hover:opacity-100",children:e})]})})})}e.s(["AnimatedIconButton",()=>n])},76879,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let a=e.r(19151);function i({reason:e,children:t}){if("u"<typeof window)throw Object.defineProperty(new a.BailoutToCSRError(e),"__NEXT_ERROR_CODE",{value:"E394",enumerable:!1,configurable:!0});return t}}
1,7837,(e,t,r)=>{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},70097,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return o}});let a=e.r(20910),i=e.r(24060),s=e.r(42004),l=e.r(7837),n=e.r(71816);function o({moduleIds:e}){if("u">typeof window)return null;let t=s.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;r.push(...e)}}if(0===r.length)return null;let o=(0,n.getDeploymentIdQueryOrEmptyString)();return(0,a.jsx)(a.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,l.encodeURIPath)(e)}${o}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},93506,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return u}});let a=e.r(20910),i=e.r(97538),s=e.r(76879),l=e.r(70097);function n(e){return{default:e&&"default"in e?e.default:e}}let o={loader:()=>Promise.resolve(n(()=>null)),loading:null,ssr:!0},u=function(e){let t={...o,...e},r=(0,i.lazy)(()=>t.loader().then(n)),u=t.loading;function c(e){let n=u?(0,a.jsx)(u,{isLoading:!0,pastDelay:!0,error:null}):null,o=!t.ssr||!!t.loading,c=o?i.Suspense:i.Fragment,d=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"<typeof window?(0,a.jsx)(l.PreloadChunks,{moduleIds:t.modules}):null,(0,a.jsx)(r,{...e})]}):(0,a.jsx)(s.BailoutToCSR,{reason:"next/dynamic",children:(0,a.jsx)(r,{...e})});return(0,a.jsx)(c,{...o?{fallback:n}:{},children:d})}return c.displayName="LoadableComponent",c}},32895,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let a=e.r(81258)._(e.r(93506));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,a.default)({...i,modules:i.loadableGenerated?.modules})}("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),t.exports=r.default)},52556,e=>{"use strict";var t=e.i(20910),r=e.i(32895),a=e.i(97538),i=e.i(75157);let s=(0,r.default)(()=>e.A(14181),{loadableGenerated:{modules:[44632]},ssr:!1,loading:()=>(0,t.jsx)("div",{className:"animate-pulse bg-gray-50 p-8 text-center",children:(0,t.jsxs)("div",{className:"mx-auto max-w-md",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-200",children:(0,t.jsxs)("svg",{className:"h-8 w-8 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),(0,t.jsx)("p",{className:"font-medium text-gray-600",children:"Carregando mapa..."})]})})});class l extends a.Component{state={hasError:!1};static getDerivedStateFromError(){return{hasError:!0}}render(){return this.state.hasError?null:this.props.children}}function n({points:e=[],className:r,id:a}){let n=e.filter(e=>e?.latitude&&e?.longitude);return 0===n.length?(0,t.jsx)("div",{className:(0,i.cn)("animate-pulse bg-gray-50 p-8 text-center",r),children:(0,t.jsxs)("div",{className:"mx-auto max-w-md",children:[(0,t.jsx)("div",{className:"mx-auto mb-4 flex h-16 w-16 items-center justify-center rounded-full bg-gray-200",children:(0,t.jsxs)("svg",{className:"h-8 w-8 text-gray-400",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:[(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M17.657 16.657L13.414 20.9a1.998 1.998 0 01-2.827 0l-4.244-4.243a8 8 0 1111.314 0z"}),(0,t.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 11a3 3 0 11-6 0 3 3 0 016 0z"})]})}),(0,t.jsx)("p",{className:"font-medium text-gray-600",children:"Nenhum ponto com localização disponível"})]})}):(0,t.jsx)(l,{children:(0,t.jsx)(s,{points:n,className:r,id:a})})}e.s(["Maps",()=>n])},93454,e=>{"use strict";var t=e.i(20910),r=e.i(11337),a=e.i(75157);function i({children:e,as:i,className:s}){return(0,t.jsx)(r.CustomTag,{as:i,className:(0,a.cn)("inline-block border border-white/20 bg-white/10 px-4 py-2.5 text-xs font-semibold text-white uppercase backdrop-blur-2xl lg:font-bold",s),children:e})}e.s(["HighlightTag",()=>i])},80033,e=>{"use strict";var t=e.i(20910),r=e.i(9658),a=e.i(34127),i=e.i(97538),s=e.i(89069),l=e.i(75157);function n({className:e}){return(0,t.jsx)("div",{className:(0,l.cn)("inline-flex w-32 rounded-md bg-white p-2 shadow-sm",e),children:(0,t.jsx)(r.default,{src:"/images/selo-his-prefeitura-sp.jpg",alt:"Selo Habitação de Interesse Social - Prefeitura de São Paulo",width:1981,height:406,className:"h-auto w-full"})})}var o=e.i(93454),u=e.i(72436);function c({imageSrc:e,images:c,ctaLink:d,region:h,title:p,attributes:f,className:m,status:g,isHis:x}){let b=f?.filter(e=>e.label)||[],v=c?.thumbnail?.[0]?.url||c?.banner_principal?.[0]?.url||e,y=(0,t.jsxs)("div",{className:(0,l.cn)("group flex min-w-0 flex-col gap-1",m),children:[(0,t.jsxs)("div",{className:"relative mb-3 aspect-square w-full overflow-hidden bg-light",children:[v&&(0,t.jsx)(r.default,{src:v,alt:p,className:"aspect-square object-cover object-center duration-500 ease-in-out group-hover:scale-105",fill:!0,sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 50vw, 33vw"}),!!g&&(0,t.jsx)(o.HighlightTag,{className:"absolute top-2.5 left-2.5",children:g}),x&&(0,t.jsx)(n,{className:"absolute top-2.5 right-2.5 w-44"}),(0,t.jsx)(s.AnimatedIconButton,{className:"absolute bottom-2.5 left-2.5 min-w-41.5",variant:"tertiary",asChild:!0,children:(0,t.jsx)("span",{children:"Ver detalhes"})})]}),(0,t.jsx)(u.Separator,{text:h,className:"mb-1 text-primary"}),(0,t.jsx)("h3",{className:"typography-h3 text-body",children:p}),!!b.length&&(0,t.jsx)("div",{className:"flex flex-wrap gap-x-1 typography-body text-body/80 opacity-60",children:b.map((e,r)=>(0,t.jsxs)(i.Fragment,{children:[(0,t.jsx)("div",{children:e.label}),r<b.length-1&&(0,t.jsx)("span",{children:" - "})]},`${e.label}-${r}`))})]});return d?.href?(0,t.jsx)(a.default,{href:d.href,"aria-label":`Abrir detalhes de ${p}`,className:"cursor-pointer","data-gtm-click-type":"content","data-gtm-link-name":`ver-detalhes-${d.href.split("/").pop()}`,children:y}):y}e.s(["VentureCard",()=>c],80033)},14574,e=>{"use strict";var t=e.i(20910),r=e.i(8977);let a=(0,r.default)("bed",[["path",{d:"M2 4v16",key:"vw9hq8"}],["path",{d:"M2 8h18a2 2 0 0 1 2 2v10",key:"1dgv2r"}],["path",{d:"M2 17h20",key:"18nfp3"}],["path",{d:"M6 8v9",key:"1yriud"}]]),i=(0,r.default)("bed-double",[["path",{d:"M2 20v-8a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v8",key:"1k78r4"}],["path",{d:"M4 10V6a2 2 0 0 1 2-2h12a2 2 0 0 1 2 2v4",key:"fb3tl2"}],["path",{d:"M12 4v6",key:"1dcgq2"}],["path",{d:"M2 18h20",key:"ajqnye"}]]),s=(0,r.default)("car-front",[["path",{d:"m21 8-2 2-1.5-3.7A2 2 0 0 0 15.646 5H8.4a2 2 0 0 0-1.903 1.257L5 10 3 8",key:"1imjwt"}],["path",{d:"M7 14h.01",key:"1qa3f1"}],["path",{d:"M17 14h.01",key:"7oqj8z"}],["rect",{width:"18",height:"8",x:"3",y:"10",rx:"2",key:"a7itu8"}],["path",{d:"M5 18v2",key:"ppbyun"}],["path",{d:"M19 18v2",key:"gy7782"}]]),l=(0,r.default)("dollar-sign",[["line",{x1:"12",x2:"12",y1:"2",y2:"22",key:"7eqyqh"}],["path",{d:"M17 5H9.5a3.5 3.5 0 0 0 0 7h5a3.5 3.5 0 0 1 0 7H6",key:"1b0p4s"}]]),n=(0,r.default)("scaling",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M14 15H9v-5",key:"pi4jk9"}],["path",{d:"M16 3h5v5",key:"1806ms"}],["path",{d:"M21 3 9 15",key:"15kdhq"}]]),o={Metragens:(0,t.jsx)(n,{}),Suítes:(0,t.jsx)(i,{}),Dormitórios:(0,t.jsx)(a,{}),"Vagas de garagem":(0,t.jsx)(s,{}),Price:(0,t.jsx)(l,{})},u=[{key:"Metragens",suffix:""},{key:"Suítes",suffix:" Suítes"},{key:"Dormitórios",suffix:" Dormitórios"},{key:"Vagas de garagem",suffix:" Vagas"}];function c(e){return e?u.reduce((t,{key:r,suffix:a})=>{let i=e[r],s=i?.values.find(e=>1===e.destaque);if(!s)return t;let l=s.value;return t.push({label:l?`${l}${a}`:"",value:l,icon:o[r]||null}),t},[]):[]}function d(e,t){let r=c(t.type_items);return{images:t.images,title:t.name,highlightTags:[],ctaLink:{href:`/empreendimentos/${e}`,label:"Ver detalhes"},region:t.district,attributes:r,isHis:t.is_his}}function h(e){let t=c(e.type_items);return{images:e.images,title:e.name,highlightTags:[],ctaLink:{href:`/empreendimentos/${e.slug}`,label:"Ver detalhes"},region:e.district,attributes:t,isHis:e.is_his}}e.s(["toCardPropsFromSimilar",()=>h,"toCardPropsFromVenture",()=>d],14574)},74186,e=>{"use strict";var t=e.i(22857),r=e.i(97538),a=e.i(18471);let i=[{param:"dormitorios",field:"filter_bedrooms",transform:e=>e.replace(/_quartos?/,"")},{param:"estagio_obra",field:"filter_building_stage"},{param:"metragem",field:"filter_property_area"},{param:"preco",field:"filter_property_value"},{param:"vagas",field:"filter_garage"},{param:"area",field:"filter_common_areas"}],s=["localizacao",...i.map(e=>e.param)];function l({resultsCount:e,neighborhoodToZoneMap:l}){let n=(0,t.useSearchParams)(),o=(0,r.useRef)(!0),u=(0,r.useRef)(l);u.current=l;let c=n.toString();return(0,r.useEffect)(()=>{let t=new URLSearchParams(c);if(o.current&&(o.current=!1,!s.some(e=>t.has(e))))return;let r=function(e,t,r){let a={search_results_count:r},s=e.get("localizacao");if(s){let e=s.split("|"),r=new Set,i=[];for(let a of e){let e=t[a.toLowerCase()];e&&r.add(e),i.push(a)}r.size>0&&(a.filter_zone=[...r]),i.length>0&&(a.filter_neighborhood=i)}for(let{param:t,field:r,transform:s}of i){let i=e.get(t);if(!i)continue;let l=i.split("|");a[r]=s?l.map(s):l}return a}(t,u.current,e);(0,a.trackSearchInteraction)(r)},[c,e]),null}e.s(["GTMSearchTracker",()=>l])},90696,e=>{"use strict";var t=e.i(20910),r=e.i(97538),a=e.i(52556),i=e.i(75157);function s({showAll:e,onToggle:r,className:a}){return(0,t.jsx)("div",{className:(0,i.cn)("flex items-center justify-end",a),children:(0,t.jsxs)("div",{className:"flex gap-5",children:[(0,t.jsx)("button",{type:"button",title:"Ver apenas imóveis à venda",onClick:()=>r(!1),className:(0,i.cn)("cursor-pointer border border-primary px-[50px] py-5 text-sm leading-[20px] tracking-[2px] uppercase transition-all",e?"bg-white text-primary hover:brightness-95":"bg-primary text-white hover:brightness-110"),children:"Imóveis a venda"}),(0,t.jsx)("button",{type:"button",title:"Ver todos os imóveis",onClick:()=>r(!0),className:(0,i.cn)("cursor-pointer border border-primary px-[50px] py-5 text-sm leading-[20px] tracking-[2px] uppercase transition-all",e?"bg-primary text-white hover:brightness-110":"bg-white text-primary hover:brightness-95"),children:"Todos os imóveis"})]})})}function l({availablePoints:e,allPoints:i}){let[l,n]=(0,r.useState)(!1);return(0,t.jsxs)("section",{className:"relative",children:[(0,t.jsx)(s,{showAll:l,onToggle:n,className:"absolute top-8 r
1ight-8 z-10"}),(0,t.jsx)(a.Maps,{points:l?i:e,className:"h-116 w-full"})]})}e.s(["VenturesMap",()=>l],90696)},74062,e=>{"use strict";var t=e.i(20910),r=e.i(11337),a=e.i(11520);function i(e){return e.replaceAll("_"," ").replace(/\b(\w)/g,e=>e.toUpperCase()).replace(" Mais ","+ ")}function s({filterData:e}){let{appliedFilters:s,removeAppliedFilter:l,clearFilters:n}=(0,a.useFilterContext)(),o=Object.entries(s).flatMap(([e,t])=>t.map(t=>({category:e,value:t})));return 0===o.length?null:(0,t.jsx)("section",{className:"mt-5 bg-[color:var(--background-filter)] p-3 sm:p-4",children:(0,t.jsxs)("div",{className:"flex w-full flex-wrap items-center gap-2 sm:gap-3",children:[o.map(({category:a,value:s})=>{let n;return n="location"===a?function(e,t){let r=t.find(e=>"location"===e.filterCategory);if(!r)return i(e);for(let t of r.filters)if(t.children){let r=t.children.find(t=>t.value===e);if(r)return`${t.label}: ${r.label}`}let a=r.filters.find(t=>t.value===e);return a?a.label:i(e)}(s,e):function(e,t,r){let a=r.find(e=>e.filterCategory===t);if(!a)return null;let i=a.filters.find(t=>t.value===e);return i?.label??null}(s,a,e)??i(s),(0,t.jsxs)(r.CustomTag,{className:"inline-flex h-8 cursor-pointer items-center gap-2 border border-[color:var(--border-filter)] bg-white px-3 text-xs font-semibold tracking-widest text-[color:var(--text-color-dark)] uppercase hover:bg-gray-50 sm:px-4",onClick:()=>l(a,s),children:[(0,t.jsx)("span",{children:n}),(0,t.jsx)("span",{"aria-hidden":"true",className:"ml-1 text-[color:var(--text-color-light)]",children:"×"})]},`${a}:${s}`)}),(0,t.jsx)("button",{type:"button",onClick:n,className:"order-last inline-flex h-8 w-full items-center px-3 text-left text-xs tracking-widest text-[color:var(--text-color-light)] uppercase hover:text-[color:var(--text-color-dark)] sm:order-none sm:ml-auto sm:w-auto",children:"Limpar todos os filtros X"})]})})}e.s(["AppliedFilterChips",()=>s])},96823,e=>{"use strict";var t=e.i(20910),r=e.i(80033),a=e.i(14574);function i({items:e}){return 0===e.length?null:(0,t.jsx)("div",{className:"mt-8 grid grid-cols-1 gap-14 md:grid-cols-3",children:e.map(e=>(0,t.jsx)(r.VentureCard,{className:"w-full",...(0,a.toCardPropsFromVenture)(e.slug,e)},`sold-${e.slug}`))})}e.s(["SoldVentureGrid",()=>i])},14181,e=>{e.v(t=>Promise.all(["static/chunks/3813ef05deaa36e0.css","static/chunks/486784fbdcd57da8.js"].map(t=>e.l(t))).then(()=>t(44632)))}]);

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.