import{r as e}from"./axios-v6FV69Ne.js";import{a as t}from"./ctiAxios-BIVP6fGU.js";import{t as n}from"./queryOptions-Cg9orY1Y.js";var r=async()=>{let e=await t(`api/logs`,`get`);if(!e)throw Error(`Failed to fetch logs`);return e.data},i=async()=>{let e=await t(`api/exploit-status`,`get`);if(!e)throw Error(`Failed to fetch exploit status`);return e.data},a={all:[`logs`],logs:()=>[...a.all,`logs`],exploit:()=>[...a.all,`exploit`]},o=()=>n({queryKey:a.logs(),queryFn:r}),s=()=>n({queryKey:a.exploit(),queryFn:i}),c=()=>e(o()),l=()=>e(s());export{c as n,l as t};