{"version":3,"file":"Feature_Video.Dj7L5Rwv.mjs","names":["useRef","useState"],"sources":["https:/framerusercontent.com/modules/gqW4IQAbxmWmgtz03nyg/ZAYGMCzNkrsYi7XP2ulT/Feature_Video.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";import{useEffect,useRef,useState}from\"react\";/**\n * FEATURE VIDEO\n *\n * The long-form 4K film that sits under a project description. One per page,\n * started by the viewer, never autoplaying — the opposite of the decorative\n * loops, which stay on the native <video> pipeline in Media_Row.\n *\n * THIS ONE DELIBERATELY USES BUNNY'S OWN PLAYER. Do not \"fix\" it back to a\n * native <video>. Bunny generates only play_1080p.mp4 for the 4K library —\n * 1440p and 2160p exist ONLY inside the HLS stream — so native playback\n * physically cannot reach 4K. Bunny's player gives 4K, a resolution picker,\n * the brand play button, expand and mute, with nothing here to maintain.\n *\n * ⛔ THERE WAS A FACADE HERE — a poster and our own purple button, with the\n * iframe inserted on click. It was removed on 2026-08-28 and SHOULD NOT COME\n * BACK. It looked right in a screenshot and was awful in use: clicking meant\n * unmounting the still and mounting the player, so you saw a flash of the page\n * background, then Bunny's own poster (a DIFFERENT frame again), then finally\n * the film — three images in a row before anything played. Simon: \"super\n * clunky... if all of this is getting messed up from the purple play button,\n * lets remove it completely.\"\n *\n * Nothing inside a cross-origin iframe can be styled or sequenced from here,\n * so the player's own loading behaviour is not ours to smooth over. Letting it\n * render directly is the only version without a visible seam.\n *\n * @framerIntrinsicWidth 1200\n * @framerIntrinsicHeight 675\n *\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight auto\n */export default function Feature_Video(props){const{video=\"\",shape=\"16/9\",fillViewport=false,viewportHeight=90,style}=props;const src=embedFor(video);const still=stillFor(video);// THE PLAYER USED TO ARRIVE LATE. The iframe was left to the browser's own\n// loading=\"lazy\", which on Safari waits until the box is almost on screen,\n// and Bunny's player then needs about a second to boot -- so the viewer\n// scrolled onto an empty box and watched the film pop in. Two things fix\n// that without bringing back a facade:\n//\n// 1. Our own observer starts the player ~2 screens early, so it has\n//    finished booting by the time anyone reaches it. Still nothing is\n//    loaded for a visitor who never scrolls that far.\n// 2. Bunny's OWN thumbnail is painted behind the iframe. It is the same\n//    frame the player shows as its poster, so the box is never empty and\n//    there is no change of image when the player takes over. (The old\n//    facade used a different still, which is what made it seam.)\nconst rootRef=useRef(null);const[near,setNear]=useState(false);// The player itself waits its turn in the download queue (VIDEO-QUEUE\n// at the bottom), behind the loops. Its still appears when near, as before.\nconst[mounted,setMounted]=useState(false);const loadedAtRef=useRef(0);const queueEntryRef=useRef(null);useEffect(()=>{const el=rootRef.current;if(!el||typeof IntersectionObserver===\"undefined\"){setNear(true);return;}const observer=new IntersectionObserver(entries=>{if(entries.some(e=>e.isIntersecting)){setNear(true);observer.disconnect();}},{rootMargin:\"1800px 0px 1800px 0px\"});observer.observe(el);return()=>observer.disconnect();},[]);useEffect(()=>{const el=rootRef.current;const queue=videoQueue();if(!el||!queue){setMounted(true);return;}const entry={el,near:false,rank:1,started:false,startedAt:0,start:()=>setMounted(true),// Bunny's player boots, then buffers its first segments. Give it\n// a few seconds after loading before the next clip starts.\nsettled:()=>{const loaded=loadedAtRef.current;if(loaded)return Date.now()-loaded>4e3;return Date.now()-entry.startedAt>15e3;}};queueEntryRef.current=entry;queue.add(entry);return()=>{queue.remove(entry);queueEntryRef.current=null;};},[]);useEffect(()=>{const entry=queueEntryRef.current;if(!entry||!near)return;entry.near=true;pumpVideoQueue();},[near]);// Opens the connections to Bunny's player and this library's CDN as soon\n// as the page mounts. A handshake is a few hundred milliseconds on a phone\n// and costs no data, so it is done ahead of the observer.\nuseEffect(()=>{if(!src||typeof document===\"undefined\")return;const hosts=[\"https://player.mediadelivery.net\"];const cdn=cdnOriginFor(video);if(cdn)hosts.push(cdn);const added=[];for(const href of hosts){if(document.head.querySelector(`link[rel=\"preconnect\"][href=\"${href}\"]`))continue;const link=document.createElement(\"link\");link.rel=\"preconnect\";link.href=href;document.head.appendChild(link);added.push(link);}return()=>added.forEach(l=>l.remove());},[src,video]);// \"Auto\" means the film's real shape, read from its Bunny master playlist.\n// The manifest carries RESOLUTION=WxH for every rendition, so one small\n// request gives the exact ratio without loading a frame of video. 16:9\n// stands in until it answers, which is right for almost every film here.\nconst[measured,setMeasured]=useState(null);useEffect(()=>{if(shape!==\"auto\")return;const url=manifestFor(video);if(!url)return;let cancelled=false;fetch(url).then(r=>r.ok?r.text():\"\").then(text=>{if(cancelled||!text)return;const m=text.match(/RESOLUTION=(\\d+)x(\\d+)/);const w=m&&Number(m[1]);const h=m&&Number(m[2]);if(w&&h)setMeasured(w/h);}).catch(()=>{});return()=>{cancelled=true;};},[shape,video]);// Fill Viewport caps the WIDTH, not the height — because Framer writes\n// `width: 100%` INLINE on this root and an inline style beats any stylesheet\n// rule, so `width: auto` was silently ignored. The height cap then squashed\n// the box off-ratio (1.797 instead of 1.778 at one size) and Bunny\n// pillarboxed the film inside it, which read as the video \"shrinking\n// inwards\" on play.\n//\n// Capping the width instead keeps the ratio exact at every size. The number\n// is worked out HERE, in JS, and emitted as a single literal: a calc() that\n// multiplies two var()s is silently dropped by the CSS parser, so\n// `calc(var(--vp) * 1svh * var(--ratio))` would never have become a rule.\nconst[rw,rh]=shape.split(\"/\").map(Number);const ratioNum=shape===\"auto\"?measured??16/9:rw&&rh?rw/rh:16/9;const widthCap=(viewportHeight*ratioNum).toFixed(2);return /*#__PURE__*/_jsxs(\"div\",{ref:rootRef,className:\"sfv-root\",\"data-fill\":fillViewport?\"1\":\"0\",style:{// Held until the observer fires so a 150-350 KB still never\n// competes with the hero at page load.\nbackgroundImage:near&&still?`url(${still})`:undefined,// aspect-ratio takes a bare number, so Auto can feed the\n// measured value straight in.\n[\"--ratio\"]:String(ratioNum),[\"--cap\"]:widthCap,...style},children:[/*#__PURE__*/_jsx(\"style\",{children:FEATURE_CSS}),src?mounted&&/*#__PURE__*/_jsx(\"iframe\",{className:\"sfv-frame\",src:src,// Mounted when the download queue reaches it, so it costs\n// nothing for a visitor who never gets near it.\ntitle:\"Project video\",onLoad:()=>{loadedAtRef.current=Date.now();pumpVideoQueue();},allow:\"accelerometer;gyroscope;autoplay;encrypted-media;picture-in-picture;fullscreen;\",allowFullScreen:true}):/*#__PURE__*/_jsx(\"div\",{className:\"sfv-empty\",children:\"Feature video\"})]});}/**\n * Build the player URL from whatever is stored in the CMS.\n *\n * The stored value is a share link — .../play/<libraryId>/<guid> — but the\n * PLAYER needs .../embed/<libraryId>/<guid>. This is the play-vs-embed swap\n * Simon used to do by hand; it happens here instead, so either form can be\n * pasted into the CMS and this still works.\n *\n * Every flag is off on purpose: the viewer starts it, it does not loop, and it\n * is not muted, because a deliberate click means sound is wanted.\n *//**\n * Bunny library id -> that library's own CDN hostname. Needed again for the\n * manifest read behind Shape = Auto. Every library has its own hostname and it\n * cannot be derived from the id, so ADD A LINE HERE FOR EVERY NEW LIBRARY.\n * Same map as Media_Row.\n */const BUNNY_HOSTS={\"377727\":\"vz-43e9758f-3b1.b-cdn.net\",\"650856\":\"vz-4b444386-cbd.b-cdn.net\"};/** Bunny's HLS master playlist — read only to discover the film's shape. */function manifestFor(stored){const clean=String(stored||\"\").split(\"?\")[0].replace(/\\/+$/,\"\");const bits=clean.split(\"/\");const guid=bits[bits.length-1];const library=bits[bits.length-2];const host=BUNNY_HOSTS[library];return guid&&host?`https://${host}/${guid}/playlist.m3u8`:\"\";}function embedFor(stored){const clean=String(stored||\"\").split(\"?\")[0].replace(/\\/+$/,\"\");const bits=clean.split(\"/\");const guid=bits[bits.length-1];const library=bits[bits.length-2];if(!guid||!library||!/^\\d+$/.test(library))return\"\";return`https://player.mediadelivery.net/embed/${library}/${guid}`+`?autoplay=false&loop=false&muted=false&preload=true&responsive=false`;}/** Bunny's own thumbnail -- the same frame its player shows before play. */function stillFor(stored){const origin=cdnOriginFor(stored);const clean=String(stored||\"\").split(\"?\")[0].replace(/\\/+$/,\"\");const guid=clean.split(\"/\").pop();return origin&&guid?`${origin}/${guid}/thumbnail.jpg`:\"\";}function cdnOriginFor(stored){const clean=String(stored||\"\").split(\"?\")[0].replace(/\\/+$/,\"\");const bits=clean.split(\"/\");const host=BUNNY_HOSTS[bits[bits.length-2]];return host?`https://${host}`:\"\";}addPropertyControls(Feature_Video,{video:{type:ControlType.String,title:\"Video\",defaultValue:\"\",description:\"Paste the Bunny link. Play or embed, either works.\"},shape:{type:ControlType.Enum,title:\"Shape\",options:[\"auto\",\"16/9\"],optionTitles:[\"Auto\",\"16:9\"],defaultValue:\"auto\",description:\"Auto reads the film's real shape from Bunny.\"},fillViewport:{type:ControlType.Boolean,title:\"Fill Viewport\",defaultValue:false,description:\"Fits the height. Narrower than full width.\"},viewportHeight:{type:ControlType.Number,title:\"Viewport Height\",defaultValue:90,min:40,max:100,step:1,unit:\"%\",hidden:p=>!p.fillViewport}});const FEATURE_CSS=`\n.sfv-root {\n  container-type: inline-size;\n  position: relative;\n  width: 100%;\n  aspect-ratio: var(--ratio, 16 / 9);\n  /* Matches every other row: 20 on desktop, 10 below. Derived, never a control. */\n  border-radius: 20px;\n  overflow: hidden;\n  background-color: #000;\n  background-size: cover;\n  background-position: center;\n}\n/* Fill Viewport. --cap is (viewport height % x the shape's ratio), worked out\n   in JS, so this is ONE var times a unit — two vars in a calc are silently\n   dropped by the parser. Capping the WIDTH keeps aspect-ratio in charge of the\n   height, so the box stays exactly on ratio and the player never pillarboxes.\n   min() with 100% means it is never wider than the column either.\n\n   The cost, unavoidable: a 16:9 film short enough to fit the screen IS\n   narrower than the column. Full width and fitting the viewport are mutually\n   exclusive, which is why this is a per-row control rather than a rule. */\n.sfv-root[data-fill=\"1\"] {\n  max-width: min(100%, calc(var(--cap, 160) * 1vh));\n  margin-inline: auto;\n}\n@supports (width: 1svh) {\n  .sfv-root[data-fill=\"1\"] {\n    max-width: min(100%, calc(var(--cap, 160) * 1svh));\n  }\n}\n.sfv-frame {\n  position: absolute; inset: 0;\n  width: 100%; height: 100%;\n  border: 0; display: block;\n}\n.sfv-empty {\n  position: absolute; inset: 0;\n  display: grid; place-items: center;\n  background: rgba(255, 255, 255, 0.06);\n  color: rgba(255, 255, 255, 0.5);\n  font-family: \"Plus Jakarta Sans\", sans-serif;\n  font-size: 14px;\n}\n@container (max-width: 999px) { .sfv-root { border-radius: 10px; } }\n`;function videoQueue(){if(typeof window===\"undefined\")return null;const host=window;if(host.__seymourVideoQueue)return host.__seymourVideoQueue;const entries=new Set;let pending=0;let ticker=0;const onScreen=e=>{if(e.hidden?.())return false;const r=e.el.getBoundingClientRect();return r.width>0&&r.bottom>0&&r.top<window.innerHeight;};// Below the screen counts as nearer than the same distance above it,\n// because people scroll down.\nconst distance=e=>{const r=e.el.getBoundingClientRect();const vh=window.innerHeight;if(r.top>=vh)return r.top-vh;if(r.bottom<=0)return vh-r.bottom;return 0;};// Safari counts a <video> that is still downloading as part of the page,\n// so a clip attached before the page finishes keeps the loading bar\n// going until the WHOLE file is in: 40-58 s for the homepage reel on a\n// 6 Mbps line, against 4 s with the videos held back (2026-10-01). So\n// nothing starts until the page has loaded, or 6 s at most if something\n// else is slow. Each clip shows its first-frame still meanwhile.\n// How fast is the line? Measured once per visit on the first clip that\n// loads, in Mbps. iPhones do not report their connection, so this is\n// the only way to know. Three verdicts, by what the line can play:\n//   slow, under 6 Mbps: a 720p loop (about 5 Mbps) cannot keep up, so\n//     a phone takes 480p. Simon, 2026-10-09: 480p only \"when bandwidth\n//     is utter shite\". Laptops and tablets take 720p at most, never less.\n//   ok, 6-10 Mbps: 720p plays but 1080p (about 8 Mbps) would freeze, so\n//     every screen takes 720p at most.\n//   fast, 10 Mbps and up: full quality, and clips further down get\n//     ready ahead of you (see readySlots).\n// Until 2026-10-09 \"slow\" meant under 2.5x real time of whichever file\n// loaded first. On the homepage that is the 1080p hero, so a phone\n// needed about 20 Mbps to keep full quality, and the wait for Bunny's\n// first byte (0.5-2 s) was counted against the line. Now the clock\n// starts when the first data arrives, and seconds of video are turned\n// into Mbps from the file's size, so 720p and 1080p clips are judged\n// alike. The price: on 7 Mbps hotel wifi (Simon's phone, 2026-10-01)\n// the cards further down sit on their stills longer before playing.\nlet probe=null;const measure=now=>{if(lineVerdict()!==null)return;if(!probe){for(const e of entries){const v=e.media?.();if(!e.started||!v||!v.getAttribute(\"src\"))continue;if(v.networkState!==2||wholeClipBuffered(v))continue;const src=v.getAttribute(\"src\")||\"\";const mbps=fileMbps(src);if(!mbps)continue;// Nothing in yet: still waiting for the first byte.\nconst b=v.buffered;if(!b.length)continue;const p={v,src,t0:now,b0:b.end(b.length-1),mbps};probe=p;// Swap in this file's real rate from Bunny's list of sizes\n// (already fetched to pick the file, so it comes from cache).\nmanifestText(src.replace(/play_\\d+p\\.mp4.*$/,\"playlist.m3u8\")).then(list=>{const exact=fileMbps(src,list);if(exact)p.mbps=exact;});return;}return;}const v=probe.v;// Gone, broken, or moved to another file: start again.\nif(v.getAttribute(\"src\")!==probe.src||v.error){probe=null;return;}const whole=wholeClipBuffered(v);// The browser stopped fetching because it already has plenty.\nif(!whole&&v.networkState===1){saveLineVerdict(\"fast\");return;}const secs=(now-probe.t0)/1e3;if(!whole&&secs<2)return;const b=v.buffered;const end=b.length?b.end(b.length-1):probe.b0;// Seconds of video per second, times the file's own Mbps.\nconst mbps=secs>0?(end-probe.b0)/secs*probe.mbps:Infinity;if(whole){// A short clip finished somewhere inside the window, so this is\n// only a lower bound. Enough to call the line fast; too little to\n// call it anything else, so measure the next clip instead.\nif(mbps<10){probe=null;return;}}lineInfo().probe=Math.round(mbps*10)/10;try{window.sessionStorage.setItem(\"seymour-line-mbps\",String(mbps));}catch(e){}saveLineVerdict(mbps<6?\"slow\":mbps<10?\"ok\":\"fast\");};// Before any video starts: Framer's own files (scripts, images) let the\n// browser read their download timings, so the line can be judged from\n// the page load itself. It reads LOW, because the video stills download\n// at the same time from Bunny (3-6 Mbps on an 8 Mbps line, 2026-10-02),\n// so it only ever decides \"slow\", and only when clearly slow: under\n// 2.5 Mbps here, which is at worst a 6-7 Mbps line. (Under 6 until\n// 2026-10-09, which could catch a 15 Mbps line.) Then a phone gets 480p\n// from the very first clip, hero included.\nlet earlyDone=false;const earlyCheck=()=>{if(earlyDone)return;earlyDone=true;if(lineVerdict()!==null)return;try{let bytes=0;const spans=[];for(const e of performance.getEntriesByType(\"resource\")){if(e.name.indexOf(\"framerusercontent.com\")===-1)continue;if(!e.transferSize||!e.responseStart)continue;bytes+=e.transferSize;spans.push([e.responseStart,e.responseEnd]);}if(bytes<3e5)return;// Time spent actually receiving, with overlapping downloads\n// counted once.\nspans.sort((a,b)=>a[0]-b[0]);let busy=0;let from=-1;let to=-1;for(const[s,e]of spans){if(s>to){if(to>from)busy+=to-from;from=s;to=e;}else if(e>to)to=e;}if(to>from)busy+=to-from;if(busy<=0)return;const mbps=bytes*8/(busy/1e3)/1e6;lineInfo().early=Math.round(mbps*10)/10;if(mbps<2.5)saveLineVerdict(\"slow\");}catch(e){}};// A clip on screen that spends 3 s in total frozen mid-play means the\n// line cannot keep up with that file, whatever was measured before (5G\n// dropping to a weak signal, say). Counted in total, not in one go: on a\n// struggling line a clip stutters (half a second playing, a second\n// frozen) and never sits still for 3 s at a time. Simon saw a few clips\n// \"catching\" on 5G, 2026-10-02.\n// Only freezes AFTER a clip has started count. Until 2026-10-09 the wait\n// for a clip's first frames counted too, so an ordinary slow start on\n// the 1080p hero could put a whole visit on 480p.\n// The verdict drops one step below the file that froze: a frozen 1080p\n// file means \"ok\" (720p at most), a frozen 720p file means \"slow\"\n// (phones take 480p; laptops and tablets stay at 720p).\nconst watchStalls=now=>{for(const e of entries){const v=e.media?.();const last=e.checkedAt||now;e.checkedAt=now;if(!e.started||!v||!v.getAttribute(\"src\")||!onScreen(e))continue;if(e.lightened||wholeClipBuffered(v))continue;if(v.paused||v.readyState>=3)continue;// Not started yet: that is loading, not freezing.\nif(v.currentTime<.1)continue;e.stuckMs=(e.stuckMs||0)+Math.min(now-last,1e3);if(e.stuckMs<3e3)continue;e.lightened=true;lineInfo().stalls=(lineInfo().stalls||0)+1;// Every clip from here on gets a lighter file. This one is NOT\n// restarted: tested 2026-10-02, restarting a stuttering hero on\n// 480p cost more than it saved (the cards below lost their head\n// start while it reloaded).\n// A 1080p file or bigger (the library's own rate, not the list).\nconst big=fileMbps(v.getAttribute(\"src\")||\"\")>=8;if(big&&lineVerdict()!==\"slow\")saveLineVerdict(\"ok\");else saveLineVerdict(\"slow\");}};const createdAt=Date.now();const pageLoaded=()=>document.readyState===\"complete\"||Date.now()-createdAt>6e3;const run=()=>{pending=0;if(!pageLoaded()){pending=window.setTimeout(run,250);return;}const now=Date.now();earlyCheck();measure(now);watchStalls(now);showDebug(entries);const begin=e=>{e.started=true;e.startedAt=now;e.start();};let busyOnScreen=false;let offScreenLoading=0;const waitingOnScreen=[];for(const e of entries){const visible=onScreen(e);if(!e.started){if(visible)waitingOnScreen.push(e);continue;}if(!e.settled(visible)){if(visible)busyOnScreen=true;else offScreenLoading++;}}// A clip you have scrolled past keeps downloading even while paused.\n// On Simon's phone (7 Mbps, 2026-10-01) the 49 s homepage reel kept\n// pulling its last 25 MB while the project cards below sat on their\n// stills. So when something on screen needs the line, cancel any\n// half-loaded clip above the screen. It reloads if you scroll back.\nif(waitingOnScreen.length||busyOnScreen){for(const e of entries){if(!e.started||!e.stop)continue;const above=e.el.getBoundingClientRect().bottom<=0;if(!above&&!e.hidden?.())continue;if(e.stop()){e.started=false;e.stopped=true;}}}// On screen goes first, one at a time, top to bottom then left to\n// right. Four clips starting together on /work all froze; one at a\n// time each plays smoothly. A clip that scrolls into view never waits\n// behind one that is only getting ready off screen.\nif(waitingOnScreen.length){if(!busyOnScreen){const order=e=>{const r=e.el.getBoundingClientRect();return Math.round(r.top)*1e5+r.left;};waitingOnScreen.sort((a,b)=>order(a)-order(b));begin(waitingOnScreen[0]);}}else if(!busyOnScreen&&offScreenLoading<readySlots()){// Getting ready off screen, nearest first. One at a time on a\n// slow or not-yet-measured line, so nothing steals from the clip\n// being watched. On a fast line the limit is the wait before each\n// file starts arriving, not the line itself, so 2-3 get ready at\n// once and a phone looks two screens ahead instead of one: the\n// next clips are already playing when you reach them (Simon,\n// 2026-10-02: \"why can't they play as they appear?\").\nconst ahead=lineVerdict()===\"fast\"?2*window.innerHeight:0;const queue=[];for(const e of entries){if(e.started)continue;if(!e.near&&!(ahead>0&&distance(e)<=ahead))continue;// Clips already cancelled once come back last.\nqueue.push({e,score:e.rank*1e7+(e.stopped?5e6:0)+distance(e)});}queue.sort((a,b)=>a.score-b.score);const free=readySlots()-offScreenLoading;for(const item of queue.slice(0,free))begin(item.e);}// Re-check once a second while there is work left, so nothing waits\n// on an event that never comes.\nlet work=busyOnScreen||offScreenLoading>0||waitingOnScreen.length>0;// Keep checking while a clip on screen is still filling up, so the\n// stall count above keeps running.\nfor(const e of entries){const v=e.media?.();if(e.started&&v&&!e.lightened&&!wholeClipBuffered(v)&&onScreen(e))work=true;}if(!work){for(const e of entries)if(!e.started&&e.near)work=true;}if(work&&!ticker)ticker=window.setInterval(pump,1e3);if(!work&&ticker){window.clearInterval(ticker);ticker=0;}};// A timer, not requestAnimationFrame: rAF stops in a background tab, and\n// a page opened in one should still be loading when you switch to it.\nconst pump=()=>{if(!pending)pending=window.setTimeout(run,50);};const queue={add:entry=>{entries.add(entry);pump();},remove:entry=>{entries.delete(entry);pump();},pump};window.addEventListener(\"load\",pump);window.addEventListener(\"scroll\",pump,{passive:true});window.addEventListener(\"resize\",pump,{passive:true});host.__seymourVideoQueue=queue;return queue;}function isLineVerdict(x){return x===\"slow\"||x===\"ok\"||x===\"fast\";}function lineVerdict(){if(typeof window===\"undefined\")return null;const w=window;if(isLineVerdict(w.__seymourLine))return w.__seymourLine;try{const kept=window.sessionStorage.getItem(\"seymour-line-verdict\");if(isLineVerdict(kept)){w.__seymourLine=kept;return kept;}}catch(e){}return null;}function saveLineVerdict(verdict){const w=window;w.__seymourLine=verdict;try{window.sessionStorage.setItem(\"seymour-line-verdict\",verdict);}catch(e){}}// How fast a Bunny file plays, in Mbps. Read from the clip's list of sizes\n// (its AVERAGE-BANDWIDTH line) when that is to hand; otherwise the loops\n// library's settings: 480p at 2,000 kbps, 720p at 5,000, 1080p at 8,000.\n// Real files run from about 70% to 125% of those (measured 2026-10-09),\n// which is why the list wins. 0 when the file name gives no size.\nfunction fileMbps(src,list){const m=src.match(/play_(\\d+)p/);if(!m)return 0;if(list){const line=list.match(new RegExp(\"AVERAGE-BANDWIDTH=(\\\\d+)[^\\\\n]*\\\\r?\\\\n\\\\s*\"+m[1]+\"p/video\\\\.m3u8\"));if(line)return Number(line[1])/1e6;}const h=Number(m[1]);return h>=1080?8:h>=720?5:h>=480?2:1;}// How many clips may get ready off screen at once, from how fast the first\n// clip arrived. 1 unless the line is fast.\nfunction readySlots(){if(lineVerdict()!==\"fast\")return 1;let mbps=lineInfo().probe;if(mbps===undefined){try{mbps=Number(window.sessionStorage.getItem(\"seymour-line-mbps\"))||0;}catch(e){mbps=0;}}// 4x and 6x real time for a 720p loop, the same as before 2026-10-09.\nreturn mbps>=30?3:mbps>=20?2:1;}// Bunny's tiny list of the sizes a clip comes in, fetched once per page and\n// shared by every component. The project cards used to ask for it only when\n// their video was about to load, which put a whole extra request (0.5-0.8 s\n// on a slow line before the first byte) in front of every card's video.\nfunction manifestText(url){const w=window;if(!w.__seymourManifests)w.__seymourManifests=new Map;const cache=w.__seymourManifests;let p=cache.get(url);if(!p){p=fetch(url).then(r=>r.ok?r.text():\"\").catch(()=>\"\").then(text=>{if(!text)cache.delete(url)// a failure is not kept\n;return text;});cache.set(url,p);}return p;}function lineInfo(){const w=window;if(!w.__seymourLineInfo)w.__seymourLineInfo={};return w.__seymourLineInfo;}// Add ?videodebug to any page URL to see, on the device itself, what the\n// line was judged as and which file each clip on screen is playing.\nfunction showDebug(entries){if(typeof location===\"undefined\"||location.search.indexOf(\"videodebug\")===-1)return;let box=document.getElementById(\"seymour-videodebug\");if(!box){box=document.createElement(\"div\");box.id=\"seymour-videodebug\";box.setAttribute(\"style\",\"position:fixed;left:8px;bottom:8px;z-index:99999;padding:6px 8px;border-radius:6px;background:rgba(0,0,0,.75);color:#fff;font:12px/1.4 -apple-system,system-ui,sans-serif;pointer-events:none;max-width:90vw\");document.body.appendChild(box);}const info=lineInfo();const files=[];for(const e of entries){const v=e.media?.();const r=e.el.getBoundingClientRect();if(!v||r.bottom<=0||r.top>=window.innerHeight)continue;const m=(v.getAttribute(\"src\")||\"\").match(/play_(\\d+p)/);files.push(m?m[1]+(v.paused||v.readyState<3?\" waiting\":\" playing\"):\"queued\");}box.textContent=`line: ${lineVerdict()??\"measuring\"}`+(info.early!==undefined?`  page ${info.early} Mbps`:\"\")+(info.probe!==undefined?`  video ${info.probe} Mbps`:\"\")+`  ready ahead ${readySlots()}`+(info.stalls?`  stalls ${info.stalls}`:\"\")+`  |  ${phoneOnSlowLine()?\"480p mode\":lineCapPx()<Infinity?\"720p max\":\"full quality\"}  |  on screen: ${files.join(\", \")||\"none\"}`;}// A phone on a line too slow for its 720p files (under 6 Mbps). Only then\n// does a clip drop to 480p (where Bunny has made one). Laptops and tablets\n// never do: Simon wants full quality there, and 480p on a big screen looks\n// soft.\nfunction phoneOnSlowLine(){if(typeof window===\"undefined\"||window.innerWidth>=810)return false;return lineVerdict()===\"slow\";}// The biggest file to take on this line, as a pixel budget. 1280x1280 means\n// \"720p at most\": it lets in the square and 4:5 720p files and rules out\n// every 1080p one.\n//   Phones: 480p when slow, 720p at most when ok.\n//   Laptops and tablets: 720p at most when slow or ok, never lower. Simon,\n//     2026-10-09: keep big screens sharp, but a 1080p file (about 8 Mbps)\n//     stutters on a line under 10 Mbps, and 480p on a big screen looks\n//     soft. Under 6 Mbps even 720p falls behind, so clips start late there.\n// The first clip of a visit loads before the line is measured, so this\n// only applies from the next clip on (unless the page-load check already\n// found the line clearly slow).\nfunction lineCapPx(){if(typeof window===\"undefined\")return Infinity;const verdict=lineVerdict();if(verdict===\"slow\"&&window.innerWidth<810)return 854*480;if(verdict===\"slow\"||verdict===\"ok\")return 1280*1280;return Infinity;}// The whole clip is in: a loop never needs the network again.\nfunction wholeClipBuffered(v){const d=v.duration;if(!isFinite(d)||d<=0)return false;const b=v.buffered;for(let i=0;i<b.length;i++){if(b.start(i)<=.25&&b.end(i)>=d-.25)return true;}return false;}// Cancel a half-loaded clip's download (see `stop` above).\nfunction stopVideoDownload(v){if(!v||!v.getAttribute(\"src\")||wholeClipBuffered(v))return false;v.pause();v.removeAttribute(\"src\");v.load();return true;}function pumpVideoQueue(){videoQueue()?.pump();}// Has this <video> got enough that the next one can start?\nfunction videoSettled(v,visible,startedAt){const age=Date.now()-startedAt;if(!v)return true;// The rendition is still being picked from the manifest.\nif(!v.getAttribute(\"src\"))return age>5e3;if(v.error)return true;if(wholeClipBuffered(v))return true;const t=v.currentTime;const b=v.buffered;let ahead=0;for(let i=0;i<b.length;i++){if(b.start(i)<=t+.25&&b.end(i)>=t)ahead=b.end(i)-t;}// The browser has stopped fetching for now, so it is not using the line.\n// Also covers iOS Low Power Mode, where autoplay is refused and the clip\n// sits on its still without loading further.\nif(v.networkState===1&&v.readyState>=1)return true;// Being watched: hold the line until it has a few seconds in hand. Was\n// 12 s, but on a 7 Mbps phone the long homepage reel then held the line\n// for half a minute and the cards below never got ready.\nif(visible)return v.readyState>=4&&ahead>=6;// Getting ready off screen: a few seconds in hand is enough, and never\n// let one slow clip stall the whole page.\nreturn v.readyState>=4||age>2e4;}// VIDEO-QUEUE-END\n\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Feature_Video\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"auto\",\"framerIntrinsicWidth\":\"1200\",\"framerIntrinsicHeight\":\"675\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Feature_Video.map"],"mappings":"mMA+BG,SAAwB,EAAc,EAAM,CAAC,GAAK,CAA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