1import{_ as d}from"./CDBz8eI9.js";import{_ as k}from"./9oE0gXgo.js";import{_ as f}from"./DZw4CKni.js";import{k as y,l as h,g as b,n as g,c as v,a as L,i,p as s,d as t,q,o as e,s as B,v as D}from"./CDMIIqi7.js";import"./ihpd6ZvD.js";import"./Dp6xroGS.js";import"./CLETTTpt.js";import"./CChSvMXs.js";import"./CV_MxbPc.js";import"./Cpg0zVpf.js";import"./CIEAMVto.js";import"./BwvugrR4.js";import"./CW1Pcy_1.js";import"./Dy6_mvUu.js";import"./GiPZ6Wfx.js";import"./DNlbjVTN.js";import"./Bp0dGCw0.js";import"./C0FUkclj.js";const $={class:"space-y-6"},K={__name:"link",setup(x){const r=y().query.slug,o=h({}),m=b(()=>o.value.id);B("id",m);async function c(){const a=await q("/api/link/query",{query:{slug:r}});o.value=a}function p(a,n){n==="delete"&&D("/dashboard/links",{replace:!0})}return g(()=>{c()}),(a,n)=>{const l=d,u=k,_=f;return e(),v("main",$,[L(l,{title:"Link"}),t(o).id?(e(),i(u,{key:0,link:t(o),"onUpdate:link":p},null,8,["link"])):s("",!0),t(o).id?(e(),i(_,{key:1,link:t(o)},null,8,["link"])):s("",!0)])}}};export{K as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.