PageSourceSearch

https://orangeslates.com/member/chunk-FJ6VEFR7.js

js orangeslates.com collected 2026-09-29 15:28:47 UTC 475,618 bytes, 7 lines download raw bytes

1import{a as it,b as qt,c as Se}from"./chunk-SDV6XVHK.js";import{a as Wt}from"./chunk-JF4RYDCR.js";import{a as Kt}from"./chunk-ACYHMLFA.js";import{a as Jt,b as zn,c as on,d as rn,e as an,f as ln,g as cn,h as sn,i as _n,j as dn,k as pn,l as mn,m as un,n as fn,o as vn,p as xn,q as hn,r as Cn,s as bn,u as wn}from"./chunk-JUNB5BJG.js";import{a as Yt,b as Xe,c as et}from"./chunk-NNYNEBTG.js";import{a as tt,b as Qt,e as Zt,f as Gt,g as nt}from"./chunk-3GEWQ6AF.js";import"./chunk-XNPCHCDO.js";import"./chunk-2H7GSVPR.js";import{a as Ke}from"./chunk-HTKXRHTW.js";import"./chunk-65VYPZQJ.js";import{a as ot,b as Xt,c as en,d as tn,e as rt,f as nn,g as gn,h as yn}from"./chunk-HV4SLM2R.js";import{a as Te}from"./chunk-VJ63RCEP.js";import{a as Ie,b as Ee}from"./chunk-3ALCTPZD.js";import"./chunk-JTVIEOLL.js";import"./chunk-SCOPFEVD.js";import"./chunk-B76SOXQV.js";import"./chunk-JWUYHOTR.js";import"./chunk-V5VNGNEK.js";import{a as At}from"./chunk-G7CCCOH5.js";import{a as Ft}from"./chunk-NQUAVEB7.js";import{a as $t}from"./chunk-DE3N5XUL.js";import{a as pe}from"./chunk-6K6BAWWG.js";import{a as qe,b as Vt}from"./chunk-3UZQDIV4.js";import{c as oe,f as re,g as Lt,h as Ut,i as ae,j as Nt,o as ye,p as we,q as Pe,r as Rt,t as zt,w as J}from"./chunk-TTZK553Y.js";import{a as Je}from"./chunk-ZJ33H7M3.js";import"./chunk-DITIAPU6.js";import{a as Bt}from"./chunk-PSSENWSS.js";import{a as fe}from"./chunk-3I5Q2UEL.js";import{a as Tt}from"./chunk-G4NKUDJ7.js";import{b as We}from"./chunk-LCZIOQEN.js";import"./chunk-KFPR6VAR.js";import{a as Dt}from"./chunk-TZHUEOC5.js";import{a as Ye,b as be,c as ne,d as ie}from"./chunk-PZXF2LWL.js";import{f as Ce,g as Ot,h as te,i as Ge,j as Mt,r as mt}from"./chunk-IGYPZ7QW.js";import"./chunk-OBLNMR7B.js";import{f as jt,g as Ht}from"./chunk-IBIFT6ZF.js";import{$ as Ve,$b as m,Ab as S,Bb as K,Cb as k,Da as B,Ec as It,Fb as d,Gb as y,Hb as x,Hc as ve,Ia as ee,Ib as E,Ic as Qe,Ja as $e,Jb as je,Jc as xe,La as Ct,Mb as yt,N
1a as v,Nb as U,Nc as Et,O as Re,Ob as N,Pb as R,Pc as St,Qc as Ze,Sc as he,Tb as de,Ub as $,Uc as kt,Vb as pt,Xb as D,Y as u,Ya as I,Yb as He,Z as g,Za as Le,Zb as G,_ as Ae,_a as F,_b as Ue,ab as L,ac as f,bb as bt,bc as z,cc as V,db as se,dc as M,eb as _e,fa as ht,fb as _,gb as a,hb as s,ib as C,ja as ze,ma as _t,mb as w,nb as P,nc as wt,pb as b,qa as dt,ra as A,rb as h,tb as l,ua as Fe,va as q,wa as r,xb as ge,yb as Y,zb as Q,zc as Pt}from"./chunk-BYVAMSOD.js";import{h as Rn,k as ce}from"./chunk-SI3YDIW4.js";var ke=class i{transform(t,e,n){if(!t?.length)return t??[];let o=(e||"").trim().toLowerCase();return o?t.filter(c=>{for(let p of n){let T=this.readPath(c,p);if(T&&String(T).toLowerCase().includes(o))return!0}return!1}):t}readPath(t,e){return e.split(".").reduce((n,o)=>n?.[o],t)}static \u0275fac=function(e){return new(e||i)};static \u0275pipe=Ct({name:"searchFilter",type:i,pure:!0})};var Sn=Rn(zn());var Hn=()=>[0,1,2,3,4,5],Wn=()=>({"border-radius":"12px",height:"320px",width:"100%"}),Yn=i=>({"bg-blue":i}),kn=()=>["assessmentTitle","description"],lt=()=>["courseName","courseDescription"],at=()=>["title","description"],On=()=>["title","masterclassName","description"],Mn=()=>["name","description"],Qn=()=>["productBundleName","description"],Zn=()=>["name","productBundleName","description"],Gn=(i,t,e)=>({fresh__text__9a2da6:i,fresh__text__E83B46:t,fresh__text__2C7BF7:e}),Bn=()=>["../other-products"];function Jn(i,t){if(i&1){let e=b();a(0,"button",101),m(1,"transloco"),h("click",function(){u(e);let o=l();return g(o.searchQuery="")}),C(2,"i",47),s()}i&2&&I("aria-label",f(1,1,"dash_board.clearSearch"))}function qn(i,t){if(i&1&&(a(0,"span",103),d(1),s()),i&2){let e=l(2);r(),y(e.appliedFilterCount)}}function Kn(i,t){if(i&1){let e=b();a(0,"button",102),h("click",function(){u(e);let o=l();return g(o.openFilterDrawer())}),C(1,"i",44),a(2,"span"),d(3),m(4,"transloco"),s(),F(5,qn,2,1,"span",103),s()}if(i&2){let e=l();k("has-active",e.appliedFilterCount>0),r(3),y(f(4,4,"dash_board.filters")),r(2),L(e.appliedFilterCount>0?5:-1)}}function Xn(i,t){if(i&1){let e=b();w(0),a(1,"span",108),d(2),a(3,"button",109),m(4,"transloco"),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.removeAppliedTag(o))}),C(5,"i",47),s()(),P()}if(i&2){let e=t.$implicit,n=l(2);r(2),x(" ",n.tagNameFor(e)," "),r(),I("aria-label",f(4,2,"dash_board.removeFilter"))}}function ei(i,t){if(i&1){let e=b();a(0,"div",104)(1,"span",105),d(2),m(3,"transloco"),s(),v(4,Xn,6,4,"ng-container",106),a(5,"button",107),h("click",function(){u(e);let o=l();return g(o.clear())}),d(6),m(7,"transloco"),s()()}if(i&2){let e=l();r(2),y(f(3,4,"dash_board.activeFilters")),r(2),_("ngForOf",e.getActiveSelectedRefDisplay())("ngForTrackBy",e.trackByItem),r(2),x(" ",f(7,6,"dash_board.clearAll")," ")}}function ti(i,t){if(i&1&&(a(0,"span",45),d(1),s()),i&2){let e=l();r(),y(e.draftTagIds.length)}}function ni(i,t){if(i&1){let e=b();a(0,"span",112),d(1),a(2,"button",113),m(3,"transloco"),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.toggleDraftTag(o))}),C(4,"i",47),s()()}if(i&2){let e=t.$implicit,n=l(2);r(),x(" ",n.tagNameFor(e)," "),r(),I("aria-label",f(3,2,"dash_board.removeTag"))}}function ii(i,t){if(i&1&&(a(0,"div",49)(1,"h6",50),d(2),m(3,"transloco"),s(),a(4,"div",110),v(5,ni,5,4,"span",111),s()()),i&2){let e=l();r(2),y(f(3,3,"dash_board.selected")),r(3),_("ngForOf",e.draftTagIds)("ngForTrackBy",e.trackByItem)}}function oi(i,t){if(i&1){let e=b();a(0,"button",114),m(1,"transloco"),h("click",function(){u(e);let o=l();return g(o.tagSearchQuery="")}),C(2,"i",47),s()}i&2&&I("aria-label",f(1,1,"dash_board.clearTagSearch"))}function ri(i,t){if(i&1){let e=b();a(0,"button",117),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.toggleDraftTag(o.id))}),a(1,"span",118),C(2,"i",119),s(),a(3,"span",120),d(4),s()()}if(i&2){let e=t.$implicit,n=l(2);k("is-selected",n.isDraftTagSelected(e.id)),r(4),y(e.name)}}function ai(i,t){if(i&1&&(a(0,"div",115),v(1,ri,5,3,"button",116),s()),i&2){let e=l();r(),_("ngForOf",e.filteredTagOptions)("ngForTrackBy",e.trackByItem)}}function li(i,t){if(i&1&&(a(0,"p",121),d(1),m(2,"transloco"),s()),i&2){let e=l();r(),E("",f(2,2,"dash_board.noTagsFound"),"",e.tagSearchQuery?' for "'+e.tagSearchQuery+'"':"",".")}}function ci(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l();r(),x("(",e.draftTagIds.length,")")}}function si(i,t){i&1&&(a(0,"div",123),C(1,"ngx-skeleton-loader",124),s()),i&2&&(r(),_("theme",D(1,Wn)))}function _i(i,t){if(i&1&&(w(0),v(1,si,2,2,"div",122),P()),i&2){let e=l();r(),_("ngForOf",D(2,Hn))("ngForTrackBy",e.trackByItem)}}function di(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("courses"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="courses"),r(2),y(f(4,6,f(3,4,"dash_board.course"))),r(4),y(e.productsCount==null?null:e.productsCount.courses.length)}}function pi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("playlists"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="playlists"),r(2),y(f(4,6,f(3,4,"dash_board.playlist"))),r(4),y(e.productsCount==null?null:e.productsCount.playLists.length)}}function mi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("cohorts"))}),a(1,"span",131),d(2),m(3,"transloco"),s(),a(4,"span",132),d(5),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="cohorts"),r(2),y(f(3,4,"dash_board.cohort")),r(3),y(e.productsCount==null?null:e.productsCount.cohorts.length)}}function ui(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("masterclass"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="masterclass"),r(2),y(f(4,6,f(3,4,"dash_board.masterclass"))),r(4),y(e.productsCount==null?null:e.productsCount.masterClasses.length)}}function gi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("digitalDownload"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="digitalDownload"),r(2),y(f(4,6,f(3,4,"dash_board.digitalDownload"))),r(4),y(e.productsCount==null?null:e.productsCount.digitalDownloads.length)}}function fi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("productBundle"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="productBundle"),r(2),y(f(4,6,f(3,4,"dash_board.productbundle"))),r(4),y(e.productsCount==null?null:e.productsCount.productBundle.length)}}function vi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("scorms"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="scorms"),r(2),y(f(4,6,f(3,4,"dash_board.scorm"))),r(4),y(e.productsCount==null?null:e.productsCount.scorms.length)}}function xi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("coachings"))}),a(1,"span",131),d(2,"1:1 Coaching"),s(),a(3,"span",132),d(4),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="coachings"),r(4),y(e.productsCount==null?null:e.productsCount.co
1achings.length)}}function hi(i,t){if(i&1){let e=b();a(0,"button",130),h("click",function(){u(e);let o=l(3);return g(o.setActiveTab("all"))}),a(1,"span",131),d(2),m(3,"transloco"),m(4,"titlecase"),s(),a(5,"span",132),d(6),s()()}if(i&2){let e=l(3);k("is-active",e.activeTab==="all"),r(2),y(f(4,6,f(3,4,"dash_board.all"))),r(4),y(e.productsCount==null?null:e.productsCount.all.length)}}function Ci(i,t){if(i&1&&(a(0,"span",155),d(1),m(2,"date"),s()),i&2){let e=l().$implicit;r(),x(" Expires ",V(2,1,e.expiry*1e3,"dd MMM yyyy","UTC")," ")}}function bi(i,t){if(i&1&&(a(0,"p"),d(1),m(2,"stripHtml"),s()),i&2){let e=l().$implicit;r(),x(" ",f(2,1,e.description)," ")}}function yi(i,t){i&1&&(a(0,"p",156),d(1),m(2,"transloco"),s()),i&2&&(r(),y(f(2,1,"dash_board.noDescription")))}function wi(i,t){if(i&1&&(a(0,"div",157)(1,"div",158)(2,"span"),d(3),s()(),a(4,"div",159),C(5,"div",160),s()()),i&2){let e=l().$implicit;r(3),x("",e.completion,"%"),r(2),K("width",e.completion+"%"),I("aria-valuenow",e.completion||0)}}function Pi(i,t){i&1&&(a(0,"span",161),d(1,"\u2014"),s())}function Ti(i,t){if(i&1){let e=b();a(0,"tr",143),h("click",function(){let o=u(e).$implicit;return g(o.onClick())})("keyup.enter",function(){let o=u(e).$implicit;return g(o.onClick())}),a(1,"td",144)(2,"div",145)(3,"span",146),d(4),s(),v(5,Ci,3,5,"span",147),s()(),a(6,"td",148),v(7,bi,3,3,"p",62),m(8,"stripHtml"),v(9,yi,3,3,"ng-template",null,10,M),s(),a(11,"td",149),v(12,wi,6,4,"div",150)(13,Pi,2,0,"span",151),s(),a(14,"td",152)(15,"button",153),h("click",function(o){let c=u(e).$implicit;return o.stopPropagation(),g(c.onClick())}),C(16,"i",154),s()()()}if(i&2){let e,n=t.$implicit,o=S(10),c=l(5);r(4),y(n.name),r(),_("ngIf",n.expiry&&n.expiry!==0&&!n.fullAccess&&(c.domainSettingsOtherDTO==null?null:c.domainSettingsOtherDTO.showExpiryDate)),r(2),_("ngIf",(e=f(8,7,n.description))==null?null:e.trim())("ngIfElse",o),r(5),_("ngIf",n.completion!=null),r(),_("ngIf",n.completion==null),r(2),I("aria-label",n.actionLabel+" "+n.name)}}function Ii(i,t){if(i&1&&(a(0,"table",137)(1,"thead")(2,"tr")(3,"th",138),d(4),s(),a(5,"th",139),d(6),m(7,"transloco"),s(),a(8,"th",140),d(9),s(),C(10,"th",141),s()(),a(11,"tbody"),v(12,Ti,17,9,"tr",142),s()()),i&2){let e=l(4);r(4),y(e.tableNameHeader),r(2),y(f(7,5,"dash_board.descriptionHeader")),r(3),y(e.tableHasCompletion?"Completion":"Status"),r(3),_("ngForOf",e.pagedTableRows)("ngForTrackBy",e.trackByItem)}}function Ei(i,t){if(i&1&&(a(0,"div",162),C(1,"i",163),a(2,"p"),d(3),s()()),i&2){let e=l(4);r(3),y(e.searchQuery?'No results match "'+e.searchQuery+'"':"Nothing to show here yet.")}}function Si(i,t){if(i&1&&(a(0,"option",173),d(1),s()),i&2){let e=t.$implicit;_("ngValue",e),r(),y(e)}}function ki(i,t){if(i&1){let e=b();a(0,"button",175),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g(c.goToPage(+o))}),d(1),s()}if(i&2){let e=l().$implicit,n=l(5);k("is-active",e===n.currentPage),I("aria-current",e===n.currentPage?"page":null),r(),x(" ",e," ")}}function Oi(i,t){i&1&&(a(0,"span",176),d(1,"\u2026"),s())}function Mi(i,t){if(i&1&&(w(0),v(1,ki,2,4,"button",174)(2,Oi,2,0,"ng-template",null,11,M),P()),i&2){let e=t.$implicit,n=S(3);r(),_("ngIf",e!=="\u2026")("ngIfElse",n)}}function Bi(i,t){if(i&1){let e=b();a(0,"div",164)(1,"div",165)(2,"span"),d(3),s(),a(4,"div",166)(5,"label",167),d(6),m(7,"transloco"),s(),a(8,"select",168),h("ngModelChange",function(o){u(e);let c=l(4);return g(c.changePageSize(o))}),v(9,Si,2,2,"option",169),s()()(),a(10,"nav",170),m(11,"transloco"),a(12,"button",171),m(13,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.prevPage())}),C(14,"i",172),s(),v(15,Mi,4,2,"ng-container",106),a(16,"button",171),m(17,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.nextPage())}),C(18,"i",154),s()()()}if(i&2){let e=l(4);r(3),je("Showing ",e.pageStartIndex,"\u2013",e.pageEndIndex," of ",e.filteredTableRows.length),r(3),y(f(7,13,"dash_board.rowsPerPage")),r(2),_("ngModel",e.pageSize),r(),_("ngForOf",e.pageSizeOptions),r(),I("aria-label",f(11,15,"dash_board.paginationAria")),r(2),_("disabled",e.currentPage===1),I("aria-label",f(13,17,"dash_board.previousPage")),r(3),_("ngForOf",e.pageNumbers)("ngForTrackBy",e.trackByItem),r(),_("disabled",e.currentPage===e.totalPages),I("aria-label",f(17,19,"dash_board.nextPage"))}}function Di(i,t){if(i&1&&(a(0,"div",133),v(1,Ii,13,7,"table",134)(2,Ei,4,1,"div",135)(3,Bi,19,21,"div",136),s()),i&2){let e=l(3);r(),_("ngIf",e.filteredTableRows.length>0),r(),_("ngIf",e.filteredTableRows.length===0),r(),_("ngIf",e.filteredTableRows.length>0)}}function Ai(i,t){if(i&1){let e=b();a(0,"ngx-bootstrap-multiselect",199),R("ngModelChange",function(o){u(e);let c=l(7);return N(c.tagCourseIds,o)||(c.tagCourseIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(7);return g(c.getSelectedCourseTags(o))}),s()}if(i&2){let e=l(7);
1_("options",e.myOptionsCourses)("texts",e.myTextsCourses)("settings",e.mySettings),U("ngModel",e.tagCourseIds)}}function Vi(i,t){if(i&1){let e=b();a(0,"ngx-bootstrap-multiselect",200),R("ngModelChange",function(o){u(e);let c=l(7);return N(c.tagPlaylistIds,o)||(c.tagPlaylistIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(7);return g(c.getSelectedPlaylistTags(o))}),s()}if(i&2){let e=l(7);_("options",e.myOptionsCourses)("texts",e.myTextsCourses)("settings",e.mySettings),U("ngModel",e.tagPlaylistIds)}}function Fi(i,t){if(i&1){let e=b();a(0,"ngx-bootstrap-multiselect",201),R("ngModelChange",function(o){u(e);let c=l(7);return N(c.tagCohortIds,o)||(c.tagCohortIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(7);return g(c.getSelectedCohortTags(o))}),s()}if(i&2){let e=l(7);_("options",e.myOptionsCourses)("texts",e.myTextsCourses)("settings",e.mySettings),U("ngModel",e.tagCohortIds)}}function Li(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",191),v(2,Ai,1,4,"ngx-bootstrap-multiselect",192)(3,Vi,1,4,"ngx-bootstrap-multiselect",193)(4,Fi,1,4,"ngx-bootstrap-multiselect",194),s(),a(5,"div",195)(6,"button",196),h("click",function(){u(e);let o=l(6);return g(o.getEnrolledCoursesByTagsFilter())}),d(7),m(8,"transloco"),C(9,"span",197),s(),a(10,"button",198),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(11),m(12,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("ngIf",e.activeTab==="courses"),r(),_("ngIf",e.activeTab==="playlists"),r(),_("ngIf",e.activeTab==="cohorts"),r(2),_("disabled",e.tagsLoading||e.activeTab==="courses"&&!(e.tagCourseIds!=null&&e.tagCourseIds.length)||e.activeTab==="playlists"&&!(e.tagPlaylistIds!=null&&e.tagPlaylistIds.length)||e.activeTab==="cohorts"&&!(e.tagCohortIds!=null&&e.tagCohortIds.length)),r(),x(" ",f(8,7,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(12,9,"dash_board.clear")," ")}}function Ui(i,t){if(i&1){let e=b();a(0,"ngx-bootstrap-multiselect",203),R("ngModelChange",function(o){u(e);let c=l(7);return N(c.tagScormIds,o)||(c.tagScormIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(7);return g(c.getSelectedScormTags(o))}),s()}if(i&2){let e=l(7);_("options",e.myOptionsScorm)("texts",e.myTextsScorm)("settings",e.mySettings),U("ngModel",e.tagScormIds)}}function Ni(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",191),v(2,Ui,1,4,"ngx-bootstrap-multiselect",202),s(),a(3,"div",195)(4,"button",196),h("click",function(){u(e);let o=l(6);return g(o.getEnrolledScormsByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",197),s(),a(8,"button",198),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("ngIf",e.activeTab==="scorms"),r(2),_("disabled",e.tagsLoading||e.activeTab==="scorms"&&!(e.tagScormIds!=null&&e.tagScormIds.length)),r(),x(" ",f(6,5,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,7,"dash_board.clear")," ")}}function Ri(i,t){i&1&&(a(0,"p",205),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function zi(i,t){if(i&1&&v(0,Ri,3,3,"p",204),i&2){let e=l(6);_("ngIf",e.activeTab==="scorms")}}function $i(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",206)(2,"ngx-bootstrap-multiselect",207),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagMasterclassIds,o)||(c.tagMasterclassIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedMasterclassTags(o))}),s()(),a(3,"div",195)(4,"button",196),h("click",function(){u(e);let o=l(6);return g(o.getEnrolledMasterclassByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",197),s(),a(8,"button",198),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsMasterclass)("texts",e.myTextsMasterclass)("settings",e.mySettings),U("ngModel",e.tagMasterclassIds),r(2),_("disabled",e.tagsLoading||!(e.tagMasterclassIds!=null&&e.tagMasterclassIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function ji(i,t){i&1&&(a(0,"p",205),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Hi(i,t){if(i&1&&v(0,ji,3,3,"p",204),i&2){let e=l(6);_("ngIf",e.activeTab==="masterclass")}}function Wi(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",206)(2,"ngx-bootstrap-multiselect",207),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagDigitalDownloadIds,o)||(c.tagDigitalDownloadIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedDigitalDownloadTags(o))}),s()(),a(3,"div",195)(4,"button",196),h("click",function(){u(e);let o=l(6);return g(o.getEnrolledDigitalDownloadByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",197),s(),a(8,"button",198),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsDigitalDownload)("texts",e.myTextsDigitalDownload)("settings",e.mySettings),U("ngModel",e.tagDigitalDownloadIds),r(2),_("disabled",e.tagsLoading||e.activeTab==="digitalDownload"&&!(e.tagDigitalDownloadIds!=null&&e.tagDigitalDownloadIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function Yi(i,t){i&1&&(a(0,"p",205),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Qi(i,t){if(i&1&&v(0,Yi,3,3,"p",204),i&2){let e=l(6);_("ngIf",e.activeTab==="digitalDownload")}}function Zi(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",206)(2,"ngx-bootstrap-multiselect",207),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagProductBundleIds,o)||(c.tagProductBundleIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedProductBundleTags(o))}),s()(),a(3,"div",195)(4,"button",196),h("click",function(){u(e);let o=l(6);return g(o.getEnrolledProductBundleByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",197),s(),a(8,"button",198),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsProductBundle)("texts",e.myTextsProductBundle)("settings",e.mySettings),U("ngModel",e.tagProductBundleIds),r(2),_("disabled",e.tagsLoading||!(e.tagProductBundleIds!=null&&e.tagProductBundleIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function Gi(i,t){i&1&&(a(0,"p",205),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Ji(i,t){if(i&1&&v(0,Gi,3,3,"p",204),i&2){let e=l(6);_("ngIf",e.activeTab==="productBundle")}}function qi(i,t){if(i&1&&(a(0,"div",185)(1,"div",186)(2,"h6",187),d(3),m(4,"transloco"),s(),C(5,"div",188),v(6,Li,13,11,"div",189)(7,Ni,11,9,"div",189)(8,zi,1,1,"ng-template",null,12,M)(10,$i,11,16,"div",189)(11,Hi,1,1,"ng-template",null,13,M)(13,Wi,11,16,"div",189)(14,Qi,1,1,"ng-template",null,14,M)(16,Zi,11,16,"div",189)(17,Ji,1,1,"ng-template",null,15,M),s()()),i&2){let e=S(9),n=S(12),o=S(15),c=S(18),p=l(5);r(3),x(" ",f(4,11,"dash_board.filterByTag")," "),r(3),_("ngIf",p.myOptionsCourses.length>0&&(p.activeTab==="courses"||p.activeTab==="playlists"||p.activeTab==="cohorts"))("ngIfElse",p.noCourseTags),r(),_("ngIf",p.myOptionsScorm.length>0&&p.activeTab==="scorms")("ngIfElse",e),r(3),_("ngIf",p.myOptionsMasterclass.length>0&&p.activeTab==="masterclass")("ngIfElse",n),r(3),_("ngIf",p.myOptionsDigitalDownload.length>0&&p.activeTab==="digitalDownload")("ngIfElse",o),r(3),_("ngIf",p.myOptionsProductBundle.length>0&&p.activeTab==="productBundle")("ngIfElse",c)}}function Ki(i,t){if(i&1){let e=b();a(0,"div")(1,"div",179)(2,"a",180),m(3,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.openFilters())}),a(4,"p",181),C(5,"i",182),d(6),m(7,"transloco"),s()()(),a(8,"div",183),v(9,qi,19,13,"div",184),s()()}if(i&2){let e=l(4);r(2),_("mdbTooltip",f(3,4,"dash_board.filters"))("ngClass",He(8,Yn,!e.showFilters)),r(4),y(f(7,6,"dash_board.tags")),r(3),_("ngIf",e.filters)}}function Xi(i,t){if(i&1&&(a(0,"div",177),v(1,Ki,10,10,"div",178),s()),i&2){let e=l(3);r(),_("ngIf",(e.myOptionsCourses.length>0||e.myOptionsScorm.length>0||e.myOptionsMasterclass.length>0||e.myOptionsDigitalDownload.length>0||e.myOptionsProductBundle.length>0)&&(e.activeTab==="courses"||e.activeTab==="scorms"||e.activeTab==="masterclass"||e.activeTab==="playlists"||e.activeTab==="cohorts"||e.activeTab==="digitalDownload"||e.activeTab==="productBundle"||e.activeTab==="scorms"))}}function eo(i,t){i&1&&C(0,"i",230)}function to(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expiredTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function no(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function io(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="courses"),r(3),x("+",e.tags.length-3)}}function oo(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,no,5,2,"ng-container",106)(4,io,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function ro(i,t){i&1&&C(0,"div",234)}function ao(i,t){if(i&1){let e=b();a(0,"div",213)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(7,"div",220)(8,"div",221),v(9,eo,1,0,"i",222),a(10,"p",223),d(11),m(12,"transloco"),m(13,"transloco"),s()(),v(14,to,5,8,"div",224),s(),a(15,"h5",225),d(16),s(),a(17,"div",226)(18,"p",227),m(19,"stripHtml"),d(20),s()(),a(21,"div",228),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(22,"div",179)(23,"span",229),d(24),s()(),a(25,"div",159),C(26,"div",160),s()()()(),v(27,oo,5,3,"ng-container",62)(28,ro,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(29),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(5),_("ngIf",e==null?null:e.showCertificate),r(),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(12,16,"dash_board.playlist"):(e==null?null:e.courseType)=="COHORT"?"Cohort":f(13,18,"dash_board.course")," "),r(3),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x(" ",e.courseName," "),r(2),_("appEllipsisTooltip",f(19,20,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(4),x("",e.courseCompletion,"%"),r(2),K("width",e.courseCompletion+"%"),I("aria-valuenow",e.courseCompletion||0)("aria-label",(e.courseCompletion||0)+"% complete"),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function lo(i,t){if(i&1&&(w(0),v(1,ao,30,22,"div",212),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.courses,e.searchQuery,D(6,lt)))("ngForTrackBy",e.trackByItem)}}function co(i,t){if(i&1&&(a(0,"div",61),v(1,lo,3,7,"ng-container",62),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.courses==null?null:n.productsCount.courses.length)>0)("ngIfElse",e)}}function so(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expireTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function _o(i,t){if(i&1&&(a(0,"div",243)(1,"div",179)(2,"span",229),d(3),s()(),a(4,"div",159),C(5,"div",160),s()()),i&2){let e=l().$implicit;r(3),x("",e.scormCompletionPercentage,"%"),r(2),K("width",e.scormCompletionPercentage+"%"),I("aria-valuenow",e.scormCompletionPercentage||0)("aria-label",(e.scormCompletionPercentage||0)+"% complete")}}function po(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function mo(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.courseId,"scorm",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="scorm"),r(3),x("+",e.tags.length-3)}}function uo(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,po,5,2,"ng-container",106)(4,mo,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function go(i,t){i&1&&C(0,"div",234)}function fo(i,t){if(i&1){let e=b();a(0,"div",213)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledScorm(o==null?null:o.packageId,o==null?null:o.id))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledScorm(o==null?null:o.packageId,o==null?null:o.id))}),a(7,"div",220)(8,"div",221)(9,"p",241),d(10),m(11,"transloco"),s()(),v(12,so,5,8,"div",224),s(),a(13,"h5",225),d(14),s(),a(15,"div",226)(16,"p",227),m(17,"stripHtml"),d(18),s()(),v(19,_o,6,5,"div",242),s()(),v(20,uo,5,3,"ng-container",62)(21,go,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(22),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(6),x(" ",f(11,10,"dash_board.scorm")," "),r(2),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expireTime&&e.expireTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.title),r(),x(" ",e.title," "),r(2),_("appEllipsisTooltip",f(17,12,e.description)),r(2),x(" ",e.de
1scription," "),r(),_("ngIf",e.scormCompletionPercentage!==null&&e.scormCompletionPercentage!==void 0),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function vo(i,t){if(i&1&&(w(0),v(1,fo,23,14,"div",212),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.scorms,e.searchQuery,D(6,at)))("ngForTrackBy",e.trackByItem)}}function xo(i,t){if(i&1&&(a(0,"div",61),v(1,vo,3,7,"ng-container",62),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.scorms==null?null:n.productsCount.scorms.length)>0)("ngIfElse",e)}}function ho(i,t){i&1&&C(0,"i",230)}function Co(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expiredTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function bo(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function yo(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.courseId,"playlist",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="playlist"),r(3),x("+",e.tags.length-3)}}function wo(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,bo,5,2,"ng-container",106)(4,yo,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Po(i,t){i&1&&C(0,"div",234)}function To(i,t){if(i&1){let e=b();a(0,"div",213)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(7,"div",220)(8,"div",221),v(9,ho,1,0,"i",222),a(10,"p",223),d(11),m(12,"transloco"),m(13,"transloco"),s()(),v(14,Co,5,8,"div",224),s(),a(15,"h5",225),d(16),s(),a(17,"div",226)(18,"p",227),m(19,"stripHtml"),d(20),s()(),a(21,"div",228),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(22,"div",179)(23,"span",229),d(24),s()(),a(25,"div",159),C(26,"div",160),s()()()(),v(27,wo,5,3,"ng-container",62)(28,Po,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(29),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultPlaylistImage,A),r(5),_("ngIf",e==null?null:e.showCertificate),r(),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(12,16,"dash_board.playlist"):f(13,18,"dash_board.course")," "),r(3),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x(" ",e.courseName," "),r(2),_("appEllipsisTooltip",f(19,20,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(4),x("",e.courseCompletion,"%"),r(2),K("width",e.courseCompletion+"%"),I("aria-valuenow",e.courseCompletion||0)("aria-label",(e.courseCompletion||0)+"% complete"),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Io(i,t){if(i&1&&(w(0),v(1,To,30,22,"div",212),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.playLists,e.searchQuery,D(6,lt)))("ngForTrackBy",e.trackByItem)}}function Eo(i,t){if(i&1&&(a(0,"div",61),v(1,Io,3,7,"ng-container",62),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.playLists==null?null:n.productsCount.playLists.length)>0)("ngIfElse",e)}}function So(i,t){i&1&&C(0,"i",230)}function ko(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expiredTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function Oo(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Mo(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"cohort",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"cohort",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.courseId,"cohort",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.courseId,"cohort",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="cohort"),r(3),x("+",e.tags.length-3)}}function Bo(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,Oo,5,2,"ng-container",106)(4,Mo,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Do(i,t){i&1&&C(0,"div",234)}function Ao(i,t){if(i&1){let e=b();a(0,"div",213)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(7,"div",220)(8,"div",221),v(9,So,1,0,"i",222),a(10,"p",241),d(11),m(12,"transloco"),m(13,"transloco"),m(14,"transloco"),m(15,"transloco"),s()(),v(16,ko,5,8,"div",224),s(),a(17,"h5",225),d(18),s(),a(19,"div",226)(20,"p",227),m(21,"stripHtml"),d(22),s()(),a(23,"div",228),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(24,"div",244)(25,"div",245),C(26,"i",246),a(27,"p",247),d(28),m(29,"transloco"),a(30,"span"),d(31),m(32,"date"),m(33,"date"),s()()()()()()(),v(34,Bo,5,3,"ng-container",62)(35,Do,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(36),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCohortImage,A),r(5),_("ngIf",e==null?null:e.showCertificate),r(2),x(" ",(e==null?null:e.courseType)=="COHORT"?f(12,13,"dash_board.cohort"):(e==null?null:e.courseType)=="PLAYLIST"?f(13,15,"dash_board.playlist"):(e==null?null:e.courseType)=="COURSE"?f(14,17,"dash_board.course"):f(15,19,"dash_board.course")," "),r(5),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x(" ",e.courseName," "),r(2),_("appEllipsisTooltip",f(21,21,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(6),x(" ",f(29,23,"dash_board.date")," "),r(3),E(" ",z(32,25,e.startDate*1e3,"MMM dd, yyyy")," (",z(33,28,e.startDate*1e3,"ZZZZ"),") "),r(3),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Vo(i,t){if(i&1&&(w(0),v(1,Ao,37,31,"div",212),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.cohorts,e.searchQuery,D(6,lt)))("ngForTrackBy",e.trackByItem)}}function Fo(i,t){if(i&1&&(a(0,"div",61),v(1,Vo,3,7,"ng-container",62),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.cohorts==null?null:n.productsCount.cohorts.length)>0)("ngIfElse",e)}}
1function Lo(i,t){i&1&&(a(0,"div",265),C(1,"i",266)(2,"span",267)(3,"i",268),s())}function Uo(i,t){i&1&&(a(0,"div",269),C(1,"i",266),s())}function No(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),x(" \u2022 ",e.tz)}}function Ro(i,t){if(i&1&&(a(0,"div",263),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.endDate||e.startDate," ",e.endTime," ")}}function zo(i,t){if(i&1&&(a(0,"div",257)(1,"div",258),C(2,"i",259),v(3,Lo,4,0,"div",260)(4,Uo,2,0,"div",261),a(5,"div",262)(6,"div",263),d(7),v(8,No,2,1,"span",178),s(),v(9,Ro,2,2,"div",264),s()()()),i&2){let e=t.$implicit;r(3),_("ngIf",e.endDate||e.endTime),r(),_("ngIf",!e.endDate&&!e.endTime),r(3),E(" ",e.startDate," ",e.startTime),r(),_("ngIf",e.tz),r(),_("ngIf",e.endDate||e.endTime)}}function $o(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",270)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function jo(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.id,"masterclass",c.tags,o))}),a(1,"div",270)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="masterclass"),r(3),x("+",e.tags.length-3)}}function Ho(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,$o,5,2,"ng-container",106)(4,jo,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Wo(i,t){i&1&&C(0,"div",234)}function Yo(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",214)(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"p",253),d(7),m(8,"transloco"),s(),a(9,"h5",225),d(10),s(),v(11,zo,10,6,"div",254),a(12,"div",255)(13,"button",256),h("click",function(){let o=u(e).$implicit,c=l(6);return g(o.mettingsType==="VIRTUAL"?c.joinMeetingUrl(o.location):c.openMettingModal(o))}),d(14),m(15,"transloco"),s()()(),v(16,Ho,5,3,"ng-container",62)(17,Wo,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(18),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultMasterclassImage,A),r(3),x(" ",f(8,8,"dash_board.masterclass")," "),r(2),_("appEllipsisTooltip",e.title),r(),x(" ",e.title," "),r(),_("ngIf",o.getMasterclassDateInfo(e)),r(3),x(" ",f(15,10,"masterclass.joinButton")," "),r(2),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Qo(i,t){if(i&1&&(w(0,249),v(1,Yo,19,12,"div",250),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.masterClasses,e.searchQuery,D(6,On)))("ngForTrackBy",e.trackByItem)}}function Zo(i,t){if(i&1&&(a(0,"div",61),v(1,Qo,3,7,"ng-container",248),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.masterClasses==null?null:n.productsCount.masterClasses.length)!==0)("ngIfElse",e)}}function Go(i,t){if(i&1&&(a(0,"div",279)(1,"div",280)(2,"span",281),d(3),m(4,"date"),s(),a(5,"span",282),d(6),m(7,"date"),s()(),a(8,"div",283)(9,"p",284),d(10),m(11,"date"),s(),a(12,"p",285),d(13),s()()()),i&2){let e=l().$implicit,n=l(6);r(3),y(z(4,5,e.nextSessionUtcMillis,"MMM")),r(3),y(z(7,8,e.nextSessionUtcMillis,"d")),r(4),y(z(11,11,e.nextSessionUtcMillis,"EEE, h:mm a")),r(3),E("",n.coachingMeetingLabel(e)," \xB7 ",n.browserTimezone)}}function Jo(i,t){if(i&1&&(a(0,"div",287)(1,"span",288),C(2,"i",289),s(),a(3,"span",283)(4,"b",290),d(5,"All sessions completed"),s(),a(6,"small",291),d(7),s()()()),i&2){let e=l(2).$implicit;r(7),E("",e.sessionsTotal," of ",e.sessionsTotal," sessions done")}}function qo(i,t){if(i&1&&(a(0,"div",293)(1,"span",288),C(2,"i",294),s(),a(3,"span",283)(4,"b",290),d(5),s(),a(6,"small",291),d(7,"No upcoming session booked"),s()()()),i&2){let e=l(3).$implicit;r(5),E("",e.sessionsCompleted," of ",e.sessionsTotal," sessions done")}}function Ko(i,t){i&1&&(a(0,"div",295)(1,"span",288),C(2,"i",296),s(),a(3,"span",283)(4,"b",290),d(5,"No session booked yet"),s(),a(6,"small",291),d(7,"Book your first session"),s()()())}function Xo(i,t){if(i&1&&v(0,qo,8,2,"div",292)(1,Ko,8,0,"ng-template",null,19,M),i&2){let e=S(2),n=l(2).$implicit,o=l(6);_("ngIf",o.coachingInProgress(n))("ngIfElse",e)}}function er(i,t){if(i&1&&v(0,Jo,8,2,"div",286)(1,Xo,3,2,"ng-template",null,18,M),i&2){let e=S(2),n=l().$implicit,o=l(6);_("ngIf",o.coachingCompleted(n))("ngIfElse",e)}}function tr(i,t){if(i&1&&(a(0,"span",300),d(1),s()),i&2){let e=t.$implicit;_("title",e.tagName),r(),y(e.tagName)}}function nr(i,t){if(i&1&&(a(0,"span",301),d(1),s()),i&2){let e=l(2).$implicit;r(),x("+",e.tags.length-3)}}function ir(i,t){if(i&1&&(a(0,"div",297),v(1,tr,2,2,"span",298)(2,nr,2,1,"span",299),s()),i&2){let e=l().$implicit,n=l(6);r(),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function or(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",271),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.openCoaching(o))}),a(2,"div",252)(3,"div",216),C(4,"img",272),s()(),a(5,"div",273)(6,"p",274),d(7,"1:1 Coaching"),s(),a(8,"h5",275),d(9),s(),v(10,Go,14,14,"div",276)(11,er,3,2,"ng-template",null,17,M),a(13,"div",277)(14,"button",256),h("click",function(o){let c=u(e).$implicit,p=l(6);return o.stopPropagation(),g(p.openCoaching(c))}),d(15),s()()(),v(16,ir,3,3,"div",278),s()()}if(i&2){let e=t.$implicit,n=S(12),o=l(6);r(4),_("alt",de(e.title))("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:"https://web-cdn.freshlearn.com/website/Course-thumbnails.png",A),r(4),_("appEllipsisTooltip",e.title),r(),y(e.title),r(),_("ngIf",e.nextSessionUtcMillis)("ngIfElse",n),r(5),y(e.nextSessionUtcMillis?"Join session":o.coachingCompleted(e)?"Vie
1w sessions":"Book a session"),r(),_("ngIf",e.tags==null?null:e.tags.length)}}function rr(i,t){if(i&1&&(w(0),v(1,or,17,9,"div",250),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.coachings,e.searchQuery,D(6,at)))("ngForTrackBy",e.trackByItem)}}function ar(i,t){if(i&1&&(a(0,"div",61),v(1,rr,3,7,"ng-container",62),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.coachings==null?null:n.productsCount.coachings.length)!==0)("ngIfElse",e)}}function lr(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function cr(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===(e==null?null:e.id)&&n.showAllTagsType==="digitaldownload"),r(3),x("+",(e==null?null:e.digitalDownloadtags.length)-3)}}function sr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,lr,5,2,"ng-container",106)(4,cr,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e==null?null:e.digitalDownloadtags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.digitalDownloadtags.length)>3)}}function _r(i,t){i&1&&C(0,"div",234)}function dr(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledDigitalDownload(o==null?null:o.id,o==null?null:o.name,o==null?null:o.subscriptionId))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"p",304),d(7),m(8,"transloco"),s(),a(9,"h5",225),d(10),s(),a(11,"div",226)(12,"p",227),m(13,"stripHtml"),d(14),s()(),a(15,"div",255)(16,"button",256),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getDigitalDownloadName(o==null?null:o.name))}),d(17),m(18,"transloco"),s()()(),v(19,sr,5,3,"ng-container",62)(20,_r,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(6);r(4),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultDigitalDownloadImage,A),r(3),x(" ",f(8,9,"dash_board.digitalDownload")," "),r(2),_("appEllipsisTooltip",e==null?null:e.name),r(),x(" ",e==null?null:e.name," "),r(2),_("appEllipsisTooltip",f(13,11,e==null?null:e.description)),r(2),x(" ",e==null?null:e.description," "),r(3),x(" ",f(18,13,"dash_board.viewDownloads")," "),r(2),_("ngIf",e==null||e.digitalDownloadtags==null?null:e.digitalDownloadtags.length)("ngIfElse",n)}}function pr(i,t){if(i&1&&(w(0,249),v(1,dr,22,15,"div",302),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.digitalDownloads,e.searchQuery,D(6,Mn)))("ngForTrackBy",e.trackByItem)}}function mr(i,t){if(i&1&&(a(0,"div",61),v(1,pr,3,7,"ng-container",248),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.digitalDownloads==null?null:n.productsCount.digitalDownloads.length)!==0)("ngIfElse",e)}}function ur(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expireTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function gr(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function fr(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(6);return g(p.hoverAllTags(c.id,"productbundle",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(6);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="productbundle"),r(3),x("+",e.tags.length-3)}}function vr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,gr,5,2,"ng-container",106)(4,fr,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(6);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function xr(i,t){i&1&&C(0,"div",234)}function hr(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledProductBundle(o.id,o.productType,o.expireTime))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",220)(7,"p",305),d(8),m(9,"transloco"),s(),v(10,ur,5,8,"div",224),s(),a(11,"h5",225),d(12),s(),a(13,"div",226)(14,"p",306),m(15,"stripHtml"),d(16),s()(),a(17,"div",255)(18,"button",256),h("click",function(){let o=u(e).$implicit,c=l(6);return g(c.getEnrolledProductBundle(o.id,o.productType,o.expireTime))}),d(19),m(20,"transloco"),s()()(),v(21,vr,5,3,"ng-container",62)(22,xr,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(23),o=l(6);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultProductBundleImage,A),r(4),x(" ",f(9,11,"dash_board.productbundle")," "),r(2),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expireTime&&e.expireTime!=0),r(),_("appEllipsisTooltip",e.name),r(),x(" ",e.name," "),r(2),_("appEllipsisTooltip",f(15,13,e.description))("innerHTML",e.description,dt),r(2),x(" ",e.de
1scription," "),r(3),x(" ",f(20,15,"dash_board.productbundleAccess")," "),r(2),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Cr(i,t){if(i&1&&(w(0,249),v(1,hr,24,17,"div",250),m(2,"searchFilter"),P()),i&2){let e=l(5);r(),_("ngForOf",V(2,2,e.productsCount==null?null:e.productsCount.productBundle,e.searchQuery,D(6,Qn)))("ngForTrackBy",e.trackByItem)}}function br(i,t){if(i&1&&(a(0,"div",61),v(1,Cr,3,7,"ng-container",248),s()),i&2){l(3);let e=S(4),n=l();r(),_("ngIf",(n.productsCount==null||n.productsCount.productBundle==null?null:n.productsCount.productBundle.length)!==0)("ngIfElse",e)}}function yr(i,t){if(i&1&&(a(0,"div",312)(1,"p",313),d(2),m(3,"titlecase"),s()()),i&2){let e=l().$implicit;r(),_("ngClass",e.status=="COMPLETED"?"status_completed":"status_pending"),r(),x(" ",f(3,2,e.status)," ")}}function wr(i,t){if(i&1){let e=b();a(0,"div",307)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.showAssessmentAnsweKey(o.assessmentId,o.memberAssessmentId,o.status))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div")(7,"div",220)(8,"p",308),d(9),m(10,"transloco"),s()(),a(11,"h5",225),d(12),s(),a(13,"div",226)(14,"p",227),m(15,"stripHtml"),d(16),s()()(),C(17,"div",188),a(18,"div",179)(19,"div",309),v(20,yr,4,4,"div",310),s(),a(21,"div",311)(22,"div",179)(23,"span"),d(24),s()(),a(25,"div",159),C(26,"div",160),s()()()()()()}if(i&2){let e=t.$implicit,n=l(4);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:n.defaultImage,A),r(5),x(" ",f(10,12,"dash_board.assessment")," "),r(2),_("appEllipsisTooltip",e.assessmentTitle),r(),x(" ",e.assessmentTitle," "),r(2),_("appEllipsisTooltip",f(15,14,e.description)),r(2),x(" ",e.description," "),r(4),_("ngIf",e.status!=null&&e.status!=null&&e.status!=""),r(4),x("",e.resultPercentage,"%"),r(2),K("width",e.resultPercentage+"%"),I("aria-valuenow",e.resultPercentage||0)("aria-label",(e.resultPercentage||0)+"%")}}function Pr(i,t){i&1&&C(0,"i",230)}function Tr(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expiredTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function Ir(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Er(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.courseId,"courses",c.tags,o,c.courseType==="PLAYLIST"?"playlists":c.courseType==="COHORT"?"cohorts":"courses"))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="courses"),r(3),x("+",e.tags.length-3)}}function Sr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,Ir,5,2,"ng-container",106)(4,Er,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function kr(i,t){i&1&&C(0,"div",234)}function Or(i,t){if(i&1){let e=b();a(0,"div",213)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(7,"div",220)(8,"div",221),v(9,Pr,1,0,"i",222),a(10,"p",223),d(11),m(12,"transloco"),m(13,"transloco"),s()(),v(14,Tr,5,8,"div",224),s(),a(15,"h5",225),d(16),s(),a(17,"div",226)(18,"p",227),m(19,"stripHtml"),d(20),s()(),a(21,"div",228),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledCourse(o==null?null:o.courseId,o==null?null:o.courseType))}),a(22,"div",179)(23,"span",229),d(24),s()(),a(25,"div",159),C(26,"div",160),s()()()(),v(27,Sr,5,3,"ng-container",62)(28,kr,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(29),o=l(5);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(5),_("ngIf",e==null?null:e.showCertificate),r(),_("ngClass",Ue(22,Gn,(e==null?null:e.courseType)=="PLAYLIST",(e==null?null:e.courseType)=="COHORT",(e==null?null:e.courseType)=="COURSE")),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(12,16,"dash_board.playlist"):(e==null?null:e.courseType)=="COHORT"?"Cohort":f(13,18,"dash_board.course")," "),r(3),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x(" ",e.courseName," "),r(2),_("appEllipsisTooltip",f(19,20,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(4),x("",e.courseCompletion,"%"),r(2),K("width",e.courseCompletion+"%"),I("aria-valuenow",e.courseCompletion||0)("aria-label",(e.courseCompletion||0)+"% complete"),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Mr(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expireTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function Br(i,t){if(i&1&&(a(0,"div",243)(1,"div",179)(2,"span",229),d(3),s()(),a(4,"div",159),C(5,"div",160),s()()),i&2){let e=l().$implicit;r(3),x("",e.scormCompletionPercentage,"%"),r(2),K("width",e.scormCompletionPercentage+"%"),I("aria-valuenow",e.scormCompletionPercentage||0)("aria-label",(e.scormCompletionPercentage||0)+"% complete")}}function Dr(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Ar(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"scorm",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.courseId,"scorm",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="scorm"),r(3),x("+",e.tags.length-3)}}function Vr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,Dr,5,2,"ng-container",106)(4,Ar,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Fr(i,t){i&1&&C(0,"div",234)}function Lr(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",214)(2,"div",215),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledScorm(o==null?null:o.packageId,o==null?null:o.id))}),a(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",219),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledScorm(o==null?null:o.packageId,o==null?null:o.id))}),a(7,"div",220)(8,"div",221)(9,"p",241),d(10),m(11,"transloco"),s()(),v(12,Mr,5,8,"div",224),s(),a(13,"h5",225),d(14),s(),a(15,"div",226)(16,"p",227),m(17,"stripHtml"),d(18),s()(),v(19,Br,6,5,"div",242),s()(),v(20,Vr,5,3,"ng-container",62)(21,Fr,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(22),o=l(5);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(6),x(" ",f(11,10,"dash_board.scorm")," "),r(2),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expireTime&&e.expireTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.title),r(),x(" ",e.title," "),r(2),_("appEllipsisTooltip",f(17,12,e.description)),r(2),x(" ",e.de
1scription," "),r(),_("ngIf",e.scormCompletionPercentage!==null&&e.scormCompletionPercentage!==void 0),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Ur(i,t){i&1&&(a(0,"div",265),C(1,"i",266)(2,"span",267)(3,"i",268),s())}function Nr(i,t){i&1&&(a(0,"div",269),C(1,"i",266),s())}function Rr(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),x(" \u2022 ",e.tz)}}function zr(i,t){if(i&1&&(a(0,"div",263),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.endDate||e.startDate," ",e.endTime," ")}}function $r(i,t){if(i&1&&(a(0,"div",257)(1,"div",258),C(2,"i",259),v(3,Ur,4,0,"div",260)(4,Nr,2,0,"div",261),a(5,"div",262)(6,"div",263),d(7),v(8,Rr,2,1,"span",178),s(),v(9,zr,2,2,"div",264),s()()()),i&2){let e=t.$implicit;r(3),_("ngIf",e.endDate||e.endTime),r(),_("ngIf",!e.endDate&&!e.endTime),r(3),E(" ",e.startDate," ",e.startTime),r(),_("ngIf",e.tz),r(),_("ngIf",e.endDate||e.endTime)}}function jr(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",270)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Hr(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"masterclass",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.id,"masterclass",c.tags,o))}),a(1,"div",270)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="masterclass"),r(3),x("+",e.tags.length-3)}}function Wr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,jr,5,2,"ng-container",106)(4,Hr,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Yr(i,t){i&1&&C(0,"div",234)}function Qr(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",214)(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"p",253),d(7),m(8,"transloco"),s(),a(9,"h5",225),d(10),s(),v(11,$r,10,6,"div",254),a(12,"div",255)(13,"button",256),h("click",function(){let o=u(e).$implicit,c=l(5);return g(o.mettingsType==="VIRTUAL"?c.joinMeetingUrl(o.location):c.openMettingModal(o))}),d(14),m(15,"transloco"),s()()(),v(16,Wr,5,3,"ng-container",62)(17,Yr,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(18),o=l(5);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultMasterclassImage,A),r(3),x(" ",f(8,8,"dash_board.masterclass")," "),r(2),_("appEllipsisTooltip",e.title),r(),x(" ",e.title," "),r(),_("ngIf",o.getMasterclassDateInfo(e)),r(3),x(" ",f(15,10,"masterclass.joinButton")," "),r(2),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Zr(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Gr(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c==null?null:c.id,"digitaldownload",c==null?null:c.digitalDownloadtags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===(e==null?null:e.id)&&n.showAllTagsType==="digitaldownload"),r(3),x("+",(e==null?null:e.digitalDownloadtags.length)-3)}}function Jr(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,Zr,5,2,"ng-container",106)(4,Gr,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e==null?null:e.digitalDownloadtags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.digitalDownloadtags.length)>3)}}function qr(i,t){i&1&&C(0,"div",234)}function Kr(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledDigitalDownload(o==null?null:o.id,o==null?null:o.name,o==null?null:o.subscriptionId))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"p",305),d(7),m(8,"transloco"),s(),a(9,"h5",225),d(10),s(),a(11,"div",226)(12,"p",227),m(13,"stripHtml"),d(14),s()(),a(15,"div",255)(16,"button",256),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getDigitalDownloadName(o==null?null:o.name))}),d(17),m(18,"transloco"),s()()(),v(19,Jr,5,3,"ng-container",62)(20,qr,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(5);r(4),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultDigitalDownloadImage,A),r(3),x(" ",f(8,9,"dash_board.digitalDownload")," "),r(2),_("appEllipsisTooltip",e==null?null:e.name),r(),x(" ",e==null?null:e.name," "),r(2),_("appEllipsisTooltip",f(13,11,e==null?null:e.description)),r(2),x(" ",e==null?null:e.description," "),r(3),x(" ",f(18,13,"dash_board.viewDownloads")," "),r(2),_("ngIf",e==null||e.digitalDownloadtags==null?null:e.digitalDownloadtags.length)("ngIfElse",n)}}function Xr(i,t){if(i&1&&(a(0,"div",231)(1,"p",232),d(2),m(3,"transloco"),m(4,"date"),s()()),i&2){let e=l().$implicit;r(2),E(" ",f(3,2,"dash_board.expiresOn")," : ",V(4,4,e.expireTime*1e3,"dd-MMM-yyyy","UTC")," ")}}function ea(i,t){if(i&1&&(w(0),a(1,"div",236)(2,"div",237)(3,"p",238),d(4),s()()(),P()),i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function ta(i,t){if(i&1){let e=b();a(0,"div",239),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productbundle",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.id,"productbundle",c.tags,o))}),a(1,"div",237)(2,"p",240),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="productbundle"),r(3),x("+",e.tags.length-3)}}function na(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,ea,5,2,"ng-container",106)(4,ta,4,2,"div",235),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function ia(i,t){i&1&&C(0,"div",234)}function oa(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledProductBundle(o.id,o.productType,o.expireTime))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div",220)(7,"p",305),d(8),m(9,"transloco"),s(),v(10,Xr,5,8,"div",224),s(),a(11,"h5",225),d(12),s(),a(13,"div",226)(14,"p",306),m(15,"stripHtml"),d(16),s()(),a(17,"div",255)(18,"button",256),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.getEnrolledProductBundle(o.id,o.productType,o.expireTime))}),d(19),m(20,"transloco"),s()()(),v(21,na,5,3,"ng-container",62)(22,ia,1,0,"ng-template",null,16,M),s()()}if(i&2){let e=t.$implicit,n=S(23),o=l(5);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultProductBundleImage,A),r(4),x(" ",f(9,11,"dash_board.productbundle")," "),r(2),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showExpiryDate)&&e.expireTime&&e.expireTime!=0),r(),_("appEllipsisTooltip",e.name),r(),x(" ",e.name," "),r(2),_("appEllipsisTooltip",f(15,13,e.description))("innerHTML",e.description,dt),r(2),x(" ",e.de
1scription," "),r(3),x(" ",f(20,15,"dash_board.productbundleAccess")," "),r(2),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function ra(i,t){if(i&1&&(a(0,"div",279)(1,"div",280)(2,"span",281),d(3),m(4,"date"),s(),a(5,"span",282),d(6),m(7,"date"),s()(),a(8,"div",283)(9,"p",284),d(10),m(11,"date"),s(),a(12,"p",285),d(13),s()()()),i&2){let e=l().$implicit,n=l(5);r(3),y(z(4,5,e.nextSessionUtcMillis,"MMM")),r(3),y(z(7,8,e.nextSessionUtcMillis,"d")),r(4),y(z(11,11,e.nextSessionUtcMillis,"EEE, h:mm a")),r(3),E("",n.coachingMeetingLabel(e)," \xB7 ",n.browserTimezone)}}function aa(i,t){if(i&1&&(a(0,"div",287)(1,"span",288),C(2,"i",289),s(),a(3,"span",283)(4,"b",290),d(5,"All sessions completed"),s(),a(6,"small",291),d(7),s()()()),i&2){let e=l(2).$implicit;r(7),E("",e.sessionsTotal," of ",e.sessionsTotal," sessions done")}}function la(i,t){if(i&1&&(a(0,"div",293)(1,"span",288),C(2,"i",294),s(),a(3,"span",283)(4,"b",290),d(5),s(),a(6,"small",291),d(7,"No upcoming session booked"),s()()()),i&2){let e=l(3).$implicit;r(5),E("",e.sessionsCompleted," of ",e.sessionsTotal," sessions done")}}function ca(i,t){i&1&&(a(0,"div",295)(1,"span",288),C(2,"i",296),s(),a(3,"span",283)(4,"b",290),d(5,"No session booked yet"),s(),a(6,"small",291),d(7,"Book your first session"),s()()())}function sa(i,t){if(i&1&&v(0,la,8,2,"div",292)(1,ca,8,0,"ng-template",null,22,M),i&2){let e=S(2),n=l(2).$implicit,o=l(5);_("ngIf",o.coachingInProgress(n))("ngIfElse",e)}}function _a(i,t){if(i&1&&v(0,aa,8,2,"div",286)(1,sa,3,2,"ng-template",null,21,M),i&2){let e=S(2),n=l().$implicit,o=l(5);_("ngIf",o.coachingCompleted(n))("ngIfElse",e)}}function da(i,t){if(i&1&&(a(0,"span",300),d(1),s()),i&2){let e=t.$implicit;_("title",e.tagName),r(),y(e.tagName)}}function pa(i,t){if(i&1&&(a(0,"span",301),d(1),s()),i&2){let e=l(2).$implicit;r(),x("+",e.tags.length-3)}}function ma(i,t){if(i&1&&(a(0,"div",297),v(1,da,2,2,"span",298)(2,pa,2,1,"span",299),s()),i&2){let e=l().$implicit,n=l(5);r(),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function ua(i,t){if(i&1&&(w(0),a(1,"div",237)(2,"p",238),d(3),s()(),P()),i&2){let e=t.$implicit;r(2),_("title",e.tagName),r(),y(e.tagName)}}function ga(i,t){if(i&1&&(a(0,"div",237)(1,"p",240),d(2),s()()),i&2){let e=l(2).$implicit;r(2),x("+",e.tags.length-3)}}function fa(i,t){if(i&1&&(w(0),C(1,"div",233),a(2,"div",234),v(3,ua,4,2,"ng-container",106)(4,ga,3,1,"div",315),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function va(i,t){if(i&1){let e=b();a(0,"div",251)(1,"div",271),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.openCoaching(o))}),a(2,"div",252)(3,"div",216),C(4,"img",272),s()(),a(5,"div",273)(6,"p",274),d(7,"1:1 Coaching"),s(),a(8,"h5",275),d(9),s(),v(10,ra,14,14,"div",276)(11,_a,3,2,"ng-template",null,20,M),a(13,"div",277)(14,"button",256),h("click",function(o){let c=u(e).$implicit,p=l(5);return o.stopPropagation(),g(p.openCoaching(c))}),d(15),s()()(),v(16,ma,3,3,"div",278)(17,fa,5,3,"ng-container",178),s()()}if(i&2){let e=t.$implicit,n=S(12),o=l(5);r(4),_("alt",de(e.title))("src",e.imageUrl?e.imageUrl:o.defaultCourseImage,A),r(4),_("appEllipsisTooltip",e.title),r(),y(e.title),r(),_("ngIf",e.nextSessionUtcMillis)("ngIfElse",n),r(5),y(e.nextSessionUtcMillis?"Join session":o.coachingCompleted(e)?"View sessions":"Book a session"),r(),_("ngIf",e.tags==null?null:e.tags.length),r(),_("ngIf",e.tags==null?null:e.tags.length)}}function xa(i,t){if(i&1&&(a(0,"div",312)(1,"p",313),d(2),m(3,"titlecase"),s()()),i&2){let e=l().$implicit;r(),_("ngClass",e.status=="COMPLETED"?"status_completed":"status_pending"),r(),x(" ",f(3,2,e.status)," ")}}function ha(i,t){if(i&1){let e=b();a(0,"div",307)(1,"div",303),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.showAssessmentAnsweKey(o.assessmentId,o.memberAssessmentId,o.status))}),a(2,"div",252)(3,"div",216),C(4,"img",217),s()(),a(5,"div",218)(6,"div")(7,"div",220)(8,"p",308),d(9),m(10,"transloco"),s()(),a(11,"h5",225),d(12),s(),a(13,"div",316)(14,"p",227),m(15,"stripHtml"),d(16),s()()(),C(17,"div",188),a(18,"div",179)(19,"div",309),v(20,xa,4,4,"div",310),s(),a(21,"div",311)(22,"div",179)(23,"span"),d(24),s()(),a(25,"div",159),C(26,"div",160),s()()()()()()}if(i&2){let e=t.$implicit,n=l(5);r(4),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:n.defaultImage,A),r(5),x(" ",f(10,12,"dash_board.assessment")," "),r(2),_("appEllipsisTooltip",e.assessmentTitle),r(),x(" ",e.assessmentTitle," "),r(2),_("appEllipsisTooltip",f(15,14,e.description)),r(2),x(" ",e.de
1scription," "),r(4),_("ngIf",e.status!=null&&e.status!=null&&e.status!=""),r(4),x("",e.resultPercentage,"%"),r(2),K("width",e.resultPercentage+"%"),I("aria-valuenow",e.resultPercentage||0)("aria-label",(e.resultPercentage||0)+"%")}}function Ca(i,t){if(i&1&&(a(0,"div",314)(1,"div",61),v(2,Or,30,26,"div",212),m(3,"searchFilter"),v(4,Lr,23,14,"div",250),m(5,"searchFilter"),v(6,Qr,19,12,"div",250),m(7,"searchFilter"),v(8,Kr,22,15,"div",250),m(9,"searchFilter"),v(10,oa,24,17,"div",250),m(11,"searchFilter"),v(12,va,18,10,"div",250),m(13,"searchFilter"),v(14,ha,27,16,"div",210),m(15,"searchFilter"),s()()),i&2){let e=l(4);r(2),_("ngForOf",V(3,14,e.enrolledAllTypeCourses,e.searchQuery,D(42,lt)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(5,18,e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledScorms,e.searchQuery,D(43,at)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(7,22,e.enrolledAllProducts==null||e.enrolledAllProducts.enrolledMasterclasses==null?null:e.enrolledAllProducts.enrolledMasterclasses.upcomingMasterClasses,e.searchQuery,D(44,On)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(9,26,e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledDigitalDownloads,e.searchQuery,D(45,Mn)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(11,30,e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledProductBundles,e.searchQuery,D(46,Zn)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(13,34,e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledCoachings,e.searchQuery,D(47,at)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(15,38,e.enrolledAssessment,e.searchQuery,D(48,kn)))("ngForTrackBy",e.trackByItem)}}function ba(i,t){if(i&1&&(a(0,"div",208),v(1,co,2,2,"div",209)(2,xo,2,2,"div",209)(3,Eo,2,2,"div",209)(4,Fo,2,2,"div",209)(5,Zo,2,2,"div",209)(6,ar,2,2,"div",209)(7,mr,2,2,"div",209)(8,br,2,2,"div",209)(9,wr,27,16,"div",210),m(10,"searchFilter"),v(11,Ca,16,49,"div",211),s()),i&2){let e=l(3);r(),_("ngIf",e.activeTab==="courses"),r(),_("ngIf",e.activeTab==="scorms"),r(),_("ngIf",e.activeTab==="playlists"),r(),_("ngIf",e.activeTab==="cohorts"),r(),_("ngIf",e.activeTab==="masterclass"),r(),_("ngIf",e.activeTab==="coachings"),r(),_("ngIf",e.activeTab==="digitalDownload"),r(),_("ngIf",e.activeTab==="productBundle"),r(),_("ngForOf",V(10,11,e.enrolledA
1ssessment,e.searchQuery,D(15,kn)))("ngForTrackBy",e.trackByItem),r(2),_("ngIf",e.activeTab==="all"&&e.viewMode==="grid")}}function ya(i,t){if(i&1&&(w(0),a(1,"div",125),v(2,di,7,8,"button",126)(3,pi,7,8,"button",126)(4,mi,6,6,"button",126)(5,ui,7,8,"button",126)(6,gi,7,8,"button",126)(7,fi,7,8,"button",126)(8,vi,7,8,"button",126)(9,xi,5,3,"button",126)(10,hi,7,8,"button",126),s(),v(11,Di,4,3,"div",127)(12,Xi,2,1,"div",128)(13,ba,12,16,"div",129),P()),i&2){let e=l(2);r(2),_("ngIf",e.enrolledCourses.length>0||e.hasAppliedFilters&&e.appliedFilterType==="courses"),r(),_("ngIf",e.enrolledPlaylists.length>0||e.hasAppliedFilters&&e.appliedFilterType==="playlists"),r(),_("ngIf",e.enrolledCohorts.length>0||e.hasAppliedFilters&&e.appliedFilterType==="cohorts"),r(),_("ngIf",(e.enrolledAllProducts==null||e.enrolledAllProducts.enrolledMasterclasses==null?null:e.enrolledAllProducts.enrolledMasterclasses.upcomingMasterClasses.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="masterclass"),r(),_("ngIf",(e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledDigitalDownloads.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="digitalDownload"),r(),_("ngIf",(e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledProductBundles.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="productBundle"),r(),_("ngIf",(e.enrolledAllProducts==null?null:e.enrolledAllProducts.enrolledScorms.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="scorm"),r(),_("ngIf",(e.productsCount==null||e.productsCount.coachings==null?null:e.productsCount.coachings.length)>0),r(),_("ngIf",(e.productsCount==null||e.productsCount.all==null?null:e.productsCount.all.length)>0),r(),_("ngIf",e.viewMode==="list"),r(),_("ngIf",e.viewMode==="grid"),r(),_("ngIf",e.viewMode==="grid")}}function wa(i,t){i&1&&(a(0,"div",317)(1,"div",318),C(2,"img",319),a(3,"p",320),d(4),m(5,"transloco"),s(),a(6,"button",321),d(7),m(8,"transloco"),s()()()),i&2&&(r(4),x(" ",f(5,3,"dash_board.emptyEnrolled")," "),r(2),_("routerLink",D(7,Bn)),r(),x(" ",f(8,5,"dash_board.exploreProducts")," "))}function Pa(i,t){i&1&&(a(0,"div",317)(1,"div",318),C(2,"img",319),a(3,"p",320),d(4),m(5,"transloco"),s(),a(6,"button",321),d(7),m(8,"transloco"),s()()()),i&2&&(r(4),x(" ",f(5,3,"dash_board.emptyEnrolled")," "),r(2),_("routerLink",D(7,Bn)),r(),x(" ",f(8,5,"dash_board.exploreProducts")," "))}function Ta(i,t){if(i&1&&v(0,Pa,9,8,"div",322),i&2){let e=l(2);_("ngIf",e.showNoCoursesProducts)}}function Ia(i,t){if(i&1&&v(0,ya,14,12,"ng-container",62)(1,wa,9,8,"ng-template",null,8,M)(3,Ta,1,1,"ng-template",null,9,M),i&2){let e=S(2),n=l();_("ngIf",n.enrolledAllProducts&&((n.enrolledCourses==null?null:n.enrolledCourses.length)>0||(n.enrolledAllProducts==null||n.enrolledAllProducts.enrolledScorms==null?null:n.enrolledAllProducts.enrolledScorms.length)>0||(n.enrolledAllProducts==null||n.enrolledAllProducts.enrolledDigitalDownloads==null?null:n.enrolledAllProducts.enrolledDigitalDownloads.length)>0||(n.enrolledAllProducts==null||n.enrolledAllProducts.enrolledMasterclasses==null||n.enrolledAllProducts.enrolledMasterclasses.upcomingMasterClasses==null?null:n.enrolledAllProducts.enrolledMasterclasses.upcomingMasterClasses.length)>0||(n.enrolledAllProducts==null||n.enrolledAllProducts.enrolledProductBundles==null?null:n.enrolledAllProducts.enrolledProductBundles.length)>0||(n.enrolledAllProducts==null||n.enrolledAllProducts.enrolledCoachings==null?null:n.enrolledAllProducts.enrolledCoachings.length)>0||(n.enrolledPlaylists==null?null:n.enrolledPlaylists.length)>0||(n.enrolledCohorts==null?null:n.enrolledCohorts.length)>0))("ngIfElse",e)}}function Ea(i,t){if(i&1&&(a(0,"div",326)(1,"p",327),d(2),s()()),i&2){let e=t.$implicit;r(),_("title",de(e.tagName)),r(),x(" ",e.tagName," ")}}function Sa(i,t){if(i&1&&(a(0,"div",323)(1,"div",61)(2,"div",324),v(3,Ea,3,3,"div",325),s()()()),i&2){let e=l();r(3),_("ngForOf",e.tagsList)("ngForTrackBy",e.trackByItem)}}function ka(i,t){if(i&1){let e=b();a(0,"div",330)(1,"div",331)(2,"span",332),C(3,"i",333),d(4),m(5,"transloco"),s(),a(6,"button",334),h("click",function(){u(e);let o=l(2);return g(o.copyToClipboard(o.zoomMettingObj.zoomMeetingUrl,"zoomUrl"))}
1),C(7,"i",335),a(8,"span"),d(9),m(10,"transloco"),m(11,"transloco"),s()()(),a(12,"a",336),d(13),s()()}if(i&2){let e=l(2);r(4),x(" ",f(5,11,"masterclass.meetingLink")," "),r(2),k("is-copied",e.copiedField==="zoomUrl"),I("aria-label",e.copiedField==="zoomUrl"?"Link copied":"Copy meeting link"),r(),k("fa-copy",e.copiedField!=="zoomUrl")("fa-check",e.copiedField==="zoomUrl"),r(2),y(e.copiedField==="zoomUrl"?f(10,13,"masterclass.copied"):f(11,15,"masterclass.copy")),r(3),_("href",e.zoomMettingObj.zoomMeetingUrl,A),r(),x(" ",e.zoomMettingObj.zoomMeetingUrl," ")}}function Oa(i,t){if(i&1){let e=b();a(0,"div",339)(1,"div",331)(2,"span",332),C(3,"i",340),d(4),m(5,"transloco"),s(),a(6,"button",341),h("click",function(){u(e);let o=l(3);return g(o.copyToClipboard(o.zoomMettingObj.meetingId,"zoomId"))}),C(7,"i",335),s()(),a(8,"span",342),d(9),s()()}if(i&2){let e=l(3);r(4),x(" ",f(5,9,"masterclass.meetingId")," "),r(2),k("is-copied",e.copiedField==="zoomId"),I("aria-label",e.copiedField==="zoomId"?"Meeting ID copied":"Copy meeting ID"),r(),k("fa-copy",e.copiedField!=="zoomId")("fa-check",e.copiedField==="zoomId"),r(2),y(e.zoomMettingObj.meetingId)}}function Ma(i,t){if(i&1){let e=b();a(0,"div",339)(1,"div",331)(2,"span",332),C(3,"i",343),d(4),m(5,"transloco"),s(),a(6,"button",341),h("click",function(){u(e);let o=l(3);return g(o.copyToClipboard(o.zoomMettingObj.passCode,"zoomPass"))}),C(7,"i",335),s()(),a(8,"span",342),d(9),s()()}if(i&2){let e=l(3);r(4),x(" ",f(5,9,"masterclass.password")," "),r(2),k("is-copied",e.copiedField==="zoomPass"),I("aria-label",e.copiedField==="zoomPass"?"Password copied":"Copy password"),r(),k("fa-copy",e.copiedField!=="zoomPass")("fa-check",e.copiedField==="zoomPass"),r(2),y(e.zoomMettingObj.passCode)}}function Ba(i,t){if(i&1&&(a(0,"div",337),v(1,Oa,10,11,"div",338)(2,Ma,10,11,"div",338),s()),i&2){let e=l(2);r(),_("ngIf",e.zoomMettingObj==null?null:e.zoomMettingObj.meetingId),r(),_("ngIf",e.zoomMettingObj==null?null:e.zoomMettingObj.passCode)}}function Da(i,t){if(i&1&&(w(0),v(1,ka,14,17,"div",328)(2,Ba,3,2,"div",329),P()),i&2){let e=l();r(),_("ngIf",e.zoomMettingObj==null?null:e.zoomMettingObj.zoomMeetingUrl),r(),_("ngIf",(e.zoomMettingObj==null?null:e.zoomMettingObj.meetingId)||(e.zoomMettingObj==null?null:e.zoomMettingObj.passCode))}}function Aa(i,t){i&1&&(a(0,"div",344)(1,"div",345),C(2,"i",346),s(),a(3,"h3",347),d(4),m(5,"transloco"),s(),a(6,"p",348),d(7),m(8,"transloco"),s()()),i&2&&(r(4),y(f(5,2,"masterclass.meetingDetailsNotReady")),r(3),x(" ",f(8,4,"masterclass.meetingDetailsNotReadyText")," "))}function Va(i,t){if(i&1){let e=b();a(0,"div",349)(1,"button",350),d(2),m(3,"transloco"),s(),a(4,"button",351),h("click",function(){u(e);let o=l();return g(o.joinMeetingUrl(o.zoomMettingObj.zoomMeetingUrl))}),d(5),m(6,"transloco"),C(7,"i",352),s()()}i&2&&(r(2),y(f(3,2,"masterclass.cancel")),r(3),x(" ",f(6,4,"masterclass.joinButton")," "))}function Fa(i,t){if(i&1&&(a(0,"div",330)(1,"div",331)(2,"span",332),C(3,"i",354),d(4),m(5,"transloco"),s()(),a(6,"p",355),d(7),s()()),i&2){let e=l(2);r(4),x(" ",f(5,2,"masterclass.additionalInformation")," "),r(3),y(e.locationAdditionalInformation)}}function La(i,t){if(i&1){let e=b();w(0),a(1,"div",330)(2,"div",331)(3,"span",332),C(4,"i",353),d(5),m(6,"transloco"),s(),a(7,"button",334),h("click",function(){u(e);let o=l();return g(o.copyToClipboard(o.masterclassOfflineLocationLink,"loc"))}),C(8,"i",335),a(9,"span"),d(10),m(11,"transloco"),m(12,"transloco"),s()()(),a(13,"a",336),d(14),s()(),v(15,Fa,8,4,"div",328),P()}if(i&2){let e=l();r(5),x(" ",f(6,12,"masterclass.location")," "),r(2),k("is-copied",e.copiedField==="loc"),I("aria-label",e.copiedField==="loc"?"Location copied":"Copy location"),r(),k("fa-copy",e.copiedField!=="loc")("fa-check",e.copiedField==="loc"),r(2),y(e.copiedField==="loc"?f(11,14,"masterclass.copied"):f(12,16,"masterclass.copy")),r(3),_("href",e.masterclassOfflineLocationLink,A),r(),x(" ",e.masterclassOfflineLocationLink," "),r(),_("ngIf",e.locationAdditionalInformation)}}function Ua(i,t){i&1&&(a(0,"div",344)(1,"div",345),C(2,"i",356),s(),a(3,"h3",347),d(4),m(5,"transloco"),s(),a(6,"p",348),d(7),m(8,"transloco"),s()()),i&2&&(r(4),y(f(5,2,"masterclass.locationNotShared")),r(3),x(" ",f(8,4,"masterclass.locationNotSharedText")," "))}function Na(i,t){if(i&1){let e=b();a(0,"div",349)(1,"button",350),d(2),m(3,"transloco"),s(),a(4,"button",351),h("click",function(){u(e);let o=l();return g(o.joinMeetingUrl(o.masterclassOfflineLocationLink))}),d(5),m(6,"transloco"),C(7,"i",357),s()()}i&2&&(r(2),y(f(3,2,"dash_board.close")),r(3),x(" ",f(6,4,"dash_board.openInMaps")," "))}function Ra(i,t){if(i&1&&(a(0,"div",358)(1,"div",359),C(2,"app-answer-key",360),s()()),i&2){let e=l();r(2),_("assessmentId",e.assessmentId)("memberAssessmentStatus",e.memberAssessmentStatus)("showResultWithAnswer",e.showResultKey)("showResultsScreen",e.showResultsScreen)("memberAssessmentId",e.memberAssessmentId)}}function za(i,t){if(i&1){let e=b();a(0,"div",368),h("dblclick",function(){let o=u(e).$implicit,c=l(2);
1return g(c.filterByTagFromPopover(o))}),a(1,"p",238),d(2),s()()}if(i&2){let e=t.$implicit;_("title",e.tagName),r(),_("title",e.tagName),r(),y(e.tagName)}}function $a(i,t){if(i&1){let e=b();a(0,"div",361),h("click",function(){u(e);let o=l();return g(o.closeAllTags())}),a(1,"div",362),m(2,"transloco"),h("click",function(o){return o.stopPropagation()}),a(3,"div",363)(4,"h6",364),d(5),m(6,"transloco"),s(),a(7,"button",365),m(8,"transloco"),h("click",function(){u(e);let o=l();return g(o.closeAllTags())}),C(9,"i",47),s()(),a(10,"div",366),v(11,za,3,3,"div",367),s()()()}if(i&2){let e=l();r(),I("aria-label",f(2,5,"dash_board.allTags")),r(4),y(f(6,7,"dash_board.allTags")),r(2),I("aria-label",f(8,9,"dash_board.close")),r(4),_("ngForOf",e.popoverTags)("ngForTrackBy",e.trackByItem)}}var me=class i{constructor(t,e,n,o,c,p,T,O,H,W,Z,j){this.courseService=t;this.customTextService=e;this.masterclassService=n;this.swalService=o;this.digitalDownloadService=c;this.courseTagService=p;this.router=T;this.cacheService=O;this.activatedRoute=H;this.location=W;this.transloco=Z;this.memberPreferencesService=j;this.userId=localStorage.getItem("cid")}courseService;customTextService;masterclassService;swalService;digitalDownloadService;courseTagService;router;cacheService;activatedRoute;location;transloco;memberPreferencesService;trackByItem=(t,e)=>e?.id??e?.code??e?.uuid??t;userId;courseloading=!0;allloading=!0;assessmentloading=!0;masterclassLoading=!0;enrolledCourses=[];enrolledScorms=[];enrolledAllTypeCourses=[];enrolledPlaylists=[];enrolledCohorts=[];enrolledDigitalDownloads=[];enrolledProductBundles=[];masterclassList;zoomMettingObj;masterclassFutureList=[];masterclassPastList=[];enrolledAssessment=[];showResultKey=!0;enrolledAllProducts;digitalDownloadList=[];digitalDownloadName;defaultImage="https://web-cdn.freshlearn.com/website/course-default-image.jpeg";defaultCourseImage="https://web-cdn.freshlearn.com/website/Course-thumbnails.png";defaultMasterclassImage="https://web-cdn.freshlearn.com/website/masterclass-thumbnails.png";defaultPlaylistImage="https://web-cdn.freshlearn.com/website/playlist-thumbnails.png";defaultCohortImage="https://web-cdn.freshlearn.com/website/cohort-thumbnails.png";defaultDigitalDownloadImage="https://web-cdn.freshlearn.com/website/Digital-download-thumbnails.png";defaultProductBundleImage="https://web-cdn.freshlearn.com/website/productbundle-thumbnails.png";tagsList=[];showResultsScreen=!1;assessmentId;memberAssessmentStatus;memberAssessmentId;masterclassOfflineLocationLink="";locationAdditionalInformation="";productsCount={courses:[],productBundle:[],digitalDownloads:[],masterClasses:[],playLists:[],cohorts:[],scorms:[],coachings:[],all:[]};activeTab="courses";filteredProducts=[];allTagList=[];tagCourseIds=[];tagScormIds=[];tagMasterclassIds=[];tagPlaylistIds=[];tagCohortIds=[];tagDigitalDownloadIds=[];tagProductBundleIds=[];myOptionsCourses=[];myOptionsMasterclass=[];myOptionsDigitalDownload=[];myOptionsProductBundle=[];myOptionsScorm=[];myTextsCourses={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsMasterclass={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsDigitalDownload={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsProductBundle={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsScorm={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};mySettings={enableSearch:!0,checkedStyle:"checkboxes",buttonClasse
1s:"btn btn-default btn-block text-left drop-toogle",dynamicTitleMaxItems:0,displayAllSelectedText:!0,containerClasses:"container-class w-100",itemClasses:"item-class",selectAddedValues:!0,loadViewDistance:1,showCheckAll:!0,showUncheckAll:!0,maxHeight:"500px",closeOnClickOutside:!0};searchQuery="";static VIEW_MODE_KEY="enrolledProductsViewMode";_viewMode=localStorage.getItem(i.VIEW_MODE_KEY)||"grid";get viewMode(){return this._viewMode}set viewMode(t){this._viewMode=t;try{localStorage.setItem(i.VIEW_MODE_KEY,t)}catch(e){}this.memberPreferencesService?.updatePreferences({enrolledProductsLayout:t==="list"?"list":"card"})}currentPage=1;pageSize=10;pageSizeOptions=[10,25,50];filterDrawerOpen=!1;tagSearchQuery="";draftTagIds=[];filtericon=!1;filtericonCourses=!1;filtericonMasterclass=!1;showFilters=!0;filters=!1;showNoProducts=!1;hasAppliedFilters=!1;appliedFilterType="";showNoCoursesProducts=!1;showNoScormsProducts=!1;showNoMasterclassProducts=!1;showNoCoachingProducts=!1;showNoDigitalDownloadProducts=!1;showNoProductBundleProducts=!1;combinedProducts=[];languageId;showAllTagsId=null;showAllTagsType=null;popoverTop=0;popoverLeft=0;popoverTags=[];popoverFilterType="";lastTriggerEl=null;tagFilterTypeMap={courses:"courses",scorm:"scorms",playlist:"cohorts",cohort:"cohorts",masterclass:"masterclass",digitaldownload:"digitalDownload",productbundle:"productBundle"};positionPopoverFor(t){let e=t.getBoundingClientRect(),n=250,o=240,c=4,p=e.left+n-window.innerWidth+8;this.popoverLeft=p>0?e.left-p:e.left,window.innerHeight-e.bottom<o+c&&e.top>o+c?this.popoverTop=e.top-o-c:this.popoverTop=e.bottom+c}toggleAllTags(t,e,n,o,c){o&&(o.stopPropagation(),o.type==="keydown"&&o.preventDefault());let p=this.showAllTagsId===t&&this.showAllTagsType===e;!p&&o&&o.currentTarget&&(this.lastTriggerEl=o.currentTarget,this.positionPopoverFor(this.lastTriggerEl),this.popoverTags=n||[],this.popoverFilterType=c||this.tagFilterTypeMap[e]||e),this.showAllTagsId=p?null:t,this.showAllTagsType=p?null:e,p&&(this.popoverTags=[],this.popoverFilterType="",this.restoreFocus())}hoverAllTags(t,e,n,o,c){}closeAllTags(){(this.showAllTagsId!==null||this.showAllTagsType!==null)&&(this.showAllTagsId=null,this.showAllTagsType=null,this.popoverTags=[],this.popoverFilterType="",this.restoreFocus())}filterByTagFromPopover(t){this.popoverFilterType&&(this.filterByTag(t,this.popoverFilterType),this.closeAllTags())}restoreFocus(){this.lastTriggerEl&&typeof this.lastTriggerEl.focus=="function"&&this.lastTriggerEl.focus(),this.lastTriggerEl=null}onDocumentClickClosePopover(t){let e=t.target;e&&(e.closest('[aria-controls="tagPopover"]')||e.closest("#tagPopover"))||this.closeAllTags()}onEscapeClosePopover(){this.closeAllTags()}domainSettingsOtherDTO;ngOnDestroy(){window.removeEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler)}otherProductsCacheClearedHandler=()=>{this.getAllEnrolledProducts()};ngOnInit(){window.addEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler),this.activatedRoute.queryParams.subscribe(e=>{e.activeTab&&(this.activeTab=e.activeTab)}),this.zoomMettingObj={zoomMeetingUrl:"",passCode:"",meetingId:""};var t=this;t.languageId=sessionStorage.getItem("languageId"),t.tagsCustomeTextChange(),t.getAllEnrolledProducts(),t.showOthersSetting()}getDate(t){let e=new Date(t*1e3),n={day:"2-digit",month:"short",year:"numeric"};return e.toLocaleString("en-US",n)}getEventTime(t){let e=new Date(t*1e3),n={hour:"2-digit",minute:"2-digit",hour12:!0};return e.toLocaleString("en-US",n).split(",")[0].replace(" ","")}getLocalTimeZone(){return new Date().toTimeString().slice(9,17).replace(/(.{2})$/,":$1")}getMasterclassDateLabel(t){if(!t?.eventDate)return"";let e=Number(t.eventDate);if(!e)return"";let n=this.getDate(e),o=this.getEventTime(e),c=`${n} ${o}`.trim(),p=this.getLocalTimeZone()||"",T=null;if(t?.eventEndDate&&Number(t.eventEndDate)>0)T=Number(t.eventEndDate);else if(t?.utcEventEndDate){let O=Date.parse(t.utcEventEndDate);!isNaN(O)&&O>0&&(T=Math.floor(O/1e3))}if(T&&T>e){let O=this.getDate(T),H=this.getEventTime(T);return n===O?`${n} ${o}${p?" \u2022 "+p:""}<br>${H}`.trim():`${c}${p?" \u2022 "+p:""}<br>${O} ${H}`.trim()}if(t?.eventEndTime){let O=t.eventEndTime.trim().toUpperCase();return`${n} ${o} \u2013 ${O}${p?"<br>\u2022 "+p:""}`.trim()}return`${c}${p?"<br>\u2022 "+p:""}`.trim()}getMasterclassDateInfo(t){if(!t?.eventDate)return null;let e=Number(t.eventDate);if(!e)return null;let n=this.getDate(e),o=this.getEventTime(e),c=this.getLocalTimeZone()||"",p=null;if(t?.eventEndDate&&Number(t.eventEndDate)>0)p=Number(t.eventEndDate);else if(t?.utcEventEndDate){let T=Date.parse(t.utcEventEndDate);!isNaN(T)&&T>0&&(p=Math.floor(T/1e3))}if(p&&p>e){let T=this.getDate(p),O=this.getEventTime(p);return{startDate:n,startTime:o,endDate:T,endTime:O,tz:c}}if(t?.eventEndTime){let T=t.eventEndTime.trim().toUpperCase();return{startDate:n,startTime:o,endDate:n,endTime:T,tz:c}}return{startDate:n,startTime:o,tz:c}}showOthersSetting(){var t=this;let e=JSON.parse(localStorage.getItem("domainSettingsOtherDTO")||"null");e!=null?t.domainSettingsOtherDTO=e:t.customTextService.getOtherSettings(function(n){n!=null&&(t.domainSettingsOtherDTO=n,localStorage.setItem("domainSettingsOtherDTO",JSON.stringify(t.domainSettingsOtherDTO)))})}tagsCustomeTextChange(){var t=this;let e=t.transloco.translate("dash_board.selectAll"),n=t.transloco.translate("dash_board.tagSelected"),o=t.transloco.translate("dash_board.selectTags"),c=t.transloco.translate("dash_board.allSelected");t.myTextsCourses.checkAll=e,t.myTextsCourses.checked=n,t.myTextsCourses.checkedPlural=n,t.myTextsCourses.defaultTitle=o,t.myTextsCourses.allSelected=c,t.myTextsMasterclass.checkAll=e,t.myTextsMasterclass.checked=n,t.myTextsMasterclass.checkedPlural=n,t.myTextsMasterclass.defaultTitle=o,t.myTextsMasterclass.allSelected=c}getAllEnrolledProducts(){var t=this;t.courseService.getAllEnrolledProducts(t.userId,function(e){e=="error"||e.status==0||e.status>400?(t.swalService.showAlertToast(t.transloco.translate("alertmessages.somethingWentWrong"),pe.ERROR,!1,3e3,!1),t.allloading=!1):(t.enrolledAllProducts=e,t.enrolledAllTypeCourses=e.enrolledCourses,t.enrolledCourses=e.enrolledCourses.filter(n=>n.courseType==="COURSE"),t.enrolledPlaylists=e.enrolledCourses.filter(n=>n.courseType==="PLAYLIST"),t.enrolledCohorts=e.enrolledCourses.filter(n=>n.courseType==="COHORT"),t.enrolledDigitalDownloads=e.enrolledDigitalDownloads.filter(n=>n.courseType==="DIGITALDOWNLOAD"),t.enrolledProductBundles=e.enrolledProductBundles.filter(n=>n.courseType==="productBundle"),t.enrolledAllProducts&&(t.productsCount.courses=t.enrolledCourses||[],t.productsCount.playLists=t.enrolledPlaylists||[],t.productsCount.cohorts=t.enrolledCohorts||[],t.productsCount.productBundle=t.enrolledAllProducts.enrolledProductBundles||[],t.productsCount.digitalDownloads=t.enrolledAllProducts.enrolledDigitalDownloads||[],t.productsCount.masterClasses=t.enrolledAllProducts.enrolledMasterclasses?.upcomingMasterClasses||[],t.productsCount.scorms=t.enrolledAllProducts.enrolledScorms||[],t.productsCount.co
1achings=t.enrolledAllProducts.enrolledCoachings||[],t.productsCount.all=[...t.productsCount.courses,...t.productsCount.scorms,...t.productsCount.productBundle,...t.productsCount.digitalDownloads,...t.productsCount.masterClasses,...t.productsCount.playLists,...t.productsCount.cohorts,...t.productsCount.coachings],t.enrolledCourses.length>0?t.getAllCoursesTagList():t.activeTab="all",t.enrolledAllProducts.enrolledMasterclasses.upcomingMasterClasses.length>0&&t.getAllMasterclassTagList(),window.dispatchEvent(new CustomEvent("mp:counts-update",{detail:{type:"enrolled",count:t.productsCount.all.length}})),t.allloading=!1))})}coachingProgressPercent(t){return t?.sessionsTotal?Math.round(t.sessionsCompleted/t.sessionsTotal*100):0}coachingCompleted(t){return!!t?.sessionsTotal&&t.sessionsCompleted>=t.sessionsTotal}coachingInProgress(t){return t?.sessionsCompleted>0&&!this.coachingCompleted(t)}coachingMeetingLabel(t){switch(t?.meetingType){case"OFFLINE":return"In person";case"CUSTOM_LINK":return"Online";case"ZOOM":return"Zoom";default:return"Online"}}browserTimezone=(()=>{let t=Sn.tz.guess();try{return new Intl.DateTimeFormat("en-US",{timeZone:t,timeZoneName:"long"}).formatToParts(new Date).find(n=>n.type==="timeZoneName")?.value||t}catch(e){return t}})();openCoaching(t){this.router.navigate(["/coaching",t.coachingSubscriptionId],{state:{title:t.title,coachName:t.coachName,description:t.description}})}setActiveTab(t){if(this.activeTab=t,this.currentPage=1,this.resetFilters(),this.showFilters=!0,this.filters=!1,this.location.replaceState(this.location.path().split("?")[0]),!(this.hasAppliedFilters&&this.appliedFilterType===t))switch(t){case"courses":this.showNoCoursesProducts=this.productsCount?.courses?.length===0;break;case"scorms":this.showNoScormsProducts=this.productsCount?.scorms?.length===0;break;case"productBundle":this.showNoProductBundleProducts=this.productsCount?.productBundle?.length===0;var e=this;e.enrolledAllProducts.enrolledProductBundles.length>0&&e.getAllProductBundleTagList();break;case"masterclass":this.showNoMasterclassProducts=this.productsCount?.masterClasses?.length===0;break;case"coachings":this.showNoCoachingProducts=this.productsCount?.coachings?.length===0;break;case"digitalDownload":this.showNoDigitalDownloadProducts=this.productsCount?.digitalDownloads?.length===0;var e=this;e.enrolledAllProducts.enrolledDigitalDownloads.length>0&&e.getAllDigitalDownloadTagList();break;case"playlists":this.showNoCoursesProducts=this.productsCount?.playLists?.length===0;break;case"cohorts":this.showNoCoursesProducts=this.productsCount?.cohorts?.length===0;break;case"all":this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.all?.length===0;break}t==="courses"&&this.tagCourseIds.length>0?(this.showFilters=!1,this.filters=!1):t==="scorms"&&this.tagScormIds.length>0?(this.showFilters=!1,this.filters=!1):t==="masterclass"&&this.tagMasterclassIds.length>0?(this.showFilters=!1,this.filters=!1):t==="playlists"&&this.tagPlaylistIds.length>0?(this.showFilters=!1,this.filters=!1):t==="cohorts"&&this.tagCohortIds.length>0?(this.showFilters=!1,this.filters=!1):t==="digitalDownload"&&this.tagDigitalDownloadIds.length>0?(this.showFilters=!1,this.filters=!1):t==="productBundle"&&this.tagProductBundleIds.length>0?(this.showFilters=!1,this.filters=!1):t==="all"&&this.clear()}getSelectedCourseTags(t){var e=this;e.tagCourseIds=t}getSelectedPlaylistTags(t){var e=this;e.tagPlaylistIds=t}getSelectedCohortTags(t){var e=this;e.tagCohortIds=t}getEnrolledCoursesByTagsFilter(){var t=this;t.courseloading=!0,t.masterclassLoading=!0,t.masterclassFutureList=[],t.digitalDownloadList=[];var e=localStorage.getItem("cid");t.hasAppliedFilters=!0,t.appliedFilterType="courses",this.activeTab=="courses"?t.courseService.enrolledCoursesByTagsFilter(e,t.tagCourseIds,function(n){n!=null&&n.length!=0?(t.courseloading=!1,t.masterclassLoading=!1,t.productsCount.courses=n.filter(o=>o.courseType==="COURSE"),t.filters=!1,t.showNoCoursesProducts=!1):(t.productsCount.courses=[],t.filters=!1,t.showNoCoursesProducts=!0)}):t.activeTab=="playlists"?t.courseService.enrolledCoursesByTagsFilter(e,t.tagPlaylistIds,function(n){n!=null&&n.length!=0?(t.courseloading=!1,t.masterclassLoading=!1,t.productsCount.playLists=n.filter(o=>o.courseType==="PLAYLIST"),t.filters=!1,t.showNoCoursesProducts=!1):(t.productsCount.playLists=[],t.filters=!1,t.showNoCoursesProducts=!0)}):t.activeTab=="cohorts"&&t.courseService.enrolledCoursesByTagsFilter(e,t.tagCohortIds,function(n){n!=null&&n.length!=0?(t.courseloading=!1,t.masterclassLoading=!1,t.productsCount.cohorts=n.filter(o=>o.courseType==="COHORT"),t.filters=!1,t.showNoCoursesProducts=!1):(t.productsCount.cohorts=[],t.filters=!1,t.showNoCoursesProducts=!0)})}getEnrolledDigitalDownloadByTagsFilter(){var t=this;t.courseloading=!0,t.masterclassLoading=!0,t.masterclassFutureList=[],t.digitalDownloadList=[];var e=localStorage.getItem("cid");t.hasAppliedFilters=!0,t.appliedFilterType="digitalDownload",t.courseService.enrolledDigitalDownloadByTagsFilter(e,t.tagDigitalDownloadIds,function(n){n!=null&&n.length!=0?(t.productsCount.digitalDownloads=n,t.showNoCoursesProducts=!1,t.showNoMasterclassProducts=!1,t.showNoDigitalDownloadProducts=!1,t.showNoProductBundleProducts=!1,t.showFilters=!1,t.filters=!1):(t.productsCount.digitalDownloads=[],t.showNoCoursesProducts=!0,t.showNoMasterclassProducts=!1,t.showNoDigitalDownloadProducts=!0,t.showNoProductBundleProducts=!1,t.showFilters=!1,t.filters=!1)})}getEnrolledMasterclassByTagsFilter(){var t=this;t.courseloading=!0,t.masterclassLoading=!0,t.masterclassFutureList=[],t.digitalDownloadList=[];var e=localStorage.getItem("cid");t.hasAppliedFilters=!0,t.appliedFilterType="masterclass",t.courseService.enrolledMaserclassByTagsFilter(e,t.tagMasterclassIds,function(n){n.upcomingMasterClasses!=null&&n.upcomingMasterClasses.length!=0?(t.productsCount.masterClasses=n.upcomingMasterClasses,t.showNoCoursesProducts=!1,t.showNoMasterclassProducts=!1,t.showFilters=!1,t.filters=!1):(t.productsCount.masterClasses=[],t.showNoCoursesProducts=!0,t.showFilters=!1,t.filters=!1)})}getEnrolledProductBundleByTagsFilter(){var t=this;t.courseloading=!0,t.masterclassLoading=!0,t.masterclassFutureList=[],t.digitalDownloadList=[];var e=localStorage.getItem("cid");t.hasAppliedFilters=!0,t.appliedFilterType="productBundle",t.courseService.enrolledProductBundleByTagsFilter(e,t.tagProductBundleIds,function(n){n!=null&&n.length!=0?(t.productsCount.productBundle=n,t.showNoCoursesProducts=!1,t.showNoMasterclassProducts=!1,t.showNoDigitalDownloadProducts=!1,t.showNoProductBundleProducts=!1,t.showFilters=!1,t.filters=!1):(t.productsCount.productBundle=[],t.showNoCoursesProducts=!0,t.showNoMasterclassProducts=!1,t.showNoProductBundleProducts=!0,t.showNoDigitalDownloadProducts=!1,t.showFilters=!1,t.filters=!1)})}resetFilters(){this.hasAppliedFilters=!1,this.appliedFilterType="",this.showNoProducts=!1}clear(){var t=this;t.filters=!1,t.showFilters=!0,t.showNoProducts=!1,t.activeTab=="courses"?(t.tagCourseIds=[],t.productsCount.courses=t.enrolledCourses):t.activeTab=="scorms"?(t.tagScormIds=[],t.productsCount.scorms=t.enrolledAllProducts.enrolledScorms,t.productsCount.co
1achings=t.enrolledAllProducts.enrolledCoachings||[]):t.activeTab=="masterclass"?(t.tagMasterclassIds=[],t.productsCount.masterClasses=t.enrolledAllProducts.enrolledMasterclasses?.upcomingMasterClasses):t.activeTab=="playlists"?(t.tagPlaylistIds=[],t.productsCount.playLists=t.enrolledPlaylists):t.activeTab=="cohorts"?(t.tagCohortIds=[],t.productsCount.cohorts=t.enrolledCohorts):t.activeTab=="digitalDownload"?(t.tagDigitalDownloadIds=[],t.productsCount.digitalDownloads=t.enrolledAllProducts.enrolledDigitalDownloads):t.activeTab=="productBundle"&&(t.tagProductBundleIds=[],t.productsCount.productBundle=t.enrolledAllProducts.enrolledProductBundles)}getEnrolledAssessmentByMemberId(){var t=this;t.courseService.getEnrolledAssessmentByMemberId(t.userId,function(e){e=="error"||e.status==0||e.status>400?(t.swalService.showAlertToast(t.transloco.translate("alertmessages.somethingWentWrong"),pe.ERROR,!1,3e3,!1),t.assessmentloading=!1):(t.assessmentloading=!1,t.enrolledAssessment=e)})}getMasterclassByMemberId(){var t=this;t.masterclassService.getMasterclassByMemberId(t.userId,function(e){e!=null&&(t.masterclassList=e,t.masterclassLoading=!1),e!=null&&e.upcomingMasterClasses.length!=0&&(t.masterclassFutureList=e.upcomingMasterClasses),e!=null&&e.pastMasterClasses.length!=0&&(t.masterclassPastList=e.pastMasterClasses)})}getAllDigitalDownloads(){var t=this;t.digitalDownloadService.getAllDigitalDownloads(t.userId,function(e){e!=null&&e.length!=0&&(t.digitalDownloadList=e)})}joinMeetingUrl(t){window.open(t,"_blank")}copiedField=null;copyTimer;copyToClipboard(t,e){if(!t)return;let n=()=>{this.copiedField=e,this.copyTimer&&clearTimeout(this.copyTimer),this.copyTimer=setTimeout(()=>{this.copiedField=null},1800)};navigator?.clipboard?.writeText?navigator.clipboard.writeText(t).then(n).catch(()=>this.legacyCopy(t,n)):this.legacyCopy(t,n)}legacyCopy(t,e){try{let n=document.createElement("textarea");n.value=t,n.setAttribute("readonly",""),n.style.position="fixed",n.style.top="-1000px",n.style.opacity="0",document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),e()}catch(n){}}getDigitalDownloadName(t){this.digitalDownloadName=t,localStorage.setItem("digitalDownloadName",this.digitalDownloadName)}getEnrolledDigitalDownload(t,e,n){this.getDigitalDownloadName(e),n!=null?sessionStorage.setItem("digitalDownloadSubscriptionId",String(n)):sessionStorage.removeItem("digitalDownloadSubscriptionId"),this.router.navigate(["/digital-download",t])}getAllTags(t){this.tagsList=t}openTagModal(){document.getElementById("openTagsModal")?.click()}ngOnChanges(){document.getElementById("openTags")?.click()}openzoomMetting(t){var e=this;e.zoomMettingObj.zoomMeetingUrl=t.zoomMeetingUrl,e.zoomMettingObj.passCode=t.passCode,e.zoomMettingObj.meetingId=t.meetingId,document.getElementById("openzoomMeetingModal")?.click()}openMettingModal(t){var e=this;t.mettingsType=="OFFLINE"?(e.masterclassOfflineLocationLink=t.location,e.locationAdditionalInformation=t.additionalInformation,document.getElementById("openOfflineMeetingModal")?.click()):t.mettingsType=="ZOOM"&&e.openzoomMetting(t)}getEnrolledCourse(t,e){var n=this;e=="PLAYLIST"?n.router.navigate(["/playlist",t]):e=="COHORT"?n.router.navigate(["/course",t]):n.router.navigate(["/course",t])}getEnrolledScorm(t,e){this.router.navigate(["/package",t||0,"scorm",e])}getEnrolledProductBundle(t,e,n){var o=this;e=="productBundle"&&o.router.navigate(["/product-bundle",t])}showAssessmentAnsweKey(t,e,n){var o=this;o.assessmentId=t,o.memberAssessmentId=e,o.memberAssessmentStatus=n,o.showResultsScreen=!0,document.getElementById("openShowAnswerModal")?.click()}closeAssessmentShowAnswerKey(t){var e=this;e.assessmentId,e.memberAssessmentId,e.memberAssessmentStatus,e.showResultsScreen=!1,document.getElementById("closeShowAnswerKey")?.click()}getSelectedMasterclassTags(t){var e=this;e.tagMasterclassIds=t}getSelectedDigitalDownloadTags(t){var e=this;e.tagDigitalDownloadIds=t}getSelectedProductBundleTags(t){var e=this;e.tagProductBundleIds=t}getSelectedScormTags(t){var e=this;e.tagScormIds=t}getEnrolledScormsByTagsFilter(t){var e=this;e.tagScormIds=t}
1getAllScormsTagList(){var t=this;t.myOptionsScorm&&t.myOptionsScorm.length>0||(t.myOptionsScorm=[])}getAllCoursesTagList(){var t=this;t.myOptionsCourses&&t.myOptionsCourses.length>0||(t.myOptionsDigitalDownload=[],t.courseTagService.getAllCourseTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsCourses.push(o)})):t.myOptionsCourses=[]}))}getAllMasterclassTagList(){var t=this;t.myOptionsMasterclass&&t.myOptionsMasterclass.length>0||(t.myOptionsMasterclass=[],t.courseTagService.getAllMasterclassTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsMasterclass.push(o)})):t.myOptionsMasterclass=[]}))}getAllDigitalDownloadTagList(){var t=this;t.myOptionsDigitalDownload&&t.myOptionsDigitalDownload.length>0||(t.myOptionsDigitalDownload=[],t.courseTagService.getAllDigitalDownloadTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsDigitalDownload.push(o)})):t.myOptionsDigitalDownload=[]}))}getAllProductBundleTagList(){var t=this;t.myOptionsProductBundle=[],!(t.myOptionsProductBundle&&t.myOptionsProductBundle.length>0)&&t.courseTagService.getAllProductBundleTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsProductBundle.push(o)})):t.myOptionsProductBundle=[]})}showCoursesTags(){this.filtericonCourses=!0,this.filtericonMasterclass=!1}openFilters(){var t=this;t.filters=!t.filters,t.showFilters=!t.showFilters,t.showNoProducts=!1}get activeTagOptions(){switch(this.activeTab){case"courses":case"playlists":case"cohorts":return this.myOptionsCourses;case"masterclass":return this.myOptionsMasterclass;case"digitalDownload":return this.myOptionsDigitalDownload;case"productBundle":return this.myOptionsProductBundle;case"scorms":return this.myOptionsScorm;default:return[]}}get filteredTagOptions(){let t=(this.tagSearchQuery||"").trim().toLowerCase(),e=this.activeTagOptions;return t?e.filter(n=>String(n.name||"").toLowerCase().includes(t)):e}getActiveSelectedRefDisplay(){return this.getActiveSelectedRef()}get tableNameHeader(){switch(this.activeTab){case"courses":return this.transloco.translate("dash_board.course");case"playlists":return this.transloco.translate("dash_board.playlist");case"cohorts":return"Cohort";case"masterclass":return this.transloco.translate("dash_board.masterclass");case"digitalDownload":return this.transloco.translate("dash_board.digitalDownload");case"productBundle":return this.transloco.translate("dash_board.productbundle");case"scorms":return this.transloco.translate("dash_board.scorm");case"all":return this.transloco.translate("dash_board.all");default:return"Product"}}get tableHasCompletion(){return["courses","playlists","cohorts","scorms"].includes(this.activeTab)}get tableRows(){let t=this.productsCount||{},e=(n,o)=>(n||[]).map(o);switch(this.activeTab){case"courses":return e(t.courses,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCourseImage,completion:n.courseCompletion,expiry:n.expiredTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(n.courseId,n.courseType)}));case"playlists":return e(t.playLists,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultPlaylistImage,completion:n.courseCompletion,expiry:n.expiredTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(n.courseId,n.courseType)}));case"cohorts":return e(t.cohorts,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCohortImage,completion:n.courseCompletion,expiry:n.expiredTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(n.courseId,n.courseType)}));case"scorms":return e(t.scorms,n=>
1({id:n.id,raw:n,name:n.title,description:n.description,image:n.imageUrl||this.defaultCourseImage,completion:n.scormCompletionPercentage,expiry:n.expireTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledScorm(n.packageId,n.id)}));case"masterclass":return e(t.masterClasses,n=>({id:n.id,raw:n,name:n.title,description:n.description,image:n.imageUrl||this.defaultMasterclassImage,completion:null,expiry:n.eventDate,fullAccess:!1,tags:n.tags||[],actionLabel:"Join",onClick:()=>n.mettingsType==="VIRTUAL"?this.joinMeetingUrl(n.location):this.openMettingModal(n)}));case"digitalDownload":return e(t.digitalDownloads,n=>({id:n.id,raw:n,name:n.name,description:n.description,image:n.imageUrl||this.defaultDigitalDownloadImage,completion:null,expiry:n.expireTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"View",onClick:()=>this.getEnrolledDigitalDownload(n.id,n.name,n.subscriptionId)}));case"productBundle":return e(t.productBundle,n=>({id:n.id,raw:n,name:n.name,description:n.description,image:n.imageUrl||this.defaultProductBundleImage,completion:null,expiry:n.expireTime,fullAccess:n.fullAccess,tags:n.tags||[],actionLabel:"Access",onClick:()=>this.getEnrolledProductBundle(n.id,n.productType,n.expireTime)}));case"all":return this.buildAllRows();default:return[]}}buildAllRows(){return(this.productsCount?.all||[]).map(e=>this.normalizeMixedItem(e)).filter(Boolean)}normalizeMixedItem(t){return t?t.courseType==="PLAYLIST"?{id:t.courseId,raw:t,name:t.courseName,description:t.courseDescription,completion:t.courseCompletion,expiry:t.expiredTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(t.courseId,t.courseType)}:t.courseType==="COHORT"?{id:t.courseId,raw:t,name:t.courseName,description:t.courseDescription,completion:t.courseCompletion,expiry:t.expiredTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(t.courseId,t.courseType)}:t.courseType==="COURSE"?{id:t.courseId,raw:t,name:t.courseName,description:t.courseDescription,completion:t.courseCompletion,expiry:t.expiredTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(t.courseId,t.courseType)}:t.courseType==="productBundle"||t.productType==="productBundle"?{id:t.id,raw:t,name:t.name,description:t.description,completion:null,expiry:t.expireTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Access",onClick:()=>this.getEnrolledProductBundle(t.id,t.productType,t.expireTime)}:t.eventDate||t.mettingsType?{id:t.id,raw:t,name:t.title,description:t.description,completion:null,expiry:t.eventDate,fullAccess:!1,tags:t.tags||[],actionLabel:"Join",onClick:()=>t.mettingsType==="VIRTUAL"?this.joinMeetingUrl(t.location):this.openMettingModal(t)}:t.packageId!==void 0?{id:t.id,raw:t,name:t.title,description:t.description,completion:t.scormCompletionPercentage,expiry:t.expireTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledScorm(t.packageId,t.id)}:t.name&&!t.courseName?{id:t.id,raw:t,name:t.name,description:t.description,completion:null,expiry:t.expireTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"View",onClick:()=>this.getEnrolledDigitalDownload(t.id,t.name,t.subscriptionId)}:{id:t.courseId||t.id,raw:t,name:t.courseName||t.title||t.name,description:t.courseDescription||t.description,completion:t.courseCompletion??null,expiry:t.expiredTime??t.expireTime,fullAccess:t.fullAccess,tags:t.tags||[],actionLabel:"Open",onClick:()=>this.getEnrolledCourse(t.courseId,t.courseType)}:null}get filteredTableRows(){let t=(this.searchQuery||"").trim().toLowerCase(),e=this.tableRows;return t?e.filter(n=>String(n.name||"").toLowerCase().includes(t)||String(n.description||"").toLowerCase().includes(t)):e}get pagedTableRows(){let t=(this.currentPage-1)*this.pageSize;return this.filteredTableRows.slice(t,t+this.pageSize)}get totalPages(){return Math.max(1,Math.ceil(this.filteredTableRows.length/this.pageSize))}get pageStartIndex(){return this.filteredTableRows.length===0?0:(this.currentPage-1)*this.pageSize+1}get pageEndIndex(){return Math.min(this.currentPage*this.pageSize,this.filteredTableRows.length)}goToPage(t){t<1||t>this.totalPages||(this.currentPage=t)}prevPage(){this.goToPage(this.currentPage-1)}nextPage(){this.goToPage(this.currentPage+1)}changePageSize(t){this.pageSize=t,this.currentPage=1}get pageNumbers(){let t=this.totalPages,e=this.currentPage;if(t<=7)return Array.from({length:t},(p,T)=>T+1);let n=[1];e>3&&n.push("\u2026");let o=Math.max(2,e-1),c=Math.min(t-1,e+1);for(let p=o;p<=c;p++)n.push(p);return e<t-2&&n.push("\u2026"),n.push(t),n}getActiveSelectedRef(){switch(this.activeTab){case"courses":return this.tagCourseIds;case"playlists":return this.tagPlaylistIds;case"cohorts":return this.tagCohortIds;case"masterclass":return this.tagMasterclassIds;case"digitalDownload":return this.tagDigitalDownloadIds;case"productBundle":return this.tagProductBundleIds;case"scorms":return this.tagScormIds;default:return[]}}get appliedFilterCount(){return this.getActiveSelectedRef()?.length||0}openFilterDrawer(){this.draftTagIds=[...this.getActiveSelectedRef()],this.tagSearchQuery="",this.filterDrawerOpen=!0,this.lockPageScroll(!0)}closeFilterDrawer(){this.filterDrawerOpen=!1,this.lockPageScroll(!1)}lockPageScroll(t){typeof document>"u"||(document.documentElement.classList.toggle("mp-scroll-locked",t),document.body.classList.toggle("mp-scroll-locked",t))}toggleDraftTag(t){this.draftTagIds.indexOf(t)===-1?this.draftTagIds=[...this.draftTagIds,t]:this.draftTagIds=this.draftTagIds.filter(n=>n!==t)}isDraftTagSelected(t){return this.draftTagIds.includes(t)}clearDraftTags(){this.draftTagIds=[]}applyDrawerFilters(){switch(this.activeTab){case"courses":this.tagCourseIds=[...this.draftTagIds],this.tagCourseIds.length?this.getEnrolledCoursesByTagsFilter():this.clear();break;case"playlists":this.tagPlaylistIds=[...this.draftTagIds],this.tagPlaylistIds.length?this.getEnrolledCoursesByTagsFilter():this.clear();break;case"cohorts":this.tagCohortIds=[...this.draftTagIds],this.tagCohortIds.length?this.getEnrolledCoursesByTagsFilter():this.clear();break;case"masterclass":this.tagMasterclassIds=[...this.draftTagIds],this.tagMasterclassIds.length?this.getEnrolledMasterclassByTagsFilter():this.clear();break;case"digitalDownload":this.tagDigitalDownloadIds=[...this.draftTagIds],this.tagDigitalDownloadIds.length?this.getEnrolledDigitalDownloadByTagsFilter():this.clear();break;case"productBundle":this.tagProductBundleIds=[...this.draftTagIds],this.tagProductBundleIds.length?this.getEnrolledProductBundleByTagsFilter():this.clear();break;case"scorms":this.tagScormIds=[...this.draftTagIds],this.tagScormIds.length||this.clear();break}this.closeFilterDrawer()}removeAppliedTag(t){let n=this.getActiveSelectedRef().filter(o=>o!==t);switch(this.activeTab){case"courses":this.tagCourseIds=n;break;case"playlists":this.tagPlaylistIds=n;break;case"cohorts":this.tagCohortIds=n;break;case"masterclass":this.tagMasterclassIds=n;break;case"digitalDownload":this.tagDigitalDownloadIds=n;break;case"productBundle":this.tagProductBundleIds=n;break;case"scorms":this.tagScormIds=n;break}n.length===0?this.clear():this.applyDrawerFiltersForActive()}applyDrawerFiltersForActive(){switch(this.activeTab){case"courses":case"playlists":case"cohorts":this.getEnrolledCoursesByTagsFilter();break;case"masterclass":this.getEnrolledMasterclassByTagsFilter();break;case"digitalDownload":this.getEnrolledDigitalDownloadByTagsFilter();break;case"productBundle":this.getEnrolledProductBundleByTagsFilter();break}}tagNameFor(t){return this.activeTagOptions.find(e=>e.id===t)?.name||String(t)}filterByTag(t,e){if(!t||!t.tagName)return;let n=t.tagName;switch(e){case"courses":this.tagCourseIds.includes(n)||(this.tagCourseIds=[...this.tagCourseIds,n]),this.activeTab!=="courses"&&this.setActiveTab("courses"),this.getEnrolledCoursesByTagsFilter();break;case"playlists":this.tagPlaylistIds.includes(n)||(this.tagPlaylistIds=[...this.tagPlaylistIds,n]),this.activeTab!=="playlists"&&this.setActiveTab("playlists"),this.getEnrolledCoursesByTagsFilter();break;case"cohorts":this.tagCohortIds.includes(n)||(this.tagCohortIds=[...this.tagCohortIds,n]),this.activeTab!=="cohorts"&&this.setActiveTab("cohorts"),this.getEnrolledCoursesByTagsFilter();break;case"scorms":this.tagScormIds.includes(n)||(this.tagScormIds=[...this.tagScormIds,n]),this.activeTab!=="scorms"&&this.setActiveTab("scorms"),this.getEnrolledScormsByTagsFilter(this.tagScormIds);break;case"masterclass":this.tagMasterclassIds.includes(n)||(this.tagMasterclassIds=[...this.tagMasterclassIds,n]),this.activeTab!=="masterclass"&&this.setActiveTab("masterclass"),this.getEnrolledMasterclassByTagsFilter();break;case"digitalDownload":this.tagDigitalDownloadIds.includes(n)||(this.tagDigitalDownloadIds=[...this.tagDigitalDownloadIds,n]),this.activeTab!=="digitalDownload"&&this.setActiveTab("digitalDownload"),this.getEnrolledDigitalDownloadByTagsFilter();break;case"productBundle":this.tagProductBundleIds.includes(n)||(this.tagProductBundleIds=[...this.tagProductBundleIds,n]),this.activeTab!=="productBundle"&&this.setActiveTab("productBundle"),this.getEnrolledProductBundleByTagsFilter();break}}static \u0275fac=function(e){return new(e||i)(B(Ee),B(Ie),B(qt),B(fe),B(Kt),B(Se),B(te),B(ot),B(Ce),B(It),B(be),B(Je))};static \u0275cmp=ee({type:i,selectors:[["app-enrolled-products"]],hostBindings:function(e,n){e&1&&h("click",function(c){return n.onDocumentClickClosePopover(c)},q)("keydown.escape",function(){return n.onEscapeClosePopover()},q)("popstate",function(c){return n.closeAssessmentShowAnswerKey(c)},Fe)},features:[ze],decls:151,vars:113,consts:[["emptyTags",""],["nocourseLoader",""],["tagsModal",""],["zoomMeetingModal",""],["zoomEmpty",""],["offlineMeetingModal",""],["offlineEmpty",""],["showAnswersModal",""],["noProduct",""],["noCoursesProduct",""],["epNoDesc",""],["dotsTpl",""],["noScormTags",""],["noMasterclassTags",""],["noDigitalDownloadTags",""],["noProductBundleTags",""],["noTags",""],["noSession",""],["midOrEmpty",""],["neverBooked",""],["noSessionAll",""],["midOrEmptyAll",""],["neverBookedAll",""],["id","enrolled-products","role","tabpanel",1,"tab-pane","fade","in","active","show","ep-page"],[1,"ep-toolbar"],[1,"ep-toolbar__left"],[1,"ep-toolbar__title"],[1,"ep-title"],[1,"ep-title__count"],[1,"ep-search"],[1,"fa-light","fa-magnifying-glass","ep-search__icon"],["type","text",1,"ep-search__input",3,"ngModelChange","placeholder","ngModel"],["type","button","class","ep-search__clear",3,"click",4,"ngIf"],[1,"ep-toolbar__right"],["type","button","class","ep-filter-btn",3,"has-active","click",4,"ngIf"],["role","group",1,"ep-view-toggle"],["type","button",1,"ep-view-toggle__btn",3,"click"],[1,"fa-light","fa-grid-2"],[1,"fa-light","fa-list"],["class","ep-applied",4,"ngIf"],[1,"ep-drawer-backdrop",3,"click"],[1,"ep-drawer"],[1,"ep-drawer__header"],[1,"ep-drawer__title"],[1,"fa-light","fa-sliders"],[1,"ep-drawer__count"],["type","button",1,"ep-drawer__close",3,"click"],[1,"fa-light","fa-xmark"],[1,"ep-drawer__body"],[1,"ep-drawer__section"],[1,"ep-drawer__section-title"],[1,"ep-drawer__search"],[1,"fa-light","fa-magnifying-glass"],["type","text",3,"ngModelChange","placeholder","ngModel"],["type","button","class","ep-drawer__search-clear",3,"click",4,"ngIf"],[1,"ep-drawer__section","ep-drawer__section--list"],["class","ep-drawer__taglist",4,"ngIf","ngIfElse"],[1,"ep-drawer__footer"],["type","button",1,"ep-drawer__btn","ep-drawer__btn--ghost",3,"click","disabled"],["type","button",1,"ep-drawer__btn","ep-drawer__btn--primary",3,"click"],[1,"ep-body"],[1,"row"],[4,"ngIf","ngIfElse"],["id","openTags",2,"display","none !important",3,"click","hidden"],["id","openTagsMo
1dal","data-bs-toggle","modal","data-bs-target","#tagsModal",2,"display","none",3,"hidden"],["id","tagsModal","tabindex","-1","role","dialog","aria-labelledby","BasicModalLabel","aria-hidden","true",1,"modal","fade","top","modal-close"],["role","document",1,"modal-dialog"],[1,"modal-content"],[1,"modal-header","px-4","border-0","pb-0","align-items-center"],[1,"mb-0","freshlms__fs__18","freshlms__fw_600","freshlms__letter__019","freshlms__lineH__33","fresh__text__303030"],[1,"modal-body","p-0"],["class","py-3 px-4",4,"ngIf"],[1,"modal-footer","border__top__0","d-flex","justify-content-end","py-2","px-4","freshlms__bg__rbga__F7F7F7","freshlms__border__bottom_4"],["role","button","data-bs-dismiss","modal","type","button",1,"fresh_lms_secondary_btn"],["id","openzoomMeetingModal","data-bs-toggle","modal","data-bs-target","#zoomMeetingModal",2,"display","none",3,"hidden"],["id","zoomMeetingModal","tabindex","-1","role","dialog","aria-labelledby","zoomMeetingModalLabel","aria-hidden","true",1,"modal","fade","mc-modal"],["role","document",1,"modal-dialog","modal
1-dialog-centered","modal-dialog-scrollable","mc-modal__dialog"],[1,"modal-content","mc-modal__content"],["type","button","data-bs-dismiss","modal",1,"mc-modal__close"],["aria-hidden","true",1,"fa-solid","fa-xmark"],[1,"mc-modal__header"],["aria-hidden","true",1,"mc-modal__badge"],[1,"fa-solid","fa-video"],["id","zoomMeetingModalLabel",1,"mc-modal__title"],[1,"mc-modal__subtitle"],[1,"modal-body","mc-modal__body"],["class","mc-modal__footer",4,"ngIf"],["id","openOfflineMeetingModal","data-bs-toggle","modal","data-bs-target","#offlineMeetingModal",2,"display","none",3,"hidden"],["id","offlineMeetingModal","tabindex","-1","role","dialog","aria-labelledby","offlineMeetingModalLabel","aria-hidden","true",1,"modal","fade","mc-modal","mc-modal--offline"],[1,"fa-solid","fa-location-dot"],["id","offlineMeetingModalLabel",1,"mc-modal__title"],["id","openShowAnswerModal","data-bs-toggle","modal","data-bs-target","#showAnswersModal",2,"display","none",3,"hidden"],["id","showAnswersModal","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","aria-hidden","true",1,"modal","fade","top",2,"background-color","rgba(0, 0, 0, 0.4)"],["role","document",1,"modal-dialog","modal
1-fullscreen"],[1,"modal-header"],["id","BasicModalLabel",1,"freshlms__fs__24","mb-0","freshlms__fw_600","freshlms__letter__0","freshlms__lineH__33","fresh__text__303030",2,"font-family","'Inter', sans-serif !important"],["type","button","id","closeShowAnswerKey","data-bs-dismiss","modal",1,"close","pull-right",3,"click"],["aria-hidden","true"],[1,"modal-body"],["class","row pb-5",4,"ngIf"],["class","mp-tags-modal-backdrop","role","presentation",3,"click",4,"ngIf"],["type","button",1,"ep-search__clear",3,"click"],["type","button",1,"ep-filter-btn",3,"click"],[1,"ep-filter-btn__badge"],[1,"ep-applied"],[1,"ep-applied__label"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"ep-applied__clear",3,"click"],[1,"ep-applied__chip"],["type","button",1,"ep-applied__remove",3,"click"],[1,"ep-drawer__selected"],["class","ep-drawer__selected-chip",4,"ngFor","ngForOf","ngForTrackBy"],[1,"ep-drawer__selected-chip"],["type","button",1,"ep-drawer__selected-remove",3,"click"],["type","button",1,"ep-drawer__search-clear",3,"click"],[1,"ep-drawer__taglist"],["type","button","class","ep-drawer__tag",3,"is-selected","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"ep-drawer__tag",3,"click"],["aria-hidden","true",1,"ep-drawer__tag-check"],[1,"fa-light","fa-check"],[1,"ep-drawer__tag-name"],[1,"ep-drawer__empty"],["class","col-md-4 my-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col-md-4","my-3"],["count","1",3,"theme"],["role","tablist",1,"ep-tabs"],["type","button","class","ep-tab",3,"is-active","click",4,"ngIf"],["class","ep-table-wrap",4,"ngIf"],["class","row position-relative",4,"ngIf"],["class"," ",4,"ngIf"],["type","button",1,"ep-tab",3,"click"],[1,"ep-tab__label"],[1,"ep-tab__count"],[1,"ep-table-wrap"],["class","ep-table","role","table",4,"ngIf"],["class","ep-table__empty",4,"ngIf"],["class","ep-pagination",4,"ngIf"],["role","table",1,"ep-table"],[1,"ep-table__th-name"],[1,"ep-table__th-desc"],[1,"ep-table__th-meta"],[1,"ep-table__th-action"],["class","ep-table__row","tabindex","0",3,"click","keyup.enter",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","0",1,"ep-table__row",3,"click","keyup.enter"],[1,"ep-table__cell","ep-table__cell--name"],[1,"ep-table__name-text"],[1,"ep-table__title"],["class","ep-table__expiry",4,"ngIf"],[1,"ep-table__cell","ep-table__cell--desc"],[1,"ep-table__cell","ep-table__cell--meta"],["class","ep-table__progress",4,"ngIf"],["class","ep-table__dash",4,"ngIf"],[1,"ep-table__cell","ep-table__cell--action"],["type","button",1,"ep-table__action",3,"click"],[1,"fa-light","fa-chevron-right"],[1,"ep-table__expiry"],[1,"ep-table__no-desc"],[1,"ep-table__progress"],[1,"ep-table__progress-row"],[1,"progress"],["role","progressbar","aria-valuemin","0","aria-valuemax","100",1,"progress-bar","bg-success"],[1,"ep-table__dash"],[1,"ep-table__empty"],[1,"fa-light","fa-inbox"],[1,"ep-pagination"],[1,"ep-pagination__info"],[1,"ep-pagination__size"],["for","epPageSize"],["id","epPageSize",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"ep-pagination__nav"],["type","button",1,"ep-pagination__btn",3,"click","disabled"],[1,"fa-light","fa-chevron-left"],[3,"ngValue"],["type","button","class","ep-pagination__page",3,"is-active","click",4,"ngIf","ngIfElse"],["type","button",1,"ep-pagination__page",3,"click"],[1,"ep-pagination__dots"],[1,"row","position-relative"],[4,"ngIf"],[1,"d-flex","justify-content-between"],["placement","right",1,"align-self-center","white","card","py-1","px-3","freshlms__fs__12",2,"border-radius","24px!important","border","2px dashed #ced4da !important","background-color","transparent",3,"click","mdbTooltip","ngClass"],[1,"tags-class"],[1,"fa-light","fa-circle-plus","me-1"],[1,"col-12","p-0"],["class","filter-overlay",4,"ngIf"],[1,"filter-overlay"],[1,"filters-card"],[1,"freshlms__fs__14","freshlms__fw_400","freshlms__lineH__22","freshlms__letter__0","px-3","px-md-4","mb-2",2,"color","#637381"],[1,"dropdown-divider"],["class","col-12 d-flex flex-column flex-md-row align-items-start align-items-md-center justify-content-between gap-2 gap-md-0",4,"ngIf","ngIfElse"],[1,"col-12","d-flex","flex-column","flex-md-row","align-items-start","align-items-md-center","justify-content-between","gap-2","gap-md-0"],[1,"custom-checkbox-class","commonFilterContainer","flex-grow-1","me-md-2","enrolledProducts","w-100",2,"border","1p
1x solid #D3D3D3","border-radius","4px"],["class","custom-font-size custom-dropdown-class custom-checkbox-class","id","tag-course","name","tag-course",3,"options","texts","settings","ngModel","ngModelChange",4,"ngIf"],["class","custom-font-size custom-dropdown-class custom-checkbox-class","id","tag-playlist","name","tag-playlist",3,"options","texts","settings","ngModel","ngModelChange",4,"ngIf"],["class","custom-font-size custom-dropdown-class custom-checkbox-class","id","tag-cohort","name","tag-cohort",3,"options","texts","settings","ngModel","ngModelChange",4,"ngIf"],[1,"d-flex","align-items-center","gap-2","w-100","w-md-auto"],["type","submit",1,"fresh_lms_primary_btn","d-flex","align-items-center","flex-grow-1","flex-md-grow-0",3,"click","disabled"],[1,"fas",3,"ngClass"],[1,"fresh_lms_secondary_btn","flex-grow-1","flex-md-grow-0",3,"click"],["id","tag-course","name","tag-course",1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","options","texts","settings","ngModel"],["id","tag-playlist","name","tag-playlist",1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","options","texts","settings","ngModel"],["id","tag-cohort","name","tag-cohort",1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","options","texts","settings","ngModel"],["class","custom-font-size custom-dropdown-class custom-checkbox-class","id","tag-scorm","name","tag-scorm",3,"options","texts","settings","ngModel","ngModelChange",4,"ngIf"],["id","tag-scorm","name","tag-scorm",1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","options","texts","settings","ngModel"],["class","mt-3 ps-4 freshlms__fs__14 freshlms__fw_400 fresh__text__828282",4,"ngIf"],[1,"mt-3","ps-4","freshlms__fs__14","freshlms__fw_400","fresh__text__828282"],[1,"custom-checkbox-class","commonFilterContainer","flex-grow-1","me-md-2","w-100",2,"border","1px solid #637381","border-radius","4px"],[1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","id","name","options","texts","settings","ngModel"],[1,""],["class","row",4,"ngIf"],["class","col-lg-3 col-md-6 col-12 my-3",4,"ngFor","ngForOf","ngForTrackBy"],["id","dektopAndLaptopScreens",4,"ngIf"],["id","dektopAndLaptopScreens","class","col-lg-3 col-md-6 col-12 my-3","style","position: relative;",4,"ngFor","ngForOf","ngForTrackBy"],["id","dektopAndLaptopScreens",1,"col-lg-3","col-md-6","col-12","my-3",2,"position","relative"],[1,"card","freshlms__shadow__hovererable"],[1,"product-card-image",3,"click"],[1,"image-wrapper"],["loading","lazy","alt","",1,"",3,"src"],[1,"card-body"],[3,"click"],[1,"d-flex","justify-content-between","flex-wrap"],[1,"d-flex","justify-content-start","align-items-center"],["class","fa-light fa-award fresh__text__2C7BF7 freshlms__fs__14 me-2",4,"ngIf"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",3,"ngClass"],["class","p-1","style","background-color: #FEF3C7;border-radius: 8px;",4,"ngIf"],[1,"card-title","mb-0","mt-2","fresh__text__212B36",3,"appEllipsisTooltip"],[1,"card-text","mb-3"],[1,"mb-0","freshlms__fs__12","freshlms__fw_400","freshlms__lineH__16","fresh__text__828282","freshlms__letter__015",3,"appEllipsisTooltip"],[1,"freshlms__width__100","align-self-center",3,"click"],[2,"font-size","12px","font-weight","400","color","#637381"],[1,"fa-light","fa-award","fresh__text__2C7BF7","freshlms__fs__14","me-2"],[1,"p-1",2,"background-color","#FEF3C7","border-radius","8px"],[1,"freshlms__fs__10","mb-0","text-muted",2,"color","#92400E!important"],[1,"dropdown-divider","m-0"],[1,"author-list","d-flex","flex-wrap","gap-1","align-items-center"],["class","d-flex align-items-center cursor__pointer position-relative","role","button","tabindex","0","aria-haspopup","dialog","aria-controls","tagPopover",3,"click","keydown.enter","keydown.space","mouseenter",4,"ngIf"],[1,"d-flex","align-items-center","cursor__pointer"],[1,"chip_courses","d-flex","m-0","me-1"],[1,"tagTextQuestion","mb-0",3,"title"],["role","button","tabindex","0","aria-haspopup","dialog","aria-controls","tagPopover",1,"d-flex","align-items-center","cursor__pointer","position-relative",3,"click","keydown.enter","keydown.space","mouseenter"],[1,"tagTextQuestion","mb-0"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015","fresh__text__2C7BF7"],["class","freshlms__width__100 align-self-center",4,"ngIf"],[1,"freshlms__width__100","align-self-center"],[1,"my-2"],[1,"d-flex","justify-content-center","ql-snow","mb-0","mt-0","freshlms__fs__12","freshlms__fw_400","fresh__text__828282","freshlms__lineH__16","freshlms__letter__015",2,"border","1p
1x solid #E2E8F0","border-radius","8px","background","#F7F7F7"],[1,"align-self-center","fa-light","fa-calendar"],[1,"p-2","freshlms__fs__10","mb-0","freshlms__fw_600","text-center","fresh__text__303030"],["style","display: flex;flex-wrap: wrap;gap: 1rem; /* Adjust spacing */",4,"ngIf","ngIfElse"],[2,"display","flex","flex-wrap","wrap","gap","1rem"],["class","col-lg-3 col-md-6 col-12 my-3","style","position: relative;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col-lg-3","col-md-6","col-12","my-3",2,"position","relative"],[1,"product-card-image"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#0DCAF0"],["style","margin-bottom: 0.75rem;",4,"ngIf"],[1,"align-self-center"],["type","button",1,"fresh_lms_enroll_btn","w-100",3,"click"],[2,"margin-bottom","0.75rem"],[1,"d-flex","align-items-start","gap-2","mb-0","mt-0","freshlms__fs__11","freshlms__letter__015",2,"border","1px solid #E2E8F0","border-radius","10px","background","#F8FAFC","padding","8px 12px"],[1,"fa-light","fa-calendar","flex-shrink-0","align-self-start",2,"color","#637381","font-size","16px","margin-right","2px","margin-top","1px"],["class","d-flex flex-column align-items-center flex-shrink-0","style","height: 28px; justify-content: space-between; margin: 1px 2px 0 2px;",4,"ngIf"],["class","d-flex align-items-center flex-shrink-0","style","margin: 3px 2px 0 2px;",4,"ngIf"],[1,"d-flex","flex-column",2,"gap","3px","flex","1","min-width","0"],[1,"freshlms__fs__11","freshlms__fw_600","fresh__text__303030",2,"line-height","1.2","font-size","11px","white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],["class","freshlms__fs__11 freshlms__fw_600 fresh__text__303030","style","line-height: 1.2; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",4,"ngIf"],[1,"d-flex","flex-column","align-items-center","flex-shrink-0",2,"height","28px","justify-content","space-between","margin","1px 2px 0 2px"],[1,"fa-solid","fa-circle","dark-circle",2,"font-size","8px","color","#2C7BF7","line-height","1"],[2,"width","1px","flex","1","border-left","1.5px dotted #94A3B8","margin","1px 0"],[1,"fa-sharp","fa-light","fa-circle","light-circle",2,"font-size","8px","color","#94A3B8","line-height","1"],[1,"d-flex","align-items-center","flex-shrink-0",2,"margin","3px 2px 0 2px"],[1,"chip_courses","d-flex","m-0"],[1,"card","freshlms__shadow__hovererable","coaching-card",3,"click"],["loading","lazy",1,"",3,"src","alt"],[1,"card-body","coaching-card__body"],[1,"coaching-card__type",2,"color","#4338CA"],[1,"coaching-card__title",3,"appEllipsisTooltip"],["class","coaching-info",4,"ngIf","ngIfElse"],[1,"coaching-card__cta","align-self-center"],["class","coaching-tags",4,"ngIf"],[1,"coaching-info"],[1,"coaching-info__date"],[1,"coaching-info__month"],[1,"coaching-info__day"],[1,"coaching-info__text"],[1,"coaching-info__when"],[1,"coaching-info__meta"],["class","coaching-info coaching-info--done",4,"ngIf","ngIfElse"],[1,"coaching-info","coaching-info--done"],[1,"coaching-info__badge"],[1,"fa-light","fa-circle-check"],[1,"coaching-info__note"],[1,"coaching-info__sub"],["class","coaching-info coaching-info--progress",4,"ngIf","ngIfElse"],[1,"coaching-info","coaching-info--progress"],[1,"fa-light","fa-calendar-check"],[1,"coaching-info","coaching-info--empty"],[1,"fa-light","fa-calendar-plus"],[1,"coaching-tags"],["class","coaching-tags__chip",3,"title",4,"ngFor","ngForOf","ngForTrackBy"],["class","coaching-tags__chip coaching-tags__chip--more",4,"ngIf"],[1,"coaching-tags__chip",3,"title"],[1,"coaching-tags__chip","coaching-tags__chip--more"],["class","col-lg-3 col-md-6 col-12 my-3","style","position:relative",4,"ngFor","ngForOf","ngForTrackBy"],[1,"card","freshlms__shadow__hovererable",3,"click"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#FF6F00"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#bf00ff"],[1,"mb-0","freshlms__fs__12","freshlms__fw_400","freshlms__lineH__16","fresh__text__828282","freshlms__letter__015",3,"appEllipsisTooltip","innerHTML"],[1,"col-lg-3","col-md-6","col-12","my-3"],[1,"freshlms__fs__12","mb-0","freshlms__fw_600","freshlms__letter__015",2,"color","#dd8515"],[1,"author-list","d-flex"],["class","d-flex align-items-end",4,"ngIf"],[1,"freshlms__width__40","align-self-center"],[1,"d-flex","align-items-end"],[1,"freshlms__fs__12","mb-0","freshlms__fw_600","freshlms__letter__015",3,"ngClass"],["
1id","dektopAndLaptopScreens"],["class","chip_courses d-flex m-0 me-1",4,"ngIf"],[1,"card-text"],[1,"emptyPlans"],[1,"childEmptyPlans","text-center","mt-5"],["loading","lazy","src","https://cdn.freshlms.info/icons/freshlms_empty.png","width","250","height","auto",1,"pb-3"],[1,"fresh__text__828282","freshlms__fs__14","freshlms__letter__0","text-center","freshlms__lineH__19","col-md-10","mx-auto","mt-2","mb-3"],[1,"fresh_lms_primary_btn","mt-3",3,"routerLink"],["class","emptyPlans",4,"ngIf"],[1,"py-3","px-4"],[1,"col-md-12"],["class","chip",4,"ngFor","ngForOf","ngForTrackBy"],[1,"chip"],["data-bs-placement","bottom","data-bs-toggle","tooltip",1,"tagText",3,"title"],["class","mc-info",4,"ngIf"],["class","mc-info-grid",4,"ngIf"],[1,"mc-info"],[1,"mc-info__head"],[1,"mc-info__label"],["aria-hidden","true",1,"fa-solid","fa-link"],["type","button",1,"mc-copy",3,"click"],["aria-hidden","true",1,"fa-solid"],["target","_blank","rel","noopener noreferrer",1,"mc-info__link",3,"href"],[1,"mc-info-grid"],["class","mc-info mc-info--compact",4,"ngIf"],[1,"mc-info","mc-info--compact"],["aria-hidden","true",1,"fa-solid","fa-hashtag"],["type","button",1,"mc-copy","mc-copy--icon",3,"click"],[1,"mc-info__value"],["aria-hidden","true",1,"fa-solid","fa-lock"],[1,"mc-empty"],["aria-hidden","true",1,"mc-empty__icon"],[1,"fa-solid","fa-link-slash"],[1,"mc-empty__title"],[1,"mc-empty__text"],[1,"mc-modal__footer"],["type","button","data-bs-dismiss","modal",1,"mc-btn","mc-btn--ghost"],["type","button",1,"mc-btn","mc-btn--primary",3,"click"],["aria-hidden","true",1,"fa-solid","fa-arrow-right"],["aria-hidden","true",1,"fa-solid","fa-map-location-dot"],["aria-hidden","true",1,"fa-solid","fa-circle-info"],[1,"mc-info__text"],[1,"fa-solid","fa-map-location"],["aria-hidden","true",1,"fa-solid","fa-arrow-up-right-from-square"],[1,"row","pb-5"],[1,"col-lg-12"],[3,"assessmentId","memberAssessmentStatus","showResultWithAnswer","showResultsScreen","memberAssessmentId"],["role","presentation",1,"mp-tags-modal-backdrop",3,"click"],["id","tagPopover","role","dialog","aria-modal","true",1,"mp-tags-modal",3,"click"],[1,"mp-tags-modal__header"],[1,"mp-tags-modal__title"],["type","button",1,"mp-tags-modal__close",3,"click"],[1,"mp-tags-modal__body"],["class","chip_courses",3,"title","dblclick",4,"ngFor","ngForOf","ngForTrackBy"],[1,"chip_courses",3,"dblclick","title"]],template:function(e,n){if(e&1){let o=b();a(0,"div",23)(1,"div",24)(2,"div",25)(3,"div",26)(4,"h2",27),d(5),m(6,"transloco"),s(),a(7,"span",28),d(8),s()(),a(9,"div",29),C(10,"i",30),a(11,"input",31),m(12,"transloco"),m(13,"transloco"),R("ngModelChange",function(p){return u(o),N(n.searchQuery,p)||(n.searchQuery=p),g(p)}),s(),v(14,Jn,3,3,"button",32),s()(),a(15,"div",33),v(16,Kn,6,6,"button",34),a(17,"div",35),m(18,"transloco"),a(19,"button",36),m(20,"transloco"),h("click",function(){return n.viewMode="grid"}),C(21,"i",37),s(),a(22,"button",36),m(23,"transloco"),h("click",function(){return n.viewMode="list"}),C(24,"i",38),s()()()(),v(25,ei,8,8,"div",39),a(26,"div",40),h("click",function(){return n.closeFilterDrawer()}),s(),a(27,"aside",41),m(28,"transloco"),a(29,"div",42)(30,"div",43),C(31,"i",44),a(32,"span"),d(33),m(34,"transloco"),s(),F(35,ti,2,1,"span",45),s(),a(36,"button",46),m(37,"transloco"),h("click",function(){return n.closeFilterDrawer()}),C(38,"i",47),s()(),a(39,"div",48),F(40,ii,6,5,"div",49),a(41,"div",49)(42,"h6",50),d(43),m(44,"transloco"),s(),a(45,"div",51),C(46,"i",52),a(47,"input",53),m(48,"transloco"),m(49,"transloco"),R("ngModelChange",function(p){return u(o),N(n.tagSearchQuery,p)||(n.tagSearchQuery=p),g(p)}),s(),v(50,oi,3,3,"button",54),s()(),a(51,"div",55)(52,"h6",50),d(53),s(),v(54,ai,2,2,"div",56)(55,li,3,4,"ng-template",null,0,M),s()(),a(57,"div",57)(58,"button",58),h("click",function(){return n.clearDraftTags()}),d(59),m(60,"transloco"),s(),a(61,"button",59),h("click",function(){return n.applyDrawerFilters()}),d(62),m(63,"transloco"),F(64,ci,2,1,"span"),s()()(),a(65,"div",60)(66,"div",61),v(67,_i,2,3,"ng-container",62)(68,Ia,5,2,"ng-template",null,1,M),s()()(),a(70,"button",63),h("click",function(){return n.getEnrolledCoursesByTagsFilter()}),d(71,` Open Modal
2`),s(),a(72,"button",64),d(73,` Open Modal
3`),s(),a(74,"div",65,2)(76,"div",66)(77,"div",67)(78,"div",68)(79,"h4",69),d(80),m(81,"transloco"),s()(),a(82,"div",70),v(83,Sa,4,2,"div",71),s(),a(84,"div",72)(85,"button",73),d(86),m(87,"transloco"),s()()()()(),a(88,"button",74),d(89,` Open Modal
4`),s(),a(90,"div",75,3)(92,"div",76)(93,"div",77)(94,"button",78),m(95,"transloco"),C(96,"i",79),s(),a(97,"div",80)(98,"div",81),C(99,"i",82),s(),a(100,"h2",83),d(101),m(102,"transloco"),s(),a(103,"p",84),d(104),m(105,"transloco"),s()(),a(106,"div",85),v(107,Da,3,2,"ng-container",62)(108,Aa,9,6,"ng-template",null,4,M),s(),v(110,Va,8,6,"div",86),s()()(),a(111,"button",87),d(112,` Open Modal
5`),s(),a(113,"div",88,5)(115,"div",76)(116,"div",77)(117,"button",78),m(118,"transloco"),C(119,"i",79),s(),a(120,"div",80)(121,"div",81),C(122,"
5i",89),s(),a(123,"h2",90),d(124),m(125,"transloco"),s(),a(126,"p",84),d(127),m(128,"transloco"),s()(),a(129,"div",85),v(130,La,16,18,"ng-container",62)(131,Ua,9,6,"ng-template",null,6,M),s(),v(133,Na,8,6,"div",86),s()()(),a(134,"button",91),d(135,` Open Modal
6`),s(),a(136,"div",92,7)(138,"div",93)(139,"div",67)(140,"div",94)(141,"h3",95),d(142),m(143,"transloco"),s(),a(144,"button",96),m(145,"transloco"),h("click",function(){return n.closeAssessmentShowAnswerKey()}),a(146,"span",97),d(147,"\xD7"),s()()(),a(148,"div",98),v(149,Ra,3,5,"div",99),s()()()(),v(150,$a,12,11,"div",100)}if(e&2){let o=S(56),c=S(69),p=S(109),T=S(132);k("ep-view-list",n.viewMode==="list"),r(5),x(" ",f(6,65,"dash_board.myLibrary")," "),r(3),y((n.productsCount==null||n.productsCount.all==null?null:n.productsCount.all.length)||0),r(3),_("placeholder",f(12,67,"dash_board.searchLibrary")),U("ngModel",n.searchQuery),I("aria-label",f(13,69,"dash_board.searchLibrary")),r(3),_("ngIf",n.searchQuery),r(2),_("ngIf",n.activeTab!=="all"),r(),I("aria-label",f(18,71,"dash_board.viewToggle")),r(2),k("is-active",n.viewMode==="grid"),I("aria-label",f(20,73,"dash_board.gridView")),r(3),k("is-active",n.viewMode==="list"),I("aria-label",f(23,75,"dash_board.listView")),r(3),_("ngIf",n.appliedFilterCount>0),r(),k("is-visible",n.filterDrawerOpen),r(),k("is-open",n.filterDrawerOpen),I("aria-label",f(28,77,"dash_board.filters")),r(6),y(f(34,79,"dash_board.filters")),r(2),L(n.draftTagIds.length>0?35:-1),r(),I("aria-label",f(37,81,"dash_board.closeFilters")),r(4),L(n.draftTagIds.length>0?40:-1),r(3),y(f(44,83,"dash_board.searchByTags")),r(4),_("placeholder",f(48,85,"dash_board.searchTagsPlaceholder")),U("ngModel",n.tagSearchQuery),I("aria-label",f(49,87,"dash_board.searchTagsAria")),r(3),_("ngIf",n.tagSearchQuery),r(3),E(" ",n.filteredTagOptions.length," tag",n.filteredTagOptions.length===1?"":"s"," "),r(),_("ngIf",n.filteredTagOptions.length>0)("ngIfElse",o),r(4),_("disabled",n.draftTagIds.length===0),r(),x(" ",f(60,89,"dash_board.clear")," "),r(3),x(" ",f(63,91,"dash_board.applyFilters")," "),r(2),L(n.draftTagIds.length>0?64:-1),r(3),_("ngIf",n.allloading)("ngIfElse",c),r(3),_("hidden",!0),r(2),_("hidden",!0),r(8),x(" ",f(81,93,"dash_board.tags")," "),r(3),_("ngIf",n.tagsList.length!=0&&n.tagsList!=null),r(3),x(" ",f(87,95,"dash_board.cancel")," "),r(2),_("hidden",!0),r(6),I("aria-label",f(95,97,"dash_board.close")),r(7),y(f(102,99,"masterclass.liveOnlineClass")),r(3),y(f(105,101,"masterclass.meetingReadySubtitle")),r(3),_("ngIf",(n.zoomMettingObj==null?null:n.zoomMettingObj.zoomMeetingUrl)||(n.zoomMettingObj==null?null:n.zoomMettingObj.meetingId))("ngIfElse",p),r(3),_("ngIf",n.zoomMettingObj==null?null:n.zoomMettingObj.zoomMeetingUrl),r(),_("hidden",!0),r(6),I("aria-label",f(118,103,"dash_board.close")),r(7),y(f(125,105,"masterclass.inPersonClass")),r(3),y(f(128,107,"masterclass.locationSubtitle")),r(3),_("ngIf",n.masterclassOfflineLocationLink)("ngIfElse",T),r(3),_("ngIf",n.masterclassOfflineLocationLink),r(),_("hidden",!0),r(8),x(" ",f(143,109,"dash_board.answers")," "),r(2),I("aria-label",f(145,111,"dash_board.close")),r(5),_("ngIf",n.assessmentId!=null&&n.showResultsScreen),r(),_("ngIf",n.showAllTagsId!==null&&(n.popoverTags==null?null:n.popoverTags.length))}},dependencies:[xe,Qe,qe,ve,J,we,Pe,oe,ye,re,ae,Te,Ge,Jt,ie,Ze,he,it,ke,ne],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}.ep-page[_ngcontent-%COMP%]{padding:0}.ep-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 32px;border-bottom:1px solid #eaeaea}@media(max-width:767px){.ep-toolbar[_ngcontent-%COMP%]{padding:14px 18px;gap:12px}}@media(max-width:575px){.ep-toolbar[_ngcontent-%COMP%]{padding:12px 14px;gap:10px}}.ep-toolbar__left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;flex:1 1 auto;min-width:0;flex-wrap:wrap}@media(max-width:575px){.ep-toolbar__left[_ngcontent-%COMP%]{display:contents}}.ep-toolbar__right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-shrink:0}@media(max-width:575px){.ep-toolbar__right[_ngcontent-%COMP%]{display:contents}}.ep-toolbar__title[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;flex-shrink:0}@media(max-width:575px){.ep-toolbar__title[_ngcontent-%COMP%]{width:100%}}.ep-title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;color:var(--mp-text);line-height:1.4;letter-spacing:-.01em}.ep-title__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:20px;min-width:22px;padding:0 8px;background:#f5f5f5;border-radius:999px;color:var(--mp-text-soft);font-size:12px;font-weight:500}.ep-search[_ngcontent-%COMP%]{position:relative;flex:1 1 280px;max-width:360px;display:inline-flex;align-items:center;height:37px;background:#fafafa;border:.8px solid var(--mp-border-soft);border-radius:10px;padding:0 14px;gap:12px;transition:border-color .15s,background .15s}@media(max-width:575px){.ep-search[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;max-width:none;height:34px;padding:0 10px;gap:8px}}.ep-search__icon[_ngcontent-%COMP%]{color:var(--c-icon);font-size:14px}.ep-search__input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;background:transparent;outline:none;font-size:14px;color:var(--mp-text);min-width:0}.ep-search__input[_ngcontent-%COMP%]::placeholder{color:#0a0a0a80}.ep-search[_ngcontent-%COMP%]:focus-within{background:#fff;border-color:var(--mp-blue)}.ep-search__clear[_ngcontent-%COMP%]{border:0;background:transparent;padding:4px;color:#0a0a0a73;cursor:pointer;border-radius:6px;line-height:0;flex-shrink:0}.ep-search__clear[_ngcontent-%COMP%]:hover{color:var(--mp-text);background:#0000000d}.ep-filter-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;background:#fff;border:.8px solid var(--mp-border);border-radius:8px;color:var(--mp-text-soft);font-size:12.5px;font-weight:500;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),border-color var(--mp-anim-fast),transform var(--mp-anim-fast);position:relative}.ep-filter-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:14px}.ep-filter-btn[_ngcontent-%COMP%]:hover{background:var(--mp-blue-soft);color:var(--mp-blue);border-color:var(--mp-blue)}.ep-filter-btn[_ngcontent-%COMP%]:active{transform:scale(.97)}.ep-filter-btn.has-active[_ngcontent-%COMP%]{background:var(--mp-blue-soft);color:var(--mp-blue);border-color:var(--mp-blue);font-weight:600}.ep-filter-btn__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--mp-blue);color:#fff;font-size:11px;font-weight:600;line-height:1}.ep-view-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:32px;padding:2px;background:#f5f5f5;border-radius:8px}.ep-view-toggle__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:transparent;color:var(--mp-text-muted);border-radius:6px;cursor:pointer;font-size:13px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast)}.ep-view-toggle__btn[_ngcontent-%COMP%]:hover{color:var(--mp-text)}.ep-view-toggle__btn[_ngcontent-%COMP%]:active{transform:scale(.92)}.ep-view-toggle__btn.is-active[_ngcontent-%COMP%]{background:#fff;color:var(--mp-blue);box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.ep-body[_ngcontent-%COMP%]{padding:24px 32px 32px;position:relative}@media(max-width:767px){.ep-body[_ngcontent-%COMP%]{padding:20px 18px}}@media(max-width:575px){.ep-body[_ngcontent-%COMP%]{padding:16px 14px}}.ep-tabs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}.ep-tab[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px;background:#fff;border:.8px solid #cbd5e1;border-radius:999px;color:var(--c-muted);font-size:12.5px;font-weight:500;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),border-color var(--mp-anim-fast),transform var(--mp-anim-fast);outline:none;-webkit-user-select:none;user-select:none;white-space:nowrap}.ep-tab__label[_ngcontent-%COMP%]{line-height:1}.ep-tab__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:16px;padding:0 6px;background:#0000000a;border-radius:999px;font-size:11px;font-weight:500;color:inherit;line-height:1;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.ep-tab[_ngcontent-%COMP%]:hover{border-color:var(--c-brand-line);color:var(--c-link);background:var(--c-brand-soft)}.ep-tab[_ngcontent-%COMP%]:active{transform:scale(.97)}.ep-tab.is-active[_ngcontent-%COMP%]{background:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink);box-shadow:0 4px 10px -2px color-mix(in srgb,var(--c-brand) 35%,transparent)}.ep-tab.is-active[_ngcontent-%COMP%]   .ep-tab__count[_ngcontent-%COMP%]{background:#ffffff40;color:var(--c-brand-ink)}.tags-class[_ngcontent-%COMP%]{margin-bottom:0;font-size:11px;color:var(--mp-text-muted)}.bg-blue[_ngcontent-%COMP%]{background-color:var(--c-brand);color:#fff;padding:5px;border-radius:4px}.ep-view-list[_nghost-%COMP%]   .col-lg-3[_ngcontent-%COMP%], .ep-view-list   [_nghost-%COMP%]   .col-lg-3[_ngcontent-%COMP%]{flex:0 0 100%;max-width:100%}.ep-body[_ngcontent-%COMP%]   .filter-overlay[_ngcontent-%COMP%], .ep-body[_ngcontent-%COMP%]   a.white.card[_ngcontent-%COMP%]{display:none!important}.ep-applied[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 32px;
6border-bottom:1px solid #f0f0f0;background:var(--mp-blue-soft, #f0f9ff)}@media(max-width:575px){.ep-applied[_ngcontent-%COMP%]{padding:10px 14px}}.ep-applied__label[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--mp-text-soft);margin-right:4px}.ep-applied__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:#fff;border:.8px solid color-mix(in srgb,var(--c-brand) 30%,transparent);border-radius:999px;padding:4px 6px 4px 12px;font-size:12px;font-weight:500;color:var(--mp-blue)}.ep-applied__remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;background:color-mix(in srgb,var(--c-brand) 10%,transparent);color:var(--mp-blue);border-radius:50%;cursor:pointer;font-size:10px;line-height:0;transition:background var(--mp-anim-fast),transform var(--mp-anim-fast)}.ep-applied__remove[_ngcontent-%COMP%]:hover{background:var(--mp-blue);color:#fff}.ep-applied__remove[_ngcontent-%COMP%]:active{transform:scale(.9)}.ep-applied__clear[_ngcontent-%COMP%]{margin-left:auto;border:0;background:transparent;color:var(--mp-text-soft);font-size:12px;font-weight:500;cursor:pointer;padding:4px 8px;border-radius:6px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.ep-applied__clear[_ngcontent-%COMP%]:hover{background:#0000000d;color:var(--mp-text)}.ep-drawer-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0f172a73;z-index:1060;opacity:0;pointer-events:none;transition:opacity .22s cubic-bezier(.22,1,.36,1)}.ep-drawer-backdrop.is-visible[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.ep-drawer[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:92vw;z-index:1061;background:#fff;border-left:.8px solid var(--mp-border);box-shadow:-16px 0 40px -12px #0f172a2e;transform:translate(105%);transition:transform .28s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;will-change:transform}.ep-drawer.is-open[_ngcontent-%COMP%]{transform:translate(0)}.ep-drawer__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #f0f0f0}.ep-drawer__title[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--mp-text)}.ep-drawer__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px;color:var(--c-icon)}.ep-drawer__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;background:var(--mp-blue);color:#fff;border-radius:999px;font-size:11px;font-weight:600;margin-left:4px}.ep-drawer__close[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:transparent;border-radius:8px;color:var(--c-icon);cursor:pointer;font-size:16px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.ep-drawer__close[_ngcontent-%COMP%]:hover{background:#f5f5f5;color:var(--mp-text)}.ep-drawer__body[_ngcontent-%COMP%]{flex:1 1 auto;overflow-y:auto;padding:4px 4px 8px;display:flex;flex-direction:column;gap:4px}.ep-drawer__section[_ngcontent-%COMP%]{padding:16px 24px}.ep-drawer__section--list[_ngcontent-%COMP%]{flex:1 1 auto}.ep-drawer__section-title[_ngcontent-%COMP%]{margin:0 0 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--mp-text-muted)}.ep-drawer__selected[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.ep-drawer__selected-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:var(--c-brand);border-radius:999px;padding:4px 6px 4px 12px;font-size:12px;font-weight:500;color:var(--c-brand-ink);animation:_ngcontent-%COMP%_ep-chip-in .2s cubic-bezier(.22,1,.36,1)}.ep-drawer__selected-remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;background:#ffffff38;color:#fff;border-radius:50%;cursor:pointer;font-size:10px;line-height:0;transition:background var(--mp-anim-fast)}.ep-drawer__selected-remove[_ngcontent-%COMP%]:hover{background:#fff6}.ep-drawer__search[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:0 12px;
6height:40px;border:.8px solid var(--mp-border);border-radius:10px;background:#fafafa;transition:background var(--mp-anim-fast),border-color var(--mp-anim-fast)}.ep-drawer__search[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--c-icon);font-size:14px}.ep-drawer__search[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;background:transparent;outline:none;font-size:14px;color:var(--mp-text);min-width:0}.ep-drawer__search[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#0a0a0a73}.ep-drawer__search[_ngcontent-%COMP%]:focus-within{background:#fff;border-color:var(--mp-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 10%,transparent)}.ep-drawer__search-clear[_ngcontent-%COMP%]{width:24px;height:24px;border:0;background:transparent;color:#0a0a0a73;border-radius:6px;cursor:pointer}.ep-drawer__search-clear[_ngcontent-%COMP%]:hover{background:#0000000d;color:var(--mp-text)}.ep-drawer__taglist[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.ep-drawer__tag[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;background:transparent;border-radius:10px;cursor:pointer;text-align:left;transition:background var(--mp-anim-fast);width:100%}.ep-drawer__tag[_ngcontent-%COMP%]:hover{background:#f5f7fa}.ep-drawer__tag.is-selected[_ngcontent-%COMP%]{background:var(--c-brand-soft)}.ep-drawer__tag.is-selected[_ngcontent-%COMP%]   .ep-drawer__tag-check[_ngcontent-%COMP%]{background:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink)}.ep-drawer__tag.is-selected[_ngcontent-%COMP%]   .ep-drawer__tag-name[_ng
6content-%COMP%]{color:var(--c-brand);font-weight:600}.ep-drawer__tag-check[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid var(--mp-border);border-radius:6px;background:#fff;color:transparent;font-size:10px;flex-shrink:0;transition:background var(--mp-anim-fast),border-color var(--mp-anim-fast),color var(--mp-anim-fast)}.ep-drawer__tag-name[_ngcontent-%COMP%]{font-size:14px;color:var(--c-text);flex:1 1 auto;transition:color var(--mp-anim-fast)}.ep-drawer__empty[_ngcontent-%COMP%]{margin:12px 0;font-size:13px;color:var(--mp-text-muted);text-align:center;padding:24px 0}.ep-drawer__footer[_ngcontent-%COMP%]{display:flex;gap:8px;padding:16px 24px;border-top:1px solid #f0f0f0;background:#fafafa}.ep-drawer__btn[_ngcontent-%COMP%]{flex:1 1 auto;height:40px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast)}.ep-drawer__btn--ghost[_ngcontent-%COMP%]{background:#fff;border:.8px solid var(--mp-border);color:var(--mp-text-soft)}.ep-drawer__btn--ghost[_ngcontent-%COMP%]:hover:not(:disabled){background:#f5f5f5;color:var(--mp-text)}.ep-drawer__btn--ghost[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.ep-drawer__btn--primary[_ngcontent-%COMP%]{background:var(--c-brand);border:0;color:var(--c-brand-ink);display:inline-flex;align-items:center;justify-content:center;gap:6px}.ep-drawer__btn--primary[_ngcontent-%COMP%]:hover{background:var(--c-link);box-shadow:0 4px 12px -4px color-mix(in srgb,var(--c-brand) 50%,transparent)}.ep-drawer__btn[_ngcontent-%COMP%]:active{transform:scale(.98)}@keyframes _ngcontent-%COMP%_ep-chip-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media(max-width:480px){.ep-drawer[_ngcontent-%COMP%]{width:100vw;max-width:100vw;border-left:0}}@media(prefers-reduced-motion:reduce){.ep-drawer[_ngcontent-%COMP%], .ep-drawer-backdrop[_ngcontent-%COMP%]{transition:none!important}.ep-drawer__selected-chip[_ngcontent-%COMP%]{animation:none!important}}@media(max-width:360px){.ep-filter-btn[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{display:none}}.mc-modal[_ngcontent-%COMP%]{--mc-accent: var(--c-brand);--mc-accent-strong: color-mix(in srgb, var(--c-brand) 88%, #000);--mc-accent-soft: color-mix(in srgb, var(--c-brand) 14%, #fff);--mc-accent-softer: color-mix(in srgb, var(--c-brand) 6%, #fff);--mc-ink: #212B36;--mc-ink-2: #374151;--mc-muted: #637381;--mc-line: #E7E7E7;--mc-surface: #ffffff;--mc-surface-alt: #F9F9F9;--mc-radius: 16px;--mc-radius-sm: 10px;--mc-shadow: 0 12px 32px -12px rgba(33, 43, 54, .18)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__dialog[_ngcontent-%COMP%]{max-width:460px;margin:1.75rem auto}.mc-modal[_ngcontent-%COMP%]   .mc-modal__content[_ngcontent-%COMP%]{position:relative;border:1px solid var(--mc-line);border-radius:var(--mc-radius);background:var(--mc-surface);box-shadow:var(--mc-shadow);overflow:hidden}.mc-modal[_ngcontent-%COMP%]   .mc-modal__close[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px;z-index:3;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;border:1px solid var(--mc-line);background:#fff;color:var(--mc-muted);font-size:14px;line-height:1;cursor:pointer;transition:background .16s ease,color .16s ease,border-color .16s ease}.mc-modal[_ngcontent-%COMP%]   .mc-modal__close[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{pointer-events:none}.mc-modal[_ngcontent-%COMP%]   .mc-modal__close[_ngcontent-%COMP%]:hover, .mc-modal[_ngcontent-%COMP%]   .mc-modal__close[_ngcontent-%COMP%]:focus-visible{background:var(--mc-surface-alt);color:var(--mc-ink);border-color:#d3d3d3;outline:none}.mc-modal[_ngcontent-%COMP%]   .mc-modal__close[_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 18%,transparent)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__header[_ngcontent-%COMP%]{position:relative;padding:26px 24px 20px;background:#fff;text-align:center;border-bottom:1px solid var(--mc-line)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:12px;margin-bottom:12px;color:var(--mc-accent);background:var(--mc-accent-soft);font-size:20px}.mc-modal[_ngcontent-%COMP%]   .mc-modal__badge[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{display:block;line-height:1}.mc-modal[_ngcontent-%COMP%]   .mc-modal__title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;line-height:1.3;color:var(--mc-ink)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__subtitle[_ngcontent-%COMP%]{margin:4px 0 0;font-size:13px;line-height:1.5;color:var(--mc-muted)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__body[_ngcontent-%COMP%]{padding:22px 24px 8px;display:flex;flex-direction:column;gap:12px}.mc-modal[_ngcontent-%COMP%]   .mc-info[_ngcontent-%COMP%]{background:var(--mc-surface-alt);border:1px solid var(--mc-line);border-radius:var(--mc-radius-sm);padding:14px 16px;transition:border-color .16s ease,background .16s ease}.mc-modal[_ngcontent-%COMP%]   .mc-info[_ngcontent-%COMP%]:hover{border-color:#e3e7ee}.mc-modal[_ngcontent-%COMP%]   .mc-info--compact[_ngcontent-%COMP%]{padding:12px 14px}.mc-modal[_ngcontent-%COMP%]   .mc-info__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px}.mc-modal[_ngcontent-%COMP%]   .mc-info__label[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;font-size:12px;font-weight:600;line-height:1;color:var(--mc-muted);text-transform:uppercase;letter-spacing:.04em}.mc-modal[_ngcontent-%COMP%]   .mc-info__label[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px;color:var(--c-icon)}.mc-modal[_ngcontent-%COMP%]   .mc-info__link[_ngcontent-%COMP%]{display:block;font-size:14px;line-height:1.45;color:var(--mc-accent-strong);text-decoration:none;word-break:break-all;overflow-wrap:anywhere;font-weight:500;transition:color .14s ease}.mc-modal[_ngcontent-%COMP%]   .mc-info__link[_ngcontent-%COMP%]:hover, .mc-modal[_ngcontent-%COMP%]   .mc-info__link[_ngcontent-%COMP%]:focus-visible{color:var(--mc-accent);text-decoration:underline;outline:none}.mc-modal[_ngcontent-%COMP%]   .mc-info__value[_ngcontent-%COMP%]{display:block;font-size:16px;line-height:1.4;color:var(--mc-ink);font-weight:600;font-variant-numeric:tabular-nums;letter-spacing:.01em;word-break:break-word}.mc-modal[_ngcontent-%COMP%]   .mc-info__text[_ngcontent-%COMP%]{margin:0;font-size:14px;line-height:1.55;color:var(--mc-ink-2);white-space:pre-line;word-break:break-word}.mc-modal[_ngcontent-%COMP%]   .mc-info-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;gap:10px}.mc-modal[_ngcontent-%COMP%]   .mc-copy[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;height:28px;min-width:28px;padding:0 10px;border-radius:6px;border:1px solid var(--mc-line);background:#fff;color:var(--mc-ink-2);font-size:12px;font-weight:500;line-height:1;cursor:pointer;transition:border-color .14s ease,color .14s ease,background .14s ease}.mc-modal[_ngcontent-%COMP%]   .mc-copy[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:11px}.mc-modal[_ngcontent-%COMP%]   .mc-copy[_ngcontent-%COMP%]:hover, .mc-modal[_ngcontent-%COMP%]   .mc-copy[_ngcontent-%COMP%]:focus-visible{border-color:var(--mc-accent);color:var(--mc-accent);background:var(--mc-accent-softer);outline:none}.mc-modal[_ngcontent-%COMP%]   .mc-copy[_ngcontent-%COMP%]:focus-visible{box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 18%,transparent)}.mc-modal[_ngcontent-%COMP%]   .mc-copy--icon[_ngcontent-%COMP%]{padding:0;justify-content:center}.mc-modal[_ngcontent-%COMP%]   .mc-copy.is-copied[_ngcontent-%COMP%]{background:#e6f4ec;border-color:#b7e4c7;color:#1b7f45}.mc-modal[_ngcontent-%COMP%]   .mc-empty[_ngcontent-%COMP%]{padding:8px 4px 20px;text-align:center}.mc-modal[_ngcontent-%COMP%]   .mc-empty__icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:64px;
6height:64px;border-radius:999px;margin:4px auto 14px;background:var(--mc-accent-soft);color:var(--c-icon);font-size:24px}.mc-modal[_ngcontent-%COMP%]   .mc-empty__title[_ngcontent-%COMP%]{margin:0 0 6px;font-size:16px;font-weight:600;color:var(--mc-ink)}.mc-modal[_ngcontent-%COMP%]   .mc-empty__text[_ngcontent-%COMP%]{margin:0 auto;max-width:320px;font-size:13.5px;line-height:1.55;color:var(--mc-muted)}.mc-modal[_ngcontent-%COMP%]   .mc-modal__footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:16px 24px 20px;background:#fff;border-top:1px solid var(--mc-line)}.mc-modal[_ngcontent-%COMP%]   .mc-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:40px;padding:9px 18px;border-radius:8px;border:1px solid transparent;font-size:14px;font-weight:500;line-height:1.2;cursor:pointer;transition:background-color .16s ease,color .16s ease,border-color .16s ease;white-space:nowrap}.mc-modal[_ngcontent-%COMP%]   .mc-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px}.mc-modal[_ngcontent-%COMP%]   .mc-btn--ghost[_ngcontent-%COMP%]{background:#fff;color:var(--mc-ink-2);border-color:var(--mc-line)}.mc-modal[_ngcontent-%COMP%]   .mc-btn--ghost[_ngcontent-%COMP%]:hover{background:var(--mc-surface-alt);color:var(--mc-ink)}.mc-modal[_ngcontent-%COMP%]   .mc-btn--ghost[_ngcontent-%COMP%]:focus-visible{outline:none;box-shadow:0 0 0 3px #212b3614}.mc-modal[_ngcontent-%COMP%]   .mc-btn--primary[_ngcontent-%COMP%]{background:var(--mc-accent);color:#fff}.mc-modal[_ngcontent-%COMP%]   .mc-btn--primary[_ngcontent-%COMP%]:hover{background:var(--mc-accent-strong)}.mc-modal[_ngcontent-%COMP%]   .mc-btn--primary[_ngcontent-%COMP%]:focus-visible{outline:none;background:var(--mc-accent-strong);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 25%,transparent)}.mc-modal[_ngcontent-%COMP%]   .mc-btn--primary[_ngcontent-%COMP%]:disabled, .mc-modal[_ngcontent-%COMP%]   .mc-btn--primary.disabled[_ngcontent-%COMP%]{opacity:.5;cursor:default}.mc-modal.fade[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:translateY(12px) scale(.98);transition:transform .24s cubic-bezier(.2,.8,.2,1),opacity .2s ease}.mc-modal.show[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:translateY(0) scale(1)}@media(max-width:575px){.mc-modal[_ngcontent-%COMP%]   .mc-modal__dialog[_ngcontent-%COMP%]{margin:0;min-height:100%;display:flex;align-items:flex-end}.mc-modal[_ngcontent-%COMP%]   .mc-modal__content[_ngcontent-%COMP%]{width:100%;border-radius:22px 22px 0 0;max-height:92vh}.mc-modal[_ngcontent-%COMP%]   .mc-modal__header[_ngcontent-%COMP%]{padding:26px 20px 20px}.mc-modal[_ngcontent-%COMP%]   .mc-modal__body[_ngcontent-%COMP%]{padding:20px 18px 6px}.mc-modal[_ngcontent-%COMP%]   .mc-modal__footer[_ngcontent-%COMP%]{padding:14px 18px 22px}.mc-modal[_ngcontent-%COMP%]   .mc-info-grid[_ngcontent-%COMP%]{grid-template-columns:1fr}.mc-modal[_ngcontent-%COMP%]   .mc-btn[_ngcontent-%COMP%]{flex:1}.mc-modal.fade[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:translateY(40px)}.mc-modal.show[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transform:translateY(0)}}@media(prefers-reduced-motion:reduce){.mc-modal[_ngcontent-%COMP%], .mc-modal[_ngcontent-%COMP%]   *[_ngcontent-%COMP%], .mc-modal.fade[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{transition:none!important;animation:none!important}}.coaching-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%}.coaching-card__body[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1 1 auto;gap:10px;padding:18px}.coaching-card__type[_ngcontent-%COMP%]{margin:0;color:#f0433a;font-size:10.5px;font-weight:700;letter-spacing:.84px;line-height:1;text-transform:uppercase}.coaching-card__title[_ngcontent-%COMP%]{margin:0;overflow:hidden;color:#171717;font-size:15.5px;font-weight:600;line-height:1.4;letter-spacing:-.155px;white-space:nowrap;text-overflow:ellipsis}.coaching-card__cta[_ngcontent-%COMP%]{margin-top:auto}.coaching-card[_ngcontent-%COMP%]   .coaching-info[_ngcontent-%COMP%]{display:flex;flex:0 0 auto;flex-direction:row!important;align-items:center;gap:12px!important;padding:9.8px 12.8px 9.8px 9.8px;border:.8px solid rgba(229,229,229,.7);border-radius:12px;background:#f8fafc}.coaching-card[_ngcontent-%COMP%]   .coaching-info__date[_ngcontent-%COMP%]{display:flex;flex:0 0 auto;flex-direction:column;align-items:center;justify-content:center;width:44px;height:44px;border:.8px solid #e5e5e5;border-radius:9px;background:#fff}.coaching-card[_ngcontent-%COMP%]   .coaching-info__month[_ngcontent-%COMP%]{color:var(--c-brand);font-size:9px;font-weight:700;line-height:1;letter-spacing:.63px;text-transform:uppercase}.coaching-card[_ngcontent-%COMP%]   .coaching-info__day[_ngcontent-%COMP%]{margin-top:3px;color:#171717;font-size:18px;font-weight:700;line-height:1;font-variant-numeric:tabular-nums}.coaching-card[_ngcontent-%COMP%]   .coaching-info__text[_ngcontent-%COMP%]{min-width:0}.coaching-card[_ngcontent-%COMP%]   .coaching-info__when[_ngcontent-%COMP%]{margin:0;overflow:hidden;color:#171717;font-size:13.5px;font-weight:700;line-height:1.3;white-space:nowrap;text-overflow:ellipsis}.coaching-card[_ngcontent-%COMP%]   .coaching-info__meta[_ngcontent-%COMP%]{margin:2px 0 0;overflow:hidden;color:#637381;font-size:12px;font-weight:400;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;text-decoration:none}.coaching-card[_ngcontent-%COMP%]   .coaching-info__icon[_ngcontent-%COMP%]{flex:0 0 auto;font-size:22px}.coaching-card[_ngcontent-%COMP%]   .coaching-info__note[_ngcontent-%COMP%]{margin:0;font-size:14px;font-weight:400;line-height:1.3}.coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]{min-height:63.6px}.coaching-card[_ngcontent-%COMP%]   .coaching-info__badge[_ngcontent-%COMP%]{display:flex;flex:0 0 auto;align-items:center;justify-content:center;width:44px;height:44px;border:.8px solid #e5e5e5;border-radius:9px;background:#fff;font-size:17px}.coaching-card[_ngcontent-%COMP%]   .coaching-info__sub[_ngcontent-%COMP%]{display:block;margin-top:2px;font-size:12px;font-weight:400;line-height:1.35}.coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%]   .coaching-info__text[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%]   .coaching-info__text[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]   .coaching-info__text[_ngcontent-%COMP%]{min-width:0}.coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%]   .coaching-info__note[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%]   .coaching-info__note[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]   .coaching-info__note[_ngcontent-%COMP%]{display:block;font-size:13.5px;font-weight:700;line-height:1.25;color:#171717}.coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%]{background:#fff7ed;border-color:#b26a0029}.coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%]   .coaching-info__badge[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--empty[_ngcontent-%COMP%]   .coaching-info__sub[_ngcontent-%COMP%]{color:#b26a00}.coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]{background:#eef4ff;border-color:color-mix(in srgb,var(--c-brand) 16%,transparent)}.coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]   .coaching-info__badge[_ngcontent-%COMP%]{color:var(--c-brand)}.coaching-card[_ngcontent-%COMP%]   .coaching-info--progress[_ngcontent-%COMP%]   .coaching-info__sub[_ngcontent-%COMP%]{color:var(--c-brand);font-weight:500}.coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%]{background:#ecfdf5;border-color:#00a37c2e}.coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%]   .coaching-info__badge[_ngcontent-%COMP%], .coaching-card[_ngcontent-%COMP%]   .coaching-info--done[_ngcontent-%COMP%]   .coaching-info__sub[_ngcontent-%COMP%]{color:#00a37c}.coaching-card[_ngcontent-%COMP%]   .coaching-tags[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;overflow:hidden;padding:12px;border-top:1px solid #e2e8f0;background:#f8fafc}.coaching-card[_ngcontent-%COMP%]   .coaching-tags__chip[_ngcontent-%COMP%]{flex:0 0 auto;max-width:120px;overflow:hidden;padding:4px 8px;border-radius:8px;background:var(--c-brand-soft);color:var(--c-link);font-size:10px;line-height:normal;white-space:nowrap;text-overflow:ellipsis}.coaching-card[_ngcontent-%COMP%]   .coaching-tags__chip--more[_ngcontent-%COMP%]{border-radius:100px}@media(max-width:575px){.coaching-card__body[_ngcontent-%COMP%]{padding:18px}}']})};var Ya=()=>[0,1,2],Qa=()=>({"border-radius":"12px",height:"320px",width:"100%"}),Za=()=>({"border-radius":"8px",height:"32px",width:"10%","margin-right":"10px"}),X=(i,t)=>({"active-circle":i,"inactive-circle":t}),Ga=i=>({"bg-blue":i}),Me=()=>["courseName","courseDescription"],Dn=()=>["title","masterclassName","description"],An=()=>["name","description"],Vn=()=>["productBundleName","description"],ct=()=>["title","description"];function Ja(i,t){if(i&1){let e=b();a(0,"button",75),m(1,"transloco"),h("click",function(){u(e);let o=l();return g(o.searchQuery="")}),C(2,"i",40),s()}i&2&&I("aria-label",f(1,1,"dash_board.clearSearch"))}function qa(i,t){if(i&1&&(a(0,"span",78),d(1),s()),i&2){let e=l(2);r(),y(e.appliedFilterCount)}}function Ka(i,t){if(i&1){let e=b();a(0,"button",76),h("click",function(){u(e);let o=l();return g(o.openFilterDrawer())}),C(1,"i",37),a(2,"span"),d(3),m(4,"transloco"),s(),v(5,qa,2,1,"span",77),s()}if(i&2){let e=l();k("has-active",e.appliedFilterCount>0),r(3),y(f(4,4,"dash_board.filters")),r(2),_("ngIf",e.appliedFilterCount>0)}}function Xa(i,t){if(i&1){let e=b();w(0),a(1,"span",83),d(2),a(3,"button",84),m(4,"transloco"),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.removeAppliedTag(o))}),C(5,"i",40),s()(),P()}if(i&2){let e=t.$implicit,n=l(2);r(2),x(" ",n.tagNameFor(e)," "),r(),I("aria-label",f(4,2,"dash_board.removeFilter"))}}function el(i,t){if(i&1){let e=b();a(0,"div",79)(1,"span",80),d(2),m(3,"transloco"),s(),v(4,Xa,6,4,"ng-container",81),a(5,"button",82),h("click",function(){u(e);let o=l();return g(o.clear())}),d(6),m(7,"transloco"),s()()}if(i&2){let e=l();r(2),y(f(3,4,"dash_board.activeFilters")),r(2),_("ngForOf",e.getActiveSelectedRefDisplay())("ngForTrackBy",e.trackByItem),r(2),y(f(7,6,"dash_board.clearAll"))}}function tl(i,t){if(i&1&&(a(0,"span",85),d(1),s()),i&2){let e=l();r(),y(e.draftTagIds.length)}}function nl(i,t){if(i&1){let e=b();a(0,"span",88),d(1),a(2,"button",89),m(3,"transloco"),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.toggleDraftTag(o))}),C(4,"i",40),s()()}if(i&2){let e=t.$implicit,n=l(2);r(),x(" ",n.tagNameFor(e)," "),r(),I("aria-label",f(3,2,"dash_board.removeTag"))}}function il(i,t){if(i&1&&(a(0,"div",43)(1,"h6",44),d(2),m(3,"transloco"),s(),a(4,"div",86),v(5,nl,5,4,"span",87),s()()),i&2){let e=l();r(2),y(f(3,3,"dash_board.selected")),r(3),_("ngForOf",e.draftTagIds)("ngForTrackBy",e.trackByItem)}}function ol(i,t){if(i&1){let e=b();a(0,"button",90),m(1,"transloco"),h("click",function(){u(e);let o=l();return g(o.tagSearchQuery="")}),C(2,"i",40),s()}i&2&&I("aria-label",f(1,1,"dash_board.clearTagSearch"))}function rl(i,t){if(i&1){let e=b();a(0,"button",93),h("click",function(){let o=u(e).$implicit,c=l(2);return g(c.toggleDraftTag(o.id))}
6),a(1,"span",94),C(2,"i",95),s(),a(3,"span",96),d(4),s()()}if(i&2){let e=t.$implicit,n=l(2);k("is-selected",n.isDraftTagSelected(e.id)),r(4),y(e.name)}}function al(i,t){if(i&1&&(a(0,"div",91),v(1,rl,5,3,"button",92),s()),i&2){let e=l();r(),_("ngForOf",e.filteredTagOptions)("ngForTrackBy",e.trackByItem)}}function ll(i,t){if(i&1&&(a(0,"p",97),d(1),m(2,"transloco"),s()),i&2){let e=l();r(),E("",f(2,2,"dash_board.noTagsFound"),"",e.tagSearchQuery?' for "'+e.tagSearchQuery+'"':"",".")}}function cl(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l();r(),x("(",e.draftTagIds.length,")")}}function sl(i,t){i&1&&(a(0,"div",99),C(1,"ngx-skeleton-loader",100),s()),i&2&&(r(),_("theme",D(1,Qa)))}function _l(i,t){if(i&1&&(w(0),v(1,sl,2,2,"div",98),P()),i&2){let e=l();r(),_("ngForOf",D(2,Ya))("ngForTrackBy",e.trackByItem)}}function dl(i,t){i&1&&(a(0,"div"),C(1,"ngx-skeleton-loader",101),s()),i&2&&(r(),_("theme",D(1,Za)))}function pl(i,t){if(i&1){let e=b();a(0,"div",117),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_1"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_1"),r(2),x(" ",f(4,7,f(3,5,"dash_board.course"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_1",e.activeTab!=="tab_1")),r(),x(" ",e.productsCount==null?null:e.productsCount.courses," ")}}function ml(i,t){if(i&1){let e=b();a(0,"div",120),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_3"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_3"),r(2),x(" ",f(4,7,f(3,5,"dash_board.playlist"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_3",e.activeTab!=="tab_3")),r(),x(" ",e.productsCount==null?null:e.productsCount.playlist," ")}}function ul(i,t){if(i&1){let e=b();a(0,"div",121),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_8"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_8"),r(2),x(" ",f(4,7,f(3,5,"dash_board.cohort"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_8",e.activeTab!=="tab_8")),r(),x(" ",e.productsCount==null?null:e.productsCount.cohorts," ")}}function gl(i,t){if(i&1){let e=b();a(0,"div",122),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_4"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_4"),r(2),x(" ",f(4,7,f(3,5,"dash_board.masterclass"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_4",e.activeTab!=="tab_4")),r(),x(" ",e.productsCount==null?null:e.productsCount.masterclass," ")}}function fl(i,t){if(i&1){let e=b();a(0,"div",123),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_5"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_5"),r(2),x(" ",f(4,7,f(3,5,"dash_board.digitalDownload"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_5",e.activeTab!=="tab_5")),r(),x(" ",e.productsCount==null?null:e.productsCount.digitalDownload," ")}}function vl(i,t){if(i&1){let e=b();a(0,"div",124),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_2"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_2"),r(2),x(" ",f(4,7,f(3,5,"dash_board.productbundle"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_2",e.activeTab!=="tab_2")),r(),x(" ",e.productsCount==null?null:e.productsCount.productBundle," ")}}function xl(i,t){if(i&1){let e=b();a(0,"div",125),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_7"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_7"),r(2),x(" ",f(4,7,f(3,5,"dash_board.scorm"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_7",e.activeTab!=="tab_7")),r(),x(" ",e.productsCount==null?null:e.productsCount.scorm," ")}}function hl(i,t){if(i&1){let e=b();a(0,"div",126),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_9"))}),a(1,"p",118),d(2," 1:1 Coaching "),a(3,"span",119),d(4),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_9"),r(3),_("ngClass",G(4,X,e.activeTab==="tab_9",e.activeTab!=="tab_9")),r(),x(" ",e.productsCount==null?null:e.productsCount.co
6achings," ")}}function Cl(i,t){if(i&1){let e=b();a(0,"div",127),h("click",function(){u(e);let o=l(4);return g(o.getTabs("tab_6"))}),a(1,"p",118),d(2),m(3,"transloco"),m(4,"titlecase"),a(5,"span",119),d(6),s()()()}if(i&2){let e=l(4);k("active_list",e.activeTab==="tab_6"),r(2),x(" ",f(4,7,f(3,5,"dash_board.all"))," "),r(3),_("ngClass",G(9,X,e.activeTab==="tab_6",e.activeTab!=="tab_6")),r(),x(" ",e.productsCount==null?null:e.productsCount.all," ")}}function bl(i,t){if(i&1&&(a(0,"div",106)(1,"div",107),v(2,pl,7,12,"div",108)(3,ml,7,12,"div",109)(4,ul,7,12,"div",110)(5,gl,7,12,"div",111)(6,fl,7,12,"div",112)(7,vl,7,12,"div",113)(8,xl,7,12,"div",114)(9,hl,5,7,"div",115)(10,Cl,7,12,"div",116),s()()),i&2){let e=l(3);r(2),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.courses==null?null:e.unEnrolledProducts.courses.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_1"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.playLists==null?null:e.unEnrolledProducts.playLists.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_3"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.cohorts==null?null:e.unEnrolledProducts.cohorts.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_8"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.masterclass==null?null:e.unEnrolledProducts.masterclass.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_4"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.digitaldownloads==null?null:e.unEnrolledProducts.digitaldownloads.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_5"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.productbundle==null?null:e.unEnrolledProducts.productbundle.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_2"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.scorms==null?null:e.unEnrolledProducts.scorms.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_7"),r(),_("ngIf",(e.unEnrolledProducts==null||e.unEnrolledProducts.coachings==null?null:e.unEnrolledProducts.coachings.length)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_9"),r(),_("ngIf",(e.productsCount==null?null:e.productsCount.all)>0||e.hasAppliedFilters&&e.appliedFilterType==="tab_6")}}function yl(i,t){if(i&1&&(a(0,"p"),d(1),m(2,"stripHtml"),s()),i&2){let e=l().$implicit;r(),x(" ",f(2,1,e.description)," ")}}function wl(i,t){i&1&&(a(0,"p",147),d(1),m(2,"transloco"),s()),i&2&&(r(),x("",f(2,1,"dash_board.noDescription")," "))}function Pl(i,t){if(i&1&&(a(0,"span",150),d(1),s()),i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.strikePrice," ")}}function Tl(i,t){if(i&1&&(w(0),a(1,"span",148),d(2),m(3,"transloco"),s(),v(4,Pl,2,2,"span",149),P()),i&2){let e=l().$implicit;r(2),y(f(3,2,"dash_board.free")),r(2),_("ngIf",(e.raw==null?null:e.raw.strikeoutPrice)&&e.strikePrice>0)}}function Il(i,t){if(i&1&&(a(0,"span",150),d(1),s()),i&2){let e=l(2).$implicit;r(),x(" ",e.strikePrice," ")}}function El(i,t){if(i&1&&(a(0,"small"),d(1),m(2,"lowercase"),s()),i&2){let e=l(2).$implicit;r(),x(" / ",f(2,1,e.stripeInterval)," ")}}function Sl(i,t){if(i&1&&(a(0,"span",151),d(1),v(2,Il,2,1,"span",149)(3,El,3,3,"small",54),s()),i&2){let e=l().$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price||0," "),r(),_("ngIf",(e.raw==null?null:e.raw.strikeoutPrice)&&e.strikePrice>0),r(),_("ngIf",e.planType==="RECURRING"&&e.stripeInterval)}}function kl(i,t){if(i&1){let e=b();a(0,"tr",138),h("click",function(){let o=u(e).$implicit;return g(o.onClick())})("keyup.enter",function(){let o=u(e).$implicit;return g(o.onClick())}),a(1,"td",139)(2,"div",140)(3,"span",141),d(4),s()()(),a(5,"td",142),v(6,yl,3,3,"p",57),m(7,"stripHtml"),v(8,wl,3,3,"ng-template",null,7,M),s(),a(10,"td",143),v(11,Tl,5,4,"ng-container",57)(12,Sl,4,4,"ng-template",null,8,M),s(),a(14,"td",144)(15,"button",145),h("click",function(o){let c=u(e).$implicit;return o.stopPropagation(),g(c.onClick())}),C(16,"i",146),s()()()}if(i&2){let e,n=t.$implicit,o=S(9),c=S(13);r(4),y(n.name),r(2),_("ngIf",(e=f(7,6,n.description))==null?null:e.trim())("ngIfElse",o),r(5),_("ngIf",(n.planType==="FREE"||n.planType==null)&&!n.price)("ngIfElse",c),r(4),I("aria-label",n.actionLabel+" "+n.name)}}function Ol(i,t){if(i&1&&(a(0,"table",132)(1,"thead")(2,"tr")(3,"th",133),d(4),s(),a(5,"th",134),d(6),m(7,"transloco"),s(),a(8,"th",135),d(9),m(10,"transloco"),s(),C(11,"th",136),s()(),a(12,"tbody"),v(13,kl,17,8,"tr",137),s()()),i&2){let e=l(4);r(4),y(e.tableNameHeader),r(2),y(f(7,5,"dash_board.descriptionHeader")),r(3),y(f(10,7,"dash_board.priceHeader")),r(4),_("ngForOf",e.pagedTableRows)("ngForTrackBy",e.trackByItem)}}function Ml(i,t){if(i&1&&(a(0,"div",152),C(1,"i",153),a(2,"p"),d(3),s()()),i&2){let e=l(4);r(3),y(e.searchQuery?'No results match "'+e.searchQuery+'"':"Nothing to show here yet.")}}function Bl(i,t){if(i&1&&(a(0,"option",163),d(1),s()),i&2){let e=t.$implicit;_("ngValue",e),r(),y(e)}}function Dl(i,t){if(i&1){let e=b();a(0,"button",165),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g(c.goToPage(+o))}),d(1),s()}if(i&2){let e=l().$implicit,n=l(5);k("is-active",e===n.currentPage),I("aria-current",e===n.currentPage?"page":null),r(),x(" ",e," ")}}function Al(i,t){i&1&&(a(0,"span",166),d(1,"\u2026"),s())}function Vl(i,t){if(i&1&&(w(0),v(1,Dl,2,4,"button",164)(2,Al,2,0,"ng-template",null,9,M),P()),i&2){let e=t.$implicit,n=S(3);r(),_("ngIf",e!=="\u2026")("ngIfElse",n)}}function Fl(i,t){if(i&1){let e=b();a(0,"div",154)(1,"div",155)(2,"span"),d(3),s(),a(4,"div",156)(5,"label",157),d(6),m(7,"transloco"),s(),a(8,"select",158),h("ngModelChange",function(o){u(e);let c=l(4);return g(c.changePageSize(o))}),v(9,Bl,2,2,"option",159),s()()(),a(10,"nav",160),m(11,"transloco"),a(12,"button",161),m(13,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.prevPage())}),C(14,"i",162),s(),v(15,Vl,4,2,"ng-container",81),a(16,"button",161),m(17,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.nextPage())}),C(18,"i",146),s()()()}if(i&2){let e=l(4);r(3),je("Showing ",e.pageStartIndex,"\u2013",e.pageEndIndex," of ",e.filteredTableRows.length),r(3),y(f(7,13,"dash_board.rowsPerPage")),r(2),_("ngModel",e.pageSize),r(),_("ngForOf",e.pageSizeOptions),r(),I("aria-label",f(11,15,"dash_board.paginationAria")),r(2),_("disabled",e.currentPage===1),I("aria-label",f(13,17,"dash_board.previousPage")),r(3),_("ngForOf",e.pageNumbers)("ngForTrackBy",e.trackByItem),r(),_("disabled",e.currentPage===e.totalPages),I("aria-label",f(17,19,"dash_board.nextPage"))}}function Ll(i,t){if(i&1&&(a(0,"div",128),v(1,Ol,14,9,"table",129)(2,Ml,4,1,"div",130)(3,Fl,19,21,"div",131),s()),i&2){let e=l(3);r(),_("ngIf",e.filteredTableRows.length>0),r(),_("ngIf",e.filteredTableRows.length===0),r(),_("ngIf",e.filteredTableRows.length>0)}}function Ul(i,t){if(i&1){let e=b();a(0,"div",179)(1,"div",180)(2,"ngx-bootstrap-multiselect",181),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagCourseIds,o)||(c.tagCourseIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedCourseTags(o))}),s()(),a(3,"div",182)(4,"button",183),h("click",function(){u(e);let o=l(6);return g(o.getOtherCoursesByTagsFilter(o.activeTab))}),d(5),m(6,"transloco"),C(7,"span",184),s(),a(8,"button",185),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsCourses)("texts",e.myTextsCourses
6)("settings",e.mySettings),U("ngModel",e.tagCourseIds),r(2),_("disabled",e.tagsLoading||!(e.tagCourseIds!=null&&e.tagCourseIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function Nl(i,t){i&1&&(a(0,"p",187),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Rl(i,t){if(i&1&&v(0,Nl,3,3,"p",186),i&2){let e=l(6);_("ngIf",e.activeTab==="tab_1"||e.activeTab==="tab_3")}}function zl(i,t){if(i&1){let e=b();a(0,"div",179)(1,"div",188)(2,"ngx-bootstrap-multiselect",181),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagMasterclassIds,o)||(c.tagMasterclassIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedMasterclassTags(o))}),s()(),a(3,"div",182)(4,"button",183),h("click",function(){u(e);let o=l(6);return g(o.getOtherMasterclassByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",184),s(),a(8,"button",185),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsMasterclass)("texts",e.myTextsMasterclass)("settings",e.mySettings),U("ngModel",e.tagMasterclassIds),r(2),_("disabled",e.tagsLoading||!(e.tagMasterclassIds!=null&&e.tagMasterclassIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function $l(i,t){i&1&&(a(0,"p",187),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function jl(i,t){if(i&1&&v(0,$l,3,3,"p",186),i&2){let e=l(6);_("ngIf",e.activeTab==="tab_4")}}function Hl(i,t){if(i&1){let e=b();a(0,"div",179)(1,"div",188)(2,"ngx-bootstrap-multiselect",181),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagDigitalDownloadIds,o)||(c.tagDigitalDownloadIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedDigitalDownloadTags(o))}),s()(),a(3,"div",182)(4,"button",183),h("click",function(){u(e);let o=l(6);return g(o.getOtherDigitalDownloadByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",184),s(),a(8,"button",185),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsDigitalDownload)("texts",e.myTextsDigtialDownload)("settings",e.mySettings),U("ngModel",e.tagDigitalDownloadIds),r(2),_("disabled",e.tagsLoading||!(e.tagDigitalDownloadIds!=null&&e.tagDigitalDownloadIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function Wl(i,t){i&1&&(a(0,"p",187),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Yl(i,t){if(i&1&&v(0,Wl,3,3,"p",186),i&2){let e=l(6);_("ngIf",e.activeTab==="tab_5")}}function Ql(i,t){if(i&1){let e=b();a(0,"div",179)(1,"div",188)(2,"ngx-bootstrap-multiselect",181),R("ngModelChange",function(o){u(e);let c=l(6);return N(c.tagProductBundleIds,o)||(c.tagProductBundleIds=o),g(o)}),h("ngModelChange",function(o){u(e);let c=l(6);return g(c.getSelectedProductBundleTags(o))}),s()(),a(3,"div",182)(4,"button",183),h("click",function(){u(e);let o=l(6);return g(o.getOtherProductBundleByTagsFilter())}),d(5),m(6,"transloco"),C(7,"span",184),s(),a(8,"button",185),h("click",function(){u(e);let o=l(6);return g(o.clear())}),d(9),m(10,"transloco"),s()()()}if(i&2){let e=l(6);r(2),_("id",$("tag",e.k))("name",$("tag",e.k))("options",e.myOptionsProductBundle)("texts",e.myTextsProductBundle)("settings",e.mySettings),U("ngModel",e.tagProductBundleIds),r(2),_("disabled",e.tagsLoading||!(e.tagProductBundleIds!=null&&e.tagProductBundleIds.length)),r(),x(" ",f(6,12,"dash_board.apply")," "),r(2),_("ngClass",e.tagsLoading?"fa-spinner fa-spin":""),r(2),x(" ",f(10,14,"dash_board.clear")," ")}}function Zl(i,t){i&1&&(a(0,"p",187),d(1),m(2,"transloco"),s()),i&2&&(r(),x(" ",f(2,1,"dash_board.noTagsAddedYet")))}function Gl(i,t){if(i&1&&v(0,Zl,3,3,"p",186),i&2){let e=l(6);_("ngIf",e.activeTab==="tab_2")}}function Jl(i,t){if(i&1&&(a(0,"div",174)(1,"div",175)(2,"h6",176),d(3),m(4,"transloco"),s(),C(5,"div",177),v(6,Ul,11,16,"div",178)(7,Rl,1,1,"ng-template",null,10,M)(9,zl,11,16,"div",178)(10,jl,1,1,"ng-template",null,11,M)(12,Hl,11,16,"div",178)(13,Yl,1,1,"ng-template",null,12,M)(15,Ql,11,16,"div",178)(16,Gl,1,1,"ng-template",null,13,M),s()()),i&2){let e=S(8),n=S(11),o=S(14),c=S(17),p=l(5);r(3),x(" ",f(4,9,"dash_board.filterByTag")," "),r(3),_("ngIf",p.myOptionsCourses.length>0&&(p.activeTab==="tab_1"||p.activeTab==="tab_3"||p.activeTab==="tab_8"))("ngIfElse",e),r(3),_("ngIf",p.myOptionsMasterclass.length>0&&p.activeTab==="tab_4")("ngIfElse",n),r(3),_("ngIf",p.myOptionsDigitalDownload.length>0&&p.activeTab==="tab_5")("ngIfElse",o),r(3),_("ngIf",p.myOptionsProductBundle.length>0&&p.activeTab==="tab_2")("ngIfElse",c)}}function ql(i,t){if(i&1){let e=b();a(0,"div")(1,"div",168)(2,"a",169),m(3,"transloco"),h("click",function(){u(e);let o=l(4);return g(o.openFilters())}),a(4,"p",170),C(5,"i",171),d(6),m(7,"transloco"),s()()(),a(8,"div",172),v(9,Jl,18,11,"div",173),s()()}if(i&2){let e=l(4);r(2),_("mdbTooltip",f(3,4,"dash_board.filters"))("ngClass",He(8,Ga,!e.showFilters)),r(4),y(f(7,6,"dash_board.tags")),r(3),_("ngIf",e.filters)}}function Kl(i,t){if(i&1&&(a(0,"div",167),v(1,ql,10,10,"div",54),s()),i&2){let e=l(3);r(),_("ngIf",(e.myOptionsCourses.length>0||e.myOptionsScorm.length>0||e.myOptionsMasterclass.length>0||e.myOptionsDigitalDownload.length>0||e.myOptionsProductBundle.length>0)&&(e.activeTab==="tab_1"||e.activeTab==="tab_4"||e.activeTab==="tab_3"||e.activeTab==="tab_2"||e.activeTab==="tab_5"||e.activeTab==="tab_8"))}}function Xl(i,t){if(i&1&&(a(0,"p",206),d(1),m(2,"transloco"),m(3,"date"),s()),i&2){let e=l().$implicit;r(),E(" ",f(2,2,"dash_board.expiresOn")," : ",z(3,4,e.expiredTime*1e3,"dd-MMM-yyyy")," ")}}function ec(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function tc(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function nc(i,t){if(i&1&&(a(0,"div",209),d(1),v(2,ec,3,3,"span",210)(3,tc,4,1,"span",211),s()),i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function ic(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function oc(i,t){if(i&1&&(a(0,"div",215),d(1),m(2,"transloco"),v(3,ic,3,2,"span",216),s()),i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function rc(i,t){if(i&1&&(w(0),v(1,nc,4,4,"div",207)(2,oc,4,4,"div",208),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function ac(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.courseId,o.planId,"Course"):c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function lc(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224,15),d(5),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(2),y(e.tagName)}}function cc(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.courseId,"course",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="course")("aria-label","Show all "+e.tags.length+" tags"),r(3),x("+",e.tags.length-3)}}function sc(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,lc,6,2,"ng-container",81)(4,cc,4,3,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function _c(i,t){i&1&&C(0,"div",220)}function dc(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",191)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"div",197)(8,"p",198),d(9),m(10,"transloco"),m(11,"transloco"),s(),v(12,Xl,4,7,"p",199),s(),a(13,"h5",200),d(14),s(),a(15,"div",201)(16,"p",202),m(17,"stripHtml"),d(18),s()()(),a(19,"div",203)(20,"div",204),v(21,rc,3,2,"ng-container",54)(22,ac,3,3,"button",205),s()()(),v(23,sc,5,3,"ng-container",57)(24,_c,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(25),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(4),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(10,14,"dash_board.playlist"):f(11,16,"dash_board.course")," "),r(3),_("ngIf",e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x("",e.courseName," "),r(2),_("appEllipsisTooltip",f(17,18,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function pc(i,t){if(i&1&&(w(0),v(1,dc,26,20,"div",189),m(2,"searchFilter"),P()),i&2){let e=l(4);r(),_("ngForOf",V(2,2,e.otherCourses,e.searchQuery,D(6,Me)))("ngForTrackBy",e.trackByItem)}}function mc(i,t){if(i&1&&(a(0,"div",56),v(1,pc,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherCourses!=0&&(n.productsCount==null?null:n.productsCount.courses)!=0)("ngIfElse",e)}}function uc(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function gc(i,t){if(i&1&&(a(0,"div",209),d(1),a(2,"span",212),d(3),m(4,"lowercase"),s(),v(5,uc,4,1,"span",211),s()),i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(2),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(4,4,e.stripeInterval)," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function fc(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function vc(i,t){if(i&1&&(a(0,"div",215),d(1),m(2,"transloco"),v(3,fc,3,2,"span",216),s()),i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function xc(i,t){if(i&1&&(w(0),v(1,gc,6,6,"div",207)(2,vc,4,4,"div",208),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function hc(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.courseId,o.planId,"Course"):c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Cc(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function bc(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.courseId,"playlist",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="playlist"),r(3),x("+",e.tags.length-3)}}function yc(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Cc,5,2,"ng-container",81)(4,bc,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function wc(i,t){i&1&&C(0,"div",220)}function Pc(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",228),d(8),m(9,"transloco"),m(10,"transloco"),s(),a(11,"h5",200),d(12),s(),a(13,"div",201)(14,"p",202),m(15,"stripHtml"),d(16),s()()(),a(17,"div",203)(18,"div",204),v(19,xc,3,2,"ng-container",54)(20,hc,3,3,"button",205),s()()(),v(21,yc,5,3,"ng-container",57)(22,wc,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(23),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultPlaylistImage,A),r(3),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(9,13,"dash_board.playlist"):f(10,
615,"dash_board.course")," "),r(3),_("appEllipsisTooltip",e.courseName),r(),x("",e.courseName," "),r(2),_("appEllipsisTooltip",f(15,17,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Tc(i,t){if(i&1&&(w(0),v(1,Pc,24,19,"div",189),m(2,"searchFilter"),P()),i&2){let e=l(4);r(),_("ngForOf",V(2,2,e.otherplayList,e.searchQuery,D(6,Me)))("ngForTrackBy",e.trackByItem)}}function Ic(i,t){if(i&1&&(a(0,"div",56),v(1,Tc,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherplayList!=0&&(n.productsCount==null?null:n.productsCount.playlist)!=0)("ngIfElse",e)}}function Ec(i,t){i&1&&(a(0,"div",240),C(1,"i",241)(2,"span",242)(3,"i",243),s())}function Sc(i,t){i&1&&(a(0,"div",244),C(1,"i",241),s())}function kc(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),x(" \u2022 ",e.tz)}}function Oc(i,t){if(i&1&&(a(0,"div",238),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.endDate||e.startDate," ",e.endTime," ")}}function Mc(i,t){if(i&1&&(a(0,"div",232)(1,"div",233),C(2,"i",234),v(3,Ec,4,0,"div",235)(4,Sc,2,0,"div",236),a(5,"div",237)(6,"div",238),d(7),v(8,kc,2,1,"span",54),s(),v(9,Oc,2,2,"div",239),s()()()),i&2){let e=t.$implicit;r(3),_("ngIf",e.endDate||e.endTime),r(),_("ngIf",!e.endDate&&!e.endTime),r(3),E(" ",e.startDate," ",e.startTime),r(),_("ngIf",e.tz),r(),_("ngIf",e.endDate||e.endTime)}}function Bc(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function Dc(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function Ac(i,t){if(i&1&&(a(0,"div",209),d(1),v(2,Bc,3,3,"span",210)(3,Dc,4,1,"span",211),s()),i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Vc(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function Fc(i,t){if(i&1&&(a(0,"div",215),d(1),m(2,"transloco"),v(3,Vc,3,2,"span",216),s()),i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Lc(i,t){if(i&1&&(w(0),v(1,Ac,4,4,"div",207)(2,Fc,4,4,"div",208),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.price>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.price==0)}}function Uc(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g((o.planType==="FREE"||o.planType==null)&&o.price==0?c.openEnrollNowModal(o.masterclassId,o.planId,"Masterclass"):c.openCheckoutModal(o.masterclassId,o.planId,"Masterclass",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Nc(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",245)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Rc(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.masterclassId,"masterclass",c.tags,o))}),a(1,"div",245)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.masterclassId&&n.showAllTagsType==="masterclass"),r(3),x("+",e.tags.length-3," ")}}function zc(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Nc,5,2,"ng-container",81)(4,Rc,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function $c(i,t){i&1&&C(0,"div",220)}function jc(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",230),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),v(12,Mc,10,6,"div",231),s(),a(13,"div",204),v(14,Lc,3,2,"ng-container",54)(15,Uc,3,3,"button",205),s()(),v(16,zc,5,3,"ng-container",57)(17,$c,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(18),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultMasterclassImage,A),r(4),x(" ",f(9,11,"dash_board.masterclass")," "),r(2),_("appEllipsisTooltip",e.title),r(),x("",e.title," "),r(),_("ngIf",o.getMasterclassDateInfo(e)),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Hc(i,t){if(i&1&&(w(0),v(1,jc,19,13,"div",229),m(2,"searchFilter"),P()),i&2){let e=l(4);
6r(),_("ngForOf",V(2,2,e.otherMasterclass,e.searchQuery,D(6,Dn)))("ngForTrackBy",e.trackByItem)}}function Wc(i,t){if(i&1&&(a(0,"div",56),v(1,Hc,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherMasterclass!=0&&(n.productsCount==null?null:n.productsCount.masterclass)!=0)("ngIfElse",e)}}function Yc(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",(e==null?null:e.stripeInterval)=="QUARTER"?"every 3 months":(e==null?null:e.stripeInterval)=="HALF_YEARLY"?"every 6 months":f(2,1,e==null?null:e.stripeInterval)," ")}}function Qc(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e==null?null:e.strikeoutAmount)}}function Zc(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.openCheckoutModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload",o))}),d(1),v(2,Yc,3,3,"span",210)(3,Qc,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.price," "),r(),_("ngIf",(e==null?null:e.planType)=="RECURRING"),r(),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function Gc(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.strikeoutAmount)}}function Jc(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.openEnrollNowModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload"))}),d(1),m(2,"transloco"),v(3,Gc,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function qc(i,t){if(i&1&&(w(0),v(1,Zc,4,4,"div",248)(2,Jc,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",(e==null?null:e.price)>0),r(),_("ngIf",((e==null?null:e.planType)=="FREE"||(e==null?null:e.planType)==null)&&(e==null?null:e.price)==0)}}function Kc(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g(((o==null?null:o.planType)==="FREE"||(o==null?null:o.planType)==null)&&(o==null?null:o.price)==0?c.openEnrollNowModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload"):c.openCheckoutModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Xc(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function es(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===(e==null?null:e.digitalDownloadId)&&n.showAllTagsType==="digitalDownload"),r(3),x("+",(e==null?null:e.tags.length)-3," ")}}function ts(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Xc,5,2,"ng-container",81)(4,es,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e==null?null:e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.tags.length)>3)}}function ns(i,t){i&1&&C(0,"div",220)}function is(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(7,"p",246),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),a(12,"div",247)(13,"p",202),m(14,"stripHtml"),d(15),s()()(),a(16,"div",204),v(1
67,qc,3,2,"ng-container",54)(18,Kc,3,3,"button",205),s()(),v(19,ts,5,3,"ng-container",57)(20,ns,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultDigitalDownloadImage,A),r(4),x(" ",f(9,12,"dash_board.digitalDownload")," "),r(2),_("appEllipsisTooltip",e==null?null:e.title),r(),x(" ",e==null?null:e.title," "),r(2),_("appEllipsisTooltip",f(14,14,e==null?null:e.description)),r(2),x(" ",e==null?null:e.description," "),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e==null||e.tags==null?null:e.tags.length)("ngIfElse",n)}}function os(i,t){if(i&1&&(w(0),v(1,is,22,16,"div",189),m(2,"searchFilter"),P()),i&2){let e=l(4);r(),_("ngForOf",V(2,2,e.otherDigitaldownloads,e.searchQuery,D(6,An)))("ngForTrackBy",e.trackByItem)}}function rs(i,t){if(i&1&&(a(0,"div",56),v(1,os,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherDigitaldownloads!=0&&(n.productsCount==null?null:n.productsCount.digitalDownload)!=0)("ngIfElse",e)}}function as(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",(e==null?null:e.stripeInterval)=="QUARTER"?"every 3 months":(e==null?null:e.stripeInterval)=="HALF_YEARLY"?"every 6 months":f(2,1,e==null?null:e.stripeInterval)," ")}}function ls(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e==null?null:e.strikeoutAmount)}}function cs(i,t){if(i&1&&(a(0,"div",209),d(1),v(2,as,3,3,"span",210)(3,ls,4,1,"span",211),s()),i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.amount," "),r(),_("ngIf",(e==null?null:e.planType)=="RECURRING"),r(),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function ss(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.strikeoutAmount)}}function _s(i,t){if(i&1&&(a(0,"div",215),d(1),m(2,"transloco"),v(3,ss,3,2,"span",216),s()),i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function ds(i,t){if(i&1&&(w(0),v(1,cs,4,4,"div",207)(2,_s,4,4,"div",208),P()),i&2){let e=l().$implicit;r(),_("ngIf",(e==null?null:e.amount)>0),r(),_("ngIf",((e==null?null:e.planType)=="FREE"||(e==null?null:e.planType)==null)&&(e==null?null:e.amount)==0)}}function ps(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g(((o==null?null:o.planType)==="FREE"||(o==null?null:o.planType)==null)&&(o==null?null:o.amount)==0?c.openEnrollNowModal(o==null?null:o.courseId,o==null?null:o.planId,"Course"):c.openCheckoutModal(o==null?null:o.courseId,o==null?null:o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function ms(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224,15),d(5),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(2),y(e.tagName)}}function us(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===(e==null?null:e.courseId)&&n.showAllTagsType==="cohort"),r(3),x("+",(e==null?null:e.tags.length)-3)}}function gs(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,ms,6,2,"ng-container",81)(4,us,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e==null?null:e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.tags.length)>3)}}function fs(i,t){i&1&&C(0,"div",220)}function vs(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",191)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(7,"div",197)(8,"p",252),d(9),m(10,"transloco"),s()(),a(11,"h5",200),d(12),s(),a(13,"div",201)(14,"p",202),m(15,"stripHtml"),d(16),s()(),a(17,"div",253)(18,"div",254),C(19,"i",255),a(20,"p",256),d(21),m(22,"transloco"),a(23,"span"),d(24),m(25,"date"),m(26,"date"),s()()()()(),a(27,"div",203)(28,"div",204),v(29,ds,3,2,"ng-container",54)(30,ps,3,3,"button",205),s()()(),v(31,gs,5,3,"ng-container",57)(32,fs,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(33),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultCohortImage,A),r(5),x(" ",f(10,15,"dash_board.cohort")," "),r(2),_("appEllipsisTooltip",e==null?null:e.courseName),r(),x("",e==null?null:e.courseName," "),r(2),_("appEllipsisTooltip",f(15,17,e==null?null:e.courseDescription)),r(2),x(" ",e==null?null:e.courseDescription," "),r(5),x(" ",f(22,19,"dash_board.date")," "),r(3),E(" ",z(25,21,(e==null?null:e.startDate)*1e3,"MMM dd, yyyy")," (",z(26,24,(e==null?null:e.startDate)*1e3,"ZZZZ"),") "),r(5),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e==null||e.tags==null?null:e.tags.length)("ngIfElse",n)}}function xs(i,t){if(i&1&&(w(0),v(1,vs,34,27,"div",189),m(2,"searchFilter"),P()),i&2){let e=l(4);r(),_("ngForOf",V(2,2,e.otherCohorts,e.searchQuery,D(6,Me)))("ngForTrackBy",e.trackByItem)}}function hs(i,t){if(i&1&&(a(0,"div",56),v(1,xs,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherCohorts!=0&&(n.productsCount==null?null:n.productsCount.cohorts)!=0)("ngIfElse",e)}}function Cs(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function bs(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function ys(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.openCheckoutModal(o.id,o.planId,"ProductBundle",o))}),d(1),v(2,Cs,3,3,"span",210)(3,bs,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(5);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function ws(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(5);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function Ps(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.openEnrollNowModal(o.id,o.planId,"ProductBundle"))}),d(1),m(2,"transloco"),v(3,ws,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Ts(i,t){if(i&1&&(w(0),v(1,ys,4,4,"div",248)(2,Ps,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function Is(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(5);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.id,o.planId,"ProductBundle"):c.openCheckoutModal(o.id,o.planId,"ProductBundle",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Es(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Ss(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(5);return g(p.hoverAllTags(c.id,"productBundle",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(5);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="productBundle"),r(3),x("+",e.tags.length-3," ")}}function ks(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Es,5,2,"ng-container",81)(4,Ss,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(5);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Os(i,t){i&1&&C(0,"div",258)}function Ms(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(5);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",257),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),a(12,"div",247)(13,"p",202),m(14,"stripHtml"),d(15),s()()(),a(16,"div",204),v(1
67,Ts,3,2,"ng-container",54)(18,Is,3,3,"button",205),s()(),v(19,ks,5,3,"ng-container",57)(20,Os,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(5);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultProductBundleImage,A),r(4),x(" ",f(9,12,"dash_board.productbundle")," "),r(2),_("appEllipsisTooltip",e.name),r(),x("",e.name," "),r(2),_("appEllipsisTooltip",f(14,14,e.description)),r(2),x(" ",e.description," "),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Bs(i,t){if(i&1&&(w(0),v(1,Ms,22,16,"div",189),m(2,"searchFilter"),P()),i&2){let e=l(4);r(),_("ngForOf",V(2,2,e.otherProductBundles,e.searchQuery,D(6,Vn)))("ngForTrackBy",e.trackByItem)}}function Ds(i,t){if(i&1&&(a(0,"div",56),v(1,Bs,3,7,"ng-container",57),s()),i&2){l(2);let e=S(2),n=l();r(),_("ngIf",n.otherProductBundles!=0&&(n.productsCount==null?null:n.productsCount.productBundle)!=0)("ngIfElse",e)}}function As(i,t){if(i&1&&(a(0,"p",206),d(1),m(2,"transloco"),m(3,"date"),s()),i&2){let e=l().$implicit;r(),E(" ",f(2,2,"dash_board.expiresOn")," : ",z(3,4,e.expiredTime*1e3,"dd-MMM-yyyy")," ")}}function Vs(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function Fs(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function Ls(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),v(2,Vs,3,3,"span",210)(3,Fs,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Us(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function Ns(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.courseId,o.planId,"Course"))}),d(1),m(2,"transloco"),v(3,Us,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Rs(i,t){if(i&1&&(w(0),v(1,Ls,4,4,"div",248)(2,Ns,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function zs(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.courseId,o.planId,"Course"):c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function $s(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function js(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"course",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.courseId,"course",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="course"),r(3),x("+",e.tags.length-3)}}function Hs(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,$s,5,2,"ng-container",81)(4,js,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Ws(i,t){i&1&&C(0,"div",220)}function Ys(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"div",197)(8,"p",198),d(9),m(10,"transloco"),m(11,"transloco"),s(),v(12,As,4,7,"p",199),s(),a(13,"h5",200),d(14),s(),a(15,"div",201)(16,"p",202),m(17,"stripHtml"),d(18),s()()(),a(19,"div",203)(20,"div",204),v(21,Rs,3,2,"ng-container",54)(22,zs,3,3,"button",205),s()()(),v(23,Hs,5,3,"ng-container",57)(24,Ws,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(25),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(4),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(10,14,"dash_board.playlist"):f(11,16,"dash_board.course")," "),r(3),_("ngIf",e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.courseName),r(),x("",e.courseName," "),r(2),_("appEllipsisTooltip",f(17,18,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Qs(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function Zs(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),a(2,"span",212),d(3),m(4,"lowercase"),s(),v(5,Qs,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(2),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(4,4,e.stripeInterval)," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Gs(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function Js(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.courseId,o.planId,"Course"))}),d(1),m(2,"transloco"),v(3,Gs,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function qs(i,t){if(i&1&&(w(0),v(1,Zs,6,6,"div",248)(2,Js,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function Ks(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.courseId,o.planId,"Course"):c.openCheckoutModal(o.courseId,o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Xs(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function e_(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.courseId,"playlist",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.courseId,"playlist",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.courseId&&n.showAllTagsType==="playlist"),r(3),x("+",e.tags.length-3)}}function t_(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Xs,5,2,"ng-container",81)(4,e_,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function n_(i,t){i&1&&C(0,"div",220)}function i_(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",228),d(8),m(9,"transloco"),m(10,"transloco"),s(),a(11,"h5",200),d(12),s(),a(13,"div",201)(14,"p",202),m(15,"stripHtml"),d(16),s()()(),a(17,"div",260)(18,"div",204),v(19,qs,3,2,"ng-container",54)(20,Ks,3,3,"button",205),s()()(),v(21,t_,5,3,"ng-container",57)(22,n_,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(23),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultPlaylistImage,A),r(3),_("ngClass",(e==null?null:e.courseType)=="PLAYLIST"?"fresh__text__9a2da6":"fresh__text__2C7BF7"),r(),x(" ",(e==null?null:e.courseType)=="PLAYLIST"?f(9,13,"dash_board.playlist"):f(10,
615,"dash_board.course")," "),r(3),_("appEllipsisTooltip",e.courseName),r(),x("",e.courseName," "),r(2),_("appEllipsisTooltip",f(15,17,e.courseDescription)),r(2),x(" ",e.courseDescription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function o_(i,t){i&1&&(a(0,"div",240),C(1,"i",241)(2,"span",242)(3,"i",243),s())}function r_(i,t){i&1&&(a(0,"div",244),C(1,"i",241),s())}function a_(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),x(" \u2022 ",e.tz)}}function l_(i,t){if(i&1&&(a(0,"div",238),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.endDate||e.startDate," ",e.endTime," ")}}function c_(i,t){if(i&1&&(a(0,"div",232)(1,"div",233),C(2,"i",234),v(3,o_,4,0,"div",235)(4,r_,2,0,"div",236),a(5,"div",237)(6,"div",238),d(7),v(8,a_,2,1,"span",54),s(),v(9,l_,2,2,"div",239),s()()()),i&2){let e=t.$implicit;r(3),_("ngIf",e.endDate||e.endTime),r(),_("ngIf",!e.endDate&&!e.endTime),r(3),E(" ",e.startDate," ",e.startTime),r(),_("ngIf",e.tz),r(),_("ngIf",e.endDate||e.endTime)}}function s_(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function __(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function d_(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.masterclassId,o.planId,"Masterclass",o))}),d(1),v(2,s_,3,3,"span",210)(3,__,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function p_(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function m_(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.masterclassId,o.planId,"Masterclass"))}),d(1),m(2,"transloco"),v(3,p_,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function u_(i,t){if(i&1&&(w(0),v(1,d_,4,4,"div",248)(2,m_,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.price>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.price==0)}}function g_(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.price==0?c.openEnrollNowModal(o.masterclassId,o.planId,"Masterclass"):c.openCheckoutModal(o.masterclassId,o.planId,"Masterclass",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function f_(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",245)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),x("",e.tagName," ")}}function v_(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.masterclassId,"masterclass",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.masterclassId,"masterclass",c.tags,o))}),a(1,"div",245)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.masterclassId&&n.showAllTagsType==="masterclass"),r(3),x("+",e.tags.length-3)}}function x_(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,f_,5,2,"ng-container",81)(4,v_,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function h_(i,t){i&1&&C(0,"div",220)}function C_(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",230),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),v(12,c_,10,6,"div",231),s(),a(13,"div",261),v(14,u_,3,2,"ng-container",54)(15,g_,3,3,"button",205),s()(),v(16,x_,5,3,"ng-container",57)(17,h_,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(18),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultMasterclassImage,A),r(4),x(" ",f(9,11,"dash_board.masterclass")," "),r(2),_("appEllipsisTooltip",e.title),r(),y(e.title),r(),_("ngIf",o.getMasterclassDateInfo(e)),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function b_(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function y_(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function w_(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.id,o.planId,"ProductBundle",o))}),d(1),v(2,b_,3,3,"span",210)(3,y_,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.amount," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function P_(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function T_(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.id,o.planId,"ProductBundle"))}),d(1),m(2,"transloco"),v(3,P_,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function I_(i,t){if(i&1&&(w(0),v(1,w_,4,4,"div",248)(2,T_,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.amount>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.amount==0)}}function E_(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.amount==0?c.openEnrollNowModal(o.id,o.planId,"ProductBundle"):c.openCheckoutModal(o.id,o.planId,"ProductBundle",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function S_(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),x("",e.tagName," ")}}function k_(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.id,"productBundle",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.id,"productBundle",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.id&&n.showAllTagsType==="productBundle"),r(3),x("+",e.tags.length-3)}}function O_(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,S_,5,2,"ng-container",81)(4,k_,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function M_(i,t){i&1&&C(0,"div",220)}function B_(i,t){if(i&1){let e=b();a(0,"div",262)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"p",257),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),a(12,"div",201)(13,"p",202),m(14,"stripHtml"),d(15),s()()(),a(16,"div",204),v(1
67,I_,3,2,"ng-container",54)(18,E_,3,3,"button",205),s()(),v(19,O_,5,3,"ng-container",57)(20,M_,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultProductBundleImage,A),r(4),x(" ",f(9,12,"dash_board.productbundle")," "),r(2),_("appEllipsisTooltip",e.name),r(),y(e.name),r(2),_("appEllipsisTooltip",f(14,14,e.description)),r(2),x(" ",e.description," "),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function D_(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",(e==null?null:e.stripeInterval)=="QUARTER"?"every 3 months":(e==null?null:e.stripeInterval)=="HALF_YEARLY"?"every 6 months":f(2,1,e==null?null:e.stripeInterval)," ")}}function A_(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e==null?null:e.strikeoutAmount)}}function V_(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload",o))}),d(1),v(2,D_,3,3,"span",210)(3,A_,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.price," "),r(),_("ngIf",(e==null?null:e.planType)=="RECURRING"),r(),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function F_(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.strikeoutAmount)}}function L_(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload"))}),d(1),m(2,"transloco"),v(3,F_,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function U_(i,t){if(i&1&&(w(0),v(1,V_,4,4,"div",248)(2,L_,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",(e==null?null:e.price)>0),r(),_("ngIf",((e==null?null:e.planType)=="FREE"||(e==null?null:e.planType)==null)&&(e==null?null:e.price)==0)}}function N_(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(((o==null?null:o.planType)==="FREE"||(o==null?null:o.planType)==null)&&(o==null?null:o.price)==0?c.openEnrollNowModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload"):c.openCheckoutModal(o==null?null:o.digitalDownloadId,o==null?null:o.planId,"DigitalDownload",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function R_(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),x("",e.tagName," ")}}function z_(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c==null?null:c.digitalDownloadId,"digitalDownload",c==null?null:c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===(e==null?null:e.digitalDownloadId)&&n.showAllTagsType==="digitalDownload"),r(3),x("+",(e==null?null:e.tags.length)-3," ")}}function $_(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,R_,5,2,"ng-container",81)(4,z_,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e==null?null:e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.tags.length)>3)}}function j_(i,t){i&1&&C(0,"div",220)}function H_(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(7,"p",246),d(8),m(9,"transloco"),s(),a(10,"h5",200),d(11),s(),a(12,"div",201)(13,"p",202),m(14,"stripHtml"),d(15),s()()(),a(16,"div",204),v(1
67,U_,3,2,"ng-container",54)(18,N_,3,3,"button",205),s()(),v(19,$_,5,3,"ng-container",57)(20,j_,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(21),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultDigitalDownloadImage,A),r(4),x(" ",f(9,12,"dash_board.digitalDownload")," "),r(2),_("appEllipsisTooltip",e==null?null:e.title),r(),x("",e==null?null:e.title," "),r(2),_("appEllipsisTooltip",f(14,14,e==null?null:e.description)),r(2),x(" ",e==null?null:e.description," "),r(2),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e==null||e.tags==null?null:e.tags.length)("ngIfElse",n)}}function W_(i,t){if(i&1&&(a(0,"p",206),d(1),m(2,"transloco"),m(3,"date"),s()),i&2){let e=l().$implicit;r(),E(" ",f(2,2,"dash_board.expiresOn")," : ",z(3,4,e.expiredTime*1e3,"dd-MMM-yyyy")," ")}}function Y_(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function Q_(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function Z_(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.scormId,o.planId,"Scorm",o))}),d(1),v(2,Y_,3,3,"span",210)(3,Q_,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function G_(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function J_(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.scormId,o.planId,"Scorm"))}),d(1),m(2,"transloco"),v(3,G_,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function q_(i,t){if(i&1&&(w(0),v(1,Z_,4,4,"div",248)(2,J_,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.price>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.price==0)}}function K_(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.price==0?c.openEnrollNowModal(o.scormId,o.planId,"Scorm"):c.openCheckoutModal(o.scormId,o.planId,"Scorm",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function X_(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function ed(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.scormId,"scorm",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.scormId&&n.showAllTagsType==="scorm"),r(3),x("+",e.tags.length-3)}}function td(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,X_,5,2,"ng-container",81)(4,ed,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function nd(i,t){i&1&&C(0,"div",220)}function id(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"div",197)(8,"p",252),d(9),m(10,"transloco"),s(),v(11,W_,4,7,"p",199),s(),a(12,"h5",200),d(13),s(),a(14,"div",201)(15,"p",202),m(16,"stripHtml"),d(17),s()()(),a(18,"div",203)(19,"div",204),v(20,q_,3,2,"ng-container",54)(21,K_,3,3,"button",205),s()()(),v(22,td,5,3,"ng-container",57)(23,nd,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(24),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(5),x(" ",f(10,13,"dash_board.scorm")," "),r(2),_("ngIf",e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.title),r(),x("",e.title," "),r(2),_("appEllipsisTooltip",f(16,15,e.description)),r(2),x(" ",e.de
6scription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function od(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",(e==null?null:e.stripeInterval)=="QUARTER"?"every 3 months":(e==null?null:e.stripeInterval)=="HALF_YEARLY"?"every 6 months":f(2,1,e==null?null:e.stripeInterval)," ")}}function rd(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e==null?null:e.strikeoutAmount)}}function ad(i,t){if(i&1&&(a(0,"div",209),d(1),v(2,od,3,3,"span",210)(3,rd,4,1,"span",211),s()),i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.amount," "),r(),_("ngIf",(e==null?null:e.planType)=="RECURRING"),r(),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function ld(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e==null?null:e.currency),"",e==null?null:e.strikeoutAmount)}}function cd(i,t){if(i&1&&(a(0,"div",215),d(1," FREE "),v(2,ld,3,2,"span",216),s()),i&2){let e=l(2).$implicit;r(2),_("ngIf",(e==null?null:e.strikeoutPrice)&&(e==null?null:e.strikeoutAmount)!==void 0)}}function sd(i,t){if(i&1&&(w(0),v(1,ad,4,4,"div",207)(2,cd,3,1,"div",208),P()),i&2){let e=l().$implicit;r(),_("ngIf",(e==null?null:e.amount)>0),r(),_("ngIf",((e==null?null:e.planType)=="FREE"||(e==null?null:e.planType)==null)&&(e==null?null:e.amount)==0)}}function _d(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(((o==null?null:o.planType)==="FREE"||(o==null?null:o.planType)==null)&&(o==null?null:o.amount)==0?c.openEnrollNowModal(o==null?null:o.courseId,o==null?null:o.planId,"Course"):c.openCheckoutModal(o==null?null:o.courseId,o==null?null:o.planId,"Course",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function dd(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224,15),d(5),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(2),y(e.tagName)}}function pd(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c==null?null:c.courseId,"cohort",c==null?null:c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===(e==null?null:e.courseId)&&n.showAllTagsType==="cohort"),r(3),x("+",(e==null?null:e.tags.length)-3)}}function md(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,dd,6,2,"ng-container",81)(4,pd,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e==null?null:e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",(e==null?null:e.tags.length)>3)}}function ud(i,t){i&1&&C(0,"div",220)}function gd(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",191)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o==null?null:o.landingPageUrl,o))}),a(7,"div",197)(8,"p",252),d(9),m(10,"transloco"),s()(),a(11,"h5",200),d(12),s(),a(13,"div",201)(14,"p",202),m(15,"stripHtml"),d(16),s()(),a(17,"div",253)(18,"div",254),C(19,"i",255),a(20,"p",256),d(21," Date: "),a(22,"span"),d(23),m(24,"date"),m(25,"date"),s()()()()(),a(26,"div",203)(27,"div",204),v(28,sd,3,2,"ng-container",54)(29,_d,3,3,"button",205),s()()(),v(30,md,5,3,"ng-container",57)(31,ud,1,0,"ng-template",null,14,M),s()()}if(i&2){let e=t.$implicit,n=S(32),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=null&&(e==null?null:e.imageUrl)!=""?e==null?null:e.imageUrl:o.defaultCohortImage,A),r(5),x(" ",f(10,14,"dash_board.cohort")," "),r(2),_("appEllipsisTooltip",e==null?null:e.courseName),r(),x("",e==null?null:e.courseName," "),r(2),_("appEllipsisTooltip",f(15,16,e==null?null:e.courseDescription)),r(2),x(" ",e==null?null:e.courseDescription," "),r(7),E(" ",z(24,18,(e==null?null:e.startDate)*1e3,"MMM dd, yyyy")," (",z(25,21,(e==null?null:e.startDate)*1e3,"ZZZZ"),") "),r(5),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e==null||e.tags==null?null:e.tags.length)("ngIfElse",n)}}function fd(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.sessionsTotal," ",e.sessionsTotal===1?"session":"sessions"," ")}}function vd(i,t){i&1&&(a(0,"span"),d(1," \xB7 "),s())}function xd(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),y(e.coachName)}}function hd(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(2).$implicit;r(3),y(e.strikeoutAmount)}}function Cd(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),v(2,hd,4,1,"span",211),s()}if(i&2){let e=l().$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.isStrikeoutPrice&&e.strikeoutAmount)}}function bd(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(2).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function yd(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),m(2,"transloco"),v(3,bd,3,2,"span",216),s()}if(i&2){let e=l().$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.isStrikeoutPrice&&e.strikeoutAmount)}}function wd(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Pd(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),a(7,"div",197)(8,"p",263),d(9," 1:1 Coaching "),s()(),a(10,"h5",200),d(11),s(),a(12,"p",264),v(13,fd,2,2,"span",54)(14,vd,2,0,"span",54)(15,xd,2,1,"span",54),s(),a(16,"div",201)(17,"p",202),m(18,"stripHtml"),d(19),m(20,"stripHtml"),s()()(),a(21,"div",203)(22,"div",204),v(23,Cd,3,3,"div",248)(24,yd,4,4,"div",249)(25,wd,3,3,"button",205),s()()()()()}if(i&2){let e=t.$implicit,n=l(4);r(),k("buy-disabled",n.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:n.defaultCourseImage,A),r(6),_("appEllipsisTooltip",e.title),r(),x("",e.title," "),r(2),_("ngIf",e.sessionsTotal>0),r(),_("ngIf",e.sessionsTotal>
60&&e.coachName),r(),_("ngIf",e.coachName),r(2),_("appEllipsisTooltip",f(18,13,e.description)),r(2),x(" ",f(20,15,e.description)," "),r(4),_("ngIf",e.price>0),r(),_("ngIf",(e.pricetype=="FREE"||e.pricetype==null)&&!(e.price>0)),r(),_("ngIf",(n.domainSettingsOtherDTO==null?null:n.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1)}}function Td(i,t){if(i&1&&(a(0,"div",56),v(1,Ys,26,20,"div",189),m(2,"searchFilter"),v(3,i_,24,19,"div",189),m(4,"searchFilter"),v(5,C_,19,13,"div",229),m(6,"searchFilter"),v(7,B_,22,16,"div",259),m(8,"searchFilter"),v(9,H_,22,16,"div",189),m(10,"searchFilter"),v(11,id,25,17,"div",189),m(12,"searchFilter"),v(13,gd,33,24,"div",189),m(14,"searchFilter"),v(15,Pd,26,17,"div",189),m(16,"searchFilter"),s()),i&2){let e=l(3);r(),_("ngForOf",V(2,16,e.unEnrolledProducts.courses,e.searchQuery,D(48,Me)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(4,20,e.unEnrolledProducts.playLists,e.searchQuery,D(49,Me)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(6,24,e.unEnrolledProducts.masterclass,e.searchQuery,D(50,Dn)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(8,28,e.unEnrolledProducts.productbundle,e.searchQuery,D(51,Vn)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(10,32,e.unEnrolledProducts.digitaldownloads,e.searchQuery,D(52,An)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(12,36,e.unEnrolledProducts.scorms,e.searchQuery,D(53,ct)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(14,40,e.unEnrolledProducts.cohorts,e.searchQuery,D(54,Me)))("ngForTrackBy",e.trackByItem),r(2),_("ngForOf",V(16,44,e.unEnrolledProducts.coachings,e.searchQuery,D(55,ct)))("ngForTrackBy",e.trackByItem)}}function Id(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),E(" ",e.sessionsTotal," ",e.sessionsTotal===1?"session":"sessions"," ")}}function Ed(i,t){i&1&&(a(0,"span"),d(1," \xB7 "),s())}function Sd(i,t){if(i&1&&(a(0,"span"),d(1),s()),i&2){let e=l().$implicit;r(),y(e.coachName)}}function kd(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(2).$implicit;r(3),y(e.strikeoutAmount)}}function Od(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),v(2,kd,4,1,"span",211),s()}if(i&2){let e=l().$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.isStrikeoutPrice&&e.strikeoutAmount)}}function Md(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(2).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function Bd(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),m(2,"transloco"),v(3,Md,3,2,"span",216),s()}if(i&2){let e=l().$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.isStrikeoutPrice&&e.strikeoutAmount)}}function Dd(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Ad(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.openCoachingCheckout(o))}),a(7,"div",197)(8,"p",263),d(9," 1:1 Coaching "),s()(),a(10,"h5",200),d(11),s(),a(12,"p",264),v(13,Id,2,2,"span",54)(14,Ed,2,0,"span",54)(15,Sd,2,1,"span",54),s(),a(16,"div",201)(17,"p",202),m(18,"stripHtml"),d(19),m(20,"stripHtml"),s()()(),a(21,"div",203)(22,"div",204),v(23,Od,3,3,"div",248)(24,Bd,4,4,"div",249)(25,Dd,3,3,"button",205),s()()()()()}if(i&2){let e=t.$implicit,n=l(4);r(),k("buy-disabled",n.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:n.defaultCourseImage,A),r(6),_("appEllipsisTooltip",e.title),r(),x("",e.title," "),r(2),_("ngIf",e.sessionsTotal>0),r(),_("ngIf",e.sessionsTotal>0&&e.coachName),r(),_("ngIf",e.coachName),r(2),_("appEllipsisTooltip",f(18,13,e.de
6scription)),r(2),x(" ",f(20,15,e.description)," "),r(4),_("ngIf",e.price>0),r(),_("ngIf",(e.pricetype=="FREE"||e.pricetype==null)&&!(e.price>0)),r(),_("ngIf",(n.domainSettingsOtherDTO==null?null:n.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1)}}function Vd(i,t){if(i&1&&(a(0,"div",56),v(1,Ad,26,17,"div",189),m(2,"searchFilter"),s()),i&2){let e=l(3);r(),_("ngForOf",V(2,2,e.unEnrolledProducts.coachings,e.searchQuery,D(6,ct)))("ngForTrackBy",e.trackByItem)}}function Fd(i,t){if(i&1&&(a(0,"p",206),d(1),m(2,"transloco"),m(3,"date"),s()),i&2){let e=l().$implicit;r(),E(" ",f(2,2,"dash_board.expiresOn")," : ",z(3,4,e.expiredTime*1e3,"dd-MMM-yyyy")," ")}}function Ld(i,t){if(i&1&&(a(0,"span",212),d(1),m(2,"lowercase"),s()),i&2){let e=l(3).$implicit;r(),x(" /",e.stripeInterval=="QUARTER"?"every 3 months":e.stripeInterval=="HALF_YEARLY"?"every 6 months":f(2,1,e.stripeInterval)," ")}}function Ud(i,t){if(i&1&&(a(0,"span",213),d(1," \xA0"),a(2,"s",214),d(3),s()()),i&2){let e=l(3).$implicit;r(3),y(e.strikeoutAmount)}}function Nd(i,t){if(i&1){let e=b();a(0,"div",250),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openCheckoutModal(o.scormId,o.planId,"Scorm",o))}),d(1),v(2,Ld,3,3,"span",210)(3,Ud,4,1,"span",211),s()}if(i&2){let e=l(2).$implicit,n=l(4);r(),E(" ",n.getCurrencySymbol(e.currency),"",e.price," "),r(),_("ngIf",e.planType=="RECURRING"),r(),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function Rd(i,t){if(i&1&&(a(0,"span",217)(1,"s",214),d(2),s()()),i&2){let e=l(3).$implicit,n=l(4);r(2),E("",n.getCurrencySymbol(e.currency),"",e.strikeoutAmount)}}function zd(i,t){if(i&1){let e=b();a(0,"div",251),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.openEnrollNowModal(o.scormId,o.planId,"Scorm"))}),d(1),m(2,"transloco"),v(3,Rd,3,2,"span",216),s()}if(i&2){let e=l(2).$implicit;r(),x(" ",f(2,2,"dash_board.free")," "),r(2),_("ngIf",e.strikeoutPrice&&e.strikeoutAmount!==void 0)}}function $d(i,t){if(i&1&&(w(0),v(1,Nd,4,4,"div",248)(2,zd,4,4,"div",249),P()),i&2){let e=l().$implicit;r(),_("ngIf",e.price>0),r(),_("ngIf",(e.planType=="FREE"||e.planType==null)&&e.price==0)}}function jd(i,t){if(i&1){let e=b();a(0,"button",218),h("click",function(){u(e);let o=l().$implicit,c=l(4);return g((o.planType==="FREE"||o.planType==null)&&o.price==0?c.openEnrollNowModal(o.scormId,o.planId,"Scorm"):c.openCheckoutModal(o.scormId,o.planId,"Scorm",o))}),d(1),m(2,"transloco"),s()}i&2&&(r(),x(" ",f(2,1,"dash_board.enrollNow")," "))}function Hd(i,t){if(i&1){let e=b();w(0),a(1,"div",222),h("click",function(){u(e);let o=l(2).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(2,"div",223)(3,"p",224),d(4),s()()(),P()}if(i&2){let e=t.$implicit;r(3),_("title",e.tagName),r(),y(e.tagName)}}function Wd(i,t){if(i&1){let e=b();a(0,"div",225),h("click",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("keydown.enter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("keydown.space",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.toggleAllTags(c.scormId,"scorm",c.tags,o))})("mouseenter",function(o){u(e);let c=l(2).$implicit,p=l(4);return g(p.hoverAllTags(c.scormId,"scorm",c.tags,o))}),a(1,"div",223)(2,"p",226),d(3),s()()()}if(i&2){let e=l(2).$implicit,n=l(4);I("aria-expanded",n.showAllTagsId===e.scormId&&n.showAllTagsType==="scorm"),r(3),x("+",e.tags.length-3)}}function Yd(i,t){if(i&1&&(w(0),C(1,"div",219),a(2,"div",220),v(3,Hd,5,2,"ng-container",81)(4,Wd,4,2,"div",221),s(),P()),i&2){let e=l().$implicit,n=l(4);r(3),_("ngForOf",e.tags.slice(0,3))("ngForTrackBy",n.trackByItem),r(),_("ngIf",e.tags.length>3)}}function Qd(i,t){i&1&&C(0,"div",220)}function Zd(i,t){if(i&1){let e=b();a(0,"div",190)(1,"div",227)(2,"div",192),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(3,"div",193),C(4,"img",194),s()(),a(5,"div",195)(6,"div",196),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.landingPagrURL(o.landingPageUrl,o))}),a(7,"div",197)(8,"p",252),d(9),m(10,"transloco"),s(),v(11,Fd,4,7,"p",199),s(),a(12,"h5",200),d(13),s(),a(14,"div",201)(15,"p",202),m(16,"stripHtml"),d(17),s()()(),a(18,"div",203)(19,"div",204),v(20,$d,3,2,"ng-container",54)(21,jd,3,3,"button",205),s()(),v(22,Yd,5,3,"ng-container",57)(23,Qd,1,0,"ng-template",null,14,M),s()()()}if(i&2){let e=t.$implicit,n=S(24),o=l(4);r(),k("buy-disabled",o.isBuyOptionRestricted(e)),r(3),_("src",e.imageUrl!=null&&e.imageUrl!=null&&e.imageUrl!=""?e.imageUrl:o.defaultCourseImage,A),r(5),x(" ",f(10,13,"dash_board.scorm")," "),r(2),_("ngIf",e.expiredTime&&e.expiredTime!=0&&!e.fullAccess),r(),_("appEllipsisTooltip",e.title),r(),x("",e.title," "),r(2),_("appEllipsisTooltip",f(16,15,e.description)),r(2),x(" ",e.de
6scription," "),r(3),_("ngIf",e==null?null:e.showPrice),r(),_("ngIf",(o.domainSettingsOtherDTO==null?null:o.domainSettingsOtherDTO.showOtherCoursesBuyOption)!==!1),r(),_("ngIf",e.tags==null?null:e.tags.length)("ngIfElse",n)}}function Gd(i,t){if(i&1&&(a(0,"div",56),v(1,Zd,25,17,"div",189),m(2,"searchFilter"),s()),i&2){let e=l(3);r(),_("ngForOf",V(2,2,e.unEnrolledProducts.scorms,e.searchQuery,D(6,ct)))("ngForTrackBy",e.trackByItem)}}function Jd(i,t){if(i&1&&(w(0),v(1,bl,11,9,"div",102)(2,Ll,4,3,"div",103)(3,Kl,2,1,"div",104)(4,mc,2,2,"div",105)(5,Ic,2,2,"div",105)(6,Wc,2,2,"div",105)(7,rs,2,2,"div",105)(8,hs,2,2,"div",105)(9,Ds,2,2,"div",105)(10,Td,17,56,"div",105)(11,Vd,3,7,"div",105)(12,Gd,3,7,"div",105),P()),i&2){let e=l(2),n=S(73);r(),_("ngIf",e.unEnrolledProducts&&e.productsCount&&((e.unEnrolledProducts.courses==null?null:e.unEnrolledProducts.courses.length)>0||(e.unEnrolledProducts.scorms==null?null:e.unEnrolledProducts.scorms.length)>0||(e.unEnrolledProducts.digitaldownloads==null?null:e.unEnrolledProducts.digitaldownloads.length)>0||(e.unEnrolledProducts.masterclass==null?null:e.unEnrolledProducts.masterclass.length)>0||(e.unEnrolledProducts.productbundle==null?null:e.unEnrolledProducts.productbundle.length)>0||(e.unEnrolledProducts.cohorts==null?null:e.unEnrolledProducts.cohorts.length)>0||(e.unEnrolledProducts.coachings==null?null:e.unEnrolledProducts.coachings.length)>0))("ngIfElse",n),r(),_("ngIf",e.viewMode==="list"),r(),_("ngIf",e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_1"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_3"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_4"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_5"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_8"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_2"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_6"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_9"&&e.viewMode==="grid"),r(),_("ngIf",e.activeTab==="tab_7"&&e.viewMode==="grid")}}function qd(i,t){i&1&&(a(0,"div",266)(1,"div",267),C(2,"img",268),a(3,"p",269),d(4),m(5,"transloco"),s()()()),i&2&&(r(4),x(" ",f(5,1,"dash_board.noOthersProductFound")," "))}function Kd(i,t){if(i&1&&v(0,qd,6,3,"div",265),i&2){let e=l(2);_("ngIf",e.showNoCoursesProducts||e.showNoScormsProducts||e.showNoMasterclassProducts||e.showNoDigitalDownloadProducts||e.showNoProductBundleProducts||e.showNoCohortsProducts)}}function Xd(i,t){if(i&1&&v(0,Jd,13,13,"ng-container",54)(1,Kd,1,1,"ng-template",null,6,M),i&2){let e=l();_("ngIf",e.domainSettingsOtherDTO==null?null:e.domainSettingsOtherDTO.showOtherCourses)}}function ep(i,t){i&1&&(a(0,"div",266)(1,"div",267),C(2,"img",268),a(3,"p",269),d(4),m(5,"transloco"),s()()()),i&2&&(r(4),x(" ",f(5,1,"dash_board.emptyEnrolled")," "))}function tp(i,t){if(i&1&&(a(0,"div",277)(1,"p",224),d(2),s()()),i&2){let e=t.$implicit;_("title",e.tagName),r(),_("title",e.tagName),r(),y(e.tagName)}}function np(i,t){if(i&1){let e=b();a(0,"div",270),h("click",function(){u(e);let o=l();return g(o.closeAllTags())}),a(1,"div",271),m(2,"transloco"),h("click",function(o){return o.stopPropagation()}),a(3,"div",272)(4,"h6",273),d(5),m(6,"transloco"),s(),a(7,"button",274),m(8,"transloco"),h("click",function(){u(e);let o=l();return g(o.closeAllTags())}),C(9,"i",40),s()(),a(10,"div",275),v(11,tp,3,3,"div",276),s()()()}if(i&2){let e=l();r(),I("aria-label",f(2,5,"dash_board.allTags")),r(4),y(f(6,7,"dash_board.allTags")),r(2),I("aria-label",f(8,9,"dash_board.close")),r(4),_("ngForOf",e.popoverTags)("ngForTrackBy",e.trackByItem)}}var ue=class i{constructor(t,e,n,o,c,p,T,O,H,W,Z,j,Ne,Un,Nn){this.memberService=t;this.cookieService=e;this.courseService=n;this.courseTagService=o;this.coursePlanService=c;this.swalService=p;this.customTextService=T;this.route=O;this.activatedRoute=H;this.userService=W;this.http=Z;this.cdr=j;this.transloco=Ne;this.memberPreferencesService=Un;this.cacheService=Nn;this.userId=localStorage.getItem("cid"),this.domain=localStorage.getItem("domain")}memberService;cookieService;courseService;courseTagService;coursePlanService;swalService;customTextService;route;activatedRoute;userService;http;cdr;transloco;memberPreferencesService;cacheService;trackByItem=(t,e)=>e?.id??e?.code??e?.uuid??t;searchQuery="";static VIEW_MODE_KEY="otherProductsViewMode";_viewMode=localStorage.getItem(i.VIEW_MODE_KEY)||"grid";get viewMode(){return this._viewMode}set viewMode(t){this._viewMode=t;try{localStorage.setItem(i.VIEW_MODE_KEY,t)}catch(e){}this.memberPreferencesService?.updatePreferences({otherProductsLayout:t==="list"?"list":"card"})}currentPage=1;pageSize=10;pageSizeOptions=[10,25,50];filterDrawerOpen=!1;tagSearchQuery="";draftTagIds=[];enrolModal;areyousureModal;unenrollloading=!0;unEnrolledProducts;userId;domainSettingsOtherDTO;otherCourses=[];otherScorms=[];otherDigitaldownloads=[];otherMasterclass=[];otherProductBundles=[];otherplayList=[];otherCohorts=[];otherCoachings=[];defaultImage="https://web-cdn.freshlearn.com/website/course-default-image.jpeg";defaultCourseImage="https://web-cdn.freshlearn.com/website/Course-thumbnails.png";defaultMasterclassImage="https://web-cdn.freshlearn.com/website/masterclass-thumbnails.png";defaultPlaylistImage="https://web-cdn.freshlearn.com/website/playlist-thumbnails.png";defaultDigitalDownloadImage="https://web-cdn.freshlearn.com/website/Digital-download-thumbn
6ails.png";defaultProductBundleImage="https://web-cdn.freshlearn.com/website/productbundle-thumbnails.png";defaultCohortImage="https://web-cdn.freshlearn.com/website/Course-thumbnails.png";tagsList=[];domain;member;enrollFreePlan;planId;productType;productId;checkoutComponent;courseOtherSettings;unEnrollproductType="Course";productsCount;allTagList=[];tagCourseIds=[];tagMasterclassIds=[];tagProductBundleIds=[];tagDigitalDownloadIds=[];languageId;myOptionsCourses=[];myOptionsScorm=[];myOptionsMasterclass=[];myOptionsDigitalDownload=[];myOptionsProductBundle=[];myTextsCourses={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsMasterclass={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsDigitalDownload={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};myTextsProductBundle={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};mySettings={checkedStyle:"checkboxes",buttonClasses:"btn btn-default btn-block text-left drop-toogle",dynamicTitleMaxItems:0,displayAllSelectedText:!0,containerClasses:"container-class w-100",itemClasses:"item-class",selectAddedValues:!0,isLazyLoad:!0,loadViewDistance:1,showCheckAll:!0};filtericon=!1;filtericonCourses=!1;filtericonMasterclass=!1;showFilters=!0;filters=!1;showNoProducts=!1;activeTab="tab_1";hasAppliedFilters=!1;appliedFilterType="";showNoCoursesProducts=!1;showNoCohortsProducts=!1;showNoMasterclassProducts=!1;showNoDigitalDownloadProducts=!1;showNoProductBundleProducts=!1;currencyList=[];selectedCategory="";expandedCourse=null;showAllTags1=null;showAllTagsId=null;showAllTagsType=null;enrolledProduct=null;enrolledCourseType=null;popoverTop=0;popoverLeft=0;popoverTags=[];lastTriggerEl=null;positionPopoverFor(t){let e=t.getBoundingClientRect(),n=250,o=240,c=4,p=e.left+n-window.innerWidth+8;this.popoverLeft=p>0?e.left-p:e.left,window.innerHeight-e.bottom<o+c&&e.top>o+c?this.popoverTop=e.top-o-c:this.popoverTop=e.bottom+c}toggleAllTags(t,e,n,o){o&&(o.stopPropagation(),o.type==="keydown"&&o.preventDefault());let c=this.showAllTagsId===t&&this.showAllTagsType===e;!c&&o&&o.currentTarget&&(this.lastTriggerEl=o.currentTarget,this.positionPopoverFor(this.lastTriggerEl),this.popoverTags=n||[]),this.showAllTagsId=c?null:t,this.showAllTagsType=c?null:e,c&&(this.popoverTags=[],this.restoreFocus())}hoverAllTags(t,e,n,o){}closeAllTags(){(this.showAllTagsId!==null||this.showAllTagsType!==null)&&(this.showAllTagsId=null,this.showAllTagsType=null,this.popoverTags=[],this.restoreFocus())}restoreFocus(){this.lastTriggerEl&&typeof this.lastTriggerEl.focus=="function"&&this.lastTriggerEl.focus(),this.lastTriggerEl=null}onDocumentClickClosePopover(t){let e=t.target;e&&(e.closest('[aria-controls="tagPopover"]')||e.closest("#tagPopover"))||this.closeAllTags()}onEscapeClosePopover(){this.closeAllTags()}ngOnDestroy(){window.removeEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler)}otherProductsCacheClearedHandler=()=>{this.getCountAllProducts(),this.getAllOtherProducts()};ngOnInit(){window.addEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler);var t=this;this.http.get("assets/currency.json").subscribe(e=>{this.currencyList=e}),t.languageId=sessionStorage.getItem("languageId"),t.enrollFreePlan={city:"",state:"",country:"",email:"",name:"",phone:"",planId:0,productId:0,productType:"",addressOne:"",addressTwo:"",zipcode:"",uidNumber:"",memberId:""},t.getDomainSettings(),t.getCountAllProducts(),t.getAllOtherProducts(),t.getMemberById(),t.getCostomtextByPageByLanguageId();var t=this;t.activatedRoute.queryParams.subscribe(e=>{let n=e.paymentId,o=e.token,c=e.PayerID;n!=null&&c!=null&&(t.planId=sessionStorage.getItem("planId"),t.productType=sessionStorage.getItem("productType"),t.productId=sessionStorage.getItem("productId"),t.openCheckoutModal(t.productId,t.planId,t.productType))})}getCurrencySymbol(t){let e=this.currencyList.find(n=>n.currency_code===t);return e?e.currency_symbol:t}getDomainSettings(){var t=this;let e=JSON.parse(localStorage.getItem("domainSettingsOtherDTO")||"null");e!=null?t.domainSettingsOtherDTO=e:t.customTextService.getOtherSettings(function(n){n!=null&&(t.domainSettingsOtherDTO=n,localStorage.setItem("domainSettingsOtherDTO",JSON.stringify(t.domainSettingsOtherDTO)))})}getSelectedCourseTags(t){var e=this;e.tagCourseIds=t}getSelectedMasterclassTags(t){var e=this;e.tagMasterclassIds=t}getSelectedDigitalDownloadTags(t){var e=this;e.tagDigitalDownloadIds=t}getSelecteproductBundleTags(t){var e=this;e.tagProductBundleIds=t}
6getAllCoursesTagList(){var t=this;t.myOptionsCourses=[],t.courseTagService.getAllCourseTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsCourses.push(o)})):t.myOptionsCourses=[]})}getAllMasterclassTagList(){var t=this;t.myOptionsMasterclass=[],t.courseTagService.getAllMasterclassTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsMasterclass.push(o)})):t.myOptionsMasterclass=[]})}getAllDigitalDownloadTagList(){var t=this;t.myOptionsDigitalDownload&&t.myOptionsDigitalDownload.length>0||(t.myOptionsDigitalDownload=[],t.courseTagService.getAllDigitalDownloadTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsDigitalDownload.push(o)})):t.myOptionsDigitalDownload=[]}))}getAllProductBundleTagList(){var t=this;t.myOptionsProductBundle&&t.myOptionsProductBundle.length>0||(t.myOptionsProductBundle=[],t.courseTagService.getAllProductBundleTag(function(e){e!=null&&e.length!=0?(t.allTagList=e,t.allTagList.forEach(n=>{var o={id:0,name:""};o.id=n.tagName,o.name=n.tagName,t.myOptionsProductBundle.push(o)})):t.myOptionsProductBundle=[]}))}getCostomtextByPageByLanguageId(){var t=this;t.enrolModal=t.transloco.translate("alertmessages.enrol"),t.areyousureModal=t.transloco.translate("alertmessages.areyousure"),t.tagsCustomeTextChange()}tagsCustomeTextChange(){var t=this;let e=t.transloco.translate("dash_board.selectAll"),n=t.transloco.translate("dash_board.tagSelected"),o=t.transloco.translate("dash_board.selectTags"),c=t.transloco.translate("dash_board.allSelected");t.myTextsCourses.checkAll=e,t.myTextsCourses.checked=n,t.myTextsCourses.checkedPlural=n,t.myTextsCourses.defaultTitle=o,t.myTextsCourses.allSelected=c,t.myTextsMasterclass.checkAll=e,t.myTextsMasterclass.checked=n,t.myTextsMasterclass.checkedPlural=n,t.myTextsMasterclass.defaultTitle=o,t.myTextsMasterclass.allSelected=c}getEventDate(t){var e=this,n=Intl.DateTimeFormat().resolvedOptions().timeZone;let o=e.convertTZ(t,n);var c=new Date(o).getTime();return c}getStartTime(t){var e=this,n=Intl.DateTimeFormat().resolvedOptions().timeZone,c=e.convertTZ(t,n).toLocaleString("en-US",{hour:"numeric",minute:"numeric",hour12:!0});return c}isBuyOptionRestricted(t){if(!this.domainSettingsOtherDTO||this.domainSettingsOtherDTO.showOtherCoursesBuyOption!==!1)return!1;let e=t?.landingPageUrl||"",n=!!t?.stripeAutoTaxEnabled,o=e.includes("/checkout/");return n||o}landingPagrURL(t,e){if(!this.isBuyOptionRestricted(e))if(e.stripeAutoTaxEnabled)window.open(t,"_blank");else{let n=this.userId,o=localStorage.getItem("cid"),p=localStorage.getItem("Authorization")?.split(" ")?.pop(),T=t.includes("?")?`${t}&m=${n}`:`${t}?m=${n}`;t.includes("/checkout/")&&o&&p&&this.cookieService.set(o,p,{expires:60,path:"/"}),this.cookieService.set(o,p,{expires:60,path:"/"}),window.open(T,"_blank")}}convertTZ(t,e){return new Date((typeof t=="string"?new Date(t):t).toLocaleString("en-US",{timeZone:e}))}getAllTags(t){this.tagsList=t}openTagModal(){document.getElementById("openTagsModal")?.click()}ngOnChanges(){document.getElementById("openCourseTags")?.click()}findProductInLists(t,e){let n=Number(t),o=this.unEnrolledProducts||{},c=(e||"").toLowerCase();if(c==="course"){let p=(this.otherCourses||[]).find(j=>Number(j.courseId)===n);if(p)return p;let T=(this.otherplayList||[]).find(j=>Number(j.courseId)===n);if(T)return T;let O=(this.otherCohorts||[]).find(j=>Number(j.courseId)===n);if(O)return O;let H=(o.courses||[]).find(j=>Number(j.courseId)===n);if(H)return H;let W=(o.playLists||[]).find(j=>Number(j.courseId)===n);if(W)return W;let Z=(o.cohorts||[]).find(j=>Number(j.courseId)===n);if(Z)return Z}if(c==="scorm"){let p=(this.otherScorms||[]).find(O=>Number(O.id)===n);if(p)return p;let T=(o.scorms||[]).find(O=>Number(O.id)===n);if(T)return T}if(c==="masterclass"){let p=(this.otherMasterclass||[]).find(O=>Number(O.masterclassId||O.id)===n);if(p)return p;let T=(o.masterclass||[]).find(O=>Number(O.masterclassId||O.id)===n);if(T)return T}if(c==="digitaldownload"||c==="digital_download"){let p=(this.otherDigitaldownloads||[]).find(O=>Number(O.digitalDownloadId||O.id)===n);if(p)return p;let T=(o.digitaldownloads||[]).find(O=>Number(O.digitalDownloadId||O.id)===n);if(T)return T}if(c==="productbundle"||c==="product_bundle"){let p=(this.otherProductBundles||[]).find(O=>Number(O.id)===n);if(p)return p;let T=(o.productbundle||[]).find(O=>Number(O.id)===n);if(T)return T}if(c==="coaching"){let p=(this.otherCoachings||[]).find(O=>Number(O.coachingId)===n);if(p)return p;let T=(o.coachings||[]).find(O=>Number(O.coachingId)===n);if(T)return T}return null}openCoachingCheckout(t){!t||!t.planId||(this.isCoachingFree(t)?this.openEnrollNowModal(t.coachingId,t.planId,"Coaching",t):this.openCheckoutModal(t.coachingId,t.planId,"Coaching",t))}isCoachingFree(t){let e=t?.pricetype;return(e==="FREE"||e==null)&&!(Number(t?.price)>0)}openEnrollNowModal(t,e,n,o){if(this.domainSettingsOtherDTO&&this.domainSettingsOtherDTO.showOtherCoursesBuyOption===!1)return;var c=this;c.enrollFreePlan.planId=e,c.enrollFreePlan.productId=t,c.enrollFreePlan.productType=n;let p=o;p||(p=c.findProductInLists(t,n)),c.enrolledProduct=p,c.enrolledCourseType=p?.courseType||null,document.getElementById("enrollFreePlanModal")?.click()}getMemberById(){var t=this;let e=t.userService.getUser();if(e)t.member=e,t.getEnrollFreePlan(t.member);else{var n=JSON.parse(localStorage.getItem("memberDetails"));n!=null||n!=null?(t.member=n,t.getEnrollFreePlan(t.member)):t.memberService.getMemberById(t.userId,function(o){t.member=o,t.getEnrollFreePlan(t.member)})}}getEnrollFreePlan(t){var e=this;e.enrollFreePlan.city=t.location,e.enrollFreePlan.state=t.state,e.enrollFreePlan.country=t.country,e.enrollFreePlan.email=t.email,e.enrollFreePlan.name=t.first_name,e.enrollFreePlan.phone=t.phone,e.enrollFreePlan.addressOne=t.addressOne,e.enrollFreePlan.addressTwo=t.addressTwo,e.enrollFreePlan.zipcode=t.zipcode,e.enrollFreePlan.uidNumber=t.uidNumber,e.enrollFreePlan.memberId=t.id}enrollNow(){var t=this;t.coursePlanService.getEnrollFreePlan(t.enrollFreePlan.productType,t.enrollFreePlan,t.domain,function(e){if(!(e=="error"||e.status>=400)){t.cacheService.clearOtherProductsCache(t.userId,()=>{t.getCountAllProducts(),t.getAllOtherProducts()});let n=t.enrollFreePlan.productType,o=t.enrollFreePlan.productId,c=t.enrolledCourseType,p=(n||"").toLowerCase();t.swalService.showAlertToast(t.transloco.translate("alertmessages.enrolledSuccessfully"),pe.SUCCESS,!1,3e3,!1),setTimeout(()=>{if(p==="course")c==="PLAYLIST"?t.route.navigate(["/playlist",o]):t.route.navigate(["/course",o]);else if(p==="scorm")t.route.navigate(["/package",0,"scorm",o]);else if(p==="digitaldownload"||p==="digital_download"){let T=e?.subscriptionId||e?.id||null;T!=null?sessionStorage.setItem("digitalDownloadSubscriptionId",String(T)):sessionStorage.removeItem("digitalDownloadSubscriptionId");let O=e?.courseName||t.enrolledProduct?.name||null;O&&localStorage.setItem("digitalDownloadName",O),t.route.navigate(["/digital-download",o])}else if(p==="productbundle"||p==="product_bundle")t.route.navigate(["/product-bundle",o]);else if(p==="coaching"){let T=e?.subscriptionId||e?.id||null;T!=null?t.route.navigate(["/coaching",T]):t.route.navigate(["/products/enrolled-products"])}else t.route.navigate(["/products/enrolled-products"])},2e3)}})}openCheckoutModal(t,e,n,o){if(this.domainSettingsOtherDTO&&this.domainSettingsOtherDTO.showOtherCoursesBuyOption===!1)return;var c=this;c.enrollFreePlan.productId=t,c.planId=e,c.productType=n,c.productId=t,c.enrollFreePlan.productType=n;let p=o;p||(p=c.findProductInLists(t,n)),c.enrolledProduct=p,c.enrolledCourseType=p?.courseType||null,document.getElementById("enrollOtherProductsPlanModal")?.click(),c.checkoutComponent.getProductCheckoutDetails(c.planId,c.productType)}getTabs(t){if(this.activeTab=t,this.currentPage=1,this.resetFilters(),this.show
6Filters=!0,this.filters=!1,!(this.hasAppliedFilters&&this.appliedFilterType===t))switch(t){case"tab_1":document.getElementById("tab_1")?.classList.add("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=this.productsCount?.courses===0;break;case"tab_2":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.add("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.productBundle===0;var e=this;e.unEnrolledProducts.productbundle.length>0&&e.getAllProductBundleTagList();break;case"tab_3":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.add("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.playlist===0;break;case"tab_4":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.add("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=this.productsCount?.masterclass===0;break;case"tab_5":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.add("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.digitalDownload===0;var e=this;e.unEnrolledProducts.digitaldownloads.length>0&&e.getAllDigitalDownloadTagList();break;case"tab_6":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.add("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.all===0;break;case"tab_7":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.add("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoProducts=this.productsCount?.scorm===0;break;case"tab_8":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.add("active_list"),document.getElementById("tab_9")?.classList.remove("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.cohorts===0;break;case"tab_9":document.getElementById("tab_1")?.classList.remove("active_list"),document.getElementById("tab_2")?.classList.remove("active_list"),document.getElementById("tab_3")?.classList.remove("active_list"),document.getElementById("tab_4")?.classList.remove("active_list"),document.getElementById("tab_5")?.classList.remove("active_list"),document.getElementById("tab_6")?.classList.remove("active_list"),document.getElementById("tab_7")?.classList.remove("active_list"),document.getElementById("tab_8")?.classList.remove("active_list"),document.getElementById("tab_9")?.classList.add("active_list"),this.showNoCoursesProducts=!1,this.showNoMasterclassProducts=!1,this.showNoProducts=this.productsCount?.coachings===0;break;default:break}}resetFilters(){this.hasAppliedFilters=!1,this.appliedFilterType="",this.showNoProducts=!1}showAllTags(){this.filtericon=!0}showCoursesTags(){this.filtericonCourses=!0,this.filtericonMasterclass=!1}
6showMasterclassTags(){this.filtericonMasterclass=!0,this.filtericonCourses=!1}getCountAllProducts(){var t=this;t.memberService.getCountAllProducts(t.userId,function(e){e!=null&&e!=null&&(t.productsCount=e,window.dispatchEvent(new CustomEvent("mp:counts-update",{detail:{type:"other",count:e.all||0}})))})}getAllOtherProducts(){var t=this;t.unenrollloading=!0,t.memberService.getOtherCoursesById(t.userId,function(e){if(e!=null&&e!=null){t.unEnrolledProducts=e,t.otherCourses=e.courses,t.otherScorms=e.scorms,t.otherDigitaldownloads=e.digitaldownloads,t.otherMasterclass=e.masterclass,t.otherProductBundles=e.productbundle,t.otherplayList=e.playLists,t.otherCohorts=e.cohorts,t.otherCoachings=e.coachings,t.otherCourses.length>0?t.getAllCoursesTagList():t.activeTab="tab_6",t.otherMasterclass.length>0&&t.getAllMasterclassTagList();let n=t.productsCount?.all!==void 0?t.productsCount.all:(t.otherCourses?.length||0)+(t.otherScorms?.length||0)+(t.otherDigitaldownloads?.length||0)+(t.otherMasterclass?.length||0)+(t.otherProductBundles?.length||0)+(t.otherplayList?.length||0)+(t.otherCohorts?.length||0);window.dispatchEvent(new CustomEvent("mp:counts-update",{detail:{type:"other",count:n}})),t.unenrollloading=!1}else t.unenrollloading=!1})}getOtherCoursesByTagsFilter(t){var e=this;e.unenrollloading=!0;var n=localStorage.getItem("cid");t=="tab_1"?(e.otherCourses=[],e.courseService.otherCoursesByTagsFilter(n,e.tagCourseIds,function(o){o!=null&&(o.courses.length!=0||o.playLists.length!=0)?(e.unenrollloading=!1,e.otherCourses=o.courses,e.productsCount.courses=e.otherCourses.length,e.filters=!1,e.showNoCoursesProducts=!1):(e.productsCount.courses=0,e.showNoCoursesProducts=!0,e.filters=!1,e.unenrollloading=!1)})):t=="tab_3"?(e.otherplayList=[],e.courseService.otherCoursesByTagsFilter(n,e.tagCourseIds,function(o){o!=null&&(o.courses.length!=0||o.playLists.length!=0)?(e.unenrollloading=!1,e.otherplayList=o.playLists,e.productsCount.playlist=e.otherplayList.length,e.filters=!1,e.showNoCoursesProducts=!1):(e.productsCount.playlist=0,e.showNoCoursesProducts=!0,e.filters=!1,e.unenrollloading=!1)})):t=="tab_8"&&(e.otherCohorts=[],e.courseService.otherCoursesByTagsFilter(n,e.tagCourseIds,function(o){o!=null&&o.cohorts.length!=0?(e.unenrollloading=!1,e.otherCohorts=o.cohorts,e.productsCount.cohorts=e.otherCohorts.length,e.filters=!1,e.showNoCohortsProducts=!1):(e.productsCount.cohorts=0,e.showNoCohortsProducts=!0,e.filters=!1,e.unenrollloading=!1)}))}getOtherMasterclassByTagsFilter(){var t=this;t.unenrollloading=!0,t.otherMasterclass=[];var e=localStorage.getItem("cid");t.courseService.otherMasterclassByTagsFilter(e,t.tagMasterclassIds,function(n){n!=null&&n.masterclass.length!=0?(t.unenrollloading=!1,t.otherMasterclass=n.masterclass,t.productsCount.masterclass=t.otherMasterclass.length):(t.productsCount.masterclass=0,t.showNoMasterclassProducts=!0,t.filters=!1,t.unenrollloading=!1)})}getOtherDigitalDownloadByTagsFilter(){var t=this;t.unenrollloading=!0,t.otherDigitaldownloads=[];var e=localStorage.getItem("cid");t.courseService.otherDigitalDownloadByTagsFilter(e,t.tagDigitalDownloadIds,function(n){n.digitaldownloads!=null&&n.digitaldownloads.length!=0?(t.unenrollloading=!1,t.otherDigitaldownloads=n.digitaldownloads,t.productsCount.digitalDownload=t.otherDigitaldownloads.length,t.filters=!1):(t.productsCount.digitalDownload=0,t.showNoDigitalDownloadProducts=!0,t.filters=!1,t.unenrollloading=!1)})}getOtherProductBundleByTagsFilter(){var t=this;t.unenrollloading=!0,t.otherProductBundles=[];var e=localStorage.getItem("cid");t.courseService.otherProductBundledByTagsFilter(e,t.tagProductBundleIds,function(n){n.productbundle!=null&&n.productbundle.length!=0?(t.unenrollloading=!1,t.otherProductBundles=n.productbundle,t.productsCount.productBundle=t.otherProductBundles.length,t.filters=!1):(t.productsCount.productBundle=0,t.showNoProductBundleProducts=!0,t.filters=!1,t.unenrollloading=!1)})}getDate(t){let e=new Date(t*1e3),n={day:"2-digit",month:"short",year:"numeric"};return e.toLocaleString("en-US",n)}getEventTime(t){let e=new Date(t*1e3),n={hour:"2-digit",minute:"2-digit",hour12:!0};
6return e.toLocaleString("en-US",n).split(",")[0].replace(" ","")}getLocalTimeZone(){return new Date().toTimeString().slice(9,17).replace(/(.{2})$/,":$1")}getMasterclassDateInfo(t){if(!t?.eventDate)return null;let e=Number(t.eventDate);if(!e)return null;let n=this.getDate(e),o=this.getEventTime(e),c=this.getLocalTimeZone()||"",p=null;if(t?.eventEndDate&&Number(t.eventEndDate)>0)p=Number(t.eventEndDate);else if(t?.utcEventEndDate){let T=Date.parse(t.utcEventEndDate);!isNaN(T)&&T>0&&(p=Math.floor(T/1e3))}if(p&&p>e){let T=this.getDate(p),O=this.getEventTime(p);return{startDate:n,startTime:o,endDate:T,endTime:O,tz:c}}if(t?.eventEndTime){let T=t.eventEndTime.trim().toUpperCase();return{startDate:n,startTime:o,endDate:n,endTime:T,tz:c}}return{startDate:n,startTime:o,tz:c}}openFilters(){var t=this;t.filters=!t.filters,t.filtericonCourses=!t.filtericonCourses,t.showFilters=!t.showFilters,t.showNoProducts=!1}clear(){var t=this;t.filters=!1,t.showFilters=!0,t.showNoProducts=!1,t.activeTab=="tab_1"&&(t.tagCourseIds=[],t.productsCount.courses=t.unEnrolledProducts.courses.length,t.otherCourses=t.unEnrolledProducts.courses),t.activeTab=="tab_3"&&(t.tagCourseIds=[],t.productsCount.playlist=t.unEnrolledProducts.playLists.length,t.otherplayList=t.unEnrolledProducts.playLists),t.activeTab=="tab_4"&&(t.tagMasterclassIds=[],t.productsCount.masterclass=t.unEnrolledProducts.masterclass.length,t.otherMasterclass=t.unEnrolledProducts.masterclass),t.activeTab=="tab_5"&&(t.tagDigitalDownloadIds=[],t.productsCount.digitalDownload=t.unEnrolledProducts.digitaldownloads.length,t.otherDigitaldownloads=t.unEnrolledProducts.digitaldownloads),t.activeTab=="tab_2"&&(t.tagProductBundleIds=[],t.productsCount.productBundle=t.unEnrolledProducts.productbundle.length,t.otherProductBundles=t.unEnrolledProducts.productbundle),t.activeTab=="tab_8"&&(t.tagCourseIds=[],t.productsCount.cohorts=t.unEnrolledProducts.cohorts.length,t.otherCohorts=t.unEnrolledProducts.cohorts)}toggleMoreTags(t){this.expandedCourse===t?this.expandedCourse=null:this.expandedCourse=t}get activeTagOptions(){switch(this.activeTab){case"tab_1":case"tab_3":case"tab_8":return this.myOptionsCourses;case"tab_4":return this.myOptionsMasterclass;case"tab_5":return this.myOptionsDigitalDownload;case"tab_2":return this.myOptionsProductBundle;case"tab_7":return this.myOptionsScorm;default:return[]}}get filteredTagOptions(){let t=(this.tagSearchQuery||"").trim().toLowerCase(),e=this.activeTagOptions;return t?e.filter(n=>String(n.name||"").toLowerCase().includes(t)):e}getActiveSelectedRef(){switch(this.activeTab){case"tab_1":case"tab_3":case"tab_8":return this.tagCourseIds;case"tab_4":return this.tagMasterclassIds;case"tab_5":return this.tagDigitalDownloadIds;case"tab_2":return this.tagProductBundleIds;default:return[]}}getActiveSelectedRefDisplay(){return this.getActiveSelectedRef()}get tableNameHeader(){switch(this.activeTab){case"tab_1":return this.transloco.translate("dash_board.course");case"tab_3":return this.transloco.translate("dash_board.playlist");case"tab_8":return"Cohort";case"tab_4":return this.transloco.translate("dash_board.masterclass");case"tab_5":return this.transloco.translate("dash_board.digitalDownload");case"tab_2":return this.transloco.translate("dash_board.productbundle");case"tab_7":return this.transloco.translate("dash_board.scorm");case"tab_9":return"1:1 Coaching";case"tab_6":return this.transloco.translate("dash_board.all");default:return"Product"}}launchProductAction(t,e){if(t?.landingPageUrl){this.landingPagrURL(t.landingPageUrl,t);return}t?.planType==="FREE"?this.openEnrollNowModal(t.courseId||t.id,t.planId,e):this.openCheckoutModal(t.courseId||t.id,t.planId,e,t)}get tableRows(){let t=this.unEnrolledProducts||{},e=(n,o)=>(n||[]).map(o);switch(this.activeTab){case"tab_1":return e(this.otherCourses,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCourseImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>
6this.launchProductAction(n,"Course")}));case"tab_3":return e(this.otherplayList,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultPlaylistImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Course")}));case"tab_8":return e(this.otherCohorts,n=>({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCohortImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Course")}));case"tab_4":return e(this.otherMasterclass,n=>({id:n.id,raw:n,name:n.masterclassName||n.title,description:n.description,image:n.imageUrl||this.defaultMasterclassImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Masterclass")}));case"tab_5":return e(this.otherDigitaldownloads,n=>({id:n.id,raw:n,name:n.title||n.name,description:n.description,image:n.imageUrl||this.defaultDigitalDownloadImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"DigitalDownload")}));case"tab_2":return e(this.otherProductBundles,n=>({id:n.courseId||n.id,raw:n,name:n.productBundleName||n.name,description:n.description,image:n.imageUrl||this.defaultProductBundleImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"productBundle")}));case"tab_7":return e(this.otherScorms,n=>({id:n.id,raw:n,name:n.title,description:n.description,image:n.imageUrl||this.defaultCourseImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Scorm")}));case"tab_6":return this.buildAllRows();default:return[]}}buildAllRows(){let t=this.unEnrolledProducts||{},e=[];return(t.courses||[]).forEach(n=>e.push({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCourseImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Course")})),(t.playLists||[]).forEach(n=>e.push({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultPlaylistImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Course")})),(t.cohorts||[]).forEach(n=>e.push({id:n.courseId,raw:n,name:n.courseName,description:n.courseDescription,image:n.imageUrl||this.defaultCohortImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Course")})),(t.masterclass||[]).forEach(n=>e.push({id:n.id,raw:n,name:n.masterclassName||n.title,description:n.description,image:n.imageUrl||this.defaultMasterclassImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Masterclass")})),(t.digitaldownloads||[]).forEach(n=>e.push({id:n.id,raw:n,name:n.title||n.name,description:n.description,image:n.imageUrl||this.defaultDigitalDownloadImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>
6this.launchProductAction(n,"DigitalDownload")})),(t.productbundle||[]).forEach(n=>e.push({id:n.courseId||n.id,raw:n,name:n.productBundleName||n.name,description:n.description,image:n.imageUrl||this.defaultProductBundleImage,tags:n.tags||[],price:n.amount,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"productBundle")})),(t.scorms||[]).forEach(n=>e.push({id:n.id,raw:n,name:n.title,description:n.description,image:n.imageUrl||this.defaultCourseImage,tags:n.tags||[],price:n.price,strikePrice:n.strikeoutAmount,currency:n.currency,planType:n.planType,stripeInterval:n.stripeInterval,actionLabel:"Enroll",onClick:()=>this.launchProductAction(n,"Scorm")})),e}get filteredTableRows(){let t=(this.searchQuery||"").trim().toLowerCase(),e=this.tableRows;return t?e.filter(n=>String(n.name||"").toLowerCase().includes(t)||String(n.description||"").toLowerCase().includes(t)):e}get pagedTableRows(){let t=(this.currentPage-1)*this.pageSize;return this.filteredTableRows.slice(t,t+this.pageSize)}get totalPages(){return Math.max(1,Math.ceil(this.filteredTableRows.length/this.pageSize))}get pageStartIndex(){return this.filteredTableRows.length===0?0:(this.currentPage-1)*this.pageSize+1}get pageEndIndex(){return Math.min(this.currentPage*this.pageSize,this.filteredTableRows.length)}goToPage(t){t<1||t>this.totalPages||(this.currentPage=t)}prevPage(){this.goToPage(this.currentPage-1)}nextPage(){this.goToPage(this.currentPage+1)}changePageSize(t){this.pageSize=t,this.currentPage=1}get pageNumbers(){let t=this.totalPages,e=this.currentPage;if(t<=7)return Array.from({length:t},(p,T)=>T+1);let n=[1];e>3&&n.push("\u2026");let o=Math.max(2,e-1),c=Math.min(t-1,e+1);for(let p=o;p<=c;p++)n.push(p);return e<t-2&&n.push("\u2026"),n.push(t),n}get appliedFilterCount(){return this.getActiveSelectedRef()?.length||0}tagNameFor(t){return this.activeTagOptions.find(e=>e.id===t)?.name||String(t)}openFilterDrawer(){this.draftTagIds=[...this.getActiveSelectedRef()],this.tagSearchQuery="",this.filterDrawerOpen=!0,this.lockPageScroll(!0)}closeFilterDrawer(){this.filterDrawerOpen=!1,this.lockPageScroll(!1)}toggleDraftTag(t){this.draftTagIds.indexOf(t)===-1?this.draftTagIds=[...this.draftTagIds,t]:this.draftTagIds=this.draftTagIds.filter(n=>n!==t)}isDraftTagSelected(t){return this.draftTagIds.includes(t)}clearDraftTags(){this.draftTagIds=[]}applyDrawerFilters(){switch(this.activeTab){case"tab_1":case"tab_3":case"tab_8":this.tagCourseIds=[...this.draftTagIds],this.tagCourseIds.length?this.getOtherCoursesByTagsFilter(this.activeTab):this.clear();break;case"tab_4":this.tagMasterclassIds=[...this.draftTagIds],this.tagMasterclassIds.length?this.getOtherMasterclassByTagsFilter():this.clear();break;case"tab_5":this.tagDigitalDownloadIds=[...this.draftTagIds],this.tagDigitalDownloadIds.length?this.getOtherDigitalDownloadByTagsFilter():this.clear();break;case"tab_2":this.tagProductBundleIds=[...this.draftTagIds],this.tagProductBundleIds.length?this.getOtherProductBundleByTagsFilter():this.clear();break}this.closeFilterDrawer()}removeAppliedTag(t){let n=this.getActiveSelectedRef().filter(o=>o!==t);switch(this.activeTab){case"tab_1":case"tab_3":case"tab_8":this.tagCourseIds=n;break;case"tab_4":this.tagMasterclassIds=n;break;case"tab_5":this.tagDigitalDownloadIds=n;break;case"tab_2":this.tagProductBundleIds=n;break}n.length===0?this.clear():this.applyDrawerFiltersForActive()}applyDrawerFiltersForActive(){switch(this.activeTab){case"tab_1":case"tab_3":case"tab_8":this.getOtherCoursesByTagsFilter(this.activeTab);break;case"tab_4":this.getOtherMasterclassByTagsFilter();break;case"tab_5":this.getOtherDigitalDownloadByTagsFilter();break;case"tab_2":this.getOtherProductBundleByTagsFilter();break}}lockPageScroll(t){typeof document>"u"||(document.documentElement.classList.toggle("mp-scroll-locked",t),document.body.classList.toggle("mp-scroll-locked",t))}getAllTagsTooltip(t){return t.map(e=>e.tagName).join(", ")}static \u0275fac=function(e){return new(e||i)(B(Ye),B(Xe),B(Ee),B(Se),B(nn),B(fe),B(Ie),B(te),B(Ce),B(We),B(Pt),B(wt),B(be),B(Je),B(ot))};static \u0275cmp=ee({type:i,selectors:[["app-other-products"]],viewQuery:function(e,n){if(e&1&&ge(rt,5),e&2){let o;Y(o=Q())&&(n.checkoutComponent=o.first)}},hostBindings:function(e,n){e&1&&h("click",function(c){return n.onDocumentClickClosePopover(c)},q)("keydown.escape",function(){return n.onEscapeClosePopover()},q)},features:[ze],decls:102,vars:85,consts:[["emptyTags",""],["showLoaderProductCount",""],["unenrollnoLoader",""],["noCoursesProduct",""],["enrollNowModal",""],["enrollOtherProductsModal",""],["noOtherProduct",""],["opNoDesc",""],["paidPrice",""],["dotsTplOp",""],["noCourseTags",""],["noMasterclassTags",""],["noDigitalDownloadTags",""],["noProductBundleTags",""],["noTags",""],["tagEl",""],["id","other-products","role","tabpanel",1,"tab-pane","fade","in","active","show","op-page"],[1,"op-toolbar"],[1,"op-toolbar__left"],[1,"op-toolbar__title"],[1,"op-title"],[1,"op-title__count"],[1,"op-search"],[1,"fa-light","fa-magnifying-glass","op-search__icon"],["type","text",1,"op-search__input",3,"ngModelChange","placeholder","ngModel"],["type","button","class","op-search__clear",3,"click",4,"ngIf"],[1,"op-toolbar__right"],["type","button","class","op-filter-btn",3,"has-active","click",4,"ngIf"],["role","group",1,"op-view-toggle"],["type","button",1,"op-view-toggle__btn",3,"click"],[1,"fa-light","fa-grid-2"],[1,"fa-light","fa-list"],["class","op-applied",4,"ngIf"],[1,"op-drawer-backdrop",3,"click"],[1,"op-drawer"],[1,"op-drawer__header"],[1,"op-drawer__title"],[1,"fa-light","fa-sliders"],["class","op-drawer__count",4,"ngIf"],["type","button",1,"op-drawer__close",3,"click"],[1,"fa-light","fa-xmark"],[1,"op-drawer__body"],["class","op-drawer__section",4,"ngIf"],[1,"op-drawer__section"],[1,"op-drawer__section-title"],[1,"op-drawer__search"],[1,"fa-light","fa-magnifying-glass"],["type","text",3,"ngModelChange","placeholder","ngModel"],["type","button","class","op-drawer__search-clear",3,"click",4,"ngIf"],[1,"op-drawer__section","op-drawer__section--list"],["class","op-drawer__taglist",4,"ngIf","ngIfElse"],[1,"op-drawer__footer"],["type","button",1,"op-drawer__btn","op-drawer__btn--ghost",3,"click","disabled"],["type","button",1,"op-drawer__btn","op-drawer__btn--primary",3,"click"],[4,"ngIf"],[1,"op-body"],[1,"row"],[4,"ngIf","ngIfElse"],["id","enrollFreePlanModal","data-bs-toggle","modal","data-bs-target","#enrollNowModal",2,"display","none",3,"hidden"],["id","enrollNowModal","tabindex","-1","role","dialog","aria-labelledby","enrollNowModalTitle","aria-hidden","true",1,"modal","fade","fl-confirm-modal"],["role","document",1,"modal-dialog","modal
6-dialog-centered"],[1,"modal-content"],["aria-hidden","true",1,"fl-confirm-modal__icon"],["viewBox","0 0 24 24","focusable","false"],["d","M5 4a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v17l-7-3.8L5 21z","stroke","currentColor","stroke-width","1.6","fill","none","stroke-linecap","round","stroke-linejoin","round"],["id","enrollNowModalTitle",1,"fl-confirm-modal__title"],[1,"fl-confirm-modal__message"],[1,"fl-confirm-modal__actions"],["type","button","data-bs-dismiss","modal",1,"fl-confirm-modal__btn","fl-confirm-modal__btn--ghost",3,"click"],["type","button","data-bs-dismiss","modal",1,"fl-confirm-modal__btn","fl-confirm-modal__btn--primary",3,"click"],["id","enrollOtherProductsPlanModal","data-bs-toggle","modal","data-bs-target","#enrollOtherProductsModal",2,"display","none",3,"hidden"],["id","enrollOtherProductsModal","tabindex","-1","role","dialog","aria-modal","true","aria-labelledby","freshSideModalTitle","aria-hidden","true","data-bs-keyboard","true","data-bs-backdrop","static",1,"modal","fresh-side-modal","fade"],["role","document",1,"modal-dialog"],[3,"planId","productType","productId","enrollFreePlan","courseType"],["class","mp-tags-modal-backdrop","role","presentation",3,"click",4,"ngIf"],["type","button",1,"op-search__clear",3,"click"],["type","button",1,"op-filter-btn",3,"click"],["class","op-filter-btn__badge",4,"ngIf"],[1,"op-filter-btn__badge"],[1,"op-applied"],[1,"op-applied__label"],[4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"op-applied__clear",3,"click"],[1,"op-applied__chip"],["type","button",1,"op-applied__remove",3,"click"],[1,"op-drawer__count"],[1,"op-drawer__selected"],["class","op-drawer__selected-chip",4,"ngFor","ngForOf","ngForTrackBy"],[1,"op-drawer__selected-chip"],["type","button",1,"op-drawer__selected-remove",3,"click"],["type","button",1,"op-drawer__search-clear",3,"click"],[1,"op-drawer__taglist"],["type","button","class","op-drawer__tag",3,"is-selected","click",4,"ngFor","ngForOf","ngForTrackBy"],["type","button",1,"op-drawer__tag",3,"click"],["aria-hidden","true",1,"op-drawer__tag-check"],[1,"fa-light","fa-check"],[1,"op-drawer__tag-name"],[1,"op-drawer__empty"],["class","col-md-4 my-3",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col-md-4","my-3"],["count","1",3,"theme"],["count","6",3,"theme"],["class","align-items-center mb-3",4,"ngIf","ngIfElse"],["class","op-table-wrap",4,"ngIf"],["class","row position-relative",4,"ngIf"],["class","row",4,"ngIf"],[1,"align-items-center","mb-3"],[1,"d-flex","flex-wrap","gap-2"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_1",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_3",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_8",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_4",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_5",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_2",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_7",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_9",3,"active_list","click",4,"ngIf"],["class","products_list cursor__pointer d-flex align-items-center","id","tab_6",3,"active_list","click",4,"ngIf"],["id","tab_1",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],[1,"tag_name","mb-0",2,"max-width","100% !important"],[1,"course-count-circle",3,"ngClass"],["id","tab_3",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_8",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_4",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_5",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_2",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_7",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_9",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],["id","tab_6",1,"products_list","cursor__pointer","d-flex","align-items-center",3,"click"],[1,"op-table-wrap"],["class","op-table","role","table",4,"ngIf"],["class","op-table__empty",4,"ngIf"],["class","op-pagination",4,"ngIf"],["role","table",1,"op-table"],[1,"op-table__th-name"],[1,"op-table__th-desc"],[1,"op-table__th-meta"],[1,"op-table__th-action"],["class","op-table__row","tabindex","0",3,"click","keyup.enter",4,"ngFor","ngForOf","ngForTrackBy"],["tabindex","0",1,"op-table__row",3,"click","keyup.enter"],[1,"op-table__cell","o
6p-table__cell--name"],[1,"op-table__name-text"],[1,"op-table__title"],[1,"op-table__cell","op-table__cell--desc"],[1,"op-table__cell","op-table__cell--meta"],[1,"op-table__cell","op-table__cell--action"],["type","button",1,"op-table__action",3,"click"],[1,"fa-light","fa-chevron-right"],[1,"op-table__no-desc"],[1,"op-table__price","op-table__price--free"],["class","op-table__price--strike op-table__price--strike-after",4,"ngIf"],[1,"op-table__price--strike","op-table__price--strike-after"],[1,"op-table__price"],[1,"op-table__empty"],[1,"fa-light","fa-inbox"],[1,"op-pagination"],[1,"op-pagination__info"],[1,"op-pagination__size"],["for","opPageSize"],["id","opPageSize",3,"ngModelChange","ngModel"],[3,"ngValue",4,"ngFor","ngForOf"],[1,"op-pagination__nav"],["type","button",1,"op-pagination__btn",3,"click","disabled"],[1,"fa-light","fa-chevron-left"],[3,"ngValue"],["type","button","class","op-pagination__page",3,"is-active","click",4,"ngIf","ngIfElse"],["type","button",1,"op-pagination__page",3,"click"],[1,"op-pagination__dots"],[1,"row","position-relative"],[1,"d-flex","justify-content-between"],["placement","right",1,"align-self-center","white","card","py-1","px-3","freshlms__fs__12",2,"border-radius","24px!important","border","2px dashed #ced4da !important","background-color","transparent",3,"click","mdbTooltip","ngClass"],[1,"tags-class"],[1,"fa-light","fa-circle-plus","me-1"],[1,"col-12","p-0"],["class","filter-overlay",4,"ngIf"],[1,"filter-overlay"],[1,"filters-card"],[1,"freshlms__fs__14","freshlms__fw_400","freshlms__lineH__22","freshlms__letter__0","px-3","px-md-4","mb-2",2,"color","#637381"],[1,"dropdown-divider"],["class","col-12 d-flex flex-column flex-md-row align-items-start align-items-md-center justify-content-between gap-2 gap-md-0",4,"ngIf","ngIfElse"],[1,"col-12","d-flex","flex-column","flex-md-row","align-items-start","align-items-md-center","justify-content-between","gap-2","gap-md-0"],[1,"custom-checkbox-class","commonFilterContainer","flex-grow-1","me-md-2","enrolledProducts","w-100",2,"border","1px solid #D3D3D3","border-radius","4px"],[1,"custom-font-size","custom-dropdown-class","custom-checkbox-class",3,"ngModelChange","id","name","options","texts","settings","ngModel"],[1,"d-flex","align-items-center","gap-2","w-100","w-md-auto"],["type","submit",1,"fresh_lms_primary_btn","d-flex","align-items-center","flex-grow-1","flex-md-grow-0",3,"click","disabled"],[1,"fas",3,"ngClass"],[1,"fresh_lms_secondary_btn","flex-grow-1","flex-md-grow-0",3,"click"],["class","mt-3 ps-4 freshlms__fs__14 freshlms__fw_400 fresh__text__828282",4,"ngIf"],[1,"mt-3","ps-4","freshlms__fs__14","freshlms__fw_400","fresh__text__828282"],[1,"custom-checkbox-class","commonFilterContainer","flex-grow-1","me-md-2","w-100",2,"border","1px solid #637381","border-radius","4px"],["class"," col-lg-3 col-md-6 col-12 my-3","style","position: relative;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"col-lg-3","col-md-6","col-12","my-3",2,"position","relative"],[1,"card","freshlms__shadow__hovererable","d-flex","flex-column","h-100"],[1,"product-card-image",3,"click"],[1,"image-wrapper"],["loading","lazy","alt","",1,"",3,"src"],[1,"card-body"],[3,"click"],[1,"d-flex","justify-content-start","align-items-center"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","fresh__text__2C7BF7","freshlms__letter__015",3,"ngClass"],["class","freshlms__fs__12 mb-0 freshlms__letter__015 text-muted",4,"ngIf"],[1,"card-title","mb-0","mt-2","fresh__text__212B36",3,"appEllipsisTooltip"],[1,"card-text"],[1,"mb-0","mt-0","freshlms__fs__12","freshlms__fw_400","fresh__text__828282","freshlms__lineH__16","freshlms__letter__015",3,"appEllipsisTooltip"],[1,"d-flex","py-1","mt-2","row","justify-content-between"],[1,"d-flex","justify-content-between","align-items-center"],["class","fresh_lms_enroll_btn ms-auto","type","button",3,"click",4,"ngIf"],[1,"freshlms__fs__12","mb-0","freshlms__letter__015","text-muted"],["style","font-size:22px","class","d-flex align-items-center justify-content-center freshlms__fw_600",4,"ngIf"],["class","freshlms__fs__14 d-flex align-items-center","style","color: #0ea500;font-weight:600",4,"ngIf"],[1,"d-flex","align-items-center","justify-content-center","freshlms__fw_600",2,"font-size","22px"],["class","fresh__text__828282 freshlms__fw_400 freshlms__fs__10",4,"ngIf"],["style","color: #637381","class","freshlms__fs__12 freshlms__letter__017 freshlms__lineH__17 freshlms__fw_400",4,"ngIf"],[1,"fresh__text__828282","freshlms__fw_400","freshlms__fs__10"],[1,"freshlms__fs__12","freshlms__letter__017","freshlms__lineH__17","freshlms__fw_400",2,"color","#637381"],[1,"strike-red"],[1,"freshlms__fs__14","d-flex","align-items-center",2,"color","#0ea500","font-weight","600"],["style","color: #637381","class","freshlms__fs__12 freshlms__letter__017 freshlms__lineH__17 freshlms__fw_400 ms-1",4,"ngIf"],[1,"freshlms__fs__12","freshlms__letter__017","freshlms__lineH__17","freshlms__fw_400","ms-1",2,"color","#637381"],["type","button",1,"fresh_lms_enroll_btn","ms-auto",3,"click"],[1,"dropdown-divider","m-0"],[1,"card-body","author-list","d-flex","flex-wrap","gap-2","align-items-center"],["class","d-flex align-items-center cursor__pointer position-relative","role","button","tabindex","0","aria-haspopup","dialog","aria-controls","tagPopover",3,"click","keydown.enter","keydown.space","mouseenter",4,"ngIf"],[1,"d-flex","align-items-center","cursor__pointer",3,"click"],[1,"chip_courses","d-flex","m-0","me-1"],[1,"tagTextQuestion","mb-0",3,"title"],["role","button","tabindex","0","aria-haspopup","dialog","aria-controls","tagPopover",1,"d-flex","align-items-center","cursor__pointer","position-relative",3,"click","keydown.enter","keydown.space","mouseenter"],[1,"tagTextQuestion","mb-0"],[1,"card","freshlms__shadow__hovererable"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",3,"ngClass"],["class","col-lg-3 col-md-6 col-12 my-3","style","position: relative;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","fresh__text__0DCAF0","freshlms__letter__015"],["style","margin-bottom: 0.75rem;",4,"ngIf"],[2,"margin-bottom","0.75rem"],[1,"d-flex","align-items-start","gap-2","mb-0","mt-0","freshlms__fs__11","freshlms__letter__015",2,"border","1p
6x solid #E2E8F0","border-radius","10px","background","#F8FAFC","padding","8px 12px"],[1,"fa-light","fa-calendar","flex-shrink-0","align-self-start",2,"color","#637381","font-size","16px","margin-right","2px","margin-top","1px"],["class","d-flex flex-column align-items-center flex-shrink-0","style","height: 28px; justify-content: space-between; margin: 1px 2px 0 2px;",4,"ngIf"],["class","d-flex align-items-center flex-shrink-0","style","margin: 3px 2px 0 2px;",4,"ngIf"],[1,"d-flex","flex-column",2,"gap","3px","flex","1","min-width","0"],[1,"freshlms__fs__11","freshlms__fw_600","fresh__text__303030",2,"line-height","1.2","font-size","11px","white-space","nowrap","overflow","hidden","text-overflow","ellipsis"],["class","freshlms__fs__11 freshlms__fw_600 fresh__text__303030","style","line-height: 1.2; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis;",4,"ngIf"],[1,"d-flex","flex-column","align-items-center","flex-shrink-0",2,"height","28px","justify-content","space-between","margin","1px 2px 0 2px"],[1,"fa-solid","fa-circle","dark-circle",2,"font-size","8px","color","#2C7BF7","line-height","1"],[2,"width","1px","flex","1","border-left","1.5px dotted #94A3B8","margin","1px 0"],[1,"fa-sharp","fa-light","fa-circle","light-circle",2,"font-size","8px","color","#94A3B8","line-height","1"],[1,"d-flex","align-items-center","flex-shrink-0",2,"margin","3px 2px 0 2px"],[1,"chip_courses","d-flex","m-0"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#FF6F00"],[1,"card-text","mb-2"],["style","font-size:22px","class","d-flex align-items-center justify-content-center freshlms__fw_600",3,"click",4,"ngIf"],["class","freshlms__fs__14 d-flex align-items-center","style","color: #0ea500;font-weight:600",3,"click",4,"ngIf"],[1,"d-flex","align-items-center","justify-content-center","freshlms__fw_600",2,"font-size","22px",3,"click"],[1,"freshlms__fs__14","d-flex","align-items-center",2,"color","#0ea500","font-weight","600",3,"click"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","fresh__text__2C7BF7","freshlms__letter__015"],[1,"my-2"],[1,"d-flex","justify-content-center","ql-snow","mb-0","mt-0","freshlms__fs__12","freshlms__fw_400","fresh__text__828282","freshlms__lineH__16","freshlms__letter__015",2,"border","1px solid #E2E8F0","border-radius","8px","background","#F7F7F7"],[1,"align-self-center","fa-light","fa-calendar"],[1,"p-2","freshlms__fs__10","mb-0","freshlms__fw_600","text-center","fresh__text__303030"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#bf00ff"],[1,"card-body","author-list","d-flex","flex-wrap","gap-2","align-items-center",2,"background-color","#F8FAFC","padding","1.5rem!important"],["class","flex-wrap col-lg-3 col-md-6 col-12 my-3","style","position: relative;",4,"ngFor","ngForOf","ngForTrackBy"],[1,"d-flex","py-1","row","mt-2","justify-content-between"],[1,"d-flex","justify-content-between","align-items-center","pt-2"],[1,"flex-wrap","col-lg-3","col-md-6","col-12","my-3",2,"position","relative"],[1,"text-uppercase","freshlms__fs__12","mb-0","freshlms__fw_500","freshlms__letter__015",2,"color","#4338CA"],[1,"mb-0","mt-1","freshlms__fs__12","freshlms__fw_400","fresh__text__828282","freshlms__lineH__16","freshlms__letter__015"],["class","emptyPlans",4,"ngIf"],[1,"emptyPlans"],[1,"childEmptyPlans","text-center","mt-5"],["loading","lazy","src","https://cdn.freshlms.info/icons/freshlms_empty.png","width","250","height","auto",1,"pb-3"],[1,"fresh__text__828282","freshlms__fs__14","freshlms__letter__0","text-center","freshlms__lineH__19","col-md-10","mx-auto","mt-2","mb-3"],["role","presentation",1,"mp-tags-modal-backdrop",3,"click"],["id","tagPopover","role","dialog","aria-modal","true",1,"mp-tags-modal",3,"click"],[1,"mp-tags-modal__header"],[1,"mp-tags-modal__title"],["type","button",1,"mp-tags-modal__close",3,"click"],[1,"mp-tags-modal__body"],["class","chip_courses",3,"title",4,"ngFor","ngForOf","ngForTrackBy"],[1,"chip_courses",3,"title"]],template:function(e,n){if(e&1){let o=b();a(0,"div",16)(1,"div",17)(2,"div",18)(3,"div",19)(4,"h2",20),d(5),m(6,"transloco"),s(),a(7,"span",21),d(8),s()(),a(9,"div",22),C(10,"i",23),a(11,"input",24),m(12,"transloco"),m(13,"transloco"),R("ngModelChange",function(p){return u(o),N(n.searchQuery,p)||(n.searchQuery=p),g(p)}),s(),v(14,Ja,3,3,"button",25),s()(),a(15,"div",26),v(16,Ka,6,6,"button",27),a(17,"div",28),m(18,"transloco"),a(19,"button",29),m(20,"transloco"),h("click",function(){return n.viewMode="grid"}),C(21,"i",30),s(),a(22,"button",29),m(23,"transloco"),h("click",function(){return n.viewMode="list"}),C(24,"i",31),s()()()(),v(25,el,8,8,"div",32),a(26,"div",33),h("click",function(){return n.closeFilterDrawer()}),s(),a(27,"aside",34),m(28,"transloco"),a(29,"div",35)(30,"div",36),C(31,"i",37),a(32,"span"),d(33),m(34,"transloco"),s(),v(35,tl,2,1,"span",38),s(),a(36,"button",39),m(37,"transloco"),h("click",function(){return n.closeFilterDrawer()}),C(38,"i",40),s()(),a(39,"div",41),v(40,il,6,5,"div",42),a(41,"div",43)(42,"h6",44),d(43),m(44,"transloco"),s(),a(45,"div",45),C(46,"i",46),a(47,"input",47),m(48,"transloco"),m(49,"transloco"),R("ngModelChange",function(p){return u(o),N(n.tagSearchQuery,p)||(n.tagSearchQuery=p),g(p)}),s(),v(50,ol,3,3,"button",48),s()(),a(51,"div",49)(52,"h6",44),d(53),s(),v(54,al,2,2,"div",50)(55,ll,3,4,"ng-template",null,0,M),s()(),a(57,"div",51)(58,"button",52),h("click",function(){return n.clearDraftTags()}),d(59),m(60,"transloco"),s(),a(61,"button",53),h("click",function(){return n.applyDrawerFilters()}),d(62),m(63,"transloco"),v(64,cl,2,1,"span",54),s()()(),a(65,"div",55)(66,"div",56),v(67,_l,2,3,"ng-container",57)(68,dl,2,2,"ng-template",null,1,M)(70,Xd,3,1,"ng-template",null,2,M)(72,ep,6,3,"ng-template",null,3,M),s()()(),a(74,"button",58),d(75,"Open Modal"),s(),a(76,"div",59,4)(78,"div",60)(79,"div",61)(80,"div",62),Ae(),a(81,"svg",63),C(82,"path",64),s()(),Ve(),a(83,"h3",65),d(84),s(),a(85,"p",66),d(86),s(),a(87,"div",67)(88,"button",68),h("click",function(p){return p.currentTarget.blur()}),d(89),m(90,"transloco"),s(),a(91,"button",69),h("click",function(p){return u(o),p.currentTarget.blur(),g(n.enrollNow())}),d(92),m(93,"transloco"),s()()()()(),a(94,"button",70),d(95,"Open Modal"),s(),a(96,"div",71,5)(98,"div",72)(99,"div",61),C(100,"app-checkout",73),s()()(),v(101,np,12,11,"div",74)}if(e&2){let o=S(56),c=S(71);
6k("op-view-list",n.viewMode==="list"),r(5),y(f(6,53,"dash_board.explore")),r(3),y((n.productsCount==null?null:n.productsCount.all)||0),r(3),_("placeholder",f(12,55,"dash_board.searchLibrary")),U("ngModel",n.searchQuery),I("aria-label",f(13,57,"dash_board.searchLibrary")),r(3),_("ngIf",n.searchQuery),r(2),_("ngIf",n.activeTab!=="tab_6"),r(),I("aria-label",f(18,59,"dash_board.viewToggle")),r(2),k("is-active",n.viewMode==="grid"),I("aria-label",f(20,61,"dash_board.gridView")),r(3),k("is-active",n.viewMode==="list"),I("aria-label",f(23,63,"dash_board.listView")),r(3),_("ngIf",n.appliedFilterCount>0),r(),k("is-visible",n.filterDrawerOpen),r(),k("is-open",n.filterDrawerOpen),I("aria-label",f(28,65,"dash_board.filters")),r(6),y(f(34,67,"dash_board.filters")),r(2),_("ngIf",n.draftTagIds.length>0),r(),I("aria-label",f(37,69,"dash_board.closeFilters")),r(4),_("ngIf",n.draftTagIds.length>0),r(3),y(f(44,71,"dash_board.searchByTags")),r(4),_("placeholder",f(48,73,"dash_board.searchTagsPlaceholder")),U("ngModel",n.tagSearchQuery),I("aria-label",f(49,75,"dash_board.searchTagsAria")),r(3),_("ngIf",n.tagSearchQuery),r(3),E(" ",n.filteredTagOptions.length," tag",n.filteredTagOptions.length===1?"":"s"," "),r(),_("ngIf",n.filteredTagOptions.length>0)("ngIfElse",o),r(4),_("disabled",n.draftTagIds.length===0),r(),x(" ",f(60,77,"dash_board.clear")," "),r(3),x(" ",f(63,79,"dash_board.applyFilters")," "),r(2),_("ngIf",n.draftTagIds.length>0),r(3),_("ngIf",n.unenrollloading)("ngIfElse",c),r(7),_("hidden",!0),r(10),x(" ",n.enrolModal||"Confirm enrolment"," "),r(2),x(" ",n.areyousureModal||"Are you sure you want to enroll in this product?"," "),r(3),x(" ",f(90,81,"dash_board.cancel")," "),r(3),x(" ",f(93,83,"dash_board.yesEnrollMe")," "),r(2),_("hidden",!0),r(6),_("planId",n.planId)("productType",n.productType)("productId",n.productId)("enrollFreePlan",n.enrollFreePlan)("courseType",n.enrolledCourseType),r(),_("ngIf",n.showAllTagsId!==null&&(n.popoverTags==null?null:n.popoverTags.length))}},dependencies:[xe,Qe,qe,ve,J,we,Pe,oe,ye,re,ae,Te,rt,ie,St,Ze,he,it,ke,ne],styles:['@charset "UTF-8";[_nghost-%COMP%]{display:block}.strike-red[_ngcontent-%COMP%]{position:relative;color:var(--mp-text-muted);display:inline-block}.strike-red[_ngcontent-%COMP%]:after{content:"";position:absolute;left:0;right:0;top:50%;height:1px;background-color:var(--mp-text-muted);transform:translateY(-50%)}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]{border-radius:12px!important;box-shadow:0 2px 8px #0000001a!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding:16px!important;gap:16px!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.d-flex):not(.freshlms__width__100):not(.content-stretch){gap:8px!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .d-flex.justify-content-start.align-items-center[_ngcontent-%COMP%]{flex-direction:column!important;align-items:flex-start!important;gap:4px!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .d-flex.justify-content-start.align-items-center[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{margin:0!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   h5.card-title.mb-0.mt-2[_ngcontent-%COMP%]{font-size:17px!important;font-weight:600!important;line-height:1.35!important;margin-top:0!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:12px!important;line-height:16px!important;color:#637381!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .d-flex.row.justify-content-between[_ngcontent-%COMP%]{margin:auto 0 0!important;padding:0!important;width:100%}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]:has(>.fresh_lms_enroll_btn), .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:has(>.fresh_lms_enroll_btn){display:flex!important;width:100%!important;gap:16px!important;align-items:center!important;justify-content:space-between!important;flex-wrap:nowrap!important;margin-top:auto!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .d-flex[_ngcontent-%COMP%]:has(>.fresh_lms_enroll_btn) > *[_ngcontent-%COMP%]:not(.fresh_lms_enroll_btn), .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:has(>.fresh_lms_enroll_btn) > *[_ngcontent-%COMP%]:not(.fresh_lms_enroll_btn){flex:0 1 auto!important;min-width:0}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn.ms-auto[_ngcontent-%COMP%]{flex:0 0 auto!important;width:auto!important;min-width:130px!important;max-width:160px!important;height:40px!important;border-radius:8px!important;font-size:14px!important;margin-left:auto!important;white-space:nowrap}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn[_ngcontent-%COMP%]:disabled, .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn[disabled][_ngcontent-%COMP%]{background-color:#f3f4f6!important;border-color:#e5e7eb!important;color:#9ca3af!important;cursor:not-allowed!important;box-shadow:none!important;pointer-events:none!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn[_ngcontent-%COMP%]:disabled:hover, .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]   .fresh_lms_enroll_btn[disabled][_ngcontent-%COMP%]:hover{background-color:#f3f4f6!important;border-color:#e5e7eb!important;color:#9ca3af!important;box-shadow:none!important;transform:none!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body.author-list[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%]{flex:0 0 auto!important;
6border-top:1px solid #f0f0f0!important;padding:10px 16px!important;background:#fafbfc!important;gap:6px!important;margin:0!important;min-height:44px!important;max-height:44px!important;display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;align-items:center!important;overflow:hidden!important;box-sizing:border-box!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%]   .chip_courses[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body.author-list[_ngcontent-%COMP%]   .chip_courses[_ngcontent-%COMP%]{flex:0 0 auto!important;max-width:120px}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%]   .chip_courses[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%]   .chip_courses[_ngcontent-%COMP%]   .tagTextQuestion[_ngcontent-%COMP%]{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}@media(max-width:575px){.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%]{padding:14px!important;gap:8px!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]:not(.d-flex):not(.freshlms__width__100):not(.content-stretch){gap:8px!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-title[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   h5.card-title.mb-0.mt-2[_ngcontent-%COMP%]{font-size:16.5px!important;line-height:1.35!important;min-height:0!important;max-height:none!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:13.5px!important;line-height:1.45!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .author-list[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable[_ngcontent-%COMP%]   .card-body.author-list[_ngcontent-%COMP%]{padding:10px 14px!important}}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable.buy-disabled[_ngcontent-%COMP%]{cursor:default!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable.buy-disabled[_ngcontent-%COMP%]:hover{transform:none!important}.tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable.buy-disabled[_ngcontent-%COMP%]   .product-card-image[_ngcontent-%COMP%], .tab-pane[_ngcontent-%COMP%]   .card.freshlms__shadow__hovererable.buy-disabled[_ngcontent-%COMP%]   .chip_courses[_ngcontent-%COMP%]{cursor:default!important}.op-body[_ngcontent-%COMP%]   .row[_ngcontent-%COMP%]{margin-left:-12px!important;margin-right:-32px!important}.op-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 32px;border-bottom:1px solid #eaeaea}@media(max-width:767px){.op-toolbar[_ngcontent-%COMP%]{padding:14px 18px;gap:12px}}@media(max-width:575px){.op-toolbar[_ngcontent-%COMP%]{padding:12px 14px}}.op-toolbar__left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:16px;flex:1 1 auto;min-width:0;flex-wrap:wrap}@media(max-width:575px){.op-toolbar__left[_ngcontent-%COMP%]{display:contents}}.op-toolbar__right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}@media(max-width:575px){.op-toolbar__right[_ngcontent-%COMP%]{display:contents}}.op-toolbar__title[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px}@media(max-width:575px){.op-toolbar__title[_ngcontent-%COMP%]{width:100%}}.op-title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;color:var(--mp-text);letter-spacing:-.01em}.op-title__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:20px;min-width:22px;padding:0 8px;background:#f5f5f5;border-radius:999px;color:var(--mp-text-soft);font-size:12px;font-weight:500}.op-search[_ngcontent-%COMP%]{position:relative;flex:1 1 280px;max-width:360px;display:inline-flex;align-items:center;height:37px;background:#fafafa;border:.8px solid var(--mp-border-soft);border-radius:10px;padding:0 14px;gap:12px;transition:border-color .15s,background .15s}@media(max-width:575px){.op-search[_ngcontent-%COMP%]{flex:1 1 0;min-width:0;max-width:none;height:34px;padding:0 10px;gap:8px}}.op-search__icon[_ngcontent-%COMP%]{color:var(--c-icon);font-size:14px}.op-search__input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;background:transparent;outline:none;font-size:14px;color:var(--mp-text);min-width:0}.op-search__input[_ngcontent-%COMP%]::placeholder{color:#0a0a0a80}.op-search[_ngcontent-%COMP%]:focus-within{background:#fff;border-color:var(--mp-blue)}.op-search__clear[_ngcontent-%COMP%]{border:0;background:transparent;padding:4px;color:#0a0a0a73;cursor:pointer;border-radius:6px;line-height:0;flex-shrink:0}.op-search__clear[_ngcontent-%COMP%]:hover{color:var(--mp-text);background:#0000000d}.op-view-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;height:32px;padding:2px;background:#f5f5f5;border-radius:8px}.op-view-toggle__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border:0;background:transparent;color:var(--mp-text-muted);border-radius:6px;cursor:pointer;font-size:13px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast)}.op-view-toggle__btn[_ngcontent-%COMP%]:hover{color:var(--mp-text)}.op-view-toggle__btn[_ngcontent-%COMP%]:active{transform:scale(.92)}
6.op-view-toggle__btn.is-active[_ngcontent-%COMP%]{background:#fff;color:var(--mp-blue);box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.op-filter-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 14px;background:#fff;border:.8px solid var(--mp-border);border-radius:8px;color:var(--mp-text-soft);font-size:12.5px;font-weight:500;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),border-color var(--mp-anim-fast),transform var(--mp-anim-fast);position:relative}.op-filter-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:14px}.op-filter-btn[_ngcontent-%COMP%]:hover{background:var(--mp-blue-soft);color:var(--mp-blue);border-color:var(--mp-blue)}.op-filter-btn[_ngcontent-%COMP%]:active{transform:scale(.97)}.op-filter-btn.has-active[_ngcontent-%COMP%]{background:var(--mp-blue-soft);color:var(--mp-blue);border-color:var(--mp-blue);font-weight:600}.op-filter-btn__badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--mp-blue);color:#fff;font-size:11px;font-weight:600;line-height:1}.op-applied[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:12px 32px;border-bottom:1px solid #f0f0f0;background:var(--mp-blue-soft, #f0f9ff)}@media(max-width:575px){.op-applied[_ngcontent-%COMP%]{padding:10px 14px}}.op-applied__label[_ngcontent-%COMP%]{font-size:12px;font-weight:600;color:var(--mp-text-soft);margin-right:4px}.op-applied__chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:#fff;border:.8px solid color-mix(in srgb,var(--c-brand) 30%,transparent);border-radius:999px;padding:4px 6px 4px 12px;font-size:12px;font-weight:500;color:var(--mp-blue)}.op-applied__remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;background:color-mix(in srgb,var(--c-brand) 10%,transparent);color:var(--mp-blue);border-radius:50%;cursor:pointer;font-size:10px;line-height:0;transition:background var(--mp-anim-fast),transform var(--mp-anim-fast)}.op-applied__remove[_ngcontent-%COMP%]:hover{background:var(--mp-blue);color:#fff}.op-applied__remove[_ngcontent-%COMP%]:active{transform:scale(.9)}.op-applied__clear[_ngcontent-%COMP%]{margin-left:auto;border:0;background:transparent;color:var(--mp-text-soft);font-size:12px;font-weight:500;cursor:pointer;padding:4px 8px;border-radius:6px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.op-applied__clear[_ngcontent-%COMP%]:hover{background:#0000000d;color:var(--mp-text)}.op-drawer-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0f172a73;z-index:1060;opacity:0;pointer-events:none;transition:opacity .22s cubic-bezier(.22,1,.36,1)}.op-drawer-backdrop.is-visible[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}.op-drawer[_ngcontent-%COMP%]{position:fixed;top:0;right:0;bottom:0;width:420px;max-width:92vw;z-index:1061;background:#fff;border-left:.8px solid var(--mp-border);box-shadow:-16px 0 40px -12px #0f172a2e;transform:translate(105%);transition:transform .28s cubic-bezier(.22,1,.36,1);display:flex;flex-direction:column;will-change:transform}.op-drawer.is-open[_ngcontent-%COMP%]{transform:translate(0)}.op-drawer__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:20px 24px;border-bottom:1px solid #f0f0f0}.op-drawer__title[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--mp-text)}.op-drawer__title[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:16px;color:var(--c-icon)}.op-drawer__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 8px;background:var(--mp-blue);color:#fff;border-radius:999px;font-size:11px;font-weight:600;margin-left:4px}.op-drawer__close[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border:0;background:transparent;border-radius:8px;color:var(--c-icon);cursor:pointer;font-size:16px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.op-drawer__close[_ngcontent-%COMP%]:hover{background:#f5f5f5;color:var(--mp-text)}.op-drawer__body[_ngcontent-%COMP%]{flex:1 1 auto;overflow-y:auto;padding:4px 4px 8px;display:flex;flex-direction:column;gap:4px}.op-drawer__section[_ngcontent-%COMP%]{padding:16px 24px}.op-drawer__section--list[_ngcontent-%COMP%]{flex:1 1 auto}.op-drawer__section-title[_ngcontent-%COMP%]{margin:0 0 12px;font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--mp-text-muted)}.op-drawer__selected[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:6px}.op-drawer__selected-chip[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;background:var(--c-brand);border-radius:999px;padding:4px 6px 4px 12px;font-size:12px;font-weight:500;color:var(--c-brand-ink);animation:_ngcontent-%COMP%_op-chip-in .2s cubic-bezier(.22,1,.36,1)}.op-drawer__selected-remove[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;background:#ffffff38;color:#fff;border-radius:50%;cursor:pointer;font-size:10px;line-height:0;transition:background var(--mp-anim-fast)}.op-drawer__selected-remove[_ngcontent-%COMP%]:hover{background:#fff6}.op-drawer__search[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:0 12px;
6height:40px;border:.8px solid var(--mp-border);border-radius:10px;background:#fafafa;transition:background var(--mp-anim-fast),border-color var(--mp-anim-fast)}.op-drawer__search[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{color:var(--c-icon);font-size:14px}.op-drawer__search[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:1 1 auto;border:0;background:transparent;outline:none;font-size:14px;color:var(--mp-text);min-width:0}.op-drawer__search[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]::placeholder{color:#0a0a0a73}.op-drawer__search[_ngcontent-%COMP%]:focus-within{background:#fff;border-color:var(--mp-blue);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 10%,transparent)}.op-drawer__search-clear[_ngcontent-%COMP%]{width:24px;height:24px;border:0;background:transparent;color:#0a0a0a73;border-radius:6px;cursor:pointer}.op-drawer__search-clear[_ngcontent-%COMP%]:hover{background:#0000000d;color:var(--mp-text)}.op-drawer__taglist[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px}.op-drawer__tag[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:10px 12px;border:0;background:transparent;border-radius:10px;cursor:pointer;text-align:left;transition:background var(--mp-anim-fast);width:100%}.op-drawer__tag[_ngcontent-%COMP%]:hover{background:#f5f7fa}.op-drawer__tag.is-selected[_ngcontent-%COMP%]{background:var(--c-brand-soft)}.op-drawer__tag.is-selected[_ngcontent-%COMP%]   .op-drawer__tag-check[_ngcontent-%COMP%]{background:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink)}.op-drawer__tag.is-selected[_ngcontent-%COMP%]   .op-drawer__tag-name[_ng
6content-%COMP%]{color:var(--c-brand);font-weight:600}.op-drawer__tag-check[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;border:1.5px solid var(--mp-border);border-radius:6px;background:#fff;color:transparent;font-size:10px;flex-shrink:0;transition:background var(--mp-anim-fast),border-color var(--mp-anim-fast),color var(--mp-anim-fast)}.op-drawer__tag-name[_ngcontent-%COMP%]{font-size:14px;color:var(--c-text);flex:1 1 auto;transition:color var(--mp-anim-fast)}.op-drawer__empty[_ngcontent-%COMP%]{margin:12px 0;font-size:13px;color:var(--mp-text-muted);text-align:center;padding:24px 0}.op-drawer__footer[_ngcontent-%COMP%]{display:flex;gap:8px;padding:16px 24px;border-top:1px solid #f0f0f0;background:#fafafa}.op-drawer__btn[_ngcontent-%COMP%]{flex:1 1 auto;height:40px;border-radius:10px;font-size:14px;font-weight:600;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast)}.op-drawer__btn--ghost[_ngcontent-%COMP%]{background:#fff;border:.8px solid var(--mp-border);color:var(--mp-text-soft)}.op-drawer__btn--ghost[_ngcontent-%COMP%]:hover:not(:disabled){background:#f5f5f5;color:var(--mp-text)}.op-drawer__btn--ghost[_ngcontent-%COMP%]:disabled{opacity:.5;cursor:not-allowed}.op-drawer__btn--primary[_ngcontent-%COMP%]{background:var(--c-brand);border:0;color:var(--c-brand-ink);display:inline-flex;align-items:center;justify-content:center;gap:6px}.op-drawer__btn--primary[_ngcontent-%COMP%]:hover{background:#1f6df5;box-shadow:0 4px 12px -4px color-mix(in srgb,var(--c-brand) 50%,transparent)}.op-drawer__btn[_ngcontent-%COMP%]:active{transform:scale(.98)}@keyframes _ngcontent-%COMP%_op-chip-in{0%{opacity:0;transform:scale(.9)}to{opacity:1;transform:scale(1)}}@media(max-width:480px){.op-drawer[_ngcontent-%COMP%]{width:100vw;max-width:100vw;border-left:0}}@media(prefers-reduced-motion:reduce){.op-drawer[_ngcontent-%COMP%], .op-drawer-backdrop[_ngcontent-%COMP%]{transition:none!important}.op-drawer__selected-chip[_ngcontent-%COMP%]{animation:none!important}}.op-body[_ngcontent-%COMP%]   .filter-overlay[_ngcontent-%COMP%], .op-body[_ngcontent-%COMP%]   a.white.card[_ngcontent-%COMP%]{display:none!important}.op-body[_ngcontent-%COMP%]{padding:24px 32px 32px}@media(max-width:767px){.op-body[_ngcontent-%COMP%]{padding:20px 18px}}@media(max-width:575px){.op-body[_ngcontent-%COMP%]{padding:16px 14px}}.op-tabs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:20px}']})};var rp=["pointsAnchor"],ap=["linksAnchor"],lp=()=>["enrolled-products"],xt=()=>["/account"],cp=()=>["other-products"],sp=()=>["achievements"],_p=()=>["/affiliates"];function dp(i,t){if(i&1&&C(0,"img",11),i&2){let e=l();_("src",e.member==null?null:e.member.image_url,A)("routerLink",D(2,xt))}}function pp(i,t){if(i&1&&(a(0,"div",12),C(1,"ngx-avatars",40),s()),i&2){let e=l();_("routerLink",D(2,xt)),r(),_("name",!(e.member==null||e.member.first_name==null)&&e.member.first_name.trim()?e.member==null?null:e.member.first_name:e.member==null?null:e.member.email)}}function mp(i,t){if(i&1){let e=b();a(0,"a",17),h("click",function(){u(e);let o=l();return o.getOtherProducts(),g(o.closeSidebar())}),C(1,"i",41),a(2,"span",19),d(3),m(4,"transloco"),s(),a(5,"span",20),d(6),s()()}if(i&2){let e=l();_("routerLink",D(5,cp)),r(3),y(f(4,3,"dash_board.explore")),r(3),y(e.otherCount)}}function up(i,t){if(i&1){let e=b();a(0,"a",17),h("click",function(){u(e);let o=l();return o.getAchievements(),g(o.closeSidebar())}),C(1,"i",42),a(2,"span",19),d(3),m(4,"transloco"),s(),a(5,"span",20),d(6),s()()}if(i&2){let e=l();_("routerLink",D(5,sp)),r(3),y(f(4,3,"achievements.achievements")),r(3),y(e.achievementsCount)}}function gp(i,t){if(i&1){let e=b();a(0,"a",43,0),h("click",function(o){u(e);let c=l();return g(c.togglePoints(o))}),C(2,"i",44),a(3,"span",19),d(4),m(5,"transloco"),s(),a(6,"span",45),d(7),s()()}if(i&2){let e=l();k("is-active",e.pointsOpen),r(4),y(f(5,4,"dash_board.points")),r(3),x(" ",e.formatPoints(e.rewardPoints)," ")}}function fp(i,t){if(i&1){let e=b();a(0,"a",34),h("click",function(){u(e);let o=l();return o.openCommunity(),g(o.closeSidebar())}),C(1,"i",46),a(2,"span",19),d(3),m(4,"transloco"),s(),C(5,"i",47),s()}i&2&&(r(3),y(f(4,1,"dash_board.community")))}function vp(i,t){if(i&1){let e=b();a(0,"a",48),h("click",function(){u(e);let o=l();return g(o.closeSidebar())}),C(1,"i",49),a(2,"span",19),d(3),s(),C(4,"i",47),s()}if(i&2){let e=l();_("href",e.validHeaderLinks[0].link,A),r(3),y(e.validHeaderLinks[0].name)}}function xp(i,t){if(i&1){let e=b();a(0,"button",50),h("click",function(){u(e);let o=l();return g(o.openLinksSheet())}),C(1,"i",49),a(2,"span",51),m(3,"transloco"),d(4),m(5,"transloco"),s(),C(6,"i",52),s()}if(i&2){let e=l();k("is-active",e.linksSheetOpen),I("aria-expanded",e.linksSheetOpen),r(2),_("appEllipsisTooltip",e.linksMenuName||f(3,5,"dash_board.links")),r(2),x(" ",e.linksMenuName||f(5,7,"dash_board.links")," ")}}function hp(i,t){if(i&1){let e=b();a(0,"a",53),h("click",function(o){u(e);let c=l();return g(c.toggleFeedback(o))}),C(1,"i",54),a(2,"span",19),d(3),m(4,"transloco"),s()()}if(i&2){let e=l();k("is-active",e.feedbackOpen),r(3),y(f(4,3,"dash_board.feedback"))}}function Cp(i,t){if(i&1){let e=b();a(0,"a",32),h("click",function(){u(e);let o=l();return g(o.closeSidebar())}),C(1,"i",55),a(2,"span",19),d(3),m(4,"transloco"),s()()}i&2&&(_("routerLink",D(4,_p)),r(3),y(f(4,2,"dash_board.affiliates")))}function bp(i,t){i&1&&(a(0,"a",36),C(1,"img",56),a(2,"span",57),d(3," Made in "),a(4,"span",58),d(5,"Fresh"),s(),d(6,"Learn "),s()())}function yp(i,t){if(i&1){let e=b();a(0,"div",59),h("click",function(o){return o.stopPropagation()}),a(1,"button",60),h("click",function(){u(e);let o=l();return g(o.closePoints())}),Ae(),a(2,"svg",61),C(3,"path",62),s()(),Ve(),a(4,"div",63)(5,"div",64),C(6,"i",65),a(7,"span",66),d(8),m(9,"transloco"),s()(),a(10,"div",67),d(11),s(),a(12,"div",68),d(13),m(14,"transloco"),s()()()}if(i&2){let e=l();_("ngStyle",e.pointsPopStyle),r(8),y(f(9,4,"dash_board.pointsBalance")),r(3),y(e.formatPoints(e.rewardPoints)),r(2),y(f(14,6,"dash_board.totalPointsEarned"))}}function wp(i,t){i&1&&(C(0,"i",79),d(1,"Sending\u2026 "))}function Pp(i,t){i&1&&(d(0),m(1,"transloco")),i&2&&x(" ",f(1,1,"dash_board.sendFeedBack")," ")}function Tp(i,t){if(i&1&&(a(0,"p",78),d(1),m(2,"transloco"),m(3,"transloco"),a(4,"a",80),d(5),s()()),i&2){let e=l(2);r(),E(" ",f(2,4,"dash_board.haveSpecificIssue")," ",f(3,6,"dash_board.forSupport")," "),r(3),_("href","mailto:"+e.supportEmail,A),r(),y(e.supportEmail)}}function Ip(i,t){if(i&1){let e=b();a(0,"div",69),h("click",function(){u(e);let o=l();return g(o.closeFeedback())}),a(1,"div",70),h("click",function(o){return o.stopPropagation()}),a(2,"button",71),h("click",function(){u(e);let o=l();return g(o.closeFeedback())}),Ae(),a(3,"svg",72),C(4,"path",62),s()(),Ve(),a(5,"h3",73),d(6),m(7,"transloco"),s(),a(8,"p",74),d(9),m(10,"transloco"),s(),a(11,"form",75,1),h("ngSubmit",function(){u(e);let o=S(12),c=l();return g(c.submitFeedback(o))}),a(13,"textarea",76,2),R("ngModelChange",function(o){u(e);let c=l();return N(c.feedback.feedback,o)||(c.feedback.feedback=o),g(o)}),s(),a(15,"button",77),F(16,wp,2,0)(17,Pp,2,3),s()(),F(18,Tp,6,8,"p",78),s()()}if(i&2){let e=S(12),n=l();r(6),y(f(7,8,"dash_board.shareYourThoughts")),r(3),y(f(10,10,"dash_board.shareThoughtsSubtitle")),r(4),U("ngModel",n.feedback.feedback),_("maxlength",n.feedbackMaxLength)("placeholder",n.feedbackPlaceholder),r(2),_("disabled",e.invali
6d||n.feedbackLoading),r(),L(n.feedbackLoading?16:17),r(2),L(n.supportEmail?18:-1)}}function Ep(i,t){if(i&1){let e=b();a(0,"li")(1,"a",90),h("click",function(){u(e);let o=l(2);return g(o.onSheetLinkClick())}),a(2,"span",91),C(3,"i",92),s(),a(4,"span",93),d(5),s()()()}if(i&2){let e=t.$implicit;r(),_("href",e.link,A),r(3),_("appEllipsisTooltip",e.name),r(),x(" ",e.name," ")}}function Sp(i,t){if(i&1){let e=b();a(0,"div",81),h("click",function(){u(e);let o=l();return g(o.closeLinksSheet())}),s(),a(1,"aside",82)(2,"div",83),h("click",function(){u(e);let o=l();return g(o.closeLinksSheet())}),s(),a(3,"div",84)(4,"div",85),C(5,"i",86),a(6,"h3",87),d(7),m(8,"transloco"),s()(),a(9,"button",88),h("click",function(){u(e);let o=l();return g(o.closeLinksSheet())}),C(10,"i",8),s()(),a(11,"ul",89),se(12,Ep,6,3,"li",null,bt),s()()}if(i&2){let e=l();k("is-open",e.linksSheetOpen),r(),k("is-open",e.linksSheetOpen),r(6),x(" ",e.linksMenuName||f(8,5,"dash_board.links")," "),r(5),_e(e.validHeaderLinks)}}var Be=class i{constructor(t,e,n,o,c,p,T,O,H,W,Z,j,Ne,Un,Nn,_0,d0){this.customTextService=t;this.sessionStorageService=e;this.userService=n;this.uploadService=o;this.memberService=c;this.swalService=p;this.themeService=T;this.courseTagService=O;this.authenticationService=H;this.cookieService=W;this.feedbackService=Z;this.courseService=j;this.certificateService=Ne;this.gamificationService=Un;this.customBrandingService=Nn;this.transloco=_0;this.router=d0;this.userId=localStorage.getItem("cid"),this.isMobile=typeof window<"u"&&window.innerWidth<992}customTextService;sessionStorageService;userService;uploadService;memberService;swalService;themeService;courseTagService;authenticationService;cookieService;feedbackService;courseService;certificateService;gamificationService;customBrandingService;transloco;router;sidebarOpen=!1;isMobile=!1;enrolledCount=0;otherCount=0;rewardsCount=0;rewardPoints=0;achievementsCount=0;showGamificationPoints=!1;showCommunityNav=!1;showFeedbackNav=!1;isAffiliated=!1;feedback={feedback:""};feedbackLoading=!1;feedbackOpen=!1;feedbackMaxLength=1e3;pointsOpen=!1;pointsPopStyle={};pointsAnchor;linksAnchor;get feedbackPlaceholder(){return this.transloco.translate("dash_board.helpUsText")}get supportEmail(){return localStorage.getItem("admin-email")||""}sidebarToggleHandler=()=>this.toggleSidebar();static COUNTS_CACHE_KEY="mp:counts-cache";countsUpdateHandler=t=>{let e=t?.detail;e&&(e.type==="enrolled"&&(this.enrolledCount=e.count??0),e.type==="other"&&(this.otherCount=e.count??0),e.type==="rewards"&&(this.rewardsCount=e.count??0),e.type==="points"&&(this.rewardPoints=e.count??0),e.type==="achievements"&&(this.achievementsCount=e.count??0),this.persistCounts())};otherProductsCacheClearedHandler=()=>{this.fetchSidebarCounts()};persistCounts(){try{localStorage.setItem(i.COUNTS_CACHE_KEY,JSON.stringify({enrolled:this.enrolledCount,other:this.otherCount,rewards:this.rewardsCount,points:this.rewardPoints,achievements:this.achievementsCount}))}catch(t){}}restoreCounts(){try{let t=localStorage.getItem(i.COUNTS_CACHE_KEY);if(!t)return;let e=JSON.parse(t);if(!e||typeof e!="object")return;this.enrolledCount=e.enrolled??0,this.otherCount=e.other??0,this.rewardsCount=e.rewards??0,this.rewardPoints=e.points??0,this.achievementsCount=e.achievements??0}catch(t){}}fetchSidebarCounts(){let t=this.userId;if(!t)return;try{this.courseService.getAllEnrolledProducts(t,c=>{if(!c)return;let p=c.enrolledAllProducts??c,T=(p?.enrolledCourses?.length||0)+(p?.enrolledMasterclasses?.length||0)+(p?.enrolledDigitalDownloads?.length||0)+(p?.enrolledProductBundles?.length||0)+(p?.enrolledScorms?.length||0)+(p?.enrolledPlaylists?.length||0)+(p?.enrolledCohorts?.length||0);this.enrolledCount=T,this.persistCounts()})}catch(c){}try{this.memberService.getCountAllProducts(t,c=>{c&&(this.otherCount=c.all??0,this.persistCounts())})}catch(c){}let e=0,n=0,o=()=>{this.achievementsCount=e+n,this.persistCounts()};try{this.certificateService.loadCertificate(Number(t),"",0,10,c=>{c&&(e=c.totalElements??0,o())})}catch(c){}try{this.certificateService.loadMasterclassCertificate(Number(t),"",0,10,c=>
6{c&&(n=c.totalElements??0,o())})}catch(c){}try{this.gamificationService.getRewardPoints(t,c=>{c&&(this.rewardPoints=c.totalPoints??0,this.persistCounts())})}catch(c){}}domainSettingsHandler=t=>{let e=t?.detail;e&&(this.showGamificationPoints=!!e.showGamificationPoints,this.showCommunityNav=!!e.showCommunity,this.showFeedbackNav=!!e.showFeedback)};escHandler=t=>{t.key==="Escape"&&this.sidebarOpen&&this.closeSidebar()};userId;member;subscription;memberId;themeSetting;showPoweredby;backgroundImage;themeType;custombrandingDefaultData=new Bt;get profileHeaderStyle(){let t=this.sessionStorageService.get("themeType");if(!t)return null;let e=String(t).toUpperCase();if(e==="LIGHT"){let n=this.sessionStorageService.get("solidBackgroundColor");return n?{background:n}:null}if(e==="DARK"){let n=this.sessionStorageService.get("gradientBackgroundColor");return n&&n.gradientColor1&&n.gradientColor2&&n.gradientColor3?{background:`linear-gradient(${n.gradientAngle??90}deg, ${n.gradientColor1}, ${n.gradientColor2}, ${n.gradientColor3})`}:null}if(e==="IMAGE"){let n=this.sessionStorageService.get("backgroundImage");return n?{"background-image":`url(${n})`,"background-position":"50%","background-size":"cover","background-repeat":"no-repeat"}:null}return null}myOptions=[];myTexts={checkAll:"Select all",checked:"tag selected",checkedPlural:"tag selected",searchPlaceholder:"Find",searchEmptyResult:"Nothing found...",searchNoRenderText:"Type in search box to see results...",defaultTitle:"Select Tags",allSelected:"All selected"};mySettings={checkedStyle:"checkboxes",buttonClasses:"btn btn-default btn-block text-left drop-toogle",dynamicTitleMaxItems:0,displayAllSelectedText:!0,containerClasses:"container-class w-100",itemClasses:"item-class",selectAddedValues:!0,isLazyLoad:!0,loadViewDistance:1,showCheckAll:!0};showOtherProducts=!1;showEnrolledProducts=!0;showAchievements=!1;domainSettingsOtherDTO;languageId;headerData;headerLinks=[];linksMenuName="";showHeaderLinksDropdown=!1;linksSheetOpen=!1;hoverLinks=!1;linksPopStyle={};get validHeaderLinks(){return(this.headerLinks||[]).filter(t=>t&&t.link&&t.link.trim()&&t.name&&t.name.trim())}onResize(t){this.isMobile=(t?.target?.innerWidth??window.innerWidth)<992,this.isMobile||(this.sidebarOpen=!1)}toggleSidebar(){this.sidebarOpen=!this.sidebarOpen,this.applyBodyScrollLock()}closeSidebar(){this.sidebarOpen=!1,this.applyBodyScrollLock()}applyBodyScrollLock(){if(typeof document>"u")return;let t=this.sidebarOpen&&this.isMobile;document.documentElement.classList.toggle("mp-scroll-locked",t),document.body.classList.toggle("mp-scroll-locked",t)}formatPoints(t){return!t||t<1e3?String(t??0):t<1e6?(t/1e3).toFixed(t%1e3===0?0:1).replace(/\.0$/,"")+"k":(t/1e6).toFixed(1).replace(/\.0$/,"")+"M"}toggleFeedback(t){t?.stopPropagation(),t?.preventDefault(),this.feedbackOpen=!this.feedbackOpen,this.feedbackOpen&&(this.pointsOpen=!1,this.showHeaderLinksDropdown=!1),this.feedbackOpen&&this.closeSidebar()}closeFeedback(){this.feedbackOpen=!1}togglePoints(t){t?.stopPropagation(),t?.preventDefault(),this.pointsOpen||this.positionPointsPop(),this.pointsOpen=!this.pointsOpen,this.pointsOpen&&(this.feedbackOpen=!1,this.showHeaderLinksDropdown=!1)}closePoints(){this.pointsOpen=!1}positionPointsPop(){let t=this.pointsAnchor?.nativeElement;if(!t)return;let e=t.getBoundingClientRect(),n=286,o=200,c=8,p=12,T=e.right+c,O=e.top;T+n>window.innerWidth-p&&(T=Math.max(p,e.left-n-c)),O+o>window.innerHeight-p&&(O=Math.max(p,window.innerHeight-o-p)),O<p&&(O=p),this.pointsPopStyle={position:"fixed",left:`${T}px`,top:`${O}px`}}onDocumentClickForPopovers(t){let e=t.target;this.pointsOpen&&!e?.closest(".pts-pop-anchor")&&!e?.closest(".pts-pop")&&(this.pointsOpen=!1),this.showHeaderLinksDropdown&&!e?.closest(".custom-branding-dropdown-toggle")&&!e?.closest(".custom-links-pop")&&(this.showHeaderLinksDropdown=!1)}onEscapeForPopovers(){this.feedbackOpen&&(this.feedbackOpen=!1),this.pointsOpen&&(this.pointsOpen=!1),this.showHeaderLinksDropdown&&(this.showHeaderLinksDropdown=!1)}onLayoutChangeForPopovers(){this.pointsOpen&&this.positionPointsPop(),this.showHeaderLinksDropdown&&this.positionLinksPop()}submitFeedback(t){!t?.valid||this.feedbackLoading||(this.feedbackLoading=!0,this.feedbackService.sendFeedbackCode(this.feedback,e=>{this.feedbackLoading=!1,e!=null?(this.feedback={feedback:""},t.resetForm(),this.swalService.showAlertToast(this.transloco.translate("alertmessages.feedbackThanks"),"success",!1,3e3,!1),this.closeFeedback()):this.swalService.showAlertToast(this.transloco.translate("alertmessages.somethingWentWrong"),"error",!1,5e3,!1)}))}openMailLink(){let t=localStorage.getItem("admin-email");t&&window.open("mailto:"+t,"_blank")}openCommunity(){var t=localStorage.getItem("email"),e=localStorage.getItem("domain"),n=localStorage.getItem("domainId");if(!(!t||!e)){var o=window.location.host,c="http://"+o+"/c/#/?_d="+e+"&_did="+n+"&_e="+encodeURIComponent(t);window.open(c,"_blank")}}getHeaderData(){var t=this;t.customBrandingService.getHeaderData(e=>{if(e&&e.isRecordFound){t.headerData=e;let n=e.links;
6if(n){if(typeof n=="string")try{n=JSON.parse(n)}catch(c){console.error("Error parsing headerData links JSON:",c)}Array.isArray(n)?t.headerLinks=n:n&&typeof n=="object"&&n.link?t.headerLinks=[n]:t.headerLinks=[];let o=t.headerLinks.find(c=>c&&c.menuName&&!c.link&&!c.name);t.linksMenuName=o?o.menuName:""}else t.headerLinks=[],t.linksMenuName=""}else t.headerLinks=[],t.linksMenuName=""})}toggleHeaderLinksDropdown(t){t?.stopPropagation(),t?.preventDefault(),this.showHeaderLinksDropdown||this.positionLinksPop(),this.showHeaderLinksDropdown=!this.showHeaderLinksDropdown,this.showHeaderLinksDropdown&&(this.pointsOpen=!1,this.feedbackOpen=!1)}onLinkClick(){setTimeout(()=>{this.showHeaderLinksDropdown=!1},150)}openLinksSheet(){this.linksSheetOpen=!0}closeLinksSheet(){this.linksSheetOpen=!1}onSheetLinkClick(){setTimeout(()=>{this.linksSheetOpen=!1,this.closeSidebar()},150)}positionLinksPop(){let t=this.linksAnchor?.nativeElement;if(!t)return;let e=t.getBoundingClientRect(),n=220,o=this.validHeaderLinks.length*40+12,c=8,p=12,T=e.right+c,O=e.top;T+n>window.innerWidth-p&&(T=Math.max(p,e.left-n-c)),O+o>window.innerHeight-p&&(O=Math.max(p,window.innerHeight-o-p)),O<p&&(O=p),this.linksPopStyle={position:"fixed",left:`${T}px`,top:`${O}px`}}logout(){this.authenticationService.logout(),this.router.navigate(["/login"])}ngOnDestroy(){window.removeEventListener("mp:toggle-sidebar",this.sidebarToggleHandler),window.removeEventListener("mp:counts-update",this.countsUpdateHandler),window.removeEventListener("mp:domain-settings",this.domainSettingsHandler),window.removeEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler),document.removeEventListener("keydown",this.escHandler),this.subscription&&this.subscription.unsubscribe()}ngOnInit(){var t=this;window.addEventListener("mp:toggle-sidebar",this.sidebarToggleHandler),window.addEventListener("mp:counts-update",this.countsUpdateHandler),window.addEventListener("mp:domain-settings",this.domainSettingsHandler),window.addEventListener("mp:other-products-cache-cleared",this.otherProductsCacheClearedHandler),document.addEventListener("keydown",this.escHandler),this.getHeaderData(),this.restoreCounts(),this.fetchSidebarCounts();let e=JSON.parse(localStorage.getItem("domainSettingsOtherDTO")||"null");e&&(this.showGamificationPoints=!!e.showGamificationPoints,this.showCommunityNav=!!e.showCommunity,this.showFeedbackNav=!!e.showFeedback),this.isAffiliated=JSON.parse(localStorage.getItem("isAffiliated")||"false"),t.languageId=sessionStorage.getItem("languageId"),t.themeType=sessionStorage.getItem("themeType"),t.themeType?(t.themeSetting=JSON.parse(sessionStorage.getItem("gradientBackgroundColor")),t.backgroundImage=sessionStorage.getItem("backgroundImage")):t.themeService.gettheme(function(o){o==null||o.status==0||o.status>=400||o.errors?(t.sessionStorageService.set("ctaColor",t.custombrandingDefaultData.ctaColor),t.sessionStorageService.set("ctaTextColor",t.custombrandingDefaultData.ctaTextColor),t.sessionStorageService.set("themeColor",t.custombrandingDefaultData.themeColor),t.sessionStorageService.set("themeTextColor",t.custombrandingDefaultData.themeTextColor),t.sessionStorageService.set("themeType",t.custombrandingDefaultData.themeType),t.sessionStorageService.set("gradientBackgroundColor",t.custombrandingDefaultData.gradientBackgroundColor),t.sessionStorageService.set("solidBackgroundColor",t.custombrandingDefaultData.solidBackgroundColor),t.sessionStorageService.set("backgroundImage",t.custombrandingDefaultData.backgroundImage),t.themeSetting=JSON.parse(sessionStorage.getItem("gradientBackgroundColor"))):o.isRecordFound?(t.sessionStorageService.set("ctaColor",o.ctaColor),t.sessionStorageService.set("ctaTextColor",o.ctaTextColor),t.sessionStorageService.set("themeColor",o.themeColor),t.sessionStorageService.set("themeTextColor",o.themeTextColor),t.sessionStorageService.set("themeType",o.themeType),t.sessionStorageService.set("gradientBackgroundColor",o.gradientBackgroundColor),t.sessionStorageService.set("solidBackgroundColor",o.solidBackgroundColor),t.themeSetting=JSON.parse(sessionStorage.getItem("gradientBackgroun
6dColor")),o.backgroundImage!=""?t.sessionStorageService.set("backgroundImage",o.backgroundImage):t.sessionStorageService.remove("backgroundImage")):(t.sessionStorageService.set("ctaColor",t.custombrandingDefaultData.ctaColor),t.sessionStorageService.set("ctaTextColor",t.custombrandingDefaultData.ctaTextColor),t.sessionStorageService.set("themeColor",t.custombrandingDefaultData.themeColor),t.sessionStorageService.set("themeTextColor",t.custombrandingDefaultData.themeTextColor),t.sessionStorageService.set("themeType",t.custombrandingDefaultData.themeType),t.sessionStorageService.set("gradientBackgroundColor",t.custombrandingDefaultData.gradientBackgroundColor),t.sessionStorageService.set("solidBackgroundColor",t.custombrandingDefaultData.solidBackgroundColor),t.sessionStorageService.set("backgroundImage",t.custombrandingDefaultData.backgroundImage),t.themeSetting=JSON.parse(sessionStorage.getItem("gradientBackgroundColor")))}),this.sessionStorageService.remove("currentModuleId"),this.member={first_name:"",email:"",image_url:""},t.memberId=localStorage.getItem("cid"),t.subscription=t.uploadService.getProfileImage().subscribe(o=>{o&&(t.member.image_url=o.name)});var n=t.sessionStorageService.get("companyProfile");n!=null&&n.isRecordFound?t.showPoweredby=n.showPoweredBy:t.showPoweredby=!0,t.getMemberById(),t.showOthersSetting()}getMemberById(){var t=this,e=t.userService.getUser();if(e)t.member=e,(t.member.image_url==null||t.member.image_url==null)&&(t.member.image_url="");else{var n=JSON.parse(localStorage.getItem("memberDetails"));n!=null||n!=null?(t.member=n,(t.member.image_url==null||t.member.image_url==null)&&(t.member.image_url="")):t.memberService.getMemberById(t.memberId,function(o){o=="error"||o.status==0||o.status>400?t.swalService.showAlertToast(t.transloco.translate("alertmessages.somethingWentWrong"),pe.ERROR,!1,3e3,!1):(t.member=o,(t.member.image_url==null||t.member.image_url==null)&&(t.member.image_url=""))})}}showOthersSetting(){var t=this;let e=JSON.parse(localStorage.getItem("domainSettingsOtherDTO")||"null");e!=null?t.domainSettingsOtherDTO=e:t.customTextService.getOtherSettings(function(n){n!=null&&(t.domainSettingsOtherDTO=n,localStorage.setItem("domainSettingsOtherDTO",JSON.stringify(t.domainSettingsOtherDTO)))})}getEnrolledProducts(){var t=this;t.showEnrolledProducts=!0,t.showOtherProducts=!1,t.showAchievements=!1}getOtherProducts(){var t=this;t.showOtherProducts=!0,t.showEnrolledProducts=!1,t.showAchievements=!1}getAchievements(){var t=this;t.showOtherProducts=!1,t.showEnrolledProducts=!1,t.showAchievements=!0}static \u0275fac=function(e){return new(e||i)(B(Ie),B(Dt),B(We),B(Ke),B(Ye),B(fe),B(At),B(Se),B(Tt),B(Xe),B(Wt),B(Ee),B(et),B(Yt),B($t),B(be),B(te))};static \u0275cmp=ee({type:i,selectors:[["app-products"]],viewQuery:function(e,n){if(e&1&&ge(rp,5,_t)(ap,5,_t),e&2){let o;Y(o=Q())&&(n.pointsAnchor=o.first),Y(o=Q())&&(n.linksAnchor=o.first)}},hostBindings:function(e,n){e&1&&h("resize",function(){return n.onLayoutChangeForPopovers()},Fe)("click",function(c){return n.onDocumentClickForPopovers(c)},q)("keydown.escape",function(){return n.onEscapeForPopovers()},q)("scroll",function(){return n.onLayoutChangeForPopovers()},Fe)},decls:51,vars:35,consts:[["pointsAnchor",""],["feedbackForm","ngForm"],["feedBack","ngModel"],[1,"mp-shell"],[1,"mp-shell__backdrop",3,"click"],[1,"mp-shell__grid"],[1,"mp-sidebar"],["type","button","aria-label","Close menu",1,"mp-sidebar__close",3,"click"],[1,"fa-light","fa-xmark"],[1,"mp-sidebar__profile",3,"ngStyle"],[1,"mp-sidebar__avatar-wrap"],["loading","lazy","alt","profile",1,"mp-sidebar__avatar-img",3,"src","routerLink"],[1,"mp-sidebar__avatar-img",3,"routerLink"],["aria-label","online",1,"mp-sidebar__avatar-status"],[1,"mp-sidebar__name"],[1,"mp-sidebar__email"],["aria-label","Library",1,"mp-sidebar__nav"],["routerLinkActive","is-active",1,"mp-nav-item",3,"click","routerLink"],[1,"fa-light","fa-book-open","mp-nav-item__icon"],[1,"mp-nav-item__label"],[1,"mp-nav-item__count"],["routerLinkActive","is-active",1,"mp-nav-item",3,"routerLink"],[1,"mp-sidebar__divider"],["aria-label","Engagement",1,"mp-sidebar__nav"],["href","javascript:;",1,"mp-nav-item","pts-pop-anchor",3,"is-active"],["href","javascript:;",1,"mp-nav-item"],["target","_blank","rel","noopener noreferrer",1,"mp-nav-item","mp-nav-item--mobile-only",3,"href"],["type","button","aria-controls","productsLinksSheet",1,"mp-nav-item","mp-nav-item--mobile-only",3,"is-active"],["href","javascript:;",1,"mp-nav-item","fb-modal-anchor",3,"is-active"],[1,"mp-sidebar__divider","mp-sidebar__divider--last"],["aria-label","Account",1,"mp-sidebar__nav","mp-sidebar__nav--account"],[1,"mp-nav-item",3,"routerLink"],[1,"mp-nav-item",3,"click","routerLink"],[1,"fa-light","fa-gear","mp-nav-item__icon"],["href","javascript:;",1,"mp-nav-item",3,"click"],[1,"fa-light","fa-arrow-right-from-bracket","mp-nav-item__icon"],["href","https://freshlearn.com/","target","_blank","rel","noopener noreferrer","aria-label","Made in FreshLearn",1,"mp-sidebar__powered","powered__by__card"],[1,"mp-main"],["role","dialog","aria-labelledby","ptsPopTitle",1,"pts-pop",3,"ngStyle"],["role","dialog","aria-modal","true","aria-labelledby","fbPopTitle",1,"fb-modal"],["initialsSize","3","size","48",3,"name"],[1,"fa-light","fa-cube","mp-nav-item__icon"],[1,"fa-light","fa-trophy","mp-nav-item__icon"],["href","javascript:;",1,"mp-nav-item","pts-pop-anchor",3,"click"],[1,"fa-light","fa-coins","mp-nav-item__icon"],[1,"mp-nav-item__count","mp-nav-item__count--accent"],[1,"fa-light","fa-users","mp-nav-item__icon"],[1,"fa-light","fa-arrow-up-right-from-square","mp-nav-item__external"],["target","_blank","rel","noopener noreferrer",1,"mp-nav-item","mp-nav-item--mobile-only",3,"click","href"],[1,"fa-light","fa-link","mp-nav-item__icon"],["type","button","aria-controls","productsLinksSheet",1,"mp-nav-item","mp-nav-item--mobile-only",3,"click"],[1,"mp-nav-item__label",3,"appEllipsisTooltip"],[1,"fa-light","fa-chevron-right","mp-nav-item__chevron",2,"margin-left","auto","font-size","12px"],["href","javascript:;",1,"mp-nav-item","fb-modal-anchor",3,"click"],[1,"fa-light","fa-message-lines","mp-nav-item__icon"],[1,"fa-light","fa-handshake","mp-nav-item__icon"],["loading","lazy","src","https://freshlms-old-cdn.freshlms.com/F
6avIcon.png","alt","",1,"mp-sidebar__powered-logo"],[1,"mp-sidebar__powered-text"],[1,"mp-sidebar__powered-brand"],["role","dialog","aria-labelledby","ptsPopTitle",1,"pts-pop",3,"click","ngStyle"],["type","button","aria-label","Close",1,"pts-pop__close",3,"click"],["width","12","height","12","viewBox","0 0 12 12","fill","none","aria-hidden","true"],["d","M1 1L11 11M11 1L1 11","stroke","currentColor","stroke-width","1.5","stroke-linecap","round"],[1,"pts-pop__hero"],[1,"pts-pop__heading"],["aria-hidden","true",1,"fa-solid","fa-bolt","pts-pop__heading-icon"],["id","ptsPopTitle",1,"pts-pop__heading-label"],[1,"pts-pop__amount"],[1,"pts-pop__caption"],["role","dialog","aria-modal","true","aria-labelledby","fbPopTitle",1,"fb-modal",3,"click"],[1,"fb-modal__dialog",3,"click"],["type","button","aria-label","Close",1,"fb-modal__close",3,"click"],["width","14","height","14","viewBox","0 0 12 12","fill","none","aria-hidden","true"],["id","fbPopTitle",1,"fb-modal__title"],[1,"fb-modal__desc"],["novalidate","",3,"ngSubmit"],["rows","4","id","feedBack","name","feedBack","required","","autofocus","",1,"fb-modal__textarea",3,"ngModelChange","ngModel","maxlength","placeholder"],["type","submit",1,"fb-modal__btn",3,"disabled"],[1,"fb-modal__support"],[1,"fas","fa-spinner","fa-spin","me-1"],[1,"fb-modal__support-link",3,"href"],["aria-hidden","true",1,"mp-links-sheet-backdrop",3,"click"],["id","productsLinksSheet","role","dialog","aria-modal","true","aria-labelledby","productsLinksSheetTitle",1,"mp-links-sheet"],[1,"mp-links-sheet__handle",3,"click"],[1,"mp-links-sheet__header"],[1,"mp-links-sheet__title-wrap"],[1,"fa-light","fa-link","mp-links-sheet__title-icon"],["id","productsLinksSheetTitle",1,"mp-links-sheet__title"],["type","button","aria-label","Close",1,"mp-links-sheet__close",3,"click"],[1,"mp-links-sheet__list"],["target","_blank","rel","noopener noreferrer",1,"mp-links-sheet__item",3,"click","href"],["aria-hidden","true",1,"mp-links-sheet__item-bullet"],[1,"fa-light","fa-arrow-up-right-from-square"],[1,"mp-links-sheet__item-name",3,"appEllipsisTooltip"]],template:function(e,n){e&1&&(a(0,"div",3)(1,"div",4),h("click",function(){return n.closeSidebar()}),s(),a(2,"div",5)(3,"aside",6)(4,"button",7),h("click",function(){return n.closeSidebar()}),C(5,"i",8),s(),a(6,"div",9)(7,"div",10),F(8,dp,1,3,"img",11)(9,pp,2,3,"div",12),C(10,"span",13),s(),a(11,"div",14),d(12),s(),a(13,"div",15),d(14),s()(),a(15,"nav",16)(16,"a",17),h("click",function(){return n.getEnrolledProducts(),n.closeSidebar()}),C(17,"i",18),a(18,"span",19),d(19),m(20,"transloco"),s(),a(21,"span",20),d(22),s()(),F(23,mp,7,6,"a",21),F(24,up,7,6,"a",21),s(),C(25,"div",22),a(26,"nav",23),F(27,gp,8,6,"a",24),F(28,fp,6,3,"a",25),F(29,vp,5,2,"a",26)(30,xp,7,9,"button",27),F(31,hp,5,5,"a",28),s(),C(32,"div",29),a(33,"nav",30),F(34,Cp,5,5,"a",31),a(35,"a",32),h("click",function(){return n.closeSidebar()}),C(36,"i",33),a(37,"span",19),d(38),m(39,"transloco"),s()(),a(40,"a",34),h("click",function(){return n.logout()}),C(41,"i",35),a(42,"span",19),d(43),m(44,"transloco"),s()()(),F(45,bp,7,0,"a",36),s(),a(46,"section",37),C(47,"router-outlet"),s()()(),F(48,yp,15,8,"div",38),F(49,Ip,19,12,"div",39),F(50,Sp,14,7)),e&2&&(r(),k("is-visible",n.sidebarOpen),r(2),k("is-open",n.sidebarOpen),I("aria-hidden",!n.sidebarOpen&&n.isMobile),r(3),_("ngStyle",n.profileHeaderStyle),r(2),L((n.member==null?null:n.member.image_url)!=null&&(n.member==null?null:n.member.image_url)!=""&&(n.member==null?null:n.member.image_url)!=null?8:9),r(4),E(" ",n.member==null?null:n.member.first_name," ",n.member==null?null:n.member.last_name," "),r(2),y(n.member==null?null:n.member.email),r(2),_("routerLink",D(33,lp)),r(3),y(f(20,27,"dash_board.myLibrary")),r(3),y(n.enrolledCount),r(),L(n.domainSettingsOtherDTO!=null&&n.domainSettingsOtherDTO.showOtherCourses?23:-1),r(),L(n.domainSettingsOtherDTO!=null&&n.domainSettingsOtherDTO.showAchievements?24:-1),r(3),L(n.showGamificationPoints?27:-1),r(),L(n.showCommunityNav?28:-1),r(),L(n.validHeaderLinks.length===1?29:n.validHeaderLinks.length>1?30:-1),r(2),L(n.showFeedbackNav?31:-1),r(3),L(n.isAffiliated?34:-1),r(),_("routerLink",D(34,xt)),r(3),y(f(39,29,"dash_board.myProfile")),r(5),y(f(44,31,"dash_board.signout")),r(2),L(n.showPoweredby?45:-1),r(3),L(n.pointsOpen?48:-1),r(),L(n.feedbackOpen?49:-1),r(),L(n.validHeaderLinks.length>1?50:-1))},dependencies:[Ge,jt,Mt,Ot,J,Nt,oe,re,Lt,Rt,zt,ae,Ut,Et,Te,ie,ne],styles:['@charset "UTF-8";.text-primary[_ngcontent-%COMP%]{color:#212b36!important}.text-secondary-custom[_ngcontent-%COMP%]{color:#637381!important}.text-muted-custom[_ngcontent-%COMP%]{color:#919eab!important}.text-theme[_ngcontent-%COMP%]{color:var(--c-link)!important}.text-success-custom[_ngcontent-%COMP%]{color:#3ab034!important}.text-danger-custom[_ngcontent-%COMP%]{color:#d03f3f!important}.text-white-custom[_ngcontent-%COMP%]{color:#fff!important}.fresh__text__2C7BF7[_ngcontent-%COMP%]{color:var(--c-brand)}.fresh__text__FFFFF[_ngcontent-%COMP%]{color:#fff}.fresh__text__303030[_ngcontent-%COMP%]{color:#303030}.fresh__text__828282[_ngcontent-%COMP%]{color:#828282}.fresh__text__333333[_ngcontent-%COMP%]{color:#333}.fresh__text__000000[_ngcontent-%COMP%]{color:#000}.fresh__text__210424[_ngcontent-%COMP%]{color:#210424}.fresh__text__294064[_ngcontent-%COMP%]{color:#294064!important}.fresh__text__276EDD[_ngcontent-%COMP%]{color:var(--c-link)!important}.fresh__text__8D8D8D[_ngcontent-%COMP%]{color:#8d8d8d}.fresh__text__495057[_ngcontent-%COMP%]{color:#495057}.fresh__text__C0C0C0[_ngcontent-%COMP%]{color:silver}.fresh__text__D03F3F[_ngcontent-%COMP%], .text-danger[_ngcontent-%COMP%]{color:#d03f3f}.fresh__text__disabled[_ngcontent-%COMP%]{color:color-mix(in srgb,var(--c-brand) 42%,#fff)}.freshlms__text__62A545[_ngcontent-%COMP%]{color:#62a545!important}.freshlms__text__293C5E[_ngcontent-%COMP%]{color:#293c5e}.freshlms__color__F1921D[_ngcontent-%COMP%]{color:#f1921d!important}.freshlms__color__FFFFFF[_ngcontent-%COMP%]{color:#fff!important}.fresh__color__8D8D8D[_ngcontent-%COMP%]{color:#8d8d8d!important}.fresh__color__28b915[_ngcontent-%COMP%]{color:#28b915!important}.fresh__color__62A545[_ngcontent-%COMP%]{color:#62a545!important}.freshlms__color__0099CC[_ngcontent-%COMP%]{color:#09c!important}.freshlms__color__D4D8E0[_ngcontent-%COMP%]{color:#d4d8e0!important}.freshlms__color__FFA500[_ngcontent-%COMP%]{color:orange!important}.freshlms__color__454F5B[_ngcontent-%COMP%]{color:#454f5b!important}.freshlms__color__828282[_ngcontent-%COMP%]{color:#828282!important}.freshlms__color__DC7034[_ngcontent-%COMP%]{color:#dc7034!important}.freshlms__color__303030[_ngcontent-%COMP%]{color:#303030!important}.fresh__text__929496[_ngcontent-%COMP%]{color:#929496!important}.fresh__text__637381[_ngcontent-%COMP%]{color:#637381!important}.fresh__text__212B36[_ngcontent-%COMP%]{color:#212b36!important}.fresh__text__0DCAF0[_ngcontent-%COMP%]{color:#0dcaf0!important}.fresh__color__919EAB[_ngcontent-%COMP%]{color:#919eab}.freshlms__bg__2C7BF7[_ngcontent-%COMP%]{background-color:var(--c-brand)}.freshlms__bg__rgba__59[_ngcontent-%COMP%]{background-color:#3175cc0d}.freshlms__bg__white[_ngcontent-%COMP%]{background-color:#fff}.freshlms__bg__535353[_ngcontent-%COMP%]{background-color:#535353!important}.freshlms__bg__22C0EE[_ngcontent-%COMP%]{background-color:#22c0ee!important}.freshlms__bg__FF0000[_ngcontent-%COMP%]{background-color:red!important}.freshlms__bg__F2F2F2[_ngcontent-%COMP%]{background-color:#f2f2f2}.freshlms__bg__F5F9FD[_ngcontent-%COMP%]{background-color:#f5f9fd!important}.freshlms__bg__93B6EE[_ngcontent-%COMP%]{background-color:#93b6ee!important}.freshlms__bg__D4E4FB[_ngcontent-%COMP%]{background-color:#d4e4fb!important}.freshlms__bg__ECECEC[_ngcontent-%COMP%]{background-color:#ececec!important}.freshlms__bg__F0F0F0[_ngcontent-%COMP%]{background-color:#f0f0f0!important}.freshlms__bg__F6F6F6[_ngcontent-%COMP%]{background-color:#f6f6f6!important}.freshlms__bg__294064[_ngcontent-%COMP%]{background-color:#294064!important}.freshlms__bg__F4F6F8[_ngcontent-%COMP%]{background-color:#f4f6f8!important}.freshlms__bg__215cb9[_ngcontent-%COMP%]{background-color:#215cb9!important}.freshlms__bg__F4F8FD[_ngcontent-%COMP%]{background-color:#f4f8fd!important}.freshlms__bg__E5EEFD[_ngcontent-%COMP%]{background-color:#e5eefd!important}.freshlms__bg__0A2B5E[_ngcontent-%COMP%]{background-color:#0a2b5e!important}.freshlms__bg__rbga__208[_ngcontent-%COMP%]{background-color:#d03f3f1a}.freshlms__bg__rbga__D03F3F[_ngcontent-%COMP%]{background-color:#d03f3f}.freshlms__bg__rbga__F7F7F7[_ngcontent-%COMP%]{background-color:#f7f7f7}.freshlms__bg__303030[_ngcontent-%COMP%]{background-color:#303030}.freshlms__border__828282[_ngcontent-%COMP%]{border-color:#828282!important}.freshlms__border__C0C0C0[_ngcontent-%COMP%]{border-color:silver!important}.freshlms__border__979797[_ngcontent-%COMP%]{border-color:#979797!important}.freshlms__border__BCBEC0[_ngcontent-%COMP%]{border-color:#bcbec0!important}.freshlms__border__2C7BF7[_ngcontent-%COMP%]{border-color:var(--c-brand)!important}.freshlms__border__divider[_ngcontent-%COMP%]{border-color:#e7e7e7!important}.freshlms__border__D3D3D3[_ngcontent-%COMP%]{border-color:#d3d3d3!important}.freshlms__opacity__0[_ngcontent-%COMP%]{opacity:0!important}.freshlms__opacity__01[_ngcontent-%COMP%]{opacity:.1!important}.freshlms__opacity__02[_ngcontent-%COMP%]{opacity:.2!important}.freshlms__opacity__03[_ngcontent-%COMP%]{opacity:.3!important}.freshlms__opacity__04[_ngcontent-%COMP%]{opacity:.4!important}.freshlms__opacity__05[_ngcontent-%COMP%]{opacity:.5!important}.freshlms__opacity__06[_ngcontent-%COMP%]{opacity:.6!important}.freshlms__opacity__07[_ngcontent-%COMP%]{opacity:.7!important}.freshlms__opacity__08[_ngcontent-%COMP%]{opacity:.8!important}.freshlms__opacity__09[_ngcontent-%COMP%]{opacity:.9!important}.freshlms__opacity__1[_ngcontent-%COMP%]{opacity:1!important}quill-editor.freshlms__light_bg__FAFAFA[_ngcontent-%COMP%]   div.ql-toolbar.ql-snow[_ngcontent-%COMP%]{background-color:#f9f9f9}[_nghost-%COMP%]{display:block;--mp-bg: #ffffff;--mp-page-bg-1: rgba(240, 249, 255, .4);--mp-page-bg-2: #fafafa;--mp-page-bg-3: rgba(239, 246, 255, .3);--mp-border: rgba(229, 229, 229, .8);--mp-card-radius: 16px;--mp-text: #171717;--mp-text-soft: #525252;--mp-text-muted: #a1a1a1;--mp-blue: var(--c-brand);--mp-blue-soft: var(--c-brand-soft);--mp-green: #00bc7d}.mp-shell[_ngcontent-%COMP%]{min-height:calc(100vh - 68px);padding:24px 48px;background:var(--c-brand-soft)}@media(max-width:1199px){.mp-shell[_ngcontent-%COMP%]{padding:20px 28px}}@media(max-width:767px){.mp-shell[_ngcontent-%COMP%]{padding:16px 16px 32px}}.mp-shell__grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:266px 1fr;gap:24px;align-items:start;max-width:1424px;margin:0 auto}@media(max-width:1199px){.mp-shell__grid[_ngcontent-%COMP%]{grid-template-columns:240px 1fr;gap:20px}}@media(max-width:991px){.mp-shell__grid[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:16px}}.mp-shell__backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0f172a73;z-index:1040;opacity:0;pointer-events:none;transition:opacity .22s cubic-bezier(.22,1,.36,1)}.mp-shell__backdrop.is-visible[_ngcontent-%COMP%]{opacity:1;pointer-events:auto}@media(min-width:992px){.mp-shell__backdrop[_ngcontent-%COMP%]{display:none}}.mp-sidebar[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:100px;align-self:start;display:flex;flex-direction:column;background:#fff;border:.8px solid var(--mp-border);border-radius:var(--mp-card-radius);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;max-height:calc(100vh - 92px);overflow-y:auto;overflow-x:hidden;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.15) transparent}.mp-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px;height:6px}.mp-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#00000026;border-radius:3px}.mp-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background:#00000047}.mp-sidebar[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.mp-sidebar__close[_ngcontent-%COMP%]{display:none;position:absolute;top:12px;right:12px;z-index:5;width:32px;height:32px;border-radius:8px;border:none;background:#ffffff80;color:var(--c-brand-ink);cursor:pointer;align-items:center;justify-content:center}@media(max-width:991px){.mp-sidebar__close[_ngcontent-%COMP%]{display:inline-flex}}.mp-sidebar__profile[_ngcontent-%COMP%]{padding:32px 20px 28px;background:linear-gradient(120deg,color-mix(in srgb,var(--c-brand) 16%,#fff) 1.25%,var(--c-brand) 99.22%);border-bottom:1px solid rgba(0,105,168,.11);display:flex;flex-direction:column;align-items:center;gap:10px;color:var(--c-brand-ink);text-align:center}.mp-sidebar__avatar-wrap[_ngcontent-%COMP%]{position:relative;width:53px;height:53px}.mp-sidebar__avatar-img[_ngcontent-%COMP%]{width:53px;height:53px;border-radius:50%;overflow:hidden;box-shadow:0 0 0 2.4px #dff2fe;background:#ffffff2e;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;object-fit:cover;object-position:center}.mp-sidebar__avatar-img[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.mp-sidebar__avatar-status[_ngcontent-%COMP%]{position:absolute;bottom:0;right:0;width:14px;
6height:14px;border-radius:50%;background:var(--mp-green);box-shadow:0 0 0 2px #fff}.mp-sidebar__name[_ngcontent-%COMP%]{font-size:16px;font-weight:600;line-height:1.1;color:var(--c-brand-ink);margin-top:6px}.mp-sidebar__email[_ngcontent-%COMP%]{font-size:12px;color:color-mix(in srgb,var(--c-brand-ink) 78%,transparent);line-height:1.3;word-break:break-all}.mp-sidebar__nav[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2px;padding:14px 12px}.mp-sidebar__nav[_ngcontent-%COMP%]:first-of-type{padding-top:18px}.mp-sidebar__nav[_ngcontent-%COMP%]:last-of-type{padding-bottom:18px}.mp-sidebar__divider[_ngcontent-%COMP%]{height:1px;background:#f0f0f0;margin:8px 16px}.mp-sidebar__divider--last[_ngcontent-%COMP%]{margin-top:auto}.mp-sidebar__powered[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:6px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:#f7f8fa;border-top:1px solid #eef0f3;border-radius:0 0 var(--mp-card-radius) var(--mp-card-radius);font-size:11px;line-height:1;color:#9ca3af;text-decoration:none!important;transition:background var(--mp-anim-fast, .16s ease),color var(--mp-anim-fast, .16s ease)}.mp-sidebar__powered[_ngcontent-%COMP%]:hover{background:#eef1f5;color:#6b7280}.mp-sidebar__powered-logo[_ngcontent-%COMP%]{width:12px;height:12px;flex-shrink:0;opacity:.85}.mp-sidebar__powered-brand[_ngcontent-%COMP%]{color:var(--mp-primary, var(--c-brand));font-weight:600}.mp-nav-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:0 12px;height:40px;border-radius:10px;color:var(--c-muted);font-size:14px;font-weight:500;text-decoration:none!important;cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast);-webkit-user-select:none;user-select:none;position:relative}.mp-nav-item__icon[_ngcontent-%COMP%]{font-size:16px;width:17px;text-align:center;flex-shrink:0;color:var(--c-icon);transition:transform var(--mp-anim-fast),color var(--mp-anim-fast)}.mp-nav-item__label[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mp-nav-item__count[_ngcontent-%COMP%]{color:var(--c-muted);font-size:11px;font-weight:500;flex-shrink:0;transition:color var(--mp-anim-fast)}.mp-nav-item__count--accent[_ngcontent-%COMP%]{color:var(--mp-blue);background:var(--mp-blue-soft);padding:2px 8px;border-radius:999px;font-weight:600;font-size:11px;line-height:1}.mp-nav-item__external[_ngcontent-%COMP%]{color:var(--c-muted);font-size:12px;flex-shrink:0}.mp-nav-item[_ngcontent-%COMP%]:hover{background:#f5f7fa;color:var(--mp-text)}.mp-nav-item[_ngcontent-%COMP%]:hover   .mp-nav-item__icon[_ngcontent-%COMP%]{transform:scale(1.06)}.mp-nav-item[_ngcontent-%COMP%]:active{transform:scale(.99)}.mp-nav-item.is-active[_ngcontent-%COMP%]{background:var(--c-brand-soft);color:var(--c-brand);font-weight:600}.mp-nav-item.is-active[_ngcontent-%COMP%]   .mp-nav-item__count[_ngcontent-%COMP%]{color:var(--c-brand)}.mp-nav-item.is-active[_ngcontent-%COMP%]   .mp-nav-item__icon[_ngcontent-%COMP%]{color:var(--c-icon)}.mp-nav-item--readonly[_ngcontent-%COMP%]{cursor:default}.mp-nav-item--readonly[_ngcontent-%COMP%]:hover{background:transparent;color:var(--mp-text-soft)}.mp-nav-item--readonly[_ngcontent-%COMP%]:hover   .mp-nav-item__icon[_ngcontent-%COMP%], .mp-nav-item--readonly[_ngcontent-%COMP%]:active{transform:none}.mp-main[_ngcontent-%COMP%]{background:#fff;border:.8px solid var(--mp-border);border-radius:var(--mp-card-radius);box-shadow:0 1px 3px #0000001a,0 1px 2px -1px #0000001a;overflow:hidden;min-height:60vh}@media(min-width:992px)and (max-height:1000px){.mp-sidebar__profile[_ngcontent-%COMP%]{padding:24px 20px 22px;gap:8px}.mp-sidebar__nav[_ngcontent-%COMP%]{padding:10px 12px;gap:1px}.mp-sidebar__nav[_ngcontent-%COMP%]:first-of-type{padding-top:14px}.mp-sidebar__nav[_ngcontent-%COMP%]:last-of-type{padding-bottom:14px}.mp-sidebar__divider[_ngcontent-%COMP%]{margin:6px 16px}.mp-sidebar__powered[_ngcontent-%COMP%]{padding:9px 12px calc(9px + env(safe-area-inset-bottom))}}@media(min-width:992px)and (max-height:820px){.mp-sidebar__profile[_ngcontent-%COMP%]{padding:18px 20px 16px;gap:6px}.mp-sidebar__name[_ngcontent-%COMP%]{font-size:15px}.mp-sidebar__email[_ngcontent-%COMP%]{font-size:11.5px}.mp-sidebar__nav[_ngcontent-%COMP%]{padding:8px 12px;gap:0}.mp-sidebar__nav[_ngcontent-%COMP%]:first-of-type{padding-top:10px}.mp-sidebar__nav[_ngcontent-%COMP%]:last-of-type{padding-bottom:10px}.mp-sidebar__divider[_ngcontent-%COMP%]{margin:4px 16px}.mp-sidebar[_ngcontent-%COMP%]   .mp-nav-item[_ngcontent-%COMP%]{font-size:13.5px}.mp-sidebar__powered[_ngcontent-%COMP%]{padding:8px 12px calc(8px + env(safe-area-inset-bottom));font-size:10.5px}}@media(min-width:992px)and (max-height:700px){.mp-sidebar__profile[_ngcontent-%COMP%]{padding:14px 20px 12px;gap:4px}.mp-sidebar__name[_ngcontent-%COMP%]{font-size:14.5px}.mp-sidebar__email[_ngcontent-%COMP%]{font-size:11px}.mp-sidebar__nav[_ngcontent-%COMP%]{padding:6px 12px;gap:0}.mp-sidebar__nav[_ngcontent-%COMP%]:first-of-type{padding-top:8px}.mp-sidebar__nav[_ngcontent-%COMP%]:last-of-type{padding-bottom:8px}.mp-sidebar__divider[_ngcontent-%COMP%]{margin:2px 16px}.mp-sidebar[_ngcontent-%COMP%]   .mp-nav-item[_ngcontent-%COMP%]{font-size:13px}.mp-sidebar__powered[_ngcontent-%COMP%]{padding:6px 12px calc(6px + env(safe-area-inset-bottom));font-size:10px}.mp-sidebar__powered-logo[_ngcontent-%COMP%]{width:11px;height:11px}}@media(max-width:991px){.mp-sidebar[_ngcontent-%COMP%], .mp-shell__backdrop[_ngcontent-%COMP%]{display:none!important}}.fb-modal[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1080;background:#0f172a80;display:flex;align-items:center;justify-content:center;padding:16px;animation:_ngcontent-%COMP%_fb-modal-fade .18s ease both}.fb-modal__dialog[_ngcontent-%COMP%]{position:relative;width:100%;max-width:460px;background:#fff;border-radius:16px;padding:24px;box-shadow:0 20px 60px #0000002e,0 4px 20px #00000014;animation:_ngcontent-%COMP%_fb-modal-pop .22s cubic-bezier(.22,1,.36,1) both}.fb-modal__close[_ngcontent-%COMP%]{position:absolute;top:12px;right:12px;width:32px;height:32px;border-radius:8px;border:0;background:transparent;color:#737373;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:background .14s ease,color .14s ease}.fb-modal__close[_ngcontent-%COMP%]:hover{background:#0000000f;color:#171717}.fb-modal__close[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--c-brand);outline-offset:1px}.fb-modal__title[_ngcontent-%COMP%]{margin:0;padding-right:40px;font-size:17px;font-weight:600;line-height:1.3;color:#171717}.fb-modal__desc[_ngcontent-%COMP%]{margin:4px 0 0;font-size:13px;line-height:1.5;color:#737373}.fb-modal__textarea[_ngcontent-%COMP%]{display:block;width:100%;margin-top:16px;background:#fafafa;border:.8px solid #e5e5e5;border-radius:10px;padding:10px 14px;font-size:14px;line-height:22px;color:#171717;font-family:inherit;resize:vertical;min-height:110px;max-height:240px;transition:border-color .14s ease,box-shadow .14s ease,background .14s ease}.fb-modal__textarea[_ngcontent-%COMP%]::placeholder{color:#0a0a0a80}.fb-modal__textarea[_ngcontent-%COMP%]:focus{outline:0;background:#fff;border-color:var(--c-brand);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 12%,transparent)}.fb-modal__btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:100%;height:44px;margin-top:16px;border:0;border-radius:10px;background:var(--c-brand);color:var(--c-brand-ink);font-size:14px;font-weight:500;line-height:1;cursor:pointer;font-family:inherit;transition:filter .16s ease,transform .12s ease,opacity .16s ease,box-shadow .16s ease}.fb-modal__btn[_ngcontent-%COMP%]:hover:not(:disabled){filter:brightness(1.05);box-shadow:0 6px 16px -4px color-mix(in srgb,var(--c-brand) 45%,transparent)}.fb-modal__btn[_ngcontent-%COMP%]:active:not(:disabled){transform:scale(.99)}.fb-modal__btn[_ngcontent-%COMP%]:disabled{opacity:.55;cursor:not-allowed}.fb-modal__btn[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--c-brand);outline-offset:2px}.fb-modal__support[_ngcontent-%COMP%]{margin:14px 0 0;padding-top:14px;
6border-top:1px solid #f0f0f0;font-size:12.5px;line-height:1.5;color:#737373;text-align:center}.fb-modal__support-link[_ngcontent-%COMP%]{color:var(--c-link);font-weight:500;text-decoration:none;word-break:break-all}.fb-modal__support-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.fb-modal__support-link[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--c-brand);outline-offset:2px;border-radius:3px}.mp-nav-item.fb-modal-anchor.is-active[_ngcontent-%COMP%]{background:var(--c-brand-soft);color:var(--c-link)}@keyframes _ngcontent-%COMP%_fb-modal-fade{0%{opacity:0}to{opacity:1}}@keyframes _ngcontent-%COMP%_fb-modal-pop{0%{opacity:0;transform:scale(.96) translateY(8px)}to{opacity:1;transform:scale(1) translateY(0)}}@media(max-width:480px){.fb-modal[_ngcontent-%COMP%]{padding:12px}.fb-modal__dialog[_ngcontent-%COMP%]{max-width:none;padding:20px;border-radius:14px}.fb-modal__title[_ngcontent-%COMP%]{font-size:16px}}@media(prefers-reduced-motion:reduce){.fb-modal[_ngcontent-%COMP%], .fb-modal__dialog[_ngcontent-%COMP%]{animation:none}}.pts-pop[_ngcontent-%COMP%]{position:fixed;width:286px;z-index:1080;background:#fff;border:.8px solid rgba(0,0,0,.1);border-radius:8px;overflow:hidden;box-shadow:0 4px 6px -1px #0000001a,0 2px 4px -2px #0000001a;animation:_ngcontent-%COMP%_pts-pop-in .16s cubic-bezier(.22,1,.36,1)}.pts-pop__close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;width:24px;height:24px;display:inline-flex;align-items:center;justify-content:center;border:0;background:transparent;color:#bb4d00;border-radius:6px;cursor:pointer;transition:background .14s ease,color .14s ease;z-index:1}.pts-pop__close[_ngcontent-%COMP%]:hover{background:#bb4d0014}.pts-pop__close[_ngcontent-%COMP%]:focus-visible{outline:2px solid #bb4d00;outline-offset:1px}.pts-pop__hero[_ngcontent-%COMP%]{padding:16px;background:linear-gradient(159deg,#fffbeb,#fff7ed);border-bottom:.8px solid #fef3c6}.pts-pop__heading[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px;margin-bottom:4px}.pts-pop__heading-icon[_ngcontent-%COMP%]{font-size:12px;color:#bb4d00}.pts-pop__heading-label[_ngcontent-%COMP%]{font-size:12px;font-weight:500;line-height:16px;color:#bb4d00}.pts-pop__amount[_ngcontent-%COMP%]{font-size:30px;font-weight:700;line-height:36px;color:#171717;letter-spacing:-.01em}.pts-pop__caption[_ngcontent-%COMP%]{margin-top:2px;font-size:12px;line-height:16px;color:#737373}.pts-pop__list[_ngcontent-%COMP%]{padding:12px;display:flex;flex-direction:column;gap:8px}.pts-pop__row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;height:20px}.pts-pop__row-label[_ngcontent-%COMP%]{font-size:14px;font-weight:400;line-height:20px;color:#525252}.pts-pop__row-value[_ngcontent-%COMP%]{font-size:14px;font-weight:500;line-height:20px;color:#096;font-variant-numeric:tabular-nums}@keyframes _ngcontent-%COMP%_pts-pop-in{0%{opacity:0;transform:translate(-4px) scale(.98)}to{opacity:1;transform:translate(0) scale(1)}}.mp-nav-item.pts-pop-anchor.is-active[_ngcontent-%COMP%]{background:#bb4d000f}@media(max-width:480px){.pts-pop[_ngcontent-%COMP%]{width:calc(100vw - 24px);max-width:320px}}@media(prefers-reduced-motion:reduce){.pts-pop[_ngcontent-%COMP%]{animation:none}}.custom-branding-dropdown-toggle[_ngcontent-%COMP%]{border:none!important;background:transparent!important;width:100%;text-align:left;outline:none!important;box-shadow:none!important;font-family:inherit;padding:0 12px;cursor:pointer!important;transition:background .16s ease,color .16s ease}.custom-branding-dropdown-toggle[_ngcontent-%COMP%]:hover{color:var(--mp-blue, #2c7bf7)!important;background:var(--mp-blue-soft, #f0f9ff)!important}.custom-branding-dropdown-toggle[_ngcontent-%COMP%]:hover   i[_ngcontent-%COMP%], .custom-branding-dropdown-toggle[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:var(--mp-blue, #2c7bf7)!important}.custom-branding-dropdown-toggle.is-active[_ngcontent-%COMP%]{color:var(--mp-blue, #2c7bf7)!important;background:var(--mp-blue-soft, #f0f9ff)!important}.custom-branding-dropdown-toggle.is-active[_ngcontent-%COMP%]   i[_ngcontent-%COMP%], .custom-branding-dropdown-toggle.is-active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:var(--mp-blue, #2c7bf7)!important}.mp-nav-item--mobile-only[_ngcontent-%COMP%]{display:none}@media(max-width:768px){.mp-nav-item--mobile-only[_ngcontent-%COMP%]{display:flex}}button.mp-nav-item--mobile-only[_ngcontent-%COMP%]{border:0;background:transparent;width:100%;text-align:left;font-family:inherit;font-size:inherit;outline:none;-webkit-appearance:none;appearance:none}button.mp-nav-item--mobile-only[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--mp-blue, #2c7bf7);outline-offset:-2px}.mp-links-sheet-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background:#0f172a73;backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px);opacity:0;visibility:hidden;transition:opacity .22s ease,visibility .22s ease;z-index:1080}.mp-links-sheet-backdrop.is-open[_ngcontent-%COMP%]{opacity:1;visibility:visible}.mp-links-sheet[_ngcontent-%COMP%]{position:fixed;left:0;right:0;bottom:0;z-index:1085;background:#fff;border-radius:20px 20px 0 0;box-shadow:0 -8px 32px #0f172a2e;transform:translateY(100%);transition:transform .28s cubic-bezier(.22,1,.36,1);max-height:80vh;display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0)}.mp-links-sheet.is-open[_ngcontent-%COMP%]{transform:translateY(0)}.mp-links-sheet__handle[_ngcontent-%COMP%]{width:40px;height:4px;background:#d1d5db;border-radius:999px;margin:10px auto 4px;
6cursor:pointer;flex-shrink:0}.mp-links-sheet__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:10px 20px 12px;border-bottom:1px solid #f1f5f9;flex-shrink:0}.mp-links-sheet__title-wrap[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:10px;min-width:0}.mp-links-sheet__title-icon[_ngcontent-%COMP%]{font-size:18px;color:var(--c-icon);flex-shrink:0}.mp-links-sheet__title[_ngcontent-%COMP%]{margin:0;font-size:16px;font-weight:600;color:#0f172a;letter-spacing:-.01em;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mp-links-sheet__close[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:999px;border:0;background:#f1f5f9;color:#475569;font-size:14px;cursor:pointer;transition:background .15s,color .15s;flex-shrink:0}.mp-links-sheet__close[_ngcontent-%COMP%]:hover{background:#e2e8f0;color:#0f172a}.mp-links-sheet__list[_ngcontent-%COMP%]{list-style:none;margin:0;padding:8px;overflow-y:auto;flex:1 1 auto;-webkit-overflow-scrolling:touch}.mp-links-sheet__item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;width:100%;padding:12px;background:transparent;border:0;border-radius:12px;color:#1f2937;font-size:15px;font-weight:500;text-align:left;text-decoration:none!important;cursor:pointer;transition:background .15s,color .15s}.mp-links-sheet__item[_ngcontent-%COMP%]:active{background:#eef2f7}.mp-links-sheet__item[_ngcontent-%COMP%]:hover   .mp-links-sheet__item-bullet[_ngcontent-%COMP%]{background:var(--mp-blue, #2c7bf7);color:#fff;border-color:transparent}.mp-links-sheet__item-bullet[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:10px;border:.8px solid #e2e8f0;background:#f8fafc;color:var(--mp-text-soft, #64748b);font-size:13px;flex-shrink:0;transition:background .18s ease,border-color .18s ease,color .18s ease}.mp-links-sheet__item-name[_ngcontent-%COMP%]{flex:1 1 auto;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.4}@media(prefers-reduced-motion:reduce){.mp-links-sheet[_ngcontent-%COMP%], .mp-links-sheet-backdrop[_ngcontent-%COMP%]{transition:none!important}}.custom-links-pop[_ngcontent-%COMP%]{position:fixed;width:220px;z-index:1080;background:#fff;border:.8px solid rgba(229,229,229,.8);border-radius:12px;overflow:hidden;box-shadow:0 10px 15px -3px #0000001a,0 4px 6px -4px #0000001a;display:flex;flex-direction:column;padding:6px;gap:2px;animation:_ngcontent-%COMP%_pts-pop-in .16s cubic-bezier(.22,1,.36,1)}.custom-links-pop__item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;padding:0 12px;height:38px;border-radius:8px;color:var(--mp-text-soft, #525252);font-size:14px;font-weight:500;text-decoration:none!important;cursor:pointer;transition:background .16s ease,color .16s ease;-webkit-user-select:none;user-select:none}.custom-links-pop__item[_ngcontent-%COMP%]:hover{background:var(--mp-blue-soft, #f0f9ff);color:var(--mp-blue, #2c7bf7)}.custom-links-pop__icon[_ngcontent-%COMP%]{font-size:13px;width:13px;text-align:center;flex-shrink:0;opacity:.8}.custom-links-pop__label[_ngcontent-%COMP%]{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;flex:1 1 auto}@media(prefers-reduced-motion:reduce){.mp-sidebar[_ngcontent-%COMP%], .mp-shell__backdrop[_ngcontent-%COMP%]{transition:none!important}}']})};var le=["childComp"],kp=()=>[0,1,2,3],Fn=(i,t,e)=>({id:"assessment_answer_page",itemsPerPage:i,currentPage:t,totalItems:e}),Op=()=>({standalone:!0});function Mp(i,t){if(i&1&&(a(0,"span",7),d(1),s()),i&2){let e=l();r(),y(e.totalAnswerRecordsCount)}}function Bp(i,t){if(i&1){let e=b();a(0,"button",39),h("click",function(){u(e);let o=l();return g(o.clearSearch())}),C(1,"i",40),s()}}function Dp(i,t){i&1&&(a(0,"div",42),C(1,"div",43)(2,"div",44)(3,"div",45),s())}function Ap(i,t){i&1&&(a(0,"div",17)(1,"div",41),se(2,Dp,4,0,"div",42,Le().trackByItem,!0),s()()),i&2&&(r(2),_e(D(0,kp)))}function Vp(i,t){if(i&1){let e=b();a(0,"div",54)(1,"div",49)(2,"span",55),C(3,"i",56),s(),a(4,"span",57),d(5),s()(),a(6,"div",50)(7,"span",58),d(8),m(9,"transloco"),s(),a(10,"span",59),d(11),m(12,"date"),s()(),a(13,"div",51)(14,"button",60),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.viewCertificate(o.courseId,o.courseName,o.certificateLogoUrl,!0))}
6),C(15,"i",61),a(16,"span"),d(17),m(18,"transloco"),s()()()()}if(i&2){let e=t.$implicit;r(4),_("title",e.courseName),r(),y(e.courseName),r(3),y(f(9,5,"achievements.issuedOn")),r(3),x(" ",V(12,7,e.courseCompletionTime*1e3,"dd MMM yyyy","UTC+0")," "),r(6),y(f(18,11,"achievements.view"))}}function Fp(i,t){if(i&1&&(a(0,"div",52),se(1,Vp,19,13,"div",54,Le().trackByItem,!0),m(3,"paginate"),s()),i&2){let e=l(3);r(),_e(z(3,0,e.certificateDataList,Ue(3,Fn,e.pageSize,e.p,e.totalAnswerRecordsCount)))}}function Lp(i,t){i&1&&C(0,"i",61)}function Up(i,t){i&1&&C(0,"i",66)}function Np(i,t){if(i&1){let e=b();a(0,"div",62)(1,"div",49)(2,"span",55),C(3,"i",56),s(),a(4,"span",57),d(5),s()(),a(6,"div",50)(7,"span",58),d(8),m(9,"transloco"),s(),a(10,"span",59),d(11),m(12,"date"),s()(),a(13,"div",51)(14,"button",63),h("click",function(){let o=u(e).$implicit,c=l(4);return g(c.viewCertificate(o.masterclassId,o.masterclassName,o.certificateLogoUrl,!0))}),v(15,Lp,1,0,"i",64)(16,Up,1,0,"i",65),a(17,"span"),d(18),m(19,"transloco"),s()()()()}if(i&2){let e=t.$implicit,n=l(4);r(4),_("title",e.masterclassName),r(),y(e.masterclassName),r(3),y(f(9,8,"achievements.issuedOn")),r(3),x(" ",V(12,10,e.masterclassCompletionTime*1e3,"dd MMM yyyy","UTC+0")," "),r(3),_("disabled",n.viewCertificateLoaderId===e.masterclassId),r(),_("ngIf",n.viewCertificateLoaderId!==e.masterclassId),r(),_("ngIf",n.viewCertificateLoaderId===e.masterclassId),r(2),y(f(19,14,"achievements.view"))}}function Rp(i,t){if(i&1&&(a(0,"div",53),se(1,Np,20,16,"div",62,Le().trackByItem,!0),m(3,"paginate"),s()),i&2){let e=l(3);r(),_e(z(3,0,e.certificateDataList,Ue(3,Fn,e.pageSize,e.p,e.totalAnswerRecordsCount)))}}function zp(i,t){if(i&1&&(a(0,"div",48)(1,"div",49),d(2),m(3,"transloco"),s(),a(4,"div",50),d(5),m(6,"transloco"),s(),a(7,"div",51),d(8),m(9,"transloco"),s()(),F(10,Fp,4,7,"div",52),F(11,Rp,4,7,"div",53)),i&2){let e=l(2);r(2),x(" ",f(3,5,"achievements.productName")," "),r(3),x(" ",f(6,7,"achievements.issuedOn")," "),r(3),x(" ",f(9,9,"achievements.actions")," "),r(2),L(e.selectedType===e.productType.Course?10:-1),r(),L(e.selectedType===e.productType.Masterclass?11:-1)}}function $p(i,t){i&1&&(a(0,"div",46),C(1,"img",67),a(2,"p",68),d(3),m(4,"transloco"),s()()),i&2&&(r(3),x(" ",f(4,1,"achievements.noAchievements")," "))}function jp(i,t){if(i&1&&(a(0,"option",76),d(1),s()),i&2){let e=t.$implicit;_("value",e.value),r(),y(e.label)}}function Hp(i,t){if(i&1){let e=b();a(0,"div",47)(1,"div",69)(2,"pagination-controls",70),h("pageChange",function(o){u(e);let c=l(2);return g(c.pageChangedAnswer(o))}),s()(),a(3,"div",71)(4,"div",72)(5,"label",73),d(6),m(7,"transloco"),s(),a(8,"select",74),h("ngModelChange",function(o){u(e);let c=l(2);return g(c.getListWithSelectedSize(o))}),R("ngModelChange",function(o){u(e);let c=l(2);return N(c.defaultNumber,o)||(c.defaultNumber=o),g(o)}),a(9,"option",75),d(10),m(11,"transloco"),s(),se(12,jp,2,2,"option",76,Le().trackByItem,!0),s()(),a(14,"div",77),d(15),m(16,"transloco"),m(17,"transloco"),m(18,"transloco"),s()()()}if(i&2){let e=l(2);r(2),_("responsive",!0)("autoHide",!0)("totalItems",e.totalAnswerRecordsCount)("itemsPerPage",e.pageSize)("currentPage",e.p+1),r(4),x(" ",f(7,15,"achievements.itemsPerPage")," "),r(2),_("ngModelOptions",D(25,Op)),U("ngModel",e.defaultNumber),r(2),y(f(11,17,"achievements.select")),r(2),_e(e.pageSizeOption),r(3),yt(" ",f(16,19,"achievements.showing")," ",e.answerStartPage," ",f(17,21,"achievements.to")," ",e.answerEndPage," ",f(18,23,"achievements.of")," ",e.totalAnswerRecordsCount," ")}}function Wp(i,t){if(i&1&&(a(0,"div",17)(1,"div",41),F(2,zp,12,11)(3,$p,5,3,"div",46),F(4,Hp,19,26,"div",47),s()()),i&2){let e=l();r(2),L(e.certificateDataList!=null&&e.certificateDataList.length?2:3),r(2),L(e.certificateDataList.length>0?4:-1)}}function Yp(i,t){if(i&1){let e=b();a(0,"div",78)(1,"button",79),m(2,"transloco"),h("click",function(){u(e);let o=l();return g(o.downloadcertificateLoader?!1:o.sendToPdf(o.certificateData.id,o.courseName,o.certificateData.templateType))}),C(3,"i",80),d(4),m(5,"transloco"),s()()}if(i&2){let e=l();r(),_("title",f(2,3,"achievements.downloadCertificate")),r(2),_("ngClass",e.downloadcertificateLoader?"fas fa-spinner fa-spin":"fa-regular fa-download"),r(),x("",f(5,5,"course_info.downloadCertificate")," ")}}function Qp(i,t){if(i&1){let e=b();a(0,"div",81)(1,"div",82)(2,"button",83),h("click",function(){u(e);let o=l();return g(o.downloadcertificateLoader?!1:o.sendToPdf(o.certificateData.id,o.courseName,o.certificateData.templateType))}),C(3,"i",80),d(4),m(5,"transloco"),s()()()}if(i&2){let e=l();r(3),_("ngClass",e.downloadcertificateLoader?"fas fa-spinner fa-spin":"fa-regular fa-download"),r(),x("",f(5,2,"course_info.downloadCertificate")," ")}}function Zp(i,t){i&1&&C(0,"br")}function Gp(i,t){if(i&1&&C(0,"app-builder-certificate",30),i&2){let e=l();_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)("badgeBase64",e.badgeBase64)}}function Jp(i,t){if(i&1&&C(0,"app-certificate-template1",84,2),i&2){let e=l(2);_("achievement",!0)("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function qp(i,t){if(i&1&&C(0,"app-certificate-template2",85,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function Kp(i,t){if(i&1&&C(0,"app-certificate-template3",85,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function Xp(i,t){if(i&1&&C(0,"app-certificate-template4",85,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function e0(i,t){if(i&1&&C(0,"app-certificate-template5",85,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("mobileMode",e.mobileMode)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function t0(i,t){if(i&1&&C(0,"app-certificate-template6",86,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("mobileMode",e.mobileMode)("completionPercentage",e.completionPercentage)("badgeBase64",e.badgeBase64)("courseName",e.courseName)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function n0(i,t){if(i&1&&C(0,"app-certificate-template7",87,2),i&2){let e=l(2);_("certificateData",e.certificateData)("uidNumber",e.uidNumber)("dateOfBirth",e.dateOfBirth)("mobileMode",e.mobileMode)("completionPercentage",e.completionPercentage)("courseName",e.courseName)("noBrainerPlanRestrict",e.noBrainerPlanRestrict)("logoUrl",e.logoUrl)}}function i0(i,t){if(i&1&&C(0,"app-custom-certificate",88,2),i&2){let e=l(2);_("certificateData",e.certificateData)("completionPercentage",e.completionPercentage)("mobileMode",e.mobileMode)("hideMobileWidthCertificate",e.hideMobileWidthCertificate)("logoUrl",e.logoUrl)}}function o0(i,t){if(i&1&&(F(0,Jp,2,9,"app-certificate-template1",84),F(1,qp,2,8,"app-certificate-template2",85),F(2,Kp,2,8,"app-certificate-template3",85),F(3,Xp,2,8,"app-certificate-template4",85),F(4,e0,2,8,"app-certificate-template5",85),F(5,t0,2,9,"app-certificate-template6",86),F(6,n0,2,8,"app-certificate-template7",87),F(7,i0,2,5,"app-custom-certificate",88)),i&2){let e=l();L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE1?0:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE2?1:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE3?2:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE4?3:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE5?4:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE6?5:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.TEMPLATE7?6:-1),r(),L(e.certificateData!=null&&e.certificateData!=null&&e.certificateData.id!=0&&(e.certificateData==null?null:e.certificateData.templateType)==e.templateType.CUSTOMTEMPLATE?7:-1)}}function r0(i,t){i&1&&C(0,"i",109)}function a0(i,t){i&1&&C(0,"i",110)}function l0(i,t){if(i&1){let e=b();a(0,"div")(1,"label",89),d(2),m(3,"transloco"),s(),a(4,"div",90),C(5,"input",91),a(6,"div",92)(7,"a",93),h("click",function(){u(e);let o=l();return g(o.copyValue())}),v(8,r0,1,0,"i",94)(9,a0,1,0,"i",95),s()(),a(10,"div",92)(11,"a",96),C(12,"i",97),s()()(),a(13,"div",98)(14,"span",99),d(15),m(16,"transloco"),s()(),a(17,"div",100)(18,"div",101)(19,"div",102)(20,"a",103),C(21,"i",104),s(),a(22,"span"),d(23,"WhatsApp"),s()(),a(24,"div",102)(25,"a",105),C(26,"i",106),s(),a(27,"span"),d(28,"Twitter"),s()(),a(29,"div",102)(30,"a",105),C(31,"i",107),s(),a(32,"span"),d(33,"Facebook"),s()(),a(34,"div",102)(35,"a",105),C(36,"i",108),s(),a(37,"span"),d(38,"Linkedin"),s()()()()()}if(i&2){let e=l();r(2),y(f(3,20,"course_info.copyUrl")),r(3),_("value",de(e.shareCertificateUrl))("ngClass",e.mobileMode?"freshlms__width__73":"freshlms__width__80"),r(3),_("ngIf",!e.copied),r(),_("ngIf",e.copied),r(2),_("href",de(e.shareCertificateUrl),A),r(4),x(" ",f(16,22,"course_info.orDirectShare")," "),r(3),_("ngClass",e.mobileMode?"icon-row-mobile":""),r(2),_("href",$("https://api.whatsapp.com/se
6nd?text=",e.shareCertificateUrl),A),r(5),_("href",pt("http://twitter.com/share?url=",e.shareCertificateUrl,"&text=",e.courseName),A),r(5),_("href",$("https://www.facebook.com/sharer/sharer.php?u=",e.shareCertificateUrl),A),r(5),_("href",pt("https://www.linkedin.com/shareArticle?mini=true&url=",e.shareCertificateUrl,"&title=",e.courseName,"&summary=My%20favorite%20blog&source=LinkedIn"),A)}}function c0(i,t){i&1&&(a(0,"div",111),C(1,"i",112),a(2,"p",113),d(3),m(4,"transloco"),s()()),i&2&&(r(3),y(f(4,1,"course_info.generatingShareLink")))}var De=class i{constructor(t,e,n,o,c,p){this.certificateService=t;this.activatedRoute=e;this.router=n;this.userRestrictionsService=o;this.uploadFileService=c;this.ngZone=p}certificateService;activatedRoute;router;userRestrictionsService;uploadFileService;ngZone;trackByItem=(t,e)=>e?.id??e?.code??e?.uuid??t;searchByAssessmentEmail="";certificateData=new rn;templateType=on;productType=gn;selectedType="Course";shareCertificateUrl;certificateurl;badgeBase64;builderCertificate=!1;getCertificate;mobileMode=!1;hideMobileWidthCertificate=!1;completionPercentage;childComp1;childComp2;childComp3;childComp4;childComp5;childComp6;childComp7;customComp;viewCertificateLoaderId=null;logoUrl;generatingCertificate=!1;copied=!1;noBrainerPlanRestrict;uidNumber;dateOfBirth;domainId;memberId;courseName;achievement=!0;certificates=[];shareUrlCache={};currentCertificateId=null;certificateDataList;downloadcertificateLoader=!1;tablerowSkeleton=!0;pageSize=10;sortField="string";p=1;startPage=1;endPage;answerStartPage=1;answerEndPage;totalAnswerRecordsCount;courseCount=0;masterclassCount=0;progressBar=0;pageSizeOption;defaultNumber=10;ngOnInit(){this.noBrainerPlanRestrict=this.userRestrictionsService.getNoBrainerRestriction(),this.domainId=localStorage.getItem("domain"),this.memberId=localStorage.getItem("cid"),this.uidNumber=localStorage.getItem("uidNumber"),this.dateOfBirth=localStorage.getItem("dateOfBirth"),this.certificateurl={courseCertificateImageUrl:""},this.loadCertificateList();var t=this;t.pageSizeOption=[{value:"10",label:"10",selected:!0},{value:"20",label:"20"},{value:"30",label:"30"},{value:"40",label:"40"},{value:"50",label:"50"}]}getListWithSelectedSize(t){var e=this;e.pageSize=t,e.p=1,e.pageChangedAnswer(e.p),document.getElementById("questionListTable")?.scrollIntoView()}pageChangedAnswer(t){var e=this;e.p=t,e.loadCertificateList()}changeTab(t){this.selectedType!==t&&(this.selectedType=t,this.p=1,this.searchByAssessmentEmail="",this.loadCertificateList())}loadCertificateList(){var t=this;t.tablerowSkeleton=!0;let e=n=>{n!=null?(t.certificateDataList=n.content,t.totalAnswerRecordsCount=n.totalElements,t.answerStartPage=(t.p-1)*t.pageSize+1,t.answerEndPage=t.totalAnswerRecordsCount>t.answerStartPage+t.pageSize-1?t.p*t.pageSize:t.totalAnswerRecordsCount):(this.certificateDataList=[],t.answerStartPage=0,t.answerEndPage=0,t.totalAnswerRecordsCount=0),t.tablerowSkeleton=!1;let o=0,c=()=>{o++,o===2&&window.dispatchEvent(new CustomEvent("mp:counts-update",{detail:{type:"achievements",count:t.courseCount+t.masterclassCount}}))};this.certificateService.loadCertificate(this.memberId,"",0,1,p=>{t.courseCount=p?.totalElements??0,c()}),this.certificateService.loadMasterclassCertificate(this.memberId,"",0,1,p=>{t.masterclassCount=p?.totalElements??0,c()})};this.selectedType===this.productType.Masterclass?this.certificateService.loadMasterclassCertificate(this.memberId,this.searchByAssessmentEmail||"",this.p-1,this.pageSize,e):this.certificateService.loadCertificate(this.memberId,this.searchByAssessmentEmail||"",this.selectedType,this.p-1,this.pageSize,e)}copyLink(){}shareOnFacebook(){}shareOnLinkedIn(){}shareOnTwitter(){}downloadCertificate(){}handleSearch(t){let e="";e=t;let n=document.querySelector(".clear-icon");t.trim()?n.classList.remove("d-none"):n.classList.add("d-none")}searchByEmail(){var t=this;t.p=1,t.loadCertificateList()}clearSearch(){this.searchByAssessmentEmail="",this.loadCertificateList()}viewCertificate(t,e,n,o){return ce(this,null,function*(){var c=this;if(localStorage.setItem("nameCourse",e),this.selectedType===this.productType.Masterclass){if(this.currentCertificateId=t,this.courseName=e,this.logoUrl=this.cleanLogoUrl(n),this.logoUrl)if(this.logoUrl.startsWith("http")){let p=yield this.getBase64ImageFromUrl(this.logoUrl),T=this.getBase64FileExtension(p);this.logoUrl="data:image/"+T+";base64,"+p}else{if(this.logoUrl.startsWith("data:image")){let O=this.logoUrl.indexOf(",");O!==-1&&(this.logoUrl=this.logoUrl.substring(O+1))}this.logoUrl=this.logoUrl.replace(/[^A-Za-z0-9+/]/g,"");let p=this.logoUrl.length%4;p===2?this.logoUrl+="==":p===3&&(this.logoUrl+="=");let T=this.getBase64FileExtension(this.logoUrl);this.logoUrl="data:image/"+T+";base64,"+this.logoUrl}this.viewCertificateLoaderId=t,this.showCertificate()}else this.router.navigate(["/course",t],{queryParams:{triggerCertificate:!0}})})}showCertificate(){let t=e=>ce(this,null,function*(){if(e!=null){if(this.builderCertificate=vn(e),this.certificateData=an(e),this.certificateData){if(this.certificateData.logoUrl=this.cleanLogoUrl(this.certificateData.logoUrl),this.certificateData.logoUrlTwo=this.cleanLogoUrl(this.certificateData.logoUrlTwo),this.certificateData.logoUrl)if(this.certificateData.logoUrl.startsWith("http"))this.certificateData.logoUrl=yield this.getBase64ImageFromUrl(this.certificateData.logoUrl);else{if(this.certificateData.logoUrl.startsWith("data:image")){let o=this.certificateData.logoUrl.indexOf(",");o!==-1&&(this.certificateData.logoUrl=this.certificateData.logoUrl.substring(o+1))}this.certificateData.logoUrl=this.certificateData.logoUrl.replace(/[^A-Za-z0-9+/]/g,"");let n=this.certificateData.logoUrl.length%4;n===2?this.certificateData.logoUrl+="==":n===3&&(this.certificateData.logoUrl+="=")}if(this.certificateData.logoUrlTwo)if(this.certificateData.logoUrlTwo.startsWith("http"))this.certificateData.logoUrlTwo=yield this.getBase64ImageFromUrl(this.certificateData.logoUrlTwo);else{if(this.certificateData.logoUrlTwo.startsWith("data:image")){let o=this.certificateData.logoUrlTwo.indexOf(",");o!==-1&&(this.certificateData.logoUrlTwo=this.certificateData.logoUrlTwo.substring(o+1))}this.certificateData.logoUrlTwo=this.certificateData.logoUrlTwo.replace(/[^A-Za-z0-9+/]/g,"");let n=this.certificateData.logoUrlTwo.length%4;n===2?this.certificateData.logoUrlTwo+="==":n===3&&(this.certificateData.logoUrlTwo+="=")}if(this.certificateData.logoUrl){let n=this.getBase64FileExtension(this.certificateData.logoUrl);this.logoUrl="data:image/"+n+";base64,"+this.certificateData.logoUrl}}this.certificateData.templateType=="CUSTOMTEMPLATE"&&!this.userRestrictionsService.getNoBrainerPlusRestriction()&&(this.certificateData.templateType="TEMPLATE1",this.builderCertificate=fn),this.certificateData.templateType=="TEMPLATE6"&&(this.badgeBase64="iVBORw0KGgoAAAANSUhEUgAAAK4AAAFACAYAAAAlNUeoAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAACVXSURBVHgB7Z0LdFTVuce/CRbQRSBcsEqwZVCbAL34IlQUJAEVtQrxgVbwHRSKvQIV9WKvgShWqVUL2KtCK1gf4FX0SlCXokJAfBLedwFJrzJUSegtlPBYVVglc/
6d/z+xwMpk550ySs8/Zk++31pCQOXNm5pz/+c63v8feoaxe90eJYQwjixjGQFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjOY48ZvqUC4lpezw0+0PykhA3SzImwq4CYyQsXMZIWLiMkbBwGSNh4TJGwsJljISFyxgJC5cxEhYuYyQsXMZIWLiMkbBwGSNh4TJGwsJljISFyxgJC5cxEhYuYyQsXMZIWLiMkbBwGSNh4TJGwsJljMTzeRV0UjjoVJpcMpjO7Hcy7fymjv60ZJ14rG+V7Rc8Plpss48etMwXUDioN82YchGV3PMaRcTrFTmdO9Ib829q9PpNW2tozoJPxHb7muw7fEpXOf8E9ofPsXT5VrHtx022u2X0OeIxoMnfE99f7XNyyfk0akQ/2n/gu4Z91onfM4GMsbg4qSteuV2KcNVnOwiTRUBsv5t+RdLtZwihYPsuQmTW7WekmMAEouolxGAF4sDfE8npfLz8OwQMoe4TYpkkLhDsPxHsY907d8ntcdFg+yenX570c/eKvx+2sT4SxYh9fii+G0RbLgS7cWutvDASLyaTyRiLixODkzjgp081nEgIABb1eSEIWDyFsnBLl2+jq8e/2PB3bI+/Vwghr/rsK2opbwrRqBldsF9cFGf2y230WZTArx7/UsN74ie2S0XJPUvIDly8+I7YJyyt2ifuMJlCRlhcnBCcKIjEan3w/+HX/1Hcfv/eaHucWJB4O54rbuWx53tQa6M+F0RqRd3icYEpYcHy3v3QW9Rc1D5nSPfj2D6dBG8SGWFxw6fkyJ+Jfh7Eksxy9jrlX+TPREEr//OsVhJuEUQzhairEOvNwjfF/hM/D/4Pv1m5OnVxfxQXXTJ/GByNPNLoM5825LeNnt8kXAOIdHrcHQIQrt0+TSMjhFt34Fv5M9GapWJ/fHsIOHFQBVrr5PYSFxQsHi4EfMYLhfVPBgSFB7aFgIuFb4o7yPDr/5B0++GW/aQabEGoeMDlKBLuyCQxUIPfmyhyU8kIVwGDK4ATbgUi+HLNvU38RbX9lU22H9Do+UTCCYMzdRu2E8+FQnxwSfDaxMGd+oxq0AbrC0uJ6EayQd+xz/9Vw8PqLyuKR/SV+8SFGItmfCw/Cz6DujuZToZY3O/kyYGfCHCrhZXDSB6WLvHkwqLiRMIKIaqgtsetFbfZZO4FtofPCEHgd1gxiA7bO4WY5sY/G14//Pqm+8Z+cBd4UwwWITZcgHZWH9tbwee3foa6A4flNohu4Lhgn/h/LApRR5lAxkQV7n7obXnyIBB1YhEdGJdiQALLBlFbt7cbFOFWDgG43b8VdWGpwZL1wsB79pIx18HyQlP7xfdJRWJY7bQhjzUSrvKbsU9YX7BR+r2vU6aQkfPj4pYIUboNtnu9vVu82K9ybzJlUKbgiZ0ZI+FaBcZIWLiMkbBwGSNh4TJGwsJljISFyxgJC5cxEhYuYySBSvl63XoTK65+sUlmSj33S5FmTaxrWPHKHY3+n6oFR7XxJNuHFbftN7F0bb+k+0D6WBWIu3lvFBmhjUe1Btkdp99Nv1xWzVkL7FUrUuL7+klgLK6O1ptCWd43uNHfUTSO91adCMlel9iC88b8G5tsp9p4nEor3bbfIPWrnsNnRImkXatO6s9/Kq1/59/kRYDjhO+A45R4QR47HrmyvsF63FUrUheXZaM6CIzF1dV6g/1ZF0ienCDkZLhpwUkXp24EVU8LUJoJ0TWng2HB49c0Oa64+GBZccGmsryonMP3bo0WJi8IhMXV1XqDEwGrpOpo8Z52Jy8ZO+MuQk6ArE8qcBzwHeHaWI/r3Hi3b6oetFinxg4p+qB+z0AI16n1JvHW2NzWm/1yfzsa3AlVrO1kVWK34lPl7VbdGVpibQHab9QDFtULcIsHqkPECv6WrLBdAeuO18N3DiKBcBV0tt6gTjXmS+dKEcZawu2Lq2MDqlgNrqprbWnpoZv2m5Zy7Lge3+S52N9Sf+9IfA4JuBQbW3iRekEgLK6u1pvYczELjhMCS+rGTcAJbBf+lXzAV9zUCifSqf2mNVDdGYnHCXcPXOQviOiCHXApcCyfTDFA9pOAWFzvW2+sqG4EtW1rzjeAEbm1ryuxrUbh1H7TWiiriUgC3gMXK46b8mOdwOD3yzX3UdAITFTB69YbK3Pjwk02zVFLSYxSJLbVKJzab1qLuZaes8Tj6qYrAp8JxzpZCNBPAtkBEZRWmkwjk44Tt+4wRsK1CoyRsHAZI2HhMkbCwmWMhIXLGAkLlzESFi5jJCxcxkiMbN1B0Q3y74kk21615ShStd6kaqlJtl/1/slaWRLfD6jZExO3QxYr2ayMalZIVXSEijSn2cRRIzG5ZIjcJlnBud33S/we6RxfvzCydSdWDB6rpbVrfwGx1XJyGlpvsBINZuZOLKHEa922yqj375Ki1cf6WvVItl2qBUrQVoOCIXxeiBbbYmUeuwVNIMrC+Jy9ycpDm/P9gNPx9QsjW3cUzwsL8IILC2Bte4FlQuMfBGx9LSyOsjoopUSNbnMX+2humw2A8CAsND7OjRcBqSWlYAWTTa+P52GdYQ3x+kkJ7UmgOd/P7fH1g0AIV7XuxCq+GrfuoK8ssdOhJWC2brA/oIUmsJw4BnMtlWu4oGOCDSV9jbKOcIFwHLFoykP0IWUygRBuuqvmKBYKV2KhpTwQpYHJuhlUrS5Wv4GlxX5Ri+sV1hJCgG6HdJoONyb5bHaf95b4ij64K6GvDpY5cebz5uD2+PqBka07ClglrJugSHVQe8V7xnCBoGUFQvJyhm64CtbBWDodDjgW6ayzplrT8Z7WiyX2t5YJ1+3x9QMjW3cUG+IdDOqRCvh2WP1GreNwVrxL2CvUembqkc6gBtZWNWdaWS983GRLmio3AYMt3FUw8YcqyG8pbo+vHxjZuqOAL2f1+jZu3W1r3WKDlwHxORm2BmqUrICViy0hdU1Duz4+M6xwso6NyfE2HOv6ZWrehJa6C+keX50Y27oDEn1J3J6dDqzq8k028g4COAZYyO854Vuq9h78DVGGxBgqLDPuRomCRhMkhIsISkuE25zjq4uMaN3JVODWwCfPtBVzWoNArnPGJyoGLlzuo0sO1yowRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYCQuXMRIWLmMkLFzGSFi4jJGwcBkjYeEyRsLCZYyEhcsYyXHEpEV2547ycfDAd/KR+NzY286jYSP6Uo9Tusr/V2+tpcrPdtCihZ9SzTd1rvfF2BPK6nV/lBhblCBHjT5bClIBUb4sBLlsyQYaKZ67p/SncttkQJjzZq+QAh51zdly+wGDejc8D1GvEwKfN2dFE4EzTWHhOuAkSAAB5/XrQW5w2hYCf3zmO/JiYFLDwhUUnNub8n7cg/L7nSz/X7V1N1Us30q5PbvS/FdKyA/Gj1kgPketuHDOafhcNV/Xic+1jaq21VJbp00LN/eUHHrwt1c3umVbgfWzs7ReYvfecClm3PtGm3Yp2qxwIdo/LC5p5LOaBIStrHJbpE2Gw0wXLYA1fmLeWN/uCH6T8eEwnNj8vj2kWDt1OZ5qv94nXIOw0aJV4DtNmDxMDPh2N3yfml37pCuR6W5ExroKKoQ1tuR8z6zSwQOH6dChw1S1fQ8dPHiEDonHwYOHk26bnd2BOmW3p9zcbPl7D/zs3IG8AqG3eXNWUqaSkcKFUOEKuA1RuaG25gBVrq2h6qo9VLvroPxZU3NQPtdLiLBL5/aUIwQZ7pnd5LV1B45QXVzQO8Vrd8ZfBwHn5XenvD7daEBBLuX36S4E3ZlaC4Te7hB+cCYmNzJSuIgUIP7aEmBN11XuEo8aWrVihxQpBFr4k1w6S4jth+L3M4XgwrnZzdr/pqq9QtCHabP4WSEuiIi4MDZv3ystccHAnlQ4LCzE3LPFVhluA8SbaWSccAtEaGv+4ubFXmNiraHFL22WFrWd+NvNxXlCoN1p1PCwtKheEhEXxyYh3nJxoayWYj5IRcN6U+Hw3jSyuA81F0QfkHbOJDJOuE+KkXbRiL5pvQYiXbZ0O721tEqK9a4b+1PhwFz58BNY5bkvbpYihqMBSzx+YkHa7kQmWl3jhTvs4r5UdElfETmIZZfS8WvXrd1F85+plC7BUCHS6UIUfos1FauEeF8QFxYecCEg4AFCyG6Aj3vowLcNxTzlr28wPqVsrHDzhUCfnDemWWEtJdgvhaWFdZ10U3/P3YDWAu7DzKcrmyVgKwiXTZ2wyNgEhpHCRW1Bc2oIEA0oK11hpGATsQoY/m9zXAiA1LGJ1te4zJmsL3j8qrReg0HX/GfW0sjLXqQf9+xEa5eMpul3FhgrWoBoxnMPD6M/v3cDdaUojbz0JfkdU8WRU+FU+RZUjBMurG067gHcghuue5U+X/EVfbBglDzZzQ1hBRGrgJeLAebYa1+V39ktsUTN+WQaxgl3TIm7gwwr+8Rja2jCuKU0rjifKpdcG9iBV2sAAUO8t4vviu8M6+uWlsa8/cA4H3f9jpmO28CXnTrlHTosUrCvz72UzszvRm0J+L8X31YuQ2jzFxS78n3P6V1KJhF44aZqm0kFbpP3THmXbhWJA9P92JZQJy7ah55eS0tWRGjqfYOpaPipjq9BihhF9Ca0D7UL5VxQRgEFt7DfP38LnV/4IyHg4x23x+3xQRE1eHTKuUK0A6ljh7bbC9qxQzu6ZMgPZfHPAw+vln9zCpt1OzFbhhmLRvSj6m27Ay3ewFpcHMDFb9/penuI9lWRql0y55LA+LLIfK0Wd4C7bjyD/ASf46KScrruhjNE2Gyg69eNufzpwMZ5Azs4Q3LBLYjNvidG1AhzBWkAhnTtQ0+vI7+Bj7/2tdEy6vDEYx+7fh0K1YNKIIWL9m23IS+Idouw
6ah8sHBW4MBdqDFDOiHSt3+DYvC+O0aciLFj2wIeuXoOY+bA06z50EUjhug3PINylU7TIUrkV4VMvbZGjezBTpJfdMu4B74q/lXj/p7LGtXgLL2bhuqaTy4HYJyt2aLW0KDcsF6N0O1BjC6He/Ztjt2SIHYKM7Dpo+1psh/07bdcSrOJ1E+tVrfFBI5DD7s4OxdM44PBpdYkWgoIYlbXF7f9mEei3+tOoo50q/Ef8rEuSdlWVXfA3J910hny9AmJ/6uUtwifeIl+LgRRCeUMLcpN2VLQUJd6B1y6RXRhjfB48NodAWVykc1FPa2dxK4TVg3CRWNBlaRET7eXwXnALuggR1DnUCnQRF2WiRa07dETGm3Oy2zf8bb94z5zO7ckrcOyWzL5Eult2KeJYFd5YWaAfJAIRDkOSAe02TgXgyIhNGPcmTZWVXfqtBCxhr3htQCogXFjWqb/5pNHfi4f3ptKJA2Q3RSpg0fEeSN3quijnihBimYh8LHrtWscMG6rIMD1UEHrYApGAeOGN8Slnk7GCYplrhodlcsEv4B7Y3b6R9Dj3jJOktVz+8dfybxAt4ssndz+B7MB+IfyfXXY66QKf9a97/kFPP7eBrrnuX223hfUdLJJB7721hY4c/if5ie+uwoQpw1x1LcA9+J74Cd/PLxL9WjsmCb8xJ+6ro/bXLU/++2DSDQzBEeGauInx4lwFoZrMV+G6LamLdSyslYMxk2oPbirOi3UGB7wqDb71EjFmWPzSJlclkWNLzvO9htdX4Q4QgzGnA4DyRNQflApLa1odbfGw3rI72AQQ7SidWCATOk7F6HJ2oFacs6I5+CpcN19+8cubYy7CRP9chOYCS+vHrb+5wA37vvDN0Z7vRI+e/k5hFehCckQRlIvA6OGJ+wbLY46Ze+xo065C7Tf7bJ+f9+xaOSDKpFaboIO7BI552QMrbLer3WV/7rzGN+Hiis2zSSdikPCWyI6V3mmei2A6OOZfVu+1HagVXdxXFuH4hS/ChW/7ytt3ypkUU4F5D9ja+gOO+V039LetZUAh1PzF43wbpGkXLq7S+Q6TKuNKx+wybG39A5lJJ6urzqUflle7cJHadXLs2dr6D2K7TlYXqHS9brQKF1kXp9QuIglsbYMBrC5mr6zevsd2O5xT3UU4WoXr5stxJCE4wOoiyrCsfLvjtnl99fq6WoWrZlS0Y73wqay1qoy/IJuG6Vedsml5mgvOA5WAWCYOELJkmTzjjGngXLQLYcDsf9+cFa3Crdq22/b5VSu/YtEGEBQLoQDHDqz8oxOtwl22ZH3K53ArQncDpv5kggWKhaqr9tq6CxXvbyWdaPZxe6SsnsetCCWAZ+Z3JyZYOLkLOKe5mteN0yZcmWl5pSRlDLdi5Q52EwIM3AWEKZOBc4pExDCNrexahIvMCiYQtgPRBLS4MMEES2Rh2Sw7yh6/WlvVmBbhTpg83PYLIemAdcSGFvhbnMykZpQwKjhHduWOOieJ1iLcgkFh2+erqvZI3zanc9ucEtQEkIxAUqjSISyma5Joz4WLq9BpHjD4TuGenYgJNkN/kivXhLMDbqEOd0GLcJ2o3r5XrjPGBBvcFWtrnKeHygjhupk8orp6D4fBDADhSqeCG6BjwhAtwl1ns44sgtro5PVyuiGmdTirTzc5QLNLRGAi6IwQLpg3J/XUmbXxebTY4gYfNX/aIRvhLlr4KelAi3CxcndVilw2rt5eXMJoDIgsVIkxSTKw+ImuVSq1CBczjKeaZ7Wm5hD16snCNYXOIiyWylVAo0DGhMMQHsH8YKk4lOYSnoy/dBWx9kMHj6R8XtcSq54Ld+Toc2zjuLh6u2bzwMwUcHe0G5zpyp55LtwiF4UXXThjllEUjehDXuO5cIO6hgDjHTpKHI1bhJoJPhnh41Zpbulg/EfHUqqeC7fi/W3EZA77DzhHgewypa2F58JdtOAT2xQglivycl0vpnXBCkTZDrPCY/V1r9FSq/DEzHdSPt9JHIT9B44QYw6dbMKX82av1OYqeP4u5SINWJ1iFe5scRDqOAlhDDvF3TE3RYoeBTY6rK2gTotwkfJNtbJOfp/utLOGXQVTwEKE2Sni7vn6Ur51WsJhY2zmwVW3nQiLN/Bsitfi5tlU8sFIeU0Uwo2GKEIeEluhJXUSAo4+bj2bU1QcMcEBA7Nch0o+zNyoIY5blxUSbgt5iJsvkSfchYjDYhmM/2yq2uu4bCrwXLih6P5AtO70EFcxDgoTbFav3SWMTDfH7bzugAjVU0QINxQhD8GXcPoiefkn0qovgjUbINOUHSKiMKCgp+02CIV53rqTlSVdhQh5jFNVfMHAXBlZqDvAYbGggiTRZnFXzHewuDqyZtBs1lHKipDHLFponz2DqwCnf3VlLTHBJObfZtv6uDjHOuK4R6kersI/I+QxuH3YZc9A4fDeVOFiAWTGH8pX7BB3Rns34XFxjnVkzQgWlyKzIqQpezZ+zIKUlhe+04tLq4kJJqvX1lDhsOSTEuKc4txqapSsg2ZVVCFCGqj5Zl/KUMkA4eceFc7LqoBN2c7EzgkSREUpZtPEOa3aqsfNE8mHjfgZE26INpEGikb0S/kcEhF5ed1oVSULN2i8sLQqpWgVI685h7QgYrj4oSzuRtKA06o7VxT3pade3EJMsICbcMUo+z4yXavuhChUgZ9SuPUU1SJcJ4qGh9ldCBhLV0QIQcqigEy6rbQat7gdtQjXadUduAtXjMqnmc9UEhMMXly63TGaAPStutPRItxIGaIKnou32oUDXyRGrrC4nIzwHyQdYHHHT3Rennbd594nHuTALKZVSwdEKLqKPAZziDllVgaIq3tAQS7NfZl9Xb/BnW9kcR/Hwpp1n0W0RBVC0WMabRCucnq9Zsa9b1CtCIvZMX7iQDlIY6vrH7C2iCbAdbMDMdwZ975OOqjPqq9QvzcI9yh1qCANILNyhwhW24kXVve0/G5sdX0E1hZJoQE2/i3OJRIPmrJlghMq1G/tGv5WV/Eddb2gSAzqw+QxuEpjbesh6n/2D5Jug9qFXz/2CY2/th917HAcMfqAtb29dCXNX1CcsqN30YJP6f5Jr2oTrfBvK2jnw/PU/xvV4wp3wXM/V4EvXGnj7yqrO1WIl9GLG98WE73omHlcEQo11mYj4dbTMR9CB7k/sJ9jquzhC6WfxXFdfSCKgGPuFEnA9LE6qSd60/r/xh0QkVkVpKHgRnFo/7e2z6OMDgO1qb/5mEwEIhhXupJM4h5xrHHM3bTo6CKKWprII43CtU1bd0LRP5EmanY5XyNjbjyD/nbwCD1kYFICpYDlH0aMiY7MfLpSZskgXCdqdu0jXQg3oSLxb02Em2iSvcTNCi0YHMyYOVwe1E0ulioKEuUrI3KyExP66TAgg3HAgMwNOjodFMKFbWJMm1pcje4CROtmlRYM1GB5r5n8nq/WKx1/Gxea+qxwddx+7nEP6Hct8NkuLil37SLommYJxNwEqclGJO/yDYXmkCYwKZ6bVDAOaofs9mLEu478AmKEeO2AsCE+q2sDi1tw7RLh89pbKewbD92TACJy014cWzcuQrW+aZYkoWgoqevaLtkfozkXbgzR0WmkgSOH/0nvvbWFup+YLafwSUUHEcs9f0gvKn14NZ3QoR2de8ZJpAuEh2A1qyJ1UoSrK2uoizjRfXofi4pAcKPFHWHuS1uSugb7hZ/+6rtf0lPi+aoddVRsqbbatH0v/cecz+WFAcrFoA77KBSpb69j2HjP18T7/f7ZKxxnYaxYvo3unrBInjNd1GdFb6O6NU3Me1Lh6kxGABwIJCTWfR6h7C7HU/i05FP84MD2738S3XXfB1Q4MJfCmpaZwoIdu/f8g77Y/H+UIz7DdZeeTj+77PRGosI6FvuFP/vXPd/KGV+SgdeOujBMNxfnN/rsJ3c/gRBF/2LzX+Vrz+zTnSYJ16jPqd5OSY87wC9mfiT82isp3Dv5e8Gd+3T1/9IjD5TTwmc/0iraWNJhVtK7fyjlq8LTirKiIV9iOYvf/oXttE3zn1lLr760mda+NlqbeMHoye9KUZU6xDgRBkNYyTof2l039qfpdxZI8aZiU9Ueuui2ZfTn98babtcawMpfJPzaccI9wPghFfBlr7jgCfKD+pCwtpFZzyd7rl3KV9WtiYRyLpgifvN+Qv8ERt/wE+E6dEr5PAZr3x05SjMe+5hGiVtujqZVe04SlhGrvDuJqk/vHClw5Q/Dwj49fajjbR+WFw+v3SD40CMnvk2jrvsx3TrOvuUGfYKvL1pLupGDsp2zbkv1vP0UTBoHaVbcDtb6F/SUVkPXYEa6Jy6Xb7VuO+mm/uQWiNxLcKwQQRghUrpuBmOHfIriREPRB+2etxVuPbWfTRozaQq360aUPTxcu3jT4SYhQqxTHJQFttMVLSh/fT3pJhrrOq+w26ad3ZMYpIW6Dj1e/FZEGol8uYdGjT6bsjsf77gteqG+Eb7kr2d/rtVtcAM+i3Ib/AY+LdyDdEQL/7bs3jdIN6EQPR+NzPovu20cZ2v0y+rePWGx622n3jeELhEnZKCIlQYpu3ZmfjfPb/1uQPTgojQtLZgqQl9+UE9RRxe1ndMGflndvX87JMNjBYPCriyvGrBNEKEyccVKH5OJxWkR8vrFlPMcB2IKhMAQ/vpk1Z9JO9HonOjOWa84beYsXGpISPycNEcYcKuCv1u9bbdcZrObTaQBQLyY5v0/n9sg3IdDYnT+/TZbhI40LgSL5MITsy+jEZf9yPE1teJ4IwWPAvEtG74h3cC3jWbRxGQJh0RC5JKs8K/KxNUwg3xm/Y6ZjtvUCp93Qsmb9D3x+wcLRmmN9QYBpJ1vF2nnbrmdxQB2mKv6g3N6l5LvRKMP1v9lVpmbTV3PSA5fN6ppjjE7nBotAep4y9+9Sfq9P7r05TYzTwOs7FQR24Y/e54YqM5bUOxKtLrm/bID2nIrWuB+Kv1IWZ1TbE0H5a+7n/4BA5F5zxXTH9+sotMveTmjV7CElcXg9LUPI/I7Y8DqluoArLecrrZcuwoNLwjfvzIU1TtQs4KZAd/6aGpaC2QcPHiYFosUMVLFGOUjZZsp7gMuxnse+4RWCOEidYtHdhrp4lin7nMaO3Wbgok+ojsfTWudKVeDs0bkDN0k1P5z8gkUefx9zyEqGtHX9WtQWYaBGxoA11TW0F2lK+XU/UgMBCnumw5wC367YKPwZSvoOCHUp569XMS0T5XfNR0Q8vJ7hXthbc9zMyCzkr5w6z7aHeo6pKuwvYPIJ3CgK97fToMLT3cVKlPAEiFhgZly3hWj7fuFP2iagGFh4bPfXlpBew7X07TSoTT+zoFpWVmg5kTYsuFr8hUxIBPhr7S7btJ2FSThspxQ9PAGXWWPdiDDhnl3c3vmSPehk3i4dSPWrd0l3IdKWle5S7oQeAQ1/gsfFoLFT0zUgS7cAS4mo1MoP7ZqWy1VvLeNVrpMq3uJDH/tfLRZ00A2T7jAx7JHO56cNzYtNwIgfDZP+L/rhZARQoN4gyBiiBQNly8sraajFGscHSk+V7oduKoAPGjUh6LDkrXluKH5wiXEdqfNFg7KZAoQBYN60/zFJdRclqGvbOUOqljxlSyQgXhHDQ9Ld8LrAR38VjRYYlZ2dAdDrEiowLpi9c3sZtbowiWo1Njc6Io0YrbJaJFw4y7DSrGTsyhAPDlfWN2L07O6iSASsU5YvAohYljiGukLd5PiLRS36DPE7znZ7ZtdQIMic9RV/EVk+DZW7aHVX8TWWcDUU1iBCNOttkSsCiwoMsOHQhk7WuIiKFomXBCeFhYuA5Zb0Tu1iQ3wcf8grG6eTQ9busCdqBJCgz9cvX0vVQuxQdwAdbe94tYYYu6SZKC3c1dsAUL0nqnOCIg0r8+J4tbfSVpWLFTYmhNxoK75DpuVjvwAK5+LKMLZ8dWemk3LhQvC90/JitLvKGBMmDKcxt52nmeLIkO4EPRBIUhY5ENClErMicBydhKixk+szthJ/Mz2qD1Htf2jgzpIopWE6Jf1kUdnUwtpHeFSMP1dANHC783rG7O+SBnDEo8tOY8yAcyaiNnAe5zSVU5phdmB3Ey04gvR6Bzh106hVqDVhBtUfzcZEPMrb98pT7bJBCHr5ZbW8GutuK9VcCJWy3BVEApxnIA1QqF6IK2SS4wTLUJfrUj6mTM7kLbrOnSVsLrXkw/dwemAQvXlb22h/H65KafMhLA7+FTPa/feWHNh6oSXTRFtnUzptnAwlkjruQpWwtNuFZGGhWQImEFngPCD1VwOSCkvW7Je/r0lMeGWEJuifp/MClo/FyIFgYvJ2lAfoqso8mirT6TojXBBQCMN6YKU8tTSn9pGJpBOdbuyIoRnF6aDpUWD4srl/qdkW0wLkwx2tK6rYKVuzWehrkPEhREqIoOBlYNLgWKezrIO4lhRD27ZENncx5bLMBjWs0h1e1d9XI88sIxqxcg/sRXJ2jbjd7VWq+ChaIF3FjeOCJOViTCZ7y0/rUV2vIgHQkwc3MFXRty4YNCpDRYY1hgFLcliqnb7MhqPRQs8Fy7INPEyNmgQLfDOVbAQrVtTkQluA+OAJtECLcIFLN4MR6NogTbhAhZvhoL6g52zZpFGtAoXQLzRrhegb+1SCniSgrEHyYWsUHRifWTWs6QZLYOzpISnhUPR0MogtP8w6RNL44auSlx/TBf+CReweI0kStFN0RBd2dpp3HTwV7hxgloSySQBpYlZHctQVEU+ot3HTYbwe98Vfu9+cRWh5Z393gACfzYUovvFIKxMLm7jM4GwuA2w6xBIguAaJBIIi9sAyiL3r5nDIbMAgflqszreSpGHA1VAESyLayU8rUhY34Vsff0hXvx9W3PnPfCa4Ao3Dtc5+EBABmB2BF64kpjv+98m9LOZjPBjK6IU+qVfsdl0MEO4ivC0W4WAZ7D70LrE3YIHU63iGETMEm4cuA/RaOgWFnDLiIW4hFtAHWcH2S1IhpHClWAGHaIpnLhIH5MFqzBXuIq4gIUFLmYLbE8mCFZhvnAVQsDi3yL2gZuSSYJVZI5wrWAQR8IH9nGtiiAQixLIQVcFZRiZKVxFzI24tS0N5DLRuiYjs4VrBTOoU0iImAozTcRxsf6pnujNTLSuyWg7wrUS/tVZwhJfKW6jhaa6E3ADQhRdJcRa0VbEaqVtCtdKuCyH6LCwxtEikTWCkAOZnRNC3RgTaqiCqENFJrsBbmDhJiKF/J0Qb+gsLMJOmGldiDmkacZ13PbFWYmIweXGeopuEn8R6deOG9u6UBNh4bolFm6TjyyRuyOqzxEWuhfFBA1xy5+pBC4FGXtQXJiR+FM766kev8ceAap5DTL/D8ElhnCC6bNuAAAAAElFTkSuQmCC"),this.certificateData.templateType==null&&(this.certificateData.templateType="TEMPLATE1"),this.certificateData.templateType==null&&this.certificateData.templateType==null&&(this.certificateData.templateType="TEMPLATE1"),this.certificateData.expirationDateText==null&&this.certificateData.expirationDateText==null&&(this.certificateData.expirationDateText="Expiration Date"),this.certificateData.DateOfBirthText==null&&this.certificateData.DateOfBirthText==null&&(this.certificateData.DateOfBirthText="DOB"),this.certificateData.footer.showAddress==null&&this.certificateData.footer.showAddress==null&&this.certificateData.footer.address!=""&&this.certificateData.footer.address!=null&&(this.certificateData.footer.showAddress=!0),this.certificateData.showIssueDate==null&&this.certificateData.showIssueDate==null&&(this.certificateData.showIssueDate=!0),this.ngZone.run(()=>{this.getCertificate=!0,this.viewCertificateLoaderId=null,setTimeout(()=>{document.getElementById("openShareCertificatePage")?.click()},0)})}else this.ngZone.run(()=>{this.viewCertificateLoaderId=null})});this.selectedType===this.productType.Masterclass?this.certificateService.downloadMasterclassCertificate(this.currentCertificateId,t):this.certificateService.downloadCourseCertificate(this.currentCertificateId,t)}sendToPdf(t,e,n){var o=this;o.currentCertificateId=t,o.downloadcertificateLoader=!0,setTimeout(()=>{var c="Certificate for "+e,p;n=="TEMPLATE1"&&(p=document.getElementById("downloadcertificateTemplateType1"),this.generatePDF(p,c)),n=="TEMPLATE2"&&(p=document.getElementById("downloadcertificateTemplateType2"),this.generatePDF(p,c)),n=="TEMPLATE3"&&(p=document.getElementById("downloadcertificateTemplateType3"),this.generatePDF(p,c)),n=="TEMPLATE4"&&(p=document.getElementById("downloadcertificateTemplateType4"),this.generatePDF(p,c)),n=="TEMPLATE5"&&(p=document.getElementById("downloadcertificateTemplateType5"),this.generatePDF(p,c)),n=="TEMPLATE6"&&(p=document.getElementById("downloadcertificateTemplateType6"),this.generatePDF(p,c)),n=="TEMPLATE7"&&(p=document.getElementById("downloadcertificateTemplateType7"),this.generatePDF(p,c,!0)),n=="CUSTOMTEMPLATE"&&(p=document.getElementById("downloadCertificateTemplateType"),this.generateCustomCertificatePDF(p,c))},100)}generateBuilderPDF(t,e){return ce(this,null,function*(){let n=yield tt();yield hn(t);let o=xn(t,e,this.certificateData),c=()=>
6{o.restore(),this.ngZone.run(()=>{this.downloadcertificateLoader=!1;let p=document.querySelector("#shareCertificatePage .close");p&&p.click()})};n().from(t).set(o.options).save().then(c).catch(c)})}generatePDF(t,e,n=!1){return ce(this,null,function*(){if(this.builderCertificate)return this.generateBuilderPDF(t,e);let o=yield tt(),c=t.style.width;t.style.width=n?"600px":"900px";let p=t.scrollWidth||(n?600:900),T=t.scrollHeight||(n?850:603),O=25.4/96,H=p*O+20,W=T*O+25,Z={margin:10,filename:e+".pdf",image:{type:"jpeg",quality:.98},html2canvas:{scale:5,useCORS:!0},jsPDF:{unit:"mm",orientation:n?"portrait":"landscape",format:[H,W]},pagebreak:{mode:["avoid-all","css","legacy"]}};o().from(t).set(Z).save().then(()=>{t.style.width=c,this.ngZone.run(()=>{this.downloadcertificateLoader=!1;let j=document.querySelector("#shareCertificatePage .close");j&&j.click()})}).catch(j=>{t.style.width=c,this.ngZone.run(()=>{this.downloadcertificateLoader=!1;let Ne=document.querySelector("#shareCertificatePage .close");Ne&&Ne.click()})})})}generateCustomCertificatePDF(t,e){return ce(this,null,function*(){let n=yield tt(),o=t.scrollWidth||1200,c=t.scrollHeight||800,p=25.4/96,T=o*p,O=c*p+5,H={margin:0,filename:e+".pdf",image:{type:"jpeg",quality:.98},html2canvas:{scale:5,useCORS:!0},jsPDF:{unit:"mm",orientation:T>O?"landscape":"portrait",format:[T,O]},pagebreak:{mode:["avoid-all","css","legacy"]}};n().from(t).set(H).save().then(()=>{this.ngZone.run(()=>{this.downloadcertificateLoader=!1;let W=document.querySelector("#shareCertificatePage .close");W&&W.click()})}).catch(W=>{this.ngZone.run(()=>{this.downloadcertificateLoader=!1;let Z=document.querySelector("#shareCertificatePage .close");Z&&Z.click()})})})}genrateCertificateUrl(){this.generatingCertificate=!0;var t;this.certificateData.templateType=="CUSTOMTEMPLATE",t=document.getElementById("certificateTemplateType"),Qt().then(e=>e(t,{scale:5,useCORS:!0})).then(e=>{var n="Certificate for "+this.courseName;if(this.certificateData.templateType=="TEMPLATE1"){this.childComp1.canvas.nativeElement.src=e.toDataURL(),this.childComp1.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp1.canvas.nativeElement.src),c=new File([o],this.childComp1.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE2"){this.childComp2.canvas.nativeElement.src=e.toDataURL(),this.childComp2.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp2.canvas.nativeElement.src),c=new File([o],this.childComp2.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE3"){this.childComp3.canvas.nativeElement.src=e.toDataURL(),this.childComp3.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp3.canvas.nativeElement.src),c=new File([o],this.childComp3.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE4"){this.childComp4.canvas.nativeElement.src=e.toDataURL(),this.childComp4.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp4.canvas.nativeElement.src),c=new File([o],this.childComp4.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE5"){this.childComp5.canvas.nativeElement.src=e.toDataURL(),this.childComp5.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp5.canvas.nativeElement.src),c=new File([o],this.childComp5.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE6"){this.childComp6.canvas.nativeElement.src=e.toDataURL(),this.childComp6.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp6.canvas.nativeElement.src),c=new File([o],this.childComp6.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="TEMPLATE7"){this.childComp7.canvas.nativeElement.src=e.toDataURL(),this.childComp7.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.childComp7.canvas.nativeElement.src),c=new File([o],this.childComp7.downloadLink.nativeElement.download,{type:"'image/png'"})}if(this.certificateData.templateType=="CUSTOMTEMPLATE"){this.customComp.canvas.nativeElement.src=e.toDataURL(),this.customComp.downloadLink.nativeElement.download=n.replace(" ","-")+".png";var o=this.dataURItoBlob(this.customComp.canvas.nativeElement.src),c=new File([o],this.customComp.downloadLink.nativeElement.download,{type:"'image/png'"})}var p=this;this.uploadFileService.uploadFileWithLocation(c,function(T){T<=100?p.progressBar=T:p.updatecertificateimageUrl(T.Location)})})}updatecertificateimageUrl(t){this.certificateurl.courseCertificateImageUrl=t;var e=this;this.certificateService.CoursecerificateImageUrlUpdate(this.certificateData.subscriptionId,this.certificateurl,function(n){n.status==!0?(e.generatingCertificate=!1,e.shareCertificateUrl=n.url):(e.generatingCertificate=!1,e.shareCertificateUrl="")})}dataURItoBlob(t){var e;t.split(",")[0].indexOf("base64")>=0?e=atob(t.split(",")[1]):e=unescape(t.split(",")[1]);for(var n=t.split(",")[0].split(":")[1].split(";")[0],o=new Uint8Array(e.length),c=0;c<e.length;c++)o[c]=e.charCodeAt(c);return new Blob([o],{type:n})}
6openWhatsApp(t){let e=`https://api.whatsapp.com/send?text=${encodeURIComponent(t)}`;window.open(e,"_blank")}openLinkedIn(t){let e=`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(t)}`;window.open(e,"_blank")}openTwitter(t){let e=`https://twitter.com/intent/tweet?url=${encodeURIComponent(t)}&text=Check out my certificate!`;window.open(e,"_blank")}openFacebook(t){let e=`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(t)}`;window.open(e,"_blank")}copyToClipboard(t){navigator.clipboard.writeText(t).then(()=>{}).catch(()=>{let e=document.createElement("textarea");e.value=t,document.body.appendChild(e),e.select(),document.execCommand("copy"),document.body.removeChild(e)})}copyValue(){var t=document.getElementById("page__host");t&&(t.select(),document.execCommand("copy"),this.copied=!0,setTimeout(()=>this.copied=!1,3e3))}getBase64ImageFromUrl(t){return ce(this,null,function*(){try{let e=t.includes("?")?`${t}&t=${Date.now()}`:`${t}?t=${Date.now()}`,o=yield(yield fetch(e)).blob();return new Promise((c,p)=>{let T=new FileReader;T.onloadend=()=>{let O=T.result,H=O.indexOf(","),W=H!==-1?O.substring(H+1):O;W=W.replace(/\s/g,""),c(W)},T.onerror=p,T.readAsDataURL(o)})}catch(e){return console.error("Error converting image to base64:",e),"iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="}})}getBase64FileExtension(t){if(!t)return"unknown";switch(t.charAt(0)){case"P":return"svg+xml";case"/":return"jpeg";case"i":return"png";case"R":return"gif";case"U":return"webp";case"J":return"pdf";default:return"unknown"}}cleanLogoUrl(t){if(!t)return t;let e=t.trim();return e.startsWith("//")?e="https:"+e:e.includes("freshlms.s3.amazonaws.com")&&!e.startsWith("http://")&&!e.startsWith("https://")&&(e="https://"+e),e==="https://cdn.freshlms.info/freshlearn/FreshLearnLogo_136X30.svg"&&(e="https://freshlms-media.s3.ap-south-1.amazonaws.com/6000/FreshLearn%20Logo-17kNUAu8oJ.png"),e=e.replace("freshlms-cdn.freshlms.com","freshlms-media.s3.ap-south-1.amazonaws.com"),e=e.replace("fs-cdn.freshlearn.com","freshlearn-media.s3.amazonaws.com"),e=e.replace("cdn.freshlms.info/freshlearn","freshlms-media.s3.ap-south-1.amazonaws.com/6000"),e=e.replace(/freshlms\.s3\.amazonaws\.com/g,"freshlms-old-cdn.freshlms.com"),e}openShareLinksModal(){let t=document.getElementById("openShareLinksModalBtn");t&&t.click()}static \u0275fac=function(e){return new(e||i)(B(et),B(Ce),B(te),B(bn),B(Ke),B(ht))};static \u0275cmp=ee({type:i,selectors:[["app-achievements"]],viewQuery:function(e,n){if(e&1&&ge(le,5)(le,5)(le,5)(le,5)(le,5)(le,5)(le,5)(le,5),e&2){let o;Y(o=Q())&&(n.childComp1=o.first),Y(o=Q())&&(n.childComp2=o.first),Y(o=Q())&&(n.childComp3=o.first),Y(o=Q())&&(n.childComp4=o.first),Y(o=Q())&&(n.childComp5=o.first),Y(o=Q())&&(n.childComp6=o.first),Y(o=Q())&&(n.childComp7=o.first),Y(o=Q())&&(n.customComp=o.first)}},decls:64,vars:37,consts:[["shareCertificatePage",""],["shareLinksModal",""],["childComp",""],[1,"ach-page"],[1,"ach-toolbar"],[1,"ach-toolbar__left"],[1,"ach-title"],[1,"ach-title__count"],[1,"ach-toolbar__right"],[1,"ach-search"],[1,"fa-regular","fa-magnifying-glass","ach-search__icon"],["type","text","id","assessment_search","name","assessment_search",1,"ach-search__input",3,"ngModelChange","input","ngModel","placeholder"],["type","button","aria-label","Clear search",1,"ach-search__clear"],["role","tablist",1,"ach-tabs"],["type","button","role","tab",1,"ach-tab",3,"click"],[1,"ach-tab__label"],[1,"ach-tab__count"],[1,"ach-table-wrap"],["id","openShareCertificatePage","data-bs-toggle","modal","data-bs-target","#shareCertificatePage",2,"display","none",3,"hidden"],["id","shareCertificatePage","tabindex","-1","role","dialog","aria-labelledby","myModalLabel","aria-hidden","true",1,"modal","fade","center",2,"background-color","rgba(0, 0, 0, 0.4)"],["role","document",1,"modal-dialog","modal
6-lg","mt-5","pt-5"],[1,"modal-content",2,"border-radius","16px","border","1px solid #d3d3d3"],[1,"modal-header","d-flex","justify-content-between","align-items-center",2,"border-bottom","1px solid #d3d3d3"],[1,"mb-0","freshlms__fs__18","freshlms__fw_600","freshlms__letter__019","freshlms__lineH__33","fresh__text__000000"],["class","d-flex justify-content-end align-items-center ms-auto me-4",4,"ngIf"],["type","button","aria-label","Close","data-bs-dismiss","modal",1,"close","pull-right"],["aria-hidden","true"],[1,"modal-body","px-0"],[1,"white"],["class","col-md-11 mx-auto py-4 px-2",4,"ngIf"],[3,"certificateData","uidNumber","dateOfBirth","completionPercentage","courseName","mobileMode","noBrainerPlanRestrict","logoUrl","badgeBase64"],["id","openShareLinksModalBtn","data-bs-toggle","modal","data-bs-target","#shareLinksModal",2,"display","none",3,"hidden"],["id","shareLinksModal","tabindex","-1","role","dialog","aria-hidden","true",1,"modal","fade","center",2,"background-color","rgba(0,0,0,.4)"],["role","document",1,"modal-dialog","mt-5","pt-5"],[1,"modal-content",2,"border-radius","16px","border","1px solid #D3D3D3"],[1,"modal-header",2,"border-bottom","1px solid #D3D3D3"],[1,"modal-body","px-4","py-3"],[4,"ngIf"],["class","p-3 text-center",4,"ngIf"],["type","button","aria-label","Clear search",1,"ach-search__clear",3,"click"],[1,"fa","fa-times"],[1,"ach-card"],[1,"ach-skeleton-row"],[1,"skeleton-loader",2,"width","45%"],[1,"skeleton-loader",2,"width","20%"],[1,"skeleton-loader",2,"width","15%"],[1,"ach-empty"],[1,"ach-footer"],[1,"ach-row","ach-row--head","d-none","d-md-grid"],[1,"ach-col","ach-col--name"],[1,"ach-col","ach-col--date"],[1,"ach-col","ach-col--actions"],["id","questionListTable"],["id","masterclassListTable"],["id","certificateList",1,"ach-row","ach-row--item"],["aria-hidden","true",1,"ach-cert-icon"],[1,"fa-regular","fa-award-simple"],[1,"ach-name",3,"title"],[1,"ach-label","d-md-none"],[1,"ach-date"],["type","button",1,"ach-action-btn",3,"click"],[1,"fa-regular","fa-eye"],["id","masterclassCertificateList",1,"ach-row","ach-row--item"],["type","button",1,"ach-action-btn",3,"click","disabled"],["class","fa-regular fa-eye",4,"ngIf"],["class","fas fa-spinner fa-spin",4,"ngIf"],[1,"fas","fa-spinner","fa-spin"],["loading","lazy","src","https://cdn.freshlms.info/icons/freshlms_empty.png","width","220","height","auto","alt",""],[1,"ach-empty__text"],[1,"ach-footer__pagination"],["id","assessment_answer_page",3,"pageChange","responsive","autoHide","totalItems","itemsPerPage","currentPage"],[1,"ach-footer__meta"],[1,"ach-pagesize"],[1,"ach-pagesize__label"],[1,"ach-pagesize__select",3,"ngModelChange","ngModelOptions","ngModel"],["value","","disabled","","hidden",""],[3,"value"],[1,"ach-showing"],[1,"d-flex","justify-content-end","align-items-center","ms-auto","me-4"],["type","button","data-bs-toggle","tooltip","data-bs-placement","bottom",1,"btn","btn-primary","cursor__pointer",2,"padding","8px 16px !important","border-radius","4px !important","height","auto !important",3,"click","title"],[1,"me-2",3,"ngClass"],[1,"col-md-11","mx-auto","py-4","px-2"],[1,"d-flex","flex-column","align-items-center","justify-content-center"],["type","button",1,"btn","btn-primary","cursor__pointer","mb-3","w-100",2,"padding","12px 8px !important","border-radius","8px !important","height","auto !important",3,"click"],[3,"achievement","certificateData","uidNumber","dateOfBirth","completionPercentage","courseName","mobileMode","noBrainerPlanRestrict","logoUrl"],[3,"certificateData","uidNumber","dateOfBirth","completionPercentage","courseName","mobileMode","noBrainerPlanRestrict","logoUrl"],[3,"certificateData","uidNumber","dateOfBirth","mobileMode","completionPercentage","badgeBase64","courseName","noBrainerPlanRestrict","logoUrl"],[3,"certificateData","uidNumber","dateOfBirth","mobileMode","completionPercentage","courseName","noBrainerPlanRestrict","logoUrl"],[3,"certificateData","completionPercentage","mobileMode","hideMobileWidthCertificate","logoUrl"],[1,"mb-2","freshlms__fs__14","freshlms__fw_500",2,"color","#2B333B"],[1,"input-group","mb-3"],["type","text","id","page__host","name","page__host_name","readonly","",1,"freshlms__fs__14","freshlms__fw_500","px-2","white","freshlms__height__45",2,"color","#19191F","border-radius","4px","border","1.142px solid #D3D3D3","border-top-right-radius","0","border-bottom-right-radius","0",3,"ngClass","value"],[1,"input-group-append"],[1,"input-group-text","cursor__pointer","freshlms__bg__white","freshlms__height__45",2,"border-radius","0 !important","border","1.142px solid #D3D3D3","height","100%","display","flex","align-items","center",3,"click"],["class","fa-light fa-clone",4,"ngIf"],["class","fa-solid fa-circle-check",4,"ngIf"],["target","_blank",1,"input-group-text","cursor__pointer","freshlms__bg__white","freshlms__height__45",2,"border-top-left-radius","0 !important","border-bottom-left-radius","0 !important","border-radius","4px","border","1.142px solid #D3D3D3","height","100%","display","flex","align-items","center",3,"href"],[1,"fa-light","fa-arrow-up-right-from-square"],[1,"col-md-12","line-with-text","my-3"],[1,"freshlms__fs__14","freshlms__fw_500","freshlms__letter__0","freshlms__lineH__24",2,"color","#2B333B"],[1,"col-md-9","m-auto","pb-2"],[1,"icon-row",2,"display","flex","justify-content","space-around","font-size","24px","padding","10px 0",3,"ngClass"],[1,"icon-box",2,"display","flex","flex-direction","column","align-items","center","font-size","12px","gap","4px"],["target","_blank","data-action","share/whatsapp/share",3,"href"],[1,"fa-brands","fa-whatsapp",2,"font-size","24px","color","#25D366"],["target","_blank",1,"",3,"href"],[1,"fa-brands","fa-x-twitter",2,"font-size","24px","color","#000000"],[1,"fa-brands","fa-facebook-f",2,"font-size","24px","color","#1877F2"],[1,"fa-brands","fa-linkedin-in",2,"font-size","24px","color","#0A66C2"],[1,"fa-light","fa-clone"],[1,"fa-solid","fa-circle-check"],[1,"p-3","text-center"],[1,"fas","fa-spinner","fa-spin","fa-2x","text-primary","mb-2"],[1,"text-muted"]],template:function(e,n){if(e&1){let o=b();a(0,"div",3)(1,"div",4)(2,"div",5)(3,"h2",6),d(4),m(5,"transloco"),F(6,Mp,2,1,"span",7),s()(),a(7,"div",8)(8,"div",9),C(9,"i",10),a(10,"input",11),m(11,"transloco"),R("ngModelChange",function(p){return u(o),N(n.searchByAssessmentEmail,p)||(n.searchByAssessmentEmail=p),g(p)}),h("input",function(){return n.searchByEmail()}),s(),F(12,Bp,2,0,"button",12),s()()(),a(13,"div",13)(14,"button",14),h("click",function(){return n.changeTab(n.productType.Course)}
6),a(15,"span",15),d(16),m(17,"transloco"),s(),a(18,"span",16),d(19),s()(),a(20,"button",14),h("click",function(){return n.changeTab(n.productType.Masterclass)}),a(21,"span",15),d(22),m(23,"transloco"),s(),a(24,"span",16),d(25),s()()(),F(26,Ap,4,1,"div",17)(27,Wp,5,2,"div",17),s(),a(28,"button",18),d(29,` Open Modal
7`),s(),a(30,"div",19,0)(32,"div",20)(33,"div",21)(34,"div",22)(35,"h4",23),d(36),m(37,"transloco"),s(),v(38,Yp,6,7,"div",24),a(39,"button",25)(40,"span",26),d(41,"\xD7"),s()()(),a(42,"div",27)(43,"div",28),v(44,Qp,6,4,"div",29),F(45,Zp,1,0,"br"),F(46,Gp,1,9,"app-builder-certificate",30),F(47,o0,8,8),s()()()()(),a(48,"button",31),d(49,"Open Modal"),s(),a(50,"div",32,1)(52,"div",33)(53,"div",34)(54,"div",35)(55,"h4",23),d(56),m(57,"transloco"),s(),a(58,"button",25)(59,"span",26),d(60,"\xD7"),s()()(),a(61,"div",36),v(62,l0,39,24,"div",37)(63,c0,5,3,"div",38),s()()()()}e&2&&(r(4),x(" ",f(5,25,"achievements.yourEarnings")," "),r(2),L(n.certificateDataList!=null&&n.certificateDataList.length?6:-1),r(4),U("ngModel",n.searchByAssessmentEmail),_("placeholder",f(11,27,"achievements.searchByProductName")),r(2),L(n.searchByAssessmentEmail?12:-1),r(2),k("is-active",n.selectedType===n.productType.Course),r(2),y(f(17,29,"achievements.course")),r(3),y(n.courseCount),r(),k("is-active",n.selectedType===n.productType.Masterclass),r(2),y(f(23,31,"achievements.masterclass")),r(3),y(n.masterclassCount),r(),L(n.tablerowSkeleton?26:27),r(2),_("hidden",!0),r(8),x(" ",f(37,33,"achievements.certificate")," "),r(2),_("ngIf",!n.mobileMode),r(6),_("ngIf",n.mobileMode),r(),L(n.mobileMode?-1:45),r(),L(n.certificateData!=null&&n.certificateData!=null&&n.certificateData.id!=0&&n.builderCertificate?46:-1),r(),L(n.builderCertificate?-1:47),r(),_("hidden",!0),r(8),x(" ",f(57,35,"course_info.shareCertificate")," "),r(6),_("ngIf",!n.generatingCertificate),r(),_("ngIf",n.generatingCertificate))},dependencies:[J,we,Pe,oe,ye,re,ae,nt,Gt,ve,xe,sn,_n,dn,pn,mn,un,ln,cn,Cn,ie,Zt,he,ne],styles:[`@charset "UTF-8";[_nghost-%COMP%]{display:block}.ach-page[_ngcontent-%COMP%]{padding:0}.ach-toolbar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;padding:18px 32px;border-bottom:1px solid #eaeaea}@media(max-width:767px){.ach-toolbar[_ngcontent-%COMP%]{padding:14px 18px;gap:12px}}@media(max-width:575px){.ach-toolbar[_ngcontent-%COMP%]{padding:12px 14px;gap:10px}}.ach-toolbar__left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;min-width:0;flex:1 1 auto}@media(max-width:575px){.ach-toolbar__left[_ngcontent-%COMP%]{width:100%}}.ach-toolbar__right[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;flex-shrink:0}@media(max-width:575px){.ach-toolbar__right[_ngcontent-%COMP%]{width:100%}}.ach-title[_ngcontent-%COMP%]{margin:0;display:inline-flex;align-items:center;gap:10px;font-size:16px;font-weight:600;color:var(--mp-text);line-height:1.4;letter-spacing:-.01em}.ach-title__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;height:22px;min-width:26px;padding:0 9px;background:#f5f5f5;border-radius:999px;color:var(--mp-text-soft);font-size:12px;font-weight:600}.ach-search[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center;width:320px;max-width:100%;height:38px;background:#fafafa;border:.8px solid var(--mp-border-soft);border-radius:10px;transition:border-color var(--mp-anim-fast),background var(--mp-anim-fast),box-shadow var(--mp-anim-fast)}.ach-search[_ngcontent-%COMP%]:focus-within{background:#fff;border-color:color-mix(in srgb,var(--c-brand) 45%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 10%,transparent)}@media(max-width:575px){.ach-search[_ngcontent-%COMP%]{width:100%}}.ach-search__icon[_ngcontent-%COMP%]{position:absolute;left:12px;top:50%;transform:translateY(-50%);color:var(--c-icon);font-size:13px;pointer-events:none}.ach-search__input[_ngcontent-%COMP%]{width:100%;height:100%;padding:0 36px;border:none;background:transparent;font-size:13px;color:var(--mp-text);outline:none}.ach-search__input[_ngcontent-%COMP%]::placeholder{color:var(--mp-text-muted)}.ach-search__clear[_ngcontent-%COMP%]{position:absolute;right:8px;top:50%;transform:translateY(-50%);width:22px;height:22px;display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:6px;color:var(--mp-text-muted);cursor:pointer;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.ach-search__clear[_ngcontent-%COMP%]:hover{background:#0000000d;color:var(--mp-text)}.ach-table-wrap[_ngcontent-%COMP%]{padding:18px 24px}@media(max-width:991px){.ach-table-wrap[_ngcontent-%COMP%]{padding:16px 18px}}@media(max-width:575px){.ach-table-wrap[_ngcontent-%COMP%]{padding:14px}}.ach-card[_ngcontent-%COMP%]{background:#fff;border:.8px solid var(--mp-border);border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0f172a0a,0 0 0 1px #0f172a05}.ach-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 180px 140px;align-items:center;gap:16px;padding:14px 20px;border-bottom:1px solid #f1f1f1}@media(max-width:991px){.ach-row[_ngcontent-%COMP%]{grid-template-columns:minmax(0,1fr) 160px 130px;padding:14px 16px;gap:12px}}@media(max-width:767px){.ach-row[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:10px;padding:14px}}.ach-row--head[_ngcontent-%COMP%]{background:#fafafa;padding-top:12px;padding-bottom:12px;font-size:12px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--mp-text-muted);border-bottom:1px solid #eaeaea}.ach-row--item[_ngcontent-%COMP%]{background:#fff;transition:background var(--mp-anim-fast)}.ach-row--item[_ngcontent-%COMP%]:hover{background:color-mix(in srgb,var(--c-brand) 3%,transparent)}#questionListTable[_ngcontent-%COMP%]   .ach-row--item[_ngcontent-%COMP%]:last-child{border-bottom:none}@media(min-width:768px){.d-md-grid[_ngcontent-%COMP%]{display:grid!important}}.ach-col[_ngcontent-%COMP%]{min-width:0}
7.ach-col--name[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;min-width:0}.ach-col--date[_ngcontent-%COMP%]{color:var(--mp-text-soft);font-size:13px}@media(max-width:767px){.ach-col--date[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}}.ach-col--actions[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}@media(max-width:767px){.ach-col--actions[_ngcontent-%COMP%]{width:100%;justify-content:flex-start;padding-top:4px}}.ach-cert-icon[_ngcontent-%COMP%]{flex-shrink:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;background:var(--c-brand-soft);border:.8px solid var(--c-brand-line);border-radius:10px;color:var(--c-icon);font-size:14px}@media(max-width:575px){.ach-cert-icon[_ngcontent-%COMP%]{width:32px;height:32px;border-radius:9px;font-size:13px}}.ach-name[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:var(--mp-text);white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0}.ach-date[_ngcontent-%COMP%]{font-size:13px;font-weight:500;color:var(--mp-text-soft);font-variant-numeric:tabular-nums;letter-spacing:.01em}.ach-label[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.04em;color:var(--mp-text-muted)}.ach-action-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;height:32px;padding:0 14px;background:#fff;border:.8px solid var(--mp-border);border-radius:8px;color:var(--mp-text-soft);font-size:13px;font-weight:500;cursor:pointer;transition:background var(--mp-anim-fast),border-color var(--mp-anim-fast),color var(--mp-anim-fast),transform var(--mp-anim-fast)}.ach-action-btn[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{font-size:12px}.ach-action-btn[_ngcontent-%COMP%]:hover{background:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink)}.ach-action-btn[_ngcontent-%COMP%]:active{transform:translateY(1px)}.ach-empty[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;text-align:center;padding:56px 24px 64px}.ach-empty[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:220px;height:auto;opacity:.95}.ach-empty__text[_ngcontent-%COMP%]{margin:18px 0 0;font-size:14px;color:var(--mp-text-muted);max-width:360px}.ach-skeleton-row[_ngcontent-%COMP%]{display:grid;grid-template-columns:minmax(0,1fr) 180px 140px;gap:16px;align-items:center;padding:16px 20px;border-bottom:1px solid #f1f1f1}.ach-skeleton-row[_ngcontent-%COMP%]:last-child{border-bottom:none}@media(max-width:991px){.ach-skeleton-row[_ngcontent-%COMP%]{padding:14px 16px}}@media(max-width:767px){.ach-skeleton-row[_ngcontent-%COMP%]{grid-template-columns:1fr;gap:8px;padding:14px}}.skeleton-loader[_ngcontent-%COMP%]{height:14px;background:linear-gradient(90deg,#f0f0f0 25%,#e6e6e6,#f0f0f0 75%);background-size:200% 100%;animation:_ngcontent-%COMP%_ach-loading 1.4s infinite;border-radius:6px}@keyframes _ngcontent-%COMP%_ach-loading{0%{background-position:200% 0}to{background-position:-200% 0}}.ach-footer[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;padding:14px 20px;background:#fafafa;border-top:1px solid #eaeaea}@media(max-width:991px){.ach-footer[_ngcontent-%COMP%]{padding:12px 16px}}@media(max-width:767px){.ach-footer[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch;gap:14px;padding:12px 14px}}.ach-footer__pagination[_ngcontent-%COMP%]{flex:1 1 auto;min-width:0}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination{margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li{margin:0;border-radius:8px;overflow:hidden}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li a, .ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li span{padding:6px 11px;font-size:13px;color:var(--mp-text-soft);border-radius:8px;transition:background var(--mp-anim-fast),color var(--mp-anim-fast)}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li a:hover{background:var(--c-brand-soft);color:var(--c-link)}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li.current{background:var(--c-brand);color:var(--c-brand-ink)}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li.current span, .ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li.current a{background:var(--c-brand);color:var(--c-brand-ink)}.ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li.disabled a, .ach-footer__pagination[_ngcontent-%COMP%]     .ngx-pagination li.disabled span{color:#c7c7c7;cursor:not-allowed}.ach-footer__meta[_ngcontent-%COMP%]{display:flex;align-items:center;gap:18px;flex-shrink:0}@media(max-width:767px){.ach-footer__meta[_ngcontent-%COMP%]{width:100%;justify-content:space-between;gap:12px}}.ach-pagesize[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.ach-pagesize__label[_ngcontent-%COMP%]{margin:0;font-size:12px;color:var(--mp-text-muted);white-space:nowrap}.ach-pagesize__select[_ngcontent-%COMP%]{height:30px;padding:0 26px 0 10px;background-color:#fff;background-image:url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23637381' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M4 6l4 4 4-4'/%3e%3c/svg%3e");background-repeat:no-repeat;background-position:right 8px center;background-size:14px;border:.8px solid var(--mp-border);border-radius:8px;font-size:12px;color:var(--mp-text);cursor:pointer;appearance:none;-webkit-appearance:none;transition:border-color var(--mp-anim-fast),box-shadow var(--mp-anim-fast)}.ach-pagesize__select[_ngcontent-%COMP%]:focus{outline:none;border-color:color-mix(in srgb,var(--c-brand) 50%,transparent);box-shadow:0 0 0 3px color-mix(in srgb,var(--c-brand) 10%,transparent)}.ach-showing[_ngcontent-%COMP%]{font-size:12px;color:var(--mp-text-muted);font-variant-numeric:tabular-nums;white-space:nowrap}.ach-tabs[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:8px;align-items:center;padding:18px 32px 0}@media(max-width:767px){.ach-tabs[_ngcontent-%COMP%]{padding:14px 18px 0}}.ach-tab[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:8px;height:34px;padding:0 16px;background:#fff;border:.8px solid #cbd5e1;border-radius:999px;color:var(--c-muted);font-family:inherit;font-size:12.5px;font-weight:500;cursor:pointer;transition:background var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1)),color var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1)),border-color var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1)),transform var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1));outline:none;-webkit-user-select:none;user-select:none;white-space:nowrap}.ach-tab__label[_ngcontent-%COMP%]{line-height:1}.ach-tab__count[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;min-width:20px;height:16px;padding:0 6px;background:#0000000a;border-radius:999px;font-size:11px;font-weight:500;color:inherit;line-height:1;transition:background var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1)),color var(--mp-anim-fast, .16s cubic-bezier(.22, 1, .36, 1))}.ach-tab[_ngcontent-%COMP%]:hover{border-color:var(--c-brand-line);color:var(--c-link);background:var(--c-brand-soft)}.ach-tab[_ngcontent-%COMP%]:active{transform:scale(.97)}.ach-tab.is-active[_ngcontent-%COMP%]{background:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink);box-shadow:0 4px 10px -2px color-mix(in srgb,var(--c-brand) 35%,transparent)}.ach-tab.is-active[_ngcontent-%COMP%]   .ach-tab__count[_ngcontent-%COMP%]{background:#ffffff40;color:var(--c-brand-ink)}.ach-tab[_ngcontent-%COMP%]:focus-visible{outline:2px solid var(--c-brand);outline-offset:2px}
7#shareCertificatePage[_ngcontent-%COMP%]   .modal-dialog[_ngcontent-%COMP%]{max-width:1020px!important}#shareCertificatePage[_ngcontent-%COMP%]   .btn.btn-primary[_ngcontent-%COMP%]{background-color:var(--c-brand);border-color:var(--c-brand);color:var(--c-brand-ink)}#shareCertificatePage[_ngcontent-%COMP%]   .btn.btn-primary[_ngcontent-%COMP%]:hover, #shareCertificatePage[_ngcontent-%COMP%]   .btn.btn-primary[_ngcontent-%COMP%]:focus, #shareCertificatePage[_ngcontent-%COMP%]   .btn.btn-primary[_ngcontent-%COMP%]:active{background-color:color-mix(in srgb,var(--c-brand) 88%,#000);border-color:color-mix(in srgb,var(--c-brand) 88%,#000);color:var(--c-brand-ink)}`]})};var s0=[{path:"",component:Be,children:[{path:"",redirectTo:"enrolled-products",pathMatch:"full"},{path:"enrolled-products",component:me},{path:"other-products",component:ue},{path:"achievements",component:De}]},{path:"loading-component",component:Ft}],st=class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=$e({type:i});static \u0275inj=Re({imports:[mt.forChild(s0),mt]})};var Ln=class i{static \u0275fac=function(e){return new(e||i)};static \u0275mod=$e({type:i});static \u0275inj=Re({providers:[ue,me,Xt,en],imports:[kt,st,Ht,Vt,J,tn.forRoot(),yn,wn,nt,Be,ue,me,De]})};export{Ln as ProductsModule};

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.