PageSourceSearch

https://1c.orgma.ru/sdo-IPO/wc/463.6f50e944ab0da10a.js

js orgma.ru collected 2026-10-02 06:50:19 UTC 31,946 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkcabinet=self.webpackChunkcabinet||[]).push([[463],{8463:(D,F,r)=>{r.r(F),r.d(F,{LibraryPageModule:()=>He,createTranslateLoader:()=>q});var c=r(6895),M=r(6410),p=r(7533),L=r(2722),T=r(3625),A=r(9646),w=r(7188),_=r(655),s=r(9204);let a=class extends Array{};a=(0,_.gn)([(0,s.P)(class v{})],a);class m{}(0,_.gn)([(0,s.e2)(a),(0,_.w6)("design:type",a)],m.prototype,"resources",void 0);let d=class extends Array{};d=(0,_.gn)([(0,s.P)(m)],d);class x{}(0,_.gn)([(0,s.e2)(d),(0,_.w6)("design:type",d)],x.prototype,"tags",void 0),(0,_.gn)([(0,s.e2)(a),(0,_.w6)("design:type",a)],x.prototype,"resources",void 0);let I=class extends Array{};I=(0,_.gn)([(0,s.P)(x)],I);class B{}(0,_.gn)([(0,s.Ut)(),(0,_.w6)("design:type",Date)],B.prototype,"modifiedDate",void 0),(0,_.gn)([(0,s.te)(n=>"\u0422\u0435\u0441\u0442"===n?"quiz":"\u042d\u043b\u0435\u043a\u0442\u0440\u043e\u043d\u043d\u044b\u0439\u041a\u0443\u0440\u0441"===n?"course":""),(0,_.w6)("design:type",String)],B.prototype,"type",void 0);let R=class extends Array{};R=(0,_.gn)([(0,s.P)(B)],R);var ee=r(4810),te=r(8617),N=r(4351),U=r(4004),S=r(5474),k=r(3791),ne=r(9574),oe=r(1111),e=r(8274),Z=r(9383),re=r(7304);let H=(()=>{class n{constructor(t,o,i,g,E){this.api=t,this.auth=o,this.translate=i,this.settings=g,this.logger=E}AllElements(){if(this.allElements)return(0,A.of)(this.allElements);const t=this.translate.get("LIBRARY.RES_CATALOG").pipe((0,N.b)(i=>this.electronicResourcesData$(i))),o=this.translate.get("LIBRARY.MY_LIBRARY").pipe((0,N.b)(i=>this.libraryData$(i)));return(0,w.$)(o,t).pipe((0,U.U)(i=>i?(this.logger.log("Library response:",i),this.allElements=i[0].concat(i[1]),this.settings.Activities().hideEmptyLibraryElements&&this.deleteEmptyFolders(),this.deleteOnceRootTreeElement(),this.logger.log("Library elements:",this.allElements),this.allElements):[]))}deleteOnceRootTreeElement(){if(!this.allElements)return;const t=this.allElements.filter(i=>!i.parent),o=1===t.length?t[0].id:"";o&&(this.allElements.forEach(i=>{i.parent===o&&(i.parent="")}),this.allElements=this.allElements.filter(i=>i.id!==o))}deleteEmptyFolders(){this.allElements&&(this.allElements=this.allElements.filter(t=>!t.isFolder||!this.folderIsEmpty(t)))}folderIsEmpty(t){if(!this.allElements)return!0;const o=this.allElements.filter(i=>i.parent===t.id&&i.id!==t.id);for(const i of o)if(!i.isFolder||!this.folderIsEmpty(i))return!1;return!0}libraryData$(t){return this.auth.IsPermission(S.mh.library)?this.api.Get("userLibrary/get",{},k.$m.edu,this.auth.SearchParams(),I).pipe((0,U.U)(o=>{this.logger.log("Library raw data:",o);const i=(C,P)=>{if(!C)return[];const f=[];for(const b of C)f.push({id:b.resource,name:b.name,isFolder:!1,res:b,parent:P});return f},g=(C,P)=>{if(!C)return[];let f=[];for(const b of C)b.link?(f.push({id:b.link,name:b.name,isFolder:!0,res:void 0,parent:P}),f=f.concat(g(b.childElements,b.link)),f=f.concat(i(b.resources,b.link))):(f=f.concat(g(b.childElements,P)),f=f.concat(i(b.resources,P)));return f};return(C=>{if(!C)return[];let P=[];for(const f of C){const b={id:f.id,name:f.name,isFolder:!0,res:void 0,parent:""};b.id===this.auth.getUserDescription().id&&(b.name=t),P.push(b),P=P.concat(g(f.tags,f.id)),P=P.concat(i(f.resources,f.id))}return P})(o)})):(0,A.of)([])}electronicResourcesData$(t){return this.auth.IsPermission(S.mh.electronicResources)?this.api.Get("catalog/get",{},k.$m.res,this.auth.SearchParams(),R).pipe((0,U.U)(o=>{this.logger.log("Electronic resources raw data:",o);let i=[];if(!o)return i;const g="rootElectronicResources";return i.push({id:g,name:t,isFolder:!0,res:void 0,parent:""}),i=i.concat(o.map(C=>{const P=C.isFolder?void 0:{name:C.name,fragment:"",resource:C.link,addDate:C.modifiedDate.getTime(),type:ne.i.res,extension:""};return{id:C.link,name:C.name,isFolder:C.isFolder,res:P,parent:C.parent?C.parent:g}})),i})):(0,A.of)([])}}return n.\u0275fac=function(t){return new(t||n)(e.LFG(ee.s),e.LFG(te.e),e.LFG(Z.sK),e.LFG(oe.g),e.LFG(re.m))},n.\u0275prov=e.Yz7({token:n,factory:n.\u0275fac,providedIn:"root"}),n})();var z=r(6079),ie=r(3541),se=r(4587),K=r(1724),ae=r(5726),W=r(3669),$=r(5770);let le=(()=>{class n{constructor(){this.emitOpenFolder=new e.vpe}ngOnInit(){}
1openFolder(){this.emitOpenFolder.emit(this.id)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-folder-list-element"]],inputs:{id:"id",name:"name"},outputs:{emitOpenFolder:"emitOpenFolder"},decls:12,vars:3,consts:[[1,"head"],[1,"open",3,"click"],[1,"icon"],[3,"file","name"],[1,"title"],[1,"subtitle-2"],[1,"bottom"],[1,"left"],[1,"right"]],template:function(t,o){1&t&&(e.TgZ(0,"div",0)(1,"div",1),e.NdJ("click",function(){return o.openFolder()}),e.TgZ(2,"div",2),e._UZ(3,"app-icon",3),e.qZA(),e.TgZ(4,"div",4)(5,"div",5),e._uU(6),e.qZA()()()(),e.TgZ(7,"div",6)(8,"div",7),e._uU(9,"\xa0"),e.qZA(),e.TgZ(10,"div",8),e._uU(11,"\xa0"),e.qZA()()),2&t&&(e.xp6(3),e.Q6J("file","files")("name","folder"),e.xp6(3),e.Oqu(o.name))},dependencies:[K.o],styles:["[_nghost-%COMP%]{min-width:200px;display:block}.head[_ngcontent-%COMP%]{display:flex}.head[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;cursor:pointer}.head[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]{padding:0 16px 0 0;display:flex;align-items:center}.head[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .icon[_ngcontent-%COMP%]   app-icon[_ngcontent-%COMP%]{width:32px;height:32px}.head[_ngcontent-%COMP%]   .open[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;align-items:center}.bottom[_ngcontent-%COMP%]{display:flex;height:8px}.bottom[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{flex:0 0 48px}.bottom[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{flex:1 1 100%;border-bottom:1px solid #EFEFED}"]}),n})();function ce(n,l){1&n&&(e.TgZ(0,"div",3),e._UZ(1,"app-loader"),e.qZA())}function de(n,l){if(1&n){const t=e.EpF();e.TgZ(0,"app-folder-list-element",7),e.NdJ("emitOpenFolder",function(i){e.CHM(t);const g=e.oxw(2);return e.KtG(g.openFolder(i))}),e.qZA()}if(2&n){const t=l.$implicit;e.Q6J("id",t.id)("name",t.name)}}function me(n,l){if(1&n&&e._UZ(0,"app-resources-list-element",9),2&n){const t=e.oxw().$implicit;e.Q6J("id",t.res.resource)("name",t.name)("resourceType",t.res.type)("extension",t.res.extension)}}function pe(n,l){if(1&n&&(e.ynx(0),e.YNc(1,me,1,4,"app-resources-list-element",8),e.BQk()),2&n){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.res)}}function ge(n,l){if(1&n&&(e.TgZ(0,"div",4),e.YNc(1,de,1,2,"app-folder-list-element",5),e.YNc(2,pe,2,1,"ng-container",6),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.currentFolders),e.xp6(1),e.Q6J("ngForOf",t.currentResources)}}function ue(n,l){1&n&&(e.TgZ(0,"div",10)(1,"div",11),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"LIBRARY.EMPTY")))}let fe=(()=>{class n extends T.k{set currentFolder(t){this._currentFolder=t,this.getCurrentElements()}get currentFolder(){return this._currentFolder}constructor(t,o,i){super(),this.err=t,this.router=o,this.library=i,this._currentFolder="",this.emitBreadcrumbs=new e.vpe,this.emitIsLoading=new e.vpe,this.emitAllElements=new e.vpe,this.isLoading=!1,this.allElements=[],this.currentElements=[],this.currentFolders=[],this.currentResources=[]}ngOnInit(){this.setIsLoading(!0),this.library.AllElements().pipe((0,L.R)(this.ngUnsubscribe)).subscribe(t=>{t&&(this.allElements=t,this.getCurrentElements(),this.emitAllElements.emit(this.allElements))},t=>this.err.register(t),()=>this.setIsLoading(!1))}getCurrentElements(){this.currentElements=this.allElements.filter(t=>t.parent===this.currentFolder),this.currentFolders=this.currentElements.filter(t=>t.isFolder),this.currentResources=this.currentElements.filter(t=>!t.isFolder)}setIsLoading(t){this.isLoading=t,this.emitIsLoading.emit(this.isLoading)}openFolder(t){this.router.navigate(["/library","folder",t])}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(z.r),e.Y36(M.F0),e.Y36(H))},n.\u0275cmp=e.Xpm({type:n,selectors:[["sdo-library-tree"]],inputs:{currentFolder:"currentFolder"},outputs:{emitBreadcrumbs:"emitBreadcrumbs",emitIsLoading:"emitIsLoading",emitAllElements:"emitAllElements"},features:[e.qOj],decls:3,vars:3,consts:[["class","loader",4,"ngIf"],["class","list",4,"ngIf"],["class","caption empty",4,"ngIf"],[1,"loader"],[1,"list"],["class","element folder",3,"id","name","emitOpenFolder",4,"ngFor","ngForOf"],[4,"ngFor","ngForOf"],[1,"element","folder",3,"id","name","emitOpenFolder"],["class","element resource",3,"id","name","resourceType","extension",4,"ngIf"],[1,"element","resource",3,"id","name","resourceType","extension"],[1,"caption","empty"],[1,"empty-text"]],template:function(t,o){1&t&&(e.YNc(0,ce,2,0,"div",0),e.YNc(1,ge,3,2,"div",1),e.YNc(2,ue,4,3,"div",2)),2&t&&(e.Q6J("ngIf",o.isLoading),e.xp6(1),e.Q6J("ngIf",!o.isLoading&&o.currentElements.length),e.xp6(1),e.Q6J("ngIf",!o.isLoading&&!o.currentElements.length))},dependencies:[c.sg,c.O5,W.R,$.J,le,Z.X$],styles:["[_nghost-%COMP%]{background-color:#fff;padding:16px;display:flex;flex-direction:column}.loader[_ngcontent-%COMP%]{margin-top:16px;flex:1 1 100%;display:flex}.loader[_ngcontent-%COMP%]   app-loader[_ngcontent-%COMP%]{margin:auto;display:block}.list[_ngcontent-%COMP%]{flex:1 1 100%}.list[_ngcontent-%COMP%]   .element[_ngcontent-%COMP%]{margin-bottom:16px}.empty[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;align-items:center}.empty[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%]{margin:auto}"]}),n})();var _e=r(3927);function he(n,l){1&n&&(e.TgZ(0,"div",3),e._UZ(1,"app-loader"),e.qZA())}function Ce(n,l){if(1&n&&e._UZ(0,"app-resources-list-element",7),2&n){const t=e.oxw().$implicit,o=e.oxw(2);e.Q6J("id",t.res.resource)("name",t.name)("resourceType",t.res.type)("date",o.dateFromNumber(t.res.addDate))("extension",t.res.extension)}}function be(n,l){if(1&n&&(e.ynx(0),e.YNc(1,Ce,1,5,"app-resources-list-element",6),e.BQk()),2&n){const t=l.$implicit;e.xp6(1),e.Q6J("ngIf",t.res)}}function ye(n,l){if(1&n&&(e.TgZ(0,"div",4),e.YNc(1,be,2,1,"ng-container",5),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.newElements())}}function xe(n,l){1&n&&(e.TgZ(0,"div",8)(1,"div",9),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n&&(e.xp6(2),e.Oqu(e.l
1cZ(3,1,"LIBRARY.EMPTY")))}let Pe=(()=>{class n{constructor(){this.allElements=[],this.isLoading=!1}newElements(){const t=this.allElements.filter(o=>!!o.res);return _e.I.sortByDate(t,o=>o.res?(0,s.xe)(o.res.addDate):new Date(0),!0,!0),t.slice(0,5)}dateFromNumber(t){return(0,s.xe)(t)}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["sdo-library-new"]],inputs:{allElements:"allElements",isLoading:"isLoading"},decls:6,vars:6,consts:[["class","loader",4,"ngIf"],["class","body",4,"ngIf"],["class","caption empty",4,"ngIf"],[1,"loader"],[1,"body"],[4,"ngFor","ngForOf"],["class","element resource",3,"id","name","resourceType","date","extension",4,"ngIf"],[1,"element","resource",3,"id","name","resourceType","date","extension"],[1,"caption","empty"],[1,"empty-text"]],template:function(t,o){1&t&&(e.TgZ(0,"h6"),e._uU(1),e.ALo(2,"translate"),e.qZA(),e.YNc(3,he,2,0,"div",0),e.YNc(4,ye,2,1,"div",1),e.YNc(5,xe,4,3,"div",2)),2&t&&(e.xp6(1),e.Oqu(e.lcZ(2,4,"LIBRARY.NEW_TITLE")),e.xp6(2),e.Q6J("ngIf",o.isLoading),e.xp6(1),e.Q6J("ngIf",!o.isLoading&&o.newElements().length),e.xp6(1),e.Q6J("ngIf",!o.isLoading&&!o.newElements().length))},dependencies:[c.sg,c.O5,W.R,$.J,Z.X$],styles:["[_nghost-%COMP%]{background-color:#fff;padding:16px;display:flex;flex-direction:column}h6[_ngcontent-%COMP%]{padding-bottom:24px}@media (max-width: 767px){h6[_ngcontent-%COMP%]{display:none}}.loader[_ngcontent-%COMP%]{margin-top:16px;flex:1 1 100%;display:flex}.loader[_ngcontent-%COMP%]   app-loader[_ngcontent-%COMP%]{margin:auto;display:block}.body[_ngcontent-%COMP%]{flex:1 1 100%}.body[_ngcontent-%COMP%]   .element[_ngcontent-%COMP%]{margin-bottom:16px}.empty[_ngcontent-%COMP%]{flex:1 1 100%;display:flex;align-items:center}.empty[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%]{margin:auto}"]}),n})();const Me=["onlyMobileElement"],j=function(){return["/library"]};function Oe(n,l){1&n&&(e.TgZ(0,"a",19),e._UZ(1,"app-icon",20),e.qZA()),2&n&&(e.Q6J("routerLink",e.DdM(3,j)),e.xp6(1),e.Q6J("file","hardware")("name","back"))}const G=function(n){return["/library","folder",n]};function ve(n,l){if(1&n&&(e.TgZ(0,"a",19),e._UZ(1,"app-icon",20),e.qZA()),2&n){const t=e.oxw(2);e.Q6J("routerLink",e.VKq(3,G,t.breadcrumbsElements.previous.id)),e.xp6(1),e.Q6J("file","hardware")("name","back")}}function Ee(n,l){1&n&&(e.ynx(0),e._uU(1),e.ALo(2,"translate"),e.BQk()),2&n&&(e.xp6(1),e.hij(" ",e.lcZ(2,1,"LIBRARY.TITLE")," "))}function Le(n,l){if(1&n&&(e.ynx(0),e._uU(1),e.BQk()),2&n){const t=e.oxw(2);e.xp6(1),e.hij(" ",t.breadcrumbsElements.current.name," ")}}function Te(n,l){if(1&n){const t=e.EpF();e.TgZ(0,"div",14)(1,"div",15),e.YNc(2,Oe,2,4,"a",16),e.YNc(3,ve,2,5,"a",16),e.qZA(),e.TgZ(4,"div",17),e.NdJ("click",function(){e.CHM(t);const i=e.oxw();return e.KtG(i.goToBack())}),e.TgZ(5,"h6"),e.YNc(6,Ee,3,3,"ng-container",18),e.YNc(7,Le,2,1,"ng-container",18),e.qZA()()()}if(2&n){const t=e.oxw();e.xp6(2),e.Q6J("ngIf",!t.breadcrumbsElements.previous),e.xp6(1),e.Q6J("ngIf",t.breadcrumbsElements.previous),e.xp6(3),e.Q6J("ngIf",!t.breadcrumbsElements.current),e.xp6(1),e.Q6J("ngIf",t.breadcrumbsElements.current)}}function Ae(n,l){1&n&&(e.TgZ(0,"div",21),e._UZ(1,"app-start-mobile-header"),e.qZA())}function Fe(n,l){if(1&n&&(e.ynx(0),e.TgZ(1,"a",24),e._uU(2),e.qZA(),e.TgZ(3,"span",25),e._uU(4,"/"),e.qZA(),e.BQk()),2&n){const t=l.$implicit;e.xp6(1),e.Q6J("routerLink",e.VKq(2,G,t.id)),e.xp6(1),e.Oqu(t.name)}}function Ie(n,l){if(1&n&&(e.TgZ(0,"div",22)(1,"div",23)(2,"a",24),e._uU(3),e.ALo(4,"translate"),e.qZA(),e.TgZ(5,"span",25),e._uU(6,"/"),e.qZA(),e.YNc(7,Fe,5,4,"ng-container",26),e.qZA(),e.TgZ(8,"h5"),e._uU(9),e.qZA()()),2&n){const t=e.oxw();e.xp6(2),e.Q6J("routerLink",e.DdM(6,j)),e.xp6(1),e.Oqu(e.lcZ(4,4,"LIBRARY.TITLE")),e.xp6(4),e.Q6J("ngForOf",t.breadcrumbsElements.opened),e.xp6(2),e.Oqu(t.breadcrumbsElements.current.name)}}function Ze(n,l){1&n&&(e.TgZ(0,"div",27)(1,"h5"),e._uU(2),e.ALo(3,"translate"),e.qZA()()),2&n&&(e.xp6(2),e.Oqu(e.lcZ(3,1,"LIBRARY.TITLE")))}const we=function(n,l){return{"subtitle-2":n,"body-2":l}};function Be(n,l){if(1&n){const t=e.EpF();e.TgZ(0,"div",30),e.NdJ("click",function(){const g=e.CHM(t).$implicit,E=e.oxw(2);return e.KtG(E.goToPage(g))}),e._uU(1),e.ALo(2,"async"),e.qZA()}if(2&n){const t=l.$implicit,o=e.oxw(2);e.Q6J("ngClass",e.WLB(4,we,t.block===o.currentBlock,t.block!==o.currentBlock)),e.xp6(1),e.hij(" ",e.lcZ(2,2,t.name()),"")}}function Re(n,l){if(1&n&&(e.TgZ(0,"div",28),e.YNc(1,Be,3,7,"div",29),e.qZA()),2&n){const t=e.oxw();e.xp6(1),e.Q6J("ngForOf",t.availablePages)}}function De(n,l){if(1&n){const t=e.EpF();e.TgZ(0,"sdo-library-tree",31),e.NdJ("emitIsLoading",function(i){e.CHM(t);const g=e.oxw();return e.KtG(g.setIsLoading(i))})("emitAllElements",function(i){e.CHM(t);const g=e.oxw();return e.KtG(g.setAllElements(i))}),e.qZA()}if(2&n){const t=e.oxw();e.Q6J("currentFolder",t.currentFolder)}}function Ue(n,l){if(1&n&&e._UZ(0,"sdo-library-new",32),2&n){const t=e.oxw();e.Q6J("allElements",t.allElements)("isLoading",t.isLoading)}}const J={tree:"tree",new:"new"};let Y=(()=>{class n extends T.k{get availablePages(){return this.allPages.filter(t=>t.available)}onWindowResize(t){}constructor(t,o,i,g,E,C){super(),this.translate=t,this.activatedRoute=o,this.router=i,this.library=g,this.err=E,this.cd=C,this.isPage=!0,this.blockNames=J,this.allPages=[{name:()=>this.translate.get("LIBRARY.TITLE"),block:J.tree,available:!0},{name:()=>this.translate.get("LIBRARY.NEW_TITLE"),block:J.new,available:!0}],this.currentBlock=this.availablePages[0].block,this.currentFolder="",this.breadcrumbsElements={current:void 0,previous:void 0,opened:[]},this.allElements=[],this.isLoading=!1,p.S.init(this.translate)}ngOnInit(){this.activatedRoute.params.pipe((0,L.R)(this.ngUnsubscribe)).subscribe(t=>{this.currentBlock=t.block?t.block:this.availablePages[0].block,this.currentFolder=t.folder?t.folder:"",this.breadcrumbsElements=this.getBreadcrumbsElements(),this.cd.detectChanges(),this.currentBlock!==this.blockNames.tree&&this.library.AllElements().pipe((0,L.R)(this.ngUnsubscribe)).subscribe(o=>this.setAllElements(o),o=>this.err.register(o))})}setAllElements(t){this.allElements=t,this.breadcrumbsElements=this.getBreadcrumbsElements()}setIsLoading(t){this.isLoading=t}getBreadcrumbsElements(){const t={current:void 0,previous:void 0,opened:[]};if(!this.currentFolder)return t;t.current=this.allElements.find(i=>i.id===this.currentFolder);const o=i=>{if(!i)return;const g=this.allElements.find(E=>E.id===i);g&&(t.opened.push(g),o(g.parent))};return t.current&&o(t.current.parent),t.opened.reverse(),t.opened.length>0&&(t.previous=t.opened[t.opened.length-1]),t}
1isMobile(){return!!this.onlyMobileElement&&null!==this.onlyMobileElement.nativeElement.offsetParent}isBlockAvailable(t){return this.isMobile()&&this.availablePages.findIndex(i=>i.block===t)>-1?t===this.currentBlock:!(null===(o=this.allPages.find(i=>i.block===t))||void 0===o||!o.available);var o}goToPage(t){this.router.navigate(["/library",t.block])}goToBack(){this.router.navigate(this.breadcrumbsElements.previous?["/library","folder",this.breadcrumbsElements.previous.id]:["/library"])}}return n.\u0275fac=function(t){return new(t||n)(e.Y36(Z.sK),e.Y36(M.gz),e.Y36(M.F0),e.Y36(H),e.Y36(z.r),e.Y36(e.sBO))},n.\u0275cmp=e.Xpm({type:n,selectors:[["sdo-library-page"]],viewQuery:function(t,o){if(1&t&&e.Gf(Me,7),2&t){let i;e.iGM(i=e.CRH())&&(o.onlyMobileElement=i.first)}},hostVars:2,hostBindings:function(t,o){1&t&&e.NdJ("resize",function(g){return o.onWindowResize(g)},!1,e.Jf7),2&t&&e.ekj("page-host",o.isPage)},features:[e.qOj],decls:15,vars:7,consts:[[1,"page-nav"],[1,"page-body"],[1,"mobileCheck"],["onlyMobileElement",""],["class","mobileBreadcrumb",4,"ngIf"],["class","mobileHeader",4,"ngIf"],["class","head withBreadcrumbs",4,"ngIf"],["class","head withoutBreadcrumbs",4,"ngIf"],["class","mobilePages",4,"ngIf"],[1,"container"],[1,"left"],["class","block",3,"currentFolder","emitIsLoading","emitAllElements",4,"ngIf"],[1,"right"],["class","block",3,"allElements","isLoading",4,"ngIf"],[1,"mobileBreadcrumb"],[1,"back"],[3,"routerLink",4,"ngIf"],[1,"title",3,"click"],[4,"ngIf"],[3,"routerLink"],[3,"file","name"],[1,"mobileHeader"],[1,"head","withBreadcrumbs"],[1,"breadcrumbs"],[1,"crumb",3,"routerLink"],[1,"slash"],[4,"ngFor","ngForOf"],[1,"head","withoutBreadcrumbs"],[1,"mobilePages"],["class","pageName",3,"ngClass","click",4,"ngFor","ngForOf"],[1,"pageName",3,"ngClass","click"],[1,"block",3,"currentFolder","emitIsLoading","emitAllElements"],[1,"block",3,"allElements","isLoading"]],template:function(t,o){1&t&&(e._UZ(0,"sdo-app-nav",0),e.TgZ(1,"div",1),e._UZ(2,"div",2,3),e.YNc(4,Te,8,4,"div",4),e.YNc(5,Ae,2,0,"div",5),e.YNc(6,Ie,10,7,"div",6),e.YNc(7,Ze,4,3,"div",7),e.YNc(8,Re,2,1,"div",8),e.TgZ(9,"div",9)(10,"div",10),e.YNc(11,De,1,1,"sdo-library-tree",11),e.qZA(),e.TgZ(12,"div",12),e.YNc(13,Ue,1,2,"sdo-library-new",13),e.qZA()(),e._UZ(14,"app-copyright"),e.qZA()),2&t&&(e.xp6(4),e.Q6J("ngIf",o.breadcrumbsElements.current),e.xp6(1),e.Q6J("ngIf",!o.breadcrumbsElements.current),e.xp6(1),e.Q6J("ngIf",o.breadcrumbsElements.current),e.xp6(1),e.Q6J("ngIf",!o.breadcrumbsElements.current),e.xp6(1),e.Q6J("ngIf",!o.breadcrumbsElements.current),e.xp6(3),e.Q6J("ngIf",o.isBlockAvailable(o.blockNames.tree)),e.xp6(2),e.Q6J("ngIf",o.isBlockAvailable(o.blockNames.new)))},dependencies:[c.mk,c.sg,c.O5,M.rH,ie.r,se.I,K.o,ae.l,fe,Pe,c.Ov,Z.X$],styles:["@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .mobileHeader[_ngcontent-%COMP%]{display:none}}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .mobileCheck[_ngcontent-%COMP%]{display:none}}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]{display:flex;align-items:center;padding:20px 16px 8px}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]{display:none}}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]   .back[_ngcontent-%COMP%]{margin-right:20px;flex:0 0 auto}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]   .back[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{display:block;height:16px;width:16px}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]   .back[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]   app-icon[_ngcontent-%COMP%]{width:16px;height:16px;fill:#737169}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex:1 1 100%;overflow:hidden}.page-body[_ngcontent-%COMP%]   .mobileBreadcrumb[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]   h6[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.page-body[_ngcontent-%COMP%]   .mobilePages[_ngcontent-%COMP%]{display:flex;border-bottom:1px solid #A4A29B;margin:16px 0 0;width:100%;overflow-x:auto;overflow-y:hidden}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .mobilePages[_ngcontent-%COMP%]{display:none}}.page-body[_ngcontent-%COMP%]   .mobilePages[_ngcontent-%COMP%]   .pageName[_ngcontent-%COMP%]{cursor:pointer;margin-right:16px;margin-bottom:-1px;padding:6px;text-transform:uppercase;white-space:nowrap}.page-body[_ngcontent-%COMP%]   .mobilePages[_ngcontent-%COMP%]   .pageName.subtitle-2[_ngcontent-%COMP%]{border-bottom:2px solid #0D51F8}.page-body[_ngcontent-%COMP%]   .mobilePages[_ngcontent-%COMP%]   .pageName[_ngcontent-%COMP%]:first-child{margin-left:16px}.page-body[_ngcontent-%COMP%]   .head.withBreadcrumbs[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin:0 15px}.page-body[_ngcontent-%COMP%]   .head.withoutBreadcrumbs[_ngcontent-%COMP%]   h5[_ngcontent-%COMP%]{margin:32px 15px 0}@media (max-width: 767px){.page-body[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]{display:none}}.page-body[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   .breadcrumbs[_ngcontent-%COMP%]{margin:32px 15px 8px;font-style:normal;font-weight:400;font-size:.875rem;line-height:1.375rem}.page-body[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   .breadcrumbs[_ngcontent-%COMP%]   .slash[_ngcontent-%COMP%], .page-body[_ngcontent-%COMP%]   .head[_ngcontent-%COMP%]   .breadcrumbs[_ngcontent-%COMP%]   .crumb[_ngcontent-%COMP%]{padding-right:12px}.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]{display:flex;flex-direction:row;flex-wrap:wrap;padding-bottom:32px}.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border-top:16px solid #F5F6FA;border-left:16px solid #F5F6FA;border-right:16px solid #F5F6FA;flex:2 2 auto}@media (max-width: 767px){.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]{border:none}}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]{min-width:400px}}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .left[_ngcontent-%COMP%]   sdo-library-tree[_ngcontent-%COMP%]{min-height:450px}}.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border-top:16px solid #F5F6FA;border-left:16px solid #F5F6FA;border-right:16px solid #F5F6FA;flex:1 1 352px}@media (max-width: 767px){.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]{border:none}}.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   .block[_ngcontent-%COMP%]{min-width:200
1px;margin-bottom:24px}@media (min-width: 768px){.page-body[_ngcontent-%COMP%]   .container[_ngcontent-%COMP%]   .right[_ngcontent-%COMP%]   sdo-library-new[_ngcontent-%COMP%]{min-height:144px}}@media (max-width: 767px){.page-body[_ngcontent-%COMP%]   app-copyright[_ngcontent-%COMP%]{display:none}}"]}),n})();const Je=[{path:"folder/:folder",component:Y},{path:":block",component:Y},{path:"**",component:Y}];let Ye=(()=>{class n{constructor(){}}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[M.Bz.forChild(Je),M.Bz]}),n})();var V=r(4178),Qe=r(1905);let Ne=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,Z.aw,V.e,Qe.R]}),n})();var X=r(529),Se=r(4844),ke=r(443);function q(n){return new Se.z(n,[{prefix:"./assets/i18n/modules/root/",suffix:".json"},{prefix:"./assets/i18n/modules/library/",suffix:".json"},...ke.Qg])}let He=(()=>{class n{}return n.\u0275fac=function(t){return new(t||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[c.ez,M.Bz,Ye,Z.aw.forChild({loader:{provide:Z.Zw,useFactory:q,deps:[X.eN]},isolate:!0}),X.JF,V.e,Ne]}),n})()},5726:(D,F,r)=>{r.d(F,{l:()=>_});var c=r(3625),M=r(1111),p=r(8274),L=r(6895),T=r(6575);function A(s,v){if(1&s&&p._UZ(0,"sdo-inner-html",2),2&s){const a=p.oxw();p.Q6J("filePathConverter",a.filePathConverter)("html",a.footerText)}}function w(s,v){if(1&s&&(p.TgZ(0,"span",3),p._uU(1),p.qZA()),2&s){const a=p.oxw();p.xp6(1),p.hij("v. ",a.version,"")}}let _=(()=>{class s extends c.k{constructor(a){super(),this.settings=a,this.displayVersion=!1,this.filePathConverter=this.settings.ImageURL,this.footerText=this.settings.Footer(),this.version=this.settings.Version()}}return s.\u0275fac=function(a){return new(a||s)(p.Y36(M.g))},s.\u0275cmp=p.Xpm({type:s,selectors:[["app-copyright"]],inputs:{displayVersion:"displayVersion"},features:[p.qOj],decls:2,vars:2,consts:[["class","comment",3,"filePathConverter","html",4,"ngIf"],["class","caption version",4,"ngIf"],[1,"comment",3,"filePathConverter","html"],[1,"caption","version"]],template:function(a,m){1&a&&(p.YNc(0,A,1,2,"sdo-inner-html",0),p.YNc(1,w,2,1,"span",1)),2&a&&(p.Q6J("ngIf",m.footerText),p.xp6(1),p.Q6J("ngIf",m.displayVersion))},dependencies:[L.O5,T.x],styles:["[_nghost-%COMP%]{display:block;font-size:.75rem;line-height:1.125rem;color:#737169;padding:0 32px 16px}"]}),s})()},4587:(D,F,r)=>{r.d(F,{I:()=>I});var c=r(1111),M=r(9727),p=r(5474),L=r(3625),T=r(8617),A=r(6079),w=r(2722),_=r(6265),s=r(8274),v=r(6895),a=r(6410),m=r(8030);const d=function(h,O,y,u,B){return{userLogo_300x100:h,userLogo_200x100:O,userLogo_100x100:y,userLogo_100x150:u,defaultLogo:B}},x=function(h){return[h]};let I=(()=>{class h extends L.k{constructor(y,u,B){super(),this.settings=y,this.auth=u,this.errors=B,this.logoPath=this.settings.Logo(),this.logoSize=this.settings.LogoSize(),this.logoSizes=_.ip,this.title=this.settings.Title(),this.profileElement={page:M.c.profile,emptyAvatarIconName:p.y0.EMPTY_AVATAR,avatarImagePath:""},this.auth.OnChangeUserData$.pipe((0,w.R)(this.ngUnsubscribe)).subscribe(R=>{this.profileElement.avatarImagePath=R.pathToAvatar(this.settings)},R=>this.errors.register(R))}ngOnInit(){}}return h.\u0275fac=function(y){return new(y||h)(s.Y36(c.g),s.Y36(T.e),s.Y36(A.r))},h.\u0275cmp=s.Xpm({type:h,selectors:[["app-start-mobile-header"]],features:[s.qOj],decls:8,vars:13,consts:[[1,"container",3,"ngClass"],[1,"logo"],[3,"src"],[1,"disabled","title"],[1,"user"],["routerLinkActive","active",1,"profile",3,"routerLink"],[3,"path"]],template:function(y,u){1&y&&(s.TgZ(0,"div",0)(1,"div",1),s._UZ(2,"img",2),s.qZA(),s.TgZ(3,"div",3),s._uU(4),s.qZA(),s.TgZ(5,"div",4)(6,"a",5),s._UZ(7,"sdo-avatar",6),s.qZA()()()),2&y&&(s.Q6J("ngClass",s.qbA(5,d,u.logoSize===u.logoSizes["300x100"],u.logoSize===u.logoSizes["200x100"],u.logoSize===u.logoSizes["100x100"],u.logoSize===u.logoSizes["100x150"],""===u.logoSize)),s.xp6(2),s.Q6J("src",u.logoPath,s.LSH),s.xp6(2),s.hij(" ",u.title," "),s.xp6(2),s.Q6J("routerLink",s.VKq(11,x,"/"+u.profileElement.page)),s.xp6(1),s.Q6J("path",u.profileElement.avatarImagePath))},dependencies:[v.mk,a.rH,a.Od,m.A],styles:["[_nghost-%COMP%]{display:block;background-color:#fff;width:100%}.container[_ngcontent-%COMP%]{display:flex;align-items:center}.container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{flex:0 0 auto;padding:12px 16px;display:flex}.container[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100px;max-height:35px;object-fit:contain}.container.userLogo_300x100[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{flex:1 1 100%}.container.userLogo_300x100[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:300px;max-height:35px}.container.userLogo_300x100[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{display:none}.container[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{flex:1 1 100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;padding-right:8px}.container[_ngcontent-%COMP%]   .user[_ngcontent-%COMP%]{flex:0 0 auto;padding:12px 18px 12px 0}"]}),h})()},6575:(D,F,r)=>{r.d(F,{x:()=>v});var c=r(8274),M=r(6895);class p{static changeDOM(m,d){if(!m)return;const x=m.querySelectorAll("p");
1if(!x)return;x.forEach(h=>{var O;const y=h.querySelectorAll("*"),u=h.querySelectorAll("br");y.length===u.length&&(null===(O=h.textContent)||void 0===O||!O.trim())&&h.remove()});const I=m.querySelectorAll("a");if(I&&(I.forEach(h=>{h.setAttribute("target","_blank")}),d)){const h=m.querySelectorAll("img");if(!h)return;h.forEach(O=>{const y=O.getAttribute("src");y&&O.setAttribute("src",d(y))})}}}var L=r(1481);let T=(()=>{class a{constructor(d){this.sanitizer=d}transform(d){return this.sanitizer.bypassSecurityTrustHtml(d)}}return a.\u0275fac=function(d){return new(d||a)(c.Y36(L.H7,16))},a.\u0275pipe=c.Yjl({name:"safeHtml",type:a,pure:!0}),a})(),A=(()=>{class a{constructor(d){this.el=d}ngAfterViewInit(){this.el.nativeElement&&p.changeDOM(this.el.nativeElement.shadowRoot,this.filePathConverter)}}return a.\u0275fac=function(d){return new(d||a)(c.Y36(c.SBq))},a.\u0275cmp=c.Xpm({type:a,selectors:[["sdo-shadow-dom"]],inputs:{html:"html",filePathConverter:"filePathConverter"},decls:2,vars:3,consts:[[1,"container",3,"innerHTML"]],template:function(d,x){1&d&&(c._UZ(0,"div",0),c.ALo(1,"safeHtml")),2&d&&c.Q6J("innerHTML",c.lcZ(1,1,x.html),c.oJD)},dependencies:[T],styles:["img{max-width:100%;height:auto}\n"],encapsulation:3}),a})(),w=(()=>{class a{constructor(d){this.el=d}ngAfterViewInit(){this.el.nativeElement&&p.changeDOM(this.el.nativeElement,this.filePathConverter)}}return a.\u0275fac=function(d){return new(d||a)(c.Y36(c.SBq))},a.\u0275cmp=c.Xpm({type:a,selectors:[["sdo-default-encapsulation"]],inputs:{html:"html",filePathConverter:"filePathConverter"},decls:2,vars:3,consts:[[1,"container",3,"innerHTML"]],template:function(d,x){1&d&&(c._UZ(0,"div",0),c.ALo(1,"safeHtml")),2&d&&c.Q6J("innerHTML",c.lcZ(1,1,x.html),c.oJD)},dependencies:[T]}),a})();function _(a,m){if(1&a&&(c.ynx(0),c._UZ(1,"sdo-shadow-dom",1),c.BQk()),2&a){const d=c.oxw();c.xp6(1),c.Q6J("html",d.html)("filePathConverter",d.filePathConverter)}}function s(a,m){if(1&a&&(c.ynx(0),c._UZ(1,"sdo-default-encapsulation",1),c.BQk()),2&a){const d=c.oxw();c.xp6(1),c.Q6J("html",d.html)("filePathConverter",d.filePathConverter)}}let v=(()=>{class a{constructor(){this.isShadowDomSupport=!!document.head.attachShadow}}return a.\u0275fac=function(d){return new(d||a)},a.\u0275cmp=c.Xpm({type:a,selectors:[["sdo-inner-html"]],inputs:{html:"html",filePathConverter:"filePathConverter"},decls:2,vars:2,consts:[[4,"ngIf"],[3,"html","filePathConverter"]],template:function(d,x){1&d&&(c.YNc(0,_,2,2,"ng-container",0),c.YNc(1,s,2,2,"ng-container",0)),2&d&&(c.Q6J("ngIf",x.isShadowDomSupport),c.xp6(1),c.Q6J("ngIf",!x.isShadowDomSupport))},dependencies:[M.O5,A,w],styles:["[_nghost-%COMP%]{display:block}.container[_ngcontent-%COMP%]   *[_ngcontent-%COMP%]:empty   *[_ngcontent-%COMP%]:not(img){display:none}.container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer;text-decoration:none;color:#0d51f8}.container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:visited{color:#0d51f8}.container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#5685fa}.container[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:active{color:#0327f3}"]}),a})()}}]);

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.