import{r as a,h as t,H as r}from"./p-9f21f85f.js";import{p as s}from"./p-dd7dee94.js";import{D as o}from"./p-2da29168.js";import{A as e}from"./p-25d382ec.js";import"./p-3968aca6.js";import"./p-105f7627.js";import"./p-d343a062.js";class i{constructor(a,t={},r={}){this.getProxyAnalyses=(a,t,r,s)=>this.api.get("analyses",{domains:a.join(","),startDate:t,endDate:r,timeInterval:s}),this.getLogs=(a,t,r)=>this.api.get("logs",{domain:a,startDate:t,endDate:r}),this.api=new e(a,t),this.api.axios.defaults.params=r}}const d=class{constructor(t){a(this,t)}render(){const{apiKimlik:a,product:e}=this;return t(r,{class:"d-flex flex-grow-1 flex-column"},t("damga-home",{apiEndpoint:s.damga,apiHeaders:{Authorization:a.api.getDefaults().headers.Authorization,"devingen-product-id":e._id},extraTabs:[{key:"dashboard",label:"Dashboard",render:()=>t("damga-dashboard",{apiDamga:new o(s.damga,{Authorization:a.api.getDefaults().headers.Authorization,"devingen-product-id":e._id},{productId:e._id}),apiServicesDamga:new i(s.dasDamga,{Authorization:a.api.getDefaults().headers.Authorization},{productId:e._id})})}]}))}};export{d as devingen_product_root_damga}