"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[401,891,3272,6129,8510,1367,3748,6605,8986,9939],{10401:(O,h,o)=>{o.r(h),o.d(h,{SignupInfoPage:()=>s});var l=o(60177),d=o(89417),i=o(36375),c=o(45312),_=o(75205),e=o(54438),p=o(20891);const g=()=>["/signup-address-info"];function f(n,r){if(1&n){const t=e.RV6();e.j41(0,"div",1)(1,"ion-content",2)(2,"ion-grid",3)(3,"ion-row")(4,"ion-col",4),e.nrm(5,"ion-img",5),e.k0s()(),e.j41(6,"h3",6),e.EFF(7,"Select Gender"),e.k0s(),e.j41(8,"ion-radio-group",7),e.mxI("ngModelChange",function(u){e.eBV(t);const E=e.XpG();return e.DH7(E.gender,u)||(E.gender=u),e.Njj(u)}),e.j41(9,"ion-item")(10,"ion-radio",8),e.EFF(11,"Male"),e.k0s()(),e.j41(12,"ion-item")(13,"ion-radio",9),e.EFF(14,"Female"),e.k0s()(),e.j41(15,"ion-item")(16,"ion-radio",10),e.EFF(17,"Other"),e.k0s()()(),e.j41(18,"ion-row",3)(19,"ion-col")(20,"ion-button",11),e.EFF(21,"Skip \xa0"),e.nrm(22,"ion-icon",12),e.k0s()(),e.j41(23,"ion-col")(24,"ion-button",13),e.bIt("click",function(){e.eBV(t);const u=e.XpG();return e.Njj(u.addGender())}),e.EFF(25,"Next \xa0"),e.nrm(26,"ion-icon",14),e.k0s()()()()()()}if(2&n){const t=e.XpG();e.R7$(),e.Y8G("fullscreen",!0),e.R7$(7),e.R50("ngModel",t.gender),e.R7$(12),e.Y8G("routerLink",e.lJ4(3,g))}}let s=(()=>{var n;class r{constructor(a,u){this.apiRequest=a,this.router=u,this.forMobile=c.c.forMobile,this.isGenderModal=!1}ngOnInit(){}ionViewWillEnter(){this.userId=sessionStorage.getItem("user_id")}addGender(){this.apiRequest.post("mst_user/add_edit_record",{user_id:this.userId,user_gender:this.gender}).subscribe(u=>{console.log(u),1==u.status&&this.router.navigate(["/signup-address-info"])})}}return(n=r).\u0275fac=function(a){return new(a||n)(e.rXU(p.x),e.rXU(_.Ix))},n.\u0275cmp=e.VBU({type:n,selectors:[["app-signup-info"]],standalone:!0,features:[e.aNF],decls:1,vars:1,consts:[["style","height:100%",4,"ngIf"],[2,"height","100%"],[3,"fullscreen"],[1,"ion-margin-top"],[1,"flex"],["src","assets/images/logo (1) 1.png",2,"width","60%"],[1,"ion-text-center"],[3,"ngModelChange","ngModel"],["justify","space-between","value","Male"],["justify","space-between","value","Female"],["justify","space-between","value","Other"],[1,"cancel-button",3,"routerLink"],["name","play-skip-forward"],[1,"success-button",3,"click"],["name","arrow-forward"]],template:function(a,u){1&a&&e.DNE(0,f,27,4,"div",0),2&a&&e.Y8G("ngIf",u.forMobile)},dependencies:[i.bv,i.Jm,i.hU,i.W9,i.lO,i.iq,i.KW,i.uz,i.KO,i.f0,i.ln,i.uR,i.Je,i.N7,l.MD,l.bT,d.YN,d.BC,d.vS,_.Wk],styles:["h3[_ngcontent-%COMP%]{justify-content:center;align-items:center;display:flex;border-radius:10px;background:#faebd7;padding:5px}.flex1[_ngcontent-%COMP%]{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%);width:100%;max-width:400px;text-align:center;justify-content:center}"]}),r})()},20891:(O,h,o)=>{o.d(h,{x:()=>e});var l=o(21626),d=o(18810),i=o(99437),c=o(45312),_=o(54438);let e=(()=>{var p;class g{constructor(s){this.http=s,this.baseUrl=c.c.baseApiPath,this.baseApiPath=c.c.API_URL}get(s,n,r){let t={params:new l.Nl,headers:new l.Lr};if(n)for(let a in n)n.hasOwnProperty(a)&&(t.params=t.params.append(a,n[a]));return r&&(t.headers=r),this.http.get(`${this.baseUrl}/${s}`,t).pipe((0,i.W)(this.handleError))}post(s,n,r){let t={headers:new l.Lr};return r&&(t.headers=r),this.http.post(`${this.baseUrl}/${s}`,n,t).pipe((0,i.W)(this.handleError))}post1(s,n,r){let t={headers:new l.Lr};return r&&(t.headers=r),this.http.post(`${this.baseUrl}/${s}`,n,t).pipe((0,i.W)(this.handleError))}put(s,n,r){let t={headers:new l.Lr};return r&&(t.headers=r),this.http.put(`${this.baseUrl}/${s}`,n,t).pipe((0,i.W)(this.handleError))}patch(s,n,r){let t={headers:new l.Lr};return r&&(t.headers=r),this.http.patch(`${this.baseUrl}/${s}`,n,t).pipe((0,i.W)(this.handleError))}delete(s,n){let r={headers:new l.Lr};return n&&(r.headers=n),this.http.delete(`${this.baseUrl}/${s}`,r).pipe((0,i.W)(this.handleError))}handleError(s){return(0,d.$)("Server is facing issues, please try again later.")}postF(s,n,r){let t={headers:new l.Lr};return r&&(t.headers=r),this.http.post(`${this.baseApiPath}/${s}`,n,t).pipe((0,i.W)(this.handleError))}}return(p=g).\u0275fac=function(s){return new(s||p)(_.KVO(l.Qq))},p.\u0275prov=_.jDH({token:p,factory:p.\u0275fac,providedIn:"root"}),g})()}}]);