import{r as t,d as s,h as r,H as i}from"./p-2a37a33f.js";import{o as a,c as o}from"./p-f1a4df63.js";const e=class{constructor(s){t(this,s),this.routerDirection="forward",this.onClick=t=>{a(this.href,t,this.routerDirection)}}render(){const t=s(this),a={href:this.href,rel:this.rel,target:this.target};return r(i,{onClick:this.onClick,class:Object.assign(Object.assign({},o(this.color)),{[t]:!0,"ion-activatable":!0})},r("a",Object.assign({},a),r("slot",null)))}static get style(){return":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{e as ion_router_link};