{"version":3,"file":"VimeoEmbed.DVC3xMxt.mjs","names":["useRef","useState","p","useCallback","_Fragment"],"sources":["https:/framerusercontent.com/modules/EK6PQlbM8MTKrF3l67A3/65lc8cb1qatB0f3OVugi/VimeoEmbed.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useRef,useState,useCallback,useEffect}from\"react\";// Lazy cursor uses a lerp loop — interpolates toward the real mouse position\n// each frame. Higher lag = slower follow. 0 = instant.\n// ── Font map (module-level, never recreated) ──────────────────────────────────\nconst fontUrls={\"Bebas Neue\":\"https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap\",\"Playfair Display\":\"https://fonts.googleapis.com/css2?family=Playfair+Display:wght@700&display=swap\",\"DM Mono\":\"https://fonts.googleapis.com/css2?family=DM+Mono:wght@500&display=swap\",Syne:\"https://fonts.googleapis.com/css2?family=Syne:wght@800&display=swap\",\"Space Mono\":\"https://fonts.googleapis.com/css2?family=Space+Mono:wght@700&display=swap\",\"Cormorant Garamond\":\"https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@700&display=swap\"};export default function VideoEmbed({videoSource,vimeoUrl,youtubeUrl,autoplay,loop,muted,showControls,background,borderRadius,aspectRatio,showMuteButton,showOpenButton,buttonSize,// Cursor\ncursorFont,cursorFontSize,cursorShape,cursorLag,cursorSize,cursorOffset}){const iframeRef=useRef(null);const isPlaying=useRef(false);const wrapperRef=useRef(null);const cursorRef=useRef(null);const targetPos=useRef({x:-300,y:-300});const currentPos=useRef({x:-300,y:-300});const rafId=useRef(null);const cursorLagRef=useRef(cursorLag);const vimeoReady=useRef(false);const[cursorVisible,setCursorVisible]=useState(false);const[playing,setPlaying]=useState(false);const[isMuted,setIsMuted]=useState(muted);const[controlsVisible,setControlsVisible]=useState(false);const[isFullscreen,setIsFullscreen]=useState(false);const hideControlsTimer=useRef(null);const touchCursorTimer=useRef(null);const lastTapTime=useRef(0);const isYouTube=videoSource===\"YouTube\";// Keep lag ref in sync so startLoop always reads the latest value without needing it as a dep\ncursorLagRef.current=cursorLag;// ── Non-blocking font injection ────────────────────────────────────────\n// Using a <link> in <head> instead of @import inside a <style> tag avoids\n// a render-blocking delay that could stall the cursor and buttons by ~10s.\nuseEffect(()=>{const url=fontUrls[cursorFont]??fontUrls[\"Bebas Neue\"];const id=`vembed-font-${cursorFont.replace(/\\s+/g,\"-\")}`;if(document.getElementById(id))return;// already injected\nconst link=document.createElement(\"link\");link.id=id;link.rel=\"stylesheet\";link.href=url;document.head.appendChild(link);},[cursorFont]);// ── ID helpers ─────────────────────────────────────────────────────────\nconst getVimeoId=url=>{const patterns=[/vimeo\\.com\\/(\\d+)/,/player\\.vimeo\\.com\\/video\\/(\\d+)/,/^(\\d+)$/];for(const p of patterns){const m=url.match(p);if(m)return m[1];}return null;};const getYouTubeId=url=>{const patterns=[/(?:youtube\\.com\\/watch\\?v=|youtu\\.be\\/|youtube\\.com\\/embed\\/)([A-Za-z0-9_-]{11})/,/^([A-Za-z0-9_-]{11})$/];for(const p of patterns){const m=url.match(p);if(m)return m[1];}return null;};// ── Build src ──────────────────────────────────────────────────────────\nlet src=null;let openUrl=isYouTube?youtubeUrl:vimeoUrl;if(isYouTube){const ytId=getYouTubeId(youtubeUrl);if(ytId){openUrl=`https://www.youtube.com/watch?v=${ytId}`;const params=new URLSearchParams({enablejsapi:\"1\",origin:typeof window!==\"undefined\"?window.location.origin:\"\",// Request highest quality on load\nvq:\"hd2160\",...autoplay?{autoplay:\"1\"}:{},...loop?{loop:\"1\",playlist:ytId}:{},...muted?{mute:\"1\"}:{},controls:showControls?\"1\":\"0\",...background?{modestbranding:\"1\",rel:\"0\",showinfo:\"0\"}:{}});src=`https://www.youtube.com/embed/${ytId}?${params.toString()}`;}}else{const vimeoId=getVimeoId(vimeoUrl);if(vimeoId){openUrl=`https://vimeo.com/${vimeoId}`;const params=new URLSearchParams({...autoplay?{autoplay:\"1\"}:{},...loop?{loop:\"1\"}:{},...muted?{muted:\"1\"}:{},controls:showControls?\"1\":\"0\",background:background?\"1\":\"0\",// Request highest quality on load\nquality:\"2160p\",api:\"1\",dnt:\"1\"});src=`https://player.vimeo.com/video/${vimeoId}?${params.toString()}`;}}// ── postMessage helpers ────────────────────────────────────────────────\nconst sendVimeoCommand=useCallback((method,value)=>{const iframe=iframeRef.current;if(!iframe?.contentWindow||!src)return;iframe.contentWindow.postMessage(JSON.stringify({method,value}),\"https://player.vimeo.com\");},[src]);const sendYouTubeCommand=useCallback((funcName,args)=>{const iframe=iframeRef.current;if(!iframe?.contentWindow||!src)return;iframe.contentWindow.postMessage(JSON.stringify({event:\"command\",func:funcName,args:args??[]}),\"https://www.youtube.com\");},[src]);const registerVimeoListeners=useCallback(()=>{sendVimeoCommand(\"addEventListener\",\"play\");sendVimeoCommand(\"addEventListener\",\"pause\");sendVimeoCommand(\"addEventListener\",\"finish\");sendVimeoCommand(\"setQuality\",\"2160p\");vimeoReady.current=true;},[sendVimeoCommand]);const handleIframeLoad=useCallback(()=>{if(isYouTube){const iframe=iframeRef.current;if(!iframe?.contentWindow)return;iframe.contentWindow.postMessage(JSON.stringify({event:\"listening\"}),\"https://www.youtube.com\");sendYouTubeCommand(\"setPlaybackQuality\",[\"hd2160\"]);}else{// Reset ready flag — the player needs to re-handshake after each load.\n// We wait for Vimeo's own \"ready\" postMessage before sending commands.\n// The fallback timeout handles cases where the iframe was already cached\n// and the ready event fired before our message listener was attached.\nvimeoReady.current=false;const fallback=setTimeout(()=>{if(!vimeoReady.current)registerVimeoListeners();},2e3);iframeRef.current._vimeoFallback=fallback;}},[isYouTube,registerVimeoListeners,sendYouTubeCommand,src]);// ── Message listeners ──────────────────────────────────────────────────\nuseEffect(()=>{const onMessage=e=>{if(!isYouTube&&e.origin.includes(\"vimeo.com\")){try{const data=typeof e.data===\"string\"?JSON.parse(e.data):e.data;if(data.event===\"ready\"){// Vimeo player is ready — cancel fallback and register now\nconst fallback=iframeRef.current?._vimeoFallback;if(fallback)clearTimeout(fallback);registerVimeoListeners();}else if(data.event===\"play\"){isPlaying.current=true;setPlaying(true);}else if(data.event===\"pause\"||data.event===\"finish\"){isPlaying.current=false;setPlaying(false);}}catch{}return;}if(isYouTube&&e.origin.includes(\"youtube.com\")){try{const data=typeof e.data===\"string\"?JSON.parse(e.data):e.data;if(data?.info?.playerState!==undefined){const state=data.info.playerState;if(state===1){isPlaying.current=true;setPlaying(true);// Re-assert highest quality every time playback starts\nsendYouTubeCommand(\"setPlaybackQuality\",[\"hd2160\"]);}else if(state===0||state===2){isPlaying.current=false;setPlaying(false);}}// Sync mute state reported by YouTube\nif(data?.info?.muted!==undefined){setIsMuted(data.info.muted);}}catch{}}};window.addEventListener(\"message\",onMessage);return()=>window.removeEventListener(\"message\",onMessage);},[isYouTube,sendYouTubeCommand,registerVimeoListeners]);// ── YouTube quality enforcement: poll every 800ms while playing ───────\n// YouTube can silently downgrade quality on bandwidth changes.\n// We re-assert hd2160 on a tight interval so any drop is corrected quickly.\nconst qualityPollRef=useRef(null);const startQualityPoll=useCallback(()=>{if(!isYouTube)return;if(qualityPollRef.current)return;// already running\nqualityPollRef.current=setInterval(()=>{sendYouTubeCommand(\"setPlaybackQuality\",[\"hd2160\"]);},800);},[isYouTube,sendYouTubeCommand,registerVimeoListeners]);const stopQualityPoll=useCallback(()=>{if(qualityPollRef.current){clearInterval(qualityPollRef.current);qualityPollRef.current=null;}},[]);// Tie poll to playing state\nuseEffect(()=>{if(playing&&isYouTube){startQualityPoll();}else{stopQualityPoll();}return stopQualityPoll;},[playing,isYouTube,startQualityPoll,stopQualityPoll]);// ── Overlay click: toggle play/pause ───────────────────────────────────\nconst handleOverlayClick=useCallback(()=>{if(isYouTube){sendYouTubeCommand(isPlaying.current?\"pauseVideo\":\"playVideo\");}else{sendVimeoCommand(isPlaying.current?\"pause\":\"play\");}},[isYouTube,sendVimeoCommand,sendYouTubeCommand]);// ── Mute toggle ────────────────────────────────────────────────────────\nconst handleMuteToggle=useCallback(e=>{e.stopPropagation();const nextMuted=!isMuted;setIsMuted(nextMuted);if(isYouTube){sendYouTubeCommand(nextMuted?\"mute\":\"unMute\");}else{sendVimeoCommand(\"setVolume\",nextMuted?0:1);}},[isMuted,isYouTube,sendVimeoCommand,sendYouTubeCommand]);// ── Controls visibility (fade in on hover, linger 1.2s after leave) ───\nconst handleControlsMouseEnter=useCallback(()=>{if(hideControlsTimer.current)clearTimeout(hideControlsTimer.current);setControlsVisible(true);},[]);const handleControlsMouseLeave=useCallback(()=>{hideControlsTimer.current=setTimeout(()=>setControlsVisible(false),1200);},[]);useEffect(()=>()=>{if(hideControlsTimer.current)clearTimeout(hideControlsTimer.current);if(touchCursorTimer.current)clearTimeout(touchCursorTimer.current);},[]);// ── Lazy cursor rAF loop ───────────────────────────────────────────────\nconst startLoop=useCallback(()=>{const clamped=Math.max(0,Math.min(1,cursorLagRef.current));const factor=1-clamped*.96;const tick=()=>{const cur=currentPos.current;const tgt=targetPos.current;cur.x+=(tgt.x-cur.x)*factor;cur.y+=(tgt.y-cur.y)*factor;if(cursorRef.current){cursorRef.current.style.transform=`translate(${cur.x}px, ${cur.y}px)`;}rafId.current=requestAnimationFrame(tick);};rafId.current=requestAnimationFrame(tick);},[])// stable — reads cursorLagRef at call time, no dep needed\n;const stopLoop=useCallback(()=>{if(rafId.current!==null){cancelAnimationFrame(rafId.current);rafId.current=null;}},[]);useEffect(()=>{if(cursorVisible){stopLoop();startLoop();}},[cursorLag]);const handleMouseMove=useCallback(e=>{const rect=wrapperRef.current?.getBoundingClientRect();if(!rect)return;targetPos.current={x:e.clientX-rect.left+cursorOffset,y:e.clientY-rect.top-cursorOffset};},[cursorOffset]);const handleMouseEnter=useCallback(()=>{setCursorVisible(true);startLoop();handleControlsMouseEnter();},[startLoop,handleControlsMouseEnter]);const handleMouseLeave=useCallback(()=>{setCursorVisible(false);stopLoop();handleControlsMouseLeave();},[stopLoop,handleControlsMouseLeave]);useEffect(()=>()=>stopLoop(),[]);// ── Double-click / double-tap: fullscreen ─────────────────────────────\n// ── Fullscreen: native on desktop, fixed-overlay on mobile ──────────────\n// iOS Safari doesn't support requestFullscreen on arbitrary divs — it silently\n// enters then immediately exits. We detect touch capability and use a\n// position:fixed overlay instead, which looks identical and works everywhere.\nconst isTouchDevice=()=>typeof window!==\"undefined\"&&(navigator.maxTouchPoints>0||\"ontouchstart\"in window);const handleDoubleClick=useCallback(()=>{if(isTouchDevice()){// Mobile: toggle fake fullscreen via state (position:fixed overlay)\nsetIsFullscreen(prev=>!prev);}else{// Desktop: use native Fullscreen API\nconst el=wrapperRef.current;if(!el)return;if(document.fullscreenElement){document.exitFullscreen().catch(()=>{});}else{el.requestFullscreen({navigationUI:\"hide\"}).catch(()=>{});}}},[]);// Sync native fullscreen state (desktop only — mobile uses the state toggle above)\nuseEffect(()=>{const onFsChange=()=>{if(!isTouchDevice())setIsFullscreen(!!document.fullscreenElement);};document.addEventListener(\"fullscreenchange\",onFsChange);return()=>document.removeEventListener(\"fullscreenchange\",onFsChange);},[]);// Close fake fullscreen on back button / swipe-back on mobile\nuseEffect(()=>{const onKey=e=>{if(e.key===\"Escape\")setIsFullscreen(false);};document.addEventListener(\"keydown\",onKey);return()=>document.removeEventListener(\"keydown\",onKey);},[]);// ── Touch: flash cursor briefly, detect double-tap for fullscreen ──────\nconst handleTouchStart=useCallback(e=>{// Double-tap detection (< 300ms between taps)\nconst now=Date.now();if(now-lastTapTime.current<300){handleDoubleClick();lastTapTime.current=0;return;}lastTapTime.current=now;// Show cursor at touch position then fade after 1s\nconst rect=wrapperRef.current?.getBoundingClientRect();if(!rect||e.touches.length===0)return;const touch=e.touches[0];targetPos.current={x:touch.clientX-rect.left+cursorOffset,y:touch.clientY-rect.top-cursorOffset};currentPos.current={...targetPos.current};setCursorVisible(true);if(!rafId.current)startLoop();if(touchCursorTimer.current)clearTimeout(touchCursorTimer.current);touchCursorTimer.current=setTimeout(()=>{setCursorVisible(false);stopLoop();},1e3);},[handleDoubleClick,cursorOffset,startLoop,stopLoop]);// ── Aspect ratio ───────────────────────────────────────────────────────\nconst paddingMap={\"16:9\":\"56.25%\",\"4:3\":\"75%\",\"1:1\":\"100%\",\"9:16\":\"177.78%\",\"21:9\":\"42.86%\"};const paddingBottom=paddingMap[aspectRatio]??\"56.25%\";// ── Font import URL ────────────────────────────────────────────────────\n// ── Shape helpers ──────────────────────────────────────────────────────\nconst half=cursorSize/2;const shapeStyle={position:\"absolute\",inset:10,display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:playing?\"rgba(255,255,255,0.1)\":\"rgba(255,255,255,0.92)\",backdropFilter:\"blur(6px)\",border:playing?\"1.5px solid rgba(255,255,255,0.35)\":\"none\",transition:\"background 0.35s ease, border 0.35s ease, border-radius 0.5s ease\",borderRadius:cursorShape===\"Circle\"?\"50%\":cursorShape===\"Squircle\"?\"30%\":cursorShape===\"Square\"?\"6px\":cursorShape===\"Diamond\"?\"0\":\"50%\",transform:cursorShape===\"Diamond\"?\"rotate(45deg)\":\"none\"};// ── SVG ring ──────────────────────────────────────────────────────────\nconst r=half-3;const ringEl=cursorShape===\"Diamond\"?/*#__PURE__*/_jsx(\"svg\",{width:cursorSize,height:cursorSize,viewBox:`0 0 ${cursorSize} ${cursorSize}`,style:{position:\"absolute\",inset:0,animation:\"spin-slow 6s linear infinite\"},children:/*#__PURE__*/_jsx(\"rect\",{x:half-r,y:half-r,width:r*2,height:r*2,rx:\"3\",fill:\"none\",stroke:\"rgba(255,255,255,0.6)\",strokeWidth:\"1.2\",strokeDasharray:\"6 5\",transform:`rotate(45 ${half} ${half})`})}):cursorShape===\"Square\"||cursorShape===\"Squircle\"?/*#__PURE__*/_jsx(\"svg\",{width:cursorSize,height:cursorSize,viewBox:`0 0 ${cursorSize} ${cursorSize}`,style:{position:\"absolute\",inset:0,animation:\"spin-slow 6s linear infinite\"},children:/*#__PURE__*/_jsx(\"rect\",{x:half-r,y:half-r,width:r*2,height:r*2,rx:cursorShape===\"Squircle\"?r*.35:\"4\",fill:\"none\",stroke:\"rgba(255,255,255,0.6)\",strokeWidth:\"1.2\",strokeDasharray:\"6 5\"})}):/*#__PURE__*/_jsx(\"svg\",{width:cursorSize,height:cursorSize,viewBox:`0 0 ${cursorSize} ${cursorSize}`,style:{position:\"absolute\",inset:0,animation:\"spin-slow 6s linear infinite\"},children:/*#__PURE__*/_jsx(\"circle\",{cx:half,cy:half,r:r,fill:\"none\",stroke:\"rgba(255,255,255,0.6)\",strokeWidth:\"1.2\",strokeDasharray:\"6 5\",strokeLinecap:\"round\"})});// ── Shared control button style ────────────────────────────────────────\nconst ctrlBtn={position:\"absolute\",bottom:12,zIndex:15,width:buttonSize,height:buttonSize,borderRadius:\"50%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"rgba(0,0,0,0.45)\",backdropFilter:\"blur(8px)\",border:\"1px solid rgba(255,255,255,0.18)\",cursor:\"pointer\",opacity:controlsVisible?1:0,transform:controlsVisible?\"translateY(0) scale(1)\":\"translateY(6px) scale(0.92)\",transition:\"opacity 0.25s ease, transform 0.25s ease\",pointerEvents:controlsVisible?\"auto\":\"none\",userSelect:\"none\"};// ── Mute / Open icons ──────────────────────────────────────────────────\nconst MuteIcon=()=>/*#__PURE__*/_jsx(\"svg\",{width:\"16\",height:\"16\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"rgba(255,255,255,0.9)\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:isMuted?/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"polygon\",{points:\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"23\",y1:\"9\",x2:\"17\",y2:\"15\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"17\",y1:\"9\",x2:\"23\",y2:\"15\"})]}):/*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"polygon\",{points:\"11 5 6 9 2 9 2 15 6 15 11 19 11 5\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M15.54 8.46a5 5 0 0 1 0 7.07\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M19.07 4.93a10 10 0 0 1 0 14.14\"})]})});const OpenIcon=()=>/*#__PURE__*/_jsxs(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 24 24\",fill:\"none\",stroke:\"rgba(255,255,255,0.9)\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:[/*#__PURE__*/_jsx(\"path\",{d:\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"}),/*#__PURE__*/_jsx(\"polyline\",{points:\"15 3 21 3 21 9\"}),/*#__PURE__*/_jsx(\"line\",{x1:\"10\",y1:\"14\",x2:\"21\",y2:\"3\"})]});// ── Render ─────────────────────────────────────────────────────────────\nif(!src){return /*#__PURE__*/_jsx(\"div\",{style:styles.placeholder,children:/*#__PURE__*/_jsxs(\"span\",{style:styles.placeholderText,children:[\"⚠️ Enter a valid \",isYouTube?\"YouTube\":\"Vimeo\",\" URL in the properties panel.\"]})});}return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:`\n                @keyframes spin-slow {\n                    from { transform: rotate(0deg); }\n                    to   { transform: rotate(360deg); }\n                }\n                @keyframes pulse-ring {\n                    0%, 100% { opacity: 1; }\n                    50%      { opacity: 0.7; }\n                }\n            `}),/*#__PURE__*/_jsxs(\"div\",{ref:wrapperRef,style:isFullscreen?{...styles.wrapperFullscreen,cursor:\"none\"}:{...styles.wrapper,borderRadius,paddingBottom,cursor:\"none\"},onMouseMove:handleMouseMove,onMouseEnter:handleMouseEnter,onMouseLeave:handleMouseLeave,onDoubleClick:handleDoubleClick,onTouchStart:handleTouchStart,children:[/*#__PURE__*/_jsx(\"iframe\",{ref:iframeRef,src:src,style:isFullscreen?{...styles.iframeFullscreen,aspectRatio:aspectRatio.replace(\":\",\"/\")}:styles.iframe,allow:\"autoplay; fullscreen; picture-in-picture\",allowFullScreen:true,frameBorder:\"0\",title:`${isYouTube?\"YouTube\":\"Vimeo\"} video`,onLoad:handleIframeLoad}),/*#__PURE__*/_jsx(\"div\",{onClick:handleOverlayClick,onDoubleClick:handleDoubleClick,style:styles.overlay}),showMuteButton&&/*#__PURE__*/_jsx(\"div\",{onClick:handleMuteToggle,style:{...ctrlBtn,left:12},title:isMuted?\"Unmute\":\"Mute\",children:/*#__PURE__*/_jsx(MuteIcon,{})}),showOpenButton&&/*#__PURE__*/_jsx(\"a\",{href:openUrl,target:\"_blank\",rel:\"noopener noreferrer\",onClick:e=>e.stopPropagation(),style:{...ctrlBtn,right:12,textDecoration:\"none\"},title:`Open on ${isYouTube?\"YouTube\":\"Vimeo\"}`,children:/*#__PURE__*/_jsx(OpenIcon,{})}),/*#__PURE__*/_jsxs(\"div\",{ref:cursorRef,style:{position:\"absolute\",top:0,left:0,pointerEvents:\"none\",zIndex:20,opacity:cursorVisible?1:0,scale:cursorVisible?\"1\":\"0.5\",transition:\"opacity 0.3s cubic-bezier(0.34,1.56,0.64,1), scale 0.3s cubic-bezier(0.34,1.56,0.64,1)\",willChange:\"transform, opacity\",width:cursorSize,height:cursorSize,marginLeft:-half,marginTop:-half},children:[ringEl,/*#__PURE__*/_jsx(\"div\",{style:shapeStyle,children:/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:`'${cursorFont}', sans-serif`,fontSize:cursorFontSize,letterSpacing:\"0.12em\",color:playing?\"rgba(255,255,255,0.9)\":\"#111\",transition:\"color 0.35s ease\",userSelect:\"none\",transform:cursorShape===\"Diamond\"?\"rotate(-45deg)\":\"none\"},children:playing?\"PAUSE\":\"PLAY\"})})]})]})]});}// ── Defaults ──────────────────────────────────────────────────────────────────\nVideoEmbed.defaultProps={videoSource:\"Vimeo\",vimeoUrl:\"https://vimeo.com/1084537\",youtubeUrl:\"https://www.youtube.com/watch?v=dQw4w9WgXcQ\",autoplay:false,loop:false,muted:false,showControls:true,background:false,borderRadius:0,aspectRatio:\"16:9\",showMuteButton:true,showOpenButton:true,buttonSize:36,cursorFont:\"Bebas Neue\",cursorFontSize:13,cursorShape:\"Circle\",cursorLag:.85,cursorSize:84,cursorOffset:24};// ── Property Controls ─────────────────────────────────────────────────────────\naddPropertyControls(VideoEmbed,{videoSource:{type:ControlType.Enum,title:\"Source\",options:[\"Vimeo\",\"YouTube\"],optionTitles:[\"Vimeo\",\"YouTube\"],defaultValue:\"Vimeo\"},vimeoUrl:{type:ControlType.String,title:\"Vimeo URL\",placeholder:\"https://vimeo.com/123456789\",hidden:props=>props.videoSource===\"YouTube\"},youtubeUrl:{type:ControlType.String,title:\"YouTube URL\",placeholder:\"https://www.youtube.com/watch?v=...\",hidden:props=>props.videoSource!==\"YouTube\"},aspectRatio:{type:ControlType.Enum,title:\"Aspect Ratio\",options:[\"16:9\",\"4:3\",\"1:1\",\"9:16\",\"21:9\"],optionTitles:[\"16:9\",\"4:3\",\"1:1\",\"9:16 (Vertical)\",\"21:9 (Ultrawide)\"],defaultValue:\"16:9\"},borderRadius:{type:ControlType.Number,title:\"Border Radius\",min:0,max:64,step:1,defaultValue:0},showControls:{type:ControlType.Boolean,title:\"Show Controls\",defaultValue:true},autoplay:{type:ControlType.Boolean,title:\"Autoplay\",defaultValue:false},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:false},muted:{type:ControlType.Boolean,title:\"Muted\",defaultValue:false},background:{type:ControlType.Boolean,title:\"Background Mode\",defaultValue:false},showMuteButton:{type:ControlType.Boolean,title:\"Mute Button\",defaultValue:true},showOpenButton:{type:ControlType.Boolean,title:\"Open Button\",defaultValue:true},buttonSize:{type:ControlType.Number,title:\"Button Size\",min:24,max:72,step:2,defaultValue:36,displayStepper:true,description:\"Size of the mute and open buttons in px.\"},// ── Cursor section ──\ncursorFont:{type:ControlType.Enum,title:\"Font\",options:[\"Bebas Neue\",\"Playfair Display\",\"DM Mono\",\"Syne\",\"Space Mono\",\"Cormorant Garamond\"],optionTitles:[\"Bebas Neue\",\"Playfair Display\",\"DM Mono\",\"Syne\",\"Space Mono\",\"Cormorant Garamond\"],defaultValue:\"Bebas Neue\"},cursorFontSize:{type:ControlType.Number,title:\"Font Size\",min:8,max:28,step:1,defaultValue:13,displayStepper:true},cursorShape:{type:ControlType.Enum,title:\"Shape\",options:[\"Circle\",\"Squircle\",\"Square\",\"Diamond\"],optionTitles:[\"Circle\",\"Squircle\",\"Square\",\"Diamond\"],defaultValue:\"Circle\"},cursorSize:{type:ControlType.Number,title:\"Size\",min:48,max:160,step:2,defaultValue:84,displayStepper:true},cursorOffset:{type:ControlType.Number,title:\"Offset\",min:0,max:80,step:1,defaultValue:24,displayStepper:true,description:\"How far the cursor sits from the pointer tip.\"},cursorLag:{type:ControlType.Number,title:\"Lag\",min:0,max:.98,step:.01,defaultValue:.85,description:\"0 = instant follow. 0.98 = very slow & dreamy.\"}});// ── Styles ────────────────────────────────────────────────────────────────────\nconst styles={wrapper:{position:\"relative\",width:\"100%\",height:0,overflow:\"hidden\"},wrapperFullscreen:{// Covers the full viewport for both native fullscreen (desktop) and\n// fake fullscreen (mobile). position:fixed escapes all parent constraints.\nposition:\"fixed\",inset:0,zIndex:9999,width:\"100%\",height:\"100%\",display:\"flex\",alignItems:\"center\",justifyContent:\"center\",background:\"#000\",overflow:\"hidden\"},iframe:{position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",border:\"none\",display:\"block\"},iframeFullscreen:{// Letterbox: constrain by height so the video never crops on ultrawides.\n// max-width with auto height keeps the correct aspect ratio.\nposition:\"relative\",width:\"auto\",height:\"100%\",maxWidth:\"100%\",aspectRatio:\"auto\",border:\"none\",display:\"block\"},overlay:{position:\"absolute\",inset:0,zIndex:10,background:\"transparent\",cursor:\"none\"},placeholder:{display:\"flex\",alignItems:\"center\",justifyContent:\"center\",width:\"100%\",aspectRatio:\"16/9\",background:\"#111\",borderRadius:8},placeholderText:{color:\"#888\",fontFamily:\"monospace\",fontSize:13,padding:\"0 16px\",textAlign:\"center\"}};\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VideoEmbed\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VimeoEmbed.map"],"mappings":"8NAGsiB,SAAwB,EAAW,CAAC,cAAY,WAAS,aAAW,WAAS,OAAK,QAAM,eAAa,aAAW,gBAAa,eAAY,kBAAe,kBAAe,cAC7sB,aAAW,kBAAe,cAAY,YAAU,aAAW,gBAAc,CAAC,IAAM,EAAUA,EAAO,KAAK,CAAO,EAAUA,EAAO,GAAM,CAAO,EAAWA,EAAO,KAAK,CAAO,EAAUA,EAAO,KAAK,CAAO,EAAUA,EAAO,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAO,GAAWA,EAAO,CAAC,EAAE,KAAK,EAAE,KAAK,CAAC,CAAO,EAAMA,EAAO,KAAK,CAAO,GAAaA,EAAO,EAAU,CAAO,EAAWA,EAAO,GAAM,CAAM,CAAC,EAAc,GAAkBC,EAAS,GAAM,CAAM,CAAC,EAAQ,GAAYA,EAAS,GAAM,CAAM,CAAC,EAAQ,IAAYA,EAAS,EAAM,CAAM,CAAC,EAAgB,IAAoBA,EAAS,GAAM,CAAM,CAAC,GAAa,GAAiBA,EAAS,GAAM,CAAO,EAAkBD,EAAO,KAAK,CAAO,EAAiBA,EAAO,KAAK,CAAO,EAAYA,EAAO,EAAE,CAAO,EAAU,IAAc,UACzuB,GAAa,QAAQ,EAGrB,MAAc,CAAC,IAAM,EAAI,EAAS,IAAa,EAAS,cAAoB,EAAG,eAAe,EAAW,QAAQ,OAAO,IAAI,GAAG,GAAG,SAAS,eAAe,EAAG,CAAC,OAC9J,IAAM,EAAK,SAAS,cAAc,OAAO,CAAC,EAAK,GAAG,EAAG,EAAK,IAAI,aAAa,EAAK,KAAK,EAAI,SAAS,KAAK,YAAY,EAAK,EAAG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