1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8446],{31853:function(e,r,n){"use strict";n.r(r),n.d(r,{__N_SSP:function(){return p},default:function(){return v}});var t=n(50029),u=n(64687),i=n.n(u);n(11933);var o=n(13696),s=n(15444),a=n(9369),c=n(11163),d=n(7027),l=n(67294);n(9473);var f=n(85893),p=!0;function v(e){var r,n,u,p=e.data,v=(0,c.useRouter)(),h=(0,a.Z)(p.user,"/user/profile/auth");(0,l.useEffect)(function(){var e,r;h&&(null===(e=h.user_group)||void 0===e?void 0:e.id)!==1&&(null===(r=h.user_group)||void 0===r?void 0:r.id)!==5&&v.push("/user/profile/auth")},[v,h]);var _=v.query.id,x=(0,l.useState)(),w=x[0],g=x[1];(0,l.useEffect)(function(){var e;(e=(0,t.Z)(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,d.Z.get.tasks({window_host:window.location.origin,filter:{id:_},limit:1},!0);case 2:g(e.sent);case 4:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)})()},[_]);var m=(r=(0,t.Z)(i().mark(function e(){var r,n;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(!(w&&!w.admin)||!((null===(r=h.user_group)||void 0===r?void 0:r.id)==1||(null===(n=h.user_group)||void 0===n?void 0:n.id)==5)){e.next=5;break}return e.next=4,d.Z.set.taskExecutor(w.id,h.id);case 4:e.sent;case 5:case"end":return e.stop()}},e)})),function(){return r.apply(this,arguments)});return(0,f.jsx)(f.Fragment,{children:h&&((null===(n=h.user_group)||void 0===n?void 0:n.id)===1||(null===(u=h.user_group)||void 0===u?void 0:u.id)===5)?(0,f.jsx)(f.Fragment,{children:(0,f.jsx)("button",{className:"text-sm text-white px-5 py-2 h-full rounded md:text-black font-normal hover:border-bluelight transition-colors bg-blue hover:bg-bluelight ",onClick:m,children:"Ñ Ð´ÐµÐ»Ð°Ñ"})}):(0,f.jsx)(o.Z,{children:(0,f.jsx)("div",{className:"flex flex-row items-center justify-center",children:(0,f.jsx)(s.Z,{})})})})}},40482:function(e,r,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/user/admin/reports/[id]",function(){return n(31853)}])}},function(e){e.O(0,[2141,8409,6215,7629,1933,2888,9774,179],function(){return e(e.s=40482)}),_N_E=e.O()}]);
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.