PageSourceSearch

https://immo-zone-omnicasa.vercel.app/_next/static/chunks/property-gallery-view-4.85352f8f7c305aa1.js

js immo-zone-omnicasa.vercel.app collected 2026-10-03 07:08:08 UTC 7,691 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]="12e1fd7a-52a6-46bb-90db-f77086433a48",e._sentryDebugIdIdentifier="sentry-dbid-12e1fd7a-52a6-46bb-90db-f77086433a48")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1055,2750],{15365:(e,l,t)=>{t.r(l),t.d(l,{default:()=>m});var r=t(95155),a=t(5772),i=t(12115),n=t(37206),o=t(51230),s=t(40477),u=t(66565),d=t(37043),c=t(72921);let f=(0,n.default)(()=>Promise.all([t.e(8304),t.e(6767)]).then(t.bind(t,13427)),{loadableGenerated:{webpack:()=>[13427]}}),p=(0,n.default)(()=>t.e(1483).then(t.bind(t,4506)),{loadableGenerated:{webpack:()=>[4506]},loading:()=>null}),v=e=>{var l,t,n,v,m,h;let{property:g,dictionary:b,settings:x,className:w}=e,[y,j]=(0,i.useState)(0),[q,N]=(0,i.useState)(!1),[I,C]=(0,i.useState)(0),[D,k]=(0,i.useState)(null),S=(0,i.useRef)(null),P=g.MediumPictureItems||[],M=g.LargePictureItems||[],$=g.XLargePictureItems||[],U=g.TypeDescription||"",E=M.length>0?M:[],T=(0,i.useCallback)(e=>{C(e),N(!0)},[]),_=(0,i.useCallback)(()=>{N(!1)},[]),A=(0,i.useCallback)(e=>{D&&D.scrollTo(e)},[D]),L=(0,i.useCallback)(e=>{T(e)},[T]),F=(0,i.useCallback)(e=>{S.current={x:e.clientX,y:e.clientY,time:Date.now()}},[]),z=(0,i.useCallback)(e=>{if(S.current){let{x:l,y:t,time:r}=S.current,a=Math.abs(e.clientX-l),i=Math.abs(e.clientY-t),n=Date.now()-r;a<10&&i<10&&n<300&&T(y),S.current=null}},[y,T]);return 0===E.length?null:(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("div",{className:`property-gallery-view-4 ${w||""}`,children:[(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"cursor-pointer",onPointerDown:F,onPointerUp:z,children:(0,r.jsx)(f,{options:{loop:!0},navigation:{outside:!1,fixed:!0},allowFullScreen:!1,className:d.k,onSlideChange:j,getApi:k,prevIcon:(null==x||null==(t=x.propertyDetail)||null==(l=t.galleryPrevIcon)?void 0:l.icon)||(null==x||null==(n=x.propertyDetail)?void 0:n.galleryPrevIcon)||"FaChevronLeft",nextIcon:(null==x||null==(m=x.propertyDetail)||null==(v=m.galleryNextIcon)?void 0:v.icon)||(null==x||null==(h=x.propertyDetail)?void 0:h.galleryNextIcon)||"FaChevronRight",customIcons:null==x?void 0:x.customIcons,children:E.map((e,l)=>{var t,i,n;if(!(null==e?void 0:e.Url))return null;let s=(null==(t=M[l])?void 0:t.Url)||e.Url,u=(null==(i=P[l])?void 0:i.Url)||e.Url;return(0,r.jsx)(o.A,{normal:(0,r.jsx)("div",{className:"h-full w-full",children:(0,r.jsxs)("picture",{children:[(null==(n=P[l])?void 0:n.Url)&&(0,r.jsx)("source",{media:"(max-width: 768px)",srcSet:u}),(0,r.jsx)(a.default,{className:"h-full w-full object-cover",src:s,alt:U||"Property",width:d.u.width,height:d.u.height,priority:0===l,fetchPriority:0===l?"high":"low",loading:0===l?"eager":"lazy",sizes:"(max-width: 768px) 100vw, 1280px"})]})})},l)})})}),(0,r.jsx)("div",{className:"absolute left-4 top-4 z-10",children:(0,r.jsx)(s.r,{property:g,settings:x,dictionary:b,relative:!0})}),(0,r.jsx)(p,{property:g,showText:!0,position:"bottom-center",dictionary:b})]}),E.length>1&&(0,r.jsx)(c.A,{images:E,mobileImages:P,title:U,currentSlide:y,onThumbnailClick:A,onThumbnailDoubleClick:L})]}),q&&(0,r.jsx)(u.A,{images:E,mobileImages:P,xlImages:$,title:U,startIndex:I,onClose:_,dictionary:b,settings:x})]})},m=e=>(0,r.jsx)(v,{...e})},40477:(e,l,t)=>{t.d(l,{r:()=>o});var r=t(95155),a=t(78421),i=t(41055);let n={view:"1",position:"left",list:[],bgColor:"#dc2626",color:"#ffffff"},o=e=>{let l=function(e){let{property:l,project:t,dictionary:r,settings:a,relative:i,overlapImage:o,className:s="",label:u,bgColor:d,color:c,uppercase:f,forceShow:p=!1}=e,v=e.view||"1",m=(null==a?void 0:a.marquees)??n;if(m.view&&(v=m.view),!l&&!t)return null;let h=void 0!==u,g=u??"",b=!1,x=r.LANG;if(!h){var w,y;if(l&&0===l.Marquee)return null;if(l)g=l.MarqueeName||"";else if(t){let e=t.PercentageSold||0,l=t.Goal||0;e>0?"100"===e||100===e?(t.Marquee=3,g=`100% ${1==l?r.RENTED:r.SOLD}`):(b=!0,g=`${e}% ${1==l?r.RENTED:r.SOLD}`):0!==t.Marquee&&(g=t.MarqueeName||"");let a=(null==(y=m.ignoreList)?void 0:y.split(","))||[];
1t.Marquee&&a.includes(t.Marquee.toString())&&(g=t.MarqueeName||"")}let e=null==(w=m.list)?void 0:w.find(e=>e.marqueeId==((null==l?void 0:l.Marquee)||(null==t?void 0:t.Marquee)));if(e&&e.hideMarquee)return null}if((!g||""===g)&&!p)return null;let j={property:l,project:t,lang:x,label:g,isPercentageSold:b,relative:i??!1,overlapImage:o??!1,isCustomLabel:h,...void 0!==d?{bgColorOverride:d}:{},...void 0!==c?{colorOverride:c}:{},...void 0!==f?{uppercase:f}:{}},q=String(v||"1");return"5"===q?{view:q,viewProps:{...j,settings:{...a??{},marquees:m},className:s}}:"8"===q||"9"===q?{view:q,viewProps:{...j,config:m,className:s}}:{view:q,viewProps:{...j,config:m}}}(e);return l?"1"===l.view?(0,r.jsx)(i.default,{...l.viewProps}):(0,r.jsx)(a.default,{view:l.view,viewProps:l.viewProps}):null}},41055:(e,l,t)=>{t.r(l),t.d(l,{default:()=>i});var r=t(95155),a=t(88768);let i=e=>{let{property:l,project:t,lang:i,label:n,config:o,relative:s,isPercentageSold:u,isCustomLabel:d,bgColorOverride:c,colorOverride:f,uppercase:p}=e,v=o.bgColor,m=o.color,h=n,g=o.position||"",b=!1,x=l&&l.SubstatusDate?(0,a.Yq)(l.SubstatusDate,i):"",w=l?l.Marquee:t.Marquee,y=o.list.find(e=>parseInt(e.marqueeId)==w);if(y){if(y.hideMarquee&&!d)return(0,r.jsx)(r.Fragment,{});d||(v=y.bgColor,m=y.color,h=y.label,b=y.showSubStatusDate||!1,g=y.position&&"default"!==y.position?y.position:g)}c&&(v=c),f&&(m=f);let j=d?"marquee marquee-custom":`marquee marquee-${w}${u?" marquee-percentage-sold":""}`,q="top-3 left-3 right-auto w-auto";return(g&&"left"==g&&(q="top-3 left-3"),g&&"right"==g&&(q="top-3 right-3"),g&&"center"==g&&(q="top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-auto min-w-[150px] text-center"),""==h)?(0,r.jsx)(r.Fragment,{}):(0,r.jsxs)("div",{className:`marquee-container ${s?"relative":`absolute z-10 ${q}`}`,children:[(0,r.jsx)("div",{className:`flex relative shadow-xl items-center justify-center py-1 px-2 min-h-[32px] rounded-md ${j}`,style:{backgroundColor:v,color:m},children:(0,r.jsx)("span",{className:`${!1===p?"":"uppercase"} font-semibold text-sm`.trim(),children:h})}),b&&l.SubstatusDate&&(0,r.jsx)("div",{className:"text-xs px-2 py-1 mt-1",style:{color:m,backgroundColor:v},children:x})]})}},66565:(e,l,t)=>{t.d(l,{A:()=>i});var r=t(95155),a=t(12115);function i(e){let[l,i]=(0,a.useState)(null);return((0,a.useEffect)(()=>{let e=!1;return Promise.all([t.e(1059),t.e(8276)]).then(t.bind(t,44226)).then(l=>{e||i(()=>l.default)}),()=>{e=!0}},[]),l)?(0,r.jsx)(l,{...e}):null}},72921:(e,l,t)=>{t.d(l,{A:()=>n});var r=t(95155),a=t(5772),i=t(12115);function n(e){let[l,n]=(0,i.useState)(null);if((0,i.useEffect)(()=>{let e=!1;return Promise.all([t.e(1059),t.e(1649)]).then(t.bind(t,20355)).then(l=>{e||n(()=>l.default)}),()=>{e=!0}},[]),l)return(0,r.jsx)(l,{...e});let{images:o,mobileImages:s,title:u,currentSlide:d,onThumbnailClick:c,onThumbnailDoubleClick:f}=e;return(0,r.jsx)("div",{className:"mt-2 -mx-1 px-1 overflow-x-auto",children:(0,r.jsx)("div",{className:"flex gap-2 py-1",children:o.map((e,l)=>{var t;if(!(null==e?void 0:e.Url))return null;let i=d===l;return(0,r.jsx)("button",{type:"button",onClick:()=>c(l),onDoubleClick:()=>f(l),className:`relative flex-shrink-0 flex-grow-0 basis-[calc(25%-6px)] aspect-[16/10] overflow-hidden cursor-pointer transition-all duration-200 rounded-sm ${i?"ring-2 ring-primary":"opacity-60 hover:opacity-100"}`,children:(0,r.jsx)(a.default,{className:"h-full w-full object-cover",src:(null==(t=s[l])?void 0:t.Url)||e.Url,alt:`${u} - ${l+1}`,width:320,height:200,loading:"lazy"})},l)})})})}}}]);

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.