1"use strict";(self.webpackChunkusgi=self.webpackChunkusgi||[]).push([[8835],{38835:(gn,V,_)=>{_.r(V),_.d(V,{BecomeAnAgentModule:()=>mn});var v=_(60177),x=_(46359),e=_(54438),$=_(345),K=_(62776),J=_(31392);let Z=(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agent-banner"]],decls:22,vars:0,consts:[[1,"container-fluid","main-banner","agent-details-banner"],[1,"row"],[1,"container"],[1,"main-banner-wrapper"],[1,"main-banner-left"],[1,"breadcrumb","mt-4","d-none","d-lg-block"],[1,"d-flex","fs-12"],["routerLink","/",1,"text-white"],["routerLink","/become-an-agent",1,"text-white"],[1,"banner-info-main","mt-lg-4","mt-0","pt-4"],["routerLink","../",1,"back-btn","back-button","d-lg-none","mr-2"],["src","./assets/images/icons/chevron-back.svg","alt","back arrow"],[1,"text-bolder","text-white","montserrat-bolder"],[1,"d-none","d-md-block"],[1,"main-banner-right","mt-2","mt-sm-0"],["src","./assets/images/become-agent/become-an-agent-banner.png","alt","banner person",1,"img-fluid"]],template:function(o,n){1&o&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"ul",6)(7,"li")(8,"a",7),e.EFF(9,"Home"),e.k0s()(),e.j41(10,"li")(11,"a",8),e.EFF(12,"Become A Business Partner"),e.k0s()()()(),e.j41(13,"div",9)(14,"a",10),e.nrm(15,"img",11),e.k0s(),e.j41(16,"h1",12),e.EFF(17," Become A Partner "),e.nrm(18,"br",13),e.EFF(19," (Agent/POSP) "),e.k0s()()(),e.j41(20,"div",14),e.nrm(21,"img",15),e.k0s()()()()())},dependencies:[x.Wk],styles:[".agent-details-banner[_ngcontent-%COMP%] .main-banner-left[_ngcontent-%COMP%]{max-width:635px}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:30px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:250px}@media (max-width:991.2px) and (min-width: 769px){.banner-info-main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px;padding-left:35px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:130px;margin-left:auto}}@media (max-width: 768px) and (min-width: 576px){.agent-details-banner[_ngcontent-%COMP%]{min-height:inherit}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:40%;margin:0 auto;text-align:center}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;margin:0 auto}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;margin-right:0!important}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:15px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:130px;margin-left:auto}.main-banner-left[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px;padding-left:35px}}@media (max-width: 575px) and (min-width: 320px){.main-banner-wrapper[_ngcontent-%COMP%]{height:110px}.agent-details-banner[_ngcontent-%COMP%]{min-height:inherit;padding-bottom:0}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:35%;margin-top:auto!important;text-align:center}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:15px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto!important;max-width:130px}.banner-info-main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:19px;line-height:24px;padding-left:35px}}"]})}}return a})();var r=_(89417),M=_(63620),U=_(94982),q=_(64804),A=_(45312),k=_(97586),T=_(23102),Q=_(27468),ee=_(46145),te=_(54005),ne=_(70482),oe=_(47121),Y=_(32374),L=_(56316),G=_(50779),ae=_(4149),w=_(32709),X=_(5553),ie=_(83284);const re=["ngOtpInput"],F=a=>({"form-group-error":a}),se=()=>({dateInputFormat:"DD-MM-YYYY",showWeekNumbers:!1}),le=(a,m)=>[a,m];function ce(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Valid Pancard Number"),e.k0s())}
1function me(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Your Mobile Number"),e.k0s())}function ge(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Your Name"),e.k0s())}function de(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter gender"),e.k0s())}function pe(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter gender Title"),e.k0s())}function ue(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Father OR Husband Name"),e.k0s())}function he(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Your Email ID"),e.k0s())}function _e(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter State"),e.k0s())}function fe(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter City"),e.k0s())}function be(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Pincode"),e.k0s())}function Fe(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter agent_type"),e.k0s())}function Ce(a,m){if(1&a&&(e.j41(0,"small",45),e.EFF(1),e.k0s()),2&a){const t=e.XpG(4);e.R7$(),e.SpI("Please Upload Your NOC ",t.panCardFileErrorMsg,"")}}function ve(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",75)(1,"label",22),e.EFF(2,"Upload NOC"),e.j41(3,"span",23),e.EFF(4,"*"),e.k0s()(),e.j41(5,"input",76),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(3);return e.Njj(i.onChangeNOCTransferFile(n))}),e.k0s(),e.DNE(6,Ce,2,1,"small",25),e.k0s()}if(2&a){let t;const o=e.XpG(3);e.R7$(6),e.Y8G("ngIf",(null==(t=o.agentRegisterFrom.get("noc_doc"))?null:t.errors)&&((null==(t=o.agentRegisterFrom.get("noc_doc"))?null:t.dirty)||(null==(t=o.agentRegisterFrom.get("noc_doc"))?null:t.touched))
1)}}function ke(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter IRDAIoption"),e.k0s())}function Me(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",48)(1,"label",77),e.EFF(2,"Select IRDAI option "),e.j41(3,"span",23),e.EFF(4,"*"),e.k0s()(),e.j41(5,"ngx-select",78,6),e.bIt("select",function(n){e.eBV(t);const i=e.XpG(3);return e.Njj(i.selectIRDAIoptions(n))}),e.k0s(),e.DNE(7,ke,2,0,"small",25),e.k0s()}if(2&a){let t,o;const n=e.XpG(3);e.Y8G("ngClass",e.eq3(3,F,(null==(t=n.agentRegisterFrom.get("IRDAIoption"))?null:t.invalid)&&((null==(t=n.agentRegisterFrom.get("IRDAIoption"))?null:t.dirty)||(null==(t=n.agentRegisterFrom.get("IRDAIoption"))?null:t.touched)))),e.R7$(5),e.Y8G("items",n.IRDAIoptions),e.R7$(2),e.Y8G("ngIf",(null==(o=n.agentRegisterFrom.get("IRDAIoption"))?null:o.invalid)&&(null==(o=n.agentRegisterFrom.get("IRDAIoption"))?null:o.touched))}}function Ae(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Emp Ref. Name"),e.k0s())}function xe(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Emp Ref. Code"),e.k0s())}function Re(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Type"),e.k0s())}function ye(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter Insurance Company Remarks"),e.k0s())}function Oe(a,m){if(1&a&&(e.j41(0,"div",30)(1,"label",22),e.EFF(2,"Company Remarks"),e.nrm(3,"span",23),e.k0s(),e.nrm(4,"input",79),e.DNE(5,ye,2,0,"small",25),e.k0s()),2&a){let t,o;const n=e.XpG(3);e.Y8G("ngClass",e.eq3(2,F,(null==(t=n.agentRegisterFrom.get("AvivaRemarks"))?null:t.invalid)&&((null==(t=n.agentRegisterFrom.get("AvivaRemarks"))?null:t.dirty)||(null==(t=n.agentRegisterFrom.get("AvivaRemarks"))?null:t.touched))
1)),e.R7$(5),e.Y8G("ngIf",(null==(o=n.agentRegisterFrom.get("AvivaRemarks"))?null:o.errors)&&((null==(o=n.agentRegisterFrom.get("AvivaRemarks"))?null:o.dirty)||(null==(o=n.agentRegisterFrom.get("AvivaRemarks"))?null:o.touched)))}}function Pe(a,m){1&a&&(e.j41(0,"small",45),e.EFF(1,"Please Enter IMD Code"),e.k0s())}function De(a,m){if(1&a&&(e.j41(0,"div",30)(1,"label",22),e.EFF(2,"IMD Code"),e.j41(3,"span",23),e.EFF(4,"*"),e.k0s()(),e.nrm(5,"input",80),e.DNE(6,Pe,2,0,"small",25),e.k0s()),2&a){let t,o;const n=e.XpG(3);e.Y8G("ngClass",e.eq3(2,F,(null==(t=n.agentRegisterFrom.get("AvivaCode"))?null:t.invalid)&&((null==(t=n.agentRegisterFrom.get("AvivaCode"))?null:t.dirty)||(null==(t=n.agentRegisterFrom.get("AvivaCode"))?null:t.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(o=n.agentRegisterFrom.get("AvivaCode"))?null:o.errors)&&((null==(o=n.agentRegisterFrom.get("AvivaCode"))?null:o.dirty)||(null==(o=n.agentRegisterFrom.get("AvivaCode"))?null:o.touched)))}}function Ee(a,m){1&a&&e.nrm(0,"span",81)}function je(a,m){if(1&a){const t=e.RV6();e.qex(0),e.j41(1,"div",30)(2,"label",22),e.EFF(3,"Name "),e.j41(4,"span",23),e.EFF(5,"*"),e.k0s(),e.j41(6,"small",46),e.EFF(7," (Name as per PAN Card)"),e.k0s()(),e.nrm(8,"input",47),e.DNE(9,ge,2,0,"small",25),e.k0s(),e.j41(10,"div",48)(11,"label",49),e.EFF(12,"Gender "),e.j41(13,"span",23),e.EFF(14,"*"),e.k0s()(),e.nrm(15,"ngx-select",50,0),e.DNE(17,de,2,0,"small",25),e.k0s(),e.j41(18,"div",48)(19,"label",51),e.EFF(20,"Title "),e.j41(21,"span",23),e.EFF(22,"*"),e.k0s()(),e.nrm(23,"ngx-select",52,1),e.DNE(25,pe,2,0,"small",25),e.k0s(),e.j41(26,"div",21)(27,"label",22),e.EFF(28,"Father's/Husband's Name "),e.j41(29,"span",23),e.EFF(30,"* "),e.k0s()(),e.nrm(31,"input",53),e.DNE(32,ue,2,0,"small",25),e.k0s(),e.j41(33,"div",30)(34,"label",22),e.EFF(35,"Email ID "),e.j41(36,"span",23),e.EFF(37,"*"),e.k0s()(),e.j41(38,"input",54),e.bIt("keyup",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.checkEmailIDExits())}),e.k0s(),e.DNE(39,he,2,0,"small",25),e.k0s(),e.j41(40,"div",48)(41,"label",55),e.EFF(42,"State "),e.j41(43,"span",23),e.EFF(44,"*"),e.k0s()(),e.nrm(45,"ngx-select",56,2),e.DNE(47,_e,2,0,"small",25),e.k0s(),e.j41(48,"div",57)(49,"label",58),e.EFF(50,"City "),e.j41(51,"span",23),e.EFF(52,"*"),e.k0s()(),e.nrm(53,"ngx-select",59,3),e.DNE(55,fe,2,0,"small",25),e.k0s(),e.j41(56,"div",21)(57,"label",22),e.EFF(58,"Pincode "),e.j41(59,"span",23),e.EFF(60,"*"),e.k0s()(),e.nrm(61,"input",60),e.DNE(62,be,2,0,"small",25),e.k0s(),e.j41(63,"div",48)(64,"label",61),e.EFF(65,"Agent Type "),e.j41(66,"span",23),e.EFF(67,"*"),e.k0s()(),e.j41(68,"ngx-select",62,4),e.bIt("select",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.selectAgentType(n))}),e.k0s(),e.DNE(70,Fe,2,0,"small",25),e.k0s(),e.DNE(71,ve,7,1,"div",63)(72,Me,8,5,"div",64),e.j41(73,"div",30)(74,"label",22),e.EFF(75,"Emp Reference Name "),e.nrm(76,"span",23),e.k0s(),e.j41(77,"input",65),e.bIt("input",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.change(n))}),e.k0s(),e.DNE(78,Ae,2,0,"small",25),e.j41(79,"div",66)(80,"a",67),e.EFF(81,"Click here for PAN verification"),e.k0s()()(),e.j41(82,"div",30)(83,"label",22),e.EFF(84,"Emp Ref Code"),e.nrm(85,"span",23),e.k0s(),e.j41(86,"input",68),e.bIt("input",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.change(n))}),e.k0s(),e.DNE(87,xe,2,0,"small",25),e.k0s(),e.j41(88,"div",48)(89,"label",69),e.EFF(90,"Are you associated with any other Insurance Company? "),e.j41(91,"span",23),e.EFF(92,"*"),e.k0s()(),e.j41(93,"ngx-select",70,5),e.bIt("select",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.avivaFlagsType(n))}),e.k0s(),e.DNE(95,Re,2,0,"small",25),e.k0s(),e.DNE(96,Oe,6,4,"div",71)(97,De,7,4,"div",71),e.j41(98,"div",72)(99,"button",73),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.afterOtpVerifyAgister())}),e.DNE(100,Ee,1,0,"span",74),e.EFF(101," Continue "),e.k0s()(),e.bVm()}if(2&a){let t,o,n,i,s,g,u,l,h,f,c,C,d,I,R,y,O,S,P,D,E,j,N,B;const p=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(36,F,(null==(t=p.agentRegisterFrom.get("name"))?null:t.invalid)&&((null==(t=p.agentRegisterFrom.get("name"))?null:t.dirty)||(null==(t=p.agentRegisterFrom.get("name"))?null:t.touched))
1)),e.R7$(8),e.Y8G("ngIf",(null==(o=p.agentRegisterFrom.get("name"))?null:o.errors)&&((null==(o=p.agentRegisterFrom.get("name"))?null:o.dirty)||(null==(o=p.agentRegisterFrom.get("name"))?null:o.touched))),e.R7$(),e.Y8G("ngClass",e.eq3(38,F,(null==(n=p.agentRegisterFrom.get("gender"))?null:n.invalid)&&((null==(n=p.agentRegisterFrom.get("gender"))?null:n.dirty)||(null==(n=p.agentRegisterFrom.get("gender"))?null:n.touched)))),e.R7$(5),e.Y8G("items",p.genders),e.R7$(2),e.Y8G("ngIf",(null==(i=p.agentRegisterFrom.get("gender"))?null:i.invalid)&&(null==(i=p.agentRegisterFrom.get("gender"))?null:i.touched)),e.R7$(),e.Y8G("ngClass",e.eq3(40,F,(null==(s=p.agentRegisterFrom.get("gender_title"))?null:s.invalid)&&((null==(s=p.agentRegisterFrom.get("gender_title"))?null:s.dirty)||(null==(s=p.agentRegisterFrom.get("gender_title"))?null:s.touched)))),e.R7$(5),e.Y8G("items",p.genderTitles),e.R7$(2),e.Y8G("ngIf",(null==(g=p.agentRegisterFrom.get("gender_title"))?null:g.invalid)&&(null==(g=p.agentRegisterFrom.get("gender_title"))?null:g.touched)),e.R7$(),e.Y8G("ngClass",e.eq3(42,F,(null==(u=p.agentRegisterFrom.get("FatherORHusbandName"))?null:u.invalid)&&((null==(u=p.agentRegisterFrom.get("FatherORHusbandName"))?null:u.dirty)||(null==(u=p.agentRegisterFrom.get("FatherORHusbandName"))?null:u.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(l=p.agentRegisterFrom.get("FatherORHusbandName"))?null:l.errors)&&((null==(l=p.agentRegisterFrom.get("FatherORHusbandName"))?null:l.dirty)||(null==(l=p.agentRegisterFrom.get("FatherORHusbandName"))?null:l.touched))),e.R7$(),e.Y8G("ngClass",e.eq3(44,F,(null==(h=p.agentRegisterFrom.get("email"))?null:h.invalid)&&((null==(h=p.agentRegisterFrom.get("email"))?null:h.dirty)||(null==(h=p.agentRegisterFrom.get("email"))?null:h.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(f=p.agentRegisterFrom.get("email"))?null:f.invalid)&&((null==(f=p.agentRegisterFrom.get("email"))?null:f.dirty)||(null==(f=p.agentRegisterFrom.get("email"))?null:f.touched))
1),e.R7$(),e.Y8G("ngClass",e.eq3(46,F,(null==(c=p.agentRegisterFrom.get("city"))?null:c.invalid)&&((null==(c=p.agentRegisterFrom.get("city"))?null:c.dirty)||(null==(c=p.agentRegisterFrom.get("city"))?null:c.touched)))),e.R7$(5),e.Y8G("items",p.statelist),e.R7$(2),e.Y8G("ngIf",(null==(C=p.agentRegisterFrom.get("state"))?null:C.invalid)&&(null==(C=p.agentRegisterFrom.get("state"))?null:C.touched)),e.R7$(),e.Y8G("ngClass",e.eq3(48,F,(null==(d=p.agentRegisterFrom.get("city"))?null:d.invalid)&&((null==(d=p.agentRegisterFrom.get("city"))?null:d.dirty)||(null==(d=p.agentRegisterFrom.get("city"))?null:d.touched)))),e.R7$(5),e.Y8G("items",p.citylist),e.R7$(2),e.Y8G("ngIf",(null==(I=p.agentRegisterFrom.get("city"))?null:I.invalid)&&(null==(I=p.agentRegisterFrom.get("city"))?null:I.touched)),e.R7$(),e.Y8G("ngClass",e.eq3(50,F,(null==(R=p.agentRegisterFrom.get("pincode"))?null:R.invalid)&&((null==(R=p.agentRegisterFrom.get("pincode"))?null:R.dirty)||(null==(R=p.agentRegisterFrom.get("pincode"))?null:R.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(y=p.agentRegisterFrom.get("pincode"))?null:y.errors)&&((null==(y=p.agentRegisterFrom.get("pincode"))?null:y.dirty)||(null==(y=p.agentRegisterFrom.get("pincode"))?null:y.touched))),e.R7$(),e.Y8G("ngClass",e.eq3(52,F,(null==(O=p.agentRegisterFrom.get("agent_type"))?null:O.invalid)&&((null==(O=p.agentRegisterFrom.get("agent_type"))?null:O.dirty)||(null==(O=p.agentRegisterFrom.get("agent_type"))?null:O.touched)))),e.R7$(5),e.Y8G("items",p.agentTypes),e.R7$(2),e.Y8G("ngIf",(null==(S=p.agentRegisterFrom.get("agent_type"))?null:S.invalid)&&(null==(S=p.agentRegisterFrom.get("agent_type"))?null:S.touched)),e.R7$(),e.Y8G("ngIf","TRANSFER"==p.getAgentType),e.R7$(),e.Y8G("ngIf","Insurance Agent"==p.getAgentType),e.R7$(),e.Y8G("ngClass",e.eq3(54,F,(null==(P=p.agentRegisterFrom.get("EmpRefName"))?null:P.invalid)&&((null==(P=p.agentRegisterFrom.get("EmpRefName"))?null:P.dirty)||(null==(P=p.agentRegisterFrom.get("EmpRefName"))?null:P.touched))
1)),e.R7$(5),e.Y8G("ngIf",(null==(D=p.agentRegisterFrom.get("EmpRefName"))?null:D.errors)&&((null==(D=p.agentRegisterFrom.get("EmpRefName"))?null:D.dirty)||(null==(D=p.agentRegisterFrom.get("EmpRefName"))?null:D.touched))),e.R7$(4),e.Y8G("ngClass",e.eq3(56,F,(null==(E=p.agentRegisterFrom.get("EmpRefCode"))?null:E.invalid)&&((null==(E=p.agentRegisterFrom.get("EmpRefCode"))?null:E.dirty)||(null==(E=p.agentRegisterFrom.get("EmpRefCode"))?null:E.touched)))),e.R7$(5),e.Y8G("ngIf",(null==(j=p.agentRegisterFrom.get("EmpRefCode"))?null:j.errors)&&((null==(j=p.agentRegisterFrom.get("EmpRefCode"))?null:j.dirty)||(null==(j=p.agentRegisterFrom.get("EmpRefCode"))?null:j.touched))),e.R7$(),e.Y8G("ngClass",e.eq3(58,F,(null==(N=p.agentRegisterFrom.get("AvivaFlagging"))?null:N.invalid)&&((null==(N=p.agentRegisterFrom.get("AvivaFlagging"))?null:N.dirty)||(null==(N=p.agentRegisterFrom.get("AvivaFlagging"))?null:N.touched)))),e.R7$(5),e.Y8G("items",p.AvivaFlaggings),e.R7$(2),e.Y8G("ngIf",(null==(B=p.agentRegisterFrom.get("AvivaFlagging"))?null:B.invalid)&&(null==(B=p.agentRegisterFrom.get("AvivaFlagging"))?null:B.touched)),e.R7$(),e.Y8G("ngIf","YES"==p.avivaFlagType),e.R7$(),e.Y8G("ngIf","YES"==p.avivaFlagType),e.R7$(2),e.Y8G("disabled",!p.agentRegisterFrom.valid||p.aobLoading),e.R7$(),e.Y8G("ngIf",p.aobLoading)}}function Ne(a,m){1&a&&e.nrm(0,"span",81)}function we(a,m){if(1&a){const t=e.RV6();e.qex(0),e.j41(1,"button",83),e.bIt("click",function(){e.eBV(t);const n=e.XpG(3);return e.Njj(n.updateStatusByRefId())}),e.EFF(2,"Update CKYC Status"),e.k0s(),e.bVm()}}function Ie(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",72)(1,"button",82),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.onSubmit())}),e.DNE(2,Ne,1,0,"span",74),e.EFF(3," Register"),e.k0s(),e.DNE(4,we,3,0,"ng-container",32),e.k0s()}if(2&a){const t=e.XpG(2);e.R7$(),e.Y8G("disabled",!t.agentRegisterFrom.valid||t.aobLoading||t.isChangedRefIDType),e.R7$(),e.Y8G("ngIf",t.aobLoading),e.R7$(2),e.Y8G("ngIf",1==t.isChangedRefIDType)}}function Se(a,m){1&a&&(e.j41(0,"div",84)(1,"span",85),e.EFF(2," Please agree to terms and conditions to continue. "),e.k0s()())}function Be(a,m){1&a&&(e.j41(0,"div",84)(1,"span",85),e.EFF(2," Please agree to terms and conditions to continue. "),e.k0s()())}function Te(a,m){if(1&a){const t=e.RV6();e.j41(0,"form",15),e.nrm(1,"input",16)(2,"input",17),e.j41(3,"h6",18),e.EFF(4," Want to become A Business Partner ? Register yourself. "),e.k0s(),e.j41(5,"p",19),e.EFF(6," Fill the below form and we will get back to you in no time! "),e.k0s(),e.j41(7,"div",20)(8,"div",21)(9,"label",22),e.EFF(10,"PAN No "),e.j41(11,"span",23),e.EFF(12,"* "),e.k0s()(),e.j41(13,"input",24),e.bIt("keyup",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.onOnEnterSubmit())}),e.k0s(),e.DNE(14,ce,2,0,"small",25),e.k0s(),e.j41(15,"div",26)(16,"label",27),e.EFF(17,"DOB "),e.j41(18,"span",23),e.EFF(19,"*"),e.k0s()(),e.nrm(20,"img",28)(21,"input",29),e.k0s(),e.j41(22,"div",30)(23,"label",22),e.EFF(24,"Mobile Number "),e.j41(25,"span",23),e.EFF(26,"*"),e.k0s()(),e.j41(27,"ngx-intl-tel-input",31),e.bIt("countryChange",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.countryChange(n))}),e.k0s(),e.DNE(28,me,2,0,"small",25),e.k0s(),e.DNE(29,je,102,60,"ng-container",32),e.k0s(),e.DNE(30,Ie,5,3,"div",33),e.j41(31,"div",34)(32,"div",35),e.nrm(33,"input",36),e.j41(34,"label",37),e.EFF(35," I Agree to I hereby authorize Universal Sompo General Insurance to contact me on my given mobile number and perform CKYC check. "),e.k0s()(),e.DNE(36,Se,3,0,"div",38),e.k0s(),e.j41(37,"div",39)(38,"div",40),e.nrm(39,"input",41),e.j41(40,"label",42)(41,"div"),e.EFF(42," I hereby consent to and authorize Universal Sompo General Insurance Company Limited "),e.j41(43,"span",43),e.EFF(44,"(\u201cCompany\u201d)"),e.k0s(),e.EFF(45," and its representatives to collect, use, share and disclose information provided by me, as per the Privacy policy of the Company. "),e.j41(46,"a",44),e.EFF(47,"T&C"),e.k0s()()()(),e.DNE(48,Be,3,0,"div",38),e.k0s()()}if(2&a){let t,o,n,i,s,g,u;const l=e.XpG();e.Y8G("formGroup",l.agentRegisterFrom),e.R7$(8),e.Y8G("ngClass",e.eq3(24,F,(null==(t=l.agentRegisterFrom.get("idNumber"))?null:t.invali
1d)&&((null==(t=l.agentRegisterFrom.get("idNumber"))?null:t.dirty)||(null==(t=l.agentRegisterFrom.get("idNumber"))?null:t.touched)))),e.R7$(5),e.Y8G("readonly",l.readonlyPan),e.R7$(),e.Y8G("ngIf",(null==(o=l.agentRegisterFrom.get("idNumber"))?null:o.errors)&&((null==(o=l.agentRegisterFrom.get("idNumber"))?null:o.dirty)||(null==(o=l.agentRegisterFrom.get("idNumber"))?null:o.touched))),e.R7$(),e.Y8G("ngClass",e.eq3(26,F,(null==(n=l.agentRegisterFrom.get("dob"))?null:n.errors)&&(null==(n=l.agentRegisterFrom.get("dob"))?null:n.touched))),e.R7$(6),e.Y8G("readonly",l.readonlyDob)("bsConfig",e.lJ4(28,se)),e.R7$(),e.Y8G("ngClass",e.eq3(29,F,(null==(i=l.agentRegisterFrom.get("phone"))?null:i.errors)&&(null==(i=l.agentRegisterFrom.get("phone"))?null:i.touched))),e.R7$(5),e.Y8G("readonly",l.readonlyPhone)("cssClass","intl-tel-number contact-number")("preferredCountries",l.preferredCountries)("enableAutoCountrySelect",!0)("enablePlaceholder",!1)("searchCountryField",e.l_i(31,le,l.SearchCountryField.Iso2,l.SearchCountryField.Name))("selectFirstCountry",!1)("selectedCountryISO",l.CountryISO.India)("phoneValidation",!0)("separateDialCode",!1)("numberFormat",l.PhoneNumberFormat.National),e.R7$(),e.Y8G("ngIf",(null==(s=l.agentRegisterFrom.get("phone"))?null:s.errors)&&(null==(s=l.agentRegisterFrom.get("phone"))?null:s.touched)),e.R7$(),e.Y8G("ngIf",1==l.CKYCDataFound),e.R7$(),e.Y8G("ngIf",1!=l.CKYCDataFound),e.R7$(6),e.Y8G("ngIf",l.submitted&&(null==(g=l.agentRegisterFrom.get("agentAccepTerms"))?null:g.invalid)),e.R7$(12),e.Y8G("ngIf",l.submitted&&(null==(u=l.agentRegisterFrom.get("agentAccepTerms2"))?null:u.invalid))}}function Ye(a,m){1&a&&e.nrm(0,"span",81)}function Ge(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",86)(1,"p",87),e.EFF(2,"Please enter the OTP sent to your given Mobile Number"),e.k0s(),e.j41(3,"form",88)(4,"div",89)(5,"div",90)(6,"div",91)(7,"label",22),e.EFF(8,"Enter OTP"),e.k0s(),e.j41(9,"ngx-otp-input",92,7),e.bIt("fill",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.handleFillEvent(n))})("otpComplete",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onOtpComplete(n))}),e.k0s(),e.j41(11,"small",45),e.EFF(12,"Please Enter Your Mobile Number"),e.k0s()(),e.j41(13,"div",93),e.EFF(14),e.k0s()(),e.j41(15,"div",94)(16,"p",95),e.EFF(17,"Didn\u2019t receive the OTP? "),e.j41(18,"a",96),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.reSendOtp())}),e.j41(19,"span",97),e.EFF(20,"Resend"),e.k0s(),e.j41(21,"span"),e.nrm(22,"img",98),e.k0s()()(),e.j41(23,"a",99),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.WrongNo())}),e.EFF(24," Entered wrong mobile number? "),e.k0s()(),e.j41(25,"div",100)(26,"button",73),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.verifyOtp(n.agentRegisterFrom))}),e.DNE(27,Ye,1,0,"span",74),e.EFF(28," Verify"),e.k0s()()()(),e.j41(29,"div",101)(30,"p",95),e.EFF(31,"Didn\u2019t receive the OTP? "),e.j41(32,"a",96),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.reSendOtp())}),e.j41(33,"span",97),e.EFF(34,"Resend"),e.k0s(),e.j41(35,"span"),e.nrm(36,"img",98),e.k0s()()(),e.j41(37,"a",102),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.WrongNo())}),e.EFF(38," Entered wrong mobile number? "),e.k0s()()()}if(2&a){const t=e.XpG();e.R7$(3),e.Y8G("formGroup",t.otpForm),e.R7$(6),e.Y8G("options",t.otpInputConfig),e.R7$(5),e.SpI(" 00:",t.timeLeft," "),e.R7$(12),e.Y8G("disabled",t.aobLoading),e.R7$(),e.Y8G("ngIf",t.aobLoading)}}function Ve(a,m){1&a&&(e.j41(0,"div"),e.nrm(1,"img",104),e.j41(2,"h6",105),e.EFF(3,"Your Number has been verified "),e.k0s()())}function $e(a,m){1&a&&(e.j41(0,"div")(1,"h6",106),e.EFF(2,"OOPS! "),e.k0s(),e.j41(3,"h6",105),e.EFF(4,"You seem too have enter wrong OTP "),e.k0s()())}function Ue(a,m){1&a&&(e.j41(0,"div")(1,"h6",106),e.EFF(2,"Uh-Oh"),e.k0s(),e.j41(3,"h6",105),e.EFF(4,"You seem to have run out of time"),e.k0s()())}function qe(a,m){if(1&a&&(e.j41(0,"div",103),e.DNE(1,Ve,4,0,"div",32)(2,$e,5,0,"div",32)(3,Ue,5,0,"div",32),e.k0s()),2&a){const t=e.XpG();e.R7$(),e.Y8G("ngIf",t.verfiedOtp),e.R7$(),e.Y8G("ngIf",t.wrongOtp),e.R7$(),e.Y8G("ngIf",t.timeOut)}}let Le=(()=>{class a{constructor(t,o,n,i,s,g,u,l,h){this.journeyHomeService=t,this.transactionService=o,this.pincodeCMSSrv=n,this._common=i,this._becomeAgent=s,this.modalService=g,this.common=u,this.router=l,this.helper=h,this.baseURL=A.c.registerapi_forward_url_pmfby,this.submitted=!1,this.citylist=[],this.statelist=[],this.mobileNoSection=!0,this.otpSection=!1,this.otpFeedBack=!1,this.verfiedOtp=!0,this.wrongOtp=!1,this.timeOut=!1,this.timeLeft=111,this.idTypeName="ID Number",this.nocAttachedFile="",this.nocAttachedFileErrorMsg="",this.IsVisible=!1,this.isMinorResult=null,this.CKYCDataFound=!1,this.aobLoading=!1,this.isChangedRefIDType=!1,this.readonlyPhone=!1,this.readonlyPan=!1,this.readonlyDob=!1,this.ngxControl
1=new r.hs,this.agentRegisterFrom=new r.J3({phone:new r.hs(void 0,[r.k0.required]),name:new r.hs(void 0),email:new r.hs(void 0,[r.k0.pattern("^[a-z0-9._%+-]+@[a-z0-9.-]+\\.[a-z]{2,4}$")]),state:new r.hs(void 0),city:new r.hs(void 0),pincode:new r.hs(void 0),agent_type:new r.hs(void 0),agentAccepTerms:new r.hs(!0,r.k0.requiredTrue),agentAccepTerms2:new r.hs(!0,r.k0.requiredTrue),idNumber:new r.hs(void 0,[r.k0.required,r.k0.pattern("^[A-Z]{3}P[A-Z]{1}[0-9]{4}[A-Z]{1}$")]),gender:new r.hs(void 0),dob:new r.hs(void 0,r.k0.required),gender_title:new r.hs(void 0),FatherORHusbandName:new r.hs(void 0),AvivaFlagging:new r.hs(void 0),IRDAIoption:new r.hs(void 0),AvivaRemarks:new r.hs(void 0),AvivaCode:new r.hs(void 0),EmpRefName:new r.hs(void 0),EmpRefCode:new r.hs(void 0),noc_doc:new r.hs(void 0),uniqueTransactionNumber:new r.hs(void 0),txnId:new r.hs(void 0)}),this.otpForm=new r.J3({otp:new r.hs("",[r.k0.required])}),this.agentTypes=["POSP","Insurance Agent"],this.genders=["Male","Female","OTHER"],this.ageBand=["","18yrs-35yrs","36yrs-45yrs","46yrs-50yrs","51yrs-55yrs"],this.genderTitles=["MR","Miss","Mrs"],this.AvivaFlaggings=["NO","YES"],this.IRDAIoptions=["Individual IRDAI","Composite IRDAI"],this.preferredCountries=[M.ij.India,M.ij.UnitedStates,M.ij.UnitedKingdom],this.onlyCountries=[M.ij.India],this.PhoneNumberFormat=M.Hr,this.CountryISO=M.ij,this.separateDialCode=!1,this.SearchCountryField=M.XY,this.otpInputConfig={otpLength:6},this.idType=["PAN Card"],this.CurrentUrl=typeof window<"u"?window.location.href:"/"}ngOnInit(){this.getCityList(),this.getStateList(),this.idNumberValidate=!0,this.ckycValidation(),this.onOnEnterSubmit(),this.getPIPAdd(),this.checkEmailIDExits()}countryChange(t){this.agentRegisterFrom.controls.phone.reset()}noWhitespaceValidator(t){return 0!==(t.value||"").trim().length?null:{whitespace:!0}}getCityList(){this.common.getCityNamesBYUSGIAPI().subscribe(t=>{for(let o=0;o<t.length;o++)this.citylist.push(t[o].CityName)},t=>{console.log(t)})}getStateList(){this.common.getStateNamesBYUSGIAPIAOB().subscribe(t=>{for(let o=0;o<t.length;o++)this.statelist.push(t[o].CityName)},t=>{console.log(t)})}onSubmit(){if(this.agentRegisterFrom.invalid)return this.openErrorDec("Please Enter Before Submit");{var t={MobileNumber:(this.agentRegisterFrom?.value?.phone?.number??"").trim(),PANCardNumber:this.agentRegisterFrom.value.idNumber};let o={PANCardNumber:this.agentRegisterFrom.value.idNumber},n={Email:this.agentRegisterFrom.value.email};const i={Name:this.agentRegisterFrom.value.name,AgentType:this.agentRegisterFrom.value.agent_type,MobileNumber:(this.agentRegisterFrom?.value?.phone?.number??"").trim()?(this.agentRegisterFrom?.value?.phone?.number??"").trim():"",AddressNetwork:this.agentRegisterFrom.value.idNumber};this.InsertUserLogs(i),this.isMinorOrNot(this.agentRegisterFrom.value.dob),0==this.isMinorResult?this._becomeAgent.checkAgentPANCardNumberExists(o).subscribe(s=>{s.length>0?this.openPanAllreadyReg({AgentID:s[0]?.Id}):this._becomeAgent.checkAgentEmailIDExists(n).subscribe(g=>{g.length>0?this.openPanAllreadyReg({AgentID:g[0]?.Id}):this._becomeAgent.checkAgentMobileExists(t).subscribe(u=>{"Y"==u?.Flag?this.openPanAllreadyReg(u):"N"==u?.Flag&&this.CKYCSearchUserValidate()})})}):this.openErrorDec("Agent Is Minor you can not generate application")}}onReset(){this.submitted=!1,this.pauseTimer(),this.agentRegisterFrom.controls.name.reset(),this.agentRegisterFrom.controls.phone.reset(),this.agentRegisterFrom.controls.email.reset(),this.agentRegisterFrom.controls.state.reset(),this.agentRegisterFrom.controls.city.reset(),this.agentRegisterFrom.controls.pincode.reset(),this.agentRegisterFrom.controls.pincode.reset(),this.agentRegisterFrom.controls.agent_type.reset(),this.agentRegisterFrom.controls.FatherORHusbandName.reset()}handleFillEvent(t){this.correctOtp=t}reSendOtp(){this.ckycResByResnoResult?(setTimeout(()=>{this.ngOtpInputRef.clear(),document.getElementById("ngx-otp-input-0")?.focus()},500),this.sendOTPNew(),this.mobileNoSection=!0,this.otpSection=!1,this.submitted=!0,this.successMsg="",this.pauseTimer(),this.aobLoading=!1):((this.agentRegisterFrom.value.phone.countryCode="IN")&&this.agentRegisterFrom.controls.phone.setValue((this.agentRegisterFrom?.value?.phone?.number??"").trim()),this.mobileNoSection=!0,this.otpSection=!1,this.submitted=!0,this.successMsg="",this.pauseTimer(),this.aobLoading=!1)}WrongNo(){(this.agentRegisterFrom.value.phone.countryCode="IN")&&this.agentRegisterFrom.controls.phone.setValue((this.agentRegisterFrom?.value?.phone?.number??"").trim()),this.mobileNoSection=!0,this.otpSection=!1,this.submitted=!0,this.successMsg="",this.pauseTimer(),this.aobLoading=!1}verifyOtp(t){this.mobileNoSection=!0,this.submitted=!0;const o={otp:this.otpCompleteValue?this.otpCompleteValue:this.correctOtp,uniqueTransactionNumber:this.agentRegisterFrom.value?.uniqueTransactionNumber??"NA",txnId:this.agentRegisterFrom.value?.txnId??"NA"};this.aobLoading=!0,(0,Q.p)(this._becomeAgent.verifyOtpWebsite({mob:parseInt((this.agentRegisterFrom?.value?.phone?.number??"").trim()).toString(),otp:this.otpCompleteValue}),this._becomeAgent.verifyOTPAgencyWeb(o)).subscribe(n=>{this.aobLoading=!1;let i=this.helper.decryption(n[0]);if("success"==n[1]?.status)this.CKYCDataFound=!0,this.otpSection=!1,this.readonlyPhone=!0,this.readonlyPan=!0,this.readonlyDob=!0,setTimeout(()=>{document.getElementById("agentDOB")?.setAttribute("readonly","true");const u=document.querySelector("ngx-intl-tel-input input");u&&(u.readOnly=!0)},500),this.agentRegisterFrom.controls.name.setValidators([r.k0.required]),this.agentRegisterFrom.controls.email.setValidators([r.k0.required]),this.agentRegisterFrom.controls.state.setValidators([r.k0.required]),this.agentRegisterFrom.controls.city.setValidators([r.k0.required]),this.agentRegisterFrom.controls.pincode.setValidators([r.k0.required]),this.agentRegisterFrom.controls.agent_type.setValidators([r.k0.required]),this.agentRegisterFrom.controls.gender_title.setValidators([r.k0.required]),this.agentRegisterFrom.controls.FatherORHusbandName.setValidators([r.k0.required]),this.agentRegisterFrom.controls.AvivaFlagging.setValidators([r.k0.required]),this.successMsg="",this.ckycRes1Result=n[1],n[1]?.result?.firstName?.toLowerCase(),this.addressByCKYC=n[1]?.result?.address1+" "+n[1]?.result?.address2+" "+n[1]?.result?.address3,this.fullnameByCKYC=n[1]?.result?.firstName+" "+n[1]?.result?.middleName+" "+n[1]?.result?.lastName,this.agentRegisterFrom.patchValue({name:this.fullnameByCKYC.toUpperCase()?this.fullnameByCKYC.toUpperCase():this.agentRegisterFrom.value.name.toUpperCase(),pincode:n[1]?.result?.pincode??""}
1),this.pincodeCMSSrv.get_State_City_By_Pincode({PinCodevalue:n[1]?.result?.pincode??""}).subscribe(u=>{this.agentRegisterFrom.patchValue({state:u[0].State,city:u[0].City?.replace(/\./g,"")??u[0].City})}),sessionStorage.setItem("BecomeAnAgentPersonalDetails",JSON.stringify(n[1].result));else if("VALID"==i){let s=this.ckycResByResnoResult;this.CKYCDataFound=!0,this.otpSection=!1,this.readonlyPhone=!0,this.readonlyPan=!0,this.readonlyDob=!0,setTimeout(()=>{const d=document.querySelector("ngx-intl-tel-input input");d&&(d.readOnly=!0),document.getElementById("agentDOB")?.setAttribute("readonly","true")},500),this.agentRegisterFrom.controls.name.setValidators([r.k0.required]),this.agentRegisterFrom.controls.email.setValidators([r.k0.required]),this.agentRegisterFrom.controls.state.setValidators([r.k0.required]),this.agentRegisterFrom.controls.city.setValidators([r.k0.required]),this.agentRegisterFrom.controls.pincode.setValidators([r.k0.required]),this.agentRegisterFrom.controls.agent_type.setValidators([r.k0.required]),this.agentRegisterFrom.controls.gender_title.setValidators([r.k0.required]),this.agentRegisterFrom.controls.FatherORHusbandName.setValidators([r.k0.required]),this.agentRegisterFrom.controls.AvivaFlagging.setValidators([r.k0.required]),this.successMsg="",s?.result?.name?.toLowerCase(),this.addressByCKYC=s?.result?.address,this.fullnameByCKYC=s?.result?.name,this.agentRegisterFrom.patchValue({name:this.fullnameByCKYC.toUpperCase()?this.fullnameByCKYC.toUpperCase():this.agentRegisterFrom.value.name.toUpperCase(),pincode:s?.result?.pincode??""}),this.pincodeCMSSrv.get_State_City_By_Pincode({PinCodevalue:s?.result?.pincode??""}).subscribe(d=>{this.agentRegisterFrom.patchValue({state:d[0].State,city:d[0].City?.replace(/\./g,"")??d[0].City})});const l=s.result?.name?.trim().split(" "),h=l[0],f=l[l.length-1],c=this.agentRegisterFrom.get("idNumber")?.value,C={firstName:h??"",lastName:f??"NA",address1:s.result?.address,pan:c??this.agentRegisterFrom.value.idNumber??s.result?.pan??"NA",email:s.result?.email??"",mobileNumber:s.result?.mobileNumber??(this.agentRegisterFrom?.value?.phone?.number??"").trim()??"",dob:s.result?.dob??"",address2:"",address3:"",district:s.result?.district??"",city:s.result?.city??"",pincode:s.result?.pincode??"",idNo:s.result?.idNo??"",maskedAadhaarNumber:s.result?.maskedAadhaarNumber??"",ckycNo:s.result?.ckycNo??"",corresAddress1:"",corresAddress2:"",corresAddress3:""};sessionStorage.setItem("BecomeAnAgentPersonalDetails",JSON.stringify(C))}else this.successMsg="Invalid OTP"},n=>{console.log(n)})}startTimer(){this.interval=setInterval(()=>{this.timeLeft>0?this.timeLeft--:this.timeLeft=0},1e3)}pauseTimer(){this.timeLeft=111,clearInterval(this.interval)}openThankYouPopup(t){this.bsmodelRef=this.modalService.show(q.r,Object.assign({name:t},{class:"thankyou-popup modal-xl",initialState:{name:t}}))}openErrorPopup(t){this.bsmodelRef=this.modalService.show(U.u,Object.assign({error:t},{class:"thankyou-popup modal-xl",initialState:{error:t}}))}ckycValidation(){if("PAN Card"===this.agentRegisterFrom.value.idType){const t=new RegExp("[A-Z]{5}[0-9]{4}[A-Z]{1}$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="PAN"}else if("Reference Number"===this.agentRegisterFrom.value.idType){const t=new RegExp("^[A-Z]{6}[/]{1}[0-9]{6}[/]{1}[0-9]{3}$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="Reference_Number"}else if("Voter ID"===this.agentRegisterFrom.value.idType){const t=new RegExp("^[a-zA-Z]{3}([0-9]){7}?$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="VOTER_ID"}else if("Driving License"===this.agentRegisterFrom.value.idType){const t=new RegExp("^(([A-Z]{2}[0-9]{2})()|([A-Z]{2}-[0-9]{2}))((19|20)[0-9][0-9])[0-9]{7}$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="DRIVING_LICENCE"}else if("Passport"===this.agentRegisterFrom.value.idType){const t=new RegExp("[A-Z]{5}[0-9]{4}[A-Z]{1}$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="PASSPORT"}else if("Existing CKYC Number"===this.agentRegisterFrom.value.idType){const t=new RegExp("[0-9]{14}$");this.idNumberValidate=t.test(this.agentRegisterFrom.value.idNumber),this.idName="CKYC_NO"}}onIdTypeOptionsSelected(t){this.idTypeName=t,this.agentRegisterFrom.get(["idNumber"])?.reset()}Space(t){0===t.target.selectionStart&&"Space"===t.code&&t.preventDefault()}CKYCSearchUserValidate(){let u={source:"WEBONLINE",customerType:"I",uniqueTransactionNumber:"WEBONLINE/"+k(this.agentRegisterFrom.value.dob).format("DD-MM-YY").replaceAll("-","")+"/"+(Math.floor(900*Math.random())+100),idNo:this.agentRegisterFrom.value.idNumber,idType:"PAN",dob:k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY"),mobileNo:(this.agentRegisterFrom?.value?.phone?.number??"").trim(),pincode:"",cKYCNo:"",IsResendOTP:"",txnId:""};this.aobLoading=!0,this._common.CKYCTokenIBV().subscribe(l=>{"Y"==l?.Flag&&this._becomeAgent.cKYCSearchDownloadSendOTPWeb(u,l?.Token).subscribe(h=>
1{if("success"==h?.Result?.status)sessionStorage.removeItem("manualKYCurlUpdate"),this.agentRegisterFrom.patchValue({uniqueTransactionNumber:h?.Result?.uniqueTransactionNumber,txnId:h?.Result?.txnId}),this.mobileNoSection=!1,this.otpSection=!0,this.submitted=!0,this.startTimer(),this.aobLoading=!1;else if("failure"==h?.Result?.status){this.agentRegisterFrom.patchValue({uniqueTransactionNumber:h?.Result?.uniqueTransactionNumber,txnId:h?.Result?.txnId}),this.aobLoading=!1;let f={mobileNo:(this.agentRegisterFrom?.value?.phone?.number??"").trim(),smsContent:`Dear ${this.agentRegisterFrom.value.name??"Customer"} ,Greetings from Universal Sompo General Insurance! Click here ${h?.Result?.manualKYCurl} to complete your KYC. Please ignore if you have completed the KYC.`};this._common.CKYCSendEmail({auth:{WACode:A.c.WACode,WAAppCode:A.c.WAAppCode,Source:A.c.Source},subject:"Kindly Complete Your KYC",to:[{email:this.agentRegisterFrom.value.email,name:this.agentRegisterFrom.value.name}],cc:[{email:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"NONE"},{email:this.RMRoleObj?.email?this.RMRoleObj?.email:"NONE"},{email:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"NONE"}],bcc:[{email:"None"}],content:[{type:"html",value:`<p>Hi ${this.agentRegisterFrom.value.name}</br></br> Thank you for choosing Universal Sompo General Insurance as your Insurance Partner. Please complete your KYC by clicking ${h?.Result?.manualKYCurl}.</br></br> We promise to be there for you 24x7, whenever you need us. In case you have any query, feel free to reach us at 1800 200 4030 or mail at [email protected]. </br></br>Don't forget to download PULZ App on which you can manage your policy easily and explore a host of value-added services. </br></br>Explore the app: <a href='play.google.com/store/apps/details?id=com.universalsompo.meta' target='_blank'>Download LINK</p>`}]}).subscribe(d=>{},d=>{console.log(d)}),this._common.CKYCSendSms(f).subscribe(d=>{console.log("usgiSMSApi",d)},d=>{console.log(d)});const C={ID_Type:"Reference Number",uniqueTransactionNumber:h?.Result?.uniqueTransactionNumber,dob:this.agentRegisterFrom.value.dob instanceof Date?k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY"):this.agentRegisterFrom.value.dob,idNo:this.agentRegisterFrom.value.ID_Number,manualKYCurl:h?.Result?.manualKYCurl};this.isChangedRefIDType=!0,sessionStorage.setItem("manualKYCurlUpdate",JSON.stringify(C)),this.openCkycProcessPopup(h?.Result?.manualKYCurl),setTimeout(()=>{let d=JSON.parse(sessionStorage.getItem("manualKYCurlUpdate"));this.mngetCkycUpdateDlts=d},1e3)}})})}capitalizeFirstLetter(t){return t.charAt(0).toUpperCase()+t.slice(1).toLowerCase()}getRMSMDataByPincode(t){this._becomeAgent.getIMDRMSMDataByPincode({NUM_PINCODE:t}).subscribe(n=>{let s={name:""};n.Data.forEach(g=>{s.name=g?.TXT_INTERMEDIARY_NAME,("REGIONAL MANAGER"==g.TXT_ROLE||"MANAGER"==g.TXT_ROLE||"ASSISTANT MANAGER"==g.TXT_ROLE)&&(this.ASMRoleObj=s)})})}avivaFlagsType(t){this.avivaFlagType=t,"NO"==t?(this.agentRegisterFrom.controls.noc_doc.setValidators([]),this.agentRegisterFrom.controls.AvivaCode.setValidators([]),this.agentRegisterFrom.get(["AvivaCode"])?.reset(),this.agentRegisterFrom.get(["noc_doc"])?.reset()):"YES"==t&&this.agentRegisterFrom.controls.AvivaCode.setValidators([r.k0.required])}selectAgentType(t){this.getAgentType=t,"POSP"==t?(this.agentRegisterFrom.controls.IRDAIoption.setValidators([]),this.agentRegisterFrom.controls.noc_doc.setValidators([]),this.agentRegisterFrom.controls.AvivaCode.setValidators([]),this.agentRegisterFrom.get(["AvivaCode"])?.reset(),this.agentRegisterFrom.get(["IRDAIoption"])?.reset(),this.agentRegisterFrom.get(["noc_doc"])?.reset()):"Insurance Agent"==t?(this.agentRegisterFrom.controls.IRDAIoption.setValidators([r.k0.required]),this.agentRegisterFrom.controls.AvivaCode.setValidators([r.k0.required]),this.agentRegisterFrom.controls.noc_doc.setValidators([]),this.agentRegisterFrom.get(["noc_doc"])?.reset()):"TRANSFER"==t&&(this.agentRegisterFrom.controls.IRDAIoption.setValidators([]),this.agentRegisterFrom.controls.AvivaCode.setValidators([]),this.agentRegisterFrom.get(["AvivaCode"])?.reset(),this.agentRegisterFrom.get(["IRDAIoption"])?.reset(),this.agentRegisterFrom.controls.noc_doc.setValidators([r.k0.required]))}selectIRDAIoptions(t){"Individual IRDAI"===t?(this.agentRegisterFrom.controls.noc_doc.setValidators([]),this.agentRegisterFrom.controls.AvivaCode.setValidators([]),this.agentRegisterFrom.get(["AvivaCode"])?.reset(),this.agentRegisterFrom.get(["noc_doc"])?.reset()):"Composite IRDAI"===t&&(this.agentRegisterFrom.controls.IRDAIoption.setValidators([r.k0.required]),this.agentRegisterFrom.controls.IRDAIoption.updateV
1alueAndValidity(),this.agentRegisterFrom.controls.AvivaCode.setValidators([r.k0.required]),this.agentRegisterFrom.controls.AvivaCode.updateValueAndValidity(),this.agentRegisterFrom.controls.noc_doc.setValidators([]),this.agentRegisterFrom.get(["noc_doc"])?.reset())}selectOtherLife(t){this.getAgentType=t,"NO"==t?this.agentRegisterFrom.controls.AvivaCode.setValidators([]):"YES"==t&&this.agentRegisterFrom.controls.AvivaCode.setValidators([r.k0.required])}openPanAllreadyReg(t){this.bsmodelRef=this.modalService.show(T.W,Object.assign({class:"thankyou-popup modal-xl",initialState:{AppNo:t.AgentID,textDescription:"PAN OR Mobile No is already Registered! against this Application No : "}}))}openErrorDec(t){this.bsmodelRef=this.modalService.show(T.W,Object.assign({class:"thankyou-popup modal-xl",initialState:{AppNo:"",textDescription:t}}))}onOnEnterSubmit(){this._becomeAgent.checkAgentMobileExists({MobileNumber:"",PANCardNumber:this.agentRegisterFrom.value.idNumber}).subscribe(o=>{"Y"==o.Flag&&this.openPanAllreadyReg(o)})}onChangeNOCTransferFile(t){this.nocAttachedFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.nocAttachedFileErrorMsg="and File size should not be greater than 5 MB.",void this.agentRegisterFrom.controls.noc_doc.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.nocAttachedFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}tempF(){this.sendEmailRegisterAgentandRMSM({Name:"Vijay Chauhan",Email:"[email protected]",Title:"Mr",AgentID:"134080011"})}sendEmailRegisterAgentandRMSM(t){let i,o=t?.AgentID,s="",g="",u="";this.CSMRoleObj?.firstname&&(s=`SM Name - ${this.CSMRoleObj?.firstname?this.CSMRoleObj?.firstname:""} - Mobile Number : ${this.CSMRoleObj?.contactno?this.CSMRoleObj?.contactno:""}`),this.RMRoleObj?.firstname&&(g=`RM Name - ${this.RMRoleObj?.firstname?this.RMRoleObj?.firstname:""} - Mobile Number : ${this.RMRoleObj?.contactno?this.RMRoleObj?.contactno:""}`),this.ASMRoleObj?.EmployeeFullName&&(u=`ASM Name - ${this.ASMRoleObj?.EmployeeFullName?this.ASMRoleObj?.EmployeeFullName:""} - Mobile Number : ${this.ASMRoleObj?.MobileNumber?this.ASMRoleObj?.MobileNumber:""}`),i=this.ASMRoleObj?.EmployeeFullName?{auth:{WACode:A.c.WACode,WAAppCode:A.c.WAAppCode,Source:A.c.Source},subject:"Welcome to Universal Sompo - "+this.agentRegisterFrom.value.idNumber,to:[{email:t?.Email,name:t?.Name}],cc:[{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"NONE"},{email:this.RMRoleObj?.email?this.RMRoleObj?.email:"NONE"},{email:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"NONE"}],bcc:[{email:"None"}],content:[{type:"html",value:`<p>\n Dear ${t?.Name},<br><br>\n\n Greeting from Universal Sompo Team!<br>\n Thank you for expressing interest in becoming a part of our Business Partners community! <br>\n We're thrilled to receive your application. Your Application no. is <b>${o}</b>. Since this mail is only for registration while we are still in the receipt of your documents.<br> We can't wait to explore the possibilities together. Please consider it for future reference.<br><br>\n \n Our team will review your application shortly. In the meantime, <a target='_blank' href='www.universalsompo.com'>[Click Here]</a> to familiarize yourself with our values, mission and company products and offerings. <br>\n If you have any immediate questions, don't hesitate to reach out to our support team including your dedicated Relationship Manager.<br>\n \n ${g}<br>\n ${s}<br>\n ${u}<br>\n \n We appreciate your enthusiasm and look forward to the potential of working together.<br><br>\n \n Disclaimer : If you are already uploaded the documents please ignore.<br><br>\n \n Best Regards,<br>\n Team Universal Sompo!\n </p>`}]}
1:{auth:{WACode:A.c.WACode,WAAppCode:A.c.WAAppCode,Source:A.c.Source},subject:"Welcome to Universal Sompo - "+this.agentRegisterFrom.value.idNumber,to:[{email:t?.Email,name:t?.Name}],cc:[{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"NONE"},{email:this.RMRoleObj?.email?this.RMRoleObj?.email:"NONE"},{email:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"NONE"}],bcc:[{email:"None"}],content:[{type:"html",value:`<p>\n Dear ${t?.Name},<br><br>\n\n Greeting from Universal Sompo Team!<br>\n Thank you for expressing interest in becoming a part of our Business Partners community! <br>\n We're thrilled to receive your application. Your Application no. is <b>${o}</b>. We can't wait to explore the possibilities together. Please consider it for future reference.<br>\n \n Our team will review your application shortly. In the meantime, <a target='_blank' href='www.universalsompo.com'>[Click Here]</a> to familiarize yourself with our values, mission and company products and offerings. <br>\n If you have any immediate questions, don't hesitate to reach out to our support team including your dedicated Relationship Manager.<br>\n \n ${g}<br>\n ${s}<br>\n ${u}<br>\n \n We appreciate your enthusiasm and look forward to the potential of working together.<br><br>\n \n \n Best Regards,\n Team Universal Sompo!\n </p>`}]},this._common.RegisterAgentSendEmail(i).subscribe(l=>{"Success"==l&&(sessionStorage.removeItem("manualKYCurlUpdate"),this.updateASMCSMZONEBecomeAgentLeads(t))},l=>{console.log(l)})}getASMBYState(t){this._becomeAgent.getASMBYStateName({STATENameBYASM:t}).subscribe(n=>{this.ASMRoleObj=n.Table[0]})}getCMMBYCityName(t){this._becomeAgent.getCSMBYCityName({CityNameBYCSM:t}).subscribe(n=>{let i=[];i=n.Table.filter(s=>"SalesteamCMS"==s?.role),this.CSMRoleObj=i.length>0?i[0]:[]})}updateASMCSMZONEBecomeAgentLeads(t){this._becomeAgent.updateASMCSMZONEBecomeAgentLeads({Id:t?.AgentID,ZONE:"",ASMEmail:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"",ASMName:this.ASMRoleObj?.EmployeeFullName?this.ASMRoleObj?.EmployeeFullName:"",ASMMob:this.ASMRoleObj?.MobileNumber?this.ASMRoleObj?.MobileNumber:"",CSMName:this.CSMRoleObj?.firstname?this.CSMRoleObj?.firstname:"",CSMEmail:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"",CSMMob:this.CSMRoleObj?.contactno?this.CSMRoleObj?.contactno:"",RMName:this.RMRoleObj?.firstname?this.RMRoleObj?.firstname:"",RMEmail:this.RMRoleObj?.email?this.RMRoleObj?.email:"",RMMob:this.RMRoleObj?.contactno?this.RMRoleObj?.contactno:"",Channel:this.RMRoleObj?.ChannelType?this.RMRoleObj?.ChannelType:"AGENCY"}).subscribe(n=>{console.log(n)})}change(t){this.IsVisible=null!=this.agentRegisterFrom.value.EmpRefName&&""!=this.agentRegisterFrom.value.EmpRefName&&null!=this.agentRegisterFrom.value.EmpRefCode&&""!=this.agentRegisterFrom.value.EmpRefCode}getEmpByRefDtsByEMPCode(t){this._becomeAgent.getEmpByRef({Id:t}).subscribe(n=>{if(n?.Data?.length>0){let i=[];i=n.Data.filter(s=>"SalesteamRM"==s?.role),i.length>0?(this.RMRoleObj=i[0],null!=this.RMRoleObj?.CSMLOCATION&&this.getCMMBYCityName(this.RMRoleObj?.CSMLOCATION)):this.RMRoleObj=[]}})}openCkycProcessPopup(t){this.modalService.show(ee.z,Object.assign({class:"term-condition-popup modal
1-lg",initialState:{ckycUrl:t},backdrop:"static"}))}InsertUserLogs(t){var o="Unknown OS";-1!=navigator.userAgent.indexOf("Win")&&(o="Windows"),-1!=navigator.userAgent.indexOf("Mac")&&(o="Macintosh"),-1!=navigator.userAgent.indexOf("Linux")&&(o="Linux"),-1!=navigator.userAgent.indexOf("Android")&&(o="Android"),-1!=navigator.userAgent.indexOf("like Mac")&&(o="iOS"),this.common.InsertUserLogs({Name:t?.Name,Email:t?.Email?t?.Email:"",MobileNumber:t?.MobileNumber?t?.MobileNumber:"",OperatingSystem:o,BrowserIP:this.pubIPaddress?this.pubIPaddress:"",AddressNetwork:t?.AddressNetwork?t?.AddressNetwork:"",NetworkProvider:"Website_AOB",AgentType:t?.AgentType?t?.AgentType:""}).subscribe(i=>{})}getPIPAdd(){this.common.getPublicIPAddress().subscribe(t=>{this.pubIPaddress=t?.ip})}updateAgentLeadsByApplicationGeneratedFrom(t){this._becomeAgent.updateAgentLeadsApplicationGeneratedFrom({Id:t?.AgentID,ApplicationGenFrom:"Online_Website"}).subscribe(n=>{})}checkEmailIDExits(){this._becomeAgent.checkAgentEmailIDExists({Email:this.agentRegisterFrom.value.email}).subscribe(o=>{o.length>0&&this.openPanAllreadyReg({AgentID:o[0]?.Id})})}sendOTPNew(){let t={mob:parseInt((this.agentRegisterFrom?.value?.phone?.number??"").trim()).toString(),messageType:"OTP"};this.journeyHomeService.sendOtpWeb(t).subscribe(o=>{"SMS Has Been Sent Successfully!"==o&&(this.mobileNoSection=!1,this.otpSection=!0,this.submitted=!0,this.startTimer())},o=>{console.log(o)})}isMinorOrNot(t){const o=new Date(t),n=new Date;let i=n.getFullYear()-o.getFullYear();const s=n.getMonth()-o.getMonth();(s<0||0===s&&n.getDate()<o.getDate())&&i--;let g=i<18;return 1==g?(this.openErrorDec("Agent Is Minor you can not generate application"),this.isMinorResult=g):this.isMinorResult=g}onOtpComplete(t){this.otpCompleteValue=t}afterOtpVerifyAgister(){let t="";t="Insurance Agent"==this.agentRegisterFrom.value.agent_type?"IRDAI":"POSP",this.getASMBYState(this.agentRegisterFrom.value.state),this.getCMMBYCityName(this.agentRegisterFrom.value.city),this.getEmpByRefDtsByEMPCode(this.agentRegisterFrom.value.EmpRefCode);let o={Name:this.fullnameByCKYC.toUpperCase()?this.fullnameByCKYC.toUpperCase():this.agentRegisterFrom.value.name.toUpperCase(),MobileNumber:(this.agentRegisterFrom?.value?.phone?.number??"").trim(),Email:this.agentRegisterFrom.value.email,Pincode:this.agentRegisterFrom.value.pincode,City:this.agentRegisterFrom.value.city,State:this.agentRegisterFrom.value.state,PANCardNumber:this.agentRegisterFrom.value.idNumber,AgentType:t||this.agentRegisterFrom.value.agent_type,DOB:k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY"),Gender:this.agentRegisterFrom.value.gender,FatherORHusbandName:this.agentRegisterFrom.value.FatherORHusbandName,EmpRefName:this.agentRegisterFrom.value.EmpRefName?this.agentRegisterFrom.value.EmpRefName:"",EmpRefCode:this.agentRegisterFrom.value.EmpRefCode,Address:this.addressByCKYC,Title:this.agentRegisterFrom.value.gender_title,AvivaFlagging:this.agentRegisterFrom.value.AvivaFlagging,AvivaRemarks:this.agentRegisterFrom.value.AvivaRemarks,AvivaCode:this.agentRegisterFrom.value.AvivaCode,IRDAIoption:this.agentRegisterFrom.value.IRDAIoption,TransferNOCDoc:this.nocAttachedFile?this.nocAttachedFile:"",CKYCType:"Done",Status:"New Agent",OldApplicationID:""};const i=(this.ckycRes1Result?.result?.firstName?.toLowerCase()??this.ckycResByResnoResult?.result?.name?.toLowerCase())?.split(" "),g=this.agentRegisterFrom.value.name.toLowerCase()?.split(" ");this.aobLoading=!0,i[0]==g[0]?(this._becomeAgent.postBecomeAnAgentReg(o).subscribe(u=>{if("Y"==u.Flag){this.aobLoading=!1,sessionStorage.setItem("BecomeAnAgentID",u.AgentID),sessionStorage.setItem("BecomeAnAgentRegisterDetails",JSON.stringify(o)),sessionStorage.setItem("BecomeAnAgentName",this.agentRegisterFrom.value.name);let l={Name:this.agentRegisterFrom.value.name,Email:this.agentRegisterFrom.value.email,Title:this.agentRegisterFrom.value.gender_title,AgentID:u.AgentID};this.sendEmailRegisterAgentandRMSM(l),this.updateAgentLeadsByApplicationGeneratedFrom(l),this.router.navigate(["become-an-agent-details"],{state:{agentID:u.AgentID}}),this.onReset(),this.pauseTimer()}},u=>{console.log(u)}),this.otpSection=!1):this.openErrorDec("Your Name doest not match with your PAN")}updateStatusByRefId(){{let s,o={source:"WEBONLINE",uniqueTransactionNumber:this.agentRegisterFrom.value.uniqueTransactionNumber}
1,n=100,i=999,g=Math.floor(Math.random()*(i-n+1))+n;this.uniqueNo="WEBONLINE/"+s+"/"+g,sessionStorage.setItem("hap_dob",k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY"));let h=(Date,k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY"));"Invalid date"!==h?(Date,h=k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY")):h=this.agentRegisterFrom.value.dob;let f={email:this.agentRegisterFrom.value.ckycEmail,customerName:"Customer"};this._becomeAgent.checkCKYCReturningUser(o).subscribe(c=>{if(c){this.saveCKYCdtls(c.result,o,c);let C={MobileNumber:this.mobileNo,CusomerName:"Customer"};if(c.result)if("True"===c.result.kycVerifiedStatus){if(k(this.agentRegisterFrom.value.dob).format("DD-MM-YYYY")!=c?.result?.dob&&this.agentRegisterFrom.value.idNumber!=c?.result?.pan)return void this.openErrorPopup("Your reference number is not matching with mentioned DOB OR PAN Number");this.sendOTPNew(),this.ckycResByResnoResult=c}else"False"===c.result.kycVerifiedStatus&&(this.openCkycProcessPopup(this.mngetCkycUpdateDlts?.manualKYCurl),this.journeyHomeService.SendSMSCKYCUser(C).subscribe(d=>{console.log("CkycSMS",d)},d=>{console.log(d)}),this.journeyHomeService.CKYCUsgiEmailApi(f).subscribe(d=>{console.log("usgiEmailApi",d)},d=>{console.log(d)}));else this.openCkycProcessPopup(this.mngetCkycUpdateDlts?.manualKYCurl)}},c=>{this.openErrorDec("Error")})}}saveCKYCdtls(t,o,n){const i={FirstName:t?.name?t?.name:t?.firstName?t?.firstName:"NA",MiddleName:"NA",LastName:"NA",Gender:"Male",CkycMobileNumber:"NA",EmailID:this.agentRegisterFrom.value.ckycEmail??t?.email??"NA",DOB:k(new Date(this.agentRegisterFrom.value.dob)).format("YYYY-MM-DD")?k(new Date(this.agentRegisterFrom.value.dob)).format("YYYY-MM-DD"):t?.result?.dob?t?.result?.dob:"0001-01-01T00:00:00",IDType:"NA",IDNumber:this.agentRegisterFrom.value.idNumber?this.agentRegisterFrom.value.idNumber:"NA",KycPan:this.agentRegisterFrom.value.idNumber?this.agentRegisterFrom.value.idNumber:"",CKYCNumber:this.agentRegisterFrom.value.txnId?this.agentRegisterFrom.value.txnId:"NA",UidNumber:this.agentRegisterFrom.value.uniqueTransactionNumber??t?.pan??"",Address1:t?.address?t?.address:"",Address2:"",Address3:"",CkycPincode:t?.pincode?t?.pincode:"NA",CkycCity:t?.city?t?.city:"NA",InsurerMasterID:0,CkycState:t?.state?t?.state:"",Zone:"NA",JourneyType:"WebsiteAOBAgentReg",CKYCReq:JSON.stringify(o),CKYCRes:JSON.stringify(n)};this.transactionService.cKYCUpdateMotorJourney(i).subscribe(s=>{})}static{this.\u0275fac=function(o){return new(o||a)(e.rXU(te.L),e.rXU(ne.k),e.rXU(oe.V),e.rXU(Y.h),e.rXU(L.Y),e.rXU(G.I8),e.rXU(Y.h),e.rXU(x.Ix),e.rXU(ae.i))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agent-register-form"]],viewQuery:function(o,n){if(1&o&&e.GBs(re,5),2&o){let i;e.mGM(i=e.lsd())&&(n.ngOtpInputRef=i.first)}},decls:8,vars:4,consts:[["gender",""],["gender_title",""],["state",""],["city",""],["agent_type",""],["AvivaFlagging",""],["IRDAIoption",""],["#ngOtpInput",""],[1,"agent-from-section"],[1,"container"],[1,"policy-status-form"],["action","","class","agent-register-from",3,"formGroup",4,"ngIf"],["class","agent-register-otp-from",4,"ngIf"],[1,"text-danger","font-weight-bold","my-3"],["class","otp-feedback text-center",4,"ngIf"],["action","",1,"agent-register-from",3,"formGroup"],["type","hidden","formControlName","uniqueTransactionNumber","placeholder","uniqueTransactionNumber",1,"form-control"],["type","hidden","formControlName","txnId","placeholder","txnId",1,"form-control"],[1,"text-primary","text-bold","montserrat-bold","heading"],[1,"montserrat-medium","text-medium","fs-14","text-primary","pt-lg-2","mt-lg-2","mb-4"],[1,"d-flex","align-items-start","flex-wrap"],[1,"form-group","form-select",3,"ngClass"],["for",""],[1,"text-danger"],["type","text","formControlName","idNumber","placeholder","PAN No","oninput","this.value=this.value.toUpperCase()",1,"form-control",3,"keyup","readonly"],["class","err-txt text-danger",4,"ngIf"],[1,"form-group","datepicker","position-relative",3,"ngClass"],["for","",1,"mb-2","fs-16","text-dark-gray","text-bold","montserrat-bold"],["src","./assets/images/icons/calendar-icon.svg","alt","calendar",1,"img-fluid"],["type","text","id","agentDOB","formControlName","dob","placeholder","DD-MM-YYYY","bsDatepicker","",1,"form-control","position-relative",3,"readonly","bsConfig"],[1,"form-group",3,"ngClass"],["
1id","agentPhone","formControlName","phone","customPlaceholder","Enter Mobile Number","maxLength","10",3,"countryChange","readonly","cssClass","preferredCountries","enableAutoCountrySelect","enablePlaceholder","searchCountryField","selectFirstCountry","selectedCountryISO","phoneValidation","separateDialCode","numberFormat"],[4,"ngIf"],["class","btn-control",4,"ngIf"],[1,"form-group","form-check","accept-tnc"],[1,"declartion","checkbox-dark","mb-5"],["type","checkbox","formControlName","agentAccepTerms","id","agentAccepTerms","checked","",1,"form-check-input"],["for","agentAccepTerms",1,"fs-14","text-dark","text-medium","montserrat-medium","d-flex","align-items-center"],["class","invalid-feedback tooltip-main",4,"ngIf"],[1,"mt-3","form-group","form-check","accept-tnc"],[1,"declartion","checkbox-dark"],["type","checkbox","formControlName","agentAccepTerms2","id","agentAccepTerms2","checked","",1,"form-check-input"],["for","agentAccepTerms2",1,"fs-14","text-dark","text-medium","montserrat-medium","d-flex","align-items-center"],[1,"text-bold"],["target","_blank","href","https://www.universalsompo.com/legal",1,"text-danger","ml-1","text-decoration-none"],[1,"err-txt","text-danger"],[1,"text-small"],["type","text","formControlName","name","placeholder","Enter Your Name","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z .]/g, '').replace(/(\\..*)\\./g, '$1');",1,"form-control"],[1,"form-group","select-state",3,"ngClass"],["for","gender"],["formControlName","gender","placeholder","Select Gender",1,"select-control","w-sm-100",3,"items"],["for","gender_title"],["formControlName","gender_title","placeholder","Select Title",1,"select-control","w-sm-100",3,"items"],["type","text","formControlName","FatherORHusbandName","oninput","this.value=this.value.toUpperCase()","placeholder","Father Husband Name",1,"form-control"],["type","text","formControlName","email","placeholder","Enter Your Email ID",1,"form-control",3,"keyup"],["for","state"],["formControlName","state","placeholder","Select State",1,"select-control","w-sm-100",3,"items"],[1,"form-group","select-city",3,"ngClass"],["for","city"],["formControlName","city","placeholder","Select City",1,"select-control","w-sm-100",3,"items"],["type","text","formControlName","pincode","minlength","6","maxlength","6","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');","placeholder","Enter Pincode",1,"form-control"],["for","agent_type"],["formControlName","agent_type","placeholder","Select Agent Type",1,"select-control","w-sm-100",3,"select","items"],["class","form-group",4,"ngIf"],["class","form-group select-state",3,"ngClass",4,"ngIf"],["type","text","formControlName","EmpRefName","placeholder","Emp Reference Name","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z .]/g, '').replace(/(\\..*)\\./g, '$1');",1,"form-control",3,"input"],[1,"mt-2"],["href","https://agencyportal.irdai.gov.in/PublicAccess/LookUpPAN.aspx","target","_blank"],["type","text","formControlName","EmpRefCode","placeholder","Emp Ref Code",1,"form-control",3,"input"],["for","AvivaFlagging",1,"fss-12"],["formControlName","AvivaFlagging","placeholder","Select Type",1,"select-control","w-sm-100",3,"select","items"],["class","form-group",3,"ngClass",4,"ngIf"],[1,"btn-control"],[1,"btn","btn-danger",3,"click","disabled"],["class","spinner-border spinner-border-sm mr-1",4,"ngIf"],[1,"form-group"],["type","file","formControlName","noc_doc","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],["for","IRDAIoption"],["formControlName","IRDAIoption","placeholder","Select Type",1,"select-control","w-sm-100",3,"select","items"],["type","text","formControlName","AvivaRemarks","placeholder","Insurance Company Remarks",1,"form-control"],["type","text","formControlName","AvivaCode","placeholder","Company Code",1,"form-control"],[1,"spinner-border","spinner-border-sm","mr-1"],[1,"btn","btn-danger","mr-3",3,"click","disabled"],[1,"btn","btn-danger",3,"click"],[1,"invalid-feedback","tooltip-main"],[1,"tooltiptext"],[1,"agent-register-otp-from"],[1,"fs-18","montserrat-bolder","text-bolder","text-primary","mb-4"],[1,"share-feedback-form",3,"formGroup"],[1,"d-flex","flex-column","flex-md-row","flex-wrap","align-items-start","align-items-lg-center"],[1,"d-flex","mr-3","mr-md-3","align-items-end","w-350"],[1,"form-group","form-otp-group","mb-0","mr-3"],["formControlName","phone",3,"fill","otpComplete","options"],[1,"fs-14","w-25","text-danger","montserrat-bold","text-bold","mr-0","mr-md-5","align-self-end","mb-5"],[1,"more-action","mt-3","d-lg-none","d-flex","flex-column","mb-3"],[1,"fs-14","text-black","montserrat-bold","text-bold","d-flex","align-items-center","py-1"],["href","javascript:void(0);",1,"text-link","d-flex","align-items-center","ml-2",3,"click"],[1,"mr-2"],["src","./assets/images/icons/back-arrow-blue.svg","alt",""],["href","javascript:void(0);",1,"fs-14","text-link","montserrat-medium","text-medium","py-1","mt-2","mt-lg-0",3,"click"],[1,"btn-control","align-self-start","align-self-md-center","mt-2","mt-md-3"],[1,"more-action","mt-3","d-none","d-lg-flex","align-items-center"],["href","javascript:void(0);",1,"fs-14","text-link","montserrat-medium","text-medium","py-1",3,"click"],[1,"otp-feedback","text-center"],["src","./assets/images/icons/verify-icon.svg","alt","",1,"mx-auto"],[1,"montserrat-bolder","text-bolder","mt-3","text-white"],[1,"montserrat-bolder","text-bolder","text-white"]],template:function(o,n){1&o&&(e.j41(0,"section",8)(1,"div",9)(2,"div",10),e.DNE(3,Te,49,34,"form",11)(4,Ge,39,5,"div",12),e.j41(5,"p",13),e.EFF(6),e.k0s(),e.DNE(7,qe,4,3,"div",14),e.k0s()()()),2&o&&(e.R7$(3),e.Y8G("ngIf",!n.otpSection),e.R7$(),e.Y8G("ngIf",n.otpSection),e.R7$(2),e.JRh(n.successMsg),e.R7$(),e.Y8G("ngIf",n.otpFeedBack))},dependencies:[v.YU,v.bT,r.qT,r.me,r.Zm,r.BC,r.cb,r.xh,r.tU,r.j4,r.JD,w.pc,w.p0,X.RM,M.NA,M.ZP,ie.c],styles:[".policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:30px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{margin:-55px auto 0;padding:24px 33px 37px;background:#fff;border:1px solid #d8d8d8;box-sizing:border-box;box-shadow:0 0 30px #78787840;border-radius:24px;position:relative}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 23px 30px 0;width:250px;max-width:100%}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;right:16px;top:38px;z-index:1}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#838383;font-weight:600;margin-bottom:8px;display:block} .intl-tel-number.contact-number{width:100%}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:18px;padding-left:36px;padding-right:36px} .highlited .agent-from-section .policy-status-form{box-shadow:0 0 30px #787878!important;animation:_ngcontent-%COMP%_pulse 1s infinite;-webkit-animation:_ngcontent-%COMP%_pulse 1s infinite}@keyframes _ngcontent-%COMP%_pulse{0%{transform:scale(.95)}to{transform:scale(1)}}@media (max-width: 1200px) and (min-width: 992px){.policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:70px}}@media (max-width:991.2px) and (min-width: 769px){.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:16px;line-height:18px;margin:16px 0 9px}}@media (max-width: 768px) and (min-width: 576px){.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-register-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]{justify-content:space-between}.agent-register-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]:last-child, .agent-register-otp-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]:last-child{justify-content:flex-start} .agent-register-from .form-group, .agent-register-from .form-select, .agent-register-otp-from .form-group, .agent-register-otp-from .form-select{width:100%!important;margin-bottom:15px!important;margin-right:0!important}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px!important;line-height:20px}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:20px}.agent-from-section[_ngcontent-%COMP%]{margin-bottom:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}}@media (max-width: 575px) and (min-width: 320px){.agent-from-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:1px 16px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:100%;margin-bottom:15px!important;margin-right:0!important} .agent-register-from .form-group, .agent-register-from .form-select, .agent-register-otp-from .form-group, .agent-register-otp-from .form-selec{width:100%!important}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px!important;line-height:20px}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:20px}.agent-from-section[_ngcontent-%COMP%]{margin-bottom:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}}.fss-12[_ngcontent-%COMP%]{font-size:12px!important}small.text-small[_ngcontent-%COMP%]{font-size:12px}"]})}}return a})(),Xe=(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agent-benefits"]],decls:27,vars:0,consts:[[1,"agent-benefits-section"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-5","px-3","px-lg-0"],[1,"text-danger"],[1,"agent-benefits-wrapper"],[1,"row","m-0","flex-column-reverse","flex-md-row"],[1,"col-12","col-md-4","left-side","p-0"],["src","./assets/images/become-agent/agent-image.png","alt","agent image",1,"img-fluid","agent-image"],[1,"col-12","col-md-7","right-side","pt-0","pt-md-4","px-0","px-lg-3"],[1,"d-flex","align-items-start","mb-4","mb-xl-5"],["src","./assets/images/become-agent/check-icon.svg","alt","check-icon",1,"img-fluid","mr-2","mr-md-3","check-icon"],[1,"text-dark","text-medium","montserrat-medium"],[1,"d-flex","align-items-start"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2)(3,"span",3),e.
1EFF(4,"Benefits of "),e.k0s(),e.EFF(5,"Being an agent for Universal Sompo "),e.k0s(),e.j41(6,"div",4)(7,"div",5)(8,"div",6),e.nrm(9,"img",7),e.k0s(),e.j41(10,"div",8)(11,"div",9),e.nrm(12,"img",10),e.j41(13,"p",11),e.EFF(14,"Great earning opportunity "),e.k0s()(),e.j41(15,"div",9),e.nrm(16,"img",10),e.j41(17,"p",11),e.EFF(18,"You can decide your own goals and work as per your own convenience "),e.k0s()(),e.j41(19,"div",9),e.nrm(20,"img",10),e.j41(21,"p",11),e.EFF(22,"Protect people with a financial cover and give them a secure future"),e.k0s()(),e.j41(23,"div",12),e.nrm(24,"img",10),e.j41(25,"p",11),e.EFF(26,"An opportunity to learn, for your professional and personal growth in an experiential manner "),e.k0s()()()()()()())},styles:[".agent-benefits-section[_ngcontent-%COMP%]{background-color:#fafafa;margin-top:36px;padding-top:36px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:22px;line-height:26px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] .agent-image[_ngcontent-%COMP%]{margin:auto}@media (max-width: 768px) and (min-width: 576px){.agent-benefits-section[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px}.agent-benefits-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{width:25px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:17px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] .agent-image[_ngcontent-%COMP%]{width:250px}}@media (max-width: 575px) and (min-width: 320px){.agent-benefits-section[_ngcontent-%COMP%]{margin-top:16px;padding-top:16px}.agent-benefits-wrapper[_ngcontent-%COMP%] .check-icon[_ngcontent-%COMP%]{width:25px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{font-size:14px;line-height:17px}.agent-benefits-section[_ngcontent-%COMP%] .agent-benefits-wrapper[_ngcontent-%COMP%] .agent-image[_ngcontent-%COMP%]{width:200px;margin:0 auto!important}}"]})}}return a})();const ze=a=>({active:a});function We(a,m){if(1&a){const t=e.RV6();e.j41(0,"li",4),e.bIt("click",function(){const n=e.eBV(t),i=n.$implicit,s=n.index,g=e.XpG();return e.Njj(g.onClickOnLink(s,i.id))}),e.j41(1,"a",5),e.EFF(2),e.k0s()()}if(2&a){const t=m.$implicit,o=m.index,n=e.XpG();e.Y8G("ngClass",e.eq3(2,ze,o==n.secDef)),e.R7$(2),e.JRh(t.link)}}let He=(()=>{class a{constructor(){this.sectionFixed=!1,this.scrollOffset=1080,this.linkActive=0,this.selectedId=new e.bkB,this.links=[{link:"Who can become an Agent",id:"whoBecomeAgent"},{link:"Benefits",id:"agentBenefits"},{link:"How to become Agent",id:"howBecomeAgent"},{link:"Reviews",id:"secReviews"},{link:"FAQ\u2019s",id:"secFAQ"}]}ngOnInit(){}onClickOnLink(t,o){this.secDef=t,this.selectedId.emit(o),console.log(o)}onWindowScroll(){window.innerWidth>768?this.sectionFixed=window.pageYOffset>=1260:window.innerWidth<=768&&(this.sectionFixed=window.pageYOffset>=1320)}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agent-section-links"]],hostBindings:function(o,n){1&o&&e.bIt("scroll",function(){return n.onWindowScroll()},!1,e.tSv)},inputs:{secDef:"secDef"},outputs:{selectedId:"selectedId"},decls:4,vars:3,consts:[[1,"section-links-wrapper"],[1,"container","p-0"],[1,"sections-link","d-flex","justify-content-lg-center","py-3"],[3,"ngClass","click",4,"ngFor","ngForOf"],[3,"click","ngClass"],["href","javascript:void(0);",1,"fs-16","montserrat-medium"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"ul",2),e.DNE(3,We,3,4,"li",3),e.k0s()()()),2&o&&(e.AVh("fixed",n.sectionFixed),e.R7$(3),e.Y8G("ngForOf",n.links))},dependencies:[v.YU,v.Sq],styles:[".section-links-wrapper[_ngcontent-%COMP%] .sections-link[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{margin-right:0}@media (max-width:991.2px) and (min-width: 769px){.section-links-wrapper[_ngcontent-%COMP%] .sections-link[_ngcontent-%COMP%]{justify-content:center}}@media (max-width: 875px) and (min-width: 769px){.section-links-wrapper[_ngcontent-%COMP%] .sections-link[_ngcontent-%COMP%]{justify-content:start}}@media (max-width: 768px) and (min-width: 576px){.section-links-wrapper[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}}@media (max-width: 575px) and (min-width: 320px){.section-links-wrapper[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}}"]})}}return a})();function Ke(a,m){if(1&a){const t=e.RV6();e.j41(0,"a",18),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.show())}),e.EFF(1,"view More"),e.k0s()}}
1function Je(a,m){if(1&a){const t=e.RV6();e.j41(0,"a",18),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.hide())}),e.EFF(1,"view less"),e.k0s()}}let Ze=(()=>{class a{constructor(){this.isShown=!1,this.viewMore=!0}ngOnInit(){}hide(){this.viewMore=!0,this.viewLess=!1,this.isShown=!1}show(){this.isShown=!0,this.viewLess=!0,this.viewMore=!1,this.isShown=!0}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-who-become-agent"]],decls:36,vars:5,consts:[[1,"who-beecome-agent-section","mt-3","mt-lg-5"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-2","pb-lg-3","px-3","px-lg-0"],[1,"text-danger"],[1,"who-beecome-agent-wrapper"],[1,"text-medium","text-center","montserrat-medium","pb-4","pb-lg-5","px-0","px-lg-5"],[1,"text-bold","montserrat-bold"],[1,"row","m-0","justify-content-center"],[1,"col-12","col-md-6","col-lg-4","text-center","mb-5"],["src","./assets/images/become-agent/student.png","alt","student",1,"img-fluid","mx-auto","mb-2"],[1,"fs-18","text-dark","text-bold","montserrat-bold"],["src","./assets/images/become-agent/retired-person.png","alt","retired-person",1,"img-fluid","mx-auto","mb-2"],[1,"col-12","col-md-6","col-lg-4","text-center","mb-5","d-none","d-md-block",3,"ngClass"],["src","./assets/images/become-agent/house-wife.png","alt","house-wife",1,"img-fluid","mx-auto","mb-2"],["src","./assets/images/become-agent/financial-consultant.png","alt","financial-consultant",1,"img-fluid","mx-auto","mb-2"],["src","./assets/images/become-agent/self-employed.png","alt","self-employed",1,"img-fluid","mx-auto","mb-2"],[1,"view-more","d-block","d-md-none"],["href","javascript:void(0);","class","fs-12 text-link text-medium montserrat-medium",3,"click",4,"ngIf"],["href","javascript:void(0);",1,"fs-12","text-link","text-medium","montserrat-medium",3,"click"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2)(3,"span",3),e.
1EFF(4,"Who "),e.k0s(),e.EFF(5,"can Become An Agent? "),e.k0s(),e.j41(6,"div",4)(7,"div",1)(8,"h6",5),e.EFF(9," The only requirement for becoming an insurance agent is that the candidate "),e.j41(10,"span",6),e.EFF(11,"must be over 18 years of age and should have completed Class 10 Std"),e.k0s()(),e.j41(12,"div",7)(13,"div",8),e.nrm(14,"img",9),e.j41(15,"p",10),e.EFF(16,"Student"),e.k0s()(),e.j41(17,"div",8),e.nrm(18,"img",11),e.j41(19,"p",10),e.EFF(20,"Retired person"),e.k0s()(),e.j41(21,"div",12),e.nrm(22,"img",13),e.j41(23,"p",10),e.EFF(24,"Housewife/Home Maker"),e.k0s()(),e.j41(25,"div",12),e.nrm(26,"img",14),e.j41(27,"p",10),e.EFF(28,"Financial Consultant"),e.k0s()(),e.j41(29,"div",12),e.nrm(30,"img",15),e.j41(31,"p",10),e.EFF(32,"Self Employed"),e.k0s()(),e.j41(33,"div",16),e.DNE(34,Ke,2,0,"a",17)(35,Je,2,0,"a",17),e.k0s()()()()()()),2&o&&(e.R7$(21),e.Y8G("ngClass",n.isShown?"d-block":"d-none"),e.R7$(4),e.Y8G("ngClass",n.isShown?"d-block":"d-none"),e.R7$(4),e.Y8G("ngClass",n.isShown?"d-block":"d-none"),e.R7$(5),e.Y8G("ngIf",n.viewMore),e.R7$(),e.Y8G("ngIf",n.viewLess))},dependencies:[v.YU,v.bT],styles:[".who-beecome-agent-section[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#75757c;line-height:31px}.who-beecome-agent-wrapper[_ngcontent-%COMP%] .view-more[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{text-decoration:underline}@media (max-width:991.2px) and (min-width: 769px){.who-beecome-agent-section[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:12px;line-height:22px}}@media (max-width: 768px) and (min-width: 576px){.who-beecome-agent-section[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:12px;line-height:22px}.who-beecome-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}}@media (max-width: 575px) and (min-width: 320px){.who-beecome-agent-section[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:12px;line-height:22px}.who-beecome-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}}"]})}}return a})();function Qe(a,m){if(1&a&&(e.j41(0,"div",7),e.nrm(1,"img",8),e.j41(2,"p",9),e.EFF(3),e.nrm(4,"br"),e.EFF(5),e.k0s()()),2&a){const t=m.$implicit;e.R7$(),e.FS9("src",t.img,e.B4B),e.FS9("alt",t.title),e.R7$(2),e.SpI("",t.title," "),e.R7$(2),e.SpI(" ",t.title1,"")}}let et=(()=>{class a{constructor(){this.benfitsData=[{img:"./assets/images/usgi-icons/financial-user-64.svg",title:"Become financially",title1:"independent"},{img:"./assets/images/usgi-icons/clock-watch-64.svg",title:"Flexible working",title1:"hours"},{img:"./assets/images/usgi-icons/rupees-bag-64.svg",title:"Additional source",title1:"of Income"},{img:"./assets/images/usgi-icons/pink-like-64.svg",title:"Advise, Guide ",title1:"Succeed"}]}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-understand-being-agent"]],decls:9,vars:1,consts:[[1,"understand-agent-section","py-0","py-md-5","pt-4","pt-md-0","mt-0","mt-lg-5"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-3","pb-lg-5","px-5","px-lg-0"],[1,"text-danger"],[1,"understand-agent-wrapper"],[1,"row","justify-content-between","text","mx-0"],["class","col-6 col-md-3 text-center p-0",4,"ngFor","ngForOf"],[1,"col-6","col-md-3","text-center","p-0"],[1,"img-fluid","mx-auto","mb-2","mb-md-4",3,"src","alt"],[1,"fs-14","text-dark","text-bold","montserrat-bold"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2),e.EFF(3," Understand what you get"),e.j41(4,"span",3),e.
1EFF(5," Being an Agent"),e.k0s()(),e.j41(6,"div",4)(7,"div",5),e.DNE(8,Qe,6,4,"div",6),e.k0s()()()()),2&o&&(e.R7$(8),e.Y8G("ngForOf",n.benfitsData))},dependencies:[v.Sq],styles:[".understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:20px}@media (max-width: 768px) and (min-width: 576px){.understand-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{margin-bottom:48px}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:42px}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:14px;font-size:12px}}@media (max-width: 575px) and (min-width: 320px){.understand-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{margin-bottom:48px}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:42px}.understand-agent-section[_ngcontent-%COMP%] .understand-agent-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:14px;font-size:12px}}"]})}}return a})();function tt(a,m){if(1&a&&(e.j41(0,"div",7),e.nrm(1,"img",8),e.j41(2,"p",9),e.EFF(3),e.k0s()()),2&a){const t=m.$implicit;e.R7$(),e.FS9("src",t.img,e.B4B),e.FS9("alt",t.title),e.R7$(2),e.JRh(t.title)}}let nt=(()=>{class a{constructor(){this.processStep=[{img:"./assets/images/usgi-icons/pen-notes-72-purple.svg",title:"Register yourself"},{img:"./assets/images/usgi-icons/multiple-users-72.svg",title:"Get Trained"},{img:"./assets/images/usgi-icons/pen-notes-72-orange.svg",title:"Appear for Exam"},{img:"./assets/images/usgi-icons/get-hired-72.svg",title:"Get Hired!"}]}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-how-become-agent"]],decls:9,vars:1,consts:[[1,"how-become-agent-section","my-0","my-sm-4","my-xl-5","mt-4","mt-xl-0"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-3","pb-lg-5","px-3","px-lg-0"],[1,"text-danger"],[1,"how-become-agent-wrapper","pt-3","pt-md-0"],[1,"row","justify-content-between","text","mx-0","px-md-3"],["class","col-6 col-md-3 text-center p-0 position-relative process-steps mb-3",4,"ngFor","ngForOf"],[1,"col-6","col-md-3","text-center","p-0","position-relative","process-steps","mb-3"],[1,"img-fluid","mx-auto","mb-2","mb-md-4","bg-white",3,"src","alt"],[1,"fs-18","text-dark","text-bold","montserrat-bold"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"h1",2)(3,"span",3),e.
1EFF(4,"How to become an agent "),e.k0s(),e.EFF(5,"at Universal Sompo "),e.k0s(),e.j41(6,"div",4)(7,"div",5),e.DNE(8,tt,4,3,"div",6),e.k0s()()()()),2&o&&(e.R7$(8),e.Y8G("ngForOf",n.processStep))},dependencies:[v.Sq],styles:['.how-become-agent-section[_ngcontent-%COMP%] .process-steps[_ngcontent-%COMP%]:not(.process-steps:last-child):after{content:"";border-bottom:2px dashed #CC0022;position:absolute;width:100%;top:44px;opacity:.1;z-index:-1}@media (max-width: 768px) and (min-width: 576px){.how-become-agent-section[_ngcontent-%COMP%]{margin-top:-30px;background:#fff;position:relative}.how-become-agent-section[_ngcontent-%COMP%] .how-become-agent-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:56px}.how-become-agent-section[_ngcontent-%COMP%] .how-become-agent-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:15px;font-size:12px}.how-become-agent-section[_ngcontent-%COMP%] .process-steps[_ngcontent-%COMP%]:after{content:none!important}}@media (max-width: 575px) and (min-width: 320px){.how-become-agent-section[_ngcontent-%COMP%]{margin-top:-30px;background:#fff;position:relative}.how-become-agent-section[_ngcontent-%COMP%] .how-become-agent-wrapper[_ngcontent-%COMP%] .col-6[_ngcontent-%COMP%]{margin-bottom:48px}.how-become-agent-section[_ngcontent-%COMP%] .how-become-agent-wrapper[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:56px}.how-become-agent-section[_ngcontent-%COMP%] .how-become-agent-wrapper[_ngcontent-%COMP%] p[_ngcontent-%COMP%]{line-height:15px;font-size:12px}.how-become-agent-section[_ngcontent-%COMP%] .process-steps[_ngcontent-%COMP%]:after{content:none!important}}']})}}return a})();var z=_(41198);let ot=(()=>{class a{constructor(){this.slideConfig={responsive:[{breakpoint:9999,settings:"unslick"},{breakpoint:1920,settings:"unslick"},{breakpoint:769,settings:{slidesToShow:2.2,slidesToScroll:1,dots:!1,infinite:!1}},{breakpoint:600,settings:{slidesToShow:1.2,slidesToScroll:1,dots:!1,infinite:!1}}]}}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-why-become-agent"]],decls:55,vars:1,consts:[["slickModal","slick-carousel"],[1,"why-become-agent-section","mb-4","mb-lg-0","pt-0","pt-md-4"],[1,"container"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-3","pb-lg-5","px-3","px-lg-0"],[1,"text-danger"],[1,"agent-policy-wrapper"],[1,"policy-cards","row"],[1,"carousel","d-flex","flex-md-wrap","flex-nowrap","justify-content-center",3,"config"],["ngxSlickItem","",1,"col-md-4","slide","pb-md-5"],[1,"card","text-center","test-class","h-100","mb-0"],[1,"card-elipse"],["src","./assets/images/usgi-icons/wide-range-product-42.svg","alt","agent-policy1",1,"img-fluid"],[1,"policy-data","card-body"],[1,"fs-16","text-black","text-bolder","montserrat-bolder","mb-2","d-block"],[1,"fs-14","text-gray","text-medium","montserrat-medium"],["src","./assets/images/usgi-icons/claims-resolved-42.svg","alt","agent-policy2",1,"img-fluid"],["src","./assets/images/usgi-icons/trophy-42.svg","alt","agent-policy3",1,"img-fluid"],["src","./assets/images/usgi-icons/rupees-bag-42.svg","alt","agent-policy4",1,"img-fluid"],["src","./assets/images/usgi-icons/multiple-users-42.svg","alt","agent-policy5",1,"img-fluid"]],template:function(o,n){1&o&&(e.j41(0,"div",1)(1,"div",2)(2,"h1",3)(3,"span",4),e.EFF(4,"Why become an agent "),e.k0s(),e.EFF(5,"at Universal Sompo "),e.k0s(),e.j41(6,"div",5)(7,"div",6)(8,"ngx-slick-carousel",7,0)(10,"div",8)(11,"div",9)(12,"div",10),e.nrm(13,"img",11),e.k0s(),e.j41(14,"div",12)(15,"span",13),e.EFF(16," Wide Range of Products "),e.k0s(),e.j41(17,"p",14),e.EFF(18," We offer a wide range of insurance policies covering a variety of assets. For example, we cover health, motor (car, two-wheeler, commercial vehicles), travel, home, and many others. "),e.k0s()()()(),e.j41(19,"div",8)(20,"div",9)(21,"div",10),e.nrm(22,"img",15),e.k0s(),e.j41(23,"div",12)(24,"span",13),e.EFF(25," Quick commission settlement "),e.k0s(),e.j41(26,"p",14),e.EFF(27," Don\u2019t worry, we have your back! All our commissions are settled quickly. Your account will be credited
1with your commission every 15 days of policy issuance. "),e.k0s()()()(),e.j41(28,"div",8)(29,"div",9)(30,"div",10),e.nrm(31,"img",16),e.k0s(),e.j41(32,"div",12)(33,"span",13),e.EFF(34," Get Awards & Recognition "),e.k0s(),e.j41(35,"p",14),e.EFF(36," Win accolades at every milestone. Get opportunity to participate at company events at foreign Location "),e.k0s()()()(),e.j41(37,"div",8)(38,"div",9)(39,"div",10),e.nrm(40,"img",17),e.k0s(),e.j41(41,"div",12)(42,"span",13),e.EFF(43," Stable Monthly Income "),e.k0s(),e.j41(44,"p",14),e.EFF(45," We offer a wide range of insurance policies covering a variety of assets. For example, we cover health, motor (car, two-wheeler, commercial vehicles), travel, home, and many others. "),e.k0s()()()(),e.j41(46,"div",8)(47,"div",9)(48,"div",10),e.nrm(49,"img",18),e.k0s(),e.j41(50,"div",12)(51,"span",13),e.EFF(52," Train with best mentors "),e.k0s(),e.j41(53,"p",14),e.EFF(54," Don\u2019t worry, we have your back! All our commissions are settled quickly. Your account will be credited with your commission every 15 days of policy issuance. "),e.k0s()()()()()()()()()),2&o&&(e.R7$(8),e.Y8G("config",n.slideConfig))},dependencies:[z.qW,z.Hv],styles:[".policy-cards .card-elipse{width:72px;height:72px;display:flex;justify-content:center;align-items:center;background-color:#fff;border-radius:72px;box-shadow:0 0 10px #9e9e9e40;margin:0 auto;position:absolute;top:-30px;left:50%;transform:translate(-50%);-webkit-transform:translateX(-50%)} .policy-cards .card img{width:42px!important;top:16px!important}@media (max-width: 768px) and (min-width: 576px){.why-become-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0} .policy-cards .card img{width:36px!important;top:16px!important} .policy-cards .card-elipse{width:48px;height:48px}}@media (max-width: 575px) and (min-width: 320px){.why-become-agent-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0} .policy-cards .card img{width:36px!important;top:16px!important} .policy-cards .card-elipse{width:48px;height:48px}}"]})}}return a})();const at=a=>({highlited:a});let it=(()=>{class a{constructor(t,o){this.titleService=t,this.metaTagService=o,this.sectionFixed=!1,this.secDef=void 0,this.usersReviews=[{imgUrl:"./assets/images/clients/client-1.png",discription:"I have been working with Universal Sompo for more than a year. Recently, one of my friends whose health policy is in my code took a claim for his daughter. He found the claim process to be very smooth. It feels really good to be associated with an organization that you can count on.",name:"Rajeev Kumar Jain",profile:"Delhi"},{imgUrl:"./assets/images/clients/client-2.png",discription:"I joined Universal Sompo as an agent a few months back and the journey till now has been quite fulfilling. In my opinion, the company have some really good products. Once you have that, all you need to do is put in some work and take them to the customers.",name:"Yogita Singh",profile:"Mumbai"},{imgUrl:"./assets/images/clients/client-1.png",discription:"Universal Sompo is a great organization to be associated with. The teams are extremely supportive and the claim process is uncomplicated. But for me, the highlight is IMD portal. It has made the policy issuance process a piece of cake. I save a lot of time because of it, which I utilize to acquire more clients.",name:"Bharat Bali",profile:"Alwar"},{imgUrl:"./assets/images/clients/client-2.png",discription:"My experience with Universal Sompo has been extremely enriching. The team here at the Surat branch is absolutely brilliant, dependable and efficient. I am very satisfied with their professional attitude and that\u2019s why I intend to stay associated with Universal Sompo till my retirement.",name:"Pareshbhai P Bhikadiya",profile:"Surat"},{imgUrl:"./assets/images/clients/client-2.png",discription:"I am working with Universal Sompo General Insurance as an adviser for health insurance products. In my professional opinion, the features and price point of Complete Healthcare Insurance Policy are unbeatable. The claim settlement procedure is hassle-free.",name:"Karan Singh Gola",profile:"Delhi"}],this.portfolioArray=[{secHeading:'Our <span class="text-danger">
1Agents Are Our Family </span> <br> Look At What They Have To Say!',secDetails:this.usersReviews}],this.faqMainArray=[{tabName:null,tabDetails:[{faqQue:"Who can become an insurance agent and what is the minimum eligibility criterion?",faqAns:"\n <p>Anyone can become an insurance agent, the only requirement is that you must by over 18 years of age and should have completed min class 10 and you must complete compulsory 15-hour training specified by IRDAI.</p>\n "},{faqQue:"How will the organization support me to construct a career?",faqAns:"\n <p>We would equip you with adequate hand on training to develop your skills so that you can succeed in your career.</p>\n "},{faqQue:"Do I need sales experience to end up an agent?",faqAns:"\n <p>Not required, but a sales experience will always be beneficial.</p>\n "},{faqQue:"How much can I earn as an Agent?",faqAns:"\n <p>There is no limit.</p>\n "},{faqQue:"Can I work as a full-time job?",faqAns:"\n <p>you can work as per your convenience either full time or part time.</p>\n "},{faqQue:"How do I apply?",faqAns:"\n <p>Click on Apply Now and submit the completed form above and we would get back to you in no time, towards your journey to become an agent.</p>\n "}]}]}ngOnInit(){}onSelectId(t){this.el=document.getElementById(t);const o=this.el?.getBoundingClientRect().top+window.pageYOffset-100;window.scrollTo({top:o,behavior:"smooth"})}onWindowScroll(){window.innerWidth>768?this.sectionFixed=window.pageYOffset>=1260:window.innerWidth<=768&&(this.sectionFixed=window.pageYOffset>=1320),document.querySelector("#whoBecomeAgent")?.getBoundingClientRect();var o=document.querySelector("#whoBecomeAgent")?.getBoundingClientRect()?.top,n=document.querySelector("#agentBenefits")?.getBoundingClientRect()?.top,i=document.querySelector("#howBecomeAgent")?.getBoundingClientRect()?.top,s=document.querySelector("#secReviews")?.getBoundingClientRect()?.top,g=document.querySelector("#secFAQ")?.getBoundingClientRect()?.top;window.innerWidth>768?o<140&&o>-960?this.secDef=0:n<80&&n>-450?this.secDef=1:i<120&&i>-860?this.secDef=2:s<110&&s>-400?this.secDef=3:g<120&&g>-1e3&&(this.secDef=4):window.innerWidth<=768&&(o<130&&o>-860?this.secDef=0:n<110&&n>-440?this.secDef=1:i<110&&i>-570?this.secDef=2:s<130&&s>-190?this.secDef=3:g<110&&g>-300&&(this.secDef=4))}scrollTop(){this.highlited=!0,window.scrollTo(10,0),setTimeout(()=>{this.highlited=!1},1e3)}static{this.\u0275fac=function(o){return new(o||a)(e.rXU($.hE),e.rXU($.W8))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-become-an-agent"]],hostBindings:function(o,n){1&o&&e.bIt("scroll",function(){return n.onWindowScroll()},!1,e.tSv)},decls:38,vars:8,consts:[[1,"become-agent-section"],[3,"ngClass"],[1,"buy-now-data"],[1,"container"],[1,"agent-inssurance","mb-4","mb-lg-5"],[1,"text-primary","text-extrabold","text-center","montserrat-extrabold","pb-3","pb-lg-4","px-3","px-lg-0"],[1,"text-danger"],[1,"text-medium","text-center","montserrat-medium"],[3,"selectedId","secDef"],["id","whoBecomeAgent"],[1,"know-more","apply-now-section","mt-lg-5","mt-4","mb-4","mb-md-5"],[1,"bg-light-pink","pr-4","pl-5","py-5","d-flex","justify-content-between","align-items-center","flex-wrap","flex-lg-nowrap"],[1,"know-more-heading","w-50"],[1,"text-danger","text-bolder","montserrat-bolder"],[1,"know-more-apply-now","mt-4","mt-md-0","pt-lg-0","pt-2","w-25"],[1,"btn","btn-danger",3,"click"],["id","agentBenefits"],["id","howBecomeAgent"],["id","secReviews"],[3,"portfolioDetails"],["id","secFAQ"],[3,"faqDetails"]],template:function(o,n){1&o&&(e.j41(0,"div",0),e.nrm(1,"app-agent-banner"),e.j41(2,"div",1),e.nrm(3,"app-agent-register-form"),e.k0s(),e.j41(4,"div",2)(5,"div",3),e.nrm(6,"app-understand-being-agent"),e.j41(7,"div",4)(8,"div",3)(9,"h1",5),e.EFF(10," Who is an "),e.j41(11,"span",6),e.EFF(12,"Insurance Agent?"),e.k0s()(),e.j41(13,"h6",7),e.EFF(14," An insurance agent is a professional who sells an insurance company's products to consumers for a commission. An agent helps consumers select the right insurance to buy, but represents the insurance company in the transaction. "),e.k0s()()()(),e.j41(15,"app-agent-section-links",8),e.bIt("selectedId",function(s){return n.onSelectId(s)}),e.k0s(),e.j41(16,"div",3)(17,"div",9),e.nrm(18,"app-who-become-agent"),e.k0s()()(),e.j41(19,"div",10)(20,"div",3)(21,"div",11)(22,"div",12)(23,"h4",13),e.EFF(24," Want to Become A Partner (Agent/POSP)? "),e.k0s()(),e.j41(25,"div",14)(26,"a",15),e.bIt("click",function(){return n.scrollTop()}),e.EFF(27,"Apply Now"),e.k0s()()()()(),e.j41(28,"div",16),e.nrm(29,"app-agent-benefits"),e.k0s(),e.j41(30,"div",3)(31,"div",17),e.nrm(32,"app-how-become-agent"),e.k0s(),e.nrm(33,"app-why-become-agent"),e.k0s(),e.j41(34,"div",18),e.nrm(35,"app-portfolio",19),e.k0s(),e.j41(36,"div",20),e.nrm(37,"app-faq",21),e.k0s()()),2&o&&(e.R7$(2),e.Y8G("ngClass",e.eq3(6,at,n.highlited)),e.R7$(2),e.AVh("fixed",n.sectionFixed),e.R7$(11),e.Y8G("secDef",n.secDef),e.R7$(20),e.Y8G("portfolioDetails",n.portfolioArray),e.R7$(2),e.Y8G("faqDetails",n.faqMainArray))},dependencies:[v.YU,K.O,J.C,Z,Le,Xe,He,Ze,et,nt,ot],styles:[".become-agent-section[_ngcontent-%COMP%] .agent-inssurance[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{color:#75757c;line-height:36px}@media (max-width: 768px) and (min-width: 576px){.become-agent-section[_ngcontent-%COMP%] .agent-inssurance[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}.become-agent-section[_ngcontent-%COMP%] .agent-inssurance[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:14px;line-height:22px}.apply-now-section[_ngcontent-%COMP%] .know-more-apply-now[_ngcontent-%COMP%], .apply-now-section[_ngcontent-%COMP%] .know-more-heading[_ngcontent-%COMP%]{width:100%!important}}@media (max-width: 575px) and (min-width: 320px){.become-agent-section[_ngcontent-%COMP%] .agent-inssurance[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0 5px}.become-agent-section[_ngcontent-%COMP%] .agent-inssurance[_ngcontent-%COMP%] h6[_ngcontent-%COMP%]{font-size:14px;line-height:22px}.apply-now-section[_ngcontent-%COMP%] .know-more-apply-now[_ngcontent-%COMP%], .apply-now-section[_ngcontent-%COMP%] .know-more-heading[_ngcontent-%COMP%]{width:100%!important}}"]})}}return a})();var rt=_(49310),st=_(24362),lt=_(66834),ct=_(16352),mt=_(4730);let gt=(()=>{class a{constructor(t,o){this.modalService=t,this.fb=o,this.date=(new Date).toLocaleStr
1ing("en-US")}closePopup(){this.modalService.hide()}ngOnInit(){this.personalData=this.modalService.config.initialState}convetToPDF(){document.getElementById("contentToConvert")}UpdateData(){this.closePopup()}static{this.\u0275fac=function(o){return new(o||a)(e.rXU(G.I8),e.rXU(r.ok))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-consent-letter-personal-data-modal"]],decls:160,vars:6,consts:[[1,"modal-content"],[1,"modal-header","position-relative"],["type","button","aria-label","Close",1,"btn-close","close",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"modal-body"],["lang","en","xmlns","http://www.w3.org/1999/xhtml",0,"xmlns","o","urn:schemas-microsoft-com:office:office"],["charset","UTF-8"],["name","viewport","content","width=device-width,initial-scale=1"],["name","x-apple-disable-message-reformatting"],[2,"margin","0","padding","0"],["id","contentToConvert","role","presentation",2,"border-collapse","collapse","border-spacing","0","text-align","left"],["colspan","2",2,"text-align","center"],[2,"padding","15px"],["colspan","2",2,"text-align","left","padding-left","18px"],["href","mailto:[email protected]"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"button",2),e.bIt("click",function(){return n.closePopup()}
1),e.j41(3,"span",3),e.EFF(4,"\xd7"),e.k0s()()(),e.j41(5,"div",4)(6,"html",5)(7,"head"),e.nrm(8,"meta",6)(9,"meta",7)(10,"meta",8)(11,"title"),e.k0s(),e.j41(12,"body",9)(13,"table",10)(14,"tr")(15,"td",11)(16,"p")(17,"b"),e.EFF(18,"CONSENT LETTER FOR PROCESSING OF PERSONAL DATA"),e.k0s()()()(),e.j41(19,"tr")(20,"td",12),e.EFF(21," To,"),e.nrm(22,"br"),e.EFF(23," Universal Sompo General Insurance Company Limited,"),e.nrm(24,"br"),e.EFF(25," 8th & 9th Floor(South Side), Commerz International Business Park,"),e.nrm(26,"br"),e.EFF(27," Oberoi Garden City, Off. Western Express Highway,"),e.nrm(28,"br"),e.EFF(29," Goregaon East, Mumbai - 400063. "),e.nrm(30,"br"),e.k0s()(),e.j41(31,"tr")(32,"td",13)(33,"p"),e.EFF(34,"Dear Sir/Madam,"),e.nrm(35,"br")(36,"br"),e.EFF(37),e.k0s()()(),e.j41(38,"tr")(39,"td",13)(40,"b"),e.EFF(41,"1. Personal Data Collected"),e.k0s()()(),e.j41(42,"tr")(43,"td",13),e.EFF(44,"\u2022 Full Name "),e.k0s()(),e.j41(45,"tr")(46,"td",13),e.EFF(47,"\u2022 Gender"),e.k0s()(),e.j41(48,"tr")(49,"td",13),e.EFF(50,"\u2022 Date of Birth"),e.k0s()(),e.j41(51,"tr")(52,"td",13),e.EFF(53,"\u2022 PAN Number "),e.k0s()(),e.j41(54,"tr")(55,"td",13),e.EFF(56,"\u2022 Aadhaar Number"),e.k0s()(),e.j41(57,"tr")(58,"td",13),e.EFF(59,"\u2022 Permanent Address"),e.k0s()(),e.j41(60,"tr")(61,"td",13),e.EFF(62,"\u2022Correspondence Address"),e.k0s()(),e.j41(63,"tr")(64,"td",13),e.EFF(65,"\u2022 Educational Qualification"),e.k0s()(),e.j41(66,"tr")(67,"td",13),e.EFF(68,"\u2022 Mobile Number"),e.k0s()(),e.j41(69,"tr")(70,"td",13),e.EFF(71,"\u2022Landline Number [If applicable] "),e.k0s()(),e.j41(72,"tr")(73,"td",13)(74,"b"),e.EFF(75,"2. Purpose of Data Processing"),e.k0s()()(),e.j41(76,"tr")(77,"td",13),e.EFF(78,"I understand that my personal data will be used for:"),e.k0s()(),e.j41(79,"tr")(80,"td",13),e.EFF(81,"\u2022 Appointment/engagement as an insurance agent"),e.k0s()(),e.j41(82,"tr")(83,"td",13),e.EFF(84,"\u2022 Background verification and regulatory screening"),e.k0s()(),e.j41(85,"tr")(86,"td",13),e.EFF(87,"\u2022 IRDAI registration and onboarding"),e.k0s()(),e.j41(88,"tr")(89,"td",13),e.EFF(90,"\u2022 Compliance with statutory and regulatory obligations"),e.k0s()(),e.j41(91,"tr")(92,"td",13),e.EFF(93,"\u2022 Issuance of agent license, code, commission payments and training access "),e.k0s()(),e.j41(94,"tr")(95,"td",13),e.EFF(96,"\u2022 Internal recordkeeping and official communication."),e.k0s()(),e.j41(97,"tr")(98,"td",13)(99,"b"),e.EFF(100,"3. Data Sharing and Retention"),e.k0s()()(),e.j41(101,"tr")(102,"td",13),e.EFF(103,"I understand that:"),e.k0s()(),e.j41(104,"tr")(105,"td",13),e.EFF(106,"\u2022 My personal data may be shared with authorized government/regulatory authorities, third-party verifiers, and IRDAI, strictly for the purposes mentioned above."),e.k0s()(),e.j41(107,"tr")(108,"td",13),e.EFF(109,"\u2022 My data will be retained securely for as long as required under applicable law and regulatory obligations. "),e.k0s()(),e.j41(110,"tr")(111,"td",13)(112,"b"),e.EFF(113,"4. Rights as a Data Principal"),e.k0s()()(),e.j41(114,"tr")(115,"td",13),e.EFF(116,"I understand that I have the right to: "),e.k0s()(),e.j41(117,"tr")(118,"td",13),e.EFF(119,"\u2022 Request access to, correction, or deletion of my personal data"),e.k0s()(),e.j41(120,"tr")(121,"td",13),e.EFF(122,"\u2022 Withdraw this consent at any time by providing written notice, subject to regulatory constraints"),e.k0s()(),e.j41(123,"tr")(124,"td",13),e.EFF(125,"\u2022 Approach the C
1ompany\u2019s Data Protection Officer (DPO) for any data-related grievances "),e.k0s()(),e.j41(126,"tr")(127,"td",13),e.EFF(128,"I understand that withdrawal of this consent may impact my engagement with the Company as an insurance agent."),e.nrm(129,"br")(130,"br"),e.EFF(131,"DPO Contact Email: "),e.j41(132,"a",14),e.EFF(133," [email protected] "),e.k0s()()(),e.j41(134,"tr")(135,"td",13)(136,"b"),e.EFF(137,"5. Declaration and Acknowledgment"),e.k0s()()(),e.j41(138,"tr")(139,"td",13),e.EFF(140,"I have read and understood the purpose of data collection and provide my consent for processing as stated. "),e.nrm(141,"br")(142,"br"),e.k0s()(),e.j41(143,"tr")(144,"td",13),e.EFF(145),e.nrm(146,"br")(147,"br"),e.EFF(148),e.nrm(149,"br")(150,"br"),e.EFF(151),e.nrm(152,"br")(153,"br"),e.EFF(154),e.nrm(155,"br")(156,"br"),e.EFF(157),e.nrm(158,"br")(159,"br"),e.k0s()()()()()()()),2&o&&(e.R7$(37),e.SpI("I, ",null==n.personalData?null:n.personalData.Name,", hereby voluntarily provide my free, specific, informed, and unambiguous consent to Universal Sompo General Insurance Company Limited (\u201cCompany\u201d), a registered General Insurance Company with the IRDAI, for the collection, use, processing, storage, and sharing of my personal data as outlined below, in compliance with the Digital Personal Data Protection Act, 2023, Information Technology Act, 2000, and applicable IRDAI regulations."),e.R7$(108),e.SpI(" Signature of Agent :",null==n.personalData?null:n.personalData.Name,""),e.R7$(3),e.SpI(" License No. : ",null!=n.personalData&&n.personalData.Id?null==n.personalData?null:n.personalData.Id:null!=n.personalData&&n.personalData.detailid?null==n.personalData?null:n.personalData.detailid:"",""),e.R7$(3),e.SpI(" Name : ",null==n.personalData?null:n.personalData.Name,""),e.R7$(3),e.SpI(" Date and time : ",n.date?n.date:null==n.personalData?null:n.personalData.CreatedDate,""),e.R7$(3),e.SpI(" Place: : ",null!=n.personalData&&n.personalData.City?null==n.personalData?null:n.personalData.City:null!=n.personalData&&n.personalData.CityName?null==n.personalData?null:n.personalData.CityName:"Mumbai",""))},styles:["table[_ngcontent-%COMP%], td[_ngcontent-%COMP%], div[_ngcontent-%COMP%], h1[_ngcontent-%COMP%], p[_ngcontent-%COMP%] {\n font-family: math;\n }"]})}}return a})();const dt=()=>["/become-an-agent"],b=a=>({"form-group-error":a});function pt(a,m){1&a&&(e.qex(0),e.j41(1,"span",65),e.EFF(2,"*"),e.k0s(),e.bVm())}function ut(a,m){if(1&a){const t=e.RV6();e.qex(0),e.j41(1,"div",43)(2,"div",44)(3,"div",45)(4,"div",46),e.EFF(5," Agent Personal Details "),e.k0s(),e.j41(6,"div",47)(7,"div",48)(8,"div",79)(9,"div",80)(10,"label",81),e.EFF(11,"First Name"),e.j41(12,"span",65),e.EFF(13,"*"),e.k0s()(),e.nrm(14,"input",82),e.k0s()(),e.j41(15,"div",79)(16,"div",80)(17,"label",81),e.EFF(18,"Last Name"),e.j41(19,"span",65),e.EFF(20,"*"),e.k0s()(),e.nrm(21,"input",83),e.k0s()(),e.j41(22,"div",79)(23,"div",80)(24,"label",81),e.EFF(25,"DOB"),e.j41(26,"span",65),e.EFF(27,"*"),e.k0s()(),e.nrm(28,"input",84),e.k0s()(),e.j41(29,"div",79)(30,"div",80)(31,"label",81),e.EFF(32,"Email"),e.j41(33,"span",65),e.EFF(34,"*"),e.k0s()(),e.nrm(35,"input",85),e.k0s()(),e.j41(36,"div",79)(37,"div",80)(38,"label",81),e.EFF(39,"Mobile No"),e.j41(40,"span",65),e.EFF(41,"*"),e.k0s()(),e.nrm(42,"input",86),e.k0s()(),e.j41(43,"div",79)(44,"div",80)(45,"label",81),e.EFF(46,"District "),e.DNE(47,pt,3,0,"ng-container",87),e.k0s(),e.nrm(48,"input",88),e.k0s()(),e.j41(49,"div",89)(50,"div",80)(51,"label",81),e.EFF(52,"Permanent address"),e.j41(53,"span",65),e.EFF(54,"*"),e.k0s()(),e.nrm(55,"textarea",90),e.k0s()(),e.j41(56,"div",91)(57,"input",92),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.checkCDAddress())}),e.mxI("ngModelChange",function(n){e.eBV(t);const i=e.XpG(2);return e.DH7(i.isChecked,n)||(i.isChecked=n),e.Njj(n)}),e.k0s(),e.j41(58,"label",93),e.EFF(59," Correspondence Address same as Permanent Address "),e.k0s()(),e.j41(60,"div",94)(61,"div",80)(62,"textarea",95),e.mxI("ngModelChange",function(n){e.eBV(t);const i=e.XpG(2);
1return e.DH7(i.corresAddressData,n)||(i.corresAddressData=n),e.Njj(n)}),e.k0s()()()()()()()(),e.bVm()}if(2&a){const t=e.XpG(2);e.R7$(14),e.Y8G("value",t.agentPersonalDetails.firstName)("readOnly",!0),e.R7$(7),e.Y8G("value",t.agentPersonalDetails.lastName)("readOnly",!0),e.R7$(7),e.Y8G("value",t.agentPersonalDetails.dob)("readOnly",!0),e.R7$(7),e.Y8G("value",null!=t.agentRegisterDetails&&t.agentRegisterDetails.Email?null==t.agentRegisterDetails?null:t.agentRegisterDetails.Email:t.agentPersonalDetails.email)("readOnly",!0),e.R7$(7),e.Y8G("value",null!=t.agentRegisterDetails&&t.agentRegisterDetails.MobileNumber?null==t.agentRegisterDetails?null:t.agentRegisterDetails.MobileNumber:t.agentPersonalDetails.mobileNumber)("readOnly",!0),e.R7$(5),e.Y8G("ngIf",t.agentPersonalDetails.district),e.R7$(),e.Y8G("value",t.agentPersonalDetails.district)("readOnly",!0),e.R7$(7),e.Y8G("value",t.agentPersonalDetails.address1+t.agentPersonalDetails.address2+"\n"+t.agentPersonalDetails.address3)("readOnly",!0),e.R7$(2),e.R50("ngModel",t.isChecked),e.R7$(5),e.Y8G("value",t.corresAddress),e.R50("ngModel",t.corresAddressData)}}function ht(a,m){1&a&&(e.j41(0,"p"),e.EFF(1,"No Agent Details"),e.k0s())}function _t(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Your Education"),e.k0s())}function ft(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Others Qualification"),e.k0s())}function bt(a,m){if(1&a&&(e.j41(0,"div",61)(1,"div",62)(2,"label",63),e.EFF(3,"Others Qualification "),e.j41(4,"span",65),e.EFF(5,"*"),e.k0s()(),e.nrm(6,"input",97),e.DNE(7,ft,2,0,"small",59),e.k0s()()),2&a){let t,o;const n=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,(null==(t=n.educationDetailsFrom.get("others_education"))?null:t.invalid)&&((null==(t=n.educationDetailsFrom.get("others_education"))?null:t.dirty)||(null==(t=n.educationDetailsFrom.get("others_education"))?null:t.touched))
1)),e.R7$(6),e.Y8G("ngIf",(null==(o=n.educationDetailsFrom.get("others_education"))?null:o.errors)&&((null==(o=n.educationDetailsFrom.get("others_education"))?null:o.dirty)||(null==(o=n.educationDetailsFrom.get("others_education"))?null:o.touched)))}}function Ft(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Education Proof ",t.educationProofFileErrorMsg,"")}}function Ct(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Agree UnderTaking"),e.k0s())}function vt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",98)(1,"input",99),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeValueUn(n))}),e.k0s(),e.j41(2,"label",100),e.EFF(3," Agree UnderTaking "),e.j41(4,"a",101),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.openIRDAIUnderTaking(n.agentRegisterDetails))}),e.EFF(5,"T&C"),e.k0s()(),e.DNE(6,Ct,2,0,"small",59),e.k0s()}if(2&a){let t,o;const n=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,(null==(t=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:t.invalid)&&((null==(t=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:t.dirty)||(null==(t=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:t.touched))
1)),e.R7$(5),e.Y8G("ngIf",(null==(o=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:o.errors)&&((null==(o=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:o.dirty)||(null==(o=n.educationDetailsFrom.get("Agree_undr_accept_terms"))?null:o.touched)))}}function kt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",98)(1,"input",102),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeValueFormIA(n))}),e.k0s(),e.j41(2,"label",103),e.EFF(3," Please Submit (FORM I-A) "),e.j41(4,"a",101),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.openIRDAIForm1A())}),e.EFF(5,"Check FORM I-A Here"),e.k0s()()()}}function Mt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",98)(1,"input",104),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeValueFormIB(n))}),e.k0s(),e.j41(2,"label",105),e.EFF(3," Please Submit (FORM I-B) "),e.j41(4,"a",101),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.openIRDAIForm1AB("FORM_IB"))}),e.EFF(5,"Check FORM I-B Here"),e.k0s()()()}}function At(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter MSME Act Type"),e.k0s())}function xt(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(3);e.R7$(),e.SpI("MSME Act Registration Certificate Proof ",t.MSMEActfFileErrorMsg,"")}}function Rt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",106)(1,"div",62)(2,"label",107),e.EFF(3,"MSME Act Registration Certificate"),e.j41(4,"span",65),e.EFF(5,"*"),e.k0s()(),e.j41(6,"input",108),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeMSMEActRCProofFile(n))}),e.k0s(),e.j41(7,"small",67),e.EFF(8,"e.g jpg, jpeg, png, gif, pdf, docx files are allowed"),e.k0s(),e.j41(9,"small",67),e.EFF(10,"File size should not be greater than 5 MB"),e.k0s(),e.DNE(11,xt,2,1,"small",59),e.k0s()()}if(2&a){let t,o;const n=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,(null==(t=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:t.invalid)&&((null==(t=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:t.dirty)||(null==(t=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:t.touched))
1)),e.R7$(10),e.Y8G("ngIf",(null==(o=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:o.errors)&&((null==(o=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:o.dirty)||(null==(o=n.educationDetailsFrom.get("MSMEActRegistrationCertificate"))?null:o.touched)))}}function yt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",25)(1,"div",26)(2,"div",21)(3,"div",27)(4,"a",28),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backBtnClickHandler("basicDetails"))}),e.nrm(5,"img",29),e.k0s()(),e.j41(6,"div",21)(7,"figure",30),e.nrm(8,"img",31),e.k0s(),e.j41(9,"div",32)(10,"span",33),e.EFF(11,"Few Steps !"),e.k0s(),e.EFF(12," Please, fill your education details below. "),e.k0s()()(),e.j41(13,"div",34)(14,"div",35)(15,"figure",36),e.nrm(16,"img",37),e.k0s(),e.j41(17,"div",38)(18,"span",39),e.EFF(19,"600+"),e.k0s(),e.j41(20,"span",40),e.EFF(21,"Agents"),e.k0s(),e.EFF(22," with us "),e.k0s()()()(),e.DNE(23,ut,63,18,"ng-container",41)(24,ht,2,0,"ng-template",null,1,e.C5r),e.j41(26,"form",42)(27,"div",43)(28,"div",44)(29,"div",45)(30,"div",46),e.EFF(31," Education Details (Please select your highest education) "),e.k0s(),e.j41(32,"div",47)(33,"div",48)(34,"div",49)(35,"div",50)(36,"div",51)(37,"label",52),e.EFF(38,"Class X "),e.j41(39,"input",53),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onEducationChange(n))}),e.k0s(),e.nrm(40,"span",54),e.k0s(),e.j41(41,"label",52),e.EFF(42," Class XII "),e.j41(43,"input",55),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onEducationChange(n))}),e.k0s(),e.nrm(44,"span",54),e.k0s(),e.j41(45,"label",52),e.EFF(46," Graduate "),e.j41(47,"input",56),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onEducationChange(n))}),e.k0s(),e.nrm(48,"span",54),e.k0s(),e.j41(49,"label",52),e.EFF(50," Post Graduate "),e.j41(51,"input",57),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onEducationChange(n))}),e.k0s(),e.nrm(52,"span",54),e.k0s(),e.j41(53,"label",52),e.EFF(54," Others "),e.j41(55,"input",58),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onEducationChange(n))}),e.k0s(),e.nrm(56,"span",54),e.k0s()(),e.DNE(57,_t,2,0,"small",59),e.k0s()(),e.DNE(58,bt,8,4,"div",60),e.j41(59,"div",61)(60,"div",62)(61,"label",63),e.EFF(62,"Education Proof"),e.j41(63,"span",64),e.EFF(64," ( Passing Certificate )"),e.k0s(),e.j41(65,"span",65),e.EFF(66,"*"),e.k0s()(),e.j41(67,"input",66),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeEducationProofFile(n))}),e.k0s(),e.j41(68,"small",67),e.EFF(69,"e.g jpg, jpeg, png, gif, pdf, docx files are allowed"),e.k0s(),e.j41(70,"small",67),e.EFF(71,"File size should not be greater than 5 MB"),e.k0s(),e.DNE(72,Ft,2,1,"small",59),e.k0s()()(),e.DNE(73,vt,7,4,"div",68)(74,kt,6,0,"div",68)(75,Mt,6,0,"div",68),e.j41(76,"div",69)(77,"label",70),e.EFF(78,"Are You Registered Under MSME Act ? "),e.j41(79,"span",65),e.EFF(80,"*"),e.k0s()(),e.j41(81,"ngx-select",71,2),e.bIt("select",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.MSMEActFlagsType(n))}),e.k0s(),e.DNE(83,At,2,0,"small",59),e.k0s(),e.DNE(84,Rt,12,4,"div",72),e.j41(85,"div",73),e.nrm(86,"input",74),e.j41(87,"label",75),e.EFF(88," By tapping on continue I declare that I have provided correct details and have read Universal Sompo "),e.j41(89,"a",76),e.EFF(90,"T&C"),e.k0s()()(),e.j41(91,"button",77),e.bIt("click",function(){e.eBV(t);const n=e.XpG(),i=e.sdS(61);return e.Njj(n.showEMA(i))}),e.EFF(92,"Contact Us"),e.k0s(),e.j41(93,"button",78),e.bIt("click",function(){e.eBV(t);const n=e.XpG();
1return e.Njj(n.proceed(n.educationDetailsFrom,"bankDetails"))}),e.EFF(94,"Continue"),e.k0s()()()()()()()}if(2&a){let t,o,n,i,s,g;const u=e.sdS(25),l=e.XpG();e.R7$(23),e.Y8G("ngIf",l.agentPersonalDetails)("ngIfElse",u),e.R7$(3),e.Y8G("formGroup",l.educationDetailsFrom),e.R7$(9),e.Y8G("ngClass",e.eq3(16,b,(null==(t=l.educationDetailsFrom.get("education"))?null:t.invalid)&&((null==(t=l.educationDetailsFrom.get("education"))?null:t.dirty)||(null==(t=l.educationDetailsFrom.get("education"))?null:t.touched)))),e.R7$(22),e.Y8G("ngIf",(null==(o=l.educationDetailsFrom.get("education"))?null:o.errors)&&((null==(o=l.educationDetailsFrom.get("education"))?null:o.dirty)||(null==(o=l.educationDetailsFrom.get("education"))?null:o.touched))),e.R7$(),e.Y8G("ngIf",l.otherEducationSelected),e.R7$(2),e.Y8G("ngClass",e.eq3(18,b,(null==(n=l.educationDetailsFrom.get("education_proof"))?null:n.invalid)&&((null==(n=l.educationDetailsFrom.get("education_proof"))?null:n.dirty)||(null==(n=l.educationDetailsFrom.get("education_proof"))?null:n.touched)))),e.R7$(12),e.Y8G("ngIf",(null==(i=l.educationDetailsFrom.get("education_proof"))?null:i.errors)&&((null==(i=l.educationDetailsFrom.get("education_proof"))?null:i.dirty)||(null==(i=l.educationDetailsFrom.get("education_proof"))?null:i.touched))),e.R7$(),e.Y8G("ngIf","IRDAI"==(null==l.agentRegisterDetails?null:l.agentRegisterDetails.AgentType)||l.Agree_undr_accept_termsSelected||"TRANSFER"==(null==l.agentRegisterDetails?null:l.agentRegisterDetails.AgentType)),e.R7$(),e.Y8G("ngIf","Individual IRDAI"==(null==l.agentRegisterDetails?null:l.agentRegisterDetails.IRDAIoption)||"TRANSFER"==(null==l.agentRegisterDetails?null:l.agentRegisterDetails.AgentType)),e.R7$(),e.Y8G("ngIf","Composite IRDAI"==(null==l.agentRegisterDetails?null:l.agentRegisterDetails.IRDAIoption)),e.R7$(),e.Y8G("ngClass",e.eq3(20,b,(null==(s=l.educationDetailsFrom.get("MSMEActFlag"))?null:s.invalid)&&((null==(s=l.educationDetailsFrom.get("MSMEActFlag"))?null:s.dirty)||(null==(s=l.educationDetailsFrom.get("MSMEActFlag"))?null:s.touched)))),e.R7$(5),e.Y8G("items",l.MSMEActs),e.R7$(2),e.Y8G("ngIf",(null==(g=l.educationDetailsFrom.get("MSMEActFlag"))?null:g.invalid)&&(null==(g=l.educationDetailsFrom.get("MSMEActFlag"))?null:g.touched)),e.R7$(),e.Y8G("ngIf","YES"==l.MSMEActsType),e.R7$(9),e.Y8G("disabled",!l.educationDetailsFrom.valid)}}function Ot(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Valid Pancard Number"),e.k0s())}function Pt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Full Address"),e.k0s())}function Dt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Account Holder's Name"),e.k0s())}function Et(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Account Number"),e.k0s())}function jt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter IFSC Code"),e.k0s())}function Nt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Enter Bank Name"),e.k0s())}function wt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",25)(1,"div",26)(2,"div",21)(3,"div",27)(4,"a",28),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backBtnClickHandler("basicDetails"))}),e.nrm(5,"img",29),e.k0s()(),e.j41(6,"div",21)(7,"figure",30),e.nrm(8,"img",31),e.k0s(),e.j41(9,"div",32)(10,"span",33),e.EFF(11,"Good Going !"),e.k0s(),e.EFF(12," Please, fill your bank details below. "),e.k0s()()(),e.j41(13,"div",34)(14,"div",35)(15,"f
1igure",36),e.nrm(16,"img",37),e.k0s(),e.j41(17,"div",38)(18,"span",39),e.EFF(19,"600+"),e.k0s(),e.j41(20,"span",40),e.EFF(21,"Agents"),e.k0s(),e.EFF(22," with us "),e.k0s()()()(),e.j41(23,"form",42)(24,"div",43)(25,"div",44)(26,"div",45)(27,"div",46),e.EFF(28," KYC Documents "),e.k0s(),e.j41(29,"div",47)(30,"div",48)(31,"div",61)(32,"div",80)(33,"label",63),e.EFF(34,"Aadhaar Number "),e.k0s(),e.nrm(35,"input",109),e.k0s()(),e.j41(36,"div",61)(37,"div",62)(38,"label",63),e.EFF(39,"Pancard No."),e.j41(40,"span",65),e.EFF(41,"*"),e.k0s()(),e.j41(42,"input",110),e.mxI("ngModelChange",function(n){e.eBV(t);const i=e.XpG();return e.DH7(i.agentPersonalDetails.pan,n)||(i.agentPersonalDetails.pan=n),e.Njj(n)}),e.k0s(),e.DNE(43,Ot,2,0,"small",59),e.k0s()(),e.j41(44,"div",111)(45,"div",62)(46,"label",63),e.EFF(47,"Full Address"),e.j41(48,"span",65),e.EFF(49,"*"),e.k0s()(),e.j41(50,"textarea",112),e.mxI("ngModelChange",function(n){e.eBV(t);const i=e.XpG();return e.DH7(i.fullAddress,n)||(i.fullAddress=n),e.Njj(n)}),e.k0s(),e.DNE(51,Pt,2,0,"small",59),e.k0s()()()(),e.j41(52,"div",113),e.EFF(53," Bank Details "),e.k0s(),e.j41(54,"div",47)(55,"div",48)(56,"div",114)(57,"div",62)(58,"label",115),e.EFF(59,"Account Holder's Name "),e.j41(60,"span",65),e.EFF(61,"*"),e.k0s()(),e.j41(62,"small",116),e.EFF(63,"(Name as per BANK PASSBOOK)"),e.k0s(),e.nrm(64,"input",117),e.DNE(65,Dt,2,0,"small",59),e.k0s()(),e.j41(66,"div",114)(67,"div",62)(68,"label",63),e.EFF(69,"Account Number "),e.j41(70,"span",65),e.EFF(71,"*"),e.k0s()(),e.nrm(72,"input",118),e.DNE(73,Et,2,0,"small",59),e.k0s()(),e.j41(74,"div",114)(75,"div",62)(76,"label",63),e.EFF(77,"IFSC Code "),e.j41(78,"span",65),e.EFF(79,"*"),e.k0s()(),e.j41(80,"input",119),e.bIt("input",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onIFSCChange(n.target.value))}),e.k0s(),e.DNE(81,jt,2,0,"small",59),e.k0s()(),e.j41(82,"div",114)(83,"div",62)(84,"label",63),e.EFF(85,"Bank Name "),e.j41(86,"span",65),e.EFF(87,"*"),e.k0s()(),e.nrm(88,"ngx-select",120,3),e.DNE(90,Nt,2,0,"small",59),e.k0s()(),e.j41(91,"div",114)(92,"div",80)(93,"label",63),e.EFF(94,"Bank Address "),e.j41(95,"span",65),e.EFF(96,"*"),e.k0s()(),e.nrm(97,"input",121),e.k0s()(),e.j41(98,"div",114)(99,"div",80)(100,"label",63),e.EFF(101,"Branch Name "),e.j41(102,"span",65),e.EFF(103,"*"),e.k0s()(),e.nrm(104,"input",122),e.k0s()()(),e.j41(105,"div",123),e.nrm(106,"input",124),e.j41(107,"label",125),e.EFF(108," By tapping on continue I declare that I have provided correct details and have read Universal Sompo "),e.j41(109,"a",76),e.EFF(110,"T&C"),e.k0s()()(),e.j41(111,"button",77),e.bIt("click",function(){e.eBV(t);const n=e.XpG(),i=e.sdS(61);return e.Njj(n.showEMA(i))}),e.EFF(112,"Contact Us"),e.k0s(),e.j41(113,"button",126),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.proceedForBank(n.bankDetailsFrom,"uploadDocuments"))}),e.EFF(114,"Continue"),e.k0s()()()()()()()}if(2&a){let t,o,n,i,s,g,u,l,h,f,c,C;const d=e.XpG();e.R7$(23),e.Y8G("formGroup",d.bankDetailsFrom),e.R7$(12),e.Y8G("value",d.AadharNoMask),e.R7$(2),e.Y8G("ngClass",e.eq3(24,b,(null==(t=d.bankDetailsFrom.get("pancard"))?null:t.invalid)&&((null==(t=d.bankDetailsFrom.get("pancard"))?null:t.dirty)||(null==(t=d.bankDetailsFrom.get("pancard"))?null:t.touched))
1)),e.R7$(5),e.Y8G("readOnly",!0),e.R50("ngModel",d.agentPersonalDetails.pan),e.R7$(),e.Y8G("ngIf",(null==(o=d.bankDetailsFrom.get("pancard"))?null:o.errors)&&((null==(o=d.bankDetailsFrom.get("pancard"))?null:o.dirty)||(null==(o=d.bankDetailsFrom.get("pancard"))?null:o.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(26,b,(null==(n=d.bankDetailsFrom.get("address"))?null:n.invalid)&&((null==(n=d.bankDetailsFrom.get("address"))?null:n.dirty)||(null==(n=d.bankDetailsFrom.get("address"))?null:n.touched)))),e.R7$(5),e.Y8G("readOnly",!0),e.R50("ngModel",d.fullAddress),e.R7$(),e.Y8G("ngIf",(null==(i=d.bankDetailsFrom.get("address"))?null:i.errors)&&((null==(i=d.bankDetailsFrom.get("address"))?null:i.dirty)||(null==(i=d.bankDetailsFrom.get("address"))?null:i.touched))),e.R7$(6),e.Y8G("ngClass",e.eq3(28,b,(null==(s=d.bankDetailsFrom.get("account_holder_name"))?null:s.invalid)&&((null==(s=d.bankDetailsFrom.get("account_holder_name"))?null:s.dirty)||(null==(s=d.bankDetailsFrom.get("account_holder_name"))?null:s.touched)))),e.R7$(8),e.Y8G("ngIf",(null==(g=d.bankDetailsFrom.get("account_holder_name"))?null:g.errors)&&((null==(g=d.bankDetailsFrom.get("account_holder_name"))?null:g.dirty)||(null==(g=d.bankDetailsFrom.get("account_holder_name"))?null:g.touched))
1),e.R7$(2),e.Y8G("ngClass",e.eq3(30,b,(null==(u=d.bankDetailsFrom.get("account_number"))?null:u.invalid)&&((null==(u=d.bankDetailsFrom.get("account_number"))?null:u.dirty)||(null==(u=d.bankDetailsFrom.get("account_number"))?null:u.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(l=d.bankDetailsFrom.get("account_number"))?null:l.errors)&&((null==(l=d.bankDetailsFrom.get("account_number"))?null:l.dirty)||(null==(l=d.bankDetailsFrom.get("account_number"))?null:l.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(32,b,(null==(h=d.bankDetailsFrom.get("ifsc_code"))?null:h.invalid)&&((null==(h=d.bankDetailsFrom.get("ifsc_code"))?null:h.dirty)||(null==(h=d.bankDetailsFrom.get("ifsc_code"))?null:h.touched)))),e.R7$(6),e.Y8G("ngIf",(null==(f=d.bankDetailsFrom.get("ifsc_code"))?null:f.errors)&&((null==(f=d.bankDetailsFrom.get("ifsc_code"))?null:f.dirty)||(null==(f=d.bankDetailsFrom.get("ifsc_code"))?null:f.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(34,b,(null==(c=d.bankDetailsFrom.get("bank_name"))?null:c.invalid)&&((null==(c=d.bankDetailsFrom.get("bank_name"))?null:c.dirty)||(null==(c=d.bankDetailsFrom.get("bank_name"))?null:c.touched)))),e.R7$(5),e.Y8G("items",d.rbliList),e.R7$(2),e.Y8G("ngIf",(null==(C=d.bankDetailsFrom.get("bank_name"))?null:C.errors)&&((null==(C=d.bankDetailsFrom.get("bank_name"))?null:C.dirty)||(null==(C=d.bankDetailsFrom.get("bank_name"))?null:C.touched))),e.R7$(7),e.Y8G("readOnly",!0)("ngModel",null==d.BankNameByIfsc?null:d.BankNameByIfsc.ADDRESS),e.R7$(7),e.Y8G("readOnly",!0)("ngModel",null==d.BankNameByIfsc?null:d.BankNameByIfsc.BRANCH),e.R7$(9),e.Y8G("disabled",!d.bankDetailsFrom.valid)}}function It(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Any Option"),e.k0s())}function St(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Any Option"),e.k0s())}function Bt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Any Option"),e.k0s())}function Tt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Any Option"),e.k0s())}function Yt(a,m){1&a&&(e.j41(0,"small",96),e.EFF(1,"Please Select Any Option"),e.k0s())}function Gt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",25)(1,"div",26)(2,"div",21)(3,"div",27)(4,"a",28),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backBtnClickHandler("educationDetails"))}),e.nrm(5,"img",29),e.k0s()(),e.j41(6,"div",21)(7,"figure",30),e.nrm(8,"img",31),e.k0s(),e.j41(9,"div",32)(10,"span",33),e.EFF(11,"Few Steps !"),e.k0s(),e.EFF(12," Please, fill your education details below. "),e.k0s()()(),e.j41(13,"div",34)(14,"div",35)(15,"f
1igure",36),e.nrm(16,"img",37),e.k0s(),e.j41(17,"div",38)(18,"span",39),e.EFF(19,"600+"),e.k0s(),e.j41(20,"span",40),e.EFF(21,"Agents"),e.k0s(),e.EFF(22," with us "),e.k0s()()()(),e.j41(23,"form",42)(24,"div",43)(25,"div",44)(26,"div",45)(27,"div",46),e.EFF(28," Preferences "),e.k0s(),e.j41(29,"div",47)(30,"div",48)(31,"div",61)(32,"div",127)(33,"label",63),e.EFF(34,"Do you have any prior experiences in sales?"),e.j41(35,"span",65),e.EFF(36,"*"),e.k0s()(),e.j41(37,"div",51)(38,"label",52),e.EFF(39,"Yes "),e.nrm(40,"input",128)(41,"span",54),e.k0s(),e.j41(42,"label",52),e.EFF(43," No "),e.nrm(44,"input",129)(45,"span",54),e.k0s()(),e.DNE(46,It,2,0,"small",59),e.k0s()(),e.j41(47,"div",61)(48,"div",127)(49,"label",63),e.EFF(50,"Will you take this profession as a full time career?"),e.j41(51,"span",65),e.EFF(52,"*"),e.k0s()(),e.j41(53,"div",51)(54,"label",52),e.EFF(55,"Yes "),e.nrm(56,"input",130)(57,"span",54),e.k0s(),e.j41(58,"label",52),e.EFF(59," No "),e.nrm(60,"input",131)(61,"span",54),e.k0s()(),e.DNE(62,St,2,0,"small",59),e.k0s()(),e.j41(63,"div",61)(64,"div",132)(65,"label",63),e.EFF(66,"Which social media you active on?"),e.j41(67,"span",65),e.EFF(68,"*"),e.k0s()(),e.j41(69,"div",133)(70,"label",52),e.EFF(71,"Linkedln "),e.j41(72,"input",134),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSocialMedia(n))}),e.k0s(),e.nrm(73,"span",54),e.k0s(),e.j41(74,"label",52),e.EFF(75," Facebook "),e.j41(76,"input",135),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSocialMedia(n))}),e.k0s(),e.nrm(77,"span",54),e.k0s(),e.j41(78,"label",52),e.EFF(79,"Instagram "),e.j41(80,"input",136),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSocialMedia(n))}),e.k0s(),e.nrm(81,"span",54),e.k0s(),e.j41(82,"label",52),e.EFF(83," Twitter "),e.j41(84,"input",137),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSocialMedia(n))}),e.k0s(),e.nrm(85,"span",54),e.k0s()(),e.DNE(86,Bt,2,0,"small",59),e.k0s()(),e.j41(87,"div",61)(88,"div",132)(89,"label",63),e.EFF(90,"Which of the followings do you own?"),e.j41(91,"span",65),e.EFF(92,"*"),e.k0s()(),e.j41(93,"div",133)(94,"label",52),e.EFF(95,"Laptop/Desktop "),e.j41(96,"input",138),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSelfOwned(n))}),e.k0s(),e.nrm(97,"span",54),e.k0s(),e.j41(98,"label",52),e.EFF(99," SmartPhone "),e.j41(100,"input",139),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSelfOwned(n))}),e.k0s(),e.nrm(101,"span",54),e.k0s(),e.j41(102,"label",52),e.EFF(103," Internet "),e.j41(104,"input",140),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSelfOwned(n))}),e.k0s(),e.nrm(105,"span",54),e.k0s(),e.j41(106,"label",52),e.EFF(107,"Bike/Car "),e.j41(108,"input",141),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeSelfOwned(n))}),e.k0s(),e.nrm(109,"span",54),e.k0s()(),e.DNE(110,Tt,2,0,"small",59),e.k0s()(),e.j41(111,"div",61)(112,"div",127)(113,"label",63),e.EFF(114,"Work Preference?"),e.j41(115,"span",65),e.EFF(116,"*"),e.k0s()(),e.j41(117,"div",51)(118,"label",52),e.EFF(119,"Work Digitally "),e.nrm(120,"input",142)(121,"span",54),e.k0s(),e.j41(122,"label",52),e.EFF(123," From Universal Sompo Branch "),e.nrm(124,"input",143)(125,"span",54),e.k0s()(),e.DNE(126,Yt,2,0,"small",59),e.k0s()()(),e.j41(127,"div",144),e.nrm(128,"input",145),e.j41(129,"label",125),e.EFF(130," By tapping on continue I declare that I have provided correct details and have read Universal Sompo "),e.j41(131,"a",76),e.EFF(132,"T&C"),e.k0s()()(),e.j41(133,"button",126),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.proceed(n.preferencesFrom,"uploadDocuments"))}),e.EFF(134,"Continue"),e.k0s()()()()()()()}if(2&a){let t,o,n,i,s,g,u,l,h,f;const c=e.XpG();e.R7$(23),e.Y8G("formGroup",c.preferencesFrom),e.R7$(9),e.Y8G("ngClass",e.eq3(12,b,(null==(t=c.preferencesFrom.get("experience"))?null:t.invalid)&&((null==(t=c.preferencesFrom.get("experience"))?null:t.dirty)||(null==(t=c.preferencesFrom.get("experience"))?null:t.touched))
1)),e.R7$(14),e.Y8G("ngIf",(null==(o=c.preferencesFrom.get("experience"))?null:o.errors)&&((null==(o=c.preferencesFrom.get("experience"))?null:o.dirty)||(null==(o=c.preferencesFrom.get("experience"))?null:o.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(14,b,(null==(n=c.preferencesFrom.get("full_time"))?null:n.invalid)&&((null==(n=c.preferencesFrom.get("full_time"))?null:n.dirty)||(null==(n=c.preferencesFrom.get("full_time"))?null:n.touched)))),e.R7$(14),e.Y8G("ngIf",(null==(i=c.preferencesFrom.get("full_time"))?null:i.errors)&&((null==(i=c.preferencesFrom.get("full_time"))?null:i.dirty)||(null==(i=c.preferencesFrom.get("full_time"))?null:i.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(16,b,(null==(s=c.preferencesFrom.get("active_social_media"))?null:s.invalid)&&((null==(s=c.preferencesFrom.get("active_social_media"))?null:s.dirty)||(null==(s=c.preferencesFrom.get("active_social_media"))?null:s.touched)))),e.R7$(22),e.Y8G("ngIf",(null==(g=c.preferencesFrom.get("active_social_media"))?null:g.errors)&&((null==(g=c.preferencesFrom.get("active_social_media"))?null:g.dirty)||(null==(g=c.preferencesFrom.get("active_social_media"))?null:g.touched))
1),e.R7$(2),e.Y8G("ngClass",e.eq3(18,b,(null==(u=c.preferencesFrom.get("self_owned"))?null:u.invalid)&&((null==(u=c.preferencesFrom.get("self_owned"))?null:u.dirty)||(null==(u=c.preferencesFrom.get("self_owned"))?null:u.touched)))),e.R7$(22),e.Y8G("ngIf",(null==(l=c.preferencesFrom.get("self_owned"))?null:l.errors)&&((null==(l=c.preferencesFrom.get("self_owned"))?null:l.dirty)||(null==(l=c.preferencesFrom.get("self_owned"))?null:l.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(20,b,(null==(h=c.preferencesFrom.get("preference"))?null:h.invalid)&&((null==(h=c.preferencesFrom.get("preference"))?null:h.dirty)||(null==(h=c.preferencesFrom.get("preference"))?null:h.touched)))),e.R7$(14),e.Y8G("ngIf",(null==(f=c.preferencesFrom.get("preference"))?null:f.errors)&&((null==(f=c.preferencesFrom.get("preference"))?null:f.dirty)||(null==(f=c.preferencesFrom.get("preference"))?null:f.touched))),e.R7$(7),e.Y8G("disabled",!c.preferencesFrom.valid)}}function Vt(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Profile Photo ",t.profilePhotoFileErrorMsg,"")}}function $t(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Aadhaar Card Front ",t.aadhaarCardFrontFileErrorMsg,"")}}function Ut(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Aadhaar Card Back ",t.aadhaarCardBackFileErrorMsg,"")}}function qt(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Pan Card ",t.panCardFileErrorMsg,"")}}function Lt(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(2);e.R7$(),e.SpI("Please Upload Your Cancel Cheque / Passbook ",t.cancelChequePassbookFileErrorMsg,"")}}function Xt(a,m){if(1&a&&(e.j41(0,"small",96),e.EFF(1),e.k0s()),2&a){const t=e.XpG(3);e.R7$(),e.SpI("Please Upload Agent Sign ",t.AgentSignFileErrorMsg,"")}}function zt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",61)(1,"div",62)(2,"label",63),e.EFF(3,"Agent Signature "),e.nrm(4,"span",64),e.j41(5,"span",65),e.EFF(6,"*"),e.k0s()(),e.j41(7,"small",116),e.EFF(8,"(Upload only self attested documents)"),e.k0s(),e.j41(9,"input",161),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeAgentSignFile(n))}),e.k0s(),e.DNE(10,Xt,2,1,"small",59),e.k0s()()}if(2&a){let t,o;const n=e.XpG(2);e.R7$(),e.Y8G("ngClass",e.eq3(2,b,(null==(t=n.uploadDocumentFrom.get("agent_sign"))?null:t.invalid)&&((null==(t=n.uploadDocumentFrom.get("agent_sign"))?null:t.dirty)||(null==(t=n.uploadDocumentFrom.get("agent_sign"))?null:t.touched))
1)),e.R7$(9),e.Y8G("ngIf",(null==(o=n.uploadDocumentFrom.get("agent_sign"))?null:o.errors)&&((null==(o=n.uploadDocumentFrom.get("agent_sign"))?null:o.dirty)||(null==(o=n.uploadDocumentFrom.get("agent_sign"))?null:o.touched)))}}function Wt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",162),e.bIt("click",function(){e.eBV(t);const n=e.XpG(2);return e.Njj(n.openUSGITermsAndCond(n.agentRegisterDetails))}),e.j41(1,"input",163),e.bIt("change",function(n){e.eBV(t);const i=e.XpG(2);return e.Njj(i.onChangeValuePOSPAGRMNT(n))}),e.k0s(),e.j41(2,"label",164)(3,"a",155),e.EFF(4,"POS Agreement"),e.k0s()()()}}function Ht(a,m){1&a&&e.nrm(0,"span",165)}function Kt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",25)(1,"div",26)(2,"div",21)(3,"div",27)(4,"a",28),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.backBtnClickHandler("educationDetails"))}),e.nrm(5,"img",29),e.k0s()(),e.j41(6,"div",21)(7,"figure",30),e.nrm(8,"img",31),e.k0s(),e.j41(9,"div",32)(10,"span",33),e.EFF(11,"Great !"),e.k0s(),e.EFF(12," Please, upload your documents as given below. "),e.k0s()()(),e.j41(13,"div",34)(14,"div",35)(15,"f
1igure",36),e.nrm(16,"img",37),e.k0s(),e.j41(17,"div",38)(18,"span",39),e.EFF(19,"600+"),e.k0s(),e.j41(20,"span",40),e.EFF(21,"Agents"),e.k0s(),e.EFF(22," with us "),e.k0s()()()(),e.j41(23,"form",42)(24,"div",43)(25,"div",44)(26,"div",45)(27,"div",46),e.EFF(28," Upload Documents "),e.k0s(),e.j41(29,"div",47)(30,"div",48)(31,"div",146)(32,"small",116),e.EFF(33,"Note: File size should not be greater than 5 MB"),e.k0s()(),e.j41(34,"div",61)(35,"div",62)(36,"label",63),e.EFF(37,"Profile Photo "),e.j41(38,"span",65),e.EFF(39,"*"),e.k0s()(),e.j41(40,"small",116),e.EFF(41,"(Upload only self attested documents)"),e.k0s(),e.j41(42,"input",147),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeProfilePhotoFile(n))}),e.k0s(),e.DNE(43,Vt,2,1,"small",59),e.k0s()(),e.j41(44,"div",61)(45,"div",62)(46,"label",63),e.EFF(47,"Aadhaar Card "),e.j41(48,"span",64),e.EFF(49," ( Front )"),e.k0s(),e.j41(50,"span",65),e.EFF(51,"*"),e.k0s()(),e.j41(52,"small",116),e.EFF(53,"(Upload only self attested documents)"),e.k0s(),e.j41(54,"input",148),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeAadhaarCardFrontFile(n))}),e.k0s(),e.DNE(55,$t,2,1,"small",59),e.k0s()(),e.j41(56,"div",61)(57,"div",62)(58,"label",63),e.EFF(59,"Aadhaar Card "),e.j41(60,"span",64),e.EFF(61," ( Back )"),e.k0s(),e.j41(62,"span",65),e.EFF(63,"*"),e.k0s()(),e.j41(64,"small",116),e.EFF(65,"(Upload only self attested documents)"),e.k0s(),e.j41(66,"input",149),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeAadhaarCardBackFile(n))}),e.k0s(),e.DNE(67,Ut,2,1,"small",59),e.k0s()(),e.j41(68,"div",61)(69,"div",62)(70,"label",63),e.EFF(71,"Pan Card"),e.j41(72,"span",65),e.EFF(73,"*"),e.k0s()(),e.j41(74,"small",116),e.EFF(75,"(Upload only self attested documents)"),e.k0s(),e.j41(76,"input",150),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangePanCardFile(n))}),e.k0s(),e.DNE(77,qt,2,1,"small",59),e.k0s()(),e.j41(78,"div",61)(79,"div",62)(80,"label",63),e.EFF(81,"Cancel Cheque / Passbook"),e.j41(82,"span",65),e.EFF(83,"*"),e.k0s()(),e.j41(84,"small",116),e.EFF(85,"(Upload only self attested documents)"),e.k0s(),e.j41(86,"input",151),e.bIt("change",function(n){e.eBV(t);const i=e.XpG();return e.Njj(i.onChangeCancelChequePassbookFile(n))}),e.k0s(),e.DNE(87,Lt,2,1,"small",59),e.k0s()(),e.DNE(88,zt,11,4,"div",60),e.k0s(),e.j41(89,"div",152),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.openUSGIBANKMandateForm(n.agentRegisterDetails))}),e.nrm(90,"input",153),e.j41(91,"label",154)(92,"a",155),e.EFF(93,"Bank Mandate Form"),e.k0s()()(),e.j41(94,"div",152),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.openConsentLetter())}),e.nrm(95,"input",156),e.j41(96,"label",157)(97,"a",155),e.EFF(98,"View Consent Letter"),e.k0s()()(),e.DNE(99,Wt,5,0,"div",158),e.j41(100,"div",73),e.nrm(101,"input",159),e.j41(102,"label",125),e.EFF(103," By tapping on continue I declare that I have provided correct details and have read Universal Sompo "),e.j41(104,"a",76),e.EFF(105,"T&C"),e.k0s()()(),e.j41(106,"button",77),e.bIt("click",function(){e.eBV(t);const n=e.XpG(),i=e.sdS(61);return e.Njj(n.showEMA(i))}),e.EFF(107,"Contact Us"),e.k0s(),e.j41(108,"button",126),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(n.proceed(n.uploadDocumentFrom,"submit"))}),e.DNE(109,Ht,1,0,"span",160),e.EFF(110," Submit "),e.k0s()()()()()()()}if(2&a){let t,o,n,i,s,g,u,l,h,f;const c=e.XpG();e.R7$(23),e.Y8G("formGroup",c.uploadDocumentFrom),e.R7$(12),e.Y8G("ngClass",e.eq3(15,b,(null==(t=c.uploadDocumentFrom.get("profile_photo"))?null:t.invalid)&&((null==(t=c.uploadDocumentFrom.get("profile_photo"))?null:t.dirty)||(null==(t=c.uploadDocumentFrom.get("profile_photo"))?null:t.touched))
1)),e.R7$(8),e.Y8G("ngIf",(null==(o=c.uploadDocumentFrom.get("profile_photo"))?null:o.errors)&&((null==(o=c.uploadDocumentFrom.get("profile_photo"))?null:o.dirty)||(null==(o=c.uploadDocumentFrom.get("profile_photo"))?null:o.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(17,b,(null==(n=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:n.invalid)&&((null==(n=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:n.dirty)||(null==(n=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:n.touched)))),e.R7$(10),e.Y8G("ngIf",(null==(i=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:i.errors)&&((null==(i=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:i.dirty)||(null==(i=c.uploadDocumentFrom.get("aadhaar_card_front"))?null:i.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(19,b,(null==(s=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:s.invalid)&&((null==(s=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:s.dirty)||(null==(s=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:s.touched)))),e.R7$(10),e.Y8G("ngIf",(null==(g=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:g.errors)&&((null==(g=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:g.dirty)||(null==(g=c.uploadDocumentFrom.get("aadhaar_card_back"))?null:g.touched))
1),e.R7$(2),e.Y8G("ngClass",e.eq3(21,b,(null==(u=c.uploadDocumentFrom.get("pan_card"))?null:u.invalid)&&((null==(u=c.uploadDocumentFrom.get("pan_card"))?null:u.dirty)||(null==(u=c.uploadDocumentFrom.get("pan_card"))?null:u.touched)))),e.R7$(8),e.Y8G("ngIf",(null==(l=c.uploadDocumentFrom.get("pan_card"))?null:l.errors)&&((null==(l=c.uploadDocumentFrom.get("pan_card"))?null:l.dirty)||(null==(l=c.uploadDocumentFrom.get("pan_card"))?null:l.touched))),e.R7$(2),e.Y8G("ngClass",e.eq3(23,b,(null==(h=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:h.invalid)&&((null==(h=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:h.dirty)||(null==(h=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:h.touched)))),e.R7$(8),e.Y8G("ngIf",(null==(f=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:f.errors)&&((null==(f=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:f.dirty)||(null==(f=c.uploadDocumentFrom.get("cancel_cheque_passbook"))?null:f.touched))),e.R7$(),e.Y8G("ngIf","IRDAI"==(null==c.agentRegisterDetails?null:c.agentRegisterDetails.AgentType)),e.R7$(11),e.Y8G("ngIf","POSP"==(null==c.agentRegisterDetails?null:c.agentRegisterDetails.AgentType)),e.R7$(9),e.Y8G("disabled",!c.uploadDocumentFrom.valid),e.R7$(),e.Y8G("ngIf",c.loadingProceed)}}function Jt(a,m){if(1&a){const t=e.RV6();e.j41(0,"div",166)(1,"h4",167),e.EFF(2,"Escalation Matrix Agency"),e.k0s(),e.j41(3,"button",168),e.bIt("click",function(){e.eBV(t);const n=e.XpG();return e.Njj(null==n.bsmodelRef?null:n.bsmodelRef.hide())}),e.j41(4,"span",169),e.EFF(5,"\xd7"),e.k0s()()(),e.j41(6,"div",170),e.nrm(7,"embed",171),e.k0s()}}let W=(()=>{class a{constructor(t,o,n,i,s){this.modalService=t,this.router=o,this.route=n,this._becomeAgent=i,this._common=s,this.BankNameByIfsc={},this.agentID="",this.activeForm="educationDetails",this.isChecked=!1,this.corresAddress="",this.rmsmDataArray=[],this.rmsmDataEmailList=[],this.bankdetailsValue={aadhaar_number:"",account_holder_name:"",account_number:"",address:"",bank_name:"",ifsc_code:"",pancard:"",counter:"1"},this.isCompE={active:!0,completed:!1},this.isCompB={active:!1,completed:!1},this.isCompP={active:!1,completed:!1},this.isCompU={active:!1,completed:!1},this.otherEducationSelected=!1,this.Agree_undr_accept_termsSelected=!1,this.formA_agent_accept_termsSelected=!1,this.formAB_agent_accept_termsSelected=!1,this.formPOSP_agent_accept_termsSelected=!1,this.BankDtsl={},this.loadingProceed=!1,this.socialMediaSelected=[],this.selfOwnedSelected=[],this.educationProofFile="",this.profilePhotoFile="",this.aadhaarCardFrontFile="",this.aadhaarCardBackFile="",this.panCardFile="",this.cancelChequePassbookFile="",this.educationProofFileErrorMsg="",this.profilePhotoFileErrorMsg="",this.aadhaarCardFrontFileErrorMsg="",this.aadhaarCardBackFileErrorMsg="",this.panCardFileErrorMsg="",this.cancelChequePassbookFileErrorMsg="",this.AgentSignFileErrorMsg="",this.AgentSignFile="",this.bankDetailsFrom=new r.J3({account_holder_name:new r.hs(void 0,[r.k0.required]),account_number:new r.hs(void 0,[r.k0.required]),ifsc_code:new r.hs(void 0,[r.k0.required]),bank_name:new r.hs(void 0,[r.k0.required]),aadhaar_number:new r.hs(void 0),pancard:new r.hs(void 0,[r.k0.required]),address:new r.hs(void 0),branch_name:new r.hs(void 0,[r.k0.required]),bank_address:new r.hs(void 0,[r.k0.required]),bank_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue)}),this.educationDetailsFrom=new r.J3({education:new r.hs(void 0,[r.k0.required]),education_proof:new r.hs(void 0,[r.k0.required]),others_education:new r.hs(void 0,[]),education_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue),formA_agent_accept_terms:new r.hs(void 0,[]),formAB_agent_accept_terms:new r.hs(void 0,[]),Agree_undr_accept_terms:new r.hs(void 0,[]),MSMEActFlag:new r.hs(void 0,[r.k0.required]),MSMEActRegistrationCertificate:new r.hs(void 0,[])}),this.preferencesFrom=new r.J3({experience:new r.hs("Yes",[r.k0.required]),full_time:new r.hs("Yes",[r.k0.required]),active_social_media:new r.hs("",[r.k0.required]),self_owned:new r.hs("",[r.k0.required]),preference:new r.hs("Work Digitally",[r.k0.required]),preferences_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue)}),this.uploadDocumentFrom=new r.J3({profile_photo:new r.hs(void 0,[r.k0.required]),aadhaar_card_front:new r.hs(void 0,[r.k0.required]),aadhaar_card_back:new r.hs(void 0,[r.k0.required]),pan_card:new r.hs(void 0,[r.k0.required]),cancel_cheque_passbook:new r.hs(void 0,[r.k0.required]),documents_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue),bankformsIRDA_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue),viewConsentLetter_agent_accept_terms:new r.hs(!0,r.k0.requiredTrue),posp_agent_acceptAGMNT_terms:new r.hs(void 0,[]),agent_sign:new r.hs(void 0,[])}),this.agentPersonalDetails={},this.imgResultBeforeCompression="",this.imgResultAfterCompression="",this.form1bData=[],this.form1aData=[],this.rbliList=[],this.MSMEActs=["YES","NO"],this.router.getCurrentNavigation()?.extras.state?(this.routerState=this.router.getCurrentNavigation()?.extras.state,this.routerState&&(this.agentID=this.routerState.agentID)):sessionStorage.getItem("BecomeAnAgentID")?this.agentID=sessionStorage.getItem("BecomeAnAgentID"):this.router.navigate(["become-an-agent"])}ngOnInit(){this.agentName=sessionStorage.getItem("BecomeAnAgentName"),this.agentRegisterDetails=JSON.parse(sessionStorage.getItem("BecomeAnAgentRegisterDetails")||"{}"),this.getASMBYState(this.agentRegisterDetails?.State?this.agentRegisterDetails?.State:""),this.getCMMBYCityName(this.agentRegisterDetails?.City?this.agentRegisterDetails?.City:""),this.getEmpByRefDtsByEMPCode(this.agentRegisterDetails?.EmpRefCode?this.agentRegisterDetails?.EmpRefCode:""),this.agentPersonalDetails=JSON.parse(sessionStorage.getItem("BecomeAnAgentPersonalDetails")||"{}"),this.fullAddress=this.agentPersonalDetails.address1+this.agentPersonalDetails.address2+"\n"+this.agentPersonalDetails.address3,this.bankDetail
1sFrom.controls.aadhaar_number.valueChanges.subscribe(t=>{let o=t;o=o.replace(/\d(?=\d{4})/g,"*").replace(/[^0-9.]/g,"*"),this.AadharNoMask=o}),this.getAgentForm1ABDataByMob(),this.getRBILIST()}stepShow(t){this.activeForm=t,"educationDetails"==t?(this.isCompE={active:!1,completed:!0},this.isCompB={active:!0,completed:!1},this.isCompP={active:!1,completed:!1},this.isCompU={active:!1,completed:!1}):"bankDetails"==t?(this.formDetailsBank=JSON.parse(sessionStorage.getItem("bankDetails")||"{}"),this.formDetailsEdu=JSON.parse(sessionStorage.getItem("uploadDocuments")||"{}"),this.isCompE={active:!1,completed:!0},this.isCompB={active:!1,completed:!0},this.isCompP={active:!1,completed:!1},this.isCompU={active:!1,completed:!1}):"uploadDocuments"==t&&(this.isCompB={active:!1,completed:!0},this.isCompE={active:!1,completed:!0},this.isCompP={active:!1,completed:!0},this.isCompU={active:!0,completed:!1})}proceed(t,o){"bankDetails"==o||"uploadDocuments"!=o&&"submit"==o&&this._becomeAgent.getblAgentDetailsBydId({detailid:this.agentID}).subscribe(i=>{if(i?.length>0){let s={detailid:this.agentID,AadharCard_FrontSide:this.aadhaarCardFrontFile,AadharCard_BackSide:this.aadhaarCardBackFile,Certificate:this.cancelChequePassbookFile,PanCard:this.panCardFile,Photo:this.profilePhotoFile,BankAccountHolderName:this.bankDetailsFrom.value.account_holder_name,BankAccountNumber:this.bankDetailsFrom.value.account_number,BankIFSC:this.bankDetailsFrom.value.ifsc_code,BankName:this.bankDetailsFrom.value.bank_name,AadharNumber:this.AadharNoMask?this.AadharNoMask:"",EducationalQualification:"Others"==this.educationDetailsFrom.value.education?this.educationDetailsFrom.value.others_education:this.educationDetailsFrom.value.education,EducationMarksheet:this.educationProofFile,Address:this.agentPersonalDetails?.address1.toUpperCase()+" "+this.agentPersonalDetails?.address2.toUpperCase()+" "+this.agentPersonalDetails?.address3.toUpperCase(),correspondenceAddress:this.corresAddressData?.toUpperCase()?this.corresAddressData?.toUpperCase():this.agentPersonalDetails?.corresAddress1?.toUpperCase()+" "+this.agentPersonalDetails?.corresAddress2?.toUpperCase()+" "+this.agentPersonalDetails?.corresAddress3?.toUpperCase(),CheckDocStatus:"UploadedNew"};this.loadingProceed=!0,this._becomeAgent.updateAgentAOBDocumentsDetails(s).subscribe(g=>{"Y"==g.Flag&&(this.uploadDocumentFrom.reset(),this.updateisCheckedAgreement(),this.updateStatusBecomeAgentLeads("Open"),this.sendEmailRegisterAgentandRMSM(),this.updateMSMEActYESOrNORegistered({detailid:this.agentID,MSMEActsType:this.MSMEActsType?this.MSMEActsType:"NO",MSMEActRegistrationCertificate:this.MSMEActRCProofFile?this.MSMEActRCProofFile:""}))})}else{let s={ID:this.agentID,Flag:"AOBDetails",AadharCard_FrontSide:this.aadhaarCardFrontFile,AadharCard_BackSide:this.aadhaarCardBackFile,CancelledCheque:this.cancelChequePassbookFile,PanCard:this.panCardFile,Photo:this.profilePhotoFile,BankAccountHolderName:this.bankDetailsFrom.value.account_holder_name,BankAccountNumber:this.bankDetailsFrom.value.account_number,BankIFSC:this.bankDetailsFrom.value.ifsc_code,BankName:this.bankDetailsFrom.value.bank_name,AadharNumber:this.AadharNoMask,MobileNumber:this.agentRegisterDetails?.MobileNumber,PANCardNumber:this.agentRegisterDetails?.PANCardNumber?this.agentRegisterDetails?.PANCardNumber:this.bankDetailsFrom.value.pancard,Address:this.agentPersonalDetails?.address1.toUpperCase()+" "+this.agentPersonalDetails?.address2.toUpperCase()+" "+this.agentPersonalDetails?.address3.toUpperCase(),correspondenceAddress:this.corresAddressData?.toUpperCase()?this.corresAddressData?.toUpperCase():this.agentPersonalDetails?.corresAddress1.toUpperCase()+" "+this.agentPersonalDetails?.corresAddress2.toUpperCase()+" "+this.agentPersonalDetails?.corresAddress3.toUpperCase(),EducationalQualification:"Others"==this.educationDetailsFrom.value.education?this.educationDetailsFrom.value.others_education:this.educationDetailsFrom.value.education,EducationMarksheet:this.educationProofFile,AdharFS_Ok_NotOk:this.agentPersonalDetails?.AdharFS_Ok_NotOk,AdharBS_Ok_NotOk:this.agentPersonalDetails?.AdharBS_Ok_NotOk,PanCard_Ok_NotOk:this.agentPersonalDetails?.PanCard_Ok_NotOk,EduQua_Ok_NotOk:"1",EduMark_Ok_NotOk:this.agentPersonalDetails?.EduMark_Ok_NotOk,Certi_Ok_NotOk:this.agentPersonalDetails?.Certi_Ok_NotOk,Doc1File:this.agentPersonalDetails.Doc1File,Doc2File:this.agentPersonalDetails.Doc2File,OptionalMobNo:this.agentPersonalDetails.OptionalMobNo,Lock:"N",WorkPreference:"New",CheckDocStatus:"UploadedNew",AgentSignature:this.AgentSignFile?this.AgentSignFile:""};this.loadingProceed=!0,this._becomeAgent.postBecomeAnAgentUpdateDocWithBank(s).subscribe(g=>{"Y"==g.Flag&&(this.uploadDocumentFrom.reset(),this.updateisCheckedAgreement(),this.updateStatusBecomeAgentLeads("Open"),this.sendEmailRegisterAgentandRMSM(),this.updateMSMEActYESOrNORegistered({detailid:this.agentID,MSMEActsType:this.MSMEActsType?this.MSMEActsType:"NO",MSMEActRegistrationCertificate:this.MSMEActRCProofFile?this.MSMEActRCProofFile:""}))},g=>{this.openErrorPopup("There was an error!")})}}),"submit"!==o&&this.stepShow(o)}sendEmailRegisterAgentandRMSM(){let i,o=this.agentID,s="",g="",u="";this.CSMRoleObj?.firstname&&(s=`SM Name - ${this.CSMRoleObj?.firstname?this.CSMRoleObj?.firstname:""} - Mobile Number : ${this.CSMRoleObj?.contactno?this.CSMRoleObj?.contactno:""}`),this.RMRoleObj?.firstname&&(g=`RM Name - ${this.RMRoleObj?.firstname?this.RMRoleObj?.firstname:""} - Mobile Number : ${this.RMRoleObj?.contactno?this.RMRoleObj?.contactno:""}`),this.ASMRoleObj?.EmployeeFullName&&(u=`ASM Name - ${this.ASMRoleObj?.EmployeeFullName?this.ASMRoleObj?.EmployeeFullName:""} - Mobile Number : ${this.ASMRoleObj?.MobileNumber?this.ASMRoleObj?.MobileNumber:""}`),i=this.ASMRoleObj?.EmployeeFullName?{auth:{WACode:"20000141",WAAppCode:"30000143",Source:"USGI Website"},subject:"Document Successfully uploaded - Verification In Progress- "+this.agentRegisterDetails?.PANCardNumber,to:[{email:this.agentRegisterDetails?.Email,name:this.agentRegisterDetails?.Name}],cc:[{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"NONE"},{email:this.RMRoleObj?.email?this.RMRoleObj?.email:"NONE"},{email:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"NONE"}],bcc:[{email:"None"}],content:[{type:"html",value:`<p>\n Dear ${this.agentRegisterDetails?.Name},<br><br>
1\n\n Thank you for submitting your documents! We have received them, and our team is currently in the process of verifying the information provided. This crucial step ensures a smooth onboarding experience for you. Your application number is <b>${o}</b>. Please consider this for future references.<br><br>\n\n We appreciate your patience during this verification period. We will get back to you with the status of your application within one working day.If any additional information is required or if there are updates on your application, we will promptly reach out to you.<br><br>\n \n In the meantime, feel free to explore our resources and get ready for the exciting journey ahead. If you have any questions, don't hesitate to contact your Relationship Manager!<br><br>\n ${g}<br>\n ${s}<br>\n ${u}<br><br>\n Thank you for choosing to be a part of our business partners community.<br>\n Best Regards,<br>\n Team Universal Sompo!\n </p>`}]}:{auth:{WACode:"20000141",WAAppCode:"30000143",Source:"USGI Website"},subject:"Document Successfully uploaded - Verification In Progress- "+this.agentRegisterDetails?.PANCardNumber,to:[{email:this.agentRegisterDetails?.Email,name:this.agentRegisterDetails?.Name}],cc:[{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:"[email protected]"},{email:this.ASMRoleObj?.Email?this.ASMRoleObj?.Email:"NONE"},{email:this.RMRoleObj?.email?this.RMRoleObj?.email:"NONE"},{email:this.CSMRoleObj?.email?this.CSMRoleObj?.email:"NONE"}],bcc:[{email:"None"}],content:[{type:"html",value:`<p>\n Dear ${this.agentRegisterDetails?.Name},<br><br>\n\n Thank you for submitting your documents! We have received them, and our team is currently in the process of verifying the information provided. This crucial step ensures a smooth onboarding experience for you. Your application number is <b>${o}</b>. Please consider this for future references.<br><br>\n\n We appreciate your patience during this verification period. We will get back to you with the status of your application within one working day.If any additional information is required or if there are updates on your application, we will promptly reach out to you.<br><br>\n \n In the meantime, feel free to explore our resources and get ready for the exciting journey ahead. If you have any questions, don't hesitate to contact your Relationship Manager!<br><br>\n ${g}<br>\n ${s}<br>\n ${u}<br><br>
1\n Thank you for choosing to be a part of our business partners community.<br>\n Best Regards,<br>\n Team Universal Sompo!\n </p>`}]},this._common.RegisterAgentSendEmail(i).subscribe(l=>{"Success"==l&&(this.openThankYouPopup({AgentName:this.agentName,AppNo:o}),sessionStorage.removeItem("BecomeAnAgentID"),sessionStorage.removeItem("BecomeAnAgentPersonalDetails"),sessionStorage.removeItem("BecomeAnAgentRegisterDetails"),this.loadingProceed=!1,this.router.navigate(["become-an-agent"]))},l=>{console.log(l)})}backBtnClickHandler(t){"basicDetails"==t?this.router.navigate(["become-an-agent"]):this.stepShow(t)}onEducationChange(t){let o=t.target.value;localStorage.setItem("eduQlftion",t.target.value),"Others"==o?(this.otherEducationSelected=!0,this.educationDetailsFrom.get("others_education")?.setValidators([r.k0.required]),this.educationDetailsFrom.get("others_education")?.updateValueAndValidity()):(this.otherEducationSelected=!1,this.educationDetailsFrom.get("others_education")?.clearValidators(),this.educationDetailsFrom.get("others_education")?.updateValueAndValidity()),0==this.Agree_undr_accept_termsSelected&&"IRDAI"==this.agentRegisterDetails?.AgentType?(this.Agree_undr_accept_termsSelected=!1,this.educationDetailsFrom.get("Agree_undr_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("Agree_undr_accept_terms")?.updateValueAndValidity()):1==this.Agree_undr_accept_termsSelected&&"IRDAI"==this.agentRegisterDetails?.AgentType&&(this.educationDetailsFrom.get("Agree_undr_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("Agree_undr_accept_terms")?.updateValueAndValidity()),this.form1aData.length>0&&"Individual IRDAI"==this.agentRegisterDetails?.IRDAIoption?(this.formA_agent_accept_termsSelected=!1,this.educationDetailsFrom.get("formA_agent_accept_terms")?.clearValidators(),this.educationDetailsFrom.get("formA_agent_accept_terms")?.updateValueAndValidity()):0==this.form1aData.length&&"Individual IRDAI"==this.agentRegisterDetails?.IRDAIoption&&(this.formA_agent_accept_termsSelected=!0,this.educationDetailsFrom.get("formA_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formA_agent_accept_terms")?.updateValueAndValidity()),this.form1bData.length>0&&"Composite IRDAI"==this.agentRegisterDetails?.IRDAIoption?(this.formAB_agent_accept_termsSelected=!1,this.educationDetailsFrom.get("formAB_agent_accept_terms")?.clearValidators(),this.educationDetailsFrom.get("formAB_agent_accept_terms")?.updateValueAndValidity()):0==this.form1bData.length&&"Composite IRDAI"==this.agentRegisterDetails?.IRDAIoption&&(this.formAB_agent_accept_termsSelected=!0,this.educationDetailsFrom.get("formAB_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formAB_agent_accept_terms")?.updateValueAndValidity())}onChangeSocialMedia(t){t.target.checked?this.socialMediaSelected.push(t.target.value):this.socialMediaSelected=this.socialMediaSelected.filter(o=>o!==t.target.value)}onChangeSelfOwned(t){t.target.checked?this.selfOwnedSelected.push(t.target.value):this.selfOwnedSelected=this.selfOwnedSelected.filter(o=>o!==t.target.value)}onChangeEducationProofFile(t){this.educationProofFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.educationProofFileErrorMsg="and File size should not be greater than 5 MB.",void this.educationDetailsFrom.controls.education_proof.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.educationProofFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}onChangeAadhaarCardFrontFile(t){this.aadhaarCardFrontFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.aadhaarCardFrontFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.aadhaar_card_front.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.aadhaarCardFrontFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}onChangeAadhaarCardBackFile(t){this.aadhaarCardBackFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.aadhaarCardBackFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.aadhaar_card_back.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.aadhaarCardBackFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}onChangePanCardFile(t){this.panCardFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.panCardFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.pan_card.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.panCardFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}onChangeProfilePhotoFile(t){"POSP"==this.agentRegisterDetails?.AgentType?(this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.setValidators(r.k0.requiredTrue),this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.updateValueAndValidity(),this.formPOSP_agent_accept_termsSelected=!0):(this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.clearValidators(),this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.updateValueAndValidity(),this.formPOSP_agent_accept_termsSelected=!1),"IRDAI"==this.agentRegisterDetails?.AgentType?(this.uploadDocumentFrom.get("agent_sign")?.setValidators([r.k0.required]),this.uploadDocumentFrom.get("agent_sign")?.updateValueAndValidity()):(this.uploadDocumentFrom.get("agent_sign")?.clearValidators(),this.uploadDocumentFrom.get("agent_sign")?.updateValueAndValidity()),this.profilePhotoFileErrorMsg="";let o=t.target.files[0];const{type:n}=o;if(o.size>5242880)return this.profilePhotoFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.profile_photo.reset();if("image/jpg"!==n&&"image/jpeg"!==n&&"image/png"!==n&&"image/gif"!==n)this.uploadDocumentFrom.controls.profile_photo.reset(),this.openErrorDec("Please provide only JPG/PNG/JPEG/GIF File type");else{let i=new FileReader;i.readAsDataURL(o),i.onloadend=()=>{this.profilePhotoFile=i.result},i.onerror=function(s){console.log("Error: ",s)}}}onChangeCancelChequePassbookFile(t){this.cancelChequePassbookFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.cancelChequePassbookFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.cancel_cheque_passbook.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.cancelChequePassbookFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}checkCDAddress(){0==this.isChecked?this.corresAddress=this.agentPersonalDetails.address1+this.agentPersonalDetails.address2+"\n"+this.agentPersonalDetails.address3:1==this.isChecked&&(this.corresAddress=this.corresAddressData?this.corresAddressData:"")}openThankYouPopup(t){const o={name:t?.AgentName,AppNo:t?.AppNo};this.bsmodelRef=this.modalService.show(q.r,Object.assign({name:t?.AgentName}
1,{class:"thankyou-popup modal-xl",initialState:o}))}openErrorPopup(t){this.bsmodelRef=this.modalService.show(U.u,Object.assign({error:t},{class:"thankyou-popup modal-xl",initialState:{error:t}}))}mask(t){let o=0;return t.split("").reverse().map((n,i)=>n.match(/\d/)?o<4?(o++,n):"*":n).reverse().join("")}onIFSCChange(t){let o=t;""==o&&(this.BankNameByIfsc={}),this._common.getDataByIFSC(o).subscribe(n=>{this.BankNameByIfsc=n||{}})}isNumber(t){var o=(t=t||window.event).which?t.which:t.keyCode;return!(o>31&&(o<48||o>57))}showEMA(t){this.bsmodelRef=this.modalService.show(t,{class:"modal-lg"})}getRMSMDataByPincode(t){this._becomeAgent.getIMDRMSMDataByPincode({NUM_PINCODE:"274001"}).subscribe(n=>{const i=n.Data;this.rmsmDataArray=n.Data;let s={email:""};i.forEach(g=>{s.email=g.TXT_EMAIL})})}openUSGITermsAndCond(t){const o=new Date,i={CreatedDate:o.getFullYear()+"-"+String(o.getMonth()+1).padStart(2,"0")+"-"+String(o.getDate()).padStart(2,"0")+" "+String(o.getHours()).padStart(2,"0")+":"+String(o.getMinutes()).padStart(2,"0")+":"+String(o.getSeconds()).padStart(2,"0")+"."+String(o.getMilliseconds()).padStart(3,"0")},s={...t,...i};"POSP"==t?.AgentType&&this.modalService.show(rt.o,Object.assign({class:"modal-lg modal-dialog-scrollable",initialState:s,backdrop:"static"}))}openIRDAIForm1A(){this.modalService.show(ct.q,Object.assign({class:"modal-lg modal-dialog-scrollable",initialState:this.agentRegisterDetails,backdrop:"static"}))}openIRDAIForm1AB(){this.modalService.show(st.O,Object.assign({class:"modal-lg modal-dialog-scrollable",initialState:this.agentRegisterDetails,backdrop:"static"}))}openIRDAIUnderTaking(){this.modalService.show(lt.N,Object.assign({class:"modal-lg modal-dialog-scrollable",initialState:this.agentRegisterDetails,backdrop:"static"}))}onChangeValueUn(t){const o=t.target.checked;1==o?(this.openIRDAIUnderTaking(),this.Agree_undr_accept_termsSelected=!1,this.educationDetailsFrom.get("Agree_undr_accept_terms")?.clearValidators(),this.educationDetailsFrom.get("Agree_undr_accept_terms")?.updateValueAndValidity()):0==o&&(this.Agree_undr_accept_termsSelected=!0,this.educationDetailsFrom.get("Agree_undr_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("Agree_undr_accept_terms")?.updateValueAndValidity())}onChangeValueFormIA(t){this.getAgentForm1ABDataByMob();const o=t.target.checked;this.form1aData.length>0&&0==o?(this.formA_agent_accept_termsSelected=!0,this.educationDetailsFrom.get("formA_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formA_agent_accept_terms")?.updateValueAndValidity()):0==this.form1aData.length&&1==o&&(this.openIRDAIForm1A(),this.formA_agent_accept_termsSelected=!1,this.educationDetailsFrom.get("formA_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formA_agent_accept_terms")?.updateValueAndValidity(),this.educationDetailsFrom.get("formA_agent_accept_terms")?.reset())}onChangeValueFormIB(t){this.getAgentForm1ABDataByMob();const o=t.target.checked;this.form1bData.length>0&&0==o?(this.formAB_agent_accept_termsSelected=!0,this.educationDetailsFrom.get("formAB_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formAB_agent_accept_terms")?.updateValueAndValidity()):0==this.form1bData.length&&1==o&&(this.openIRDAIForm1AB(),this.formAB_agent_accept_termsSelected=!1,this.educationDetailsFrom.get("formAB_agent_accept_terms")?.setValidators(r.k0.requiredTrue),this.educationDetailsFrom.get("formAB_agent_accept_terms")?.updateValueAndValidity(),this.educationDetailsFrom.get("formAB_agent_accept_terms")?.reset())}getAgentForm1ABDataByMob(){this._becomeAgent.getAgentForm1ABDataByMob({MobileNumber:this.agentRegisterDetails?.MobileNumber}).subscribe(o=>{let n=o?.Table.filter(s=>"Form1A"==s?.ExatraField1),i=o?.Table.filter(s=>"Form1B"==s?.ExatraField2);n?.length>0&&("IRDAI"==this.agentRegisterDetails?.AgentType||"TRANSFER"==this.agentRegisterDetails?.AgentType)&&(this.form1aData=n,this.educationDetailsFrom.patchValue({formA_agent_accept_terms:!0})),i?.length>0&&"IRDAI"==this.agentRegisterDetails?.AgentType&&(this.form1bData=i,this.educationDetail
1sFrom.patchValue({formAB_agent_accept_terms:!0}))})}getRBILIST(){this._becomeAgent.getRBIBANKLists().subscribe(t=>{t.Table.length>0&&t.Table.forEach(o=>{this.rbliList.push(o?.BankName)})})}updateStatusBecomeAgentLeads(t){this._becomeAgent.updateStatusBecomeAgentLeads({Id:this.agentID,Status:t}).subscribe(n=>{console.log(n)})}openErrorDec(t){this.bsmodelRef=this.modalService.show(T.W,Object.assign({class:"thankyou-popup modal-xl",initialState:{AppNo:"",textDescription:t}}))}getASMBYState(t){this._becomeAgent.getASMBYStateName({STATENameBYASM:t}).subscribe(n=>{this.ASMRoleObj=n.Table[0]})}openUSGIBANKMandateForm(){const t={...this.agentRegisterDetails,...this.BankDtsl};this.modalService.show(mt.L,Object.assign({class:"members-popup modal-lg",initialState:t,backdrop:"static"}))}onChangeValuePOSPAGRMNT(t){const o=t.target.checked;1==o?(this.formPOSP_agent_accept_termsSelected=!0,this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.clearValidators(),this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.updateValueAndValidity()):0==o&&(this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.setValidators(r.k0.requiredTrue),this.uploadDocumentFrom.get("posp_agent_acceptAGMNT_terms")?.updateValueAndValidity(),this.formPOSP_agent_accept_termsSelected=!1)}updateisCheckedAgreement(){this._becomeAgent.updateisCheckedAgreement({detailid:this.agentID,isCheckedAgreement:"POSP"==this.agentRegisterDetails?.AgentType?"True":""}).subscribe(o=>{})}getEmpByRefDtsByEMPCode(t){this._becomeAgent.getEmpByRef({Id:t}).subscribe(n=>{if(n?.Data?.length>0){let i=[];i=n.Data.filter(s=>"SalesteamRM"==s?.role),this.RMRoleObj=i.length>0?i[0]:[]}})}getCMMBYCityName(t){this._becomeAgent.getCSMBYCityName({CityNameBYCSM:t}).subscribe(n=>{let i=[];i=n.Table.filter(s=>"SalesteamCMS"==s?.role),this.CSMRoleObj=i.length>0?i[0]:[]})}onChangeAgentSignFile(t){this.AgentSignFileErrorMsg="";let o=t.target.files[0];if(o.size>5242880)return this.AgentSignFileErrorMsg="and File size should not be greater than 5 MB.",void this.uploadDocumentFrom.controls.agent_sign.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.AgentSignFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}openConsentLetter(){const o={...this.agentRegisterDetails,Id:this.agentID};this.modalService.show(gt,Object.assign({class:"members-popup modal-lg",initialState:o,backdrop:"static"}))}MSMEActFlagsType(t){this.MSMEActsType=t,"NO"==t?(this.educationDetailsFrom.controls.MSMEActRegistrationCertificate.setValidators([]),this.educationDetailsFrom.get(["MSMEActRegistrationCertificate"])?.reset()):"YES"==t&&(console.log(t),this.educationDetailsFrom.controls.MSMEActRegistrationCertificate.setValidators([r.k0.required]))}onChangeMSMEActRCProofFile(t){this.MSMEActfFileErrorMsg="";let o=t.target.files[0];if(this.MSMEFileName=o.name,o.size>2097152)return this.MSMEActfFileErrorMsg="and File size should not be greater than 5 MB.",void this.educationDetailsFrom.controls.MSMEActRegistrationCertificate.reset();let n=new FileReader;n.readAsDataURL(o),n.onloadend=()=>{this.MSMEActRCProofFile=n.result},n.onerror=function(i){console.log("Error: ",i)}}updateMSMEActYESOrNORegistered(t){this._becomeAgent.updateMSMEActYESOrNORegistered({detailid:t?.detailid,MSMEActRegistrationCertificate:t?.MSMEActRegistrationCertificate?t?.MSMEActRegistrationCertificate:"",MSMEActsType:t?.MSMEActsType?t?.MSMEActsType:"NO"}).subscribe(n=>{})}proceedForBank(t,o){let n={Id:this.agentID,BankAccountHolderName:t.value.account_holder_name,BankAccountNumber:t.value.account_number,BankIFSC:t.value.ifsc_code,BankName:t.value.bank_name,BankAddress:t.value.bank_address,BankBranchName:t.value.branch_name,EducationalQualification:"Others"==this.educationDetailsFrom.value.education?this.educationDetailsFrom.value.others_education:this.educationDetailsFrom.value.education,AadharCardNumber:this.AadharNoMask};this.BankDtsl=n,this._becomeAgent.updateBankDtls(n).subscribe(i=>{"Y"==i?.Flag?this.stepShow("uploadDocuments"):this.openErrorPopup(i?.Msg)},i=>{console.log(i)})}static{this.\u0275fac=function(o){return new(o||a)(e.rXU(G.I8),e.rXU(x.Ix),e.rXU(x.nX),e.rXU(L.Y),e.rXU(Y.h))}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-become-an-agent-details"]],decls:62,vars:10,consts:[["template",""],["agentPersonalDetailsNA",""],["MSMEActFlag",""],["bank_name",""],[1,"choose-plan-sec"],[1,"container"],[1,"row","m-0"],[1,"col-12","col-lg-3","left-panel","p-3","p-lg-0"],[1,"step-heading","fs-18","text-dark","text-bolder","montserrat-bolder","mt-lg-4"],[1,"stepper","stepper-pink","mt-lg-4","my-3"],[1,"step","d-flex","align-items-center","completed","cursor"],[1,"step-number","d-flex","justify-content-center","align-items-center"],[1,"number","fs-12","text-bold","montserrat-bold"],[1,"right-tick"],["src","./assets/images/usgi-icons/circle-green-tick-sm.svg","alt",""],[1,"step-name","fs-12","text-bolder","montserrat-bolder","d-flex","align-items-center",3,"routerLink","replaceUrl"],[1,"edit-icon","ml-2"],["src","./assets/images/usgi-icons/red-edit-icon-sm.svg","alt",""],[1,"step",3,"ngClass"],[1,"d-lg-flex","align-items-center"],[1,"step-name","fs-12","text-bolder","montserrat-bolder","d-flex","align-items-center"],[1,"d-flex","align-items-center"],[1,"col-12","col-lg-9","right-panel","p-0","pb-3"],[1,"pb-5_0"],["class","mt-3 mb-4 mx-3 ml-lg-4 mr-lg-0",4,"ngIf"],[1,"mt-3","mb-4","mx-3","ml-lg-4","mr-lg-0"],[1,"welcome-user","d-flex","align-items-center","justify-content-between","mb-3"],[1,"back-arrow","mr-4","d-none","d-lg-block","cursor"],[3,"click"],["src","./assets/images/icons/back-arrow.svg","alt",""],[1,"mr-3"],["src","./assets/images/icons/hand-thumb.svg","alt",""],[1,"fs-16","text-bold","montserrat-bold"],[1,"fs-18","text-danger","text-bolder","montserrat-bolder","d-block","mb-2"],[1,"card","easy-claim","shadow","border-0","d-none","d-lg-block"],[1,"card-body","d-flex","align-items-center","py-2","px-3"],[1,"mr-2"],["src","./assets/images/usgi-icons/multiple-users-42.svg","alt","",1,"img-fluid"],[1,"fs-12","montserrat-regular","text-dark"],[1,"d-block","montserrat-bold","mb-1"],[1,"montserrat-bold"],[4,"ngIf","ngIfElse"],[1,"new-form",3,"formGroup"],[1,"card","card-with-title","border-0","shadow"],[1,"card-body","p-0"],[1,"card","border-0"],[1,"card-title","montserrat-bold","text-bold","text-black","py-2","px-3","bg-lighter-orange","mb-0","mt-3"],[1,"card-body","px-lg-4","pt-lg-4","pb-lg-0","px-3","pt-3","pb-0"],[1,"row"],[1,"col-12","col-lg-12","mb-4","pr-lg-0"],[1,"form-group","education-radio-btn-sm",3,"ngClass"],[1,"radio-data","d-flex","flex-wrap"],[1,"text-primary"],["type","radio","checked","","formControlName","education","name","education","value","Class X",3,"change"],[1,"checkmark"],["type","radio","formControlName","education","name","education","value","Class XII",3,"change"],["type","radio","formControlName","education","name","education","value","Graduate",3,"change"],["type","radio","formControlName","education","name","education","value","Post Graduate",3,"change"],["type","radio","formControlName","education","name","education","value","Others",3,"change"],["class","err-txt text-danger",4,"ngIf"],["class","col-12 col-lg-6 mb-4",4,"ngIf"],[1,"col-12","col-lg-6","mb-4"],[1,"form-group",3,"ngClass"],["for",""],[1,"montserrat-regular","fs-12"],[1,"text-danger"],["type","file","formControlName","education_proof","maxlength","70","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],[1,"sample_example"],["class","form-group form-check checkbox-md pl-0 mt-3",4,"ngIf"],[1,"col-lg-6","form-group","select-state",3,"ngClass"],["for","MSMEActFlag",1,"fss-12"],["formControlName","MSMEActFlag","placeholder","Select Type",1,"select-control","w-sm-100","form-control","p-0",3,"select","items"],["class","col-lg-6 form-group",4,"ngIf"],[1,"form-group","form-check","checkbox-md","pl-0","my-3"],["type","checkbox","formControlName","education_agent_accept_terms","id","agr",1,"form-check-input"],["for","agr",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],["target","_blank","href","https://www.universalsompo.com/legal",1,"text-danger","ml-1","text-decoration-none"],["type","button",1,"fs-12","btn","btn-danger",3,"click"],[1,"btn","btn-danger","float-right","my-4",3,"click","disabled"],[1,"col-12","col-lg-4","mb-4"],[1,"form-group"],["for","",1,"mb-2"],["type","text","placeholder","First Name",1,"form-control",3,"value","readOnly"],["type","text","placeholder","Last Name",1,"form-control",3,"value","readOnly"],["type","text","placeholder","DOB",1,"form-control",3,"value","readOnly"],["type","text","placeholder","Email",1,"form-control",3,"value","readOnly"],["type","text","placeholder","Mobile No",1,"form-control",3,"value","readOnly"],[4,"ngIf"],["type","text","placeholder","District",1,"form-control",3,"value","readOnly"],[1,"col-12","col-lg-12","mb-4","agent-address-sec"],["rows","5","placeholder","Address",1,"form-control",3,"value","readOnly"],[1,"form-check"],["type","checkbox","value","","id","defaultCheck1",1,"form-check-input",3,"click","ngModelChange","ngModel"],["for","defaultCheck1",1,"form-check-label"],[1,"col-12","col-lg-12","my-4","agent-address-sec"],["rows","5","placeholder"," Correspondence Address",1,"form-control",3,"ngModelChange","value","ngModel"],[1,"err-txt","text-danger"],["type","text","formControlName","others_education","placeholder","Enter Others Qualification","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z ]/g, '').replace(/(\\..*)\\./g, '$1')",1,"form-control"],[1,"form-group","form-check","checkbox-md","pl-0","mt-3"],["type","checkbox","formControlName","Agree_undr_accept_terms","id","Agree_undr_accept_terms",1,"form-check-input",3,"change","ngClass"],["for","Agree_undr_accept_terms",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],["href","javascript:void(0)",1,"text-danger","ml-1","text-decoration-none",3,"click"],["type","checkbox","formControlName","formA_agent_accept_terms","id","formA",1,"form-check-input",3,"change"],["for","formA",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-4","pt-0"],["type","checkbox","formControlName","formAB_agent_accept_terms","id","formB",1,"form-check-input",3,"change"],["for","formB",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-4","pt-0"],[1,"col-lg-6","form-group"],["for","",1,"my-3"],["type","file","formControlName","MSMEActRegistrationCertificate","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],["type","text","formControlName","aadhaar_number","placeholder","6167 5289 0123","minlength","12","maxlength","12",1,"form-control",3,"value"],["type","text","formControlName","pancard","placeholder","AKZPR2346T","minlength","10","maxlength","10","oninput","this.value = this.value.replace(/[^0-9a-zA-Z]/g, '').replace(/(\\..*)\\./g, '$1');",1,"form-control",3,"ngModelChange","readOnly","ngModel"],[1,"col-12","col-lg-12","mb-4"],["rows","5","formControlName","address","placeholder","Enter Full Address","minlength","10","maxlength","120",1,"form-control",3,"ngModelChange","readOnly","ngModel"],[1,"card-title","montserrat-bold","text-bold","text-black","py-2","px-3","bg-lighter-orange","mb-0"],[1,"col-12","col-lg-4","mb-2"],["for","",1,"mb-0"],[1,"text-small"],["type","text","formControlName","account_holder_name","placeholder","Enter Account Holder's Name","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z ]/g, '').replace(/(\\..*)\\./g, '$1')",1,"form-control"],["type","text","formControlName","account_number","placeholder","Enter Account Number","minlength","11","maxlength","26","oninput","this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\\..*)\\./g, '$1');",1,"form-control"],["type","text","formControlName","ifsc_code","placeholder","Enter IFSC Code","minlength","11","maxlength","11",1,"form-control",3,"input"],["formControlName","bank_name","placeholder","Select Bank Name",1,"select-control","w-sm-100",3,"items"],["type","text","formControlName","bank_address","placeholder","Enter Bank Name",1,"form-control",3,"readOnly","ngModel"],["type","text","formControlName","branch_name","placeholder","Enter Bank Name",1,"form-control",3,"readOnly","ngModel"],[1,"form-group","form-check","checkbox-md","pl-0","my-4"],["type","checkbox","formControlName","bank_agent_accept_terms","id","declare",1,"form-check-input"],["for","declare",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],[1,"btn","btn-danger","float-right","mb-4",3,"click","disabled"],[1,"form-group","radio-btn-sm",3,"ngClass"],["type","radio","checked","","formControlName","experience","name","experience","value","Yes"],["type","radio","formControlName","experience","name","experience","value","No"],["type","radio","checked","","formControlName","full_time","name","full_time","value","Yes"],["type","radio","formControlName","full_time","name","full_time","value","No"],[1,"form-group","checkbox-btn-sm",3,"ngClass"],[1,"checkbox-data"],["type","checkbox","formControlName","active_social_media","name","active_social_media","value","Linkedln",3,"change"],["type","checkbox","formControlName","active_social_media","name","active_social_media","value","Facebook",3,"change"],["type","checkbox","formControlName","active_social_media","name","active_social_media","value","Instagram",3,"change"],["type","checkbox","formControlName","active_social_media","name","active_social_media","value","Twitter",3,"change"],["type","checkbox","formControlName","self_owned","name","self_owned","value","Laptop/Desktop",3,"change"],["type","checkbox","formControlName","self_owned","name","self_owned","value","SmartPhone",3,"change"],["type","checkbox","formControlName","self_owned","name","self_owned","value","Internet",3,"change"],["type","checkbox","formControlName","self_owned","name","self_owned","value","Bike/Car",3,"change"],["type","radio","checked","","formControlName","preference","name","preference","value","Work Digitally"],["type","radio","formControlName","preference","name","preference","value","From Universal Sompo Branch"],[1,"form-group","form-check","checkbox-md","pl-0","my-5"],["type","checkbox","formControlName","preferences_agent_accept_terms","id","declare",1,"form-check-input"],[1,"col-lg-12","mb-2"],["type","file","formControlName","profile_photo","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif",1,"form-control",3,"change"],["type","file","formControlName","aadhaar_card_front","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],["type","file","formControlName","aadhaar_card_back","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],["type","file","formControlName","pan_card","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],["type","file","formControlName","cancel_cheque_passbook","maxlength","70","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],[1,"form-group","form-check","checkbox-md","pl-0","my-3",3,"click"],["type","checkbox","formControlName","bankformsIRDA_agent_accept_terms","id","declareMForm",1,"form-check-input"],["for","declareMForm",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],[1,"text-danger","ml-1","text-decoration-none"],["type","checkbox","formControlName","viewConsentLetter_agent_accept_terms","id","declareMFormVCL",1,"form-check-input"],["for","declareMFormVCL",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],["class","form-group form-check checkbox-
1md pl-0 mt-3",3,"click",4,"ngIf"],["type","checkbox","formControlName","documents_agent_accept_terms","id","declare",1,"form-check-input"],["class","spinner-border spinner-border-sm mr-1",4,"ngIf"],["type","file","formControlName","agent_sign","oninput","this.value = this.value.replace(/[^a-zA-Z]/g, '').replace(/(\\..*)\\./g, '')","accept","image/png,image/jpeg,image/jpg,image/gif,application/pdf,application/docx",1,"form-control",3,"change"],[1,"form-group","form-check","checkbox-md","pl-0","mt-3",3,"click"],["type","checkbox","formControlName","posp_agent_acceptAGMNT_terms","id","declareposp",1,"form-check-input",3,"change"],["for","declareposp",1,"fs-12","text-dark-gray","text-medium","montserrat-medium","mb-0","pt-0"],[1,"spinner-border","spinner-border-sm","mr-1"],[1,"modal-header"],[1,"modal-title","pull-left"],["type","button","aria-label","Close",1,"btn-close","close","pull-right",3,"click"],["aria-hidden","true",1,"visually-hidden"],[1,"modal-body"],["src",e.wXG`assets/pdf/Escalation Matrix -Agency_.pdf`,"width","760px","height","500px","type","application/pdf"]],template:function(o,n){1&o&&(e.j41(0,"section",4)(1,"div",5)(2,"div",6)(3,"div",7)(4,"div",8),e.EFF(5,"Steps -"),e.k0s(),e.j41(6,"div",9)(7,"div",10)(8,"div",11)(9,"span",12),e.EFF(10,"1"),e.k0s(),e.j41(11,"figure",13),e.nrm(12,"img",14),e.k0s()(),e.j41(13,"div",15)(14,"span"),e.EFF(15,"Applicant Details"),e.k0s(),e.j41(16,"figure",16),e.nrm(17,"img",17),e.k0s()()(),e.j41(18,"div",18)(19,"div",19)(20,"div",11)(21,"span",12),e.EFF(22,"2"),e.k0s(),e.j41(23,"figure",13),e.nrm(24,"img",14),e.k0s()(),e.j41(25,"div",20)(26,"span",21),e.EFF(27,"Education Details "),e.k0s(),e.j41(28,"figure",16),e.nrm(29,"img",17),e.k0s()()()(),e.j41(30,"div",18)(31,"div",19)(32,"div",11)(33,"span",12),e.EFF(34,"3"),e.k0s(),e.j41(35,"figure",13),e.nrm(36,"img",14),e.k0s()(),e.j41(37,"div",20)(38,"span",21),e.EFF(39,"Bank Details "),e.k0s(),e.j41(40,"figure",16),e.nrm(41,"img",17),e.k0s()()()(),e.j41(42,"div",18)(43,"div",19)(44,"div",11)(45,"span",12),e.EFF(46,"4"),e.k0s(),e.j41(47,"figure",13),e.nrm(48,"img",14),e.k0s()(),e.j41(49,"div",20)(50,"span",21),e.EFF(51,"Upload Documents"),e.k0s(),e.j41(52,"figure",16),e.nrm(53,"img",17),e.k0s()()()()()(),e.j41(54,"div",22)(55,"div",23),e.DNE(
156,yt,95,22,"div",24)(57,wt,115,36,"div",24)(58,Gt,135,22,"div",24)(59,Kt,111,25,"div",24),e.k0s()()()()(),e.DNE(60,Jt,8,0,"ng-template",null,0,e.C5r)),2&o&&(e.R7$(13),e.Y8G("routerLink",e.lJ4(9,dt))("replaceUrl",!0),e.R7$(5),e.Y8G("ngClass",n.isCompE),e.R7$(12),e.Y8G("ngClass",n.isCompB),e.R7$(12),e.Y8G("ngClass",n.isCompU),e.R7$(14),e.Y8G("ngIf","educationDetails"==n.activeForm),e.R7$(),e.Y8G("ngIf","bankDetails"==n.activeForm),e.R7$(),e.Y8G("ngIf","preferences"==n.activeForm),e.R7$(),e.Y8G("ngIf","uploadDocuments"==n.activeForm))},dependencies:[v.YU,v.bT,x.Wk,r.qT,r.me,r.Zm,r.Fm,r.BC,r.cb,r.xh,r.tU,r.vS,r.j4,r.JD,X.RM,M.ZP],styles:['.left-panel[_ngcontent-%COMP%]{position:relative;background:#fcf8f4}.left-panel[_ngcontent-%COMP%]:after{position:absolute;width:200%;content:"";left:-200%;background:#fcf8f4;top:0;height:100%}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{position:relative}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:before{height:calc(100% + 35px);width:2px;background:#d8d8d8;top:24px;left:11px;position:absolute;content:""}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:after{height:calc(100% + 35px);width:2px;background:#e7781780;top:24px;left:11px;position:absolute;content:"";display:none}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{margin-bottom:56px}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .edit-icon[_ngcontent-%COMP%], .stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .right-tick[_ngcontent-%COMP%]{display:none}.stepper-pink[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{width:24px;height:24px;background:#d8d8d8;border:1px solid #D8D8D8;border-radius:50%;position:relative;margin-right:8px}.stepper-pink[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%], .stepper-pink[_ngcontent-%COMP%] .step-name[_ngcontent-%COMP%]{color:#75757c}.stepper-pink[_ngcontent-%COMP%] .completed[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%], .stepper-pink[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{background:#ffe9d2;border:.666667px solid rgba(255,194,140,.5);color:#e87613}.stepper-pink[_ngcontent-%COMP%] .step.completed[_ngcontent-%COMP%]:after, .stepper-pink[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%]:after{display:block}.stepper-pink[_ngcontent-%COMP%] .step.completed[_ngcontent-%COMP%]:before, .stepper-pink[_ngcontent-%COMP%] .step.active[_ngcontent-%COMP%]:before{display:none}.stepper-pink[_ngcontent-%COMP%] .completed[_ngcontent-%COMP%] .edit-icon[_ngcontent-%COMP%], .stepper-pink[_ngcontent-%COMP%] .completed[_ngcontent-%COMP%] .right-tick[_ngcontent-%COMP%]{display:block}.stepper-pink[_ngcontent-%COMP%] .completed[_ngcontent-%COMP%] .step-name[_ngcontent-%COMP%]{color:#303030}.stepper-pink[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .step-name[_ngcontent-%COMP%]{font-size:16px;color:#e77817}.stepper-pink[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%] .right-tick[_ngcontent-%COMP%]{position:absolute;right:-5px;top:0}.stepper-pink[_ngcontent-%COMP%] .down-icon[_ngcontent-%COMP%]{display:none}.stepper-pink[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .down-icon[_ngcontent-%COMP%]{display:block}.stepper-pink[_ngcontent-%COMP%] .down-icon.rotate[_ngcontent-%COMP%]{transform:rotate(180deg);top:2px;position:relative}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:last-child:after, .stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:last-child:before{display:none}.bg-lighter-orange[_ngcontent-%COMP%]{background-color:#fff6ed}.new-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#838383;font-weight:600;margin-bottom:12px;display:block;font-family:montserrat-semibold}.new-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] input[type=file][_ngcontent-%COMP%]{max-height:48px;line-height:22px}.new-form[_ngcontent-%COMP%] .form-control[readonly][_ngcontent-%COMP%]{background-color:#f7f7f7!important;pointer-events:none;opacity:1!important}.new-form[_ngcontent-%COMP%] .ngx-select__disabled[_ngcontent-%COMP%]{background-color:#f7f7f7!important;pointer-events:none;border-radius:30px!important;opacity:1!important} .agent-address-sec .form-group textarea{height:100px;max-height:150px;resize:none;border-radius:8px;-webkit-border-radius:8px;-moz-border-radius:8px;-ms-border-radius:8px;-o-border-radius:8px}.new-form[_ngcontent-%COMP%] textarea.form-control[_ngcontent-%COMP%]{max-height:unset;border-radius:12px;-webkit-border-radius:12px;-moz-border-radius:12px;-ms-border-radius:12px;-o-border-radius:12px;resize:none}.new-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label.fs-12[_ngcontent-%COMP%]{font-size:12px!important}.form-group.checkbox-md[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%] + label[_ngcontent-%COMP%]:before{width:20px;height:20px}.form-group.checkbox-md[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + label[_ngcontent-%COMP%]:after{background-size:60%;width:20px;height:20px}.form-group.form-check[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500}.new-form[_ngcontent-%COMP%] .datepicker[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{position:absolute;top:10px;z-index:1;right:18px;pointer-events:none}.form-group.radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%], .form-group.checkbox-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%], .form-group.education-radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{height:18px;width:18px}.form-group.education-radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{margin:16px 0 16px 16px}.form-group.radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after, .form-group.checkbox-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after, .form-group.education-radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 6px);left:calc(50% - 6.2px);height:12px;width:12px}.form-group.checkbox-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 8.5px);left:calc(50% - 6.2px)}.form-group.radio-btn-sm[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .form-group.checkbox-btn-sm[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .form-group.education-radio-btn-sm[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;padding:0 0 0 24px;font-family:montserrat-regular}.form-group.education-radio-btn-sm[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-right:16px;padding:16px 56px!important;border:2px solid #d8d8d8!important;border-radius:5px;font-family:montserrat-semibold}.form-group.radio-btn-sm[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:last-of-type, .form-group.checkbox-btn-sm[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:last-of-type, .form-group.education-radio-btn-sm[_ngcontent-%COMP%] label[_ngcontent-%COMP%]:last-of-type{margin-right:16px}.card-with-title[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{width:-moz-fit-content;width:fit-content;font-size:16px}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{position:relative;padding-left:28px;line-height:18px;font-family:montserrat-regular;font-weight:500}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] input[type=radio][_ngcontent-%COMP%]{position:absolute;opacity:0;cursor:pointer}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{position:absolute;top:0;left:0;height:18px;width:18px;background-color:#fff;border:1px solid #707070}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{content:"";position:absolute;display:none}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .checkmark[_ngcontent-%COMP%]{background-color:#fff;border-color:#c02}.new-form[_ngcontent-%COMP%] .checkbox-data[_ngcontent-%COMP%] input[type=checkbox][_ngcontent-%COMP%]:checked + .checkmark[_ngcontent-%COMP%]:after{content:"\\2713";color:#c02;background-color:#fff;display:block;border-radius:0}.sample_example[_ngcontent-%COMP%]{display:block;font-family:montserrat-regular;font-weight:500;margin-top:12px;line-height:24px}@media (max-width: 575px) and (min-width: 320px){.stepper[_ngcontent-%COMP%]{display:flex;justify-content:center}.stepper[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{flex-direction:column}.step-heading[_ngcontent-%COMP%]{font-size:14px;width:260px;margin:0 auto}.stepper-green[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{width:25%;margin-bottom:0}.stepper-green[_ngcontent-%COMP%] .step[_ngcontent-%COMP%] .fs-14[_ngcontent-%COMP%]{font-size:12px;line-height:16px;text-align:center}.stepper-green[_ngcontent-%COMP%]:after{border-left:none;border-top:1px dashed #909090;width:80%;height:1px;top:17px;left:0;z-index:-1;right:0;margin:0 auto}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]{margin-bottom:auto;margin-right:56px}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:last-child{margin-right:0}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:after{height:1px;width:56px;top:12px;left:24px}.stepper-pink[_ngcontent-%COMP%] .step[_ngcontent-%COMP%]:before{height:1px;width:56px;top:12px;left:24px}.stepper-pink[_ngcontent-%COMP%] .completed[_ngcontent-%COMP%] .step-name[_ng
1content-%COMP%], .stepper-pink[_ngcontent-%COMP%] .step-name[_ngcontent-%COMP%]{display:none!important}.stepper-pink[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .down-icon[_ngcontent-%COMP%]{display:none}.stepper-pink[_ngcontent-%COMP%] .active[_ngcontent-%COMP%] .step-name[_ngcontent-%COMP%]{display:flex!important;font-size:12px;position:absolute;white-space:nowrap;left:-65px;margin:8px auto 0;width:155px;text-align:center;justify-content:center}.stepper-pink[_ngcontent-%COMP%] .step-number[_ngcontent-%COMP%]{margin-right:0}.card-with-title[_ngcontent-%COMP%] .card-title[_ngcontent-%COMP%]{font-size:14px}.new-form[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label.fs-12[_ngcontent-%COMP%]{font-size:11px!important;line-height:20px}}.fs-12[_ngcontent-%COMP%]{font-size:12px}small.text-small[_ngcontent-%COMP%]{font-size:10px;margin-bottom:7px;display:block;font-weight:900}']})}}return a})(),Zt=(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agentonbording-banner"]],decls:20,vars:0,consts:[[1,"container-fluid","main-banner","agent-details-banner"],[1,"row"],[1,"container"],[1,"main-banner-wrapper"],[1,"main-banner-left"],[1,"breadcrumb","mt-4","d-none","d-lg-block"],[1,"d-flex","fs-12"],["routerLink","/",1,"text-white"],["routerLink","/agenton-bording",1,"text-white"],[1,"banner-info-main","mt-lg-4","mt-0","pt-4"],["routerLink","../",1,"back-btn","back-button","d-lg-none","mr-2"],["src","./assets/images/icons/chevron-back.svg","alt","back arrow"],[1,"text-bolder","text-white","montserrat-bolder"],[1,"main-banner-right","mt-2","mt-sm-0"],["src","./assets/images/become-agent/become-an-agent-banner.png","alt","banner person",1,"img-fluid"]],template:function(o,n){1&o&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"ul",6)(7,"li")(8,"a",7),e.EFF(9,"Home"),e.k0s()(),e.j41(10,"li")(11,"a",8),e.EFF(12,"Agent On Bording"),e.k0s()()()(),e.j41(13,"div",9)(14,"a",10),e.nrm(15,"img",11),e.k0s(),e.j41(16,"h1",12),e.EFF(17," Agent On Bording "),e.k0s()()(),e.j41(18,"div",13),e.nrm(19,"img",14),e.k0s()()()()())},dependencies:[x.Wk],styles:[".agent-details-banner[_ngcontent-%COMP%] .main-banner-left[_ngcontent-%COMP%]{max-width:635px}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:30px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:250px}@media (max-width:991.2px) and (min-width: 769px){.banner-info-main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px;padding-left:35px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:130px;margin-left:auto}}@media (max-width: 768px) and (min-width: 576px){.agent-details-banner[_ngcontent-%COMP%]{min-height:inherit}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:40%;margin:0 auto;text-align:center}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%]{width:100%;margin:0 auto}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] ul[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{width:100%;margin-right:0!important}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:15px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:130px;margin-left:auto}.main-banner-left[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:20px;line-height:24px;padding-left:35px}}@media (max-width: 575px) and (min-width: 320px){.main-banner-wrapper[_ngcontent-%COMP%]{height:110px}.agent-details-banner[_ngcontent-%COMP%]{min-height:inherit;padding-bottom:0}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%]{width:35%;margin-top:auto!important;text-align:center}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{color:#fff!important}.agent-details-banner[_ngcontent-%COMP%] h5[_ngcontent-%COMP%]{line-height:15px}.agent-details-banner[_ngcontent-%COMP%] .main-banner-right[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{height:auto!important;max-width:130px}.banner-info-main[_ngcontent-%COMP%] h2[_ngcontent-%COMP%]{font-size:19px;line-height:24px;padding-left:35px}}"]})}}return a})();const H=a=>({"form-group-error":a}),Qt=()=>({dateInputFormat:"DD-MM-YYYY"});function en(a,m){1&a&&(e.j41(0,"small",20),e.EFF(1,"Please Select Your DOB"),e.k0s())}let tn=(()=>
1{class a{constructor(){this.submitted=!1,this.ngxControl=new r.hs,this.agentRegisterFrom=new r.J3({agent_type:new r.hs("POSP",[r.k0.required]),agentAccepTerms:new r.hs(!0,r.k0.requiredTrue)})}ngOnInit(){}noWhitespaceValidator(t){return 0!==(t.value||"").trim().length?null:{whitespace:!0}}onReset(){this.agentRegisterFrom.controls.agent_type.reset()}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agentonbording-form"]],decls:30,vars:10,consts:[[1,"agent-from-section","mb-4"],[1,"container"],[1,"policy-status-form","agentonbording-main"],[1,"agent-register-from","d-flex","align-items-center","flex-wrap","mt-3","mt-lg-0",3,"formGroup"],[1,"form-group","datepicker",3,"ngClass"],["for","",1,"mb-2","fs-16","text-dark-gray","text-bold","montserrat-bold"],[1,"text-danger"],["src","./assets/images/icons/calendar-icon.svg","alt","calendar",1,"img-fluid","dob-img"],["type","text","formControlName","dob","placeholder","DD / MM / YYYY","bsDatepicker","",1,"form-control","position-relative",3,"bsConfig"],["class","err-txt text-danger",4,"ngIf"],[1,"d-flex","align-items-center","flex-wrap"],[1,"form-group","radio-btn-sm",3,"ngClass"],["for",""],[1,"radio-data","d-flex","flex-wrap"],[1,"text-primary"],["type","radio","checked","","formControlName","agent_type","name","agent_type","value","IRDAI"],[1,"checkmark"],["type","radio","formControlName","agent_type","name","agent_type","value","POSP"],[1,"btn-control"],["_ngcontent-rcs-c89","",1,"btn","btn-danger"],[1,"err-txt","text-danger"]],template:function(o,n){if(1&o&&(e.j41(0,"section",0)(1,"div",1)(2,"div",2)(3,"form",3)(4,"div",4)(5,"label",5),e.EFF(6,"Date"),e.j41(7,"span",6),e.EFF(8,"*"),e.k0s()(),e.nrm(9,"img",7)(10,"input",8),e.DNE(11,en,2,0,"small",9),e.k0s(),e.j41(12,"div",10)(13,"div",11)(14,"label",12),e.EFF(15,"Do you wish to be an agent ?"),e.j41(16,"span",6),e.EFF(17," *"),e.k0s()(),e.j41(18,"div",13)(19,"label",14),e.EFF(20,"IRDAI "),e.nrm(21,"input",15)(22,"span",16),e.k0s(),e.j41(23,"label",14),e.EFF(24," POSP "),e.nrm(25,"input",17)(26,"span",16),e.k0s()()()(),e.j41(27,"div",18)(28,"button",19),e.EFF(29,"Filter Details"),e.k0s()()()()()()),2&o){let i,s,g;e.R7$(3),e.Y8G("formGroup",n.agentRegisterFrom),e.R7$(),e.Y8G("ngClass",e.eq3(5,H,(null==(i=n.agentRegisterFrom.get("dob"))?null:i.errors)&&(null==(i=n.agentRegisterFrom.get("dob"))?null:i.touched))),e.R7$(6),e.Y8G("bsConfig",e.lJ4(7,Qt)),e.R7$(),e.Y8G("ngIf",(null==(s=n.agentRegisterFrom.get("dob"))?null:s.errors)&&(null==(s=n.agentRegisterFrom.get("dob"))?null:s.touched)),e.R7$(2),e.Y8G("ngClass",e.eq3(8,H,(null==(g=n.agentRegisterFrom.get("agent_type"))?null:g.invalid)&&((null==(g=n.agentRegisterFrom.get("agent_type"))?null:g.dirty)||(null==(g=n.agentRegisterFrom.get("agent_type"))?null:g.touched))
1))}},dependencies:[v.YU,v.bT,r.qT,r.me,r.Fm,r.BC,r.cb,r.j4,r.JD,w.pc,w.p0,M.ZP],styles:[".policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:30px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{margin:-55px auto 0;padding:24px 33px;background:#fff;border:1px solid #d8d8d8;box-sizing:border-box;box-shadow:0 0 30px #78787840;border-radius:24px;position:relative}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{margin:0 29px;width:250px;max-width:100%;position:relative}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:16px;line-height:20px;color:#838383;font-weight:600;margin-bottom:8px;display:block} .intl-tel-number.contact-number{width:100%}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:18px;padding-left:36px;padding-right:36px} .highlited .agent-from-section .policy-status-form{box-shadow:0 0 30px #787878!important;animation:_ngcontent-%COMP%_pulse 1s infinite;-webkit-animation:_ngcontent-%COMP%_pulse 1s infinite}.form-group.radio-btn-sm[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%]{margin-top:20px}.form-group.radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]{height:18px;width:18px}.form-group.radio-btn-sm[_ngcontent-%COMP%] .checkmark[_ngcontent-%COMP%]:after{top:calc(50% - 6px);left:calc(50% - 6.2px);height:12px;width:12px}.form-group.radio-btn-sm[_ngcontent-%COMP%] .radio-data[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-weight:500;padding:0 0 0 24px;font-family:montserrat-bold;font-size:12px} .agent-register-from .dob-img{position:absolute;z-index:999;right:15px;top:36px}@keyframes _ngcontent-%COMP%_pulse{0%{transform:scale(.95)}to{transform:scale(1)}}.agentonbording-main[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between}.filter[_ngcontent-%COMP%]{display:flex;align-items:center}@media (max-width: 1200px) and (min-width: 992px){.policy-status-form-container[_ngcontent-%COMP%]{margin-bottom:70px}}@media (max-width:991.2px) and (min-width: 769px){.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:16px;line-height:18px;margin:16px 0 9px}}@media (max-width: 768px) and (min-width: 576px){.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:0;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-register-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]{justify-content:space-between}.agent-register-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]:last-child, .agent-register-otp-from[_ngcontent-%COMP%] .d-flex[_ngcontent-%COMP%]:last-child{justify-content:flex-start} .agent-register-from .form-group, .agent-register-from .form-select, .agent-register-otp-from .form-group, .agent-register-otp-from .form-select{width:100%!important;margin-bottom:15px!important;margin-right:0!important}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px!important;line-height:20px}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:20px}.agent-from-section[_ngcontent-%COMP%]{margin-bottom:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}}@media (max-width: 575px) and (min-width: 320px){.agent-from-section[_ngcontent-%COMP%] .container[_ngcontent-%COMP%]{padding:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%]{width:100%;margin:0 auto;box-shadow:unset;border:none;padding:1px 16px;border-radius:0;-webkit-border-radius:0;-moz-border-radius:0;-ms-border-radius:0;-o-border-radius:0}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%]{width:100%;margin-bottom:15px!important;margin-right:0!important} .agent-register-from .form-group, .agent-register-from .form-select, .agent-register-otp-from .form-group, .agent-register-otp-from .form-selec{width:100%!important}.agent-register-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .form-group[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{font-size:12px!important;line-height:20px}.agent-register-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%], .agent-register-otp-from[_ngcontent-%COMP%] .btn-control[_ngcontent-%COMP%] .btn[_ngcontent-%COMP%]{font-size:16px;line-height:20px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h5[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > p[_ngcontent-%COMP%]{line-height:20px}.agent-from-section[_ngcontent-%COMP%]{margin-bottom:0}.agent-from-section[_ngcontent-%COMP%] .policy-status-form[_ngcontent-%COMP%] > h6[_ngcontent-%COMP%]{max-width:90%;font-size:14px;line-height:18px;margin:16px 0 9px}}"]})}}return a})(),nn=(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agentonbording-profile"]],decls:74,vars:0,consts:[[1,"agentonbording-main","mt-4","mb-4"],[1,"container"],[1,"profile-main"],[1,"profile-left"],[1,"profile-card"],[1,"profile-img"],["src","./assets/images/clients/person.png","alt","Profile"],[1,"profile-info"],["href",""],[1,"profile-right"],[1,"card","profile-info","mb-4"],[1,"text-bold","title"],[1,"person-name"],[1,"card","Bank-info","mb-4"],[1,"adhar-card-pic"],[1,"img-box"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5),e.nrm(6,"img",6),e.k0s(),e.j41(7,"div",7)(8,"h3"),e.EFF(9,"John Doe"),e.k0s(),e.nrm(10,"a",8),e.k0s()()(),e.j41(11,"div",9)(12,"ul",10)(13,"li")(14,"p",11),e.EFF(15,"Name"),e.k0s(),e.j41(16,"p",12),e.EFF(17,"John Doe"),e.k0s()(),e.j41(18,"li")(19,"p",11),e.EFF(20,"Email"),e.k0s(),e.j41(21,"p",12),e.EFF(22,"[email protected]"),e.k0s()(),e.j41(23,"li")(24,"p",11),e.EFF(25,"Phone"),e.k0s(),e.j41(26,"p",12),e.EFF(27,"(239) 8
116-9029"),e.k0s()(),e.j41(28,"li")(29,"p",11),e.EFF(30,"Address"),e.k0s(),e.j41(31,"p",12),e.EFF(32,"Bay Area, San Francisco, CA"),e.k0s()()(),e.j41(33,"ul",13)(34,"li")(35,"p",11),e.EFF(36,"Detail Id"),e.k0s(),e.j41(37,"p",12),e.EFF(38,"John Doe"),e.k0s()(),e.j41(39,"li",14)(40,"div")(41,"p",11),e.EFF(42,"AadharCard_FrontSide"),e.k0s(),e.nrm(43,"div",15),e.k0s(),e.j41(44,"div")(45,"p",11),e.EFF(46,"AadharCard_FrontSide"),e.k0s(),e.nrm(47,"div",15),e.k0s()(),e.j41(48,"li")(49,"p",11),e.EFF(50,"PanCard"),e.k0s(),e.j41(51,"p",12),e.EFF(52,"ALWPG5809L"),e.k0s()()(),e.j41(53,"ul",10)(54,"li")(55,"p",11),e.EFF(56,"Name"),e.k0s(),e.j41(57,"p",12),e.EFF(58,"John Doe"),e.k0s()(),e.j41(59,"li")(60,"p",11),e.EFF(61,"BankAccountNumber "),e.k0s(),e.j41(62,"p",12),e.EFF(63,"0112345678 "),e.k0s()(),e.j41(64,"li")(65,"p",11),e.EFF(66,"BankIFSC "),e.k0s(),e.j41(67,"p",12),e.EFF(68,"ABCD0005943"),e.k0s()(),e.j41(69,"li")(70,"p",11),e.EFF(71,"BankName"),e.k0s(),e.j41(72,"p",12),e.EFF(73,"Bank of Baroda"),e.k0s()()()()()()())},styles:[".profile-main[_ngcontent-%COMP%]{display:flex;background:#ffe9d4;padding:20px;border-radius:5px}.profile-left[_ngcontent-%COMP%]{width:20%;border:1px solid #ccc;padding:10px;margin-right:10px;text-align:center;background:#fff}.profile-left[_ngcontent-%COMP%] .profile-img[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{width:50%;height:50%;margin:0 auto;max-width:100%;border-radius:50%}.profile-left[_ngcontent-%COMP%] .profile-info[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:13px 0;font-weight:800;font-size:20px}.profile-right[_ngcontent-%COMP%]{width:80%;margin-right:10px}.card[_ngcontent-%COMP%]{background:#fff;padding:20px}.profile-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%], .Bank-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{padding:15px 0;border-bottom:1px solid #efeeee}.profile-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%], .Bank-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:80px}.profile-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child, .Bank-info[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:none}.adhar-card-pic[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin-right:30px}.adhar-card-pic[_ngcontent-%COMP%] div[_ngcontent-%COMP%] .img-box[_ngcontent-%COMP%]{width:250px;height:150px;background:#e7e5e5;margin:10px 0}.Bank-info[_ngcontent-%COMP%] .adhar-card-pic[_ngcontent-%COMP%] .title[_ngcontent-%COMP%]{width:100%}"]})}}return a})(),on=(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agentonbording-table"]],decls:38,vars:0,consts:[[1,"filter-tabel"],[1,"container"]],template:function(o,n){1&o&&(e.j41(0,"div",0)(1,"div",1)(2,"table")(3,"tr")(4,"th"),e.EFF(5,"Name"),e.k0s(),e.j41(6,"th"),e.EFF(7,"Date"),e.k0s(),e.j41(8,"th"),e.EFF(9,"Types"),e.k0s()(),e.j41(10,"tr")(11,"td"),e.EFF(12,"Alfreds Futterkiste"),e.k0s(),e.j41(13,"td"),e.EFF(14,"Maria Anders"),e.k0s(),e.j41(15,"td"),e.EFF(16,"Germany"),e.k0s()(),e.j41(17,"tr")(18,"td"),e.EFF(19,"Centro comercial Moctezuma"),e.k0s(),e.j41(20,"td"),e.EFF(21,"Francisco Chang"),e.k0s(),e.j41(22,"td"),e.EFF(23,"Mexico"),e.k0s()(),e.j41(24,"tr")(25,"td"),e.EFF(26,"Ernst Handel"),e.k0s(),e.j41(27,"td"),e.EFF(28,"Roland Mendel"),e.k0s(),e.j41(29,"td"),e.EFF(30,"Austria"),e.k0s()(),e.j41(31,"tr")(32,"td"),e.EFF(33,"Ernst Handel"),e.k0s(),e.j41(34,"td"),e.EFF(35,"Roland Mendel"),e.k0s(),e.j41(36,"td"),e.EFF(37,"Austria"),e.k0s()()()()())},styles:["table[_ngcontent-%COMP%]{font-family:arial,sans-serif;border-collapse:collapse;width:100%;border-radius:5px}td[_ngcontent-%COMP%], th[_ngcontent-%COMP%]{border:1px solid #dddddd;text-align:left;padding:15px 20px}tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#ddd}"]})}}return a})();const an=[{path:"become-an-agent",component:it},{path:"agenton-bording",component:(()=>{class a{constructor(){}ngOnInit(){}static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275cmp=e.VBU({type:a,selectors:[["app-agenton-bording"]],decls:4,vars:0,template:function(o,n){1&o&&e.nrm(0,"app-agentonbording-banner")(1,"app-agentonbording-form")(2,"app-agentonbording-table")(3,"app-agentonbording-profile")},dependencies:[Zt,tn,nn,on]})}}return a})()},{path:"become-an-agent-details",component:W},{path:"become-an-agent-details/:id",component:W}];let rn=(()=>{class a{static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[x.iI.forChild(an),x.iI]})}}return a})();
1var sn=_(39331),ln=_(5452),cn=_(31555);let mn=(()=>{class a{static{this.\u0275fac=function(o){return new(o||a)}}static{this.\u0275mod=e.$C({type:a})}static{this.\u0275inj=e.G2t({imports:[v.MD,rn,r.YN,r.X1,sn.CustomCommonModule,ln.PluginsModule,cn.WidgetsModule]})}}return a})()}}]);
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.