{"version":3,"file":"TableOfContent.DFeP2cWS.mjs","names":["React.Fragment","useRef","React.useId","SVG","RichText","useState","_Fragment"],"sources":["https:/framerusercontent.com/modules/5u0qrZEn7sUg1ajZ7Jvl/dysboI4YgrB2XyLFlqGK/srnSEc_r9.js","https:/framerusercontent.com/modules/45dzy0qBJy3UxyBqQJF8/I32l4Mc7LjPEM3R6Wtn4/TableOfContent.js"],"sourcesContent":["// Generated by Framer (beb597f)\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}from\"framer-motion\";import*as React from\"react\";import{useRef}from\"react\";const enabledGestures={DiVt6m94X:{hover:true},SrOQUjmiF:{hover:true},VA1gF_Nws:{hover:true}};const cycleOrder=[\"VA1gF_Nws\",\"SrOQUjmiF\",\"DiVt6m94X\"];const serializationHash=\"framer-axX2j\";const variantClassNames={DiVt6m94X:\"framer-v-b3pozs\",SrOQUjmiF:\"framer-v-8m5o4y\",VA1gF_Nws:\"framer-v-1m2tlql\"};function addPropertyOverrides(overrides,...variants){const nextOverrides={};variants?.forEach(variant=>variant&&Object.assign(nextOverrides,overrides[variant]));return nextOverrides;}const I9MnRH2nG=undefined;const ICsREf1ZN=undefined;const Variants=motion.create(React.Fragment);const humanReadableVariantMap={h2:\"VA1gF_Nws\",h3:\"SrOQUjmiF\",h4:\"DiVt6m94X\"};const getProps=({height,id,link,title,width,...props})=>{return{...props,I9MnRH2nG:link??props.I9MnRH2nG,ICsREf1ZN:title??props.ICsREf1ZN??\"What is CMMC and why is there a need for CMMC compliance?\",variant:humanReadableVariantMap[props.variant]??props.variant??\"VA1gF_Nws\"};};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,ICsREf1ZN,I9MnRH2nG,...restProps}=getProps(props);const{baseVariant,classNames,clearLoadingGesture,gestureHandlers,gestureVariant,isLoading,setGestureState,setVariant,variants}=useVariantState({cycleOrder,defaultVariant:\"VA1gF_Nws\",enabledGestures,ref:refBinding,variant,variantClassNames});const layoutDependency=createLayoutDependency(props,variants);const sharedStyleClassNames=[];const scopingClassNames=cx(serializationHash,...sharedStyleClassNames);return /*#__PURE__*/_jsx(LayoutGroup,{id:layoutId??defaultLayoutId,children:/*#__PURE__*/_jsx(Variants,{animate:variants,initial:false,children:/*#__PURE__*/_jsx(Link,{href:I9MnRH2nG,motionChild:true,nodeId:\"VA1gF_Nws\",openInNewTab:false,scopeId:\"srnSEc_r9\",smoothScroll:false,children:/*#__PURE__*/_jsxs(motion.a,{...restProps,...gestureHandlers,className:`${cx(scopingClassNames,\"framer-1m2tlql\",className,classNames)} framer-ig2oun`,\"data-framer-name\":\"h2\",layoutDependency:layoutDependency,layoutId:\"VA1gF_Nws\",ref:refBinding,style:{...style},...addPropertyOverrides({\"DiVt6m94X-hover\":{\"data-framer-name\":undefined},\"SrOQUjmiF-hover\":{\"data-framer-name\":undefined},\"VA1gF_Nws-hover\":{\"data-framer-name\":undefined},DiVt6m94X:{\"data-framer-name\":\"h4\"},SrOQUjmiF:{\"data-framer-name\":\"h3\"}},baseVariant,gestureVariant),children:[/*#__PURE__*/_jsx(SVG,{className:\"framer-1ak6eos\",\"data-framer-name\":\"Icon\",fill:\"rgba(0,0,0,1)\",intrinsicHeight:26,intrinsicWidth:20,layoutDependency:layoutDependency,layoutId:\"xqE0MESYa\",svg:'<svg width=\"20\" height=\"26\" viewBox=\"0 0 20 26\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\\n<g clip-path=\"url(#clip0_21653_18929)\">\\n<path d=\"M14.4244 9.82693C14.7296 10.1321 14.7296 10.6268 14.4244 10.9318L9.18329 16.1731C8.87811 16.4781 8.38358 16.4781 8.0784 16.1731L5.58344 13.6779C5.27826 13.3729 5.27826 12.8782 5.58344 12.5732C5.88846 12.268 6.38315 12.268 6.68817 12.5732L8.63077 14.5158L13.3195 9.82693C13.6247 9.52191 14.1194 9.52191 14.4244 9.82693ZM20.0039 13C20.0039 18.5275 15.5306 23 10.0039 23C4.47641 23 0.00390625 18.5267 0.00390625 13C0.00390625 7.4725 4.47717 3 10.0039 3C15.5314 3 20.0039 7.47327 20.0039 13ZM18.4414 13C18.4414 8.33615 14.6671 4.5625 10.0039 4.5625C5.34006 4.5625 1.56641 8.33676 1.56641 13C1.56641 17.6638 5.34067 21.4375 10.0039 21.4375C14.6678 21.4375 18.4414 17.6632 18.4414 13Z\" fill=\"#4CAF50\"/>\\n</g>\\n<defs>\\n<clipPath id=\"clip0_21653_18929\">\\n<rect width=\"20\" height=\"26\" fill=\"white\"/>\\n</clipPath>\\n</defs>\\n</svg>\\n',withExternalLayout:true}),/*#__PURE__*/_jsx(RichText,{__fromCanvasComponent:true,children:/*#__PURE__*/_jsx(React.Fragment,{children:/*#__PURE__*/_jsx(motion.h6,{style:{\"--font-selector\":\"R0Y7RE0gU2Fucy1yZWd1bGFy\",\"--framer-font-family\":'\"DM Sans\", \"DM Sans Placeholder\", sans-serif',\"--framer-line-height\":\"175%\",\"--framer-text-color\":\"var(--extracted-1w1cjl5, rgb(22, 28, 45))\"},children:\"What is CMMC and why is there a need for CMMC compliance?\"})}),className:\"framer-lnoubj\",fonts:[\"GF;DM Sans-regular\"],layoutDependency:layoutDependency,layoutId:\"f1cO8HKnn\",style:{\"--extracted-1w1cjl5\":\"rgb(22, 28, 45)\",\"--framer-paragraph-spacing\":\"0px\"},text:ICsREf1ZN,verticalAlignment:\"top\",withExternalLayout:true})]})})})});});const css=[\"@supports (aspect-ratio: 1) { body { --framer-aspect-ratio-supported: auto; } }\",\".framer-axX2j.framer-ig2oun, .framer-axX2j .framer-ig2oun { display: block; }\",\".framer-axX2j.framer-1m2tlql { align-content: flex-start; align-items: flex-start; cursor: pointer; display: flex; flex-direction: row; flex-wrap: nowrap; gap: 12px; height: min-content; justify-content: flex-start; overflow: visible; padding: 10px 0px 0px 0px; position: relative; text-decoration: none; width: 304px; }\",\".framer-axX2j .framer-1ak6eos { flex: none; height: 26px; position: relative; width: 20px; }\",\".framer-axX2j .framer-lnoubj { flex: 1 0 0px; height: auto; position: relative; white-space: pre-wrap; width: 1px; word-break: break-word; word-wrap: break-word; }\",\".framer-axX2j.framer-v-8m5o4y.framer-1m2tlql { padding: 10px 0px 0px 16px; }\",\".framer-axX2j.framer-v-b3pozs.framer-1m2tlql { padding: 10px 0px 0px 32px; }\"];/**\n * This is a generated Framer component.\n * @framerIntrinsicHeight 66\n * @framerIntrinsicWidth 304\n * @framerCanvasComponentVariantDetails {\"propertyName\":\"variant\",\"data\":{\"default\":{\"layout\":[\"fixed\",\"auto\"]},\"SrOQUjmiF\":{\"layout\":[\"fixed\",\"auto\"]},\"DiVt6m94X\":{\"layout\":[\"fixed\",\"auto\"]},\"CmE9j5JYr\":{\"layout\":[\"fixed\",\"auto\"]},\"WbK7fphWF\":{\"layout\":[\"fixed\",\"auto\"]},\"CNdDhuekx\":{\"layout\":[\"fixed\",\"auto\"]}}}\n * @framerVariables {\"ICsREf1ZN\":\"title\",\"I9MnRH2nG\":\"link\"}\n * @framerImmutableVariables true\n * @framerDisplayContentsDiv false\n * @framerAutoSizeImages true\n * @framerComponentViewportWidth true\n * @framerColorSyntax true\n */const FramersrnSEc_r9=withCSS(Component,css,\"framer-axX2j\");export default FramersrnSEc_r9;FramersrnSEc_r9.displayName=\"Table of Content\";FramersrnSEc_r9.defaultProps={height:66,width:304};addPropertyControls(FramersrnSEc_r9,{variant:{options:[\"VA1gF_Nws\",\"SrOQUjmiF\",\"DiVt6m94X\"],optionTitles:[\"h2\",\"h3\",\"h4\"],title:\"Variant\",type:ControlType.Enum},ICsREf1ZN:{defaultValue:\"What is CMMC and why is there a need for CMMC compliance?\",displayTextArea:false,title:\"Title\",type:ControlType.String},I9MnRH2nG:{title:\"Link\",type:ControlType.Link}});addFonts(FramersrnSEc_r9,[{explicitInter:true,fonts:[{cssFamilyName:\"DM Sans\",source:\"google\",style:\"normal\",uiFamilyName:\"DM Sans\",url:\"https://fonts.gstatic.com/s/dmsans/v17/rP2tp2ywxg089UriI5-g4vlH9VoD8CmcqZG40F9JadbnoEwAopxhS2f3ZGMZpg.woff2\",weight:\"400\"}]}],{supportsExplicitInterCodegen:true});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"FramersrnSEc_r9\",\"slots\":[],\"annotations\":{\"framerComponentViewportWidth\":\"true\",\"framerCanvasComponentVariantDetails\":\"{\\\"propertyName\\\":\\\"variant\\\",\\\"data\\\":{\\\"default\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"SrOQUjmiF\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"DiVt6m94X\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"CmE9j5JYr\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"WbK7fphWF\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]},\\\"CNdDhuekx\\\":{\\\"layout\\\":[\\\"fixed\\\",\\\"auto\\\"]}}}\",\"framerIntrinsicWidth\":\"304\",\"framerAutoSizeImages\":\"true\",\"framerVariables\":\"{\\\"ICsREf1ZN\\\":\\\"title\\\",\\\"I9MnRH2nG\\\":\\\"link\\\"}\",\"framerContractVersion\":\"1\",\"framerImmutableVariables\":\"true\",\"framerColorSyntax\":\"true\",\"framerDisplayContentsDiv\":\"false\",\"framerIntrinsicHeight\":\"66\"}},\"Props\":{\"type\":\"tsType\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./srnSEc_r9.map","import{jsx as _jsx,Fragment as _Fragment}from\"react/jsx-runtime\";import{useEffect,useState}from\"react\";// Full tutorial on https://framermart.com\n// List of headings to display\nconst HEADING_TO_DISPLAY=[\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\"];export function withTableOfContent(Component){return props=>{const[headings,setHeadings]=useState([]);useEffect(()=>{const newHeadings=[];// Get all headings with an anchor tag\ndocument.querySelectorAll(\"h1 a, h2 a, h3 a, h4 a, h5 a, h6 a\").forEach(anchor=>{const headingElement=anchor;const headingTag=headingElement.parentElement?.tagName.toLowerCase();newHeadings.push({text:headingElement.textContent||\"\",href:headingElement.href,type:headingTag||\"\"});});// Filter out headings that are not in the list of headings to display and do not have an href that includes \"#\"\nsetHeadings(newHeadings.filter(({type,href})=>HEADING_TO_DISPLAY.includes(type)&&href.includes(\"#\")));},[]);return /*#__PURE__*/_jsx(_Fragment,{children:headings.length>0?headings.map(({text,href,type})=>/*#__PURE__*/_jsx(Component,{...props,// @ts-ignore\n    variant:type,title:text,link:href})):/*#__PURE__*/_jsx(Component,{...props})});};}\nexport const __FramerMetadata__ = {\"exports\":{\"withTableOfContent\":{\"type\":\"reactHoc\",\"name\":\"withTableOfContent\",\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./TableOfContent.map"],"mappings":"0YAColB,SAAS,EAAqB,EAAU,GAAG,EAAS,CAAC,IAAM,EAAc,EAAE,CAAsF,OAArF,GAAU,QAAQ,GAAS,GAAS,OAAO,OAAO,EAAc,EAAU,GAAS,CAAC,CAAQ,yCAAnsB,IAA6I,IAA8C,IAA4B,CAAgC,EAAgB,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,UAAU,CAAC,MAAM,GAAK,CAAC,CAAO,EAAW,CAAC,YAAY,YAAY,YAAY,CAAO,EAAkB,eAAqB,EAAkB,CAAC,UAAU,kB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