import{r as t,h as r,H as i}from"./p-38dcedc4.js";import{g as o}from"./p-202e7480.js";import{o as e,c as n}from"./p-7840618d.js";const s=class{constructor(r){t(this,r),this.routerDirection="forward",this.onClick=t=>{e(this.href,t,this.routerDirection,this.routerAnimation)}}render(){const t=o(this),e={href:this.href,rel:this.rel,target:this.target};return r(i,{onClick:this.onClick,class:n(this.color,{[t]:!0,"ion-activatable":!0})},r("a",Object.assign({},e),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}