import{b as r,E as d,j as n,p as i,q as s,y as e,g as h,x as l,i as p}from"./vue-Cm77DuTi.js";import{_ as u}from"./app-QjDgb7aF.js";const f=["href"],v={class:"icon"},_={class:"text"},m={class:"right"},b={class:"text"},k={class:"icon"},g={class:"text"},x={class:"right"},B={class:"text"},y=r({__name:"link",props:{to:{},active:{type:Boolean},external:{type:Boolean},behavior:{},inline:{type:Boolean}},setup(t){return(o,a)=>{const c=d("MkA");return n(),i("div",{class:l(["ffcbddfc",{inline:t.inline}])},[t.external?(n(),i("a",{key:0,class:"main _button",href:t.to,target:"_blank"},[s("span",v,[e(o.$slots,"icon",{},void 0,!0)]),s("span",_,[e(o.$slots,"default",{},void 0,!0)]),s("span",m,[s("span",b,[e(o.$slots,"suffix",{},void 0,!0)]),a[0]||(a[0]=s("i",{class:"ph-arrow-square-out ph-bold ph-lg icon"},null,-1))])],8,f)):(n(),h(c,{key:1,class:l(["main _button",{active:t.active}]),to:t.to,behavior:t.behavior},{default:p(()=>[s("span",k,[e(o.$slots,"icon",{},void 0,!0)]),s("span",g,[e(o.$slots,"default",{},void 0,!0)]),s("span",x,[s("span",B,[e(o.$slots,"suffix",{},void 0,!0)]),a[1]||(a[1]=s("i",{class:"ph-caret-right ph-bold ph-lg icon"},null,-1))])]),_:3},8,["class","to","behavior"]))],2)}}}),q=u(y,[["__scopeId","data-v-8c69bdf8"]]);export{q as F};
//# sourceMappingURL=link-DQNFdX6e.js.map
