{"version":3,"file":"VideoButton.DkGIgRCF.mjs","names":["useRef","muted","YouTubePlayer","VimeoPlayer","useState","useRef"],"sources":["https:/framerusercontent.com/modules/iBoj3HPqfrCqnqNOPaXI/Zb8WwUU498OiC0qdx4pX/VideoFrame.js","https:/framerusercontent.com/modules/qocbKKZPr1xgBC57i5yM/oH7a0MP4wp4i67iebOiM/VideoButton.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{useEffect,useRef}from\"react\";import{VIDEO_ID_ATTRIBUTE,useVideoStore,speeds}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/MorESSBKyWuMljhmD7Xu/VideoFrameShared.js\";import YouTubePlayer from\"react-player/youtube\";import VimeoPlayer from\"react-player/vimeo\";/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n * @framerIntrinsicWidth 640\n * @framerIntrinsicHeight 360\n * @framerDisableUnlink\n */export default function VideoFrame(props){const{source,border,thumbnail,startTime,autoPlay}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const muted=autoPlay?true:props.muted;const[videoState,_setVideoState]=useVideoStore();const ref=useRef(null);const videoRef=useRef(null);const videoIdRef=useRef(null);const playerRef=useRef(null);const timeCallbacksRef=useRef([]);const state=videoState[videoIdRef.current];const stateRef=useRef(null);const setVideoState=next=>{_setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],...next}}));};const videoTracks=useVideoTracks({playerRef,videoRef,state,setState:setVideoState});useEffect(()=>{const videoParentElement=ref.current?.parentElement?.parentElement;if(!videoParentElement){return;}let newVideoId=videoParentElement.getAttribute(VIDEO_ID_ATTRIBUTE);if(!newVideoId){newVideoId=uuid();videoParentElement.setAttribute(VIDEO_ID_ATTRIBUTE,newVideoId);}videoIdRef.current=newVideoId;const setPlaying=playing=>{if(videoRef.current){if(playing){videoRef.current.play();}else{videoRef.current.pause();}}else if(playerRef.current){setVideoState({playing});}};const setFullscreen=fullscreen=>{if(typeof navigator!==\"undefined\"&&navigator.userAgent.includes(\"FramerElectron\")){console.log(\"Fullscreen is not supported in the Framer desktop app. Publish your website or use the Framer web app to preview fullscreen.\");}let customFullscreenSupported=true;if(videoParentElement){if(!document.fullscreenElement){if(videoParentElement.requestFullscreen){videoParentElement.requestFullscreen();}else if(videoParentElement.mozRequestFullScreen){videoParentElement.mozRequestFullScreen()// Firefox\n;}else if(videoParentElement.webkitRequestFullscreen){videoParentElement.webkitRequestFullscreen()// Chrome, Safari and Opera\n;}else if(videoParentElement.msRequestFullscreen){videoParentElement.msRequestFullscreen()// IE/Edge\n;}else if(videoRef.current?.webkitEnterFullScreen){// iOS Safari\nHTMLVideoElement.prototype.webkitEnterFullScreen?.call(videoRef.current);customFullscreenSupported=false;}}else{if(document.exitFullscreen){document.exitFullscreen();}else if(document.mozCancelFullScreen){document.mozCancelFullScreen()// Firefox\n;}else if(document.webkitExitFullscreen){document.webkitExitFullscreen()// Chrome, Safari and Opera\n;}else if(document.msExitFullscreen){document.msExitFullscreen()// IE/Edge\n;}else if(videoRef.current?.webkitExitFullScreen){// iOS Safari\nHTMLVideoElement.prototype.webkitExitFullScreen?.call(videoRef.current);customFullscreenSupported=false;}}}if(customFullscreenSupported){setVideoState({fullscreen});}if(fullscreen){props.enterFullscreenEvent?.();}else{props.exitFullscreenEvent?.();}};const setPiP=async pip=>{if(videoRef.current){if(document.pictureInPictureElement){await document.exitPictureInPicture();}else if(videoRef.current.requestPictureInPicture){await videoRef.current.requestPictureInPicture();}}setVideoState({pip});if(pip){props.enterPictureInPictureEvent?.();}else{props.exitPictureInPictureEvent?.();}};const setMuted=muted=>{const videoId=videoIdRef.current;if(videoRef.current){videoRef.current.muted=muted;}setVideoState({muted});};const setVolume=volume=>{volume=Math.min(Math.max(volume,0),1);const videoId=videoIdRef.current;if(videoRef.current){videoRef.current.volume=volume;}setVideoState({volume});};const setLoop=loop=>{if(videoRef.current){if(videoRef.current.loop){videoRef.current.removeAttribute(\"loop\");}else{videoRef.current.setAttribute(\"loop\",\"\");}}setVideoState({loop});};const setSpeed=speed=>{if(videoRef.current){videoRef.current.playbackRate=speed;}setVideoState({speed});};// const setPlaybackQuality = (playbackQuality) => {\n//     console.log(\n//         playerRef.current,\n//         playerRef.current.getInternalPlayer()\n//     )\n//     if (playerRef.current && source == \"youTube\") {\n//         console.log(playbackQuality)\n//         playerRef.current\n//             .getInternalPlayer()\n//             .setPlaybackQuality(playbackQuality)\n//     }\n//     setVideoState((prev) => ({\n//         [videoIdRef.current]: {\n//             ...prev[videoIdRef.current],\n//             playbackQuality,\n//         },\n//     }))\n// }\nconst setTime=time=>{let duration=0;if(videoRef.current){duration=videoRef.current.duration;}else if(playerRef.current){duration=playerRef.current.getDuration();}const newTime=stateRef.current?.loop?loopValue(time,0,duration):clamp(time,0,duration);if(videoRef.current){videoRef.current.currentTime=newTime;}else if(playerRef.current){playerRef.current.seekTo(newTime,\"seconds\");}for(const callback of timeCallbacksRef.current){callback([newTime,null]);}};const getTime=()=>{if(videoRef.current){return videoRef.current?.currentTime??0;}else if(playerRef.current){return playerRef.current.getCurrentTime();}};const getLoadedTime=()=>{if(playerRef.current){return playerRef.current.getSecondsLoaded();}return null;};const addTimeCallback=callback=>{if(typeof callback!==\"function\"){return;}if(!Array.isArray(timeCallbacksRef.current)){timeCallbacksRef.current=[callback];}else{timeCallbacksRef.current=[...timeCallbacksRef.current,callback];}callback([getTime(),getLoadedTime()]);};const removeTimeCallback=callback=>{if(Array.isArray(timeCallbacksRef.current)){timeCallbacksRef.current=timeCallbacksRef.current.filter(value=>value!==callback);}else{timeCallbacksRef.current=[];}};setVideoState({videoRef,playerRef,videoParentElement,playing:autoPlay,fullscreen:false,pip:false,muted:muted,volume:props.volume,loop:props.loop,duration:0,speed:Number(props.speed),// playbackQuality: props.playbackQuality,\nsetPlaying,setFullscreen,setPiP,setMuted,setVolume,setLoop,setSpeed,// setPlaybackQuality,\nsetTime,getTime,...videoTracks,addTimeCallback,removeTimeCallback});if(startTime&&isHTMLVideoType(source)){setTime(parseTimeToSeconds(startTime));}const onVideoEnded=()=>{if(!videoRef.current.loop){setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],playing:false}}));props.endedEvent?.();}else{props.loopedEvent?.();}};const updateVideoTime=()=>{if(videoRef.current){for(const callback of timeCallbacksRef.current){callback([videoRef.current.currentTime,null]);}}setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],duration:videoRef.current.duration}}));};if(videoRef.current){videoRef.current.addEventListener(\"ended\",onVideoEnded);videoRef.current.addEventListener(\"loadedmetadata\",updateVideoTime);videoRef.current.addEventListener(\"timeupdate\",updateVideoTime);if(props.speed!==\"1\"){videoRef.current.playbackRate=Number(props.speed);}}return()=>{if(videoRef.current){videoRef.current.removeEventListener(\"ended\",onVideoEnded);videoRef.current.removeEventListener(\"loadedmetadata\",updateVideoTime);videoRef.current.removeEventListener(\"timeupdate\",updateVideoTime);}};},[]);useEffect(()=>{stateRef.current=videoState[videoIdRef.current];},[videoState[videoIdRef.current]]);const onClick=()=>{if(props.tapToPlay&&state){state.setPlaying(!state.playing);}};const onVideoPlayingChanged=playing=>{setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],playing}}));if(playing){props.playingEvent?.();}else{props.pausedEvent?.();}};let videoElement=null;if(!isHTMLVideoType(source)){const onDurationChange=duration=>{setVideoState(prev=>({[videoIdRef.current]:{...prev[videoIdRef.current],duration}}));};const onTimeChange=time=>{for(const callback of timeCallbacksRef.current){callback(time);}};const onPlayerReady=()=>{if(startTime){stateRef.current?.setTime(parseTimeToSeconds(startTime));}};const videoProps={ref:playerRef,playing:state?state.playing:autoPlay,loop:state?state.loop:props.loop,volume:state?state.volume:props.volume,muted:state?state.muted:muted,pip:state?state.pip:false,width:\"100%\",height:\"100%\",playbackRate:state?state.speed:Number(props.speed),controls:false,onProgress:progress=>onTimeChange([progress.playedSeconds,progress.loadedSeconds]),onDuration:onDurationChange,onReady:onPlayerReady,playsinline:true};if(source==\"youTube\"){videoElement=/*#__PURE__*/_jsx(YouTubePlayer,{url:props.youTubeType==\"text\"?props.youTubeUrl:props.youTubeLink,...videoProps});}else if(source==\"vimeo\"){videoElement=/*#__PURE__*/_jsx(VimeoPlayer,{url:props.vimeoType==\"text\"?props.vimeoUrl:props.vimeoLink,...videoProps});}}else{videoElement=/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:props.source==\"file\"?props.videoFile:props.urlType==\"text\"?props.videoUrl:props.videoLink,autoPlay:autoPlay,loop:props.loop,preload:props.preload,muted:muted,poster:thumbnail,playsInline:true,onPlay:()=>onVideoPlayingChanged(true),onPause:()=>onVideoPlayingChanged(false),style:{width:\"100%\",height:\"100%\",objectFit:props.sizing,backgroundColor:props.fill}});}return /*#__PURE__*/_jsx(\"div\",{\"data-videoframe\":true,ref:ref,onClick:onClick,style:{position:\"relative\",borderRadius:props.radius,overflow:\"hidden\",userSelect:\"none\",...props.style},children:isCanvas?isHTMLVideoType(source)?/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:props.fill,backgroundImage:`url('${thumbnail}')`,backgroundSize:props.sizing==\"fill\"?\"100% 100%\":props.sizing,backgroundPosition:\"center\",backgroundRepeat:\"no-repeat\"}}):/*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",height:\"100%\",backgroundColor:props.fill}}):videoElement});}addPropertyControls(VideoFrame,{source:{type:ControlType.Enum,defaultValue:\"url\",options:[\"url\",\"file\",\"youTube\",\"vimeo\"],optionTitles:[\"URL\",\"File\",\"YouTube\",\"Vimeo\"]},urlType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"url\"},videoUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"URL\",description:\"MP4 or WebM file URL\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"url\"||props.urlType!==\"text\"},videoLink:{type:ControlType.Link,title:\" \",description:\"MP4 or WebM file URL\",hidden:props=>props.source!==\"url\"||props.urlType!==\"link\"},videoFile:{type:ControlType.File,allowedFileTypes:[\"mp4\",\"webm\"],description:\"MP4 or WebM\",title:\"File\",hidden:props=>props.source!==\"file\"},youTubeType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"youTube\"},youTubeUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"https://www.youtube.com/watch?v=\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"youTube\"||props.youTubeType!==\"text\"},youTubeLink:{type:ControlType.Link,title:\" \",hidden:props=>props.source!==\"youTube\"||props.youTubeType!==\"link\"},vimeoType:{type:ControlType.Enum,defaultValue:\"text\",options:[\"text\",\"link\"],optionTitles:[\"Text\",\"Link\"],displaySegmentedControl:true,title:\"Video URL\",hidden:props=>props.source!==\"vimeo\"},vimeoUrl:{type:ControlType.String,defaultValue:\"\",title:\" \",placeholder:\"https://vimeo.com/\",displayTextArea:true,preventLocalization:true,hidden:props=>props.source!==\"vimeo\"||props.vimeoType!==\"text\"},vimeoLink:{type:ControlType.Link,title:\" \",hidden:props=>props.source!==\"vimeo\"||props.vimeoType!==\"link\"},subtitles:{title:\"Subtitles\",type:ControlType.Array,defaultValue:[],control:{type:ControlType.Object,controls:{label:{type:ControlType.String,defaultValue:\"English\",placeholder:\"language\",preventLocalization:true},file:{type:ControlType.File,allowedFileTypes:[\"vtt\"],description:\"VTT files only\"}}},hidden:props=>{return true;return![\"url\",\"file\"].includes(props.source);}},thumbnail:{type:ControlType.Image,hidden:props=>!isHTMLVideoType(props.source)},sizing:{type:ControlType.Enum,defaultValue:\"contain\",options:[\"cover\",\"contain\",\"fill\"],optionTitles:[\"Fill\",\"Fit\",\"Stretch\"],hidden:props=>props.source===\"youTube\"},startTime:{type:ControlType.String,defaultValue:\"0:00\",placeholder:\"HH:MM:SS\",preventLocalization:true},autoPlay:{type:ControlType.Boolean,defaultValue:false},muted:{type:ControlType.Boolean,defaultValue:true,hidden:props=>props.autoPlay},volume:{type:ControlType.Number,defaultValue:1,min:0,max:1,step:.01,hidden:props=>props.autoPlay||props.muted},loop:{type:ControlType.Boolean,defaultValue:false},tapToPlay:{type:ControlType.Boolean,defaultValue:true,title:\"Tap to Play\",hidden:props=>props.source===\"youTube\"},speed:{type:ControlType.Enum,defaultValue:\"1\",options:speeds,optionTitles:speeds.map(speed=>`${speed}\\xd7`)},// playbackQuality: {\n//     type: ControlType.Enum,\n//     defaultValue: \"default\",\n//     options: playbackQualityOptions,\n//     optionTitles: playbackQualityOptions.map(\n//         (id) => playbackQualityTitles[id][0]\n//     ),\n//     title: \"Quality\",\n//     hidden: (props) => props.source !== \"youTube\",\n// },\npreload:{type:ControlType.Enum,defaultValue:\"none\",options:[\"auto\",\"none\"],optionTitles:[\"Auto\",\"None\"],displaySegmentedControl:true,hidden:props=>!isHTMLVideoType(props.source)||props.autoPlay},fill:{type:ControlType.Color,defaultValue:\"#000\",optional:true},radius:{type:ControlType.BorderRadius,defaultValue:\"0px\"},endedEvent:{type:ControlType.EventHandler,title:\"Video Ended\"},loopedEvent:{type:ControlType.EventHandler,title:\"Looped\"},playingEvent:{type:ControlType.EventHandler,title:\"Playing\"},pausedEvent:{type:ControlType.EventHandler,title:\"Paused\"},enterFullscreenEvent:{type:ControlType.EventHandler,title:\"Enter Fullscreen\"},exitFullscreenEvent:{type:ControlType.EventHandler,title:\"Exit Fullscreen\"},enterPictureInPictureEvent:{type:ControlType.EventHandler,title:\"Enter Picture-in-Picture\"},exitPictureInPictureEvent:{type:ControlType.EventHandler,title:\"Exit Picture-in-Picture\"}});function uuid(){let d=new Date().getTime()// Timestamp\n;let d2=performance&&performance.now&&performance.now()*1e3||0// Time in microseconds since page-load or 0 if unsupported\n;return\"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx\".replace(/[xy]/g,function(c){let r=Math.random()*16// random number between 0 and 16\n;if(d>0){// Use timestamp until depleted\nr=(d+r)%16|0;d=Math.floor(d/16);}else{// Use microseconds since page-load if supported\nr=(d2+r)%16|0;d2=Math.floor(d2/16);}return(c===\"x\"?r:r&3|8).toString(16);});}function loopValue(value,min,max){const range=max-min+1;return((value-min)%range+range)%range+min;}function clamp(value,min,max){if(value<min){return min;}else if(value>max){return max;}else{return value;}}function parseTimeToSeconds(timeString){// Remove any leading/trailing whitespace\ntimeString=timeString.trim();// Split the time string into parts\nconst parts=timeString.split(\":\");let seconds=0;if(parts.length===3){// HH:MM:SS format\nseconds+=parseInt(parts[0])*3600// Hours to seconds\n;seconds+=parseInt(parts[1])*60// Minutes to seconds\n;seconds+=parseInt(parts[2])// Seconds\n;}else if(parts.length===2){// MM:SS format\nseconds+=parseInt(parts[0])*60// Minutes to seconds\n;seconds+=parseInt(parts[1])// Seconds\n;}else if(parts.length===1){// SS format\nseconds+=parseInt(parts[0])// Seconds\n;}return seconds;}function isHTMLVideoType(source){return source===\"url\"||source===\"file\";}const useVideoTracks=props=>{// return {\n//     currentCaption: null,\n//     captionTracks: [],\n//     loadInitialCaptionTracks: () => {},\n//     disableCaption: () => {},\n//     setCaption: () => {},\n// }\nconst loadInitialCaptionTracks=async()=>{if(props.state?.captionTracks){return;}if(props.playerRef?.current){const internalVimeo=props.playerRef.current.getInternalPlayer();const tracks=await internalVimeo?.getTextTracks();console.log(\"tracks\",tracks);props.setState({captionTracks:tracks});return tracks;}if(props.videoRef?.current){const tracks=Array.from(props.videoRef.current.textTracks);props.setState({captionTracks:tracks});return tracks;}return[];};const disableCaption=()=>{if(props.playerRef?.current){const internalVimeo=props.playerRef.current.getInternalPlayer();internalVimeo.disableTextTrack();}if(props.videoRef?.current){Array.from(props.videoRef.current.textTracks).forEach(t=>{t.mode=\"hidden\";});}props.setState({currentCaption:null});};const setCaption=track=>{if(props.playerRef?.current){const internalVimeo=props.playerRef.current.getInternalPlayer();internalVimeo.enableTextTrack(track.language,track.type);props.setState({currentCaption:track});}if(props.videoRef?.current){Array.from(props.videoRef.current.textTracks).forEach(t=>{if(track.label===t.label){track.mode=\"showing\";props.setState({currentCaption:track});}});}};useEffect(()=>{Promise.resolve().then(async()=>{await loadInitialCaptionTracks();});});return{currentCaption:null,captionTracks:[],loadInitialCaptionTracks,disableCaption,setCaption};};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoFrame\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"360\",\"framerIntrinsicWidth\":\"640\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerDisableUnlink\":\"\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoFrame.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useState,useRef}from\"react\";import{Icon,useVideoStore,getVideoId}from\"https://framerusercontent.com/modules/6ffgsaDzsjdxRp9dCkQD/MorESSBKyWuMljhmD7Xu/VideoFrameShared.js\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n * @framerIntrinsicWidth 40\n * @framerIntrinsicHeight 40\n * @framerDisableUnlink\n */export default function VideoButton(props){var _state_videoRef,_state_playerRef;const{type,skipTime}=props;const[videoState,setVideoState]=useVideoStore();const[videoId,setVideoId]=useState(null);const state=videoState[videoId];const ref=useRef(null);const videoRef=state===null||state===void 0?void 0:(_state_videoRef=state.videoRef)===null||_state_videoRef===void 0?void 0:_state_videoRef.current;const playerRef=state===null||state===void 0?void 0:(_state_playerRef=state.playerRef)===null||_state_playerRef===void 0?void 0:_state_playerRef.current;useEffect(()=>{setVideoState({});},[]);useEffect(()=>{const videoId=getVideoId(ref.current);setVideoId(videoId);},[ref]);let icon=null;let defaultIcon=null;let onClick=null;switch(type){case\"play\":icon=(state===null||state===void 0?void 0:state.playing)?props.pauseIcon:props.playIcon;defaultIcon=(state===null||state===void 0?void 0:state.playing)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-pause'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M9 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z' /%3E%3Cpath d='M17 4h-2a2 2 0 0 0 -2 2v12a2 2 0 0 0 2 2h2a2 2 0 0 0 2 -2v-12a2 2 0 0 0 -2 -2z' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-play'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M6 4v16a1 1 0 0 0 1.524 .852l13 -8a1 1 0 0 0 0 -1.704l-13 -8a1 1 0 0 0 -1.524 .852z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setPlaying){state.setPlaying(!state.playing);}};break;case\"fullscreen\":icon=props.fullscreenIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-arrows-maximize'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M16 4l4 0l0 4' /%3E%3Cpath d='M14 10l6 -6' /%3E%3Cpath d='M8 20l-4 0l0 -4' /%3E%3Cpath d='M4 20l6 -6' /%3E%3Cpath d='M16 20l4 0l0 -4' /%3E%3Cpath d='M14 14l6 6' /%3E%3Cpath d='M8 4l-4 0l0 4' /%3E%3Cpath d='M4 4l6 6' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setFullscreen){state.setFullscreen(!state.fullscreen);}};break;case\"skipForward\":icon=props.skipIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-reload'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M19.933 13.041a8 8 0 1 1 -9.925 -8.788c3.899 -1 7.935 1.007 9.425 4.747' /%3E%3Cpath d='M20 4v5h-5' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(state.getTime()+skipTime);}};break;case\"skipBackward\":icon=props.skipIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.06694 13.041C4.25577 14.4809 4.83302 15.8423 5.73677 16.9792C6.64053 18.116 7.83669 18.9853 9.19698 19.494C10.5573 20.0027 12.0304 20.1315 13.4583 19.8666C14.8862 19.6017 16.2151 18.953 17.3024 17.9903C18.3897 17.0275 19.1944 15.787 19.6303 14.4016C20.0661 13.0163 20.1166 11.5384 19.7764 10.1266C19.4361 8.7147 18.718 7.42208 17.699 6.38734C16.6799 5.3526 15.3984 4.61477 13.9919 4.25298C10.0929 3.25298 6.05694 5.25998 4.56694 8.99998' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M4 4V9H9' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(state.getTime()-skipTime);}};break;case\"mute\":icon=(state===null||state===void 0?void 0:state.muted)?props.unmuteIcon:props.muteIcon;defaultIcon=(state===null||state===void 0?void 0:state.muted)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-volume-off'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M15 8a5 5 0 0 1 1.912 4.934m-1.377 2.602a5 5 0 0 1 -.535 .464' /%3E%3Cpath d='M17.7 5a9 9 0 0 1 2.362 11.086m-1.676 2.299a9 9 0 0 1 -.686 .615' /%3E%3Cpath d='M9.069 5.054l.431 -.554a.8 .8 0 0 1 1.5 .5v2m0 4v8a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l1.294 -1.664' /%3E%3Cpath d='M3 3l18 18' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-volume'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M15 8a5 5 0 0 1 0 8' /%3E%3Cpath d='M17.7 5a9 9 0 0 1 0 14' /%3E%3Cpath d='M6 15h-2a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h2l3.5 -4.5a.8 .8 0 0 1 1.5 .5v14a.8 .8 0 0 1 -1.5 .5l-3.5 -4.5' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setMuted){state.setMuted(!state.muted);}};break;case\"pictureInPicture\":icon=props.pictureInPictureIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-picture-in-picture'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M11 19h-6a2 2 0 0 1 -2 -2v-10a2 2 0 0 1 2 -2h14a2 2 0 0 1 2 2v4' /%3E%3Cpath d='M14 14m0 1a1 1 0 0 1 1 -1h5a1 1 0 0 1 1 1v3a1 1 0 0 1 -1 1h-5a1 1 0 0 1 -1 -1z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setPiP){state.setPiP(!state.pip);}};break;case\"restart\":icon=props.restartIcon;defaultIcon=`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='currentColor' class='icon icon-tabler icons-tabler-filled icon-tabler-player-track-prev'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M20.341 4.247l-8 7a1 1 0 0 0 0 1.506l8 7c.647 .565 1.659 .106 1.659 -.753v-14c0 -.86 -1.012 -1.318 -1.659 -.753z' /%3E%3Cpath d='M9.341 4.247l-8 7a1 1 0 0 0 0 1.506l8 7c.647 .565 1.659 .106 1.659 -.753v-14c0 -.86 -1.012 -1.318 -1.659 -.753z' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setTime){state.setTime(0);}};break;case\"toggleLoop\":icon=(state===null||state===void 0?void 0:state.loop)?props.loopOnIcon:props.loopOffIcon;defaultIcon=(state===null||state===void 0?void 0:state.loop)?`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-repeat'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 12v-3a3 3 0 0 1 3 -3h13m-3 -3l3 3l-3 3' /%3E%3Cpath d='M20 12v3a3 3 0 0 1 -3 3h-13m3 3l-3 -3l3 -3' /%3E%3C/svg%3E\")`:`url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' class='icon icon-tabler icons-tabler-outline icon-tabler-repeat-off'%3E%3Cpath stroke='none' d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M4 12v-3c0 -1.336 .873 -2.468 2.08 -2.856m3.92 -.144h10m-3 -3l3 3l-3 3' /%3E%3Cpath d='M20 12v3a3 3 0 0 1 -.133 .886m-1.99 1.984a3 3 0 0 1 -.877 .13h-13m3 3l-3 -3l3 -3' /%3E%3Cpath d='M3 3l18 18' /%3E%3C/svg%3E\")`;onClick=()=>{if(state===null||state===void 0?void 0:state.setLoop){state.setLoop(!state.loop);}};break;}return /*#__PURE__*/_jsx(\"div\",{\"data-videoframe\":true,ref:ref,onMouseEnter:props.hoverEvent,onClick:()=>{var _props_clickEvent;onClick===null||onClick===void 0?void 0:onClick();(_props_clickEvent=props.clickEvent)===null||_props_clickEvent===void 0?void 0:_props_clickEvent.call(props);},style:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",cursor:\"pointer\",...props.style},children:/*#__PURE__*/_jsx(Icon,{image:icon,color:props.iconColor,size:props.iconSize,defaultImage:defaultIcon})});}VideoButton.displayName=\"Video Button\";addPropertyControls(VideoButton,{type:{type:ControlType.Enum,defaultValue:\"play\",options:[\"play\",\"fullscreen\",\"skipForward\",\"skipBackward\",\"mute\",\"pictureInPicture\",\"restart\",\"toggleLoop\"],optionTitles:[\"Play/Pause\",\"Fullscreen\",\"Skip Forward\",\"Skip Backward\",\"Mute\",\"Picture-in-Picture\",\"Restart\",\"Toggle Loop\"],title:\"Action\"},skipTime:{type:ControlType.Number,defaultValue:10,min:1,step:1,displayStepper:true,unit:\"s\",title:\"Time\",hidden:props=>props.type!==\"skipForward\"&&props.type!==\"skipBackward\"},playIcon:{type:ControlType.ResponsiveImage,hidden:props=>props.type!==\"play\"},pauseIcon:{type:ControlType.ResponsiveImage,hidden:props=>props.type!==\"play\"},fullscreenIcon:{type:ControlType.ResponsiveImage,title:\"Fullscreen\",hidden:props=>props.type!==\"fullscreen\"},minimizeIcon:{type:ControlType.ResponsiveImage,title:\"Minimize\",hidden:props=>props.type!==\"fullscreen\"},skipIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"skipForward\"&&props.type!==\"skipBackward\"},muteIcon:{type:ControlType.ResponsiveImage,title:\"Mute\",hidden:props=>props.type!==\"mute\"},unmuteIcon:{type:ControlType.ResponsiveImage,title:\"Unmute\",hidden:props=>props.type!==\"mute\"},pictureInPictureIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"pictureInPicture\"},restartIcon:{type:ControlType.ResponsiveImage,title:\"Icon\",hidden:props=>props.type!==\"restart\"},loopOnIcon:{type:ControlType.ResponsiveImage,title:\"Loop On\",hidden:props=>props.type!==\"toggleLoop\"},loopOffIcon:{type:ControlType.ResponsiveImage,title:\"Loop Off\",hidden:props=>props.type!==\"toggleLoop\"},iconColor:{type:ControlType.Color,defaultValue:\"#FFF\",optional:true},iconSize:{type:ControlType.Number,defaultValue:20,min:1,step:1,displayStepper:true},hoverEvent:{type:ControlType.EventHandler,title:\"Hover\"},clickEvent:{type:ControlType.EventHandler,title:\"Click\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoButton\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"any-prefer-fixed\",\"framerIntrinsicWidth\":\"40\",\"framerIntrinsicHeight\":\"40\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerContract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