1"use strict";(self.webpackChunkCandidate_UI=self.webpackChunkCandidate_UI||[]).push([[2064],{8148:(A,E,c)=>{c.d(E,{$:()=>h,E:()=>F});var p=c(41360);let h=(()=>{var t;class s{constructor(){this.site_key="",this.lang="fa",this.theme="light",this.invisible=!1,this.color="normal",this.api_url="https://widget.arcaptcha.ir/1/api.js",this.id="",this.widget_id=""}ngOnInit(){this.setID();var d=document.head.querySelector("#arcptcha-script");const m=d||document.createElement("script");d||(window.arcaptchaWidgetLoading=new Promise((_,j)=>{m.src=this.api_url,m.id="arcptcha-script",m.defer=!0,m.async=!0,m.onload=()=>{_(),this.initialize()}})),d&&window.arcaptchaWidgetLoading.then(()=>{this.initialize()}),d||document.head.appendChild(m)}initialize(){this.loadCaptcha(),window.addEventListener("arcaptcha-token-changed-"+this.widget_id,d=>{})}registerCallback(){this.callback&&(window["arcaptcha_callback_"+this.id]=this.callback),this.rendered_callback&&(window["arcaptcha_rendered_callback_"+this.id]=this.rendered_callback),this.error_callback&&(window["arcaptcha_error_callback_"+this.id]=this.error_callback),this.reset_callback&&(window["arcaptcha_reset_callback_"+this.id]=this.reset_callback),this.expired_callback&&(window["arcaptcha_expired_callback_"+this.id]=this.expired_callback),this.chlexpired_callback&&(window["arcaptcha_chlexpired_callback_"+this.id]=this.chlexpired_callback)}loadCaptcha(){this.registerCallback();const d=window.arcaptcha.render("#"+this.id,{"site-key":this.site_key,lang:this.lang,theme:this.theme,size:this.invisible?"invisible":"",callback:this.callback?"arcaptcha_callback_"+this.id:null,rendered_callback:this.rendered_callback?"arcaptcha_rendered_callback_"+this.id:null,error_callback:this.error_callback?"arcaptcha_error_callback_"+this.id:null,reset_callback:this.reset_callback?"arcaptcha_reset_callback_"+this.id:null,expired_callback:this.expired_callback?"arcaptcha_expired_callback_"+this.id:null,chlexpired_callback:this.chlexpired_callback?"arcaptcha_chlexpired_callback_"+this.id:null,color:this.color});this.widget_id=d}getRandomID(){return(new Date).getTime().toString(36)+Math.random().toString(36).slice(2)}setID(){this.id="arcaptcha-widget-"+this.getRandomID()}resetCaptcha(){return window.arcaptcha.reset(this.widget_id)}execute(){return window.arcaptcha.execute(this.widget_id)}}return(t=s).\u0275fac=function(d){return new(d||t)},t.\u0275cmp=p.VBU({type:t,selectors:[["lib-arcaptcha-angular"]],inputs:{callback:"callback",rendered_callback:"rendered_callback",error_callback:"error_callback",reset_callback:"reset_callback",expired_callback:"expired_callback",chlexpired_callback:"chlexpired_callback",site_key:"site_key",lang:"lang",theme:"theme",invisible:"invisible",color:"color",api_url:"api_url"},standalone:!1,decls:1,vars:1,consts:[["href","arcaptcha",3,"id"]],template:function(d,m){1&d&&p.nrm(0,"div",0),2&d&&p.FS9("id",m.id)},encapsulation:2}),s})(),F=(()=>{var t;class s{}return(t=s).\u0275fac=function(d){return new(d||t)},t.\u0275mod=p.$C({type:t}),t.\u0275inj=p.G2t({}),s})()},42064:(A,E,c)=>{c.r(E),c.d(E,{AccountSettingsComponent:()=>tt});var p=c(91875),h=c(10677),F=c(32881),t=c(41360),s=c(89417),C=c(45312),d=c(77643);let m=(()=>{var o;class i{constructor(n){this.http=n,this.baseUrl=C.c.baseApiServicePath.candidate}validatePassword(n){return this.http.post("".concat(this.baseUrl,"/v1/Candidate/ValidatePassword"),{currentPassword:n})}deleteAccount(n){return this.http.post("".concat(this.baseUrl,"/v1/Candidate/DeleteAccount"),n)}}return(o=i).\u0275fac=function(n){return new(n||o)(t.KVO(d.Qq))},o.\u0275prov=t.jDH({token:o,factory:o.\u0275fac}),i})();var _=c(5359);const j=o=>({"border-danger":o});function k(o,i){if(1&o){const e=t.RV6();t.qex(0),t.j41(1,"div",7)(2,"div",8),t.nrm(3,"img",9),t.k0s(),t.j41(4,"p",10),t.EFF(5," \u06a9\u0627\u0631\u0628\u0631 \u06af\u0631\u0627\u0645\u06cc \u0627\u06cc\u0646 \u06af\u0632\u06cc\u0646\u0647 \u0641\u0642\u0637 \u0628\u0631\u0627\u06cc \u06a9\u0633\u0627\u0646\u06cc \u0645\u0646\u0627\u0633\u0628 \u0627\u0633\u062a \u06a9\u0647 \u0646\u06cc\u0627\u0632 \u062f\u0627\u0631\u0646\u062f \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u0622\u0646\u200c\u0647\u0627 \u0628\u0647 \u0635\u0648\u0631\u062a \u06a9\u0644\u06cc \u0627\u0632 \u0633\u06cc\u0633\u062a\u0645 \u062c\u0627\u0628\u200c\u0648\u06cc\u0698\u0646 \u062d\u0630\u0641 \u0634\u0648\u062f. "),t.k0s(),t.j41(6,"p",11),t.EFF(7," \u0627\u06af\u0631 \u062a\u0645\u0627\u06cc\u0644 \u0628\u0647 \u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0627\u0631\u0633\u0627\u0644\u06cc \u0646\u062f\u0627\u0631\u06cc\u062f\u060c \u0645\u06cc\u200c\u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u0642\u0633\u0645\u062a "),t.j41(8,"span",12),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.dismiss.emit())}),t.EFF(9,"\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062f\u0633\u062a\u0631\u0633\u06cc\u200c\u0647\u0627"),t.k0s(),t.EFF(10,"\u060c \u0627\u0637\u0644\u0627\u0639\u200c\u0631\u0633\u0627\u0646\u06cc\u200c\u0647\u0627 \u0631\u0627 \u063a\u06cc\u0631 \u0641\u0639\u0627\u0644 \u06a9\u0646\u06cc\u062f. "),t.k0s(),t.j41(11,"h5",13),t.EFF(12,"\u0628\u0639\u062f \u0627\u0632 \u062d\u0630\u0641 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc:"),t.k0s(),t.j41(13,"ul",14)(14,"li",15),t.EFF(15,"\u062f\u06cc\u06af\u0631 \u0628\u0647 \u0631\u0632\u0648\u0645\u0647 \u062c\u0627\u0628 \u0648\u06cc\u0698\u0646\u06cc \u062e\u0648\u062f \u062f\u0633\u062a\u0631\u0633\u06cc \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a."),t.k0s(),t.j41(16,"li",15),t.EFF(17,"\u062f\u06cc\u06af\u0631 \u0645\u0634\u0627\u063a\u0644 \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc \u0645\u062a\u0646\u0627\u0633\u0628 \u0628\u0627 \u062a\u0648\u0627\u0646\u0627\u06cc\u06cc\u200c\u0647\u0627\u06cc\u062a\u0627\u0646 \u062f\u0631\u06cc\u0627\u0641\u062a \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f."),t.k0s(),t.j41(18,"li",15),t.EFF(19,"\u062f\u06cc\u06af\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0648 \u067e\u06cc\u0627\u0645\u06a9 \u0627\u0637\u0644\u0627\u0639\u200c\u0631\u0633\u0627\u0646\u06cc\u200c\u0647\u0627\u06cc\u06cc \u06a9\u0647 \u062a\u0646\u0638\u06cc\u0645 \u06a9\u0631\u062f\u0647\u200c\u0627\u06cc\u062f \u0631\u0627 \u062f\u0631\u06cc\u0627\u0641\u062a \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u06a9\u0631\u062f."),t.k0s(),t.j41(20,"li",15),t.EFF(21,"\u062f\u06cc\u06af\u0631 \u0627\u0645\u06a9\u0627\u0646 \u0627\u0631\u0633\u0627\u0644 \u0631\u0632\u0648\u0645\u0647 \u0628\u0631\u0627\u06cc \u0628\u06cc\u0634 \u0627\u0632 \u06f2\u06f0\u06f0\u06f0\u06f0 \u0633\u0627\u0632\u0645\u0627\u0646 \u0631\u0627 \u0646\u062e\u0648\u0627\u0647\u06cc\u062f \u062f\u0627\u0634\u062a."),t.k0s()(),t.j41(22,"div",16),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onAcceptRulesClick())}),t.j41(23,"span",17),t.nrm(24,"input",18),t.k0s(),t.j41(25,"label",19),t.EFF(26,"\u0645\u0648\u0627\u0631\u062f \u0628\u0627\u0644\u0627 \u0631\u0627 \u0645\u0637\u0627\u0644\u0639\u0647 \u06a9\u0631\u062f\u0645."),t.k0s()()(),t.j41(27,"div",20)(28,"button",21),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.dismiss.emit())}),t.EFF(29," \u0644\u063a\u0648"),t.k0s(),t.j41(30,"button",22),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onContinueClick())}),t.EFF(31," \u062a\u0627\u06cc\u06cc\u062f \u0648 \u0627\u062f\u0627\u0645\u0647"),t.k0s()(),t.bVm()}if(2&o){const e=t.XpG();t.R7$(24),t.Y8G("value",e.rulesAccepted),t.R7$(6),t.Y8G("disabled",!e.rulesAccepted)}}function S(o,i){if(1&o&&(t.j41(0,"div",36)(1,"label",37),t.EFF(2),t.k0s()()),2&o){const e=t.XpG(2);t.R7$(2),t.SpI("",(null==e.deleteReasonComment?null:e.deleteReasonComment.length)||0," / 1000")}}function x(o,i){if(1&o){const e=t.RV6();t.j41(0,"textarea",38),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG(2);return t.DH7(a.deleteReasonComment,u)||(a.deleteReasonComment=u),t.Njj(u)}),t.EFF(1,"\n "),t.k0s()}if(2&o){const e=t.XpG(2);t.R50("ngModel",e.deleteReasonComment)}}function D(o,i){if(1&o){const e=t.RV6();t.qex(0),t.j41(1,"div",23)(2,"p",10),t.EFF(3,"\u0686\u0631\u0627 \u0645\u06cc\u200c\u062e\u0648\u0627\u0647\u06cc\u062f \u062d\u0633\u0627\u0628 \u062e\u0648\u062f \u0631\u0627 \u062f\u0631 \u062c\u0627\u0628 \u0648\u06cc\u0698\u0646 \u062d\u0630\u0641 \u06a9\u0646\u06cc\u062f\u061f"),t.k0s(),t.j41(4,"div")(5,"span",17)(6,"input",24),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.deleteReason,u)||(a.deleteReason=u),t.Njj(u)}),t.k0s()(),t.j41(7,"label",25),t.EFF(8,"\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644\u200c\u0647\u0627\u06cc \u0632\u06cc\u0627\u062f \u0627\u0632 \u0633\u0645\u062a \u0633\u0627\u06cc\u062a."),t.k0s()(),t.j41(9,"div")(10,"span",17)(11,"input",26),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.deleteReason,u)||(a.deleteReason=u),t.Njj(u)}),t.k0s()(),t.j41(12,"label",27),t.EFF(13,"\u062f\u0631\u06cc\u0627\u0641\u062a \u067e\u06cc\u0627\u0645\u200c\u0647\u0627\u06cc \u0628\u06cc\u200c\u0631\u0628\u0637."),t.k0s()(),t.j41(14,"div")(15,"span",17)(16,"input",28),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.deleteReason,u)||(a.deleteReason=u),t.Njj(u)}),t.k0s()(),t.j41(17,"label",29),t.EFF(18,"\u062a\u062c\u0631\u0628\u0647 \u0628\u062f \u0648 \u0646\u0627 \u06a9\u0627\u0631\u0622\u0645\u062f \u0628\u0627 \u0645\u062d\u0635\u0648\u0644."),t.k0s()(),t.j41(19,"div")(20,"span",17)(21,"input",30),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.deleteReason,u)||(a.deleteReason=u),t.Njj(u)}),t.k0s()(),t.j41(22,"label",31),t.EFF(23," \u062f\u06cc\u06af\u0631 \u0646\u06cc\u0627\u0632\u06cc \u0628\u0647 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u0646\u062f\u0627\u0631\u0645."),t.k0s()(),t.j41(24,"div")(25,"span",17)(26,"input",32),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.deleteReason,u)||(a.deleteReason=u),t.Njj(u)}),t.k0s()(),t.j41(27,"label",33),t.EFF(28,"\u062f\u0644\u0627\u06cc\u0644 \u062f\u06cc\u06af\u0631"),t.k0s()(),t.DNE(29,S,3,1,"div",34)(30,x,2,1,"textarea",35),t.k0s(),t.j41(31,"div",20)(32,"button",21),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.dismiss.emit())}),t.EFF(33," \u0644\u063a\u0648"),t.k0s(),t.j41(34,"button",22),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onContinueClick())}),t.EFF(35," \u062a\u0627\u06cc\u06cc\u062f \u0648 \u0627\u062f\u0627\u0645\u0647"),t.k0s()(),t.bVm()}if(2&o){const e=t.XpG();t.R7$(6),t.R50("ngModel",e.deleteReason),t.R7$(5),t.R50("ngModel",e.deleteReason),t.R7$(5),t.R50("ngModel",e.deleteReason),t.R7$(5),t.R50("ngModel",e.deleteReason),t.R7$(5),t.R50("ngModel",e.deleteReason),t.R7$(3),t.Y8G("ngIf",5==e.deleteReason),t.R7$(),t.Y8G("ngIf",5==e.deleteReason),t.R7$(4),t.Y8G("disabled",0==e.deleteReason||5==e.deleteReason&&!e.deleteReasonComment)}}function P(o,i){1&o&&(t.j41(0,"div",51),t.nrm(1,"img",52),t.k0s())}function R(o,i){1&o&&t.nrm(0,"img",53)}function B(o,i){1&o&&t.nrm(0,"img",54)}function I(o,i){1&o&&(t.j41(0,"label",55),t.EFF(1,"\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0627\u0634\u062a\u0628\u0627\u0647 \u0627\u0633\u062a."),t.k0s())}function y(o,i){if(1&o){const e=t.RV6();t.qex(0),t.j41(1,"div",23)(2,"label",39),t.EFF(3,"\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u06a9\u0646\u06cc\u062f."),t.k0s(),t.j41(4,"div",40)(5,"input",41),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG();return t.DH7(a.password,u)||(a.password=u),t.Njj(u)}),t.k0s(),t.j41(6,"div",42),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onEyeClick())}),t.DNE(7,P,2,0,"div",43),t.j41(8,"div",44),t.DNE(9,R,1,0,"img",45)(10,B,1,0,"img",46),t.k0s()()(),t.DNE(11,I,2,0,"label",47),t.k0s(),t.j41(12,"div",48)(13,"button",49),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.dismiss.emit())}),t.EFF(14," \u0644\u063a\u0648"),t.k0s(),t.j41(15,"button",50),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onPasswordCheckClick())}),t.EFF(16," \u062d\u0630\u0641 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc"),t.k0s()(),t.bVm()}if(2&o){const e=t.XpG();t.R7$(4),t.HbH(t.eq3(9,j,e.passwordInvalid)),t.R7$(),t.Y8G("type",e.checkPasswordInputType),t.R50("ngModel",e.password),t.R7$(2),t.Y8G("ngIf",0==e.passwordInvalid),t.R7$(2),t.Y8G("ngIf","password"==e.checkPasswordInputType),t.R7$(),t.Y8G("ngIf","text"==e.checkPasswordInputType),t.R7$(),t.Y8G("ngIf",0==e.passwordInvalid),t.R7$(4),t.Y8G("disabled",e.passwordInvalid||!e.password)}}function M(o,i){if(1&o){const e=t.RV6();t.qex(0),t.j41(1,"div",56)(2,"p",57),t.EFF(3,"\u0627\u0632 \u062d\u0630\u0641 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc \u062e\u0648\u062f \u0645\u0637\u0645\u0626\u0646\u06cc\u062f\u061f"),t.k0s()(),t.j41(4,"div",58)(5,"button",59),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onConfirmClick())}),t.EFF(6," \u062a\u0627\u06cc\u06cc\u062f \u0648 \u062d\u0630\u0641 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc"),t.k0s(),t.j41(7,"a",60),t.EFF(8," \u
10628\u0627\u0632\u06af\u0634\u062a \u0628\u0647 \u062c\u0627\u0628 \u0648\u06cc\u0698\u0646 "),t.k0s()(),t.bVm()}}let G=(()=>{var o;class i{constructor(n,u){this.deleteAccountService=n,this.authService=u,this.dismiss=new t.bkB,this.cancel=new t.bkB,this.rulesAccepted=!1,this.currentStep=1,this.otherReasonStatus=!1,this.checkPasswordInputType="password",this.passwordInvalid=null,this.deleteReason=0}onAcceptRulesClick(){this.rulesAccepted=!this.rulesAccepted}onContinueClick(){this.currentStep+=1}onEyeClick(){this.checkPasswordInputType="text"==this.checkPasswordInputType?"password":"text"}onConfirmClick(){this.deleteAccountService.deleteAccount({reasonId:+this.deleteReason,reasonDescription:this.deleteReasonComment,currentPassword:this.password}).subscribe(()=>{this.authService.signout()})}onPasswordCheckClick(){this.deleteAccountService.validatePassword(this.password).subscribe({next:n=>{n?this.onContinueClick():(this.passwordInvalid=!1,this.password="")},error:()=>{this.passwordInvalid=!1,this.password=""}})}}return(o=i).\u0275fac=function(n){return new(n||o)(t.rXU(m),t.rXU(_.u))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-delete-account"]],features:[t.Jv_([m])],decls:11,vars:5,consts:[[1,"modal-header","row","border-bottom-0","pt-4","pb-0"],[1,"col-12","row","justify-content-between","px-0"],[1,"col","font-size-3","font-weight-bold","text-black"],[1,"col-auto","cursor-pointer",3,"click"],["width","25","src","/assets/images/close-gray.svg","alt","\u0628\u0633\u062a\u0646"],[1,"py-3","px-4",3,"ngSwitch"],[4,"ngSwitchCase"],[1,"modal-body","px-0"],[1,"mb-4"],["src","/assets/images/account-settings/danger.svg","width","38","height","32","alt","danger"],[1,"text-black","font-weight-bold"],[1,"text-black"],[1,"text-primary","cursor-pointer",3,"click"],[1,"text-secondary","font-weight-bold","mt-4"],[1,"pr-3"],[1,"pb-2"],[1,"cursor-pointer",3,"click"],[1,"position-relative","pl-4"],["type","checkbox","id","chk_rulesAccepted",1,"position-absolute","top-15",3,"value"],["for","chk_rulesAccepted",1,"text-right","text-black"],[1,"modal-footer","col-12","justify-content-between"],[1,"btn","btn-gray","col","font-weight-bold",3,"click"],[1,"btn","btn-primary","col","font-weight-bold",3,"click","disabled"],[1,"modal-body"],["type","radio","name","cause","id","rd_re
1cievedEmail","value","1",1,"position-absolute","top-15",3,"ngModelChange","ngModel"],["for","rd_recievedEmail"],["type","radio","name","cause","id","rd_irrelevantMessage","value","2",1,"position-absolute","top-15",3,"ngModelChange","ngModel"],["for","rd_irrelevantMessage"],["type","radio","id","rd_unsufullProduct","name","cause","value","3",1,"position-absolute","top-15",3,"ngModelChange","ngModel"],["for","rd_unsufullProduct"],["type","radio","id","rd_noNeedAnyMore","name","cause","value","4",1,"position-absolute","top-15",3,"ngModelChange","ngModel"],["for","rd_noNeedAnyMore"],["type","radio","id","rd_otherReason","name","cause","value","5",1,"position-absolute","top-15",3,"ngModelChange","ngModel"],["for","rd_otherReason"],["class","row justify-content-end",4,"ngIf"],["rows","5","maxlength","1000","placeholder","\u062f\u0644\u06cc\u0644 \u062e\u0648\u062f \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f","class","border-0 p-2 d-block w-100 rounded bg-light",3,"ngModel","ngModelChange",4,"ngIf"],[1,"row","justify-content-end"],["dir","ltr",1,"mb-0"],["rows","5","maxlength","1000","placeholder","\u062f\u0644\u06cc\u0644 \u062e\u0648\u062f \u0631\u0627 \u0628\u0646\u0648\u06cc\u0633\u06cc\u062f",1,"border-0","p-2","d-block","w-100","rounded","bg-light",3,"ngModelChange","ngModel"],[1,"d-block","font-weight-bold","text-black"],[1,"input-group","form-control","col-12","my-1","p-0","rounded","overflow-hidden"],["required","",1,"form-control","rounded-0","border-0",3,"ngModelChange","type","ngModel"],[1,"input-group-prepend","cursor-pointer",3,"click"],["class","input-group-text m-1 border-0 d-flex align-items-center justify-content-center",4,"ngIf"],[1,"input-group-text","p-1","d-flex","align-items-center","border-0","justify-content-center"],["width","16","height","16","src","/assets/images/account-settings/visible.svg","alt","show password",4,"ngIf"],["width","16","height","16","src","/assets/images/account-settings/invisible.svg","alt","hide password",4,"ngIf"],["class","d-block text-danger font-size-6",4,"ngIf"],[1,"modal-footer","px-0"],[1,"col","btn","px-0","btn-gray","font-weight-bold",3,"click"],[1,"col","btn","btn-danger","px-0","font-weight-bold",3,"click","disabled"],[1,"input-group-text","m-1","border-0","d-flex","align-items-center","justify-content-center"],["width","16","height","16","src","/assets/images/account-settings/caution.svg","alt","wrong password"],["width","16","height","16","src","/assets/images/account-settings/visible.svg","alt","show password"],["width","16","height","16","src","/assets/images/account-settings/invisible.svg","alt","hide password"],[1,"d-block","text-danger","font-size-6"],[1,"modal-body","vh-12"],[1,"text-black","pr-md-4","font-weight-bold"],[1,"modal-footer","confirm-footer","px-md-0","col-12","pb-0","justify-content-md-end"],[1,"col-12","col-md-auto","font-weight-bold","btn","border","border-danger","text-danger",3,"click"],["href","/",1,"col-12","col-md-auto","btn","btn-primary","font-weight-bold"]],template:function(n,u){1&n&&(t.j41(0,"div",0)(1,"div",1)(2,"label",2),t.EFF(3,"\u062d\u0630\u0641 \u06a9\u0627\u0645\u0644 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc"),t.k0s(),t.j41(4,"a",3),t.bIt("click",function(){return u.dismiss.emit()}),t.nrm(5,"img",4),t.k0s()()(),t.j41(6,"section",5),t.DNE(7,k,32,2,"ng-container",6)(8,D,36,8,"ng-container",6)(9,y,17,11,"ng-container",6)(10,M,9,0,"ng-container",6),t.k0s()),2&n&&(t.R7$(6),t.Y8G("ngSwitch",u.currentStep),t.R7$(),t.Y8G("ngSwitchCase",1),t.R7$(),t.Y8G("ngSwitchCase",2),t.R7$(),t.Y8G("ngSwitchCase",3),t.R7$(),t.Y8G("ngSwitchCase",4))},dependencies:[F.MD,F.bT,F.ux,F.e1,s.YN,s.me,s.Fm,s.BC,s.YS,s.tU,s.vS],styles:["@media screen and (max-width: 992px){.modal-body[_ngcontent-%COMP%]{height:calc(100vh - 11rem)}.vh-12[_ngcontent-%COMP%]{height:calc(100vh - 12rem)}.vh-6[_ngcontent-%COMP%]{height:calc(100vh - 6rem)}.msg-account_deleted[_ngcontent-%COMP%]{position:absolute;top:35%}.confirm-footer[_ngcontent-%COMP%]{border-top:none}}#chk_rulesAccepted[_ngcontent-%COMP%], input[name=cause][_ngcontent-%COMP%]{accent-color:black}.top-15[_ngcontent-%COMP%]{top:15%}.btn-gray[_ngcontent-%COMP%]{background:#dde1e6;color:#000}.input-group-text[_ngcontent-%COMP%]{background:none}"]}),i})();var N=c(60539),T=c(1333),v=c(8148),V=c(74086),f=c(47767),U=c(32312),X=c(50779);const b=o=>({"border-danger":o}),g=o=>({"jvt-border-danger":o}),w=o=>({"jvt-btn-primary":o});function Y(o,i){if(1&o&&(t.j41(0,"div",49),t.nrm(1,"input",50),t.k0s()),2&o){const e=t.XpG();t.R7$(),t.Y8G("value",e.currentEmail)("disabled",!e.activeUpdateEmailForm)}}function $(o,i){if(1&o){const e=t.RV6();t.j41(0,"app-email-suggestion",51),t.bIt("selectedEmailSuggestion",function(u){t.eBV(e);const a=t.XpG();return t.Njj(a.onSelectedNewEmailSuggestion(u))}),t.k0s()}if(2&o){const e=t.XpG();t.Y8G("inputValue",e.updateEmailData.newEmail)}}function H(o,i){if(1&o){const e=t.RV6();t.j41(0,"app-email-suggestion",51),t.bIt("selectedEmailSuggestion",function(u){t.eBV(e);const a=t.XpG();return t.Njj(a.onSelectedConfirmEmailSuggestion(u))}),t.k0s()}if(2&o){const e=t.XpG();t.Y8G("inputValue",e.updateEmailData.confirmNewEmail)}}function O(o,i){1&o&&(t.j41(0,"small",52),t.EFF(1,"\u062a\u06a9\u0631\u0627\u0631 \u0627\u06cc\u0645\u06cc\u0644 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u062f. "),t.k0s())}function J(o,i){if(1&o){const e=t.RV6();t.j41(0,"div",45)(1,"div",53)(2,"button",54),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.activeUpdateEmailForm=!u.activeUpdateEmailForm)}),t.EFF(3," \u0627\u0646\u0635\u0631\u0627\u0641 "),t.k0s(),t.j41(4,"button",55),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.changeEmail())}),t.EFF(5," \u0630\u062e\u06cc\u0631\u0647 "),t.k0s()()()}if(2&o){const e=t.XpG(),n=t.sdS(8);t.R7$(4),t.Y8G("disabled",n.invalid||e.updateEmailData.newEmail!==e.updateEmailData.confirmNewEmail)}}function z(o,i){if(1&o&&(t.j41(0,"div",58),t.nrm(1,"input",65),t.k0s()),2&o){const e=t.XpG(3);t.R7$(),t.Y8G("disabled",!e.activeUpdatePasswordForm)}}function q(o,i){1&o&&(t.j41(0,"small",66),t.EFF(1,"\u062a\u06a9\u0631\u0627\u0631 \u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0645\u0637\u0627\u0628\u0642\u062a \u0646\u062f\u0627\u0631\u062f."),t.k0s())}function K(o,i){if(1&o){const e=t.RV6();t.j41(0,"div",45)(1,"div",67)(2,"button",54),t.bIt("click",function(){t.eBV(e);const u=t.XpG(3);return t.Njj(u.activeUpdatePasswordForm=!u.activeUpdatePasswordForm)}),t.EFF(3," \u0627\u0646\u0635\u0631\u0627\u0641 "),t.k0s(),t.j41(4,"button",55),t.bIt("click",function(){t.eBV(e);const u=t.XpG(3);return t.Njj(u.changePassword())}),t.EFF(5," \u0630\u062e\u06cc\u0631\u0647 "),t.k0s()()()}if(2&o){t.XpG();const e=t.sdS(1),n=t.XpG(2);
1t.R7$(4),t.Y8G("disabled",e.invalid||n.updatePasswordData.newPassword!==n.updatePasswordData.confirmNewPassword)}}function L(o,i){if(1&o){const e=t.RV6();t.j41(0,"form",null,6),t.DNE(2,z,2,1,"div",57),t.j41(3,"div",58)(4,"div",59)(5,"input",60,7),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG(2);return t.DH7(a.updatePasswordData.currentPassword,u)||(a.updatePasswordData.currentPassword=u),t.Njj(u)}),t.k0s(),t.j41(7,"div",27),t.bIt("click",function(){t.eBV(e);const u=t.sdS(6),a=t.XpG(2);return t.Njj(a.showPasswordStates[u.name]="text"==a.showPasswordStates[u.name]?"password":"text")}),t.j41(8,"div",28),t.nrm(9,"img",29),t.k0s()()(),t.nrm(10,"div",21),t.j41(11,"div",59)(12,"input",61,8),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG(2);return t.DH7(a.updatePasswordData.newPassword,u)||(a.updatePasswordData.newPassword=u),t.Njj(u)}),t.k0s(),t.j41(14,"div",27),t.bIt("click",function(){t.eBV(e);const u=t.sdS(13),a=t.XpG(2);return t.Njj(a.showPasswordStates[u.name]="text"==a.showPasswordStates[u.name]?"password":"text")}),t.j41(15,"div",28),t.nrm(16,"img",29),t.k0s()()(),t.nrm(17,"div",23),t.j41(18,"div",59)(19,"input",62,9),t.mxI("ngModelChange",function(u){t.eBV(e);const a=t.XpG(2);return t.DH7(a.updatePasswordData.confirmNewPassword,u)||(a.updatePasswordData.confirmNewPassword=u),t.Njj(u)}),t.k0s(),t.j41(21,"div",27),t.bIt("click",function(){t.eBV(e);const u=t.sdS(20),a=t.XpG(2);return t.Njj(a.showPasswordStates[u.name]="text"==a.showPasswordStates[u.name]?"password":"text")}),t.j41(22,"div",63),t.nrm(23,"img",29),t.k0s()()(),t.nrm(24,"div",21),t.DNE(25,q,2,0,"small",64),t.j41(26,"div",30)(27,"div",31)(28,"div",32),t.nrm(29,"lib-arcaptcha-angular",33,4),t.k0s()()()(),t.DNE(31,K,6,1,"div",34),t.k0s()}if(2&o){const e=t.sdS(6),n=t.sdS(13),u=t.sdS(20),a=t.XpG(2);t.R7$(2),t.Y8G("ngIf",!a.activeUpdatePasswordForm),t.R7$(),t.Y8G("@openCloseAnimation",a.activeUpdatePasswordForm),t.R7$(),t.HbH(t.eq3(20,g,e.dirty&&e.invalid)),t.R7$(),t.Y8G("type",a.showPasswordStates[e.name]||"password"),t.R50("ngModel",a.updatePasswordData.currentPassword),t.R7$(6),t.HbH(t.eq3(22,b,n.dirty&&n.invalid)),t.R7$(),t.Y8G("type",a.showPasswordStates[n.name]||"password"),t.R50("ngModel",a.updatePasswordData.newPassword),t.R7$(6),t.HbH(t.eq3(24,g,u.dirty&&u.invalid)),t.R7$(),t.Y8G("type",a.showPasswordStates[u.name]||"password"),t.R50("ngModel",a.updatePasswordData.confirmNewPassword),t.R7$(6),t.Y8G("ngIf",u.dirty&&a.updatePasswordData.newPassword!==a.updatePasswordData.confirmNewPassword),t.R7$(4),t.Y8G("site_key",a.arcaptchaSiteKey)("invisible",!0)("lang","fa")("color","pink"),t.R7$(2),t.Y8G("ngIf",a.activeUpdatePasswordForm)}}function W(o,i){if(1&o){const e=t.RV6();t.j41(0,"div",10)(1,"div",11)(2,"p",12),t.EFF(3,"\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0634\u0645\u0627"),t.k0s(),t.j41(4,"p",13),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.activeUpdatePasswordForm=!u.activeUpdatePasswordForm)}),t.nrm(5,"img",14),t.EFF(6," \u0648\u06cc\u0631\u0627\u06cc\u0634 "),t.k0s()(),t.DNE(7,L,32,26,"form",56),t.k0s()}if(2&o){const e=t.XpG();t.R7$(7),t.Y8G("ngIf",e.isPasswordEditable)}}function Q(o,i){if(1&o){const e=t.RV6();t.j41(0,"p",68),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.activeDeactivateAccountForm=!u.activeDeactivateAccountForm)}),t.EFF(1," \u0627\u062f\u0627\u0645\u0647 "),t.k0s()}}function Z(o,i){if(1&o){const e=t.RV6();t.j41(0,"div",69),t.bIt("click",function(){t.eBV(e);const u=t.XpG();return t.Njj(u.onDeleteAccountClick())}),t.j41(1,"label",70),t.EFF(2," \u062d\u0630\u0641 \u06a9\u0627\u0645\u0644 \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc"),t.k0s(),t.nrm(3,"img",71),t.k0s()}}let tt=(()=>{var o;class i{constructor(n,u,a,l,r,ut){this.accountSettingsService=n,this.swalService=u,this.authService=a,this.seoService=l,this.eventManagerService=r,this.bsModalService=ut,this.showPasswordStates={},this.isPasswordEditable=!1,this.activeUpdateEmailForm=!1,this.activeUpdatePasswordForm=!1,this.activeDeactivateAccountForm=!1,this.activeDeleteAccountForm=!1,this.updatePasswordData={},this.updateEmailData={},this.currentEmail="",this.sendFollowedCompaniesJobPostsEmail=!1,this.arcaptchaSiteKey=C.c.captcha.arcaptcha.sitekey}
1seoConfig(){this.seoService.setTitle("\u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u06a9\u0627\u0631\u062c\u0648")}onPaste(){return!1}getCurrentUserEmail(){this.accountSettingsService.getCurrentUserEmail().subscribe(n=>this.currentEmail=n)}changeEmail(){this.widget.execute().then(n=>{this.updateEmailData.captchaToken=null==n?void 0:n.arcaptcha_token,this.accountSettingsService.changeEmail(this.updateEmailData).subscribe({next:u=>{this.activeUpdateEmailForm=!this.activeUpdateEmailForm,this.currentEmail=this.updateEmailData.newEmail,this.eventManagerService.changeEmail(this.updateEmailData.newEmail),this.swalService.notify("","\u0622\u062f\u0631\u0633 \u0627\u06cc\u0645\u06cc\u0644 \u0634\u0645\u0627 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0631\u062f.","success",{text:"\u0645\u062a\u0648\u062c\u0647 \u0634\u062f\u0645",class:"btn btn-primary"},void 0,!1).subscribe(a=>this.authService.forceRefreshSession().subscribe()),this.widget.resetCaptcha()},error:u=>this.widget.resetCaptcha()})})}changePassword(){this.widget.execute().then(n=>{this.updatePasswordData.captchaToken=n.arcaptcha_token,this.accountSettingsService.changePassword(this.updatePasswordData).subscribe({next:u=>{this.activeUpdatePasswordForm=!this.activeUpdatePasswordForm,this.swalService.successToast("","\u067e\u0633\u0648\u0631\u062f \u0634\u0645\u0627 \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u062a\u063a\u06cc\u06cc\u0631 \u06a9\u0631\u062f."),this.widget.resetCaptcha()},error:u=>this.widget.resetCaptcha()})})}deleteAccount(){this.swalService.notify("","\u0622\u06cc\u0627 \u0645\u0637\u0645\u0626\u0646 \u0647\u0633\u062a\u06cc\u062f\u061f","warning",{text:"\u062d\u0630\u0641",class:"btn btn-danger"},{text:"\u0627\u0646\u0635\u0631\u0627\u0641",class:"btn"}).subscribe(n=>n.isConfirmed&&this.swalService.notify("","\u0639\u0645\u0644\u06cc\u0627\u062a \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u062f","success"))}getCandidatePermissions(){this.accountSettingsService.getCandidatePermissions().subscribe(n=>{this.jobPostRecommendationEmail=n.jobPostRecommendationStatus,this.userContactInformationSharedStatus=n.contactShareAllowance,this.courseRecommendationEmail=n.courseRecommendationStatus,this.eventManagerService.cvBankPermissionUpdated(this.userContactInformationSharedStatus),this.eventManagerService.recommendedCourseSentPermissionUpdated(this.courseRecommendationEmail),this.eventManagerService.recommendedJobPostSentPermissionUpdated(this.jobPostRecommendationEmail),this.loadAccountActivationStatus()})}changeJobPostRecommendationEmail(){this.accountSettingsService.changeJobPostRecommendationEmail(!this.jobPostRecommendationEmail).subscribe(()=>{this.jobPostRecommendationEmail=!this.jobPostRecommendationEmail,this.eventManagerService.recommendedJobPostSentPermissionUpdated(this.jobPostRecommendationEmail),this.loadAccountActivationStatus()})}changeCourseRecommendationEmail(){this.accountSettingsService.changeCourseRecommendationEmail(!this.courseRecommendationEmail).subscribe(n=>{this.courseRecommendationEmail=!this.courseRecommendationEmail,this.eventManagerService.recommendedCourseSentPermissionUpdated(this.courseRecommendationEmail),this.loadAccountActivationStatus()})}changeUserContactInformationSharedStatus(){this.accountSettingsService.changeUserContactInformationSharedStatus(!this.userContactInformationSharedStatus).subscribe(()=>{this.userContactInformationSharedStatus=!this.userContactInformationSharedStatus,this.eventManagerService.cvBankPermissionUpdated(this.userContactInformationSharedStatus),this.loadAccountActivationStatus()})}loadAccountActivationStatus(){this.accountDeactivated=!this.jobPostRecommendationEmail&&!this.courseRecommendationEmail&&!this.userContactInformationSharedStatus}ChangeAccountActivationStatus(n){this.accountSettingsService.changeAccountActivationStatus(!n).subscribe(u=>{this.accountDeactivated=n,this.jobPostRecommendationEmail=!n,this.courseRecommendationEmail=!n,this.userContactInformationSharedStatus=!n,this.eventManagerService.cvBankPermissionUpdated(this.userContactInformationSharedStatus),this.eventManagerService.recommendedCourseSentPermissionUpdated(this.courseRecommendationEmail),this.eventManagerService.recommendedJobPostSentPermissionUpdated(this.jobPostRecommendationEmail),this.swalService.n
1otify("","\u0639\u0645\u0644\u06cc\u0627\u062a \u0628\u0627 \u0645\u0648\u0641\u0642\u06cc\u062a \u0627\u0646\u062c\u0627\u0645 \u0634\u062f.","success")})}onSelectedNewEmailSuggestion(n){this.updateEmailData.newEmail=n}onSelectedConfirmEmailSuggestion(n){this.updateEmailData.confirmNewEmail=n}openChangeEmail(){this.isPasswordEditable?this.activeUpdateEmailForm=!this.activeUpdateEmailForm:this.bsModalService.show(h.SetPasswordComponent,{class:"modal-md"}).content.passwordChanged.subscribe(()=>this.isPasswordEditable=!0)}ngOnInit(){this.getFollowedCompaniesJobPostsRecommendationEmailStatus(),this.getCurrentUserEmail(),this.getCandidatePermissions(),this.seoConfig(),this.accountSettingsService.isPasswordEditable().subscribe(n=>this.isPasswordEditable=n)}getFollowedCompaniesJobPostsRecommendationEmailStatus(){this.accountSettingsService.getFollowedCompaniesJobPostsRecommendationEmailStatus().subscribe(n=>{this.sendFollowedCompaniesJobPostsEmail=n})}changeFollowedCompaniesJobPostsSetting(){this.accountSettingsService.changeFollowedCompaniesJobPostsRecommendationEmailStatus(!this.sendFollowedCompaniesJobPostsEmail).subscribe(n=>{this.sendFollowedCompaniesJobPostsEmail=!this.sendFollowedCompaniesJobPostsEmail})}onDeleteAccountClick(){this.bsModalRef=this.bsModalService.show(G,{ignoreBackdropClick:!0,class:"modal-md"}),this.bsModalRef.content.cancel.subscribe(()=>this.bsModalRef.hide()),this.bsModalRef.content.dismiss.subscribe(()=>this.bsModalRef.hide())}}return(o=i).\u0275fac=function(n){return new(n||o)(t.rXU(V.Y),t.rXU(f.Xx),t.rXU(_.u),t.rXU(f.B2),t.rXU(U.J),t.rXU(X.I8))},o.\u0275cmp=t.VBU({type:o,selectors:[["app-account-settings"]],viewQuery:function(n,u){if(1&n&&t.GBs(v.$,5),2&n){let a;t.mGM(a=t.lsd())&&(u.widget=a.first)}},decls:86,vars:46,consts:[["updateEmailForm","ngForm"],["updateEmailForm_newEmailInput","ngModel"],["updateEmailForm_confirmNewEmailInput","ngModel"],["updateEmailForm_passwordInput","ngModel"],["widget",""],["updateAccessSettingsForm","ngForm"],["updatePasswordForm","ngForm"],["updatePasswordForm_currentPasswordInput","ngModel"],["updatePasswordForm_newPasswordInput","ngModel"],["updatePasswordForm_confirmNewPasswordInput","ngModel"],[1,"container","jvt-bg-white","jvt-shadow","jvt-rounded-lg","jvt-my-12","jvt-p-6"],[1,"jvt-flex","jvt-justify-between","jvt-items-center"],[1,"heading-compact-02","jvt-text-black","jvt-mb-0"],[1,"jvt-mb-0","jvt-cursor-pointer",3,"click"],["src","assets/images/account-settings/edit.svg","alt","Edit"],["autocomplete","off"],["class","jvt-flex jvt-flex-wrap mt-2",4,"ngIf"],[1,"jvt-flex","jvt-flex-wrap","jvt-mt-2","jvt-relative"],[1,"jvt-w-full"],["type","email","placeholder","\u0627\u06cc\u0645\u06cc\u0644 \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updateEmailForm_newEmailInput","autocomplete","new-password","required","",1,"jvt-form-control","jvt-w-full","lg:jvt-w-4/12","jvt-my-1","jvt-px-4",3,"ngModelChange","ngModel"],["class","jvt-block jvt-w-full lg:jvt-w-4/12",3,"inputValue","selectedEmailSuggestion",4,"ngIf"],[1,"col-12"],["type","email","placeholder","\u0627\u06cc\u0645\u06cc\u0644 \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updateEmailForm_confirmNewEmailInput","autocomplete","new-password","required","",1,"jvt-form-control","jvt-px-4","jvt-w-full","lg:jvt-w-4/12","jvt-my-1",3,"paste","ngModelChange","ngModel"],[1,"jvt-w-full","jvt-px-4"],["class","text-danger",4,"ngIf"],[1,"input-group","jvt-form-control","jvt-w-full","lg:jvt-w-4/12","jvt-my-1","jvt-rounded","jvt-overflow-hidden"],["placeholder","\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updateEmailForm_passwordInput","required","",1,"jvt-form-control","jvt-border-none",3,"ngModelChange","type","ngModel"],[1,"jvt-flex","jvt-cursor-pointer",3,"click"],[1,"jvt-border-r","jvt-rounded-l","jvt-bg-gray-300","jvt-p-1","jvt-flex","jvt-items-center","jvt-justify-center"],["src","assets/images/account-settings/eye.svg","alt","show password",1,"jvt-w-3/4"],[1,"jvt-w-full","jvt-px-4","jvt-self-start"],[1,"jvt-flex","jvt-flex-wrap","jvt-h-full"],[1,"jvt-w-full","jvt-p-1"],[3,"site_key","invisible","lang","color"],["class","jvt-flex jvt-flex-wrap jvt-flex-row-reverse",4,"ngIf"],["class","container jvt-bg-white jvt-shadow jvt-rounded-lg jvt-my-12 jvt-p-6",4,"ngIf"],["id","notification-settings",1,"container","jvt-bg-white","jvt-sh
1adow","jvt-rounded-lg","jvt-my-12","jvt-p-6"],[1,"jvt-mt-6"],[1,"jvt-flex","jvt-items-start"],["DisableButtonInAjax","",1,"hidden-btn","jvt-flex",3,"click"],[1,"fake-checkbox"],[1,"jvt-text-right"],[1,"jvt-flex","jvt-justify-between","jvt-items-center","jvt-mb-6"],["class","jvt-mb-0 jvt-cursor-pointer jvt-text-primary",3,"click",4,"ngIf"],[1,"jvt-text-fa-justify"],[1,"jvt-flex","jvt-flex-wrap","jvt-flex-row-reverse"],[1,"switch-faq-target","jvt-w-full","lg:jvt-w-3/12","mt-3","lg:jvt-mt-0","jvt-flex","jvt-justify-between","jvt-items-center","bg-primary-light","jvt-p-1","jvt-rounded-full","jvt-cursor-pointer"],[1,"jvt-py-2","jvt-rounded-full","jvt-w-1/2","jvt-text-center","jvt-m-1","jvt-btn",3,"click"],["class","jvt-cursor-pointer jvt-flex jvt-flex-wrap jvt-gap-1 lg:jvt-justify-start jvt-justify-between jvt-border-t jvt-mt-12 jvt-pt-6 jvt-text-primary",3,"click",4,"ngIf"],[1,"jvt-flex","jvt-flex-wrap","mt-2"],["type","email","autocomplete","new-password",1,"jvt-form-control","jvt-w-full","lg:jvt-w-4/12","jvt-px-4",3,"value","disabled"],[1,"jvt-block","jvt-w-full","lg:jvt-w-4/12",3,"selectedEmailSuggestion","inputValue"],[1,"text-danger"],[1,"jvt-w-full","jvt-px-4","jvt-text-left","lg:jvt-w-1/2"],[1,"jvt-btn-light","jvt-w-1/4","jvt-m-2",3,"click"],[1,"jvt-btn-primary","jvt-w-1/4","jvt-m-2",3,"click","disabled"],[4,"ngIf"],["class","jvt-flex jvt-flex-wrap jvt-mt-2",4,"ngIf"],[1,"jvt-flex","jvt-flex-wrap","jvt-mt-2"],[1,"input-group","jvt-form-control","jvt-w-full","lg:jvt-w-4/12","jvt-my-1","jvt-overflow-hidden"],["placeholder","\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u0641\u0639\u0644\u06cc \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updatePasswordForm_currentPasswordInput","required","",1,"jvt-form-control","jvt-rounded-none","jvt-border-none",3,"ngModelChange","type","ngModel"],["placeholder","\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0631\u0627 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updatePasswordForm_newPasswordInput","required","",1,"jvt-form-control","jvt-rounded-none","jvt-border-none",3,"ngModelChange","type","ngModel"],["placeholder","\u0631\u0645\u0632 \u0639\u0628\u0648\u0631 \u062c\u062f\u06cc\u062f \u062e\u0648\u062f \u0631\u0627 \u062f\u0648\u0628\u0627\u0631\u0647 \u0648\u0627\u0631\u062f \u0646\u0645\u0627\u06cc\u06cc\u062f.","name","updatePasswordForm_confirmNewPasswordInput","required","",1,"jvt-form-control","jvt-rounded-none","jvt-border-none",3,"ngModelChange","type","ngModel"],[1,"jvt-border-r","jvt-rounded-l","jvt-bg-gray-300","p-1","jvt-flex","jvt-items-center","jvt-justify-center"],["class","jvt-text-danger",4,"ngIf"],["value","******",1,"jvt-form-control","jvt-w-full","jvt-px-4","lg:jvt-w-4/12",3,"disabled"],[1,"jvt-text-danger"],[1,"jvt-text-left","jvt-px-4","jvt-w-8/12","lg:jvt-w-6/12"],[1,"jvt-mb-0","jvt-cursor-pointer","jvt-text-primary",3,"click"],[1,"jvt-cursor-pointer","jvt-flex","jvt-flex-wrap","jvt-gap-1","lg:jvt-justify-start","jvt-justify-between","jvt-border-t","jvt-mt-12","jvt-pt-6","jvt-text-primary",3,"click"],[1,"jvt-flex-1","jvt-cursor-pointer"],["src","/assets/images/home-page/left-arrow-primary.svg","width","18","height","18","alt","indicator",1,"jvt-flex-none","lg:jvt-self-center","lg:jvt-mb-1"]],template:function(n,u){if(1&n){const a=t.RV6();t.j41(0,"div",10)(1,"div",11)(2,"p",12),t.EFF(3,"\u0627\u06cc\u0645\u06cc\u0644 \u0634\u0645\u0627"),t.k0s(),t.j41(4,"p",13),t.bIt("click",function(){return t.eBV(a),t.Njj(u.openChangeEmail())}),t.nrm(5,"img",14),t.EFF(6," \u0648\u06cc\u0631\u0627\u06cc\u0634 "),t.k0s()(),t.j41(7,"form",15,0),t.DNE(9,Y,2,2,"div",16),t.j41(10,"div",17)(11,"div",18)(12,"input",19,1),t.mxI("ngModelChange",function(r){return t.eBV(a),t.DH7(u.updateEmailData.newEmail,r)||(u.updateEmailData.newEmail
1=r),t.Njj(r)}),t.k0s(),t.DNE(14,$,1,1,"app-email-suggestion",20),t.nrm(15,"div",21),t.k0s(),t.j41(16,"div",18)(17,"input",22,2),t.bIt("paste",function(){return t.eBV(a),t.Njj(u.onPaste())}),t.mxI("ngModelChange",function(r){return t.eBV(a),t.DH7(u.updateEmailData.confirmNewEmail,r)||(u.updateEmailData.confirmNewEmail=r),t.Njj(r)}),t.k0s(),t.DNE(19,H,1,1,"app-email-suggestion",20),t.nrm(20,"div",23),t.DNE(21,O,2,0,"small",24),t.k0s(),t.nrm(22,"div",23),t.j41(23,"div",25)(24,"input",26,3),t.mxI("ngModelChange",function(r){return t.eBV(a),t.DH7(u.updateEmailData.password,r)||(u.updateEmailData.password=r),t.Njj(r)}),t.k0s(),t.j41(26,"div",27),t.bIt("click",function(){t.eBV(a);const r=t.sdS(25);return t.Njj(u.showPasswordStates[r.name]="text"==u.showPasswordStates[r.name]?"password":"text")}),t.j41(27,"div",28),t.nrm(28,"img",29),t.k0s()()(),t.j41(29,"div",30)(30,"div",31)(31,"div",32),t.nrm(32,"lib-arcaptcha-angular",33,4),t.k0s()()()(),t.DNE(34,J,6,1,"div",34),t.k0s()(),t.DNE(35,W,8,1,"div",35),t.j41(36,"div",36)(37,"p",12),t.EFF(38," \u062a\u0646\u0638\u06cc\u0645\u0627\u062a \u062f\u0633\u062a\u0631\u0633\u06cc \u062c\u0627\u0628 \u0648\u06cc\u0698\u0646 "),t.k0s(),t.j41(39,"small"),t.EFF(40,"\u0628\u0627 \u0627\u0646\u062a\u062e\u0627\u0628 \u0647\u0631 \u06cc\u06a9 \u0627\u0632 \u0645\u0648\u0627\u0631\u062f \u0632\u06cc\u0631 \u0645\u06cc \u062a\u0648\u0627\u0646\u06cc\u062f \u0627\u0632 \u062e\u062f\u0645\u0627\u062a \u0648 \u0648\u06cc\u0698\u06af\u06cc \u0647\u0627\u06cc \u062e\u0627\u0635 \u062c\u0627\u0628 \u0648\u06cc\u0698\u0646 \u0628\u0647\u0631\u0647 \u0645\u0646\u062f \u0634\u0648\u06cc\u062f."),t.k0s(),t.j41(41,"form",37,5)(43,"div",38)(44,"button",39),t.bIt("click",function(){return t.eBV(a),t.Njj(u.changeJobPostRecommendationEmail())}),t.nrm(45,"div",40),t.j41(46,"label"),t.EFF(47,"\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0648 \u067e\u06cc\u0627\u0645\u06a9 \u0641\u0631\u0635\u062a \u0647\u0627\u06cc \u0634\u063a\u0644\u06cc \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc"),t.k0s()()(),t.j41(48,"div",38)(49,"button",39),t.bIt("click",function(){return t.eBV(a),t.Njj(u.changeFollowedCompaniesJobPostsSetting())}),t.nrm(50,"div",40),t.j41(51,"label"),t.EFF(52,"\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644 \u0641\u0631\u0635\u062a \u0647\u0627\u06cc \u0634\u063a\u0644\u06cc \u0634\u0631\u06a9\u062a\u200c\u0647\u0627\u06cc \u062f\u0646\u0628\u0627\u0644 \u0634\u062f\u0647"),t.k0s()()(),t.j41(53,"div",38)(54,"button",39),t.bIt("click",function(){return t.eBV(a),t.Njj(u.changeCourseRecommendationEmail())}),t.nrm(55,"div",40),t.j41(56,"label"),t.EFF(57,"\u062f\u0631\u06cc\u0627\u0641\u062a \u0627\u06cc\u0645\u06cc\u0644 \u062f\u0648\u0631\u0647 \u0647\u0627\u06cc \u0622\u0645\u0648\u0632\u0634\u06cc \u067e\u06cc\u0634\u0646\u0647\u0627\u062f\u06cc"),t.k0s()()(),t.j41(58,"div",38)(59,"button",39),t.bIt("click",function(){return t.eBV(a),t.Njj(u.changeUserContactInformationSharedStatus())}),t.nrm(60,"div",40),t.j41(61,"label",41)(62,"span"),t.EFF(63,"\u0646\u0645\u0627\u06cc\u0634 \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062a\u0645\u0627\u0633 \u0628\u0647 \u06a9\u0627\u0631\u0641\u0631\u0645\u0627\u06cc\u0627\u0646"),t.k0s(),t.nrm(64,"br"),t.j41(65,"small"),t.EFF(66,"\u0686\u0646\u0627\u0646\u0686\u0647 \u0633\u0627\u0632\u0645\u0627\u0646 \u062a\u0627\u06cc\u06cc\u062f \u0634\u062f\u0647 \u0627\u06cc \u0639\u0644\u0627\u0642\u0647 \u0645\u0646\u062f \u0628\u0647 \u0627\u0633\u062a\u062e\u062f\u0627\u0645 \u0645\u0646 \u0628\u0648\u062f\u060c \u0627\u0637\u0644\u0627\u0639\u0627\u062a \u062a\u0645\u0627\u0633\u0645 \u0631\u0627 \u062f\u0631 \u0627\u062e\u062a\u06cc\u0627\u0631 \u0627\u0648 \u0628\u06af\u0630\u0627\u0631\u06cc\u062f."),t.k0s()()()()()(),t.j41(67,"div",10)(68,"div",42)(69,"p",12),t.EFF(70," \u063a\u06cc\u0631\u0641\u0639\u0627\u0644 \u0633\u0627\u0632\u06cc \u0645\u0648\u0642\u062a \u062d\u0633\u0627\u0628 \u06a9\u0627\u0631\u0628\u0631\u06cc "),t.k0s(),t.DNE(71,Q,2,0,"p",43),t.k0s(),t.j41(72,"p",44),t.EFF(73," \ufb7c\ufee8\ufe8e\ufee7\ufb7d\ufeea \u062f\u0631 \ufe9f\ufe8e\ufbfe\ufbfd \u0627\ufeb3\ufe98\ufea8\ufeaa\u0627\u0645 \ufeb7\ufeaa\u0647 \u0627\ufbfe\ufeaa \u0648 \ufee7\ufbff\ufe8e\u0632 \ufe91\ufeea \u062f\u0631\ufbfe\ufe8e\ufed3\ufe96 \u0627\ufbfe\ufee4\ufbff\ufede \ufbfe\ufe8e \ufeb7\ufee8\ufbff\ufeaa\u0646 \ufb58\ufbff\ufeb8\ufee8\ufeec\ufe8e\u062f \ufeb7\ufed0\ufee0\ufbfd \u0627\u0632 \ufeb3\ufeee\u06cc \ufeb3\ufe8e\u0632\ufee3\ufe8e\ufee7\ufeec\ufe8e \ufee7\ufeaa\u0627\u0631\ufbfe\ufeaa\u060c \u0627\u0632 \ufb94\ufeb0\ufbfe\ufee8\ufeea \ufecf\ufbff\ufeae\ufed3\ufecc\ufe8e\u0644 \ufeb3\ufe8e\u0632\u06cc \ufea3\ufeb4\ufe8e\u0628 \u0627\ufeb3\ufe98\ufed4\ufe8e\u062f\u0647 \ufb90\ufee8\ufbff\ufeaa. "),t.k0s(),t.j41(74,"div")(75,"p",44),t.EFF(76," \ufe91\ufe8e \ufecf\ufbff\ufeae\ufed3\ufecc\ufe8e\u0644 \ufeb3\ufe8e\u0632\u06cc \ufea3\ufeb4\ufe8e\u0628 \ufea7\ufeee\u062f\u060c \u062f\ufbfe\ufb95\ufeae \u
10627\ufbfe\ufee4\ufbff\ufede \ufed3\ufeae\ufebb\ufe98\ufeec\ufe8e\u06cc \ufeb7\ufed0\ufee0\ufbfd \ufb58\ufbff\ufeb8\ufee8\ufeec\ufe8e\u062f\u06cc \u0648 \u062f\u0648\u0631\u0647 \ufeeb\ufe8e\u06cc \u0622\ufee3\ufeee\u0632\ufeb7\ufbfd \ufb58\ufbff\ufeb8\ufee8\ufeec\ufe8e\u062f\u06cc \u0631\u0627 \u062f\u0631\ufbfe\ufe8e\ufed3\ufe96 \ufee7\ufee4\ufbfd \ufb90\ufee8\ufbff\ufeaa. \ufe91\ufecc\ufee0\ufe8e\u0648\u0647 \u0631\u0632\u0648\ufee3\ufeea \ufeb7\ufee4\ufe8e \u062f\u0631 \ufe91\ufe8e\ufee7\ufb8f \u0631\u0632\u0648\ufee3\ufeea \ufe9f\ufe8e\u0628 \u0648\ufbfe\ufb8b\u0646 \ufe91\ufeea \ufb90\ufe8e\u0631\ufed3\ufeae\ufee3\ufe8e\ufbfe\ufe8e\u0646 \ufee7\ufee4\ufe8e\ufbfe\ufeb6 \u062f\u0627\u062f\u0647 \ufee7\ufea8\ufeee\u0627\ufeeb\ufeaa \ufeb7\ufeaa. "),t.k0s(),t.j41(77,"p",44),t.EFF(78," \ufb7c\ufee8\ufe8e\ufee7\ufb7d\ufeea \u062f\u0631 \u0622\ufbfe\ufee8\ufeaa\u0647 \ufe91\ufea8\ufeee\u0627\ufeeb\ufbff\ufeaa \u0627\u0632 \ufe9f\ufe8e\u0628 \u0648\ufbfe\ufb8b\u0646 \u0627\ufeb3\ufe98\ufed4\ufe8e\u062f\u0647 \ufb90\ufeae\u062f\u0647 \u0648 \ufe91\ufeae\u0627\u06cc \ufeb3\ufe8e\u0632\ufee3\ufe8e\ufee7\ufeec\ufe8e \u0631\u0632\u0648\ufee3\ufeea \u0627\u0631\ufeb3\ufe8e\u0644 \ufb90\ufee8\ufbff\ufeaa \ufbfe\ufe8e \u062f\u0631 \ufe91\ufe8e\ufee7\ufb8f \u0631\u0632\u0648\ufee3\ufeea\u200c\ufeeb\ufe8e\u06cc \ufe9f\ufe8e\u0628 \u0648\ufbfe\ufb8b\u0646 \ufe91\ufeea \ufeb3\ufe8e\u0632\ufee3\ufe8e\ufee7\ufeec\ufe8e \ufee7\ufee4\ufe8e\ufbfe\ufeb6 \u062f\u0627\u062f\u0647 \ufeb7\ufeee\ufbfe\ufeaa\u060c \ufee3\ufbff\ufe98\ufeee\u0627\ufee7\ufbff\ufeaa \u062f\u0648\ufe91\ufe8e\u0631\u0647 \ufea3\ufeb4\ufe8e\u0628 \ufea7\ufeee\u062f \u0631\u0627 \u0627\u0632 \ufeeb\ufee4\ufbff\ufee6 \ufe91\ufea8\ufeb6 \ufed3\ufecc\ufe8e\u0644 \ufeb3\ufe8e\u0632\u06cc \ufee7\ufee4\ufe8e\ufbfe\ufbff\ufeaa. "),t.k0s(),t.j41(79,"div",45)(80,"div",46)(81,"span",47),t.bIt("click",function(){return t.eBV(a),t.Njj(u.ChangeAccountActivationStatus(!1))}),t.EFF(82,"\u0641\u0639\u0627\u0644"),t.k0s(),t.j41(83,"span",47),t.bIt("click",function(){return t.eBV(a),t.Njj(u.ChangeAccountActivationStatus(!0))}),t.EFF(84,"\u063a\u06cc\u0631 \u0641\u0639\u0627\u0644"),t.k0s()()(),t.DNE(85,Z,4,0,"div",48),t.k0s()()}if(2&n){const a=t.sdS(13),l=t.sdS(18),r=t.sdS(25);t.R7$(9),t.Y8G("ngIf",!u.activeUpdateEmailForm),t.R7$(),t.Y8G("@openCloseAnimation",u.activeUpdateEmailForm),t.R7$(2),t.HbH(t.eq3(36,b,a.dirty&&a.invalid)),t.R50("ngModel",u.updateEmailData.newEmail),t.R7$(2),t.Y8G("ngIf",u.updateEmailData.newEmail),t.R7$(3),t.HbH(t.eq3(38,g,l.dirty&&(l.invalid||a.value!==l.value))),t.R50("ngModel",u.updateEmailData.confirmNewEmail),t.R7$(2),t.Y8G("ngIf",u.updateEmailData.confirmNewEmail),t.R7$(2),t.Y8G("ngIf",l.dirty&&u.updateEmailData.newEmail!==u.updateEmailData.confirmNewEmail),t.R7$(2),t.HbH(t.eq3(40,g,r.dirty&&r.invalid)),t.R7$(),t.Y8G("type",u.showPasswordStates[r.name]||"password"),t.R50("ngModel",u.updateEmailData.password),t.R7$(8),t.Y8G("site_key",u.arcaptchaSiteKey)("invisible",!0)("lang","fa")("color","pink"),t.R7$(2),t.Y8G("ngIf",u.activeUpdateEmailForm),t.R7$(),t.Y8G("ngIf",u.isPasswordEditable),t.R7$(10),t.AVh("!jvt-bg-primary",u.jobPostRecommendationEmail),t.R7$(5),t.AVh("!jvt-bg-primary",u.sendFollowedCompaniesJobPostsEmail),t.R7$(5),t.AVh("!jvt-bg-primary",u.courseRecommendationEmail),t.R7$(5),t.AVh("!jvt-bg-primary",u.userContactInformationSharedStatus),t.R7$(11),t.Y8G("ngIf",!u.activeDeactivateAccountForm),t.R7$(3),t.Y8G("@openCloseAnimation",u.activeDeactivateAccountForm),t.R7$(7),t.HbH(t.eq3(42,w,!u.accountDeactivated)),t.R7$(2),t.HbH(t.eq3(44,w,u.accountDeactivated)),t.R7$(2),t.Y8G("ngIf",u.accountDeactivated)}},dependencies:[F.MD,F.bT,s.YN,s.qT,s.me,s.BC,s.cb,s.YS,s.vS,s.cV,N.Nz,T.q,v.E,v.$],styles:['input[type=checkbox][_ngcontent-%COMP%]{-webkit-appearance:none;-moz-appearance:none;height:21px;outline:none;display:inline-block;vertical-align:top;position:relative;cursor:pointer;border:2px solid #E2E3EA;background-color:#eef0f4;transition:background-color .3s,border-color .3s,box-shadow .2s;width:21px;border-radius:3px;margin:0 0 0 10px;flex-shrink:0}input[type=checkbox][_ngcontent-%COMP%]:after{content:"";display:block;left:0;top:0;position:absolute;transition:transform .3s ease,opacity .2s}input[type=checkbox][_ngcontent-%COMP%]:checked{border:2px solid #0053FF;background-color:#0053ff}.hidden-btn[_ngcontent-%COMP%]{padding:0;border:none;background:unset;outline:none;cursor:pointer}.hidden-btn[_ngcontent-%COMP%] .fake-checkbox[_ngcontent-%COMP%]{height:22px;min-width:22px;background:#eef0f4;border:1px solid #e2e3ea;border-radius:4px;margin-left:.5em}.hidden-btn[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{cursor:pointer}.input-group[_ngcontent-%COMP%]{position:relative;margin-bottom:.25rem;display:flex;flex-wrap:nowrap;align-items:stretch;padding:0}'],data:{animation:[p.TW,p.q0]}}),i})()}}]);
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.