1"use strict";(self.webpackChunkprivacypillar_sfo3=self.webpackChunkprivacypillar_sfo3||[]).push([["src_app_register_register_module_ts"],{30304:(V,h,l)=>{l.r(h),l.d(h,{RegisterModule:()=>j});var f=l(36895),i=l(24006),p=l(51692),v=l(87224),C=l(20496),x=l(3940),m=l(92340),e=l(94650),u=l(64491),_=l(4358);const Z=["registerForm"];function y(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"First Name is required"),e.qZA())}function w(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"First Name allow only Alphabets(min 3 & max 20 Char)"),e.qZA())}function T(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,y,2,0,"div",41),e.YNc(2,w,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.firstName.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.firstName.errors.pattern)}}function b(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Last Name is required"),e.qZA())}function A(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Last Name allow only Alphabets(min 3 & max 20 Char)"),e.qZA())}function P(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,b,2,0,"div",41),e.YNc(2,A,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.lastName.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.lastName.errors.pattern)}}function q(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Companyname is required"),e.qZA())}function N(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Companyname allow only Alphanumeric"),e.qZA())}function I(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,q,2,0,"div",41),e.YNc(2,N,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.companyname.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.companyname.errors.pattern)}}function M(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Email address is required"),e.qZA())}function k(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Please enter a valid email"),e.qZA())}function O(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,M,2,0,"div",41),e.YNc(2,k,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.email.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.email.errors.pattern)}}function U(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Password is required"),e.qZA())}function J(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Enter Valid Password (Ex: Aa@2aa) and minimum 6 charcters "),e.qZA())}function Q(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,U,2,0,"div",41),e.YNc(2,J,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.password.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.password.errors.pattern)}}function R(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Confirm Password is required"),e.qZA())}function Y(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"Enter Valid Confirm Password (Ex: Aa@2aa) and minimum 6 charcters "),e.qZA())}function S(t,n){1&t&&(e.TgZ(0,"div"),e._uU(1,"The password and confirmation password do not match"),e.qZA())}function z(t,n){if(1&t&&(e.TgZ(0,"div",40),e.YNc(1,R,2,0,"div",41),e.YNc(2,Y,2,0,"div",41),e.YNc(3,S,2,0,"div",41),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.f.confirmpassword.errors.required),e.xp6(1),e.Q6J("ngIf",s.f.confirmpassword.errors.pattern),e.xp6(1),e.Q6J("ngIf",s.f.confirmpassword.errors.mustMatch)}}function F(t,n){1&t&&(e.TgZ(0,"div",42)(1,"p"),e._uU(2,"Account Created Successfully...!"),e.qZA()())}function D(t,n){1&t&&(e.TgZ(0,"div",40),e._uU(1,"Accept terms of service & privacy statement is required"),e.qZA())}function E(t,n){1&t&&e._UZ(0,"span",43)}function L(t,n){if(1&t){const s=e.EpF();e.TgZ(0,"alert",46),e.NdJ("onClosed",function(){e.CHM(s);const r=e.oxw(2);return e.KtG(r.onClosed(r.alertMsg))}),e._uU(1),e.qZA()}if(2&t){const s=e.oxw(2);e.Q6J("type",s.alertType)("dismissible",s.dismissible),e.xp6(1),e.hij("",s.alertMsg," ")}}function K(t,n){if(1&t&&(e.TgZ(0,"div",44),e.YNc(1,L,2,3,"alert",45),e.qZA()),2&t){const s=e.oxw();e.xp6(1),e.Q6J("ngIf",s.isOpen)}}const d=function(t){return{"is-invalid":t}},$=[{path:"",component:(()=>{const n=class{constructor(a,r,o,c,g){this.formBuilder=a,this.router=r,this.authenticationService=o,this.userService=c,this.alertService=g,this.loading=!1,this.submitted=!1,this.navbarCollapsed=!1,this.show=!1,this.dismissible=!0,this.portal=m.N.portalPrefix}ngOnInit(){const a=document.getElementById("main");a.classList.remove("container"),a.classList.remove("site-content"),a.classList.add("container-fluid"),a.style.padding="0px";const r=".*\\S.*[a-zA-Z -']";this.regForm=this.formBuilder.group({firstName:["",[i.kI.required,i.kI.pattern(r)]],lastName:["",[i.kI.required,i.kI.pattern(r)]],companyname:["",[i.kI.required,i.kI.pattern("^(?![0-9]*$)[a-zA-Z0-9 ]+$")]],email:["",[i.kI.required,i.kI.pattern]],password:["",[i.kI.required,i.kI.pattern,i.kI.minLength(6)]],confirmpassword:["",[i.kI.required,i.kI.pattern,i.kI.minLength(6)]],acceptPolicy:[!1,i.kI.requiredTrue]},{validator:(0,C.Y)("password","confirmpassword")})}ngOnDestroy(){const a=document.getElementById("main");a.classList.remove("container-fluid"),a.style.padding=null,a.classList.add("site-content")}get f(){return this.regForm.controls}clearError(){this.errorMsg=""}
1onSubmit(){if(this.submitted=!0,this.regForm.invalid)return!1;this.loading=!0,this.userService.register(this.constructor.name,x.e.registerModule,{firstname:this.f.firstName.value,lastname:this.f.lastName.value,email:this.f.email.value,password:this.f.password.value,confirmpassword:this.f.confirmpassword.value,companyname:this.f.companyname.value}).pipe((0,v.P)()).subscribe(r=>{this.onSendConsentPreferenceRecord(),this.alertMsg="Account created successfully",this.isOpen=!0,this.alertType="success",this.router.navigate(["signup/thankyou"]),this.loading=!1},r=>{this.alertMsg=r.company_error||r,this.isOpen=!0,this.alertType="info",this.loading=!1})}onSendConsentPreferenceRecord(){this.consentPreferenceSDK=(this.portal="PrivacyPillar")?window.CP_SDK_PRIVACYPILLAR.init({AppID:m.N.consentPreferenceConfig.AppID,PropID:m.N.consentPreferenceConfig.PropID,ShowLogs:!1}):window.CP_SDK_ADZAPIER.init({AppID:m.N.consentPreferenceConfig.AppID,PropID:m.N.consentPreferenceConfig.PropID,ShowLogs:!1});const a=["password","confirmpassword"],r=document.getElementById("registerForm");let o=r.outerHTML;for(const g of a)o=o.replace(r[g].outerHTML,"");const c={firstname:this.f.firstName.value,lastname:this.f.lastName.value,email:this.f.email.value};this.consentPreferenceSDK.submit({consentData:{consent:{email:c.email,first_name:c.firstname,last_name:c.lastname,data_source:"public",verified:!0},exculdes:["password"],preferences:[{preference:"terms_and_conditions",allow:!0},{preference:"privacy_policy",allow:!0}]},legalNotices:[{identifier:"terms_and_conditions",version:1,content:"https://adzapier.com/terms-of-service/"},{identifier:"privacy_policy",version:1,content:"https://adzapier.com/privacy-policy/"}],proofs:[{content:JSON.stringify(c),form:o}],autodetectIpAddress:!0},g=>{})}onClosed(a){this.alertMsg=!a,this.isOpen=!1}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(i.QS),e.Y36(p.F0),e.Y36(u.$h),e.Y36(u.KD),e.Y36(u.c9))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-register"]],viewQuery:function(r,o){if(1&r&&e.Gf(Z,5),2&r){let c;e.iGM(c=e.CRH())&&(o.registerForm=c.first)}},decls:75,vars:34,consts:[[1,"container-fluid","login-background"],[1,"row","justify-content-center"],[1,""],[1,"logo-group"],["src","assets/imgs/az_new_logo.png","alt","adzapier logo",1,"az-logo","mb-2"],[1,"tx-white"],[1,"inputs-key","login-form","bg-white"],[1,"tx-color-01","mg-b-5"],[1,"tx-color-03","tx-16","mg-b-40"],["id","registerForm",3,"formGroup","ngSubmit"],["registerForm",""],[1,"row"],[1,"form-group","col-md-6"],["for","firstName"],["type","text","name","firstName","formControlName","firstName","placeholder","Enter your firstname","pattern","^[a-zA-Z ]{3,20}$",1,"form-control","input-lg",3,"ngClass"],["class","invalid-feedback",4,"ngIf"],["for","lastName"],["type","text","formControlName","lastName","placeholder","Enter your lastname","pattern","^[a-zA-Z\\s]{3,20}$",1,"form-control","input-lg",3,"ngClass"],[1,"form-group"],["for","companyname"],["type","text","formControlName","companyname","placeholder","Enter your companyname",1,"form-control","input-lg",3,"ngClass","ngModelChange"],["for","email"],["type","email","formControlName","email","placeholder","Enter your email address","pattern","[a-zA-Z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,3}$",1,"form-control","input-lg",3,"ngClass","ngModelChange"],["for","password"],["toggle","","type","password","name","password","formControlName","password","placeholder","Enter your password","pattern","(?=^.{6,}$)((?=.*\\d)|(?=.*\\W+))(?![.\\n])(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9]).*$",1,"form-control","input-lg",3,"ngClass"],["toggle","","type","password","formControlName","confirmpassword","placeholder","Enter your Confirm password","name","confirmpassword","pattern","(?=^.{6,}$)((?=.*\\d)|(?=.*\\W+))(?![.\\n])(?=.*[A-Z])(?=.*[a-z])(?=.*[0-9]).*$",1,"form-control","input-lg",3,"ngClass"],["style","color: blue;","class","tx-13",4,"ngIf"],[2,"color","red"],[1,"form-group","form-check"],["type","checkbox","formControlName","acceptPolicy","id","acceptPolicy",1,"form-check-input"],["for","acceptPolicy",1,"form-check-label",3,"ngClass"],["href","https://adzapier.com/terms-of-service","target","_blank"],["href","https://adzapier.com/privacy-policy","target","_blank"],[1,"text-center"],["type","submit",1,"btn","btn-primary","mr-2","register-btn",3,"disabled"],["class","spinner-border spinner-border-sm mr-1 ",4,"ngIf"],[1,"divi
1der-text"],[1,"tx-18","mg-t-20","tx-center"],["routerLink","/login",1,"btn","btn-link","font-weight-bold"],["class","col-sm-5 mr-0 float-right flotingdiv",4,"ngIf"],[1,"invalid-feedback"],[4,"ngIf"],[1,"tx-13",2,"color","blue"],[1,"spinner-border","spinner-border-sm","mr-1"],[1,"col-sm-5","mr-0","float-right","flotingdiv"],[3,"type","dismissible","onClosed",4,"ngIf"],[3,"type","dismissible","onClosed"]],template:function(r,o){1&r&&(e.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3),e._UZ(4,"img",4),e.TgZ(5,"h4",5),e._uU(6,"Trusted Data Privacy Solutions"),e.qZA()(),e.TgZ(7,"div",6)(8,"h4",7),e._uU(9,"Create New Account"),e.qZA(),e.TgZ(10,"p",8),e._uU(11,"It's free to signup and only takes a minute."),e.qZA(),e.TgZ(12,"form",9,10),e.NdJ("ngSubmit",function(){return o.onSubmit()}),e.TgZ(14,"div",11)(15,"div",12)(16,"label",13),e._uU(17,"First Name"),e.qZA(),e._UZ(18,"input",14),e.YNc(19,T,3,2,"div",15),e.qZA(),e.TgZ(20,"div",12)(21,"label",16),e._uU(22,"Last Name"),e.qZA(),e._UZ(23,"input",17),e.YNc(24,P,3,2,"div",15),e.qZA()(),e.TgZ(25,"div",18)(26,"label",19),e._uU(27,"Company or Agency"),e.qZA(),e.TgZ(28,"input",20),e.NdJ("ngModelChange",function(){return o.clearError()}),e.qZA(),e.YNc(29,I,3,2,"div",15),e.qZA(),e.TgZ(30,"div",18)(31,"label",21),e._uU(32,"Email Address"),e.qZA(),e.TgZ(33,"input",22),e.NdJ("ngModelChange",function(){return o.clearError()}),e.qZA(),e.YNc(34,O,3,2,"div",15),e.qZA(),e.TgZ(35,"div",11)(36,"div",12)(37,"label",23),e._uU(38,"Password"),e.qZA(),e._UZ(39,"input",24),e.YNc(40,Q,3,2,"div",15),e.qZA(),e.TgZ(41,"div",12)(42,"label",23),e._uU(43,"Confirm Password"),e.qZA(),e._UZ(44,"input",25),e.YNc(45,z,4,3,"div",15),e.qZA()(),e.YNc(46,F,3,0,"div",26),e.TgZ(47,"div",27)(48,"p"),e._uU(49),e.qZA()(),e.TgZ(50,"div",28),e._UZ(51,"input",29),e.TgZ(52,"label",30),e._uU(53,"By clicking "),e.TgZ(54,"strong"),e._uU(55,"Create an account"),e.qZA(),e._uU(56," below, you agree to our "),e.TgZ(57,"a",31),e._uU(58,"terms of service"),e.qZA(),e._uU(59," and "),e.TgZ(60,"a",32),e._uU(61,"privacy statement"),e.qZA(),e._uU(62,"."),e.qZA(),e.YNc(63,D,2,0,"div",15),e.qZA(),e.TgZ(64,"div",33)(65,"button",34),e.YNc(66,E,1,0,"span",35),e._uU(67," Create Account "),e.qZA(),e.TgZ(68,"div",36),e._uU(69,"or"),e.qZA(),e.TgZ(70,"div",37),e._uU(71,"Already have an account? "),e.TgZ(72,"a",38),e._uU(73,"Sign In"),e.qZA()()()()()()()(),e.YNc(74,K,2,1,"div",39)),2&r&&(e.xp6(12),e.Q6J("formGroup",o.regForm),e.xp6(6),e.Q6J("ngClass",e.VKq(20,d,o.submitted&&o.f.firstName.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.firstName.errors),e.xp6(4),e.Q6J("ngClass",e.VKq(22,d,o.submitted&&o.f.lastName.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.lastName.errors),e.xp6(4),e.Q6J("ngClass",e.VKq(24,d,o.submitted&&o.f.companyname.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.companyname.errors),e.xp6(4),e.Q6J("ngClass",e.VKq(26,d,o.submitted&&o.f.email.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.email.errors),e.xp6(
15),e.Q6J("ngClass",e.VKq(28,d,o.submitted&&o.f.password.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.password.errors),e.xp6(4),e.Q6J("ngClass",e.VKq(30,d,o.submitted&&o.f.confirmpassword.errors)),e.xp6(1),e.Q6J("ngIf",o.submitted&&o.f.confirmpassword.errors),e.xp6(1),e.Q6J("ngIf",o.show),e.xp6(3),e.Oqu(o.errorMsg),e.xp6(3),e.Q6J("ngClass",e.VKq(32,d,o.submitted&&o.f.acceptPolicy.errors)),e.xp6(11),e.Q6J("ngIf",o.submitted&&o.f.acceptPolicy.errors),e.xp6(2),e.Q6J("disabled",o.loading),e.xp6(1),e.Q6J("ngIf",o.loading),e.xp6(8),e.Q6J("ngIf",o.isOpen))},dependencies:[f.mk,f.O5,i._Y,i.Fj,i.Wl,i.JJ,i.JL,i.c5,i.sg,i.u,p.rH,_.wx],styles:[".content-auth[_ngcontent-%COMP%]{min-height:calc(100vh - 106px);display:flex;flex-direction:column;justify-content:center}.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{padding:0}@media (max-width: 1139px){.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]{max-width:none;padding:0 20px}}.content-auth[_ngcontent-%COMP%] > .container[_ngcontent-%COMP%]:first-child{flex:1}.content-auth-alt[_ngcontent-%COMP%]{min-height:calc(100vh - 106px);display:flex;flex-direction:column;justify-content:center}.content-auth-alt[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}@media (max-width: 1139px){.content-auth-alt[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{max-width:none}}.sign-wrapper[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:340px}@media (min-width: 1200px){.sign-wrapper[_ngcontent-%COMP%]{width:340px}}.sign-wrapper[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{display:block;margin-bottom:5px}.alert-success[_ngcontent-%COMP%]{background-color:#5cb85c;border-color:#4cae4c;color:#fff;padding:12px 32px 12px 12px!important}.alert-danger[_ngcontent-%COMP%]{color:#721c24;background-color:#f8d7da;border-color:#f5c6cb}input[_ngcontent-%COMP%]::-ms-reveal, input[_ngcontent-%COMP%]::-ms-clear{display:none}.flotingdiv[_ngcontent-%COMP%]{position:fixed;bottom:0;top:84%;right:0;overflow-x:hidden;overflow-y:auto} .alert{padding:12px 35px 12px 12px}.login-background[_ngcontent-%COMP%]{background-image:linear-gradient(#042b60,#004097);height:105%;margin:0;padding-bottom:200px;position:fixed;overflow:scroll}.login-form[_ngcontent-%COMP%]{width:700px;padding:55px}.input-lg[_ngcontent-%COMP%]{height:55px;font-size:16px;font-weight:600}.logo-group[_ngcontent-%COMP%]{text-align:center;margin-top:40px;margin-bottom:30px}.az-logo[_ngcontent-%COMP%]{height:65px}.register-btn[_ngcontent-%COMP%]{background-color:#243553;font-size:20px;width:335px;height:50px;border:none}.forgot-password[_ngcontent-%COMP%]{float:right;margin-right:15px;margin-top:11px;font-size:15px;margin-bottom:20px;font-weight:600}.forgot-password[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{color:#555}"]}),t})()},{path:"thankyou",component:(()=>{const n=class{constructor(){}ngOnInit(){}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-thankyoupage"]],decls:8,vars:0,consts:[[1,"msg"],["version","1.1","xmlns","http://www.w3.org/2000/svg","viewBox","0 0 130.2 130.2"],["fill","none","stroke","#73AF55","stroke-width","6","stroke-miterlimit","10","cx","65.1","cy","65.1","r","62.1",1,"path","circle"],["fill","none","stroke","#73AF55","stroke-width","6","stroke-linecap","round","stroke-miterlimit","10","points","100.2,40.2 51.5,88.8 29.8,67.5 ",1,"path","check"],["routerLink","/login"]],template:function(r,o){1&r&&(e.TgZ(0,"p",0),e.O4$(),e.TgZ(1,"svg",1),e._UZ(2,"circle",2)(3,"polyline",3),e.qZA(),e.kcU(),e.TgZ(4,"span"),e._uU(5," Thank you for signing up, We have sent a mail to your mail id. Please verify the mail and "),e.TgZ(6,"a",4),e._uU(7,"login"),e.qZA()()())},dependencies:[p.rH],styles:["svg[_ngcontent-%COMP%]{width:40px;display:block;margin:10px}.path[_ngcontent-%COMP%]{stroke-dasharray:1000;stroke-dashoffset:0}.path.circle[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_dash .9s ease-in-out}.path.line[_ngcontent-%COMP%]{stroke-dashoffset:1000;animation:_ngcontent-%COMP%_dash .9s .35s ease-in-out forwards}
1.path.check[_ngcontent-%COMP%]{stroke-dashoffset:-100;animation:_ngcontent-%COMP%_dash-check .9s .35s ease-in-out forwards}.msg[_ngcontent-%COMP%]{text-align:center;margin:0 auto;display:flex;font-size:15px;background:#fff;color:#0168fa;font-weight:600;border-radius:10px;border:1px solid #ccc;align-items:center;justify-content:right;width:730px}.msg[_ngcontent-%COMP%] span[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline;cursor:pointer}.msg.success[_ngcontent-%COMP%]{color:#73af55}p.error[_ngcontent-%COMP%]{color:#d06079}@keyframes _ngcontent-%COMP%_dash{0%{stroke-dashoffset:1000}to{stroke-dashoffset:0}}@keyframes _ngcontent-%COMP%_dash-check{0%{stroke-dashoffset:-100}to{stroke-dashoffset:900}}"]}),t})()}];let B=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[p.Bz.forChild($),p.Bz]}),t})(),j=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({providers:[_.TK],imports:[f.ez,i.UX,i.u5,B,_.nM]}),t})()}}]);
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.