{"version":3,"file":"IndexDim.Cdhd7svD.mjs","names":["useRef","_Fragment"],"sources":["https:/framerusercontent.com/modules/2GTgQ9qVSUW8kECfNwO2/XcWqIYOPSUvLiZHxdfSL/IndexDim.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useRef}from\"react\";/**\n * Drives the work index on the home page.\n *\n * Each card wrapper holds two things: the project's film first, the card\n * itself second. On hover, the film fades in behind the index and every other\n * card dims. The look is pure CSS; the only JavaScript here defers loading the\n * films until they are actually needed.\n *\n * Four details that are load-bearing, and easy to undo by accident:\n *\n * 1. The dimming is applied to the **card** (`> * > *:last-child`), never to\n *    the wrapper. An `opacity` below 1 creates a stacking context, which would\n *    trap the film — pinned at `z-index: -1` — inside the wrapper and paint it\n *    over the earlier cards. As the opacity animates back to 1 the context is\n *    destroyed and the film drops behind again, which reads as a flicker on\n *    every card above the cursor. Keeping the wrapper at full opacity keeps\n *    the film in one stacking context for good.\n *\n * 2. The film is pinned to the viewport from CSS, not from a layer property.\n *    Framer rejects `position: fixed` as a canvas attribute, but the\n *    stylesheet is applied at runtime and is not subject to that check. On the\n *    canvas the film is sized 1×1 so it does not inflate the cards.\n *\n * 3. The poster is the **layer background**, not the video element: a video\n *    with no source renders nothing at all, poster attribute or not, so a\n *    project with only a Cover Image would have shown an empty dark pane.\n *    The image is the fill of the wrapping frame and the film plays over it.\n *\n * 4. The Video layers are set to **not** autoplay. Twelve autoplaying films\n *    would each be fetched on page load. Instead every film keeps its poster,\n *    `preload` is forced to \"none\", and playback starts on the first hover.\n *\n * Apply to the frame that holds the work cards (the CMS list).\n */const CLASS=\"eliot-index\";const ACTIVE_ATTR=\"data-eliot-active\";const CURSOR_VISIBLE_CLASS=\"eliot-index--cursor-visible\";const CURSOR_DOT_CLASS=\"eliot-index-cursor-dot\";const DIM_OPACITY=.34;const FADE_MS=420;const TITLE_ACTIVE=\"#F2F0EC\";const TITLE_INACTIVE=\"#D7FF3F\";const CSS=`\n/* dim the card, never the wrapper — see note 1 */\n.${CLASS} > * > *:last-child {\n    transition: opacity ${FADE_MS}ms ease;\n}\n.${CLASS}:hover > * > *:last-child {\n    opacity: ${DIM_OPACITY};\n}\n.${CLASS}:hover > *:hover > *:last-child {\n    opacity: 1;\n}\n\n/* active project title weight */\n.${CLASS} > * > *:last-child > *:first-child,\n.${CLASS} > * > *:last-child > *:first-child * {\n    transition: font-weight ${FADE_MS}ms ease, color ${FADE_MS}ms ease;\n}\n.${CLASS} > *:not([${ACTIVE_ATTR}=\"true\"]) > *:last-child > *:first-child,\n.${CLASS} > *:not([${ACTIVE_ATTR}=\"true\"]) > *:last-child > *:first-child * {\n    font-weight: 600 !important;\n    color: ${TITLE_INACTIVE} !important;\n}\n.${CLASS} > *[${ACTIVE_ATTR}=\"true\"] > *:last-child > *:first-child,\n.${CLASS} > *[${ACTIVE_ATTR}=\"true\"] > *:last-child > *:first-child * {\n    font-weight: 700 !important;\n    font-size: 32px !important;\n    color: ${TITLE_ACTIVE} !important;\n}\n\n/* the film: pinned to the viewport, behind every card's text */\n.${CLASS} > * > *:first-child {\n    position: fixed;\n    inset: 0;\n    width: 100vw;\n    height: 100vh;\n    z-index: -1;\n    opacity: 0;\n    pointer-events: none;\n    transition: opacity ${FADE_MS}ms ease;\n    background-size: cover;\n    background-position: center;\n}\n.${CLASS} > * > *:first-child video {\n    position: absolute;\n    inset: 0;\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n}\n.${CLASS} > *[${ACTIVE_ATTR}=\"true\"] > *:first-child {\n    opacity: 1;\n}\n\n/* custom cursor appears only while over selector rows */\n.${CLASS}.${CURSOR_VISIBLE_CLASS},\n.${CLASS}.${CURSOR_VISIBLE_CLASS} * {\n    cursor: none !important;\n}\n.${CURSOR_DOT_CLASS} {\n    position: fixed;\n    left: 0;\n    top: 0;\n    width: 8px;\n    height: 8px;\n    border-radius: 999px;\n    background: #D7FF3F;\n    pointer-events: none;\n    z-index: 2147483647;\n    opacity: 0;\n    transform: translate3d(-50%, -50%, 0) scale(1);\n    transition:\n        opacity 180ms ease,\n        transform 220ms cubic-bezier(0.22, 1, 0.36, 1);\n    will-change: transform, opacity;\n}\n.${CURSOR_DOT_CLASS}[data-visible=\"true\"] {\n    opacity: 1;\n}\n.${CURSOR_DOT_CLASS}[data-hovering=\"true\"] {\n    transform: translate3d(-50%, -50%, 0) scale(1.7);\n}\n\n/* No hover on touch: the films would never be revealed, and a sticky :hover\n   state would dim the whole list after a tap. */\n@media (hover: none), (max-width: 809px) {\n    .${CLASS} > * > *:first-child { display: none; }\n    .${CLASS}:hover > * > *:last-child { opacity: 1; }\n}\n\n@media (prefers-reduced-motion: reduce) {\n    .${CLASS} > * > *:last-child,\n    .${CLASS} > * > *:first-child { transition: none; }\n}\n`;export function withIndexDim(Component){return function WithIndexDim(props){const hostRef=useRef(null);useEffect(()=>{if(typeof window===\"undefined\"||typeof document===\"undefined\"){return;}const html=document.documentElement;const body=document.body;if(!html||!body)return;const previous={htmlOverflow:html.style.overflow,htmlOverscrollBehavior:html.style.overscrollBehavior,bodyOverflow:body.style.overflow,bodyOverscrollBehavior:body.style.overscrollBehavior};html.style.overflow=\"hidden\";html.style.overscrollBehavior=\"none\";body.style.overflow=\"hidden\";body.style.overscrollBehavior=\"none\";const preventScroll=event=>{event.preventDefault();};const isEditableTarget=target=>{if(!(target instanceof HTMLElement))return false;const tag=target.tagName;return target.isContentEditable||tag===\"INPUT\"||tag===\"TEXTAREA\"||tag===\"SELECT\";};const onKeyDown=event=>{if(event.defaultPrevented||isEditableTarget(event.target))return;const blockedKeys=new Set([\" \",\"Spacebar\",\"ArrowUp\",\"ArrowDown\",\"PageUp\",\"PageDown\",\"Home\",\"End\"]);if(blockedKeys.has(event.key)){event.preventDefault();}};window.addEventListener(\"wheel\",preventScroll,{passive:false});window.addEventListener(\"touchmove\",preventScroll,{passive:false});window.addEventListener(\"keydown\",onKeyDown);return()=>{window.removeEventListener(\"wheel\",preventScroll);window.removeEventListener(\"touchmove\",preventScroll);window.removeEventListener(\"keydown\",onKeyDown);html.style.overflow=previous.htmlOverflow;html.style.overscrollBehavior=previous.htmlOverscrollBehavior;body.style.overflow=previous.bodyOverflow;body.style.overscrollBehavior=previous.bodyOverscrollBehavior;};},[]);useEffect(()=>{if(typeof window===\"undefined\")return;const host=hostRef.current;if(!host)return;const cleanups=[];const configuredVideos=new WeakSet;const retryWiredVideos=new WeakSet;let list=null;const resolveList=()=>{if(!host)return null;if(list&&host.contains(list))return list;list=host.querySelector(`.${CLASS}`);return list;};const getWrappers=()=>{const root=resolveList();if(!root)return[];return Array.from(root.children);};const getVideo=wrapper=>wrapper.querySelector(\"video\");const playVideo=video=>{const played=video.play();if(played&&typeof played.catch===\"function\"){played.catch(()=>{});}};const configureVideo=(video,options={})=>{if(!configuredVideos.has(video)){// Nothing is fetched until the first selection/hover.\nvideo.preload=\"none\";video.muted=true;video.defaultMuted=true;video.loop=true;video.playsInline=true;video.setAttribute(\"muted\",\"\");video.setAttribute(\"playsinline\",\"\");video.setAttribute(\"webkit-playsinline\",\"\");configuredVideos.add(video);}if(options.eager&&video.preload===\"none\"){video.preload=\"auto\";}};const retryPlayWhileActive=(wrapper,video)=>{if(retryWiredVideos.has(video))return;retryWiredVideos.add(video);const attempt=()=>{if(wrapper.getAttribute(ACTIVE_ATTR)!==\"true\")return;configureVideo(video,{eager:true});playVideo(video);};for(const evt of[\"loadedmetadata\",\"loadeddata\",\"canplay\"]){video.addEventListener(evt,attempt);cleanups.push(()=>video.removeEventListener(evt,attempt));}const timers=[180,520,1100].map(ms=>window.setTimeout(attempt,ms));cleanups.push(()=>timers.forEach(clearTimeout));};const primeSelectedVideo=wrapper=>{const video=getVideo(wrapper);if(!video)return false;configureVideo(video,{eager:true});playVideo(video);retryPlayWhileActive(wrapper,video);return true;};const watchSelectedVideo=wrapper=>{if(primeSelectedVideo(wrapper))return;const observer=new MutationObserver(()=>{const isStillActive=wrapper.getAttribute(ACTIVE_ATTR)===\"true\";if(!isStillActive){observer.disconnect();return;}if(!primeSelectedVideo(wrapper))return;observer.disconnect();});observer.observe(wrapper,{childList:true,subtree:true});cleanups.push(()=>observer.disconnect());};const setActive=wrapper=>{for(const item of getWrappers()){const isActive=item===wrapper;item.setAttribute(ACTIVE_ATTR,isActive?\"true\":\"false\");if(!isActive){const video=getVideo(item);if(video)video.pause();}}};const cursor=document.createElement(\"div\");cursor.className=CURSOR_DOT_CLASS;cursor.setAttribute(\"data-visible\",\"false\");cursor.setAttribute(\"data-hovering\",\"false\");document.body.appendChild(cursor);cleanups.push(()=>{if(cursor.parentNode)cursor.parentNode.removeChild(cursor);});const onPointerMove=event=>{cursor.style.left=`${event.clientX}px`;cursor.style.top=`${event.clientY}px`;if(event.pointerType===\"touch\")return;const root=resolveList();if(!root){hideCursor();return;}const target=document.elementFromPoint(event.clientX,event.clientY);const wrapper=getWrapperFromTarget(target);if(!wrapper){hideCursor();return;}const card=getCardFromWrapper(wrapper);if(!card||!isPointerOnTitleText(card,event.clientX,event.clientY)){hideCursor();}};window.addEventListener(\"pointermove\",onPointerMove,{passive:true});cleanups.push(()=>window.removeEventListener(\"pointermove\",onPointerMove));const showCursor=()=>{const root=resolveList();if(!root)return;root.classList.add(CURSOR_VISIBLE_CLASS);cursor.setAttribute(\"data-visible\",\"true\");cursor.setAttribute(\"data-hovering\",\"true\");};const hideCursor=()=>{const root=resolveList();if(root)root.classList.remove(CURSOR_VISIBLE_CLASS);cursor.setAttribute(\"data-hovering\",\"false\");cursor.setAttribute(\"data-visible\",\"false\");};const ensureInitialSelection=()=>{const wrappers=getWrappers();if(wrappers.length===0)return false;const currentActive=wrappers.find(item=>item.getAttribute(ACTIVE_ATTR)===\"true\");const first=currentActive??wrappers[0];setActive(first);watchSelectedVideo(first);return true;};if(!ensureInitialSelection()){const observer=new MutationObserver(()=>{if(!ensureInitialSelection())return;observer.disconnect();});observer.observe(host,{childList:true,subtree:true});cleanups.push(()=>observer.disconnect());}for(const wrapper of getWrappers()){const existingVideo=getVideo(wrapper);if(existingVideo)configureVideo(existingVideo);}const getWrapperFromTarget=target=>{const root=resolveList();if(!root||!(target instanceof Node))return null;if(!root.contains(target))return null;let node=target instanceof HTMLElement?target:target.parentElement;while(node&&node.parentElement!==root){node=node.parentElement;}return node;};const getCardFromWrapper=wrapper=>wrapper.lastElementChild instanceof HTMLElement?wrapper.lastElementChild:null;const isPointerOnTitleText=(card,clientX,clientY)=>{const walker=document.createTreeWalker(card,NodeFilter.SHOW_TEXT);let current=walker.nextNode();while(current){const textNode=current;const value=textNode.textContent??\"\";if(value.trim().length>0){const parent=textNode.parentElement;if(parent){const styles=window.getComputedStyle(parent);if(styles.display!==\"none\"&&styles.visibility!==\"hidden\"&&styles.opacity!==\"0\"){const range=document.createRange();range.selectNodeContents(textNode);const rects=Array.from(range.getClientRects());range.detach?.();for(const rect of rects){if(rect.width>0&&rect.height>0&&clientX>=rect.left&&clientX<=rect.right&&clientY>=rect.top&&clientY<=rect.bottom){return true;}}}}}current=walker.nextNode();}return false;};const onPointerMoveOverList=event=>{if(event.pointerType===\"touch\")return;const root=resolveList();if(!root||!(event.target instanceof Node)||!root.contains(event.target)){hideCursor();return;}const wrapper=getWrapperFromTarget(event.target);if(!wrapper){hideCursor();return;}const card=getCardFromWrapper(wrapper);if(!card||!isPointerOnTitleText(card,event.clientX,event.clientY)){hideCursor();return;}showCursor();if(wrapper.getAttribute(ACTIVE_ATTR)!==\"true\"){setActive(wrapper);if(!primeSelectedVideo(wrapper))watchSelectedVideo(wrapper);}};const onPointerLeaveList=event=>{if(event.pointerType===\"touch\")return;hideCursor();};host.addEventListener(\"pointermove\",onPointerMoveOverList,{passive:true});host.addEventListener(\"pointerleave\",onPointerLeaveList);cleanups.push(()=>{host.removeEventListener(\"pointermove\",onPointerMoveOverList);host.removeEventListener(\"pointerleave\",onPointerLeaveList);});cleanups.push(()=>{const root=resolveList();if(root)root.classList.remove(CURSOR_VISIBLE_CLASS);});return()=>{for(const off of cleanups)off();};},[]);const className=[props.className,CLASS].filter(Boolean).join(\" \");return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:CSS}),/*#__PURE__*/_jsx(\"div\",{ref:hostRef,style:{display:\"contents\"},children:/*#__PURE__*/_jsx(Component,{...props,className:className})})]});};}/**\n * Pins a backdrop to the viewport, so the page scrolls over it instead of\n * carrying it along.\n *\n * **Apply to the frame that groups the ambient film and its scrim** (the\n * \"Vertical Stack\" inside the home Screen), not to the Video layer and not to\n * the Screen:\n *\n * - The Video is Framer's external component and may not forward a\n *   `className` to its root element, so tagging it directly is unreliable.\n * - Targeting the Screen's children by position is worse: the moment those\n *   layers are grouped or reordered, the selector pins the wrong thing.\n *\n * Marking the grouping frame itself has neither problem — it is a plain Framer\n * frame, and it is the exact element we want pinned.\n *\n * On desktop the screen is already one viewport tall, so a pinned backdrop and\n * an absolute one overlap exactly and nothing changes. It matters on phone,\n * where the page scrolls and the film should stay put behind the list.\n */const BACKDROP=\"eliot-backdrop\";const BACKDROP_CSS=`\n/* Pinned only where the page actually scrolls — on phone.\n\n   A transform on any ancestor stops position:fixed being measured against the\n   viewport and re-anchors it to that ancestor. Framer page transitions animate\n   a container with a transform, so a fixed backdrop sits wrong for the whole\n   transition and then snaps into place at the end — which reads as a freeze\n   followed by the page popping in.\n\n   Desktop and tablet screens are already exactly one viewport tall, so the\n   default absolute positioning looks identical there and never conflicts. */\n@media (max-width: 809px) {\n    .${BACKDROP} {\n        position: fixed !important;\n        top: 0 !important;\n        left: 0 !important;\n        right: auto !important;\n        bottom: auto !important;\n        width: 100vw !important;\n        /* dvh keeps the film steady while mobile browsers show and hide their\n           address bar; vh alone makes it jump on every direction change. */\n        height: 100vh !important;\n        height: 100dvh !important;\n    }\n}\n.${BACKDROP} video {\n    width: 100%;\n    height: 100%;\n    object-fit: cover;\n}\n\n`;export function withFixedBackdrop(Component){return function WithFixedBackdrop(props){const ref=useRef(null);useEffect(()=>{if(typeof window===\"undefined\")return;const root=ref.current;if(!root)return;const cleanups=[];let started=false;const wire=video=>{// Mobile browsers only allow a video to start on its own when it\n// is muted and explicitly allowed to play inline. Missing any of\n// these leaves the ambient film blank until the visitor taps.\nvideo.muted=true;video.defaultMuted=true;video.loop=true;video.playsInline=true;video.autoplay=true;video.setAttribute(\"muted\",\"\");video.setAttribute(\"autoplay\",\"\");video.setAttribute(\"playsinline\",\"\");video.setAttribute(\"webkit-playsinline\",\"\");video.setAttribute(\"preload\",\"auto\");if(video.preload!==\"auto\")video.preload=\"auto\";video.load();const attempt=()=>{if(started)return;const played=video.play();if(played&&typeof played.then===\"function\"){played.then(()=>{started=true;for(const off of cleanups)off();}).catch(()=>{});}};// The first call often lands before there is any data to play, so\n// try again as the video becomes ready, and once more shortly\n// after in case the element was still settling.\nattempt();for(const evt of[\"loadedmetadata\",\"loadeddata\",\"canplay\"]){video.addEventListener(evt,attempt);cleanups.push(()=>video.removeEventListener(evt,attempt));}const timers=[200,700,1500].map(ms=>window.setTimeout(attempt,ms));cleanups.push(()=>timers.forEach(clearTimeout));// Last resort: if the browser still refuses, the first gesture\n// anywhere on the page unlocks playback.\nconst events=[\"touchstart\",\"pointerdown\",\"click\",\"scroll\"];for(const name of events){window.addEventListener(name,attempt,{passive:true});cleanups.push(()=>window.removeEventListener(name,attempt));}};// Framer may not have rendered the player yet when this first runs;\n// returning early there was why none of the above ever applied.\nconst existing=root.querySelector(\"video\");if(existing){wire(existing);}else{const observer=new MutationObserver(()=>{const video=root.querySelector(\"video\");if(!video)return;observer.disconnect();wire(video);});observer.observe(root,{childList:true,subtree:true});cleanups.push(()=>observer.disconnect());}return()=>{for(const off of cleanups)off();};},[]);const className=[props.className,BACKDROP].filter(Boolean).join(\" \");return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"style\",{children:BACKDROP_CSS}),/*#__PURE__*/_jsx(Component,{...props,ref:ref,className:className})]});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withIndexDim\":{\"type\":\"reactHoc\",\"name\":\"withIndexDim\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withFixedBackdrop\":{\"type\":\"reactHoc\",\"name\":\"withFixedBackdrop\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./IndexDim.map"],"mappings":"qJA8HE,SAAgB,EAAa,EAAU,CAAC,OAAO,SAAsB,EAAM,CAAC,IAAM,EAAQA,EAAO,IAAI,EAAE,MAAc,CAAC,GAAU,IAAS,QAAa,OAAO,SAAW,IAAa,OAAQ,IAAM,EAAK,SAAS,gBAAsB,EAAK,SAAS,KAAK,GAAG,CAAC,GAAM,CAAC,EAAK,OAAO,IAAM,EAAS,CAAC,aAAa,EAAK,MAAM,SAAS,uBAAuB,EAAK,MAAM,mBAAmB,aAAa,EAAK,MAAM,SAAS,uBAAuB,EAAK,MAAM,kBAAkB,EAAE,EAAK,MAAM,SAAS,SAAS,EAAK,MAAM,mBAAmB,OAAO,EAAK,MAAM,SAAS,SAAS,EAAK,MAAM,mBAAmB,OAAO,IAAM,EAAc,GAAO,CAAC,EAAM,eAAe,CAAE,EAAQ,EAAiB,GAAQ,CAAC,GAAG,EAAE,aAAkB,aAAa,MAAO,GAAM,IAAM,EAAI,EAAO,QAAQ,OAAO,EAAO,mBAAmB,IAAM,SAAS,IAAM,YAAY,IAAM,QAAS,EAAQ,EAAU,GAAO,CAAI,EAAM,kBAAkB,EAAiB,EAAM,MAAM,GAA+G,IAAhF,IAAI,CAAC,IAAI,WAAW,UAAU,YAAY,SAAS,WAAW,OAAO,KAAK,CAAgB,CAAA,CAAE,IAAI,EAAM,GAAG,GAAG,EAAM,eAAe,CAAG,EAAiL,OAA/K,EAAO,iBAAiB,QAAQ,EAAc,CAAC,QAAQ,EAAK,CAAC,EAAE,EAAO,iBAAiB,YAAY,EAAc,CAAC,QAAQ,EAAK,CAAC,EAAE,EAAO,iBAAiB,UAAU,CAAS,MAAY,CAAC,EA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