1"use strict";(self.webpackChunkAppLaBox=self.webpackChunkAppLaBox||[]).push([[361],{98659(U,M,i){i.d(M,{e:()=>m,l:()=>e});var a=i(75648);function e(u){return[{key:"minLength",satisfied:u.length>=a.Bw},{key:"lowercase",satisfied:a.A8.test(u)},{key:"uppercase",satisfied:a.tf.test(u)},{key:"number",satisfied:a.Ud.test(u)},{key:"specialChar",satisfied:a.gi.test(u)}]}function m(u){if(!u)return{points:0,percent:"0%",color:"transparent"};let h=0;return u.length>=a.Bw&&h++,a.A8.test(u)&&h++,a.tf.test(u)&&h++,a.Ud.test(u)&&h++,a.gi.test(u)&&h++,{points:h,percent:20*h+"%",color:0===h?"transparent":h>=5?"var(--ds-color-status-success, #4caf50)":h>2?"var(--ds-color-status-warning, #ff9800)":"var(--ds-color-status-error, #f44336)"}}},75648(U,M,i){i.d(M,{A8:()=>e,A9:()=>a,Bw:()=>v,Ud:()=>u,gi:()=>h,tf:()=>m});const a=/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?=.*[ `!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~])[A-Za-z\xc0-\xd6\xd8-\xf6\xf8-\xff\d `!@#$%^&\xa8\xb0*()_+\-=[\]{};':"\\|,.<>/?~]{8,}$/,e=/[a-z\xe0-\xf6\xf8-\xff]/,m=/[A-Z\xc0-\xd6\xd8-\xde]/,u=/\d/,h=/[ `!@#$%^&*()_+\-=\[\]{};':"\\|,.<>\/?~]/,v=8},19216(U,M,i){i.d(M,{o:()=>w});var a=i(96354),e=i(44668),m=i(67337),u=i(2615),h=i(29330),v=i(68018);let w=(()=>{var C;class b extends m.k{constructor(N,S){super("Registration",N,"v2"),this.httpClient=N,this.translateService=S,this.countries$=null}getCountries(){return this.countries$||(this.countries$=this.invokeGet("Countries").pipe((0,a.T)(N=>N.map(S=>{const F=`commonPages.countries.${S.code}`,z=this.translateService.instant(F);return{...S,label:z!==F?z:S.label}}).sort((S,F)=>"FR"===S.code?-1:"FR"===F.code?1:S.label.localeCompare(F.label))),(0,e.t)({bufferSize:1,refCount:!0}))),this.countries$}clearCache(){this.countries$=null}static#e=C=()=>(this.\u0275fac=function(S){return new(S||b)(u.KVO(h.Qq),u.KVO(v.c$))},this.\u0275prov=u.jDH({token:b,factory:b.\u0275fac,providedIn:"root"}))}return C(),b})()},82483(U,M,i){i.d(M,{C8:()=>v,Gi:()=>u,Yk:()=>h,fI:()=>w});var a=i(89417),e=i(39243);function u(C){switch(C){case"siret":return[a.k0.required,a.k0.pattern(e.G.siretPattern),a.k0.minLength(14),a.k0.maxLength(14)];case"tva":return[a.k0.required,a.k0.minLength(8),a.k0.maxLength(15)];case"tin":return[a.k0.required]}}function h(C){const b=(C.value??"").toString().trim();return 0===b.length||new RegExp(e.G.siretPattern).test(b)?null:{siret:!0}}function v(C){const b=C.value;if("string"!=typeof b)return;const T=b.replace(/\s/g,"");T!==b&&C.setValue(T,{emitEvent:!1})}function w(C){const b=C.value;if("string"!=typeof b)return;const T=b.replace(/\s/g,"").slice(0,14);T!==b&&C.setValue(T,{emitEvent:!1})}},68340(U,M,i){i.d(M,{g:()=>e});var a=i(75648);function e(){return m=>a.A9.test(m.value)?null:{weakPassword:{value:m.value}}}},43556(U,M,i){i.d(M,{C:()=>m});var a=i(68018),e=i(73664);let m=(()=>{var u;class h{static#e=u=()=>(this.\u0275fac=function(C){return new(C||h)},this.\u0275cmp=e.VBU({type:h,selectors:[["app-admanager-panel"]],decls:18,vars:9,consts:[[1,"admanager-panel"],["aria-hidden","true",1,"admanager-panel__logo"],[1,"admanager-panel__intro"],[1,"admanager-panel__line"],["aria-hidden","true",1,"ds-icon-users"],["aria-hidden","true",1,"ds-icon-shopping-cart"],["aria-hidden","true",1,"ds-icon-monitor"]],template:function(C,b){1&C&&(e.rj2(0,"div",0),e.Hgh(1,"div",1),e.rj2(2,"div",2)(3,"div",3),e.Hgh(4,"i",4),e.rj2(5,"span"),e.EFF(6),e.nI1(7,"translate"),e.eux()(),e.rj2(8,"div",3),e.Hgh(9,"i",5),e.rj2(10,"span"),e.EFF(11),e.nI1(12,"translate"),e.eux()(),e.rj2(13,"div",3),e.Hgh(14,"i",6),e.rj2(15,"span"),e.EFF(16),e.nI1(17,"translate"),e.eux()()()()),2&C&&(e.R7$(6),e.JRh(e.bMT(7,3,"page.admanagerPanel.line1")),e.R7$(5),e.JRh(e.bMT(12,5,"page.admanagerPanel.line2")),e.R7$(5),e.JRh(e.bMT(17,7,"page.admanagerPanel.line3")))},dependencies:[a.h,a.D9],styles:[".admanager-panel[_ngcontent-%COMP%]{position:relative}.admanager-panel__logo[_ngcontent-%COMP%]{position:absolute;left:50%;transform:translate(-50%);width:clamp(16.25rem,36vw,32.5rem);height:6.25rem;top:6.25rem;background-image:var(--ds-logo-url);background-repeat:no-repeat;background-size:contain;background-position:center;pointer-events:none}.admanager-panel__intro[_ngcontent-%COMP%]{position:absolute;
1left:50%;transform:translate(-50%);width:clamp(16.25rem,36vw,32.5rem);top:15.5rem;display:flex;flex-direction:column;gap:3.3125rem;color:#fff;text-shadow:0 .1rem .2rem rgba(0,0,0,.35);text-align:left}.admanager-panel__line[_ngcontent-%COMP%]{display:flex;align-items:center;gap:1rem;width:100%;margin:0 auto;max-width:31.25rem}.admanager-panel__line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:3.5rem;height:3.5rem;flex:0 0 3.5rem;color:#fff}.admanager-panel__line[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:before{display:inline-block;line-height:1;text-align:center}.admanager-panel__line[_ngcontent-%COMP%] i.ds-icon-users[_ngcontent-%COMP%]:before{font-size:1.721rem}.admanager-panel__line[_ngcontent-%COMP%] i.ds-icon-shopping-cart[_ngcontent-%COMP%]:before{font-size:1.889rem}.admanager-panel__line[_ngcontent-%COMP%] i.ds-icon-monitor[_ngcontent-%COMP%]:before{font-size:1.642rem}.admanager-panel__line[_ngcontent-%COMP%] span[_ngcontent-%COMP%]{flex:1 1 26.75rem;max-width:26.75rem;font-weight:500;font-size:clamp(.9375rem,2vw,1.125rem);line-height:1.4;color:#fff}@media(max-width:62rem){.admanager-panel__intro[_ngcontent-%COMP%]{display:none}.admanager-panel__logo[_ngcontent-%COMP%]{position:relative;top:0;left:0;transform:none;margin:3.125rem auto 0;width:clamp(12.5rem,65vw,21.25rem);height:calc(var(--ds-logo-height, 2.5rem) * 2.2);background-image:none;background-color:#0032ff;-webkit-mask-image:var(--ds-logo-url);-webkit-mask-repeat:no-repeat;-webkit-mask-position:center;-webkit-mask-size:contain}}"]}))}return u(),h})()},27361(U,M,i){i.r(M),i.d(M,{signupRoutes:()=>dt});var a=i(2615),e=i(73664),m=i(60177),u=i(7673),h=i(84412),v=i(21413),w=i(5964);const F=new a.nKC("recaptcha-language"),z=new a.nKC("recaptcha-base-url"),Z=new a.nKC("recaptcha-nonce-tag"),I=new a.nKC("recaptcha-v3-site-key"),y=new a.nKC("recaptcha-loader-options"),f={loadScript:function k(r,o,d,{url:t,lang:n,nonce:s}={}){window.ng2recaptchaloaded=()=>{d(grecaptcha)};const c=document.createElement("script");c.innerHTML="";const{url:_,nonce:O}=o(new URL(t||"https://www.google.com/recaptcha/api.js"));_.searchParams.set("render","explicit"===r?r:r.key),_.searchParams.set("onload","ng2recaptchaloaded"),_.searchParams.set("trustedtypes","true"),n&&_.searchParams.set("hl",n),c.src=_.href;const E=O||s;E&&c.setAttribute("nonce",E),c.async=!0,c.defer=!0,document.head.appendChild(c)},newLoadScript:function l({v3SiteKey:r,onBeforeLoad:o,onLoaded:d}){f.loadScript(r?{key:r}:"explicit",o,d)}};let V=(()=>{var r;class o{constructor(t,n,s,c,_,O){this.platformId=t,this.language=n,this.baseUrl=s,this.nonce=c,this.v3SiteKey=_,this.options=O;const E=this.init();this.ready=E?function g(r){return r.asObservable().pipe((0,w.p)(o=>null!==o))}(E):(0,u.of)()}init(){if(o.ready)return o.ready;if(!(0,m.UE)(this.platformId))return;const t=new h.t(null);return o.ready=t,f.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:n=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(n);const s=new URL(this.baseUrl??n);return this.language&&s.searchParams.set("hl",this.language),{url:s,nonce:this.nonce}},onLoaded:n=>{let s=n;this.options?.onLoaded&&(s=this.options.onLoaded(n)),t.next(s)}}),t}static#e=r=()=>(this.ready=null,this.\u0275fac=function(n){return new(n||o)(a.KVO(e.Agw),a.KVO(F,8),a.KVO(z,8),a.KVO(Z,8),a.KVO(I,8),a.KVO(y,8))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac}))}return r(),o})(),ce=(()=>{var r;class o{constructor(t,n,s){this.recaptchaLoader=n,this.zone=t,this.siteKey=s,this.init()}get onExecute(){return this.onExecuteSubject||(this.onExecuteSubject=new v.B,this.onExecuteObservable=this.onExecuteSubject.asObservable()),this.onExecuteObservable}get onExecuteError(){return this.onExecuteErrorSubject||(this.onExecuteErrorSubject=new v.B,this.onExecuteErrorObservable=this.onExecuteErrorSubject.asObservable()),this.onExecuteErrorObservable}execute(t){const n=new v.B;return this.grecaptcha?this.executeActionWithSubject(t,n):(this.actionBacklog||(this.actionBacklog=[]),this.actionBacklog.push([t,n])),n.asObservable()}executeActionWithSubject(t,n){const s=c=>{this.zone.run(()=>{n.error(c),this.onExecuteErrorSubject&&this.onExecuteErrorSubject.next({action:t,error:c})})};this.zone.runOutsideAngular(()=>{try{this.grecaptcha.execute(this.siteKey,{action:t}).then(c=>{this.zone.run(()=>{n.next(c),n.complete(),this.onExecuteSubject&&this.onExecuteSubject.next({action:t,token:c})})},s)}catch(c){s(c)}})}init(){this.recaptchaLoader.ready.subscribe(t=>{this.grecaptcha=t,this.actionBacklog&&this.actionBacklog.length>0&&(this.actionBacklog.forEach(([n,s])=>this.executeActionWithSubject(n,s)),this.actionBacklog=void 0)})}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(e.SKi),a.KVO(V),a.KVO(I
1))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac}))}return r(),o})(),ye=(()=>{var r;class o{static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)},this.\u0275mod=e.$C({type:o}),this.\u0275inj=a.G2t({providers:[ce,V]}))}return r(),o})();var B=i(72200),P=i(89079),p=i(89417),x=i(68018),ee=i(17829),te=i(47672),ne=i(6773),le=i(45175),ue=i(54865),Ie=i(51588),Me=i(62038),Oe=i(70980),L=i(75648),Pe=i(98659),D=i(425),A=function(r){return r.ACCOUNT_INFOS="account-infos",r.COMPANY_INFOS="company-infos",r.CONFIRMATION="confirmation",r.ACTIVATION="activation",r}(A||{}),R=i(96354),K=i(67337),Se=i(68340),G=i(83665),X=i(29330);let Y=(()=>{var r;class o extends K.k{constructor(t,n){super("Registration",n,"v2"),this.router=t,this.httpClient=n,this.signupAccountInfos={FirstName:null,LastName:null,Email:null,Password:null,isValid:!1},this.errorValidationSubject=new v.B,this.errorValidationObservable$=this.errorValidationSubject.asObservable(),this.emailAlreadyExists=new v.B,this.signupAccountInfosForm=new p.J3({FirstName:new p.hs(this.signupAccountInfos.FirstName,[p.k0.required]),LastName:new p.hs(this.signupAccountInfos.LastName,[p.k0.required]),Email:new p.hs(this.signupAccountInfos.Email,[p.k0.required,p.k0.email]),Password:new p.hs(this.signupAccountInfos.Password,[p.k0.required,(0,Se.g)()])})}getFormParams(){return{signupAccountInfosForm:this.signupAccountInfosForm,FirstName:{onUpdateValue:t=>this.updateValue("FirstName",t.target.value)},LastName:{onUpdateValue:t=>this.updateValue("LastName",t.target.value)},Email:{onUpdateValue:t=>{this.errorValidationSubject.next(!1),this.emailAlreadyExists.next(!1),this.updateValue("Email",t.target.value)}},Password:{onUpdateValue:t=>this.updateValue("Password",t.target.value)}}}nextStep(t,n,s){this.signupAccountInfosForm.valid&&(this.signupAccountInfos.sfChannel=this.signupAccountInfos.sfChannel&&""!==this.signupAccountInfos.sfChannel?this.signupAccountInfos.sfChannel:t,this.signupAccountInfos.sfSource=this.signupAccountInfos.sfSource&&""!==this.signupAccountInfos.sfSource?this.signupAccountInfos.sfSource:n,this.signupAccountInfos.sfKey=this.signupAccountInfos.sfKey&&""!==this.signupAccountInfos.sfKey?this.signupAccountInfos.sfKey:s,this.signupAccountInfos.isValid=!0)}verifyIsNewUser(t){const n=this.signupAccountInfos?.Email;return n?this.invokePost({email:n,reCaptchaValue:t},"VerifyIsNewUser").pipe((0,R.T)(s=>s)):(0,u.of)(!1)}updateValue(t,n){this.signupAccountInfos[t]=n,this.signupAccountInfos.isValid=this.signupAccountInfosForm.valid}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(G.Ix),a.KVO(X.Qq))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})();var de=i(84572),W=i(25558),pe=i(39901),H=i(99437),ke=i(97647),xe=i(88141),Ee=i(99172),$=i(14332),we=i(70378),Re=i(91764),Fe=i(19216),Ve=i(39243),j=i(82483),Te=i(45312);let Q=(()=>{var r;class o extends K.k{constructor(t,n,s,c,_){super("Registration",n,"v2"),this.router=t,this.httpClient=n,this.trackingService=s,this.countryService=c,this.featureFlagService=_,this.signupCompanyInfos={UserCategoryId:null,CompanyName:null,CountryId:null,DepartmentId:null,CompanySiret:null,CompanyTva:null,CompanyTin:null,BusinessSectorId:null,PhoneNumber:null,isValid:!1}
1,this.errorValidationSubject=new v.B,this.errorValidationObservable=this.errorValidationSubject.asObservable(),this.referenceData$=this.invokeGet("referenceData").pipe((0,ke.u)()),this.isFrance=!1,this.isEUNotFrance=!1,this.isNonEU=!1}getRecaptchaKey(){return Te.c.recaptchaSiteKey}buildSignupcompanyInfosForm(){this.signupCompanyInfosForm=new p.J3({UserCategoryId:new p.hs(this.signupCompanyInfos.UserCategoryId,[p.k0.required]),CompanyName:new p.hs(this.signupCompanyInfos.CompanyName,[p.k0.required]),CountryId:new p.hs(this.signupCompanyInfos.CountryId??null,[p.k0.required]),DepartmentId:new p.hs(this.signupCompanyInfos.DepartmentId??null,[]),CompanySiret:new p.hs(this.signupCompanyInfos.CompanySiret,[]),CompanyTva:new p.hs(this.signupCompanyInfos.CompanyTva,[]),CompanyTin:new p.hs(this.signupCompanyInfos.CompanyTin,[]),BusinessSectorId:new p.hs(this.signupCompanyInfos.BusinessSectorId,[p.k0.required]),PhoneNumber:new p.hs(this.signupCompanyInfos.PhoneNumber,[p.k0.required,p.k0.pattern(Ve.G.phoneNumberPattern),p.k0.maxLength(20),p.k0.minLength(10)])}),this.onCountryChange(this.signupCompanyInfos.CountryId)}getFormParams(){return this.signupCompanyInfosForm?{formGroup:this.signupCompanyInfosForm,UserCategoryId:{values$:(0,u.of)(this.userCategories),onUpdateValue:t=>this.updateValue("UserCategoryId",t)},CompanyName:{onUpdateValue:t=>this.updateValue("CompanyName",t.target.value)},CountryId:{values$:(0,u.of)(this.getCountriesAsGeneric()),onUpdateValue:t=>{this.updateValue("CountryId",t.Id),this.onCountryChange(t.Id,!0)}},DepartmentId:{values$:this.getfilteredDepartments$(),onUpdateValue:t=>this.updateValue("DepartmentId",t.Id)},CompanySiret:{onUpdateValue:t=>this.updateValue("CompanySiret",t.target.value)},CompanyTva:{onUpdateValue:t=>this.updateValue("CompanyTva",t.target.value)},CompanyTin:{onUpdateValue:t=>this.updateValue("CompanyTin",t.target.value)},BusinessSectorId:{values$:(0,u.of)(this.businessSectors),onUpdateValue:t=>this.updateValue("BusinessSectorId",t.Id)},PhoneNumber:{onUpdateValue:t=>{this.updateValue("PhoneNumber",t.target.value)}}}:{}}onCountryChange(t,n=!1){if(!this.signupCompanyInfosForm||!this.countries)return;const s=this.countries.find(ae=>ae.id===t);this.isFrance=null!=s&&"FR"===s.code.toUpperCase(),this.isEUNotFrance=null!=s&&s.isEU&&!this.isFrance,this.isNonEU=null!=s&&!s.isEU;const c=this.signupCompanyInfosForm.get("DepartmentId"),_=this.signupCompanyInfosForm.get("CompanySiret"),O=this.signupCompanyInfosForm.get("CompanyTva"),E=this.signupCompanyInfosForm.get("CompanyTin");n?(c.reset(),_.reset(),O.reset(),E.reset(),this.signupCompanyInfos.DepartmentId=null,this.signupCompanyInfos.CompanySiret=null,this.signupCompanyInfos.CompanyTva=null,this.signupCompanyInfos.CompanyTin=null):(c.setValue(this.signupCompanyInfos.DepartmentId??null,{emitEvent:!1}),_.setValue(this.signupCompanyInfos.CompanySiret??null,{emitEvent:!1}),O.setValue(this.signupCompanyInfos.CompanyTva??null,{emitEvent:!1}),E.setValue(this.signupCompanyInfos.CompanyTin??null,{emitEvent:!1})),c.clearValidators(),_.clearValidators(),O.clearValidators(),E.clearValidators(),this.isFrance?(c.setValidators([p.k0.required]),_.setValidators((0,j.Gi)("siret"))):this.isEUNotFrance?O.setValidators((0,j.Gi)("tva")):this.isNonEU&&E.setValidators((0,j.Gi)("tin")),c.updateValueAndValidity(),_.updateValueAndValidity(),O.updateValueAndValidity(),E.updateValueAndValidity()}nextStep(){this.signupCompanyInfosForm.valid&&(this.trackVirtualPage(),this.signupCompanyInfos.isValid=!0,this.router.navigate([`${D.D}/${A.CONFIRMATION}`]))}setUserCategories(t){this.userCategories=t}setDepartments(t){this.departments=t}setBusinessSectors(t){this.businessSectors=t}setCountries(t){this.countries=t}getUserCategories$(){return(0,de.z)([this.getReferenceData(),this.featureFlagService.isEnabled("IsPrestataireSignupEnabled")]).pipe((0,R.T)(([t,n])=>t.userCategories.filter(s=>s.code===$.$.ANNONCEURENDIRECT||s.code===$.$.AGENCEMEDIA||n&&s.code===$.$.PRESTATAIRE).map(s=>({CodeTranslate:`page.signup.companyInfos.${s.code}`,Label:s.label,Code:s.code,Id:s.id})).sort((s,c)=>
1s.Code===$.$.ANNONCEURENDIRECT?-1:c.Code===$.$.ANNONCEURENDIRECT?1:s.Label.localeCompare(c.Label))),(0,xe.M)(t=>this.setDefaultUserCategory(t)))}getDepartments$(){return this.getReferenceData().pipe((0,R.T)(t=>t.departments.map(n=>({CodeTranslate:`${n.label} (${n.code})`,Label:`${n.label} (${n.code})`,Id:n.id,Code:n.code})).sort((n,s)=>this.departmentSortValue(n.Code)-this.departmentSortValue(s.Code))))}departmentSortValue(t){if("2A"===t)return 20.1;if("2B"===t)return 20.2;const n=parseInt(t,10);return Number.isNaN(n)?Number.MAX_SAFE_INTEGER:n}getBusinessSectors$(){return this.getReferenceData().pipe((0,R.T)(t=>t.businessSectors.map(n=>({CodeTranslate:n.label,Label:n.label,Id:n.id}))))}getCountries$(){return this.countryService.getCountries()}getCountriesAsGeneric(){return this.countries?.map(t=>({Id:t.id,Label:t.label,CodeTranslate:t.label,Code:t.code}))??[]}setDefaultUserCategory(t){null==this.signupCompanyInfos.UserCategoryId&&(this.signupCompanyInfos.UserCategoryId=t.find(n=>n.Code===$.$.ANNONCEURENDIRECT)?.Id)}updateValue(t,n){this.signupCompanyInfosForm.updateValueAndValidity(),this.signupCompanyInfos[t]=n,this.signupCompanyInfos.isValid=this.signupCompanyInfosForm.valid}getfilteredDepartments$(){return this.signupCompanyInfosForm.controls.DepartmentId.valueChanges.pipe((0,Ee.Z)(""),(0,R.T)(t=>this._filterDepartment(t,this.departments)))}_filterDepartment(t,n){const s="string"==typeof t?t?.toLowerCase():null;return s?n.filter(c=>c?.Label?.toLowerCase()?.includes(s)):n}getReferenceData(){return this.referenceData$}trackVirtualPage(){const t=this.signupCompanyInfos.UserCategoryId,n=this.userCategories.find(O=>O.Code===$.$.ANNONCEURENDIRECT)?.Id;this.trackingService.TrackWithCustomDimensions(null,"/signup/company-infos/"+(t===n?"entreprise":"agence-media"),"cr\xe9er mon espace")}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(G.Ix),a.KVO(X.Qq),a.KVO(Re.b),a.KVO(Fe.o),a.KVO(we.y))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})(),oe=(()=>{var r;class o extends K.k{constructor(t,n,s){super("Registration",t,"v2"),this.httpClient=t,this.signupAccountInfosService=n,this.signupCompanyInfosService=s}registerNewUser(t){const n=this.signupAccountInfosService.signupAccountInfos,s=this.signupCompanyInfosService.signupCompanyInfos,c={...n,...s,CaptchaValue:t,Channel:n.sfChannel,Source:n.sfSource,Key:n.sfKey};return this.invokePost(c,"RegisterNewUser").pipe((0,R.T)(_=>!0),(0,H.W)(_=>(console.error("Registration failed:",_),(0,u.of)(!1))))}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(X.Qq),a.KVO(Y),a.KVO(Q))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})(),ge=(()=>{var r;class o extends K.k{constructor(t){super("Registration",t,"v2"),this.httpClient=t}verifyIsNewUser(t,n){return this.invokePost({email:t,reCaptchaValue:n},"VerifyIsNewUser")}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(X.Qq))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})();var Ne=i(80932),q=i(63272);let J=(()=>{var r;class o{constructor(t,n,s,c,_,O,E,ae){this.router=t,this.signupAccountInfosService=n,this.signupCompanyInfosService=s,this.signupConfirmationService=c,this.recaptchaV3Service=_,this.newUserValidationWebService=O,this.loaderService=E,this.datadogRumService=ae,this.userVerified=!1}verifyNewUser$(){return this.recaptchaV3Service.execute("verifyIsNewUser").pipe((0,W.n)(t=>this.newUserValidationWebService.verifyIsNewUser(this.signupAccountInfosService.signupAccountInfos.Email,t).pipe((0,pe.U)({userIsValid:!1,error:!0}))),(0,H.W)(t=>(console.error("verifyNewUser error:",t),(0,u.of)({userIsValid:!1,error:!0}))))}prepareCompanyInfosStep(){const t=this.signupAccountInfosService?.signupAccountInfos?.isValid,n=-1!==this.signupAccountInfosService?.signupAccountInfos?.Email?.toLowerCase().indexOf("@tf1.fr");return t?n&&!this.userVerified?this.handleInternalUser():this.userVerified?(this.userVerified=!1,this.loadReferenceDataAndBuildForm()):this.handleExternalUser():(this.redirectToAccountInfos(),!1)}prepareConfirmationStep(){return this.signupAccountInfosService.signupAccountInfos.isValid&&this.signupCompanyInfosService.signupCompanyInfos.isValid?(this.loaderService.changeDisplayLabel("page.signup.confirmation.loader"),this.loaderService.showLoader(),this.recaptchaV3Service.execute("RegisterNewUser").pipe((0,W.n)(t=>this.signupConfirmationService.registerNewUser(t).pipe((0,R.T)(n=>(this.loaderService.hideLoader(),!0===n?(this.datadogRumService.addAction("signup.step.company_infos.completed"),!0):(this.datadogRumService.addAction("signup.step.company_infos.error",{reason:"registration_failed"}),this.redirectToAccountInfos(),!1))))))):(this.redirectToAccountInfos(),!1)}handleInternalUser(){return this.verifyIsNewUser().pipe((0,R.T)(t=>(t.userIsValid?(this.signupAccountInfosService.emailAlreadyExists.next(!1),this.signupCompanyInfosService.signupCompanyInfos.UserCategoryId=4,this.signupCompanyInfosService.signupCompanyInfos.isValid=!0,this.router.navigate([`${D.D}/${A.CONFIRMATION}`])):(this.signupAccountInfosService.errorValidationSubject.next(!0),this.signupAccountInfosService.emailAlreadyExists.next(!0),this.datadogRumService.addAction("signup.step.account_infos.error",{reason:"email_already_exists",user_type:"internal"})),!1)))}handleExternalUser(){return this.verifyIsNewUser().pipe((0,W.n)(t=>t.userIsValid?(this.signupAccountInfosService.emailAlreadyExists.next(!1),this.loadReferenceDataAndBuildForm()):(this.signupAccountInfosService.errorValidationSubject.next(!0),this.signupAccountInfosService.emailAlreadyExists.next(!0),this.datadogRumService.addAction("signup.step.account_infos.error",{reason:"email_already_exists",user_type:"external"}),this.redirectToAccountInfos(),(0,u.of)(!1))))}loadReferenceDataAndBuildForm(){return(0,de.z)([this.signupCompanyInfosService.getUserCategories$(),this.signupCompanyInfosService.getDepartments$(),this.signupCompanyInfosService.getBusinessSectors$(),this.signupCompanyInfosService.getCountries$()]).pipe((0,R.T)(([t,n,s,c])=>(this.signupCompanyInfosService.setUserCategories(t),this.signupCompanyInfosService.setDepartments(n),this.signupCompanyInfosService.setBusinessSectors(s),this.signupCompanyInfosService.setCountries(c),this.signupCompanyInfosService.buildSignupcompanyInfosForm(),!0)))}verifyIsNewUser(){return this.recaptchaV3Service.execute("verifyIsNewUser").pipe((0,W.n)(t=>this.newUserValidationWebService.verifyIsNewUser(this.signupAccountInfosService.signupAccountInfos.Email,t).pipe((0,H.W)((n,s)=>(console.error(n),(0,u.of)({userIsValid:!1}))),(0,pe.U)({userIsValid:!1}))))}redirectToAccountInfos(){this.router.navigate([`${D.D}/${A.ACCOUNT_INFOS}`])}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(G.Ix),a.KVO(Y),a.KVO(Q),a.KVO(oe),a.KVO(ce),a.KVO(ge),a.KVO(Ne.Z),a.KVO(q.C))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})();var De=i(17705);const Ue=["sfChannel"],Be=["sfSource"],$e=["sfKey"],ze=["submitButton"],Ge=r=>({email:r});function je(r,o){1&r&&e.nrm(0,"span",34)}function Le(r,o){if(1&r&&(e.j41(0,"li",37),e.nrm(1,"ds-icon",38),e.j41(2,"span"),e.EFF(3),e.nI1(4,"translate"),e.k0s()()),2&r){const d=o.$implicit;e.AVh("signup-account-infos__password-criteria-item--satisfied",d.satisfied),e.R7$(),e.Y8G("name",d.satisfied?"SUCCESS_1":"CIRCLE")("color",d.satisfied?"STATUS_SUCCESS":"GREY_600")("size","small"),e.R7$(2),e.JRh(e.bMT(4,6,"shared.password.criteria."+d.key))}}function Ke(r,o){if(1&r&&(e.j41(0,"ul",35),e.DNE(1,Le,5,8,"li",36),e.k0s()),2&r){const d=e.XpG();e.R7$(),e.Y8G("ngForOf",d.passwordCriteria)("ngForTrackBy",d.trackByCriterionKey)}}function Xe(r,o){1&r&&e.nrm(0,"ds-spinner",39)}let Ye=(()=>{var r;class o{constructor(t,n,s,c,_,O){this.signupAccountInfosService=t,this.signupOrchestrationService=n,this.renderer=s,this.datadogRumService=c,this.router=_,this.cdr=O,this.passwordVisible=!1,this.passwordFieldType="password",this.passwordValue="",this.passwordStrengthPercent=0,this.passwordStrengthColor="transparent",this.isLoading=!1,this.destroyRef=(0,a.WQX)(a.abz),this.verificationSub=null}ngOnInit(){this.stepViewedAt=Date.now(),this.datadogRumService.addAction("signup.step.account_infos.viewed"),this.emailAlreadyExists$=this.signupAccountInfosService.emailAlreadyExists,this.signupAccountInfosForm=this.signupAccountInfosService.getFormParams();const t=this.signupAccountInfosForm.signupAccountInfosForm;t.get("FirstName").valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(n=>this.signupAccountInfosForm.FirstName.onUpdateValue({target:{value:n}})),t.get("LastName").valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(n=>this.signupAccountInfosForm.LastName.onUpdateValue({target:{value:n}})),t.get("Email").valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(n=>{this.signupAccountInfosForm.Email.onUpdateValue({target:{value:n}}),this.signupAccountInfosService.emailAlreadyExists.next(!1)}),this.updatePasswordStrength(t.get("Password").value??""),t.get("Password").valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(n=>{this.signupAccountInfosForm.Password.onUpdateValue({target:{value:n}}),this.updatePasswordStrength(n??"")})}ngAfterViewInit(){this.setSfTag("sfChannel"),this.setSfTag("sfSource"),this.setSfTag("sfKey"),this.setSfTags()}togglePasswordVisibility(){this.passwordVisible=!this.passwordVisible,this.passwordFieldType=this.passwordVisible?"text":"password"}nextStep(){const t=Date.now()-this.stepViewedAt;this.signupAccountInfosService.nextStep(this.sfChannel.nativeElement.value,this.sfSource.nativeElement.value,this.sfKey.nativeElement.value),this.signupAccountInfosService.signupAccountInfos.isValid&&
1(this.signupAccountInfosService.emailAlreadyExists.next(!1),this.isLoading=!0,this.verificationSub=this.signupOrchestrationService.verifyNewUser$().pipe((0,Oe.j)(()=>{this.verificationSub=null,this.isLoading=!1,this.cdr.markForCheck()})).subscribe(n=>{if(this.verificationSub=null,this.isLoading=!1,this.cdr.markForCheck(),!n.userIsValid)return this.signupAccountInfosService.emailAlreadyExists.next(!0),void this.datadogRumService.addAction("signup.step.account_infos.error",{reason:"email_already_exists"});this.signupOrchestrationService.userVerified=!0,this.datadogRumService.addAction("signup.step.account_infos.completed",{duration_ms:t}),this.router.navigate([`${D.D}/${A.COMPANY_INFOS}`])}))}cancelNavigation(){this.verificationSub?.unsubscribe(),this.verificationSub=null,this.isLoading=!1,this.cdr.markForCheck()}get passwordCriteria(){return(0,Pe.l)(this.passwordValue)}trackByCriterionKey(t,n){return n.key}updatePasswordStrength(t){this.passwordValue=t;const n=[t.length>=L.Bw?1:0,L.A8.test(t)?1:0,L.tf.test(t)?1:0,L.Ud.test(t)?1:0,L.gi.test(t)?1:0].reduce((s,c)=>s+c,0);this.passwordStrengthPercent=20*n,this.passwordStrengthColor=0===n?"transparent":n>=5?"green":n>2?"orange":"red"}setSfTag(t){this[t].value=this.signupAccountInfosService.signupAccountInfos[t],this.renderer.setValue(this[t],this.signupAccountInfosService.signupAccountInfos[t])}setSfTags(){this.submitButtonElement?.nativeElement&&this.renderer.listen(this.submitButtonElement.nativeElement,"mouseover",t=>{if(sessionStorage.paId){const n=atob(sessionStorage.paId);if(n){const s=JSON.parse(n);this.sfChannel.nativeElement.value=s.channel,this.sfKey.nativeElement.value=s.key,this.sfSource.nativeElement.value=s.source}}})}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(e.rXU(Y),e.rXU(J),e.rXU(e.sFG),e.rXU(q.C),e.rXU(G.Ix),e.rXU(De.gRc))},this.\u0275cmp=e.VBU({type:o,selectors:[["app-signup-account-infos"]],viewQuery:function(n,s){if(1&n&&(e.GBs(Ue,5),e.GBs(Be,5),e.GBs($e,5),e.GBs(ze,5,e.aKT)),2&n){let c;e.mGM(c=e.lsd())&&(s.sfChannel=c.first),e.mGM(c=e.lsd())&&(s.sfSource=c.first),e.mGM(c=e.lsd())&&(s.sfKey=c.first),e.mGM(c=e.lsd())&&(s.submitButtonElement=c.first)}},decls:55,vars:66,consts:[["sfChannel",""],["sfSource",""],["sfKey",""],["submitButton",""],[1,"signup-account-infos","color_blue-dark"],["direction","column","gap","large","padding","xxlarge","borderRadius","xsmall","shadow","blue","background","white","alignItems","flex-start","minWidth","250px","maxWidth","600px","alignSelf","center"],[1,"w-100",3,"formGroup"],["hidden","","id","sf-channel","value",""],["hidden","","id","sf-source","value",""],["hidden","","id","sf-key","value",""],[1,"text-start","mb-3"],["translate","page.signup.createSpace",1,"signup-account-infos__title"],[1,"signup-account-infos__separator"],["translate","page.signup.accountInfos.loginInfos",1,"signup-account-infos__subtitle"],[1,"signup-account-infos__mandatory-notice"],[1,"signup-account-infos__mandatory-notice-star"],["direction","column","gap","small","width","fill","alignItems","stretch"],["formControlName","FirstName",3,"label","required","size","grow","dsAutocomplete"],["formControlName","LastName",3,"label","required","size","grow","dsAutocomplete"],[1,"signup-account-infos__field"],["formControlName","Email",3,"label","required","size","grow","dsAutocomplete","errorMessages"],["class","signup-account-infos__error-text","translate","page.signup.accountInfos.emailAlreadyExists",4,"ngIf"],[3,"label","size","mandatory","labelStyle"],[3,"ds-tooltip","name","color","size"],["formControlName","Password",3,"type","placeholder","size","grow","dsAutocomplete"],[1,"ds-input-suffix",3,"click","name","clickable","size"],[1,"signup-account-infos__password-strength"],["class","signup-account-infos__password-criteria",4,"ngIf"],[1,"text-start","mt-2","signup-account-infos__user-notice"],["href","https://www.cnil.fr/fr/plaintes","target","_blank"],["href","https://www.groupe-tf1.fr/rgpd","target","_blank"],[1,"signup-account-infos__submit","mt-4"],["ds-button","","type","button",3,"click","variant","disabled"],["size","small","color","colored",4,"ngIf"],["translate","page.signup.accountInfos.emailAlreadyExists",1,"signup-account-infos__error-text"],[1,"signup-account-infos__password-criteria"],["class","signup-account-infos__password-criteria-item",3,"signup-account-infos__password-criteria-item--satisfied",4,"ngFor","ngForOf","ngForTrackBy"],[1,"signup-account-infos__password-criteria-item"],[3,"name","color","size"],["size","small","color","colored"]],template:function(n,s){if(1&n){const c=e.RV6();e.j41(0,"section",4)(1,"ds-content",5)(2,"form",6),e.nrm(3,"input",7,0)(5,"input",8,1)(7,"input",9,2),e.j41(9,"div",10),e.nrm(10,"span",11),e.j41(11,"span",12),e.EFF(12," - "),e.k0s(),e.nrm(13,"span",13),e.j41(14,"div",14)(15,"span",15),e.EFF(16,"*"),e.k0s(),e.EFF(17,"Champs obligatoires "),e.k0s()(),e.j41(18,"ds-content",16),e.nrm(19,"ds-input",17),e.nI1(20,"translate"),e.nrm(21,"ds-input",18),e.nI1(22,"translate"),e.j41(23,"div",19),e.nrm(24,"ds-input",20),e.nI1(25,"translate"),e.nI1(26,"translate"),e.DNE(27,je,1,0,"span",21),e.nI1(28,"async"),e.k0s(),e.j41(29,"div",19)(30,"ds-label",22),e.nI1(31,"translate"),e.nrm(32,"ds-icon",23),e.nI1(33,"translate"),e.k0s(),e.j41(34,"ds-input",24),e.nI1(35,"translate"),e.j41(36,"ds-icon",25),e.bIt("click",function(){return a.eBV(c),a.Njj(s.togglePasswordVisibility())}),e.k0s()(),e.nrm(37,"div",26),e.DNE(38,Ke,2,2,"ul",27),e.k0s()(),e.j41(39,"div",28)(40,"p"),e.EFF(41," Vos donn\xe9es \xe0 caract\xe8re personnel (nom, pr\xe9nom, email et t\xe9l\xe9phone professionnels), collect\xe9es via ce formulaire, font l'objet d'un traitement \xe0 des fins de prospection commerciale. Destin\xe9es \xe0 la soci\xe9t\xe9 TF1 PUBLICITE et \xe0 ses sous-traitants, vos donn\xe9es \xe0 caract\xe8re personnel seront conserv\xe9es pendant trois (3) ans apr\xe8s le dernier contact avec vous. Vous disposez d'un droit d'acc\xe8s, de rectification, d'effacement, d'opposition, de portabilit\xe9, de limitation, ainsi que du droit de d\xe9finir des directives relatives au sort de vos donn\xe9es personnelles en cas de d\xe9c\xe8s. Pour exercer vos droits pr\xe9cit\xe9s, il vous suffit d'adresser un email \xe0 [email protected]. En cas de difficult\xe9s, vous pouvez contacter directement l'autorit\xe9 de contr\xf4le (CNIL) : "),e.j41(42,"a",29),e.EFF(43,"https://www.cnil.fr/fr/plaintes"),e.k0s(),e.EFF(44,". En savoir plus : "),e.j41(45,"a",30),e.EFF(46,"https://www.groupe-tf1.fr/rgpd"),e.k0s(),e.EFF(47,". "),e.k0s()(),e.j41(48,"div",31)(49,"button",32,3),e.nI1(51,"async"),e.bIt("click",function(){return a.eBV(c),a.Njj(s.isLoading?s.cancelNavigation():s.nextStep())}),e.EFF(52),e.nI1(53,"translate"),e.k0s(),e.DNE(54,Xe,1,0,"ds-spinner",33),e.k0s()()()()}2&n&&(e.R7$(2),e.Y8G("formGroup",s.signupAccountInfosForm.signupAccountInfosForm),e.R7$(17),e.Y8G("label",e.bMT(20,44,"page.signup.accountInfos.FirstName"))("required",!0)("size","small")("grow",!0)("dsAutocomplete","given-name"),e.R7$(2),e.Y8G("label",e.bMT(22,46,"page.signup.accountInfos.LastName"))("required",!0)("size","small")("grow",!0)("dsAutocomplete","family-name"),e.R7$(3),e.Y8G("label",e.bMT(25,48,"page.signup.accountInfos.Email"))("required",!0)("size","small")("grow",!0)("dsAutocomplete","email")("errorMessages",e.eq3(64,Ge,e.bMT(26,50,"page.signup.accountInfos.emailFormatError"))),e.R7$(3),e.Y8G("ngIf",e.bMT(28,52,s.emailAlreadyExists$)),e.R7$(3),e.Y8G("label",e.bMT(31,54,"page.signup.accountInfos.Password"))("size","small")("mandatory",!0)("labelStyle","strong"),e.R7$(2),e.Y8G("ds-tooltip",e.mNQ(e.bMT(33,56,"page.signup.accountInfos.passwordTooltipText")))("name","INFO_1")("c
1olor","PRIMARY")("size","small"),e.R7$(2),e.Y8G("type",s.passwordFieldType)("placeholder",e.bMT(35,58,"page.signup.accountInfos.Password"))("size","small")("grow",!0)("dsAutocomplete","new-password"),e.R7$(2),e.Y8G("name",s.passwordVisible?"EYE_OFF":"EYE")("clickable",!0)("size","small"),e.R7$(),e.xc7("width",s.passwordStrengthPercent,"%")("background-color",s.passwordStrengthColor),e.R7$(),e.Y8G("ngIf",s.passwordValue),e.R7$(11),e.Y8G("variant",s.isLoading?"secondary":"primary")("disabled",!s.isLoading&&(s.signupAccountInfosForm.signupAccountInfosForm.invalid||e.bMT(51,60,s.emailAlreadyExists$))),e.R7$(3),e.SpI(" ",e.bMT(53,62,s.isLoading?"page.signup.accountInfos.cancel":"page.signup.accountInfos.nextStep")," "),e.R7$(2),e.Y8G("ngIf",s.isLoading))},dependencies:[B.MD,B.Sq,B.bT,p.X1,p.qT,p.BC,p.cb,p.YS,p.j4,p.JD,x.h,x.Mm,le.cN,ue.Q,ne.B,Me.E$,ee.K,te.zH,Ie.N,B.Jj,x.D9],styles:['.color_C1[_ngcontent-%COMP%]{color:#333!important}.color_mask[_ngcontent-%COMP%]{color:#0000004d!important}.color_C8[_ngcontent-%COMP%]{color:#736868!important}.color_C9[_ngcontent-%COMP%]{color:#777!important}.color_C2[_ngcontent-%COMP%]{color:silver!important}.color_C3[_ngcontent-%COMP%]{color:#0b51a9!important}.color_C7[_ngcontent-%COMP%]{color:#d9534f!important}.color_C7D[_ngcontent-%COMP%]{color:#9d1c32!important}.color_CW[_ngcontent-%COMP%]{color:#fff!important}.color_blue-dark[_ngcontent-%COMP%]{color:#002864!important}.color_blue-light[_ngcontent-%COMP%]{color:#50a7ff!important}.color_blue-light-plus[_ngcontent-%COMP%]{color:#6ef5d7!important}.color_gray-blue[_ngcontent-%COMP%]{color:#c5cde1!important}.color_gray-blue-light[_ngcontent-%COMP%]{color:#c5cde180!important}.color_pink[_ngcontent-%COMP%]{color:#e15064!important}.color_orange[_ngcontent-%COMP%]{color:#ff8c5a!important}.color_gray[_ngcontent-%COMP%]{color:#ccc!important}.color_gray-light[_ngcontent-%COMP%]{color:#e8e8e8!important}.color_yellow[_ngcontent-%COMP%]{color:gold!important}.background_C1[_ngcontent-%COMP%]{background:#333!important}.background_mask[_ngcontent-%COMP%]{background:#0000004d!important}.background_C8[_ngcontent-%COMP%]{background:#736868!important}.background_C9[_ngcontent-%COMP%]{background:#777!important}.background_C2[_ngcontent-%COMP%]{background:silver!important}.background_C3[_ngcontent-%COMP%]{background:#0b51a9!important}.background_C7[_ngcontent-%COMP%]{background:#d9534f!important}.background_C7D[_ngcontent-%COMP%]{background:#9d1c32!important}.background_CW[_ngcontent-%COMP%]{background:#fff!important}.background_blue-dark[_ngcontent-%COMP%]{background:#002864!important}.background_blue-light[_ngcontent-%COMP%]{background:#50a7ff!important}.background_blue-light-plus[_ngcontent-%COMP%]{background:#6ef5d7!important}.background_gray-blue[_ngcontent-%COMP%]{background:#c5cde1!important}.background_gray-blue-light[_ngcontent-%COMP%]{background:#c5cde180!important}.background_pink[_ngcontent-%COMP%]{background:#e15064!important}.background_orange[_ngcontent-%COMP%]{background:#ff8c5a!important}.background_gray[_ngcontent-%COMP%]{background:#ccc!important}.background_gray-light[_ngcontent-%COMP%]{background:#e8e8e8!important}.background_yellow[_ngcontent-%COMP%]{background:gold!important}@font-face{font-family:montserratmedium;src:url(/assets/font/montserrat-medium-webfont.woff2) format("woff2"),url(/assets/font/montserrat-medium-webfont.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(/assets/font/open-sans-v20-latin-regular.eot);src:local(""),url(/assets/font/open-sans-v20-latin-regular.eot?#iefix) format("embedded-opentype"),url(/assets/font/open-sans-v20-latin-regular.woff2) format("woff2"),url(/assets/font/open-sans-v20-latin-regular.woff) format("woff"),url(/assets/font/open-sans-v20-latin-regular.ttf) format("truetype"),url(/assets/font/open-sans-v20-latin-regular.svg#OpenSans) format("svg")}.signup-account-infos[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding-top:6.25rem}@media(max-width:62rem){.signup-account-infos[_ngcontent-%COMP%]{padding-top:0}}.signup-account-infos-signin__bottom-8[_ngcontent-%COMP%]{bottom:.5rem}.signup-account-infos__title[_ngcontent-%COMP%]{color:var(--ds-color-semantic-tertiary);font-family:Sora;font-size:1.375rem;font-style:normal;font-weight:600;line-height:normal;text-transform:uppercase;margin:0}
1.signup-account-infos__separator[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:1.375rem;font-weight:600}.signup-account-infos__subtitle[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:1.125rem;font-style:normal;font-weight:600;line-height:normal;text-transform:uppercase}.signup-account-infos__field[_ngcontent-%COMP%]{text-align:start}.signup-account-infos__error-text[_ngcontent-%COMP%]{color:var(--ds-color-status-error, red);font-size:.75rem;display:block;margin-top:.25rem}.signup-account-infos__error[_ngcontent-%COMP%]{text-align:start}.signup-account-infos__password-strength[_ngcontent-%COMP%]{height:.5rem;border-radius:.25rem;margin-top:.25rem;transition:width .2s ease,background-color .2s ease}.signup-account-infos__password-criteria[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:.25rem;margin:.5rem 0 0;padding:0;list-style:none}.signup-account-infos__password-criteria-item[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.375rem;font-size:.75rem;color:var(--ds-color-semantic-grey-600)}.signup-account-infos__password-criteria-item--satisfied[_ngcontent-%COMP%]{color:var(--ds-color-status-success, #4caf50)}.signup-account-infos__mandatory-notice[_ngcontent-%COMP%]{font-family:Sora;font-size:.75rem;font-weight:400;color:var(--ds-color-semantic-grey-600);margin-top:.25rem}.signup-account-infos__mandatory-notice-star[_ngcontent-%COMP%]{color:var(--ds-color-semantic-warning-deep)}.signup-account-infos__submit[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem}.signup-account-infos__submit[_ngcontent-%COMP%] button[ds-button][_ngcontent-%COMP%]{flex:1;text-align:center;justify-content:center}.signup-account-infos__user-notice[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:.75rem;font-style:normal;font-weight:400;line-height:normal}'],changeDetection:0}))}return r(),o})();var me=i(38132);let We=(()=>{var r;class o{constructor(){this.signinFormUrl=`/${D.z}`}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)},this.\u0275cmp=e.VBU({type:o,selectors:[["app-signup-activation"]],decls:10,vars:5,consts:[[1,"signup-activation","pt-5","color_blue-dark"],[1,"text-center","mt-4"],["src","../../../../assets/icons/validation.svg","alt",""],["translate","page.signup.activation.title"],["translate","page.signup.activation.text",1,"text-center","mt-4"],["ds-button","","type","submit",3,"variant","routerLink"]],template:function(n,s){1&n&&(e.j41(0,"section",0)(1,"div",1),e.nrm(2,"img",2),e.k0s(),e.j41(3,"div",1),e.nrm(4,"strong",3),e.k0s(),e.nrm(5,"div",4),e.j41(6,"div",1)(7,"button",5),e.EFF(8),e.nI1(9,"translate"),e.k0s()()()),2&n&&(e.R7$(7),e.Y8G("variant","primary")("routerLink",s.signinFormUrl),e.R7$(),e.SpI(" ",e.bMT(9,3,"page.signup.activation.cta")," "))},dependencies:[x.h,x.Mm,me.Wk,ee.K,x.D9],encapsulation:2}))}return r(),o})();var He=i(17792),fe=i(54539);const re=()=>({Default:"S\xe9lectionner"}),se=(r,o)=>o.value;function Qe(r,o){if(1&r&&e.nrm(0,"ds-option",20),2&r){const d=o.$implicit;e.Y8G("value",d.value)("label",d.label)}}function qe(r,o){if(1&r&&e.nrm(0,"ds-option",20),2&r){const d=o.$implicit;e.Y8G("value",d.value)("label",d.label)}}function Je(r,o){if(1&r){const d=e.RV6();e.j41(0,"ds-select",37,2),e.nI1(2,"translate"),e.nI1(3,"translate"),e.nI1(4,"translate"),e.nI1(5,"translate"),e.bIt("selectChange",function(n){a.eBV(d);const s=e.XpG(3);return a.Njj(s.onDepartmentSelect(n))}),e.Z7z(6,qe,1,2,"ds-option",20,se),e.k0s()}if(2&r){let d;const t=e.sdS(1),n=e.XpG(3);e.Y8G("ariaLabel",e.bMT(2,10,"page.signup.companyInfos.DepartmentId"))("errorMessage",null!=n.signupCompanyInfosFormParams&&null!=n.signupCompanyInfosFormParams.formGroup&&null!=(d=n.signupCompanyInfosFormParams.formGroup.get("DepartmentId"))&&d.invalid&&null!=n.signupCompanyInfosFormParams&&null!=n.signupCompanyInfosFormParams.formGroup&&null!=(d=n.signupCompanyInfosFormParams.formGroup.get("DepartmentId"))&&d.touched?e.bMT(3,12,"common.validation.required"):"")("label",e.bMT(4,14,"page.signup.companyInfos.DepartmentId"))("placeholder",e.i5U(5,16,"page.signup.companyInfos.DepartmentId",e.lJ4(19,re)))("search",!0)("required",!0)("selectData",n.departmentOptions)("selectDataSortFn",n.preserveOrder)("size","small")("grow",!0),e.R7$(6),e.Dyx(t.data)}}function Ze(r,o){1&r&&(e.nrm(0,"ds-input",38),e.nI1(1,"translate"),e.nI1(2,"translate")),2&r&&e.Y8G("label",e.bMT(1,6,"page.signup.companyInfos.CompanySiret"))("required",!0)("size","small")("grow",!0)("maxlength",14)("errorMessage",e.bMT(2,8,"page.signup.companyInfos.invalidSiret"))}function et(r,o){1&r&&(e.nrm(0,"ds-input",39),e.nI1(1,"translate"),e.nI1(2,"translate")),2&r&&e.Y8G("label",e.bMT(1,5,"page.signup.companyInfos.CompanyTva"))("required",!0)("size","small")("grow",!0)("errorMessage",e.bMT(2,7,"page.signup.companyInfos.invalidTva"))}function tt(r,o){1&r&&(e.nrm(0,"ds-input",40),e.nI1(1,"translate"),e.nI1(2,"translate"),e.nI1(3,"translate")),2&r&&e.Y8G("label",e.bMT(1,6,"page.signup.companyInfos.CompanyTin"))("required",!0)("size","small")("grow",!0)("placeholder",e.bMT(2,8,"page.signup.companyInfos.CompanyTinPlaceholder"))("errorMessage",e.bMT(3,10,"page.signup.companyInfos.invalidTin"))}function nt(r,o){if(1&r&&e.nrm(0,"ds-option",20),2&r){const d=o.$implicit;e.Y8G("value",d.value)("label",d.label)}}function ot(r,o){if(1&r&&(e.j41(0,"div",41)(1,"span",42),e.EFF(2),e.k0s()()),2&r){const d=o.ngIf;e.R7$(2),e.JRh(d)}}function rt(r,o){if(1&r){const d=e.RV6();e.j41(0,"form",7)(1,"div",8),e.nrm(2,"span",9),e.j41(3,"span",10),e.EFF(4," - "),e.k0s(),e.nrm(5,"span",11),e.j41(6,"div",12)(7,"span",13),e.EFF(8,"*"),e.k0s(),e.EFF(9,"Champs obligatoires "),e.k0s()(),e.j41(10,"ds-content",14)(11,"div",15),e.nrm(12,"ds-label",16),e.nI1(13,"translate"),e.nrm(14,"ds-radiobox-group",17),e.k0s(),e.nrm(15,"ds-input",18),e.nI1(16,"translate"),e.j41(17,"ds-select",19,0),e.nI1(19,"translate"),e.nI1(20,"translate"),e.nI1(21,"translate"),e.nI1(22,"translate"),e.bIt("selectChange",function(n){a.eBV(d);const s=e.XpG(2);return a.Njj(s.onCountrySelect(n))}),e.Z7z(23,Qe,1,2,"ds-option",20,se),e.k0s(),e.DNE(25,Je,8,20,"ds-select",21)(26,Ze,3,10,"ds-input",22)(27,et,3,9,"ds-in
1put",23)(28,tt,4,12,"ds-input",24),e.j41(29,"ds-select",25,1),e.nI1(31,"translate"),e.nI1(32,"translate"),e.nI1(33,"translate"),e.nI1(34,"translate"),e.bIt("selectChange",function(n){a.eBV(d);const s=e.XpG(2);return a.Njj(s.onBusinessSectorSelect(n))}),e.Z7z(35,nt,1,2,"ds-option",20,se),e.k0s(),e.nrm(37,"ds-input",26),e.nI1(38,"translate"),e.nI1(39,"translate"),e.k0s(),e.DNE(40,ot,3,1,"div",27),e.nI1(41,"async"),e.j41(42,"div",28)(43,"p"),e.EFF(44," Vos donn\xe9es \xe0 caract\xe8re personnel (nom, pr\xe9nom, email et t\xe9l\xe9phone professionnels), collect\xe9es via ce formulaire, font l'objet d'un traitement \xe0 des fins de prospection commerciale. Destin\xe9es \xe0 la soci\xe9t\xe9 TF1 PUBLICITE et \xe0 ses sous-traitants, vos donn\xe9es \xe0 caract\xe8re personnel seront conserv\xe9es pendant trois (3) ans apr\xe8s le dernier contact avec vous. Vous disposez d'un droit d'acc\xe8s, de rectification, d'effacement, d'opposition, de portabilit\xe9, de limitation, ainsi que du droit de d\xe9finir des directives relatives au sort de vos donn\xe9es personnelles en cas de d\xe9c\xe8s. Pour exercer vos droits pr\xe9cit\xe9s, il vous suffit d'adresser un email \xe0 [email protected]. En cas de difficult\xe9s, vous pouvez contacter directement l'autorit\xe9 de contr\xf4le (CNIL) : "),e.j41(45,"a",29),e.EFF(46,"https://www.cnil.fr/fr/plaintes"),e.k0s(),e.EFF(47,". En savoir plus : "),e.j41(48,"a",30),e.EFF(49,"https://www.groupe-tf1.fr/rgpd"),e.k0s(),e.EFF(50,". "),e.k0s()(),e.j41(51,"div",31)(52,"div",32),e.nrm(53,"ds-icon",33)(54,"a",34),e.k0s(),e.j41(55,"div",35)(56,"button",36),e.bIt("click",function(){a.eBV(d);const n=e.XpG(2);return a.Njj(n.nextStep())}),e.EFF(57),e.nI1(58,"translate"),e.k0s()()()()}if(2&r){let d,t;const n=e.sdS(18),s=e.sdS(30),c=e.XpG(2);e.Y8G("formGroup",null==c.signupCompanyInfosFormParams?null:c.signupCompanyInfosFormParams.formGroup),e.R7$(12),e.Y8G("label",e.bMT(13,51,"page.signup.companyInfos.companyType"))("labelStyle","strong")("size","small")("mandatory",!0),e.R7$(2),e.Y8G("radioboxItems",c.companyTypeRadioItems)("align","horizontal")("size","small")("required",!0),e.R7$(),e.Y8G("label",e.bMT(16,53,"page.signup.companyInfos.CompanyName"))("required",!0)("size","small")("grow",!0)("dsAutocomplete","organization"),e.R7$(2),e.Y8G("ariaLabel",e.bMT(19,55,"page.signup.companyInfos.CountryId"))("errorMessage",null!=c.signupCompanyInfosFormParams&&null!=c.signupCompanyInfosFormParams.formGroup&&null!=(d=c.signupCompanyInfosFormParams.formGroup.get("CountryId"))&&d.invalid&&null!=c.signupCompanyInfosFormParams&&null!=c.signupCompanyInfosFormParams.formGroup&&null!=(d=c.signupCompanyInfosFormParams.formGroup.get("CountryId"))&&d.touched?e.bMT(20,57,"common.validation.required"):"")("label",e.bMT(21,59,"page.signup.companyInfos.CountryId"))("placeholder",e.i5U(22,61,"page.signup.companyInfos.CountryId",e.lJ4(81,re)))("search",!0)("required",!0)("selectData",c.countryOptions)("selectDataSortFn",c.preserveOrder)("size","small")("grow",!0),e.R7$(6),e.Dyx(n.data),e.R7$(2),e.Y8G("ngIf",c.isFrance),e.R7$(),e.Y8G("ngIf",c.isFrance),e.R7$(),e.Y8G("ngIf",c.isEUNotFrance),e.R7$(),e.Y8G("ngIf",c.isNonEU),e.R7$(),e.Y8G("ariaLabel",e.bMT(31,64,"page.signup.companyInfos.BusinessSectorId"))("errorMessage",null!=c.signupCompanyInfosFormParams&&null!=c.signupCompanyInfosFormParams.formGroup&&null!=(t=c.signupCompanyInfosFormParams.formGroup.get("BusinessSectorId"))&&t.invalid&&null!=c.signupCompanyInfosFormParams&&null!=c.signupCompanyInfosFormParams.formGroup&&null!=(t=c.signupCompanyInfosFormParams.formGroup.get("BusinessSectorId"))&&t.touched?e.bMT(32,66,"common.validation.required"):"")("label",e.bMT(33,68,"page.signup.companyInfos.BusinessSectorId"))("placeholder",e.i5U(34,70,"page.signup.companyInfos.BusinessSectorId",e.lJ4(82,re)))("search",!0)("required",!0)("selectData",c.businessSectorOptions)("size","small")("grow",!0),e.R7$(6),e.Dyx(s.data),e.R7$(2),e.Y8G("label",e.bMT(38,73,"page.signup.companyInfos.PhoneNumber"))("required",!0)("size","small")("grow",!0)("dsAutocomplete","tel")("errorMessage",e.bMT(39,75,"page.signup.companyInfos.invalidField")),e.R7$(3),e.Y8G("ngIf",e.bMT(41,77,c.getValidationError$())),e.R7$(13),e.Y8G("name","ARROW_LEFT")("size","small")("clickable",!0),e.R7$(),e.Y8G("routerLink",c.backUrl),e.R7$(2),e.Y8G("variant","primary")("disabled",null==c.signupCompanyInfosFormParams||null==c.signupCompanyInfosFormParams.formGroup?null:c.signupCompanyInfosFormParams.formGroup.invalid),e.R7$(),e.SpI(" ",e.bMT(58,79,"page.signup.companyInfos.createMyspace")," ")}}function st(r,o){if(1&r&&(e.j41(0,"section",4)(1,"ds-content",5),e.DNE(2,rt,59,83,"form",6),e.k0s()()),2&r){const d=e.XpG();e.R7$(2),e.Y8G("ngIf",null==d.signupCompanyInfosFormParams?null:d.signupCompanyInfosFormParams.formGroup)}}let at=(()=>{var r;class o{get isFrance(){return this.signupCompanyInfosService.isFrance}get isEUNotFrance(){return this.signupCompanyInfosService.isEUNotFrance}get isNonEU(){return this.signupCompanyInfosService.isNonEU}constructor(t,n,s){this.signupCompanyInfosService=t,this.translate=n,this.datadogRumService=s,this.backUrl=`/${D.D}/${A.ACCOUNT_INFOS}`,this.companyTypeRadioItems=[],this.countryOptions=[],this.departmentOptions=[],this.businessSectorOptions=[],this.preserveOrder=({selectData:c})=>c,this.destroyRef=(0,a.WQX)(a.abz),this.signupCompanyInfosFormParams=this.signupCompanyInfosService.getFormParams()}ngOnInit(){this.stepViewedAt=Date.now(),this.datadogRumService.addAction("signup.step.company_infos.viewed"),this.signupCompanyInfosFormParams?.UserCategoryId?.values$?.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.companyTypeRadioItems=(t||[]).map(n=>({value:n.Id,label:this.translate.instant(n.CodeTranslate),ariaLabel:this.translate.instant(n.CodeTranslate)}))}),this.signupCompanyInfosService.getCountries$()?.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.countryOptions=(t||[]).map(n=>({value:n.Id??n.id,label:n.CodeTranslate??n.Label??n.label}))}),this.signupCompanyInfosFormParams?.DepartmentId?.values$?.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.departmentOptions=(t||[]).map(n=>({value:n.Id,label:n.Label||n.CodeTranslate}))}),this.signupCompanyInfosFormParams?.BusinessSectorId?.values$?.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.businessSectorOptions=(t||[]).map(n=>({value:n.Id,label:n.Label||n.CodeTranslate}))}),this.signupCompanyInfosFormParams?.formGroup?.get("UserCategoryId")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.signupCompanyInfosFormParams?.UserCategoryId?.onUpdateValue(t)}),this.signupCompanyInfosFormParams?.formGroup?.get("CompanyName")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.signupCompanyInfosFormParams?.CompanyName?.onUpdateValue({target:{value:t}})}),this.signupCompanyInfosFormParams?.formGroup?.get("PhoneNumber")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(t=>{this.signupCompanyInfosFormParams?.PhoneNumber?.onUpdateValue({target:{value:t}})}),this.signupCompanyInfosFormParams?.formGroup?.get("CompanySiret")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(()=>{const t=this.signupCompanyInfosFormParams.formGroup.get("CompanySiret");(0,j.C8)(t),this.signupCompanyInfosFormParams?.CompanySiret?.onUpdateValue({target:{value:t.value}})}),this.signupCompanyInfosFormParams?.formGroup?.get("CompanyTva")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(()=>{const t=this.signupCompanyInfosFormParams.formGroup.get("CompanyTva");(0,j.C8)(t),this.signupCompanyInfosFormParams?.CompanyTva?.onUpdateValue({target:{value:t.value}})}),this.signupCompanyInfosFormParams?.formGroup?.get("CompanyTin")?.valueChanges.pipe((0,P.pQ)(this.destroyRef)).subscribe(()=>{const t=this.signupCompanyInfosFormParams.formGroup.get("CompanyTin");(0,j.C8)(t),this.signupCompanyInfosFormParams?.CompanyTin?.onUpdateValue({target:{value:t.value}})})}onCountrySelect(t){this.signupCompanyInfosFormParams?.CountryId?.onUpdateValue({Id:t})}onDepartmentSelect(t){this.signupCompanyInfosFormParams?.DepartmentId?.onUpdateValue({Id:t})}onBusinessSectorSelect(t){this.signupCompanyInfosFormParams?.BusinessSectorId?.onUpdateValue({Id:t})}getValidationError$(){return this.signupCompanyInfosService.errorValidationObservable}nextStep(){this.signupCompanyInfosService.nextStep(),this.signupCompanyInfosService.signupCompanyInfos.isValid&&this.datadogRumService.addAction("signup.step.company_infos.submitted",{duration_ms:Date.now()-this.stepViewedAt})}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(e.rXU(Q),e.rXU(x.c$),e.rXU(q.C))},this.\u0275cmp=e.VBU({type:o,selectors:[["app-signup-company-infos"]],decls:1,vars:1,consts:[["countrySelect",""],["sectorSelect",""],["deptSelect",""],["class","signup-company-infos color_blue-dark",4,"ngIf"],[1,"signup-company-infos","color_blue-dark"],["direction","column","gap","large","padding","xxlarge","borderRadius","xsmall","shadow","blue","background","white","alignItems","flex-start","minWidth","250px","maxWidth","600px","alignSelf","center"],["class","w-100",3,"formGroup",4,"ngIf"],[1,"w-100",3,"formGroup"],[1,"text-start","mb-3"],["translate","page.signup.createSpace",1,"signup-company-infos__title"],[1,"signup-company-infos__separator"],["translate","page.signup.companyInfos.myCompany",1,"signup-company-infos__subtitle"],[1,"signup-company-infos__mandatory-notice"],[1,"signup-company-infos__mandatory-notice-star"],["direction","column","gap","small","width","fill","alignItems","stretch"],[1,"signup-company-infos__radio-group"],[3,"label","labelStyle","size","mandatory"],["formControlName","UserCategoryId",3,"radioboxItems","align","size","required"],["formControlName","CompanyName",3,"label","required","size","grow","dsAutocomplete"],["id","select-country","formControlName","CountryId",3,"selectChange","ariaLabel","errorMessage","label","placeholder","search","required","selectData","selectDataSortFn","size","grow"],[3,"value","label"],["id","select-department","formControlName","DepartmentId",3,"ariaLabel","errorMessage","label","placeholder","search","required","selectData","selectDataSortFn","size","grow","selectChange",4,"ngIf"],["formControlName","CompanySiret","placeholder","12345678901234",3,"label","required","size","grow","maxlength","errorMessage",4,"ngIf"],["formControlName","CompanyTva","minlength","8","maxlength","15","placeholder","XX XX XXXXXXXXXX",3,"label","required","size","grow","errorMessage",4,"ngIf"],["formControlName","CompanyTin",3,"label","required","size","grow","placeholder","errorMessage",4,"ngIf"],["id","select-business-sector","formControlName","BusinessSectorId",3,"selectChange","ariaLabel","errorMessage","label","placeholder","search","required","selectData","size","grow"],["formControlName","PhoneNumber",3,"label","required","size","grow","dsAutocomplete","errorMessage"],["class","signup-company-infos__error mt-4",4,"ngIf"],[1,"text-start","mt-2","signup-company-infos__user-notice"],["href","https://www.cnil.fr/fr/plaintes","target","_blank"],["href","https://www.groupe-tf1.fr/rgpd","target","_blank"],[1,"d-md-flex"],[1,"signup-company-infos-back","cursor-pointer","col-md-4","col-12","text-center","text-md-start","mt-4","mb-4","p-0"],[1,"signup-company-infos-back-icon",3,"name","size","clickable"],["translate","page.signup.companyInfos.back",1,"button__link","signup-company-infos-back-link","ms-2",3,"routerLink"],[1,"col-md-8","col-12","text-center","text-md-end","mt-4","mb-4","p-0"],["ds-button","","type","submit",3,"click","variant","disabled"],["id","select-department","formControlName","DepartmentId",3,"selectChange","ariaLabel","errorMessage","label","placeholder","search","required","selectData","selectDataSortFn","size","grow"],["formControlName","CompanySiret","placeholder","12345678901234",3,"label","required","size","grow","maxlength","errorMessage"],["formControlName","CompanyTva","minlength","8","maxlength","15","placeholder","XX XX XXXXXXXXXX",3,"label","required","size","grow","errorMessage"],["formControlName","CompanyTin",3,"label","required","size","grow","placeholder","errorMessage"],[1,"signup-company-infos__error","mt-4"],[1,"text_error"]],template:function(n,s){1&n&&e.DNE(0,st,3,1,"section",3),2&n&&e.Y8G("ngIf",s.signupCompanyInfosFormParams)},dependencies:[B.MD,B.bT,p.X1,p.qT,p.BC,p.cb,p.YS,p.xh,p.tU,p.j4,p.JD,x.h,x.Mm,me.Wk,le.cN,fe.C,fe.h,He.v,ue.Q,ne.B,ee.K,te.zH,B.Jj,x.D9],styles:['.color_C1[_ngcontent-%COMP%]{color:#333!important}.color_mask[_ngcontent-%COMP%]{color:#0000004d!important}.color_C8[_ngcontent-%COMP%]{color:#736868!important}
1.color_C9[_ngcontent-%COMP%]{color:#777!important}.color_C2[_ngcontent-%COMP%]{color:silver!important}.color_C3[_ngcontent-%COMP%]{color:#0b51a9!important}.color_C7[_ngcontent-%COMP%]{color:#d9534f!important}.color_C7D[_ngcontent-%COMP%]{color:#9d1c32!important}.color_CW[_ngcontent-%COMP%]{color:#fff!important}.color_blue-dark[_ngcontent-%COMP%]{color:#002864!important}.color_blue-light[_ngcontent-%COMP%]{color:#50a7ff!important}.color_blue-light-plus[_ngcontent-%COMP%]{color:#6ef5d7!important}.color_gray-blue[_ngcontent-%COMP%]{color:#c5cde1!important}.color_gray-blue-light[_ngcontent-%COMP%]{color:#c5cde180!important}.color_pink[_ngcontent-%COMP%]{color:#e15064!important}.color_orange[_ngcontent-%COMP%]{color:#ff8c5a!important}.color_gray[_ngcontent-%COMP%]{color:#ccc!important}.color_gray-light[_ngcontent-%COMP%]{color:#e8e8e8!important}.color_yellow[_ngcontent-%COMP%]{color:gold!important}.background_C1[_ngcontent-%COMP%]{background:#333!important}.background_mask[_ngcontent-%COMP%]{background:#0000004d!important}.background_C8[_ngcontent-%COMP%]{background:#736868!important}.background_C9[_ngcontent-%COMP%]{background:#777!important}.background_C2[_ngcontent-%COMP%]{background:silver!important}.background_C3[_ngcontent-%COMP%]{background:#0b51a9!important}.background_C7[_ngcontent-%COMP%]{background:#d9534f!important}.background_C7D[_ngcontent-%COMP%]{background:#9d1c32!important}.background_CW[_ngcontent-%COMP%]{background:#fff!important}.background_blue-dark[_ngcontent-%COMP%]{background:#002864!important}.background_blue-light[_ngcontent-%COMP%]{background:#50a7ff!important}.background_blue-light-plus[_ngcontent-%COMP%]{background:#6ef5d7!important}.background_gray-blue[_ngcontent-%COMP%]{background:#c5cde1!important}.background_gray-blue-light[_ngcontent-%COMP%]{background:#c5cde180!important}.background_pink[_ngcontent-%COMP%]{background:#e15064!important}.background_orange[_ngcontent-%COMP%]{background:#ff8c5a!important}.background_gray[_ngcontent-%COMP%]{background:#ccc!important}.background_gray-light[_ngcontent-%COMP%]{background:#e8e8e8!important}.background_yellow[_ngcontent-%COMP%]{background:gold!important}@font-face{font-family:montserratmedium;src:url(/assets/font/montserrat-medium-webfont.woff2) format("woff2"),url(/assets/font/montserrat-medium-webfont.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(/assets/font/open-sans-v20-latin-regular.eot);src:local(""),url(/assets/font/open-sans-v20-latin-regular.eot?#iefix) format("embedded-opentype"),url(/assets/font/open-sans-v20-latin-regular.woff2) format("woff2"),url(/assets/font/open-sans-v20-latin-regular.woff) format("woff"),url(/assets/font/open-sans-v20-latin-regular.ttf) format("truetype"),url(/assets/font/open-sans-v20-latin-regular.svg#OpenSans) format("svg")}.signup-company-infos[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding-top:6.25rem}@media(max-width:62rem){.signup-company-infos[_ngcontent-%COMP%]{padding-top:0}}.signup-company-infos-back[_ngcontent-%COMP%]{height:48px;line-height:48px;display:inline}.signup-company-infos-back-icon[_ngcontent-%COMP%]{vertical-align:middle}.signup-company-infos-back-link[_ngcontent-%COMP%]{text-decoration:none!important}.signup-company-infos__title[_ngcontent-%COMP%]{color:var(--ds-color-semantic-tertiary);font-family:Sora;font-size:22px;font-style:normal;font-weight:600;line-height:normal;text-transform:uppercase;margin:0}
1.signup-company-infos__separator[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:22px;font-weight:600}.signup-company-infos__subtitle[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:18px;font-style:normal;font-weight:600;line-height:normal;text-transform:uppercase}.signup-company-infos__field[_ngcontent-%COMP%]{text-align:start;margin-bottom:1rem}.signup-company-infos__radio-group[_ngcontent-%COMP%]{text-align:start;margin-bottom:.5rem}.signup-company-infos__error[_ngcontent-%COMP%]{text-align:start}.signup-company-infos__mandatory-notice[_ngcontent-%COMP%]{font-family:Sora;font-size:12px;font-weight:400;color:var(--ds-color-semantic-grey-600);margin-top:.25rem}.signup-company-infos__mandatory-notice-star[_ngcontent-%COMP%]{color:var(--ds-color-semantic-warning-deep)}.signup-company-infos__user-notice[_ngcontent-%COMP%]{color:var(--ds-color-semantic-grey-600);font-family:Sora;font-size:12px;font-style:normal;font-weight:400;line-height:normal}']}))}return r(),o})(),it=(()=>{var r;class o{constructor(t,n){this.signupConfirmationService=t,this.datadogRumService=n}ngOnInit(){this.datadogRumService.addAction("signup.step.confirmation.viewed")}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(e.rXU(oe),e.rXU(q.C))},this.\u0275cmp=e.VBU({type:o,selectors:[["app-signup-confirmation"]],decls:6,vars:3,consts:[[1,"signup-confirmation"],["direction","column","gap","large","padding","xxlarge","borderRadius","xsmall","shadow","blue","background","white","alignItems","center","minWidth","250px","maxWidth","600px","alignSelf","center"],["name","MAIL","size","xlarge","color","PRIMARY","aria-hidden","true"],["translate","page.signup.confirmation.title",1,"signup-confirmation__title"],[1,"signup-confirmation__subtitle",3,"innerHTML"]],template:function(n,s){1&n&&(e.j41(0,"section",0)(1,"ds-content",1),e.nrm(2,"ds-icon",2)(3,"h1",3)(4,"p",4),e.nI1(5,"translate"),e.k0s()()),2&n&&(e.R7$(4),e.Y8G("innerHTML",e.bMT(5,1,"page.signup.confirmation.subtitle"),e.npT))},dependencies:[x.h,x.Mm,te.zH,ne.B,x.D9],styles:[".signup-confirmation[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding-top:6.25rem}@media(max-width:62rem){.signup-confirmation[_ngcontent-%COMP%]{padding-top:0}}.signup-confirmation__title[_ngcontent-%COMP%]{font-family:Sora,sans-serif;font-weight:600;font-size:20px;line-height:1.4;color:var(--ds-color-semantic-tertiary);text-transform:uppercase;text-align:center;margin:0}.signup-confirmation__subtitle[_ngcontent-%COMP%]{font-family:Sora,sans-serif;font-weight:400;font-size:1rem;line-height:1.5;color:var(--ds-color-semantic-grey-600);text-align:center;margin:0}"],changeDetection:0}))}return r(),o})(),he=(()=>{var r;class o extends K.k{constructor(t){super("Registration",t,"v2"),this.httpClient=t}validateNewUserRegistration(t){return this.invokeGet(`ValidateNewUserRegistration?userId=${t}`).pipe((0,R.T)(n=>!0),(0,H.W)(n=>(0,u.of)(!1)))}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(X.Qq))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})(),_e=(()=>{var r;class o{constructor(t,n){this.router=t,this.signupActivationService=n}canActivate(t,n){return t?.queryParams.token?this.signupActivationService.validateNewUserRegistration(t.queryParams.token).pipe((0,R.T)(s=>!0===s||(this.router.navigate([`${D.D}`]),!1))):(this.router.navigate([`${D.D}`]),(0,u.of)(!1))}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(G.Ix),a.KVO(he))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})(),Ce=(()=>{var r;class o{constructor(t){this.signupOrchestrationService=t}canActivate(t,n){return this.signupOrchestrationService.prepareCompanyInfosStep()}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(J))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})(),be=(()=>{var r;class o{constructor(t){this.signupOrchestrationService=t}canActivate(t,n){return this.signupOrchestrationService.prepareConfirmationStep()}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(a.KVO(J))},this.\u0275prov=a.jDH({token:o,factory:o.\u0275fac,providedIn:"root"}))}return r(),o})();var ct=i(43957),lt=i(43556),ut=i(65656);const dt=[{path:"",component:(()=>{var r;class o{constructor(t){this.ihmService=t}ngOnInit(){this.ihmService.updateNavButton(!1)}ngOnDestroy(){this.ihmService.updateNavButton(!0)}static#e=r=()=>(this.\u0275fac=function(n){return new(n||o)(e.rXU(ut.G))},this.\u0275cmp=e.VBU({type:o,selectors:[["app-signup"]],decls:7,vars:0,consts:[[1,"signup","d-block","d-lg-flex"],[1,"col-12","col-lg-6","signup__left-panel--admanager"],[1,"col-12","col-lg-6","signup__right-panel","position-relative"],[1,"signup__right-panel__content"],[1,"signup__footer"]],template:function(n,s){1&n&&(e.j41(0,"div",0)(1,"div",1),e.nrm(2,"app-admanager-panel"),e.k0s(),e.j41(3,"div",2)(4,"div",3),e.nrm(5,"router-outlet")(6,"app-footer",4),e.k0s()()())},dependencies:[G.n3,lt.C,ct.n],styles:['.color_C1[_ngcontent-%COMP%]{color:#333!important}.color_mask[_ngcontent-%COMP%]{color:#0000004d!important}.color_C8[_ngcontent-%COMP%]{color:#736868!important}
1.color_C9[_ngcontent-%COMP%]{color:#777!important}.color_C2[_ngcontent-%COMP%]{color:silver!important}.color_C3[_ngcontent-%COMP%]{color:#0b51a9!important}.color_C7[_ngcontent-%COMP%]{color:#d9534f!important}.color_C7D[_ngcontent-%COMP%]{color:#9d1c32!important}.color_CW[_ngcontent-%COMP%]{color:#fff!important}.color_blue-dark[_ngcontent-%COMP%]{color:#002864!important}.color_blue-light[_ngcontent-%COMP%]{color:#50a7ff!important}.color_blue-light-plus[_ngcontent-%COMP%]{color:#6ef5d7!important}.color_gray-blue[_ngcontent-%COMP%]{color:#c5cde1!important}.color_gray-blue-light[_ngcontent-%COMP%]{color:#c5cde180!important}.color_pink[_ngcontent-%COMP%]{color:#e15064!important}.color_orange[_ngcontent-%COMP%]{color:#ff8c5a!important}.color_gray[_ngcontent-%COMP%]{color:#ccc!important}.color_gray-light[_ngcontent-%COMP%]{color:#e8e8e8!important}.color_yellow[_ngcontent-%COMP%]{color:gold!important}.background_C1[_ngcontent-%COMP%]{background:#333!important}.background_mask[_ngcontent-%COMP%]{background:#0000004d!important}.background_C8[_ngcontent-%COMP%]{background:#736868!important}.background_C9[_ngcontent-%COMP%]{background:#777!important}.background_C2[_ngcontent-%COMP%]{background:silver!important}.background_C3[_ngcontent-%COMP%]{background:#0b51a9!important}.background_C7[_ngcontent-%COMP%]{background:#d9534f!important}.background_C7D[_ngcontent-%COMP%]{background:#9d1c32!important}.background_CW[_ngcontent-%COMP%]{background:#fff!important}.background_blue-dark[_ngcontent-%COMP%]{background:#002864!important}.background_blue-light[_ngcontent-%COMP%]{background:#50a7ff!important}.background_blue-light-plus[_ngcontent-%COMP%]{background:#6ef5d7!important}.background_gray-blue[_ngcontent-%COMP%]{background:#c5cde1!important}.background_gray-blue-light[_ngcontent-%COMP%]{background:#c5cde180!important}.background_pink[_ngcontent-%COMP%]{background:#e15064!important}.background_orange[_ngcontent-%COMP%]{background:#ff8c5a!important}.background_gray[_ngcontent-%COMP%]{background:#ccc!important}.background_gray-light[_ngcontent-%COMP%]{background:#e8e8e8!important}.background_yellow[_ngcontent-%COMP%]{background:gold!important}@font-face{font-family:montserratmedium;src:url(/assets/font/montserrat-medium-webfont.woff2) format("woff2"),url(/assets/font/montserrat-medium-webfont.woff) format("woff");font-weight:400;font-style:normal}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url(/assets/font/open-sans-v20-latin-regular.eot);src:local(""),url(/assets/font/open-sans-v20-latin-regular.eot?#iefix) format("embedded-opentype"),url(/assets/font/open-sans-v20-latin-regular.woff2) format("woff2"),url(/assets/font/open-sans-v20-latin-regular.woff) format("woff"),url(/assets/font/open-sans-v20-latin-regular.ttf) format("truetype"),url(/assets/font/open-sans-v20-latin-regular.svg#OpenSans) format("svg")}[_nghost-%COMP%]{height:100%}.signup[_ngcontent-%COMP%]{max-width:100%;height:100%}.signup__left-panel[_ngcontent-%COMP%]{background-image:url(cible_large.5e1993219c490bb6.png);background-repeat:no-repeat;background-size:cover;background-position:center;min-height:30vh}.signup__left-panel-activation[_ngcontent-%COMP%]{background-image:url(up_large.9069a8d0624431db.png)}.signup__left-panel--admanager[_ngcontent-%COMP%]{background-image:url(admanager.8dc916cbbcb958a9.png?v=20251117);background-repeat:no-repeat;background-size:cover;background-position:center;min-height:57.6rem;flex:1}@media(max-width:62rem){.signup__left-panel--admanager[_ngcontent-%COMP%]{background-image:none;min-height:7.5rem}}.signup__right-panel[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh}.signup__right-panel__content[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100%;flex:1}.signup__footer[_ngcontent-%COMP%]{margin-top:auto}'],changeDetection:0}))}return r(),o})(),providers:[(0,a.oKB)(ye),{provide:I,useValue:window.__env?.recaptchaSiteKey},Y,Q,oe,he,Ce,be,_e,ge,J],children:[{path:"",redirectTo:A.ACCOUNT_INFOS,pathMatch:"full"},{path:A.ACCOUNT_INFOS,component:Ye},{path:A.COMPANY_INFOS,component:at,canActivate:[Ce]},{path:A.CONFIRMATION,component:it,canActivate:[be]},{path:A.ACTIVATION,component:We,canActivate:[_e]}]}]},17792(U,M,i){i.d(M,{v:()=>ie});var a=i(72200),e=i(73664),m=i(2615),u=i(89417),h=i(82713),v=i(11789),w=i(93304),C=i(54865);const b=["radio"];let T=0,N=(()=>{var I;class y extends h.s{constructor(){super(...arguments),this.forceError=!1,this.disabled=!1,this.size="medium",this.label="",this.ariaLabel="",this.required=!1,this.prefixTestId="ds-radiobox",this._writtenValue=null,this._fallbackRadioName="ds-radiobox-"+ ++T,this.onChanged=l=>l}get inputId(){return`${this.prefixTestId}__input-${this.suffixTestId}`}get groupName(){return this.radioName||this._fallbackRadioName}onClickEvent(){this.disabled||(this.setElementChecked(!0),this.onChanged&&this.onChanged(this.value))}setElementChecked(l){this.radio&&(this.radio.nativeElement.checked=l)}ngOnChanges(l){super.ngOnChanges(l);const{value:f}=l;f?.previousValue!==f?.currentValue&&(this.value=f.currentValue,this.setElementChecked(f?.currentValue===this._writtenValue))}ngAfterViewInit(){this.setElementChecked(this._writtenValue===this.value)}registerOnChange(l){this.onChanged=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.disabled=l}writeValue(l){this._writtenValue=l,this.setElementChecked(this._writtenValue===this.value)}static#e=I=()=>(this.\u0275fac=(()=>{let l;return function(g){return(l||(l=e.xGo(y)))(g||y)}})(),this.\u0275cmp=e.VBU({type:y,selectors:[["ds-radiobox"]],viewQuery:function(f,g){if(1&f&&e.GBs(b,5),2&f){let V;e.mGM(V=e.lsd())&&(g.radio=V.first)}},inputs:{value:"value",forceError:"forceError",disabled:"disabled",size:"size",label:"label",ariaLabel:"ariaLabel",radioName:"radioName",required:"required",ariaDescribedby:"ariaDescribedby",formControl:"formControl"},features:[e.Jv_([{provide:u.kq,useExisting:(0,m.Rfq)(()=>y),multi:!0}]),e.Vt3,e.OA$],decls:5,vars:15,consts:[["radio",""],[1,"ds-radiobox__check"],["type","radio",1,"ds-radiobox__input",3,"click","id","disabled"],["aria-hidden","true",1,"ds-radiobox__clicker"],["data-testid","ds-radiobox__label",3,"size","label","error","for","clickable","disabled"]],template:function(f,g){if(1&f){const V=e.RV6();e.j41(0,"div",1)(1,"input",2,0),e.bIt("click",function(){return m.eBV(V),m.Njj(g.onClickEvent())}),e.k0s(),e.nrm(3,"div",3),e.k0s(),e.nrm(4,"ds-label",4)}2&f&&(e.R7$(),e.Y8G("id",g.inputId)("disabled",g.disabled),e.BMQ("name",g.groupName)("aria-label",g.label?null:g.ariaLabel||null)("aria-required",g.required||null)("aria-invalid",g.forceError||null)("aria-describedby",g.ariaDescribedby||null)("data-testid",g.inputId),e.R7$(2),e.BMQ("data-testid",g.prefixTestId+"__clicker-"+g.suffixTestId),e.R7$(),e.Y8G("size",g.size)("label",g.label?g.label:"")("error",g.forceError)("for",g.inputId)("clickable",!g.disabled)("disabled",g.disabled))},dependencies:[C.Q],styles:["*[_ngcontent-%COMP%], *[_ngcontent-%COMP%]:before, *[_ngcontent-%COMP%]:after{box-sizing:border-box}[_nghost-%COMP%]{--ds-radiobox-font-small: var(--ds-font-p-xsmall-regular);--ds-radiobox-font-medium: var(--ds-font-p-small-regular);--ds-radiobox-font-color: var(--ds-color-grey-600);--ds-radiobox-font-color-checked-disabled: var(--ds-color-disabled-text);--ds-radiobox-border-color: var(--ds-color-tertiary-normal);--ds-radiobox-border-color-hover: var(--ds-color-tertiary-hover);--ds-radiobox-border-color-disabled: var(--ds-color-disabled-background-200);--ds-radiobox-bg-color-checked: var(--ds-color-tertiary-normal);--ds-radiobox-bg-color-checked-hover: var(--ds-color-tertiary-hover);--ds-radiobox-bg-color-white: var(--ds-color-white);--ds-radiobox-focus-color: var(--ds-color-fixed-focus);--ds-radiobox-bg-color-checked-disabled: var( --ds-color-disabled-background-200 );align-items:center;display:flex;grid-template-columns:1.125rem auto;gap:.5rem}.ds-radiobox__check[_ngcontent-%COMP%]{position:relative;width:1.125rem;height:1.125rem}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%], .ds-radiobox__check[_ngcontent-%COMP%] [data-disabled=false][_ngcontent-%COMP%]{cursor:pointer}.ds-radiobox__check[_ngcontent-%COMP%] [data-disabled=true][_ngcontent-%COMP%]{cursor:not-allowed}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__clicker[_ngcontent-%COMP%]{position:absolute;width:100%;height:100%;display:flex;top:0;left:0;border:1px solid var(--ds-radiobox-bg-color-checked);border-radius:100%;pointer-events:none}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]{-webkit-appearance:none;appearance:none;margin:0;width:1.125rem;height:1.125rem;border-radius:100%}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:hover:not(:disabled) + .ds-radiobox__clicker[_ngcontent-%COMP%]{border-color:var(--ds-radiobox-border-color-hover)}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:checked:not(:disabled) + .ds-radiobox__clicker[_ngcontent-%COMP%]{background-color:var(--ds-radiobox-bg-color-white);border:5px solid var(--ds-radiobox-bg-color-checked)}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:disabled{cursor:not-allowed}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:disabled:checked + .ds-radiobox__clicker[_ngcontent-%COMP%]{background-color:var(--ds-radiobox-bg-color-white);border:5px solid var(--ds-radiobox-bg-color-checked-disabled)}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:disabled:not(:checked) + .ds-radiobox__clicker[_ngcontent-%COMP%]{border:1px solid var(--ds-radiobox-bg-color-checked-disabled)}.ds-radiobox__check[_ngcontent-%COMP%] .ds-radiobox__input[_ngcontent-%COMP%]:focus-visible{outline:max(.25px,.1rem) solid var(--ds-radiobox-focus-color);outline-offset:max(2px,.15rem)}"]}))}return I(),y})();const S=["*"],F=I=>["radioboxes",I];
1function z(I,y){if(1&I){const k=e.RV6();e.j41(0,"ds-radiobox",4),e.mxI("ngModelChange",function(f){m.eBV(k);const g=e.XpG();return e.DH7(g.writtenValue,f)||(g.writtenValue=f),m.Njj(f)}),e.bIt("ngModelChange",function(f){m.eBV(k);const g=e.XpG();return m.Njj(g.changeIfOnChange(f))}),e.k0s()}if(2&I){const k=y.$implicit,l=e.XpG();e.R50("ngModel",l.writtenValue),e.Y8G("value",k.value)("radioName",l.radioName)("ariaLabel",k.label?void 0:k.ariaLabel)("label",k.label)("uniqueTestId",k.uniqueTestId)("size",l.size)("disabled",k.disabled||l.disabled)("required",l.formService.isRequired)("ariaDescribedby",l.errorMessageId)("forceError",l.formService.hasError)}}function Z(I,y){if(1&I&&(e.j41(0,"div",3),e.EFF(1),e.k0s()),2&I){const k=e.XpG();e.R7$(),e.SpI(" ",k.formService.currentErrorMessage," ")}}let ie=(()=>{var I;class y extends h.s{get hostAriaLabel(){return this.ariaLabel||null}get hostAriaLabelledBy(){return this.ariaLabelledBy||null}get errorMessageId(){return`${this.prefixTestId}__error-message-${this.suffixTestId}`}constructor(){super(),this.radioboxItems=[],this.disabled=!1,this.align="horizontal",this.size="medium",this.ariaLabel=null,this.ariaLabelledBy=null,this.radioName=(0,w.Pd)(),this.radioboxChange=new e.bkB,this.role="group",this.writtenValue=null,this.prefixTestId="ds-radiobox-group",this.formService=(0,m.WQX)(v.dU),this._controlContainer=(0,m.WQX)(u.ZU,{optional:!0})}ngOnChanges(l){super.ngOnChanges(l),this.formService.updateFormService({controlContainer:this._controlContainer,formControl:this.formControl,formControlName:this.formControlName,errorMessage:this.errorMessage,errorMessages:this.errorMessages,required:this.required})}changeIfOnChange(l){this.radioboxChange.emit(l),this.onChanged&&this.onChanged(l)}writeValue(l){this.writtenValue=l}registerOnChange(l){this.onChanged=l}registerOnTouched(l){this.onTouched=l}setDisabledState(l){this.disabled=l}hasRequiredValidator(l){return l.hasValidator(u.k0.required)}validate(l){return this.required||this.hasRequiredValidator(l)?this.radioboxItems.some(V=>V.value===l.value)?null:{required:!0}:null}static#e=I=()=>(this.\u0275fac=function(f){return new(f||y)},this.\u0275cmp=e.VBU({type:y,selectors:[["ds-radiobox-group"]],hostVars:3,hostBindings:function(f,g){2&f&&e.BMQ("role",g.role)("aria-label",g.hostAriaLabel)("aria-labelledby",g.hostAriaLabelledBy)},inputs:{radioboxItems:"radioboxItems",disabled:"disabled",required:"required",errorMessage:"errorMessage",errorMessages:"errorMessages",align:"align",size:"size",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",formControl:"formControl",formControlName:"formControlName",radioName:"radioName"},outputs:{radioboxChange:"radioboxChange"},features:[e.Jv_([v.VE,v.dU,{provide:u.kq,useExisting:(0,m.Rfq)(()=>y),multi:!0},{provide:u.cz,useExisting:(0,m.Rfq)(()=>y),multi:!0}]),e.Vt3,e.OA$],ngContentSelectors:S,decls:6,vars:6,consts:[[1,"ds-radiobox-group__list",3,"ngClass"],[3,"ngModel","value","radioName","ariaLabel","label","uniqueTestId","size","disabled","required","ariaDescribedby","forceError"],["role","alert",3,"id"],[1,"ds-radiobox-group__error-message"],[3,"ngModelChange","ngModel","value","radioName","ariaLabel","label","uniqueTestId","size","disabled","required","ariaDescribedby","forceError"]],template:function(f,g){1&f&&(e.NAR(),e.j41(0,"div",0),e.SdG(1),e.Z7z(2,z,1,11,"ds-radiobox",1,e.fX1),e.k0s(),e.j41(4,"div",2),e.nVh(5,Z,2,1,"div",3),e.k0s()),2&f&&(e.Y8G("ngClass",e.eq3(4,F,g.align)),e.R7$(2),e.Dyx(g.radioboxItems),e.R7$(2),e.Y8G("id",g.errorMessageId),e.BMQ("data-testid",g.prefixTestId+"__error-message-"+g.suffixTestId),e.R7$(),e.vxM(g.formService.hasErrorMessage?5:-1))},dependencies:[a.YU,N,u.YN,u.BC,u.YS,u.vS],styles:[".ds-radiobox-group__list[_ngcontent-%COMP%]{display:flex;row-gap:1em}.ds-radiobox-group__list.horizontal[_ngcontent-%COMP%]{flex-direction:row;column-gap:1.5rem;flex-wrap:wrap}.ds-radiobox-group__list.horizontal[_ngcontent-%COMP%] ds-radiobox[_ngcontent-%COMP%]{max-width:31.25em}.ds-radiobox-group__list.horizontal-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(8.75em,1fr));grid-column-gap:.2em;grid-row-gap:1em;column-gap:2em}.ds-radiobox-group__list.vertical[_ngcontent-%COMP%]{flex-direction:column}.ds-radiobox-group__error-message[_ngcontent-%COMP%]{color:var(--ds-color-status-warning);font-size:var(--ds-font-size-xxsmall);margin-top:.25rem}"]}))}return I(),y})()}}]);
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.