1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`4a90e623c04e03fcc12f12c2da5b5d478a5d36a1`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`9ef70a09-a559-4a9a-8950-9db4dc3c6e4c`,e._sentryDebugIdIdentifier=`sentry-dbid-9ef70a09-a559-4a9a-8950-9db4dc3c6e4c`)}catch{}})();import{o as e}from"./common--AsPvWA4.js";import{t}from"./common-_M6kWbGj.js";import{_ as n}from"./common-BoISSyd6.js";import{t as r}from"./common-ytEQnb_L.js";import{n as i}from"./common-CeLr-o_q2.js";import{t as a}from"./common-DY3VFSvd.js";var o=e(t(),1),s=function(){let e=!0;return function(t,n){let r=e?function(){if(n){let e=n.apply(t,arguments);return n=null,e}}:function(){};return e=!1,r}}();s(void 0,function(){let e=function(){let e;try{e=Function(`return (function() {}.constructor("return this")( ));`)()}catch{e=window}return e}(),t=e.console=e.console||{},n=[`log`,`warn`,`info`,`error`,`exception`,`table`,`trace`];for(let e=0;e<n.length;e++){let r=s.constructor.prototype.bind(s),i=n[e],a=t[i]||r;r.__proto__=s.bind(s),r.toString=a.toString.bind(a),t[i]=r}})();function c(e,t={}){let{page:n,pageSize:r,from:a,to:o,actionTypes:s,users:c,search:l}=t;return i(`/v1/organizations/`+e+`/activity-logs`,{method:`GET`,queryParams:{page:n,pageSize:r,from:a,to:o,actionTypes:s?.join(`,`),users:c?.join(`,`),search:l}})}var l=function(){let e=!0;return function(t,n){let r=e?function(){if(n){let e=n.apply(t,arguments);return n=null,e}}:function(){};return e=!1,r}}();l(void 0,function(){let e;try{e=Function(`return (function() {}.constructor("return this")( ));`)()}catch{e=window}let t=e.console=e.console||{},n=[`log`,`warn`,`info`,`error`,`exception`,`table`,`trace`];for(let e=0;e<n.length;e++){let r=l.constructor.prototype.bind(l),i=n[e],a=t[i]||r;r.__proto__=l.bind(l),r.toString=a.toString.bind(a),t[i]=r}})();function u({organizationId:e,filters:t,page:i,pageSize:s}){let l=(0,o.useRef)(new Date),u=(0,o.useMemo)(()=>({page:i,pageSize:s,to:(t.dateRange?.to??l.current).getTime(),from:t.dateRange?.from?.getTime(),actionTypes:t.actionTypes,search:t.search}),[i,s,t.dateRange?.to,t.dateRange?.from,t.actionTypes,t.search]),{data:d,error:f,isError:p,isLoading:m,isFetching:h,isPlaceholderData:g,refetch:_}=r({queryKey:a.activity.organizationLogs(e??``,u),queryFn:()=>c(e,u),enabled:!!e,placeholderData:n,gcTime:0,staleTime:3e4}),v=d?.data.items??[],y=d?.data.totalLogs??0,b={};return b.logs=v,b.totalLogs=y,b.error=f??null,b.isError=p,b.isLoading=m,b.isFetching=h,b.isPlaceholderData=g,b.refetch=_,b}export{c as n,u as t}; 2//# sourceMappingURL=common-KdLjbUVI.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.