import{d as o,b as a,c as r,w as i,aT as f,u as c,c9 as d}from"./outputWidgets.52de64cd.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},e=new Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="5e6f18fe-a8ef-47a0-8f5a-8ef0e101f329",t._sentryDebugIdIdentifier="sentry-dbid-5e6f18fe-a8ef-47a0-8f5a-8ef0e101f329")}catch{}})();class p{async get(){return(await fetch("/_editor/api/login")).json()}async create(e){return(await fetch("/_editor/api/login",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({token:e})})).json()}async delete(){await fetch("/_editor/api/login",{method:"DELETE"})}}const u=new p,_=o({__name:"DocsButton",props:{path:{}},setup(t){return(e,n)=>{var s;return a(),r(c(d),{class:"docs-button",href:`https://docs.abstra.io/${(s=e.path)!=null?s:""}`,target:"_blank"},{default:i(()=>[f(" Docs ")]),_:1},8,["href"])}}});export{_,u as l};
//# sourceMappingURL=DocsButton.vue_vue_type_script_setup_true_lang.5f9b00a2.js.map
