PageSourceSearch

https://lk.ssmu.ru/9983-es2015.20b35e0ecc5cf2981012.js

js ssmu.ru collected 2026-09-24 18:33:27 UTC 9,484 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkjournal=self.webpackChunkjournal||[]).push([[9983,4221,9319,9830,6432,4509,9314,9627],{13117:function(t,n,e){e.d(n,{A:function(){return o}});var r=e(37716);const i=["*"];let o=(()=>{class t{constructor(){this.isFull=!1}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-card"]],inputs:{isFull:"isFull"},ngContentSelectors:i,decls:2,vars:2,consts:[[1,"ssmu-card"]],template:function(t,n){1&t&&(r.F$t(),r.TgZ(0,"section",0),r.Hsn(1),r.qZA()),2&t&&r.ekj("_full",n.isFull)},encapsulation:2}),t})()},20975:function(t,n,e){e.d(n,{k:function(){return s}});var r=e(37716),i=e(38583);function o(t,n){1&t&&r._UZ(0,"p",2),2&t&&r.Q6J("innerHTML",n.$implicit,r.oJD)}let s=(()=>{class t{constructor(){this.danger=!1}}return t.\u0275fac=function(n){return new(n||t)},t.\u0275cmp=r.Xpm({type:t,selectors:[["app-info-banner"]],inputs:{danger:"danger",bannerContent:"bannerContent"},decls:5,vars:6,consts:[[1,"ssmu-info-banner"],[1,"ssmu-info-banner__title","mb-3"],[3,"innerHTML"],[1,"ssmu-info-banner__content"],[3,"innerHTML",4,"ngFor","ngForOf"]],template:function(t,n){if(1&t&&(r.TgZ(0,"article",0),r.TgZ(1,"header",1),r._UZ(2,"span",2),r.qZA(),r.TgZ(3,"div",3),r.YNc(4,o,1,1,"p",4),r.qZA(),r.qZA()),2&t){let t;r.ekj("_danger",n.danger),r.xp6(1),r.ekj("_empty-content",0===(null!==(t=null==n.bannerContent.content?null:n.bannerContent.content.length)&&void 0!==t?t:0)),r.xp6(1),r.Q6J("innerHTML",n.bannerContent.title,r.oJD),r.xp6(2),r.Q6J("ngForOf",n.bannerContent.content)}},directives:[i.sg],styles:[".ssmu-info-banner[_ngcontent-%COMP%]{background-color:#f5f7fa;color:#565656;padding:16px;border-radius:4px}@media (max-width: 767px){.ssmu-info-banner[_ngcontent-%COMP%]{padding:4px;background-color:transparent}}.ssmu-info-banner._danger[_ngcontent-%COMP%]{color:#fff!important;background-color:#e94b41!important}.ssmu-info-banner__title[_ngcontent-%COMP%]{font-size:16px;font-weight:600;margin-bottom:8px}@media (max-width: 767px){.ssmu-info-banner__title[_ngcontent-%COMP%]{font-size:14px}}.ssmu-info-banner__title._empty-content[_ngcontent-%COMP%]{margin-bottom:0}.ssmu-info-banner__content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:14px}@media (max-width: 767px){.ssmu-info-banner__content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:12px}}.ssmu-info-banner__content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-of-type{margin-bottom:0}"]}),t})()},84221:function(t,n,e){e.d(n,{n:function(){return u}});var r=e(85693),i=e(47023),o=e(88002),s=e(37716),a=e(8307),c=e(23065);let u=(()=>{class t{constructor(t,n,e){this.popupService=t,this.router=n,this.store=e,this.requiredPermissions=[]}canProceed(t){return new Promise(n=>{t.data&&t.data.requiredPermissions&&(this.requiredPermissions=t.data.requiredPermissions),0===this.requiredPermissions.length?n(!0):this.store.select(r.S.selectPermissionState).subscribe(t=>{1===t&&this.store.select(r.S.selectPermissionList).pipe((0,o.U)(t=>t.map(t=>t.toLowerCase()))).subscribe(t=>{const e=[];this.requiredPermissions.forEach(n=>{e.push({code:n,granted:t.includes(n.toLowerCase())})});const r=e.map(t=>t.granted).includes(!1);n(!r)})})})}canActivate(t,n){return new Promise(n=>{this.canProceed(t).then(t=>{t?n(!0):(this.router.navigate(["/access-denied"]).then(null),n(!1))})})}canActivateChild(t,n){return this.canActivate(t,n)}}return t.\u0275fac=function(n){return new(n||t)(s.LFG(i.q),s.LFG(a.F0),s.LFG(c.yh))},t.\u0275prov=s.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})()},39983:function(t,n,e){e.r(n),e.d(n,{StudentRatingModule:function(){return T}});var r=e(38583),i=e(62810),o=e(37716),s=e(91841),a=e(23065),c=e(13117),u=e(65939),g=e(45435),l=e(3679),p=e(52061),d=e(20975);const m=function(){return{title:"\u041d\u0435\u0442 \u0434\u0430\u043d\u043d\u044b\u0445 \u043e \u0440\u0435\u0439\u0442\u0438\u043d\u0433\u0435"}};function f(t,n){1&t&&o._UZ(0,"app-info-banner",8),2&t&&o.Q6J("bannerContent",o.DdM(1,m))}function h(t,n){if(1&t&&(o.TgZ(0,"tr"),o.TgZ(1,"td"),o._uU(2),o.qZA(),o.TgZ(3,"td"),o._uU(4),o.qZA(),o.TgZ(5,"td"),o._uU(6),o.qZA(),o.TgZ(7,"td"),o._uU(8),o.qZA(),o.TgZ(9,"td"),o._uU(10),o.qZA(),o.qZA()),2&t){const t=n.$implicit;o.xp6(2),o.Oqu(t.position),o.xp6(2),o.Oqu(t.fullName),o.xp6(2),o.Oqu(t.faculty),o.xp6(2),o.Oqu(t.course),o.xp6(2),o.Oqu(t.sum)}}
1function _(t,n){if(1&t&&(o.TgZ(0,"div",9),o.TgZ(1,"table",10),o.TgZ(2,"thead"),o.TgZ(3,"tr"),o.TgZ(4,"th"),o._uU(5,"\u041f\u043e\u0437\u0438\u0446\u0438\u044f"),o.qZA(),o.TgZ(6,"th"),o._uU(7,"\u041e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0439\u0441\u044f"),o.qZA(),o.TgZ(8,"th"),o._uU(9,"\u0424\u0430\u043a\u0443\u043b\u044c\u0442\u0435\u0442 \u0438 \u0433\u0440\u0443\u043f\u043f\u0430"),o.qZA(),o.TgZ(10,"th"),o._uU(11,"\u041a\u0443\u0440\u0441"),o.qZA(),o.TgZ(12,"th"),o._uU(13,"\u0411\u0430\u043b\u043b\u044b"),o.qZA(),o.qZA(),o.qZA(),o.TgZ(14,"tbody"),o.YNc(15,h,11,5,"tr",11),o.qZA(),o.qZA(),o.qZA()),2&t){const t=o.oxw();o.xp6(15),o.Q6J("ngForOf",t.ratingElements)}}let b=(()=>{class t{constructor(t,n){this.store=t,this.http=n,this.formGroup=new l.cw({startDate:new l.NI(null),endDate:new l.NI(null)}),this.ratingCategory$=this.store.select(t=>t.studentRating.categoryId),this.pageSize=10,this.ratingElements=[],this.currentPage=1}ngOnInit(){this.updateData(),this.formGroup.valueChanges.subscribe(()=>{this.updateData()})}updateData(){this.ratingCategory$.pipe((0,g.h)(t=>null!=t)).subscribe(t=>{this.currentCategoryId!=t&&(this.currentPage=1,this.pageSize=10,this.ratingElements=[]),this.currentCategoryId=t,this.http.get("Portfolios/Rating",{params:Object.assign({category:this.currentCategoryId,page:this.currentPage,size:this.pageSize},this.formGroup.value)}).subscribe(t=>{this.ratingElements=t})})}openPage(t){t>0&&(this.currentPage=t),this.updateData()}}return t.\u0275fac=function(n){return new(n||t)(o.Y36(a.yh),o.Y36(s.eN))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-rating-view"]],decls:9,vars:5,consts:[[1,"rating-filters"],[1,"ssmu-form",3,"formGroup"],["label","\u0421 \u043f\u0435\u0440\u0438\u043e\u0434\u0430",3,"customControl"],["formControlName","startDate","placeholder","\u0421 \u043d\u0430\u0447\u0430\u043b\u0430","type","date",1,"field-control"],["label","\u041f\u043e \u043f\u0435\u0440\u0438\u043e\u0434",3,"customControl"],["formControlName","endDate","placeholder","\u0414\u043e \u043a\u043e\u043d\u0446\u0430","type","date",1,"field-control"],["emptyRating",""],["class","table-responsive",4,"ngIf","ngIfElse"],[3,"bannerContent"],[1,"table-responsive"],[1,"table"],[4,"ngFor","ngForOf"]],template:function(t,n){if(1&t&&(o.TgZ(0,"div",0),o.TgZ(1,"form",1),o.TgZ(2,"app-custom-field",2),o._UZ(3,"input",3),o.qZA(),o.TgZ(4,"app-custom-field",4),o._UZ(5,"input",5),o.qZA(),o.qZA(),o.qZA(),o.YNc(6,f,1,2,"ng-template",null,6,o.W1O),o.YNc(8,_,16,1,"div",7)),2&t){const t=o.MAs(7);o.xp6(1),o.Q6J("formGroup",n.formGroup),o.xp6(1),o.Q6J("customControl",!1),o.xp6(2),o.Q6J("customControl",!1),o.xp6(4),o.Q6J("ngIf",n.ratingElements.length>0)("ngIfElse",t)}},directives:[l._Y,l.JL,l.sg,p.I,l.Fj,l.JJ,l.u,r.O5,d.k,r.sg],styles:[".rating-filters[_ngcontent-%COMP%]{display:flex;width:100%;margin-top:32px;margin-bottom:24px}.rating-filters[_ngcontent-%COMP%]   .ssmu-form[_ngcontent-%COMP%]{display:flex;width:100%}@media (min-width: 768px){.rating-filters[_ngcontent-%COMP%]   .ssmu-form[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]{width:calc((100% - 75px) / 4);margin-bottom:0}.rating-filters[_ngcontent-%COMP%]   .ssmu-form[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-right:25px}}@media (max-width: 767px){.rating-filters[_ngcontent-%COMP%]   .ssmu-form[_ngcontent-%COMP%]{flex-direction:column;margin-top:16px;margin-bottom:12px}.rating-filters[_ngcontent-%COMP%]   .ssmu-form[_ngcontent-%COMP%] > *[_ngcontent-%COMP%]:not(:last-child){margin-bottom:24px}}"]}),t})();function C(t,n){1&t&&o._UZ(0,"mat-tab",4),2&t&&o.Q6J("label",n.$implicit.title)}let Z=(()=>{class t{constructor(t,n){this.http=t,this.store=n,this.loadingCategories=!0}ngOnInit(){this.loadingCategories=!0,this.http.get("Dictionaries/StudentPortfolioCategories/Select").subscribe(t=>{this.loadingCategories=!1,this.ratingCategories=t.result},t=>{this.loadingCategories=!1})}selectedTabChange(t){this.store.dispatch((0,i.a)({categoryId:this.ratingCategories[t.index].id}))}}return t.\u0275fac=function(n){return new(n||t)(o.Y36(s.eN),o.Y36(a.yh))},t.\u0275cmp=o.Xpm({type:t,selectors:[["app-rating"]],decls:8,vars:1,consts:[[1,"ssmu-card__header"],[1,"ssmu-card__body"],["animationDuration","0ms","disableRipple","",3,"selectedTabChange"],[3,"label",4,"ngFor","ngForOf"],[3,"label"]],template:function(t,n){1&t&&(o.TgZ(0,"app-card"),o.TgZ(1,"header",0),o.TgZ(2,"h2"),o._uU(3,"\u0420\u0435\u0439\u0442\u0438\u043d\u0433 \u043e\u0431\u0443\u0447\u0430\u044e\u0449\u0438\u0445\u0441\u044f"),o.qZA(),o.qZA(),o.TgZ(4,"section",1),o.TgZ(5,"mat-tab-group",2),o.NdJ("selectedTabChange",function(t){return n.selectedTabChange(t)}
1),o.YNc(6,C,1,1,"mat-tab",3),o.qZA(),o._UZ(7,"app-rating-view"),o.qZA(),o.qZA()),2&t&&(o.xp6(6),o.Q6J("ngForOf",n.ratingCategories))},directives:[c.A,u.SP,r.sg,b,u.uX],styles:[""]}),t})();var P=e(8307),x=e(85025),q=e(86640),O=e(23771);const A=[{path:"",component:Z,canActivate:[e(84221).n],data:{requiredPermissions:["GetPortfolioRating"]}}];let T=(()=>{class t{}return t.\u0275fac=function(n){return new(n||t)},t.\u0275mod=o.oAB({type:t}),t.\u0275inj=o.cJS({imports:[[r.ez,P.Bz.forChild(A),u.Nh,x.K,q.A0,O.T,l.UX]]}),t})()}}]);

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.