"use strict";(self.webpackChunkdemo1=self.webpackChunkdemo1||[]).push([[297],{2297:(p,r,i)=>{i.r(r),i.d(r,{AccountMessageModule:()=>l});var c=i(177),a=i(8358),t=i(4438),d=i(7746);const u=[{path:"account-message",component:(()=>{class e{constructor(s,n){this.userSerive=s,this.router=n}ngOnInit(){let s=sessionStorage.getItem("isLoggedIn");this.sesiduser=JSON.parse(s),this.idaccount=this.sesiduser.idaccount,this.iduser=this.sesiduser.iduser,this.userSerive.getSingleUsers().subscribe(n=>{this.kyc_status=n.data1[0].kyc_verify_status,this.federal_status=n.data1[0].federal_status})}redirectPage(){1==this.kyc_status?this.router.navigate(["/dashboards"]).then(()=>{location.reload()}):this.router.navigate(["user/account-action"]).then(()=>{location.reload()})}federalRoute(){0==this.federal_status||3==this.federal_status||4==this.federal_status?this.router.navigate(["/federal/federal"]).then(()=>{location.reload()}):this.router.navigate(["federal/federal-details"]).then(()=>{location.reload()})}static{this.\u0275fac=function(n){return new(n||e)(t.rXU(d.A),t.rXU(a.Ix))}}static{this.\u0275cmp=t.VBU({type:e,selectors:[["app-account-message"]],decls:24,vars:1,consts:[[1,"card-body"],[1,"row","mt-3","mx3"],[1,"col-sm-12"],[1,"card","px4"],[1,"account-style"],[1,"card-header",2,"padding-top","0px !important"],[1,"card-title","pb-3"],[1,"mx-style"],["aria-hidden","true",1,"fa","fa-check","text-success"],[1,"icon-style"],[1,"buttonstyle","mb-4"],[1,"btn","btn-sm","btn-primary","mx-2",3,"click"],["routerLink","/kyc/kyc-details",1,"btn","btn-sm","btn-primary","mx-2"],[1,"btn","btn-sm","btn-primary","mx-2",3,"click","disabled"]],template:function(n,o){1&n&&(t.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"div",5)(6,"div",6),t.EFF(7," Thank you! "),t.j41(8,"span",7),t.nrm(9,"i",8),t.k0s()()(),t.j41(10,"div",9)(11,"p"),t.EFF(12,"Thank you for submitting your information. Our Customer Success team will review your information within 2 business days."),t.k0s(),t.j41(13,"p"),t.EFF(14," If approved, your account status will be updated in the Signalmash customer portal."),t.k0s(),t.j41(15,"p"),t.EFF(16," In the event of any issues with your submission, our Customer Success Team will contact you via your account email address."),t.k0s()(),t.j41(17,"div",10)(18,"button",11),t.bIt("click",function(){return o.redirectPage()}),t.EFF(19,"Dashboard"),t.k0s(),t.j41(20,"button",12),t.EFF(21,"OPEN SIGNALMASH KYC FORM"),t.k0s(),t.j41(22,"button",13),t.bIt("click",function(){return o.federalRoute()}),t.EFF(23,"REMOVE FEDERAL DNC FILTERING"),t.k0s()()()()()()()),2&n&&(t.R7$(22),t.Y8G("disabled",1!==o.kyc_status))},dependencies:[a.Wk],styles:['.fa-check[_ngcontent-%COMP%]{font-size:13px}.mx-style[_ngcontent-%COMP%]{padding:0px 0rem}.icon-style[_ngcontent-%COMP%]{padding:30px}.fa-check[_ngcontent-%COMP%]:before{content:"\\f00c";border:2px solid;border-radius:50px;padding:1px}.account-heading-style[_ngcontent-%COMP%]{font-size:35px;padding:2rem 19rem;font-weight:800;letter-spacing:4px;color:#342c2c}.mx3[_ngcontent-%COMP%]{margin-left:1rem!important;margin-right:1rem!important}.buttonstyle[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center}.mx2[_ngcontent-%COMP%]{margin-left:.5rem!important;margin-right:.5rem!important}.px4[_ngcontent-%COMP%]{padding-left:1.5rem!important;padding-right:1.5rem!important}@media screen and (max-width:600px){.card-body[_ngcontent-%COMP%]{padding:0rem}.mx3[_ngcontent-%COMP%]{margin-left:0rem!important;margin-right:0rem!important}.icon-style[_ngcontent-%COMP%]{padding:0}.buttonstyle[_ngcontent-%COMP%]{display:block}.mx2[_ngcontent-%COMP%]{margin-left:0rem!important;margin-right:0rem!important;margin:2px}.px4[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}}']})}}return e})(),data:{title:"account-message",urls:[{title:"account-message"},{title:"account-message"}]}}];let m=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=t.$C({type:e})}static{this.\u0275inj=t.G2t({imports:[a.iI.forChild(u),a.iI]})}}return e})(),l=(()=>{class e{static{this.\u0275fac=function(n){return new(n||e)}}static{this.\u0275mod=t.$C({type:e})}static{this.\u0275inj=t.G2t({imports:[c.MD,m]})}}return e})()}}]);