{"version":3,"file":"VideoPlayer.CduWbeJS.mjs","names":["useRef","useState","startTransition","handleVolumeChange","_Fragment"],"sources":["https:/framerusercontent.com/modules/GowizCshBW2AVt8cSKAU/wfX2dEuzXsDuzxvWdGxc/VideoPlayer.js"],"sourcesContent":["// Custom video component with interactive play/pause buttons, standard video properties, and position controls\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useRef,useState,useEffect,startTransition}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function VideoPlayer(props){const{video={sources:[{src:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",type:\"video/mp4\"}],loop:false,muted:true,autoplay:false,showControls:false,poster:\"\"},appearance={objectFit:\"cover\",borderRadius:8,backgroundColor:\"#000000\"},button={position:\"bottom-center\",color:\"#FFFFFF\",backgroundColor:\"rgba(0, 0, 0, 0.5)\",size:48,iconSize:20,offsetX:0,offsetY:0,showAlways:false},customControls={enabled:false,backgroundColor:\"rgba(0, 0, 0, 0.8)\",iconColor:\"#FFFFFF\",progressColor:\"#0099FF\",progressBackgroundColor:\"rgba(255, 255, 255, 0.3)\",height:48,showOnHover:true,showPlaybackSpeed:true,showPiP:true,showSkipButtons:true,skipDuration:10,enableKeyboardShortcuts:true,enableClickToSkip:true,autoHideCursor:true},overlay={enabled:false,color:\"#000000\",opacity:.5}}=props;const videoRef=useRef(null);const[isPlaying,setIsPlaying]=useState(video.autoplay);const[isHovering,setIsHovering]=useState(false);const[isPressed,setIsPressed]=useState(false);const[currentTime,setCurrentTime]=useState(0);const[duration,setDuration]=useState(0);const[volume,setVolume]=useState(1);const[isMuted,setIsMuted]=useState(video.muted);const[isFullscreen,setIsFullscreen]=useState(false);const[showControls,setShowControls]=useState(false);const[playbackRate,setPlaybackRate]=useState(1);const[isPiP,setIsPiP]=useState(false);const[buffered,setBuffered]=useState(0);const[showCursor,setShowCursor]=useState(true);const[showSpeedMenu,setShowSpeedMenu]=useState(false);const containerRef=useRef(null);const controlsTimeoutRef=useRef(null);const cursorTimeoutRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\")return;const videoElement=videoRef.current;if(!videoElement)return;// Handle buffering events\nconst handleTimeUpdate=()=>{startTransition(()=>setCurrentTime(videoElement.currentTime));// Update buffered progress\nif(videoElement.buffered.length>0){const bufferedEnd=videoElement.buffered.end(videoElement.buffered.length-1);startTransition(()=>setBuffered(bufferedEnd/videoElement.duration*100));}};const handleLoadedMetadata=()=>startTransition(()=>setDuration(videoElement.duration));const handleVolumeChange=()=>{startTransition(()=>{setVolume(videoElement.volume);setIsMuted(videoElement.muted);});};videoElement.addEventListener(\"timeupdate\",handleTimeUpdate);videoElement.addEventListener(\"loadedmetadata\",handleLoadedMetadata);videoElement.addEventListener(\"volumechange\",handleVolumeChange);if(video.autoplay){videoElement.play().catch(()=>{startTransition(()=>setIsPlaying(false));});}return()=>{videoElement.removeEventListener(\"timeupdate\",handleTimeUpdate);videoElement.removeEventListener(\"loadedmetadata\",handleLoadedMetadata);videoElement.removeEventListener(\"volumechange\",handleVolumeChange);};},[video.autoplay]);// Handle fullscreen changes\nuseEffect(()=>{if(typeof window===\"undefined\")return;const handleFullscreenChange=()=>{startTransition(()=>{setIsFullscreen(!!document.fullscreenElement);});};document.addEventListener(\"fullscreenchange\",handleFullscreenChange);return()=>{document.removeEventListener(\"fullscreenchange\",handleFullscreenChange);};},[]);// Handle PiP changes\nuseEffect(()=>{if(typeof window===\"undefined\"||!videoRef.current)return;const handleEnterPiP=()=>startTransition(()=>setIsPiP(true));const handleLeavePiP=()=>startTransition(()=>setIsPiP(false));videoRef.current.addEventListener(\"enterpictureinpicture\",handleEnterPiP);videoRef.current.addEventListener(\"leavepictureinpicture\",handleLeavePiP);return()=>{if(videoRef.current){videoRef.current.removeEventListener(\"enterpictureinpicture\",handleEnterPiP);videoRef.current.removeEventListener(\"leavepictureinpicture\",handleLeavePiP);}};},[]);// Keyboard shortcuts\nuseEffect(()=>{if(typeof window===\"undefined\"||!customControls.enableKeyboardShortcuts)return;const handleKeyDown=e=>{if(!videoRef.current)return;// Ignore if user is typing in an input\nif(e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement)return;switch(e.key.toLowerCase()){case\" \":case\"k\":e.preventDefault();togglePlay();break;case\"arrowleft\":case\"j\":e.preventDefault();skip(-customControls.skipDuration);break;case\"arrowright\":case\"l\":e.preventDefault();skip(customControls.skipDuration);break;case\"arrowup\":e.preventDefault();changeVolume(.1);break;case\"arrowdown\":e.preventDefault();changeVolume(-.1);break;case\"m\":e.preventDefault();toggleMute();break;case\"f\":e.preventDefault();toggleFullscreen();break;case\"p\":e.preventDefault();togglePiP();break;case\"0\":e.preventDefault();if(videoRef.current)videoRef.current.currentTime=0;break;}};window.addEventListener(\"keydown\",handleKeyDown);return()=>{window.removeEventListener(\"keydown\",handleKeyDown);};},[customControls.enableKeyboardShortcuts,customControls.skipDuration]);// Handle controls visibility timeout\nuseEffect(()=>{if(!customControls.enabled||!customControls.showOnHover)return;if(showControls&&isPlaying){if(controlsTimeoutRef.current){window.clearTimeout(controlsTimeoutRef.current);}controlsTimeoutRef.current=window.setTimeout(()=>{startTransition(()=>setShowControls(false));},3e3);}return()=>{if(controlsTimeoutRef.current){window.clearTimeout(controlsTimeoutRef.current);}};},[showControls,isPlaying,customControls.enabled,customControls.showOnHover]);// Auto-hide cursor\nuseEffect(()=>{if(!customControls.autoHideCursor||!isPlaying){startTransition(()=>setShowCursor(true));return;}const handleMouseMove=()=>{startTransition(()=>setShowCursor(true));if(cursorTimeoutRef.current){window.clearTimeout(cursorTimeoutRef.current);}cursorTimeoutRef.current=window.setTimeout(()=>{startTransition(()=>setShowCursor(false));},2e3);};if(containerRef.current){containerRef.current.addEventListener(\"mousemove\",handleMouseMove);}return()=>{if(containerRef.current){containerRef.current.removeEventListener(\"mousemove\",handleMouseMove);}if(cursorTimeoutRef.current){window.clearTimeout(cursorTimeoutRef.current);}};},[customControls.autoHideCursor,isPlaying]);const togglePlay=()=>{if(typeof window===\"undefined\")return;const videoElement=videoRef.current;if(!videoElement)return;if(isPlaying){videoElement.pause();startTransition(()=>setIsPlaying(false));}else{videoElement.play().then(()=>{startTransition(()=>setIsPlaying(true));}).catch(()=>{startTransition(()=>setIsPlaying(false));});}};const skip=seconds=>{if(!videoRef.current)return;videoRef.current.currentTime=Math.max(0,Math.min(duration,videoRef.current.currentTime+seconds));};const changeVolume=delta=>{if(!videoRef.current)return;const newVolume=Math.max(0,Math.min(1,videoRef.current.volume+delta));videoRef.current.volume=newVolume;if(newVolume>0&&isMuted){videoRef.current.muted=false;}};const changePlaybackRate=rate=>{if(!videoRef.current)return;videoRef.current.playbackRate=rate;startTransition(()=>{setPlaybackRate(rate);setShowSpeedMenu(false);});};const togglePiP=async()=>{if(typeof window===\"undefined\"||!videoRef.current)return;if(!document.pictureInPictureEnabled)return;try{if(isPiP){await document.exitPictureInPicture();}else{await videoRef.current.requestPictureInPicture();}}catch(err){console.error(\"PiP error:\",err);}};const handleVideoClick=e=>{e.preventDefault();// Click-to-skip feature\nif(customControls.enabled&&customControls.enableClickToSkip&&videoRef.current){const rect=e.target.getBoundingClientRect();const clickX=e.clientX-rect.left;const clickPercent=clickX/rect.width;// Left third: skip backward, Right third: skip forward, Middle: toggle play\nif(clickPercent<.33){skip(-customControls.skipDuration);return;}else if(clickPercent>.66){skip(customControls.skipDuration);return;}}togglePlay();};const handleVideoDoubleClick=e=>{e.preventDefault();toggleFullscreen();};const handleSeek=e=>{if(!videoRef.current)return;const rect=e.currentTarget.getBoundingClientRect();const pos=(e.clientX-rect.left)/rect.width;videoRef.current.currentTime=pos*duration;};const handleVolumeChange=e=>{if(!videoRef.current)return;const rect=e.currentTarget.getBoundingClientRect();const pos=(e.clientX-rect.left)/rect.width;const newVolume=Math.max(0,Math.min(1,pos));videoRef.current.volume=newVolume;if(newVolume>0&&isMuted){videoRef.current.muted=false;}};const toggleMute=()=>{if(!videoRef.current)return;videoRef.current.muted=!isMuted;};const toggleFullscreen=async()=>{if(typeof window===\"undefined\"||!containerRef.current)return;try{if(!isFullscreen){await containerRef.current.requestFullscreen();}else{await document.exitFullscreen();}}catch(err){console.error(\"Fullscreen error:\",err);}};const formatTime=time=>{if(isNaN(time))return\"0:00\";const minutes=Math.floor(time/60);const seconds=Math.floor(time%60);return`${minutes}:${seconds.toString().padStart(2,\"0\")}`;};const getButtonPosition=()=>{const positions={\"top-left\":{top:16+button.offsetY,left:16+button.offsetX},\"top-center\":{top:16+button.offsetY,left:\"50%\",transform:`translateX(calc(-50% + ${button.offsetX}px))`},\"top-right\":{top:16+button.offsetY,right:16-button.offsetX},\"middle-left\":{top:\"50%\",left:16+button.offsetX,transform:`translateY(calc(-50% + ${button.offsetY}px))`},\"center\":{top:\"50%\",left:\"50%\",transform:`translate(calc(-50% + ${button.offsetX}px), calc(-50% + ${button.offsetY}px))`},\"middle-right\":{top:\"50%\",right:16-button.offsetX,transform:`translateY(calc(-50% + ${button.offsetY}px))`},\"bottom-left\":{bottom:16-button.offsetY,left:16+button.offsetX},\"bottom-center\":{bottom:16-button.offsetY,left:\"50%\",transform:`translateX(calc(-50% + ${button.offsetX}px))`},\"bottom-right\":{bottom:16-button.offsetY,right:16-button.offsetX}};return positions[button.position];};const showButton=!customControls.enabled&&!video.showControls&&(button.showAlways||!isPlaying||isPlaying&&isHovering);const showCustomControls=customControls.enabled&&(!customControls.showOnHover||showControls||!isPlaying);const playbackSpeeds=[.25,.5,.75,1,1.25,1.5,1.75,2];return /*#__PURE__*/_jsxs(\"div\",{ref:containerRef,style:{position:\"relative\",width:\"100%\",height:\"100%\",borderRadius:appearance.borderRadius,overflow:\"hidden\",backgroundColor:appearance.backgroundColor,cursor:customControls.autoHideCursor&&isPlaying&&!showCursor?\"none\":\"default\"},onMouseEnter:()=>{startTransition(()=>{setIsHovering(true);if(customControls.enabled)setShowControls(true);});},onMouseLeave:()=>{startTransition(()=>{setIsHovering(false);if(customControls.enabled&&customControls.showOnHover&&isPlaying)setShowControls(false);setShowSpeedMenu(false);});},onMouseMove:()=>{if(customControls.enabled&&customControls.showOnHover&&isPlaying){startTransition(()=>setShowControls(true));}},children:[/*#__PURE__*/_jsx(\"video\",{ref:videoRef,loop:video.loop,muted:video.muted,controls:video.showControls&&!customControls.enabled,autoPlay:video.autoplay,poster:video.poster,playsInline:true,onClick:customControls.enabled?handleVideoClick:handleVideoClick,onDoubleClick:handleVideoDoubleClick,onPlay:()=>startTransition(()=>setIsPlaying(true)),onPause:()=>startTransition(()=>setIsPlaying(false)),style:{width:\"100%\",height:\"100%\",objectFit:appearance.objectFit,cursor:customControls.enabled?\"pointer\":\"pointer\",display:\"block\",objectPosition:\"center\",minHeight:0},className:\"video-player\",crossOrigin:\"anonymous\",children:video.sources.map((source,index)=>/*#__PURE__*/_jsx(\"source\",{src:source.src,type:source.type},index))},video.sources[0]?.src||\"default\"),overlay.enabled&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,width:\"100%\",height:\"100%\",backgroundColor:overlay.color,opacity:overlay.opacity,pointerEvents:\"none\",zIndex:1}}),customControls.enabled&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"absolute\",bottom:0,left:0,right:0,height:customControls.height,backgroundColor:customControls.backgroundColor,backdropFilter:\"blur(10px)\",WebkitBackdropFilter:\"blur(10px)\",display:\"flex\",alignItems:\"center\",padding:\"0 16px\",gap:12,opacity:showCustomControls?1:0,transition:\"opacity 0.3s ease\",pointerEvents:showCustomControls?\"auto\":\"none\",zIndex:10},children:[/*#__PURE__*/_jsx(\"button\",{onClick:togglePlay,style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24},\"aria-label\":isPlaying?\"Pause\":\"Play\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:isPlaying?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"4\",width:\"4\",height:\"16\",rx:\"1\",fill:customControls.iconColor}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"4\",width:\"4\",height:\"16\",rx:\"1\",fill:customControls.iconColor})]}):/*#__PURE__*/_jsx(\"path\",{d:\"M8 5.14v13.72L19 12L8 5.14z\",fill:customControls.iconColor})})}),customControls.showSkipButtons&&/*#__PURE__*/_jsxs(\"button\",{onClick:()=>skip(-customControls.skipDuration),style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24,position:\"relative\"},\"aria-label\":`Skip backward ${customControls.skipDuration} seconds`,children:[/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M11 18V6l-8.5 6 8.5 6zm.5-6l8.5 6V6l-8.5 6z\",fill:customControls.iconColor})}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",fontSize:\"8px\",fontWeight:\"bold\",color:customControls.iconColor},children:customControls.skipDuration})]}),customControls.showSkipButtons&&/*#__PURE__*/_jsxs(\"button\",{onClick:()=>skip(customControls.skipDuration),style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24,position:\"relative\"},\"aria-label\":`Skip forward ${customControls.skipDuration} seconds`,children:[/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M4 18l8.5-6L4 6v12zm9-12v12l8.5-6L13 6z\",fill:customControls.iconColor})}),/*#__PURE__*/_jsx(\"span\",{style:{position:\"absolute\",fontSize:\"8px\",fontWeight:\"bold\",color:customControls.iconColor},children:customControls.skipDuration})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:1,height:4,backgroundColor:customControls.progressBackgroundColor,borderRadius:2,cursor:\"pointer\",position:\"relative\",overflow:\"hidden\"},onClick:handleSeek,children:[/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:`${buffered}%`,backgroundColor:\"rgba(255, 255, 255, 0.2)\",borderRadius:2}}),/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:`${currentTime/duration*100}%`,backgroundColor:customControls.progressColor,borderRadius:2,transition:\"width 0.1s linear\"}})]}),/*#__PURE__*/_jsxs(\"div\",{style:{color:customControls.iconColor,fontSize:12,fontFamily:\"monospace\",minWidth:80,textAlign:\"center\"},children:[formatTime(currentTime),\" / \",formatTime(duration)]}),/*#__PURE__*/_jsx(\"button\",{onClick:toggleMute,style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24},\"aria-label\":isMuted?\"Unmute\":\"Mute\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:isMuted||volume===0?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M11 5L6 9H2v6h4l5 4V5z\",fill:customControls.iconColor}),/*#__PURE__*/_jsx(\"line\",{x1:\"23\",y1:\"9\",x2:\"17\",y2:\"15\",stroke:customControls.iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"17\",y1:\"9\",x2:\"23\",y2:\"15\",stroke:customControls.iconColor,strokeWidth:\"2\",strokeLinecap:\"round\"})]}):volume<.5?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M11 5L6 9H2v6h4l5 4V5z\",fill:customControls.iconColor}),/*#__PURE__*/_jsx(\"path\",{d:\"M15.54 8.46a5 5 0 0 1 0 7.07\",stroke:customControls.iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"path\",{d:\"M11 5L6 9H2v6h4l5 4V5z\",fill:customControls.iconColor}),/*#__PURE__*/_jsx(\"path\",{d:\"M15.54 8.46a5 5 0 0 1 0 7.07M19.07 4.93a10 10 0 0 1 0 14.14\",stroke:customControls.iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})]})})}),/*#__PURE__*/_jsx(\"div\",{style:{width:60,height:4,backgroundColor:customControls.progressBackgroundColor,borderRadius:2,cursor:\"pointer\",position:\"relative\",overflow:\"hidden\"},onClick:handleVolumeChange,children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",top:0,left:0,height:\"100%\",width:`${(isMuted?0:volume)*100}%`,backgroundColor:customControls.progressColor,borderRadius:2}})}),customControls.showPlaybackSpeed&&/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\"},children:[/*#__PURE__*/_jsxs(\"button\",{onClick:()=>startTransition(()=>setShowSpeedMenu(!showSpeedMenu)),style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:\"4px 8px\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",color:customControls.iconColor,fontSize:12,fontFamily:\"monospace\",fontWeight:\"bold\",minWidth:40},\"aria-label\":\"Playback speed\",children:[playbackRate,\"x\"]}),showSpeedMenu&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",bottom:\"100%\",right:0,marginBottom:8,backgroundColor:customControls.backgroundColor,borderRadius:4,padding:4,display:\"flex\",flexDirection:\"column\",gap:2,minWidth:60},children:playbackSpeeds.map(speed=>/*#__PURE__*/_jsxs(\"button\",{onClick:()=>changePlaybackRate(speed),style:{background:playbackRate===speed?customControls.progressColor:\"transparent\",border:\"none\",cursor:\"pointer\",padding:\"6px 12px\",color:customControls.iconColor,fontSize:12,fontFamily:\"monospace\",borderRadius:2,textAlign:\"left\"},children:[speed,\"x\"]},speed))})]}),customControls.showPiP&&typeof window!==\"undefined\"&&document.pictureInPictureEnabled&&/*#__PURE__*/_jsx(\"button\",{onClick:togglePiP,style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24},\"aria-label\":isPiP?\"Exit picture-in-picture\":\"Picture-in-picture\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"2\",y:\"3\",width:\"20\",height:\"14\",rx:\"2\",stroke:customControls.iconColor,strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"rect\",{x:\"12\",y:\"10\",width:\"8\",height:\"6\",rx:\"1\",fill:customControls.iconColor})]})}),/*#__PURE__*/_jsx(\"button\",{onClick:toggleFullscreen,style:{background:\"none\",border:\"none\",cursor:\"pointer\",padding:0,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:24,height:24},\"aria-label\":isFullscreen?\"Exit fullscreen\":\"Fullscreen\",children:/*#__PURE__*/_jsx(\"svg\",{width:\"24\",height:\"24\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:customControls.iconColor,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",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 16v3a2 2 0 0 0 2 2h3M16 21v-3a2 2 0 0 1 2-2h3M3 16h3a2 2 0 0 1 2 2v3M16 21v-3a2 2 0 0 1 2-2h3\"})}):/*#__PURE__*/_jsx(_Fragment,{children:/*#__PURE__*/_jsx(\"path\",{d:\"M8 3H5a2 2 0 0 0-2 2v3M21 8V5a2 2 0 0 0-2-2h-3M3 16v3a2 2 0 0 0 2 2h3M16 21h3a2 2 0 0 0 2-2v-3\"})})})})]}),/*#__PURE__*/_jsx(\"button\",{onClick:togglePlay,onMouseDown:()=>startTransition(()=>setIsPressed(true)),onMouseUp:()=>startTransition(()=>setIsPressed(false)),onMouseLeave:()=>startTransition(()=>setIsPressed(false)),style:{position:\"absolute\",...getButtonPosition(),width:button.size,height:button.size,borderRadius:\"50%\",backgroundColor:button.backgroundColor,border:\"none\",cursor:\"pointer\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",opacity:showButton?1:0,transition:\"opacity 0.3s ease, transform 0.1s ease\",transform:(()=>{const posTransform=getButtonPosition().transform||\"\";const scaleTransform=isPressed?\"scale(0.9)\":\"scale(1)\";return posTransform?`${posTransform} ${scaleTransform}`:scaleTransform;})(),pointerEvents:showButton?\"auto\":\"none\",zIndex:10},\"aria-label\":isPlaying?\"Pause\":\"Play\",children:/*#__PURE__*/_jsx(\"svg\",{width:button.iconSize,height:button.iconSize,viewBox:\"0 0 24 24\",fill:\"none\",children:isPlaying?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"rect\",{x:\"6\",y:\"4\",width:\"4\",height:\"16\",rx:\"1\",fill:button.color}),/*#__PURE__*/_jsx(\"rect\",{x:\"14\",y:\"4\",width:\"4\",height:\"16\",rx:\"1\",fill:button.color})]}):/*#__PURE__*/_jsx(\"path\",{d:\"M8 5.14v13.72L19 12L8 5.14z\",fill:button.color})})})]});}addPropertyControls(VideoPlayer,{video:{type:ControlType.Object,title:\"Video\",controls:{sources:{type:ControlType.Array,title:\"Sources\",control:{type:ControlType.Object,controls:{src:{type:ControlType.File,title:\"Source\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},type:{type:ControlType.Enum,title:\"Type\",options:[\"video/mp4\",\"video/webm\",\"video/quicktime\"],optionTitles:[\"MP4\",\"WebM\",\"MOV\"],defaultValue:\"video/mp4\"}}},defaultValue:[{src:\"https://framerusercontent.com/assets/MLWPbW1dUQawJLhhun3dBwpgJak.mp4\",type:\"video/mp4\"}]},poster:{type:ControlType.File,title:\"Poster Image\",allowedFileTypes:[\"jpg\",\"jpeg\",\"png\",\"gif\",\"webp\"]},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},muted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},showControls:{type:ControlType.Boolean,title:\"Controls\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"}}},appearance:{type:ControlType.Object,title:\"Appearance\",controls:{objectFit:{type:ControlType.Enum,title:\"Fit\",options:[\"contain\",\"cover\",\"fill\",\"none\"],optionTitles:[\"Contain\",\"Cover\",\"Fill\",\"None\"],defaultValue:\"cover\"},borderRadius:{type:ControlType.Number,title:\"Radius\",defaultValue:8,min:0,max:100,step:1,unit:\"px\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#000000\"}}},button:{type:ControlType.Object,title:\"Button\",controls:{position:{type:ControlType.Enum,title:\"Position\",options:[\"top-left\",\"top-center\",\"top-right\",\"middle-left\",\"center\",\"middle-right\",\"bottom-left\",\"bottom-center\",\"bottom-right\"],optionTitles:[\"Top Left\",\"Top Center\",\"Top Right\",\"Middle Left\",\"Center\",\"Middle Right\",\"Bottom Left\",\"Bottom Center\",\"Bottom Right\"],defaultValue:\"bottom-center\"},showAlways:{type:ControlType.Boolean,title:\"Visibility\",defaultValue:false,enabledTitle:\"Always\",disabledTitle:\"On Hover\"},offsetX:{type:ControlType.Number,title:\"Offset X\",defaultValue:0,min:-200,max:200,step:1,unit:\"px\"},offsetY:{type:ControlType.Number,title:\"Offset Y\",defaultValue:0,min:-200,max:200,step:1,unit:\"px\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#FFFFFF\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0, 0, 0, 0.5)\"},size:{type:ControlType.Number,title:\"Size\",defaultValue:48,min:24,max:80,step:4,unit:\"px\"},iconSize:{type:ControlType.Number,title:\"Icon Size\",defaultValue:20,min:12,max:48,step:2,unit:\"px\"}}},overlay:{type:ControlType.Object,title:\"Overlay\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},color:{type:ControlType.Color,title:\"Color\",defaultValue:\"#000000\"},opacity:{type:ControlType.Number,title:\"Opacity\",defaultValue:.5,min:0,max:1,step:.05}}},customControls:{type:ControlType.Object,title:\"Custom Controls\",controls:{enabled:{type:ControlType.Boolean,title:\"Enabled\",defaultValue:false,enabledTitle:\"On\",disabledTitle:\"Off\"},backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"rgba(0, 0, 0, 0.8)\"},iconColor:{type:ControlType.Color,title:\"Icon Color\",defaultValue:\"#FFFFFF\"},progressColor:{type:ControlType.Color,title:\"Progress Color\",defaultValue:\"#0099FF\"},progressBackgroundColor:{type:ControlType.Color,title:\"Progress Background\",defaultValue:\"rgba(255, 255, 255, 0.3)\"},height:{type:ControlType.Number,title:\"Height\",defaultValue:48,min:32,max:80,step:4,unit:\"px\"},showOnHover:{type:ControlType.Boolean,title:\"Show on Hover\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},showPlaybackSpeed:{type:ControlType.Boolean,title:\"Playback Speed\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showPiP:{type:ControlType.Boolean,title:\"Picture-in-Picture\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},showSkipButtons:{type:ControlType.Boolean,title:\"Skip Buttons\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},skipDuration:{type:ControlType.Number,title:\"Skip Duration\",defaultValue:10,min:5,max:30,step:5,unit:\"s\"},enableKeyboardShortcuts:{type:ControlType.Boolean,title:\"Keyboard Shortcuts\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},enableClickToSkip:{type:ControlType.Boolean,title:\"Click to Skip\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},autoHideCursor:{type:ControlType.Boolean,title:\"Auto-hide Cursor\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoPlayer\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoPlayer.map"],"mappings":"2NAIG,SAAwB,EAAY,EAAM,CAAC,GAAK,CAAC,QAAM,CAAC,QAAQ,CAAC,CAAC,IAAI,uEAAuE,KAAK,YAAY,CAAC,CAAC,KAAK,GAAM,MAAM,GAAK,SAAS,GAAM,aAAa,GAAM,OAAO,GAAG,CAAC,aAAW,CAAC,UAAU,QAAQ,aAAa,EAAE,gBAAgB,UAAU,CAAC,SAAO,CAAC,SAAS,gBAAgB,MAAM,UAAU,gBAAgB,qBAAqB,KAAK,GAAG,SAAS,GAAG,QAAQ,EAAE,QAAQ,EAAE,WAAW,GAAM,CAAC,iBAAe,CAAC,QAAQ,GAAM,gBAAgB,qBAAqB,UAAU,UAAU,cAAc,UAAU,wBAAwB,2BAA2B,OAAO,GAAG,YAAY,GAAK,kBAAkB,GAAK,QAAQ,GAAK,gBAAgB,GAAK,aAAa,GAAG,wBAAwB,GAAK,kBAAkB,GAAK,eAAe,GAAK,CAAC,UAAQ,CAAC,QAAQ,GAAM,MAAM,UAAU,QAAQ,GAAG,EAAE,EAAY,EAASA,EAAO,KAAK,CAAM,CAAC,EAAU,GAAcC,EAAS,EAAM,SAAS,CAAM,CAAC,GAAW,GAAeA,EAAS,G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