import{bb as r,bc as a,aY as d}from"./chunk-02oqS8tD.js";function I(){const s=r(e=>e.orgId),n=r(e=>e.appId),o=r(e=>e.projectId),t=a(e=>e.current);return d.useMemo(()=>{const e=t.name==="details"?{testRunId:t.testRunId,testCaseId:t.testCaseId}:t.name==="execute-case"?{...t.testRunId===void 0?{}:{testRunId:t.testRunId},testCaseId:t.testCaseId,...t.runNumber===void 0?{}:{runNumber:t.runNumber}}:{},u={...s?{organizationId:s}:{},...n?{applicationId:n}:{},...o?{projectId:o}:{},...e};return Object.keys(u).length===0?void 0:u},[s,n,o,t])}export{I as u};
//# sourceMappingURL=chunk-BR3_qbVm.js.map
