1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9020],{89294:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/profile/projects",function(){return n(17872)}])},55513:function(e,t,n){"use strict";var r=n(85893),i=n(78046),s=n(11163),o=n(67294),l=n(82857);let c=(e,t,n)=>{let c=n=>{let{headerStore:c}=(0,i.oR)(),u=(0,s.useRouter)(),[a,d]=(0,o.useState)(!0),p=e=>{d(e)};return(0,o.useEffect)(()=>{c.setOpenMenuBlock(!1)},[u,c]),(0,r.jsxs)(o.Fragment,{children:[a&&(0,r.jsx)(l.Z,{visible:!0,message:t}),(0,r.jsx)(e,{...n,setLoading:p,load:a})]})};return c.Layout=n,c};t.Z=c},25962:function(e,t,n){"use strict";var r=n(85893),i=n(50281),s=n(1811),o=n.n(s);let l=e=>{let{children:t}=e;return(0,r.jsx)(i.Container,{children:(0,r.jsx)("main",{className:o().layout,children:t})})};t.Z=l},17872:function(e,t,n){"use strict";n.r(t),n.d(t,{__N_SSP:function(){return x},default:function(){return m}});var r=n(85893),i=n(75580),s=n(44194),o=n(50281),l=n(25962),c=n(78046),u=n(12374);let a={MODERATING:"MODERATING",BANNED:"BANNED",APPROVED:"APPROVED",PROLONG:"PROLONG"};var d=n(55513),p=n(11163),_=n(67294),f=n(80077),j=n.n(f);let v={icon:null,id:0,url:"/profile/projects/active",title:"ÐкÑивнÑе пÑоекÑÑ"},N={icon:null,id:0,url:"/profile/projects/moderation",title:"Ðа модеÑаÑии"},h=e=>{let{setLoading:t,load:n,profile:l}=e,{profileStore:d}=(0,c.oR)();(0,_.useEffect)(()=>{t(!1)},[]);let f=(0,p.useRouter)(),h=e=>{var t,n,r;return null===(t=null==l?void 0:null===(n=l.business_information)||void 0===n?void 0:null===(r=n.counts)||void 0===r?void 0:r.find(t=>(null==t?void 0:t.title)===e))||void 0===t?void 0:t.anouncements},x=()=>{let e=(0,u.Rg)((null==d?void 0:d.cityId)||1);f.push("/".concat(e,"/chapters/create"))};return(0,r.jsx)(r.Fragment,{children:!n&&(0,r.jsxs)("div",{className:j().projects,children:[(0,r.jsx)(o.Heading,{title:"УпÑавление пÑоекÑами",backUrl:"/profile"}),0===h(a.APPROVED)&&0===h(a.MODERATING)&&(0,r.jsx)(i.Z,{mix:j().add,onClick:x,children:"ÐобавиÑÑ Ð±Ð¸Ð·Ð½ÐµÑ"}),(0,r.jsxs)("div",{className:j().wrap,children:[(0,r.jsx)("span",{className:j().wrap_title,children:"ÐÑоекÑÑ"}),(0,r.jsx)(s.Z,{isServices:!0,item:v,mix:j().chapter,countActivies:h(a.APPROVED)}),(0,r.jsx)(s.Z,{isServices:!0,item:N,mix:j().chapter,countModerationsProject:h(a.MODERATING)})]})]})})};var x=!0,m=(0,d.Z)(h,"ÐагÑÑзка...",l.Z)},1811:function(e){e.exports={layout:"ProfileLayout_layout__mQlfR"}},80077:function(e){e.exports={projects:"projects_projects__38e5k",chapter:"projects_chapter__PnrB3",wrap:"projects_wrap__yhC9s",wrap_title:"projects_wrap_title__kDxC6"}}},function(e){e.O(0,[9774,2888,179],function(){return e(e.s=89294)}),_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.