import{r as registerInstance,h,H as Host}from"./index-ecdfb761.js";import{p as prod}from"./services-63217112.js";import{D as DamgaApi}from"./damga-api-8617d0af.js";import{A as APIBase}from"./apiBase-6015f41f.js";import"./data-transfer-field-2f305919.js";import"./BaseField-0b01dc2c.js";import"./filter-cbaa3d7d.js";var DasDamgaApi=function(){function a(a,t,i){var e=this;if(t===void 0){t={}}if(i===void 0){i={}}this.getProxyAnalyses=function(a,t,i,r){return e.api.get("analyses",{domains:a.join(","),startDate:t,endDate:i,timeInterval:r})};this.getLogs=function(a,t,i){return e.api.get("logs",{domain:a,startDate:t,endDate:i})};this.api=new APIBase(a,t);this.api.axios.defaults.params=i}return a}();var DevingenProductRootDamga=function(){function a(a){registerInstance(this,a)}a.prototype.render=function(){var a=this,t=a.apiKimlik,i=a.product;return h(Host,{class:"d-flex flex-grow-1 flex-column"},h("damga-home",{apiEndpoint:prod.damga,apiHeaders:{Authorization:t.api.getDefaults().headers["Authorization"],"devingen-product-id":i._id},extraTabs:[{key:"dashboard",label:"Dashboard",render:function(){return h("damga-dashboard",{apiDamga:new DamgaApi(prod.damga,{Authorization:t.api.getDefaults().headers["Authorization"],"devingen-product-id":i._id},{productId:i._id}),apiServicesDamga:new DasDamgaApi(prod.dasDamga,{Authorization:t.api.getDefaults().headers["Authorization"]},{productId:i._id})})}}]}))};return a}();export{DevingenProductRootDamga as devingen_product_root_damga};