import{r as t,h as r,H as i}from"./p-3d23a42a.js";import{g as o}from"./p-fa952096.js";import{o as n,c as e}from"./p-7840618d.js";const s=class{constructor(r){t(this,r),this.routerDirection="forward",this.onClick=t=>{n(this.href,t,this.routerDirection,this.routerAnimation)}}render(){const t=o(this),n={href:this.href,rel:this.rel,target:this.target};return r(i,{onClick:this.onClick,class:e(this.color,{[t]:!0,"ion-activatable":!0})},r("a",Object.assign({},n),r("slot",null)))}};s.style=":host{--background:transparent;--color:var(--ion-color-primary, #3880ff);background:var(--background);color:var(--color)}:host(.ion-color){color:var(--ion-color-base)}a{font-family:inherit;font-size:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-indent:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit}";export{s as ion_router_link}