System.register(["./p-343b3b10.system.js","./p-5154eae7.system.js","./p-4ef1fed0.system.js","./p-d33249d4.system.js","./p-2d3773e2.system.js","./p-dd9cd9b3.system.js","./p-ece63a69.system.js","./p-0a722b78.system.js","./p-7efbb4c5.system.js","./p-693334fc.system.js","./p-5f7bc72e.system.js","./p-a56cdd14.system.js","./p-da593370.system.js","./p-fe1f76a3.system.js"],(function(t){"use strict";var e,n,i,r,s,o,c,a,u,d,p;return{setters:[function(t){e=t.r;n=t.h;i=t.H},function(t){r=t.d},function(t){s=t.D},function(t){o=t.K},function(t){c=t.i},function(t){a=t.C},function(t){u=t.A},function(t){d=t.p},function(t){p=t.l},function(){},function(){},function(){},function(){},function(){}],execute:function(){var f=function(){function t(t,e){var n=this;if(e===void 0){e={}}this.createProduct=function(t){return n.api.post("products",t)};this.getProducts=function(t){if(t===void 0){t={}}return n.api.get("products",t)};this.getProduct=function(t){return n.api.get("products/".concat(t))};this.updateProduct=function(t,e){return n.api.put("products/".concat(t),e)};this.deleteProduct=function(t){return n.api.delete("products/".concat(t))};this.createWorkspace=function(t){return n.api.post("workspaces",{name:t})};this.updateWorkspace=function(t,e){return n.api.put("workspaces/".concat(t),e)};this.deleteWorkspace=function(t){return n.api.delete("workspaces/".concat(t))};this.getWorkspaceOwnerships=function(){return n.api.get("workspace-ownerships")};this.createProductSettingsKimlik=function(t,e,i,r){return n.api.post("product-settings-kimlik",{product:{_id:t},databaseProduct:{_id:e},webhookAddress:i,headers:r})};this.findProductSettingsKimlik=function(t){return n.api.get("product-settings-kimlik",{productId:t})};this.createProductSettingsTaban=function(t){return n.api.post("product-settings-taban",{product:{_id:t}})};this.findProductSettingsTaban=function(t){return n.api.get("product-settings-taban",{productId:t})};this.api=new u(t,e)}return t}();function h(t){window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",(function(e){t(e.matches?"dark":"light")}));if(window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches){return"dark"}return"light"}var l=function(t,e){return n(i,null,n("dvn-theme-provider",{theme:t,colorBackground:true,fitHeight:true},n("dvn-global-table",null),n("dvn-global-grid",null),n("dvn-global-text",null),n("notifier-wrapper",null,e)))};var m=t("devingen_root",function(){function t(t){e(this,t);this.theme=p}t.prototype.componentWillLoad=function(){var t=this;if(h((function(e){return t.theme=e==="dark"?r:p}))==="dark"){this.theme=r}};t.prototype.render=function(){var t=this.theme;var e=(new a).getAll().jwt;var i={Authorization:e?"Bearer ".concat((new a).getAll().jwt):undefined};var r=new o("".concat(d.kimlik,"/").concat(d.base),i);var u=new s("".concat(d.data,"/").concat(d.base),i);var p=new f(d.devingen,i);if(!c()){return l(t,n("devingen-login-page",{apiKimlik:r}))}return l(t,n("devingen-router",{apiKimlik:r,apiDevingen:p,apiData:u}))};return t}())}}}));