{
  "version": 3,
  "sources": ["ssg:https://framerusercontent.com/modules/NEd4VmDdsxM3StIUbddO/4b2t9Fx4KOsM4G7k9Rv5/Youtube.js", "ssg:https://framerusercontent.com/modules/56LcPydzVnqZYaPo0GsG/6iSJZs3K6WMCuzNYHVK4/Ipwg67IFh.js", "ssg:https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/cOEdLRe1eqgV5Nq0QkwW/VideoNew.js", "ssg:https://framer.com/m/framer/useAutoMotionValue.js@^0.3.0"],
  "sourcesContent": ["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{ControlType,addPropertyControls,RenderTarget}from\"framer\";import{defaultEvents}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";var YoutubeSettings;(function(YoutubeSettings){YoutubeSettings[\"playNormal\"]=\"Off\";YoutubeSettings[\"playAuto\"]=\"On\";YoutubeSettings[\"playLoop\"]=\"Loop\";YoutubeSettings[\"controlsPlayback\"]=\"Playback\";YoutubeSettings[\"controlsInfo\"]=\"Video Info\";YoutubeSettings[\"controlsNone\"]=\"None\";})(YoutubeSettings||(YoutubeSettings={}));/**\n * YOUTUBE\n *\n * @framerIntrinsicWidth 375\n * @framerIntrinsicHeight 210\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight fixed\n */ export function Youtube(props){const{url,play,shouldMute,controls=false,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,canvasPlay}=props;const guessIdentifier=urlMaybe=>{if(!urlMaybe)return null;let identifier=\"\";// https://www.youtube.com/watch?v=cAs3senSITIve\nconst watchPrefix=\"youtube.com/watch?v=\";const watchIndex=urlMaybe.indexOf(watchPrefix);if(watchIndex>=0){identifier=urlMaybe.substring(watchIndex+watchPrefix.length);}else{// https://www.youtube.com/embed/cAs3senSITIve\nconst embedPrefix=\"youtube.com/embed/\";const embedIndex=urlMaybe.indexOf(embedPrefix);if(embedIndex>=0){identifier=urlMaybe.substring(embedIndex+embedPrefix.length);}else{// https://youtu.be/cAs3senSITIve\nconst shortenedPrefix=\"youtu.be/\";const shortenedIndex=urlMaybe.indexOf(shortenedPrefix);if(shortenedIndex>=0){identifier=urlMaybe.substring(shortenedIndex+shortenedPrefix.length);}else{// Everything else\nidentifier=urlMaybe;}}}// Strip off the query string, if any\nconst queryIndex=identifier.indexOf(\"?\");if(queryIndex>=0){identifier=identifier.substring(0,queryIndex);}// What's left might be an identifier\nreturn identifier.match(/[\\w_]+/)?identifier:null;};const identifier1=guessIdentifier(url||Youtube.defaultProps.url)||\"none\";if(RenderTarget.current()===RenderTarget.canvas){return(/*#__PURE__*/ _jsx(\"div\",{style:{// https://stackoverflow.com/a/18400445\nbackgroundImage:`url(https://i.ytimg.com/vi/${identifier1}/hqdefault.jpg)`,backgroundPosition:\"center\",backgroundSize:\"cover\",display:\"flex\",justifyContent:\"center\",alignItems:\"center\",width:\"100%\",height:\"100%\"},children:/*#__PURE__*/ _jsxs(\"svg\",{xmlns:\"http://www.w3.org/2000/svg\",width:\"68\",height:\"48\",children:[/*#__PURE__*/ _jsx(\"path\",{d:\"M 66.52 7.74 C 65.74 4.81 64.03 2.33 61.1 1.55 C 55.79 0.13 34 0 34 0 C 34 0 12.21 0.13 6.9 1.55 C 3.97 2.33 2.27 4.81 1.48 7.74 C 0.06 13.05 0 24 0 24 C 0 24 0.06 34.95 1.48 40.26 C 2.26 43.19 3.97 45.67 6.9 46.45 C 12.21 47.87 34 48 34 48 C 34 48 55.79 47.87 61.1 46.45 C 64.03 45.67 65.74 43.19 66.52 40.26 C 67.94 34.95 68 24 68 24 C 68 24 67.94 13.05 66.52 7.74 Z\",fill:\"rgba(34, 34, 34, 0.85)\"}),/*#__PURE__*/ _jsx(\"path\",{d:\"M 45 24 L 27 14 L 27 34\",fill:\"rgb(255,255,255)\"})]})}));}const autoplay=RenderTarget.current()==RenderTarget.preview&&(play===YoutubeSettings.playAuto||play===YoutubeSettings.playLoop);const loop=autoplay&&play===YoutubeSettings.playLoop;const mute=shouldMute&&autoplay;const showsInfo=controls===YoutubeSettings.controlsInfo;const showsControls=controls===YoutubeSettings.controlsPlayback;// Notes on https://developers.google.com/youtube/player_parameters\n// If \"controls\" is defined at all, an inactive video will get a Youtube logo in the corner\nlet src=`https://www.youtube.com/embed/${identifier1}?playlist=${identifier1}&showinfo=${showsInfo?\"1\":\"0\"}&autoplay=${autoplay?\"1\":\"0\"}&loop=${loop?\"1\":\"0\"}&mute=${mute?\"1\":\"0\"}&iv_load_policy=3&rel=0&?modestbranding=1&playsinline=1`;if(showsControls||autoplay){src+=\"&controls=\"+(showsControls?\"1\":\"0\");}return(/*#__PURE__*/ _jsx(\"iframe\",{width:\"100%\",height:\"100%\",allowFullScreen:true,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,frameBorder:0,src:src}));}Youtube.displayName=\"YouTube\";addPropertyControls(Youtube,{url:{type:ControlType.String,title:\"Video\"},play:{type:ControlType.Enum,title:\"Autoplay\",options:[YoutubeSettings.playNormal,YoutubeSettings.playAuto,YoutubeSettings.playLoop,]},canvasPlay:{type:ControlType.Boolean,title:\"On Canvas\",enabledTitle:\"Play\",disabledTitle:\"Pause\"},shouldMute:{title:\"Mute\",type:ControlType.Boolean,enabledTitle:\"Yes\",disabledTitle:\"No\"},...defaultEvents});Youtube.defaultProps={url:\"https://www.youtube.com/watch?v=Fop2oskTug8\",controls:YoutubeSettings.controlsPlayback,play:YoutubeSettings.playNormal,width:375,height:210,canvasPlay:false};\nexport const __FramerMetadata__ = {\"exports\":{\"Youtube\":{\"type\":\"reactComponent\",\"name\":\"Youtube\",\"slots\":[],\"annotations\":{\"framerSupportedLayoutHeight\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"210\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"375\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Youtube.map", "// Generated by Framer (99bc0fd)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ComponentViewportProvider,ControlType,cx,getFonts,getPropertyControls,SVG,useActiveVariantCallback,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{Video}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/cOEdLRe1eqgV5Nq0QkwW/VideoNew.js\";import{Video as Video1}from\"https://framerusercontent.com/modules/lRDHiNWNVWmE0lqtoVHP/zEmAposrjympIK2ybAcQ/Video.js\";const VideoFonts=getFonts(Video);const Video1Controls=getPropertyControls(Video1);const enabledGestures={vyNXNuwAh:{hover:true}};const cycleOrder=[\"vyNXNuwAh\",\"U79p0eMUP\",\"b2b7r5aVt\"];const serializationHash=\"framer-z1fy9\";const variantClassNames={b2b7r5aVt:\"framer-v-1g3crbr\",U79p0eMUP:\"framer-v-du3h49\",vyNXNuwAh:\"framer-v-raakp1\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants===null||variants===void 0?void 0:variants.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const transition1={damping:60,delay:0,mass:1,stiffness:500,type:\"spring\"};const transformTemplate1=(_,t)=>`translate(-50%, -50%) ${t}`;const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value!==null&&value!==void 0?value:config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const humanReadableVariantMap={Desktop:\"vyNXNuwAh\",Mobile:\"U79p0eMUP\",Tablet:\"b2b7r5aVt\"};const getProps=({file,height,id,tap,width,...props})=>{var _ref,_humanReadableVariantMap_props_variant,_ref1;return{...props,O9J2Y2Xi8:tap!==null&&tap!==void 0?tap:props.O9J2Y2Xi8,r58gin0mL:(_ref=file!==null&&file!==void 0?file:props.r58gin0mL)!==null&&_ref!==void 0?_ref:\"https://framerusercontent.com/assets/a3ApoYvijyvV74hVkmACuLO7iw.mp4\",variant:(_ref1=(_humanReadableVariantMap_props_variant=humanReadableVariantMap[props.variant])!==null&&_humanReadableVariantMap_props_variant!==void 0?_humanReadableVariantMap_props_variant:props.variant)!==null&&_ref1!==void 0?_ref1:\"vyNXNuwAh\"};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const{activeLocale,setLocale}=useLocaleInfo();const{style,className,layoutId,variant,O9J2Y2Xi8,r58gin0mL,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"vyNXNuwAh\",enabledGestures,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const{activeVariantCallback,delay}=useActiveVariantCallback(baseVariant);const onTap1cdbss3=activeVariantCallback(async(...args)=>{setGestureState({isPressed:false});if(O9J2Y2Xi8){const res=await O9J2Y2Xi8(...args);if(res===false)return false;}});const ref1=React.useRef(null);const defaultLayoutId=React.useId();const sharedStyleClassNames=[];const componentViewport=useComponentViewport();return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId!==null&&layoutId!==void 0?layoutId:defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(serializationHash,...sharedStyleClassNames,\"framer-raakp1\",className,classNames),\"data-framer-name\":\"Desktop\",\"data-highlight\":true,layoutDependency:layoutDependency,layoutId:\"vyNXNuwAh\",onTap:onTap1cdbss3,ref:ref!==null&&ref!==void 0?ref:ref1,style:{backgroundColor:\"rgb(231, 235, 242)\",borderBottomLeftRadius:20,borderBottomRightRadius:20,borderTopLeftRadius:20,borderTopRightRadius:20,...style},variants:{U79p0eMUP:{borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10}},...addPropertyOverrides({\"vyNXNuwAh-hover\":{\"data-framer-name\":undefined},b2b7r5aVt:{\"data-framer-name\":\"Tablet\"},U79p0eMUP:{\"data-framer-name\":\"Mobile\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(ComponentViewportProvider,{children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-zhy4yz-container\",layoutDependency:layoutDependency,layoutId:\"QAqcUqiJp-container\",children:/*#__PURE__*/_jsx(Video,{backgroundColor:\"rgba(0, 0, 0, 0)\",borderRadius:0,bottomLeftRadius:0,bottomRightRadius:0,canvasPlay:false,controls:false,height:\"100%\",id:\"QAqcUqiJp\",isMixedBorderRadius:false,layoutId:\"QAqcUqiJp\",loop:true,muted:true,objectFit:\"cover\",playing:true,posterEnabled:false,srcFile:r58gin0mL,srcType:\"Upload\",srcUrl:\"\",startTime:0,style:{height:\"100%\",width:\"100%\"},topLeftRadius:0,topRightRadius:0,volume:25,width:\"100%\"})})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-cjmn7c\",\"data-framer-name\":\"Play\",layoutDependency:layoutDependency,layoutId:\"ChjN7w_FW\",transformTemplate:transformTemplate1,children:/*#__PURE__*/_jsx(SVG,{className:\"framer-z49rm4\",\"data-framer-name\":\"Play Button\",fill:\"rgba(0,0,0,1)\",intrinsicHeight:100,intrinsicWidth:100,layoutDependency:layoutDependency,layoutId:\"CimahzQIt\",style:{filter:\"drop-shadow(0px 10px 10px rgba(0, 2, 24, 0.16))\",WebkitFilter:\"drop-shadow(0px 10px 10px rgba(0, 2, 24, 0.16))\"},svg:'<svg width=\"100\" height=\"100\" viewBox=\"0 0 100 100\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\\n<circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#E7EBF2\"/>\\n<path d=\"M62 50L44 60.3923L44 39.6077L62 50Z\" fill=\"#000218\"/>\\n</svg>\\n',withExternalLayout:true})})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-z1fy9.framer-1w3nz77, .framer-z1fy9 .framer-1w3nz77 { display: block; }\",\".framer-z1fy9.framer-raakp1 { cursor: pointer; height: 1700px; overflow: hidden; position: relative; width: 1080px; will-change: var(--framer-will-change-override, transform); }\",\".framer-z1fy9 .framer-zhy4yz-container { flex: none; height: 100%; left: calc(50.00000000000002% - 100% / 2); position: absolute; top: 0px; width: 100%; }\",\".framer-z1fy9 .framer-cjmn7c { align-content: center; align-items: center; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: flex-start; left: 50%; overflow: visible; padding: 0px; position: absolute; top: 50%; width: min-content; }\",\".framer-z1fy9 .framer-z49rm4 { flex: none; height: 80px; position: relative; width: 80px; }\",\"@supports (background: -webkit-named-image(i)) and (not (font-palette:dark)) { .framer-z1fy9 .framer-cjmn7c { gap: 0px; } .framer-z1fy9 .framer-cjmn7c > * { margin: 0px; margin-left: calc(10px / 2); margin-right: calc(10px / 2); } .framer-z1fy9 .framer-cjmn7c > :first-child { margin-left: 0px; } .framer-z1fy9 .framer-cjmn7c > :last-child { margin-right: 0px; } }\",\".framer-z1fy9.framer-v-du3h49.framer-raakp1 { height: 178px; width: 320px; }\",\".framer-z1fy9.framer-v-du3h49 .framer-z49rm4 { height: 56px; width: 56px; }\",\".framer-z1fy9.framer-v-1g3crbr.framer-raakp1 { height: 411px; width: 740px; }\",\".framer-z1fy9.framer-v-raakp1.hover .framer-z49rm4 { height: 106px; width: 106px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 1700\n * @framerIntrinsicWidth 1080\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"fixed\"]},\"U79p0eMUP\":{\"layout\":[\"fixed\",\"fixed\"]},\"b2b7r5aVt\":{\"layout\":[\"fixed\",\"fixed\"]},\"Mt_NGmrks\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"O9J2Y2Xi8\":\"tap\",\"r58gin0mL\":\"file\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerComponentViewportWidth true\n */const FramerIpwg67IFh=withCSS(Component,css,\"framer-z1fy9\");export default FramerIpwg67IFh;FramerIpwg67IFh.displayName=\"Elements/Video Player\";FramerIpwg67IFh.defaultProps={height:1700,width:1080};addPropertyControls(FramerIpwg67IFh,{variant:{options:[\"vyNXNuwAh\",\"U79p0eMUP\",\"b2b7r5aVt\"],optionTitles:[\"Desktop\",\"Mobile\",\"Tablet\"],title:\"Variant\",type:ControlType.Enum},O9J2Y2Xi8:{title:\"Tap\",type:ControlType.EventHandler},r58gin0mL:(Video1Controls===null||Video1Controls===void 0?void 0:Video1Controls[\"srcFile\"])&&{...Video1Controls[\"srcFile\"],__defaultAssetReference:\"data:framer/asset-reference,a3ApoYvijyvV74hVkmACuLO7iw.mp4?originalFilename=IMG_5206_f_compressed.mp4\",description:undefined,hidden:undefined,title:\"File\"}});addFonts(FramerIpwg67IFh,[{explicitInter:true,fonts:[]},...VideoFonts],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerIpwg67IFh\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerIntrinsicHeight\":\"1700\",\"framerVariables\":\"{\\\"O9J2Y2Xi8\\\":\\\"tap\\\",\\\"r58gin0mL\\\":\\\"file\\\"}\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicWidth\":\"1080\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"U79p0eMUP\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"b2b7r5aVt\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]},\\\"Mt_NGmrks\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Ipwg67IFh.map", "import{jsx as _jsx}from\"react/jsx-runtime\";import{useRef,useEffect,useMemo,useCallback,memo}from\"react\";import{ControlType,addPropertyControls,useIsInCurrentNavigationTarget}from\"framer\";import{useOnEnter,useOnExit,defaultEvents,useIsOnCanvas,useIsBrowserSafari,useOnChange,useRadius,borderRadiusControl}from\"https://framer.com/m/framer/default-utils.js@^0.45.0\";import{useAutoMotionValue}from\"https://framer.com/m/framer/useAutoMotionValue.js@^0.3.0\";var ObjectFitType;(function(ObjectFitType){ObjectFitType[\"Fill\"]=\"fill\";ObjectFitType[\"Contain\"]=\"contain\";ObjectFitType[\"Cover\"]=\"cover\";ObjectFitType[\"None\"]=\"none\";ObjectFitType[\"ScaleDown\"]=\"scale-down\";})(ObjectFitType||(ObjectFitType={}));var SrcType;(function(SrcType){SrcType[\"Video\"]=\"Upload\";SrcType[\"Url\"]=\"URL\";})(SrcType||(SrcType={}));// Reduce renders\nfunction getProps(props){const{width,height,topLeft,topRight,bottomRight,bottomLeft,id,children,...rest}=props;return rest;}/**\n * VIDEO\n *\n * @framerIntrinsicWidth 200\n * @framerIntrinsicHeight 112\n *\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */ export function Video(props){const newProps=getProps(props);return(/*#__PURE__*/ _jsx(VideoMemo,{...newProps}));}const VideoMemo=/*#__PURE__*/ memo(function VideoInner(props){const{srcType,srcFile,srcUrl,playing,canvasPlay,muted,playsinline,controls,progress,objectFit,backgroundColor,radius,topLeft,topRight,bottomRight,bottomLeft,isMixed,onSeeked,onPause,onPlay,onEnd,onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,poster,restartOnEnter,posterEnabled,startTime:startTimeProp,volume,loop}=props;const isInCurrentNavigationTarget=useIsInCurrentNavigationTarget();const videoRef=useRef();const isSafari=useIsBrowserSafari();const requestingPlay=useRef(false);const wasPausedOnLeave=useRef(null);const wasEndedOnLeave=useRef(null);const isOnCanvas=useIsOnCanvas();const borderRadius=useRadius(props);// Video elements behave oddly at 100% duration\nconst startTime=startTimeProp===100?99.9:startTimeProp;const shouldPlay=!isOnCanvas||canvasPlay;const autoPlay=useMemo(()=>playing,[]);const isMuted=useMemo(()=>isOnCanvas?true:muted,[isOnCanvas,muted]);const setProgress=useCallback(rawProgress=>{if(!videoRef.current)return;const newProgress=(rawProgress===1?0.999:rawProgress)*videoRef.current.duration;const isAlreadySet=Math.abs(videoRef.current.currentTime-newProgress)<0.1;if(videoRef.current.duration>0&&!isAlreadySet){videoRef.current.currentTime=newProgress;}},[]);const play=useCallback(()=>{const isPlaying=videoRef.current.currentTime>0&&videoRef.current.onplaying&&!videoRef.current.paused&&!videoRef.current.ended&&videoRef.current.readyState>videoRef.current.HAVE_CURRENT_DATA;if(!isPlaying&&videoRef.current&&!requestingPlay.current&&isInCurrentNavigationTarget){requestingPlay.current=true;videoRef.current.play().catch(e=>{}) // It's likely fine, swallow error\n.finally(()=>requestingPlay.current=false);}},[]);const pause=useCallback(()=>{if(!videoRef.current||requestingPlay.current)return;videoRef.current.pause();},[]);// Pause/play via props\nuseEffect(()=>{if(playing&&shouldPlay)play();else pause();},[playing,canvasPlay]);// Change progress via prop\nuseEffect(()=>{setProgress(startTime*0.01);},[startTimeProp,srcFile,srcUrl]);const videoProgress=useAutoMotionValue(progress,{transform:value=>value*0.01,onChange:newValue=>{setProgress(newValue);}});// Allow scrubbing with MotionValue\nuseOnChange(videoProgress,val=>{if(isOnCanvas)return;setProgress(val);});// (Prototyping) Checking if we need to play on navigation enter\nuseOnEnter(()=>{if(wasPausedOnLeave.current===null)return;if(videoRef.current){// if (restartOnEnter) setProgress(0)\nif(!wasEndedOnLeave&&loop||!wasPausedOnLeave.current)play();}});// (Prototyping) Pausing & saving playing state on navigation exit\nuseOnExit(()=>{if(videoRef.current){wasEndedOnLeave.current=videoRef.current.ended;wasPausedOnLeave.current=videoRef.current.paused;pause();}});const src=useMemo(()=>{if(srcType===SrcType.Url)return srcUrl;if(srcType===SrcType.Video)return srcFile;},[srcType,srcFile,srcUrl]);// Autoplay via JS to work in Safari\nuseEffect(()=>{if(isSafari&&videoRef.current&&autoPlay){setTimeout(()=>play(),50);}},[]);// Volume Control\nuseEffect(()=>{if(videoRef.current&&!muted)videoRef.current.volume=volume/100;},[volume]);// When video is ready, set start-time, then autoplay if needed\nconst handleReady=()=>{if(videoRef.current&&videoRef.current.currentTime<0.3)setProgress(startTime*0.01);if(shouldPlay&&videoRef.current&&autoPlay)play();};return(/*#__PURE__*/ _jsx(\"video\",{onClick,onMouseEnter,onMouseLeave,onMouseDown,onMouseUp,src:src,loop:loop,ref:videoRef,onSeeked:e=>{return onSeeked===null||onSeeked===void 0?void 0:onSeeked(e);},onPause:e=>{return onPause===null||onPause===void 0?void 0:onPause(e);},onPlay:e=>{return onPlay===null||onPlay===void 0?void 0:onPlay(e);},onEnded:e=>{return onEnd===null||onEnd===void 0?void 0:onEnd(e);},autoPlay:autoPlay&&shouldPlay,poster:posterEnabled?poster:undefined,onLoadedData:handleReady,controls:controls,muted:isMuted,playsInline:playsinline,style:{width:\"100%\",height:\"100%\",borderRadius,display:\"block\",objectFit:objectFit,backgroundColor:backgroundColor,objectPosition:\"50% 50%\"}}));});Video.defaultProps={srcType:SrcType.Url,srcUrl:\"https://assets.mixkit.co/videos/preview/mixkit-ice-cream-glass-of-red-soda-5094-small.mp4\",srcFile:\"\",posterEnabled:false,controls:false,autoPlay:true,canvasPlay:false,loop:true,muted:true,playsinline:true,restartOnEnter:false,objectFit:ObjectFitType.Cover,backgroundColor:\"rgba(0,0,0,0)\",radius:0,volume:25,startTime:0};addPropertyControls(Video,{srcType:{type:ControlType.Enum,displaySegmentedControl:true,title:\"Source\",options:[SrcType.Url,SrcType.Video]},srcUrl:{type:ControlType.String,title:\" \",placeholder:\"../example.mp4\",hidden(props){return props.srcType===SrcType.Video;}},srcFile:{type:ControlType.File,title:\" \",allowedFileTypes:[\"mp4\"],hidden(props){return props.srcType===SrcType.Url;}},playing:{type:ControlType.Boolean,title:\"Playing\",enabledTitle:\"Yes\",disabledTitle:\"No\"},posterEnabled:{type:ControlType.Boolean,title:\"Poster\",enabledTitle:\"Yes\",disabledTitle:\"No\"},poster:{type:ControlType.Image,title:\" \",hidden:({posterEnabled})=>!posterEnabled},backgroundColor:{type:ControlType.Color,title:\"Background\"},...borderRadiusControl,startTime:{title:\"Start Time\",type:ControlType.Number,min:0,max:100,step:0.1,unit:\"%\"},loop:{type:ControlType.Boolean,title:\"Loop\",enabledTitle:\"Yes\",disabledTitle:\"No\"},objectFit:{type:ControlType.Enum,title:\"Fit\",options:[ObjectFitType.Cover,ObjectFitType.Fill,ObjectFitType.Contain,ObjectFitType.ScaleDown,ObjectFitType.None,]},canvasPlay:{type:ControlType.Boolean,title:\"On Canvas\",enabledTitle:\"Play\",disabledTitle:\"Pause\",hidden(props){return props.autoPlay===false;}},// restartOnEnter: {\n//     type: ControlType.Boolean,\n//     title: \"On ReEnter\",\n//     enabledTitle: \"Restart\",\n//     disabledTitle: \"Resume\",\n// },\ncontrols:{type:ControlType.Boolean,title:\"Controls\",enabledTitle:\"Show\",disabledTitle:\"Hide\"},muted:{type:ControlType.Boolean,title:\"Muted\",enabledTitle:\"Yes\",disabledTitle:\"No\"},volume:{type:ControlType.Number,max:100,min:0,unit:\"%\",hidden:({muted})=>muted},onEnd:{type:ControlType.EventHandler},onSeeked:{type:ControlType.EventHandler},onPause:{type:ControlType.EventHandler},onPlay:{type:ControlType.EventHandler},...defaultEvents});\nexport const __FramerMetadata__ = {\"exports\":{\"VideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"Video\":{\"type\":\"reactComponent\",\"name\":\"Video\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"112\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"200\",\"framerSupportedLayoutHeight\":\"any-prefer-fixed\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VideoNew.map", "import{useCallback,useEffect,useRef}from\"react\";import{motionValue,animate,RenderTarget}from\"framer\";import{isMotionValue}from\"https://framerusercontent.com/modules/3mKFSGQqKHV82uOV1eBc/TbXI1XaZFNevVKcgIt7G/isMotionValue.js\";import{useConstant}from\"https://framerusercontent.com/modules/ExNgrA7EJTKUPpH6vIlN/eiOrSJ2Ab5M9jPCvVwUz/useConstant.js\";export function useAutoMotionValue(inputValue,options){// Put options on a local ref\n// Might wanna just memo instead but it works for now\nconst optionsRef=useRef(options);const animation=useRef();const didInitialMount=useRef(false);const isOnCanvas=RenderTarget.current()===RenderTarget.canvas;// in-progress - trying to figure out effect hooks\nconst onChangeDeps=(options===null||options===void 0?void 0:options.onChangeDeps)?options.onChangeDeps:[];// Memoize the onChange handler\nconst onChange=useCallback(options===null||options===void 0?void 0:options.onChange,[...onChangeDeps,]);// Optionally scale the value from props\nconst transformer=useCallback(value=>{var ref;return((ref=optionsRef.current)===null||ref===void 0?void 0:ref.transform)?optionsRef.current.transform(value):value;},[]);// Create new MotionValue from inputValue\nconst value1=useConstant(()=>isMotionValue(inputValue)?inputValue:motionValue(transformer(inputValue)));// Setting value from prop change\nuseEffect(()=>{if(!isMotionValue(inputValue)&&didInitialMount.current){var ref,ref1;const newValue=transformer(inputValue);(ref=animation.current)===null||ref===void 0?void 0:ref.stop();// Call change callback\nif(onChange)onChange(newValue,value1);// Trigger animation to new value\nif(((ref1=optionsRef.current)===null||ref1===void 0?void 0:ref1.animate)&&!isOnCanvas){var ref2;// @ts-ignore\nanimation.current=animate(value1,newValue,(ref2=optionsRef.current)===null||ref2===void 0?void 0:ref2.transition);}else{value1.set(newValue);}}didInitialMount.current=true;},[inputValue,...onChangeDeps]);return value1;}\nexport const __FramerMetadata__ = {\"exports\":{\"useAutoMotionValue\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./useAutoMotionValue.map"],
  "mappings": "wiBAAAA,IAA0M,IAAIC,GAAiB,SAASA,EAAgB,CAACA,EAAgB,WAAc,MAAMA,EAAgB,SAAY,KAAKA,EAAgB,SAAY,OAAOA,EAAgB,iBAAoB,WAAWA,EAAgB,aAAgB,aAAaA,EAAgB,aAAgB,MAAO,GAAGA,IAAkBA,EAAgB,CAAC,EAAE,EAQjgB,SAASC,EAAQC,EAAM,CAAC,GAAK,CAAC,IAAAC,EAAI,KAAAC,EAAK,WAAAC,EAAW,SAAAC,EAAS,GAAM,QAAAC,EAAQ,aAAAC,EAAa,aAAAC,EAAa,YAAAC,EAAY,UAAAC,EAAU,WAAAC,CAAU,EAAEV,EAMtFW,GANkHC,GAAU,CAAC,GAAG,CAACA,EAAS,OAAO,KAAK,IAAIC,EAAW,GACzNC,EAAY,uBAA6BC,EAAWH,EAAS,QAAQE,CAAW,EAAE,GAAGC,GAAY,EAAGF,EAAWD,EAAS,UAAUG,EAAWD,EAAY,MAAM,MAAO,CAC5K,IAAME,EAAY,qBAA2BC,EAAWL,EAAS,QAAQI,CAAW,EAAE,GAAGC,GAAY,EAAGJ,EAAWD,EAAS,UAAUK,EAAWD,EAAY,MAAM,MAAO,CAC1K,IAAME,EAAgB,YAAkBC,EAAeP,EAAS,QAAQM,CAAe,EAAKC,GAAgB,EAAGN,EAAWD,EAAS,UAAUO,EAAeD,EAAgB,MAAM,EAClLL,EAAWD,CAAU,CAAC,CACtB,IAAMQ,EAAWP,EAAW,QAAQ,GAAG,EAAE,OAAGO,GAAY,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AkD,aAAa,iDAAiD,EAAE,IAAI;AAAA;AAAA;AAAA;AAAA,EAAiO,mBAAmB,EAAI,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAE,CAAC,EAAQkB,GAAI,CAAC,kFAAkF,kFAAkF,oLAAoL,6JAA6J,6SAA6S,8FAA8F,+WAA+W,+EAA+E,8EAA8E,gFAAgF,qFAAqF,EASvvOC,EAAgBC,GAAQzC,GAAUuC,GAAI,cAAc,EAASG,GAAQF,EAAgBA,EAAgB,YAAY,wBAAwBA,EAAgB,aAAa,CAAC,OAAO,KAAK,MAAM,IAAI,EAAEG,EAAoBH,EAAgB,CAAC,QAAQ,CAAC,QAAQ,CAAC,YAAY,YAAY,WAAW,EAAE,aAAa,CAAC,UAAU,SAAS,QAAQ,EAAE,MAAM,UAAU,KAAKI,EAAY,IAAI,EAAE,UAAU,CAAC,MAAM,MAAM,KAAKA,EAAY,YAAY,EAAE,UAAiEnF,GAAe,SAAa,CAAC,GAAGA,EAAe,QAAW,wBAAwB,wGAAwG,YAAY,OAAU,OAAO,OAAU,MAAM,MAAM,CAAC,CAAC,EAAEoF,GAASL,EAAgB,CAAC,CAAC,cAAc,GAAK,MAAM,CAAC,CAAC,EAAE,GAAGlF,EAAU,EAAE,CAAC,6BAA6B,EAAI,CAAC",
  "names": ["init_ssg_sandbox_shims", "YoutubeSettings", "Youtube", "props", "url", "play", "shouldMute", "controls", "onClick", "onMouseEnter", "onMouseLeave", "onMouseDown", "onMouseUp", "canvasPlay", "identifier1", "urlMaybe", "identifier", "watchPrefix", "watchIndex", "embedPrefix", "embedIndex", "shortenedPrefix", "shortenedIndex", "queryIndex", "RenderTarget", "p", "u", "autoplay", "loop", "mute", "showsInfo", "showsControls", "src", "addPropertyControls", "ControlType", "defaultEvents", "init_ssg_sandbox_shims", "init_ssg_sandbox_shims", "init_ssg_sandbox_shims", "useAutoMotionValue", "inputValue", "options", "optionsRef", "pe", "animation", "didInitialMount", "isOnCanvas", "RenderTarget", "onChangeDeps", "onChange", "te", "transformer", "value", "ref", "value1", "useConstant", "isMotionValue", "motionValue", "ue", "ref1", "newValue", "ref2", "animate2", "ObjectFitType", "SrcType", "getProps", "props", "width", "height", "topLeft", "topRight", "bottomRight", "bottomLeft", "id", "children", "rest", "Video", "newProps", "p", "VideoMemo", "X", "srcType", "srcFile", "srcUrl", "playing", "canvasPlay", "muted", "playsinline", "controls", "progress", "objectFit", "backgroundColor", "radius", "isMixed", "onSeeked", "onPause", "onPlay", "onEnd", "onClick", "onMouseEnter", "onMouseLeave", "onMouseDown", "onMouseUp", "poster", "restartOnEnter", "posterEnabled", "startTimeProp", "volume", "loop", "isInCurrentNavigationTarget", "useIsInCurrentNavigationTarget", "videoRef", "pe", "isSafari", "useIsBrowserSafari", "requestingPlay", "wasPausedOnLeave", "wasEndedOnLeave", "isOnCanvas", "useIsOnCanvas", "borderRadius", "useRadius", "startTime", "shouldPlay", "autoPlay", "se", "isMuted", "setProgress", "te", "rawProgress", "newProgress", "isAlreadySet", "play", "e", "pause", "ue", "videoProgress", "useAutoMotionValue", "value", "newValue", "useOnChange", "val", "useOnEnter", "useOnExit", "src", "addPropertyControls", "ControlType", "borderRadiusControl", "defaultEvents", "VideoFonts", "getFonts", "Video", "Video1Controls", "getPropertyControls", "enabledGestures", "cycleOrder", "serializationHash", "variantClassNames", "addPropertyOverrides", "overrides", "variants", "nextOverrides", "variant", "transition1", "transformTemplate1", "_", "Transition", "value", "children", "config", "re", "MotionConfigContext", "transition", "contextValue", "se", "p", "Variants", "motion", "x", "humanReadableVariantMap", "getProps", "file", "height", "id", "tap", "width", "props", "_ref", "_humanReadableVariantMap_props_variant", "_ref1", "createLayoutDependency", "Component", "Y", "ref", "activeLocale", "setLocale", "useLocaleInfo", "style", "className", "layoutId", "O9J2Y2Xi8", "r58gin0mL", "restProps", "baseVariant", "classNames", "clearLoadingGesture", "gestureHandlers", "gestureVariant", "isLoading", "setGestureState", "setVariant", "useVariantState", "layoutDependency", "activeVariantCallback", "delay", "useActiveVariantCallback", "onTap1cdbss3", "args", "ref1", "pe", "defaultLayoutId", "ae", "sharedStyleClassNames", "componentViewport", "useComponentViewport", "LayoutGroup", "u", "cx", "ComponentViewportProvider", "SVG", "css", "FramerIpwg67IFh", "withCSS", "Ipwg67IFh_default", "addPropertyControls", "ControlType", "addFonts"]
}
