![]() System : Linux absol.cf 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /proc/self/root/opt/mattermost/client/ |
Upload File : |
"use strict";(self.webpackChunkmattermost_webapp=self.webpackChunkmattermost_webapp||[]).push([[5774],{61486:(e,t,s)=>{s.d(t,{N5:()=>u,Qp:()=>c,Qq:()=>o,p$:()=>l,rN:()=>d}),s(43813);var a=s(1418),r=s(87988),i=s(40693),n=s(78451);function o(e){return{type:n.Q3.NEEDS_LOGGED_IN_LIMIT_REACHED_CHECK,data:e}}function l(e){return e?{type:n.Q3.SET_ADMIN_CONSOLE_USER_MANAGEMENT_TABLE_PROPERTIES,data:e}:{type:n.Q3.CLEAR_ADMIN_CONSOLE_USER_MANAGEMENT_TABLE_PROPERTIES,data:null}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{let n;try{n=await i.mT.getUsersForReporting(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:n}}}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{let n;try{n=await i.mT.getUserCountForReporting(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:n}}}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return async(t,s)=>{try{await i.mT.startUsersBatchExport(e)}catch(e){return(0,r.UP)(e,t,s),t((0,a.vV)(e)),{error:e}}return{data:!0}}}},15774:(e,t,s)=>{s.r(t),s.d(t,{default:()=>f});var a=s(97023),r=s.n(a),i=s(23453),n=s(45955),o=s(7430),l=(s(17046),s(14778)),u=s(61486),c=s(79751),d=s(20463),m=s(25695),_=s(19408),g=s(78451),p=s(11039),h=s(35412),E=s(35631),I=s(3569),M=s(77440);function y(){return function(){var e;const t=(0,h.A)(),s=(0,i.useDispatch)(),r=(0,l.useIntl)(),[n,o]=(0,p.A)(),y=(0,i.useSelector)(d.ks),f=null==n||null===(e=n.messages)||void 0===e?void 0:e.history,[C,L]=function(e,t){const s=(0,i.useDispatch)(),r=(0,i.useSelector)(I.WR),n=(0,i.useSelector)((s=>(0,M.Jt)(s,e,t))),o=(0,a.useCallback)((a=>{const i={category:e,name:t,user_id:r,value:a};return s((0,E.SF)(r,[i]))}),[e,s,t,r]);return(0,a.useMemo)((()=>[n,o]),[n,o])}(g.pm.CATEGORY_CLOUD_LIMITS,g.pm.SHOWN_LIMITS_REACHED_ON_LOGIN),S=(0,_.A)();o&&t.messages.historyLoaded&&void 0!==f&&y&&"true"!==C&&(t.messages.history>f&&(L("true"),s((0,c.q)({modalId:g.IQ.CLOUD_LIMITS,dialogType:m.A,dialogProps:{title:(0,l.defineMessage)({id:"workspace_limits.modals.limits_reached.title",defaultMessage:"{limitName} limit reached",values:{limitName:r.formatMessage({id:"workspace_limits.modals.limits_reached.title.message_history",defaultMessage:"Message history"})}}),description:(0,l.defineMessage)({id:"workspace_limits.modals.limits_reached.description.message_history",defaultMessage:"Your sent message history is no longer available but you can still send messages. Upgrade to a paid plan and get unlimited access to your message history."}),secondaryAction:{message:(0,l.defineMessage)({id:"workspace_limits.modals.close",defaultMessage:"Close"}),onClick:()=>{s((0,c.O)(g.IQ.CLOUD_LIMITS))}},primaryAction:{message:(0,l.defineMessage)({id:"workspace_limits.modals.view_plan_options",defaultMessage:"View plan options"}),onClick:()=>{s((0,c.O)(g.IQ.CLOUD_LIMITS)),S({trackingLocation:"admin_login_limit_reached_dashboard"})}},onClose:()=>{s((0,c.O)(g.IQ.CLOUD_LIMITS))},needsTheme:!0}}))),s((0,u.Qq)(!1)))}(),null}function f(){const e=(0,i.useSelector)(n.I0),t=(0,i.useSelector)(o.J1);return e&&t?r().createElement(y,null):null}}}]); //# sourceMappingURL=5774.fa83b11ff71d0180554d.js.map