import{o as n,J as U,k as S,j as r,h as s,i as a,aO as E}from"./app-BgLa5dit.js";import{P as R,U as g}from"./TRSOHrDz.chunk.js";import{U as x}from"./DusGkY45.chunk.js";import{u as I}from"./PpGk0l1b.chunk.js";import{C as f}from"./CCcwLDvu.chunk.js";import{J as c}from"./DfIMhO3y.chunk.js";import{C as h}from"./q-IBKcuF.chunk.js";import{g as j}from"./B1ElCHu3.chunk.js";import"./qmOk7Utq.chunk.js";import"./BwrBcwEI.chunk.js";import"./BD9MrUJP.chunk.js";import"./EZim8aq-.chunk.js";import"./s6cGcwlA.chunk.js";import"./Zwjmkasg.chunk.js";import"./4qGb1BIY.chunk.js";import"./DnXDEnAR.chunk.js";import"./DpUpv6rY.chunk.js";import"./CG7zbly5.chunk.js";import"./m4aqaK_l.chunk.js";import"./MEkA24R1.chunk.js";import"./C53kfXmd.chunk.js";import"./BT3VnoQK.chunk.js";import"./kiNvuUO3.chunk.js";import"./Bkj-W53y.chunk.js";import"./KIVqng-q.chunk.js";import"./oUIMm7ik.chunk.js";import"./DD0tWTM_.chunk.js";import"./CPXlV0fg.chunk.js";import"./3nM7jLnE.chunk.js";import"./CxY9ECTn.chunk.js";import"./0GREfvNX.chunk.js";import"./vyqb6V0P.chunk.js";import"./DDfKZ_ng.chunk.js";import"./DUpYPoLs.chunk.js";const _="_container_1yxkh_1",A={container:_};function mt(t){var i,m;const e=n(h.customer(t.customerId)),p=U.get(x.AUDIT_LOG_REFERRER_KEY),o=n(c.getJobs(t.customerId,t.queryParams));I(o);const u=S(),d=j(t.customerId,p);function l(C){return u(c.sendJobReports(t.customerId,C))}return r.jsxs(r.Fragment,{children:[r.jsx(f,{}),r.jsxs("div",{className:`${A.container} mx-auto`,children:[r.jsxs("p",{className:"p-3 mb-0",children:[(i=e.data)==null?void 0:i.name," · ",(m=e.data)==null?void 0:m.crmId]}),r.jsx("div",{className:"px-3",children:o.hasCompleted?r.jsx(g,{jobs:o.data,appLinks:d,queryParams:t.queryParams,onClickExport:l,emptyStateImageUrl:E.EmptyStates.TYPEAHEAD_RESULTS,customBreadcrumbs:[{name:"Curation studio",appLink:{application:a.CRM_STUDIO,action:s.CrmStudio.CUSTOMERS}},{name:"Customers",appLink:{application:a.CRM_STUDIO,action:s.CrmStudio.CUSTOMER_OVERVIEW,args:[t.customerId]}},{name:"Users",appLink:{application:a.CRM_STUDIO,action:s.CrmStudio.CUSTOMER_USERS,args:[t.customerId]}},{name:"Bulk action histry",active:!0}]}):r.jsx(R,{})})]})]})}export{mt as UserAuditLogView};
//# sourceMappingURL=DECa911Q.chunk.js.map
