PageSourceSearch

https://www.opensesame.com/603.471e079e6034457d.js

js opensesame.com collected 2026-09-24 22:25:35 UTC 76,721 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkangular=self.webpackChunkangular||[]).push([[603],{3025:(me,Q,o)=>{var l;o.d(Q,{j:()=>l}),function(r){function f(Z){return!!Z?.authoringTool?.includes("Simon")}r.hasSimonAuthoringTool=f,r.isPublishedBySimon=function h(Z){return(!0===Z?.isExternallyPublished||!0===Z?.isExternallyPublishedCourse)&&f(Z)},r.isCustomizable=function _(Z){return!!Z?.simonCourseId}}(l||(l={}))},6255:(me,Q,o)=>{o.d(Q,{a:()=>C});var l=o(6895),r=o(8954),f=o(8638),h=o(5570),_=o(4006),Z=o(4482),X=o(8555),ie=o(8562),oe=o(9407),b=o(6375),P=o(7065),v=o(8257),a=o(5590),e=o(4650);let C=(()=>{const U=class{};let D=U;return U.\u0275fac=function(ee){return new(ee||U)},U.\u0275mod=e.oAB({type:U}),U.\u0275inj=e.cJS({providers:[f.d],imports:[h.rt,r.lHW,r.hJ1,r.km,r.dTQ,r.oP2,l.ez,r.Suy,r.sx_,ie.sQ.forFeature([oe.S]),r.BxM,r.aeS,_.u5,Z.T,r.vRE,r.QX1,r.Yql,r.eIS,_.UX,r.oB3,X.Aw.forFeature(b.zu,b._Y),r.Zi,r.eSL,r.ffy,r.$9i,r.b9z,P.h,v.W,a.m]}),D})()},2603:(me,Q,o)=>{var O,E,M,$,B,W,Y,z,H,q,K,j,V,G;o.r(Q),o.d(Q,{DeliveryQueueDashboardModule:()=>In});var l=o(8954),r=o(8555),f=o(6895),h=o(8562),_=o(7753),Z=o(7873),X=o(9304),ie=o(5590),oe=o(4482),b=o(655),P=o(8685),v=o(8579),a=o(5023),e=o(4650),C=o(1651),D=o(8935),U=o(7590),A=o(757),I=o(9570);let fe=((O=class{constructor(s){this.activeSession=s}get sadImage(){return`${this.activeSession.session.mediaServiceUrl}/images/sad.svg`}onReloadButtonClick(){window.location.reload()}}).\u0275fac=function(n){return new(n||O)(e.Y36(U.V))},O.\u0275cmp=e.Xpm({type:O,selectors:[["app-error-state"]],decls:23,vars:9,consts:[["width","70","height","76","alt","Image of a sad face",3,"className","src"],["variant","h2","align","center","fontWeight","bold","color","textSecondary",3,"className"],["align","center",3,"className"],["href","mailto:[email protected]"],["variant","text","startIcon","refresh",3,"className","click"]],template:function(n,t){1&n&&(e.TgZ(0,"section"),e._uU(1,"\n  "),e._UZ(2,"og-image",0),e._uU(3,"\n  "),e.TgZ(4,"og-typography",1),e._uU(5,"\n    Uh Ohh!\n  "),e.qZA(),e._uU(6,"\n  "),e.TgZ(7,"div"),e._uU(8,"\n    "),e.TgZ(9,"og-typography",2),e._uU(10,"Something went a little sideways."),e.qZA(),e._uU(11,"\n    "),e.TgZ(12,"og-typography",2),e._uU(13,"\n      If the problem continues, please contact support at\n      "),e.TgZ(14,"a",3),e._uU(15,"[email protected]"),e.qZA(),e._uU(16,"\n      .\n    "),e.qZA(),e._uU(17,"\n  "),e.qZA(),e._uU(18,"\n  "),e.TgZ(19,"og-button",4),e.NdJ("click",function(){return t.onReloadButtonClick()}),e._uU(20,"Reload Page"),e.qZA(),e._uU(21,"\n"),e.qZA(),e._uU(22,"\n")),2&n&&(e.Tol(t.classes.container),e.xp6(2),e.s9C("className",t.classes.sadImg),e.Q6J("src",t.sadImage),e.xp6(2),e.s9C("className",t.classes.errorMain),e.xp6(5),e.s9C("className",t.classes.errMessage),e.xp6(3),e.s9C("className",t.classes.errMessage),e.xp6(7),e.s9C("className",t.classes.reloadBtn))},dependencies:[C.lo,A.r0,I.cu],encapsulation:2}),O);fe=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({container:{alignItems:"center",backgroundColor:"inherit",display:"flex",flexDirection:"column",justifyContent:"center"},errorMain:{fontSize:"3rem",marginBottom:"1rem"},errMessage:{fontWeight:"600"},reloadBtn:{marginTop:"2.5rem","& svg":{color:"#F28132"},"&:hover":{textDecoration:"underline",textDecorationThickness:"0.1875em"}},sadImg:{marginBottom:"3rem"}})),(0,b.w6)("design:paramtypes",[U.V])],fe);var y=o(3792),Ne=o(5457),Re=o(955),Le=o(9784);function We(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"og-menu-item",5),e.NdJ("click",function(){const T=e.CHM(n).$implicit,L=e.oxw(2);return e.KtG(L.selectDestination(T))}),e.qZA()}if(2&i){const n=s.$implicit,t=e.oxw(2);e.s9C("className",t.classes.menuListItems),e.s9C("title",t.formatDestinationName(n))}}function Ye(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n        "),e.TgZ(2,"og-menu",3),e._uU(3,"\n          "),e.YNc(4,We,1,2,"og-menu-item",4),e._uU(5,"\n        "),e.qZA(),e._uU(6,"\n      "),e.BQk()),2&i){const n=e.oxw();e.xp6(2),e.s9C("className",n.classes.integrationList),e.s9C("open",n.dropdownVisible),e.xp6(2),e.Q6J("ngForOf",n.destinationOptions)}}const ze=function(i,s,n){return[i,s,n]};let _e=((E=class{constructor(s,n,t,p){this.store=s,this.deliveryDashboardRoutingService=n,this.router=t,this.activeRoute=p,this.dropdownVisible=!1,this.contentOrganization=y.Lm,this.dashboardDestinations=[],this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.store.pipe((0,r.Ys)(a.j9)).subscribe(s=>this.contentOrganization=s??y.Lm),this.store.pipe((0,r.Ys)(a.sQ)).subscribe(({activeDestinationType:s,activeAccountIntegration:n})=>{this.activeDashboardDestination=n?n.integrationName:this.deliveryDashboardRoutingService.destinationTypeToDashboardDestination(s)}),this.store.pipe((0,r.Ys)(a.T9)).subscribe(s=>{this.dashboardDestinations=s?this.deliveryDashboardRoutingService.getDashboardDestinations(s):[]}))}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}get destinationOptions(){return this.dashboardDestinations.filter(s=>s!==this.activeDashboardDestination)}toggleDropdown(){this.dashboardDestinations.length&&(this.dropdownVisible=!this.dropdownVisible)}expandingIcon(){return this.dropdownVisible?"expand_less":"expand_more"}hideDropdown(){this.dropdownVisible=!1}selectDestination(s){this.router.navigate(["..",this.deliveryDashboardRoutingService.dashboardDestinationToUrlDestination(s)],{relativeTo:this.activeRoute,queryParamsHandling:"preserve"})}formatDestinationName(s){return/\bLegacy\b/i.test(s)?`${s.trim().replace(/\s+/g," ").replace(/\bLegacy\b/gi,"").replace(/\s{2,}/g," ").trim()} (Inactive Integration)`:s}}).\u0275fac=function(n){return new(n||E)(e.Y36(r.yh),e.Y36(P.Z),e.Y36(_.F0),e.Y36(_.gz))},E.\u0275cmp=e.Xpm({type:E,selectors:[["app-destination-dropdown"]],decls:9,vars:9,consts:[[3,"shouldHandle","clickAwayListenerClick"],["id","integrationButton","fontWeight","semiBold","variant","text","t
1itle","Change selected destination",3,"endIcon","className","click"],[4,"ngIf"],["variant","dark",3,"className","open"],[3,"className","title","click",4,"ngFor","ngForOf"],[3,"className","title","click"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-click-away-listener",0),e.NdJ("clickAwayListenerClick",function(){return t.toggleDropdown()}),e._uU(2,"\n      "),e.TgZ(3,"og-button",1),e.NdJ("click",function(){return t.toggleDropdown()}),e._uU(4),e.qZA(),e._uU(5,"\n      "),e.YNc(6,Ye,7,3,"ng-container",2),e._uU(7,"\n    "),e.qZA(),e._uU(8,"\n  ")),2&n&&(e.xp6(1),e.Q6J("shouldHandle",t.dropdownVisible),e.xp6(2),e.Q6J("endIcon",t.destinationOptions.length?t.expandingIcon():null)("className",e.kEZ(5,ze,t.classes.destinationDropdown,t.destinationOptions.length?t.classes.withIcon:t.classes.withoutIcon,t.dropdownVisible?"open":"")),e.xp6(1),e.hij("\n        ",t.formatDestinationName(t.activeDashboardDestination),"\n      "),e.xp6(2),e.Q6J("ngIf",t.destinationOptions.length))},dependencies:[Ne.qv,Re.Mn,A.r0,f.sg,f.O5,Le.hn],styles:["[_ngcontent-%COMP%]:root{--mobile-nav-break: 981px}.integrationName[_ngcontent-%COMP%]{font-weight:700;padding-left:34px}span.og-button-end-icon[_ngcontent-%COMP%]{transform:rotate(0)!important;transition:all .25s ease!important}.open[_ngcontent-%COMP%]   span.og-button-end-icon[_ngcontent-%COMP%]{transform:rotate(180deg)!important;transition:all .25s ease!important}"]}),E);_e=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({destinationDropdown:{fontFamily:"Poppins",fontSize:24,lineHeight:"2rem",marginLeft:"-5px",padding:0,textTransform:"capitalize","&:hover":{color:"black",backgroundColor:"inherit","& svg":{color:i.palette.primary.main}},"& svg":{color:i.palette.common.black,fontSize:"2.25rem !important",transition:"color 0.2s ease"},"&.open svg":{color:i.palette.primary.main}},withoutIcon:{"&:hover":{cursor:"unset"}},withIcon:{"@media screen and (max-width: 980px)":{paddingLeft:15}},menuListItems:{paddingTop:"12px !important",paddingRight:"118px","& svg":{color:"white"},"&:hover":{backgroundColor:"rgba(255,255,255,0.1)"},"&.og-menu-item-selected svg":{color:i.palette.primary.main}},integrationList:{paddingTop:0}})),(0,b.w6)("design:paramtypes",[r.yh,P.Z,_.F0,_.gz])],_e);var w=o(5315),ae=o(4006),qe=o(5428),re=o(9671),Ke=o(3454),be=o(6448),je=o(3823);function Ve(i,s){if(1&i&&(e.TgZ(0,"og-typography",6),e._uU(1),e.qZA()),2&i){const n=e.oxw();e.xp6(1),e.hij("\n            ",n.contentTotalCountText,"\n          ")}}let ve=((M=class{constructor(s,n,t){this.store=s,this.activatedRoute=n,this.router=t,this.contentOrganization=y.Lm,this.currentPage=1,this.totalContent=0,this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.store.pipe((0,r.Ys)(a.j9)).subscribe(s=>this.contentOrganization=s??y.Lm),this.store.pipe((0,r.Ys)(a.F0)).subscribe(s=>this.totalContent=s??0),this.store.pipe((0,r.Ys)(a.Dg)).subscribe(s=>this.currentPage=s||1))}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}get contentTotalCountText(){return`${this.contentOrganization.totalContent.toLocaleString("en-US")} ${this.contentOrganization.totalContent<=1?"Item":"Items"}`}get requiresPaging(){return 0!==this.contentOrganization.totalContent}updatePage(s){var n=this;return(0,re.Z)(function*(){yield n.router.navigate([],{relativeTo:n.activatedRoute,queryParams:{page:s.page},queryParamsHandling:"merge"})})()}get pageCount(){return Math.ceil(this.contentOrganization.totalContent/v.TN)}get nextPageExists(){return this.pageCount!==this.currentPage}get previousPageExists(){return 1!==this.currentPage}}).\u0275fac=function(n){return new(n||M)(e.Y36(r.yh),e.Y36(_.gz),e.Y36(_.F0))},M.\u0275cmp=e.Xpm({type:M,selectors:[["app-delivery-dashboard-table-footer"]],decls:17,vars:8,consts:[["elevation","0","square","true",3,"className"],["alignItems","center"],[3,"className"],["fontWeight","medium","noWrap","true",4,"ngIf"],["flex","9",1,""],["color","primary",3,"className","showNextButton","showPreviousButton","count","page","onPageChange"],["fontWeight","medium","noWrap","true"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-paper",0),e._uU(2,"\n      "),e.TgZ(3,"og-flex",1),e._uU(4,"\n        "),e.TgZ(5,"og-flex-child",2),e._uU(6,"\n          "),e.YNc(7,Ve,2,1,"og-typography",3),e._uU(8,"\n        "),e.qZA(),e._uU(9,"\n        "),e.TgZ(10,"og-flex-child",4),e._uU(11,"\n          "),e.TgZ(12,"og-pagination",5),e.NdJ("onPageChange",function(T){return t.updatePage(T)}),e.qZA(),e._uU(13,"\n        "),e.qZA(),e._uU(14,"\n      "),e.qZA(),e._uU(15,"\n    "),e.qZA(),e._uU(16,"\n  ")),2&n&&(e.xp6(1),e.s9C("className",t.classes.footer),e.xp6(4),e.s9C("className",t.classes.totalCount),e.xp6(2),e.Q6J("ngIf",null==t.contentOrganization?null:t.contentOrganization.totalContent),e.xp6(5),e.s9C("className",t.classes.pagination),e.Q6J("showNextButton",t.nextPageExists)("showPreviousButton",t.previousPageExists)("count",t.pageCount)("page",t.currentPage))},dependencies:[C.lo,Ke.wy,be.Ue,D.QE,f.O5,je.Qt],encapsulation:2}),M);ve=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({totalCount:{display:"flex",alignItems:"center",paddingLeft:20},footer:{minWidth:700},pagination:{paddingBlock:"2rem"}})),(0,b.w6)("design:paramtypes",[r.yh,_.gz,_.F0])],ve);var d=o(7313),Xe=o(4559),ye=o(7520);const et=function(i,s){return["checkbox-container",i,s]},tt=function(i){return[i,"checkmark"]};let pe=(($=class{constructor(){this.cClass="",this.iClass="",this.disabled=!1,this.checked=null,this.id=null,this.value=null,this.name=null}}).\u0275fac=function(n){return new(n||$)},$.\u0275cmp=e.Xpm({type:$,selectors:[["app-delivery-dashboard-checkbox"]],inputs:{contentItem:"contentItem",cClass:"cClass",iClass:"iClass",disabled:"disabled",checked:"checked",id:"id",value:"value",name:"name"},ngContentSelectors:["*"],decls:13,vars:14,consts:[[3,"ngClass"],["type","checkbox",3,"value","name","id","checked","ngClass","disabled"]],template:function(n,t){1&n&&(e.F$t(),e._uU(0,"\n    "),e.TgZ(1,"label",0),e._uU(2,"\n      "),e._UZ(3,"input",1),e._uU(4,"\n      "),e._UZ(5,"span",0),e._uU(6,"\n      "),e.TgZ(7,"span",0),e._uU(8,"\n        "),e.Hsn(9),e._uU(10,"\n      "),e.qZA(),e._uU(11,"\n    "),e.qZA(),e._uU(12,"\n  ")),2&n&&(e.xp6(1),e.Q6J("ngClass",e.WLB(9,et,t.classes.checkboxContainer,t.cClass)),e.xp6(2),e.Q6J("value",t.value)("name",t.name)("id",t.id)("checked",t.checked)("ngClass",t.iClass)("disabled",t.disabled),e.xp6(2),e.Q6J("ngClass",e.VKq(12,tt,t.classes.checkMark)),e.xp6(2),e.Q6J("ngClass",t.classes.label))},dependencies:[f.mk],styles:['.checkbox-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + .checkmark[_ngcontent-%COMP%]{background-color:#f28132;border-color:#f28132}.checkbox-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible + .checkmark[_ngcontent-%COMP%]{outline:2px solid black}.checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.checkbox-container[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:checked + .checkmark[_ngcontent-%COMP%]:after{display:inline-block}.checkbox-container[_ngcontent-%COMP%]   .checkmark[_ngcontent-%COMP%]:after{left:5px;top:0;width:8px;height:14px;border:solid white;border-width:0 2px 2px 0;transform:rotate(45deg)}']}),$);pe=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({checkboxContainer:{alignItems:"center",cursor:"pointer",display:"inline-flex",margin:"0.3rem",padding:0,position:"relative",userSelect:"none","& input":{position:"absolute",opacity:0,height:0,width:0}}
1,checkMark:{backgroundColor:"inherit",border:"2px solid #dddce5",borderRadius:4,height:18,width:18},label:{}}))],pe);const de=function(i,s){return[i,s]},ue=function(i){return[i]};function it(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"og-flex-child",6),e._uU(1,"\n          "),e.TgZ(2,"og-table-sort-label",4),e.NdJ("click",function(){e.CHM(n);const p=e.oxw(2);return e.KtG(p.onColumnClick("license"))}),e._uU(3,"\n            License Type\n          "),e.qZA(),e._uU(4,"\n        "),e.qZA()}if(2&i){const n=e.oxw(2);e.s9C("className",n.classes.rightAlign),e.xp6(2),e.s9C("direction",n.getColumnSortDirection("license")),e.Q6J("className","license"!==n.sortType?e.WLB(3,de,n.classes.unsortedColumn,n.classes.headerButton):e.VKq(6,ue,n.classes.headerButton))}}function ot(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n        "),e.YNc(2,it,5,8,"og-flex-child",7),e.ALo(3,"async"),e._uU(4,"\n      "),e.BQk()),2&i){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",e.lcZ(3,1,n.activeTab$)!==n.deliveryDashboardService.simonTab)}}let Ce=((B=class{constructor(s,n,t,p,T){this.store=s,this.router=n,this.activeRoute=t,this.deliveryDashboardTableService=p,this.deliveryDashboardService=T,this.activeTab$=this.store.pipe((0,r.Ys)(a.PZ)),this.loadingContent$=this.store.pipe((0,r.Ys)(a.n8)),this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.store.pipe((0,r.Ys)(a.dN)).subscribe(s=>this.sortType=s),this.store.pipe((0,r.Ys)(a.Ti)).subscribe(s=>this.direction=s))}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}headerCheckboxClicked(){this.activeContent.length&&this.store.dispatch((0,d.es)())}onColumnClick(s){const n={sortType:s};s===this.sortType&&(n.direction=!this.direction),this.router.navigate([],{relativeTo:this.activeRoute,queryParams:n,queryParamsHandling:"merge"})}getColumnSortDirection(s){return s===this.sortType&&this.direction?"asc":"desc"}}).\u0275fac=function(n){return new(n||B)(e.Y36(r.yh),e.Y36(_.F0),e.Y36(_.gz),e.Y36(w.v),e.Y36(v._l))},B.\u0275cmp=e.Xpm({type:B,selectors:[["app-delivery-dashboard-table-header"]],inputs:{activeContent:"activeContent"},decls:35,vars:36,consts:[["elevation","0","outlined","false","square","true",3,"className"],["name","header-checkbox",3,"id","disabled","change"],[3,"className","flex"],["for","title"],["active","true","sortIcon","arrow_downward","sortIconPosition","right",3,"className","direction","click"],[4,"appExcludeIf"],["flex","1",3,"className"],["flex","1",3,"className",4,"ngIf"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-paper",0),e._uU(2,"\n      "),e.TgZ(3,"og-flex-child"),e._uU(4,"\n        "),e.TgZ(5,"app-delivery-dashboard-checkbox",1),e.NdJ("change",function(){return t.headerCheckboxClicked()}),e.ALo(6,"async"),e.qZA(),e._uU(7,"\n      "),e.qZA(),e._uU(8,"\n      "),e.TgZ(9,"og-flex-child",2),e.ALo(10,"async"),e._uU(11,"\n        "),e.TgZ(12,"label",3),e._uU(13,"\n          "),e.TgZ(14,"og-table-sort-label",4),e.NdJ("click",function(){return t.onColumnClick("title")}),e._uU(15,"\n            Title\n          "),e.qZA(),e._uU(16,"\n        "),e.qZA(),e._uU(17,"\n      "),e.qZA(),e._uU(18,"\n      "),e.YNc(19,ot,5,3,"ng-container",5),e._uU(20,"\n      "),e.TgZ(21,"og-flex-child",6),e._uU(22,"\n        "),e.TgZ(23,"og-table-sort-label",4),e.NdJ("click",function(){return t.onColumnClick("date")}),e._uU(24),e.ALo(25,"async"),e.qZA(),e._uU(26,"\n      "),e.qZA(),e._uU(27,"\n      "),e.TgZ(28,"og-flex-child",6),e._uU(29,"\n        "),e.TgZ(30,"og-table-sort-label",4),e.NdJ("click",function(){return t.onColumnClick("status")}),e._uU(31,"\n          Status\n        "),e.qZA(),e._uU(32,"\n      "),e.qZA(),e._uU(33,"\n    "),e.qZA(),e._uU(34,"\n  ")),2&n&&(e.xp6(1),e.s9C("className",t.classes.tableHeader),e.xp6(4),e.Q6J("id",t.deliveryDashboardTableService.HEADER_ID)("disabled",e.lcZ(6,15,t.loadingContent$)),e.xp6(4),e.s9C("className",t.classes.titleHeader),e.Q6J("flex",e.lcZ(10,17,t.activeTab$)===t.deliveryDashboardService.simonTab?5:4),e.xp6(5),e.s9C("direction",t.getColumnSortDirection("title")),e.Q6J("className","title"!==t.sortType?e.WLB(21,de,t.classes.unsortedColumn,t.classes.headerButton):e.VKq(24,ue,t.classes.headerButton)),e.xp6(
15),e.Q6J("appExcludeIf","display:catalog type"),e.xp6(2),e.s9C("className",t.classes.rightAlign),e.xp6(2),e.s9C("direction",t.getColumnSortDirection("date")),e.Q6J("className","date"!==t.sortType?e.WLB(26,de,t.classes.unsortedColumn,t.classes.headerButton):e.VKq(29,ue,t.classes.headerButton)),e.xp6(1),e.hij("\n          ",t.deliveryDashboardTableService.dateHeaderText(e.lcZ(25,19,t.activeTab$)),"\n        "),e.xp6(4),e.s9C("className",t.classes.rightAlign),e.xp6(2),e.s9C("direction",t.getColumnSortDirection("status")),e.Q6J("className","status"!==t.sortType?e.WLB(31,de,t.classes.unsortedColumn,t.classes.headerButton):e.VKq(34,ue,t.classes.headerButton)))},dependencies:[be.Ue,D.QE,f.O5,Xe.pk,ye.H,pe,f.Ov],encapsulation:2}),B);Ce=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({tableHeader:{alignItems:"center",backgroundColor:i.palette.grey[100],boxShadow:"-5px -5px 5px -5px #2c2b3633",display:"flex",gap:"1rem",minWidth:"700px",padding:"0.6rem 1rem",paddingRight:"48px","@media screen and (min-width: 980px)":{minWidth:"650px"}},titleHeader:{paddingLeft:"4px","& input,label":{display:"inline",verticalAlign:"middle",fontSize:"100%",fontWeight:"600"}},rightAlign:{textAlign:"right"},headerButton:{alignItems:"center",fontFamily:"Poppins",fontSize:".75rem",fontWeight:"600",lineHeight:"0.85rem",textTransform:"capitalize","& svg":{fontSize:"1rem !important",marginTop:"-2px !important"},"&:hover":{color:"black"}},unsortedColumn:{"& svg":{color:"#c7c6cf !important"}}})),(0,b.w6)("design:paramtypes",[r.yh,_.F0,_.gz,w.v,v._l])],Ce);var rt=o(8929),Pe=o(9142),ct=o(3025),Te=o(587);function lt(i,s){1&i&&(e.TgZ(0,"og-icon",8),e._uU(1,"error"),e.qZA())}function pt(i,s){1&i&&(e.TgZ(0,"og-icon",8),e._uU(1,"warning"),e.qZA())}const dt=function(i,s,n){return[i,s,n]};function ut(i,s){if(1&i&&(e.TgZ(0,"div",1),e._uU(1,"\n            "),e.YNc(2,lt,2,0,"og-icon",7),e._uU(3,"\n            "),e.YNc(4,pt,2,0,"og-icon",7),e._uU(5,"\n          "),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngClass",e.kEZ(3,dt,n.classes.imageOverlay,"retired"===n.contentItem.licenseStatus?"retired":"","retiring_soon"===n.contentItem.licenseStatus?"retiring-soon":"")),e.xp6(2),e.Q6J("ngIf","retired"===n.contentItem.licenseStatus),e.xp6(2),e.Q6J("ngIf","retiring_soon"===n.contentItem.licenseStatus)}}function ht(i,s){if(1&i&&e._UZ(0,"og-image",9),2&i){const n=e.oxw();e.Q6J("src",n.simonBadge)("className",n.classes.simonImage)}}const gt=function(i){return[i,"e2e-delivery-queue-dashboard-title"]},mt=function(i){return[i]};let xe=((W=class{constructor(s,n){this.deliveryDashboardService=s,this.activeSession=n}get duration(){const s=this.contentItem.duration.split(":");return`~${parseInt(s[0],10)?`${parseInt(s[0],10)}h `:""}${parseInt(s[1],10)}m`}isSimonCourse(){return ct.j.isPublishedBySimon(this.contentItem)}shouldShowSimonBadge(){return this.isSimonCourse()&&this.urlTab!==y.HW}languagesLength(){const s=new Set,n=t=>{t&&s.add(t)};return this.contentItem.languageSupport.audio?.forEach(n),this.contentItem.languageSupport.content?.forEach(n),this.contentItem.languageSupport.subtitles?.forEach(n),s.size}get simonBadge(){return`${this.activeSession.session.mediaServiceUrl}/images/simon-badge.png`}get courseDetailRoute(){return this.contentItem.coursePage.slice(this.contentItem.coursePage.lastIndexOf("/"))}}).\u0275fac=function(n){return new(n||W)(e.Y36(v._l),e.Y36(U.V))},W.\u0275cmp=e.Xpm({type:W,selectors:[["app-delivery-dashboard-row-title"]],inputs:{contentItem:"contentItem",urlTab:"urlTab"},decls:41,vars:23,consts:[["title","",3,"ngClass"],[3,"ngClass"],[3,"ngClass",4,"ngIf"],["width","100","height","56","fit","cover",3,"src","className"],["alt","Simon badge","height","25","width","25","variant","icon",3,"src","className",4,"ngIf"],[3,"ngClass","routerLink"],[3,"className"],["className","overlay-icon",4,"ngIf"],["className","overlay-icon"],["alt","Simon badge","height","25","width","25","variant","icon",3,"src","className"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"div",0),e._uU(2,"\n      "),e.TgZ(3,"div",1),e._uU(4,"\n        "),e.TgZ(5,"div",1),e._uU(6,"\n          "),e.YNc(7,ut,6,7,"div",2),e._uU(8,"\n          "),e._uU(9,"\n          "),e._UZ(10,"og-image",3),e._uU(11,"\n          "),e.YNc(12,ht,1,2,"og-image",4),e._uU(13,"\n        "),e.qZA(),e._uU(14,"\n      "),e.qZA(),e._uU(15,"\n      "),e.TgZ(16,"div",1),e._uU(17,"\n        "),e.TgZ(18,"a",5),e._uU(19),e.qZA(),e._uU(20,"\n        "),e.TgZ(21,"div"),e._uU(22,"\n          "),e.TgZ(23,"span",1),e._uU(24),e.qZA(),e._uU(25,"\n          "),e.TgZ(26,"span",1),e._uU(27,"\n            "),e.TgZ(28,"og-icon",6),e._uU(29,"schedule"),e.qZA(),e._uU(30),e.qZA(),e._uU(31,"\n          "),e.TgZ(32,"span",1),e._uU(33,"\n            "),e.TgZ(34,"og-icon",6),e._uU(35,"language"),e.qZA(),e._uU(36),e.qZA(),e._uU(37,"\n        "),e.qZA(),e._uU(38,"\n      "),e.qZA(),e._uU(39,"\n    "),e.qZA(),e._uU(40,"\n  ")),2&n&&(e.xp6(1),e.Q6J("ngClass",t.classes.titleContent),e.xp6(2),e.Q6J("ngClass",t.classes.imageContainer),e.xp6(2),e.Q6J("ngClass",t.classes.imageWrapper),e.xp6(2),e.Q6J("ngIf",t.urlTab===t.deliveryDashboardService.needsAttentionTab||t.urlTab===t.deliveryDashboardService.archivedTab),e.xp6(3),e.Q6J("src",t.contentItem.imageUrl)("className",t.classes.titleImage),e.xp6(2),e.Q6J("ngIf",t.shouldShowSimonBadge()),e.xp6(4),e.Q6J("ngClass",t.classes.titleDescription),e.xp6(2),e.Q6J("ngClass",e.VKq(19,gt,t.classes.titleName))("routerLink",e.VKq(21,mt,"/c/"+t.courseDetailRoute)),e.xp6(1),e.hij("\n          ",t.contentItem.title,"\n        "),e.xp6(4),e.Q6J("ngClass",t.classes.titlePublisher),e.xp6(1),e.Oqu(t.contentItem.publisherName),e.xp6(2),e.Q6J("ngClass",t.classes.titleLength),e.xp6(2),e.Q6J("className",t.classes.titleIcon),e.xp6(2),e.hij("\n            ",t.duration,"\n          "),e.xp6(2),e.Q6J("ngClass",t.classes.titleLanguage),e.xp6(2),e.Q6J("className",t.classes.titleIcon),e.xp6(2),e.hij("\n            ",t.languagesLength(),"\n          "))},dependencies:[_.rH,f.mk,f.O5,I.cu,Te.oJ],encapsulation:2}),W);xe=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({titleImage:{alignSelf:"center",borderRadius:"4px",maxWidth:"100px",maxHeight:"56px"},simonImage:{display:"inline-block",height:25,position:"absolute",bottom:-10,right:-10,boxShadow:"0px 0px 4px 0px rgba(44, 43, 54, 0.23)",borderRadius:"50%"},titleContent:{display:"flex",gap:"1rem"},titleIcon:{fontSize:".9rem !important"},titleName:{fontSize:14,fontWeight:400,maxWidth:425,"&:hover":{color:"#007dff"}},titleDescription:{display:"flex",flexDirection:"column",justifyContent:"center",gap:"0.5rem"},titlePublisher:{fontSize:12,fontWeight:600,color:"#201678"},titleLength:{paddingLeft:20,color:"#888799",fontWeight:400,fontSize:12},titleLanguage:{paddingLeft:20,color:"#888799",fontWeight:600,fontSize:12},imageWrapper:{alignItems:"center",justifyContent:"center",display:"flex",lineHeight:0,minHeight:56,minWidth:100,position:"relative"},imageContainer:{display:"flex",alignItems:"center"},imageOverlay:{alignItems:"center",borderRadius:4,bottom:0,color:"white",display:"flex",justifyContent:"center",position:"absolute",top:0,width:"100%","&.retired":{backgroundColor:"rgba(255, 0, 0, 0.5)"},"&.retiring-soon":{backgroundColor:"rgba(255, 222, 0, 0.5)"}}})),(0,b.w6)("design:paramtypes",[v._l,U.V])],xe);let Ue=((Y=class{constructor(s){this.deliveryDashboardTableService=s}ngOnInit(){const[s,n,t]=this.deliveryDashboardTableService.getStatusValue(this.contentItem);this.iconClass=s,this.iconValue=n,this.statusText=t}}).\u0275fac=function(n){return new(n||Y)(e.Y36(w.v))},Y.\u0275cmp=e.Xpm({type:Y,selectors:[["app-delivery-dashboard-table-status"]],inputs:{contentItem:"contentItem"},decls:7,vars:4,consts:[["status","","elevation","0",3,"className"],[3,"className"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"div",0),e._uU(2,"\n      "),e.TgZ(3,"og-icon",1),e._uU(4),e.qZA(),e._uU(5),e.qZA(),e._uU(6,"\n  ")),2&n&&(e.xp6(1),e.s9C("className",t.classes.statusText),e.xp6(2),e.s9C("className",t.classes.icon+" "+t.classes[t.iconClass]),e.xp6(1),e.Oqu(t.iconValue),e.xp6(1),e.hij("\n      ",t.statusText,"\n    "))},dependencies:[Te.oJ],encapsulation:2}),Y);Ue=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({statusText:{alignItems:"center",color:"#888799",display:"flex",fontWeight:600,fontSize:"12px",gap:"3px",justifyContent:"end"},icon:{fontSize:".9rem !important"},pendingIcon:{color:"#FFAB00 !important"},sentIcon:{color:"#1DBF7C !important"},archivedIcon:{color:"#3F3E4D !important"},expiredIcon:{color:"#FFD740 !important"},removedIcon:{color:"#3F3E4D !important"},retiredIcon:{color:"#FF5252 !important"},pausedIcon:{color:`${i.palette.grey[700]} !important`},retiringSoonIcon:{color:"#FFAB00 !important"},readyIcon:{color:"#007DFF !important"}})),(0,b.w6)("design:paramtypes",[w.v])],Ue);var Fe=o(1156),bt=o(992);
1function vt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"og-menu-item",6),e.NdJ("click",function(){e.CHM(n);const p=e.oxw();return e.KtG(p.deliveryDashboardTableService.copyAiccLaunchLink(p.aiccLink))}),e.qZA()}}function yt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"og-menu-item",7),e.NdJ("click",function(){e.CHM(n);const p=e.oxw();return e.KtG(p.onViewReplacements())}),e.qZA()}}function Ct(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"og-menu-item",8),e.NdJ("click",function(){e.CHM(n);const p=e.oxw();return e.KtG(p.rowActionClicked())}),e.qZA()}if(2&i){const n=e.oxw();e.Q6J("icon",n.urlTab===n.deliveryDashboardService.simonTab?"":"delete_forever")("title",n.rowActionText)}}let Se=((z=class{constructor(s,n,t,p){this.store=s,this.deliveryDashboardService=n,this.deliveryDashboardTableService=t,this.courseListDrawerService=p,this.toggleReplacements=new e.vpe,this.kebabVisible=!1,this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.store.pipe((0,r.Ys)(a.sQ)).subscribe(({activeDestinationType:s,activeAccountIntegration:n})=>{this.activeDestinationType=s,this.activeAccountIntegration=n}),this.store.pipe((0,r.Ys)(a.Wi)).subscribe(s=>this.aiccLink=s[this.contentItem.id]?.aiccLaunchUrl)),this.setRowActionText()}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe()),this.toggleReplacements.complete()}toggleKebab(){this.kebabVisible=!this.kebabVisible}onViewReplacements(){this.toggleKebab(),this.toggleReplacements.emit()}shouldShowDelete(s){return!(s===y.HB&&"archived"===this.contentItem.licenseStatus&&"removed"!==this.contentItem.deliveryStatus)}rowActionClicked(){if(this.urlTab===this.deliveryDashboardService.simonTab){const s=[];
1s.push({courseGuid:this.contentItem.id,id:"",title:this.contentItem.title,publisherName:this.contentItem.publisherName,duration:this.contentItem.duration,languages:this.contentItem.languages,languageText:"",licenses:[]}),this.courseListDrawerService.openDrawerCourseList({location:"list",selectedCourses:s})}else this.store.dispatch((0,d.V_)({urlTab:this.urlTab,contentItem:this.contentItem,activeDestinationType:this.activeDestinationType,activeAccountIntegration:this.activeAccountIntegration}))}setRowActionText(){this.urlTab===y.HW?this.rowActionText="Deliver course":this.urlTab===y.HB?("removed"===this.contentItem.deliveryStatus||"filtered"===this.contentItem.deliveryStatus)&&(this.rowActionText="Put Back"):this.rowActionText=this.urlTab===y.y$?"Remove":"Move To Archive"}}).\u0275fac=function(n){return new(n||z)(e.Y36(r.yh),e.Y36(v._l),e.Y36(w.v),e.Y36(Fe.w))},z.\u0275cmp=e.Xpm({type:z,selectors:[["app-kebab-menu"]],inputs:{contentItem:"contentItem",urlTab:"urlTab"},outputs:{toggleReplacements:"toggleReplacements"},decls:15,vars:7,consts:[["kebab","",3,"shouldHandle","clickAwayListenerClick"],["color","primary","icon","more_vert","size","sm","hover","icon","title","More Options",3,"className","click"],["variant","dark",3,"className","open"],["icon","link","title","Copy Link",3,"click",4,"ngIf"],["icon","swap_calls","title","View Replacements",3,"click",4,"ngIf"],[3,"icon","title","click",4,"ngIf"],["icon","link","title","Copy Link",3,"click"],["icon","swap_calls","title","View Replacements",3,"click"],[3,"icon","title","click"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-click-away-listener",0),e.NdJ("clickAwayListenerClick",function(){return t.toggleKebab()}),e._uU(2,"\n      "),e.TgZ(3,"og-icon-button",1),e.NdJ("click",function(){return t.toggleKebab()}),e.qZA(),e._uU(4,"\n      "),e.TgZ(5,"og-menu",2),e._uU(6,"\n        "),e.YNc(7,vt,1,0,"og-menu-item",3),e._uU(8,"\n        "),e.YNc(9,yt,1,0,"og-menu-item",4),e._uU(10,"\n        "),e.YNc(11,Ct,1,2,"og-menu-item",5),e._uU(12,"\n      "),e.qZA(),e._uU(13,"\n    "),e.qZA(),e._uU(14,"\n  ")),2&n&&(e.xp6(1),e.Q6J("shouldHandle",t.kebabVisible),e.xp6(2),e.MGl("className"," ",t.classes.kebabButtonStyle,""),e.xp6(2),e.s9C("className",t.classes.kebabMenu),e.s9C("open",t.kebabVisible),e.xp6(2),e.Q6J("ngIf","aicc_launch"===t.activeDestinationType),e.xp6(2),e.Q6J("ngIf",t.deliveryDashboardService.shouldShowReplacements(t.urlTab,t.contentItem)),e.xp6(2),e.Q6J("ngIf",t.shouldShowDelete(t.urlTab)))},dependencies:[Ne.qv,Re.Mn,f.O5,bt.r2,Le.hn],encapsulation:2}),z);Se=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({kebabButtonStyle:{borderRadius:"50%","&:focus-visible":{outline:"2px solid #f28132"}},kebabMenu:{right:"1rem",whiteSpace:"nowrap"}})),(0,b.w6)("design:paramtypes",[r.yh,v._l,w.v,Fe.w])],Se);var xt=o(5478),Ut=o(3195),St=o(9646);function Zt(i,s){if(1&i&&(e.TgZ(0,"div",0),e._uU(1,"\n    "),e._UZ(2,"app-loading-indicator",3),e._uU(3,"\n  "),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngClass",n.classes.loadingIndicator)}}function Dt(i,s){if(1&i&&(e.TgZ(0,"span",0),e._uU(1,"OpenSesame Plus"),e.qZA()),2&i){const n=e.oxw(4);e.Q6J("ngClass",n.classes.openSesamePlus)}}function It(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n                "),e.YNc(2,Dt,2,1,"span",2),e._uU(3,"\n              "),e.BQk()),2&i){const n=e.oxw().$implicit;e.xp6(2),e.Q6J("ngIf",n.isPlus)}}const At=function(i){return{visibility:i}},wt=function(){return{"font-size":"10px"}};function kt(i,s){if(1&i){const n=e.EpF();e.TgZ(0,"div",0),e._uU(1,"\n      "),e.TgZ(2,"div",8),e._uU(3,"\n        "),e.TgZ(4,"span"),e._uU(5,"Curator's Pick"),e.qZA(),e._uU(6,"\n      "),e.qZA(),e._uU(7,"\n      "),e.TgZ(8,"og-card",9),e._uU(9,"\n        "),e.TgZ(10,"og-card-action-area",10),e.NdJ("click",function(){const T=e.CHM(n).$implicit,L=e.oxw(2);return e.KtG(L.goToCourse(T.guid))}),e._uU(11,"\n          "),e.TgZ(12,"og-card-content",11),e._uU(13,"\n            "),e.TgZ(14,"div",0),e._uU(15,"\n              "),e._UZ(16,"og-image",12),e._uU(17,"\n            "),e.qZA(),e._uU(18,"\n            "),e.TgZ(19,"div",0),e._uU(20,"\n              "),e.TgZ(21,"og-typography",13),e._uU(22),e.qZA(),e._uU(23,"\n              "),e.TgZ(24,"og-typography",14),e._uU(25),e.qZA(),e._uU(26,"\n              "),e.YNc(27,It,4,1,"ng-container",15),e._uU(28,"\n              "),e.TgZ(29,"div",0),e._uU(30,"\n                "),e.TgZ(31,"og-typography",11),e._uU(32,"\n                  "),e._UZ(33,"app-star-rating",16),e._uU(34),e.qZA(),e._uU(35,"\n                "),e.TgZ(36,"div",0),e._uU(37,"\n                  "),e.TgZ(38,"span",0),e._uU(39),e.qZA(),e._uU(40,"\n                  "),e.TgZ(41,"span",0),e._uU(42,"\n                    "),e.TgZ(43,"og-icon",17),e._uU(44,"language"),e.qZA(),e._uU(45),e.qZA(),e._uU(46,"\n                "),e.qZA(),e._uU(47,"\n              "),e.qZA(),e._uU(48,"\n            "),e.qZA(),e._uU(49,"\n          "),e.qZA(),e._uU(50,"\n        "),e.qZA(),e._uU(51,"\n      "),e.qZA(),e._uU(52,"\n    "),e.qZA()}if(2&i){const n=s.$implicit,t=e.oxw(2);e.Q6J("ngClass",t.classes.cardBox),e.xp6(2),e.Q6J("ngStyle",e.VKq(26,At,n.isCuratorsPick?"show":"hidden"))("ngClass",t.classes.curatorsPick),e.xp6(6),e.Q6J("className",n.isCuratorsPick?t.classes.cardCuratorsPick:t.classes.card),e.xp6(4),e.Q6J("className",t.classes.cardContent),e.xp6(2),e.Q6J("ngClass",t.classes.cardImageContainer),e.xp6(2),e.Q6J("className",t.classes.cardImage)("src",n.image),e.xp6(3),e.Q6J("ngClass",t.classes.cardInfoContainer),e.xp6(2),e.Q6J("className",t.classes.cardTitle),e.xp6(1),e.hij("\n                ",n.title.substr(0,90),"\n              "),e.xp6(2),e.Q6J("className",t.classes.cardSubTitle),e.xp6(1),e.hij("\n                ",n.publisher,"\n              "),e.xp6(2),e.Q6J("appExcludeIf","display:catalog type"),e.xp6(2),e.Q6J("ngClass",t.classes.cardInfoFooter),e.xp6(2),e.Q6J("className",t.classes.starCount),e.xp6(2),e.Akn(e.DdM(28,wt)),e.Q6J("value",n.ratingAverage),e.xp6(1),e.hij("\n                  (",n.ratingCount,")\n                "),e.xp6(2),e.Q6J("ngClass",t.classes.cardInfoFooterLast),e.xp6(2),e.Q6J("ngClass",t.classes.courseDuration),e.xp6(1),e.hij("",n.durationMinutes," min"),e.xp6(2),e.Q6J("ngClass",t.classes.courseLanguages),e.xp6(2),e.Q6J("className",t.classes.worldIcon),e.xp6(2),e.hij("\n                    ",n.numberOfLanguages,"\n                  ")}}const Nt=function(){return["/online-training-courses/search"]},Rt=function(i){return{query:i}};
1function Lt(i,s){if(1&i&&(e.TgZ(0,"div",0),e._uU(1,"\n    "),e._uU(2,"\n    "),e.YNc(3,kt,53,29,"div",4),e.ALo(4,"slice"),e._uU(5,"\n    "),e._uU(6,"\n    "),e.TgZ(7,"div",0),e._uU(8,"\n      "),e.TgZ(9,"div",0),e._uU(10,"\n        "),e.TgZ(11,"div",5),e._uU(12,"\n          "),e.TgZ(13,"og-typography",6),e._uU(14,"\n            "),e.TgZ(15,"og-icon",7),e._uU(16,"add"),e.qZA(),e._uU(17,"\n            More Courses\n          "),e.qZA(),e._uU(18,"\n        "),e.qZA(),e._uU(19,"\n      "),e.qZA(),e._uU(20,"\n    "),e.qZA(),e._uU(21,"\n  "),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngClass",n.classes.cardContainer),e.xp6(3),e.Q6J("ngForOf",e.Dn7(4,7,n.replacementCourses,0,3)),e.xp6(4),e.Q6J("ngClass",n.classes.cardBox),e.xp6(2),e.Q6J("ngClass",n.classes.card),e.xp6(2),e.Q6J("routerLink",e.DdM(11,Nt))("queryParams",e.VKq(12,Rt,n.courseTitle))("ngClass",n.classes.cardMoreCourses)}}const Pt=function(i,s){return[i,s]};let Ze=((H=class{constructor(s,n){this.store=s,this.router=n,this.showReplacements=!1,this.isLoading=!0,this.replacementCourses=[]}ngOnInit(){this.store.pipe((0,r.Ys)(a.Uy)).subscribe(s=>{this.replacementCourses=s[this.contentItem.id],Array.isArray(this.replacementCourses)&&(this.isLoading=!1)})}goToCourse(s){this.router.navigate(["/c",s])}}).\u0275fac=function(n){return new(n||H)(e.Y36(r.yh),e.Y36(_.F0))},H.\u0275cmp=e.Xpm({type:H,selectors:[["app-replacements"]],inputs:{contentItem:"contentItem",showReplacements:"showReplacements"},decls:10,vars:7,consts:[[3,"ngClass"],["element","h5",3,"className"],[3,"ngClass",4,"ngIf"],["size","small"],[3,"ngClass",4,"ngFor","ngForOf"],[3,"routerLink","queryParams","ngClass"],["color","textPrimary","fontWeight","regular","variant","h4"],["color","primary","fontSize","md"],[3,"ngStyle","ngClass"],["variant","outlined",3,"className"],[3,"click"],[3,"className"],["width","255","height","155","fit","cover","alt","Course Thumbnail",3,"className","src"],["align","left","paragraph","true","variant","h3",3,"className"],["align","left",3,"className"],[4,"appExcludeIf"],[3,"value"],["fontSize","sm",3,"className"]],template:function(n,t){1&n&&(e.TgZ(0,"section",0),e._uU(1,"\n  "),e.TgZ(2,"og-typography",1),e._uU(3,"Recommended Courses"),e.qZA(),e._uU(4,"\n  "),e.YNc(5,Zt,4,1,"div",2),e._uU(6,"\n  "),e.YNc(7,Lt,22,14,"div",2),e._uU(8,"\n"),e.qZA(),e._uU(9,"\n")),2&n&&(e.Q6J("ngClass",e.WLB(4,Pt,t.classes.replacementsBackground,t.showReplacements?"":t.classes.hide)),e.xp6(2),e.s9C("className",t.classes.replacementText),e.xp6(3),e.Q6J("ngIf",t.isLoading),e.xp6(2),e.Q6J("ngIf",!t.isLoading))},dependencies:[_.rH,C.lo,f.mk,f.sg,f.O5,f.PC,Pe.Ak,xt.gp,I.cu,Te.oJ,Z.Q,Ut.VV,St.T,ye.H,f.OU],encapsulation:2}),H);function Jt(i,s){if(1&i&&e._UZ(0,"div",1),2&i){const n=e.oxw();e.Q6J("ngClass",n.classes.noActionOverlay)}}Ze=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({replacementsBackground:{backgroundColor:"#EEEDF2",height:500,padding:"2rem"},loadingIndicator:{height:"90%",display:"flex",justifyContent:"center",alignItems:"center"},replacementText:{fontFamily:"Poppins",fontWeight:500,marginBottom:"1rem"},hide:{display:"none"},cardContainer:{display:"flex",flexDirection:"row",gap:"1rem",justifyContent:"start"},cardBox:{height:"400px",width:"23%",position:"relative","&:hover":{"& h3":{color:"${theme.palette.primary.main}"},"& $curatorsPick":{transform:"scaleX(1.06) scaleY(1.02)"}}},card:{backgroundColor:"#FFFFFF",borderRadius:"16px",fontFamily:"Poppins",height:"370px",width:"100%",maxWidth:"300px",transition:"all 0.2s ease",position:"absolute",top:"30px",border:0,"&:hover":{boxShadow:"0 0 20px #bdbdbd"}},cardCuratorsPick:{backgroundColor:"#FFFFFF",borderRadius:"16px",fontFamily:"Poppins",height:"370px",width:"100%",maxWidth:"300px",transition:"all 0.2s ease",position:"absolute",top:"30px",border:0,"&:hover":{boxShadow:`0 0 15px ${i.palette.primary.main}`,"& h3":{color:`${i.palette.primary.main}`}}},cardMoreCourses:{backgroundColor:"#E9E7EE",display:"flex",justifyContent:"center",alignItems:"center",borderRadius:"16px",cursor:"pointer",height:"100%",transition:"all 0.2s ease","&:hover":{backgroundColor:"#c7c6cf"}},cardContent:{padding:"0 !important",height:"100%"},cardImageContainer:{alignItems:"center",backgroundColor:"#fef5ef",display:"flex",justifyContent:"center",lineHeight:0,height:"155px"}
1,cardImage:{backgroundColor:i.palette.background.paper,height:"155px",maxHeight:"155px",objectFit:"contain",width:"100%"},cardInfoContainer:{padding:"0.5rem 1rem",height:"215px"},cardTitle:{fontWeight:"600",fontSize:"14px",lineHeight:"21px",marginBottom:"0.5rem"},cardSubTitle:{color:"#3F3E4D",fontSize:"12px"},cardInfoFooter:{display:"flex",position:"absolute",bottom:"15px",justifyContent:"space-between",alignItems:"center",width:"85%"},courseDuration:{fontSize:"12px",color:"#888799",marginRight:"0.5rem",fontWeight:"600"},courseLanguages:{backgroundColor:"#2C2B36",borderRadius:"50px",color:"#FFFFFF",padding:"0.2rem 0.3rem",fontSize:"0.8rem"},cardInfoFooterLast:{display:"flex",justifyContent:"center",flexDirection:"row",alignItems:"center"},worldIcon:{fontSize:"0.9rem !important"},openSesamePlus:{color:"#E3660E",fontFamily:"Poppins",fontStyle:"normal",fontWeight:500,fontSize:"12px",lineHeight:"165%",backgroundColor:"#FEF5EF",borderRadius:"10px",padding:"0.2rem",display:"inline-block",marginTop:"0.5rem",paddingInline:"0.5rem"},starCount:{fontSize:"0.7rem",color:"#3F3E4D",fontWeight:400},curatorsPick:{background:`linear-gradient(90deg, ${i.palette.primary.main} 0%, ${i.palette.primary.dark} 100%)`,position:"absolute",height:"100%",width:"100%",transformOrigin:"center",transition:"all 0.2s ease",fontFamily:"Poppins",fontStyle:"normal",fontWeight:"600",fontSize:"12px",lineHeight:"165%",display:"flex",justifyContent:"end",borderRadius:"16px 16px 19px 19px",paddingRight:"10px",paddingTop:"5px",color:"#fff","&:hover":{transform:"scaleX(1.06) scaleY(1.02)"}}})),(0,b.w6)("design:paramtypes",[r.yh,_.F0])],Ze);const he=function(i,s){return[i,s]};
1function Qt(i,s){if(1&i&&(e.TgZ(0,"og-flex-child",7),e._uU(1,"\n              "),e.TgZ(2,"div",15),e._uU(3),e.qZA(),e._uU(4,"\n            "),e.qZA()),2&i){const n=e.oxw(2);e.xp6(2),e.Q6J("ngClass",e.WLB(2,he,n.classes.cellWrapper,n.classes.cellContent)),e.xp6(1),e.hij("\n                ",n.deliveryDashboardTableService.mapLicense(n.contentItem),"\n              ")}}function Ot(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n            "),e.YNc(2,Qt,5,5,"og-flex-child",14),e.ALo(3,"async"),e._uU(4,"\n          "),e.BQk()),2&i){const n=e.oxw();e.xp6(2),e.Q6J("ngIf",e.lcZ(3,1,n.urlTab$)!==n.deliveryDashboardService.simonTab)}}function Et(i,s){if(1&i&&(e._uU(0,"\n                "),e._UZ(1,"div",1),e._uU(2,"\n              ")),2&i){const n=e.oxw();e.xp6(1),e.Q6J("ngClass",n.classes.noActionSpacer)}}function Mt(i,s){if(1&i&&e._UZ(0,"app-replacements",17),2&i){const n=e.oxw(2);e.Q6J("contentItem",n.contentItem)("showReplacements",n.showReplacements)}}function $t(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n          "),e.YNc(2,Mt,1,2,"app-replacements",16),e._uU(3,"\n        "),e.BQk()),2&i){const n=s.ngIf,t=e.oxw();e.xp6(2),e.Q6J("ngIf",t.deliveryDashboardService.shouldShowReplacements(n,t.contentItem))}}let De=((q=class{constructor(s,n,t){this.store=s,this.deliveryDashboardService=n,this.deliveryDashboardTableService=t,this.isFirst=!1,this.checkboxClass=this.deliveryDashboardTableService.ROW_NAME,this.showReplacements=!1,this.urlTab$=this.store.pipe((0,r.Ys)(a.PZ)),this.toggleReplacements$=new rt.xQ}ngOnInit(){if(this.hasActiveCheckbox=this.deliveryDashboardTableService.isCourseSelectable(this.contentItem),this.hasActiveCheckbox){const{ROW_NAME:s,SELECTABLE_ROW:n}=this.deliveryDashboardTableService;this.checkboxClass=[s,n].join(" ")}this.isFirst&&(this.showReplacements=!0),this.toggleReplacements$.subscribe({next:()=>this.showReplacements=!this.showReplacements})}ngOnDestroy(){this.toggleReplacements$.complete(),this.toggleReplacements$.unsubscribe()}onRowSelect(s){this.hasActiveCheckbox&&this.store.dispatch((0,d.g)({id:s.target.value}))}onClick(){this.showReplacements=!this.showReplacements}onTailClick(s){s.stopPropagation()}displayReplacements(){this.showReplacements=!0}withPointerClass(s){return s===this.deliveryDashboardService.needsAttentionTab||s===this.deliveryDashboardService.archivedTab&&"archived"===this.contentItem.licenseStatus?this.classes.withPointer:""}isNoActionRow(s){return s===y.HB&&("removed"===this.contentItem.deliveryStatus||"filtered"===this.contentItem.deliveryStatus)}}).\u0275fac=function(n){return new(n||q)(e.Y36(r.yh),e.Y36(v._l),e.Y36(w.v))},q.\u0275cmp=e.Xpm({type:q,selectors:[["app-delivery-dashboard-table-row"]],inputs:{contentItem:"contentItem",isFirst:"isFirst"},decls:61,vars:44,consts:[[3,"className","click"],[3,"ngClass"],[3,"ngClass",4,"ngIf"],[3,"value","name","id","iClass","disabled","change"],[3,"flex"],[3,"contentItem","urlTab"],[4,"appExcludeIf"],["flex","1"],["date","",3,"ngClass"],[3,"contentItem"],[3,"ngClass","click"],[3,"contentItem","urlTab","toggleReplacements"],["noActionSpacer",""],[4,"ngIf"],["flex","1",4,"ngIf"],["license","",3,"ngClass"],[3,"contentItem","showReplacements",4,"ngIf"],[3,"contentItem","showReplacements"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-card",0),e.NdJ("click",function(){return t.onClick()}),e._uU(2,"\n      "),e.TgZ(3,"div",1),e._uU(4,"\n        "),e.YNc(5,Jt,1,1,"div",2),e.ALo(6,"async"),e._uU(7,"\n        "),e.TgZ(8,"div",1),e.ALo(9,"async"),e._uU(10,"\n          "),e.TgZ(11,"og-flex-child"),e._uU(12,"\n            "),e.TgZ(13,"app-delivery-dashboard-checkbox",3),e.NdJ("change",function(T){return t.onRowSelect(T)}),e.ALo(14,"async"),e.qZA(),e._uU(15,"\n          "),e.qZA(),e._uU(16,"\n          "),e.TgZ(17,"og-flex-child",4),e.ALo(18,"async"),e._uU(19,"\n            "),e.TgZ(20,"div"),e._uU(21,"\n              "),e._UZ(22,"app-delivery-dashboard-row-title",5),e.ALo(23,"async"),e._uU(24,"\n            "),e.qZA(),e._uU(25,"\n          "),e.qZA(),e._uU(26,"\n          "),e.YNc(27,Ot,5,3,"ng-container",6),e._uU(28,"\n          "),e.TgZ(29,"og-flex-child",7),e._uU(30,"\n            "),e.TgZ(31,"div",8),e._uU(32),e.qZA(),e._uU(33,"\n          "),e.qZA(),e._uU(34,"\n          "),e.TgZ(35,"og-flex-child",7),e._uU(36,"\n            "),e.TgZ(37,"div",1),e._uU(38,"\n              "),e._UZ(39,"app-delivery-dashboard-table-status",9),e._uU(40,"\n            "),e.qZA(),e._uU(41,"\n          "),e.qZA(),e._uU(42,"\n          "),e.TgZ(43,"og-flex-child"),e._uU(44,"\n            "),e.TgZ(45,"div",10),e.NdJ("click",function(T){return t.onTailClick(T)}),e._uU(46,"\n              "),e.TgZ(47,"app-kebab-menu",11),e.NdJ("toggleReplacements",function(){return t.displayReplacements()}),e.ALo(48,"async"),e.qZA(),e._uU(49,"\n              "),e.YNc(50,Et,3,1,"ng-template",null,12,e.W1O),e._uU(52,"\n            "),e.qZA(),e._uU(53,"\n          "),e.qZA(),e._uU(54,"\n        "),e.qZA(),e._uU(55,"\n        "),e.YNc(56,$t,4,1,"ng-container",13),e.ALo(57,"async"),e._uU(58,"\n      "),e.qZA(),e._uU(59,"\n    "),e.qZA(),e._uU(60,"\n  ")),2&n&&(e.xp6(1),e.s9C("className",t.classes.coursesCard),e.xp6(2),e.Q6J("ngClass",t.classes.rowWrapper),e.xp6(2),e.Q6J("ngIf",t.isNoActionRow(e.lcZ(6,21,t.urlTab$))),e.xp6(3),e.Q6J("ngClass",e.WLB(35,he,t.classes.rowContent,t.withPointerClass(e.lcZ(9,23,t.urlTab$)))),e.xp6(
15),e.Q6J("value",t.contentItem.id)("name",t.deliveryDashboardTableService.ROW_NAME)("id","del-dash-"+t.contentItem.id)("iClass",t.checkboxClass)("disabled",t.isNoActionRow(e.lcZ(14,25,t.urlTab$))),e.xp6(4),e.Q6J("flex",e.lcZ(18,27,t.urlTab$)===t.deliveryDashboardService.simonTab?5:4),e.xp6(5),e.Q6J("contentItem",t.contentItem)("urlTab",e.lcZ(23,29,t.urlTab$)),e.xp6(5),e.Q6J("appExcludeIf","display:catalog type"),e.xp6(4),e.Q6J("ngClass",e.WLB(38,he,t.classes.cellWrapper,t.classes.cellContent)),e.xp6(1),e.hij("\n              ",t.deliveryDashboardTableService.dateColumnText(t.contentItem),"\n            "),e.xp6(5),e.Q6J("ngClass",t.classes.cellWrapper),e.xp6(2),e.Q6J("contentItem",t.contentItem),e.xp6(6),e.Q6J("ngClass",e.WLB(41,he,t.classes.rowTail,t.classes.kebabZ)),e.xp6(2),e.Q6J("contentItem",t.contentItem)("urlTab",e.lcZ(48,31,t.urlTab$)),e.xp6(9),e.Q6J("ngIf",e.lcZ(57,33,t.urlTab$)))},dependencies:[be.Ue,f.mk,f.O5,Pe.Ak,ye.H,xe,pe,Ue,Se,Ze,f.Ov],encapsulation:2}),q);function Wt(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n                "),e._UZ(2,"app-delivery-dashboard-table-row",8),e._uU(3,"\n              "),e.BQk()),2&i){const n=s.$implicit;e.xp6(2),e.Q6J("contentItem",n)("isFirst",n.isFirst)}}De=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({coursesCard:{borderColor:"#EEEDF2",borderRadius:"0px",borderWidth:"2px",boxShadow:"none",overflow:"visible"},cellWrapper:{textAlign:"right"},cellContent:{color:"#888799",fontWeight:400,fontSize:"12px"},noActionRow:{opacity:"50%",cursor:"default"},noActionSpacer:{paddingRight:20},noActionOverlay:{position:"absolute",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.5)",zIndex:1,pointerEvents:"none"},rowWrapper:{position:"relative"},kebabZ:{position:"relative",zIndex:2},rowContent:{alignItems:"center",backgroundColor:i.palette.background.paper,display:"flex",flexWrap:"nowrap",fontFamily:"Poppins",gap:"1rem",justifyContent:"space-between",minHeight:"96px",paddingInline:"1rem"},rowHead:{marginLeft:19},rowTail:{paddingRight:9,minWidth:20},withPointer:{"&:hover":{cursor:"pointer"}}})),(0,b.w6)("design:paramtypes",[r.yh,v._l,w.v])],De);const Yt=function(i){return[i,"table-rows"]};function zt(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n          "),e.TgZ(2,"div",5),e._uU(3,"\n            "),e.TgZ(4,"form",6),e._uU(5,"\n              "),e.YNc(6,Wt,4,2,"ng-container",7),e._uU(7,"\n            "),e.qZA(),e._uU(8,"\n          "),e.qZA(),e._uU(9,"\n          "),e._uU(10,"\n          "),e._UZ(11,"app-delivery-dashboard-table-footer"),e._uU(12,"\n        "),e.BQk()),2&i){const n=e.oxw();e.xp6(2),e.Q6J("ngClass",e.VKq(4,Yt,n.classes.tableBody)),e.xp6(2),e.Q6J("id",n.deliveryDashboardTableService.FORM_ID),e.xp6(2),e.Q6J("ngForOf",n.activeContent)("ngForTrackBy",n.trackById)}}function Ht(i,s){if(1&i&&(e.TgZ(0,"og-paper",9),e._uU(1,"\n      "),e._UZ(2,"app-loading-indicator",10),e._uU(3,"\n    "),e.qZA()),2&i){const n=e.oxw();e.s9C("className",n.classes.constrainHeight)}}function qt(i,s){1&i&&(e.ynx(0),e._uU(1,"\n      "),e._UZ(2,"app-course-list-drawer"),e._uU(3,"\n    "),e.BQk())}let Ie=((K=class{constructor(s,n,t){this.store=s,this.deliveryDashboardService=n,this.deliveryDashboardTableService=t,this.activeContent=[],this.columnDirections=new Map,this.contentOrganization=y.Lm,this.loadingContent$=this.store.pipe((0,r.Ys)(a.n8)),this.errorState$=this.store.pipe((0,r.Ys)(a.hL)),this.urlTab$=this.store.pipe((0,r.Ys)(a.PZ)),this.subscriptions=[]}ngOnInit(){this.subscriptions.push(this.store.pipe((0,r.Ys)(a.PZ)).subscribe(s=>{this.store.pipe((0,r.Ys)(a.$g)).subscribe(n=>{const t=n??[],p=this.findFirstArchived(s);this.activeContent=t.map((T,L)=>({...T,isFirst:L===p}))})}),this.store.pipe((0,r.Ys)(a.j9)).subscribe(s=>{this.contentOrganization=s??y.Lm}))}ngOnDestroy(){this.subscriptions.forEach(s=>s.unsubscribe())}trackById(s,n){return n.id}findFirstArchived(s){if("archived"!==s)return 0;{const n=this.activeContent.findIndex(t=>"archived"===t.licenseStatus&&"removed"!==t.deliveryStatus);return-1===n?0:n}}}).\u0275fac=function(n){return new(n||K)(e.Y36(r.yh),e.Y36(v._l),e.Y36(w.v))},K.\u0275cmp=e.Xpm({type:K,selectors:[["app-content-table-manager"]],decls:22,vars:14,consts:[["elevation","0","square","true",3,"ngClass"],[3,"id"],[3,"activeContent"],[4,"ngIf"],["elevation","0","square","true",3,"className",4,"ngIf"],[3,"ngClass"],["action","#",3,"id"],[4,"ngFor","ngForOf","ngForTrackBy"],[3,"contentItem","isFirst"],["elevation","0","square","true",3,"className"],["size","large",1,"loading-indicator"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"og-paper",0),e._uU(2,"\n      "),e.TgZ(3,"div",1),e._uU(4,"\n        "),e._uU(5,"\n        "),e._UZ(6,"app-delivery-dashboard-table-header",2),e._uU(7,"\n        "),e._uU(8,"\n        "),e.YNc(9,zt,13,6,"ng-container",3),e.ALo(10,"async"),e.ALo(11,"async"),e._uU(12,"\n      "),e.qZA(),e._uU(13,"\n    "),e.qZA(),e._uU(14,"\n    "),e._uU(15,"\n    "),e.YNc(16,Ht,4,1,"og-paper",4),e.ALo(17,"async"),e._uU(18,"\n    "),e.YNc(19,qt,4,0,"ng-container",3),e.ALo(20,"async"),e._uU(21,"\n  ")),2&n&&(e.xp6(1),e.Q6J("ngClass",t.classes.container),e.xp6(2),e.Q6J("id",t.deliveryDashboardTableService.TABLE_ID),e.xp6(3),e.Q6J("activeContent",t.activeContent),e.xp6(3),e.Q6J("ngIf",!e.lcZ(10,6,t.loadingContent$)&&!e.lcZ(11,8,t.errorState$)&&t.activeContent.length>0),e.xp6(7),e.Q6J("ngIf",e.lcZ(17,10,t.loadingContent$)),e.xp6(3),e.Q6J("ngIf",e.lcZ(20,12,t.urlTab$)===t.deliveryDashboardService.simonTab))},dependencies:[D.QE,f.mk,f.sg,f.O5,Z.Q,ae._Y,ae.JL,ae.F,qe.X,ve,Ce,De,f.Ov],encapsulation:2}),K);Ie=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({container:{height:"100%"},tableBody:{minWidth:700}
1,constrainHeight:{backgroundColor:i.palette.background.paper,height:"68vh",display:"flex",alignItems:"center",justifyContent:"center"}})),(0,b.w6)("design:paramtypes",[r.yh,v._l,w.v])],Ie);let Ae=((j=class{constructor(s){this.activeSession=s}get startCareerImage(){return`${this.activeSession.session.mediaServiceUrl}/images/start-career.png`}}).\u0275fac=function(n){return new(n||j)(e.Y36(U.V))},j.\u0275cmp=e.Xpm({type:j,selectors:[["app-empty-table"]],decls:9,vars:3,consts:[[3,"className"],["variant","h2","fontWeight","bold",3,"className"],["width","358.31","height","270.54","alt","There is no content to display here",3,"src"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"section",0),e._uU(2,"\n      "),e.TgZ(3,"og-typography",1),e._uU(4,"Fresh start!"),e.qZA(),e._uU(5,"\n      "),e._UZ(6,"og-image",2),e._uU(7,"\n    "),e.qZA(),e._uU(8,"\n  ")),2&n&&(e.xp6(1),e.s9C("className",t.classes.emptyStateContainer),e.xp6(2),e.s9C("className",t.classes.freshStart),e.xp6(3),e.Q6J("src",t.startCareerImage))},dependencies:[C.lo,I.cu],encapsulation:2}),j);Ae=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({freshStart:{paddingBottom:47,fontSize:68,color:i.palette.grey[300],fontWeight:700,fontFamily:"Poppins",textAlign:"center",paddingInline:"1.5rem","@media screen and (max-width: 480px)":{fontSize:"4rem",lineHeight:1}},emptyStateContainer:{backgroundColor:"inherit",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"}})),(0,b.w6)("design:paramtypes",[U.V])],Ae);var Vt=o(3020),Gt=o(935),Xt=o(100);let en=(()=>{const s=class{constructor(t,p,T){this.store=t,this.activatedRoute=p,this.router=T,this.searchTermInput="",this.placeholder="",this.subscriptions=[]}ngOnInit(){var t=this;return(0,re.Z)(function*(){t.subscriptions.push(t.store.pipe((0,r.Ys)(a.PZ)).subscribe(p=>{switch(p){case y.y$:t.placeholder="Search delivered courses";break;case y.i1:t.placeholder="Search needs attention courses";break;case y.HB:t.placeholder="Search archived courses"}}),t.store.pipe((0,r.Ys)(a.g4)).subscribe(p=>t.searchTermInput=p),t.store.pipe((0,r.Ys)(a.j9)).subscribe(p=>{t.contentOrganization=p}))})()}ngOnDestroy(){this.subscriptions.forEach(t=>t.unsubscribe())}onSubmitSearch(t){var p=this;return(0,re.Z)(function*(){(t="string"==typeof t?t.trim():"")!==p.contentOrganization.searchValue&&(yield p.router.navigate([],{relativeTo:p.activatedRoute,queryParams:{page:1,searchValue:t},queryParamsHandling:"merge"}))})()}clearSearch(){var t=this;return(0,re.Z)(function*(){t.searchTermInput=""})()}};let i=s;return s.\u0275fac=function(p){return new(p||s)(e.Y36(r.yh),e.Y36(_.gz),e.Y36(_.F0))},s.\u0275cmp=e.Xpm({type:s,selectors:[["app-dashboard-search-bar"]],decls:6,vars:2,consts:[[1,"form-input-search-wrapper"],["labelClass","visually-hidden","inputId","hp-keyword",3,"placeholder","ngModel","submitSearch","clearSearch","ngModelChange"]],template:function(p,T){1&p&&(e._uU(0,"\n    "),e.TgZ(1,"div",0),e._uU(2,"\n      "),e.TgZ(3,"app-form-search",1),e.NdJ("submitSearch",function(le){return T.onSubmitSearch(le)})("clearSearch",function(){return T.onSubmitSearch("")})("ngModelChange",function(le){return T.searchTermInput=le}),e.qZA(),e._uU(4,"\n    "),e.qZA(),e._uU(5,"\n  ")),2&p&&(e.xp6(3),e.Q6J("placeholder",T.placeholder)("ngModel",T.searchTermInput))},dependencies:[ae.JJ,ae.On,Xt.F],styles:[".form-input-search-wrapper .search-wrapper:before{color:#dddce5}.form-input-search-wrapper input{border-radius:22px;box-shadow:0 0 5px #2c2b3633;margin:0;text-overflow:ellipsis}.form-input-search-wrapper input::placeholder{color:#2c2b36;opacity:1}.form-input-search-wrapper input:hover{border-color:#f9b04e}.form-input-search-wrapper input:focus{border-color:#f9b04e80;box-shadow:0 0 2px 2px #f9b04e4d}@media screen and (max-width: 980px){.form-input-search-wrapper input{text-align:center}}\n"],encapsulation:2}),i})();function tn(i,s){if(1&i&&(e.TgZ(0,"div"),e._uU(1,"\n          "),e.TgZ(2,"og-typography",3),e._uU(3),e.ALo(4,"async"),e.qZA(),e._uU(5,"\n          "),e.TgZ(6,"og-typography",3),e._uU(7,"Manage your courses published from Simon"),e.qZA(),e._uU(8,"\n        "),e.qZA()),2&i){const n=e.oxw(2);e.xp6(2),e.Q6J("className",n.classes.simonTabTitle),e.xp6(1),e.hij("\n            ",n.deliveryDashboardRoutingService.urlTabToPrettyTab(e.lcZ(4,3,n.urlTab$)),"\n          "),e.xp6(3),e.s9C("className",n.classes.tabSubtitle)}}function nn(i,s){1&i&&e._UZ(0,"app-destination-dropdown")}function sn(i,s){if(1&i&&(e.TgZ(0,"div"),e._uU(1,"\n          "),e.TgZ(2,"og-typography",3),e._uU(3),e.ALo(4,"async"),e.qZA(),e._uU(5,"\n          "),e.YNc(6,nn,1,0,"app-destination-dropdown",1),e.ALo(7,"async"),e._uU(8,"\n        "),e.qZA()),2&i){const n=e.oxw(2);e.xp6(2),e.Q6J("className",n.classes.tabTitle),e.xp6(1),e.hij("\n            ",n.deliveryDashboardRoutingService.urlTabToPrettyTab(e.lcZ(4,3,n.urlTab$)),"\n          "),e.xp6(3),e.Q6J("ngIf",e.lcZ(7,5,n.urlTab$)!==n.deliveryDashboardService.simonTab)}}function on(i,s){1&i&&e._UZ(0,"app-dashboard-search-bar")}function an(i,s){1&i&&e._UZ(0,"app-csv-action-button")}function rn(i,s){if(1&i&&(e.TgZ(0,"div"),e._uU(1,"\n      "),e._UZ(2,"app-error-state"),e._uU(3,"\n    "),e.qZA()),2&i){const n=e.oxw(2);e.Tol(n.classes.constrainHeight)}}function cn(i,s){if(1&i&&(e.TgZ(0,"og-paper",6),e._uU(1,"\n      "),e._UZ(2,"app-empty-table"),e._uU(3,"\n    "),e.qZA()),2&i){const n=e.oxw(2);e.s9C("className",n.classes.constrainHeight)}}const ln=function(i){return[i]},pn=function(i,s){return[i,s]};function dn(i,s){if(1&i&&(e.ynx(0),e._uU(1,"\n    "),e._uU(2,"\n    "),e.TgZ(3,"div",0),e._uU(4,"\n      "),e.TgZ(5,"div",0),e.ALo(6,"async"),e._uU(7,"\n        "),e.YNc(8,tn,9,5,"div",1),e.ALo(9,"async"),e._uU(10,"\n        "),e.YNc(11,sn,9,7,"div",1),e.ALo(12,"async"),e._uU(13,"\n        "),e.TgZ(14,"div",3),e._uU(15,"\n          "),e.YNc(16,on,1,0,"app-dashboard-search-bar",1),e.ALo(17,"async"),e._uU(18,"\n          "),e._UZ(19,"app-action-button"),e._uU(20,"\n          "),e.YNc(21,an,1,0,"app-csv-action-button",1),e.ALo(22,"async"),e._uU(23,"\n        "),e.qZA(),e._uU(24,"\n      "),e.qZA(),e._uU(25,"\n    "),e.qZA(),e._uU(26,"\n\n    "),e._uU(27,"\n    "),e._UZ(28,"app-content-table-manager"),e._uU(29,"\n    "),e._uU(30,"\n    "),e.YNc(31,rn,4,3,"div",4),e.ALo(32,"async"),e.ALo(33,"async"),e._uU(34,"\n    "),e._uU(35,"\n    "),e.YNc(36,cn,4,1,"og-paper",5),e.ALo(37,"async"),e.ALo(38,"async"),e.ALo(39,"async"),e._uU(40,"\n  "),e.BQk()),2&i){const n=e.oxw();e.xp6(3),e.Q6J("ngClass",e.VKq(29,ln,n.classes.contentHeader)),e.xp6(2),e.Q6J("ngClass",e.WLB(31,pn,n.classes.contentHeaderFlex,e.lcZ(6,9,n.urlTab$)===n.deliveryDashboardService.simonTab?n.classes.simonHeader:"")),e.xp6(3),e.Q6J("ngIf",e.lcZ(9,11,n.urlTab$)===n.deliveryDashboardService.simonTab),e.xp6(3),e.Q6J("ngIf",e.lcZ(12,13,n.urlTab$)!==n.deliveryDashboardService.simonTab),e.xp6(3),e.s9C("className",n.classes.headerActionsUi),e.xp6(2),e.Q6J("ngIf",e.lcZ(17,15,n.urlTab$)!==n.deliveryDashboardService.simonTab),e.xp6(5),e.Q6J("ngIf",e.lcZ(22,17,n.urlTab$)!==n.deliveryDashboardService.simonTab),e.xp6(10),e.Q6J("ngIf",e.lcZ(32,19,n.generalErrorState$)||e.lcZ(33,21,n.contentErrorState$)),e.xp6(
15),e.Q6J("ngIf",!e.lcZ(37,23,n.contentLoadingState$)&&!e.lcZ(38,25,n.contentErrorState$)&&0===e.lcZ(39,27,n.activeContent$).length)}}function un(i,s){if(1&i&&(e.TgZ(0,"div",0),e._uU(1,"\n    "),e._UZ(2,"app-loading-indicator",7),e._uU(3,"\n  "),e.qZA()),2&i){const n=e.oxw();e.Q6J("ngClass",n.classes.constrainHeight)}}const hn=function(i,s,n,t,p){return[i,s,n,t,p,"e2e-delivery-dashboard-content"]};let we=((V=class{constructor(s,n,t){this.store=s,this.deliveryDashboardService=n,this.deliveryDashboardRoutingService=t,this.urlTab$=this.store.pipe((0,r.Ys)(a.PZ)),this.activeContent$=this.store.pipe((0,r.Ys)(a.$g)),this.generalLoadingState$=this.store.pipe((0,r.Ys)(a.c4)),this.generalErrorState$=this.store.pipe((0,r.Ys)(a.gj)),this.contentLoadingState$=this.store.pipe((0,r.Ys)(a.n8)),this.contentErrorState$=this.store.pipe((0,r.Ys)(a.hL))}ngOnInit(){}}).\u0275fac=function(n){return new(n||V)(e.Y36(r.yh),e.Y36(v._l),e.Y36(P.Z))},V.\u0275cmp=e.Xpm({type:V,selectors:[["app-delivery-dashboard-content"]],decls:14,vars:21,consts:[[3,"ngClass"],[4,"ngIf"],[3,"ngClass",4,"ngIf"],[3,"className"],[3,"class",4,"ngIf"],["elevation","0","square","true",3,"className",4,"ngIf"],["elevation","0","square","true",3,"className"],["size","large"]],template:function(n,t){1&n&&(e.TgZ(0,"div",0),e.ALo(1,"async"),e.ALo(2,"async"),e.ALo(3,"async"),e.ALo(4,"async"),e._uU(5,"\n  "),e.YNc(6,dn,41,34,"ng-container",1),e.ALo(7,"async"),e._uU(8,"\n\n  "),e._uU(9,"\n  "),e.YNc(10,un,4,1,"div",2),e.ALo(11,"async"),e._uU(12,"\n"),e.qZA(),e._uU(13,"\n")),2&n&&(e.Q6J("ngClass",e.qbA(15,hn,t.classes.contentContainer,e.lcZ(1,3,t.urlTab$)===t.deliveryDashboardService.deliveredTab?t.classes.backgroundDelivered:"",e.lcZ(2,5,t.urlTab$)===t.deliveryDashboardService.needsAttentionTab?t.classes.backgroundRetired:"",e.lcZ(3,7,t.urlTab$)===t.deliveryDashboardService.archivedTab?t.classes.backgroundArchived:"",e.lcZ(4,9,t.urlTab$)===t.deliveryDashboardService.simonTab?t.classes.backgroundSimon:"")),e.xp6(6),e.Q6J("ngIf",!e.lcZ(7,11,t.generalLoadingState$)),e.xp6(4),e.Q6J("ngIf",e.lcZ(11,13,t.generalLoadingState$)))},dependencies:[C.lo,D.QE,f.mk,f.O5,Z.Q,fe,_e,Ie,Ae,Vt.x,Gt.l,en,f.Ov],encapsulation:2}),V);we=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({contentContainer:{backgroundColor:"#f0f0ff",marginLeft:268,minHeight:"80vh","@media screen and (max-width: 980px)":{marginLeft:0,overflowX:"auto"}},backgroundDelivered:{backgroundColor:"#f0f0ff"},backgroundRetired:{backgroundColor:"#fef5ef"},backgroundArchived:{backgroundColor:"#f4f2f7"},backgroundSimon:{backgroundColor:"#EBF5F5"},tabTitle:{color:"#3F3E4D",fontFamily:"Poppins",fontSize:12,fontWeight:500,"@media screen and (max-width: 980px)":{textAlign:"center"}},simonTabTitle:{fontFamily:"Poppins",color:"#2C2B36",fontSize:32,fontWeight:600,lineHeight:"46.4px"},tabSubtitle:{fontFamily:"Poppins",color:"#3F3E4D",fontSize:14,fontWeight:400,lineHeight:"21px"},headerActionsUi:{alignItems:"start",display:"flex",gap:"16px",zIndex:1,"& .og-button-base-disabled":{cursor:"default"},"@media screen and (max-width: 980px)":{gap:"0px"}},contentHeader:{left:0,position:"sticky",zIndex:1},simonHeader:{position:"relative","&:before":{backgroundImage:'url("https://media.opensesame.com/images/simon-logo.svg")',backgroundRepeat:"no-repeat",backgroundPositionY:"-30px",backgroundPositionX:"105%",backgroundSize:"206px 206px",opacity:.4,content:'""',position:"absolute",top:0,right:0,bottom:0,left:0}},contentHeaderFlex:{alignItems:"center",display:"flex",flexDirection:"row",flexWrap:"nowrap",justifyContent:"space-between",paddingBlock:"1.5rem",paddingInline:30,"@media screen and (max-width: 980px)":{flexDirection:"column",gap:8,textAlign:"center"}},constrainHeight:{height:"70vh",display:"flex",alignItems:"center",justifyContent:"center",position:"sticky",left:0}})),(0,b.w6)("design:paramtypes",[r.yh,v._l,P.Z])],we);var mn=o(8590),fn=o(1029);const _n=function(i){return[i]};let ke=((G=class{constructor(s){this.activeSession=s,this.searchPath=fn.kf}get startCareerImage(){return`${this.activeSession.session.mediaServiceUrl}/images/start-career.png`}}).\u0275fac=function(n){return new(n||G)(e.Y36(U.V))},G.\u0275cmp=e.Xpm({type:G,selectors:[["app-pre-delivery-state"]],decls:18,vars:8,consts:[[3,"ngClass"],["fontWeight","bold","variant","h1",3,"className"],["variant","h4",3,"className"],[3,"routerLink"],["color","primary","size","md","variant","contained",3,"className"],["width","512","height","342",3,"src"]],template:function(n,t){1&n&&(e._uU(0,"\n    "),e.TgZ(1,"div",0),e._uU(2,"\n      "),e.TgZ(3,"og-typography",1),e._uU(4,"Fresh start!"),e.qZA(),e._uU(5,"\n      "),e.TgZ(6,"og-typography",2),e._uU(7,"\n        You will see your courses here once they are delivered to your students.\n      "),e.qZA(),e._uU(8,"\n      "),e.TgZ(9,"a",3),e._uU(10,"\n        "),e.TgZ(11,"og-button",4),e._uU(12,"Get Started"),e.qZA(),e._uU(13,"\n      "),e.qZA(),e._uU(14,"\n      "),e._UZ(15,"og-image",5),e._uU(16,"\n    "),e.qZA(),e._uU(17,"\n  ")),2&n&&(e.xp6(1),e.Q6J("ngClass",t.classes.emptyStateContainer),e.xp6(2),e.s9C("className",t.classes.freshStartTitle),e.xp6(3),e.s9C("className",t.classes.freshStartDescription),e.xp6(3),e.Q6J("routerLink",e.VKq(6,_n,t.searchPath)),e.xp6(2),e.Q6J("className",t.classes.freshStartButton),e.xp6(4),e.Q6J("src",t.startCareerImage))},dependencies:[_.rH,C.lo,A.r0,f.mk,I.cu],encapsulation:2}),G);ke=(0,b.gn)([(0,l.ozS)(i=>(0,l.kcS)({freshStartTitle:{marginBottom:"8px",fontSize:"32px",lineHeight:"46.4px",color:i.palette.text.primary,fontWeight:700,fontFamily:"Poppins",textAlign:"center"},freshStartDescription:{fontFamily:"Poppins",fontWeight:500,fontSize:"16px",lineHeight:"24px",textAlign:"center",marginBottom:"40px"},freshStartButton:{fontFamily:"Poppins",fontSize:"16px",fontWeight:600,lineHeight:"28px",letterSpacing:"0em",textAlign:"center",marginBottom:"10px"},emptyStateContainer:{backgroundColor:"#f0f0ff",minHeight:"80vh",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center","@media screen and (min-width: 980px)":{paddingLeft:268}}})),(0,b.w6)("design:paramtypes",[U.V])],ke);const vn=[{path:":tab",component:mn.S,children:[{path:v.EO,component:ke},{path:":destination",component:we}]},{path:"",redirectTo:(()=>{const{page:i,direction:s,sortType:n}=y.Lm;return`/${y.NA}/${y.y$}?page=${i}&direction=${s}&sortType=${n}`})(),pathMatch:"full"}];let yn=(()=>{const s=class{};let i=s;return s.\u0275fac=function(p){return new(p||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({imports:[_.Bz.forChild(vn),_.Bz]}),i})();var Je=o(8460),Cn=o(5216),Tn=o(94),k=o(1086),Qe=o(6787),xn=o(1746),N=o(7168),te=o(2198),S=o(4850),R=o(7221),F=o(2868),ce=o(
17545),Oe=o(5778),Ee=o(7625),Me=o(373),$e=o(1709),Be=o(8807),Un=o(1673),ne=o(5254);let Sn=(()=>{const s=class{constructor(t,p,T,L,le,An,wn,kn,Nn){var ge=this;this.store=t,this.actions$=p,this.deliveryDashboardService=T,this.deliveryDashboardRoutingService=L,this.deliveryDashboardTableService=le,this.deliveryApiService=An,this.notificationService=wn,this.courseDeliveryService=kn,this.router=Nn,this.loadActiveDestinationOrRedirect$=(0,h.GW)(()=>this.store.pipe((0,r.Ys)(a.dh),(0,N.M)(this.store.select(a.PZ),this.store.select(a.tS)),(0,te.h)(([{destinationTypes:c},u])=>Boolean(c)&&Boolean(u)),(0,S.U)(([{destinationTypes:c,urlDestination:u},g,x])=>{const[m,J]=this.deliveryDashboardRoutingService.urlDestinationToDestinationType(u,c);if(!(0,y.g8)(g)||!m){const se=m?u:this.deliveryDashboardRoutingService.getDefaultDestinationUrl(c);return this.deliveryDashboardRoutingService.redirectToValidDestination(c,g,se,x),(0,d.WS)()}return(0,d.Kd)({destinationType:m,accountIntegration:J})}),(0,R.K)(c=>(0,k.of)((0,d.X5)({error:c,notificationMessage:"There was a problem loading the content."}))))),this.redirectWithCorrectQueryParams$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.En),(0,N.M)(this.store.select(a.tS)),(0,F.b)(([c,u])=>this.deliveryDashboardRoutingService.redirectOnInvalidQueryParams(u))),{dispatch:!1}),this.triggerGeneralLoadState$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.En,d.Lk),(0,S.U)(d.Hi))),this.triggerContentLoadState$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.Kd,d.$l,d.V_),(0,F.b)(()=>{const c=this.deliveryDashboardTableService.getHeaderInput();c&&(c.checked=!1)}),(0,S.U)(d.tI))),this.loadDestinationTypes$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.En,d.Op),(0,ce.w)(()=>(0,ne.D)(this.deliveryApiService.getDestinationTypes())),(0,S.U)(c=>(0,d.D$)({destinationTypes:c})),(0,R.K)(c=>(0,k.of)((0,d.X5)({error:c,consoleMessage:"Failed to load destination types"}))))),this.redirectOnDrawerDelivery$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.b1),(0,N.M)(this.store.select(a.T9)),(0,ce.w)(function(){var c=(0,re.Z)(function*([{urlDestination:u,deliveryIntegration:g},x]){const m=yield ge.deliveryApiService.getDestinationTypes(),[J]=ge.deliveryDashboardRoutingService.urlDestinationToDestinationType(u,m);let se=u;return g&&(se=ge.deliveryDashboardRoutingService.destinationTypeToUrlDestination("send_to_integration",g)),ge.router.navigate([y.NA,y.y$,se],{queryParams:y.UE}),(x??[]).includes(J)?(0,d.WS)():(0,d.D$)({destinationTypes:m})});return function(u){return c.apply(this,arguments)}}()))),this.handleRouteChange$=(0,h.GW)(()=>this.store.pipe((0,r.Ys)(a.Ml),(0,Oe.x)((c,u)=>{for(const g of Object.keys(c))if(c[g]!==u[g])return!1;return!0}),(0,N.M)(this.store.select(a.WX),this.store.select(a.T9),this.store.select(a.tS)),(0,S.U)(([{urlTab:c},{urlDestination:u,activeDestinationType:g},x,m])=>{if(c&&x)if(u){if(g)return(0,d.Z$)()}else this.deliveryDashboardRoutingService.redirectToValidDestination(x,c,u,m);return(0,d.WS)()}))),this.fetchContent$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.Z$,d.Kd),(0,N.M)(this.store.select(a.ZU),this.store.select(a.jk)),(0,te.h)(([c,u,g])=>!g),(0,S.U)(([c,u])=>u),(0,Oe.x)((c,u)=>Object.values(c).join()===Object.values(u).join(":")),(0,F.b)(()=>{const c=this.deliveryDashboardTableService.getHeaderInput();c&&(c.checked=!1)}),(0,ce.w)(c=>{const{urlTab:u,urlDestination:g,destinationType:x}=c;return this.deliveryApiService.getDashboardContent(u,x,{...c}).pipe((0,S.U)(m=>(0,d.Jz)({dashboardData:m,urlTab:u,urlDestination:g})),(0,Ee.R)(this.actions$.pipe((0,h.l4)(d.R0))),(0,R.K)(m=>(0,k.of)((0,d.IP)({error:m,consoleMessage:"Failed to load content for destination",notificationMessage:"There was a problem loading the content."}))))}))),this.prefetchReplacements$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.Jz),(0,te.h)(c=>c.urlTab===y.i1||c.urlTab===y.HB),(0,Me.j)("dashboardData","content"),(0,N.M)(this.store.select(a.Uy)),(0,ce.w)(([c,u])=>{const g=c.filter(x=>!Array.isArray(u[x.id]));return(0,Qe.T)(...g.map(x=>(0,xn.$R)(this.courseDeliveryService.getReplacementCourses(x.id).pipe((0,S.U)(m=>m.map(J=>this.deliveryDashboardService.extractDataFromCourseReplacement(J)))),(0,ne.D)(this.deliveryDashboardService.fetchRelatedCourses(x.id))).pipe((0,S.U)(([m,J])=>m.concat(J)),(0,ce.w)(m=>m.length<this.deliveryDashboardService.MIN_COURSE_RECOMMENDATIONS?(0,ne.D)(this.deliveryDashboardService.fetchReplacementsWorkaround(x,m)):(0,k.of)(m)),(0,S.U)(m=>({[x.id]:m})),(0,S.U)(m=>(0,d.Md)({replacements:m})),(0,R.K)(m=>(0,k.of)((0,d.IP)({error:m,notificationMessage:"There was a problem loading recommended replacements for your courses"}))),(0,Ee.R)(this.actions$.pipe((0,h.l4)(d.R0))))))}))),this.prefetchAiccLinks$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.Jz),(0,Me.j)("dashboardData","content"),(0,N.M)(this.store.select(a.Wi)),(0,S.U)(([c,u])=>c.filter(g=>!u[g.id])),(0,N.M)(this.store.select(a.dk)),(0,te.h)(([c,u])=>"aicc_launch"===u&&c.length>0),(0,$e.zg)(([c])=>(0,ne.D)(this.deliveryApiService.getAiccLinks(c.map(u=>({courseGuid:u.id,licenseGuid:u.licenseGuid}))))),(0,S.U)(c=>(0,d.Vt)({aiccLaunchLinks:c})),(0,R.K)(c=>(this.notificationService.publishErrorNotification("Detected a problem when fetching AICC Launch URLs"),console.error(c),(0,k.of)((0,d.WS)()))))),this.toggleAllRows$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.es),(0,F.b)(()=>this.deliveryDashboardTableService.updateHeaderSelected()),(0,N.M)(this.store.select(a.hQ)),(0,te.h)(([c,{generalLoadingState:u,contentLoadingState:g,generalErrorState:x,contentErrorState:m}])=>!(u||g||x||m)),(0,S.U)(()=>{const c=this.deliveryDashboardTableService.getAllSelectedRowValues();return(0,d.$H)({actionButtonDisabled:!c.length})}),(0,R.K)(c=>(0,k.of)((0,d.X5)({error:c,consoleMessage:"Failed to toggle all rows",notificationMessage:"Something went wrong. Please reload and try again. Contact support if the issue persists."}))))),this.updateHeaderSelectedOnRowSelected$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.g),(0,F.b)(()=>{this.deliveryDashboardTableService.updateHeaderSelectedOnRowSelected()}),(0,S.U)(()=>{const c=this.deliveryDashboardTableService.getAllSelectedRowValues();return(0,d.$H)({actionButtonDisabled:!c.length})}),(0,R.K)(c=>(0,k.of)((0,d.X5)({error:c,consoleMessage:"Failed to update header checkbox",notificationMessage:"Something went wrong. Please reload and try again. Contact support if the issue persists."}))))),this.toggleOnIsMovingCourses$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.dY),(0,S.U)(d.Z$))),this.handleActionButton$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.$l),(0,N.M)(this.store.select(a.OV),this.store.select(a.sQ),this.store.select(a.$g)),(0,te.h)(([c,{urlTab:u}])=>(0,y.g8)(u)),(0,S.U)(([c,{urlTab:u},{activeDestinationType:g,activeAccountIntegration:x},m])=>{const J=this.deliveryDashboardTableService.getAllSelectedRowValues();return{urlTab:u,activeDestinationType:g,activeAccountIntegration:x,dashboardContent:m.filter(se=>J.includes(se.id))}}),(0,F.b)(({urlTab:c,dashboardContent:u})=>{this.store.dispatch((0,d.MA)()),this.store.dispatch((0,d.Ui)({urlTab:c,dashboardContent:u}))}),(0,Be.z)(({urlTab:c,activeDestinationType:u,activeAccountIntegration:g,dashboardContent:x})=>(0,ne.D)(this.deliveryDashboardTableService.moveCourses(x,c,u,g)).pipe((0,S.U)(m=>(0,d.dY)()),(0,R.K)(m=>(0,k.of)((0,d.IP)({error:m,notificationMessage:"Failed to move c
1ourse(s)"}))))))),this.moveSingleCourse$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.V_),(0,$e.zg)(({urlTab:c,contentItem:u,activeDestinationType:g,activeAccountIntegration:x})=>(0,ne.D)(this.deliveryDashboardTableService.moveCourses([u],c,g,x)).pipe((0,F.b)(()=>this.store.dispatch((0,d.Ui)({urlTab:c,dashboardContent:[u]}))),(0,S.U)(()=>(0,d.dY)()),(0,R.K)(m=>(0,k.of)((0,d.IP)({error:m,notificationMessage:"Failed to move course"}))))))),this.updateLegacyCourseManagementHiddenStatus$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.Ui),(0,Be.z)(({urlTab:c,dashboardContent:u})=>c===y.HB?(0,Qe.T)(...u.map(g=>this.courseDeliveryService.showCourse(g.id,g.licenseGuid))):this.courseDeliveryService.hideCourse(u.map(g=>({courseGuid:g.id,licenseGuid:g.licenseGuid})))),(0,S.U)(d.kx),(0,R.K)(c=>(console.error(c),(0,k.of)((0,d.WS)()))))),this.handleError$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.X5,d.IP),(0,F.b)(({error:c,consoleMessage:u,notificationMessage:g})=>{u&&console.error(u),c&&console.error(c),g&&this.notificationService.publishErrorNotification(g)})),{dispatch:!1}),this.resetState$=(0,h.GW)(()=>this.actions$.pipe((0,h.l4)(d.R0),(0,F.b)(()=>this.deliveryDashboardTableService.reset())),{dispatch:!1})}};let i=s;return s.\u0275fac=function(p){return new(p||s)(e.LFG(r.yh),e.LFG(h.eX),e.LFG(v._l),e.LFG(P.Z),e.LFG(w.v),e.LFG(Cn.g),e.LFG(Tn.g),e.LFG(Un.Z),e.LFG(_.F0))},s.\u0275prov=e.Yz7({token:s,factory:s.\u0275fac}),i})();var Zn=o(8257),Dn=o(6255);let In=(()=>{const s=class{};let i=s;return s.\u0275fac=function(p){return new(p||s)},s.\u0275mod=e.oAB({type:s}),s.\u0275inj=e.cJS({providers:[X.S],imports:[yn,l.rSX,l.ugV,l.b9z,l.$9i,l.b9z,l.Zi,l.Yql,l.xFq,l.sx_,l.aeS,l.BxM,l.HMv,l.eIS,l.hJ1,r.Aw.forFeature(Je.I,Je.w),f.ez,h.sQ.forFeature([Sn]),_.Bz,l.dTQ,l.km,l.$QN,l.QX1,l.vRE,l.ffy,Z.p,l.u3b,l.Ghp,l.Wi$,ie.m,oe.T,l.lHW,Zn.W,Dn.a]}),i})()},1746:(me,Q,o)=>{o.d(Q,{$R:()=>Z});var l=o(3009),r=o(6688),f=o(3489),h=o(5430),_=o(1177);function Z(...v){const a=v[v.length-1];return"function"==typeof a&&v.pop(),(0,l.n)(v,void 0).lift(new X(a))}class X{constructor(a){this.resultSelector=a}call(a,e){return e.subscribe(new ie(a,this.resultSelector))}}class ie extends f.L{constructor(a,e,C=Object.create(null)){super(a),this.resultSelector=e,this.iterators=[],this.active=0,this.resultSelector="function"==typeof e?e:void 0}_next(a){const e=this.iterators;(0,r.k)(a)?e.push(new b(a)):e.push("function"==typeof a[h.hZ]?new oe(a[h.hZ]()):new P(this.destination,this,a))}_complete(){const a=this.iterators,e=a.length;if(this.unsubscribe(),0!==e){this.active=e;for(let C=0;C<e;C++){let D=a[C];D.stillUnsubscribed?this.destination.add(D.subscribe()):this.active--}}else this.destination.complete()}notifyInactive(){this.active--,0===this.active&&this.destination.complete()}checkIterators(){const a=this.iterators,e=a.length,C=this.destination;for(let A=0;A<e;A++){let I=a[A];if("function"==typeof I.hasValue&&!I.hasValue())return}let D=!1;const U=[];for(let A=0;A<e;A++){let I=a[A],ee=I.next();if(I.hasCompleted()&&(D=!0),ee.done)return void C.complete();U.push(ee.value)}this.resultSelector?this._tryresultSelector(U):C.next(U),D&&C.complete()}_tryresultSelector(a){let e;try{e=this.resultSelector.apply(this,a)}catch(C){return void this.destination.error(C)}this.destination.next(e)}}class oe{constructor(a){this.iterator=a,this.nextResult=a.next()}hasValue(){return!0}next(){const a=this.nextResult;return this.nextResult=this.iterator.next(),a}hasCompleted(){const a=this.nextResult;return Boolean(a&&a.done)}}class b{constructor(a){this.array=a,this.index=0,this.length=0,this.length=a.length}[h.hZ](){return this}next(a){const e=this.index++;return e<this.length?{value:this.array[e],done:!1}:{value:null,done:!0}}hasValue(){return this.array.length>this.index}hasCompleted(){return this.array.length===this.index}}class P extends _.Ds{constructor(a,e,C){super(a),this.parent=e,this.observable=C,this.stillUnsubscribed=!0,this.buffer=[],this.isComplete=!1}[h.hZ](){return this}next(){const a=this.buffer;return 0===a.length&&this.isComplete?{value:null,done:!0}:{value:a.shift(),done:!1}}hasValue(){return this.buffer.length>0}hasCompleted(){return 0===this.buffer.length&&this.isComplete}notifyComplete(){this.buffer.length>0?(this.isComplete=!0,this.parent.notifyInactive()):this.destination.complete()}notifyNext(a){this.buffer.push(a),this.parent.checkIterators()}subscribe(){return(0,_.ft)(this.observable,new _.IY(this))}}}}]);

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.