{"version":3,"file":"TableOfContentsOverrides.CWrIY4d4.mjs","names":["React.useContext","React.useMemo","React.Fragment","useRef","React.useId","sharedStyle.className","className","sharedStyle.css","sharedStyle.fonts","useState","useState","_Fragment","Fragment","useRef","__exportAll","init_ssg_sandbox_shims","init_npm_react_18_3_1","window","x","oe","pe","ie","_e","de","l","p","c","J","init_jsx_runtime","ce","MotionConfigContext","LayoutGroup","init_framer_motion_DhsWWWsN","motion","init_framer_BL70qLPA","useObserveData","useLocaleInfo","cx","useVariantState","getFontsFromSharedStyle","withCSS","addFonts","addPropertyControls","ControlType","RichText","Data","useComponentViewport","className","fonts","css$1","init_zGYnZ850p","WAHW5SgRL_exports","__FramerMetadata__","FramerWAHW5SgRL","addPropertyOverrides","variants","nextOverrides","variant","overrides","enabledGestures","cycleOrder","serializationHash","variantClassNames","transition1","Transition","humanReadableVariantMap","Variants","getProps","createLayoutDependency","Component","css","init_WAHW5SgRL","__esmMin","config","transition","value","contextValue","props","title","fallbackRef","refBinding","ref","defaultLayoutId","className$1","restProps","layoutDependency","scopingClassNames","layoutId","gestureHandlers","classNames","style","baseVariant","gestureVariant","C4NRFV52X","\"exports\"","\"Props\"","\"type\"","\"annotations\"","\"framerContractVersion\"","\"default\"","\"name\"","\"slots\"","\"framerColorSyntax\"","\"framerImmutableVariables\"","\"framerDisplayContentsDiv\"","\"framerAutoSizeImages\"","\"framerVariables\"","\"framerIntrinsicHeight\"","\"framerIntrinsicWidth\"","\"framerComponentViewportWidth\"","\"framerCanvasComponentVariantDetails\"","\"__FramerMetadata__\"","createStore","dataStore","state1","setDataStore","newState","storeState","storeSetters","setStoreState","setter","useStore","state","setState","init_createStore","init_store_js__1_0","HEADINGS","formatHeading","formatTableOfContent","formatHeadings","init_Utils","formattedHeading","formattedId","children","item","index","result","type","newChildren","newItem","updateActiveHeading","markers","selector","TRACKED_HEADINGS","seen","currentId","wrapper","marker","el","ACTIVE_OFFSET","lastActiveId","setStore","prev","getAllHeadingsSorted","headingsByInstance","elA","a","elB","b","rectA","rectB","collectDomHeadings","container","elements","headings","instanceCounter","i","collectVisibleHeadings","out","mapParentSections","current","HEADING_TO_DISPLAY","resolveSectionIndex","activeId","h","parentSections","createTableOfContent","store","sortedHeadings","setSortedHeadings","timer","fromStore","merged","nested","live","scrollToHeading","id","y","SCROLL_MARGIN_TOP","tracked","scrolledSection","firstSection","activeSection","firstAlwaysActive","revealedSection","setRevealedSection","NESTED_REVEAL_DELAY","visibleHeadings","alwaysOpen","subOrder","isSection","row","heading","NESTED_ENTER_OFFSET","NESTED_ENTER_DURATION","NESTED_ENTER_EASE","NESTED_ENTER_STAGGER","withTableOfContentFirstActive","withContent","newProps","setNewProps","containerRef","instanceId","newHeadings","updated","domHeadings","onScroll","withNestedTableOfContentAlwaysOpen","NESTED_SUB_HEADINGS","init_TableOfContentsOverrides"],"sources":["https:/framerusercontent.com/modules/ZdxK0Lfcn2vqi3NO5ZMc/d0j7J1Ag3lFBVI5te0Th/WAHW5SgRL.js","https:/framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js","https:/framer.com/m/framer/store.js@^1.0.0","https:/framerusercontent.com/modules/1XxWQwY0hfK0NPkccp4R/KJkJpnADqLZBYSaIILnx/Utils.js","https:/framerusercontent.com/modules/o05fhrf4XubGiCsMYZg4/SlEopb9x0pXe9EPWzibQ/TableOfContentsOverrides.js"],"sourcesContent":["// Generated by Framer (325cc88)\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{addFonts,addPropertyControls,ControlType,cx,getFontsFromSharedStyle,RichText,useComponentViewport,useLocaleInfo,useVariantState,withCSS}from\"framer\";import{LayoutGroup,motion,MotionConfigContext}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";import*as sharedStyle from\"https://framerusercontent.com/modules/pG9GGnXQHw5F3OIXq24Q/VE2TTAynh40Bf8uMHoUU/zGYnZ850p.js\";const enabledGestures={HBWUjUKzk:{hover:true}};const cycleOrder=[\"HBWUjUKzk\",\"hDtd0MVMI\",\"mmPtoLFOm\",\"FQdZNHPQK\"];const serializationHash=\"framer-rGVRC\";const variantClassNames={FQdZNHPQK:\"framer-v-1z11c61\",HBWUjUKzk:\"framer-v-5skgve\",hDtd0MVMI:\"framer-v-a501bk\",mmPtoLFOm:\"framer-v-11w114l\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const C4NRFV52X=undefined;const transition1={delay:0,duration:.6,ease:[.6,0,.05,1],type:\"tween\"};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 humanReadableVariantMap={\"h2 active\":\"hDtd0MVMI\",\"h3 active\":\"FQdZNHPQK\",h2:\"HBWUjUKzk\",h3:\"mmPtoLFOm\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,title,width,...props})=>{return{...props,C4NRFV52X:title??props.C4NRFV52X??\"Section title\",variant:humanReadableVariantMap[props.variant]??props.variant??\"HBWUjUKzk\"};};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,contentLocale,setLocale}=useLocaleInfo();const componentViewport=useComponentViewport();const{style,className,layoutId,variant,C4NRFV52X,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"HBWUjUKzk\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Transition,{value:transition1,children:/*#__PURE__*/_jsxs(motion.div,{...restProps,...gestureHandlers,className:cx(scopingClassNames,\"framer-5skgve\",className,classNames),\"data-framer-name\":\"h2\",layoutDependency:layoutDependency,layoutId:\"HBWUjUKzk\",ref:refBinding,style:{...style},...addPropertyOverrides({FQdZNHPQK:{\"data-framer-name\":\"h3 active\"},hDtd0MVMI:{\"data-framer-name\":\"h2 active\"},mmPtoLFOm:{\"data-framer-name\":\"h3\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-2jr8yi\",\"data-framer-name\":\"Dot Wrap\",layoutDependency:layoutDependency,layoutId:\"dcnRsviat\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-1laet67\",\"data-border\":true,\"data-framer-name\":\"Dot\",layoutDependency:layoutDependency,layoutId:\"m1UlRuVkh\",style:{\"--border-bottom-width\":\"1px\",\"--border-color\":\"var(--token-55a1ca55-c107-4360-bd10-4a696acb7df3)\",\"--border-left-width\":\"1px\",\"--border-right-width\":\"1px\",\"--border-style\":\"solid\",\"--border-top-width\":\"1px\",borderBottomLeftRadius:9999,borderBottomRightRadius:9999,borderTopLeftRadius:9999,borderTopRightRadius:9999},variants:{\"HBWUjUKzk-hover\":{\"--border-color\":\"var(--token-6447c15f-b1f1-476f-9750-0e7bb67c6e3d, rgb(246, 130, 86))\"},FQdZNHPQK:{\"--border-color\":\"var(--token-74139494-123d-4e61-b521-22ebefe5f6fc)\"},hDtd0MVMI:{\"--border-color\":\"var(--token-74139494-123d-4e61-b521-22ebefe5f6fc)\"}}})}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mccl73\",\"data-styles-preset\":\"zGYnZ850p\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-55a1ca55-c107-4360-bd10-4a696acb7df3))\"},children:\"Title\"})}),className:\"framer-svyhsr\",\"data-framer-name\":\"Label\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"cspmwPs0A\",style:{\"--extracted-r6o4lv\":\"var(--token-55a1ca55-c107-4360-bd10-4a696acb7df3)\"},text:C4NRFV52X,variants:{\"HBWUjUKzk-hover\":{\"--extracted-r6o4lv\":\"var(--token-6447c15f-b1f1-476f-9750-0e7bb67c6e3d, rgb(246, 130, 86))\"},FQdZNHPQK:{\"--extracted-r6o4lv\":\"var(--token-74139494-123d-4e61-b521-22ebefe5f6fc)\"},hDtd0MVMI:{\"--extracted-r6o4lv\":\"var(--token-74139494-123d-4e61-b521-22ebefe5f6fc)\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"HBWUjUKzk-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mccl73\",\"data-styles-preset\":\"zGYnZ850p\",dir:\"auto\",style:{\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-6447c15f-b1f1-476f-9750-0e7bb67c6e3d, rgb(246, 130, 86)))\"},children:\"Section title\"})})},FQdZNHPQK:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mccl73\",\"data-styles-preset\":\"zGYnZ850p\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-74139494-123d-4e61-b521-22ebefe5f6fc))\"},children:\"Section title\"})})},hDtd0MVMI:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-mccl73\",\"data-styles-preset\":\"zGYnZ850p\",dir:\"auto\",style:{\"--framer-text-alignment\":\"start\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-74139494-123d-4e61-b521-22ebefe5f6fc))\"},children:\"Section title\"})})}},baseVariant,gestureVariant)})]})})})});});const css=[\".framer-rGVRC.framer-czhff0, .framer-rGVRC .framer-czhff0 { display: block; }\",\".framer-rGVRC.framer-5skgve { align-content: flex-start; align-items: flex-start; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 8px; height: min-content; justify-content: flex-start; padding: 0px 0px 12px 0px; position: relative; width: 234px; }\",\".framer-rGVRC .framer-2jr8yi { align-content: center; align-items: center; display: flex; flex: none; flex-direction: column; flex-wrap: nowrap; gap: 0px; height: 16px; justify-content: center; padding: 0px; position: relative; width: 6px; }\",\".framer-rGVRC .framer-1laet67 { flex: none; height: 6px; position: relative; width: 6px; }\",\".framer-rGVRC .framer-svyhsr { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-rGVRC.framer-v-11w114l.framer-5skgve, .framer-rGVRC.framer-v-1z11c61.framer-5skgve { padding: 0px 0px 10px 16px; }\",...sharedStyle.css,'.framer-rGVRC[data-border=\"true\"]::after, .framer-rGVRC [data-border=\"true\"]::after { content: \"\"; border-width: var(--border-top-width, 0) var(--border-right-width, 0) var(--border-bottom-width, 0) var(--border-left-width, 0); border-color: var(--border-color, none); border-style: var(--border-style, none); width: 100%; height: 100%; position: absolute; box-sizing: border-box; left: 0; top: 0; border-radius: inherit; corner-shape: inherit; pointer-events: none; }'];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 28\n * @framerIntrinsicWidth 234\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"hDtd0MVMI\":{\"layout\":[\"fixed\",\"auto\"]},\"mmPtoLFOm\":{\"layout\":[\"fixed\",\"auto\"]},\"FQdZNHPQK\":{\"layout\":[\"fixed\",\"auto\"]},\"pgA6Q5RVg\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"C4NRFV52X\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerWAHW5SgRL=withCSS(Component,css,\"framer-rGVRC\");export default FramerWAHW5SgRL;FramerWAHW5SgRL.displayName=\"TOC Item\";FramerWAHW5SgRL.defaultProps={height:28,width:234};addPropertyControls(FramerWAHW5SgRL,{variant:{options:[\"HBWUjUKzk\",\"hDtd0MVMI\",\"mmPtoLFOm\",\"FQdZNHPQK\"],optionTitles:[\"h2\",\"h2 active\",\"h3\",\"h3 active\"],title:\"Variant\",type:ControlType.Enum},C4NRFV52X:{defaultValue:\"Section title\",title:\"Title\",type:ControlType.String},onC4NRFV52XChange:{changes:\"C4NRFV52X\",type:ControlType.ChangeHandler}});addFonts(FramerWAHW5SgRL,[{explicitInter:true,fonts:[{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F\",url:\"https://framerusercontent.com/assets/5vvr9Vy74if2I6bQbJvbw7SY1pQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116\",url:\"https://framerusercontent.com/assets/EOr0mi4hNtlgWNn9if640EZzXCo.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+1F00-1FFF\",url:\"https://framerusercontent.com/assets/Y9k9QrlZAqio88Klkmbd8VoMQc.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0370-03FF\",url:\"https://framerusercontent.com/assets/OYrD2tBIBPvoJXiIHnLoOXnY9M.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF\",url:\"https://framerusercontent.com/assets/JeYwfuaPfZHQhEG8U5gtPDZ7WQ.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2070, U+2074-207E, U+2080-208E, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD\",url:\"https://framerusercontent.com/assets/GrgcKwrN6d3Uz8EwcLHZxwEfC4.woff2\",weight:\"400\"},{cssFamilyName:\"Inter\",source:\"framer\",style:\"normal\",uiFamilyName:\"Inter\",unicodeRange:\"U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB\",url:\"https://framerusercontent.com/assets/b6Y37FthZeALduNqHicBT6FutY.woff2\",weight:\"400\"}]},...getFontsFromSharedStyle(sharedStyle.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerWAHW5SgRL\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerColorSyntax\":\"true\",\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"C4NRFV52X\\\":\\\"title\\\"}\",\"framerIntrinsicHeight\":\"28\",\"framerIntrinsicWidth\":\"234\",\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"hDtd0MVMI\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"mmPtoLFOm\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"FQdZNHPQK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"pgA6Q5RVg\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./WAHW5SgRL.map","import{useState,useEffect}from\"react\";import{Data,useObserveData}from\"framer\";export function createStore(state1){// Use Data so that a Preview reload resets the state\nconst dataStore=Data({state:Object.freeze({...state1})});// Create a set function that updates the state\nconst setDataStore=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(dataStore.state);}dataStore.state=Object.freeze({...dataStore.state,...newState});};// Store the initial state, copy the object if it's an object\nlet storeState=typeof state1===\"object\"?Object.freeze({...state1}):state1;// Keep a list of all the listeners, in the form of React hook setters\nconst storeSetters=new Set();// Create a set function that updates all the listeners / setters\nconst setStoreState=newState=>{// If the state is an object, make sure we copy it\nif(typeof newState===\"function\"){newState=newState(storeState);}storeState=typeof newState===\"object\"?Object.freeze({...storeState,...newState}):newState;// Update all the listeners / setters with the new value\nstoreSetters.forEach(setter=>setter(storeState));};// Create the actual hook based on everything above\nfunction useStore(){// Create the hook we are going to use as a listener\nconst[state,setState]=useState(storeState);// If we unmount the component using this hook, we need to remove the listener\n// @ts-ignore\nuseEffect(()=>{// But right now, we need to add the listener\nstoreSetters.add(setState);return()=>storeSetters.delete(setState);},[]);// If Data context exists, use Data, otherwise use vanilla React state\nif(useObserveData()===true){useObserveData();return[dataStore.state,setDataStore];}else{// Return the state and a function to update the central store\nreturn[state,setStoreState];}}return useStore;}\nexport const __FramerMetadata__ = {\"exports\":{\"createStore\":{\"type\":\"function\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./createStore.map","/*\n * createStore (framer/store@1.0.1)\n *\n * Learn More: https://www.framer.com/asset-urls\n */\n\nexport * from \"https://framerusercontent.com/modules/vj7bFUjvEQFgEzNBkdoG/vf3CKm378wlVcBk7IhSU/createStore.js\"\n","export const HEADINGS=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"];const formatHeading=(children,index)=>{let formattedHeading=\"\";let formattedId=\"\";if(typeof children===\"string\"){formattedHeading=children;}else if(Array.isArray(children)){formattedHeading=children.map(item=>{var _item_props;if(typeof item===\"string\")return item.trim();if(typeof((_item_props=item.props)===null||_item_props===void 0?void 0:_item_props.children)===\"string\")return item.props.children.trim();}).join(\" \");}else if(typeof children===\"object\"){if(typeof children.props.children===\"string\"){formattedHeading=children.props.children;}else{formattedHeading=children.type;}}else{formattedHeading=index.toString();}formattedId=formattedHeading.toLowerCase().replace(/[^a-z0-9]+/g,\"-\").replace(/^-+|-+$/g,\"\").trim();return{formattedId,formattedHeading};};export const formatTableOfContent=children=>{const result=[];children.length>0&&children.filter(({type})=>HEADINGS.includes(type)).map((item,index)=>{const children=item.props.children;const{formattedId,formattedHeading}=formatHeading(children,index);result.push({id:formattedId,heading:formattedHeading,type:item.type,originalIndex:index});});return result;};export const formatHeadings=props=>{const newChildren=[];props.children.props.children.forEach((item,index)=>{const children=item.props.children;if(HEADINGS.includes(item.type)){const{formattedId}=formatHeading(children,index);// Create a new object for the modified item\nconst newItem={...item,props:{...item.props,id:formattedId}};newChildren.push(newItem);}else{newChildren.push(item);}});// Return a new props object with the modified children\nreturn{...props,children:{...props.children,props:{...props.children.props,children:newChildren}}};};\nexport const __FramerMetadata__ = {\"exports\":{\"formatTableOfContent\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"HEADINGS\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"formatHeadings\":{\"type\":\"variable\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Utils.map","// @framerDisableUnlink\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useEffect,useState,useRef,Fragment}from\"react\";import{motion}from\"framer-motion\";import{formatHeadings,formatTableOfContent}from\"https://framer.com/m/Utils-WIyM.js\";// Top level — always listed by every TOC variant.\nconst HEADING_TO_DISPLAY=[\"h2\"];// Sub-levels the nested TOC reveals under whichever h2 is currently\n// active. Site rule (Golan, 9 Nov 2026): tables of contents never show a\n// second level, so this stays empty and every export lists h2 only.\n// Put \"h3\" back here to bring nested entries back.\nconst NESTED_SUB_HEADINGS=[];// Everything that gets an id, is collected, and drives active tracking.\nconst TRACKED_HEADINGS=[...HEADING_TO_DISPLAY,...NESTED_SUB_HEADINGS];// Sub-headings of the previous section are pulled out at once, but the\n// new ones wait this long before going in, so the two moves don't\n// overlap and fight each other mid-animation.\nconst NESTED_REVEAL_DELAY=300;// Entrance of a revealed sub-heading: rises this many pixels while it\n// fades in.\nconst NESTED_ENTER_OFFSET=12;const NESTED_ENTER_DURATION=.6;const NESTED_ENTER_EASE=[.6,0,.05,1];// Each sub-heading starts this much later than the one above it.\nconst NESTED_ENTER_STAGGER=.05;const SCROLL_MARGIN_TOP=160;const ACTIVE_OFFSET=200;const useStore=createStore({headingsByInstance:{},activeId:null,domHeadings:[]});let instanceCounter=0;let lastActiveId=undefined;// Computes the active heading across ALL content instances on the page\n// (a post can contain several rich-text blocks, each with its own\n// override instance). Hidden breakpoint copies are skipped, and every\n// instance's scroll listener writes the same value, so they no longer\n// overwrite each other's result.\nfunction updateActiveHeading(setStore){const markers=document.querySelectorAll(\"[data-content-marker], [data-justified-marker], [data-headings-container-marker]\");const selector=TRACKED_HEADINGS.join(\", \");const seen=new Set;let currentId=null;markers.forEach(marker=>{// headings-container-marker sits on the container itself, not a\n// hidden sibling, so it doesn't need the parentElement hop.\nconst wrapper=marker.hasAttribute(\"data-headings-container-marker\")?marker:marker.parentElement;if(!wrapper||seen.has(wrapper))return;seen.add(wrapper);wrapper.querySelectorAll(selector).forEach(el=>{if(!el.id)return;if(el.getClientRects().length===0)return;// hidden copy\nconst rect=el.getBoundingClientRect();if(rect.top-ACTIVE_OFFSET<=0){currentId=el.id;}});});if(currentId!==lastActiveId){lastActiveId=currentId;setStore(prev=>({...prev,activeId:currentId}));}}function getAllHeadingsSorted(headingsByInstance){const all=Object.values(headingsByInstance).flat();return all.sort((a,b)=>{const elA=document.getElementById(a.id);const elB=document.getElementById(b.id);if(!elA||!elB)return a._globalIndex-b._globalIndex;const rectA=elA.getBoundingClientRect();const rectB=elB.getBoundingClientRect();return rectA.top-rectB.top;});}function collectDomHeadings(container){if(!container)return[];const selector=TRACKED_HEADINGS.join(\", \");const elements=container.querySelectorAll(selector);const headings=[];elements.forEach((el,i)=>{if(!el.id){el.id=`dom-heading-${instanceCounter}-${i}-${Date.now()}`;}headings.push({id:el.id,heading:el.textContent.trim(),type:el.tagName.toLowerCase(),_globalIndex:i});});return headings;}// Every tracked heading inside the page's content containers that is\n// actually on screen (hidden breakpoint copies are skipped), in order.\nfunction collectVisibleHeadings(){if(typeof document===\"undefined\")return[];const markers=document.querySelectorAll(\"[data-content-marker], [data-justified-marker], [data-headings-container-marker]\");const selector=TRACKED_HEADINGS.join(\", \");const seen=new Set;const out=[];markers.forEach(marker=>{const wrapper=marker.hasAttribute(\"data-headings-container-marker\")?marker:marker.parentElement;if(!wrapper||seen.has(wrapper))return;seen.add(wrapper);wrapper.querySelectorAll(selector).forEach((el,i)=>{if(el.getClientRects().length===0)return;if(!el.id)el.id=`live-heading-${out.length}-${i}`;out.push({id:el.id,heading:el.textContent.trim(),type:el.tagName.toLowerCase(),_globalIndex:out.length});});});return out;}// For every heading, the index of the h2 it belongs to (itself, if it\n// is an h2). Lets the nested TOC ask \"is my section the active one?\".\nfunction mapParentSections(headings){let current=-1;return headings.map(({type},i)=>{if(HEADING_TO_DISPLAY.includes(type)){current=i;return i;}return current;});}// Which h2 the reader is inside: the last top-level heading at or\n// before the heading currently under the scroll offset. An h2 therefore\n// stays lit while the reader passes through its h3s.\nfunction resolveSectionIndex(headings,parentSections,activeId){if(!activeId)return-1;const i=headings.findIndex(h=>h.id===activeId);if(i===-1)return-1;return parentSections[i];}function createTableOfContent(firstAlwaysActive,nested,alwaysOpen=false){return Component=>{return props=>{const[store]=useStore();const[sortedHeadings,setSortedHeadings]=useState([]);useEffect(()=>{const timer=setTimeout(()=>{const fromStore=getAllHeadingsSorted(store.headingsByInstance);let merged=store.domHeadings.length>fromStore.length?store.domHeadings:fromStore;// Nested lists read the visible article directly, so\n// sub-headings show even when the content parser only\n// reports top-level ones or rendered late.\nif(nested){const live=collectVisibleHeadings();if(live.length>merged.length)merged=live;}setSortedHeadings(merged);},100);return()=>clearTimeout(timer);},[store.headingsByInstance,store.domHeadings,nested?store.activeId:null]);const scrollToHeading=id=>{const el=document.getElementById(id);if(!el)return;const y=el.getBoundingClientRect().top+window.scrollY-SCROLL_MARGIN_TOP;window.scrollTo({top:y,behavior:\"smooth\"});};const tracked=sortedHeadings.filter(({type})=>TRACKED_HEADINGS.includes(type));const parentSections=mapParentSections(tracked);const scrolledSection=resolveSectionIndex(tracked,parentSections,store.activeId);const firstSection=parentSections.findIndex((p,i)=>p===i);const activeSection=scrolledSection!==-1?scrolledSection:firstAlwaysActive?firstSection:-1;// The section whose sub-headings are on screen right now. It\n// trails activeSection: on a change everything collapses\n// first, and the new sub-headings arrive a beat later.\nconst[revealedSection,setRevealedSection]=useState(-1);useEffect(()=>{if(!nested||activeSection===revealedSection)return;setRevealedSection(-1);const timer=setTimeout(()=>setRevealedSection(activeSection),NESTED_REVEAL_DELAY);return()=>clearTimeout(timer);},[activeSection]);// Flat lists carry top-level headings only. Nested lists add\n// the sub-headings of the revealed section, and nothing else.\nconst visibleHeadings=tracked.filter(({type},i)=>{if(HEADING_TO_DISPLAY.includes(type))return true;if(!nested)return false;if(alwaysOpen)return true;if(revealedSection===-1)return false;return parentSections[i]===revealedSection;});// Position of each sub-heading within the revealed group,\n// counted top-down, so they come in one after another.\nconst subOrder=new Map;visibleHeadings.forEach(({id,type})=>{if(!HEADING_TO_DISPLAY.includes(type)){subOrder.set(id,subOrder.size);}});return /*#__PURE__*/_jsx(_Fragment,{children:visibleHeadings.length>0?visibleHeadings.map(item=>{const{id,heading,type}=item;const index=tracked.indexOf(item);const isSection=HEADING_TO_DISPLAY.includes(type);// A section stays active while one of its\n// sub-headings is; a sub-heading lights up\n// only when it is the one being read.\nconst isActive=isSection?index===activeSection:id===store.activeId;const variant=isActive?`${type} active`:type;const row=/*#__PURE__*/_jsx(Component,{...props,variant:variant,title:heading,onClick:()=>scrollToHeading(id)});// Sections are always on screen, so only the\n// sub-headings get a wrapper to animate in\n// — the h2 rows keep their original layout.\nif(isSection){return /*#__PURE__*/_jsx(Fragment,{children:row},id);}return /*#__PURE__*/_jsx(motion.div,{style:{display:\"flex\",flexDirection:\"column\"},initial:{opacity:0,y:NESTED_ENTER_OFFSET},animate:{opacity:1,y:0},transition:{duration:NESTED_ENTER_DURATION,ease:NESTED_ENTER_EASE,delay:(subOrder.get(id)??0)*NESTED_ENTER_STAGGER},children:row},id);}):/*#__PURE__*/_jsx(Component,{...props})});};};}/**\n * @framerDisableUnlink\n */export function withTableOfContent(Component){return createTableOfContent(false,false)(Component);}/**\n * First recognized heading is highlighted as active until the user\n * scrolls past another heading — the TOC never shows an empty state.\n *\n * @framerDisableUnlink\n */export function withTableOfContentFirstActive(Component){return createTableOfContent(true,false)(Component);}/**\n * Nested list: every h2 is always listed, and the sub-headings of the\n * h2 the reader is currently inside are listed under it. Scrolling into\n * the next section collapses the previous one.\n *\n * The linked component needs a variant per level — \"h3\" and \"h3 active\"\n * alongside \"h2\" and \"h2 active\" — indented however you like.\n *\n * @framerDisableUnlink\n */export function withNestedTableOfContent(Component){return createTableOfContent(false,true)(Component);}/**\n * Nested list that opens on the first section, so the TOC is never\n * fully collapsed before the reader scrolls.\n *\n * @framerDisableUnlink\n */export function withNestedTableOfContentFirstActive(Component){return createTableOfContent(true,true)(Component);}/**\n * @framerDisableUnlink\n */export function withContent(Component){return props=>{const[store,setStore]=useStore();const[newProps,setNewProps]=useState(props);const containerRef=useRef(null);const[instanceId]=useState(()=>`content-${instanceCounter++}`);useEffect(()=>{const newHeadings=formatTableOfContent(newProps.children.props.children).map((h,i)=>({...h,_globalIndex:instanceCounter*1e3+i}));setStore(prev=>({headingsByInstance:{...prev.headingsByInstance,[instanceId]:newHeadings}}));},[newProps]);useEffect(()=>{return()=>{setStore(prev=>{const updated={...prev.headingsByInstance};delete updated[instanceId];return{headingsByInstance:updated};});};},[]);useEffect(()=>{setNewProps(formatHeadings(props));},[props]);// DOM-based heading collection as fallback\nuseEffect(()=>{const timer=setTimeout(()=>{const marker=containerRef.current;if(!marker)return;const wrapper=marker.parentElement;if(!wrapper)return;const domHeadings=collectDomHeadings(wrapper);if(domHeadings.length>0){setStore(prev=>({...prev,domHeadings}));}},300);return()=>clearTimeout(timer);},[newProps]);// Scroll tracking using live DOM queries\nuseEffect(()=>{const onScroll=()=>updateActiveHeading(setStore);window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[newProps]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{ref:containerRef,style:{display:\"none\"},\"data-content-marker\":true}),/*#__PURE__*/_jsx(\"style\",{children:`.framer-text { scroll-margin-top: ${SCROLL_MARGIN_TOP}px; }`}),/*#__PURE__*/_jsx(Component,{...newProps})]});};}/**\n * @framerDisableUnlink\n */export function withJustifiedContent(Component){return props=>{const[store,setStore]=useStore();const[newProps,setNewProps]=useState(props);const containerRef=useRef(null);const markerRef=useRef(null);const[instanceId]=useState(()=>`content-${instanceCounter++}`);useEffect(()=>{const newHeadings=formatTableOfContent(newProps.children.props.children).map((h,i)=>({...h,_globalIndex:instanceCounter*1e3+i}));setStore(prev=>({headingsByInstance:{...prev.headingsByInstance,[instanceId]:newHeadings}}));},[newProps]);useEffect(()=>{return()=>{setStore(prev=>{const updated={...prev.headingsByInstance};delete updated[instanceId];return{headingsByInstance:updated};});};},[]);useEffect(()=>{setNewProps(formatHeadings(props));},[props]);// DOM-based heading collection as fallback\nuseEffect(()=>{const timer=setTimeout(()=>{const marker=markerRef.current;if(!marker)return;const wrapper=marker.parentElement;if(!wrapper)return;const domHeadings=collectDomHeadings(wrapper);if(domHeadings.length>0){setStore(prev=>({...prev,domHeadings}));}},300);return()=>clearTimeout(timer);},[newProps]);// Scroll tracking using live DOM queries\nuseEffect(()=>{const onScroll=()=>updateActiveHeading(setStore);window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[newProps]);useEffect(()=>{const MOBILE_BREAKPOINT=768;const justify=()=>{const isMobile=window.innerWidth<MOBILE_BREAKPOINT;if(!containerRef.current)return;const elements=containerRef.current.querySelectorAll(\"p, li\");elements.forEach(el=>{el.style.setProperty(\"text-align\",isMobile?\"left\":\"justify\",\"important\");});};const timer=setTimeout(()=>{const styleTag=document.querySelector(\"[data-justified-content]\");if(styleTag&&styleTag.parentElement){containerRef.current=styleTag.parentElement;justify();const observer=new MutationObserver(justify);observer.observe(containerRef.current,{childList:true,subtree:true});window.addEventListener(\"resize\",justify);}},100);return()=>{clearTimeout(timer);window.removeEventListener(\"resize\",justify);};},[newProps]);return /*#__PURE__*/_jsxs(_Fragment,{children:[/*#__PURE__*/_jsx(\"span\",{ref:markerRef,style:{display:\"none\"},\"data-justified-marker\":true}),/*#__PURE__*/_jsx(\"style\",{\"data-justified-content\":true,children:`\n                    .framer-text {\n                        scroll-margin-top: ${SCROLL_MARGIN_TOP}px;\n                    }\n                `}),/*#__PURE__*/_jsx(Component,{...newProps})]});};}/**\n * Reads headings directly from the DOM instead of parsing a \"content\"\n * rich-text prop, so it can be applied to any Stack/Frame and will pick\n * up every heading nested inside it, however deep. The ref is forwarded\n * straight to Component (Framer forwards it to the layer's real DOM\n * node), so the container itself — not some sibling's parent — is what\n * gets scanned and marked for active-heading tracking.\n *\n * @framerDisableUnlink\n */export function withHeadingsContainer(Component){return props=>{const[,setStore]=useStore();const containerRef=useRef(null);const[instanceId]=useState(()=>`headings-container-${instanceCounter++}`);const lastIdsRef=useRef(\"\");useEffect(()=>{const wrapper=containerRef.current;if(!wrapper)return;wrapper.setAttribute(\"data-headings-container-marker\",\"\");const collect=()=>{const domHeadings=collectDomHeadings(wrapper);const idsKey=domHeadings.map(h=>h.id).join(\",\");if(idsKey===lastIdsRef.current)return;lastIdsRef.current=idsKey;setStore(prev=>({...prev,headingsByInstance:{...prev.headingsByInstance,[instanceId]:domHeadings}}));};const timer=setTimeout(collect,100);const observer=new MutationObserver(collect);observer.observe(wrapper,{childList:true,subtree:true,characterData:true});return()=>{clearTimeout(timer);observer.disconnect();};},[]);useEffect(()=>{return()=>{setStore(prev=>{const updated={...prev.headingsByInstance};delete updated[instanceId];return{...prev,headingsByInstance:updated};});};},[]);// Drives active-heading tracking — without this, activeId never\n// updates when withHeadingsContainer is the only source on the page.\nuseEffect(()=>{const onScroll=()=>updateActiveHeading(setStore);window.addEventListener(\"scroll\",onScroll,{passive:true});onScroll();return()=>window.removeEventListener(\"scroll\",onScroll);},[]);return /*#__PURE__*/_jsx(Component,{...props,ref:containerRef});};}/**\n * Nested list with every sub-heading always listed under its h2 (no\n * collapsing). Used on customer stories so each use case is in the nav.\n * Needs \"h3\" and \"h3 active\" variants on the linked component.\n *\n * @framerDisableUnlink\n */export function withNestedTableOfContentAlwaysOpen(Component){return createTableOfContent(true,true,true)(Component);}\nexport const __FramerMetadata__ = {\"exports\":{\"withJustifiedContent\":{\"type\":\"reactHoc\",\"name\":\"withJustifiedContent\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withNestedTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withNestedTableOfContent\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withTableOfContentFirstActive\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContentFirstActive\",\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"withNestedTableOfContentAlwaysOpen\":{\"type\":\"reactHoc\",\"name\":\"withNestedTableOfContentAlwaysOpen\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withNestedTableOfContentFirstActive\":{\"type\":\"reactHoc\",\"name\":\"withNestedTableOfContentFirstActive\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withHeadingsContainer\":{\"type\":\"reactHoc\",\"name\":\"withHeadingsContainer\",\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"withContent\":{\"type\":\"reactHoc\",\"name\":\"withContent\",\"annotations\":{\"framerContractVersion\":\"1\",\"framerDisableUnlink\":\"\"}},\"withTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContent\",\"annotations\":{\"framerDisableUnlink\":\"\",\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOfContentsOverrides.map"],"mappings":"A,qhBAC2uB,SAASsD,EAAqB,EAAU,GAAGC,EAAS,CAAC,IAAMC,EAAc,CAAC,EAAuF,OAArFD,GAAU,QAAQ,GAASE,GAAS,OAAO,OAAOD,EAAcE,EAAUD,EAAQ,CAAC,EAASD,CAAc,C,mFAArd,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,mBAAmB,UAAU,kBA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