1"use strict";(self.webpackChunkmeridianbet_web_v4=self.webpackChunkmeridianbet_web_v4||[]).push([[5416],{30222:(q,R,s)=>{s.d(R,{f:()=>M,i:()=>f});var a=s(49969);const f=(0,a.hZ)("slideDownAnimation",[(0,a.kY)(":enter",[(0,a.iF)({height:0,opacity:0}),(0,a.i0)("0.3s ease-out",(0,a.iF)({height:"*",opacity:1}))]),(0,a.kY)(":leave",[(0,a.i0)("0.3s ease-in",(0,a.iF)({height:0,opacity:0}))])]),M=(0,a.hZ)("slideToggle",[(0,a.wk)("open",(0,a.iF)({height:"*",opacity:1,overflow:"hidden"})),(0,a.wk)("closed",(0,a.iF)({height:"0px",opacity:0,overflow:"hidden"})),(0,a.kY)("open <=> closed",[(0,a.i0)("300ms ease-in-out")])])},87809:(q,R,s)=>{s.d(R,{L:()=>M});var a=s(54438);function f(u,Y){if(1&u&&(a.j41(0,"h1",0),a.EFF(1),a.k0s()),2&u){const t=a.XpG();a.R7$(),a.JRh(t.pageTitle())}}let M=(()=>{class u{constructor(){this.pageTitle=(0,a.hFB)("")}static{this.\u0275fac=function(C){return new(C||u)}}static{this.\u0275cmp=a.VBU({type:u,selectors:[["seo-content"]],inputs:{pageTitle:[1,"pageTitle"]},standalone:!0,features:[a.aNF],decls:1,vars:1,consts:[[1,"c-seo-main-title"]],template:function(C,D){1&C&&a.DNE(0,f,2,1,"h1",0),2&C&&a.vxM(D.pageTitle()?0:-1)},styles:["seo-content{display:flex;flex-direction:column;width:100%;padding:20px 40px;color:var(--baseGrey09);margin-top:10px;border-radius:10px;border:1px solid var(--base-blue-11);background-color:var(--baseBlack06)}seo-content.c-casino-seo{background-color:var(--casino-purple-01);border:none;color:var(--white)}seo-content.c-casino-seo a{color:var(--casino-purple-03)}.c-seo-main-title{text-align:center;font-size:20px;margin:0}\n"],encapsulation:2})}}return u})()},18266:(q,R,s)=>{s.d(R,{$:()=>M});var a=s(54438),f=s(34405);let M=(()=>{class u{constructor(t){this._restConfigurationService=t}validateSimilarity(t,C){return!(!(this._restConfigurationService.getGeneralCustomConfigurationParams("denyPasswordUsernameSimilarity")&&t.length&&C.length)||typeof stringSimilarity>"u")&&100*stringSimilarity.compareTwoStrings(t,C)>=this._restConfigurationService.getGeneralCustomConfigurationParams("passwordUsernameSimilarityTreshold")}static{this.\u0275fac=function(C){return new(C||u)(a.KVO(f.M))}}static{this.\u0275prov=a.jDH({token:u,factory:u.\u0275fac,providedIn:"root"})}}return u})()},99062:(q,R,s)=>{s.d(R,{E:()=>a});
1const a={PAGE:"page",SPORT:"sport",REGION:"region",LEAGUE:"league",CASINO_CATEGORY:"casino-category"}},35357:(q,R,s)=>{s.d(R,{t:()=>M,z:()=>f});var a=s(54438);let f=(()=>{class u{constructor(t){this._elementRef=t,this.clickOutside=new a.bkB}onMouseEnter(t){this._elementRef.nativeElement.contains(t)||this.clickOutside.emit(null)}static{this.\u0275fac=function(C){return new(C||u)(a.rXU(a.aKT))}}static{this.\u0275dir=a.FsC({type:u,selectors:[["","clickOutside",""]],hostBindings:function(C,D){1&C&&a.bIt("click",function(b){return D.onMouseEnter(b.target)},!1,a.EBC)},outputs:{clickOutside:"clickOutside"}})}}return u})(),M=(()=>{class u{static{this.\u0275fac=function(C){return new(C||u)}}static{this.\u0275mod=a.$C({type:u})}static{this.\u0275inj=a.G2t({})}}return u})()},40908:(q,R,s)=>{s.r(R),s.d(R,{RegistrationPageModule:()=>So});var a=s(89417),f=s(2091),M=s(58114),u=s(45906),Y=s(80209),t=s(54438),C=s(58167),D=s(39934);let J=(()=>{class n{constructor(e,o){this._authService=e,this._routingService=o}canActivate(){return new Promise(e=>this._authService.hasUserFullAccess()?this._authService.currentUser().isUserLogin?(e(!0),void this._routingService.navigateToHome()):e(!0):(e(!0),void this._routingService.navigateToHome()))}static{this.\u0275fac=function(o){return new(o||n)(t.KVO(C.u),t.KVO(D.O))}}static{this.\u0275prov=t.jDH({token:n,factory:n.\u0275fac})}}return n})();var b=s(10467),G=s(31635),x=s(23712),z=s(51740),A=s(20279),W=s(99062),U=s(85375),L=s(59562),y=s(34405),T=s(91926),B=s(72161),$=s(82361),h=s(84978),g=s(60177),d=s(96467),I=s(29849),P=s(87809),_=s(73955),E=s(86807),S=s(43647),j=s(49837),X=s(28026),Q=s(83477),F=s(75300),Z=s(7901),st=s(23882);function Dt(n,i){if(1&n){const e=t.RV6();t.j41(0,"img",4),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.openOracleChat())}),t.k0s()}}function kt(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",5),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.openFreshdeskChat())}),t.nrm(1,"div",6),t.k0s()}}function At(n,i){if(1&n&&(t.j41(0,"span"),t.nrm(1,"svg-icon",7),t.EFF(2),t.k0s()),2&n){t.XpG();const e=t.r8f(7);t.R7$(2),t.SpI(" ",e," ")}}function Tt(n,i){if(1&n&&(t.j41(0,"span"),t.nrm(1,"svg-icon",8),t.EFF(2),t.k0s()),2&n){t.XpG();const e=t.r8f(9);t.R7$(2),t.SpI(" ",e," ")}}let ct=(()=>{class n{constructor(){this.isOracleChatEnabled=!1,this.isFreshdeskChatEnabled=!1,this._configurationService=(0,t.WQX)(h.s),this._restConfigurationService=(0,t.WQX)(y.M),this._oracleSdkService=(0,t.WQX)(F.o),this._freshdeskService=(0,t.WQX)(Z.Z),this._recaptchaService=(0,t.WQX)(Q.N)}ngOnInit(){this.isOracleChatEnabled=this._isOracleChatEnabled(),this.isFreshdeskChatEnabled=this._isFreshdeskChatEnabled(),this.isFreshdeskChatEnabled&&this._freshdeskService.hideDefaultLauncher()}ngOnDestroy(){this.isFreshdeskChatEnabled&&this._freshdeskService.showDefaultLauncher()}_isOracleChatEnabled(){return!(!this._configurationService.getParam("is_oracle_chat_enabled")||this._restConfigurationService.getGeneralCustomConfigurationParams("oracleBtnForLoginUserOnly"))}_isFreshdeskChatEnabled(){return!(!this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskEnabed")||this._restConfigurationService.getGeneralCustomConfigurationParams("freshdeskBtnForLoginUserOnly"))}openOracleChat(){typeof CLOUDFLARE_RECAPTCHA_KEY<"u"&&CLOUDFLARE_RECAPTCHA_KEY?this._recaptchaService.execute().subscribe(()=>{this._oracleSdkService.openChat()}):this._oracleSdkService.openChat()}openFreshdeskChat(){this._freshdeskService.openChat()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["contact-support"]],standalone:!0,features:[t.aNF],decls:13,vars:13,consts:[["src","assets/images/chat-icon-new.svg",1,"c-contact-support__icon"],[1,"c-contact-support__icon-freshdesk"],[1,"c-contact-support"],[1,"c-contact-support__numbers"],["src","assets/images/chat-icon-new.svg",1,"c-contact-support__icon",3,"click"],[1,"c-contact-support__icon-freshdesk",3,"click"],[1,"c-contact-support__icon-freshdesk-middle"],["icon","phone-icon"],["icon","missions-whatsapp-icon",1,"c-contact-support__numbers--whatsapp"]],template:function(o,r){if(1&o&&(t.DNE(0,Dt,1,0,"img",0)(1,kt,2,0,"button",1),t.j41(2,"div",2)(3,"div"),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"div",3),t.SS7(7),t.nI1(8,"generalCustomConfigurationPipe"),t.SS7(9),t.nI1(10,"generalCustomConfigurationPipe"),t.DNE(11,At,3,1,"span")(12,Tt,3,1,"span"),t.k0s()()),2&o){t.vxM(r.isOracleChatEnabled?0:-1),t.R7$(),t.vxM(r.isFreshdeskChatEnabled?1:-1),t.R7$(3),t.SpI(" ",t.bMT(5,5,"help.contact_support")," "),t.R7$(3);const l=t.bH3(t.bMT(8,7,"supportPhoneNumber"));t.R7$(2);const c=t.bH3(t.bMT(10,10,"supportWhatsAppNumber"));t.R7$(2),t.vxM(l?11:-1),t.R7$(),t.vxM(c?12:-1)}},dependencies:[g.CommonModule,_.h,_.D9,X.a,st.w,M.A,d.D],styles:['[_nghost-%COMP%]{display:flex;gap:28px;align-items:center;justify-content:center;font-family:var(--font)}.c-contact-support__icon[_ngcontent-%COMP%]{height:52px;width:52px;background-color:var(--base-green-01);color:var(--white);border-radius:50%;padding:3px;
1cursor:pointer;margin:7px 0}.c-contact-support__icon-freshdesk[_ngcontent-%COMP%]{position:relative;cursor:pointer;border-radius:34px 8px 34px 34px;height:60px;width:60px;background:var(--freshdesk-red);margin:3px 0}.c-contact-support__icon-freshdesk-middle[_ngcontent-%COMP%]{position:absolute;border-radius:6px 6px 6px 2px;height:17px;left:32%;top:37%;width:38%;background:var(--white)}.c-contact-support__icon-freshdesk-middle[_ngcontent-%COMP%]:after{border-radius:2px;border-top:5px;content:"";height:2px;left:4px;position:absolute;top:10px;width:44%;background:var(--freshdesk-red)}.c-contact-support__icon-freshdesk-middle[_ngcontent-%COMP%]:before{border-radius:2px;border-top:5px;content:"";height:2px;left:4px;position:absolute;top:5px;width:65%;background:var(--freshdesk-red)}.c-contact-support[_ngcontent-%COMP%]{border-radius:33px;background:var(--baseBlue59);color:var(--white);font-size:14px;padding:13px 20px;text-align:center}.c-contact-support__numbers[_ngcontent-%COMP%]{display:flex;justify-content:center;margin-top:8px;font-size:16px;font-weight:600;height:16px}.c-contact-support__numbers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{display:flex;gap:7px;padding:0 10px;line-height:16px}.c-contact-support__numbers[_ngcontent-%COMP%] span[_ngcontent-%COMP%]:not(:last-child){border-right:1px solid var(--white-t-60);padding:0 10px 0 0}.c-contact-support__numbers[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg-icon[_ngcontent-%COMP%]{height:15px;width:15px}.c-contact-support__numbers[_ngcontent-%COMP%] span[_ngcontent-%COMP%] svg-icon.c-contact-support__numbers--whatsapp[_ngcontent-%COMP%]{height:17px;width:17px;color:#25d366}']})}}return n})();const wt=n=>({resendTimer:n}),Gt=n=>({"c-sms-activation__footer--two-step":n});function Vt(n,i){1&n&&t.nrm(0,"contact-support",19)}let ft=(()=>{class n{constructor(){this._authService=(0,t.WQX)(C.u),this._modalService=(0,t.WQX)($.B),this._registrationService=(0,t.WQX)(L.RegistrationService),this.twoStepRegistration=(0,t.hFB)(!1),this.isValidSmsCode=!0,this.resendTimer="01:00",this.canResendSms=!1}get _phone(){return this._registrationService.smsActivationData().phone.replace("+","")}get _password(){return this._registrationService.smsActivationData().password}ngOnInit(){this._startResendTimer()}ngOnDestroy(){clearInterval(this._intervalId)}resendActivationCode(){this.canResendSms&&this._authService.resendSmsActivation(this._phone).subscribe(o=>{this._showSuccessPopup(o.payload),this._startResendTimer()})}_startResendTimer(){this.canResendSms=!1,this.resendTimer="01:00";let e=60;clearInterval(this._intervalId),this._intervalId=setInterval(()=>{e--;const o=Math.floor(e/60),r=e%60;this.resendTimer=`${String(o).padStart(2,"0")}:${String(r).padStart(2,"0")}`,e<=0&&(clearInterval(this._intervalId),this.canResendSms=!0)},1e3)}setSmsCodeValue(e){this.smsCodeValue=e,this.smsCodeValue.isValid&&(this.isValidSmsCode=!0)}_showSuccessPopup(e){this._modalService.openPopup({component:E.SuccessPopup,payload:e})}close(){this._registrationService.closeSmsActivation()}onSubmit(){var e=this;return(0,b.A)(function*(){if(e.isValidSmsCode=e.smsCodeValue?.isValid||!1,!e.isValidSmsCode)return;const r=e._phone;e._authService.activateSms(r,e.smsCodeValue?.smsCodeValue||"").subscribe(function(){var l=(0,b.A)(function*(c){e._authService.loginInProgress=!0,yield e._authService.loginUser({password:e._password,username:r,grant_type:j.s.ACCOUNT},!1,!0),e._authService.loginActionHappened(),e._modalService.openPopup({component:E.SuccessPopup,payload:c.payload})});return function(c){return l.apply(this,arguments)}}())})()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["sms-activation"]],inputs:{twoStepRegistration:[1,"twoStepRegistration"]},standalone:!0,features:[t.aNF],decls:37,vars:37,consts:[[1,"c-sms-activation"],[1,"c-sms-activation__title"],[1,"c-sms-activation__loader-wrapper"],["width","27px","height","27px","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 100 100",2,"background","none"],["cx","50","cy","50","fill","none","r","40","stroke-width","10",1,"c-sms-activation__loader-track"],["cx","50","cy","50","fill","none","r","40","stroke-width","10","stroke-linecap","round","transform","rotate(11.9131 50 50)",1,"c-sms-activation__loader"],["attributeName","transform","type","rotate","calcMode","linear","values","0 50 50;180 50 50;360 50 50","keyTimes","0;0.5;1","dur","1s","begin","0s","repeatCount","indefinite"],["attributeName","stroke-dasharray","calcMode","linear","values","90 100;180 100;90 100","keyTimes","0;0.5;1","dur","1s","begin","0s","repeatCount","indefinite"],[1,"c-sms-activation__subtitle"],[1,"c-sms-activation__body"],[1,"c-sms-activation__text"],[1,"c-sms-activation__text","c-sms-activation__text--bottom"],[3,"onSubmitSms","isValid","isRegistrationPage"],[1,"c-sms-activation__text","c-sms-activation__text--resend"],[1,"c-resend-password"],[3,"click","disabled"],[1,"c-sms-activation__footer",3,"ngClass"],[1,"c-button","c-button--large",3,"click"],[1,"c-button","c-button--success","c-button--large",3,"click","disabled"],[1,"c-sms-activation__contact-support"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"p",1),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",2),t.qSk(),t.j41(5,"svg",3),t.nrm(6,"circle",4),t.j41(7,"circle",5),t.nrm(8,"animateTransform",6)(9,"animate",7),t.k0s()()(),t.joV(),t.j41(10,"p",8),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"div",9)(14,"h3",10),t.EFF(15),t.nI1(16,"translate"),t.k0s(),t.j41(17,"h3",11),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.j41(20,"sms-code-input",12),t.bIt("onSubmitSms",function(c){return r.setSmsCodeValue(c)}),t.k0s(),t.j41(21,"p",13),t.EFF(22),t.nI1(23,"translate"),t.k0s(),t.j41(24,"div",14)(25,"button",15),t.bIt("click",function(){return r.resendActivationCode()}),t.EFF(26),t.nI1(27,"translate"),t.k0s()()(),t.j41(28,"div",16)(29,"button",17),t.bIt("click",function(){return r.close()}),t.EFF(30),t.nI1(31,"translate"),t.k0s(),t.j41(32,"button",18),t.bIt("click",function(){return r.onSubmit()}),t.EFF(33),t.nI1(34,"translate"),t.k0s()(),t.DNE(35,Vt,1,0,"contact-support",19),t.nI1(36,"generalCustomConfigurationPipe"),t.k0s()),2&o&&(t.R
17$(2),t.SpI(" ",t.bMT(3,14,"registration.sms_activation")," "),t.R7$(9),t.SpI(" ",t.bMT(12,16,"general.please_wait")," "),t.R7$(4),t.SpI(" ",t.bMT(16,18,"general.your_code_is_on_the_way")," "),t.R7$(3),t.SpI(" ",t.bMT(19,20,"general.activation_code_desctiption")," "),t.R7$(2),t.Y8G("isValid",r.isValidSmsCode)("isRegistrationPage",!0),t.R7$(2),t.SpI(" ",t.i5U(23,22,"general.if_you_dont_receive_the_code",t.eq3(33,wt,r.resendTimer))," "),t.R7$(3),t.Y8G("disabled",!r.canResendSms),t.R7$(),t.SpI(" ",t.bMT(27,25,"registration.resend_sms")," "),t.R7$(2),t.Y8G("ngClass",t.eq3(35,Gt,r.twoStepRegistration)),t.R7$(2),t.SpI(" ",t.bMT(31,27,"general.cancel")," "),t.R7$(2),t.Y8G("disabled",!(null!=r.smsCodeValue&&r.smsCodeValue.isValid)),t.R7$(),t.SpI(" ",t.bMT(34,29,"general.login")," "),t.R7$(2),t.vxM(t.bMT(36,31,"supportContactFormEnabled")?35:-1))},dependencies:[S.J,S.V,_.h,_.D9,ct,X.a,st.w,g.CommonModule,g.NgClass],styles:["[_nghost-%COMP%]{padding:20px 0 74px;text-align:center;width:100%;font-family:var(--font)}.c-sms-activation__loader-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.c-sms-activation__loader-track[_ngcontent-%COMP%]{stroke:var(--loaderTrackColor)}.c-sms-activation__loader[_ngcontent-%COMP%]{stroke:var(--baseWhite02)}.c-sms-activation__title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;color:var(--baseTextColor03);margin-bottom:50px;text-transform:uppercase;font-family:var(--font-cond)}.c-sms-activation__subtitle[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:var(--baseWhite22);text-transform:uppercase;margin-top:10px}.c-sms-activation__body[_ngcontent-%COMP%]{margin-top:12px}.c-sms-activation__text[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:var(--base-white-03)}.c-sms-activation__text.c-sms-activation__text--bottom[_ngcontent-%COMP%]{margin:5px 0 27px}.c-sms-activation__text.c-sms-activation__text--resend[_ngcontent-%COMP%]{font-weight:500;margin:28px 0 5px}.c-resend-password[_ngcontent-%COMP%]{margin:0 auto}.c-resend-password[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{font-family:var(--font);color:var(--baseYellow09);text-decoration:underline;font-size:13px;font-weight:600}.c-resend-password[_ngcontent-%COMP%] button[_ngcontent-%COMP%]:disabled{opacity:.5;pointer-events:none}.c-sms-activation__footer[_ngcontent-%COMP%]{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;margin:20px 0}.c-sms-activation__footer.c-sms-activation__footer--two-step[_ngcontent-%COMP%]{padding:0 40px}.c-sms-activation__footer.c-sms-activation__footer--two-step[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{max-width:280px}.c-button.c-button--large[_ngcontent-%COMP%]{height:44px;line-height:unset}.c-sms-activation__contact-support[_ngcontent-%COMP%]{margin-top:210px}"]})}}return n})();var O=s(67374),w=s(94727);const Lt={days:[],months:[{name:"January",value:1},{name:"February",value:2},{name:"March",value:3},{name:"April",value:4},{name:"May",value:5},{name:"Jun",value:6},{name:"July",value:7},{name:"August",value:8},{name:"September",value:9},{name:"October",value:10},{name:"November",value:11},{name:"December",value:12}],years:[2021,2020,2019,2018,2017,2016,2015,2014,2013,2012,2011,2010,2009,2008,2007,2006,2005,2004,2003,2002,2001,2e3,1999,1998,1997,1996,1995,1994,1993,1992,1991,1990,1989,1988,1987,1986,1985,1984,1983,1982,1981,1980,1979,1978,1977,1976,1975,1974,1973,1972,1971,1970,1969,1968,1967,1966,1965,1964,1963,1962,1961,1960,1959,1958,1957,1956,1955,1954,1953,1952,1951,1950,1949,1948,1947,1946,1945,1944,1943,1942,1941,1940,1939,1938,1937,1938,1937,1936,1935],countries:["Srbija","Bosnia and herzegovina","Montenegro","North Macedonia"],cities:["Kraljevo","Valjevo","Lazarevac","Beograd","Vranje"],activationMethods:["SMS","EMAIL"]};var ht=s(33446),vt=s(72036),H=s(67018),p=s(62125),Bt=s(32661),$t=s(35475),jt=s(41163),Ct=s(95447),K=s(97317),Yt=s(76651),Ut=s(31790),Xt=s(18978),dt=s(77312),zt=s(49090),Ht=s(30222),V=s(15348),at=s(8950),qt=s(38886),Jt=s(41945),Wt=s(21931),Kt=s(72085),ut=s(45181),Qt=s(19788),Zt=s(99553),te=s(42641),ee=s(46421),ie=s(22804),ne=s(66459),oe=s(33471),re=s(9277),se=s(71507),ae=s(49995),bt=s(2199),le=s(93878),ce=s(1339),tt=s(43773),de=s(57046),ue=s(65283),It=s(19702),pe=s(35422),me=s(12084),ge=s(69956),_e=s(80538),fe=s(48115),he=s(18266),ve=s(90486),xt=s(65588),Ce=s(21626),be=s(34139),Ie=s(21767),xe=s(58333),Ft=s(17441),pt=s(68374),yt=s(45398);function Fe(n,i){if(1&n&&t.nrm(0,"qrcode",13),2&n){const e=t.XpG();t.Y8G("qrdata",e.ipificationRegistrationUrl)("width",150)("errorCorrectionLevel","M")}}let ye=(()=>{class n{constructor(e,o){this._modalService=e,this.configurationSocketService=o,this.toggleIpificationRegistration=new t.bkB}ngOnInit(){this._createForm(),this.configurationSocketService.connect(),this.configurationSocketService.subscribe(this.ipificationHash)}ngOnDestroy(){this.configurationSocketService.disconnect()}handleClose(){this.toggleIpificationRegistration.emit()}_createForm(){this.ipificationRegistrationForm=new a.gE({termsAndConditions:new a.MJ(!1,[a.k0.requiredTrue])})}openTermsAndConditions(e){e.preventDefault(),s.e(1471).then(s.bind(s,1471)).then(({IpificationTermsAndConditionsModal:o})=>{this._modalService.open({component:o,payload:{}})})}static{this.\u0275fac=function(o){return new(o||n)(t.rXU($.B),t.rXU(xt.B))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["ipification-registration"]],hostVars:1,hostBindings:function(o,r){2&o&&t.zvX("@fadeSimpleFast",r.toggleIpificationRegistration)},inputs:{ipificationRegistrationUrl:"ipificationRegistrationUrl",ipificationHash:"ipificationHash"},outputs:{toggleIpificationRegistration:"toggleIpificationRegistration"},decls:19,vars:11,consts:[[1,"c-ipification",3,"formGroup"],[1,"c-ipification-header"],["src","/assets/site-specific-images/ipification.svg",1,"c-ipification-header__icon"],["icon","close",1,"c-ipification-header__close",3,"click"],[1,"c-ipification-title"],[1,"c-ipification-qr"],[1,"c-ipification-desc"],[3,"qrdata","width","errorCorrectionLevel",4,"ngIf"],[1,"c-ipification-label"],["formControlName","termsAndConditions","type","checkbox","id","terms_and_conditions",1,"c-ipification-label__checkbox"],["icon","checkmark",1,"c-ipification-checkmark"],["icon","checkmark-checked",1,"c-ipification-checkmark-checked"],[3,"click"],[3,"qrdata","width","errorCorrectionLevel"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"img",2),t.j41(3,"svg-icon",3),t.bIt("click",function(){return r.handleClose()}),t.k0s()(),t.j41(4,"h4",4),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"div",5)(8,"div",6),t.EFF(9),t.nI1(10,"translate"),t.k0s(),t.DNE(11,Fe,1,3,"qrcode",7),t.k0s(),t.j41(12,"label",8),t.nrm(13,"input",9)(14,"svg-icon",10)(15,"svg-icon",11),t.j41(16,"span",12),t.bIt("click",function(c){return r.openTermsAndConditions(c)}),t.EFF(17),t.nI1(18,"translate"),t.k0s()()()),2&o&&(t.Y8G("formGroup",r.ipificationRegistrationForm),t.R7$(5),t.JRh(t.bMT(6,5,"registration.ipification_fast_registration")),t.R7$(4),t.JRh(t.bMT(10,7,"registration.ipification_registration_description")),t.R7$(2),t.Y8G("ngIf",null==r.ipificationRegistrationForm||null==r.ipificationRegistrationForm.controls||null==r.ipificationRegistrationForm.controls.termsAndConditions?null:r.ipificationRegistrationForm.controls.termsAndConditions.value),t.R7$(6),t.JRh(t.bMT(18,9,"registration.terms_and_conditions")))},dependencies:[g.NgIf,d.D,a.Zm,a.BC,a.cb,a.j4,a.JD,yt.c,_.D9],styles:["[_nghost-%COMP%]{width:100%;position:absolute;z-index:var(--z-index-above-min)}.c-ipification[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;width:100%;padding:24px 16px;border-radius:4px;background-color:var(--ipification-red)}.c-ipification-header__close[_ngcontent-%COMP%]{color:var(--white);width:15px;height:15px;cursor:pointer;transition:all .2s linear}.c-ipification-header__close[_ngcontent-%COMP%]:active{transform:scale(.9)}.c-ipification-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;background-color:var(--ipification-red);border-radius:4px}.c-ipification-header__icon[_ngcontent-%COMP%]{height:16px}.c-ipification-header__text[_ngcontent-%COMP%]{margin-right:auto;font-size:14px;font-weight:700;color:var(--white)}.c-ipification-header__close[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--white)}.c-ipification-title[_ngcontent-%COMP%]{margin-top:16px;font-size:16px;font-weight:600;color:var(--white)}.c-ipification-desc[_ngcontent-%COMP%]{color:var(--lighter-grey);margin-bottom:20px;font-size:13px}.c-ipification-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;font-weight:400;margin:11px 0;color:var(--white);cursor:pointer}.c-ipification-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--white)}.c-ipification-label__checkbox[type=checkbox][_ngcontent-%COMP%]{display:none;visibility:none}.c-ipification-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-ipification-checkmark[_ngcontent-%COMP%]{display:none}.c-ipification-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-ipification-checkmark-checked[_ngcontent-%COMP%]{display:block}.c-ipification-qr[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:10px}.c-ipification-checkmark[_ngcontent-%COMP%], .c-ipification-checkmark-checked[_ngcontent-%COMP%]{color:var(--white);min-width:14px;width:14px;
1height:14px;margin-right:10px;pointer-events:none}.c-ipification-checkmark-checked[_ngcontent-%COMP%]{display:none}"],data:{animation:[pt.vQ]}})}}return n})();var Mt=s(74951),Pt=s(65785),Me=s(46819);const Pe=(n,i,e)=>({"c-input-field--single-page":n,"c-input-field--disabled":i,"c-input-field--failed":e});let Rt=(()=>{class n extends Me.f{constructor(){super(),this.isSinglePageRegistration=(0,t.hFB)(!1),this.disableInputs=(0,t.hFB)(!1),this.numberVerified=(0,t.hFB)(!1),this.validationCode=(0,t.hFB)(""),this.sentVerificationCode=(0,t.hFB)(!1),this.disableSubmit=!0,(0,t.QZP)(()=>{this.disableInputs(),this.numberVerified()||this.clearInput(),this.validationCode()&&this._setPastedText(this.validationCode())})}onChange(e,o){if(!this.isPasteInProgress)return"Backspace"===e.key?(this.otpPassword[`input${o}`]="",this._setFieldInFocus(o-1),void(this.disableSubmit=!0)):void("ArrowLeft"!==e.key?"ArrowRight"!==e.key?(/^[a-zA-Z0-9]$/.test(e.key)&&(this.otpPassword[`input${o}`]=e.key.toUpperCase()),this.disableSubmit=!0,this._canSubmit()?this.disableSubmit=!1:this._setFieldInFocus(o+1)):this._setFieldInFocus(o+1):this._setFieldInFocus(o-1))}submitCode(){this.disableSubmit=!0,this.emitSubmit()}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["phone-verification-code-input"]],inputs:{isSinglePageRegistration:[1,"isSinglePageRegistration"],disableInputs:[1,"disableInputs"],numberVerified:[1,"numberVerified"],validationCode:[1,"validationCode"],sentVerificationCode:[1,"sentVerificationCode"]},standalone:!0,features:[t.Vt3,t.aNF],decls:18,vars:25,consts:[[1,"c-input-field",3,"ngClass"],[1,"c-registration-input-label"],[1,"c-input-field__label"],[1,"c-input__wrapper"],["type","text","id","otp-password-1","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-2","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-3","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],[1,"c-input__divider"],["type","text","id","otp-password-4","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-5","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],["type","text","id","otp-password-6","maxlength","1",1,"c-input",3,"keyup","paste","value","disabled"],[1,"c-register-btn","c-register-btn--submit",3,"click","disabled"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"label",1),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",2)(5,"div",3)(6,"input",4),t.bIt("keyup",function(c){return r.onChange(c,1)})("paste",function(c){return r.onPaste(c)}),t.k0s(),t.j41(7,"input",5),t.bIt("keyup",function(c){return r.onChange(c,2)})("paste",function(c){return r.onPaste(c)}),t.k0s(),t.j41(8,"input",6),t.bIt("keyup",function(c){return r.onChange(c,3)})("paste",function(c){return r.onPaste(c)}),t.k0s()(),t.j41(9,"span",7),t.EFF(10,"-"),t.k0s(),t.j41(11,"div",3)(12,"input",8),t.bIt("keyup",function(c){return r.onChange(c,4)})("paste",function(c){return r.onPaste(c)}),t.k0s(),t.j41(13,"input",9),t.bIt("keyup",function(c){return r.onChange(c,5)})("paste",function(c){return r.onPaste(c)}),t.k0s(),t.j41(14,"input",10),t.bIt("keyup",function(c){return r.onChange(c,6)})("paste",function(c){return r.onPaste(c)}),t.k0s()(),t.j41(15,"button",11),t.bIt("click",function(){return r.submitCode()}),t.EFF(16),t.nI1(17,"translate"),t.k0s()()()()),2&o&&(t.Y8G("ngClass",t.sMw(21,Pe,r.isSinglePageRegistration(),r.disableInputs(),r.sentVerificationCode()&&!r.numberVerified())),t.R7$(2),t.Lme(" ",t.bMT(3,17,"registration.confirmation_code")," ",r.isSinglePageRegistration()?" *":""," "),t.R7$(4),t.Y8G("value",r.otpPassword.input1)("disabled",r.isSubmitting),t.R7$(),t.Y8G("value",r.otpPassword.input2)("disabled",r.isSubmitting),t.R7$(),t.Y8G("value",r.otpPassword.input3)("disabled",r.isSubmitting),t.R7$(4),t.Y8G("value",r.otpPassword.input4)("disabled",r.isSubmitting),t.R7$(),t.Y8G("value",r.otpPassword.input5)("disabled",r.isSubmitting),t.R7$(),t.Y8G("value",r.otpPassword.input6)("disabled",r.isSubmitting),t.R7$(),t.Y8G("disabled",r.disableSubmit&&!r.numberVerified()),t.R7$(),t.SpI(" ",t.bMT(17,19,"registration.confirm")," "))},dependencies:[g.CommonModule,g.NgClass,_.h,_.D9],styles:[".c-input-field[_ngcontent-%COMP%]{display:flex;width:fit-content;margin-top:15px;gap:15px}.c-input-field.c-input-field--disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.3}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input__wrapper[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-input-field.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-radius:0}.c-input-field.c-input-field--single-page[_ngcontent-%COMP%]{margin-top:5px}.c-input-field.c-input-field--failed[_ngcontent-%COMP%] .c-input__wrapper[_ngcontent-%COMP%]{border:1px solid var(--base-primary)}.c-input-field.c-input-field--failed[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-right:1px solid var(--base-primary)}.c-input-field.c-input-field--failed[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]:last-of-type{border:none}.c-input-field.c-input-field--single-page[_ngcontent-%COMP%] .c-input-field__label[_ngcontent-%COMP%]{height:30px;width:60%;margin-left:auto;gap:10px}.c-input-field.c-input-field--single-page[_ngcontent-%COMP%] .c-registration-input-label[_ngcontent-%COMP%]{flex-direction:row;align-items:center;color:var(--baseTextColor)}.c-input-field.c-input-field--single-page[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{font-size:14px}.c-input-field.c-input-field--single-page[_ngcontent-%COMP%] .c-register-btn[_ngcontent-%COMP%]{height:30px;font-size:13px;font-weight:700;padding:0 10px}.c-input-field__label[_ngcontent-%COMP%]{display:flex;gap:15px;align-items:center;justify-content:center;margin-top:5px}.c-input__wrapper[_ngcontent-%COMP%]{display:flex;border:1px solid var(--baseAccountBlue04);border-radius:4px;overflow:hidden;height:100%}.c-input__divider[_ngcontent-%COMP%]{color:var(--baseTextColor)}.c-input[_ngcontent-%COMP%]{color:var(--inputColor);border-top:none;border-left:none;border-bottom:none;border-radius:0;text-align:center;text-transform:uppercase;background-color:var(--baseBlue08);font-size:24px;width:100%;border-right:1px solid var(--limitRadioButtonBorderColor)}.c-input[_ngcontent-%COMP%]:last-of-type{border:none;margin-right:-1px}.c-register-btn[_ngcontent-%COMP%]{max-width:fit-content;white-space:nowrap}",'[_nghost-%COMP%]{width:100%}.c-registration-page--sms-activation[_nghost-%COMP%]{display:none}.c-register-step[_ngcontent-%COMP%]{display:flex;flex-direction:column}
1.c-registration-form[_ngcontent-%COMP%]{max-width:490px;padding:55px 0 5px;margin:0 auto;position:relative}.c-registration-form__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-registration-form__content.verification-open[_ngcontent-%COMP%]{opacity:0}.c-registration-form__title[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:600;font-size:24px;text-align:center;text-transform:uppercase;margin:0 0 40px}.c-registration-form__title.has-providers[_ngcontent-%COMP%]{margin:0 0 16px}.c-registration-form__cta[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-bottom:32px}.c-registration-form__subtitle[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:700;font-size:16px;line-height:1;text-align:center;text-transform:uppercase;margin:5px 0 10px}.c-registration-tabs-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 0 25px}.c-registration-tabs[_ngcontent-%COMP%]{display:flex;border:1px solid var(--baseBlue18);border-radius:4px;overflow:hidden}.c-registration-tab[_ngcontent-%COMP%]{min-width:140px;background-color:transparent;color:var(--baseWhite10);font-family:var(--font-cond);font-weight:500;font-size:12px;text-transform:uppercase;text-align:center;padding:10px;transition:opacity .2s linear;cursor:pointer}.c-registration-tab[_ngcontent-%COMP%]:not(.selected):hover{opacity:.8}.c-registration-tab[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid var(--baseBlue18)}.c-registration-tab.selected[_ngcontent-%COMP%]{background-color:var(--baseBlue23);color:var(--baseTextColor)}.c-registration-tab.validated[_ngcontent-%COMP%]{background-color:var(--base-green-01);color:var(--white)}.c-registration-tab.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-fields-halves[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(calc(50% - 15px),1fr));grid-column-gap:15px}.c-registration-input-fields-third[_ngcontent-%COMP%]{margin-bottom:15px;display:grid;grid-template-columns:repeat(3,1fr);grid-column-gap:15px}.c-registration-input-field[_ngcontent-%COMP%]{margin-bottom:15px;display:flex;flex-direction:column;flex:1}.c-registration-input-field.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%]{margin-bottom:5px}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{display:none}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%]{margin-bottom:15px}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input-actions__error[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:block}.c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-select[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-input-actions__success[_ngcontent-%COMP%]{display:block}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:none}.c-registration-input-label[_ngcontent-%COMP%]{color:var(--baseWhite06);font-family:var(--font);font-size:12px;position:relative;display:flex;flex-direction:column}.c-registration-input-wrapper[_ngcontent-%COMP%]{display:flex;gap:15px}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-register-btn[_ngcontent-%COMP%]{min-width:30%;max-width:fit-content;height:44px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{flex:1}.c-registration-input[_ngcontent-%COMP%]{display:block;margin-top:5px;border:1px solid var(--limitRadioButtonBorderColor);color:var(--baseAccountSettingsColor09);border-radius:4px;padding:14px 40px 14px 10px;line-height:1;width:100%;background-color:var(--baseBlue09);font-family:var(--font)}.c-registration-input[_ngcontent-%COMP%]:focus{border-color:var(--base-green-01)}.c-registration-input[_ngcontent-%COMP%]:focus.c-registration-input--prefix{border-color:var(--limitRadioButtonBorderColor)}.c-registration-input[disabled][_ngcontent-%COMP%], .c-registration-input.disabled[_ngcontent-%COMP%], .c-registration-input.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none;border-color:var(--limitRadioButtonBorderColor)}.c-registration-select[_ngcontent-%COMP%]{display:block;min-height:44px;
1background:var(--baseBlue09) no-repeat calc(100% - 10px) center;border:1px solid var(--limitRadioButtonBorderColor);border-radius:4px;color:var(--baseAccountSettingsColor09);padding:13px 25px 13px 10px;width:100%;margin-top:5px;font-family:var(--font);-webkit-appearance:none;-moz-appearance:none;-o-appearance:none}.c-registration-select[disabled][_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select[disabled][_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-registration-select.c-registration-select--error[_ngcontent-%COMP%]{border-color:var(--alert)}.c-registration-select[disabled][_ngcontent-%COMP%] ~ .c-registration-select-icon[_ngcontent-%COMP%]{opacity:.3}.c-registration-input-label__inner[_ngcontent-%COMP%]{position:relative}.c-registration-input-label__inner.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select-icon[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--baseWhite06);transform:rotate(90deg);position:absolute;top:20px;right:15px;pointer-events:none}.c-registration-input-actions[_ngcontent-%COMP%]{position:absolute;height:44px;bottom:0;right:10px;display:flex;align-items:center}.c-registration-input-actions__password-visibility[_ngcontent-%COMP%]{width:15px;height:15px;margin:0 7px;cursor:pointer;background:url(hide-password-icon.e209c0f6a4d5cd87.svg) no-repeat center;background-size:cover}.c-registration-input-actions__password-visibility.show[_ngcontent-%COMP%]{background:url(show-password-icon.62f14e297b1b7b9d.svg) no-repeat center;background-size:cover}.c-registration-input-actions__error[_ngcontent-%COMP%]{width:15px;height:15px;background:url(error.7e64f8513d00de72.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-input-actions__success[_ngcontent-%COMP%]{width:15px;height:15px;background:url(success-indicator.4b928420b308f92c.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-error[_ngcontent-%COMP%]{color:var(--base-primary);display:none;margin-top:5px}.c-checkbox-label[_ngcontent-%COMP%]{display:flex;cursor:pointer;margin-right:25px;margin-bottom:15px}.c-checkbox-label.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-checkbox[_ngcontent-%COMP%]{display:block;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:18px;height:18px;transition:opacity .1s ease-in-out}.c-checkbox[_ngcontent-%COMP%]:active{opacity:.4}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .active[_ngcontent-%COMP%]{display:inline-flex}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .not-active[_ngcontent-%COMP%]{display:none}.c-checkbox-input__icon.active[_ngcontent-%COMP%]{color:var(--base-green-01);display:none;width:16px;height:16px}.c-checkbox-input__icon.not-active[_ngcontent-%COMP%]{color:var(--baseWhite07);display:inline-flex;width:15px;height:15px}.c-checkbox-label-text[_ngcontent-%COMP%]{margin-left:10px;font-family:var(--font);font-size:14px;color:var(--baseGrey03);font-weight:400}.c-registration-switch[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--baseGrey04);font-size:12px;margin-bottom:10px;cursor:pointer}.c-registration-switch__label[_ngcontent-%COMP%]{position:relative;display:inline-block;min-width:32px;height:18px;margin-right:15px}.c-registration-switch__input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]{border-width:3px;border-color:transparent;background:var(--base-green-01)}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]:before{transform:translate(13px,-50%)}.c-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background:var(--baseGrey05);transition:all .2s linear;border-radius:34px}.c-slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:15px;width:15px;inset:50% 0 0 2px;background-color:var(--white);
1transition:all .4s cubic-bezier(.77,0,.175,1);transform:translateY(-50%);border-radius:50%}.c-register-action[_ngcontent-%COMP%]{display:flex;gap:10px}.c-register-btn[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font-cond);font-size:16px;font-weight:500;line-height:20px;text-transform:uppercase;border-radius:4px;border:1px solid var(--base-blue-05);padding:12px 20px;flex:1;max-width:50%;transition:opacity .3s linear}.c-register-btn[_ngcontent-%COMP%]:hover{opacity:.8}.c-register-btn.c-register-btn--continue[_ngcontent-%COMP%]{background-color:var(--base-blue-04);border:1px solid var(--base-blue-04);color:var(--white)}.c-register-btn.c-register-btn--continue[disabled][_ngcontent-%COMP%]{opacity:.4;color:var(--base-white-06);pointer-events:none}.c-register-btn.c-register-btn--submit[_ngcontent-%COMP%]{background-color:var(--base-green-01);border:1px solid var(--base-green-01);color:var(--white)}.c-register-btn.c-register-btn--submit[disabled][_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.c-registration-login-note[_ngcontent-%COMP%]{color:var(--base-white-06);font-size:14px;line-height:1.2;padding:20px 0;text-align:center}.c-registration-login-note__button[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:600;text-decoration:underline;background-color:transparent;border:none}.c-radio-btn[_ngcontent-%COMP%]{opacity:0;position:absolute;left:-9999px}.c-radio-btn[_ngcontent-%COMP%]:not(:checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn[_ngcontent-%COMP%]:not(.checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:0;transform:scale(0)}.c-radio-btn[_ngcontent-%COMP%]:checked + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn.checked[_ngcontent-%COMP%] + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:1;transform:scale(1)}.c-radio-buttons-container[_ngcontent-%COMP%]{display:flex}.c-radio-btn-wrapper[_ngcontent-%COMP%]{margin-right:20px;margin-top:5px}.c-radio-btn-label[_ngcontent-%COMP%]{display:flex;position:relative;padding-left:25px;line-height:18px;color:var(--baseWhite06);font-size:12px;text-transform:capitalize;cursor:pointer}.c-radio-btn-label.c-radio-btn-label--mobile[_ngcontent-%COMP%]{margin-bottom:10px}.c-radio-btn-label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:17px;height:17px;outline:1px solid var(--base-green-01);border-radius:100%;background:var(--baseBlack)}.c-radio-btn-label[_ngcontent-%COMP%]:after{content:"";width:11px;height:11px;background:var(--base-green-01);position:absolute;top:3px;left:3px;border-radius:50%;transition:all .2s ease}.c-registration-form__did-you-mean[_ngcontent-%COMP%]{cursor:pointer;width:100%;margin-left:auto;background:var(--base-orange-01);font-size:12px;line-height:16px;color:var(--dark-grey);padding:3px 8px 4px;margin-top:3px;transition:opacity .3s linear}.c-ipification-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;background-color:var(--ipification-red);border-radius:4px;min-width:240px;cursor:pointer;transition:all .2s linear}.c-ipification-button.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed;pointer-events:none}.c-ipification-button[_ngcontent-%COMP%]:active{transform:scale(.965)}.c-ipification-button__icon[_ngcontent-%COMP%]{height:16px}.c-registration-alert[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:15px}.c-registration-alert__icon[_ngcontent-%COMP%]{width:22px;height:21px;flex-shrink:0;color:var(--baseResponsibleGamingColor)}.c-registration-alert__content[_ngcontent-%COMP%]{color:var(--baseGrey03);font-family:var(--font);font-size:14px;font-weight:400;line-height:16px}.c-registration-alert__link[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-registration-input-prefix[_ngcontent-%COMP%]{position:relative}']})}}return n})();var Re=s(13801);const Se=["prefixInput"],Oe=(n,i)=>i.name,Ee=n=>({"c-registration-select-icon--rotate":n});function Ne(n,i){if(1&n&&t.nrm(0,"img",2),2&n){const e=t.XpG();t.Y8G("src","../../../../../assets/images/flags-round/"+e.selectedCountry.iso3+".svg",t.B4B)}}function De(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",6),t.bIt("click",function(){const r=t.eBV(e).$implicit,l=t.XpG(2);return t.Njj(l.selectCountry(r))}),t.j41(1,"div",7),t.nrm(2,"img",8),t.EFF(3),t.k0s(),t.EFF(4),t.k0s()}if(2&n){const e=i.$implicit;t.R7$(2),t.Y8G("src","../../../../../assets/images/flags-round/"+e.iso3+".svg",t.B4B),t.R7$(),t.SpI(" ",e.name," "),t.R7$(),t.SpI(" (",e.countryCodes[0],") ")}}function ke(n,i){1&n&&(t.j41(0,"div",5),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"general.no_countries_found")," "))}function Ae(n,i){if(1&n&&(t.j41(0,"div",4),t.Z7z(1,De,5,3,"div",5,Oe,!1,ke,3,3,"div",5),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Dyx(e.filteredCountries())}}let St=(()=>{class n{constructor(e){this.elementRef=e,this.selectedCountryPrefix=new t.bkB,this.showDropdown=(0,t.vPA)(!1),this.searchQuery=(0,t.vPA)(""),this.filteredCountries=(0,t.EWP)(()=>{const o=this.searchQuery().trim().toLowerCase(),r=this.countries??[];return o?r.filter(l=>l.name.toLowerCase().includes(o)||(l.countryCodes[0]?.toLowerCase().includes(o)??!1)):r})}toggleDropdown(){this.showDropdown.set(!this.showDropdown()),this.showDropdown()||(this.searchQuery.set(""),this.prefixInput?.nativeElement?.blur())}onSearchInput(e){this.searchQuery.set(e),this.showDropdown()||this.toggleDropdown()}onDocumentClick(e){this.elementRef.nativeElement.contains(e.target)||(this.showDropdown.set(!1),this.searchQuery.set(""))}selectCountry(e){this.searchQuery.set(""),this.selectedCountryPrefix.emit(e)}static{this.\u0275fac=function(o){return new(o||n)(t.rXU(t.aKT))}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["registration-number-prefix"]],viewQuery:function(o,r){if(1&o&&t.GBs(Se,5),2&o){let l;t.mGM(l=t.lsd())&&(r.prefixInput=l.first)}},hostBindings:function(o,r){1&o&&t.bIt("click",function(c){return r.onDocumentClick(c)},!1,t.EBC)},inputs:{countries:"countries",selectedCountry:"selectedCountry"},outputs:{selectedCountryPrefix:"selectedCountryPrefix"},standalone:!0,features:[t.aNF],decls:5,vars:6,consts:[["prefixInput",""],["type","text","data-cy","phoneNumberPrefix","autocomplete","no",1,"c-registration-input","c-registration-input--prefix",3,"input","click","value"],[1,"c-registration-input__country-flag","c-registration-input__country-flag--selected",3,"src"],["icon","menu-dropdown-alt",1,"c-registration-select-icon",3,"ngClass"],[1,"c-registration-input__country-code"],[1,"c-registration-input__country-code-item"],[1,"c-registration-input__country-code-item",3,"click"],[1,"c-registration-input__country"],[1,"c-registration-input__country-flag",3,"src"]],template:function(o,r){if(1&o){const l=t.RV6();t.j41(0,"input",1,0),t.bIt("input",function(m){return t.eBV(l),t.Njj(r.onSearchInput(m.target.value))})("click",function(){return t.eBV(l),t.Njj(r.toggleDropdown())}),t.k0s(),t.DNE(2,Ne,1,1,"img",2),t.nrm(3,"svg-icon",3),t.DNE(4,Ae,4,1,"div",4)}2&o&&(t.Y8G("value",r.searchQuery()),t.R7$(2),t.vxM(r.searchQuery()?-1:2),t.R7$(),t.Y8G("ngClass",t.eq3(4,Ee,r.showDropdown())),t.R7$(),t.vxM(r.showDropdown()?4:-1))},dependencies:[g.CommonModule,g.NgClass,M.A,d.D,_.h,_.D9],styles:[".c-registration-input--single-country[_nghost-%COMP%]{pointer-events:none}.c-registration-input--single-country[_nghost-%COMP%] .c-registration-input[_ngcontent-%COMP%]{opacity:.7}.c-registration-input--single-country[_nghost-%COMP%] .c-registration-select-icon[_ngcontent-%COMP%]{opacity:0}
1.c-registration-input--single-country[_nghost-%COMP%] .c-registration-input__country-flag--selected[_ngcontent-%COMP%]{left:30px!important}.c-registration-input[_ngcontent-%COMP%]:focus + .c-registration-input__country-flag--selected[_ngcontent-%COMP%]{opacity:.5}.c-registration-input.c-registration-input--prefix[_ngcontent-%COMP%]{width:76px;padding:14px 30px 14px 10px}.c-registration-input__country-code[_ngcontent-%COMP%]{display:flex;flex-direction:column;position:absolute;bottom:-10px;transform:translateY(100%);left:0;max-height:144px;width:335px;z-index:var(--z-index-dropdown);border:1px solid var(--limitRadioButtonBorderColor);border-radius:4px;background:var(--baseBlue09);overflow-y:auto;overscroll-behavior:none;box-shadow:1px 4px 1px var(--black-t-25);scrollbar-width:none;overflow:-moz-scrollbars-none}.c-registration-input__country-code[_ngcontent-%COMP%]::-webkit-scrollbar{width:0;height:0}.c-registration-input__country-code-item[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;min-height:48px;width:100%;padding:0 10px;color:var(--baseAccountSettingsColor09)}.c-registration-input__country-code-item[_ngcontent-%COMP%]:not(:last-of-type){border-bottom:1px solid var(--limitRadioButtonBorderColor)}.c-registration-input__country-code-item[_ngcontent-%COMP%]:hover{background:var(--baseAccountBlue06)}.c-registration-input__country[_ngcontent-%COMP%]{display:flex;align-items:center;gap:7px}.c-registration-input__country-flag[_ngcontent-%COMP%]{width:16px;height:16px}.c-registration-input__country-flag.c-registration-input__country-flag--selected[_ngcontent-%COMP%]{position:absolute;top:19px;left:15px;pointer-events:none}.c-registration-select-icon[_ngcontent-%COMP%]{transition:transform .1s ease-in-out}.c-registration-select-icon.c-registration-select-icon--rotate[_ngcontent-%COMP%]{transform:rotate(270deg)}",'[_nghost-%COMP%]{width:100%}.c-registration-page--sms-activation[_nghost-%COMP%]{display:none}.c-register-step[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-registration-form[_ngcontent-%COMP%]{max-width:490px;padding:55px 0 5px;margin:0 auto;position:relative}.c-registration-form__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-registration-form__content.verification-open[_ngcontent-%COMP%]{opacity:0}.c-registration-form__title[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:600;font-size:24px;text-align:center;text-transform:uppercase;margin:0 0 40px}.c-registration-form__title.has-providers[_ngcontent-%COMP%]{margin:0 0 16px}.c-registration-form__cta[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-bottom:32px}.c-registration-form__subtitle[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:700;font-size:16px;line-height:1;text-align:center;text-transform:uppercase;margin:5px 0 10px}.c-registration-tabs-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 0 25px}.c-registration-tabs[_ngcontent-%COMP%]{display:flex;border:1px solid var(--baseBlue18);border-radius:4px;overflow:hidden}.c-registration-tab[_ngcontent-%COMP%]{min-width:140px;background-color:transparent;color:var(--baseWhite10);font-family:var(--font-cond);font-weight:500;font-size:12px;text-transform:uppercase;text-align:center;padding:10px;transition:opacity .2s linear;cursor:pointer}.c-registration-tab[_ngcontent-%COMP%]:not(.selected):hover{opacity:.8}.c-registration-tab[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid var(--baseBlue18)}.c-registration-tab.selected[_ngcontent-%COMP%]{background-color:var(--baseBlue23);color:var(--baseTextColor)}.c-registration-tab.validated[_ngcontent-%COMP%]{background-color:var(--base-green-01);color:var(--white)}.c-registration-tab.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-fields-halves[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(calc(50% - 15px),1fr));grid-column-gap:15px}.c-registration-input-fields-third[_ngcontent-%COMP%]{margin-bottom:15px;
1display:grid;grid-template-columns:repeat(3,1fr);grid-column-gap:15px}.c-registration-input-field[_ngcontent-%COMP%]{margin-bottom:15px;display:flex;flex-direction:column;flex:1}.c-registration-input-field.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%]{margin-bottom:5px}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{display:none}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%]{margin-bottom:15px}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input-actions__error[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:block}.c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-select[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-input-actions__success[_ngcontent-%COMP%]{display:block}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:none}.c-registration-input-label[_ngcontent-%COMP%]{color:var(--baseWhite06);font-family:var(--font);font-size:12px;position:relative;display:flex;flex-direction:column}.c-registration-input-wrapper[_ngcontent-%COMP%]{display:flex;gap:15px}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-register-btn[_ngcontent-%COMP%]{min-width:30%;max-width:fit-content;height:44px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{flex:1}.c-registration-input[_ngcontent-%COMP%]{display:block;margin-top:5px;border:1px solid var(--limitRadioButtonBorderColor);color:var(--baseAccountSettingsColor09);border-radius:4px;padding:14px 40px 14px 10px;line-height:1;width:100%;background-color:var(--baseBlue09);font-family:var(--font)}.c-registration-input[_ngcontent-%COMP%]:focus{border-color:var(--base-green-01)}.c-registration-input[_ngcontent-%COMP%]:focus.c-registration-input--prefix{border-color:var(--limitRadioButtonBorderColor)}.c-registration-input[disabled][_ngcontent-%COMP%], .c-registration-input.disabled[_ngcontent-%COMP%], .c-registration-input.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none;border-color:var(--limitRadioButtonBorderColor)}.c-registration-select[_ngcontent-%COMP%]{display:block;min-height:44px;background:var(--baseBlue09) no-repeat calc(100% - 10px) center;border:1px solid var(--limitRadioButtonBorderColor);border-radius:4px;color:var(--baseAccountSettingsColor09);padding:13px 25px 13px 10px;width:100%;margin-top:5px;font-family:var(--font);-webkit-appearance:none;-moz-appearance:none;-o-appearance:none}.c-registration-select[disabled][_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select[disabled][_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-registration-select.c-registration-select--error[_ngcontent-%COMP%]{border-color:var(--alert)}.c-registration-select[disabled][_ngcontent-%COMP%] ~ .c-registration-select-icon[_ngcontent-%COMP%]{opacity:.3}.c-registration-input-label__inner[_ngcontent-%COMP%]{position:relative}.c-registration-input-label__inner.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select-icon[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--baseWhite06);transform:rotate(90deg);position:absolute;top:20px;right:15px;pointer-events:none}.c-registration-input-actions[_ngcontent-%COMP%]{position:absolute;height:44px;bottom:0;right:10px;display:flex;align-items:center}.c-registration-input-actions__password-visibility[_ngcontent-%COMP%]{width:15px;height:15px;margin:0 7px;cursor:pointer;background:url(hide-password-icon.e209c0f6a4d5cd87.svg) no-repeat center;background-size:cover}.c-registration-input-actions__password-visibility.show[_ngcontent-%COMP%]{background:url(show-password-icon.62f14e297b1b7b9d.svg) no-repeat center;background-size:cover}.c-registration-input-actions__error[_ngcontent-%COMP%]{width:15px;height:15px;background:url(error.7e64f8513d00de72.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-input-actions__success[_ngcontent-%COMP%]{width:15px;height:15px;background:url(success-indicator.4b928420b308f92c.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-error[_ngcontent-%COMP%]{color:var(--base-primary);display:none;margin-top:5px}.c-checkbox-label[_ngcontent-%COMP%]{display:flex;cursor:pointer;margin-right:25px;margin-bottom:15px}.c-checkbox-label.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-checkbox[_ngcontent-%COMP%]{display:block;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:18px;height:18px;transition:opacity .1s ease-in-out}.c-checkbox[_ngcontent-%COMP%]:active{opacity:.4}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .active[_ngcontent-%COMP%]{display:inline-flex}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .not-active[_ngcontent-%COMP%]{display:none}.c-checkbox-input__icon.active[_ngcontent-%COMP%]{color:var(--base-green-01);display:none;width:16px;height:16px}.c-checkbox-input__icon.not-active[_ngcontent-%COMP%]{color:var(--baseWhite07);display:inline-flex;width:15px;height:15px}.c-checkbox-label-text[_ngcontent-%COMP%]{margin-left:10px;font-family:var(--font);font-size:14px;color:var(--baseGrey03);font-weight:400}.c-registration-switch[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--baseGrey04);font-size:12px;margin-bottom:10px;cursor:pointer}.c-registration-switch__label[_ngcontent-%COMP%]{position:relative;display:inline-block;min-width:32px;height:18px;margin-right:15px}.c-registration-switch__input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]{border-width:3px;border-color:transparent;background:var(--base-green-01)}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]:before{transform:translate(13px,-50%)}.c-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background:var(--baseGrey05);transition:all .2s linear;border-radius:34px}.c-slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:15px;width:15px;inset:50% 0 0 2px;background-color:var(--white);
1transition:all .4s cubic-bezier(.77,0,.175,1);transform:translateY(-50%);border-radius:50%}.c-register-action[_ngcontent-%COMP%]{display:flex;gap:10px}.c-register-btn[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font-cond);font-size:16px;font-weight:500;line-height:20px;text-transform:uppercase;border-radius:4px;border:1px solid var(--base-blue-05);padding:12px 20px;flex:1;max-width:50%;transition:opacity .3s linear}.c-register-btn[_ngcontent-%COMP%]:hover{opacity:.8}.c-register-btn.c-register-btn--continue[_ngcontent-%COMP%]{background-color:var(--base-blue-04);border:1px solid var(--base-blue-04);color:var(--white)}.c-register-btn.c-register-btn--continue[disabled][_ngcontent-%COMP%]{opacity:.4;color:var(--base-white-06);pointer-events:none}.c-register-btn.c-register-btn--submit[_ngcontent-%COMP%]{background-color:var(--base-green-01);border:1px solid var(--base-green-01);color:var(--white)}.c-register-btn.c-register-btn--submit[disabled][_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.c-registration-login-note[_ngcontent-%COMP%]{color:var(--base-white-06);font-size:14px;line-height:1.2;padding:20px 0;text-align:center}.c-registration-login-note__button[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:600;text-decoration:underline;background-color:transparent;border:none}.c-radio-btn[_ngcontent-%COMP%]{opacity:0;position:absolute;left:-9999px}.c-radio-btn[_ngcontent-%COMP%]:not(:checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn[_ngcontent-%COMP%]:not(.checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:0;transform:scale(0)}.c-radio-btn[_ngcontent-%COMP%]:checked + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn.checked[_ngcontent-%COMP%] + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:1;transform:scale(1)}.c-radio-buttons-container[_ngcontent-%COMP%]{display:flex}.c-radio-btn-wrapper[_ngcontent-%COMP%]{margin-right:20px;margin-top:5px}.c-radio-btn-label[_ngcontent-%COMP%]{display:flex;position:relative;padding-left:25px;line-height:18px;color:var(--baseWhite06);font-size:12px;text-transform:capitalize;cursor:pointer}.c-radio-btn-label.c-radio-btn-label--mobile[_ngcontent-%COMP%]{margin-bottom:10px}.c-radio-btn-label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:17px;height:17px;outline:1px solid var(--base-green-01);border-radius:100%;background:var(--baseBlack)}.c-radio-btn-label[_ngcontent-%COMP%]:after{content:"";width:11px;height:11px;background:var(--base-green-01);position:absolute;top:3px;left:3px;border-radius:50%;transition:all .2s ease}.c-registration-form__did-you-mean[_ngcontent-%COMP%]{cursor:pointer;width:100%;margin-left:auto;background:var(--base-orange-01);font-size:12px;line-height:16px;color:var(--dark-grey);padding:3px 8px 4px;margin-top:3px;transition:opacity .3s linear}.c-ipification-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;background-color:var(--ipification-red);border-radius:4px;min-width:240px;cursor:pointer;transition:all .2s linear}.c-ipification-button.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed;pointer-events:none}.c-ipification-button[_ngcontent-%COMP%]:active{transform:scale(.965)}.c-ipification-button__icon[_ngcontent-%COMP%]{height:16px}.c-registration-alert[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:15px}.c-registration-alert__icon[_ngcontent-%COMP%]{width:22px;height:21px;flex-shrink:0;color:var(--baseResponsibleGamingColor)}.c-registration-alert__content[_ngcontent-%COMP%]{color:var(--baseGrey03);font-family:var(--font);font-size:14px;font-weight:400;line-height:16px}.c-registration-alert__link[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-registration-input-prefix[_ngcontent-%COMP%]{position:relative}']})}}return n})(),Ot=(()=>{class n{constructor(){this.toggleBlinkingRegistration=new t.bkB}ngOnInit(){this._createForm()}handleClose(){this.toggleBlinkingRegistration.emit()}handleSubmit(){typeof window>"u"||(location.href=this.blinkingRegistrationUrl)}_createForm(){this.blinkingRegistrationForm=new a.gE({termsAndConditions:new a.MJ(!1,[a.k0.requiredTrue])})}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275cmp=t.VBU({type:n,selectors:[["app-blinking-registration"]],hostVars:1,hostBindings:function(o,r){2&o&&t.zvX("@fadeSimpleFast",r.toggleBlinkingRegistration)},inputs:{blinkingRegistrationUrl:"blinkingRegistrationUrl"},outputs:{toggleBlinkingRegistration:"toggleBlinkingRegistration"},decls:23,vars:17,consts:[[1,"c-blinking",3,"formGroup"],[1,"c-blinking-header"],["icon","blinking",1,"c-blinking-header__icon"],[1,"c-blinking-header__text"],["icon","close",1,"c-blinking-header__close",3,"click"],[1,"c-blinking-title"],[1,"c-blinking-desc"],[1,"c-blinking-label"],["formControlName","termsAndConditions","type","checkbox","id","terms_and_conditions",1,"c-blinking-label__checkbox"],["icon","checkmark",1,"c-blinking-checkmark"],["icon","checkmark-checked",1,"c-blinking-checkmark-checked"],[1,"c-button","c-button--success","c-button--large","c-button--font-500",3,"click","disabled"]],template:function(o,r){1&o&&(t.j41(0,"div",0)(1,"div",1),t.nrm(2,"svg-icon",2),t.j41(3,"span",3),t.EFF(4),t.nI1(5,"translate"),t.k0s(),t.j41(6,"svg-icon",4),t.bIt("click",function(){return r.handleClose()}),t.k0s()(),t.j41(7,"h4",5),t.EFF(8),t.nI1(9,"translate"),t.k0s(),t.j41(10,"div",6),t.EFF(11),t.nI1(12,"translate"),t.k0s(),t.j41(13,"label",7),t.nrm(14,"input",8)(15,"svg-icon",9)(16,"svg-icon",10),t.j41(17,"span"),t.EFF(18),t.nI1(19,"translate"),t.k0s()(),t.j41(20,"button",11),t.bIt("click",function(){return r.handleSubmit()}),t.EFF(21),t.nI1(22,"translate"),t.k0s()()),2&o&&(t.Y8G("formGroup",r.blinkingRegistrationForm),t.R7$(4),t.JRh(t.bMT(5,7,"registration.blinking")),t.R7$(4),t.JRh(t.bMT(9,9,"registration.blinking_fast_registration")),t.R7$(3),t.JRh(t.bMT(12,11,"registration.blinking_registration_description")),t.R7$(7),t.JRh(t.bMT(19,13,"registration.terms_and_conditions")),t.R7$(2),t.Y8G("disabled",r.blinkingRegistrationForm.invali
1d),t.R7$(),t.SpI(" ",t.bMT(22,15,"registration.register_with_blinking")," "))},dependencies:[a.Zm,a.BC,a.cb,a.j4,a.JD,d.D,_.D9],styles:["[_nghost-%COMP%]{width:100%;position:absolute;z-index:var(--z-index-above-min)}.c-blinking[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;width:100%;padding:24px 16px;border-radius:4px;background-color:var(--blinking-blue)}.c-blinking-header__close[_ngcontent-%COMP%]{color:var(--white);width:15px;height:15px;cursor:pointer;transition:all .2s linear}.c-blinking-header__close[_ngcontent-%COMP%]:active{transform:scale(.9)}.c-blinking-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;background-color:var(--blinking-blue);border-radius:4px}.c-blinking-header__icon[_ngcontent-%COMP%]{width:23px;height:20px}.c-blinking-header__text[_ngcontent-%COMP%]{margin-right:auto;font-size:14px;font-weight:700;color:var(--white)}.c-blinking-header__close[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--white)}.c-blinking-title[_ngcontent-%COMP%]{margin-top:16px;font-size:16px;font-weight:600;color:var(--white)}.c-blinking-desc[_ngcontent-%COMP%]{color:var(--lighter-grey);margin-bottom:20px;font-size:13px}.c-blinking-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;font-weight:400;margin:11px 0;color:var(--white)}.c-blinking-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--white)}.c-blinking-label__checkbox[type=checkbox][_ngcontent-%COMP%]{display:none;visibility:none}.c-blinking-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-blinking-checkmark[_ngcontent-%COMP%]{display:none}.c-blinking-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-blinking-checkmark-checked[_ngcontent-%COMP%]{display:block}.c-blinking-checkmark[_ngcontent-%COMP%], .c-blinking-checkmark-checked[_ngcontent-%COMP%]{color:var(--white);min-width:14px;width:14px;height:14px;margin-right:10px;pointer-events:none}.c-blinking-checkmark-checked[_ngcontent-%COMP%]{display:none}"],data:{animation:[pt.vQ]}})}}return n})();class it{constructor(){this.toggleItsmeRegistration=(0,t.CGW)(),this.itsmeRegistrationUrl=(0,t.hFB)("")}ngOnInit(){this._createForm()}handleClose(){this.toggleItsmeRegistration.emit()}handleSubmit(){location.href=this.itsmeRegistrationUrl()}_createForm(){this.itsmeRegistrationForm=new a.gE({termsAndConditions:new a.MJ(!1,[a.k0.requiredTrue])})}static{this.\u0275fac=function(e){return new(e||it)}}static{this.\u0275cmp=t.VBU({type:it,selectors:[["app-itsme-registration"]],hostVars:1,hostBindings:function(e,o){2&e&&t.zvX("@fadeSimpleFast",o.toggleItsmeRegistration)},inputs:{itsmeRegistrationUrl:[1,"itsmeRegistrationUrl"]},outputs:{toggleItsmeRegistration:"toggleItsmeRegistration"},decls:22,vars:14,consts:[[1,"c-itsme",3,"formGroup"],[1,"c-itsme-header"],[1,"c-itsme-header__icon-wrapper"],["icon","itsme",1,"c-itsme-header__icon"],["icon","itsme-union",1,"c-itsme-header__icon","union"],["icon","close",1,"c-itsme-header__close",3,"click"],[1,"c-itsme-title"],[1,"c-itsme-desc"],[1,"c-itsme-label"],["formControlName","termsAndConditions","type","checkbox","id","terms_and_conditions",1,"c-itsme-label__checkbox"],["icon","checkmark",1,"c-itsme-checkmark"],["icon","checkmark-checked",1,"c-itsme-checkmark-checked"],[1,"c-button","c-button--success","c-button--large","c-button--font-500",3,"click","disabled"]],template:function(e,o){1&e&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2),t.nrm(3,"svg-icon",3)(4,"svg-icon",4),t.k0s(),t.j41(5,"svg-icon",5),t.bIt("click",function(){return o.handleClose()}),t.k0s()(),t.j41(6,"h4",6),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.j41(9,"div",7),t.EFF(10),t.nI1(11,"translate"),t.k0s(),t.j41(12,"label",8),t.nrm(13,"input",9)(14,"svg-icon",10)(15,"svg-icon",11),t.j41(16,"span"),t.EFF(17),t.nI1(18,"translate"),t.k0s()(),t.j41(19,"button",12),t.bIt("click",function(){return o.handleSubmit()}),t.EFF(20),t.nI1(21,"translate"),t.k0s()()),2&e&&(t.Y8G("formGroup",o.itsmeRegistrationForm),t.R7$(7),t.JRh(t.bMT(8,6,"registration.itsme_fast_registration")),t.R7$(3),t.JRh(t.bMT(11,8,"registration.itsme_registration_description")),t.R7$(7),t.JRh(t.bMT(18,10,"registration.terms_and_conditions")),t.R7$(2),t.Y8G("disabled",o.itsmeRegistrationForm.invali
1d),t.R7$(),t.SpI(" ",t.bMT(21,12,"registration.register_with_itsme")," "))},dependencies:[a.Zm,a.BC,a.cb,a.j4,a.JD,d.D,_.D9],styles:["[_nghost-%COMP%]{width:100%;position:absolute;z-index:var(--z-index-above-min)}.c-itsme[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:10px;width:100%;padding:24px 16px;border-radius:4px;background-color:var(--base-blue-03);border:1px solid var(--itsme-orange)}.c-itsme-header__close[_ngcontent-%COMP%]{color:var(--white);width:15px;height:15px;cursor:pointer;transition:all .2s linear}.c-itsme-header__close[_ngcontent-%COMP%]:active{transform:scale(.9)}.c-itsme-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:10px;background-color:var(--base-blue-03);border-radius:4px}.c-itsme-header__icon-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.c-itsme-header__icon[_ngcontent-%COMP%]{width:23px;height:20px}.c-itsme-header__icon.union[_ngcontent-%COMP%]{width:47px;height:14px;margin-left:5px}.c-itsme-header__text[_ngcontent-%COMP%]{margin-right:auto;font-size:14px;font-weight:700;color:var(--white)}.c-itsme-header__close[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--white)}.c-itsme-title[_ngcontent-%COMP%]{margin-top:16px;font-size:16px;font-weight:600;color:var(--white)}.c-itsme-desc[_ngcontent-%COMP%]{color:var(--lighter-grey);margin-bottom:20px;font-size:13px}.c-itsme-label[_ngcontent-%COMP%]{display:flex;align-items:center;font-size:12px;font-weight:400;margin:11px 0;color:var(--white)}.c-itsme-label[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{color:var(--white)}.c-itsme-label__checkbox[type=checkbox][_ngcontent-%COMP%]{display:none;visibility:none}.c-itsme-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-itsme-checkmark[_ngcontent-%COMP%]{display:none}.c-itsme-label__checkbox[type=checkbox][_ngcontent-%COMP%]:checked ~ .c-itsme-checkmark-checked[_ngcontent-%COMP%]{display:block}.c-itsme-checkmark[_ngcontent-%COMP%], .c-itsme-checkmark-checked[_ngcontent-%COMP%]{color:var(--white);min-width:14px;width:14px;height:14px;margin-right:10px;pointer-events:none}.c-itsme-checkmark-checked[_ngcontent-%COMP%]{display:none}"],data:{animation:[pt.vQ]}})}}(0,G.Cg)([U.X],it.prototype,"handleSubmit",null);let Te=(()=>{class n{transform(e,o,r){return o.page===r.page?Math.min(o.positionIndex,r.positionIndex):e===o.page?o.positionIndex:r.positionIndex}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275pipe=t.EJ8({name:"getHalvesFieldOrder",type:n,pure:!0,standalone:!0})}}return n})(),we=(()=>{class n{transform(e,o=!1){return"string"==typeof e&&(e=parseInt(e,10)),o&&e++,e<10?`0${e}`:e}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275pipe=t.EJ8({name:"returnTwoNumbers",type:n,pure:!0})}}return n})(),Ge=(()=>{class n{transform(e,o,r,l){return r&&l?e[r][l]:Object.keys(r?e[r]:e)}static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275pipe=t.EJ8({name:"peruvianCities",type:n,pure:!0})}}return n})();const Ve=n=>({"has-providers":n}),Le=n=>({"verification-open":n}),Et=(n,i)=>({selected:n,validated:i}),v=n=>({order:n}),k=(n,i)=>({error:n,success:i}),Nt=n=>({show:n}),N=n=>({"manually-disabled":n}),Be=n=>({"c-registration-input--single-country":n}),$e=(n,i,e)=>({error:n,success:i,disabled:e}),je=(n,i,e)=>({error:n,success:i,visible:e}),Ye=n=>({error:n}),Ue=()=>({order:998}),mt=n=>({"c-registration-select--error":n});function Xe(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",16),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,l=t.XpG(2);return t.Njj(l.toggleBlinkingRegistration(r))}),t.nrm(1,"svg-icon",17),t.j41(2,"span",18),t.EFF(3),t.nI1(4,"translate"),t.k0s()()}2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"registration.blinking_fast_registration")))}function ze(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",19),t.bIt("click",function(){t.eBV(e);const r=t.XpG().$implicit,l=t.XpG(2);return t.Njj(l.toggleItsmeRegistration(r))}),t.nrm(1,"svg-icon",20),t.j41(2,"span",21),t.EFF(3),t.nI1(4,"translate"),t.k0s()()}2&n&&(t.R7$(3),t.JRh(t.bMT(4,1,"registration.itsme_fast_registration")))}function He(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",22),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.toggleIpificationRegistration())}),t.nrm(1,"img",23),t.k0s()}}function qe(n,i){if(1&n&&t.DNE(0,Xe,5,3,"div",13)(1,ze,5,3,"div",14)(2,He,2,0,"div",15),2&n){const e=i.$implicit,o=t.XpG(2);t.vxM(e!==o.ACCOUNT_INFORMATION_PROVIDER.BLINKING||o.blinkingService.userRedirectedFromBlinking?-1:0),t.R7$(),t.vxM(e!==o.ACCOUNT_INFORMATION_PROVIDER.ITSME||o.itsmeService.userRedirectedFromItsme?-1:1),t.R7$(),t.vxM(e!==o.ACCOUNT_INFORMATION_PROVIDER.IPIFICATION||o.userRedirectedFromIpification?-1:2)}}function Je(n,i){if(1&n){const e=t.RV6();t.j41(0,"app-blinking-registration",24),t.bIt("toggleBlinkingRegistration",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.closeBlinkingRegistration())}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("blinkingRegistrationUrl",e.blinkingRegistrationUrl)}}function We(n,i){if(1&n){const e=t.RV6();t.j41(0,"app-itsme-registration",25),t.bIt("toggleItsmeRegistration",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.closeItsmeRegistration())}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("itsmeRegistrationUrl",e.itsmeRegistrationUrl)}}function Ke(n,i){if(1&n){const e=t.RV6();t.j41(0,"ipification-registration",26),t.bIt("toggleIpificationRegistration",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.closeIpificationRegistration())}),t.k0s()}if(2&n){const e=t.XpG(2);t.Y8G("ipificationRegistrationUrl",e.ipificationUrlReg)("ipificationHash",e.ipificationHash)}}function Qe(n,i){1&n&&(t.j41(0,"h2",31),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("1. ",t.bMT(2,1,"registration.personal_info")," "))}function Ze(n,i){1&n&&(t.j41(0,"h2",31),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI("2. ",t.bMT(2,1,"registration.account_info")," "))}
1function ti(n,i){if(1&n){const e=t.RV6();t.DNE(0,Qe,3,3,"h2",27)(1,Ze,3,3,"h2",27),t.j41(2,"div",28)(3,"div",29)(4,"button",30),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.setCurrentPage(1))}),t.EFF(5),t.nI1(6,"translate"),t.k0s(),t.j41(7,"button",30),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.setCurrentPage(2))}),t.EFF(8),t.nI1(9,"translate"),t.k0s()()()}if(2&n){const e=t.XpG(2);t.Y8G("ngIf",1==e.currentPage),t.R7$(),t.Y8G("ngIf",2==e.currentPage),t.R7$(3),t.Y8G("ngClass",t.l_i(12,Et,1===e.currentPage,(e.fistStepValidatiorsForm.valid||2===e.currentPage&&e.fistStepValidatiorsForm.pending)&&(e.fields.birthday.visible&&1===e.fields.birthday.page&&e.selectedDateValid||!e.fields.birthday.visible||1!==e.fields.birthday.page)&&!e.isPasswordAndEmailSimilar))("disabled",1===e.currentPage),t.R7$(),t.SpI(" ",t.bMT(6,8,"registration.step_one")," "),t.R7$(2),t.Y8G("ngClass",t.l_i(15,Et,2===e.currentPage,e.form.valid&&e.fistStepValidatiorsForm.valid))("disabled",!e.fistStepValidatiorsForm.valid||2===e.currentPage||e.fields.birthday.visible&&1===e.fields.birthday.page&&!e.selectedDateValid),t.R7$(),t.SpI(" ",t.bMT(9,10,"registration.step_two")," ")}}function ei(n,i){1&n&&(t.j41(0,"div",58),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.nickname_required")," "))}function ii(n,i){1&n&&(t.j41(0,"div",59),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.nickname_already_exist")," "))}function ni(n,i){1&n&&(t.j41(0,"div",59),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.nickname_not_valid")," "))}function oi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,ei,3,3,"div",56)(2,ii,3,3,"div",57)(3,ni,3,3,"div",57),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.nickname||null==e.form.controls.nickname.errors?null:e.form.controls.nickname.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.nickname||null==e.form.controls.nickname.errors?null:e.form.controls.nickname.errors.forbiddenName),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.nickname||null==e.form.controls.nickname.errors?null:e.form.controls.nickname.errors.minlength)}}function ri(n,i){if(1&n&&(t.j41(0,"div",49)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",51),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,oi,4,3,"div",55),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(8,v,null==e.fields||null==e.fields.nickname?null:e.fields.nickname.positionIndex))("ngClass",t.l_i(10,k,(null==e.form||null==e.form.controls||null==e.form.controls.nickname?null:e.form.controls.nickname.invalid)&&(e.form.controls.nickname.dirty||e.form.controls.nickname.touched),(null==e.form||null==e.form.controls||null==e.form.controls.nickname?null:e.form.controls.nickname.valid)&&e.form.controls.nickname.touched)),t.R7$(2),t.Lme(" ",t.bMT(3,6,"general.nickname")," ",e.fields.nickname.required?"*":""," "),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.NICK_NAME.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.nickname?null:e.form.controls.nickname.invalid)&&(e.form.controls.nickname.dirty||e.form.controls.nickname.touched))}}function si(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",60)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"input",61),t.bIt("keyup",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.checkRepeatPasswordValidation())}),t.k0s(),t.j41(5,"div",52)(6,"div",62),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.toggleShowPassword())}),t.k0s(),t.nrm(7,"div",53)(8,"div",54),t.k0s()(),t.nrm(9,"password-validation-indicator",63),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(9,k,(null==e.form||null==e.form.controls||null==e.form.controls.password?null:e.form.controls.password.invalid)&&(e.form.controls.password.dirty||e.form.controls.password.touched)||e.isPasswordAndEmailSimilar,(null==e.form||null==e.form.controls||null==e.form.controls.password?null:e.form.controls.password.valid)&&e.form.controls.password.touched&&!e.isPasswordAndEmailSimilar)),t.R7$(2),t.SpI(" ",t.bMT(3,7,"general.password"),"* "),t.R7$(2),t.Y8G("type",e.showPassword?e.textType:e.passwordType)("formControlName",e.FIELDS_NAMES.PASSWORD.name),t.R7$(2),t.Y8G("ngClass",t.eq3(12,Nt,e.showPassword)),t.R7$(3),t.Y8G("value",e.form.controls.password.value)("similarityCheck",e.isPasswordAndEmailSimilar)}}function ai(n,i){1&n&&(t.j41(0,"div",67),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.repeat_password_required")," "))}function li(n,i){1&n&&(t.j41(0,"div",68),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.repeat_password_not_valid")," "))}
1function ci(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,ai,3,3,"div",65)(2,li,3,3,"div",66),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.repeatPassword||null==e.form.controls.repeatPassword.errors?null:e.form.controls.repeatPassword.errors.required),t.R7$(),t.Y8G("ngIf",!(null!=e.form&&null!=e.form.controls&&null!=e.form.controls.repeatPassword&&null!=e.form.controls.repeatPassword.errors&&e.form.controls.repeatPassword.errors.required)&&(null==e.form||null==e.form.controls||null==e.form.controls.repeatPassword||null==e.form.controls.repeatPassword.errors?null:e.form.controls.repeatPassword.errors.validateRepeatPassword))}}function di(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",60)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",64),t.j41(5,"div",52)(6,"div",62),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.toggleShowRepeatPassword())}),t.k0s(),t.nrm(7,"div",53)(8,"div",54),t.k0s()(),t.DNE(9,ci,3,2,"div",55),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(9,k,(null==e.form||null==e.form.controls||null==e.form.controls.repeatPassword?null:e.form.controls.repeatPassword.invalid)&&(e.form.controls.repeatPassword.dirty||e.form.controls.repeatPassword.touched),(null==e.form||null==e.form.controls||null==e.form.controls.repeatPassword?null:e.form.controls.repeatPassword.valid)&&e.form.controls.repeatPassword.touched)),t.R7$(2),t.Lme(" ",t.bMT(3,7,"general.repeat_password")," ",e.fields.repeatPassword.required?"*":""," "),t.R7$(2),t.Y8G("type",e.showRepeatPassword?"text":"password")("formControlName",e.FIELDS_NAMES.REPEAT_PASSWORD.name),t.R7$(2),t.Y8G("ngClass",t.eq3(12,Nt,e.showRepeatPassword)),t.R7$(3),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.repeatPassword?null:e.form.controls.repeatPassword.invalid)&&(e.form.controls.repeatPassword.dirty||e.form.controls.repeatPassword.touched))}}function ui(n,i){if(1&n){const e=t.RV6();t.j41(0,"span",72),t.bIt("click",function(){t.eBV(e);const r=t.XpG(4);return t.Njj(r.setSuggestedEmail())}),t.EFF(1),t.k0s()}if(2&n){const e=t.XpG(4);t.R7$(),t.JRh(null==e.didYouMeanObject?null:e.didYouMeanObject.message)}}function pi(n,i){1&n&&(t.j41(0,"div",58),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.email_required")," "))}function mi(n,i){1&n&&(t.j41(0,"div",59),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.email_already_exist")," "))}function gi(n,i){1&n&&(t.j41(0,"div",59),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.email_not_valid")," "))}function _i(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,pi,3,3,"div",56)(2,mi,3,3,"div",57)(3,gi,3,3,"div",57),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.email||null==e.form.controls.email.errors?null:e.form.controls.email.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.email||null==e.form.controls.email.errors?null:e.form.controls.email.errors.alreadyExist),t.R7$(),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.email||null==e.form.controls.email.errors?null:e.form.controls.email.errors.validateEmail)||(null==e.form||null==e.form.controls||null==e.form.controls.email||null==e.form.controls.email.errors?null:e.form.controls.email.errors.bouncerError))}}function fi(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"input",70,0),t.bIt("blur",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.validateSimilarity())})("keyup",function(){t.eBV(e);const r=t.sdS(5),l=t.XpG(3);return t.Njj(l.validateSimilarityOnKeyPress(r.value))}),t.k0s(),t.j41(6,"div",52),t.nrm(7,"div",53)(8,"div",54),t.k0s()(),t.DNE(9,ui,2,1,"span",71)(10,_i,4,3,"div",55),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(11,k,(null==e.form||null==e.form.controls||null==e.form.controls.email?null:e.form.controls.email.invalid)&&(e.form.controls.email.dirty||e.form.controls.email.touched),(null==e.form||null==e.form.controls||null==e.form.controls.email?null:e.form.controls.email.valid)&&e.form.controls.email.touched))("ngStyle",t.eq3(14,v,null==e.fields||null==e.fields.email?null:e.fields.email.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,9,"general.email")," ",null!=e.f
1ields&&null!=e.fields.email&&e.fields.email.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(16,N,e.populatedIpificationFields.email))("readonly",null==e.populatedIpificationFields?null:e.populatedIpificationFields.email)("formControlName",e.FIELDS_NAMES.EMAIL.name),t.R7$(5),t.Y8G("ngIf",null==e.didYouMeanObject?null:e.didYouMeanObject.message),t.R7$(),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.email?null:e.form.controls.email.invalid)&&(e.form.controls.email.dirty||e.form.controls.email.touched))}}function hi(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",79),t.bIt("click",function(){t.eBV(e);const r=t.XpG(4);return t.Njj(r.sendVerificationCode())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG(4);t.Y8G("disabled",!(null!=e.form&&null!=e.form.controls&&null!=e.form.controls.phone&&e.form.controls.phone.valid)||e.phoneVerificationCodeRequested&&!e.sentVerificationCode||e.phoneNumberVerified),t.R7$(),t.SpI(" ",t.bMT(2,2,"registration.send_sms")," ")}}function vi(n,i){1&n&&(t.j41(0,"div",52),t.nrm(1,"div",53)(2,"div",54),t.k0s())}function Ci(n,i){if(1&n&&(t.j41(0,"div",83),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",t.bMT(2,1,null==e.form||null==e.form.controls||null==e.form.controls.phone||null==e.form.controls.phone.errors?null:e.form.controls.phone.errors.phone_message)," ")}}function bi(n,i){1&n&&(t.j41(0,"div",84),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.phone_required")," "))}function Ii(n,i){1&n&&(t.j41(0,"div",85),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.phone_already_exist")," "))}function xi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Ci,3,3,"div",80)(2,bi,3,3,"div",81)(3,Ii,3,3,"div",82),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.phone||null==e.form.controls.phone.errors?null:e.form.controls.phone.errors.phone_message),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.phone||null==e.form.controls.phone.errors?null:e.form.controls.phone.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.phone||null==e.form.controls.phone.errors?null:e.form.controls.phone.errors.alreadyExist)}}function Fi(n,i){1&n&&(t.j41(0,"expression-validation-indicator"),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.phone_number_confirmed")," "))}function yi(n,i){if(1&n&&(t.j41(0,"expression-validation-indicator",87),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.Y8G("validationPattern",e.NON_WHITESPACE_REGEX),t.R7$(),t.SpI(" ",t.bMT(2,2,"registration.failed_attempt")," ")}}function Mi(n,i){if(1&n){const e=t.RV6();t.j41(0,"phone-verification-code-input",86),t.bIt("onSubmitCode",function(r){t.eBV(e);const l=t.XpG(4);return t.Njj(l.handleSubmitVerificationCode(r))}),t.k0s(),t.DNE(1,Fi,3,3,"expression-validation-indicator")(2,yi,3,4,"expression-validation-indicator",87)}if(2&n){const e=t.XpG(4);t.Y8G("@slideDownAnimation",void 0)("disableInputs",!e.phoneVerificationCodeRequested||e.phoneNumberVerified)("numberVerified",e.phoneNumberVerified)("validationCode",e.validationCode)("sentVerificationCode",e.sentVerificationCode),t.R7$(),t.vxM(e.sentVerificationCode&&e.phoneNumberVerified?1:e.sentVerificationCode?2:-1)}}function Pi(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",49)(1,"label",73),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",74)(5,"div",75)(6,"registration-number-prefix",76),t.bIt("selectedCountryPrefix",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.setSelectedCountryPrefix(r))}),t.k0s()(),t.j41(7,"input",77),t.bIt("keyup",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.donAllowToDeletePrefix(r))})("blur",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onPhoneBlur())}),t.k0s(),t.DNE(8,hi,3,4,"button",78)(9,vi,3,0,"div",52),t.k0s()(),t.DNE(10,xi,4,3,"div",55)(11,Mi,3,6),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(15,v,null==e.fields||null==e.fields.phone?null:e.fields.phone.positionIndex))("ngClass",t.l_i(17,k,(null==e.form||null==e.form.controls||null==e.form.controls.phone?null:e.form.controls.phone.invalid)&&
1(e.form.controls.phone.dirty||e.form.controls.phone.touched),(null==e.form||null==e.form.controls||null==e.form.controls.phone?null:e.form.controls.phone.valid)&&e.form.controls.phone.touched)),t.R7$(2),t.Lme(" ",t.bMT(3,13,"general.phone")," ",null!=e.fields&&null!=e.fields.phone&&e.fields.phone.required?"*":""," "),t.R7$(4),t.Y8G("ngClass",t.eq3(20,Be,1===e.countries.length))("countries",e.countries)("selectedCountry",e.selectedCountryPrefix),t.R7$(),t.Y8G("ngClass",t.eq3(22,N,(null==e.populatedIpificationFields?null:e.populatedIpificationFields.phone)||e.phoneNumberVerified))("readonly",(null==e.populatedIpificationFields?null:e.populatedIpificationFields.phone)||e.phoneNumberVerified)("formControlName",e.FIELDS_NAMES.PHONE.name),t.R7$(),t.vxM(null!=e.registrationConfiguration&&e.registrationConfiguration.numberValidationEnabled&&null!=e.fields&&null!=e.fields.phone&&e.fields.phone.required?8:9),t.R7$(2),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.phone?null:e.form.controls.phone.invalid)&&(e.form.controls.phone.dirty||e.form.controls.phone.touched)),t.R7$(),t.vxM(null!=e.registrationConfiguration&&e.registrationConfiguration.numberValidationEnabled&&null!=e.fields&&null!=e.fields.phone&&e.fields.phone.required?11:-1)}}function Ri(n,i){if(1&n&&(t.j41(0,"div",83),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",t.bMT(2,1,null==e.form||null==e.form.controls||null==e.form.controls.passportNumber||null==e.form.controls.passportNumber.errors?null:e.form.controls.passportNumber.errors.custom_error_message)," ")}}function Si(n,i){1&n&&(t.j41(0,"div",84),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.passport_number_required")," "))}function Oi(n,i){1&n&&(t.j41(0,"div",84),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.passport_number_not_valid")," "))}function Ei(n,i){1&n&&(t.j41(0,"div",85),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.passport_number_required")," "))}function Ni(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Ri,3,3,"div",80)(2,Si,3,3,"div",81)(3,Oi,3,3,"div",81)(4,Ei,3,3,"div",82),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.passportNumber||null==e.form.controls.passportNumber.errors?null:e.form.controls.passportNumber.errors.custom_error_message),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.passportNumber||null==e.form.controls.passportNumber.errors?null:e.form.controls.passportNumber.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.passportNumber||null==e.form.controls.passportNumber.errors?null:e.form.controls.passportNumber.errors.validatePassportNumber),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.passportNumber||null==e.form.controls.passportNumber.errors?null:e.form.controls.passportNumber.errors.alreadyExist)}}function Di(n,i){if(1&n&&(t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",88),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,Ni,5,4,"div",55),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(8,k,(null==e.form||null==e.form.controls||null==e.form.controls.passportNumber?null:e.form.controls.passportNumber.invalid)&&(e.form.controls.passportNumber.dirty||e.form.controls.passportNumber.touched),(null==e.form||null==e.form.controls||null==e.form.controls.passportNumber?null:e.form.controls.passportNumber.valid)&&e.form.controls.passportNumber.touched))("ngStyle",t.eq3(11,v,null==e.fields||null==e.fields.passportNumber?null:e.fields.passportNumber.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,6,"registration.passport_number")," ",null!=e.fields&&null!=e.fields.passportNumber&&e.fields.passportNumber.required?"*":""," "),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.PASSPORT_NUMBER.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.passportNumber?null:e.form.controls.passportNumber.invalid)&&
1(e.form.controls.passportNumber.dirty||e.form.controls.passportNumber.touched))}}function ki(n,i){if(1&n&&(t.j41(0,"div",83),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",t.bMT(2,1,null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber||null==e.form.controls.alienRegistrationCardNumber.errors?null:e.form.controls.alienRegistrationCardNumber.errors.custom_error_message)," ")}}function Ai(n,i){1&n&&(t.j41(0,"div",84),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.alien_registration_card_number_required")," "))}function Ti(n,i){1&n&&(t.j41(0,"div",85),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.alien_registration_card_number_already_exist")," "))}function wi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,ki,3,3,"div",80)(2,Ai,3,3,"div",81)(3,Ti,3,3,"div",82),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber||null==e.form.controls.alienRegistrationCardNumber.errors?null:e.form.controls.alienRegistrationCardNumber.errors.custom_error_message),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber||null==e.form.controls.alienRegistrationCardNumber.errors?null:e.form.controls.alienRegistrationCardNumber.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber||null==e.form.controls.alienRegistrationCardNumber.errors?null:e.form.controls.alienRegistrationCardNumber.errors.alreadyExist)}}function Gi(n,i){if(1&n&&(t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",89),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,wi,4,3,"div",55),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(8,k,(null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber?null:e.form.controls.alienRegistrationCardNumber.invalid)&&(e.form.controls.alienRegistrationCardNumber.dirty||e.form.controls.alienRegistrationCardNumber.touched),(null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber?null:e.form.controls.alienRegistrationCardNumber.valid)&&e.form.controls.alienRegistrationCardNumber.touched))("ngStyle",t.eq3(11,v,null==e.fields||null==e.fields.alienRegistrationCardNumber?null:e.fields.alienRegistrationCardNumber.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,6,"registration.alien_registration_card_number")," ",null!=e.fields&&null!=e.fields.alienRegistrationCardNumber&&e.fields.alienRegistrationCardNumber.required?"*":""," "),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.alienRegistrationCardNumber?null:e.form.controls.alienRegistrationCardNumber.invalid)&&(e.form.controls.alienRegistrationCardNumber.dirty||e.form.controls.alienRegistrationCardNumber.touched))}}function Vi(n,i){1&n&&(t.j41(0,"div",92),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.street_required")," "))}function Li(n,i){1&n&&(t.j41(0,"div",92),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.street_not_valid")," "))}function Bi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Vi,3,3,"div",91)(2,Li,3,3,"div",91),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.street||null==e.form.controls.street.errors?null:e.form.controls.street.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.street||null==e.form.controls.street.errors?null:e.form.controls.street.errors.validateStreet)}}function $i(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"app-address-dropdown",90),t.bIt("invalidStateOccurred",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.handleAddressInvalidState())})("citySelected",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.handleCitySelection(r))})("addressSelected",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.handleAddressSelection(r))}),t.k0s(),t.DNE(5,Bi,3,2,"div",55),t.k0s()}if(2&n){let e;const o=t.XpG(3);t.Y8G("ngClass",t.l_i(10,k,(null==o.form||null==o.form.controls||null==o.form.controls.street?null:o.form.controls.street.invalid)&&
1(o.form.controls.street.dirty||o.form.controls.street.touched),(null==o.form||null==o.form.controls||null==o.form.controls.street?null:o.form.controls.street.valid)&&o.form.controls.street.touched))("ngStyle",t.eq3(13,v,null==o.fields||null==o.fields.street?null:o.fields.street.positionIndex)),t.R7$(2),t.Lme("",t.bMT(3,8,"general.street")," ",null!=o.fields&&null!=o.fields.street&&o.fields.street.required?"*":"",""),t.R7$(2),t.Y8G("isDisabled",!(null==o.populatedBlinkingFields||!o.populatedBlinkingFields.street)||!!(null!=o.populatedBlinkingFields&&o.populatedBlinkingFields.street||null!=o.populatedIpificationFields&&o.populatedIpificationFields.street||null!=o.populatedItsmeFields&&o.populatedItsmeFields.street)||(null==(e=o.form.get("street"))?null:e.disabled)||!1)("styleType",o.AddressDropdownStyle.REGISTRATION)("formControlName",o.FIELDS_NAMES.STREET.name),t.R7$(),t.Y8G("ngIf",(null==o.form||null==o.form.controls||null==o.form.controls.street?null:o.form.controls.street.invalid)&&(o.form.controls.street.dirty||o.form.controls.street.touched))}}function ji(n,i){if(1&n&&(t.j41(0,"option",98),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=i.$implicit,o=t.XpG(4);t.FS9("value",e.name),t.Y8G("selected",e.name===o.selectedDocument),t.R7$(),t.SpI(" ",t.bMT(2,3,"registration."+e.translation)," ")}}function Yi(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",95),t.bIt("change",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.handleChandeDocumentType(r))}),t.DNE(6,ji,3,5,"option",96),t.k0s(),t.nrm(7,"svg-icon",97),t.k0s()()()}if(2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(6,v,e.orderIndexFieldForDropdownDocument)),t.R7$(2),t.SpI(" ",t.bMT(3,4,"general.select_document_type"),"* "),t.R7$(3),t.Y8G("disabled",(e.blinkingService.userRedirectedFromBlinking||e.itsmeService.userRedirectedFromItsme)&&e.currentValueOfDocumment),t.R7$(),t.Y8G("ngForOf",e.dropDownDocuments)}}function Ui(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.selected_document_is_required")," "))}function Xi(n,i){if(1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",t.bMT(2,1,null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.custom_error_message)," ")}}function zi(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.selected_document_already_exist")," "))}function Hi(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"error.cpf_dead_failed")," "))}function qi(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"error.cpf_underaged_failed")," "))}function Ji(n,i){if(1&n&&(t.j41(0,"div",101),t.EFF(1),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",e.personalIdCustomErrorMessage," ")}}function Wi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Ui,3,3,"div",100)(2,Xi,3,3,"div",100)(3,zi,3,3,"div",100)(4,Hi,3,3,"div",100)(5,qi,3,3,"div",100)(6,Ji,2,1,"div",100),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.required),t.R7$(),t.Y8G("ngIf",!(null!=e.form.controls[e.selectedDocument]&&null!=e.form.controls[e.selectedDocument].errors&&e.form.controls[e.selectedDocument].errors.required)&&(null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.custom_error_message)),t.R7$(),t.Y8G("ngIf",null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.alreadyExist),t.R7$(),t.Y8G("ngIf",null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.isDead),t.R7$(),t.Y8G("ngIf",null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.underage),t.R7$(),t.Y8G("ngIf",null==e.form.controls[e.selectedDocument]||null==e.form.controls[e.selectedDocument].errors?null:e.form.controls[e.selectedDocument].errors.invalid)}}
1function Ki(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",69)(1,"label",50)(2,"input",99),t.nI1(3,"translate"),t.bIt("input",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.setCurrentValueOfDocument(r))}),t.k0s(),t.j41(4,"div",52),t.nrm(5,"div",53)(6,"div",54),t.k0s()(),t.DNE(7,Wi,7,6,"div",55),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(9,k,(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].invalid)&&((null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].dirty)||(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].touched)),(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].valid)&&((null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].dirty)||(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].touched))&&!e.fetchingCPFData&&!e.fetchingFactilizaData))("ngStyle",t.eq3(12,v,e.orderIndexFieldForDropdownDocument)),t.R7$(2),t.Y8G("placeholder",t.bMT(3,7,"registration.add_"+e.selectedDocumentTranslation))("disabled",(e.itsmeService.userRedirectedFromItsme||e.itsmeService.userRedirectedFromItsme)&&e.currentValueOfDocumment)("value",e.currentValueOfDocumment),t.BMQ("maxlength","personalId"===e.selectedDocument&&e.registrationConfiguration.fields.personalId.rule===e.BRAZILIAN_CPF?11:null),t.R7$(5),t.Y8G("ngIf",(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].invalid)&&((null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].dirty)||(null==e.form.controls[e.selectedDocument]?null:e.form.controls[e.selectedDocument].touched)))}}function Qi(n,i){1&n&&(t.j41(0,"div",104),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.postal_code_required")," "))}function Zi(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Qi,3,3,"div",103),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.postalCode||null==e.form.controls.postalCode.errors?null:e.form.controls.postalCode.errors.required)}}function tn(n,i){if(1&n&&(t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",102),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,Zi,2,1,"div",55),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(10,k,(null==e.form||null==e.form.controls||null==e.form.controls.postalCode?null:e.form.controls.postalCode.invalid)&&(e.form.controls.postalCode.dirty||e.form.controls.postalCode.touched),(null==e.form||null==e.form.controls||null==e.form.controls.postalCode?null:e.form.controls.postalCode.valid)&&e.form.controls.postalCode.touched))("ngStyle",t.eq3(13,v,null==e.fields||null==e.fields.postalCode?null:e.fields.postalCode.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,8,"general.postal_code")," ",null!=e.fields&&null!=e.fields.postalCode&&e.fields.postalCode.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(15,N,null==e.populatedIpificationFields?null:e.populatedIpificationFields.postalCode))("readonly",null==e.populatedIpificationFields?null:e.populatedIpificationFields.postalCode)("formControlName",e.FIELDS_NAMES.POSTAL_CODE.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.postalCode?null:e.form.controls.postalCode.invalid)&&(e.form.controls.postalCode.dirty||e.form.controls.postalCode.touched))}}function en(n,i){if(1&n&&(t.j41(0,"option",98),t.EFF(1),t.k0s()),2&n){const e=i.$implicit,o=t.XpG(4);t.FS9("value",e.name),t.Y8G("selected",e.iso3===o.selectedCountry.iso3),t.R7$(),t.SpI(" ",e.name," ")}}function nn(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",105),t.bIt("change",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.handleChangeCountry())}),t.DNE(6,en,2,3,"option",96),t.k0s(),t.nrm(7,"svg-icon",97),t.k0s()()()}if(2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(8,v,null==e.fields||null==e.fields.country?null:e.fields.country.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,6,"general.country")," ",null!=e.f
1ields&&null!=e.fields.country&&e.fields.country.required?"*":""," "),t.R7$(3),t.Y8G("ngClass",t.eq3(10,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.country)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.country)))("formControlName",e.FIELDS_NAMES.COUNTRY.name),t.R7$(),t.Y8G("ngForOf",e.countries)}}function on(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e.nationalityCode),t.R7$(),t.SpI(" ",e.translatedNationality," ")}}function rn(n,i){if(1&n&&(t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",106),t.DNE(6,on,2,2,"option",107),t.k0s(),t.nrm(7,"svg-icon",97),t.k0s()()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(7,v,null==e.fields||null==e.fields.nationality?null:e.fields.nationality.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,5,"general.nationality")," ",null!=e.fields&&null!=e.fields.nationality&&e.fields.nationality.required?"*":""," "),t.R7$(3),t.Y8G("formControlName",e.FIELDS_NAMES.NATIONALITY.name),t.R7$(),t.Y8G("ngForOf",e.nationalities)}}function sn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e.alphabeticCode),t.R7$(),t.JRh(e.alphabeticCode)}}function an(n,i){if(1&n&&(t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",109),t.DNE(6,sn,2,2,"option",107),t.k0s(),t.nrm(7,"svg-icon",97),t.k0s()()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(7,v,e.fields.currency.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,5,"general.currency")," ",null!=e.fields&&null!=e.fields.currency&&e.fields.currency.required?"*":""," "),t.R7$(3),t.Y8G("formControlName",e.FIELDS_NAMES.CURRENCY.name),t.R7$(),t.Y8G("ngForOf",e.currencies)}}function ln(n,i){1&n&&(t.j41(0,"div",114),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.first_name_required")," "))}function cn(n,i){1&n&&(t.j41(0,"div",115),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.first_name_not_valid")," "))}function dn(n,i){1&n&&(t.j41(0,"div",116),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.first_name_already_exist")," "))}function un(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,ln,3,3,"div",111)(2,cn,3,3,"div",112)(3,dn,3,3,"div",113),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.firstName||null==e.form.controls.firstName.errors?null:e.form.controls.firstName.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.firstName||null==e.form.controls.firstName.errors?null:e.form.controls.firstName.errors.validateFirstName),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.firstName||null==e.form.controls.firstName.errors?null:e.form.controls.firstName.errors.alreadyExist)}}function pn(n,i){if(1&n&&(t.j41(0,"div",60)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",110),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,un,4,3,"div",55),t.k0s()),2&n){const e=t.XpG(4);t.Y8G("ngClass",t.sMw(9,$e,(null==e.form||null==e.form.controls||null==e.form.controls.firstName?null:e.form.controls.firstName.invalid)&&(e.form.controls.firstName.dirty||e.form.controls.firstName.touched)&&!e.factilizaEnabled,(null==e.form||null==e.form.controls||null==e.form.controls.firstName?null:e.form.controls.firstName.valid)&&e.form.controls.firstName.touched,e.useCpfChecker)),t.R7$(2),t.Lme(" ",t.bMT(3,7,"general.first_name")," ",null!=e.fields&&null!=e.fields.lastName&&e.fields.lastName.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(13,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.firstName)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.firstName)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.firstName)||e.useCpfChecker))("readonly",(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.firstName)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.firstName)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.firstName)||e.useCpfChecker)("formControlName",e.FIELDS_NAMES.FIRST_NAME.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.firstName?null:e.form.controls.firstName.invali
1d)&&(e.form.controls.firstName.dirty||e.form.controls.firstName.touched))}}function mn(n,i){1&n&&(t.j41(0,"div",121),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.last_name_required")," "))}function gn(n,i){1&n&&(t.j41(0,"div",122),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.last_name_not_valid")," "))}function _n(n,i){1&n&&(t.j41(0,"div",123),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.email_not_valid")," "))}function fn(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,mn,3,3,"div",118)(2,gn,3,3,"div",119)(3,_n,3,3,"div",120),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.lastName||null==e.form.controls.lastName.errors?null:e.form.controls.lastName.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.lastName||null==e.form.controls.lastName.errors?null:e.form.controls.lastName.errors.validateLastName),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.lastName||null==e.form.controls.lastName.errors?null:e.form.controls.lastName.errors.alreadyExist)}}function hn(n,i){if(1&n&&(t.j41(0,"div",60)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",117),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,fn,4,3,"div",55),t.k0s()),2&n){const e=t.XpG(4);t.Y8G("ngClass",t.l_i(9,k,(null==e.form||null==e.form.controls||null==e.form.controls.lastName?null:e.form.controls.lastName.invalid)&&(e.form.controls.lastName.dirty||e.form.controls.lastName.touched)&&!e.factilizaEnabled,(null==e.form||null==e.form.controls||null==e.form.controls.lastName?null:e.form.controls.lastName.valid)&&e.form.controls.lastName.touched)),t.R7$(2),t.Lme(" ",t.bMT(3,7,"general.last_name")," ",e.fields.lastName.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(12,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.lastName)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.lastName)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.lastName)))("readonly",(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.lastName)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.lastName)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.lastName))("formControlName",e.FIELDS_NAMES.LAST_NAME.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.lastName?null:e.form.controls.lastName.invalid)&&(e.form.controls.lastName.dirty||e.form.controls.lastName.touched))}}function vn(n,i){if(1&n&&(t.j41(0,"div",35),t.DNE(1,pn,9,15,"div",36)(2,hn,9,14,"div",36),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(3,v,e.nameAndLastNameIndex)),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.firstName?null:e.fields.firstName.visible)&&e.fields.firstName.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.lastName?null:e.fields.lastName.visible)&&e.fields.lastName.page===e.currentPage)}}function Cn(n,i){if(1&n&&t.nrm(0,"input",130),2&n){const e=t.XpG(4);t.Y8G("formControlName",e.FIELDS_NAMES.PROMO_CODE.name)}}function bn(n,i){1&n&&(t.j41(0,"div",132),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.promo_required")," "))}function In(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,bn,3,3,"div",131),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.promoCode||null==e.form.controls.promoCode.errors?null:e.form.controls.promoCode.errors.required)}}function xn(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",124)(1,"label",50)(2,"label",125)(3,"label",126)(4,"input",127),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onChangePromoCode())}),t.k0s(),t.nrm(5,"span",128),t.k0s(),t.EFF(6),t.nI1(7,"translate"),t.k0s(),t.DNE(8,Cn,1,1,"input",129),t.k0s(),t.DNE(9,In,2,1,"div",55),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.sMw(9,je,(null==e.form||null==e.form.controls||null==e.form.controls.promoCode?null:e.form.controls.promoCode.invalid)&&
1(e.form.controls.promoCode.dirty||e.form.controls.promoCode.touched),null==e.form||null==e.form.controls||null==e.form.controls.promoCode?null:e.form.controls.promoCode.valid,!e.isPromoCodeDisabled||e.promoCodeAffiliate))("ngStyle",t.eq3(13,v,null==e.fields||null==e.fields.promoCode?null:e.fields.promoCode.positionIndex)),t.R7$(4),t.Y8G("formControlName",e.FIELDS_NAMES.PROMO_CODE_USE.name),t.R7$(2),t.Lme(" ",t.bMT(7,7,"registration.promo_code")," ",null!=e.fields&&null!=e.fields.promoCode&&e.fields.promoCode.required?"*":""," "),t.R7$(2),t.Y8G("ngIf",!e.isPromoCodeDisabled),t.R7$(),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.promoCode?null:e.form.controls.promoCode.invalid)&&(e.form.controls.promoCode.dirty||e.form.controls.promoCode.touched))}}function Fn(n,i){if(1&n&&(t.j41(0,"label",133)(1,"div",134),t.nrm(2,"input",135)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.j41(5,"span",138),t.EFF(6),t.k0s()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(4,v,e.fields.pep.positionIndex))("ngClass",t.eq3(6,N,e.useCpfChecker)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.PEP.name),t.R7$(4),t.JRh(null==e.registrationConfiguration||null==e.registrationConfiguration.pep?null:e.registrationConfiguration.pep.translation)}}function yn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",140)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.j41(5,"span",138),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&n){const e=t.XpG(5);t.Y8G("ngStyle",t.eq3(6,v,e.fields.newsletterEmail.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.NEWSLETTER_EMAIL_NOTIFICATIONS.name),t.R7$(4),t.Lme("",t.bMT(7,4,"registration.enable_email_notifications_description")," ",e.fields.newsletterEmail.required?"*":"","")}}function Mn(n,i){if(1&n&&t.DNE(0,yn,8,8,"label",42),2&n){const e=t.XpG(4);t.Y8G("ngIf",e.fields.newsletterEmail.visible&&e.fields.newsletterEmail.page===e.currentPage)}}function Pn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",140)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.j41(5,"span",138),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&n){const e=t.XpG(5);t.Y8G("ngStyle",t.eq3(6,v,e.fields.newsletterEmail.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.NEWSLETTER_EMAIL_NOTIFICATIONS.name),t.R7$(4),t.Lme("",t.bMT(7,4,"registration.enable_email_notifications_description")," ",e.fields.newsletterEmail.required?"*":"","")}}function Rn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",141)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.j41(5,"span",138),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&n){const e=t.XpG(5);t.Y8G("ngStyle",t.eq3(6,v,e.fields.newsletterPush.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.NEWSLETTER_PUSH_NOTIFICATIONS.name),t.R7$(4),t.Lme("",t.bMT(7,4,"registration.enable_push_notifications_description")," ",e.fields.newsletterPush.required?"*":"","")}}function Sn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",142)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.j41(5,"span",138),t.EFF(6),t.nI1(7,"translate"),t.k0s()()),2&n){const e=t.XpG(5);t.Y8G("ngStyle",t.eq3(6,v,e.fields.newsletterSms.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.NEWSLETTER_SMS_NOTIFICATIONS.name),t.R7$(4),t.Lme("",t.bMT(7,4,"registration.enable_sms_notifications_description")," ",e.fields.newsletterSms.required?"*":"","")}}
1function On(n,i){if(1&n&&t.DNE(0,Pn,8,8,"label",42)(1,Rn,8,8,"label",42)(2,Sn,8,8,"label",42),2&n){const e=t.XpG(4);t.Y8G("ngIf",e.fields.newsletterEmail.visible&&e.fields.newsletterEmail.page===e.currentPage),t.R7$(),t.Y8G("ngIf",e.fields.newsletterPush.visible&&e.fields.newsletterPush.page===e.currentPage),t.R7$(),t.Y8G("ngIf",e.fields.newsletterSms.visible&&e.fields.newsletterSms.page===e.currentPage)}}function En(n,i){if(1&n&&(t.DNE(0,Mn,1,1,"label",139),t.nI1(1,"generalCustomConfigurationPipe"),t.DNE(2,On,3,3)),2&n){const e=t.XpG(3);t.vxM(t.bMT(1,1,"newsletterAllChannel")&&e.fields.newsletterEmail.visible?0:2)}}function Nn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",143)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.nrm(5,"span",144),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(3,v,e.fields.termsAndConditions.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.TERMS.name),t.R7$(3),t.Y8G("innerHTML",null==e.registrationConfiguration||null==e.registrationConfiguration.termsAndConditions?null:e.registrationConfiguration.termsAndConditions.translation,t.npT)}}function Dn(n,i){if(1&n&&(t.j41(0,"label",139)(1,"div",134),t.nrm(2,"input",145)(3,"svg-icon",136)(4,"svg-icon",137),t.k0s(),t.nrm(5,"span",144),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(3,v,null==e.fields||null==e.fields.privacyPolicyAndGDPR?null:e.fields.privacyPolicyAndGDPR.positionIndex)),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name),t.R7$(3),t.Y8G("innerHTML",null==e.registrationConfiguration||null==e.registrationConfiguration.privacyPolicyAndGDPR?null:e.registrationConfiguration.privacyPolicyAndGDPR.translation,t.npT)}}function kn(n,i){if(1&n&&(t.j41(0,"option",149),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=i.$implicit;t.Y8G("ngValue",e.value),t.R7$(),t.SpI("",t.bMT(2,2,e.key)," ")}}function An(n,i){if(1&n&&(t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",146)(6,"option",147),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.DNE(9,kn,3,4,"option",148),t.k0s(),t.nrm(10,"svg-icon",97),t.k0s()()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(11,v,null==e.fields||null==e.fields.gender?null:e.fields.gender.positionIndex)),t.R7$(2),t.SpI(" ",t.bMT(3,7,"general.gender"),"* "),t.R7$(3),t.Y8G("ngClass",t.eq3(13,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.gender)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.gender)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.gender)||e.useCpfChecker))("formControlName",e.FIELDS_NAMES.GENDER.name),t.BMQ("disabled",e.registrationConfiguration.fields.personalId.rule===e.EX_YU_JMBG?"":null),t.R7$(2),t.JRh(t.bMT(8,9,"general.gender")),t.R7$(2),t.Y8G("ngForOf",e.GENDER_FIELD_OPTIONS)}}function Tn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e),t.R7$(),t.SpI("",e," ")}}function wn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.nI1(2,"returnTwoNumbers"),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e.value),t.R7$(),t.SpI("",t.bMT(2,2,e.value)," ")}}function Gn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.nI1(2,"returnTwoNumbers"),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e.value),t.R7$(),t.SpI("",t.bMT(2,2,e.name)," ")}}function Vn(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",150)(5,"div",94)(6,"select",151),t.bIt("change",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onChangeDate())}),t.j41(7,"option",147),t.EFF(8,"YY"),t.k0s(),t.DNE(9,Tn,2,2,"option",107),t.k0s(),t.nrm(10,"svg-icon",97),t.k0s(),t.j41(11,"div",94)(12,"select",152),t.bIt("change",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onChangeDate())}),t.j41(13,"option",147),t.EFF(14,"MM"),t.k0s(),t.DNE(15,wn,3,4,"option",107),t.k0s(),t.nrm(16,"svg-icon",97),t.k0s(),t.j41(17,"div",94)(18,"select",153),t.bIt("change",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onChangeDate())}),t.j41(19,"option",147),t.EFF(20,"DD"),t.k0s(),t.DNE(21,Gn,3,4,"option",107),t.k0s(),t.nrm(22,"svg-icon",97),t.k0s()()(),t.j41(23,"div",154),t.EFF(24),t.nI1(25,"translate"),t.k0s()()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(21,k,!e.selectedDateValid,e.selectedDateValid))("ngStyle",t.eq3(24,v,null==e.fields||null==e.fields.birthday?null:e.fields.birthday.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,17,"general.birthdate")," ",e.fields.birthday.required?"*":""," "),t.R7$(4),t.Y8G("ngClass",t.eq3(26,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.personalId)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.personalId)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.personalId)||e.useCpfChecker))("formControlName",e.FIELDS_NAMES.YEAR_OF_BIRTH.name),t.BMQ("disabled",e.registrationConfiguration.fields.personalId.rule!==e.EX_YU_JMBG||e.fields.birthday.required?null:""),t.R7$(3),t.Y8G("ngForOf",e.registrationData.years),t.R7$(3),t.Y8G("ngClass",t.eq3(28,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.personalId)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.personalId)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.personalId)||e.useCpfChecker))("formControlName",e.FIELDS_NAMES.MONTH_OF_BIRTH.name),t.BMQ("disabled",e.registrationConfiguration.fields.personalId.rule!==e.EX_YU_JMBG||e.fields.birthday.required?null:""),t.R7$(3),t.Y8G("ngForOf",e.registrationData.months),t.R7$(3),t.Y8G("ngClass",t.eq3(30,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.personalId)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.personalId)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.personalId)||e.useCpfChecker))("formControlName",e.FIELDS_NAMES.DAY_OF_BIRTH.name),t.BMQ("disabled",e.registrationConfiguration.fields.personalId.rule!==e.EX_YU_JMBG||e.fields.birthday.required?null:""),t.R7$(3),t.Y8G("ngForOf",e.registrationData.days),t.R7$(3),t.SpI(" ",t.bMT(25,19,"registration.invalid_birthday")," ")}}function Ln(n,i){1&n&&(t.j41(0,"div",121),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.loyalty_card_number")," "))}function Bn(n,i){1&n&&(t.j41(0,"div",123),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.loyalty_card_number_not_val
1id")," "))}function $n(n,i){1&n&&(t.j41(0,"div",123),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.loyalty_card_number_not_valid")," "))}function jn(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,Ln,3,3,"div",118)(2,Bn,3,3,"div",120)(3,$n,3,3,"div",120),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber||null==e.form.controls.loyaltyCardNumber.errors?null:e.form.controls.loyaltyCardNumber.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber||null==e.form.controls.loyaltyCardNumber.errors?null:e.form.controls.loyaltyCardNumber.errors.alreadyExist),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber||null==e.form.controls.loyaltyCardNumber.errors?null:e.form.controls.loyaltyCardNumber.errors.loyaltycardNumber)}}function Yn(n,i){if(1&n&&(t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",155),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,jn,4,3,"div",55),t.k0s()),2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(8,k,(null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber?null:e.form.controls.loyaltyCardNumber.invalid)&&(e.form.controls.loyaltyCardNumber.dirty||e.form.controls.loyaltyCardNumber.touched),(null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber?null:e.form.controls.loyaltyCardNumber.valid)&&e.form.controls.loyaltyCardNumber.touched))("ngStyle",t.eq3(11,v,e.fields.loyaltyCardNumber.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,6,"general.loyalty_card_number")," ",e.fields.loyaltyCardNumber.required?"*":""," "),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.LOYALTY_CARD_NUMBER.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.loyaltyCardNumber?null:e.form.controls.loyaltyCardNumber.invalid)&&(e.form.controls.loyaltyCardNumber.dirty||e.form.controls.loyaltyCardNumber.touched))}}function Un(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e),t.R7$(),t.SpI("",e," ")}}function Xn(n,i){if(1&n&&(t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",156),t.DNE(6,Un,2,2,"option",107),t.k0s(),t.nrm(7,"svg-icon",97),t.k0s()()()),2&n){const e=t.XpG(3);t.Y8G("ngClass",t.eq3(7,Ye,!e.form.controls.accountActivationMethod.valid&&e.form.controls.accountActivationMethod.touched))("ngStyle",t.lJ4(9,Ue)),t.R7$(2),t.SpI(" ",t.bMT(3,5,"general.accountActivationMethod")," "),t.R7$(3),t.Y8G("formControlName",e.FIELDS_NAMES.ACCOUNT_ACTIVATION_METHOD.name),t.R7$(),t.Y8G("ngForOf",null==e.registrationConfiguration?null:e.registrationConfiguration.availableAccountActivationMethod)}}function zn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e.name),t.R7$(),t.SpI(" ",e.name," ")}}function Hn(n,i){if(1&n&&(t.j41(0,"div")(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",94)(5,"select",158)(6,"option",159),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.DNE(9,zn,2,2,"option",107),t.k0s(),t.nrm(10,"svg-icon",97),t.k0s()()()),2&n){let e;const o=t.XpG(4);t.R7$(2),t.Lme(" ",t.bMT(3,6,"general.city")," ",null!=o.fields&&null!=o.fields.city&&o.fields.city.required?"*":""," "),t.R7$(3),t.Y8G("ngClass",t.eq3(10,N,(null==o.populatedBlinkingFields?null:o.populatedBlinkingFields.city)||(null==o.populatedIpificationFields?null:o.populatedIpificationFields.city)||(null==o.populatedItsmeFields?null:o.populatedItsmeFields.city)))("formControlName",o.FIELDS_NAMES.CITY.name),t.R7$(2),t.JRh(t.bMT(8,8,"general.city")),t.R7$(2),t.Y8G("ngForOf",null==o.cities[null==(e=o.form.get("country"))?null:e.value]?null:o.cities[null==e?null:e.value].cities)}}function qn(n,i){1&n&&(t.j41(0,"div",162),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.city_required")," "))}function Jn(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,qn,3,3,"div",161),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.city||null==e.form.controls.city.errors?null:e.form.controls.city.errors.required)}}
1function Wn(n,i){if(1&n&&(t.j41(0,"label",50),t.EFF(1),t.nI1(2,"translate"),t.nrm(3,"input",160),t.j41(4,"div",52),t.nrm(5,"div",53)(6,"div",54),t.k0s()(),t.DNE(7,Jn,2,1,"div",55)),2&n){const e=t.XpG(4);t.R7$(),t.Lme(" ",t.bMT(2,6,"general.city")," ",null!=e.fields&&null!=e.fields.city&&e.fields.city.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(8,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.city)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.city)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.city)))("readonly",(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.city)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.city))("formControlName",e.FIELDS_NAMES.CITY.name),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.city?null:e.form.controls.city.invalid)&&(e.form.controls.city.dirty||e.form.controls.city.touched))}}function Kn(n,i){if(1&n&&(t.j41(0,"div",69),t.DNE(1,Hn,11,12,"div",157)(2,Wn,8,10,"ng-template",null,1,t.C5r),t.k0s()),2&n){let e;const o=t.sdS(3),r=t.XpG(3);t.Y8G("ngClass",t.l_i(4,k,!r.form.controls.city.valid&&r.form.controls.city.touched&&!r.form.controls.city.disabled,(null==r.form||null==r.form.controls||null==r.form.controls.city?null:r.form.controls.city.valid)&&r.form.controls.city.touched))("ngStyle",t.eq3(7,v,null==r.fields||null==r.fields.city?null:r.fields.city.positionIndex)),t.R7$(),t.Y8G("ngIf",(null==r.cities[null==(e=r.form.get("country"))?null:e.value]||null==r.cities[null==e?null:e.value].cities?null:r.cities[null==e?null:e.value].cities.length)&&!r.blinkingSessionId&&!r.itsmeSessionId)("ngIfElse",o)}}function Qn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e),t.R7$(),t.SpI(" ",e," ")}}function Zn(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e),t.R7$(),t.SpI(" ",e," ")}}function to(n,i){if(1&n&&(t.j41(0,"option",108),t.EFF(1),t.k0s()),2&n){const e=i.$implicit;t.FS9("value",e),t.R7$(),t.SpI(" ",e," ")}}function eo(n,i){if(1&n&&(t.j41(0,"div",163)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"div",164)(5,"select",158)(6,"option",165),t.EFF(7),t.nI1(8,"translate"),t.k0s(),t.DNE(9,Qn,2,2,"option",107),t.nI1(10,"peruvianCities"),t.k0s(),t.nrm(11,"svg-icon",97),t.k0s()(),t.j41(12,"label",50),t.EFF(13),t.nI1(14,"translate"),t.j41(15,"div",164)(16,"select",158)(17,"option",165),t.EFF(18),t.nI1(19,"translate"),t.k0s(),t.DNE(20,Zn,2,2,"option",107),t.nI1(21,"peruvianCities"),t.k0s(),t.nrm(22,"svg-icon",97),t.k0s()(),t.j41(23,"label",50),t.EFF(24),t.nI1(25,"translate"),t.j41(26,"div",164)(27,"select",166)(28,"option",165),t.EFF(29),t.nI1(30,"translate"),t.k0s(),t.DNE(31,to,2,2,"option",107),t.nI1(32,"peruvianCities"),t.k0s(),t.nrm(33,"svg-icon",97),t.k0s()()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(49,v,null==e.fields||null==e.fields.city?null:e.fields.city.positionIndex))("formGroup",e.peruvianCityForm),t.R7$(2),t.Lme(" ",t.bMT(3,25,"registration.department")," ",null!=e.fields&&null!=e.fields.city&&e.fields.city.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(51,N,!!e.factilizaFullData&&!e.peruCityMissingData)),t.R7$(),t.Y8G("ngClass",t.eq3(53,mt,(null==e.peruvianCityForm||null==e.peruvianCityForm.controls||null==e.peruvianCityForm.controls.department?null:e.peruvianCityForm.controls.department.invalid)&&(e.peruvianCityForm.controls.department.dirty||e.peruvianCityForm.controls.department.touched))
1)("formControlName","department"),t.R7$(2),t.JRh(t.bMT(8,27,"registration.department")),t.R7$(2),t.Y8G("ngForOf",t.i5U(10,29,e.peruvianCityList,e.cityTriggerPipe)),t.R7$(4),t.Lme(" ",t.bMT(14,32,"registration.province")," ",null!=e.fields&&null!=e.fields.city&&e.fields.city.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(55,N,!!e.factilizaFullData&&!e.peruCityMissingData)),t.R7$(),t.Y8G("ngClass",t.eq3(57,mt,(null==e.peruvianCityForm||null==e.peruvianCityForm.controls||null==e.peruvianCityForm.controls.province?null:e.peruvianCityForm.controls.province.invalid)&&(e.peruvianCityForm.controls.province.dirty||e.peruvianCityForm.controls.province.touched)))("formControlName","province"),t.BMQ("disabled",e.peruvianCityForm.controls.department.value||e.factilizaFullData&&!e.peruCityMissingData?null:""),t.R7$(2),t.JRh(t.bMT(19,34,"registration.province")),t.R7$(2),t.Y8G("ngForOf",t.brH(21,36,e.peruvianCityList,e.cityTriggerPipe,e.peruvianCityForm.controls.department.value)),t.R7$(4),t.Lme(" ",t.bMT(25,40,"registration.disctrict")," ",null!=e.fields&&null!=e.fields.city&&e.fields.city.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(59,N,!!e.factilizaFullData&&!e.peruCityMissingData)),t.R7$(),t.Y8G("formControlName","disctrict")("ngClass",t.eq3(61,mt,(null==e.peruvianCityForm||null==e.peruvianCityForm.controls||null==e.peruvianCityForm.controls.disctrict?null:e.peruvianCityForm.controls.disctrict.invalid)&&(e.peruvianCityForm.controls.disctrict.dirty||e.peruvianCityForm.controls.disctrict.touched))),t.BMQ("disabled",e.peruvianCityForm.controls.province.value||e.factilizaFullData&&!e.peruCityMissingData?null:""),t.R7$(2),t.JRh(t.bMT(30,42,"registration.disctrict")),t.R7$(2),t.Y8G("ngForOf",t.ii3(32,44,e.peruvianCityList,e.cityTriggerPipe,e.peruvianCityForm.controls.department.value,e.peruvianCityForm.controls.province.value))}}function io(n,i){if(1&n&&(t.j41(0,"div",83),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",t.bMT(2,1,null==e.form||null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.custom_error_message)," ")}}function no(n,i){1&n&&(t.j41(0,"div",84),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.personal_id_required")," "))}function oo(n,i){1&n&&(t.j41(0,"div",85),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"registration.personal_id_already_exist")," "))}function ro(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"error.cpf_dead_failed")," "))}function so(n,i){1&n&&(t.j41(0,"div",101),t.EFF(1),t.nI1(2,"translate"),t.k0s()),2&n&&(t.R7$(),t.SpI(" ",t.bMT(2,1,"error.cpf_underaged_failed")," "))}function ao(n,i){if(1&n&&(t.j41(0,"div",101),t.EFF(1),t.k0s()),2&n){const e=t.XpG(5);t.R7$(),t.SpI(" ",e.personalIdCustomErrorMessage," ")}}function lo(n,i){if(1&n&&(t.j41(0,"div"),t.DNE(1,io,3,3,"div",80)(2,no,3,3,"div",81)(3,oo,3,3,"div",82)(4,ro,3,3,"div",100)(5,so,3,3,"div",100)(6,ao,2,1,"div",100),t.k0s()),2&n){const e=t.XpG(4);t.R7$(),t.Y8G("ngIf",!(null!=e.form&&null!=e.form.controls&&null!=e.form.controls.personalId&&null!=e.form.controls.personalId.errors&&e.form.controls.personalId.errors.required)&&(null==e.form||null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.custom_error_message)),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.required),t.R7$(),t.Y8G("ngIf",null==e.form||null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.alreadyExist),t.R7$(),t.Y8G("ngIf",null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.isDead),t.R7$(),t.Y8G("ngIf",null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.underage),t.R7$(),t.Y8G("ngIf",null==e.form.controls||null==e.form.controls.personalId||null==e.form.controls.personalId.errors?null:e.form.controls.personalId.errors.invalid)}}
1function co(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",69)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.j41(4,"input",167),t.bIt("input",function(r){t.eBV(e);const l=t.XpG(3);return t.Njj(l.validateOnlyNumbersForBrazilianCPF(r))})("blur",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.setDateFromPersonalId())}),t.k0s(),t.j41(5,"div",52),t.nrm(6,"div",53)(7,"div",54),t.k0s()(),t.DNE(8,lo,7,6,"div",55),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("ngClass",t.l_i(11,k,(null==e.form||null==e.form.controls||null==e.form.controls.personalId?null:e.form.controls.personalId.invalid)&&(e.form.controls.personalId.dirty||e.form.controls.personalId.touched),(null==e.form||null==e.form.controls||null==e.form.controls.personalId?null:e.form.controls.personalId.valid)&&e.form.controls.personalId.touched&&!e.fetchingCPFData&&!e.fetchingFactilizaData))("ngStyle",t.eq3(14,v,null==e.fields||null==e.fields.personalId?null:e.fields.personalId.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,9,"registration.personal_id")," ",null!=e.fields&&null!=e.fields.personalId&&e.fields.personalId.required?"*":""," "),t.R7$(2),t.Y8G("ngClass",t.eq3(16,N,(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.personalId)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.personalId)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.personalId)))("readonly",(null==e.populatedBlinkingFields?null:e.populatedBlinkingFields.personalId)||(null==e.populatedIpificationFields?null:e.populatedIpificationFields.personalId)||(null==e.populatedItsmeFields?null:e.populatedItsmeFields.personalId))("formControlName",e.FIELDS_NAMES.PERSONAL_ID.name),t.BMQ("maxlength",e.registrationConfiguration.fields.personalId.rule===e.BRAZILIAN_CPF?11:null),t.R7$(4),t.Y8G("ngIf",(null==e.form||null==e.form.controls||null==e.form.controls.personalId?null:e.form.controls.personalId.invalid)&&(e.form.controls.personalId.dirty||e.form.controls.personalId.touched))}}function uo(n,i){if(1&n&&(t.j41(0,"div",93)(1,"label",50),t.EFF(2),t.nI1(3,"translate"),t.nrm(4,"input",168),t.k0s()()),2&n){const e=t.XpG(3);t.Y8G("ngStyle",t.eq3(6,v,null==e.fields||null==e.fields.referralCode?null:e.fields.referralCode.positionIndex)),t.R7$(2),t.Lme(" ",t.bMT(3,4,"general.referral_code")," ",e.fields.referralCode.required?"*":""," "),t.R7$(2),t.Y8G("formControlName",e.FIELDS_NAMES.REFERRAL_CODE.name)}}function po(n,i){1&n&&(t.j41(0,"div",44),t.nrm(1,"svg-icon",169),t.j41(2,"p",170),t.EFF(3),t.nI1(4,"translate"),t.j41(5,"a",171),t.nI1(6,"translate"),t.EFF(7),t.nI1(8,"translate"),t.k0s()()()),2&n&&(t.R7$(3),t.SpI("",t.bMT(4,3,"registration.responsible_gaming_info_description")," "),t.R7$(2),t.BMQ("href",t.bMT(6,5,"registration.responsible_gaming_info_link"),t.B4B),t.R7$(2),t.JRh(t.bMT(8,7,"registration.responsible_gaming_info_anchor")))}function mo(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",172),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.setCurrentPage(2))}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("disabled",!e.fistStepValidatiorsForm.valid||e.fields.birthday.visible&&1===e.fields.birthday.page&&!e.selectedDateValid||e.isPasswordAndEmailSimilar),t.R7$(),t.SpI(" ",t.bMT(2,2,"registration.next_page")," ")}}function go(n,i){if(1&n){const e=t.RV6();t.j41(0,"button",173),t.bIt("click",function(){t.eBV(e);const r=t.XpG(3);return t.Njj(r.onSubmit())}),t.EFF(1),t.nI1(2,"translate"),t.k0s()}if(2&n){const e=t.XpG(3);t.Y8G("disabled",(e.oneStep?!(null!=e.fistStepValidatiorsForm&&e.fistStepValidatiorsForm.valid):!(null!=e.form&&e.form.valid))||!e.selectedDateValid||e.fetchingCPFData||e.registerButtonDisabled||(null==e.registrationConfiguration?null:e.registrationConfiguration.numberValidationEnabled)&&!e.phoneNumberVerified&&!(null==e.fields||null==e.fields.phone||!e.fields.phone.required)),t.R7$(),t.SpI(" ",t.bMT(2,2,"general.register")," ")}}function _o(n,i){if(1&n){const e=t.RV6();t.j41(0,"form",32),t.bIt("keydown.enter",function(r){return t.eBV(e),t.Njj(r.preventDefault())})("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.checkIfTouched())}),t.j41(1,"div",33),t.DNE(2,ri,9,13,"div",34),t.j41(3,"div",35),t.nI1(4,"getHalvesFieldOrder"),t.DNE(5,si,10,14,"div",36)(6,di,10,14,"div",36),t.k0s(),t.DNE(7,fi,11,18,"div",37)(8,Pi,12,24,"div",34)(9,Di,9,13,"div",37)(10,Gi,9,13,"div",37)(11,$i,6,15,"div",37)(12,Yi,8,8,"div",38)(13,Ki,8,14,"div",37)(14,tn,9,17,"div",37)(15,nn,8,12,"div",38)(16,rn,8,9,"div",38)(17,an,8,9,"div",38)(18,vn,3,5,"div",39)(19,xn,10,15,"div",40)(20,Fn,7,8,"label",41)(21,En,3,3),t.nI1(22,"generalCustomConfigurationPipe"),t.DNE(23,Nn,6,5,"label",42)(24,Dn,6,5,"label",42)(25,An,11,15,"div",38)(26,Vn,26,32,"div",37)(27,Yn,9,13,"div",37)(28,Xn,8,10,"div",37)(29,Kn,4,9,"div",37)(30,eo,34,63,"div",43)(31,co,9,18,"div",37)(32,uo,5,8,"div",38),t.k0s(),t.DNE(33,po,9,9,"div",44),t.nI1(34,"generalCustomConfigurationPipe"),t.j41(35,"div",45)(36,"button",46),t.bIt("click",function(){t.eBV(e);const r=t.XpG(2);return t.Njj(r.goToHome())}),t.EFF(37),t.nI1(38,"translate"),t.k0s(),t.DNE(39,mo,3,4,"button",47)(40,go,3,4,"button",48),t.k0s()()}if(2&n){const e=t.XpG(2);t.Y8G("formGroup",e.form),t.R7$(2),t.Y8G("ngIf",(null==e.fields||null==e.fields.nickname?null:e.fields.nickname.visible)&&e.fields.nickname.page===e.currentPage),t.R7$(),t.Y8G("ngStyle",t.eq3(44,v,t.brH(4,34,e.currentPage,e.fields.password,e.fields.repeatPassword))),t.R7$(2),t.Y8G("ngIf",e.fields.password.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.repeatPassword?null:e.fields.repeatPassword.visible)&&e.fields.repeatPassword.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.email?null:e.fields.email.visible)&&e.fields.email.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.phone?null:e.fields.phone.visible)&&e.fields.phone.page===e.currentPage),t.R7$(),t.Y8G("ngIf",!e.treatDocumentsEqually&&(null==e.fields||null==e.fields.passportNumber?null:e.fields.passportNumber.visible)&&e.fields.passportNumber.page===e.currentPage),t.R7$(),t.Y8G("ngIf",!e.treatDocumentsEqually&&(null==e.fields||null==e.fields.alienRegistrationCardNumber?null:e.fields.alienRegistrationCardNumber.visible)&&e.fields.alienRegistrationCardNumber.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.street?null:e.fields.street.visible)&&e.fields.street.page===e.currentPage),t.R7$(),t.Y8G("ngIf",e.treatDocumentsEqually&&e.groupedFieldsDropDownPage===e.currentPage),t.R7$(),t.Y8G("ngIf",e.treatDocumentsEqually&&e.groupedFieldsDropDownPage===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.postalCode?null:e.fields.postalCode.visible)&&e.fields.postalCode.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.country?null:e.fields.country.visible)&&e.countries.length>1&&e.fields.country.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.nationality?null:e.fields.nationality.visible)&&e.nationalities.length&&(null==e.fields.nationality?null:e.fields.nationality.page)===e.currentPage),t.R7$(),t.Y8G("ngIf",e.fields.currency.visible&&e.currencies.length>1&&e.fields.currency.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.firstName?null:e.fields.firstName.visible)&&e.fields.firstName.page===e.currentPage||(null==e.fields||null==e.fields.lastName?null:e.fields.lastName.visible)&&e.fields.lastName.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.promoCode?null:e.fields.promoCode.visible)&&e.fields.promoCode.page===e.currentPage),t.R7$(),t.Y8G("ngIf",e.fields.pep.visible&&e.fields.pep.page===e.currentPage),t.R7$(),t.vxM(t.bMT(22,38,"totalTermsAndConditionsAcceptanceOnRegistration")?-1:21),t.R7$(2),t.Y8G("ngIf",e.fields.termsAndConditions.visible&&e.fields.termsAndConditions.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.privacyPolicyAndGDPR?null:e.fields.privacyPolicyAndGDPR.visible)&&(null==e.fields||null==e.fields.privacyPolicyAndGDPR?null:e.fields.privacyPolicyAndGDPR.page)===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.gender?null:e.fields.gender.visible)&&e.fields.gender.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.birthday?null:e.fields.birthday.visible)&&(null==e.fields.birthday?null:e.fields.birthday.page)===e.currentPage),t.R7$(),t.Y8G("ngIf",e.fields.loyaltyCardNumber.visible&&e.fields.loyaltyCardNumber.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.registrationConfiguration||null==e.registrationConfiguration.availableAccountActivationMethod?null:e.registrationConfiguration.availableAccountActivationMethod.length)&&e.registrationConfiguration.availableAccountActivationMethod.length>1),t.R7$(),t.Y8G("ngIf",!e.isPeruvianCityAdjustments&&(null==e.fields||null==e.fields.city?null:e.fields.city.visible)&&e.countries.length&&e.fields.city.page===e.currentPage),t.R7$(),t.Y8G("ngIf",e.isPeruvianCityAdjustments&&(null==e.fields||null==e.fields.city?null:e.fields.city.visible)&&e.fields.city.page===e.currentPage),t.R7$(),t.Y8G("ngIf",!e.treatDocumentsEqually&&(null==e.fields||null==e.fields.personalId?null:e.fields.personalId.visible)&&e.fields.personalId.page===e.currentPage),t.R7$(),t.Y8G("ngIf",(null==e.fields||null==e.fields.referralCode?null:e.fields.referralCode.visible)&&e.fields.referralCode.page===e.currentPage),t.R7$(),t.vxM(t.bMT(34,40,"responsibleRegistrationInfo")&&2===e.currentPage?33:-1),t.R7$(4),t.SpI(" ",t.bMT(38,42,"general.cancel")," "),t.R7$(2),t.vxM(e.oneStep||1!=e.currentPage?-1:39),t.R7$(),t.vxM((e.oneStep?1==e.currentPage:2==e.currentPage)?40:-1)}}
1function fo(n,i){if(1&n){const e=t.RV6();t.j41(0,"div",3)(1,"h1",4),t.EFF(2),t.nI1(3,"translate"),t.k0s(),t.j41(4,"div",5),t.Z7z(5,qe,3,3,null,null,t.fX1),t.k0s(),t.DNE(7,Je,1,1,"app-blinking-registration",6)(8,We,1,1,"app-itsme-registration",7)(9,Ke,1,2,"ipification-registration",8),t.j41(10,"div",9),t.DNE(11,ti,10,18)(12,_o,41,46,"form",10),t.j41(13,"div",11),t.EFF(14),t.nI1(15,"translate"),t.j41(16,"button",12),t.bIt("click",function(){t.eBV(e);const r=t.XpG();return t.Njj(r.openLoginModal())}),t.EFF(17),t.nI1(18,"translate"),t.k0s()()()()}if(2&n){const e=t.XpG();t.R7$(),t.Y8G("ngClass",t.eq3(16,Ve,!e.blinkingService.userRedirectedFromBlinking||!e.userRedirectedFromIpification||!e.itsmeService.userRedirectedFromItsme)),t.R7$(),t.SpI("",t.bMT(3,10,"general.registration")," "),t.R7$(3),t.Dyx(null==e.availableProvidersData?null:e.availableProvidersData.availableProviders),t.R7$(2),t.vxM(e.isBlinkingOpen?7:-1),t.R7$(),t.vxM(e.isItsmeOpen?8:-1),t.R7$(),t.vxM(e.isIpificationOpen?9:-1),t.R7$(),t.Y8G("ngClass",t.eq3(18,Le,e.isBlinkingOpen||e.isIpificationOpen||e.isItsmeOpen)),t.R7$(),t.vxM(e.oneStep?-1:11),t.R7$(),t.Y8G("ngIf",e.form&&e.isFormReady),t.R7$(2),t.SpI(" ",t.bMT(15,12,"registration.already_member")," "),t.R7$(3),t.SpI("",t.bMT(18,14,"registration.login")," ")}}class et{constructor(i,e,o,r,l,c,m,ot,rt,lt,gt,_t,Oo,Eo,No,Do,ko,Ao,To,wo,Go,Vo,Lo,Bo,$o,jo){this._activatedRoute=i,this.checkUniqueFiledValidator=e,this._registrationService=o,this._restConfiguration=r,this._routingService=l,this._httpService=c,this.checkUniqueFiledBouncerValidator=m,this._bouncerService=ot,this.blinkingService=rt,this.itsmeService=lt,this._itsmeHttpService=gt,this._authService=_t,this._stabilityService=Oo,this._similarityService=Eo,this._modalService=No,this._translateService=Do,this._registrationProvidersService=ko,this._socketIOConfigurationService=Ao,this._httpClient=To,this._inputValidationService=wo,this._affiliateCodeService=Go,this._googleTagManagerService=Vo,this._restConfigurationService=Lo,this._radarGeoLocationService=Bo,this._idScanService=$o,this._globalLoaderService=jo,this.oneStep=!1,this.EX_YU_JMBG=w.uZ.EX_YU_JMBG,this.FIELDS_NAMES=(0,ht.A)(w.Ok),this.gender=[...V.Mg],this.selectedCountry={},this.selectedCountryPrefix={},this.countries=[],this.nationalities=[],this.cities={},this.isFormReady=!1,this._subscriptions=[],this.formName="registration",this.currencies=[],this.selectedDate=null,this.GENDER_FIELD_OPTIONS=V.Cf,this._firstNameInitValue=null,this._lastNameInitValue=null,this.isBlinkingOpen=!1,this.blinkingRegistrationUrl="",this.isItsmeOpen=!1,this.itsmeRegistrationUrl="",this.isVerifyEmailEnabled=!0,this.didYouMeanObject={message:"",email:""},this.availableProvidersData={},this.blinkingBirthDate="",this.itsmeBirthDate="",this.blinkingSessionId="",this.itsmeSessionId="",this.populatedBlinkingFields={},this.populatedItsmeFields={},this.populatedIpificationFields={},this.userRedirectedFromIpification=!1,this.isIpificationOpen=!1,this.ipificationHash="",this.ipificationUrlReg="",this.isPeruvianCityAdjustments=!1,this.peruvianCityList={},this.cityTriggerPipe=0,this.promoCodeAffiliate="",this.isPromoCodeDisabled=!0,this.isDataLayerSet=!1,this.formattedDate="",this.selectedDocument="",this.currentValueOfDocumment="",this.personalIdCustomErrorMessage="",this._originalCPFUserName="",this.useCpfChecker=!1,this.fetchingCPFData=!1,this.dataUpdated=!1,this.treatDocumentsEqually=!1,this.registerButtonDisabled=!1,this.phoneNumberVerified=!1,this.sentVerificationCode=!1,this.phoneVerificationCodeRequested=!1,this.validationCode="",this.NON_WHITESPACE_REGEX=w.Oo,this.VALIDATION_URL="api/validation/v1",this.PHONE_NUMBER_ALREADY_VALIDATED="PHONE_NUMBER_ALREADY_VALIDATED",this.factilizaEnabled=!1,this.factilizaFullData=!1,this.factilizaDataFetched=!1,this.fetchingFactilizaData=!1,this.peruCityMissingData=!1,this.appliedCountryFields=null,this.selectedDateValid=!0,this._yearsNeededToRegister=18,this.registrationData=(0,ht.A)(Lt),this.dropDownDocuments=[],this.selectedDocumentTranslation="",this.orderIndexFieldForDropdownDocument=100,this.groupedFieldsDropDownPage=2,this.nameAndLastNameIndex=101,this.showRepeatPassword=!1,this.showPassword=!1,this.passwordType=Ct.Ge,this.textType=Ct.a$,this.currentPage=1,this._formSubscriptions=[],this.isRegistration=!0,this.ACCOUNT_INFORMATION_PROVIDER=K.z,this.BRAZILIAN_CPF=w.uZ.BRAZILIAN_CPF,this.AUTOMATIC_LOGIN_DELAY_MS=1e3,this.isPasswordAndEmailSimilar=!1,this.AddressDropdownStyle=Ut.d,(0,t.QZP)(()=>{this._registrationProvidersService.availableProviders().availableProviders&&this._setAvailableProviders(this._registrationProvidersService.availableProviders())}),(0,t.QZP)(()=>{this._authStatusChange(this._authService.currentUser().isUserLogin)})}ngOnInit(){this.useCpfChecker=this._restConfiguration.getGeneralCustomConfigurationParams("useCpfChecker"),this.factilizaEnabled=this._restConfiguration.getGeneralCustomConfigurationParams("factilizaEnabled"),this._setConfiguration(),this._registrationService.getRegistrationConfiguration(),this._subscribeToSuccessRegistration(),this.isRegistration&&(this._setIsEnabledBouncer(),this.listenOnSuggestedEmail()),(this.useCpfChecker||this.factilizaEnabled)&&this._subscribeToPersonalIdFieldValid()}ngOnDestroy(){(0,x.A)(this._subscriptions,i=>i.unsubscribe()),this._unsubscribeFromFromFelids()}_subscribeToSuccessRegistration(){this._subscriptions.push(this._activatedRoute.queryParams.subscribe(i=>{this.isSuccessfulRegistration=i.registration_success,this._resetDatafterRegistrationSuccess()}))}checkRepeatPasswordValidation(){(0,vt.A)(this.form.get("repeatPassword")?.value)||this.form.get("repeatPassword")?.updateValueAndValidity(),this.validateSimilarity()}openLoginModal(){this._modalService.open({component:Xt.LoginModal,payload:{}})}onChangePromoCode(){if(this.isPromoCodeDisabled=!this.isPromoCodeDisabled,!this.form.controls.usePromoCode.value)return this.form.controls.promoCode.setValidators([a.k0.required]),this.form.controls.promoCode.setAsyncValidators(this.fields.promoCode.unique?[this.checkUniqueFiledValidator.validate.bind(this)]:[]),void this._resetPromoCodeProperty(!0);this.form.controls.promoCode.setValidators([]),this.form.controls.promoCode.updateValueAndValidity({}),this._resetPromoCodeProperty(!1)}_resetPromoCodeProperty(i){this.form.get(this.FIELDS_NAMES.PROMO_CODE.name)?.setValue(i&&this.promoCodeAffiliate?this.promoCodeAffiliate:""),this.form.controls.promoCode.updateValueAndValidity({emitEvent:i})}_alterCountryIsoData(){const i=(0,H.A)(this.registrationConfiguration.allowedCountries,e=>e.name===this.form.getRawValue().country);i&&this.form.get(this.FIELDS_NAMES.COUNTRY.name)?.setValue(i?.iso3)}
1_setAndValidateSelectedDate(){if(!this.fields?.birthday?.visible&&!this.blinkingBirthDate&&!this.itsmeBirthDate)return void(this.selectedDateValid=!0);const i=this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.value,e=this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.value,o=this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.value,r=O(!this.fields?.birthday?.visible&&this.blinkingBirthDate?this.blinkingBirthDate:`${i}-${e}-${o}`,"YYYY-MM-DD");r.isValid()?(this.selectedDate=r,this.formattedDate=this.selectedDate.format("YYYY-MM-DD"),this.selectedDateValid=O().diff(this.selectedDate,"years",!0)>=this._yearsNeededToRegister):this.selectedDateValid=!1}donAllowToDeletePrefix(i){this.phoneVerificationCodeRequested=!1;const e=(0,p.A)(this.selectedCountryPrefix,"countryCodes[0]");e!==(0,p.A)(i,"target.value","").slice(0,e.length)&&this.form.controls.phone.setValue(e)}onPhoneBlur(){const i=this._restConfiguration.getGeneralCustomConfigurationParams("ignoreZeroAfterPrefix");if(!i)return;const e=(0,ut.r)(this.form.controls.phone.value,i);e!==this.form.controls.phone.value&&(this.form.controls.phone.setValue(e),this.form.controls.phone.updateValueAndValidity())}onSubmit(){var i=this;return(0,b.A)(function*(){if(i._setAndValidateSelectedDate(),(i.oneStep?!i.fistStepValidatiorsForm?.valid:!i.form?.valid)||!i.selectedDateValid||i.registrationConfiguration?.numberValidationEnabled&&!i.phoneNumberVerified&&i.fields?.phone?.required||i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")&&i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoCheckerOnRegistration")&&!(yield i._radarGeoLocationService.checkUserLocation()))return;i.registerButtonDisabled=!0,i._alterCountryIsoData(),i.useCpfChecker&&i.form.get(i.FIELDS_NAMES.FIRST_NAME.name)?.setValue(i._originalCPFUserName);const e=i.fields?.birthday?.visible||i.registrationConfiguration.fields.personalId.rule===w.uZ.EX_YU_JMBG||i.registrationConfiguration.fields.personalId.rule===w.uZ.BRAZILIAN_CPF?i._formatRegistrationData(i.form.getRawValue(),i.formattedDate):i._formatRegistrationData(i.form.getRawValue());i._authService.registerUser(e,i.registrationConfiguration.automaticAccountActivation).pipe((0,dt.j)(()=>{i.registerButtonDisabled=!1})).subscribe(o=>{i._setDataLayerOnCompletedRegistration(o.payload),i._restConfigurationService.getGeneralCustomConfigurationParams("useCheckinFaceRecognition")&&i.openIdScanKycModal(o.payload);const r=i.form.getRawValue();i.registrationConfiguration.automaticAccountActivation&&i._handleAutomaticActivation(o,r)}),i._resetDatafterRegistrationSuccess()})()}_handleAutomaticActivation(i,e){var o=this;return(0,b.A)(function*(){const l="EMAIL"===i.payload.accountActivationMethod?e.email:e.phone.replace("+","");o._globalLoaderService.showLoader(),yield(0,Yt.O)(o.AUTOMATIC_LOGIN_DELAY_MS).pipe((0,zt.n)(()=>(o._authService.loginInProgress=!0,o._authService.loginUser({username:l,password:e.password,grant_type:j.s.ACCOUNT},!1,!0)))).toPromise(),o._globalLoaderService.hideLoader(),o._authService.loginActionHappened()})()}_resetDatafterRegistrationSuccess(){if(this.isSuccessfulRegistration)return this.dropDownDocuments=[],this.currentValueOfDocumment="",void this.form.get(this.selectedDocument)?.setValue("");this.useCpfChecker&&this.form&&this.form.get(this.FIELDS_NAMES.FIRST_NAME.name)?.setValue(this._maskName(this._originalCPFUserName))}_unsubscribeFromFromFelids(){(0,x.A)(this._formSubscriptions,i=>{i.unsubscribe()})}checkIfTouched(){if(!this.isDataLayerSet){this.isDataLayerSet=!0;const i={event:"registrationStarted",timestamp:O().format("YYYY-MM-DDTHH:mm:ssZ")};this._googleTagManagerService.pushOnDataLayer(i)}}setCurrentPage(i){this.currentPage=i,1===this.currentPage?(this._addFieldBySelectedDocument(),this.fistStepValidatiorsForm.updateValueAndValidity()):(this._unsubscribeFromFromFelids(),this._handleCPFValidationRequest())}_addFieldBySelectedDocument(){this.selectedDocument===this.FIELDS_NAMES.PERSONAL_ID.name&&(this.form.addControl(this.FIELDS_NAMES.PERSONAL_ID.name,this.getFormDataForField(this.FIELDS_NAMES.PERSONAL_ID.name,this.getValidatorsForPersonalIdField())),this._setValidationForDocuments(this.FIELDS_NAMES.PERSONAL_ID.name)),this.selectedDocument===this.FIELDS_NAMES.PASSPORT_NUMBER.name&&(this.form.addControl(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getValidatorsForPassportNumberField())),this._setValidationForDocuments(this.FIELDS_NAMES.PASSPORT_NUMBER.name)),this.selectedDocument===this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name&&(this.form.addControl(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this._getValidatorsForAlienRegistrationCardNumberField())),this._setValidationForDocuments(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name))}_setValidationForDocuments(i){this._checkIfDocumentEqualIsOnFirstOrSecondPage()?(this.fistStepValidatiorsForm.controls[i]=this.form.controls[i],this._formSubscriptions.push(this.form.controls[i].statusChanges.subscribe(()=>{this.fistStepValidatiorsForm.controls[i]=this.form.controls[i],this.fistStepValidatiorsForm.updateValueAndValidity()}))):this._removeTreatDocumentsEqualyFieldsFromFirstStep()}_removeTreatDocumentsEqualyFieldsFromFirstStep(){this.fistStepValidatiorsForm.removeControl("passportNumber"),this.fistStepValidatiorsForm.removeControl("personalId"),this.fistStepValidatiorsForm.removeControl("alienRegistrationCardNumber")}_checkIfDocumentEqualIsOnFirstOrSecondPage(){return this.fields.personalId.visible&&this.fields.personalId.page===this.currentPage||this.fields.passportNumber.visible&&this.fields.passportNumber.page===this.currentPage||this.fields.alienRegistrationCardNumber.visible&&this.fields.alienRegistrationCardNumber.page===this.currentPage}removeFieldsIfDocumentEqualySet(){this._checkIfDocumentEqualIsOnFirstOrSecondPage()&&this._removeTreatDocumentsEqualyFieldsFromFirstStep(),this.form.removeControl("passportNumber"),this.form.removeControl("personalId"),this.form.removeControl("alienRegistrationCardNumber")}handleChandeDocumentType(i){if((0,p.A)(i,"target.value")){if(this.selectedDocument=(0,p.A)(i,"target.value",""),this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this.blinkingDocumentValue)return void(this.currentValueOfDocumment=this.blinkingDocumentValue[this.selectedDocument]||"");if(this.itsmeDocumentValue)return void(this.currentValueOfDocumment=this.itsmeDocumentValue[this.selectedDocument]||"");this.factilizaEnabled&&this._resetFactilizaData(),this.removeFieldsIfDocumentEqualySet(),this._addFieldBySelectedDocument(),this.currentValueOfDocumment="",this.form.get(this.selectedDocument)?.setValue("")}}_checkTreatDocumentEquelyAndSetFields(){this.treatDocumentsEqually=this.registrationConfiguration.treatDocumentsEqually,this.treatDocumentsEqually&&(this.removeFieldsIfDocumentEqualySet(),this.orderIndexFieldForDropdownDocument=this._setOrderOrPageIndex("positionIndex"),this.groupedFieldsDropDownPage=this._setOrderOrPageIndex("page"),this._canAddTreatDocument("personalId","personal_id"),this._canAddTreatDocument("passportNumber","passport_number"),this._canAddTreatDocument("alienRegistrationCardNumber","alien_registration_card_number"),0!==this.dropDownDocuments.length&&(this.selectedDocument=this.dropDownDocuments[0].name,this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this._addFieldBySelectedDocument()))}_setOrderOrPageIndex(i){const e=this._setIndex("fields.alienRegistrationCardNumber",i),o=this._setIndex("fields.passportNumber",i),r=this._setIndex("fields.personalId",i);return Math.min(e,o,r)}_canAddTreatDocument(i,e){const o=(0,p.A)(this.registrationConfiguration,`fields.${i}`),r=this.dropDownDocuments.findIndex(l=>l.name===i);o?.visible||-1===r?o?.visible&&-1===r&&this.dropDownDocuments.push({translation:e,name:i}):this.dropDownDocuments.splice(r,1)}_setIndex(i,e){return(0,p.A)(this.registrationConfiguration,`${i}.visible`)?(0,p.A)(this.registrationConfiguration,`${i}.${e}`,100):100}_initDate(){this.fields?.birthday?.visible||this.blinkingBirthDate||this.itsmeBirthDate?(this.selectedDate=null,this.selectedDateValid=!0,this._yearsNeededToRegister=this.registrationConfiguration.legalAge,this._isSelectedDateValid(),this.selectedDate=O(),this.selectedDate=this.blinkingBirthDate?O(this.blinkingBirthDate):this.itsmeBirthDate?O(this.itsmeBirthDate):O().subtract(this._yearsNeededToRegister,"year"),this.formattedDate=this.selectedDate.format("YYYY-MM-DD"),this.daysForSelectedMonth=this._getDaysForSelectedMonth(this.selectedDate.month(),this.selectedDate.year()),this._prepareDaysForSelectedMonth()):this.selectedDateValid=!0}_prepareDaysForSelectedMonth(){this.registrationData.days=w.MV.filter(i=>i.value<=this.daysForSelectedMonth)}_getDaysForSelectedMonth(i,e){return O(O().month(i-1).year(e).date(1).format("YYYY-MM-DD")).daysInMonth()}onChangeDate(){const i=Number(this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.value),e=Number(this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.value);let o=Number(this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.value);this.daysForSelectedMonth=this._getDaysForSelectedMonth(e,i),this.daysForSelectedMonth<o&&(o=1,this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(o)),this.selectedDate=O().month(e-1).year(i).date(o),this.formattedDate=this.selectedDate.format("YYYY-MM-DD"),this.selectedDateValid=O().diff(this.selectedDate,"years",!0)>=this._yearsNeededToRegister,this.registrationConfiguration.fields.personalId.visible&&this.registrationConfiguration.fields.personalId.rule===w.uZ.BELGIAN_JMBG&&(this.selectedDateValid=this.selectedDateValid&&this._registrationService.isBelgianPersonalIdBirthdateValid(this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value,this.formattedDate),this.form.controls?.personalId?.updateValueAndValidity()),this.registrationData.days=w.MV.filter(r=>r.value<=this.daysForSelectedMonth)}_isSelectedDateValid(){this.selectedDateValid=!(this.fields?.birthday?.visible||this.blinkingBirthDate||this.itsmeBirthDate)||O().diff(this.selectedDate,"years",!0)>=this._yearsNeededToRegister}toggleShowPassword(){this.showPassword=!this.showPassword}toggleShowRepeatPassword(){this.showRepeatPassword=!this.showRepeatPassword}_createForm(i){this.selectedCountry=(0,p.A)(this.countries,"[0]",{}),this.selectedCountryPrefix=this.selectedCountry,this._registrationService.setRegistrationSelectedCountry(this.selectedCountry),this.form=new a.gE(i);const{blinkingSessionId:e,itsmeSessionId:o}=this._activatedRoute.snapshot.queryParams;return this.blinkingSessionId=e,this.itsmeSessionId=o,this.blinkingSessionId||this.itsmeSessionId?this.blinkingSessionId?this._setBlinkingData(i):void this._setItsmeData(i):(this.blinkingService.userRedirectedFromBlinking=!1,this.itsmeService.userRedirectedFromItsme=!1,void this._setFormSpecificConfiguration(i))}_setBlinkingData(i){this.blinkingService.userRedirectedFromBlinking=!0,!(typeof window>"u")&&this.blinkingService.getAccountInformation(K.z.BLINKING,this.blinkingSessionId).pipe((0,dt.j)(()=>{this._setFormSpecificConfiguration(i),this.fields.birthday.visible&&(this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(Number(this.blinkingBirthDate.split("-")[1])),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(Number(this.blinkingBirthDate.split("-")[2])),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(Number(this.blinkingBirthDate.split("-")[0])),this.form.controls[this.FIELDS_NAMES.MONTH_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.DAY_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.YEAR_OF_BIRTH.name]?.disable(),this.populatedBlinkingFields.birthday=!0)})).subscribe(e=>{const{birthday:o,passportNumber:r,personalId:l}=at.D.parseExternalAccountInformation(e);this.blinkingDocumentValue={personalId:l,passportNumber:r}
1,this.blinkingBirthDate=o,Object.keys(e.payload).forEach(m=>{e.payload[m]&&this.form.controls[m]&&(this.form.get(m)?.setValue(e.payload[m]),this.form.get(m)?.markAsTouched(),this.populatedBlinkingFields[m]=!0),"region"===m&&e.payload[m]&&this.form.addControl("region",new a.MJ(e.payload[m]))});const c=this.countries.find(m=>m.iso3===e.payload.country);c&&(this.selectedCountry=c,this.selectedCountryPrefix=this.selectedCountry,this._registrationService.setRegistrationSelectedCountry(this.selectedCountry))},()=>this.blinkingService.userRedirectedFromBlinking=!1)}_setItsmeData(i){this.itsmeService.userRedirectedFromItsme=!0,this._itsmeHttpService.getAccountInformation(K.z.ITSME,this.itsmeSessionId).pipe((0,dt.j)(()=>{this._setFormSpecificConfiguration(i),this.fields.birthday.visible&&(this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(Number(this.itsmeBirthDate.split("-")[1])),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(Number(this.itsmeBirthDate.split("-")[2])),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(Number(this.itsmeBirthDate.split("-")[0])),this.form.controls[this.FIELDS_NAMES.MONTH_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.DAY_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.YEAR_OF_BIRTH.name]?.disable(),this.populatedItsmeFields.birthday=!0)})).subscribe(e=>{const{birthday:o,passportNumber:r,personalId:l}=at.D.parseExternalAccountInformation(e);this.itsmeDocumentValue={personalId:l,passportNumber:r},this.itsmeBirthDate=o,this.fields.birthday.visible&&(this.populatedItsmeFields.birthday=!0),Object.keys(e.payload).forEach(m=>{e.payload[m]&&this.form.controls[m]&&(this.form.get(m)?.setValue(e.payload[m]),this.form.get(m)?.markAsTouched(),this.populatedItsmeFields[m]=!0),"postalCode"===m&&e.payload[m]&&!this.form.controls[m]&&this.form.addControl("postalCode",new a.MJ(e.payload[m])),"region"===m&&e.payload[m]&&this.form.addControl("region",new a.MJ(e.payload[m]))});const c=this.countries.find(m=>m.iso3===e.payload.country);c&&(this.selectedCountry=c,this.selectedCountryPrefix=this.selectedCountry,this._registrationService.setRegistrationSelectedCountry(this.selectedCountry))},()=>this.itsmeService.userRedirectedFromItsme=!1)}getBlinkingData(){return this.blinkingSessionId?{provider:"BLINKING",providerId:this.blinkingSessionId}:null}getItsmeData(){return this.itsmeSessionId?{provider:"ITSME",providerId:this.itsmeSessionId}:null}_isValidationRequired(i,e){return this.isRegistrationForm()?i?.required&&i?.visible:i.required&&(this.personalDataSettings&&e&&this.personalDataSettings[e].visible||!1)}toggleBlinkingRegistration(i){this.isIpificationOpen=!1,this.isItsmeOpen=!1,this.isBlinkingOpen=!this.isBlinkingOpen,this.blinkingRegistrationUrl||this.blinkingService.getRegisterExternalyUrl({provider:i}).subscribe(o=>{this.blinkingRegistrationUrl=at.D.parseExternalProviderUrl(o).externalProviderURL})}toggleItsmeRegistration(i){this.isIpificationOpen=!1,this.isBlinkingOpen=!1,this.isItsmeOpen=!this.isItsmeOpen,this.itsmeRegistrationUrl||this._itsmeHttpService.getRegisterExternalyUrl({provider:i}).subscribe(o=>{this.itsmeRegistrationUrl=decodeURI(at.D.parseExternalProviderUrl(o).externalProviderURL)})}closeBlinkingRegistration(){this.isBlinkingOpen=!1}closeItsmeRegistration(){this.isItsmeOpen=!1}_formatNationalitiesList(){this.nationalities=(0,Bt.A)([...this.registrationConfiguration.topNationalities,...this.registrationConfiguration.allowedNationalities.sort()],"nationalityCode"),this.nationalities.length&&this.fields.nationality.visible&&this.form.get(this.FIELDS_NAMES.NATIONALITY.name)?.setValue(this.nationalities[0].nationalityCode)}_setConfiguration(){this._subscriptions.push(this._registrationService.registrationConfigurationData$.subscribe(i=>{if(!i)return;this.registrationConfiguration=i,this.currencies=this.registrationConfiguration.availableCurrencies,this.fields=this.registrationConfiguration.fields,this.factilizaFullData=this._restConfiguration.getGeneralCustomConfigurationParams("fullfillAdditionalDataFromFactiliza")&&(!!this.treatDocumentsEqually||this.fields?.personalId?.visible)&&this.factilizaEnabled,this.countries=(0,$t.A)(this.registrationConfiguration.topCountries,this.registrationConfiguration.allowedCountries,"numericCode"),this.selectedCountry=(0,p.A)(this.countries,"[0]",{}),this._registrationService.setRegistrationSelectedCountry(this.selectedCountry),this.cities=(0,jt.A)(this.registrationConfiguration.allowedCities,o=>o.countryName),this._ensureAllCountriesHaveConfiguration(),this._applyInitialCountryConfiguration();const e={firstName:this.getFormDataForField(this.FIELDS_NAMES.FIRST_NAME.name,this._getValidatorsForFifrstNameField(),this.factilizaEnabled),lastName:this.getFormDataForField(this.FIELDS_NAMES.LAST_NAME.name,this._getValidatorsForLastNameField(),this.factilizaEnabled),email:this.getFormDataForField(this.FIELDS_NAMES.EMAIL.name,this._getValidatorsForEmailField()),country:this.getFormDataForField(this.FIELDS_NAMES.COUNTRY.name,[]),nationality:this.getFormDataForField(this.FIELDS_NAMES.NATIONALITY.name,[]),phone:this.getFormDataForField(this.FIELDS_NAMES.PHONE.name,this._getValidatorsForPhoneField()),personalId:this.getFormDataForField(this.FIELDS_NAMES.PERSONAL_ID.name,this.getValidatorsForPersonalIdField()),city:this.getFormDataForField(this.FIELDS_NAMES.CITY.name),street:this.getFormDataForField(this.FIELDS_NAMES.STREET.name,this._getValidatorsForStreetField(),this.factilizaFullData),postalCode:this.getFormDataForField(this.FIELDS_NAMES.POSTAL_CODE.name),passportNumber:this.getFormDataForField(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getValidatorsForPassportNumberField()),gender:new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.gender,V.Sx.GENDER)?[a.k0.required]:[]}),newsletterEmail:new a.MJ(this._getDefaultValueForNewsletter("registrationEmailNotificationSelected"),{validators:this._isValidationRequired(this.fields?.newsletterEmail,V.Sx.NEWSLETTER_EMAIL)?[a.k0.requiredTrue]:[]}),newsletterPush:new a.MJ(this._getDefaultValueForNewsletter("registrationPushNotificationSelected"),{validators:this._isValidationRequired(this.fields?.newsletterPush,V.Sx.NEWSLETTER_PUSH)?[a.k0.requiredTrue]:[]}),newsletterSms:new a.MJ(this._getDefaultValueForNewsletter("registrationSMSNotificationSelected"),{validators:this._isValidationRequired(this.fields?.newsletterSms,V.Sx.NEWSLETTER_SMS)?[a.k0.requiredTrue]:[]}),pep:new a.MJ(!1),termsAndConditions:new a.MJ(this._restConfiguration.getGeneralCustomConfigurationParams("termsAndCondSelectedOnRegistration"),{validators:this._isValidationRequired(this.fields?.termsAndConditions,V.Sx.TERMS_AND_CON
1DITIONS)?[a.k0.requiredTrue]:[]}),referralCode:new a.MJ(this._activatedRoute.snapshot.queryParams[qt.Nk])};this._createForm(e),this._setIsEnabledBouncer(),this._setCityConfigurationForPeru(),this._formatNationalitiesList()}))}_getValidatorsForPeruvianCity(){const{required:i}=(0,p.A)(this.fields,"city");return i?[a.k0.required]:[]}_setCityConfigurationForPeru(){this.isPeruvianCityAdjustments=this._restConfiguration.getGeneralCustomConfigurationParams("peruvianCityAdjustments"),this.isPeruvianCityAdjustments&&this._httpClient.get(this._restConfiguration.getGeneralCustomConfigurationParams("peruvianCityListUrl")).subscribe(i=>{this.peruvianCityList=i,this.peruvianCityForm=new a.gE({department:new a.MJ("",this._getValidatorsForPeruvianCity()),province:new a.MJ("",this._getValidatorsForPeruvianCity()),disctrict:new a.MJ("",this._getValidatorsForPeruvianCity())}),this.peruvianCityForm.get("department")?.valueChanges.subscribe(()=>{this._updateAndValidatePeruvianCityField("province"),this._updateAndValidatePeruvianCityField("disctrict"),this._resetPeruvianField("province"),this._resetPeruvianField("disctrict"),this._updateCityField(""),this.cityTriggerPipe++}),this.peruvianCityForm.get("province")?.valueChanges.subscribe(()=>{this._updateAndValidatePeruvianCityField("disctrict"),this._resetPeruvianField("disctrict"),this._updateCityField(""),this.cityTriggerPipe++}),this.peruvianCityForm.get("disctrict")?.valueChanges.subscribe(()=>{this._updateCityField(this._getAndFormatPeruvianCityValue())})})}_getAndFormatPeruvianCityValue(){return this.peruvianCityForm.get("department")?.value||this.peruvianCityForm.get("province")?.value||this.peruvianCityForm.get("disctrict")?.value?`${this.peruvianCityForm.get("department")?.value}/${this.peruvianCityForm.get("province")?.value}/${this.peruvianCityForm.get("disctrict")?.value}`:""}_updateCityField(i=""){this.form.get("city")?.setValue(i),this.form.get("city")?.updateValueAndValidity()}_updateAndValidatePeruvianCityField(i,e=""){this.peruvianCityForm.get(i)?.setValue(e),this.peruvianCityForm.get(i)?.updateValueAndValidity()}_getDefaultValueForNewsletter(i){return(!this._restConfiguration.getGeneralCustomConfigurationParams("newsletterAllChannel")||!this.fields.newsletterEmail.visible)&&(0,p.A)(this._restConfiguration.getGeneralConfigurationParams("customConfigurations"),i,!1)}goToHome(){this._routingService.navigateToHome()}isRegistrationForm(){return"registration"===this.formName}getFormDataForField(i,e=[],o=!1){const r=(0,p.A)(this.isRegistration?this.fields:this.personalDataSettings,`${i}.visible`),{required:l,unique:c}=(0,p.A)(this.fields,`${i}`);let m=l&&r?[a.k0.required]:[];if((0,vt.A)(e)||(m=[...m,...e]),"email"===i&&c&&this.isVerifyEmailEnabled&&this.isRegistration){const rt=[this.checkUniqueFiledBouncerValidator.validate.bind(this)];return new a.MJ("",{validators:m,asyncValidators:rt,updateOn:"blur"})}const ot=c?[this.checkUniqueFiledValidator.validate.bind(this)]:[];return new a.MJ({value:"",disabled:o},{validators:m,asyncValidators:ot})}_getValidatorsForEmailField(){return[(0,Jt.D)(this.registrationConfiguration.fields.email?.forbiddenDomain)]}_getValidatorsForFifrstNameField(){return[(0,Wt.u)(this._restConfiguration.getGeneralCustomConfigurationParams("personalInfoOnRegistraionRegex"),this._firstNameInitValue)]}_getValidatorsForLastNameField(){return[(0,Kt.g)(this._restConfiguration.getGeneralCustomConfigurationParams("personalInfoOnRegistraionRegex"),this._lastNameInitValue)]}_setIsEnabledBouncer(){this.isVerifyEmailEnabled=this._restConfiguration.getGeneralCustomConfigurationParams("enableBouncer")}_getValidatorsForPhoneField(){return[(0,ut.F)(this._restConfiguration.getGeneralCustomConfigurationParams("phoneNumberValidation"),(0,p.A)(this.selectedCountry,"countryCodes[0]"),(0,p.A)(this.fields,"phone.required",!1))]}getValidatorsForPersonalIdField(){return[(0,Qt.c)(this.registrationConfiguration.fields.personalId.rule,this.registrationConfiguration.fields.personalId.regex??"",this.registrationConfiguration.legalAge,this.selectedCountry)]}_getValidatorsForStreetField(){return[]}getValidatorsForPassportNumberField(){return[(0,Zt._)(),(0,te.G)(this.fields.passportNumber?.regex,"passport_number_not_val
1id")]}setGenderFromPersonalId(){this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)&&this.form.get(this.FIELDS_NAMES.GENDER.name)?.setValue(this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value.substring(9,12)<500?V.Mg[0]:V.Mg[1])}listenOnSuggestedEmail(){this.isVerifyEmailEnabled&&this._bouncerService.suggestedEmail$.subscribe(i=>{if(!i)return this._resetSuggestedData();this.didYouMeanObject=i})}setSuggestedEmail(){this.form.controls.email.setValue(this.didYouMeanObject.email),this._resetSuggestedData()}handleCitySelection(i){let e=this.form?.get(this.FIELDS_NAMES.COUNTRY.name)?.value;this.cities[e]||(e=this.countries.find(o=>o.iso3===this.form?.get(this.FIELDS_NAMES.COUNTRY.name)?.value)?.name),(0,H.A)(this.cities[e].cities,{name:i})||this.cities[e].cities.push({id:9999,name:i}),this.form?.get(this.FIELDS_NAMES.CITY.name)?.setValue(i),this.form?.get(this.FIELDS_NAMES.CITY.name)?.disable()}handleAddressSelection(i){"string"!=typeof i?(this.form.controls?.street.setValue(i.street),i.postalCode&&this.form.controls?.postalCode?.setValue(i.postalCode)):this.form.controls?.street.setValue(i)}handleAddressInvalidState(){this.form.controls?.street.setErrors({validateStreet:{valid:!1,error_message:"general.street_not_valid"}})}_resetSuggestedData(){this.didYouMeanObject={message:"",email:""}}_setAvailableProviders(i){this.availableProvidersData=i,this.generateIpificationUrl()}_resetPeruvianField(i){this.peruvianCityForm.get(i)?.markAsUntouched(),this.peruvianCityForm.get(i)?.markAsPristine()}resetPeruvianCities(){this.isPeruvianCityAdjustments&&(this._updateAndValidatePeruvianCityField("department"),this._updateAndValidatePeruvianCityField("province"),this._updateAndValidatePeruvianCityField("disctrict"),this._resetPeruvianField("department"),this._resetPeruvianField("province"),this._resetPeruvianField("disctrict"),this.cityTriggerPipe++)}generateUuidForIpification(){this.ipificationHash=`${(0,ee.A)()}-${(Math.random()+1).toString(36).substring(7)}`}generateIpificationUrl(){this.availableProvidersData.availableProviders.includes(K.z.IPIFICATION)&&(this.generateUuidForIpification(),this.listenOnIpificationUserData(),this.ipificationUrlReg=`${IPIFICATION_HOST}/auth/realms/ipification/protocol/openid-connect/auth?response_type=code&client_id=${IPIFICATION_CLIENT_ID}&redirect_uri=${WEBSITE_URL+this._routingService.getHomeUrl()}&scope=${IPIFICATION_SCOPE}&state=${this.ipificationHash}&consent_id=${IPIFICATION_CONSENT_ID}`)}_ipificationDataMapper(i){return{birthdate:i.birthdate,email:i.email,lastName:i.family_name,firstName:i.given_name,gender:i.gender.toUpperCase(),phone:`+${i.login_hint}`,street:i.address.street_address,personalId:i.personal_identification_number,city:i.address.locality,postalCode:i.address.postal_code}}listenOnIpificationUserData(){this._subscriptions.push(this._socketIOConfigurationService.ipificationUserData$.subscribe(i=>{this.isIpificationOpen=!1,this.userRedirectedFromIpification=!0;const e=this._ipificationDataMapper(i),o=O(e.birthdate);this.fields.birthday.visible&&(this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(o.month()),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(o.date()),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(o.year()),this.form.controls[this.FIELDS_NAMES.MONTH_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.DAY_OF_BIRTH.name]?.disable(),this.form.controls[this.FIELDS_NAMES.YEAR_OF_BIRTH.name]?.disable()),Object.keys(e).forEach(r=>{const l=e[r];if(l&&this.form.controls[r]){if("city"===r&&!this._findCityByName((0,p.A)(e,r)))return void(this.populatedIpificationFields[r]=!1);if("gender"===r&&!this._checkGender((0,p.A)(e,r)))return void(this.populatedIpificationFields[r]=!1);this.form.get(r)?.setValue(l),this.form.get(r)?.markAsTouched(),this.populatedIpificationFields[r]=!!r}})}))}_findCityByName(i){return this.cities[this.form.get("country")?.value].cities.find(e=>e.name.toLowerCase()===i.toLowerCase())}_checkGender(i){return this.gender.includes(i)}toggleIpificationRegistration(){this.isBlinkingOpen=!1,this.isItsmeOpen=!1,this.isIpificationOpen=!this.isIpificationOpen}closeIpificationRegistration(){this.isIpificationOpen=!1}_authStatusChange(i){i&&this._routingService.navigateToHome()}_fetchDataWithCPF(i){this.fetchingCPFData=!0,this._registrationService.getUserDataFromCPF(i).subscribe({next:e=>{this.fetchingCPFData=!1,this._setValues(e)},error:e=>{e.error?.message&&(this.form.controls[this.selectedDocument]?.setErrors({invalid:!0}),this.personalIdCustomErrorMessage=e.error.message)}})}_fetchDataWithFactiliza(){this.fetchingFactilizaData=!0;let i="";this.treatDocumentsEqually&&this.selectedDocument!==this.FIELDS_NAMES.PERSONAL_ID.name&&this.selectedDocument!==this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name||(i=this._returnPersonalId(),i.length===this._returnPersonalIdLimit()&&this._registrationService.getUserDataFromFactiliza(i,!!this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value).subscribe({next:e=>{this.fetchingFactilizaData=!1,this._returnPersonalId()===e.numero&&this._setValuesForPeru(e)},error:e=>{this.fetchingFactilizaData=!1,this.form.controls[this._returnPersonalIdTag()]?.setErrors({invalid:!0}),this.personalIdCustomErrorMessage=e.error.message}}))}_returnPersonalIdTag(){return this.treatDocumentsEqually?this.selectedDocument:this.form.controls[this.FIELDS_NAMES.PERSONAL_ID.name].value?this.FIELDS_NAMES.PERSONAL_ID.name:this.form.controls[this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name].value?this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name:this.FIELDS_NAMES.PASSPORT_NUMBER.name}_returnPersonalIdLimit(){return this.treatDocumentsEqually?this.selectedDocument===this.FIELDS_NAMES.PERSONAL_ID.name?K.M.PERU_P
1ERSONAL_ID_LENGTH:K.M.PERU_ALIEN_ID_LENGTH:this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value?K.M.PERU_PERSONAL_ID_LENGTH:K.M.PERU_ALIEN_ID_LENGTH}_returnPersonalId(){return this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value||this.form.get(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name)?.value}_setValuesForPeru(i){if(this.fields.firstName.visible&&this._setValueOfFormInput(this.FIELDS_NAMES.FIRST_NAME.name,i.nombres),this.fields.lastName.visible&&this._setValueOfFormInput(this.FIELDS_NAMES.LAST_NAME.name,`${i.apellido_paterno} ${i.apellido_materno}`),this.factilizaFullData){if(this.fields.street.visible&&this._setValueOfFormInput(this.FIELDS_NAMES.STREET.name,i.direccion_completa),this.fields.gender.visible&&this._setValueOfFormInput(this.FIELDS_NAMES.GENDER.name,"M"===i.sexo?V.Cf[0].value:"F"===i.sexo?V.Cf[1].value:""),this._setPeruCityDataFromFactiliza(i),!this.fields.birthday.visible)return;this._setValueOfFormInput(this.FIELDS_NAMES.DAY_OF_BIRTH.name,`${i.fecha_nacimiento?parseInt(i.fecha_nacimiento?.split("/")[0]):""}`),this._setValueOfFormInput(this.FIELDS_NAMES.MONTH_OF_BIRTH.name,`${i.fecha_nacimiento?parseInt(i.fecha_nacimiento?.split("/")[1]):""}`),this._setValueOfFormInput(this.FIELDS_NAMES.YEAR_OF_BIRTH.name,`${i.fecha_nacimiento?parseInt(i.fecha_nacimiento?.split("/")[2]):""}`)}}_setValueOfFormInput(i,e=""){if(!e)return this.form.get(i)?.enable(),this.form.get(i)?.markAsUntouched(),void this.form.get(i)?.markAsPristine();this.form.get(i)?.setValue(e),this.form.get(i)?.markAsTouched()}_setPeruCityDataFromFactiliza(i){if(this.isPeruvianCityAdjustments&&this.fields.city.visible){if(i.departamento&&(this._updateAndValidatePeruvianCityField("department",this._capitalize(i.departamento)),i.provincia&&(this._updateAndValidatePeruvianCityField("province",this._capitalize(i.provincia)),i.distrito)))return void this._updateAndValidatePeruvianCityField("disctrict",this._capitalize(i.distrito));this.peruCityMissingData=!0,this.resetPeruvianCities()}}_capitalize(i){return i.toLowerCase().split(" ").map(e=>e[0].toUpperCase()+e.slice(1)).join(" ")}_setValues(i){if(i.underage)return void this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.setErrors({underage:!0});i.is_dead&&this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.setErrors({isDead:!0}),this._originalCPFUserName=i.name;const e=new Date(i.birthday);this.formattedDate=i.birthday.split("T")[0],this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(e.getUTCFullYear()),this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(e.getUTCMonth()+1),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(e.getUTCDate()),this.form.get(this.FIELDS_NAMES.FIRST_NAME.name)?.setValue(this._maskName(i.name)),this.form.get(this.FIELDS_NAMES.FIRST_NAME.name)?.markAsTouched(),this.form.get(this.FIELDS_NAMES.GENDER.name)?.setValue("male"===i.gender?V.Cf[0].value:V.Cf[1].value),this.form.get(this.FIELDS_NAMES.PEP.name)?.setValue(i.pep)}_maskName(i){return i.split(" ").map(e=>e.length<=2?e:e.substring(0,2)+"*".repeat(e.length-2)).join(" ")}_maskNumber(i){return i.slice(1,6)+"*".repeat(Math.floor(i.length/3))+(i.length<10?"":i.slice(-2))}validateOnlyNumbersForBrazilianCPF(i){const e=(0,p.A)(i,"target.value","");this.isInValidForBrazilianCPF(e)&&this._inputValidationService.allowOnlyNumbersOnInput(i,!1,this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)),this.factilizaEnabled&&this._resetFactilizaData(),this.registrationConfiguration.fields.birthday.visible&&this.registrationConfiguration.fields.personalId.rule===w.uZ.BELGIAN_JMBG&&this.onChangeDate()}isInValidForBrazilianCPF(i){return(!this.treatDocumentsEqually||"personalId"===this.selectedDocument)&&this.registrationConfiguration.fields.personalId.rule===w.uZ.BRAZILIAN_CPF&&(!/^\d+$/.test(i)||i.length>11)}_handleCPFValidationRequest(){this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.useCpfChecker&&"VALID"===this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.status&&this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value&&this._fetchDataWithCPF(this.form.get(this.FIELDS_NAMES.PERSONAL_ID.name)?.value)})})}setCurrentValueOfDocument(i){const e=(0,p.A)(i,"target.value","");if(this.isInValidForBrazilianCPF(e))return this._inputValidationService.allowOnlyNumbersOnInput(i,!1,this.form.get(this.selectedDocument)),void(e||(this.currentValueOfDocumment=e));this.currentValueOfDocumment=e,this.form.get(this.selectedDocument)?.setValue(this.currentValueOfDocumment),this.form.get(this.selectedDocument)?.markAsTouched(),this.factilizaEnabled&&this._resetFactilizaData(),this.registrationConfiguration.fields.birthday.visible&&this.registrationConfiguration.fields.personalId.visible&&this.registrationConfiguration.fields.personalId.rule===w.uZ.BELGIAN_JMBG&&this.onChangeDate(),this._handleCPFValidationRequest()}_resetFirstNameAndLastName(){this.form.get(this.FIELDS_NAMES.FIRST_NAME.name)?.setValue(""),this.form.get(this.FIELDS_NAMES.LAST_NAME.name)?.setValue(""),this._setValueOfFormInput(this.FIELDS_NAMES.FIRST_NAME.name),this._setValueOfFormInput(this.FIELDS_NAMES.LAST_NAME.name),!(this.treatDocumentsEqually?this.selectedDocument!==this.FIELDS_NAMES.PERSONAL_ID.name&&this.selectedDocument!==this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name:!this.fields.personalId.required&&!this.fields.alienRegistrationCardNumber.required)&&(this.form.get(this.FIELDS_NAMES.FIRST_NAME.name)?.disable(),this.form.get(this.FIELDS_NAMES.LAST_NAME.name)?.disable())}_resetFactilizaData(){if(this._resetFirstNameAndLastName(),this.factilizaFullData){if(this.peruCityMissingData=!1,this.resetPeruvianCities(),this.form.get(this.FIELDS_NAMES.GENDER.name)?.setValue(""),this.form.get(this.FIELDS_NAMES.GENDER.name)?.disable(),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(""),this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(""),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(""),this._disableBirthdayInput(),this.form.get(this.FIELDS_NAMES.STREET.name)?.setValue(""),this.form.get(this.FIELDS_NAMES.STREET.name)?.disable(),"personalId"===this.selectedDocument||!this.treatDocumentsEqually)return;this.peruCityMissingData=!0,this.form.get(this.FIELDS_NAMES.GENDER.name)?.enable(),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.enable(),this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.enable(),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.enable(),this._setValueOfFormInput(this.FIELDS_NAMES.STREET.name)}}_disableBirthdayInput(){this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.disable(),this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.disable(),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.disable()}isBelgium(){return"BE"===COUNTRY_ISO_CODE}formatExternalAccountInfo(){return this.itsmeSessionId?this.getItsmeData():this.blinkingSessionId?this.getBlinkingData():this.isBelgium()?this.availableProvidersData.availableProviders.includes("EGAMES")?{provider:"EGAMES"}:null:this.userRedirectedFromIpification?{provider:"IPIFICATION"}:null}_formatRegistrationData(i,e){const o=e?{...i,birthdate:e}:i;this._restConfiguration.getGeneralCustomConfigurationParams("ignoreZeroAfterPrefix")&&o.phone&&(o.phone=(0,ut.r)(o.phone,this._restConfiguration.getGeneralCustomConfigurationParams("ignoreZeroAfterPrefix")));const r=o.currency?(0,H.A)(this.currencies,{alphabeticCode:o.currency}):{},l=this._restConfiguration.getGeneralCustomConfigurationParams("totalTermsAndConditionsAcceptanceOnRegistration"),c=this.checkIfNewsletterAllChannelIsEnabledAndChecked(o?.newsletterEmail),m={firstName:o.firstName,lastName:o.lastName,...o.birthdate?{birthdate:o.birthdate}:{},...o.password?{password:o.password}:{},phone:o.phone,...o.email?{email:o.email}:{},country:o.country,city:o.city,nationality:o.nationality,street:o.street,usePromoCode:o.usePromoCode,newsletterEmail:!(!l&&!c)||o.newsletterEmail,newsletterPush:!(!l&&!c)||o.newsletterPush,newsletterSms:!(!l&&!c)||o.newsletterSms,accountActivationMethod:o.accountActivationMethod,pep:o.pep,referralCode:o.referralCode,...o.passportNumber?{passportNumber:o.passportNumber}:{},...o.personalId?{personalId:o.personalId}:{},...o.nickname?{nickname:o.nickname}:{},...o.usePromoCode?{promoCode:o.promoCode}:{},...o.alienRegistrationCardNumber?{alienRegistrationCardNumber:o.alienRegistrationCardNumber}:{},notificationLanguage:ie.P.locale,...o.currency?{currency:{alphabeticCode:r?.alphabeticCode,numericCode:r?.numericCode}}
1:null,...o.gender?{gender:o.gender}:{},externalAccountInfo:this.formatExternalAccountInfo(),...i.region?{region:i.region}:{},...typeof o.privacyPolicyAndGDPR<"u"?{gdpr:""!==String(o.privacyPolicyAndGDPR)&&o.privacyPolicyAndGDPR}:{}};return m.usePromoCode||this._setAffiliate(m),this._filterEmptyValues(m)}checkIfNewsletterAllChannelIsEnabledAndChecked(i){return this._restConfiguration.getGeneralCustomConfigurationParams("newsletterAllChannel")&&!this._restConfiguration.getGeneralCustomConfigurationParams("totalTermsAndConditionsAcceptanceOnRegistration")&&i}_filterEmptyValues(i){return(0,x.A)(i,(e,o)=>{"boolean"!=typeof e&&(e||delete i[o],"phone"===o&&e===(0,p.A)(this.selectedCountry,"countryCodes[0]")&&delete i[o])}),i}_getValidatorsForPasswordField(){return[(0,ne.O)(this._restConfiguration.getGeneralConfigurationParams("passwordType"))]}_getValidatorsForRepeatPasswordField(){return this.fields.repeatPassword.visible?[(0,oe.f)()]:[]}_getValidatorsForNickNameField(){return[(0,re.T)()]}_getValidatorsForAlienRegistrationCardNumberField(){return[(0,se._)(this.fields.alienRegistrationCardNumber?.regex)]}_getValidatorsForTermsAndConditions(){const{required:i}=(0,p.A)(this.fields,`${this.FIELDS_NAMES.TERMS.name}`);return i?[a.k0.requiredTrue]:[]}_getValidatorsForPrivacyPolicyAndGDPR(){const{required:i}=(0,p.A)(this.fields,`${this.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name}`);return i?[a.k0.requiredTrue]:[]}_getValidatorsForLoyaltyCardNumberField(){return[(0,ae.C)()]}_setDataLayerOnCompletedRegistration(i){var e=this;return(0,b.A)(function*(){const o={event:"registrationCompleted",accountId:i.accountId,hashedEmail:i.email||"",hashedPhone:i.phone||"",timestamp:O().format("YYYY-MM-DDTHH:mm:ssZ")};e._googleTagManagerService.addEmailOrPhoneToDataLayer(o)})()}_subscribeToPersonalIdFieldValid(){this._registrationService.personalIdInputFieldValid$.subscribe(i=>{if(i){if(this.useCpfChecker)return void this._handleCPFValidationRequest();this._fetchDataWithFactiliza()}})}_setAffiliate(i){const e=this._affiliateCodeService.getCode(bt._),o=this._affiliateCodeService.getCode(bt.a);!e||!o||(i.affiliateId=e.value,i.campaignId=o.value)}openIdScanKycModal(i){var e=this;return(0,b.A)(function*(){if(e.dataUpdated=!1,!i?.createTime||!i.accountId)return;const o=le.hashSync(`${i.createTime}${i.accountId}SMART_EPAM`,10);var r;e._modalService.open({component:ce.IdScanModal,priority:!0,payload:{accountId:i?.accountId,personalId:i?.personalId,isKycFlow:!0,confirmFunction:(r=(0,b.A)(function*(l){e._idScanService.isUserValidated(l,i)?e._updateFlow(i?.accountId,tt.Y.CHECK_SUCCESS,o,l.id,{checkInSuccessTime:O().unix()}).subscribe(()=>{e._routingService.navigateToRegistration({registration_success:!0}),e.openResponseModal(tt.F.APPROVED)}):e._updateFlow(i?.accountId,tt.Y.CHECK_FAILED,o).subscribe(()=>{e._routingService.navigateToRegistration({registration_success:!0}),e.openResponseModal(tt.F.DECLINED)})}),function(c){return r.apply(this,arguments)}),cancelFunction:function(){var r=(0,b.A)(function*(){e._updateFlow(i?.accountId,tt.Y.CHECK_FAILED,o).subscribe(()=>{e._routingService.navigateToRegistration({registration_success:!0})})});return function(){return r.apply(this,arguments)}}(),inProgressFunction:function(){var r=(0,b.A)(function*(l){if(l.id&&!e.dataUpdated){e.dataUpdated=!0;try{e._updateFlow(i?.accountId,tt.Y.CHECK_PENDING,o,l.id).subscribe(()=>{e._routingService.navigateToRegistration({registration_success:!0})})}catch{e.dataUpdated=!1}}});return function(c){return r.apply(this,arguments)}}()}})})()}openResponseModal(i){this._modalService.openPopup({component:de.ChekinStatusModal,payload:{idScanResultStatus:i}})}_updateFlow(i,e,o,r="",l={}){return this._authService.updateAccountInfoForCheckIn({accountId:i,checkInStatus:e,checkInAppId:r,checkInHash:o,...l})}_setFormSpecificConfiguration(i){this._initDate(),this._yearsNeededToRegister=this.registrationConfiguration.legalAge,this.form.controls[this.FIELDS_NAMES.COUNTRY.name].setValue(this.selectedCountry.name),this.itsmeService.userRedirectedFromItsme||this.form.get(this.FIELDS_NAMES.PHONE.name)?.setValue((0,p.A)(this.selectedCountry,"countryCodes[0]")),this._isSelectedDateValid(),this._addRegisterFieldsInForm(i),this.nameAndLastNameIndex=this._setNameAndLastNameIndex(),this._fillPromoCodeValuesIfExist(),this._checkTreatDocumentEquelyAndSetFields(),this._setDocumentBasedOnBlinking(),this._setDocumentBasedOnItsme(),this.isFormReady=!0}_setDocumentBasedOnBlinking(){this.blinkingDocumentValue&&(this.blinkingDocumentValue.passportNumber&&(this.form.addControl(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getValidatorsForPassportNumberField())),this.form.controls.passportNumber.setValue(this.blinkingDocumentValue.passportNumber),this.selectedDocument="passportNumber",this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this.currentValueOfDocumment=this.blinkingDocumentValue.passportNumber),this.blinkingDocumentValue.personalId&&(this.selectedDocument="personalId",this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this.currentValueOfDocumment=this.blinkingDocumentValue.personalId,this.form.controls.personalId.setValue(this.blinkingDocumentValue.personalId),this.form.controls.personalId?.markAsTouched()))}_setDocumentBasedOnItsme(){this.itsmeDocumentValue&&(this.itsmeDocumentValue.passportNumber&&(this.form.addControl(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getValidatorsForPassportNumberField())),this.form.controls.passportNumber.setValue(this.itsmeDocumentValue.passportNumber),this.selectedDocument="passportNumber",this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this.currentValueOfDocumment=this.itsmeDocumentValue.passportNumber),this.itsmeDocumentValue.personalId&&(this.selectedDocument="personalId",this.selectedDocumentTranslation=(0,p.A)((0,H.A)(this.dropDownDocuments,{name:this.selectedDocument}),"translation",""),this.currentValueOfDocumment=this.itsmeDocumentValue.personalId,this.form.controls.personalId.setValue(this.itsmeDocumentValue.personalId),this.form.controls.personalId?.markAsTouched()))}_setNameAndLastNameIndex(){const i=(0,p.A)(this.registrationConfiguration,"fields.firstName.visible")?(0,p.A)(this.registrationConfiguration,"fields.firstName.positionIndex",100):100,e=(0,p.A)(this.registrationConfiguration,"fields.lastName.visible")?(0,p.A)(this.registrationConfiguration,"fields.lastName.positionIndex",100):100;return Math.min(i,e)}_fillPromoCodeValuesIfExist(){this.promoCodeAffiliate&&(this.form.controls.usePromoCode.setValue(!0),this.form.controls.promoCode.setValue(this.promoCodeAffiliate))}_addRegisterFieldsInForm(i){const e={dayOfBirth:new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]}),monthOfBirth:new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]}),yearOfBirth:new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]}),password:this.getFormDataForField(this.FIELDS_NAMES.PASSWORD.name,this._getValidatorsForPasswordField()),repeatPassword:this.getFormDataForField(this.FIELDS_NAMES.REPEAT_PASSWORD.name,this._getValidatorsForRepeatPasswordField()),alienRegistrationCardNumber:this.getFormDataForField(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this._getValidatorsForAlienRegistrationCardNumberField()),termsAndConditions:this.getFormDataForField(this.FIELDS_NAMES.TERMS.name,this._getValidatorsForTermsAndConditions()),loyaltyCardNumber:this.getFormDataForField(this.FIELDS_NAMES.LOYALTY_CARD_NUMBER.name,this._getValidatorsForLoyaltyCardNumberField()),promoCode:new a.MJ(""),nickname:this.getFormDataForField(this.FIELDS_NAMES.NICK_NAME.name,this._getValidatorsForNickNameField()),usePromoCode:new a.MJ(!1),accountActivationMethod:new a.MJ(this.registrationConfiguration.availableAccountActivationMethod[0],this.registrationConfiguration.availableAccountActivationMethod.length>1?a.k0.required:null),currency:new a.MJ(this.fields?.currency?.visible?this.currencies[0].alphabeticCode:"",{validators:this._isValidationRequired(this.fields?.currency)&&this.currencies.length>1?[a.k0.required]:[]})};this.checkIsPrivacyPolicyAndGDPREnabled(e),(0,x.A)(e,(r,l)=>{this.form.addControl(l,r)});const o={...i,...e};this._setFirstStepValidationForm(o),this._syncTermsAndCheckboxControl
1sWithFirstStepForm()}checkIsPrivacyPolicyAndGDPREnabled(i){Object.keys(this.fields).includes("privacyPolicyAndGDPR")&&(this.fields.privacyPolicyAndGDPR.visible||this.fields.privacyPolicyAndGDPR.required)&&(i.privacyPolicyAndGDPR=this.getFormDataForField(this.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name,this._getValidatorsForPrivacyPolicyAndGDPR()))}_setFirstStepValidationForm(i){const e=[];(0,x.A)(this.fields,(r,l)=>{1===(0,p.A)(r,"page")&&((0,p.A)(r,"visible")||this.oneStep&&(0,p.A)(r,"required"))&&e.push(l)});const o={};(0,x.A)(e,r=>{if("birthday"==r)return o.dayOfBirth=i.dayOfBirth,o.monthOfBirth=i.monthOfBirth,void(o.yearOfBirth=i.yearOfBirth);o[r]=i[r]}),this.fistStepValidatiorsForm=new a.gE(o)}_syncTermsAndCheckboxControlsWithFirstStepForm(){const i=this.form.get(this.FIELDS_NAMES.TERMS.name);i&&this.fistStepValidatiorsForm.contains(this.FIELDS_NAMES.TERMS.name)&&(this.fistStepValidatiorsForm.setControl(this.FIELDS_NAMES.TERMS.name,i),this._formSubscriptions.push(i.valueChanges.subscribe(()=>this.fistStepValidatiorsForm.updateValueAndValidity())));const e=this.form.get(this.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name);e&&this.fistStepValidatiorsForm.contains(this.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name)&&(this.fistStepValidatiorsForm.setControl(this.FIELDS_NAMES.PRIVACY_POLICY_AND_GDPR.name,e),this._formSubscriptions.push(e.valueChanges.subscribe(()=>this.fistStepValidatiorsForm.updateValueAndValidity())))}sendVerificationCode(){this.phoneVerificationCodeRequested=!1,this._globalLoaderService.showLoader(),this._httpService.put(`${this.VALIDATION_URL}/send-number-validation-code?phone=${this.form.controls.phone.value}`).subscribe(i=>{if(this._globalLoaderService.hideLoader(),this.phoneVerificationCodeRequested=!0,i.payload?.statusCode===this.PHONE_NUMBER_ALREADY_VALIDATED)return this.sentVerificationCode=!0,this.phoneNumberVerified=!0,this.validationCode=i.payload.validationCode,void this._openSuccessPopup(i.payload.messages[0]);this.sentVerificationCode=!1;const e=this._translateService.instant("registration.if_account_not_linked")+" "+this._maskNumber(this.form.controls.phone.value)+this._translateService.instant("registration.confirmation_code_sent");this._openSuccessPopup(e)},()=>{this._globalLoaderService.hideLoader()})}handleSubmitVerificationCode(i){this._globalLoaderService.showLoader(),this._httpService.put(`${this.VALIDATION_URL}/confirm-number-validation-code?phone=${this.form.controls.phone.value}&code=${i}`).subscribe(()=>{this._globalLoaderService.hideLoader(),this.sentVerificationCode=!0,this.phoneNumberVerified=!0,this._openSuccessPopup(this._translateService.instant("registration.phone_number_confirmed"))},()=>{this.sentVerificationCode=!0,this._globalLoaderService.hideLoader()})}_openSuccessPopup(i){this._modalService.openPopup({component:E.SuccessPopup,payload:{message:i}})}handleChangeCountry(){this._resetCities(),this.selectedCountry=this.countries.find(i=>i.name===this.form.get("country")?.value),this._registrationService.setRegistrationSelectedCountry(this.selectedCountry),this.selectedCountryPrefix=this.selectedCountry,this.form.get("phone")?.setValue((0,p.A)(this.selectedCountry,"countryCodes[0]")),this.appliedCountryFields=this._getCustomCountryConfiguration(this.selectedCountry.iso3),this._applyCountryConfigurationToFields()}_resetCities(){this._stabilityService.isAppStable().subscribe(()=>{setTimeout(()=>{this.factilizaFullData&&!this.peruCityMissingData||(this.form.get("city")?.setValue(""),this.isPeruvianCityAdjustments&&this.resetPeruvianCities())})})}_ensureAllCountriesHaveConfiguration(){!this.registrationConfiguration.customRegistrationConfigurations||!this.registrationConfiguration.customRegistrationConfigurations.length||this.countries.forEach(i=>{this._ensureTopCountryHasConfiguration(i.iso3)})}_applyInitialCountryConfiguration(){const i=(0,p.A)(this.countries,"[0]",{});i.iso3&&(this.appliedCountryFields=this._getCustomCountryConfiguration(i.iso3),this._applyCountryConfigurationToFields())}_ensureTopCountryHasConfiguration(i){const e=this._getOrCreateCountryConfig(i);this._populateCountryFieldDefaults(e)}_getCustomCountryConfiguration(i){if(!this.registrationConfiguration.customRegistrationConfigurations||!this.registrationConfiguration.customRegistrationConfigurations.length)return null;const e=this.registrationConfiguration.customRegistrationConfigurations.find(o=>o[i]);return e?e[i]:null}_applyCountryConfigurationToFields(){if(!this.appliedCountryFields)return;const i=this.appliedCountryFields;
1Object.keys(i).forEach(e=>{this.registrationConfiguration.fields[e]&&(this.registrationConfiguration.fields[e]={...this.registrationConfiguration.fields[e],...i[e]})}),this._resetAndRecreateCountrySpecificControls()}_getOrCreateCountryConfig(i){const e=this.registrationConfiguration.customRegistrationConfigurations.find(r=>r[i]);if(e)return e[i];const o={};return o[i]={},this.registrationConfiguration.customRegistrationConfigurations.push(o),o[i]}validateSimilarity(){this.isPasswordAndEmailSimilar=this._similarityService.validateSimilarity(this.form.get("password")?.value,this.form.get("email")?.value.split("@")[0])}validateSimilarityOnKeyPress(i){this.isPasswordAndEmailSimilar=this._similarityService.validateSimilarity(this.form.get("password")?.value,i)}setDateFromPersonalId(){""===this.getPersonalIdDate()||this.registrationConfiguration.fields.personalId.rule!==w.uZ.EX_YU_JMBG||(this.setGenderFromPersonalId(),this.selectedDate=O(O(this.getPersonalIdDate())),this.selectedDateValid=""!==this.getPersonalIdDate(),this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name)?.setValue(this.selectedDate.month()),this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name)?.setValue(this.selectedDate.date()),this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name)?.setValue(this.selectedDate.year()),this.formattedDate=this.selectedDate.format("YYYY-MM-DD"))}getPersonalIdDate(){return this._registrationService.getPersonalIdDate((0,p.A)(this.form,"controls.personalId.value",""))}_populateCountryFieldDefaults(i){[this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.FIELDS_NAMES.PERSONAL_ID.name,"birthday"].forEach(o=>{this.registrationConfiguration.fields[o]&&(o===this.FIELDS_NAMES.PASSPORT_NUMBER.name&&this._setPassportDefaults(i),o===this.FIELDS_NAMES.PERSONAL_ID.name&&this._setPersonalIdDefaults(i),"birthday"===o&&this._setBirthdayDefaults(i))})}_setPassportDefaults(i){i.passportNumber||(i.passportNumber={});const e=this.registrationConfiguration.fields[this.FIELDS_NAMES.PASSPORT_NUMBER.name];i.passportNumber.visible=i.passportNumber.visible??e.visible,i.passportNumber.required=i.passportNumber.required??e.required,i.passportNumber.regex=i.passportNumber.regex??e.regex,i.passportNumber.regexEnabled=i.passportNumber.regexEnabled??!!e.regex}_setPersonalIdDefaults(i){i.personalId||(i.personalId={});const e=this.registrationConfiguration.fields[this.FIELDS_NAMES.PERSONAL_ID.name];i.personalId.visible=i.personalId.visible??e.visible,i.personalId.required=i.personalId.required??e.required,i.personalId.rule=i.personalId.rule??e.rule,i.personalId.regex=i.personalId.regex??e.regex,i.personalId.regexEnabled=i.personalId.regexEnabled??!!e.regex}_setBirthdayDefaults(i){i.birthday||(i.birthday={});const e=this.registrationConfiguration.fields.birthday;i.birthday.visible=i.birthday.visible??e.visible,i.birthday.required=i.birthday.required??e.required}_resetAndRecreateCountrySpecificControls(){this.form&&([this.FIELDS_NAMES.PERSONAL_ID.name,this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this.FIELDS_NAMES.DAY_OF_BIRTH.name,this.FIELDS_NAMES.MONTH_OF_BIRTH.name,this.FIELDS_NAMES.YEAR_OF_BIRTH.name].forEach(e=>{this.form.get(e)&&this.form.removeControl(e),this.fistStepValidatiorsForm?.get(e)&&this.fistStepValidatiorsForm.removeControl(e)}),this.fields.personalId?.visible&&this.form.setControl(this.FIELDS_NAMES.PERSONAL_ID.name,this.getFormDataForField(this.FIELDS_NAMES.PERSONAL_ID.name,this.getValidatorsForPersonalIdField())),this.fields.passportNumber?.visible&&this.form.setControl(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.PASSPORT_NUMBER.name,this.getValidatorsForPassportNumberField())),this.fields.alienRegistrationCardNumber?.visible&&this.form.setControl(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this.getFormDataForField(this.FIELDS_NAMES.ALIEN_REGISTRATION_CARD_NUMBER.name,this._getValidatorsForAlienRegistrationCardNumberField())),(this.fields.birthday?.visible||this.fields.personalId.rule===w.uZ.EX_YU_JMBG)&&(this.form.setControl(this.FIELDS_NAMES.DAY_OF_BIRTH.name,new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]})),this.form.setControl(this.FIELDS_NAMES.MONTH_OF_BIRTH.name,new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]})),this.form.setControl(this.FIELDS_NAMES.YEAR_OF_BIRTH.name,new a.MJ({value:"",disabled:this.factilizaFullData},{validators:this._isValidationRequired(this.fields?.birthday)?[a.k0.required]:[]})),this.selectedDate=null,this.formattedDate=""),this._checkTreatDocumentEquelyAndSetFields(),this.currentValueOfDocumment="",this._updateFirstStepValidationForm())}_updateFirstStepValidationForm(){const i=[];
1(0,x.A)(this.fields,(o,r)=>{1===(0,p.A)(o,"page")&&((0,p.A)(o,"visible")||this.oneStep&&(0,p.A)(o,"required"))&&i.push(r)});const e={};(0,x.A)(i,o=>{if("birthday"===o){const r=this.form.get(this.FIELDS_NAMES.DAY_OF_BIRTH.name),l=this.form.get(this.FIELDS_NAMES.MONTH_OF_BIRTH.name),c=this.form.get(this.FIELDS_NAMES.YEAR_OF_BIRTH.name);r&&(e.dayOfBirth=r),l&&(e.monthOfBirth=l),c&&(e.yearOfBirth=c)}else{const r=this.form.get(o);r&&(e[o]=r)}}),this.fistStepValidatiorsForm=new a.gE(e)}setSelectedCountryPrefix(i){this.selectedCountryPrefix=i,this.form.get("phone")?.setValue((0,p.A)(this.selectedCountryPrefix,"countryCodes[0]"))}static{this.\u0275fac=function(e){return new(e||et)(t.rXU(f.nX),t.rXU(Y.i),t.rXU(L.RegistrationService),t.rXU(y.M),t.rXU(D.O),t.rXU(ue.k),t.rXU(It.C),t.rXU(pe.g),t.rXU(me.s),t.rXU(ge.S),t.rXU(_e.Q),t.rXU(C.u),t.rXU(fe.B),t.rXU(he.$),t.rXU($.B),t.rXU(_.c$),t.rXU(ve.J),t.rXU(xt.B),t.rXU(Ce.Qq),t.rXU(be.N),t.rXU(Ie.AffiliateCodeService),t.rXU(xe.A),t.rXU(y.M),t.rXU(T.RadarGeoLocationService),t.rXU(Ft.IdScanService),t.rXU(B.e))}}static{this.\u0275cmp=t.VBU({type:et,selectors:[["registration-form"]],inputs:{oneStep:"oneStep"},decls:1,vars:1,consts:[["email",""],["inputCity",""],["class","c-registration-form",4,"ngIf"],[1,"c-registration-form"],[1,"c-registration-form__title",3,"ngClass"],[1,"c-registration-form__cta"],[3,"blinkingRegistrationUrl"],[3,"itsmeRegistrationUrl"],[3,"ipificationRegistrationUrl","ipificationHash"],[1,"c-registration-form__content",3,"ngClass"],[3,"formGroup","keydown.enter","click",4,"ngIf"],[1,"c-registration-login-note"],[1,"c-registration-login-note__button",3,"click"],[1,"c-blinking-button"],[1,"c-itsme-button"],[1,"c-ipification-button"],[1,"c-blinking-button",3,"click"],["icon","blinking",1,"c-blinking-button__icon"],[1,"c-blinking-button__text"],[1,"c-itsme-button",3,"click"],["icon","itsme",1,"c-itsme-button__icon"],[1,"c-itsme-button__text"],[1,"c-ipification-button",3,"click"],["src","/assets/site-specific-images/ipification.svg",1,"c-ipification-button__icon"],[3,"toggleBlinkingRegistration","blinkingRegistrationUrl"],[3,"toggleItsmeRegistration","itsmeRegistrationUrl"],[3,"toggleIpificationRegistration","ipificationRegistrationUrl","ipificationHash"],["class","c-registration-form__subtitle",4,"ngIf"],[1,"c-registration-tabs-wrapper"],[1,"c-registration-tabs"],[1,"c-registration-tab",3,"click","ngClass","disabled"],[1,"c-registration-form__subtitle"],[3,"keydown.enter","click","formGroup"],[1,"c-register-step"],["class","c-registration-input-field",3,"ngStyle","ngClass",4,"ngIf"],[1,"c-registration-input-fields-halves",3,"ngStyle"],["class","c-registration-input-field",3,"ngClass",4,"ngIf"],["class","c-registration-input-field",3,"ngClass","ngStyle",4,"ngIf"],["class","c-registration-input-field",3,"ngStyle",4,"ngIf"],["class","c-registration-input-fields-halves",3,"ngStyle",4,"ngIf"],["class","c-registration-input-field c-registration-input-field--promo",3,"ngClass","ngStyle",4,"ngIf"],["class","c-checkbox-label",3,"ngStyle","ngClass",4,"ngIf"],["class","c-checkbox-label",3,"ngStyle",4,"ngIf"],["class","c-registration-input-fields-third",3,"ngStyle","formGroup",4,"ngIf"],[1,"c-registration-alert"],[1,"c-register-action"],[1,"c-register-btn",3,"click"],[1,"c-register-btn","c-register-btn--continue",3,"disabled"],["data-cy","submitButtonRegister",1,"c-register-btn","c-register-btn--submit",3,"disabled"],[1,"c-registration-input-field",3,"ngStyle","ngClass"],[1,"c-registration-input-label"],["id","nickname","data-cy","nicknameInput","type","text",1,"c-registration-input",3,"formControlName"],[1,"c-registration-input-actions"],[1,"c-registration-input-actions__error"],[1,"c-registration-input-actions__success"],[4,"ngIf"],["class","c-registration-error","data-cy","nicknameRequired",4,"ngIf"],["class","c-registration-error","data-cy","nicknameExist",4,"ngIf"],["data-cy","nicknameRequired",1,"c-registration-error"],["data-cy","nicknameExist",1,"c-registration-error"],[1,"c-registration-input-field",3,"ngClass"],["data-cy","passwordInput",1,"c-registration-input",3,"keyup","type","formControlName"],[1,"c-registration-input-actions__password-visibility",3,"click","ngClass"],[3,"value","similarityCheck"],["data-cy","repeatPasswordInput",1,"c-registration-input",3,"type","formControlName"],["class","c-registration-error","data-cy","repeatPasswordRequired",4,"ngIf"],["class","c-registration-error","data-cy","repeatPasswordNotValid",4,"ngIf"],["data-cy","repeatPasswordRequired",1,"c-registration-error"],["data-cy","repeatPasswordNotValid",1,"c-registration-error"],[1,"c-registration-input-field",3,"ngClass","ngStyle"],["type","text","data-cy","emailInput",1,"c-registration-input",3,"blur","keyup","ngClass","readonly","formControlName"],["class","c-registration-form__did-you-mean",3,"click",4,"ngIf"],[1,"c-registration-form__did-you-mean",3,"click"],["for","phoneInput",1,"c-registration-input-label"],[1,"c-registration-input-wrapper"],[1,"c-registration-input-prefix"],[3,"selectedCountryPrefix","ngClass","countries","selectedCountry"],["type","text","data-cy","phoneInput","id","phoneInput",1,"c-registration-input",3,"keyup","blur","ngClass","readonly","formControlName"],[1,"c-register-btn","c-register-btn--submit",3,"disabled"],[1,"c-register-btn","c-register-btn--submit",3,"click","disabled"],["class","c-registration-error","data-cy","customErrMessagePhoneRegistration",4,"ngIf"],["class","c-registration-error","data-cy","phoneRequired",4,"ngIf"],["class","c-registration-error","data-cy","phoneExist",4,"ngIf"],["data-cy","customErrMessagePhoneRegistration",1,"c-registration-error"],["data-cy","phoneRequired",1,"c-registration-error"],["data-cy","phoneExist",1,"c-registration-error"],[3,"onSubmitCode","disableInputs","numberVerified","validationCode","sentVerificationCode"],[3,"validationPattern"],["type","text","data-cy","passportInput",1,"c-registration-input",3,"formControlName"],["type","text","data-cy","alienRegistrationCardNumber",1,"c-registration-input",3,"formControlName"],[3,"invali
1dStateOccurred","citySelected","addressSelected","isDisabled","styleType","formControlName"],["class","c-registration-error","data-cy","streetRequired",4,"ngIf"],["data-cy","streetRequired",1,"c-registration-error"],[1,"c-registration-input-field",3,"ngStyle"],[1,"c-registration-input-label__inner"],[1,"c-registration-select",3,"change","disabled"],[3,"value","selected",4,"ngFor","ngForOf"],["icon","menu-dropdown-alt",1,"c-registration-select-icon"],[3,"value","selected"],["type","text",1,"c-registration-input",3,"input","placeholder","disabled","value"],["class","c-registration-error",4,"ngIf"],[1,"c-registration-error"],["type","text","data-cy","streetInput",1,"c-registration-input",3,"ngClass","readonly","formControlName"],["class","c-registration-error","data-cy","postalCodeRequired",4,"ngIf"],["data-cy","postalCodeRequired",1,"c-registration-error"],["data-cy","countryDropdown",1,"c-registration-select",3,"change","ngClass","formControlName"],["data-cy","nationalityDropdown",1,"c-registration-select",3,"formControlName"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["data-cy","currencyDropdown",1,"c-registration-select",3,"formControlName"],["type","text","data-cy","firstNameInput",1,"c-registration-input",3,"ngClass","readonly","formControlName"],["class","c-registration-error","data-cy","firstNameRequired",4,"ngIf"],["class","c-registration-error","data-cy","firstNameNotValid",4,"ngIf"],["class","c-registration-error","data-cy","firstNameExist",4,"ngIf"],["data-cy","firstNameRequired",1,"c-registration-error"],["data-cy","firstNameNotValid",1,"c-registration-error"],["data-cy","firstNameExist",1,"c-registration-error"],["data-cy","lastNameInput","type","text",1,"c-registration-input",3,"ngClass","readonly","formControlName"],["class","c-registration-error","data-cy","lastNameRequired",4,"ngIf"],["class","c-registration-error","data-cy","lastNameNotValid",4,"ngIf"],["class","c-registration-error","data-cy","lastNameExist",4,"ngIf"],["data-cy","lastNameRequired",1,"c-registration-error"],["data-cy","lastNameNotValid",1,"c-registration-error"],["data-cy","lastNameExist",1,"c-registration-error"],[1,"c-registration-input-field","c-registration-input-field--promo",3,"ngClass","ngStyle"],[1,"c-registration-switch"],[1,"c-registration-switch__label"],["type","checkbox","data-cy","promoCodeCheckbox",1,"c-registration-switch__input",3,"click","formControlName"],[1,"c-slider"],["class","c-registration-input","type","text","data-cy","promoCodeInput",3,"formControlName",4,"ngIf"],["type","text","data-cy","promoCodeInput",1,"c-registration-input",3,"formControlName"],["class","c-registration-error","data-cy","promoCode",4,"ngIf"],["data-cy","promoCode",1,"c-registration-error"],[1,"c-checkbox-label",3,"ngStyle","ngClass"],[1,"c-checkbox"],["type","checkbox","type","checkbox","data-cy","termsCheckbox",3,"formControlName"],["icon","check-non-active",1,"c-checkbox-input__icon","not-active"],["icon","check-active",1,"c-checkbox-input__icon","active"],[1,"c-checkbox-label-text"],[1,"c-checkbox-label",3,"ngStyle"],["type","checkbox","data-cy","enableEmailNotificationsCheckbox",3,"formControlName"],["type","checkbox","data-cy","enablePush_NotificationsCheckbox",3,"formControlName"],["type","checkbox","data-cy","enableSmsNotificationsCheckbox",3,"formControlName"],["type","checkbox","data-cy","termsCheckbox",3,"formControlName"],[1,"c-terms-and-cond-text",3,"innerHTML"],["type","checkbox","data-cy","privacyPolicyAndGDPRCheckbox",3,"formControlName"],["data-cy","activationMethodDropdown",1,"c-registration-select",3,"ngClass","formControlName"],["disabled","","selected",""],[3,"ngValue",4,"ngFor","ngForOf"],[3,"ngValue"],[1,"c-registration-input-fields-third"],["data-cy","yearOfBirthDropdown",1,"c-registration-select",3,"change","ngClass","formControlName"],["data-cy","monthOfBirthDropdown",1,"c-registration-select",3,"change","ngClass","formControlName"],["data-cy","dayOfBirthDropdown",1,"c-registration-select",3,"change","ngClass","formControlName"],["data-cy","invalidBirthday",1,"c-registration-error"],["type","text","data-cy","lastNameInput",1,"c-registration-input",3,"formControlName"],["data-cy","activationMethodDropdown",1,"c-registration-select",3,"formControlName"],[4,"ngIf","ngIfElse"],["data-cy","cityDropdown",1,"c-registration-select",3,"ngClass","formControlName"],["disabled","","selected","","value","",2,"color","lightgreen"],["type","text","data-cy","cityDropdown",1,"c-registration-input",3,"ngClass","readonly","formControlName"],["class","c-registration-error","data-cy","cityRequired",4,"ngIf"],["data-cy","cityRequired",1,"c-registration-error"],[1,"c-registration-input-fields-third",3,"ngStyle","formGroup"],[1,"c-registration-input-label__inner",3,"ngClass"],["disabled","","selected","","value",""],["data-cy","cityDropdown",1,"c-registration-select",3,"formControlName","ngClass"],["type","text","data-cy","personalIdInput",1,"c-registration-input",3,"input","blur","ngClass","readonly","formControlName"],["id","referralCode","data-cy","referralCodeInput","type","text",1,"c-registration-input",3,"formControlName"],["icon","notification-alert",1,"c-registration-alert__icon"],[1,"c-registration-alert__content"],["target","_blank",1,"c-registration-alert__link"],[1,"c-register-btn","c-register-btn--continue",3,"click","disabled"],["data-cy","submitButtonRegister",1,"c-register-btn","c-register-btn--submit",3,"click","disabled"]],template:function(e,o){1&e&&t.DNE(0,fo,19,20,"div",2),2&e&&t.Y8G("ngIf",o.form&&o.isFormReady&&o.fistStepValidatiorsForm)},dependencies:[g.NgClass,g.NgForOf,g.NgIf,g.NgStyle,a.qT,a.xH,a.y7,a.me,a.Zm,a.wz,a.BC,a.cb,a.j4,a.JD,d.D,ye,Mt.D,Pt.h,Rt,Re.m,St,Ot,it,_.D9,st.w,Te,we,Ge],styles:['[_nghost-%COMP%]{width:100%}.c-registration-page--sms-activation[_nghost-%COMP%]{display:none}.c-register-step[_ngcontent-%COMP%]{display:flex;flex-direction:column}
1.c-registration-form[_ngcontent-%COMP%]{max-width:490px;padding:55px 0 5px;margin:0 auto;position:relative}.c-registration-form__content[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-registration-form__content.verification-open[_ngcontent-%COMP%]{opacity:0}.c-registration-form__title[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:600;font-size:24px;text-align:center;text-transform:uppercase;margin:0 0 40px}.c-registration-form__title.has-providers[_ngcontent-%COMP%]{margin:0 0 16px}.c-registration-form__cta[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;width:100%;margin-bottom:32px}.c-registration-form__subtitle[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font);font-weight:700;font-size:16px;line-height:1;text-align:center;text-transform:uppercase;margin:5px 0 10px}.c-registration-tabs-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:center;padding:0 0 25px}.c-registration-tabs[_ngcontent-%COMP%]{display:flex;border:1px solid var(--baseBlue18);border-radius:4px;overflow:hidden}.c-registration-tab[_ngcontent-%COMP%]{min-width:140px;background-color:transparent;color:var(--baseWhite10);font-family:var(--font-cond);font-weight:500;font-size:12px;text-transform:uppercase;text-align:center;padding:10px;transition:opacity .2s linear;cursor:pointer}.c-registration-tab[_ngcontent-%COMP%]:not(.selected):hover{opacity:.8}.c-registration-tab[_ngcontent-%COMP%]:not(:last-of-type){border-right:1px solid var(--baseBlue18)}.c-registration-tab.selected[_ngcontent-%COMP%]{background-color:var(--baseBlue23);color:var(--baseTextColor)}.c-registration-tab.validated[_ngcontent-%COMP%]{background-color:var(--base-green-01);color:var(--white)}.c-registration-tab.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-fields-halves[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(calc(50% - 15px),1fr));grid-column-gap:15px}.c-registration-input-fields-third[_ngcontent-%COMP%]{margin-bottom:15px;display:grid;grid-template-columns:repeat(3,1fr);grid-column-gap:15px}.c-registration-input-field[_ngcontent-%COMP%]{margin-bottom:15px;display:flex;flex-direction:column;flex:1}.c-registration-input-field.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%]{margin-bottom:5px}.c-registration-input-field.c-registration-input-field--promo[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{display:none}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%]{margin-bottom:15px}.c-registration-input-field.c-registration-input-field--promo.visible[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input-actions__error[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:block}.c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%], .c-registration-input-field.error[_ngcontent-%COMP%] .c-registration-select[_ngcontent-%COMP%]{border-color:var(--base-primary)}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-input-actions__success[_ngcontent-%COMP%]{display:block}.c-registration-input-field.success[_ngcontent-%COMP%] .c-registration-error[_ngcontent-%COMP%]{display:none}.c-registration-input-label[_ngcontent-%COMP%]{color:var(--baseWhite06);font-family:var(--font);font-size:12px;position:relative;display:flex;flex-direction:column}.c-registration-input-wrapper[_ngcontent-%COMP%]{display:flex;gap:15px}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-register-btn[_ngcontent-%COMP%]{min-width:30%;max-width:fit-content;height:44px;margin-top:5px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.c-registration-input-wrapper[_ngcontent-%COMP%] .c-registration-input[_ngcontent-%COMP%]{flex:1}.c-registration-input[_ngcontent-%COMP%]{display:block;margin-top:5px;border:1px solid var(--limitRadioButtonBorderColor);color:var(--baseAccountSettingsColor09);border-radius:4px;padding:14px 40px 14px 10px;line-height:1;width:100%;background-color:var(--baseBlue09);font-family:var(--font)}.c-registration-input[_ngcontent-%COMP%]:focus{border-color:var(--base-green-01)}.c-registration-input[_ngcontent-%COMP%]:focus.c-registration-input--prefix{border-color:var(--limitRadioButtonBorderColor)}.c-registration-input[disabled][_ngcontent-%COMP%], .c-registration-input.disabled[_ngcontent-%COMP%], .c-registration-input.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none;border-color:var(--limitRadioButtonBorderColor)}.c-registration-select[_ngcontent-%COMP%]{display:block;min-height:44px;
1background:var(--baseBlue09) no-repeat calc(100% - 10px) center;border:1px solid var(--limitRadioButtonBorderColor);border-radius:4px;color:var(--baseAccountSettingsColor09);padding:13px 25px 13px 10px;width:100%;margin-top:5px;font-family:var(--font);-webkit-appearance:none;-moz-appearance:none;-o-appearance:none}.c-registration-select[disabled][_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select[disabled][_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%], .c-registration-select.manually-disabled[_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-registration-select.c-registration-select--error[_ngcontent-%COMP%]{border-color:var(--alert)}.c-registration-select[disabled][_ngcontent-%COMP%] ~ .c-registration-select-icon[_ngcontent-%COMP%]{opacity:.3}.c-registration-input-label__inner[_ngcontent-%COMP%]{position:relative}.c-registration-input-label__inner.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-registration-select-icon[_ngcontent-%COMP%]{width:15px;height:15px;color:var(--baseWhite06);transform:rotate(90deg);position:absolute;top:20px;right:15px;pointer-events:none}.c-registration-input-actions[_ngcontent-%COMP%]{position:absolute;height:44px;bottom:0;right:10px;display:flex;align-items:center}.c-registration-input-actions__password-visibility[_ngcontent-%COMP%]{width:15px;height:15px;margin:0 7px;cursor:pointer;background:url(hide-password-icon.e209c0f6a4d5cd87.svg) no-repeat center;background-size:cover}.c-registration-input-actions__password-visibility.show[_ngcontent-%COMP%]{background:url(show-password-icon.62f14e297b1b7b9d.svg) no-repeat center;background-size:cover}.c-registration-input-actions__error[_ngcontent-%COMP%]{width:15px;height:15px;background:url(error.7e64f8513d00de72.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-input-actions__success[_ngcontent-%COMP%]{width:15px;height:15px;background:url(success-indicator.4b928420b308f92c.svg) no-repeat center;background-size:contain;margin:0 7px;display:none}.c-registration-error[_ngcontent-%COMP%]{color:var(--base-primary);display:none;margin-top:5px}.c-checkbox-label[_ngcontent-%COMP%]{display:flex;cursor:pointer;margin-right:25px;margin-bottom:15px}.c-checkbox-label.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-checkbox[_ngcontent-%COMP%]{display:block;position:relative;cursor:pointer;-webkit-user-select:none;user-select:none;min-width:18px;height:18px;transition:opacity .1s ease-in-out}.c-checkbox[_ngcontent-%COMP%]:active{opacity:.4}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .active[_ngcontent-%COMP%]{display:inline-flex}.c-checkbox[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:checked ~ .not-active[_ngcontent-%COMP%]{display:none}.c-checkbox-input__icon.active[_ngcontent-%COMP%]{color:var(--base-green-01);display:none;width:16px;height:16px}.c-checkbox-input__icon.not-active[_ngcontent-%COMP%]{color:var(--baseWhite07);display:inline-flex;width:15px;height:15px}.c-checkbox-label-text[_ngcontent-%COMP%]{margin-left:10px;font-family:var(--font);font-size:14px;color:var(--baseGrey03);font-weight:400}.c-registration-switch[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--baseGrey04);font-size:12px;margin-bottom:10px;cursor:pointer}.c-registration-switch__label[_ngcontent-%COMP%]{position:relative;display:inline-block;min-width:32px;height:18px;margin-right:15px}.c-registration-switch__input[_ngcontent-%COMP%]{opacity:0;width:0;height:0}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]{border-width:3px;border-color:transparent;background:var(--base-green-01)}.c-registration-switch__input[_ngcontent-%COMP%]:checked + .c-slider[_ngcontent-%COMP%]:before{transform:translate(13px,-50%)}.c-slider[_ngcontent-%COMP%]{position:absolute;cursor:pointer;inset:0;background:var(--baseGrey05);transition:all .2s linear;border-radius:34px}.c-slider[_ngcontent-%COMP%]:before{position:absolute;content:"";height:15px;width:15px;inset:50% 0 0 2px;background-color:var(--white);
1transition:all .4s cubic-bezier(.77,0,.175,1);transform:translateY(-50%);border-radius:50%}.c-register-action[_ngcontent-%COMP%]{display:flex;gap:10px}.c-register-btn[_ngcontent-%COMP%]{color:var(--baseAccountSettingsColor09);font-family:var(--font-cond);font-size:16px;font-weight:500;line-height:20px;text-transform:uppercase;border-radius:4px;border:1px solid var(--base-blue-05);padding:12px 20px;flex:1;max-width:50%;transition:opacity .3s linear}.c-register-btn[_ngcontent-%COMP%]:hover{opacity:.8}.c-register-btn.c-register-btn--continue[_ngcontent-%COMP%]{background-color:var(--base-blue-04);border:1px solid var(--base-blue-04);color:var(--white)}.c-register-btn.c-register-btn--continue[disabled][_ngcontent-%COMP%]{opacity:.4;color:var(--base-white-06);pointer-events:none}.c-register-btn.c-register-btn--submit[_ngcontent-%COMP%]{background-color:var(--base-green-01);border:1px solid var(--base-green-01);color:var(--white)}.c-register-btn.c-register-btn--submit[disabled][_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.c-registration-login-note[_ngcontent-%COMP%]{color:var(--base-white-06);font-size:14px;line-height:1.2;padding:20px 0;text-align:center}.c-registration-login-note__button[_ngcontent-%COMP%]{color:var(--base-green-01);font-weight:600;text-decoration:underline;background-color:transparent;border:none}.c-radio-btn[_ngcontent-%COMP%]{opacity:0;position:absolute;left:-9999px}.c-radio-btn[_ngcontent-%COMP%]:not(:checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn[_ngcontent-%COMP%]:not(.checked) + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:0;transform:scale(0)}.c-radio-btn[_ngcontent-%COMP%]:checked + .c-radio-btn-label[_ngcontent-%COMP%]:after, .c-radio-btn.checked[_ngcontent-%COMP%] + .c-radio-btn-label[_ngcontent-%COMP%]:after{opacity:1;transform:scale(1)}.c-radio-buttons-container[_ngcontent-%COMP%]{display:flex}.c-radio-btn-wrapper[_ngcontent-%COMP%]{margin-right:20px;margin-top:5px}.c-radio-btn-label[_ngcontent-%COMP%]{display:flex;position:relative;padding-left:25px;line-height:18px;color:var(--baseWhite06);font-size:12px;text-transform:capitalize;cursor:pointer}.c-radio-btn-label.c-radio-btn-label--mobile[_ngcontent-%COMP%]{margin-bottom:10px}.c-radio-btn-label[_ngcontent-%COMP%]:before{content:"";position:absolute;left:0;top:0;width:17px;height:17px;outline:1px solid var(--base-green-01);border-radius:100%;background:var(--baseBlack)}.c-radio-btn-label[_ngcontent-%COMP%]:after{content:"";width:11px;height:11px;background:var(--base-green-01);position:absolute;top:3px;left:3px;border-radius:50%;transition:all .2s ease}.c-registration-form__did-you-mean[_ngcontent-%COMP%]{cursor:pointer;width:100%;margin-left:auto;background:var(--base-orange-01);font-size:12px;line-height:16px;color:var(--dark-grey);padding:3px 8px 4px;margin-top:3px;transition:opacity .3s linear}.c-ipification-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;background-color:var(--ipification-red);border-radius:4px;min-width:240px;cursor:pointer;transition:all .2s linear}.c-ipification-button.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed;pointer-events:none}.c-ipification-button[_ngcontent-%COMP%]:active{transform:scale(.965)}.c-ipification-button__icon[_ngcontent-%COMP%]{height:16px}.c-registration-alert[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;margin-bottom:15px}.c-registration-alert__icon[_ngcontent-%COMP%]{width:22px;height:21px;flex-shrink:0;color:var(--baseResponsibleGamingColor)}.c-registration-alert__content[_ngcontent-%COMP%]{color:var(--baseGrey03);font-family:var(--font);font-size:14px;font-weight:400;line-height:16px}.c-registration-alert__link[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-registration-input-prefix[_ngcontent-%COMP%]{position:relative}'],data:{animation:[Ht.i]}})}}(0,G.Cg)([U.X],et.prototype,"_setItsmeData",null),(0,G.Cg)([U.X],et.prototype,"_subscribeToPersonalIdFieldValid",null);const ho=n=>({"c-registration-page--sms-activation":n});function vo(n,i){1&n&&t.nrm(0,"svg-icon",3)}
1function Co(n,i){if(1&n&&(t.j41(0,"div",4),t.nrm(1,"svg-icon",8),t.j41(2,"h1",9),t.EFF(3),t.k0s(),t.j41(4,"p",10),t.EFF(5),t.k0s()()),2&n){const e=t.XpG();t.R7$(3),t.SpI(" ",null==e.registrationConfiguration||null==e.registrationConfiguration.registrationWelcomeTitle?null:e.registrationConfiguration.registrationWelcomeTitle.translation," "),t.R7$(2),t.SpI(" ",null==e.registrationConfiguration||null==e.registrationConfiguration.registrationWelcomeMessage?null:e.registrationConfiguration.registrationWelcomeMessage.translation," ")}}function bo(n,i){1&n&&t.nrm(0,"contact-support",12)}function Io(n,i){if(1&n&&(t.nrm(0,"registration-form",11),t.nI1(1,"generalCustomConfigurationPipe"),t.DNE(2,bo,1,0,"contact-support",12),t.nI1(3,"generalCustomConfigurationPipe")),2&n){const e=t.XpG();t.Y8G("oneStep",1===t.bMT(1,3,"numberOfRegistrationPages"))("ngClass",t.eq3(7,ho,e.registrationService.isSmsActivationActive())),t.R7$(2),t.vxM(t.bMT(3,5,"supportContactFormEnabled")&&!e.registrationService.isSmsActivationActive()?2:-1)}}function xo(n,i){1&n&&t.nrm(0,"sms-activation")}function Fo(n,i){if(1&n&&(t.j41(0,"div",6),t.nrm(1,"seo-content",13),t.k0s()),2&n){const e=t.XpG();t.R7$(),t.Y8G("pageTitle",e.currentSeoContent.pageTitle)}}class nt{constructor(i,e,o,r,l,c,m,ot,rt){this._authService=i,this._route=e,this._routingService=o,this.registrationService=r,this._restConfigurationService=l,this._radarGeoLocationService=c,this._globalLoaderService=m,this._modalService=ot,this._configurationService=rt,this._seoService=(0,t.WQX)(z.B),this.backOfficeBaseUrl=`${BO_API_URL}/api/`,this.isSuccessfulRegistration=!1,this._subscriptions=[],this.pageName="registration",this.isOneStepEnabled=!0,this.show18PlusIcon=!1,this.registrationBackgroundImageUrl="",this.registrationBackgroundImageUrl=this._configurationService.getParam("registration_background_image"),this._route.queryParams.subscribe(lt=>{if(this.isSuccessfulRegistration=lt.registration_success,this.isSuccessfulRegistration&&this.registrationConfiguration&&"EMAIL"===lt.activation_method)return this.goToHome(),void s.e(114).then(s.bind(s,70114)).then(({RegistrationNotificationModal:_t})=>{this._modalService.openNotification({component:_t,payload:{title:this.registrationConfiguration?.registrationWelcomeTitle?.translation,message:this.registrationConfiguration?.registrationWelcomeMessage?.translation}})});!this.isSuccessfulRegistration||this.registrationConfiguration||this.registrationService.getRegistrationConfiguration()}),(0,t.QZP)(()=>{this._authStatusChange(this._authService.currentUser().isUserLogin)})}ngOnInit(){var i=this;return(0,b.A)(function*(){i._restConfigurationService.getGeneralConfigurationParams("enableRegistration")?(i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")&&i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoCheckerOnRegistration")&&i._globalLoaderService.showLoader(),(!i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoChecker")||!i._restConfigurationService.getGeneralCustomConfigurationParams("enableRadarGeoCheckerOnRegistration")||(yield i._radarGeoLocationService.checkUserLocation()))&&(i.show18PlusIcon=i._restConfigurationService.getGeneralCustomConfigurationParams("age18PlusOnRegistrations"),i.registrationService.isSmsActivationActive.set(!1),i._setSeoContent(),i._subscribeOnRegistrationConfigData(),i._subscribeOnUserAccess())):i.goToHome()})()}_subscribeOnUserAccess(){this._subscriptions.push(this._authService.hasUserFullAccessOnRegistration$.subscribe(i=>{i||this.goToHome()}))}ngOnDestroy(){(0,x.A)(this._subscriptions,i=>i.unsubscribe())}_authStatusChange(i){i&&this.goToHome()}_subscribeOnRegistrationConfigData(){this._subscriptions.push(this.registrationService.registrationConfigurationData$.subscribe(i=>this.registrationConfiguration=i))}goToHome(){this._routingService.navigateToHome()}_setSeoContent(){this._seoContentParams={pageName:A.Bi.REGISTRATION,type:W.E.PAGE},this._fetchSeoContent()}_fetchSeoContent(){this._seoContentParams&&this._seoService.fetchSeoContent(this._seoContentParam
1s).then(i=>{this.currentSeoContent=i})}static{this.\u0275fac=function(e){return new(e||nt)(t.rXU(C.u),t.rXU(f.nX),t.rXU(D.O),t.rXU(L.RegistrationService),t.rXU(y.M),t.rXU(T.RadarGeoLocationService),t.rXU(B.e),t.rXU($.B),t.rXU(h.s))}}static{this.\u0275cmp=t.VBU({type:nt,selectors:[["registration-page"]],decls:12,vars:7,consts:[[1,"l-registration-page-wrapper"],[1,"l-registration-page"],[1,"l-registration-page__left"],["icon","18",1,"c-18-plus-icon"],[1,"c-registration-success-message"],[1,"l-registration-page__right"],[1,"c-seo-content-wrapper"],[3,"pageName"],["icon","paper-plane",1,"c-registration-success-message__icon"],[1,"c-registration-success-message__title"],[1,"c-registration-success-message__description"],[3,"oneStep","ngClass"],[1,"c-contact-support"],[3,"pageTitle"]],template:function(e,o){1&e&&(t.j41(0,"main"),t.nrm(1,"header"),t.j41(2,"div",0)(3,"div",1)(4,"div",2),t.DNE(5,vo,1,0,"svg-icon",3)(6,Co,6,2,"div",4)(7,Io,4,9)(8,xo,1,0,"sms-activation"),t.k0s(),t.nrm(9,"div",5),t.k0s(),t.DNE(10,Fo,2,1,"div",6),t.nrm(11,"footer-component",7),t.k0s()()),2&e&&(t.R7$(5),t.vxM(o.show18PlusIcon?5:-1),t.R7$(),t.vxM(o.isSuccessfulRegistration?6:7),t.R7$(2),t.vxM(o.registrationService.isSmsActivationActive()?8:-1),t.R7$(),t.xc7("background-image","url("+o.backOfficeBaseUrl+o.registrationBackgroundImageUrl+")"),t.R7$(),t.vxM(null!=o.currentSeoContent&&o.currentSeoContent.pageTitle?10:-1),t.R7$(),t.Y8G("pageName",o.pageName))},dependencies:[g.NgClass,d.D,I.n,P.L,ft,ct,et,st.w],styles:["[_nghost-%COMP%]{width:100%}.c-registration-form[_ngcontent-%COMP%]{display:flex;flex-direction:column}.c-registration-form.blinking-open[_ngcontent-%COMP%], .c-registration-form.itsme-open[_ngcontent-%COMP%]{opacity:0}.c-registration-form__providers[_ngcontent-%COMP%]{display:flex;gap:10px;margin-bottom:1rem}.c-registration-form__provider[_ngcontent-%COMP%]{flex:1}.c-general-error[_ngcontent-%COMP%]{padding:20px;margin-bottom:20px;background-color:var(--primary);color:var(--white)}.c-general-error__text[_ngcontent-%COMP%]{font-family:var(--font-cond);font-size:14px;font-weight:600;line-height:20px;text-transform:uppercase}.c-general-error__text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:var(--base-yellow-01)}.c-general-error__text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover, .c-general-error__text[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:active{text-decoration:none}.c-registration-wrapper[_ngcontent-%COMP%]{overflow-y:auto;scroll-behavior:smooth;background-color:var(--light-grey-8);height:calc(100vh - 80px)}.c-registration-success-wrapper[_ngcontent-%COMP%]{text-align:center}.c-input-field[_ngcontent-%COMP%], .c-select-field[_ngcontent-%COMP%]{position:relative;margin-bottom:10px}.c-input-field.c-input-field--password[_ngcontent-%COMP%]:before, .c-select-field.c-input-field--password[_ngcontent-%COMP%]:before{right:40px}.c-input-field.c-input-field--radio[_ngcontent-%COMP%]:after, .c-select-field.c-input-field--radio[_ngcontent-%COMP%]:after{display:none}.c-input-field.c-input-field--address[_ngcontent-%COMP%], .c-select-field.c-input-field--address[_ngcontent-%COMP%]{display:grid;align-items:center;grid-template-columns:auto 60%}.c-input-field.c-input-field--address[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%], .c-select-field.c-input-field--address[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%]{grid-column:2}.c-input-field.c-input-field--address[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%], .c-select-field.c-input-field--address[_ngcontent-%COMP%] .alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{width:100%!important;margin-inline:0}.c-input-field.disabled[_ngcontent-%COMP%], .c-select-field.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-input-field--alert[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{position:relative;display:block;width:60%;height:auto;font-family:var(--font);background-color:var(--base-primary);color:var(--white);border-radius:0 0 4px 4px;font-size:12px;padding-left:5px;line-height:20px;margin-bottom:10px;margin-left:auto;margin-top:-1px}.c-input-field--alert[_ngcontent-%COMP%] .c-select-wrapper[_ngcontent-%COMP%]{border-radius:4px 4px 0 0;border-color:var(--base-primary)}.c-input-field--alert[_ngcontent-%COMP%] .c-input-field__label[_ngcontent-%COMP%]{color:var(--base-primary)}.c-input-field--alert[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%]{border-radius:4px 4px 0 0;border-color:var(--base-primary)}.c-input-field__inputs-wrapper[_ngcontent-%COMP%]{max-width:60%;width:100%;display:flex;align-items:center}.c-input-field__label[_ngcontent-%COMP%]{line-height:30px;display:flex;justify-content:space-between}.required[_ngcontent-%COMP%]{margin-right:auto;margin-left:3px}.c-input-label__text[_ngcontent-%COMP%]{max-width:30%;font-family:var(--font);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.c-input-field__phone[_ngcontent-%COMP%]{display:flex;width:60%;gap:10px}.c-input-field__phone[_ngcontent-%COMP%] .c-button[_ngcontent-%COMP%]{min-width:30%;max-width:fit-content;height:30px}.c-input-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%}.c-input-wrapper[_ngcontent-%COMP%] .c-input[_ngcontent-%COMP%], .c-input-wrapper[_ngcontent-%COMP%] .c-error-message[_ngcontent-%COMP%]{width:100%}.c-input[_ngcontent-%COMP%]{width:60%;padding:0 10px;line-height:28px;font-size:12px;font-family:var(--font-cond);border:1px solid var(--baseAccountBlue04);background-color:var(--baseBlue08);color:var(--baseTextColor);border-radius:4px}.c-input.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.c-input[_ngcontent-%COMP%]:focus{border-color:var(--baseAccountBlue05)}.c-input[_ngcontent-%COMP%]:disabled{color-scheme:dark;border:red}.c-input[disabled][_ngcontent-%COMP%]{opacity:.4}.c-input-radio-container[_ngcontent-%COMP%]{position:relative;display:flex;align-items:center;margin-right:15px;text-transform:capitalize}.c-input-radio[_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer;height:0;width:0}.c-input-radio[_ngcontent-%COMP%]:checked ~ .c-input-radio__checkmark[_ngcontent-%COMP%]{border-width:10px;border-color:var(--success);color:var(--white)}.c-input-radio__checkmark[_ngcontent-%COMP%]{position:relative;color:var(--registrationModalBg);width:20px;height:20px;border-radius:50%;margin-right:5px;border:1px solid var(--inputColor);transition:border .2s linear;display:flex;align-items:center;justify-content:center}.c-input-radio__checkmark[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{position:absolute;display:flex;align-items:center;z-index:var(--z-index-dropdown);transition:color .4s linear}.c-input__show-password[_ngcontent-%COMP%]{color:var(--baseTextColor);position:absolute;right:4px;top:16px;transform:translateY(-50%);height:20px;width:20px;overflow-y:hidden;border-radius:50%;transition:all .2s linear}.c-input__show-password[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{width:20px;height:40px;transition:transform .2s linear}.c-input__show-password.c-input__show-password--show[_ngcontent-%COMP%] .show-password[_ngcontent-%COMP%]{transform:translateY(-50%)}.c-input--special[_ngcontent-%COMP%]{width:100%;padding:0 10px 0 30px;border-radius:4px;border:1px solid var(--baseAccountBlue04);background-color:var(--baseBlue08);color:var(--baseTextColor);transition:opacity .2s linear}.c-input--special[_ngcontent-%COMP%]:not(:disabled){opacity:1}.c-input--special[_ngcontent-%COMP%]:disabled{opacity:.4}.c-select-field[_ngcontent-%COMP%]:after{display:none}.c-select-field[_ngcontent-%COMP%] .c-select-wrapper[_ngcontent-%COMP%]{position:relative}.c-select-field.disabled[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-select-field__label[_ngcontent-%COMP%]{display:flex;justify-content:space-between;line-height:28px}.c-select-wrapper[_ngcontent-%COMP%]{position:relative;width:60%;height:30px;padding:0;line-height:28px;font-size:12px;border-radius:4px;color:var(--baseTextColor);border:1px solid var(--baseAccountBlue04)}.c-select-wrapper[_ngcontent-%COMP%] .c-select-wrapper--icon[_ngcontent-%COMP%]{width:6px;height:12px;transform:rotate(90deg);position:absolute;top:8px;right:10px;pointer-events:none}.c-select-wrapper.manually-disabled[_ngcontent-%COMP%]{pointer-events:none;touch-action:none;opacity:.4}.c-select[_ngcontent-%COMP%]{width:100%;height:30px;padding:0 10px;border:0;appearance:none;color:var(--baseTextColor);background-color:var(--baseBlue08);background-size:20px}.c-select[_ngcontent-%COMP%] option[_ngcontent-%COMP%]{color:currentColor;background-color:var(--baseBlue08)}.c-select[disabled][_ngcontent-%COMP%], .c-select.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none}.c-select[disabled][_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%], .c-select.manually-disabled[_ngcontent-%COMP%] + svg-icon[_ngcontent-%COMP%]{pointer-events:none;opacity:.4}.c-select-three[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr 1fr;width:60%;grid-gap:10px}.c-select-three[_ngcontent-%COMP%] .c-select-wrapper[_ngcontent-%COMP%]{width:100%}.c-checkbox-field[_ngcontent-%COMP%]{margin-bottom:10px}.c-checkbox-field.manually-disabled[_ngcontent-%COMP%]{opacity:.4;pointer-events:none;touch-action:none}.c-checkbox-field__input-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center}.c-checkbox-field__input-wrapper[_ngcontent-%COMP%] .c-input-field__info[_ngcontent-%COMP%], .c-checkbox-field__input-wrapper[_ngcontent-%COMP%] .c-input-field__label[_ngcontent-%COMP%]{width:60%}.c-checkbox-field__input-wrapper[_ngcontent-%COMP%] .c-input-field__info[_ngcontent-%COMP%]{padding-left:30px}.c-input-field--order-first[_ngcontent-%COMP%]{order:-1}.c-checkbox-field__label[_ngcontent-%COMP%]{font-family:var(--font);position:relative;line-height:28px;display:flex;justify-content:space-between;align-items:center;width:40%}.c-checkbox-field__label[_ngcontent-%COMP%] .c-switch[_ngcontent-%COMP%]{position:absolute;right:-21px;
1display:flex;align-items:center;z-index:var(--z-index-dropdown-below)}.c-checkbox[_ngcontent-%COMP%]{width:60%;font-size:12px;display:flex}.c-checkbox[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{line-height:22px;margin-top:4px}.c-checkbox-input[_ngcontent-%COMP%]{visibility:hidden;width:0;height:0;margin-right:5px;background-color:transparent;color:var(--baseTextColor)}.c-checkbox-input[_ngcontent-%COMP%]:checked ~ .active[_ngcontent-%COMP%]{display:inline-flex}.c-checkbox-input[_ngcontent-%COMP%]:checked ~ .not-active[_ngcontent-%COMP%]{display:none}.c-checkbox-input__icon[_ngcontent-%COMP%]{width:15px;height:15px}.c-checkbox-input__icon.active[_ngcontent-%COMP%]{color:var(--base-yellow-01);display:none}.c-checkbox-input__icon.not-active[_ngcontent-%COMP%]{display:inline-flex}.c-action-wrapper[_ngcontent-%COMP%]{text-align:center;margin-top:20px;display:flex;gap:10px;order:999}.l-registration-page-wrapper[_ngcontent-%COMP%]{overflow:auto;height:calc(100vh - 80px);overscroll-behavior-y:none}.l-registration-page[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 1fr;min-height:calc(100vh - 80px)}.l-registration-page__left[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;background-color:var(--baseBlack);border-radius:0 8px 8px 0;min-width:50%;z-index:var(--z-index-above-min);position:relative}.l-registration-page__right[_ngcontent-%COMP%]{background-repeat:no-repeat;background-size:cover;position:relative;background-color:var(--baseBlack)}@media screen and (max-width: 1366px){.l-registration-page__right[_ngcontent-%COMP%]{background-size:100%}}.c-registration-success-message[_ngcontent-%COMP%]{display:flex;flex-direction:column;flex:1;align-items:center;justify-content:center;color:var(--baseAccountSettingsColor09);font-family:var(--font)}.c-registration-success-message__icon[_ngcontent-%COMP%]{width:80px;height:80px;margin-top:-150px;margin-bottom:80px;color:var(--baseAccountSettingsColor09)}.c-18-plus-icon[_ngcontent-%COMP%]{width:42px;height:42px;position:absolute;top:25px;right:25px}.c-registration-success-message__title[_ngcontent-%COMP%]{font-size:24px;font-weight:600;text-transform:uppercase;margin-bottom:32px;margin-top:0;text-align:center}.c-registration-success-message__description[_ngcontent-%COMP%]{font-size:14px;line-height:18px;text-align:center}.c-did-you-mean[_ngcontent-%COMP%]{display:flex;cursor:pointer;width:60%;margin-left:auto;background:var(--base-orange-01);font-size:12px;line-height:16px;color:var(--dark-grey);padding:3px 8px 4px;margin-top:3px;transition:opacity .3s linear}.c-ipification-button[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:10px;height:44px;background-color:var(--ipification-red);border-radius:4px;min-width:240px;cursor:pointer;transition:all .2s linear}.c-ipification-button.disabled[_ngcontent-%COMP%]{opacity:.4;cursor:not-allowed;pointer-events:none}.c-ipification-button[_ngcontent-%COMP%]:active{transform:scale(.965)}.c-ipification-button__icon[_ngcontent-%COMP%]{height:16px}.c-input-field.disabled[_ngcontent-%COMP%]{pointer-events:none}.c-registration-alert[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px;order:990}.c-registration-alert__icon[_ngcontent-%COMP%]{width:22px;height:21px;flex-shrink:0;color:var(--baseResponsibleGamingColor)}.c-registration-alert__content[_ngcontent-%COMP%]{font-family:var(--font);font-size:12px;font-weight:400;line-height:16px}.c-registration-alert__link[_ngcontent-%COMP%]{color:var(--base-green-01)}.c-password-validation[_ngcontent-%COMP%], .c-input-validation-indicator[_ngcontent-%COMP%]{display:block;width:60%;margin-left:auto}.c-seo-content-wrapper[_ngcontent-%COMP%]{margin:0 10px}.c-contact-support[_ngcontent-%COMP%]{height:100%;margin-bottom:50px;align-items:end}"]})}}(0,G.Cg)([U.X],nt.prototype,"_subscribeOnUserAccess",null);const yo=[{path:"",canActivate:[J],component:nt}];var Mo=s(44844),Po=s(60488);let Ro=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({imports:[g.CommonModule,M.A,_.h,a.X1,yt.f,Po.z]})}}return n})(),So=(()=>{class n{static{this.\u0275fac=function(o){return new(o||n)}}static{this.\u0275mod=t.$C({type:n})}static{this.\u0275inj=t.G2t({providers:[Y.i,J,It.C,Ot,Ft.IdScanService],imports:[f.iI.forChild(yo),u.U,a.X1.withConfig({callSetDisabledState:"whenDisabledForLegacyCode"}),M.A,a.YN,Mo.k,Ro,Mt.D,X.a,Pt.h,Rt,St,ft,ct]})}}return n})()},51740:(q,R,s)=>{s.d(R,{B:()=>$});var a=s(10467),f=s(54438),M=s(60177),u=s(62125),Y=s(95006),t=s(15539);const G=[(h,g)=>g.sportName||g.regionName||g.leagueName?h.replace(/\{sport\}/g,g.sportName||"").replace(/\{region\}/g,g.regionName||"").replace(/\{league\}/g,g.leagueName||""):h,(h,g)=>{if(!g.homeName)return h;let d=g.homeName;return g.awayName&&(d+=` ${g.awayName}`),h.replace("{rivals}",d)},(h,g)=>g.websiteName?h.replace("{site}",g.websiteName):h,(h,g)=>g.casinoGameName?h.replace("{casinoGameName}",g.casinoGameName):h],x=(h,g)=>(!g||!h||G.forEach(d=>{h=d(h,g)}),h);var z=s(85046),A=s(345),W=s(22804),U=s(21626),L=s(84978),y=s(38933),T=s(39934),B=s(2091);let $=(()=>{class h{constructor(d,I,P,_,E,S,j,X,Q,F){this._metaService=d,this._titleService=I,this._localizationService=P,this._httpClient=_,this._configurationService=E,this._hrefLangService=S,this._routingService=j,this._router=X,this._transferState=Q,this._platformId=F}_setMetaData(d,I=!1,P=""){let S=!1;this._addMetaTag({name:"description",content:(0,u.A)(d,"metaDescription","")}),this._addMetaTag({name:"keywords",content:(0,u.A)(d,"metaKeywords","")}),S=typeof window<"u"?(0,z.t9)(window.location.href):(0,z.t9)(this._router.url),this._setNoIndexMetaTag({name:"robots",content:"noindex"},d.noindex),this._setNoIndexFollowMetaTag({name:"robots",content:"noindex,follow"},S),this._addTitle(d.metaTitle),I&&("TIER_1"===P||"TIER_2"===P)&&this._setNoIndexFollowMetaTag({name:"robots",content:"noindex, follow"},!0)}_addMetaTag(d){const I=(0,u.A)(d,"name","");this._metaService.getTag(`name='${I}'`)?this._metaService.updateTag(d):this._metaService.addTag(d)}_setNoIndexMetaTag(d,I){I?this._addMetaTag(d):this._metaService.removeTag(`name='${d.name}'`)}_setNoIndexFollowMetaTag(d,I){I?this._addMetaTag(d):this._metaService.removeTag(`name='${d.name}'`)}_addTitle(d){this._titleService.setTitle(d)}fetchSeoContent(d,I=!1,P={}){var _=this;return(0,a.A)(function*(){if(!d.pageName&&!d.id)return Promise.resolve({content:"",metaDescription:"",metaKeywords:"",metaTitle:"",pageTitle:"",noindex:!1,seoLinkedWebsite:{},xDefault:""});const E=_._localizationService.getSelectedLocale(),S=_._configurationService.getParam("website_id");if(!S)return Promise.resolve({content:"",metaDescription:"",metaKeywords:"",metaTitle:"",pageTitle:"",noindex:!1,seoLinkedWebsite:{},xDefault:""});let j=`${BO_API_URL}
1/seo/website/${S}/${E}/${d.type}/${d.pageName||d.id}`;const X=[];d.altCtx&&X.push(`altCtx=${d.altCtx}`),d.customPage&&X.push(`customPage=${d.customPage}`),X.length>0&&(j+=`?${X.join("&")}`);const Q=(0,f.zw6)(`SEO_${j}`);if(!(0,M.isPlatformServer)(_._platformId)){const F=_._transferState.get(Q,null);if(F){_._transferState.remove(Q);const Z=JSON.parse(F);return I||_._setMetaData(Z),Object.keys((0,u.A)(Z,"seoLinkedWebsite",{})).length>0&&_._hrefLangService.addOrReplaceHrefLang((0,u.A)(Z,"seoLinkedWebsite",{}),(0,u.A)(Z,"xDefault","")),Promise.resolve(Z)}}return _._attachAdditionalSeoParamsProperties(d),_._httpClient.get(j).pipe((0,Y.T)(F=>({content:x((0,u.A)(F,"content",""),d.entity),metaDescription:x((0,u.A)(F,"metaDescription",""),d.entity),metaKeywords:x((0,u.A)(F,"metaKeywords",""),d.entity),metaTitle:x((0,u.A)(F,"metaTitle",""),d.entity),pageTitle:x((0,u.A)(F,"pageTitle",""),d.entity),noindex:(0,u.A)(F,"noindex",!1),seoLinkedWebsite:(0,u.A)(F,"seoLinkedWebsite",{}),xDefault:(0,u.A)(F,"xDefault","")})),(0,t.M)(F=>{(0,M.isPlatformServer)(_._platformId)&&_._transferState.set(Q,JSON.stringify(F)),I||_._setMetaData(F,P?.isSingleEventArchived,P?.seoLayer),Object.keys((0,u.A)(F,"seoLinkedWebsite",{})).length>0&&_._hrefLangService.addOrReplaceHrefLang((0,u.A)(F,"seoLinkedWebsite",{}),(0,u.A)(F,"xDefault",""))})).toPromise()})()}_attachAdditionalSeoParamsProperties(d){d.entity={...d.entity,websiteName:this._configurationService.getParam("website_name")}}static{this.\u0275fac=function(I){return new(I||h)(f.KVO(A.W8),f.KVO(A.hE),f.KVO(W.P),f.KVO(U.Qq),f.KVO(L.s),f.KVO(y.N),f.KVO(T.O),f.KVO(B.Ix),f.KVO(f.pJN),f.KVO(f.Agw))}}static{this.\u0275prov=f.jDH({token:h,factory:h.\u0275fac,providedIn:"root"})}}return h})()},54367:(q,R,s)=>{s.d(R,{A:()=>J});var a=s(70563),f=s(6944),M=s(66513),u=s(43744),Y=f.A?f.A.isConcatSpreadable:void 0;const C=function t(b){return(0,u.A)(b)||(0,M.A)(b)||!!(Y&&b&&b[Y])},J=function D(b,G,x,z,A){var W=-1,U=b.length;for(x||(x=C),A||(A=[]);++W<U;){var L=b[W];G>0&&x(L)?G>1?D(L,G-1,x,z,A):(0,a.A)(A,L):z||(A[A.length]=L)}return A}},90941:(q,R,s)=>{s.d(R,{A:()=>L});var a=s(38587),f=s(70539);const u=function M(y,T){return!(null==y||!y.length)&&(0,f.A)(y,T,0)>-1},t=function Y(y,T,B){for(var $=-1,h=null==y?0:y.length;++$<h;)if(B(T,y[$]))return!0;return!1};var C=s(25934),D=s(94226);var G=s(83998);const A=D.A&&1/(0,G.A)(new D.A([,-0]))[1]==1/0?function(y){return new D.A(y)}:function J(){},L=function U(y,T,B){var $=-1,h=u,g=y.length,d=!0,I=[],P=I;if(B)d=!1,h=t;else if(g>=200){var _=T?null:A(y);if(_)return(0,G.A)(_);d=!1,h=C.A,P=new a.A}else P=T?[]:I;t:for(;++$<g;){var E=y[$],S=T?T(E):E;if(E=B||0!==E?E:0,d&&S==S){for(var j=P.length;j--;)if(P[j]===S)continue t;T&&P.push(S),I.push(E)}else h(P,S,B)||(P!==I&&P.push(S),I.push(E))}return I}}}]);
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.