{"version":3,"file":"VerdigrisSideNav.oUNVos0M.mjs","names":["useState","useRef","useCallback"],"sources":["https:/framerusercontent.com/modules/Uuprmi9sMvNdMTQAovhV/nfTdIa1Re8M9vLdFQv6e/VerdigrisSideNav.js"],"sourcesContent":["import{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,useCallback}from\"react\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";// ---- dot spring -------------------------------------------------------------\nconst STIFF=320;const DAMP=22;const MAX_V=1400// px/s where stretch + blur max out\n;const MAX_STRETCH=.9;const MAX_BLUR=3;// Guard every numeric style against an undefined prop, so a missing value can\n// never collapse the layout (e.g. gap: \"undefinedpx\").\nfunction n(v,fallback){return typeof v===\"number\"&&!Number.isNaN(v)?v:fallback;}// A ComponentInstance control is undefined when empty and an array (often\n// with a single child) when the user drops a layer in.\nfunction hasSlot(node){if(node===null||node===undefined||node===false)return false;if(Array.isArray(node))return node.length>0;return true;}// ---- target resolution ------------------------------------------------------\n// \"The Problem\" -> \"theproblem\" so layer names match regardless of\n// casing, spaces, punctuation or emoji.\nfunction norm(s){return(s||\"\").toLowerCase().replace(/[^a-z0-9]/g,\"\");}// Find a single element by DOM id first, then by Framer layer name.\nfunction findByToken(token,ownEl){const raw=(token||\"\").trim();if(!raw)return null;// 1) exact DOM id\nconst byId=document.getElementById(raw);if(byId)return byId;// 2) exact layer name\nconst exact=document.querySelector(`[data-framer-name=\"${raw.replace(/\"/g,'\\\\\"')}\"]`);if(exact&&(!ownEl||!ownEl.contains(exact)))return exact;// 3) normalized layer name\nconst want=norm(raw);if(!want)return null;const all=Array.from(document.querySelectorAll(\"[data-framer-name]\"));for(const el of all){if(ownEl&&(ownEl.contains(el)||el.contains(ownEl)))continue;if(norm(el.getAttribute(\"data-framer-name\")||\"\")===want)return el;}return null;}// Deepest element that contains every match.\nfunction commonAncestor(els){const real=els.filter(Boolean);if(real.length===0)return null;let node=real[0];while(node){const c=node;if(real.every(el=>c.contains(el)))return c;node=node.parentElement;}return null;}// Climb from a matched element up to the direct child of the shared\n// container, so a heading resolves to the whole section that owns it.\nfunction liftToSectionEl(el,container){if(!el||!container||el===container)return el;let node=el;while(node.parentElement&&node.parentElement!==container){node=node.parentElement;if(node===document.body)return el;}return node.parentElement===container?node:el;}// Fallback: largest group of sibling section frames on the page.\nfunction detectGroup(minH,ignore,ownEl){const all=Array.from(document.querySelectorAll(\"[data-framer-name]\")).filter(el=>el.offsetHeight>=minH&&(!ownEl||!ownEl.contains(el)&&!el.contains(ownEl)));const groups=new Map;for(const el of all){const p=el.parentElement;if(!p)continue;const arr=groups.get(p)||[];arr.push(el);groups.set(p,arr);}let best=[];groups.forEach(arr=>{if(arr.length>best.length)best=arr;});return best.filter(el=>{const name=(el.getAttribute(\"data-framer-name\")||\"\").toLowerCase();return!ignore.has(name);});}/**\n * @framerSupportedLayoutWidth fixed\n * @framerSupportedLayoutHeight any\n * @framerIntrinsicWidth 200\n */export default function VerdigrisSideNav(props){const{items,labels,liftToSection,autoDetect,ignoreNames,minSectionHeight,topOffset,scrollOffset,font,fontSize,fontWeight,letterSpacing,lineHeight,listGap,inactiveColor,hoverColor,activeColor,idleOpacity,siblingDim,fadeDuration,showUnderline,dot,dotDeform,dotOffsetY,underlineColor,underlineWidth,underlineHeight}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const customDot=hasSlot(dot);// resolved numbers — never undefined\nconst gapPx=n(listGap,16);const sizePx=n(fontSize,14);const weight=n(fontWeight,300);const trackEm=n(letterSpacing,-.02);const leadingPx=n(lineHeight,20);const idleOp=n(idleOpacity,.35);const dimOp=n(siblingDim,.5);const fadeS=n(fadeDuration,.3);const topOff=n(topOffset,200);const scrollOff=n(scrollOffset,120);const nudgeY=n(dotOffsetY,0);const dotSize=n(underlineWidth,6)>0?n(underlineWidth,6):6;const dotGap=n(underlineHeight,12);const[active,setActive]=useState(0);const[hovered,setHovered]=useState(-1);const[navHover,setNavHover]=useState(false);const navRef=useRef(null);const itemRefs=useRef([]);const dotRef=useRef(null);const lockUntil=useRef(0);const elsCache=useRef(null);const spring=useRef({py:0,vy:0,ty:0,raf:0,running:false,last:0,started:false});// \"Labels\" (comma separated) overrides the Sections array when set.\nconst rows=labels&&labels.trim()?labels.split(\",\").map(l=>l.trim()).filter(Boolean).map(l=>({label:l,sectionId:\"\"})):items||[];const rowKey=rows.map(r=>`${r.label}|${r.sectionId}`).join(\"~\");// Resolve every row to a real element on the page.\n// Each target can be a DOM id, or the name of ANY layer — a stack,\n// a component instance, a heading, anything named in the layer panel.\nconst resolveEls=useCallback(()=>{const own=navRef.current;const list=rowKey?rowKey.split(\"~\"):[];const targets=list.map(r=>r.split(\"|\")[1]||\"\");const direct=targets.map(t=>findByToken(t,own));if(direct.some(Boolean)){if(!liftToSection)return direct;const container=commonAncestor(direct.filter(Boolean));return direct.map(el=>liftToSectionEl(el,container));}if(!autoDetect)return direct;const ignore=new Set((ignoreNames||\"\").split(\",\").map(s=>s.trim().toLowerCase()).filter(Boolean));const group=detectGroup(n(minSectionHeight,300),ignore,own);return targets.map((_,i)=>group[i]??null);},[rowKey,liftToSection,autoDetect,ignoreNames,minSectionHeight]);// Cached lookup. The DOM query is expensive, so it only re-runs on mount,\n// on resize, on the late-mount timers, or when a cached node has detached.\nconst getEls=useCallback(force=>{const cached=elsCache.current;const stale=!cached||cached.some(el=>el&&!el.isConnected);if(force||stale)elsCache.current=resolveEls();return elsCache.current||[];},[resolveEls]);// drop the cache whenever the section list or resolution rules change\nuseEffect(()=>{elsCache.current=null;},[resolveEls]);// ---- scroll spy ---------------------------------------------------------\nuseEffect(()=>{if(isCanvas)return;const update=force=>{if(performance.now()<lockUntil.current)return;const els=getEls(force);// bottom of the page always lights up the last resolvable item\nconst atBottom=window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2;if(atBottom){for(let i=els.length-1;i>=0;i--){if(els[i]){setActive(i);return;}}}let current=-1;els.forEach((el,i)=>{if(!el)return;if(el.getBoundingClientRect().top-topOff<=1)current=i;});setActive(current<0?0:current);};const onScroll=()=>update(false);const onResize=()=>update(true);update(true);window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onResize);// sections and images can mount / reflow late on first paint\nconst timers=[200,600,1200,2500].map(ms=>setTimeout(()=>update(true),ms));return()=>{window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);timers.forEach(clearTimeout);};},[isCanvas,getEls,topOff]);// ---- dot springs to the active item, deforming with velocity ------------\nuseEffect(()=>{const nav=navRef.current;const dotEl=dotRef.current;const el=itemRefs.current[active];if(!nav||!dotEl||!el)return;const base=\"translate(-100%, -50%)\";const deform=vy=>{if(!dotDeform){dotEl.style.transform=base;return;}const speed=Math.min(MAX_V,Math.abs(vy));const k=speed/MAX_V*MAX_STRETCH;const sy=1+k;const sx=1-k*.5;dotEl.style.transform=`${base} scaleX(${sx}) scaleY(${sy})`;dotEl.style.filter=k>.001?`blur(${speed/MAX_V*MAX_BLUR}px)`:\"none\";};const rest=()=>{dotEl.style.transform=base;dotEl.style.filter=\"none\";};const ty=el.offsetTop+el.offsetHeight/2+nudgeY;const s=spring.current;s.ty=ty;if(!s.started){s.py=ty;s.vy=0;dotEl.style.top=`${ty}px`;dotEl.style.opacity=\"1\";rest();s.started=true;return;}dotEl.style.opacity=\"1\";const tick=t=>{const dt=Math.min(.032,(t-s.last)/1e3||.016);s.last=t;const a=-STIFF*(s.py-s.ty)-DAMP*s.vy;s.vy+=a*dt;s.py+=s.vy*dt;dotEl.style.top=`${s.py}px`;deform(s.vy);if(Math.abs(s.py-s.ty)<.3&&Math.abs(s.vy)<.3){s.py=s.ty;dotEl.style.top=`${s.ty}px`;rest();s.running=false;return;}s.raf=requestAnimationFrame(tick);};if(!s.running){s.running=true;s.last=performance.now();s.raf=requestAnimationFrame(tick);}},[active,rows.length,dotDeform,nudgeY,customDot,gapPx,leadingPx]);useEffect(()=>()=>cancelAnimationFrame(spring.current.raf),[]);// ---- smooth jump --------------------------------------------------------\nconst handleClick=i=>{const el=getEls(true)[i];if(!el)return;const y=el.getBoundingClientRect().top+window.scrollY-scrollOff;// hold the highlight on the clicked item while the smooth scroll runs\nsetActive(i);lockUntil.current=performance.now()+900;window.scrollTo({top:Math.max(0,y),behavior:\"smooth\"});};// ---- opacity model ------------------------------------------------------\n// the nav idles dim and wakes on hover; hovering one item dims its siblings\nconst navOpacity=isCanvas?1:navHover?1:idleOp;const itemOpacity=i=>{if(isCanvas)return 1;if(hovered===-1)return 1;return i===hovered?1:dimOp;};const ease=`${fadeS}s cubic-bezier(0.4, 0, 0.2, 1)`;const containerStyle={position:\"relative\",display:\"flex\",flexDirection:\"column\",gap:`${gapPx}px`,rowGap:`${gapPx}px`,fontFamily:font||\"Work Sans, sans-serif\",opacity:navOpacity,transition:`opacity ${ease}`,willChange:\"opacity\"};// The indicator wrapper carries the spring. Its contents are either the\n// built-in circle or whatever layer / component was dropped into the slot.\nconst dotShared={position:\"absolute\",left:`-${dotGap}px`,top:\"0px\",transform:\"translate(-100%, -50%)\",transformOrigin:\"center center\",willChange:\"transform, filter, top\",opacity:isCanvas?1:0,pointerEvents:\"none\"};const dotWrapperStyle=customDot?{...dotShared,width:\"max-content\",height:\"max-content\",display:\"flex\",alignItems:\"center\",justifyContent:\"flex-end\"}:{...dotShared,width:`${dotSize}px`,height:`${dotSize}px`,borderRadius:\"50%\",backgroundColor:underlineColor||\"rgb(15, 15, 16)\"};return /*#__PURE__*/_jsxs(\"nav\",{ref:navRef,style:containerStyle,onMouseEnter:()=>setNavHover(true),onMouseLeave:()=>{setNavHover(false);setHovered(-1);},children:[showUnderline&&/*#__PURE__*/_jsx(\"div\",{ref:dotRef,style:dotWrapperStyle,children:customDot?dot:null}),rows.map((item,i)=>{const isActive=i===active;const isHovered=i===hovered;const color=isActive?activeColor||\"rgb(15, 15, 16)\":isHovered?hoverColor||\"rgb(15, 15, 16)\":inactiveColor||\"rgb(207, 209, 213)\";return /*#__PURE__*/_jsx(\"div\",{ref:el=>{itemRefs.current[i]=el;},onClick:()=>handleClick(i),onMouseEnter:()=>setHovered(i),style:{cursor:\"pointer\",userSelect:\"none\",opacity:itemOpacity(i),transition:`opacity ${ease}`,willChange:\"opacity\"},children:/*#__PURE__*/_jsx(\"span\",{style:{fontSize:`${sizePx}px`,fontWeight:weight,letterSpacing:`${trackEm}em`,lineHeight:`${leadingPx}px`,color:color,transition:`color ${ease}`},children:item.label})},`${item.label}-${i}`);})]});}addPropertyControls(VerdigrisSideNav,{items:{type:ControlType.Array,title:\"Sections\",control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Section\"},sectionId:{type:ControlType.String,title:\"Target\",defaultValue:\"\",description:\"Name of ANY layer on the page — a stack, a component instance, a heading — or a DOM id. Matching ignores case and spaces.\"}}},defaultValue:[{label:\"CONTEXT\",sectionId:\"Context\"},{label:\"PROBLEM\",sectionId:\"The Problem\"},{label:\"RESEARCH\",sectionId:\"Research\"},{label:\"SOLUTION\",sectionId:\"Solution\"},{label:\"VALIDATION\",sectionId:\"Usability testing and impact\"},{label:\"REFLECTION\",sectionId:\"Reflection\"}]},liftToSection:{type:ControlType.Boolean,title:\"Lift to section\",defaultValue:true,description:\"Point at a heading and scroll to the whole section that contains it. Turn off to scroll to the exact layer.\"},labels:{type:ControlType.String,title:\"Labels\",defaultValue:\"\",description:\"Optional shortcut. Comma-separated labels that override Sections and map to page sections by order.\"},autoDetect:{type:ControlType.Boolean,title:\"Auto-detect\",defaultValue:true,description:\"Fallback: if no Target matches, map items by order\"},ignoreNames:{type:ControlType.String,title:\"Ignore layers\",defaultValue:\"Hero, Footer, Navigation, Content, Stack\",hidden:props=>!props.autoDetect,description:\"Layer names to skip when auto-detecting, comma separated\"},minSectionHeight:{type:ControlType.Number,title:\"Min height\",defaultValue:300,min:50,max:1500,step:10,hidden:props=>!props.autoDetect,description:\"Layers shorter than this aren't treated as sections\"},topOffset:{type:ControlType.Number,title:\"Top offset\",defaultValue:200,min:0,max:900,step:1,description:\"Distance from top before a section is considered active\"},scrollOffset:{type:ControlType.Number,title:\"Scroll offset\",defaultValue:120,min:0,max:600,step:1,description:\"Top padding when scrolling to a section\"},// ---- type ---------------------------------------------------------------\nfont:{type:ControlType.String,title:\"Font family\",defaultValue:\"Work Sans, sans-serif\"},fontSize:{type:ControlType.Number,title:\"Font size\",defaultValue:14,min:8,max:48,step:1,unit:\"px\"},fontWeight:{type:ControlType.Number,title:\"Font weight\",defaultValue:300,min:100,max:900,step:100},letterSpacing:{type:ControlType.Number,title:\"Letter spacing\",defaultValue:-.02,min:-.1,max:.2,step:.01,unit:\"em\"},lineHeight:{type:ControlType.Number,title:\"Line height\",defaultValue:20,min:8,max:60,step:1,unit:\"px\"},listGap:{type:ControlType.Number,title:\"Gap between items\",defaultValue:16,min:0,max:60,step:1,unit:\"px\"},// ---- colors -------------------------------------------------------------\ninactiveColor:{type:ControlType.Color,title:\"Inactive color\",defaultValue:\"rgb(207, 209, 213)\"},hoverColor:{type:ControlType.Color,title:\"Hover color\",defaultValue:\"rgb(15, 15, 16)\"},activeColor:{type:ControlType.Color,title:\"Active color\",defaultValue:\"rgb(15, 15, 16)\"},// ---- dimming ------------------------------------------------------------\nidleOpacity:{type:ControlType.Number,title:\"Idle opacity\",defaultValue:.35,min:0,max:1,step:.05,description:\"Opacity of the whole nav when the mouse is away\"},siblingDim:{type:ControlType.Number,title:\"Sibling dim\",defaultValue:.5,min:0,max:1,step:.05,description:\"Opacity of the other items while one is hovered\"},fadeDuration:{type:ControlType.Number,title:\"Fade duration\",defaultValue:.3,min:0,max:1.5,step:.05,unit:\"s\"},// ---- indicator ----------------------------------------------------------\nshowUnderline:{type:ControlType.Boolean,title:\"Show dot\",defaultValue:true},dot:{type:ControlType.ComponentInstance,title:\"Custom dot\",hidden:props=>!props.showUnderline,description:\"Drop in any layer or component to use instead of the circle. Leave empty for the built-in dot.\"},underlineColor:{type:ControlType.Color,title:\"Dot color\",defaultValue:\"rgb(15, 15, 16)\",hidden:props=>!props.showUnderline||!!props.dot},underlineWidth:{type:ControlType.Number,title:\"Dot size\",defaultValue:6,min:2,max:24,step:1,unit:\"px\",hidden:props=>!props.showUnderline||!!props.dot},underlineHeight:{type:ControlType.Number,title:\"Dot gap\",defaultValue:12,min:0,max:40,step:1,unit:\"px\",hidden:props=>!props.showUnderline,description:\"Distance from the left edge of the labels\"},dotOffsetY:{type:ControlType.Number,title:\"Dot nudge Y\",defaultValue:0,min:-40,max:40,step:1,unit:\"px\",hidden:props=>!props.showUnderline,description:\"Fine-tune vertical centering against the label\"},dotDeform:{type:ControlType.Boolean,title:\"Squash on travel\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\",hidden:props=>!props.showUnderline,description:\"Stretch and blur the indicator with its speed. Turn off for a custom dot you want kept crisp.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"VerdigrisSideNav\",\"slots\":[\"dot\"],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutHeight\":\"any\",\"framerSupportedLayoutWidth\":\"fixed\",\"framerIntrinsicWidth\":\"200\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./VerdigrisSideNav.map"],"mappings":"2NAIA,SAAS,EAAE,EAAE,EAAS,CAAC,OAAO,OAAO,GAAI,UAAU,CAAC,OAAO,MAAM,CAAC,EAAE,EAAE,CAAS,CAE/E,SAAS,GAAQ,EAAK,CAAyG,OAArG,GAAO,MAAwB,IAAO,GAAa,GAAM,CAAG,MAAM,QAAQ,CAAI,GAAS,EAAK,OAAO,CAAc,CAG3I,SAAS,EAAK,EAAE,CAAC,OAAO,GAAG,GAAA,CAAI,YAAY,CAAC,CAAC,QAAQ,aAAa,EAAE,CAAE,CACtE,SAAS,GAAY,EAAM,EAAM,CAAC,IAAM,GAAK,GAAO,GAAA,CAAI,KAAK,EAAE,GAAG,CAAC,EAAI,OAAO,KAC9E,IAAM,EAAK,SAAS,eAAe,C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