import{r as s,h as r,H as i}from"./p-c1e62c18.js";import"./p-d66fb38c.js";import"./p-25c0eb4f.js";import{A as t,K as o}from"./p-6279360b.js";import"./p-a8682d9e.js";import"./p-d343a062.js";import{D as e}from"./p-2ec6c0c7.js";import{C as p}from"./p-3df73e7b.js";import{i as n}from"./p-b326828b.js";import{p as a}from"./p-b673f44e.js";class c{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 t(s,r)}}const l=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 p).getAll().jwt?"Bearer "+(new p).getAll().jwt:void 0},i=new o(`${a.kimlik}/${a.base}`,s),t=new e(`${a.data}/${a.base}`,s),m=new c(`${a.devingen}/${a.base}`,s);return n()?l(r("devingen-router",{apiKimlik:i,apiDevingen:m,apiData:t})):l(r("devingen-login-page",{apiKimlik:i}))}};export{m as devingen_root}