1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="605d2344-02b2-4174-85c0-15599a1a9fe8",e._sentryDebugIdIdentifier="sentry-dbid-605d2344-02b2-4174-85c0-15599a1a9fe8")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26850],{20022:(e,t,a)=>{"use strict";a.d(t,{A:()=>A});var n=a(37876),d=a(14232),s=a(48011),r=a(68827),l=a.n(r),i=a(37467),o=a.n(i),c=a(40613),h=a(56847),u=a(58437),_=a(32788),p=a(72416),g=a(43707),m=a.n(g);let f=(0,d.memo)(e=>{var t,a,s,r,i,g,f;let{path:v,organizerId:w,type:x,profileType:b}=e,j=(0,d.useContext)(u.A);return(0,n.jsxs)("div",{className:m().card,children:[(0,n.jsxs)("div",{className:m().progress,children:[(0,n.jsx)("div",{className:m()["progress-bar"],children:(0,n.jsx)("div",{className:m()["progress-line"],style:{width:"".concat(null!=(s=null==v?void 0:v.percentOfCompletion)?s:0,"%"),backgroundColor:null!=(r=null==j?void 0:j.brandColor)?r:c.l.DOBRO_PRIMARY}})}),(0,n.jsxs)("div",{className:m()["progress-count"],children:[null!=(i=null==v?void 0:v.percentOfCompletion)?i:0,"% пÑойдено"]})]}),(0,n.jsx)("div",{className:m().card__title,children:null!=(g=null==v||null==(t=v.path)?void 0:t.name)?g:null==v?void 0:v.name}),(0,n.jsx)("div",{className:m()["card-data"],children:(0,n.jsxs)("div",{className:m()["card-data__item"],children:[(0,n.jsx)(l(),{src:p.A,alt:"icon",width:18,height:18}),(0,n.jsx)("span",{className:m()["card-data__item-text"],children:o()(null!=(f=null==v||null==(a=v.finishedPathSteps)?void 0:a.length)?f:0,"%d задание вÑполнено","%d Ð·Ð°Ð´Ð°Ð½Ð¸Ñ Ð²Ñполнено","%d заданий вÑполнено")})]})}),(0,n.jsx)(_.A,{componentType:_.O.PRIMARY_OUTLINE,className:m().card__button,onClick:()=>{("not-finished"===x||"finished"===x)&&window.location.assign(h.hF+"/".concat(b,"-path/").concat(v.id)),"not-started"===x&&("volunteer"===b?window.location.assign(h.hF+"/path/".concat(v.id,"/start/")):window.location.assign(h.hF+"/path/".concat(v.id,"/").concat(b,"/start/").concat(w)))},children:"not-finished"===x?"ÐÑодолжиÑÑ":"finished"===x?"ÐоÑмоÑÑеÑÑ":"ÐаÑаÑÑ Ð¿ÑÑÑ"})]})});var v=a(83500),w=a(58660),x=a(54069),b=a(53690),j=a(95545),y=a(43623);let P=e=>{let{dashboardReducer:t}=e;return t.dashboardOrganizerReducer.pathsReducer},N=(0,y.Mz)(P,e=>{let{paths:t}=e;return t}),C=(0,y.Mz)(P,e=>{let{loading:t}=e;return t});var E=a(47450),I=a.n(E);let A=(0,d.memo)(e=>{var t,a,r,l,i,o;let{organizerId:c,profileType:h,volunteerOrganizerId:u}=e,_=(0,s.wA)(),p=(0,s.d4)(N),g=(0,s.d4)(C),m=w.eC.PATHS;(0,d.useEffect)(()=>{_((0,j.k)(c,h))},[]);let{notificationsCount:y}=(0,d.useContext)(x.A);return(0,d.useEffect)(()=>{!g&&y.length&&y.map(e=>{e.slug===m&&0!==e.counter&&_((0,b.Ed)("volunteer"===h?u:c,m,"volunteer"===h))})},[g]),(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("div",{className:"tw:mb-6 tw:flex tw:flex-wrap tw:items-center tw:justify-between",children:(0,n.jsx)("h1",{className:I()["dashboard__content-title"],children:"volunteer"===h?"ÐÑÑи волонÑÑÑа":"ÐÑÑи оÑганизаÑоÑа"})}),g&&(0,n.jsx)(v.A,{}),(null==p||null==(t=p.notFinishedPaths)?void 0:t.length)?p.notFinishedPaths.map(e=>(0,n.jsx)("div",{className:"tw:mb-6",children:(0,n.jsx)(f,{path:e,organizerId:c,type:"not-finished",profileType:h})},e.id)):(0,n.jsx)(n.Fragment,{}),(null==p||null==(a=p.notStartedPaths)?void 0:a.length)?p.notStartedPaths.map(e=>(0,n.jsx)("div",{className:"tw:mb-6",children:(0,n.jsx)(f,{path:e,organizerId:c,type:"not-started",profileType:h})},e.id)):(0,n.jsx)(n.Fragment,{}),(null==p||null==(r=p.finishedPaths)?void 0:r.length)?p.finishedPaths.map(e=>(0,n.jsx)("div",{className:"tw:mb-6",children:(0,n.jsx)(f,{path:e,organizerId:c,type:"finished",profileType:h})},e.id)):null,(null==p||null==(l=p.notStartedPaths)?void 0:l.length)===0&&(null==p||null==(i=p.notFinishedPaths)?void 0:i.length)===0&&(null==p||null==(o=p.finishedPaths)?void 0:o.length)===0&&(0,n.jsx)("div",{children:"ÐÐµÑ Ð´Ð¾ÑÑÑпнÑÑ
пÑÑей Ð´Ð»Ñ Ð¿ÑоÑ
ождениÑ"})]})})},22478:(e,t,a)=>{"use strict";a.r(t),a.d(t,{__N_SSP:()=>i,default:()=>o});var n=a(37876),d=a(16015),s=a(2708),r=a(20022);let l=()=>{let{volunteerId:e,volunteerOrganizerId:t}=(0,d.c)();return(0,n.jsx)(r.A,{organizerId:e,profileType:"volunteer",volunteerOrganizerId:t})};l.getLayout=s.Z;var i=!0;let o=l},43707:e=>{e.exports={card:"CardPath_card__6uE_p",card__title:"CardPath_card__title__cDEmy","card-data":"CardPath_card-data__h5aoO","card-data__item":"CardPath_card-data__item__dh_DX","card-data__item-text":"CardPath_card-data__item-text__8lybD",card__button:"CardPath_card__button___xyiy",progress:"CardPath_progress__u0G8W","progress-bar":"CardPath_progress-bar__33bSB","progress-line":"CardPath_progress-line__bewdi","progress-count":"CardPath_progress-count__6Pv3J"}},48697:(e,t,a)=>{"use strict";a.d(t,{E:()=>s});var n=a(37876),d=a(35022);function s(e){let{className:t,...a}=e;return(0,n.jsx)("div",{className:(0,d.cn)("\n tw:flex tw:items-center tw:justify-end tw:gap-gap-md tw:rounded-b-lg\n tw:p-padding-md\n ",t),"data-slot":"dialog-footer",...a})}},72416:(e,t,a)=>{"use strict";a.d(t,{A:()=>n});let n={src:"/_next/static/media/check-mark-grey.0f50d206.svg",height:24,width:24,blurWidth:0,blurHeight:0}},84700:(e,t,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/[locale]/dashboard/paths",function(){return a(22478)}])}},e=>{e.O(0,[52976,20512,97694,21044,4503,27233,90636,46593,38792],()=>e(e.s=84700)),_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.