PageSourceSearch

https://account.canapii.com/chunk-BLGJNVMC.js

js canapii.com collected 2026-10-01 11:59:10 UTC 156,376 bytes, 6 lines download raw bytes

1import{a as Vi,b as Di,c as Li,d as Bi,e as ji}from"./chunk-HZAIH3BC.js";import"./chunk-VNC3NFO5.js";import"./chunk-TNNTZHL4.js";import"./chunk-4VSEFKV4.js";import"./chunk-AVEAC6TK.js";import"./chunk-DYZLENZN.js";import{a as Je}from"./chunk-P6KXOH6E.js";import"./chunk-BYR6FOHH.js";import"./chunk-4R3OCM6P.js";import{a as Oi}from"./chunk-4WROE6D2.js";import"./chunk-DWBJ3FFW.js";import{d as Ni}from"./chunk-KZNNECHN.js";import{b as Ii,c as Ti,d as Mi,e as ki,f as Ri,g as Ai}from"./chunk-VQV5QB5X.js";import"./chunk-N56KERXN.js";import"./chunk-MDZNRQS6.js";import"./chunk-F3UQTJ3A.js";import"./chunk-63K2LES7.js";import"./chunk-DG3V3SWL.js";import"./chunk-63S7Z45L.js";import"./chunk-XEDJBE7K.js";import"./chunk-MX45D7L5.js";import{a as ht,b as fi,c as vi}from"./chunk-WVPPBW3D.js";import{a as hi,b as gi,c as _i,d as Si,e as xi,f as yi,g as Ei,h as Ci,i as bi,j as wi,l as Fi,m as Pi}from"./chunk-75MPFHDW.js";import{b as vt,c as ui}from"./chunk-BXSMPFUE.js";import"./chunk-BUGNONG7.js";import"./chunk-S7RUJHDK.js";import"./chunk-O4W4ZLKR.js";import"./chunk-POEVXAF3.js";import"./chunk-RDBQLGOI.js";import"./chunk-WWE47JCL.js";import"./chunk-72DQ4U6K.js";import"./chunk-W6QVGQJH.js";import"./chunk-D2HMEQE7.js";import{a as We}from"./chunk-BENDDUCM.js";import"./chunk-D7TP2RB2.js";import"./chunk-FJ2I7HMZ.js";import{a as Qt,b as Te}from"./chunk-CCGT3L3J.js";import"./chunk-D6UX732D.js";import"./chunk-BRMPHYYJ.js";import"./chunk-VADS3VHW.js";import{a as Ye}from"./chunk-IDTQSFGF.js";import{c as ke}from"./chunk-QSR4XSOW.js";import"./chunk-ZGH3XX3D.js";import"./chunk-WBTZD3PJ.js";import"./chunk-ZJHHHNWB.js";import"./chunk-QUG5JEKF.js";import"./chunk-QKTH7SM6.js";import"./chunk-EYV3GWVO.js";import"./chunk-F2XU6FO6.js";import{a as ti}from"./chunk-IEJYBGGX.js";import{a as ii,b as ni}from"./chunk-JRZHP3G3.js";import{a as ai,b as ri}from"./chunk-NZL5W6ZI.js";import{a as $e}from"./chunk-QRJZTPS2.js";import"./chunk-MYCFWLKL.js";import"./chunk-V7ASBT5W.js";import{b as Ne}from"./chunk-HB4JGH6L.js";import"./chunk-EALUEWFB.js";import"./chunk-MZRJWZOV.js";import"./chunk-MWH5Q7LD.js";import"./chunk-FYEJJVAJ.js";import"./chunk-ETPYH4DV.js";import"./chunk-L6HRYWNR.js";import"./chunk-6E33DBBC.js";import"./chunk-ES2ZORUF.js";import{e as Ue}from"./chunk-VJX6N2HB.js";import"./chunk-H4EPMV5Z.js";import{b as Zt,c as Xt,e as ei}from"./chunk-BCE55JYA.js";import"./chunk-MYI3YS2M.js";import"./chunk-3KNWRENG.js";import"./chunk-6PXU6RTR.js";import"./chunk-6DH3EJIN.js";import"./chunk-UZY2R5Q5.js";import"./chunk-5GAGQHFR.js";import"./chunk-RXRKGCUL.js";import"./chunk-LW7CZM4G.js";import"./chunk-EW2NZJHY.js";import{a as li,b as si}from"./chunk-257ZTZHP.js";import"./chunk-ZIK5QK3P.js";import"./chunk-GAHMBGQ7.js";import{a as mi,b as pi}from"./chunk-OXEOSYW2.js";import{a as q}from"./chunk-VUFCNIWU.js";import{a as Me}from"./chunk-UAWJ3VGL.js";import"./chunk-VT7CJSCD.js";import{a as di,b as ci}from"./chunk-WM5G7JLR.js";import"./chunk-346ISJSG.js";import"./chunk-U5B2TWE2.js";import"./chunk-ZFE6ZTWO.js";import"./chunk-67IT4HQ6.js";import"./chunk-I75T67SK.js";import"./chunk-EYI3M4W7.js";import"./chunk-N47RT2FV.js";import"./chunk-42XQR762.js";import{a as He,f as oi}from"./chunk-EDTOPITP.js";import"./chunk-R2ER225G.js";import"./chunk-TU3JUKDL.js";import"./chunk-6JETGMQG.js";import"./chunk-VRQFSSVW.js";import{a as qe}from"./chunk-S65UUON4.js";import"./chunk-WFZUZROQ.js";import{e as ft,g as D}from"./chunk-K3U65WJB.js";import{a as Ke}from"./chunk-E3FOSCHV.js";import{a as ze}from"./chunk-J2VV25SD.js";import{g as Ge}from"./chunk-D7LJQ2E3.js";import{c as Wt,g as Yt,i as Jt}from"./chunk-7UO5WQYP.js";import{d as _e,e as ae,f as w}from"./chunk-RGZN3DMZ.js";import"./chunk-Y4544WYO.js";import"./chunk-73R64QIM.js";import{a as fe}from"./chunk-KOEZPSOA.js";import{C as zt,H as Kt,I as qt,K as me,r as Gt,t as ue}from"./chunk-ZEL44FAF.js";import"./chunk-RT33Z4W3.js";import{C as Be,K,L as C,M as b,b as Ut,c as $,e as E,h as B,i as j,n as Ie,p as U,r as Le,t as G,w as z,x as Z,y as X,z as ee}from"./chunk-CTTXKPH2.js";import{a as je}from"./chunk-EURTYAWN.js";import{p as $t,y as Ht}from"./chunk-CT5YU3F2.js";import{e as Bt,h as jt,j as ut}from"./chunk-B5NVKW3K.js";import{G as Lt,H as Ve,I as De,i as ge,j as oe,k as L,l as Fe,m as Pe,n as Vt,w as Dt,z as A}from"./chunk-MRC2PHN7.js";import{$ as he,Bb as Oe,Bd as kt,Cd as Rt,Dd as we,Eb as ct,Ec as s,Fa as T,Fc as t,Fd as At,Gc as e,Hc as c,Ic as H,Id as h,J as Et,Ja as ie,Jb as l,Jc as R,Jd as g,L as Ct,Lc as J,Mc as Q,Nd as Ot,Ob as M,Od as le,Qc as F,Sa as x,T as ve,Ta as y,Wb as v,Xa as bt,Xc as S,Yc as Ft,Zc as d,bc as N,bd as Ee,cc as k,cd as Ce,dd as be,g as dt,gc as f,hd as ne,i as xt,kd as Pt,ld as i,md as u,n
1d as _,od as It,sd as Tt,td as Mt,uc as wt,ud as Nt,xc as W,yd as se,z as yt,zc as Y}from"./chunk-77LCFR2D.js";import{a as ye,b as Ae,l as I}from"./chunk-6G35VSEK.js";var an=o=>[o];function rn(o,m){if(o&1&&(t(0,"div",31),i(1),h(2,"translate"),e()),o&2){let n=d();l(),u(g(2,1,n.errorMessage))}}function ln(o,m){o&1&&(J(0),i(1),h(2,"translate"),Q()),o&2&&(l(),_(" ",g(2,1,"Authenticate")," "))}function sn(o,m){o&1&&(c(0,"span",32),i(1),h(2,"translate")),o&2&&(l(),_(" ",g(2,1,"Authenticating...")," "))}function mn(o,m){o&1&&(J(0),i(1),h(2,"translate"),Q()),o&2&&(l(),_(" ",g(2,1,"Resend OTP")," "))}function pn(o,m){o&1&&(c(0,"span",32),i(1),h(2,"translate")),o&2&&(l(),_(" ",g(2,1,"Resending...")," "))}function dn(o,m){o&1&&(t(0,"div",33)(1,"p",34),i(2,"New one-time password has been sent to your email."),e()())}function cn(o,m){o&1&&(i(0," contact us at "),t(1,"a",38),i(2,"[email protected]"),e(),i(3,". "))}function un(o,m){o&1&&(t(0,"a",37),i(1,"contact our team directly."),e())}function fn(o,m){if(o&1&&(t(0,"div",35)(1,"p",36),i(2," Haven't received a one-time password? Please check your spam filter, or "),W(3,cn,4,0)(4,un,2,0,"a",37),e()()),o&2){let n=d();l(3),Y(n.bespokeService.isAseanItsm2026?3:4)}}var Qe=(()=>{class o{constructor(){this.formBuilder=ie(K),this.auth=ie(D),this.registerService=ie(q),this.recaptchaService=ie(qe),this.clockSkew=ie(ft),this.bespokeService=ie(Me),this.success=new M,this.signin=new M,this.forgotPasswordClicked=new M,this.errorMessage="",this.isLoading=!1,this.isResendLoading=!1,this.attemp1=!1,this.passwordType="password",this.passwordValidations=[E.required,E.minLength(8),He],this.optPasswordValidations=[E.required,E.maxLength(6),oi()]}ngOnInit(){this.eventDetail=this.registerService.getEventDetails(),this.authForm=this.formBuilder.group({username:[this.emailToVerify,[E.required,E.email]],otpCode:["",this.passwordValidations],password:["",this.optPasswordValidations]}),this.emailToVerify&&this.username&&this.emailToVerify&&(this.username.setValue(this.emailToVerify),this.username.disable()),this.password.valueChanges.pipe(ve(100),he()).subscribe(n=>{n?(this.otpCode.disable(),this.otpCode.setValidators([]),this.otpCode.updateValueAndValidity(),this.password.setValidators(this.passwordValidations),this.password.updateValueAndValidity()):this.otpCode.enable()}),this.otpCode.valueChanges.pipe(ve(100),he()).subscribe(n=>{n?(this.password.disable(),this.password.setValidators([]),this.password.updateValueAndValidity(),this.otpCode.setValidators(this.optPasswordValidations),this.otpCode.updateValueAndValidity()):this.password.enable()})}ngAfterViewInit(){this.recaptchaService.recaptchaV3Action(this.emailToVerify,"auth_confirm_form_page_load",!1,!1)}get username(){return this.authForm.get("username")}get password(){return this.authForm.get("password")}get otpCode(){return this.authForm.get("otpCode")}resend(){return I(this,null,function*(){this.isResendLoading=!0,this.errorMessage="";let n="Encountered a problem on resend one-time password please try again.";try{this.username.value&&(yield this.registerService.generateOTP(this.username.value)).success===0&&(this.errorMessage=n)}catch(a){console.error("Resend OTP error:",a),this.errorMessage=n}this.attemp1=!0,this.isResendLoading=!1})}onSubmit(){return I(this,null,function*(){if(this.authForm.invalid)return;if(this.isLoading=!0,this.errorMessage="",yield this.clockSkew.isDeviceClockSkewed()){this.errorMessage=ft.MESSAGE,this.isLoading=!1;return}let n=!!this.password.value;try{n&&(yield this.handlePasswordAuthentication()),this.otpCode.value&&(yield this.handleOtpAuthentication())}catch(a){this.errorMessage="Encountered a problem on authentication process please try again.",n&&a.name==="NotAuthorizedException"&&(this.errorMessage="Incorrect password. Please try again.")}this.isLoading=!1})}handlePasswordAuthentication(){return I(this,null,function*(){let n=yield this.getVerificationToken(),a=yield this.auth.signIn(this.username.value,this.password.value,{verificationToken:n});a.challengeName!=="NOMFA"?this.signin.emit(a):this.success.emit(this.username.value)})}getVerificationToken(){return I(this,null,function*(){try{let n=yield this.recaptchaService.recaptchaV3Action(this.username.value);
1if(typeof n!="string")throw new Error("Recaptcha verification failed");return n}catch(n){throw new Error(n)}})}handleOtpAuthentication(){return I(this,null,function*(){yield Wt({username:this.username.value,options:{authFlowType:"CUSTOM_WITHOUT_SRP"}}),(yield Jt({challengeResponse:this.otpCode.value,options:{clientMetadata:{event:this.eventDetail?.url,type:"register"}}})).isSignedIn?(yield Ht(),yield this.auth.currentAuthenticatedUser(),this.success.emit(this.username.value)):this.errorMessage="Invalid one-time password. Please try again."})}showPassword(){this.passwordType=this.passwordType==="password"?"text":"password"}forgotPassword(){if(this.bespokeService.isAseanItsm2026){this.forgotPasswordClicked.emit();return}let n=encodeURIComponent(this.username.value),a=this.eventDetail?.url?`&eventUrl=${encodeURIComponent(this.eventDetail.url)}`:"";window.open(window.location.origin+`/auth/forgot?email=${n}${a}`,"_blank")}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=N({type:o,selectors:[["app-auth-confirm-form"]],inputs:{emailToVerify:"emailToVerify"},outputs:{success:"success",signin:"signin",forgotPasswordClicked:"forgotPasswordClicked"},decls:47,vars:32,consts:[["loadingAnimation",""],["resendLoadingAnimation",""],[3,"ngSubmit","formGroup","ngClass"],[1,"form-group"],[1,"input-group","mb-3"],[1,"input-group-text"],[1,"bi","bi-envelope"],["type","email","formControlName","username","required","",1,"form-control",3,"placeholder"],["label","Email",3,"control"],[1,"input-group"],[1,"bi","bi-lock"],["formControlName","password","autocomplete","off",1,"form-control","border-end-0",3,"placeholder","type"],[1,"input-group-text","show-password",3,"click"],[1,"bi","bi-eye-fill"],["label","Password",3,"control"],["translate","",1,"my-1","float-end",3,"click"],[1,"flex","or-div"],[1,"bi","bi-shield-lock"],["type","text","formControlName","otpCode","oninput","this.value = this.value.toUpperCase()",1,"form-control",3,"placeholder"],[1,"input-group-text","info-tootltip"],[1,"bi","bi-info-circle",3,"ngbTooltip"],["label","OTP Password",3,"control"],["class","text-danger mb-3",4,"ngIf"],[1,"row","mt-3"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-100",3,"disabled"],[4,"ngIf","ngIfElse"],["translate","",1,"col-auto","text-center"],["type","button",1,"custom-btn","custom-btn-primary","custom-btn-outline","ms-1",3,"click","disabled"],["class","resend-message col-auto",4,"ngIf"],["class","col-auto",4,"ngIf"],[1,"text-danger","mb-3"],[1,"spinner-grow","spinner-grow-sm","me-1"],[1,"resend-message","col-auto"],["translate","",1,"text-primary"],[1,"col-auto"],["translate","",1,"pt-3","ms-1"],["href","https://www.canapii.com/company/contact-us","target","_blank","translate",""],["href","mailto:[email protected]"]],template:function(a,r){if(a&1){let p=F();t(0,"form",2),S("ngSubmit",function(){return x(p),y(r.onSubmit())}),t(1,"div",3)(2,"div",4)(3,"div",5),c(4,"i",6),e(),c(5,"input",7),h(6,"translate"),e(),c(7,"app-form-control-error",8),e(),t(8,"div",3)(9,"div",9)(10,"div",5),c(11,"i",10),e(),c(12,"input",11),h(13,"translate"),t(14,"div",12),S("click",function(){return x(p),y(r.showPassword())}),c(15,"i",13),e()(),c(16,"app-form-control-error",14),t(17,"a",15),S("click",function(){return x(p),y(r.forgotPassword())}),i(18,"Forgot your password?"),e()(),t(19,"div",16)(20,"p"),i(21,"OR"),e()(),t(22,"div",3)(23,"div",9)(24,"div",5),c(25,"i",17),e(),c(26,"input",18),h(27,"translate"),t(28,"div",19),c(29,"i",20),h(30,"translate"),e()(),c(31,"app-form-control-error",21),e(),f(32,rn,3,3,"div",22),t(33,"div",23)(34,"div",24)(35,"button",25),f(36,ln,3,3,"ng-container",26)(37,sn,3,3,"ng-template",null,0,le),e()(),t(39,"div",27),i(40," Didn't get the otp? "),t(41,"button",28),S("click",function(){return x(p),y(r.resend())}),f(42,mn,3,3,"ng-container",26)(43,pn,3,3,"ng-template",null,1,le),e()(),f(45,dn,3,0,"div",29)(46,fn,5,1,"div",30),e()()}if(a&2){let p=ne(38),P=ne(44);s("formGroup",r.authForm)("ngClass",we(30,an,r.eventDetail?r.eventDetail.url:"")),l(5),s("placeholder",se(g(6,22,"Email"))),l(2),s("control",r.username),l(5),s("placeholder",se(g(13,24,"Password")))("type",r.passwordType),l(4),s("control",r.password),l(10),s("placeholder",se(g(27,26,"OTP Password"))),l(3),s("ngbTooltip",g(30,28,"Please enter the one-time password sent from your email")),l(2),s("control",r.otpCode),l(),s("ngIf",r.errorMessage),l(3),s("disabled",r.isLoading),l(
1),s("ngIf",!r.isLoading)("ngIfElse",p),l(5),s("disabled",r.isResendLoading),l(),s("ngIf",!r.isResendLoading)("ngIfElse",P),l(3),s("ngIf",!r.errorMessage&&r.attemp1),l(),s("ngIf",r.attemp1)}},dependencies:[C,U,$,B,j,Be,b,G,z,ge,ze,w,_e,Kt,L,ae],styles:[".global-ethics-summit[_ngcontent-%COMP%]   .custom-btn.custom-btn-primary[_ngcontent-%COMP%]{background:#72849c00;border-color:#ef516b;border-width:6px;color:#ef516b;font-family:Nunito,Roboto,-apple-system,sans-serif;font-weight:400;font-style:normal;letter-spacing:8px;border-style:solid;border-radius:2px;text-transform:uppercase;transition:all .2s;line-height:21px;font-size:18px}.global-ethics-summit[_ngcontent-%COMP%]   .custom-btn.custom-btn-primary[_ngcontent-%COMP%]:hover{background:#497388;border-color:#497388;border-width:6px;color:#fff}.show-password[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{background:#fff}.or-div[_ngcontent-%COMP%]{margin-left:45%}.resend-message[_ngcontent-%COMP%]{margin-top:10px}.resend-message[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;border:1px solid;padding:12px 15px;border-radius:6px;background:#fff9e8;line-height:20px;width:100%}[_nghost-%COMP%]     a{color:var(--ion-color-primary, #00afff)}"]})}}return o})();var Ui=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,Ke,w,qt,Qe]})}}return o})();var hn=o=>[o];function gn(o,m){o&1&&(t(0,"div")(1,"p",6),i(2,"Multi-factor authentication (MFA)"),e(),t(3,"p",7),i(4,"Your account has MFA activated for additional security."),e()())}function _n(o,m){o&1&&(t(0,"p",6),i(1,"Login"),e(),t(2,"p",7),i(3,"Login in with your email and password."),e())}function Sn(o,m){if(o&1){let n=F();t(0,"div"),f(1,gn,5,0,"div",4)(2,_n,4,0,"ng-template",null,1,le),t(4,"app-login",5),S("forgotpassword",function(){x(n);let r=d();return y(r.forgotpasswordShow())})("signup",function(){x(n);let r=d();return y(r.signupShow())})("validate",function(r){x(n);let p=d();return y(p.validateShow(r))}),e()()}if(o&2){let n=ne(3),a=d();l(),s("ngIf",a.loginPhase==="authenticate")("ngIfElse",n),l(3),s("cognitoUser",a.loginUser)("phase",a.loginPhase)}}function xn(o,m){o&1&&(t(0,"span",16),i(1,"Create your account"),e())}function yn(o,m){if(o&1){let n=F();t(0,"div")(1,"p")(2,"span",7),i(3," Note: You are proxy filling out this registration form on behalf of actual attendee. "),e(),t(4,"span",7),i(5,"Click "),e(),t(6,"a",17),S("click",function(r){x(n);let p=d(2),P=ne(7);return y(p.showProxyRoleInfo(r,P))}),t(7,"span",7),i(8,"here"),e()(),t(9,"span",7),i(10," for more details about your role."),e()()()}}function En(o,m){o&1&&(t(0,"p",7),i(1,"To register please create an account."),e())}function Cn(o,m){if(o&1&&(c(0,"markdown",18),h(1,"translate")),o&2){let n=d(2);s("data",g(1,1,n.header))}}function bn(o,m){o&1&&(t(0,"p",19),i(1,"Create a new account"),e())}function wn(o,m){if(o&1&&(c(0,"markdown",18),h(1,"translate")),o&2){let n=d(2);s("data",g(1,1,n.footer))}}function Fn(o,m){if(o&1){let n=F();t(0,"div")(1,"p",8)(2,"span",9),i(3,"Profile"),e(),f(4,xn,2,0,"span",10),e(),f(5,yn,11,0,"div",3)(6,En,2,0,"p",11)(7,Cn,2,3,"markdown",12)(8,bn,2,0,"p",13),t(9,"app-register",14),S("success",function(r){x(n);let p=d();return y(p.confimShow(r))})("signin",function(r){x(n);let p=d();return y(p.signinShow(r))})("authenticate",function(r){x(n);let p=d();return y(p.confirmAuthShow(r))})("activate",function(r){x(n);let p=d();return y(p.validateShow(r))}),e(),t(10,"div",15),f(11,wn,2,3,"markdown",12),e()()}if(o&2){let n=d();l(2),s("ngClass",n.isLenovoApIsoKickoff22?"isLenovoApIsoKickoff22":""),l(2),s("ngIf",n.isSiteminderSync),l(),s("ngIf",n.ticket.enableFullProxy),l(),s("ngIf",n.isEvps),l(),s("ngIf",n.header),l(),s("ngIf",n.isEvps),l(),s("organization",n.organization)("isRegistrantValidation",n.isRegistrantValidation)("nosignin",n.nosignin)("ticket",n.ticket),l(2),s("ngIf",n.footer)}}function Pn(o,m){if(o&1){let n=F();t(0,"div")(1,"h1",7),i(2,"Forgot your password?"),e(),t(3,"p",20),i(4,"No worries! Enter your email and we will send you a password reset code."),e(),t(5,"app-forgot-password",21),S("success",function(r){x(n);let p=d();return y(p.changePasswordShow(r))}),e()()}if(o&2){let n=d();l(5),s("event",n.event)("email",n.username)}}function In(o,m){if(o&1&&(t(0,"div")(1,"p",6),i(2,"Change password"),e(),c(3,"app-forgot-password-confirm",22),e()),o&2){let n=d();l(3),s("event",n.event)("email",n.username)}}function Tn(o,m){o&1&&(t(0,"p",7),i(1,' The EVPS platform is powered by Canapii. Canapii sent an email with the subject line: "Your Canapii verification code". '),e())}function Mn(o,m){if(o&1&&(t(0,"p",7),i(1),e()),o&2){let n=d(2);l(),_("Please enter the 6-digit code ",n.isAseanItsm2026?"":"Canapii has"," sent to your email.")}}function Nn(o,m){if(o&1&&(c(0,"markdown",18),h(1,"translate")),o&2){let n=d(2);s("data",g(1,1,n.footer))}}function kn(o,m){if(o&1){let n=F();t(0,"div")(1,"p",6),i(2,"Verify email"),e(),f(3,Tn,2,0,"p",23)(4,Mn,2,1,"ng-template",null,2,le),t(6,"app-confirm",24),S("success",function(r){x(n);let p=d();return y(p.confirmSuccess(r))})("authenticate",function(r){x(n);let p=d();return y(p.confirmAuthShow(r))}
1),e(),t(7,"div",25),f(8,Nn,2,3,"markdown",12),e()()}if(o&2){let n=ne(5),a=d();l(3),s("ngIf",a.isEvps)("ngIfElse",n),l(3),s("loginInfo",we(6,hn,a.loginInfo))("emailToVerify",a.username)("eventData",a.eventDetails),l(2),s("ngIf",a.footer)}}function Rn(o,m){if(o&1){let n=F();t(0,"div")(1,"p",6),i(2,"Authenticate your account"),e(),t(3,"p",7),i(4),e(),t(5,"app-auth-confirm-form",26),S("success",function(r){x(n);let p=d();return y(p.confirmSuccess(r))})("signin",function(r){x(n);let p=d();return y(p.signinShow(r))})("forgotPasswordClicked",function(){x(n);let r=d();return y(r.forgotpasswordShow())}),e()()}if(o&2){let n=d();l(4),_(" You already have ",n.isAseanItsm2026?"an":"a Canapii"," account. To complete registration, please authenticate your account with your password, or with the code in your email inbox. "),l(),s("emailToVerify",n.username)}}function An(o,m){if(o&1){let n=F();t(0,"div",27)(1,"h5",28)(2,"strong"),i(3,"Proxy role"),e()(),t(4,"button",29),S("click",function(){let r=x(n).$implicit;return y(r.dismiss("Cross click"))}),e()(),t(5,"div",30),i(6," As a proxy: "),t(7,"ul")(8,"li"),i(9),e(),t(10,"li"),i(11),e(),t(12,"li"),i(13),e()(),t(14,"p"),i(15),e()(),t(16,"div",31)(17,"button",32),S("click",function(){let r=x(n).$implicit;return y(r.close())}),i(18,"OK"),e()()}if(o&2){let n=d();l(9),_("you must have ",n.isAseanItsm2026?"an active account on the system":"a Canapii account",";"),l(2),_(" you agree to ",n.isAseanItsm2026?"the system's terms and conditions":"the terms and conditions of the Canapii platform"," on behalf of the attendee; and "),l(2),It(" you ",n.isAseanItsm2026?"may":"can"," choose to receive marketing updates for ",n.isAseanItsm2026?"yourself and for the attendee":"you and the attendee",". "),l(2),_(" If you proceed, ",n.isAseanItsm2026?"the system will verify":"Canapii will check"," your account. Please follow the instructions provided. ")}}var Ze=(()=>{class o{constructor(n,a,r,p,P,V,te,re,ce){this.auth=n,this.pageService=a,this.metaService=r,this.titleService=p,this.registerService=P,this.markdownService=V,this.modalService=te,this.recaptchaService=re,this.bespoke=ce,this.title="Login to your Account | Canapii",this.description="Log into your Canapii account.",this.success=new M,this.isRegistered=new M,this.isSigned=new M,this.nosignin=!1,this.isRegistrantValidation=!1,this.loginFlag=!1,this.registerFlag=!0,this.forgotFlag=!1,this.forgotConfirmFlag=!1,this.activateFlag=!1,this.isSiteminderSync=window.location.pathname.indexOf("siteminder-sync")!==-1,this.activateAuthFlag=!1,this.isEvps=window.location.pathname.indexOf("evps")!==-1,this.footer="",this.header="",this.force=!1,this.isLenovoApIsoKickoff22=!1,this.isAseanItsm2026=this.bespoke.isAseanItsm2026,this.titleService.setTitle(this.title),this.metaService.updateTag({name:"description",content:this.description})}ngOnInit(){this.organization&&(this.isRegistrantValidation=!0),this.isLenovoApIsoKickoff22=this.event.url.indexOf("lenovo-ap-iso-kickoff-22")!==-1,this.authSubscription$=this.auth.userSubject.subscribe(n=>{n&&this.success.emit(n)}),this.onTicketChange$=this.registerService.onTicketChange.subscribe(n=>{n&&(this.ticket=n.ticket,this.eventDetails=n.event,!this.ticket.registrationTheme||this.ticket.registrationTheme===""?this.registrationTheme=this.eventDetails.theme:this.registrationTheme=this.ticket.registrationTheme,document.body.classList.add(this.registrationTheme+"-mode"),document.documentElement.setAttribute("data-bs-theme",this.registrationTheme))}),this.getHeaderAndFooter()}ngAfterViewInit(){this.recaptchaService.recaptchaV3Action("","auth_page_load",!1,!1)}ngOnDestroy(){this.authSubscription$.unsubscribe()}signinShow(n){n?.challengeName&&n.challengeName!=="NOMFA"&&(this.loginUser=n,this.loginPhase="authenticate"),this.loginFlag=!0,this.registerFlag=!1,this.forgotFlag=!1,this.forgotConfirmFlag=!1,this.activateFlag=!1,this.activateAuthFlag=!1}forgotpasswordShow(){this.loginFlag=!1,this.registerFlag=!1,this.forgotFlag=!0,this.forgotConfirmFlag=!1,this.activateFlag=!1,this.activateAuthFlag=!1}signupShow(){this.loginFlag=!1,this.registerFlag=!0,this.forgotFlag=!1,this.forgotConfirmFlag=!1,this.activateFlag=!1,this.activateAuthFlag=!1}confimShow(n){return I(this,null,function*(){this.isRegistered.emit(n),this.loginInfo=$t(),sessionStorage.setItem(this.loginInfo,JSON.stringify({username:n.username,password:n.password})),this.username=n.username,this.loginFlag=!1,this.registerFlag=!1,this.forgotFlag=!1,this.forgotConfirmFlag=!1,this.activateFlag=!0,this.activateAuthFlag=!1})}confirmAuthShow(n){return I(this,null,function*(){this.isRegistered.emit(n),sessionStorage.setItem(this.loginInfo,JSON.stringify({username:n.username})),this.username=n.username,this.loginFlag=!1,this.registerFlag=!1,this.forgotFlag=!1,this.forgotConfirmFlag=!1,this.activateFlag=!1,this.activateAuthFlag=!0})}changePasswordShow(n){this.username=n,this.loginFlag=!1,this.registerFlag=!1,this.forgotFlag=!1,this.forgotConfirmFlag=!0,this.activateFlag=!1,this.activateAuthFlag=!1}confirmSuccess(n){this.username=n,this.ticket?.proxyRegistration===!0&&this.attemptLogin(),this.signinShow()}validateShow(n){return I(this,null,function*(){try{yield Yt({username:n.username})}catch(a){console.error("[auth] resend verification code failed",a)}this.confimShow(n)})}getHeaderAndFooter(){this.event&&this.pageService.getPage("header-footer",this.event.url).then(n=>{if(n?.data){this.footer=n.data.footer||"",this.header=n.data.header||"";let a=this.markdownService.renderer;this.oldLinkRenderer=a.link,this.markdownService.renderer.link=r=>this.oldLinkRenderer.call(a,r).replace(/^<a /,'<a target="_blank" rel="nofollow" ')}})}attemptLogin(){return I(this,null,function*(){let n=sessionStorage.getItem(this.loginInfo);sessionStorage.removeItem(this.loginInfo);try{if(n&&(n=JSON.parse(n)),n.password){let a="";try{let r=yield this.recaptchaService.recaptchaV3Action(n.username,"login",!0,!0);if(typeof r!="string")throw new Error("Recaptcha verification failed");a=r}catch(r){throw new Error(r)}yield this.auth.signIn(n.username,n.password,{verificationToken:a}),this.success.emit(this.username.value)}else yield this.nextAuthenicate()}catch(a){console.error("Login failed",a)}})}nextAuthenicate(){return I(this,null,function*(){(yield this.registerService.generateOTP(this.username.value)).success===1&&this.confirmAuthShow({username:this.username.value})})}showProxyRoleInfo(n,a){n&&n.preventDefault(),this.modalService.open(a)}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(Je),v(Lt),v(Ve),v(q),v(Zt),v(ue),v(qe),v(Me))}}static{this.\u0275cmp=N({type:o,selectors:[["app-auth"]],inputs:{organization:"organization",nosignin:"nosignin",ticket:"ticket",event:"event"},outputs:{success:"success",isRegistered:"isRegistered",isSigned:"isSigned"},decls:8,vars:6,consts:[["proxyRoleInfo",""],["loginForm",""],["notEvps",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[3,"forgotpassword","signup","validate","cognitoUser","phase"],["translate","",1,"h1"],["translate",""],[1,"h1"],["translate","",1,"default",3,"ngClass"],["class","siteminder","translate","",4,"ngIf"],["translate","",4,"ngIf"],[3,"data",4,"ngIf"],["class","h3","translate","",4,"ngIf"],[3,"success","signin","authenticate","activate","organization","isRegistrantValidation","nosignin","ticket"],[1,"mt-2"],["translate","",1,"siteminder"],["href","#",1,"text-primary",3,"click"],[3,"data"],["translate","",1,"h3"],["translate","",1,"mb-3"],[3,"success","event","email"],[3,"event","email"],["translate","",4,"ngIf","ngIfElse"],[3,"success","authenticate","loginInfo","emailToVerify","eventData"],[1,"mt-4"],[3,"success","signin","forgotPasswordCl
1icked","emailToVerify"],[1,"modal-header"],[1,"modal-title"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"modal-body"],[1,"modal-footer"],[1,"btn","btn-primary",3,"click"]],template:function(a,r){a&1&&f(0,Sn,5,4,"div",3)(1,Fn,12,11,"div",3)(2,Pn,6,2,"div",3)(3,In,4,2,"div",3)(4,kn,9,8,"div",3)(5,Rn,6,2,"div",3)(6,An,19,5,"ng-template",null,0,le),a&2&&(s("ngIf",r.loginFlag),l(),s("ngIf",r.registerFlag),l(),s("ngIf",r.forgotFlag),l(),s("ngIf",r.forgotConfirmFlag),l(),s("ngIf",r.activateFlag),l(),s("ngIf",r.activateAuthFlag))},dependencies:[L,w,_e,ii,ge,Xt,ai,li,di,mi,Qe,ae],styles:['.isLenovoApIsoKickoff22[_ngcontent-%COMP%]{font-family:Nunito,Roboto,-apple-system,sans-serif!important;--ion-font-family: "Nunito", "Roboto", -apple-system, sans-serif !important}[_nghost-%COMP%]     a{color:var(--ion-color-primary, #00afff)!important}']})}}return o})();var zi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,pi,Ge,Ui,ni,w,si,ci,ri,ei,Ze]})}}return o})();var Xe=(()=>{class o{constructor(n,a){this.auth=n,this.formBuilder=a,this.success=new M}ngOnInit(){this.profileForm=this.formBuilder.group({assistantName:["",[]],assistantEmail:["",[]],assistantMobile:["",[]],country:["",[E.required]],type:["",[]]}),this.userSubscription$=this.auth.userSubject.subscribe(n=>{console.log(n),this.user=n})}ngOnDestroy(){this.userSubscription$.unsubscribe()}next(){this.success.emit({assistantName:this.profileForm.get("assistantName").value,assistantEmail:this.profileForm.get("assistantEmail").value,assistantMobile:this.profileForm.get("assistantMobile").value,country:this.profileForm.get("country").value,type:this.profileForm.get("type").value})}checked(){let n=[],a=this.profileForm.controls;for(let r in a)a[r].invalid&&(n.push(r),console.log(r))}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K))}}static{this.\u0275cmp=N({type:o,selectors:[["app-evps-form"]],outputs:{success:"success"},decls:555,vars:8,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],[1,"border-top","my-4"],[1,"form-group","required"],["formControlName","country",1,"form-select"],["value","Afghanistan"],["value","\xC5land Islands"],["value","Albania"],["value","Algeria"],["value","American Samoa"],["value","Andorra"],["value","Angola"],["value","Anguilla"],["value","Antarctica"],["value","Antigua and Barbuda"],["value","Argentina"],["value","Armenia"],["value","Aruba"],["value","Australia"],["value","Austria"],["value","Azerbaijan"],["value","Bahamas"],["value","Bahrain"],["value","Bangladesh"],["value","Barbados"],["value","Belarus"],["value","Belgium"],["value","Belize"],["value","Benin"],["value","Bermuda"],["value","Bhutan"],["value","Bolivia"],["value","Bosnia and Herzegovina"],["value","Botswana"],["value","Bouvet Island"],["value","Brazil"],["value","British Indian Ocean Territory"],["value","Brunei Darussalam"],["value","Bulgaria"],["value","Burkina Faso"],["value","Burundi"],["value","Cambodia"],["value","Cameroon"],["value","Canada"],["value","Cape Verde"],["value","Cayman Islands"],["value","Central African Republic"],["value","Chad"],["value","Chile"],["value","China"],["value","Christmas Island"],["value","Cocos (Keeling) Islands"],["value","Colombia"],["value","Comoros"],["value","Congo"],["value","Congo, The Democratic Republic of The"],["value","Cook Islands"],["value","Costa Rica"],["value","Cote D'ivoire"],["value","Croatia"],["value","Cuba"],["value","Cyprus"],["value","Czech Republic"],["value","Denmark"],["value","Djibouti"],["value","Dominica"],["value","Dominican Republic"],["value","Ecuador"],["value","Egypt"],["value","El Salvador"],["value","Equatorial Guinea"],["value","Eritrea"],["value","Estonia"],["value","Ethiopia"],["value","Falkland Islands (Malvinas)"],["value","Faroe Islands"],["value","Fiji"],["value","Finland"],["value","France"],["value","French Guiana"],["value","French Polynesia"],["value","French Southern Territories"],["value","Gabon"],["value","Gambia"],["value","Georgia"],["value","Germany"],["value","Ghana"],["value","G
1ibraltar"],["value","Greece"],["value","Greenland"],["value","Grenada"],["value","Guadeloupe"],["value","Guam"],["value","Guatemala"],["value","Guernsey"],["value","Guinea"],["value","Guinea-bissau"],["value","Guyana"],["value","Haiti"],["value","Heard Island and Mcdonald Islands"],["value","Holy See (Vatican City State)"],["value","Honduras"],["value","Hong Kong"],["value","Hungary"],["value","Iceland"],["value","India"],["value","Indonesia"],["value","Iran, Islamic Republic of"],["value","Iraq"],["value","Ireland"],["value","Isle of Man"],["value","Israel"],["value","Italy"],["value","Jamaica"],["value","Japan"],["value","Jersey"],["value","Jordan"],["value","Kazakhstan"],["value","Kenya"],["value","Kiribati"],["value","Korea, Democratic People's Republic of Korea (DPRK)"],["value","Korea, Republic of Korea (ROK)"],["value","Kuwait"],["value","Kyrgyzstan"],["value","Lao People's Democratic Republic"],["value","Latvia"],["value","Lebanon"],["value","Lesotho"],["value","Liberia"],["value","Libyan Arab Jamahiriya"],["value","Liechtenstein"],["value","Lithuania"],["value","Luxembourg"],["value","Macao"],["value","Macedonia, The Former Yugoslav Republic of"],["value","Madagascar"],["value","Malawi"],["value","Malaysia"],["value","Maldives"],["value","Mali"],["value","Malta"],["value","Marshall Islands"],["value","Martinique"],["value","Mauritania"],["value","Mauritius"],["value","Mayotte"],["value","Mexico"],["value","Micronesia, Federated States of"],["value","Moldova, Republic of"],["value","Monaco"],["value","Mongolia"],["value","Montenegro"],["value","Montserrat"],["value","Morocco"],["value","Mozambique"],["value","Myanmar"],["value","Namibia"],["value","Nauru"],["value","Nepal"],["value","Netherlands"],["value","Netherlands Antilles"],["value","New Caledonia"],["value","New Zealand"],["value","Nicaragua"],["value","Niger"],["value","Nigeria"],["value","Niue"],["value","Norfolk Island"],["value","Northern Mariana Islands"],["value","Norway"],["value","Oman"],["value","Pakistan"],["value","Palau"],["value","Panama"],["value","Papua New Guinea"],["value","Paraguay"],["value","Peru"],["value","Philippines"],["value","Pitcairn"],["value","Poland"],["value","Portugal"],["value","Puerto Rico"],["value","Qatar"],["value","Reunion"],["value","Romania"],["value","Russian Federation"],["value","Rwanda"],["value","Saint Helena"],["value","Saint Kitts and Nevis"],["value","Saint Lucia"],["value","Saint Pierre and Miquelon"],["value","Saint Vincent and The Grenadines"],["value","Samoa"],["value","San Marino"],["value","Sao Tome and Principe"],["value","Saudi Arabia"],["value","Senegal"],["value","Serbia"],["value","Seychelles"],["value","Sierra Leone"],["value","Singapore"],["value","Slovakia"],["value","Slovenia"],["value","Solomon Islands"],["value","Somalia"],["value","South Africa"],["value","South Georgia and The South Sandwich Islands"],["value","Spain"],["value","Sri Lanka"],["value","State of Palestine"],["value","Sudan"],["value","Suriname"],["value","Svalbard and Jan Mayen"],["value","Swaziland"],["value","Sweden"],["value","Switzerland"],["value","Syrian Arab Republic"],["value","Taiwan"],["value","Tajikistan"],["value","Tanzania, United Republic of"],["value","Thailand"],["value","Timor-leste"],["value","Togo"],["value","Tokelau"],["value","Tonga"],["value","Trinidad and Tobago"],["value","Tunisia"],["value","Turkey"],["value","Turkmenistan"],["value","Turks and Caicos Islands"],["value","Tuvalu"],["value","Uganda"],["value","Ukraine"],["value","United Arab Emirates"],["value","United Kingdom"],["value","United States"],["value","United States Minor Outlying Islands"],["value","Uruguay"],["value","Uzbekistan"],["value","Vanuatu"],["value","Venezuela"],["value","Vietnam"],["value","Virgin Islands, British"],["value","Virgin Islands, U.S."],["value","Wallis and Futuna"],["value","Western Sahara"],["value","Yemen"],["value","Zambia"],["value","Zimbabwe"],["formControlName","assistantName","type","text",1,"form-control"],["formControlName","assistantEmail","type","text",1,"form-control"],["formControlName","assistantMobile","type","text",1,"form-control"],[1,"form-check"],["formControlName","type","type","radio","id","exampleRadios1","value","Tech Data Employee",1,"form-check-input"],["for","exampleRadios1",1,"form-check-label"],["formControlName","type","type","radio","id","exampleRadios2","value","Vendor partner",1,"form-check-input"],["for","exampleRadios2",1,"form-check-label"],[1,"row"],[1,"col"],["type","submit",1,"btn","btn-primary","btn-block",3,"disabled"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Title"),e(),t(14,"div",3),i(1
15),e()(),t(16,"div",1)(17,"label",2),i(18,"Company"),e(),t(19,"div",3),i(20),e()(),t(21,"div",1)(22,"label",2),i(23,"Mobile phone"),e(),t(24,"div",3),i(25),e()(),t(26,"div",1)(27,"label",2),i(28,"Email address"),e(),t(29,"div",3),i(30),e()(),c(31,"div",4),t(32,"p"),i(33,"Further information to add to your profile"),e(),t(34,"div",5)(35,"label",2),i(36,"Country"),e(),t(37,"select",6)(38,"option",7),i(39,"Afghanistan"),e(),t(40,"option",8),i(41,"\xC5land Islands"),e(),t(42,"option",9),i(43,"Albania"),e(),t(44,"option",10),i(45,"Algeria"),e(),t(46,"option",11),i(47,"American Samoa"),e(),t(48,"option",12),i(49,"Andorra"),e(),t(50,"option",13),i(51,"Angola"),e(),t(52,"option",14),i(53,"Anguilla"),e(),t(54,"option",15),i(55,"Antarctica"),e(),t(56,"option",16),i(57,"Antigua and Barbuda"),e(),t(58,"option",17),i(59,"Argentina"),e(),t(60,"option",18),i(61,"Armenia"),e(),t(62,"option",19),i(63,"Aruba"),e(),t(64,"option",20),i(65,"Australia"),e(),t(66,"option",21),i(67,"Austria"),e(),t(68,"option",22),i(69,"Azerbaijan"),e(),t(70,"option",23),i(71,"Bahamas"),e(),t(72,"option",24),i(73,"Bahrain"),e(),t(74,"option",25),i(75,"Bangladesh"),e(),t(76,"option",26),i(77,"Barbados"),e(),t(78,"option",27),i(79,"Belarus"),e(),t(80,"option",28),i(81,"Belgium"),e(),t(82,"option",29),i(83,"Belize"),e(),t(84,"option",30),i(85,"Benin"),e(),t(86,"option",31),i(87,"Bermuda"),e(),t(88,"option",32),i(89,"Bhutan"),e(),t(90,"option",33),i(91,"Bolivia"),e(),t(92,"option",34),i(93,"Bosnia and Herzegovina"),e(),t(94,"option",35),i(95,"Botswana"),e(),t(96,"option",36),i(97,"Bouvet Island"),e(),t(98,"option",37),i(99,"Brazil"),e(),t(100,"option",38),i(101,"British Indian Ocean Territory"),e(),t(102,"option",39),i(103,"Brunei Darussalam"),e(),t(104,"option",40),i(105,"Bulgaria"),e(),t(106,"option",41),i(107,"Burkina Faso"),e(),t(108,"option",42),i(109,"Burundi"),e(),t(110,"option",43),i(111,"Cambodia"),e(),t(112,"option",44),i(113,"Cameroon"),e(),t(114,"option",45),i(115,"Canada"),e(),t(116,"option",46),i(117,"Cape Verde"),e(),t(118,"option",47),i(119,"Cayman Islands"),e(),t(120,"option",48),i(121,"Central African Republic"),e(),t(122,"option",49),i(123,"Chad"),e(),t(124,"option",50),i(125,"Chile"),e(),t(126,"option",51),i(127,"China"),e(),t(128,"option",52),i(129,"Christmas Island"),e(),t(130,"option",53),i(131,"Cocos (Keeling) Islands"),e(),t(132,"option",54),i(133,"Colombia"),e(),t(134,"option",55),i(135,"Comoros"),e(),t(136,"option",56),i(137,"Congo"),e(),t(138,"option",57),i(139,"Congo, The Democratic Republic of The"),e(),t(140,"option",58),i(141,"Cook Islands"),e(),t(142,"option",59),i(143,"Costa Rica"),e(),t(144,"option",60),i(145,"Cote D'ivoire"),e(),t(146,"option",61),i(147,"Croatia"),e(),t(148,"option",62),i(149,"Cuba"),e(),t(150,"option",63),i(151,"Cyprus"),e(),t(152,"option",64),i(153,"Czech Republic"),e(),t(154,"option",65),i(155,"Denmark"),e(),t(156,"option",66),i(157,"Djibouti"),e(),t(158,"o
1ption",67),i(159,"Dominica"),e(),t(160,"option",68),i(161,"Dominican Republic"),e(),t(162,"option",69),i(163,"Ecuador"),e(),t(164,"option",70),i(165,"Egypt"),e(),t(166,"option",71),i(167,"El Salvador"),e(),t(168,"option",72),i(169,"Equatorial Guinea"),e(),t(170,"option",73),i(171,"Eritrea"),e(),t(172,"option",74),i(173,"Estonia"),e(),t(174,"option",75),i(175,"Ethiopia"),e(),t(176,"option",76),i(177,"Falkland Islands (Malvinas)"),e(),t(178,"option",77),i(179,"Faroe Islands"),e(),t(180,"option",78),i(181,"Fiji"),e(),t(182,"option",79),i(183,"Finland"),e(),t(184,"option",80),i(185,"France"),e(),t(186,"option",81),i(187,"French Guiana"),e(),t(188,"option",82),i(189,"French Polynesia"),e(),t(190,"option",83),i(191,"French Southern Territories"),e(),t(192,"option",84),i(193,"Gabon"),e(),t(194,"option",85),i(195,"Gambia"),e(),t(196,"option",86),i(197,"Georgia"),e(),t(198,"option",87),i(199,"Germany"),e(),t(200,"option",88),i(201,"Ghana"),e(),t(202,"option",89),i(203,"Gibraltar"),e(),t(204,"option",90),i(205,"Greece"),e(),t(206,"option",91),i(207,"Greenland"),e(),t(208,"option",92),i(209,"Grenada"),e(),t(210,"option",93),i(211,"Guadeloupe"),e(),t(212,"option",94),i(213,"Guam"),e(),t(214,"option",95),i(215,"Guatemala"),e(),t(216,"option",96),i(217,"Guernsey"),e(),t(218,"option",97),i(219,"Guinea"),e(),t(220,"option",98),i(221,"Guinea-bissau"),e(),t(222,"option",99),i(223,"Guyana"),e(),t(224,"option",100),i(225,"Haiti"),e(),t(226,"option",101),i(227,"Heard Island and Mcdonald Islands"),e(),t(228,"option",102),i(229,"Holy See (Vatican City State)"),e(),t(230,"option",103),i(231,"Honduras"),e(),t(232,"option",104),i(233,"Hong Kong"),e(),t(234,"option",105),i(235,"Hungary"),e(),t(236,"option",106),i(237,"Iceland"),e(),t(238,"option",107),i(239,"India"),e(),t(240,"option",108),i(241,"Indonesia"),e(),t(242,"option",109),i(243,"Iran, Islam
1ic Republic of"),e(),t(244,"option",110),i(245,"Iraq"),e(),t(246,"option",111),i(247,"Ireland"),e(),t(248,"option",112),i(249,"Isle of Man"),e(),t(250,"option",113),i(251,"Israel"),e(),t(252,"option",114),i(253,"Italy"),e(),t(254,"option",115),i(255,"Jamaica"),e(),t(256,"option",116),i(257,"Japan"),e(),t(258,"option",117),i(259,"Jersey"),e(),t(260,"option",118),i(261,"Jordan"),e(),t(262,"option",119),i(263,"Kazakhstan"),e(),t(264,"option",120),i(265,"Kenya"),e(),t(266,"option",121),i(267,"Kiribati"),e(),t(268,"option",122),i(269," Korea, Democratic People's Republic of Korea (DPRK) "),e(),t(270,"option",123),i(271,"Korea, Republic of Korea (ROK)"),e(),t(272,"option",124),i(273,"Kuwait"),e(),t(274,"option",125),i(275,"Kyrgyzstan"),e(),t(276,"option",126),i(277,"Lao People's Democratic Republic"),e(),t(278,"option",127),i(279,"Latvia"),e(),t(280,"option",128),i(281,"Lebanon"),e(),t(282,"option",129),i(283,"Lesotho"),e(),t(284,"option",130),i(285,"Liberia"),e(),t(286,"option",131),i(287,"Libyan Arab Jamahiriya"),e(),t(288,"option",132),i(289,"Liechtenstein"),e(),t(290,"option",133),i(291,"Lithuania"),e(),t(292,"option",134),i(293,"Luxembourg"),e(),t(294,"option",135),i(295,"Macao"),e(),t(296,"option",136),i(297,"Macedonia, The Former Yugoslav Republic of"),e(),t(298,"option",137),i(299,"Madagascar"),e(),t(300,"option",138),i(301,"Malawi"),e(),t(302,"option",139),i(303,"Malaysia"),e(),t(304,"option",140),i(305,"Maldives"),e(),t(306,"option",141),i(307,"Mali"),e(),t(308,"option",142),i(309,"Malta"),e(),t(310,"option",143),i(311,"Marshall Islands"),e(),t(312,"option",144),i(313,"Martinique"),e(),t(314,"option",145),i(315,"Mauritania"),e(),t(316,"option",146),i(317,"Mauritius"),e(),t(318,"option",147),i(319,"Mayotte"),e(),t(320,"option",148),i(321,"Mexico"),e(),t(322,"option",149),i(323,"Micronesia, Federated States of"),e(),t(324,"option",150),i(325,"Moldova, Republic of"),e(),t(326,"option",151),i(327,"Monaco"),e(),t(328,"option",152),i(329,"Mongolia"),e(),t(330,"option",153),i(331,"Montenegro"),e(),t(332,"option",154),i(333,"Montserrat"),e(),t(334,"option",155),i(335,"Morocco"),e(),t(336,"option",156),i(337,"Mozambique"),e(),t(338,"option",157),i(339,"Myanmar"),e(),t(340,"option",158),i(341,"Namibia"),e(),t(342,"option",159),i(343,"Nauru"),e(),t(344,"option",160),i(345,"Nepal"),e(),t(346,"option",161),i(347,"Netherlands"),e(),t(348,"option",162),i(349,"Netherlands Antilles"),e(),t(350,"option",163),i(351,"New Caledonia"),e(),t(352,"option",164),i(353,"New Zealand"),e(),t(354,"option",165),i(355,"Nicaragua"),e(),t(356,"option",166),i(357,"Niger"),e(),t(358,"option",167),i(359,"Nigeria"),e(),t(360,"option",168),i(361,"Niue"),e(),t(362,"option",169),i(363,"Norfolk Island"),e(),t(364,"option",170),i(365,"Northern Mariana Islands"),e(),t(366,"option",171),i(367,"Norway"),e(),t(368,"option",172),i(369,"Oman"),e(),t(370,"option",173),i(371,"Pakistan"),e(),t(372,"option",174),i(373,"Palau"),e(),t(374,"option",175),i(375,"Panama"),e(),t(376,"option",176),i(377,"Papua New Guinea"),e(),t(378,"option",177),i(379,"Paraguay"),e(),t(380,"option",178),i(381,"Peru"),e(),t(382,"option",179),i(383,"Philippines"),e(),t(384,"option",180),i(385,"Pitcairn"),e(),t(386,"option",181),i(387,"Poland"),e(),t(388,"option",182),i(389,"Portugal"),e(),t(390,"option",183),i(391,"Puerto Rico"),e(),t(392,"option",184),i(393,"Qatar"),e(),t(394,"option",185),i(395,"Reunion"),e(),t(396,"option",186),i(397,"Romania"),e(),t(398,"option",187),i(399,"Russian Federation"),e(),t(400,"option",188),i(401,"Rwanda"),e(),t(402,"option",189),i(403,"Saint Helena"),e(),t(404,"option",190),i(405,"Saint Kitts and Nevis"),e(),t(406,"option",191),i(407,"Saint Lucia"),e(),t(408,"option",192),i(409,"Saint Pierre and Miquelon"),e(),t(410,"option",193),i(411,"Saint Vincent and The Grenadines"),e(),t(412,"option",194),i(413,"Samoa"),e(),t(414,"option",195),i(415,"San Marino"),e(),t(416,"option",196),i(417,"Sao Tome and Principe"),e(),t(418,"option",197),i(419,"Saudi Arabia"),e(),t(420,"option",198),i(421,"Senegal"),e(),t(422,"option",199),i(423,"Serbia"),e(),t(424,"option",200),i(425,"Seychelles"),e(),t(426,"option",201),i(427,"Sierra Leone"),e(),t(428,"option",202),i(429,"Singapore"),e(),t(430,"option",203),i(431,"Slovakia"),e(),t(432,"option",204),i(433,"Slovenia"),e(),t(434,"option",205),i(435,"Solomon Islands"),e(),t(436,"option",206),i(437,"Somalia"),e(),t(438,"option",207),i(439,"South Africa"),e(),t(440,"option",208),i(441,"South Georgia and The South Sandwich Islands"),e(),t(442,"option",209),i(443,"Spain"),e(),t(444,"option",210),i(445,"Sri Lanka"),e(),t(446,"option",211),i(447,"State of Palestine"),e(),t(448,"option",212),i(449,"Sudan"),e(),t(450,"option",213),i(451,"Suriname"),e(),t(452,"option",214),i(453,"Svalbard and Jan Mayen"),e(),t(454,"option",215),i(455,"Swaziland"),e(),t(456,"option",216),i(457,"Sweden"),e(),t(458,"option",217),i(459,"Switzerland"),e(),t(460,"option",218),i(461,"Syrian Arab Republic"),e(),t(462,"option",219),i(463,"Taiwan"),e(),t(464,"option",220),i(465,"Tajikistan"),e(),t(466,"option",221),i(467,"Tanzania, United Republic of"),e(),t(468,"option",222),i(469,"Thailand"),e(),t(470,"option",223),i(471,"Timor-leste"),e(),t(472,"option",224),i(473,"Togo"),e(),t(474,"option",225),i(475,"Tokelau"),e(),t(476,"option",226),i(477,"Tonga"),e(),t(478,"option",227),i(479,"Trinidad and Tobago"),e(),t(480,"option",228),i(481,"Tunisia"),e(),t(482,"option",229),i(483,"Turkey"),e(),t(484,"option",230),i(485,"Turkmenistan"),e(),t(486,"option",231),i(487,"Turks and Caicos Islands"),e(),t(488,"option",232),i(489,"Tuvalu"),e(),t(490,"option",233),i(491,"Uganda"),e(
1),t(492,"option",234),i(493,"Ukraine"),e(),t(494,"option",235),i(495,"United Arab Emirates"),e(),t(496,"option",236),i(497,"United Kingdom"),e(),t(498,"option",237),i(499,"United States"),e(),t(500,"option",238),i(501,"United States Minor Outlying Islands"),e(),t(502,"option",239),i(503,"Uruguay"),e(),t(504,"option",240),i(505,"Uzbekistan"),e(),t(506,"option",241),i(507,"Vanuatu"),e(),t(508,"option",242),i(509,"Venezuela"),e(),t(510,"option",243),i(511,"Vietnam"),e(),t(512,"option",244),i(513,"Virgin Islands, British"),e(),t(514,"option",245),i(515,"Virgin Islands, U.S."),e(),t(516,"option",246),i(517,"Wallis and Futuna"),e(),t(518,"option",247),i(519,"Western Sahara"),e(),t(520,"option",248),i(521,"Yemen"),e(),t(522,"option",249),i(523,"Zambia"),e(),t(524,"option",250),i(525,"Zimbabwe"),e()()(),t(526,"div",1)(527,"label",2),i(528,"Assistant name"),e(),c(529,"input",251),e(),t(530,"div",1)(531,"label",2),i(532,"Assistant email"),e(),c(533,"input",252),e(),t(534,"div",1)(535,"label",2),i(536,"Assistant telephone"),e(),c(537,"input",253),e(),t(538,"div",1)(539,"label",2),i(540,"Attendance type"),e(),t(541,"div",254),c(542,"input",255),t(543,"label",256),i(544," Tech data employee "),e()(),t(545,"div",254),c(546,"input",257),t(547,"label",258),i(548," Vendor partner "),e()()(),t(549,"div",259),c(550,"div",260)(551,"div",260),t(552,"div",260)(553,"button",261),i(554,"Next"),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes["custom:jobTitle"]),l(5),u(r.user.attributes["custom:company"]),l(5),u(r.user.attributes.phone_number),l(5),u(r.user.attributes.email),l(523),s("disabled",r.profileForm.invalid))},dependencies:[C,U,X,ee,$,Z,Le,B,j,b,G,z],styles:['.required[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]:after{content:" *";color:red}']})}}return o})();var Ki=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,Xe]})}}return o})();function On(o,m){o&1&&(t(0,"div",269),i(1),h(2,"translate"),e()),o&2&&(l(),_(" ",g(2,1,"Country is required.")," "))}function Vn(o,m){if(o&1&&(t(0,"option",270),i(1),e()),o&2){let n=m.$implicit;s("value",n.value),l(),u(n.label)}}function Dn(o,m){if(o&1&&(t(0,"div",271)(1,"label",3),i(2),h(3,"translate"),e(),c(4,"input",272),e()),o&2){let n=d();l(2),u(g(3,2,"Attendance Type")),l(2),s("value",n.type)}}function Ln(o,m){if(o&1&&(t(0,"option",270),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function Bn(o,m){o&1&&(t(0,"div",269),i(1),h(2,"translate"),e()),o&2&&(l(),_(" ",g(2,1,"Company type is required.")," "))}function jn(o,m){if(o&1){let n=F();t(0,"div",273)(1,"div",274)(2,"label")(3,"input",275),S("change",function(r){x(n);let p=d();return y(p.onCheckChange(r,"whichTechnologySpecializations"))}),e(),i(4),e()()()}if(o&2){let n=m.$implicit;l(3),s("value",n),l(),_(" ",n," ")}}function Un(o,m){o&1&&(t(0,"div",269),i(1),h(2,"translate"),e()),o&2&&(l(),_(" ",g(2,1,"Must select at least 1 technology specializations.")," "))}function Gn(o,m){if(o&1){let n=F();t(0,"div",273)(1,"div",274)(2,"label")(3,"input",275),S("change",function(r){x(n);let p=d();return y(p.onCheckChange(r,"whichProductCategories"))}),e(),i(4),e()()()}if(o&2){let n=m.$implicit;l(3),s("value",n),l(),_(" ",n," ")}}function zn(o,m){if(o&1){let n=F();t(0,"div",278)(1,"div",274)(2,"label")(3,"input",275),S("change",function(r){x(n);let p=d(2);return y(p.onCheckChange(r,"vendorWantToMeet"))}),e(),i(4),e()()()}if(o&2){let n=m.$implicit;l(3),s("value",n),l(),_(" ",n," ")}}function Kn(o,m){o&1&&(t(0,"div",269),i(1),h(2,"translate"),e()),o&2&&(l(),_(" ",g(2,1,"Must select at least 3 vendors.")," "))}function qn(o,m){if(o&1&&(t(0,"div",2)(1,"div",263)(2,"label",276),i(3),h(4,"translate"),e()(),t(5,"div",264),f(6,zn,5,2,"div",277),e(),f(7,Kn,3,3,"div",253),t(8,"small"),i(9),h(10,"translate"),e(),c(11,"br"),e()),o&2){let n=d();l(3),_(" ",g(4,4,"Which vendors do you want to meet at the event? (Select at least 3 vendor)")," "),l(3),s("ngForOf",n.vendorWantToMeetOptions),l(),s("ngIf",n.isFormInvalid("vendorWantToMeet")),l(2),_(" ",g(10,6,"We want you to connect with the right vendor executives at the Canalys Forums 2020. We will pass your name and interest areas to the vendors of your choice. You must select at least three vendors that you are willing to meet.")," ")}}function $n(o,m){if(o&1){let n=F();t(0,"div",278)(1,"div",274)(2,"label")(3,"input",275),S("change",function(r){x(n);let p=d(2);
1return y(p.onCheckChange(r,"vendorPartnerPrograms"))}),e(),i(4),e()()()}if(o&2){let n=m.$implicit;l(3),s("value",n),l(),_(" ",n," ")}}function Hn(o,m){if(o&1&&(t(0,"div",2)(1,"div")(2,"label",276),i(3),h(4,"translate"),e()(),t(5,"div",264),f(6,$n,5,2,"div",277),e()()),o&2){let n=d();l(3),_(" ",g(4,2,"Are you registered with the partner programs of any of the following vendors? Please select all that apply.")," "),l(3),s("ngForOf",n.vendorPartnerProgramOptions)}}function Wn(o,m){if(o&1&&(t(0,"option",270),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}var et=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.util=r,this.isVendor=!1,this.isSponsor=!1,this.showErrors=!1,this.supportedLanguages=ti,this.languageOptions=[],this.success=new M,this.companyTypeOptions=["Corporate reseller","Distributor","Managed service provider ","Online reseller","Online retailer","Press","SMB reseller","Specialist reseller","Store-based retailer","Systems integrator","Vendor"],this.whichTechnologySpecializationsOptions=["Artificial intelligence","Big data and analytics","Building data centres and cloud infrastructure","Enterprise networks","Imaging and printing (including 3D)","Infrastructure as a service","Internet of things and M2M","Mobility and client computing","On-premise software","Power and energy","Robotics","Security","Smartwatches and wearables","Software as a service","Telecom services","Unified communications","Virtual reality and augmented reality"],this.whichProductCategoriesOptions=["SaaS, software management and applications","Client computing","Components","Imaging and printing","Networking","Cloud services (IaaS and PaaS)","Security (Incl. software)","Data centers (servers, storage and energy)","Smartphones","Storage (incl. software)","Unified communications"],this.vendorWantToMeetOptions=["Acer","Acronis","Alibaba Cloud","Amazon Web Services","AMD","APC by Schneider Electric","Aryaka","Avast","Bitdefender","BitTitan","Cambium Networks","Carbon Black","Carbonite","channelcentral.net","Checkpoint","Cherwell Software","Cisco","Citrix","Cohesity","Commvault","ConnectWise ","Cylance","Cyren","Datto","Dell Technologies","Dropbox","Dynabook","Eaton","Epson","Equinix","Ergotron","ESET","Extreme Networks","F5","FireEye","Forcepoint","Fortinet","Fujitsu","Google","Google Cloud","Hewlett Packard Enterprise","Hillstone Networks","Hitachi Vantara","HP Inc","Huawei","IBM","Imperva","Inspur","Intel","Juniper Networks","Kaspersky Lab","LastPass","Lenovo","Lexmark","Logic Monitor","LogMeIn","Malwarebytes","McAfee","Microsoft","Mimecast","NetApp","New Relic","Nutanix","Oracle","Palo Alto Networks","Proofpoint","Quest","Red Hat","Ruckus (CommScope)","Samsung","SAP","SolarWinds","SonicWall","S
1ophos","Splunk","StarTech","Symantec","Tanium","TecEx","Thales","TitanHQ","Trend Micro","UiPath","Veeam","Veritas","Vertiv","VMware","WatchGuard","Webroot","Zoom"],this.vendorPartnerProgramOptions=["Acer","Amazon Web Services","APC by Schneider Electric","Apple","Check Point","Cisco","Citrix","Dell EMC","Epson","Fortinet","Fujitsu","Google Cloud","Hewlett Packard Enterprise","HP","Huawei","IBM","Intel","Juniper Networks","Kaspersky","Lenovo","McAfee","Microsoft","NetApp","Nutanix","Oracle","Palo Alto Networks","Red Hat","Samsung","Sophos","Symantec","Trend Micro","Veeam","Veritas","Vertiv","VMware"],this.genderOptions=["Male","Female","non-binary"]}ngOnInit(){this.isSponsor=this.type==="Sponsor";let n=this.isSponsor?[]:this.minLengthArray(3);this.profileForm=this.formBuilder.group({assistantEmail:["",[]],country:["",[E.required]],type:[this.type,[]],linkedinProfile:["",[]],companyType:["",[E.required]],whichTechnologySpecializations:this.formBuilder.array([],this.minLengthArray(1)),whichProductCategories:this.formBuilder.array([]),vendorWantToMeet:this.formBuilder.array([],n),vendorPartnerPrograms:this.formBuilder.array([],[]),gender:["",[]],preferredLanguage:["",[]]}),this.userSubscription$=this.auth.userSubject.subscribe(a=>{this.user=a}),window.location.href.indexOf("latam")!==-1&&this.vendorWantToMeetOptions.push("Thales"),this.vendorWantToMeetOptions.sort((a,r)=>a.toLowerCase().localeCompare(r.toLowerCase())),this.populateOptions()}ngOnDestroy(){this.userSubscription$.unsubscribe()}onCheckChange(n,a){let r=this.profileForm.get(a);if(n.target.checked)r.push(new Ie(n.target.value));else{let p=0;r.controls.forEach(P=>{if(P.value===n.target.value){r.removeAt(p);return}p++})}}minLengthArray(n){return a=>a.value.length>=n?null:{minLengthArray:{valid:!1}}}next(){if(this.profileForm.invalid){this.showErrors=!0,this.util.alert({header:"Profile",message:"Please fill all required fields to continue."});return}this.success.emit(this.profileForm.value)}companySelect(n){n==="Vendor"?(this.isVendor=!0,this.profileForm.controls.vendorWantToMeet.clearValidators()):(this.isVendor=!1,this.profileForm.controls.vendorWantToMeet.setValidators([E.required,this.minLengthArray(3)])),this.isSponsor||this.profileForm.controls.vendorWantToMeet.updateValueAndValidity()}isFormInvalid(n){let a=this.profileForm.get(n);return a.errors&&(this.showErrors||a.touched||a.dirty)}populateOptions(){let n=Object.keys(this.supportedLanguages),a=[];n.forEach(r=>{a.push({value:r,label:this.supportedLanguages[r]})}),this.languageOptions=a}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(fe))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-ccf-form"]],inputs:{type:"type"},outputs:{success:"success"},decls:598,vars:69,consts:[["companySelec",""],[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],[1,"border-top","my-4"],[1,"form-group","required"],["formControlName","country",1,"form-select"],["value","Afghanistan"],["value","\xC5land Islands"],["value","Albania"],["value","Algeria"],["value","American Samoa"],["value","Andorra"],["value","Angola"],["value","Anguilla"],["value","Antarctica"],["value","Antigua and Barbuda"],["value","Argentina"],["value","Armenia"],["value","Aruba"],["value","Australia"],["value","Austria"],["value","Azerbaijan"],["value","Bahamas"],["value","Bahrain"],["value","Bangladesh"],["value","Barbados"],["value","Belarus"],["value","Belgium"],["value","Belize"],["value","Benin"],["value","Bermuda"],["value","Bhutan"],["value","Bolivia"],["value","Bosnia and Herzegovina"],["value","Botswana"],["value","Bouvet Island"],["value","Brazil"],["value","British Indian Ocean Territory"],["value","Brunei Darussalam"],["value","Bulgaria"],["value","Burkina Faso"],["value","Burundi"],["value","Cambodia"],["value","Cameroon"],["value","Canada"],["value","Cape Verde"],["value","Cayman Islands"],["value","Central African Republic"],["value","Chad"],["value","Chile"],["value","China"],["value","Christmas Island"],["value","Cocos (Keeling) Islands"],["value","Colombia"],["value","Comoros"],["value","Congo"],["value","Congo, The Democratic Republic of The"],["value","Cook Islands"],["value","Curacao"],["value","Costa Rica"],["value","Cote D'ivoire"],["value","Croatia"],["value","Cuba"],["value","Cyprus"],["value","Czech Republic"],["value","Denmark"],["value","Djibouti"],["value","Dominica"],["value","Dominican Republic"],["value","Ecuador"],["value","Egypt"],["value","El Salvador"],["value","Equatorial Guinea"],["value","Eritrea"],["value","Estonia"],["value","Ethiopia"],["value","Falkland Islands (Malvinas)"],["value","Faroe Islands"],["value","Fiji"],["value","Finland"],["value","France"],["value","French Guiana"],["value","French Polynesia"],["value","French Southern Territories"],["value","Gabon"],["value","Gambia"],["value","Georgia"],["value","Germany"],["value","Ghana"],["value","G
1ibraltar"],["value","Greece"],["value","Greenland"],["value","Grenada"],["value","Guadeloupe"],["value","Guam"],["value","Guatemala"],["value","Guernsey"],["value","Guinea"],["value","Guinea-bissau"],["value","Guyana"],["value","Haiti"],["value","Heard Island and Mcdonald Islands"],["value","Holy See (Vatican City State)"],["value","Honduras"],["value","Hong Kong"],["value","Hungary"],["value","Iceland"],["value","India"],["value","Indonesia"],["value","Iran, Islamic Republic of"],["value","Iraq"],["value","Ireland"],["value","Isle of Man"],["value","Israel"],["value","Italy"],["value","Jamaica"],["value","Japan"],["value","Jersey"],["value","Jordan"],["value","Kazakhstan"],["value","Kenya"],["value","Kiribati"],["value","Korea, Democratic People's Republic of Korea (DPRK)"],["value","Korea, Republic of Korea (ROK)"],["value","Kuwait"],["value","Kyrgyzstan"],["value","Lao People's Democratic Republic"],["value","Latvia"],["value","Lebanon"],["value","Lesotho"],["value","Liberia"],["value","Libyan Arab Jamahiriya"],["value","Liechtenstein"],["value","Lithuania"],["value","Luxembourg"],["value","Macao"],["value","Macedonia, The Former Yugoslav Republic of"],["value","Madagascar"],["value","Malawi"],["value","Malaysia"],["value","Maldives"],["value","Mali"],["value","Malta"],["value","Marshall Islands"],["value","Martinique"],["value","Mauritania"],["value","Mauritius"],["value","Mayotte"],["value","Mexico"],["value","Micronesia, Federated States of"],["value","Moldova, Republic of"],["value","Monaco"],["value","Mongolia"],["value","Montenegro"],["value","Montserrat"],["value","Morocco"],["value","Mozambique"],["value","Myanmar"],["value","Namibia"],["value","Nauru"],["value","Nepal"],["value","Netherlands"],["value","Netherlands Antilles"],["value","New Caledonia"],["value","New Zealand"],["value","Nicaragua"],["value","Niger"],["value","Nigeria"],["value","Niue"],["value","Norfolk Island"],["value","Northern Mariana Islands"],["value","Norway"],["value","Oman"],["value","Pakistan"],["value","Palau"],["value","Panama"],["value","Papua New Guinea"],["value","Paraguay"],["value","Peru"],["value","Philippines"],["value","Pitcairn"],["value","Poland"],["value","Portugal"],["value","Puerto Rico"],["value","Qatar"],["value","Reunion"],["value","Romania"],["value","Russian Federation"],["value","Rwanda"],["value","Saint Helena"],["value","Saint Kitts and Nevis"],["value","Saint Lucia"],["value","Saint Pierre and Miquelon"],["value","Saint Vincent and The Grenadines"],["value","Samoa"],["value","San Marino"],["value","Sao Tome and Principe"],["value","Saudi Arabia"],["value","Senegal"],["value","Serbia"],["value","Seychelles"],["value","Sierra Leone"],["value","Singapore"],["value","Slovakia"],["value","Slovenia"],["value","Solomon Islands"],["value","Somalia"],["value","South Africa"],["value","South Georgia and The South Sandwich Islands"],["value","Spain"],["value","Sri Lanka"],["value","State of Palestine"],["value","Sudan"],["value","Suriname"],["value","Svalbard and Jan Mayen"],["value","Swaziland"],["value","Sweden"],["value","Switzerland"],["value","Syrian Arab Republic"],["value","Taiwan"],["value","Tajikistan"],["value","Tanzania, United Republic of"],["value","Thailand"],["value","Timor-leste"],["value","Togo"],["value","Tokelau"],["value","Tonga"],["value","Trinidad and Tobago"],["value","Tunisia"],["value","Turkey"],["value","Turkmenistan"],["value","Turks and Caicos Islands"],["value","Tuvalu"],["value","Uganda"],["value","Ukraine"],["value","United Arab Emirates"],["value","United Kingdom"],["value","United States"],["value","United States Minor Outlying Islands"],["value","Uruguay"],["value","Uzbekistan"],["value","Vanuatu"],["value","Venezuela"],["value","Vietnam"],["value","Virgin Islands, British"],["value","Virgin Islands, U.S."],["value","Wallis and Futuna"],["value","Western Sahara"],["value","Yemen"],["value","Zambia"],["value","Zimbabwe"],["class","text-danger",4,"ngIf"],[1,"form-row"],[1,"col"],["formControlName","preferredLanguage",1,"form-select","ps-1"],[3,"value",4,"ngFor","ngForOf"],["formControlName","assistantEmail","type","text",1,"form-control"],["class","form-group d-none",4,"ngIf"],["formControlName","linkedinProfile","type","text","placeholder","https://www.linkedin.com/in/yourlinkedinname",1,"form-control"],["formControlName","companyType",1,"form-control",3,"change"],["value",""],[1,"required"],[1,"row"],["class","col-12",4,"ngFor","ngForOf"],["class","form-group",4,"ngIf"],["formControlName","gender",1,"form-select"],["type","submit",1,"btn","btn-primary","btn-block"],[1,"text-danger"],[3,"value"],[1,"form-group","d-none"],["formControlName","type","readonly","readyonly","type","text",1,"form-control",3,"value"],[1,"col-12"],[1,"form-check","ps-0"],["type","checkbox",3,"change","value"],[1,""],["class","col-md-4 col-lg-3",4,"ngFor","ngForOf"],[1,"col-md-4","col-lg-3"]],template:function(a,r){if(a&1){let p=F();t(0,"form",1),S("ngSubmit",function(){return x(p),y(r.next())}),t(1,"div",2)(2,"label",3),i(3),h(4,"translate"),e(),t(5,"div",4),i(6),e()(),t(7,"div",2)(8,"label",3),i(9),h(10,"translate"),e(),t(11,"div",4),i(12),e()(),t(13,"div",2)(14,"label",3),i(1
15),h(16,"translate"),e(),t(17,"div",4),i(18),e()(),t(19,"div",2)(20,"label",3),i(21),h(22,"translate"),e(),t(23,"div",4),i(24),e()(),t(25,"div",2)(26,"label",3),i(27),h(28,"translate"),e(),t(29,"div",4),i(30),e()(),t(31,"div",2)(32,"label",3),i(33),h(34,"translate"),e(),t(35,"div",4),i(36),e()(),c(37,"div",5),t(38,"p"),i(39),h(40,"translate"),e(),t(41,"div",6)(42,"label",3),i(43),h(44,"translate"),e(),t(45,"select",7)(46,"option",8),i(47,"Afghanistan"),e(),t(48,"option",9),i(49,"\xC5land Islands"),e(),t(50,"option",10),i(51,"Albania"),e(),t(52,"option",11),i(53,"Algeria"),e(),t(54,"option",12),i(55,"American Samoa"),e(),t(56,"option",13),i(57,"Andorra"),e(),t(58,"option",14),i(59,"Angola"),e(),t(60,"option",15),i(61,"Anguilla"),e(),t(62,"option",16),i(63,"Antarctica"),e(),t(64,"option",17),i(65,"Antigua and Barbuda"),e(),t(66,"option",18),i(67,"Argentina"),e(),t(68,"option",19),i(69,"Armenia"),e(),t(70,"option",20),i(71,"Aruba"),e(),t(72,"option",21),i(73,"Australia"),e(),t(74,"option",22),i(75,"Austria"),e(),t(76,"option",23),i(77,"Azerbaijan"),e(),t(78,"option",24),i(79,"Bahamas"),e(),t(80,"option",25),i(81,"Bahrain"),e(),t(82,"option",26),i(83,"Bangladesh"),e(),t(84,"option",27),i(85,"Barbados"),e(),t(86,"option",28),i(87,"Belarus"),e(),t(88,"option",29),i(89,"Belgium"),e(),t(90,"option",30),i(91,"Belize"),e(),t(92,"option",31),i(93,"Benin"),e(),t(94,"option",32),i(95,"Bermuda"),e(),t(96,"option",33),i(97,"Bhutan"),e(),t(98,"option",34),i(99,"Bolivia"),e(),t(100,"option",35),i(101,"Bosnia and Herzegovina"),e(),t(102,"option",36),i(103,"Botswana"),e(),t(104,"option",37),i(105,"Bouvet Island"),e(),t(106,"option",38),i(107,"Brazil"),e(),t(108,"option",39),i(109,"British Indian Ocean Territory"),e(),t(110,"option",40),i(111,"Brunei Darussalam"),e(),t(112,"option",41),i(113,"Bulgaria"),e(),t(114,"option",42),i(115,"Burkina Faso"),e(),t(116,"option",43),i(117,"Burundi"),e(),t(118,"option",44),i(119,"Cambodia"),e(),t(120,"option",45),i(121,"Cameroon"),e(),t(122,"option",46),i(123,"Canada"),e(),t(124,"option",47),i(125,"Cape Verde"),e(),t(126,"option",48),i(127,"Cayman Islands"),e(),t(128,"option",49),i(129,"Central African Republic"),e(),t(130,"option",50),i(131,"Chad"),e(),t(132,"option",51),i(133,"Chile"),e(),t(134,"option",52),i(135,"China"),e(),t(136,"option",53),i(137,"Christmas Island"),e(),t(138,"option",54),i(139,"Cocos (Keeling) Islands"),e(),t(140,"option",55),i(141,"Colombia"),e(),t(142,"option",56),i(143,"Comoros"),e(),t(144,"option",57),i(145,"Congo"),e(),t(146,"option",58),i(147,"Congo, The Democratic Republic of The"),e(),t(148,"option",59),i(149,"Cook Islands"),e(),t(150,"option",60),i(151,"Curacao"),e(),t(152,"option",61),i(153,"Costa Rica"),e(),t(154,"option",62),i(155,"Cote D'ivoire"),e(),t(156,"option",63),i(157,"Croatia"),e(),t(158,"o
1ption",64),i(159,"Cuba"),e(),t(160,"option",65),i(161,"Cyprus"),e(),t(162,"option",66),i(163,"Czech Republic"),e(),t(164,"option",67),i(165,"Denmark"),e(),t(166,"option",68),i(167,"Djibouti"),e(),t(168,"option",69),i(169,"Dominica"),e(),t(170,"option",70),i(171,"Dominican Republic"),e(),t(172,"option",71),i(173,"Ecuador"),e(),t(174,"option",72),i(175,"Egypt"),e(),t(176,"option",73),i(177,"El Salvador"),e(),t(178,"option",74),i(179,"Equatorial Guinea"),e(),t(180,"option",75),i(181,"Eritrea"),e(),t(182,"option",76),i(183,"Estonia"),e(),t(184,"option",77),i(185,"Ethiopia"),e(),t(186,"option",78),i(187,"Falkland Islands (Malvinas)"),e(),t(188,"option",79),i(189,"Faroe Islands"),e(),t(190,"option",80),i(191,"Fiji"),e(),t(192,"option",81),i(193,"Finland"),e(),t(194,"option",82),i(195,"France"),e(),t(196,"option",83),i(197,"French Guiana"),e(),t(198,"option",84),i(199,"French Polynesia"),e(),t(200,"option",85),i(201,"French Southern Territories"),e(),t(202,"option",86),i(203,"Gabon"),e(),t(204,"option",87),i(205,"Gambia"),e(),t(206,"option",88),i(207,"Georgia"),e(),t(208,"option",89),i(209,"Germany"),e(),t(210,"option",90),i(211,"Ghana"),e(),t(212,"option",91),i(213,"Gibraltar"),e(),t(214,"option",92),i(215,"Greece"),e(),t(216,"option",93),i(217,"Greenland"),e(),t(218,"option",94),i(219,"Grenada"),e(),t(220,"option",95),i(221,"Guadeloupe"),e(),t(222,"option",96),i(223,"Guam"),e(),t(224,"option",97),i(225,"Guatemala"),e(),t(226,"option",98),i(227,"Guernsey"),e(),t(228,"option",99),i(229,"Guinea"),e(),t(230,"option",100),i(231,"Guinea-bissau"),e(),t(232,"option",101),i(233,"Guyana"),e(),t(234,"option",102),i(235,"Haiti"),e(),t(236,"option",103),i(237,"Heard Island and Mcdonald Islands"),e(),t(238,"option",104),i(239,"Holy See (Vatican City State)"),e(),t(240,"option",105),i(241,"Honduras"),e(),t(242,"option",106),i(243,"Hong Kong"),e(),t(244,"option",107),i(245,"Hungary"),e(),t(246,"option",108),i(247,"Iceland"),e(),t(248,"option",109),i(249,"India"),e(),t(250,"option",110),i(251,"Indonesia"),e(),t(252,"option",111),i(253,"Iran, Islam
1ic Republic of"),e(),t(254,"option",112),i(255,"Iraq"),e(),t(256,"option",113),i(257,"Ireland"),e(),t(258,"option",114),i(259,"Isle of Man"),e(),t(260,"option",115),i(261,"Israel"),e(),t(262,"option",116),i(263,"Italy"),e(),t(264,"option",117),i(265,"Jamaica"),e(),t(266,"option",118),i(267,"Japan"),e(),t(268,"option",119),i(269,"Jersey"),e(),t(270,"option",120),i(271,"Jordan"),e(),t(272,"option",121),i(273,"Kazakhstan"),e(),t(274,"option",122),i(275,"Kenya"),e(),t(276,"option",123),i(277,"Kiribati"),e(),t(278,"option",124),i(279," Korea, Democratic People's Republic of Korea (DPRK) "),e(),t(280,"option",125),i(281,"Korea, Republic of Korea (ROK)"),e(),t(282,"option",126),i(283,"Kuwait"),e(),t(284,"option",127),i(285,"Kyrgyzstan"),e(),t(286,"option",128),i(287,"Lao People's Democratic Republic"),e(),t(288,"option",129),i(289,"Latvia"),e(),t(290,"option",130),i(291,"Lebanon"),e(),t(292,"option",131),i(293,"Lesotho"),e(),t(294,"option",132),i(295,"Liberia"),e(),t(296,"option",133),i(297,"Libyan Arab Jamahiriya"),e(),t(298,"option",134),i(299,"Liechtenstein"),e(),t(300,"option",135),i(301,"Lithuania"),e(),t(302,"option",136),i(303,"Luxembourg"),e(),t(304,"option",137),i(305,"Macao"),e(),t(306,"option",138),i(307,"Macedonia, The Former Yugoslav Republic of"),e(),t(308,"option",139),i(309,"Madagascar"),e(),t(310,"option",140),i(311,"Malawi"),e(),t(312,"option",141),i(313,"Malaysia"),e(),t(314,"option",142),i(315,"Maldives"),e(),t(316,"option",143),i(317,"Mali"),e(),t(318,"option",144),i(319,"Malta"),e(),t(320,"option",145),i(321,"Marshall Islands"),e(),t(322,"option",146),i(323,"Martinique"),e(),t(324,"option",147),i(325,"Mauritania"),e(),t(326,"option",148),i(327,"Mauritius"),e(),t(328,"option",149),i(329,"Mayotte"),e(),t(330,"option",150),i(331,"Mexico"),e(),t(332,"option",151),i(333,"Micronesia, Federated States of"),e(),t(334,"option",152),i(335,"Moldova, Republic of"),e(),t(336,"option",153),i(337,"Monaco"),e(),t(338,"option",154),i(339,"Mongolia"),e(),t(340,"option",155),i(341,"Montenegro"),e(),t(342,"option",156),i(343,"Montserrat"),e(),t(344,"option",157),i(345,"Morocco"),e(),t(346,"option",158),i(347,"Mozambique"),e(),t(348,"option",159),i(349,"Myanmar"),e(),t(350,"option",160),i(351,"Namibia"),e(),t(352,"option",161),i(353,"Nauru"),e(),t(354,"option",162),i(355,"Nepal"),e(),t(356,"option",163),i(357,"Netherlands"),e(),t(358,"option",164),i(359,"Netherlands Antilles"),e(),t(360,"option",165),i(361,"New Caledonia"),e(),t(362,"option",166),i(363,"New Zealand"),e(),t(364,"option",167),i(365,"Nicaragua"),e(),t(366,"option",168),i(367,"Niger"),e(),t(368,"option",169),i(369,"Nigeria"),e(),t(370,"option",170),i(371,"Niue"),e(),t(372,"option",171),i(373,"Norfolk Island"),e(),t(374,"option",172),i(375,"Northern Mariana Islands"),e(),t(376,"option",173),i(377,"Norway"),e(),t(378,"option",174),i(379,"Oman"),e(),t(380,"option",175),i(381,"Pakistan"),e(),t(382,"option",176),i(383,"Palau"),e(),t(384,"option",177),i(385,"Panama"),e(),t(386,"option",178),i(387,"Papua New Guinea"),e(),t(388,"option",179),i(389,"Paraguay"),e(),t(390,"option",180),i(391,"Peru"),e(),t(392,"option",181),i(393,"Philippines"),e(),t(394,"option",182),i(395,"Pitcairn"),e(),t(396,"option",183),i(397,"Poland"),e(),t(398,"option",184),i(399,"Portugal"),e(),t(400,"option",185),i(401,"Puerto Rico"),e(),t(402,"option",186),i(403,"Qatar"),e(),t(404,"option",187),i(405,"Reunion"),e(),t(406,"option",188),i(407,"Romania"),e(),t(408,"option",189),i(409,"Russian Federation"),e(),t(410,"option",190),i(411,"Rwanda"),e(),t(412,"option",191),i(413,"Saint Helena"),e(),t(414,"option",192),i(415,"Saint Kitts and Nevis"),e(),t(416,"option",193),i(417,"Saint Lucia"),e(),t(418,"option",194),i(419,"Saint Pierre and Miquelon"),e(),t(420,"option",195),i(421,"Saint Vincent and The Grenadines"),e(),t(422,"option",196),i(423,"Samoa"),e(),t(424,"option",197),i(425,"San Marino"),e(),t(426,"option",198),i(427,"Sao Tome and Principe"),e(),t(428,"option",199),i(429,"Saudi Arabia"),e(),t(430,"option",200),i(431,"Senegal"),e(),t(432,"option",201),i(433,"Serbia"),e(),t(434,"option",202),i(435,"Seychelles"),e(),t(436,"option",203),i(437,"Sierra Leone"),e(),t(438,"option",204),i(439,"Singapore"),e(),t(440,"option",205),i(441,"Slovakia"),e(),t(442,"option",206),i(443,"Slovenia"),e(),t(444,"option",207),i(445,"Solomon Islands"),e(),t(446,"option",208),i(447,"Somalia"),e(),t(448,"option",209),i(449,"South Africa"),e(),t(450,"option",210),i(451,"South Georgia and The South Sandwich Islands"),e(),t(452,"option",211),i(453,"Spain"),e(),t(454,"option",212),i(455,"Sri Lanka"),e(),t(456,"option",213),i(457,"State of Palestine"),e(),t(458,"option",214),i(459,"Sudan"),e(),t(460,"option",215),i(461,"Suriname"),e(),t(462,"option",216),i(463,"Svalbard and Jan Mayen"),e(),t(464,"option",217),i(465,"Swaziland"),e(),t(466,"option",218),i(467,"Sweden"),e(),t(468,"option",219),i(469,"Switzerland"),e(),t(470,"option",220),i(471,"Syrian Arab Republic"),e(),t(472,"option",221),i(473,"Taiwan"),e(),t(474,"option",222),i(475,"Tajikistan"),e(),t(476,"option",223),i(477,"Tanzania, United Republic of"),e(),t(478,"option",224),i(479,"Thailand"),e(),t(480,"option",225),i(481,"Timor-leste"),e(),t(482,"option",226),i(483,"Togo"),e(),t(484,"option",227),i(485,"Tokelau"),e(),t(486,"option",228),i(487,"Tonga"),e(),t(488,"option",229),i(489,"Trinidad and Tobago"),e(),t(490,"option",230),i(491,"Tunisia"),e(),t(492,"option",231),i(493,"Turkey"),e(),t(494,"option",232),i(495,"Turkmenistan"),e(),t(496,"option",233),i(497,"Turks and Caicos Islands"),e(),t(498,"option",234),i(499,"Tuvalu"),e(),t(500,"option",235),i(501,"Uganda"),e(
1),t(502,"option",236),i(503,"Ukraine"),e(),t(504,"option",237),i(505,"United Arab Emirates"),e(),t(506,"option",238),i(507,"United Kingdom"),e(),t(508,"option",239),i(509,"United States"),e(),t(510,"option",240),i(511,"United States Minor Outlying Islands"),e(),t(512,"option",241),i(513,"Uruguay"),e(),t(514,"option",242),i(515,"Uzbekistan"),e(),t(516,"option",243),i(517,"Vanuatu"),e(),t(518,"option",244),i(519,"Venezuela"),e(),t(520,"option",245),i(521,"Vietnam"),e(),t(522,"option",246),i(523,"Virgin Islands, British"),e(),t(524,"option",247),i(525,"Virgin Islands, U.S."),e(),t(526,"option",248),i(527,"Wallis and Futuna"),e(),t(528,"option",249),i(529,"Western Sahara"),e(),t(530,"option",250),i(531,"Yemen"),e(),t(532,"option",251),i(533,"Zambia"),e(),t(534,"option",252),i(535,"Zimbabwe"),e()(),f(536,On,3,3,"div",253),e(),t(537,"div",2)(538,"label"),i(539),h(540,"translate"),e(),t(541,"div",254)(542,"div",255)(543,"select",256),f(544,Vn,2,2,"option",257),e()()()(),t(545,"div",2)(546,"label",3),i(547),h(548,"translate"),e(),c(549,"input",258),e(),f(550,Dn,5,4,"div",259),t(551,"div",2)(552,"label",3),i(553),h(554,"translate"),e(),c(555,"input",260),e(),t(556,"div",6)(557,"label"),i(558),h(559,"translate"),e(),t(560,"select",261,0),S("change",function(){x(p);let V=ne(561);return y(r.companySelect(V.value))}),c(562,"option",262),f(563,Ln,2,2,"option",257),e(),f(564,Bn,3,3,"div",253),e(),t(565,"div",2)(566,"div",263)(567,"label"),i(568),h(569,"translate"),e()(),t(570,"div",264),f(571,jn,5,2,"div",265),e(),f(572,Un,3,3,"div",253),e(),t(573,"div",2)(574,"label"),i(575),h(576,"translate"),e(),t(577,"div",264),f(578,Gn,5,2,"div",265),e()(),f(579,qn,12,8,"div",266)(580,Hn,7,4,"div",266),t(581,"div",2)(582,"label"),i(583),h(584,"translate"),e(),t(585,"select",267),c(586,"option",262),f(587,Wn,2,2,"option",257),e(),t(588,"small"),i(589),h(590,"translate"),e()(),t(591,"div",264),c(592,"div",255)(593,"div",255),t(594,"div",255)(595,"button",268),i(596),h(597,"translate"),e()()()()}a&2&&(s("formGroup",r.profileForm),l(3),u(g(4,35,"First name")),l(3),u(r.user.attributes.given_name),l(3),u(g(10,37,"Last name")),l(3),u(r.user.attributes.family_name),l(3),u(g(16,39,"Title")),l(3),u(r.user.attributes["custom:jobTitle"]),l(3),u(g(22,41,"Company")),l(3),u(r.user.attributes["custom:company"]),l(3),u(g(28,43,"Mobile phone")),l(3),u(r.user.attributes.phone_number),l(3),u(g(34,45,"Email address")),l(3),u(r.user.attributes.email),l(3),u(g(40,47,"Further information to add to your profile")),l(4),u(g(44,49,"Country")),l(493),s("ngIf",r.isFormInvalid("country")),l(3),u(g(540,51,"Preferred language")),l(5),s("ngForOf",r.languageOptions),l(3),u(g(548,53,"Assistant email")),l(3),s("ngIf",r.type),l(3),u(g(554,55,"Linkedin Profile")),l(5),u(g(559,57,"Company Type")),l(5),s("ngForOf",r.companyTypeOptions),l(),s("ngIf",r.isFormInvalid("companyType")),l(4),u(g(569,59,"Which technology specializations are most important to your company\u2019s revenue?")),l(3),s("ngForOf",r.whichTechnologySpecializationsOptions),l(),s("ngIf",r.isFormInvalid("whichTechnologySpecializations")),l(3),u(g(576,61,"Which product categories were most important to your company\u2019s revenue in 2019?")),l(3),s("ngForOf",r.whichProductCategoriesOptions),l(),s("ngIf",r.type!=="Sponsor"&&!r.isVendor),l(),s("ngIf",!r.isVendor),l(3),u(g(584,63,"What is your gender identity?")),l(4),s("ngForOf",r.genderOptions),l(2),_("",g(590,65,"This question is used strictly for our demographic monitoring")," "),l(7),u(g(597,67,"Next")))},dependencies:[C,U,X,ee,$,Z,B,j,b,G,z,L,oe,w,ae],styles:['.required[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]:after{content:" *";color:red}[_ngcontent-%COMP%]::placeholder{opacity:.25}']})}}return o})();var qi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,et]})}}return o})();function Yn(o,m){if(o&1&&(t(0,"option",11),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}var tt=(()=>{class o{constructor(n,a){this.auth=n,this.formBuilder=a,this.typeOptions=["PSS Pursuit","PSS Delivery","PSS Transition","NA Commercial and Enterprise Print Sales","NA Public Sector Print Sales","PSS GTM","PSS Business Ops","PSS Solutions"],this.success=new M}ngOnInit(){this.profileForm=this.formBuilder.group({type:["",[E.required]]}),this.userSubscription$=this.auth.userSubject.subscribe(n=>{console.log(n),this.user=n})}ngOnDestroy(){this.userSubscription$.unsubscribe()}next(){this.success.emit({type:this.profileForm.get("type").value})}checked(){let n=[],a=this.profileForm.controls;for(let r in a)a[r].invalid&&(n.push(r),console.log(r))}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-hp-mpa-form"]],outputs:{success:"success"},decls:43,vars:9,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],[1,"border-top","my-4"],[1,"form-group","required"],["formControlName","type",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"col"],["type","submit",1,"btn","btn-primary","btn-block",3,"disabled"],[3,"value"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Title"),e(),t(14,"div",3),i(1
15),e()(),t(16,"div",1)(17,"label",2),i(18,"Company"),e(),t(19,"div",3),i(20),e()(),t(21,"div",1)(22,"label",2),i(23,"Mobile phone"),e(),t(24,"div",3),i(25),e()(),t(26,"div",1)(27,"label",2),i(28,"Email address"),e(),t(29,"div",3),i(30),e()(),c(31,"div",4),t(32,"div",5)(33,"label",2),i(34,"Please select your team"),e(),t(35,"select",6),f(36,Yn,2,2,"option",7),e()(),t(37,"div",8),c(38,"div",9)(39,"div",9),t(40,"div",9)(41,"button",10),i(42,"Next"),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes["custom:jobTitle"]),l(5),u(r.user.attributes["custom:company"]),l(5),u(r.user.attributes.phone_number),l(5),u(r.user.attributes.email),l(6),s("ngForOf",r.typeOptions),l(5),s("disabled",r.profileForm.invalid))},dependencies:[C,U,X,ee,Z,B,j,b,G,z,oe],encapsulation:2})}}return o})();var $i=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,tt]})}}return o})();function Jn(o,m){if(o&1&&(t(0,"div",1)(1,"label",2),i(2,"Attendee Type"),e(),t(3,"div",3),i(4),e()()),o&2){let n=d();l(4),u(n.ticket.type)}}function Qn(o,m){if(o&1&&(t(0,"option",15),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function Zn(o,m){if(o&1&&(t(0,"div")(1,"div",12)(2,"label",2),i(3,"Attendee Type"),e(),t(4,"select",13),f(5,Qn,2,2,"option",14),e()()()),o&2){let n=d();l(5),s("ngForOf",n.typeOptions)}}var it=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.registerService=r,this.subscription$=[],this.typeOptions=[],this.success=new M}ngOnInit(){this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm&&this.profileForm.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))}initForm(){this.profileForm||(this.profileForm=this.formBuilder.group({type:[this.ticket.type,this.typeOptions&&this.typeOptions.length?[E.required]:[]],regionVillage:["",[E.required]],company:[this.user?this.user.attributes["custom:company"]:"",[E.required]]}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){this.success.emit(this.profileForm.value)}checked(){let n=[],a=this.profileForm.controls;for(let r in a)a[r].invalid&&(n.push(r),console.log(r))}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(q))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-alaska-rsbc-form"]],outputs:{success:"success"},decls:32,vars:10,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"border-top","my-4"],["type","text","formControlName","company",1,"form-control"],["type","text","formControlName","regionVillage",1,"form-control"],[4,"ngIf"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],[1,"form-group","required"],["formControlName","type",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Email address"),e(),t(14,"div",3),i(15),e()(),f(16,Jn,5,1,"div",4),c(17,"div",5),t(18,"div",1)(19,"label",2),i(20,"Company"),e(),c(21,"input",6),e(),t(22,"div",1)(23,"label",2),i(24,"ANCSA region/Village"),e(),c(25,"input",7),e(),f(26,Zn,6,1,"div",8),t(27,"div",9)(28,"div",10)(29,"button",11),i(30),h(31,"translate"),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes.email),l(),s("ngIf",r.ticket.type),l(10),s("ngIf",!r.ticket.type&&r.typeOptions&&r.typeOptions.length),l(3),s("disabled",r.profileForm.invalid),l(),_(" ",g(31,8,r.event.registerTermsAndConditionsLink||r.ticket.amount?"Next":"Register")," "))},dependencies:[C,U,X,ee,$,Z,B,j,b,G,z,L,oe,w,ae],encapsulation:2})}}return o}
1)();var Hi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,it]})}}return o})();function Xn(o,m){if(o&1&&(t(0,"div",1)(1,"label",2),i(2,"Attendee type"),e(),t(3,"div",3),i(4),e()()),o&2){let n=d();l(4),u(n.ticket.type)}}function eo(o,m){if(o&1&&(t(0,"option",19),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function to(o,m){if(o&1&&(t(0,"div",16)(1,"div",17)(2,"div",1)(3,"label",2),i(4,"Attendee type"),e(),t(5,"select",18),f(6,eo,2,2,"option",10),e()()()()),o&2){let n=d();l(6),s("ngForOf",n.typeOptions)}}function io(o,m){if(o&1&&(t(0,"option",19),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}var nt=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.registerService=r,this.subscription$=[],this.countryOptions=[],this.typeOptions=[],this.success=new M}ngOnInit(){this.countryOptions=Ne,this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes,this.isCustomer=!!(this.ticket.type.includes("Customer")||this.ticket.type.includes("customer")||this.ticket.type.includes("Customers")||this.ticket.type.includes("customers"))),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm&&this.profileForm.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))}initForm(){this.profileForm||(this.profileForm=this.formBuilder.group({type:[this.ticket.type,this.typeOptions&&this.typeOptions.length?[E.required]:[]],jobTitle:["",[E.required]],phone:["",[E.required]],country:["",[E.required]],company:[this.user?this.user.attributes["custom:company"]:"",[E.required]]}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){this.success.emit(this.profileForm.value)}checked(){let n=[],a=this.profileForm.controls;for(let r in a)a[r].invalid&&(n.push(r),console.log(r))}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(q))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-innovation-days-european-form"]],outputs:{success:"success"},decls:41,vars:9,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"border-top","my-4"],["class","form-row",4,"ngIf"],["type","text","formControlName","company",1,"form-control"],["formControlName","country",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],["type","text","formControlName","phone",1,"form-control"],["type","text","formControlName","jobTitle",1,"form-control"],[1,"row"],[1,"col"],["type","submit","translate","",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],[1,"form-row"],[1,"col-6"],["matInput","","formControlName","type",1,"form-select"],[3,"value"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Email address "),e(),t(14,"div",3),i(15),e()(),f(16,Xn,5,1,"div",4),c(17,"div",5),f(18,to,7,1,"div",6),t(19,"div",1)(20,"label",2),i(21,"Company name"),e(),c(22,"input",7),e(),t(23,"div",1)(24,"label",2),i(25,"Country"),e(),t(26,"select",8),c(27,"option",9),f(28,io,2,2,"option",10),e()(),t(29,"div",1)(30,"label",2),i(31,"Mobile phone"),e(),c(32,"input",11),e(),t(33,"div",1)(34,"label",2),i(35,"Job title "),e(),c(36,"input",12),e(),t(37,"div",13)(38,"div",14)(39,"button",15),i(40),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes.email),l(),s("ngIf",r.ticket.type),l(2),s("ngIf",!(r.ticket!=null&&r.ticket.type)&&r.typeOptions.length),l(10),s("ngForOf",r.countryOptions),l(11),s("disabled",r.profileForm.invalid),l(),_(" ",r.event.registerTermsAndConditionsLink||r.ticket.amount?"Next":"Register"," "))},dependencies:[C,U,X,ee,$,Z,B,j,b,G,z,L,oe,w,_e],encapsulation:2})}}return o}
1)();var Wi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,me,nt]})}}return o})();function ro(o,m){if(o&1&&(t(0,"div",3)(1,"label",4),i(2,"Attendee type"),e(),t(3,"div",5),i(4),e()()),o&2){let n=d(2);l(4),u(n.ticket.type)}}function lo(o,m){o&1&&(t(0,"label",18),i(1,"*"),e())}function so(o,m){if(o&1&&(t(0,"option",19),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function mo(o,m){if(o&1&&(t(0,"div")(1,"div",14)(2,"label",4),i(3,"Attendee type "),f(4,lo,2,0,"label",15),e(),t(5,"select",16),f(6,so,2,2,"option",17),e()()()),o&2){let n=d(2);l(4),s("ngIf",n.typemandatory===!0),l(2),s("ngForOf",n.typeOptions)}}function po(o,m){o&1&&(t(0,"div"),c(1,"div"),e())}function co(o,m){o&1&&(t(0,"label",18),i(1,"*"),e())}function uo(o,m){if(o&1&&(t(0,"div",22)(1,"label",4),i(2),f(3,co,2,0,"label",15),e(),c(4,"input",23),e()),o&2){let n=d().$implicit,a=d(2);s("hidden",n.value.visible===!1&&n.value.form!=="type"&&n.value.form!=="photoId"),l(2),_(" ",a.descriptions[n.key].sub," "),l(),s("ngIf",n.value.mandatory===!0),l(),s("formControlName",se(n.value.form))}}function fo(o,m){if(o&1&&(J(0),t(1,"div",20),f(2,po,2,0,"div",21)(3,uo,5,5,"ng-template",null,0,le),e(),Q()),o&2){let n=m.$implicit,a=ne(4);l(2),s("ngIf",n.value.form==="type"||n.value.form==="photoId")("ngIfElse",a)}}function vo(o,m){if(o&1&&c(0,"app-reactive-input-text",29),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)}}function ho(o,m){if(o&1&&c(0,"app-reactive-input-textarea",29),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)}}function go(o,m){if(o&1&&c(0,"app-reactive-input-dropdown",30),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)("otherOptionLabel",n.otherOptionLabel||"Other, please specify")("otherOptionSelection",n.otherOptionSelection||"Other")("options",n.options.trim().split(`
2`))}}function _o(o,m){if(o&1&&c(0,"app-reactive-input-radio",30),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)("otherOptionLabel",n.otherOptionLabel||"Other, please specify")("otherOptionSelection",n.otherOptionSelection||"Other")("options",n.options.trim().split(`
3`))}}function So(o,m){if(o&1&&c(0,"app-reactive-input-dropdown-multi",31),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)("options",n.options.trim().split(`
4`))}}function xo(o,m){if(o&1&&c(0,"app-reactive-input-checkboxes",31),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)("options",n.options.trim().split(`
5`))}}function yo(o,m){if(o&1&&c(0,"app-reactive-input-file",32),o&2){let n=d().$implicit,a=d(2);s("group",a.profileForm)("name",n.attribute)("label",n.name)("help",n.description)("fileTypes",a.getFileTypes(n))}}function Eo(o,m){if(o&1&&(t(0,"div"),J(1,24),f(2,vo,1,4,"app-reactive-input-text",25)(3,ho,1,4,"app-reactive-input-textarea",25)(4,go,1,7,"app-reactive-input-dropdown",26)(5,_o,1,7,"app-reactive-input-radio",26)(6,So,1,5,"app-reactive-input-dropdown-multi",27)(7,xo,1,5,"app-reactive-input-checkboxes",27)(8,yo,1,5,"app-reactive-input-file",28),Q(),e()),o&2){let n=m.$implicit;l(),s("ngSwitch",n.type),l(),s("ngSwitchCase","text"),l(),s("ngSwitchCase","textarea"),l(),s("ngSwitchCase","select"),l(),s("ngSwitchCase","radio"),l(),s("ngSwitchCase","selectmultiple"),l(),s("ngSwitchCase","checkbox"),l(),s("ngSwitchCase","file")}}function Co(o,m){if(o&1){let n=F();t(0,"form",2),S("ngSubmit",function(){x(n);let r=d();return y(r.next())}),t(1,"div",3)(2,"label",4),i(3,"First name"),e(),t(4,"div",5),i(5),e()(),t(6,"div",3)(7,"label",4),i(8,"Last name"),e(),t(9,"div",5),i(10),e()(),t(11,"div",3)(12,"label",4),i(13,"Email address "),e(),t(14,"div",5),i(15),e()(),f(16,ro,5,1,"div",6),t(17,"div",7),f(18,mo,7,2,"div",8),e(),c(19,"div",9),f(20,fo,5,2,"ng-container",10),h(21,"keyvalue"),f(22,Eo,9,8,"div",10),t(23,"div",11)(24,"div",12)(25,"button",13),i(26),e()()()()}if(o&2){let n=d();s("formGroup",n.profileForm),l(5),u(n.user.attributes.given_name),l(5),u(n.user.attributes.family_name),l(5),u(n.user.attributes.email),l(),s("ngIf",n.ticket.type),l(),s("hidden",n.visibleType===!1),l(),s("ngIf",!n.ticket.type&&n.typeOptions&&n.typeOptions.length),l(2),s("ngForOf",g(21,11,n.customRegistration)),l(2),s("ngForOf",n.customAttributes),l(3),s("disabled",n.profileForm.invali
5d),l(),_(" ",n.event.registerTermsAndConditionsLink||n.ticket.amount?"Next":"Register"," ")}}var ot=(()=>{class o{constructor(n,a,r,p,P,V,te,re,ce,Re){this.api=n,this.attendeeService=a,this.settingService=r,this.modalService=p,this.modal=P,this.auth=V,this.domSanitizer=te,this.formBuilder=re,this.registerService=ce,this.utilitiesService=Re,this.subscription$=[],this.dropdownList=[],this.selectedItems=[],this.typeOptions=[],this.errorMessage="",this.descriptions={type:{title:"type",sub:"List of Attendee type"},company:{title:"company",sub:"Company"},jobTitle:{title:"jobTitle",sub:"Job Title"},telNum:{title:"telNum",sub:"Telephone Number"},linkedinProfile:{title:"linkedInProfile",sub:"LinkedIn Profile"},otherSocialMediaURL:{title:"OtherSocialMediaUR",sub:"Other Social Media URL"},twitter:{title:"twitter",sub:"Twitter Profile"},photoId:{title:"photoId",sub:"Profile Photo"},organization:{title:"Organization",sub:"Organization"},phone_number:{title:"phone_number",sub:"Phone Number"}},this.success=new M}ngOnInit(){this.loadMenu().then(()=>{this.dropdownList=[{item_id:1,item_text:"Strengthening business relationships/building a network"},{item_id:2,item_text:"Negotiating contracts"},{item_id:3,item_text:"Maintaining work/life balance"},{item_id:4,item_text:"Career development"},{item_id:5,item_text:"Training/learning"},{item_id:6,item_text:"Strengthening workplace culture"},{item_id:7,item_text:"Cultural Navigation"},{item_id:8,item_text:"Personal Authenticity"},{item_id:9,item_text:"Being an Individual Contributor vs. People Leader"}],this.dropdownSettings={enableCheckAll:!1,singleSelection:!1,idField:"item_id",textField:"item_text",unSelectAllText:"UnSelect All",itemsShowLimit:3,allowSearchFilter:!0},this.Platform=["Danaher Corporate","Diagnostics","Life Sciences","PID","Water Quality"],this.Opco=["Alltec / FOBA","AVT","Beckman Diagnostics","Beckman Life Sciences","Cepheid","ChemTreat","Cytiva","Danaher Corporate","Esko","Hach","HemoCue","IDT","Leica Biosystems","Leica Microsystems","Linx","Mammatome","McCrometer","Molecular Devices","Pall","Phenomenex","Radiometer","Sciex","Trojan","Videojet","X-Rite/ Pantone"],this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.customAttributes=n.customAttributes,console.log("DATA>>>>",n),console.log("ATTRBI",this.customAttributes),this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes,this.isCustomer=this.ticket.type.includes("Customer")||this.ticket.type.includes("customer")||this.ticket.type.includes("Customers")||this.ticket.type.includes("customers")),this.initForm(),this.loadCustomAttributes()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm?.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))})}loadCustomAttributes(){this.customarray=this.customAttributes.forEach(n=>{let a=[];n.mandatory==="mandatory"&&a.push(E.required),n.type==="checkbox"?this.profileForm.addControl(n.attribute,this.formBuilder.array([],a)):this.profileForm.addControl(n.attribute,new Ie("",a))})}loadMenu(){return I(this,null,function*(){yield this.settingService.get("custom-registration").then(n=>{n?.data&&(this.customRegistration=n.data,this.customRegistration.type&&(this.attendeeForm=this.customRegistration.type.form,this.visibleType=this.customRegistration.type.visible,this.typemandatory=this.customRegistration.type.mandatory))}),yield this.settingService.get("custom-upload").then(n=>{n?.data&&(this.customUpload=n.data)})})}UploadCV(){return I(this,null,function*(){this.modalService.open($e).result.then(a=>{let r=URL.createObjectURL(a);this.previewDocs=this.domSanitizer.sanitize(Oe.URL,r),this.docsFile=a,this.load(),this.CVloading=!0,this.errorMessage==="Profile Image is required."&&(this.errorMessage="")}).catch(a=>{})})}uploadFileDocs(n){return I(this,null,function*(){try{let a=yield this.api.post("/website/public/upload-file",{body:{name:n.name,type:n.type},queryStringParameters:{name:n.name,type:n.type}});if(a?.success){let r=new FormData;
5Object.keys(a.data.fields).forEach(V=>{r.append(V,a.data.fields[V])}),r.append("file",n);let p={method:"POST",body:r};return{success:1,data:yield fetch(a.data.url,p),url:a.data.url+"/"+a.data.key}}else return{success:0,message:"Failed to get tmp URL. "+JSON.stringify(a)}}catch(a){return{success:0,message:a.message}}})}load(){return I(this,null,function*(){if(this.docsFile){let n=yield this.uploadFileDocs(this.docsFile);if(n&&n.success)this.CVfile=n.url,this.CVloading=!1;else{this.utilitiesService.alert({message:"Error uploading file!"});return}}})}initForm(){this.load(),!this.profileForm&&(this.profileForm=this.formBuilder.group({type:[this.ticket.type,[]],jobTitle:["",[]],Platform:["",[]],Opco:["",[]],Ethnicity:["",[]],ThingsYouWouldLikeSomeHelp:["",[]],leisureActivity:["",[]],ThingsYouHopeToGainFromTheSummit:["",[]],company:["",[]],linkedInProfile:["",[]],telNum:["",[]],twitter:["",[]],OtherSocialMediaURL:["",[]],Documents:[this.CVfile,[]],Organization:["",[]],phone_number:["",[]],photoId:[""]}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){this.success.emit(this.profileForm.value)}checked(){let n=this.profileForm.controls;for(let a in n)if(n[a].invalid){this.errorMessage="Please fill in all required fields.";return}}onItemSelect(n){console.log(n)}onSelectAll(n){console.log(n)}getFileTypes(n){console.log(n);let a="";return n.fileTypes.forEach(r=>{let p=r.toLowerCase();a&&(a+=","),p==="pdf"?a+=".pdf":p==="doc"?a+=".doc,.docx":p==="xls"?a+=".xls,.xlsx":p==="ppt"?a+=".ppt,.pptx":p==="zip"&&(a+=".zip")}),a}static{this.\u0275fac=function(a){return new(a||o)(v(je),v(We),v(Ue),v(ue),v(ue),v(D),v(De),v(K),v(q),v(fe))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-pro-one-media-demo-profile"]],outputs:{success:"success"},decls:1,vars:1,consts:[["notType",""],[3,"formGroup","ngSubmit",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[3,"hidden"],[4,"ngIf"],[1,"border-top","my-4"],[4,"ngFor","ngForOf"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],[1,"form-group","required"],["class","text-danger",4,"ngIf"],["formControlName","type",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[1,"text-danger"],[3,"value"],[1,"mb-2","align-items-center"],[4,"ngIf","ngIfElse"],[1,"form-group",3,"hidden"],["type","text",1,"form-control",3,"formControlName"],[3,"ngSwitch"],[3,"group","name","label","help",4,"ngSwitchCase"],[3,"group","name","label","help","otherOptionLabel","otherOptionSelection","options",4,"ngSwitchCase"],[3,"group","name","label","help","options",4,"ngSwitchCase"],[3,"group","name","label","help","fileTypes",4,"ngSwitchCase"],[3,"group","name","label","help"],[3,"group","name","label","help","otherOptionLabel","otherOptionSelection","options"],[3,"group","name","label","help","options"],[3,"group","name","label","help","fileTypes"]],template:function(a,r){a&1&&f(0,Co,27,13,"form",1),a&2&&s("ngIf",r.profileForm)},dependencies:[L,C,U,X,ee,$,Z,B,j,b,G,z,oe,Fe,Pe,Ri,Ai,Mi,ki,Ti,Ii,Ni,Dt],styles:[".pointer[_ngcontent-%COMP%]{cursor:pointer}"]})}}return o})();var Yi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[Te.forRoot(),A,C,b,w,me,Oi,ot]})}}return o})();var bo=(o,m,n)=>[o,!0,m,"",n];function wo(o,m){if(o&1&&(H(0,"p",7)(1,"strong"),i(2,"Ticket:"),R(),i(3),R()),o&2){let n=d();l(3),_(" ",n.ticketName)}}function Fo(o,m){o&1&&(H(0,"span",9),i(1,"Incomplete"),R())}function Po(o,m){o&1&&(H(0,"span",10),i(1,"Complete"),R())}var Ji=(()=>{class o{constructor(){this.modal=ie(Gt),this.registerService=ie(q),this.saveDetails=null,this.saveData=null,this.isSaveLoading=!1,this.saveType="Attendee",this.ticketName="",this.event=null}ngOnInit(){this.load()}load(){return I(this,null,function*(){this.isSaveLoading=!0;try{let n=btoa(`${this.saveDetails.PK}|${this.saveDetails.SK}`),a=yield this.registerService.loadRegistrationSave(n);a.success&&(this.saveData=a.data,this.ticketName=this.saveData?.ticketName||this.saveData?.data?.ticketName||"")}catch(n){console.error("Error loading save details",n)}this.isSaveLoading=!1})}close(){this.modal.close()}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=N({type:o,selectors:[["app-view"]],decls:60,vars:21,consts:[[1,"modal-header"],[1,"modal-title"],["type","button","aria-label","Close",1,"btn-close",3,"click"],[1,"modal-body"],[1,"card"],[1,"card-body"],[1,"card-title"],[1,"card-text"],[1,"card","mt-3"],[1,"badge","bg-warning","text-dark"],[1,"badge","bg-success"]],template:function(a,r){a&1&&(H(0,"div",0)(1,"h5",1),i(2,"Proxy registration details"),R(),H(3,"button",2),Ft("click",function(){return r.close()}),R()(),H(4,"div",3)(5,"div",4)(6,"div",5)(7,"h5",6),i(8,"Registrant information"),R(),H(9,"p",7)(10,"strong"),i(11,"First name:"),R(),i(12),R(),H(13,"p",7)(14,"strong"),i(15,"Last name:"),R(),i(16),R(),H(17,"p",7)(18,"strong"),i(19,"Email:"),R(),i(20),R()()(),H(21,"div",8)(22,"div",5)(23,"h5",6),i(24,"Proxy information"),R(),H(25,"p",7)(26,"strong"),i(27,"First name:"),R(),i(28),R(),H(29,"p",7)(30,"strong"),i(31,"Last name:"),R(),i(32),R(),H(33,"p",7)(34,"strong"),i(35,"Email:"),R(),i(36),R()()(),H(37,"div",8)(38,"div",5)(39,"h5",6),i(40,"Additional details"),R(),H(41,"p",7)(42,"strong"),i(43,"Date created:"),R(),i(44),h(45,"dateFormat"),R(),H(46,"p",7)(47,"strong"),i(48,"Event:"),R(),i(49),R(),W(50,wo,4,1,"p",7),H(51,"p",7)(52,"strong"),i(53,"Save type: "),R(),i(54),R(),H(55,"p",7)(56,"strong"),i(57,"Status: "),R(),W(58,Fo,2,0,"span",9)(59,Po,2,0,"span",10),R()()()()),a&2&&(l(12),_(" ",r.saveDetails.firstName),l(4),_(" ",r.saveDetails.lastName),l(4),_(" ",r.saveDetails.email),l(8),_(" ",r.saveDetails.submittedBy==null?null:r.saveDetails.submittedBy.firstName),l(4),_(" ",r.saveDetails.submittedBy==null?null:r.saveDetails.submittedBy.lastName),l(4),_(" ",r.saveDetails.submittedBy==null?null:r.saveDetails.submittedBy.email),l(8),_(" ",Ot(45,11,At(17,bo,r.saveDetails.dateCreated,r.event==null?null:r.event.timezoneLabel,r.event==null?null:r.event.timezone))," "),l(5),_(" ",r.saveDetails.eventName),l(),Y(r.ticketName?50:-1),l(4),_(" ",r.saveType),l(4),Y(r.saveDetails.status==="pending"?58:r.saveDetails.status==="complete"?59:-1))},dependencies:[Ye,ke],encapsulation:2})}}return o}
5)();var Io=["passwordInput"],To=()=>[5];function Mo(o,m){o&1&&(i(0),h(1,"translate")),o&2&&_(" ",g(1,1,"Create a new proxy registrant:"),`
6`)}function No(o,m){if(o&1&&c(0,"app-form-control-error",10),o&2){let n=d();s("control",n.email)}}function ko(o,m){o&1&&(t(0,"div",14)(1,"div",15)(2,"span",16),i(3,"Loading..."),e()(),t(4,"div"),i(5),h(6,"translate"),e()()),o&2&&(l(5),u(g(6,1,"Verifying email address ...")))}function Ro(o,m){if(o&1&&(t(0,"div"),f(1,ko,7,3,"div",13),e()),o&2){let n=d(),a=ne(17);l(),s("ngIf",n.isCheckEmailLoading)("ngIfElse",a)}}function Ao(o,m){if(o&1&&c(0,"app-form-control-error",21),o&2){let n=d(2);s("control",n.firstName)}}function Oo(o,m){if(o&1&&c(0,"app-form-control-error",23),o&2){let n=d(2);s("control",n.lastName)}}function Vo(o,m){o&1&&(t(0,"div",24),c(1,"input",25),t(2,"label",26),i(3,"I don't have a last name"),e()())}function Do(o,m){if(o&1&&(J(0),t(1,"div",17)(2,"div",18)(3,"div",19)(4,"div",6),c(5,"input",20),h(6,"translate"),e(),W(7,Ao,1,1,"app-form-control-error",21),e(),t(8,"div",19)(9,"div",6),c(10,"input",22),h(11,"translate"),e(),W(12,Oo,1,1,"app-form-control-error",23),W(13,Vo,4,0,"div",24),e()()(),Q()),o&2){let n=d();l(5),s("placeholder",se(g(6,9,"First name"))),l(2),Y(n.showFieldError(n.firstName)?7:-1),l(3),s("placeholder",se(g(11,11,"Last name")))("required",n.noLastName.value!==!0)("readonly",n.noLastName.value===!0),l(2),Y(n.showFieldError(n.lastName)?12:-1),l(),Y(n.isNoLastNameAllowed?13:-1)}}function Lo(o,m){if(o&1&&c(0,"app-form-control-error",31),o&2){let n=d(2);s("control",n.password)}}function Bo(o,m){if(o&1){let n=F();J(0),t(1,"div",5)(2,"div",6)(3,"div",7),c(4,"i",27),e(),c(5,"input",28,2),h(7,"translate"),t(8,"button",29),S("click",function(){x(n);let r=d();return y(r.showPassword())}),c(9,"i",30),e()(),W(10,Lo,1,1,"app-form-control-error",31),e(),Q()}if(o&2){let n=d();l(5),s("placeholder",se(g(7,4,"Password")))("type",n.passwordType),l(5),Y(n.showFieldError(n.password)?10:-1)}}function jo(o,m){o&1&&c(0,"span",35)}function Uo(o,m){if(o&1&&(t(0,"div",32)(1,"div",33)(2,"button",34)(3,"div"),W(4,jo,1,0,"span",35),t(5,"span"),i(6),h(7,"translate"),e()()()()()),o&2){let n=d();l(2),s("disabled",!n.profileForm.valid||n.isCheckEmailLoading||n.isSaveLoading||n.isCreatingInitialSave),l(2),Y(n.isCreatingInitialSave?4:-1),l(2),u(g(7,3,"Next"))}}function Go(o,m){o&1&&(t(0,"th",55),i(1,"Email"),e())}function zo(o,m){if(o&1&&(t(0,"td",56),i(1),e()),o&2){let n=m.$implicit;l(),_(" ",n.email," ")}}function Ko(o,m){o&1&&(t(0,"th",55),i(1,"Date created"),e())}function qo(o,m){if(o&1&&(t(0,"td",56),i(1),e()),o&2){let n=m.$implicit;l(),_(" ",n.dateCreatedLabel," ")}}function $o(o,m){o&1&&(t(0,"th",55),i(1,"Status"),e())}function Ho(o,m){if(o&1&&(t(0,"span",58),i(1),e()),o&2){let n=d().$implicit;Pt(n.statusBadgeClass),l(),u(n.statusLabel)}}function Wo(o,m){if(o&1&&(t(0,"td",56),W(1,Ho,2,3,"span",57),e()),o&2){let n=m.$implicit;l(),Y(n.statusLabel?1:-1)}}function Yo(o,m){o&1&&(t(0,"th",55),i(1,"Name"),e())}function Jo(o,m){if(o&1&&(t(0,"td",56),i(1),e()),o&2){let n=m.$implicit;l(),_(" ",n.registrantName," ")}}function Qo(o,m){o&1&&(t(0,"th",55),i(1,"Event"),e())}function Zo(o,m){if(o&1&&(t(0,"td",56),i(1),e()),o&2){let n=m.$implicit;l(),_(" ",n.eventName," ")}}function Xo(o,m){o&1&&(t(0,"th",59),i(1,"Submitted by"),e())}function ea(o,m){if(o&1&&(t(0,"td",56),i(1),e()),o&2){let n=m.$implicit;l(),_(" ",n.submittedByName," ")}}function ta(o,m){o&1&&(t(0,"th",60),i(1,"Action"),e())}function ia(o,m){o&1&&c(0,"span",63)}function na(o,m){o&1&&c(0,"i",64)}function oa(o,m){o&1&&c(0,"i",65)}function aa(o,m){if(o&1){let n=F();t(0,"td",61)(1,"button",62),S("click",function(){let r=x(n).$implicit,p=d(3);return y(r.viewOnly?p.viewSaveDetail(r):p.useRegistrationSave(r))}),W(2,ia,1,0,"span",63)(3,na,1,0,"i",64)(4,oa,1,0,"i",65),e()()}if(o&2){let n=m.$implicit,a=d(3);l(),s("disabled",a.isSaveLoading)("title",(n.viewOnly?"View completed registration for ":"Use saved registration for ")+n.registrantName),l(),Y((a.isSaveLoading==null?null:a.isSaveLoading.PK)===n.PK&&(a.isSaveLoading==null?null:a.isSaveLoading.SK)===n.SK?2:n.viewOnly?3:4)}}function ra(o,m){o&1&&c(0,"tr",66)}function la(o,m){o&1&&c(0,"tr",67)}function sa(o,m){if(o&1){let n=F();t(0,"label",37),i(1),h(2,"translate"),e(),t(3,"input",38),h(4,"translate"),h(5,"translate"),S("input",function(r){x(n);let p=d(2);return y(p.applyFilter(r))}),e(),t(6,"table",39),J(7,40),f(8,Go,2,0,"th",41)(9,zo,2,1,"td",42),Q(),J(10,43),f(11,Ko,2,0,"th",41)(12,qo,2,1,"td",42),Q(),J(13,44),f(14,$o,2,0,"th",41)(15,Wo,2,1,"td",42),Q(),J(16,45),f(17,Yo,2,0,"th",41)(18,Jo,2,1,"td",42),Q(),J(19,46),f(20,Qo,2,0,"th",41)(21,Zo,2,1,"td",42),Q(),J(22,47),f(23,Xo,2,0,"th",48)(24,ea,2,1,"td",42),Q(),J(25,49),f(26,ta,2,0,"th",50)(27,aa,5,3,"td",51),Q(),f(28,ra,1,0,"tr",52)(29,la,1,0,"tr",53),e(),c(30,"mat-paginator",54)}if(o&2){let n=d(2);l(),_(" ",g(2,9,"Search previous saves...")," "),l(2),s("placeholder",se(g(4,11,"Search previous saves..."))),wt("aria-label",se(g(5,13,"Search previous saves..."))),l(3),s("dataSource",n.previousSavesDataSource),l(22),s("matHeaderRowDef",n.displayedColumns),l(),s("matRowDefColumns",n.displayedColumns),l(),s("pageSizeOptions",Rt(15,To))}}
6function ma(o,m){o&1&&(t(0,"div",36),i(1,"No records found."),e())}function pa(o,m){if(o&1&&(c(0,"hr"),i(1),h(2,"translate"),W(3,sa,31,16),W(4,ma,2,0,"div",36)),o&2){let n=d();l(),_(" ",g(2,3,"Or select from previous registration data:")," "),l(2),Y(n.previousSavesDataSource.data.length?3:-1),l(),Y(n.previousSavesDataSource.filteredData.length?-1:4)}}function da(o,m){if(o&1&&(t(0,"p",71),i(1),h(2,"translate"),t(3,"a",72),i(4),h(5,"translate"),e()()),o&2){let n=d(2);l(),_(" ",g(2,3,"This attendee is already registered for this event. Please navigate to the login page to access.")," "),l(2),s("href",n.event.appUrl,ct),l(),_(" ",g(5,5," Access event ")," ")}}function ca(o,m){o&1&&(t(0,"span",73),i(1),h(2,"translate"),t(3,"a",74),i(4),h(5,"translate"),e(),i(6),h(7,"translate"),e()),o&2&&(l(),_(" ",g(2,4,"This user is disabled. Please contact ")," "),l(2),s("href","mailto:[email protected]",ct),l(),_(" ",g(5,6,"[email protected] ")," "),l(2),_(" ",g(7,8,"for assistance.")," "))}function ua(o,m){if(o&1&&(t(0,"div",68),f(1,da,6,7,"p",69)(2,ca,8,10,"span",70),e()),o&2){let n=d();s("ngSwitch",n.verifyEmailRes),l(),s("ngSwitchCase",n.RES_CODE_VERIFY_EMAIL.USER_REGISTERED),l(),s("ngSwitchCase",n.RES_CODE_VERIFY_EMAIL.USER_DEACTIVATED)}}var fa={pending:{label:"Incomplete",badgeClass:"bg-warning text-dark"},complete:{label:"Complete",badgeClass:"bg-success"}},Qi=(o,m)=>[o,m].filter(Boolean).join(" "),at=(()=>{class o{constructor(){this.utilitiesService=ie(fe),this.formBuilder=ie(K),this.registerService=ie(q),this.modal=ie(ue),this.dateFormatPipe=ie(ke),this.bespoke=ie(Me),this.isNoLastNameAllowed=this.bespoke.isAseanItsm2026,this.additionalProxySaves=[],this.success=new M,this.subscriptions$=[],this.verifyEmailRes="",this.RES_CODE_VERIFY_EMAIL={USER_NOT_FOUND:"UserNotFound",USER_UNCONFIRMED:"UserExistsUnconfirmed",USER_EXIST:"UserExist",USER_REGISTERED:"UserAlreadyRegistered",USER_EMAIL_RESERVED:"UserEmailReserved",ERR:"ErrRequestException",GROUP_REG_NOT_MATCH:"GroupRegNotMatch",USER_DEACTIVATED:"UserDeactivated"},this.isCheckEmailLoading=!1,this.showPasswordField=!1,this.customAttributes=[],this.passwordType="password",this.passwordValidations=[E.required,E.minLength(8),He],this.registrationSaves=null,this.previousSavesDataSource=new Pi([]),this.displayedColumns=["email","registrantName","dateCreated","eventName","status","action"],this.filterObservable=new xt(""),this.isSaveLoading=null,this.isCreatingInitialSave=!1,this.loadedSaveData=null,this.loadedSaveRequiresPassword=!1,this.proxyPk=""}set paginator(n){this.previousSavesDataSource.paginator=n}set sort(n){this.previousSavesDataSource.sort=n}ngOnInit(){this.profileForm=this.formBuilder.group({firstName:["",[E.required]],lastName:["",[E.required]],noLastName:[!1],email:["",[E.required,E.email]],password:[""]}),this.subscriptions$.push(this.noLastName.valueChanges.subscribe(n=>Vi(this.lastName,n))),this.registerService.isTicketTestMode||this.subscriptions$.push(this.email.valueChanges.pipe(ve(1e3),he()).subscribe(n=>I(this,null,function*(){this.verifyEmailRes="",this.email.valid&&n!==""&&(yield this.validateAccountExist(n))}))),this.subscriptions$.push(this.registerService.onTicketChange.subscribe(n=>{if(!n)return;let{attendee:a,event:r,previousSaves:p,ticket:P,customAttributes:V}=n;this.customAttributes=V||[],this.proxyPk=a?.PK?.replace("attendee-","user-")||"",P?.enableSharedProxyHistory&&(this.displayedColumns=["email","registrantName","dateCreated","eventName","submittedBy","status","action"]),this.event=r,p&&(this.registrationSaves=p,this.additionalProxySaves?.length&&this.additionalProxySaves.forEach(te=>{this.registrationSaves.find(re=>re.PK===te.PK)||this.registrationSaves.push(te)}),this.previousSavesDataSource.data=this.registrationSaves.map(te=>this.toHistoryRow(te)))})),this.previousSavesDataSource.filterPredicate=(n,a)=>[n.email,n.registrantName,n.dateCreatedLabel,n.eventName,this.displayedColumns.includes("submittedBy")?n.submittedByName:"",n.statusLabel].filter(Boolean).join(" ").toLowerCase().includes(a),this.subscriptions$.push(this.filterObservable.pipe(ve(300),he()).subscribe(n=>{this.previousSavesDataSource.filter=n.trim().toLowerCase()}))}ngOnDestroy(){this.subscriptions$.forEach(n=>n.unsubscribe())}get email(){return this.profileForm.get("email")}get firstName(){return this.profileForm.get("firstName")}get noLastName(){return this.profileForm.get("noLastName")}get lastName(){return this.profileForm.get("lastName")}get password(){return this.profileForm.get("password")}onRegister(){return I(this,null,function*(){let n;
6if(this.registrationSaves&&!this.loadedSaveData){this.isCreatingInitialSave=!0;try{n=yield this.createInitialSave()}catch(a){console.warn("Error creating initial save:",a)}this.isCreatingInitialSave=!1}this.registerService.hasAnsweredProxyForm=!0,this.loadedSaveRequiresPassword&&this.loadedSaveData?this.registerService.setRegistrationData(Ae(ye({firstName:this.firstName.value,lastName:this.lastName.value},this.noLastName.value===!0&&{noLastName:!0}),{email:this.email.value,password:this.password.value,savedData:this.loadedSaveData.data,savedRegistrationStateId:this.loadedSaveData.stateId,proxyEditMode:this.loadedSaveData.proxyEditMode})):this.registerService.setRegistrationData(ye(Ae(ye({firstName:this.firstName.value,lastName:this.lastName.value},this.noLastName.value===!0&&{noLastName:!0}),{email:this.email.value,password:this.password.value}),n&&{savedRegistrationStateId:{PK:n.PK,SK:n.SK}}))})}toHistoryRow(n){let a=fa[n.status];return Ae(ye({},n),{registrantName:Qi(n.firstName,n.lastName),dateCreatedLabel:this.formatDateCreated(n.dateCreated),submittedByName:Qi(n.submittedBy?.firstName,n.submittedBy?.lastName),statusLabel:a?.label||"",statusBadgeClass:a?.badgeClass||"",viewOnly:!!n.SK?.startsWith("attendee#")&&n.PK!==this.proxyPk})}formatDateCreated(n){let a=this.event?.dateformat==="Long format"?"Do MMMM YYYY":this.event?.dateformat;return this.dateFormatPipe.transform(n,!0,this.event?.timezoneLabel,`${a||"MM/DD/YYYY"} ${ke.HOUR_MINUTE_FORMAT}`,this.event?.timezone||Intl.DateTimeFormat().resolvedOptions().timeZone)}get showPreviousSaves(){return this.registrationSaves!==null&&!this.loadedSaveRequiresPassword}showFieldError(n){return n.dirty||!this.showPreviousSaves||!this.previousSavesDataSource.data.length}applyFilter(n){let a=n.target.value;this.filterObservable.next(a)}createInitialSave(){return I(this,null,function*(){try{let n=yield this.registerService.saveRegistrationProgress({data:Ae(ye({firstName:this.firstName.value,lastName:this.lastName.value},this.noLastName.value===!0&&{noLastName:!0}),{email:this.email.value})});if(n?.success)return n.data}catch(n){console.warn("Error creating initial save:",n)}})}useRegistrationSave(n){return I(this,null,function*(){try{this.isSaveLoading=n;let a=!1,r=yield this.registerService.getValidateUsername(n.email);if(r?.success===1&&r.message===this.RES_CODE_VERIFY_EMAIL.USER_REGISTERED){if(n.PK.startsWith("registration-save-")){this.utilitiesService.alert("This email is already registered for this event. However, you may edit the registration by loading a complete save instead."),this.isSaveLoading=null;return}a=!0}let p=!1;!a&&r?.message===this.RES_CODE_VERIFY_EMAIL.USER_NOT_FOUND&&(p=!0);let P=`${n.PK}|${n.SK}`,V=btoa(P),te=yield this.registerService.loadRegistrationSave(V);if(te?.success){let re=te.data;if(p){this.profileForm.patchValue({firstName:n.firstName,lastName:n.lastName,noLastName:this.isNoLastNameAllowed&&!n.lastName,email:n.email,password:""}),this.showPasswordField=!0,this.password.setValidators(this.passwordValidations),this.password.updateValueAndValidity(),this.email.disable(),this.loadedSaveData={data:re,stateId:{PK:n.PK,SK:n.SK},proxyEditMode:a},this.loadedSaveRequiresPassword=!0;try{yield this.utilitiesService.alert({header:"Password required",message:"For security reasons, previously provided passwords are not stored. To continue the registration for the selected attendee, please re-enter the temporary password that was initially provided."}).result}catch{}setTimeout(()=>{this.passwordInput?.nativeElement?.focus()},100)}else this.registerService.hasAnsweredProxyForm=!0,this.registerService.setRegistrationData({firstName:n.firstName,lastName:n.lastName,email:n.email,savedData:re,savedRegistrationStateId:{PK:n.PK,SK:n.SK},proxyEditMode:a})}}catch(a){console.warn("Error loading registration save:",a)}this.isSaveLoading=null})}validateAccountExist(n){return I(this,null,function*(){try{this.isCheckEmailLoading=!0;let a=yield this.registerService.getValidateUsername(n);a?.success===1?(this.verifyEmailRes=a.message,this.verifyEmailRes===this.RES_CODE_VERIFY_EMAIL.USER_NOT_FOUND?(this.password.setValidators(this.passwordValidations),this.password.updateV
6alueAndValidity(),this.showPasswordField=!0):(this.password.clearValidators(),this.password.updateValueAndValidity(),this.showPasswordField=!1)):this.verifyEmailRes=this.RES_CODE_VERIFY_EMAIL.ERR}catch(a){console.warn("[validateAccountExist]:",a),this.verifyEmailRes=this.RES_CODE_VERIFY_EMAIL.ERR}finally{this.isCheckEmailLoading=!1}})}reVerifyEmail(){this.isCheckEmailLoading=!1,this.verifyEmailRes="",this.email.updateValueAndValidity(),this.email.markAsUntouched(),this.email.markAsPristine(),this.email.setValue(this.email.value)}showPassword(){this.passwordType=this.passwordType==="password"?"text":"password"}viewSaveDetail(n){let a=this.modal.open(Ji,{size:"lg",backdrop:"static"});a.componentInstance.saveDetails=n,a.componentInstance.event=this.event,a.componentInstance.customAttributes=this.customAttributes}static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-proxy-registrant-form"]],viewQuery:function(a,r){if(a&1&&(Ee(vt,5),Ee(ht,5),Ee(Io,5)),a&2){let p;Ce(p=be())&&(r.paginator=p.first),Ce(p=be())&&(r.sort=p.first),Ce(p=be())&&(r.passwordInput=p.first)}},inputs:{additionalProxySaves:"additionalProxySaves"},outputs:{success:"success"},features:[kt([ke])],decls:18,vars:12,consts:[["ngForm","ngForm"],["checkEmailResult",""],["passwordInput",""],[3,"ngSubmit","formGroup"],[1,"row","my-3"],[1,"form-group"],[1,"input-group"],[1,"input-group-text"],[1,"bi","bi-envelope"],["placeholder","","type","email","formControlName","email","required","","autofocus","true",1,"form-control","border-end-0",3,"placeholder"],["label","Email",3,"control"],[4,"ngIf"],["class","row submt",4,"ngIf"],["class","loading-email-check",4,"ngIf","ngIfElse"],[1,"loading-email-check"],[1,"spinner-border","mx-auto","my-2","o-50"],[1,"visually-hidden"],[1,"mb-3"],[1,"row"],[1,"col"],["type","text","formControlName","firstName","required","",1,"form-control",3,"placeholder"],["label","First name",3,"control"],["type","text","formControlName","lastName",1,"form-control",3,"placeholder","required","readonly"],["label","Last name",3,"control"],[1,"form-check","mt-2"],["id","proxyNoLastName","type","checkbox","formControlName","noLastName",1,"form-check-input","custom-checkbox-primary"],["for","proxyNoLastName","translate","",1,"form-check-label"],[1,"bi","bi-lock"],["formControlName","password","required","",1,"form-control","border-end-0",3,"placeholder","type"],["type","button",1,"input-group-text","show-password",3,"click"],[1,"bi","bi-eye-fill"],["label","Password",3,"control"],[1,"row","submt"],[1,"col-sm"],["type","submit",1,"sub","custom-btn","custom-btn-primary","custom-btn-block","w-50","btn-create",3,"disabled"],[1,"spinner-grow","spinner-grow-sm","me-1"],[1,"text-center","my-5","o-50"],["for","previous-saves-search",1,"visually-hidden"],["id","previous-saves-search","type","text",1,"form-control","mb-3",3,"input","placeholder","aria-label"],["mat-table","","matSort","","matSortActive","dateCreated","matSortDirection","desc",1,"w-100","text-light",3,"dataSource"],["matColumnDef","email"],["mat-header-cell","","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","dateCreated"],["matColumnDef","status"],["matColumnDef","registrantName"],["matColumnDef","eventName"],["matColumnDef","submittedBy"],["mat-header-cell","","mat-sort-header","submittedByName",4,"matHeaderCellDef"],["matColumnDef","action"],["mat-header-cell","","class","table-actions",4,"matHeaderCellDef"],["mat-cell","","class","text-center",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["showFirstLastButtons","",3,"pageSizeOptions"],["mat-header-cell","","mat-sort-header",""],["mat-cell",""],[1,"badge",3,"class"],[1,"badge"],["mat-header-cell","","mat-sort-header","submittedByName"],["mat-header-cell","",1,"table-actions"],["mat-cell","",1,"text-center"],["type","button",1,"btn","shadow-none","border-0",3,"click","disabled","title"],[1,"spinner-grow","spinner-grow-sm"],[1,"bi","bi-eye","fs-5"],[1,"bi","bi-box-arrow-in-right","fs-5"],["mat-header-row",""],["mat-row",""],[1,"email-check-message",3,"ngSwitch"],["class","text-primary",4,"ngSwitchCase"],["class","text-danger",4,"ngSwitchCase"],[1,"text-primary"],[1,"text-primary","fw-bold",3,"href"],[1,"text-danger"],[1,"text-danger","fw-bold",3,"href"]],template:function(a,r){if(a&1){let p=F();W(0,Mo,2,3),t(1,"form",3,0),S("ngSubmit",function(){return x(p),y(r.onRegister())}),t(3,"div",4)(4,"div",5)(5,"div",6)(6,"div",7),c(7,"i",8),e(),c(8,"input",9),h(9,"translate"),e(),W(10,No,1,1,"app-form-control-error",10),f(11,Ro,2,2,"div",11),e(),f(12,Do,14,13,"ng-container",11)(13,Bo,11,6,"ng-container",11),e(),f(14,Uo,8,5,"div",12),e(),W(15,pa,5,5),f(16,ua,3,3,"ng-template",null,1,le)}a&2&&(Y(r.showPreviousSaves?0:-1),l(),s("formGroup",r.profileForm),l(7),s("placeholder",se(g(9,10,"Email"))),l(2),Y(r.showFieldError(r.email)?10:-1),l(),s("ngIf",r.email.valid&&r.event),l(),s("ngIf",!r.verifyEmailRes||r.verifyEmailRes===r.RES_CODE_VERIFY_EMAIL.USER_NOT_FOUND||r.verifyEmailRes===r.RES_CODE_VERIFY_EMAIL.USER_EXIST||r.verifyEmailRes===r.RES_CODE_VERIFY_EMAIL.USER_UNCONFIRMED),l(),s("ngIf",r.showPasswordField),l(),s("ngIf",!r.verifyEmailRes||r.verifyEmailRes!==r.RES_CODE_VERIFY_EMAIL.USER_REGISTERED&&r.verifyEmailRes!==r.RES_CODE_VERIFY_EMAIL.USER_DEACTIVATED),l(),Y(r.showPreviousSaves?15:-1))},dependencies:[hi,ht,Si,_i,xi,fi,gi,yi,Ei,bi,Ci,wi,vt,C,U,$,Ut,B,j,Be,b,G,z,ze,L,Fe,Pe,w,_e,ae],styles:[".loading-email-check[_ngcontent-%COMP%]{display:flex;flex-direction:row;justify-content:center;align-items:center;font-size:13px;
6width:200px}.loading-email-check[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]:first-child{height:20px;width:20px}.email-check-message[_ngcontent-%COMP%]{margin-top:10px}.email-check-message[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{text-align:left;border:1px solid;padding:12px 15px;border-radius:6px;background:#fff9e8;line-height:20px}.email-check-message[_ngcontent-%COMP%]   .text-warning-custom[_ngcontent-%COMP%]{color:#cb952e!important}.mat-mdc-table[_ngcontent-%COMP%]{background-color:#fff;color:#212529}.mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%], .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%]{color:#212529}.bg-dark[_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%], .bg-dark   [_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]{background-color:#212529;color:#fff}.bg-dark[_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%], .bg-dark   [_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-header-cell[_ngcontent-%COMP%]{color:#fff;border-bottom-color:#4f5155}.bg-dark[_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%], .bg-dark   [_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-cell[_ngcontent-%COMP%]{color:#fff;border-bottom-color:#4f5155}.bg-dark[_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-row[_ngcontent-%COMP%]:hover, .bg-dark   [_nghost-%COMP%]   .mat-mdc-table[_ngcontent-%COMP%]   .mat-mdc-row[_ngcontent-%COMP%]:hover{background-color:#191b22}"]})}}return o})();var Zi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,me,w,Ke,Fi,vi,ui,Ye,at]})}}return o})();var va=o=>[o];function ha(o,m){if(o&1&&(t(0,"div",2)(1,"label",3),i(2,"Attendee Type"),e(),t(3,"div",4),i(4),e()()),o&2){let n=d(2);l(4),u(n.ticket.type)}}function ga(o,m){o&1&&(t(0,"div"),i(1,"loading......"),e())}function _a(o,m){if(o&1){let n=F();t(0,"div")(1,"div")(2,"input",15),Nt("ngModelChange",function(r){x(n);let p=d(2);return Mt(p.CVfile,r)||(p.CVfile=r),y(r)}),e()()()}if(o&2){let n=d(2);l(2),Tt("ngModel",n.CVfile),s("disabled",!0)}}function Sa(o,m){if(o&1&&(t(0,"option",20),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function xa(o,m){if(o&1&&(t(0,"div"),c(1,"div",16),t(2,"div",17)(3,"label",3),i(4,"Attendee Type"),e(),t(5,"select",18),f(6,Sa,2,2,"option",19),e()()()),o&2){let n=d(3);l(6),s("ngForOf",n.typeOptions)}}function ya(o,m){if(o&1&&(t(0,"div"),f(1,xa,7,1,"div",8),e()),o&2){let n=d(2);l(),s("ngIf",!n.ticket.type&&n.typeOptions&&n.typeOptions.length)}}function Ea(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Telephone Number (private) "),e(),c(5,"input",21),e()()())}function Ca(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Company "),e(),c(5,"input",22),e()()())}function ba(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Job Title "),e(),c(5,"input",23),e()()())}function wa(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," LinkedIn Profile "),e(),c(5,"input",24),e()()())}function Fa(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Twitter Profile "),e(),c(5,"input",25),e()()())}function Pa(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Other Social Media URL "),e(),c(5,"input",26),e()()())}function Ia(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Organization "),e(),c(5,"input",27),e()()())}function Ta(o,m){o&1&&(t(0,"div")(1,"div")(2,"div",2)(3,"label",3),i(4," Phone Number "),e(),c(5,"input",28),e()()())}function Ma(o,m){if(o&1&&(t(0,"div",29),c(1,"input",30),i(2),h(3,"translate"),e()),o&2){let n=m.$implicit;l(),s("value",n),l(),_(" ",g(3,2,n)," ")}}function Na(o,m){if(o&1){let n=F();t(0,"form",1),S("ngSubmit",function(){x(n);let r=d();return y(r.next())}),t(1,"div",2)(2,"label",3),i(3,"First name"),e(),t(4,"div",4),i(5),e()(),t(6,"div",2)(7,"label",3),i(8,"Last name"),e(),t(9,"div",4),i(10),e()(),t(11,"div",2)(12,"label",3),i(13,"Email address"),e(),t(14,"div",4),i(15),e()(),f(16,ha,5,1,"div",5),t(17,"div",6)(18,"div",2)(19,"h4",7),S("click",function(){x(n);let r=d();return y(r.UploadCV())}),i(20,"Upload CV"),e(),f(21,ga,2,0,"div",8)(22,_a,3,2,"div",8),e()(),t(23,"div"),f(24,ya,2,1,"div",8),e(),f(25,Ea,6,0,"div",8)(26,Ca,6,0,"div",8)(27,ba,6,0,"div",8)(28,wa,6,0,"div",8)(29,Fa,6,0,"div",8)(30,Pa,6,0,"div",8)(31,Ia,6,0,"div",8)(32,Ta,6,0,"div",8),t(33,"div",2)(34,"label",3),i(35,"What Do you use Python for? "),e(),t(36,"ng-multiselect-dropdown",9),S("onSelect",function(r){x(n);let p=d();return y(p.onItemSelect(r))})("onSelectAll",function(r){x(n);let p=d();return y(p.onSelectAll(r))}),e()(),t(37,"div",2)(38,"label",3),i(39,"What Areas of Python are you interested in? "),e(),t(40,"ng-multiselect-dropdown",10),S("onSelect",function(r){x(n);let p=d();return y(p.onItemSelect(r))})("onSelectAll",function(r){x(n);let p=d();return y(p.onSelectAll(r))}),e()(),t(41,"div",2)(42,"label",3),i(43,"Will you take part in networking opportunities during conference? "),e(),f(44,Ma,4,4,"div",11),e(),t(45,"div",12)(46,"div",13)(47,"button",14),i(48),h(49,"translate"),e()()()()}if(o&2){let n=d();s("formGroup",n.profileForm)("ngClass",we(28,va,n.event?n.event.url:"")),l(5),u(n.user.attributes.given_name),l(5),u(n.user.attributes.family_name),l(5),u(n.user.attributes.email),l(),s("ngIf",n.ticket.type),l(5),s("ngIf",n.CVloading===!0),l(),s("ngIf",n.CVfile),l(2),s("ngIf",n.visibleType===!0),l(),s("ngIf",n.telnumvisible===!0),l(),s("ngIf",n.companyvisible===!0),l(),s("ngIf",n.jobTitlevisible===!0),l(),s("ngIf",n.linkedInProfilevisible===!0),l(),s("ngIf",n.twittervisible===!0),l(),s("ngIf",n.otherSocialMediaURLvisible===!0),l(),s("ngIf",n.organizationv===!0),l(),s("ngIf",n.phonev===!0),l(4),s("placeholder","")("settings",n.dropdownSettings)("data",n.dropdownList),l(4),s("placeholder","")("settings",n.dropdownSettings)("data",n.areas),l(4),s("ngForOf",n.oppurtunity),l(3),s("disabled",n.profileForm.invali
6d),l(),_(" ",g(49,26,n.event.registerTermsAndConditionsLink||n.ticket.amount?"Next":"Register")," ")}}var rt=(()=>{class o{constructor(n,a,r,p,P,V,te,re,ce,Re){this.api=n,this.settingService=a,this.attendeeService=r,this.modalService=p,this.modal=P,this.auth=V,this.formBuilder=te,this.registerService=re,this.utilitiesService=ce,this.domSanitizer=Re,this.subscription$=[],this.dropdownList=[],this.selectedItems=[],this.typeOptions=[],this.areas=[],this.sponsor=["Yes","No"],this.oppurtunity=["Yes","No","Maybe"],this.errorMessage="",this.success=new M}ngOnInit(){this.loadMenu(),this.descriptions={telNum:{title:"telNum",sub:"Telephone Number (private)"},company:{title:"company",sub:"Company"},jobTitle:{title:"jobTitle",sub:"Job Title"},linkedinProfile:{title:"linkedinProfile",sub:"LinkedIn Profile"},twitter:{title:"twitter",sub:"Twitter Profile"},otherSocialMediaURL:{title:"OtherSocialMediaURL",sub:"Other Social Media URL"},type:{title:"type",sub:"List of Attendee type"},organization:{title:"Organization",sub:"URL"},phone_number:{title:"phone_number",sub:"Phone Number"}};let n=["Developer","Data wrangling","Designer/UX","Technical Writer/Editor","Project/Product Manager","DevOps","IT/Ops","DevRel/Community","Researcher","Software Engineer","Other Engineer","Student","Hobbyist","Quality Assurance Tester"],a=["General usage","Data Science/DB/Big Data","Hacking/Security/Cyber","Web Programming","Mobile Devices","Embedded Python","Integration","QA/QE","CI/DevOps/Automation","Cloud","Tips & tricks"];function r(p){return p.map((P,V)=>({item_id:V+1,item_text:P}))}this.dropdownList=r(n),this.areas=r(a),this.dropdownSettings={enableCheckAll:!1,singleSelection:!1,idField:"item_id",textField:"item_text",unSelectAllText:"UnSelect All",allowSearchFilter:!0},this.subscription$.push(this.registerService.onTicketChange.subscribe(p=>{this.ticket=p.ticket,this.event=p.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes,this.isCustomer=this.ticket.type.includes("Customer")||this.ticket.type.includes("customer")||this.ticket.type.includes("Customers")||this.ticket.type.includes("customers")),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(p=>{this.user=p,this.profileForm?.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))}loadCustomAttributes(){this.customarray=this.customAttributes.forEach(n=>{let a=[];n.mandatory==="mandatory"&&a.push(E.required),n.type==="checkbox"?this.profileForm.addControl(n.attribute,this.formBuilder.array([],a)):this.profileForm.addControl(n.attribute,new Ie("",a))})}loadMenu(){return I(this,null,function*(){let n=yield this.settingService.get("custom-registration");n?.data&&(this.customRegistration=n.data,this.telnumvisible=this.customRegistration.telNum.visible,[{key:"c
6ompany",formControlName:"company"},{key:"jobTitle",formControlName:"jobTitle"},{key:"type",formControlName:"type"},{key:"telNum",formControlName:"telNum"},{key:"linkedinProfile",formControlName:"linkedInProfile"},{key:"twitter",formControlName:"twitter"},{key:"phone_number",formControlName:"phone_number"}].forEach(({key:p,formControlName:P})=>{let V=this.customRegistration[p];V.visible&&V.mandatory&&this.profileForm.get(P).setValidators([E.required])}));let a=yield this.settingService.get("custom-upload");a?.data&&(this.customUpload=a.data,this.customUpload&&(this.cv=this.customUpload.cv.visible))})}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){this.success.emit(this.profileForm.value)}checked(){let n=this.profileForm.controls;for(let a in n)if(n[a].invalid){this.errorMessage="Please fill all required fields.";return}}onItemSelect(n){console.log(n)}onSelectAll(n){console.log(n)}UploadCV(){return I(this,null,function*(){this.modalService.open($e).result.then(a=>{let r=URL.createObjectURL(a);this.previewDocs=this.domSanitizer.sanitize(Oe.URL,r),this.docsFile=a,this.CVloading=!0,this.load(),this.errorMessage==="Profile Image is required."&&(this.errorMessage="")}).catch(a=>{})})}uploadFileDocs(n){return I(this,null,function*(){try{let a=yield this.api.post("/website/public/upload-file",{body:{name:n.name,type:n.type},queryStringParameters:{name:n.name,type:n.type}});if(a?.success){let r=new FormData;Object.keys(a.data.fields).forEach(V=>{r.append(V,a.data.fields[V])}),r.append("file",n);let p={method:"POST",body:r};return{success:1,data:yield fetch(a.data.url,p),url:a.data.url+"/"+a.data.key}}else return{success:0,message:"Failed to get tmp URL. "+JSON.stringify(a)}}catch(a){return{success:0,message:a.message}}})}load(){return I(this,null,function*(){if(this.docsFile){let n=yield this.uploadFileDocs(this.docsFile);if(n&&n.success)this.CVfile=n.url,this.CVloading=!1;else{this.utilitiesService.alert({message:"Error uploading file!"});return}}})}initForm(){this.load(),!this.profileForm&&(this.profileForm=this.formBuilder.group({type:[this.ticket.type,this.typeOptions?.length?[E.required]:[]],jobTitle:["",[]],OtherSocialMediaURL:["",[]],company:["",[]],telNum:["",[]],twitter:["",[]],linkedInProfile:["",[]],photoId:[""],Documents:[""],Organization:[""],phone_number:[""],WhatDoYouUsePythonFor:["",[]],WhatAreasOfPythonAreYouInterested:["",[]],WillYouTakePartInNetworkingOpportunities:["",[]]}))}getFileTypes(n){console.log(n);let a="";return n.fileTypes.forEach(r=>{let p=r.toLowerCase();a&&(a+=","),p==="pdf"?a+=".pdf":p==="doc"?a+=".doc,.docx":p==="xls"?a+=".xls,.xlsx":p==="ppt"?a+=".ppt,.pptx":p==="zip"&&(a+=".zip")}),a}static{this.\u0275fac=function(a){return new(a||o)(v(je),v(Ue),v(We),v(ue),v(ue),v(D),v(K),v(q),v(fe),v(De))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-pycon-israel-form"]],outputs:{success:"success"},decls:1,vars:1,consts:[[3,"formGroup","ngClass","ngSubmit",4,"ngIf"],[3,"ngSubmit","formGroup","ngClass"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"py-2"],[1,"pointer",3,"click"],[4,"ngIf"],["formControlName","WhatDoYouUsePythonFor",3,"onSelect","onSelectAll","placeholder","settings","data"],["formControlName","WhatAreasOfPythonAreYouInterested",3,"onSelect","onSelectAll","placeholder","settings","data"],["class","col-auto",4,"ngFor","ngForOf"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","btn-create","w-50",3,"disabled"],["type","text","formControlName","Documents",1,"form-control",3,"ngModelChange","ngModel","disabled"],[1,"border-top","my-4"],[1,"form-group","required"],["formControlName","type",1,"form-select"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["type","text","formControlName","telNum",1,"form-control"],["type","text","formControlName","company",1,"form-control"],["type","text","formControlName","jobTitle",1,"form-control"],["type","text","formControlName","linkedInProfile",1,"form-control"],["type","text","formControlName","twitter",1,"form-control"],["type","text","formControlName","OtherSocialMediaURL",1,"form-control"],["type","text","formControlName","Organization",1,"form-control"],["type","text","formControlName","phone_number",1,"form-control"],[1,"col-auto"],["type","radio","formControlName","WillYouTakePartInNetworkingOpportunities",3,"value"]],template:function(a,r){a&1&&f(0,Na,50,30,"form",0),a&2&&s("ngIf",r.profileForm)},dependencies:[L,C,U,X,ee,$,Z,Le,B,j,b,G,z,ge,oe,Te,Qt,w,ae],styles:[".pointer[_ngcontent-%COMP%]{cursor:pointer}"]})}}return o}
6)();var Xi=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,Te.forRoot(),A,C,b,w,me,rt]})}}return o})();var ka=["instance"];function Ra(o,m){if(o&1&&(t(0,"div",1)(1,"label",2),i(2,"Attendee type"),e(),t(3,"div",3),i(4),e()()),o&2){let n=d();l(4),u(n.ticket.type)}}function Aa(o,m){if(o&1&&(t(0,"option",15),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function Oa(o,m){if(o&1&&(t(0,"option",15),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}function Va(o,m){o&1&&(t(0,"div",1)(1,"label"),i(2,"Enter profession"),e(),c(3,"input",16),e())}var St=["Surgeon","Nefrologist","Infectiologist","Nurse specialist","Anestesia assistant","Hospital hygienist","Radiologist","Interventional radiologist ","Anesthesiologist","Intensivist","Vascular Access Specialist","Home care nurse","Nurse","Pediatrician","Clinical manager","Clinical educator","Industry"],lt=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.registerService=r,this.subscription$=[],this.typeOptions=[],this.countryOptions=[],this.professionOptions=St,this.success=new M,this.focus$=new dt,this.click$=new dt,this.search=p=>{let P=p.pipe(ve(200),he()),V=this.click$.pipe(Ct(()=>!this.instance.isPopupOpen())),te=this.focus$;return Et(P,te,V).pipe(yt(re=>(re===""?St:St.filter(ce=>ce.toLowerCase().indexOf(re.toLowerCase())>-1)).sort((ce,Re)=>ce.localeCompare(Re))))}}ngOnInit(){this.countryOptions=Ne,this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm&&this.profileForm.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))}initForm(){this.profileForm||(this.profileForm=this.formBuilder.group({country:["",[E.required]],profession:["",[E.required]],organization:["",[E.required]],customProfession:["",[]]}),this.profileForm.get("profession").valueChanges.subscribe(n=>{this.profileForm.get("profession").value==="Other"?(this.profileForm.controls.customProfession.setValidators([E.required]),this.profileForm.controls.customProfession.updateValueAndValidity()):(this.profileForm.controls.customProfession.clearValidators(),this.profileForm.controls.customProfession.updateValueAndValidity())}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}requiredIfProfessionOther(){return this.profileForm.get("profession").value==="Other"}next(){let n=this.profileForm.value;n.profession==="Other"&&(n.profession=n.customProfession,delete n.customProfession),this.success.emit(n)}get profession(){return this.profileForm.get("profession").value}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(q))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-wocova2021-form"]],viewQuery:function(a,r){if(a&1&&Ee(ka,7),a&2){let p;Ce(p=be())&&(r.instance=p.first)}},outputs:{success:"success"},decls:41,vars:10,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"border-top","my-4"],["formControlName","country",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],["formControlName","profession",1,"form-select"],["value","Other"],["type","text","formControlName","organization",1,"form-control"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],[3,"value"],["type","text","formControlName","customProfession",1,"form-control"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Email address"),e(),t(14,"div",3),i(15),e()(),f(16,Ra,5,1,"div",4),c(17,"div",5),t(18,"div",1)(19,"label",2),i(20,"Country"),e(),t(21,"select",6),c(22,"option",7),f(23,Aa,2,2,"option",8),e()(),t(24,"div",1)(25,"label"),i(26,"Profession"),e(),t(27,"select",9),c(28,"option",7),f(29,Oa,2,2,"option",8),t(30,"option",10),i(31,"Other"),e()()(),f(32,Va,4,0,"div",4),t(33,"div",1)(34,"label",2),i(35,"Organization/Company/Hospital"),e(),c(36,"input",11),e(),t(37,"div",12)(38,"div",13)(39,"button",14),i(40),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes.email),l(),s("ngIf",r.ticket.type),l(7),s("ngForOf",r.countryOptions),l(6),s("ngForOf",r.professionOptions),l(3),s("ngIf",r.profession==="Other"),l(7),s("disabled",r.profileForm.invali
6d),l(),_(" ",r.event.registerTermsAndConditionsLink||r.ticket.amount?"Next":"Register"," "))},dependencies:[C,U,X,ee,$,Z,B,j,b,G,z,L,oe],encapsulation:2})}}return o})();function Da(o,m){if(o&1&&(t(0,"div",1)(1,"label",2),i(2,"Attendee type"),e(),t(3,"div",3),i(4),e()()),o&2){let n=d();l(4),u(n.ticket.type)}}function La(o,m){o&1&&(t(0,"div",1)(1,"label",2),i(2,"Company - Empresa"),e(),c(3,"input",9),e())}function Ba(o,m){o&1&&(t(0,"div",1)(1,"label",2),i(2,"Job title - Cargo"),e(),c(3,"input",10),e())}var st=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.registerService=r,this.subscription$=[],this.typeOptions=[],this.success=new M}ngOnInit(){this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes,this.isCustomer=!!(this.ticket.type.includes("Customer")||this.ticket.type.includes("customer")||this.ticket.type.includes("Customers")||this.ticket.type.includes("customers"))),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm&&this.profileForm.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"])}))}initForm(){this.profileForm||(this.profileForm=this.formBuilder.group({type:[this.ticket.type,this.typeOptions&&this.typeOptions.length?[E.required]:[]],jobTitle:["",[E.required]],company:[this.user?this.user.attributes["custom:company"]:"",[E.required]]}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){this.success.emit(this.profileForm.value)}checked(){let n=[],a=this.profileForm.controls;for(let r in a)a[r].invalid&&(n.push(r),console.log(r))}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(q))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-summit-spain-form"]],outputs:{success:"success"},decls:24,vars:9,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"border-top","my-4"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],["type","text","formControlName","company",1,"form-control"],["type","text","formControlName","jobTitle",1,"form-control"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name - Primer nombre"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name - Apellido"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Email address - Correo electr\xF3nico"),e(),t(14,"div",3),i(15),e()(),f(16,Da,5,1,"div",4),c(17,"div",5),f(18,La,4,0,"div",4)(19,Ba,4,0,"div",4),t(20,"div",6)(21,"div",7)(22,"button",8),i(23),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes.email),l(),s("ngIf",r.ticket.type),l(2),s("ngIf",r.isCustomer),l(),s("ngIf",r.isCustomer),l(3),s("disabled",r.profileForm.invalid),l(),_(" ",r.event.registerTermsAndConditionsLink||r.ticket.amount?"Next":"Register"," "))},dependencies:[C,U,$,B,j,b,G,z,L],encapsulation:2})}}return o})();function ja(o,m){if(o&1&&(t(0,"div",1)(1,"label",2),i(2,"Attendee Type"),e(),t(3,"div",3),i(4),e()()),o&2){let n=d();l(4),u(n.ticket.type)}}function Ua(o,m){if(o&1&&(t(0,"option",14),i(1),e()),o&2){let n=m.$implicit;s("value",n),l(),u(n)}}var mt=(()=>{class o{constructor(n,a,r){this.auth=n,this.formBuilder=a,this.registerService=r,this.subscription$=[],this.success=new M,this.countryOptions=[],this.typeOptions=[]}ngOnInit(){this.countryOptions=Ne,this.subscription$.push(this.registerService.onTicketChange.subscribe(n=>{this.ticket=n.ticket,this.event=n.event,this.event.attendeeTypes&&(this.typeOptions=this.event.attendeeTypes),this.initForm()})),this.subscription$.push(this.auth.userSubject.subscribe(n=>{this.user=n,this.profileForm&&this.profileForm.get("company")&&this.profileForm.get("company").setValue(this.user.attributes["custom:company"]),this.profileForm&&this.profileForm.get("jobTitle")&&this.profileForm.get("jobTitle").setValue(this.user.attributes["custom:jobTitle"])}))}initForm(){this.profileForm||(this.profileForm=this.formBuilder.group({jobTitle:[this.user?this.user.attributes["custom:jobTitle"]:"",[E.required]],company:["",[E.required]],country:["",[E.required]]}))}ngOnDestroy(){this.subscription$.forEach(n=>n.unsubscribe())}next(){let n=this.profileForm.value;this.success.emit(n)}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(K),v(q))}}static{this.\u0275cmp=N({type:o,selectors:[["app-profile-world-communities-forum-form"]],outputs:{success:"success"},decls:37,vars:10,consts:[[3,"ngSubmit","formGroup"],[1,"form-group"],["for",""],[1,"fw-bold"],["class","form-group",4,"ngIf"],[1,"border-top","my-4"],["type","text","formControlName","jobTitle",1,"form-control"],["type","text","formControlName","company",1,"form-control"],["formControlName","country",1,"form-select"],["value",""],[3,"value",4,"ngFor","ngForOf"],[1,"row"],[1,"col"],["type","submit",1,"custom-btn","custom-btn-primary","custom-btn-block","w-50",3,"disabled"],[3,"value"]],template:function(a,r){a&1&&(t(0,"form",0),S("ngSubmit",function(){return r.next()}),t(1,"div",1)(2,"label",2),i(3,"First name"),e(),t(4,"div",3),i(5),e()(),t(6,"div",1)(7,"label",2),i(8,"Last name"),e(),t(9,"div",3),i(10),e()(),t(11,"div",1)(12,"label",2),i(13,"Email address"),e(),t(14,"div",3),i(1
65),e()(),f(16,ja,5,1,"div",4),c(17,"div",5),t(18,"div",1)(19,"label",2),i(20,"Title"),e(),c(21,"input",6),e(),t(22,"div",1)(23,"label",2),i(24,"Affiliation"),e(),c(25,"input",7),e(),t(26,"div",1)(27,"label",2),i(28,"Country"),e(),t(29,"select",8),c(30,"option",9),f(31,Ua,2,2,"option",10),e()(),t(32,"div",11)(33,"div",12)(34,"button",13),i(35),h(36,"translate"),e()()()()),a&2&&(s("formGroup",r.profileForm),l(5),u(r.user.attributes.given_name),l(5),u(r.user.attributes.family_name),l(5),u(r.user.attributes.email),l(),s("ngIf",r.ticket.type),l(15),s("ngForOf",r.countryOptions),l(3),s("disabled",r.profileForm.invalid),l(),_(" ",g(36,8,r.event.registerTermsAndConditionsLink||r.ticket.amount?"Next":"Register")," "))},dependencies:[C,U,X,ee,$,Z,B,j,b,G,z,L,oe,w,ae],encapsulation:2})}}return o})();function Ga(o,m){if(o&1){let n=F();t(0,"div")(1,"app-auth",5),S("isRegistered",function(r){x(n);let p=d();return y(p.isRegistered(r))}),e()()}if(o&2){let n=d();l(),s("organization",n.organization)("nosignin",!0)("ticket",n.ticket)("event",n.event)}}function za(o,m){if(o&1){let n=F();J(0),t(1,"app-profile-proxy-registrant-form",8),S("success",function(r){x(n);let p=d(2);return y(p.next(r))}),e(),Q()}if(o&2){let n=d(2);l(),s("additionalProxySaves",n.additionalProxySaves)}}function Ka(o,m){if(o&1){let n=F();t(0,"app-profile-ccf-form",13),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}if(o&2){let n=d(3);s("type",n.ticket.type)}}function qa(o,m){if(o&1){let n=F();t(0,"app-evps-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function $a(o,m){if(o&1){let n=F();t(0,"app-profile-hp-mpa-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Ha(o,m){if(o&1){let n=F();t(0,"app-profile-alaska-rsbc-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Wa(o,m){if(o&1){let n=F();t(0,"app-profile-wocova2021-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Ya(o,m){if(o&1){let n=F();t(0,"app-profile-global-ethics-summit-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Ja(o,m){if(o&1){let n=F();t(0,"app-profile-summit-spain-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Qa(o,m){if(o&1){let n=F();t(0,"app-profile-innovation-days-european-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Za(o,m){if(o&1){let n=F();t(0,"app-profile-world-communities-forum-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function Xa(o,m){if(o&1){let n=F();t(0,"app-profile-pro-one-media-demo-profile",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function er(o,m){if(o&1){let n=F();t(0,"app-profile-pycon-israel-form",14),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}}function tr(o,m){if(o&1){let n=F();t(0,"app-profile-common-form",15),S("success",function(r){x(n);let p=d(3);return y(p.next(r))}),e()}if(o&2){let n=d(3);s("isCustomTerms",n.isUser)("submitAttempt",n.submitAttempt)}}function ir(o,m){if(o&1&&(t(0,"div",9),f(1,Ka,1,1,"app-profile-ccf-form",10)(2,qa,1,0,"app-evps-form",11)(3,$a,1,0,"app-profile-hp-mpa-form",11)(4,Ha,1,0,"app-profile-alaska-rsbc-form",11)(5,Wa,1,0,"app-profile-wocova2021-form",11)(6,Ya,1,0,"app-profile-global-ethics-summit-form",11)(7,Ja,1,0,"app-profile-summit-spain-form",11)(8,Qa,1,0,"app-profile-innovation-days-european-form",11)(9,Za,1,0,"app-profile-world-communities-forum-form",11)(10,Xa,1,0,"app-profile-pro-one-media-demo-profile",11)(11,er,1,0,"app-profile-pycon-israel-form",11)(12,tr,1,2,"app-profile-common-form",12),e()),o&2){let n=d(2);s("ngSwitch",n.eventType),l(),s("ngSwitchCase","ccf"),l(),s("ngSwitchCase","evps"),l(),s("ngSwitchCase","hpmpa"),l(),s("ngSwitchCase","alaska-rsbc"),l(),s("ngSwitchCase","wocova-2021"),l(),s("ngSwitchCase","global-ethics-summit"),l(),s("ngSwitchCase","summit-spain"),l(),s("ngSwitchCase","innovation-days-european-it-partners-2021"),l(),s("ngSwitchCase","world-communities-forum"),l(),s("ngSwitchCase","asian-descent-idea-summit-2021"),l(),s("ngSwitchCase","pycon-israel-2021")}}function nr(o,m){if(o&1&&(t(0,"h1",6),i(1),h(2,"translate"),e(),t(3,"h1",7),i(4,"Create your account"),e(),f(5,za,2,1,"ng-container",3)(6,ir,13,12,"ng-template",null,1,le)),o&2){let n=ne(7),a=d();s("ngClass",a.isLenovoApIsoKickoff22?"isLenovoApIsoKickoff22":""),l(),_(" ",g(2,4,a.ticket!=null&&a.ticket.enableFullProxy?"Attendee":"Profile")," "),l(4),s("ngIf",a.showProxyRegistrantForm)("ngIfElse",n)}}var pt=(()=>{class o{constructor(n,a,r,p,P,V,te,re){this.auth=n,this.router=a,this.activatedRoute=r,this.registerService=p,this.pageService=P,this.titleService=V,this.utilities=te,this._document=re,this.title="Canapii - innovative hybrid and virtual event management software",this.eventType="",this.registerFlag=!0,this.activateFlag=!1,this.isEvps=!1,this.isLenovoApIsoKickoff22=!1,this.attendee="",this.additionalProxySaves=[],this.submitAttempt=!1,this.subscriptions$=[],this.showProxyRegistrantForm=!1,this.titleService.setTitle(this.title)}ngOnInit(){this.subscriptions$.push(this.activatedRoute.queryParams.subscribe(n=>{n.organization&&(this.organization=n.organization,this.attendee=n.attendee)})),this.subscriptions$.push(this.registerService.onTicketChange.subscribe(n=>{n&&(this.ticket=n.ticket,this.event=n.event,this.isEvps=this.event.url.indexOf("evps-2020")!==-1,this.isLenovoApIsoKickoff22=this.event.url.indexOf("lenovo-ap-iso-kickoff-22")!==-1,this.event.url.indexOf("evps-2020")!==-1?this.eventType="evps":this.event.url.indexOf("canalys-forum")!==-1&&this.event.url.indexOf("2020")!==-1?this.eventType="ccf":this.event.url.indexOf("hp-mpa-2020")!==-1?this.eventType="hpmpa":this.eventType=this.event.url,this.event?.url&&this.event.url==="EliteEvolution"&&(document.body.classList.add("dark"),document.body.classList.add("EliteEvolution")),this.showProxyRegistrantForm=!!(this.ticket?.enableFullProxy&&!this.registerService.getCurrentRegistrationData()&&!this.registerService.hasAnsweredProxyForm))})),this.subscriptions$.push(this.auth.userSubject.subscribe(n=>{this.user=n})),this.subscriptions$.push(this.registerService.getRegistrationData().subscribe(n=>{n&&(this.user=n),this.ticket?.enableFullProxy&&(this.showProxyRegistrantForm=!this.registerService.hasAnsweredProxyForm||!n)})),window.location.pathname.includes("laithwaites")&&this._document.getElementById("appIcon").setAttribute("href","../assets/icons/VF-Favicon.png")}ngOnDestroy(){this.subscriptions$.forEach(n=>n.unsubscribe())}isRegistered(n){return I(this,null,function*(){this.isUser=n})}next(n){return I(this,null,function*(){if(n.proxySave){this.showProxyRegistrantForm=!0,this.additionalProxySaves.find(p=>p.PK===n.proxySave.PK)||this.additionalProxySaves.push(n.proxySave);return}this.submitAttempt=!0,this.registerService.profile=n;let a=this.pageService.termsAndConditions,r=this.ticket.amount||this.registerService.getCurrentSubTotal()>0||this.registerService.getPricedAttributeSubtotal()!=0||this.registerService.getCurrentHotelTotal()>0;
6if(this.event.registerTermsAndConditionsLink||a)this.router.navigate(["..","terms-and-conditions"],{relativeTo:this.activatedRoute.parent,queryParamsHandling:"preserve"});else if(!this.ticket.groupRegistration&&r)this.router.navigate(["..","payment"],{relativeTo:this.activatedRoute.parent,queryParamsHandling:"preserve"});else try{let p=yield this.getRegisterResult(n);if(p?.success===0){let P=p.message??"An error occurred while processing your registration. Please try again.";P==="Failed to book session based on registration answers."&&p.fullSessions?.length&&(P=P+" The following sessions are full: "+p.fullSessions.map(V=>V.title).join(", ")+"."),this.utilities.alert(P),this.submitAttempt=!1;return}yield this.registerService.loadTicket(this.event.url,this.ticket.PK),this.onRegisterNavigate(p)}catch(p){console.error(p)}this.submitAttempt=!1})}getRegisterResult(n){return I(this,null,function*(){return n.proxyEditMode?yield this.registerService.saveRegistrationProgress({PK:n.registrationStateId.PK,SK:n.registrationStateId.SK,proxyEditMode:!0,onRegisterEndButton:!0,data:n}):yield this.registerService.registerWithoutPayment()})}onRegisterNavigate(n){if(this.ticket?.proxyRegistration===!0){let a={username:n.user.PK,event:this.event.PK,firstName:n.user.firstName,lastName:n.user.lastName,email:n.user.email,isTestMode:this.ticket?.enableTestMode};this.router.navigate(["invites-proxy"],{relativeTo:this.activatedRoute.parent.parent,queryParams:a})}else this.router.navigate(["confirmation"],{relativeTo:this.activatedRoute.parent.parent})}static{this.\u0275fac=function(a){return new(a||o)(v(D),v(jt),v(Bt),v(q),v(Je),v(Ve),v(fe),v(bt))}}static{this.\u0275cmp=N({type:o,selectors:[["ng-component"]],decls:6,vars:2,consts:[["profileView",""],["showProfileForm",""],[1,"content","px-sm-4"],[4,"ngIf","ngIfElse"],[1,"regsterflag"],[3,"isRegistered","organization","nosignin","ticket","event"],[1,"default",3,"ngClass"],["hidden","",1,"siteminder"],[3,"success","additionalProxySaves"],[1,"",3,"ngSwitch"],[3,"type","success",4,"ngSwitchCase"],[3,"success",4,"ngSwitchCase"],[3,"isCustomTerms","submitAttempt","success",4,"ngSwitchDefault"],[3,"success","type"],[3,"success"],[3,"success","isCustomTerms","submitAttempt"]],template:function(a,r){if(a&1&&(t(0,"div",2),f(1,Ga,2,4,"div",3)(2,nr,8,6,"ng-template",4,0,le),e(),t(4,"p"),i(5,"\xA0"),e()),a&2){let p=ne(3);l(),s("ngIf",!r.user)("ngIfElse",p)}},dependencies:[L,Ze,ge,at,Fe,Pe,et,Xe,tt,it,lt,Bi,st,nt,mt,ot,rt,Vt,Di,w,ae],styles:['.isLenovoApIsoKickoff22[_ngcontent-%COMP%]{font-family:Nunito,Roboto,-apple-system,sans-serif!important;--ion-font-family: "Nunito", "Roboto", -apple-system, sans-serif !important}']})}}return o})();var or=[{path:"",component:pt}],en=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[ut.forChild(or),ut]})}}return o})();var tn=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,me,st]})}}return o})();var nn=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,me,lt]})}}return o})();var on=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,C,b,w,mt]})}}return o})();var E0=(()=>{class o{static{this.\u0275fac=function(a){return new(a||o)}}static{this.\u0275mod=k({type:o})}static{this.\u0275inj=T({imports:[A,en,Ge,zt,qi,$i,Li,Hi,w,nn,ji,tn,on,Wi,Yi,Xi,Ki,zi,Zi,pt]})}}return o})();export{E0 as ProfileModule};

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.