import{r as t,h as e,F as s,H as i,g as a}from"./p-ClISz4NF.js";import{p as o}from"./p-CQvUntGY.js";import{S as n}from"./p-BcQO4NH2.js";import{g as c}from"./p-CoD1xawt.js";o(n,["_S","_M","_L"]);const l={root:"gov-tile",link:"gov-tile__link",content:"gov-tile__content",text:"gov-tile__text",title:"gov-tile__title",icon:"gov-tile__icon",annotation:"gov-tile__annotation"};const r=class{constructor(e){t(this,e);this.size="m";this.noBorder=false;this.h=c(this.host)}render(){return e(i,{key:"31fcebee125c753089b2229cea0033dce9aa3133",class:this.h.classes(l.root),size:this.size,orientation:this.orientation,clickable:this.href?true:null},e("slot",{key:"b79748ea55bb2e86d887860c1143d82d75497966",name:"icon"}),e("div",{key:"db8b61554f6943612c9d7165174926cfd205fcfb",class:l.content},e("div",{key:"e844267c106109d0470176d3c89539f8f987c70f",class:l.text},e("div",{key:"e4771f568d8848b87045293ebb10af5679f1a3b7",class:l.title},this.href?e(s,null,e("a",{href:this.href,target:this.target,class:l.link,ref:t=>this.triggerRef=t},e("slot",{name:"title"})),e("span",{class:l.icon},e("gov-icon",{name:"chevron-right",type:"components"}))):e("slot",{name:"title"})),e("div",{key:"cf1bf1a1c29e8879dc509b484325b82808db792a",class:`${l.annotation} ${this.href?`${l.annotation}--padding`:""}`},e("slot",{key:"9a10f28fd144f1131eae6735342da9a5d93665e2"}))),e("slot",{key:"067476f1a27bad0fb50d86789a729f93b1f1e5ad",name:"button"})))}async getTriggerRef(){return this.triggerRef}get host(){return a(this)}};export{r as gov_tile};
//# sourceMappingURL=p-0e06af2b.entry.js.map