"use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),y=require("../../utils/cn/cn.cjs.js"),e=require("../../src/components/AnchorLinks/anchorLinks.module.css"),p=require("../Typography/Typography.cjs.js"),d=({links:c,activeId:s,onClick:t})=>a.jsx("div",{className:e.root,children:c.map(({label:o,id:r,href:l,type:u,variant:i,emphasis:n})=>a.jsx("a",{className:y.cn(e.linkButton,{[e.active]:s===r}),href:l,"data-type":u,onClick:()=>t==null?void 0:t(r),children:a.jsx(p.Typography,{className:e.linkLabel,defaultVariant:i||"labelLg",emphasis:n!=null?n:!0,children:o})},r))});exports.AnchorLinks=d;
