import{r as s,h as r,H as i}from"./p-cb5076d4.js";import{D as t}from"./p-2ce6bf5b.js";import{A as o,K as e}from"./p-06588791.js";import{i as p}from"./p-9a45414f.js";import{C as a}from"./p-138d8bf9.js";import{p as n}from"./p-b673f44e.js";import"./p-944da115.js";import"./p-eebad85b.js";import"./p-d343a062.js";import"./p-814af281.js";class l{constructor(s,r={}){this.createWorkspace=s=>this.api.post("workspaces",{name:s}),this.getWorkspaceOwnerships=()=>this.api.get("workspace-ownerships"),this.createProduct=(s,r,i)=>this.api.post("products",{name:s,workspaceId:r,type:i}),this.getProducts=()=>this.api.get("products"),this.getProduct=s=>this.api.get(`products/${s}`),this.api=new o(s,r)}}const d=s=>r(i,null,r("dvn-theme-provider",{colorBackground:!0,fitHeight:!0},r("dvn-global-table",null),r("dvn-global-grid",null),r("dvn-global-text",null),r("notifier-wrapper",null,s))),m=class{constructor(r){s(this,r)}render(){const s={Authorization:(new a).getAll().jwt?`Bearer ${(new a).getAll().jwt}`:void 0},i=new e(`${n.kimlik}/${n.base}`,s),o=new t(`${n.data}/${n.base}`,s),m=new l(`${n.devingen}/${n.base}`,s);return p()?d(r("devingen-router",{apiKimlik:i,apiDevingen:m,apiData:o})):d(r("devingen-login-page",{apiKimlik:i}))}};export{m as devingen_root}