_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[26],{"29EK":function(e,t,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/gallery",function(){return a("dmCw")}])},PitJ:function(e,t,a){"use strict";var o=a("q1tI"),i=a.n(o),p=a("mC2l"),s=a("AEh2"),r=a("r1eg"),n=i.a.createElement,l=function(e){var t=e.textLabelTop,a=e.textLabelBottom,o=e.src,i=e.title;return n("div",{className:"presented-logo-block text-center uppercase"},n("span",null,t),n(r.a,{className:"m-auto py-2 sm:py-4",src:o,alt:i,title:i}),n("span",null,a))},d=a("UJWg"),m=i.a.createElement,c=function(e){return m("ul",{className:"info-list"},e.children.map((function(e){return m("li",{key:e.title},e.title)})))},u=a("YFqc"),g=a.n(u),h=a("BBTg"),f=a.n(h),b=i.a.createElement;t.a=function(e){var t=e.data,a=e.section,o=e.FOBadgeHtml,n="homepage";"undefined"!=typeof a&&(n=a);var m="https://dummyimage.com/1920x1080/aaa/ffffff.png&text=No+Photo";t.prop.media&&t.prop.media[0]&&t.prop.media[0].photo&&(m=f.a.resizePhoto(t.prop.media[0].photo,1920,1080,!0,t.prop.media[0].last_updated)),"gallery"==n&&t.prop.media&&t.prop.media[1]&&t.prop.media[1].photo&&(m=f.a.resizePhoto(t.prop.media[1].photo,1920,1080,!0,t.prop.media[1].last_updated)),"details"==n&&t.prop.media&&t.prop.media[2]&&t.prop.media[2].photo&&(m=f.a.resizePhoto(t.prop.media[2].photo,1920,1080,!0,t.prop.media[2].last_updated));var u=f.a.def(t.template[n].top_subtitle,t.prop.agent+" Presents"),h=f.a.def(t.template[n].top_main_headline_text,t.prop.address),_=f.a.def(t.template[n].top_bottom_subtitle,t.prop.city+", "+t.prop.state);t.prop.agents.length>1&&(u=f.a.def(t.template[n].top_subtitle,"Introducing")),"homepage"!=n&&(u=f.a.def(t.template[n].top_subtitle,""),h=f.a.def(t.template[n].top_main_headline_text,"Building on the extraordinary"),_=f.a.def(t.template[n].top_bottom_subtitle,""));switch(t.meta.cid){case 1:b(r.a,{className:"badge-img absolute bottom-0 right-0",src:"/images/badge-01.png",title:"Realogics SIR"});break;case 2:b(r.a,{className:"badge-img absolute bottom-0 right-0",src:"/images/wps-logo-white.svg",title:"William Pitt SIR"})}var v=!1;if(""!=t.prop.list_date){var N=new Date(t.prop.list_date);new Date-6048e5<N&&(v=!0)}return b(p.a,{backgroundImg:m,section:n},b("div",{className:"content absolute text-center text-white"},t.template[n].top_main_headline_photo?b(l,{textLabelTop:u,textLabelBottom:_,src:t.template[n].top_main_headline_photo,alt:"",title:""}):b(i.a.Fragment,null,b(c,{children:[{title:u}]}),b(d.a,{headline:h}),b(c,{children:[{title:_}]}))),b(s.a,{scrollTo:"main-content"}),b("div",{className:"absolute top-badges"},"Pending"==t.prop.status&&b("span",{className:"status-badge status-pending"},"Pending"),"Accepted Offer"==t.prop.status&&b("span",{className:"status-badge status-pending"},"Accepted Offer"),"Closed"==t.prop.status&&b("span",{className:"status-badge status-sold"},"Sold"),"Coming Soon"==t.prop.status&&b("span",{className:"status-badge status-sold"},"Coming Soon"),"Expired"==t.prop.status&&b("span",{className:"status-badge status-sold"},"Off-Market"),"Withdrawn"==t.prop.status&&b("span",{className:"status-badge status-sold"},"Off-Market"),"Deleted"==t.prop.status&&b("span",{className:"status-badge status-sold"},"Off-Market"),t.prop.price_original>0&&t.prop.price>0&&t.prop.price_original>t.prop.price&&b("span",{className:"status-badge"},"Price Reduced"),1==v&&"Coming Soon"!=t.prop.status&&b("span",{className:"status-badge"},"New on Market"),t.prop.vrtours.length>0&&t.prop.vrtours[0]&&t.prop.vrtours[0].url&&b(g.a,{href:"/3dtour"},b("a",{className:"status-badge type-3dtour"},"3D Virtual Tour")),t.prop.videos.length>0&&t.prop.videos[0].url&&b(g.a,{href:"/video"},b("a",{className:"status-badge type-video"},"Video Tour")),o&&b("div",{id:"final-offer-banner-space",dangerouslySetInnerHTML:{__html:o}})))}},dmCw:function(e,t,a){"use strict";a.r(t);var o=a("q1tI"),i=a.n(o),p=a("Qog0"),s=a("sjbD"),r=a("VvNo"),n=a("5UYm"),l=(a("PitJ"),a("lkmi"),a("3Tqp")),d=a("S1zN"),m=a("p3/9"),c=(a("OiOa"),a("BZOg"),a("HqSO"),a("O6il")),u=a("BBTg"),g=a.n(u),h=i.a.createElement,f=function(e){for(var t=e.query,a=Object(o.useContext)(c.a).data,u="Gallery: ".concat(g.a.def(a.template.seo_title,a.template.title)),f=g.a.getPropertyAddress(a.prop),b=f.address,_=(f.citystate,f.city),v=f.state,N=(g.a.def(a.template.gallery.remarks_override,"Description coming soon."),0),w=100,y=[],x=0;x<Math.ceil(a.prop.media.length/6);x++){w++;var I=[],P=6*x,k=P+1,E=k+1,z=E+1,T=z+1,B=T+1;I=[{index:++N,align:"row",title:g.a.def(a.prop.media[P].caption,""),imgItem:g.a.resizePhoto(a.prop.media[P].photo,1280,853,!0,a.prop.media[P].last_updated),nestedImgItems:[]}],a.prop.media[k]&&(w++,I[0].nestedImgItems[0]={key:w,title:g.a.def(a.prop.media[k].caption,""),imgItem:g.a.resizePhoto(a.prop.media[k].photo,800,533,!0,a.prop.media[k].last_updated)}),a.prop.media[E]&&(w++,I[0].nestedImgItems[1]={key:w,title:g.a.def(a.prop.media[E].caption,""),imgItem:g.a.resizePhoto(a.prop.media[E].photo,800,533,!0,a.prop.media[E].last_updated)}),a.prop.media[z]&&(w++,N++,I[1]={index:N,align:"row-reverse",title:g.a.def(a.prop.media[z].caption,""),imgItem:g.a.resizePhoto(a.prop.media[z].photo,1280,853,!0,a.prop.media[z].last_updated),nestedImgItems:[]}),a.prop.media[T]&&(w++,I[1].nestedImgItems[0]={key:w,title:g.a.def(a.prop.media[T].caption,""),imgItem:g.a.resizePhoto(a.prop.media[T].photo,800,533,!0,a.prop.media[T].last_updated)}),a.prop.media[B]&&(w++,I[1].nestedImgItems[1]={key:w,title:g.a.def(a.prop.media[B].caption,""),imgItem:g.a.resizePhoto(a.prop.media[B].photo,800,533,!0,a.prop.media[B].last_updated)}),y.push(I)}return h(i.a.Fragment,null,h(p.a,{title:u,description:a.template.seo_description,data:a,zoom_me:t.preview,share_photo:t.p},h(s.a,{data:a},h(r.a,{title:a.template.title,data:a,path:"/"})),h(n.a,null,h(d.a,null,h("div",{className:"container container-max-width max-w-4xl sub-page-wrapper"},h("h6",{className:"h6 uppercase not-italic font-body"},b,", ",_,", ",v),h("h2",{className:"h2 not-italic text-black text-xl sm:text-5xl"},"Photo Gallery"))),y.map((function(e){return h(m.a,{heading:"",description:"",children:e})})),h(l.a,{data:a,className:"small-cards"}))))};f.getInitialProps=function(e){return{query:e.query}},t.default=f},lkmi:function(e,t,a){"use strict";var o=a("q1tI"),i=a.n(o),p=a("78rd"),s=a("iqf+"),r=a("YVwf"),n=a.n(r),l=(a("p6Nx"),a("r1eg"),a("LdDi"),i.a.createElement),d=function(e){return l("div",{className:"section slider-section"},l(n.a,{spaceBetween:25,initialSlide:2,slidesPerView:1,loop:!0,grabCursor:!0,centeredSlides:!0,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},breakpoints:{580:{slidesPerView:1},768:{slidesPerView:"auto"}}},e.children.map((function(e){var t={backgroundImage:"url(".concat(e.path,")"),backgroundSize:"cover",backgroundPosition:"center center"};return l("div",{key:e.index,style:t},"\xa0")}))))},m=a("BBTg"),c=a.n(m),u=i.a.createElement;t.a=function(e){var t=e.data,a=[],o=[],i=[];return t.prop.media&&t.prop.media[0]&&(a=t.prop.media.map((function(e,a){return{index:a+1,title:c.a.def(e.caption,t.prop.address),path:c.a.resizePhoto(e.photo,1920,1080,!0,e.last_updated)}}))),a.length||o.length||i.length?u("div",{className:"media-gallery-section"},u("div",{className:"holder"},u(p.a,{title:"Media Gallery"}),u(s.e,{initialValue:"tab-photos"},u(s.c,null,a.length>0&&u(s.a,{name:"tab-photos"},u("div",null,"Photos"),u(s.b,null)),o.length>0&&u(s.a,{name:"tab-video"},u("div",null,"Video"),u(s.b,null)),i.length>0&&u(s.a,{name:"tab-3d"},u("div",null,"3D Tours"),u(s.b,null))),a.length>0&&u(s.d,{name:"tab-photos"},u(d,{children:a})),o.length>0&&u(s.d,{name:"tab-video"},u(d,{children:o})),i.length>0&&u(s.d,{name:"tab-3d"},u(d,{children:i}))))):""}}},[["29EK",0,1,3,8,2,4,5,6,7,11,12,9]]]);