{"version":3,"file":"VideoLightboxButton_1.DbDXOfRm.mjs","names":["useState","useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/uxpWkb3yiNVEoBpdnLgw/Mox36u0tDujJ3RwxGFv9/VideoLightboxButton_1.js"],"sourcesContent":["// Fill Button that opens Video Lightbox when clicked\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,startTransition,useEffect,useRef}from\"react\";import{addPropertyControls,ControlType}from\"framer\";import{motion,AnimatePresence}from\"framer-motion\";/**\n * Video Lightbox Button V5\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function VideoLightboxButton(props){const{buttonText,buttonFont,buttonColor,buttonTextColor,buttonHoverColor,buttonTextHoverColor,borderRadius,showButtonIcon=false,buttonIcon={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Button icon\"},buttonIconSize=20,videoType=\"file\",videoUrl=\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",youtubeUrl=\"\",thumbnail={src:\"https://framerusercontent.com/images/GfGkADagM4KEibNcIiRUWlfrR0.jpg\",alt:\"Video thumbnail\"},showThumbnail=true,autoplay=false,backgroundColor,textColor,font,controlsColor=\"#FFFFFF\",controlsBackgroundColor=\"rgba(0, 0, 0, 0.7)\",closeButtonText=\"✕\",closeButtonPosition=\"top-right\",closeButtonSize=44,closeButtonColor=\"rgba(255, 255, 255, 0.2)\",closeButtonTextColor=\"#FFFFFF\",closeButtonBorderRadius=8,closeButtonFont}=props;const[isOpen,setIsOpen]=useState(false);const[isPlaying,setIsPlaying]=useState(false);const[showVideoThumbnail,setShowVideoThumbnail]=useState(true);const[volume,setVolume]=useState(1);const[currentTime,setCurrentTime]=useState(0);const[duration,setDuration]=useState(0);const[isFullscreen,setIsFullscreen]=useState(false);const[isMobile,setIsMobile]=useState(false);const[isButtonHovered,setIsButtonHovered]=useState(false);const videoRef=useRef(null);const containerRef=useRef(null);const handleOpen=()=>{startTransition(()=>setIsOpen(true));};const handleClose=()=>{startTransition(()=>{setIsOpen(false);setIsPlaying(false);setCurrentTime(0);setShowVideoThumbnail(true);});if(videoRef.current){videoRef.current.pause();videoRef.current.currentTime=0;}};const togglePlayPause=()=>{if(videoRef.current){if(isPlaying){videoRef.current.pause();}else{videoRef.current.play();startTransition(()=>setShowVideoThumbnail(false));}startTransition(()=>setIsPlaying(!isPlaying));}};const handleVolumeChange=e=>{const newVolume=parseFloat(e.target.value);startTransition(()=>setVolume(newVolume));if(videoRef.current){videoRef.current.volume=newVolume;}};const handleProgressChange=e=>{const newTime=parseFloat(e.target.value);startTransition(()=>setCurrentTime(newTime));if(videoRef.current){videoRef.current.currentTime=newTime;}};const toggleFullscreen=()=>{if(!containerRef.current)return;if(!isFullscreen){if(containerRef.current.requestFullscreen){containerRef.current.requestFullscreen();}}else{if(document.exitFullscreen){document.exitFullscreen();}}};const handleThumbnailClick=()=>{startTransition(()=>setShowVideoThumbnail(false));if(videoRef.current){videoRef.current.play();startTransition(()=>setIsPlaying(true));}};const formatTime=time=>{const minutes=Math.floor(time/60);const seconds=Math.floor(time%60);return`${minutes}:${seconds.toString().padStart(2,\"0\")}`;};const extractYouTubeId=url=>{if(!url)return null;const patterns=[/(?:youtube\\.com\\/watch\\?v=|youtu\\.be\\/|youtube\\.com\\/embed\\/)([^&\\n?#]+)/,/^([a-zA-Z0-9_-]{11})$/];for(const pattern of patterns){const match=url.match(pattern);if(match)return match[1];}return null;};const youtubeId=videoType===\"youtube\"?extractYouTubeId(youtubeUrl):null;const isYouTube=videoType===\"youtube\"&&youtubeId;const getCloseButtonPosition=()=>{const baseStyles={position:\"absolute\",zIndex:10};switch(closeButtonPosition){case\"top-left\":return{...baseStyles,top:isMobile?10:20,left:isMobile?10:20};case\"top-right\":return{...baseStyles,top:isMobile?10:20,right:isMobile?10:20};case\"bottom-left\":return{...baseStyles,bottom:isMobile?10:20,left:isMobile?10:20};case\"bottom-right\":return{...baseStyles,bottom:isMobile?10:20,right:isMobile?10:20};default:return{...baseStyles,top:isMobile?10:20,right:isMobile?10:20};}};useEffect(()=>{const video=videoRef.current;if(!video)return;const handleTimeUpdate=()=>{startTransition(()=>setCurrentTime(video.currentTime));};const handleLoadedMetadata=()=>{startTransition(()=>setDuration(video.duration));};const handleEnded=()=>{startTransition(()=>setIsPlaying(false));};const handleFullscreenChange=()=>{startTransition(()=>setIsFullscreen(!!document.fullscreenElement));};video.addEventListener(\"timeupdate\",handleTimeUpdate);video.addEventListener(\"loadedmetadata\",handleLoadedMetadata);video.addEventListener(\"ended\",handleEnded);document.addEventListener(\"fullscreenchange\",handleFullscreenChange);return()=>{video.removeEventListener(\"timeupdate\",handleTimeUpdate);video.removeEventListener(\"loadedmetadata\",handleLoadedMetadata);video.removeEventListener(\"ended\",handleEnded);document.removeEventListener(\"fullscreenchange\",handleFullscreenChange);};},[isOpen]);useEffect(()=>{if(!isOpen||!videoRef.current||videoType===\"youtube\")return;if(autoplay&&(!showThumbnail||!showVideoThumbnail)){videoRef.current.play();startTransition(()=>setIsPlaying(true));}},[isOpen,autoplay,showThumbnail,showVideoThumbnail,videoType]);useEffect(()=>{if(typeof window===\"undefined\")return;const checkMobile=()=>{startTransition(()=>setIsMobile(window.innerWidth<768));};checkMobile();window.addEventListener(\"resize\",checkMobile);return()=>{window.removeEventListener(\"resize\",checkMobile);};},[]);useEffect(()=>{if(typeof window===\"undefined\")return;// Pause ticker and slideshow when the lightbox is open\nif(isOpen){const ticker=document.querySelectorAll(\"[data-ticker], .ticker\");ticker.forEach(tickerEl=>{const el=tickerEl;if(el&&el.dataset.paused!==\"true\"){el.dataset.originalAnimation=el.style.animationPlayState||\"running\";el.style.animationPlayState=\"paused\";el.dataset.paused=\"true\";}});const slideshows=document.querySelectorAll(\"[data-slideshow], .slideshow\");slideshows.forEach(slideEl=>{const el=slideEl;if(el&&el.dataset.paused!==\"true\"){el.dataset.originalAnimation=el.style.animationPlayState||\"running\";el.style.animationPlayState=\"paused\";el.dataset.paused=\"true\";}});}else{// Resume ticker and slideshow when the lightbox closes\nconst ticker=document.querySelectorAll(\"[data-ticker], .ticker\");ticker.forEach(tickerEl=>{const el=tickerEl;if(el&&el.dataset.paused===\"true\"){el.style.animationPlayState=el.dataset.originalAnimation||\"running\";el.dataset.paused=\"false\";}});const slideshows=document.querySelectorAll(\"[data-slideshow], .slideshow\");slideshows.forEach(slideEl=>{const el=slideEl;if(el&&el.dataset.paused===\"true\"){el.style.animationPlayState=el.dataset.originalAnimation||\"running\";el.dataset.paused=\"false\";}});}},[isOpen]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"button\",{onClick:handleOpen,style:{position:\"relative\",backgroundColor:isButtonHovered?buttonHoverColor:buttonColor,color:isButtonHovered?buttonTextHoverColor:buttonTextColor,border:\"none\",borderRadius,padding:\"12px 24px\",cursor:\"pointer\",transition:\"background-color 0.3s ease, color 0.3s ease\",display:\"flex\",alignItems:\"center\",gap:8,...buttonFont},onMouseEnter:()=>setIsButtonHovered(true),onMouseLeave:()=>setIsButtonHovered(false),children:[buttonText,showButtonIcon&&// Feather icon back (Arrow Left)\n/*#__PURE__*/_jsxs(\"svg\",{width:buttonIconSize,height:buttonIconSize,viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",style:{display:\"inline-block\",verticalAlign:\"middle\",transform:isButtonHovered?\"rotate(0deg)\":\"rotate(-45deg)\"},\"aria-label\":\"arrow icon\",children:[/*#__PURE__*/_jsx(\"line\",{x1:\"19\",y1:\"12\",x2:\"5\",y2:\"12\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"12 5 19 12 12 19\"})]})]}),/*#__PURE__*/_jsx(AnimatePresence,{children:isOpen&&/*#__PURE__*/_jsxs(motion.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},style:{position:\"fixed\",inset:0,zIndex:10,width:\"100vw\",height:\"100vh\",pointerEvents:\"auto\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:backgroundColor,backdropFilter:\"blur(2px)\",padding:0,overflow:\"auto\",touchAction:\"manipulation\"},onClick:handleClose,children:[/*#__PURE__*/_jsx(\"button\",{onClick:handleClose,style:{...getCloseButtonPosition(),width:closeButtonSize,height:closeButtonSize,backgroundColor:closeButtonColor,color:closeButtonTextColor,border:\"none\",borderRadius:closeButtonBorderRadius,cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"opacity 0.2s ease, transform 0.2s ease\",...closeButtonFont},onMouseEnter:e=>{e.currentTarget.style.opacity=\"0.8\";e.currentTarget.style.transform=\"scale(1.05)\";},onMouseLeave:e=>{e.currentTarget.style.opacity=\"1\";e.currentTarget.style.transform=\"scale(1)\";},\"aria-label\":\"Close video\",children:closeButtonText}),/*#__PURE__*/_jsx(motion.div,{ref:containerRef,initial:{scale:.9,opacity:0},animate:{scale:1,opacity:1},exit:{scale:.9,opacity:0},transition:{duration:.2},style:{position:\"relative\",width:isMobile?\"calc(100vw - 32px)\":\"clamp(480px,90vw,1200px)\",// height: isMobile ? \"auto\" : \"clamp(270px,70vh,800px)\",\naspectRatio:\"16/9\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"#000\",borderRadius:isMobile?8:12,overflow:\"hidden\",boxShadow:\"0px 8px 40px rgba(0,0,0,0.45)\",zIndex:1,maxHeight:\"90vh\",maxWidth:\"96vw\",padding:0},onClick:e=>e.stopPropagation(),children:isYouTube?/*#__PURE__*/_jsx(\"iframe\",{src:`https://www.youtube.com/embed/${youtubeId}?autoplay=${autoplay?1:0}&rel=0`,allow:\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\",allowFullScreen:true,style:{width:\"100%\",height:\"100%\",border:\"none\",borderRadius:isMobile?8:12}}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",width:\"100%\",height:\"100%\",background:\"#000\"},children:[/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:videoUrl,style:{width:\"100%\",height:\"100%\",objectFit:\"contain\",display:\"block\",background:\"#000\",maxHeight:\"80vh\",padding:0}}),showThumbnail&&showVideoThumbnail&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",top:0,left:0,right:0,bottom:0,cursor:\"pointer\",borderRadius:isMobile?8:12,overflow:\"hidden\",touchAction:\"manipulation\"},onClick:handleThumbnailClick,children:[/*#__PURE__*/_jsx(\"img\",{src:thumbnail.src,alt:thumbnail.alt||\"Video thumbnail\",style:{width:\"100%\",height:\"100%\",objectFit:\"cover\"}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:\"50%\",left:\"50%\",transform:\"translate(-50%, -50%)\",width:isMobile?60:80,height:isMobile?60:80,borderRadius:\"50%\",backgroundColor:\"rgba(255, 255, 255, 0.9)\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",transition:\"transform 0.2s ease\"},onMouseEnter:e=>{e.currentTarget.style.transform=\"translate(-50%, -50%) scale(1.1)\";},onMouseLeave:e=>{e.currentTarget.style.transform=\"translate(-50%, -50%) scale(1)\";},children:/*#__PURE__*/_jsx(\"div\",{style:{width:0,height:0,borderLeft:`${isMobile?20:25}px solid #000`,borderTop:`${isMobile?12:15}px solid transparent`,borderBottom:`${isMobile?12:15}px solid transparent`,marginLeft:isMobile?4:6}})})]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,backgroundColor:controlsBackgroundColor,padding:isMobile?\"8px 6px\":\"12px 16px\",borderBottomLeftRadius:isMobile?8:12,borderBottomRightRadius:isMobile?8:12,display:\"flex\",flexDirection:\"column\",gap:isMobile?6:8,width:isMobile?\"100vw\":undefined,boxSizing:\"border-box\",zIndex:3},children:[/*#__PURE__*/_jsx(\"input\",{type:\"range\",min:\"0\",max:duration||0,value:currentTime,onChange:handleProgressChange,style:{width:\"100%\",cursor:\"pointer\",accentColor:controlsColor,height:isMobile?20:\"auto\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:isMobile?8:12,color:controlsColor,flexWrap:isMobile?\"wrap\":\"nowrap\"},children:[/*#__PURE__*/_jsx(\"button\",{onClick:togglePlayPause,style:{background:\"transparent\",border:\"none\",color:controlsColor,cursor:\"pointer\",fontSize:isMobile?24:20,padding:isMobile?8:4,display:\"flex\",alignItems:\"center\",minWidth:isMobile?44:\"auto\",minHeight:isMobile?44:\"auto\",justifyContent:\"center\",touchAction:\"manipulation\"},\"aria-label\":isPlaying?\"Pause\":\"Play\",children:isPlaying?\"⏸\":\"▶\"}),!isMobile&&/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:8},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontSize:16},children:\"🔊\"}),/*#__PURE__*/_jsx(\"input\",{type:\"range\",min:\"0\",max:\"1\",step:\"0.1\",value:volume,onChange:handleVolumeChange,style:{width:80,cursor:\"pointer\",accentColor:controlsColor}})]}),/*#__PURE__*/_jsxs(\"span\",{style:{fontSize:isMobile?12:14,...font,whiteSpace:\"nowrap\"},children:[formatTime(currentTime),\" / \",formatTime(duration)]}),/*#__PURE__*/_jsx(\"div\",{style:{flex:1}}),/*#__PURE__*/_jsx(\"button\",{onClick:toggleFullscreen,style:{background:\"transparent\",border:\"none\",color:controlsColor,cursor:\"pointer\",fontSize:isMobile?20:16,padding:isMobile?8:4,display:\"flex\",alignItems:\"center\",minWidth:isMobile?44:\"auto\",minHeight:isMobile?44:\"auto\",justifyContent:\"center\",touchAction:\"manipulation\"},\"aria-label\":isFullscreen?\"Exit fullscreen\":\"Fullscreen\",children:isFullscreen?\"⛶\":\"⛶\"})]})]})]})})]})})]});}addPropertyControls(VideoLightboxButton,{buttonText:{type:ControlType.String,title:\"Button Text\",defaultValue:\"Watch Video\"},buttonFont:{type:ControlType.Font,title:\"Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{variant:\"Semibold\",fontSize:\"14px\",letterSpacing:\"-0.01em\",lineHeight:\"1em\"}},buttonColor:{type:ControlType.Color,title:\"Button Color\",defaultValue:\"#000000\"},buttonHoverColor:{type:ControlType.Color,title:\"Button Hover Color\",defaultValue:\"#222\"},buttonTextColor:{type:ControlType.Color,title:\"Button Text Color\",defaultValue:\"#FFFFFF\"},buttonTextHoverColor:{type:ControlType.Color,title:\"Button Text Hover Color\",defaultValue:\"#fff\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},showButtonIcon:{type:ControlType.Boolean,title:\"Show Icon\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},buttonIcon:{type:ControlType.ResponsiveImage,title:\"Button Icon\",hidden:({showButtonIcon})=>!showButtonIcon},buttonIconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:20,min:12,max:48,step:1,unit:\"px\",hidden:({showButtonIcon})=>!showButtonIcon},videoType:{type:ControlType.Enum,title:\"Video Type\",options:[\"file\",\"youtube\"],optionTitles:[\"Video File\",\"YouTube\"],defaultValue:\"file\",displaySegmentedControl:true},videoUrl:{type:ControlType.File,title:\"Video File\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"],hidden:({videoType})=>videoType===\"youtube\"},youtubeUrl:{type:ControlType.String,title:\"YouTube URL\",placeholder:\"https://www.youtube.com/watch?v=...\",defaultValue:\"\",hidden:({videoType})=>videoType===\"file\"},showThumbnail:{type:ControlType.Boolean,title:\"Show Thumbnail\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\",hidden:({videoType})=>videoType===\"youtube\"},thumbnail:{type:ControlType.ResponsiveImage,title:\"Thumbnail Image\",hidden:({videoType,showThumbnail})=>videoType===\"youtube\"||!showThumbnail},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},backgroundColor:{type:ControlType.Color,title:\"Overlay Color\",defaultValue:\"rgba(0, 0, 0, 0.8)\"},textColor:{type:ControlType.Color,title:\"Close Text Color\",defaultValue:\"#FFFFFF\"},font:{type:ControlType.Font,title:\"Close Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{variant:\"Medium\",fontSize:\"15px\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},controlsColor:{type:ControlType.Color,title:\"Controls Color\",defaultValue:\"#FFFFFF\",hidden:({videoType})=>videoType===\"youtube\"},controlsBackgroundColor:{type:ControlType.Color,title:\"Controls Background\",defaultValue:\"rgba(0, 0, 0, 0.7)\",hidden:({videoType})=>videoType===\"youtube\"},closeButtonText:{type:ControlType.String,title:\"Close Button Text\",defaultValue:\"✕\"},closeButtonPosition:{type:ControlType.Enum,title:\"Close Button Position\",options:[\"top-left\",\"top-right\",\"bottom-left\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Right\",\"Bottom Left\",\"Bottom Right\"],defaultValue:\"top-right\",displaySegmentedControl:false},closeButtonSize:{type:ControlType.Number,title:\"Close Button Size\",defaultValue:44,min:32,max:80,step:1,unit:\"px\"},closeButtonColor:{type:ControlType.Color,title:\"Close Button Color\",defaultValue:\"rgba(255, 255, 255, 0.2)\"},closeButtonTextColor:{type:ControlType.Color,title:\"Close Button Text Color\",defaultValue:\"#FFFFFF\"},closeButtonBorderRadius:{type:ControlType.Number,title:\"Close Button Radius\",defaultValue:8,min:0,max:50,step:1,unit:\"px\"},closeButtonFont:{type:ControlType.Font,title:\"Close Button Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{variant:\"Medium\",fontSize:\"20px\",letterSpacing:\"0em\",lineHeight:\"1em\"}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoLightboxButton\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"auto\",\"fram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