{"version":3,"file":"LightboxPro.Bq3aPLm3.mjs","names":["useState","useRef","useCallback","useMemo","_Fragment"],"sources":["https:/framerusercontent.com/modules/ASBc1ef9xwzJm1V821Fk/lNnTECmDBMeWcYkFWKVh/LightboxPro.js"],"sourcesContent":["// Bento grid layout with masonry-style gallery supporting unlimited images and videos\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useState,useEffect,startTransition,useRef,useMemo,useCallback}from\"react\";// Helper function to detect and convert YouTube URLs\nconst getYouTubeEmbedUrl=url=>{if(!url)return null;// Match various YouTube URL formats including Shorts\nconst youtubeRegex=/(?:youtube\\.com\\/(?:[^\\/]+\\/.+\\/|(?:v|e(?:mbed)?)\\/|.*[?&]v=|shorts\\/)|youtu\\.be\\/)([^\"&?\\/\\s]{11})/;const match=url.match(youtubeRegex);if(match&&match[1]){return`https://www.youtube.com/embed/${match[1]}?`;}return null;};// Helper function to detect and convert TikTok URLs\nconst getTikTokEmbedUrl=url=>{if(!url)return null;// Match TikTok video URLs - updated to handle various formats\nconst tiktokRegex=/tiktok\\.com\\/(?:@[\\w.-]+\\/video\\/|.*[?&]v=|v\\/)(\\d+)/;const match=url.match(tiktokRegex);if(match&&match[1]){return`https://www.tiktok.com/embed/v2/${match[1]}`;}// Fallback: try to extract video ID from anywhere in the URL\nconst videoIdMatch=url.match(/\\/video\\/(\\d+)/);if(videoIdMatch&&videoIdMatch[1]){return`https://www.tiktok.com/embed/v2/${videoIdMatch[1]}`;}return null;};// Helper function to check if URL is a YouTube URL\nconst isYouTubeUrl=url=>{if(!url)return false;return/(?:youtube\\.com|youtu\\.be)/.test(url);};// Helper function to check if URL is a TikTok URL\nconst isTikTokUrl=url=>{if(!url)return false;return/tiktok\\.com/.test(url);};// Helper function to get video source\nconst getVideoSource=item=>{// Priority: videoFile (uploaded) > videoUrl (link) > file (fallback)\nif(item.videoFile)return item.videoFile;if(item.videoUrl)return item.videoUrl;return item.file||\"\";};/**\n * @framerIntrinsicWidth 800\n * @framerIntrinsicHeight 600\n *\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function LightboxPro(props){const{items=[{file:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",type:\"image\",columnSpan:2,rowSpan:2,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1\"}},{file:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",type:\"image\",columnSpan:1,rowSpan:1,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/aNsAT3jCvt4zglbWCUoFe33Q.jpg\",alt:\"Gradient 2\"}},{file:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",type:\"image\",columnSpan:1,rowSpan:2,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/BYnxEV1zjYb9bhWh1IwBZ1ZoS60.jpg\",alt:\"Gradient 3\"}},{file:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",type:\"image\",columnSpan:2,rowSpan:1,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/2uTNEj5aTl2K3NJaEFWMbnrA.jpg\",alt:\"Gradient 4\"}},{file:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",type:\"image\",columnSpan:1,rowSpan:1,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/f9RiWoNpmlCMqVRIHz8l8wYfeI.jpg\",alt:\"Gradient 5\"}},{file:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",type:\"image\",columnSpan:1,rowSpan:2,aspectRatio:\"auto\",thumbnail:{src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Gradient 1\"}}],columns=3,rows=4,gap=16,backgroundColor=\"#F5F5F5\",borderRadius=12,autoplay=true,muted=true,loop=true,enableDragReorder=true,closeButtonSize={width:44,height:44},arrowButtonSize={width:44,height:44}}=props;const[loadedMedia,setLoadedMedia]=useState(new Set);const[reorderedItems,setReorderedItems]=useState(items);const[draggedIndex,setDraggedIndex]=useState(null);const[dragOverIndex,setDragOverIndex]=useState(null);const[lightboxIndex,setLightboxIndex]=useState(null);const[isFullscreen,setIsFullscreen]=useState(false);const[zoom,setZoom]=useState(1);const[mousePosition,setMousePosition]=useState({x:.5,y:.5});const[visibleItems,setVisibleItems]=useState(new Set);const mediaRefs=useRef(new Map);const thumbnailCacheRef=useRef(new Map);const observerRef=useRef(null);// Generate thumbnail from video - memoized\nconst generateVideoThumbnail=useCallback(videoUrl=>{// Check cache first\nif(thumbnailCacheRef.current.has(videoUrl)){return Promise.resolve(thumbnailCacheRef.current.get(videoUrl));}return new Promise((resolve,reject)=>{if(typeof window===\"undefined\"){reject(\"Window not available\");return;}const video=document.createElement(\"video\");video.crossOrigin=\"anonymous\";video.src=videoUrl;video.muted=true;video.playsInline=true;const cleanup=()=>{video.removeEventListener(\"loadeddata\",onLoadedData);video.removeEventListener(\"seeked\",onSeeked);video.removeEventListener(\"error\",onError);video.src=\"\";};const onLoadedData=()=>{video.currentTime=.1;};const onSeeked=()=>{try{const canvas=document.createElement(\"canvas\");canvas.width=video.videoWidth;canvas.height=video.videoHeight;const ctx=canvas.getContext(\"2d\");if(ctx){ctx.drawImage(video,0,0,canvas.width,canvas.height);const thumbnailUrl=canvas.toDataURL(\"image/jpeg\",.7);thumbnailCacheRef.current.set(videoUrl,thumbnailUrl);cleanup();resolve(thumbnailUrl);}else{cleanup();reject(\"Could not get canvas context\");}}catch(error){cleanup();reject(error);}};const onError=()=>{cleanup();reject(\"Video load error\");};video.addEventListener(\"loadeddata\",onLoadedData);video.addEventListener(\"seeked\",onSeeked);video.addEventListener(\"error\",onError);});},[]);// Auto-generate thumbnails - optimized to only run when items change\nuseEffect(()=>{// Initialize with items immediately\nsetReorderedItems(items);},[items]);// Lazy load items with Intersection Observer\nuseEffect(()=>{if(typeof window===\"undefined\")return;observerRef.current=new IntersectionObserver(entries=>{entries.forEach(entry=>{if(entry.isIntersecting){const index=Number(entry.target.getAttribute(\"data-index\"));if(!isNaN(index)){startTransition(()=>{setVisibleItems(prev=>new Set(prev).add(index));});}}});},{root:null,rootMargin:\"50px\",threshold:.01});mediaRefs.current.forEach(element=>{if(observerRef.current){observerRef.current.observe(element);}});return()=>{if(observerRef.current){observerRef.current.disconnect();}};},[reorderedItems]);const handleMediaLoad=useCallback(index=>{startTransition(()=>{setLoadedMedia(prev=>new Set(prev).add(index));});},[]);const openLightbox=useCallback(index=>{startTransition(()=>setLightboxIndex(index));},[]);const closeLightbox=useCallback(()=>{startTransition(()=>{setLightboxIndex(null);setIsFullscreen(false);setZoom(1);setMousePosition({x:.5,y:.5});});},[]);const navigateLightbox=useCallback(direction=>{if(lightboxIndex===null)return;startTransition(()=>{if(direction===\"prev\"){setLightboxIndex(lightboxIndex>0?lightboxIndex-1:items.length-1);}else{setLightboxIndex(lightboxIndex<items.length-1?lightboxIndex+1:0);}setZoom(1);setMousePosition({x:.5,y:.5});});},[lightboxIndex,items.length]);const toggleFullscreen=useCallback(()=>{startTransition(()=>setIsFullscreen(prev=>!prev));},[]);const handleZoomIn=useCallback(()=>{startTransition(()=>setZoom(prev=>Math.min(prev+.25,3)));},[]);const handleZoomOut=useCallback(()=>{startTransition(()=>setZoom(prev=>Math.max(prev-.25,.5)));},[]);const handleResetZoom=useCallback(()=>{startTransition(()=>setZoom(1));},[]);const handleWheel=useCallback(e=>{e.preventDefault();if(lightboxIndex!==null&&items[lightboxIndex].type===\"video\")return;const delta=e.deltaY>0?-.1:.1;startTransition(()=>{setZoom(prev=>Math.max(.5,Math.min(3,prev+delta)));});},[lightboxIndex,items]);const handleMouseMove=useCallback(e=>{if(zoom<=1||lightboxIndex!==null&&items[lightboxIndex].type===\"video\")return;const rect=e.currentTarget.getBoundingClientRect();const x=(e.clientX-rect.left)/rect.width;const y=(e.clientY-rect.top)/rect.height;setMousePosition({x,y});},[zoom,lightboxIndex,items]);const handleDragStart=useCallback((e,index)=>{if(!enableDragReorder)return;e.dataTransfer.effectAllowed=\"move\";setDraggedIndex(index);},[enableDragReorder]);const handleDragOver=useCallback((e,index)=>{if(!enableDragReorder)return;e.preventDefault();e.dataTransfer.dropEffect=\"move\";if(draggedIndex!==null&&draggedIndex!==index){setDragOverIndex(index);}},[enableDragReorder,draggedIndex]);const handleDragLeave=useCallback(()=>{if(!enableDragReorder)return;setDragOverIndex(null);},[enableDragReorder]);const handleDrop=useCallback((e,dropIndex)=>{if(!enableDragReorder)return;e.preventDefault();if(draggedIndex!==null&&draggedIndex!==dropIndex){const newItems=[...reorderedItems];const draggedItem=newItems[draggedIndex];newItems.splice(draggedIndex,1);newItems.splice(dropIndex,0,draggedItem);setReorderedItems(newItems);}setDraggedIndex(null);setDragOverIndex(null);},[enableDragReorder,draggedIndex,reorderedItems]);const handleDragEnd=useCallback(()=>{if(!enableDragReorder)return;setDraggedIndex(null);setDragOverIndex(null);},[enableDragReorder]);// Keyboard controls\nuseEffect(()=>{if(lightboxIndex===null||typeof window===\"undefined\")return;const handleKeyDown=e=>{if(e.key===\"Escape\")closeLightbox();if(e.key===\"ArrowLeft\")navigateLightbox(\"prev\");if(e.key===\"ArrowRight\")navigateLightbox(\"next\");if(e.key===\"f\"||e.key===\"F\")toggleFullscreen();if(e.key===\"+\"||e.key===\"=\")handleZoomIn();if(e.key===\"-\"||e.key===\"_\")handleZoomOut();if(e.key===\"0\")handleResetZoom();};window.addEventListener(\"keydown\",handleKeyDown);return()=>window.removeEventListener(\"keydown\",handleKeyDown);},[lightboxIndex,closeLightbox,navigateLightbox,toggleFullscreen,handleZoomIn,handleZoomOut,handleResetZoom]);// Block scroll when lightbox is open\nuseEffect(()=>{if(typeof document===\"undefined\")return;if(lightboxIndex!==null){document.body.style.overflow=\"hidden\";}else{document.body.style.overflow=\"\";}return()=>{document.body.style.overflow=\"\";};},[lightboxIndex]);const displayItems=useMemo(()=>reorderedItems,[reorderedItems]);const currentMediaType=useMemo(()=>{return lightboxIndex!==null?items[lightboxIndex]?.type:null;},[lightboxIndex,items]);const shouldLoadMedia=useCallback(index=>{return visibleItems.has(index);},[visibleItems]);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",height:\"100%\",overflow:\"auto\",padding:gap,backgroundColor},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"grid\",gridTemplateColumns:`repeat(${columns}, 1fr)`,gridAutoRows:`minmax(${Math.floor(600/rows)}px, auto)`,gap:`${gap}px`},children:displayItems.map((item,index)=>{const isLoaded=loadedMedia.has(index);const isVisible=shouldLoadMedia(index);const span=Math.min(item.columnSpan,columns);const rowSpan=item.rowSpan;const isDragging=draggedIndex===index;const isDragOver=dragOverIndex===index;return /*#__PURE__*/_jsx(\"div\",{ref:el=>{if(el){mediaRefs.current.set(index,el);}else{mediaRefs.current.delete(index);}},\"data-index\":index,draggable:enableDragReorder,onDragStart:e=>handleDragStart(e,index),onDragOver:e=>handleDragOver(e,index),onDragLeave:handleDragLeave,onDrop:e=>handleDrop(e,index),onDragEnd:handleDragEnd,style:{gridColumn:`span ${span}`,gridRow:`span ${rowSpan}`,borderRadius:`${borderRadius}px`,overflow:\"hidden\",backgroundColor:\"#EEEEEE\",position:\"relative\",cursor:\"pointer\",opacity:isDragging?.5:1,transform:isDragOver?\"scale(0.95)\":\"scale(1)\",transition:\"transform 0.2s ease, opacity 0.2s ease\",minHeight:\"250px\",aspectRatio:item.aspectRatio||\"auto\"},onClick:()=>!isDragging&&openLightbox(index),children:isVisible&&item.type===\"image\"?/*#__PURE__*/_jsx(\"img\",{src:item.file||\"\",alt:\"\",loading:\"lazy\",onLoad:()=>handleMediaLoad(index),style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:\"cover\",opacity:isLoaded?1:0,transition:\"opacity 0.3s ease, transform 0.6s ease\",transform:\"scale(1)\",willChange:\"transform\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"scale(1)\";},onMouseMove:e=>{const rect=e.currentTarget.getBoundingClientRect();const x=((e.clientX-rect.left)/rect.width-.5)*20;const y=((e.clientY-rect.top)/rect.height-.5)*20;e.currentTarget.style.transform=`scale(1.1) translate(${x}px, ${y}px)`;}}):isVisible&&item.type===\"video\"?(()=>{const videoSource=getVideoSource(item);const isYouTube=isYouTubeUrl(videoSource);if(isYouTube){const embedUrl=getYouTubeEmbedUrl(videoSource);return /*#__PURE__*/_jsx(\"iframe\",{src:`${embedUrl}${autoplay?\"autoplay=1&\":\"\"}${muted?\"mute=1&\":\"\"}${loop?\"loop=1&\":\"\"}playlist=${embedUrl?.split(\"/\").pop()?.split(\"?\")[0]}`,allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,onLoad:()=>handleMediaLoad(index),style:{width:\"100%\",height:\"100%\",display:\"block\",border:\"none\",opacity:isLoaded?1:0,transition:\"opacity 0.3s ease\"}});}return /*#__PURE__*/_jsx(\"video\",{src:videoSource,autoPlay:autoplay,muted:muted,loop:loop,playsInline:true,preload:\"metadata\",onLoadedData:()=>handleMediaLoad(index),style:{width:\"100%\",height:\"100%\",display:\"block\",objectFit:\"cover\",opacity:isLoaded?1:0,transition:\"opacity 0.3s ease\"}});})():null},index);})}),lightboxIndex!==null&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"fixed\",top:0,left:0,width:\"100vw\",height:\"100vh\",backgroundColor:isFullscreen?\"rgba(0, 0, 0, 1)\":\"rgba(0, 0, 0, 0.95)\",zIndex:9999,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:0,transition:\"background-color 0.3s ease\"},onClick:closeLightbox,children:[/*#__PURE__*/_jsx(\"button\",{onClick:closeLightbox,style:{position:\"absolute\",top:\"20px\",right:\"20px\",width:`${closeButtonSize.width}px`,height:`${closeButtonSize.height}px`,borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.15)\",color:\"#FFFFFF\",fontSize:\"20px\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\",zIndex:10001,backdropFilter:\"blur(10px)\",opacity:1,pointerEvents:\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";e.currentTarget.style.transform=\"scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";e.currentTarget.style.transform=\"scale(1)\";},\"aria-label\":\"Close lightbox\",children:\"✕\"}),/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();toggleFullscreen();},style:{position:\"absolute\",top:\"20px\",right:`${closeButtonSize.width+30}px`,width:`${closeButtonSize.width}px`,height:`${closeButtonSize.height}px`,borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.15)\",color:\"#FFFFFF\",fontSize:\"20px\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\",zIndex:10001,backdropFilter:\"blur(10px)\",opacity:isFullscreen?0:1,pointerEvents:isFullscreen?\"none\":\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";e.currentTarget.style.transform=\"scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";e.currentTarget.style.transform=\"scale(1)\";},\"aria-label\":\"Toggle fullscreen\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"20\",height:\"20\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",children:isFullscreen?/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 3V3a2 2 0 0 1-2 2H3m18 0h-3a2 2 0 0 1-2 2V3m0 18v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3\"})}):/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 3H5a2 2 0 0 0-2 2V3m18 0V5a2 2 0 0 0-2-2h-3m0 18h3a2 2 0 0 0 2-2v-3M3 16v3a2 2 0 0 0 2 2h3\"})})})}),items.length>1&&/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();navigateLightbox(\"prev\");},style:{position:\"absolute\",left:\"20px\",top:\"50%\",transform:\"translateY(-50%)\",width:`${arrowButtonSize.width}px`,height:`${arrowButtonSize.height}px`,borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.15)\",color:\"#FFFFFF\",fontSize:\"28px\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\",backdropFilter:\"blur(10px)\",zIndex:1e4,opacity:isFullscreen?0:1,pointerEvents:isFullscreen?\"none\":\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},\"aria-label\":\"Previous media\",children:\"‹\"}),items.length>1&&/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();navigateLightbox(\"next\");},style:{position:\"absolute\",right:\"20px\",top:\"50%\",transform:\"translateY(-50%)\",width:`${arrowButtonSize.width}px`,height:`${arrowButtonSize.height}px`,borderRadius:\"50%\",border:\"none\",backgroundColor:\"rgba(255, 255, 255, 0.15)\",color:\"#FFFFFF\",fontSize:\"28px\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\",backdropFilter:\"blur(10px)\",zIndex:1e4,opacity:isFullscreen?0:1,pointerEvents:isFullscreen?\"none\":\"auto\"},onMouseEnter:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";e.currentTarget.style.transform=\"translateY(-50%) scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";e.currentTarget.style.transform=\"translateY(-50%) scale(1)\";},\"aria-label\":\"Next media\",children:\"›\"}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:\"30px\",right:\"30px\",display:\"flex\",gap:\"8px\",alignItems:\"center\",backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"8px 12px\",borderRadius:\"24px\",backdropFilter:\"blur(10px)\",transition:\"all 0.3s ease\",zIndex:1e4,opacity:isFullscreen||currentMediaType===\"video\"?0:1,pointerEvents:isFullscreen||currentMediaType===\"video\"?\"none\":\"auto\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();handleZoomOut();},disabled:zoom<=.5,style:{width:\"32px\",height:\"32px\",borderRadius:\"50%\",border:\"none\",backgroundColor:zoom<=.5?\"rgba(255, 255, 255, 0.1)\":\"rgba(255, 255, 255, 0.15)\",color:zoom<=.5?\"rgba(255, 255, 255, 0.3)\":\"#FFFFFF\",fontSize:\"18px\",cursor:zoom<=.5?\"not-allowed\":\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\"},onMouseEnter:e=>{if(zoom>.5){e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";}},onMouseLeave:e=>{if(zoom>.5){e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";}},\"aria-label\":\"Zoom out\",children:\"−\"}),/*#__PURE__*/_jsxs(\"span\",{onClick:e=>{e.stopPropagation();handleResetZoom();},style:{color:\"#FFFFFF\",fontSize:\"14px\",fontWeight:\"500\",minWidth:\"50px\",textAlign:\"center\",cursor:\"pointer\",userSelect:\"none\"},children:[Math.round(zoom*100),\"%\"]}),/*#__PURE__*/_jsx(\"button\",{onClick:e=>{e.stopPropagation();handleZoomIn();},disabled:zoom>=3,style:{width:\"32px\",height:\"32px\",borderRadius:\"50%\",border:\"none\",backgroundColor:zoom>=3?\"rgba(255, 255, 255, 0.1)\":\"rgba(255, 255, 255, 0.15)\",color:zoom>=3?\"rgba(255, 255, 255, 0.3)\":\"#FFFFFF\",fontSize:\"18px\",cursor:zoom>=3?\"not-allowed\":\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"all 0.2s ease\"},onMouseEnter:e=>{if(zoom<3){e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.25)\";}},onMouseLeave:e=>{if(zoom<3){e.currentTarget.style.backgroundColor=\"rgba(255, 255, 255, 0.15)\";}},\"aria-label\":\"Zoom in\",children:\"+\"})]}),/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",padding:isFullscreen?\"0\":\"80px 80px 100px 80px\",transition:\"padding 0.3s ease\",overflow:\"hidden\",cursor:currentMediaType===\"video\"?\"default\":zoom>1?\"zoom-out\":\"zoom-in\"},children:displayItems[lightboxIndex].type===\"image\"?/*#__PURE__*/_jsx(\"img\",{src:displayItems[lightboxIndex].file||\"\",alt:\"\",style:{maxWidth:zoom===1?\"100%\":\"none\",maxHeight:zoom===1?\"100%\":\"none\",width:zoom===1?\"auto\":`${zoom*100}%`,height:zoom===1?\"auto\":\"auto\",objectFit:\"contain\",borderRadius:isFullscreen?\"0\":\"0\",transition:zoom===1?\"all 0.3s ease\":\"none\",transform:zoom>1?`translate(${(.5-mousePosition.x)*(zoom-1)*100}%, ${(.5-mousePosition.y)*(zoom-1)*100}%)`:\"none\",pointerEvents:\"none\",willChange:zoom>1?\"transform\":\"auto\"}},lightboxIndex):(()=>{const videoSource=getVideoSource(displayItems[lightboxIndex]);const isYouTube=isYouTubeUrl(videoSource);if(isYouTube){const embedUrl=getYouTubeEmbedUrl(videoSource);const videoId=embedUrl?.split(\"/\").pop()?.split(\"?\")[0];return /*#__PURE__*/_jsx(\"iframe\",{src:`${embedUrl}autoplay=1&${loop?`loop=1&playlist=${videoId}&`:\"\"}${muted?\"mute=1\":\"\"}`,allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,style:{maxWidth:\"100%\",maxHeight:\"100%\",width:\"90vw\",height:\"90vh\",border:\"none\",borderRadius:isFullscreen?\"0\":\"0\",transition:\"all 0.3s ease\"}},lightboxIndex);}return /*#__PURE__*/_jsx(\"video\",{src:videoSource,controls:true,autoPlay:true,loop:loop,style:{maxWidth:\"100%\",maxHeight:\"100%\",width:\"auto\",height:\"auto\",objectFit:\"contain\",borderRadius:isFullscreen?\"0\":\"0\",transition:\"all 0.3s ease\",pointerEvents:\"auto\"}},lightboxIndex);})()}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:\"30px\",left:\"50%\",transform:\"translateX(-50%)\",color:\"#FFFFFF\",fontSize:\"15px\",fontWeight:\"500\",backgroundColor:\"rgba(0, 0, 0, 0.6)\",padding:\"10px 20px\",borderRadius:\"24px\",backdropFilter:\"blur(10px)\",transition:\"all 0.3s ease\",zIndex:1e4,opacity:isFullscreen?0:1,pointerEvents:isFullscreen?\"none\":\"auto\"},children:[lightboxIndex+1,\" / \",displayItems.length]})]}),/*#__PURE__*/_jsx(\"style\",{children:`\n                    @keyframes spin {\n                        to { transform: translate(-50%, -50%) rotate(360deg); }\n                    }\n                `})]});}LightboxPro.displayName=\"LightboxPro\";addPropertyControls(LightboxPro,{items:{type:ControlType.Array,title:\"Media Items\",control:{type:ControlType.Object,controls:{type:{type:ControlType.Enum,title:\"Type\",options:[\"image\",\"video\"],optionTitles:[\"Image\",\"Video\"],defaultValue:\"image\"},file:{type:ControlType.File,title:\"Image File\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\",\"svg\"],hidden:props=>props.type===\"video\"},videoFile:{type:ControlType.File,title:\"Video File\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"],hidden:props=>props.type===\"image\"},videoUrl:{type:ControlType.String,title:\"Video URL\",placeholder:\"https://example.com/video.mp4\",hidden:props=>props.type===\"image\"},columnSpan:{type:ControlType.Number,title:\"Column Span\",defaultValue:1,min:1,max:10,step:1,displayStepper:true},rowSpan:{type:ControlType.Number,title:\"Row Span\",defaultValue:1,min:1,max:6,step:1,displayStepper:true},aspectRatio:{type:ControlType.Enum,title:\"Aspect Ratio\",options:[\"auto\",\"1/1\",\"4/3\",\"3/4\",\"16/9\",\"9/16\",\"21/9\",\"2/3\",\"3/2\"],optionTitles:[\"Auto\",\"Square (1:1)\",\"Landscape (4:3)\",\"Portrait (3:4)\",\"Wide (16:9)\",\"Tall (9:16)\",\"Ultra Wide (21:9)\",\"Portrait (2:3)\",\"Landscape (3:2)\"],defaultValue:\"auto\"}}},defaultValue:[]},enableDragReorder:{type:ControlType.Boolean,title:\"Drag to Reorder\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},columns:{type:ControlType.Number,title:\"Columns\",defaultValue:3,min:1,max:10,step:1,displayStepper:true},rows:{type:ControlType.Number,title:\"Rows\",defaultValue:4,min:1,max:10,step:1,displayStepper:true},gap:{type:ControlType.Number,title:\"Gap\",defaultValue:16,min:0,max:48,step:4,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#F5F5F5\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:12,min:0,max:32,step:2,unit:\"px\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay Videos\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},muted:{type:ControlType.Boolean,title:\"Mute Videos\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},loop:{type:ControlType.Boolean,title:\"Loop Videos\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},closeButtonSize:{type:ControlType.Object,title:\"Close Button Size\",controls:{width:{type:ControlType.Number,title:\"Width\",defaultValue:44,min:24,max:80,step:2,unit:\"px\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:44,min:24,max:80,step:2,unit:\"px\"}}},arrowButtonSize:{type:ControlType.Object,title:\"Arrow Button Size\",controls:{width:{type:ControlType.Number,title:\"Width\",defaultValue:44,min:24,max:80,step:2,unit:\"px\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:44,min:24,max:80,step:2,unit:\"px\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"LightboxPro\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"600\",\"framerIntrinsicWidth\":\"800\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./LightboxPro.map"],"mappings":"yOAgBG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,CAAC,KAAK,sEAAsE,KAAK,QAAQ,WAAW,EAAE,QAAQ,EAAE,YAAY,OAAO,UAAU,CAAC,IAAI,sEAAsE,IAAI,aAAa,CAAC,CAAC,CAAC,KAAK,oEAAoE,KAAK,QAAQ,WAAW,EAAE,QAAQ,EAAE,YAAY,OAAO,UAAU,CAAC,IAAI,oEAAoE,IAAI,aAAa,CAAC,CAAC,CAAC,KAAK,uEAAuE,KAAK,QAAQ,WAAW,EAAE,QAAQ,EAAE,YAAY,OAAO,UAAU,CAAC,IAAI,uEAAuE,IAAI,aAAa,CAAC,CAAC,CAAC,KAAK,oEAAoE,KAAK,QAAQ,WAAW,EAAE,QAAQ,EAAE,YAAY,OAAO,UAAU,CAAC,IAAI,oEAAoE,IAAI,aAAa,CAAC,CAAC,CA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