{"version":3,"file":"ScreenVideo.BK2M4BAv.mjs","names":["useRef","useState","_Fragment","__esmMin","init_ssg_sandbox_shims","init_npm_react_18_3_1","l","_e","p","ce","de","window","RenderTarget","init_framer_BWFVvmND","useIsStaticRenderer","ratioOf","m","size","fallback","pickVideo","src","fileUrl","typedUrl","phoneSrc","imageOf","monitor","edge","frame","screenWidth","monitorHeight","aspect","SCREEN_CORNER","ScreenVideo","props","isStatic","onCanvas","rootRef","vidRef","mounted","setMounted","reduced","setReduced","narrow","setNarrow","narrowBelow","shown","setShown","hasDesk","hasPhone","deskClip","pick","phoneClip","mq","on","el","read","w","ro","still","active","withClip","clipKey","v","root","mark","first","phase","plays","seen","timer","gone","hasPoster","set","clear","play","r","start","onPlaying","onEnded","loop","loops","FADE_MS","HOLD_MS","io","e","es","view","IN_VIEW","THRESHOLDS","scene","cut","clipBox","state","clip","media","a11y","label","look","paper","g","cap","maxHeightVh","margin","align","frameColour","MONITOR_SHADOW","radius","hair","PANEL_SHADOW","fill","style","CSS","phoneCss","ratio","phoneRatio","init_ScreenVideo","init_jsx_runtime","s","i"],"sources":["https:/framerusercontent.com/modules/7fzITaRjlKFcx3XEOpoj/xfHtMfA6AIXc4d11U1qJ/ScreenVideo.js"],"sourcesContent":["// ScreenVideo (V1 video slots, Ary 21 Oct 2026, 12:45 am; docs/rollout/plans/video-slots.md).\n// Not a component on the canvas: the shared part the hero loop components (ScreenTour, HeroFrameR2, BoardSpotlight)\n// use when their Screen video controls are set. A muted, inline clip of the software in use takes the place of the\n// animated screen, in the same frame (the monitor, the rounded panel, or edge to edge in a device). With no clip set the\n// components never render this file's output (their server render stays byte for byte what it was).\n//\n// What it promises (checked in tooling/tscheck/src/V1-VIDEO/shot.mjs):\n// - No layout shift: the frame's shape is fixed before anything loads (the component's own screen shape, never the\n//   clip's), and the wide and phone views switch by a container query, as ScreenTour's own views do, so the server\n//   HTML already has the right box at every width. The clip is cropped to fill (object-fit: cover).\n// - Never sound, never before the script decides: no autoplay attribute; muted (attribute and property) and volume 0;\n//   played from an effect only when motion is allowed, in view, and on the view on show.\n// - The poster (the clip's first frame) is in the server HTML, so the first thing a visitor sees is the whole screen\n//   (rule A); the clip fades in over it once it is actually playing.\n// - The component's Loop and Loops (LoopPlay's pattern, WCAG 2.2.2): play, hold the last frame about a second, fade\n//   back to the poster, play again; after Loops plays it rests on its last frame until the frame leaves the screen and\n//   comes back. Loop off: one play. Fully off screen: paused and wound back; back in view (35%): plays again.\n// - Reduced motion, the canvas and the static renderer: still. The poster; with no poster, the clip's first frame (a\n//   paused clip; the static renderer, which can't show one, draws the component's own animation instead).\n// - A view with no clip of its own shows the component's animation: the phone view never shrinks the wide clip\n//   (its product text would read far under 13px: EXEMPLAR-SPEC T2), so a phone clip is set separately.\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{RenderTarget,useIsStaticRenderer}from\"framer\";import{useEffect,useRef,useState}from\"react\";const fileUrl=v=>{const s=typeof v===\"string\"?v:v&&typeof v.src===\"string\"?String(v.src):\"\";return s.trim();};// a typed URL: http(s), protocol-relative or site-relative only (never javascript: or data:)\nconst typedUrl=v=>{const s=typeof v===\"string\"?v.trim():\"\";return/^(https?:)?\\/\\//i.test(s)||/^\\/[^/]/.test(s)?s:\"\";};const imageOf=v=>{if(!v)return null;if(typeof v===\"string\")return v.trim()?{src:v.trim()}:null;return v.src?{src:v.src,srcSet:v.srcSet||undefined}:null;};/** \"2880x1800\" -> 1.6; anything else -> fallback */export function ratioOf(size,fallback){const m=String(size||\"\").match(/(\\d+(?:\\.\\d+)?)\\s*[x:\\/]\\s*(\\d+(?:\\.\\d+)?)/);const r=m?Number(m[1])/Number(m[2]):NaN;return Number.isFinite(r)&&r>0?r:fallback;}/** null = no clip set (or Use screen video off): the component renders exactly as it did before. Not a hook. */export function pickVideo(p){if(p.useScreenVideo===false)return null;const src=fileUrl(p.screenVideo)||typedUrl(p.screenVideoLink);const phoneSrc=fileUrl(p.phoneScreenVideo)||typedUrl(p.phoneScreenLink);if(!src&&!phoneSrc)return null;return{src,phoneSrc,poster:imageOf(p.screenPoster),phonePoster:imageOf(p.phoneScreenPoster)};}// ScreenTour's monitor-only frame for a screen of this aspect (the same maths as its frameGeometry)\nconst SCREEN_CORNER=1.8;function monitor(frame,aspect){const edge=Math.min(3,Math.max(.3,frame));const screenWidth=100-edge*2;const monitorHeight=screenWidth/aspect+edge*2;return{ratio:100/monitorHeight,padding:`${edge}%`,outer:`${(SCREEN_CORNER+edge).toFixed(3)}% / ${((SCREEN_CORNER+edge)*100/monitorHeight).toFixed(3)}%`,inner:`${(SCREEN_CORNER/screenWidth*100).toFixed(3)}% / ${(SCREEN_CORNER/(screenWidth/aspect)*100).toFixed(3)}%`};}const MONITOR_SHADOW=\"0 30px 60px -24px rgba(10,10,12,.30), 0 8px 18px -8px rgba(10,10,12,.14)\";const PANEL_SHADOW=\"0 30px 60px -28px rgba(10,10,12,.3), 0 8px 18px -10px rgba(10,10,12,.12)\";const HOLD_MS=1e3// LoopPlay's hold on the end state\n;const FADE_MS=300// LoopPlay's fade back to the start\n;const IN_VIEW=.35// LoopPlay's \"in view\"\n;const THRESHOLDS=Array.from({length:21},(_,i)=>i/20);const CSS=`.sv{position:relative;width:100%;container-type:inline-size}.sv-view{position:relative;width:100%}.sv-phone{display:none}.sv-fill{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;pointer-events:none;-webkit-user-drag:none;user-select:none}.sv-clip{transition:opacity ${FADE_MS}ms ease}`;const phoneCss=cut=>`@container (max-width:${(cut-.02).toFixed(2)}px){.sv[data-cut=\"${cut}\"] .sv-desk{display:none}.sv[data-cut=\"${cut}\"] .sv-phone{display:block}}`;export function ScreenVideo(props){const{pick,scene,narrowBelow,look,ratio,phoneRatio,loop,loops,frame=.7,frameColour=\"#121212\",radius=14,hair=\"#E0E0E2\",label,maxHeightVh=0,align=\"center\",paper=\"#F8F8F7\",style}=props;const isStatic=useIsStaticRenderer();const onCanvas=RenderTarget.current()===RenderTarget.canvas;const rootRef=useRef(null);const vidRef=useRef(null);const[mounted,setMounted]=useState(false);const[reduced,setReduced]=useState(false);// which view is on show (only to know where to put the clip: the layout itself is CSS)\nconst[narrow,setNarrow]=useState(narrowBelow<0?true:narrowBelow===0?false:null);const[shown,setShown]=useState(false);const hasDesk=narrowBelow>=0;const hasPhone=narrowBelow!==0;const deskClip=hasDesk&&pick.src?{src:pick.src,poster:pick.poster}:null;const phoneClip=hasPhone&&pick.phoneSrc?{src:pick.phoneSrc,poster:pick.phonePoster}:null;useEffect(()=>{setMounted(true);if(typeof window===\"undefined\"||!window.matchMedia)return;const mq=window.matchMedia(\"(prefers-reduced-motion: reduce)\");const on=()=>setReduced(mq.matches);on();mq.addEventListener?mq.addEventListener(\"change\",on):mq.addListener(on);return()=>mq.removeEventListener?mq.removeEventListener(\"change\",on):mq.removeListener(on);},[]);useEffect(()=>{if(narrowBelow<0)return setNarrow(true);if(narrowBelow===0)return setNarrow(false);const el=rootRef.current;if(!el||typeof ResizeObserver===\"undefined\")return setNarrow(el?el.getBoundingClientRect().width<narrowBelow:false);const read=()=>{const w=el.getBoundingClientRect().width;if(w>0)setNarrow(w<narrowBelow);};read();const ro=new ResizeObserver(read);ro.observe(el);return()=>ro.disconnect();},[narrowBelow]);const still=isStatic||onCanvas||reduced;const active=narrow===null?null:narrow?phoneClip:deskClip;// the clip element: on the client, in the view on show; under still motion only when there's no poster (its first frame)\nconst withClip=mounted&&!isStatic&&!!active&&(!still||!active.poster);const clipKey=withClip&&active?`${narrow?\"p\":\"d\"}|${active.src}|${active.poster?active.poster.src:\"\"}|${still?\"still\":\"play\"}`:\"\";// the play loop (LoopPlay's pattern, driven by the clip's own events)\nuseEffect(()=>{setShown(false);const v=vidRef.current;const root=rootRef.current;if(!clipKey||!v||!root)return;v.muted=true;v.defaultMuted=true;v.volume=0;const mark=p=>v.setAttribute(\"data-phase\",p);if(still){// reduced motion or the canvas with no poster: the first frame, paused\nconst first=()=>{try{v.currentTime=.001;}catch(e){}setShown(true);};mark(\"still\");v.pause();if(v.readyState>=2)first();else v.addEventListener(\"loadeddata\",first,{once:true});return()=>v.removeEventListener(\"loadeddata\",first);}let phase=\"wait\";let plays=0;let seen=\"out\";let timer=0;let gone=false;const hasPoster=!!(active&&active.poster);const set=p=>{phase=p;mark(p);};const clear=()=>{if(timer)window.clearTimeout(timer);timer=0;};const play=()=>{v.muted=true;const r=v.play();if(r&&typeof r.catch===\"function\")r.catch(()=>{// refused (a low-power mode, a browser policy): stay on the poster\nif(!gone&&phase===\"play\"){mark(\"blocked\");setShown(false);}});};const start=()=>{clear();plays=1;set(\"play\");try{v.currentTime=0;}catch(e){}play();};const onPlaying=()=>{if(phase===\"play\")setShown(true);};const onEnded=()=>{if(phase!==\"play\")return;set(\"hold\");clear();timer=window.setTimeout(()=>{if(loop&&(loops<=0||plays<loops)){set(\"fade\");if(hasPoster)setShown(false)// fade back to the poster (the first frame)\n;timer=window.setTimeout(()=>{plays+=1;set(\"play\");try{v.currentTime=0;}catch(e){}play();},hasPoster?FADE_MS:0);}else set(\"rest\");},HOLD_MS);};v.addEventListener(\"playing\",onPlaying);v.addEventListener(\"ended\",onEnded);set(\"wait\");const io=typeof IntersectionObserver===\"undefined\"?null:new IntersectionObserver(es=>{const e=es[es.length-1];if(!e)return;if(!e.isIntersecting)seen=\"out\";else{const view=e.rootBounds&&e.rootBounds.height||window.innerHeight||1;const fill=Math.max(e.intersectionRatio,e.intersectionRect.height/view);seen=fill>=IN_VIEW?\"in\":\"some\";}if(seen===\"out\"){// gone: pause and wind back out of sight, with a fresh count for next time\nclear();v.pause();if(phase!==\"wait\"){try{v.currentTime=0;}catch(err){}plays=0;set(\"wait\");}}else if(seen===\"in\"&&phase===\"wait\")start();},{threshold:THRESHOLDS});if(io)io.observe(root);else start();return()=>{gone=true;clear();if(io)io.disconnect();v.removeEventListener(\"playing\",onPlaying);v.removeEventListener(\"ended\",onEnded);v.pause();};},[clipKey,loop,loops]);// a view with no clip shows the animation; no clip for either view this instance can show: the animation alone\nif(!deskClip&&!phoneClip)return /*#__PURE__*/_jsx(_Fragment,{children:scene});const cut=hasDesk&&hasPhone?Math.max(1,Math.round(narrowBelow)):0;const clipBox=(view,clip,r)=>{const on=narrow===(view===\"phone\")&&withClip;const state=!mounted||narrow===null?\"wait\":narrow!==(view===\"phone\")?\"idle\":isStatic?clip.poster?\"poster\":\"scene\":still?clip.poster?\"poster\":\"frame\":\"video\";if(isStatic&&!clip.poster)return /*#__PURE__*/_jsx(_Fragment,{children:scene});const media=/*#__PURE__*/_jsxs(_Fragment,{children:[clip.poster?/*#__PURE__*/_jsx(\"img\",{className:\"sv-fill\",src:clip.poster.src,srcSet:clip.poster.srcSet,alt:\"\",\"aria-hidden\":\"true\",decoding:\"async\",draggable:false}):null,on?/*#__PURE__*/_jsx(\"video\",{ref:vidRef,className:\"sv-fill sv-clip\",src:clip.src,muted:true,playsInline:true,preload:still?\"auto\":\"metadata\",\"aria-hidden\":\"true\",tabIndex:-1,disablePictureInPicture:true,disableRemotePlayback:true,controls:false,style:{opacity:shown?1:0}},clipKey):null]});const a11y={role:\"img\",\"aria-label\":label||\"Ricavi in use\",\"data-screen-video\":state,\"data-view\":view};if(look===\"flush\"){return /*#__PURE__*/_jsx(\"div\",{...a11y,style:{position:\"relative\",width:\"100%\",height:\"100%\",aspectRatio:String(r),overflow:\"hidden\",background:paper},children:media});}if(look===\"monitor\"){const g=monitor(frame,r);const cap=view===\"desk\"&&maxHeightVh>0?`min(100%, ${(maxHeightVh*g.ratio).toFixed(2)}vh)`:\"100%\";const margin=align===\"left\"?\"0 auto 0 0\":align===\"right\"?\"0 0 0 auto\":\"0 auto\";return /*#__PURE__*/_jsx(\"div\",{...a11y,style:{position:\"relative\",boxSizing:\"border-box\",width:cap,margin,padding:g.padding,background:frameColour,borderRadius:g.outer,boxShadow:MONITOR_SHADOW},children:/*#__PURE__*/_jsx(\"div\",{style:{position:\"relative\",width:\"100%\",aspectRatio:String(r),overflow:\"hidden\",borderRadius:g.inner,background:paper},children:media})});}return /*#__PURE__*/_jsx(\"div\",{...a11y,style:{position:\"relative\",width:\"100%\",aspectRatio:String(r),overflow:\"hidden\",borderRadius:Math.max(0,radius),background:paper,boxShadow:`0 0 0 1px ${hair}, ${PANEL_SHADOW}`},children:media});};const fill=look===\"flush\"?{height:\"100%\"}:{};return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"sv\",\"data-cut\":String(cut),style:{...style,position:\"relative\",width:\"100%\",...fill},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:CSS+(cut>0?phoneCss(cut):\"\")}}),hasDesk?/*#__PURE__*/_jsx(\"div\",{className:\"sv-view sv-desk\",style:fill,children:deskClip?clipBox(\"desk\",deskClip,ratio):scene}):null,hasPhone?/*#__PURE__*/_jsx(\"div\",{className:\"sv-view sv-phone\",style:{...fill,...hasDesk?{}:{display:\"block\"}},children:phoneClip?clipBox(\"phone\",phoneClip,phoneRatio):scene}):null]});}\nexport const __FramerMetadata__ = {\"exports\":{\"VideoControls\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ScreenVideo\":{\"type\":\"reactComponent\",\"name\":\"ScreenVideo\",\"slots\":[\"scene\"],\"annotations\":{\"framerContractVersion\":\"1\"}},\"ScreenVideoProps\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VideoPick\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"pickVideo\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"ratioOf\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"VideoImage\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ScreenVideo.map"],"mappings":"A,4MAsBoU,SAAgBe,EAAQ,EAAK,EAAS,CAAC,IAAMC,EAAE,OA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