PageSourceSearch

https://www.grandplace.be/_next/static/chunks/property-gallery-view-3.a679494a089d6318.js

js grandplace.be collected 2026-10-04 20:38:54 UTC 5,666 bytes, 1 lines download raw bytes

1!function(){try{var e="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{},l=(new e.Error).stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="af177475-4e5e-4f1a-ad3f-2ec0fbc8515c",e._sentryDebugIdIdentifier="sentry-dbid-af177475-4e5e-4f1a-ad3f-2ec0fbc8515c")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9345],{19660:(e,l,t)=>{t.r(l),t.d(l,{default:()=>f});var s=t(95155),i=t(5772),r=t(12115),a=t(73321),n=t(10412),o=t(5514),c=t(25291),d=t(4948),u=t(8832),h=t(66565);let x=e=>{var l,t,x,f,g,p,m,w,v,y,j;let{property:b,dictionary:N,settings:I,className:k}=e,C=(0,a.useRouter)(),[U,_]=(0,r.useState)(0),[E,z]=(0,r.useState)(!1),P=b.MediumPictureItems||[],F=b.LargePictureItems||[],S=F.length>0?F:[],T=P.length>0?P:S,A=b.VirtualTour||b.VirtualTour2,R=(0,d.oc)(A)||(0,d.PK)(A);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"property-gallery-view-3 container mx-auto",children:(0,s.jsxs)("div",{className:"flex gap-6",children:[(0,s.jsxs)("div",{className:"bg-gray-100 flex-1 aspect-[4/3] relative rounded-xl overflow-hidden",children:[(null==I||null==(l=I.propertyDetail)?void 0:l.galleryShowBackButton)===!0&&(0,s.jsxs)("button",{type:"button",className:"absolute top-6 left-6 z-10 flex items-center gap-2 text-white hover:text-white/70 transition-colors cursor-pointer",onClick:()=>{window.history.length>2?window.history.back():C.push("/")},"aria-label":"Go back",children:[(0,s.jsx)(o.A,{icon:"FaChevronLeft",width:14,height:14,customIcons:null==I?void 0:I.customIcons}),(0,s.jsx)("span",{className:"text-sm",children:N.BACK||"Back"})]}),(0,s.jsx)(n.default,{type:"secondary",small:!0,className:"absolute top-6 right-6 z-10 shadow-lg rounded-full w-10 h-10 text-center !p-0",onClick:()=>{_(0),z(!0)},children:(0,s.jsx)(o.A,{icon:"FaExpand",width:16,height:16,className:"mx-auto"})}),R&&(0,s.jsx)("div",{className:"h-full w-full",children:(0,s.jsx)(u.default,{url:A})}),!R&&(null==(t=S[0])?void 0:t.Url)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("picture",{children:[(null==(x=P[0])?void 0:x.Url)&&(0,s.jsx)("source",{media:"(max-width: 768px)",srcSet:P[0].Url}),(0,s.jsx)(i.default,{className:"h-full w-full cursor-pointer",style:{objectFit:"cover"},src:S[0].Url,alt:"Property",width:1280,height:600,priority:!0,fetchPriority:"high",sizes:"(max-width: 768px) 100vw, (max-width: 1024px) 66vw, 50vw",onClick:()=>{_(0),z(!0)}})]}),S.length>1&&(0,s.jsxs)("div",{className:"lg:hidden absolute bottom-4 right-4 bg-black/70 text-white px-3 py-1.5 rounded-full text-sm flex items-center gap-1.5 pointer-events-none",children:[(0,s.jsx)(o.A,{icon:"image",width:16,height:16,className:"w-4 h-4"}),(0,s.jsx)("span",{children:S.length})]})]}),R&&S.length>0&&(0,s.jsx)("div",{className:"lg:hidden absolute bottom-4 left-1/2 -translate-x-1/2 z-10",children:(0,s.jsx)(n.default,{type:"primary",onClick:()=>{_(0),z(!0)},children:N.SHOW_PICTURES||N.VIEW_MORE_PICTURES||"View Gallery"})}),!R&&(0,s.jsx)(c.default,{property:b,showText:!0,position:"bottom-center",dictionary:N})]}),(0,s.jsxs)("div",{className:"hidden lg:grid flex-1 grid-cols-2 gap-6",children:[(0,s.jsx)("div",{className:"bg-gray-100 aspect-[4/3] rounded-xl overflow-hidden",children:(null==(f=T[+!R])?void 0:f.Url)&&(0,s.jsx)(i.default,{className:"h-full w-full cursor-pointer",style:{objectFit:"cover"},src:(null==(g=T[+!R])?void 0:g.Url)||"",alt:"Gallery",width:600,height:600,loading:"lazy",sizes:"(max-width: 1024px) 0px, 25vw",onClick:()=>{_(+!R),z(!0)}})}),(0,s.jsx)("div",{className:"bg-gray-100 aspect-[4/3] rounded-xl overflow-hidden",children:(null==(p=T[R?1:2])?void 0:p.Url)&&(0,s.jsx)(i.default,{className:"h-full w-full cursor-pointer",style:{objectFit:"cover"},src:(null==(m=T[R?1:2])?void 0:m.Url)||"",alt:"Gallery",width:600,height:600,loading:"lazy",sizes:"(max-width: 1024px) 0px, 25vw",onClick:()=>{_(R?1:2),z(!0)}})}),(0,s.jsx)("div",{className:"bg-gray-100 aspect-[4/3] rounded-xl overflow-hidden",children:(null==(w=T[R?2:3])?void 0:w.Url)&&(0,s.jsx)(i.default,{className:"h-full w-full cursor-pointer",style:{objectFit:"cover"},src:(null==(v=T[R?2:3])?void 0:v.Url)||"",alt:"Gallery",width:600,height:600,loading:"lazy",sizes:"(max-width: 1024px) 0px, 25vw",onClick:()=>{_(R?2:3),z(!0)}})}),(0,s.jsx)("div",{className:"bg-gray-100 aspect-[4/3] relative rounded-xl overflow-hidden",children:(null==(y=T[R?3:4])?void 0:y.Url)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(i.default,{className:"h-full w-full cursor-pointer",style:{objectFit:"cover"},src:(null==(j=T[R?3:4])?void 0:j.Url)||"",alt:"Gallery",width:600,height:600,loading:"lazy",sizes:"(max-width: 1024px) 0px, 25vw",onClick:()=>{_(0),z(!0)}}),(0,s.jsx)("div",{className:"absolute inset-0 bg-black/40 flex items-center justify-center",children:(0,s.jsx)(n.default,{type:"secondary",onClick:()=>{_(0),z(!0)},children:(0,s.jsxs)("span",{className:"flex items-center gap-2",children:[(0,s.jsx)(o.A,{icon:"FaCamera",width:16,height:16,customIcons:null==I?void 0:I.customIcons}
1),(0,s.jsx)("span",{children:N.ALL_PICTURES||N.VIEW_MORE_PICTURES||"All pictures"})]})})})]})})]})]})}),E&&(0,s.jsx)(h.A,{images:S.filter(e=>!(0,d.oc)(e.Url)&&!(0,d.PK)(e.Url)),mobileImages:P,xlImages:b.XLargePictureItems||[],title:b.TypeDescription||"",startIndex:U,onClose:()=>z(!1),dictionary:N,settings:I})]})},f=e=>(0,s.jsx)(x,{...e})},66565:(e,l,t)=>{t.d(l,{A:()=>r});var s=t(95155),i=t(12115);function r(e){let[l,r]=(0,i.useState)(null);return((0,i.useEffect)(()=>{let e=!1;return Promise.all([t.e(1059),t.e(8276)]).then(t.bind(t,44226)).then(l=>{e||r(()=>l.default)}),()=>{e=!0}},[]),l)?(0,s.jsx)(l,{...e}):null}}}]);

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.