1"use strict";(self.webpackChunkalison=self.webpackChunkalison||[]).push([[2993,7816],{2993(F,O,c){c.d(O,{w:()=>r});var l=c(890),x=c(3664);let r=(()=>{var m;class h{constructor(g){this._environment=g}transform(g){return g?g.includes(",")?g.split(",").map(u=>{const[f,_]=u.trim().split(/\s+/),v=f.startsWith("/")?`${this._environment.cdnBaseUrl}${f}`:f;return _?`${v} ${_}`:v}).join(", "):g.startsWith("/")?`${this._environment.cdnBaseUrl}${g}`:g:""}static#t=m=()=>(this.\u0275fac=function(P){return new(P||h)(x.rXU(l.fq,16))},this.\u0275pipe=x.EJ8({name:"cdn",type:h,pure:!0}))}return m(),h})()},4085(F,O,c){function l(r){return null!=r&&"false"!=`${r}`}function x(r,m=/\s+/){const h=[];if(null!=r){const M=Array.isArray(r)?r:`${r}`.split(m);for(const g of M){const P=`${g}`.trim();P&&h.push(P)}}return h}c.d(O,{cc:()=>x,he:()=>l})},4773(F,O,c){c.d(O,{c:()=>P});var l=c(2200),x=c(4587),r=c(3664);const m=["*"];function h(u,f){if(1&u&&(r.j41(0,"div",6),r.nrm(1,"google-adsense",7),r.k0s()),2&u){const _=r.XpG();r.R7$(),r.Y8G("adSlot",_.topAdSlot)("fromExistingCSS","underHeader")("adFormat","horizontal")}}function M(u,f){if(1&u&&(r.j41(0,"div",8),r.nrm(1,"google-adsense",7),r.k0s()),2&u){const _=r.XpG();r.R7$(),r.Y8G("adSlot",_.bottomAdSlot)("fromExistingCSS","underContent")("adFormat","horizontal")}}function g(u,f){if(1&u&&(r.j41(0,"div",9),r.nrm(1,"google-adsense",10),r.k0s()),2&u){const _=r.XpG();r.R7$(),r.Y8G("adSlot",_.rightAdSlot)("fromExistingCSS","rightFixed")("panelClass","hidden xl:flex")}}let P=(()=>{var u;class f{constructor(){this.topAd=!0,this.bottomAd=!1,this.rightAd=!0,this.topAdSlot=5771925601,this.bottomAdSlot=5771925601,this.rightAdSlot=5771925601}static#t=u=()=>(this.\u0275fac=function(w){return new(w||f)},this.\u0275cmp=r.VBU({type:f,selectors:[["app-landing-page-template"]],inputs:{topAd:"topAd",bottomAd:"bottomAd",rightAd:"rightAd",topAdSlot:"topAdSlot",bottomAdSlot:"bottomAdSlot",rightAdSlot:"rightAdSlot"},ngContentSelectors:m,decls:7,vars:3,consts:[[1,"landing-page-outer-container","flex","w-full"],[1,"landing-page-inner-container","w-full"],["class","ads-container-top",4,"ngIf"],[1,"landing-page-container"],["class","ads-container-bottom",4,"ngIf"],["class","ads-container-right hidden xl:flex",4,"ngIf"],[1,"ads-container-top"],[3,"adSlot","fromExistingCSS","adFormat"],[1,"ads-container-bottom"],[1,"ads-container-right","hidden","xl:flex"],[3,"adSlot","fromExistingCSS","panelClass"]],template:function(w,y){1&w&&(r.NAR(),r.j41(0,"div",0)(1,"div",1),r.DNE(2,h,2,3,"div",2),r.j41(3,"div",3),r.SdG(4),r.k0s(),r.DNE(5,M,2,3,"div",4),r.k0s(),r.DNE(6,g,2,3,"div",5),r.k0s()),2&w&&(r.R7$(2),r.Y8G("ngIf",y.topAd),r.R7$(3),r.Y8G("ngIf",y.bottomAd),r.R7$(),r.Y8G("ngIf",y.rightAd))},dependencies:[l.bT,x.V],styles:[".ads-container-top[_ngcontent-%COMP%], .ads-container-right[_ngcontent-%COMP%], .ads-container-bottom[_ngcontent-%COMP%]{background-color:#f7f7f7}.landing-page-container[_ngcontent-%COMP%]{background-color:var(--text-contrast)}.ads-container-top[_ngcontent-%COMP%], .ads-container-bottom[_ngcontent-%COMP%]{max-height:124px;height:124px;display:flex;overflow:hidden;justify-content:center}.ads-container-right[_ngcontent-%COMP%]{min-width:170px}"],changeDetection:0}))}return u(),f})()},5728(F,O,c){c.d(O,{GraduationCeremonyModule:()=>bt});var l=c(2200),x=c(8132),r=c(2591),m=c(2993),h=c(890),M=function(o){return o[o.Error=0]="Error",o[o.Success=1]="Success",o[o.Info=2]="Info",o}(M||{}),g=c(9417),P=c(5416),u=c(8847),f=c(9183),_=c(7586),v=c(980),w=c(983),y=c(9437),t=c(3664),T=c(4412),d=c(2615);let j=(()=>{var o;class i{constructor(){this._notification$=new T.t({show:!1}),this.notification$=this._notification$.asObservable()}notify(n,e){this._notification$.next({show:!0,type:e,message:n}),setTimeout(()=>this._notification$.next({show:!1,type:e,message:n}),3e3)}error(n){return this.notify(n,M.Error)}info(n){return this.notify(n,M.Info)}success(n){return this.notify(n,M.Success)}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275prov=d.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}))}return o(),i})();function I(o,i){if(1&o&&(t.j41(0,"div",6),t.nrm(1,"span",7),t.j41(2,"h6"),t.EFF(3,"Error"),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&o){const s=t.XpG().ngIf;t.R7$(5),t.JRh(s.message)}}function R(o,i){if(1&o&&(t.j41(0,"div",8),t.nrm(1,"span",7),t.j41(2,"h6"),t.EFF(3,"Success"),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&o){const s=t.XpG().ngIf;t.R7$(5),t.JRh(s.message)}}function B(o,i){if(1&o&&(t.j41(0,"div",9),t.nrm(1,"span",7),t.j41(2,"h6"),t.EFF(3,"Warning"),t.k0s(),t.j41(4,"p"),t.EFF(5),t.k0s()()),2&o){const s=t.XpG().ngIf;t.R7$(5),t.JRh(s.message)}}function U(o,i){if(1&o&&(t.j41(0,"div",1)(1,"div",2),t.DNE(2,I,6,1,"div",3)(3,R,6,1,"div",4)(4,B,6,1,"div",5),t.k0s()()),2&o){const s=i.ngIf,n=t.XpG();t.xc7("display",s.show?"block":"none"),t.R7$(2),t.Y8G("ngIf",s.type===n.NotificationType.Error),t.R7$(),t.Y8G("ngIf",s.type===n.NotificationType.Success),t.R7$(),t.Y8G("ngIf",s.type===n.NotificationType.Info)}}let D=(()=>{var o;class i{constructor(n){this.notificationService=n,this.NotificationType=M,this.notification$=this.notificationService.n
1otification$}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(j))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-notification"]],decls:2,vars:3,consts:[["class","messages-q","style","\n position: fixed;\n right: 10px;\n bottom: 0;\n max-width: 420px;\n width: 100%;\n height: 100%;\n pointer-events: none;\n ",3,"display",4,"ngIf"],[1,"messages-q",2,"position","fixed","right","10px","bottom","0","max-width","420px","width","100%","height","100%","pointer-events","none"],[1,"message-outer","active"],["class","message error",4,"ngIf"],["class","message success",4,"ngIf"],["class","message warning",4,"ngIf"],[1,"message","error"],[1,"icon-cross2"],[1,"message","success"],[1,"message","warning"]],template:function(e,a){1&e&&(t.DNE(0,U,5,5,"div",0),t.nI1(1,"async")),2&e&&t.Y8G("ngIf",t.bMT(1,1,a.notification$))},dependencies:[l.bT,l.Jj],styles:['@charset "UTF-8";.notification[_ngcontent-%COMP%] .messages-q[_ngcontent-%COMP%]{bottom:108px}.messages-q[_ngcontent-%COMP%]{position:fixed;right:10px;bottom:0;max-width:420px;width:100%;height:100%;pointer-events:none;z-index:10000001;transition:all .4s cubic-bezier(.645,.045,.355,1)}.messages-q[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] .icon-cross2[_ngcontent-%COMP%]{position:absolute;right:5px;top:5px;color:#465159;font-size:14px;cursor:pointer}@media only screen and (min-width: 760px){.messages-q[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{margin:15px 0;background:#fff}}@media all and (max-width: 500px){.messages-q[_ngcontent-%COMP%]{right:0}}.messages-q[_ngcontent-%COMP%] .message-outer[_ngcontent-%COMP%] .icon-cross2[_ngcontent-%COMP%]{position:absolute;right:10px;top:10px;z-index:1;opacity:.3;font-size:14px}.message-outer[_ngcontent-%COMP%]{position:absolute;min-height:70px;max-width:420px;width:100%;bottom:10px;right:0;overflow:hidden;pointer-events:none;transition:all .3s cubic-bezier(.645,.045,.355,1)}.message-outer.floating[_ngcontent-%COMP%]{top:50%;left:50%;position:fixed;transform:translate(-50%,-50%);max-height:400px}.message-outer.floating[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{transform:translateY(300%)}.message-outer.floating[_ngcontent-%COMP%] .decision-ok-outer[_ngcontent-%COMP%], .message-outer.floating[_ngcontent-%COMP%] .decision-cancel-outer[_ngcontent-%COMP%]{float:right;margin:10px 0 0 10px;font-size:13px}.message-outer.floating[_ngcontent-%COMP%] .decision-ok-outer[_ngcontent-%COMP%] .decision-cancel[_ngcontent-%COMP%], .message-outer.floating[_ngcontent-%COMP%] .decision-cancel-outer[_ngcontent-%COMP%] .decision-cancel[_ngcontent-%COMP%]{background:transparent;color:#0094c9}.message-outer.floating[_ngcontent-%COMP%] .decision-ok-outer[_ngcontent-%COMP%] .decision-cancel[_ngcontent-%COMP%]:hover, .message-outer.floating[_ngcontent-%COMP%] .decision-cancel-outer[_ngcontent-%COMP%] .decision-cancel[_ngcontent-%COMP%]:hover{background:#0094c9;color:#fff}.message-outer.floating[_ngcontent-%COMP%] .decision-ok-outer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .message-outer.floating[_ngcontent-%COMP%] .decision-cancel-outer[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{border:1px solid #0094c9}.message-outer.active[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{transform:translate(0)}.message-outer.active[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{width:40px;height:40px;left:20px;top:38px;line-height:22px}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{pointer-events:all;margin:15px auto;min-height:70px;padding:15px 30px 15px 90px;width:400px;max-width:calc(100% - 20px);background:#fff;transition:all .3s cubic-bezier(.645,.045,.355,1);transform:translateY(120%);box-shadow:0 2px 5px #32323299}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]:after{content:"";clear:both;display:table}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h4[_ng
1content-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#2e3942}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#777;margin:0}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h1[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h2[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h3[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h4[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h5[_ngcontent-%COMP%], .message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:toem(17px);margin:-6px 0 5px;text-transform:capitalize}.message-outer[_ngcontent-%COMP%] .message.generic[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{width:50px;height:50px;font-size:23px;padding-top:12px}.message-outer[_ngcontent-%COMP%] .message[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{color:#fff;content:"\\e93a";font-family:icomoon!important;margin-top:-24px;position:absolute;top:52px;background:#38ac69;width:0;height:0;border-radius:100%;text-align:center;overflow:hidden;display:block;padding-top:9px;box-sizing:border-box;font-size:23px;left:40px;transition:all .3s cubic-bezier(.645,.045,.355,1);transition-delay:.3s}.message-outer[_ngcontent-%COMP%] .message.success[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.\\e9xito[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.abschluss[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.succ\\e8s[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.sucesso[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.successo[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"\\e93f";background-color:#38ac69}.message-outer[_ngcontent-%COMP%] .message.error[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.erreur[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.errore[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.erro[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before, .message-outer[_ngcontent-%COMP%] .message.fehler[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"\\ea0f";background-color:#be3047}.message-outer[_ngcontent-%COMP%] .message.warning[_ngcontent-%COMP%] p[_ngcontent-%COMP%]:before{content:"\\e99d";background-color:#f29b2f;padding-top:5px}']}))}return o(),i})(),S=(()=>{var o;class i{constructor(n){this.snackBarRef=n}close(){this.snackBarRef.dismiss()}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(P.TQ))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-toast"]],decls:17,vars:3,consts:[[1,"grad-notification"],[1,"congrats-icon",3,"src"],[1,"grad-notification-content"],[1,"notification-text"],[1,"notify-bold"],[1,"notification-close",3,"click"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 20 20","fill","none"],["clip-path","url(#clip0_748_11961)"],["d","M15.2496 4.75843C14.9246 4.43343 14.3996 4.43343 14.0746 4.75843L9.99961 8.8251L5.92461 4.7501C5.59961 4.4251 5.07461 4.4251 4.74961 4.7501C4.42461 5.0751 4.42461 5.6001 4.74961 5.9251L8.82461 10.0001L4.74961 14.0751C4.42461 14.4001 4.42461 14.9251 4.74961 15.2501C5.07461 15.5751 5.59961 15.5751 5.92461 15.2501L9.99961 11.1751L14.0746 15.2501C14.3996 15.5751 14.9246 15.5751 15.2496 15.2501C15.5746 14.9251 15.5746 14.4001 15.2496 14.0751L11.1746 10.0001L15.2496 5.9251C15.5663 5.60843 15.5663 5.0751 15.2496 4.75843Z","fill","#9FADB7"],["id","clip0_748_11961"],["width","20","height","20","fill","white"]],template:function(e,a){1&e&&(t.rj2(0,"div",0)(1,"div"),t.Hgh(2,"img",1),t.nI1(3,"cdn"),t.eux(),t.rj2(4,"div",2)(5,"div",3)(6,"p",4),t.EFF(7,"You have successfully RSVPd!"),t.eux(),t.rj2(8,"p"),t.EFF(9,"See you at the Ceremony."),t.eux()(),t.rj2(10,"div",5),t.VwU("click",function(){return a.close()}),d.qSk(),t.rj2(11,"svg",6)(12,"g",7),t.Hgh(13,"path",8),t.eux(),t.rj2(14,"defs")(15,"clipPath",9),t.Hgh(16,"rect",10),t.eux()()()()()()),2&e&&(t.R7$(2),t.Avn("src",t.bMT(3,1,"/ssr/assets/images/graduation-ceremony/gradcap.svg"),t.B4B))},dependencies:[m.w],styles:[".grad-notification[_ngcontent-%COMP%]{display:flex;width:328px;height:80px;padding:12px;justify-content:center;align-items:center;gap:16px;border-radius:12px;border:2px solid #fff;background:linear-gradient(96deg,#efcdfc 3.46%,#fff 77.22%);box-shadow:0 4px 60px #00000061}@media (min-width: 1024px){.grad-notification[_ngcontent-%COMP%]{width:398px}}.grad-notification-content[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:flex-start;flex:1 0 0}.notification-text[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);font-family:Roboto;font-size:14px;font-style:normal;font-weight:400;line-height:150%}.notify-bold[_ngcontent-%COMP%]{font-size:16px!important;font-weight:900!important}@media (max-width: 1023px){.notify-bold[_ngcontent-%COMP%]{font-size:14px!important}}.notification-close[_ngcontent-%COMP%]{cursor:pointer} .white-snackbar.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: transparent !important;box-shadow:none!important} .white-snackbar .mdc-snackbar__surface{box-shadow:none!important;background:transparent!important} .white-snackbar .cdk-overlay-pane{box-shadow:none!important;background:transparent!important}"]}))}return o(),i})();var $=c(2771),N=c(8141),Y=c(6354),k=c(5312),G=c(9330);let E=(()=>{var o;class i{constructor(n){this._http=n,this.userStream=new $.m(1),this.userInfo=this.userStream.asObservable(),this.completeCoursesuUrl=`${k.c.dataApiUrl}/user/courses-completed?locale=en`}getCompletedCourses(){return this._http.get(this.completeCoursesuUrl).pipe((0,N.M)(n=>
1{console.log("Completed courses response:",n)}))}getWebinarsList(n=!1){return console.log("got getWebinarsList call in graduation service"),this._http.get(`${k.c.apiUrl}/webinars/active${n?"?graduation_ceremony=1":""}`).pipe((0,Y.T)(({data:a})=>a))}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(d.KVO(G.Qq))},this.\u0275prov=d.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}))}return o(),i})(),L=(()=>{var o;class i{constructor(n){this.http=n}checkIfUserRegisteredToWebinar(){return console.log("checkIfUserRegisteredToWebinar called"),this.http.get(`${k.c.apiUrl}/webinars/is-registered`)}getRegisteredDate(){return console.log("getRegisteredDate called"),this.http.get(`${k.c.apiUrl}/webinars/get-registered-date`)}registerUserForGraduation(n){return console.log("registerUserForGraduation called with data",n),this.http.post(`${k.c.apiUrl}/webinars/${n.webinar_id}/register`,n)}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(d.KVO(G.Qq))},this.\u0275prov=d.jDH({token:i,factory:i.\u0275fac,providedIn:"root"}))}return o(),i})();var z=c(9588);function W(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," First Name is required "),t.k0s())}function V(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," Please write only alphabetical characters "),t.k0s())}function X(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," Last Name is required "),t.k0s())}function H(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," Please write only alphabetical characters "),t.k0s())}function J(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," E-mail is required "),t.k0s())}function K(o,i){1&o&&(t.j41(0,"mat-error"),t.EFF(1," E-mail has incorrect format "),t.k0s())}function Q(o,i){1&o&&t.nrm(0,"mat-spinner",24),2&o&&t.Y8G("diameter",20)}function q(o,i){if(1&o){const s=t.RV6();t.qex(0),t.j41(1,"button",27),t.bIt("click",function(){const e=d.eBV(s).$implicit,a=t.XpG(2);return d.Njj(a.onWebinarDateSelect(e))}),t.EFF(2),t.nI1(3,"date"),t.k0s(),t.bVm()}if(2&o){const s=i.$implicit,n=t.XpG(2);t.R7$(),t.AVh("selected",(null==n.selectedWebinar?null:n.selectedWebinar.id)===s.id),t.R7$(),t.SpI(" ",t.i5U(3,3,s.webinar_times[0].presented_at,"dd MMM, h a z")," ")}}function Z(o,i){if(1&o&&(t.j41(0,"div",25),t.DNE(1,q,4,6,"ng-container",26),t.k0s()),2&o){const s=t.XpG();t.R7$(),t.Y8G("ngForOf",s.webinarsList)}}function tt(o,i){if(1&o){const s=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){d.eBV(s);const e=t.XpG();return d.Njj(e.registerUserForGraduation())}),t.EFF(1," RSVP Now "),t.k0s()}if(2&o){const s=t.XpG();t.Y8G("disabled",!s.graduationUserForm.valid)}}function nt(o,i){if(1&o){const s=t.RV6();t.j41(0,"button",28),t.bIt("click",function(){d.eBV(s);const e=t.XpG();return d.Njj(e.registerUserForGraduation())}),t.EFF(1," Update RSVP "),t.k0s()}if(2&o){const s=t.XpG();t.Y8G("disabled",!s.graduationUserForm.valid)}}let A=(()=>{var o;class i{constructor(n,e,a,p,C,b,vt){this.data=n,this.dialogRef=e,this._graduationService=a,this.notificationService=p,this._rsvpService=C,this.snackBar=b,this._baseAPI=vt,this.ALPHA_WITH_ACCENTS_PATTERN=/^[\p{L}\s\-\.,']+$/u,this.graduationUserForm=new g.gE({first_name:new g.MJ({value:"",disabled:!0},{validators:[g.k0.required,g.k0.pattern(this.ALPHA_WITH_ACCENTS_PATTERN)]}),last_name:new g.MJ({value:"",disabled:!0},{validators:[g.k0.required,g.k0.pattern(this.ALPHA_WITH_ACCENTS_PATTERN)]}),email:new g.MJ({value:"",disabled:!0},{validators:[g.k0.required,g.k0.pattern(h.GX)]}),webinar_id:new g.MJ(null,{validators:[g.k0.required]}),schedule_id:new g.MJ(null,{validators:[g.k0.required]}),timezone:new g.MJ("",{validators:[g.k0.required]})}),this.webinarsList=[],this.isWebinarsListLoading=!1,this.savedWebinarDate=null,this.subscriptions=[],this.savedWebinarDate=n?.rsvpEventDate??null}ngOnInit(){this.getWebinarsList(),this.getUserInfo(),this.handleBackDropClick()}getWebinarsList(){console.log("entered getWebinarList"),this.isWebinarsListLoading=!0,this.subscriptions.push(this._graduationService.getWebinarsList(!0).pipe((0,v.j)(()=>this.isWebinarsListLoading=!1)).subscribe(n=>{console.log("webinarList1",n);const e=this.getSecondMonday(),a=_([]),p=_([]).endOf("month");console.log("now: ",a.format("YYYY-MM-DD"),"2nd Monday: ",e.format("YYYY-MM-DD"),"endOfMonth: ",p.format("YYYY-MM-DD")),console.log("webinarList2",n),this.webinarsList=n.filter(b=>b.name.includes("Graduation"));let C=this.webinarsList.filter(b=>_(b.webinar_times[0].presented_at).isBefore(p));console.log(""),this.webinarsList=a.isBefore(e)&&C.length>0?C:this.webinarsList.filter(b=>
1_(b.webinar_times[0].presented_at).isAfter(p)),this.webinarsList.length=1,this.selectedWebinar=this.webinarsList.find(b=>_(b.webinar_times[0].presented_at).isSame(this.savedWebinarDate))}))}getUserInfo(){console.log("entered getUserInfo"),this.subscriptions.push(this._baseAPI.users.getUsers().subscribe(n=>{console.log("userInfo",n),this.authUser=n.data[0];let e=(new Date).toString().match(/([A-Z]+[\+-][0-9]+)/)?.[0];this.graduationUserForm.patchValue({first_name:this.authUser?.firstname,last_name:this.authUser?.lastname,email:this.authUser?.email,timezone:e})}))}onWebinarDateSelect(n){console.log("selected webinar",n),this.selectedWebinar=n,this.graduationUserForm.patchValue({webinar_id:n.id,schedule_id:n.webinar_times[0].schedule_id})}registerUserForGraduation(){console.log("registering user for graduation with data",this.graduationUserForm.getRawValue()),this.subscriptions.push(this._rsvpService.registerUserForGraduation(this.graduationUserForm.getRawValue()).pipe((0,y.W)(({error:n})=>(this.notificationService.notify(n.message,M.Error),w.w))).subscribe(()=>{console.log("User successfully registered for graduation"),this.dialogRef.close(!0),this.snackBar.openFromComponent(S,{horizontalPosition:"center",verticalPosition:"bottom",panelClass:["white-snackbar"]})}))}handleBackDropClick(){console.log("handleBackDropClick called"),this.subscriptions.push(this.dialogRef.backdropClick().subscribe(()=>{this.onClosePopup()}))}onClosePopup(){console.log("onClosePopup called"),this.dialogRef.close(!!this.savedWebinarDate)}get firstNameCtrl(){return this.graduationUserForm.get("first_name")}get lastNameCtrl(){return this.graduationUserForm.get("last_name")}get emailCtrl(){return this.graduationUserForm.get("email")}getSecondMonday(){const n=_([]).startOf("month");let e=n.day();return n.add(7+(e<=1?7-(1-e):1-e+7),"days")}ngOnDestroy(){this.subscriptions.forEach(n=>n.unsubscribe())}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(r.Vh),t.rXU(r.CP),t.rXU(E),t.rXU(j),t.rXU(L),t.rXU(P.UG),t.rXU(h.dB))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-graduate-modal"]],decls:70,vars:32,consts:[["form","ngForm"],["graduationDatesList",""],[1,"rsvp-popup-wrap"],[1,"popup-top"],["alt","close-icon",1,"close-alert-btn",3,"click","src"],[1,"popup-main"],[1,"congrats-wrap"],[1,"congrats-icon",3,"src"],[3,"formGroup"],[1,"form-group"],[1,"form-controls-row"],[1,"form-control"],["formControlName","first_name"],[4,"ngIf"],["formControlName","last_name"],[1,"notification-block"],["alt","notification-icon",3,"src"],[1,"form-control","email-control"],["formControlName","email"],[3,"diameter",4,"ngIf","ngIfElse"],["id","rsvp-now-action"],[1,"rsvp-mail-description"],[1,"mail-icon",3,"src"],[3,"disabled","click",4,"ngIf"],[3,"diameter"],[1,"graduation-dates"],[4,"ngFor","ngForOf"],[3,"click"],[3,"click","disabled"]],template:function(e,a){if(1&e){const p=t.RV6();t.j41(0,"div",2)(1,"div",3)(2,"h3"),t.EFF(3,"Celebrate With Graduates From Across The World."),t.k0s(),t.j41(4,"img",4),t.nI1(5,"cdn"),t.bIt("click",function(){return d.eBV(p),d.Njj(a.onClosePopup())}),t.k0s()(),t.j41(6,"div",5)(7,"div",6),t.nrm(8,"img",7),t.nI1(9,"cdn"),t.j41(10,"div"),t.nrm(11,"img",7),t.nI1(12,"cdn"),t.j41(13,"p"),t.EFF(14," Congrats, you're an Alison Graduate! To celebrate and interact with other Graduates from across the world, secure your spot at your online Graduation Ceremony by selecting a date. Hurry! Limited seats only. "),t.k0s()()(),t.j41(15,"form",8,0)(17,"div",9)(18,"div",10)(19,"div",11)(20,"label"),t.EFF(21,"First Name"),t.k0s(),t.nrm(22,"input",12),t.DNE(23,W,2,0,"mat-error",13)(24,V,2,0,"mat-error",13),t.k0s(),t.j41(25,"div",11)(26,"label"),t.EFF(27,"Last Name"),t.k0s(),t.nrm(28,"input",14),t.DNE(29,X,2,0,"mat-error",13)(30,H,2,0,"mat-error",13),t.k0s()(),t.j41(31,"div",15),t.nrm(32,"img",16),t.nI1(33,"cdn"),t.j41(34,"span"),t.EFF(35,"NOTE: You can update your name once every three months from your profile."),t.k0s()()(),t.j41(36,"div",9)(37,"div",17)(38,"label"),t.EFF(39,"E-mail"),t.k0s(),t.nrm(40,"input",18),t.DNE(41,J,2,0,"mat-error",13)(42,K,2,0,"mat-error",13),t.j41(43,"div",15),t.nrm(44,"img",16),t.nI1(45,"cdn"),t.j41(46,"span"),t.EFF(47,"NOTE: You can update your e-mail from your profile."),t.k0s()()()(),t.j41(48,"div",9)(49,"div",11)(50,"label"),t.EFF(51," Select Graduation Date* "),t.j41(52,"span"),t.EFF(53,"(You can only select one slot)"),t.k0s()(),t.DNE(54,Q,1,1,"mat-spinner",19)(55,Z,2,1,"ng-template",null,1,t.C5r),t.k0s()()()(),t.j41(57,"div",20)(58,"div",21),t.nrm(59,"img",22),t.nI1(60,"cdn"),t.j41(61,"div"),t.nrm(62,"img",22),t.nI1(63,"cdn"),t.j41(64,"p"),t.EFF(65," We will send you an email with your graduation attendance confirmation "),t.k0s()()(),t.j41(66,"div"),t.DNE(67,tt,2,1,"button",23)(68,nt,2,1,"button",23),t.k0s()()(),t.nrm(69,"app-notification")}if(2&e){const p=t.sdS(16),C=t.sdS(56);t.R7$(4),t.Y8G("src",t.bMT(5,18,"/ssr/assets/images/graduation-ceremony/close.svg"),t.B4B),t.R7$(4),t.Y8G("src",t.bMT(9,20,"/ssr/assets/images/graduation-ceremony/congrats-alison-graduate.png"),t.B4B),t.R7$(3),t.Y8G("src",t.bMT(12,22,"/ssr/assets/images/graduation-ceremony/congrats-alison-graduate.png"),t.B4B),t.R7$(4),t.Y8G("formGroup",a.graduationUserForm),t.R7$(8),t.Y8G("ngIf",(a.firstNameCtrl.dirty||p.submitted)&&a.firstNameCtrl.hasError("required")),t.R7$(),t.Y8G("ngIf",(a.firstNameCtrl.dirty||p.submitted)&&a.firstNameCtrl.hasError("pattern")&&!(a.firstNameCtrl.hasError("minlength")||a.firstNameCtrl.hasError("maxlength"))),t.R7$(5),t.Y8G("ngIf",(a.lastNameCtrl.dirty||p.submitted)&&a.lastNameCtrl.hasError("required")),t.R7$(),t.Y8G("ngIf",(a.lastNameCtrl.dirty||p.submitted)&&a.lastNameCtrl.hasError("pattern")&&!(a.lastNameCtrl.hasError("minlength")||a.lastNameCtrl.hasError("maxlength"))),t.R7$(2),t.Y8G("src",t.bMT(33,24,"/ssr/assets/images/graduation-ceremony/gpp_maybe.svg"),t.B4B),t.R7$(9),t.Y8G("ngIf",(a.emailCtrl.dirty||p.submitted)&&a.emailCtrl.hasError("required")),t.R7$(),t.Y8G("ngIf",(a.emailCtrl.touched||p.submitted)&&a.emailCtrl.hasError("pattern")),t.R7$(2),t.Y8G("src",t.bMT(45,26,"/ssr/assets/images/graduation-ceremony/gpp_maybe.svg"),t.B4B),t.R7$(10),t.Y8G("ngIf",a.isWebinarsListLo
1ading)("ngIfElse",C),t.R7$(5),t.Y8G("src",t.bMT(60,28,"/ssr/assets/images/graduation-ceremony/rsvp-mail.png"),t.B4B),t.R7$(3),t.Y8G("src",t.bMT(63,30,"/ssr/assets/images/graduation-ceremony/rsvp-mail.png"),t.B4B),t.R7$(5),t.Y8G("ngIf",!a.savedWebinarDate),t.R7$(),t.Y8G("ngIf",a.savedWebinarDate)}},dependencies:[l.MD,l.Sq,l.bT,g.YN,g.qT,g.me,g.BC,g.cb,g.X1,g.j4,g.JD,r.hM,P._T,u.R,z.TL,f.D6,f.LG,D,l.vh,m.w],styles:[".rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%]{border-bottom:1px solid #bbc5cb;padding:24px 0}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%]{padding:0}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin:0;text-align:center;color:#465159}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:12px;margin:16px 0}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:28px;height:28px;position:absolute;right:10px;top:20px;cursor:pointer}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-top[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{top:11px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%]{padding:24px;background:#f9f9f9}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%]{padding:16px 16px 0}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%]{display:flex;align-items:center;margin-bottom:36px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%]{margin-bottom:24px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:relative;margin:0 0 0 12px}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#465159;font-size:16px;font-style:normal;font-weight:600;line-height:150%;margin-bottom:0}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-indent:20px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] > .congrats-icon[_ngcontent-%COMP%]{display:none}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-left:0}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:12px}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] .congrats-wrap[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .congrats-icon[_ngcontent-%COMP%]{display:inline;width:16px}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:160px;width:100%}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .form-controls-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:24px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]:not(:last-of-type){margin-bottom:16px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .notification-block[_ngcontent-%COMP%]{display:flex;align-items:center;color:#0093c9;font-family:Roboto,sans-serif;font-size:12px;font-weight:700;padding-top:15px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .notification-block[_ngcontent-%COMP%]{padding-top:13px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .notification-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{margin-left:8px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] .notification-block[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:10px}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin:0 0 16px;color:#465159;font-size:16px;font-weight:700;line-height:150%}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{font-size:12px;font-weight:400}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:14px;margin:0 0 12px}}
1.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control.email-control[_ngcontent-%COMP%], .rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control.email-control[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{width:100%}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control.email-control[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{max-width:100%!important}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding:20px;border-radius:12px;border:1px solid #d7dcdf;outline:none;height:56px;color:#889aa7}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:not(.email-control input){width:352px}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .graduation-dates[_ngcontent-%COMP%]{display:flex;align-items:center}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .graduation-dates[_ngcontent-%COMP%]{flex-wrap:wrap}}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .graduation-dates[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;height:56px;padding:20px;align-items:center;color:#007646;font-size:14px;font-weight:700;border-radius:12px;border:1px solid #007646;background:unset;margin-right:16px;cursor:pointer}.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .graduation-dates[_ngcontent-%COMP%] button.selected[_ngcontent-%COMP%]{border:1px solid #007646;background:#e6f6eb}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] .popup-main[_ngcontent-%COMP%] form[_ngcontent-%COMP%] .graduation-dates[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:170px;width:100%;margin:0 8px 12px 0;padding:13px 16px}}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:304px 334px;grid-gap:50px;padding:36px 24px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%]{margin:0;grid-template-columns:185px 130px;justify-content:space-between;padding:12px 16px 48px}}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%]{display:flex;align-items:center}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{width:32px}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] > img[_ngcontent-%COMP%]{display:none}}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{position:relative;margin:0 0 0 12px}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:16px;font-weight:700;color:#465159;margin-bottom:0}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{text-indent:20px;font-size:12px}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:0}}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{display:none}@media (max-width: 768px){.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] .rsvp-mail-description[_ngcontent-%COMP%] div[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;display:inline-block;max-width:16px}}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:100%;border-radius:8px;background:#009b5d;
1height:48px;border:none;color:#fff;font-size:16px;font-weight:700}.rsvp-popup-wrap[_ngcontent-%COMP%] #rsvp-now-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background:#bbc5cb}@media (max-width: 768px){ .cdk-overlay-pane:has(.rsvp-popup-wrap){max-width:100%!important}} .mat-dialog-container:has(.rsvp-popup-wrap){position:relative}"]}))}return o(),i})(),et=(()=>{var o;class i{constructor(n,e){this._graduationService=n,this._dialog=e,this.haveCompletedDiploma=!1,this.showNotQualifiedMessage=!1}openRSVPModal(){this._graduationService.getCompletedCourses().subscribe({next:n=>{const e=n.result?.some(p=>2===p.course_type_id)??!1;this.haveCompletedDiploma=e,this.showNotQualifiedMessage=!e,e&&this._dialog.open(A,{data:{rsvpEventDate:null},width:"766px",height:"470px",enterAnimationDuration:"300ms",exitAnimationDuration:"200ms",panelClass:"graduate-modal-obj"}).afterClosed().subscribe(p=>{console.log("The dialog was closed. Result:",p)})},error:n=>{console.error("Failed to fetch completed courses:",n)}})}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(E),t.rXU(r.bZ))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-banner"]],decls:20,vars:6,consts:[[1,"graduation-banner","flex","flex-col","lg:flex-row"],[1,"graduation-banner-left","mx-auto","lg:mx-0"],[1,"graduation-banner-title","mb-4","lg:mb-3"],[1,"graduation-banner-subtitle"],[1,"graduation-action"],[1,"graduation-not-qualified","mx-auto","lg:mx-0"],[1,"mx-auto","lg:mx-0",3,"click","disabled"],[1,"graduation-banner-note","mt-7"],[1,"graduation-banner-bold"],[1,"graduation-banner-right"],["alt","graduation banner image",1,"graduation-banner-img",3,"src"]],template:function(e,a){1&e&&(t.rj2(0,"div",0)(1,"div",1)(2,"h1",2),t.EFF(3," Your Achievement Deserves a Global Celebration. "),t.eux(),t.rj2(4,"p",3),t.EFF(5," Join our online Graduation Ceremonies where your milestone is celebrated
1with the world. "),t.eux(),t.rj2(6,"div",4)(7,"div",5)(8,"p"),t.EFF(9,"Complete a diploma course to be eligible to attend"),t.eux()(),t.rj2(10,"button",6),t.VwU("click",function(){return a.openRSVPModal()}),t.EFF(11," RSVP Before Slots Fill Up "),t.eux()(),t.rj2(12,"div",7)(13,"p")(14,"span",8),t.EFF(15,"Note:"),t.eux(),t.EFF(16," This is a closed event and exclusively available to Alison Diploma Graduates "),t.eux()()(),t.rj2(17,"div",9),t.Hgh(18,"img",10),t.nI1(19,"cdn"),t.eux()()),2&e&&(t.R7$(6),t.AVh("show-tooltip",a.showNotQualifiedMessage),t.R7$(4),t.Avn("disabled",a.showNotQualifiedMessage),t.R7$(8),t.Avn("src",t.bMT(19,4,"/ssr/assets/images/graduation-ceremony/banner.svg"),t.B4B))},dependencies:[r.hM,m.w],styles:[".graduation-banner[_ngcontent-%COMP%]{margin-left:6.65%;gap:24px;font-family:Roboto;font-style:normal}@media (min-width: 1024px){.graduation-banner[_ngcontent-%COMP%]{margin-left:6.7%;margin-right:0;gap:0}}.graduation-banner-left[_ngcontent-%COMP%]{margin-right:6.7%;margin-top:32px}@media (min-width: 1024px){.graduation-banner-left[_ngcontent-%COMP%]{width:100%;margin-top:76px;margin-bottom:59px;max-width:471px;margin-right:0}.graduation-banner-right[_ngcontent-%COMP%]{position:relative;width:100%}}.graduation-banner-img[_ngcontent-%COMP%]{width:100%!important}@media (min-width: 1024px){.graduation-banner-img[_ngcontent-%COMP%]{width:611px!important;height:407px!important;position:absolute;bottom:-15px;right:0}}.graduation-banner-title[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);text-align:center;font-size:28px;align-self:stretch;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduation-banner-title[_ngcontent-%COMP%]{font-size:36px;text-align:left}}.graduation-banner-subtitle[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);text-align:center;font-size:16px;font-weight:400;line-height:150%}@media (min-width: 1024px){.graduation-banner-subtitle[_ngcontent-%COMP%]{font-size:18px;text-align:left}}.graduation-action[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;width:100%;height:fit-content}@media (min-width: 1024px){.graduation-action[_ngcontent-%COMP%]{width:fit-content}}.graduation-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;align-self:stretch;border-radius:8px;width:100%;height:48px;max-width:360px;background:var(--Alison-Green-500---Principal, #009b5d);color:var(--White, #fff);font-size:16px;font-weight:700;line-height:150%;margin-top:16px;transition:margin-top .2s ease,background-color .2s ease}@media (min-width: 1024px){.graduation-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{width:280px;text-align:center;font-weight:600;margin-top:36px}}.graduation-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:not(:disabled):hover{background:#008653}.graduation-action[_ngcontent-%COMP%] button.not-qualified[_ngcontent-%COMP%]{background:var(--Alison-Grey-200, #889aa7);cursor:not-allowed}.graduation-action[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{background:var(--Alison-Grey-200, #889aa7);cursor:not-allowed;pointer-events:none}.graduation-banner-note[_ngcontent-%COMP%]{padding:6px 8px;align-self:stretch;border-radius:4px;border:1px solid var(--Alison-Purple-100, #dda2f3);background:var(--Alison-Purple-25, #faecff);width:100%}.graduation-banner-note[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Purple-300---Principal, #873795);font-family:Roboto;font-size:12px;font-style:normal;font-weight:400;line-height:150%}.graduation-banner-bold[_ngcontent-%COMP%]{font-weight:700!important}.journey-action[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start}.graduation-not-qualified[_ngcontent-%COMP%]{display:none;padding:6px 16px;border-radius:8px;background:var(--Alison-Grey-700, #465159);width:fit-content;margin-bottom:6px}.graduation-not-qualified[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--White, #fff);font-size:12px;font-weight:400;line-height:150%;transition:opacity .2s ease}.graduation-action.show-tooltip[_ngcontent-%COMP%]:hover .graduation-not-qualified[_ngcontent-%COMP%]{display:flex}.graduation-action.show-tooltip[_ngcontent-%COMP%]:hover button[_ngcontent-%COMP%]{margin-top:0!important}"]}))}return o(),i})();var ot=c(4773);let it=(()=>{var o;
1class i{static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["app-benefit-bar"]],decls:25,vars:9,consts:[[1,"graduation-snippet"],[1,"snippets-content","gap-4"],["alt","calendar icon",1,"",3,"src"],[1,"snippet-bold"],["alt","graduation cap icon",1,"",3,"src"],["alt","seat icon",1,"",3,"src"]],template:function(e,a){1&e&&(t.rj2(0,"div",0)(1,"div",1),t.Hgh(2,"img",2),t.nI1(3,"cdn"),t.rj2(4,"p")(5,"span",3),t.EFF(6,"Celebrated monthly"),t.eux(),t.EFF(7," except Dec\u2019 "),t.eux()(),t.rj2(8,"div",1),t.Hgh(9,"img",4),t.nI1(10,"cdn"),t.rj2(11,"p"),t.EFF(12," Attended by "),t.rj2(13,"span",3),t.EFF(14,"Graduates"),t.eux(),t.EFF(15," from "),t.rj2(16,"span",3),t.EFF(17,"193 countries "),t.eux()()(),t.rj2(18,"div",1),t.Hgh(19,"img",5),t.nI1(20,"cdn"),t.rj2(21,"p")(22,"span",3),t.EFF(23,"Limited seats"),t.eux(),t.EFF(24," only "),t.eux()()()),2&e&&(t.R7$(2),t.Avn("src",t.bMT(3,3,"/ssr/assets/images/graduation-ceremony/calendar.svg"),t.B4B),t.R7$(7),t.Avn("src",t.bMT(10,5,"/ssr/assets/images/graduation-ceremony/graduation-cap.svg"),t.B4B),t.R7$(10),t.Avn("src",t.bMT(20,7,"/ssr/assets/images/graduation-ceremony/seat.svg"),t.B4B))},dependencies:[m.w],styles:[".graduation-snippet[_ngcontent-%COMP%]{display:flex;padding:24px 6.65%;align-items:center;flex-direction:column;gap:16px;background:var(--Alison-Purple-500, #672c82);font-family:Roboto;font-style:normal;align-items:flex-start}@media (min-width: 1024px){.graduation-snippet[_ngcontent-%COMP%]{flex-direction:row;padding:13px 6.7%;justify-content:space-between;align-items:center;background:var(--Alison-Purple-500, #672c82)}}.snippets-content[_ngcontent-%COMP%]{display:flex;align-items:center}.snippets-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:#fff;font-size:14px;font-weight:400;line-height:150%}.snippet-bold[_ngcontent-%COMP%]{font-weight:600!important}"]}))}return o(),i})(),at=(()=>{var o;class i{static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["app-meet-graduates"]],decls:13,vars:6,consts:[[1,"meet-graduates","my-8","lg:mt-15","flex","flex-col-reverse","lg:flex-row","gap-6","lg:gap-20"],["alt","ceremony mobile",1,"ceremony-mobile","lg:hidden",3,"src"],["alt","ceremony desktop",1,"ceremony-desktop","hidden","lg:block",3,"src"],[1,"meet-graduates-right"],[1,"mb-4"],[1,"mb-4","lg:mb-6"],["href","https://alison.com/alison-graduate-profiles","target","_blank","rel","noopener noreferrer",1,"meet-graduate-btn"]],template:function(e,a){1&e&&(t.rj2(0,"div",0)(1,"div"),t.Hgh(2,"img",1),t.nI1(3,"cdn"),t.Hgh(4,"img",2),t.nI1(5,"cdn"),t.eux(),t.rj2(6,"div",3)(7,"h2",4),t.EFF(8,"This Wasn\u2019t Our Idea. It Was Yours."),t.eux(),t.rj2(9,"p",5),t.EFF(10," You asked us, \u201cDoes Alison do Graduation Ceremonies?\u201d At the time, no one did. So in July 2023, we started one because your achievement deserved a moment you could be proud of. Today, it\u2019s a monthly celebration where Graduates from around the world come together. And for many of them, this is their first graduation ceremony ever!\xa0 "),t.eux(),t.rj2(11,"a",6),t.EFF(12," Meet Our Graduates "),t.eux()()()),2&e&&(t.R7$(2),t.Avn("src",t.bMT(3,2,"/ssr/assets/images/graduation-ceremony/ceremony-mobile.svg"),t.B4B),t.R7$(2),t.Avn("src",t.bMT(5,4,"/ssr/assets/images/graduation-ceremony/ceremony-desktop.svg"),t.B4B))},dependencies:[m.w],styles:[".meet-graduates[_ngcontent-%COMP%]{margin-left:6.65%;margin-right:6.65%;font-style:normal;font-family:Roboto}@media (min-width: 1024px){.meet-graduates[_ngcontent-%COMP%]{margin-left:6.7%;margin-right:6.7%}}.meet-graduates-right[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);font-size:24px;font-weight:900;line-height:150%}@media (min-width: 1024px){.meet-graduates-right[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:32px}}.meet-graduates-right[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-size:16px;font-weight:400;line-height:150%}@media (min-width: 1024px){.meet-graduates-right[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px}}.meet-graduate-btn[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border-radius:8px;height:48px;background:var(--Alison-Green-500---Principal, #009b5d);max-width:450px;color:var(--White, #fff);font-size:16px;font-weight:700;line-height:150%}@media (min-width: 1024px){.meet-graduate-btn[_ngcontent-%COMP%]{max-width:312px;width:224px;color:#fff;text-align:center;font-size:16px;font-weight:600}}.ceremony-desktop[_ngcontent-%COMP%]{width:416px!important;max-width:416px!important}.ceremony-mobile[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}@media (min-width: 768px){.ceremony-mobile[_ngcontent-%COMP%]{width:70%}}"]}))}return o(),i})();function rt(o,i){if(1&o&&(t.j41(0,"div",11)(1,"div"),d.qSk(),t.j41(2,"svg",12)(3,"g",13),t.nrm(4,"path",14),t.k0s(),t.j41(5,"defs")(6,"clipPath",15),t.nrm(7,"rect",16),t.k0s()()()(),d.joV(),t.j41(8,"p",17),t.EFF(9),t.k0s()()),2&o){const s=i.$implicit;t.R7$(9),t.SpI(" ",s," ")}}let st=(()=>{var o;class i{constructor(){this.expectation=["Alison Founder and CEO, Mike Feer
1ick, opens the Ceremony and congratulates Graduates","Learners flood the chat with messages, support, and excitement","People proudly share where they\u2019re joining from and applaud each other","Names are recognised in front of a global audience"]}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["app-expectation"]],decls:16,vars:7,consts:[[1,"graduate-expectation","py-8","lg:py-15"],[1,"mb-4"],[1,"mb-6","lg:mb-9","graduate-expectation-subtitle"],[1,"graduate-expectation-box"],[1,"graduate-box-left"],[1,"lg:mb-4"],[1,"flex","flex-col","gap-3","lg:gap-4"],["class","flex gap-2 lg:gap-4 items-start lg:items-center",4,"ngFor","ngForOf"],[1,"graduate-box-right"],["alt","Mike's Image",1,"lg:hidden","graduation-mike-img",3,"src"],["alt","Mike's Image",1,"hidden","lg:block","graduation-mike-img",3,"src"],[1,"flex","gap-2","lg:gap-4","items-start","lg:items-center"],["xmlns","http://www.w3.org/2000/svg","width","20","height","20","viewBox","0 0 20 20","fill","none"],["clip-path","url(#clip0)"],["d","M10 1.66669C5.40002 1.66669 1.66669 5.40002 1.66669 10C1.66669 14.6 5.40002 18.3334 10 18.3334C14.6 18.3334 18.3334 14.6 18.3334 10C18.3334 5.40002 14.6 1.66669 10 1.66669ZM7.74169 13.575L4.75002 10.5834C4.42502 10.2584 4.42502 9.73335 4.75002 9.40835C5.07502 9.08335 5.60002 9.08335 5.92502 9.40835L8.33335 11.8084L14.0667 6.07502C14.3917 5.75002 14.9167 5.75002 15.2417 6.07502C15.5667 6.40002 15.5667 6.92502 15.2417 7.25002L8.91669 13.575C8.60002 13.9 8.06669 13.9 7.74169 13.575Z","fill","#12B859"],["id","clip0"],["width","20","height","20","fill","white"],[1,"graduate-expectation-text"]],template:function(e,a){1&e&&(t.j41(0,"div",0)(1,"h2",1),t.EFF(2," It\u2019s Live. It\u2019s Global. It\u2019s A Moment You Won\u2019t Forget. "),t.k0s(),t.j41(3,"p",2),t.EFF(4," Alison\u2019s Graduation Ceremonies have become a space for our community to connect, reflect, and celebrate the milestones that mark the beginning of new possibilities. "),t.k0s(),t.j41(5,"div",3)(6,"div",4)(7,"h3",5),t.EFF(8,"Here\u2019s What You Can Expect:"),t.k0s(),t.j41(9,"div",6),t.DNE(10,rt,10,1,"div",7),t.k0s()(),t.j41(11,"div",8),t.nrm(12,"img",9),t.nI1(13,"cdn"),t.nrm(14,"img",10),t.nI1(15,"cdn"),t.k0s()()()),2&e&&(t.R7$(10),t.Y8G("ngForOf",a.expectation),t.R7$(2),t.Y8G("src",t.bMT(13,3,"/ssr/assets/images/graduation-ceremony/mike-mobile.svg"),t.B4B),t.R7$(2),t.Y8G("src",t.bMT(15,5,"/ssr/assets/images/graduation-ceremony/mike-desktop.svg"),t.B4B))},dependencies:[l.Sq,m.w],styles:[".graduate-expectation[_ngcontent-%COMP%]{padding-left:6.65%;padding-right:6.65%;background:var(--Alison-Grey-25, #f0f4f7);font-family:Roboto;font-style:normal}@media (min-width: 1024px){.graduate-expectation[_ngcontent-%COMP%]{padding-left:6.7%;padding-right:6.7%}}.graduate-expectation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);text-align:center;font-size:24px;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduate-expectation[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:32px}}.graduate-expectation-subtitle[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);text-align:center;font-size:16px;font-weight:400;line-height:150%}@media (min-width: 1024px){.graduate-expectation-subtitle[_ngcontent-%COMP%]{font-size:18px;width:80%;margin-left:auto;margin-right:auto}}.graduate-expectation-box[_ngcontent-%COMP%]{display:flex;border-radius:16px;background:var(--White, #fff);box-shadow:0 1px 4px #00000040;gap:16px;flex-direction:column}@media (min-width: 1024px){.graduate-expectation-box[_ngcontent-%COMP%]{border-radius:32px;height:fit-content;flex-direction:row;gap:0;box-shadow:0 0 18px #0000001a}}.graduate-box-left[_ngcontent-%COMP%]{display:flex;padding:16px 5.1%;flex-direction:column;gap:16px;align-items:flex-start;align-self:stretch;background:var(--White, #fff);border-top-left-radius:16px;border-top-right-radius:16px}@media (min-width: 1024px){.graduate-box-left[_ngcontent-%COMP%]{width:50.4%;padding:48px 9.2%;gap:0;border-top-left-radius:32px;border-bottom-left-radius:32px;border-top-right-radius:0}.graduate-box-right[_ngcontent-%COMP%]{display:flex;width:49.6%}}@media (min-width: 1366px){.graduate-box-right[_ngcontent-%COMP%]{width:calc(49.6% + 100px)!important}}.graduation-mike-img[_ngcontent-%COMP%]{width:100%;border-bottom-right-radius:16px;border-bottom-left-radius:16px}@media (min-width: 1024px){.graduation-mike-img[_ngcontent-%COMP%]{height:100%;object-fit:cover;border-top-right-radius:32px;border-bottom-right-radius:32px;border-bottom-left-radius:0}}.graduate-box-left[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);text-align:center;font-size:18px;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduate-box-left[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{font-size:22px;text-align:left}}.graduate-expectation-text[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-size:14px;font-weight:400;line-height:150%}@media (min-width: 1024px){.graduate-expectation-text[_ngcontent-%COMP%]{font-size:16px}}"]}))}return o(),i})();function ct(o,i){if(1&o&&(t.j41(0,"div",6),t.nrm(1,"img",7),t.nI1(2,"cdn"),t.j41(3,"p"),t.EFF(4),t.k0s()()),2&o){const s=i.$implicit;t.R7$(),t.Y8G("src",t.bMT(2,2,"/ssr/assets/images/graduation-ceremony/bullet.svg"),t.B4B),t.R7$(3),t.JRh(s)}}let gt=(()=>{var o;class i{constructor(){this.attend=["Complete a Diploma course to become eligible","Within 7 days, you\u2019ll receive an email with the details of the next Ceremony","Register by filling in a few details (e.g., your Alison email ID, first name, last name)","You can also RSVP via the banner on your dashboard","Seats are limited and fill up fast, so be quick","A reminder email will be sent the day before, along with a link to the event","On the day, you\u2019ll receive the final email with your link to the event again"]}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)}
1,this.\u0275cmp=t.VBU({type:i,selectors:[["app-attend"]],decls:9,vars:4,consts:[[1,"gradution-attend","my-8","lg:my-15","flex","flex-col-reverse","lg:flex-row","gap-6","lg:gap-9"],["alt","Attend Image",1,"graduation-attend-img",3,"src"],[1,"graduation-attend-content"],[1,"mb-4"],[1,"flex","flex-col","gap-4"],["class","flex items-center gap-4",4,"ngFor","ngForOf"],[1,"flex","items-center","gap-4"],["alt","Bullet",1,"bullet-icon",3,"src"]],template:function(e,a){1&e&&(t.j41(0,"div",0)(1,"div"),t.nrm(2,"img",1),t.nI1(3,"cdn"),t.k0s(),t.j41(4,"div",2)(5,"h2",3),t.EFF(6,"How To Attend A Graduation Ceremony"),t.k0s(),t.j41(7,"div",4),t.DNE(8,ct,5,4,"div",5),t.k0s()()()),2&e&&(t.R7$(2),t.Y8G("src",t.bMT(3,2,"/ssr/assets/images/graduation-ceremony/attend.svg"),t.B4B),t.R7$(6),t.Y8G("ngForOf",a.attend))},dependencies:[l.Sq,m.w],styles:[".gradution-attend[_ngcontent-%COMP%]{margin-left:6.65%;margin-right:6.65%;font-style:normal;font-family:Roboto}@media (min-width: 1024px){.gradution-attend[_ngcontent-%COMP%]{margin-left:6.7%;margin-right:6.7%}}.graduation-attend-img[_ngcontent-%COMP%]{width:100%}@media (min-width: 1024px){.graduation-attend-img[_ngcontent-%COMP%]{width:355px!important;min-width:355px!important}}.graduation-attend-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);font-size:24px;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduation-attend-content[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:32px}}.graduation-attend-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-size:16px;font-weight:400;line-height:150%}@media (min-width: 1024px){.graduation-attend-content[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px}}"]}))}return o(),i})();var pt=c(177);const lt=["scrollContainer"],dt=["video"];function mt(o,i){if(1&o&&(t.j41(0,"div",10)(1,"div",11)(2,"div"),t.nrm(3,"img",12),t.nI1(4,"cdn"),t.k0s(),t.j41(5,"div")(6,"div",13)(7,"p",14),t.EFF(8),t.k0s(),t.nrm(9,"img",15),t.nI1(10,"cdn"),t.k0s(),t.j41(11,"div",16)(12,"a",17),t.EFF(13),t.k0s()()()()()),2&o){const s=i.$implicit;t.R7$(3),t.Y8G("src",t.bMT(4,6,s.imgUrl),t.B4B)("alt",s.Name),t.R7$(5),t.JRh(s.Name),t.R7$(),t.Y8G("src",t.bMT(10,8,s.flagUrl),t.B4B),t.R7$(3),t.Y8G("href",s.link,t.B4B),t.R7$(),t.SpI(" ",s.course," ")}}let ut=(()=>{var o;class i{constructor(n){this._platformId=n,this.paused=!1,this.scrollSpeed=.5,this.lastTimestamp=0,this.graduants=[{imgUrl:"/ssr/assets/images/avatars/dark-male-one.svg",Name:"Jacob Ogutu",course:"Diploma in Fashion Design",flagUrl:"/ssr/assets/images/flags/wave-48x36/ke.png",link:"https://alison.com/course/diploma-in-fashion-design"},{imgUrl:"/ssr/assets/images/avatars/dark-male-two.svg",Name:"Abubakar Zayyad Hamid",course:"Diploma in Information Technology Support",flagUrl:"/ssr/assets/images/flags/wave-48x36/ng.png",link:"https://alison.com/course/diploma-in-information-technology-support"},{imgUrl:"/ssr/assets/images/avatars/white-female-one.svg",Name:"Jennifer Ulysses",course:"Diploma in Microsoft Excel for Beginners and Experts",flagUrl:"/ssr/assets/images/flags/wave-48x36/gb.png",link:"https://alison.com/course/diploma-in-microsoft-excel-for-beginners-and-experts"},{imgUrl:"/ssr/assets/images/avatars/white-male-one.svg",Name:"Khung-Leon Chan",course:"Diploma in AI Ethics: Navigating the Moral Compass of Business AI",flagUrl:"/ssr/assets/images/flags/wave-48x36/my.png",link:"https://alison.com/course/diploma-in-ai-ethics-navigating-the-moral-compass-of-business-ai"},{imgUrl:"/ssr/assets/images/avatars/dark-male-one.svg",Name:"Jacob Ogutu",course:"Diploma in Fashion Design",flagUrl:"/ssr/assets/images/flags/wave-48x36/ke.png",link:"https://alison.com/course/diploma-in-fashion-design"},{imgUrl:"/ssr/assets/images/avatars/dark-male-two.svg",Name:"Abubakar Zayyad Hamid",course:"Diploma in Information Technology Support",flagUrl:"/ssr/assets/images/flags/wave-48x36/ng.png",link:"https://alison.com/course/diploma-in-information-technology-support"},{imgUrl:"/ssr/assets/images/avatars/white-female-one.svg",Name:"Jennifer Ulysses",course:"Diploma in Microsoft Excel for Beginners and Experts",flagUrl:"/ssr/assets/images/flags/wave-48x36/gb.png",link:"https://alison.com/course/diploma-in-microsoft-excel-for-beginners-and-experts"},{imgUrl:"/ssr/assets/images/avatars/white-male-one.svg",Name:"Khung-Leon Chan",course:"Diploma in AI Ethics: Navigating the Moral Compass of Business AI",flagUrl:"/ssr/assets/images/flags/wave-48x36/my.png",link:"https://alison.com/course/diploma-in-ai-ethics-navigating-the-moral-compass-of-business-ai"}],this.displayGraduants=[...this.graduants,...this.graduants]}ngAfterViewInit(){if(!(0,pt.UE)(this._platformId))return;const n=this.video.nativeElement;n.muted=!0,n.play().catch(a=>{console.log("Autoplay prevented",a)});const e=this.scrollContainer.nativeElement;e.addEventListener("mouseenter",()=>{this.paused=!0}),e.addEventListener("mouseleave",()=>{this.paused=!1}),e.addEventListener("touchstart",()=>{this.paused=!0},{passive:!0}),e.addEventListener("touchend",()=>{this.paused=!1}),e.addEventListener("touchcancel",()=>{this.paused=!1}),this.startScrolling()}startScrolling(){const n=this.scrollContainer.nativeElement,e=a=>{0===this.lastTimestamp&&(this.lastTimestamp=a);const p=a-this.lastTimestamp;if(this.lastTimestamp=a,!this.paused)if(window.innerWidth>=1024){const C=n.scrollHeight/2;n.scrollTop+=this.scrollSpeed*(p/16),n.scrollTop>=C&&(n.scrollTop-=C)}else{const C=n.scrollWidth/2;n.scrollLeft+=this.scrollSpeed*(p/16),n.scrollLeft>=C&&(n.scrollLeft-=C)}this.animationId=requestAnimationFrame(e)};this.animationId=requestAnimationFrame(e)}ngOnDestroy(){this.animationId&&cancelAnimationFrame(this.animationId)}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(t.Agw))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-ceremonies"]],viewQuery:function(e,a){if(1&e&&(t.GBs(lt,5),t.GBs(dt,5)),2&e){let p;t.mGM(p=t.lsd())&&(a.scrollContainer=p.first),t.mGM(p=t.lsd())&&(a.video=p.first)}}
1,decls:13,vars:4,consts:[["video",""],["scrollContainer",""],[1,"graduate-ceremonies","py-6","lg:pt-6","lg:pb-8"],[1,"mb-6","lg:mb-9"],[1,"graduation-body","flex","flex-col","lg:flex-row","gap-6","lg:gap-9"],["autoplay","","muted","","loop","","defaultMuted","","playsinline","","preload","auto",1,"graduation-video"],["type","video/webm",3,"src"],[1,"testimonial-scroll"],[1,"scroll-inner"],["class","grad-card",4,"ngFor","ngForOf"],[1,"grad-card"],[1,"gap-2","flex","items-center"],[1,"graduation-avatar",3,"src","alt"],[1,"flex","items-center","gap-1"],[1,"graduate-name"],["alt","Country flag",1,"country-flag",3,"src"],[1,"graduate-cta"],["target","_blank","rel","noopener noreferrer",1,"graduate-course",3,"href"]],template:function(e,a){1&e&&(t.j41(0,"div",2)(1,"h2",3),t.EFF(2,"A Glimpse Into Our Graduation Ceremonies"),t.k0s(),t.j41(3,"div",4)(4,"div")(5,"video",5,0),t.nrm(7,"source",6),t.nI1(8,"cdn"),t.k0s()(),t.j41(9,"div",7,1)(11,"div",8),t.DNE(12,mt,14,10,"div",9),t.k0s()()()()),2&e&&(t.R7$(7),t.Y8G("src",t.bMT(8,2,"/ssr/assets/images/graduation-ceremony/graduation-video.webm"),t.B4B),t.R7$(5),t.Y8G("ngForOf",a.displayGraduants))},dependencies:[l.Sq,m.w],styles:[".graduate-ceremonies[_ngcontent-%COMP%]{padding-left:6.65%;padding-right:6.65%;font-family:Roboto;font-style:normal;border-radius:16px;background:var(--Alison-Grey-25, #f0f4f7)}@media (min-width: 1024px){.graduate-ceremonies[_ngcontent-%COMP%]{margin-left:6.7%;margin-right:6.7%;border-radius:36px;padding-left:0;padding-right:0}.graduation-body[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;width:fit-content}}.graduate-ceremonies[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);text-align:center;font-size:24px;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduate-ceremonies[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:28px}}.graduation-video[_ngcontent-%COMP%]{width:100%;border-radius:16px}@media (min-width: 1024px){.graduation-video[_ngcontent-%COMP%]{width:538px!important;min-width:538px!important}}.testimonial-scroll[_ngcontent-%COMP%]{display:flex;gap:16px;overflow-x:auto;overflow-y:auto;margin-right:-6.65%}@media (min-width: 1024px){.testimonial-scroll[_ngcontent-%COMP%]{flex-direction:column;overflow-x:hidden;overflow-y:hidden;height:302px;margin-right:0}}@media (min-width: 1280px){.testimonial-scroll[_ngcontent-%COMP%]{width:313px}}.testimonial-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{display:none}.testimonial-scroll[_ngcontent-%COMP%]{scrollbar-width:none}.grad-card[_ngcontent-%COMP%]{display:flex;width:220px;height:72px;padding:12px;border-radius:8px;background:var(--White, #fff);box-shadow:0 0 10px #0000001a;flex-shrink:0}@media (min-width: 1024px){.grad-card[_ngcontent-%COMP%]{width:303px;height:73px}}@media (min-width: 1280px){.grad-card[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}}
1.graduate-name[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-size:12px;font-weight:900;line-height:150%}.graduate-course[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-family:Roboto;font-size:10px;font-style:normal;font-weight:600;line-height:160%;text-decoration-line:underline;text-decoration-style:solid;-webkit-text-decoration-skip:ink;text-decoration-skip-ink:auto;text-decoration-thickness:auto;text-underline-offset:auto;text-underline-position:from-font;display:block!important}.country-flag[_ngcontent-%COMP%]{width:10px!important}.scroll-inner[_ngcontent-%COMP%]{display:flex;gap:16px}@media (min-width: 1024px){.scroll-inner[_ngcontent-%COMP%]{flex-direction:column;gap:12px}}"]}))}return o(),i})();function ft(o,i){1&o&&(t.j41(0,"div",7)(1,"p"),t.EFF(2,"Complete a diploma course to be eligible to attend"),t.k0s()())}function ht(o,i){if(1&o){const s=t.RV6();t.qex(0),t.j41(1,"button",8),t.bIt("click",function(){d.eBV(s);const e=t.XpG();return d.Njj(e.joinCeremony())}),t.EFF(2),t.k0s(),t.bVm()}if(2&o){const s=t.XpG();t.R7$(),t.Y8G("ngClass",s.card.btnType)("disabled",s.showNotQualifiedMessage),t.R7$(),t.SpI(" ",s.card.cta," ")}}function _t(o,i){if(1&o&&(t.j41(0,"a",9),t.EFF(1),t.k0s()),2&o){const s=t.XpG();t.R7$(),t.SpI(" ",s.card.cta," ")}}let Ct=(()=>{var o;class i{constructor(n,e){this._graduationService=n,this._dialog=e,this.haveCompletedDiploma=!1,this.showNotQualifiedMessage=!1}joinCeremony(){this._graduationService.getCompletedCourses().subscribe({next:n=>{const e=n.result?.some(p=>2===p.course_type_id)??!1;this.haveCompletedDiploma=e,this.showNotQualifiedMessage=!e,e&&this._dialog.open(A,{data:{rsvpEventDate:null},width:"766px",height:"470px",enterAnimationDuration:"300ms",exitAnimationDuration:"200ms",panelClass:"graduate-modal-obj"}).afterClosed().subscribe(p=>{console.log("The dialog was closed. Result:",p)})},error:n=>{console.error("Failed to fetch completed courses:",n)}})}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(E),t.rXU(r.bZ))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-card"]],inputs:{card:"card"},decls:10,vars:9,consts:[["linkBtn",""],[1,"journey-card"],["alt","Journey Card Image",1,"mb-5",3,"src"],[1,"journey-action"],[1,"card-text"],["class","graduation-not-qualified mx-auto lg:mx-0",4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"graduation-not-qualified","mx-auto","lg:mx-0"],[1,"journey-btn",3,"click","ngClass","disabled"],["href","https://alison.com/diploma-courses",1,"journey-btn","transparent"]],template:function(e,a){if(1&e&&(t.j41(0,"div",1),t.nrm(1,"img",2),t.nI1(2,"cdn"),t.j41(3,"div",3)(4,"p",4),t.EFF(5),t.k0s(),t.DNE(6,ft,3,0,"div",5)(7,ht,3,3,"ng-container",6),t.k0s(),t.DNE(8,_t,2,1,"ng-template",null,0,t.C5r),t.k0s()),2&e){const p=t.sdS(9);t.R7$(),t.Y8G("src",t.bMT(2,7,a.card.imageUrl),t.B4B),t.R7$(2),t.AVh("show-tooltip",a.showNotQualifiedMessage&&"transparent"!==a.card.btnType),t.R7$(2),t.SpI(" ",a.card.cardText," "),t.R7$(),t.Y8G("ngIf",a.showNotQualifiedMessage&&"transparent"!==a.card.btnType),t.R7$(),t.Y8G("ngIf","transparent"!==a.card.btnType)("ngIfElse",p)}},dependencies:[l.YU,l.bT,r.hM,m.w],styles:[".journey-card[_ngcontent-%COMP%]{display:flex;width:100%;max-width:450px;padding:16px;flex-direction:column;align-items:flex-start;border-radius:16px;border:1px solid var(--Alison-Grey-50, #d7dcdf);background:var(--Alison-Grey-10, #f9f9f9);font-style:normal;font-family:Roboto}.journey-card[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:100%;min-width:100%}.journey-card[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);font-size:16px;font-weight:600;line-height:150%}.transparent[_ngcontent-%COMP%]{border:1px solid var(--Alison-Green-600, #008445);color:var(--Alison-Green-600, #008445);font-weight:700}.primary[_ngcontent-%COMP%]{background:#009b5d;color:#fff;font-weight:700}.disabled[_ngcontent-%COMP%]{color:#fff;background:var(--Alison-Grey-200, #889aa7);font-weight:600}.journey-btn[_ngcontent-%COMP%]{display:flex;max-height:48px;padding:12px 40px;justify-content:center;align-items:center;gap:8px;align-self:stretch;border-radius:8px;width:100%;margin-top:20px}.journey-btn[_ngcontent-%COMP%]:disabled{background:var(--Alison-Grey-200, #889aa7);cursor:not-allowed;pointer-events:none}.graduation-not-qualified[_ngcontent-%COMP%]{display:none;padding:6px 16px;border-radius:8px;background:var(--Alison-Grey-700, #465159);width:fit-content;margin-bottom:6px}.journey-action[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;width:100%}
1.card-text[_ngcontent-%COMP%]{display:block}.journey-action.show-tooltip[_ngcontent-%COMP%]:hover .graduation-not-qualified[_ngcontent-%COMP%]{display:flex}.journey-content.show-tooltip[_ngcontent-%COMP%]:hover .card-text[_ngcontent-%COMP%]{display:none}.journey-action.show-tooltip[_ngcontent-%COMP%]:hover .journey-btn[_ngcontent-%COMP%]{margin-top:0}.graduation-not-qualified[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--White, #fff);font-size:12px;font-weight:400;line-height:150%}"]}))}return o(),i})();function Mt(o,i){1&o&&t.nrm(0,"app-card",5),2&o&&t.Y8G("card",i.$implicit)}let xt=(()=>{var o;class i{constructor(){this.journeyCard=[{imageUrl:"/ssr/assets/images/graduation-ceremony/cardImg1.svg",cardText:"Already completed a Diploma course? ",btnType:"primary",cta:"Join The Ceremony"},{imageUrl:"/ssr/assets/images/graduation-ceremony/cardImg2.svg",cardText:"Not started your Diploma journey yet? ",btnType:"transparent",cta:"Explore Diploma Courses"}]}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275cmp=t.VBU({type:i,selectors:[["app-journey"]],decls:7,vars:1,consts:[[1,"graduation-journey","py-8","lg:py-15"],[1,"mb-4"],[1,"mb-6","lg:mb-9"],[1,"flex","flex-col","lg:flex-row","justify-center","items-center","gap-6"],[3,"card",4,"ngFor","ngForOf"],[3,"card"]],template:function(e,a){1&e&&(t.j41(0,"div",0)(1,"h2",1),t.EFF(2," Thousands Have Already Shown Up for Themselves. Will You? "),t.k0s(),t.j41(3,"p",2),t.EFF(4," Learners from different countries and backgrounds come together at Alison\u2019s Graduation Ceremonies for one reason\u2013 to celebrate how far they\u2019ve come. And that changes their belief about how far they can go.\xa0It\u2019s your turn now. "),t.k0s(),t.j41(5,"div",3),t.DNE(6,Mt,1,1,"app-card",4),t.k0s()()),2&e&&(t.R7$(6),t.Y8G("ngForOf",a.journeyCard))},dependencies:[Ct,l.Sq],styles:[".graduation-journey[_ngcontent-%COMP%]{margin-left:6.65%;margin-right:6.65%;font-style:normal;font-family:Roboto}@media (min-width: 1024px){.graduation-journey[_ngcontent-%COMP%]{margin-left:6.7%;margin-right:6.7%}}.graduation-journey[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{color:var(--Alison-Grey-800, #343c41);text-align:center;font-size:24px;font-weight:900;line-height:150%}@media (min-width: 1024px){.graduation-journey[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:32px}}.graduation-journey[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{color:var(--Alison-Grey-700, #465159);font-family:Roboto;font-size:16px;font-weight:400;line-height:150%;align-self:stretch;text-align:center}@media (min-width: 1024px){.graduation-journey[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:18px}}"]}))}return o(),i})();const Pt=[{path:"",component:(()=>{var o;class i{constructor(n){this.dialog=n}static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)(t.rXU(r.bZ))},this.\u0275cmp=t.VBU({type:i,selectors:[["app-graduation-ceremony"]],decls:9,vars:3,consts:[[3,"topAd","rightAd","bottomAd"],[1,"grad-parent"]],template:function(e,a){1&e&&(t.j41(0,"app-landing-page-template",0)(1,"div",1),t.nrm(2,"app-banner")(3,"app-benefit-bar")(4,"app-meet-graduates")(5,"app-expectation")(6,"app-attend")(7,"app-ceremonies")(8,"app-journey"),t.k0s()()),2&e&&t.Y8G("topAd",!0)("rightAd",!0)("bottomAd",!0)},dependencies:[et,ot.c,it,at,st,gt,ut,xt],styles:[".grad-parent[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto;width:100%;max-width:1400px}"]}))}return o(),i})()}];let Ot=(()=>{var o;class i{static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275mod=t.$C({type:i}),this.\u0275inj=d.G2t({imports:[x.iI.forChild(Pt),x.iI]}))}return o(),i})(),bt=(()=>{var o;class i{static#t=o=()=>(this.\u0275fac=function(e){return new(e||i)},this.\u0275mod=t.$C({type:i}),this.\u0275inj=d.G2t({imports:[l.MD,Ot]}))}return o(),i})()},8847(F,O,c){c.d(O,{R:()=>M});var l=c(2318),x=c(2615),r=c(3664),m=c(9588),h=c(2466);let M=(()=>{class g{static \u0275fac=function(f){return new(f||g)};static \u0275mod=r.$C({type:g});static \u0275inj=x.G2t({imports:[h.y,l.w5,m.rl,h.y]})}return g})()}}]);
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.