PageSourceSearch

https://akad-campus.de/833.07a2da733d9e554a.js

js akad-campus.de collected 2026-10-05 07:43:56 UTC 30,497 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkstudent_client=self.webpackChunkstudent_client||[]).push([[833],{44893:(y,T,r)=>{r.d(T,{r:()=>b});var o=r(81180),e=r(94650),n=r(54004),g=r(20724),c=r(62510),P=r(48204),t=r(10866),_=r(15832),a=r(36895),l=r(82458),d=r(89383);function h(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw().$implicit,k=e.oxw(2);return e.KtG(k.navigate(I))})("keyup.enter",function(){e.CHM(s);const I=e.oxw().$implicit,k=e.oxw(2);return e.KtG(k.navigate(I))}),e._uU(1),e.qZA()}if(2&u){const s=e.oxw().$implicit;e.xp6(1),e.Oqu(s.title)}}function i(u,A){if(1&u&&e._UZ(0,"a",11),2&u){const s=e.oxw().$implicit;e.Q6J("href",s.fileUrl,e.LSH)("target","_blank")}}function E(u,A){if(1&u&&(e.TgZ(0,"a",12),e._uU(1),e.qZA()),2&u){const s=e.oxw().$implicit;e.Q6J("href",s.fileUrl,e.LSH)("target","_blank"),e.xp6(1),e.Oqu(s.title)}}function N(u,A){if(1&u&&(e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.YNc(2,h,2,1,"a",7),e.YNc(3,i,1,2,"a",8),e.YNc(4,E,2,3,"a",9),e.qZA()),2&u){const s=A.$implicit,f=e.oxw(2);e.xp6(1),e.Q6J("mimeType",s.mimeType),e.xp6(1),e.Q6J("ngIf",f.isMediaPlayerNavigatable(s)),e.xp6(1),e.Q6J("ngIf",f.isMediaPlayerNavigatable(s)),e.xp6(1),e.Q6J("ngIf",!f.isMediaPlayerNavigatable(s))}}function v(u,A){if(1&u&&(e.TgZ(0,"div",3)(1,"b"),e._uU(2),e.qZA(),e.YNc(3,N,5,4,"div",4),e.qZA()),2&u){const s=A.$implicit,f=e.oxw();e.xp6(2),e.hij("",s,":"),e.xp6(1),e.Q6J("ngForOf",f.downloads[s])}}function M(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamChecklistModal())})("keyup.enter",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamChecklistModal())}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&u&&(e.xp6(1),e.Q6J("mimeType","default"),e.xp6(2),e.Oqu(e.lcZ(4,2,"brick-detail
1s.additional-information.checklist")))}function m(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamPrivacyModal())})("keyup.enter",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamPrivacyModal())}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&u&&(e.xp6(1),e.Q6J("mimeType","default"),e.xp6(2),e.Oqu(e.lcZ(4,2,"brick-details.additional-information.terms")))}function O(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamRulesModal())})("keyup.enter",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openOnlineExamRulesModal())}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&u&&(e.xp6(1),e.Q6J("mimeType","default"),e.xp6(2),e.Oqu(e.lcZ(4,2,"brick-details.additional-information.onlineexamrules")))}function C(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openRegularExamRulesModal())})("keyup.enter",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openRegularExamRulesModal())}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&u&&(e.xp6(1),e.Q6J("mimeType","default"),e.xp6(2),e.Oqu(e.lcZ(4,2,"brick-detail
1s.additional-information.regularexamrules")))}function D(u,A){if(1&u&&(e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",14),e._uU(3),e.ALo(4,"translate"),e.qZA()()),2&u){const s=e.oxw(2);e.xp6(1),e.Q6J("mimeType","default"),e.xp6(1),e.Q6J("href",s.trialExamUrl,e.LSH),e.xp6(1),e.Oqu(e.lcZ(4,3,"brick-details.additional-information.examTrial"))}}function p(u,A){if(1&u){const s=e.EpF();e.TgZ(0,"div",5),e._UZ(1,"campus-mime-type-icon",6),e.TgZ(2,"a",10),e.NdJ("click",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openAuxiliariesModal())})("keyup.enter",function(){e.CHM(s);const I=e.oxw(2);return e.KtG(I.openAuxiliariesModal())}),e._uU(3),e.ALo(4,"translate"),e.qZA()()}2&u&&(e.xp6(1),e.Q6J("mimeType","default"),e.xp6(2),e.Oqu(e.lcZ(4,2,"brick-details.additional-information.auxiliaries")))}function x(u,A){if(1&u&&(e.TgZ(0,"div",3)(1,"b"),e._uU(2),e.ALo(3,"translate"),e.qZA(),e.YNc(4,M,5,4,"div",13),e.YNc(5,m,5,4,"div",13),e.YNc(6,O,5,4,"div",13),e.YNc(7,C,5,4,"div",13),e.YNc(8,D,5,5,"div",13),e.YNc(9,p,5,4,"div",13),e._UZ(10,"div"),e.qZA()),2&u){const s=e.oxw();
1e.xp6(2),e.hij("",e.lcZ(3,7,"brick-details.additional-information.title"),":"),e.xp6(2),e.Q6J("ngIf",s.showOnlineExamChecklist()),e.xp6(1),e.Q6J("ngIf",s.showOnlineExamPrivacy()),e.xp6(1),e.Q6J("ngIf",s.showOnlineExamRules()),e.xp6(1),e.Q6J("ngIf",s.showRegularExamRules()),e.xp6(1),e.Q6J("ngIf",s.showRegularExamRules()),e.xp6(1),e.Q6J("ngIf",s.showExamAuxiliaries())}}let b=(()=>{class u{constructor(s,f,I,k,U){(0,o.Z)(this,"brickContentTypeService",void 0),(0,o.Z)(this,"router",void 0),(0,o.Z)(this,"examInfoService",void 0),(0,o.Z)(this,"examAuxiliaryService",void 0),(0,o.Z)(this,"brickPlayerService",void 0),(0,o.Z)(this,"brick",void 0),(0,o.Z)(this,"productId",void 0),(0,o.Z)(this,"moduleId",void 0),(0,o.Z)(this,"downloads",void 0),(0,o.Z)(this,"navigationToMediaPlayerSuccessful",new e.vpe),(0,o.Z)(this,"_showExamAuxiliaries",!1),(0,o.Z)(this,"trialExamUrl",void 0),this.brickContentTypeService=s,this.router=f,this.examInfoService=I,this.examAuxiliaryService=k,this.brickPlayerService=U}ngOnChanges(){this.brick&&this.examAuxiliaryService.getAuxiliaries(this.brick.brickId,"DE").pipe((0,n.U)(s=>s.auxiliaries.length>0)).subscribe(s=>this._showExamAuxiliaries=s)}ngOnDestroy(){}ngOnInit(){this.trialExamUrl=this.brickPlayerService.getOnlineTrialExamUrl()}navigate(s){this.router.navigate(["curriculum",this.productId,"module",this.moduleId,"brick",this.brick.brickId,"doc",s.documentId]).then(()=>this.navigationToMediaPlayerSuccessful.emit())}isMediaPlayerNavigatable(s){return this.brickContentTypeService.opensInWebView(s)}getTags(s){return null==s?[]:Object.keys(s)}showInfoForExams(){return this.brick&&(this.showRegularExamRules()||this.showOnlineExamRules()||this.showOnlineExamChecklist()||this.showOnlineExamPrivacy()||this.showExamAuxiliaries())}showRegularExamRules(){return this.isKlausur()}showOnlineExamRules(){return this.isOnlineKlausurOrTestKlausur()}showOnlineExamChecklist(){return this.isOnlineKlausurOrTestKlausur()}showOnlineExamPrivacy(){return this.isOnlineKlausurOrTestKlausur()}showExamAuxiliaries(){return(this.isOnlineKlausurOrTestKlausur()||this.isKlausur())&&this._showExamAuxiliaries}isOnlineKlausurOrTestKlausur(){return this.isOnlineKlausur()||"ONLINE_TESTKLAUSUR"===this.brick.brickSubType}isOnlineKlausur(){return this.brick.examInformation&&(this.brick.examInformation.adhocOnlineExam||this.brick.examInformation.terminOnlineExam)}isKlausur(){return this.brick.examInformation&&this.brick.examInformation.regularExam}openOnlineExamRulesModal(){this.examInfoService.openOnlineExamRulesModal()}openOnlineExamPrivacyModal(){this.examInfoService.openOnlineExamPrivacyModal()}openRegularExamRulesModal(){this.examInfoService.openRegularExamRulesModal()}openOnlineExamChecklistModal(){this.examInfoService.openOnlineExamChecklistModal()}openAuxiliariesModal(){this.examInfoService.openAuxiliariesModal(this.productId,this.brick.brickId)}}return(0,o.Z)(u,"\u0275fac",function(s){return new(s||u)(e.Y36(g.f),e.Y36(c.F0),e.Y36(P.m),e.Y36(t.d),e.Y36(_.Q))}),(0,o.Z)(u,"\u0275cmp",e.Xpm({type:u,selectors:[["campus-brick-details"]],inputs:{brick:"brick",productId:"productId",moduleId:"moduleId",downloads:"downloads"},outputs:{navigationToMediaPlayerSuccessful:"navigationToMediaPlayerSuccessful"},features:[e.TTD],decls:3,vars:3,consts:[[3,"innerHtml"],["class","mt-2",4,"ngFor","ngForOf"],["class","mt-2",4,"ngIf"],[1,"mt-2"],["class","mt-1",4,"ngFor","ngForOf"],[1,"mt-1"],[3,"mimeType"],["class","link","tabindex","0",3,"click","keyup.enter",4,"ngIf"],["class","fa fa-download link",3,"href","target",4,"ngIf"],["class","link",3,"href","target",4,"ngIf"],["tabindex","0",1,"link",3,"click","keyup.enter"],[1,"fa","fa-download","link",3,"href","target"],[1,"link",3,"href","target"],["class","mt-1",4,"ngIf"],["target","_blank",1,"link",3,"href"]],template:function(s,f){1&s&&(e._UZ(0,"div",0),e.YNc(1,v,4,2,"div",1),e.YNc(2,x,11,9,"div",2)),2&s&&(e.Q6J("innerHtml",null==f.brick?null:f.brick.information,e.oJD),e.xp6(1),e.Q6J("ngForOf",f.getTags(f.downloads)),e.xp6(1),e.Q6J("ngIf",f.showInfoForExams()))},dependencies:[a.sg,a.O5,l.L,d.X$],styles:[".link[_ngcontent-%COMP%]{margin-left:.3em}.online-exam-disabled-hint[_ngcontent-%COMP%]{color:#7f1e48;padding-top:25px}"]})),u})()},74394:(y,T,r)=>{r.d(T,{r:()=>N});var o=r(81180),e=r(39646),n=r(94650),g=r(76947),c=r(89383),P=r(36895);function t(v,M){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const m=n.oxw().$implicit;n.xp6(1),n.hij("(",m.amount,")")}}const _=function(v){return{active:v}};function a(v,M){if(1&v){const m=n.EpF();
1n.TgZ(0,"li",4)(1,"a",5),n.NdJ("click",function(){const D=n.CHM(m).$implicit,p=n.oxw();return n.KtG(p.selectItem(D))})("keydown.enter",function(){const D=n.CHM(m).$implicit,p=n.oxw();return n.KtG(p.selectItem(D))}),n._uU(2),n.ALo(3,"async"),n.YNc(4,t,2,1,"span",6),n.qZA()()}if(2&v){const m=M.$implicit,O=n.oxw();n.s9C("id",m.id),n.Q6J("ngClass",n.VKq(6,_,m.index===(null==O.selectedItem?null:O.selectedItem.index))),n.xp6(2),n.hij(" ",n.lcZ(3,4,O.getItemTitle(m))," "),n.xp6(2),n.Q6J("ngIf",m.amount)}}function l(v,M){1&v&&(n.ynx(0),n._uU(1,"\u2022"),n.BQk())}function d(v,M){if(1&v&&(n.TgZ(0,"span"),n._uU(1),n.qZA()),2&v){const m=n.oxw().$implicit;n.xp6(1),n.hij(" (",m.amount,")")}}const h=function(v){return{"selected-dropdown":v}};function i(v,M){if(1&v){const m=n.EpF();n.ynx(0),n.TgZ(1,"div",13),n.NdJ("click",function(){const D=n.CHM(m).$implicit,p=n.oxw(2);return n.KtG(p.selectItem(D))}),n.TgZ(2,"div",14),n.YNc(3,l,2,0,"ng-container",6),n.qZA(),n.TgZ(4,"div",15),n._uU(5),n.ALo(6,"async"),n.YNc(7,d,2,1,"span",6),n.qZA()(),n.BQk()}if(2&v){const m=M.$implicit,O=n.oxw(2);n.xp6(1),n.Q6J("ngClass",n.VKq(6,h,m.index===O.selectedItem.index)),n.xp6(2),n.Q6J("ngIf",m.index===O.selectedItem.index),n.xp6(2),n.hij(" ",n.lcZ(6,4,O.getItemTitle(m)),""),n.xp6(2),n.Q6J("ngIf",m.amount)}}function E(v,M){if(1&v&&(n.TgZ(0,"div",7)(1,"div",8),n.YNc(2,i,8,8,"ng-container",9),n.qZA(),n.TgZ(3,"button",10),n._uU(4),n.ALo(5,"async"),n._UZ(6,"i",11)(7,"i",12),n.qZA()()),2&v){const m=n.oxw();n.xp6(2),n.Q6J("ngForOf",m.navItems),n.xp6(2),n.hij(" ",n.lcZ(5,2,m.getSelectedItemTitle())," ")}}let N=(()=>{class v{constructor(m,O){(0,o.Z)(this,"translateService",void 0),(0,o.Z)(this,"navItems",void 0),(0,o.Z)(this,"activeIndex",0),(0,o.Z)(this,"selectedNavItem",new n.vpe),(0,o.Z)(this,"selectedItem",void 0),this.translateService=m,O.placement="bottom-right"}ngOnInit(){}ngOnChanges(m){this.navItems&&(this.navItems.filter(O=>!O.id).forEach(O=>O.id=""),this.selectedItem=this.navItems.find(O=>O.index===this.activeIndex))}selectItem(m){this.selectedNavItem.emit(m),this.selectedItem=m}getItemTitle(m){return m.translation?this.translateService.get(m.title):(0,e.of)(m.title)}getSelectedItemTitle(){if(this.selectedItem)return this.getItemTitle(this.selectedItem)}}return(0,o.Z)(v,"\u0275fac",function(m){return new(m||v)(n.Y36(c.sK),n.Y36(g.jL))}),(0,o.Z)(v,"\u0275cmp",n.Xpm({type:v,selectors:[["campus-card-actions-nav"]],inputs:{navItems:"navItems",activeIndex:"activeIndex"},outputs:{selectedNavItem:"selectedNavItem"},features:[n._Bn([g.jL]),n.TTD],decls:5,vars:2,consts:[[1,"desktop","d-none","d-xl-block"],[1,"nav","nav-tabs","justify-content-end"],["class","active nav-item",3,"id","ngClass",4,"ngFor","ngForOf"],["ngbDropdown","","class","mobile d-inline-block d-xl-none mb-1",4,"ngIf"],[1,"active","nav-item",3,"id","ngClass"],["tabindex","0",1,"nav-link",3,"click","keydown.enter"],[4,"ngIf"],["ngbDropdown","",1,"mobile","d-inline-block","d-xl-none","mb-1"],["ngbDropdownMenu","",1,"dropdown-menu"],[4,"ngFor","ngForOf"],["ngbDropdownToggle","",1,"btn","btn-outline-primary","btn-sm"],[1,"down","fa","fa-angle-down"],[1,"up","fa","fa-angle-up"],[1,"dropdown-item",3,"ngClass","click"],[1,"dropdown-indicator"],[1,"dropdown-text"]],template:function(m,O){1&m&&(n.TgZ(0,"div",0)(1,"nav",1)(2,"menu"),n.YNc(3,a,5,8,"li",2),n.qZA()()(),n.YNc(4,E,8,4,"div",3)),2&m&&(n.xp6(3),n.Q6J("ngForOf",O.navItems),n.xp6(1),n.Q6J("ngIf",O.navItems))},dependencies:[P.mk,P.sg,P.O5,g.jt,g.iD,g.Vi,P.Ov],styles:["[_nghost-%COMP%]   .dropdown-menu-right[_ngcontent-%COMP%]{left:auto!important;right:0}[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]{padding:.25rem 1.5rem .25rem 1rem;display:flex;cursor:pointer}[_nghost-%COMP%]   .dropdown-item[_ngcontent-%COMP%]   .dropdown-indicator[_ngcontent-%COMP%]{width:10%}[_nghost-%COMP%]   .dropdown-item.selected-dropdown[_ngcontent-%COMP%]{background-color:#f2f2f2}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]{background:none;margin:1px 0 0;border:0}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%]{list-style-type:none;margin:0;padding:0}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]{display:inline-block;background:none;margin:0;border:0}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{background:none;border:0;border-bottom:3px solid transparent;padding:.5rem;color:#3d3c3f;font-size:.87rem}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%], [_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(.active) > a[_ngcontent-%COMP%]:hover{color:#333;background:#fff}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li.active[_ngcontent-%COMP%] > a[_ngcontent-%COMP%]{border-bottom-color:#2d741d;text-decoration:none;cursor:default}[_nghost-%COMP%]   .desktop[_ngcontent-%COMP%]   .nav-tabs[_ngcontent-%COMP%]   menu[_ngcontent-%COMP%] > li[_ngcontent-%COMP%]:not(.active) > a[_ngcontent-%COMP%]:hover{border-bottom-color:#ccc}[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] > .down[_ngcontent-%COMP%]{display:inline}[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%] > button[_ngcontent-%COMP%] > .up[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%] > .dropdown-menu.show[_ngcontent-%COMP%]{padding:0 0 0 1px}[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%] > .dropdown-menu.show[_ngcontent-%COMP%] ~ button[_ngcontent-%COMP%] > .down[_ngcontent-%COMP%]{display:none}[_nghost-%COMP%]   .mobile[_ngcontent-%COMP%] > .dropdown-menu.show[_ngcontent-%COMP%] ~ button[_ngcontent-%COMP%] > .up[_ngcontent-%COMP%]{display:inline}"]})),v})()},98014:(y,T,r)=>{r.d(T,{t:()=>e});var o=(()=>{return(n=o||(o={})).ALL="ALL",n.OPEN="OPEN",n.ACTIVE="ACTIVE",n.COMPLETE="COMPLETE",o;var n})();class e{static isInOpenTab(g){return this.openTab().includes(g)}static isInActiveTab(g){return this.activeTab().includes(g)}static isInCompleteTab(g){return this.completeTab().includes(g)}static isModuleContentAccessible(g){return e.isInActiveTab(g)||e.isInCompleteTab(g)}static isBrickContentAccessible(g,c){return e.isBrickContentAlwaysAccessible(c)||e.isModuleContentAccessible(g)}static isReadyForCompletion(g){return"READY_FOR_COMPLETION"===g}static all(){return["OPEN","ACTIVE","READY_FOR_COMPLETION","COMPLETE"]}static openTab(){return["OPEN"]}static activeTab(){return["ACTIVE","READY_FOR_COMPLETION"]}static completeTab(){return["COMPLETE"]}static getStati(g){switch(g){case o.ACTIVE:return this.activeTab();case o.ALL:return this.all();case o.COMPLETE:return this.completeTab();case o.OPEN:return this.openTab()}}static isBrickContentAlwaysAccessible(g){return"MODULEINFUEHRUNGSVIDEO"===g.brickSubType}}},77156:(y,T,r)=>{r.d(T,{F:()=>o});var o=(()=>{return(e=o||(o={}))[e.ROSETTA_STONE=0]="ROSETTA_STONE",e[e.E_BOOK=1]="E_BOOK",e[e.ONLINE_TESTKLAUSUR=2]="ONLINE_TESTKLAUSUR",e[e.ASSIGNMENT=3]="ASSIGNMENT",e[e.PDF=4]="PDF",e[e.VIDEO=5]="VIDEO",e[e.AUDIO=6
1]="AUDIO",e[e.EVENT=7]="EVENT",e[e.EXAM=8]="EXAM",e[e.EINSENDEAUFGABE=9]="EINSENDEAUFGABE",e[e.WBT=10]="WBT",e[e.IQBOX=11]="IQBOX",e[e.CIRRUS_ONLINE_EXERCISE=12]="CIRRUS_ONLINE_EXERCISE",e[e.LINKEDIN=13]="LINKEDIN",e[e.UNDEFINED=14]="UNDEFINED",o;var e})()},20724:(y,T,r)=>{r.d(T,{f:()=>l});var o=r(81180),e=r(54004),n=r(62843),g=r(58177),c=r(77156),P=r(94650),t=r(80529);const _=/redirect\?key=(.+)/;let l=(()=>{class d{constructor(i){(0,o.Z)(this,"httpClient",void 0),this.httpClient=i}getPlayerType(i,E){return this.getPlayerTypeFromBrickSubType(i,E)}getPlayerTypeFromBrickSubType(i,E){switch(i){case"SEMINAR":case"ONLINE_SEMINAR":case"EINF_SEMINAR":case"VORBEREITUNGS_SEMINAR":case"PLANSPIEL":case"MUENDL_PRUEFUNG":case"LABOR":case"KOLLOQUIM":return c.F.EVENT;case"EINSENDEAUFGABE":return c.F.EINSENDEAUFGABE;case"ASSIGNMENT":return c.F.ASSIGNMENT;case"ONLINE_UEBUNG":case"ONLINE_TEST":return c.F.IQBOX;case"CIRRUS_ONLINE_UEBUNG":case"CIRRUS_ONLINE_TEST":return c.F.CIRRUS_ONLINE_EXERCISE;case"WBT":return c.F.WBT;case"WBT_ROSETTA_STONE":return c.F.ROSETTA_STONE;case"E_BOOK":var N=this.checkDownloads(E);return N!=c.F.UNDEFINED?N:c.F.E_BOOK;case"ONLINE_TESTKLAUSUR":return c.F.ONLINE_TESTKLAUSUR;case"WBT_LINKEDIN":return c.F.LINKEDIN;case"COMBINED_EXAM":return c.F.EXAM;default:return this.checkDownloads(E)}}getPrimaryResource(i){return this.flattenDownloadsMap(i).find(E=>E.primaryResource)}flattenDownloadsMap(i){return g.Z.flatMap(i)}getDownloadType(i){return"application/pdf"===i.mimeType?c.F.PDF:"audio/mpeg3"===i.mimeType||"audio/x-mpeg-3"===i.mimeType||"audio/mpeg"===i.mimeType?c.F.AUDIO:"Link"===i.tag&&"YOUTUBE_VIDEO"===i.fileEntryLinkType?c.F.VIDEO:"Link"===i.tag&&"SPRINGER_EBOOK"===i.fileEntryLinkType?c.F.PDF:c.F.UNDEFINED}getProxyLink(i){if(this.isProxyLink(i))return`/#/redirect?key=${i.match(_)[1]}`;throw new Error("Not a proxy link")}isNotPlayerCompatible(i){return i===c.F.EVENT||i===c.F.E_BOOK||i===c.F.UNDEFINED}isMediaType(i){return i===c.F.AUDIO||i===c.F.PDF||i===c.F.VIDEO}isPDF(i){return i===c.F.PDF}isStreamingType(i){return i===c.F.AUDIO||i===c.F.VIDEO}isExamAuxiliary(i){return!!i&&"Hilfsmittel"===i.tag}opensInWebView(i){if(!i)return!1;const E=this.getDownloadType(i);return this.isStreamingType(E)||this.isExamAuxiliary(i)&&this.isPDF(E)}isPrintable(i){return i===c.F.PDF}getYoutubeIdFromCampusLink(i){if(this.isProxyLink(i)){const E=i.match(_)[1];if(E)return this.httpClient.get(`/api/link/${E}?noredirect=true`).pipe((0,e.U)(v=>this.extractVideoId(v)))}return(0,n._)("No video download available or download is not a YouTube video")}extractVideoId(i){const E=i.replace(/.*\//,"");return E.startsWith("watch?")?E.match(/v=[\w\d]+/)[0].replace("v=",""):E}getDownloadsForModuleInfo(i,E){const N=this.flattenDownloadsMap(E),v=this.getPlayerTypeFromBrickSubType(i,E);if(this.brickMainContentTypeIsAFile(v)){const M=this.getPrimaryResource(E);return N.filter(m=>m!==M)}return N}brickMainContentTypeIsAFile(i){switch(i){case c.F.PDF:case c.F.AUDIO:case c.F.VIDEO:return!0;default:return!1}}checkDownloads(i){if(i){const E=this.getPrimaryResource(i);return E?this.getDownloadType(E):c.F.UNDEFINED}return c.F.UNDEFINED}isProxyLink(i){return i&&null!==i.match(_)}brickTypeIsSomeSortOfExercise(i){return["EINSENDEAUFGABE","ONLINE_TEST","ONLINE_UEBUNG","CIRRUS_ONLINE_UEBUNG","CIRRUS_ONLINE_TEST"].includes(i)}brickTypeIsSomeSortOfPruefungsleistung(i){return["BACHELORARBEIT","DIPLOMARBEIT","MASTERARBEIT","SEMINARARBEIT","ONLINE_KLAUSUR","TERMIN_ONLINE_KLAUSUR","COMBINED_EXAM","MUENDL_PRUEFUNG","KOLLOQUIM","ZENTRALES_ASSIGNMENT","ASSIGNMENT","MUENDL_PRUEFUNG"].includes(i)}getPlayerIconClass(i){return"STUDIENBRIEF"===i?"fa fa-file-pdf-o":this.brickTypeIsSomeSortOfPruefungsleistung(i)?"fa fa-graduation-cap":"WBT_LINKEDIN"===i?"fa fa-linkedin-square":"E_BOOK"===i||"FACHBUCH"===i?"fa fa-book":this.brickTypeIsSomeSortOfExercise(i)?"fa fa-pencil-square-o":"MODULEINFUEHRUNGSVIDEO"===i?"fa fa-youtube-play":"fa fa-cube"}}return(0,o.Z)(d,"\u0275fac",function(i){return new(i||d)(P.LFG(t.eN))}),(0,o.Z)(d,"\u0275prov",P.Yz7({token:d,factory:d.\u0275fac,providedIn:"root"})),d})()},15832:(y,T,r)=>{r.d(T,{Q:()=>g});var o=r(81180),e=r(80529),n=r(94650);let g=(()=>{class c{constructor(t){(0,o.Z)(this,"httpClient",void 0),this.httpClient=t}getPreviousAndNextBrick(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/previousAndNextBrick`)}getExerciseBrickData(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/exercise`)}getWbtBrickData(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/wbt`)}getOnlineExamData(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/onlineexam`)}
1prepareOnlineExam(t,_,a,l,d){const h=`/api/product/${encodeURIComponent(t)}/module/${encodeURIComponent(_)}/brick/${encodeURIComponent(a)}/player/onlineexam/prepare`;let i=new e.LE;return i=i.set("privacyAccepted",l.toString()),i=i.set("rulesAccepted",d.toString()),this.httpClient.get(h,{params:i})}cancelOnlineExamProctorAppointment(t,_,a){const l=`/api/product/${encodeURIComponent(t)}/module/${encodeURIComponent(_)}/brick/${encodeURIComponent(a)}/player/onlineexam/cancel`;return this.httpClient.put(l,null)}getProctorDemoData(){return this.httpClient.get("/api/onlineassessment/proctordemo")}prepareProctorDemo(t,_,a,l,d){let i=new e.LE;return i=i.set("privacyAccepted",l.toString()),i=i.set("rulesAccepted",d.toString()),i=i.set("productId",t),i=i.set("moduleId",_),i=i.set("brickId",a),this.httpClient.get("/api/onlineassessment/proctordemo/prepare",{params:i})}cancelProctorDemoAppointment(){return this.httpClient.put("/api/onlineassessment/proctordemo/cancel",null)}buildOnlineTestExamStartUrl(t,_,a){return`/api/product/${encodeURIComponent(t)}/module/${encodeURIComponent(_)}/brick/${encodeURIComponent(a)}/player/onlinetestexam/start`}buildOnlineExerciseUrl(t,_,a){return`/api/product/${encodeURIComponent(t)}/module/${encodeURIComponent(_)}/brick/${encodeURIComponent(a)}/player/onlineexercise/start`}getOnlineTrialExamUrl(){return"/api/onlineassessment/trial"}getOnlineTestExamData(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/onlinetestexam`)}getOnlineTestStartView(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/onlineexercise`)}getOnlineAssessmentResult(t,_,a,l){const d=`/api/product/${t}/module/${_}/brick/${a}/player/assessment/result`;let h=new e.LE;return l&&(h=h.set("maxResults",l.toString())),this.httpClient.get(d,{params:h})}getActions(t,_,a){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/actions`)}getTimelineElements(t,_,a,l){return this.httpClient.get(`/api/product/${t}/module/${_}/brick/${a}/player/timelineelements/${l}`)}}return(0,o.Z)(c,"\u0275fac",function(t){return new(t||c)(n.LFG(e.eN))}),(0,o.Z)(c,"\u0275prov",n.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})),c})()},11686:(y,T,r)=>{r.d(T,{d:()=>P});var o=r(81180),e=r(80529),n=r(434),g=r(94650),c=r(20724);let P=(()=>{class t{constructor(a,l){(0,o.Z)(this,"httpClient",void 0),(0,o.Z)(this,"brickContentTypeService",void 0),this.httpClient=a,this.brickContentTypeService=l}getBrickWithoutAccessTracking(a,l,d,h){return this.httpClient.get(`/api/${a}/product/${l}/module/${d}/brick/${h}`)}getBrickWithAccessTracking(a,l,d,h){const i=`/api/${a}/product/${l}/module/${d}/brick/${h}`;let E=(new e.LE).set("count",!0);return this.httpClient.get(i,{params:E})}getBricks(a,l,d){return this.httpClient.get(`/api/${a}/product/${l}/module/${d}/bricks`)}getBricksGrouped(a,l,d){return this.httpClient.get(`/api/${a}/product/${l}/module/${d}/bricks/grouped`)}getBrickDownloads(a,l,d,h){let i;return i=n.l.isStudent(a)?`/api/${a.screenName}/product/${l}/module/${d}/brick/${h}/downloads`:`/api/lecturermodules/${d}/bricks/${h}/downloads`,this.httpClient.get(i)}getBrickDocument(a,l){const d=this.brickContentTypeService.flattenDownloadsMap(a).find(h=>h.documentId===l);if(d)return d;throw new Error(`No document with documentId: + ${l}`)}}return(0,o.Z)(t,"\u0275fac",function(a){return new(a||t)(g.LFG(e.eN),g.LFG(c.f))}),(0,o.Z)(t,"\u0275prov",g.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"})),t})()},10866:(y,T,r)=>{r.d(T,{d:()=>g});var o=r(81180),e=r(80529),n=r(94650);let g=(()=>{class c{constructor(t){(0,o.Z)(this,"http",void 0),this.http=t}getAuxiliaries(t,_){const a=`/api/exam-regulations/auxiliaries/${t}`;let l=new e.LE;return _&&(l=l.set("language",_)),this.http.get(a,{params:l})}getAuxiliariesForBrick(t,_,a,l,d){const h=`/api/${t.screenName}/product/${_}/module/${a}/brick/${l}/exam-auxiliaries`;let i=new e.LE;return d&&(i=i.set("language",d)),this.http.get(h,{params:i})}getGlobalRules(t){let a=new e.LE;return t&&(a=a.set("language",t)),this.http.get("/api/exam-regulations/global-rules",{params:a})}getMyHandicapAuxiliaries(){return this.http.get("/api/exam-regulations/handicap-auxiliaries")}}return(0,o.Z)(c,"\u0275fac",function(t){return new(t||c)(n.LFG(e.eN))}),(0,o.Z)(c,"\u0275prov",n.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"})),c})()},48204:(y,T,r)=>{r.d(T,{m:()=>O});var o=r(81180),e=r(63900),n=r(50590),g=r(34782),c=r(50727),P=r(39841),t=r(94650),_=r(76947),a=r(10866),l=r(36895),d=r(6493),h=r(89383);function i(C,D){if(1&C&&(t.TgZ(0,"tr",12),t._UZ(1,"td",15),t.qZA()),2&C){const p=D.$implicit;t.xp6(1),t.Q6J("innerHtml",p,t.oJD)}}function E(C,D){if(1&C&&(t.TgZ(0,"table",11)(1,"thead",12)(2,"tr",12)(3,"th",13),t._uU(4),t.ALo(5,"translate"),t.qZA()()(),t.TgZ(6,"tbody"),t.YNc(7,i,2,1,"tr",14),t.qZA()()),2&C){const p=t.oxw();
1t.xp6(4),t.Oqu(t.lcZ(5,2,"exam-auxiliary-modal.table-header")),t.xp6(3),t.Q6J("ngForOf",p.auxiliaries)}}let N=(()=>{class C{constructor(p,x){(0,o.Z)(this,"activeModal",void 0),(0,o.Z)(this,"examRegulationService",void 0),(0,o.Z)(this,"subscription",new c.w0),(0,o.Z)(this,"portfolioBrickId",void 0),(0,o.Z)(this,"productId",void 0),(0,o.Z)(this,"auxiliaries",[]),(0,o.Z)(this,"loading$",void 0),this.activeModal=p,this.examRegulationService=x}ngOnInit(){this.loading$=(0,P.a)([this.examRegulationService.getGlobalRules("DE"),this.examRegulationService.getAuxiliaries(this.portfolioBrickId),this.examRegulationService.getMyHandicapAuxiliaries()]).pipe((0,g.d)(1)),this.subscription.add(this.loading$.subscribe(([p,x,b])=>{this.auxiliaries=[...p.globalRules,...x.auxiliaries,...b]}))}ngOnDestroy(){this.subscription.unsubscribe()}dismiss(){this.activeModal.close()}}return(0,o.Z)(C,"\u0275fac",function(p){return new(p||C)(t.Y36(_.Kz),t.Y36(a.d))}),(0,o.Z)(C,"\u0275cmp",t.Xpm({type:C,selectors:[["campus-exam-auxiliary-modal"]],inputs:{portfolioBrickId:"portfolioBrickId",productId:"productId"},decls:18,vars:14,consts:[[1,"modal-header"],[1,"modal-title"],["type","button","aria-label","Close",1,"close",3,"click"],["aria-hidden","true"],[1,"modal-body"],[3,"loadingIndicator"],[3,"innerHTML"],["class","rules-table borders",4,"ngIf"],[1,"mt-3","mb-0",3,"innerHTML"],[1,"modal-footer"],["type","button",1,"btn","btn-primary",3,"click"],[1,"rules-table","borders"],[1,"borders"],[1,"borders","table-header"],["class","borders",4,"ngFor","ngForOf"],[1,"borders",3,"innerHtml"]],template:function(p,x){1&p&&(t.TgZ(0,"div",0)(1,"h3",1),t._uU(2),t.ALo(3,"translate"),t.qZA(),t.TgZ(4,"button",2),t.NdJ("click",function(){return x.dismiss()}),t.TgZ(5,"span",3),t._uU(6,"\xd7"),t.qZA()()(),t.TgZ(7,"div",4)(8,"campus-loading-hint",5),t._UZ(9,"p",6),t.ALo(10,"translate"),t.YNc(11,E,8,4,"table",7),t._UZ(12,"p",8),t.ALo(13,"translate"),t.qZA()(),t.TgZ(14,"div",9)(15,"button",10),t.NdJ("click",function(){return x.dismiss()}),t._uU(16),t.ALo(17,"translate"),t.qZA()()),2&p&&(t.xp6(2),t.hij(" ",t.lcZ(3,6,"exam-auxiliary-modal.title")," "),t.xp6(6),t.Q6J("loadingIndicator",x.loading$),t.xp6(1),t.Q6J("innerHTML",t.lcZ(10,8,"exam-auxiliary-modal.info"),t.oJD),t.xp6(2),t.Q6J("ngIf",(null==x.auxiliaries?null:x.auxiliaries.length)>0),t.xp6(1),t.Q6J("innerHTML",t.lcZ(13,10,"exam-auxiliary-modal.footer"),t.oJD),t.xp6(4),t.hij(" ",t.lcZ(17,12,"common.close")," "))},dependencies:[l.sg,l.O5,d.J,h.X$],styles:[".rules-table[_ngcontent-%COMP%]{width:100%}.borders[_ngcontent-%COMP%]{border:1px #000 solid}.table-header[_ngcontent-%COMP%]{background-color:#7f7f7f;color:#fff}"]})),C})();var v=r(32905),M=r(83858),m=r(36181);let O=(()=>{class C{constructor(p,x,b,u){(0,o.Z)(this,"userService",void 0),(0,o.Z)(this,"modalService",void 0),(0,o.Z)(this,"cmsService",void 0),(0,o.Z)(this,"dialogService",void 0),this.userService=p,this.modalService=x,this.cmsService=b,this.dialogService=u}get360ViewHint(){this.userService.getUser().pipe((0,e.w)(x=>this.cmsService.getArticle("online-exam/rules/360-view.html",x.screenName)),(0,n.P)()).subscribe(x=>console.log(x))}openAuxiliariesModal(p,x){const b=this.modalService.open(N).componentInstance;b.portfolioBrickId=x,b.productId=p}openOnlineExamRulesModal(){const p=this.userService.getUser().pipe((0,e.w)(x=>this.cmsService.getArticleContent("online-exam/rules",x.screenName)),(0,n.P)());
1this.openModalWithTitelAndContent("brick-details.additional-information.onlineexamrules",p)}openOnlineExamPrivacyModal(){const p=this.userService.getUser().pipe((0,e.w)(x=>this.cmsService.getArticleContent("online-exam/privacy",x.screenName)),(0,n.P)());this.openModalWithTitelAndContent("brick-details.additional-information.terms",p)}openRegularExamRulesModal(){const p=this.userService.getUser().pipe((0,e.w)(x=>this.cmsService.getArticleContent("regular-exam/rules",x.screenName)),(0,n.P)());this.openModalWithTitelAndContent("brick-details.additional-information.regularexamrules",p)}openOnlineExamChecklistModal(){const p=this.userService.getUser().pipe((0,e.w)(x=>this.cmsService.getArticleContent("online-exam/checklist",x.screenName)),(0,n.P)());this.openModalWithTitelAndContent("brick-details.additional-information.checklist",p)}openModalWithTitelAndContent(p,x){this.dialogService.createDialog().withTitle({key:p}).withAsyncMessage(x).withConfimButton(!1).withAbortButtonText({key:"common.close"}).show({size:"lg"}).pipe((0,n.P)()).subscribe(()=>{})}}return(0,o.Z)(C,"\u0275fac",function(p){return new(p||C)(t.LFG(v.K),t.LFG(_.FF),t.LFG(M.c),t.LFG(m.D))}),(0,o.Z)(C,"\u0275prov",t.Yz7({token:C,factory:C.\u0275fac,providedIn:"root"})),C})()}}]);

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.