{"version":3,"file":"DentavisAnchorTarget.BTbczIjW.mjs","names":["__esmMin","window","init_ssg_sandbox_shims","c","init_jsx_runtime","addPropertyControls","init_framer_BisrWwwE","ControlType","DentavisAnchorJumpLink","props","color","variant","handleClick","event","target","targetId","style","label","init_DentavisAnchorJumpLink","DentavisAnchorTarget","anchorId","offset","init_DentavisAnchorTarget"],"sources":["https:/framerusercontent.com/modules/QnO2myCYH9dBB5L2UbNW/DDzddMKCMUiDhThHTnea/DentavisAnchorJumpLink.js","https:/framerusercontent.com/modules/p4Sbet8Iolcsgf6dTBlf/vk8bJpEH0JoamHNjsirR/DentavisAnchorTarget.js"],"sourcesContent":["import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Same-page anchor jump link for Dentavis download sections.\n *\n * @framerIntrinsicWidth 130\n * @framerIntrinsicHeight 24\n * @framerSupportedLayoutWidth any-prefer-fixed\n * @framerSupportedLayoutHeight fixed\n */export default function DentavisAnchorJumpLink(props){const{label,targetId,variant,style}=props;const color=variant===\"light\"?\"#FFFFFF\":\"#C02C91\";function handleClick(event){event.preventDefault();const target=document.getElementById(targetId);if(target){target.scrollIntoView({behavior:\"smooth\",block:\"start\"});window.history.pushState(null,\"\",`#${targetId}`);}}return /*#__PURE__*/_jsx(\"a\",{href:`#${targetId}`,onClick:handleClick,style:{...style,display:\"inline-flex\",alignItems:\"center\",width:\"fit-content\",height:\"100%\",color,fontFamily:\"Satoshi, Inter, sans-serif\",fontSize:16,fontWeight:700,lineHeight:1.2,letterSpacing:0,textDecoration:\"none\",cursor:\"pointer\"},children:label});}addPropertyControls(DentavisAnchorJumpLink,{label:{type:ControlType.String,title:\"Label\",defaultValue:\"Zum Bereich →\"},targetId:{type:ControlType.String,title:\"Target ID\",defaultValue:\"section\"},variant:{type:ControlType.Enum,title:\"Variant\",options:[\"light\",\"pink\"],optionTitles:[\"Light\",\"Pink\"],defaultValue:\"pink\",displaySegmentedControl:true}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DentavisAnchorJumpLink\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any-prefer-fixed\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"130\",\"framerIntrinsicHeight\":\"24\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DentavisAnchorJumpLink.map","import{jsx as _jsx}from\"react/jsx-runtime\";import{addPropertyControls,ControlType}from\"framer\";/**\n * Invisible anchor target for same-page section links.\n *\n * @framerIntrinsicWidth 1\n * @framerIntrinsicHeight 1\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight fixed\n */export default function DentavisAnchorTarget(props){const{anchorId,offset,style}=props;return /*#__PURE__*/_jsx(\"div\",{id:anchorId,\"aria-hidden\":\"true\",style:{...style,width:\"100%\",height:1,marginTop:-offset,paddingTop:offset,pointerEvents:\"none\",visibility:\"hidden\"}});}addPropertyControls(DentavisAnchorTarget,{anchorId:{type:ControlType.String,title:\"Anchor ID\",defaultValue:\"section\"},offset:{type:ControlType.Number,title:\"Offset\",defaultValue:96,min:0,max:240,step:1,unit:\"px\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"DentavisAnchorTarget\",\"slots\":[],\"annotations\":{\"framerIntrinsicHeight\":\"1\",\"framerContractVersion\":\"1\",\"framerSupportedLayoutWidth\":\"any\",\"framerSupportedLayoutHeight\":\"fixed\",\"framerIntrinsicWidth\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./DentavisAnchorTarget.map"],"mappings":"A,0KAOG,SAAwBQ,EAAuB,EAAM,CAAC,GAAK,CAAC,QAAM,WAAS,UAAQ,SAAOC,EAAYC,EAAMC,IAAU,QAAQ,UAAU,UAAU,SAASC,EAAY,EAAM,CAACC,EAAM,eAAe,EAAE,IAAMC,EAAO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