1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,584887,e=>{"use strict";var r=e.i(843476),a=e.i(522016),t=e.i(972520),s=e.i(778917),l=e.i(691914),i=e.i(647163),n=e.i(38395);e.s(["HomeSection",0,function({id:e,labelledBy:a,tone:t="plain",divider:s=!1,className:l,children:o}){return(0,r.jsx)("section",{id:e,"aria-labelledby":a,className:(0,i.cn)(n.HOME_SECTION_Y,"band"===t&&n.HOME_BAND,s&&n.HOME_DIVIDER,"overflow-x-clip",l),children:(0,r.jsx)("div",{className:n.HOME_CONTAINER,children:o})})},"SectionHeader",0,function({id:e,title:a,sub:t,action:s,className:l}){return(0,r.jsxs)("div",{className:(0,i.cn)("mb-7 flex flex-col gap-3 sm:mb-9 sm:flex-row sm:items-end sm:justify-between",l),children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h2",{id:e,className:n.HOME_H2,children:a}),t?(0,r.jsx)("p",{className:n.HOME_SUB,children:t}):null]}),s?(0,r.jsx)("div",{className:"shrink-0",children:s}):null]})},"TextLink",0,function({href:e,children:o,external:d,className:c}){let h=d?s.ExternalLink:t.ArrowRight,u=(0,r.jsx)(h,{className:n.HOME_ARROW,"aria-hidden":!0}),m=(0,i.cn)(n.HOME_TEXT_LINK,c);return d?(0,r.jsxs)("a",{href:e,target:"_blank",rel:"noopener noreferrer",className:m,children:[o,(0,r.jsxs)("span",{className:"sr-only",children:[" ",(0,r.jsx)(l.TText,{id:"hp-link-new-tab"})]}),u]}):(0,r.jsxs)(a.default,{href:e,className:m,children:[o,u]})}])},344862,e=>{"use strict";var r=e.i(843476),a=e.i(522016),t=e.i(271645),s=e.i(618566),l=e.i(972520),i=e.i(643531),n=e.i(124083),o=e.i(289406),d=e.i(647163),c=e.i(38395),h=e.i(584887);let u=[30,50,80,120,200];e.s(["HomeAfterSearch",0,function(){let{t:e,language:m}=(0,n.useLanguage)(),p=(0,s.useRouter)(),x=(0,o.getPropertiesBrowseHomeHref)(m),[f,g]=(0,t.useState)(80),b=(0,t.useRef)([]),v=[{key:"radar",title:e("hp-after-radar-title"),desc:e("hp-after-radar-desc"),cta:e("hp-after-radar-cta"),href:"/property-radar"},{key:"loan",title:e("hp-after-loan-title"),desc:e("hp-after-loan-desc"),cta:e("hp-after-loan-cta"),href:"/loan-advisors"},{key:"guide",title:e("hp-after-guide-title"),desc:e("hp-after-guide-desc"),cta:e("hp-after-guide-cta"),href:"/vasar"}],j=[{label:e("hp-after-guide-financing"),href:"/vasar/finanszirozas"},{label:e("hp-after-guide-taxes"),href:"/vasar/adok-illetekek"},{label:e("hp-after-guide-process"),href:"/vasar/folyamat"}];return(0,r.jsx)(h.HomeSection,{tone:"band",labelledBy:"hp-after-title",children:(0,r.jsxs)("div",{className:"grid gap-10 lg:grid-cols-[minmax(0,1.5fr)_minmax(0,1fr)] lg:gap-16",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"hp-after-title",className:c.HOME_H2,children:e("hp-after-title")}),(0,r.jsx)("ul",{className:"mt-6 divide-y divide-border/70",children:v.map(e=>(0,r.jsxs)("li",{className:"grid gap-2 py-6 sm:grid-cols-[180px_minmax(0,1fr)] sm:gap-8",children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:e.title}),(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:"text-pretty text-[15px] leading-relaxed text-muted-foreground",children:e.desc}),(0,r.jsx)("div",{className:"mt-3",children:(0,r.jsx)(h.TextLink,{href:e.href,children:e.cta})}),"guide"===e.key?(0,r.jsx)("ul",{className:"mt-2 flex flex-wrap gap-x-4 gap-y-1 text-sm",children:j.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(a.default,{href:e.href,className:"inline-flex min-h-10 items-center text-muted-foreground underline-offset-4 transition-colors hover:text-foreground hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring rounded-sm",children:e.label})},e.href))}):null]})]},e.key))})]}),(0,r.jsxs)("div",{className:(0,d.cn)(c.HOME_SURFACE,"self-start p-6 sm:p-8"),children:[(0,r.jsx)("h3",{className:"text-lg font-semibold text-foreground",children:e("hp-budget-title")}),(0,r.jsx)("p",{className:"mt-1.5 text-[15px] leading-relaxed text-muted-foreground",children:e("hp-budget-desc")}),(0,r.jsx)("div",{role:"radiogroup","aria-label":e("hp-budget-title"),className:"mt-5 flex flex-wrap gap-2",children:u.map((a,t)=>{let s=f===a;return(0,r.jsxs)("button",{ref:e=>{b.current[t]=e},type:"button",role:"radio","aria-checked":s,tabIndex:s?0:-1,onClick:()=>g(a),onKeyDown:e=>((e,r)=>{if("ArrowLeft"!==e.key&&"ArrowRight"!==e.key)return;e.preventDefault();let a=(r+("ArrowRight"===e.key?1:-1)+u.length)%u.length;g(u[a]),b.current[a]?.focus()})(e,t),className:(0,d.cn)("inline-flex h-10 items-center gap-1.5 rounded-full border px-4 text-sm font-semibold transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",s?"border-foreground bg-foreground text-background":"border-border bg-card text-foreground hover:bg-accent"),children:[s&&(0,r.jsx)(i.Check,{className:"h-3.5 w-3.5","aria-hidden":!0}),e("hp-budget-upto",{amount:a})]},a)})}),(0,r.jsxs)("button",{type:"button",onClick:()=>p.push(`${x}?listingType=sale&maxPrice=${1e6*f}`),className:(0,d.cn)(c.HOME_PRIMARY_CTA,"mt-6 w-full sm:w-auto"),children:[e("hp-budget-cta"),(0,r.jsx)(l.ArrowRight,{className:c.HOME_ARROW,"aria-hidden":!0})]})]})]})})}])},149334,e=>{"use strict";var r=e.i(843476),a=e.i(657688),t=e.i(522016),s=e.i(124083),l=e.i(617101),i=e.i(647163),n=e.i(38395);e.s(["HomeAgentCard",0,function({agent:e,initials:o}){let{t:d,language:c}=(0,s.useLanguage)();
1return(0,r.jsxs)(t.default,{href:e.href,"aria-label":d("hp-agents-profile-aria",{name:e.name}),className:(0,i.cn)(n.HOME_SURFACE,"flex items-center gap-4 p-5 transition-colors duration-200 hover:bg-accent/60 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring"),children:[(0,r.jsx)("span",{className:"relative flex h-14 w-14 shrink-0 items-center justify-center overflow-hidden rounded-full bg-muted text-[15px] font-semibold text-foreground",children:e.avatarUrl?(0,r.jsx)(a.default,{src:e.avatarUrl,alt:"",width:56,height:56,sizes:"56px",className:"h-full w-full object-cover"}):(0,r.jsx)("span",{"aria-hidden":!0,children:o})}),(0,r.jsxs)("span",{className:"min-w-0",children:[(0,r.jsx)("span",{className:"block truncate text-[15px] font-semibold text-foreground",children:e.name}),e.company?(0,r.jsx)("span",{className:"block truncate text-[13px] text-muted-foreground",children:e.company}):null,null!==e.activeListings&&e.activeListings>0?(0,r.jsx)("span",{className:"block text-[13px] tabular-nums text-muted-foreground",children:(0,l.pluralText)(d,"hp-agents-listings",e.activeListings,c)}):null]})]})}])},681265,e=>{"use strict";var r=e.i(843476),a=e.i(522016),t=e.i(770703),s=e.i(271645),l=e.i(972520),i=e.i(124083),n=e.i(647163),o=e.i(38395);let d=(0,t.default)(()=>e.A(783145).then(e=>({default:e.CustomRequestDialog})),{loadableGenerated:{modules:[373848]},ssr:!1}),c="Debrecen, Kálvin tér",h=`https://www.google.com/maps/search/?api=1&query=${encodeURIComponent(c)}`,u=[{text:"+36 70 454 1545",href:"tel:+36704541545"},{text:"+36 70 454 1555",href:"tel:+36704541555"}],m="[email protected]",p="mailto:[email protected]",x="block truncate font-medium text-white underline-offset-4 hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 dark:text-foreground dark:focus-visible:ring-ring";e.s(["HomeContactSection",0,function(){let{t:e}=(0,i.useLanguage)(),[t,f]=(0,s.useState)(!1),[g,b]=(0,s.useState)(!1);return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("section",{id:"contact","aria-labelledby":"hp-cta-title",className:(0,n.cn)("pb-16 pt-6 sm:pb-24","overflow-x-clip"),children:(0,r.jsx)("div",{className:o.HOME_CONTAINER,children:(0,r.jsxs)("div",{className:"grid gap-8 overflow-hidden rounded-[20px] bg-neutral-950 p-7 text-white sm:p-10 lg:grid-cols-[minmax(0,1.3fr)_minmax(0,1fr)] lg:gap-14 lg:p-14 dark:border dark:border-border dark:bg-card dark:text-foreground",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"hp-cta-title",className:"text-balance text-3xl font-semibold leading-tight tracking-tight sm:text-4xl",children:e("hp-cta-title")}),(0,r.jsx)("p",{className:"mt-4 max-w-[54ch] text-pretty text-[15px] leading-relaxed text-white/70 sm:text-lg dark:text-muted-foreground",children:e("hp-cta-body")}),(0,r.jsxs)("div",{className:"mt-7 flex flex-col gap-3 sm:flex-row",children:[(0,r.jsxs)("button",{type:"button",onClick:()=>{b(!0),f(!0)},className:"group inline-flex h-12 items-center justify-center gap-2 rounded-full bg-white px-6 text-[15px] font-semibold text-neutral-950 transition-colors duration-200 hover:bg-white/90 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 focus-visible:ring-offset-2 focus-visible:ring-offset-neutral-950 dark:bg-foreground dark:text-background dark:hover:bg-foreground
1/85 dark:focus-visible:ring-ring dark:focus-visible:ring-offset-card",children:[e("hp-cta-primary"),(0,r.jsx)(l.ArrowRight,{className:o.HOME_ARROW,"aria-hidden":!0})]}),(0,r.jsx)(a.default,{href:"/ertektipp?src=home-cta",className:"inline-flex h-12 items-center justify-center gap-2 rounded-full border border-white/40 px-6 text-[15px] font-semibold text-white transition-colors duration-200 hover:bg-white/10 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-white/70 dark:border-border dark:text-foreground dark:hover:bg-accent dark:focus-visible:ring-ring",children:e("hp-cta-secondary")})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("h3",{className:"text-sm font-semibold uppercase tracking-wide text-white/70 dark:text-muted-foreground",children:e("hp-contact-title")}),(0,r.jsxs)("dl",{className:"mt-4 divide-y divide-white/15 dark:divide-border",children:[(0,r.jsxs)("div",{className:"grid grid-cols-[88px_minmax(0,1fr)] gap-4 py-3.5",children:[(0,r.jsx)("dt",{className:"text-[13px] font-medium text-white/70 dark:text-muted-foreground",children:e("hp-contact-phone")}),(0,r.jsx)("dd",{className:"min-w-0",children:u.map((e,a)=>(0,r.jsx)("a",{href:e.href,className:(0,n.cn)(x,a>0&&"text-sm text-white/85 dark:text-foreground/85"),children:e.text},e.href))})]}),(0,r.jsxs)("div",{className:"grid grid-cols-[88px_minmax(0,1fr)] gap-4 py-3.5",children:[(0,r.jsx)("dt",{className:"text-[13px] font-medium text-white/70 dark:text-muted-foreground",children:e("hp-contact-email")}),(0,r.jsx)("dd",{className:"min-w-0",children:(0,r.jsx)("a",{href:p,className:x,children:m})})]}),(0,r.jsxs)("div",{className:"grid grid-cols-[88px_minmax(0,1fr)] gap-4 py-3.5",children:[(0,r.jsx)("dt",{className:"text-[13px] font-medium text-white/70 dark:text-muted-foreground",children:e("hp-contact-office")}),(0,r.jsxs)("dd",{className:"min-w-0",children:[(0,r.jsx)("a",{href:h,target:"_blank",rel:"noopener noreferrer","aria-label":`${e("hp-contact-map-aria",{address:c})} ${e("hp-link-new-tab")}`,className:x,children:c}),(0,r.jsx)("span",{className:"block truncate text-sm text-white/85 dark:text-foreground/85",children:"Otthon Centrum Ingatlan Iroda"})]})]})]})]})]})})}),g&&(0,r.jsx)(d,{open:t,onOpenChange:f})]})}])},372146,e=>{"use strict";var r=e.i(843476),a=e.i(657688),t=e.i(522016),s=e.i(972520),l=e.i(37727),i=e.i(124083),n=e.i(262701),o=e.i(73750),d=e.i(647163);e.s(["HomeContinueStrip",0,function(){let{t:e}=(0,i.useLanguage)(),{currency:c}=(0,n.useCurrency)(),{items:h,hydrated:u,remove:m}=(0,o.useLocalSavedListings)();if(!u||0===h.length)return null;let p=h.slice(0,6);return(0,r.jsxs)("section",{"aria-labelledby":"hp-continue-title",className:"container mx-auto px-4 pt-10 sm:pt-12",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-end justify-between gap-4",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"hp-continue-title",className:"text-xl font-bold tracking-tight text-foreground sm:text-2xl",children:e("hp-continue-title")}),(0,r.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:e("hp-continue-sub")})]}),(0,r.jsxs)(t.default,{href:"/saved-properties",className:"inline-flex shrink-0 items-center gap-1.5 text-sm font-semibold text-primary hover:underline focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40",children:[e("hp-continue-all"),(0,r.jsx)(s.ArrowRight,{className:"h-4 w-4","aria-hidden":!0})]})]}),(0,r.jsx)("ul",{className:"-mx-4 flex snap-x snap-mandatory gap-3 overflow-x-auto px-4 pb-2 [scrollbar-width:none] sm:mx-0 sm:px-0 [&::-webkit-scrollbar]:hidden",children:p.map(s=>(0,r.jsxs)("li",{className:"relative w-[260px] shrink-0 snap-start",children:[(0,r.jsxs)(t.default,{href:s.href,className:"flex h-full items-center gap-3 rounded-2xl border border-border/70 bg-card p-2.5 pr-10 transition-colors hover:border-primary/40 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40",children:[(0,r.jsx)("span",{className:"relative h-16 w-20 shrink-0 overflow-hidden rounded-xl bg-muted",children:s.imageUrl&&(0,r.jsx)(a.default,{src:s.imageUrl,alt:"",fill:!0,sizes:"80px",className:"object-cover"})}),(0,r.jsxs)("span",{className:"min-w-0",children:[(0,r.jsx)("span",{className:"block truncate text-sm font-semibold text-foreground",children:null!=s.price?(0,d.formatPrice)(s.price,c,s.currency??"HUF"):s.title}),(0,r.jsx)("span",{className:"block truncate text-[13px] text-muted-foreground",children:s.location||s.title})]})]}),(0,r.jsx)("button",{type:"button",onClick:()=>m(s.id),"aria-label":`${e("hp-continue-remove")}: ${s.title}`,className:"absolute right-2 top-2 flex h-7 w-7 items-center justify-center rounded-full text-muted-foreground transition-colors hover:bg-muted hover:text-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary/40",children:(0,r.jsx)(l.X,{className:"h-3.5 w-3.5","aria-hidden":!0})})]},s.id))})]})}])},972497,e=>{"use strict";var r=e.i(617101),a=e.i(647163);let t={"price-drop":"hp-badge-price-drop",new:"hp-badge-new",video:"hp-badge-video","3d":"hp-badge-3d"};function s(e,r,t,s){let l=(0,a.convertCurrency)(e,r.sourceCurrency,s);return"HUF"===s&&l>=1e6?`${new Intl.NumberFormat(t,{maximumFractionDigits:1}).format(l/1e6)} M Ft`:(0,a.formatPrice)(e,s,r.sourceCurrency)}e.s(["getHomeListingSummary",0,function(e,l,i,n){let o,d=e.titles[l]||n("hp-card-untitled");if(null===e.price||e.price<=0)o=n("hp-card-price-on-request");else{let r=s(e.price,e,l,i);o="rent"===e.kind?n("hp-card-per-month",{price:r}):r}let c=null!==e.previousPrice&&e.previousPrice>0?s(e.previousPrice,e,l,i):null,h=[];null!==e.area&&e.area>0&&h.push(`${(0,r.formatDecimal)(e.area,l)} m\xb2`),((e.bedrooms??0)>0||(e.halfRooms??0)>0)&&h.push(`${(0,a.formatBedrooms)(e.bedrooms,e.halfRooms)} ${n("home-lotd-rooms")}`),e.hasBalcony&&h.push(n("hp-lotd-balcony"));let u=n(`hp-card-kind-${e.kind}`,{type:n(`hp-type-${e.propertyKind}`)});return{title:d,href:e.href,imageUrl:e.imageUrl,location:e.location,price:o,previousPrice:c,pricePerSqm:function(e,t,s,l){if(null===e.pricePerSqm||e.pricePerSqm<=0)return null;let i=(0,a.convertCurrency)(e.pricePerSqm,e.sourceCurrency,s);return"HUF"===s?i>=1e6?l("hp-card-ppsqm-m",{value:(0,r.formatDecimal)(i/1e6,t,2)}):l("hp-card-ppsqm-k",{value:new Intl.NumberFormat(t).format(Math.round(i/1e3))}):l("hp-card-ppsqm",{price:(0,a.formatPrice)(e.pricePerSqm,s,e.sourceCurrency)})}(e,l,i,n),facts:h.slice(0,3),kindLine:u,showFix3:e.isFinanceable&&"sale"===e.kind&&"ro"!==l,badges:e.badges.map(e=>({key:e,label:n(t[e])}
1)),ariaLabel:[d,o,e.location].filter(Boolean).join(", ")}}])},726424,e=>{e.v({accent:"home-hero-module__IwQPmq__accent",cardBadge:"home-hero-module__IwQPmq__cardBadge",cardBadges:"home-hero-module__IwQPmq__cardBadges",cardBody:"home-hero-module__IwQPmq__cardBody",cardFacts:"home-hero-module__IwQPmq__cardFacts",cardFix:"home-hero-module__IwQPmq__cardFix",cardKind:"home-hero-module__IwQPmq__cardKind",cardLink:"home-hero-module__IwQPmq__cardLink",cardLocation:"home-hero-module__IwQPmq__cardLocation",cardPhoto:"home-hero-module__IwQPmq__cardPhoto",cardPpsqm:"home-hero-module__IwQPmq__cardPpsqm",cardPreviousPrice:"home-hero-module__IwQPmq__cardPreviousPrice",cardPrice:"home-hero-module__IwQPmq__cardPrice",cardPriceRow:"home-hero-module__IwQPmq__cardPriceRow",cardSave:"home-hero-module__IwQPmq__cardSave",dailyCard:"home-hero-module__IwQPmq__dailyCard",dailyHeader:"home-hero-module__IwQPmq__dailyHeader",dailyLabel:"home-hero-module__IwQPmq__dailyLabel",description:"home-hero-module__IwQPmq__description",details:"home-hero-module__IwQPmq__details",eyebrow:"home-hero-module__IwQPmq__eyebrow",facts:"home-hero-module__IwQPmq__facts",filterButton:"home-hero-module__IwQPmq__filterButton",freshSection:"home-hero-module__IwQPmq__freshSection",hero:"home-hero-module__IwQPmq__hero",intro:"home-hero-module__IwQPmq__intro",listing:"home-hero-module__IwQPmq__listing",location:"home-hero-module__IwQPmq__location",locationCell:"home-hero-module__IwQPmq__locationCell",locationInput:"home-hero-module__IwQPmq__locationInput",offerTabs:"home-hero-module__IwQPmq__offerTabs",openIcon:"home-hero-module__IwQPmq__openIcon",page:"home-hero-module__IwQPmq__page",photoLink:"home-hero-module__IwQPmq__photoLink",photoShade:"home-hero-module__IwQPmq__photoShade",previousPrice:"home-hero-module__IwQPmq__previousPrice",price:"home-hero-module__IwQPmq__price",priceRow:"home-hero-module__IwQPmq__priceRow",propertyCard:"home-hero-module__IwQPmq__propertyCard",propertyGrid:"home-hero-module__IwQPmq__propertyGrid",propertyImage:"home-hero-module__IwQPmq__propertyImage",pulse:"home-hero-module__IwQPmq__pulse",save:"home-hero-module__IwQPmq__save",search:"home-hero-module__IwQPmq__search",searchActions:"home-hero-module__IwQPmq__searchActions",searchButton:"home-hero-module__IwQPmq__searchButton",searchButtonText:"home-hero-module__IwQPmq__searchButtonText",searchCell:"home-hero-module__IwQPmq__searchCell",searchHeadline:"home-hero-module__IwQPmq__searchHeadline",searchShell:"home-hero-module__IwQPmq__searchShell",sponsored:"home-hero-module__IwQPmq__sponsored",title:"home-hero-module__IwQPmq__title",typeCell:"home-hero-module__IwQPmq__typeCell",typeValue:"home-hero-module__IwQPmq__typeValue"})},438718,e=>{"use strict";var r=e.i(843476),a=e.i(124083),t=e.i(289406),s=e.i(657688),l=e.i(425063),i=e.i(72664),n=e.i(431343),o=e.i(522016),d=e.i(262701),c=e.i(144867),h=e.i(972497),u=e.i(726424);let m={"price-drop":l.ArrowDown,video:n.Play,"3d":i.Box};function p({card:e}){let{t,language:l}=(0,a.useLanguage)(),{currency:i}=(0,d.useCurrency)(),n=(0,h.getHomeListingSummary)(e,l,i,t);return(0,r.jsxs)("article",{className:u.default.propertyCard,children:[(0,r.jsxs)(o.default,{href:n.href,"aria-label":n.ariaLabel,className:u.default.cardLink,children:[(0,r.jsxs)("div",{className:u.default.cardPhoto,children:[(0,r.jsx)(s.default,{src:n.imageUrl??"/placeholder.svg",alt:"",fill:!0,sizes:"(max-width: 639px) 80vw, (max-width: 1023px) 45vw, 290px",className:u.default.propertyImage}),n.badges.length>0&&(0,r.jsx)("ul",{className:u.default.cardBadges,"aria-label":t("hp-card-badges-aria"),children:n.badges.map(e=>{let a=m[e.key];return(0,r.jsxs)("li",{className:u.default.cardBadge,children:[a&&(0,r.jsx)(a,{size:12,"aria-hidden":!0}),e.label]},e.key)})})]}),(0,r.jsxs)("div",{className:u.default.cardBody,children:[(0,r.jsxs)("p",{className:u.default.cardPriceRow,children:[(0,r.jsx)("span",{className:u.default.cardPrice,children:n.price}),n.previousPrice&&(0,r.jsxs)("s",{className:u.default.cardPreviousPrice,children:[(0,r.jsxs)("span",{className:"sr-only",children:[t("hp-card-previous-price-sr")," "]}),n.previousPrice]})]}),n.pricePerSqm&&(0,r.jsx)("p",{className:u.default.cardPpsqm,children:n.pricePerSqm}),(0,r.jsx)("h3",{className:u.default.cardLocation,children:n.location??n.title}),n.facts.length>0&&(0,r.jsx)("p",{className:u.default.cardFacts,children:n.facts.join(" · ")}),(0,r.jsxs)("p",{className:u.default.cardKind,children:[n.kindLine,n.showFix3&&(0,r.jsxs)("span",{className:u.default.cardFix,children:[" · ",t("hp-card-fix3")]})]})]})]}),(0,r.jsx)(c.SavePropertyButton,{propertyId:e.id,title:n.title,imageUrl:n.imageUrl,location:n.location,price:e.price,href:n.href,className:u.default.cardSave})]})}var x=e.i(584887);e.s(["HomeFreshListings",0,function({data:e}){let{t:s,language:l}=(0,a.useLanguage)();return"ready"===e.status&&0===e.items.length?null:(0,r.jsxs)("section",{id:"properties","aria-labelledby":"hp-fresh-title",className:u.default.freshSection,children:[(0,r.jsx)(x.SectionHeader,{id:"hp-fresh-title",title:s("hp-fresh-title"),action:(0,r.jsx)(x.TextLink,{href:(0,t.getPropertiesBrowseHomeHref)(l),children:s("hp-fresh-all")})}),"error"===e.status?(0,r.jsx)("p",{role:"status",className:"rounded-[20px] border border-dashed border-border px-6 py-10 text-center text-[15px] text-muted-foreground",children:s("hp-fresh-error")}):(0,r.jsx)("ul",{className:u.default.propertyGrid,children:e.items.map(e=>(0,r.jsx)("li",{children:(0,r.jsx)(p,{card:e})},e.id))})]})}],438718)},494769,e=>{"use strict";var r=e.i(843476),a=e.i(726424),t=e.i(647163),s=e.i(124083),l=e.i(271645),i=e.i(770703),n=e.i(618566),o=e.i(664659),d=e.i(555436),c=e.i(649582),h=e.i(23750),u=e.i(59377),m=e.i(62870),p=e.i(432507),x=e.i(641401);let f=(0,i.default)(()=>e.A(931130).then(e=>
1e.DetailedSearchDialog),{loadableGenerated:{modules:[999527]},ssr:!1}),g=a.default.searchCell;function b({label:e,min:a,max:s,onMin:l,onMax:i,minPh:n,maxPh:d,unit:c,decimal:m,placeholder:p,className:x}){let f=!!(a||s),v=f?`${a||"0"}â${s||"â"} ${c}`:p,j=(e,a,t)=>(0,r.jsxs)("div",{className:"relative flex-1",children:[(0,r.jsx)(h.Input,{inputMode:m?"decimal":"numeric",value:e,onChange:e=>{let r;return a((r=e.target.value,m?r.replace(/[^\d.,]/g,"").replace(",",".").replace(/(\..*)\./g,"$1"):r.replace(/[^\d]/g,"")))},placeholder:t,"aria-label":t,className:"h-10 rounded-full pr-11 text-sm"}),(0,r.jsx)("span",{className:"pointer-events-none absolute right-3.5 top-1/2 -translate-y-1/2 text-xs font-medium text-muted-foreground",children:c})]});return(0,r.jsxs)(u.Popover,{children:[(0,r.jsx)(u.PopoverTrigger,{asChild:!0,children:(0,r.jsxs)("button",{type:"button","aria-label":f?`${e}: ${v}`:e,className:(0,t.cn)(g,"focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-primary/40","w-full text-left",x),children:[(0,r.jsx)("span",{className:(0,t.cn)("truncate text-[14px] leading-tight",f?"font-medium text-foreground tabular-nums":"text-muted-foreground"),children:v}),(0,r.jsx)(o.ChevronDown,{size:15,"aria-hidden":!0,className:"shrink-0"})]})}),(0,r.jsx)(u.PopoverContent,{align:"start",sideOffset:12,className:"w-72 rounded-2xl p-3",children:(0,r.jsxs)("div",{className:"flex items-center gap-2",children:[j(a,l,n),(0,r.jsx)("span",{className:"text-muted-foreground/50",children:"â"}),j(s,i,d)]})})]})}function v({className:e}){let{t:i,language:h}=(0,s.useLanguage)(),u=(0,n.useRouter)(),[g,j]=(0,l.useState)(x.EMPTY_HOME_SEARCH),[_,y]=(0,l.useState)(!1),N=e=>j(r=>({...r,...e})),w=g.propertyTypes[0]||"any";return(0,r.jsxs)("div",{className:e,children:[(0,r.jsxs)("form",{onSubmit:e=>{e.preventDefault(),u.push((0,x.buildHomeSearchUrl)(h,g))},role:"search","aria-label":i("home-search-submit"),children:[(0,r.jsx)("p",{className:a.default.searchHeadline,children:i("home-search-headline")}),(0,r.jsxs)("div",{className:a.default.searchShell,children:[(0,r.jsx)("div",{className:a.default.offerTabs,role:"group","aria-label":i("hp-dock-offer-label"),children:["sale","rent"].map(e=>(0,r.jsx)("button",{type:"button","aria-pressed":g.listingType===e,onClick:()=>N({listingType:e}),children:i("sale"===e?"home-search-tab-buy":"home-search-tab-rent")},e))}),(0,r.jsxs)(m.Select,{value:w,onValueChange:e=>N({propertyTypes:"any"===e?[]:[e]}),children:[(0,r.jsx)(m.SelectTrigger,{"aria-label":i("hp-search-type"),className:(0,t.cn)(a.default.searchCell,a.default.typeCell),children:(0,r.jsxs)("span",{className:a.default.typeValue,children:[(0,r.jsx)(m.SelectValue,{}),(0,r.jsx)(o.ChevronDown,{size:15,"aria-hidden":!0})]})}),(0,r.jsxs)(m.SelectContent,{children:[(0,r.jsx)(m.SelectItem,{value:"any",children:i("hp-search-any")}),x.HOME_TYPE_OPTIONS.map(e=>(0,r.jsx)(m.SelectItem,{value:e.value,children:i(e.labelKey)},e.value))]})]}),(0,r.jsxs)("div",{className:(0,t.cn)(a.default.searchCell,a.default.locationCell),children:[(0,r.jsx)("label",{className:"sr-only",htmlFor:"home-location",children:i("hp-search-location")}),(0,r.jsx)(p.LocationCombobox,{id:"home-location",onResolve:e=>N({city:e.city,county:e.county}),placeholder:i("hp-search-location-ph"),inputClassName:a.default.locationInput})]}),(0,r.jsx)(b,{label:i("home-search-price-label"),placeholder:i("home-search-price-label"),min:g.priceMin,max:g.priceMax,onMin:e=>N({priceMin:e}),onMax:e=>N({priceMax:e}),minPh:i("home-search-price-min-ph"),maxPh:i("home-search-price-max-ph"),unit:"M Ft",decimal:!0}),(0,r.jsx)(b,{label:i("home-search-area-label"),placeholder:i("home-search-area-label"),min:g.areaMin,max:g.areaMax,onMin:e=>N({areaMin:e}),onMax:e=>N({areaMax:e}),minPh:i("home-search-area-min-ph"),maxPh:i("home-search-area-max-ph"),unit:"m²"}),(0,r.jsxs)("div",{className:a.default.searchActions,children:[(0,r.jsx)("button",{type:"button",onClick:()=>y(!0),"aria-label":i("home-search-detailed-title"),title:i("home-search-detailed-title"),className:a.default.filterButton,children:(0,r.jsx)(c.SlidersHorizontal,{size:21,"aria-hidden":!0})}),(0,r.jsxs)("button",{type:"submit",className:a.default.searchButton,"aria-label":i("home-search-submit"),title:i("home-search-submit"),children:[(0,r.jsx)(d.Search,{size:20,"aria-hidden":!0}),(0,r.jsx)("span",{className:a.default.searchButtonText,children:i("home-search-submit")})]})]})]})]}),(0,r.jsx)(f,{open:_,onOpenChange:y,initial:g})]})}
1var j=e.i(657688),_=e.i(522016),y=e.i(115057),N=e.i(243553),w=e.i(262701),k=e.i(144867),P=e.i(972497);function H({lotd:e,className:l}){let{t:i,language:n}=(0,s.useLanguage)(),{currency:o}=(0,w.useCurrency)(),{listing:d}=e,c=(0,P.getHomeListingSummary)(d,n,o,i),h=d.imageUrl??"/placeholder.svg";return(0,r.jsxs)("article",{className:(0,t.cn)(a.default.dailyCard,l),children:[(0,r.jsxs)(_.default,{href:c.href,"aria-label":`${i("hp-lotd-open")}: ${c.ariaLabel}`,className:a.default.photoLink,children:[(0,r.jsx)(j.default,{src:h,alt:"",fill:!0,priority:!0,sizes:"(min-width: 1600px) 1480px, 93vw",quality:85,className:a.default.propertyImage}),(0,r.jsx)("span",{className:a.default.photoShade,"aria-hidden":!0}),(0,r.jsxs)("span",{className:a.default.details,children:[(0,r.jsx)("span",{className:a.default.location,children:c.location??c.title}),(0,r.jsxs)("span",{className:a.default.priceRow,children:[(0,r.jsx)("span",{className:a.default.price,children:c.price}),c.previousPrice&&(0,r.jsx)("span",{className:a.default.previousPrice,children:c.previousPrice})]}),c.facts.length>0&&(0,r.jsx)("span",{className:a.default.facts,children:c.facts.map(e=>(0,r.jsx)("span",{children:e},e))})]}),(0,r.jsx)("span",{className:a.default.openIcon,children:(0,r.jsx)(y.ArrowUpRight,{size:24,"aria-hidden":!0})})]}),(0,r.jsxs)("div",{className:a.default.dailyHeader,children:[(0,r.jsxs)("span",{className:a.default.dailyLabel,children:[(0,r.jsx)(N.Crown,{size:15,"aria-hidden":!0}),i("hp-lotd-eyebrow")]}),e.sponsored&&(0,r.jsx)("span",{className:a.default.sponsored,children:i("hp-lotd-sponsored")})]}),(0,r.jsx)(k.SavePropertyButton,{propertyId:d.id,title:c.title,imageUrl:d.imageUrl,location:d.location,price:d.price,href:c.href,className:a.default.save})]})}function I({pulse:e,className:a,tone:l="light"}){let{t:i,language:n}=(0,s.useLanguage)(),o=[];if(e.activeListings&&o.push({value:e.activeListings,label:i("hp-pulse-active")}),e.newThisWeek&&o.push({value:e.newThisWeek,label:i("hp-pulse-new-week")}),e.forRent&&o.push({value:e.forRent,label:i("hp-pulse-rent")}),0===o.length)return null;let d="dark"===l;return(0,r.jsxs)("p",{className:(0,t.cn)("flex flex-wrap items-center gap-x-2 gap-y-1 text-[13px]",d?"text-white/65":"text-muted-foreground",a),children:[(0,r.jsxs)("span",{className:"relative mr-1 inline-flex h-2 w-2","aria-hidden":!0,children:[(0,r.jsx)("span",{className:"absolute inline-flex h-full w-full rounded-full bg-primary/20"}),(0,r.jsx)("span",{className:"relative inline-flex h-2 w-2 rounded-full bg-primary"})]}),o.map((e,a)=>{var s;return(0,r.jsxs)("span",{className:"inline-flex items-baseline gap-1",children:[a>0&&(0,r.jsx)("span",{className:(0,t.cn)("mx-1",d?"text-white/25":"text-border"),"aria-hidden":!0,children:"·"}),(0,r.jsx)("span",{className:(0,t.cn)("font-semibold tabular-nums",d?"text-white":"text-foreground"),children:(s=e.value,new Intl.NumberFormat("hu"===n?"hu-HU":"ro"===n?"ro-RO":"en-GB").format(s))}),(0,r.jsx)("span",{children:e.label})]},e.label)}),(0,r.jsx)("span",{className:"sr-only",children:i("hp-pulse-updated")})]})}e.s(["HomeHero",0,function({lotd:e,pulse:t}){let{t:l}=(0,s.useLanguage)();return(0,r.jsxs)("section",{className:a.default.hero,"aria-labelledby":"home-hero-title",children:[(0,r.jsxs)("div",{className:a.default.intro,children:[(0,r.jsx)("p",{className:a.default.eyebrow,children:l("hp-hero-eyebrow")}),(0,r.jsxs)("h1",{id:"home-hero-title",className:a.default.title,children:[l("hp-hero-h1-a"),(0,r.jsx)("br",{}),(0,r.jsx)("span",{className:a.default.accent,children:l("hp-hero-h1-b")})]}),(0,r.jsx)("p",{className:a.default.description,children:l("hp-hero-sub")})]}),(0,r.jsx)(v,{className:a.default.search}),null!==e&&(0,r.jsx)(H,{lotd:e,className:a.default.listing}),(0,r.jsx)(I,{pulse:t,className:a.default.pulse})]})},"HomeMarketPulseLine",0,I],494769)},728606,e=>{"use strict";var r=e.i(843476),a=e.i(522016),t=e.i(972520),s=e.i(115057),l=e.i(494769),i=e.i(124083),n=e.i(289406),o=e.i(600231);function d(e,r){return e.find(e=>e.links[0]?.type===r)||null}function c(e,r){return e&&0!==e.links.length?{...e,links:e.links.slice(0,r)}:null}let h={hu:{saleByCity:"Eladó lakások városok szerint",rentByCity:"Kiadó lakások városok szerint",popularSearches:"Népszerű keresések",feat2RoomsBudapest:"2+ szobás lakások Budapesten",feat50to80MBudapest:"50-80M Ft-os lakások Budapesten",featRenovatedBudapest:"FelújÃtott lakások Budapesten",featNewDebrecen:"Ãj lakások Debrecenben",feat2RoomsRentDebre
1cen:"2+ szobás kiadó lakások Debrecenben",featHousesDebrecen:"Eladó házak Debrecenben"},en:{saleByCity:"Apartments for sale by city",rentByCity:"Apartments for rent by city",popularSearches:"Popular searches",feat2RoomsBudapest:"2+ room apartments in Budapest",feat50to80MBudapest:"Apartments in Budapest, 50-80M HUF",featRenovatedBudapest:"Renovated apartments in Budapest",featNewDebrecen:"New apartments in Debrecen",feat2RoomsRentDebrecen:"2+ room apartments for rent in Debrecen",featHousesDebrecen:"Houses for sale in Debrecen"},ro:{saleByCity:"Apartamente de vânzare pe oraÈe",rentByCity:"Apartamente de închiriat pe oraÈe",popularSearches:"CÄutÄri populare",feat2RoomsBudapest:"Apartamente cu 2+ camere în Budapesta",feat50to80MBudapest:"Apartamente în Budapesta, 50-80M HUF",featRenovatedBudapest:"Apartamente renovate în Budapesta",featNewDebrecen:"Apartamente noi în Debrecen",feat2RoomsRentDebrecen:"Apartamente cu 2+ camere de închiriat în Debrecen",featHousesDebrecen:"Case de vânzare în Debrecen"},de:{saleByCity:"Wohnungen zum Verkauf nach Stadt",rentByCity:"Wohnungen zur Miete nach Stadt",popularSearches:"Beliebte Suchen",feat2RoomsBudapest:"Wohnungen mit 2+ Zimmern in Budapest",feat50to80MBudapest:"Wohnungen in Budapest, 50-80 Mio. HUF",featRenovatedBudapest:"Renovierte Wohnungen in Budapest",featNewDebrecen:"Neue Wohnungen in Debrecen",feat2RoomsRentDebrecen:"2+ Zimmer Mietwohnungen in Debrecen",featHousesDebrecen:"Häuser zum Verkauf in Debrecen"}};var u=e.i(647163),m=e.i(38395),p=e.i(584887);e.s(["HomeMarket",0,function({pulse:e}){let{t:x,language:f}=(0,i.useLanguage)(),g=(0,n.getPropertiesBrowseHomeHref)(f),b=function(e="hu"){let r=h[e]??h.hu,a=(0,o.buildPropertiesBrowseSections)({listingType:"sale",propertyTypes:["apartment"]},e),t=(0,o.buildPropertiesBrowseSections)({listingType:"rent",propertyTypes:["apartment"]},e),s=[{href:"/elado/lakas/budapest?szobak=2",label:r.feat2RoomsBudapest,type:"rooms"},{href:"/elado/lakas/budapest?ar-min=50000000&ar-max=80000000",label:r.feat50to80MBudapest,type:"price"},{href:"/elado/lakas/budapest?state=renovated",label:r.featRenovatedBudapest,type:"condition"},{href:"/elado/lakas/debrecen?ujepitesu=1",label:r.featNewDebrecen,type:"condition"},{href:"/kiado/lakas/debrecen?szobak=2",label:r.feat2RoomsRentDebrecen,type:"rooms"},{href:"/elado/haz/debrecen",label:r.featHousesDebrecen,type:"property_type"}];return[c({title:r.saleByCity,links:d(a,"city")?.links||[]},6),c({title:r.rentByCity,links:d(t,"city")?.links||[]},6),c({title:r.popularSearches,links:s},6)].filter(e=>!!e)}
1(f),v=b[0]??null,j=[{label:x("hp-market-prices-budapest"),href:"/lakasarak"},{label:x("hp-market-prices-debrecen"),href:"/lakasarak/debrecen"},{label:x("hp-market-newbuild"),href:"/ujepitesu-projektek/debrecen"},{label:x("hp-market-panel"),href:"/panel-vs-tegla/debrecen"},{label:x("hp-market-invest"),href:"/befektetes/debrecen"}],_=[...e.cities].sort((e,r)=>r.count-e.count),y=_.length>0,N=y?_[0].count:0;return(0,r.jsxs)(p.HomeSection,{labelledBy:"hp-market-title",children:[(0,r.jsx)(p.SectionHeader,{id:"hp-market-title",title:x("hp-market-title"),sub:x("hp-market-sub"),action:(0,r.jsx)(l.HomeMarketPulseLine,{pulse:e})}),(0,r.jsxs)("div",{className:(0,u.cn)("grid gap-6 lg:gap-8",y&&"lg:grid-cols-[minmax(0,1.4fr)_minmax(0,1fr)]"),children:[y&&(0,r.jsx)("ol",{className:(0,u.cn)(m.HOME_SURFACE,"self-start divide-y divide-border/70"),children:_.map(e=>{var t;let l,i=N>0?Math.max(6,Math.round(e.count/N*100)):0;return(0,r.jsx)("li",{children:(0,r.jsxs)(a.default,{href:(l=e.city,v?.links.find(e=>e.label===l)?.href??`${g}?city=${encodeURIComponent(l)}`),className:"group flex items-center gap-4 px-5 py-4 transition-colors hover:bg-muted/50 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-ring sm:px-6",children:[(0,r.jsx)("span",{className:"w-28 shrink-0 text-base font-semibold text-foreground sm:w-32",children:e.city}),(0,r.jsx)("span",{className:"relative hidden h-1.5 flex-1 overflow-hidden rounded-full bg-muted sm:block","aria-hidden":!0,children:(0,r.jsx)("span",{className:"absolute inset-y-0 left-0 rounded-full bg-foreground
1/60",style:{width:`${i}%`}})}),(0,r.jsx)("span",{className:"ml-auto text-sm tabular-nums text-muted-foreground",children:x("hp-market-city-count",{count:(t=e.count,new Intl.NumberFormat("hu"===f?"hu-HU":"ro"===f?"ro-RO":"en-GB").format(t))})}),(0,r.jsx)(s.ArrowUpRight,{className:"h-4 w-4 shrink-0 text-muted-foreground transition-transform group-hover:-translate-y-0.5 group-hover:translate-x-0.5 motion-reduce:transition-none","aria-hidden":!0})]})},e.city)})}),(0,r.jsxs)("div",{className:"flex flex-col rounded-[20px] bg-foreground p-6 text-background sm:p-8 dark:border dark:border-border/70 dark:bg-card dark:text-foreground",children:[(0,r.jsx)("h3",{className:"text-xl font-semibold tracking-tight",children:x("hp-market-prices-title")}),(0,r.jsx)("p",{className:"mt-2 text-[15px] leading-relaxed text-background/70 dark:text-muted-foreground",children:x("hp-market-prices-desc")}),(0,r.jsx)("ul",{className:"mt-6 divide-y divide-background/15 dark:divide-border/70",children:j.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)(a.default,{href:e.href,className:"group flex items-center justify-between py-3 text-[15px] font-medium transition-colors hover:text-background/75 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-background/60 dark:hover:text-foreground/75 dark:focus-visible:ring-ring",children:[e.label,(0,r.jsx)(t.ArrowRight,{className:"h-4 w-4 text-background/50 transition-transform group-hover:translate-x-0.5 motion-reduce:transition-none dark:text-muted-foreground","aria-hidden":!0})]})},e.href))})]})]}),b.length>0?(0,r.jsxs)("div",{className:"mt-12 border-t border-border/70 pt-10",children:[(0,r.jsx)("h3",{id:"hp-browse-title",className:m.HOME_H3,children:x("hp-browse-title")}),(0,r.jsx)("p",{className:"mt-1.5 text-[15px] text-muted-foreground",children:x("hp-browse-sub")}),(0,r.jsx)("div",{className:"mt-8 grid gap-10 sm:grid-cols-2 lg:grid-cols-3",children:b.map(e=>(0,r.jsxs)("div",{children:[(0,r.jsx)("h4",{className:"text-sm font-semibold uppercase tracking-wide text-muted-foreground",children:e.title}),(0,r.jsx)("ul",{className:"mt-3 divide-y divide-border/60",children:e.links.map(e=>(0,r.jsx)("li",{children:(0,r.jsxs)(a.default,{href:e.href,className:"group flex items-center justify-between py-2.5 text-[15px] text-foreground transition-colors hover:text-foreground/70 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",children:[(0,r.jsx)("span",{className:"pr-4",children:e.label}),(0,r.jsx)(t.ArrowRight,{className:"h-4 w-4 shrink-0 text-muted-foreground/70 transition-transform group-hover:translate-x-0.5 motion-reduce:transition-none","aria-hidden":!0})]})},e.href))})]},e.title))})]}):null]})}],728606)},219095,e=>{"use strict";var r=e.i(843476),a=e.i(522016),t=e.i(972520),s=e.i(124083),l=e.i(641401),i=e.i(289406),n=e.i(647163),o=e.i(38395),d=e.i(584887);e.s(["HomePaths",0,function(){let{t:e,language:c}=(0,s.useLanguage)(),h=(0,i.getPropertiesBrowseHomeHref)(c),u=(0,l.buildHomeSearchUrl)(c,{...l.EMPTY_HOME_SEARCH,listingType:"rent"}),m=[{key:"buy",title:e("hp-path-buy-title"),desc:e("hp-path-buy-desc"),cta:{label:e("hp-path-buy-cta"),href:h,primary:!1},secondary:{label:e("hp-path-buy-secondary"),href:"/map"}},{key:"rent",title:e("hp-path-rent-title"),desc:e("hp-path-rent-desc"),cta:{label:e("hp-path-rent-cta"),href:u,primary:!1},secondary:null},{key:"sell",title:e("hp-path-sell-title"),desc:e("hp-path-sell-desc"),cta:{label:e("hp-path-sell-cta"),href:"/ertektipp?src=home-paths",primary:!0},secondary:{label:e("hp-path-sell-secondary"),href:"/agents"}}];return(0,r.jsxs)(d.HomeSection,{divider:!0,labelledBy:"hp-paths-title",children:[(0,r.jsx)("h2",{id:"hp-paths-title",className:(0,n.cn)(o.HOME_H2,"mb-8 sm:mb-10"),children:e("hp-paths-title")}),(0,r.jsx)("div",{className:(0,n.cn)(o.HOME_SURFACE,"grid divide-y divide-border/70 overflow-hidden md:grid-cols-3 md:divide-x md:divide-y-0"),children:m.map(e=>(0,r.jsxs)("div",{className:"flex flex-col p-6 sm:p-8",children:[(0,r.jsx)("h3",{className:"text-[28px] font-semibold tracking-[-0.03em] text-foreground sm:text-[32px]",children:e.title}),(0,r.jsx)("p",{className:"mt-3 flex-1 text-pretty text-[15px] leading-relaxed text-muted-foreground",children:e.desc}),(0,r.jsxs)("div",{className:"mt-6 flex flex-col items-start gap-3",children:[(0,r.jsxs)(a.default,{href:e.cta.href,className:(0,n.cn)(e.cta.primary?o.HOME_PRIMARY_CTA:o.HOME_SECONDARY_CTA,"self-start"),children:[e.cta.label,(0,r.jsx)(t.ArrowRight,{className:o.HOME_ARROW,"aria-hidden":!0})]}),e.secondary?(0,r.jsx)(d.TextLink,{href:e.secondary.href,children:e.secondary.label}):null]})]},e.key))})]})}])},600688,e=>{"use strict";var r=e.i(843476),a=e.i(271645),t=e.i(618566),s=e.i(972520),l=e.i(432507),i=e.i(124083),n=e.i(647163),o=e.i(38395),d=e.i(584887);let c=["apartment","house"],h="mb-1.5 block text-[13px] font-medium text-foreground",u="h-12 w-full rounded-xl border border-input bg-background text-[15px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring";e.s(["HomeValuationBand",0,function(){let{t:e}=(0,i.useLanguage)(),m=(0,t.useRouter)(),p=(0,a.useId)(),[x,f]=(0,a.useState)(""),[g,b]=(0,a.useState)("apartment"),[v,j]=(0,a.useState)(""),_=(0,a.useRef)([]);return(0,r.jsx)(d.HomeSection,{tone:"band",labelledBy:"hp-val-title",children:(0,r.jsxs)("div",{className:"grid gap-10 lg:grid-cols-[minmax(0,0.9fr)_minmax(0,1.4fr)] lg:items-center",children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("h2",{id:"hp-val-title",className:o.HOME_H2,children:e("hp-val-title")}),(0,r.jsx)("p",{className:o.HOME_SUB,children:e("hp-val-sub")}),(0,r.jsx)("p",{className:"mt-3 text-xs text-muted-foreground",children:e("hp-val-note")})]}),(0,r.jsxs)("form",{"aria-labelledby":"hp-val-title",noValidate:!0,onSubmit:e=>{e.preventDefault();let r=new URLSearchParams,a=x.trim();a&&r.set("city",a),r.set("propertyType",g);let t=Number(v);Number.isFinite(t)&&t>=10&&t<=1e4&&r.set("area",String(t)),r.set("src","home-band"),m.push(`/ertektipp?${r.toString()}`)},className:"grid gap-3 sm:grid-cols-2 lg:grid-cols-[minmax(0,1.4fr)_auto_minmax(0,0.7fr)_auto] lg:items-end",children:[(0,r.jsxs)("div",{className:"sm:col-span-2 lg:col-span-1",children:[(0,r.jsx)("label",{htmlFor:"hp-val-city",className:h,children:e("hp-val-city")}
1),(0,r.jsx)(l.LocationCombobox,{id:"hp-val-city",placeholder:e("hp-val-city-ph"),inputClassName:(0,n.cn)(u,"pr-3"),onResolve:({city:e})=>f(e)})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{id:p,className:h,children:e("hp-val-type")}),(0,r.jsx)("div",{role:"radiogroup","aria-labelledby":p,className:"flex h-12 items-stretch gap-1 rounded-xl border border-input bg-background p-1",children:c.map((a,t)=>{let s=g===a;return(0,r.jsx)("button",{ref:e=>{_.current[t]=e},type:"button",role:"radio","aria-checked":s,tabIndex:s?0:-1,onClick:()=>b(a),onKeyDown:e=>((e,r)=>{if("ArrowLeft"!==e.key&&"ArrowRight"!==e.key)return;e.preventDefault();let a=(r+("ArrowRight"===e.key?1:-1)+c.length)%c.length;b(c[a]),_.current[a]?.focus()})(e,t),className:(0,n.cn)("inline-flex flex-1 items-center justify-center rounded-lg px-4 text-[15px] font-medium transition-colors duration-200 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring",s?"bg-foreground text-background":"text-muted-foreground hover:text-foreground"),children:e(`hp-val-type-${a}`)},a)})})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"hp-val-area",className:h,children:e("hp-val-area")}),(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("input",{id:"hp-val-area",inputMode:"numeric",autoComplete:"off",maxLength:5,value:v,onChange:e=>j(e.target.value.replace(/\D/g,"")),className:(0,n.cn)(u,"px-4 pr-12 tabular-nums")}),(0,r.jsx)("span",{"aria-hidden":!0,className:"pointer-events-none absolute right-4 top-1/2 -translate-y-1/2 text-sm text-muted-foreground",children:"m²"})]})]}),(0,r.jsxs)("button",{type:"submit",className:(0,n.cn)(o.HOME_PRIMARY_CTA,"w-full sm:col-span-2 lg:col-span-1 lg:w-auto"),children:[e("hp-val-cta"),(0,r.jsx)(s.ArrowRight,{className:o.HOME_ARROW,"aria-hidden":!0})]})]})]})})}])},566375,e=>{"use strict";var r=e.i(843476),a=e.i(584887),t=e.i(124083),s=e.i(617101),l=e.i(657688),i=e.i(522016),n=e.i(271645),o=e.i(972520),d=e.i(38395),c=e.i(193136),h=e.i(647163),u=e.i(618566),m=e.i(337021),p=e.i(443310),x=e.i(792942),f=e.i(978703);let g=(0,n.lazy)(()=>e.A(631135));function b({canonicalPath:e,views:a,units:s,unitsStatus:l,projectName:i,noteId:o}){let{t:d}=(0,t.useLanguage)(),c=(0,u.useRouter)(),[h,v]=(0,x.useIntersectionObserver)({rootMargin:"600px"}),j=a[0],_=(0,n.useMemo)(()=>({overviewHint:d("hp-nd-overview-hint"),stepperPlaceholder:d("hp-nd-stepper-placeholder"),hintList:d("hp-nd-hint-list"),hintPointer:d("hp-nd-hint-pointer"),hintTouch:d("hp-nd-hint-touch"),hintTouchAgain:d("hp-nd-hint-touch-again")}),[d]),y=(0,n.useMemo)(()=>({href:r=>(0,f.buildFloorDeepLink)(e,r),onNavigate:e=>c.push(e),descriptionId:o}),[e,c,o]);if(!j)return null;let N=(0,r.jsx)(p.FacadeSkeleton,{imageWidth:j.imageWidth,imageHeight:j.imageHeight});return(0,r.jsx)(m.FacadeVariantProvider,{value:"embedded",children:(0,r.jsx)("div",{ref:h,style:m.EMBEDDED_TOKEN_STYLE,children:v?(0,r.jsx)(n.Suspense,{fallback:N,children:(0,r.jsx)(g,{variant:"embedded",views:a,units:s,unitsStatus:l,projectName:i,detailHref:e,floorLink:y,copy:_,onRetryUnits:()=>c.refresh(),onInquire:()=>c.push(`${e}#ajanlatkeres`),onShowAllUnits:()=>c.push(`${e}#lakaskinalat`)})}):N})})}function v({project:e}){let{t:u,language:m}=(0,t.useLanguage)(),p=(0,n.useId)(),x=(0,n.useId)(),{media:f,links:g,summary:j}=e,_="floor-selector"!==f.kind||"error"!==f.unitsStatus,y=(0,c.buildHeroFacts)({...e.factsInput,projectType:null},_?j:c.EMPTY_INVENTORY_SUMMARY,u,m),N=[e.location,e.developer?u("prj-hero-developer",{name:e.developer}):null].filter(e=>!!e),w="cover"===f.kind,k=(0,r.jsxs)("header",{className:(0,h.cn)("grid gap-6 lg:items-end lg:gap-12",w?"lg:grid-cols-1":"lg:grid-cols-[minmax(0,1fr)_auto]"),children:[(0,r.jsxs)("div",{className:"min-w-0",children:[(0,r.jsx)("h3",{id:p,className:"text-balance break-words text-[26px] font-semibold leading-[1.15] tracking-[-0.02em] text-foreground sm:text-[32px]",children:e.name}),N.length>0?(0,r.jsx)("p",{className:"mt-2 flex flex-wrap gap-x-2 text-[15px] text-muted-foreground",children:N.map((e,a)=>(0,r.jsxs)("span",{className:"min-w-0 max-w-full [overflow-wrap:anywhere]",children:[e,a<N.length-1?(0,r.jsx)("span",{"aria-hidden":!0,
1className:"ml-2 text-border",children:"·"}):null]},e))}):null,_?(0,r.jsx)("p",{className:"mt-5 text-[17px] font-semibold tabular-nums text-foreground",children:(0,s.pluralText)(u,"fs-available",j.available,m)}):null,y.length>0?(0,r.jsx)("ul",{"aria-label":u("prj-hero-facts-aria"),className:(0,h.cn)("flex flex-wrap gap-x-3 gap-y-1 text-[15px] tabular-nums text-muted-foreground",_?"mt-1.5":"mt-5"),children:y.map((e,a)=>(0,r.jsxs)("li",{className:"whitespace-nowrap",children:[e,a<y.length-1?(0,r.jsx)("span",{"aria-hidden":!0,className:"ml-3 text-border",children:"·"}):null]},e))}):null]}),(0,r.jsxs)("div",{className:(0,h.cn)("flex flex-col gap-3 sm:flex-row sm:flex-wrap sm:items-center",w?"lg:items-start":"lg:flex-col lg:items-end"),children:[(0,r.jsxs)(i.default,{href:g.browseUnits,className:(0,h.cn)(d.HOME_PRIMARY_CTA,"w-full sm:w-auto"),children:[u("prj-cta-see-units"),(0,r.jsx)(o.ArrowRight,{className:"h-4 w-4 transition-transform duration-200 group-hover:translate-x-0.5 motion-reduce:transition-none","aria-hidden":!0})]}),(0,r.jsxs)("nav",{"aria-label":u("hp-nd-links-aria"),className:"flex flex-wrap gap-x-5",children:[(0,r.jsx)(a.TextLink,{href:g.offer,children:u("prj-cta-offer")}),g.viewing?(0,r.jsx)(a.TextLink,{href:g.viewing,children:u("prj-visit-title")}):null,g.financing?(0,r.jsx)(a.TextLink,{href:g.financing,children:u("prj-nav-financing")}):null]})]})]});return"cover"===f.kind?(0,r.jsxs)("article",{"aria-labelledby":p,className:"lg:grid lg:grid-cols-[minmax(0,1.2fr)_minmax(0,1fr)] lg:items-center lg:gap-12",children:[k,(0,r.jsx)(i.default,{href:g.browseUnits,tabIndex:-1,"aria-hidden":!0,className:"group mt-8 block lg:order-first lg:mt-0",children:(0,r.jsx)("div",{className:"relative aspect-[4/3] max-w-full overflow-hidden rounded-[20px] bg-muted",children:(0,r.jsx)(l.default,{src:f.imageUrl,alt:"",fill:!0,sizes:"(min-width: 1024px) 640px, 100vw",className:"object-cover transition-transform duration-500 group-hover:scale-[1.02] motion-reduce:transition-none"})})})]}):(0,r.jsxs)("article",{"aria-labelledby":p,children:[k,(0,r.jsxs)("div",{className:"mt-8 sm:mt-10",children:[(0,r.jsx)(b,{canonicalPath:e.canonicalPath,views:f.views,units:f.units,unitsStatus:f.unitsStatus,projectName:e.name,noteId:x}),(0,r.jsx)("p",{id:x,className:"mt-4 text-[13px] text-muted-foreground",children:u("hp-nd-selector-note")})]})]})}var j=e.i(607486),_=e.i(346897);function y({teasers:e}){let{t:a,language:n}=(0,t.useLanguage)();return 0===e.length?null:(0,r.jsxs)("div",{className:"mt-12 border-t border-border/70 pt-10",children:[(0,r.jsx)("h3",{className:d.HOME_H3,children:a("prj-other-title")}),(0,r.jsx)("ul",{className:"-mx-4 mt-6 flex snap-x snap-mandatory gap-4 overflow-x-auto px-4 pb-2 scroll-px-4 [scrollbar-width:thin] sm:mx-0 sm:px-0 sm:scroll-px-0 lg:grid lg:grid-cols-3 lg:overflow-visible lg:pb-0",children:e.map(e=>{var t;let o=(t=e.handover,t?a("prj-hero-handover",{period:a(1===t.half?"prj-handover-h1":2===t.half?"prj-handover-h2":"prj-handover-year",{year:t.year})}):null);return(0,r.jsx)("li",{className:"w-[80%] shrink-0 snap-start sm:w-[45%] lg:w-auto",children:(0,r.jsxs)(i.default,{href:e.href,className:"group block rounded-[20px] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-4",children:[(0,r.jsx)("div",{className:"relative aspect-[4/3] max-w-full overflow-hidden rounded-[20px] bg-muted",children:e.imageUrl?(0,r.jsx)(l.default,{src:e.imageUrl,alt:"",fill:!0,sizes:"(min-width: 1024px) 33vw, (min-width: 640px) 45vw, 80vw",className:"object-cover transition-transform duration-500 ease-out group-hover:scale-[1.02] motion-reduce:transition-none motion-reduce:group-hover:scale-100"}):(0,r.jsx)("span",{className:"flex h-full w-full items-center justify-center text-muted-foreground",children:(0,r.jsx)(j.Building2,{className:"h-8 w-8","aria-hidden":!0})})}),(0,r.jsx)("p",{className:"mt-3 text-[17px] font-semibold tracking-tight text-foreground group-hover:underline group-hover:underline-offset-4",children:e.name}),e.location?(0,r.jsxs)("p",{className:"mt-1 flex items-center gap-1.5 text-sm text-muted-foreground",children:[(0,r.jsx)(_.MapPin,{className:"h-3.5 w-3.5 shrink-0","aria-hidden":!0}),e.location]}):null,(0,r.jsxs)("p",{className:"mt-1.5 text-sm tabular-nums text-foreground",children:[(0,s.pluralText)(a,"fs-available",e.availableUnits,n),null!==e.fromPriceHuf&&e.fromPriceHuf>0?` \xb7 ${a("prj-hero-price-from",{price:(0,s.formatPriceShort)(e.fromPriceHuf,n)})}`:null]}),o?(0,r.jsx)("p",{className:"mt-0.5 text-[13px] text-muted-foreground",children:o}):null]})},e.id)})})]})}e.s(["HomeNewDevelopments",0,function({data:e}){let{t:l,language:i}=(0,t.useLanguage)(),n=`${(0,s.pluralText)(l,"hp-nd-projects",e.totals.projects,i)} \xb7 ${(0,s.pluralText)(l,"fs-available",e.totals.availableUnits,i)}`;return(0,r.jsxs)(a.HomeSection,{divider:!0,labelledBy:"hp-nd-title",children:[(0,r.jsx)(a.SectionHeader,{id:"hp-nd-title",title:l("hp-nd-title"),sub:n,action:(0,r.jsx)(a.TextLink,{href:"/projects",children:l("hp-nd-all")})}),(0,r.jsx)(v,{project:e.featured}),e.teasers.length>0?(0,r.jsx)(y,{teasers:e.teasers}):null]})}],566375)}]);
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.