"use strict";const l=require("react/jsx-runtime"),c=require("./bind-DeUYJ6m9.js"),N={"purpur-link":"_purpur-link_5pram_1","purpur-link--text":"_purpur-link--text_5pram_18","purpur-link--standalone":"_purpur-link--standalone_5pram_18","purpur-link--navigation":"_purpur-link--navigation_5pram_18","purpur-link--disable-visited":"_purpur-link--disable-visited_5pram_29","purpur-link--text-negative":"_purpur-link--text-negative_5pram_32","purpur-link--standalone-negative":"_purpur-link--standalone-negative_5pram_32","purpur-link--navigation-negative":"_purpur-link--navigation-negative_5pram_32","purpur-link--ensure-target-area":"_purpur-link--ensure-target-area_5pram_71","purpur-link--silent":"_purpur-link--silent_5pram_77"},x=c.c.bind(N),n="purpur-link",_={TEXT:"text",STANDALONE:"standalone",NAVIGATION:"navigation"},A=Object.values(_),k=({["data-testid"]:r,children:a,className:o,disableVisited:d=!0,ensureTargetArea:v,href:i,negative:t=!1,onClick:e,rel:g,silent:p,target:m,variant:u,...s})=>l.jsx("span",{className:x(o,n,`${n}--${t?`${u}-negative`:u}`,{[`${n}--silent`]:p,[`${n}--negative`]:t,[`${n}--disable-visited`]:d??p,[`${n}--ensure-target-area`]:v}),"data-testid":r,onClick:i?void 0:e,...i?{}:s,children:i?l.jsx("a",{href:i,target:m,rel:g,onClick:e,"data-testid":r?`${r} a`:void 0,...s,children:a}):a});k.displayName="Link";exports.LINK_VARIANT=_;exports.Link=k;exports.linkVariants=A;
//# sourceMappingURL=link-DhWVrkTz.js.map
