{"version":3,"file":"ProjectDirectory.CLZzGwrQ.mjs","names":["addPropertyOverrides","enabledGestures","serializationHash","variantClassNames","transition1","Transition","React.useContext","React.useMemo","Variants","React.Fragment","getProps","createLayoutDependency","React.forwardRef","useRef","React.useId","React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","useState","useRef","startTransition","__esmMin","pe","init_npm_react_18_3_1","init_ssg_sandbox_shims","te","x","window","ie","_e","oe","p","c","J","init_jsx_runtime","ce","de","motion","useReducedMotion","LayoutGroup","MotionConfigContext","init_framer_motion_DhsWWWsN","addPropertyControls","cx","init_framer_BkYB2Gqq","useIsStaticRenderer","Link","withCSS","useVariantState","useLocaleInfo","useComponentViewport","ControlType","RichText","SVG","addPropertyOverrides$1","variants","nextOverrides","variant","overrides","enabledGestures$1","serializationHash$1","variantClassNames$1","transition1$1","Transition$1","Variants$1","getProps$1","createLayoutDependency$1","FramerCoJUQWFg5","init_CoJUQWFg5","config","transition","value","contextValue","props","link","fallbackRef","refBinding","ref","defaultLayoutId","restProps","layoutDependency","scopingClassNames","isDisplayed","gestureVariant","layoutId","xOa_CGeNC","gestureHandlers","className","classNames","style","baseVariant","addFonts","addPropertyOverrides","enabledGestures","serializationHash","variantClassNames","transition1","Transition","Variants","getProps","createLayoutDependency","FramerlFgki54ky","init_lFgki54ky","jyyohESF2","findTarget","leaves","el","option","find","want","clean","hit","isDarkBehind","y","m","ProjectDirectory","DEFAULT_ITEMS","INK","isStatic","list","items","active","setActive","onDark","setOnDark","missing","setMissing","reduceMotion","navRef","targets","lockUntil","findKey","i","chain","locate","update","line","scrollOffset","best","bestTop","top","next","box","dark","raf","onScroll","onResize","timers","ms","go","reduce","shown","isDots","design","rows","r","shownRow","ease","SPRING","FONTS_CSS","CSS","selectedColor","hoverColor","textColor","shiftContent","DOT_ROW","ROW","DOT_LOOK","TEXT_LOOK","item","EASE","HOVER","SHIFTED","init_ProjectDirectory","t"],"sources":["https:/framerusercontent.com/modules/01IDIgCTsBc9JfUZqn4U/HjZ0Q3MpQ3qaX7TtGonS/CoJUQWFg5.js","https:/framerusercontent.com/modules/Na12AxtrkcUmU1KQUAz4/Fdfrjx4ROqru2a7u7HJH/lFgki54ky.js","https:/framerusercontent.com/modules/cop1zgnhQUM4elfsqbNS/r4KGfBLWNSkEZqX5ncAE/ProjectDirectory.js"],"sourcesContent":["// Generated by Framer (46fff58)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={HqMHdnTvo:{hover:true}};const serializationHash=\"framer-X9iOK\";const variantClassNames={HqMHdnTvo:\"framer-v-bcbp6s\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const xOa_CGeNC=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,width,...props})=>{return{...props,xOa_CGeNC:link??props.xOa_CGeNC};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,xOa_CGeNC,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"HqMHdnTvo\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(gestureVariant===\"HqMHdnTvo-hover\")return false;return true;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:xOa_CGeNC,motionChild:true,nodeId:\"HqMHdnTvo\",openInNewTab:false,scopeId:\"CoJUQWFg5\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-bcbp6s\",className,classNames)} framer-tsnvv7`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"HqMHdnTvo\",ref:refBinding,style:{backgroundColor:\"var(--token-81151d6a-0ec8-441f-b7c2-30cecaa798aa, rgb(55, 121, 171))\",borderBottomLeftRadius:42,borderBottomRightRadius:42,borderTopLeftRadius:42,borderTopRightRadius:42,boxShadow:\"0px 0.48290122862090357px 0.2897407371725422px -1px rgba(0, 0, 0, 0.11), 0px 4px 2.4000000000000004px -2px rgba(0, 0, 0, 0.15)\",...style},...addPropertyOverrides({\"HqMHdnTvo-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7R2Vpc3QtcmVndWxhcg==\",\"--framer-font-family\":'\"Geist\", \"Geist Placeholder\", sans-serif',\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"Next Casestudy\"})}),className:\"framer-1d3wmr3\",fonts:[\"GF;Geist-regular\"],layoutDependency:layoutDependency,layoutId:\"ID09QPji_\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-10xb4qz\",layoutDependency:layoutDependency,layoutId:\"mH3iu2RZA\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:26,borderBottomRightRadius:26,borderTopLeftRadius:26,borderTopRightRadius:26,boxShadow:\"0px 0.48290122862090357px 0.2897407371725422px -0.375px rgba(0, 0, 0, 0.06), 0px 4px 2.4000000000000004px -0.75px rgba(0, 0, 0, 0.21)\"},children:/*#__PURE__*/_jsx(SVG,{className:\"framer-1w8b5zh\",layoutDependency:layoutDependency,layoutId:\"jh3QTctCX\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\" overflow=\"visible\"><path d=\"M 9.131 6.75 L 0 6.75 L 0 5.25 L 9.131 5.25 L 4.931 1.05 L 6 0 L 12 6 L 6 12 L 4.931 10.95 Z\" fill=\"var(--token-81151d6a-0ec8-441f-b7c2-30cecaa798aa, rgb(55, 121, 171)) /* {&quot;name&quot;:&quot;blue&quot;} */\"></path></svg>',withExternalLayout:true})})]})})})})});});const css=[\".framer-X9iOK.framer-tsnvv7, .framer-X9iOK .framer-tsnvv7 { display: block; }\",\".framer-X9iOK.framer-bcbp6s { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 4px 4px 4px 12px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-X9iOK .framer-1d3wmr3 { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-X9iOK .framer-10xb4qz { align-content: center; align-items: center; aspect-ratio: 1 / 1; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: auto; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 32px; will-change: var(--framer-will-change-override, transform); }\",\".framer-X9iOK .framer-1w8b5zh { height: 12px; position: relative; width: 12px; }\",\".framer-X9iOK.framer-v-bcbp6s.hover.framer-bcbp6s { padding: 4px; width: 177px; }\",\".framer-X9iOK.framer-v-bcbp6s.hover .framer-10xb4qz { aspect-ratio: unset; flex: 1 0 0px; height: 32px; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 176.5\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"FvkxQqU72\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"xOa_CGeNC\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerCoJUQWFg5=withCSS(Component,css,\"framer-X9iOK\");export default FramerCoJUQWFg5;FramerCoJUQWFg5.displayName=\"Next Button\";FramerCoJUQWFg5.defaultProps={height:40,width:176.5};addPropertyControls(FramerCoJUQWFg5,{xOa_CGeNC:{title:\"Link\",type:ControlType.Link}});addFonts(FramerCoJUQWFg5,[{explicitInter:true,fonts:[{cssFamilyName:\"Geist\",source:\"google\",style:\"normal\",uiFamilyName:\"Geist\",url:\"https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOM4mJPby1QNtA.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerCoJUQWFg5\",\"slots\":[],\"annotations\":{\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"FvkxQqU72\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerIntrinsicWidth\":\"176.5\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerVariables\":\"{\\\"xOa_CGeNC\\\":\\\"link\\\"}\",\"framerColorSyntax\":\"true\",\"framerComponentViewportWidth\":\"true\",\"framerIntrinsicHeight\":\"40\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./CoJUQWFg5.map","// Generated by Framer (0ff06f1)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,Link,RichText,SVG,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={AIs1619Zz:{hover:true}};const serializationHash=\"framer-85JSE\";const variantClassNames={AIs1619Zz:\"framer-v-12afnly\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const jyyohESF2=undefined;const transition1={bounce:.2,delay:0,duration:.4,type:\"spring\"};const Transition=({value,children})=>{const config=React.useContext(MotionConfigContext);const transition=value??config.transition;const contextValue=React.useMemo(()=>({...config,transition}),[JSON.stringify(transition)]);return /*#__PURE__*/_jsx(MotionConfigContext.Provider,{value:contextValue,children:children});};const Variants=motion.create(React.Fragment);const getProps=({height,id,link,width,...props})=>{return{...props,jyyohESF2:link??props.jyyohESF2};};const createLayoutDependency=(props,variants)=>{if(props.layoutDependency)return variants.join(\"-\")+props.layoutDependency;return variants.join(\"-\");};const Component=/*#__PURE__*/React.forwardRef(function(props,ref){const fallbackRef=useRef(null);const refBinding=ref??fallbackRef;const defaultLayoutId=React.useId();const{activeLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,jyyohESF2,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({defaultVariant:\"AIs1619Zz\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);const isDisplayed=()=>{if(gestureVariant===\"AIs1619Zz-hover\")return false;return true;};return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsx(Link,{href:jyyohESF2,motionChild:true,nodeId:\"AIs1619Zz\",openInNewTab:false,scopeId:\"lFgki54ky\",children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-12afnly\",className,classNames)} framer-fcgp2e`,\"data-framer-name\":\"Variant 1\",layoutDependency:layoutDependency,layoutId:\"AIs1619Zz\",ref:refBinding,style:{backgroundColor:\"var(--token-81151d6a-0ec8-441f-b7c2-30cecaa798aa, rgb(55, 121, 171))\",borderBottomLeftRadius:42,borderBottomRightRadius:42,borderTopLeftRadius:42,borderTopRightRadius:42,boxShadow:\"0px 0.48290122862090357px 0.2897407371725422px -1px rgba(0, 0, 0, 0.11), 0px 4px 2.4000000000000004px -2px rgba(0, 0, 0, 0.15)\",...style},...addPropertyOverrides({\"AIs1619Zz-hover\":{\"data-framer-name\":undefined}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1ibm5kb\",layoutDependency:layoutDependency,layoutId:\"dliQvdkVK\",style:{backgroundColor:\"rgb(255, 255, 255)\",borderBottomLeftRadius:26,borderBottomRightRadius:26,borderTopLeftRadius:26,borderTopRightRadius:26,boxShadow:\"0px 0.48290122862090357px 0.2897407371725422px -0.375px rgba(0, 0, 0, 0.06), 0px 4px 2.4000000000000004px -0.75px rgba(0, 0, 0, 0.21)\"},children:/*#__PURE__*/_jsx(SVG,{className:\"framer-qiul1\",layoutDependency:layoutDependency,layoutId:\"MRWHGdkUH\",requiresOverflowVisible:false,svg:'<svg xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" viewBox=\"0 0 12 12\" overflow=\"visible\"><path d=\"M 2.869 6.75 L 12 6.75 L 12 5.25 L 2.869 5.25 L 7.069 1.05 L 6 0 L 0 6 L 6 12 L 7.069 10.95 Z\" fill=\"var(--token-81151d6a-0ec8-441f-b7c2-30cecaa798aa, rgb(55, 121, 171)) /* {&quot;name&quot;:&quot;blue&quot;} */\"></path></svg>',withExternalLayout:true})}),isDisplayed()&&/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{dir:\"auto\",style:{\"--font-selector\":\"R0Y7R2Vpc3QtcmVndWxhcg==\",\"--framer-font-family\":'\"Geist\", \"Geist Placeholder\", sans-serif',\"--framer-text-color\":\"var(--extracted-r6o4lv, rgb(255, 255, 255))\"},children:\"All Casestudies\"})}),className:\"framer-1bwnhxm\",fonts:[\"GF;Geist-regular\"],layoutDependency:layoutDependency,layoutId:\"Bb6dh2G91\",style:{\"--extracted-r6o4lv\":\"rgb(255, 255, 255)\",\"--framer-link-text-color\":\"rgb(0, 153, 255)\",\"--framer-link-text-decoration\":\"underline\"},verticalAlignment:\"top\",withExternalLayout:true})]})})})})});});const css=[\".framer-85JSE.framer-fcgp2e, .framer-85JSE .framer-fcgp2e { display: block; }\",\".framer-85JSE.framer-12afnly { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 4px 12px 4px 4px; position: relative; text-decoration: none; width: min-content; will-change: var(--framer-will-change-override, transform); }\",\".framer-85JSE .framer-1ibm5kb { align-content: center; align-items: center; aspect-ratio: 1 / 1; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: auto; justify-content: center; overflow: var(--overflow-clip-fallback, clip); padding: 0px; position: relative; width: 32px; will-change: var(--framer-will-change-override, transform); }\",\".framer-85JSE .framer-qiul1 { height: 12px; position: relative; width: 12px; }\",\".framer-85JSE .framer-1bwnhxm { flex: none; height: auto; position: relative; white-space: pre; width: auto; }\",\".framer-85JSE.framer-v-12afnly.hover.framer-12afnly { height: 40px; padding: 4px; width: 173px; }\",\".framer-85JSE.framer-v-12afnly.hover .framer-1ibm5kb { aspect-ratio: unset; flex: 1 0 0px; height: 32px; width: 1px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 40\n * @framerIntrinsicWidth 173\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"auto\",\"auto\"]},\"B9EQgoje4\":{\"layout\":[\"fixed\",\"fixed\"]}}}\n * @framerVariables {\"jyyohESF2\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerlFgki54ky=withCSS(Component,css,\"framer-85JSE\");export default FramerlFgki54ky;FramerlFgki54ky.displayName=\"Back Button\";FramerlFgki54ky.defaultProps={height:40,width:173};addPropertyControls(FramerlFgki54ky,{jyyohESF2:{title:\"Link\",type:ControlType.Link}});addFonts(FramerlFgki54ky,[{explicitInter:true,fonts:[{cssFamilyName:\"Geist\",source:\"google\",style:\"normal\",uiFamilyName:\"Geist\",url:\"https://fonts.gstatic.com/s/geist/v5/gyBhhwUxId8gMGYQMKR3pzfaWI_RnOM4mJPby1QNtA.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerlFgki54ky\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"auto\\\",\\\"auto\\\"]},\\\"B9EQgoje4\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"fixed\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"jyyohESF2\\\":\\\"link\\\"}\",\"framerAutoSizeImages\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerContractVersion\":\"1\",\"framerIntrinsicWidth\":\"173\",\"framerIntrinsicHeight\":\"40\",\"framerComponentViewportWidth\":\"true\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./lFgki54ky.map","// Request: a left directory bar for every case study (Project Overview, The Product, Problem Space, Context, Iteration,\n// Solution, Takeaways). Clicking an item scrolls to that part of the page. Hover turns the text gray and expands it;\n// the selected item uses the Selected Color, a variable you can change (link it to a colour style in the panel).\n// Five designs in one component: Rail, Highlighter, Glass, Numbered, Dots.\n// Each item finds its section by heading text. \"Find Heading\" lists headings to try, separated by \"|\"; the first one\n// on the page wins, so one default set works across case studies with different section names.\n// Update: over dark sections (like the footer) the text switches to white. Empty space in the fixed frame around the\n// bar lets clicks through, so it can't block the nav or footer.\n// Update (Dots): Body text, unselected items dimmed, and a carousel like the landing page case studies: the list slides\n// so the selected item sits in the middle while the others fall back to a smaller, dimmer state on the same soft spring.\n// Items whose section isn't on the page drop out. \"Shift Content\" moves the page content right to make room for the bar.\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useRef,useState,startTransition}from\"react\";import{addPropertyControls,ControlType,useIsStaticRenderer}from\"framer\";import{motion,useReducedMotion}from\"framer-motion\";const DEFAULT_ITEMS=[{label:\"Project Overview\",find:\"Project Overview\"},{label:\"The Product\",find:\"The Product\"},{label:\"Problem Space\",find:\"Defining problem space|Field Research|Aligning With Consumer Needs|Why This, Why Seniors, Why Now|Inspiration\"},{label:\"Context\",find:\"Competitive landscape|Competitor Analysis|Market Analysis|The Market Gap\"},{label:\"Iteration\",find:\"Design direction|Wireframing|Visual identity|How it works|Iterations\"},{label:\"Solution\",find:\"Design solution|Prototyping\"},{label:\"Takeaways\",find:\"Takeaways\"}];const FONTS_CSS=\"@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500&family=Space+Grotesk:wght@400;500&display=swap');\";const EASE=\"cubic-bezier(.22,.8,.24,1)\";const INK=\"#171615\";const ROW=30// row height of the Rail design, used to slide its marker\n;const DOT_ROW=34// row height of the Dots design, used to slide its list\n;const SPRING={type:\"spring\",stiffness:30,damping:11.5,mass:1}// same as the landing page case studies\n;const HOVER={duration:.35,ease:[.22,.8,.24,1]};const TEXT_LOOK={on:{scale:1,opacity:1},off:{scale:.88,opacity:.5},hover:{scale:1,opacity:1,transition:HOVER}};const DOT_LOOK={on:{opacity:1},off:{opacity:.5},hover:{opacity:1,transition:HOVER}};// The page's content frames: siblings of the bar's fixed frame, except the first (hero), the footer/nav instances and the bar.\n// Layers inside may shrink, so fixed-width text doesn't get cut off in the narrower column.\nconst SHIFTED=':has(> * > * > .pdn-live) > div:not(:first-child):not([class*=\"-container\"]):not(:has(.pdn-live))';const clean=t=>(t||\"\").replace(/[’‘]/g,\"'\").replace(/\\s+/g,\" \").trim().toLowerCase();// First visible text element whose whole text matches one of the options, trying the options in order.\nfunction findTarget(find){const leaves=Array.from(document.querySelectorAll(\"h1,h2,h3,h4,h5,h6,p,span,div\")).filter(el=>el.children.length===0&&!el.closest(\".pdn\")&&el.getClientRects().length>0);for(const option of find.split(\"|\")){const want=clean(option);if(!want)continue;const hit=leaves.find(el=>clean(el.textContent)===want);if(hit)return hit;}return null;}// True when the first solid background behind a point is dark. Skips the bar itself.\nfunction isDarkBehind(x,y){for(const el of document.elementsFromPoint(x,y)){if(el.closest(\".pdn\"))continue;const m=getComputedStyle(el).backgroundColor.match(/[\\d.]+/g);if(!m||m.length>3&&Number(m[3])<.5)continue;return .299*Number(m[0])+.587*Number(m[1])+.114*Number(m[2])<110;}return false;}const CSS=p=>`\n.pdn{--sel:${p.selected};--hov:${p.hover};--txt:${p.text};box-sizing:border-box;display:inline-block;width:max-content;max-width:100%;pointer-events:auto}\n.pdn.pdn-ondark:not(.pdn-numbered):not(.pdn-glass){--txt:#fff}\n.pdn *{box-sizing:border-box}\n.pdn ul{list-style:none;margin:0;padding:0;position:relative}\n.pdn button{appearance:none;border:0;background:none;margin:0;padding:0;font:inherit;color:inherit;cursor:pointer;text-align:left;display:flex;align-items:center;width:100%;outline:none}\n.pdn button:focus-visible{outline:2px solid var(--txt);outline-offset:2px;border-radius:4px}\n.pdn-t{display:inline-block;transform-origin:0 50%;transition:transform 350ms ${EASE},color 250ms ease;white-space:nowrap;color:var(--txt)}\n.pdn button:hover .pdn-t{transform:scale(1.1)}\n.pdn li:not(.on) button:hover .pdn-t,.pdn li:not(.on) button:hover .pdn-n{color:var(--hov)}\n\n.pdn-rail{font:300 13px/1 \"Geist\",sans-serif;letter-spacing:.02em;padding-left:12px}\n.pdn-rail ul::before{content:\"\";position:absolute;left:-12px;top:0;bottom:0;width:1px;background:rgba(23,22,21,.16)}\n.pdn-rail button{height:${ROW}px}\n.pdn-rail .on .pdn-t{font-weight:500}\n.pdn-mark{position:absolute;left:-13.5px;top:0;width:4px;height:${ROW}px;border-radius:9px;background:var(--sel);box-shadow:0 0 0 1px rgba(23,22,21,.2);transition:transform 550ms ${EASE}}\n\n.pdn-highlight{font:400 13px/1 \"Geist\",sans-serif;letter-spacing:.02em}\n.pdn-highlight button{position:relative;height:28px;padding:0 8px}\n.pdn-highlight button::before{content:\"\";position:absolute;left:0;right:0;top:3px;bottom:3px;border-radius:5px;background:var(--sel);transform:scaleX(0);transform-origin:0 50%;transition:transform 450ms ${EASE}}\n.pdn-highlight .on button::before{transform:scaleX(1)}\n.pdn-highlight .pdn-t{position:relative}\n.pdn-highlight .on .pdn-t{font-weight:500;color:${INK}}\n\n.pdn-glass{font:400 12.5px/1 \"Geist\",sans-serif;padding:6px;border-radius:18px;background:rgba(255,255,255,.55);backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);border:1px solid rgba(23,22,21,.1);box-shadow:0 10px 26px -14px rgba(23,22,21,.35)}\n.pdn-glass li+li{margin-top:2px}\n.pdn-glass button{height:28px;padding:0 10px;border-radius:99px;transition:background 350ms ease}\n.pdn-glass .on button{background:var(--sel)}\n.pdn-glass .on .pdn-t{font-weight:500;color:${INK}}\n\n.pdn-numbered{font:400 12px/1.1 \"Space Grotesk\",sans-serif;letter-spacing:.02em;padding:12px;border-radius:14px;background:${INK}}\n.pdn-numbered li+li{margin-top:9px}\n.pdn-numbered button{align-items:baseline;gap:7px}\n.pdn-n{flex:none;font-size:10px;opacity:.55;color:#fff;transition:color 250ms ease,opacity 250ms ease}\n.pdn-numbered .pdn-t{color:#fff}\n.pdn-numbered .on .pdn-t,.pdn-numbered .on .pdn-n{color:var(--sel);opacity:1}\n\n.pdn-dots{font:300 16px/1.2 \"Geist\",sans-serif;letter-spacing:.03em}\n.pdn-dots ul::before{content:\"\";position:absolute;left:5.5px;top:${DOT_ROW/2}px;bottom:${DOT_ROW/2}px;width:1px;background:rgba(23,22,21,.2)}\n.pdn-dots button{height:${DOT_ROW}px;gap:10px}\n.pdn-fade{display:inline-block;transform-origin:0 50%}\n.pdn-dots .pdn-dotfade{flex:none;display:block}\n.pdn-dot{position:relative;flex:none;width:12px;height:12px;display:grid;place-items:center}\n.pdn-dot::before{content:\"\";width:5px;height:5px;border-radius:50%;background:${INK};transition:width 350ms ${EASE},height 350ms ${EASE},background 300ms ease,box-shadow 300ms ease}\n.pdn-dots .on .pdn-dot::before{width:12px;height:12px;background:var(--sel);box-shadow:0 0 0 1px ${INK}}\n.pdn-dots .on .pdn-t{font-weight:500}\n.pdn-ondark.pdn-dots ul::before,.pdn-ondark.pdn-rail ul::before{background:rgba(255,255,255,.3)}\n.pdn-ondark.pdn-dots .pdn-dot::before{background:#fff}\n.pdn-ondark.pdn-dots .on .pdn-dot::before{background:var(--sel);box-shadow:0 0 0 1px #fff}\n.pdn-ondark.pdn-highlight .on .pdn-t{color:${INK}}\n${p.hideBelow>0?`@media (max-width:${p.hideBelow-1}px){.pdn-live{display:none}}`:\"\"}\n${p.shift>0?`@media (min-width:${p.hideBelow}px){${SHIFTED}{padding-left:${p.shift}px!important}${SHIFTED} div:not([data-framer-background-image-wrapper]):not(:has(> img)){max-width:100%;flex-shrink:1;min-width:0}}`:\"\"}\n`;/**\n * Project Directory\n *\n * @framerIntrinsicWidth 140\n * @framerIntrinsicHeight 220\n *\n * @framerSupportedLayoutWidth auto\n * @framerSupportedLayoutHeight auto\n */export default function ProjectDirectory(props){const{design=\"rail\",items=DEFAULT_ITEMS,selectedColor=\"#9AF1FE\",hoverColor=\"#8A8A8A\",textColor=INK,scrollOffset=100,hideBelow=1e3,shiftContent=0,style}=props;const isStatic=useIsStaticRenderer();const list=items&&items.length?items:DEFAULT_ITEMS;const[active,setActive]=useState(0);const[onDark,setOnDark]=useState(false);const[missing,setMissing]=useState([]);const reduceMotion=useReducedMotion();const navRef=useRef(null);const targets=useRef([]);const lockUntil=useRef(0);const findKey=list.map(i=>i.find).join(\"||\");useEffect(()=>{if(isStatic||typeof window===\"undefined\")return;// Let clicks through the fixed frame around the bar; the bar itself stays clickable\nconst chain=[];for(let p=navRef.current?.parentElement;p&&p!==document.body;p=p.parentElement){chain.push(p);if(getComputedStyle(p).position===\"fixed\"){chain.forEach(el=>el.style.pointerEvents=\"none\");break;}}const locate=()=>{targets.current=list.map(i=>findTarget(i.find));};const update=()=>{if(performance.now()<lockUntil.current)return;const line=scrollOffset+window.innerHeight*.2;let best=-1;let bestTop=-Infinity;targets.current.forEach((el,i)=>{if(!el||!el.isConnected)return;const top=el.getBoundingClientRect().top;if(top<=line&&top>bestTop){bestTop=top;best=i;}});// The last section may never reach the line on short pages\nconst atEnd=window.innerHeight+window.scrollY>=document.documentElement.scrollHeight-2;if(atEnd&&targets.current[list.length-1])best=list.length-1;// Above the first section, the first item stays selected\nconst next=best>=0?best:0;const box=navRef.current?.getBoundingClientRect();const dark=!!box&&box.width>0&&isDarkBehind(box.left+box.width/2,box.top+box.height/2);startTransition(()=>{setActive(next);setOnDark(dark);});};let raf=0;const onScroll=()=>{if(!raf)raf=requestAnimationFrame(()=>{raf=0;update();});};const onResize=()=>{locate();update();};locate();update();// Framer can finish laying out after this runs\nconst timers=[400,1500].map(ms=>window.setTimeout(onResize,ms));// Drop items with no section on this page, once the layout has settled\ntimers.push(window.setTimeout(()=>startTransition(()=>setMissing(targets.current.map(el=>!el))),1600));window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onResize);return()=>{timers.forEach(window.clearTimeout);cancelAnimationFrame(raf);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);};},[isStatic,findKey,scrollOffset]);const go=i=>{startTransition(()=>setActive(i));let el=targets.current[i];if(!el||!el.isConnected)el=findTarget(list[i].find);if(!el)return;const reduce=window.matchMedia(\"(prefers-reduced-motion: reduce)\").matches;lockUntil.current=performance.now()+(reduce?100:1e3)// keep the clicked item selected during the scroll\n;window.scrollTo({top:el.getBoundingClientRect().top+window.scrollY-scrollOffset,behavior:reduce?\"auto\":\"smooth\"});};const shown=isStatic?2:active;const isDots=design===\"dots\";const rows=list.map((item,i)=>({item,i})).filter(r=>!missing[r.i]);const shownRow=Math.max(0,rows.findIndex(r=>r.i===shown));const ease=reduceMotion?{duration:0}:SPRING;return /*#__PURE__*/_jsxs(\"nav\",{ref:navRef,\"aria-label\":\"Sections of this case study\",className:`pdn pdn-${design} ${isStatic?\"\":\"pdn-live\"} ${onDark?\"pdn-ondark\":\"\"}`,style:style,children:[/*#__PURE__*/_jsx(\"style\",{children:FONTS_CSS+CSS({selected:selectedColor,hover:hoverColor,text:textColor,hideBelow,shift:shiftContent})}),/*#__PURE__*/_jsxs(motion.ul,{initial:false,animate:{y:isDots?((rows.length-1)/2-shownRow)*DOT_ROW:0},transition:ease,children:[design===\"rail\"&&/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,className:\"pdn-mark\",style:{transform:`translateY(${shown*ROW}px)`}}),rows.map(({item,i})=>/*#__PURE__*/_jsx(\"li\",{className:i===shown?\"on\":\"\",children:/*#__PURE__*/_jsxs(motion.button,{type:\"button\",\"aria-current\":i===shown?\"true\":undefined,onClick:()=>go(i),initial:false,animate:i===shown?\"on\":\"off\",whileHover:isDots?\"hover\":undefined,transition:ease,children:[design===\"numbered\"&&/*#__PURE__*/_jsx(\"span\",{className:\"pdn-n\",children:String(i+1).padStart(2,\"0\")}),isDots&&/*#__PURE__*/_jsx(motion.span,{className:\"pdn-dotfade\",variants:DOT_LOOK,transition:ease,children:/*#__PURE__*/_jsx(\"span\",{\"aria-hidden\":true,className:\"pdn-dot\"})}),isDots?/*#__PURE__*/_jsx(motion.span,{className:\"pdn-fade\",variants:TEXT_LOOK,transition:ease,children:/*#__PURE__*/_jsx(\"span\",{className:\"pdn-t\",children:item.label})}):/*#__PURE__*/_jsx(\"span\",{className:\"pdn-t\",children:item.label})]})},item.label+i))]})]});}addPropertyControls(ProjectDirectory,{design:{type:ControlType.Enum,title:\"Design\",options:[\"rail\",\"highlight\",\"glass\",\"numbered\",\"dots\"],optionTitles:[\"1 \\xb7 Rail\",\"2 \\xb7 Highlighter\",\"3 \\xb7 Glass\",\"4 \\xb7 Numbered\",\"5 \\xb7 Dots\"],defaultValue:\"rail\"},selectedColor:{type:ControlType.Color,title:\"Selected Color\",defaultValue:\"#9AF1FE\"},hoverColor:{type:ControlType.Color,title:\"Hover Color\",defaultValue:\"#8A8A8A\"},textColor:{type:ControlType.Color,title:\"Text Color\",defaultValue:INK},items:{type:ControlType.Array,title:\"Items\",defaultValue:DEFAULT_ITEMS,control:{type:ControlType.Object,controls:{label:{type:ControlType.String,title:\"Label\"},find:{type:ControlType.String,title:\"Find Heading\",description:\"Heading text to scroll to. Separate options with |\"}}}},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",defaultValue:100,min:0,max:300,unit:\"px\",description:\"Space left above a section, for the fixed nav.\"},hideBelow:{type:ControlType.Number,title:\"Hide Below\",defaultValue:1e3,min:0,max:1920,step:10,unit:\"px\",description:\"Hides the bar on narrower screens, where it would cover content.\"},shiftContent:{type:ControlType.Number,title:\"Shift Content\",defaultValue:0,min:0,max:400,step:10,unit:\"px\",description:\"Moves the page content right on the live site, for room beside the bar. Not shown on the canvas.\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"ProjectDirectory\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"220\",\"framerSupportedLayoutWidth\":\"auto\",\"framerIntrinsicWidth\":\"140\",\"framerSupportedLayoutHeight\":\"auto\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./ProjectDirectory.map"],"mappings":"A,mYAC0c,SAASA,EAAqB,EAAU,GAAG0D,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,uEAA5T1D,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQC,EAAkB,eAAqBC,EAAkB,CAAC,UAAU,iBAAiB,EAAyNC,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQC,IAAY,CAAC,QAAM,cAAY,CAAC,IAAMmE,EAAOlE,EAAiBqC,CAAmB,EAAQ8B,EAAWC,GAAOF,EAAO,WAAiB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