{"version":3,"file":"Anchor.AXFV5nMB.mjs","names":[],"sources":["https:/framerusercontent.com/modules/gTbcbW4x4Za6sMNsGbEV/7sB2SydUATA3DhLXtLAk/Anchor.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Anchor — an invisible in-page scroll target (0 height).\n *\n * Place one at the top of a section, give it an Anchor ID (e.g. \"about\"),\n * then link to it from anywhere with a hash href (\"#about\"). The `offset`\n * adds scroll-margin so the section isn't hidden under the sticky nav.\n */export default function Anchor(props){const{anchorId=\"\",offset=88}=props;return /*#__PURE__*/_jsx(\"span\",{id:anchorId||undefined,\"aria-hidden\":\"true\",style:{display:\"block\",width:\"100%\",height:0,margin:0,padding:0,scrollMarginTop:offset,pointerEvents:\"none\"}});}addPropertyControls(Anchor,{anchorId:{type:ControlType.String,title:\"Anchor ID\",defaultValue:\"\",description:\"Rendered as the element id. Link to it with #id.\"},offset:{type:ControlType.Number,title:\"Scroll Offset\",defaultValue:88,min:0,max:240,step:4,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"Anchor\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./Anchor.map"],"mappings":"4JAMG,SAAwB,EAAO,EAAM,CAAC,GAAK,CAAC,WAAS,GAAG,SAAO,IAAI,EAAM,OAAoB,EAAK,OAAO,CAAC,GAAG,GAAU,IAAA,GAAU,cAAc,OAAO,MAAM,CAAC,QAAQ,QAAQ,MAAM,OAAO,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAO,cAAc,MAAM,CAAC,CAAC,CAAE,iBAN9N,IAAoD,EAM2K,EAAoB,EAAO,CAAC,SAAS,CAAC,KAAK,EAAY,OAAO,MAAM,YAAY,aAAa,GAAG,YAAY,kDAAkD,EAAE,OAAO,CAAC,KAAK,EAAY,OAAO,MAAM,gBAAgB,aAAa,GAAG,IAAI,EAAE,IAAI,IAAI,KAAK,EAAE,KAAK,IAAI,CAAC,CAAC"}