{"version":3,"file":"HoverVideo.CClPpVKB.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/xyXOB1LPjpcu8weLEfhz/N3zOgCnPE7i5VRUSroT7/HoverVideo.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{useEffect,useRef,useState}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";/**\n * One conductor per shared ancestor **element**, not per name. Framer ships\n * every breakpoint in the DOM and hides the inactive ones, so keying on the\n * element gives each breakpoint's copy of a row its own sequence — and a hidden\n * row never intersects, so it never starts one.\n */const groups=new Map;/**\n * Cards here keep their playhead on mouse-out, so a hover normally resumes\n * mid-clip. A cycle cut also stops mid-clip, but that one is not the visitor's\n * doing — pointing at a card that was cut should still show the whole thing.\n * Only clips stopped that way are rewound on the next hover.\n */const cutShort=new WeakSet;function toNumber(value,fallback){const parsed=Number(value);return Number.isFinite(parsed)?parsed:fallback;}function prefersReducedMotion(){return typeof window.matchMedia===\"function\"&&window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;}function getGroup(container){const existing=groups.get(container);if(existing)return existing;const group={container,members:new Set,observer:null,visible:false,held:0,blocked:false,running:false,generation:0,cancel:null};groups.set(container,group);if(typeof IntersectionObserver===\"function\"){group.observer=new IntersectionObserver(entries=>{for(const entry of entries)group.visible=entry.isIntersecting;syncGroup(group);},{threshold:.25});group.observer.observe(container);}else{group.visible=true;}return group;}function releaseGroup(group,member){group.members.delete(member);if(group.members.size>0){syncGroup(group);return;}stopGroup(group);if(group.observer)group.observer.disconnect();groups.delete(group.container);}/** Stops the cycle where it is and hands every element back to the hover path. */function stopGroup(group){group.generation++;group.running=false;const cancel=group.cancel;group.cancel=null;if(cancel)cancel();for(const member of group.members){member.el.pause();member.el.loop=member.loop;}}function syncGroup(group){const shouldRun=group.visible&&group.held===0&&!group.blocked&&group.members.size>0&&!prefersReducedMotion();if(!shouldRun){stopGroup(group);return;}if(!group.running)void runGroup(group);}/**\n * Pulls the clip after this one down early so its turn does not open on a\n * spinner. Everything stays lazy until the row is actually on screen.\n */function warm(member){const el=member.el;if(el.readyState>=3||!el.paused)return;el.preload=\"auto\";try{el.load();}catch{// load() racing a pending play() rejects that play(); nothing to do.\n}}/** Seconds a clip may sit without advancing before it forfeits its turn. */const STALL_LIMIT=12;function playOnce(group,member){const el=member.el;return new Promise(resolve=>{let settled=false;let watchdog=0;let cutoff=0;let mark=0;let idle=0;const finish=()=>{if(settled)return;settled=true;window.clearInterval(watchdog);window.clearTimeout(cutoff);el.removeEventListener(\"ended\",finish);if(group.cancel===finish)group.cancel=null;resolve();};group.cancel=finish;el.addEventListener(\"ended\",finish);// Two kinds of turn. An uncut one is counted in whole plays, so native\n// looping has to be off or `ended` never fires and the cycle never\n// advances. A cut one is a time box instead: let the clip wrap itself\n// inside the box rather than stopping dead and restarting, and let the\n// cut timer be the thing that ends the turn.\nel.loop=member.cut>0?member.loop:false;cutShort.delete(el);try{el.currentTime=0;}catch{// Seeking before metadata lands throws in some browsers; harmless.\n}const played=el.play();if(played&&typeof played.catch===\"function\"){played.catch(error=>{// Only a policy refusal retires the group — Safari's per-site\n// auto-play setting, iOS Low Power Mode. Spinning through three\n// clips that will each be refused in turn helps nobody.\n//\n// An AbortError is the opposite case: a pause() overtook this\n// play(), which is exactly what happens every time a pointer\n// lands on a card. Blocking on that would kill the cycle for\n// good the first time someone runs the mouse along the row.\nconst name=error&&typeof error===\"object\"&&\"name\"in error?String(error.name):\"\";if(name===\"NotAllowedError\")group.blocked=true;finish();});}// An explicit cut, so a long clip does not hold the row for its whole\n// run. It has to pause on the way out or two cards play at once, the\n// same rule the stall detector below follows.\nif(member.cut>0){cutoff=window.setTimeout(()=>{el.pause();cutShort.add(el);finish();},member.cut);}// A stall detector, not a deadline. A clip that is merely buffering\n// slowly still gets to finish; one that has stopped advancing hands its\n// turn on rather than wedging every card behind it. It has to pause\n// itself on the way out, or the row ends up with two cards running.\nmark=el.currentTime;watchdog=window.setInterval(()=>{if(el.currentTime>mark+.01){mark=el.currentTime;idle=0;return;}idle+=1;if(idle<STALL_LIMIT)return;el.pause();finish();},1e3);});}function hold(group,ms){return new Promise(resolve=>{let settled=false;let timer=0;const finish=()=>{if(settled)return;settled=true;window.clearTimeout(timer);if(group.cancel===finish)group.cancel=null;resolve();};group.cancel=finish;timer=window.setTimeout(finish,Math.max(0,Math.round(ms)));});}async function runGroup(group){const generation=++group.generation;group.running=true;const alive=()=>group.generation===generation&&group.visible&&group.held===0&&!group.blocked;while(alive()){const members=[...group.members].sort((a,b)=>a.order-b.order);if(members.length===0)break;for(let index=0;index<members.length;index++){const member=members[index];const next=members[(index+1)%members.length];if(next!==member)warm(next);const plays=Math.max(1,Math.round(member.plays));for(let play=0;play<plays;play++){if(!alive())return;await playOnce(group,member);}if(!alive())return;await hold(group,member.gap);}}if(group.generation===generation)group.running=false;}/**\n * A video that rests on its first frame and plays only while a pointer is over\n * it. `hoverSelector` can hand the hover to an ancestor — a card, a section —\n * so the whole thing is the target rather than just the video rectangle.\n *\n * Give several of them the same `sequenceSelector` and they take turns instead:\n * once the shared ancestor scrolls into view they play one after another in\n * `sequenceOrder`, each for `sequencePlays` rounds followed by a `sequenceGap`\n * pause, then the cycle repeats. Hovering any card takes the sequence over;\n * leaving it starts the cycle again from the top.\n *\n * Where there is no hover — phones, tablets — every video plays itself on a\n * loop while it is on screen instead, since there is no gesture that would ever\n * start it and nothing to hand control back to.\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 360\n * @framerIntrinsicHeight 300\n */export default function HoverVideo(props){const{video,poster,fit,focusX,focusY,radius,hoverSelector,preload,loop,restartOnLeave,sequenceSelector,sequenceOrder,sequencePlays,sequenceGap,sequenceCut,style}=props;const hostRef=useRef(null);const videoRef=useRef(null);const isStatic=useIsStaticRenderer();const[noHover,setNoHover]=useState(false);useEffect(()=>{if(isStatic)return;if(typeof window===\"undefined\")return;if(typeof window.matchMedia!==\"function\")return;const mq=window.matchMedia(\"(hover: hover)\");const update=()=>setNoHover(!mq.matches);update();mq.addEventListener(\"change\",update);return()=>mq.removeEventListener(\"change\",update);},[isStatic]);useEffect(()=>{if(isStatic)return;const host=hostRef.current;const el=videoRef.current;if(!host||!el)return;// React sets muted as a property, not an attribute, and Safari reads the\n// attribute when deciding whether a gesture-less play() is allowed.\nel.muted=true;const play=()=>{const played=el.play();if(played&&typeof played.catch===\"function\")played.catch(()=>{});};// Touch devices never fire a real hover, so the video runs itself. It\n// stays tied to visibility: iOS caps how many videos decode at once,\n// and three autoplaying cards off screen is how you lose the one on it.\nif(noHover){if(typeof IntersectionObserver!==\"function\"){play();return;}const observer=new IntersectionObserver(([entry])=>{if(entry.isIntersecting)play();else el.pause();},{threshold:.2});observer.observe(host);return()=>observer.disconnect();}const groupSelector=(sequenceSelector??\"\").trim();const container=groupSelector?host.closest(groupSelector):null;let group=null;let member=null;if(container){group=getGroup(container);// Numbers set from the DSL rather than the panel arrive as strings,\n// the same way the enums do.\nmember={el,order:toNumber(sequenceOrder,1),plays:toNumber(sequencePlays,1),gap:toNumber(sequenceGap,0),cut:toNumber(sequenceCut,0),loop};group.members.add(member);syncGroup(group);}const selector=(hoverSelector??\"\").trim();// Falling back to the video itself means a renamed or restructured\n// ancestor shrinks the hover area rather than killing playback.\nconst trigger=(selector?host.closest(selector):null)??host;let hovering=false;const enter=()=>{if(group&&!hovering){hovering=true;group.held++;// Park the cycle first: it may be driving this very element.\nstopGroup(group);}el.loop=loop;// A cycle cut leaves the playhead mid-clip, and this hover should\n// show the clip whole. Seeking and calling play() in the same tick\n// makes the seek abort that play(): the rejection is swallowed and\n// the card sits paused on frame 0. Wait for the seek to land.\nif(cutShort.has(el)&&el.currentTime>0){cutShort.delete(el);const afterSeek=()=>{el.removeEventListener(\"seeked\",afterSeek);if(hovering)play();};el.addEventListener(\"seeked\",afterSeek);try{el.currentTime=0;return;}catch{el.removeEventListener(\"seeked\",afterSeek);}}cutShort.delete(el);play();};const leave=()=>{el.pause();if(restartOnLeave)el.currentTime=0;if(group&&hovering){hovering=false;group.held=Math.max(0,group.held-1);syncGroup(group);}};trigger.addEventListener(\"pointerenter\",enter);trigger.addEventListener(\"pointerleave\",leave);return()=>{trigger.removeEventListener(\"pointerenter\",enter);trigger.removeEventListener(\"pointerleave\",leave);if(group){if(hovering)group.held=Math.max(0,group.held-1);if(member)releaseGroup(group,member);}};},[isStatic,noHover,hoverSelector,restartOnLeave,loop,video,sequenceSelector,sequenceOrder,sequencePlays,sequenceGap,sequenceCut]);const media={position:\"absolute\",inset:0,width:\"100%\",height:\"100%\",// The canvas stores an enum by its option title, so normalise the case.\nobjectFit:String(fit??\"cover\").toLowerCase(),// Cover crops from the centre, which buries the subject whenever it is\n// not in the middle of the source. Focus moves the crop window.\nobjectPosition:`${focusX??50}% ${focusY??50}%`,display:\"block\"};// `#t=0.001` is what makes Safari paint the first frame while paused.\nconst src=video?`${video}#t=0.001`:undefined;// The canvas hands the poster over as a bare url when it is set from the\n// DSL rather than picked in the panel.\nconst posterSrc=typeof poster===\"string\"?poster:poster?.src;return /*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{...style,position:style?.position??\"relative\",overflow:\"hidden\",borderRadius:radius},children:!video?posterSrc?/*#__PURE__*/_jsx(\"img\",{src:posterSrc,alt:typeof poster===\"string\"?\"\":poster?.alt??\"\",style:media}):null:/*#__PURE__*/_jsx(\"video\",{ref:videoRef,src:src,poster:posterSrc,// The canvas holds on the first frame, so it needs the\n// bytes that decode it even when preload is set to none.\npreload:isStatic?\"metadata\":String(preload??\"metadata\").toLowerCase(),// Without hover there is nothing to restart it, so a\n// one-shot clip would freeze on its last frame.\nloop:loop||noHover,muted:true,playsInline:true,disablePictureInPicture:true,\"aria-hidden\":\"true\",tabIndex:-1,style:media})});}addPropertyControls(HoverVideo,{video:{type:ControlType.File,title:\"Video\",allowedFileTypes:[\"mp4\",\"webm\",\"mov\"]},poster:{type:ControlType.ResponsiveImage,title:\"Poster\"},fit:{type:ControlType.Enum,title:\"Fit\",options:[\"cover\",\"contain\"],optionTitles:[\"Cover\",\"Contain\"],defaultValue:\"cover\"},focusX:{type:ControlType.Number,title:\"Focus X\",description:\"Which part of the frame survives the crop. 50 is centre, lower pulls the crop left, higher pulls it right. Only bites when Fit is Cover.\",defaultValue:50,min:0,max:100,step:1,unit:\"%\"},focusY:{type:ControlType.Number,title:\"Focus Y\",defaultValue:50,min:0,max:100,step:1,unit:\"%\"},radius:{type:ControlType.Number,title:\"Radius\",defaultValue:0,min:0,max:200,step:1,unit:\"px\"},hoverSelector:{type:ControlType.String,title:\"Hover Target\",defaultValue:\"\",placeholder:\"CSS selector of an ancestor, blank = the video itself\"},preload:{type:ControlType.Enum,title:\"Preload\",options:[\"none\",\"metadata\",\"auto\"],optionTitles:[\"None\",\"Metadata\",\"Auto\"],defaultValue:\"metadata\"},loop:{type:ControlType.Boolean,title:\"Loop\",defaultValue:true},restartOnLeave:{type:ControlType.Boolean,title:\"Rewind On Exit\",defaultValue:true},sequenceSelector:{type:ControlType.String,title:\"Sequence In\",defaultValue:\"\",placeholder:\"CSS selector of the shared ancestor, blank = off\"},sequenceOrder:{type:ControlType.Number,title:\"Turn\",defaultValue:1,min:1,max:20,step:1,displayStepper:true,hidden:props=>!(props.sequenceSelector??\"\").trim()},sequencePlays:{type:ControlType.Number,title:\"Rounds\",defaultValue:1,min:1,max:10,step:1,displayStepper:true,hidden:props=>!(props.sequenceSelector??\"\").trim()},sequenceGap:{type:ControlType.Number,title:\"Then Wait\",defaultValue:0,min:0,max:1e4,step:100,unit:\"ms\",hidden:props=>!(props.sequenceSelector??\"\").trim()},sequenceCut:{type:ControlType.Number,title:\"Cycle Cut\",description:\"Cut this card's turn short after this many ms while the row is cycling on its own. 0 plays the whole clip. Hover always plays it in full.\",defaultValue:0,min:0,max:3e4,step:100,unit:\"ms\",hidden:props=>!(props.sequenceSelector??\"\").trim()}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"HoverVideo\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"300\",\"framerSupportedLayoutHeight\":\"any\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerIntrinsicWidth\":\"360\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./HoverVideo.map"],"mappings":"8MAU8B,SAAS,EAAS,EAAM,EAAS,CAAC,IAAM,EAAO,OAAO,CAAK,EAAE,OAAO,OAAO,SAAS,CAAM,EAAE,EAAO,CAAS,CAAC,SAAS,GAAsB,CAAC,OAAO,OAAO,EAAO,YAAa,YAAY,EAAO,WAAW,kCAAkC,CAAC,CAAC,OAAQ,CAAC,SAAS,EAAS,EAAU,CAAC,IAAM,EAAS,EAAO,IAAI,CAAS,EAAE,GAAG,EAAS,OAAO,EAAS,IAAM,EAAM,CAAC,YAAU,QAAQ,IAAI,IAAI,SAAS,KAAK,QAAQ,GAAM,KAAK,EAAE,QAAQ,GAAM,QAAQ,GAAM,WAAW,EAAE,OAAO,IAAI,EAA2R,OAAzR,EAAO,IAAI,EAAU,CAAK,EAAK,OAAO,sBAAuB,YAAY,EAAM,SAAS,IAAI,qBAAqB,GAAS,CAAC,IAAI,IAAM,KAAS,EAAQ,EAAM,QAAQ,EAAM,eAAe,EAAU,CAAK,CAAE,EAAE,CAAC,UAAU,GAAG,CAAC,EAAE,EAAM,SAAS,QAAQ,CAAS,GAAQ,EAAM,QAAQ,GAAa,CAAM,CAAC,SAAS,EAAa,EAAM,EAAO,CAA8B,GAA7B,EAAM,QAAQ,OAAO,CAAM,EAAK,EAAM,QAAQ,KAAK,EAAE,CAAC,EAAU,CAAK,EAAE,MAAO,CAAC,EAAU,CAAK,EAAK,EAAM,UAAS,EAAM,SAAS,WAAW,EAAE,EAAO,OAAO,EAAM,SAAS,CAAE,CAAmF,SAAS,EAAU,EAAM,CAAC,EAAM,aAAa,EAAM,QAAQ,GAAM,IAAM,EAAO,EAAM,OAAO,EA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