{"version":3,"file":"TableofContents.BdxSLbbI.mjs","names":["React.useContext","React.useMemo","React.Fragment","React.forwardRef","useRef","React.useId","sharedStyle.className","sharedStyle1.className","className","RichText","sharedStyle.css","sharedStyle1.css","sharedStyle.fonts","sharedStyle1.fonts","useMemo","_Fragment","useRef"],"sources":["https:/framerusercontent.com/modules/haPKhqBz46bNJKsZIqLU/pLapSgcMNQGYOh9watQP/Njst6JPxH.js","https:/framerusercontent.com/modules/cK9Ey3UrcItp5p2GdE97/KA3fynjqcsLqogMK42Tq/TableofContents.js"],"sourcesContent":["// Generated by Framer (d039229)\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/e7GIiTJyHvjqrHzdu3S3/TqlZwtVulHBI4QxwJsWW/LFbgrMECA.js\";import*as sharedStyle1 from\"https://framerusercontent.com/modules/uQ6BYDaeThU2rspESpLN/TSFdmtuuFgj6NN0Rzp0I/UE27_dReE.js\";const enabledGestures={bWF3YwsKK:{hover:true},ISwxEsL2W:{hover:true},L5BhZWYXx:{hover:true}};const cycleOrder=[\"L5BhZWYXx\",\"ISwxEsL2W\",\"bWF3YwsKK\",\"NFZnaLWME\",\"IX1pXMOLV\",\"KV69dlya1\"];const serializationHash=\"framer-E7DhN\";const variantClassNames={bWF3YwsKK:\"framer-v-v1swbb\",ISwxEsL2W:\"framer-v-1iwded9\",IX1pXMOLV:\"framer-v-jh61a0\",KV69dlya1:\"framer-v-1il57k2\",L5BhZWYXx:\"framer-v-1fk8sxl\",NFZnaLWME:\"framer-v-wdr5c6\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const KmqgAd4Qt=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 humanReadableVariantMap={\"h2-active\":\"NFZnaLWME\",\"h3-active\":\"IX1pXMOLV\",\"h4-active\":\"KV69dlya1\",h2:\"L5BhZWYXx\",h3:\"ISwxEsL2W\",h4:\"bWF3YwsKK\"};const Variants=motion.create(React.Fragment);const getProps=({height,id,title,width,...props})=>{return{...props,KmqgAd4Qt:title??props.KmqgAd4Qt??\"Title\",variant:humanReadableVariantMap[props.variant]??props.variant??\"L5BhZWYXx\"};};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,KmqgAd4Qt,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"L5BhZWYXx\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[sharedStyle.className,sharedStyle1.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-1fk8sxl\",className,classNames),\"data-framer-name\":\"h2\",layoutDependency:layoutDependency,layoutId:\"L5BhZWYXx\",ref:refBinding,style:{...style},...addPropertyOverrides({bWF3YwsKK:{\"data-framer-name\":\"h4\"},ISwxEsL2W:{\"data-framer-name\":\"h3\"},IX1pXMOLV:{\"data-framer-name\":\"h3-active\"},KV69dlya1:{\"data-framer-name\":\"h4-active\"},NFZnaLWME:{\"data-framer-name\":\"h2-active\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(motion.div,{className:\"framer-1jxjjiy\",\"data-framer-name\":\"Indicator\",layoutDependency:layoutDependency,layoutId:\"NB1yO4KSF\",children:/*#__PURE__*/_jsx(motion.div,{className:\"framer-14t5tkg\",\"data-framer-name\":\"Line\",layoutDependency:layoutDependency,layoutId:\"D4RunkIRD\",style:{backgroundColor:\"var(--token-680d981f-c7d5-482e-9570-fd1285278449, rgb(226, 231, 238))\"},variants:{\"bWF3YwsKK-hover\":{backgroundColor:\"var(--token-67b490dc-d3b7-4020-8dab-9b587b280140, rgb(173, 175, 179))\"},\"ISwxEsL2W-hover\":{backgroundColor:\"var(--token-67b490dc-d3b7-4020-8dab-9b587b280140, rgb(173, 175, 179))\"},\"L5BhZWYXx-hover\":{backgroundColor:\"var(--token-67b490dc-d3b7-4020-8dab-9b587b280140, rgb(173, 175, 179))\"},IX1pXMOLV:{backgroundColor:\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, color(display-p3 0.113725 0.819608 0.631373))\"},KV69dlya1:{backgroundColor:\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240))\"},NFZnaLWME:{backgroundColor:\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240))\"}}})}),/*#__PURE__*/_jsx(motion.div,{className:\"framer-e17cr1\",\"data-framer-name\":\"Content\",layoutDependency:layoutDependency,layoutId:\"XZNQJksqG\",style:{backgroundColor:\"rgba(247, 249, 250, 0)\",borderBottomLeftRadius:10,borderBottomRightRadius:10,borderTopLeftRadius:10,borderTopRightRadius:10},children:/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1b6epd4\",\"data-styles-preset\":\"LFbgrMECA\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21)))\"},children:\"Title\"})}),className:\"framer-1dqrfmz\",\"data-framer-name\":\"Title\",fonts:[\"Inter\"],layoutDependency:layoutDependency,layoutId:\"cRaGZKTbw\",style:{\"--extracted-r6o4lv\":\"var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21))\"},text:KmqgAd4Qt,variants:{\"bWF3YwsKK-hover\":{\"--extracted-r6o4lv\":\"var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21))\"},\"ISwxEsL2W-hover\":{\"--extracted-r6o4lv\":\"var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21))\"},bWF3YwsKK:{\"--extracted-r6o4lv\":\"var(--token-e4234725-7252-4c66-8f45-c3f1ca14132b, rgb(85, 90, 104))\"},ISwxEsL2W:{\"--extracted-r6o4lv\":\"var(--token-e4234725-7252-4c66-8f45-c3f1ca14132b, rgb(85, 90, 104))\"},IX1pXMOLV:{\"--extracted-r6o4lv\":\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240))\"},KV69dlya1:{\"--extracted-r6o4lv\":\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240))\"},NFZnaLWME:{\"--extracted-r6o4lv\":\"var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240))\"}},verticalAlignment:\"top\",withExternalLayout:true,...addPropertyOverrides({\"bWF3YwsKK-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21)))\"},children:\"Title\"})})},\"ISwxEsL2W-hover\":{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-8b2d5976-8611-420c-a88b-6e7346d0d6e2, rgb(15, 17, 21)))\"},children:\"Title\"})})},bWF3YwsKK:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e4234725-7252-4c66-8f45-c3f1ca14132b, rgb(85, 90, 104)))\"},children:\"Title\"})})},ISwxEsL2W:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-e4234725-7252-4c66-8f45-c3f1ca14132b, rgb(85, 90, 104)))\"},children:\"Title\"})})},IX1pXMOLV:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240)))\"},children:\"Title\"})})},KV69dlya1:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1wdsr2i\",\"data-styles-preset\":\"UE27_dReE\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240)))\"},children:\"Title\"})})},NFZnaLWME:{children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.p,{className:\"framer-styles-preset-1b6epd4\",\"data-styles-preset\":\"LFbgrMECA\",dir:\"auto\",style:{\"--framer-text-alignment\":\"left\",\"--framer-text-color\":\"var(--extracted-r6o4lv, var(--token-72f1587e-8bbc-424b-bdb9-13d999bb0e54, rgb(19, 60, 240)))\"},children:\"Title\"})})}},baseVariant,gestureVariant)})})]})})})});});const css=[\".framer-E7DhN.framer-17wryuu, .framer-E7DhN .framer-17wryuu { display: block; }\",\".framer-E7DhN.framer-1fk8sxl { align-content: center; align-items: center; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: min-content; justify-content: flex-start; padding: 0px; position: relative; width: 106px; }\",\".framer-E7DhN .framer-1jxjjiy { align-content: center; align-items: center; align-self: stretch; display: flex; flex: none; flex-direction: row; flex-wrap: nowrap; gap: 0px; height: auto; justify-content: flex-start; overflow: visible; padding: 0px; position: relative; width: 8px; }\",\".framer-E7DhN .framer-14t5tkg { flex: none; height: 100%; overflow: visible; position: relative; width: 1px; }\",\".framer-E7DhN .framer-e17cr1 { align-content: center; align-items: center; display: flex; flex: 1 0 0px; flex-direction: row; flex-wrap: nowrap; gap: 10px; height: min-content; justify-content: center; overflow: visible; padding: 6px 8px 6px 8px; position: relative; width: 1px; }\",'.framer-E7DhN .framer-1dqrfmz { --text-truncation-display-inline-for-safari-16: inline; --text-truncation-display-none-for-safari-16: none; --text-truncation-line-break-for-safari-16: \"\\\\A\"; -webkit-box-orient: vertical; -webkit-line-clamp: 1; display: -webkit-box; flex: 1 0 0px; height: auto; overflow: var(--overflow-clip-fallback, clip); position: relative; white-space: pre-line; width: 1px; word-break: break-word; word-wrap: break-word; }',\".framer-E7DhN.framer-v-1iwded9 .framer-e17cr1, .framer-E7DhN.framer-v-jh61a0 .framer-e17cr1 { padding: 4px 8px 4px 20px; }\",\".framer-E7DhN.framer-v-v1swbb .framer-e17cr1, .framer-E7DhN.framer-v-1il57k2 .framer-e17cr1 { padding: 4px 8px 4px 32px; }\",\".framer-E7DhN.framer-v-wdr5c6.framer-1fk8sxl, .framer-E7DhN.framer-v-jh61a0.framer-1fk8sxl, .framer-E7DhN.framer-v-1il57k2.framer-1fk8sxl { cursor: unset; }\",...sharedStyle.css,...sharedStyle1.css];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 32\n * @framerIntrinsicWidth 106\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"ISwxEsL2W\":{\"layout\":[\"fixed\",\"auto\"]},\"bWF3YwsKK\":{\"layout\":[\"fixed\",\"auto\"]},\"NFZnaLWME\":{\"layout\":[\"fixed\",\"auto\"]},\"IX1pXMOLV\":{\"layout\":[\"fixed\",\"auto\"]},\"KV69dlya1\":{\"layout\":[\"fixed\",\"auto\"]},\"h_rGjF0z3\":{\"layout\":[\"fixed\",\"auto\"]},\"R20O92oLw\":{\"layout\":[\"fixed\",\"auto\"]},\"f9ndFpYHl\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"KmqgAd4Qt\":\"title\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramerNjst6JPxH=withCSS(Component,css,\"framer-E7DhN\");export default FramerNjst6JPxH;FramerNjst6JPxH.displayName=\"Table of contents item\";FramerNjst6JPxH.defaultProps={height:32,width:106};addPropertyControls(FramerNjst6JPxH,{variant:{options:[\"L5BhZWYXx\",\"ISwxEsL2W\",\"bWF3YwsKK\",\"NFZnaLWME\",\"IX1pXMOLV\",\"KV69dlya1\"],optionTitles:[\"h2\",\"h3\",\"h4\",\"h2-active\",\"h3-active\",\"h4-active\"],title:\"Variant\",type:ControlType.Enum},KmqgAd4Qt:{defaultValue:\"Title\",displayTextArea:false,title:\"Title\",type:ControlType.String},onKmqgAd4QtChange:{changes:\"KmqgAd4Qt\",type:ControlType.ChangeHandler}});addFonts(FramerNjst6JPxH,[{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),...getFontsFromSharedStyle(sharedStyle1.fonts)],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"default\":{\"type\":\"reactComponent\",\"name\":\"FramerNjst6JPxH\",\"slots\":[],\"annotations\":{\"framerImmutableVariables\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerComponentViewportWidth\":\"true\",\"framerContractVersion\":\"1\",\"framerIntrinsicHeight\":\"32\",\"framerAutoSizeImages\":\"true\",\"framerIntrinsicWidth\":\"106\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"ISwxEsL2W\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"bWF3YwsKK\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"NFZnaLWME\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"IX1pXMOLV\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"KV69dlya1\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"h_rGjF0z3\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"R20O92oLw\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"f9ndFpYHl\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerColorSyntax\":\"true\",\"framerVariables\":\"{\\\"KmqgAd4Qt\\\":\\\"title\\\"}\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{createStore}from\"https://framer.com/m/framer/store.js@^1.0.0\";import{useEffect,useMemo,useRef}from\"react\";const HEADING_TO_DISPLAY=[\"h2\",\"h3\",\"h4\"];const SCROLL_MARGIN_TOP=160;// Store for headings data - added contentKey to track content changes\nconst useStore=createStore({headings:[],activeId:null,activeParentId:null,contentKey:\"\"});// Helper function to extract headings from React children\nfunction extractHeadings(children,headings=[],index={current:0}){if(!children)return headings;// Track IDs to handle duplicates\nconst idCounts=new Map;const processChild=child=>{if(!child)return;// Check if it's a heading element\nif(typeof child===\"object\"&&child.type){const type=typeof child.type===\"string\"?child.type.toLowerCase():\"\";if(HEADING_TO_DISPLAY.includes(type)){// Extract text content\nlet text=\"\";if(typeof child.props?.children===\"string\"){text=child.props.children;}else if(child.props?.children){text=extractText(child.props.children);}// Generate base ID from text or use existing id\nlet baseId=child.props?.id||generateId(text);// Handle duplicate IDs by adding a counter\nlet finalId=baseId;const count=idCounts.get(baseId)||0;if(count>0){finalId=`${baseId}-${count+1}`;}idCounts.set(baseId,count+1);headings.push({id:finalId,heading:text,type,originalIndex:index.current++});console.log(`📑 Found heading: ${type} - \"${text}\" (id: ${finalId})`);}}// Recursively process children\nif(child?.props?.children){if(Array.isArray(child.props.children)){child.props.children.forEach(processChild);}else{processChild(child.props.children);}}};if(Array.isArray(children)){children.forEach(processChild);}else{processChild(children);}return headings;}// Helper to extract text from nested children\nfunction extractText(children){if(typeof children===\"string\")return children;if(Array.isArray(children)){return children.map(extractText).join(\"\");}if(children?.props?.children){return extractText(children.props.children);}return\"\";}// Generate URL-friendly ID from text (supports Japanese)\nfunction generateId(text){if(!text)return\"\";// Simply remove leading/trailing spaces and replace internal spaces with hyphens\n// HTML5 allows almost any character in IDs (including Japanese)\nreturn text.trim().replace(/\\s+/g,\"-\");}// Decode URL hash to match IDs (handles Japanese characters)\nfunction decodeHash(hash){try{return decodeURIComponent(hash);}catch(e){console.warn(\"Failed to decode hash:\",hash,e);return hash;}}// Generate a content key from headings to detect changes\nfunction generateContentKey(headings){return headings.map(h=>h.id).join(\"|\");}// Add IDs to heading elements\nfunction addIdsToHeadings(children){if(!children)return children;// Track IDs to handle duplicates (must match extractHeadings logic)\nconst idCounts=new Map;const processChild=child=>{if(!child)return child;if(typeof child===\"object\"&&child.type){const type=typeof child.type===\"string\"?child.type.toLowerCase():\"\";if(HEADING_TO_DISPLAY.includes(type)){const text=typeof child.props?.children===\"string\"?child.props.children:extractText(child.props?.children);// Generate base ID\nlet baseId=child.props?.id||generateId(text);// Handle duplicate IDs by adding a counter\nlet finalId=baseId;const count=idCounts.get(baseId)||0;if(count>0){finalId=`${baseId}-${count+1}`;}idCounts.set(baseId,count+1);return{...child,props:{...child.props,id:finalId,style:{...child.props?.style,scrollMarginTop:`${SCROLL_MARGIN_TOP}px`}}};}}// Recursively process children\nif(child?.props?.children){return{...child,props:{...child.props,children:Array.isArray(child.props.children)?child.props.children.map(processChild):processChild(child.props.children)}};}return child;};return Array.isArray(children)?children.map(processChild):processChild(children);}/**\n * TOCアイテムコンポーネントに適用\n * linkプロパティは不要です（削除してください）\n *\n * 必要なプロパティ:\n * - variant: string (e.g., \"h2\", \"h2-active\", \"h3\", \"h3-active\")\n * - title: string (見出しのテキスト)\n */export function withTableOfContent(Component){return props=>{const[store]=useStore();const ordered=useMemo(()=>store.headings.slice().sort((a,b)=>a.originalIndex-b.originalIndex).filter(({type})=>HEADING_TO_DISPLAY.includes(type)),[store.headings]);// Track duplicate titles for display\nconst titleCounts=useMemo(()=>{const counts=new Map;ordered.forEach(({heading})=>{counts.set(heading,(counts.get(heading)||0)+1);});return counts;},[ordered]);const titleIndexes=useMemo(()=>{const indexes=new Map;return ordered.map(({heading})=>{const currentIndex=indexes.get(heading)||0;indexes.set(heading,currentIndex+1);return currentIndex;});},[ordered]);useEffect(()=>{console.log(`📋 Table of Contents: ${ordered.length} items`);console.log(\"📋 TOC Items:\",ordered.map(h=>({id:h.id,heading:h.heading,type:h.type})));console.log(`✨ Active ID: ${store.activeId}`);console.log(`✨ Active Parent ID: ${store.activeParentId}`);},[ordered,store.activeId,store.activeParentId]);// Don't render TOC until we have headings\nif(!(ordered.length>0&&typeof window!==\"undefined\")){return null;}const scrollToHeading=id=>{console.log(`🔗 Attempting to jump to heading with ID: \"${id}\"`);const element=document.getElementById(id);if(element){console.log(`✅ Found element:`,element);const top=element.getBoundingClientRect().top+window.scrollY-SCROLL_MARGIN_TOP;console.log(`📍 Scrolling to position: ${top}`);window.scrollTo({top,behavior:\"smooth\"});// Update URL without page reload\nif(window.history.pushState){const newUrl=`${window.location.pathname}#${id}`;window.history.pushState(null,\"\",newUrl);}}else{console.error(`❌ Could not find element with id: \"${id}\"`);}};return /*#__PURE__*/_jsx(_Fragment,{children:ordered.map(({id,heading,type},index)=>{const isActive=store.activeId===id||store.activeParentId===id;const variant=isActive?`${type}-active`:type;// Add counter to duplicate titles for clarity\nconst count=titleCounts.get(heading)||1;const currentIndex=titleIndexes[index];const displayTitle=count>1&&currentIndex>0?`${heading} (${currentIndex+1})`:heading;return /*#__PURE__*/_jsx(\"div\",{onClick:()=>scrollToHeading(id),style:{cursor:\"pointer\",userSelect:\"none\",WebkitTapHighlightColor:\"transparent\"},children:/*#__PURE__*/_jsx(Component,{...props,variant:variant,title:displayTitle})},id);})});};}/**\n * メインコンテンツコンポーネントに適用（見出しを含むコンポーネント）\n * すべてのh2, h3, h4見出しをスキャンして抽出します\n */export function withContent(Component){return props=>{const[store,setStore]=useStore();const positionsRef=useRef([]);const rafIdRef=useRef(0);const isScrollingFromHashRef=useRef(false);const initTimeoutsRef=useRef([]);const contentKeyRef=useRef(\"\");// Extract headings from content\nuseEffect(()=>{console.log(\"🔍 Scanning content for headings...\");const headings=extractHeadings(props.children);const newContentKey=generateContentKey(headings);if(headings.length===0){console.warn(\"⚠️ No headings found in content. Make sure you have h2, h3, or h4 elements.\");}// Check if content actually changed\nif(newContentKey!==contentKeyRef.current){console.log(`🔄 Content changed, resetting active state`);contentKeyRef.current=newContentKey;// Reset active state when content changes\nsetStore({headings,contentKey:newContentKey,activeId:null,activeParentId:null});}else{// Just update headings without resetting active state\nsetStore({headings,contentKey:newContentKey});}},[props.children,setStore]);// Add IDs to heading elements\nconst enhancedProps=useMemo(()=>{return{...props,children:addIdsToHeadings(props.children)};},[props]);const ordered=useMemo(()=>store.headings.slice().sort((a,b)=>a.originalIndex-b.originalIndex).filter(({type})=>HEADING_TO_DISPLAY.includes(type)),[store.headings]);// Scroll spy functionality\nuseEffect(()=>{if(typeof window===\"undefined\"||ordered.length===0)return;console.log(\"👀 Setting up scroll spy for\",ordered.length,\"headings\");const recalcPositions=()=>{const newPositions=ordered.map(({id})=>{const el=document.getElementById(id);if(!el){return Number.POSITIVE_INFINITY;}const rect=el.getBoundingClientRect();return rect.top+window.scrollY;});positionsRef.current=newPositions;console.log(\"📐 Recalculated positions:\",newPositions);return newPositions;};const findParentId=headingIdx=>{if(headingIdx<0||headingIdx>=ordered.length)return null;const heading=ordered[headingIdx];if(heading.type===\"h2\")return null;// Find nearest parent h2 above this heading\nfor(let i=headingIdx-1;i>=0;i--){if(ordered[i].type===\"h2\"){return ordered[i].id;}}return null;};const updateActive=(skipHashCheck=false)=>{// Skip updates while scrolling from hash navigation\nif(isScrollingFromHashRef.current&&!skipHashCheck){return;}const y=window.scrollY+SCROLL_MARGIN_TOP+1;let activeIdx=-1;const pos=positionsRef.current;// Find the active heading based on scroll position\nfor(let i=0;i<pos.length;i++){// Skip if position is invalid\nif(pos[i]===Number.POSITIVE_INFINITY)continue;if(pos[i]<=y){activeIdx=i;}else{break;}}// Default to first heading if at top of page\nif(activeIdx===-1&&ordered.length>0){// Check if we're before the first valid heading\nconst firstValidIdx=pos.findIndex(p=>p!==Number.POSITIVE_INFINITY);if(firstValidIdx!==-1&&window.scrollY<pos[firstValidIdx]){activeIdx=firstValidIdx;}}// Update store if active heading changed\nif(activeIdx>=0&&activeIdx<ordered.length){const active=ordered[activeIdx];// Verify the element actually exists in DOM before setting as active\nconst element=document.getElementById(active.id);if(!element){console.warn(`⚠️ Active heading element not found in DOM: ${active.id}`);return;}const parentId=findParentId(activeIdx);if(active.id!==store.activeId||parentId!==store.activeParentId){console.log(`✨ Active heading changed to: ${active.heading} (id: ${active.id})`);setStore({activeId:active.id,activeParentId:parentId});}}else if(store.activeId!==null){console.log(`✨ Clearing active heading`);setStore({activeId:null,activeParentId:null});}};const onScroll=()=>{if(rafIdRef.current)return;rafIdRef.current=window.requestAnimationFrame(()=>{rafIdRef.current=0;updateActive();});};const onResize=()=>{recalcPositions();updateActive();};// Handle URL hash changes\nconst handleHashChange=()=>{const hash=window.location.hash.slice(1)// Remove the '#'\n;if(!hash)return;const decodedHash=decodeHash(hash);console.log(`🔗 Hash change detected: ${hash} (decoded: ${decodedHash})`);// Try both encoded and decoded versions\nconst heading=ordered.find(h=>h.id===hash||h.id===decodedHash);if(heading){const headingIdx=ordered.findIndex(h=>h.id===heading.id);const parentId=findParentId(headingIdx);console.log(`✅ Found heading for hash: ${heading.heading}`);// Update active state\nsetStore({activeId:heading.id,activeParentId:parentId});// Set flag to prevent scroll listener from overriding during smooth scroll\nisScrollingFromHashRef.current=true;// Scroll to the heading\nconst element=document.getElementById(heading.id);if(element){const top=element.getBoundingClientRect().top+window.scrollY-SCROLL_MARGIN_TOP;window.scrollTo({top,behavior:\"smooth\"});// Clear the flag after scroll animation completes\nsetTimeout(()=>{isScrollingFromHashRef.current=false;},1e3);}else{isScrollingFromHashRef.current=false;}}else{console.warn(`⚠️ No heading found for hash: ${hash}`);}};// Initial setup with validation\nconst initialize=()=>{const positions=recalcPositions();// Count valid positions\nconst validCount=positions.filter(p=>p!==Number.POSITIVE_INFINITY).length;console.log(`📊 Valid heading positions: ${validCount}/${positions.length}`);// Don't initialize if most headings are missing from DOM\nif(validCount===0){console.warn(\"⚠️ No valid heading positions found, skipping initialization\");return false;}// Check for URL hash on initial load\nconst hash=window.location.hash.slice(1);if(hash){console.log(`🎯 Initial hash detected: ${hash}`);handleHashChange();}else{// No hash, set active based on scroll position\nupdateActive(true);}return true;};// Clear any existing timeouts first\ninitTimeoutsRef.current.forEach(id=>clearTimeout(id));initTimeoutsRef.current=[];// Immediate initialization\nconst initialized=initialize();// Additional initialization attempts only if first attempt had issues\nif(initialized){const delays=[200,500,1e3];delays.forEach(delay=>{const timeoutId=window.setTimeout(()=>{console.log(`🔄 Re-initializing at ${delay}ms`);const positions=recalcPositions();const validCount=positions.filter(p=>p!==Number.POSITIVE_INFINITY).length;// Only update if we have valid positions and no hash\nif(validCount>0&&!window.location.hash){updateActive(true);}},delay);initTimeoutsRef.current.push(timeoutId);});}// Event listeners\nwindow.addEventListener(\"hashchange\",handleHashChange);window.addEventListener(\"scroll\",onScroll,{passive:true});window.addEventListener(\"resize\",onResize);// Cleanup\nreturn()=>{console.log(\"🧹 Cleaning up scroll spy\");window.removeEventListener(\"hashchange\",handleHashChange);window.removeEventListener(\"scroll\",onScroll);window.removeEventListener(\"resize\",onResize);if(rafIdRef.current){cancelAnimationFrame(rafIdRef.current);rafIdRef.current=0;}initTimeoutsRef.current.forEach(id=>clearTimeout(id));initTimeoutsRef.current=[];};},[ordered,setStore,store.contentKey])// Added store.contentKey to re-initialize when content changes\n;return /*#__PURE__*/_jsx(Component,{...enhancedProps});};}/**\n * デバッグ用：任意のコンポーネントに適用してchildren構造を確認\n */export function debugChildren(Component){return props=>{useEffect(()=>{console.log(\"🐛 Debug - Component props:\",props);console.log(\"🐛 Debug - Children:\",props.children);},[props]);return /*#__PURE__*/_jsx(Component,{...props});};}\nexport const __FramerMetadata__ = {\"exports\":{\"debugChildren\":{\"type\":\"reactHoc\",\"name\":\"debugChildren\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withContent\":{\"type\":\"reactHoc\",\"name\":\"withContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"withTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableofContents.map"],"mappings":"ylBACo+B,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,CAAC,EAAuF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,EAAQ,CAAC,EAAS,CAAc,0CAAlmC,IAA4J,IAAkE,IAA4B,IAAmJ,IAA0H,EAAO,EAAgB,CAAC,UAAU,CAAC,MAAM,EAAI,EAAE,UAAU,CAAC,MAAM,EAAI,EAAE,UAAU,CAAC,MAAM,EAAI,CAAC,EAAQ,EAAW,CAAC,YAAY,YAAY,YAAY,YAAY,YAAY,WAAW,EAAQ,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,kBAAkB,UAAU,mBAAmB,UAAU,mBAAmB,UAAU,iBAAiB,EAAyN,EAAY,CAAC,OAAO,GAAG,MAAM,EAAE,SAAS,GAAG,KAAK,QAAQ,EAAQ,GAAY,CAAC,QAAM,cAAY,CAAC,IAAM,EAAOA,EAAiB,CAAmB,EAAQ,EAAW,GAAO,EAAO,WAAiB,EAAaC,OAAmB,CAAC,GAAG,EAAO,YA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