{"version":3,"file":"TableOfContentsCMS.CHCloeFk.mjs","names":["useState","useMemo","container","useCallback","__esmMin","init_npm_react_18_3_1","te","pe","window","init_ssg_sandbox_shims","ce","init_jsx_runtime","ne","c","_e","addPropertyControls","ControlType","init_framer_BisrWwwE","TableOfContents","props","headings","setHeadings","activeId","setActiveId","headingLevels","levels","includeH1","includeH2","includeH3","includeH4","includeH5","includeH6","levelNumbers","level","minLevel","headingsWithNumbers","counters","heading","numberParts","selector","headingElements","items","htmlElement","element","id","index","observerCallback","targetY","activationPosition","scrollOffset","closestHeading","closestDistance","headingY","distance","handleClick","yOffset","y","smoothScroll","showBorder","borderWidth","borderColor","font","textColor","itemSpacing","showList","listType","isActive","indent","indentNested","indentSize","headingWithNumber","showActiveIndicator","indicatorShape","indicatorWidth","indicatorSize","indicatorColor","enableAnimation","animationDuration","animationEasing","indicatorSpacing","activeFont","activeColor","uppercase","hoverColor","listColor","init_TableOfContentsCMS"],"sources":["https:/framerusercontent.com/modules/ERZN04Z9urHop7K7rtaS/Q0Ht2LgltzCFdsbR5vHp/TableOfContentsCMS.js"],"sourcesContent":["// Automatic Table of Contents component with heading detection, smooth scrolling, and active section highlighting\nimport{jsx as _jsx,jsxs as _jsxs}from\"react/jsx-runtime\";import{useEffect,useState,useCallback,startTransition,useMemo}from\"react\";import{addPropertyControls,ControlType}from\"framer\";/**\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight any-prefer-fixed\n */export default function TableOfContents(props){const{headings:{includeH1=false,includeH2=true,includeH3=true,includeH4=false,includeH5=false,includeH6=false}={},colors:{backgroundColor=\"#FFFFFF\",textColor=\"#000000\",activeColor=\"#0099FF\",hoverColor=\"#0066FF\"}={},typography:{font,activeFont,uppercase=false}={},layout:{padding=20,itemSpacing=12}={},border:{showBorder=true,borderColor=\"#EEEEEE\",borderWidth=1,borderRadius=8}={},indentation:{indentNested=true,indentSize=20}={},scrolling:{smoothScroll=true,scrollOffset=80,activationPosition=\"center\"}={},activeIndicator:{showActiveIndicator=true,indicatorColor=\"#0099FF\",indicatorWidth=3,indicatorShape=\"line\",indicatorSize=12,indicatorSpacing=8}={},animation:{enableAnimation=true,animationDuration=200,animationEasing=\"ease\"}={},listVisualization:{showList=false,listType=\"unordered\",listColor=\"#000000\"}={}}=props;const[headings,setHeadings]=useState([]);const[activeId,setActiveId]=useState(\"\");const headingLevels=useMemo(()=>{const levels=[];if(includeH1)levels.push(\"H1\");if(includeH2)levels.push(\"H2\");if(includeH3)levels.push(\"H3\");if(includeH4)levels.push(\"H4\");if(includeH5)levels.push(\"H5\");if(includeH6)levels.push(\"H6\");return levels;},[includeH1,includeH2,includeH3,includeH4,includeH5,includeH6]);const levelNumbers=useMemo(()=>{return headingLevels.map(level=>parseInt(level.replace(\"H\",\"\")));},[headingLevels]);const minLevel=useMemo(()=>Math.min(...levelNumbers),[levelNumbers]);// Calculate hierarchical numbering for each heading\nconst headingsWithNumbers=useMemo(()=>{const counters={};return headings.map(heading=>{// Reset deeper level counters when we encounter a higher level\nObject.keys(counters).forEach(level=>{if(parseInt(level)>heading.level){delete counters[parseInt(level)];}});// Increment counter for current level\ncounters[heading.level]=(counters[heading.level]||0)+1;// Build hierarchical number (e.g., \"1.2.3\")\nconst numberParts=[];for(let level=minLevel;level<=heading.level;level++){if(counters[level]){numberParts.push(counters[level]);}}return{...heading,hierarchicalNumber:numberParts.join(\".\")};});},[headings,minLevel]);useEffect(()=>{if(typeof window===\"undefined\")return;const selector=headingLevels.map(level=>level.toLowerCase()).join(\", \");// Determine the container to search within\nconst container=document;const headingElements=container.querySelectorAll(selector);const items=[];headingElements.forEach((element,index)=>{const htmlElement=element;let id=htmlElement.id;if(!id){id=`heading-${index}-${htmlElement.textContent?.toLowerCase().replace(/\\s+/g,\"-\")}`;htmlElement.id=id;}items.push({id,text:htmlElement.textContent||\"\",level:parseInt(htmlElement.tagName.replace(\"H\",\"\")),element:htmlElement});});startTransition(()=>setHeadings(items));},[headingLevels]);useEffect(()=>{if(typeof window===\"undefined\"||headings.length===0)return;const observerCallback=()=>{// Find which heading is currently at the activation position\nlet targetY=0;if(activationPosition===\"top\"){targetY=scrollOffset;}else if(activationPosition===\"center\"){targetY=window.innerHeight/2;}else{// bottom\ntargetY=window.innerHeight-scrollOffset;}let closestHeading=null;let closestDistance=Infinity;headings.forEach(heading=>{if(heading.element){const rect=heading.element.getBoundingClientRect();const headingY=rect.top;const distance=Math.abs(headingY-targetY);// Only consider headings that are above or at the target position\nif(headingY<=targetY&&distance<closestDistance){closestDistance=distance;closestHeading=heading;}}});// If no heading is above the target, use the first one that's below\nif(!closestHeading){headings.forEach(heading=>{if(heading.element){const rect=heading.element.getBoundingClientRect();const headingY=rect.top;const distance=Math.abs(headingY-targetY);if(distance<closestDistance){closestDistance=distance;closestHeading=heading;}}});}if(closestHeading){startTransition(()=>setActiveId(closestHeading.id));}};// Run on scroll\nwindow.addEventListener(\"scroll\",observerCallback,{passive:true});// Run initially\nobserverCallback();return()=>{window.removeEventListener(\"scroll\",observerCallback);};},[headings,scrollOffset,activationPosition]);const handleClick=useCallback(id=>{if(typeof window===\"undefined\")return;const element=document.getElementById(id);if(!element)return;const yOffset=-scrollOffset;const y=element.getBoundingClientRect().top+window.pageYOffset+yOffset;if(smoothScroll){window.scrollTo({top:y,behavior:\"smooth\"});}else{window.scrollTo({top:y});}startTransition(()=>setActiveId(id));},[scrollOffset,smoothScroll]);if(headings.length===0){return /*#__PURE__*/_jsx(\"div\",{style:{width:\"100%\",padding,backgroundColor,borderRadius,border:showBorder?`${borderWidth}px solid ${borderColor}`:\"none\",...font,color:textColor,opacity:.5},children:\"No headings found on page\"});}return /*#__PURE__*/_jsx(\"nav\",{style:{width:\"100%\",padding,backgroundColor,borderRadius,border:showBorder?`${borderWidth}px solid ${borderColor}`:\"none\"},\"aria-label\":\"Table of contents\",children:/*#__PURE__*/_jsx(\"ul\",{style:{listStyle:\"none\",margin:0,padding:0,display:\"flex\",flexDirection:\"column\",gap:itemSpacing,counterReset:showList&&listType===\"numbered\"?\"toc-counter\":undefined},children:headings.map((heading,index)=>{const isActive=activeId===heading.id;const indent=indentNested?(heading.level-minLevel)*indentSize:0;const headingWithNumber=headingsWithNumbers[index];return /*#__PURE__*/_jsxs(\"li\",{style:{position:\"relative\",paddingLeft:indent},children:[showActiveIndicator&&isActive&&/*#__PURE__*/_jsx(\"div\",{style:{position:\"absolute\",left:indent,top:indicatorShape===\"line\"?0:\"50%\",bottom:indicatorShape===\"line\"?0:undefined,width:indicatorShape===\"line\"?indicatorWidth:indicatorSize,height:indicatorShape===\"line\"?undefined:indicatorSize,transform:indicatorShape===\"line\"?undefined:\"translateY(-50%)\",backgroundColor:indicatorColor,borderRadius:indicatorShape===\"line\"?indicatorWidth/2:indicatorShape===\"circle\"?\"50%\":indicatorShape===\"rounded\"?indicatorSize/4:0,transition:enableAnimation?`opacity ${animationDuration}ms ${animationEasing}, transform ${animationDuration}ms ${animationEasing}`:\"none\"}}),/*#__PURE__*/_jsxs(\"button\",{onClick:()=>handleClick(heading.id),style:{width:\"100%\",textAlign:\"left\",background:\"none\",border:\"none\",padding:0,paddingLeft:showActiveIndicator?(indicatorShape===\"line\"?indicatorWidth:indicatorSize)+indicatorSpacing:0,cursor:\"pointer\",transition:enableAnimation?`color ${animationDuration}ms ${animationEasing}`:\"none\",...isActive?activeFont:font,color:isActive?activeColor:textColor,textTransform:uppercase?\"uppercase\":\"none\",display:\"flex\",alignItems:\"flex-start\",gap:showList?8:0},onMouseEnter:e=>{if(!isActive){e.currentTarget.style.color=hoverColor;}},onMouseLeave:e=>{if(!isActive){e.currentTarget.style.color=textColor;}},children:[showList&&/*#__PURE__*/_jsx(\"span\",{style:{color:listColor,flexShrink:0,counterIncrement:listType===\"numbered\"?\"toc-counter\":undefined,paddingTop:\"0.1em\"},children:listType===\"numbered\"?/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-block\"},children:[headingWithNumber.hierarchicalNumber,\".\"]}):\"•\"}),heading.text]})]},heading.id);})})});}addPropertyControls(TableOfContents,{headings:{type:ControlType.Object,title:\"Headings\",controls:{includeH1:{type:ControlType.Boolean,title:\"H1\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},includeH2:{type:ControlType.Boolean,title:\"H2\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},includeH3:{type:ControlType.Boolean,title:\"H3\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},includeH4:{type:ControlType.Boolean,title:\"H4\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},includeH5:{type:ControlType.Boolean,title:\"H5\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},includeH6:{type:ControlType.Boolean,title:\"H6\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"}}},colors:{type:ControlType.Object,title:\"Colors\",controls:{backgroundColor:{type:ControlType.Color,title:\"Background\",defaultValue:\"#FFFFFF\"},textColor:{type:ControlType.Color,title:\"Text\",defaultValue:\"#000000\"},activeColor:{type:ControlType.Color,title:\"Active\",defaultValue:\"#0099FF\"},hoverColor:{type:ControlType.Color,title:\"Hover\",defaultValue:\"#0066FF\"}}},typography:{type:ControlType.Object,title:\"Typography\",controls:{font:{type:ControlType.Font,title:\"Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Medium\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},activeFont:{type:ControlType.Font,title:\"Active Font\",controls:\"extended\",defaultFontType:\"sans-serif\",defaultValue:{fontSize:\"15px\",variant:\"Semibold\",letterSpacing:\"-0.01em\",lineHeight:\"1.3em\"}},uppercase:{type:ControlType.Boolean,title:\"Uppercase\",defaultValue:false,enabledTitle:\"Yes\",disabledTitle:\"No\"}}},layout:{type:ControlType.Object,title:\"Layout\",controls:{padding:{type:ControlType.Number,title:\"Padding\",defaultValue:20,min:0,max:60,step:4,unit:\"px\"},itemSpacing:{type:ControlType.Number,title:\"Item Spacing\",defaultValue:12,min:0,max:40,step:2,unit:\"px\"}}},listVisualization:{type:ControlType.Object,title:\"List Visualization\",controls:{showList:{type:ControlType.Boolean,title:\"Show List\",defaultValue:false,enabledTitle:\"Show\",disabledTitle:\"Hide\"},listType:{type:ControlType.Enum,title:\"List Type\",options:[\"unordered\",\"numbered\"],optionTitles:[\"Unordered (•)\",\"Numbered (1, 2, 3)\"],defaultValue:\"unordered\",displaySegmentedControl:true,hidden:({showList})=>!showList},listColor:{type:ControlType.Color,title:\"List Color\",defaultValue:\"#000000\",hidden:({showList})=>!showList}}},border:{type:ControlType.Object,title:\"Border\",controls:{showBorder:{type:ControlType.Boolean,title:\"Show Border\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},borderColor:{type:ControlType.Color,title:\"Border Color\",defaultValue:\"#EEEEEE\",hidden:({showBorder})=>!showBorder},borderWidth:{type:ControlType.Number,title:\"Border Width\",defaultValue:1,min:1,max:10,step:1,unit:\"px\",hidden:({showBorder})=>!showBorder},borderRadius:{type:ControlType.Number,title:\"Border Radius\",defaultValue:8,min:0,max:32,step:1,unit:\"px\"}}},indentation:{type:ControlType.Object,title:\"Indentation\",controls:{indentNested:{type:ControlType.Boolean,title:\"Indent Nested\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},indentSize:{type:ControlType.Number,title:\"Indent Size\",defaultValue:20,min:0,max:60,step:4,unit:\"px\",hidden:({indentNested})=>!indentNested}}},scrolling:{type:ControlType.Object,title:\"Scrolling\",controls:{activationPosition:{type:ControlType.Enum,title:\"Activate At\",options:[\"top\",\"center\",\"bottom\"],optionTitles:[\"Top\",\"Center\",\"Bottom\"],defaultValue:\"center\",displaySegmentedControl:true},smoothScroll:{type:ControlType.Boolean,title:\"Smooth Scroll\",defaultValue:true,enabledTitle:\"Yes\",disabledTitle:\"No\"},scrollOffset:{type:ControlType.Number,title:\"Scroll Offset\",defaultValue:80,min:0,max:200,step:10,unit:\"px\"}}},activeIndicator:{type:ControlType.Object,title:\"Active Indicator\",controls:{showActiveIndicator:{type:ControlType.Boolean,title:\"Show\",defaultValue:true,enabledTitle:\"Show\",disabledTitle:\"Hide\"},indicatorShape:{type:ControlType.Enum,title:\"Shape\",options:[\"line\",\"circle\",\"square\",\"rounded\"],optionTitles:[\"Line\",\"Circle\",\"Square\",\"Rounded\"],defaultValue:\"line\",displaySegmentedControl:false,hidden:({showActiveIndicator})=>!showActiveIndicator},indicatorColor:{type:ControlType.Color,title:\"Color\",defaultValue:\"#0099FF\",hidden:({showActiveIndicator})=>!showActiveIndicator},indicatorWidth:{type:ControlType.Number,title:\"Width\",defaultValue:3,min:1,max:10,step:1,unit:\"px\",hidden:({showActiveIndicator,indicatorShape})=>!showActiveIndicator||indicatorShape!==\"line\"},indicatorSize:{type:ControlType.Number,title:\"Size\",defaultValue:12,min:4,max:32,step:1,unit:\"px\",hidden:({showActiveIndicator,indicatorShape})=>!showActiveIndicator||indicatorShape===\"line\"},indicatorSpacing:{type:ControlType.Number,title:\"Spacing\",defaultValue:8,min:0,max:32,step:2,unit:\"px\",hidden:({showActiveIndicator})=>!showActiveIndicator}}},animation:{type:ControlType.Object,title:\"Animation\",controls:{enableAnimation:{type:ControlType.Boolean,title:\"Enable\",defaultValue:true,enabledTitle:\"On\",disabledTitle:\"Off\"},animationDuration:{type:ControlType.Number,title:\"Duration\",defaultValue:200,min:0,max:1e3,step:50,unit:\"ms\",hidden:({enableAnimation})=>!enableAnimation},animationEasing:{type:ControlType.Enum,title:\"Easing\",options:[\"linear\",\"ease\",\"ease-in\",\"ease-out\",\"ease-in-out\"],optionTitles:[\"Linear\",\"Ease\",\"Ease In\",\"Ease Out\",\"Ease In Out\"],defaultValue:\"ease\",displaySegmentedControl:false,hidden:({enableAnimation})=>!enableAnimation}}}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"TableOfContents\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutW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