1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2203],{41230:(e,t,i)=>{i.d(t,{A:()=>x,b:()=>d});var n=i(26514),a=i(69001),l=i.n(a),r=i(50555),o=i(41526);i(75834);var s=i(93794),p=i(54004),d=function(e){return e[e.PREV=0]="PREV",e[e.NEXT=1]="NEXT",e}({});let c=s.Df.withName("PKOBPSlickArrow").create(()=>({arrow:{border:"1px solid ".concat(p.Ay.palette.secondary.borders),borderRadius:p.Ay.spacing(.75),color:p.Ay.palette.primary.main,background:p.Ay.palette.common.white,width:"40px",height:"64px",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer",position:"absolute",top:"50%",transform:"translateY(-50%)",zIndex:p.Ay.zIndex.carouselArrows,transition:p.Ay.transitions.create("background-color"),"&:hover":{background:p.Ay.palette.grey["50"]}},arrow__next:{right:0}})),x=e=>{let{direction:t,onClick:i,additionalStyles:a,allowTabIndex:s}=e,{classes:p}=c();return(0,n.jsx)("button",{onClick:i,className:l()(p.arrow,{[p.arrow__next]:1===t},a),"data-cy":0===t?"Slick-slider--previous":"Slick-slider--next","aria-label":0===t?"PrzewiÅ na poprzedni slajd karuzeli":"PrzewiÅ na nastÄpny slajd karuzeli",tabIndex:s?0:-1,children:0===t?(0,n.jsx)(r.A,{width:"18",height:"18"}):(0,n.jsx)(o.A,{width:"18",height:"18"})})}},42843:(e,t,i)=>{i.d(t,{V:()=>n});let n=[{value:"rent",label:"wynajem"},{value:"sale",label:"sprzedaż"}]},45110:(e,t,i)=>{i.d(t,{A:()=>n});let n={src:"/_next/static/media/icon_circle.cb924b72.svg",height:6,width:6,blurWidth:0,blurHeight:0}},62203:(e,t,i)=>{i.r(t),i.d(t,{default:()=>eh});var n=i(26514),a=i(75834),l=i(93794),r=i(54907),o=i(6395),s=i(54004),p=i(99090),d=i(98642),c=i(87295),x=i(45110),m=i(90677),h=i(38291),g=i(42920);let u=l.Df.withName("PKOBPEstateOfferDescription").create(()=>({root:{marginTop:"96px",[s.Ay.breakpoints.up("md")]:{marginTop:"56px"}},head:{marginBottom:"19px",[s.Ay.breakpoints.up("sm")]:{marginBottom:"40px"}},title:{...s.Ay.typography.h3,marginTop:0,marginBottom:"0",fontSize:"24px",lineHeight:"32px",[s.Ay.breakpoints.up("md")]:{fontSize:"32px",marginBottom:"0",lineHeight:"40px"}},list:{padding:0,listStyleType:"none","& ul":{listStyleType:"disc"},"& ul ul":{paddingLeft:"20px",listStyle:"none",marginTop:"8px","& li":{paddingLeft:"0px",paddingBottom:"0px",lineHeight:"24px",position:"relative",listStyleType:"none","&::before":{content:'" "',position:"absolute",top:"9px",left:"-20px",width:"6px",height:"6px",backgroundImage:"url(".concat(null===x.A||void 0===x.A?void 0:x.A.src,")"),backgroundRepeat:"no-repeat",backgroundSize:"cover"}}},"& ul ul ul":{listStyleType:"square","& li":{listStyleType:"square","&::before":{content:"none"}}}},item:{paddingTop:"28px",paddingBottom:"27px",borderTop:"1px solid ".concat(s.Ay.palette.secondary.borders),"&:last-of-type":{borderBottom:"1px solid ".concat(s.Ay.palette.secondary.borders)},[s.Ay.breakpoints.down("sm")]:{paddingTop:"24px",paddingBottom:"23px"}}})),y=e=>{let{item:t,...i}=e,{classes:l}=u(),[o,s]=(0,a.useState)([]);return(0,a.useEffect)(()=>{let e=t.accordions.filter(e=>e.is_expanded);e&&s(e.map(e=>e.id))},[]),(0,n.jsxs)(r.A,{className:l.root,children:[(0,n.jsx)(r.A,{className:l.head,children:(0,n.jsx)(g.A,{variant:"h2",align:"center",className:l.title,children:"Opis"})}),(0,n.jsx)(r.A,{component:"ul",className:l.list,children:t.accordions.map(e=>(0,n.jsx)(r.A,{component:"li",className:l.item,children:(0,n.jsx)(m.A,{title:(0,n.jsx)("span",{dangerouslySetInnerHTML:{__html:e.title}}),hx:3,styleTitleBolder:!0,styleBlockElement:!0,styleMarginBeforeContent:!0,uuid:"item-".concat(e.id),isExpanded:o.includes(e.id),onChange:()=>(e=>{let t=[...o],i=t.indexOf(e);-1!==i?t.splice(i,1):t.push(e),s(t)})(e.id),ariaLabel:e.title,className:"PKOBPAccordionBasic__wysiwyg",children:(0,n.jsx)(h.default,{content:e.content})})},"accordion-key-".concat(e.id)))})]})};var b=i(50555),f=i(41526),A=i(51603),k=i(41230);let j=e=>(null==e?void 0:e.screenY)===0&&(null==e?void 0:e.screenX)===0?"keyboard":"mouse";var v=i(34653),w=i(13436),C=i(69001),N=i.n(C),T=i(24995),S=i(69310),_=i(77030),z=i(2058);let B=l.Df.withName("PKOBPEstateOfferGallerySlide").create(()=>({root:{width:"100%"},imgContainer:{...s.PJ,display:"flex",position:"relative",borderRadius:"16px",cursor:"pointer",width:"100%",height:"184px","&:focus-visible":{outline:"none","&::after":{content:'" "',position:"absolute",background:"transparent",height:"100%",width:"100%",border:"1px solid ".concat(s.Ay.palette.primary.light),borderRadius:"16px",[s.Ay.breakpoints.up("lg")]:{borderRadius:"40px"}}},[s.Ay.breakpoints.between("sm","md")]:{height:"400px"},[s.Ay.breakpoints.between("md","lg")]:{height:"368px"},[s.Ay.breakpoints.up("lg")]:{borderRadius:"40px",height:"516px"},["#".concat(E," &")]:{height:"calc( (100vw - 16px - 16px) / 1.77 )",[s.Ay.breakpoints.up("sm")]:{height:"calc( (100vw - 24px - 24px) / 1.77 )"},[s.Ay.breakpoints.up("md")]:{height:"calc( (100vw - 96px - 96px) / 1.77 )"},[s.Ay.breakpoints.up("lg")]:{height:"calc( (100vw - 96px - 96px) / 1.77 )",maxHeight:"740px"}},"&>div":{display:"flex",width:"100%"},["& .".concat(z.KR)]:{overflow:"hidden",height:"100%",borderRadius:"16px",[s.Ay.breakpoints.up("lg")]:{borderRadius:"40px"}},["& .".concat(z.$F)]:{overflow:"hidden",height:"100%",borderRadius:"16px",[s.Ay.breakpoints.up("lg")]:{borderRadius:"40px"}},"& img":{objectFit:"cover"}},imgQuantityContainer:{position:"absolute",bottom:"15px",left:"15px",[s.Ay.breakpoints.up("lg")]:{bottom:"32px",left:"32px"},["#".concat(E," &")]:{display:"none"}}})),P=e=>{let{photo:t,photosCount:i,currentSlide:a,handleClick:l,viewOnly:o,...s}=e,{classes:p}=B(),d=()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(z.Ay,{src:t.url,alt:null==t?void 0:t.alt_desc,title:"",loading:"lazy"}),i&&(0,n.jsx)(r.A,{className:p.imgQuantityContainer,children:(0,n.jsx)(_.A,{value:null!==a?"".concat(a+1," z ").concat(i):i})})]});return(0,n.jsx)(r.A,{className:p.root,children:o||"function"!=typeof l?(0,n.jsx)("div",{className:p.imgContainer,children:(0,n.jsx)(d,{})}):(0,n.jsx)("button",{className:p.imgContainer,onClick:l,"aria-label":"Otw\xf3rz galeriÄ peÅnoekranowÄ
",children:(0,n.jsx)(d,{})})})},E="PKOBP__GALLERY_FULLSCREEN",I=l.Df.withName("PKOBPEstateOfferGalleryFullscreen").create(()=>({modal:{"& .MuiBackdrop-root":{backgroundColor:"rgba(0,0,0,0.9)"}},root:{outline:"none"},buttonContainer:{display:"flex",width:"100%",justifyContent:"end"},close:{...s.PJ,cursor:"pointer",svg:{height:"48px",width:"48px"}},container:{margin:"0 auto",width:"calc(100% - 16px - 16px)",marginTop:"25vh",[s.Ay.breakpoints.up("sm")]:{marginTop:"calc(80px - 48px)",width:"calc(100% - 24px - 24px)"},[s.Ay.breakpoints.up("md")]:{marginTop:"calc(80px - 48px)",width:"calc(100% - 96px - 96px)"},[s.Ay.breakpoints.up("lg")]:{marginTop:"calc(80px - 48px)",width:"calc(100% - 96px - 96px)",maxWidth:"1312px"},[s.Ay.breakpoints.up("xl")]:{marginTop:"calc(80px - 48px)",width:"calc(100% - 144px - 144px)",maxWidth:"1312px"}},slickContainer:{},imgQuantityContainer:{display:"flex",justifySelf:"center",marginTop:"24px"},imgQuantityContainer__withNavigation:{background:"#fff",borderRadius:"8px",position:"absolute",bottom:"24px"},btnNav:{...s.PJ,height:"40px",width:"40px",padding:"10px",borderRadius:"8px",cursor:"pointer","& svg":{fill:s.Ay.palette.primary.main,height:"20px",width:"20px"}}})),O=e=>{let{fullscreenMode:t,photos:i,photosCount:l,currentSlide:p,handleClose:d,handlePrevSlide:c,handleNextSlide:x,slickSettings:m,slickRef:h,...g}=e,{classes:u}=I(),y=(0,o.A)(s.Ay.breakpoints.down("md"))&&l>1;return(0,a.useEffect)(()=>{"via_keyboard"===t&&setTimeout(()=>{let e=document.getElementById("FULLSCREEN__CLOSE_BTN");null==e||e.focus()},200)},[t]),(0,n.jsx)(S.A,{open:t,className:u.modal,onClose:(e,t)=>{"escapeKeyDown"===t&&d(e,t)},children:(0,n.jsxs)(r.A,{id:E,className:u.root,children:[(0,n.jsx)(r.A,{className:u.buttonContainer,children:(0,n.jsx)("button",{className:u.close,onClick:d,"aria-label":"Zamknij galeriÄ peÅnoekranowÄ
",id:"FULLSCREEN__CLOSE_BTN",children:(0,n.jsx)(T.A,{color:"#fff"})})}),(0,n.jsx)(r.A,{className:u.container,children:(0,n.jsx)(A.A,{ref:e=>h.current=e,...m,className:u.slickContainer,children:i.map((e,t)=>(0,n.jsx)(P,{photo:i[p],currentSlide:p,viewOnly:!0}))})}),(0,n.jsxs)(r.A,{className:N()(u.imgQuantityContainer,{[u.imgQuantityContainer__withNavigation]:y}),children:[y&&(0,n.jsx)("button",{className:u.btnNav,onClick:c,"aria-label":"PrzewiÅ na poprzedni slajd karuzeli",children:(0,n.jsx)(b.A,{})}),(0,n.jsx)(_.A,{value:null!==p?"".concat(p+1," z ").concat(l):l}),y&&(0,n.jsx)("button",{className:u.btnNav,onClick:x,"aria-label":"PrzewiÅ na kolejny slajd karuzeli",children:(0,n.jsx)(f.A,{})})]})]})})},R=l.Df.withName("PKOBPEstateOfferGalleryItem").create(()=>({root:{position:"relative"},imgContainer:{...s.PJ,overflow:"hidden",display:"flex",position:"relative",width:"98px",height:"55px",borderRadius:"10px",cursor:"pointer",[s.Ay.breakpoints.up("lg")]:{width:"159px",height:"90px",borderRadius:"16px"},"&>div":{display:"flex",width:"100%"},["& .".concat(z.KR)]:{height:"100%"},["& .".concat(z.$F)]:{height:"100%"},"& img":{objectFit:"cover"}},last:{position:"absolute",width:"100%",height:"100%",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(0,0,0,0.6)",color:s.Ay.palette.common.white,textAlign:"center",fontSize:"16px",lineHeight:"20px",[s.Ay.breakpoints.between("sm","lg")]:{fontSize:"14px",lineHeight:"18px"}}})),H=e=>{let{photo:t,handleClick:i,isLastItem:a,photosCount:l,photoIndex:p,...d}=e,{classes:c}=R(),x=(0,o.A)(s.Ay.breakpoints.down("md"));return(0,n.jsx)(r.A,{className:c.root,children:(0,n.jsxs)("button",{className:c.imgContainer,onClick:i,"aria-label":a?"Pokaż wszystkie zdjÄcia (".concat(l,")"):"Przejdź do zdjÄcia ".concat(p+1," z ").concat(l),children:[(0,n.jsx)(z.Ay,{src:t.url,alt:null==t?void 0:t.alt_desc,title:"",loading:"lazy"}),a&&(0,n.jsx)(r.A,{className:c.last,children:x?(0,n.jsxs)("span",{children:["(",l,")"]}):(0,n.jsxs)("span",{children:["Pokaż wszystkie zdjÄcia (",l,")"]})})]})})}
1,L=l.Df.withName("PKOBPEstateOfferGalleryItems").create(()=>({root:{marginTop:"16px",[s.Ay.breakpoints.up("md")]:{marginTop:"24px"}},items:{display:"flex",flexWrap:"wrap",gap:"16px",[s.Ay.breakpoints.up("lg")]:{gap:"30px"}}})),D=e=>{let{photos:t,allSlidesVisible:i,handleAllSlidesVisible:a,handleClick:l,...p}=e,{classes:d}=L(),c=(0,o.A)(s.Ay.breakpoints.down("sm"));(0,o.A)(s.Ay.breakpoints.between("sm","md"));let x=c?3:5;return(0,n.jsx)(r.A,{className:d.root,children:(0,n.jsx)(r.A,{className:d.items,"aria-live":"polite",children:i?(0,n.jsx)(n.Fragment,{children:t.map((e,i)=>(0,n.jsx)(H,{photo:e,handleClick:()=>l(e,i),photosCount:t.length,photoIndex:i},e.url))}):(0,n.jsx)(n.Fragment,{children:t.slice(0,x).map((e,i)=>(0,n.jsx)(H,{photo:e,handleClick:i===x-1?()=>a(!0):()=>l(e,i),isLastItem:i===x-1,photosCount:t.length,photoIndex:i},e.url))})})})},K=l.Df.withName("PKOBPEstateOfferGallery").create(()=>({root:{marginBottom:"20px"},slickContainer:{userSelect:"text","&.draggable":{userSelect:"none"},"& .slick-dots":{marginTop:0,marginBottom:0},"& .slick-slide":{visibility:"hidden","&.slick-active":{visibility:"visible"}}},sliderNavigation:{display:"none",["#".concat(E," &")]:{display:"block"},position:"relative","& .slick-dots":{margin:"9px 0","& li":{display:"flex",padding:"6px 0"}}},sliderNavigationInner:{display:"flex",alignItems:"center",background:s.Ay.palette.background.default,position:"relative",borderRadius:"8px"},btnNav:{border:"0",padding:"5px",marginTop:"3px",backgroundColor:"transparent","& svg":{fill:s.Ay.palette.primary.main}},prev:{marginLeft:"32px",[s.Ay.breakpoints.down("md")]:{display:"none"},["#".concat(E," &")]:{marginLeft:"-68px",[s.Ay.breakpoints.up("xl")]:{marginLeft:"-80px"}}},next:{marginRight:"32px",[s.Ay.breakpoints.down("md")]:{display:"none"},["#".concat(E," &")]:{marginRight:"-68px",[s.Ay.breakpoints.up("xl")]:{marginRight:"-80px"}}}})),F=e=>{let{photos:t,...i}=e,{classes:l}=K();(0,o.A)(s.Ay.breakpoints.down("md"));let p=(0,a.useContext)(w.G),[d,c]=(0,a.useState)(0),[x,m]=(0,a.useState)(!1),[h,g]=(0,a.useState)(null),{carouselRef:u,setRoleAttributesForSlides:y,setCarouselDotsAccessability:C}=(0,v.A)(),N=e=>{g("keyboard"===j(e)?"via_keyboard":"via_mouse")},T={adaptiveHeight:!1,dots:!1,infinite:!0,fade:!0,arrows:!0,prevArrow:(0,n.jsx)(k.A,{direction:k.b.PREV,additionalStyles:l.prev,allowTabIndex:!0}),nextArrow:(0,n.jsx)(k.A,{direction:k.b.NEXT,additionalStyles:l.next,allowTabIndex:!0}),speed:0,slidesToShow:1,slidesToScroll:1,accessibility:!1,responsive:[{breakpoint:1023,settings:{dots:!1,arrows:!1,appendDots:e=>(0,n.jsx)("div",{children:(0,n.jsx)("div",{className:l.sliderNavigation,children:(0,n.jsxs)("div",{className:l.sliderNavigationInner,children:[(0,n.jsx)("button",{className:l.btnNav,onClick:_,"aria-label":"PrzewiÅ na poprzedni slajd karuzeli",children:(0,n.jsx)(b.A,{})}),(0,n.jsxs)("ul",{className:"slick-dots",children:[" ",e," "]}),(0,n.jsx)("button",{className:l.btnNav,onClick:S,"aria-label":"PrzewiÅ na kolejny slajd karuzeli",children:(0,n.jsx)(f.A,{})})]})})})}}],beforeChange:(e,t)=>
1{t!==e&&c(t)},onInit:()=>{t.length>1&&(C(),y())},onReInit:()=>{t.length>1&&C()}},S=()=>{u.current.slickNext()},_=()=>{u.current.slickPrev()};return(0,n.jsxs)(r.A,{className:l.root,id:p,children:[(0,n.jsx)(n.Fragment,{children:1===t.length?(0,n.jsx)(P,{photo:null==t?void 0:t[0],photosCount:t.length,handleClick:N,currentSlide:null,viewOnly:!!h}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(A.A,{ref:e=>u.current=e,...T,className:l.slickContainer,children:t.map((e,i)=>(0,n.jsx)(P,{photo:t[d],photosCount:t.length,currentSlide:d,handleClick:N,viewOnly:!!h}))}),(0,n.jsx)(D,{photos:t,allSlidesVisible:x,handleAllSlidesVisible:e=>m(e),handleClick:(e,t)=>{var i;i=t,u.current.slickGoTo(i)}})]})}),!!h&&(0,n.jsx)(O,{fullscreenMode:h,photos:t,currentSlide:d,photosCount:t.length,handleClose:(e,i)=>{console.log(e,i),("keyboard"===j(e)||"escapeKeyDown"===i)&&setTimeout(()=>{var e,i,n,a;let l=document.getElementById(p);if(l&&(1===t.length&&(null==(i=l.children[0])||null==(e=i.children[0])||e.focus()),t.length>=2)){let e=l.querySelector(".slick-current"),t=null==e||null==(a=e.children[0])||null==(n=a.children[0])?void 0:n.children[0];null==t||t.focus()}},200),g(!1)},handlePrevSlide:_,handleNextSlide:S,slickSettings:T,slickRef:u})]})};var M=i(42843),W=i(76380),V=i(7553),G=i(43371);let J=e=>{let{item:t,...i}=e;return(0,n.jsx)(G.A,{children:(0,n.jsxs)(g.A,{variant:"h1",children:[(e=>{let t=M.V.find(t=>t.value===e);return t?t.label:e})(t.transaction_type),",",t.city,",",(0,n.jsxs)(n.Fragment,{children:[t.street," ",t.building_number,t.apartment_number&&"/".concat(t.apartment_number),(0,V.A)(", ".concat((e=>{let t=W.h.find(t=>t.value===e);return t?t.label:e})(t.voivodeship)))]})]})})};var Z=i(70504),Q=i(2991),q=i(81132),X=i(33872),U=i(53303);let Y=l.Df.withName("PKOBPEstateOfferImportant").create(()=>({root:{marginTop:"56px",marginBottom:"56px"},container:{display:"flex",alignItems:"center",background:s.Ay.palette.secondary.backgroundBlue,borderRadius:"10px",padding:"24px","& p, & span":{fontWeight:300,margin:"4px 0"},"& p:first-of-type":{marginTop:0},"& p:last-of-type":{marginBottom:"1px"},[s.Ay.breakpoints.down("md")]:{lineHeight:"24px"}},imgContainer:{flexShrink:0,width:"40px",height:"40px",marginRight:"16px",overflow:"hidden",display:"flex",alignItems:"center",justifyContent:"center",borderRadius:"50%",textAlign:"center",background:s.Ay.palette.common.white,marginTop:"0",alignSelf:"flex-start","& img":{height:"auto",minHeight:"unset",maxWidth:"24px !important",maxHeight:"24px !important"}},link:{whiteSpace:"normal",lineHeight:"24px",fontSize:"16px",margin:0,textDecoration:"underline",textUnderlineOffset:"0.3em"}})),$=e=>{var t,i;let{item:l,...o}=e,{classes:s}=Y(),p=(0,a.useContext)(Z.zp),d=o.idGTM?(0,q.bJ)(o.idGTM,Q.JH.ICON_WITH_LINK,null==o?void 0:o.id):(0,a.useContext)(w.G),c=(0,X.zf)({link:{href:l.href,link_external:l.link_external,link_internal:l.link_internal,label:l.link_label,open_in_new:l.open_in_new},isWorkspace:p});return(0,n.jsx)(r.A,{className:s.root,children:(0,n.jsxs)(r.A,{className:s.container,children:[(0,n.jsx)(r.A,{className:s.imgContainer,children:(0,n.jsx)(z.Ay,{src:null==(t=l.picture)?void 0:t.url,alt:null==(i=l.picture)?void 0:i.alt_desc,title:"",loading:"lazy"})}),(0,n.jsxs)(r.A,{className:s.textContainer,children:[(0,n.jsx)(h.default,{content:l.content}),(0,n.jsx)(U.default,{...c,label:l.link_label,ariaLabel:l.aria_label,variant:"textBlue",className:s.link,idGTM:d})]})]})})};var ee=i(30839),et=i(31499),ei=i(39686),en=i(7650),ea=i.n(en),el=i(38264),er=i(31354),eo=i(5604),es=i(93368);let ep=l.Df.withName("PKOBPEstateOfferMapDetails").create(()=>({root:{height:"474px",display:"flex",flexDirection:"column",position:"relative",zIndex:"1",background:s.Ay.palette.primary.contrastText,[s.Ay.breakpoints.down("md")]:{height:"auto"}},closeBtnWrapper:{minHeight:"48px",display:"flex",justifyContent:"end",[s.Ay.breakpoints.down("md")]:{display:"none"}},closeBtn:{...s.PJ,width:"48px",height:"48px",padding:0,"&:hover":{background:"none"},"& svg":{width:"100%",height:"100%",fill:s.Ay.palette.primary.main},"&:focus-visible":{boxShadow:"inset 0 0 0 2px ".concat(s.Ay.palette.primary.main)}},header:{display:"flex",alignItems:"start",justifyContent:"flex-start",padding:"2px 16px 14px 16px",borderBottom:"solid 1px ".concat(s.Ay.palette.secondary.borders),[s.Ay.breakpoints.down("md")]:{dis
1play:"none"}},icon:{width:"48px",height:"48px",marginRight:"11px","& svg":{width:"48px",height:"48px",fill:s.Ay.palette.primary.main}},propertyType:{margin:0,fontWeight:"300",fontSize:"14px"},city:{fontSize:"24px",margin:"0",marginBottom:"6px",lineHeight:"32px",fontWeight:400},content:{overflowX:"hidden",padding:"0 16px",marginRight:"8px",...es.J,[s.Ay.breakpoints.down("md")]:{overflow:"unset",padding:"0",margin:"0"}},hr:{marginTop:"16px",marginBottom:"0px",height:"1px",background:s.Ay.palette.secondary.borders,border:"none"},actions:{display:"flex",alignItems:"start",justifyContent:"start",marginTop:"16px",gap:"8px",[s.Ay.breakpoints.down("md")]:{marginTop:"4px"}},link:{display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"start",textDecoration:"none",color:s.Ay.palette.text.primary,width:"107px",[s.Ay.breakpoints.down("md")]:{width:"50%"},[s.Ay.breakpoints.down(450)]:{width:"31.5%"}},linkIcon:{display:"flex",alignItems:"center",justifyContent:"center",width:"40px",height:"40px",borderRadius:"50%",background:s.Ay.palette.primary.main,marginBottom:"8px","& svg":{width:"24px",height:"24px","& path":{fill:s.Ay.palette.primary.contrastText}}},linkLabel:{textAlign:"center",fontSize:"14px",lineHeight:"20px"},locationContainer:{display:"flex",alignItems:"start",justifyContent:"start",marginTop:"16px",marginBottom:"8px",gap:"9px"},locationIcon:{"& svg":{width:"24px",height:"24px","& path":{stroke:"unset",fill:s.Ay.palette.primary.main}}},address:{fontWeight:300,fontSize:"16px",lineHeight:"24px",margin:0}})),ed=e=>{let{item:t,showCloseBtn:i,onClickClose:a,...l}=e,{classes:o}=ep(),s="https://maps.google.com/?daddr=".concat(null==t?void 0:t.lat,",").concat(null==t?void 0:t.lng);return(0,n.jsxs)(r.A,{className:o.root,children:[(0,n.jsx)(r.A,{className:o.closeBtnWrapper,children:i&&(0,n.jsx)("button",{className:o.closeBtn,onClick:a,"aria-label":"Zamknij szczeg\xf3Åy nieruchomoÅci",children:(0,n.jsx)(T.A,{})})}),(0,n.jsxs)(r.A,{className:o.header,children:[(0,n.jsx)("div",{className:o.icon,children:(0,n.jsx)(eo.A,{})}),(0,n.jsxs)(r.A,{children:[(0,n.jsx)(g.A,{variant:"body3",className:o.propertyType,children:(0,n.jsx)(n.Fragment,{children:t.property_type})}),(0,n.jsx)("h3",{className:o.city,children:t.city})]})]}),(0,n.jsxs)(r.A,{className:o.content,children:[(0,n.jsx)(r.A,{className:o.actions,id:"EstateOfferPOI",children:(0,n.jsxs)("a",{href:s,target:"blank",className:o.link,children:[(0,n.jsx)("span",{className:o.linkIcon,children:(0,n.jsx)(er.A,{})}),(0,n.jsx)("span",{className:o.linkLabel,children:"Wyznacz trasÄ"})]})}),(0,n.jsx)("hr",{className:o.hr}),(0,n.jsxs)(r.A,{className:o.locationContainer,children:[(0,n.jsx)(r.A,{className:o.locationIcon,children:(0,n.jsx)(el.A,{})}),(0,n.jsxs)(g.A,{variant:"body3",className:o.address,children:[t.street," ",t.building_number,t.apartment_number&&"/".concat(t.apartment_number),(0,V.A)(", ".concat((e=>{let t=W.h.find(t=>t.value===e);return t?t.label:e})(t.voivodeship)))]})]})]})]})},ec=l.Df.withName("PKOBPEstateOfferMap").create(()=>({root:{marginTop:"96px",[s.Ay.breakpoints.up("md")]:{marginTop:"112px"}},head:{marginBottom:"19px",[s.Ay.breakpoints.up("sm")]:{marginBottom:"40px"}},title:{...s.Ay.typography.h2,marginTop:0,marginBottom:"0",fontSize:"24px",lineHeight:"32px",[s.Ay.breakpoints.up("md")]:{fontSize:"32px",marginBottom:"0",lineHeight:"40px"}},mapWrapper:{marginTop:"32px",[s.Ay.breakpoints.down("md")]:{marginTop:"0"}},sidebarContainer:{marginTop:"20px",marginLeft:"20px",width:"295px",color:"#000",background:"#fff",borderRadius:"16px",boxShadow:"0px 8px 32px #0000663D",maxHeight:"474px",overflow:"hidden"}})),ex=e=>{var t,i;let{item:l,...p}=e,{classes:d}=ec(),[c,x]=(0,a.useState)(null),m=(0,o.A)(s.Ay.breakpoints.between("sm","md")),h=(0,o.A)(s.Ay.breakpoints.down("md")),u=(null==(i=ea()())||null==(t=i.publicRuntimeConfig)?void 0:t.GOOGLE_API_KEY)||"",{isLoaded:y}=(0,et.KD)({id:"google-map-script",googleMapsApiKey:u,libraries:["maps","places"],language:"pl",region:"PL"}),b=(0,a.useCallback)(e=>x(e),[]);return(0,a.useEffect)(()=>{c&&y&&setTimeout(()=>{c.getDiv().querySelectorAll('a, button, [tabindex="0"], [role="button"]').forEach(e
1=>{e.closest("#EstateOfferPOI, .gm-control-active")||(e.setAttribute("aria-hidden","true"),e.setAttribute("tabindex","-1"))})},1e3)},[c,y]),(0,a.useEffect)(()=>{c&&setTimeout(()=>{let e=c.getDiv();if(!e)return;let t=()=>{e.querySelectorAll('div[tabindex="0"]').forEach(e=>{e.setAttribute("tabindex","-1")})};t();let i=new MutationObserver(t);return i.observe(e,{subtree:!0,attributes:!0,attributeFilter:["tabindex"]}),()=>i.disconnect()},1e3)},[c]),(0,n.jsxs)(r.A,{className:d.root,children:[(0,n.jsx)(r.A,{className:d.head,children:(0,n.jsx)(g.A,{variant:"h2",align:"center",className:d.title,id:"EstateOfferMapTitle",children:"Mapa"})}),y&&l.lat&&l.lng?(0,n.jsx)("div",{className:d.mapWrapper,children:(0,n.jsxs)(et.u6,{mapContainerStyle:{width:h?"100vw":"100%",height:h?"480px":"514px",marginLeft:m?"calc((-100vw + 100%)/2)":h?"-16px":"0"},center:h?{lat:l.lat,lng:l.lng}:{lat:l.lat,lng:l.lng-.01},zoom:14,options:{mapTypeControl:!1,fullscreenControl:!1,streetViewControl:!1,minZoom:6,gestureHandling:"cooperative",clickableIcons:!1},onLoad:b,children:[!h&&(0,n.jsx)("div",{className:d.sidebarContainer,children:(0,n.jsx)(ed,{item:l})}),(0,n.jsx)(et.pH,{position:{lat:l.lat,lng:l.lng},icon:{url:null===ei.A||void 0===ei.A?void 0:ei.A.src}})]})}):null]})},em=l.Df.withName("PKOBPEstateOffer").create(()=>({root:{}})),eh=e=>{var t,i,l;let{...x}=e,{classes:m}=em(),h=(0,a.useRef)(),g=x.result,u=(0,o.A)(s.Ay.breakpoints.down(1024));return(0,a.useEffect)(()=>{if(null==h?void 0:h.current){let e=h.current.parentElement.parentElement.parentElement;e&&(u?e.classList.add(p.u):e.classList.remove(p.u))}},[(null==h?void 0:h.current)&&u]),(0,n.jsx)(r.A,{className:m.root,ref:h,children:g?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(J,{item:g}),u&&(0,n.jsx)(c.A,{item:g,link:x.link}),(null==(i=g.photos)||null==(t=i[0])?void 0:t.url)&&(0,n.jsx)(F,{photos:g.photos}),(0,n.jsx)(ee.Ay,{item:g}),u&&(0,n.jsx)(d.A,{manager:g.manager}),(null==(l=g.accordions)?void 0:l.length)>0?(0,n.jsx)(y,{item:g}):(0,n.jsx)(n.Fragment,{}),(null==g?void 0:g.content)&&(0,n.jsx)($,{item:g}),(0,n.jsx)(ex,{item:g})]}):(0,n.jsx)(n.Fragment,{children:"Dane oferty nieruchomoÅci nie mogÄ
byÄ wyÅwietlone. Oferta zostaÅa zarchiwizowana lub wystÄ
piÅ bÅÄ
d aplikacji."})})}},77030:(e,t,i)=>{i.d(t,{A:()=>d});var n=i(26514);i(75834);var a=i(93794),l=i(54907),r=i(54004),o=i(42920);let s=e=>{let{fill:t="#003574"}=e;return(0,n.jsxs)("svg",{"aria-hidden":"true",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,n.jsx)("path",{d:"M18 17.0012C18.2652 17.0012 18.5195 16.8958 18.707 16.7083C18.8946 16.5207 19 16.2664 19 16.0012V9.00116C19 8.73595 18.8946 8.48161 18.707 8.29407C18.5195 8.10653 18.2652 8.00116 18 8.00116H14.5V6.92118C14.4983 6.79399 14.4706 6.6685 14.4187 6.55237C14.3668 6.43625 14.2919 6.33191 14.1982 6.24579C14.1046 6.15967 13.9943 6.09355 13.8743 6.05149C13.7542 6.00942 13.6269 5.99231 13.5 6.00116H10.5C10.3731 5.99231 10.2458 6.00942 10.1257 6.05149C10.0057 6.09355 9.89537 6.15967 9.80176 6.24579C9.70815 6.33191 9.6332 6.43625 9.5813 6.55237C9.52939 6.6685 9.50173 6.79399 9.5 6.92118V8.00116H6C5.73478 8.00116 5.48051 8.10653 5.29297 8.29407C5.10543 8.48161 5 8.73595 5 9.00116V16.0012C5 16.2664 5.10543 16.5207 5.29297 16.7083C5.48051 16.8958 5.73478 17.0012 6 17.0012H18ZM18 18.0012H6C5.46957 18.0012 4.96077 17.7905 4.58569 17.4154C4.21062 17.0403 4 16.5316 4 16.0012V9.00116C4 8.47073 4.21062 7.96202 4.58569 7.58695C4.96077 7.21187 5.46957 7.00116 6 7.00116H8.5V6.92118C8.50158 6.66269 8.5549 6.40713 8.65698 6.16965C8.75906 5.93217 8.90777 5.71756 9.09424 5.53855C9.28071 5.35953 9.50123 5.21975 9.74268 5.12744C9.98412 5.03514 10.2417 4.9922 10.5 5.00116H13.5C13.7583 4.9922 14.0159 5.03514 14.2573 5.12744C14.4988 5.21975 14.7193 5.35953 14.9058 5.53855C15.0922 5.71756 15.2409 5.93217 15.343 6.16965C15.4451 6.40713 15.4984 6.66269 15.5 6.92118V7.00116H18C18.5304 7.00116 19.0392 7.21187 19.4143 7.58695C19.7894 7.96202 20 8.47073 20 9.00116V16.0012C20 16.5316 19.7894 17.0403 19.4143 17.4154C19.0392 17.7905 18.5304 18.0012 18 18.0012Z",fill:t}),(0,n.jsx)("path",{d:"M12 10.0012C11.4696 10.0012 10.9608 10.2119 10.5857 10.5869C10.2106 10.962 10 11.4707 10 12.0012C10 12.5316 10.2106 13.0403
110.5857 13.4154C10.9608 13.7904 11.4696 14.0012 12 14.0012C12.5304 14.0012 13.0392 13.7904 13.4143 13.4154C13.7894 13.0403 14 12.5316 14 12.0012C14 11.4707 13.7894 10.962 13.4143 10.5869C13.0392 10.2119 12.5304 10.0012 12 10.0012ZM12 9.00116C12.7956 9.00116 13.5587 9.31724 14.1213 9.87985C14.6839 10.4425 15 11.2055 15 12.0012C15 12.7968 14.6839 13.5599 14.1213 14.1225C13.5587 14.6851 12.7956 15.0012 12 15.0012C11.2044 15.0012 10.4413 14.6851 9.87866 14.1225C9.31605 13.5599 9 12.7968 9 12.0012C9 11.2055 9.31605 10.4425 9.87866 9.87985C10.4413 9.31724 11.2044 9.00116 12 9.00116Z",fill:t}),(0,n.jsx)("path",{d:"M5.5 5.00116H7.5C7.5 5.26638 7.39457 5.52072 7.20703 5.70825C7.01949 5.89579 6.76522 6.00116 6.5 6.00116H4.5C4.5 5.73594 4.60543 5.4816 4.79297 5.29407C4.98051 5.10653 5.23478 5.00116 5.5 5.00116Z",fill:t})]})},p=a.Df.withName("PKOBPEstateImagesCount").create(()=>({root:{minWidth:"48px",minHeight:"24px",background:"#fff",display:"flex",flexWrap:"nowrap",alignItems:"center",borderRadius:"4px",padding:"0 4px","& svg":{marginRight:"4px"}},typo:{...r.Ay.typography.body4,marginRight:"4px"}})),d=e=>{let{value:t}=e,{classes:i}=p();return(0,n.jsxs)(l.A,{className:i.root,children:[(0,n.jsx)(s,{})," ",(0,n.jsx)(o.A,{variant:"span",className:i.typo,children:t})]})}}}]);
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.