import{e as s}from"./ebt3cj6n.js";import{p as l,q as i,U as r,P as p,a2 as u,Y as c,W as m,Z as _,a4 as k}from"./vendor/json-editor-vue-kcahofzr.js";const d={key:0,"i-carbon:arrow-up-right":"","translate-y--1":"","text-xs":"",op50:""},v=l({__name:"NLink",props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(o){const t=o,n=i(()=>t.href||t.to);return(e,f)=>{const a=s;return r(),p(a,k(n.value?{href:n.value,target:e.target,rel:e.target==="_blank"?"noopener noreferrer":null}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":n.value||e.underline}}),{default:u(()=>[c(e.$slots,"default"),n.value&&e.target==="_blank"?(r(),m("div",d)):_("",!0)]),_:3},16,["class"])}}});export{v as _};
