import{E as e,P as t,W as n,X as r,_ as i,dt as a,g as o,m as s,v as c}from"./vendor/json-editor-vue-eojr4v24.js";import{t as l}from"./nuxt-link-bumooa9d.js";var u={key:0,"i-carbon:arrow-up-right":``,"translate-y--1":``,"text-xs":``,op50:``},d=e({__name:`NLink`,props:{to:{},href:{},target:{},underline:{type:Boolean}},setup(e){let d=e,f=s(()=>d.href||d.to);return(s,d)=>{let p=l;return n(),o(p,t(f.value?{href:f.value,target:e.target,rel:e.target===`_blank`?`noopener noreferrer`:void 0}:{},{class:{"n-link n-transition hover:n-link-hover n-link-base":f.value||e.underline}}),{default:a(()=>[r(s.$slots,`default`),f.value&&e.target===`_blank`?(n(),c(`div`,u)):i(``,!0)]),_:3},16,[`class`])}}}),f=Object.assign(d,{__name:`NLink`});export{f as t};