{"version":3,"file":"LightboxBehavior_2.D_C035up.mjs","names":["useState","useRef","useCallback","scrollLeft"],"sources":["https:/framerusercontent.com/modules/dq7cjp52336PNhTL05hX/myDU4C6mDZuk0He4n2Vb/LightboxBehavior_2.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,startTransition,useCallback}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";export default function LightboxBehavior(props){const{targetContainerName=\"Container - XL\",closeOnBackgroundClick=true,closeOnEsc=true,keyboardNavigation=true,loopMedia=true,showArrows=false,arrowSize=40,arrowColor=\"#FFFFFF\",backgroundColor=\"#000000\",backgroundOpacity=.9,backgroundBlur=30,imageMaxWidth=\"90vw\",imageMaxHeight=\"90vh\",openAnimation=\"scale\",animationDuration=.3,imageBorderRadius=0,showThumbnails=true,thumbnailSize=80,thumbnailGap=12,thumbnailBorderRadius=12}=props;const[isOpen,setIsOpen]=useState(false);const[galleryImages,setGalleryImages]=useState([]);const[currentIndex,setCurrentIndex]=useState(0);const[hoverLeft,setHoverLeft]=useState(false);const[hoverRight,setHoverRight]=useState(false);const[hoveredThumbnail,setHoveredThumbnail]=useState(null);const[hoverClose,setHoverClose]=useState(false);const[isMobile,setIsMobile]=useState(false);const[imageWidth,setImageWidth]=useState(null);const carouselRef=useRef(null);const attached=useRef(new Set);const imageRef=useRef(null);const isDragging=useRef(false);const startX=useRef(0);const scrollLeft=useRef(0);const velocity=useRef(0);const lastX=useRef(0);const lastTime=useRef(0);const animationFrame=useRef(null);const isLooping=useRef(false);const videoRefs=useRef(new Map);// Create looped images array\nconst displayImages=loopMedia&&galleryImages.length>0?[...galleryImages,...galleryImages,...galleryImages]:galleryImages;// Detect mobile viewport\nuseEffect(()=>{if(typeof window===\"undefined\")return;const checkMobile=()=>{setIsMobile(window.innerWidth<768);};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>window.removeEventListener(\"resize\",checkMobile);},[]);// Prevent body scroll when lightbox is open\nuseEffect(()=>{if(typeof document===\"undefined\")return;if(isOpen){document.body.style.overflow=\"hidden\";}else{document.body.style.overflow=\"\";}return()=>{document.body.style.overflow=\"\";};},[isOpen]);// Responsive values\nconst responsivePadding=isMobile?12:24;const responsiveArrowSize=isMobile?Math.max(48,arrowSize):arrowSize;const responsiveThumbnailSize=isMobile?Math.min(60,thumbnailSize):thumbnailSize;const responsiveThumbnailGap=isMobile?Math.min(8,thumbnailGap):thumbnailGap;const responsiveImageMaxWidth=isMobile?\"95vw\":imageMaxWidth;const responsiveImageMaxHeight=isMobile?\"80vh\":imageMaxHeight;// Track image width for thumbnails container\nuseEffect(()=>{if(!imageRef.current||isMobile)return;const updateWidth=()=>{if(imageRef.current){setImageWidth(imageRef.current.offsetWidth);}};updateWidth();window.addEventListener(\"resize\",updateWidth);return()=>window.removeEventListener(\"resize\",updateWidth);},[currentIndex,isMobile]);// Helper function to check if source is a video\nconst isVideo=src=>{const videoExtensions=[\".mp4\",\".webm\",\".mov\",\".ogg\",\".avi\"];return videoExtensions.some(ext=>src.toLowerCase().includes(ext));};// Handle video playback based on active state\nuseEffect(()=>{if(!isOpen)return;videoRefs.current.forEach((video,index)=>{const isActive=loopMedia&&galleryImages.length>0?index%galleryImages.length===currentIndex%galleryImages.length:index===currentIndex;if(isActive){video.play().catch(()=>{// Ignore play errors\n});}else{video.pause();}});},[currentIndex,isOpen,loopMedia,galleryImages.length]);// 🔑 DOM SCAN — SAFE VERSION (NO EVENT BLOCKING)\nuseEffect(()=>{if(typeof window===\"undefined\")return;const attach=()=>{const elements=document.querySelectorAll(\"[data-framer-name]\");const images=[];elements.forEach(el=>{const element=el;if(element.getAttribute(\"data-framer-name\")!==targetContainerName)return;if(attached.current.has(element))return;let src=\"\";// Check for video elements\nif(element.tagName===\"VIDEO\"){src=element.src;}else if(element.tagName===\"IMG\"){src=element.src;}else{const bg=window.getComputedStyle(element).backgroundImage;const match=bg?.match(/url\\([\"']?([^\"']*)[\"']?\\)/);if(match)src=match[1];}if(!src){// Check for video child\nconst video=element.querySelector(\"video\");if(video){src=video.src;}else{const img=element.querySelector(\"img\");if(img)src=img.src;}}if(!src)return;images.push(src);// Don't make clickable on mobile\nif(window.innerWidth>=768){element.style.cursor=\"zoom-in\";}element.addEventListener(\"click\",()=>{// Prevent opening on mobile\nif(window.innerWidth<768)return;startTransition(()=>{setGalleryImages([...images]);setCurrentIndex(images.indexOf(src));setIsOpen(true);});});attached.current.add(element);});};attach();const interval=setInterval(attach,800);return()=>clearInterval(interval);},[targetContainerName]);// ⌨️ Keyboard navigation\nuseEffect(()=>{if(!isOpen||!keyboardNavigation)return;const onKey=e=>{if(e.key===\"Escape\"&&closeOnEsc){e.preventDefault();setIsOpen(false);}if(e.key===\"ArrowLeft\"){e.preventDefault();navigatePrev();}if(e.key===\"ArrowRight\"){e.preventDefault();navigateNext();}};window.addEventListener(\"keydown\",onKey);return()=>window.removeEventListener(\"keydown\",onKey);},[isOpen,keyboardNavigation,closeOnEsc,currentIndex,galleryImages.length,loopMedia]);const navigatePrev=useCallback(()=>{if(!carouselRef.current)return;if(loopMedia){const newIndex=currentIndex-1;startTransition(()=>setCurrentIndex(newIndex));const scrollLeft=newIndex*(1098+32);carouselRef.current.scrollTo({left:scrollLeft,behavior:\"smooth\"});}else{const newIndex=currentIndex===0?0:currentIndex-1;startTransition(()=>setCurrentIndex(newIndex));const scrollLeft=newIndex*(1098+32);carouselRef.current.scrollTo({left:scrollLeft,behavior:\"smooth\"});}},[currentIndex,loopMedia]);const navigateNext=useCallback(()=>{if(!carouselRef.current)return;if(loopMedia){const newIndex=currentIndex+1;startTransition(()=>setCurrentIndex(newIndex));const scrollLeft=newIndex*(1098+32);carouselRef.current.scrollTo({left:scrollLeft,behavior:\"smooth\"});}else{const newIndex=currentIndex===galleryImages.length-1?galleryImages.length-1:currentIndex+1;startTransition(()=>setCurrentIndex(newIndex));const scrollLeft=newIndex*(1098+32);carouselRef.current.scrollTo({left:scrollLeft,behavior:\"smooth\"});}},[currentIndex,loopMedia,galleryImages.length]);// Handle scroll to update current index\nuseEffect(()=>{if(!carouselRef.current||!isOpen||displayImages.length===0)return;const handleScroll=()=>{if(!carouselRef.current||isLooping.current)return;const scrollLeft=carouselRef.current.scrollLeft;const slideWidth=1098+32;const newIndex=Math.round(scrollLeft/slideWidth);if(newIndex!==currentIndex&&newIndex>=0&&newIndex<displayImages.length){startTransition(()=>setCurrentIndex(newIndex));}// Handle infinite loop repositioning\nif(loopMedia&&galleryImages.length>0){const totalSlides=displayImages.length;const originalLength=galleryImages.length;// If we're at the end of the third set, jump to the end of the second set\nif(newIndex>=originalLength*2){isLooping.current=true;const jumpToIndex=newIndex-originalLength;carouselRef.current.scrollTo({left:jumpToIndex*slideWidth,behavior:\"auto\"});startTransition(()=>setCurrentIndex(jumpToIndex));setTimeout(()=>{isLooping.current=false;},50);}else if(newIndex<originalLength){isLooping.current=true;const jumpToIndex=newIndex+originalLength;carouselRef.current.scrollTo({left:jumpToIndex*slideWidth,behavior:\"auto\"});startTransition(()=>setCurrentIndex(jumpToIndex));setTimeout(()=>{isLooping.current=false;},50);}}};const carousel=carouselRef.current;carousel.addEventListener(\"scroll\",handleScroll);return()=>carousel.removeEventListener(\"scroll\",handleScroll);},[isOpen,currentIndex,displayImages.length,loopMedia,galleryImages.length]);// Scroll to initial index when opening\nuseEffect(()=>{if(!carouselRef.current||!isOpen)return;// If looping, start at the middle set\nconst startIndex=loopMedia&&galleryImages.length>0?currentIndex+galleryImages.length:currentIndex;const scrollLeft=startIndex*(1098+32);carouselRef.current.scrollTo({left:scrollLeft,behavior:\"auto\"});if(loopMedia&&galleryImages.length>0){startTransition(()=>setCurrentIndex(startIndex));}},[isOpen]);// Mouse drag handlers\nconst handleMouseDown=useCallback(e=>{if(!carouselRef.current)return;isDragging.current=true;startX.current=e.pageX-carouselRef.current.offsetLeft;scrollLeft.current=carouselRef.current.scrollLeft;lastX.current=e.pageX;lastTime.current=Date.now();velocity.current=0;carouselRef.current.style.cursor=\"grabbing\";carouselRef.current.style.scrollBehavior=\"auto\";},[]);const handleMouseMove=useCallback(e=>{if(!isDragging.current||!carouselRef.current)return;e.preventDefault();const x=e.pageX-carouselRef.current.offsetLeft;const walk=x-startX.current;carouselRef.current.scrollLeft=scrollLeft.current-walk;// Calculate velocity\nconst now=Date.now();const dt=now-lastTime.current;if(dt>0){velocity.current=(e.pageX-lastX.current)/dt;}lastX.current=e.pageX;lastTime.current=now;},[]);const handleMouseUp=useCallback(()=>{if(!carouselRef.current)return;isDragging.current=false;carouselRef.current.style.cursor=\"grab\";const scrollLeft=carouselRef.current.scrollLeft;const slideWidth=1098+32;const currentSlide=scrollLeft/slideWidth;const currentSlideIndex=Math.round(currentSlide);let targetIndex=currentSlideIndex;if(Math.abs(velocity.current)>.5){if(velocity.current<0){targetIndex=Math.min(currentSlideIndex+1,displayImages.length-1);}else{targetIndex=Math.max(currentSlideIndex-1,0);}}else{const progress=currentSlide-Math.floor(currentSlide);targetIndex=progress>.2?Math.floor(currentSlide)+1:Math.floor(currentSlide);targetIndex=Math.max(0,Math.min(targetIndex,displayImages.length-1));}if(animationFrame.current){cancelAnimationFrame(animationFrame.current);}const targetScroll=targetIndex*slideWidth;carouselRef.current.scrollTo({left:targetScroll,behavior:\"smooth\"});},[displayImages.length]);const handleMouseLeave=useCallback(()=>{if(isDragging.current){handleMouseUp();}},[handleMouseUp]);const animation=openAnimation===\"scale\"?{initial:{opacity:0,scale:.8},animate:{opacity:1,scale:1},exit:{opacity:0}}:openAnimation===\"fade\"?{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0}}:{};return /*#__PURE__*/_jsx(AnimatePresence,{children:isOpen&&/*#__PURE__*/_jsx(motion.div,{...animation,transition:{duration:animationDuration},style:{position:\"fixed\",inset:0,zIndex:9999,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",backgroundColor:\"#FFFFFF\"},children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",zIndex:1,display:\"flex\",flexDirection:\"column\",alignItems:\"center\",justifyContent:\"center\",paddingTop:90,paddingBottom:90},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:10,alignItems:\"center\",position:\"relative\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{width:\"100vw\",position:\"relative\",display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"div\",{ref:carouselRef,onMouseDown:handleMouseDown,onMouseMove:handleMouseMove,onMouseUp:handleMouseUp,onMouseLeave:handleMouseLeave,style:{display:\"flex\",gap:32,alignItems:\"center\",overflow:\"auto\",scrollbarWidth:\"none\",msOverflowStyle:\"none\",WebkitOverflowScrolling:\"touch\",width:\"100%\",paddingLeft:\"calc(50vw - 549px)\",paddingRight:\"calc(50vw - 549px)\",cursor:\"grab\",userSelect:\"none\"},children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                                        div::-webkit-scrollbar {\n                                            display: none;\n                                        }\n                                    `}),displayImages.map((image,index)=>{const isActive=loopMedia&&galleryImages.length>0?index%galleryImages.length===currentIndex%galleryImages.length:index===currentIndex;return /*#__PURE__*/_jsx(\"div\",{style:{height:702,position:\"relative\",borderRadius:4,flexShrink:0,width:1098,opacity:isActive?1:.2,transition:\"opacity 300ms\",scrollSnapAlign:\"center\"},children:isVideo(image)?/*#__PURE__*/_jsx(\"video\",{ref:el=>{if(el){videoRefs.current.set(index,el);}else{videoRefs.current.delete(index);}},src:image,muted:true,loop:true,draggable:false,style:{position:\"absolute\",inset:0,maxWidth:\"none\",objectFit:\"cover\",pointerEvents:\"none\",borderRadius:4,width:\"100%\",height:\"100%\"}}):/*#__PURE__*/_jsx(\"img\",{alt:\"\",src:image,draggable:false,style:{position:\"absolute\",inset:0,maxWidth:\"none\",objectFit:\"cover\",pointerEvents:\"none\",borderRadius:4,width:\"100%\",height:\"100%\"}})},index);})]})}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"space-between\",width:1098},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"Inter, sans-serif\",fontWeight:500,fontSize:14,lineHeight:\"14px\",color:\"#333\",letterSpacing:\"-0.07px\",margin:0},children:\"Previous & Next\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:4,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:navigatePrev,style:{background:\"white\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:24,padding:6,borderRadius:6,cursor:\"pointer\",position:\"relative\",border:\"1px solid #d0d0d0\",boxShadow:\"0px 2px 1px 0px rgba(0,0,0,0.07)\",transition:\"background 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.background=\"#f5f5f5\";},onMouseLeave:e=>{e.currentTarget.style.background=\"white\";},children:/*#__PURE__*/_jsx(\"div\",{style:{width:20,height:20},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.6667 15L6.66668 10L11.6667 5L12.8333 6.16667L9.00001 10L12.8333 13.8333L11.6667 15Z\",fill:\"#1F1F1F\"})})})}),/*#__PURE__*/_jsx(\"button\",{onClick:navigateNext,style:{background:\"white\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:24,padding:6,borderRadius:6,cursor:\"pointer\",position:\"relative\",border:\"1px solid #d0d0d0\",boxShadow:\"0px 2px 1px 0px rgba(0,0,0,0.07)\",transition:\"background 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.background=\"#f5f5f5\";},onMouseLeave:e=>{e.currentTarget.style.background=\"white\";},children:/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transform:\"scaleY(-1) rotate(180deg)\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:20,height:20},children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 20 20\",fill:\"none\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M11.6667 15L6.66668 10L11.6667 5L12.8333 6.16667L9.00001 10L12.8333 13.8333L11.6667 15Z\",fill:\"#1F1F1F\"})})})})})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:8,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"Inter, sans-serif\",fontWeight:500,fontSize:14,lineHeight:\"14px\",color:\"#333\",letterSpacing:\"-0.07px\",margin:0},children:\"Exit full screen\"}),/*#__PURE__*/_jsx(\"div\",{style:{background:\"white\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",height:24,paddingLeft:8,paddingRight:8,paddingTop:6,paddingBottom:6,borderRadius:6,position:\"relative\",border:\"1px solid #d0d0d0\",boxShadow:\"0px 2px 1px 0px rgba(0,0,0,0.07)\"},children:/*#__PURE__*/_jsx(\"p\",{style:{fontFamily:\"Inter, sans-serif\",fontWeight:500,fontSize:12,lineHeight:\"14px\",color:\"#0c0c0c\",letterSpacing:\"-0.06px\",margin:0},children:\"Esc\"})})]})]})]}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>setIsOpen(false),style:{position:\"absolute\",right:32,top:32,width:44,height:44,cursor:\"pointer\",background:\"transparent\",border:\"none\",padding:0,transition:\"opacity 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.opacity=\"0.7\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"1\";},children:/*#__PURE__*/_jsx(\"svg\",{width:\"44\",height:\"44\",viewBox:\"0 0 44 44\",fill:\"none\",style:{display:\"block\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/_jsx(\"path\",{d:\"M15.0827 30.8669L13.133 28.9172L20.0502 22L13.133 15.1287L15.0827 13.1789L21.9999 20.0961L28.8712 13.1789L30.821 15.1287L23.9038 22L30.821 28.9172L28.8712 30.8669L21.9999 23.9498L15.0827 30.8669Z\",fill:\"#1F1F1F\"})})})]})})});}addPropertyControls(LightboxBehavior,{targetContainerName:{type:ControlType.String,title:\"Target Container\",defaultValue:\"Container - XL\"},loopMedia:{type:ControlType.Boolean,title:\"Loop Media\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LightboxBehavior\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LightboxBehavior_2.map"],"mappings":"mRAAwO,SAAwB,EAAiB,EAAM,CAAC,GAAK,CAAC,sBAAoB,iBAAiB,yBAAuB,GAAK,aAAW,GAAK,qBAAmB,GAAK,YAAU,GAAK,aAAW,GAAM,YAAU,GAAG,aAAW,UAAU,kBAAgB,UAAU,qBAAkB,GAAG,kBAAe,GAAG,iBAAc,OAAO,kBAAe,OAAO,gBAAc,QAAQ,oBAAkB,GAAG,qBAAkB,EAAE,kBAAe,GAAK,iBAAc,GAAG,gBAAa,GAAG,wBAAsB,IAAI,EAAW,CAAC,EAAO,GAAWA,EAAS,GAAM,CAAM,CAAC,EAAc,GAAkBA,EAAS,EAAE,CAAC,CAAM,CAAC,EAAa,GAAiBA,EAAS,EAAE,CAAM,CAAC,GAAU,IAAcA,EAAS,GAAM,CAAM,CAAC,GAAW,GAAeA,EAAS,GAAM,CAAM,CAAC,GAAiB,IAAqBA,EAAS,KAAK,CAAM,CAAC,GAAW,IAAeA,EAAS,GAAM,CAAM,CAAC,EAAS,GAAaA,EAAS,GAAM,CAAM,CAAC,GAAW,GAAeA,EAAS,KAAK,CAAO,EAAYC,EAAO,KAAK,CAAO,EAASA,EAAO,IAAI,IAAI,CAAO,EAASA,EA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